/* Customer feedback: cloud mailbox. Admin styles live in styles.css. */
:root {
  color-scheme: light;
  --ink: #263957;
  --muted: #667892;
  --blue: #4276d6;
  --blue-dark: #315eb3;
  --sky: #f0f6ff;
  --line: #dce6f4;
  --pink: #ffeaf0;
  --green: #e2f4ec;
  --danger: #b84454;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --display: 'Arial Rounded MT Bold', 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  --code: 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--sky); font: 15px/1.6 var(--body); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, select, summary, label { -webkit-tap-highlight-color: transparent; }
button, select, summary, .type-option, .rating-option, .consent-check, .avatar-picker, .dropzone { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #6492e4; outline-offset: 4px;
}
.page-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.customer-page {
  background-image: radial-gradient(circle, #ccdcf0 .8px, transparent .8px);
  background-size: 24px 24px;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c2d6f3; border-radius: 16px; color: var(--blue); background: #fff; box-shadow: 0 3px 0 #dbe6f7; }
.brand-mark svg { width: 27px; height: 27px; }
.brand strong { display: block; font: 700 17px/1.3 var(--display); }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.public-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: #526b8d; font-size: 13px; transition: background .18s ease, color .18s ease; }
.public-link:hover { color: var(--blue-dark); background: #e1ecff; }
.public-link:last-child { border: 1px solid #ccdcf3; background: #fff; }
.customer-main { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 56px; padding: 48px 0 54px; }
.intro-panel { min-width: 0; padding-top: 26px; }
.eyebrow { margin: 0 0 11px; color: var(--blue-dark); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.intro-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 12px; border: 1px solid #cbdcf5; border-radius: 999px; color: #4c6c9d; background: #fff; }
.intro-badge span { color: #cc8b29; font-size: 17px; }
.intro-panel h1 { margin: 0; font: 800 clamp(37px, 4.2vw, 53px)/1.35 var(--display); letter-spacing: -.045em; }
.intro-panel h1 em { position: relative; display: inline-block; color: var(--blue); font-style: normal; }
.intro-panel h1 em::after { position: absolute; z-index: -1; inset: auto 4px 7px 0; height: 12px; border-radius: 60% 40% 40% 30%; content: ''; background: #dce9ff; transform: rotate(-1.5deg); }
.intro-copy { max-width: 360px; margin: 19px 0 0; color: #5b7293; font-size: 15px; line-height: 1.9; }
.cloud-scene { position: relative; width: 100%; max-width: 450px; margin: 26px 0 10px; }
.cloud-buddy { display: block; width: 100%; height: auto; animation: cloud-float 6s ease-in-out infinite; }
.cloud-note { position: absolute; top: 7px; left: 135px; padding: 6px 14px; border: 1px solid #e9dce6; border-radius: 999px; color: #9b5571; background: #fff2f6; font-size: 12px; transform: rotate(-5deg); }
.intro-assurance { display: flex; align-items: flex-start; gap: 13px; max-width: 375px; padding: 18px 20px; border: 1px solid #d5e1f2; border-radius: 20px; background: #ffffffc4; }
.assurance-heart { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 13px; color: #a25270; background: var(--pink); font-size: 25px; line-height: 1; }
.intro-assurance strong { color: #415c86; font-size: 14px; }
.intro-assurance p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.form-wrap { min-width: 0; }
.form-card { padding: 30px; border: 1px solid #d3e0f2; border-radius: 28px; background: #fff; box-shadow: 0 6px 0 #e1eaf7, 0 20px 45px #385c9420; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.form-heading .eyebrow { margin-bottom: 5px; color: #6c83a7; font-size: 11px; letter-spacing: .01em; }
.form-heading h2 { margin: 0; font: 700 25px/1.4 var(--display); letter-spacing: -.03em; }
.secure-chip { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 6px 9px; border-radius: 999px; color: #497660; background: var(--green); font-size: 10px; white-space: nowrap; }
.secure-chip svg { width: 13px; height: 13px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; }
.required-mark { color: #b95f78; }
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.type-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 111px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 17px; text-align: center; background: #fbfdff; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.type-option:hover { border-color: #9ebde9; transform: translateY(-2px); }
.type-option input, .rating-option input, .consent-check input, .avatar-picker input, .dropzone input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.type-face { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 14px; color: #438163; background: #e0f3e9; }
.type-face svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.type-neutral .type-face { color: #9b7b31; background: #fff1cf; }
.type-bad .type-face { color: #a55d76; background: #ffe8ef; }
.type-option strong { display: block; font-size: 14px; line-height: 1.4; }
.type-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.type-check { position: absolute; top: 7px; right: 9px; color: var(--blue-dark); font-size: 12px; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.type-option.is-selected { border-color: #6b9f85; background: #eff9f3; box-shadow: 0 0 0 2px #e0f1e7; }
.type-neutral.is-selected { border-color: #ccab60; background: #fffaeb; box-shadow: 0 0 0 2px #fff2ce; }
.type-bad.is-selected { border-color: #d097ac; background: #fff1f5; box-shadow: 0 0 0 2px #ffe7ef; }
.type-option.is-selected .type-check { opacity: 1; transform: scale(1); }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: 12px; line-height: 1.6; }
.field-error:empty { display: none; }
.type-note { margin: 12px 0 21px; color: #657d9b; font-size: 12px; line-height: 1.7; }
.rating-fieldset { margin-bottom: 22px; }
.rating-fieldset legend { margin-bottom: 4px; }
.rating-picker { display: flex; align-items: center; gap: 12px; }
.rating-options { display: flex; flex: none; gap: 2px; }
.rating-option { position: relative; display: grid; place-items: center; width: 43px; height: 46px; border-radius: 12px; color: #cdd8e7; font-size: 34px; line-height: 1; transition: color .16s ease, transform .16s ease, background .16s ease; }
.rating-option:hover { background: #fff5dd; transform: translateY(-2px) rotate(-5deg); }
.rating-option.is-lit { color: #dda441; }
.rating-selection { margin: 0; color: #87702f; font-size: 12px; line-height: 1.5; }
.form-grid { display: grid; gap: 14px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: block; min-width: 0; margin-bottom: 19px; }
.field > span, .field-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field small { color: var(--muted); font-size: 11px; font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #f9fbff; font-size: 16px; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.field input, .field select { height: 48px; padding: 0 13px; }
.field textarea { min-height: 136px; padding: 13px 14px 34px; line-height: 1.8; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #73829a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a6bfe5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #729bdc; background: #fff; box-shadow: 0 0 0 3px #e4edff; }
.field > .message-input { position: relative; display: block; margin-bottom: 0; font-weight: 400; }
.textarea-meta { position: absolute; right: 14px; bottom: 11px; color: #7487a3; font: 11px/1.3 var(--code); }
.extra-details { border: 1px solid var(--line); border-radius: 15px; background: #f8fbff; }
.extra-details summary { position: relative; min-height: 62px; padding: 12px 42px 12px 15px; list-style: none; }
.extra-details summary::-webkit-details-marker { display: none; }
.extra-details summary span { display: block; font-size: 13px; font-weight: 600; }
.extra-details summary small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.extra-details summary::after { position: absolute; top: 16px; right: 16px; color: #7698cc; content: '+'; font-size: 23px; line-height: 1; }
.extra-details[open] summary::after { content: '−'; }
.extra-details-content { padding: 17px 15px 0; border-top: 1px solid var(--line); }
.avatar-control { display: flex; align-items: center; gap: 10px; }
.avatar-picker { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 64px; flex: 1; padding: 10px; border: 1px dashed #b6cce9; border-radius: 12px; background: #fff; }
.avatar-preview { display: grid; place-items: center; width: 42px; height: 42px; flex: none; overflow: hidden; border-radius: 15px; color: var(--blue); background: #e7efff; font-size: 24px; }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-picker-copy { min-width: 0; }
.avatar-picker-copy strong, .avatar-picker-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-picker-copy strong { font-size: 12px; font-weight: 600; }
.avatar-picker-copy small { margin-top: 4px; font-size: 11px; }
.remove-avatar { min-height: 44px; padding: 6px; border: 0; color: var(--danger); background: transparent; font-size: 12px; }
.dropzone { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; padding: 13px; border: 1px dashed #b6cce9; border-radius: 12px; background: #fff; }
.dropzone:hover, .dropzone.is-dragging, .avatar-picker:hover { border-color: #7ba0d9; background: #edf4ff; }
.upload-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 12px; color: var(--blue); background: #e7efff; }
.upload-icon svg { width: 21px; height: 21px; }
.dropzone strong, .dropzone small { display: block; }
.dropzone strong { font-size: 12px; font-weight: 600; }
.dropzone small { margin-top: 3px; }
.file-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 8px; border: 1px solid #d4e1f4; border-radius: 10px; background: #edf4ff; font-size: 11px; }
.file-chip-icon { color: #547eae; font: 10px var(--code); }
.file-chip-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 7px; color: #667a98; background: transparent; font-size: 20px; }
.file-chip button:hover { color: var(--danger); background: var(--pink); }
.submit-row { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 20px; }
.consent-check { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: #657791; font-size: 12px; line-height: 1.5; }
.fake-checkbox { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1px solid #b8cce8; border-radius: 6px; background: #fff; }
.consent-check input:checked + .fake-checkbox { border-color: var(--blue); background: var(--blue); }
.consent-check input:checked + .fake-checkbox::after { content: '✓'; color: #fff; font-size: 12px; }
.submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 49px; padding: 0 20px; border: 1px solid #3463bb; border-radius: 15px; color: #fff; background: var(--blue); box-shadow: 0 4px 0 #c7d9fa; font-size: 15px; font-weight: 600; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.submit-button svg { width: 21px; height: 21px; transition: transform .18s ease; }
.submit-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.submit-button:hover svg { transform: translateX(3px); }
.submit-button:active { transform: translateY(2px); box-shadow: 0 1px 0 #c7d9fa; }
.submit-button:disabled { opacity: .7; cursor: wait; }
.form-message { margin: 13px 0 0; color: var(--danger); font-size: 13px; }
.form-message:empty { display: none; }
.form-message.success { color: #438163; }
.form-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: #637b9c; font-size: 11px; }
.mini-lock { color: #7e9dcc; font-size: 16px; }
.success-panel { padding: 46px 5px 40px; text-align: center; }
.success-mark { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 23px; border: 1px solid #b4d8c4; border-radius: 26px; color: #468367; background: var(--green); box-shadow: 0 5px 0 #d4ebe0; font-size: 33px; }
.success-panel:not([hidden]) .success-mark { animation: success-pop .4s ease both; }
.success-panel .eyebrow { color: #568873; }
.success-panel h2 { margin: 0; font: 700 25px/1.5 var(--display); }
.success-panel > p:not(.eyebrow) { max-width: 350px; margin: 14px auto 0; color: var(--muted); font-size: 14px; }
.feedback-id { display: flex; flex-direction: column; gap: 7px; max-width: 350px; margin: 25px auto 18px; padding: 19px; border: 1px dashed #b4cae9; border-radius: 17px; background: #f2f7ff; }
.feedback-id small { color: #657d9e; font-size: 12px; }
.feedback-id strong { color: var(--blue-dark); font: 600 17px/1.5 var(--code); overflow-wrap: anywhere; }
.success-track-link { display: block; width: fit-content; margin: 15px auto 9px; color: var(--blue-dark); font-size: 14px; font-weight: 600; }
.reset-button { min-height: 44px; padding: 5px 0; border: 0; color: var(--muted); background: transparent; font-size: 13px; }
.status-lookup { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 45px; margin-bottom: 60px; padding: 30px 34px; border: 1px solid #d0ddf1; border-radius: 24px; background: #e7f0ff; }
.status-lookup .eyebrow { margin-bottom: 5px; color: #597db4; }
.status-lookup h2 { margin: 0; font: 700 25px/1.5 var(--display); letter-spacing: -.03em; }
.status-lookup > div > p:last-child { max-width: 375px; margin: 8px 0 0; color: #5c7394; font-size: 13px; line-height: 1.8; }
.status-lookup-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.status-lookup-form > div { display: flex; gap: 8px; }
.status-lookup-form input { min-width: 0; flex: 1; min-height: 48px; padding: 0 13px; border: 1px solid #c1d3ed; border-radius: 12px; color: var(--ink); background: #fff; font-size: 16px; }
.status-lookup-form input::placeholder { color: #7486a2; }
.status-lookup-form button { min-height: 48px; flex: none; padding: 0 17px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 600; }
.status-lookup-form button:hover { background: var(--blue-dark); }
#status-lookup-result { min-height: 20px; margin: 8px 0 0; color: #5a7499; font-size: 12px; overflow-wrap: anywhere; }
#status-lookup-result[data-kind='success'] { color: #3a7856; }
#status-lookup-result[data-kind='error'] { color: var(--danger); }
#status-lookup, #public-voices, #form-title { scroll-margin-top: 24px; }
.public-voices { padding-bottom: 60px; }
.voices-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.voices-heading .eyebrow { margin-bottom: 5px; color: #637fa5; }
.voices-heading h2 { margin: 0; font: 700 32px/1.4 var(--display); letter-spacing: -.03em; }
.voices-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid #c4d6f0; border-radius: 999px; color: var(--blue-dark); background: #fff; font-size: 13px; }
.voices-cta:hover { background: #e5efff; }
.voices-cta svg { width: 17px; height: 17px; }
.voices-dashboard { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start; gap: 18px; }
.rating-overview { padding: 23px; border: 1px solid #e5dce8; border-radius: 22px; background: #fff6f8; }
.overview-topline, .overview-live { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #836c7e; font-size: 11px; }
.overview-live { justify-content: flex-end; color: #77586b; font-size: 10px; }
.overview-live i { width: 5px; height: 5px; border-radius: 50%; background: #bd8fa6; }
.overview-score { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.overview-score strong { color: #584b69; font: 700 55px/1.1 var(--display); letter-spacing: -.05em; }
.overview-score > span { color: #82697b; font: 12px var(--code); }
.public-star-row { margin-top: 9px; }
.star-set { display: inline-flex; align-items: center; gap: 2px; color: #c28a2d; }
.star-set svg { width: 15px; height: 15px; }
.rating-overview > p { margin: 6px 0 21px; color: #826a7d; font-size: 12px; }
.rating-overview > p strong { color: #695169; }
.rating-bars { display: flex; flex-direction: column; gap: 10px; }
.rating-bar-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) 24px; align-items: center; gap: 8px; color: #846c7e; font: 11px var(--code); }
.rating-bar-row > div { height: 6px; overflow: hidden; border-radius: 999px; background: #f0e3eb; }
.rating-bar-row i { display: block; width: 0; height: 100%; border-radius: inherit; background: #ce9bb3; transition: width .45s ease; }
.rating-bar-row strong { font-weight: 500; text-align: right; }
.voices-feed-panel { min-width: 0; padding: 22px; border: 1px solid #d8e4f4; border-radius: 22px; background: #ffffffc9; }
.voices-feed-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.voices-feed-header h3 { margin: 0; font-size: 16px; }
.voices-feed-header #public-total { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.voice-filters { display: flex; gap: 3px; padding: 4px; border-radius: 999px; background: #edf3fc; }
.voice-filter { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; color: #647996; background: transparent; font-size: 12px; }
.voice-filter.is-active { color: var(--blue-dark); background: #fff; box-shadow: 0 2px 4px #46638814; }
.public-feedback-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.public-feedback-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid #e1e9f5; border-radius: 17px; background: #fff; transition: border-color .18s ease; }
.public-feedback-card:hover { border-color: #a9c5eb; }
.public-card-topline { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.public-type-mark, .public-card-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; overflow: hidden; border-radius: 12px; color: #448466; background: var(--green); object-fit: cover; font-size: 18px; }
.public-avatar-shell { position: relative; display: block; width: 34px; height: 34px; flex: none; overflow: hidden; border-radius: 12px; background: var(--green); }
.public-avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: #448466; font-size: 13px; font-weight: 600; }
.public-avatar-shell.neutral { background: #fff2d3; }
.public-avatar-shell.neutral .public-avatar-fallback { color: #9a7728; }
.public-avatar-shell .public-card-avatar { position: absolute; inset: 0; opacity: 0; transition: opacity .15s ease; }
.public-avatar-shell.is-loaded .public-card-avatar { opacity: 1; }
.public-type-mark.neutral { color: #9a7728; background: #fff2d3; }
.public-card-author { min-width: 0; flex: 1; }
.public-card-author strong { display: block; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.public-card-author small { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.public-card-rating { width: 100%; padding-left: 43px; line-height: 1; }
.public-card-rating .star-set svg { width: 12px; height: 12px; }
.public-feedback-card > p { margin: 14px 0; color: #536783; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.public-card-label { align-self: flex-end; margin-top: auto; padding: 3px 9px; border-radius: 999px; color: #477f65; background: var(--green); font-size: 10px; }
.public-feedback-card.neutral .public-card-label { color: #91712c; background: #fff2d3; }
.official-reply { margin-bottom: 12px; padding: 12px; border: 1px solid #dbe8fb; border-radius: 12px; background: #f3f7ff; }
.official-reply strong { color: #4b73ad; font-size: 11px; }
.official-reply p { margin: 5px 0 0; color: #5d7494; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.feedback-skeleton { height: 148px; border: 1px solid #e0e9f5; border-radius: 17px; background: linear-gradient(100deg, #f0f5fc 25%, #e2eaf7 45%, #f0f5fc 65%); background-size: 220% 100%; animation: skeleton-shimmer 1.5s linear infinite; }
.public-empty-state { padding: 36px 15px; text-align: center; }
.empty-wave { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 15px; border-radius: 22px; color: #a6617d; background: var(--pink); font-size: 30px; }
.public-empty-state h3 { margin: 0; font-size: 17px; }
.public-empty-state p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.public-empty-state a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.public-list-error { grid-column: 1 / -1; margin: 0; padding: 28px 10px; color: var(--danger); font-size: 13px; text-align: center; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: #6e85a7; font-size: 12px; }
.site-footer span:first-child { color: #4f6e9e; font-weight: 600; }
.customer-page[data-focus-mode='keyboard'] .type-option:focus-within,
.customer-page[data-focus-mode='keyboard'] .rating-option:focus-within,
.customer-page[data-focus-mode='keyboard'] .consent-check:focus-within,
.customer-page[data-focus-mode='keyboard'] .avatar-picker:focus-within,
.customer-page[data-focus-mode='keyboard'] .dropzone:focus-within { outline: 3px solid #6492e4; outline-offset: 4px; }
@keyframes cloud-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes success-pop { from { opacity: 0; transform: scale(.8) rotate(-8deg); } to { opacity: 1; transform: scale(1); } }
@keyframes skeleton-shimmer { to { background-position-x: -220%; } }

@media (max-width: 1000px) {
  .page-width { width: min(900px, calc(100% - 40px)); }
  .customer-main { gap: 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .intro-panel h1 { font-size: 39px; }
  .form-card { padding: 24px; }
  .form-heading { gap: 10px; }
  .form-heading h2 { font-size: 23px; }
  .secure-chip { font-size: 9px; padding-inline: 7px; }
  .cloud-note { left: 90px; font-size: 11px; }
  .rating-picker { gap: 7px; }
  .rating-option { width: 37px; }
  .voices-dashboard { grid-template-columns: 220px minmax(0, 1fr); }
  .public-feedback-list { grid-template-columns: 1fr; }
  .public-card-rating { width: auto; padding-left: 0; }
}
@media (max-width: 780px) {
  .page-width { width: min(560px, calc(100% - 32px)); }
  .topbar { gap: 12px; padding: 18px 0; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 9px; }
  .topbar-actions { gap: 1px; }
  .public-link { padding-inline: 9px; font-size: 11px; }
  .customer-main { display: block; padding: 28px 0 36px; }
  .intro-panel { position: relative; padding: 0 0 23px; }
  .intro-badge { margin-bottom: 11px; padding: 4px 9px; font-size: 10px; }
  .intro-badge span { font-size: 14px; }
  .intro-panel h1 { position: relative; z-index: 1; font-size: clamp(29px, 7.8vw, 39px); line-height: 1.35; }
  .intro-copy { position: relative; z-index: 1; max-width: none; margin-top: 10px; font-size: 13px; line-height: 1.8; }
  .cloud-scene { position: absolute; top: -3px; right: -8px; width: 137px; max-width: 34%; margin: 0; }
  .cloud-note { display: none; }
  .intro-assurance { display: none; }
  .form-card { padding: 24px 20px; border-radius: 24px; }
  .form-heading { margin-bottom: 20px; }
  .form-heading h2 { font-size: 23px; }
  .form-heading .eyebrow { font-size: 10px; }
  .secure-chip { max-width: 95px; padding: 6px 8px; font-size: 9px; }
  .type-grid { gap: 7px; }
  .type-option { min-height: 104px; gap: 7px; padding: 10px 4px; border-radius: 14px; }
  .type-option strong { font-size: 12px; }
  .type-option small { font-size: 10px; }
  .type-face { width: 35px; height: 35px; border-radius: 13px; }
  .type-face svg { width: 30px; height: 30px; }
  .type-note { margin-bottom: 18px; font-size: 11px; }
  .rating-picker { gap: 9px; }
  .rating-option { width: 37px; height: 44px; font-size: 32px; }
  .rating-selection { font-size: 11px; }
  .field > span, legend { font-size: 13px; }
  .two-columns { grid-template-columns: 1fr; gap: 0; }
  .field textarea { min-height: 135px; }
  .extra-details summary small { font-size: 10px; }
  .submit-button { min-height: 50px; }
  .form-footnote { font-size: 10px; }
  .status-lookup { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; padding: 24px 22px; border-radius: 22px; }
  .status-lookup h2 { font-size: 23px; }
  .status-lookup > div > p:last-child { font-size: 12px; }
  .status-lookup-form button { padding-inline: 13px; font-size: 12px; }
  .voices-heading { align-items: center; gap: 10px; }
  .voices-heading h2 { font-size: 27px; }
  .voices-heading .eyebrow { font-size: 10px; }
  .voices-cta { padding-inline: 12px; font-size: 11px; }
  .voices-cta svg { width: 14px; }
  .voices-dashboard { grid-template-columns: 1fr; gap: 15px; }
  .rating-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 22px; }
  .overview-topline { grid-column: 1 / -1; margin-bottom: 13px; }
  .overview-score { grid-column: 1; grid-row: 2; margin-top: 0; }
  .overview-score strong { font-size: 48px; }
  .public-star-row { grid-column: 1; grid-row: 3; }
  .rating-overview > p { grid-column: 1; grid-row: 4; margin: 4px 0 0; font-size: 11px; }
  .rating-bars { grid-column: 2; grid-row: 2 / 5; justify-content: center; gap: 9px; }
  .voices-feed-panel { padding: 19px; }
  .voices-feed-header { gap: 10px; }
  .voice-filter { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .public-feedback-card { padding: 16px; }
  .public-voices { padding-bottom: 36px; }
  .site-footer { font-size: 11px; }
}
@media (max-width: 370px) {
  .page-width { width: calc(100% - 28px); }
  .brand small { font-size: 8px; }
  .public-link { padding-inline: 6px; font-size: 10px; }
  .cloud-scene { width: 112px; right: -5px; top: 5px; }
  .form-card { padding: 21px 16px; }
  .form-heading { align-items: flex-start; }
  .secure-chip { margin-top: 5px; gap: 3px; padding-inline: 6px; font-size: 8px; }
  .secure-chip svg { width: 11px; }
  .form-heading h2 { font-size: 21px; }
  .rating-picker { flex-wrap: wrap; gap: 2px; }
  .rating-selection { width: 100%; }
  .status-lookup-form > div { flex-direction: column; }
  .voices-heading { align-items: flex-start; flex-direction: column; }
  .voices-feed-header { flex-wrap: wrap; }
  .rating-overview { gap: 0 15px; padding: 18px; }
  .public-card-rating { width: 100%; padding-left: 43px; }
  .feedback-id strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
