/*! Lumelle — the store behind Saltmarsh Candle Co. — © 2026 Hasib (OVERSHOOT). All rights reserved. Licensed, not sold: see LICENSE.md. */
:root {
    --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --fs-2xs: 11px;
    --fs-xs: 12px;
    --fs-sm: 12.5px;
    --fs-md: 13.5px;
    --fs-base: 14px;
    --fs-lg: 15px;
    --fs-xl: 17px;
    --fs-2xl: 20px;
    --fs-3xl: 22px;
    --fs-4xl: 26px;
    --fs-display: 34px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 26px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --side: 252px;
    --rail: 84px;
    --gap: 18px;
    --max: 1480px;
    --bg: #f4e6e2;
    --glow-1: #ffb08f;
    --glow-2: #f49ab4;
    --glow-3: #9cc4f2;
    --glow-4: #ffd27a;
    --glass: #fff3;
    --glass-2: #ffffff57;
    --glass-3: #ffffff94;
    --glass-solid: #fdf8f7bd;
    --blur: blur(20px) saturate(200%);
    --blur-lg: blur(48px) saturate(200%);
    --edge: #fffffff2;
    --edge-2: #ffffff59;
    --glow-5: #ffc4d2;
    --wash: linear-gradient(160deg, #fbe2d8 0%, #f9dde4 34%, #f7e8d4 66%, #dfeaf4 100%);
    --orb-1: #f06892a8;
    --orb-2: #68a4f099;
    --orb-3: #ff9260c7;
    --orb-4: #ffc654b8;
    --orb-5: #ffa6be75;
    --orb-6: #ffba925c;
    --band: #ffffff52;
    --grain: .09;
    --rim-a: #fff;
    --rim-b: #fff6;
    --sheen: #ffffff57;
    --catch: #ffffff57;
    --pool: #ffffff29;
    --sep: #ffffffb3;
    --lift: 0 1px 1px #461e2a0d, 0 18px 40px -22px #461e2a5c;
    --card: #fcf8f7;
    --card-2: #ffffff80;
    --card-3: #461e2a12;
    --ink: #24181c;
    --ink-2: #3b2d32;
    --muted: #5b4a50;
    --line: #461e2a17;
    --line-2: #461e2a2b;
    --shadow: 0 1px 1px #461e2a0a, 0 14px 34px -20px #461e2a4d;
    --shadow-lg: 0 2px 6px #461e2a0f, 0 30px 70px -26px #461e2a66;
    --accent: #c2395f;
    --accent-ink: #fff;
    --accent-hi: #a62e51;
    --accent-soft: #c2395f1a;
    --accent-text: #a62e51;
    --sig: #c2395f;
    --sig-text: #a62e51;
    --sig-soft: #c2395f1f;
    --data: #d24a70;
    --rim: #461e2a29;
    --mark-a: #e2587f;
    --mark-b: #a62e51;
    --ch-online: #d24a70;
    --ch-shop: #e3962a;
    --ch-wholesale: #4a8ad6;
    --ch-online-text: #a62e51;
    --ch-shop-text: #8a5200;
    --ch-wholesale-text: #245e9e;
    --good: #18703f;
    --warn: #855600;
    --bad: #b22b2a;
    --info: #1f5d96;
    --good-soft: #208c5221;
    --warn-soft: #d696162e;
    --bad-soft: #c432301c;
    --info-soft: #246aaa1f;
    --t1: #f6d3dc;
    --t2: #f9dccb;
    --t3: #ecdcc6;
    --t4: #dce6f2;
    --t5: #f5e6bd;
    --t6: #f3d3c6;
    --mono-ink: #22181b;
    --h1: #f6d6de;
    --h2: #f9dccb;
    --h3: #f4e3c0;
    --h4: #dce6f2;
    --h5: #f2dcd2;
    --h6: #ece3d4;
    --paper: #fffdfb;
    --paper-ink: #1d1416;
    --stamp: #1d7a48;
    --lightningcss-light: initial;
    --lightningcss-dark: ;
    color-scheme: light
}

[data-theme=dark] {
    --bg: #130c0f;
    --glow-1: #8a3b1f;
    --glow-2: #7a2440;
    --glow-3: #1f4f96;
    --glow-4: #7a5c12;
    --glass: #22161b47;
    --glass-2: #ffffff12;
    --glass-3: #ffffff1f;
    --glass-solid: #1e1418bd;
    --edge: #ffffff38;
    --edge-2: #ffffff0f;
    --glow-5: #7a2140;
    --wash: linear-gradient(160deg, #1b0d13 0%, #170f14 40%, #18110c 72%, #0c1119 100%);
    --orb-1: #c43a6480;
    --orb-2: #3464be6b;
    --orb-3: #c25c287a;
    --orb-4: #a0741866;
    --orb-5: #aa3a5c4d;
    --orb-6: #96503047;
    --band: #ffffff09;
    --grain: .12;
    --rim-a: #ffffff80;
    --rim-b: #ffffff14;
    --sheen: #ffffff12;
    --catch: #ffffff12;
    --pool: #ffffff06;
    --sep: #140c108c;
    --lift: 0 1px 1px #0000004d, 0 20px 44px -20px #000000bf;
    --card: #231a1e;
    --card-2: #ffffff0f;
    --card-3: #ffffff17;
    --ink: #f6eef0;
    --ink-2: #ddd0d4;
    --muted: #bba9ae;
    --line: #fae8ee17;
    --line-2: #fae8ee2b;
    --shadow: 0 1px 1px #0000004d, 0 16px 36px -18px #000000b3;
    --shadow-lg: 0 2px 6px #0006, 0 34px 80px -26px #000000d9;
    --accent: #ff7ba1;
    --accent-ink: #2a0814;
    --accent-hi: #ff95b4;
    --accent-soft: #ff7ba124;
    --accent-text: #ff9ebb;
    --sig: #ff7ba1;
    --sig-text: #ff9ebb;
    --sig-soft: #ff7ba129;
    --data: #ff7ba1;
    --rim: #ffffff29;
    --ch-online: #ff7ba1;
    --ch-shop: #f2b04e;
    --ch-wholesale: #7fb2f0;
    --ch-online-text: #ff9ebb;
    --ch-shop-text: #f6c57a;
    --ch-wholesale-text: #a6caf6;
    --good: #6fd09a;
    --warn: #ecbb62;
    --bad: #f48a80;
    --info: #8cbdf0;
    --good-soft: #6fd09a24;
    --warn-soft: #ecbb6226;
    --bad-soft: #f48a8024;
    --info-soft: #8cbdf024;
    --lightningcss-light: ;
    --lightningcss-dark: initial;
    color-scheme: dark
}

*,:before,:after {
    box-sizing: border-box
}

html {
    -webkit-text-size-adjust: 100%
}

body {
    background: var(--bg);
    color: var(--ink);
    font: 500 var(--fs-base)/1.45 var(--font);
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    overflow-x: hidden
}

body:before {
    content: "";
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(118deg, transparent 38%, var(--band) 50%, transparent 62%), radial-gradient(circle 40vmax at 4% 6%, var(--orb-1), var(--orb-1) 22%, transparent 64%), radial-gradient(circle 30vmax at 96% 8%, var(--orb-2), var(--orb-2) 20%, transparent 62%), radial-gradient(circle 42vmax at 94% 98%, var(--orb-3), var(--orb-3) 24%, transparent 64%), radial-gradient(circle 28vmax at 26% 98%, var(--orb-4), var(--orb-4) 22%, transparent 62%), radial-gradient(circle 20vmax at 60% 30%, var(--orb-5), var(--orb-5) 16%, transparent 68%), radial-gradient(circle 16vmax at 40% 62%, var(--orb-6), transparent 70%), var(--wash);
    position: fixed;
    inset: 0
}

body:after {
    content: "";
    z-index: -1;
    pointer-events: none;
    opacity: var(--grain);
    mix-blend-mode: overlay;
    background: url(/igil-wms/textures/grain.png) 0 0/220px;
    position: fixed;
    inset: 0
}

button,input,select,textarea {
    font: inherit;
    color: inherit
}

button {
    cursor: pointer;
    background: 0 0;
    border: 0;
    padding: 0
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

svg {
    flex: none
}

h1,h2,h3,h4,p {
    margin: 0
}

small {
    font-size: var(--fs-xs)
}

[hidden] {
    display: none!important
}

::selection {
    background: var(--sig-soft)
}

:focus {
    outline: none
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 8px
}

.skip {
    z-index: 100;
    background: var(--ink);
    color: var(--bg);
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    position: fixed;
    top: -60px;
    left: 12px
}

.skip:focus {
    top: 12px
}

.sr {
    clip: rect(0 0 0 0);
    white-space: nowrap;
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden
}

.ico {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 20px;
    height: 20px
}

.ico--sm {
    width: 16px;
    height: 16px
}

.ico--lg {
    width: 24px;
    height: 24px
}

.word {
    vertical-align: top;
    margin-bottom: -.08em;
    padding-bottom: .08em;
    display: inline-block;
    overflow: hidden
}

.ch {
    display: inline-block
}

.muted {
    color: var(--muted)
}

.good {
    color: var(--good)
}

.warn {
    color: var(--warn)
}

.bad {
    color: var(--bad)
}

::view-transition-old(root) {
    mix-blend-mode: normal;
    animation: none
}

::view-transition-new(root) {
    mix-blend-mode: normal;
    animation: none
}

html.is-record:not(.is-started) .app {
    visibility: hidden
}

.glass,.card,.side,.top__bar,.kpi,.tabbar {
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur)
}

.glass,.card {
    background: var(--glass);
    border-radius: var(--r-lg);
    min-width: 0;
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-2), 0 0 0 1px var(--line), var(--shadow);
    position: relative
}

.card {
    padding: 18px 20px 20px
}

.card--flush {
    padding: 0
}

.card--well {
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line)
}

.card:before,.kpi:before {
    content: "";
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(#ffffff57,#fff0 38%);
    position: absolute;
    inset: 0
}

[data-theme=dark] .card:before,[data-theme=dark] .kpi:before {
    background: linear-gradient(#ffffff0d,#fff0 40%)
}

.card>*,.kpi>* {
    position: relative
}

.chead {
    align-items: center;
    gap: 10px;
    min-height: 32px;
    margin-bottom: 14px;
    display: flex
}

.chead__text {
    flex: 1;
    min-width: 0
}

.chead h2,.chead h3 {
    font-size: var(--fs-lg);
    letter-spacing: -.005em;
    font-weight: 600;
    line-height: 1.25
}

.chead p {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-top: 2px
}

.card--flush .chead {
    padding: 16px 20px 0
}

.grid {
    gap: var(--gap);
    display: grid
}

.stack {
    gap: var(--gap);
    flex-direction: column;
    min-width: 0;
    display: flex
}

.app {
    min-height: 100dvh
}

.main {
    margin-left: calc(var(--side) + 32px);
    min-width: 0;
    padding: 16px 24px 48px 0
}

html.is-rail .main {
    margin-left: calc(var(--rail) + 32px)
}

.main__in {
    max-width: var(--max);
    margin: 0 auto
}

.view {
    min-width: 0
}

.side {
    z-index: 40;
    width: var(--side);
    border-radius: var(--r-xl);
    background: var(--glass);
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-2), 0 0 0 1px var(--line), var(--shadow);
    flex-direction: column;
    display: flex;
    position: fixed;
    top: 16px;
    bottom: 16px;
    left: 16px
}

html.is-rail .side {
    width: var(--rail)
}

.side__head {
    align-items: center;
    gap: 10px;
    padding: 18px 14px 14px 18px;
    display: flex
}

html.is-rail .side__head {
    flex-direction: column;
    padding: 18px 0 10px
}

.brand {
    border-radius: 12px;
    flex: 1;
    align-items: center;
    gap: 11px;
    min-width: 0;
    display: flex
}

.mark {
    color: #fff;
    background: linear-gradient(150deg, var(--mark-a), var(--mark-b));
    width: 40px;
    height: 40px;
    box-shadow: inset 0 1px 0 #ffffff73, 0 10px 20px -10px var(--mark-b);
    border-radius: 13px;
    flex: none;
    place-items: center;
    display: grid
}

.mark svg {
    stroke-width: 1.8px;
    width: 22px;
    height: 22px
}

.mark--lg {
    border-radius: 17px;
    width: 54px;
    height: 54px;
    margin-bottom: 22px
}

.mark--lg svg {
    width: 30px;
    height: 30px
}

.brand__text {
    min-width: 0
}

.brand__text b {
    letter-spacing: -.02em;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    display: block
}

.brand__text small {
    font-size: var(--fs-2xs);
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 4px;
    font-weight: 600;
    display: block;
    overflow: hidden
}

html.is-rail .brand {
    flex: none
}

html.is-rail .brand__text {
    display: none
}

.side .collapse {
    width: 32px;
    height: 32px;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--rim);
    background: #ffffff0d;
    border-radius: 10px;
    flex: none;
    place-items: center;
    display: grid
}

.side .collapse:hover {
    background: var(--glass-3)
}

.side .collapse svg {
    width: 18px;
    height: 18px
}

html.is-rail .side .collapse svg {
    transform: scaleX(-1)
}

.snav {
    scrollbar-width: none;
    flex: 1;
    padding: 4px 12px 16px;
    position: relative;
    overflow: hidden auto;
    -webkit-mask: linear-gradient(#000 calc(100% - 22px),#0000);
    mask: linear-gradient(#000 calc(100% - 22px),#0000)
}

.snav::-webkit-scrollbar {
    display: none
}

.snav__pill {
    pointer-events: none;
    opacity: 0;
    background: var(--glass-3);
    box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px var(--line), 0 8px 18px -12px #461e2a73;
    position: absolute;
    inset: 0
}

[data-theme=dark] .snav__pill {
    background: #ffffff1a
}

.snav__group {
    font-size: var(--fs-2xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    margin: 14px 8px 6px;
    font-weight: 700
}

html.is-rail .snav__group {
    text-align: center;
    background: var(--line);
    height: 1px;
    margin: 12px 0 6px;
    font-size: 0
}

.snav__item {
    z-index: 1;
    height: 42px;
    font-size: var(--fs-md);
    color: var(--ink-2);
    white-space: nowrap;
    border-radius: 13px;
    align-items: center;
    gap: 12px;
    margin: 1px 0;
    padding: 0 12px;
    font-weight: 600;
    display: flex;
    position: relative
}

.snav__item:hover {
    color: var(--ink);
    background: var(--glass-2)
}

.snav__item[aria-current=page] {
    color: var(--ink);
    background: 0 0
}

.snav__item[aria-current=page]>.ico {
    color: var(--accent)
}

.snav__item>.ico {
    color: var(--muted)
}

.snav__label {
    text-overflow: ellipsis;
    flex: 1;
    overflow: hidden
}

.snav__count {
    min-width: 22px;
    height: 20px;
    font-size: var(--fs-2xs);
    background: var(--glass-3);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 99px;
    place-items: center;
    padding: 0 7px;
    font-weight: 700;
    display: inline-grid
}

.snav__count.is-hot {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: none
}

.snav__subs {
    z-index: 1;
    padding: 0 0 4px 44px;
    position: relative;
    overflow: hidden
}

.snav__subs a {
    height: 32px;
    font-size: var(--fs-sm);
    color: var(--muted);
    border-radius: 9px;
    align-items: center;
    padding: 0 10px;
    font-weight: 600;
    display: flex;
    position: relative
}

.snav__subs a:before {
    content: "";
    background: var(--line-2);
    border-radius: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    position: absolute;
    top: 50%;
    left: -14px
}

.snav__subs a:hover {
    color: var(--ink)
}

.snav__subs a[aria-current=page] {
    color: var(--accent-text)
}

.snav__subs a[aria-current=page]:before {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft)
}

html.is-rail .snav {
    padding: 4px 14px 10px
}

html.is-rail .snav__item {
    justify-content: center;
    padding: 0
}

html.is-rail .snav__label,html.is-rail .snav__subs {
    display: none
}

html.is-rail .snav__count {
    background: var(--accent);
    width: 8px;
    min-width: 0;
    height: 8px;
    box-shadow: 0 0 0 2px var(--card);
    padding: 0;
    font-size: 0;
    position: absolute;
    top: 7px;
    right: 9px
}

.side__foot {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px 14px;
    display: flex
}

.goal {
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 18px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    display: flex
}

.goal__text {
    flex: 1;
    min-width: 0
}

.goal__text b {
    font-size: var(--fs-md);
    font-weight: 600;
    display: block
}

.goal__text small {
    color: var(--muted);
    font-weight: 500;
    display: block
}

.goal .ring__in b {
    font-size: var(--fs-2xs);
    font-weight: 700
}

html.is-rail .goal {
    box-shadow: none;
    background: 0 0;
    justify-content: center;
    padding: 6px
}

html.is-rail .goal__text {
    display: none
}

.top {
    z-index: 30;
    margin-bottom: 8px;
    position: sticky;
    top: 16px
}

.top__bar {
    border-radius: var(--r-lg);
    background: var(--glass);
    min-height: 64px;
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-2), 0 0 0 1px var(--line), var(--shadow);
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 16px;
    display: flex
}

.top__menu,.top__brand {
    display: none!important
}

.crumbs {
    min-width: 0;
    font-size: var(--fs-md);
    color: var(--muted);
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    display: flex
}

.crumbs b {
    color: var(--ink);
    text-overflow: ellipsis;
    font-weight: 600;
    overflow: hidden
}

.crumbs .ico {
    width: 14px;
    height: 14px
}

.top__spacer {
    flex: 1
}

.searchpill {
    background: var(--glass-2);
    width: min(360px,32vw);
    height: 44px;
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--muted);
    font-size: var(--fs-md);
    border-radius: 14px;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 14px;
    font-weight: 500;
    display: flex
}

.searchpill:hover {
    color: var(--ink);
    background: var(--glass-3)
}

.searchpill>span:not(.kbd) {
    text-align: left;
    flex: 1
}

.tools {
    flex: none;
    align-items: center;
    gap: 8px;
    display: flex
}

.live {
    height: 34px;
    font-size: var(--fs-sm);
    color: var(--ink-2);
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    white-space: nowrap;
    border-radius: 99px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-weight: 600;
    display: inline-flex
}

.live i {
    background: var(--good);
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 0 var(--good);
    border-radius: 50%;
    animation: 2.4s ease-in-out infinite breathe
}

@keyframes breathe {
    0%,to {
        box-shadow: 0 0 #208c5273
    }

    50% {
        box-shadow: 0 0 0 5px #208c5200
    }
}

.me {
    border-radius: 14px;
    flex: none;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 10px 0 4px;
    display: flex
}

.me:hover {
    background: var(--glass-2)
}

.me .av {
    width: 36px;
    height: 36px
}

.me__text {
    text-align: left;
    line-height: 1.15
}

.me__text b {
    font-size: var(--fs-md);
    font-weight: 600;
    display: block
}

.me__text small {
    color: var(--muted);
    font-size: var(--fs-2xs);
    font-weight: 600;
    display: block
}

.me>.ico {
    width: 16px;
    height: 16px;
    color: var(--muted)
}

.drawer:focus-visible,.modal:focus-visible,.drawer:focus,.modal:focus {
    outline: none
}

.tip {
    z-index: 90;
    pointer-events: none;
    background: var(--ink);
    color: var(--bg);
    font-size: var(--fs-sm);
    white-space: pre;
    box-shadow: var(--shadow);
    border-radius: 9px;
    padding: 6px 10px;
    font-weight: 600;
    position: fixed
}

.allpages {
    flex-direction: column;
    gap: 6px;
    display: flex
}

.allpages__new {
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-bottom: 8px;
    display: grid
}

.allpages__btn {
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: var(--fs-sm);
    border-radius: 16px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    font-weight: 600;
    display: flex
}

.allpages__btn svg {
    color: var(--accent-text)
}

.allpages__area {
    border-radius: 16px
}

.allpages__area.is-on {
    background: var(--glass-2)
}

.allpages__head {
    font-weight: 600;
    font-size: var(--fs-lg);
    align-items: center;
    gap: 12px;
    padding: 10px;
    display: flex
}

.allpages__head b {
    flex: 1;
    font-weight: 600
}

.allpages__ico {
    background: var(--glass-3);
    width: 34px;
    height: 34px;
    color: var(--accent-text);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 11px;
    flex: none;
    place-items: center;
    display: grid
}

.allpages__subs {
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 10px 12px 56px;
    display: flex
}

.allpages__subs a {
    background: var(--glass-3);
    height: 36px;
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: var(--fs-sm);
    color: var(--ink-2);
    border-radius: 11px;
    align-items: center;
    padding: 0 12px;
    font-weight: 600;
    display: inline-flex
}

.allpages__subs a[aria-current=page] {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: none
}

.tone--accent {
    background: var(--sig-soft);
    color: var(--sig-text)
}

.tone--good {
    background: var(--good-soft);
    color: var(--good)
}

.tone--warn {
    background: var(--warn-soft);
    color: var(--warn)
}

.tone--bad {
    background: var(--bad-soft);
    color: var(--bad)
}

.tone--info {
    background: var(--info-soft);
    color: var(--info)
}

.tone--plain {
    background: var(--card-3);
    color: var(--ink)
}

.kbd {
    background: var(--glass-3);
    min-width: 26px;
    height: 24px;
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: var(--fs-2xs);
    color: var(--muted);
    border-radius: 7px;
    place-items: center;
    padding: 0 6px;
    font-weight: 700;
    display: inline-grid
}

.ibtn {
    background: var(--glass-2);
    width: 44px;
    height: 44px;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 14px;
    flex: none;
    place-items: center;
    display: grid;
    position: relative
}

.ibtn:hover {
    background: var(--glass-3)
}

.ibtn--flat {
    box-shadow: none;
    background: 0 0
}

.ibtn--flat:hover {
    background: var(--card-3)
}

.ibtn--sm {
    border-radius: 10px;
    width: 34px;
    height: 34px
}

.ibtn__badge {
    background: var(--accent);
    min-width: 17px;
    height: 17px;
    color: var(--accent-ink);
    font-size: var(--fs-2xs);
    box-shadow: 0 0 0 2px var(--card);
    border-radius: 99px;
    place-items: center;
    padding: 0 4px;
    font-weight: 700;
    display: grid;
    position: absolute;
    top: 7px;
    right: 7px
}

.btn {
    height: 40px;
    font-size: var(--fs-md);
    white-space: nowrap;
    background: var(--glass-3);
    color: var(--ink);
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--line-2);
    border-radius: 13px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    font-weight: 600;
    display: inline-flex
}

.btn:hover {
    background: var(--glass-solid)
}

.btn svg {
    width: 18px;
    height: 18px
}

.btn--primary {
    background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 88%, #fff), var(--accent));
    color: var(--accent-ink);
    box-shadow: inset 0 1px 0 #ffffff59, 0 8px 18px -8px var(--accent)
}

.btn--primary:hover {
    background: var(--accent-hi)
}

.btn--dark {
    background: var(--ink);
    color: var(--bg);
    box-shadow: none
}

.btn--dark:hover {
    background: var(--ink-2)
}

.btn--ghost {
    box-shadow: none;
    background: 0 0
}

.btn--danger {
    color: var(--bad)
}

.btn--sm {
    height: 32px;
    font-size: var(--fs-sm);
    border-radius: 10px;
    padding: 0 12px
}

.btn--sm svg {
    width: 16px;
    height: 16px
}

.btn--lg {
    height: 52px;
    font-size: var(--fs-lg);
    border-radius: 16px;
    padding: 0 22px
}

.btn:disabled {
    opacity: .45;
    cursor: not-allowed
}

.btn--block {
    width: 100%
}

.linkbtn {
    min-height: 24px;
    color: var(--accent-text);
    font-weight: 600;
    font-size: var(--fs-sm);
    align-items: center;
    display: inline-flex
}

.linkbtn:hover {
    text-underline-offset: 3px;
    text-decoration: underline
}

.phead {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin: 14px 0 20px;
    display: flex
}

.phead__text {
    flex: 260px;
    min-width: 0
}

.phead h1 {
    letter-spacing: -.025em;
    font-size: clamp(28px,2.6vw,38px);
    font-weight: 600;
    line-height: 1.04
}

.phead p {
    color: var(--muted);
    font-size: var(--fs-base);
    max-width: 70ch;
    margin-top: 8px
}

.phead__actions {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    display: flex
}

.toolbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    display: flex
}

.toolbar .inwrap {
    flex: 240px;
    max-width: 380px
}

.toolbar__end {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    display: flex
}

.kpis {
    gap: var(--gap);
    grid-template-columns: repeat(4,minmax(0,1fr));
    display: grid
}

.kpi {
    border-radius: var(--r-lg);
    background: var(--glass);
    min-height: 124px;
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-2), 0 0 0 1px var(--line), var(--shadow);
    flex-direction: column;
    padding: 16px 18px 14px;
    display: flex;
    position: relative;
    overflow: hidden
}

.kpi:after {
    content: "";
    background: var(--kc,var(--accent));
    opacity: .16;
    filter: blur(30px);
    pointer-events: none;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    position: absolute;
    top: -50px;
    right: -40px
}

.kpi__label {
    font-size: var(--fs-sm);
    color: var(--muted);
    align-items: center;
    gap: 10px;
    font-weight: 600;
    display: flex
}

.kpi__ico {
    color: #fff;
    background: var(--kc,var(--accent));
    width: 34px;
    height: 34px;
    box-shadow: inset 0 1px 0 #fff6, 0 8px 16px -8px var(--kc,var(--accent));
    border-radius: 11px;
    place-items: center;
    margin-left: auto;
    display: grid
}

[data-theme=dark] .kpi__ico {
    color: #1a1014
}

.kpi__ico svg {
    width: 18px;
    height: 18px
}

.kpi__value {
    font-size: var(--fs-3xl);
    letter-spacing: -.01em;
    margin-top: 4px;
    font-weight: 600;
    line-height: 1.1
}

.kpi__foot {
    font-size: var(--fs-xs);
    color: var(--muted);
    align-items: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    font-weight: 600;
    display: flex
}

.kpi__foot .spark {
    width: 86px;
    height: 28px;
    color: var(--kc,var(--accent));
    margin-left: auto
}

.delta {
    white-space: nowrap;
    font-size: var(--fs-2xs);
    border-radius: 99px;
    align-items: center;
    gap: 2px;
    padding: 2px 7px;
    font-weight: 700;
    display: inline-flex
}

.delta--up {
    color: var(--good);
    background: var(--good-soft)
}

.delta--down {
    color: var(--bad);
    background: var(--bad-soft)
}

.spark {
    display: block;
    overflow: visible
}

.spark path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round
}

.spark .spark__area {
    stroke: none;
    fill: currentColor;
    opacity: .14
}

.pill {
    height: 24px;
    font-size: var(--fs-xs);
    white-space: nowrap;
    background: var(--card-3);
    color: var(--ink-2);
    border-radius: 99px;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    font-weight: 600;
    display: inline-flex
}

.pill:before {
    content: "";
    background: currentColor;
    border-radius: 50%;
    width: 6px;
    height: 6px
}

.pill--plain:before {
    display: none
}

.pill--good {
    background: var(--good-soft);
    color: var(--good)
}

.pill--warn {
    background: var(--warn-soft);
    color: var(--warn)
}

.pill--bad {
    background: var(--bad-soft);
    color: var(--bad)
}

.pill--info {
    background: var(--info-soft);
    color: var(--info)
}

.pill--accent {
    background: var(--sig-soft);
    color: var(--sig-text)
}

.badge {
    min-width: 20px;
    height: 20px;
    font-size: var(--fs-2xs);
    background: var(--card-3);
    color: var(--ink-2);
    border-radius: 99px;
    place-items: center;
    padding: 0 6px;
    font-weight: 700;
    display: inline-grid
}

.chips {
    flex-wrap: wrap;
    gap: 6px;
    display: flex
}

.chip {
    height: 34px;
    font-size: var(--fs-sm);
    color: var(--ink-2);
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    white-space: nowrap;
    border-radius: 11px;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    font-weight: 600;
    display: inline-flex
}

.chip:hover {
    color: var(--ink);
    background: var(--glass-3)
}

.chip[aria-pressed=true] {
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: 0 6px 14px -8px var(--accent)
}

.chip .badge {
    background: var(--card-3);
    min-width: 18px;
    height: 18px;
    color: inherit
}

.chip[aria-pressed=true] .badge {
    background: #ffffff40
}

.chtag {
    height: 24px;
    font-size: var(--fs-xs);
    white-space: nowrap;
    border-radius: 99px;
    align-items: center;
    gap: 6px;
    padding: 0 9px 0 7px;
    font-weight: 600;
    display: inline-flex
}

.chtag svg {
    width: 14px;
    height: 14px
}

.chtag--online {
    color: var(--ch-online-text);
    background: color-mix(in oklab, var(--ch-online) 14%, transparent)
}

.chtag--shop {
    color: var(--ch-shop-text);
    background: color-mix(in oklab, var(--ch-shop) 15%, transparent)
}

.chtag--wholesale {
    color: var(--ch-wholesale-text);
    background: color-mix(in oklab, var(--ch-wholesale) 18%, transparent)
}

.av {
    width: 34px;
    height: 34px;
    font-size: var(--fs-xs);
    color: var(--mono-ink);
    background: #f0dbe2;
    border-radius: 50%;
    flex: none;
    place-items: center;
    font-weight: 700;
    display: grid;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #fff9
}

.av--staff {
    background: var(--h)
}

.av img {
    object-fit: cover;
    width: 100%;
    height: 100%
}

.av--sm {
    width: 26px;
    height: 26px;
    font-size: var(--fs-2xs)
}

.av--lg {
    width: 48px;
    height: 48px;
    font-size: var(--fs-lg)
}

.av--xl {
    width: 72px;
    height: 72px;
    font-size: var(--fs-3xl)
}

.av__dot {
    background: var(--good);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 2px var(--card);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0
}

.avstack {
    display: flex
}

.avstack>*+* {
    box-shadow: 0 0 0 2px var(--card);
    margin-left: -8px
}

.thumb {
    background: linear-gradient(155deg, color-mix(in oklab, var(--t) 70%, #fff), var(--t));
    width: 40px;
    height: 40px;
    color: var(--mono-ink);
    border-radius: 12px;
    flex: none;
    place-items: center;
    display: grid;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px #ffffffb3,inset 0 0 0 1px #fff6,0 4px 10px -6px #461e2a59
}

.thumb b {
    font-size: var(--fs-xs);
    letter-spacing: .02em;
    font-weight: 700
}

.thumb i {
    background: #24171c2e;
    border-radius: 3px;
    width: 14px;
    height: 3px;
    margin-left: -7px;
    position: absolute;
    bottom: 5px;
    left: 50%
}

.thumb--sm {
    border-radius: 9px;
    width: 30px;
    height: 30px
}

.thumb--sm b {
    font-size: var(--fs-2xs)
}

.thumb--sm i {
    display: none
}

.thumb--lg {
    border-radius: 16px;
    width: 56px;
    height: 56px
}

.thumb--lg b {
    font-size: var(--fs-lg)
}

.thumb--xl {
    aspect-ratio: 1.25;
    border-radius: 16px;
    width: 100%;
    height: auto
}

.thumb--xl b {
    font-size: var(--fs-display);
    letter-spacing: -.02em;
    opacity: .82;
    font-weight: 600
}

.thumb--xl i {
    width: 40px;
    height: 5px;
    margin-left: -20px;
    bottom: 14px
}

.seg {
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 13px;
    padding: 3px;
    display: inline-flex;
    position: relative
}

.seg__thumb {
    background: var(--glass-solid);
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 2px 4px #461e2a24);
    position: absolute;
    inset: 0
}

[data-theme=dark] .seg__thumb {
    background: #ffffff24
}

.seg--accent .seg__thumb {
    background: var(--accent);
    filter: none
}

.seg--accent button[aria-pressed=true] {
    color: var(--accent-ink)
}

.seg button {
    z-index: 1;
    height: 32px;
    font-size: var(--fs-sm);
    color: var(--muted);
    white-space: nowrap;
    border-radius: 10px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    font-weight: 600;
    display: inline-flex;
    position: relative
}

.seg button[aria-pressed=true] {
    color: var(--ink)
}

.seg button svg {
    width: 16px;
    height: 16px
}

.tabs {
    scrollbar-width: none;
    background: var(--glass-2);
    width: fit-content;
    max-width: 100%;
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 15px;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    display: flex;
    position: relative;
    overflow-x: auto
}

.tabs::-webkit-scrollbar {
    display: none
}

.tabs a,.tabs button {
    z-index: 1;
    height: 36px;
    font-size: var(--fs-md);
    color: var(--muted);
    white-space: nowrap;
    border-radius: 11px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    font-weight: 600;
    display: inline-flex;
    position: relative
}

.tabs a:hover,.tabs button:hover,.tabs [aria-current=page],.tabs [aria-selected=true] {
    color: var(--ink)
}

.tabs__line {
    pointer-events: none;
    opacity: 0;
    background: var(--glass-solid);
    box-shadow: 0 0 0 1px var(--line);
    filter: drop-shadow(0 3px 6px #461e2a1f);
    position: absolute;
    inset: 0
}

[data-theme=dark] .tabs__line {
    background: #ffffff1f
}

.tabs [aria-current=page] .badge {
    background: var(--accent);
    color: var(--accent-ink)
}

.table-wrap {
    position: relative;
    overflow-x: auto
}

.table {
    border-collapse: collapse;
    width: 100%;
    font-size: var(--fs-md)
}

.table th {
    text-align: left;
    font-size: var(--fs-xs);
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    font-weight: 600
}

.table th button {
    color: inherit;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    display: inline-flex
}

.table th button:hover {
    color: var(--ink)
}

.table th .ico {
    width: 14px;
    height: 14px
}

.table td {
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    padding: 11px 14px;
    font-weight: 600
}

.table tr:last-child td {
    border-bottom: 0
}

.table tbody tr.is-click {
    cursor: pointer
}

.table .r {
    text-align: right
}

.table td.muted {
    font-weight: 500
}

.table th:first-child,.table td:first-child {
    padding-left: 20px
}

.table th:last-child,.table td:last-child {
    padding-right: 20px
}

.cell {
    align-items: center;
    gap: 10px;
    min-width: 0;
    display: flex
}

.cell__text {
    min-width: 0
}

.cell__text b {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
    display: block;
    overflow: hidden
}

.cell__text small {
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    display: block;
    overflow: hidden
}

.more-row {
    border-top: 1px solid var(--line);
    justify-content: center;
    padding: 14px;
    display: flex
}

.level {
    background: var(--card-3);
    border-radius: 6px;
    min-width: 70px;
    height: 6px;
    position: relative;
    overflow: hidden
}

.level i {
    border-radius: inherit;
    background: var(--good);
    transform-origin: 0;
    position: absolute;
    inset: 0
}

.level.is-low i {
    background: var(--warn)
}

.level.is-out i {
    background: var(--bad)
}

.field {
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    display: flex
}

.field>span {
    font-size: var(--fs-sm);
    color: var(--ink-2);
    font-weight: 600
}

.field small {
    color: var(--muted)
}

.field small.bad {
    color: var(--bad)
}

.input,.select,.textarea {
    background: var(--glass-3);
    width: 100%;
    height: 44px;
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: var(--fs-base);
    border: 0;
    border-radius: 13px;
    padding: 0 13px;
    font-weight: 500
}

.textarea {
    resize: vertical;
    height: auto;
    min-height: 96px;
    padding: 11px 13px;
    line-height: 1.5
}

.input.is-bad {
    box-shadow: inset 0 0 0 1.5px var(--bad)
}

.select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: right 17px center,right 12px center;
    background-repeat: no-repeat;
    background-size: 5px 5px;
    padding-right: 34px
}

[data-theme=dark] .select option {
    background: #241a1f
}

.inwrap {
    align-items: center;
    display: flex;
    position: relative
}

.inwrap>.ico {
    width: 18px;
    height: 18px;
    color: var(--muted);
    pointer-events: none;
    z-index: 1;
    position: absolute;
    left: 13px
}

.inwrap .input {
    padding-left: 40px
}

.formgrid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    display: grid
}

.formgrid .span2 {
    grid-column: 1/-1
}

.formfoot {
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    display: flex
}

.switch {
    background: var(--card-3);
    width: 44px;
    height: 26px;
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 99px;
    flex: none;
    position: relative
}

.switch i {
    background: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: 0 1px 3px #00000040
}

.switch[aria-checked=true] {
    background: var(--accent);
    box-shadow: none
}

.check {
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 1.5px var(--line-2);
    background: var(--glass-3);
    border-radius: 6px;
    flex: none;
    place-items: center;
    display: grid
}

.check svg {
    stroke-width: 2.4px;
    opacity: 0;
    width: 14px;
    height: 14px
}

.check[aria-checked=true] {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: none
}

.check[aria-checked=true] svg {
    opacity: 1
}

.row-set {
    border-bottom: 1px solid var(--line);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    display: flex
}

.row-set:last-child {
    border-bottom: 0
}

.row-set__text {
    flex: 1;
    min-width: 0
}

.row-set__text b {
    font-weight: 600;
    display: block
}

.row-set__text small {
    color: var(--muted);
    font-size: var(--fs-sm)
}

.keys .row-set {
    padding: 10px 0
}

.stepper {
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 12px;
    align-items: center;
    gap: 2px;
    padding: 3px;
    display: inline-flex
}

.stepper button {
    width: 30px;
    height: 30px;
    color: var(--ink);
    border-radius: 9px;
    place-items: center;
    display: grid
}

.stepper button:hover {
    background: var(--glass-3)
}

.stepper button svg {
    width: 15px;
    height: 15px
}

.stepper button.is-add {
    background: var(--accent);
    color: var(--accent-ink)
}

.stepper button:disabled {
    opacity: .4
}

.stepper output {
    text-align: center;
    min-width: 28px;
    font-weight: 700;
    font-size: var(--fs-md)
}

.empty {
    text-align: center;
    color: var(--muted);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 20px;
    display: flex
}

.empty__icon {
    background: var(--glass-3);
    width: 54px;
    height: 54px;
    color: var(--accent-text);
    box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px var(--line);
    border-radius: 17px;
    place-items: center;
    margin-bottom: 4px;
    display: grid
}

.empty b {
    color: var(--ink);
    font-size: var(--fs-lg);
    font-weight: 600
}

.empty p {
    max-width: 36ch;
    font-size: var(--fs-sm)
}

.scrim {
    z-index: 60;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: #280e1842;
    position: fixed;
    inset: 0
}

.drawer,.modal,.pop,.finder {
    -webkit-backdrop-filter: var(--blur-lg);
    backdrop-filter: var(--blur-lg);
    background: var(--glass-solid);
    box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px var(--line-2), var(--shadow-lg)
}

.drawer {
    z-index: 61;
    border-radius: var(--r-xl);
    flex-direction: column;
    width: min(480px,100vw - 24px);
    display: flex;
    position: fixed;
    top: 12px;
    bottom: 12px;
    right: 12px;
    overflow: hidden
}

.drawer__head {
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px 14px 24px;
    display: flex
}

.drawer__head h2 {
    font-size: var(--fs-3xl);
    letter-spacing: -.02em;
    font-weight: 700;
    line-height: 1.15
}

.drawer__head p {
    color: var(--muted);
    font-size: var(--fs-sm);
    margin-top: 4px
}

.drawer__body {
    flex: 1;
    padding: 20px 24px 28px;
    overflow-y: auto
}

.drawer__foot {
    border-top: 1px solid var(--line);
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px;
    display: flex
}

.sheet__grip {
    display: none
}

.modal-wrap {
    z-index: 62;
    pointer-events: none;
    place-items: center;
    padding: 20px;
    display: grid;
    position: fixed;
    inset: 0
}

.modal {
    pointer-events: auto;
    border-radius: var(--r-xl);
    flex-direction: column;
    width: min(520px,100%);
    max-height: calc(100dvh - 40px);
    display: flex;
    overflow: hidden
}

.modal--wide {
    width: min(780px,100%)
}

.modal__head {
    align-items: flex-start;
    gap: 12px;
    padding: 22px 22px 6px 24px;
    display: flex
}

.modal__head h2 {
    font-size: var(--fs-2xl);
    letter-spacing: -.015em;
    font-weight: 700
}

.modal__head p {
    color: var(--muted);
    font-size: var(--fs-sm);
    margin-top: 4px
}

.modal__body {
    padding: 14px 24px 22px;
    overflow-y: auto
}

.modal__foot {
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px 20px;
    display: flex
}

.pop {
    z-index: 70;
    border-radius: 18px;
    min-width: 220px;
    max-width: calc(100vw - 20px);
    padding: 6px;
    position: fixed
}

.menu__item {
    width: 100%;
    height: 40px;
    font-size: var(--fs-md);
    text-align: left;
    white-space: nowrap;
    border-radius: 11px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    font-weight: 600;
    display: flex
}

.menu__item:hover,.menu__item:focus-visible {
    background: var(--card-3);
    outline: none
}

.menu__item svg {
    width: 18px;
    height: 18px;
    color: var(--muted)
}

.menu__item .kbd {
    margin-left: auto
}

.menu__item--danger,.menu__item--danger svg {
    color: var(--bad)
}

.menu__sep {
    background: var(--line);
    height: 1px;
    margin: 6px 4px
}

.menu__label {
    font-size: var(--fs-2xs);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 10px 4px;
    font-weight: 700
}

.toasts {
    z-index: 80;
    pointer-events: none;
    flex-direction: column;
    gap: 8px;
    width: min(440px,100vw - 24px);
    margin-left: max(-220px,12px - 50vw);
    display: flex;
    position: fixed;
    bottom: 22px;
    left: 50%
}

.toast {
    pointer-events: auto;
    color: #fbf3f6;
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: inset 0 1px 0 #ffffff1f, var(--shadow-lg);
    font-size: var(--fs-md);
    background: #1f151ae6;
    border-radius: 16px;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 16px;
    font-weight: 600;
    display: flex
}

[data-theme=dark] .toast {
    color: #1f151a;
    background: #faf0f4eb
}

.toast>svg {
    color: #8fdcb1;
    width: 18px;
    height: 18px
}

[data-theme=dark] .toast>svg {
    color: #18703f
}

.toast.is-warn>svg {
    color: #f0b860
}

.toast span {
    flex: 1
}

.toast button {
    height: 30px;
    font-weight: 700;
    font-size: var(--fs-sm);
    background: #ffffff29;
    border-radius: 9px;
    padding: 0 12px
}

[data-theme=dark] .toast button {
    background: #00000014
}

.float-up {
    z-index: 85;
    pointer-events: none;
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--good);
    white-space: nowrap;
    position: fixed
}

.is-flash {
    animation: flash 1s var(--ease)
}

@keyframes flash {
    0% {
        color: var(--accent)
    }

    to {
        color: inherit
    }
}

.finder {
    z-index: 75;
    border-radius: 24px;
    width: min(640px,100vw - 24px);
    margin-left: max(-320px,12px - 50vw);
    position: fixed;
    top: 12vh;
    left: 50%;
    overflow: hidden
}

.finder__in {
    border-bottom: 1px solid var(--line);
    align-items: center;
    gap: 10px;
    height: 62px;
    padding: 0 16px;
    display: flex
}

.finder__in input {
    font-size: var(--fs-xl);
    background: 0 0;
    border: 0;
    flex: 1;
    min-width: 0;
    height: 100%;
    font-weight: 500
}

.finder__list {
    max-height: min(56vh,460px);
    padding: 8px;
    overflow-y: auto
}

.finder__group {
    font-size: var(--fs-2xs);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 10px 4px;
    font-weight: 700
}

.finder__item {
    text-align: left;
    cursor: pointer;
    border-radius: 13px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    display: flex
}

.finder__item[aria-selected=true] {
    background: var(--card-3)
}

.finder__item .cell__text {
    flex: 1
}

.finder__item>svg {
    width: 18px;
    height: 18px;
    color: var(--muted)
}

.finder__ico {
    background: var(--glass-3);
    width: 36px;
    height: 36px;
    color: var(--accent-text);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 11px;
    flex: none;
    place-items: center;
    display: grid
}

.finder__foot {
    border-top: 1px solid var(--line);
    font-size: var(--fs-xs);
    color: var(--muted);
    gap: 14px;
    padding: 10px 16px;
    display: flex
}

.notices {
    width: min(380px,100vw - 20px);
    padding: 0;
    overflow: hidden
}

.notices__head {
    align-items: center;
    padding: 14px 16px 10px;
    display: flex
}

.notices__head b {
    font-size: var(--fs-lg);
    flex: 1;
    font-weight: 600
}

.notices__list {
    max-height: 420px;
    padding: 0 6px 6px;
    overflow-y: auto
}

.notice {
    text-align: left;
    border-radius: 13px;
    gap: 12px;
    width: 100%;
    padding: 10px;
    display: flex
}

.notice:hover {
    background: var(--card-3)
}

.notice__ico {
    border-radius: 11px;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    display: grid
}

.notice__ico svg {
    width: 18px;
    height: 18px
}

.notice__text {
    flex: 1;
    min-width: 0
}

.notice__text b {
    font-size: var(--fs-md);
    font-weight: 600;
    display: block
}

.notice__text p {
    font-size: var(--fs-sm);
    color: var(--muted)
}

.notice__text small {
    color: var(--muted)
}

.notice.is-unread .notice__text b:after {
    content: "";
    background: var(--accent);
    vertical-align: middle;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    margin-left: 6px;
    display: inline-block
}

.signin {
    z-index: 95;
    background: color-mix(in oklab, var(--bg) 55%, transparent);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    place-items: center;
    padding: 20px;
    display: grid;
    position: fixed;
    inset: 0
}

.signin__card {
    background: var(--glass-3);
    width: min(420px,100%);
    box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px var(--line), var(--shadow-lg);
    border-radius: 28px;
    padding: 32px
}

.signin__card h1 {
    letter-spacing: -.025em;
    font-size: 30px;
    font-weight: 600
}

.signin__card>p {
    color: var(--muted);
    margin: 6px 0 26px
}

.signin__fields {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    display: flex
}

.signin__date {
    text-align: center;
    margin-top: 18px;
    display: block
}

.tabbar {
    display: none
}

.charttip {
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
    background: var(--ink);
    color: var(--bg);
    box-shadow: var(--shadow);
    border-radius: 11px;
    flex-direction: column;
    gap: 1px;
    padding: 7px 10px;
    display: flex;
    position: absolute;
    transform: translate(-50%)
}

.charttip b {
    font-size: var(--fs-md);
    font-weight: 700
}

.charttip small {
    font-size: var(--fs-2xs);
    opacity: .78;
    font-weight: 600
}

.charttip--glass {
    background: var(--glass-solid);
    color: var(--ink);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px var(--line-2), var(--shadow-lg);
    gap: 3px;
    min-width: 170px;
    padding: 10px 12px
}

.charttip--glass b {
    font-size: var(--fs-xl);
    letter-spacing: -.01em;
    margin-bottom: 3px
}

.charttip--glass small {
    opacity: 1;
    color: var(--muted)
}

.charttip__row {
    align-items: center;
    gap: 7px;
    display: flex
}

.charttip__row i {
    border-radius: 3px;
    width: 8px;
    height: 8px
}

.charttip__row em {
    color: var(--ink);
    margin-left: auto;
    font-style: normal;
    font-weight: 700
}

.bars {
    padding: 4px 0 26px 44px;
    position: relative
}

.bars__grid {
    pointer-events: none;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    position: absolute;
    inset: 4px 0 26px
}

.bars__grid div {
    border-top: 1px dashed var(--line-2);
    height: 0;
    position: relative
}

.bars__grid div:last-child {
    border-top-style: solid
}

.bars__grid span {
    font-size: var(--fs-2xs);
    color: var(--muted);
    font-weight: 600;
    position: absolute;
    top: -8px;
    left: 0
}

.bars__cols {
    align-items: stretch;
    gap: 6px;
    height: 100%;
    display: flex;
    position: relative
}

.bars__col {
    flex-direction: column;
    flex: 1;
    align-items: center;
    min-width: 0;
    display: flex;
    position: relative
}

.bars__track {
    flex: 1;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 46px;
    display: flex;
    position: relative
}

.bars__bar,.bars__ghost {
    transform-origin: 50% 100%;
    border-radius: 9px 9px 4px 4px;
    height: 100%;
    position: absolute;
    bottom: 0
}

.bars__bar {
    background: linear-gradient(180deg, var(--data), color-mix(in oklab, var(--data) 55%, transparent));
    left: 16%;
    right: 16%
}

.bars__ghost {
    background: var(--card-3);
    left: 4%;
    right: 4%
}

.bars__col:not(.is-hi):not(.is-tip) .bars__bar {
    opacity: .55
}

.bars__label {
    max-width: 100%;
    font-size: var(--fs-2xs);
    color: var(--muted);
    white-space: nowrap;
    font-weight: 600;
    position: absolute;
    bottom: -22px
}

.bars__col.is-hi .bars__label {
    color: var(--sig-text);
    font-weight: 700
}

.bars .charttip {
    left: 50%
}

.bars--compact {
    padding-left: 0
}

.bars--compact .bars__grid span {
    display: none
}

.area,.stack-chart {
    padding-left: 46px;
    position: relative
}

.area__grid {
    pointer-events: none;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    position: absolute;
    left: 0;
    right: 0
}

.area__grid div {
    border-top: 1px dashed var(--line-2);
    height: 0;
    position: relative
}

.area__grid div:last-child {
    border-top-style: solid
}

.area__grid span {
    font-size: var(--fs-2xs);
    color: var(--muted);
    font-weight: 600;
    position: absolute;
    top: -8px;
    left: 0
}

.area__svg {
    touch-action: pan-y;
    display: block;
    position: relative;
    overflow: visible
}

.area__line {
    fill: none;
    stroke: var(--data);
    stroke-width: 2.4px;
    stroke-linecap: round;
    stroke-linejoin: round
}

.area__cmp {
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.6px;
    stroke-dasharray: 4 5;
    opacity: .7
}

.area__cursor {
    stroke: var(--line-2);
    stroke-width: 1px;
    stroke-dasharray: 3 3
}

.area__dot {
    fill: var(--card);
    stroke: var(--data);
    stroke-width: 2.5px
}

.area__x {
    height: 20px;
    position: absolute;
    bottom: 0;
    left: 46px;
    right: 0
}

.area__x span {
    font-size: var(--fs-2xs);
    color: var(--muted);
    white-space: nowrap;
    font-weight: 600;
    position: absolute;
    transform: translate(-50%)
}

.area__x span:first-child {
    transform: none
}

.area__x span:last-child {
    transform: translate(-100%)
}

.stack-chart__edge {
    fill: none;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round
}

.stack-chart__band {
    stroke: var(--sep);
    stroke-width: 1px
}

.heat {
    align-items: center;
    gap: 4px;
    display: grid
}

.heat__col {
    text-align: center;
    font-size: var(--fs-2xs);
    color: var(--muted);
    font-weight: 600
}

.heat__row {
    font-size: var(--fs-xs);
    color: var(--muted);
    padding-right: 8px;
    font-weight: 600
}

.heat__cell {
    aspect-ratio: 1.4;
    position: relative
}

.heat__cell i {
    border-radius: 6px;
    position: absolute;
    inset: 0
}

.heat__cell.is-peak i {
    box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--data)
}

.heat__cell .charttip {
    bottom: calc(100% + 6px);
    left: 50%
}

.legend {
    font-size: var(--fs-sm);
    color: var(--muted);
    flex-wrap: wrap;
    gap: 6px 14px;
    font-weight: 600;
    display: flex
}

.legend span {
    align-items: center;
    gap: 6px;
    display: inline-flex
}

.legend i {
    background: var(--accent);
    border-radius: 3px;
    width: 10px;
    height: 10px
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex
}

.steps li {
    flex-direction: column;
    flex: 1;
    gap: 8px;
    min-width: 0;
    display: flex;
    position: relative
}

.steps li:last-child {
    flex: none
}

.steps__dot {
    z-index: 1;
    background: var(--glass-3);
    width: 22px;
    height: 22px;
    box-shadow: inset 0 0 0 2px var(--line-2);
    border-radius: 50%;
    place-items: center;
    display: grid;
    position: relative
}

.steps__dot svg {
    stroke-width: 2.6px;
    width: 13px;
    height: 13px
}

.steps li.is-done .steps__dot {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: none
}

.steps li.is-now .steps__dot {
    box-shadow: inset 0 0 0 2px var(--accent)
}

.steps li.is-now .steps__dot:after {
    content: "";
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    inset: 6px
}

.steps li.is-now .steps__dot:before {
    content: "";
    background: var(--accent-soft);
    border-radius: 50%;
    animation: 2.2s ease-in-out infinite breathe-ring;
    position: absolute;
    inset: -5px
}

@keyframes breathe-ring {
    0%,to {
        opacity: .4
    }

    50% {
        opacity: 1
    }
}

.steps__bar {
    background: var(--line-2);
    border-radius: 2px;
    height: 2px;
    position: absolute;
    top: 10px;
    left: 26px;
    right: 4px;
    overflow: hidden
}

.steps__fill {
    background: var(--accent);
    transform-origin: 0;
    position: absolute;
    inset: 0
}

.steps small {
    font-size: var(--fs-xs);
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 6px;
    font-weight: 600;
    overflow: hidden
}

.steps li.is-done small,.steps li.is-now small {
    color: var(--ink)
}

.steps--compact small {
    display: none
}

.steps--compact .steps__dot {
    width: 16px;
    height: 16px
}

.steps--compact .steps__dot svg {
    width: 10px;
    height: 10px
}

.steps--compact .steps__bar {
    top: 7px;
    left: 19px
}

.steps--compact li.is-now .steps__dot:after {
    inset: 4px
}

.meter {
    background: var(--card-3);
    border-radius: 8px;
    height: 8px;
    display: block;
    position: relative;
    overflow: hidden
}

.meter i {
    border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 70%, #fff), var(--accent));
    transform-origin: 0;
    position: absolute;
    inset: 0
}

.meter.is-warn i {
    background: var(--warn)
}

.meter.is-bad i {
    background: var(--bad)
}

.ring {
    flex: none;
    place-items: center;
    display: inline-grid;
    position: relative
}

.ring svg {
    position: absolute;
    inset: 0
}

.ring__track {
    fill: none;
    stroke: var(--card-3)
}

.ring__arc {
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round
}

.ring__in {
    text-align: center;
    line-height: 1.1;
    position: relative
}

.split {
    gap: 3px;
    height: 12px;
    display: flex
}

.split__seg {
    min-width: 6px;
    position: relative
}

.split__seg i {
    transform-origin: 0;
    border-radius: 4px;
    position: absolute;
    inset: 0
}

.ink {
    color: var(--ink);
    font-weight: 600
}

.amt {
    white-space: nowrap;
    font-weight: 600
}

.row-actions {
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    display: flex
}

.dl {
    grid-template-columns: auto 1fr;
    gap: 10px 18px;
    margin: 0;
    display: grid
}

.dl dt {
    color: var(--muted);
    font-size: var(--fs-sm);
    font-weight: 600
}

.dl dd {
    text-align: right;
    margin: 0;
    font-weight: 600
}

.section-label {
    font-size: var(--fs-2xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 20px 0 8px;
    font-weight: 700
}

.section-label:first-child {
    margin-top: 0
}

.lines {
    flex-direction: column;
    display: flex
}

.lines__row {
    border-bottom: 1px solid var(--line);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    display: flex
}

.lines__row:last-child {
    border-bottom: 0
}

.lines__row .cell__text {
    flex: 1
}

.totals {
    background: var(--glass-2);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 14px;
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    margin-top: 10px;
    padding: 12px 14px;
    font-weight: 600;
    display: grid
}

.totals span {
    color: var(--muted);
    font-weight: 500
}

.totals b {
    text-align: right
}

.totals .is-total {
    color: var(--ink);
    font-weight: 700;
    font-size: var(--fs-lg);
    border-top: 1px solid var(--line);
    padding-top: 6px
}

.timeline {
    margin: 0;
    padding: 0;
    list-style: none
}

.timeline li {
    gap: 12px;
    padding: 0 0 14px;
    display: flex;
    position: relative
}

.timeline li:before {
    content: "";
    background: var(--line-2);
    width: 2px;
    position: absolute;
    top: 14px;
    bottom: 0;
    left: 5px
}

.timeline li:last-child:before {
    display: none
}

.timeline i {
    background: var(--accent);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px var(--accent-soft);
    border-radius: 50%;
    flex: none;
    margin-top: 3px;
    position: relative
}

.timeline li+li i {
    background: var(--glass-3);
    box-shadow: inset 0 0 0 2px var(--line-2)
}

.timeline b {
    font-weight: 600;
    font-size: var(--fs-md);
    display: block
}

.timeline small {
    color: var(--muted)
}

@media (width<=1440px) {
    .me__text,.me>.ico {
        display: none
    }

    .me {
        padding: 0 4px
    }
}

@media (width<=1279px) {
    .kpis {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .side .collapse {
        display: none
    }

    .searchpill {
        justify-content: center;
        width: 44px;
        padding: 0
    }

    .searchpill>span {
        display: none
    }
}

@media (width<=999px) {
    .live {
        display: none
    }

    .main {
        padding-right: 16px
    }

    .formgrid {
        grid-template-columns: 1fr
    }
}

@media (width<=760px) {
    :root {
        --gap: 12px
    }

    .side {
        display: none
    }

    .main,html.is-rail .main {
        padding: 0 12px calc(108px + env(safe-area-inset-bottom));
        margin-left: 0
    }

    .top {
        margin: 0 -12px 4px;
        padding: 10px 12px 6px;
        top: 0
    }

    .top__bar {
        border-radius: 18px;
        gap: 6px;
        min-height: 58px;
        padding: 8px
    }

    .top__menu,.top__brand {
        display: inline-flex!important
    }

    .top__brand {
        flex: 1;
        align-items: center;
        gap: 9px;
        min-width: 0
    }

    .top__brand .mark {
        border-radius: 11px;
        width: 34px;
        height: 34px
    }

    .top__brand .mark svg {
        width: 19px;
        height: 19px
    }

    .top__brand b {
        font-size: var(--fs-xl);
        letter-spacing: -.02em;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-weight: 700;
        overflow: hidden
    }

    .crumbs,.top__spacer,.tools .ibtn--theme,.top__new span {
        display: none
    }

    .tools {
        gap: 6px
    }

    .ibtn,.searchpill {
        border-radius: 13px;
        width: 42px;
        height: 42px
    }

    .top__new {
        border-radius: 13px;
        width: 42px;
        padding: 0
    }

    .me {
        height: 42px;
        padding: 0
    }

    .phead {
        margin: 12px 0 16px
    }

    .phead__actions {
        width: 100%
    }

    .phead__actions>.btn {
        flex: 1
    }

    .card {
        border-radius: 18px;
        padding: 16px
    }

    .card--flush {
        padding: 0
    }

    .kpi {
        min-height: 112px;
        padding: 14px
    }

    .kpi__value {
        font-size: 18px
    }

    .kpi__ico {
        border-radius: 10px;
        width: 30px;
        height: 30px
    }

    .kpi__foot .spark {
        width: 56px
    }

    .kpi__foot>span {
        display: none
    }

    .input,.select,.textarea,.finder__in input {
        font-size: 16px
    }

    .tabs {
        width: 100%
    }

    .tabs a,.tabs button {
        flex: 1 0 auto;
        justify-content: center
    }

    .toolbar .inwrap {
        flex-basis: 100%;
        max-width: none
    }

    .toolbar__end {
        width: 100%;
        margin-left: 0
    }

    .table--stack thead {
        display: none
    }

    .table--stack,.table--stack tbody,.table--stack tr,.table--stack td {
        width: 100%;
        display: block
    }

    .table--stack tr {
        border-bottom: 1px solid var(--line);
        padding: 12px 16px;
        position: relative
    }

    .table--stack tr:last-child {
        border-bottom: 0
    }

    .table--stack td {
        text-align: right;
        border: 0;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        display: flex;
        padding: 3px 0!important
    }

    .table--stack td:first-child {
        text-align: left;
        margin-bottom: 6px
    }

    .table--stack td[data-label]:before {
        content: attr(data-label);
        color: var(--muted);
        font-size: var(--fs-xs);
        text-align: left;
        font-weight: 600
    }

    .table--stack td.hide-sm {
        display: none
    }

    .table--stack td.r {
        justify-content: space-between
    }

    .tabbar {
        z-index: 45;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        background: var(--glass-3);
        box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px var(--line-2), var(--shadow-lg);
        border-radius: 24px;
        padding: 6px;
        display: flex;
        position: fixed
    }

    .tabbar__pill {
        background: var(--accent);
        pointer-events: none;
        opacity: 0;
        filter: drop-shadow(0 6px 10px #0f7d7259);
        position: absolute;
        inset: 0
    }

    .tabbar a,.tabbar button {
        z-index: 1;
        height: 56px;
        font-size: var(--fs-2xs);
        color: var(--muted);
        border-radius: 18px;
        flex-direction: column;
        flex: 1;
        justify-content: center;
        align-items: center;
        gap: 3px;
        font-weight: 700;
        display: flex;
        position: relative
    }

    .tabbar svg {
        width: 21px;
        height: 21px
    }

    .tabbar [aria-current=page] {
        color: var(--accent-ink)
    }

    .drawer {
        border-radius: 26px 26px 0 0;
        width: 100%;
        max-height: 92dvh;
        inset: auto 0 0
    }

    .modal-wrap {
        place-items: end stretch;
        padding: 0
    }

    .modal {
        border-radius: 26px 26px 0 0;
        width: 100%;
        max-height: 92dvh
    }

    .sheet__grip {
        touch-action: none;
        place-items: center;
        height: 18px;
        display: grid
    }

    .sheet__grip i {
        background: var(--line-2);
        border-radius: 5px;
        width: 40px;
        height: 5px
    }

    .drawer__head,.modal__head {
        padding-top: 6px
    }

    .drawer__body {
        padding: 16px 18px 28px
    }

    .modal__body {
        padding: 12px 18px 18px
    }

    .modal__foot,.drawer__foot {
        padding-bottom: calc(14px + env(safe-area-inset-bottom))
    }

    .modal__foot>.btn,.drawer__foot>.btn {
        flex: 1
    }

    .finder {
        top: 10px
    }

    .toasts {
        bottom: calc(96px + env(safe-area-inset-bottom))
    }
}

@media (height<=940px) and (width>=761px) {
    .snav__item {
        height: 38px
    }

    .snav__group {
        margin-top: 10px
    }

    .side__head {
        padding-bottom: 8px
    }
}

@media (height<=640px) and (width>=761px) {
    .side__foot .goal {
        display: none
    }
}

@media (hover: none),(pointer:coarse) {
    .btn--sm,.chip {
        min-height:40px
    }

    .ibtn--sm {
        width: 40px;
        height: 40px
    }
}

@media (prefers-reduced-motion:reduce) {
    .live i,.steps li.is-now .steps__dot:before {
        animation: none
    }
}

.glass,.card,.kpi,.side,.top__bar,.tabbar,.pop,.drawer,.modal,.finder,.signin__card {
    background-color: var(--glass);
    box-shadow: inset 0 1px 0 #ffffffe6, inset 0 0 22px #ffffff47, inset 0 -18px 30px -24px #ffffffb3, var(--lift);
    background-image: radial-gradient(130% 70% at 0% 0%, var(--catch), transparent 58%), linear-gradient(180deg, var(--sheen), transparent 38%), linear-gradient(0deg, var(--pool), transparent 22%)!important
}

[data-theme=dark] :is(.glass,.card,.kpi,.side,.top__bar) {
    box-shadow: inset 0 1px 0 #ffffff24, inset 0 0 22px #ffffff0a, inset 0 -18px 30px -24px #ffffff17, var(--lift)
}

.pop,.drawer,.modal,.finder,.signin__card {
    background-color: var(--glass-solid);
    box-shadow: var(--shadow-lg)
}

.tabbar {
    background-color: var(--glass-3)
}

.signin__card {
    -webkit-backdrop-filter: var(--blur-lg);
    backdrop-filter: var(--blur-lg)
}

.glass:before,.card:before,.kpi:before,.side:before,.top__bar:before,.tabbar:before,.pop:before,.drawer:before,.modal:before,.finder:before,.signin__card:before {
    content: "";
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    -webkit-mask-composite: xor;
    padding: 1.5px;
    position: absolute;
    inset: 0;
    -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite: xor,source-over;
    mask: linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
    background: linear-gradient(145deg, var(--rim-a), var(--rim-b) 32%, transparent 52%, var(--rim-b) 78%, var(--rim-a))!important
}

.top__bar,.tabbar {
    position: relative
}

.top__bar>*,.side>*,.tabbar>* {
    z-index: 1;
    position: relative
}

.tabbar__pill,.snav__pill {
    position: absolute!important
}

.side,.tabbar,.pop,.drawer,.finder {
    position: fixed
}

.btn,.ibtn:not(.ibtn--flat),.chip,.seg,.tabs,.searchpill,.input,.select,.textarea,.stepper,.live,.kbd,.goal,.side .collapse {
    background-color: var(--glass-2);
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-2), 0 0 0 1px var(--line), 0 2px 6px -3px #461e2a24
}

.btn:hover,.ibtn:not(.ibtn--flat):hover,.chip:hover,.searchpill:hover {
    background-color: var(--glass-3)
}

.input,.select,.textarea {
    background-color: #ffffff80
}

[data-theme=dark] .input,[data-theme=dark] .select,[data-theme=dark] .textarea {
    background-color: #ffffff0f
}

.input:focus,.select:focus,.textarea:focus {
    box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft)
}

.btn--primary,.chip:not(.chip--ch)[aria-pressed=true] {
    background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 78%, #fff), var(--accent) 60%)!important;
    box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #0000001a, 0 8px 20px -8px var(--accent)!important
}

.btn--ghost,.ibtn--flat {
    box-shadow: none;
    background: 0 0
}

.btn--ghost:hover {
    background: var(--glass-2)
}

.seg__thumb,.tabs__line,.snav__pill {
    filter: none!important;
    background: #ffffffc7!important;
    box-shadow: inset 0 1px #fff,0 0 0 1px #ffffff80,0 6px 16px -8px #461e2a59!important
}

[data-theme=dark] .seg__thumb,[data-theme=dark] .tabs__line,[data-theme=dark] .snav__pill {
    background: #ffffff29!important;
    box-shadow: inset 0 1px #ffffff40,0 0 0 1px #ffffff0f,0 6px 16px -8px #0009!important
}

.seg--accent .seg__thumb {
    background: var(--accent)!important
}

.card--well,.totals,.pd__row>div,.camp__stats>div,.builder__notes>div,.draft__note,.faq__item,.tile,.dcard,.theme-opt,.allpages__btn {
    background-color: var(--glass-2);
    box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-2), 0 0 0 1px var(--line)
}

.tile:hover,.dcard:hover {
    background-color: var(--glass-3)
}

.table th {
    border-bottom-color: var(--line)
}

.table tbody tr.is-click:hover td {
    background: #ffffff47
}

[data-theme=dark] .table tbody tr.is-click:hover td {
    background: #ffffff0d
}

.scrim {
    -webkit-backdrop-filter: blur(10px)saturate(140%);
    backdrop-filter: blur(10px)saturate(140%);
    background: #280e1829
}

[data-theme=dark] .scrim {
    background: #0006
}

.toast {
    -webkit-backdrop-filter: var(--blur-lg);
    backdrop-filter: var(--blur-lg)
}

.modal,.signin__card {
    position: relative
}

/* IGIL-WMS: company logo as the brand mark */
.mark { background: none !important; box-shadow: none !important; width: auto; height: 40px; aspect-ratio: 3 / 2; border-radius: 0; }
.mark svg { width: 100%; height: 100%; stroke: none; }
.mark--lg { height: 64px; width: auto; margin-bottom: 18px; border-radius: 0; }
.mark--lg svg { width: 100%; height: 100%; }
.till { grid-template-columns: minmax(0, 1fr) !important; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips--scroll .chip { flex: none; }
