/* Shared interface system: operations, account forms and public presentation. */
:root {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bg:#101820; --surface:#17222d; --surface-2:#1d2a37; --surface-3:#253444;
    --line:#3b4c5d; --line-soft:rgba(186,201,217,.18);
    --text:#f0f3f7; --muted:#bac6d3;
    --panel:#17222d; --border:#3b4c5d;
    --brand-primary:#315f91; --brand-primary-hover:#3b70a8;
    --action-primary:#315f91; --action-primary-hover:#3b70a8;
    --action-primary-text:#fff; --action-focus:#a4cdf5;
    --action-danger:#aa3444; --action-danger-hover:#bf3c4e;
    --action-height:44px; --action-radius:8px;
    --design-canvas:#101820; --design-surface:#17222d;
    --design-surface-raised:#1d2a37; --design-surface-soft:#1b2733;
    --design-border:#3b4c5d; --design-border-soft:#334454;
    --design-text:#f0f3f7; --design-muted:#bac6d3;
    --design-accent:#8db9e5; --design-accent-soft:rgba(141,185,229,.1);
    --design-radius-sm:8px; --design-radius-md:12px; --design-radius-lg:16px;
    --ink:#101820; --ink-2:#17222d; --paper:#f0f3f7;
    --mint:#8db9e5; --max:1180px;
    --shadow:0 12px 32px rgba(0,0,0,.22);
}
body { font-family:inherit; background:#101820; color:var(--text); line-height:1.55; }
button,input,select,textarea { font-family:inherit; }
h1,h2,h3,h4 { font-weight:600; line-height:1.25; letter-spacing:-.015em; }
p { line-height:1.6; }
strong,b { font-weight:600; }
.login-panel,.shell .sidebar { background:#141f29; border-color:var(--line); }
.login-shell { background:#101820; }
.login-panel h1 { font-weight:600; line-height:1.16; letter-spacing:-.025em; }
.shell,.responder-shell { background:var(--bg); }
.shell .content,.responder-main { color:var(--text); }
.panel,.guard-card,.responder-panel,.modal { background:var(--surface); border-color:var(--line); box-shadow:0 6px 20px rgba(0,0,0,.12); }
.panel-header,.modal-header,.modal-footer { border-color:var(--line-soft); }
.panel-header h2,.page-heading h1,.modal-header h2 { font-weight:600; }
.button,.shell .button,.responder-shell .button {
    min-height:44px; padding:10px 16px; border-radius:8px;
    font-size:.9rem; font-weight:600; line-height:1.3; letter-spacing:0;
    text-transform:none; box-shadow:none; transform:none;
}
.button.primary,.login-shell .button.primary,.shell .button.primary,.responder-shell .button.primary {
    background:var(--action-primary); border-color:var(--action-primary); color:#fff; box-shadow:none;
}
.button.primary:hover,.login-shell .button.primary:hover,.shell .button.primary:hover,.responder-shell .button.primary:hover {
    background:var(--action-primary-hover); border-color:var(--action-primary-hover); color:#fff; filter:none;
}
.button.ghost,.login-shell .button.ghost,.shell .button.ghost,.responder-shell .button.ghost {
    background:transparent; color:#dae5ef; border:1px solid #516477;
}
.button.ghost:hover,.login-shell .button.ghost:hover,.shell .button.ghost:hover,.responder-shell .button.ghost:hover { background:#253444; border-color:#91a9c0; color:#fff; }
.button.danger-button,.shell .button.danger-button,.responder-shell .button.danger-button {
    color:#fff; border-color:var(--action-danger); background:var(--action-danger); box-shadow:none;
}
.button.danger-button:hover { background:var(--action-danger-hover); border-color:var(--action-danger-hover); }
.button:disabled,button:disabled { opacity:.6; cursor:not-allowed; transform:none; }
.button.icon-action { min-width:44px; width:44px; padding:10px; flex-shrink:0; }
.close-button { width:44px; height:44px; min-width:44px; border-radius:8px; }
:is(button,a,input,select,textarea,[tabindex]):focus-visible { outline:3px solid var(--action-focus); outline-offset:3px; }
.input,.select,.textarea,.login-shell .input,.shell .input,.shell .select,.shell .textarea,.responder-shell .input,.responder-shell .select,.responder-shell .textarea {
    min-height:44px; border:1px solid #63778b; border-radius:8px;
    background:#101b25; color:var(--text); font-size:1rem; line-height:1.45;
}
.input::placeholder,.textarea::placeholder { color:#9cadbf; opacity:1; }
.field>span,.field>label,.shell .field>span,.shell .field>label,.responder-shell .field>span,.responder-shell .field>label { font-size:.9rem; font-weight:600; letter-spacing:0; text-transform:none; }
.field small,.shell .field small,.responder-shell .field small,.form .muted { font-size:.82rem; line-height:1.5; color:var(--muted); }
.nav-button,.shell .nav-button { font-weight:500; letter-spacing:0; }
.shell .nav-button.active { color:#edf4fc; background:#263e56; border-color:#6f9cc6; box-shadow:inset 3px 0 #a4cdf5; }
.eyebrow,.page-heading .eyebrow { color:#bed1e4; font-weight:600; letter-spacing:.065em; }
.modal { max-height:calc(100dvh - 32px); border-radius:12px; }
.modal-body { overscroll-behavior:contain; }
.modal-header h2 { font-size:1.15rem; }
.modal-footer { gap:12px; }
.form-error,.modal-error { color:#ffb4bc; font-size:.9rem; line-height:1.5; }
.table th,th { color:#cad6e2; font-weight:600; letter-spacing:.025em; }
.table td,td { line-height:1.5; }
.hero,.final-cta { background:#101820; }
.hero h1,.section-heading h2,.security h2,.final-cta h2 { font-family:inherit; font-weight:600; line-height:1.16; letter-spacing:-.025em; }
.hero h1 em { color:#a4c7e9; font-style:normal; }
.hero-copy>p,.section-heading p,.feature-grid p { color:var(--muted); }
.hero-brand-visual,.console-preview { box-shadow:0 16px 40px rgba(0,0,0,.25); border-color:#43576a; }
.cta { min-height:46px; border-radius:8px; font-size:.95rem; font-weight:600; letter-spacing:0; box-shadow:none; }
.cta.primary { color:#fff; background:#315f91; border-color:#315f91; box-shadow:none; }
.cta.primary:hover { background:#3b70a8; border-color:#3b70a8; transform:none; }
.cta.secondary { color:#dae5ef; background:transparent; border-color:#63778b; }
.radar-visual { border-color:#43576a; background:repeating-radial-gradient(circle,transparent 0 68px,rgba(163,191,218,.12) 69px 70px); }
.radar-visual::after { opacity:.35; }
.feature-grid article,.media-grid article { background:#17222d; border-color:#3b4c5d; }
.problem-band { font-family:inherit; color:#dae5ef; background:#1d2a37; border-block:1px solid #3b4c5d; }
@media(max-width:760px) {
    .button,.shell .button,.responder-shell .button { min-height:46px; }
    .modal { width:min(100%,calc(100vw - 24px)); max-height:calc(100dvh - 24px); }
    .modal-header,.modal-body,.modal-footer { padding:16px; }
    .modal-footer { display:flex; flex-wrap:wrap; }
    .modal-footer>.button { flex:1 1 130px; }
    .shell .nav-button.active { box-shadow:inset 0 -3px #a4cdf5; }
}
@media(prefers-reduced-motion:reduce) {
    .button,.nav-button,.close-button { transition:none; }
}
@media(min-width:1181px) {
    .shell .monitor-layout.monitor-center-hidden .monitor-panel-reopen {
        left:12px; top:216px; min-height:46px; border-radius:8px;
        background:#17222d; border-color:#63778b; box-shadow:0 4px 12px rgba(0,0,0,.2);
    }
    .monitor-panel-reopen span { font-size:.85rem; font-weight:600; }
}
