.card-shell{max-width:1160px;margin:auto}.card-navigation{display:flex;gap:12px;justify-content:space-between;align-items:start;margin-bottom:28px}.card-tools-menu{margin:0;position:relative}.card-tools-menu summary{padding:9px 12px;font-size:14px}.card-tools-menu>div{position:absolute;right:0;width:240px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px;z-index:5;box-shadow:0 8px 24px #20272012}.card-tools-menu button{display:block;width:100%;text-align:left;border:0;margin:3px 0}.card-topbar{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:0 0 24px}.card-topbar p{margin:0;color:#51594f}.card-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:36px;align-items:start}.consensus-card{background:white;border:1px solid var(--line);border-radius:12px;padding:32px 36px}.card-heading{display:block;background:transparent;border:0;padding:0 0 20px;margin:0;border-bottom:1px solid var(--line)}.card-label{font-size:15px;font-weight:600;margin:0 0 12px}.card-heading h1{font-size:25px;line-height:1.4;margin:0 0 12px;text-wrap:balance}.card-section{padding:22px 0;border-bottom:1px solid var(--line)}.card-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.card-section h2{font-size:18px;margin:0 0 14px}.card-section h3{font-size:14px;color:#51594f;margin:14px 0 5px}.card-section-heading button{border:0;background:transparent;font-size:13px;text-decoration:underline;text-underline-offset:4px;padding:4px}.card-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:15px;margin:0;max-width:75ch}.card-empty{color:#62695e;font-size:14px;margin:0}.card-more{font-size:13px;margin:10px 0 0}.card-foot{font-size:12px;color:#62695e;line-height:1.7;margin-top:20px}.card-conversation{padding:8px 0}.card-conversation>h2{font-size:18px;margin-top:0}.card-question{font-size:23px;line-height:1.5;margin:24px 0 14px;text-wrap:balance}.card-conversation p{line-height:1.75}.card-question-nav{display:flex;gap:12px;margin:20px 0 28px}.card-conversation form{border-top:1px solid var(--line);padding-top:24px}.card-conversation label{font-size:14px}.card-decision{padding:16px 0;border-top:1px solid var(--line)}.card-decision p{overflow-wrap:anywhere}.card-tools{margin-top:28px;font-size:14px}.card-tools button{margin:6px 0}.card-preview{display:block;max-width:780px;margin:0 auto}.card-confirm-form,.card-editor{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin:24px 0}.card-editor h2{font-size:20px}.card-download{display:flex;gap:12px;flex-wrap:wrap}.card-editor textarea{min-height:100px}.card-conversation .reference-row h3{font-size:16px}.card-conversation .reference-row{padding:14px 0}.card-conversation .reference-row blockquote{font-size:13px}
@media(max-width:800px){.card-layout{grid-template-columns:1fr}.card-conversation{grid-row:1;padding:0 4px}.card-conversation .card-question{font-size:20px}.consensus-card{padding:24px 20px}.card-topbar{align-items:start}.card-topbar p{max-width:55%;font-size:14px}.card-topbar button{white-space:nowrap}.card-navigation{margin-bottom:20px}.card-heading h1{font-size:22px}.card-section h2{font-size:17px}}
@media print{body{background:white}body>header,.card-navigation,.card-topbar,.card-conversation,.card-confirm-form,.card-editor,.card-download,#toast{display:none!important}main{padding:0!important}.card-layout{display:block}.consensus-card{border:0;padding:0}.consensus-card button,.card-more summary{display:none}.card-copy{font-size:10pt}.card-section{padding:10px 0;break-inside:avoid}.card-section h2{font-size:12pt;margin-bottom:6px}.card-section h3{margin-top:8px}.card-heading h1{font-size:18pt}.card-foot{font-size:9pt}.card-section:has(.card-more[open])>.card-value>.card-copy{display:none}}

.card-print-full{display:none}@media print{.card-more{display:none}.card-value:has(.card-print-full)>.card-copy{display:none}.card-print-full{display:block;white-space:pre-wrap;font-size:10pt;line-height:1.5}}

.card-stage-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:0 0 24px;padding-bottom:12px}.card-stage-tabs button{background:transparent;border-color:transparent}.card-stage-tabs button.active{background:#202720;color:#fff}.card-module-heading{padding:22px 0 4px}.card-module-heading h2{font-size:21px;margin:0 0 6px}.card-module-heading p{font-size:14px;color:#51594f;margin:0}.interview-discussion{padding-left:20px;line-height:1.8}.interview-discussion li{margin:10px 0}.interview-prompt{font-size:17px;margin-top:28px}.analysis-report{max-width:76ch;line-height:1.8}.analysis-report>section{padding:12px 0 20px;border-bottom:1px solid var(--line)}.analysis-report h4{font-size:17px;margin:14px 0 12px}.analysis-report ul{padding-left:22px}.analysis-report li{margin:10px 0}.analysis-report li p{margin:6px 0;color:#51594f}.analysis-report .suggestion-row{padding:14px 0}.analysis-report .suggestion-row h3{font-size:16px}.analysis-original p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.analysis-sources article{padding:12px 0;border-bottom:1px solid var(--line)}.analysis-sources h5{font-size:15px;margin:0 0 8px;overflow-wrap:anywhere}.analysis-sources p{font-size:14px}.analysis-report details>summary{font-size:14px}.analysis-report .reading-text{max-width:70ch}@media print{.card-stage-tabs{display:none}}

.card-check-toggle{position:fixed;right:0;top:45%;z-index:30;max-width:100px;background:#202720;color:#fff;border:1px solid #202720;border-radius:8px 0 0 8px;padding:14px 12px;white-space:normal}.card-check-panel{position:fixed;right:12px;top:12vh;bottom:8vh;width:min(380px,calc(100vw - 24px));overflow:auto;z-index:31;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;box-sizing:border-box}.card-check-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.card-check-heading h2{font-size:21px;margin:0}.card-check-panel p{line-height:1.7}.card-check-panel ul{padding-left:20px}.card-check-panel li{margin:12px 0}.card-check-panel li button{text-align:left;white-space:normal}.card-check-panel form{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.card-check-panel form>.primary{width:100%;white-space:normal}.card-check-panel .card-copy{margin:12px 0}.card-check-toggle:focus-visible{outline:3px solid #678d26;outline-offset:3px}@media print{#card-check-ui{display:none!important}}

/* Compact edge handle; full status is available on focus/hover and in the panel. */
.card-check-toggle{width:34px;max-width:34px;min-width:0;min-height:0;padding:7px 3px;font-size:11px;line-height:1.25;border-radius:5px 0 0 5px}
#card-check-ui{position:fixed;right:0;top:38%;z-index:30;display:flex;flex-direction:column;gap:6px;align-items:flex-end}.card-check-toggle,.card-analysis-toggle{position:static;width:34px;max-width:34px;min-width:0;min-height:0;padding:7px 3px;font-size:11px;line-height:1.25;border-radius:5px 0 0 5px;white-space:normal}.card-analysis-toggle{background:#fff;color:#202720;border:1px solid #7f8a78}.card-analysis-toggle.is-ready,.card-analysis-toggle.is-done{background:#a9f357;border-color:#7cad38}.card-analysis-toggle.is-running{background:#e6f4d5}.card-analysis-toggle.is-failed{background:#fff0e8;border-color:#b95d38}.card-analysis-toggle:focus-visible{outline:3px solid #678d26;outline-offset:3px}

.case-capture{margin:24px 0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px}.case-preview{margin:20px 0}.case-preview section{margin:20px 0;padding-bottom:20px;border-bottom:1px solid var(--line)}.case-preview h4{margin:16px 0 6px}.case-preview p{max-width:75ch}.case-capture p{line-height:1.7}@media print{.case-capture{display:none!important}}

.project-batch{display:flex;align-items:center;gap:16px;margin-bottom:16px}[data-project-select],#project-select-all{width:18px;height:18px}

.project-list-table{min-width:880px;table-layout:fixed;width:100%}.project-list-table th:first-child{width:42px}.project-list-table th:nth-child(2){width:44%}.project-list-table th:nth-child(3){width:16%}.project-list-table th:nth-child(4){width:100px}.project-list-table th:nth-child(5){width:128px}.project-list-table th:nth-child(6){width:122px}.project-list-table th{white-space:nowrap}.project-list-table td button:not(.rowlink){white-space:nowrap}.project-list-table .rowlink{overflow-wrap:anywhere}.project-list-table td>.sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-operation-heading{display:flex;align-items:center;gap:10px}.project-batch-menu{margin:0;font-size:14px;font-weight:normal}.project-batch-menu summary{white-space:nowrap}.project-batch-menu>div{display:flex;flex-direction:column;gap:8px;padding:10px 0}.project-batch-menu button{width:100%}

.project-batch-menu>div{position:fixed;z-index:60;width:148px;box-sizing:border-box;padding:10px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 18px #20272018;gap:4px;text-align:left}.project-batch-menu>div>span{font-size:12px;color:#51594f;padding:4px 8px}.project-batch-menu>div>button{border:0;background:transparent;text-align:left;padding:9px 8px;border-radius:4px}.project-batch-menu>div>button:hover:not(:disabled){background:#f0f3ed}.project-batch-menu summary{cursor:pointer;padding:6px 8px}.project-batch-menu>div>button:disabled{color:#767c72}
.project-batch-menu[open]>summary{margin-bottom:0}
