/* Personnel Edition / source-based document identities and local certification. */
:root{--document-accent:#456e6e;--document-rule:#c8d8d4;--document-surface:#eef2ee}
.personnel-form{width:100%}.personnel-form label{display:block;font:500 .84rem/1.5 var(--sans);color:#1b2328;margin-bottom:9px}
.personnel-form input{width:100%;padding:13px 14px;min-height:51px;background:#fff;border:1px solid #8fa6ac;color:#1b2328;font:400 1.02rem/1.4 var(--sans);border-radius:0;box-shadow:none}.personnel-form input::placeholder{color:#5a6b73}.personnel-form input:focus-visible{outline:2px solid #005d5d;outline-offset:3px;border-color:#005d5d}.personnel-form input[aria-invalid="true"]{border-color:#a2191f}
.personnel-name-help{font:400 .75rem/1.6 var(--sans);color:#5a6b73;margin:10px 0 0}.personnel-error{font:400 .80rem/1.6 var(--sans);color:#a2191f;margin:12px 0}
.personnel-verification{width:100%;padding:5px 0 12px}.verification-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font:400 .60rem/1.5 var(--mono);letter-spacing:.025em;color:#5a6b73}.verification-head b{font-weight:500;color:#005d5d}.verification-steps{margin:19px 0 12px;padding:0;list-style:none;counter-reset:personnel-stage}.verification-steps li{counter-increment:personnel-stage;display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #e4eaed;color:#5a6b73;font:400 .85rem/1.5 var(--sans)}.verification-steps li::before{content:"0" counter(personnel-stage);font:400 .62rem/1 var(--mono);color:#5a6b73;width:18px}.verification-steps li.active{color:#1b2328;font-weight:500}.verification-steps li.active::before{color:#005d5d}.verification-steps li.complete{color:#005d5d}.verification-steps li.complete::before{content:"✓"}#personnelProgress{font:400 .74rem/1.6 var(--sans);color:#005d5d;min-height:2em;margin:16px 0 0}
.personnel-certificate{width:100%;padding:19px 20px 20px;border:1px solid #b9cdce;background:#edf2f4}.certificate-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;font:400 .59rem/1.5 var(--mono);letter-spacing:.025em;color:#5a6b73}.certificate-heading b{font-weight:500;color:#005d5d;display:flex;gap:8px;align-items:center}.certificate-heading b::before{content:"";width:5px;height:5px;background:#005d5d}.certificate-name{font:500 clamp(1.5rem,2.7vw,2.1rem)/1.2 var(--sans);color:#1b2328;margin:20px 0;letter-spacing:-.025em;overflow-wrap:anywhere}.certificate-details{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;border-top:1px solid #cbd6d8;border-bottom:1px solid #cbd6d8;padding:16px 0;font:400 .61rem/1.6 var(--mono)}.certificate-details span{color:#5a6b73;letter-spacing:.025em}.certificate-details b{font-weight:500;color:#1b2328}#certificateGreeting{font:400 .80rem/1.6 var(--sans);color:#005d5d;margin:16px 0}
#enterArchiveBtn{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:18px;min-height:51px;border:1px solid #005d5d;background:#005d5d;color:#fff;font:500 .70rem/1.5 var(--mono);letter-spacing:.055em;padding:14px 18px;cursor:pointer}#enterArchiveBtn:hover{background:#004c4c}#enterArchiveBtn>span{font-size:1.2rem}#enterArchiveBtn:focus-visible{outline:2px solid #005d5d;outline-offset:3px}
.personnel-session-open{border:0!important;background:transparent!important;padding:0!important;text-align:left;max-width:200px;min-width:0;cursor:pointer}.personnel-session-open>span{font:500 .47rem/1.4 var(--mono);letter-spacing:.08em;color:#7a9290}.personnel-session-open>strong{font:500 .78rem/1.5 var(--sans);letter-spacing:0;color:#264f44;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personnel-session-open>small{font:400 .47rem/1.4 var(--mono);color:#7e9790;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.personnel-session-row b{overflow-wrap:anywhere;text-align:right;max-width:160px}.personnel-session-row:last-of-type b{font-size:.54rem}
.personnel-settings-card{margin:23px 26px 4px;padding:18px 20px;background:#edf3e9;border:1px solid #ccdac9}.personnel-settings-card>span{display:block;font:500 .48rem/1.5 var(--mono);letter-spacing:.11em;color:#7b987a}.personnel-settings-card>strong{display:block;font:400 1.65rem/1.3 var(--book);color:#345542;margin-top:10px;overflow-wrap:anywhere}.personnel-settings-card>div{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 16px}.personnel-settings-card code{font:500 .57rem/1.5 var(--mono);color:#527b58}.personnel-settings-card b{font:500 .49rem/1.5 var(--mono);color:#69876a}.personnel-settings-card button{border:1px solid #becfba;background:transparent;color:#567553;font:500 .5rem/1.4 var(--mono);letter-spacing:.04em;padding:8px 10px;cursor:pointer}.personnel-settings-card p{font:400 .65rem/1.6 var(--sans);color:#80947b;margin:12px 0 0}
/* Identity labels derive from the existing form/capture profile. */
.document-identity{display:flex;align-items:center;gap:14px;padding-bottom:20px;margin-bottom:25px;border-bottom:1px solid var(--document-rule);color:var(--document-accent)}
.document-identity-mark{flex:0 0 auto;width:39px;height:39px;border:1px solid var(--document-rule);background:var(--document-surface);display:grid;place-items:center;font:500 .75rem/1 var(--mono);letter-spacing:.06em}
.document-identity>div{min-width:0}.document-identity>div>span{font:500 .53rem/1.5 var(--mono);letter-spacing:.10em;display:block;text-wrap:balance}.document-identity small{font:400 .47rem/1.5 var(--mono);color:#8b9b98;display:block;margin-top:4px;letter-spacing:.055em}.identity-readonly{margin-left:auto;font:400 .45rem/1.4 var(--mono);letter-spacing:.08em;white-space:nowrap;color:#8a9c97}
.doc-head{border-top:3px solid var(--document-accent)}
.document-identity + .doc-head-grid .doc-form{display:none}
.record-provenance{border-top-color:var(--document-rule)}
.reader .heading{scroll-margin-top:150px}.reader .reader-inner{max-width:min(var(--reading-measure),var(--document-measure,76ch))}
body[data-document-family="clinical"]{--document-accent:#426a6b;--document-rule:#bed1cd;--document-surface:#eaf0ec}
body[data-document-family="clinical"] .reader-inner>.meta{border-left:1px solid #cedbd3;padding-left:14px;color:#62746b}
body[data-document-family="clinical"] .reader .heading{font-family:var(--sans);font-weight:500;letter-spacing:.005em;color:#395f5f}
body[data-document-family="judicial"]{--document-accent:#686653;--document-rule:#cbcabe;--document-surface:#f0f0e7;--document-measure:70ch}
body[data-document-family="judicial"] .document-identity{border-bottom:3px double #c6c6b9;padding-bottom:19px}
body[data-document-family="judicial"] .doc-head h1{font-family:Georgia,"Times New Roman",serif;text-align:center;max-width:none;margin:25px 0 22px;font-size:clamp(1.55rem,2.25vw,2.3rem);line-height:1.22;color:#393a31}
body[data-document-family="judicial"] .doc-id{text-align:center;color:#777461}
body[data-document-family="judicial"] .reader .heading{font-family:var(--book);font-weight:500;text-align:center;border-top:1px solid #d3d3c8;padding-top:20px;letter-spacing:.015em}
body[data-document-family="judicial"] .reader .quote{padding-left:22px;border-left:1px solid #cbcabc;font-style:italic;color:#58594b}
body[data-document-family="correspondence"]{--document-accent:#6e7b62;--document-rule:#c8d0bf;--document-surface:#eff2e7;--document-measure:65ch}
body[data-document-family="correspondence"] .document-identity-mark{font-family:var(--book);font-size:1.05rem;background:transparent}
body[data-document-family="correspondence"] .doc-head h1{font-style:italic;color:#384830;max-width:26ch}
body[data-document-family="correspondence"] .reader .meta{font-family:var(--sans);font-size:calc(.81rem * var(--reading-scale));line-height:1.75;color:#718069;padding:2px 0}
body[data-document-family="correspondence"] .reader .prose{line-height:1.9;margin-bottom:19px}
body[data-document-family="memorandum"],body[data-document-family="report"]{--document-accent:#57717a;--document-rule:#c4d1d5;--document-surface:#ebf1f2}
body[data-document-family="memorandum"] .doc-head h1,body[data-document-family="report"] .doc-head h1{font-family:var(--sans);font-size:clamp(1.6rem,2.1vw,2.12rem);font-weight:500;letter-spacing:-.035em;line-height:1.24;max-width:29ch}
body[data-document-family="memorandum"] .reader .heading,body[data-document-family="report"] .reader .heading{font-family:var(--sans);font-weight:550;border-top:1px solid #ced9dc;padding-top:20px;color:#46616c}
body[data-document-family="memorandum"] .reader .meta,body[data-document-family="report"] .reader .meta{font-family:var(--sans);color:#687f87;font-size:calc(.82rem * var(--reading-scale))}
body[data-document-family="transcript"]{--document-accent:#5d7880;--document-rule:#c4d3d5;--document-surface:#edf2f3;--document-measure:73ch}
body[data-document-family="transcript"] .reader .dialogue{display:grid;grid-template-columns:minmax(76px,116px) minmax(0,1fr);column-gap:18px;align-items:baseline;border-left:0;padding-left:0;margin:18px 0}
body[data-document-family="transcript"] .reader .speaker{font:500 .54rem/1.65 var(--mono);letter-spacing:.025em;color:#6c888c;overflow-wrap:anywhere;padding-top:4px}
body[data-document-family="transcript"] .reader .spoken{padding-left:17px;border-left:1px solid #dae3e0}
body[data-document-family="transcript"] .reader .system{padding-left:14px;border-left-color:#c2d5cf;margin:18px 0}
body[data-document-family="transcript"] .reader .heading{font-family:var(--sans);font-weight:500;color:#476b73}
body[data-document-family="system"]{--document-accent:#356c68;--document-rule:#b9d2ca;--document-surface:#e6eeea;--document-measure:75ch}
body[data-document-family="system"] .doc-head{background:linear-gradient(180deg,#eef3ef,var(--record-paper) 70%)}
body[data-document-family="system"] .doc-head h1{font-family:var(--sans);font-weight:450;font-size:clamp(1.6rem,2.2vw,2.15rem);letter-spacing:-.03em;max-width:29ch}
body[data-document-family="system"] .reader .heading{font-family:var(--mono);font-size:calc(.98rem * var(--reading-scale));font-weight:500;letter-spacing:.035em;color:#386d66;border-top:1px solid #c4d9cd;padding-top:19px}
body[data-document-family="system"] .reader .meta{font-family:var(--mono);font-size:calc(.81rem * var(--reading-scale));line-height:1.85;color:#627f6b}
body[data-document-family="system"] .reader .telemetry{border:0;border-left:2px solid #accbb9;background:#eef3ed;padding:12px 16px;color:#50765b}
body[data-document-family="mental-stream"]{--document-accent:#766b87;--document-rule:#d0c9d8;--document-surface:#f0edf3;--document-measure:68ch}
body[data-document-family="mental-stream"] .reader .dialogue{border-left:1px solid #d5cedd;padding-left:17px}.reader-inner.format-nchip .dialogue .speaker{color:#786b8b}
body[data-document-family="mental-stream"] .reader .meta{color:#81718d}
body[data-document-family="aetherlink"]{--document-accent:#497c87;--document-rule:#bfd5db;--document-surface:#eaf2f4;--document-measure:70ch}
body[data-document-family="aetherlink"] .reader .dialogue{border-left:1px dashed #b8d0d6;padding-left:17px}
body[data-document-family="aetherlink"] .reader .speaker{color:#598492}
body[data-document-family="composite"]{--document-accent:#677872;--document-rule:#c8d4cd;--document-surface:#edf2ee}
body[data-document-family="composite"] .reader .heading{border:0;border-top:1px solid #b9cdc1;border-left:3px solid #b9cdc1;background:transparent;padding:15px 0 4px 15px;font-family:var(--sans);font-weight:500;margin-top:35px}
body[data-document-family="archive"]{--document-accent:#647975;--document-rule:#c4d4cf;--document-surface:#ecf2ee}
body[data-document-family="personnel"]{--document-accent:#798067;--document-rule:#d2d5c4;--document-surface:#f0f2e7;--document-measure:66ch}
body[data-document-family="personnel"] .doc-head h1{line-height:1.18;max-width:24ch}
body[data-document-family="personnel"] .reader .prose{line-height:1.92;margin-bottom:18px}
body[data-document-family="historical"]{--document-accent:#807761;--document-rule:#d7d0bf;--document-surface:#f4f1e9;--document-measure:71ch}
body[data-document-family="historical"] .reader .heading{font-family:var(--book);font-weight:500;color:#6b604b}
body[data-document-family="marginalia"]{--document-accent:#7c756a;--document-rule:#d8d0c5;--document-surface:#f2efe9;--document-measure:65ch}
body[data-document-family="marginalia"] .reader .meta{font-style:italic;color:#8a8172}
body[data-document-family="bulletin"]{--document-accent:#58757e;--document-rule:#c7d5d8;--document-surface:#edf2f2}
body[data-document-family="bulletin"] .reader .heading{font-family:var(--sans);font-weight:550;color:#4d6f7a;padding:15px 0;border-top:1px solid #c5d6dc}
@media(max-width:840px){.connect-screen{padding:0 24px 20px;min-height:0}.threshold-chrome{padding:22px 0 19px;font-size:.60rem;gap:18px}.threshold-state{font-size:.60rem}.threshold-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);gap:28px;margin:27px auto 35px}.threshold-copy{padding:28px 25px 24px}.threshold-copy h1{font-size:2.15rem}.threshold-description{font-size:.88rem}.portal-registration-head{display:block;font-size:.59rem}.portal-registration-head>span:last-child{display:none}.threshold-instrument-head,.threshold-instrument-foot{font-size:.54rem}.threshold-orbit{margin:9px auto;max-width:210px}.threshold-footer{font-size:.54rem}.threshold-footer b{display:block;margin-left:0}.document-identity{gap:11px;padding-bottom:17px;margin-bottom:21px}.document-identity>div>span{font-size:.47rem}.document-identity small{font-size:.43rem}.identity-readonly{font-size:.39rem}.document-identity-mark{width:34px;height:34px;font-size:.64rem}.reader .reader-inner{max-width:min(var(--reading-measure),var(--document-measure,76ch))}}
@media(max-width:580px){.connect-screen{padding:0 18px 18px}.portal-brand{gap:11px}.portal-brand-mark{width:41px;height:41px;font-size:.66rem}.portal-brand strong{font-size:1.16rem}.portal-brand div>span{font-size:.65rem}.threshold-chrome{align-items:center;gap:12px}.threshold-state{font-size:.52rem;max-width:100px;letter-spacing:0}.portal-service-line{font-size:.55rem;padding:12px 0}.portal-service-line>span:last-child{display:none}.threshold-layout{grid-template-columns:minmax(0,1fr);gap:30px;margin:15px auto 30px}.threshold-copy{max-width:none;padding:25px 21px 23px}.threshold-copy h1{font-size:2rem}.threshold-description{font-size:.88rem;margin-bottom:24px}.threshold-instrument{display:block;padding:0 3px}.threshold-route{margin-top:23px}.threshold-orbit{display:none}.threshold-instrument-head{display:none}.threshold-instrument-foot{margin-top:24px}.certificate-details{grid-template-columns:100px minmax(0,1fr);font-size:.57rem;gap:10px}.personnel-certificate{padding:17px 15px}.certificate-heading{font-size:.53rem}.threshold-footer{font-size:.52rem}.threshold-footer>span:last-child{display:none}.personnel-settings-card{margin:20px;padding:16px}.personnel-settings-card>div{display:block}.personnel-settings-card b{display:block;margin-top:7px}.document-identity .identity-readonly{display:none}body[data-document-family="transcript"] .reader .dialogue{display:block;margin:17px 0}body[data-document-family="transcript"] .reader .speaker{padding-top:0;margin-bottom:4px}body[data-document-family="transcript"] .reader .spoken{padding-left:12px}body[data-document-family="judicial"] .doc-head h1{font-size:1.7rem}}

.threshold-chrome,.threshold-layout,.threshold-footer{flex-shrink:0}

.certificate-retention{font:400 .60rem/1.6 var(--sans);color:#8a5a00;padding-top:10px;border-top:1px solid #d6c6a8}

@media(max-width:760px){.threshold-layout{grid-template-columns:minmax(0,1fr)}.threshold-instrument{display:block;padding:0 3px}.threshold-orbit,.threshold-instrument-head{display:none}.threshold-instrument-foot{margin-top:24px}.portal-archive-info p{max-width:52ch}}
