/* ==========================================================================
   HPtekLatex European Group — Architectural Monochrome Theme (arch-theme.css)
   Inspired by durst-group.com / Industrial Swiss-German Engineering Minimalism
   Zero reliance on external/uncompiled utility classes; strict contrast & 0px geometry
   ========================================================================== */

:root {
    --arch-white: #ffffff;
    --arch-light: #f7f7f7;
    --arch-subtle: #fafafa;
    --arch-black: #000000;
    --arch-dark: #090a0d;
    --arch-ink: #000000;
    --arch-ink-muted: #525252;
    --arch-ink-soft: #737373;
    --arch-ink-light: #d4d4d4;
    --arch-border-light: rgba(0, 0, 0, 0.14);
    --arch-border-dark: rgba(255, 255, 255, 0.18);
    --arch-danger: #d9381e;
}

/* Base Architectural Overrides */
body.arch-theme {
    background-color: var(--arch-white) !important;
    color: var(--arch-ink) !important;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

body.arch-theme ::selection {
    background: rgba(0, 0, 0, 0.14);
    color: #000000;
}

/* Strict 0px Architectural Geometry & Zero Neon Glow Shadows */
body.arch-theme .arch-sharp,
body.arch-theme .arch-card-light,
body.arch-theme .arch-card-dark,
body.arch-theme .arch-part-card,
body.arch-theme .arch-err-item,
body.arch-theme .industrial-card,
body.arch-theme .glass-card-dark,
body.arch-theme .fin-panel,
body.arch-theme .fin-summary,
body.arch-theme .fin-mod-btn,
body.arch-theme .fin-chip-btn,
body.arch-theme .fin-addon,
body.arch-theme .fin-cta,
body.arch-theme .fin-select,
body.arch-theme .arch-btn-solid-white,
body.arch-theme .arch-btn-outline-white,
body.arch-theme .arch-btn-solid-black,
body.arch-theme .arch-btn-outline-black,
body.arch-theme .wa-fab,
body.arch-theme .wa-panel,
body.arch-theme .wa-panel button,
body.arch-theme .wa-panel input,
body.arch-theme #quoteDrawer,
body.arch-theme #quoteDrawer button,
body.arch-theme .nav-search-btn,
body.arch-theme .series-btn,
body.arch-theme .fleet-btn,
body.arch-theme input,
body.arch-theme select,
body.arch-theme textarea,
body.arch-theme #toast {
    border-radius: 0px !important;
    box-shadow: none !important;
}

/* Typography Alignment */
body.arch-theme h1,
body.arch-theme h2,
body.arch-theme h3,
body.arch-theme .font-display {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.02em;
}

body.arch-theme .arch-h1 {
    font-weight: 300 !important;
    line-height: 1.08 !important;
    color: #ffffff !important;
}

body.arch-theme .arch-h1-strong {
    font-weight: 500 !important;
    color: #ffffff !important;
    display: block;
}

body.arch-theme .arch-h2 {
    font-weight: 300 !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

body.arch-theme .font-mono-tech,
body.arch-theme .font-mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace !important;
}

body.arch-theme .arch-eyebrow-light {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #525252;
    display: block;
}

body.arch-theme .arch-eyebrow-dark {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a3a3a3;
    display: block;
}

/* Monochrome Architectural Grid Backgrounds */
.bg-arch-grid-light {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.bg-arch-grid-dark {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ==========================================================================
   CRISP WHITE STICKY HEADER (.arch-header)
   ========================================================================== */
.arch-header {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
    backdrop-filter: none !important;
}

.arch-header-inner {
    height: 64px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 1535px) {
    .arch-header .nav-search-label {
        display: none !important;
    }
    .arch-header .nav-desktop {
        gap: 5px !important;
    }
    .arch-header .nav-link {
        font-size: 11.5px !important;
    }
}

.arch-brand-mark {
    width: 36px;
    height: 36px;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.nav-brand:hover .arch-brand-mark {
    background-color: #262626;
}

.arch-brand-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #000000;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.arch-brand-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    color: #737373;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
}

.arch-header .nav-desktop {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1380px) {
    .arch-header {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .arch-brand-sub {
        display: none !important;
    }
    .arch-header .nav-search-btn kbd {
        display: none !important;
    }
    .arch-header .nav-desktop {
        gap: 8px;
    }
    .arch-header .nav-link {
        font-size: 11px !important;
    }
    .arch-header-cta {
        padding: 6px 8px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.04em !important;
    }
}

@media (max-width: 639px) {
    .arch-header {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .arch-header-inner {
        gap: 6px !important;
    }
    .arch-brand-mark {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
    .arch-brand-title {
        font-size: 11.5px;
        letter-spacing: 0.06em;
    }
    .nav-actions {
        gap: 4px !important;
    }
    .arch-header .nav-search-btn {
        padding: 5px 6px !important;
    }
    .arch-rfq-btn {
        padding: 5px 7px !important;
        gap: 4px;
        font-size: 10px;
    }
    .arch-lang-bar {
        padding: 1px !important;
    }
    .arch-lang-btn {
        padding: 3px 4px !important;
        font-size: 9px !important;
    }
    .arch-mob-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 1279px) {
    .arch-header .nav-desktop {
        display: none !important;
    }
}

.arch-header .nav-link {
    color: #404040 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    padding: 4px 2px !important;
    background: transparent !important;
    border: 0 !important;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.arch-header .nav-link:hover {
    color: #000000 !important;
    background: transparent !important;
}

.arch-header .nav-search-btn {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.22) !important;
    color: #000000 !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    gap: 5px !important;
}

.arch-header .nav-search-btn:hover {
    background: #f5f5f5 !important;
    border-color: #000000 !important;
}

.arch-header .nav-search-btn kbd {
    background: #f5f5f5 !important;
    color: #404040 !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 0px !important;
}

.arch-rfq-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    padding: 6px 10px;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.arch-rfq-btn:hover {
    background: #262626;
}

.arch-rfq-count {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 1px 5px;
    font-size: 10px;
}

/* Monochrome 5-Language Switcher */
.arch-lang-bar {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background-color: #f5f5f5;
    padding: 2px;
}

.arch-lang-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 6px;
    color: #525252;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}

.arch-lang-btn:hover {
    color: #000000;
}

.arch-lang-active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.arch-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
    padding: 7px 12px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.arch-header-cta:hover {
    background: #000000;
    color: #ffffff;
}

@media (max-width: 1023px) {
    .arch-header-cta {
        display: none !important;
    }
}

.arch-mob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #ffffff;
    color: #000000;
    cursor: pointer;
}

@media (min-width: 1280px) {
    .arch-mob-btn {
        display: none !important;
    }
}

.arch-mob-drawer {
    background-color: #090a0d !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.arch-mob-drawer a {
    color: #e5e5e5 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.arch-mob-drawer a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 1439px) {
    .arch-header .nav-search-label {
        display: none !important;
    }
}

/* ==========================================================================
   ALTERNATING MONOCHROME SECTION BANDS
   ========================================================================== */
.arch-band-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.arch-band-dark {
    background-color: #090a0d !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.arch-band-white {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.arch-band-light {
    background-color: #f7f7f7 !important;
    color: #000000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.arch-band-white h1,
.arch-band-white h2,
.arch-band-white h3,
.arch-band-white h4,
.arch-band-light h1,
.arch-band-light h2,
.arch-band-light h3,
.arch-band-light h4 {
    color: #000000;
}

.arch-text-muted-light {
    color: #525252;
}

.arch-text-muted-dark {
    color: #a3a3a3;
}

/* ==========================================================================
   FULL-BLEED HERO STAGE & KPI STRIP
   ========================================================================== */
.arch-hero-stage {
    position: relative;
    min-height: 76vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

.arch-hero-pill {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(0, 0, 0, 0.78);
    padding: 6px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: #e5e5e5;
    text-transform: uppercase;
}

.arch-hero-search {
    background-color: rgba(9, 10, 13, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 12px;
}

.arch-hero-search input {
    color: #ffffff !important;
    background: transparent !important;
}

.arch-hero-search input::placeholder {
    color: #a3a3a3 !important;
}

.arch-hero-quick-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #d4d4d4;
    padding: 3px 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.arch-hero-quick-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.arch-kpi-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background-color: #090a0d;
}

.arch-kpi-cell {
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.arch-kpi-cell:last-child {
    border-right: 0;
}

@media (max-width: 639px) {
    .arch-kpi-cell {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Compliance Policy Strip */
.arch-policy-strip {
    background-color: #f7f7f7;
    color: #000000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.arch-danger-text {
    color: var(--arch-danger) !important;
}

/* ==========================================================================
   ARCHITECTURAL BUTTONS, BADGES & HAIRLINE GRIDS
   ========================================================================== */
.arch-btn-solid-white {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #000000 !important;
    padding: 13px 22px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
}

.arch-btn-solid-white:hover {
    background-color: #000000;
    color: #ffffff !important;
}

.arch-btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #ffffff;
    background-color: rgba(0, 0, 0, 0.65);
    color: #ffffff !important;
    padding: 13px 22px;
    font-size: 11.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
}

.arch-btn-outline-white:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

.arch-btn-solid-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #000000;
    background-color: #000000;
    color: #ffffff !important;
    padding: 11px 18px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
}

.arch-btn-solid-black:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

.arch-btn-outline-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #000000;
    background-color: #ffffff;
    color: #000000 !important;
    padding: 11px 18px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
}

.arch-btn-outline-black:hover {
    background-color: #000000;
    color: #ffffff !important;
}

.arch-badge-black {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
}

.arch-badge-outline-light {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.25);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
}

.arch-badge-outline-dark {
    display: inline-block;
    background-color: #000000;
    color: #e5e5e5;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
}

.arch-badge-danger {
    display: inline-block;
    border: 1px solid var(--arch-danger);
    color: var(--arch-danger);
    background-color: rgba(217, 56, 30, 0.06);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
}

/* Architectural 1px Hairline Divider Grid (Durst Style) */
.arch-grid-hairline-light {
    display: grid;
    gap: 1px;
    background-color: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.arch-grid-hairline-light > * {
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.18s ease;
}

.arch-grid-hairline-light > *:hover {
    background-color: #fafafa;
}

.arch-icon-square-light {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.arch-grid-hairline-light > *:hover .arch-icon-square-light,
.arch-card-light:hover .arch-icon-square-light {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.arch-card-light {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.16);
    color: #000000;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.arch-card-light:hover {
    border-color: #000000;
}

.arch-card-dark {
    background-color: #090a0d;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.arch-card-dark:hover {
    border-color: #ffffff;
}

/* Monochrome TL;DR / Callouts on Light & Dark */
.arch-callout-light {
    background-color: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-left: 3px solid #000000;
    color: #262626;
}

.arch-callout-dark {
    background-color: #090a0d;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 3px solid #ffffff;
    color: #e5e5e5;
}

/* Image Frame on Light & Dark */
.arch-img-frame-light {
    background-color: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.arch-img-frame-dark {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   DYNAMIC CATALOG PARTS & ERROR ACCORDIONS (Light Band Override)
   ========================================================================== */
.arch-part-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.16) !important;
    color: #000000 !important;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.18s ease;
}

.arch-part-card:hover {
    border-color: #000000 !important;
}

.arch-series-btn {
    border: 1px solid rgba(0, 0, 0, 0.18);
    background-color: #ffffff;
    color: #404040;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.arch-series-btn:hover {
    border-color: #000000;
    color: #000000;
}

.arch-series-btn.active {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.arch-input-light {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.24) !important;
    color: #000000 !important;
}

.arch-input-light::placeholder {
    color: #737373 !important;
}

.arch-input-light:focus {
    border-color: #000000 !important;
    outline: none !important;
}

.arch-input-dark {
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.arch-input-dark::placeholder {
    color: #737373 !important;
}

.arch-input-dark:focus {
    border-color: #ffffff !important;
    outline: none !important;
}

/* Error Code Accordions on Crisp White Background */
.arch-err-item {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.16) !important;
    color: #000000 !important;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.arch-err-item:hover,
.arch-err-item.open {
    border-color: #000000 !important;
    background-color: #fafafa !important;
}

.arch-err-item.open .err-chev {
    transform: rotate(180deg);
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* ==========================================================================
   FINANCING CALCULATOR EXPLICIT STYLES (.fin-*)
   ========================================================================== */
.fin-section {
    position: relative;
    background-color: #000000;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 80px 16px;
    overflow: hidden;
}

.fin-panel {
    background-color: #090a0d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 28px;
}

.fin-summary {
    background-color: #090a0d;
    border: 1px solid #ffffff;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fin-select {
    width: 100%;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 12px 14px;
    font-size: 13px;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
}

.fin-select:focus {
    border-color: #ffffff;
    outline: none;
}

.fin-mod-btn {
    padding: 14px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.fin-mod-btn:hover {
    border-color: rgba(255, 255, 255, 0.65);
}

.fin-mod-btn.active {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

.fin-mod-btn.active .fin-mod-badge {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.fin-mod-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #d4d4d4;
}

.fin-chip-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: #000000;
    color: #d4d4d4;
    cursor: pointer;
    transition: all 0.15s ease;
}

.fin-chip-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.fin-chip-btn.active {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

.fin-addon {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.fin-addon:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.fin-addon.active {
    border-color: #ffffff;
    background-color: #000000;
}

.fin-breakdown-box {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
}

.fin-cta {
    width: 100%;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.fin-cta:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Monochrome range input (exact Durst slider — 60fps continuous drag) */
input[type="range"].tech-slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: grab;
    width: 100%;
    height: 24px;
    touch-action: pan-y;
    user-select: none;
}

input[type="range"].tech-slider:active {
    cursor: grabbing;
}

input[type="range"].tech-slider::-webkit-slider-runnable-track {
    height: 2px;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #ffffff var(--fin-pct, 3.1%),
        rgba(255, 255, 255, 0.25) var(--fin-pct, 3.1%),
        rgba(255, 255, 255, 0.25) 100%
    );
}

input[type="range"].tech-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -7px;
    height: 16px;
    width: 16px;
    border-radius: 0px;
    background: #ffffff;
    border: 1px solid #000000;
    transition: transform 0.12s ease;
}

input[type="range"].tech-slider::-webkit-slider-thumb:hover,
input[type="range"].tech-slider:active::-webkit-slider-thumb {
    transform: scale(1.18);
}

input[type="range"].tech-slider::-moz-range-track {
    height: 2px;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #ffffff var(--fin-pct, 3.1%),
        rgba(255, 255, 255, 0.25) var(--fin-pct, 3.1%),
        rgba(255, 255, 255, 0.25) 100%
    );
}

input[type="range"].tech-slider::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 0px;
    background: #ffffff;
    border: 1px solid #000000;
    transition: transform 0.12s ease;
}

/* ==========================================================================
   ARCHITECTURAL FLOATING ENGINEER BUTTON & PANEL
   ========================================================================== */
body.arch-theme .wa-fab {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    padding: 12px 18px !important;
}

body.arch-theme .wa-fab:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

body.arch-theme .wa-fab:hover .wa-fab-sub {
    color: #525252 !important;
}

body.arch-theme .wa-panel {
    background: #090a0d !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
}

/* ==========================================================================
   SUBPAGE MONOCHROME ALIGNMENT (about.html, brokers.html, references.html)
   ========================================================================== */
body.arch-theme .subpage-topbar {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
}

body.arch-theme .subpage-topbar a {
    color: #404040 !important;
}

body.arch-theme .subpage-topbar a:hover {
    color: #000000 !important;
}

body.arch-theme .subpage-topbar .arch-lang-active {
    color: #ffffff !important;
}

body.arch-theme .text-accent {
    color: #000000;
}

body.arch-theme .arch-band-black .text-accent,
body.arch-theme .arch-band-dark .text-accent,
body.arch-theme footer .text-accent {
    color: #ffffff;
}

/* ==========================================================================
   SUBPAGE MONOCHROME DARK MODE (.arch-subpage-dark for about/brokers/references)
   ========================================================================== */
body.arch-theme.arch-subpage-dark {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.arch-theme.arch-subpage-dark header,
body.arch-theme.arch-subpage-dark section,
body.arch-theme.arch-subpage-dark footer {
    border-radius: 0px !important;
}

body.arch-theme.arch-subpage-dark .bg-obsidian,
body.arch-theme.arch-subpage-dark .bg-\[\#06090F\],
body.arch-theme.arch-subpage-dark .bg-\[\#090D16\] {
    background-color: #000000 !important;
    background-image: none !important;
}

body.arch-theme.arch-subpage-dark .bg-slate950,
body.arch-theme.arch-subpage-dark .bg-\[\#0B101B\],
body.arch-theme.arch-subpage-dark .bg-\[\#0E1522\] {
    background-color: #090a0d !important;
    background-image: none !important;
}

body.arch-theme.arch-subpage-dark .industrial-card,
body.arch-theme.arch-subpage-dark .glass-card-dark {
    background: #090a0d !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.arch-theme.arch-subpage-dark .industrial-card:hover {
    border-color: #ffffff !important;
}

body.arch-theme.arch-subpage-dark [class*="rounded-"] {
    border-radius: 0px !important;
}

body.arch-theme.arch-subpage-dark .text-accent,
body.arch-theme.arch-subpage-dark .text-amber-400,
body.arch-theme.arch-subpage-dark .text-amber-300,
body.arch-theme.arch-subpage-dark .text-orange-400,
body.arch-theme.arch-subpage-dark .text-sky-400,
body.arch-theme.arch-subpage-dark .text-sky-300,
body.arch-theme.arch-subpage-dark .text-emerald-400,
body.arch-theme.arch-subpage-dark .text-emerald-300 {
    color: #ffffff !important;
}

body.arch-theme.arch-subpage-dark .bg-accent {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.arch-theme.arch-subpage-dark .bg-amber-500 {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.arch-theme.arch-subpage-dark .fleet-btn {
    border-radius: 0px !important;
}

body.arch-theme .subpage-topbar .text-white\/60,
body.arch-theme .subpage-topbar .text-white\/40,
body.arch-theme .subpage-topbar span {
    color: #404040 !important;
}

body.arch-theme .subpage-topbar a.bg-accent,
body.arch-theme .subpage-topbar .bg-amber-500 {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.arch-theme .subpage-topbar .nav-search-btn {
    background-color: #f7f7f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}

body.arch-theme .arch-header .nav-desktop a,
body.arch-theme .arch-header .nav-link {
    color: #404040 !important;
}

body.arch-theme .arch-header .nav-desktop a:hover,
body.arch-theme .arch-header .nav-link:hover {
    color: #000000 !important;
}

body.arch-theme .arch-header .text-white {
    color: #000000 !important;
}

body.arch-theme .arch-header .bg-amber-500 {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Explicit Footer & Monochrome Utility Safety Fallbacks */
.bg-black { background-color: #000000; }
.bg-white { background-color: #ffffff; }
.text-black { color: #000000; }
.text-white { color: #ffffff; }

.arch-footer-upper {
    background-color: #000000;
    color: #d4d4d4;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 56px 16px;
}

.arch-footer-upper-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.arch-footer-lower {
    background-color: #ffffff;
    color: #000000;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    padding: 40px 16px;
}

.arch-footer-lower-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.arch-footer-legal-meta {
    text-align: left;
}

@media (min-width: 768px) {
    .arch-footer-upper,
    .arch-footer-lower {
        padding-left: 40px;
        padding-right: 40px;
    }
    .arch-footer-upper-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .arch-footer-lower-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
    .arch-footer-legal-meta {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .arch-footer-upper,
    .arch-footer-lower {
        padding-left: 64px;
        padding-right: 64px;
    }
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
    .lg\:col-span-6 {
        grid-column: span 6 / span 6 !important;
    }
}

@media (min-width: 640px) {
    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

/* ==========================================================================
   MODEL HUBS GRIDS, UNCOMPILED UTILITY FALLBACKS & TOP SWITCHER BAR
   ========================================================================== */
.bg-\[\#090A0D\] {
    background-color: #090A0D;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.arch-hub-grid-6,
.arch-hub-grid-5 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 640px) {
    .arch-hub-grid-6,
    .arch-hub-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .arch-hub-grid-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .arch-hub-grid-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.arch-model-pill {
    display: block;
    padding: 12px;
    background-color: #090A0D;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.arch-model-pill:hover {
    border-color: #ffffff;
    background-color: #14161d;
}

.arch-model-nav-strip {
    background-color: #090A0D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 16px;
}

@media (min-width: 768px) {
    .arch-model-nav-strip {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1024px) {
    .arch-model-nav-strip {
        padding-left: 64px;
        padding-right: 64px;
    }
}

.arch-model-nav-item {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: #000000;
    color: #d4d4d4;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.arch-model-nav-item:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.arch-model-nav-item.active {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: 700;
}
