:root{--navy:#1c3563;--navy-2:#14284d;--ink:#1d2d46;--muted:#5b6c8c;--line:#d8dfeb;--bg:#f5f7fb;--card:#fff;--teal:#1c3563;--teal-bright:#f99c25;--teal-soft:#eef2f8;--red:#b42318;--red-soft:#fff1f0;--shadow:0 16px 45px rgba(28,53,99,.1);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px}
*{box-sizing:border-box}
body{margin:0;min-width:320px;background:radial-gradient(circle at 85% -10%,rgba(28,53,99,.12),transparent 28rem),var(--bg);min-height:100vh}
.shell{min-height:100vh;display:flex;flex-direction:column}
.topbar{height:76px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid var(--teal-bright);background:rgba(28,53,99,.98);backdrop-filter:blur(12px)}
.brand{display:flex;align-items:center;gap:12px;color:var(--navy);text-decoration:none}
.brand-logo{display:block;width:clamp(180px,18vw,230px);height:auto}
.brand-portal{padding-left:12px;border-left:1px solid rgba(255,255,255,.35);color:#fff;font-size:.82rem;font-weight:700;letter-spacing:.03em;white-space:nowrap}
.account-area{display:flex;align-items:center;gap:16px}
.account-copy{display:grid;text-align:right}
.account-copy strong{font-size:.875rem;color:#fff}
.account-copy span{font-size:.75rem;color:#d9e1ef;margin-top:3px}
.topbar .quiet-button{color:#fff;background:transparent;border-color:rgba(255,255,255,.45)}
.topbar .quiet-button:hover{background:rgba(255,255,255,.1);border-color:#fff}
main{width:min(1180px,calc(100% - 40px));margin:0 auto;flex:1;padding:54px 0 70px}
.center-card{max-width:520px;margin:7vh auto 0}
.status-card{text-align:center;color:var(--muted)}
.spinner{width:22px;height:22px;display:inline-block;border:3px solid #d7e2e8;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}
}
.sign-in-card{padding:48px;background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);text-align:center}
.shield{width:76px;height:76px;margin:0 auto 24px;background:var(--navy);border-radius:22px;display:grid;place-items:center;transform:rotate(-2deg)}
.shield svg{width:50px;fill:var(--teal-bright)}
.shield svg path+path{fill:#fff}
.eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:800;color:var(--teal)}
h1,h2,p{margin-top:0}
h1{font-size:clamp(2rem,4vw,3rem);line-height:1.05;letter-spacing:-.035em;color:var(--navy);margin-bottom:14px}
h2{font-size:1.4rem;letter-spacing:-.02em;color:var(--navy);margin-bottom:10px}
.lead{color:var(--muted);line-height:1.65;margin-bottom:28px}
.primary-button,.quiet-button{border:0;font:inherit;font-weight:750;cursor:pointer;border-radius:11px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.primary-button{min-height:50px;padding:0 22px;background:var(--teal);color:#fff;box-shadow:0 8px 20px rgba(28,53,99,.2)}
.primary-button:hover{background:var(--navy-2)}
.primary-button:focus-visible,.quiet-button:focus-visible,input:focus-visible,.tab:focus-visible{outline:3px solid rgba(249,156,37,.38);outline-offset:2px}
.primary-button:disabled{opacity:.55;cursor:not-allowed}
.microsoft-button{width:100%}
.ms-grid{display:grid;grid-template-columns:repeat(2,8px);gap:2px}
.ms-grid i{width:8px;height:8px;background:#f35325}
.ms-grid i:nth-child(2){background:#81bc06}
.ms-grid i:nth-child(3){background:#05a6f0}
.ms-grid i:nth-child(4){background:#ffba08}
.fine-print{font-size:.8rem;line-height:1.5;color:var(--muted);margin:20px 0 0}
.quiet-button{padding:9px 14px;background:#fff;border:1px solid var(--line);color:var(--navy)}
.quiet-button:hover{border-color:#afc0ca;background:#f8fafb}
.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px}
.page-heading h1{font-size:clamp(2rem,4vw,2.8rem);margin:0}
.secure-pill{font-size:.8rem;font-weight:700;color:var(--teal);background:var(--teal-soft);padding:9px 12px;border-radius:999px}
.secure-pill i{width:7px;height:7px;border-radius:50%;background:var(--teal-bright);display:inline-block;margin-right:6px}
.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:24px}
.tab{appearance:none;border:0;background:none;padding:13px 16px;color:var(--muted);font:inherit;font-size:.9rem;font-weight:750;cursor:pointer;border-bottom:3px solid transparent}
.tab.active{color:var(--navy);border-bottom-color:var(--teal)}
.panel-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.8fr);gap:24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:19px;box-shadow:0 8px 28px rgba(16,42,67,.055)}
.reset-card{padding:34px 38px}
.card-icon{width:46px;height:46px;border-radius:13px;background:var(--teal-soft);display:grid;place-items:center;margin-bottom:18px}
.card-icon svg{width:24px;height:24px;fill:none;stroke:var(--teal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card-heading{border-bottom:1px solid var(--line);margin-bottom:26px}
.card-heading p:last-child{color:var(--muted);line-height:1.55;margin-bottom:24px}
form label{font-size:.875rem;font-weight:750;display:block;margin:17px 0 8px}
.password-field{position:relative}
.password-field input{padding-right:63px}
.show-password{position:absolute;right:7px;top:7px;height:34px;border:0;background:transparent;color:var(--teal);font-weight:750;cursor:pointer}
input{width:100%;height:48px;border:1px solid #bdcbd4;border-radius:10px;padding:0 13px;font:inherit;color:var(--ink);background:#fff}
input:focus{border-color:var(--teal)}
.strength-row{display:flex;justify-content:space-between;font-size:.78rem;color:var(--muted);margin-top:16px}
.strength-row strong{color:var(--ink)}
.strength-track{height:5px;background:#e6edf1;border-radius:999px;margin:7px 0 14px;overflow:hidden}
.strength-track i{display:block;height:100%;width:0;background:var(--red);transition:.2s}
.requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding:0;margin:0 0 24px;list-style:none;font-size:.8rem;color:var(--muted)}
.requirements li:before{content:'○';margin-right:7px;color:#93a6b3}
.requirements li.met{color:var(--teal)}
.requirements li.met:before{content:'✓';font-weight:800;color:var(--teal)}
.reset-card .primary-button{width:100%}
.form-message{border-radius:10px;padding:12px 14px;margin:0 0 16px;font-size:.86rem;line-height:1.45;background:var(--red-soft);color:var(--red)}
.form-message.success{background:var(--teal-soft);color:var(--navy)}
.info-card{padding:32px;background:linear-gradient(155deg,#102a43,#173e5f);color:#fff;border:0}
.info-card .card-icon{background:rgba(255,255,255,.1)}
.info-card .card-icon svg{stroke:var(--teal-bright)}
.info-card h2{color:#fff}
.steps{list-style:none;padding:0;margin:25px 0}
.steps li{display:flex;gap:13px;position:relative;padding-bottom:22px}
.steps li:not(:last-child):after{content:'';position:absolute;left:14px;top:31px;width:1px;height:28px;background:rgba(255,255,255,.18)}
.steps li>span{width:29px;height:29px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:rgba(249,156,37,.16);color:#ffc067;font-weight:800;font-size:.8rem}
.steps strong{font-size:.9rem}
.steps p{font-size:.8rem;color:#bbcad5;line-height:1.45;margin:4px 0 0}
.note{margin:0;padding:14px;border-left:3px solid var(--teal-bright);background:rgba(255,255,255,.06);font-size:.78rem;line-height:1.55;color:#d7e1e8}
.directory-card{width:min(1640px,calc(100vw - 32px));margin-left:50%;transform:translateX(-50%);overflow:hidden}
.directory-heading{padding:27px 30px 23px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}
.directory-heading h2{margin-bottom:5px}
.directory-heading p:last-child{margin:0;color:var(--muted);font-size:.9rem}
.directory-actions{display:flex;gap:9px;align-items:center}
.search input{width:230px;height:40px;background:#f7f9fa}
.table-wrap{overflow-x:auto;min-height:220px}
table{width:100%;border-collapse:collapse;min-width:850px}
th,td{text-align:left;padding:15px 18px;border-bottom:1px solid #e8eef1}
th{background:#f7f9fa;color:#667986;font-size:.73rem;text-transform:uppercase;letter-spacing:.055em;white-space:nowrap}
td{font-size:.86rem}
.user-cell{display:flex;align-items:center;gap:11px}
.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e7eef3;color:var(--navy);font-weight:800;font-size:.75rem}
.user-cell div{display:grid}
.user-cell strong{font-size:.86rem}
.user-cell span{font-size:.75rem;color:var(--muted);margin-top:3px}
.number-col,.check-col{text-align:center}
.check{display:inline-grid;width:23px;height:23px;place-items:center;border-radius:50%;font-size:.75rem;font-weight:900}
.check.yes{background:var(--teal-soft);color:var(--teal)}
.check.no{background:#f0f3f5;color:#8b9aa4}
.table-loading,.empty-state{text-align:center;padding:55px;color:var(--muted);font-size:.9rem}
.table-loading .spinner{width:17px;height:17px;vertical-align:middle;margin-right:8px}
.table-footer{min-height:58px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:.8rem}
.directory-card>.form-message{margin:16px 18px 0}
.success-check{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:var(--teal-soft);color:var(--teal);font-size:2rem;font-weight:900}
footer{height:60px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;color:#7b8d99;font-size:.75rem;border-top:1px solid rgba(16,42,67,.08)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
@media(max-width:850px){main{padding-top:35px}
.panel-grid{grid-template-columns:1fr}
.page-heading{align-items:flex-start}
.directory-heading{align-items:stretch;flex-direction:column}
.directory-actions{width:100%}
.search{flex:1}
.search input{width:100%}
}
@media(max-width:600px){.topbar{height:68px}
.brand-logo{width:170px}.brand-portal{display:none}
.account-copy{display:none}
main{width:min(100% - 24px,1180px);padding:26px 0 45px}
.sign-in-card,.reset-card,.info-card{padding:27px 22px;border-radius:16px}
.sign-in-card{margin-top:3vh}
.page-heading{display:block}
.secure-pill{display:inline-block;margin-top:15px}
.requirements{grid-template-columns:1fr}
.directory-actions{align-items:stretch;flex-direction:column}
.tabs{overflow:auto}
.account-area{gap:7px}
footer{padding:0 16px}
footer span:last-child{display:none}
}

/* Directory controls, live lookup, and administrator reset dialog */
.directory-tools{padding:17px 30px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;background:#fbfcfd;border-bottom:1px solid var(--line)}
.filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.filters label,.live-lookup>label{display:grid;gap:6px;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:var(--muted)}
select{min-width:118px;height:39px;border:1px solid #bdcbd4;border-radius:9px;background:#fff;padding:0 28px 0 10px;color:var(--ink);font:inherit;font-size:.82rem}
.text-button{border:0;background:none;color:var(--teal);font:inherit;font-size:.8rem;font-weight:750;cursor:pointer;padding:10px 4px}
.live-lookup{min-width:320px}.live-lookup>div{display:flex;gap:8px}.live-lookup input{height:39px;min-width:210px}
.compact-button{min-height:39px;height:39px;padding:0 14px;font-size:.82rem;white-space:nowrap}
.live-result{margin:16px 18px 0;padding:14px 16px;border:1px solid #b9c7df;border-radius:12px;background:var(--teal-soft);display:flex;align-items:center;justify-content:space-between;gap:15px}
.live-result p{margin:3px 0 0;color:var(--muted);font-size:.8rem}.live-badges{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.live-badge{padding:6px 9px;border-radius:7px;background:#fff;font-size:.75rem;font-weight:750;color:var(--navy)}
table{min-width:1300px}.sort-button{appearance:none;border:0;background:none;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;font-weight:800;cursor:pointer;padding:0}.sort-button span{font-size:.68rem;color:#93a5b1;margin-left:3px}.sort-button:hover{color:var(--navy)}
.row-action{padding:7px 10px;font-size:.75rem}
.reset-dialog{width:min(500px,calc(100% - 28px));border:0;border-radius:20px;padding:34px;box-shadow:0 30px 90px rgba(16,42,67,.28);color:var(--ink)}
.reset-dialog::backdrop{background:rgba(8,29,45,.62);backdrop-filter:blur(3px)}.reset-dialog>form{position:absolute;right:18px;top:14px}.dialog-close{border:0;background:none;color:var(--muted);font-size:1.7rem;cursor:pointer}.dialog-user{padding:12px 14px;background:#f3f7f9;border-radius:10px;color:var(--navy);font-weight:750}.reset-dialog>div>p:not(.eyebrow):not(.dialog-user){color:var(--muted);line-height:1.55}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.temporary-password{display:flex;align-items:center;gap:10px;background:#f3f7f9;border:1px dashed #9db1bd;border-radius:12px;padding:13px}.temporary-password code{font-size:1.25rem;letter-spacing:.04em;font-weight:800;color:var(--navy);flex:1;overflow-wrap:anywhere}
@media(max-width:950px){.directory-tools{align-items:stretch;flex-direction:column}.live-lookup{min-width:0;width:100%}.live-lookup>div{width:100%}.live-lookup input{min-width:0;flex:1}}
@media(max-width:600px){.directory-tools{padding:16px}.filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.filters select{width:100%}.live-lookup>div{flex-direction:column}.reset-dialog{padding:28px 20px}}
