.cx-workspace { flex:1; min-width:0; min-height:0; overflow:hidden; background:#f7f9fc; color:#14243a; }
.cx-workspace * { box-sizing:border-box; letter-spacing:0; }
.cx-workspace button,.cx-workspace input,.cx-workspace textarea,.cx-workspace select { font:inherit; }
.cx-workspace button { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1px solid #c8d5e6; border-radius:4px; background:#fff; color:#174a85; padding:7px 10px; cursor:pointer; }
.cx-workspace button:hover { background:#edf4ff; }.cx-workspace button:disabled { opacity:.48; cursor:default; }.cx-workspace button.primary { background:#1460e8; border-color:#1460e8; color:#fff; }
.cx-workspace button.danger { color:#a5232d; border-color:#e8b8bd; }.cx-workspace svg { width:16px; height:16px; flex:none; }
.cx-workspace input,.cx-workspace textarea,.cx-workspace select { width:100%; min-width:0; border:1px solid #bdcce0; border-radius:4px; background:#fff; color:#14243a; padding:8px; }
.cx-workspace textarea { resize:vertical; }.cx-workspace input[type=checkbox] { width:16px; height:16px; padding:0; }
.cx-workspace button:focus-visible,.cx-workspace input:focus-visible,.cx-workspace textarea:focus-visible,.cx-workspace select:focus-visible { outline:2px solid #1f63e8; outline-offset:2px; }
.cx-workspace h2,.cx-workspace h3,.cx-workspace h4,.cx-workspace p { margin:0; }.cx-workspace h2 { font-size:calc(23px + var(--dw-font-adjust, 2px)); }.cx-workspace h3 { font-size:calc(14px + var(--dw-font-adjust, 2px)); }.cx-workspace h4 { font-size:calc(12px + var(--dw-font-adjust, 2px)); }.cx-workspace small { color:#60728a; font-size:calc(11px + var(--dw-font-adjust, 2px)); line-height:1.4; }
.cx-app-shell { height:100%; min-height:0; display:grid; grid-template-columns:230px minmax(0,1fr); }
.cx-library { min-width:0; min-height:0; display:flex; flex-direction:column; gap:8px; padding:12px 10px; border-right:1px solid #d4dfed; background:#f3f6fa; }
.cx-library>header { display:flex; align-items:center; justify-content:space-between; gap:8px; }.cx-library>header h3 { font-size:calc(14px + var(--dw-font-adjust, 2px)); }.cx-library>header button { padding:6px; }.cx-library>input,.cx-library>select { padding:7px; }
.cx-record-list { min-height:0; overflow:auto; display:grid; align-content:start; gap:5px; }.cx-record-list>button { display:block; width:100%; text-align:left; padding:9px; color:#213650; }.cx-record-list>button strong,.cx-record-list>button span,.cx-record-list>button small { display:block; }.cx-record-list>button strong { font-size:calc(12px + var(--dw-font-adjust, 2px)); line-height:1.35; overflow-wrap:anywhere; }.cx-record-list>button span { margin-top:4px; font-size:calc(10px + var(--dw-font-adjust, 2px)); color:#60728a; }.cx-record-list>button.selected { background:#e3efff; border-color:#3d7ce8; box-shadow:inset 3px 0 #1e64e8; }
.cx-status { margin-top:5px; }.cx-status.confirmed { color:#137342; }.cx-status.needs_review { color:#9c5700; }.cx-status.not_a_contradiction { color:#72556d; }
.cx-main { min-width:0; min-height:0; overflow:auto; background:#fff; }
.cx-page-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:14px 16px 11px; border-bottom:1px solid #d4dfed; }.cx-page-header>div:first-child { min-width:0; }.cx-page-header>div:first-child>span { display:block; color:#2361b5; font-size:calc(10px + var(--dw-font-adjust, 2px)); font-weight:700; }.cx-title-line { display:flex; align-items:center; gap:8px; min-width:0; }.cx-page-header h2 { margin-top:3px; overflow-wrap:anywhere; }.cx-title-line .cx-rename { display:inline-grid; flex:0 0 30px; place-items:center; width:30px; min-width:30px; height:30px; margin-top:3px; padding:5px; }.cx-title-line .cx-rename svg { width:15px; height:15px; }.cx-title-line .cx-presentation-launch { flex:none; min-height:30px; margin-top:3px; padding:5px 9px; border-color:#80a9df; background:#edf5ff; color:#174f9b; font-weight:700; }.cx-title-line .cx-presentation-launch:hover { border-color:#2d6fca; background:#dfeeff; }.cx-title-line .cx-presentation-launch svg { width:15px; height:15px; }.cx-page-header p { margin-top:3px; color:#50657f; font-size:calc(12px + var(--dw-font-adjust, 2px)); }.cx-page-actions { display:flex; align-items:center; gap:7px; flex:none; }.cx-save-status { color:#24714c; font-size:calc(11px + var(--dw-font-adjust, 2px)); font-weight:700; white-space:nowrap; }.cx-save-status.dirty { color:#9a5a00; }.cx-save-status.failed { color:#b4232b; }
.cx-template-tabs { display:flex; gap:4px; padding:8px 14px; overflow-x:auto; border-bottom:1px solid #d4dfed; background:#f9fbfe; }.cx-template-tabs button { flex:none; white-space:nowrap; font-size:calc(11px + var(--dw-font-adjust, 2px)); }.cx-template-tabs button.selected { background:#1763ea; border-color:#1763ea; color:#fff; }
.cx-commandbar { display:flex; align-items:center; gap:7px; padding:8px 14px; border-bottom:1px solid #d4dfed; background:#fff; }.cx-commandbar .cx-view-toggle:first-of-type { margin-left:auto; }.cx-view-toggle,.cx-switch { display:flex; align-items:center; gap:6px; margin:0; font-size:calc(11px + var(--dw-font-adjust, 2px)); color:#425872; }
.cx-work-area { min-height:calc(100vh - 230px); display:grid; grid-template-columns:minmax(0,1fr) clamp(370px,25vw,460px); }.cx-center { min-width:0; padding:12px; overflow:hidden; }.cx-inspector { min-width:0; border-left:1px solid #d4dfed; background:#fbfcfe; }.cx-data-inspector { display:flex; min-height:0; flex-direction:column; background:#fff; }
.cx-matrix-section { border:1px solid #cbd8e8; background:#fff; }.cx-matrix-section>header,.cx-timeline-section>header,.cx-summary>header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 10px; border-bottom:1px solid #d4dfed; }.cx-matrix-section>header>div { display:flex; align-items:baseline; gap:9px; }
.cx-matrix-scroll { overflow:auto; }.cx-matrix { width:100%; min-width:940px; border-collapse:collapse; table-layout:fixed; }.cx-matrix th,.cx-matrix td { border-right:1px solid #d8e2ef; border-bottom:1px solid #d8e2ef; vertical-align:top; }.cx-matrix th:last-child,.cx-matrix td:last-child { border-right:0; }.cx-matrix thead th { background:#eaf2fc; padding:0; }.cx-matrix .cx-topic-head { width:190px; padding:12px; text-align:left; font-size:calc(11px + var(--dw-font-adjust, 2px)); }
.cx-column-button,.cx-row-button { width:100%; min-height:58px; border:0!important; border-radius:0!important; background:transparent!important; color:#173e72!important; display:flex!important; flex-direction:column; align-items:flex-start!important; text-align:left; padding:9px 10px!important; }.cx-column-button strong,.cx-row-button strong { font-size:calc(12px + var(--dw-font-adjust, 2px)); line-height:1.3; }.cx-column-button small { margin-top:3px; }.cx-row-button { flex-direction:row; justify-content:space-between!important; color:#152d4f!important; }.cx-row-button svg { width:13px; }
.cx-cell { position:relative; min-height:86px; padding:7px; background:#fff; }.cx-cell:nth-child(2) { background:#f5fbff; }.cx-cell:nth-child(3) { background:#fff8f8; }.cx-cell:nth-child(4) { background:#f5fbf8; }.cx-cell:nth-child(5) { background:#fffaf1; }.cx-cell.selected { box-shadow:inset 0 0 0 2px #2470ee; }.cx-cell-target { position:absolute; inset:0; z-index:0; width:100%; height:100%; border:0!important; background:transparent!important; padding:0!important; }
.cx-cell-items { position:relative; z-index:1; display:grid; gap:5px; pointer-events:none; }.cx-cell-item { pointer-events:auto; display:block!important; width:100%; text-align:left; padding:7px!important; color:#1c3556!important; border-color:#d7e1ed!important; background:rgba(255,255,255,.92)!important; }.cx-cell-item:hover,.cx-cell-item.selected { border-color:#4c84e8!important; box-shadow:0 1px 3px #183b7020; }.cx-cell-item strong,.cx-cell-item p,.cx-cell-item time { display:block; }.cx-cell-item strong { font-size:calc(11px + var(--dw-font-adjust, 2px)); line-height:1.35; overflow-wrap:anywhere; }.cx-cell-item p { margin-top:4px; font-size:calc(10px + var(--dw-font-adjust, 2px)); line-height:1.35; color:#4d6178; }.cx-cell-item time { margin-top:4px; color:#647892; font-size:calc(9px + var(--dw-font-adjust, 2px)); }.cx-kind { display:flex; align-items:center; gap:4px; color:#2863ac; font-size:calc(9px + var(--dw-font-adjust, 2px)); margin-bottom:3px; }.cx-kind svg { width:11px; height:11px; }.cx-linked-evidence { display:inline-flex; align-items:center; gap:3px; margin-left:auto; padding:2px 5px; border:1px solid #c9d7ea; border-radius:4px; background:#eef5ff; color:#275ea5; font-weight:700; line-height:1; }.cx-linked-evidence svg { width:10px; height:10px; }
.cx-cell-add { position:relative; z-index:1; margin-top:6px; padding:4px 6px!important; font-size:calc(10px + var(--dw-font-adjust, 2px))!important; background:rgba(255,255,255,.88)!important; }.cx-insert-row td { padding:3px!important; background:#f5f9ff; }.cx-insert-row button { width:100%; border-style:dashed; padding:4px; font-size:calc(10px + var(--dw-font-adjust, 2px)); }
.cx-lower { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:10px; margin-top:10px; align-items:start; }.cx-timeline-section,.cx-summary { min-width:0; border:1px solid #cbd8e8; background:#fff; }.cx-timeline-section>header>div { display:flex; align-items:center; gap:8px; }.cx-timeline-scroll { overflow:auto; }.cx-timeline { min-width:max(720px,calc(155px + var(--date-count) * 150px)); display:grid; grid-template-columns:155px repeat(var(--date-count),minmax(150px,1fr)); }.cx-time-corner,.cx-timeline>time { min-height:32px; display:flex; align-items:center; justify-content:center; padding:6px; border-bottom:1px solid #d6e1ee; border-right:1px solid #d6e1ee; background:#f7f9fc; color:#536780; font-size:calc(10px + var(--dw-font-adjust, 2px)); font-weight:600; }.cx-lane-label { min-height:70px; padding:10px; border-right:1px solid #d6e1ee; border-bottom:1px solid #d6e1ee; }.cx-lane-label strong,.cx-lane-label small { display:block; }.cx-lane-label strong { font-size:calc(11px + var(--dw-font-adjust, 2px)); }.cx-time-slot { position:relative; min-height:70px; display:flex; align-items:center; justify-content:center; gap:5px; padding:8px; border-right:1px solid #d6e1ee; border-bottom:1px solid #d6e1ee; }.cx-time-slot:before { content:""; position:absolute; left:0; right:0; top:50%; height:2px; background:#b9c7da; }.cx-time-slot button { position:relative; z-index:1; display:block; max-width:135px; padding:6px!important; text-align:left; color:#1a365c!important; background:#fff!important; box-shadow:0 1px 3px #1b375d24; }.cx-time-slot button i { position:absolute; width:8px; height:8px; border-radius:50%; top:-5px; left:calc(50% - 4px); background:#2268e4; }.cx-time-slot button strong { font-size:calc(9px + var(--dw-font-adjust, 2px)); line-height:1.25; }.lane-0 { background:#edf5ff; }.lane-1 { background:#fff0f1; }.lane-2 { background:#ecfaf3; }.lane-3 { background:#fff7e7; }
.cx-summary>header { align-items:flex-start; }.cx-summary>header h3 { display:flex; gap:6px; }.cx-summary>div { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:8px; }.cx-summary>div button { min-height:68px; display:flex; flex-direction:column; align-items:flex-start; text-align:left; color:#213750; }.cx-summary>div strong { font-size:calc(21px + var(--dw-font-adjust, 2px)); }.cx-summary>div span { font-size:calc(9px + var(--dw-font-adjust, 2px)); line-height:1.25; }.cx-summary .red { background:#fff0f0; border-color:#f0b8bd; color:#b5232f; }.cx-summary .amber { background:#fff7e9; border-color:#edcf91; color:#9a5a00; }.cx-summary .purple { background:#f6efff; border-color:#d7bff3; color:#713bb0; }.cx-summary .blue { background:#eef5ff; border-color:#bdd3f3; color:#1a58ad; }
.cx-inspector>header { position:sticky; top:0; z-index:4; display:flex; align-items:flex-start; justify-content:space-between; gap:8px; min-height:54px; padding:12px; border-bottom:1px solid #d4dfed; background:#fff; }.cx-inspector>header h3 { font-size:calc(15px + var(--dw-font-adjust, 2px)); }.cx-inspector>header button { padding:5px; }.cx-inspector-body { padding:12px; }.cx-inspector label { display:block; margin:0 0 11px; color:#263c58; font-size:calc(11px + var(--dw-font-adjust, 2px)); font-weight:650; }.cx-inspector label input,.cx-inspector label textarea,.cx-inspector label select { margin-top:5px; font-weight:400; }.cx-two { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.cx-check { display:flex!important; align-items:flex-start; gap:7px; font-weight:400!important; line-height:1.35; }.cx-check input { margin-top:0!important; flex:none; }
.cx-data-tabs { display:grid; flex:0 0 auto; grid-template-columns:1fr 1fr; border-bottom:1px solid #d6dee8; background:#f7f9fc; }.cx-data-tabs button { min-width:0; min-height:44px; border:0; border-bottom:3px solid transparent; border-radius:0; background:transparent; }.cx-data-tabs button[aria-selected=true] { border-bottom-color:#1769e0; background:#fff; color:#115abf; }.cx-data-tabs button small { display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:#dfe9f7; color:#274e7e; }
.cx-data-panel,.cx-evidence-panel { flex:1; min-height:0; overflow:auto; }.cx-source-heading { display:grid; grid-template-columns:28px minmax(0,1fr) 34px; align-items:center; gap:8px; }.cx-source-heading>span { display:grid; place-items:center; width:28px; height:28px; color:#275ea5; }.cx-source-heading>div { min-width:0; }.cx-source-heading>div small,.cx-source-heading>div strong { display:block; overflow-wrap:anywhere; }.cx-source-heading>div strong { margin-top:2px; }.cx-source-heading .cx-icon-button,.cx-evidence-list .cx-icon-button { width:32px; min-width:32px; height:32px; padding:5px; }
.cx-source-preview { margin:12px 0; border:1px solid #d6e1ed; padding:10px; background:#fff; }.cx-source-preview>strong { display:block; margin:7px 0; font-size:calc(12px + var(--dw-font-adjust, 2px)); }.cx-source-preview p,.cx-source-preview blockquote { white-space:pre-wrap; overflow-wrap:anywhere; max-height:220px; overflow:auto; font-size:calc(11px + var(--dw-font-adjust, 2px)); line-height:1.45; }.cx-source-preview blockquote { margin:7px 0; padding:8px; border-left:3px solid #6da0e2; background:#f3f7fc; }
.cx-source-preview dl { display:grid; grid-template-columns:62px minmax(0,1fr); gap:6px; margin:10px 0 0; padding-top:8px; border-top:1px solid #e0e7f0; font-size:calc(10px + var(--dw-font-adjust, 2px)); }.cx-source-preview dt { color:#60728a; font-weight:700; }.cx-source-preview dd { margin:0; }
.cx-evidence-panel { padding:12px; }.cx-evidence-panel>header { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin-bottom:8px; }.cx-evidence-panel>header small { display:block; margin-top:3px; }.cx-evidence-panel>header>span { display:grid; place-items:center; min-width:25px; height:25px; border-radius:13px; background:#e6eef9; color:#285783; font-weight:700; }.cx-evidence-list { display:grid; margin-bottom:12px; }.cx-evidence-list article { display:grid; grid-template-columns:32px minmax(0,1fr) 32px; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid #e0e7ef; }.cx-evidence-kind { display:grid; place-items:center; width:30px; height:30px; border:1px solid #c6b5df; border-radius:4px; background:#f7f1ff; color:#6743a0; }.cx-evidence-kind svg { width:16px; height:16px; }.cx-evidence-list article>div { min-width:0; }.cx-evidence-list strong,.cx-evidence-list small { display:block; overflow-wrap:anywhere; }.cx-evidence-list small { margin-top:3px; }
.cx-inspector-actions,.cx-capture-actions { display:flex; flex-wrap:wrap; gap:6px; }.cx-capture-actions { padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid #d7e1ed; }.cx-capture-actions h4 { width:100%; }.cx-inspector-list { display:grid; gap:6px; margin-top:8px; }.cx-inspector-list>button { width:100%; justify-content:flex-start; text-align:left; }.cx-inspector-list>button>div { flex:1; min-width:0; }.cx-inspector-list strong,.cx-inspector-list small { display:block; overflow-wrap:anywhere; }.cx-tags { padding:10px 0; border-top:1px solid #d7e1ed; }.cx-tags>div { display:flex; flex-wrap:wrap; gap:4px; margin:7px 0; font-size:calc(11px + var(--dw-font-adjust, 2px)); color:#60728a; }.cx-tags>div>span { display:inline-flex; align-items:center; gap:4px; background:#e8f1ff; color:#174a85; padding:3px 6px; }.cx-tags>div button { border:0; padding:0; background:transparent; }.cx-tags>div svg { width:11px; }
.cx-ai { margin:12px 0; padding:10px 0; border-top:1px solid #d7e1ed; border-bottom:1px solid #d7e1ed; }.cx-ai>header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }.cx-ai details { padding:6px 0; border-top:1px solid #e0e7f0; }.cx-ai pre,.cx-history pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:320px; overflow:auto; font-size:calc(10px + var(--dw-font-adjust, 2px)); }.cx-empty,.cx-loading { padding:18px; color:#65758b; font-size:calc(12px + var(--dw-font-adjust, 2px)); }.cx-empty-state { padding:60px 24px; text-align:center; }.cx-empty-state p { margin:9px 0 16px; color:#5c708b; }
.cx-picker,.cx-quick-dialog,.cx-history { width:min(760px,calc(100vw - 36px)); max-height:82vh; overflow:auto; border:1px solid #b9c9dd; border-radius:6px; padding:0; color:#14243a; }.cx-picker::backdrop,.cx-quick-dialog::backdrop,.cx-history::backdrop,.cx-file-preview::backdrop { background:#142b4c70; }.cx-picker>header,.cx-quick-dialog>header,.cx-history>header { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; padding:14px; border-bottom:1px solid #d7e1ed; }.cx-picker-filters { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:8px; padding:12px; }.cx-picker-list { max-height:55vh; overflow:auto; padding:0 12px 12px; }.cx-picker-list article { display:flex; align-items:center; gap:10px; padding:9px 2px; border-bottom:1px solid #e0e7f0; }.cx-picker-list article>div { flex:1; min-width:0; }.cx-picker-list article strong,.cx-picker-list article small { display:block; overflow-wrap:anywhere; }.cx-quick-dialog form { padding:14px; }.cx-quick-dialog form label { display:block; margin-bottom:12px; font-size:calc(12px + var(--dw-font-adjust, 2px)); font-weight:600; }.cx-quick-dialog form label textarea { margin-top:5px; font-weight:400; }.cx-quick-dialog footer { display:flex; justify-content:flex-end; gap:7px; }.cx-history>details { padding:10px 14px; border-bottom:1px solid #e0e7f0; }
.cx-file-preview { width:min(1180px,96vw); height:min(90vh,920px); max-width:none; max-height:none; border:1px solid #aebfd4; border-radius:6px; padding:0; color:#14243a; background:#f4f7fb; }.cx-file-preview[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }.cx-file-preview>header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border-bottom:1px solid #ced9e6; background:#fff; }.cx-file-preview>header>div:first-child { min-width:0; }.cx-file-preview>header small,.cx-file-preview>header h3 { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.cx-file-preview>header h3 { margin-top:2px; }.cx-file-preview>header>div:last-child { display:flex; gap:6px; }.cx-file-preview>header button { width:34px; min-width:34px; height:34px; padding:5px; }.cx-file-preview [data-cx-file-viewer] { min-width:0; min-height:0; overflow:auto; background:#eef2f7; }.cx-file-preview-error { margin:20px; padding:12px; border:1px solid #e3b5b9; background:#fff1f2; color:#9d2630; }
@media(max-width:1350px){.cx-app-shell { grid-template-columns:190px minmax(0,1fr); }.cx-work-area { grid-template-columns:minmax(0,1fr) 360px; }.cx-lower { grid-template-columns:minmax(0,1fr); }.cx-summary>div { grid-template-columns:repeat(4,1fr); }}
@media(max-width:980px){.cx-workspace { overflow:auto; }.cx-app-shell { height:auto; min-height:100%; grid-template-columns:1fr; }.cx-library { max-height:230px; border-right:0; border-bottom:1px solid #d4dfed; }.cx-record-list { grid-template-columns:repeat(2,minmax(0,1fr)); }.cx-work-area { grid-template-columns:1fr; }.cx-inspector { border-left:0; border-top:1px solid #d4dfed; }.cx-page-header { flex-direction:column; }.cx-page-actions { width:100%; flex-wrap:wrap; }}
@media(max-width:600px){.cx-center { padding:8px; }.cx-record-list { grid-template-columns:1fr; }.cx-commandbar { flex-wrap:wrap; }.cx-commandbar .cx-view-toggle:first-of-type { margin-left:0; }.cx-summary>div { grid-template-columns:1fr 1fr; }.cx-two,.cx-picker-filters { grid-template-columns:1fr; }.cx-page-actions button span,.cx-presentation-launch span { display:none; }}
.cx-workspace .cx-interaction-launch { display:inline-flex; align-items:center; gap:4px; margin:0 8px 8px; padding:4px 6px; font-size:calc(10px + var(--dw-font-adjust, 2px)); text-align:left; }
.cx-interaction-launch svg { width:13px; height:13px; flex:none; }
