:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#f6f6f7;background:#070303;font-synthesis:none;--blue:#d7192f;--muted:#b7b7bd;--line:#303036}
*{box-sizing:border-box}
body{margin:0}
header{background:#0d0d0f;border-bottom:1px solid var(--line);height:84px;padding:0 5%;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:7px;color:#f6f6f7;text-decoration:none;font-size:21px}
.brand strong{font-weight:400;color:var(--muted)}
.mark{display:grid;place-items:center;background:var(--blue);color:white;width:36px;height:36px;border-radius:10px;font-weight:800;margin-right:7px}
.tag,.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:700;color:var(--muted)}
header .tag{margin-left:auto}
main{max-width:1240px;margin:auto;padding:45px 28px;min-height:calc(100vh - 150px)}
h1{font-size:34px;letter-spacing:-1px;line-height:1.2;margin:14px 0}
h2{font-size:24px}
h3{margin-top:0;font-size:19px}
p{line-height:1.6;color:var(--muted)}
.card{border:1px solid var(--line);border-radius:12px;background:#0d0d0f;padding:28px;margin-bottom:24px;box-shadow:0 12px 35px #0003}
.auth{max-width:465px;margin:35px auto}
.auth h1{font-size:32px}
form{display:grid;gap:17px}
label{display:grid;gap:8px;font-size:13px;font-weight:600}
input,select{font:inherit;background:#141417;border:1px solid #48484f;border-radius:8px;padding:12px;width:100%;color:#f6f6f7}
input:focus,select:focus,button:focus-visible{outline:3px solid #ff6575;outline-offset:2px}
button{font:inherit;font-size:13px;font-weight:650;border:1px solid #48484f;background:#0d0d0f;color:#f6f6f7;padding:12px 17px;border-radius:8px;cursor:pointer}
button:hover{background:#241317}
button:disabled{opacity:.55;cursor:wait}
.primary{background:var(--blue);border-color:var(--blue);color:white}
.primary:hover{background:#b91429}
.primary span{float:right}
.hint,.footnote{font-size:12px;margin:0;line-height:1.6}
.footnote{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}
.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px}
.stat{background:#0d0d0f;border:1px solid var(--line);padding:22px;border-radius:12px;color:var(--muted);font-size:13px}
.stat strong{display:block;font-size:30px;color:#f6f6f7;margin-top:8px}
.columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.tenant-title{display:flex;align-items:center;justify-content:space-between}
.badge{font-size:12px;background:#102b20;color:#8de4b4;border-radius:30px;padding:7px 12px}
.badge.off{background:#302411;color:#f1ce88}
.registration{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;margin:24px 0}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;font-size:13px}
td,th{text-align:left;border-bottom:1px solid var(--line);padding:14px 10px;white-space:nowrap}
th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}
td button{padding:7px 10px;margin-right:6px}
.check{display:flex;align-items:start;line-height:1.5;font-weight:400}
.check input{width:17px;margin-top:1px}
.policy{margin:22px 0;border-top:1px solid var(--line);padding-top:20px}
.policy form{margin-top:20px;grid-template-columns:1fr 1fr;align-items:end}
.policy .wide{grid-column:1/-1}
summary{cursor:pointer;font-size:14px;font-weight:600}
#notice{background:#302016;color:#ffdaa9;padding:16px 20px;border:1px solid #775137;border-radius:10px;margin-bottom:24px;white-space:pre-wrap}
#qr{width:230px;height:230px;margin:auto}
pre{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.7;background:#070303;padding:16px;border-radius:8px;max-height:400px;overflow:auto}
footer{padding:22px 5%;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
footer span{float:right}
[hidden]{display:none!important}
@media(max-width:760px){header .tag{display:none}
header{height:70px;padding:0 20px}
header #logout{margin-left:auto}
.brand{font-size:17px}
main{padding:24px 16px}
.columns,.stats{grid-template-columns:1fr}
.stats{gap:10px}
.stat{padding:15px}
.stat strong{display:inline;margin-left:15px;font-size:24px}
.registration,.policy form{grid-template-columns:1fr}
.heading{align-items:start}
h1{font-size:27px}
.card{padding:20px}
.auth{margin:15px auto}
footer span{float:none;display:block;margin-top:7px}
}

#accounts{overflow-x:auto}
.columns>*{min-width:0}
.heading>div{min-width:0}
@media(max-width:760px){.heading .tag{max-width:42%;text-align:right;line-height:1.6}
.tenant-title{gap:12px}
.badge{flex-shrink:0}
}


/* Titan Labs brand tokens and artwork, sourced from titan-labs.co.uk. */
:root { color-scheme: dark; --red: #d7192f; --red-bright: #ff334a; }

body { background: radial-gradient(ellipse at 8% 18%, #d7192f13, transparent 45%), #070303; }

body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: linear-gradient(90deg,#d7192f0b 1px,transparent 1px) 0 0/72px 72px,linear-gradient(#ffffff06 1px,transparent 1px) 0 0/72px 72px; }

header { height: 96px; background: linear-gradient(90deg,#d7192f12,transparent 45%),#080809; border-bottom:1px solid #d7192f55; }

.brand { gap:24px; flex-shrink:0; }

.brand img { width:185px; height:58px; object-fit:contain; }

.brand-product { border-left:1px solid #48484f; padding-left:24px; color:#b7b7bd; font-size:11px; font-weight:700; letter-spacing:1.8px; }

.eyebrow { color:#ff5267; letter-spacing:1.6px; }

h1 { text-transform:uppercase; font-weight:800; letter-spacing:-.7px; }

.primary { background:#d7192f; border-color:#ef3147; box-shadow:0 5px 22px #d7192f22; }

.primary:hover { background:#b91429; }

.auth-shell { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); min-height:660px; align-items:center; gap:48px; }

.brand-story { position:relative; isolation:isolate; padding:60px 16px 65px 0; }

.brand-story::before { content:''; position:absolute; z-index:-1; inset:-110px -90px -90px -120px; background:linear-gradient(90deg,#07030320,#07030399),linear-gradient(0deg,#070303,transparent 30%,transparent 75%,#070303),url('/static/brand/hero-home-integrated-shield.png') 65% center/cover; opacity:.6; }

.brand-story h2 { font-size:clamp(32px,3.4vw,50px); line-height:1.08; letter-spacing:-1px; margin:24px 0; text-shadow:0 2px 20px #000; }

.brand-story h2 span { color:#ff5267; }

.brand-story p { max-width:430px; color:#dedee3; font-size:16px; }

.brand-assurance { margin-top:38px; font-size:10px; letter-spacing:1px; font-weight:700; color:#d0d0d5; line-height:1.8; }

.brand-assurance span { color:#ff5267; padding:0 10px; }

.auth { width:100%; max-width:465px; margin:0 0 0 auto; padding:34px; border-top:3px solid #d7192f; background:#101013; box-shadow:0 25px 70px #0007; }

.auth h1 { font-size:30px; }

input,select { color-scheme:dark; }

input::placeholder { color:#92929e; }

input[type=checkbox] { accent-color:#d7192f; }

.stat { border-top:2px solid #d7192f; background:linear-gradient(135deg,#d7192f0c,transparent 70%),#0d0d0f; }

.stat strong { color:#fff; }

#workspace>.heading { padding:20px 0 28px; border-bottom:1px solid #d7192f55; }

.policy summary:hover,summary:focus-visible { color:#ff6575; }

#qr { background:#fff; padding:12px; border-radius:8px; color-scheme:light; }

footer { display:flex; align-items:center; justify-content:space-between; gap:24px; background:#080809; }

footer img { width:130px; height:42px; object-fit:contain; }

footer span { float:none; text-align:right; }

footer b { display:block; color:#ededf0; font-weight:500; margin-top:5px; }

@media(max-width:960px) { .auth-shell { gap:28px; grid-template-columns:minmax(0,1fr) minmax(320px,1fr); }
 .brand-product { display:none; }
 }

@media(max-width:760px) { header { height:80px; }
 .brand img { width:155px; height:48px; }
 .auth-shell { grid-template-columns:1fr; min-height:0; gap:24px; }
 .brand-story { padding:14px 8px 0; }
 .brand-story::before { inset:-24px -16px; opacity:.3; }
 .brand-story h2 { font-size:29px; margin:16px 0; }
 .brand-story p { font-size:14px; }
 .brand-assurance { display:none; }
 .auth { margin:0 auto 24px; padding:24px; }
 .auth h1 { font-size:25px; }
 footer { padding:20px; }
 footer img { width:100px; }
 footer span { font-size:10px; margin:0; }
 #workspace>.heading { padding-top:8px; }
 }

@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; }
 }

.auth { position:relative; z-index:1; }

/* Client launchpad */
#workspace-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 30px;border-bottom:1px solid var(--line);padding-bottom:18px}
#workspace-nav .selected{background:#d7192f;border-color:#ef3147}
.launch-hero{padding:28px 32px;margin-bottom:28px;border-left:3px solid #d7192f;background:linear-gradient(110deg,#d7192f20,transparent),#101013;border-radius:0 12px 12px 0}
.launch-hero h2{font-size:32px;letter-spacing:-.7px;margin:12px 0}.launch-hero p{margin-bottom:0}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.service-tile{display:flex;flex-direction:column;margin:0;min-height:260px;transition:border-color .15s,transform .15s}
.service-tile:hover{border-color:#d7192f;transform:translateY(-2px)}
.tile-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px}.tile-meta .badge{font-size:10px;padding:5px 8px}
.service-tile p{font-size:14px;margin-top:0}.service-tile button{margin-top:auto;align-self:start}
.access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:10px 0 20px}.access-grid .check{align-items:center}
.service-setting{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.service-setting button{justify-self:start}
.download-card{display:flex;align-items:center;justify-content:space-between;gap:24px}.download-card h3{margin-bottom:6px}.download-card p{font-size:13px}
.download-card code{display:block;overflow-wrap:anywhere;margin-top:12px;font-size:12px;color:var(--muted)}
.download-controls{display:flex;gap:10px;flex-shrink:0}.button{text-decoration:none;font-size:13px;font-weight:650;padding:12px 17px;border-radius:8px;color:white}
#deployment-status{margin-bottom:24px;color:var(--muted)}
@media(max-width:1050px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.service-grid,.access-grid{grid-template-columns:1fr}.launch-hero{padding:24px}.launch-hero h2{font-size:26px}.download-card{display:block}.download-controls{margin-top:20px;flex-wrap:wrap}.service-tile{min-height:240px}}
