@import './interviews.css';
@import './brand-profiles.css';
@import './draft-decisions.css';
@import './draft-costs.css';
@import url('./draft-team.css');
@import url('./draft-preferences.css');
@import url('./draft-workbench.css');
@import url('./source-progress.css');
@import url('./blueprint-library.css');
@import url('./cloud-setup.css');
@import url('./library-gallery.css');
/* Shared foundations for every L-A-W.ai interface. Brand: Ink, Signal Red, Paper. Status colours carry meaning and are never the only signal. */
@import url('./fonts/fonts.css');
@import url('./privacy-review.css');
@import url('./media.css');
.privacy-modes { border:1px solid var(--line2);border-radius:var(--r-sm);padding:20px;background:var(--paper); }
.privacy-modes>p { max-width:72ch; }
.privacy-modes select { max-width:420px; }
.privacy-settings { border-block:1px solid var(--line);padding:16px 0; }
.privacy-settings summary { cursor:pointer;min-height:32px; }
.privacy-terms { list-style:none;padding:0; }
.privacy-terms li { display:flex;gap:16px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:8px 0;overflow-wrap:anywhere; }
.privacy-receipts>div { display:grid;gap:4px;padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere; }
.cap::first-letter { text-transform: uppercase; }
:root {
  --ink: #111827; --red: #D7374F; --paper: #FFF8EF; --white: #FFFFFF;
  --ink2: #374151; --muted: #6B7280; --faint: #9CA3AF; --line: #E8DFD0; --line2: #D6CBB8; --wash: #F7EEDF; --card: #FFFFFF;
  --red-deep: #A8243A; --red-soft: #FCE8EB; --hl: #FFE27A; --hl-soft: #FFF4C7; --blue: #1D4ED8; --blue-soft: #E7EDFD; --green: #166534;
  --r: 14px; --r-sm: 9px; --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 10px 28px rgba(17, 24, 39, .06);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace; --grot: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .row.top { align-items: flex-start; } .row.between { justify-content: space-between; }
.col { display: flex; flex-direction: column; gap: 10px; } .grow { flex: 1; min-width: 0; } .right { margin-left: auto; }
.grid { display: grid; gap: 14px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; } .mono { font-family: var(--mono); } .serif { font-family: var(--serif); } .b { font-weight: 600; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.eyebrow { font: 500 10.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.sp4 { margin-top: 4px; } .sp8 { margin-top: 8px; } .sp12 { margin-top: 12px; } .sp16 { margin-top: 16px; } .sp24 { margin-top: 24px; } .sp32 { margin-top: 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 15px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--white); font-weight: 600; font-size: 14px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform .05s, background .12s; }
.btn:hover { background: var(--wash); } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--white); } .btn.primary:hover { background: #1f2937; }
.btn.accent { background: var(--red); border-color: var(--red); color: var(--white); } .btn.accent:hover { background: #c42f46; }
.btn.quiet { border-color: var(--line2); font-weight: 500; } .btn.ghost { border-color: transparent; background: transparent; } .btn.ghost:hover { background: var(--wash); }
.btn.sm { min-height: 30px; padding: 5px 11px; font-size: 13px; border-radius: 8px; } .btn.lg { min-height: 46px; padding: 11px 20px; font-size: 15.5px; border-radius: 12px; }
.btn[disabled], .btn.off { opacity: .45; pointer-events: none; }
.btn.on { background: var(--ink); color: var(--white); }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.icon { width: 18px; height: 18px; flex: none; } .iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--line2); border-radius: 10px; background: var(--white); } .iconbtn:hover { background: var(--wash); } .iconbtn.rec { background: var(--red); border-color: var(--red); color: var(--white); }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; border: 1.2px solid var(--ink); background: var(--white); font-size: 11.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.chip.ok { border-color: #B9C9F7; background: var(--blue-soft); color: #1E3A8A; } .chip.wait { border-color: transparent; background: var(--hl); } .chip.clock { border-color: transparent; background: var(--red-soft); color: var(--red-deep); }
.chip.plain { border-color: var(--line2); font-weight: 500; color: var(--ink2); } .chip.sample { border: 1.2px dashed var(--red); color: var(--red-deep); background: var(--white); } .chip.dark { background: var(--ink); color: var(--white); }
.tag { font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: var(--ink); color: var(--white); display: inline-block; }
.tag.soft { background: var(--wash); color: var(--ink2); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card.pad0 { padding: 0; overflow: hidden; } .card.flat { box-shadow: none; } .card.lift { box-shadow: var(--shadow); } .card.dark { background: var(--ink); color: var(--white); border-color: var(--ink); } .card.dark .muted, .card.dark .eyebrow { color: #B6BCC8; }
.card.act { cursor: pointer; text-decoration: none; display: block; transition: border-color .12s, box-shadow .12s; } .card.act:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.rule { height: 1px; background: var(--line); border: 0; margin: 14px 0; }
.list > * + * { border-top: 1px solid var(--line); } .list > * { padding: 12px 0; }

.input, textarea.input, select.input { width: 100%; min-height: 40px; padding: 9px 12px; border: 1.5px solid var(--line2); border-radius: 10px; background: var(--white); font-size: 15px; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 24, 39, .08); }
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
label.field { display: block; } label.field > span { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }
.seg { display: inline-flex; padding: 3px; gap: 3px; border: 1.5px solid var(--line2); border-radius: 11px; background: var(--white); flex-wrap: wrap; } .seg > button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; } .seg > button.on { background: var(--ink); color: var(--white); font-weight: 600; }
.check { display: flex; gap: 11px; align-items: flex-start; padding: 12px 0; cursor: pointer; } .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13px; font-weight: 600; } .switch input { position: absolute; opacity: 0; }
.switch i { width: 38px; height: 22px; border-radius: 999px; background: var(--line2); position: relative; transition: background .15s; flex: none; } .switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.switch input:checked + i { background: var(--red); } .switch input:checked + i::after { transform: translateX(16px); } .switch input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }

/* A draft, as a page */
.doc { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 44px 52px; font: 16.5px/1.62 var(--serif); color: #1a1d24; overflow-wrap: anywhere; }
.draft-editor-shell { background: #eeeae3; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.doc-editor-toolbar { position: sticky; top: 8px; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 auto 12px; padding: 9px; max-width: 920px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 4px 18px rgba(22,26,34,.08); }
.doc-tool-group { display: flex; align-items: center; gap: 3px; padding-right: 8px; border-right: 1px solid var(--line); }
.doc-tool-group:last-of-type { border-right: 0; }
.doc-tool-group button { min-width: 34px; height: 34px; border: 0; border-radius: 5px; padding: 0 8px; background: transparent; color: var(--ink); cursor: pointer; font: 600 13px var(--sans); }
.doc-tool-group button:hover { background: var(--paper); }
.doc-tool-group button:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.draft-editor-shell .doc { max-width: 860px; min-height: 980px; margin: 0 auto; }
.doc.editing { cursor: text; outline: none; }
.doc.editing:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.doc-editor-note { max-width: 860px; margin: 10px auto 0; }
.doc h1 { font: 600 25px/1.2 var(--serif); margin: 4px 0 8px; } .doc h2 { font: 600 18px/1.3 var(--serif); margin: 26px 0 8px; } .doc h3 { font: 600 16.5px/1.3 var(--serif); margin: 20px 0 6px; } .doc h4 { font: 600 italic 16px/1.3 var(--serif); margin: 16px 0 4px; }
.doc p { margin: 0 0 12px; } .doc ul, .doc ol { margin: 0 0 12px; padding-left: 24px; } .doc li { margin: 3px 0; } .doc blockquote { margin: 0 0 12px 18px; padding-left: 14px; border-left: 3px solid var(--line2); font-style: italic; } .doc hr { border: 0; border-top: 1px solid var(--line2); margin: 20px 0; }
.doc mark { background: var(--hl); padding: 1px 2px; border-radius: 2px; color: inherit; } .doc .br { border-bottom: 1.5px dashed var(--red); padding-bottom: 1px; }
.doc a.ref { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; margin: 0 1px; border-radius: 5px; border: 1.2px solid var(--blue); color: var(--blue); font: 600 10.5px/1 var(--sans); text-decoration: none; vertical-align: 3px; } .doc a.ref.ok { background: var(--blue); color: var(--white); }
.doc .tablewrap { overflow-x: auto; margin: 0 0 14px; } .doc table { border-collapse: collapse; width: 100%; font: 13.5px/1.45 var(--sans); overflow-wrap: break-word; } .doc th { text-align: left; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding: 7px 10px 7px 0; } .doc td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; }
.doc.typing::after { content: ''; display: inline-block; width: 8px; height: 18px; background: var(--red); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.banner-sample { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 14px; border: 1.5px dashed var(--red); border-radius: 11px; background: #FFFDF9; font-size: 13px; }

/* Picture tiles */
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; cursor: pointer; text-align: left; padding: 0; transition: border-color .12s, box-shadow .12s, transform .12s; min-width: 0; }
.tile:hover { border-color: var(--ink); box-shadow: var(--shadow); } .tile .pic { aspect-ratio: 16 / 9; display: block; width: 100%; } .tile .pic svg { display: block; width: 100%; height: 100%; }
.tile .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; } .tile .name { font-weight: 600; font-size: 14.5px; line-height: 1.3; } .tile .desc { font-size: 12.8px; line-height: 1.42; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile.locked { opacity: .78; }

/* Overlays */
.scrim { position: fixed; inset: 0; background: rgba(17, 24, 39, .42); display: grid; place-items: center; padding: 20px; z-index: 50; animation: fade .12s; }
.modal { width: min(560px, 100%); max-height: min(86vh, 900px); overflow: auto; background: var(--white); border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px rgba(17, 24, 39, .3); } .modal.wide { width: min(860px, 100%); }
.modal h3 { font: 600 20px/1.25 var(--serif); margin-bottom: 8px; } .modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 11px; font-size: 14px; box-shadow: var(--shadow); max-width: min(92vw, 560px); animation: rise .16s; pointer-events: auto; } .toast.bad { background: var(--red-deep); }
@keyframes fade { from { opacity: 0; } } @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--ink); animation: spin .7s linear infinite; flex: none; } @keyframes spin { to { transform: rotate(360deg); } }
.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--wash), #fff, var(--wash)); background-size: 200% 100%; animation: sweep 1.2s linear infinite; min-height: 18px; } @keyframes sweep { to { background-position: -200% 0; } }
.empty { padding: 28px; border: 1.5px dashed var(--line2); border-radius: var(--r); text-align: center; color: var(--ink2); }
.drop { border: 1.5px dashed var(--line2); border-radius: var(--r); padding: 22px; background: #FFFDF9; text-align: center; transition: background .12s, border-color .12s; } .drop.over { border-color: var(--red); background: var(--red-soft); }
table.plain { width: 100%; border-collapse: collapse; font-size: 13.5px; } table.plain th { text-align: left; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line2); } table.plain td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 1000px) { .g4, .g5, .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doc { padding: 30px 26px; } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } .doc { padding: 22px 18px; font-size: 16px; } body { font-size: 15px; } }
@media print { .noprint { display: none !important; } body { background: #fff; } .doc { border: 0; box-shadow: none; padding: 0; } }

/* Shared model catalogue. The model picker follows the same paper, ink and red vocabulary as each version. */
.model-page { width: min(100%, 1040px); margin: 0 auto; padding: 8px 0 48px; }
.model-page .h1 { font: 500 38px/1.12 var(--serif); }
.model-page .lede { max-width: 70ch; }
.model-current { padding: 10px 13px; border: 1px solid var(--line2); border-radius: 10px; background: var(--white); font-size: 13px; }
.model-tabs { display: flex; gap: 5px; width: fit-content; padding: 4px; border: 1px solid var(--line2); border-radius: 12px; background: var(--white); }
.model-tabs button { min-height: 44px; padding: 8px 15px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font-weight: 600; }
.model-tabs button.on { background: var(--ink); color: var(--white); }
.model-tools { display: flex; align-items: end; gap: 12px; }
.model-sort { width: min(220px, 40%); }
.model-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.model-option { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 106px; padding: 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--white); text-align: left; transition: background .12s, border-color .12s; }
.model-option:hover { border-color: var(--ink); background: #FFFCF7; }
.model-option.selected { border: 2px solid var(--ink); padding: 13px; background: var(--wash); }
.model-vendor-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.model-vendor-icon img { display: block; width: 22px; height: 22px; object-fit: contain; }
.model-vendor-icon.text { font: 700 11px/1 var(--mono); color: var(--ink2); }
.model-option-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.model-option-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.model-option-vendor, .model-option-meta, .model-option-desc { font-size: 12px; line-height: 1.4; color: var(--ink2); overflow-wrap: anywhere; }
.model-option-meta { color: var(--muted); }
.model-option-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.model-option-side { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; flex: none; }
.model-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.model-tags span { padding: 2px 6px; border-radius: 5px; background: var(--wash); color: var(--ink2); font: 500 10px/1.4 var(--mono); }
.model-choice { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.model-choice .effort { width: min(250px, 38%); flex: none; }
.model-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.model-footer .row { gap: 8px; }
@media (max-width: 740px) { .model-list { grid-template-columns: 1fr; } .model-page .h1 { font-size: 32px; } }
@media (max-width: 520px) { .model-tools, .model-choice, .model-footer { align-items: stretch; flex-direction: column; } .model-sort, .model-choice .effort { width: 100%; } .model-option { gap: 9px; padding: 11px; } .model-option.selected { padding: 10px; } .model-option-side { align-items: flex-end; } .model-tabs { width: 100%; } .model-tabs button { flex: 1; padding-inline: 8px; } }

/* Existing-first practice gallery shared by Version 1, 2 and 3. */
.practice-page { width: min(100%, 1100px); margin: 0 auto; padding: 8px 0 48px; }
.practice-page > .t1 { font: 500 38px/1.12 var(--serif); }
.practice-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.practice-search .input { min-width: 0; }
.practice-selected { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.practice-selected-list { display: flex; flex-wrap: wrap; gap: 7px; }
.practice-selected-list button { min-height: 36px; cursor: pointer; }
.practice-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.practice-option { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 94px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s; }
.practice-option:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.practice-option.selected { border: 2px solid var(--ink); padding: 9px; background: var(--wash); }
.practice-option img { display: block; width: 70px; height: 58px; flex: none; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.practice-option-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.practice-option-copy .b { line-height: 1.25; }
.practice-option-copy .small { line-height: 1.3; }
.practice-option > .chip { flex: none; }
.practice-add { padding: 18px; border: 1px dashed var(--red); border-radius: 13px; background: var(--red-soft); }
.practice-page button:focus-visible, .practice-page a:focus-visible { outline: 2px solid var(--red-deep); outline-offset: 3px; }
.workflow-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 5px 12px; align-items: start; }
.workflow-visual { grid-row: span 4; width: 74px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.workflow-heading { display: flex; align-items: center; gap: 16px; }
.workflow-hero { width: 112px; aspect-ratio: 1; flex: none; object-fit: cover; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
@media (max-width: 900px) { .practice-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .practice-page > .t1 { font-size: 32px; } .practice-gallery { grid-template-columns: 1fr; } .practice-option img { width: 76px; height: 62px; } .workflow-heading { align-items: flex-start; } .workflow-hero { width: 76px; border-radius: 10px; } }

/* Parts shared by the interfaces */
.loading { display: grid; place-items: center; min-height: 40vh; }
.doccard { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); } .doccard.out { background: transparent; border-style: dashed; } .doccard + .doccard { margin-top: 10px; }
.docmeta { display: flex; gap: 16px; flex-wrap: wrap; font: 500 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rawtext { max-height: 52vh; overflow: auto; white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: 12.5px/1.55 var(--mono); }
.cal .calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font: 12.5px/1 var(--sans); text-align: center; } .calgrid b { font: 500 10px/2 var(--mono); color: var(--muted); } .calgrid span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; }
.calgrid .today { background: var(--ink); color: var(--white); font-weight: 600; } .calgrid .plan { background: var(--red); color: var(--white); font-weight: 600; } .calgrid .alt { border: 1.5px dashed var(--red); color: var(--red-deep); font-weight: 600; } .calgrid .other { border: 1.5px solid var(--ink); }
.readings { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; } .reading { border: 2px solid var(--red); border-radius: 12px; padding: 12px 14px; background: var(--white); } .reading.alt { border-style: dashed; } .reading .when { font: 500 25px/1.15 var(--serif); color: var(--red-deep); margin: 4px 0; }
.road { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; overflow-x: auto; padding: 6px 2px 10px; } .stop { position: relative; padding: 26px 14px 0 0; min-width: 0; } .stop::before { content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 3px; background: var(--line2); } .stop.done::before, .stop.behind::before { background: var(--ink); }
.stop .dot { position: absolute; top: 1px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--white); border: 3px solid var(--line2); } .stop.done .dot, .stop.behind .dot { background: var(--ink); border-color: var(--ink); } .stop.here .dot { background: var(--red); border-color: var(--ink); width: 23px; height: 23px; top: -2px; }
.roadlink { display: block; margin-top: 6px; padding: 6px 9px; border: 1px solid var(--line2); border-radius: 8px; font-size: 12.5px; line-height: 1.3; text-decoration: none; background: var(--white); } .roadlink:hover { border-color: var(--ink); } .roadlink.done { background: var(--wash); color: var(--ink2); } .roadlink.open { border-color: var(--red); font-weight: 600; }
.tl { position: relative; padding: 26px 0 26px; } .tl-years { position: absolute; left: 240px; right: 0; top: 0; bottom: 0; pointer-events: none; } .tl-years span { position: absolute; top: 0; bottom: 24px; border-left: 1px solid var(--line); padding-left: 5px; font: 500 10px/1 var(--mono); color: var(--muted); }
.tl-years .tl-today { top: 16px; bottom: 6px; border-left: 2px dashed var(--red); padding: 0; z-index: 2; } .tl-years .tl-today b { position: absolute; bottom: -4px; left: 6px; white-space: nowrap; font: 500 10px/1 var(--mono); color: var(--red-deep); background: var(--card); padding: 1px 3px; }
.tl-row { display: grid; grid-template-columns: 228px 1fr; gap: 12px; align-items: center; padding: 7px 0; position: relative; } .tl-name { display: flex; flex-direction: column; min-width: 0; } .tl-name .mono { color: var(--muted); } .tl-track { position: relative; height: 12px; border-radius: 6px; background: var(--wash); }
.tl-track i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--ink); } .tl-track i.soon { background: var(--red); } .tl-track i.hatch { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, var(--hl) 6px 12px); } .tl-track i.none { background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 12px); }
.flow { display: flex; flex-direction: column; gap: 12px; } .fnode { border: 1.5px solid var(--ink); border-radius: 12px; padding: 14px; background: var(--white); position: relative; } .fnode + .fnode::before { content: ''; position: absolute; left: 28px; top: -14px; height: 13px; border-left: 2px solid var(--ink); }
.fbranch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; } .fbranch > div { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; background: var(--paper); } .fnode.end { background: var(--ink); color: var(--white); border-color: var(--ink); } .fnode.end .muted { color: #B6BCC8; }
.receipt { font-size: 14px; } .pill-where { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; background: transparent; cursor: pointer; }
.pill-where { min-width: 0; max-width: 100%; }
.pill-where > svg { flex: none; }
.pill-where > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.flowhead > a.b { max-width: 32ch; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width:640px) {
  .v1 .flowhead, .v2 .flowhead { display: grid; gap: 8px; }
  .v1 .flowsteps, .v2 .flowsteps { width: 100%; min-width: 0; margin: 0; overflow-x: auto; }
  .flowhead > .chip { justify-self: start; }
}
.pill-where.unavailable { border-color: var(--red); background: var(--red-soft); color: var(--red-deep); }
.model-status-note { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border: 1px solid var(--line2); border-radius: 12px; background: var(--paper); }
.model-status-note.problem { border-color: #E9A4AE; background: var(--red-soft); }
.model-status-mark { display: grid; place-items: center; width: 25px; height: 25px; flex: none; border-radius: 50%; background: var(--ink); color: var(--white); font: 600 13px/1 var(--mono); }
.model-status-note.problem .model-status-mark { background: var(--red-deep); }
.model-status-note .mono { overflow-wrap: anywhere; }
.model-status-chip { max-width: min(440px, 37vw); }
.model-status-chip > span { overflow: hidden; text-overflow: ellipsis; }
.progress-list > div { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; } .progress-list .mark { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; border: 1.5px solid var(--line2); } .progress-list .done .mark { background: var(--ink); border-color: var(--ink); color: var(--white); } .progress-list .failed .mark { background: var(--red); border-color: var(--red); color: var(--white); }
.bar { position: relative; height: 8px; border-radius: 4px; background: var(--wash); overflow: hidden; } .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 4px; } .bar i.hatch { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, var(--hl) 6px 12px); } .bar i.none { background: repeating-linear-gradient(90deg, var(--line2) 0 5px, transparent 5px 10px); right: 0; }
@media (max-width: 760px) { .tl-row { grid-template-columns: 1fr; gap: 4px; } .tl-years { display: none; } .fbranch { grid-template-columns: 1fr; } .road { grid-auto-flow: row; grid-auto-columns: auto; } .stop { padding: 0 0 16px 30px; } .stop::before { top: 0; bottom: 0; left: 8px; right: auto; width: 3px; height: auto; } .stop .dot { top: 0; } .stop.here .dot { left: -3px; top: -2px; } }

img.art[data-library-image]{display:block;max-width:100%;max-height:100%;object-fit:contain}.lg-card-art img.art[data-library-image]{width:100%;height:100%}
/* The saved document has explicit recipient and internal parts in every design. */
.document-parts-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.document-parts-nav>.small{flex-basis:100%}
.document-parts-exports{margin-top:20px;padding:20px 0;border-top:1px solid var(--line)}
.document-parts-export-row{display:flex;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.document-contact-editor{margin:0 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:14px 16px}
.document-contact-editor summary{cursor:pointer;min-height:32px}
.document-contact-editor summary .small{display:block;margin:4px 0 0 18px}
.document-contact-editor fieldset{border:0;padding:0;margin:16px 0 0}
.document-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.document-contact-actor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:14px}
@media(max-width:640px){.document-contact-fields,.document-contact-actor{grid-template-columns:minmax(0,1fr)}.document-parts-export-row{align-items:start;flex-wrap:wrap}.document-parts-nav .seg{width:100%;display:flex}.document-parts-nav .seg button{flex:1}}
