:root {
  --ink: #18201f;
  --muted: #66716f;
  --line: #dce2e0;
  --surface: #ffffff;
  --canvas: #f3f6f5;
  --charcoal: #202826;
  --red: #c6403a;
  --red-soft: #fff0ee;
  --green: #23785b;
  --green-soft: #e8f4ef;
  --amber: #9a6813;
  --amber-soft: #fff6df;
  --blue: #246486;
  --blue-soft: #eaf4f8;
  --shadow: 0 18px 48px rgba(24, 32, 31, .11);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.eyebrow { margin: 0 0 5px; color: var(--red); font-size: 11px; font-weight: 800; text-transform: uppercase; }

.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(220px, 340px) minmax(300px, 460px); grid-template-rows: auto auto; align-content: center; justify-content: center; gap: 26px 72px; padding: 48px 24px; background: var(--surface); }
.login-brand { grid-row: 1 / 3; width: 220px; aspect-ratio: 1; align-self: center; display: grid; place-items: center; background: var(--charcoal); color: white; border-radius: 8px; box-shadow: var(--shadow); }
.login-brand span { font-size: 70px; font-weight: 900; }
.login-copy { align-self: end; }
.login-copy h1 { margin: 0; font-size: 42px; line-height: 1.05; }
.login-copy h1 + p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }
.login-language { margin-top: 20px; }
.login-form { align-self: start; display: grid; gap: 14px; }
.login-form label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.login-form input { height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 13px; color: var(--ink); outline: none; }
.login-form input:focus, textarea:focus, .search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(35, 120, 91, .12); }
.form-error { margin: 0; color: var(--red); font-size: 13px; }

.portal { min-height: 100vh; }
.topbar { min-height: 72px; display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 18px; padding: 10px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand, .account, .top-status { display: flex; align-items: center; }
.brand { gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--charcoal); color: white; border-radius: 5px; font-size: 13px; font-weight: 900; }
.brand div, .account div { display: grid; gap: 2px; }
.brand strong, .account strong { font-size: 14px; }
.brand small, .account small { color: var(--muted); font-size: 11px; }
.top-status { gap: 8px; padding: 8px 12px; background: var(--canvas); border-radius: 999px; font-size: 12px; }
.account { justify-content: end; gap: 10px; text-align: right; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.status-dot.good { background: var(--green); }
.status-dot.bad { background: var(--red); }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; background: var(--surface); color: var(--ink); font-size: 19px; }
.icon-button:hover { background: var(--canvas); }
.language-switch { width: max-content; display: inline-grid; grid-template-columns: repeat(2, auto); padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.language-switch button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; }
.language-switch button.active { background: var(--charcoal); color: white; box-shadow: 0 2px 8px rgba(24, 32, 31, .14); }

.summary-band { display: grid; grid-template-columns: minmax(220px, .75fr) 2.25fr; gap: 28px; align-items: end; padding: 28px max(28px, calc((100vw - 1480px) / 2)); background: var(--charcoal); color: white; }
.summary-heading h1 { margin: 0; font-size: 27px; }
.workflow-notices { grid-column: 1 / -1; min-width: 0; font-size: 14px; }
.workflow-notices summary { cursor: pointer; }
.workflow-notices ul { margin: 10px 0 0; padding-left: 22px; }
.workflow-notices li { margin: 4px 0; overflow-wrap: anywhere; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); border-left: 1px solid rgba(255,255,255,.16); }
.metric { min-width: 0; padding: 2px 24px; border-right: 1px solid rgba(255,255,255,.16); }
.metric span { display: block; color: #bfc8c5; font-size: 11px; font-weight: 700; }
.metric strong { display: block; margin-top: 6px; font-size: 24px; line-height: 1; }

.workspace { max-width: 1480px; min-height: calc(100vh - 175px); margin: 0 auto; display: grid; grid-template-columns: 330px minmax(0, 1fr); background: var(--surface); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.property-pane { min-width: 0; padding: 24px 18px; border-right: 1px solid var(--line); background: #f9fbfa; }
.section-head, .support-head, .composer-actions, .detail-title, .detail-stats { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.section-head h2, .support-head h2 { margin: 0; font-size: 17px; }
.search-box { height: 40px; margin: 18px 0 12px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; gap: 8px; padding: 0 11px; background: white; }
.search-box span { color: var(--muted); }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.property-list { display: grid; gap: 6px; }
.property-item { width: 100%; min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; text-align: left; color: var(--ink); }
.property-item:hover { background: white; border-color: var(--line); }
.property-item.active { background: white; border-color: var(--green); box-shadow: 0 5px 18px rgba(24, 32, 31, .06); }
.property-item strong, .property-item small { display: block; overflow-wrap: anywhere; }
.property-item strong { font-size: 13px; }
.property-item small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.progress-ring { width: 42px; height: 42px; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) var(--value), var(--line) 0); }
.progress-ring::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: white; }
.progress-ring b { position: absolute; font-size: 9px; }

.detail-pane { min-width: 0; padding: 26px 30px 38px; }
.property-detail { min-height: 180px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.empty-state { min-height: 150px; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--muted); }
.empty-state strong { color: var(--ink); font-size: 15px; }
.empty-state.compact { min-height: 180px; }
.detail-title { align-items: flex-start; }
.detail-title h2 { margin: 0; font-size: 25px; overflow-wrap: anywhere; }
.detail-title p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.state-chip { padding: 7px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 800; white-space: nowrap; }
.state-chip.queued { background: var(--blue-soft); color: var(--blue); }
.state-chip.waiting { background: var(--amber-soft); color: var(--amber); }
.detail-stats { margin-top: 28px; align-items: stretch; }
.large-progress { flex: 1 1 auto; min-width: 200px; }
.large-progress > div:first-child { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; font-size: 12px; }
.progress-track { height: 10px; overflow: hidden; background: var(--line); border-radius: 999px; }
.progress-track span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.photo-totals { flex: 0 0 auto; display: grid; grid-template-columns: repeat(3, 96px); border: 1px solid var(--line); border-radius: 6px; }
.photo-totals div { display: grid; align-content: center; gap: 4px; padding: 13px; border-right: 1px solid var(--line); }
.photo-totals div:last-child { border-right: 0; }
.photo-totals span { color: var(--muted); font-size: 10px; font-weight: 700; }
.photo-totals strong { font-size: 18px; }
.workflow-details { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.workflow-details p { margin: 0; }
.workflow-details p + p { margin-top: 5px; }

.upload-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.request-edits .summary-band, .request-edits .property-pane, .request-edits #propertyDetail,
.request-edits .support-section, .request-edits .top-status { display: none; }
.request-edits .workspace { display: block; max-width: 760px; }
.request-edits .upload-section { padding-top: 0; border: 0; }
.editor-home-link { display: inline-block; color: var(--green); margin-bottom: 10px; }
.awaiting-target .upload-section > :not(.upload-head):not(.editor-home-link),
.awaiting-target .no-cull-label { display: none; }
.upload-head, .selected-upload-head, .upload-progress > div:first-child, .upload-record-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.upload-head { align-items: flex-start; }
.upload-head h2 { margin: 0; font-size: 17px; }
.upload-head p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.edit-mode { min-width: 0; margin: 20px 0 12px; padding: 0; border: 0; }
.edit-mode legend { margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.edit-mode label { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
#moreEditOptions { border-top: 1px solid var(--line); }
#moreEditOptions summary { padding: 12px 4px; min-height: 44px; cursor: pointer; color: var(--green); font-size: 13px; font-weight: 700; }
#extraModeSummary:not(:empty) { display: block; padding: 5px 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 500; }
.extra-edit-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px,100%), 1fr)); gap: 0 14px; }
.edit-mode input { margin: 0; accent-color: var(--green); }
.custom-request { display: grid; gap: 8px; margin: 15px 0; }
.custom-request > label { font-size: 12px; font-weight: 700; }
.custom-request textarea { box-sizing: border-box; width: 100%; min-height: 110px; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; line-height: 1.5; }
.custom-request textarea:focus, .request-options select:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.request-options { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.request-options label { display: grid; gap: 5px; max-width: 100%; }
.request-options select { max-width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.upload-record details { margin-top: 8px; font-size: 12px; }
.upload-record summary { cursor: pointer; color: var(--green); }
.upload-record .request-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.no-cull-label { flex: 0 0 auto; padding: 7px 10px; border-radius: 5px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 800; }
.drop-zone { min-height: 118px; margin-top: 18px; display: grid; place-content: center; justify-items: center; gap: 5px; border: 1px dashed #aeb9b6; border-radius: 7px; background: #f9fbfa; color: var(--ink); outline: none; cursor: pointer; }
.drop-zone:hover, .drop-zone.dragging, .drop-zone:focus { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(35, 120, 91, .1); }
.drop-zone.disabled { opacity: .58; cursor: not-allowed; }
.drop-zone.disabled:hover { border-color: #aeb9b6; background: #f9fbfa; box-shadow: none; }
.drop-zone input { display: none; }
.drop-zone strong { font-size: 13px; }
.drop-zone small { color: var(--muted); font-size: 11px; }
.drop-icon { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--green); font-size: 22px; }
.selected-upload { margin-top: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.selected-upload-head strong { font-size: 12px; }
.text-button { border: 0; padding: 4px; background: transparent; color: var(--red); font-size: 11px; font-weight: 800; }
.draft-note:empty { display: none; }
#clearUploadButton, #toggleSelectedFiles { min-height: 44px; }
#toggleSelectedFiles { color: var(--green); }
.selected-files { max-height: min(196px, 30vh); overflow-y: auto; margin: 10px 0; border-top: 1px solid var(--line); }
.selected-file { min-height: 64px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-size: 11px; }
.selected-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file small { color: var(--muted); display: block; }
.thumb-slot { width: 64px; height: 52px; background: #f0f2f3; }
.selected-file.without-drive-thumb { grid-template-columns: minmax(0,1fr) auto; min-height: 46px; }
.without-drive-thumb > .thumb-slot, .without-drive-thumb > small { display: none; }
.photo-thumb { width: 100%; height: 100%; object-fit: contain; }
.connection-warning { padding: 12px 24px; background: #fff1d6; color: #694410; font-size: 13px; border-bottom: 1px solid #e2cda5; }
.draft-note, .partial-note { font-size: 13px; color: #805619; overflow-wrap: anywhere; }
.state-chip.partial { background: #fff1d6; color: #694410; }
.folder-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; align-items: center; }
.folder-link { font-size: 12px; font-weight: 600; color: #146553; text-decoration: underline; text-underline-offset: 3px; }
.folder-link.unavailable { color: #777f83; text-decoration: none; }
.folder-links small { flex-basis: 100%; color: var(--muted); }
.group-preview { max-height: min(350px, 42vh); overflow-y: auto; margin: 16px 0; }
.photo-set { padding: 12px 0; border-bottom: 1px solid var(--line); }
.photo-set > b { font-size: 12px; }
.set-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.set-photos figure { margin: 0; min-width: 0; }
.set-photos img { height: auto; aspect-ratio: 4/3; background: #f0f2f3; }
.set-photos figcaption { font-size: 10px; overflow-wrap: anywhere; padding-top: 4px; }
.ticket-heading { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin: 16px 0 8px; }
.ticket-heading small { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.ticket-heading strong { font-size: 12px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.ticket-history { font-size: 12px; overflow-wrap: anywhere; color: var(--muted); }
.ticket-history p { white-space: pre-wrap; }
.metric > small { display: block; font-size: 11px; color: #805619; }
@media (max-width: 480px) {
  .selected-file { grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 6px; }
  .selected-file > small { display: none; }
  .thumb-slot { width: 48px; height: 42px; }
}
.remove-file { width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 17px; }
.remove-file:hover { background: var(--red-soft); color: var(--red); }
.upload-progress { margin: 12px 0; }
.upload-progress > div:first-child { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.upload-progress .progress-track { height: 8px; }
#uploadButton { width: 100%; min-height: 44px; background: var(--green); }
#uploadButton:enabled:hover { background: #1c6149; }
#uploadButton:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#jobRequestHeading { margin: 24px 0 8px; font-size: 14px; }
.recent-uploads { display: grid; gap: 7px; }
.upload-record { padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); }
.upload-record-head strong { min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
.upload-record-head span { flex: 0 0 auto; color: var(--green); font-size: 10px; font-weight: 800; }
.upload-record p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.upload-record .progress-track { height: 6px; margin-top: 9px; }
.upload-record.needs-attention { border-color: #e4b5b1; background: var(--red-soft); }
.upload-record.needs-attention .upload-record-head span { color: var(--red); }

.support-section { padding-top: 26px; }
.support-head { align-items: flex-start; }
.support-head p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.support-tools { display: flex; align-items: flex-end; gap: 14px; }
.support-target { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.support-target select { min-width: 190px; max-width: 280px; height: 34px; padding: 0 30px 0 9px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 12px; font-weight: 700; text-transform: none; }
.support-state { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 800; }
.support-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.conversation { min-height: 260px; max-height: 460px; overflow-y: auto; margin: 22px 0; padding: 4px 3px 4px 0; display: grid; align-content: start; gap: 14px; }
.message-block { display: grid; gap: 8px; }
.message { max-width: min(78%, 720px); padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.message.editor { justify-self: end; background: var(--charcoal); border-color: var(--charcoal); color: white; }
.message.support { justify-self: start; background: white; border-left: 3px solid var(--green); }
.message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
.reply-language { display: grid; gap: 5px; }
.reply-language + .reply-language { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.reply-language > strong { color: var(--green); font-size: 10px; text-transform: uppercase; }
.message-meta { margin-top: 8px; display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; }
.message.editor .message-meta { color: #cbd2d0; }
.attachment-link { display: inline-flex; margin-top: 9px; color: inherit; font-size: 11px; font-weight: 700; }
.pending-reply { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--amber); background: var(--amber-soft); border-radius: 5px; font-size: 11px; font-weight: 700; }
.pending-reply i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: pulse 1.3s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.composer { border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; }
.composer:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(35, 120, 91, .1); }
.issue-picker { margin: 0; padding: 14px; border: 0; border-bottom: 1px solid var(--line); }
.issue-picker legend { width: 100%; padding: 0 0 10px; color: var(--ink); font-size: 12px; font-weight: 800; }
.issue-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.issue-types button { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--canvas); color: var(--ink); font-size: 11px; font-weight: 750; line-height: 1.25; text-align: left; }
.issue-types button:hover { border-color: var(--green); background: var(--green-soft); }
.issue-types button.active { border-color: var(--green); background: var(--green); color: white; box-shadow: 0 4px 12px rgba(35, 120, 91, .18); }
.composer textarea { width: 100%; min-height: 86px; max-height: 180px; resize: vertical; padding: 14px; border: 0; outline: 0; color: var(--ink); }
.composer-actions { padding: 10px 12px; background: var(--canvas); border-top: 1px solid var(--line); }
.attach-button { min-width: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 11px; cursor: pointer; }
.attach-button input { display: none; }
.attach-button span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 17px; }
.attach-button b { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send-note { flex: 1 1 auto; color: var(--muted); font-size: 10px; text-align: right; }
.primary-button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--red); color: white; font-weight: 800; font-size: 12px; }
.primary-button:hover { background: #ad332e; }
.primary-button:disabled { opacity: .55; cursor: wait; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; max-width: min(420px, calc(100vw - 32px)); display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 6px; background: var(--charcoal); color: white; box-shadow: var(--shadow); font-size: 12px; }
.toast button { margin-left: auto; border: 0; background: transparent; color: white; font-size: 18px; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto auto; height: auto; min-height: 68px; padding: 12px 18px; }
  .top-status { display: none; }
  .header-language button { padding: 0 8px; }
  .summary-band { grid-template-columns: 1fr; padding: 22px 18px; }
  .metrics { border-left: 0; grid-template-columns: repeat(4, 1fr); }
  .metric { padding: 3px 14px; }
  .workspace { grid-template-columns: 270px minmax(0, 1fr); border: 0; }
  .detail-pane { padding: 22px 20px 32px; }
  .detail-stats { display: grid; }
  .photo-totals { grid-template-columns: repeat(3, 1fr); }
  .upload-head { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .login-screen { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 34px 24px; }
  .login-brand { width: 76px; height: 76px; aspect-ratio: 1; }
  .login-brand span { font-size: 24px; }
  .login-copy h1 { font-size: 34px; }
  .brand small, .account small { display: none; }
  .account div { display: none; }
  .topbar { grid-template-columns: 1fr auto auto; gap: 8px; }
  .header-language button { min-height: 30px; padding: 0 7px; font-size: 10px; }
  .summary-heading h1 { font-size: 23px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .metric:nth-child(2) { border-right: 0; }
  .metric strong { font-size: 21px; }
  .workspace { display: block; }
  .property-pane { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .property-list { display: flex; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .property-item { flex: 0 0 230px; scroll-snap-align: start; background: white; border-color: var(--line); }
  .detail-pane { padding: 22px 18px 30px; }
  .detail-title { display: grid; }
  .state-chip { justify-self: start; }
  .photo-totals div { padding: 10px; }
  .no-cull-label { white-space: normal; }
  .drop-zone { min-height: 106px; }
  .message { max-width: 90%; }
  .support-head, .support-tools { width: 100%; flex-wrap: wrap; }
  .support-target { flex: 1 1 100%; }
  .support-target select { width: 100%; max-width: none; }
  .composer-actions { flex-wrap: wrap; }
  .issue-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .send-note { order: 3; flex-basis: 100%; text-align: left; }
  .primary-button { margin-left: auto; }
}

.workspace-entry { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.workspace-entry > div { max-width: 400px; }
.workspace-entry h1 { margin-bottom: 8px; }
.workspace-entry p, .legacy-draft { color: var(--muted); }
.workspace-entry a, .legacy-draft a { color: var(--green); font-weight: 650; }
.workspace-entry button { margin-left: 12px; }
.legacy-draft { background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 20px; font-size: 13px; }
.legacy-draft a { margin-left: 8px; }
.brand { color: var(--ink); text-decoration: none; }
.topbar:not(.team-header) { grid-template-columns: 1fr auto auto; }
.summary-status { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8px; font-size: 11px; color: #cbd5d2; }
.summary-status strong { font-weight: 600; }
.summary-status span:last-child:not(:empty)::before { content: '· '; }
.editing-panels { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.editing-panels button { border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; padding: 9px 12px; font-size: 13px; font-weight: 650; }
.editing-panels button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--green); }
.editing-panels button:focus-visible { outline: 2px solid var(--green); }
#portal[data-panel="progress"] :is(.upload-section,.support-section),
#portal[data-panel="request"] :is(#propertyDetail,.support-section),
#portal[data-panel="help"] :is(#propertyDetail,.upload-section) { display: none; }
#portal[data-panel] :is(.property-detail,.upload-section) { padding-top: 0; border-bottom: 0; }
#portal[data-panel] .support-section { padding-top: 0; }
