/* Banking-specific additions; the CampaignOS styles.css is reused unchanged. */
/* Welcome and conversation share the same composer and campaign workspace. */
[hidden]{display:none!important}
.welcome-mode .workspace{grid-template-columns:minmax(0,1fr)}
.welcome-mode .workspace>.plan-area{display:none}
.chat-area,#dynamic-chat{overflow-anchor:none}
#welcome{max-width:720px;margin:0 auto 24px}
#welcome h1{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-.035em;font-weight:550;margin:0 0 16px}
#welcome p{font-size:16px;line-height:1.65;color:#55524e;max-width:64ch}
#welcome .welcome-scope{max-width:none;margin-top:18px;color:#615d58;font-size:12px;line-height:1.55}
.starter-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:10px 2px 0}
body:not(.welcome-mode) .starter-list{display:none}
.starter-list button{display:inline-flex;align-items:center;min-height:32px;max-width:100%;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);text-align:left;font:inherit;font-size:12px;line-height:1.35;cursor:pointer;color:var(--muted)}
.starter-list button:hover{border-color:var(--ink);color:var(--ink);background:var(--surface)}
#dynamic-chat .message{margin:16px 0}
#dynamic-chat .message-body{width:min(680px,90%)}
.message-owner{font-size:12px;font-weight:650;color:#4d4944;margin:0 2px 7px}
.message.user .message-owner{text-align:right}
#dynamic-chat .message-bubble{font-size:13px;line-height:1.45;padding:11px 14px;overflow-wrap:anywhere;color:#242321;background:#fff;border-color:#d7d4d0}
#dynamic-chat .message.user .message-bubble{background:#e6eef9;border-color:#cbd8ea;color:#172b46;border-bottom-right-radius:4px}
#dynamic-chat .message:not(.user) .message-bubble{border-bottom-left-radius:4px;white-space:normal}
#chat-suggestions,.strategy-pivots{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 16px}
.strategy-pivots{margin-top:0}
.suggestions-label{width:100%;font-size:12px;color:#615d58}
.chat-suggestion{border:1px solid #ccc7bf;border-radius:999px;background:transparent;color:#34312e;font:inherit;font-size:12px;padding:9px 13px;cursor:pointer}
.chat-suggestion:hover{background:#eeece8}
button:disabled{cursor:wait;opacity:.65}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #326da8;outline-offset:3px}
.composer:focus-within{border-color:#326da8;box-shadow:0 0 0 2px #326da826}
.composer textarea:focus-visible{outline:none}
.composer-toolbar{margin-top:6px}
.allocation-editor p,.allocation-editor label,.allocation-editor input,.allocation-editor select,.allocation-editor button{font-size:12px}
.allocation-editor p{margin:8px 0}
.composer{padding:12px 14px}
.composer textarea{height:26px;min-height:26px;max-height:26px;padding:2px 3px;line-height:22px;overflow-y:auto}
.report-card summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer}
.report-card summary::-webkit-details-marker{display:none}
.report-card summary::marker{content:''}
.report-card summary::before{content:'';width:7px;height:7px;flex:0 0 7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .18s ease}
.report-card details[open]>summary::before{transform:rotate(45deg)}
.chat-processing{display:flex;align-items:center;gap:10px;min-height:32px;margin:8px 0 10px;color:var(--muted);font-size:12px}
.chat-processing[hidden]{display:none}
.processing-dots{display:flex;align-items:center;gap:4px;height:20px}
.processing-dots i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:processing-pulse 1.2s ease-in-out infinite}
.processing-dots i:nth-child(2){animation-delay:.15s}.processing-dots i:nth-child(3){animation-delay:.3s}
.send-button{position:relative}
.request-in-progress .send-button svg{visibility:hidden}
.request-in-progress .send-button::after{content:'';position:absolute;width:16px;height:16px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:processing-spin .8s linear infinite}
@keyframes processing-pulse{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@keyframes processing-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.processing-dots i,.request-in-progress .send-button::after{animation:none}.report-card summary::before{transition:none}}
.composer textarea::placeholder{color:#69645f}
#keyboard-hint{font-size:11px;color:#615d58;margin:10px 2px}
#request-status{color:#494541}
#new-message{position:sticky;bottom:12px;background:#fff;z-index:2}
@media(max-width:760px){#dynamic-chat .message-body{width:95%}.welcome-mode .chat-area{padding-top:36px}.starter-list button{min-height:36px}#welcome .welcome-scope{max-width:48ch}.composer textarea{font-size:16px}}
#proposal-results .segments{grid-template-columns:repeat(3,minmax(0,1fr))}
#proposal-results .segment{min-width:0}
@media(max-width:760px){#proposal-results .segment{padding:8px}#proposal-results .segment-top{gap:4px;flex-wrap:wrap}#proposal-results .segment strong{font-size:13px}#proposal-results .segment-badge{width:24px;height:24px;flex:0 0 24px}}
#proposal-results,#proposal-actions{width:min(680px,100%)}
.report-card{width:100%;margin-left:0}.action-row{margin-left:0}
.table-scroll{overflow:auto}.report-card table{width:100%;min-width:0;border-collapse:collapse;font-size:11px}
.report-card th,.report-card td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.report-card th{color:var(--muted);font-weight:550}.report-card td small{display:block;color:var(--muted);margin-top:4px}
.table-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 0}
.table-page-status{color:var(--muted);font-size:10px;line-height:1.5;font-variant-numeric:tabular-nums}
.table-page-actions{display:flex;gap:6px}
.sidebar-campaign-name{font-size:12px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.plan-card #approve-button{width:100%;justify-content:center;margin-top:10px}
.plan-card #approval-note{margin:0;padding-bottom:0;overflow-wrap:anywhere}
.brief-summary{width:min(680px,100%);margin-left:0;font-size:12px}
.brief-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}
.brief-facts dt{color:var(--muted);font-size:10px;margin-bottom:4px}.brief-facts dd{margin:0;line-height:1.5;overflow-wrap:anywhere}
.mix-explanation{margin:12px 0;font-size:12px;line-height:1.6}.mix-explanation summary,.audience-breakdowns summary,.brief-summary summary{cursor:pointer}
.evidence-filters,#cohort-edit-form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:14px 0}
.evidence-filters label,#cohort-edit-form label{display:grid;gap:5px;font-size:11px;max-width:100%}
.evidence-filters select,#cohort-edit-form select,#cohort-edit-form input{max-width:100%;padding:6px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.audience-breakdowns{margin:16px 0}.audience-filter-options{margin-bottom:18px}.audience-filter-options small{color:var(--muted);font-size:10px}
.driver-list{margin:8px 0 14px;padding-left:18px;font-size:12px;line-height:1.6}
.evidence-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:12px 0}
.evidence-actions label{display:grid;gap:4px;font-size:11px}
.evidence-actions select{padding:6px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.why-selected summary{cursor:pointer;font-size:11px}
.why-selected p{margin:6px 0 0;font-size:11px;line-height:1.45;white-space:normal}
.why-selected span{display:block;color:var(--muted);font-size:9px}
.plan-comparison{margin:0 0 14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f6f5f2}
.plan-comparison h3{margin:0 0 8px;font-size:12px}
.plan-comparison p{margin:4px 0;font-size:12px;line-height:1.5}
.comparison-row{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:12px}
.comparison-row strong{font-weight:550;text-align:right}
.strategy-controls{margin:0 0 8px;padding:0 0 8px;border:0;border-bottom:1px solid var(--line)}
.strategy-controls legend{margin-bottom:12px;font-size:12px;font-weight:600}
.demo-data-line{white-space:pre-line}
.demo-data-open{margin:0 0 12px;padding:0;border:0;background:transparent;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.demo-profile{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.demo-profile h3{margin:0 0 4px;font-size:13px}
.demo-profile p{margin:0 0 8px;color:var(--muted);font-size:12px;line-height:1.5}
.demo-data-preview p{margin:6px 0;font-size:12px;line-height:1.5}
.demo-data-preview span{color:var(--muted)}
#brief-prospect-custom{margin-top:8px}
@media(max-width:520px){.brief-facts{grid-template-columns:1fr}}
.table-page-actions button:focus-visible{outline:2px solid #5576a7;outline-offset:2px}
.report-card td.table-empty{text-align:center;color:var(--muted);padding:20px 8px}
.report-card td:has(.week-cohorts){white-space:normal}
.week-cohorts{display:flex;flex-wrap:wrap;gap:4px;min-width:160px}
.week-cohort{display:inline-flex;align-items:center;gap:6px;min-height:22px;padding:2px 8px;border:1px solid var(--line);border-radius:999px;background:#f7f6f3;color:var(--ink);font-size:10px;line-height:1.3;white-space:nowrap}
.week-cohort span{color:var(--muted)}
.report-card .notice{padding:10px 12px;background:#fff5df;border:1px solid #e8d5a6;border-radius:8px;font-size:12px;line-height:1.5;margin-top:12px}
.report-card .notice-info{background:#f6f5f2;border-color:var(--line);color:var(--ink)}
.report-card .notice-error{background:#fdecec;border-color:#e7c1c1;color:#6d2a2a}
.report-card .side-note{margin:12px 4px}.number-input{width:100%;max-width:100%}
.drawer{overflow-y:auto}.action-btn:disabled{opacity:.6;cursor:not-allowed}
.message-bubble{white-space:normal}.message-bubble p{margin:0 0 10px;font-size:14px;line-height:1.55}.message-bubble p:last-child{margin-bottom:0}.message-bubble strong{font-weight:650}.message-bubble em{font-style:italic}.chat-table-scroll{overflow-x:auto;margin:8px 0 12px}.chat-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.4}.chat-table th,.chat-table td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.chat-table th{color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.chat-table td:nth-child(n+4){white-space:nowrap}.plan-card .week strong{font-size:12px;text-align:right}
#request-status{min-height:20px;scroll-margin-bottom:16px}.report-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
@media(max-width:760px){#request-status{scroll-margin-bottom:90px}}
.financial-context{display:flex;align-items:center;gap:9px;white-space:nowrap}
.brand-logo svg{width:24px;height:24px;flex:0 0 24px}
.bank-switcher{position:relative;display:flex;align-items:center}
.bank-select{height:36px;min-width:104px;padding:0 30px 0 12px;border:1px solid var(--line);border-radius:10px;appearance:none;background:var(--surface);color:var(--ink);font-size:12px;font-weight:560;cursor:pointer}
.bank-switcher svg{position:absolute;right:10px;width:13px;height:13px;color:var(--muted);pointer-events:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.metrics{grid-template-columns:repeat(2,1fr)}.report-card,.action-row{margin-left:0}.financial-context.top-right{grid-column:2;grid-row:1}}

#week-edit-form, #theme-edit-form { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:18px 0; }
#week-edit-form label, #theme-edit-form label { display:grid; gap:6px; }
#week-edit-form input, #theme-edit-form input { width:105px; }

/* Richer campaign overview, using the existing CampaignOS palette and cards. */
.plan-area{min-width:0;font-variant-numeric:tabular-nums}
.plan-area .side-head{align-items:center;gap:6px}
.plan-area .side-head>span{white-space:nowrap;color:var(--muted);font-size:10px}
.plan-area .journey-step{width:100%;border:0;background:transparent;text-align:left;font:inherit;font-size:11px;cursor:pointer;min-height:36px}
.plan-area .journey-step.current{background:var(--surface-2)}
.plan-area .journey-step.done>i{background:#e8f1ea;border-color:#d9e7dd;color:#3d7850}
.plan-area .journey-step small{margin-left:auto;font-size:9px;font-weight:400;color:var(--muted)}
.plan-area .journey-step.locked{opacity:1;color:var(--muted-2)}
.plan-area .journey-step:disabled{cursor:default}
.plan-area .journey-step:not(:disabled):hover{background:var(--surface-2)}
.plan-area button:focus-visible{outline:2px solid #5576a7;outline-offset:3px}
.journey-next{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.journey-next p{font-size:11px;line-height:1.55;margin:0 0 6px;color:var(--muted)}
.sidebar-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:32px;padding:4px 0;border:0;background:transparent;color:var(--ink);font-size:11px;font-weight:550;text-align:left;cursor:pointer}
.sidebar-link:hover:not(:disabled){text-decoration:underline;text-underline-offset:3px}
.sidebar-link:disabled{color:var(--muted-2);cursor:default}
.sidebar-link>span{font-size:15px;font-weight:400}
.sidebar-detail{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.sidebar-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.plan-card .sidebar-card-head h3{margin:0;font-size:12px}
.sidebar-tag{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:9px;white-space:nowrap}
.plan-status-line{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}
.plan-status-line strong{font-weight:500}
.status-dot{width:6px;height:6px;border-radius:50%;background:var(--muted-2);flex:0 0 6px}
.plan-status-line[data-tone=approved]{color:#3d7850}
.plan-status-line[data-tone=approved] .status-dot{background:var(--green)}
.plan-status-line[data-tone=attention]{color:#8a591e}
.plan-status-line[data-tone=attention] .status-dot{background:#b77c30}
.population-hero{display:flex;align-items:baseline;gap:8px;margin:14px 0 16px;flex-wrap:wrap}
.population-hero strong{font-size:30px;line-height:1;font-weight:550;letter-spacing:-.04em}
.population-hero>span{font-size:10px;color:var(--muted)}
.allocation-track{display:flex;height:6px;gap:2px;margin-top:12px;border-radius:999px;overflow:hidden;background:var(--surface-2)}
.split-treatment{background:var(--green)}.split-holdout{background:#b8b4af}
.sidebar-caption{margin:7px 0 12px;color:var(--muted);font-size:10px;line-height:1.55}
.plan-card .plan-insight{padding:9px 10px;margin:10px 0 0;border-radius:6px;background:var(--surface-2);line-height:1.55}
.plan-card .plan-insight.has-shortfall{background:#fff5df;color:#785321}
.sidebar-row-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}
.sidebar-row-head strong{font-size:12px;font-weight:600;white-space:nowrap}
.sidebar-row-head small{font-size:9px;font-weight:400;color:var(--muted)}
.sidebar-row-meta{display:flex;justify-content:space-between;gap:6px;margin-top:6px;font-size:9px;line-height:1.5;color:var(--muted)}
.outreach-row+.outreach-row{margin-top:13px}
.weekly-fill{background:#7397df}
.weekly-holdout{display:block;margin-top:5px;font-size:9px;color:var(--muted)}
.sidebar-segment+.sidebar-segment{margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}
.segment-identity{display:flex;align-items:center;gap:8px;min-width:0;font-size:10px;line-height:1.4}
.segment-identity .segment-badge{width:24px;height:24px;flex:0 0 24px;font-size:10px}
.plan-area .theme-top{align-items:flex-start;line-height:1.5}
.plan-area .theme-top>strong{white-space:nowrap;font-weight:600}
.plan-area .theme-name{align-items:flex-start;gap:7px}
.plan-area .theme-dot{flex:0 0 6px;width:6px;height:6px;margin-top:5px}
.sidebar-empty{padding:7px 0 2px;color:var(--muted);font-size:11px;line-height:1.6}
.sidebar-empty p{margin:5px 0}
.empty-bars{display:flex;align-items:flex-end;gap:5px;height:25px;margin:3px 0 10px}
.empty-bars i{width:25px;height:100%;background:var(--surface-2);border-radius:3px}
.empty-bars i:nth-child(3){height:80%}.empty-bars i:nth-child(4){height:50%}
#proposal-results{scroll-margin-top:125px}
/* Keep the desktop workspace in the viewport; each column owns its scroll. */
@media(min-width:1041px){
 html,body{height:100%;overflow:hidden}
 .app-shell{height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr)}
 .workspace{min-height:0;overflow:hidden}
 .workspace>.chat-area,.workspace>.plan-area{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b8b4af transparent}
 #proposal-results{scroll-margin-top:20px}
}
.workspace>.chat-area:focus-visible,.workspace>.plan-area:focus-visible{outline:2px solid #5576a7;outline-offset:-2px}
@media(max-width:1040px){
 .workspace{grid-template-columns:minmax(0,1fr)}
 .workspace>.plan-area{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-left:0;border-top:1px solid var(--line);padding:24px}
 .plan-area .journey{grid-column:1/-1;margin-bottom:0}
 .plan-area .plan-card+.plan-card{margin-top:0}
 .plan-area .sidebar-outcome{grid-column:1/-1;margin:0}
}
@media(max-width:520px){.workspace>.plan-area{grid-template-columns:minmax(0,1fr);padding:20px 16px}.plan-area .sidebar-link{min-height:40px}.plan-area .journey-step{min-height:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.journey-bar span{transition:none}}

.segment-badge.c{background:#f4eadb;color:#86652f}.sidebar-segment .segment-badge.c{background:#f4eadb;color:#86652f}#prospect-edit-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:16px}

/* Draft review: two clearly separated, full-content tables. */
#proposal-results:has(.drafts-report),.chat-thread:has(.drafts-report){width:100%}
.report-card.drafts-report{padding:20px;background:#fdfcfb;border-color:#dcd9d4;border-radius:16px;box-shadow:0 4px 18px #201e1d05}
.drafts-report .report-tabs{padding-bottom:16px;margin-bottom:0;border-bottom:1px solid #e9e6e1;gap:5px}
.drafts-report .report-tabs .action-btn{min-height:32px;font-size:11px}
.drafts-report .report-tabs .primary-action{background:var(--dark);border-color:var(--dark);color:#fff}
.drafts-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0}
.drafts-header h2{margin:0;font-size:25px;line-height:1.2;letter-spacing:-.045em;font-weight:600}
.draft-intro{font-size:12px;line-height:1.6;margin:8px 0 0;color:var(--muted)}
.drafts-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #d9e5db;border-radius:999px;background:#f1f6f1;color:#45684d;font-size:10px;font-weight:550;white-space:nowrap}
.drafts-status>span{width:5px;height:5px;border-radius:50%;background:#618467}
.draft-section{border:1px solid #dedbd6;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 4px #201e1d03}
.draft-section+.draft-section{margin-top:24px}
.draft-section-header{display:flex;align-items:center;gap:12px;padding:18px 16px;background:linear-gradient(110deg,#f9faf8,#fff)}
.draft-section-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #dce4de;border-radius:10px;background:#edf3ed;color:#536c59}
.draft-section-icon svg{width:17px;height:17px}
.draft-section-header h3{font-size:15px;font-weight:600;letter-spacing:-.025em;margin:0;line-height:1.4}
.draft-section-header p{font-size:11px;line-height:1.5;color:var(--muted);margin:4px 0 0}
.draft-count{margin-left:auto;padding:4px 8px;border:1px solid #e2dfda;border-radius:6px;background:#fff;font-size:10px;color:#6e6b65;white-space:nowrap;font-variant-numeric:tabular-nums}
.drafts-table>.paginated-table>.table-scroll{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c7c5bd #f4f3f0}
.drafts-table>.paginated-table>.table-scroll>table{table-layout:fixed;min-width:760px}
.drafts-report .drafts-table th{padding:12px 14px;border-top:1px solid #e4e4de;border-bottom:1px solid #dedfd8;background:#f0f2ed;color:#60685e;font-size:9px;letter-spacing:.07em;text-transform:uppercase;font-weight:650}
.drafts-report .drafts-table td{padding:20px 14px;border-bottom:1px solid #e9e7e2;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.6;vertical-align:top;transition:background .15s ease}
.drafts-report .drafts-table tr:last-child td{border-bottom:0}
.drafts-report .drafts-table tbody tr:hover td{background:#fcfcf9}
.email-drafts th:nth-child(1){width:10%}.email-drafts th:nth-child(2){width:15%}.email-drafts th:nth-child(3){width:19%}.email-drafts th:nth-child(4){width:38%}.email-drafts th:nth-child(5){width:18%}
.document-drafts th:nth-child(1){width:17%}.document-drafts th:nth-child(2){width:20%}.document-drafts th:nth-child(3){width:45%}.document-drafts th:nth-child(4){width:18%}
.draft-identity{display:grid;gap:9px}.draft-identity>strong{font-size:12px;font-weight:600;line-height:1.5}
.draft-version{width:fit-content;padding:2px 6px;border:1px solid #e4e1da;border-radius:5px;color:#777168;background:#f9f8f5;font-size:9px;white-space:nowrap}
.draft-theme{display:inline-block;padding:5px 8px;border:1px solid #dce7de;border-radius:7px;background:#edf4ef;color:#48654e;font-size:10px;font-weight:550;line-height:1.5}
.draft-theme[data-theme="1"]{background:#edf2fa;border-color:#dce4f1;color:#516b8b}
.draft-theme[data-theme="2"]{background:#f3eff9;border-color:#e5def0;color:#76608e}
.draft-subject,.draft-document-title{font-size:12px;font-weight:550;color:#343b33;line-height:1.6}
.draft-purpose{color:#746f67;font-size:11px;line-height:1.65}
.asset-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#4f504a;margin:0}
.draft-document-title{display:block;margin-bottom:10px}
.asset-controls{position:relative;margin:0}
.asset-controls::after{content:'';position:absolute;right:11px;top:15px;width:6px;height:6px;border-right:1.5px solid #63705f;border-bottom:1.5px solid #63705f;transform:rotate(45deg);pointer-events:none}
.asset-controls select{display:block;appearance:none;width:100%;min-width:0;min-height:38px;padding:9px 24px 9px 9px;border:1px solid #d9ded3;border-radius:8px;background:#f9fbf7;color:#43583f;font:inherit;font-size:10px;font-weight:550;cursor:pointer;box-shadow:0 1px 2px #201e1d04}
.asset-controls select:hover:not(:disabled){background:#f0f5eb;border-color:#a4b19b}
.asset-controls select:disabled{opacity:.55;cursor:not-allowed}
.draft-section-note{margin:0;padding:11px 16px;border-top:1px solid #e9e7e2;background:#fcfbf9;color:#7a746d;font-size:10px;line-height:1.5}
.drafts-footer{font-size:10px;line-height:1.6;color:#777168;margin:16px 2px 0}
.drafts-table .table-pagination{padding:12px 16px;border-top:1px solid #e9e7e2}
@media(min-width:1041px){.workspace:has(.drafts-report){grid-template-columns:minmax(0,1fr) 288px}.chat-area:has(.drafts-report){padding-inline:24px}}
@media(max-width:760px){.report-card.drafts-report{padding:12px;border-radius:12px}.drafts-header{padding:20px 2px;align-items:flex-start}.drafts-header h2{font-size:22px}.draft-section-header{padding:16px 12px;gap:9px;flex-wrap:wrap}.draft-section-header>div{flex:1;min-width:0}.draft-section-header h3{font-size:14px}.draft-count{margin-left:43px}.drafts-status{font-size:9px;padding:5px 7px}.drafts-report .report-tabs{gap:5px}.drafts-report .report-tabs .action-btn{padding:0 10px}.drafts-table>.paginated-table>.table-scroll>table{min-width:760px}.asset-controls select{min-height:44px}.asset-controls::after{top:17px}}
@media(prefers-reduced-motion:reduce){.drafts-report .drafts-table td{transition:none}}
