/* Deep Blue Alpha for Business — shared styles (2026-10-16, stage 1).
   Used by /pricing (subscribe.html), /register, /account, /business, /data/methodology.
   Business accent = gold #ffc94d (Matt-approved). */
:root { --biz: #ffc94d; --biz-dim: #e0a92b; --biz-rgb: 255, 201, 77; }

/* Personal | Business segmented control. Buttons are real <button>s with
   aria-pressed, so Tab/Enter/Space work; #business in the URL selects Business. */
.acct-switch-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto 26px; }
.acct-switch {
    display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(0,212,255,0.22);
}
.acct-switch button {
    min-height: 46px; min-width: 150px; padding: 0 22px; border: 0; border-radius: 10px;
    background: transparent; color: #8899aa; font: 600 0.95rem var(--font-body, Inter, sans-serif);
    cursor: pointer; transition: background .18s, color .18s, box-shadow .18s;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.acct-switch button:hover { color: #dde; }
.acct-switch button:focus-visible { outline: 2px solid var(--cyan, #00c2ff); outline-offset: 2px; }
.acct-switch button[aria-pressed="true"][data-acct="personal"] {
    background: rgba(0,212,255,0.14); color: var(--cyan, #00c2ff); box-shadow: inset 0 0 0 1px rgba(0,212,255,0.45);
}
.acct-switch button[aria-pressed="true"][data-acct="business"] {
    background: rgba(var(--biz-rgb),0.14); color: var(--biz); box-shadow: inset 0 0 0 1px rgba(var(--biz-rgb),0.5);
}
.acct-switch-hint { color: var(--text-secondary); font-size: 0.84rem; text-align: center; max-width: 560px; line-height: 1.5; margin: 0; }
.acct-switch-hint strong { color: var(--text-bright); }

/* data-show="business" content is hidden until the switch selects Business. */
[data-show="business"] { display: none !important; }
body.acct-business [data-show="business"] { display: revert !important; }
body.acct-business [data-show="personal"] { display: none !important; }

.biz-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 30px;
    border: 1px solid rgba(var(--biz-rgb),0.35); background: rgba(var(--biz-rgb),0.08);
    color: var(--biz); font-size: 0.7rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}
.biz-status {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px;
    border: 1px solid rgba(var(--biz-rgb),0.3); background: rgba(var(--biz-rgb),0.06);
    color: #f3e3b8; font-size: 0.82rem; line-height: 1.4;
}
.biz-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--biz); flex-shrink: 0; }
.mono { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); }
.code-block {
    background: #050c1a; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
    font: 12.5px/1.6 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); color: #b8d4ff;
    overflow-x: auto; white-space: pre; margin: 0; -webkit-overflow-scrolling: touch; max-width: 100%;
}
.code-block .k { color: #7fdbff; } .code-block .s { color: #a5e8b8; } .code-block .n { color: #ffcf7a; } .code-block .c { color: #5f7794; }

/* (The gold nav/footer "Business" link styles live inline in base.html — every page.) */

@media (max-width: 480px) {
    .acct-switch { width: 100%; max-width: 358px; }
    .acct-switch button { min-width: 0; flex: 1; padding: 0 10px; }
}
