:root{--ink:#19211f;--muted:#67716d;--line:#dce2dc;--paper:#f6f7f2;--white:#fff;--green:#315d4c;--green-light:#e7eee9;--danger:#a84242;--radius:12px;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;min-height:100dvh}a{color:inherit;text-decoration:none}button,input{font:inherit}.page-shell{max-width:1240px;min-height:100dvh;margin:auto;padding:0 42px;display:flex;flex-direction:column}.site-header{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:12px;font-size:18px;letter-spacing:-.04em}.brand strong{color:var(--green);font-weight:650}.brand-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--ink);color:#fff;font-weight:700;font-size:20px;line-height:1}.site-header nav{display:flex;align-items:center;gap:24px;color:#4c5752;font-size:13px}.site-header nav a:hover,.quiet-link:hover,.form-switch a:hover{text-decoration:underline}.inline-form{margin:0}.nav-button{background:none;border:0;padding:0;color:inherit;cursor:pointer}.site-footer{margin-top:auto;border-top:1px solid var(--line);padding:24px 0 32px;display:flex;justify-content:space-between;gap:20px;color:#8a938d;font-size:11px}.site-footer span:last-child{text-align:right}.eyebrow,.panel-index,.stat-label,.module-heading,.small-label{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--green)}h1,h2,p{margin-top:0}h1{font-size:clamp(44px,5.4vw,78px);line-height:1.02;letter-spacing:-.065em;font-weight:610;margin-bottom:24px}h2{font-size:28px;letter-spacing:-.045em;font-weight:620}.lead{font-size:17px;line-height:1.65;color:var(--muted);max-width:520px}.muted{color:var(--muted);line-height:1.6;font-size:14px}.auth-layout{flex:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.85fr);gap:10vw;align-items:center;padding:92px 0 120px}.auth-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.auth-intro h1{max-width:660px}.aside-rule{max-width:510px;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-top:18px;margin-top:62px;font-size:12px;color:var(--muted)}.aside-rule span:first-child{color:var(--ink);font-weight:700}.form-panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:34px 38px 32px;box-shadow:0 24px 80px rgba(30,49,39,.045)}.panel-top,.module-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:36px}.status-dot{font-size:11px;color:var(--green);font-weight:700;letter-spacing:.1em}.status-dot:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#68a685;margin-right:8px}.form-panel h2{margin-bottom:8px}.form-panel .muted{margin-bottom:30px}.form-panel form{display:flex;flex-direction:column}.form-panel label,.compact-form label{font-size:12px;font-weight:650;margin:0 0 9px}.form-panel input,.compact-form input{height:48px;border:1px solid #cdd5cf;border-radius:7px;background:#fff;padding:0 14px;color:var(--ink);outline:none;margin-bottom:22px}.form-panel input:focus,.compact-form input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(49,93,76,.1)}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:34px;background:#fff;border:1px solid var(--line);color:var(--ink);border-radius:7px;padding:0 18px;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:#244b3b}.button.full{width:100%;justify-content:space-between;margin-top:2px}.button.disabled{cursor:default;color:#8a938d}.form-switch{font-size:12px;color:var(--muted);margin:26px 0 0}.form-switch a{color:var(--green);font-weight:700}.form-error{border-left:3px solid var(--danger);background:#fff5f3;padding:11px 13px;color:var(--danger);font-size:13px}.dashboard-head{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:82px 0 72px}.dashboard-head h1{margin-bottom:12px}.dashboard-head .lead{margin:0}.large-status{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.1em;font-weight:700;color:var(--green);white-space:nowrap;margin-bottom:10px}.large-status i{display:block;width:8px;height:8px;border-radius:50%;background:#5baf7f}.dashboard-grid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.stat-block{padding:30px 30px 36px 0}.stat-block+ .stat-block{border-left:1px solid var(--line);padding-left:42px}.stat-label{margin-bottom:27px}.stat-value{font-size:38px;letter-spacing:-.055em;margin-bottom:10px}.stat-value.linked{color:var(--green)}.stat-value.unlinked{color:#8f8e7c}.stat-block .muted{margin:0}.download-section{margin:46px 0 36px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:36px 38px;display:flex;justify-content:space-between;align-items:center;gap:30px}.download-section h2{margin-bottom:9px}.download-section .muted{margin:0;max-width:520px}.privacy-note{max-width:800px;color:#828b85;font-size:12px;line-height:1.7;margin-bottom:88px}.quiet-link{font-size:13px;color:var(--green)}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.admin-module{border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:var(--white)}.admin-module h2{margin:0 0 8px}.admin-module .muted{min-height:50px;margin-bottom:25px}.module-heading{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:24px}.compact-form{display:flex;align-items:end;gap:12px}.compact-form label{display:none}.compact-form input{width:105px;margin:0}.upload-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.upload-form input[type=file]{font-size:12px;max-width:220px}.issued-keys{background:var(--green-light);padding:18px;margin-top:24px;border-radius:8px;font-size:12px}.issued-keys code{display:block;margin-top:10px;overflow-wrap:anywhere}.table-section{margin-top:55px}.section-title{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;gap:18px}.section-title h2{margin:0}.section-title span{color:var(--muted);font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.11em;font-weight:700}th,td{border-bottom:1px solid var(--line);padding:16px 12px 16px 0;vertical-align:middle}.small-label{display:inline-block;margin-left:10px;background:var(--green-light);padding:4px 6px;border-radius:4px;font-size:9px}.row-actions{display:flex;gap:14px;flex-wrap:wrap}.row-actions button{border:0;background:none;padding:0;color:var(--green);font-size:12px;cursor:pointer}.row-actions button:hover{text-decoration:underline}.empty-cell{color:var(--muted);padding:25px 0}.admin-grid+.table-section{margin-top:58px}.table-section:last-child{margin-bottom:90px}@media(max-width:800px){.page-shell{padding:0 20px}.site-header{height:70px}.site-header nav{gap:12px}.auth-layout{grid-template-columns:1fr;gap:35px;padding:66px 0}.auth-intro h1{font-size:52px}.aside-rule{margin-top:24px}.form-panel{padding:26px}.dashboard-head{padding:55px 0 45px;align-items:start;flex-direction:column}.dashboard-grid{grid-template-columns:1fr}.stat-block+ .stat-block{border-left:0;border-top:1px solid var(--line);padding-left:0}.download-section{align-items:start;flex-direction:column;padding:25px}.admin-grid{grid-template-columns:1fr}.site-footer{flex-direction:column}.site-footer span:last-child{text-align:left}}@media(prefers-reduced-motion:no-preference){.button,.form-panel input{transition:background .15s,border-color .15s,box-shadow .15s}}@media(max-width:420px){.brand{font-size:15px}.brand-symbol{width:28px;height:28px;font-size:17px}.site-header nav{font-size:11px}.auth-intro h1{font-size:44px}.form-panel{padding:22px}.compact-form{flex-wrap:wrap}}
/* Dark beta portal */
:root{--ink:#f2f4f1;--muted:#a4ada7;--line:#303936;--paper:#090d0c;--white:#141a18;--green:#9ad2ae;--green-light:#1c3025;--danger:#e99797;color-scheme:dark}
body{background:var(--paper)}
.brand-symbol{background:#d5efdc;color:#0b1c12}
.site-header nav{color:#c4d0c8}
.site-footer{color:#858f89}
.aside-rule{color:#9aa49d}
.form-panel{box-shadow:0 24px 80px rgba(0,0,0,.25)}
.form-panel input,.compact-form input{background:#0c110f;color:var(--ink);border-color:#3b4841}
.form-panel input::placeholder{color:#77857c}
.form-panel input:focus,.compact-form input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(154,210,174,.14)}
.button{background:#1a221e;color:var(--ink);border-color:#3b4841}
.button.primary{background:var(--green);border-color:var(--green);color:#101b13}
.button.primary:hover{background:#b5e1c1}
.button.disabled{color:#819087}
.form-error{background:#332021;color:#ffb8b8}
.issued-keys{background:var(--green-light)}
.large-status i{background:#8eda9e}
.profile-heading{display:flex;align-items:center;gap:25px}
.profile-heading h1{margin-bottom:12px}
.profile-avatar{display:block;flex:none;width:92px;height:92px;object-fit:cover;object-position:50% 30%;border-radius:20px;border:1px solid #39463e;background:#1c241e;box-shadow:0 10px 35px rgba(0,0,0,.28)}
@media(max-width:600px){.profile-heading{align-items:flex-start;gap:15px}.profile-avatar{width:62px;height:62px;border-radius:14px}.profile-heading h1{font-size:clamp(36px,9vw,52px)}}

.profile-heading h1{overflow-wrap:anywhere}
