:root { color-scheme: light; }
.access-loading { min-height:100svh; margin:0; display:grid; place-items:center; background:#f5f7fb; color:#173858; font:14px system-ui,sans-serif; }
.password-overlay { position:fixed; inset:0; z-index:1000; background:#0b1f3ba8; padding:24px; display:flex; align-items:center; justify-content:center; overflow:auto; font-family:Inter,system-ui,sans-serif; }
.password-card { width:100%; max-width:420px; max-height:calc(100svh - 48px); overflow:auto; border-radius:16px; padding:28px; background:#fff; color:#142b4c; }
.password-card h2 { margin:0 0 8px; font-size:23px; font-weight:750; }
.password-card > p { color:#66758a; font-size:13px; line-height:1.6; margin-bottom:22px; }
.password-card .access-field small { color:#66758a; }
.password-card button:disabled { opacity:.55; cursor:wait; }
.access-page { --ink:#142b4c; --muted:#66758a; --line:#dfe6ef; min-height:100svh; display:grid; grid-template-columns:minmax(360px,1fr) minmax(420px,1fr); background:#f5f7fb; font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.access-page * { box-sizing:border-box; }
.access-intro { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; padding:48px clamp(32px,6vw,96px); color:#fff; background:radial-gradient(ellipse at 20% 90%,#204c72 0,transparent 56%),linear-gradient(145deg,#0b1f3b,#163c5c); }
.access-intro::after { content:''; position:absolute; width:430px; height:430px; border:1px solid #ffffff13; border-radius:50%; bottom:-230px; right:-160px; box-shadow:0 0 0 55px #ffffff05,0 0 0 110px #ffffff03; pointer-events:none; }
.access-brand { display:flex; gap:16px; align-items:center; text-decoration:none; color:white; width:fit-content; }
.access-brand img { object-fit:contain; }
.access-brand strong { display:block; letter-spacing:.06em; font-size:23px; }
.access-brand small { display:block; font-size:10px; letter-spacing:.2em; color:#c3d3e5; margin-top:3px; }
.access-eyebrow { display:block; letter-spacing:.16em; font-size:10px; font-weight:750; }
.access-intro-copy { margin:70px 0; max-width:440px; }
.access-intro .access-eyebrow { color:#edb179; margin-bottom:24px; }
.access-intro h1 { margin:0 0 24px; font-size:clamp(36px,4.4vw,62px); font-weight:750; line-height:1.12; letter-spacing:-.04em; }
.access-intro h1 span { color:#b8d2e8; }
.access-intro-copy > p { font-size:16px; line-height:1.75; max-width:350px; color:#cfdbeb; }
.access-benefits { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:32px; max-width:360px; color:#c3d3e5; font-size:11px; }
.access-benefits span::before { content:''; display:inline-block; width:5px; height:5px; background:#e8a66d; border-radius:50%; vertical-align:middle; margin-right:7px; }
.access-institution { font-size:11px; line-height:1.7; color:#aebfd4; max-width:355px; }
.access-panel { display:flex; align-items:center; justify-content:center; padding:52px 40px; }
.access-card { width:100%; max-width:376px; color:var(--ink); }
.access-panel-mark { width:44px; height:44px; display:grid; place-items:center; background:#e8eef5; border-radius:14px; margin-bottom:28px; font-size:24px; font-weight:700; color:#244e72; }
.access-panel .access-eyebrow { color:#6b7e97; margin-bottom:12px; }
.access-card h2 { margin:0 0 12px; font-size:28px; font-weight:750; letter-spacing:-.035em; line-height:1.2; outline:none; }
.access-description { color:var(--muted); font-size:14px; line-height:1.65; margin:0 0 30px; }
.access-field { margin-bottom:20px; }
.access-field label { display:block; font-size:12px; font-weight:650; margin-bottom:8px; }
.access-field input { display:block; width:100%; min-height:50px; padding:12px 14px; border:1px solid #cdd7e4; border-radius:10px; font:inherit; font-size:16px; color:var(--ink); background:white; transition:border-color .15s,box-shadow .15s; }
.access-field input::placeholder { color:#94a0b2; }
.access-field input:focus { outline:none; border-color:#34658e; box-shadow:0 0 0 3px #34658e1a; }
.access-field small { display:block; color:var(--muted); font-size:11px; line-height:1.5; margin-top:6px; }
.access-submit { display:flex; justify-content:center; align-items:center; gap:18px; border:0; background:#173858; color:#fff; font-size:14px; font-weight:650; border-radius:10px; min-height:50px; width:100%; cursor:pointer; margin-top:8px; box-shadow:0 4px 9px #16385812; }
.access-submit:hover { background:#244e72; }
.access-submit span { font-size:20px; line-height:1; }
.access-link { display:block; margin:18px auto 0; border:0; padding:6px; background:transparent; color:#234f76; font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.access-link:hover,.access-privacy:hover { text-decoration:underline; }
.access-page button:disabled { opacity:.55; cursor:wait; }
.access-page button:focus-visible,.access-page a:focus-visible { outline:3px solid #e9ac69; outline-offset:4px; }
.access-error,.access-notice { padding:12px 14px; border-radius:9px; line-height:1.55; font-size:12px; margin:12px 0; }
.access-error { background:#fff0ee; color:#983a31; border:1px solid #f4ccc5; }
.access-notice { background:#eaf5ef; color:#285840; border:1px solid #cbe4d4; }
.access-help { border-top:1px solid var(--line); padding-top:22px; margin-top:30px; }
.access-help strong { font-size:12px; font-weight:650; }
.access-help p { color:var(--muted); font-size:11px; line-height:1.6; margin-top:6px; }
.access-contact { display:grid; gap:8px; margin-top:14px; }
.access-contact a { width:fit-content; color:#234f76; font-size:12px; font-weight:600; text-decoration:none; }
.access-contact a:hover { text-decoration:underline; }
.access-privacy { color:#65778d; display:block; font-size:10px; margin-top:24px; text-decoration:none; }
/* Only the administration shell is restyled. Credential front/back and preview
   components retain their original DOM, inline styles and original CSS. */
.ciadescp-admin { background:#f3f6fa; }
.ciadescp-admin > header { background:#102d49 !important; border-bottom:3px solid #dba265; box-shadow:none; padding-top:22px; padding-bottom:22px; }
.ciadescp-admin > main { padding-top:28px; padding-bottom:40px; }
.ciadescp-admin > main > .grid > div { border-radius:15px; border-color:#e0e7ef; box-shadow:0 2px 4px #152d4b04; }
.ciadescp-admin > main > div > div > input[type=text] { border-radius:9px; min-height:46px; }
.ciadescp-admin table thead { background:#edf2f8; color:#51647b; }
.ciadescp-admin table tbody tr { border-color:#e7edf4; }
.ciadescp-admin table tbody tr:hover { background:#f7f9fc; }
.ciadescp-admin table th { font-size:10px; padding-top:16px; padding-bottom:16px; letter-spacing:.06em; }
.ciadescp-admin table td { padding-top:16px; padding-bottom:16px; }
.ciadescp-admin table button { min-height:36px; }
@media (max-width:800px) {
 .access-page { display:flex; flex-direction:column; }
 .access-intro { padding:24px; min-height:auto; }
 .access-brand img { width:44px; height:44px; }
 .access-brand strong { font-size:20px; }
 .access-brand small { font-size:9px; }
 .access-intro-copy { margin:26px 0 0; }
 .access-intro h1 { font-size:29px; margin-bottom:8px; }
 .access-intro h1 br { display:none; }
 .access-intro h1 span { margin-left:.22em; }
 .access-intro-copy > p { font-size:12px; line-height:1.6; margin:10px 0 0; max-width:350px; }
 .access-intro .access-eyebrow,.access-benefits,.access-institution { display:none; }
 .access-panel { padding:32px 24px; align-items:flex-start; flex:1; }
 .access-card { max-width:420px; }
 .access-panel-mark { display:none; }
 .access-card h2 { font-size:26px; }
 .access-description { margin-bottom:24px; font-size:13px; }
 .access-help { margin-top:24px; padding-top:18px; }
}
@media (prefers-reduced-motion:reduce) { .access-page * { transition:none !important; } }

/* Workspace controls only. The credential renderers and their CSS stay intact. */
.credential-screen { --document-ink:#142d49; --document-muted:#63758b; --document-line:#dfe6ee; width:100%; min-height:100svh; color:var(--document-ink); background:#f3f6fa; font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.document-top { background:#102d49; color:#fff; border-bottom:1px solid #ffffff12; }
.document-top-inner { width:min(1180px,100%); min-height:82px; margin:auto; padding:16px 32px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.document-brand { display:flex; align-items:center; gap:13px; min-width:0; }
.document-brand img { object-fit:contain; flex:none; }
.document-brand strong { display:block; font-size:18px; font-weight:650; letter-spacing:-.02em; line-height:1.3; }
.document-brand span { display:block; font-size:9px; font-weight:600; letter-spacing:.22em; color:#b4c8db; margin-top:4px; }
.document-account { display:flex; align-items:center; gap:8px; flex:none; }
.document-account-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 12px; min-height:44px; border:1px solid transparent; border-radius:9px; background:transparent; color:#e4edf6; font:inherit; font-size:12px; font-weight:550; cursor:pointer; }
.document-account-button:hover { background:#ffffff10; border-color:#ffffff15; }
.document-account-button svg { width:18px; height:18px; flex:none; }
.document-password-button { border-color:#ffffff20; }
.document-workspace { width:min(1180px,100%); margin:0 auto; padding:34px 32px 48px; }
.document-intro { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:26px; }
.document-small-title { display:block; color:#6a7c91; font-size:9px; font-weight:750; line-height:1.6; letter-spacing:.14em; }
.document-intro .document-small-title { color:#8f5a32; }
.document-intro h1 { margin:6px 0 8px; font-size:29px; line-height:1.15; font-weight:700; letter-spacing:-.04em; }
.document-intro p { margin:0; color:#63758b; font-size:13px; line-height:1.6; }
.document-personal-badge { display:flex; align-items:center; justify-content:center; gap:7px; border:1px solid #dce5ee; border-radius:30px; padding:8px 12px; font-size:10px; font-weight:600; color:#5c7086; white-space:nowrap; background:#ffffff9c; }
.document-personal-badge svg { width:13px; height:13px; }
.document-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; align-items:start; }
.document-viewer { min-width:0; border:1px solid #dee5ed; border-radius:18px; background:#fff; box-shadow:0 4px 18px #17385805; overflow:hidden; }
.document-viewer-tools { padding:16px 22px; border-bottom:1px solid #e6ecf2; background:#fff; }
.document-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:4px; border:1px solid #e5eaf0; background:#f4f6f9; border-radius:12px; max-width:460px; margin:0 auto; }
.document-tab { display:flex; align-items:center; justify-content:center; gap:8px; min-height:42px; border:0; border-radius:8px; padding:8px; font:inherit; font-size:12px; font-weight:650; color:#687b91; cursor:pointer; background:transparent; }
.document-tab svg { width:17px; height:17px; flex:none; }
.document-tab:hover { background:#e8edf4; color:#244e72; }
.document-tab.is-selected { background:#173858; color:#fff; box-shadow:0 2px 5px #142d4920; }
.document-stage { display:flex; justify-content:center; align-items:center; min-width:0; padding:30px 20px 34px; background:radial-gradient(ellipse at center,#f8fafc 0,#eef2f7 100%); }
.document-card-reserve { position:relative; flex:none; }
.document-canonical-card { position:absolute; top:0; left:0; }
.document-pagination { min-height:72px; padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:8px; background:#fff; border-top:1px solid #e6ecf2; }
.document-action { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:9px 7px; border:0; border-radius:8px; background:transparent; color:#4c6682; font:inherit; font-size:10px; font-weight:600; cursor:pointer; }
.document-action svg { width:18px; height:18px; flex:none; }
.document-action:hover { background:#edf2f7; color:#173858; }
.document-view-label { color:#2d4865; font-size:11px; font-weight:650; text-align:center; line-height:1.5; }
.document-view-label small { display:block; font-size:9px; font-weight:500; color:#8190a2; margin-top:2px; }
.document-side { display:flex; flex-direction:column; gap:18px; min-width:0; }
.document-info,.document-export-info,.document-support { border:1px solid #dfe6ee; border-radius:16px; background:#fff; padding:24px; }
.document-info-head { display:flex; gap:10px; align-items:center; margin-bottom:18px; font-size:8px; font-weight:750; letter-spacing:.13em; color:#6a7c91; }
.document-person-icon { display:grid; place-items:center; width:34px; height:34px; border:1px solid #e3eaf2; background:#f4f7fb; border-radius:11px; color:#476786; }
.document-person-icon svg { width:17px; height:17px; }
.document-info h2 { font-size:20px; font-weight:650; line-height:1.4; letter-spacing:-.025em; margin:0 0 12px; color:#142d49; overflow-wrap:anywhere; }
.document-role { display:inline-block; padding:5px 9px; font-size:9px; font-weight:650; letter-spacing:.04em; background:#eaf0f7; color:#395c7b; border:1px solid #dde6ef; border-radius:6px; }
.document-info-values { margin:23px 0 0; padding-top:19px; border-top:1px solid #e5ebf2; display:grid; gap:15px; }
.document-info-values dt { color:#78889a; font-size:10px; line-height:1.5; }
.document-info-values dd { color:#2c4763; font-size:12px; font-weight:550; margin:3px 0 0; line-height:1.5; overflow-wrap:anywhere; }
.document-export-info h2,.document-support h2 { margin:8px 0; font-size:16px; font-weight:650; line-height:1.4; letter-spacing:-.02em; color:#142d49; }
.document-export-info p,.document-support p { color:#6b7d90; font-size:11px; line-height:1.75; margin:0; }
.document-download { width:100%; display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:12px 18px; border:1px solid #173858; border-radius:10px; background:#173858; color:white; font:inherit; font-size:12px; font-weight:650; cursor:pointer; box-shadow:0 3px 7px #17385812; }
.document-download svg { width:18px; height:18px; flex:none; }
.document-download:hover { background:#244e72; border-color:#244e72; }
.document-download:disabled { opacity:.65; cursor:wait; }
.document-export-info .document-download { margin-top:20px; }
.document-support { background:#edf3f8; border-color:#dce6ef; }
.document-support-link { display:flex; align-items:center; gap:8px; color:#245577; font-size:11px; font-weight:650; text-decoration:none; margin-top:16px; width:fit-content; min-height:28px; }
.document-support-link svg { width:17px; height:17px; }
.document-support-link:hover { text-decoration:underline; }
.document-support-phone { display:inline-block; margin-top:5px; color:#5d758c; text-decoration:none; font-size:11px; padding:4px 0; }
.document-support-phone:hover { color:#173858; text-decoration:underline; }
.document-error { color:#983a31 !important; background:#fff0ee; border-radius:8px; padding:10px; font-size:11px; line-height:1.5; margin-top:12px !important; }
.document-mobile-actions { display:none; }
.document-print-source { position:fixed; top:0; left:0; opacity:0; pointer-events:none; z-index:-9999; }
.document-admin-preview-host { width:100%; max-width:470px; position:relative; }
.document-modal-view { max-height:calc(100svh - 32px); overflow:auto; overscroll-behavior:contain; background:#f3f6fa; color:#142d49; border-radius:18px; font-family:Inter,system-ui,sans-serif; }
.document-modal-top { display:flex; align-items:center; justify-content:space-between; padding:12px 18px; font-size:14px; font-weight:650; }
.document-modal-view .document-viewer { border:0; border-radius:0; }
.document-modal-export { padding:16px 22px; }
.document-modal-view .document-stage { padding:24px 16px; }
.document-modal-export .document-download { max-width:320px; margin:auto; }
.document-account-button:focus-visible,.document-tab:focus-visible,.document-action:focus-visible,.document-download:focus-visible,.document-support-link:focus-visible,.document-support-phone:focus-visible { outline:3px solid #d7934e; outline-offset:3px; }
@media (max-width:900px) {
 .document-top-inner { padding:15px 24px; }
 .document-workspace { padding:28px 24px 36px; }
 .document-layout { grid-template-columns:minmax(0,1fr) 270px; gap:18px; }
 .document-info,.document-export-info,.document-support { padding:21px; }
}
@media (max-width:740px) {
 .document-top-inner { min-height:72px; padding:12px 20px; gap:12px; }
 .document-brand { gap:10px; }
 .document-brand img { width:32px; height:32px; }
 .document-brand strong { font-size:15px; }
 .document-brand span { font-size:8px; }
 .document-account { gap:4px; }
 .document-account-button { gap:6px; padding:9px; font-size:11px; }
 .document-workspace { max-width:580px; padding:26px 20px 24px; }
 .document-intro { margin-bottom:20px; }
 .document-intro h1 { font-size:26px; }
 .document-intro p { font-size:12px; max-width:280px; }
 .document-personal-badge { display:none; }
 .document-layout { display:flex; flex-direction:column; gap:22px; }
 .document-viewer,.document-side { width:100%; }
 .document-viewer-tools { padding:13px 14px; }
 .document-stage { padding:24px 14px 28px; }
 .document-pagination { padding:11px 12px; min-height:68px; }
 .document-side { gap:16px; }
 .document-info-values { grid-template-columns:1fr 1fr; gap:16px; }
 .document-info-values > div:last-child { grid-column:1 / -1; }
 .document-export-info { display:none; }
 .document-support { padding:22px; }
 .credential-screen { padding-bottom:90px; }
 .document-mobile-actions { display:block; position:fixed; bottom:0; left:0; right:0; z-index:30; padding:12px 20px max(12px,env(safe-area-inset-bottom)); background:#ffffffed; border-top:1px solid #dfe6ee; backdrop-filter:blur(12px); }
 .document-mobile-actions .document-download { max-width:540px; min-height:50px; margin:auto; }
 .document-mobile-actions .document-error { max-width:540px; margin:10px auto 0 !important; }
}
@media (max-width:420px) {
 .document-top-inner { padding:12px 14px; gap:8px; }
 .document-brand { gap:8px; }
 .document-brand strong { font-size:13px; }
 .document-brand span { font-size:7px; letter-spacing:.18em; }
 .document-account-button { padding:8px 7px; font-size:10px; gap:5px; }
 .document-account-button svg { width:16px; height:16px; }
 .document-password-button span { max-width:35px; line-height:1.25; text-align:left; }
 .document-workspace { padding:23px 12px 24px; }
 .document-tabs { gap:2px; }
 .document-tab { font-size:11px; gap:6px; }
 .document-stage { padding-left:10px; padding-right:10px; }
 .document-view-label { font-size:10px; }
 .document-action { font-size:9px; gap:2px; padding:9px 3px; }
 .document-info,.document-support { padding:21px; }
 .document-mobile-actions { padding-left:12px; padding-right:12px; }
}
