:root{color-scheme:light;--navy:#132b42;--teal:#0c7280;--ink:#22384a;--muted:#617282;--line:#d8e2e8;--pale:#edf3f7;--paper:#fff;--amber:#976315;--red:#b52843}*{box-sizing:border-box}body{margin:0;background:#f3f6f8;color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,label{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #50b6bf;outline-offset:3px}button,a{transition:background .16s,border-color .16s,box-shadow .16s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.masthead{min-height:94px;padding:18px 3.5%;display:flex;align-items:center;gap:24px;background:var(--navy);color:white}.brand{display:flex;align-items:center;gap:22px;text-decoration:none;color:white;min-width:290px}.brand img{width:85px;height:43px;object-fit:contain}.brand>span{font-size:30px;font-weight:750;letter-spacing:-1px;line-height:1}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:1.1px;text-transform:uppercase;margin-top:9px;color:#bed1df}.modes{display:flex;margin-left:auto;background:#203d54;padding:4px;border-radius:9px}.mode{border:0;background:transparent;color:#d4e1e9;padding:10px 19px;border-radius:6px;font-weight:650}.mode.active{background:white;color:var(--navy);box-shadow:0 2px 7px #0002}.mode:not(.active):hover{background:#2b4a62}.preview-badge{font-size:11px;letter-spacing:.8px;text-transform:uppercase;border:1px solid #668094;border-radius:30px;padding:7px 12px;white-space:nowrap}main{max-width:1540px;margin:auto;padding:30px 3.5% 38px}.welcome{display:flex;gap:40px;justify-content:space-between;align-items:center;margin:4px 0 26px}.eyebrow{font-size:10.5px;letter-spacing:1.5px;font-weight:800;color:var(--teal);text-transform:uppercase;margin:0 0 8px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:31px;letter-spacing:-.9px;line-height:1.2;margin-bottom:12px;color:var(--navy)}.welcome p:not(.eyebrow){font-size:14px;color:var(--muted);margin-bottom:0;max-width:760px}.local-notice{position:relative;border-left:2px solid #97c8cc;padding:3px 0 3px 18px;max-width:270px;min-width:220px;font-size:11.5px;line-height:1.45}.local-notice strong,.local-notice span:not(.local-dot){display:block}.local-notice strong{color:var(--teal);margin-bottom:4px}.local-notice>span:last-child{color:var(--muted)}.summary-strip{display:flex;gap:0;align-items:center;border:1px solid var(--line);border-radius:10px;background:white;margin-bottom:24px;overflow:hidden}.summary-strip>div{padding:14px 24px;border-right:1px solid var(--line);min-width:140px;display:flex;align-items:center;gap:10px}.summary-strip strong{color:var(--navy);font-size:26px;font-weight:750;line-height:1}.summary-strip span{color:var(--muted);font-size:10px;max-width:90px;line-height:1.3;text-transform:uppercase;letter-spacing:.7px}.summary-strip p{font-size:11px;color:var(--teal);margin:0;padding:14px 24px;flex:1;text-align:right}.workspace{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;align-items:start}.character-rail{position:sticky;top:16px}.rail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.rail-heading h2{font-size:17px;margin:0;color:var(--navy)}.rail-heading>span{color:var(--muted);font-size:11px}.search-label{display:block;margin-bottom:12px}.search-label input{width:100%;padding:10px 12px;border:1px solid var(--line);background:white;border-radius:7px;font-size:12px}.character-list{display:grid;gap:6px;max-height:675px;overflow:auto;padding:1px 5px 5px 1px;scrollbar-width:thin}.character-choice{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:8px 10px 8px 7px;background:transparent;border:1px solid transparent;border-radius:8px;min-height:65px;color:var(--ink)}.character-choice:hover{background:white;border-color:var(--line)}.character-choice.selected{border-color:#69b4bc;background:#e5f1f3;box-shadow:0 2px 4px #132b4208}.character-choice img{width:40px;height:47px;object-fit:contain;border-radius:4px;background:#edf2f5}.character-choice strong{display:block;font-size:12px;line-height:1.25;font-weight:700}.character-choice small{display:block;font-size:9px;margin-top:5px;color:var(--muted)}.character-choice small.has-feedback{color:var(--teal);font-weight:650}.rail-actions{display:grid;gap:10px;margin-top:16px}.rail-actions button{font-size:11px}.text-button{font-size:11px;text-align:center;cursor:pointer;color:var(--teal);text-decoration:underline;text-underline-offset:3px}.character-detail{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0;box-shadow:0 8px 24px #132b4206}.character-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:25px 27px 20px}.character-heading h2{font-size:26px;letter-spacing:-.6px;margin-bottom:5px;line-height:1.2;color:var(--navy)}.character-heading p:not(.eyebrow){font-size:11px;color:var(--muted);margin:0}.pill{display:inline-block;white-space:nowrap;font-size:10px;font-weight:700;border-radius:30px;padding:6px 10px}.pill.pending{background:#fbf1dd;color:#825712;border:1px solid #e9d6aa}.pill.neutral{background:var(--pale);color:#4e6577}.pill.repair{background:#fff1e4;color:#925521}.detail-tabs{display:flex;gap:25px;padding:0 27px;border-bottom:1px solid var(--line)}.detail-tabs button{padding:12px 1px;border:0;border-bottom:3px solid transparent;color:var(--muted);background:transparent;font-weight:650;font-size:12px}.detail-tabs button.active{border-bottom-color:var(--teal);color:var(--teal)}.detail-panel{padding:24px 27px}.review-columns{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px}.source-card{border:1px solid var(--line);border-radius:9px;overflow:hidden}.card-topline{padding:14px 14px 0;display:flex;justify-content:space-between;gap:10px}.small-tag{font-size:9px;color:var(--muted)}.source-image{height:395px;background:#edf2f6;display:grid;place-items:center;margin-top:5px}.source-image img{height:100%;width:100%;object-fit:contain}.view-buttons{display:flex;padding:12px;gap:5px;background:#fff}.view-buttons button{flex:1;font-size:9.5px;line-height:1.25;padding:9px 5px;border:1px solid var(--line);border-radius:5px;background:white;color:var(--muted)}.view-buttons button.active{border-color:var(--teal);background:#eaf5f6;color:var(--teal);font-weight:750}.caption{font-size:9px;color:var(--muted);padding:0 14px 13px;margin:0;line-height:1.5}.proposal-column{display:grid;gap:16px;align-content:start}.proposal-card{padding:21px;border-radius:9px;background:#eaf4f5;border-top:3px solid var(--teal)}h3{font-size:16px;line-height:1.3;margin-bottom:10px;color:var(--navy)}.proposal-card p,.cut-card li{font-size:12px;line-height:1.6}.proposal-card p{margin-bottom:15px}.group-pair{display:grid;gap:13px;margin:0}.group-pair div{border-top:1px solid #c6dee1;padding-top:12px}.group-pair dt{font-size:10px;font-weight:800;color:var(--teal);text-transform:uppercase;letter-spacing:.6px;margin-bottom:5px}.group-pair dd{font-size:11px;line-height:1.5;margin:0;color:var(--ink)}.cut-card{padding:18px 20px;border:1px solid var(--line);border-radius:9px}.cut-card h3{font-size:14px}.cut-card ul{padding-left:17px;margin:10px 0}.cut-card li+li{margin-top:10px}.small-note{font-size:10px;line-height:1.55;color:var(--muted);margin:10px 0 0}.evidence-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding:17px 0;border-bottom:1px solid var(--line)}.evidence-row .eyebrow{font-size:9px;margin-bottom:5px}.evidence-row h3{font-size:13px;margin-bottom:5px}.evidence-row p{font-size:11px;color:var(--muted);margin:0;max-width:690px}.review-checks{margin-top:12px}.review-checks details{border-bottom:1px solid var(--line);padding:12px 0}.review-checks summary,.engineering-inputs summary,.identity-panel summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--navy)}.review-checks p,.review-checks li{font-size:11px;line-height:1.6}.review-checks ul{margin:10px 0;padding-left:18px}.review-checks p{margin:10px 0}.action-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}.action-row>span{font-size:10px;color:var(--muted)}.primary,.secondary,.external-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 15px;border-radius:6px;font-size:12px;font-weight:700;text-decoration:none;line-height:1.2;cursor:pointer}.primary{border:1px solid var(--teal);background:var(--teal);color:white}.primary:hover{background:#095d68}.secondary{border:1px solid #c6d6df;background:white;color:var(--navy)}.secondary:hover{background:var(--pale)}.external-button{background:var(--navy);color:white;border:1px solid var(--navy);white-space:nowrap}.external-button:hover{background:#23445f}.approval-card{margin:0 27px 20px;padding:20px;border:1px solid #d9e6eb;background:#f3f7fa;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:20px}.approval-card .eyebrow{font-size:9px;margin-bottom:6px}.approval-card h3{font-size:14px;margin-bottom:7px}.approval-card p{font-size:11px;margin:0;color:var(--muted);max-width:640px}.approval-card .external-button{font-size:10px;flex-shrink:0}.identity-panel{margin:0 27px 25px}.identity-panel dl{display:grid;grid-template-columns:135px minmax(0,1fr);font-size:10px;gap:7px 12px}.identity-panel dt{color:var(--muted)}.identity-panel dd{margin:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.identity-panel>p{font-size:10px}.verify-file{font-size:10px}.feedback-intro{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.number-disc{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;border-radius:50%;background:#e5f1f3;color:var(--teal);font-weight:800}.feedback-intro h3{margin-bottom:5px}.feedback-intro p{font-size:11px;color:var(--muted);margin:0;overflow-wrap:anywhere}form label,#panel-prototype>label,dialog label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:11px;margin-bottom:17px}input:not([type=checkbox]):not([type=file]),select,textarea{padding:10px 11px;border:1px solid #cbd8e1;border-radius:6px;background:white;color:var(--ink);width:100%;min-width:0}textarea{resize:vertical;font-size:12px;line-height:1.6}select,input{font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.attachment-section{padding:19px;border:1px dashed #a9c6d0;border-radius:9px;background:#f8fbfc;margin:17px 0 20px}.attachment-section h3{font-size:14px}.attachment-section p{font-size:11px;color:var(--muted);margin-bottom:13px}.attachment-controls{display:flex;gap:10px}.attachment-controls label{font-size:11px;margin-bottom:0}.attachment-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.attachment-item{position:relative;width:145px;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.attachment-item img{display:block;width:100%;height:105px;object-fit:contain;background:#e9f0f4}.attachment-item .pdf-marker{height:75px;display:grid;place-items:center;font-weight:800;color:var(--teal);background:#e5eff4;letter-spacing:2px}.attachment-item p{font-size:9px;padding:8px;margin:0!important;overflow-wrap:anywhere;line-height:1.4}.attachment-item button{font-size:9px;padding:5px 8px;background:#fff;border:0;border-top:1px solid var(--line);width:100%;color:var(--red)}.engineering-inputs{border-bottom:1px solid var(--line);padding:3px 0 17px;margin-bottom:18px}.engineering-inputs>p{font-size:10px;color:var(--muted);margin:12px 0}.engineering-inputs textarea{font-size:11px;min-height:69px}.check-line{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-size:11px!important;font-weight:500!important}.check-line input{margin:3px 0 0;accent-color:var(--teal)}.save-status{font-size:11px;padding:11px 0;color:var(--teal);margin-bottom:0}.save-status.error{color:var(--red)}.prototype-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:23px}.prototype-option{background:white;border:1px solid var(--line);border-radius:9px;padding:18px;text-align:left;color:var(--ink)}.prototype-option.selected{border:2px solid var(--teal);padding:17px;background:#edf7f7}.prototype-icon{display:block;color:var(--teal);font-size:24px;letter-spacing:-1px;margin-bottom:20px;font-weight:750}.prototype-option h4{font-size:13px;line-height:1.35;margin-bottom:10px}.prototype-option p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.collaboration-card{border-left:3px solid var(--teal);padding:5px 0 5px 15px;margin-top:25px}.collaboration-card strong{font-size:12px}.collaboration-card p{font-size:11px;color:var(--muted);margin:7px 0 0}.candidate-evidence{padding:20px;background:#fbf6ed;border:1px solid #ecddc3;border-radius:9px;margin:20px 0}.candidate-evidence>p{font-size:11px}.candidate-evidence img{display:block;width:100%;height:auto;margin:15px 0 5px}.candidate-evidence figcaption{font-size:9px;color:var(--muted)}.candidate-evidence figure{margin:0}footer{padding:20px 3.5%;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted);border-top:1px solid var(--line);background:#eef3f6}dialog{border:1px solid var(--line);border-radius:13px;padding:32px;max-width:650px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#10263c99}dialog h2{font-size:24px;line-height:1.25;color:var(--navy)}dialog p{font-size:13px;color:var(--muted)}dialog textarea{font-size:10px;background:#f6f9fb}.dialog-close{position:absolute;right:12px;top:8px;border:0;background:none;color:var(--muted);font-size:26px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media(min-width:1500px){.source-image{height:450px}.character-list{max-height:750px}}
@media(max-width:1150px){.workspace{grid-template-columns:205px minmax(0,1fr);gap:18px}.masthead{gap:15px}.brand{min-width:230px;gap:13px}.brand img{width:65px}.preview-badge{display:none}.summary-strip>div{padding:14px 16px;min-width:120px}.review-columns{gap:15px}.proposal-card{padding:17px}.source-image{height:360px}.character-heading,.detail-panel{padding:20px}.detail-tabs{padding:0 20px;gap:20px}.approval-card{margin:0 20px 20px;flex-direction:column;align-items:flex-start}.identity-panel{margin:0 20px 20px}.welcome{gap:20px}.local-notice{min-width:200px}.summary-strip p{padding:12px;font-size:10px}}
@media(max-width:850px){.workspace{grid-template-columns:1fr}.character-rail{position:static}.rail-heading{margin-bottom:8px}.character-list{display:flex;overflow-x:auto;max-height:none;padding-bottom:10px}.character-choice{min-width:175px;width:175px;min-height:70px}.search-label{max-width:270px}.rail-actions{display:flex;align-items:center;margin-top:4px;gap:20px}.rail-actions button{padding:8px 12px}.welcome{align-items:flex-start}.welcome h1{font-size:27px}.local-notice{max-width:230px}.summary-strip{flex-wrap:wrap}.summary-strip>div{flex:1;padding:12px;min-width:110px}.summary-strip p{width:100%;flex-basis:100%;text-align:left;border-top:1px solid var(--line);padding:8px 13px}.character-rail .rail-heading>span{display:none}.source-image{height:395px}.character-heading h2{font-size:25px}.approval-card{flex-direction:row;align-items:center}.approval-card .external-button{white-space:normal;min-width:160px;text-align:center}footer{font-size:8px}}
@media(max-width:600px){.masthead{padding:16px 18px;gap:12px;flex-wrap:wrap}.brand{min-width:0;flex:1}.brand img{width:62px;height:35px}.brand>span{font-size:26px}.brand small{font-size:9px}.modes{margin:0;padding:3px;width:100%;justify-content:stretch}.mode{flex:1;padding:9px 10px;font-size:12px}main{padding:22px 14px}.welcome{display:block;margin-bottom:18px}.welcome h1{font-size:25px}.welcome p:not(.eyebrow){font-size:12px}.local-notice{margin-top:18px;max-width:none;font-size:10px;min-width:0}.summary-strip>div{min-width:50%;padding:12px 15px;border-bottom:1px solid var(--line)}.summary-strip strong{font-size:25px}.summary-strip p{border-top:0;font-size:9px}.character-heading{padding:19px 16px}.character-heading h2{font-size:23px}.character-heading .pill{font-size:8px;padding:5px 8px}.detail-tabs{padding:0 16px;gap:18px}.detail-tabs button{font-size:10px;white-space:nowrap}.detail-panel{padding:17px 16px}.review-columns{grid-template-columns:1fr}.source-image{height:390px}.proposal-card{padding:20px}.proposal-card p,.cut-card li{font-size:12px}.group-pair dd{font-size:11px}.view-buttons button{font-size:10px}.evidence-row{align-items:flex-start}.evidence-row .pill{font-size:8px}.approval-card{flex-direction:column;align-items:flex-start;margin:0 16px 18px;padding:17px}.approval-card .external-button{font-size:11px;min-width:0}.identity-panel{margin:0 16px 22px}.identity-panel dl{grid-template-columns:1fr;gap:3px}.identity-panel dd{margin-bottom:8px}.form-grid{grid-template-columns:1fr}.prototype-options{grid-template-columns:1fr}.prototype-option{display:grid;grid-template-columns:35px 1fr;gap:0 12px;padding:16px}.prototype-option.selected{padding:15px}.prototype-icon{grid-row:span 2;font-size:22px;margin:0}.prototype-option h4{margin-bottom:7px}.prototype-option p{font-size:11px}.attachment-controls{flex-wrap:wrap}.attachment-section{padding:15px}.action-row{gap:8px}.action-row>span{width:100%}.action-row .primary,.action-row .secondary{font-size:11px}footer{display:block;padding:18px}footer span{display:block;margin:4px 0}dialog{padding:28px 22px}.candidate-evidence{padding:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.masthead,.character-rail,.detail-tabs,.action-row,.rail-actions,.identity-panel,footer,.modes{display:none}.workspace{display:block}.character-detail{box-shadow:none}.welcome{margin:0 0 15px}.local-notice{display:block}.source-image{height:360px}.approval-card{break-inside:avoid}.review-columns{display:grid;grid-template-columns:1fr 1fr}.candidate-evidence{break-inside:avoid}.summary-strip{font-size:10px}body{background:white}main{padding:10px}.detail-panel{padding:15px}.character-heading{padding:15px}}

/* R04-only presentation fix; original R01 remains unchanged. */
.character-rail{min-width:0}
.source-image{display:block;overflow:hidden}
.source-image img{display:block;min-width:0;min-height:0;width:100%;height:100%;object-fit:contain}
@media(max-width:850px){.workspace{grid-template-columns:minmax(0,1fr)}}

/* R12 reconstruction review; original source images and earlier companion stay unchanged. */
.chooser-link{display:inline-block;color:#e8f4f7;text-decoration:none}.chooser-link:hover{background:#2b4a62}
.character-heading .review-state{font-size:12px!important;font-weight:750;color:var(--teal)!important;margin-top:12px!important}
.character-heading .review-time{font-size:10px!important;margin-top:4px!important}
.reconstruction-section{padding:23px;margin:0 0 23px;background:#f0f7f8;border:1px solid #b8d7dc;border-radius:10px}
.reconstruction-section h3{font-size:21px;color:var(--navy);margin-bottom:16px}.reconstruction-section .small-note{margin:9px 0 17px}
.reconstruction-section fieldset{margin:18px 0;padding:0;border:0;min-width:0}.reconstruction-section legend{font-size:12px;font-weight:750;margin-bottom:9px;padding:0;color:var(--ink)}
.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}.checkbox-grid label{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px!important;margin:0!important;font-size:11px!important;line-height:1.4;font-weight:400!important}.checkbox-grid input[type=checkbox]{flex:0 0 auto;width:15px;height:15px;margin:1px 0 0;accent-color:var(--teal)}.view-checks{grid-template-columns:1fr}
.package-links{padding:0 27px 20px;display:flex;flex-wrap:wrap;gap:10px}.package-links a{font-size:11px;text-decoration:none}.package-links p{flex-basis:100%;margin:0}.approval-card p+p{margin-top:8px}
@media(max-width:1150px){.summary-strip>div{min-width:105px;padding:14px 12px}.summary-strip span{font-size:9px}.summary-strip strong{font-size:24px}.package-links{padding:0 20px 20px}}
@media(max-width:600px){.chooser-link{order:1;font-size:9px;letter-spacing:.2px;padding:6px 8px}.modes{order:2}.reconstruction-section{padding:16px}.reconstruction-section h3{font-size:19px}.checkbox-grid{grid-template-columns:1fr;gap:11px}.package-links{padding:0 16px 20px}.character-heading{gap:10px}.character-heading .pill{max-width:105px;white-space:normal;text-align:center}.summary-strip>div{min-width:50%}}
