/* ============================================================================
   Bold, clear, simple (owner, 30 November 2026): white pages, black type and SIP
   yellow, with big heavy headings and large numbers doing the work that boxes,
   shades and icons did before. Loaded last (before print), so it settles the
   look of both shells over the older layers.

   - Headings and big numbers: Inter Tight, heavy and tight. Everything else: Inter.
   - Yellow is a fill, for the one thing that matters on a screen: the primary
     button, the active page in the menu, the selected tab's underline, the next
     step. Never yellow text (it doesn't read on white): --sip-amber-text.
   - Flat: cards are white with a hairline edge, no shading or glow.
   - Secondary buttons are outlined in black, so the yellow one stands alone.
   ========================================================================== */

body {
    font-family: var(--sip-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- type ---------- */

h1, h2, h3,
.h1, .h2, .h3,
.fx-h1, .fx-h2,
.app-brand {
    font-family: var(--sip-font-display);
    letter-spacing: -0.02em;
}

h1, .h1, .fx-h1 {
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-wrap: balance;
}

h2, .h2, .fx-h2 {
    font-weight: 800;
}

h3, .h3 {
    font-weight: 800;
}

.sip-page-header h1,
.lic-head h1,
.dash-head h1,
.users-head h1 {
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
}

.sip-page-header-sub {
    font-size: var(--text-md);
    color: var(--sip-muted);
}

.fx-h1 {
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem);
}

/* Big numbers: the headline of a stat tile. */
.sip-stat-value,
.adm-stat-value {
    font-family: var(--sip-font-display);
    font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

/* The operator's tiles hold money ("$20,000.00"), four to a row: big, but never broken mid-number. */
.adm-stat-value {
    font-size: clamp(1.6rem, 1rem + 1vw, 2.2rem);
    overflow-wrap: normal;
    word-break: normal;
}

.sip-stat-label,
.adm-stat-label {
    color: var(--sip-muted);
    font-weight: 500;
}

/* ---------- surfaces: flat and white ---------- */

.sip-card,
.sip-stat,
.adm-stat,
.fx-panel,
.fx-door {
    background-image: none;
    box-shadow: none;
}

.sip-card {
    border-radius: var(--radius-md);
}

.app-sidebar {
    background-color: var(--sip-surface);
    border-right: 1px solid var(--sip-hairline);
}

.app-brand {
    font-weight: 900;
}

/* ---------- navigation: the active page is a yellow block ---------- */

.app-nav-link {
    font-weight: 500;
    border-radius: var(--radius-sm);
}

    .app-nav-link[aria-current="page"],
    .app-nav-link.active {
        background-color: var(--sip-amber);
        color: var(--sip-on-amber);
        box-shadow: none;
        font-weight: 800;
    }

        .app-nav-link[aria-current="page"] .app-nav-icon,
        .app-nav-link.active .app-nav-icon {
            color: var(--sip-on-amber);
        }

        .app-nav-link[aria-current="page"]:hover,
        .app-nav-link.active:hover {
            background-color: var(--sip-amber-hover);
            color: var(--sip-on-amber);
        }

/* ---------- tabs: a thick yellow underline on the selected one ---------- */

.sip-tab[aria-current="page"],
.sip-tab.is-active {
    font-weight: 800;
}

    .sip-tab[aria-current="page"]::after,
    .sip-tab.is-active::after {
        height: 3px;
        background-color: var(--sip-amber);
    }

/* ---------- buttons ---------- */

.btn {
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: var(--radius-sm);
}

/* Secondary actions: outlined in black, so the one yellow button is the obvious next step. */
.btn-secondary,
.btn-outline-secondary,
.btn-outline-primary,
.btn-light,
.btn-outline-light,
.btn-dark,
.btn-outline-dark {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--sip-text);
    --bs-btn-hover-bg: var(--sip-raise);
    --bs-btn-hover-border-color: var(--sip-text);
    --bs-btn-active-bg: var(--sip-raise);
    --bs-btn-active-border-color: var(--sip-text);
    border-width: 1.5px;
}

/* ---------- tables: plain rows under a black header rule ---------- */

.table > thead > tr > th,
.sip-table > thead > tr > th {
    border-bottom: 1.5px solid var(--sip-text);
    color: var(--sip-muted);
    font-weight: 600;
}

/* ---------- the next step: one solid yellow block (SetupChecklist) ---------- */

.sip-next {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3) var(--space-5);
    margin: var(--space-3) 0 var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    background-color: var(--sip-amber);
    color: var(--sip-on-amber);
}

.sip-next-text {
    flex: 1 1 16rem;
    min-width: 0;
}

.sip-next-label {
    font-size: var(--text-sm);
    font-weight: 700;
}

.sip-next-title {
    margin: 0.2rem 0 0;
    font-family: var(--sip-font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sip-next-hint {
    margin: 0.3rem 0 0;
    font-size: var(--text-sm);
}

.sip-next .sip-next-button {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: var(--sip-on-amber);
    --bs-btn-border-color: var(--sip-on-amber);
    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: #000000;
    --bs-btn-hover-border-color: #000000;
    --bs-btn-active-color: #FFFFFF;
    --bs-btn-active-bg: #000000;
}

    .sip-next .sip-next-button:focus-visible {
        outline: 2px solid var(--sip-on-amber);
        outline-offset: 3px;
    }
