/* NwiseIP design tokens and self-hosted UI / numeric fonts. */
.customer-share-admin > summary, .share-create > summary { cursor: pointer; color: var(--navy); font-weight: 600; padding: 12px 0; }
.share-create { margin: 20px 0; }
.share-file-picker { min-width: 0; padding: 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-input); }
.share-file-option, .share-ack { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; overflow-wrap: anywhere; }
.share-file-option input, .share-ack input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }
.share-file-option + .source-link { display: inline-block; margin: 0 0 12px 30px; }
.share-selected { padding: 12px; background: var(--slate-50); overflow-wrap: anywhere; }
.share-issued { border: 2px solid var(--navy); padding: 20px; border-radius: var(--radius-card); }
.share-issued input { width: 100%; font-family: var(--font-mono); }
.share-record { border-top: 1px solid var(--slate-200); margin-top: 20px; padding-top: 16px; overflow-wrap: anywhere; }
.share-record > button { margin: 8px 12px 8px 0; }
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/static/fonts/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/static/fonts/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/static/fonts/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #002C69;
  --red: #B72C31;
  --black: #262324;
  --white: #FFFFFF;
  --slate-50: #F8F9FC;
  --slate-100: #F1F3F7;
  --slate-200: #DDE0E8;
  --slate-300: #C2C7D2;
  --slate-600: #586073;
  --slate-800: #2C3647;
  --strong: #161415;
  --success: #2F7D5B;
  --success-bg: #E3F3EA;
  --warning: #B07A18;
  --warning-bg: #FBF0D8;
  --danger: #B72C31;
  --danger-bg: #FAE5E6;
  --info: #0C3F82;
  --info-bg: #E3ECF8;
  --font-ui: Helvetica, "KoPubWorldDotum", "KoPubWorld Dotum", Pretendard, "Malgun Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --radius-input: 4px;
  --radius-button: 6px;
  --radius-card: 10px;
  --radius-table: 2px;
  --shadow: 0 4px 16px rgba(0, 44, 105, .045);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 120ms;
  --normal: 200ms;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--black);
  background: var(--slate-50);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a, select, input { transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--normal) var(--ease); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; }
.demo-strip { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 8px 24px; background: var(--info-bg); color: var(--navy); border-bottom: 1px solid var(--slate-200); font-size: 12px; }
.demo-strip strong { font-weight: 700; }
.shell { display: flex; min-height: calc(100vh - 40px); }
.sidebar { width: 272px; flex-shrink: 0; display: flex; flex-direction: column; padding: 32px 16px; background: var(--white); border-right: 1px solid var(--slate-200); }
.brand { display: block; padding: 0 12px 16px; color: var(--navy); text-decoration: none; }
.brand-logo { display: block; width: 208px; max-width: 100%; height: auto; }
.brand small { display: block; margin-top: 12px; color: var(--slate-600); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.workspace { display: flex; gap: 12px; align-items: center; margin-top: 24px; padding: 12px; border: 1px solid var(--slate-200); border-radius: var(--radius-input); color: var(--slate-800); font-size: 12px; font-weight: 600; }
.workspace-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-input); background: var(--slate-100); color: var(--navy); font-size: 11px; }
.workspace small { display: block; margin-top: 4px; color: var(--slate-600); font-size: 11px; font-weight: 400; }
.nav-caption { margin: 28px 12px 12px; color: var(--slate-600); font-size: 12px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 4px; padding: 12px; border: 0; border-left: 3px solid transparent; border-radius: var(--radius-button); background: transparent; color: var(--slate-600); text-align: left; font-size: 14px; }
.nav-item:hover { background: var(--slate-100); color: var(--navy); }
.nav-item.selected { background: var(--info-bg); color: var(--navy); border-left-color: var(--red); font-weight: 700; }
.board-icon { font-size: 16px; }
.nav-item small { margin-left: auto; font-family: var(--font-mono); font-size: 12px; }
.side-note { margin-top: auto; padding: 56px 12px 0; color: var(--slate-600); font-size: 12px; }
.side-note small { display: block; margin-top: 12px; color: var(--slate-600); font-size: 11px; line-height: 1.9; }
.green-dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--success); }
main { flex: 1; min-width: 0; padding: 0 32px 32px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid var(--slate-200); color: var(--slate-600); font-size: 12px; }
.slash { padding: 0 12px; color: var(--slate-300); }
#breadcrumb { color: var(--slate-800); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--white); border-radius: 50%; background: var(--slate-100); color: var(--navy); font-size: 11px; font-weight: 700; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 32px 0; }
.eyebrow { color: var(--slate-600); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; }
h1 { margin: 8px 0; color: var(--navy); font-size: 32px; line-height: 1.25; letter-spacing: -1px; }
.board-head p { margin: 0; color: var(--slate-600); font-size: 14px; }
.readonly-badge { padding: 8px 12px; border: 1px solid var(--slate-200); border-radius: 999px; background: var(--white); color: var(--slate-600); font-size: 12px; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.metrics > div { position: relative; padding: 20px; border: 1px solid var(--slate-200); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow); }
.metrics span { display: block; color: var(--slate-600); font-size: 12px; line-height: 1.6; }
.metrics strong { display: block; margin: 12px 0 8px; color: var(--navy); font-family: var(--font-mono); font-size: 28px; font-weight: 600; line-height: 1.3; }
.metrics small { color: var(--slate-600); font-size: 11px; }
.metrics > div:nth-child(2) strong { color: var(--info); }
.metrics > div:nth-child(3) strong { color: var(--warning); }
.metrics > div:nth-child(4) strong { color: var(--success); }
.view-tabs { position: relative; display: flex; align-items: center; gap: 20px; min-height: 48px; border-bottom: 1.5px solid var(--navy); }
.view-tabs::after { position: absolute; bottom: -1.5px; left: 0; width: 24px; height: 3px; background: var(--red); content: ""; }
.view-tabs .active { display: flex; align-items: center; min-height: 48px; color: var(--navy); font-size: 14px; font-weight: 700; }
.view-hint { margin-left: auto; color: var(--slate-600); font-size: 12px; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 0 24px; color: var(--slate-600); font-size: 12px; }
.search { display: flex; align-items: center; gap: 8px; width: 272px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--slate-300); border-radius: var(--radius-input); background: var(--white); }
.search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 2px var(--info-bg); }
.search span { color: var(--slate-600); font-size: 20px; line-height: 16px; }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--black); font-size: 12px; }
.search input::placeholder { color: var(--slate-600); opacity: 1; }
.toolbar > label:not(.search) { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
select { min-height: 36px; padding: 8px; border: 1px solid var(--slate-300); border-radius: var(--radius-input); background: var(--white); color: var(--slate-800); font-size: 12px; }
.toolbar button { min-height: 36px; padding: 8px 12px; border: 1px solid var(--navy); border-radius: var(--radius-button); background: var(--white); color: var(--navy); font-size: 12px; }
.toolbar button:hover { background: var(--info-bg); }
#result-count { margin-left: auto; white-space: nowrap; font-size: 12px; }
.table-group { margin-bottom: 28px; }
.group-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.group-dot { width: 4px; height: 12px; background: var(--red); }
.group-heading h2 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 700; }
.group-count { margin-left: 4px; color: var(--slate-600); font-size: 12px; }
.table-scroll { overflow: auto; border: 1px solid var(--slate-200); border-radius: var(--radius-table); background: var(--white); }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { height: 40px; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.12); background: var(--navy); color: var(--white); font-size: 12px; font-weight: 500; }
th:last-child { border-right: 0; }
td { padding: 12px 16px; border-bottom: 1px solid var(--slate-200); color: var(--slate-800); font-size: 14px; line-height: 1.6; }
tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; transition: background-color var(--fast) var(--ease); }
tbody tr:nth-child(even) { background: var(--slate-50); }
tbody tr:hover, tbody tr.selected-row { background: var(--info-bg); }
tbody tr.selected-row td:first-child { box-shadow: inset 3px 0 var(--red); }
.title-cell { min-width: 288px; }
.row-title { padding: 0; border: 0; background: none; color: var(--strong); font-size: 14px; font-weight: 600; text-align: left; }
.row-title:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.record-id { display: block; margin-top: 4px; color: var(--slate-600); font-family: var(--font-mono); font-size: 11px; }
.applicant { font-size: 14px; }
.status { display: inline-block; min-width: 68px; padding: 4px 12px; border-radius: 999px; font-size: 12px; text-align: center; font-weight: 500; }
.status.waiting { background: var(--warning-bg); color: var(--warning); }
.status.working { background: var(--info-bg); color: var(--info); }
.status.review { background: var(--slate-100); color: var(--navy); }
.status.done { background: var(--success-bg); color: var(--success); }
.owner { display: inline-block; padding: 4px 8px; border-radius: 999px; background: var(--slate-100); color: var(--slate-600); font-size: 12px; }
.date { color: var(--slate-600); font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.board-footer { margin-top: 20px; color: var(--slate-600); font-size: 12px; line-height: 1.8; }
.empty-state { padding: 72px 24px; border: 1px dashed var(--slate-300); border-radius: var(--radius-card); background: var(--white); color: var(--slate-600); font-size: 14px; text-align: center; }
#load-error { padding: 24px; border-radius: var(--radius-input); background: var(--danger-bg); color: var(--danger); }
.detail-panel { position: relative; width: 384px; flex-shrink: 0; padding: 40px 24px; border-left: 1px solid var(--slate-200); background: var(--white); box-shadow: -4px 0 20px rgba(0,44,105,.04); }
.detail-panel[hidden] { display: none; }
.detail-panel.registry-drawer { width: min(760px, 100%); overflow-x: hidden; }
.registry-drawer-summary { padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.registry-drawer-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; }
.registry-drawer-tabs button { min-height: 40px; }
.registry-drawer-tabs button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: inset 0 -3px var(--red); }
.registry-drawer-body { min-width: 0; }
.registry-drawer-body .table-scroll { max-width: 100%; }
.registry-drawer-back { margin-bottom: 16px; }
@media (max-width: 760px) { .registry-drawer-tabs { gap: 6px; } .registry-drawer-tabs button { min-height: 44px; padding: 8px 10px; } }
.close { position: absolute; right: 16px; top: 12px; width: 32px; height: 32px; border: 0; border-radius: var(--radius-button); background: var(--slate-100); color: var(--slate-600); font-size: 24px; }
.close:hover { background: var(--info-bg); color: var(--navy); }
.detail-panel h2 { margin: 16px 0; color: var(--strong); font-size: 22px; line-height: 1.5; }
.detail-panel h3 { margin: 24px 0 12px; padding-top: 20px; border-top: 1.5px solid var(--navy); color: var(--navy); font-size: 14px; }
.detail-panel dl { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; margin: 16px 0; font-size: 13px; line-height: 1.7; }
.detail-panel dt { color: var(--slate-600); font-weight: 400; }
.detail-panel dd { margin: 0; color: var(--strong); font-weight: 600; overflow-wrap: anywhere; }
.detail-panel dl:nth-of-type(1) dd:first-of-type, .detail-panel dl:nth-of-type(3) dd:first-of-type, .detail-panel dl:nth-of-type(4) dd:first-of-type { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.placeholder-note { padding: 16px; border-radius: var(--radius-input); background: var(--slate-50); color: var(--slate-600); font-size: 12px; line-height: 1.9; }
@media (min-width: 1700px) {
  main { padding-right: 48px; padding-left: 48px; }
  .title-cell { min-width: 320px; }
}
@media (max-width: 1280px) {
  .detail-panel { position: fixed; right: 0; top: 0; bottom: 0; z-index: 5; width: 384px; overflow: auto; box-shadow: -8px 0 32px rgba(0,44,105,.12); }
  .view-hint { display: none; }
  .sidebar { width: 240px; padding-right: 12px; padding-left: 12px; }
  main { padding-right: 24px; padding-left: 24px; }
  .metrics { gap: 12px; }
}
@media (max-width: 760px) {
  .demo-strip { flex-direction: column; gap: 4px; padding: 8px 16px; font-size: 11px; text-align: center; }
  .shell { display: block; }
  .sidebar { width: 100%; padding: 16px; border-right: 0; border-bottom: 1px solid var(--slate-200); }
  .brand { padding: 0; }
  .brand-logo { width: 188px; }
  .brand small, .workspace, .nav-caption, .side-note { display: none; }
  #boards { display: flex; gap: 4px; overflow: auto; margin-top: 16px; }
  .nav-item { width: auto; flex-shrink: 0; margin: 0; padding: 8px; font-size: 12px; white-space: nowrap; }
  .nav-item small, .board-icon { display: none; }
  main { padding: 0 16px 24px; }
  .topbar { height: 48px; }
  .board-head { gap: 12px; padding: 24px 0; }
  h1 { font-size: 28px; }
  .board-head p { font-size: 12px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metrics > div { padding: 16px; }
  .metrics strong { font-size: 24px; }
  .toolbar { gap: 8px; padding-bottom: 20px; }
  .search { width: 100%; }
  #result-count { font-size: 11px; }
  .detail-panel { width: min(100%, 384px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Writable local prototype: forms, server pagination and preserved threads. */
[hidden] { display: none !important; }
button:disabled, select:disabled { cursor: wait; opacity: .6; }
button:disabled:hover { text-decoration: none; }
.nav-divider { height: 1px; margin: 16px 12px; background: var(--slate-200); }
.quote-nav { margin-top: 12px; background: var(--navy); color: var(--white); font-weight: 600; }
.quote-nav:hover, .quote-nav.selected { background: var(--info); color: var(--white); }
.app-message { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid var(--success); border-radius: var(--radius-input); background: var(--success-bg); color: var(--success); font-size: 14px; }
.error-message { background: var(--danger-bg); border-left-color: var(--danger); color: var(--danger); }
.loading-state, .error-state { padding: 40px 24px; border: 1px solid var(--slate-200); border-radius: var(--radius-card); background: var(--white); color: var(--slate-600); font-size: 14px; }
.error-state { border-color: var(--danger); color: var(--danger); }
.primary-button, .secondary-button, .text-button { min-height: 40px; padding: 8px 16px; border-radius: var(--radius-button); font-size: 14px; line-height: 1.5; }
.primary-button { border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-weight: 600; }
.primary-button:hover { background: var(--info); }
.secondary-button { border: 1px solid var(--slate-300); background: var(--white); color: var(--navy); }
.secondary-button:hover { background: var(--info-bg); }
.text-button { border: 0; padding: 8px 0; background: transparent; color: var(--navy); text-align: left; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-note, .bounded-notice { color: var(--slate-600); font-size: 12px; line-height: 1.8; }
.pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: 20px 0; font-size: 12px; }
.pagination button { min-height: 36px; }
.page-total { margin-right: auto; color: var(--slate-600); }
.page-position { min-width: 52px; text-align: center; font-family: var(--font-mono); color: var(--slate-800); }
.inline-status { min-width: 92px; padding: 6px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; }
.inline-status.waiting { background: var(--warning-bg); color: var(--warning); }
.inline-status.working { background: var(--info-bg); color: var(--info); }
.inline-status.review { background: var(--slate-100); color: var(--navy); }
.inline-status.done { background: var(--success-bg); color: var(--success); }
.inline-status.paused, .status.paused { background: var(--slate-200); color: var(--slate-800); }
.inline-status option { background: var(--white); color: var(--black); }
.status-with-archive { display: flex; align-items: center; gap: 8px; }
.archive-label { color: var(--slate-600); font-size: 11px; }
.card { padding: 24px; margin-bottom: 24px; border: 1px solid var(--slate-200); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow); }
.case-summary h3 { margin-top: 0; font-size: 16px; color: var(--navy); }
.data-list { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 12px 20px; margin: 16px 0; font-size: 14px; line-height: 1.7; }
.data-list dt { color: var(--slate-600); font-weight: 400; }
.data-list dd { margin: 0; color: var(--strong); font-weight: 600; overflow-wrap: anywhere; white-space: pre-wrap; }
.section-title { margin: 32px 0 20px; color: var(--navy); font-size: 20px; }
.create-task-section summary, .archive-section summary { cursor: pointer; min-height: 44px; color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.8; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wide { grid-column: 1 / -1; }
.field-label { color: var(--slate-800); font-size: 14px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--slate-300); border-radius: var(--radius-input); background: var(--white); color: var(--black); font-family: var(--font-ui); font-size: 16px; line-height: 1.5; }
.form-field input[readonly] { background: var(--slate-100); color: var(--slate-600); }
.form-field input[type=date] { font-family: var(--font-mono); font-size: 14px; }
.form-field textarea { resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--slate-600); font-size: 14px; }
.field-help { display: block; margin: 0; color: var(--slate-600); font-size: 12px; line-height: 1.8; }
.form-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.form-actions > button { flex-shrink: 0; min-height: 44px; }
.form-result { flex: 1; min-width: 160px; margin: 8px 0 0; color: var(--slate-800); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.quote-wrap { max-width: 920px; }
.quote-intro { margin: 24px 0; }
.quote-live-notice, .quote-storage-notice { padding: 16px 20px; border-left: 3px solid var(--navy); background: var(--slate-100); color: var(--slate-800); line-height: 1.7; overflow-wrap: anywhere; }
.quote-live-notice { margin: 0 0 24px; }
.quote-storage-notice > strong { color: var(--navy); font-size: 14px; }
.quote-storage-notice .field-help { margin: 10px 0; }
.work-quote-submission { margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--slate-200); }
.work-quote-submission > summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.work-quote-submission dd { white-space: pre-wrap; }
.work-quote-files li { margin-bottom: 16px; overflow-wrap: anywhere; }
.quote-requester { color: var(--navy); font-size: 14px; overflow-wrap: anywhere; }
.quote-form { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.quote-form select, .quote-form input:not([type=file]), .quote-form textarea { min-height: 52px; }
.quote-form .field-label { font-weight: 600; }
.quote-case-guide { padding: 16px; background: var(--slate-100); border-left: 3px solid var(--navy); }
.quote-case-guide .field-help { margin: 0 0 16px; line-height: 1.9; }
.quote-file-list { list-style: none; margin: 0; padding: 0; }
.quote-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--slate-200); padding: 8px 0; }
.quote-file-list li span { min-width: 0; overflow-wrap: anywhere; }
.quote-file-list button { flex-shrink: 0; min-height: 44px; }
.quote-extra { padding-top: 20px; border-top: 1px solid var(--slate-200); }
.quote-extra > summary { cursor: pointer; color: var(--navy); font-weight: 600; padding: 8px 0; }
.quote-extra > .form-grid { margin-top: 20px; }
.quote-form .form-result { white-space: pre-wrap; }
.prototype-notice { margin: 0 0 20px; padding: 16px 20px; border-left: 3px solid var(--red); background: var(--slate-100); color: var(--slate-600); font-size: 14px; line-height: 1.8; }
.case-picker { padding: 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-input); background: var(--slate-50); }
.selected-case { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: var(--navy); font-size: 14px; }
.picker-list { display: grid; gap: 8px; margin-top: 16px; }
.case-choice { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-input); background: var(--white); color: var(--slate-800); text-align: left; font-size: 14px; line-height: 1.7; }
.case-choice:hover { background: var(--info-bg); border-color: var(--navy); }
.case-choice small { color: var(--slate-600); font-size: 12px; }
.detail-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 10; width: min(560px, 100%); overflow-y: auto; padding: 48px 32px 32px; box-shadow: -8px 0 40px rgba(0,44,105,.14); }
.detail-panel h2 { padding-right: 12px; }
.detail-panel h3 { margin-top: 28px; padding-top: 20px; }
.detail-panel .data-list { grid-template-columns: 116px minmax(0, 1fr); gap: 12px 20px; font-size: 13px; }
.detail-panel .close { position: absolute; width: 40px; height: 40px; }
.detail-flags { display: flex; align-items: center; gap: 12px; }
.archived-badge { padding: 4px 12px; border-radius: 999px; background: var(--slate-100); color: var(--slate-600); font-size: 12px; }
.case-link { display: block; margin-top: 8px; font-size: 13px; }
.preserve-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
.detail-status-label { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.archive-section { margin-top: 20px; padding: 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-input); }
.archive-section .form-grid { margin-top: 12px; }
.archive-explanation { padding: 12px 16px; border-left: 3px solid var(--warning); background: var(--warning-bg); color: var(--slate-800); font-size: 13px; line-height: 1.8; }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13px; line-height: 1.8; }
.checkbox-label input { width: 20px; height: 20px; margin: 2px 0; accent-color: var(--navy); flex-shrink: 0; }
.related-list, .reference-list { margin: 12px 0; padding-left: 20px; color: var(--slate-600); font-size: 13px; }
.related-list li { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 4px 0; }
.reference-list li { padding: 8px 0; overflow-wrap: anywhere; }
.reference-list a { color: var(--navy); }
.comment-list, .audit-list { padding: 0; margin: 0; list-style: none; }
.comment { margin: 12px 0; padding: 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-input); background: var(--slate-50); }
.comment-reply { border-left: 3px solid var(--navy); margin-left: 16px; }
.comment-meta { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; color: var(--slate-800); font-size: 13px; }
.timestamp { color: var(--slate-600); font-family: var(--font-mono); font-size: 10px; line-height: 1.8; }
.comment-body { margin: 12px 0 4px; }
.reply-context { color: var(--slate-600); font-size: 11px; overflow-wrap: anywhere; }
.reply-button { min-height: 32px; padding: 4px 0; font-size: 12px; }
.reply-notice { grid-column: 1 / -1; padding: 12px; border-radius: var(--radius-input); background: var(--info-bg); color: var(--navy); font-size: 12px; }
.reply-notice button { display: block; }
.comment-form { padding-top: 12px; }
.audit-list li { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--slate-200); font-size: 12px; }
.audit-list .preserve-text { font-size: 12px; }
@media (max-width: 760px) {
 .demo-strip { line-height: 1.7; }
 #boards { flex-wrap: wrap; overflow: visible; }
 .nav-divider { display: none; }
 .nav-item { min-height: 44px; font-size: 13px; }
 .quote-nav { margin-top: 0; }
 .toolbar .search { min-height: 44px; }
 .search input, select, .toolbar button { font-size: 16px; }
 .toolbar select, .toolbar button { min-height: 44px; }
 .toolbar > label:not(.search) { flex: 1; }
 .toolbar > label:not(.search) select { flex: 1; }
 #result-count { flex-basis: 100%; text-align: right; }
 .card { padding: 20px 16px; }
 .form-grid { grid-template-columns: 1fr; gap: 20px; }
 .form-field input[type=date] { font-size: 16px; }
 .form-actions > button { font-size: 16px; }
 .form-result { min-width: 100%; }
 .data-list { grid-template-columns: 104px minmax(0,1fr); gap: 12px; font-size: 13px; }
 .detail-panel { width: 100%; padding: 52px 20px 24px; }
 .detail-panel .data-list { grid-template-columns: 100px minmax(0,1fr); gap: 12px; }
 .detail-panel .inline-status { min-height: 44px; font-size: 16px; }
 .inline-status { min-height: 44px; font-size: 16px; }
 .pagination .page-total { width: 100%; }
 .pagination button { min-height: 44px; }
 .primary-button, .secondary-button { min-height: 44px; }
 .comment-reply { margin-left: 8px; }
}

/* Authentication follows the existing office brand and stays usable on phones. */
.registry-summary, .registry-case, .registry-fields, .registry-record { padding: 24px; margin-bottom: 20px; min-width: 0; }
.registry-summary > strong { display: block; color: var(--navy); margin-bottom: 20px; }
.registry-case dd, .registry-record dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.registry-record h3 { margin-top: 0; color: var(--navy); }
.registry-record details { margin-top: 20px; }
.registry-record summary { cursor: pointer; color: var(--navy); }
.registry-pending { color: var(--red); }
.registry-monday-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.official-facts { padding: 24px; margin: 24px 0; min-width: 0; }
.official-sync-health { min-width: 0; margin: 16px 0; padding: 16px 20px; border: 1px solid var(--slate-200); border-radius: var(--radius-card); background: var(--slate-50); overflow-wrap: anywhere; }
.official-sync-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--navy); font-size: 14px; }
.official-sync-head > strong { min-width: 0; }
.official-sync-head > button { min-height: 44px; flex-shrink: 0; }
.official-sync-content { margin-top: 12px; min-width: 0; }
.official-sync-state { display: inline-block; padding: 6px 10px; border-radius: var(--radius-input); font-size: 14px; font-weight: 600; background: var(--slate-100); color: var(--slate-600); }
.official-sync-state.success { background: var(--success-bg); color: var(--success); }
.official-sync-state.warning { background: var(--warning-bg); color: var(--slate-800); }
.official-sync-state.danger { background: var(--danger-bg); color: var(--danger); }
.official-sync-time { font-size: 13px; color: var(--slate-600); line-height: 1.7; margin: 8px 0; }
.official-sync-health > .field-help { margin-bottom: 0; }
@media (max-width: 760px) { .official-sync-health { padding: 14px; } .official-sync-head { align-items: flex-start; } }
.official-facts .data-list dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.official-review-warning { padding: 12px 16px; border-left: 3px solid var(--warning); background: var(--warning-bg); color: var(--slate-800); font-weight: 600; line-height: 1.7; }
.official-evidence { padding-top: 16px; border-top: 1px solid var(--slate-200); margin-top: 16px; }
.official-evidence > summary { cursor: pointer; color: var(--navy); font-size: 13px; }
.official-evidence dd { font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 760px) { .official-facts { padding: 18px; } .official-facts .data-list { grid-template-columns: minmax(0,1fr); gap: 6px; } .official-facts .data-list dd { margin-bottom: 12px; } }
.example-navigation { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--slate-200); }
.example-navigation > summary { cursor: pointer; color: var(--slate-600); font-size: 13px; padding: 8px 12px; }
.example-navigation > .nav-item { font-size: 13px; }
.work-create-button { margin: 0 0 24px; }
.work-source-scope { padding: 16px 20px; margin-bottom: 24px; border-left: 3px solid var(--navy); background: var(--slate-100); overflow-wrap: anywhere; }
.work-source-scope > strong { color: var(--navy); font-size: 14px; }
.work-source-scope .field-help { margin: 10px 0; }
.work-form-wrap { max-width: 880px; }
.work-form { margin-top: 20px; }
.work-case-picker { border: 1px solid var(--slate-200); border-radius: var(--radius-card); padding: 16px; min-width: 0; }
.work-case-selection { margin-bottom: 16px; overflow-wrap: anywhere; }
.work-case-selection .record-id { display: block; margin: 8px 0; }
.work-case-picker > .secondary-button { margin-top: 12px; }
.work-review-badge { display: inline-block; padding: 6px 10px; border-radius: 4px; background: var(--warning-bg); color: var(--slate-800); font-size: 12px; }
.status.unset { background: var(--slate-100); color: var(--slate-600); }
.work-source-status, .work-source-brief { color: var(--navy); overflow-wrap: anywhere; }
.work-source-brief { line-height: 1.7; padding: 12px; background: var(--slate-100); border-radius: var(--radius-input); }
.case-work { padding: 24px; margin: 24px 0; min-width: 0; }
.case-work-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.case-work-head .section-title { margin: 0; }
.work-edit-section, .work-original-summary, .work-source-threads, .work-archive-section, .work-audit, .work-identifiers { padding: 16px 0; border-top: 1px solid var(--slate-200); margin-top: 20px; }
.work-edit-section > summary, .work-original-summary > summary, .work-source-threads > summary, .work-archive-section > summary, .work-audit > summary, .work-identifiers > summary { cursor: pointer; color: var(--navy); font-weight: 600; line-height: 1.7; }
.work-edit-section .form-grid, .work-archive-section .form-grid { margin-top: 20px; grid-template-columns: minmax(0,1fr); }
.work-source-entry { margin-top: 20px; padding: 16px 0; border-bottom: 1px solid var(--slate-200); }
.work-source-entry .monday-reply { margin: 20px 0 0 16px; padding-left: 12px; border-left: 2px solid var(--slate-200); }
.work-internal-reply { margin-left: 24px; padding-left: 16px; border-left: 3px solid var(--navy); }
.work-parent-quote { margin: 12px 0; padding: 12px; border-radius: var(--radius-input); background: var(--slate-100); color: var(--slate-600); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.work-source-columns { padding: 16px 0; margin-top: 20px; border-top: 1px solid var(--slate-200); }
.work-source-columns > summary { cursor: pointer; color: var(--navy); font-weight: 600; line-height: 1.7; }
.work-source-columns dt { white-space: pre-wrap; overflow-wrap: anywhere; }
.deadline-source-summary { padding: 24px; margin-bottom: 24px; }
.deadline-source-summary > strong { color: var(--navy); }
.deadline-source-warning { padding: 12px 16px; background: var(--warning-bg); border-left: 3px solid var(--warning); color: var(--slate-800); line-height: 1.7; }
.deadline-original-fields, .deadline-source-scope, .deadline-source-evidence { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--slate-200); }
.deadline-original-fields > summary, .deadline-source-scope > summary, .deadline-source-evidence > summary { cursor: pointer; color: var(--navy); font-weight: 600; line-height: 1.7; }
.deadline-original-fields dt, .deadline-original-fields dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.deadline-original-fields dd { min-height: 1.5em; user-select: text; }
.deadline-candidates { margin-top: 20px; }
.deadline-candidate { padding: 16px 0; border-top: 1px solid var(--slate-200); }
.finance-source-summary { padding: 24px; margin-bottom: 24px; min-width: 0; }
.finance-source-summary > strong { color: var(--navy); }
.finance-original-fields, .finance-source-scope, .finance-source-evidence { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--slate-200); }
.finance-original-fields > summary, .finance-source-scope > summary, .finance-source-evidence > summary { cursor: pointer; color: var(--navy); font-weight: 600; line-height: 1.7; }
.finance-original-fields dt, .finance-original-fields dd, .finance-source-scope dd, .finance-source-evidence dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.finance-original-fields dd { min-height: 1.5em; user-select: text; }
.finance-candidates { margin-top: 20px; }
.finance-candidate { padding: 16px 0; border-top: 1px solid var(--slate-200); }
.finance-amount-cell { display: grid; gap: 4px; min-width: 0; }
.finance-amount-cell > span { display: block; overflow-wrap: anywhere; }
.case-finance-sources { padding: 24px; margin-bottom: 24px; min-width: 0; }
.case-finance-sources > summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 18px; padding: 8px 0; }
@media (max-width: 760px) { .case-finance-sources { padding: 18px; } }
@media (max-width: 760px) { .finance-source-summary { padding: 18px; } .detail-panel .finance-original-fields .data-list, .detail-panel .finance-source-scope .data-list, .detail-panel .finance-source-evidence .data-list { grid-template-columns: minmax(0,1fr); gap: 6px; } .finance-original-fields dd { margin-bottom: 12px; } .finance-candidates button { min-height: 44px; } }
.deadline-ledger-summary, .deadline-ledger-form, .case-deadlines { padding: 24px; margin-bottom: 24px; min-width: 0; }
.deadline-ledger-summary > strong { color: var(--navy); }
.deadline-ledger-summary .data-list { margin: 16px 0; }
.deadline-ledger-form > .form-grid { margin-top: 20px; }
.deadline-ledger-form > .data-list { margin: 12px 0; }
.deadline-ledger-check { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.deadline-ledger-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; }
.deadline-ledger-action, .deadline-ledger-audit, .deadline-ledger-pending { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--slate-200); }
.deadline-ledger-identifiers { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--slate-200); }
.deadline-ledger-identifiers > summary { color: var(--navy); font-weight: 600; cursor: pointer; padding: 8px 0; }
.deadline-ledger-identifiers dd { overflow-wrap: anywhere; }
.deadline-ledger-action > summary, .deadline-ledger-audit > summary { color: var(--navy); font-weight: 600; cursor: pointer; padding: 8px 0; }
.deadline-ledger-action > .form-grid { margin-top: 16px; grid-template-columns: minmax(0,1fr); }
.deadline-ledger-pending { padding: 16px; background: var(--warning-bg); border-left: 3px solid var(--warning); }
.deadline-ledger-audit-row { padding: 14px 0; border-top: 1px solid var(--slate-200); }
.deadline-ledger-audit-row dd, .deadline-ledger-pending dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.case-deadlines .case-work-head { margin-bottom: 12px; }
@media (max-width: 760px) { .deadline-ledger-summary, .deadline-ledger-form, .case-deadlines { padding: 18px; } .deadline-ledger-action button, .deadline-ledger-form button, .case-deadlines button { min-height: 44px; } .detail-panel .deadline-ledger-audit .data-list, .detail-panel .deadline-ledger-pending .data-list { grid-template-columns: minmax(0,1fr); gap: 6px; } }
@media (max-width: 760px) { .deadline-source-summary { padding: 18px; } .detail-panel .deadline-original-fields .data-list { grid-template-columns: minmax(0,1fr); gap: 6px; } .deadline-original-fields dd { margin-bottom: 12px; } .deadline-candidates button { min-height: 44px; } }
.work-source-columns dd { min-height: 1.5em; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
@media (max-width: 760px) { .detail-panel .work-source-columns .data-list { grid-template-columns: minmax(0,1fr); gap: 6px; } .work-source-columns dd { margin-bottom: 12px; } }
.work-comment-identifiers { margin-top: 12px; color: var(--slate-600); font-size: 12px; }
.work-comment-identifiers > summary { cursor: pointer; padding: 6px 0; }
.work-mention-picker { min-width: 0; }
.work-mention-trigger { margin-top: var(--ws-space-1); min-height: var(--ws-control-height); }
.work-mention-status { margin: var(--ws-space-1) 0 0; }
.work-mention-status:empty { display: none; }
.work-mention-options {
 max-height: calc(5 * var(--ws-control-height)); overflow-y: auto;
 border: var(--ws-border) solid var(--slate-300); border-radius: var(--radius-input);
 background: var(--white);
}
.work-mention-option {
 display: flex; align-items: baseline; flex-wrap: wrap; column-gap: var(--ws-space-2);
 min-height: var(--ws-control-height); padding: var(--ws-space-2);
 color: var(--navy); cursor: pointer; overflow-wrap: anywhere;
}
.work-mention-option small { color: var(--slate-600); }
.work-mention-option:hover, .work-mention-option[aria-selected="true"] { background: var(--info-bg); }
.work-mention-tag {
 padding-inline: var(--ws-space-1); border-radius: var(--radius-input);
 background: var(--info-bg); color: var(--navy); font-weight: var(--ws-weight-semibold);
}
.work-comments-heading:focus, [data-work-comment-id]:focus { outline: var(--ws-border) solid var(--navy); outline-offset: var(--ws-space-1); }
.work-mentions-list .row-title { white-space: normal; overflow-wrap: anywhere; }
.work-mentions-list .comment-meta { margin-top: var(--ws-space-1); }
@media (max-width: 760px) {
 .case-work { padding: 18px; }
 .case-work-head { align-items: stretch; flex-direction: column; }
 .work-case-picker { padding: 12px; }
 .work-case-picker button, .work-source-threads button { min-height: 44px; }
 .work-internal-reply { margin-left: 12px; padding-left: 12px; }
 .example-navigation { margin-top: 16px; }
}
.registry-resources { margin: 24px 0; min-width: 0; }
.resource-category { padding: 20px 24px; margin: 16px 0; min-width: 0; }
.resource-category > summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 8px 0; }
.resource-category-content { margin-top: 16px; }
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list > li { padding: 20px 0; border-top: 1px solid var(--slate-200); overflow-wrap: anywhere; }
.resource-list h4 { margin: 0 0 12px; color: var(--navy); overflow-wrap: anywhere; }
.resource-row-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.resource-row-main > div { min-width: 0; }
.resource-row-main h4 { margin-bottom: 6px; }
.resource-row-main p { margin: 0; }
.resource-row-main > .source-link { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
.resource-item-detail { margin-top: 10px; }
.resource-item-detail > summary { color: var(--slate-600); font-size: 13px; cursor: pointer; }
@media (max-width: 760px) { .resource-row-main { flex-direction: column; align-items: flex-start; gap: 4px; } }
.resource-list .data-list { margin: 12px 0; }
.resource-list dd, .resource-scope dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.resource-path { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; min-width: 0; }
.resource-path > span { min-width: 0; flex-basis: 100%; user-select: text; overflow-wrap: anywhere; }
.resource-path button { min-height: 44px; flex-shrink: 0; }
.resource-unverified { color: var(--slate-600); }
.resource-device-path { min-width: 0; margin: 16px 0; padding: 16px; border: 1px solid var(--slate-200); border-left: 3px solid var(--navy); border-radius: var(--radius-input); background: var(--slate-50); }
.resource-device-path > strong { color: var(--navy); }
.resource-device-path > p { margin: 8px 0; }
.resource-device-copy { min-width: 0; margin: 16px 0; display: grid; gap: 8px; }
.resource-device-copy > label { display: grid; gap: 8px; min-width: 0; }
.resource-device-value { display: block; width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid var(--slate-300); border-radius: var(--radius-input); background: var(--white); color: var(--black); font: 14px/1.5 var(--font-mono); resize: vertical; overflow-wrap: anywhere; }
.resource-device-copy > button { justify-self: start; min-height: 44px; }
.resource-device-settings, .resource-server-path { margin: 16px 0 0; }
.resource-device-settings > summary, .resource-server-path > summary { min-height: 44px; padding: 10px 0; color: var(--navy); cursor: pointer; font-weight: 600; }
.resource-device-form { margin-top: 12px; }
.resource-device-form .form-actions { align-items: center; }
@media (max-width: 760px) {
 .resource-category { padding: 16px 18px; }
 .resource-category .source-link { min-height: 44px; padding: 10px 0; }
 .resource-list .data-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
 .resource-list .data-list dd { margin-bottom: 12px; }
}
@media (max-width: 760px) { .registry-summary, .registry-case, .registry-fields, .registry-record { padding: 18px; } }
.monday-summary, .monday-case, .monday-items, .monday-thread { padding: 24px; margin-bottom: 20px; min-width: 0; }
.monday-summary > strong { display: block; color: var(--navy); margin-bottom: 20px; }
.monday-summary .data-list, .monday-case .data-list { margin-bottom: 16px; }
.monday-items summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.source-items, .source-assets { padding-left: 20px; }
.source-items li { margin: 16px 0; overflow-wrap: anywhere; }
.source-link { display: inline-block; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.microsoft-connection, .microsoft-section { min-width: 0; }
.microsoft-connection h3 { margin: 0 0 12px; color: var(--navy); }
.microsoft-employee { font-weight: 600; overflow-wrap: anywhere; }
.microsoft-status { margin: 12px 0; }
.microsoft-controls { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.microsoft-section > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--navy); font-weight: 600; }
.microsoft-section-content { min-width: 0; margin-top: 16px; }
.microsoft-record-list { list-style: none; padding: 0; margin: 12px 0; }
.microsoft-record { display: grid; gap: 6px; min-width: 0; padding: 16px 0; border-top: 1px solid var(--slate-200); overflow-wrap: anywhere; }
.microsoft-record strong, .microsoft-record span { min-width: 0; overflow-wrap: anywhere; }
.microsoft-record .source-link { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; }
.communication-link-form > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--navy); }
.communication-link-form .form-grid { margin-top: 12px; }
@media (max-width: 760px) { .microsoft-controls { flex-direction: column; } .microsoft-controls button { width: 100%; min-height: 44px; } }
.source-assets li { margin: 8px 0; overflow-wrap: anywhere; }
.monday-thread h3 { margin: 0 0 20px; color: var(--navy); overflow-wrap: anywhere; }
.monday-entry { min-width: 0; overflow-wrap: anywhere; }
.monday-entry .timestamp { line-height: 1.7; }
.monday-replies { margin: 24px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--slate-200); list-style: none; }
.monday-replies > li { padding: 20px 0; border-top: 1px solid var(--slate-200); }
.monday-record-summary, .monday-record-sources, .monday-record-selected { margin-bottom: 20px; min-width: 0; }
.monday-source-list { display: grid; gap: 8px; margin: 16px 0; }
.monday-source-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px 0; border-top: 1px solid var(--slate-200); }
.monday-source-choice { border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 600; text-align: left; cursor: pointer; padding: 10px 12px; min-height: 44px; overflow-wrap: anywhere; }
.monday-source-choice.selected { background: var(--slate-100); border-radius: 6px; }
.monday-source-row small { overflow-wrap: anywhere; }
.monday-record-title { max-width: 100%; overflow-wrap: anywhere; }
.monday-record-payload, .monday-record-raw, .monday-record-identifiers { min-width: 0; margin-top: 20px; }
.monday-record-payload p, .monday-record-raw dd, .monday-record-identifiers dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.monday-record-payload pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
@media (max-width: 760px) {
 .monday-summary, .monday-case, .monday-items, .monday-thread { padding: 18px; }
 .monday-replies { padding-left: 14px; }
 .source-link { padding: 6px 0; }
 .monday-source-row { align-items: flex-start; flex-direction: column; gap: 0; }
 .monday-source-choice { width: 100%; }
 .monday-record-summary, .monday-record-sources, .monday-record-selected { padding: 18px; }
}
.auth-panel { min-height: calc(100vh - 40px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: min(100%, 480px); padding: 36px; border: 1px solid var(--slate-200); border-top: 4px solid var(--navy); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow); }
.auth-logo { display: block; width: 100%; max-width: 320px; height: auto; margin-bottom: 32px; }
.auth-card h1 { color: var(--navy); font-size: 26px; margin: 12px 0; }
.auth-card > p { color: var(--slate-600); line-height: 1.6; margin: 0 0 24px; }
.auth-form { grid-template-columns: minmax(0, 1fr); }
.auth-form .form-actions { align-items: stretch; flex-direction: column; }
.auth-form .form-result { margin: 0; overflow-wrap: anywhere; }
.auth-setup-action { min-height: 44px; justify-self: start; }
.auth-auxiliary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.account-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; min-width: 0; }
.session-user { overflow-wrap: anywhere; color: var(--navy); }
.form-field input[readonly] { background: var(--slate-100); color: var(--slate-600); }
@media (max-width: 760px) {
 .auth-panel { padding: 24px 16px; }
 .auth-card { padding: 28px 20px; }
 .auth-card h1 { font-size: 23px; }
 .auth-form input { font-size: 16px; min-height: 44px; }
 .topbar { height: auto; min-height: 72px; padding: 12px 0; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
 .account-controls { width: 100%; justify-content: flex-start; gap: 8px 16px; }
 .session-user { flex-basis: 100%; }
 .account-controls button, .auth-auxiliary button { min-height: 44px; }
}

.quote-recovery{margin:16px 0;padding:20px;min-width:0}.quote-recovery-row{padding:16px 0;border-top:1px solid var(--slate-200);overflow-wrap:anywhere}.quote-recovery .microsoft-controls{flex-wrap:wrap}.quote-recovery .field-help{overflow-wrap:anywhere}
