/*
 * AHO-MGM 1.0.122 — NextGen UI Stability / Premium Vector Design System
 * Final loaded stylesheet. It intentionally neutralizes accumulated legacy
 * presentation rules while preserving application markup and behavior.
 */

:root {
    --ui117-canvas: #f4f7f9;
    --ui117-canvas-2: #eef3f6;
    --ui117-surface: rgba(255,255,255,.96);
    --ui117-surface-solid: #ffffff;
    --ui117-surface-soft: #f8fafb;
    --ui117-surface-muted: #f1f5f7;
    --ui117-ink: #122536;
    --ui117-ink-2: #334b5d;
    --ui117-muted: #6a7f8f;
    --ui117-faint: #90a0ad;
    --ui117-line: #dbe5ea;
    --ui117-line-strong: #c9d7df;
    --ui117-accent: #087f78;
    --ui117-accent-strong: #046a64;
    --ui117-accent-soft: #e7f6f3;
    --ui117-blue: #3568e6;
    --ui117-blue-soft: #edf2ff;
    --ui117-purple: #7458df;
    --ui117-purple-soft: #f1edff;
    --ui117-orange: #d97821;
    --ui117-orange-soft: #fff4e8;
    --ui117-red: #c13a4b;
    --ui117-red-soft: #fff0f2;
    --ui117-green: #16845f;
    --ui117-green-soft: #eaf8f2;
    --ui117-shadow-xs: 0 1px 2px rgba(18,37,54,.04);
    --ui117-shadow-sm: 0 8px 24px rgba(18,37,54,.055);
    --ui117-shadow-md: 0 18px 48px rgba(18,37,54,.085);
    --ui117-shadow-lg: 0 28px 70px rgba(18,37,54,.12);
    --ui117-focus: 0 0 0 4px rgba(8,127,120,.13);
    --ui117-r8: 8px;
    --ui117-r10: 10px;
    --ui117-r12: 12px;
    --ui117-r16: 16px;
    --ui117-r20: 20px;
    --ui117-r24: 24px;
    --ui117-sidebar: 228px;
    --ui117-shell-gap: 16px;
    --ui117-shell-pad: 16px;
}

:root[data-theme="dark"],
:root[data-theme-mode="dark"] {
    --ui117-canvas: #0e171e;
    --ui117-canvas-2: #111e27;
    --ui117-surface: rgba(22,36,47,.96);
    --ui117-surface-solid: #16242f;
    --ui117-surface-soft: #1a2a36;
    --ui117-surface-muted: #20323f;
    --ui117-ink: #f4f8fa;
    --ui117-ink-2: #d4dfe6;
    --ui117-muted: #a2b3bf;
    --ui117-faint: #7f94a2;
    --ui117-line: #2c424f;
    --ui117-line-strong: #3a5667;
    --ui117-accent: #62d3c9;
    --ui117-accent-strong: #8ae6df;
    --ui117-accent-soft: #123d3a;
    --ui117-blue: #86a8ff;
    --ui117-blue-soft: #1a3156;
    --ui117-purple: #baa8ff;
    --ui117-purple-soft: #2d2750;
    --ui117-orange: #f2ad6b;
    --ui117-orange-soft: #422e1b;
    --ui117-red: #ff8693;
    --ui117-red-soft: #44242b;
    --ui117-green: #69d4a8;
    --ui117-green-soft: #17392f;
    --ui117-shadow-xs: 0 1px 2px rgba(0,0,0,.18);
    --ui117-shadow-sm: 0 10px 28px rgba(0,0,0,.20);
    --ui117-shadow-md: 0 22px 54px rgba(0,0,0,.28);
    --ui117-shadow-lg: 0 34px 80px rgba(0,0,0,.34);
}

/* ========================================================================== */
/* 01 · Hard reset of accumulated shell regressions                           */
/* ========================================================================== */
html, body { min-width: 0 !important; }
html { background: var(--ui117-canvas) !important; }
html body {
    margin: 0 !important;
    color: var(--ui117-ink) !important;
    background:
        radial-gradient(circle at 78% -10%, rgba(53,104,230,.07), transparent 34rem),
        radial-gradient(circle at 12% 7%, rgba(8,127,120,.06), transparent 28rem),
        var(--ui117-canvas) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
}
html body *, html body *::before, html body *::after { box-sizing: border-box; }

html body .app-shell {
    display: grid !important;
    grid-template-columns: var(--ui117-sidebar) minmax(0, 1fr) !important;
    gap: var(--ui117-shell-gap) !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: var(--ui117-shell-pad) !important;
    background: transparent !important;
}
html body .app-main,
html body.sidebar-collapsed .app-main {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: calc(100dvh - (var(--ui117-shell-pad) * 2)) !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .content {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 44px !important;
    background: transparent !important;
}
html body .content::before,
html body.page-entry .content::before { display: none !important; }
html body .content > * { min-width: 0; }
html body .aho-workspace,
html body .aho-entry-workspace,
html body .iw-shell,
html body .ew-shell,
html body .le-shell { width: 100% !important; max-width: none !important; margin: 0 !important; }

/* ========================================================================== */
/* 02 · Sidebar                                                               */
/* ========================================================================== */
html body .sidebar {
    position: sticky !important;
    inset: var(--ui117-shell-pad) auto auto 0 !important;
    z-index: 80 !important;
    width: 100% !important;
    height: calc(100dvh - (var(--ui117-shell-pad) * 2)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(201,215,223,.9) !important;
    border-radius: var(--ui117-r24) !important;
    color: var(--ui117-ink) !important;
    background: var(--ui117-surface) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
    backdrop-filter: blur(24px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.08) !important;
}
html body .sidebar__brand {
    min-height: 76px !important;
    padding: 13px 14px !important;
    border-bottom: 1px solid var(--ui117-line) !important;
}
html body .brand { gap: 11px !important; color: var(--ui117-ink) !important; text-decoration: none !important; }
html body .brand__mark,
html body .brand__logo {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 13px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-xs) !important;
}
html body .brand__mark svg { width: 21px !important; height: 21px !important; }
html body .brand__text { min-width: 0 !important; }
html body .brand__text strong { color: var(--ui117-ink) !important; font-size: .96rem !important; font-weight: 800 !important; letter-spacing: -.015em !important; }
html body .brand__text small { color: var(--ui117-muted) !important; font-size: .70rem !important; font-weight: 600 !important; }
html body .sidebar__collapse { display: none !important; }
html body .sidebar__navigation {
    height: calc(100% - 76px - 64px) !important;
    padding: 12px 10px 16px !important;
    overflow: auto !important;
    scrollbar-width: thin !important;
}
html body .nav-section { margin: 0 !important; padding: 0 !important; }
html body .nav-section + .nav-section {
    margin-top: 9px !important;
    padding-top: 9px !important;
    border-top: 1px solid var(--ui117-line) !important;
}
html body .nav-section__label { display: none !important; }
html body .sidebar .nav-item {
    display: flex !important;
    align-items: center !important;
    min-height: 43px !important;
    margin: 2px 0 !important;
    padding: 0 10px !important;
    gap: 10px !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    color: var(--ui117-ink-2) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: .84rem !important;
    font-weight: 690 !important;
    letter-spacing: -.005em !important;
    text-decoration: none !important;
    transform: none !important;
    transition: background .16s ease, border-color .16s ease, color .16s ease !important;
}
html body .sidebar .nav-item:hover {
    color: var(--ui117-ink) !important;
    border-color: var(--ui117-line) !important;
    background: var(--ui117-surface-soft) !important;
}
html body .sidebar .nav-item.is-active,
html body .sidebar .nav-item[aria-current="page"] {
    color: var(--ui117-accent-strong) !important;
    border-color: rgba(8,127,120,.22) !important;
    background: linear-gradient(90deg, var(--ui117-accent-soft), rgba(231,246,243,.32)) !important;
    box-shadow: inset 3px 0 0 var(--ui117-accent) !important;
}
html body .sidebar .nav-item__icon {
    display: grid !important;
    place-items: center !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 9px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: none !important;
}
html body .sidebar .nav-item.is-active .nav-item__icon,
html body .sidebar .nav-item[aria-current="page"] .nav-item__icon {
    border-color: rgba(8,127,120,.20) !important;
    color: var(--ui117-accent) !important;
    background: #fff !important;
}
html body .sidebar .nav-item__icon svg { width: 17px !important; height: 17px !important; }
html body .sidebar__status,
html body .system-status-mini {
    min-height: 54px !important;
    margin: 0 10px 10px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--ui117-surface-soft), var(--ui117-accent-soft)) !important;
    box-shadow: none !important;
}

/* ========================================================================== */
/* 03 · Topbar                                                                */
/* ========================================================================== */
html body .topbar {
    position: sticky !important;
    top: var(--ui117-shell-pad) !important;
    z-index: 70 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 68px !important;
    margin: 0 0 18px !important;
    padding: 0 14px 0 18px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 19px !important;
    background: rgba(255,255,255,.93) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
    backdrop-filter: blur(22px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.08) !important;
}
:root[data-theme="dark"] body .topbar,
:root[data-theme-mode="dark"] body .topbar { background: rgba(22,36,47,.94) !important; }
html body .topbar__identity { min-width: 128px !important; }
html body .topbar__eyebrow { color: var(--ui117-faint) !important; font-size: .62rem !important; font-weight: 760 !important; letter-spacing: .04em !important; text-transform: uppercase !important; }
html body .topbar__title strong { color: var(--ui117-ink) !important; font-size: .92rem !important; font-weight: 800 !important; letter-spacing: -.01em !important; }
html body .topbar-search {
    min-height: 42px !important;
    width: min(620px, 48vw) !important;
    max-width: 620px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 12px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: none !important;
}
html body .topbar-search:focus-within { border-color: var(--ui117-accent) !important; box-shadow: var(--ui117-focus) !important; }
html body .topbar-search input { min-height: 40px !important; border: 0 !important; box-shadow: none !important; background: transparent !important; font-size: .84rem !important; }
html body .theme-switch,
html body .notification-button,
html body .profile-trigger {
    min-height: 40px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 11px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: none !important;
}

/* ========================================================================== */
/* 04 · Universal typography, controls and surfaces                           */
/* ========================================================================== */
html body h1, html body h2, html body h3, html body h4 { color: var(--ui117-ink) !important; text-wrap: balance; }
html body h1 { letter-spacing: -.035em !important; }
html body h2 { letter-spacing: -.025em !important; }
html body p { color: var(--ui117-muted); }
html body a { text-underline-offset: 2px; }

html body :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    min-height: 46px !important;
    padding: 0 13px !important;
    border: 1px solid var(--ui117-line-strong) !important;
    border-radius: 10px !important;
    color: var(--ui117-ink) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: none !important;
    font-size: .88rem !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    font-family: inherit !important;
    outline: none !important;
}
html body textarea { min-height: 110px !important; padding-block: 11px !important; resize: vertical !important; }
html body :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: var(--ui117-accent) !important;
    box-shadow: var(--ui117-focus) !important;
}
html body input[type="checkbox"], html body input[type="radio"] { accent-color: var(--ui117-accent) !important; }
html body label { color: var(--ui117-ink-2) !important; }

html body .button,
html body button.button {
    min-height: 42px !important;
    padding: 0 15px !important;
    border: 1px solid var(--ui117-line-strong) !important;
    border-radius: 10px !important;
    color: var(--ui117-ink-2) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: none !important;
    font-size: .82rem !important;
    font-weight: 760 !important;
    transform: none !important;
    transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease !important;
}
html body .button:hover { border-color: rgba(8,127,120,.34) !important; color: var(--ui117-ink) !important; background: var(--ui117-surface-soft) !important; transform: none !important; }
html body .button--primary {
    color: #fff !important;
    border-color: var(--ui117-accent) !important;
    background: linear-gradient(135deg, var(--ui117-accent), var(--ui117-accent-strong)) !important;
    box-shadow: 0 9px 22px rgba(8,127,120,.20) !important;
}
html body .button--primary:hover { color: #fff !important; border-color: var(--ui117-accent-strong) !important; background: var(--ui117-accent-strong) !important; }

html body :where(.card, .aho-panel, .stat113-panel) {
    border: 1px solid var(--ui117-line) !important;
    border-radius: var(--ui117-r20) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body .card__header { padding: 20px 22px 14px !important; border-bottom: 1px solid var(--ui117-line) !important; }
html body .card__body { padding: 20px 22px !important; }
html body .card__title { color: var(--ui117-ink) !important; font-size: 1rem !important; font-weight: 800 !important; }
html body .aho-eyebrow,
html body .stat113-eyebrow,
html body .iw-kicker {
    color: var(--ui117-accent) !important;
    font-size: .68rem !important;
    font-weight: 820 !important;
    letter-spacing: .085em !important;
    text-transform: uppercase !important;
}

html body .alert {
    border-radius: 12px !important;
    border-width: 1px !important;
    box-shadow: none !important;
}
html body .page-header {
    margin: 0 0 18px !important;
    padding: 24px 26px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: var(--ui117-r20) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body .page-header h1 { margin: 4px 0 4px !important; font-size: clamp(1.65rem, 1.35rem + .7vw, 2.2rem) !important; }
html body .page-header p { margin: 0 !important; font-size: .88rem !important; }

/* ========================================================================== */
/* 05 · Analytics — visible, wide, executive-grade                            */
/* ========================================================================== */
html body.page-intelligence-workspace .content { padding-top: 0 !important; }
html body.page-intelligence-workspace .iw-shell { display: grid !important; gap: 16px !important; }
html body.page-intelligence-workspace .iw-command-deck {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr) !important;
    gap: 18px 28px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 26px 28px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: var(--ui117-r24) !important;
    background:
        radial-gradient(circle at 88% 5%, rgba(53,104,230,.10), transparent 18rem),
        linear-gradient(145deg, rgba(8,127,120,.06), transparent 46%),
        var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-md) !important;
    overflow: visible !important;
}
html body.page-intelligence-workspace .iw-command-deck__identity {
    display: block !important;
    min-width: 0 !important;
}
html body.page-intelligence-workspace .iw-command-deck__identity h1 {
    margin: 4px 0 4px !important;
    color: var(--ui117-ink) !important;
    font-size: clamp(2rem, 1.55rem + 1vw, 3rem) !important;
    line-height: 1 !important;
    font-weight: 820 !important;
    letter-spacing: -.05em !important;
}
html body.page-intelligence-workspace .iw-command-deck__identity p {
    display: block !important;
    max-width: 72ch !important;
    margin: 10px 0 0 !important;
    color: var(--ui117-muted) !important;
    font-size: .88rem !important;
    line-height: 1.55 !important;
}
html body.page-intelligence-workspace .iw-title-line { display: flex !important; align-items: center !important; gap: 12px !important; }
html body.page-intelligence-workspace .iw-live {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 9px !important;
    border: 1px solid rgba(22,132,95,.18) !important;
    border-radius: 999px !important;
    color: var(--ui117-green) !important;
    background: var(--ui117-green-soft) !important;
    font-size: .69rem !important;
    font-weight: 760 !important;
}
html body.page-intelligence-workspace .iw-live i { width: 7px !important; height: 7px !important; border-radius: 50% !important; background: var(--ui117-green) !important; box-shadow: 0 0 0 4px rgba(22,132,95,.10) !important; }
html body.page-intelligence-workspace .iw-command {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 50px !important;
    padding: 0 11px 0 14px !important;
    border: 1px solid var(--ui117-line-strong) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: var(--ui117-shadow-xs) !important;
}
html body.page-intelligence-workspace .iw-command input { min-height: 46px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.page-intelligence-workspace .iw-command__spark { color: var(--ui117-purple) !important; font-size: 1.1rem !important; }
html body.page-intelligence-workspace .iw-command kbd { border: 1px solid var(--ui117-line) !important; border-radius: 7px !important; color: var(--ui117-faint) !important; background: var(--ui117-surface-soft) !important; }
html body.page-intelligence-workspace .iw-context-bar {
    position: static !important;
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--ui117-line) !important;
    border-radius: 0 !important;
    color: var(--ui117-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
html body.page-intelligence-workspace .iw-context-bar > span,
html body.page-intelligence-workspace .iw-year-inline,
html body.page-intelligence-workspace .iw-filter-popover > summary {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 9px !important;
    color: var(--ui117-ink-2) !important;
    background: var(--ui117-surface-soft) !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
}
html body.page-intelligence-workspace .iw-context-bar > span { border-right: 1px solid var(--ui117-line) !important; }
html body.page-intelligence-workspace .iw-year-inline select { min-height: 30px !important; padding: 0 26px 0 5px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.page-intelligence-workspace .iw-modes {
    position: sticky !important;
    top: calc(var(--ui117-shell-pad) + 78px) !important;
    z-index: 45 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6px !important;
    overflow-x: auto !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
    backdrop-filter: blur(18px) !important;
}
html body.page-intelligence-workspace .iw-modes button {
    min-height: 38px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: var(--ui117-muted) !important;
    background: transparent !important;
    font-size: .76rem !important;
    font-weight: 740 !important;
}
html body.page-intelligence-workspace .iw-modes button:hover { color: var(--ui117-ink) !important; background: var(--ui117-surface-muted) !important; }
html body.page-intelligence-workspace .iw-modes button[aria-current="page"] { color: #fff !important; background: var(--ui117-accent) !important; box-shadow: 0 6px 14px rgba(8,127,120,.16) !important; }
html body.page-intelligence-workspace .iw-canvas { min-width: 0 !important; }
html body.page-intelligence-workspace .iw-panel { margin: 0 !important; }
html body.page-intelligence-workspace .iw-panel.is-active { display: block !important; }
html body.page-intelligence-workspace .iw-metric-strip {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0,1fr)) !important;
    gap: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
html body.page-intelligence-workspace .iw-metric {
    position: relative !important;
    min-width: 0 !important;
    min-height: 138px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 18px !important;
    overflow: hidden !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 18px !important;
    color: var(--ui117-ink) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease !important;
}
html body.page-intelligence-workspace .iw-metric::before {
    content: "" !important;
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, var(--ui117-accent-soft), var(--ui117-blue-soft)) !important;
    opacity: 1 !important;
    filter: none !important;
}
html body.page-intelligence-workspace .iw-metric::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: var(--ui117-accent) !important;
    opacity: 1 !important;
    transform: none !important;
}
html body.page-intelligence-workspace .iw-metric:nth-child(2)::after { background: var(--ui117-blue) !important; }
html body.page-intelligence-workspace .iw-metric:nth-child(3)::after { background: var(--ui117-purple) !important; }
html body.page-intelligence-workspace .iw-metric:nth-child(4)::after { background: var(--ui117-orange) !important; }
html body.page-intelligence-workspace .iw-metric:nth-child(5)::after { background: #2b8bbf !important; }
html body.page-intelligence-workspace .iw-metric:nth-child(6)::after { background: #6a78d1 !important; }
html body.page-intelligence-workspace .iw-metric:nth-child(7)::after { background: #1e9b82 !important; }
html body.page-intelligence-workspace .iw-metric:hover { transform: translateY(-2px) !important; border-color: rgba(8,127,120,.24) !important; box-shadow: var(--ui117-shadow-md) !important; }
html body.page-intelligence-workspace .iw-metric__value { color: var(--ui117-ink) !important; font-size: clamp(1.65rem, 1.35rem + .5vw, 2.1rem) !important; font-weight: 830 !important; letter-spacing: -.045em !important; line-height: 1 !important; }
html body.page-intelligence-workspace .iw-metric__label { margin-top: 9px !important; color: var(--ui117-ink-2) !important; font-size: .75rem !important; font-weight: 760 !important; }
html body.page-intelligence-workspace .iw-metric__delta {
    width: max-content !important;
    margin-top: 9px !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    color: var(--ui117-green) !important;
    background: var(--ui117-green-soft) !important;
    font-size: .66rem !important;
    font-weight: 760 !important;
}
html body.page-intelligence-workspace .iw-metric__delta.is-down { color: var(--ui117-red) !important; background: var(--ui117-red-soft) !important; }
html body.page-intelligence-workspace .iw-stage {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 310px !important;
    gap: 14px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}
html body.page-intelligence-workspace .iw-stage__main,
html body.page-intelligence-workspace .iw-insight-rail {
    min-width: 0 !important;
    padding: 22px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 20px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body.page-intelligence-workspace .iw-insight-rail { border-left: 1px solid var(--ui117-line) !important; }
html body.page-intelligence-workspace .iw-section-head { margin: 0 0 14px !important; }
html body.page-intelligence-workspace .iw-section-head h2 { margin: 4px 0 0 !important; color: var(--ui117-ink) !important; font-size: 1.28rem !important; font-weight: 810 !important; letter-spacing: -.025em !important; }
html body.page-intelligence-workspace .iw-visual-intent { gap: 4px !important; }
html body.page-intelligence-workspace .iw-visual-intent :is(button,a) { min-height: 32px !important; padding: 0 9px !important; border-radius: 8px !important; color: var(--ui117-muted) !important; font-size: .69rem !important; }
html body.page-intelligence-workspace .iw-visual-intent .is-active { color: var(--ui117-accent-strong) !important; background: var(--ui117-accent-soft) !important; }
html body.page-intelligence-workspace .iw-trend-wrap {
    min-height: 390px !important;
    padding: 14px 10px 4px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 16px !important;
    background:
        linear-gradient(rgba(18,37,54,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18,37,54,.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(8,127,120,.025), transparent 55%),
        var(--ui117-surface-soft) !important;
    background-size: 100% 44px, 64px 100%, auto, auto !important;
}
html body.page-intelligence-workspace .iw-trend-canvas { width: 100% !important; height: 360px !important; min-height: 320px !important; background: transparent !important; }
html body.page-intelligence-workspace .iw-month-rail { margin-top: 12px !important; border-top: 0 !important; gap: 4px !important; }
html body.page-intelligence-workspace .iw-month-rail a { padding: 9px 4px !important; border: 1px solid transparent !important; border-radius: 9px !important; }
html body.page-intelligence-workspace .iw-month-rail a:hover { border-color: var(--ui117-line) !important; background: var(--ui117-surface-soft) !important; }
html body.page-intelligence-workspace .iw-rail-section + .iw-rail-section { margin-top: 18px !important; padding-top: 18px !important; border-top: 1px solid var(--ui117-line) !important; }
html body.page-intelligence-workspace .iw-signal,
html body.page-intelligence-workspace .iw-contribution {
    margin-top: 8px !important;
    padding: 12px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 12px !important;
    background: var(--ui117-surface-soft) !important;
    text-decoration: none !important;
}
html body.page-intelligence-workspace .iw-signal + .iw-signal,
html body.page-intelligence-workspace .iw-contribution + .iw-contribution { margin-top: 7px !important; }
html body.page-intelligence-workspace .iw-signal strong { font-size: .92rem !important; }
html body.page-intelligence-workspace .iw-filter-sheet {
    z-index: 100 !important;
    padding: 20px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 18px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-lg) !important;
}
html body.page-intelligence-workspace .iw-filter-form { grid-template-columns: repeat(4, minmax(150px,1fr)) !important; gap: 12px !important; }
html body.page-intelligence-workspace .iw-filter-form label { color: var(--ui117-muted) !important; font-size: .68rem !important; }

/* ========================================================================== */
/* 06 · Dashboard                                                             */
/* ========================================================================== */
html body.page-dashboard .ew-shell { display: grid !important; gap: 14px !important; }
html body.page-dashboard .ew-controlbar {
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 17px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body.page-dashboard .ew-metrics {
    display: grid !important;
    grid-template-columns: repeat(6,minmax(0,1fr)) !important;
    gap: 11px !important;
    padding: 0 !important;
    border: 0 !important;
}
html body.page-dashboard .ew-metric {
    min-height: 148px !important;
    padding: 18px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 18px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body.page-dashboard .ew-metric:hover { transform: translateY(-2px) !important; box-shadow: var(--ui117-shadow-md) !important; }
html body.page-dashboard .ew-metric__visual { width: 40px !important; height: 40px !important; border-radius: 12px !important; background: linear-gradient(135deg,var(--ui117-accent-soft),var(--ui117-blue-soft)) !important; }
html body.page-dashboard .ew-metric__visual img { width: 34px !important; height: 34px !important; filter: none !important; }
html body.page-dashboard .ew-metric > strong { margin-top: 17px !important; color: var(--ui117-ink) !important; font-size: 1.8rem !important; font-weight: 830 !important; }
html body.page-dashboard .ew-grid { display: grid !important; grid-template-columns: minmax(0,1fr) 320px !important; gap: 14px !important; padding: 0 !important; }
html body.page-dashboard .ew-trend,
html body.page-dashboard .ew-briefing,
html body.page-dashboard .ew-actions {
    padding: 22px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 20px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body.page-dashboard .ew-briefing { border-left: 1px solid var(--ui117-line) !important; }
html body.page-dashboard .ew-actions { grid-template-columns: 240px minmax(0,1fr) !important; gap: 24px !important; }
html body.page-dashboard .ew-actions nav { gap: 8px !important; }
html body.page-dashboard .ew-actions nav a { min-height: 54px !important; padding: 0 12px !important; border: 1px solid var(--ui117-line) !important; border-radius: 11px !important; background: var(--ui117-surface-soft) !important; }

/* ========================================================================== */
/* 07 · Entry forms                                                           */
/* ========================================================================== */
html body.page-entry .content { padding-top: 0 !important; }
html body.page-entry .aho-entry-workspace,
html body.page-entry .aho-entry-form,
html body.page-entry .aho-entry-layout,
html body.page-entry .aho-entry-stage { width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
html body.page-entry .aho-entry-layout,
html body.page-entry .aho-entry-layout--single,
html body.page-entry .aho-entry-stage { display: block !important; grid-template-columns: none !important; }
html body.page-entry .aho-entry-statusdeck { display: none !important; }
html body.page-entry .aho-entry-premium-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    min-height: 112px !important;
    margin: 0 0 14px !important;
    padding: 22px 24px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 90% 0, rgba(8,127,120,.09), transparent 19rem),
        var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-md) !important;
}
html body.page-entry .aho-entry-premium-head__main { display: flex !important; align-items: center !important; gap: 16px !important; min-width: 0 !important; }
html body.page-entry .aho-entry-premium-head__icon { width: 54px !important; min-width: 54px !important; height: 54px !important; border: 0 !important; border-radius: 16px !important; color: #fff !important; background: linear-gradient(145deg,var(--ui117-accent),#159f94) !important; box-shadow: 0 12px 24px rgba(8,127,120,.22) !important; }
html body.page-entry .aho-entry-premium-head__icon svg { width: 25px !important; height: 25px !important; }
html body.page-entry .aho-entry-premium-head__eyebrow { color: var(--ui117-accent) !important; font-size: .66rem !important; }
html body.page-entry .aho-entry-premium-head h1 { margin: 3px 0 4px !important; font-size: clamp(1.65rem,1.35rem + .5vw,2.1rem) !important; font-weight: 840 !important; letter-spacing: -.04em !important; }
html body.page-entry .aho-entry-premium-head p { margin: 0 !important; color: var(--ui117-muted) !important; font-size: .83rem !important; }
html body.page-entry .aho-entry-chip { min-height: 32px !important; padding: 0 10px !important; border: 1px solid var(--ui117-line) !important; border-radius: 999px !important; color: var(--ui117-ink-2) !important; background: var(--ui117-surface-soft) !important; font-size: .7rem !important; }

html body.page-entry .aho-entry-quicknav {
    position: sticky !important;
    top: calc(var(--ui117-shell-pad) + 78px) !important;
    z-index: 44 !important;
    display: grid !important;
    grid-template-columns: repeat(7,minmax(0,1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 6px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
    backdrop-filter: blur(18px) !important;
}
html body.page-entry .aho-entry-quicknav a {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: var(--ui117-muted) !important;
    background: transparent !important;
    font-size: .69rem !important;
    font-weight: 740 !important;
    text-decoration: none !important;
}
html body.page-entry .aho-entry-quicknav a:hover { color: var(--ui117-ink) !important; background: var(--ui117-surface-muted) !important; }
html body.page-entry .aho-entry-quicknav a[aria-current="step"],
html body.page-entry .aho-entry-quicknav a.is-active { color: var(--ui117-accent-strong) !important; background: var(--ui117-accent-soft) !important; }
html body.page-entry .aho80-step-index { width: 22px !important; height: 22px !important; border-radius: 7px !important; color: var(--ui117-muted) !important; background: var(--ui117-surface-solid) !important; }
html body.page-entry .aho-entry-quicknav a[aria-current="step"] .aho80-step-index,
html body.page-entry .aho-entry-quicknav a.is-active .aho80-step-index { color: #fff !important; background: var(--ui117-accent) !important; }

html body.page-entry .stat113-definition {
    display: flex !important;
    gap: 12px !important;
    margin: 0 0 14px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(8,127,120,.16) !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg,var(--ui117-accent-soft),rgba(231,246,243,.35)) !important;
    box-shadow: none !important;
}
html body.page-entry .stat113-definition__icon { width: 34px !important; min-width: 34px !important; height: 34px !important; border-radius: 10px !important; color: var(--ui117-accent) !important; background: #fff !important; }
html body.page-entry .stat113-definition strong { font-size: .84rem !important; }
html body.page-entry .stat113-definition p { margin: 3px 0 0 !important; font-size: .78rem !important; line-height: 1.45 !important; }

html body.page-entry .aho-form-section {
    position: relative !important;
    margin: 0 0 14px !important;
    padding: 22px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 20px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
    overflow: visible !important;
}
html body.page-entry .aho-form-section::before,
html body.page-entry .aho-form-section::after { display: none !important; }
html body.page-entry .aho-form-section__header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid var(--ui117-line) !important;
}
html body.page-entry .aho-section-number {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(8,127,120,.16) !important;
    border-radius: 10px !important;
    color: var(--ui117-accent) !important;
    background: var(--ui117-accent-soft) !important;
}
html body.page-entry .aho-form-section__header h2 { margin: 0 !important; font-size: 1rem !important; font-weight: 820 !important; }
html body.page-entry .aho-form-section__header p { margin: 2px 0 0 !important; font-size: .74rem !important; color: var(--ui117-muted) !important; }
html body.page-entry .aho-fieldset { min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body.page-entry .aho-fieldset > legend,
html body.page-entry .aho-field > span:first-child,
html body.page-entry .aho-field > label { margin-bottom: 7px !important; color: var(--ui117-ink-2) !important; font-size: .75rem !important; font-weight: 780 !important; }
html body.page-entry .aho80-fieldset-help,
html body.page-entry .stat113-field-note { color: var(--ui117-muted) !important; font-size: .72rem !important; }
html body.page-entry .stat113-meta-grid,
html body.page-entry .stat113-meta-grid--2,
html body.page-entry .stat113-meta-grid--3 { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 14px !important; }
html body.page-entry .stat113-meta-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
html body.page-entry .aho-choice-grid,
html body.page-entry .stat113-primary-choice .aho-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit,minmax(190px,1fr)) !important;
    gap: 9px !important;
}
html body.page-entry .aho-choice-grid > label.aho73-choice,
html body.page-entry label.choice {
    min-width: 0 !important;
    min-height: 52px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 11px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 12px !important;
    color: var(--ui117-ink-2) !important;
    background: var(--ui117-surface-soft) !important;
    box-shadow: none !important;
    transform: none !important;
}
html body.page-entry .aho-choice-grid > label.aho73-choice:hover,
html body.page-entry label.choice:hover { border-color: rgba(8,127,120,.28) !important; background: #fff !important; transform: none !important; }
html body.page-entry .aho-choice-grid > label.aho73-choice:has(input:checked),
html body.page-entry label.choice:has(input:checked),
html body.page-entry label.choice.is-selected {
    color: var(--ui117-accent-strong) !important;
    border-color: rgba(8,127,120,.42) !important;
    background: var(--ui117-accent-soft) !important;
    box-shadow: inset 0 0 0 1px rgba(8,127,120,.06) !important;
}
html body.page-entry .aho73-choice__visual { width: 30px !important; height: 30px !important; border-radius: 9px !important; background: #fff !important; }
html body.page-entry .aho73-choice__icon svg { width: 16px !important; height: 16px !important; }
html body.page-entry .aho73-choice__label { font-size: .76rem !important; font-weight: 760 !important; line-height: 1.25 !important; overflow-wrap: anywhere !important; }
html body.page-entry .aho73-choice__description { font-size: .68rem !important; color: var(--ui117-muted) !important; }
html body.page-entry .aho73-choice__indicator { width: 18px !important; min-width: 18px !important; height: 18px !important; border-radius: 6px !important; }
html body.page-entry .aho-number-control { min-width: 0 !important; }
html body.page-entry .aho-number-stepper { min-height: 44px !important; border: 1px solid var(--ui117-line-strong) !important; border-radius: 10px !important; background: var(--ui117-surface-solid) !important; }
html body.page-entry .aho-number-stepper button { width: 38px !important; min-height: 42px !important; border: 0 !important; color: var(--ui117-accent) !important; background: transparent !important; }
html body.page-entry .aho-number-presets { gap: 5px !important; margin-top: 7px !important; }
html body.page-entry .aho-number-presets button { min-height: 27px !important; padding: 0 8px !important; border: 1px solid var(--ui117-line) !important; border-radius: 8px !important; background: var(--ui117-surface-soft) !important; font-size: .64rem !important; }
html body.page-entry .stat113-client-panel { margin-top: 12px !important; padding: 14px !important; border: 1px solid rgba(8,127,120,.16) !important; border-radius: 14px !important; background: var(--ui117-accent-soft) !important; }
html body.page-entry .aho-entry-actionbar {
    position: sticky !important;
    inset: auto 0 12px !important;
    z-index: 42 !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 10px 12px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: var(--ui117-shadow-md) !important;
    backdrop-filter: blur(18px) !important;
}
html body.page-entry .aho-entry-actionbar__state { color: var(--ui117-muted) !important; font-size: .72rem !important; }

/* ========================================================================== */
/* 08 · Testing / information contacts / event chooser                        */
/* ========================================================================== */
html body :where(.page-testing-capture,.page-information-contacts,.page-events-hub) .content { padding-top: 0 !important; }
html body .stat113-hero {
    min-height: 116px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 0 14px !important;
    padding: 22px 24px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 88% 0, rgba(116,88,223,.10), transparent 18rem),
        var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-md) !important;
}
html body .stat113-hero__icon { width: 54px !important; min-width: 54px !important; height: 54px !important; border-radius: 16px !important; color: #fff !important; background: linear-gradient(145deg,var(--ui117-purple),#4f68ec) !important; box-shadow: 0 12px 24px rgba(116,88,223,.20) !important; }
html body .stat113-hero h1 { margin: 3px 0 4px !important; color: var(--ui117-ink) !important; font-size: clamp(1.7rem,1.4rem + .5vw,2.15rem) !important; font-weight: 840 !important; letter-spacing: -.04em !important; }
html body .stat113-hero p { max-width: 80ch !important; margin: 0 !important; color: var(--ui117-muted) !important; font-size: .84rem !important; line-height: 1.55 !important; }
html body .stat113-form { display: grid !important; gap: 14px !important; }
html body .stat113-panel { margin: 0 !important; padding: 20px 22px !important; }
html body .stat113-panel__head { display: flex !important; align-items: center !important; gap: 11px !important; margin: 0 0 16px !important; padding: 0 0 13px !important; border-bottom: 1px solid var(--ui117-line) !important; }
html body .stat113-panel__head h2 { margin: 0 !important; font-size: 1rem !important; font-weight: 820 !important; }
html body .stat113-step { display: grid !important; place-items: center !important; width: 30px !important; min-width: 30px !important; height: 30px !important; border-radius: 9px !important; color: var(--ui117-purple) !important; background: var(--ui117-purple-soft) !important; font-size: .72rem !important; font-weight: 820 !important; }
html body .stat113-test-grid { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 11px !important; }
html body .stat113-test-card {
    min-width: 0 !important;
    min-height: 154px !important;
    padding: 15px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 16px !important;
    background: var(--ui117-surface-soft) !important;
    box-shadow: none !important;
}
html body .stat113-test-card.is-selected { border-color: rgba(116,88,223,.38) !important; background: var(--ui117-purple-soft) !important; box-shadow: inset 0 0 0 1px rgba(116,88,223,.06) !important; }
html body .stat114-contact-summary { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 10px !important; margin: 0 0 12px !important; }
html body .stat114-summary-card { min-height: 84px !important; padding: 14px !important; border: 1px solid var(--ui117-line) !important; border-radius: 14px !important; background: var(--ui117-surface-soft) !important; }
html body .stat113-contact-cards { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
html body .stat113-contact-row { min-width: 0 !important; padding: 14px !important; border: 1px solid var(--ui117-line) !important; border-radius: 15px !important; background: var(--ui117-surface-soft) !important; }
html body .stat113-contact-row.is-active { border-color: rgba(8,127,120,.34) !important; background: var(--ui117-accent-soft) !important; }
html body .stat113-category-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; }
html body .stat113-category-card { min-height: 150px !important; padding: 18px !important; border: 1px solid var(--ui117-line) !important; border-radius: 18px !important; background: var(--ui117-surface-solid) !important; box-shadow: var(--ui117-shadow-sm) !important; }
html body .stat113-category-card:hover { transform: translateY(-2px) !important; border-color: rgba(116,88,223,.26) !important; box-shadow: var(--ui117-shadow-md) !important; }

/* Searchable language picker */
html body .u117-language-picker { position: relative !important; margin-top: 8px !important; }
html body .u117-language-trigger { width: 100% !important; min-height: 46px !important; display: flex !important; align-items: center !important; gap: 10px !important; padding: 0 12px !important; border: 1px solid var(--ui117-line-strong) !important; border-radius: 10px !important; color: var(--ui117-ink-2) !important; background: var(--ui117-surface-solid) !important; }
html body .u117-language-trigger small { margin-left: auto !important; color: var(--ui117-muted) !important; }
html body .u117-language-panel { position: absolute !important; z-index: 120 !important; top: calc(100% + 8px) !important; left: 0 !important; width: min(720px,100%) !important; padding: 12px !important; border: 1px solid var(--ui117-line) !important; border-radius: 14px !important; background: var(--ui117-surface-solid) !important; box-shadow: var(--ui117-shadow-lg) !important; }
html body .u117-language-panel[hidden] { display: none !important; }
html body .u117-language-search { width: 100% !important; margin-bottom: 10px !important; }
html body .u117-language-options { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 7px !important; max-height: 300px !important; overflow: auto !important; }
html body .u117-language-option { min-height: 38px !important; display: flex !important; align-items: center !important; gap: 8px !important; padding: 7px 9px !important; border: 1px solid var(--ui117-line) !important; border-radius: 9px !important; background: var(--ui117-surface-soft) !important; font-size: .74rem !important; font-weight: 700 !important; }
html body .u117-language-option:has(input:checked) { color: var(--ui117-accent-strong) !important; border-color: rgba(8,127,120,.34) !important; background: var(--ui117-accent-soft) !important; }
html body .u117-language-chips { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin-top: 8px !important; }
html body .u117-language-chip { display: inline-flex !important; align-items: center !important; min-height: 27px !important; padding: 0 8px !important; border: 1px solid rgba(8,127,120,.16) !important; border-radius: 999px !important; color: var(--ui117-accent-strong) !important; background: var(--ui117-accent-soft) !important; font-size: .67rem !important; font-weight: 720 !important; }

/* ========================================================================== */
/* 09 · Inventory and generic operational workspaces                          */
/* ========================================================================== */
html body .aho-module-hero {
    padding: 24px 26px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 22px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-md) !important;
}
html body .aho-inventory-kpis { display: grid !important; grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap: 10px !important; }
html body .aho-inventory-kpi { min-height: 120px !important; padding: 16px !important; border: 1px solid var(--ui117-line) !important; border-radius: 16px !important; background: var(--ui117-surface-solid) !important; box-shadow: var(--ui117-shadow-sm) !important; }
html body .aho-inventory-products { gap: 9px !important; }
html body .aho-inventory-product { padding: 14px !important; border: 1px solid var(--ui117-line) !important; border-radius: 14px !important; background: var(--ui117-surface-soft) !important; }
html body .data-table,
html body table.data-table { overflow: hidden !important; border: 1px solid var(--ui117-line) !important; border-radius: 13px !important; background: var(--ui117-surface-solid) !important; }
html body .data-table thead th { padding: 11px 12px !important; color: var(--ui117-muted) !important; background: var(--ui117-surface-soft) !important; font-size: .68rem !important; font-weight: 790 !important; text-transform: uppercase !important; letter-spacing: .04em !important; }
html body .data-table tbody td { padding: 12px !important; border-color: var(--ui117-line) !important; color: var(--ui117-ink-2) !important; }
html body .data-table tbody tr:hover { background: rgba(8,127,120,.025) !important; }

/* ========================================================================== */
/* 10 · My entries / ledger                                                   */
/* ========================================================================== */
html body .le-shell { display: grid !important; gap: 12px !important; }
html body .le-overviewbar,
html body .le-querybar {
    padding: 12px 14px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 16px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body .le-querybar { display: grid !important; grid-template-columns: minmax(280px,1fr) auto auto !important; gap: 10px !important; }
html body .le-search { width: 100% !important; min-width: 0 !important; }
html body .le-day {
    display: grid !important;
    grid-template-columns: 180px minmax(0,1fr) !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 18px !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body .le-day > header { position: static !important; padding: 16px !important; border-right: 1px solid var(--ui117-line) !important; background: var(--ui117-surface-soft) !important; }
html body .le-row { min-height: 76px !important; padding: 11px 14px !important; border-bottom: 1px solid var(--ui117-line) !important; background: transparent !important; }
html body .le-row:last-child { border-bottom: 0 !important; }
html body .le-row__visual { width: 38px !important; height: 38px !important; border-radius: 11px !important; background-color: var(--ui117-accent-soft) !important; }
html body .le-row__actions a { opacity: 1 !important; }

/* ========================================================================== */
/* 11 · Admin / reports / profile / smart search generic cleanup              */
/* ========================================================================== */
html body :where(.aho-admin,.aho-users,.aho-settings-page,.aho-catalog,.aho-import-page,.aho-import-job-page,.aho-audit-page,.aho-audit-detail-page,.aho-system-status-page,.smart-search-workspace,.annual-report-workspace,.profile-workspace) {
    width: 100% !important;
    max-width: none !important;
}
html body :where(.aho-admin,.aho-users,.aho-settings-page,.aho-catalog,.aho-import-page,.aho-import-job-page,.aho-audit-page,.aho-audit-detail-page,.aho-system-status-page) :where(.card,.panel,[class*="panel"],[class*="section"]) {
    border-color: var(--ui117-line) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}

/* ========================================================================== */
/* 12 · Footer / skip link                                                    */
/* ========================================================================== */
html body .app-footer { margin-top: auto !important; padding: 24px 4px 4px !important; color: var(--ui117-faint) !important; font-size: .68rem !important; }
html body .skip-link { position: fixed !important; top: 10px !important; left: 10px !important; z-index: 9999 !important; transform: translateY(-160%) !important; }
html body .skip-link:focus { transform: none !important; }

/* ========================================================================== */
/* 13 · Dark mode                                                             */
/* ========================================================================== */
:root[data-theme="dark"] body .sidebar,
:root[data-theme-mode="dark"] body .sidebar,
:root[data-theme="dark"] body.page-intelligence-workspace .iw-modes,
:root[data-theme-mode="dark"] body.page-intelligence-workspace .iw-modes,
:root[data-theme="dark"] body.page-entry .aho-entry-quicknav,
:root[data-theme-mode="dark"] body.page-entry .aho-entry-quicknav,
:root[data-theme="dark"] body.page-entry .aho-entry-actionbar,
:root[data-theme-mode="dark"] body.page-entry .aho-entry-actionbar { background: rgba(22,36,47,.95) !important; }
:root[data-theme="dark"] body .sidebar .nav-item.is-active .nav-item__icon,
:root[data-theme-mode="dark"] body .sidebar .nav-item.is-active .nav-item__icon { background: var(--ui117-surface-solid) !important; }
:root[data-theme="dark"] body.page-intelligence-workspace .iw-command,
:root[data-theme-mode="dark"] body.page-intelligence-workspace .iw-command { background: var(--ui117-surface-solid) !important; }

/* ========================================================================== */
/* 14 · Responsive                                                            */
/* ========================================================================== */
@media (max-width: 1650px) {
    html body.page-intelligence-workspace .iw-metric-strip { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
    html body.page-dashboard .ew-metrics { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
    html body .aho-inventory-kpis { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@media (max-width: 1280px) {
    :root { --ui117-sidebar: 210px; --ui117-shell-gap: 12px; --ui117-shell-pad: 12px; }
    html body .topbar { top: var(--ui117-shell-pad) !important; }
    html body.page-intelligence-workspace .iw-command-deck { grid-template-columns: 1fr !important; }
    html body.page-intelligence-workspace .iw-command { width: 100% !important; }
    html body.page-intelligence-workspace .iw-stage,
    html body.page-dashboard .ew-grid { grid-template-columns: 1fr !important; }
    html body.page-intelligence-workspace .iw-insight-rail { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px !important; }
    html body.page-intelligence-workspace .iw-rail-section + .iw-rail-section { margin: 0 !important; padding: 0 !important; border-top: 0 !important; }
    html body.page-entry .aho-entry-quicknav { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
    html body .stat113-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 980px) {
    html body .app-shell { display: block !important; padding: 10px !important; }
    html body .sidebar {
        position: fixed !important;
        top: 10px !important;
        bottom: 10px !important;
        left: 10px !important;
        width: min(290px, calc(100vw - 40px)) !important;
        height: auto !important;
        transform: translateX(calc(-100% - 24px)) !important;
        transition: transform .2s ease !important;
        box-shadow: var(--ui117-shadow-lg) !important;
    }
    html body.sidebar-open .sidebar { transform: none !important; }
    html body .app-main { width: 100% !important; }
    html body .topbar { position: sticky !important; top: 10px !important; margin-bottom: 12px !important; }
    html body .topbar-search { width: min(480px,48vw) !important; }
    html body.page-intelligence-workspace .iw-metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    html body.page-dashboard .ew-metrics { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    html body.page-entry .stat113-meta-grid,
    html body.page-entry .stat113-meta-grid--2,
    html body.page-entry .stat113-meta-grid--3 { grid-template-columns: 1fr 1fr !important; }
    html body .stat113-test-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    html body .stat113-contact-cards { grid-template-columns: 1fr !important; }
    html body .le-day { grid-template-columns: 1fr !important; }
    html body .le-day > header { border-right: 0 !important; border-bottom: 1px solid var(--ui117-line) !important; }
}

@media (max-width: 720px) {
    html body { font-size: 14px !important; }
    html body .app-shell { padding: 7px !important; }
    html body .topbar { min-height: 58px !important; padding-inline: 10px !important; border-radius: 15px !important; }
    html body .topbar__identity { display: none !important; }
    html body .topbar-search { width: min(100%, 420px) !important; }
    html body .content { padding-bottom: 26px !important; }
    html body.page-intelligence-workspace .iw-command-deck,
    html body.page-entry .aho-entry-premium-head,
    html body .stat113-hero { padding: 18px !important; border-radius: 18px !important; }
    html body.page-intelligence-workspace .iw-context-bar { display: none !important; }
    html body.page-intelligence-workspace .iw-modes { top: 75px !important; }
    html body.page-intelligence-workspace .iw-metric-strip,
    html body.page-dashboard .ew-metrics,
    html body .aho-inventory-kpis,
    html body .stat114-contact-summary { grid-template-columns: 1fr 1fr !important; }
    html body.page-intelligence-workspace .iw-stage__main,
    html body.page-intelligence-workspace .iw-insight-rail,
    html body.page-dashboard .ew-trend,
    html body.page-dashboard .ew-briefing,
    html body.page-dashboard .ew-actions { padding: 16px !important; }
    html body.page-intelligence-workspace .iw-insight-rail { grid-template-columns: 1fr !important; }
    html body.page-entry .aho-entry-premium-head { align-items: flex-start !important; }
    html body.page-entry .aho-entry-premium-head__meta { display: none !important; }
    html body.page-entry .aho-entry-quicknav { display: flex !important; overflow-x: auto !important; top: 75px !important; }
    html body.page-entry .aho-entry-quicknav a { flex: 0 0 auto !important; min-width: 118px !important; }
    html body.page-entry .aho-form-section { padding: 16px !important; }
    html body.page-entry .stat113-meta-grid,
    html body.page-entry .stat113-meta-grid--2,
    html body.page-entry .stat113-meta-grid--3 { grid-template-columns: 1fr !important; }
    html body.page-entry .aho-choice-grid,
    html body.page-entry .stat113-primary-choice .aho-choice-grid { grid-template-columns: 1fr !important; }
    html body .stat113-test-grid,
    html body .stat113-category-grid { grid-template-columns: 1fr !important; }
    html body .u117-language-options { grid-template-columns: 1fr !important; }
    html body .le-querybar { grid-template-columns: 1fr !important; }
    html body.page-dashboard .ew-actions { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
    html body *, html body *::before, html body *::after { transition: none !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ========================================================================== */
/* AHO-MGM 1.0.118 — GLOBAL UI POLISH / CONTROL PRECISION                     */
/* Final polish layer: consistent cards, buttons, choices, checks and forms.  */
/* ========================================================================== */

:root {
    --ui118-control-h: 44px;
    --ui118-card-radius: 18px;
    --ui118-choice-radius: 12px;
    --ui118-check-size: 20px;
    --ui118-gap: 14px;
}

/* 1 · Buttons — exact vertical alignment, consistent geometry and states */
html body :where(.button, button.button, a.button) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: var(--ui118-control-h) !important;
    padding: 0 16px !important;
    border-radius: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}
html body :where(.button, button.button, a.button) > svg,
html body :where(.button, button.button, a.button) > .icon {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 auto !important;
}
html body :where(.button, button.button, a.button):hover:not(:disabled):not([aria-disabled="true"]) {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(18,37,54,.08) !important;
}
html body .button--primary:hover:not(:disabled) {
    box-shadow: 0 10px 22px rgba(8,127,120,.22) !important;
}
html body :where(.button, button.button):active:not(:disabled) {
    transform: translateY(0) !important;
}
html body :where(.button, button.button):disabled,
html body :where(.button, a.button)[aria-disabled="true"] {
    opacity: .48 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 2 · Universal card polish — calm surfaces without box-in-box noise */
html body :where(.card, .aho-panel, .stat113-panel, .aho-entry-card) {
    border-radius: var(--ui118-card-radius) !important;
    border-color: color-mix(in srgb, var(--ui117-line) 88%, #b9cbd4 12%) !important;
    background: var(--ui117-surface-solid) !important;
    box-shadow: 0 8px 24px rgba(18,37,54,.045) !important;
}
html body :where(.card, .aho-panel, .stat113-panel, .aho-entry-card):hover {
    border-color: color-mix(in srgb, var(--ui117-line-strong) 78%, var(--ui117-accent) 22%) !important;
}

/* 3 · Choice cards — one precise layout for all card selections */
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice) {
    min-width: 0 !important;
    min-height: 50px !important;
    align-items: center !important;
    border-radius: var(--ui118-choice-radius) !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) var(--ui118-check-size) !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice:not(.aho73-choice--with-icon) {
    grid-template-columns: minmax(0,1fr) var(--ui118-check-size) !important;
}
html body.page-entry .app-shell .aho-entry-form .aho73-choice__visual {
    align-self: center !important;
    justify-self: start !important;
    margin: 0 !important;
}
html body.page-entry .app-shell .aho-entry-form .aho73-choice__content {
    min-width: 0 !important;
    align-self: center !important;
}

/* 4 · Perfect custom checkbox and radio indicators — no font glyph ticks */
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    position: relative !important;
    display: block !important;
    align-self: center !important;
    justify-self: end !important;
    width: var(--ui118-check-size) !important;
    min-width: var(--ui118-check-size) !important;
    height: var(--ui118-check-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1.5px solid #9db1bf !important;
    border-radius: 6px !important;
    color: transparent !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
    transform: none !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator)::before,
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator)::after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="checkbox"]:checked) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    border-color: var(--ui117-accent) !important;
    background: var(--ui117-accent) !important;
    box-shadow: 0 0 0 3px rgba(8,127,120,.10) !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="checkbox"]:checked) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator)::after {
    display: block !important;
    left: 50% !important;
    top: 50% !important;
    width: 5px !important;
    height: 9px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    border-radius: 0 !important;
    transform: translate(-50%,-59%) rotate(45deg) !important;
    transform-origin: center !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="radio"]) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    border-radius: 50% !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="radio"]:checked) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    border-color: var(--ui117-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(8,127,120,.10) !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="radio"]:checked) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator)::after {
    display: block !important;
    left: 50% !important;
    top: 50% !important;
    width: 10px !important;
    height: 10px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--ui117-accent) !important;
    transform: translate(-50%,-50%) !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input:focus-visible) {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(8,127,120,.12) !important;
}

/* Native checkbox controls used outside choice cards stay visually centered. */
html body :where(.aho-checkbox-row, .u117-language-option) input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex: 0 0 18px !important;
    vertical-align: middle !important;
}

/* 5 · Number inputs — remove browser spinner noise and normalize geometry */
html body input[type="number"] {
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}
html body input[type="number"]::-webkit-inner-spin-button,
html body input[type="number"]::-webkit-outer-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
}

/* 6 · Information contacts — balanced cards and readable summary values */
html body.page-information-contacts .stat114-contact-summary {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}
html body.page-information-contacts .stat114-summary-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    min-height: 90px !important;
    padding: 16px 18px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 15px !important;
    background: linear-gradient(180deg,#fff,var(--ui117-surface-soft)) !important;
    box-shadow: none !important;
}
html body.page-information-contacts .stat114-summary-card > span {
    display: block !important;
    color: var(--ui117-muted) !important;
    font-size: .75rem !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
}
html body.page-information-contacts .stat114-summary-card > strong {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    color: var(--ui117-ink) !important;
    font-size: 1.55rem !important;
    font-weight: 830 !important;
    line-height: 1 !important;
    letter-spacing: -.035em !important;
}
html body.page-information-contacts .stat113-contact-cards {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
}
html body.page-information-contacts .stat113-contact-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    min-height: 168px !important;
    padding: 17px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: none !important;
}
html body.page-information-contacts .stat113-contact-row:hover {
    border-color: var(--ui117-line-strong) !important;
    box-shadow: 0 8px 20px rgba(18,37,54,.045) !important;
}
html body.page-information-contacts .stat113-contact-row.is-active {
    border-color: rgba(8,127,120,.34) !important;
    background: linear-gradient(180deg,#fff,var(--ui117-accent-soft)) !important;
    box-shadow: inset 3px 0 0 var(--ui117-accent) !important;
}
html body.page-information-contacts .stat113-contact-row__label {
    display: grid !important;
    grid-template-columns: 36px minmax(0,1fr) !important;
    gap: 11px !important;
    align-items: center !important;
    min-width: 0 !important;
}
html body.page-information-contacts .stat113-mini-icon {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 11px !important;
    color: var(--ui117-accent) !important;
    background: var(--ui117-accent-soft) !important;
}
html body.page-information-contacts .stat113-mini-icon svg { width: 18px !important; height: 18px !important; }
html body.page-information-contacts .stat113-contact-row__label strong { color: var(--ui117-ink) !important; font-size: .88rem !important; font-weight: 800 !important; }
html body.page-information-contacts .stat113-contact-row__label small { margin-top: 2px !important; color: var(--ui117-muted) !important; font-size: .72rem !important; line-height: 1.4 !important; }
html body.page-information-contacts .stat114-contact-inputs {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: auto !important;
}
html body.page-information-contacts .stat114-contact-input {
    display: block !important;
    min-width: 0 !important;
}
html body.page-information-contacts .stat114-contact-input > span:first-child {
    display: block !important;
    margin: 0 0 6px !important;
    color: var(--ui117-ink-2) !important;
    font-size: .70rem !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
}
html body.page-information-contacts .stat114-input-unit {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}
html body.page-information-contacts .stat114-input-unit input {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 78px 0 12px !important;
    border-radius: 10px !important;
    font-variant-numeric: tabular-nums !important;
}
html body.page-information-contacts .stat114-input-unit small {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    margin: 0 !important;
    color: var(--ui117-muted) !important;
    font-size: .66rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
}

/* 7 · Action areas — never cover content */
html body .stat113-form-actions,
html body.page-entry .aho-entry-actionbar {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 0 2px !important;
    border: 0 !important;
    border-top: 1px solid var(--ui117-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body.page-entry .aho-entry-actionbar__state { margin-right: auto !important; }
html body .stat113-form-actions .button,
html body.page-entry .aho-entry-actionbar .button { min-width: 118px !important; }

/* 8 · Field and panel alignment details */
html body .aho-field > span:first-child,
html body .aho-field > label,
html body .aho-fieldset > legend {
    display: block !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
}
html body .stat113-panel__head > div {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 11px !important;
    row-gap: 2px !important;
    align-items: center !important;
    width: 100% !important;
}
html body .stat113-panel__head .stat113-step { grid-row: 1 / span 2 !important; grid-column: 1 !important; }
html body .stat113-panel__head h2 { grid-column: 2 !important; grid-row: 1 !important; }
html body .stat113-panel__head p { grid-column: 2 !important; grid-row: 2 !important; margin: 0 !important; }

/* 9 · Dark mode parity */
:root[data-theme="dark"] body.page-information-contacts .stat114-summary-card,
:root[data-theme-mode="dark"] body.page-information-contacts .stat114-summary-card,
:root[data-theme="dark"] body.page-information-contacts .stat113-contact-row,
:root[data-theme-mode="dark"] body.page-information-contacts .stat113-contact-row {
    background: var(--ui117-surface-solid) !important;
}
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator),
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    border-color: #5c7484 !important;
    background: #182a35 !important;
}
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="checkbox"]:checked) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator),
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input[type="checkbox"]:checked) :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    border-color: var(--ui117-accent) !important;
    background: var(--ui117-accent) !important;
}

/* 10 · Responsive polish */
@media (max-width: 900px) {
    html body.page-information-contacts .stat114-contact-summary,
    html body.page-information-contacts .stat113-contact-cards { grid-template-columns: 1fr !important; }
    html body.page-information-contacts .stat113-contact-row { min-height: 0 !important; }
}
@media (max-width: 560px) {
    html body.page-information-contacts .stat114-contact-inputs { grid-template-columns: 1fr !important; }
    html body .stat113-form-actions,
    html body.page-entry .aho-entry-actionbar { flex-direction: column-reverse !important; align-items: stretch !important; }
    html body .stat113-form-actions .button,
    html body.page-entry .aho-entry-actionbar .button { width: 100% !important; }
}

/* 11 · Testing cards — replace browser checkbox with a precise product control */
html body.page-testing-capture .stat113-test-card__toggle {
    display: grid !important;
    grid-template-columns: 36px minmax(0,1fr) 20px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    cursor: pointer !important;
}
html body.page-testing-capture .stat113-test-card__toggle .stat113-mini-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 11px !important;
    color: var(--ui117-blue) !important;
    background: var(--ui117-blue-soft) !important;
}
html body.page-testing-capture .stat113-test-card__toggle strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    color: var(--ui117-ink) !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
}
html body.page-testing-capture .stat113-test-card__toggle input[type="checkbox"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1.5px solid #9db1bf !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 15px 15px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
    cursor: pointer !important;
}
html body.page-testing-capture .stat113-test-card__toggle input[type="checkbox"]:checked {
    border-color: var(--ui117-blue) !important;
    background-color: var(--ui117-blue) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.2 7.2 12.2 14 5.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    box-shadow: 0 0 0 3px rgba(53,104,230,.10) !important;
}
html body.page-testing-capture .stat113-test-card__toggle input[type="checkbox"]:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(53,104,230,.15) !important;
}
html body.page-testing-capture .stat113-test-card {
    border-radius: 15px !important;
    background: #fff !important;
}
html body.page-testing-capture .stat113-test-card.is-selected {
    border-color: rgba(53,104,230,.34) !important;
    background: linear-gradient(180deg,#fff,var(--ui117-blue-soft)) !important;
    box-shadow: inset 3px 0 0 var(--ui117-blue) !important;
}

/* ========================================================================== */
/* AHO-MGM 1.0.119 — icon intelligence + final visual refinement              */
/* ========================================================================== */

/* 12 · Skip-link stays invisible until real keyboard focus */
html body .skip-link {
    top: 12px !important;
    left: 12px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-220%) scale(.96) !important;
    clip-path: inset(50%) !important;
}
html body .skip-link:focus,
html body .skip-link:active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    clip-path: inset(0) !important;
}

/* 13 · Sidebar active states — less glow, more precision */
html body .sidebar .nav-item,
html body .sidebar .nav-item * {
    filter: none !important;
}
html body .sidebar .nav-item__icon {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.88) !important;
}
html body .sidebar .nav-item.is-active,
html body .sidebar .nav-item[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--ui117-accent), 0 1px 0 rgba(255,255,255,.7) !important;
}
html body .sidebar .nav-item.is-active .nav-item__icon,
html body .sidebar .nav-item[aria-current="page"] .nav-item__icon {
    box-shadow: 0 8px 20px rgba(8,127,120,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

/* 14 · Choice cards — robust input hiding and cleaner icon / indicator alignment */
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice) {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0,1fr) 20px !important;
    align-items: center !important;
    column-gap: 10px !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice) > input[type="checkbox"],
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice) > input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    inline-size: 1px !important;
    block-size: 1px !important;
    margin: 0 !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__visual, .aho85-choice__visual) {
    grid-column: 1 !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(201,215,223,.95) !important;
    background: linear-gradient(180deg,#ffffff,#f7fbfc) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95) !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__icon, .aho85-choice__icon) svg {
    width: 17px !important;
    height: 17px !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__content, .aho85-choice__content) {
    grid-column: 2 !important;
    min-width: 0 !important;
    display: block !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__label, .aho85-choice__label) {
    display: block !important;
    font-size: .80rem !important;
    font-weight: 780 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator, .aho85-choice__indicator, .choice__indicator) {
    grid-column: 3 !important;
    justify-self: end !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    border-width: 1.5px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
}
html body.page-entry .app-shell .aho-entry-form :where(label.aho73-choice, label.aho85-choice, label.choice):has(input:checked) {
    border-color: rgba(8,127,120,.34) !important;
    background: linear-gradient(180deg,#ffffff,var(--ui117-accent-soft)) !important;
    box-shadow: inset 3px 0 0 var(--ui117-accent), 0 8px 18px rgba(8,127,120,.06) !important;
}

/* 15 · Action bars and sticky footers — calmer and aligned */
html body .stat113-form-actions,
html body.page-entry .aho-entry-actionbar {
    gap: 10px !important;
    padding-top: 14px !important;
    padding-bottom: 2px !important;
}
html body.page-entry .aho-entry-actionbar__state,
html body .stat113-draft-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 999px !important;
    background: var(--ui117-surface-soft) !important;
}

/* 16 · Administration landing page — premium icon cards and clean CTA rows */
html body.page-administration .aho-admin-command-rail {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 12px !important;
}
html body.page-administration .aho-admin-command-rail > a {
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 84px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    background: linear-gradient(180deg,#fff, #fbfdfe) !important;
    box-shadow: var(--ui117-shadow-xs) !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}
html body.page-administration .aho-admin-command-rail > a:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(53,104,230,.22) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body.page-administration .aho-admin-command-rail .aho-admin-command-icon {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(53,104,230,.14) !important;
    border-radius: 14px !important;
    color: var(--ui117-blue) !important;
    background: linear-gradient(180deg,#f7faff,#edf3ff) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}
html body.page-administration .aho-admin-command-rail .aho-admin-command-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
html body.page-administration .aho-admin-command-rail strong {
    display: block !important;
    color: var(--ui117-ink) !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    letter-spacing: -.015em !important;
}
html body.page-administration .aho-admin-command-rail small,
html body.page-administration .aho-admin-command-rail span:not(.aho-admin-command-icon) > span {
    display: block !important;
    margin-top: 2px !important;
    color: var(--ui117-muted) !important;
    font-size: .74rem !important;
    line-height: 1.45 !important;
}
html body.page-administration .aho-admin-grid {
    gap: 16px !important;
}
html body.page-administration .aho-admin-card {
    min-height: 228px !important;
    padding: 20px !important;
    border: 1px solid var(--ui117-line) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg,#ffffff,#fcfdff) !important;
    box-shadow: var(--ui117-shadow-xs) !important;
}
html body.page-administration a.aho-admin-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(8,127,120,.20) !important;
    box-shadow: var(--ui117-shadow-sm) !important;
}
html body.page-administration .aho-admin-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(8,127,120,.14) !important;
    border-radius: 16px !important;
    color: var(--ui117-accent) !important;
    background: linear-gradient(180deg,#f6fcfb,#eaf8f5) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95) !important;
}
html body.page-administration .aho-admin-icon svg {
    width: 24px !important;
    height: 24px !important;
}
html body.page-administration .aho-admin-card h4 {
    margin-bottom: 7px !important;
    color: var(--ui117-ink) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: -.018em !important;
}
html body.page-administration .aho-admin-card-description {
    margin: 0 !important;
    color: var(--ui117-muted) !important;
    font-size: .80rem !important;
    line-height: 1.58 !important;
    background: transparent !important;
}
html body.page-administration .aho-admin-card-footer {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(219,229,234,.9) !important;
    background: transparent !important;
}
html body.page-administration .aho-admin-status {
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: .66rem !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
}
html body.page-administration .aho-admin-arrow {
    display: inline-grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(53,104,230,.15) !important;
    border-radius: 999px !important;
    color: var(--ui117-blue) !important;
    background: #fff !important;
}
html body.page-administration .aho-admin-arrow svg {
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* 17 · Public relations / needle exchange hero and section icon consistency */
html body :where(.page-public-relations, .page-needle-exchange) :where(.stat113-page-icon, .section-header__icon, .aho80-section-icon, .ew-section-icon) {
    border: 1px solid rgba(8,127,120,.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 24px rgba(8,127,120,.08) !important;
}
html body.page-public-relations :where(.stat113-page-icon, .section-header__icon, .aho80-section-icon, .ew-section-icon) {
    color: #0d8a81 !important;
    background: linear-gradient(180deg,#f6fcfb,#e8f8f5) !important;
}
html body.page-needle-exchange :where(.stat113-page-icon, .section-header__icon, .aho80-section-icon, .ew-section-icon) {
    color: #2c73ea !important;
    background: linear-gradient(180deg,#f6f9ff,#ebf2ff) !important;
    border-color: rgba(53,104,230,.14) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 24px rgba(53,104,230,.08) !important;
}

/* 18 · Responsive */
@media (max-width: 1100px) {
    html body.page-administration .aho-admin-command-rail {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width: 680px) {
    html body.page-administration .aho-admin-command-rail {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================================================== */
/* AHO-MGM 1.0.120 — FINAL ULTRA POLISH · PER-PAGE DESIGN PASS                */
/* ========================================================================== */

/* 19 · Semantic icon intelligence                                           */
html body.page-entry .aho-entry-form .aho85-tone--pink .aho73-choice__visual { color:#c34578!important; background:#fff3f8!important; border-color:#f2d4e1!important; }
html body.page-entry .aho-entry-form .aho85-tone--blue .aho73-choice__visual { color:#3568e6!important; background:#f1f5ff!important; border-color:#dce5ff!important; }
html body.page-entry .aho-entry-form .aho85-tone--cyan .aho73-choice__visual { color:#1686a5!important; background:#eefaff!important; border-color:#d5edf5!important; }
html body.page-entry .aho-entry-form .aho85-tone--teal .aho73-choice__visual { color:#087f78!important; background:#edf9f7!important; border-color:#d5eee9!important; }
html body.page-entry .aho-entry-form .aho85-tone--green .aho73-choice__visual { color:#16845f!important; background:#effaf5!important; border-color:#d6efe4!important; }
html body.page-entry .aho-entry-form .aho85-tone--violet .aho73-choice__visual { color:#7257d8!important; background:#f5f2ff!important; border-color:#e3dcff!important; }
html body.page-entry .aho-entry-form .aho85-tone--amber .aho73-choice__visual { color:#bd6a1f!important; background:#fff7ed!important; border-color:#f4dfc9!important; }
html body.page-entry .aho-entry-form .aho85-tone--slate .aho73-choice__visual { color:#52697a!important; background:#f3f6f8!important; border-color:#dce5ea!important; }
html body.page-entry .aho-entry-form .aho73-choice__visual svg { stroke-width:1.85!important; }

/* checked state preserves semantic icon color while making selection obvious */
html body.page-entry .aho-entry-form label.aho73-choice:has(input:checked) .aho73-choice__visual {
    background:#fff!important;
    box-shadow:0 7px 18px rgba(18,37,54,.08), inset 0 1px 0 rgba(255,255,255,.95)!important;
}

/* 20 · Shared premium page rhythm                                            */
html body :where(.aho-workspace,.iw-shell,.intel-shell,.lab-shell,.lab82-shell,.aho-admin,.aho-annual-editor) {
    animation:u120-page-in .22s ease-out both;
}
@keyframes u120-page-in { from { opacity:.01; transform:translateY(3px); } to { opacity:1; transform:none; } }

html body :where(.card,.stat113-panel,.aho-form-section,.intel-panel,.lab-panel,.lab82-card,.aho-admin-card) {
    border-color:rgba(201,215,223,.92)!important;
}
html body :where(.card,.stat113-panel,.aho-form-section,.intel-panel,.lab-panel,.lab82-card) > :where(.card__header,.stat113-panel__head,.aho-form-section__header) {
    border-bottom-color:rgba(219,229,234,.88)!important;
}

html body .button {
    min-height:42px!important;
    padding-inline:15px!important;
    border-radius:11px!important;
    font-weight:760!important;
    letter-spacing:-.006em!important;
}
html body .button--primary {
    border-color:transparent!important;
    background:linear-gradient(135deg,#07877f,#08756f)!important;
    box-shadow:0 9px 20px rgba(8,127,120,.14)!important;
}
html body .button--primary:hover { transform:translateY(-1px)!important; box-shadow:0 13px 26px rgba(8,127,120,.20)!important; }
html body .button:not(.button--primary):not(.button--danger):not(.button--danger-ghost) {
    color:var(--ui117-ink-2)!important;
    border-color:var(--ui117-line-strong)!important;
    background:linear-gradient(180deg,#fff,#f8fafb)!important;
}
html body .button:not(.button--primary):not(.button--danger):not(.button--danger-ghost):hover {
    color:var(--ui117-ink)!important;
    border-color:#abc0ca!important;
    background:#fff!important;
    box-shadow:0 7px 18px rgba(18,37,54,.07)!important;
}

/* 21 · Entry pages: a clean common architecture with page-specific accent */
html body.page-entry { --u120-page-accent:#087f78; --u120-page-soft:#eaf8f5; --u120-page-rgb:8,127,120; }
html body.page-entry--social-work { --u120-page-accent:#087f78; --u120-page-soft:#eaf8f5; --u120-page-rgb:8,127,120; }
html body.page-entry--public-relations { --u120-page-accent:#b84f7b; --u120-page-soft:#fff1f7; --u120-page-rgb:184,79,123; }
html body.page-entry--needle-exchange { --u120-page-accent:#3568e6; --u120-page-soft:#edf3ff; --u120-page-rgb:53,104,230; }
html body.page-entry--events { --u120-page-accent:#7458df; --u120-page-soft:#f2efff; --u120-page-rgb:116,88,223; }
html body.page-entry--inventory { --u120-page-accent:#d97821; --u120-page-soft:#fff4e9; --u120-page-rgb:217,120,33; }

html body.page-entry .aho-entry-premium-head {
    min-height:116px!important;
    padding:22px 24px!important;
    border:1px solid rgba(201,215,223,.9)!important;
    border-radius:20px!important;
    background:
        radial-gradient(circle at 95% 0,rgba(var(--u120-page-rgb),.11),transparent 26rem),
        linear-gradient(180deg,#fff,#fbfdfe)!important;
    box-shadow:0 15px 36px rgba(18,37,54,.065)!important;
}
html body.page-entry .aho-entry-premium-head__icon {
    width:52px!important; min-width:52px!important; height:52px!important;
    color:var(--u120-page-accent)!important;
    border:1px solid rgba(var(--u120-page-rgb),.18)!important;
    border-radius:15px!important;
    background:var(--u120-page-soft)!important;
    box-shadow:0 10px 22px rgba(var(--u120-page-rgb),.10),inset 0 1px 0 #fff!important;
}
html body.page-entry .aho-entry-premium-head__icon svg { width:25px!important;height:25px!important;stroke-width:1.8!important; }
html body.page-entry .aho-entry-premium-head__eyebrow { color:var(--u120-page-accent)!important; }
html body.page-entry .aho-entry-premium-head h1 { font-size:1.72rem!important;font-weight:830!important;letter-spacing:-.04em!important; }
html body.page-entry .aho-entry-premium-head p { max-width:760px!important;font-size:.88rem!important;line-height:1.55!important; }
html body.page-entry .aho-entry-chip { min-height:32px!important;padding:0 11px!important;border-color:rgba(var(--u120-page-rgb),.16)!important;background:#fff!important; }

html body.page-entry .aho-entry-quicknav {
    min-height:48px!important;
    padding:5px!important;
    gap:4px!important;
    border:1px solid var(--ui117-line)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.88)!important;
    box-shadow:var(--ui117-shadow-xs)!important;
}
html body.page-entry .aho-entry-quicknav a {
    min-height:36px!important;
    border-radius:9px!important;
    font-size:.73rem!important;
}
html body.page-entry .aho-entry-quicknav a.is-active,
html body.page-entry .aho-entry-quicknav a[aria-current="step"] {
    color:var(--u120-page-accent)!important;
    border-color:rgba(var(--u120-page-rgb),.14)!important;
    background:var(--u120-page-soft)!important;
    box-shadow:inset 0 0 0 1px rgba(var(--u120-page-rgb),.04)!important;
}
html body.page-entry .aho-entry-quicknav a.is-active .aho80-step-index,
html body.page-entry .aho-entry-quicknav a[aria-current="step"] .aho80-step-index { background:var(--u120-page-accent)!important; }

html body.page-entry .aho-form-section {
    padding:20px!important;
    border:1px solid var(--ui117-line)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,252,253,.96))!important;
    box-shadow:0 8px 24px rgba(18,37,54,.045)!important;
}
html body.page-entry .aho-form-section::before { display:none!important; }
html body.page-entry .aho-form-section__header { margin-bottom:16px!important;padding-bottom:13px!important;border-bottom:1px solid var(--ui117-line)!important; }
html body.page-entry .aho-section-number {
    width:36px!important;height:36px!important;
    color:var(--u120-page-accent)!important;
    border:1px solid rgba(var(--u120-page-rgb),.14)!important;
    border-radius:11px!important;
    background:var(--u120-page-soft)!important;
}
html body.page-entry .aho-section-number svg { width:18px!important;height:18px!important; }
html body.page-entry .aho-form-section__header h2 { font-size:1.02rem!important;font-weight:820!important;letter-spacing:-.02em!important; }
html body.page-entry .aho-form-section__header p { color:var(--ui117-muted)!important;font-size:.76rem!important; }
html body.page-entry .aho-fieldset {
    padding:14px!important;
    border:1px solid rgba(219,229,234,.96)!important;
    border-radius:14px!important;
    background:rgba(248,251,252,.86)!important;
}

/* clearer selections with the page accent */
html body.page-entry .aho-entry-form label.aho73-choice:has(input:checked) {
    border-color:rgba(var(--u120-page-rgb),.38)!important;
    background:linear-gradient(180deg,#fff,var(--u120-page-soft))!important;
    box-shadow:inset 3px 0 0 var(--u120-page-accent),0 8px 18px rgba(var(--u120-page-rgb),.07)!important;
}
html body.page-entry .aho-entry-form label.aho73-choice:has(input:checked) .aho73-choice__indicator {
    border-color:var(--u120-page-accent)!important;
    background:var(--u120-page-accent)!important;
}
html body.page-entry .aho-number-stepper:focus-within { border-color:var(--u120-page-accent)!important;box-shadow:0 0 0 4px rgba(var(--u120-page-rgb),.09)!important; }
html body.page-entry .aho-number-stepper button { color:var(--u120-page-accent)!important; }

/* 22 · Beratung — information-dense but calm                            */
html body.page-entry--social-work .aho-entry-stage { gap:16px!important; }
html body.page-entry--social-work .aho-choice-grid { gap:8px!important; }
html body.page-entry--social-work .aho-choice-grid--field-topics,
html body.page-entry--social-work .aho-choice-grid--field-target_groups { grid-auto-rows:1fr!important; }
html body.page-entry--social-work .stat113-definition {
    border:1px solid rgba(8,127,120,.16)!important;
    border-left:4px solid #087f78!important;
    border-radius:14px!important;
    background:linear-gradient(90deg,#edf9f7,#fff)!important;
    box-shadow:none!important;
}
html body.page-entry--social-work :where(.stat113-selected-count,.aho-selected-count) {
    color:#087f78!important;
    border-color:#d7eee9!important;
    background:#eef9f7!important;
}

/* 23 · Testung — clinical clarity, not hospital-dashboard styling           */
html body.page-testing-capture { --u120-page-accent:#4658d8; --u120-page-soft:#eef1ff; }
html body.page-testing-capture .stat113-hero {
    border-radius:20px!important;
    border-color:#dce3f6!important;
    background:radial-gradient(circle at 90% 0,rgba(70,88,216,.11),transparent 28rem),#fff!important;
    box-shadow:0 15px 36px rgba(18,37,54,.06)!important;
}
html body.page-testing-capture .stat113-hero__icon {
    color:#4658d8!important;background:#eef1ff!important;border:1px solid #dce1ff!important;box-shadow:0 9px 22px rgba(70,88,216,.10)!important;
}
html body.page-testing-capture .stat113-panel { border-radius:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(18,37,54,.04)!important; }
html body.page-testing-capture .stat113-test-grid { gap:12px!important; }
html body.page-testing-capture .stat113-test-card { min-height:146px!important;padding:16px!important;border-radius:16px!important; }
html body.page-testing-capture .stat113-test-card.is-selected { border-color:rgba(70,88,216,.34)!important;background:linear-gradient(180deg,#fff,#f2f4ff)!important;box-shadow:inset 3px 0 0 #4658d8!important; }

/* 24 · Informationskontakte — operational cards and summary                 */
html body.page-information-contacts .stat113-hero {
    border-radius:20px!important;background:radial-gradient(circle at 92% 0,rgba(116,88,223,.10),transparent 27rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important;
}
html body.page-information-contacts .stat113-hero__icon { color:#6b55d9!important;background:#f2efff!important;border:1px solid #e1dcff!important; }
html body.page-information-contacts .stat114-summary-card { min-height:92px!important;padding:15px 17px!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#fafcff)!important; }
html body.page-information-contacts .stat114-summary-card strong { font-size:1.45rem!important;letter-spacing:-.035em!important;font-variant-numeric:tabular-nums!important; }
html body.page-information-contacts .stat113-contact-row { min-height:150px!important; }

/* 25 · Veranstaltungen — category launcher                                  */
html body.page-events-hub .stat113-hero { border-radius:20px!important;background:radial-gradient(circle at 93% 0,rgba(116,88,223,.12),transparent 28rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important; }
html body.page-events-hub .stat113-category-grid { gap:14px!important; }
html body.page-events-hub .stat113-category-card {
    min-height:132px!important;
    padding:17px!important;
    border:1px solid var(--ui117-line)!important;
    border-radius:17px!important;
    background:linear-gradient(180deg,#fff,#fbfcff)!important;
    box-shadow:var(--ui117-shadow-xs)!important;
}
html body.page-events-hub .stat113-category-card:hover { transform:translateY(-3px)!important;border-color:rgba(116,88,223,.25)!important;box-shadow:0 14px 30px rgba(72,60,140,.10)!important; }
html body.page-events-hub .stat113-category-card__icon { width:44px!important;height:44px!important;border-radius:14px!important;color:#7458df!important;background:#f2efff!important; }
html body.page-events-hub .stat113-category-card__arrow { width:30px!important;height:30px!important;border-radius:999px!important;background:#fff!important;border:1px solid #e0ddf4!important; }

/* 26 · Öffentlichkeitsarbeit — editorial / campaign workspace               */
html body.page-entry--public-relations .aho-entry-premium-head__icon { color:#b84f7b!important;background:#fff1f7!important;border-color:#f1d6e1!important; }
html body.page-entry--public-relations .aho-section-number { color:#b84f7b!important;background:#fff1f7!important;border-color:#f1d6e1!important; }
html body.page-entry--public-relations .aho-entry-quicknav a.is-active,
html body.page-entry--public-relations .aho-entry-quicknav a[aria-current="step"] { color:#9e3f69!important;background:#fff1f7!important; }
html body.page-entry--public-relations .aho-choice-grid--field-platforms .aho73-choice__visual,
html body.page-entry--public-relations .aho-choice-grid--field-content_format .aho73-choice__visual { box-shadow:0 5px 13px rgba(184,79,123,.055)!important; }
html body.page-entry--public-relations .aho-entry-form :where(input,select,textarea):focus { border-color:#b84f7b!important;box-shadow:0 0 0 4px rgba(184,79,123,.09)!important; }

/* 27 · Spritzentausch — logistics workspace                                 */
html body.page-entry--needle-exchange .aho-entry-premium-head__icon,
html body.page-entry--needle-exchange .aho-section-number { color:#3568e6!important;background:#edf3ff!important;border-color:#dbe5ff!important; }
html body.page-entry--needle-exchange .aho-number-control {
    padding:8px!important;
    border:1px solid #d9e3ee!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#fff,#f8fbff)!important;
}
html body.page-entry--needle-exchange .aho-number-stepper { min-height:48px!important;background:#f5f8fc!important; }
html body.page-entry--needle-exchange .aho-number-presets { gap:5px!important;margin-top:7px!important; }
html body.page-entry--needle-exchange .aho-number-presets button { min-height:28px!important;border-radius:8px!important; }
html body.page-entry--needle-exchange .aho-entry-form .aho-fieldset { background:#fbfdff!important; }

/* 28 · Inventar — product/stock visual system                               */
html body.page-inventory-overview .aho-module-hero,
html body.page-inventory-scan .aho-module-hero {
    border:1px solid #eadfce!important;border-radius:20px!important;background:radial-gradient(circle at 93% 0,rgba(217,120,33,.11),transparent 28rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important;
}
html body.page-inventory-overview .aho-inventory-kpis { gap:12px!important; }
html body.page-inventory-overview .aho-inventory-kpi { padding:16px!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-inventory-overview .aho-inventory-product { border-radius:15px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-inventory-overview .aho-inventory-product__icon,
html body.page-inventory-scan .aho-scanner-product__icon { color:#d97821!important;background:#fff4e9!important;border:1px solid #f1ddc5!important; }
html body.page-inventory-scan .aho-scanner-card,
html body.page-inventory-scan .aho-scanner-booking { border-radius:18px!important;box-shadow:0 8px 24px rgba(18,37,54,.05)!important; }

/* 29 · Meine Einträge — ledger clarity                                      */
html body.page-own-entries .le-shell { gap:14px!important; }
html body.page-own-entries .le-overviewbar,
html body.page-own-entries .le-querybar { border:1px solid var(--ui117-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-own-entries .le-row { min-height:72px!important;border:1px solid var(--ui117-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important; }
html body.page-own-entries .le-row:hover { border-color:#c1d1da!important;box-shadow:0 9px 22px rgba(18,37,54,.055)!important; }
html body.page-own-entries .le-row__visual { width:38px!important;height:38px!important;border-radius:11px!important;background:var(--ui117-surface-soft)!important; }

/* 30 · Analytics — executive canvas                                         */
html body.page-analytics .iw-shell { gap:14px!important; }
html body.page-analytics .iw-command-deck {
    min-height:110px!important;padding:18px 20px!important;border:1px solid var(--ui117-line)!important;border-radius:20px!important;background:radial-gradient(circle at 90% 0,rgba(53,104,230,.10),transparent 27rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important;
}
html body.page-analytics .iw-modes { padding:5px!important;border:1px solid var(--ui117-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-analytics .iw-metric-strip { gap:10px!important; }
html body.page-analytics .iw-metric { min-height:122px!important;padding:15px!important;border:1px solid var(--ui117-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-analytics .iw-metric__value { font-size:1.72rem!important;letter-spacing:-.045em!important; }
html body.page-analytics .iw-stage__main,
html body.page-analytics .iw-stage__side { border-radius:18px!important; }

/* 31 · Trends & Ziele — strategic workspace                                 */
html body.page-intelligence .intel-hero { padding:21px!important;border:1px solid var(--ui117-line)!important;border-radius:20px!important;background:radial-gradient(circle at 92% 0,rgba(116,88,223,.11),transparent 28rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important; }
html body.page-intelligence .intel-kpis { gap:12px!important; }
html body.page-intelligence .intel-panel { padding:18px!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-intelligence .intel-trend-row,
html body.page-intelligence .intel-goal-card { border:1px solid var(--ui117-line)!important;border-radius:13px!important;background:#fff!important; }
html body.page-intelligence .intel-meter { border-radius:999px!important;overflow:hidden!important; }

/* 32 · LAB — analytical instruments                                         */
html body.page-lab .lab-toolbar { padding:8px!important;border:1px solid var(--ui117-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-lab .lab-workspace-tabs { gap:5px!important; }
html body.page-lab .lab-kpi { border:1px solid var(--ui117-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-lab .lab-panel { border-radius:18px!important;box-shadow:0 8px 24px rgba(18,37,54,.045)!important; }
html body.page-lab .lab-tab__icon { color:#188aa1!important;background:#edfaff!important;border-color:#d5edf4!important; }

/* 33 · Auswertung — high-density BI without visual clutter                  */
html body.page-evaluation .lab82-commandbar { border:1px solid var(--ui117-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-evaluation .lab82-kpi,
html body.page-evaluation .lab82-mini,
html body.page-evaluation .lab82-card { border-radius:16px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-evaluation .lab82-iconbox { border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important; }
html body.page-evaluation .expert96-chart { overflow:hidden!important; }

/* 34 · Smart Search — search-first                                          */
html body.page-smart-search .smart-search-hero { border-radius:20px!important;background:radial-gradient(circle at 90% 0,rgba(53,104,230,.10),transparent 28rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important; }
html body.page-smart-search .smart-search-input-wrap { border-radius:14px!important;box-shadow:0 10px 26px rgba(18,37,54,.055)!important; }
html body.page-smart-search .smart-search-chip { min-height:34px!important;border-radius:999px!important; }
html body.page-smart-search .smart-search-result { border-radius:18px!important;box-shadow:0 8px 24px rgba(18,37,54,.05)!important; }

/* 35 · Profil — identity/security                                          */
html body.page-profile .profile-command-hero { padding:20px!important;border:1px solid var(--ui117-line)!important;border-radius:20px!important;background:radial-gradient(circle at 90% 0,rgba(8,127,120,.10),transparent 28rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important; }
html body.page-profile .aho-profile-layout .card { border-radius:18px!important;box-shadow:0 8px 24px rgba(18,37,54,.045)!important; }
html body.page-profile .aho-profile-avatar--xl { box-shadow:0 10px 26px rgba(18,37,54,.11)!important; }
html body.page-profile .aho-security-method { border-radius:13px!important; }

/* 36 · Tätigkeitsbericht — official document workspace                     */
html body.page-reports .aho-report-toolbar { padding:18px!important;border:1px solid var(--ui117-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--ui117-shadow-sm)!important; }
html body.page-reports .aho-report-sources,
html body.page-reports .aho-report-quality { border-radius:16px!important; }
html body.page-reports .aho-report-preview { border:1px solid #d2dde4!important;border-radius:18px!important;background:#e9eef2!important;box-shadow:0 16px 40px rgba(18,37,54,.09)!important; }
html body.page-reports .aho-report-value { border-radius:10px!important; }

/* 37 · Jahresbericht — editorial production                                */
html body.page-annual-reports .aho-module-hero { border:1px solid var(--ui117-line)!important;border-radius:20px!important;background:radial-gradient(circle at 92% 0,rgba(53,104,230,.10),transparent 28rem),#fff!important;box-shadow:0 15px 36px rgba(18,37,54,.06)!important; }
html body.page-annual-reports .aho-annual-report-card { border:1px solid var(--ui117-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-annual-reports .aho-annual-report-card:hover { transform:translateY(-2px)!important;box-shadow:var(--ui117-shadow-sm)!important; }
html body.page-annual-reports .aho-annual-toolbar { border:1px solid var(--ui117-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ui117-shadow-sm)!important; }
html body.page-annual-reports .aho-annual-outline,
html body.page-annual-reports .aho-annual-properties { border-radius:17px!important;background:#fff!important; }
html body.page-annual-reports .aho-a4-sheet { box-shadow:0 20px 54px rgba(18,37,54,.14)!important; }

/* 38 · Administration — one coherent management surface                    */
html body.page-administration .aho-admin { max-width:none!important;gap:16px!important; }
html body.page-administration .aho-admin-notice { border-radius:16px!important;background:linear-gradient(90deg,#f3f6ff,#fbfdff)!important;box-shadow:none!important; }
html body.page-administration .aho-admin-notice-icon { width:38px!important;height:38px!important;border-radius:12px!important; }
html body.page-administration .aho-admin-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
html body.page-administration .aho-admin-card { min-height:220px!important; }
html body.page-administration .aho-admin-security { border-radius:17px!important;background:linear-gradient(90deg,#fff,#f3fbf8)!important;box-shadow:var(--ui117-shadow-xs)!important; }
html body.page-administration .aho-security-state { min-height:34px!important;padding:0 12px!important;border-radius:999px!important;color:#147354!important;background:#eaf8f2!important; }

/* 39 · Data quality and employees inherit polished administrative surfaces */
html body.page-data-quality :where(.card,.panel),
html body.page-employees :where(.card,.panel) { border-radius:17px!important;box-shadow:var(--ui117-shadow-xs)!important; }

/* 40 · Dark-mode parity for new page-specific surfaces                      */
:root[data-theme="dark"] body :where(.page-analytics,.page-intelligence,.page-lab,.page-evaluation,.page-profile,.page-smart-search,.page-reports,.page-annual-reports,.page-administration) :where(.iw-command-deck,.intel-hero,.lab-toolbar,.lab82-commandbar,.profile-command-hero,.smart-search-hero,.aho-report-toolbar,.aho-module-hero,.aho-admin-card,.aho-admin-command-rail>a),
:root[data-theme-mode="dark"] body :where(.page-analytics,.page-intelligence,.page-lab,.page-evaluation,.page-profile,.page-smart-search,.page-reports,.page-annual-reports,.page-administration) :where(.iw-command-deck,.intel-hero,.lab-toolbar,.lab82-commandbar,.profile-command-hero,.smart-search-hero,.aho-report-toolbar,.aho-module-hero,.aho-admin-card,.aho-admin-command-rail>a) {
    background:var(--ui117-surface-solid)!important;
}
:root[data-theme="dark"] body.page-entry .aho-entry-premium-head,
:root[data-theme-mode="dark"] body.page-entry .aho-entry-premium-head,
:root[data-theme="dark"] body.page-entry .aho-form-section,
:root[data-theme-mode="dark"] body.page-entry .aho-form-section { background:var(--ui117-surface-solid)!important; }

/* 41 · Responsive page polish                                               */
@media (max-width:1250px) {
    html body.page-administration .aho-admin-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}
@media (max-width:980px) {
    html body.page-administration .aho-admin-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    html body.page-entry .aho-entry-premium-head { padding:18px!important; }
}
@media (max-width:680px) {
    html body.page-administration .aho-admin-grid { grid-template-columns:1fr!important; }
    html body.page-entry .aho-entry-premium-head h1 { font-size:1.45rem!important; }
    html body.page-entry .aho-form-section { padding:15px!important; }
}

/* ========================================================================== */
/* AHO-MGM 1.0.121 — Layout Integrity + Premium Semantic Icon System          */
/* ========================================================================== */

/* 42 · Sidebar layout integrity — no clipped navigation, no footer overlap */
html body .sidebar {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    overflow: hidden !important;
}
html body .sidebar__brand {
    grid-row: 1 !important;
    min-height: 70px !important;
}
html body .sidebar__navigation {
    grid-row: 2 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
    padding: 9px 8px 10px !important;
}
html body .sidebar__navigation::-webkit-scrollbar { width: 7px !important; }
html body .sidebar__navigation::-webkit-scrollbar-track { background: transparent !important; }
html body .sidebar__navigation::-webkit-scrollbar-thumb {
    border: 2px solid transparent !important;
    border-radius: 999px !important;
    background: rgba(86,112,128,.28) !important;
    background-clip: padding-box !important;
}
html body .sidebar__footer {
    position: relative !important;
    inset: auto !important;
    grid-row: 3 !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 8px !important;
    border-top: 1px solid var(--ui117-line) !important;
    background: linear-gradient(180deg,rgba(255,255,255,.76),var(--ui117-surface-solid)) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}
html body .sidebar .nav-section + .nav-section {
    margin-top: 6px !important;
    padding-top: 6px !important;
}
html body .sidebar .nav-item {
    min-height: 39px !important;
    margin: 1px 0 !important;
    padding: 0 9px !important;
    gap: 9px !important;
    border-radius: 11px !important;
    font-size: .81rem !important;
}
html body .sidebar .nav-item__icon {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
}
html body .sidebar .nav-item__icon svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 1.9 !important;
}
html body .sidebar .system-indicator {
    min-height: 46px !important;
    padding: 6px 8px !important;
    border-radius: 13px !important;
}

/* Compact automatically on shorter screens so the whole navigation remains usable. */
@media (max-height: 980px) and (min-width: 761px) {
    html body .sidebar__brand { min-height: 62px !important; padding: 8px 10px !important; }
    html body .brand__mark,
    html body .brand__logo { width: 36px !important; min-width: 36px !important; height: 36px !important; border-radius: 11px !important; }
    html body .sidebar__navigation { padding: 6px 7px !important; }
    html body .sidebar .nav-section + .nav-section { margin-top: 4px !important; padding-top: 4px !important; }
    html body .sidebar .nav-item { min-height: 35px !important; margin: 0 !important; padding-inline: 7px !important; font-size: .76rem !important; }
    html body .sidebar .nav-item__icon { width: 25px !important; min-width: 25px !important; height: 25px !important; border-radius: 8px !important; }
    html body .sidebar .nav-item__icon svg { width: 14px !important; height: 14px !important; }
    html body .sidebar__footer { padding: 6px !important; }
    html body .sidebar .system-indicator { min-height: 40px !important; padding: 4px 7px !important; }
    html body .system-indicator__icon { width: 29px !important; min-width: 29px !important; height: 29px !important; }
    html body .system-indicator__content strong { font-size: .70rem !important; }
    html body .system-indicator__content small { font-size: .57rem !important; }
}
@media (max-height: 790px) and (min-width: 761px) {
    html body .sidebar .nav-item { min-height: 33px !important; font-size: .72rem !important; }
    html body .sidebar .nav-item__icon { width: 23px !important; min-width: 23px !important; height: 23px !important; }
    html body .sidebar__footer { padding: 4px 6px !important; }
    html body .system-indicator__content small > span:first-child { display: none !important; }
}

/* 43 · Eliminate secondary sticky layers that could overlap page content */
html body.page-entry .aho-entry-quicknav,
html body.page-intelligence-workspace .iw-modes,
html body.page-analytics .iw-modes,
html body.page-intelligence .intel-tabs,
html body .aho-workspace-tabs,
html body .lab-workspace-tabs {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
}
html body.page-entry .aho-entry-actionbar,
html body .stat113-form-actions {
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
}
html body .content {
    isolation: isolate !important;
    overflow: visible !important;
}
html body #main-content,
html body [id^="entry-section-"] { scroll-margin-top: 92px !important; }

/* 44 · Premium semantic icon system — local vectors, no unlicensed paid pack */
html body .aho-icon {
    display: block !important;
    flex: 0 0 auto !important;
    shape-rendering: geometricPrecision !important;
    vector-effect: non-scaling-stroke !important;
}
html body .nav-item__icon,
html body .aho73-choice__visual,
html body .aho-admin-icon,
html body .aho-admin-command-icon,
html body .stat113-category-card__icon,
html body .aho-section-number,
html body .stat113-mini-icon {
    position: relative !important;
    overflow: hidden !important;
}
html body .nav-item__icon::after,
html body .aho-admin-icon::after,
html body .aho-admin-command-icon::after {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    background: linear-gradient(145deg,rgba(255,255,255,.60),transparent 45%) !important;
    opacity: .72 !important;
}
html body .nav-item__icon svg,
html body .aho-admin-icon svg,
html body .aho-admin-command-icon svg {
    position: relative !important;
    z-index: 1 !important;
}

/* Semantic tones in the primary navigation. */
html body .nav-item--dashboard-premium .nav-item__icon { color:#4c78e8!important;background:linear-gradient(180deg,#f5f8ff,#eaf0ff)!important;border-color:#dce5ff!important; }
html body .nav-item--entries-premium .nav-item__icon { color:#2385aa!important;background:linear-gradient(180deg,#f4fbff,#e8f7fc)!important;border-color:#d4edf6!important; }
html body .nav-item--smart-search .nav-item__icon { color:#6b59d8!important;background:linear-gradient(180deg,#faf8ff,#f0edff)!important;border-color:#e2dcff!important; }
html body .nav-item--profile-premium .nav-item__icon { color:#416faa!important;background:linear-gradient(180deg,#f7fbff,#edf5fb)!important;border-color:#d9e8f3!important; }
html body .nav-item--consultation-premium .nav-item__icon { color:#07867d!important;background:linear-gradient(180deg,#f4fcfa,#e7f8f4)!important;border-color:#cfede7!important; }
html body .nav-item--lab-premium .nav-item__icon { color:#7259dc!important;background:linear-gradient(180deg,#faf8ff,#f1edff)!important;border-color:#e2dbff!important; }
html body .nav-item--information-premium .nav-item__icon { color:#3d6fc3!important;background:linear-gradient(180deg,#f7faff,#ebf2ff)!important;border-color:#dae5fb!important; }
html body .nav-item--event-premium .nav-item__icon { color:#7858d8!important;background:linear-gradient(180deg,#faf8ff,#f2eeff)!important;border-color:#e2dafe!important; }
html body .nav-item--public-relations-premium .nav-item__icon { color:#c04f7d!important;background:linear-gradient(180deg,#fff8fb,#fff0f6)!important;border-color:#f1d9e4!important; }
html body .nav-item--exchange-premium .nav-item__icon { color:#2674d8!important;background:linear-gradient(180deg,#f7fbff,#eaf4ff)!important;border-color:#d4e7fb!important; }
html body .nav-item--inventory-premium .nav-item__icon { color:#c17220!important;background:linear-gradient(180deg,#fffaf4,#fff1de)!important;border-color:#f2dec5!important; }
html body .nav-item--analytics-premium .nav-item__icon { color:#4d67d7!important;background:linear-gradient(180deg,#f8f9ff,#edf0ff)!important;border-color:#dde2ff!important; }
html body .nav-item--trends-premium .nav-item__icon { color:#298bb5!important;background:linear-gradient(180deg,#f5fcff,#e8f7fc)!important;border-color:#d4edf5!important; }
html body .nav-item--evaluation-premium .nav-item__icon { color:#7259d8!important;background:linear-gradient(180deg,#faf8ff,#f2efff)!important;border-color:#e3ddff!important; }
html body .nav-item--employees-premium .nav-item__icon { color:#3286a5!important;background:linear-gradient(180deg,#f4fbff,#eaf8fc)!important;border-color:#d5edf4!important; }
html body .nav-item--activity-report-premium .nav-item__icon,
html body .nav-item--annual-report-premium .nav-item__icon { color:#4677a7!important;background:linear-gradient(180deg,#f7fbfe,#edf5fa)!important;border-color:#dbe8f0!important; }
html body .nav-item--quality-premium .nav-item__icon { color:#16815f!important;background:linear-gradient(180deg,#f5fcf9,#e9f8f1)!important;border-color:#d2eddf!important; }
html body .nav-item--import-premium .nav-item__icon { color:#4677a7!important;background:linear-gradient(180deg,#f7fbfe,#edf5fa)!important;border-color:#dbe8f0!important; }
html body .nav-item--administration-premium .nav-item__icon { color:#596b7c!important;background:linear-gradient(180deg,#fbfcfd,#eef3f6)!important;border-color:#dce5ea!important; }
html body .nav-item--security-premium .nav-item__icon { color:#16815f!important;background:linear-gradient(180deg,#f5fcf9,#e9f8f1)!important;border-color:#d2eddf!important; }

/* Keep semantic icon identity in active states instead of repainting everything teal. */
html body .sidebar .nav-item.is-active .nav-item__icon,
html body .sidebar .nav-item[aria-current="page"] .nav-item__icon {
    color: inherit !important;
    transform: translateZ(0) !important;
}
html body .sidebar .nav-item.is-active,
html body .sidebar .nav-item[aria-current="page"] {
    border-color: color-mix(in srgb,var(--ui117-accent) 24%,var(--ui117-line) 76%) !important;
    background: linear-gradient(90deg,rgba(8,127,120,.09),rgba(255,255,255,.46)) !important;
}

/* 45 · Admin cards: premium semantic icon tones and consistent content blocks */
html body.page-administration .aho-admin-card-description {
    padding: 0 !important;
    background: transparent !important;
}
html body.page-administration .aho-admin-card[data-admin-icon="users"] .aho-admin-icon { color:#2d79c9!important;background:linear-gradient(180deg,#f5faff,#e9f4ff)!important;border-color:#d5e7f8!important; }
html body.page-administration .aho-admin-card[data-admin-icon="shield"] .aho-admin-icon { color:#16815f!important;background:linear-gradient(180deg,#f5fcf9,#e8f8f1)!important;border-color:#d2ecdf!important; }
html body.page-administration .aho-admin-card[data-admin-icon="settings"] .aho-admin-icon { color:#7259d8!important;background:linear-gradient(180deg,#faf8ff,#f1edff)!important;border-color:#e2dcff!important; }
html body.page-administration .aho-admin-card[data-admin-icon="catalog"] .aho-admin-icon { color:#2988a5!important;background:linear-gradient(180deg,#f4fcff,#e8f8fc)!important;border-color:#d3edf4!important; }
html body.page-administration .aho-admin-card[data-admin-icon="import"] .aho-admin-icon { color:#3970c5!important;background:linear-gradient(180deg,#f7faff,#eaf2ff)!important;border-color:#d8e5fa!important; }
html body.page-administration .aho-admin-card[data-admin-icon="audit"] .aho-admin-icon { color:#a75c2c!important;background:linear-gradient(180deg,#fff9f3,#fff0e4)!important;border-color:#f1dcc8!important; }
html body.page-administration .aho-admin-card[data-admin-icon="system"] .aho-admin-icon { color:#566d7d!important;background:linear-gradient(180deg,#fbfcfd,#eef4f6)!important;border-color:#dce6ea!important; }
html body.page-administration .aho-admin-card-footer { background: transparent !important; }

/* 46 · Form choices: premium icon tiles that follow semantic tone */
html body.page-entry .aho-entry-form .aho73-choice__visual {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 4px 10px rgba(18,37,54,.035) !important;
}
html body.page-entry .aho-entry-form .aho73-choice__icon svg {
    stroke-width: 1.85 !important;
}
html body.page-entry .aho-entry-form label.aho73-choice:hover .aho73-choice__visual {
    transform: translateY(-1px) !important;
}

/* 47 · Content stacking integrity for every major workspace */
html body :where(.aho-workspace,.aho-entry-workspace,.iw-shell,.intel-workspace,.lab-workspace,.aho-admin,.profile-workspace,.smart-search-workspace,.annual-report-workspace) {
    position: relative !important;
    z-index: 1 !important;
    min-width: 0 !important;
}
html body :where(.card,.panel,.aho-form-section,.stat113-panel,.aho-admin-card) {
    max-width: 100% !important;
}
html body :where(.aho-choice-grid,.stat113-category-grid,.aho-admin-grid,.iw-metric-strip) > * {
    min-width: 0 !important;
}

/* 48 · Dark-mode parity */
:root[data-theme="dark"] body .sidebar__footer,
:root[data-theme-mode="dark"] body .sidebar__footer {
    background: linear-gradient(180deg,rgba(14,27,39,.82),var(--ui117-surface-solid)) !important;
}
:root[data-theme="dark"] body .nav-item__icon::after,
:root[data-theme-mode="dark"] body .nav-item__icon::after,
:root[data-theme="dark"] body .aho-admin-icon::after,
:root[data-theme-mode="dark"] body .aho-admin-icon::after { opacity:.12!important; }

/* 49 · Mobile sidebar remains a proper scrollable drawer */
@media (max-width: 760px) {
    html body .sidebar {
        display: grid !important;
        grid-template-rows: auto minmax(0,1fr) auto !important;
        overflow: hidden !important;
    }
    html body .sidebar__navigation {
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Semantic icon variables ensure active navigation keeps the module identity. */
html body .nav-item--dashboard-premium { --nav-premium-icon:#4c78e8; --nav-premium-bg:linear-gradient(180deg,#f5f8ff,#eaf0ff); --nav-premium-border:#dce5ff; }
html body .nav-item--entries-premium { --nav-premium-icon:#2385aa; --nav-premium-bg:linear-gradient(180deg,#f4fbff,#e8f7fc); --nav-premium-border:#d4edf6; }
html body .nav-item--smart-search { --nav-premium-icon:#6b59d8; --nav-premium-bg:linear-gradient(180deg,#faf8ff,#f0edff); --nav-premium-border:#e2dcff; }
html body .nav-item--profile-premium { --nav-premium-icon:#416faa; --nav-premium-bg:linear-gradient(180deg,#f7fbff,#edf5fb); --nav-premium-border:#d9e8f3; }
html body .nav-item--consultation-premium { --nav-premium-icon:#07867d; --nav-premium-bg:linear-gradient(180deg,#f4fcfa,#e7f8f4); --nav-premium-border:#cfede7; }
html body .nav-item--lab-premium { --nav-premium-icon:#7259dc; --nav-premium-bg:linear-gradient(180deg,#faf8ff,#f1edff); --nav-premium-border:#e2dbff; }
html body .nav-item--information-premium { --nav-premium-icon:#3d6fc3; --nav-premium-bg:linear-gradient(180deg,#f7faff,#ebf2ff); --nav-premium-border:#dae5fb; }
html body .nav-item--event-premium { --nav-premium-icon:#7858d8; --nav-premium-bg:linear-gradient(180deg,#faf8ff,#f2eeff); --nav-premium-border:#e2dafe; }
html body .nav-item--public-relations-premium { --nav-premium-icon:#c04f7d; --nav-premium-bg:linear-gradient(180deg,#fff8fb,#fff0f6); --nav-premium-border:#f1d9e4; }
html body .nav-item--exchange-premium { --nav-premium-icon:#2674d8; --nav-premium-bg:linear-gradient(180deg,#f7fbff,#eaf4ff); --nav-premium-border:#d4e7fb; }
html body .nav-item--inventory-premium { --nav-premium-icon:#c17220; --nav-premium-bg:linear-gradient(180deg,#fffaf4,#fff1de); --nav-premium-border:#f2dec5; }
html body .nav-item--analytics-premium { --nav-premium-icon:#4d67d7; --nav-premium-bg:linear-gradient(180deg,#f8f9ff,#edf0ff); --nav-premium-border:#dde2ff; }
html body .nav-item--trends-premium { --nav-premium-icon:#298bb5; --nav-premium-bg:linear-gradient(180deg,#f5fcff,#e8f7fc); --nav-premium-border:#d4edf5; }
html body .nav-item--evaluation-premium { --nav-premium-icon:#7259d8; --nav-premium-bg:linear-gradient(180deg,#faf8ff,#f2efff); --nav-premium-border:#e3ddff; }
html body .nav-item--employees-premium { --nav-premium-icon:#3286a5; --nav-premium-bg:linear-gradient(180deg,#f4fbff,#eaf8fc); --nav-premium-border:#d5edf4; }
html body .nav-item--activity-report-premium,
html body .nav-item--annual-report-premium,
html body .nav-item--import-premium { --nav-premium-icon:#4677a7; --nav-premium-bg:linear-gradient(180deg,#f7fbfe,#edf5fa); --nav-premium-border:#dbe8f0; }
html body .nav-item--quality-premium,
html body .nav-item--security-premium { --nav-premium-icon:#16815f; --nav-premium-bg:linear-gradient(180deg,#f5fcf9,#e9f8f1); --nav-premium-border:#d2eddf; }
html body .nav-item--administration-premium { --nav-premium-icon:#596b7c; --nav-premium-bg:linear-gradient(180deg,#fbfcfd,#eef3f6); --nav-premium-border:#dce5ea; }
html body .sidebar .nav-item .nav-item__icon,
html body .sidebar .nav-item.is-active .nav-item__icon,
html body .sidebar .nav-item[aria-current="page"] .nav-item__icon {
    color:var(--nav-premium-icon,var(--ui117-accent))!important;
    border-color:var(--nav-premium-border,var(--ui117-line))!important;
    background:var(--nav-premium-bg,var(--ui117-surface-solid))!important;
}

/* ========================================================================== */
/* AHO-MGM 1.0.122 — NEXTGEN UI STABILITY + PREMIUM VECTOR SYSTEM             */
/* Final loaded rules. These intentionally outrank the legacy app-ui layer.   */
/* ========================================================================== */

:root {
    --u122-glass: rgba(255,255,255,.78);
    --u122-glass-strong: rgba(255,255,255,.94);
    --u122-elev-1: 0 1px 2px rgba(16,38,56,.04), 0 8px 24px rgba(16,38,56,.045);
    --u122-elev-2: 0 2px 5px rgba(16,38,56,.05), 0 16px 38px rgba(16,38,56,.075);
    --u122-elev-3: 0 18px 50px rgba(16,38,56,.12);
    --u122-inner: inset 0 1px 0 rgba(255,255,255,.88);
    --u122-card-radius: 18px;
    --u122-control-radius: 12px;
    --u122-control-h: 46px;
}

/* 50 · Global stacking contract: only shell/navigation/modals own high layers */
html body .app-main,
html body .content,
html body main,
html body form,
html body .aho-entry-workspace,
html body .aho-entry-form,
html body .aho-entry-stage,
html body .aho-workspace,
html body .iw-shell,
html body .intel-workspace,
html body .lab-workspace,
html body .aho-admin {
    isolation: auto !important;
    overflow: visible !important;
}
html body :where(.aho-form-section,.aho-fieldset,.card,.panel,.stat113-panel,.aho-admin-card,.aho-summary-card) {
    overflow: visible !important;
}
html body :where(.aho-form-section,.aho-fieldset,.card,.panel,.stat113-panel,.aho-admin-card) > * {
    max-width: 100% !important;
}
html body .topbar { z-index: 80 !important; }
html body .sidebar { z-index: 90 !important; }
html body :where(.profile-dropdown,.aho-confirm-dialog,.aho-drilldown-modal,dialog) { z-index: 900 !important; }

/* 51 · Language picker is INLINE: it can never hide below the next section */
html body.page-entry--social-work #social-language,
html body.page-entry--social-work .stat113-language-select,
html body.page-entry--social-work .u117-language-picker {
    position: relative !important;
    overflow: visible !important;
}
html body.page-entry--social-work #social-language.is-language-picker-open,
html body.page-entry--social-work .stat113-language-select.is-language-picker-open {
    z-index: 30 !important;
}
html body .u117-language-trigger {
    position: relative !important;
    z-index: 1 !important;
    min-height: 50px !important;
    padding: 0 14px !important;
    border: 1px solid #cbd8df !important;
    border-radius: 13px !important;
    color: #183348 !important;
    background: linear-gradient(180deg,#ffffff,#f7fafc) !important;
    box-shadow: var(--u122-inner), 0 4px 12px rgba(18,37,54,.035) !important;
    cursor: pointer !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease !important;
}
html body .u117-language-trigger:hover {
    transform: translateY(-1px) !important;
    border-color: color-mix(in srgb,var(--ui117-accent) 35%,#cbd8df 65%) !important;
    background: linear-gradient(180deg,#fff,#f3faf8) !important;
    box-shadow: var(--u122-inner), 0 9px 22px rgba(18,37,54,.06) !important;
}
html body .u117-language-trigger[aria-expanded="true"] {
    border-color: color-mix(in srgb,var(--ui117-accent) 62%,#a9bdc6 38%) !important;
    box-shadow: 0 0 0 4px rgba(8,127,120,.09), var(--u122-inner) !important;
}
html body .u117-language-trigger > span:last-child {
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    margin-left: 4px !important;
    border-radius: 9px !important;
    color: var(--ui117-accent) !important;
    background: var(--ui117-accent-soft) !important;
    font-size: 0 !important;
}
html body .u117-language-trigger > span:last-child::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 1.8px solid currentColor !important;
    border-bottom: 1.8px solid currentColor !important;
    transform: translateY(-2px) rotate(45deg) !important;
    transition: transform .16s ease !important;
}
html body .u117-language-trigger[aria-expanded="true"] > span:last-child::before {
    transform: translateY(2px) rotate(225deg) !important;
}
html body .u117-language-panel {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 2px !important;
    padding: 14px !important;
    border: 1px solid #cfdae1 !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg,#ffffff,#f8fbfc) !important;
    box-shadow: var(--u122-elev-2) !important;
    animation: u122-panel-in .14s ease-out both !important;
}
@keyframes u122-panel-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
html body .u117-language-search {
    height: 46px !important;
    margin: 0 0 12px !important;
    padding-inline: 14px !important;
    border-radius: 11px !important;
    background: #f7fafc !important;
}
html body .u117-language-options {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 8px !important;
    max-height: 320px !important;
    padding: 2px 3px 3px 2px !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
}
html body .u117-language-option {
    position: relative !important;
    min-height: 44px !important;
    padding: 9px 11px !important;
    border: 1px solid #d9e3e8 !important;
    border-radius: 11px !important;
    color: #294154 !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
    cursor: pointer !important;
    transition: border-color .14s ease, background .14s ease, transform .14s ease !important;
}
html body .u117-language-option:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(8,127,120,.28) !important;
    background: #f5fbf9 !important;
}
html body .u117-language-option input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    border: 1.5px solid #9db0ba !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
}
html body .u117-language-option input[type="checkbox"]:checked {
    border-color: var(--ui117-accent) !important;
    background-color: var(--ui117-accent) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.2 7.2 12.2 14 5.6' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-size: 14px 14px !important;
    background-repeat: no-repeat !important;
}
html body .u117-language-option:has(input:checked) {
    color: #075f5a !important;
    border-color: rgba(8,127,120,.34) !important;
    background: linear-gradient(180deg,#f7fffd,#eaf8f5) !important;
}
html body .u117-language-chips {
    margin-top: 10px !important;
}
html body .u117-language-chip {
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg,#f3fcfa,#e6f7f3) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

/* 52 · Choice-card cleanup: no white rectangle behind selected text */
html body.page-entry .app-shell .aho-entry-form label.aho73-choice,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice,
html body.page-entry .app-shell .aho-entry-form label.choice {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: 50px !important;
    padding: 9px 11px !important;
    border: 1px solid #d4e0e6 !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg,#ffffff,#f8fbfc) !important;
    box-shadow: var(--u122-inner), 0 4px 12px rgba(18,37,54,.035) !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice::before,
html body.page-entry .app-shell .aho-entry-form label.aho73-choice::after,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice::before,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice::after {
    pointer-events: none !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice:hover,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice:hover,
html body.page-entry .app-shell .aho-entry-form label.choice:hover {
    transform: translateY(-1px) !important;
    border-color: color-mix(in srgb,var(--entry-accent,var(--ui117-accent)) 32%,#c8d7de 68%) !important;
    background: linear-gradient(180deg,#ffffff,#f3f8f9) !important;
    box-shadow: var(--u122-inner), 0 9px 22px rgba(18,37,54,.055) !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice:has(input:checked),
html body.page-entry .app-shell .aho-entry-form label.aho85-choice:has(input:checked),
html body.page-entry .app-shell .aho-entry-form label.choice:has(input:checked),
html body.page-entry .app-shell .aho-entry-form label.aho73-choice.is-selected,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice.is-selected {
    transform: none !important;
    border-color: color-mix(in srgb,var(--entry-accent,var(--ui117-accent)) 58%,#aec3c5 42%) !important;
    background:
        radial-gradient(circle at 95% 0%,color-mix(in srgb,var(--entry-accent,var(--ui117-accent)) 10%,transparent),transparent 44%),
        linear-gradient(180deg,#f9fffd,#eaf7f4) !important;
    box-shadow: inset 3px 0 0 var(--entry-accent,var(--ui117-accent)), var(--u122-inner), 0 8px 20px rgba(8,127,120,.055) !important;
}
/* This is the important regression guard: text containers may never look like inputs. */
html body.page-entry .app-shell .aho-entry-form label.aho73-choice :where(.aho73-choice__content,.aho73-choice__label,strong),
html body.page-entry .app-shell .aho-entry-form label.aho85-choice :where(.aho73-choice__content,.aho73-choice__label,strong),
html body.page-entry .app-shell .aho-entry-form label.choice :where(.choice__content,.choice__label,strong) {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    color: #19354a !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice :where(.aho73-choice__content,.aho73-choice__label,strong)::before,
html body.page-entry .app-shell .aho-entry-form label.aho73-choice :where(.aho73-choice__content,.aho73-choice__label,strong)::after,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice :where(.aho73-choice__content,.aho73-choice__label,strong)::before,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice :where(.aho73-choice__content,.aho73-choice__label,strong)::after {
    display: none !important;
    content: none !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice .aho73-choice__visual,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice .aho73-choice__visual {
    position: relative !important;
    z-index: 2 !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    color: var(--aho85-tone,var(--entry-accent,var(--ui117-accent))) !important;
    background:
        linear-gradient(145deg,rgba(255,255,255,.90),rgba(255,255,255,.20)),
        var(--aho85-tone-soft,var(--ui117-accent-soft)) !important;
    border-color: color-mix(in srgb,var(--aho85-tone,var(--entry-accent,var(--ui117-accent))) 17%,#d7e2e7 83%) !important;
    box-shadow: inset 0 1px 0 #fff, 0 5px 14px color-mix(in srgb,var(--aho85-tone,var(--ui117-accent)) 7%,transparent) !important;
}
html body.page-entry .app-shell .aho-entry-form label.aho73-choice .aho73-choice__icon svg,
html body.page-entry .app-shell .aho-entry-form label.aho85-choice .aho73-choice__icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 1.75 !important;
}
/* Draw selection indicators ourselves, independent of old pseudo-element generations. */
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator,.aho85-choice__indicator,.choice__indicator) {
    position: relative !important;
    z-index: 3 !important;
    width: 19px !important;
    min-width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    border: 1.5px solid #9cafba !important;
    border-radius: 6px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
}
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator,.aho85-choice__indicator,.choice__indicator)::before,
html body.page-entry .app-shell .aho-entry-form :where(.aho73-choice__indicator,.aho85-choice__indicator,.choice__indicator)::after {
    display: none !important;
    content: none !important;
}
html body.page-entry .app-shell .aho-entry-form label:has(input[type="radio"]) :where(.aho73-choice__indicator,.aho85-choice__indicator,.choice__indicator) {
    border-radius: 50% !important;
}
html body.page-entry .app-shell .aho-entry-form label:has(input[type="checkbox"]:checked) :where(.aho73-choice__indicator,.aho85-choice__indicator,.choice__indicator) {
    border-color: var(--entry-accent,var(--ui117-accent)) !important;
    background-color: var(--entry-accent,var(--ui117-accent)) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.2 7.2 12.2 14 5.6' fill='none' stroke='%23fff' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 14px 14px !important;
    box-shadow: 0 0 0 3px color-mix(in srgb,var(--entry-accent,var(--ui117-accent)) 10%,transparent) !important;
}
html body.page-entry .app-shell .aho-entry-form label:has(input[type="radio"]:checked) :where(.aho73-choice__indicator,.aho85-choice__indicator,.choice__indicator) {
    border-color: var(--entry-accent,var(--ui117-accent)) !important;
    background:
        radial-gradient(circle at center,var(--entry-accent,var(--ui117-accent)) 0 4px,#fff 4.5px 100%) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb,var(--entry-accent,var(--ui117-accent)) 10%,transparent) !important;
}

/* 53 · Premium vector treatment — crisp, expensive-looking, but local/licence-safe */
html body .aho-icon {
    shape-rendering: geometricPrecision !important;
    vector-effect: non-scaling-stroke !important;
}
html body :where(.nav-item__icon,.aho73-choice__visual,.aho-admin-icon,.aho-admin-command-icon,.stat113-mini-icon,.aho-section-number,.stat113-category-card__icon) {
    isolation: isolate !important;
    transform: translateZ(0) !important;
}
html body :where(.nav-item__icon,.aho73-choice__visual,.aho-admin-icon,.aho-admin-command-icon,.stat113-mini-icon,.aho-section-number,.stat113-category-card__icon)::before {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    z-index: 0 !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    background: linear-gradient(150deg,rgba(255,255,255,.76),rgba(255,255,255,0) 47%) !important;
    opacity: .82 !important;
}
html body :where(.nav-item__icon,.aho73-choice__visual,.aho-admin-icon,.aho-admin-command-icon,.stat113-mini-icon,.aho-section-number,.stat113-category-card__icon) svg {
    position: relative !important;
    z-index: 2 !important;
}
html body .sidebar .nav-item__icon {
    border-radius: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 4px 12px rgba(18,37,54,.035) !important;
}
html body .sidebar .nav-item:hover .nav-item__icon {
    transform: translateY(-1px) translateZ(0) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 7px 16px rgba(18,37,54,.06) !important;
}

/* 54 · Next-generation surface hierarchy across application */
html body :where(.card,.stat113-panel,.aho-form-section,.aho-admin-card,.lab82-card,.intel-panel,.iw-panel,.aho-summary-card) {
    border-color: rgba(203,216,223,.92) !important;
    border-radius: var(--u122-card-radius) !important;
    background: linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,252,.94)) !important;
    box-shadow: var(--u122-elev-1) !important;
}
html body :where(.card,.stat113-panel,.aho-admin-card,.lab82-card,.intel-panel,.iw-panel,.aho-summary-card):hover {
    border-color: rgba(183,202,211,.98) !important;
}
html body :where(.button,button.button,a.button) {
    min-height: 42px !important;
    border-radius: 11px !important;
    font-weight: 760 !important;
    letter-spacing: -.01em !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.70), 0 4px 12px rgba(18,37,54,.04) !important;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease !important;
}
html body :where(.button,button.button,a.button):hover:not(:disabled) {
    transform: translateY(-1px) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 8px 20px rgba(18,37,54,.07) !important;
}
html body :where(.button--primary,.button-primary,[type="submit"].button) {
    border-color: color-mix(in srgb,var(--ui117-accent) 86%,#064d49 14%) !important;
    color: #fff !important;
    background: linear-gradient(180deg,#15988e,#087f78) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 18px rgba(8,127,120,.17) !important;
}
html body :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    border-radius: var(--u122-control-radius) !important;
}

/* 55 · Sidebar: complete navigation remains accessible at every desktop height */
html body .sidebar {
    grid-template-rows: auto minmax(0,1fr) auto !important;
}
html body .sidebar__navigation {
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(95,119,132,.28) transparent !important;
}
html body .sidebar__navigation::-webkit-scrollbar { width: 6px !important; }
html body .sidebar__navigation::-webkit-scrollbar-thumb { border-radius: 999px !important; background: rgba(95,119,132,.24) !important; }
html body .sidebar__footer {
    position: relative !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 7px 8px 8px !important;
    border-top: 1px solid var(--ui117-line) !important;
    background: linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.96)) !important;
}
@media (max-height: 1040px) and (min-width: 761px) {
    html body .sidebar__brand { min-height: 58px !important; padding: 7px 9px !important; }
    html body .brand__mark, html body .brand__logo { width: 34px !important; min-width:34px!important; height:34px!important; }
    html body .sidebar__navigation { padding: 5px 6px !important; }
    html body .sidebar .nav-section + .nav-section { margin-top: 3px !important; padding-top: 3px !important; }
    html body .sidebar .nav-item { min-height: 31px !important; padding: 0 7px !important; gap: 8px !important; font-size: .70rem !important; }
    html body .sidebar .nav-item__icon { width: 22px !important; min-width: 22px !important; height: 22px !important; border-radius: 7px !important; }
    html body .sidebar .nav-item__icon svg { width: 13px !important; height: 13px !important; }
    html body .sidebar__footer { padding: 5px 6px !important; }
    html body .sidebar .system-indicator { min-height: 37px !important; }
}

/* 56 · Kill accidental secondary sticky layers / overlaps everywhere */
html body.page-entry .aho-entry-quicknav,
html body.page-entry .aho-entry-actionbar,
html body .stat113-form-actions,
html body .iw-modes,
html body .intel-tabs,
html body .lab-workspace-tabs,
html body .aho-workspace-tabs,
html body .lab-toolbar {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
}
html body.page-entry .aho-entry-quicknav { z-index: 4 !important; }
html body.page-entry .aho-entry-actionbar,
html body .stat113-form-actions { z-index: 3 !important; }
html body :where([id^="entry-section-"],.aho-form-section,.stat113-panel) { scroll-margin-top: 86px !important; }

/* 57 · Dark-mode parity for new surfaces */
:root[data-theme="dark"] body .u117-language-trigger,
:root[data-theme-mode="dark"] body .u117-language-trigger,
:root[data-theme="dark"] body .u117-language-panel,
:root[data-theme-mode="dark"] body .u117-language-panel,
:root[data-theme="dark"] body .u117-language-option,
:root[data-theme-mode="dark"] body .u117-language-option {
    color: var(--ui117-ink-2) !important;
    border-color: var(--ui117-line) !important;
    background: var(--ui117-surface-solid) !important;
}
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form label.aho73-choice,
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form label.aho73-choice,
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form label.aho85-choice,
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form label.aho85-choice {
    border-color: var(--ui117-line) !important;
    background: linear-gradient(180deg,#1b2b36,#172630) !important;
}
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form label.aho73-choice :where(.aho73-choice__content,.aho73-choice__label,strong),
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form label.aho73-choice :where(.aho73-choice__content,.aho73-choice__label,strong),
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form label.aho85-choice :where(.aho73-choice__content,.aho73-choice__label,strong),
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form label.aho85-choice :where(.aho73-choice__content,.aho73-choice__label,strong) {
    color: #eff6f9 !important;
    background: transparent !important;
}

/* 58 · Responsive language picker / choice cards */
@media (max-width: 900px) {
    html body .u117-language-options { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 560px) {
    html body .u117-language-options { grid-template-columns: 1fr !important; max-height: 360px !important; }
    html body .u117-language-panel { padding: 10px !important; border-radius: 13px !important; }
    html body.page-entry .app-shell .aho-entry-form label.aho73-choice,
    html body.page-entry .app-shell .aho-entry-form label.aho85-choice { min-height: 52px !important; }
}

/* 1.0.123 – page identities and accessible glass-layer capture controls */
html body:is(.page-entry--social-work,.page-testing-capture,.page-information-contacts,.page-events-hub,.page-public-relations,.page-needle-exchange) { --glass-panel:rgba(255,255,255,.80); }
html body.page-entry--social-work { background:radial-gradient(circle at 82% 18%,#ffe9f1,transparent 48rem),#fff4f8!important; }
html body.page-testing-capture { background:radial-gradient(circle at 85% 10%,#e4eaff,transparent 45rem),#f1f5ff!important; }
html body.page-information-contacts { background:radial-gradient(circle at 85% 10%,#e9e3ff,transparent 45rem),#f6f2ff!important; }
html body.page-events-hub { background:radial-gradient(circle at 85% 10%,#eee6ff,transparent 45rem),#faf7ff!important; }
html body.page-public-relations { background:radial-gradient(circle at 85% 10%,#ffebf4,transparent 45rem),#fff6fb!important; }
html body.page-needle-exchange { background:radial-gradient(circle at 85% 10%,#e2f0ff,transparent 45rem),#f1f8ff!important; }
html body:is(.page-entry--social-work,.page-testing-capture,.page-information-contacts,.page-events-hub,.page-public-relations,.page-needle-exchange) :is(.aho-form-section,.stat113-panel,.stat113-hero,.aho-entry-premium-head) { background:var(--glass-panel)!important; backdrop-filter:blur(18px) saturate(1.12)!important; -webkit-backdrop-filter:blur(18px) saturate(1.12)!important; }
html body.page-testing-capture .u123-fieldset { min-width:0; margin:0 0 22px; padding:16px; border:1px solid var(--ui117-line); border-radius:16px; }
html body.page-testing-capture .u123-fieldset legend { font-weight:800; color:var(--ui117-ink); padding:0 5px; font-size:.91rem; }
html body.page-testing-capture .u123-choice-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; }
html body.page-testing-capture .u123-choice { position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 14px;border:1px solid var(--ui117-line);border-radius:12px;background:rgba(255,255,255,.72);cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s; }
html body.page-testing-capture .u123-choice:hover { border-color:var(--ui117-accent); }
html body.page-testing-capture .u123-choice:has(input:checked) { border-color:rgba(8,127,120,.48);background:var(--ui117-accent-soft);box-shadow:inset 3px 0 0 var(--ui117-accent); }
html body.page-testing-capture .u123-choice input {position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
html body.page-testing-capture .u123-choice-label { font-size:.83rem;font-weight:700;line-height:1.36;background:transparent!important;box-shadow:none!important; }
html body.page-testing-capture .u123-choice-mark {display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;border:1.5px solid #93a9b5;border-radius:6px;background:#fff;}
html body.page-testing-capture .u123-choice:has(input[type=radio]) .u123-choice-mark {border-radius:50%;}
html body.page-testing-capture .u123-choice:has(input:checked) .u123-choice-mark {background:var(--ui117-accent);border-color:var(--ui117-accent);}
html body.page-testing-capture .u123-choice:has(input:checked) .u123-choice-mark:after {content:'';width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg);}
html body.page-testing-capture .u123-choice:has(input:focus-visible) {outline:3px solid rgba(8,127,120,.27);outline-offset:2px;}
html body.page-testing-capture .u123-number-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}
html body.page-testing-capture .u123-number label {display:block;font-weight:750;margin-bottom:9px;font-size:.86rem;}
html body.page-testing-capture .u123-number-control {display:grid;grid-template-columns:48px minmax(0,1fr) 48px;max-width:450px;min-height:48px;border:1px solid var(--ui117-line-strong);border-radius:12px;overflow:hidden;background:var(--ui117-surface-solid);}
html body.page-testing-capture .u123-number-control button {border:0;background:var(--ui117-surface-muted);font-size:1.2rem;cursor:pointer;color:var(--ui117-accent);}
html body.page-testing-capture .u123-number-control input {border:0!important;text-align:center;min-width:0;box-shadow:none!important;background:transparent!important;}
@media(max-width:680px){html body.page-testing-capture .u123-number-grid{grid-template-columns:1fr;}}
:root[data-theme=dark] body.page-testing-capture .u123-choice,:root[data-theme-mode=dark] body.page-testing-capture .u123-choice{background:var(--ui117-surface-soft);}

/* ========================================================================== */
/* AHO-MGM 1.0.124 — unified form workspace based on testing page             */
/* ========================================================================== */

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) {
    --u124-panel-bg: rgba(255,255,255,.82);
    --u124-panel-line: rgba(210,221,227,.92);
    --u124-panel-shadow: 0 14px 36px rgba(20, 35, 50, .05);
    --u124-page-bg: radial-gradient(circle at 84% 10%, rgba(228,234,255,.92), transparent 42rem), #f4f7fb;
    background: var(--u124-page-bg) !important;
}
html body.page-entry--social-work { --u124-accent:#4658d8; --u124-soft:#eef1ff; }
html body.page-entry--public-relations { --u124-accent:#4658d8; --u124-soft:#eef1ff; }
html body.page-entry--needle-exchange { --u124-accent:#4658d8; --u124-soft:#eef1ff; }
html body.page-entry--events { --u124-accent:#4658d8; --u124-soft:#eef1ff; }
html body.page-entry--inventory { --u124-accent:#4658d8; --u124-soft:#eef1ff; }
html body.page-testing-capture,
html body.page-information-contacts,
html body.page-events-hub { --u124-accent:#4658d8; --u124-soft:#eef1ff; }

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub)
:is(.aho-entry-premium-head,.stat113-hero,.aho-form-section,.stat113-panel) {
    background: var(--u124-panel-bg) !important;
    border: 1px solid var(--u124-panel-line) !important;
    border-radius: 20px !important;
    box-shadow: var(--u124-panel-shadow) !important;
    backdrop-filter: blur(18px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
}

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-premium-head {
    padding: 22px 24px !important;
    gap: 16px !important;
    align-items: center !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-premium-head__icon,
html body:is(.page-information-contacts,.page-events-hub) .stat113-hero__icon {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 15px !important;
    color: var(--u124-accent) !important;
    background: linear-gradient(180deg,#f4f6ff,#e9eeff) !important;
    border: 1px solid rgba(70,88,216,.14) !important;
    box-shadow: 0 10px 24px rgba(70,88,216,.10), inset 0 1px 0 rgba(255,255,255,.92) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-premium-head__eyebrow,
html body:is(.page-testing-capture,.page-information-contacts,.page-events-hub) .stat113-hero__eyebrow {
    color: var(--u124-accent) !important;
    font-size: .69rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-premium-head h1,
html body:is(.page-testing-capture,.page-information-contacts,.page-events-hub) .stat113-hero h1 {
    font-size: clamp(1.62rem,1.4rem + .35vw,2rem) !important;
    letter-spacing: -.04em !important;
    margin: 2px 0 4px !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-premium-head p,
html body:is(.page-testing-capture,.page-information-contacts,.page-events-hub) .stat113-hero p {
    max-width: 780px !important;
    color: var(--ui117-muted) !important;
    font-size: .84rem !important;
    line-height: 1.55 !important;
}

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-quicknav,
html body:is(.page-testing-capture,.page-events-hub) .stat113-subnav {
    position: sticky !important;
    top: 76px !important;
    z-index: 3 !important;
    padding: 8px !important;
    border: 1px solid var(--u124-panel-line) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.78) !important;
    backdrop-filter: blur(16px) saturate(1.06) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.06) !important;
    box-shadow: 0 10px 26px rgba(20,35,50,.04) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-quicknav a,
html body:is(.page-testing-capture,.page-events-hub) .stat113-subnav a {
    min-height: 42px !important;
    border-radius: 12px !important;
    font-size: .76rem !important;
    font-weight: 760 !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-quicknav a.is-active,
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-quicknav a[aria-current="step"],
html body:is(.page-testing-capture,.page-events-hub) .stat113-subnav a.is-active,
html body:is(.page-testing-capture,.page-events-hub) .stat113-subnav a[aria-current="page"] {
    color: var(--u124-accent) !important;
    background: linear-gradient(180deg,#fff,var(--u124-soft)) !important;
    box-shadow: inset 3px 0 0 var(--u124-accent) !important;
}

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-form-section,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-panel {
    padding: 18px 18px 16px !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-form-section__header,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-panel__head {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-bottom: 13px !important;
    border-bottom: 1px solid var(--ui117-line) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-section-number,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-step-badge {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
    color: #7458df !important;
    background: #f2efff !important;
    border: 1px solid #e3dcff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-section-number__icon,
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-section-number svg {
    width: 15px !important;
    height: 15px !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-form-section__header h2,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-panel__head h2,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-panel__head strong {
    font-size: 1rem !important;
    font-weight: 820 !important;
    letter-spacing: -.02em !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts) .aho-form-section__header p,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-panel__head p,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-panel__head small {
    margin-top: 2px !important;
    color: var(--ui117-muted) !important;
    font-size: .74rem !important;
    line-height: 1.45 !important;
}

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(label.aho73-choice,label.aho85-choice,label.choice,.u123-choice,.stat113-contact-row,.stat113-category-card,.aho-admin-card) {
    border-radius: 14px !important;
    background: linear-gradient(180deg,rgba(255,255,255,.88),rgba(249,251,255,.82)) !important;
    border: 1px solid rgba(209,220,229,.95) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 8px 18px rgba(20,35,50,.03) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(label.aho73-choice,label.aho85-choice,label.choice,.u123-choice,.stat113-contact-row,.stat113-category-card):hover {
    border-color: rgba(70,88,216,.28) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 24px rgba(70,88,216,.08) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(label.aho73-choice,label.aho85-choice,label.choice,.u123-choice):has(input:checked),
html body.page-information-contacts .stat113-contact-row.is-active {
    border-color: rgba(70,88,216,.30) !important;
    background: linear-gradient(180deg,#ffffff,#f1f4ff) !important;
    box-shadow: inset 3px 0 0 var(--u124-accent), 0 12px 24px rgba(70,88,216,.08) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.aho73-choice__label,.aho85-choice__label,.choice__label,.u123-choice-label,.stat113-contact-row__label strong,.stat113-category-card__title,.aho-admin-card h4) {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ui117-ink) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.aho73-choice__visual,.aho85-choice__visual,.stat113-mini-icon,.stat113-category-card__icon,.aho-admin-icon) {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    color: var(--u124-accent) !important;
    background: linear-gradient(180deg,#f4f6ff,#edf1ff) !important;
    border: 1px solid rgba(70,88,216,.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92) !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.aho73-choice__icon svg,.aho85-choice__icon svg,.stat113-mini-icon svg,.stat113-category-card__icon svg,.aho-admin-icon svg) {
    width: 17px !important;
    height: 17px !important;
    stroke-width: 1.8 !important;
}

html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) .button,
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) button[type="submit"] {
    border-radius: 12px !important;
}
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) .button--primary,
html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory,.page-testing-capture,.page-information-contacts,.page-events-hub) button[type="submit"].button--primary {
    background: linear-gradient(180deg,#4f63ea,#4154d2) !important;
    border-color: #4154d2 !important;
    box-shadow: 0 10px 24px rgba(70,88,216,.22) !important;
}

html body.page-information-contacts .stat114-summary-card {
    min-height: 94px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg,#ffffff,#f7f9ff) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 10px 20px rgba(20,35,50,.04) !important;
}
html body.page-information-contacts .stat114-summary-card strong { color: var(--u124-accent) !important; }

@media (max-width: 980px) {
    html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-quicknav { display:flex !important; overflow-x:auto !important; }
    html body:is(.page-entry--social-work,.page-entry--public-relations,.page-entry--needle-exchange,.page-entry--events,.page-entry--inventory) .aho-entry-quicknav a { flex:0 0 auto !important; min-width:118px !important; }
}

/* ========================================================================== */
/* 1.0.125 · TRUE TEST-PAGE COMPONENT PARITY                                  */
/* Source of truth: /testung .stat113-hero / .stat113-panel / .u123-choice     */
/* These rules target actual template class hooks and do not change form data. */
/* ========================================================================== */
:root {
  --u125-canvas: #edf2f6;
  --u125-panel: rgba(255,255,255,.94);
  --u125-ink: #162a3a;
  --u125-muted: #607487;
  --u125-border: #d6e0e8;
  --u125-primary: #087f78;
  --u125-primary-soft: #e8f7f3;
  --u125-section: #7155d9;
  --u125-section-soft: #f0ecff;
  --u125-shadow: 0 6px 26px rgba(31,54,72,.045);
}
html body {
  background: var(--u125-canvas) !important;
}
html body .content {
  min-width:0 !important;
  padding: 2px 0 36px !important;
}
html body .content :where(.aho-entry-workspace, .stat113-form, .stat113-info-form, .stat113-events-hub, .stat113-events-grid) {
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

/* The SAME white, lightly translucent hero and panels on each entry route. */
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-hero,.aho-entry-premium-head,.stat113-panel,.aho-form-section) {
  position: relative !important;
  min-width: 0 !important;
  overflow: visible !important;
  border: 1px solid var(--u125-border) !important;
  border-radius: 16px !important;
  background: var(--u125-panel) !important;
  box-shadow: var(--u125-shadow) !important;
  backdrop-filter: blur(12px) saturate(1.06) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.06) !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-hero,.aho-entry-premium-head) {
  display:flex !important;
  align-items:center !important;
  gap: 16px !important;
  min-height: 94px !important;
  padding: 20px 22px !important;
  margin: 0 0 12px !important;
}
html body.page-entry .u125-capture-hero .aho-entry-premium-head__main {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-hero__icon,.aho-entry-premium-head__icon) {
  display:grid !important;
  place-items:center !important;
  width:48px !important;
  min-width:48px !important;
  height:48px !important;
  border:1px solid rgba(86,101,215,.15) !important;
  border-radius:14px !important;
  color:#5468df !important;
  background:linear-gradient(150deg,#f8faff,#ecefff) !important;
  box-shadow: 0 6px 18px rgba(74,96,212,.085) !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-hero__icon,.aho-entry-premium-head__icon) svg {
  width:24px !important; height:24px !important; stroke-width:1.8 !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-eyebrow,.aho-entry-premium-head__eyebrow) {
  color:var(--u125-primary) !important;
  text-transform:uppercase !important;
  font-size:.7rem !important;
  font-weight:830 !important;
  letter-spacing:.085em !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-hero,.aho-entry-premium-head) h1 {
  margin:2px 0 3px !important;
  color:var(--u125-ink) !important;
  font-size:clamp(1.55rem,1.25rem + .58vw,1.95rem) !important;
  font-weight:830 !important;
  letter-spacing:-.038em !important;
  line-height:1.18 !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) :where(.stat113-hero,.aho-entry-premium-head) p {
  margin:0 !important;
  color:var(--u125-muted) !important;
  line-height:1.5 !important;
  font-size:.82rem !important;
}
html body.page-entry .aho-entry-premium-head__meta {flex:0 0 auto !important;}

/* Every capture section uses the test card's geometry and visual rhythm. */
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-panel,.aho-form-section) {
  margin: 0 0 12px !important;
  padding: 18px 20px !important;
  border-radius:15px !important;
  background:rgba(255,255,255,.93) !important;
  box-shadow: var(--u125-shadow) !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-panel__head,.aho-form-section__header) {
  display:block !important;
  margin:0 0 14px !important;
  padding:0 0 11px !important;
  border:0 !important;
  border-bottom:1px solid #e3eaf0 !important;
  background:transparent !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-panel__head,.aho-form-section__header) > div {
  display:grid !important;
  grid-template-columns:28px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  column-gap:11px !important;
  row-gap:2px !important;
  align-items:center !important;
  width:100% !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) .stat113-step {
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  width:26px !important;
  min-width:26px !important;
  height:26px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border:1px solid #e8ddff !important;
  border-radius:8px !important;
  color:#7355dc !important;
  background:#f1edff !important;
  font-weight:830 !important;
  font-size:.70rem !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-panel__head,.aho-form-section__header) h2 {
  grid-column:2 !important;
  grid-row:1 !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  min-width:0 !important;
  margin:0 !important;
  font-size:.96rem !important;
  line-height:1.25 !important;
  color:var(--u125-ink) !important;
  font-weight:840 !important;
  letter-spacing:-.01em !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-panel__head,.aho-form-section__header) p {
  grid-column:2 !important;
  grid-row:2 !important;
  margin:0 !important;
  font-size:.73rem !important;
  color:var(--u125-muted) !important;
  line-height:1.45 !important;
}
html body:is(.page-entry,.page-testing-capture) .u125-heading-icon {
  display:inline-grid !important;
  place-items:center !important;
  width:23px !important;
  min-width:23px !important;
  height:23px !important;
  border:1px solid #e7edff !important;
  border-radius:8px !important;
  color:#4966d6 !important;
  background:#f0f4ff !important;
}
html body:is(.page-entry,.page-testing-capture) .u125-heading-icon svg { width:14px !important; height:14px !important; }

/* Choice cards: BOTH old operational and testing use one unified control. */
html body:is(.page-entry,.page-testing-capture) :where(.aho-choice-grid,.u123-choice-grid) {
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,168px),1fr)) !important;
  gap:8px !important;
  min-width:0 !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) {
  display:grid !important;
  grid-template-columns:29px minmax(0,1fr) 19px !important;
  align-items:center !important;
  gap:9px !important;
  position:relative !important;
  min-width:0 !important;
  min-height:52px !important;
  margin:0 !important;
  padding:8px 11px !important;
  border:1px solid #d7e2e9 !important;
  border-radius:11px !important;
  color:var(--u125-ink) !important;
  background:rgba(255,255,255,.90) !important;
  box-shadow:none !important;
  cursor:pointer !important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):hover {
  border-color:#a5c9c4 !important;
  background:#fff !important;
  box-shadow:0 5px 14px rgba(9,85,81,.05) !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input:checked) {
  border-color:rgba(8,127,120,.48) !important;
  background:#e9f7f4 !important;
  box-shadow:inset 3px 0 0 var(--u125-primary) !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) > :is(input[type="checkbox"],input[type="radio"]) {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
  clip-path:inset(50%) !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) :where(.aho73-choice__visual,.u125-choice-icon) {
  grid-column:1 !important;
  grid-row:1 !important;
  display:grid !important;
  place-items:center !important;
  width:29px !important;
  min-width:29px !important;
  height:29px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #deebf4 !important;
  border-radius:8px !important;
  color:#2c8492 !important;
  background:#f2f9fb !important;
  box-shadow:none !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) :where(.aho73-choice__icon,.u125-choice-icon) svg {
  width:16px !important;height:16px !important;stroke-width:1.8 !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) :where(.aho73-choice__content,.u123-choice-label) {
  grid-column:2 !important;
  grid-row:1 !important;
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  color:var(--u125-ink) !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  text-shadow:none !important;
  overflow-wrap:break-word !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) :where(.aho73-choice__label,.u123-choice-label) {
  font-size:.76rem !important;
  font-weight:750 !important;
  line-height:1.3 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) :where(.aho73-choice__indicator,.u123-choice-mark) {
  grid-column:3 !important;
  grid-row:1 !important;
  justify-self:end !important;
  display:grid !important;
  place-items:center !important;
  position:relative !important;
  width:18px !important;
  min-width:18px !important;
  height:18px !important;
  margin:0 !important;
  padding:0 !important;
  border:1.5px solid #9cb1bf !important;
  border-radius:5px !important;
  background:#fff !important;
  background-image:none !important;
  box-shadow:none !important;
  transform:none !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input[type="radio"]) :where(.aho73-choice__indicator,.u123-choice-mark) { border-radius:50% !important; }
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input:checked) :where(.aho73-choice__indicator,.u123-choice-mark) {
  border-color:var(--u125-primary) !important;
  background:var(--u125-primary) !important;
  box-shadow:none !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input[type="checkbox"]:checked) :where(.aho73-choice__indicator,.u123-choice-mark)::after {
  content:"" !important;
  position:static !important;
  display:block !important;
  width:9px !important;
  height:5px !important;
  border:0 !important;
  border-bottom:2px solid white !important;
  border-left:2px solid white !important;
  background:none !important;
  transform:translateY(-1px) rotate(-45deg) !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input[type="radio"]:checked) :where(.aho73-choice__indicator,.u123-choice-mark)::after {
  content:"" !important;
  position:static !important;
  display:block !important;
  width:7px !important;
  height:7px !important;
  border:0 !important;
  border-radius:50% !important;
  background:white !important;
  transform:none !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input:focus-visible) {
  outline:3px solid rgba(8,127,120,.22) !important;outline-offset:2px !important;
}

/* Same testing fieldset layout in every entry module. */
html body:is(.page-entry,.page-testing-capture) :where(.aho-fieldset,.u123-fieldset) {
  min-width:0 !important;
  margin:0 0 14px !important;
  padding:12px !important;
  border:1px solid #e1eaf0 !important;
  border-radius:13px !important;
  background:rgba(250,252,253,.78) !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.aho-fieldset,.u123-fieldset) > legend {
  padding:0 5px !important;
  margin-bottom:5px !important;
  font-size:.78rem !important;
  color:var(--u125-ink) !important;
  font-weight:790 !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.aho-field, .u123-number) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  min-height:43px !important;
  border-radius:9px !important;
  background:rgba(241,246,249,.80) !important;
}
html body:is(.page-entry,.page-testing-capture) :where(.aho-field,.u123-number) :is(input,select,textarea):focus-visible {
  outline:0 !important;
  border-color:#78b9b1 !important;
  box-shadow:0 0 0 4px rgba(8,127,120,.10) !important;
}

/* The tests language picker is now the same inline, searchable component as Beratung. */
html body .u125-test-language-field select[hidden] { display:none !important; }
html body .u125-test-language-field .u117-language-picker { position:relative !important; width:100% !important; }
html body .u125-test-language-field .u117-language-panel {
  position:relative !important;top:auto !important;left:auto !important;right:auto !important;
  z-index:auto !important;width:100% !important;margin-top:9px !important;
  padding:12px !important;border:1px solid var(--u125-border) !important;
  border-radius:12px !important;background:#fff !important;
  box-shadow:none !important;
}
html body .u125-test-language-field .u117-language-panel[hidden] { display:none !important; }
html body .u125-test-language-field .u117-language-options { display:grid !important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr)) !important;gap:7px !important;max-height:300px !important;overflow-y:auto !important; }

/* Controls and action bars follow the compact test page footer, never overlap fields. */
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.aho-entry-actionbar,.stat113-form-actions) {
  position:relative !important;inset:auto !important;z-index:1 !important;
  display:flex !important;align-items:center !important;justify-content:flex-end !important;
  gap:10px !important;margin-top:16px !important;padding:14px 0 0 !important;
  background:transparent !important;border:0 !important;border-top:1px solid #e4ebf0 !important;
  box-shadow:none !important;backdrop-filter:none !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.button,.stat113-form-actions button) {
  min-height:40px !important;padding:0 14px !important;border-radius:10px !important;
  font-weight:770 !important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.button--primary,button[type="submit"].button--primary) {
  color:#fff !important;border-color:var(--u125-primary) !important;
  background:linear-gradient(180deg,#11958a,#087f78) !important;
  box-shadow:0 6px 18px rgba(8,127,120,.17) !important;
}

/* Global panels, admin, analytics and inventory share the testing surface design. */
html body :where(.card,.aho-admin-card,.iw-panel,.intel-panel,.lab82-card,.aho-summary-card,.stat113-category-card) {
  border:1px solid var(--u125-border) !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:var(--u125-shadow) !important;
}
html body .content :where(.card__title,.aho-admin-card h4,.iw-panel h2,.intel-panel h2) { color:var(--u125-ink) !important;font-weight:820 !important; }

/* Focus, hover and typography stay readable at desktop/tablet/mobile sizes. */
@media (max-width:760px) {
  html body:is(.page-entry,.page-testing-capture) :where(.aho-choice-grid,.u123-choice-grid) {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)) !important;
  }
  html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.aho-form-section,.stat113-panel) {padding:15px !important;}
  html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-hero,.aho-entry-premium-head) {padding:16px !important;}
}
@media (max-width:480px) {
  html body:is(.page-entry,.page-testing-capture) :where(.aho-choice-grid,.u123-choice-grid) {grid-template-columns:1fr !important;}
  html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.stat113-panel__head,.aho-form-section__header) h2 {font-size:.87rem !important;}
  html body:is(.page-entry,.page-testing-capture,.page-information-contacts) :where(.aho-entry-actionbar,.stat113-form-actions) {flex-direction:column-reverse !important;}
}
:root[data-theme="dark"], :root[data-theme-mode="dark"] {
  --u125-panel:rgba(22,36,47,.96);
  --u125-ink:#eff6f9;
  --u125-muted:#b3c2cc;
  --u125-border:#314958;
  --u125-canvas:#101c25;
}
:root[data-theme="dark"] body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice),
:root[data-theme-mode="dark"] body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice) {
  color:var(--u125-ink) !important;background:#1c2e3a !important;border-color:#3b5260 !important;
}
:root[data-theme="dark"] body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input:checked),
:root[data-theme-mode="dark"] body:is(.page-entry,.page-testing-capture) :where(.u125-parity-choice,.u123-choice):has(input:checked) { background:#183e3c !important; }

/* Picker accessibility: [hidden] must win over the card display styles. */
html body .u117-language-option[hidden],
html body .u125-test-language-field .u117-language-option[hidden] { display:none !important; }
html body .u125-test-language-field .u117-language-option { min-height:40px !important; }
html body .u125-test-language-field .u117-language-search { min-height:44px !important; margin-bottom:10px !important; }
/* Avoid splitting the last characters of long option labels into tiny columns. */
html body:is(.page-entry,.page-testing-capture) :where(.aho-choice-grid,.u123-choice-grid) {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr)) !important;
}

/* High-specificity normalization for legacy page-entry rules that otherwise
 * make whole panels transparent despite the shared Test markup classes. */
html body.page-entry .app-shell .aho-entry-form header.aho-entry-premium-head.u125-capture-hero,
html body.page-entry .app-shell .aho-entry-form section.aho-form-section.u125-capture-panel {
  display:block !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 0 13px !important;
  padding:18px 20px !important;
  border:1px solid var(--u125-border) !important;
  border-radius:16px !important;
  background:var(--u125-panel) !important;
  background-image:none !important;
  box-shadow:var(--u125-shadow) !important;
  overflow:visible !important;
}
html body.page-entry .app-shell .aho-entry-form header.aho-entry-premium-head.u125-capture-hero {
  display:flex !important;
  align-items:center !important;
  min-height:94px !important;
  padding:20px 22px !important;
}
html body.page-entry .app-shell .aho-entry-form section.u125-capture-panel > .u125-panel-heading {
  display:block !important;
  position:relative !important;
  margin:0 0 15px !important;
  padding:0 0 12px !important;
  border:0 !important;
  border-bottom:1px solid #dfe8ef !important;
  background:transparent !important;
}
html body.page-entry .app-shell .aho-entry-form section.u125-capture-panel > .u125-panel-heading > div {
  display:grid !important;
  grid-template-columns:28px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  gap:2px 10px !important;
  align-items:center !important;
}
html body.page-entry .app-shell .aho-entry-form section.u125-capture-panel .u125-panel-heading .stat113-step {
  grid-column:1 !important;grid-row:1 / span 2 !important;
  display:grid !important;place-items:center !important;
  width:26px !important;min-width:26px !important;height:26px !important;
  color:#7155d9 !important;background:#f2edff !important;border:1px solid #e7defc !important;
  border-radius:8px !important;font-size:.7rem !important;
}
html body.page-entry .app-shell .aho-entry-form section.u125-capture-panel .u125-panel-heading h2 {
  grid-column:2 !important;grid-row:1 !important;
  display:flex !important;align-items:center !important;gap:9px !important;
  font-size:.97rem !important;margin:0 !important;
}
html body.page-entry .app-shell .aho-entry-form section.u125-capture-panel .u125-panel-heading p {
  grid-column:2 !important;grid-row:2 !important;
  font-size:.74rem !important;margin:0 !important;
}
html body.page-entry .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice {
  display:grid !important;
  grid-template-columns:29px minmax(0,1fr) 19px !important;
  min-height:52px !important;
  align-items:center !important;
  gap:9px !important;
  padding:8px 11px !important;
  border:1px solid #d7e2e9 !important;
  border-radius:11px !important;
  background:#fff !important;
  box-shadow:none !important;
}
html body.page-entry .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice:has(input:checked) {
  color:var(--u125-ink) !important;
  border-color:#68ada5 !important;
  background:#e9f7f4 !important;
  box-shadow:inset 3px 0 0 var(--u125-primary) !important;
}
html body.page-entry .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__content,
html body.page-entry .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__label {
  color:var(--u125-ink) !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html body.page-entry .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__visual {
  display:grid !important;place-items:center !important;
  width:29px !important;min-width:29px !important;height:29px !important;
  grid-column:1 !important;border-radius:9px !important;background:#f1f9fb !important;
}
html body.page-entry .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__indicator {
  grid-column:3 !important;justify-self:end !important;
  width:18px !important;height:18px !important;margin:0 !important;
}

/* ========================================================================== */
/* AHO-MGM 1.0.127 — consultation pixel parity                           */
/* ========================================================================== */
html body.page-entry--social-work .u126-consult-stack {
    display: grid !important;
    gap: 16px !important;
}
html body.page-entry--social-work .u126-consult-block {
    margin: 0 !important;
}
html body.page-entry--social-work #social-basics .stat113-primary-choice .aho-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 14px !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice {
    min-height: 56px !important;
    padding: 12px 14px !important;
    align-items: center !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__content {
    gap: 2px !important;
    padding-right: 4px !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__label {
    line-height: 1.25 !important;
    font-size: .82rem !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice .aho73-choice__indicator {
    position: relative !important;
    justify-self: end !important;
    align-self: center !important;
    margin-left: auto !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice:has(input:checked) .aho73-choice__indicator {
    background: linear-gradient(180deg,#18b1a6,#109387) !important;
    border-color: #109387 !important;
    box-shadow: 0 0 0 4px rgba(20,180,165,.12) !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice:has(input[type="checkbox"]:checked) .aho73-choice__indicator::after {
    width: 5px !important;
    height: 9px !important;
    top: 48% !important;
}
html body.page-entry--social-work .app-shell .aho-entry-form .aho-choice-grid > label.u125-parity-choice:has(input[type="radio"]:checked) .aho73-choice__indicator::after {
    width: 8px !important;
    height: 8px !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
}
html body.page-entry--social-work .stat113-primary-choice .aho-choice-grid > label.u125-parity-choice {
    min-height: 62px !important;
}
html body.page-entry--social-work .stat113-primary-choice .aho-choice-grid > label.u125-parity-choice .aho73-choice__label {
    font-size: .86rem !important;
}
html body.page-entry--social-work #social-person .aho-choice-grid--field-genders,
html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 10px !important;
}
html body.page-entry--social-work #social-person .aho-choice-grid--field-genders > label,
html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations > label {
    min-height: 54px !important;
}
html body.page-entry--social-work #social-person .aho-choice-grid--field-genders .aho73-choice__content,
html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations .aho73-choice__content {
    min-width: 0 !important;
}
html body.page-entry--social-work #social-person .aho-choice-grid--field-genders .aho73-choice__label,
html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations .aho73-choice__label {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}
html body.page-entry--social-work #social-person .stat113-other-field {
    margin-top: 10px !important;
}
@media (max-width: 1180px) {
    html body.page-entry--social-work #social-person .aho-choice-grid--field-genders,
    html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    }
}
@media (max-width: 860px) {
    html body.page-entry--social-work #social-basics .stat113-primary-choice .aho-choice-grid,
    html body.page-entry--social-work #social-person .aho-choice-grid--field-genders,
    html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width: 580px) {
    html body.page-entry--social-work #social-basics .stat113-primary-choice .aho-choice-grid,
    html body.page-entry--social-work #social-person .aho-choice-grid--field-genders,
    html body.page-entry--social-work #social-person .aho-choice-grid--field-orientations {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================================================== */
/* AHO-MGM 1.0.128 — ONE shared capture design, reference: /testung            */
/* Deliberately scoped: no changes to admin, reports or analytic calculations */
/* ========================================================================== */
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) {
  --u128-accent:#087f78;
  --u128-ink:#152b3e;
  --u128-muted:#667d8e;
  --u128-panel:#fff;
  --u128-canvas:#eff4f8;
  --u128-line:#d8e3eb;
  background:var(--u128-canvas)!important;
}
html body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) .content {
  min-width:0!important;
  overflow:visible!important;
}
html body.page-entry .app-shell .aho-entry-workspace,
html body:is(.page-testing-capture,.page-information-contacts,.page-events-hub) .content > .u128-capture-hub {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
/* Remove the historical consultancy two-column shell on all desktop sizes */
html body.page-entry--social-work :where(.u116-consult-columns,.u116-consult-primary,.u116-consult-secondary) {
  display:contents!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-stage,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-layout,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] {
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-layout,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-stage {
  gap:12px!important;
  overflow:visible!important;
}
/* Header/hero is the exact structural analog of the Tests form hero */
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] > .aho-entry-premium-head,
html body.page-testing-capture .stat113-hero,
html body.page-information-contacts .stat113-hero,
html body.page-events-hub .stat113-hero {
  display:flex!important;
  align-items:center!important;
  min-height:86px!important;
  padding:20px 22px!important;
  gap:15px!important;
  border:1px solid var(--u128-line)!important;
  border-radius:17px!important;
  background:var(--u128-panel)!important;
  box-shadow:0 7px 24px rgba(30,50,67,.05)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-premium-head__icon,
html body:is(.page-testing-capture,.page-information-contacts,.page-events-hub) .stat113-hero__icon {
  display:grid!important;place-items:center!important;
  width:42px!important;min-width:42px!important;height:42px!important;
  color:#425ed5!important;
  background:#eef2ff!important;
  border:1px solid #e3e9ff!important;
  border-radius:13px!important;
  box-shadow:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-premium-head h1 {
  font-size:1.48rem!important;
  font-weight:820!important;
  letter-spacing:-.035em!important;
  color:var(--u128-ink)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-premium-head__eyebrow {
  color:var(--u128-accent)!important;
  font-size:.70rem!important;font-weight:830!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-premium-head p {
  max-width:860px!important;
  font-size:.79rem!important;
  color:var(--u128-muted)!important;
}
/* Exactly the same white section cards, spacing and typography on every module */
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] section.aho-form-section,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] section.stat113-panel,
html body.page-events-hub :where(.stat113-info-panel,.stat113-category-card) {
  position:relative!important;
  display:block!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid var(--u128-line)!important;
  border-radius:16px!important;
  color:var(--u128-ink)!important;
  background:var(--u128-panel)!important;
  background-image:none!important;
  box-shadow:0 6px 22px rgba(18,42,61,.035)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] section.aho-form-section:before,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] section.aho-form-section:after {
  content:none!important;display:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .stat113-panel__head,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .stat113-panel__head {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 14px!important;
  padding:0 0 12px!important;
  border:0!important;
  border-bottom:1px solid #e7edf2!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .stat113-panel__head > div,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .stat113-panel__head > div {
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:2px 10px!important;
  align-items:center!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] :where(.stat113-step,.aho-section-number),
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .stat113-step {
  grid-column:1!important;grid-row:1 / span 2!important;
  display:grid!important;place-items:center!important;
  width:28px!important;min-width:28px!important;height:28px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:9px!important;
  color:#7458df!important;background:#f2efff!important;
  font-size:.70rem!important;font-weight:830!important;
  box-shadow:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .stat113-panel__head h2,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .stat113-panel__head h2 {
  grid-column:2!important;grid-row:1!important;
  display:flex!important;align-items:center!important;gap:8px!important;
  font-size:.94rem!important;line-height:1.28!important;font-weight:800!important;
  margin:0!important;padding:0!important;
  background:transparent!important;color:var(--u128-ink)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .stat113-panel__head p,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .stat113-panel__head p {
  grid-column:2!important;grid-row:2!important;
  margin:0!important;font-size:.72rem!important;
  color:var(--u128-muted)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u125-heading-icon,
html body:is(.page-testing-capture,.page-information-contacts) .u125-heading-icon {
  display:inline-flex!important;align-items:center!important;
  width:19px!important;height:19px!important;
  color:#465cda!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u125-heading-icon svg,
html body:is(.page-testing-capture,.page-information-contacts) .u125-heading-icon svg {width:16px!important;height:16px!important;}
/* The old multi-column registration grid no longer squeezes gender/orientation */
html body.page-entry--social-work .app-shell .aho-entry-form[data-capture-ui="testing"] .u126-consult-stack,
html body.page-entry--social-work .app-shell .aho-entry-form[data-capture-ui="testing"] .u128-choice-stack {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] :where(.aho-fieldset,.u123-fieldset) {
  min-width:0!important;
  width:100%!important;
  padding:12px!important;
  margin:0 0 12px!important;
  border:1px solid #e0e8ee!important;
  border-radius:13px!important;
  background:#f9fbfd!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] :where(.aho-fieldset,.u123-fieldset) > legend {
  padding:0 5px!important;
  color:var(--u128-ink)!important;
  font-size:.82rem!important;
  font-weight:800!important;
  background:transparent!important;
}
/* Real shared choice card markup: same u123 classes as /testung */
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u128-choice-grid,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] .u128-choice-grid {
  display:grid!important;
  width:100%!important;
  min-width:0!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important;
  grid-auto-rows:auto!important;
  gap:9px!important;
  overflow:visible!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice {
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 19px!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  column-gap:9px!important;
  width:100%!important;min-width:0!important;
  min-height:52px!important;
  padding:9px 11px!important;
  margin:0!important;
  border:1px solid #d7e2e9!important;
  border-radius:11px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transform:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:hover,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:hover {
  border-color:#98c5c0!important;
  box-shadow:0 5px 14px rgba(8,127,120,.055)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input:checked),
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:has(input:checked) {
  border-color:#61aca4!important;
  background:#eaf7f5!important;
  box-shadow:inset 3px 0 0 var(--u128-accent)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice > input[type="checkbox"],
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice > input[type="radio"],
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice > input {
  position:absolute!important;left:0!important;top:0!important;
  inline-size:1px!important;block-size:1px!important;
  opacity:0!important;pointer-events:none!important;
  clip-path:inset(50%)!important;margin:0!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .u125-choice-icon,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice .u125-choice-icon {
  display:grid!important;place-items:center!important;
  grid-column:1!important;grid-row:1!important;
  width:30px!important;min-width:30px!important;height:30px!important;
  border:1px solid #e0ebf1!important;border-radius:9px!important;
  color:#24828e!important;background:#f3fafb!important;
  box-shadow:none!important;transform:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .u125-choice-icon svg,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice .u125-choice-icon svg {
  width:16px!important;height:16px!important;stroke-width:1.8!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .aho73-choice__content,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .u123-choice-label,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice .u123-choice-label {
  grid-column:2!important;grid-row:1!important;
  display:block!important;
  position:static!important;
  min-width:0!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;text-shadow:none!important;
  color:var(--u128-ink)!important;
  font-size:.76rem!important;font-weight:760!important;line-height:1.34!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .aho73-choice__label {
  display:block!important;width:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;
  background:transparent!important;box-shadow:none!important;
  white-space:normal!important;overflow:visible!important;
  color:var(--u128-ink)!important;font-size:.76rem!important;
  line-height:1.34!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .u123-choice-mark,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice .u123-choice-mark {
  grid-column:3!important;grid-row:1!important;
  display:grid!important;place-items:center!important;
  position:static!important;justify-self:end!important;
  width:18px!important;min-width:18px!important;height:18px!important;
  margin:0!important;padding:0!important;
  border:1.5px solid #9db3c3!important;border-radius:5px!important;
  background:#fff!important;background-image:none!important;
  box-shadow:none!important;transform:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice .u123-choice-mark::before,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice .u123-choice-mark::before {content:none!important;display:none!important;}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input[type="radio"]) .u123-choice-mark,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:has(input[type="radio"]) .u123-choice-mark {border-radius:50%!important;}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input:checked) .u123-choice-mark,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:has(input:checked) .u123-choice-mark {
  border-color:var(--u128-accent)!important;
  background:var(--u128-accent)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input[type="checkbox"]:checked) .u123-choice-mark::after,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:has(input[type="checkbox"]:checked) .u123-choice-mark::after {
  content:""!important;display:block!important;
  position:static!important;width:9px!important;height:5px!important;
  border:0!important;border-left:2px solid #fff!important;border-bottom:2px solid #fff!important;
  border-radius:0!important;background:none!important;
  transform:translateY(-1px) rotate(-45deg)!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input[type="radio"]:checked) .u123-choice-mark::after,
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:has(input[type="radio"]:checked) .u123-choice-mark::after {
  content:""!important;display:block!important;
  position:static!important;width:7px!important;height:7px!important;
  border:0!important;border-radius:50%!important;background:#fff!important;
  transform:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input:focus-visible),
html body.page-testing-capture .stat113-form[data-capture-ui="testing"] label.u128-choice:has(input:focus-visible) {
  outline:3px solid rgba(8,127,120,.20)!important;outline-offset:2px!important;
}
/* Use the full available row for gender, orientation and other multi-choice groups */
html body.page-entry--social-work .app-shell .aho-entry-form[data-capture-ui="testing"] #social-basics .stat113-primary-choice .u128-choice-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html body.page-entry--social-work .app-shell .aho-entry-form[data-capture-ui="testing"] #social-person .u128-choice-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,195px),1fr))!important;}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] :is(.aho-field,.stat113-language-select) :is(input,select,textarea),
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .aho-field :is(input,select,textarea) {
  max-width:100%!important;
  min-width:0!important;
  border:1px solid var(--u128-line)!important;border-radius:9px!important;
  background:#f1f5f7!important;box-shadow:none!important;
}
/* The language picker must stay in document flow and remain clickable */
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] :where(.stat113-language-select,.u117-language-picker,.u117-language-panel) {
  position:static!important;overflow:visible!important;transform:none!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u117-language-panel:not([hidden]) {
  display:block!important;width:100%!important;margin-top:8px!important;
  border:1px solid var(--u128-line)!important;border-radius:12px!important;
  background:#fff!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u117-language-panel[hidden] {display:none!important;}
/* Information-contact steppers — preserve the server-side count and duration names */
html body.page-information-contacts .u128-inline-step {
  display:grid!important;grid-template-columns:33px minmax(0,1fr) 36px!important;
  align-items:center!important;gap:0!important;
  min-width:0!important;max-width:100%!important;
  border:1px solid var(--u128-line)!important;border-radius:10px!important;
  background:#f1f5f7!important;overflow:hidden!important;
}
html body.page-information-contacts .u128-inline-step input {
  grid-column:2!important;grid-row:1!important;
  text-align:center!important;
  min-width:0!important;height:42px!important;
  padding:0 5px!important;border:0!important;
  font-variant-numeric:tabular-nums!important;
  appearance:textfield!important;-moz-appearance:textfield!important;
}
html body.page-information-contacts .u128-inline-step input::-webkit-inner-spin-button,
html body.page-information-contacts .u128-inline-step input::-webkit-outer-spin-button {-webkit-appearance:none!important;}
html body.page-information-contacts .u128-inline-step button {
  display:grid!important;place-items:center!important;
  width:33px!important;height:42px!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:#e7f0f4!important;color:var(--u128-accent)!important;
  font-size:1.1rem!important;font-weight:800!important;cursor:pointer!important;
}
html body.page-information-contacts .u128-inline-step button:last-child {grid-column:3!important;grid-row:1!important;width:36px!important;}
html body.page-information-contacts .u128-inline-step small {display:none!important;}
html body.page-information-contacts .stat114-contact-inputs {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
/* Event choice hub matches section cards and icons */
html body.page-events-hub .u128-capture-hub .stat113-category-grid {
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important;
  gap:12px!important;min-width:0!important;
}
html body.page-events-hub .u128-capture-hub .stat113-category-card {
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 28px!important;
  align-items:center!important;min-height:128px!important;
  background:#fff!important;text-decoration:none!important;
}
html body.page-events-hub .u128-capture-hub .stat113-category-card__icon {display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:12px!important;background:#f1f5fe!important;color:#4659d6!important;}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-actionbar,
html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] .stat113-form-actions {
  position:static!important;inset:auto!important;
  background:transparent!important;backdrop-filter:none!important;
  border-top:1px solid #e4ebf0!important;
  box-shadow:none!important;
  padding:13px 0 0!important;
  margin:4px 0 0!important;
}
@media(max-width:860px){
  html body.page-entry--social-work .app-shell .aho-entry-form[data-capture-ui="testing"] #social-basics .stat113-primary-choice .u128-choice-grid {grid-template-columns:1fr!important;}
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u128-choice-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))!important;}
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-premium-head__meta {display:none!important;}
}
@media(max-width:540px){
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] section.aho-form-section,
  html body:is(.page-testing-capture,.page-information-contacts) .stat113-form[data-capture-ui="testing"] section.stat113-panel {padding:13px!important;}
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .u128-choice-grid,
  html body.page-entry--social-work .app-shell .aho-entry-form[data-capture-ui="testing"] #social-person .u128-choice-grid {grid-template-columns:1fr!important;}
  html body.page-information-contacts .stat114-contact-inputs {grid-template-columns:1fr!important;}
}
:root[data-theme="dark"] body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub),
:root[data-theme-mode="dark"] body:is(.page-entry,.page-testing-capture,.page-information-contacts,.page-events-hub) {
  --u128-panel:#172934;--u128-canvas:#0c1820;--u128-line:#33505e;--u128-ink:#eef6fa;--u128-muted:#aec0ca;
}
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice,
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice {
  background:#213441!important;color:var(--u128-ink)!important;border-color:var(--u128-line)!important;
}
:root[data-theme="dark"] body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input:checked),
:root[data-theme-mode="dark"] body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] label.u128-choice:has(input:checked) {background:#153e3b!important;}

/* 1.0.128 Stability: legacy page-entry animation starts at 1% opacity until its
   first frame. Keep the reference Testing design immediately readable on load. */
html body.page-entry .app-shell .aho-entry-workspace,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] {
  opacity:1!important;
  animation:none!important;
  filter:none!important;
  transform:none!important;
}
/* The tests reference uses white fieldset surfaces, not nested grey cards. */
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-fieldset {
  background:#fff!important;
  border-color:#e0e8ee!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-entry-premium-head__eyebrow {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:0 0 2px!important;
}


/* === 1.0.129 consultation readability + stepper polish === */
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources.u128-choice-grid,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups.u128-choice-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,248px),1fr))!important;
  gap:11px!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice {
  grid-template-columns:30px minmax(0,1fr) 20px!important;
  align-items:start!important;
  min-height:74px!important;
  padding:12px 12px!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice .u125-choice-icon,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice .u125-choice-icon,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice .u123-choice-mark,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice .u123-choice-mark {
  margin-top:2px!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice .aho73-choice__content,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice .aho73-choice__content,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice .u123-choice-label,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice .u123-choice-label {
  align-self:start!important;
  font-size:.84rem!important;
  line-height:1.34!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice[data-choice-value="professional_referral"],
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice[data-choice-value="refugees_migrants"] {
  grid-column:span 2!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice[data-choice-value="professional_referral"] .aho73-choice__content,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice[data-choice-value="refugees_migrants"] .aho73-choice__content {
  max-width:56ch!important;
}
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice[data-choice-value="giveaways"] .aho73-choice__content,
html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice[data-choice-value="refugees_migrants"] .aho73-choice__content {
  white-space:normal!important;
}
@media(max-width:1100px){
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources.u128-choice-grid,
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups.u128-choice-grid {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;
  }
}
@media(max-width:860px){
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-referral_sources > label.u128-choice[data-choice-value="professional_referral"],
  html body.page-entry .app-shell .aho-entry-form[data-capture-ui="testing"] .aho-choice-grid--field-target_groups > label.u128-choice[data-choice-value="refugees_migrants"] {
    grid-column:auto!important;
  }
}

html body.page-entry .aho-number-control,
html body.page-testing-capture .aho-number-control,
html body.page-information-contacts .aho-number-control,
html body.page-events-hub .aho-number-control {
  width:100%!important;
  min-width:0!important;
}
html body.page-entry .aho-number-stepper,
html body.page-testing-capture .aho-number-stepper,
html body.page-information-contacts .aho-number-stepper,
html body.page-events-hub .aho-number-stepper {
  display:grid!important;
  grid-template-columns:44px 44px minmax(124px,1fr) 44px!important;
  align-items:center!important;
  min-height:58px!important;
  border:1px solid #c8d7e0!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#f9fcfd,#eef4f7)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset, 0 8px 18px rgba(28,73,89,.06)!important;
  overflow:hidden!important;
}
html body.page-entry .aho-number-stepper .aho95-measure-icon,
html body.page-testing-capture .aho-number-stepper .aho95-measure-icon,
html body.page-information-contacts .aho-number-stepper .aho95-measure-icon,
html body.page-events-hub .aho-number-stepper .aho95-measure-icon {
  grid-column:1!important;
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:56px!important;
  color:var(--u128-accent,#087f78)!important;
  background:rgba(239,248,250,.9)!important;
  border-right:1px solid #d7e3ea!important;
}
html body.page-entry .aho-number-stepper .aho95-step-button--minus,
html body.page-testing-capture .aho-number-stepper .aho95-step-button--minus,
html body.page-information-contacts .aho-number-stepper .aho95-step-button--minus,
html body.page-events-hub .aho-number-stepper .aho95-step-button--minus {
  grid-column:2!important;
}
html body.page-entry .aho-number-stepper .aho95-number-value,
html body.page-testing-capture .aho-number-stepper .aho95-number-value,
html body.page-information-contacts .aho-number-stepper .aho95-number-value,
html body.page-events-hub .aho-number-stepper .aho95-number-value {
  grid-column:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:0!important;
  height:56px!important;
  padding:0 12px!important;
  background:transparent!important;
}
html body.page-entry .aho-number-stepper .aho95-number-value input,
html body.page-testing-capture .aho-number-stepper .aho95-number-value input,
html body.page-information-contacts .aho-number-stepper .aho95-number-value input,
html body.page-events-hub .aho-number-stepper .aho95-number-value input {
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
  font-size:1.26rem!important;
  font-weight:820!important;
  color:#17394a!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}
html body.page-entry .aho-number-stepper .aho95-number-unit,
html body.page-testing-capture .aho-number-stepper .aho95-number-unit,
html body.page-information-contacts .aho-number-stepper .aho95-number-unit,
html body.page-events-hub .aho-number-stepper .aho95-number-unit {
  flex:0 0 auto!important;
  font-size:.93rem!important;
  font-weight:800!important;
  color:#5e7583!important;
}
html body.page-entry .aho-number-stepper .aho95-step-button,
html body.page-testing-capture .aho-number-stepper .aho95-step-button,
html body.page-information-contacts .aho-number-stepper .aho95-step-button,
html body.page-events-hub .aho-number-stepper .aho95-step-button {
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:56px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-left:1px solid #d7e3ea!important;
  background:rgba(255,255,255,.52)!important;
  color:#294658!important;
  font-size:1.35rem!important;
  font-weight:850!important;
}
html body.page-entry .aho-number-stepper .aho95-step-button--minus,
html body.page-testing-capture .aho-number-stepper .aho95-step-button--minus,
html body.page-information-contacts .aho-number-stepper .aho95-step-button--minus,
html body.page-events-hub .aho-number-stepper .aho95-step-button--minus {
  border-left:0!important;
  border-right:1px solid #d7e3ea!important;
}
html body.page-entry .aho-number-stepper .aho95-step-button:hover,
html body.page-testing-capture .aho-number-stepper .aho95-step-button:hover,
html body.page-information-contacts .aho-number-stepper .aho95-step-button:hover,
html body.page-events-hub .aho-number-stepper .aho95-step-button:hover {
  background:#edf6f7!important;
  color:var(--u128-accent,#087f78)!important;
}
html body.page-entry .aho-number-stepper .aho95-step-button span,
html body.page-testing-capture .aho-number-stepper .aho95-step-button span,
html body.page-information-contacts .aho-number-stepper .aho95-step-button span,
html body.page-events-hub .aho-number-stepper .aho95-step-button span {
  display:block!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
}
html body.page-entry .aho-number-presets,
html body.page-testing-capture .aho-number-presets,
html body.page-information-contacts .aho-number-presets,
html body.page-events-hub .aho-number-presets {
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin-top:10px!important;
}
html body.page-entry .aho-number-presets button,
html body.page-testing-capture .aho-number-presets button,
html body.page-information-contacts .aho-number-presets button,
html body.page-events-hub .aho-number-presets button {
  min-height:26px!important;
  padding:0 10px!important;
  border-radius:9px!important;
  font-size:.75rem!important;
  font-weight:760!important;
}
@media(max-width:720px){
  html body.page-entry .aho-number-stepper,
  html body.page-testing-capture .aho-number-stepper,
  html body.page-information-contacts .aho-number-stepper,
  html body.page-events-hub .aho-number-stepper {
    grid-template-columns:38px 40px minmax(100px,1fr) 40px!important;
    min-height:52px!important;
  }
  html body.page-entry .aho-number-stepper .aho95-measure-icon,
  html body.page-testing-capture .aho-number-stepper .aho95-measure-icon,
  html body.page-information-contacts .aho-number-stepper .aho95-measure-icon,
  html body.page-events-hub .aho-number-stepper .aho95-measure-icon,
  html body.page-entry .aho-number-stepper .aho95-number-value,
  html body.page-testing-capture .aho-number-stepper .aho95-number-value,
  html body.page-information-contacts .aho-number-stepper .aho95-number-value,
  html body.page-events-hub .aho-number-stepper .aho95-number-value,
  html body.page-entry .aho-number-stepper .aho95-step-button,
  html body.page-testing-capture .aho-number-stepper .aho95-step-button,
  html body.page-information-contacts .aho-number-stepper .aho95-step-button,
  html body.page-events-hub .aho-number-stepper .aho95-step-button {
    height:50px!important;
  }
  html body.page-entry .aho-number-stepper .aho95-number-value input,
  html body.page-testing-capture .aho-number-stepper .aho95-number-value input,
  html body.page-information-contacts .aho-number-stepper .aho95-number-value input,
  html body.page-events-hub .aho-number-stepper .aho95-number-value input {
    font-size:1.08rem!important;
  }
}
