/* Approved Vigil identity and shared account/preparation structure. */
/* Student journey: one current task; all decisions still come from the server. */
.student-journey main{max-width:832px;margin:auto;padding:28px 40px 48px}
.student-journey #status{font-size:14px;color:var(--muted)}
.student-journey .journey-enabled>h1,.journey-enabled>.wizard-steps,.journey-enabled [data-go],.journey-enabled #identity-continue{display:none}
.journey-enabled .journey-heading{margin:0 0 28px;color:var(--muted);font-size:14px}
.journey-enabled progress{display:block;width:100%;height:3px;border:0;margin-top:12px;appearance:none}
.journey-enabled progress::-webkit-progress-bar{background:var(--line)}
.journey-enabled progress::-webkit-progress-value{background:var(--action)}
.journey-enabled progress::-moz-progress-bar{background:var(--action)}
.journey-enabled .journey-pane{border:0;padding:0;margin:0;min-height:330px}
.journey-enabled h2{font-size:30px;line-height:1.2;margin:0 0 16px;letter-spacing:-.4px}
.journey-enabled .journey-pane>p{color:var(--muted);line-height:1.6}
.journey-enabled .journey-help{font-size:13px;line-height:1.5;color:var(--muted)}
.journey-enabled button,.journey-enabled .primary-link{border-radius:6px;min-height:46px}
.journey-enabled .journey-actions{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:20px;margin-top:28px}
.journey-enabled #journey-next{margin-left:auto}
.journey-enabled #journey-after{text-align:right;margin-top:8px}
.journey-enabled #refresh{display:block;background:transparent;color:var(--action);border:0;font-size:13px;padding:8px 0;margin-top:20px}
.journey-enabled #check-camera-section,.journey-enabled #check-microphone-section{padding:18px 0;border:0;border-bottom:1px solid var(--line);margin:0}
.journey-enabled #journey-media h3{display:block;margin:0 0 12px;font-size:17px}
.journey-enabled #journey-media .identity-video{max-height:240px;border-radius:10px;background:var(--paper)}
.journey-enabled #journey-media label:has(input[type=checkbox]),.journey-enabled #journey-media .device-actions>button[id$="-start"]:not(.journey-retry){display:none}
.journey-enabled #journey-media details{font-size:13px;color:var(--muted)}
.journey-enabled #journey-media pre{white-space:pre-wrap;overflow-wrap:anywhere}
.journey-enabled #journey-media [data-state=completed],.journey-enabled #journey-media [data-state=receiving]{color:#196442}
.journey-enabled .wizard-note,.journey-enabled .identity-feedback{border-left:0;border-radius:8px}
.journey-enabled .preparation-progress{border:0;padding:0;margin:24px 0}
.journey-enabled .journey-tracking-hidden{display:none}
.journey-enabled #device-exam-controls>section{border:0;padding:0}
.journey-enabled [hidden]{display:none!important}
.journey-enabled #native-panel>p:first-child{display:none}
.journey-enabled #identity-receipt{display:none}
.journey-enabled .journey-device-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;margin-top:20px}
.journey-enabled .journey-single-device{grid-template-columns:1fr}
.journey-enabled .journey-device-grid #check-camera-section,.journey-enabled .journey-device-grid #check-microphone-section{padding:0;border-bottom:0}
.journey-enabled #journey-media [id$="-requirement"]{display:none}
.journey-enabled #journey-media .identity-video{max-height:200px;aspect-ratio:16/9;object-fit:contain}
.journey-enabled #journey-media h3{margin:0 0 8px}
.journey-enabled #journey-media p{font-size:14px;margin:10px 0;line-height:1.5}
.journey-enabled #journey-media>p:first-of-type{font-size:16px}
.journey-enabled #journey-media .device-actions button{background:#fff;color:var(--action);padding:8px 12px;font-size:14px}
.journey-enabled #journey-media details{margin:8px 0}
.journey-enabled #journey-media section:not(.journey-device-error)>details:not(.journey-camera-choice){display:none}
.journey-enabled .journey-actions{position:sticky;bottom:0;background:#fff;padding:16px 0;z-index:2}
@media(max-width:650px){.journey-enabled .journey-device-grid{grid-template-columns:1fr;gap:16px}.journey-enabled .journey-heading{margin-bottom:20px}.journey-enabled #journey-media .identity-video{max-height:170px}.journey-enabled #journey-media .device-actions{display:inline-block}.journey-enabled #journey-media>p{margin:8px 0}.journey-enabled .journey-actions{margin-top:20px}}
@media(max-width:650px){.student-journey main{padding:24px 20px 40px}.journey-enabled h2{font-size:26px}.journey-enabled .journey-actions{align-items:stretch}.journey-enabled #journey-next{max-width:74%}.journey-enabled .wizard-row{align-items:flex-start}.journey-enabled .wizard-row>div{min-width:0;flex:1 1 200px}}
:root{font-family:Arial,Helvetica,sans-serif;color:#202c39;background:#fff;--navy:#142b45;--action:#245a81;--paper:#f3f5f7;--line:#d8dfe6;--muted:#536475}
header{padding:16px 32px;border-bottom:1px solid var(--line);color:var(--navy);background:#fff}header .brand{width:112px;height:58px;object-fit:contain}main{max-width:1200px;padding:32px 32px 64px;min-width:0}h1{line-height:1.2;color:var(--navy)}h2,h3{color:var(--navy)}section section,.grid>section,.card{border-color:var(--line);border-radius:2px}input,textarea,select,button,.primary-link{border-radius:2px}button,.primary-link{background:var(--action)}button{min-height:44px}button:disabled{cursor:not-allowed}button.secondary{background:#fff;color:var(--action)}input[type=checkbox]{display:inline-block;width:18px;height:18px;margin-right:8px;accent-color:var(--action)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--action);outline-offset:3px}a{color:var(--action)}.primary-link{color:#fff}form{max-width:560px}small{color:var(--muted)}
.account-shell{max-width:1440px;margin:auto}.account-shell.signed-in{display:grid;grid-template-columns:230px minmax(0,1fr)}.account-navigation{padding:24px 16px;background:var(--paper)}.account-navigation button{display:block;width:100%;text-align:left;background:transparent;border-color:transparent;color:var(--muted);margin:4px 0}.account-navigation button[aria-current=page]{background:#fff;color:var(--navy);box-shadow:inset 3px 0 var(--action)}[data-account-view]{border:0;padding:0;margin:0}#admin>.grid:empty{display:none}
.task-dialog{width:min(720px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:2px;color:#202c39;background:#fff;box-shadow:0 12px 32px rgba(20,43,69,.14)}.task-dialog::backdrop{background:rgba(20,43,69,.5)}.task-dialog>section{border:0;padding:0}.dialog-close{display:block;margin:0 0 16px auto;background:#fff;color:var(--action)}
.wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:24px 0}.wizard-steps button{width:100%;background:#fff;color:var(--muted);border:0;border-top:3px solid var(--line);text-align:left;padding:12px 0}.wizard-steps button[aria-current=step]{border-color:var(--action);color:var(--navy);font-weight:bold}.wizard-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.wizard-row p{margin:4px 0;color:var(--muted)}.wizard-note{padding:20px;background:var(--paper);border-left:3px solid var(--action);margin:20px 0}.wizard-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.wizard-photo img,.wizard-photo video{display:block;width:100%;max-height:340px;object-fit:contain;background:var(--paper)}.wizard-photo{max-width:600px}.wizard-photo img:not([src]),.wizard-photo img[src=""]{display:none}.wizard-view{border:0;padding:0;margin:0}
@media(max-width:650px){header{gap:12px;flex-wrap:wrap;padding:12px 20px}main{padding:24px 20px}.account-shell.signed-in{display:block}.account-navigation{display:flex;flex-wrap:wrap;gap:4px;padding:12px}.account-navigation button{width:auto;font-size:14px}.wizard-steps{grid-template-columns:1fr 1fr}.wizard-row{flex-wrap:wrap}.task-dialog{width:calc(100% - 20px);padding:20px}h1{font-size:28px}.grid{grid-template-columns:1fr}}

.identity-video,.identity-preview{width:100%;max-height:340px;object-fit:contain;background:var(--paper)}
.identity-viewfinder{position:relative;width:100%;aspect-ratio:16/9;max-width:560px;margin:16px auto;background:#142b45;overflow:hidden}
.identity-viewfinder .identity-video{display:block;width:100%;height:100%;max-height:none;object-fit:contain;background:#142b45}
.identity-guide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:#fff;stroke-width:4;filter:drop-shadow(0 1px 2px #142b45)}
.identity-guide[hidden],.identity-viewfinder[hidden]{display:none}
.identity-camera-actions{position:sticky;bottom:-28px;background:#fff;padding:12px 0;border-top:1px solid var(--line)}
@media(max-width:650px){.identity-camera-actions{bottom:-20px}}

.account-shell main{width:100%}.dialog-feedback:empty{display:none}.dialog-feedback.error{color:#a22929}
.wizard-row button[data-state=verified],.wizard-row button[data-state=checked]{background:#196442;color:#fff;border-color:#196442}

#devices-help{width:min(640px,calc(100% - 32px))}
#devices-help h2{margin:0 0 12px;font-size:24px}
#devices-help h3{margin:20px 0 12px}
#check-camera-section>h3,#check-microphone-section>h3{display:none}
#devices-help .device-actions{position:sticky;bottom:-28px;background:#fff;padding:10px 0;border-top:1px solid var(--line)}
@media(max-width:650px){#devices-help .device-actions{bottom:-20px}}
#devices-help .device-privacy{font-size:14px;color:var(--muted);line-height:1.5}
#devices-help section{border:0;padding:0;margin:16px 0}
#devices-help [hidden]{display:none}
#devices-help .identity-video{max-height:220px;aspect-ratio:16/9}
#devices-help details{margin-top:20px;font-size:14px}
#devices-help pre{max-height:180px;overflow:auto;white-space:pre-wrap}
#devices-help [data-state=completed],#devices-help [data-state=receiving]{color:#196442;font-weight:600}
#candidate ::selection{background:#d9e7f2;color:var(--navy)}
.wizard-steps button[data-state=completed],.wizard-steps button[data-state=ready]{border-color:#196442;color:#196442}
.wizard-steps button[data-state=waiting],.wizard-steps button[data-state=attention]{border-color:#946000;color:#805300}
.wizard-steps button:disabled{opacity:1;color:var(--muted)}
.document-example{max-width:340px;aspect-ratio:1.6;border:2px dashed var(--action);border-radius:12px;padding:24px;margin:16px 0;display:flex;flex-direction:column;justify-content:center;gap:12px;background:var(--paper);color:var(--navy)}
.identity-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.identity-review-grid figure{margin:0}.identity-review-grid img{width:100%;height:auto}.identity-review-grid figcaption{font-weight:bold;margin-bottom:8px}
#identity-progress:empty{display:none}#identity-progress:not(:empty){padding:16px;background:var(--paper);border-left:3px solid var(--action)}
@media(max-width:650px){.identity-review-grid{grid-template-columns:1fr}}
.preparation-progress{padding:16px;margin:16px 0;border:1px solid var(--line);background:#fff}.preparation-progress h2{font-size:18px;margin:0 0 8px}.preparation-progress>p{margin:8px 0}.preparation-progress details{margin-top:12px}.preparation-progress summary{cursor:pointer;color:var(--action);padding:4px 0}.preparation-progress details>p{color:var(--muted)}.preparation-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 0}.preparation-checklist div{border-top:2px solid var(--line);padding-top:12px}.preparation-checklist dt{font-weight:bold;color:var(--navy)}.preparation-checklist dd{margin:8px 0 0}.preparation-checklist [data-state=approved],.preparation-checklist [data-state=issued]{color:#196442}.preparation-checklist [data-state=awaiting_review],.preparation-checklist [data-state=recapture_required],.preparation-checklist [data-state=rejected],.preparation-checklist [data-state=expired]{color:#805300}.progress-next{color:var(--navy)}.review-tracking{font-size:14px;color:var(--muted)}.identity-feedback{padding:12px;background:#fff8e8;border-left:3px solid #946000}.preparation-progress[hidden],.preparation-checklist[hidden],.identity-feedback[hidden],.review-tracking[hidden]{display:none}
@media(max-width:650px){.preparation-checklist{grid-template-columns:1fr}}

.native-recovery{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.native-recovery h3{margin:0 0 12px}.native-recovery-actions{display:flex;gap:8px;flex-wrap:wrap}.native-recovery[hidden]{display:none}

/* Account operation: persistent context, evaluation list, focused participant view. */
.assisted-preparation{margin:24px 0;padding:24px;border:1px solid var(--line);background:#fff}
.assisted-preparation h2{margin:0 0 12px;font-size:22px}
.assisted-preparation p{max-width:72ch;overflow-wrap:anywhere}
.assisted-preparation details{margin:16px 0}
.assisted-preparation summary{padding:8px 0;color:var(--action)}
.assisted-preparation .assisted-help{font-size:14px;color:var(--muted);margin-bottom:0}
.assisted-preparation [data-state=withdrawn],.assisted-preparation [data-state=uncertain]{color:#805300}
.assisted-preparation button{white-space:normal;text-align:left}
@media(max-width:650px){.assisted-preparation{padding:16px}.assisted-preparation .wizard-actions{align-items:stretch}.assisted-preparation button{max-width:100%}}
.accounts-page header{max-width:none;gap:28px;padding:16px 32px}
.accounts-page .account-context{display:flex;align-items:center;gap:20px;flex:1;min-width:0}
.accounts-page .account-context label{margin:0;font-size:13px;font-weight:600;color:var(--muted);min-width:180px;max-width:300px;flex:1}
.accounts-page .account-context select{font-size:15px;color:var(--navy);background:#fff;margin-top:4px;font-weight:400}
.accounts-page #context-status{font-size:13px;color:var(--muted);max-width:200px}
.accounts-page #context-status:empty,.accounts-page #status:empty{display:none}
.accounts-page #logout{flex-shrink:0;margin:0;font-size:14px}
.accounts-page .account-shell{max-width:1600px;min-height:calc(100vh - 92px)}
.accounts-page .account-shell main{padding:32px 40px 64px;margin:0;max-width:none}
.accounts-page .account-navigation{padding:24px 16px}
.accounts-page h1{font-size:28px;margin:0 0 24px}
.accounts-page h2{font-size:22px}.accounts-page h3{font-size:17px}
.accounts-page #selection,.accounts-page #participants-view,.accounts-page #lms-connection{border:0;background:transparent;padding:0;margin:0}
.accounts-page #selected-name{margin:0 0 24px;font-size:16px;font-weight:400;color:var(--muted)}
.accounts-page #spaces:empty{display:none}
.accounts-page [data-account-view=inicio]>p{max-width:60ch}
.accounts-page .evaluation-row,.accounts-page .participant-row{display:flex;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}
.accounts-page .evaluation-row>div,.accounts-page .participant-row>div{flex:1;min-width:0}
.accounts-page .evaluation-row h3{margin:0;overflow-wrap:anywhere;font-weight:600;line-height:1.5}
.accounts-page .evaluation-row button,.accounts-page .participant-row button{margin:0;flex-shrink:0}
.accounts-page .participant-row small{margin-top:4px}
.accounts-page .participant-row{flex-wrap:wrap}
.accounts-page .participant-row>details{flex-basis:100%;margin:0}
.accounts-page summary{font-size:14px;font-weight:400;color:var(--action);padding:6px 0}
.accounts-page #participants-title{margin:20px 0;font-size:24px;overflow-wrap:anywhere}
.accounts-page #participants-back{padding:8px 0;border:0;margin:0}
.accounts-page .view-actions{display:flex;align-items:baseline;gap:24px;flex-wrap:wrap;margin-bottom:32px}
.accounts-page .view-actions details{margin:0}
.accounts-page .view-actions details[open]{flex-basis:100%;order:1}
.accounts-page .activity-options button,.accounts-page #lms-connection button{background:#fff;color:var(--action)}
.accounts-page #lms-connection>h3{font-size:20px;margin:24px 0 12px}
.accounts-page #lms-connection>section{border:0;border-top:1px solid var(--line);padding:24px 0;margin-top:32px}
.accounts-page #lms-connection p{max-width:68ch}
.accounts-page button:not(:disabled):hover{filter:brightness(.94)}
.accounts-page button:disabled{cursor:wait}
.accounts-page ::selection{background:#d9e7f2;color:var(--navy)}
.accounts-page #role{color:var(--muted);margin:-12px 0 32px}
.accounts-page .summary-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.accounts-page .summary-heading h2{margin:0 0 8px}.accounts-page .summary-heading p{margin:0;color:var(--muted)}
.accounts-page .summary-heading button{margin:0;background:#fff;color:var(--action)}
.accounts-page .summary-metrics{display:flex;flex-wrap:wrap;gap:24px 40px;padding:24px 0;border-block:1px solid var(--line);margin:24px 0 32px;font-variant-numeric:tabular-nums}
.accounts-page .summary-metrics div{flex:1;min-width:135px}.accounts-page .summary-metrics dt{color:var(--muted);font-size:14px}.accounts-page .summary-metrics dd{margin:8px 0 0;font-size:28px;font-weight:600}
.accounts-page #home-summary section{padding:0;border:0;background:transparent;margin:0 0 32px}
.accounts-page #home-summary h2{font-size:20px}.accounts-page .dashboard-attention>p{max-width:70ch}
.accounts-page .attention-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}
.accounts-page .attention-row>div{min-width:0}.accounts-page .attention-row p{margin:6px 0}.accounts-page .attention-row strong,.accounts-page .attention-row small{overflow-wrap:anywhere}.accounts-page .attention-row button{flex-shrink:0;margin:0}
.accounts-page .availability-notice,.accounts-page #home-summary .availability-notice{background:#fbf6e9;border:1px solid #d5bf8a;padding:20px;color:#634719;margin:24px 0}
.accounts-page .availability-notice p{max-width:72ch}.accounts-page .availability-notice small{color:#634719}
.accounts-page .dashboard-bottom{display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--line);padding-top:12px}
.accounts-page .distribution-row{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:20px 0;font-size:14px;font-variant-numeric:tabular-nums}
.accounts-page meter{grid-column:1/-1;display:block;width:100%;height:10px;accent-color:var(--action)}
.accounts-page meter::-webkit-meter-bar{background:#e5eaf0;border:0;border-radius:0}.accounts-page meter::-webkit-meter-optimum-value{background:var(--action)}
.accounts-page .origin-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:12px 0;font-size:14px}.accounts-page .origin-row button{margin:0}
.accounts-page .summary-stamp{display:block;border-top:1px solid var(--line);padding-top:16px}
.accounts-page #attention-shortcut{margin:0;min-height:44px;font-size:13px;white-space:normal;max-width:180px}
.accounts-page .participant-tools{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:16px 0 24px;flex-wrap:wrap}.accounts-page .participant-tools label{margin:0;max-width:320px;flex:1}.accounts-page .participant-tools button{margin:0;background:#fff;color:var(--action)}
.accounts-page .work-label{display:block;color:var(--muted);font-size:14px;margin:8px 0}.accounts-page .needs-attention .work-label{color:#765015;font-weight:600}
.accounts-page .participant-row p{font-size:14px;margin:8px 0 0;max-width:64ch}.accounts-page .participant-row>div:empty{display:none}
.accounts-page .participant-settings{flex-basis:100%;background:var(--paper);padding:24px}.accounts-page .participant-settings h3{margin-top:0}.accounts-page .participant-settings p{max-width:70ch}
.accounts-page .activity-options{display:flex;flex-wrap:wrap;gap:12px}.accounts-page .activity-options button{margin:0}
@media(max-width:1000px){.accounts-page .dashboard-bottom{grid-template-columns:1fr;gap:0}.accounts-page .account-context{flex-wrap:wrap}}
@media(max-width:600px){.accounts-page .summary-heading,.accounts-page .attention-row{flex-direction:column;align-items:start;gap:12px}.accounts-page .summary-metrics{gap:20px}.accounts-page .summary-metrics div{min-width:120px}.accounts-page #attention-shortcut{max-width:none}.accounts-page .participant-row{align-items:start}.accounts-page .participant-row>div{flex-basis:100%}.accounts-page .participant-settings{padding:16px}.accounts-page .origin-row{flex-wrap:wrap}.accounts-page .participant-tools label{flex-basis:100%;max-width:none}}
@media(max-width:800px){.accounts-page header{flex-wrap:wrap;padding:16px 20px;gap:16px}.accounts-page .account-context{order:2;flex-basis:100%;flex-wrap:wrap;gap:12px}.accounts-page .account-context label{min-width:130px;max-width:none}.accounts-page #context-status{margin:0;flex-basis:100%;max-width:none}.accounts-page #logout{margin-left:auto}.accounts-page .account-shell.signed-in{display:block}.accounts-page .account-navigation{display:flex;flex-wrap:wrap;gap:4px;padding:12px 16px}.accounts-page .account-navigation button{width:auto;font-size:14px}.accounts-page .account-shell main{padding:28px 20px}.accounts-page .evaluation-row{flex-wrap:wrap;gap:12px}.accounts-page .evaluation-row>div{flex-basis:100%}.accounts-page .participant-row{gap:12px}.accounts-page h1{font-size:26px}.accounts-page .view-actions{gap:16px}}
