:root {--ink:#25354a; --accent:#315b8c;--muted:#64748b;--light:#f5f7fa}
body {font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;color:var(--ink)}
.topbar {background:#26364a;color:#fff;height:64px;display:flex;align-items:center;padding:0 26px;gap:20px}
.brand,.brand:hover,.login-brand,.login-brand:hover {text-decoration:none;color:#fff;font-weight:800;font-size:19px;letter-spacing:-.65px}.brand span,.login-brand span{color:#f2765e}
.brand-sub{opacity:.68;font-size:12px;border-left:1px solid #65758a;padding-left:18px}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:13px}.topbar-right form{margin:0}
.shell{display:flex;min-height:calc(100vh - 64px)}.side{width:224px;flex-shrink:0;background:#30435a;padding:24px 15px;color:#c5d0da}
.side-label{display:block;color:#9eafc2;font-weight:700;font-size:10px;letter-spacing:1.2px;padding:9px 12px 13px}
.navlink,.navlink:hover{display:block;color:#e4eaf2;text-decoration:none;border-radius:8px;padding:11px 14px;margin:2px 0;font-weight:550}.navlink:hover,.navlink.selected{background:#425b79;color:#fff}.nav-future{display:block;opacity:.45;padding:10px 14px}
.main{flex:1;min-width:0;max-width:1480px;padding:31px 38px}.heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:26px}.heading h1{font-size:25px;font-weight:740;margin:0;color:#25354a}
.card{border:1px solid #e1e6ed;border-radius:12px;box-shadow:none}.card-header{background:#fff;border-bottom:1px solid #edf1f5;padding:16px 20px}.card-body{padding:20px}.metric{font-size:30px;font-weight:760;line-height:1.2}.metric-label{font-size:12px;color:#677688}
.table{--bs-table-bg:transparent}.table thead th{font-size:11px;letter-spacing:.3px;text-transform:uppercase;color:#63758c;font-weight:750;border-bottom-color:#e9edf2}.table td{vertical-align:middle}
.badge{font-size:.84em;font-weight:600;padding:.43em .66em}.help{font-size:12px;color:#66788e}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.empty{padding:32px;text-align:center;color:#77869b}
.footer{margin:32px 0 0;padding:20px 0;color:#95a0af;font-size:11px;border-top:1px solid #e5eaf0}
.btn-primary{background:var(--accent);border-color:var(--accent)}.btn-primary:hover{background:#25456b;border-color:#25456b}
.guest{background:#f2f5f8;min-height:100vh;display:grid;place-items:center}.login-wrap{width:min(440px,calc(100vw - 30px));margin:40px auto}.login-brand{display:block;color:#26364a;font-size:27px;margin-bottom:26px;text-align:center}.login-panel{border:1px solid #e4e8ed;border-radius:16px;background:#fff;padding:30px;box-shadow:0 7px 35px #1a355b0b}.login-panel h1{font-size:22px;font-weight:740;margin:0 0 24px}.login-foot{text-align:center;color:#95a0af;font-size:12px;margin-top:18px}
pre.snippet{background:#f4f6f9;border:1px solid #e1e6ee;border-radius:9px;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
@media(max-width:850px){.side{width:160px}.main{padding:22px 18px}.brand-sub{display:none}}
@media(max-width:600px){.shell{display:block}.side{width:auto;display:flex;padding:8px;overflow:auto;gap:2px}.side-label,.nav-future{display:none}.navlink{white-space:nowrap;font-size:12px;margin:0;padding:10px}.main{padding:18px 12px}.topbar{height:55px;padding:0 12px}.topbar-right span{display:none}.heading h1{font-size:21px}}

/* Central Admin 0.1.1: private, browser-rendered TOTP setup QR. */
.totp-qr-wrap{display:flex;justify-content:center;margin:8px auto 12px}
.totp-qr{width:236px;min-height:236px;background:#fff;border:1px solid #e1e6ed;border-radius:10px;display:grid;place-items:center;padding:8px}
.totp-qr svg{width:100%;height:auto;display:block;image-rendering:pixelated}
@media(max-width:400px){.totp-qr{width:210px;min-height:210px}}

/* v0.1.3 – shared visual identity with the hyttebooking.dk backend. */
:root {--hb-ink:#2b2d31;--hb-blue:#315b8c;--hb-coral:#f2765e;--hb-cream:#f5ebdd;--hb-brown:#413333;--hb-line:#e1e4e8;--hb-muted:#747980;--hb-canvas:#f7f8fa;--hb-sidebar:#28313d}
body.hb-admin-body{font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--hb-canvas);color:var(--hb-ink);font-size:14px}
.hb-app{min-height:100vh;display:flex;align-items:stretch}
.hb-sidebar{background:var(--hb-sidebar);color:#e5e8ed;flex:0 0 244px;width:244px;min-height:100vh;display:flex;flex-direction:column}
.hb-sidebar-brand{height:76px;display:flex;align-items:center;justify-content:center;padding:16px 23px;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.075)}
.hb-sidebar-brand img{width:100%;max-width:194px;height:auto;display:block}
.hb-sidebar-division{font-size:10px;letter-spacing:1.15px;color:#8996a6;font-weight:700;margin:25px 17px 10px}
.hb-side-nav{padding:0 10px;display:grid;gap:3px}
.hb-nav-item,.hb-nav-item:focus,.hb-nav-item:hover{display:flex;align-items:center;gap:12px;color:#d5dce4;text-decoration:none;font-size:13.5px;font-weight:550;min-height:43px;padding:10px 13px;border-radius:8px}
.hb-nav-item:hover{background:#374354;color:#fff}
.hb-nav-item.is-active{background:#3b4d63;color:#fff;box-shadow:inset 3px 0 0 var(--hb-coral)}
.hb-menu-icon{width:18px;height:18px;flex:0 0 18px;opacity:.9}
.hb-nav-future-label{margin-top:27px}
.hb-nav-future{display:flex;align-items:center;gap:12px;padding:10px 23px;color:#7c8b9b;font-size:13px;cursor:default}
.hb-sidebar-foot{margin-top:auto;padding:24px 21px;color:#94a2b1;font-size:11px;border-top:1px solid rgba(255,255,255,.07)}
.hb-sidebar-foot span{float:right;color:#c3cdd7}
.hb-content-frame{flex:1;display:flex;flex-direction:column;min-width:0}
.hb-topbar{height:68px;min-height:68px;background:#fff;border-bottom:1px solid var(--hb-line);display:flex;align-items:center;justify-content:space-between;padding:0 31px;gap:15px}
.hb-topbar-title{font-size:13px;font-weight:630;color:#737980}
.hb-topbar-divider{color:#c8cdd3;margin:0 8px}
.hb-topbar-page{color:#323941}
.hb-topbar-user{display:flex;align-items:center;gap:12px}
.hb-topbar-user form{margin:0}
.hb-user-circle{height:29px;width:29px;display:grid;place-items:center;border-radius:50%;background:#edf2f8;color:#315b8c;font-size:12px;font-weight:700}
.hb-username{font-size:12px;color:#666d76}
.hb-main{width:100%;max-width:1600px;padding:30px 36px 18px;margin:0 auto;flex:1}
.hb-page-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}
.hb-page-heading h1{margin:3px 0 0;font-size:27px;letter-spacing:-.6px;font-weight:740;color:#24292f}
.hb-eyebrow{font-size:11px;color:#8b929a}
.hb-date{font-size:12px;color:#979da6}
.hb-admin-body .card{background:#fff;border:1px solid var(--hb-line);border-radius:10px;box-shadow:none;overflow:hidden}
.hb-admin-body .card-header{background:#fff;border-bottom:1px solid #e9ebef;padding:15px 18px;color:#2f343a}
.hb-admin-body .card-body{padding:19px}
.hb-admin-body .card-body.p-0{padding:0}
.hb-admin-body .table{margin:0}
.hb-admin-body .table thead th{background:#fafbfc;color:#757b83;font-size:11px;font-weight:700;text-transform:none;letter-spacing:.12px;border-bottom:1px solid #ebedf0;padding:14px 18px}
.hb-admin-body .table td{padding:14px 18px;border-bottom-color:#f0f1f3}
.hb-admin-body .table tbody tr:last-child td{border-bottom:0}
.hb-admin-body .table a{color:#315b8c;text-decoration:none}
.hb-admin-body .table a:hover{text-decoration:underline}
.hb-admin-body .btn-primary{background:#315b8c;border-color:#315b8c}
.hb-admin-body .btn-primary:hover{background:#264c77;border-color:#264c77}
.hb-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}
.hb-summary-card{background:#fff;border:1px solid var(--hb-line);border-radius:10px;padding:18px;min-height:136px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.hb-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.hb-summary-label{font-size:12px;color:#72777f;font-weight:600}
.hb-summary-icon{font-size:15px;border-radius:9px;min-width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#eef3f8;color:#315b8c}
.hb-summary-icon.is-coral{background:#fff0ec;color:#d8644f}.hb-summary-icon.is-cream{background:#f5ebdd;color:#85684f}.hb-summary-icon.is-grey{background:#f2f3f5;color:#6f7783}.hb-summary-icon.is-green{background:#e9f5ef;color:#23734b}
.hb-summary-value{font-size:40px;color:#27292d;font-weight:760;letter-spacing:-1.2px;line-height:1}
.hb-summary-note{font-size:11px;color:#8b929a}
.hb-badge{border:1px solid transparent;border-radius:6px;font-size:11px;line-height:1.3;padding:5px 9px;font-weight:650;white-space:normal;text-align:left}
.hb-badge-success{background:#eaf6ee;color:#247249;border-color:#d6ebde}.hb-badge-danger{background:#fff0ec;color:#a53f37;border-color:#fadbd4}.hb-badge-warning{background:#fff7e8;color:#9b6a17;border-color:#f3e6c6}.hb-badge-secondary{background:#f0f2f5;color:#616b76;border-color:#e4e8ed}
.hb-muted-note{background:#f6f8fa;border:1px solid #e4e8ed;padding:13px 16px;border-radius:9px;color:#5c6570;font-size:12.5px;line-height:1.6;margin-bottom:20px}
.hb-muted-note a{color:#315b8c}
.hb-footer{font-size:11px;color:#9ca2aa;margin-top:30px;padding:17px 0;border-top:1px solid #e1e5e9}
body.hb-guest{background:#f6f7f9;min-height:100vh;display:grid;place-items:center;color:var(--hb-ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.hb-login-wrap{width:min(440px,calc(100vw - 28px));margin:30px auto}
.hb-login-brand{display:block;width:225px;margin:0 auto 9px}.hb-login-brand img{display:block;width:100%;height:auto}
.hb-login-subtitle{text-align:center;font-size:12px;color:#8b929b;margin-bottom:24px}
.hb-login-panel{padding:30px;background:#fff;border-radius:12px;border:1px solid var(--hb-line);box-shadow:0 14px 40px rgba(29,44,63,.04)}
.hb-login-panel h1{font-size:21px;margin:0 0 22px;font-weight:740}
.hb-login-panel .btn-primary{background:#315b8c;border-color:#315b8c}
.hb-login-foot{font-size:11px;color:#939ca6;text-align:center;margin-top:16px}
@media(max-width:1280px){.hb-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.hb-sidebar{flex-basis:206px;width:206px}.hb-main{padding:25px 21px}.hb-topbar{padding:0 21px}}
@media(max-width:740px){.hb-app{display:block}.hb-sidebar{width:100%;min-height:0}.hb-sidebar-brand{height:59px;justify-content:flex-start;padding:9px 15px}.hb-sidebar-brand img{width:170px}.hb-sidebar-division,.hb-nav-future,.hb-sidebar-foot{display:none}.hb-side-nav{display:flex;gap:4px;overflow-x:auto;padding:8px 9px}.hb-nav-item{white-space:nowrap;font-size:12px;min-height:38px;padding:7px 9px}.hb-menu-icon{height:16px;width:16px;flex-basis:16px}.hb-topbar{height:51px;min-height:51px;padding:0 15px}.hb-topbar-title{font-size:11px}.hb-username{display:none}.hb-main{padding:22px 14px}.hb-page-heading h1{font-size:24px}.hb-date{display:none}.hb-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hb-summary-card{min-height:122px;padding:14px}.hb-summary-value{font-size:34px}}
@media(max-width:380px){.hb-topbar-page{display:none}.hb-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-summary-icon{display:none}}
