:root{--blue:#946a35;--navy:#201d19;--muted:#6f665b;--border:#e8e0d2;--surface:#f7f4ee}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.6 'Segoe UI',sans-serif;color:var(--navy);background:var(--surface)}a{color:var(--blue);text-decoration:none}button,input{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.4px;margin-bottom:8px}h3{font-size:22px;margin-bottom:6px}small{display:block;color:var(--muted);font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;margin-bottom:14px}.blue{color:var(--blue)}.brand{display:flex;align-items:center;gap:8px;font-weight:600;font-size:24px;color:var(--navy)}.brand img{width:112px;height:34px;object-fit:contain}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:#fff;border-right:1px solid var(--border);padding:30px 22px;display:flex;flex-direction:column}.nav-heading{font-size:10px;color:#94a3b8;letter-spacing:1.5px;margin:56px 12px 12px}.sidebar nav a{display:flex;justify-content:space-between;color:#5e6b83;padding:12px 14px;border-radius:8px;margin-bottom:5px}.sidebar nav a[aria-current="page"]{background:#f6efe2;color:var(--blue);font-weight:600}.sidebar-bottom{margin-top:auto;display:flex;gap:10px;align-items:center;font-size:12px}.avatar{display:grid;place-items:center;background:#f6efe2;color:var(--blue);width:34px;height:34px;border-radius:50%;font-weight:600}.sidebar-bottom form{margin-left:auto}.text-button{border:0;background:none;color:var(--muted);font-size:20px}.workspace{margin-left:220px;padding:24px 44px 32px;max-width:1700px}.dev-notice{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.7px;color:#65748d;margin-bottom:28px}.dev-notice>span:last-child{letter-spacing:0;margin-left:8px;font-size:11px}.dot{width:6px;height:6px;background:#ef9c22;border-radius:50%;flex-shrink:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:34px 0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:7px;padding:12px 20px;font-weight:600;border:1px solid transparent}.primary{background:var(--blue);color:#fff}.primary:hover{background:#79552d}.secondary{background:#fff;border-color:var(--border);color:var(--navy)}.full{width:100%}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--border);border-radius:12px;margin:32px 0 40px}.stats>div{padding:24px 28px;border-right:1px solid var(--border)}.stats>div:last-child{border:0}.stats span{color:var(--muted);font-size:12px}.stats strong{display:block;font-size:36px;line-height:1.4;font-weight:600}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading>.muted{font-size:12px}.node-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:32px}.node-card{display:block;background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;color:var(--navy)}.node-card:hover{border-color:#d9b778}.node-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.country-code{font-weight:700;font-size:12px;letter-spacing:1px;background:#f6efe2;padding:7px 10px;border-radius:5px}.badge{display:inline-block;font-size:11px;font-weight:600;background:#eff2f7;color:#65748b;padding:4px 9px;border-radius:5px;white-space:nowrap}.badge.good{background:#edf8f2;color:#23724c}.badge.pending{background:#fff7e9;color:#946114}.node-foot{display:flex;justify-content:space-between;border-top:1px solid #edf0f5;margin-top:24px;padding-top:15px;font-size:11px;color:var(--muted)}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:28px;margin-bottom:28px;scroll-margin-top:20px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8a97ab;font-weight:600;padding:12px 16px;border-bottom:1px solid var(--border)}td{padding:16px;border-bottom:1px solid #eff2f6;font-size:12px}td strong{font-size:13px;font-weight:600}tr:last-child td{border-bottom:0}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}.two-columns>.panel{min-width:0}label{display:block;font-size:12px;font-weight:600;margin:20px 0}input{display:block;width:100%;border:1px solid #e2d9c8;border-radius:6px;padding:12px 14px;background:white;color:var(--navy);margin-top:8px}input:focus{border-color:var(--blue);outline:2px solid #efe4cf}.danger-link{border:0;background:none;padding:0;font-size:11px;color:#a54343}.audit-row{padding:15px 0;border-bottom:1px solid #eff2f6;display:flex;gap:12px;align-items:center}.audit-row strong{font-size:12px;font-weight:600}.audit-dot{width:6px;height:6px;background:#d9b778;border-radius:50%}.empty{padding:24px;color:var(--muted);font-size:13px}.mono{font-family:Consolas,monospace}.page-footer{display:flex;justify-content:space-between;color:#8a97ab;font-size:11px;padding-top:12px}.notice,.error{padding:12px 18px;margin:16px 0;border-radius:7px;font-size:13px}.notice{background:#f6efe2;color:#79552d}.error{background:#fff0ef;color:#9c3939}.auth-workspace{max-width:1400px;margin:auto;padding:24px 48px}.login-grid{display:grid;grid-template-columns:1fr 1fr;min-height:650px;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;margin:36px auto}.login-story{background:#201d19;color:#fff;padding:42px 46px;display:flex;flex-direction:column}.light{color:#fff}.story-copy{margin:auto 0}.story-copy h1{font-size:48px;line-height:1.15;letter-spacing:-2px}.story-copy>p{color:#a9b7cd;max-width:350px;font-size:15px;line-height:1.8}.story-copy .eyebrow{color:#d9b778;font-size:10px}.location-chips{display:flex;gap:10px;margin-top:32px}.location-chips>span{border:1px solid #3b352d;color:#d9b778;padding:6px 12px;border-radius:5px;font-size:11px}.login-story>small{font-size:10px;color:#b3a591}.login-form{align-self:center;width:100%;max-width:400px;padding:42px;margin:0 auto}.login-form h2{font-size:32px;letter-spacing:-1px}.login-form>p{font-size:13px}.forgot{display:block;font-size:12px;text-align:right;margin:-4px 0 24px}.fine-print{color:#8b97aa;text-align:center;line-height:1.9;margin:26px 0 0;font-size:11px!important}.standalone{max-width:460px;background:#fff;border:1px solid var(--border);border-radius:14px;margin:70px auto;padding:36px}.standalone .brand{margin-bottom:34px}.standalone>a:last-child{display:block;font-size:12px;text-align:center;margin-top:24px}.standalone .secondary{margin-top:12px}@media(max-width:1100px){.workspace{padding:24px}.sidebar{width:190px}.workspace{margin-left:190px}.stats>div{padding:18px}.node-grid{gap:12px}.node-card{padding:18px}.two-columns{grid-template-columns:1fr}.auth-workspace{padding:16px}.login-story{padding:32px}.story-copy h1{font-size:40px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:16px;flex-direction:row;gap:20px;align-items:center}.sidebar nav{display:flex}.sidebar nav a:not(:first-child),.nav-heading,.sidebar-bottom{display:none}.workspace{margin:0;padding:18px}.page-header{display:block}.page-header>.primary{margin-top:12px}.stats{grid-template-columns:1fr 1fr}.node-grid{grid-template-columns:1fr}.login-grid{grid-template-columns:1fr;margin:16px auto}.login-story{min-height:210px}.story-copy h1{font-size:30px}.story-copy p,.location-chips,.login-story>small{display:none}.story-copy{margin:28px 0 0}.login-form{padding:30px}.page-footer,.dev-notice{flex-wrap:wrap}.dev-notice>span:last-child{display:none}}

.mfa-qr{display:flex;justify-content:center;background:#fff;margin:20px 0 8px}.mfa-qr svg{display:block;width:256px;max-width:100%;height:auto}.mfa-caption{text-align:center;font-size:13px}.mfa-manual{margin:20px 0;padding:16px;border:1px solid #e1e7f0;border-radius:10px}.mfa-manual summary{cursor:pointer;font-weight:600}.mfa-secret{display:block;overflow-wrap:anywhere;user-select:all;margin-top:12px}.standalone h2{font-size:17px;margin:24px 0 10px}

.password-field{margin-bottom:18px}.password-field>label{display:block;margin:0 0 6px}.password-control{position:relative}.password-control input{display:block;width:100%;margin:0;padding-right:54px}.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:36px;padding:0;border:0;border-radius:6px;background:transparent;color:#6f665b}.password-toggle:hover{background:#f6efe2;color:#946a35}.password-toggle:focus-visible{outline:2px solid #946a35;outline-offset:1px}.password-toggle[hidden],.password-toggle svg[hidden]{display:none}

@media(max-width:760px){.sidebar{flex-wrap:wrap}.sidebar nav{display:flex;width:100%;overflow-x:auto;gap:4px}.sidebar nav a:not(:first-child){display:flex}.sidebar nav a{flex-shrink:0;white-space:nowrap}}

.sidebar-brand img{width:174px;max-width:100%;height:auto;object-fit:contain}.badge.bad{background:#fdeceb;color:#a33a3a}.toggle-group{display:inline-flex;gap:8px}.toggle{border:1px solid var(--border);background:#fff;color:var(--navy);border-radius:7px;padding:9px 18px;font-weight:600}.toggle:disabled{cursor:default}.toggle.on-active{background:#1f9d62;border-color:#1f9d62;color:#fff}.toggle.on-inactive{background:#d64545;border-color:#d64545;color:#fff}
.role-form{display:inline-flex;gap:8px;align-items:center}.role-form select{border:1px solid #e2d9c8;border-radius:6px;padding:7px 10px;background:#fff;color:var(--navy)}.secondary.compact{padding:7px 14px}label select{display:block;width:100%;border:1px solid #e2d9c8;border-radius:6px;padding:12px 14px;background:#fff;color:var(--navy);margin-top:8px}
.brand img.wordmark{width:190px;height:auto}
