@font-face { font-family: Jost; src: url("/assets/Jost-400-cca183354fd3.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Jost; src: url("/assets/Jost-500-4b13c75f243c.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Jost; src: url("/assets/Jost-600-ff0c8aead166.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Jost; src: url("/assets/Jost-700-1c2f9615a126.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --page: #f4f1ec;
  --surface: #fff;
  --ink: #141713;
  --muted: #646960;
  --border: #dcded4;
  --primary: #1db954;
  --primary-ink: #0b2415;
  --selection: #edf2e7;
  --focus: var(--ink);
  --line: var(--border);
  font-family: Jost, system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; margin: 0; color: var(--ink); background: var(--page); }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
button:focus-visible, input:focus, textarea:focus, select:focus, a:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 4px;
}
h1, h2, h3, p, dl, dd { margin: 0; }
svg { display: block; flex: none; width: 20px; height: 20px; }
.sr-only, .notice:empty {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 10px 16px; background: #fff; color: var(--ink); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 32px 18px 26px; color: var(--ink); background: var(--surface); border-inline-end: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: min(135px, 100%); height: auto; }
.brand-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.side-section { margin-top: 58px; }
.side-section p { margin: 0 0 10px 10px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .12em; }
.current-page { display: flex; align-items: center; gap: 9px; padding: 12px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--page); color: var(--ink); font-size: .84rem; font-weight: 500; }
.current-page svg { width: 18px; height: 18px; }
.side-foot { display: flex; align-items: center; gap: 8px; margin-left: 10px; color: var(--muted); font-size: .76rem; }
.side-foot > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.workspace { width: 100%; max-width: 1530px; min-width: 0; padding: 30px clamp(20px, 3.25vw, 52px) 48px; margin-inline: auto; }
.session-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 15px; padding: 7px 9px 7px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.session-info { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; min-width: 0; overflow-wrap: anywhere; }
.session-info strong { font-size: .9rem; font-weight: 600; }
.session-role { padding: 3px 7px; border: 1px solid var(--border); border-radius: 999px; background: var(--selection); font-size: .75rem; }
.session-bar .button { flex: 0 0 auto; min-height: 44px; }
.session-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.session-actions a { text-decoration: none; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.eyebrow { color: #44614e; font-size: .7rem; font-weight: 750; letter-spacing: .12em; }
.page-head h1 { margin: 3px 0 4px; font-size: 40px; font-weight: 500; line-height: 1.35; }
.page-date { color: var(--muted); font-size: .9rem; }
.page-date::first-letter { text-transform: uppercase; }
.sandbox { text-align: right; padding-bottom: 2px; }
.sandbox-label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #d6e3d5; border-radius: 999px; background: #edf4eb; color: #345643; font-size: .77rem; font-weight: 700; white-space: nowrap; }
.sandbox-label svg { width: 17px; height: 17px; }
.sandbox-note { margin-top: 6px; font-size: .73rem; color: var(--muted); }
#queue-mode-note { overflow-wrap: anywhere; }
.layout { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); gap: 18px; align-items: start; }
.inbox, .detail { min-width: 0; overflow: clip; border: 1px solid var(--border); border-radius: 17px; background: var(--surface); }
.queue-head { padding: 19px 17px 15px; border-bottom: 1px solid var(--line); }
.queue-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 12px; }
.queue-title h2 { font-size: 1rem; letter-spacing: -.015em; }
.queue-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; }
.result-count { color: var(--muted); font-size: .76rem; }
.search { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--muted); }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.search input { width: 100%; min-width: 0; padding: 9px 0; border: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.5; }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--muted); }
.search svg { width: 18px; height: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.filter { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 6px 10px; border: 1px solid #b9c6b6; border-radius: 26px; background: var(--surface); font-size: .79rem; font-weight: 500; white-space: nowrap; }
.filter:hover { background: var(--page); }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--selection); color: var(--ink); }
.filter span { color: var(--muted); font-size: .69rem; font-variant-numeric: tabular-nums; }
.queue { display: grid; gap: 3px; margin: 0; padding: 8px; list-style: none; }
.queue:empty { display: none; }
.queue-state { padding: 22px 17px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.queue-state:empty { display: none; }
.queue-state .button { margin-top: 10px; }
.row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; align-items: center; gap: 8px;
  width: 100%; padding: 10px 9px; border: 1px solid transparent; border-radius: 10px; background: #fff; text-align: left;
}
.row:hover { background: #f6f9f4; }
.row[aria-current="true"] { border-color: #c9ddcd; background: var(--selection); }
.row.unread { background: var(--ink); color: var(--page); }
.row.unread:hover { background: #262e26; }
.row.unread[aria-current="true"] { border-color: #afc5ad; box-shadow: inset 0 0 0 1px #afc5ad; }
.row.unread .avatar { background: var(--page); color: var(--ink); }
.row.unread .row-meta, .row.unread .row-arrow, .row.unread .property-task-due { color: #ceddcf; }
.row.unread .flag, .row.unread .property-task-due.overdue { color: #ffceab; }
.row.unread .partnership-pending .flag { color: #873722; }
.avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #e8eee4; color: #3e5f49; font-size: .76rem; font-weight: 750; }
.avatar.large { width: 48px; height: 48px; font-size: .96rem; }
.row-info { display: grid; gap: 3px; min-width: 0; }
.row-top, .row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 7px; min-width: 0; }
.row-name { overflow-wrap: anywhere; font-size: .89rem; font-weight: 730; }
.row-meta { color: var(--muted); font-size: .72rem; }
.row-next { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .79rem; }
.row-arrow { width: 14px; height: 14px; color: #587260; }
.chip { display: inline-flex; width: max-content; align-items: center; padding: 3px 6px; border-radius: 5px; background: #eef2eb; color: #3d5646; font-size: .67rem; font-weight: 700; line-height: 1.22; }
.chip.reply { background: #dff0e0; color: #235437; }
.chip.scheduled { background: #e9eff7; color: #345371; }
.chip.paused { background: #f0edf1; color: #5a4c61; }
.chip.verify { background: #f5eddb; color: #675016; }
.chip.identity-conflict { border: 1px solid #d9c8a0; background: #fffaf0; color: #5c481e; }
.chip.new-contact { background: #c7e7c9; color: #163820; }
.flag { display: inline-flex; align-items: center; gap: 4px; color: #7a4a25; font-size: .71rem; font-weight: 750; }
.flag svg { width: 13px; height: 13px; }
.flag.overdue { color: #873722; }
.detail { scroll-margin: 12px; }
.detail-content { min-height: 278px; }
.detail-head { padding: 20px 20px 17px; border-bottom: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: 11px; }
.identity-body { min-width: 0; }
.identity h2 { margin-bottom: 4px; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.14; letter-spacing: -.025em; overflow-wrap: anywhere; }
.detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; color: var(--muted); font-size: .75rem; }
.detail-meta .chip { font-size: .71rem; }
.actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.35; text-align: center; transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s; }
.button.primary { border-color: var(--primary); background: var(--primary); color: var(--primary-ink); }
.button.secondary { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.button.secondary:hover, .button.secondary:active { background: var(--page); }
.button.danger { border-color: #873722; background: #873722; color: #fff; }
.button.danger:hover { background: #6c2b1c; }
.button.delete-contact { border-color: #c79d92; background: var(--surface); color: #873722; }
.button.delete-contact:hover { background: #f8ece8; }
.button.trash-toggle[aria-pressed="true"] { background: var(--ink); color: var(--page); }
.button.small { gap: 6px; min-height: 44px; padding: 6px 12px; font-size: 14px; }
.button:disabled { pointer-events: none; box-shadow: none; }
.button svg { width: 16px; height: 16px; }
.detail-body { display: grid; gap: 19px; padding: 17px 20px 21px; }
.detail h3 { font-size: .91rem; font-weight: 750; }
.identity-review { display: grid; gap: 6px; padding: 12px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--selection); }
.identity-review.has-conflicts { border-color: #d9c8a0; background: #f8f1e2; color: #5c481e; }
.identity-review p, .identity-conflicts { font-size: .85rem; }
.identity-conflicts { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.identity-review .button { justify-self: start; max-width: 100%; }
#identity-phone-target { font-weight: 600; overflow-wrap: anywhere; }
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: center; padding: 12px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--selection); }
.next h3 { color: #3d6049; font-size: .74rem; }
.next-action { grid-column: 1; color: var(--ink); font-size: .92rem; font-weight: 650; overflow-wrap: anywhere; }
.next .button { grid-column: 2; grid-row: 1 / 3; }
.next-time { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; color: var(--muted); font-size: .75rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.detail-grid dt { margin-bottom: 3px; color: var(--muted); font-size: .74rem; }
.detail-grid dd { font-size: .82rem; font-weight: 650; overflow-wrap: anywhere; }
.interests { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; padding: 0; list-style: none; }
.interests li { padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; color: #405b49; font-size: .77rem; font-weight: 650; overflow-wrap: anywhere; }
.property-task-due { color: #415a45; font-size: .76rem; line-height: 1.35; overflow-wrap: anywhere; }
.property-task-due.overdue { color: #873722; }
.partnership-pending { display: grid; gap: 2px; min-width: 0; padding: 6px 8px; border: 1px solid #d9c8a0; border-radius: 7px; background: #f8f1e2; color: #5c481e; font-size: .76rem; line-height: 1.35; overflow-wrap: anywhere; }
.queue-partnerships, .queue-partnership { display: grid; gap: 7px; min-width: 0; }
.queue-partnership { padding: 9px 10px; border: 1px solid var(--border); border-radius: 10px; }
.queue-partnership-header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.queue-partnership h4, .queue-partnership h5 { margin: 0; font-size: .88rem; font-weight: 600; }
.queue-partnership a { text-decoration: none; }
.queue-partnership-opportunities { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.queue-partnership-opportunity { display: grid; gap: 2px; min-width: 0; padding: 6px 8px; border-radius: 7px; background: var(--selection); }
.queue-partnership p { font-size: .8rem; overflow-wrap: anywhere; }
.opportunity-section > h3 { margin-bottom: 7px; }
.opportunity-list { display: grid; gap: 9px; }
.opportunity-card { min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 12px; overflow-wrap: anywhere; }
.opportunity-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 6px 9px; }
.opportunity-card h4 { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 600; }
.opportunity-facts { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 5px; }
.opportunity-facts dt, .opportunity-facts dd { display: inline; font-size: .81rem; }
.opportunity-facts dt { color: var(--muted); }
.opportunity-facts dd { margin-left: 4px; font-weight: 600; }
.opportunity-note { margin-top: 6px; font-size: .84rem; line-height: 1.4; white-space: pre-wrap; }
.opportunity-presented { margin-top: 5px; font-size: .8rem; color: var(--muted); }
.opportunity-task { display: grid; gap: 4px; margin-top: 9px; padding: 9px; border-radius: 8px; background: var(--selection); }
.opportunity-task-label { color: var(--muted); font-size: .76rem; }
.opportunity-task-title { font-size: .86rem; font-weight: 600; }
.opportunity-task-state { display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: baseline; color: var(--muted); font-size: .78rem; }
.opportunity-task-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.manual-visits ol { padding-left: 20px; margin: 6px 0 0; }
.manual-visits summary { color: var(--muted); cursor: pointer; font-size: .78rem; }
.opportunity-evidence { display: grid; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: #f8faf6; }
.opportunity-evidence h5 { margin: 0; font-size: .86rem; font-weight: 650; }
.opportunity-evidence p, .opportunity-evidence li { font-size: .81rem; overflow-wrap: anywhere; }
.evidence-form fieldset { display: grid; gap: 6px; min-width: 0; padding: 7px; margin: 0; border: 1px solid var(--border); border-radius: 8px; }
.evidence-form legend { font-size: .82rem; font-weight: 550; }
.evidence-fields { display: flex; flex-wrap: wrap; gap: 6px; }
.evidence-fields label { display: grid; flex: 1 1 130px; gap: 3px; min-width: 0; color: var(--muted); font-size: .78rem; }
.evidence-fields input, .evidence-fields select { width: 100%; min-width: 0; min-height: 44px; padding: 5px 6px; border: 1px solid #b9c6b6; border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 16px; }
.evidence-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.evidence-feedback:empty { display: none; }
.evidence-measurement { color: #495c4b; }
.evidence-measurement:empty { display: none; }
.evidence-outside { color: #675016; font-weight: 600; }
.evidence-visits, .evidence-history ol { display: grid; gap: 6px; margin: 0; padding-inline-start: 1.2em; }
.evidence-history { display: grid; gap: 5px; }
.evidence-history button { margin-top: 4px; }
.opportunity-past-tasks { margin-top: 9px; padding: 8px 0 0; border-top: 1px solid var(--border); }
.opportunity-past-tasks ol { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.opportunity-past-tasks li { display: grid; gap: 2px; }
.opportunity-past-tasks summary { width: fit-content; margin-top: 4px; padding: 7px 2px; color: var(--muted); font-size: .8rem; cursor: pointer; }
.opportunity-task-result { font-size: .84rem; line-height: 1.4; white-space: pre-wrap; }
.opportunity-empty { font-size: .83rem; }
.advance-contact { display: flex; justify-content: flex-end; }
dialog .check-label { display: flex; align-items: center; gap: 9px; min-height: 44px; }
dialog .check-label input { flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--primary); }
.check-label[hidden] { display: none; }
#opportunity-complete-next-fields[hidden], #opportunity-task-name-label[hidden] { display: none; }
@media (max-width: 480px) { #opportunity-complete-next-fields { grid-template-columns: 1fr; } }
.timeline { display: grid; gap: 0; margin: 10px 0 0 4px; padding: 0 0 0 13px; border-left: 1px solid #d8e4d8; list-style: none; }
.timeline li { position: relative; display: grid; gap: 3px; min-width: 0; padding: 1px 0 11px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: -17px; width: 7px; height: 7px; border: 1px solid #79aa85; border-radius: 50%; background: #fff; }
.timeline li.action-entry::before { background: #80b78c; }
.timeline-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; color: var(--muted); font-size: .73rem; }
.timeline-head strong { color: #345240; font-size: .78rem; }
.timeline-text { overflow-wrap: anywhere; color: var(--ink); font-size: .81rem; line-height: 1.44; white-space: pre-wrap; }
.empty-detail { padding: 36px 20px; text-align: center; color: var(--muted); font-size: .9rem; }
.back { display: none; }
.notice:not(:empty) {
  position: fixed; z-index: 4; right: 20px; bottom: 20px; max-width: min(470px, calc(100% - 40px));
  padding: 16px; border-left: 3px solid var(--primary); border-radius: 12px; background: #eef3e9;
  color: var(--ink); box-shadow: 0 8px 26px #122a1824; font-size: 13px; line-height: 1.5;
}
.notice.error:not(:empty) { border-color: #a15b47; background: #f8ece8; color: #813b2e; }
html:has(dialog[open]) { overflow-y: hidden; scrollbar-gutter: stable; }
body:has(dialog[open]) { overflow: hidden; }
dialog { width: min(92vw, 520px); max-width: 100%; max-height: calc(100dvh - 24px); overflow: auto; padding: clamp(16px, 4vw, 26px); border: 1px solid var(--border); border-radius: 18px; background: var(--page); color: var(--ink); box-shadow: 0 16px 65px #14171342; }
dialog::backdrop { background: #172b20a3; }
dialog form { display: grid; gap: 13px; }
#intake-contact-fields, #manual-visit-outcome-fields { display: grid; gap: 8px; }
#intake-contact-fields[hidden], #manual-visit-outcome-fields[hidden], #manual-visit-due-field[hidden] { display: none; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.dialog-head h2 { margin-top: 3px; font-size: 1.27rem; }
.icon-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); }
dialog label { display: block; font-size: 14px; font-weight: 500; }
dialog input, dialog select, dialog textarea { display: block; width: 100%; min-width: 0; min-height: 56px; margin-top: 8px; padding: 10px 12px; border: 1px solid #b9c6b6; border-radius: 14px; background: var(--surface); font-size: 16px; font-weight: 400; line-height: 1.5; }
dialog :user-invalid, dialog [aria-invalid="true"] { border-color: #a4382b; box-shadow: inset 0 0 0 1px #a4382b; }
dialog textarea { resize: vertical; }
.dialog-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.form-error { color: #873722; font-size: .81rem; line-height: 1.4; overflow-wrap: anywhere; }
.form-error:empty { display: none; }
.login-page { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100dvh; place-items: center; padding: 18px; }
.login-card { display: grid; gap: 21px; width: min(100%, 444px); padding: clamp(20px, 6vw, 34px); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.login-heading { display: grid; gap: 3px; }
.login-heading h1 { font-size: clamp(1.65rem, 7vw, 2rem); font-weight: 500; line-height: 1.25; }
.login-heading p:not(.eyebrow), .login-foot { color: var(--muted); font-size: .86rem; }
.login-card form { display: grid; gap: 7px; }
.login-card label { margin-top: 3px; font-weight: 500; }
.login-card input { min-width: 0; width: 100%; min-height: 56px; padding: 10px 12px; border: 1px solid #b9c6b6; border-radius: 14px; background: var(--surface); line-height: 1.5; }
.login-card input[aria-invalid="true"] { border-color: #a4382b; }
.login-card .button { justify-self: stretch; }
.login-error { margin-block: 3px; color: #873722; font-size: .86rem; overflow-wrap: anywhere; }
.login-error:empty { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.muted { color: var(--muted); }
@media (max-width: 1160px) and (min-width: 761px) {
  body { grid-template-columns: 178px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .workspace { padding-inline: 18px; }
  .layout { gap: 12px; }
}
@media (max-width: 960px) and (min-width: 761px) {
  body { grid-template-columns: 100px minmax(0, 1fr); }
  .sidebar { align-items: center; padding: 18px 6px; }
  .brand { padding: 0; justify-content: center; }
  .brand-label, .side-section, .side-foot { display: none; }
  .page-head h1 { font-size: 32px; }
}
@media (max-width: 760px) {
  body { display: block; min-height: 100dvh; }
  .sidebar { position: static; height: auto; padding: 15px 18px; border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .brand { padding: 0; }
  .brand-logo { width: 112px; }
  .side-section, .side-foot { display: none; }
  .workspace { padding: 16px 11px 35px; }
  .page-head { align-items: start; margin-bottom: 13px; }
  .page-head h1 { font-size: clamp(30px, 8.8889vw, 38px); line-height: 1.22; }
  .sandbox { max-width: 41%; }
  .sandbox-note { font-size: .66rem; }
  .layout { display: block; }
  .layout:not(.show-detail) .detail, .layout.show-detail .inbox { display: none; }
  .inbox, .detail { border-radius: 12px; }
  .queue-head { padding: 13px 11px 10px; }
  .filter { min-height: 36px; }
  .queue { padding: 5px; }
  .row { min-height: 65px; }
  .back { display: flex; align-items: center; gap: 5px; min-height: 42px; padding: 7px 10px; border: 0; border-bottom: 1px solid var(--line); width: 100%; background: #f8faf7; color: #3d6049; font-size: .81rem; font-weight: 700; }
  .detail-head, .detail-body { padding-inline: 13px; }
  .notice:not(:empty) { right: 11px; bottom: 11px; max-width: calc(100% - 22px); }
}
@media (max-width: 360px) {
  .dialog-fields { grid-template-columns: 1fr; }
  .row { grid-template-columns: 30px minmax(0, 1fr) 12px; gap: 6px; padding-inline: 6px; }
  .row .avatar { width: 30px; height: 30px; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
