/* FGDR identity: obsidian, brushed gold, cool blue and ruby. */
:root{--bg:#080e18;--panel:#111a27;--line:#293443;--muted:#a3afbf;--gold:#e8c87c;--green:#99dfc6;--red:#f2a0ac;--blue:#79d7ff;color:#f1f3f7;background:var(--bg)}
body{background:radial-gradient(ellipse at 80% 0,#17436333,transparent 55%),radial-gradient(ellipse at 0 70%,#70552912,transparent 50%),#080e18;min-height:100vh}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 10px,#ffffff02 10px 11px);z-index:-1}
h1,h2,h3{color:#f5f4ef}h1{letter-spacing:-1.1px}p{color:var(--muted)}
button{background:linear-gradient(180deg,#1c2838,#131d2b);border-color:#37475a;border-radius:8px;color:#e5eaf0;transition:background .15s,border-color .15s,box-shadow .15s}
button:hover:not(:disabled){border-color:var(--gold);background:#263142;box-shadow:0 0 15px #e8c87c12}
.primary{background:linear-gradient(110deg,#b7914e,#f4dfab 48%,#d3ad61);border:1px solid #edd5a0;color:#20190d;box-shadow:inset 0 1px #fff8,0 4px 18px #d2ab5b14;font-weight:750}
.primary:hover:not(:disabled){background:linear-gradient(110deg,#dfbb75,#fff0c7 48%,#e6c484);color:#17120a;box-shadow:0 4px 22px #e8c87c28}
input,select,textarea{background:#0a121f;border-color:#344357;color:#f3f5f8;border-radius:8px;min-height:44px}
input::placeholder,textarea::placeholder{color:#8392a5}input[type=checkbox]{min-height:auto;accent-color:var(--gold)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:2px;border-color:var(--blue)}
label.field{color:#d9e1ed}.eyebrow{color:var(--gold);font-size:10px;letter-spacing:2.2px}
.brand-logo{width:56px;height:56px;object-fit:contain;flex-shrink:0;border:1px solid #bc9a5e88;border-radius:10px;box-shadow:0 0 14px #79d7ff13}
.brand{font-size:23px;letter-spacing:1.5px;gap:11px}.brand small{color:#b4c2d5;font-size:8px;letter-spacing:2px}
.live-bar{background:#080d16;color:#9eb0c6;border-bottom:1px solid #b695504d}.live-bar b{color:var(--gold)}
aside{background:linear-gradient(165deg,#111b2a,#090f19 70%);border-right-color:#b7975340;box-shadow:4px 0 30px #0002}
.navlabel{color:#8e9bb0;margin-top:38px}nav a{color:#b7c3d2;border:1px solid transparent}
nav a:hover{background:#1a2636;color:#f5e4bc}nav a.active{background:linear-gradient(90deg,#aa874e2e,#aa874e08);border-color:#c9a96459;box-shadow:inset 3px 0 var(--gold);color:#f0d79c}
nav i{color:var(--blue)}.aside-bottom{color:#e1d3b0}.dot{background:var(--blue);box-shadow:0 0 8px #79d7ff40}
header{background:#0e1723bb;border-bottom-color:#26384c}header b{color:#e1e8f1}.slash{color:#62738a}
.heading{padding-bottom:24px;border-bottom:1px solid #cba65d3d;position:relative}.heading::after{content:"";position:absolute;bottom:-1px;left:0;width:72px;height:2px;background:var(--blue);box-shadow:0 0 9px #79d7ff55}
.panel,.stat{background:linear-gradient(145deg,#172132,#101824);border-color:#304056;box-shadow:0 10px 24px #0002,inset 0 1px #ffffff04;border-radius:12px}
.stat{position:relative;overflow:hidden}.stat::before{content:"";position:absolute;top:0;left:22px;width:34px;height:2px;background:var(--gold)}
.stat>span{color:#b8c6d7;font-size:10px;letter-spacing:.5px}.stat strong{color:#f2e8d3;font-variant-numeric:tabular-nums}.stat strong.positive{color:var(--green)}.stat strong.negative{color:var(--red)}.stat strong.gold{color:var(--gold)}
.panel-head{border-bottom:1px solid #ffffff05}.panel-head h2{font-weight:650}.panel-body{padding-top:18px}
.contract{background:radial-gradient(ellipse at 100% 0,#cbab5c20,transparent 70%),#121b28;border-color:#ba965955}
th{background:#0b1421;color:#acbbce;letter-spacing:.7px}td{border-color:#2a3547}tbody tr:hover{background:#76d0ff05}
.avatar{background:#182f43;color:#9ce2ff;border:1px solid #48718a}.pill{border:1px solid #b79b5140;background:#332e22;color:#e9d295}
.pill.accepted,.pill.funded{background:#163549;border-color:#3e7b99;color:#b2e8ff}.pill.disputed,.pill.removed,.pill.declined{background:#3a1f2e;border-color:#7e4051;color:#f4b2bd}
.terms,.banner{background:linear-gradient(110deg,#352c1e66,#162333);border-color:#b493535c;color:#e3d4b5}.terms{background:#0b1522}.terms h3{color:#eed9a3}.rule{border-color:#2a384a}.bar{background:#20364b}.bar span{background:linear-gradient(90deg,#ac8542,#efd59a)}
.payout{background:#132e2d;border-color:#3b6b63}.address-block{background:#081321;border-color:#34485d;color:#c3e9fa}
.empty{color:#a4b4c8}.steps{background:#0e1928}.transfer-destinations{background:#0d1724;border-color:#40516a}
dialog{background:linear-gradient(145deg,#192535,#0c1421);border-color:#ba9a60aa;box-shadow:0 30px 100px #000b,0 0 40px #79d7ff10}
dialog::backdrop{background:#030810ce;backdrop-filter:blur(7px)}#toast{background:#eed69b;color:#201b12;border:1px solid #fff1c9}footer{color:#9cacbf;border-color:#b7975333}
.auth-wrap{max-width:1140px;margin:0 auto;padding:32px 34px 24px}
.auth-brand{margin-bottom:34px;gap:13px;font-size:22px}.auth-brand .brand-logo{width:48px;height:48px}.auth-brand small{color:#b9c8d9;font-size:9px}.brand-caption{margin-left:auto;color:#8f9fb3;font-size:9px;letter-spacing:2.4px}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:70px}
.auth-identity{text-align:center;position:relative;padding:20px 0 28px}.auth-identity::before{content:"";position:absolute;inset:70px 10px 130px;background:radial-gradient(ellipse,#2675a625,transparent 68%);pointer-events:none}
.auth-identity .eyebrow{font-size:9px;letter-spacing:2.3px;color:#a9c2dc}
.hero-logo{display:block;position:relative;width:min(100%,320px);height:auto;aspect-ratio:1;margin:27px auto 26px;border-radius:16px;box-shadow:0 0 0 1px #e4c67b44,0 0 45px #62bfff18,0 18px 50px #0008}
.auth-identity h2{font-size:38px;line-height:1.15;letter-spacing:-1.3px;font-weight:700}.auth-identity h2 span{color:var(--gold)}
.auth-identity p{font-size:12px;line-height:1.8;margin:17px 0 22px}.identity-features{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;font-size:9px;color:#acbed1}.identity-features span::before{content:"◆";font-size:6px;color:var(--blue);margin-right:7px;vertical-align:middle}
.auth-card{position:relative;padding:36px;background:linear-gradient(145deg,#1a2635,#101824 65%);border:1px solid #d8b56b70;border-radius:16px;box-shadow:0 20px 70px #0004,inset 0 1px #fff1}
.auth-card::before{content:"";position:absolute;top:-1px;left:30px;right:30px;height:2px;background:linear-gradient(90deg,transparent,#efd699,#83d9ff,transparent)}
.auth-card h1{font-size:28px;line-height:1.2;margin:13px 0}.auth-card>p{font-size:12px}.auth-card label.field{font-size:12px;margin:21px 0}.auth-card input{padding:13px 14px}.auth-card .primary{min-height:46px;margin-top:8px;font-size:13px}
.auth-switch{padding-top:19px;border-top:1px solid #354255;font-size:12px!important}.auth-switch a{font-weight:650}.auth-foot{font-size:10px;color:#8da1b8;margin:28px 0 0;letter-spacing:.3px}
.password-panel{border-color:#d4b36c66}.positive{color:var(--green)}.negative{color:var(--red)}
@media(min-width:1500px){.auth-wrap{padding-top:50px}.auth-layout{gap:90px}.hero-logo{width:350px}}
@media(max-width:1100px) and (min-width:701px){aside .brand-logo{width:42px;height:42px}aside .brand{font-size:20px;gap:8px}.auth-layout{gap:32px}.auth-card{padding:28px}.auth-wrap{padding:26px}.hero-logo{width:280px}}
@media(max-width:700px){.auth-wrap{padding:22px 18px;max-width:520px}.auth-brand{margin-bottom:24px}.brand-caption{display:none}.auth-layout{grid-template-columns:1fr;gap:25px}.auth-identity{padding:0;display:grid;grid-template-columns:92px 1fr;gap:0 19px;text-align:left;align-items:center}.auth-identity .eyebrow{grid-column:2;font-size:8px;letter-spacing:1.4px;align-self:end}.hero-logo{grid-column:1;grid-row:1/3;width:92px;margin:0;border-radius:10px}.auth-identity h2{grid-column:2;font-size:27px;letter-spacing:-.7px;align-self:start;margin-top:7px}.auth-identity p,.identity-features{display:none}.auth-card{padding:28px 24px}.auth-card h1{font-size:27px}.auth-foot{font-size:9px;line-height:1.8}.brand-logo{width:46px;height:46px}aside{border-bottom:1px solid #b7975340}.heading{padding-bottom:20px}.live-bar{font-size:8px}.panel-body{padding-top:16px}footer{font-size:8px}.stat strong{font-size:25px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Discord authentication and application onboarding use the existing brand. */
.discord-login{display:block;text-align:center;text-decoration:none;margin:24px 0;padding:15px 22px;border-radius:8px}

/* Workspace selection for the authorized deputy account. */
.mode-toggle{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #40506a;border-radius:10px;background:#080e18;flex-shrink:0}
.mode-toggle button{border:0;border-radius:7px;padding:8px 14px;background:transparent;color:#b8c6d9;font:inherit;font-weight:700;cursor:pointer;min-height:36px}
.mode-toggle button[aria-pressed="true"]{background:#e9c779;color:#101722}
.mode-toggle button:focus-visible{outline:2px solid #8ed9ff;outline-offset:2px}
.workspace header .switch{flex-wrap:wrap;justify-content:flex-end}
.auth-brand .mode-toggle{margin-left:auto}
@media(max-width:640px){.workspace header{flex-wrap:wrap;gap:12px}.workspace header .switch{width:100%;justify-content:space-between}.auth-brand{flex-wrap:wrap}.auth-brand .mode-toggle{margin-left:0}}
