.round-stack{display:grid;gap:18px}.round-row{display:flex;gap:8px;align-items:center;margin:12px 0;flex-wrap:wrap}.round-row>input{flex:1;min-width:150px}.round-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.round-card{padding:16px;margin:12px 0;border:1px solid #dce1e8;border-radius:12px;background:white}.round-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.round-stats>div{background:#f3f5f8;padding:16px;border-radius:10px}.round-stats strong{display:block;font-size:20px;margin-top:8px}.round-link{display:inline-block;border:1px solid #ccd3de;padding:8px 12px;border-radius:7px;color:#174f87;background:white}.round-share{width:100%;padding:12px;background:#f3f5f8;display:flex;gap:8px;flex-wrap:wrap}.round-share input{flex:1;min-width:220px}.round-share p{width:100%}select{border:1px solid #ccd3de;border-radius:7px;padding:9px;background:white;color:#17202b;max-width:100%}details summary{cursor:pointer;font-weight:bold;margin-bottom:12px}.panel h2,.panel h3{font-weight:bold;font-size:18px;margin-bottom:12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));overflow:auto;gap:1px;margin-top:20px;background:#dce1e8;border:1px solid #dce1e8}.calendar-grid>strong{padding:10px;text-align:center;background:#f4f6f9}.calendar-day{background:white;min-height:135px;padding:8px}.other-month{background:#f4f6f9;color:#87919f}.calendar-event{display:block;width:100%;text-align:left;background:#e9f4ff;color:#16426d;border-radius:6px;padding:8px;margin:7px 0;font-size:11px;overflow-wrap:anywhere}.calendar-event span{display:block}.calendar-event.overdue{background:#fff0e8;color:#944329}@media(max-width:700px){.round-stats{grid-template-columns:1fr}.calendar-grid{grid-template-columns:repeat(7,120px)}}
/* Semantic status colors keep labels readable without depending on color alone. */
.tone-blue{--tone:#1d4ed8;--tone-ink:#1e3a8a;--tone-bg:#eff6ff;--tone-border:#93c5fd}.tone-cyan{--tone:#0e7490;--tone-ink:#155e75;--tone-bg:#ecfeff;--tone-border:#67e8f9}.tone-purple{--tone:#7e22ce;--tone-ink:#581c87;--tone-bg:#faf5ff;--tone-border:#d8b4fe}.tone-amber{--tone:#b45309;--tone-ink:#78350f;--tone-bg:#fffbeb;--tone-border:#fcd34d}.tone-green{--tone:#15803d;--tone-ink:#14532d;--tone-bg:#f0fdf4;--tone-border:#86efac}.tone-red{--tone:#b91c1c;--tone-ink:#7f1d1d;--tone-bg:#fef2f2;--tone-border:#fca5a5}.tone-slate{--tone:#475569;--tone-ink:#334155;--tone-bg:#f1f5f9;--tone-border:#cbd5e1}
.badge[class*="tone-"]{background:var(--tone-bg);color:var(--tone-ink);border:1px solid var(--tone-border);font-weight:650}.stage-column{border-top:5px solid var(--tone);background:var(--tone-bg)}.stage-column>h2{color:var(--tone-ink);padding-bottom:12px;border-bottom:1px solid var(--tone-border)}.stage-column .lead{border-left:3px solid var(--tone);background:#fff}.stage-tab[class*="tone-"]{background:var(--tone-bg);color:var(--tone-ink);border-color:var(--tone-border)}.stage-tab[aria-selected="true"]{box-shadow:0 0 0 2px var(--tone,#334155);font-weight:750}.stage-control{border-left:4px solid var(--tone);padding-left:8px}.stage-control button{background:var(--tone-bg);color:var(--tone-ink);border-color:var(--tone-border)}
.section-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#f1f5f9;border:1px solid #dce1e8;border-radius:12px;margin-bottom:8px}.section-tabs button{padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-weight:600;cursor:pointer}.section-tabs button[aria-selected="true"]{background:#17202b;color:#fff;border-color:#17202b;box-shadow:inset 0 -3px #facc15}.section-tabs button:focus-visible,.stage-tab:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.back-button{width:fit-content;margin:0 0 10px}.metrics .metric{border-top:4px solid #2563eb}.metrics .metric:nth-child(2){border-top-color:#7e22ce}.metrics .metric:nth-child(3){border-top-color:#b45309}.metrics .metric:nth-child(4){border-top-color:#15803d}.conversation-panel{border-top:4px solid #0e7490}[hidden]{display:none!important}
@media(max-width:700px){.section-tabs{flex-wrap:nowrap;overflow-x:auto}.section-tabs button{white-space:nowrap;flex-shrink:0}}
.document-workspace-dialog{width:calc(100vw - 32px)!important;max-width:1600px!important;height:92vh;max-height:92vh;padding:22px!important;display:flex!important;flex-direction:column;overflow:hidden;gap:12px!important}.document-workspace-dialog>button.back-button{flex-shrink:0}.document-workspace-layout{display:grid;grid-template-columns:minmax(390px,.9fr) minmax(430px,1.1fr);gap:22px;min-height:0;flex:1}.document-workspace-layout>form{overflow-y:auto;padding:4px 10px 28px 2px;min-width:0;align-content:start}.live-preview{display:flex;flex-direction:column;min-height:0;min-width:0;background:#e9edf2;border:1px solid #cbd5e1;border-radius:12px;overflow:hidden}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;background:#fff;border-bottom:1px solid #cbd5e1}.preview-heading p{font-size:11px;color:#64748b;margin-top:5px}.preview-heading>span{font-size:11px;color:#475569;white-space:nowrap}.live-preview iframe{width:100%;height:100%;flex:1;border:0;min-height:320px;background:#e9edf2}.preview-empty{padding:36px;text-align:center;color:#64748b}.preview-error{background:#fff1f2;color:#9f1239;padding:10px 14px;font-size:12px}
@media(max-width:950px){.document-workspace-dialog{height:94vh;width:calc(100vw - 16px)!important;padding:16px!important;overflow-y:auto}.document-workspace-layout{display:flex;flex-direction:column;flex:none}.document-workspace-layout>form{overflow:visible}.live-preview{height:70vh;min-height:440px;flex:none}}
.search-choice-trigger{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:38px;text-align:left;padding:8px 12px;background:#fff;border:1px solid #ccd3de;border-radius:7px;color:#17202b;font-size:14px;cursor:pointer}.search-choice-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-choice-trigger:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.search-choice-trigger:disabled{opacity:.65;cursor:default}.search-choice-popup{z-index:100!important;padding:0!important;width:var(--radix-popover-trigger-width)!important;min-width:260px;max-width:calc(100vw - 24px)}.search-choice-popup [cmdk-list]{max-height:280px;overflow-y:auto}.search-choice-popup [cmdk-item]{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;cursor:pointer}.search-choice-popup [cmdk-item][data-selected="true"]{background:#e9f4ff;color:#16426d}.search-choice-label{white-space:normal;overflow-wrap:anywhere}.search-choice-hint{padding:10px 12px;font-size:11px;color:#64748b;border-top:1px solid #dce1e8}
.search-checklist>input{width:100%;border:1px solid #ccd3de;border-radius:7px;padding:8px 12px;background:#fff}.search-checklist-options{max-height:220px;overflow-y:auto;border:1px solid #dce1e8;border-radius:8px;padding:8px;background:white}.search-checklist-options>label{display:flex;gap:10px;padding:8px;align-items:center;cursor:pointer}.search-checklist-options>label:has(input:checked){background:#eff6ff;border-radius:6px;color:#1e3a8a}

/* Operations round */
.purchase-card,.notice-card{padding:20px;margin:16px 0;border:1px solid #cbd5e1;border-left:5px solid #f59e0b;border-radius:12px;background:#fff}.purchase-card.paid{border-left-color:#059669;background:#f0fdf4}.purchase-heading,.finance-row,.invoice-link{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.invoice-link{padding:10px;border-radius:8px;background:#ecfdf5;margin-top:8px}.invoice-link a,.purchase-card a{color:#0369a1;text-decoration:underline}.payment-report{margin-top:12px;padding:14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.notice-card{border-left-color:#cbd5e1}.notice-card.unread{border-left-color:#2563eb;background:#eff6ff}.finance-row{padding:16px 0;border-bottom:1px solid #e2e8f0}.payment-editor{position:sticky;bottom:0;box-shadow:0 -8px 30px #0f172a20}.item-add-bar{position:sticky;top:0;z-index:20;padding:14px;background:#fff8dd;border:2px solid #fbbf24;border-radius:10px}.doc-items{display:grid;gap:20px}.doc-item{border:2px solid #cbd5e1!important;padding:18px!important;border-radius:12px!important;box-shadow:0 4px 12px #0f172a08}.doc-item.item-service{border-color:#c4b5fd!important;background:#f5f3ff}.doc-item.item-ads{border-color:#93c5fd!important;background:#eff6ff}.item-group-badge{display:inline-block;margin-bottom:12px;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:700;background:#dbeafe;color:#1e40af}.item-service .item-group-badge{background:#ede9fe;color:#6d28d9}.doc-item textarea,.doc-item input{background:#fff}.round-actions>input{min-width:160px;max-width:350px}.round-card small{overflow-wrap:anywhere}
