:root { color-scheme:light; font:16px/1.55 "Segoe UI",system-ui,sans-serif; color:#142640; background:#f6f7fa; }
* { box-sizing:border-box; }
body { margin:0; }
[hidden] { display:none!important; }
a { color:#2056bd; text-underline-offset:3px; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
.folio-shell,.folio-reader { max-width:900px; margin:auto; padding:30px clamp(16px,4vw,48px) 72px; }
.folio-crumb { font-size:13px; color:#52647c; margin-bottom:24px; }
.folio-steps { display:flex; padding:0; list-style:none; gap:18px; margin:0 0 26px; border-bottom:1px solid #d6dfea; font-size:14px; }
.folio-steps li { padding:0 0 12px; color:#54657b; }
.folio-steps li[aria-current] { box-shadow:inset 0 -3px #265edf; color:#204999; font-weight:650; }
.folio-panel,.folio-paper { background:#fff; border:1px solid #dbe1ea; border-radius:17px; padding:clamp(20px,3.6vw,36px); margin-bottom:16px; }
.folio-intro { margin-bottom:24px; }
.folio-shell h1,.folio-intro h2,.folio-paper h1 { margin:0; font-size:clamp(30px,4vw,48px); line-height:1.09; letter-spacing:-.045em; }
.folio-panel h2,.folio-paper section h2 { margin:0 0 8px; font-size:21px; line-height:1.3; }
.folio-shell p,.folio-shell small { color:#485d77; }
.folio-shell p { margin:8px 0 14px; }
.folio-shell label { display:block; margin-top:16px; font-size:14px; font-weight:650; }
.folio-shell input:not([type=checkbox]),.folio-shell textarea { display:block; width:100%; padding:11px 13px; font-size:16px; color:#142640; background:#fff; border:1px solid #b7c6d8; border-radius:8px; margin-top:6px; }
.folio-shell textarea { resize:vertical; }
.folio-shell input[type=file] { background:#f5f8fd; padding:15px; }
.folio-shell input::file-selector-button { padding:7px 12px; margin-right:10px; border:1px solid #bfcbda; background:white; border-radius:5px; cursor:pointer; }
.folio-shell button { background:#fff; border:1px solid #b6c4d5; border-radius:8px; min-height:42px; padding:9px 15px; color:#1f3a5d; font-size:14px; font-weight:650; }
.folio-shell button:hover { background:#edf3ff; }
.folio-shell button.primary { color:white; background:#2458cc; border-color:#2458cc; }
.folio-shell button.primary:hover { background:#18459e; }
.folio-shell button:disabled { opacity:.65; cursor:wait; }
:focus-visible { outline:3px solid #5685e7; outline-offset:3px; }
.folio-shell fieldset { margin:12px 0; min-width:0; padding:0 0 16px; border:0; border-bottom:1px solid #e0e6ef; }
.folio-shell legend { font-weight:650; overflow-wrap:anywhere; }
.folio-shell fieldset button { margin-top:10px; }
.folio-shell summary { cursor:pointer; padding:14px 0; color:#254e93; }
.folio-actions,.share-controls .folio-actions { display:flex; flex-wrap:wrap; gap:9px; margin:18px 0; }
.folio-paper { padding:0; overflow:hidden; overflow-wrap:anywhere; }
.folio-paper header { padding:clamp(24px,5vw,48px); color:white; background:#142c49; border-bottom:4px solid #5485ee; }
.folio-paper header span { display:block; color:#c3d7ff; font-size:13px; margin-bottom:18px; }
.folio-paper header p { color:#e2ebfa; }
.folio-paper section { margin:0 clamp(20px,4vw,38px); padding:22px 0; }
.folio-paper section + section,.file-record + .file-record,.work-record + .work-record { border-top:1px solid #dce3ed; }
.folio-paper p { white-space:pre-wrap; margin:7px 0; }
.work-record h3,.work-record h4 { margin:12px 0 4px; }
.project-results { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:1px; margin:16px 0; background:#dce5f0; border:1px solid #dce5f0; border-radius:10px; overflow:hidden; }
.project-results div { background:#f4f7fb; padding:12px 14px; }
.project-results dt { color:#425970; font-size:12px; }
.project-results dd { margin:3px 0 0; font-weight:650; color:#123455; font-variant-numeric:tabular-nums; }
.file-record,.work-record { padding:9px 0; }
.share-controls a { overflow-wrap:anywhere; }
.device-note { font-size:13px; }
#stored { padding:15px 0; margin-bottom:12px; border-bottom:1px solid #dce3ed; }
#status:not(:empty) { padding:12px; background:#e8f0fd; border-radius:8px; }
@media(max-width:500px){.folio-shell,.folio-reader { padding:18px 14px 48px; }.folio-panel { padding:18px; }.folio-shell input[type=file] { font-size:13px; padding:10px; }}
#selection-options label { display:grid; grid-template-columns:20px 1fr; align-items:start; gap:2px 10px; margin:0; padding:12px 0; border-bottom:1px solid #dbe3ed; cursor:pointer; }
#selection-options input { width:18px; height:18px; margin:2px 0; accent-color:#2458cc; }
#selection-options small { grid-column:2; font-weight:400; overflow-wrap:anywhere; }
#selection-options label { padding:14px 8px; border-radius:4px; }
#selection-options label:focus-within,#selection-options label:hover { background:#f2f6fd; }
#selection-options small { line-height:1.5; }
#cv-selection :focus-visible { outline:2px solid #2458cc; outline-offset:3px; }
#selection-heading:focus { outline:none; }
.folio-shell:has(#cv-selection:not([hidden])) #manage-link { display:none; }
