:root {
  --ink: #102a2b;
  --muted: #718182;
  --line: #dbe5e3;
  --paper: #f7faf9;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #09544f;
  --teal-soft: #e4f4f0;
  --gold: #b27618;
  --rose: #b44555;
  --shadow: 0 20px 55px rgba(16, 42, 43, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 24px; letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: 22px; letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: white; background: var(--teal-dark); font-weight: 800; font-size: 22px; }
.public-shell { max-width: 1120px; margin: 0 auto; padding: 34px 28px 70px; }
.public-header, .admin-header { display: flex; align-items: center; gap: 13px; }
.public-header { margin-bottom: 30px; }
.public-header .quiet-link { margin-left: auto; }
.public-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.public-nav .quiet-link { margin-left: 0; }
.quiet-link { color: var(--teal); text-decoration: none; font-size: 13px; font-weight: 700; }
.client-history { margin-bottom: 22px; border: 1px solid var(--line); background: white; box-shadow: 0 10px 32px rgba(16, 42, 43, .05); }
.history-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.history-heading h2 { font-size: 19px; }
.history-heading p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.history-new { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; min-height: 38px; padding: 0 13px; border: 1px solid var(--teal); border-radius: 6px; color: var(--teal); background: white; text-decoration: none; font-size: 12px; font-weight: 750; }
.history-list { display: grid; }
.history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 16px; min-height: 70px; padding: 13px 24px; border-bottom: 1px solid #edf2f1; color: var(--ink); text-decoration: none; }
.history-row:last-child { border-bottom: 0; }
.history-row:hover { background: #f7fbfa; }
.history-copy, .history-state { display: grid; gap: 5px; min-width: 0; }
.history-copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.history-copy span, .history-state time { color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.history-state { justify-items: end; }
.history-arrow { color: var(--teal); font-size: 17px; }
.status-pending { color: var(--muted); background: #edf1f0; }
.public-grid { display: grid; grid-template-columns: minmax(280px, .83fr) minmax(0, 1.47fr); min-height: 670px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.intro-panel { position: relative; overflow: hidden; padding: 54px 48px; color: white; background: var(--teal-dark); }
.intro-panel::after { content: ""; position: absolute; right: -90px; bottom: -80px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.04), 0 0 0 60px rgba(255,255,255,.03); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 70px; color: #c9eeea; font-size: 12px; font-weight: 700; }
.status-dot span { width: 8px; height: 8px; border-radius: 50%; background: #8de2cd; }
.intro-panel h2 { font-size: 31px; line-height: 1.35; }
.intro-panel p { max-width: 320px; margin: 22px 0 26px; color: #b8d8d5; font-size: 14px; line-height: 1.8; }
.source-chip { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; color: #dff6f1; font-size: 12px; }
.promise-list { position: absolute; right: 48px; bottom: 44px; left: 48px; z-index: 1; display: grid; gap: 16px; }
.promise-list div { display: flex; align-items: baseline; gap: 12px; color: #c3e1dd; font-size: 12px; }
.promise-list strong { color: #79cbbf; font-size: 11px; }
.form-panel { padding: 50px 54px; }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.required-note { color: var(--muted); font-size: 12px; }
#feedback-form { padding-top: 28px; }
.field-group { margin-bottom: 25px; }
.field-group > label:first-child, .control-row label { display: block; margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 750; }
.field-group label span, .check-row b { color: var(--rose); }
.field-group small { color: var(--muted); font-size: 11px; font-weight: 500; }
.category-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.category-option input { position: absolute; width: auto; opacity: 0; pointer-events: none; }
.category-option span { display: block; min-width: 76px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 6px; color: #4c6263; background: #fbfdfc; text-align: center; font-size: 13px; transition: .18s; }
.category-option input:checked + span { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal); }
.custom-category-field { margin-top: 14px; }
.custom-category-field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.custom-category-field label span { color: var(--rose); }
.priority-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.priority-options input { position: absolute; width: auto; opacity: 0; pointer-events: none; }.priority-options span { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: white; font-size: 12px; text-align: center; }.priority-options input:checked + span { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-soft); }.priority-options label:last-child input:checked + span { border-color: var(--rose); color: var(--rose); background: #fff1f3; }
textarea, input, select { width: 100%; border: 1px solid var(--line); border-radius: 6px; outline: none; color: var(--ink); background: #fff; transition: border .18s, box-shadow .18s; }
textarea:focus, input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
textarea { min-height: 128px; padding: 13px; resize: vertical; line-height: 1.65; }
input, select { height: 42px; padding: 0 12px; }
.field-hint { display: flex; justify-content: space-between; gap: 15px; margin-top: 7px; color: var(--muted); font-size: 11px; }
.upload-zone { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px dashed #b5cfcc; border-radius: 7px; background: #f8fcfb; cursor: pointer; }
.upload-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--teal); background: var(--teal-soft); font-size: 24px; font-weight: 300; }
.upload-zone strong, .upload-zone small { display: block; }
.upload-zone strong { color: var(--teal-dark); font-size: 13px; }
.upload-zone small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.file-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.file-pill, .meta-chip { padding: 5px 8px; border-radius: 5px; color: var(--teal-dark); background: var(--teal-soft); font-size: 11px; }
.split-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-row { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0; color: #617172; font-size: 12px; line-height: 1.6; }
.check-row input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; accent-color: var(--teal); }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border: 0; border-radius: 6px; font-weight: 750; transition: .18s; }
.primary-button { width: 100%; margin-top: 24px; padding: 0 17px; color: white; background: var(--teal); }
.primary-button:hover { background: var(--teal-dark); }
.primary-button:disabled { cursor: wait; opacity: .6; }
.secondary-button { justify-content: center; width: 100%; margin-top: 26px; color: var(--teal); background: var(--teal-soft); }
.secondary-button { text-decoration: none; }
.success-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.success-actions .secondary-button { min-width: 0; font-size: 12px; }
.form-footnote { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.success-shell { display: grid; place-items: center; min-height: 100vh; padding: 28px; }
.success-card { width: min(100%, 480px); padding: 55px 50px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); text-align: center; }
.success-card.install-card { width: min(100%, 760px); text-align: left; }
.install-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; color: white; background: var(--teal); font-size: 29px; }
.success-card h1 { margin-bottom: 14px; font-size: 28px; }
.tenant-choice-mark { margin: 0 auto 20px; }
.tenant-choice-list { display: grid; gap: 10px; margin-top: 24px; }
.tenant-choice-list .secondary-button { margin-top: 0; }
.access-shell { background: #f2f6f5; }
.access-card { width: min(100%, 520px); padding: 48px 46px 38px; text-align: left; }
.access-code { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; border: 1px solid #c8d9d6; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); font-size: 15px; font-weight: 800; }
.access-card > p:not(.eyebrow):not(.access-request-id) { margin-bottom: 24px; }
.access-guidance { padding: 17px 18px; border-left: 3px solid var(--teal); background: #f5f9f8; }
.access-guidance strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; }
.access-guidance p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.access-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.access-actions .primary-button, .access-actions .secondary-button { justify-content: center; min-width: 0; margin-top: 0; text-decoration: none; font-size: 12px; }
.access-request-id { display: grid; gap: 6px; margin: 25px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.access-request-id span { color: var(--muted); font-size: 10px; }
.access-request-id code { overflow-wrap: anywhere; color: #5b6e6d; font-size: 10px; }
.success-card > p:not(.eyebrow):not(.form-footnote) { color: var(--muted); font-size: 14px; line-height: 1.8; }
.ticket-number { margin-top: 26px; padding: 17px; border: 1px solid var(--line); background: #f9fcfb; }
.ticket-number small, .ticket-number strong { display: block; }
.ticket-number small { margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.ticket-number strong { overflow-wrap: anywhere; color: var(--teal-dark); font: 750 21px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px; }
.admin-shell { min-height: 100vh; }
.admin-header { justify-content: space-between; padding: 24px 38px; border-bottom: 1px solid var(--line); background: white; }
.admin-brand { display: flex; align-items: center; gap: 13px; }
.admin-actions { display: flex; align-items: center; gap: 24px; }
.toolbar-button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--teal-dark); background: #f8fbfa; text-decoration: none; font-size: 11px; font-weight: 700; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 6px; color: var(--teal); background: white; font-size: 20px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1440px; margin: 0 auto; padding: 27px 38px 18px; }
.metric-card { padding: 18px 20px; border: 1px solid var(--line); background: white; }
.metric-card span, .metric-card small { display: block; color: var(--muted); font-size: 12px; }
.metric-card strong { display: block; margin: 9px 0 4px; font-size: 29px; }
.metric-accent { border-top: 3px solid var(--teal); }
.metric-warning { border-top: 3px solid var(--rose); }.metric-warning strong { color: var(--rose); }.metric-card .metric-time { font-size: 21px; }
.workspace { display: grid; grid-template-columns: minmax(330px, 410px) minmax(0, 1fr); max-width: 1440px; min-height: calc(100vh - 172px); margin: 0 auto; padding: 0 38px 36px; gap: 18px; }
.queue-panel, .detail-panel { border: 1px solid var(--line); background: white; }
.queue-panel { display: flex; flex-direction: column; min-height: 620px; }
.queue-toolbar { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 20px 15px; }
.queue-toolbar h2 { font-size: 18px; }
.queue-total { color: var(--muted); font-size: 11px; }
.filter-button { border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; color: var(--muted); background: white; font-size: 11px; }
.search-box { display: flex; align-items: center; gap: 8px; margin: 0 20px 15px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); }
.search-box input { height: 36px; padding: 0; border: 0; box-shadow: none; font-size: 12px; }
.advanced-filters { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; padding: 0 20px 14px; }.advanced-filters select { height: 34px; padding: 0 8px; color: var(--muted); font-size: 11px; }.overdue-toggle { display: flex; align-items: center; gap: 5px; color: var(--muted); white-space: nowrap; font-size: 10px; }.overdue-toggle input { width: 14px; height: 14px; accent-color: var(--rose); }
.queue-tabs { display: flex; overflow-x: auto; padding: 0 20px; border-bottom: 1px solid var(--line); }
.queue-tab { flex: 0 0 auto; margin-right: 17px; padding: 0 0 11px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 11px; }
.queue-tab.active { border-color: var(--teal); color: var(--teal-dark); font-weight: 750; }
.queue-list { flex: 1; overflow: auto; }
.queue-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-top: 1px solid var(--line); color: var(--muted); background: #fbfdfc; font-size: 10px; }
.queue-pagination button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 5px; color: var(--teal); background: white; }
.queue-pagination button:disabled { color: #aab5b4; cursor: default; opacity: .55; }
.bulk-bar { display: none; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid #cfe4e0; background: #eef8f6; }.bulk-bar.visible { display: flex; }.bulk-bar span { flex: 1; color: var(--teal-dark); font-size: 10px; }.bulk-bar select, .bulk-bar input { width: 92px; height: 30px; padding: 0 7px; font-size: 10px; }.bulk-bar button { height: 30px; padding: 0 9px; border: 0; border-radius: 4px; color: white; background: var(--teal); font-size: 10px; }.bulk-bar .text-button { color: var(--muted); background: transparent; }
.queue-row { position: relative; display: grid; grid-template-columns: 36px 1fr; border-bottom: 1px solid #edf2f1; background: white; }.queue-row:hover, .queue-row.selected { background: #f4fbf9; }.queue-row.selected { box-shadow: inset 3px 0 var(--teal); }.row-check { display: grid; place-items: start center; padding-top: 18px; }.row-check input { width: 14px; height: 14px; accent-color: var(--teal); }.queue-item { display: block; width: 100%; padding: 16px 20px 16px 0; border: 0; color: var(--ink); background: transparent; text-align: left; }
.queue-item-top, .queue-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.queue-signals { display: flex; align-items: center; gap: 5px; }.priority-badge, .overdue-badge { padding: 3px 5px; border-radius: 3px; font-size: 9px; }.priority-badge { color: var(--rose); background: #fff0f2; }.overdue-badge { color: #98661b; background: #fff3da; }
.queue-item time, .queue-item-foot, .queue-item p { color: var(--muted); font-size: 11px; }
.queue-item strong { display: block; margin-top: 8px; font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.queue-item p { overflow: hidden; margin: 7px 0 12px; text-overflow: ellipsis; white-space: nowrap; }
.queue-item-foot span:last-child { overflow: hidden; max-width: 150px; text-overflow: ellipsis; white-space: nowrap; }
.status-badge { display: inline-flex; padding: 4px 7px; border-radius: 4px; font-size: 10px; font-weight: 750; }
.status-0 { color: #98661b; background: #fff3da; }.status-1 { color: #98661b; background: #fff3da; }.status-2 { color: #1a6b8a; background: #e1f2f7; }.status-3 { color: #17745e; background: #e1f5ed; }.status-4 { color: #68797a; background: #edf1f0; }
.queue-empty { display: grid; place-items: center; padding: 80px 20px; color: var(--muted); text-align: center; }.queue-empty span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: var(--teal); background: var(--teal-soft); }.queue-empty p { font-size: 12px; }
.detail-panel { min-height: 620px; }
.detail-scroll { height: 100%; overflow: auto; }
.empty-detail { display: grid; place-items: center; align-content: center; height: 100%; min-height: 620px; padding: 30px; color: var(--muted); text-align: center; }.empty-detail h2 { margin: 18px 0 8px; color: var(--ink); font-size: 18px; }.empty-detail p { font-size: 12px; }.empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--teal); background: var(--teal-soft); font-size: 22px; }
.detail-heading { display: flex; justify-content: space-between; gap: 24px; padding: 27px 30px 23px; border-bottom: 1px solid var(--line); }.detail-heading h2 { margin-top: 13px; font: 700 20px ui-monospace, SFMono-Regular, Menlo, monospace; }.detail-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.detail-sections { padding: 0 30px 40px; }.detail-section { padding: 25px 0; border-bottom: 1px solid #edf2f1; }.section-label { margin-bottom: 13px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }.content-meta { display: flex; gap: 7px; }.meta-chip.muted { color: #758383; background: #eff3f2; }.feedback-copy { margin: 14px 0 0; color: #355152; font-size: 14px; line-height: 1.8; white-space: pre-wrap; }.attachment-grid { display: flex; gap: 8px; margin-top: 15px; }.attachment-placeholder { position: relative; display: grid; place-items: end center; width: 76px; height: 76px; overflow: hidden; border: 1px solid var(--line); color: var(--teal); background: var(--teal-soft); font-size: 10px; font-weight: 750; text-decoration: none; }.attachment-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.attachment-placeholder span { position: relative; z-index: 1; width: 100%; padding: 3px 0; color: white; background: rgba(16,42,43,.62); text-align: center; }
.meta-chip.urgent { color: var(--rose); background: #fff0f2; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.info-grid span, .info-grid strong { display: block; }.info-grid span { margin-bottom: 7px; color: var(--muted); font-size: 11px; }.info-grid strong { font-size: 13px; font-weight: 650; }
.control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.control-row label { color: var(--muted); font-size: 11px; }.control-row select, .control-row input { display: block; margin-top: 8px; }.reply-box { min-height: 95px; margin-top: 5px; }.primary-button.compact { width: auto; min-width: 160px; margin-top: 13px; padding: 0 14px; font-size: 12px; }
.control-row.three { grid-template-columns: .8fr .7fr 1.3fr; }
.timeline-item { position: relative; display: grid; grid-template-columns: 15px 1fr; gap: 11px; padding-bottom: 18px; }.timeline-item > span { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }.timeline-item strong { font-size: 12px; }.timeline-item p { margin: 4px 0; color: #607273; font-size: 12px; }.timeline-item time { color: var(--muted); font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: min(360px, calc(100vw - 48px)); padding: 12px 16px; border-radius: 6px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 13px; }.toast-error { background: var(--rose); }.toast-success { background: var(--teal); }
.track-shell { max-width: 1080px; margin: 0 auto; padding: 34px 28px 70px; }.track-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); min-height: 590px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }.track-search { padding: 48px 40px; border-right: 1px solid var(--line); background: #fbfdfc; }.track-search > p:not(.eyebrow) { margin: 18px 0 30px; color: var(--muted); font-size: 13px; line-height: 1.75; }.track-search form label { display: block; margin-bottom: 17px; color: var(--ink); font-size: 12px; font-weight: 700; }.track-search form input { display: block; margin-top: 8px; }.track-result { min-width: 0; }.ticket-result-card { padding: 45px 42px; }.result-top { display: flex; align-items: flex-start; justify-content: space-between; }.track-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 42px 0; }.progress-step { position: relative; display: grid; justify-items: center; gap: 8px; color: #9caaaa; text-align: center; }.progress-step::after { content: ""; position: absolute; top: 13px; left: 60%; width: 80%; height: 1px; background: var(--line); }.progress-step:last-child::after { display: none; }.progress-step > span { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 10px; }.progress-step.done { color: var(--teal); }.progress-step.done::after { background: #8bc9c1; }.progress-step.done > span { border-color: var(--teal); color: white; background: var(--teal); }.progress-step.current > span { box-shadow: 0 0 0 5px var(--teal-soft); }.progress-step small { font-size: 10px; }.result-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 18px; border: 1px solid var(--line); background: #fafcfb; }.result-facts span, .result-facts strong { display: block; }.result-facts span { margin-bottom: 6px; color: var(--muted); font-size: 10px; }.result-facts strong { font-size: 12px; }.public-timeline { margin-top: 30px; }.muted-copy, .loading-state { color: var(--muted); font-size: 12px; }.loading-state { display: grid; place-items: center; min-height: 590px; }
@media (max-width: 800px) { .public-shell, .track-shell { padding: 22px 16px 45px; }.public-grid, .track-layout { display: block; }.intro-panel { padding: 30px 25px 34px; }.status-dot { margin-bottom: 35px; }.intro-panel h2 { font-size: 26px; }.promise-list { position: static; margin-top: 35px; }.form-panel { padding: 32px 25px 38px; }.metrics, .workspace { padding-right: 16px; padding-left: 16px; }.metrics { grid-template-columns: 1fr 1fr; }.workspace { display: block; }.detail-panel { margin-top: 16px; min-height: 500px; }.empty-detail { min-height: 400px; }.admin-header { padding: 20px 16px; }.admin-actions { gap: 8px; }.admin-actions .quiet-link { display: none; }.detail-heading, .detail-sections { padding-right: 20px; padding-left: 20px; }.track-search { padding: 34px 25px; border-right: 0; border-bottom: 1px solid var(--line); }.ticket-result-card { padding: 32px 25px; }.loading-state { min-height: 320px; } }
@media (max-width: 500px) { .public-header h1, .admin-header h1 { font-size: 20px; }.public-nav { gap: 10px; }.history-heading { align-items: flex-start; padding: 18px; }.history-heading p:not(.eyebrow) { max-width: 185px; line-height: 1.55; }.history-new { padding: 0 10px; }.history-row { grid-template-columns: minmax(0, 1fr) auto 16px; gap: 9px; padding: 12px 18px; }.split-fields, .control-row, .control-row.three, .info-grid { grid-template-columns: 1fr; gap: 0; }.success-card { padding: 42px 25px; }.success-actions { grid-template-columns: 1fr; }.category-option span { min-width: 64px; }.metrics { gap: 8px; padding-top: 16px; }.metric-card { padding: 14px; }.metric-card strong { font-size: 23px; }.metric-card small { font-size: 10px; }.advanced-filters { grid-template-columns: 1fr 1fr; }.overdue-toggle { grid-column: 1 / -1; }.bulk-bar { flex-wrap: wrap; }.bulk-bar span { flex-basis: 100%; }.track-progress { margin: 34px -8px; }.progress-step small { font-size: 9px; }.result-facts { grid-template-columns: 1fr; } }

.login-card { max-width: 520px; text-align: left; }
.login-card > .brand-mark { margin: 0 auto 22px; }
.login-card > .eyebrow, .login-card > h1, .login-card > p { text-align: center; }
.login-form { margin-top: 28px; }
.login-form label { display: block; margin-top: 16px; color: var(--ink); font-size: 12px; font-weight: 700; }
.login-form input { display: block; margin-top: 8px; }
.login-form .primary-button { margin-top: 24px; }
.tenant-selector { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 700; }
.tenant-selector select { width: 170px; height: 34px; padding: 0 8px; font-size: 11px; }
.integration-shell { max-width: 1440px; margin: 0 auto; padding: 30px 38px 60px; }
.integration-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; padding: 25px 0 30px; border-bottom: 1px solid var(--line); }
.integration-hero h2 { font-size: 25px; }
.integration-hero p:not(.eyebrow) { max-width: 690px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.integration-status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .8fr); gap: 15px; padding: 22px 0; }
.status-card, .endpoint-card { min-height: 120px; padding: 18px 20px; border: 1px solid var(--line); background: white; }
.status-card { display: grid; align-content: center; gap: 8px; border-left: 4px solid var(--teal); }
.status-card.warning { border-left-color: var(--gold); }
.status-card strong { font-size: 18px; }
.status-card small, .endpoint-card span { color: var(--muted); font-size: 11px; }
.endpoint-card { display: grid; grid-template-columns: 78px 1fr; align-content: center; gap: 8px 12px; }
.endpoint-card code { overflow: hidden; color: var(--teal-dark); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.integration-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 16px; }
.integration-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); background: white; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel-heading h2 { font-size: 18px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.panel-note { margin: 12px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.unified-entry { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 12px 14px; border: 1px solid var(--line); background: #f8fbfa; }
.unified-entry code { min-width: 0; overflow-wrap: anywhere; color: var(--teal-dark); font-size: 10px; line-height: 1.6; }
.unified-entry > div { display: flex; flex: 0 0 auto; gap: 7px; }
.staff-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.staff-section-heading strong { font-size: 12px; }
.staff-section-heading span { color: var(--muted); font-size: 10px; }
.staff-directory-table table { min-width: 420px; }
.data-table-wrap { overflow-x: auto; }
.data-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 11px; }
.data-table-wrap th { padding: 10px 8px; color: var(--muted); border-bottom: 1px solid var(--line); text-align: left; font-size: 10px; font-weight: 700; }
.data-table-wrap td { padding: 13px 8px; border-bottom: 1px solid #edf2f1; vertical-align: middle; }
.data-table-wrap .select-column { width: 34px; padding-right: 4px; padding-left: 4px; text-align: center; }
.data-table-wrap .select-column input { width: 15px; height: 15px; accent-color: var(--teal); }
.data-table-wrap td strong, .data-table-wrap td small { display: block; }
.data-table-wrap td small, .admin-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.table-link { color: var(--teal); text-decoration: none; font-weight: 700; }
.copy-button { margin-left: 8px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: white; font-size: 10px; }
.admin-chip { color: var(--teal-dark); background: var(--teal-soft); }
.profile-ready { color: var(--teal); font-size: 10px; font-weight: 700; }
.admin-list { display: grid; gap: 8px; }
.admin-row { display: flex; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--line); background: #fbfdfc; }
.admin-row strong, .admin-row small { display: block; }
.audit-panel { margin-top: 16px; }
.audit-list { display: grid; gap: 0; }
.audit-row { display: grid; grid-template-columns: 120px 1fr 130px; gap: 14px; padding: 11px 0; border-bottom: 1px solid #edf2f1; color: var(--muted); font-size: 11px; }
.audit-row strong { color: var(--ink); }
.compact-empty { min-height: 220px; }
@media (max-width: 900px) { .integration-shell { padding: 22px 16px 45px; }.integration-grid, .integration-status { grid-template-columns: 1fr; }.integration-hero { align-items: flex-start; flex-direction: column; }.admin-actions { flex-wrap: wrap; justify-content: flex-end; }.tenant-selector select { width: 140px; } }
@media (max-width: 560px) { .integration-panel { padding: 17px 14px; }.panel-heading { flex-direction: column; }.unified-entry { align-items: stretch; flex-direction: column; }.unified-entry > div { justify-content: flex-end; }.staff-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }.audit-row { grid-template-columns: 1fr; gap: 4px; }.endpoint-card { grid-template-columns: 1fr; gap: 4px; }.tenant-selector { width: 100%; }.tenant-selector select { flex: 1; } }

/* Formal work-order console. Scoped to the ticket centre so the customer H5 and WeCom setup remain unchanged. */
.ticket-admin-header { position: sticky; top: 0; z-index: 30; display: block; padding: 0; border-bottom-color: #d6e0de; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); }
.admin-header-inner { display: flex; align-items: center; gap: 34px; max-width: 1540px; min-height: 72px; margin: 0 auto; padding: 0 38px; }
.admin-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.admin-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: white; background: var(--teal-dark); font-size: 17px; font-weight: 800; }
.admin-brand-copy { display: grid; gap: 4px; }
.admin-brand-copy strong { font-size: 16px; letter-spacing: .2px; }
.admin-brand-copy small { color: var(--muted); font-size: 11px; }
.admin-nav { display: flex; align-self: stretch; gap: 25px; margin-left: 18px; }
.admin-nav-link { position: relative; display: inline-flex; align-items: center; color: #687979; font-size: 13px; font-weight: 700; text-decoration: none; }
.admin-nav-link.active { color: var(--teal-dark); }
.admin-nav-link.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--teal); }
.admin-header-inner .admin-actions { margin-left: auto; gap: 16px; }
.header-text-link { color: var(--muted); font-size: 12px; font-weight: 650; text-decoration: none; }
.header-text-link:hover { color: var(--teal); }
.header-logout { padding: 7px 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
.header-logout:hover { color: var(--rose); }
.admin-header-inner .icon-button { width: 32px; height: 32px; border-color: #cbd8d5; font-size: 18px; }
.admin-main { max-width: 1540px; margin: 0 auto; padding: 0 38px 40px; }
.page-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 28px 0 22px; }
.breadcrumb { margin: 0 0 11px; color: var(--muted); font-size: 11px; }
.breadcrumb span { padding: 0 7px; color: #a7b4b2; }
.page-heading h1 { margin: 0; font-size: 27px; letter-spacing: 0; }
.page-heading > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.page-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.page-actions .tenant-selector { margin-right: 8px; }
.page-actions .toolbar-button { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; color: #356562; background: white; font-size: 11px; }
.page-actions .secondary-action { color: var(--muted); background: #f8faf9; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 8px 22px rgba(16, 42, 43, .035); }
.metric-card { min-height: 105px; padding: 17px 22px 15px; border: 0; border-right: 1px solid var(--line); background: transparent; }
.metric-card:last-child { border-right: 0; }
.metric-accent, .metric-warning { border-top: 0; }
.metric-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.metric-label i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #9ab5b0; }
.metric-accent .metric-label i { background: var(--teal); }.metric-warning .metric-label i { background: var(--rose); }
.metric-card strong { margin: 9px 0 4px; font-size: 27px; font-weight: 750; }
.metric-card small { color: #859392; font-size: 11px; }
.metric-warning strong { color: var(--rose); }
.workspace { display: grid; grid-template-columns: minmax(350px, 430px) minmax(0, 1fr); height: max(520px, calc(100vh - 378px)); max-width: none; min-height: 520px; margin: 0; padding: 0; gap: 18px; }
.queue-panel, .detail-panel { min-width: 0; height: 100%; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 7px 22px rgba(16, 42, 43, .035); }
.queue-panel { min-height: 0; }
.queue-toolbar { padding: 19px 20px 14px; }
.queue-toolbar .eyebrow { margin-bottom: 7px; font-size: 10px; letter-spacing: 1.1px; }
.queue-toolbar h2 { font-size: 18px; }
.queue-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.queue-total { padding: 4px 8px; border-radius: 4px; color: #5e7270; background: #f1f6f4; font-size: 11px; }
.reset-filters { padding: 4px 0; border: 0; color: var(--teal); background: transparent; font-size: 10px; font-weight: 700; }
.reset-filters[hidden] { display: none; }
.search-box { margin: 0 18px 12px; border-color: #cfdcda; background: #fbfdfc; }
.search-box:focus-within { border-color: #80ada6; box-shadow: 0 0 0 3px rgba(15, 118, 110, .08); }
.search-box input { height: 36px; color: var(--ink); }
.advanced-filters { gap: 7px; padding: 0 18px 13px; }
.advanced-filters select { border-color: #d5dfdd; color: #526866; background: #fff; }
.overdue-toggle { font-size: 11px; }
.queue-tabs { padding: 0 18px; }
.queue-tab { display: inline-flex; align-items: center; gap: 5px; margin-right: 17px; padding-bottom: 12px; font-size: 11px; }
.queue-tab b { min-width: 17px; padding: 2px 5px; border-radius: 8px; color: #7c8d8b; background: #eef3f2; font-size: 9px; font-weight: 700; text-align: center; }
.queue-tab.active b { color: var(--teal-dark); background: var(--teal-soft); }
.bulk-bar { border-color: #c6dfd9; background: #edf8f5; }
.queue-row { grid-template-columns: 34px 1fr; }
.queue-row:hover, .queue-row.selected { background: #f5faf9; }
.queue-item { padding: 15px 18px 15px 0; }
.queue-item strong { margin-top: 9px; color: #1c4443; font-size: 12px; }
.queue-item p { margin: 6px 0 11px; line-height: 1.45; }
.queue-item-foot { color: #758584; }
.detail-panel { min-height: 0; }
.empty-detail { min-height: 0; }
.empty-icon { width: 42px; height: 42px; color: #4c8a83; background: #edf7f4; }
.detail-heading { position: sticky; top: 0; z-index: 3; padding: 22px 28px 20px; background: rgba(252, 254, 253, .98); backdrop-filter: blur(8px); }
.detail-heading > div:first-child { flex: 1; min-width: 0; }
.detail-kicker { margin: 0 0 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.detail-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.detail-heading h2 { margin: 0; font-size: 20px; letter-spacing: .2px; }
.detail-heading p:last-child { margin-top: 9px; color: var(--muted); font-size: 11px; }
.detail-back { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: var(--teal); background: #fff; }
.detail-back span { font-size: 18px; }
.detail-back b { display: none; font-size: 12px; }
.transfer-ticket-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 5px; height: 34px; margin-left: auto; padding: 0 10px; border: 1px solid #b9d2cd; border-radius: 6px; color: var(--teal-dark); background: #eef8f6; font-size: 11px; font-weight: 750; }
.transfer-ticket-button span { font-size: 15px; }
.transfer-ticket-button:disabled { color: #94a19f; border-color: var(--line); background: #f4f6f5; cursor: not-allowed; }
.detail-sections { padding: 0 28px 35px; }
.detail-section { padding: 22px 0; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.section-label { margin-bottom: 12px; color: #637574; font-size: 11px; letter-spacing: .5px; }
.content-meta { flex-wrap: wrap; justify-content: flex-end; }
.feedback-copy { margin-top: 11px; color: #2f4b4b; font-size: 14px; line-height: 1.85; }
.info-grid { gap: 17px 24px; }
.info-grid span { margin-bottom: 5px; color: #82908f; font-size: 11px; }
.info-grid strong { color: #294544; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.action-section { padding-bottom: 25px; }
.control-row { gap: 13px; }
.control-row label, .reply-label { color: #637574; font-size: 11px; font-weight: 650; }
.control-row select, .control-row input { border-color: #d2dfdc; background: #fbfdfc; }
.control-row input[readonly] { color: #526361; background: #f1f4f3; cursor: default; }
.reply-label { display: block; margin-top: 18px; }
.reply-box { min-height: 92px; margin-top: 8px; border-color: #d2dfdc; background: #fbfdfc; resize: vertical; }
.reply-box:focus { border-color: #80ada6; box-shadow: 0 0 0 3px rgba(15, 118, 110, .08); }
.detail-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; }
.detail-save-bar > span { color: #8a9897; font-size: 10px; }
.primary-button.compact { min-width: 148px; height: 38px; margin-top: 0; }
.timeline-item { padding-bottom: 17px; }
.timeline-item strong { color: #315251; font-size: 12px; }
.timeline-item p { white-space: pre-wrap; }
.timeline-empty { margin: 0; color: var(--muted); font-size: 12px; }
.queue-pagination { min-height: 50px; }
.transfer-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; overflow: hidden; border: 0; border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 28px 80px rgba(12, 32, 32, .24); }
.transfer-dialog::backdrop { background: rgba(15, 31, 31, .48); backdrop-filter: blur(2px); }
.transfer-form { display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.transfer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 25px 20px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.transfer-heading p { margin: 0 0 7px; color: var(--teal); font-size: 10px; font-weight: 800; }
.transfer-heading h2 { margin: 0; font-size: 21px; }
.transfer-heading span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.transfer-body { display: grid; gap: 18px; padding: 22px 25px; overflow-y: auto; }
.transfer-body label { display: block; color: #4f6260; font-size: 12px; font-weight: 700; }
.transfer-body label > b { color: var(--rose); }
.transfer-body select, .transfer-body textarea { display: block; width: 100%; margin-top: 8px; border-color: #ccd9d7; background: #fff; }
.transfer-body textarea { min-height: 104px; resize: vertical; }
.transfer-body label > small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 500; text-align: right; }
.transfer-summary { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px 14px; padding: 13px 15px; border-left: 3px solid #8bb8b1; background: #f4f8f7; }
.transfer-summary span { color: var(--muted); font-size: 10px; }
.transfer-summary strong { font-size: 11px; font-weight: 700; }
.transfer-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 25px; border-top: 1px solid var(--line); background: #fbfdfc; }
.transfer-actions .toolbar-button { min-width: 74px; }
.transfer-actions .primary-button { width: auto; min-width: 126px; }
@media (max-width: 1040px) {
  .admin-header-inner, .admin-main { padding-right: 22px; padding-left: 22px; }
  .admin-nav { margin-left: 5px; }
  .workspace { grid-template-columns: minmax(315px, 390px) minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .ticket-admin-header { position: sticky; }
  .admin-header-inner { flex-wrap: wrap; min-height: 58px; gap: 0; padding-top: 8px; padding-bottom: 8px; }
  .admin-brand { margin-right: auto; }
  .admin-brand-copy strong { font-size: 14px; }
  .admin-brand-copy small, .header-text-link { display: none; }
  .admin-nav { order: 3; align-self: auto; width: 100%; height: 38px; gap: 0; margin: 8px 0 -8px; border-top: 1px solid #edf2f1; }
  .admin-nav-link { flex: 1; justify-content: center; }
  .admin-header-inner .admin-actions { margin-left: 12px; gap: 9px; }
  .page-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; padding: 17px 0 14px; }
  .breadcrumb { display: none; }
  .page-actions { width: 100%; justify-content: flex-start; }
  .page-actions .tenant-selector { flex: 1 1 100%; margin: 0 0 1px; }
  .page-actions .tenant-selector select { flex: 1; max-width: 260px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 82px; padding: 12px 15px; }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workspace { display: block; height: auto; min-height: 0; }
  .queue-panel { height: auto; min-height: calc(100vh - 176px); overflow: hidden; border-radius: 7px; }
  .detail-panel { display: none; height: auto; min-height: calc(100vh - 74px); margin-top: 0; overflow: visible; border-radius: 0; scroll-margin-top: 60px; box-shadow: none; }
  .workspace.mobile-detail-open .queue-panel { display: none; }
  .workspace.mobile-detail-open .detail-panel { display: block; }
  .mobile-detail-mode .page-toolbar, .mobile-detail-mode .metrics { display: none; }
  .mobile-detail-mode .admin-nav { display: none; }
  .mobile-detail-mode .admin-main { padding-right: 0; padding-left: 0; }
  .mobile-detail-mode .workspace { margin: 0; }
  .detail-scroll { height: auto; overflow: visible; }
  .detail-heading { position: sticky; top: 0; padding-top: 17px; padding-bottom: 15px; }
  .mobile-detail-mode .detail-heading { top: 58px; }
  .detail-heading { gap: 8px; }
  .detail-heading h2 { font-size: 16px; }
  .detail-back { width: auto; min-width: 82px; height: 38px; gap: 6px; padding: 0 11px; }
  .detail-back b { display: inline; }
  .transfer-ticket-button { height: 38px; padding: 0 9px; }
  .detail-sections { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .empty-detail { min-height: 420px; }
}
@media (max-width: 500px) {
  .access-shell { padding: 16px; }
  .access-card { padding: 36px 25px 28px; }
  .access-actions { grid-template-columns: 1fr; }
  .admin-header-inner, .admin-main { padding-right: 12px; padding-left: 12px; }
  .admin-logo { width: 34px; height: 34px; font-size: 15px; }
  .admin-brand-copy strong { font-size: 13px; }
  .admin-nav { gap: 0; }
  .admin-nav-link { font-size: 12px; }
  .header-logout { font-size: 11px; }
  .page-heading h1 { font-size: 21px; }
  .page-heading > p:last-child { margin-top: 5px; font-size: 11px; }
  .page-actions { gap: 7px; }
  .page-actions .toolbar-button { flex: 1; justify-content: center; padding: 0 7px; }
  .desktop-action { display: none !important; }
  .metrics { margin-bottom: 10px; }
  .metric-card { padding: 11px 12px; }
  .metric-card strong { margin: 6px 0 2px; font-size: 21px; }
  .metric-card small { font-size: 10px; }
  .queue-toolbar { padding: 15px 14px 11px; }
  .queue-toolbar h2 { font-size: 17px; }
  .search-box { margin-right: 14px; margin-left: 14px; }
  .advanced-filters, .queue-tabs { padding-right: 14px; padding-left: 14px; }
  .advanced-filters { grid-template-columns: 1fr 1fr; }
  .overdue-toggle { grid-column: 1 / -1; }
  .queue-tabs { scrollbar-width: none; }
  .queue-tabs::-webkit-scrollbar { display: none; }
  .queue-row { grid-template-columns: 32px 1fr; }
  .queue-item { min-height: 116px; padding: 15px 14px 15px 0; }
  .queue-item p { display: -webkit-box; overflow: hidden; margin-top: 8px; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .queue-item-foot { margin-top: 12px; }
  .detail-heading { padding-right: 18px; padding-left: 18px; }
  .detail-sections { padding-right: 18px; padding-left: 18px; }
  .section-heading { display: block; }
  .section-heading .content-meta { justify-content: flex-start; margin-top: -4px; }
  .detail-save-bar { align-items: stretch; flex-direction: column; gap: 9px; }
  .detail-save-bar .primary-button { width: 100%; }
  .action-section { padding-bottom: 8px; }
  .detail-save-bar { position: sticky; bottom: 0; z-index: 4; margin: 16px -18px 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(16, 42, 43, .07); backdrop-filter: blur(8px); }
  .detail-save-bar > span { display: none; }
  .reply-box { min-height: 118px; }
  .transfer-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .transfer-form { max-height: calc(100vh - 20px); }
  .transfer-heading { padding: 19px 18px 17px; }
  .transfer-body { padding: 18px; }
  .transfer-actions { padding: 13px 18px calc(13px + env(safe-area-inset-bottom)); }
}
