/* Review portal prototype: same matte dark language as the existing viewer. */
body.portal-open>main{display:none}
body.portal-open .header-actions>#capture,body.portal-open .header-actions>.local-dot,body.portal-open .header-actions>span{display:none}
body.portal-open>#notice,body.portal-open>#loading{display:none!important}
#portalPreview[hidden]{display:none!important}
#portalPreview{display:grid;grid-template-columns:230px minmax(0,1fr);height:calc(100dvh - 64px);padding:8px 14px 14px;gap:18px;color:#edf2f4}
#portalPreview button,.portal-dialog button{font-size:14px;border:0;border-radius:18px;padding:10px 16px;background:#34424b;color:#e6edf1;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4;white-space:nowrap}
#portalPreview button:hover,.portal-dialog button:hover{background:#43555f}
#portalPreview svg,.portal-dialog svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#portalPreview button:disabled,.portal-dialog button:disabled{background:#2f3b43;color:#778790;cursor:default;opacity:.75}
#portalPreview .portal-primary,.portal-dialog .portal-primary{background:#3986f5;color:#fff;font-weight:500}
#portalPreview .portal-primary:hover,.portal-dialog .portal-primary:hover{background:#5599fa}
#portalPreview .portal-primary:disabled,.portal-dialog .portal-primary:disabled{background:#35495d;color:#8ca1b6}
#portalPreview .portal-danger,.portal-dialog .portal-danger{background:#62343d;color:#ffb3bf}
#portalPreview .portal-danger:disabled,.portal-dialog .portal-danger:disabled{background:#42323a;color:#aa7a83}
.portal-sidebar{border-radius:24px;background:#1d2931;padding:22px 14px;box-shadow:0 12px 28px #0002;overflow:auto;display:flex;flex-direction:column;min-height:0}
.portal-identity{display:flex;align-items:center;gap:10px;margin:0 4px 30px}.portal-avatar{display:grid;place-items:center;border-radius:16px;background:#304350;width:40px;height:40px;color:#c8dce9;flex:none}.portal-identity strong{font-size:14px;font-weight:600;display:block}.portal-identity small{font-size:12px;color:#8fa3af;display:block;margin-top:3px}
.portal-sidebar nav{display:flex;flex-direction:column;gap:6px}#portalPreview .portal-sidebar nav button{justify-content:flex-start;padding:13px 12px;border-radius:14px;background:transparent;color:#aabdc8;text-align:left;white-space:normal}#portalPreview .portal-sidebar nav button[aria-current=page]{background:#2b4151;color:#e0effb}#portalPreview .portal-sidebar nav button:hover{background:#2b3a44}
.portal-preview-switch{margin-top:auto;padding:32px 4px 0}.portal-preview-switch>span{font-size:11px;letter-spacing:1.4px;color:#93a5b1;display:block;margin-bottom:12px}.portal-preview-switch label{font-size:12px;color:#c8d2d8;margin-bottom:6px}.portal-preview-switch small{font-size:12px;color:#8699a5;display:block;line-height:1.5;margin-top:12px}#portalPreview .portal-preview-switch button{background:transparent;padding:12px 0 0;font-size:12px;color:#b7c5ce}
#portalPreview select,#portalPreview input,#portalPreview textarea,.portal-dialog input,.portal-dialog select,.portal-dialog textarea{width:100%;font-family:inherit;font-size:14px;color:#e5edf2;background:#17242d;border:1px solid #3c4c5766;border-radius:13px;padding:11px 12px;line-height:1.5;min-width:0}
#portalPreview textarea,.portal-dialog textarea{resize:vertical;min-height:100px}
#portalPreview label,.portal-dialog label{display:block;font-size:13px;color:#b8c8d2;margin:0 0 18px}#portalPreview label input,#portalPreview label select,#portalPreview label textarea,.portal-dialog label input,.portal-dialog label select,.portal-dialog label textarea{display:block;margin-top:7px}
.portal-content{min-width:0;overflow:auto;scrollbar-color:#465a66 transparent;padding:24px 30px 40px}.portal-page{max-width:1330px;margin:0 auto}.portal-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.portal-page-heading h1{font-size:30px;font-weight:600;letter-spacing:-.6px;line-height:1.2;margin:6px 0 12px}.portal-page-heading p{color:#9eafb9;margin:0;font-size:14px}.portal-page-heading .portal-eyebrow,.portal-eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:500;color:#91a5b3;margin:0 0 12px}.portal-page-heading>button{flex:none}
.portal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.portal-metrics article{background:#21303a;border-radius:22px;padding:23px 26px}.portal-metrics article>span{display:block;font-size:13px;color:#9fb3bf;margin-bottom:12px}.portal-metrics strong{font-size:34px;line-height:1;font-weight:500}
.portal-card{background:#202d36;border-radius:24px;padding:24px;margin-bottom:20px;min-width:0}.portal-card h2{font-size:17px;font-weight:600;margin:0 0 20px}.portal-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}.portal-card-title h2{margin:0}.portal-example-label{display:inline-block;border-radius:9px;background:#2d3d47;padding:5px 9px;font-size:11px;color:#a2b4c0;white-space:nowrap}
.portal-table-scroll{overflow:auto;margin:0 -10px}#portalPreview table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}#portalPreview th{font-size:12px;font-weight:400;color:#8fa3af;padding:12px 10px;white-space:nowrap}#portalPreview td{padding:19px 10px;border-top:1px solid #ffffff07;vertical-align:middle}#portalPreview td strong{font-weight:500}#portalPreview td small{display:block;font-size:12px;color:#8fa3af;margin-top:5px}#portalPreview .portal-row-action{padding:8px 12px;background:#2c3d48;font-size:12px}#portalPreview .portal-row-action svg{width:15px;height:15px}
.portal-state{display:inline-flex;align-items:center;gap:7px;font-size:12px;border-radius:20px;padding:7px 11px;background:#34434d;color:#c6d2db;white-space:nowrap;line-height:1.3}.portal-state i{width:6px;height:6px;background:currentColor;border-radius:50%;flex:none}.portal-state.green{background:#25483a;color:#8ee0b5}.portal-state.red{background:#50323d;color:#f3a3b1}.portal-state.amber{background:#493f2e;color:#e9c47b}.portal-state.blue{background:#263f5b;color:#95c0fa}.portal-state.muted{color:#91a0aa;background:#2b353d}
.portal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;flex-wrap:wrap}.portal-tabs{display:flex;gap:4px;flex-wrap:wrap}#portalPreview .portal-tabs button{background:transparent;color:#9dafbb;font-size:12px;padding:8px 11px}#portalPreview .portal-tabs button[aria-pressed=true]{background:#334c60;color:#d1e6fa}#portalPreview .portal-search{width:220px;max-width:100%;font-size:13px;padding:9px 12px}
.portal-empty{text-align:center;padding:36px 18px;color:#9dafbb}.portal-empty svg{width:36px!important;height:36px!important;margin-bottom:12px;color:#9bb5c6}.portal-empty h3{font-size:17px;color:#d7e3e9;font-weight:500;margin:0 0 10px}.portal-empty p{font-size:13px;line-height:1.6;margin:0}
.portal-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.portal-candidate-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}#portalPreview .portal-back{background:transparent;color:#a2b8c8;font-size:13px;padding:0;margin-bottom:24px}.portal-file-grid{display:grid;grid-template-columns:1fr;gap:9px}.portal-file-grid article{display:flex;align-items:center;gap:13px;padding:13px;background:#17252e;border-radius:16px}.portal-file-icon{display:grid;place-items:center;width:40px;height:45px;flex:none;border-radius:10px;color:#a7c9e5;background:#2a4152;font-size:11px;font-weight:600;letter-spacing:.5px}.portal-file-grid article>div{flex:1;min-width:0}.portal-file-grid strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.portal-file-grid small{display:block;font-size:12px;color:#8fa6b4;margin-top:4px}#portalPreview .portal-file-grid .portal-icon-button{background:transparent;font-size:20px}
.portal-card-bottom{display:flex;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap}.portal-card-bottom>span{font-size:12px;color:#8fa6b4}.portal-report p{font-size:13px;line-height:1.7;color:#9db0bd;margin:14px 0 18px}.portal-report>div{display:flex;align-items:center;gap:10px}.portal-report-check{color:#91d8af;background:#294d3c;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}
.portal-facts{margin:0 0 24px}.portal-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:10px 0;border-bottom:1px solid #ffffff07;font-size:13px}.portal-facts dt{color:#91a6b4;flex:none}.portal-facts dd{margin:0;text-align:right;color:#c9d6df}.portal-decision-actions{display:flex;flex-direction:column;gap:10px}.portal-history{list-style:none;padding:0;margin:0}.portal-history li{position:relative;padding:0 0 26px 24px;margin:0;border-left:1px solid #40525f}.portal-history li:before{content:'';position:absolute;left:-4px;top:5px;width:7px;height:7px;background:#8ba6b8;border-radius:50%}.portal-history li:last-child{padding-bottom:0;border-left-color:transparent}.portal-history span{font-size:13px;display:block}.portal-history small{font-size:12px;color:#91a6b4;display:block;margin-top:5px;line-height:1.5}.portal-history .future{opacity:.5}
.portal-subtitle{font-size:13px;line-height:1.7;color:#a3b6c3;margin:0 0 22px}.portal-preview-note{font-size:12px;line-height:1.5;color:#8b9eab;margin:16px 0 0}.portal-inline-note{display:flex;align-items:center;gap:10px;color:#9db5c7;font-size:13px;line-height:1.6;margin:10px 0}.portal-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.portal-email-link{display:flex!important;width:100%;justify-content:flex-start!important;gap:12px!important;margin-bottom:9px;padding:14px!important;background:#293a46!important}.portal-email-link>span{flex:1;text-align:left}.portal-email-link svg:last-child{width:16px!important}
.portal-candidate-intro{font-size:15px;line-height:1.8;color:#b3c5d0;max-width:680px}.portal-instruction{display:flex;gap:16px;border-top:1px solid #ffffff08;padding:24px 0}.portal-instruction>span{display:grid;place-items:center;width:34px;height:34px;flex:none;background:#2c4151;color:#a5c5dc;border-radius:12px;font-size:12px}.portal-instruction h3{font-size:16px;font-weight:500;margin:3px 0 10px}.portal-instruction p{font-size:14px;line-height:1.7;color:#97aebb;margin:0 0 16px}.portal-instruction:last-child{padding-bottom:0}
.portal-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#portalPreview .portal-upload{display:flex;flex-direction:column;justify-content:center;gap:9px;padding:26px 14px;border:1px dashed #516a7b;background:#1a2b37;white-space:normal;width:100%;border-radius:20px}#portalPreview .portal-upload>span{font-size:26px;color:#9db9cc;line-height:1}#portalPreview .portal-upload strong{font-weight:500}#portalPreview .portal-upload small{font-size:12px;color:#93aaba}.portal-delivery-checklist{list-style:none;padding:0;margin:20px 0}.portal-delivery-checklist li{font-size:14px;color:#b5c9d6;padding:9px 0;display:flex;gap:10px}.portal-delivery-checklist li:before{content:'○';color:#7797ad}
.portal-login{width:min(100%,450px);margin:32px auto;padding:40px 30px;background:#202e38;border-radius:28px}.portal-login>img{width:230px;max-width:100%;margin-bottom:34px}.portal-login>.portal-eyebrow{display:block}.portal-login h1{font-size:29px;line-height:1.3;font-weight:500;margin:12px 0 18px}.portal-login>p{font-size:14px;line-height:1.8;color:#a9becb}.portal-login>.portal-primary{width:100%}.portal-login>.portal-back{margin:20px 0 0!important}
.portal-dialog{color:#e5edf2;background:#202e38;border:1px solid #ffffff0c;border-radius:26px;box-shadow:0 24px 80px #0008;padding:0;width:min(740px,calc(100vw - 32px));max-height:88dvh;overflow:auto;font:14px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:dark}.portal-dialog::backdrop{background:#08121dcc;backdrop-filter:blur(5px)}.portal-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;background:#24343f;position:sticky;top:0;z-index:2}.portal-dialog-head h2{font-size:20px;font-weight:600;margin:0}.portal-dialog .portal-icon-button{padding:5px;background:transparent}.portal-dialog-body{padding:24px 26px}.portal-dialog-body>p{line-height:1.7}.portal-dialog>footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:18px 26px;background:#24343f;position:sticky;bottom:0}
.portal-email-subject{background:#182630;padding:13px 16px;border-radius:12px;font-size:13px;line-height:1.5;margin-bottom:16px}.portal-email-subject>span{display:block;color:#8da6b8;font-size:12px;margin-bottom:5px}.portal-email{background:#f1f3f4;color:#333;border-radius:15px;overflow:hidden;padding-top:20px;color-scheme:light}.portal-email>article{width:88%;margin:auto;background:#fff;border-radius:20px;padding:36px 30px;text-align:left;font-family:sans-serif}.portal-email .email-logo{display:block;width:54px;height:auto;margin:0 auto 36px}.portal-email h2{font-size:31px;color:#000;font-weight:300;text-align:center;line-height:1.2;margin:0 0 28px}.portal-email hr{height:1px;background:#dfdfdf;border:0;margin:0 0 34px}.portal-email p{font-size:15px;line-height:1.7;color:#333;margin:0 0 18px}.portal-email .email-cta{display:block;background:#111;color:#fff;padding:12px 18px;border-radius:12px;text-align:center;margin:24px 0;font-size:15px}.email-copyright{text-align:center;font:12px sans-serif;color:#777;padding:22px 0}.email-brand-footer{height:120px;background:url('assets/mail/mail-gradient.png') center/100% 100% no-repeat}.portal-status-hero{text-align:center;padding:20px}.portal-status-hero>svg{width:44px;height:44px;color:#82dcac;margin-bottom:16px}.portal-status-hero h2{font-size:24px;margin:0 0 20px}.portal-status-hero p{color:#a6bdcb;line-height:1.8}
@media(min-width:1800px){.portal-content{padding-top:40px}.portal-page-heading{margin-bottom:40px}}
@media(max-width:1200px){#portalPreview{grid-template-columns:210px minmax(0,1fr);gap:8px}.portal-content{padding:20px 15px}.portal-review-grid,.portal-candidate-grid{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.portal-card{padding:20px}.portal-page-heading h1{font-size:26px}}
@media(max-width:1000px){#portalPreview{grid-template-columns:185px minmax(0,1fr)}.portal-review-grid,.portal-candidate-grid{grid-template-columns:1fr}.portal-page-heading{align-items:flex-start;flex-wrap:wrap}.portal-metrics article{padding:18px}.portal-upload-grid{gap:8px}.portal-preview-switch{padding-top:22px}.portal-fields{grid-template-columns:1fr}}
@media(max-width:650px){#portalPreview{grid-template-columns:1fr;height:auto;padding:8px}.portal-sidebar{padding:12px}.portal-identity{margin:0 0 12px}.portal-sidebar nav{flex-direction:row;flex-wrap:wrap;gap:3px}.portal-preview-switch{margin-top:15px;padding-top:12px;border-top:1px solid #ffffff10}.portal-preview-switch>span,.portal-preview-switch label,.portal-preview-switch small{display:none}.portal-preview-switch select{max-width:190px}.portal-preview-switch button{margin-left:15px}.portal-content{padding:14px 0 30px;overflow:visible}.portal-metrics{gap:8px}.portal-metrics article{padding:16px 12px}.portal-metrics article>span{font-size:12px;line-height:1.5}.portal-metrics strong{font-size:28px}.portal-card{padding:18px 14px}.portal-upload-grid{grid-template-columns:1fr}.portal-dialog-body{padding:20px 16px}.portal-dialog-head{padding:18px}.portal-email>article{padding:28px 18px}.portal-dialog>footer{padding:16px}}

.portal-preview-switch>span,.portal-page-heading .portal-eyebrow,.portal-eyebrow,.portal-example-label{font-size:12px}
/* Reference downloads are individual and bound to the assigned test version. */
.portal-reference-heading{font-size:14px;font-weight:500;margin:25px 0 14px;color:#d4e0e7}
.portal-reference-list{display:flex;flex-direction:column;gap:9px;margin-bottom:14px}.portal-reference-list>article{display:flex;align-items:center;gap:13px;padding:14px;background:#17252e;border-radius:16px}.portal-reference-list>article>div{flex:1;min-width:0}.portal-reference-list strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.portal-reference-list small{display:block;font-size:12px;color:#8fa6b4;margin-top:4px}.portal-reference-list button{flex:none;font-size:12px!important;padding:9px 12px!important}
.portal-reference-conditions{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #ffffff09;margin-top:24px;padding-top:20px}.portal-reference-conditions strong{font-size:13px;font-weight:500}.portal-reference-conditions p{font-size:13px;line-height:1.7;color:#9db1bf;margin:8px 0 0}.portal-version-note{padding:13px 16px;background:#192a36;border-radius:13px;font-size:12px;line-height:1.7;color:#9bb6c9;margin:18px 0}
.portal-instructions .portal-card-title{align-items:flex-start}.portal-instructions .portal-card-title h2{line-height:1.5}.portal-instructions .portal-card-title .portal-example-label{white-space:normal;text-align:right;max-width:155px;flex:none}
#portalPreview input[readonly],#portalPreview textarea[readonly]{color:#a3b8c5;background:#1b2933}
@media(max-width:650px){.portal-reference-list>article{flex-wrap:wrap}.portal-reference-list>article>div{flex-basis:calc(100% - 60px)}.portal-reference-list>article>button{margin-left:53px}.portal-reference-conditions{grid-template-columns:1fr;gap:14px}.portal-instructions .portal-card-title{flex-wrap:wrap}.portal-instructions .portal-card-title .portal-example-label{text-align:left;max-width:none}}

.portal-auth-error{color:#ffabab!important;line-height:1.5;min-height:22px}.portal-login form{display:grid;gap:18px}.portal-identity small{overflow-wrap:anywhere}.portal-login [data-login-back]{margin-top:16px}.portal-login button:disabled{opacity:.6}

body[data-viewer-role="CANDIDATE"] #sendAsset{display:none}
#candidateDeliveryPreview{display:grid;gap:10px;padding:14px 0;font-size:13px}
#candidateDeliveryPreview[hidden]{display:none}
#candidateDeliveryPreview label{display:grid;gap:6px}
#candidateDeliveryPreview input{width:100%;min-width:0}
#candidateDeliveryPreview p{font-size:12px;line-height:1.5;margin:0;color:#a7b8c1}
#candidateDeliveryPreview button{background:#3986f5;color:white;border:0;border-radius:999px;padding:12px}
.portal-download-link{color:#9ac8ff;text-decoration:none;white-space:nowrap}
/* Shared sign-in: editorial artwork and one clear access panel. */
body.auth-required{background:#0e1b26;overflow:auto;min-height:100dvh}
body.auth-required>header,body.auth-required>main,body.auth-required>#notice,body.auth-required>#loading{display:none!important}
body.portal-open>header .header-title{visibility:hidden}
#portalPreview.portal-login-mode{display:block;height:auto;min-height:100dvh;padding:0;overflow:hidden;background:radial-gradient(ellipse at 30% 75%,#173b60 0,transparent 52%),#0e1b26}
#portalPreview .login-experience{display:grid;grid-template-columns:1.03fr 1fr;min-height:100dvh;max-width:1920px;margin:auto}
#portalPreview .login-story{position:relative;isolation:isolate;min-width:0;overflow:hidden;padding:48px 54px 0 70px;background:transparent;border:0;border-radius:0}
#portalPreview .login-brand{position:relative;z-index:2;width:430px;max-width:90%;height:auto;margin-bottom:58px}
#portalPreview .login-intro{position:relative;z-index:2}
#portalPreview .login-intro h1{font-size:clamp(38px,4.1vw,70px);font-weight:700;letter-spacing:-2.2px;line-height:1.08;margin:0 0 22px;color:#f5f8fa;max-width:800px}
#portalPreview .login-intro p{font-size:clamp(18px,1.65vw,28px);line-height:1.4;color:#b9d0e0;max-width:650px;margin:0}
#portalPreview .login-accent{display:block;width:100px;height:9px;border-radius:3px;background:#188dff;margin-top:34px}
#portalPreview .login-art{position:absolute;z-index:-1;left:0;right:0;bottom:0;height:74%;background:url('assets/login-scene.png') 63% 85%/cover no-repeat;mask-image:linear-gradient(to bottom,transparent 0%,#000 40%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 40%)}
#portalPreview .login-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0e1b2640,transparent 60%,#0e1b2630)}
#portalPreview .login-access{display:flex;align-items:center;padding:70px 64px 70px 32px;min-width:0;background:transparent;border:0;border-radius:0}
#portalPreview .login-panel{width:100%;padding:66px 54px 45px;background:linear-gradient(135deg,#223642e6,#1c2d39f2);border-radius:34px;box-shadow:0 28px 70px #0002}
#portalPreview .login-eyebrow{font-size:15px;letter-spacing:3px;font-weight:650;color:#a8c7dd;display:block;margin-bottom:28px}
#portalPreview .login-panel h2{font-size:clamp(30px,3vw,52px);letter-spacing:-1.3px;line-height:1.12;color:#f7f9fb;margin:0 0 20px;font-weight:700}
#portalPreview .login-panel>p:not(.portal-auth-error){font-size:clamp(18px,1.6vw,26px);line-height:1.45;color:#b9d0e0;margin:0 0 44px}
#portalPreview #portalLoginForm{display:grid;gap:42px}
#portalPreview #portalLoginForm label{display:grid;gap:10px;font-size:19px;line-height:1.4;color:#f1f5f8;margin:0}
#portalPreview #portalLoginForm input{box-sizing:border-box;width:100%;min-width:0;padding:17px 20px;background:#12233088;border:1px solid #365160;border-radius:16px;color:#f5f8fa;font:inherit;font-size:20px;outline:none}
#portalPreview #portalLoginForm input:focus{border-color:#328dff;box-shadow:0 0 0 3px #328dff26}
#portalPreview #portalLoginForm input::placeholder{color:#81919d}
#portalPreview #portalLoginForm .login-continue{width:100%;padding:17px 26px;min-height:64px;border:0;border-radius:999px;background:#2b85fa;color:white;font-size:21px;font-weight:650;gap:20px;box-shadow:none}
#portalPreview #portalLoginForm .login-continue:hover{background:#4394ff}
#portalPreview #portalLoginForm .login-continue:disabled{opacity:.55}
#portalPreview .login-panel .portal-auth-error{font-size:14px;margin:20px 0 0;line-height:1.5;min-height:0}
#portalPreview .login-back{margin-top:18px;background:transparent;padding:6px 0;font-size:13px;color:#b9d0e0;white-space:normal}
@media(min-width:1800px){#portalPreview .login-story{padding-top:64px;padding-left:90px}.login-brand{margin-bottom:70px!important}}
@media(max-width:1050px){#portalPreview .login-story{padding:36px 28px 0 36px}#portalPreview .login-brand{margin-bottom:46px}#portalPreview .login-access{padding:40px 28px 40px 12px}#portalPreview .login-panel{padding:44px 30px 34px;border-radius:28px}#portalPreview .login-intro h1{letter-spacing:-1.2px}#portalPreview .login-eyebrow{font-size:12px;letter-spacing:2px}}
@media(max-width:700px){#portalPreview .login-experience{grid-template-columns:1fr;min-height:100dvh}#portalPreview .login-story{min-height:300px;padding:28px 26px 35px}#portalPreview .login-brand{width:300px;max-width:90%;margin-bottom:32px!important}#portalPreview .login-intro h1{font-size:36px;max-width:460px;margin-bottom:14px}#portalPreview .login-intro p{font-size:17px;max-width:360px}#portalPreview .login-accent{width:65px;height:6px;margin-top:20px}#portalPreview .login-art{height:100%;left:35%;opacity:.3;mask-image:linear-gradient(90deg,transparent,#000);-webkit-mask-image:linear-gradient(90deg,transparent,#000)}#portalPreview .login-access{padding:0 20px 28px;align-items:flex-start}#portalPreview .login-panel{padding:32px 26px;border-radius:26px}#portalPreview .login-panel h2{font-size:30px}#portalPreview .login-panel>p:not(.portal-auth-error){font-size:18px;margin-bottom:28px}#portalPreview .login-eyebrow{margin-bottom:18px}#portalPreview #portalLoginForm{gap:26px}#portalPreview #portalLoginForm label{font-size:16px}#portalPreview #portalLoginForm input{font-size:17px;padding:14px 16px}#portalPreview #portalLoginForm .login-continue{font-size:18px;min-height:54px;padding:14px 20px}}
/* Full-screen original Stories Life artwork; independent HTML logo and form. */
#portalPreview.portal-login-mode{background:#102736}
#portalPreview .login-experience{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end;max-width:none;width:100%;min-height:100dvh;padding:60px 8.3vw 90px 0;box-sizing:border-box;background:linear-gradient(180deg,#04182b55,transparent 25%),linear-gradient(90deg,#081b3020,#081b3010),url('assets/login-scene.png') right 80%/140% auto no-repeat;background-position:center,center,right 80%;background-size:cover,cover,140% auto;background-repeat:no-repeat}
#portalPreview .login-brandbar{position:absolute;z-index:2;top:5.2vh;left:4.2vw;display:flex;align-items:center;gap:26px;color:white}
#portalPreview .login-wordmark{display:block;width:190px;height:36px;overflow:hidden;flex:none}
#portalPreview .login-wordmark img{width:334px;height:36px;max-width:none;display:block}
#portalPreview .login-tagline{font-size:20px;font-weight:650;line-height:1.2;padding:2px 0 2px 26px;border-left:2px solid #fff9;white-space:nowrap}
#portalPreview .login-access{display:block;width:568px;max-width:38vw;padding:0;background:none}
#portalPreview .login-panel{box-sizing:border-box;padding:50px 48px 52px;border-radius:30px;background:linear-gradient(135deg,#203440fa,#172a37fc);box-shadow:0 20px 70px #06162936}
#portalPreview .login-eyebrow{font-size:13px;letter-spacing:2.5px;margin-bottom:22px}
#portalPreview .login-panel h2{font-size:clamp(30px,2.45vw,42px);letter-spacing:-1px;margin-bottom:18px;line-height:1.13}
#portalPreview .login-panel>p:not(.portal-auth-error){font-size:20px;line-height:1.4;margin-bottom:32px;overflow-wrap:anywhere}
#portalPreview #portalLoginForm{gap:36px}
#portalPreview #portalLoginForm label{font-size:17px;gap:10px}
#portalPreview #portalLoginForm input{font-size:18px;padding:16px 18px;border-radius:15px;background:#12243188}
#portalPreview #portalLoginForm .login-continue{font-size:18px;min-height:62px;padding:16px 22px;gap:18px}
#portalPreview .login-panel .portal-auth-error:empty{display:none}
#portalPreview .login-panel .login-back{display:inline-flex;align-items:center;gap:9px;margin:0 0 28px;padding:6px 0;background:none;color:#c6dbe9;font-size:15px;font-weight:600;border:0;border-radius:0;white-space:nowrap}
#portalPreview .login-panel .login-back:hover{color:#fff;background:none}
#portalPreview .login-back span{font-size:21px;line-height:1}
@media(max-aspect-ratio:3/2) and (min-width:701px){#portalPreview .login-experience{background-size:cover;background-position:45% 80%;padding-right:5vw}#portalPreview .login-access{max-width:44vw}}
@media(max-width:1050px) and (min-width:701px){#portalPreview .login-panel{padding:36px 30px}#portalPreview .login-panel h2{font-size:30px}#portalPreview .login-panel>p:not(.portal-auth-error){font-size:18px}#portalPreview .login-brandbar{gap:16px}#portalPreview .login-tagline{padding-left:16px;font-size:17px}}
@media(max-width:700px){#portalPreview .login-experience{min-height:100dvh;padding:150px 20px 36px;align-items:center;background-size:cover;background-position:58% center}#portalPreview .login-experience:before{content:"";position:absolute;inset:0;z-index:-1;background:#081b3040}#portalPreview .login-brandbar{top:30px;left:26px;right:26px;gap:14px;flex-wrap:wrap}#portalPreview .login-wordmark{width:157px;height:30px}#portalPreview .login-wordmark img{width:278px;height:30px}#portalPreview .login-tagline{font-size:14px;padding-left:14px;white-space:normal;max-width:140px}#portalPreview .login-access{width:100%;max-width:none}#portalPreview .login-panel{padding:32px 26px;border-radius:26px}#portalPreview .login-panel h2{font-size:29px}#portalPreview .login-panel>p:not(.portal-auth-error){font-size:17px;margin-bottom:28px}#portalPreview #portalLoginForm{gap:26px}#portalPreview #portalLoginForm label{font-size:16px}#portalPreview #portalLoginForm input{font-size:17px;padding:14px 16px}#portalPreview #portalLoginForm .login-continue{min-height:54px;font-size:17px}}

/* Reuse the viewer’s complete SVG lockup without cropping or retyping its tagline. */
#portalPreview .login-brandbar{display:block;right:auto}
#portalPreview .login-brand-original{display:block;width:430px;max-width:calc(100vw - 8.4vw);height:auto}
@media(max-width:700px){#portalPreview .login-brandbar{right:26px}#portalPreview .login-brand-original{width:334px;max-width:100%;height:auto}}

/* Fit the original artwork to the viewport without a fixed zoom. */
#portalPreview .login-experience{background-size:cover,cover,cover;background-position:center,center,center 80%}
@media(max-width:700px){#portalPreview .login-experience{background-position:center,center,58% center}}
.portal-application-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #ffffff12}.portal-card p{overflow-wrap:anywhere}.portal-card a{color:#8fbeff}.portal-reference-list article{flex-wrap:wrap}
