@charset "UTF-8";
:root{font-size:18px;font-family:var(--sdr-font,Arial,"Segoe UI",sans-serif);color:var(--sdr-text,#302532);background:var(--sdr-bg,#f6f4f4);--accent:var(--sdr-brand,#69445e);--line:var(--sdr-border,#d8cbd4);--muted:var(--sdr-muted,#635962)}*{box-sizing:border-box}body{margin:0;line-height:1.6}button,input{font:600 17px/1.5 var(--sdr-font,Arial,"Segoe UI",sans-serif)}a{color:var(--sdr-brand,#69445e);text-underline-offset:4px}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--sdr-focus,#69445e)}button{min-height:46px;border:1px solid var(--line);border-radius:10px;padding:10px 18px;background:var(--sdr-surface,#ffffff);color:var(--sdr-text,#302532);cursor:pointer}button:hover:not(:disabled){background:var(--sdr-soft,#f2edf1);border-style:dashed}button:disabled{opacity:1;cursor:not-allowed;border-style:dashed}form[aria-busy="true"] button:disabled{cursor:wait;border-style:dashed}.primary{background:var(--sdr-brand,#69445e);color:var(--sdr-on-brand,#ffffff);border-color:var(--sdr-brand,#69445e);font-weight:600}.primary:hover:not(:disabled){background:var(--sdr-brand-hover,#52354c)}.danger{border-color:var(--sdr-border,#d8cbd4);color:var(--sdr-danger,#933c43)}.auth-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;max-width:1020px;margin:auto;padding:24px}.brand img{width:150px;height:auto;display:block}.pilot{border:1px solid var(--line);border-radius:30px;padding:5px 12px;color:var(--muted);font-size:16px}main{max-width:590px;margin:24px auto;padding:0 20px}.auth-card{background:var(--sdr-surface,#ffffff);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 4px 16px #302b3106}h1{font-size:28px;line-height:1.3;margin:0 0 14px;font-weight:700}h2{font-size:22px;line-height:1.4;margin:0 0 12px;font-weight:700}p{margin:0 0 18px}.muted,.hint{color:var(--muted);font-size:16px}.field{font-size:var(--sdr-control-size,17px);line-height:var(--sdr-control-leading,1.5);display:block;margin-bottom:16px}.field>span{display:block;margin-bottom:0;font-weight:600}input:not([type=checkbox]){display:block;width:100%;min-width:0;min-height:48px;border:1px solid var(--sdr-border,#d8cbd4);border-radius:10px;background:var(--sdr-surface,#ffffff);color:var(--sdr-text,#302532);padding:10px 12px}input[type=email],input[type=password],input[data-password]{direction:ltr;text-align:left}.field>.password-row{display:flex;gap:8px;align-items:stretch}.password-row input{flex:1;width:0}.password-toggle{flex:0 0 auto;min-width:70px;padding:8px 12px}.check{min-block-size:44px;display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:17px}.check input{margin:6px 0 0;flex:0 0 18px;width:18px;height:18px;accent-color:var(--sdr-brand,#69445e)}.check span{min-width:0}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0 0}.actions .primary{flex:1}.links{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.notice{margin:18px 0 0;overflow-wrap:anywhere}.notice:empty{display:none}.notice.error{background:var(--sdr-danger-bg,#fff2f2);border:1px solid var(--sdr-border,#d8cbd4);color:var(--sdr-danger,#933c43);border-radius:8px;padding:12px}.notice.success{background:var(--sdr-success-bg,#e8f2ec);border:1px solid var(--sdr-border,#d8cbd4);color:var(--sdr-success,#245b45);border-radius:8px;padding:12px}.notice.info{background:var(--sdr-soft,#f2edf1);border:1px solid var(--line);border-radius:8px;padding:12px}.account-section{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.account-data{margin:0 0 20px;overflow-wrap:anywhere}.account-data dt{font-weight:600}.account-data dd{margin:0 0 12px}.account-data bdi{direction:ltr}.account-section summary{cursor:pointer;min-height:44px;display:list-item;font-size:17px;font-weight:600}.account-section details[open] summary{margin-bottom:16px}.account-section form{margin-top:12px}footer{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;padding:24px;font-size:16px}noscript p{max-width:550px;margin:auto}.wide{width:100%}[hidden]{display:none!important}@media(max-width:480px){.auth-header{padding:18px 20px}.brand img{width:126px}.pilot{font-size:16px}main{margin-top:10px;padding:0 14px}.auth-card{padding:24px;border-radius:14px}h1{font-size:24px;font-weight:700}.password-toggle{min-width:62px;padding:8px}.actions{align-items:stretch}.actions button{flex:1}.auth-card .links{gap:8px}footer{padding:24px 14px}.check{font-size:17px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s}}

/* Account administration only. */
.admin-page main{max-width:1060px}.admin-page .auth-card{padding:24px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.admin-tabs button[aria-pressed=true]{background:var(--sdr-brand,#69445e);color:var(--sdr-on-brand,#ffffff)}.admin-grid{display:grid;gap:14px}.admin-user{border:1px solid var(--line);border-radius:10px;padding:18px;min-width:0;overflow-wrap:anywhere}.admin-user h2{font-size:22px;line-height:1.4;margin:0 0 8px;font-weight:700}.admin-user dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0}.admin-user dt{color:var(--muted)}.admin-user dd{margin:0;overflow-wrap:anywhere}.admin-user .actions{margin-top:14px}.admin-user bdi{direction:ltr}.admin-search{max-width:500px}.admin-empty{border:1px dashed var(--line);border-radius:10px;padding:18px}.admin-stepup{max-width:520px}.admin-page .load-more{display:block;margin:20px auto 0}.admin-summary{font-size:17px;color:var(--muted)}@media(max-width:480px){.admin-page .auth-card{padding:24px}.admin-user{padding:14px}.admin-user dl{grid-template-columns:1fr;gap:0}.admin-user dd{margin-bottom:10px}.admin-user .actions button{flex:1 1 100%}}

/* Account entry choices: existing account and new registration. */
.auth-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 26px}.auth-choices a{display:flex;align-items:center;justify-content:center;min-height:54px;border:1px solid var(--sdr-border,#d8cbd4);border-radius:10px;padding:12px 10px;text-align:center;text-decoration:none;font-size:17px;font-weight:600;background:var(--sdr-surface,#ffffff);color:var(--sdr-brand,#69445e);overflow-wrap:anywhere}.auth-choices a[aria-current=page]{background:var(--sdr-brand,#69445e);border-color:var(--sdr-border,#d8cbd4);color:var(--sdr-on-brand,#ffffff)}.auth-choices a:hover{background:var(--sdr-soft,#f2edf1);color:var(--sdr-text,#302532)}

/* TEST auth/account logo centering; retain the two-item admin header layout. */
.auth-header{justify-content:center}
.admin-page .auth-header{justify-content:space-between}

/* Account/login module role mapping. Shared tokens are loaded by the PM. */
body{font-size:18px}
.account-module-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px;text-align:start}
.account-module-heading>div{min-width:0;flex:1}
.account-heading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}
.account-heading-actions a{display:inline-flex;align-items:center;min-height:44px;font-size:17px;line-height:1.5}
.account-module-heading h1{margin-bottom:8px;font-weight:700}
.account-module-heading .sdr-body{margin:0}
.field>span{font-size:17px;line-height:1.5}
.account-data{font-size:16px;line-height:1.6}
.account-section details{width:100%;text-align:start}
.account-section details>summary{font-size:17px;line-height:1.5}
.account-section details>p,.account-section details>form{font-size:16px;line-height:1.6}
select,textarea{font-family:inherit;font-size:17px;line-height:1.5;min-height:44px}
summary:focus-visible{outline:3px solid var(--sdr-focus,#69445e);outline-offset:3px}
@media(max-width:650px){.account-module-heading{flex-wrap:wrap}.account-heading-actions{width:100%}}

/* Auth navigation uses shared button/footer primitives; these only anchor module layout. */
.auth-navigation-footer{max-inline-size:1020px;margin-inline:auto}

.auth-header>.brand{display:inline-flex;align-items:center;min-inline-size:44px;min-block-size:44px}
/* One TEST note presentation for auth, account and admin; no authorization role. */
.test-environment-notice{padding:8px 16px;text-align:center;font:400 16px/1.6 var(--sdr-font,Arial,"Segoe UI",sans-serif);background:var(--sdr-warning-bg,#fff7e7);color:var(--sdr-warning,#75551d);overflow-wrap:anywhere}

/* Standalone account headers: canonical slogan and existing version.js badge. */
.auth-header .auth-brand{inline-size:264px;max-inline-size:100%;min-inline-size:0}
.auth-header .auth-brand-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 8px;min-inline-size:0;max-inline-size:100%}
.auth-header .auth-brand-row .brand{display:inline-flex;align-items:center;justify-content:center;min-block-size:44px;flex:0 0 auto}
.auth-header .auth-brand-version{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;max-inline-size:100%;padding:2px 6px;border:1px solid var(--sdr-border,#d8cbd4);border-radius:8px;background:var(--sdr-soft,#f2edf1);color:var(--sdr-muted,#635962);font:400 16px/1.5 var(--sdr-font,Arial,"Segoe UI",sans-serif);white-space:nowrap}
.auth-header .auth-brand-version:empty{display:none}
.auth-header .auth-brand-tagline{margin:6px 0 0;max-inline-size:100%;font:400 18px/1.45 var(--sdr-font,Arial,"Segoe UI",sans-serif);color:var(--sdr-text,#302532);direction:rtl;text-align:center;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance}
@media(max-width:480px){.auth-header .auth-brand-row{flex-direction:column}.auth-header .auth-brand-tagline{font-size:17px}}

/* QA L-4: auth prose uses the main readable text size; form/control roles stay separate. */
.auth-entry .auth-card .hint,.auth-entry .auth-card .sdr-body{font-size:18px;color:var(--sdr-text,#302532)}

/* Intermediate QA17:33: native action buttons visibly distinguish waiting from ready. */
.auth-entry .auth-card button.sdr-button:disabled{background:var(--sdr-soft,#f2edf1);color:var(--sdr-muted,#635962);border-color:var(--sdr-border,#d8cbd4);border-style:dashed;opacity:1;cursor:not-allowed}
