:root {
    --wh-ink: #1f2f3a;
    --wh-accent: #117a8b;
    --wh-accent-dark: #0e6574;
    --wh-edge: #17a2b8;
    --wh-muted: #56666f;
    --wh-border: #d9e2e6;
    --wh-line: #e6edf0;
    --wh-surface: #fff;
    --wh-bg: #f3f6f7;
    --wh-tint: #e3f4f7;
    --wh-tint-2: #eef6f7;
    --wh-amber: #714d13;
    --wh-amber-bg: #fcf0d9;
    --wh-red: #a8281e;
    --wh-red-bg: #fdecea;
    --wh-green: #1d6b3f;
    --wh-green-bg: #e3f2ea;
    --wh-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.wh-v2-page {
    margin: 0;
    background: var(--wh-bg);
    color: var(--wh-ink);
    font: 1rem/1.5 var(--wh-font);
}

.wh-v2-nav, .wh-v2-nav *, .wh-v2-shell, .wh-v2-shell * {
    box-sizing: border-box;
}

.adaptive-header.wh-v2-header .adaptive-header__nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: min(100%, 1320px);
    min-height: 64px;
    box-sizing: border-box;
    gap: clamp(.6rem, 2vw, 1.35rem);
    padding: .65rem clamp(.75rem, 3vw, 2rem);
}

.adaptive-header.wh-v2-header .adaptive-header__brand {
    margin-right: 0;
}

.adaptive-header.wh-v2-header .adaptive-header__center,
.adaptive-header.wh-v2-header .adaptive-header__actions {
    width: auto;
    min-width: 0;
    margin: 0;
}

.adaptive-header.wh-v2-header .adaptive-header__title {
    font-size: 1.25rem;
}

.adaptive-header.wh-v2-header .adaptive-header__actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: .5rem;
}

.adaptive-header.wh-v2-header .nav-user-menu {
    position: relative;
}

.adaptive-header.wh-v2-header .user-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 36px;
    padding: .35rem .65rem;
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: .4rem;
    background: rgb(255 255 255 / 12%);
    color: #fff;
    font: 600 .875rem/1.2 var(--wh-font);
    cursor: pointer;
}

.adaptive-header.wh-v2-header .user-menu-toggle span {
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adaptive-header.wh-v2-header .user-menu-toggle:hover,
.adaptive-header.wh-v2-header .user-menu-toggle[aria-expanded="true"] {
    background: rgb(255 255 255 / 22%);
}

.adaptive-header.wh-v2-header .user-menu-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.adaptive-header.wh-v2-header .user-dropdown {
    display: none;
    position: absolute;
    inset: calc(100% + .4rem) 0 auto auto;
    min-width: 11rem;
    margin: 0;
    padding: .35rem;
    border: 1px solid var(--wh-border);
    border-radius: .55rem;
    background: #fff;
    box-shadow: 0 8px 24px rgb(31 47 58 / 18%);
    opacity: 1;
    visibility: visible;
    transform: none;
}

.adaptive-header.wh-v2-header .user-dropdown.show {
    display: grid;
    pointer-events: auto;
}

.adaptive-header.wh-v2-header .user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .65rem;
    border-radius: .3rem;
    font-size: .875rem;
    text-decoration: none;
}

.adaptive-header.wh-v2-header .user-dropdown .dropdown-item:hover,
.adaptive-header.wh-v2-header .user-dropdown .dropdown-item:focus {
    background: var(--wh-tint-2);
}

@media (max-width: 700px) {
    .adaptive-header.wh-v2-header .adaptive-header__nav { min-height: 58px; }
    .adaptive-header.wh-v2-header .nav-logo { height: 32px; }
    .adaptive-header.wh-v2-header .nav-brand-text { display: none; }
    .adaptive-header.wh-v2-header .adaptive-header__title { font-size: 1.05rem; }
    .adaptive-header.wh-v2-header .adaptive-header__title i { display: none; }
    .adaptive-header.wh-v2-header .user-menu-toggle { padding-inline: .45rem; }
    .adaptive-header.wh-v2-header .user-menu-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
    }
    .adaptive-header.wh-v2-header .mks-btn { min-height: 36px; }
}

.wh-v2-nav {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--wh-border);
    background: var(--wh-surface);
    color: var(--wh-ink);
    font: 600 .9375rem/1.35 var(--wh-font);
}

.wh-v2-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 1rem;
    width: min(100%, 1320px);
    margin-inline: auto;
    padding-inline: clamp(.75rem, 3vw, 2rem);
}

.wh-v2-nav-primary, .wh-v2-nav-secondary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
}

.wh-v2-nav a, .wh-v2-tools summary {
    color: var(--wh-muted);
    text-decoration: none;
}

.wh-v2-nav-link, .wh-v2-tools summary, .wh-v2-classic {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: .75rem clamp(.5rem, 1.2vw, 1rem);
}

.wh-v2-nav-link {
    border-bottom: 3px solid transparent;
}

.wh-v2-nav-link[aria-current="page"], .wh-v2-tools summary.is-current {
    border-bottom-color: var(--wh-accent);
    color: var(--wh-ink);
    font-weight: 700;
    background: var(--wh-tint-2);
}

.wh-v2-nav a:hover, .wh-v2-tools summary:hover {
    background: var(--wh-tint-2);
    color: var(--wh-ink);
    text-decoration: none;
}

.wh-v2-nav :focus-visible, .wh-v2-shell :focus-visible {
    outline: 2px solid var(--wh-accent);
    outline-offset: 2px;
}

.wh-v2-tools {
    position: relative;
}

.wh-v2-tools summary {
    cursor: pointer;
    gap: .55rem;
    list-style: none;
}

.wh-v2-tools summary::-webkit-details-marker { display: none; }

.wh-v2-tools summary::after {
    content: "";
    width: .45rem;
    height: .45rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-.15rem);
}

.wh-v2-tools-links {
    position: absolute;
    inset: calc(100% + .3rem) 0 auto auto;
    display: grid;
    width: max-content;
    max-width: calc(100vw - 1.5rem);
    padding: .35rem;
    border: 1px solid var(--wh-border);
    border-radius: .55rem;
    background: var(--wh-surface);
    box-shadow: 0 8px 24px rgb(31 47 58 / 14%);
}

.wh-v2-tools-links a {
    padding: .55rem .7rem;
    border-radius: .3rem;
}

.wh-v2-classic {
    font-size: .875rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .wh-v2-nav-primary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr) minmax(0, .9fr); width: 100%; align-items: stretch; gap: 0; }
    .wh-v2-nav-secondary { width: 100%; justify-content: space-between; }
    .wh-v2-nav-link { justify-content: center; padding: .45rem .15rem; font-size: .875rem; line-height: 1.2; text-align: center; }
    .wh-v2-tools-links { inset-inline: 0 auto; }
    .wh-v2-nav-link, .wh-v2-tools summary, .wh-v2-classic { min-height: 40px; }
}

.wh-v2-shell {
    width: min(100%, 1320px);
    margin-inline: auto;
    padding: clamp(1.25rem, 3vw, 2.35rem) clamp(.75rem, 3vw, 2rem);
}

.wh-v2-shell :is(h2, h3, h4, p, dl, dd) {
    margin: 0;
}

.wh-v2-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.wh-v2-page-heading h2 {
    color: var(--wh-ink);
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.wh-v2-actions, .wh-v2-report-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
}

.wh-v2-search {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
}

.wh-v2-search-field {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    min-height: 42px;
    padding-inline: .8rem;
    border: 1px solid var(--wh-border);
    border-radius: .45rem 0 0 .45rem;
    background: #fff;
    color: var(--wh-muted);
}

.wh-v2-search-field:focus-within {
    outline: 2px solid var(--wh-accent);
    outline-offset: -1px;
}

.wh-v2-search-field input {
    width: min(22vw, 16rem);
    min-width: 0;
    padding: .5rem 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--wh-ink);
    font: inherit;
}

.wh-v2-search-field input:focus-visible {
    outline: none;
}

.wh-v2-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    min-height: 42px;
    padding: .5rem .85rem;
    border: 1px solid var(--wh-border);
    border-radius: .45rem;
    background: #fff;
    color: var(--wh-accent);
    font: 650 .9375rem/1.25 var(--wh-font);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.wh-v2-button:hover {
    border-color: #8fc3cb;
    background: var(--wh-tint-2);
    color: var(--wh-ink);
}

.wh-v2-search .wh-v2-button {
    border-radius: 0 .45rem .45rem 0;
    margin-left: -1px;
}

.wh-v2-primary {
    border-color: var(--wh-accent);
    background: var(--wh-accent);
    color: #fff;
}

.wh-v2-primary:hover {
    border-color: var(--wh-ink);
    background: var(--wh-ink);
    color: #fff;
}

.wh-v2-muted, .wh-v2-item-copy p, .wh-v2-item-copy small {
    color: var(--wh-muted);
    font-size: .9rem;
}

.wh-v2-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 1fr) minmax(0, 2.45fr);
    align-items: start;
    gap: clamp(.8rem, 2vw, 1.35rem);
}

.wh-v2-panel {
    min-width: 0;
    border: 1px solid var(--wh-border);
    border-radius: .75rem;
    background: var(--wh-surface);
    box-shadow: 0 1px 2px rgb(31 47 58 / 5%);
}

.wh-v2-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .7rem;
    min-height: 73px;
    padding: .9rem 1.15rem;
}

.wh-v2-panel h3 {
    color: var(--wh-ink);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.wh-v2-work-queue {
    border-top: 3px solid var(--wh-edge);
}

.wh-v2-queue, .wh-v2-report-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wh-v2-queue {
    padding-inline: .65rem;
}

.wh-v2-queue li + li, .wh-v2-report-row + .wh-v2-report-row {
    border-top: 1px solid var(--wh-line);
}

.wh-v2-queue-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    min-height: 76px;
    padding: .65rem .5rem;
    border-radius: .45rem;
    color: var(--wh-ink);
    text-decoration: none;
}

.wh-v2-queue-row:hover, .wh-v2-shortcuts a:hover {
    background: var(--wh-tint-2);
}

.wh-v2-item-icon {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .5rem;
    background: var(--wh-tint);
    color: var(--wh-accent-dark);
}

.wh-v2-item-copy strong, .wh-v2-item-copy small {
    display: block;
}

.wh-v2-item-copy strong {
    font-size: .95rem;
    line-height: 1.25;
}

.wh-v2-item-copy small {
    margin-top: .14rem;
    line-height: 1.25;
}

.wh-v2-queue-count {
    min-width: 2.05rem;
    padding: .16rem .42rem;
    border-radius: .375rem;
    background: var(--wh-bg);
    color: var(--wh-ink);
    font-size: .875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.wh-v2-queue-count.has-work {
    background: var(--wh-amber-bg);
    color: var(--wh-amber);
}

.wh-v2-shortcuts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 .3rem;
    margin-top: .65rem;
    padding: .5rem .65rem;
    border-top: 1px solid var(--wh-line);
}

.wh-v2-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 42px;
    padding: .45rem .5rem;
    border-radius: .4rem;
    color: var(--wh-accent);
    font-size: .875rem;
    font-weight: 650;
    text-decoration: none;
}

.wh-v2-shell .wh-v2-stock-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 1.15rem;
    padding: .85rem 0;
    border: 1px solid #d3e9ec;
    border-radius: .55rem;
    background: var(--wh-tint-2);
}

.wh-v2-stock-metrics > div {
    padding-inline: clamp(.55rem, 1.7vw, 1.2rem);
}

.wh-v2-stock-metrics > div + div {
    border-left: 1px solid #cfe3e7;
}

.wh-v2-stock-metrics dt {
    color: var(--wh-muted);
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.25;
}

.wh-v2-stock-metrics dd {
    margin-top: .3rem;
    color: var(--wh-ink);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 730;
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.wh-v2-shell .wh-v2-table-heading {
    margin: 1rem 1.15rem .55rem;
    color: var(--wh-ink);
    font-size: .9375rem;
    font-weight: 700;
}

.wh-v2-table-scroll {
    overflow-x: auto;
    border-radius: 0 0 .75rem .75rem;
}

.wh-v2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.wh-v2-table th, .wh-v2-table td {
    padding: .65rem 1.15rem;
    border-bottom: 1px solid var(--wh-line);
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--wh-ink);
}

.wh-v2-table thead th {
    border-top: 1px solid var(--wh-line);
    background: var(--wh-bg);
    color: var(--wh-muted);
    font-size: .875rem;
    font-weight: 650;
    white-space: nowrap;
}

.wh-v2-table tbody tr:hover { background: #f6fafa; }
.wh-v2-table tbody tr:last-child > * { border: 0; }
.wh-v2-table th:first-child { text-align: left; }

.wh-v2-table th a {
    color: var(--wh-accent-dark);
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}

.wh-v2-table .wh-v2-excess {
    color: var(--wh-amber);
    font-weight: 750;
}

.wh-v2-empty {
    padding: 1rem 1.15rem;
    color: var(--wh-muted);
}

.wh-v2-report-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: .8rem 1rem;
    padding: 1.1rem 1.15rem;
}

.wh-v2-item-copy p {
    margin-top: .3rem;
}

.wh-v2-item-copy .wh-v2-report-detail {
    color: var(--wh-ink);
    font-weight: 650;
}

.wh-v2-report-actions {
    justify-content: flex-end;
    align-self: center;
}

@media (max-width: 820px) {
    .wh-v2-grid { grid-template-columns: 1fr; }
    .wh-v2-queue { display: grid; grid-template-columns: 1fr 1fr; }
    .wh-v2-queue li + li { border-top: 0; border-left: 1px solid var(--wh-line); }
}

@media (max-width: 650px) {
    .wh-v2-page-heading { align-items: stretch; flex-direction: column; gap: .85rem; margin-bottom: 1rem; }
    .wh-v2-search { flex: 1 1 14rem; }
    .wh-v2-search-field { flex: 1; }
    .wh-v2-search-field input { flex: 1; width: 0; }
    .wh-v2-panel-heading { min-height: 0; padding: .75rem; }
    .wh-v2-shell .wh-v2-stock-metrics { margin-inline: .75rem; }
    .wh-v2-shell .wh-v2-table-heading { margin-inline: .75rem; }
    .wh-v2-table th, .wh-v2-table td { padding: .6rem .75rem; }
    .wh-v2-table .wh-v2-table-detail { display: none; }
    .wh-v2-report-row { grid-template-columns: auto minmax(0, 1fr); padding: .85rem .75rem; }
    .wh-v2-report-actions { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 525px) {
    .wh-v2-queue { display: block; }
    .wh-v2-queue li + li { border-left: 0; border-top: 1px solid var(--wh-line); }
    .wh-v2-queue-row { min-height: 63px; }
    .wh-v2-stock-metrics { padding: .7rem 0; }
    .wh-v2-stock-metrics dt { min-height: 2.25em; }
    .wh-v2-panel-heading .wh-v2-button { min-height: 38px; padding-inline: .5rem; }
}

@media print {
    .wh-v2-header, .wh-v2-nav { display: none !important; }
}


/* ==========================================================================
   Page kit (2026-11-25): shared pieces for warehouse pages in the v2 frame.
   ========================================================================== */

body:has(.wh-v2-nav), body.wh-v2-page {
    background: var(--wh-bg);
    color: var(--wh-ink);
}

.wh-v2-page-heading h1 {
    margin: 0;
    color: var(--wh-ink);
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.wh-v2-subtitle {
    margin: .2rem 0 0;
    color: var(--wh-muted);
    font-size: .925rem;
}

.wh-v2-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .5rem;
    color: var(--wh-accent);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

.wh-v2-back:hover { text-decoration: underline; color: var(--wh-accent-dark); }

.wh-v2-shell .wh-v2-button { background: #fff; }
.wh-v2-shell .wh-v2-button.wh-v2-primary { background: var(--wh-accent); color: #fff; }
.wh-v2-shell .wh-v2-button.wh-v2-primary:hover { background: var(--wh-accent-dark); border-color: var(--wh-accent-dark); }

.wh-v2-button.wh-v2-small {
    min-height: 34px;
    padding: .3rem .6rem;
    font-size: .85rem;
}

.wh-v2-button.wh-v2-danger { border-color: #e7b7b2; color: var(--wh-red); }
.wh-v2-button.wh-v2-danger:hover { background: var(--wh-red-bg); color: var(--wh-red); }
.wh-v2-shell .wh-v2-button.wh-v2-danger-solid { border-color: var(--wh-red); background: var(--wh-red); color: #fff; }
.wh-v2-shell .wh-v2-button.wh-v2-danger-solid:hover { background: #8a1f17; }

.wh-v2-button:disabled { opacity: .55; cursor: not-allowed; }

.wh-v2-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .25rem .35rem .25rem .7rem;
    border-radius: 999px;
    background: var(--wh-tint);
    color: var(--wh-accent-dark);
    font-size: .85rem;
    font-weight: 650;
}

.wh-v2-chip a {
    display: inline-grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
}

.wh-v2-chip a:hover { background: #c9e9ee; }

/* Badges */
.wh-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .12rem .5rem;
    border-radius: .375rem;
    background: var(--wh-bg);
    color: var(--wh-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.wh-v2-badge.is-good { background: var(--wh-green-bg); color: var(--wh-green); }
.wh-v2-badge.is-warn { background: var(--wh-amber-bg); color: var(--wh-amber); }
.wh-v2-badge.is-bad { background: var(--wh-red-bg); color: var(--wh-red); }
.wh-v2-badge.is-info { background: var(--wh-tint); color: var(--wh-accent-dark); }

/* Messages */
.wh-v2-alert {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid var(--wh-border);
    border-left-width: 4px;
    border-radius: .5rem;
    background: #fff;
    color: var(--wh-ink);
}

.wh-v2-alert.success { border-left-color: var(--wh-green); background: #f3faf6; }
.wh-v2-alert.error { border-left-color: var(--wh-red); background: #fdf5f4; }
.wh-v2-alert.warning { border-left-color: #c98a16; background: #fffaf0; }
.wh-v2-alert.info { border-left-color: var(--wh-edge); background: #f3fafb; }
.wh-v2-alert .wh-v2-actions { margin-top: .6rem; }

/* Fields and filter bar */
.wh-v2-field {
    display: grid;
    gap: .3rem;
    min-width: 0;
}

.wh-v2-field > span, .wh-v2-label {
    color: var(--wh-muted);
    font-size: .8rem;
    font-weight: 650;
}

.wh-v2-shell .wh-v2-input,
.wh-v2-shell select.wh-v2-input,
.wh-v2-shell textarea.wh-v2-input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: .5rem .7rem;
    border: 1px solid var(--wh-border);
    border-radius: .45rem;
    background: #fff;
    color: var(--wh-ink);
    font: 400 .95rem/1.4 var(--wh-font);
}

.wh-v2-shell textarea.wh-v2-input { min-height: 5.5rem; resize: vertical; }

.wh-v2-shell .wh-v2-input:focus {
    border-color: var(--wh-accent);
    outline: 2px solid rgb(17 122 139 / 22%);
    outline-offset: 0;
}

.wh-v2-filters {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) auto;
    align-items: end;
    gap: .75rem;
    padding: 1rem 1.15rem;
}

.wh-v2-filters .wh-v2-actions { flex-wrap: nowrap; }

.wh-v2-search-wrap { position: relative; }

.wh-v2-search-wrap .wh-v2-input { padding-left: 2.2rem; }

.wh-v2-search-wrap > i {
    position: absolute;
    left: .8rem;
    bottom: .85rem;
    color: var(--wh-muted);
    font-size: .85rem;
    pointer-events: none;
}

.wh-v2-shell .autocomplete-dropdown {
    width: 100%;
    max-height: 16rem;
    border-color: var(--wh-border);
    border-radius: .45rem;
    box-shadow: 0 8px 24px rgb(31 47 58 / 14%);
}

.wh-v2-shell .autocomplete-item:hover,
.wh-v2-shell .autocomplete-item.active { background: var(--wh-tint-2); }

.wh-v2-results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.15rem;
    border-top: 1px solid var(--wh-line);
    color: var(--wh-muted);
    font-size: .875rem;
}

.wh-v2-results-head strong { color: var(--wh-ink); }

/* Data table (left aligned, for lists of records) */
.wh-v2-shell table.wh-v2-list {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: .925rem;
}

.wh-v2-shell .wh-v2-list th,
.wh-v2-shell .wh-v2-list td {
    padding: .6rem .75rem;
    border: 0;
    border-bottom: 1px solid var(--wh-line);
    background: transparent;
    color: var(--wh-ink);
    text-align: left;
    vertical-align: top;
}

.wh-v2-shell .wh-v2-list th:first-child,
.wh-v2-shell .wh-v2-list td:first-child { padding-left: 1.15rem; }
.wh-v2-shell .wh-v2-list th:last-child,
.wh-v2-shell .wh-v2-list td:last-child { padding-right: 1.15rem; }

.wh-v2-shell .wh-v2-list thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-top: 1px solid var(--wh-line);
    background: #f6f9fa;
    color: var(--wh-muted);
    font-size: .8rem;
    font-weight: 650;
    white-space: nowrap;
}

.wh-v2-shell .wh-v2-list tbody tr:nth-child(even) { background: transparent; }
.wh-v2-shell .wh-v2-list tbody tr:hover { background: #f6fafa; }
.wh-v2-shell .wh-v2-list tbody tr:last-child > td { border-bottom: 0; }

.wh-v2-list .wh-v2-strong {
    display: block;
    color: var(--wh-ink);
    font-weight: 650;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.wh-v2-list a.wh-v2-strong { color: var(--wh-accent-dark); }
.wh-v2-list a.wh-v2-strong:hover { text-decoration: underline; }

.wh-v2-list .wh-v2-sub {
    display: block;
    margin-top: .1rem;
    color: var(--wh-muted);
    font-size: .8rem;
}

.wh-v2-list .wh-v2-flags { display: flex; flex-wrap: wrap; gap: .3rem; }

.wh-v2-list .wh-v2-notes {
    max-width: 18rem;
    color: var(--wh-muted);
    font-size: .85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wh-v2-list .wh-v2-actions-cell { width: 1%; }
.wh-v2-list .wh-v2-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: .3rem;
    white-space: nowrap;
}

.wh-v2-list .wh-v2-row-actions .wh-v2-button { min-height: 32px; padding: .25rem .55rem; font-size: .825rem; }

.wh-v2-list .wh-v2-empty-row { padding: 2rem 1.15rem; color: var(--wh-muted); text-align: center; }

.wh-v2-list .scrap-select { margin-top: .35rem; }

@media (max-width: 1100px) {
    .wh-v2-list .wh-v2-col-notes { display: none; }
}

@media (max-width: 760px) {
    .wh-v2-filters { grid-template-columns: 1fr; }
    .wh-v2-filters .wh-v2-actions .wh-v2-button { flex: 1; }
    .wh-v2-results-head { flex-wrap: wrap; }

    /* Rows become cards on phones */
    .wh-v2-shell table.wh-v2-list, .wh-v2-list tbody, .wh-v2-list tr, .wh-v2-list td { display: block; }
    .wh-v2-list thead { display: none; }
    .wh-v2-shell .wh-v2-list tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .15rem .75rem;
        padding: .75rem;
        border-bottom: 1px solid var(--wh-line);
    }
    .wh-v2-shell .wh-v2-list td, .wh-v2-shell .wh-v2-list td:first-child, .wh-v2-shell .wh-v2-list td:last-child {
        padding: 0;
        border: 0;
    }
    .wh-v2-list td[data-label]:not(:first-child):not(.wh-v2-col-side)::before {
        content: attr(data-label) ": ";
        color: var(--wh-muted);
        font-size: .8rem;
    }
    .wh-v2-list .wh-v2-cell-inline { display: flex; gap: .3rem; align-items: baseline; flex-wrap: wrap; }
    .wh-v2-list .wh-v2-cell-inline .wh-v2-sub { display: inline; margin: 0; }
    .wh-v2-list td.wh-v2-col-main { grid-column: 1; }
    .wh-v2-list td.wh-v2-col-side { grid-column: 2; grid-row: 1; text-align: right; }
    .wh-v2-list td.wh-v2-col-full { grid-column: 1 / -1; }
    .wh-v2-list td.wh-v2-col-notes { display: block; }
    .wh-v2-list .wh-v2-notes { max-width: none; }
    .wh-v2-list .wh-v2-row-actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: .45rem; }
    .wh-v2-list .wh-v2-row-actions .wh-v2-button { flex: 1; min-height: 38px; }
    .wh-v2-list td.wh-v2-actions-cell { grid-column: 1 / -1; }
    .wh-v2-list .wh-v2-empty-row { grid-column: 1 / -1; }
}

/* Item page */
.wh-v2-item-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 1fr);
    align-items: start;
    gap: clamp(.8rem, 2vw, 1.35rem);
}

.wh-v2-item-layout > div { display: grid; gap: clamp(.8rem, 2vw, 1.35rem); min-width: 0; }

.wh-v2-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0;
    margin: 0;
    padding: 0 1.15rem 1rem;
}

.wh-v2-facts > div { padding: .55rem 0; border-top: 1px solid var(--wh-line); }
.wh-v2-facts dt { color: var(--wh-muted); font-size: .8rem; font-weight: 650; }
.wh-v2-facts dd { margin: .1rem 0 0; color: var(--wh-ink); font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }

.wh-v2-panel-body { padding: 0 1.15rem 1.15rem; }

.wh-v2-notes-block {
    margin: 0;
    padding: .7rem .85rem;
    border-radius: .45rem;
    background: var(--wh-bg);
    color: var(--wh-ink);
    white-space: pre-line;
}

.wh-v2-photo {
    display: block;
    width: 100%;
    max-height: 22rem;
    object-fit: contain;
    border-radius: .5rem;
    background: #f0f3f4;
}

.wh-v2-segmented {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: .25rem;
    margin: 0 1.15rem 1rem;
    padding: .25rem;
    border-radius: .55rem;
    background: var(--wh-bg);
}

.wh-v2-segmented button {
    min-height: 38px;
    margin: 0;
    padding: .35rem .5rem;
    border: 0;
    border-radius: .4rem;
    background: transparent;
    color: var(--wh-muted);
    font: 650 .875rem/1.2 var(--wh-font);
    cursor: pointer;
}

.wh-v2-segmented button:hover { background: #e8eef0; color: var(--wh-ink); }
.wh-v2-segmented button[aria-selected="true"] { background: #fff; color: var(--wh-ink); box-shadow: 0 1px 3px rgb(31 47 58 / 14%); }

.wh-v2-form { display: grid; gap: .85rem; }
.wh-v2-form .wh-v2-check { display: flex; align-items: center; gap: .55rem; font-size: .925rem; }
.wh-v2-form .wh-v2-check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--wh-accent); }
.wh-v2-form-note { margin: 0; color: var(--wh-muted); font-size: .875rem; }
.wh-v2-form-note.is-warn { color: var(--wh-amber); font-weight: 600; }
.wh-v2-form-note.is-bad { color: var(--wh-red); font-weight: 600; }

/* Movement timeline */
.wh-v2-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 1.15rem 1rem;
    border: 1px solid var(--wh-line);
    border-radius: .5rem;
}

.wh-v2-stats > div { padding: .55rem .75rem; }
.wh-v2-stats > div + div { border-left: 1px solid var(--wh-line); }
.wh-v2-stats strong { display: block; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.wh-v2-stats span { color: var(--wh-muted); font-size: .8rem; }

.wh-v2-timeline { margin: 0; padding: 0 1.15rem 1.15rem; list-style: none; }

.wh-v2-timeline li {
    position: relative;
    padding: 0 0 1rem 1.6rem;
}

.wh-v2-timeline li::before {
    content: "";
    position: absolute;
    left: .4rem;
    top: .35rem;
    bottom: 0;
    width: 2px;
    background: var(--wh-line);
}

.wh-v2-timeline li:last-child::before { display: none; }

.wh-v2-timeline li::after {
    content: "";
    position: absolute;
    left: .1rem;
    top: .3rem;
    width: .65rem;
    height: .65rem;
    border: 2px solid var(--wh-edge);
    border-radius: 50%;
    background: #fff;
}

.wh-v2-timeline li.is-current::after { background: var(--wh-edge); }

.wh-v2-timeline-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.wh-v2-timeline-head time { color: var(--wh-muted); font-size: .85rem; }
.wh-v2-timeline p { margin: .2rem 0 0; font-size: .9rem; }
.wh-v2-timeline p b { color: var(--wh-muted); font-weight: 600; }

.wh-v2-loading { padding: 1rem 1.15rem 1.25rem; color: var(--wh-muted); }

@media (max-width: 900px) {
    .wh-v2-item-layout { grid-template-columns: 1fr; }
    .wh-v2-item-layout > div { display: contents; }
    .wh-v2-item-layout .wh-v2-order-1 { order: 1; }
    .wh-v2-item-layout .wh-v2-order-2 { order: 2; }
    .wh-v2-item-layout .wh-v2-order-3 { order: 3; }
    .wh-v2-item-layout .wh-v2-order-4 { order: 4; }
}

@media (max-width: 525px) {
    .wh-v2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wh-v2-stats > div:nth-child(3) { border-left: 0; }
    .wh-v2-stats > div:nth-child(n+3) { border-top: 1px solid var(--wh-line); }
}

/* ==========================================================================
   Palette bridge: older warehouse pages still use the legacy stylesheet.
   Swap its bright blue for the Apex teal until each page is redesigned.
   ========================================================================== */

:where(body:has(.wh-v2-nav)) { font-family: var(--wh-font); }
:where(body:has(.wh-v2-nav)) :is(h1, h2, h3) { color: var(--wh-ink); }
:where(body:has(.wh-v2-nav)) > .container { width: min(100% - 1.5rem, 1320px); max-width: none; margin: 1.5rem auto; padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--wh-border); border-radius: .75rem; box-shadow: 0 1px 2px rgb(31 47 58 / 5%); box-sizing: border-box; }
:where(body:has(.wh-v2-nav) .container) a { color: var(--wh-accent); }
:where(body:has(.wh-v2-nav)) table th { background: #f6f9fa; color: var(--wh-muted); }
:where(body:has(.wh-v2-nav)) :is(button, .button):where(:not(.secondary, .success, .warning, .danger, [class*="wh-v2"], [class*="btn"], .close-modal, .modal-close, .adaptive-header *, [class*="mks"])) { background: var(--wh-accent); }
:where(body:has(.wh-v2-nav)) :is(button, .button):where(:not(.secondary, .success, .warning, .danger, [class*="wh-v2"], [class*="btn"], .close-modal, .modal-close, .adaptive-header *, [class*="mks"])):hover { background: var(--wh-accent-dark); }

.wh-v2-tools-links { min-width: 13rem; z-index: 30; }
.wh-v2-tools-group {
    padding: .5rem .7rem .2rem;
    color: var(--wh-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wh-v2-tools-group:not(:first-child) { margin-top: .25rem; border-top: 1px solid var(--wh-line); }

.wh-v2-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Pop-ups sit above the sticky Apex header (it was covering their close button). */
body:has(.wh-v2-nav) .modal { z-index: 1200; }

/* Stock pop-ups (Add / Edit stock): one button style, no green (2026-11-25).
   stock_check.css has a broad ".add-form button { green }" rule, hence the specificity here. */
.modal .add-form button.button,
.modal .add-form .take-photo-button,
.modal .add-form #remove-photo {
    min-height: 44px;
    padding: .55rem 1.1rem;
    border: 1px solid var(--wh-border);
    border-radius: .45rem;
    background: #fff;
    color: var(--wh-accent-dark);
    font: 650 .95rem/1.2 var(--wh-font);
    cursor: pointer;
}
.modal .add-form button.button:hover,
.modal .add-form .take-photo-button:hover,
.modal .add-form #remove-photo:hover { background: var(--wh-tint-2); border-color: #8fc3cb; }
.modal .add-form button.button.cancel-button { min-width: 0; color: var(--wh-muted); }
.modal .add-form button.button.add-print-button,
.modal .add-form button.button.is-primary {
    min-width: 0;
    border-color: var(--wh-accent);
    background: var(--wh-accent);
    color: #fff;
}
.modal .add-form button.button.add-print-button:hover,
.modal .add-form button.button.is-primary:hover { border-color: var(--wh-accent-dark); background: var(--wh-accent-dark); }
.modal .modal-buttons.modal-button-container { justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.modal .modal-buttons.modal-button-container .footer-note { margin-right: auto; }
.modal .modal-header { background: linear-gradient(135deg, var(--wh-accent) 0%, #2c3e50 100%); }

/* Requests / Manual Takeouts pieces (2026-11-25) */
.wh-v2-panel > .wh-v2-stock-metrics:first-child { margin-top: 1.15rem; }
.wh-v2-shell .wh-v2-stock-metrics.wh-v2-metrics-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wh-v2-stock-metrics dd.is-warn { color: var(--wh-amber); }
.wh-v2-filters.wh-v2-filters-1 { grid-template-columns: minmax(0, 18rem); }
.wh-v2-return-panel { margin-top: clamp(.8rem, 2vw, 1.35rem); scroll-margin-top: 1rem; }

.wh-v2-disclosure { margin-bottom: clamp(.8rem, 2vw, 1.35rem); }
.wh-v2-disclosure > summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.15rem;
    color: var(--wh-accent-dark);
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}
.wh-v2-disclosure > summary::-webkit-details-marker { display: none; }
.wh-v2-disclosure[open] > summary { border-bottom: 1px solid var(--wh-line); margin-bottom: 1rem; }
.wh-v2-form-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .6fr) minmax(0, 1.4fr) minmax(0, 1.2fr); gap: .85rem; }
.wh-v2-form-grid .wh-v2-span-2 { grid-column: 1 / -1; }
.wh-v2-dropdown { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid var(--wh-border); }
.wh-v2-dropdown[hidden] { display: none !important; }
.wh-v2-dropdown .autocomplete-item { padding: .5rem .7rem; cursor: pointer; border-bottom: 1px solid var(--wh-line); }

a.wh-v2-chip { text-decoration: none; padding: .3rem .75rem; }
.wh-v2-chip.is-off { background: var(--wh-bg); color: var(--wh-muted); }
.wh-v2-chip.is-off:hover { background: #e8eef0; color: var(--wh-ink); }

.wh-v2-shell .wh-v2-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wh-accent-dark);
    font: inherit;
    font-weight: 600;
    text-align: left;
    text-decoration: underline dotted rgb(14 101 116 / 45%);
    text-underline-offset: .2em;
    cursor: pointer;
}
.wh-v2-shell .wh-v2-link:hover { color: var(--wh-ink); text-decoration-style: solid; }
.wh-v2-shell .wh-v2-button.wh-v2-warn { border-color: #e2c27d; background: var(--wh-amber-bg); color: var(--wh-amber); }
.wh-v2-shell .wh-v2-button.wh-v2-warn:hover { background: #f8e3b9; }

@media (max-width: 760px) {
    .wh-v2-shell .wh-v2-stock-metrics.wh-v2-metrics-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .6rem; }
    .wh-v2-stock-metrics.wh-v2-metrics-4 > div:nth-child(3) { border-left: 0; }
    .wh-v2-filters.wh-v2-filters-1 { grid-template-columns: 1fr; }
    .wh-v2-form-grid { grid-template-columns: 1fr 1fr; }
    .wh-v2-form-grid > :first-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Older pages adapter (2026-11-25). Pages not yet rebuilt keep their markup;
   these rules bring their headers, buttons, cards and tables into the house
   style. Scoped to pages showing the warehouse menu.
   ========================================================================== */
body:has(.wh-v2-nav) .container h1, body:has(.wh-v2-nav) .page-title, body:has(.wh-v2-nav) main h1:not(.wh-v2-page-heading h1) {
    font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; color: var(--wh-ink);
}
body:has(.wh-v2-nav) .container h2 { font-size: 1.15rem; color: var(--wh-ink); }

/* Bootstrap-style buttons */
body:has(.wh-v2-nav) .btn { border-radius: .45rem; font-weight: 600; }
body:has(.wh-v2-nav) .btn.btn-primary, body:has(.wh-v2-nav) .btn.btn-success, body:has(.wh-v2-nav) .btn.btn-info {
    --bs-btn-bg: var(--wh-accent); --bs-btn-border-color: var(--wh-accent); --bs-btn-hover-bg: var(--wh-accent-dark); --bs-btn-hover-border-color: var(--wh-accent-dark);
    --bs-btn-active-bg: var(--wh-accent-dark); --bs-btn-color: #fff; --bs-btn-hover-color: #fff;
    background-color: var(--wh-accent); border-color: var(--wh-accent); color: #fff;
}
body:has(.wh-v2-nav) .btn.btn-primary:hover, body:has(.wh-v2-nav) .btn.btn-success:hover, body:has(.wh-v2-nav) .btn.btn-info:hover { background-color: var(--wh-accent-dark); border-color: var(--wh-accent-dark); }
body:has(.wh-v2-nav) .btn.btn-secondary, body:has(.wh-v2-nav) .btn.btn-light, body:has(.wh-v2-nav) .btn.btn-outline-secondary {
    --bs-btn-bg: #fff; --bs-btn-color: var(--wh-accent-dark); --bs-btn-border-color: var(--wh-border); --bs-btn-hover-bg: var(--wh-tint-2); --bs-btn-hover-color: var(--wh-ink); --bs-btn-hover-border-color: #8fc3cb;
    background-color: #fff; border: 1px solid var(--wh-border); color: var(--wh-accent-dark);
}
body:has(.wh-v2-nav) .btn.btn-secondary:hover, body:has(.wh-v2-nav) .btn.btn-light:hover { background-color: var(--wh-tint-2); color: var(--wh-ink); }
body:has(.wh-v2-nav) .btn.btn-outline-primary { --bs-btn-color: var(--wh-accent-dark); --bs-btn-border-color: #8fc3cb; --bs-btn-hover-bg: var(--wh-tint-2); --bs-btn-hover-color: var(--wh-ink); --bs-btn-hover-border-color: var(--wh-accent); }

/* Coloured card / section / modal headers become plain panel headings */
body:has(.wh-v2-nav) .card { border: 1px solid var(--wh-border); border-radius: .75rem; box-shadow: 0 1px 2px rgb(31 47 58 / 5%); overflow: hidden; }
body:has(.wh-v2-nav) .card-header.bg-primary, body:has(.wh-v2-nav) .card-header.bg-secondary, body:has(.wh-v2-nav) .card-header.bg-info,
body:has(.wh-v2-nav) .modal-header.bg-primary, body:has(.wh-v2-nav) .modal-header.bg-secondary, body:has(.wh-v2-nav) .modal-header.bg-info,
body:has(.wh-v2-nav) .container .table-header, body:has(.wh-v2-nav) .container .section-header {
    background: #fff !important; color: var(--wh-ink) !important; border-bottom: 1px solid var(--wh-line);
}
body:has(.wh-v2-nav) .card-header .text-white, body:has(.wh-v2-nav) .modal-header .text-white,
body:has(.wh-v2-nav) .card-header.text-white, body:has(.wh-v2-nav) .modal-header.text-white { color: var(--wh-ink) !important; }
body:has(.wh-v2-nav) .card-header .text-white-50 { color: var(--wh-muted) !important; }
body:has(.wh-v2-nav) .modal-header .btn-close-white { filter: none; }
body:has(.wh-v2-nav) .container .table-header { font-size: 1.15rem; padding: 1rem 1.15rem; }

/* Tables */
body:has(.wh-v2-nav) .container table th, body:has(.wh-v2-nav) .table > thead > tr > th, body:has(.wh-v2-nav) thead.table-dark th {
    background: #f6f9fa !important; color: var(--wh-muted) !important; font-size: .8rem; font-weight: 650; border-color: var(--wh-line) !important;
}
body:has(.wh-v2-nav) .container table td { border-color: var(--wh-line); }

/* Stat / summary cards: one calm style instead of colours and gradients */
body:has(.wh-v2-nav) .summary-card, body:has(.wh-v2-nav) .stat-card, body:has(.wh-v2-nav) .summary-item {
    background: #fff !important; color: var(--wh-ink) !important; border: 1px solid var(--wh-border); border-radius: .6rem; box-shadow: none !important; transform: none !important;
}
body:has(.wh-v2-nav) .summary-card *, body:has(.wh-v2-nav) .stat-card .stat-label { color: inherit; }
body:has(.wh-v2-nav) .summary-card .summary-label, body:has(.wh-v2-nav) .summary-card small, body:has(.wh-v2-nav) .summary-label { color: var(--wh-muted) !important; }

/* Messages */
body:has(.wh-v2-nav) .container .message { border: 1px solid var(--wh-border); border-left-width: 4px; border-radius: .5rem; background: #fff; color: var(--wh-ink); }
body:has(.wh-v2-nav) .container .message.success { border-left-color: var(--wh-green); background: #f3faf6; }
body:has(.wh-v2-nav) .container .message.error { border-left-color: var(--wh-red); background: #fdf5f4; }
body:has(.wh-v2-nav) .container .message.warning { border-left-color: #c98a16; background: #fffaf0; }
body:has(.wh-v2-nav) .container .message.info { border-left-color: var(--wh-edge); background: #f3fafb; }

/* Inputs on older pages */
body:has(.wh-v2-nav) .container :is(input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="date"], input[type="password"], select, textarea):not([class*="wh-v2"]) {
    min-height: 38px; border: 1px solid var(--wh-border); border-radius: .4rem; font: inherit; font-size: .95rem; color: var(--wh-ink); background-color: #fff; box-sizing: border-box;
}

/* Page-specific offenders */
body:has(.wh-v2-nav) .action-btn.btn-scrap, body:has(.wh-v2-nav) .btn-scrap { background: #fff !important; color: var(--wh-red) !important; border: 1px solid #e7b7b2 !important; }
body:has(.wh-v2-nav) #applyFiltersBtn + .btn, body:has(.wh-v2-nav) .btn-group > .btn + .btn { border-left-width: 1px; }
.wh-v2-narrow { max-width: 28rem; }
.wh-v2-list td:not(.wh-v2-col-side) > .wh-v2-link { font-weight: 400; color: var(--wh-ink); }
.wh-v2-list .wh-v2-notes.wh-v2-link { color: var(--wh-muted); }

/* Overview: recent movements (2026-11-25) */
.wh-v2-movements { margin-top: clamp(.8rem, 2vw, 1.35rem); }
.wh-v2-movements .wh-v2-panel-heading { min-height: 0; }
.wh-v2-shell .wh-v2-list tbody tr.wh-v2-row-flag { background: #fffaf0; }
@media (max-width: 600px) {
    .wh-v2-nav-primary { display: flex; flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
    .wh-v2-nav-primary::-webkit-scrollbar { display: none; }
    .wh-v2-nav-link { flex: 0 0 auto; padding-inline: .65rem; }
}
.wh-v2-shell .wh-v2-table tbody th { background: transparent; }
