/* The intake and the finished sheet have separate layouts and responsibilities. */
.catalogue-first .intake-path{display:flex;align-items:center;gap:12px;padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid var(--line)}
.intake-path button{display:flex;align-items:center;gap:9px;min-height:44px;border:0;background:none;padding:6px 0;color:var(--navy);text-align:left;font:inherit;cursor:pointer;min-width:0}.intake-path button b{font-size:14px;overflow-wrap:anywhere}.intake-path button span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#edf1f5;font-weight:700}.intake-path button[aria-current=step] span{background:var(--navy);color:white}.intake-path button:disabled{opacity:.5;cursor:default}.intake-path button:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.catalogue-options{display:grid;gap:10px;margin:18px 0}.category-options{grid-template-columns:repeat(4,minmax(0,1fr))}.brand-options{grid-template-columns:repeat(4,minmax(0,1fr))}.model-options{grid-template-columns:repeat(3,minmax(0,1fr));max-height:390px;overflow-y:auto;padding:3px}
.catalogue-first .catalogue-option{display:flex;flex-direction:column;justify-content:center;gap:6px;text-align:left;min-height:68px;padding:16px;border:1px solid #c9d3df;border-radius:7px;background:#fff;color:var(--navy);font-size:15px;line-height:1.4;cursor:pointer;overflow-wrap:anywhere}.catalogue-option strong{font-size:17px}.catalogue-option span{font-size:12px;color:var(--muted)}.catalogue-first .catalogue-option:hover,.catalogue-first .catalogue-option:focus-visible{border-color:var(--blue);background:#f0f8fc;outline:2px solid var(--blue);outline-offset:1px}.catalogue-first .catalogue-option[aria-pressed=true]{border:2px solid var(--navy);background:#edf6fc;padding:15px}
.catalogue-first .link-button{min-height:44px}.catalogue-first h2:focus{outline:none}.catalogue-selection-card{background:#f2f7fa;padding:20px;border-left:3px solid var(--blue);margin:20px 0}.catalogue-selection-card h3{font-size:24px;margin:6px 0}.catalogue-selection-card p{font-size:14px;margin:8px 0}.catalogue-fallback{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.catalogue-fallback p{font-size:13px;margin:5px 0;color:var(--muted)}.catalogue-fallback .button{white-space:nowrap}.catalogue-continue{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px;background:#fff;padding:18px 0 4px;border-top:1px solid var(--line);margin-top:20px;box-shadow:0 -12px 20px #fff}.catalogue-continue>p:first-child{font-size:14px;margin:0;overflow-wrap:anywhere}.catalogue-continue .intake-consent{grid-column:1/-1;font-size:11px;line-height:1.5;color:var(--muted);margin:4px 0}.serial-alternative{margin:24px 0;border:1px solid var(--line);padding:18px;border-radius:7px}.serial-alternative summary{min-height:35px;cursor:pointer;font-weight:650}.catalogue-options[aria-busy=true]{opacity:.55;pointer-events:none}
@media(max-width:800px){.category-options,.brand-options{grid-template-columns:repeat(3,minmax(0,1fr))}.model-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalogue-first .intake-path{gap:6px;margin-bottom:22px}.intake-path button{gap:5px;flex:1}.intake-path button b{font-size:11px}.intake-path button span{flex-basis:23px;height:23px;font-size:12px}.category-options,.brand-options{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-first .catalogue-option{padding:12px;min-height:70px;font-size:14px}.catalogue-first .catalogue-option[aria-pressed=true]{padding:11px}.catalogue-option strong{font-size:16px}.catalogue-fallback{display:block}.catalogue-fallback .button{margin-top:12px;width:100%}.catalogue-continue{grid-template-columns:1fr;padding-top:14px}.catalogue-continue .button{width:100%}.catalogue-selection-card{padding:16px}.model-options{max-height:310px}}
/* Panel sizing is owned by portal-workspace.css. */
.publication-start{width:100%;max-width:1000px;margin:0 auto;padding:12px 0 40px}
.publication-intro{margin:0 0 30px;max-width:800px}.publication-intro h1{font-size:clamp(30px,3vw,44px);line-height:1.15;margin:10px 0 16px}.publication-intro>p:last-child{font-size:17px;line-height:1.65;max-width:720px}
.intake-card{display:block;width:100%;padding:36px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 24px #00003306;text-align:left}
.intake-card h2{font-size:28px;line-height:1.3;margin:10px 0 24px}.intake-card p{max-width:750px;line-height:1.65}.intake-card .form-field{width:100%;margin:18px 0}.intake-card label{display:block;font-size:15px;margin-bottom:10px}
.intake-card input[type=search],.intake-card input[type=text],.intake-card input:not([type]){display:block;width:100%;min-width:0;min-height:58px;padding:14px 16px;font-size:17px;border:1px solid #aebac9;border-radius:6px;background:white}
.intake-card .category-picker{max-width:none}.intake-card .category-results{position:static;width:100%;max-height:320px;overflow:auto;margin:12px 0;border:1px solid var(--line);border-radius:6px;box-shadow:none}.intake-card .category-result{width:100%;min-height:50px;text-align:left;padding:14px 16px;font-size:16px;border:0;border-bottom:1px solid #edf0f4;background:white}.intake-card .category-result:hover,.intake-card .category-result:focus{background:#eef6fc;outline:2px solid var(--blue);outline-offset:-2px}
.intake-card .intake-question{padding:0;margin:0;border:0;background:transparent}.intake-card .intake-question>.link-button{display:block;margin-top:22px;min-height:44px}.intake-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px}.intake-choice{padding:25px;border:1px solid #b7c4d4;border-radius:8px;text-align:left;color:var(--navy);background:#f8fafc;min-height:130px;cursor:pointer}.intake-choice b{display:block;font-size:19px;margin-bottom:12px}.intake-choice span{font-size:14px}.intake-choice:hover,.intake-choice:focus-visible{border-color:var(--blue);background:#eef7fc;outline:2px solid var(--blue)}.intake-reassurance{font-size:14px;color:var(--muted);line-height:1.7;margin:22px 0 12px}
.focused-intake{max-width:none;width:100%;min-width:0}.focused-intake .wizard-heading h1{font-size:clamp(28px,2.5vw,39px)}.focused-intake .wizard-progress{max-width:none}.focused-intake .step-heading h2{font-size:28px}.focused-intake .step-heading p{font-size:16px}.focused-intake .upload-zone{padding:40px 24px;border:2px dashed #bdc9d7;border-radius:10px;background:#f8fafc}.focused-intake .upload-zone h3{font-size:24px}.focused-intake .upload-zone p{font-size:15px}.focused-intake .upload-buttons{justify-content:center;gap:12px;flex-wrap:wrap}.focused-intake .prepare-action{max-width:780px;margin:24px auto}.focused-intake .action-notice{font-size:12px;line-height:1.6;color:var(--muted)}.focused-intake .serial-entry{padding:20px 24px;background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:22px}.focused-intake .serial-entry input{min-height:48px;font-size:16px}
.focused-intake .asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.focused-intake .asset-card{min-width:0}.focused-intake .asset-preview img{height:145px;object-fit:contain}.focused-intake .asset-info summary{font-size:13px;min-height:44px}.focused-intake .asset-actions button{min-height:40px;min-width:40px}.focused-intake #file-options{margin-top:18px}.focused-intake details>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:650;line-height:1.5}.focused-intake .ready-title h2{font-size:32px;margin:4px 0 10px}.focused-intake .ready-title p{font-size:15px}.ready-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0}.ready-actions .button{min-height:48px;font-size:15px}.ready-actions .text-link{margin-left:auto}.ready-actions.bottom{border-top:1px solid var(--line);padding-top:22px}.ready-sheet{border:1px solid #d4dce5;border-radius:10px;overflow:hidden;background:white}.ready-sheet-header{display:flex;gap:17px;align-items:center;padding:24px 28px;border-bottom:3px solid var(--accent);background:#f9fbfd}.ready-sheet-header img{width:52px;height:52px;object-fit:contain}.ready-sheet-header h2{font-size:clamp(25px,2.3vw,34px);line-height:1.2;margin:5px 0 0}.ready-sheet-header .eyebrow{margin:0}.ready-gallery{padding:24px 28px 0}.focused-intake .ready-gallery .preview-cover{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;position:relative;border-radius:8px;background:#f2f5f8;min-height:260px;max-height:none}.ready-slide{display:flex;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;align-items:center;justify-content:center}.focused-intake .ready-gallery .preview-cover img{width:100%;height:390px;max-height:none;object-fit:contain}.ready-gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 20px}.ready-gallery-caption p{margin:0}.ready-gallery .preview-photo-placeholder{display:grid;place-items:center;width:100%;min-height:250px;gap:10px;padding:30px;text-align:center}.ready-gallery .sheet-gallery-controls:empty{display:none}.ready-section{padding:26px 28px;border-top:1px solid #e0e6ed}.ready-section h3{font-size:23px;margin:0 0 19px}.ready-section h4{font-size:17px;margin:18px 0 14px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.focused-intake .ready-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.focused-intake .ready-field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.focused-intake .ready-sheet .form-field{margin:0 0 18px;min-width:0}.focused-intake .ready-sheet label{font-size:14px;font-weight:650;line-height:1.5;margin-bottom:8px}.focused-intake .ready-sheet input:not([type=checkbox]),.focused-intake .ready-sheet select,.focused-intake .ready-sheet textarea{width:100%;max-width:100%;min-width:0;min-height:46px;padding:11px 12px;font-size:16px;line-height:1.5;border:1px solid #b9c6d3;border-radius:5px;background:white}.focused-intake .ready-sheet textarea{min-height:118px}.focused-intake .ready-sheet .field-help{font-size:12px;line-height:1.6;display:block;margin:7px 0}.ready-value-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:8px 0 25px}.ready-value-grid .value-card{padding:20px;border:1px solid #dce4ed;border-radius:8px;background:#f8fafc}.value-card h4{margin:0 0 10px;font-size:19px}.value-highlight{font-size:24px;font-weight:750;line-height:1.3;color:var(--navy);margin:10px 0 6px}.value-card>.field-help{margin-bottom:18px!important}.value-card details{border-top:1px solid var(--line);margin-top:8px}.ready-sheet #serial-editor{border:0;background:none;padding:0;margin:0}.share-serial-choice{font-size:12px;margin-bottom:20px}.share-serial-choice input{margin-top:2px}.focused-intake .ready-sheet .spec-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;font-size:15px}.focused-intake .ready-sheet .spec-grid dt{font-size:12px}.focused-intake .ready-sheet .spec-grid dd{font-size:15px}.ready-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ready-extra-grid img{height:180px;width:100%;object-fit:contain;background:#f4f6f8;border-radius:5px}.share-options{padding:24px;border:1px solid #c9d8e7;border-radius:8px;background:#f2f8fd;margin-bottom:22px}.share-options h3{font-size:21px}.share-options input{width:100%;padding:12px;font-size:16px;background:white;margin:12px 0}.share-options .button-row{flex-wrap:wrap}.focused-intake .analysis-loading{padding:75px 24px;min-height:370px}.focused-intake .analysis-loading h2{font-size:30px}.focused-intake .analysis-loading p{font-size:16px}.focused-intake .preview-field-source{display:none}.focused-intake #ready-photos-slot .upload-zone{padding:22px}.focused-intake #ready-photos-slot .asset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:1600px){.focused-intake .ready-gallery .preview-cover img{height:450px}}

@media(max-width:600px){.publication-start{padding-top:0}.publication-intro{margin-bottom:22px}.publication-intro h1{font-size:31px}.publication-intro>p:last-child{font-size:15px}.intake-card{padding:23px 18px;border-radius:8px}.intake-card h2{font-size:24px}.intake-card input[type=search]{font-size:16px;min-height:54px}.intake-card .button-red{width:100%}.intake-choices{grid-template-columns:1fr;gap:12px}.intake-choice{min-height:105px;padding:19px}.intake-choice b{font-size:17px}.focused-intake .wizard-heading h1{font-size:28px}.focused-intake .wizard-progress>button{padding:10px}.focused-intake .step-heading h2{font-size:24px}.focused-intake .upload-zone{padding:28px 16px}.focused-intake .serial-entry{padding:17px}.focused-intake .asset-grid,.focused-intake #ready-photos-slot .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ready-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ready-actions .button{padding:12px 9px;font-size:13px}.ready-actions .text-link{grid-column:1/-1;justify-self:center;margin:4px 0}.ready-sheet-header{padding:18px 16px;gap:12px}.ready-sheet-header h2{font-size:25px}.ready-sheet-header img{width:42px;height:42px}.ready-gallery{padding:16px 14px 0}.focused-intake .ready-gallery .preview-cover img{height:250px}.focused-intake .ready-gallery .preview-cover{min-height:210px}.ready-section{padding:22px 16px}.ready-section h3{font-size:21px}.section-title{display:block}.section-title>span{display:block;margin:-8px 0 15px}.focused-intake .ready-field-grid,.focused-intake .ready-field-grid.two{grid-template-columns:1fr;gap:0}.ready-value-grid{grid-template-columns:1fr;gap:14px}.ready-value-grid .value-card{padding:17px}.value-card .ready-field-grid.two{grid-template-columns:1fr 1fr;gap:12px}.ready-extra-grid{grid-template-columns:1fr 1fr}.ready-extra-grid img{height:130px}.focused-intake .ready-sheet .spec-grid{grid-template-columns:1fr 1fr}.ready-gallery-caption{align-items:flex-start}.ready-gallery-caption .button{flex-shrink:0;font-size:12px}.share-options{padding:18px}.share-options .button-row{display:grid;grid-template-columns:1fr 1fr}.share-options .button{font-size:12px;padding:10px}.focused-intake .analysis-loading{padding:55px 18px}.focused-intake .analysis-loading h2{font-size:26px}}

/* The shared document only renders populated essentials. */
.finished-sheet-layout{max-width:1120px}.finished-sheet{border-radius:10px;overflow:hidden}.finished-header{display:flex;align-items:center;gap:20px;padding:26px 32px;background:var(--navy);color:white;border-bottom:4px solid var(--accent)}.finished-header img{object-fit:contain;background:white;border-radius:4px;padding:4px}.finished-header h1{color:white;font-size:clamp(27px,3vw,39px);line-height:1.2;margin:6px 0}.finished-header .eyebrow{color:#bee4ff;margin:0}.finished-gallery{padding:25px 30px 0}.finished-gallery .virtual-photo{padding:0;margin:0;min-width:100%;flex:0 0 100%;border:0}.finished-gallery .virtual-gallery{gap:0}.finished-gallery .virtual-photo img{width:100%;height:440px;object-fit:contain;background:#f3f6f8}.finished-section{padding:25px 32px;border-top:1px solid var(--line)}.finished-section h2{font-size:24px;margin:0 0 22px}.finished-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0}.finished-specs>div{min-width:0;padding:0 0 14px;border-bottom:1px solid #e9edf2}.finished-specs dt,.finished-serial dt{font-size:13px;color:var(--muted);margin-bottom:8px}.finished-specs dd,.finished-serial dd{font-size:18px;font-weight:650;margin:0;overflow-wrap:anywhere}.finished-specs .finished-value dd{font-size:24px}.finished-specs small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.finished-serial{margin:0 0 24px;padding:17px;background:#f6f8fa;border-radius:6px}.finished-description{font-size:16px;line-height:1.8;margin-bottom:22px;overflow-wrap:anywhere}.finished-additional{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.finished-additional img{width:100%;height:210px;object-fit:contain;background:#f4f6f8;border-radius:6px}.finished-footer{padding:20px 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}.finished-empty-photo{padding:40px;text-align:center}.finished-sheet-layout .similar-machines-cta{padding:25px;background:white;border:1px solid var(--line);border-radius:8px;margin-top:25px}.finished-sheet-layout .similar-machines-cta h2{font-size:25px}.finished-sheet-layout .virtual-toolbar{flex-wrap:wrap;gap:12px}.finished-sheet-layout .share-options a{overflow-wrap:anywhere}
@media(max-width:600px){.finished-sheet-layout{width:calc(100% - 28px);padding-top:20px}.finished-header{padding:22px 17px;gap:12px}.finished-header img{width:44px;height:44px}.finished-header h1{font-size:26px}.finished-gallery{padding:16px 14px 0}.finished-gallery .virtual-photo img{height:270px}.finished-section{padding:23px 18px}.finished-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.finished-specs dd{font-size:16px}.finished-specs .finished-value dd{font-size:19px}.finished-section h2{font-size:22px}.finished-description{font-size:15px}.finished-additional{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.finished-additional img{height:145px}.finished-footer{padding:18px;display:block;line-height:1.7}.finished-footer span{display:block}.finished-sheet-layout .virtual-toolbar .button{font-size:13px;min-height:44px}.finished-sheet-layout .similar-machines-cta{padding:20px}}
/* Immediate photo actions in both the uploader and the finished draft. */
.intake-choices .intake-finish{margin-top:0}
.focused-intake .asset-actions{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-top:1px solid #e3e8ef;background:#fff}
.focused-intake .asset-actions button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:40px;height:40px;padding:0;line-height:1;font-size:16px}
.focused-intake .asset-actions [data-asset-action=delete]{width:auto;max-width:100%;padding:0 12px;margin-left:auto;color:#a32922;font-size:13px;font-weight:650;white-space:nowrap}
.ready-slide{position:relative}.ready-slide>a{width:100%;display:block}.ready-photo-remove{position:absolute;right:12px;top:12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#a32922;font-weight:650;padding:10px 13px;min-height:42px;box-shadow:0 2px 7px #0002;cursor:pointer}
.focused-intake .ready-gallery .preview-cover img{height:300px}.focused-intake .ready-gallery .preview-cover{min-height:200px}.finished-gallery .virtual-gallery[data-sheet-carousel] .virtual-photo img{height:330px}
.ready-actions .button{margin-left:0}.focused-intake .prepare-action{position:sticky;bottom:10px;z-index:3;padding:12px;background:#fff;border:1px solid #d8e1ea;border-radius:8px;box-shadow:0 4px 16px #0001}
#photo-validation{margin:16px 0}#photo-correction-actions{margin:10px 0 18px}
@media(max-width:600px){.ready-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.ready-actions .button{min-width:0;font-size:12px;padding:11px 5px;line-height:1.4;text-align:center}.focused-intake .ready-gallery .preview-cover img,.finished-gallery .virtual-gallery[data-sheet-carousel] .virtual-photo img{height:230px}.ready-photo-remove{right:6px;top:6px;padding:8px;font-size:12px}.focused-intake .prepare-action{bottom:5px;padding:8px}.focused-intake .asset-actions button{font-size:12px}}

.finished-technical-summary p{margin:0 0 .35em}.finished-technical-summary p:last-child{margin-bottom:0}

/* The publication entrance asks only for the machine type. */
.simple-intake-steps{display:flex;gap:24px;list-style:none;padding:0 0 22px;margin:0 0 26px;border-bottom:1px solid var(--line)}
.simple-intake-steps li{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--muted)}
.simple-intake-steps li span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#edf1f5;font-weight:700}
.simple-intake-steps li[aria-current=step]{color:var(--navy);font-weight:700}
.simple-intake-steps li[aria-current=step] span{background:var(--navy);color:#fff}
.intake-progress{padding:16px;background:#edf6fc;color:var(--navy);border-radius:7px;font-weight:600}
.type-first form[aria-busy=true] .catalogue-options{pointer-events:none;opacity:.65}
@media(max-width:600px){.simple-intake-steps{gap:14px}.simple-intake-steps li{font-size:12px;gap:6px}}
