.reports-view{flex:1;min-height:0;overflow:auto;padding:32px 28px 48px}
.reports-root{max-width:1160px;margin:0 auto;color:var(--ink)}
.report-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}
.report-heading h1{font-size:1.65rem;line-height:1.4;margin:0 0 7px;letter-spacing:-.035em;outline:none}
.report-heading p{margin:0;color:var(--muted);font-size:.875rem;line-height:1.7}
.report-icon{width:18px;height:18px;flex:none;vertical-align:middle}
.report-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--ink);color:#fff;border:1px solid var(--ink);border-radius:7px;padding:9px 16px;text-decoration:none;font-size:.875rem;white-space:nowrap}
button.report-primary:hover:not(:disabled),a.report-primary:hover{background:#2c4f65;color:white;border-color:#2c4f65}
.report-card{padding:24px;border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:20px}
.report-card h2{font-size:1rem;margin:0 0 12px;line-height:1.5}
.report-card p{font-size:.875rem;line-height:1.75;margin:8px 0;color:var(--muted)}
#report-history{padding:0;overflow:hidden}
.report-row{display:flex;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
.report-row:last-child{border-bottom:0}.report-row:hover{background:var(--brand-hover)}
.report-file-mark{display:flex;align-items:center;justify-content:center;width:44px;height:50px;background:var(--accent-soft);border-radius:7px;color:var(--blue);flex:none}
.report-file-mark .report-icon{width:24px;height:24px}
.report-row-main{min-width:0;display:flex;flex-direction:column;gap:8px;flex:1}
.report-row-main strong{font-size:.95rem}.report-row-main>span{font-size:.8125rem;color:var(--muted);line-height:1.5}
.report-row-end{display:flex;flex-direction:column;gap:9px;align-items:flex-end}.report-row-end time{font-size:.75rem;color:var(--muted)}
.report-status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:4px 10px;background:#f0f3f5;color:#61717d;font-size:.75rem;white-space:nowrap}
.report-status:before{content:'';height:5px;width:5px;border-radius:50%;background:currentColor}
.report-status[data-status=completed],.report-status[data-status=review_required]{background:var(--accent-soft);color:var(--blue)}
.report-status[data-status=running],.report-status[data-status=queued]{background:#ebf1f8;color:#426481}
.report-status[data-status=needs_configuration]{background:#faf3e8;color:#8a6935}
.report-status[data-status=failed]{background:#fbefed;color:#a64b43}
.report-empty{text-align:center;padding:48px 22px;color:var(--muted)}.report-empty>.report-icon{width:36px;height:36px;margin-bottom:12px}.report-empty h2{color:var(--ink);font-size:1rem}.report-empty p{margin:12px 0 24px}
.report-more{padding:15px;text-align:center}
.report-back{display:inline-flex;align-items:center;gap:3px;margin-bottom:20px;color:var(--muted);text-decoration:none;font-size:.8125rem}
.report-new-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px;align-items:start}
.report-form fieldset{border:0;padding:0;margin:0 0 28px;min-width:0}.report-form legend{font-size:.95rem;font-weight:600;margin-bottom:15px;padding:0}
.report-type-options{display:grid;gap:10px}.report-type-options label{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:7px;cursor:pointer}
.report-type-options label:has(:checked){background:var(--accent-soft);border-color:var(--brand-border)}.report-type-options span{display:grid;gap:6px}.report-type-options strong{font-size:.875rem;font-weight:600}.report-type-options small{font-size:.75rem;color:var(--muted)}
.reports-root input[type=checkbox],.reports-root input[type=radio]{width:16px;height:16px;margin:0;accent-color:var(--blue);flex:none}
.report-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.report-form-grid label,.report-candidate>label{display:flex;flex-direction:column;gap:8px;font-size:.8125rem;color:var(--muted)}
.reports-root input:not([type=checkbox]):not([type=radio]),.reports-root textarea{border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);padding:10px 12px;width:100%;min-width:0;font:inherit;font-size:.875rem}
.reports-root textarea{line-height:1.8;resize:vertical;min-height:130px}
.reports-root input::placeholder{color:#98a3ad;font-weight:400}
.reports-root .report-help{font-size:.75rem;color:var(--muted);line-height:1.7}.report-form .report-help{margin-top:12px}
.report-form-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:22px}.report-form-footer>span{font-size:.75rem;color:var(--muted)}
.report-new-aside details{margin-top:18px;font-size:.8125rem}.report-new-aside summary{cursor:pointer;color:var(--blue)}.report-sources{display:grid;gap:7px;padding-left:20px;max-height:280px;overflow:auto;line-height:1.7}
.report-steps{padding-left:20px;font-size:.875rem;color:var(--muted);line-height:2.1;margin:0}
.report-facts{display:flex;gap:36px;flex-wrap:wrap;margin:0 0 24px;font-size:.8125rem}.report-facts dt{color:var(--muted);margin-bottom:7px}.report-facts dd{margin:0;line-height:1.5}
.report-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.report-section-heading h2{margin:0}
.report-card .report-stage{font-size:.95rem;color:var(--ink);margin-top:20px}.report-job-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:12px;font-size:.75rem;color:var(--muted)}
.report-job details{font-size:.8125rem;margin-top:12px}.report-job summary{cursor:pointer}.report-job code{display:block;font-size:.75rem;margin-top:10px;overflow-wrap:anywhere}
.report-message{padding:12px 16px;border:1px solid var(--brand-border);border-radius:7px;background:var(--accent-soft);color:var(--blue);margin:0 0 20px;font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}
.report-message[data-error=true]{background:#fff5ee;border-color:#ead2bd;color:#865f3c}
.report-export-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line)}.report-export-row:last-child{border-bottom:0;padding-bottom:0}.report-export-row>div:first-child{display:grid;gap:6px;font-size:.875rem;flex:1}.report-export-row small{font-size:.75rem;color:var(--muted)}
.report-downloads{display:flex;gap:16px;align-items:center;font-size:.8125rem}.report-downloads a{display:inline-flex;gap:5px;align-items:center;text-decoration:none;color:var(--blue)}.report-export-error{flex-basis:100%}
.report-review-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.report-review-actions>span{font-size:.75rem;color:var(--muted);margin-right:7px}
.report-review>.report-section-heading{align-items:start}.report-review>.report-section-heading p{margin-bottom:0}
.report-warnings{margin:20px 0;padding:16px;background:#faf6ed;border-radius:7px}.report-warnings h3{font-size:.875rem;margin:0 0 12px}.report-warnings label{display:flex;gap:10px;align-items:start;font-size:.8125rem;margin-top:10px;line-height:1.7}.report-warnings small{display:block;color:var(--muted)}.report-warnings input{margin-top:4px!important}
.report-candidate{border-top:1px solid var(--line);padding:24px 0;display:grid;gap:15px}.report-candidate:last-child{padding-bottom:0}
.report-candidate-heading{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:.75rem}.report-candidate-heading>label{display:flex;align-items:center;gap:7px;font-size:.8125rem;color:var(--ink)}
.report-order{display:flex;margin-left:auto;gap:3px}.report-order button{padding:5px;border:0;background:transparent}.report-order .report-icon{width:16px;height:16px}
.report-candidate-source{display:flex;justify-content:space-between;gap:14px;font-size:.75rem;color:var(--muted);line-height:1.7}.report-candidate-source a{color:var(--blue);white-space:nowrap}
#api-system.system-view{padding:0;max-width:none;margin:0;overflow:visible}#api-system .api-intro h1{font-size:1.65rem}
@media(max-width:1024px){.reports-view{padding:24px 20px}.report-new-grid{grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr);gap:16px}.report-card{padding:20px}.report-review>.report-section-heading{flex-direction:column}.report-heading h1{font-size:1.45rem}}
@media(max-width:720px){.reports-view{padding:20px 12px 36px}.report-heading{gap:12px;align-items:flex-start;margin-bottom:20px}.report-heading h1{font-size:1.25rem}.report-heading p{font-size:.8125rem}.report-heading>.report-primary{padding:8px 10px;font-size:.8125rem}.report-new-grid{display:flex;flex-direction:column;gap:0}.report-new-grid>*{width:100%}.report-new-aside{display:grid;grid-template-columns:1fr}.report-card{padding:18px}.report-row{padding:18px 15px;gap:12px;flex-wrap:wrap}.report-file-mark{width:34px;height:40px}.report-row-main strong{font-size:.875rem}.report-row-end{flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding-left:46px}.report-form-grid{gap:16px 12px}.report-form-grid label:last-child{grid-column:1/-1}.report-facts{gap:18px;font-size:.75rem}.report-facts>div:first-child{width:100%}.report-review-actions{gap:8px}.report-review-actions>span{width:100%}.report-candidate-source{flex-wrap:wrap}.report-downloads{width:100%;gap:20px}.report-candidate-heading{gap:10px}.report-job-footer{align-items:start}.topbar>.brand>span:last-child{display:none}.app-nav a{font-size:.8125rem!important;padding:0 7px!important}.app-nav{justify-content:center}.topbar{grid-template-columns:auto 1fr auto!important}.topbar .nav-icon{width:15px;height:15px}.report-new-aside .report-card{margin-bottom:16px}}
/* Override the reader form's global stacked-label direction. */
.report-type-options label,.report-candidate-heading>label,.report-warnings label{flex-direction:row;text-align:left}
.report-fixture-note{padding:10px 12px;background:#f5f1e8;border-radius:6px}


.report-candidate textarea{font-weight:400;line-height:1.75}.report-candidate-title input{font-weight:500}
.report-budget-totals{display:flex;flex-wrap:wrap;gap:12px 32px;margin:14px 0;color:var(--muted)}
.report-budget-totals strong{color:var(--ink);font-variant-numeric:tabular-nums;margin-left:6px}
.report-budget-notice{background:#f6f2e9;border-radius:7px;padding:12px 16px;font-size:14px}
.report-budget-call{padding:16px 0;border-top:1px solid var(--line)}
.report-budget-call summary,.report-budget-history summary{cursor:pointer;font-size:14px;line-height:1.7}
.report-budget-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px}
.report-budget-form label{display:grid;gap:7px;font-size:13px;font-weight:400}
.report-budget-form input,.report-budget-form select,.report-budget-form textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit}
.report-budget-note,.report-budget-confirm{grid-column:1/-1}
.report-budget-form .report-budget-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:9px;line-height:1.7}
.report-budget-form .report-budget-confirm[hidden]{display:none}
.report-budget-confirm input{width:16px;flex:none;margin-top:4px}
.report-budget-form button{justify-self:start}
.report-budget-history{margin-top:14px;font-size:13px}
.report-budget-history div{padding:12px 0;border-top:1px solid var(--line)}
.report-budget-history p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.report-budget-form{grid-template-columns:minmax(0,1fr)}.report-budget-totals{display:grid;gap:10px}.report-budget-call summary{font-size:13px}}

.report-budget-form textarea{min-height:88px}
.report-budget-form textarea:focus-visible{outline:2px solid #8a9daa;outline-offset:2px}

/* Original material is read-only, isolated from the editable report draft. */
.report-source-dialog{width:min(1280px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #d8e2e7;border-radius:16px;color:#263f50;background:#fff;box-shadow:0 20px 80px #152a3b30;overflow:hidden}
.report-source-dialog::backdrop{background:#182c4266}
.report-source-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid #e4e9ee}
.report-source-dialog h2{font-size:18px;margin:0}.report-source-dialog h3{font-size:23px;line-height:1.5;margin:12px 0}.report-source-dialog h4{font-size:16px}
.report-source-dialog button{width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f6;color:inherit;font-size:24px;cursor:pointer;display:grid;place-items:center;padding:0;line-height:1}
.report-source-dialog a{color:var(--blue)}.report-source-content{max-height:calc(100dvh - 125px);overflow:auto;padding:20px 24px 30px;overscroll-behavior:contain}
.report-source-notice{padding:12px 14px;border-radius:8px;background:var(--accent-soft);font-size:14px;line-height:1.7;color:#536b73}
.report-source-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9;max-width:760px;margin:auto}
.report-source-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.report-source-images figure{margin:0;padding:12px;background:#f5f7f8;border-radius:10px}
.report-source-images img{display:block;width:100%;max-height:300px;object-fit:contain}.report-source-images figcaption{margin-top:10px;font-size:13px;color:#687e8d;overflow-wrap:anywhere}
.report-source-list{list-style:none;margin:0;padding:0}.report-source-list>li{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-top:1px solid #e4e9ee}.report-source-list>li>div{display:grid;gap:4px;min-width:0}.report-source-list>li>div:nth-child(2){text-align:right;max-width:60%}.report-source-list small,.report-source-list div>span{font-size:13px;color:#6b8091;overflow-wrap:anywhere}.report-source-list .report-source-state[data-state=failed]{color:#a14a35}.report-candidate-source{flex-wrap:wrap;gap:8px}
@media(max-width:600px){.report-source-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.report-source-dialog>header,.report-source-content{padding:16px}.report-source-dialog h3{font-size:20px}.report-source-images{grid-template-columns:1fr}.report-source-content{max-height:calc(100dvh - 100px)}.report-source-list>li{gap:12px}.report-source-list>li>div:nth-child(2){max-width:50%}}

.report-source-images:has(>figure:only-child){grid-template-columns:minmax(0,640px);justify-content:center}.report-source-dialog h4{max-width:760px;margin-inline:auto}


.report-patent-budget .report-patent-form-help{grid-column:1/-1;margin:0}
.report-patent-quotas{margin-top:18px}.report-patent-endpoints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-top:10px}.report-patent-endpoints>div{border-top:1px solid #e4e9ee;padding:12px 0}.report-patent-endpoints h3{font-size:15px;margin:0 0 8px;display:flex;justify-content:space-between;gap:12px}.report-patent-endpoints small{font-size:12px;font-weight:400;color:#687e8d}.report-patent-endpoints p{font-size:13px;line-height:1.7;color:#63788a;margin:4px 0}.report-patent-budget .report-budget-history .report-budget-call{border-bottom:1px solid #e4e9ee}.report-patent-budget .report-budget-history .report-budget-call>summary{padding:8px 0}.report-patent-budget .report-budget-notice a{color:inherit;text-decoration:underline}
@media(max-width:700px){.report-patent-endpoints{grid-template-columns:1fr}.report-patent-budget .report-section-heading{align-items:flex-start}.report-patent-budget .report-section-heading>.report-help{max-width:48%;text-align:right}}

.report-gap-form{border-top:1px solid var(--line,#dce3e8);margin-top:20px;padding-top:18px;display:grid;gap:14px;max-width:720px}.report-gap-form h3,.report-gap-form p{margin:0}.report-gap-form fieldset{border:0;padding:0;display:grid;gap:10px}.report-gap-form legend{font-size:13px;color:var(--muted,#64748b);margin-bottom:10px}.report-gap-form .report-gap-check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;line-height:1.6}.report-gap-check input{width:16px;height:16px;flex:0 0 16px;margin:3px 0 0}.report-gap-form textarea{min-height:88px;font-weight:400}.report-gap-form button{justify-self:start}

@media(max-width:640px){.report-source-list>li{display:grid;grid-template-columns:1fr;gap:8px}.report-source-list>li>div:nth-child(2){text-align:left;align-items:flex-start;max-width:none}.report-source-list>li>div:first-child{gap:4px}}

.report-budget-selected{scroll-margin-top:90px}.report-budget-selected>h3{font-size:15px;margin:20px 0 12px}.report-source-list [data-action="inspect-patent-call"]{justify-self:end;width:auto;margin-top:6px}
@media(max-width:640px){.report-source-list [data-action="inspect-patent-call"]{justify-self:start}}

.report-source-entry{display:block;max-width:100%;font-size:12px;font-weight:400;line-height:1.6;color:#637d88;overflow-wrap:anywhere;text-decoration:none}.report-source-entry:hover{text-decoration:underline;color:var(--blue)}.report-gap-check .report-source-entry{margin-top:4px}

/* Problem metadata is collapsed by source; page only twenty records at a time. */
.report-source-list>li{flex-wrap:wrap}.report-source-issues{flex-basis:100%;min-width:0;text-align:left}.report-source-issues summary{cursor:pointer;font-size:13px;color:var(--blue);padding:6px 0;width:fit-content}.report-source-issues[open]{padding-top:4px}.report-source-issues .report-help{margin:6px 0 12px}.report-issue-list{margin:0;padding:0 0 0 24px;max-height:360px;overflow:auto;overscroll-behavior:contain}.report-issue-list li{padding:10px 4px;border-top:1px solid #edf0f3;font-size:13px;overflow-wrap:anywhere}.report-issue-list li>div{display:flex;align-items:baseline;gap:12px;justify-content:space-between}.report-issue-list a{color:var(--blue);line-height:1.6}.report-issue-list time{color:#6b8091;white-space:nowrap;font-size:12px}.report-issue-list p{margin:4px 0 0;color:#6b8091;font-size:12px;line-height:1.6}.report-issue-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;font-size:12px;color:#6b8091}.report-issue-pages button{padding:5px 9px;font-size:12px}.report-issue-pages [data-issue-page-label]:focus{outline:2px solid var(--brand-muted);outline-offset:4px;border-radius:3px}@media(max-width:640px){.report-issue-list li>div{display:block}.report-issue-list time{display:block;margin-top:3px}.report-issue-list{max-height:320px}}

/* Formal publication is a readable document, separate from draft editing. */
.publication-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:start}
.publication-aside{position:sticky;top:0;max-height:calc(100dvh - 160px);overflow:auto;padding:12px 0}
.publication-aside h2{font-size:13px;letter-spacing:.06em;margin:0 0 14px;color:var(--muted)}
.publication-aside nav>a{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;margin:2px 0;border-radius:6px;text-decoration:none;color:var(--ink);font-size:14px}
.publication-aside nav>a:hover{background:var(--accent-soft)}.publication-aside nav small{color:var(--muted)}
.publication-attachments{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}
.publication-attachments p{font-size:12px;color:var(--muted);line-height:1.8}.publication-attachments button{white-space:normal;font-size:12px;text-align:left}
.publication-attachments .report-downloads{display:grid;gap:10px}.publication-attachments .report-downloads a{display:flex;align-items:center;gap:7px;font-size:13px}
.publication-document{padding:40px clamp(24px,4vw,56px);border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}
.publication-cover{padding-bottom:32px;border-bottom:1px solid var(--line)}
.publication-version{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:12px;color:var(--blue);margin-bottom:32px}.publication-version span{color:var(--muted)}
.publication-series{font-size:13px;color:var(--muted);letter-spacing:.12em;margin:0 0 14px}
.publication-cover h1{font-size:clamp(24px,2.8vw,34px);line-height:1.55;letter-spacing:-.02em;margin:0 0 14px;outline:none}
.publication-issue{font-size:16px;margin:0 0 28px}.publication-cover dl{margin:0;display:flex;gap:16px 28px;flex-wrap:wrap}.publication-cover dl>div{display:grid;gap:6px}.publication-cover dt{font-size:12px;color:var(--muted)}.publication-cover dd{font-size:13px;margin:0}
.publication-section{padding-top:34px;scroll-margin-top:20px}.publication-section>h2{display:flex;align-items:baseline;gap:12px;font-size:20px;padding-bottom:14px;border-bottom:1px solid var(--line);margin:0 0 26px}.publication-section>h2 span{font-size:12px;color:var(--blue);font-weight:500;font-variant-numeric:tabular-nums}.publication-cover h1:focus,.publication-section h2:focus{outline:none}
.publication-entry{padding:0 0 32px;margin-bottom:30px;border-bottom:1px solid #edf1f3}.publication-entry:last-child{margin-bottom:0}.publication-entry h3{font-size:22px;line-height:1.65;margin:0 0 20px;overflow-wrap:anywhere}
.publication-prose{font-size:16px;line-height:1.95;color:#334b5a;overflow-wrap:anywhere}.publication-prose p{margin:0 0 1.15em;white-space:pre-wrap}
.publication-entry figure{margin:24px 0}.publication-entry img{display:block;max-width:100%;max-height:620px;width:auto;height:auto;margin:auto;border-radius:4px}.publication-entry figcaption{text-align:center;color:var(--muted);font-size:12px;line-height:1.7;margin-top:10px}
.publication-entry>footer{display:flex;gap:12px;align-items:baseline;justify-content:space-between;color:var(--muted);font-size:12px;line-height:1.8;margin-top:20px}.publication-entry a{color:var(--blue);text-underline-offset:3px}
.publication-table-wrap{overflow:auto;margin:0 0 30px}.publication-table-wrap table{border-collapse:collapse;width:100%;font-size:13px}.publication-table-wrap caption{text-align:left;font-size:15px;font-weight:600;margin-bottom:12px}.publication-table-wrap th,.publication-table-wrap td{text-align:left;border-bottom:1px solid var(--line);padding:10px 12px;line-height:1.6}.publication-table-wrap thead{background:#f4f7f8}.publication-table-wrap tbody th{font-weight:400}.publication-table-wrap td{font-variant-numeric:tabular-nums}
.publication-patent-fields{margin:0 0 24px;padding:16px 18px;background:#f5f8f9;border-radius:8px;font-size:13px}.publication-patent-fields>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:5px 0;line-height:1.7}.publication-patent-fields dt{color:var(--muted)}.publication-patent-fields dd{margin:0;overflow-wrap:anywhere}
.publication-notes{font-size:13px;line-height:1.85;color:var(--muted);margin:24px 0}.publication-notes summary,.publication-exclusions summary{cursor:pointer}.publication-notes li{margin-bottom:8px}.publication-end{text-align:center;font-size:12px;color:var(--muted);padding-top:20px}
.publication-history{margin-top:24px}.publication-history ol{list-style:none;margin:0;padding:0}.publication-history li{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding:13px 0;border-top:1px solid var(--line);font-size:13px}.publication-history li>a{font-weight:600;color:var(--blue)}.publication-history time{color:var(--muted);margin-left:auto}.publication-current{font-size:11px;background:var(--accent-soft);color:var(--blue);border-radius:4px;padding:3px 6px}
.publication-exclusions{margin:18px 0;padding:14px 16px;background:#f4f7f8;border-radius:8px;font-size:13px}.publication-exclusions ul{max-height:280px;overflow:auto;list-style:none;padding:0}.publication-exclusions li{padding:10px 0;border-top:1px solid var(--line);line-height:1.7}.publication-exclusions a{color:var(--blue)}
.publication-dialog{width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);box-shadow:0 18px 64px #152a3b30}.publication-dialog::backdrop{background:#182c4259}.publication-dialog>header{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.publication-dialog h2{font-size:19px;margin:0}.publication-dialog>header button{font-size:23px;border:0;background:transparent;padding:0 5px}.publication-dialog-body{padding:20px 24px;overflow:auto}.publication-confirm-facts{padding-left:20px;font-size:14px;line-height:1.9;color:var(--muted);margin:16px 0 24px}.publication-confirm-check{display:flex;flex-direction:row;text-align:left;gap:10px;align-items:flex-start;font-size:14px;font-weight:400;line-height:1.8}.publication-confirm-check input{width:16px;height:16px;margin-top:5px;flex:none}.publication-dialog footer{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}.publication-conflicts h3{font-size:16px}.publication-conflicts{font-size:14px;line-height:1.8}.publication-conflicts ul{padding-left:20px}.publication-conflicts li{padding:8px 0}.publication-conflicts a{color:var(--blue)}#publication-dialog-error{color:#9b473c;font-size:14px;line-height:1.8}
@media(max-width:1000px){.publication-layout{grid-template-columns:160px minmax(0,1fr);gap:20px}.publication-document{padding:28px}.publication-entry h3{font-size:20px}}
@media(max-width:700px){.publication-layout{display:flex;flex-direction:column;gap:20px}.publication-aside{display:contents}.publication-aside nav{order:0;display:flex;flex-wrap:wrap;gap:4px}.publication-aside nav h2{flex-basis:100%;margin-bottom:4px}.publication-aside nav>a{padding:8px 10px;gap:12px;background:var(--accent-soft)}#publication-attachments{order:2;padding:4px 6px}.publication-attachments{margin-top:0;padding-top:14px}.publication-attachments h2{margin-bottom:6px}.publication-attachments .report-downloads{display:flex;flex-wrap:wrap}.publication-document{order:1;padding:24px 18px;border-radius:9px}.publication-version{margin-bottom:22px}.publication-cover h1{font-size:25px}.publication-cover dl{gap:16px}.publication-entry h3{font-size:20px}.publication-prose{font-size:15px;line-height:1.9}.publication-patent-fields{padding:12px}.publication-patent-fields>div{grid-template-columns:84px 1fr;gap:8px}.publication-history time{margin-left:0;width:100%}.publication-dialog>header,.publication-dialog-body{padding:16px}.publication-dialog footer button{flex:1}.publication-entry>footer{flex-wrap:wrap}.publication-history{padding:18px}}


.report-budget-refresh{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.report-budget-refresh summary{cursor:pointer;color:var(--accent);font-weight:500}

.report-section-field{max-width:220px}.report-section-field select{width:100%;font-weight:400}.report-candidate-heading [data-score-display]{min-width:0;flex:1}.report-candidate-heading .report-order{flex-shrink:0}

.report-image-picker{max-width:980px;margin:auto}.report-image-picker .report-source-images{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.report-image-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.report-image-toolbar>span{margin-right:auto;color:#506777}.report-image-picker button{display:inline-flex;width:auto;height:auto;padding:8px 12px;border-radius:7px;font-size:14px;line-height:1.4}.report-image-picker label{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer}.report-image-picker input{width:17px;height:17px;flex-shrink:0;accent-color:var(--blue)}.report-image-picker figure:has(input:checked){outline:2px solid var(--brand-muted);outline-offset:-2px}.report-image-picker footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.report-image-picker footer button{white-space:nowrap}

/* Desktop report editing: candidates and the active draft share one workspace. */
.editor-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:20px 0 0;padding-bottom:10px}.editor-tabs button{border:0;background:transparent;padding:9px 14px}.editor-tabs button[aria-pressed=true]{background:var(--accent-soft);color:var(--blue)}.editor-tabs small{margin-left:9px;font-size:11px;color:var(--muted)}
.editor-workspace{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:650px}.editor-sidebar{padding:20px 18px 0 0;border-right:1px solid var(--line)}.editor-search,.editor-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.editor-search input,.editor-filters select{width:100%;min-width:0;font-size:13px}.editor-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.editor-list-count{font-size:12px;padding:12px 0;color:var(--muted);display:flex;justify-content:space-between}.editor-list{max-height:620px;overflow:auto;padding-right:5px}.editor-list .editor-list-item{display:block;width:100%;text-align:left;padding:14px 12px;margin:0 0 4px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);white-space:normal}.editor-list .editor-list-item:hover{background:var(--brand-hover)}.editor-list .editor-list-item.is-current{background:var(--accent-soft);border-color:var(--brand-border)}.editor-list-item strong{display:block;font-size:14px;line-height:1.65;margin:7px 0;font-weight:600}.editor-list-meta,.editor-list-foot{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.editor-list-meta>span{white-space:nowrap;color:var(--accent)}
.editor-panel.report-candidate{margin:0;padding:20px 0 20px 24px;border:0;background:transparent}.editor-panel-heading{display:flex;gap:14px;align-items:center;margin-bottom:14px;font-size:12px}.editor-panel-heading>label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0}.editor-panel-heading input{width:16px;height:16px}.editor-panel-heading .report-order{margin-left:auto;display:flex;align-items:center;gap:6px}.editor-panel-heading .report-order span{color:var(--muted)}.editor-panel-heading .report-order button{padding:5px}.editor-source-bar{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--line);font-size:12px;margin-bottom:18px}.editor-source-bar>span{margin-right:auto;color:var(--muted)}.editor-source-bar button{font-size:12px;padding:5px 10px}.editor-panel>label{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:13px;font-weight:500}.editor-panel textarea{line-height:1.8}.editor-business-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.editor-business-fields label{display:flex;flex-direction:column;gap:8px;font-size:13px}.editor-business-fields label:has(textarea){grid-column:1/-1}.editor-image-footer{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.editor-image-footer span{font-size:12px;color:var(--muted);line-height:1.6}.editor-patent-meta{font-size:12px;color:var(--muted)}.editor-patent-meta>div{display:flex;gap:12px;margin:8px 0}.editor-patent-meta dd{margin:0}.editor-empty{padding:60px;text-align:center;color:var(--muted)}
.report-review .report-warnings{margin-top:14px}.report-review .report-warnings summary{cursor:pointer;font-size:13px}.report-review .report-warnings>label{margin-top:10px}
.report-image-picker .report-image-caption{display:flex;flex-direction:column;align-items:stretch;margin-top:12px;font-size:12px;gap:6px}.report-image-caption textarea{width:100%;box-sizing:border-box;font:inherit;line-height:1.6;border:1px solid var(--line);border-radius:5px;padding:8px;resize:vertical}.report-image-order{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}.report-image-order button{font-size:12px;padding:4px 10px}

.editor-batch{display:flex;gap:8px;align-items:center;padding:8px 0 12px}.editor-batch button{font-size:12px;padding:4px 8px}.editor-batch span{font-size:11px;color:var(--muted)}.editor-writing>label{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:13px}.editor-reading.with-original{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.editor-original{border-left:1px solid var(--line);padding-left:20px;max-height:850px;overflow:auto;font-size:13px;line-height:1.9}.editor-original h3{font-size:17px}.editor-original h4{margin-top:16px}.editor-original>p{color:var(--muted)}.editor-next{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.editor-next span{font-size:12px;color:var(--muted)}

.draft-preview-dialog{width:1320px;max-width:calc(100vw - 64px);height:calc(100vh - 64px);max-height:none}.draft-preview-dialog>header{position:sticky;top:0;background:white;z-index:1}.draft-preview-dialog>header>div{display:flex;gap:12px}.draft-preview-body{height:calc(100% - 76px);overflow:auto;padding:20px 28px;background:var(--bg)}.draft-preview-note{font-size:13px;color:var(--muted);margin:0 0 20px}.draft-preview-dialog .publication-layout{margin:0}.draft-preview-dialog .publication-aside{position:static}.draft-preview-dialog .publication-document{min-width:0}
.draft-preview-dialog>header button{font-size:14px;padding:9px 15px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.draft-preview-dialog>header button.report-primary{background:var(--ink);color:#fff;border-color:var(--ink)}

.publication-classification{font-size:12px;letter-spacing:.2em;color:var(--muted)}.publication-organization{font-size:17px;color:var(--ink);margin-bottom:12px}.publication-highlight{line-height:1.8;padding:12px 16px;background:var(--accent-soft);border-radius:6px}

.editor-report-info{margin:18px 0;border-bottom:1px solid var(--line);padding-bottom:18px}.editor-report-info summary{font-size:13px;cursor:pointer}.editor-report-info[open] summary{margin-bottom:16px}

.editor-score-details{font-size:12px;line-height:1.8;margin-bottom:18px;color:var(--muted)}.editor-score-details summary{cursor:pointer;color:var(--ink)}.editor-score-details dl>div{display:flex;justify-content:space-between}.editor-score-details dd{margin:0}.editor-batch{flex-wrap:wrap}

.report-maintenance,.report-quick-guide{margin:24px 0;color:var(--muted);font-size:.85rem}.report-maintenance>summary,.report-quick-guide>summary{cursor:pointer;padding:12px 0;font-weight:550}.report-quick-guide ol{padding-left:22px;line-height:1.8}.report-quick-guide li{margin:8px 0}.report-maintenance[open]{border-top:1px solid var(--line)}
.report-history-filters{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;color:var(--muted);font-size:13px}.report-history-filters label{display:flex;flex-direction:row;text-align:left;align-items:center;gap:8px;margin:0}.report-history-filters select{width:auto;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:white;color:inherit}

.report-history-filters input[type=checkbox]{width:16px;height:16px;margin:0}
