/* Shared compact workspace. Existing IDs and controls retain their behavior. */
:root{--ui-ink:#252525;--ui-muted:#62625e;--ui-line:#e6e6e2;--ui-soft:#f7f7f5;--ui-radius:6px}
@media screen{
.topbar{height:72px;min-height:72px;padding:0 32px;gap:24px;max-width:1280px}.brand{font-size:21px;letter-spacing:-.025em;flex-shrink:0}.brand-icon{width:28px;height:31px;border-radius:5px}.brand-icon:after{bottom:-3px;height:2px}.tool-nav{gap:20px;font-size:13px;flex-wrap:nowrap;max-width:none}.tool-nav a{min-height:40px;white-space:nowrap}.beta{font-size:11px;padding:5px 7px;white-space:nowrap}main{max-width:1240px;padding:32px}.intro{margin-bottom:24px}.intro h1{font-size:clamp(30px,3.5vw,42px);letter-spacing:-.03em;line-height:1.15;margin:0 0 10px}.intro h1 br{display:none}.intro h1 span:before{content:' '}.intro>p{font-size:15px;line-height:1.55;max-width:700px}.eyebrow{display:none}.button{min-height:36px;padding:8px 12px;font-size:13px;font-weight:600;border-radius:var(--ui-radius);line-height:1.4}.text-button{min-height:32px;padding:6px 8px;font-size:13px}.button:focus-visible,button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #1a73e8;outline-offset:3px}.button:disabled,button:disabled{opacity:.48;cursor:not-allowed}.button:active:not(:disabled){transform:translateY(1px)}
.intake-grid{gap:16px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.google-import,.upload-panel{padding:20px;border-radius:8px}.intake-title{margin-bottom:12px;gap:8px}.intake-title h2,.upload-panel h2{font-size:16px;letter-spacing:-.01em}.google-import label{font-size:12px}.google-import textarea{min-height:66px;padding:10px;font-size:14px;line-height:1.5;background:white}.import-actions{margin-top:10px;gap:8px}.import-help{font-size:12px;line-height:1.55;margin:12px 0 0}.upload-panel{background:white;min-height:0}.upload-panel .file-icon{width:32px;height:34px;margin-bottom:10px}.upload-panel>p{margin:6px 0 14px;font-size:13px}.local-note{font-size:12px;margin-top:10px}.upload-panel #demoButton{margin-top:4px}.google-connection{font-size:12px}.how{margin:24px 0}.how h2{font-size:14px}.how ol{gap:16px}.how li,.how p{font-size:13px}.caveat{padding-top:12px;line-height:1.6}footer{padding:20px 0;margin-top:12px}.feedback-panel{padding:12px 0}
.home-heading{padding:4px 0 28px}.home-heading h1{font-size:clamp(38px,5vw,60px);line-height:1.08;margin:0 0 16px;letter-spacing:-.035em}.home-heading p{font-size:16px;line-height:1.6}.tool-grid{margin:18px 0;gap:0;border-bottom:1px solid var(--ui-line)}.tool-card{min-height:220px;padding:20px 24px 24px;border:0;border-right:1px solid var(--ui-line);border-radius:0}.tool-card:first-child{padding-left:0}.tool-card:last-child{border-right:0}.tool-card:before{display:none}.tool-card:hover{box-shadow:none;transform:none;background:#fafaf9}.tool-card h2{font-size:21px;margin:0 0 12px;letter-spacing:-.025em}.tool-card p{font-size:14px;line-height:1.65;margin:0 0 20px}.tool-action{padding-top:12px;font-size:13px}.tools-heading{padding-top:20px}.tools-heading h2{font-size:16px}.tools-heading>span{font-size:13px}.home-fix{gap:20px;padding:12px 0 20px;font-size:13px}.tools-home .home-note{background:white;border-top:1px solid var(--ui-line);border-radius:0;padding:16px 0}.home-note p{font-size:13px}.note-label{font-size:11px}
body.loaded main{padding-top:0}.workspace-toolbar{padding:18px 0 16px;gap:20px;align-items:center}.workspace-toolbar h2{font-size:19px;line-height:1.35;letter-spacing:-.02em;margin:0;max-width:none;overflow-wrap:anywhere}.workspace-toolbar p{font-size:12px;margin:5px 0 0;color:var(--ui-muted)}.actions{gap:8px;flex-shrink:0}.export-format{font-size:11px;gap:3px}.export-format select{min-height:34px;padding:6px;font-size:12px}.review-settings{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--ui-line);border-bottom:1px solid var(--ui-line);padding:18px 0;margin:0 0 14px;align-items:start}.review-settings.single-section{grid-template-columns:1fr}.review-settings[hidden]{display:none}.review-settings fieldset{min-width:0;display:block;background:white;border:0;border-radius:0;padding:0;margin:0}.review-settings fieldset[hidden]{display:none}.review-settings legend{padding:0;margin:0 0 10px;color:var(--ui-ink);font-size:14px;font-weight:600;background:white}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;margin:-3px 0 8px}.settings-heading p,.settings-heading #suggestionCount{font-size:11px;line-height:1.4;color:var(--ui-muted);margin:0}.settings-heading .text-button{font-size:11px;min-height:24px;padding:2px 4px;white-space:nowrap;color:var(--ui-muted)}.comment-primary,.review-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;align-items:end;width:100%}.filter-field{display:flex;flex-direction:column;gap:5px;min-width:0}.filter-field label,.review-settings .filter-field label{display:block;font-size:11px;line-height:1.4;color:var(--ui-muted);font-weight:500;white-space:nowrap}.review-settings .filter-field select,.review-settings .filter-field input[type=date]{width:100%;min-width:0;height:34px;min-height:34px;box-sizing:border-box;padding:5px 8px;border:1px solid #d9d9d4;border-radius:5px;background:#fff;color:var(--ui-ink);font-family:inherit;font-size:12px;line-height:1.4;letter-spacing:0}.review-settings select:focus-visible,.review-settings input:focus-visible{outline:2px solid #a7c8f5;outline-offset:1px;border-color:#1a73e8}.comment-advanced{display:flex;gap:14px;flex-wrap:wrap;padding:0;margin:12px 0 0}.comment-advanced label,.review-register-toggle{display:flex;align-items:center;gap:6px;min-height:24px;font-size:12px;color:#454541;cursor:pointer}.comment-advanced input,.review-register-toggle input{width:14px;height:14px;margin:0;accent-color:#252525}.review-register-toggle{margin-top:12px}.author-legend{gap:6px 12px;max-width:100%;font-size:11px;line-height:1.4;margin-top:10px}.author-legend:empty{display:none}.author-legend span:before{width:6px;height:6px;margin-right:5px}.settings-help{margin-top:6px;color:var(--ui-muted);font-size:11px}.settings-help summary{cursor:pointer;min-height:24px;line-height:24px}.settings-help p{font-size:12px;line-height:1.55;margin:6px 0 0;max-width:65ch}.single-section .comment-primary,.single-section .review-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.single-section .comment-advanced{margin-top:10px}.comment-empty{font-size:12px;margin:8px 0}.document-notes-disclosure{margin:0 0 12px;font-size:12px;color:var(--ui-muted)}.document-notes-disclosure summary{min-height:30px;line-height:30px;cursor:pointer}.document-notes-disclosure .warnings{margin:4px 0 0;padding:10px 12px;background:#fafaf8;color:#5e5e55;border:1px solid var(--ui-line);font-size:12px;line-height:1.55}.document-notes-disclosure .warnings p{margin:4px 0}
.export-inventory{padding:0;margin:0 0 16px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0}.inventory-heading{align-items:center;gap:16px;padding:0 0 8px}.inventory-heading h2{font-size:14px;line-height:1.4;margin:0 0 3px}.inventory-heading #inventorySummary{font-size:12px;line-height:1.55;margin:0;color:var(--ui-muted)}.inventory-heading>.button{white-space:nowrap;flex-shrink:0}.export-details>summary{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:34px;font-size:12px;cursor:pointer;color:#44443f}.export-details>summary:after{content:'+';font-size:16px;color:#777;margin-left:auto}.export-details[open]>summary:after{content:'−'}.export-details summary::-webkit-details-marker{display:none}.disclosure-hint{color:var(--ui-muted);font-size:11px}.export-details #inventoryRows{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:4px 0 6px}.inventory-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:8px 0;min-height:40px;border-top:1px solid #efefec}.inventory-row>label{font-size:12px;gap:7px;min-height:24px;flex-wrap:wrap}.inventory-row>p{display:none}.inventory-row input{width:14px;height:14px;margin:0;flex-shrink:0}.inventory-count{font-size:11px;color:var(--ui-muted);font-variant-numeric:tabular-nums}.inventory-actions{flex-wrap:wrap;justify-content:flex-end;gap:0 4px;max-width:190px}.inventory-actions button{font-size:11px;padding:3px 4px;min-height:28px;line-height:1.4;color:#1558b0}.inventory-actions button:hover{text-decoration:underline;text-underline-offset:3px}.export-info{font-size:11px;color:var(--ui-muted);margin:4px 0 12px}.export-info summary{min-height:26px;line-height:26px;cursor:pointer}.export-info .inventory-note{font-size:12px;margin:6px 0;line-height:1.6;max-width:85ch}#archiveStatus{font-size:12px;margin:4px 0 8px}#archiveStatus:empty{display:none}.has-inventory .document-extras.inventory-gallery{display:block;padding:0;margin:0;border:0;border-radius:0}.inventory-gallery .comment-export,.inventory-gallery .image-export-heading{display:none!important}.inventory-gallery #imageGallery{margin:0;border-top:1px solid var(--ui-line)}.inventory-gallery #imageGallery>summary{font-size:12px;font-weight:500;padding:8px 0;min-height:32px}.inventory-gallery .image-grid{margin:4px 0 12px;gap:12px}.inventory-gallery #imageEmpty{font-size:12px;margin:0 0 8px}.document-extras .image-card{padding:10px;border-radius:5px;contain-intrinsic-size:auto 210px}.image-card p{font-size:12px;line-height:1.4}.image-card img{height:135px}.image-card .button{min-height:32px;padding:6px 8px;font-size:12px}.preview-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:500;letter-spacing:0;margin:16px 0 10px;color:#55554f}.print-tips{font-size:11px;font-weight:400;color:var(--ui-muted);max-width:55%}.print-tips summary{cursor:pointer;text-align:right;min-height:26px;line-height:26px}.print-tips .print-help{font-size:12px;line-height:1.55;margin:5px 0;max-width:55ch}
#document{padding:30px 26px;background:white;border:1px solid var(--ui-line);box-shadow:none;border-radius:6px}.doc-header{margin-bottom:20px;padding-bottom:10px;font:11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#686862;border-color:var(--ui-line)}.doc-row{grid-template-columns:minmax(0,1fr) 238px;gap:26px;margin-bottom:14px;align-items:start}.doc-text{font-size:15px;line-height:1.7}.doc-text p{margin:0 0 10px}.doc-text h1,.doc-text h2,.doc-text h3{margin-top:14px;margin-bottom:10px}.doc-text mark{background:transparent;border-bottom:1px solid #bdbdb6;padding:0}.doc-row:has(.doc-changes){grid-template-columns:minmax(0,1fr) 238px}.doc-row:has(.doc-changes)>.doc-text{grid-row:1/span 2}.doc-row:has(.doc-changes)>.doc-comments{grid-column:2;grid-row:1}.doc-row:has(.doc-changes)>.doc-changes{grid-column:2;grid-row:2;margin-top:-14px}.doc-row:has(.doc-changes):not(:has(.comment-card:not([hidden])))>.doc-changes{grid-row:1;margin-top:0}.doc-comments{display:flex;flex-direction:column;gap:8px;min-width:0}.doc-changes{gap:8px}.has-visible-changes>.doc-text{border-left:1px solid #ccc;padding-left:10px}
.feature-settings{padding:16px 0}.feature-settings h2{font-size:17px;margin-bottom:14px}.feature-options{gap:16px}.feature-options>label:not(.feature-check){font-size:12px;gap:6px}.feature-options input:not([type=checkbox]),.feature-options select{min-height:36px;padding:6px 9px;font-size:13px}.feature-check{font-size:13px;min-height:30px}.feature-note{font-size:12px;margin-top:12px;line-height:1.6}.feature-output{padding:16px 0}#featureStatus,#featureReport ul{font-size:13px}.caption-row{padding:16px 0;grid-template-columns:112px 1fr;gap:18px}.caption-row img{width:112px;height:96px}.caption-row>div{gap:6px}.caption-row textarea{padding:9px;font-size:13px}.caption-label{font-size:12px}.merge-queue{padding:18px;border-radius:7px}.merge-options{gap:12px}.merge-options label,.merge-options p{font-size:13px}.merge-queue li{padding:10px 0}.merge-queue li button{min-height:32px;padding:5px 8px;font-size:12px}.image-tool .document-extras{padding:16px;border-radius:6px}.image-tool .image-export-heading h2{font-size:17px}.image-tool #imageGallery>summary{font-size:13px;padding:8px 0;min-height:32px}.image-tool .image-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.image-tool .image-card{padding:12px}.image-tool .image-card img{height:150px}
}
/* Comment content also carries through print and the archive PDF. */
.comment-card{background:#fff!important;border:1px solid #e5e5e1!important;border-radius:5px;padding:10px 12px!important;margin:0!important;box-shadow:none;overflow-wrap:anywhere;color:#30302c}.comment-card.author-thread{border-left:1px solid #e5e5e1!important}.comment-entry{background:transparent!important;padding:0!important;border:0!important}.comment-entry+.comment-entry{margin-top:10px!important;padding-top:9px!important;border-top:1px solid #ecece8!important}.comment-meta{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:4px;font:600 12px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.comment-number{font-size:11px;font-weight:600;letter-spacing:0;color:var(--author-color,#555)}.comment-author{font-size:12px;font-weight:600;color:var(--author-color,#333)}.comment-date,.comment-meta .comment-date{display:block;flex-basis:100%;color:#6a6a63;font:400 10px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;margin:0}.comment-body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:12px;line-height:1.6;color:#343430;white-space:pre-wrap}.comment-label{font:500 10px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#707068;margin:0 0 6px}.comment-card>.comment-label{padding-bottom:6px;border-bottom:1px solid #eee}.comment-entry.is-reply .comment-number{display:none}.comment-entry.is-reply .comment-author:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--author-color);margin:0 6px 1px 0}.comment-card blockquote{border-left:1px solid #d8d8d1;margin:6px 0 10px;padding:2px 0 2px 9px;font-size:11px;color:#686861;line-height:1.5}.doc-text a.anchor-badge.author-anchor{border-radius:3px;min-width:18px;min-height:18px;padding:2px 4px;margin-right:3px;font:600 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;vertical-align:baseline}.comment-card:target{outline:2px solid var(--author-color,#a9c5ec);outline-offset:2px}.suggestion-card{border:1px solid #e5e5e1;border-left:1px solid #e5e5e1;border-radius:5px;padding:9px 11px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:11px;line-height:1.55;background:#fff}.change-author{font-size:11px;line-height:1.5;font-weight:600}.change-date{font-size:10px;line-height:1.4;color:#6a6a63;margin:2px 0 7px}.change-description{font-size:11px;line-height:1.55;color:#41413b}.suggestion-register{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:12px}.suggestion-register h2{font-size:17px}.suggestion-register th{background:#fafaf8;font-size:11px;font-weight:600}.suggestion-register th,.suggestion-register td{padding:8px;border-color:#e1e1db;overflow-wrap:anywhere}.comments-small .comment-body{font-size:11px}.comments-large .comment-body{font-size:14px}.comments-large .comment-meta,.comments-large .comment-author{font-size:13px}.monochrome .comment-card,.monochrome .suggestion-card{border:1px solid #aaa!important}.monochrome .comment-entry{border-left:0!important}.monochrome .comment-author,.monochrome .comment-number,.monochrome .comment-body,.monochrome .change-author{color:#111!important}.hide-dates .comment-date{display:none!important}.hide-authors .comment-author{display:none!important}.comment-entry[hidden],.comment-card[hidden],.suggestion-card[hidden]{display:none!important}
@media screen and (max-width:1050px){.topbar{flex-wrap:wrap;height:auto;min-height:64px;padding:14px 24px;gap:8px 24px}.topbar .tool-nav{order:3;width:100%;gap:18px;justify-content:flex-start;flex-wrap:wrap}.beta{display:none}main{padding:26px 24px}.review-settings{gap:20px}.inventory-actions{max-width:145px}.single-section .comment-primary,.single-section .review-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media screen and (max-width:800px){.review-settings{grid-template-columns:1fr;gap:18px}.review-settings fieldset+fieldset{border-top:1px solid var(--ui-line);padding-top:16px}.review-settings.single-section fieldset{border-top:0;padding-top:0}.export-details #inventoryRows{grid-template-columns:1fr}.inventory-actions{max-width:none}.intake-grid{grid-template-columns:1fr}.upload-panel{align-items:flex-start;text-align:left}.upload-panel .file-icon{display:none}.upload-panel .local-note{justify-content:flex-start}.doc-row,.doc-row:has(.doc-changes){grid-template-columns:minmax(0,1fr)!important;gap:10px}.doc-row:has(.doc-changes)>.doc-text,.doc-row:has(.doc-changes)>.doc-comments,.doc-row:has(.doc-changes)>.doc-changes{grid-column:1;grid-row:auto;margin-top:0}.doc-comments,.doc-changes{margin-left:14px;max-width:100%;border:0;padding-bottom:0}.doc-row{padding-bottom:14px;border-bottom:1px solid #efefec}.tool-grid{grid-template-columns:1fr}.tool-card,.tool-card:first-child{padding:20px 0;border-right:0;border-bottom:1px solid var(--ui-line);min-height:0}.tool-card:last-child{border-bottom:0}.tool-card h2{font-size:20px}.tool-action{margin-top:0}.workspace-toolbar{align-items:flex-start}.actions{flex-wrap:wrap}.workspace-toolbar h2{max-width:none}.inventory-heading>.button{margin:0}.image-tool .image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:520px){.topbar{padding:14px 18px}.topbar .tool-nav{display:flex;gap:4px 16px;font-size:12px;align-items:center}.tool-nav a{min-height:36px;padding:4px 0}.images-navigation{font-size:12px}.images-navigation summary{min-height:36px}.brand{font-size:20px}main{padding:24px 18px}.intro h1{font-size:30px}.intro h1 br{display:block}.intro h1 span:before{content:none}.intro>p{font-size:14px}.google-import,.upload-panel{padding:16px}.import-actions .button{min-height:40px;white-space:normal}.workspace-toolbar{display:block;padding:16px 0}.workspace-toolbar h2{font-size:17px}.workspace-toolbar .actions{width:100%;margin-top:12px}.workspace-toolbar .actions button{flex:1;min-height:38px}.comment-primary,.review-filter-grid,.single-section .comment-primary,.single-section .review-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.review-settings .filter-field select,.review-settings .filter-field input[type=date]{height:38px;min-height:38px;font-size:12px}.review-settings{padding:14px 0}.comment-advanced{gap:8px 14px}.comment-advanced label,.review-register-toggle{min-height:30px}.settings-heading{gap:10px}.settings-heading #suggestionCount{max-width:75%}.inventory-heading{display:grid;grid-template-columns:1fr auto;gap:10px}.inventory-heading>.button{padding:8px 10px;font-size:12px}.inventory-heading #inventorySummary{font-size:11px}.inventory-row{gap:4px 8px}.inventory-row>label{font-size:12px}.inventory-actions{max-width:160px}.inventory-actions button{min-height:32px}.disclosure-hint{display:none}.preview-label{margin-top:12px}.print-tips{max-width:50%}#document{padding:18px 14px;border-radius:4px}.doc-text{font-size:15px}.doc-comments,.doc-changes{margin-left:8px}.comment-card,.suggestion-card{padding:9px 10px!important}.caption-row{grid-template-columns:76px 1fr;gap:12px}.caption-row img{width:76px;height:76px}.feature-options{gap:12px}.feature-options>label{flex:1;min-width:120px}.image-tool .image-grid{grid-template-columns:1fr}footer{margin-left:18px;margin-right:18px}.home-note .note-label{display:none}}
@media print{.review-settings,.document-notes-disclosure,.print-tips,.export-inventory{display:none!important}.comment-card{padding:2mm 2.5mm!important;border-color:#d8d8d3!important;border-radius:1mm;break-inside:avoid}.comment-body{font-size:8pt;line-height:1.45}.comment-meta,.comment-author{font-size:8pt;line-height:1.4}.comment-date,.comment-meta .comment-date,.comment-label{font-size:6.5pt}.comment-number{font-size:7pt}.comment-entry+.comment-entry{margin-top:2mm!important;padding-top:2mm!important}.comments-small .comment-body{font-size:7pt}.comments-large .comment-body{font-size:9pt}.suggestion-card{font-size:8pt;padding:2mm 2.5mm;border-radius:1mm}.change-author{font-size:8pt}.change-date{font-size:6.5pt}.change-description{font-size:7.5pt}.doc-text a.anchor-badge.author-anchor{min-width:0;min-height:0;font-size:7pt!important;padding:1px 3px}.suggestion-register{font-size:8pt}}
@media(prefers-reduced-motion:reduce){.button,.tool-card{transition:none;transform:none!important}}
@media screen{
.comments-inline .doc-row:has(.doc-changes){grid-template-columns:minmax(0,1fr)}.comments-inline .doc-row:has(.doc-changes)>.doc-text,.comments-inline .doc-row:has(.doc-changes)>.doc-comments,.comments-inline .doc-row:has(.doc-changes)>.doc-changes{grid-column:1;grid-row:auto;margin-top:0}.comments-hide .doc-row:has(.doc-changes)>.doc-changes,.register-only .doc-row:has(.doc-changes)>.doc-changes{grid-row:1;margin-top:0}
}
@media screen and (max-width:800px){.comments-hide .doc-row:has(.doc-changes)>.doc-changes,.register-only .doc-row:has(.doc-changes)>.doc-changes{grid-row:auto}}
@media screen and (max-width:520px){.review-settings .filter-field input[type=date],.review-settings .filter-field select{font-size:16px;min-height:42px;height:42px}.workspace-toolbar .actions button,.inventory-heading>.button,.import-actions .button{min-height:42px}}

/* Intake: one local upload, one link action, one concrete output example. */
.product-scope{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:#55554f;font-size:13px;font-weight:500}
.intro h1 span{color:#68706c}.home-page .intro h1{font-size:clamp(36px,4.2vw,54px);max-width:920px}.home-page .intro h1 span{color:#1558b0}.intro>p{max-width:780px}
.topbar .tool-nav{gap:28px}.images-navigation.is-current>summary{color:#252525;box-shadow:0 2px #252525}.images-navigation.is-current>summary:focus-visible{outline:2px solid #1a73e8}
.intake-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;align-items:start}.intake-controls{min-width:0}.intake-controls .upload-panel{padding:22px;text-align:left;align-items:stretch;border:1px dashed #b9c3b7;background:#fcfcfa;border-radius:6px}.upload-top{display:flex;align-items:center;gap:16px}.upload-top .file-icon{display:grid;margin:0;width:38px;height:42px;flex-shrink:0;color:#1558b0;background:white;font-size:24px}.upload-top h2{margin:0 0 5px;font-size:17px}.upload-top p{font-size:13px;line-height:1.5;color:#62625e;margin:0}.upload-actions{display:flex;align-items:center;gap:16px;margin-top:20px;flex-wrap:wrap}.upload-actions .text-button{margin:0;padding:6px 0;text-decoration:none;font-size:13px}.upload-actions .text-button:hover{text-decoration:underline}.upload-actions .button{min-height:40px}.local-note{justify-content:flex-start;font-size:12px;margin-top:14px;color:#52684f}.local-note svg{width:16px;height:16px;flex-shrink:0}.upload-panel.dragover{background:#eef5ff;border-color:#4285f4}.intake-controls .google-import{border:0;border-radius:0;padding:20px 0 0;background:white}.intake-title h2{font-size:14px;font-weight:600}.intake-title{gap:8px;margin-bottom:12px}.google-import>label{display:block;font-size:12px;margin-bottom:6px}.link-input-row{display:flex;gap:8px;align-items:stretch}.link-input-row #googleLinks{display:block;width:100%;min-width:0;flex:1;border:1px solid #d9d9d3;border-radius:5px;font-size:14px;line-height:1.5;padding:9px 11px;color:#252525;background:white;min-height:40px;resize:vertical}.link-input-row #googleLinks:focus-visible{outline:2px solid #4285f4;outline-offset:1px}.link-input-row .button{min-height:40px;align-self:start}.import-actions{margin:0;gap:10px;align-items:center}.import-actions .text-button{margin:0;padding:6px 0;font-size:12px}.google-connection:empty{display:none}.google-register-choice{display:flex!important;align-items:center;gap:7px;margin-top:12px;font-size:12px!important;line-height:1.5}.google-register-choice input{margin:0;accent-color:#4285f4;width:15px;height:15px}.import-help{font-size:12px;line-height:1.55;max-width:62ch;margin:10px 0 0}#googleStatus{font-size:13px;margin-bottom:0}
.export-presets{border:0;padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.export-presets legend{font-size:12px;color:#62625e;margin-bottom:9px;padding:0}.preset-option{display:flex;align-items:start;gap:7px;padding:12px 10px;position:relative;cursor:pointer;border:1px solid #e6e6e2;border-top:2px solid var(--preset-color);border-radius:4px;background:white}.preset-blue{--preset-color:#4285f4}.preset-red{--preset-color:#ea4335}.preset-green{--preset-color:#34a853}.preset-option:has(input:checked){background:#f8f9fc;border-color:var(--preset-color)}.preset-option input{width:14px;height:14px;accent-color:var(--preset-color);margin:2px 0 0;flex-shrink:0}.preset-option strong{display:block;font-size:12px;font-weight:600;line-height:1.5;color:#30302c}.preset-option small{display:block;font-size:11px;line-height:1.5;color:#62625e;margin-top:5px}.preset-option strong>span{color:var(--preset-color)}
.output-example{border:1px solid #e6e6e2;border-radius:6px;padding:20px;background:white;min-width:0}.example-heading{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#65655e;padding-bottom:16px;border-bottom:1px solid #eaeae6}.example-heading>span:last-child{color:#252525;font-weight:600}.zip-example>strong{display:block;font-size:14px;font-weight:600;margin:18px 0 12px;overflow-wrap:anywhere}.zip-example ul{list-style:none;margin:0;padding:0 0 0 8px;border-left:1px solid #dcdcd6}.zip-example li{padding:7px 0 7px 12px;font-size:12px;line-height:1.5;color:#33332d}.zip-example li>span{display:inline-flex;align-items:center;justify-content:center;min-width:35px;height:20px;font-size:9px;font-weight:600;border-radius:3px;margin-right:7px;border:1px solid #d3dff1;color:#1558b0;background:#f4f7fd}.zip-example li:nth-child(2)>span{color:#196a39;background:#f3f9f3;border-color:#d2e6d5}.zip-example li:nth-child(4)>span{color:#a02d25;background:#fdf6f5;border-color:#f0d5d1}.zip-example li:nth-child(5)>span{color:#785900;background:#fffaf0;border-color:#ebddb1}.zip-example small{display:block;margin-left:43px;font-size:11px;color:#686862}.output-example p{font-size:12px;line-height:1.65;color:#62625e;margin-bottom:0}.zip-example>p{margin-top:18px}.review-example{display:grid;grid-template-columns:minmax(0,1fr) 40%;gap:20px;padding-top:20px}.sample-doc{font-family:Georgia,serif}.sample-doc h3{font-size:19px;line-height:1.3;margin:0 0 15px;font-weight:500}.sample-doc p{color:#333;font-size:13px;line-height:1.8;margin:0 0 15px}.sample-mark{border-bottom:1px solid #1558b0}.sample-doc del{color:#a02d25}.sample-doc ins{color:#196a39}.sample-doc .sample-filler{color:#777}.sample-comments>div{border:1px solid #e5e5df;border-radius:4px;padding:9px 10px;margin-bottom:10px}.sample-comments strong{font-size:11px;color:#1558b0}.sample-comments>div:nth-child(2) strong{color:#196a39}.sample-comments p{font-size:11px;line-height:1.5;margin:5px 0 7px;color:#40403b}.sample-comments small{font-size:9px;color:#76766e}.sample-caption{border-top:1px solid #eee;padding-top:12px;font-size:11px!important}.sample-pages{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px 12px}.sample-pages>div{border:1px solid #deded8;padding:16px;min-height:175px;font-family:Georgia,serif}.sample-pages span{display:block;font:11px monospace;color:#1558b0;margin-bottom:18px}.sample-pages strong{font-size:15px}.sample-pages p{line-height:2;color:#777}.sample-landscape{height:100px;background:#f1f3ec;border:1px solid #dde1d4;position:relative;margin:18px 0;overflow:hidden}.sample-landscape:before{content:'';position:absolute;width:150px;height:150px;border:1px solid #b3c3a4;background:#d9e3ce;transform:rotate(38deg);left:15%;top:40px}.sample-landscape:after{content:'';position:absolute;width:130px;height:130px;border:1px solid #c8cbb4;background:#e7e7d2;transform:rotate(52deg);right:15%;top:42px}.size-comparison{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:28px;letter-spacing:-.025em}.size-comparison>strong{color:#196a39;font-weight:600}.size-comparison>span:nth-child(2){font-size:22px;color:#777}.size-comparison small{display:block;font-size:11px;font-weight:400;color:#62625e;letter-spacing:0;margin-top:7px}.caption-example>.sample-landscape{height:80px;margin-bottom:8px}.caption-example>p{text-align:center;font:12px/1.6 Georgia,serif;margin-top:0}.sample-table-caption{font:12px Georgia,serif;margin:16px 0 7px}.caption-example table{border-collapse:collapse;width:100%;font-size:11px}.caption-example td,.caption-example th{border:1px solid #deded8;padding:6px 10px;text-align:left;font-weight:400}.caption-example th{background:#fafaf8}.sample-list{font:11px/1.8 Georgia,serif;margin-top:16px;border-top:1px solid #eee;padding-top:12px}.images-example>strong{font-size:13px}.images-example a{font-size:12px;color:#1558b0;display:inline-block;margin-top:12px}.how{margin:22px 0 28px}.how h2{font-size:13px;line-height:1.5;margin:0 0 5px}.how p{font-size:12px;line-height:1.7;margin:0}.how .caveat{margin-top:10px;padding-top:10px;border-top:1px solid #eee;max-width:95ch}
/* Inventory has one row per content type, aligned format chips, and no zero rows. */
.primary-inventory>summary{display:none}.export-details #inventoryRows{display:block;margin:0}.inventory-columns{display:grid;grid-template-columns:1fr auto;padding:9px 0;color:#686862;font-size:11px}.inventory-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;min-height:45px;padding:7px 0;align-items:center}.inventory-row>label{font-size:13px;line-height:1.5;min-height:30px;display:flex;align-items:center;flex-wrap:nowrap}.inventory-row>label input{width:15px;height:15px}.inventory-count{margin-left:4px;font-size:12px}.inventory-actions{display:flex;gap:5px;flex-wrap:wrap;align-items:center;max-width:none}.inventory-actions .format-chip{margin:0;padding:4px 9px;min-height:30px;line-height:1.35;font-size:11px;color:#3c4039;border:1px solid #deded8;background:#fff;border-radius:4px;text-decoration:none}.inventory-actions .format-chip:hover{background:#f5f7f3;border-color:#aab5a1;text-decoration:none}.inventory-missing{font-size:12px;color:#6a6a63;margin:10px 0 14px}.inventory-heading h2{font-size:17px}.inventory-heading #inventorySummary{font-size:12px}.inventory-heading>.button{min-height:42px}.export-inventory{padding-bottom:8px;margin-bottom:16px}.pdf-options{grid-column:1/-1;margin:1px 0 2px}.pdf-options>summary{font-size:12px;color:#55554f;cursor:pointer;padding:6px 0 6px 22px;min-height:30px}.pdf-options>summary span{font-size:11px;color:#707069;margin-left:8px}.pdf-options .review-settings{margin:5px 0 8px;padding:16px;background:#fafaf8;border:1px solid #e6e6e2;border-radius:5px}.review-settings .filter-field{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0}.review-settings .filter-field>label{display:block;margin:0;font-size:11px;line-height:16px;min-height:16px}.review-settings .filter-field select,.review-settings .filter-field input[type=date],.review-settings #commentAuthor{width:100%;min-width:0;height:36px;min-height:36px;margin:0;font:400 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:6px 8px;border:1px solid #d9d9d3;border-radius:4px;background:#fff;color:#30302c}.review-settings .settings-heading .text-button{margin:0;margin-left:auto;min-height:28px}.pdf-options #commentFilterStatus:not(.filter-error){display:none}.pdf-options #commentFilterStatus.filter-error{display:block;color:#a02d25}.pdf-options #commentFilterStatus:empty{display:none}.document-preview-details{border-top:1px solid #e6e6e2;margin:18px 0}.document-preview-details>summary{display:flex;align-items:baseline;gap:12px;cursor:pointer;min-height:46px;padding:14px 0;font-size:13px;font-weight:500}.document-preview-details>summary:before{content:'+';font-weight:400}.document-preview-details[open]>summary:before{content:'−'}.document-preview-details>summary span{font-size:11px;color:#6a6a63;font-weight:400}.document-preview-scroll{max-height:650px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #e6e6e2;border-radius:6px}.document-preview-scroll #document{border:0;border-radius:0}.document-preview-details .preview-label{margin-top:0}#archiveStatus:not(:empty){padding:8px 0;color:#42603a}
/* Passage markers occupy the margin, never split a word. */
.doc-text{position:relative;min-width:0}.passage-markers{float:left;display:flex;flex-direction:column;gap:4px;margin:4px 6px 3px -22px;position:relative;max-width:20px}.doc-text .passage-markers a.anchor-badge{min-width:18px;min-height:18px;margin:0;display:inline-flex;align-items:center;justify-content:center;font-size:9px!important;padding:2px!important;line-height:1.2;white-space:nowrap}.doc-row>.doc-text{grid-column:1}.doc-row>.doc-comments{grid-column:2}.doc-text mark{border-bottom-color:var(--author-color,#a4a49a)}.monochrome .doc-text mark{border-bottom-color:#333}.doc-text h1{max-width:100%;width:auto}.document-title-row>.doc-text{grid-column:1!important}.doc-comments{max-width:36rem}.comment-card{max-width:36rem}.comment-body{font-size:13px;line-height:1.6}.comment-meta,.comment-author{font-size:12px}.comments-inline .doc-comments{max-width:36rem}.comment-reaction .comment-meta{display:flex;align-items:center;gap:6px;margin:0}.comment-reaction .comment-body{font-size:13px;line-height:1.4;order:-1}.comment-reaction .comment-number,.comment-reaction .comment-date{display:none!important}.comment-reaction .comment-author:before{display:none!important}.comment-entry.comment-reaction{border-top:0!important;margin-top:8px!important;padding-top:0!important}.document-figure{break-inside:avoid;page-break-inside:avoid;margin-top:18px;margin-bottom:18px}.document-figure>.doc-row{margin-bottom:0}.document-figure .figure-caption-row .doc-text{text-align:center!important;font-size:13px;color:#55554f}.figure-caption-row .doc-text>p{text-align:center!important;margin:2px 0 8px}.doc-text img{margin-top:16px;margin-bottom:8px}.doc-text h1,.doc-text h2,.doc-text h3{padding-top:2px}.table-thumbnail{width:110px;max-height:110px;overflow:hidden;border:1px solid #dcdcd6;padding:5px;background:#fafaf8}.table-thumbnail table{border-collapse:collapse;width:100%;font-size:9px;table-layout:fixed}.table-thumbnail td{border:1px solid #dadad2;padding:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.caption-list{margin-top:16px}.caption-row{padding:14px 0}.caption-row textarea{font-size:14px;line-height:1.5}.compression-result{font-size:32px;line-height:1.3;letter-spacing:-.03em;font-weight:600;color:#196a39;margin:14px 0}.feature-output #featureReport>p{font-size:13px}.feature-output #featureReport>.compression-result{font-size:32px}
@media screen and (max-width:900px){.intake-grid{gap:22px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}.export-presets{grid-template-columns:1fr}.preset-option{padding:9px 12px}.preset-option small{margin-top:2px}.review-example{gap:12px;grid-template-columns:1fr}.sample-comments{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sample-doc .sample-filler{display:none}.pdf-options .review-settings{grid-template-columns:1fr}.size-comparison{font-size:23px}.topbar .tool-nav{gap:22px}.inventory-row>label{flex-wrap:wrap}}
@media screen and (max-width:700px){.intake-grid{grid-template-columns:1fr}.output-example{padding:16px}.export-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.preset-option{padding:9px 7px;gap:5px}.preset-option small{font-size:10px}.upload-top .file-icon{display:none}.upload-actions{gap:12px}.review-example{grid-template-columns:minmax(0,1fr) 40%}.sample-comments{display:block}.home-page .intro h1{font-size:36px}.intro h1 span{display:inline}.intake-controls .upload-panel{padding:18px}.link-input-row #googleLinks{font-size:16px}.review-settings .filter-field select,.review-settings .filter-field input[type=date],.review-settings #commentAuthor{font-size:16px;height:42px;min-height:42px}.review-settings .comment-primary,.review-settings .review-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-options .review-settings{padding:12px}.pdf-options>summary span,.document-preview-details>summary span{display:none}.inventory-actions{max-width:210px;justify-content:flex-end}.inventory-row>label{font-size:12px}.inventory-actions .format-chip{font-size:10px;padding:5px 7px;min-height:32px}.inventory-columns{font-size:10px}.doc-row>.doc-comments{grid-column:1!important}.passage-markers{margin-left:0;float:none;display:inline-flex;flex-direction:row;max-width:none;gap:4px;margin-bottom:4px}.doc-comments{max-width:36rem;margin-left:0}.document-preview-scroll{max-height:520px}.table-thumbnail{width:76px}.comment-card{width:100%}.local-note{font-size:11px}.how p,.how .caveat{font-size:12px}.topbar .tool-nav{gap:22px}.document-preview-details>summary{font-size:13px}.comment-body{font-size:13px}}
@media print{.intake-grid,.export-presets,.output-example,.document-preview-details>summary{display:none!important}.document-preview-details{border:0;margin:0}.document-preview-scroll{overflow:visible!important;max-height:none!important;border:0}.comment-card:target,.comment-card{outline:none!important;box-shadow:none!important}.doc-comments{max-width:none}.passage-markers{margin-left:-4mm;max-width:4mm;gap:1mm}.doc-text .passage-markers a.anchor-badge{font-size:6pt!important;min-width:3mm;min-height:3mm;padding:0!important}.comment-body{font-size:8pt}.comment-meta,.comment-author{font-size:8pt}.comment-reaction .comment-body{font-size:8pt}.document-figure{break-inside:avoid;page-break-inside:avoid}.document-figure .figure-caption-row .doc-text{font-size:9pt}.doc-row>.doc-comments{grid-column:2}.comments-inline .doc-row>.doc-comments{grid-column:1}.document-title-row>.doc-text{grid-column:1!important}}
/* Keep the marker gutter inside each rendered PDF block, avoiding clipped badges. */
.doc-row>.doc-text{padding-left:22px}.comments-hide .doc-row>.doc-text,.doc-row.no-comments>.doc-text{padding-left:0}
@media screen and (max-width:700px){.doc-row>.doc-text{padding-left:0}}
@media print{.doc-row>.doc-text{padding-left:4mm}.comments-hide .doc-row>.doc-text,.doc-row.no-comments>.doc-text{padding-left:0}}
