@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #071521;
  --navy: #0b1d2c;
  --navy-soft: #153248;
  --paper: #f4f7ef;
  --paper-deep: #e8eee4;
  --white: #fffefb;
  --muted: #708087;
  --line: #d4dfd9;
  --mint: #b9f36c;
  --mint-deep: #5bc477;
  --coral: #ff8c68;
  --amber: #f6c85f;
  --danger: #d9584a;
  --shadow: 0 18px 45px rgba(5, 26, 40, .13);
  --shadow-small: 0 7px 18px rgba(5, 26, 40, .09);
  --radius: 18px;
  --code: 'Fira Code', Consolas, monospace;
  --body: 'Fira Sans', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--body); background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a, label, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:has(input:focus-visible) { outline: 3px solid rgba(91, 196, 119, .7); outline-offset: 3px; }
svg { display: block; }
.page-width { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { margin: 0 0 20px; color: var(--mint); font: 600 11px/1 var(--code); letter-spacing: .16em; }
.dark-eyebrow, .admin-eyebrow { color: #64817c; }

/* Customer page */
.customer-page { position: relative; min-height: 100vh; overflow-x: hidden; background: var(--navy); }
.ambient { position: absolute; z-index: 0; pointer-events: none; border-radius: 999px; filter: blur(1px); opacity: .45; }
.ambient-one { top: -160px; left: -130px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(185, 243, 108, .15), transparent 65%); }
.ambient-two { top: 500px; right: -230px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(255, 140, 104, .10), transparent 64%); }
.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 28px 0; color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(185, 243, 108, .35); border-radius: 11px; color: var(--mint); background: rgba(185, 243, 108, .08); }
.brand-mark svg { width: 24px; height: 24px; }
.brand strong { display: block; font-size: 16px; line-height: 1.1; letter-spacing: .02em; }
.brand small { display: block; margin-top: 4px; color: rgba(255,255,255,.45); font: 9px/1 var(--code); letter-spacing: .07em; text-transform: uppercase; }
.admin-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.62); font-size: 13px; transition: color .2s ease, transform .2s ease; }
.admin-link:hover { color: var(--mint); transform: translateX(2px); }
.status-dot, .api-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 4px rgba(91, 196, 119, .13); }
.customer-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(300px, .83fr) minmax(520px, 1.17fr); gap: 76px; align-items: start; padding: 70px 0 94px; }
.intro-panel { display: flex; min-height: 720px; flex-direction: column; justify-content: space-between; padding: 44px 0 12px; color: var(--white); }
.intro-panel h1 { max-width: 500px; margin: 0; font-size: clamp(44px, 5.2vw, 74px); font-weight: 700; line-height: 1.02; letter-spacing: -.055em; }
.intro-panel h1 em { color: var(--mint); font-style: normal; }
.intro-copy { max-width: 430px; margin: 30px 0 0; color: rgba(255,255,255,.63); font-size: 16px; line-height: 1.85; }
.signal-card { width: min(100%, 440px); margin-top: 46px; padding: 22px 23px 18px; border: 1px solid rgba(185,243,108,.2); border-radius: 16px; background: linear-gradient(135deg, rgba(30,62,77,.9), rgba(10,32,45,.8)); box-shadow: var(--shadow-small); }
.signal-topline, .signal-foot { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.64); font: 10px var(--code); letter-spacing: .08em; text-transform: uppercase; }
.live-label { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); }
.live-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s infinite; }
.waveform { display: flex; height: 86px; align-items: center; justify-content: space-between; gap: 5px; padding: 16px 0 12px; }
.waveform span { width: 100%; height: var(--h); min-height: 5px; border-radius: 5px; background: linear-gradient(180deg, var(--mint), rgba(185,243,108,.23)); opacity: .9; }
.signal-foot { color: rgba(255,255,255,.39); letter-spacing: 0; text-transform: none; }
.trust-strip { display: flex; gap: 40px; margin-top: 58px; }
.trust-strip div { position: relative; display: flex; flex-direction: column; gap: 8px; }
.trust-strip div + div::before { position: absolute; top: 2px; left: -20px; width: 1px; height: 33px; background: rgba(255,255,255,.15); content: ''; }
.trust-strip strong { color: var(--white); font: 600 25px/1 var(--code); }
.trust-strip span { color: rgba(255,255,255,.42); font-size: 11px; }
.form-wrap { position: relative; }
.form-card { position: relative; padding: 42px 43px 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: var(--paper); box-shadow: 0 24px 80px rgba(0,0,0,.26); }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.form-heading .eyebrow { margin-bottom: 12px; }
.form-heading h2 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.secure-chip { display: inline-flex; flex: none; align-items: center; gap: 6px; margin-top: 2px; padding: 8px 10px; border: 1px solid #d3e4d2; border-radius: 999px; color: #4b765e; background: #e8f4df; font-size: 10px; }
.secure-chip svg { width: 14px; height: 14px; }
fieldset { min-width: 0; padding: 0; border: 0; }
.feedback-types legend { margin-bottom: 13px; font-size: 13px; font-weight: 600; }
.required-mark { color: var(--coral); }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-option { position: relative; display: flex; min-height: 82px; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.64); transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.type-option:hover { border-color: #9ebdb0; transform: translateY(-2px); box-shadow: var(--shadow-small); }
.type-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.type-option input:checked ~ .type-check { opacity: 1; transform: scale(1); }
.type-option input:checked ~ .type-face { color: var(--ink); background: var(--mint); }
.type-option:has(input:checked) { border-color: #88ba97; background: #edf8e8; box-shadow: 0 0 0 3px rgba(91,196,119,.14); }
.type-neutral:has(input:checked) { border-color: #d2af62; background: #fff7e4; box-shadow: 0 0 0 3px rgba(246,200,95,.16); }
.type-bad:has(input:checked) { border-color: #efa184; background: #fff0eb; box-shadow: 0 0 0 3px rgba(255,140,104,.16); }
.type-face { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 10px; color: #668077; background: #e3ece4; font: 700 21px/1 var(--code); transition: background .2s ease, color .2s ease; }
.type-neutral .type-face { color: #a87e28; background: #fbefcc; }
.type-bad .type-face { color: #bd674f; background: #ffe1d8; }
.type-option strong { display: block; font-size: 13px; }
.type-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.type-check { position: absolute; top: 8px; right: 9px; color: var(--mint-deep); font-size: 13px; opacity: 0; transform: scale(.7); transition: opacity .2s ease, transform .2s ease; }
.field-error { min-height: 16px; margin: 6px 0 0; color: var(--danger); font-size: 11px; }
.type-note { min-height: 17px; margin: 0 0 17px; color: #668077; font-size: 11px; }
.form-grid { display: grid; gap: 16px; }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.field { position: relative; display: block; margin-bottom: 18px; }
.field > span, .field-label { display: flex; align-items: baseline; gap: 7px; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.field > span small, .field-label small { color: #8a9998; font-size: 10px; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); outline: 0; background: rgba(255,255,255,.75); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input, .field select { height: 45px; padding: 0 13px; font-size: 13px; }
.field textarea { min-height: 128px; resize: vertical; padding: 12px 13px 25px; font-size: 13px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #aab6b3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9ebdb0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(91,196,119,.14); background: var(--white); }
.textarea-meta { position: absolute; right: 12px; bottom: 8px; margin: 0 !important; color: #98a7a3; font: 10px var(--code) !important; font-weight: 400 !important; }
.avatar-control { display: flex; align-items: center; gap: 10px; }
.avatar-picker { display: flex; min-width: 0; min-height: 58px; flex: 1; align-items: center; gap: 11px; padding: 8px 11px; border: 1px dashed #a7c3ae; border-radius: 12px; color: #5a776d; background: rgba(232,244,223,.56); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.avatar-picker:hover { border-color: var(--mint-deep); background: #e6f5db; transform: translateY(-1px); }
.avatar-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; opacity: 0; }
.avatar-preview { display: grid; width: 40px; height: 40px; flex: none; place-items: center; overflow: hidden; border: 1px solid #bfdbbd; border-radius: 50%; color: #4f9e68; background: #d3edc9; font-size: 22px; line-height: 1; }
.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; }
.avatar-picker-copy small { margin-top: 4px; color: #8a9e95; font-size: 10px; }
.remove-avatar { flex: none; padding: 8px 0; border: 0; color: #8a6c63; background: transparent; font-size: 11px; }
.remove-avatar:hover { color: var(--danger); }
.attachment-field { margin-top: 4px; }
.dropzone { display: flex; min-height: 82px; align-items: center; justify-content: center; gap: 13px; border: 1px dashed #a7c3ae; border-radius: 13px; color: #5a776d; background: rgba(232,244,223,.56); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--mint-deep); background: #e6f5db; transform: translateY(-1px); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #4f9e68; background: #d3edc9; }
.upload-icon svg { width: 19px; height: 19px; }
.dropzone strong { display: block; font-size: 12px; }
.dropzone small { display: block; margin-top: 4px; color: #8a9e95; font-size: 10px; }
.file-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.file-chip { display: inline-flex; max-width: 100%; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid #d6e4d5; border-radius: 9px; color: #4e7066; background: #edf7e9; font-size: 10px; }
.file-chip-icon { padding: 3px 4px; border-radius: 4px; color: #518c62; background: #d9edcf; font: 600 8px var(--code); }
.file-chip-name { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip small { color: #8da399; font-size: 9px; }
.file-chip button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; color: #779387; background: transparent; font-size: 17px; line-height: 1; }
.file-chip button:hover { color: var(--danger); background: #ffe8e1; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.consent-check { display: inline-flex; align-items: center; gap: 8px; color: #788987; font-size: 10px; line-height: 1.4; }
.consent-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fake-checkbox { display: inline-block; width: 16px; height: 16px; flex: none; border: 1px solid #b2c7bb; border-radius: 5px; background: #fff; transition: background .2s ease, border .2s ease; }
.consent-check input:checked + .fake-checkbox { border-color: var(--mint-deep); background: var(--mint-deep); box-shadow: inset 0 0 0 3px var(--paper); }
.submit-button, .admin-primary-action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 14px; padding: 0 18px 0 21px; border: 0; border-radius: 12px; color: var(--ink); background: var(--mint); box-shadow: 0 7px 0 #78b85c; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.submit-button svg, .admin-primary-action svg { width: 18px; height: 18px; }
.submit-button:hover, .admin-primary-action:hover { transform: translateY(-2px); box-shadow: 0 9px 0 #78b85c; background: #ccfa89; }
.submit-button:active, .admin-primary-action:active { transform: translateY(3px); box-shadow: 0 3px 0 #78b85c; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.submit-button.is-loading svg { animation: nudge .8s infinite alternate ease-in-out; }
.form-message { min-height: 18px; margin: 13px 0 0; color: var(--danger); font-size: 11px; }
.form-message.success { color: #368d57; }
.success-panel { padding: 35px 5px 18px; text-align: center; }
.success-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 19px; place-items: center; border-radius: 21px; color: var(--ink); background: var(--mint); box-shadow: 0 8px 0 #78b85c; font-size: 30px; font-weight: 700; }
.success-panel h2 { margin: 0; font-size: 26px; letter-spacing: -.04em; }
.success-panel > p:not(.eyebrow) { max-width: 390px; margin: 15px auto 0; color: #758684; font-size: 13px; line-height: 1.7; }
.feedback-id { display: flex; max-width: 300px; flex-direction: column; gap: 7px; margin: 25px auto 20px; padding: 15px; border: 1px solid #d5e1d5; border-radius: 12px; background: #eaf4e5; }
.feedback-id small { color: #6b8c75; font: 9px var(--code); letter-spacing: .13em; }
.feedback-id strong { color: #38764c; font: 600 16px var(--code); }
.reset-button { padding: 8px 0; border: 0; border-bottom: 1px solid #9fbd9f; color: #568062; background: transparent; font-size: 12px; }
.reset-button:hover { color: var(--ink); border-color: var(--ink); }
.form-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 17px 0 0; color: rgba(255,255,255,.42); font-size: 11px; }
.mini-lock { color: var(--mint); font-size: 15px; }
.site-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.35); font: 10px var(--code); }

/* Admin page */
.admin-page { min-height: 100vh; background: #eaf0ea; }
.admin-topbar { border-bottom: 1px solid #cedbd1; background: rgba(255,255,255,.7); }
.admin-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 75px; }
.brand-dark { color: var(--ink); }
.brand-dark .brand-mark { border-color: #bfddb4; color: #4c9b61; background: #e6f4df; }
.brand-dark small { color: #82938b; }
.admin-top-actions { display: flex; align-items: center; gap: 23px; }
.api-status { display: inline-flex; align-items: center; gap: 8px; color: #5e766b; font: 10px var(--code); }
.back-to-site { color: #527568; font-size: 12px; transition: color .2s ease, transform .2s ease; }
.back-to-site:hover { color: var(--ink); transform: translateX(2px); }
.admin-main { padding: 54px 0 80px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.admin-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.06em; }
.admin-heading p:not(.eyebrow) { margin: 10px 0 0; color: #7a8b84; font-size: 14px; }
.admin-primary-action { color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 26px; }
.stat-card { position: relative; overflow: hidden; min-height: 135px; padding: 17px 17px 14px; border: 1px solid #d3ddd4; border-radius: 15px; background: rgba(255,255,255,.71); box-shadow: var(--shadow-small); }
.stat-kicker { display: block; color: #7c9489; font: 9px var(--code); letter-spacing: .1em; }
.stat-card strong { display: block; margin: 19px 0 2px; font: 500 32px/1 var(--code); letter-spacing: -.08em; }
.stat-card > span:last-of-type { color: #84948e; font-size: 11px; }
.stat-line { position: absolute; right: 17px; bottom: 18px; left: 17px; height: 3px; overflow: hidden; border-radius: 999px; background: #e1e9e0; }
.stat-line i { display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--mint-deep); }
.stat-good .stat-line i { background: #73ce91; }.stat-neutral .stat-line i { background: var(--amber); }.stat-bad .stat-line i { background: var(--coral); }.stat-open .stat-line i { width: 60%; background: #7798ae; }
.feedback-console { border: 1px solid #d3ddd4; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.75); box-shadow: var(--shadow); }
.console-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #dfe7df; }
.console-toolbar h2 { display: inline; margin: 0 12px 0 0; font-size: 18px; letter-spacing: -.03em; }
.console-toolbar > div:first-child > span { color: #8a9a92; font: 10px var(--code); }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.search-box { display: flex; width: 215px; height: 38px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #d3dfd6; border-radius: 9px; background: #f8fbf6; }
.search-box svg { width: 16px; height: 16px; color: #87a098; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #9eada6; }
.toolbar-actions select, .export-button { height: 38px; padding: 0 10px; border: 1px solid #d3dfd6; border-radius: 9px; color: #5e756b; background: #f8fbf6; font-size: 11px; }
.export-button { display: inline-flex; align-items: center; gap: 6px; border-color: #b9d4ba; color: #477857; background: #e9f4e5; }
.export-button svg { width: 15px; height: 15px; }
.toolbar-actions select:hover, .export-button:hover { border-color: #83b88d; background: #e1f1dc; }
.feedback-list { min-height: 92px; }
.feedback-list.is-loading { opacity: .5; pointer-events: none; }
.feedback-row { display: grid; width: 100%; grid-template-columns: 34px minmax(260px, 1fr) 116px 80px 90px 20px; align-items: center; gap: 15px; padding: 16px 24px; border: 0; border-bottom: 1px solid #e6eee6; color: var(--ink); text-align: left; background: transparent; transition: background .2s ease, padding .2s ease; }
.feedback-row:last-child { border-bottom: 0; }
.feedback-row:hover { padding-left: 28px; background: #f4f9f1; }
.row-type-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; font: 700 19px var(--code); }
.row-type-mark.good { color: #438855; background: #dff2d8; }.row-type-mark.neutral { color: #a87c29; background: #fff0c9; }.row-type-mark.bad { color: #c65e49; background: #ffe1d8; }
.row-main { min-width: 0; }
.row-topline { display: flex; align-items: center; gap: 10px; }
.row-topline strong { font-size: 12px; }.row-topline code { color: #8da096; font: 9px var(--code); }
.row-preview { display: block; overflow: hidden; margin-top: 5px; color: #5d746a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: block; overflow: hidden; margin-top: 5px; color: #9aa8a1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.row-contact { overflow: hidden; color: #547266; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.row-contact small { display: block; overflow: hidden; margin-top: 5px; color: #9eada6; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.row-status { display: inline-flex; width: max-content; padding: 5px 7px; border-radius: 999px; font-size: 9px; white-space: nowrap; }
.status-new { color: #bd694c; background: #ffebe2; }.status-in_review { color: #557996; background: #e4eef6; }.status-resolved { color: #4c8c5b; background: #e2f3dc; }.status-archived { color: #788a83; background: #e8eeea; }
.feedback-row time { color: #98a69f; font: 9px var(--code); white-space: nowrap; }
.row-arrow { color: #86a292; font-size: 17px; transition: transform .2s ease, color .2s ease; }.feedback-row:hover .row-arrow { color: var(--ink); transform: translate(2px, -2px); }
.empty-state, .list-error { padding: 75px 20px; color: #84968d; text-align: center; }.empty-icon { display: grid; width: 44px; height: 44px; margin: 0 auto 15px; place-items: center; border-radius: 14px; color: #759184; background: #e6eee4; font: 24px var(--code); }.empty-state h3 { margin: 0; color: #597267; font-size: 16px; }.empty-state p { margin: 8px 0 0; font-size: 12px; }.list-error { color: var(--danger); }
.detail-overlay { position: fixed; z-index: 20; inset: 0; display: flex; justify-content: end; background: rgba(6, 24, 31, .38); opacity: 0; transition: opacity .22s ease; }.detail-overlay.is-open { opacity: 1; }.detail-overlay[hidden] { display: none; }
.overlay-dismiss { position: absolute; inset: 0; border: 0; background: transparent; cursor: default; }
.detail-panel { position: relative; z-index: 1; width: min(520px, 100%); height: 100%; overflow-y: auto; padding: 31px 31px 45px; background: var(--paper); box-shadow: -18px 0 50px rgba(0,0,0,.18); transform: translateX(30px); transition: transform .24s ease; }.detail-overlay.is-open .detail-panel { transform: translateX(0); }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; }.detail-header .eyebrow { margin-bottom: 10px; }.detail-header h2 { margin: 0; font-size: 25px; letter-spacing: -.05em; }.close-button { width: 35px; height: 35px; padding: 0; border: 1px solid #cfded2; border-radius: 10px; color: #658177; background: #f0f6ed; font-size: 24px; line-height: 1; }.close-button:hover { color: var(--ink); background: var(--mint); }
.detail-content { margin-top: 30px; }.detail-summary { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #d9e4da; }.detail-summary > div { flex: 1; }.detail-type { display: block; font-size: 15px; font-weight: 700; }.detail-summary code { display: block; margin-top: 5px; color: #84998e; font: 10px var(--code); }.detail-summary .row-status { align-self: start; }
.detail-message { margin: 22px 0; padding: 18px; border-left: 3px solid var(--mint-deep); border-radius: 0 12px 12px 0; color: #405c50; background: #eaf5e5; font-size: 14px; line-height: 1.8; }.detail-block { padding-top: 22px; border-top: 1px solid #d9e4da; }.detail-label { display: block; margin-bottom: 12px; color: #7d9287; font: 10px var(--code); letter-spacing: .08em; }.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 23px; border: 1px solid #d9e4da; border-radius: 12px; overflow: hidden; background: #d9e4da; }.detail-grid div { min-height: 65px; padding: 12px; background: #f9fcf6; }.detail-grid span { display: block; color: #91a39a; font-size: 10px; }.detail-grid strong { display: block; overflow: hidden; margin-top: 7px; color: #557267; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.attachment-links { display: flex; flex-direction: column; gap: 7px; }.attachment-links a { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #d6e4d5; border-radius: 9px; color: #4b7760; background: #edf7e9; font-size: 11px; }.attachment-links a:hover { border-color: #a9cda9; background: #e1f1dc; }.attachment-links a span { padding: 3px 4px; border-radius: 4px; color: #518c62; background: #d9edcf; font: 600 8px var(--code); }.attachment-links small { margin-left: auto; color: #98aa9f; font-size: 9px; }.status-editor { margin-top: 23px; }.status-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.status-option { min-height: 37px; padding: 0 5px; border: 1px solid #d2dfd4; border-radius: 8px; color: #6c8277; background: #f8fbf6; font-size: 10px; }.status-option:hover, .status-option.is-selected { border-color: #8cbd92; color: #3f7951; background: #e3f2de; }
.detail-avatar-block { display: flex; align-items: center; gap: 13px; margin: 0 0 23px; padding: 12px; border: 1px solid #d9e4da; border-radius: 12px; background: #f9fcf6; }
.detail-avatar-block img { width: 54px; height: 54px; flex: none; border: 1px solid #c9dfc7; border-radius: 50%; object-fit: cover; }
.detail-avatar-block .detail-label { margin-bottom: 6px; }
.detail-avatar-block strong { display: block; overflow: hidden; max-width: 320px; color: #557267; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.toast { position: fixed; z-index: 30; right: 25px; bottom: 25px; max-width: calc(100% - 50px); padding: 12px 16px; border: 1px solid #c7dfc6; border-radius: 10px; color: #417151; background: #edf8e9; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }.toast[data-kind="error"] { border-color: #f2c6b6; color: #ae5b48; background: #fff0eb; }

@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes nudge { to { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 1080px) { .customer-main { gap: 42px; }.intro-panel { min-height: 680px; }.form-card { padding-inline: 30px; }.stats-grid { grid-template-columns: repeat(3, 1fr); }.stat-card:last-child { grid-column: span 1; }.console-toolbar { align-items: flex-start; flex-direction: column; }.toolbar-actions { width: 100%; flex-wrap: wrap; }.search-box { flex: 1; } }
@media (max-width: 780px) { .page-width { width: min(100% - 36px, 560px); }.topbar { padding: 19px 0; }.customer-main { display: block; padding: 35px 0 56px; }.intro-panel { min-height: auto; padding: 28px 0 34px; }.intro-panel h1 { font-size: clamp(44px, 14vw, 67px); }.intro-copy { margin-top: 20px; font-size: 14px; }.signal-card { margin-top: 30px; }.trust-strip { gap: 31px; margin-top: 35px; }.trust-strip div + div::before { left: -16px; }.form-card { padding: 27px 20px 25px; border-radius: 18px; }.form-heading { margin-bottom: 25px; }.form-heading h2 { font-size: 24px; }.secure-chip { padding: 7px; font-size: 0; }.secure-chip svg { width: 16px; height: 16px; }.type-grid { grid-template-columns: 1fr; gap: 8px; }.type-option { min-height: 65px; }.type-option small { white-space: normal; }.two-columns { grid-template-columns: 1fr; gap: 0; }.submit-row { align-items: stretch; flex-direction: column; }.submit-button { width: 100%; }.consent-check { align-items: flex-start; }.site-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 24px; }.admin-topbar-inner { min-height: 67px; }.admin-top-actions { gap: 12px; }.api-status { font-size: 0; }.api-status i { width: 8px; height: 8px; }.back-to-site { font-size: 11px; }.admin-main { padding: 36px 0 55px; }.admin-heading { align-items: flex-start; flex-direction: column; gap: 20px; }.admin-heading h1 { font-size: 35px; }.admin-primary-action { min-height: 42px; }.stats-grid { grid-template-columns: repeat(2, 1fr); }.stat-card { min-height: 120px; }.stat-card:last-child { grid-column: span 2; }.console-toolbar { padding: 18px 16px; }.toolbar-actions { display: grid; grid-template-columns: repeat(2, 1fr); }.search-box { grid-column: span 2; width: 100%; }.toolbar-actions select, .export-button { width: 100%; }.feedback-row { grid-template-columns: 31px minmax(0, 1fr) 20px; gap: 10px; padding: 14px 16px; }.feedback-row:hover { padding-left: 17px; }.row-contact, .row-status, .feedback-row time { display: none; }.row-arrow { grid-column: 3; grid-row: 1; }.detail-panel { padding: 25px 20px 35px; }.status-options { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 390px) { .page-width { width: calc(100% - 28px); }.brand strong { font-size: 14px; }.brand small { font-size: 8px; }.admin-link { font-size: 11px; }.form-heading { gap: 8px; }.type-option { padding: 11px; }.trust-strip { gap: 24px; }.trust-strip div + div::before { left: -12px; }.stats-grid { gap: 8px; }.stat-card { padding: 13px; }.stat-card strong { font-size: 27px; }.stat-line { right: 13px; left: 13px; }.console-toolbar h2 { font-size: 16px; } }

/* Public voice view */
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.public-link { color: rgba(255,255,255,.58); font-size: 13px; transition: color .2s ease, transform .2s ease; }
.public-link:hover { color: var(--mint); transform: translateY(-1px); }
.rating-fieldset { margin: 2px 0 18px; }
.rating-fieldset legend { margin-bottom: 11px; font-size: 13px; font-weight: 600; }
.rating-options { display: flex; gap: 8px; }
.rating-option { position: relative; display: flex; min-height: 45px; flex: 1; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border: 1px solid var(--line); border-radius: 11px; color: #80938b; background: rgba(255,255,255,.64); font-size: 11px; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.rating-option:hover { border-color: #9ebdb0; color: #5b786c; transform: translateY(-1px); }
.rating-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rating-option:has(input:checked) { border-color: #d4ac58; color: #996d24; background: #fff7e4; box-shadow: 0 0 0 3px rgba(246,200,95,.14); }
.rating-option:has(input:focus-visible) { outline: 3px solid rgba(91,196,119,.7); outline-offset: 3px; }
.rating-stars { display: inline-flex; color: #bdc9c0; }
.rating-stars svg { width: 14px; height: 14px; }
.rating-option:has(input:checked) .rating-stars { color: #dfa83e; }
.rating-note { min-height: 16px; margin: -1px 0 0; color: #668077; font-size: 11px; }
.public-voices { position: relative; z-index: 1; padding-bottom: 92px; }
.voices-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.voices-heading .eyebrow { margin-bottom: 14px; }
.voices-heading h2 { margin: 0; color: var(--white); font-size: clamp(30px, 4vw, 48px); letter-spacing: -.06em; }
.voices-heading p:not(.eyebrow) { max-width: 500px; margin: 13px 0 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.7; }
.voices-cta { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(185,243,108,.35); border-radius: 11px; color: var(--mint); background: rgba(185,243,108,.08); font-size: 12px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.voices-cta svg { width: 16px; height: 16px; }
.voices-cta:hover { border-color: rgba(185,243,108,.65); background: rgba(185,243,108,.15); transform: translateY(-2px); }
.voices-dashboard { display: grid; grid-template-columns: minmax(230px, .33fr) minmax(0, 1fr); gap: 14px; }
.rating-overview, .voices-feed-panel { border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(17,52,67,.72); box-shadow: var(--shadow-small); }
.rating-overview { padding: 23px 22px 21px; }
.overview-topline, .overview-live { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.52); font: 9px var(--code); letter-spacing: .1em; }
.overview-live { justify-content: flex-end; gap: 7px; color: var(--mint); letter-spacing: 0; }
.overview-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(185,243,108,.1); }
.overview-score { display: flex; align-items: baseline; gap: 7px; margin-top: 27px; }
.overview-score strong { color: var(--white); font: 600 52px/1 var(--code); letter-spacing: -.1em; }
.overview-score span { color: rgba(255,255,255,.46); font: 12px var(--code); }
.public-star-row { margin-top: 11px; }
.star-set { display: inline-flex; align-items: center; gap: 2px; color: #dea840; }
.star-set svg { width: 15px; height: 15px; }
.public-star-row .star-set { color: var(--mint); }
.rating-overview > p { margin: 9px 0 24px; color: rgba(255,255,255,.5); font-size: 11px; }
.rating-overview > p strong { color: var(--white); font: 600 12px var(--code); }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) 20px; align-items: center; gap: 7px; color: rgba(255,255,255,.48); font: 9px var(--code); }
.rating-bar-row > div { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.rating-bar-row i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--mint); transition: width .35s ease; }
.rating-bar-row strong { color: rgba(255,255,255,.65); font: 9px var(--code); text-align: right; }
.voices-feed-panel { min-width: 0; overflow: hidden; }
.voices-feed-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px 15px; border-bottom: 1px solid rgba(255,255,255,.11); }
.voices-feed-header h3 { display: inline; margin: 0 11px 0 0; color: var(--white); font-size: 16px; }
.voices-feed-header > div:first-child > span { color: rgba(255,255,255,.4); font: 9px var(--code); }
.voice-filters { display: flex; gap: 4px; padding: 3px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(3,24,34,.35); }
.voice-filter { min-height: 29px; padding: 0 9px; border: 0; border-radius: 6px; color: rgba(255,255,255,.52); background: transparent; font-size: 10px; transition: color .2s ease, background .2s ease; }
.voice-filter:hover, .voice-filter.is-active { color: var(--ink); background: var(--mint); }
.public-feedback-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 120px; padding: 14px; transition: opacity .2s ease; }
.public-feedback-list.is-loading { opacity: .55; pointer-events: none; }
.public-feedback-card { position: relative; min-width: 0; min-height: 157px; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.055); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.public-feedback-card:hover { border-color: rgba(185,243,108,.3); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.public-card-topline { display: flex; align-items: center; gap: 9px; }
.public-type-mark { display: grid; width: 29px; height: 29px; flex: none; place-items: center; border-radius: 9px; font: 700 17px var(--code); }
.public-card-avatar { display: block; width: 29px; height: 29px; flex: none; overflow: hidden; border: 1px solid rgba(185,243,108,.22); border-radius: 50%; color: #b9f36c; background: rgba(185,243,108,.13); object-fit: cover; }
.public-type-mark.good { color: #b9f36c; background: rgba(185,243,108,.13); }.public-type-mark.neutral { color: #f6c85f; background: rgba(246,200,95,.15); }.public-type-mark.bad { color: #ff9d80; background: rgba(255,140,104,.15); }
.public-card-author { min-width: 0; flex: 1; }
.public-card-author strong { display: block; overflow: hidden; color: var(--white); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.public-card-author small { display: block; overflow: hidden; margin-top: 4px; color: rgba(255,255,255,.4); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.public-card-rating { flex: none; }
.public-card-rating .star-set { gap: 1px; color: #dfa83e; }
.public-card-rating .star-set svg { width: 11px; height: 11px; }
.public-feedback-card p { display: -webkit-box; overflow: hidden; margin: 15px 0 0; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.public-card-label { position: absolute; right: 15px; bottom: 14px; padding: 3px 6px; border-radius: 5px; color: rgba(255,255,255,.43); background: rgba(255,255,255,.07); font-size: 9px; }
.public-feedback-card.good .public-card-label { color: #b9f36c; background: rgba(185,243,108,.1); }.public-feedback-card.neutral .public-card-label { color: #f6c85f; background: rgba(246,200,95,.1); }.public-feedback-card.bad .public-card-label { color: #ff9d80; background: rgba(255,140,104,.1); }
.public-empty-state { padding: 56px 18px; color: rgba(255,255,255,.5); text-align: center; }
.empty-wave { display: grid; width: 42px; height: 42px; margin: 0 auto 14px; place-items: center; border: 1px solid rgba(185,243,108,.25); border-radius: 13px; color: var(--mint); background: rgba(185,243,108,.08); font: 22px var(--code); }
.public-empty-state h3 { margin: 0; color: var(--white); font-size: 15px; }.public-empty-state p { margin: 8px 0 0; font-size: 11px; }.public-list-error { grid-column: 1 / -1; align-self: center; margin: 0; padding: 30px; color: #ffad96; font-size: 12px; text-align: center; }
.stat-average .stat-line i { width: 72%; background: var(--mint-deep); }
.row-rating { color: #ae812f; font: 600 10px var(--code); white-space: nowrap; }
.feedback-row { grid-template-columns: 34px minmax(220px, 1fr) 116px 60px 80px 90px 20px; }

@media (max-width: 1080px) {
  .voices-dashboard { grid-template-columns: minmax(205px, .34fr) minmax(0, 1fr); }
  .feedback-row { grid-template-columns: 34px minmax(180px, 1fr) 95px 55px 75px 74px 20px; }
}

@media (max-width: 780px) {
  .topbar-actions { gap: 12px; }
  .public-voices { padding-bottom: 60px; }
  .voices-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .voices-heading h2 { font-size: 35px; }
  .voices-cta { min-height: 42px; }
  .voices-dashboard { display: block; }
  .rating-overview { margin-bottom: 12px; }
  .voices-feed-header { align-items: flex-start; flex-direction: column; gap: 13px; padding-inline: 16px; }
  .voice-filters { width: 100%; }
  .voice-filter { flex: 1; }
  .public-feedback-list { grid-template-columns: 1fr; padding: 10px; }
  .feedback-row { grid-template-columns: 31px minmax(0, 1fr) 20px; }
  .row-rating { display: none; }
}

@media (max-width: 390px) {
  .public-link { display: none; }
  .rating-options { gap: 5px; }
  .rating-option { padding-inline: 4px; font-size: 10px; }
  .rating-stars svg { width: 12px; height: 12px; }
}

/* Compact presentation */
.ambient { display: none; }
.topbar { padding: 20px 0; }
.customer-main { gap: 54px; padding: 42px 0 58px; }
.intro-panel { min-height: auto; justify-content: flex-start; padding: 28px 0 0; }
.intro-panel h1 { font-size: clamp(42px, 4.7vw, 64px); }
.intro-copy { max-width: 360px; margin-top: 18px; font-size: 14px; line-height: 1.7; }
.signal-card, .trust-strip { display: none; }
.form-card { padding: 32px 34px 28px; border-radius: 16px; box-shadow: 0 14px 42px rgba(0,0,0,.2); }
.form-heading { margin-bottom: 24px; }
.public-voices { padding-bottom: 64px; }
.voices-heading { margin-bottom: 18px; }
.rating-overview, .voices-feed-panel { border-radius: 14px; }
.rating-overview { padding: 20px; }
.voices-feed-header { padding: 17px 19px 13px; }
.public-feedback-list { padding: 10px; }
.public-feedback-card { min-height: 145px; padding: 13px; }
.site-footer { padding-top: 17px; }

@media (max-width: 780px) {
  .topbar { padding: 16px 0; }
  .customer-main { gap: 0; padding: 28px 0 42px; }
  .intro-panel { min-height: auto; padding: 14px 0 24px; }
  .intro-panel h1 { font-size: clamp(42px, 14vw, 64px); }
  .form-card { padding: 24px 18px 22px; }
}

/* Admin verification */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--navy); }
.login-shell { width: min(100%, 410px); }
.login-brand { margin-bottom: 20px; color: var(--white); }
.login-card { padding: 32px; border: 1px solid rgba(255,255,255,.72); border-radius: 16px; background: var(--paper); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.login-card .eyebrow { margin-bottom: 13px; }
.login-card h1 { margin: 0; font-size: 28px; letter-spacing: -.05em; }
.login-copy { margin: 12px 0 24px; color: #748781; font-size: 13px; line-height: 1.7; }
.login-field { display: block; }
.login-field > span { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 600; }
.login-field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); outline: 0; background: rgba(255,255,255,.8); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.login-field input:hover { border-color: #9ebdb0; }
.login-field input:focus { border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(91,196,119,.14); }
.login-button { display: inline-flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 10px; margin-top: 17px; border: 0; border-radius: 11px; color: var(--ink); background: var(--mint); box-shadow: 0 5px 0 #78b85c; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.login-button svg { width: 17px; height: 17px; }
.login-button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #78b85c; background: #ccfa89; }
.login-button:active { transform: translateY(2px); box-shadow: 0 3px 0 #78b85c; }
.login-button:disabled { cursor: wait; opacity: .7; }
.login-message { min-height: 18px; margin: 12px 0 0; color: var(--danger); font-size: 11px; }
.login-back { display: block; margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: 12px; text-align: center; transition: color .2s ease; }
.login-back:hover { color: var(--mint); }
.logout-button { min-height: 32px; padding: 0 10px; border: 1px solid #d3dfd6; border-radius: 8px; color: #668077; background: #f8fbf6; font-size: 10px; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.logout-button:hover { border-color: #e3b1a2; color: #b45f4d; background: #fff0eb; }

@media (max-width: 780px) {
  .login-page { padding: 18px; }
  .login-card { padding: 26px 20px; }
  .login-card h1 { font-size: 25px; }
  .api-status { display: none; }
}

/* Mouse clicks stay clean; keyboard navigation keeps a visible focus state. */
button:focus:not(:focus-visible), a:focus:not(:focus-visible), input:focus:not(:focus-visible), select:focus:not(:focus-visible), textarea:focus:not(:focus-visible), label:has(input:focus:not(:focus-visible)) { outline: none; }
.field input:focus:not(:focus-visible), .field select:focus:not(:focus-visible), .field textarea:focus:not(:focus-visible), .login-field input:focus:not(:focus-visible) { border-color: var(--line); box-shadow: none; background: rgba(255,255,255,.75); }
body[data-focus-mode="pointer"] button:focus, body[data-focus-mode="pointer"] a:focus, body[data-focus-mode="pointer"] input:focus, body[data-focus-mode="pointer"] select:focus, body[data-focus-mode="pointer"] textarea:focus, body[data-focus-mode="pointer"] label:has(input:focus) { outline: none !important; }
body[data-focus-mode="pointer"] .field input:focus, body[data-focus-mode="pointer"] .field select:focus, body[data-focus-mode="pointer"] .field textarea:focus, body[data-focus-mode="pointer"] .login-field input:focus { border-color: var(--line) !important; box-shadow: none !important; background: rgba(255,255,255,.75) !important; }

/* Subtle press feedback for clickable controls. */
.type-option,
.rating-option,
.voice-filter,
.voices-cta,
.export-button,
.logout-button,
.back-to-site,
.public-link,
.reset-button,
.dropzone {
  transition-property: transform, color, background-color, border-color, box-shadow;
  transition-duration: .14s;
  transition-timing-function: ease;
}

.type-option:active,
.rating-option:active,
.voice-filter:active,
.voices-cta:active,
.export-button:active,
.logout-button:active,
.back-to-site:active,
.public-link:active,
.reset-button:active {
  transform: translateY(1px) scale(.98);
  transition-duration: .08s;
}

.dropzone:active {
  transform: scale(.99);
  transition-duration: .08s;
}

.detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d9e4da;
}

.delete-feedback-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #efc3b5;
  border-radius: 9px;
  color: #ae5b48;
  background: #fff0eb;
  font-size: 11px;
  transition: transform .14s ease, border-color .14s ease, background-color .14s ease;
}

.delete-feedback-button:hover {
  border-color: #dd9e8d;
  background: #ffe5dc;
}

.delete-feedback-button:active {
  transform: translateY(1px) scale(.98);
  transition-duration: .08s;
}

body.detail-open {
  overflow: hidden;
}

.status-hidden {
  color: #8b6d2c;
  background: #fff4cf;
}

.status-recycle {
  color: #9d5548;
  background: #ffe4dc;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px 18px;
  border-top: 1px solid #e6eee6;
}

.pagination button,
.visibility-feedback-button,
.restore-feedback-button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d2dfd4;
  border-radius: 8px;
  color: #5f796d;
  background: #f8fbf6;
  font-size: 11px;
  transition: transform .14s ease, border-color .14s ease, color .14s ease, background-color .14s ease;
}

.pagination button:hover,
.visibility-feedback-button:hover,
.restore-feedback-button:hover {
  border-color: #8cbd92;
  color: #3f7951;
  background: #e3f2de;
}

.pagination button:active,
.visibility-feedback-button:active,
.restore-feedback-button:active {
  transform: translateY(1px) scale(.98);
  transition-duration: .08s;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.pagination span {
  color: #81938a;
  font: 10px var(--code);
}

.detail-actions {
  flex-wrap: wrap;
  gap: 8px;
}

.delete-feedback-button.permanent {
  border-color: #d99887;
  color: #9d4d3e;
  background: #ffe4dc;
}

.delete-feedback-button.permanent:hover {
  border-color: #c87361;
  background: #ffd8ce;
}

.delete-feedback-button {
  min-height: 44px;
}

.status-option {
  min-height: 44px;
}
