@keyframes arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.card,.stat,.hero{animation:arrive .35s ease both}.card:hover{box-shadow:0 8px 28px #1537640b}button,a{transition:background .18s,box-shadow .18s,transform .18s}button:hover{transform:translateY(-1px)}button:focus-visible,a:focus-visible{outline:3px solid #71aaff;outline-offset:3px}.insights{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ring{width:115px;height:115px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.ring b{display:grid;place-items:center;background:white;width:89px;height:89px;border-radius:50%;font-size:25px}.chartrow{display:flex;gap:24px;align-items:center;margin:18px 0}.metricbar{display:grid;grid-template-columns:85px 1fr 24px;gap:12px;align-items:center;margin:16px 0}.track{height:10px;background:#edf2f8;border-radius:8px;overflow:hidden}.track span{display:block;height:100%;background:#1467e7;border-radius:8px}.stepguide{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.stepguide a{padding:12px 16px;background:#f0f5fc;border-radius:10px}.public-shell{max-width:840px;margin:36px auto;padding:20px}.public-shell header{position:static;padding:0;background:none;border:0;margin-bottom:30px}.public-shell .passport-hero{padding:36px;border-radius:24px;background:#08284a;color:white;margin:20px 0}.passport-hero h1{font-size:38px;color:white;margin:18px 0}.public-shell .detailgrid{grid-template-columns:1fr 1fr}.public-shell small{display:block}.public-shell #qr svg{width:160px;height:160px}.sharelink{width:100%;padding:12px;margin:12px 0}.reference{display:block;border-top:1px solid #e8edf4;padding:14px 0}.notice{line-height:1.6}@media(max-width:700px){.insights,.public-shell .detailgrid{grid-template-columns:1fr}.public-shell{margin:8px auto}.passport-hero h1{font-size:28px}.chartrow{gap:12px}header select{max-width:145px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media print{button,#qr{display:none}.public-shell{margin:0}.card{break-inside:avoid}}

.passport-hero p,.passport-hero small{color:#c5d5e8}
#language-switch{position:fixed;inset-block-end:16px;inset-inline-start:16px;z-index:70;box-shadow:0 4px 20px #102f6520}html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{font-family:Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.6}html[dir=rtl] aside{inset:0 0 0 auto;border-right:0;border-left:1px solid var(--line)}html[dir=rtl] .shell{margin-left:0;margin-right:240px}html[dir=rtl] table{text-align:right}html[dir=rtl] .task button{margin-left:0;margin-right:auto}html[dir=rtl] .eyebrow,html[dir=rtl] .workspace{letter-spacing:0}html[dir=rtl] input[type=email],html[dir=rtl] input[type=password],.sharelink{direction:ltr;text-align:left}.recovery-code{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf4ff;border-radius:8px;padding:20px;font-size:16px}.account-card button{margin-block:7px}.account-card .task input{flex-shrink:0}html[dir=rtl] .brand{direction:ltr;display:inline-block}@media(max-width:1000px){html[dir=rtl] .shell{margin-right:195px}}@media(max-width:640px){html[dir=rtl] aside{position:static}html[dir=rtl] .shell{margin:0}header{flex-wrap:wrap;gap:10px}header>div{gap:8px}header select{max-width:125px}.heading{flex-wrap:wrap}#language-switch{font-size:12px;padding:8px}.public-shell .chartrow{flex-wrap:wrap}.account-card{padding:24px}#account-screen{align-items:start}.stepguide a{width:100%}}@media print{#language-switch{display:none}}
/* Pilot layouts keep long evidence hashes and previews inside their cards. */
.card{min-width:0}.card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}.card small{overflow-wrap:anywhere}#form-error{padding:12px;border-inline-start:4px solid #ba2434;background:#fff1f2;color:#8b1825}.pilot-journey .task{gap:16px}.pilot-journey li{padding:10px}.pilot-journey small{display:block}details{margin-block:12px}summary{cursor:pointer;padding:12px;background:#f1f5fb;border-radius:8px}@media(max-width:640px){.card table{display:block;overflow-x:auto;max-width:100%}.actions{flex-wrap:wrap}.actions button{flex:1 1 140px}.task{flex-wrap:wrap;gap:10px}dialog{max-width:calc(100vw - 24px);width:calc(100vw - 24px);max-height:90dvh}input,select,textarea{max-width:100%;min-width:0}main{padding:16px}.pilot-journey .task button{width:100%;margin:0!important}}
/* Accessible shared controls and narrow-screen layouts. */
:root{--muted:#526178}small,th,footer,.stat label,.stat small,header{color:#526178}nav a{color:#485970}.green{color:#167155}.pill.pending,.pill.missing,.pill.draft{color:#825b0c}.pill.rejected{color:#a83232}.skip-link{position:fixed;inset-block-start:8px;inset-inline-start:8px;transform:translateY(-180%);padding:14px;background:white;color:#124fae;z-index:100;border:2px solid #1467e7}.skip-link:focus{transform:none}input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #1467e7;outline-offset:3px}.tablewrap:focus-visible{outline-offset:0}button,nav a,summary{min-height:44px}.task button,td button{min-height:44px;font-size:12px}input[type=checkbox],input[type=radio]{width:20px;min-width:20px;height:20px;accent-color:#1467e7}.task:has(input[type=checkbox]){align-items:center;min-height:44px}.notice,.card p,.card td,.public-shell p,#portal p{overflow-wrap:anywhere}#toast{z-index:100;max-width:calc(100vw - 32px)}.public-shell .passport-hero small{color:#d3e1f2}main:focus{outline:none}@media(max-width:640px){.toolbar{flex-wrap:wrap}.toolbar input,.toolbar select{width:100%;max-width:none}.tablewrap{max-width:100%;overflow-x:auto}.card table{display:table}.dialoghead{align-items:flex-start}dialog{padding:18px;overflow:auto}header select{max-width:100%}.public-shell{padding:12px}.public-shell .passport-hero{padding:22px}.public-shell header{gap:12px}.public-shell header .pill{display:inline-block}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat b{font-size:25px}.account-card{padding:20px}.account-card button{max-width:100%}#account-screen{padding:16px}.actions{gap:10px}nav{padding-bottom:6px}#language-switch{min-height:44px}.notice button{margin:8px 0 0}.public-shell h1{overflow-wrap:anywhere}}
body:has(#account-screen[style*="grid"]){overflow:hidden}#account-screen{overscroll-behavior:contain}.public-shell #qr{max-width:100%;overflow:auto}
