/* ==========================================================================
   Mise Design System
   Version: 1.0
   Everything in its place.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT IMPORT
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Bricolage Grotesque Bold, self-hosted (OFL, BricolageGrotesque-OFL.txt):
   the logo's face, for titles only. Optical size stays variable (12-96). */
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/static/fonts/BricolageGrotesque-Bold.woff2') format('woff2');
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --mise-navy: #1B2A4E;
    --mise-red: #B5402F;
    --mise-red-dark: #922F21;
    --mise-green: #2D8A4E;
    --mise-green-dark: #236B3C;
    --mise-cream: #F9F6F1;
    --mise-cream-payroll: #F0FAF0;
    --mise-cream-inventory: #FEF2F2;
    --mise-blue: #2E5F94;
    --mise-blue-dark: #234870;
    --mise-blue-light: #C9DCF2;
    --mise-cream-ordering: #F0F5FC;

    /* Shadows */
    --mise-shadow-sm: 0 1px 2px rgba(27, 42, 78, 0.06);
    --mise-shadow: 0 2px 8px rgba(27, 42, 78, 0.08);
    --mise-shadow-md: 0 4px 16px rgba(27, 42, 78, 0.10);
    --mise-shadow-lg: 0 8px 32px rgba(27, 42, 78, 0.12);
    --mise-shadow-hover: 0 8px 24px rgba(27, 42, 78, 0.14);

    /* Radii */
    --mise-radius: 12px;
    --mise-radius-sm: 8px;
    --mise-radius-lg: 16px;
    --mise-radius-full: 9999px;

    /* Transitions */
    --mise-transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --mise-transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Type: Bricolage for titles, Inter for everything else */
    --mise-font-title: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Tactile depth: lit from the top left, 2 to 4 px, never more.
       Raised: warm paper on paper, a light top edge, a hairline, a 3 px
       bottom edge one shade darker than the surface and a soft warm
       shadow. Pressed: down 2 px, the edge down to 1 px. */
    --mise-edge: #E6DCCB;
    --mise-paper-card: linear-gradient(165deg, #FFFFFF 0%, #FCF8F2 100%);
    --mise-raised: inset 0 1px 0 #fff,
        0 0 0 1px rgba(122, 84, 44, 0.06), 0 3px 0 -0.5px var(--mise-edge),
        0 1px 1px rgba(60, 40, 20, 0.06), 0 14px 22px -14px rgba(60, 40, 20, 0.30);
    --mise-raised-pressed: inset 0 1px 0 #fff, 0 0 0 1px rgba(122, 84, 44, 0.06),
        0 1px 0 var(--mise-edge), 0 4px 10px -8px rgba(60, 40, 20, 0.25);
    --mise-press: 2px;
    /* Paper you can feel: a faint warm grain under a soft top-left light */
    --mise-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .33  0 0 0 0 .18  0 0 0 .11 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    --mise-grain-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    --mise-paper: radial-gradient(140% 90% at 18% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
        var(--mise-grain), linear-gradient(180deg, #FAF6EF, #F3ECE1);
    /* Brick, the one main action and Mise acting: glazed, lit top left */
    --mise-brick-fade: radial-gradient(130% 160% at 28% 0%, #E36A57 0%, #C64634 52%, #A9382A 100%);
    --mise-brick-coin: radial-gradient(circle at 34% 26%, #E57060, #C64634 55%, #A3392A);
    --mise-brick-edge: #8E2C22;
    --mise-glaze: inset 0 1px 0 rgba(255, 225, 215, 0.55), inset 0 -2px 3px rgba(80, 20, 12, 0.28);
    /* Navy panels, lit like the badge */
    --mise-navy-fade: radial-gradient(130% 120% at 22% 0%, #43619F 0%, #26396D 45%, #1B2A4E 80%);
    --mise-navy-edge: #121D3A;
    /* The Ask well, pressed into the paper */
    --mise-well: linear-gradient(180deg, #ECE4D7, #F5EFE6);
    /* A sunk field: shaded from above only, never a light line at its edge */
    --mise-well-shadow: inset 0 2px 5px rgba(60, 40, 20, 0.18);
}

/* The bottom edge of a filled thing you press, one shade under its color */
.bg-mise-red, .bg-mise-red-dark { --mise-fill-edge: var(--mise-brick-edge); --mise-coin: var(--mise-brick-coin); }
.bg-mise-navy { --mise-fill-edge: var(--mise-navy-edge); --mise-coin: radial-gradient(circle at 32% 26%, #43619F, #26396D 62%, #1B2A4E); }
.bg-mise-green { --mise-fill-edge: #1E6338; --mise-coin: radial-gradient(circle at 32% 26%, #4DB574, #2D8A4E 62%, #246F3E); }
.bg-mise-green-dark { --mise-fill-edge: #174D2B; --mise-coin: radial-gradient(circle at 32% 26%, #3E9A60, #236B3C 62%, #1C5631); }
.bg-mise-blue { --mise-fill-edge: #1F4570; --mise-coin: radial-gradient(circle at 32% 26%, #5287C0, #2E5F94 62%, #244C78); }

/* --------------------------------------------------------------------------
   3. GLOBAL STYLES
   -------------------------------------------------------------------------- */
/* Paper you can feel, behind every page that sits on cream */
body.bg-mise-cream {
    background-image: var(--mise-paper);
    background-attachment: fixed;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page, section and card titles */
h1, h2, h3, .mise-greeting, .mise-dash-h2 {
    font-family: var(--mise-font-title);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   4. SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--mise-navy);
    border-radius: 2px;
    opacity: 0.3;
}

/* Payroll-themed scrollbar */
.scrollbar-payroll::-webkit-scrollbar-track { background: #E0F0E0; }
.scrollbar-payroll::-webkit-scrollbar-thumb { background: var(--mise-green); }

/* Inventory-themed scrollbar */
.scrollbar-inventory::-webkit-scrollbar-track { background: #FECACA; }
.scrollbar-inventory::-webkit-scrollbar-thumb { background: var(--mise-red); }

/* Ordering-themed scrollbar */
.scrollbar-ordering::-webkit-scrollbar-track { background: var(--mise-blue-light); }
.scrollbar-ordering::-webkit-scrollbar-thumb { background: var(--mise-blue); }

/* --------------------------------------------------------------------------
   5. APP CHROME CONTRACT - Header, Main, the Mise Badge
   One geometry for every page. The header is a fixed 52px band, content
   scrolls in <main> (never the body), so the browser chrome stays put on
   every page and the frame never resizes mid-navigation (founder
   2026-08-17). The way around is the Mise Badge, bottom right, with the
   "where you are" pill beside it (templates/_global_nav.html,
   static/js/mise-nav.js; the records store's
   docs/design/102626__mise-nav-locked-spec.md). The content keeps the
   dock's height clear at its foot.
   -------------------------------------------------------------------------- */
:root {
    --mise-header-h: 52px;
    /* the badge (69px) and its 18px from the screen's edge */
    --mise-dock-h: 87px;
}

html.mise-app, html.mise-app body {
    height: 100%;
    overflow: hidden;
}

.mise-header {
    /* The frame's geometry lives HERE, never in purgeable utilities: the
       compiled payroll-work.css build once dropped .inset-x-0 and the fixed
       header shrank to content at the left edge, dragging the logo with it
       (founder-reported 2026-08-20). */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    height: var(--mise-header-h);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    box-shadow: 0 1px 0 rgba(122, 84, 44, 0.10), 0 6px 14px -10px rgba(60, 40, 20, 0.25);
}
.mise-header > .mise-container {
    width: 100%;
}
/* Open-state tint for a disclosure's summary pill. Semantic home here because
   the compiled payroll-work.css build purged .group-open\:bg-mise-navy\/8
   (found by the chrome census, 2026-08-20). */
details.group[open] > summary {
    background-color: rgba(27, 42, 78, 0.08);
}

.mise-app-main {
    position: fixed;
    top: var(--mise-header-h);
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding-bottom: calc(var(--mise-dock-h) + env(safe-area-inset-bottom) + 2rem);
}

/* The dock: the pill and the badge, 18px in from the bottom and right */
.mise-nav { color: #1B2A4E; -webkit-tap-highlight-color: transparent; }
.mise-nav-dock {
    position: fixed; z-index: 46;
    left: max(18px, env(safe-area-inset-left, 0px));
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; justify-content: flex-end; gap: 10px;
    pointer-events: none;
}
.mise-nav-dock > * { pointer-events: auto; }
.mise-nav-where {
    min-width: 0; max-width: 100%; height: 44px; border-radius: 999px;
    background: rgba(255, 252, 247, 0.78);
    backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
    border: 1px solid rgba(27, 42, 78, 0.09);
    box-shadow: 0 8px 22px rgba(27, 42, 78, 0.12);
    display: flex; align-items: center; gap: 2px; padding: 0 5px;
    overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    font-size: 13px; transition: opacity .2s, transform .25s;
}
.mise-nav-where::-webkit-scrollbar { display: none; }
.mise-nav-seg {
    flex: none; height: 34px; padding: 0 10px; border-radius: 999px;
    display: flex; align-items: center; white-space: nowrap;
    font-weight: 600; color: rgba(27, 42, 78, 0.66); text-decoration: none;
}
.mise-nav-seg.on { background: #fff; color: #1B2A4E; font-weight: 700; box-shadow: 0 1px 3px rgba(27, 42, 78, 0.14); }
.mise-nav.open .mise-nav-where { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* The badge: the cream audiowave disc, its centre open to the page */
.mise-nav-btn {
    flex: none; position: relative; z-index: 7; width: 69px; height: 69px; border-radius: 50%;
    border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
    transition: transform .25s cubic-bezier(.2, .9, .25, 1.4); -webkit-tap-highlight-color: transparent;
}
.mise-nav-btn:active { transform: scale(.93); }
.mise-nav-btn:focus-visible { outline: 3px solid #2E5F94; outline-offset: 3px; }
.mise-nav-disc {
    position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; gap: 3.3px; pointer-events: none;
    background: radial-gradient(circle at 32% 26%, #F8F0E2 0%, #EEDDC0 44%, #DDC096 80%, #CFAE7E 100%);
    box-shadow: 0 10px 22px rgba(36, 48, 80, .28), 0 2px 4px rgba(36, 48, 80, .16),
        inset 0 8px 10px -6px rgba(255, 255, 255, .7), inset 0 -5px 10px rgba(122, 84, 44, .20);
    transition: transform .18s ease-out;
}
.mise-nav-disc.pop { transform: scale(1.06); }
.mise-nav-disc i {
    display: block; width: 4.9px; border-radius: 9999px; transform-origin: 50% 50%;
    background: linear-gradient(180deg, #E06552, #C24434);
    box-shadow: 1px 1.3px 0 #992F26, inset 0 1px 0 rgba(255, 236, 226, .32);
}
.mise-nav-disc i:nth-child(1) { height: 8px; animation-delay: -.2s; }
.mise-nav-disc i:nth-child(2) { height: 20px; animation-delay: -.6s; }
.mise-nav-disc i:nth-child(3) { height: 33.5px; animation-delay: -1s; }
.mise-nav-disc i:nth-child(4) { height: 20px; animation-delay: -1.3s; }
.mise-nav-disc i:nth-child(5) { height: 8px; animation-delay: -.4s; }
.mise-nav.open .mise-nav-disc i { animation: mise-nav-flow 2.6s ease-in-out infinite; }
.mise-nav-disc.hello i { animation: mise-nav-flow 2.6s ease-in-out 1; }
@keyframes mise-nav-flow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.78); } }
/* the warm glow that breathes while the landing page is open, its centre open */
.mise-nav-halo {
    position: absolute; z-index: 0; width: 101px; height: 101px; left: 50%; top: 50%; margin: -50.5px 0 0 -50.5px;
    border-radius: 50%; pointer-events: none; opacity: 0;
    background: radial-gradient(circle, rgba(250, 196, 130, 0) 0%, rgba(250, 196, 130, 0) 60%, rgba(250, 196, 130, 1) 68%,
        rgba(243, 150, 88, 1) 77%, rgba(230, 116, 66, .9) 87%, rgba(205, 88, 52, .5) 95%, rgba(181, 64, 47, 0) 100%);
    filter: blur(1px); transition: opacity .3s;
}
.mise-nav.open .mise-nav-halo { animation: mise-nav-smolder 2.8s ease-in-out -1.4s infinite; }
.mise-nav.open .mise-nav-halo.rise { animation: none; }
.mise-nav.open .mise-nav-halo.tick { filter: brightness(1.4) blur(1px); }
@keyframes mise-nav-smolder { 0%, 100% { opacity: .9; transform: scale(.66); } 50% { opacity: 1; transform: scale(1); } }

/* The Mise Badge landing page, over the whole screen */
.mise-nav-land { position: fixed; inset: 0; z-index: 45; visibility: hidden; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.mise-nav.open .mise-nav-land, .mise-nav.closing .mise-nav-land { visibility: visible; }
.mise-nav-scrim { position: absolute; inset: 0; opacity: 0; background: #F3E9DA url(/static/brand/icedye.jpg) center / cover no-repeat; }
.mise-nav-latte { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
/* the ring, raised off the ice-dye by shading alone: a cast shadow, soft light above, soft shade below */
.mise-nav-rim {
    position: absolute; border-radius: 50%; pointer-events: none; opacity: 0;
    box-shadow: 0 26px 48px rgba(70, 45, 15, .34), 0 10px 18px rgba(70, 45, 15, .18), 0 3px 6px rgba(70, 45, 15, .14),
        inset 0 10px 14px -8px rgba(255, 255, 255, .75), inset 0 -10px 14px -8px rgba(120, 90, 50, .32);
}
/* the hub is open: the ice-dye shows between the ring and the badge */
.mise-nav-rim::after { content: ''; position: absolute; inset: 84px; border-radius: 50%; box-shadow: inset 0 16px 26px -8px rgba(70, 45, 15, .38), inset 0 4px 8px -2px rgba(70, 45, 15, .16); }
.mise-nav-coins { list-style: none; margin: 0; padding: 0; }
.mise-nav-slot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: 0; will-change: transform, opacity; }
.mise-nav-slot a {
    position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    text-decoration: none; color: #1B2A4E; outline: none;
    background: radial-gradient(circle at 32% 28%, #FFFDF9 0%, #F7F0E4 58%, #EADFCB 100%);
    box-shadow: 0 1px 2px rgba(27, 42, 78, .08), 0 7px 16px rgba(27, 42, 78, .14);
    transition: background .25s, box-shadow .25s;
}
.mise-nav-slot a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the coin under the thumb, cast in the latte's gold */
.mise-nav-slot.focus a {
    color: #B5402F;
    background: radial-gradient(circle at 30% 26%, #FFF8EC 0%, #F0E0C6 48%, #DEC29C 82%, #CFAF86 100%);
    box-shadow: 0 1px 2px rgba(27, 42, 78, .10), 0 7px 16px rgba(27, 42, 78, .16), 0 0 22px 4px rgba(222, 194, 156, .85);
}
.mise-nav-slot a:focus-visible { outline: 3px solid #2E5F94; outline-offset: 3px; }
.mise-nav-land.rest .mise-nav-slot a { animation: mise-nav-bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.45s); }
@keyframes mise-nav-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
.mise-nav-land.arrange .mise-nav-slot:not(.held) a { animation: mise-nav-wiggle .32s ease-in-out infinite alternate; }
.mise-nav-land.arrange .mise-nav-slot:nth-child(2n) a { animation-delay: -.16s; }
.mise-nav-slot.held a { box-shadow: 0 2px 4px rgba(27, 42, 78, .12), 0 18px 34px rgba(27, 42, 78, .3); }
@keyframes mise-nav-wiggle { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.mise-nav-hint {
    position: absolute; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 3;
    background: rgba(27, 42, 78, .92); color: #F9F6F1; padding: 7px 12px; border-radius: 10px;
    font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.mise-nav-land.arrange .mise-nav-hint { opacity: 1; }
.mise-nav-lbl {
    position: absolute; left: 50%; top: 50%; font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.1; color: #1B2A4E;
    text-shadow: 0 0 6px rgba(249, 246, 241, .95), 0 0 2px rgba(249, 246, 241, .95);
}
.mise-nav-slot.focus .mise-nav-lbl { color: #B5402F; text-shadow: 0 0 10px rgba(224, 112, 91, .75), 0 0 6px rgba(249, 246, 241, .95); }
.mise-nav-caption { position: absolute; right: max(22px, env(safe-area-inset-right, 0px)); text-align: right; opacity: 0; max-width: 70%; }
.mise-nav-cap-eye { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #B5402F; }
.mise-nav-cap-name {
    font-family: var(--mise-font-title); font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
    margin-top: 3px; color: #1B2A4E; text-shadow: 0 0 14px rgba(249, 246, 241, .95);
}
.mise-nav-toast {
    position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 48;
    background: #1B2A4E; color: #F9F6F1; padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 600;
    white-space: nowrap; box-shadow: 0 12px 28px rgba(27, 42, 78, .2);
}

/* The Ask Mise chat box: a real chat; a tap grows it to 95% of the screen */
.mise-nav-chat {
    position: absolute; z-index: 2; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
    left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
    top: calc(14px + env(safe-area-inset-top, 0px)); bottom: 50%;
    border-radius: 22px; background: rgba(255, 253, 250, .92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 2px 4px rgba(60, 40, 20, .06), 0 16px 40px rgba(60, 40, 20, .14);
    opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
    transition: opacity .22s, transform .3s cubic-bezier(.2, .9, .25, 1);
}
.mise-nav.open .mise-nav-chat {
    opacity: 1; transform: none; pointer-events: auto;
    transition: opacity .22s, transform .3s cubic-bezier(.2, .9, .25, 1), top .32s cubic-bezier(.2, .9, .25, 1),
        bottom .32s cubic-bezier(.2, .9, .25, 1), left .32s cubic-bezier(.2, .9, .25, 1), right .32s cubic-bezier(.2, .9, .25, 1);
}
.mise-nav-chat.big { top: 2.5% !important; bottom: 2.5% !important; left: 2.5%; right: 2.5%; }
.mise-nav.chat-big .mise-nav-dock { opacity: 0; pointer-events: none; transition: opacity .2s; }
.mise-nav.chat-big .mise-nav-dock > * { pointer-events: none; }
.mise-nav-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; border-bottom: 1px solid rgba(27, 42, 78, .08); cursor: pointer; }
.mise-nav-chat-head b { font-family: var(--mise-font-title); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: #1B2A4E; display: block; line-height: 1.1; }
.mise-nav-chat-head small { font-size: 11.5px; font-weight: 600; color: rgba(27, 42, 78, .6); }
.mise-nav-avatar {
    width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 1.6px; flex: none;
    background: radial-gradient(circle at 35% 30%, #FFFDF9, #F0E6D6 70%, #E3D5BF);
    box-shadow: inset 0 3px 4px -2px rgba(255, 255, 255, .9), 0 1px 2px rgba(27, 42, 78, .12);
}
.mise-nav-avatar i { display: block; width: 2.2px; border-radius: 99px; background: linear-gradient(#E06552, #C24434); }
.mise-nav-avatar i:nth-child(1), .mise-nav-avatar i:nth-child(5) { height: 4px; }
.mise-nav-avatar i:nth-child(2), .mise-nav-avatar i:nth-child(4) { height: 9px; }
.mise-nav-avatar i:nth-child(3) { height: 14px; }
.mise-nav-size { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(27, 42, 78, .06); color: #1B2A4E; display: grid; place-items: center; cursor: pointer; padding: 0; }
.mise-nav-size svg { width: 14px; height: 14px; }
.mise-nav-shrink, .mise-nav-chat.big .mise-nav-grow { display: none; }
.mise-nav-chat.big .mise-nav-shrink { display: block; }
.mise-nav-msgs { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 12px 6px; display: flex; flex-direction: column; gap: 8px; }
.mise-nav-chat:not(.big) .mise-nav-msgs { cursor: pointer; }
.mise-nav-msg { max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
.mise-nav-msg.mise { align-self: flex-start; background: #F3EDE3; color: #1B2A4E; border-bottom-left-radius: 6px; }
.mise-nav-msg.you { align-self: flex-end; background: #1E7CF2; color: #fff; border-bottom-right-radius: 6px; }
.mise-nav-msg.typing { opacity: .6; }
.mise-nav-ask { padding: 8px 10px 10px; }
.mise-nav-well {
    position: relative; width: 100%; height: 46px; border-radius: 9999px; display: flex; align-items: center; padding: 0 52px 0 16px;
    background: #F5EFE6 var(--mise-well); box-shadow: var(--mise-well-shadow);
}
.mise-nav-in { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; color: #1B2A4E; outline: none; }
.mise-nav-in::placeholder { color: #8A8F9C; }
/* The recording button: Mise's one button that starts a recording, on every
   page (templates/_rec_button.html). It stays pressed while it records,
   with Mise's five bars moving inside, until it is tapped again (the
   records store's fleetworks/og6/round-buttons/102526__mise-recording-button.html).
   Its size is --mise-rec-size; in Ask Mise's well it sits at the right. */
.mise-rec {
    --mise-rec-size: 32px;
    position: relative; flex-shrink: 0; width: var(--mise-rec-size); height: var(--mise-rec-size); border: 0; padding: 0;
    border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: #fff; -webkit-tap-highlight-color: transparent;
    background-color: #B5402F;
    background-image: radial-gradient(55% 45% at 33% 24%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 72%), radial-gradient(circle at 34% 28%, #E0705B 0%, #B5402F 55%, #7A2316 100%);
    box-shadow: 0 1px 1.5px rgba(80, 20, 12, .22), 0 4px 8px -2px rgba(142, 44, 34, .35), 0 10px 16px -8px rgba(142, 44, 34, .35);
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.mise-rec.mise-rec-44 { --mise-rec-size: 44px; }
.mise-nav-well .mise-rec { position: absolute; right: 7px; top: 7px; }
.mise-rec:active, .mise-rec[aria-pressed="true"] {
    transform: translateY(1px);
    background-image: radial-gradient(55% 45% at 33% 24%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 72%), radial-gradient(circle at 34% 28%, #DD6B5D 0%, #C04434 55%, #A93A2C 100%);
    box-shadow: inset 0 2px 4px rgba(80, 20, 12, .28), 0 .5px 1px rgba(80, 20, 12, .28), 0 1px 3px -1px rgba(142, 44, 34, .35);
}
.mise-rec:focus-visible { outline: 3px solid rgba(27, 42, 78, .25); outline-offset: 3px; }
.mise-rec-mic, .mise-rec-bars { grid-area: 1 / 1; transition: opacity 160ms ease, transform 160ms ease; }
.mise-rec-mic { width: calc(var(--mise-rec-size) / 2); height: calc(var(--mise-rec-size) / 2); display: block; }
.mise-rec-bars { display: flex; align-items: center; justify-content: center; gap: calc(var(--mise-rec-size) / 21);
    height: calc(var(--mise-rec-size) / 2); opacity: 0; transform: scale(.6); }
.mise-rec-bars i { display: block; width: calc(var(--mise-rec-size) / 16); background: #fff; border-radius: 99px; height: 30%; }
.mise-rec[aria-pressed="true"] .mise-rec-mic { opacity: 0; transform: scale(.6); }
.mise-rec[aria-pressed="true"] .mise-rec-bars { opacity: 1; transform: none; }
.mise-rec[aria-pressed="true"] .mise-rec-bars i { animation: mise-rec-talk 1.1s ease-in-out infinite; }
.mise-rec-bars i:nth-child(1) { animation-delay: -.15s; --top: 42%; }
.mise-rec-bars i:nth-child(2) { animation-delay: -.55s; --top: 78%; }
.mise-rec-bars i:nth-child(3) { animation-delay: -.05s; --top: 100%; }
.mise-rec-bars i:nth-child(4) { animation-delay: -.75s; --top: 72%; }
.mise-rec-bars i:nth-child(5) { animation-delay: -.35s; --top: 40%; }
@keyframes mise-rec-talk { 0%, 100% { height: 28%; } 50% { height: var(--top); } }
.mise-rec-halo { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; }
.mise-rec[aria-pressed="true"] .mise-rec-halo { animation: mise-rec-breathe 1.8s ease-out infinite; }
@keyframes mise-rec-breathe { 0% { opacity: .5; box-shadow: 0 0 4px 0 rgba(201, 73, 58, .4); } 100% { opacity: 0; box-shadow: 0 0 12px 5px rgba(201, 73, 58, 0); } }
@media (prefers-reduced-motion: reduce) {
    .mise-rec[aria-pressed="true"] .mise-rec-bars i { animation: none; height: var(--top); }
    .mise-rec[aria-pressed="true"] .mise-rec-halo { animation: none; opacity: .35; box-shadow: 0 0 6px 2px rgba(201, 73, 58, .25); }
}
@media (prefers-reduced-motion: reduce) {
    .mise-nav-btn, .mise-nav-where, .mise-nav-slot a, .mise-nav-disc { transition: none; }
    .mise-nav.open .mise-nav-halo, .mise-nav-land.rest .mise-nav-slot a, .mise-nav-disc i { animation: none !important; }
}
/* While the keyboard is up in Ask Mise's own page, the dock steps aside */
body.mise-kb-lock .mise-nav-dock { display: none !important; }
@media print { .mise-nav { display: none !important; } }

/* The Ask well, pressed into the paper, and its glazed brick mic */
#mise-input {
    background-color: #F5EFE6;
    background-image: var(--mise-well);
    border-color: transparent;
    box-shadow: var(--mise-well-shadow);
}
#mise-input:focus {
    box-shadow: var(--mise-well-shadow), 0 0 0 2px rgba(181, 64, 47, 0.22);
}
#inline-mic-btn {
    background-color: var(--mise-red);
    background-image: var(--mise-brick-coin);
    box-shadow: inset 0 2px 1px rgba(255, 225, 215, 0.5),
        inset 0 -3px 4px rgba(80, 20, 12, 0.3), 0 2px 0 var(--mise-brick-edge),
        0 6px 10px -6px rgba(142, 44, 34, 0.55);
}
#inline-mic-btn svg { color: #fff; }
#inline-mic-btn.bg-red-500 { animation: pulse-red 1.5s infinite; }

/* --------------------------------------------------------------------------
   6. RAISED SURFACES (cards, boxes, tiles) AND THINGS YOU PRESS
   The Mise card and Tailwind's white card (bg-white with a shadow) are
   the same raised surface; a card that is a link or a button presses.
   Text, numbers, tables and charts inside stay flat.
   -------------------------------------------------------------------------- */
.mise-card,
.mise-card-interactive,
.bg-white.shadow-sm:not(input):not(select):not(textarea),
.bg-white.shadow:not(input):not(select):not(textarea),
.bg-white.shadow-md:not(input):not(select):not(textarea) {
    background-image: var(--mise-paper-card);
    box-shadow: var(--mise-raised);
}

.mise-card,
.mise-card-interactive {
    background: white var(--mise-paper-card);
    border-radius: var(--mise-radius);
    /* The card's edge is its shading (--mise-raised); a tinted border over
       its white reads at 3x as a pale ring round every card. */
    border: 1px solid transparent;
    background-origin: border-box;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.mise-card-interactive,
a.mise-card,
a.bg-white.shadow-sm,
button.bg-white.shadow-sm {
    cursor: pointer;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.mise-card-interactive:active,
a.mise-card:active,
a.bg-white.shadow-sm:active,
button.bg-white.shadow-sm:not(:disabled):active {
    transform: translateY(var(--mise-press));
    box-shadow: var(--mise-raised-pressed);
}

/* Navy panels (the hero box on a page) */
div.bg-mise-navy.rounded-xl,
div.bg-mise-navy.rounded-2xl,
div.bg-mise-navy.rounded-3xl {
    background-image: var(--mise-grain-light), var(--mise-navy-fade);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 6px rgba(0, 0, 0, 0.25),
        0 4px 0 var(--mise-navy-edge), 0 16px 26px -14px rgba(18, 29, 58, 0.55);
}

/* Filled buttons press: a 3 px edge under brick (the main action), 2 px
   under the section colors; on press down 2 px, the edge to 1 px. */
a.bg-mise-red, button.bg-mise-red,
a.bg-mise-navy, button.bg-mise-navy,
a.bg-mise-green, button.bg-mise-green,
a.bg-mise-green-dark, button.bg-mise-green-dark,
a.bg-mise-blue, button.bg-mise-blue {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 0 var(--mise-fill-edge),
        0 6px 12px -8px rgba(27, 42, 78, 0.4);
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
a.bg-mise-red, button.bg-mise-red {
    background-color: var(--mise-red);
    background-image: var(--mise-brick-fade);
    text-shadow: 0 1px 0 rgba(90, 20, 12, 0.35);
    box-shadow: var(--mise-glaze), 0 3px 0 var(--mise-brick-edge),
        0 10px 16px -8px rgba(142, 44, 34, 0.55);
}
a.bg-mise-navy, button.bg-mise-navy {
    background-image: var(--mise-navy-fade);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 3px rgba(0, 0, 0, 0.25),
        0 3px 0 var(--mise-navy-edge), 0 10px 16px -8px rgba(18, 29, 58, 0.5);
}
a.bg-mise-red:active, button.bg-mise-red:not(:disabled):active,
a.bg-mise-navy:active, button.bg-mise-navy:not(:disabled):active,
a.bg-mise-green:active, button.bg-mise-green:not(:disabled):active,
a.bg-mise-green-dark:active, button.bg-mise-green-dark:not(:disabled):active,
a.bg-mise-blue:active, button.bg-mise-blue:not(:disabled):active {
    transform: translateY(var(--mise-press));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 0 var(--mise-fill-edge);
}

/* The record mic: a big raised coin in its section color */
#record-btn {
    background-image: var(--mise-coin, linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)));
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.35),
        inset 0 -4px 6px rgba(0, 0, 0, 0.25), 0 4px 0 var(--mise-fill-edge, var(--mise-brick-edge)),
        0 14px 28px -14px rgba(27, 42, 78, 0.5);
}
#record-btn:not(:disabled):active {
    transform: translateY(var(--mise-press));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 0 var(--mise-fill-edge, var(--mise-brick-edge)),
        0 8px 16px -12px rgba(27, 42, 78, 0.5);
}

/* Section markers: number circles are small lit coins */
span.rounded-full.text-white.bg-mise-red,
span.rounded-full.text-white.bg-mise-navy,
span.rounded-full.text-white.bg-mise-green,
span.rounded-full.text-white.bg-mise-green-dark,
span.rounded-full.text-white.bg-mise-blue {
    background-image: var(--mise-coin);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.35),
        inset 0 -3px 4px rgba(0, 0, 0, 0.22), 0 2px 0 var(--mise-fill-edge),
        0 5px 8px -4px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   7. ACCENT LEFT BORDERS
   -------------------------------------------------------------------------- */
.mise-accent-left-navy {
    border-left: 3px solid var(--mise-navy);
}

.mise-accent-left-red {
    border-left: 3px solid var(--mise-red);
}

.mise-accent-left-green {
    border-left: 3px solid var(--mise-green);
}

.mise-accent-left-blue {
    border-left: 3px solid var(--mise-blue);
}

/* --------------------------------------------------------------------------
   8. BUTTON
   -------------------------------------------------------------------------- */
.mise-btn-primary {
    transition: box-shadow 120ms ease, transform 120ms ease;
}

/* --------------------------------------------------------------------------
   9. BADGES
   -------------------------------------------------------------------------- */
.mise-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--mise-radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mise-badge-green {
    background: rgba(45, 138, 78, 0.1);
    color: var(--mise-green);
}

.mise-badge-yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #92400e;
}

.mise-badge-gray {
    background: rgba(27, 42, 78, 0.08);
    color: rgba(27, 42, 78, 0.5);
}

/* --------------------------------------------------------------------------
   10. ANIMATIONS
   -------------------------------------------------------------------------- */

/* Page entrance: fade up.
   END STATE MUST BE `transform: none`, NOT translateY(0): the fill-mode
   (`both`/`forwards`) retains the final keyframe forever, and ANY non-none
   transform makes the element a CONTAINING BLOCK for position:fixed
   descendants — which trapped the catalog page's Voice/+Add modals ~13-27k px
   off-screen on real phones (CCPO full-touch rehearsal P1, 2026-06-11; also
   the true root of the CRUD-proof tap-interception finding). translateY(0)
   and none are visually identical at rest; only `none` releases fixed
   descendants. */
@keyframes mise-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.mise-animate-in {
    animation: mise-fade-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Breathing animation for idle record button */
@keyframes mise-breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 24px rgba(27, 42, 78, 0.15);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 32px rgba(27, 42, 78, 0.2);
    }
}

.mise-breathe {
    animation: mise-breathe 3s ease-in-out infinite;
}

/* Staggered list entrance */
.mise-stagger > * {
    opacity: 0;
    animation: mise-fade-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.mise-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.mise-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.mise-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.mise-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.mise-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.mise-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.mise-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.mise-stagger > *:nth-child(8) { animation-delay: 0.4s; }
.mise-stagger > *:nth-child(9) { animation-delay: 0.45s; }
.mise-stagger > *:nth-child(10) { animation-delay: 0.5s; }
.mise-stagger > *:nth-child(11) { animation-delay: 0.55s; }
.mise-stagger > *:nth-child(12) { animation-delay: 0.6s; }
.mise-stagger > *:nth-child(13) { animation-delay: 0.65s; }
.mise-stagger > *:nth-child(14) { animation-delay: 0.7s; }

/* --------------------------------------------------------------------------
   11. RECORDING PULSE
   -------------------------------------------------------------------------- */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 138, 78, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(45, 138, 78, 0); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(181, 64, 47, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(181, 64, 47, 0); }
}

.recording-green { animation: pulse-green 1.5s infinite; }
.recording-red { animation: pulse-red 1.5s infinite; }
/* Legacy class name — payroll uses .recording */
.recording { animation: pulse-green 1.5s infinite; }

/* --------------------------------------------------------------------------
   12. SPINNER
   -------------------------------------------------------------------------- */
.spinner {
    border: 3px solid rgba(27, 42, 78, 0.1);
    border-top: 3px solid var(--mise-green);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s linear infinite;
}

.spinner-red {
    border: 3px solid rgba(27, 42, 78, 0.1);
    border-top: 3px solid var(--mise-red);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   13. PROCESSING OVERLAY
   -------------------------------------------------------------------------- */
.mise-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   14. FOCUS RINGS
   -------------------------------------------------------------------------- */
input:focus, select:focus, textarea:focus, button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 42, 78, 0.12);
}

/* --------------------------------------------------------------------------
   15. CONTENT CONTAINER
   -------------------------------------------------------------------------- */
.mise-container {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   16. (Reserved — kitchen texture removed)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   17. DECORATIVE DIVIDER
   A little flourish between sections
   -------------------------------------------------------------------------- */
.mise-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(27, 42, 78, 0.2);
}

.mise-divider::before,
.mise-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
}

/* --------------------------------------------------------------------------
   18. GREETING / WARM TEXT STYLES
   -------------------------------------------------------------------------- */
.mise-greeting {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mise-subtitle {
    font-size: 0.9rem;
    color: rgba(27, 42, 78, 0.5);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   19. AGENT CARD ICONS (inline SVG styling)
   -------------------------------------------------------------------------- */
.mise-agent-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   20. TAGLINE FLOURISH
   -------------------------------------------------------------------------- */
.mise-tagline {
    font-style: italic;
    color: rgba(27, 42, 78, 0.35);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   21. GROUP DASHBOARD (/dashboard, mise_app/group_dashboard.py)
   A group's numbers by level. Brand colors are set per element as --b.
   -------------------------------------------------------------------------- */
.mise-badge-red {
    background: rgba(181, 64, 47, 0.1);
    color: var(--mise-red);
}
.mise-dash-crumbs { font-size: 0.8rem; color: rgba(27, 42, 78, 0.5); display: flex; gap: 6px; flex-wrap: wrap; }
.mise-dash-crumbs a { color: rgba(27, 42, 78, 0.7); font-weight: 600; }
.mise-dash-crumbs a:hover { color: var(--mise-red); }
.mise-dash-day { display: flex; align-items: center; gap: 4px; }
.mise-dash-day a, .mise-dash-day span { padding: 6px; border-radius: var(--mise-radius-sm); color: rgba(27, 42, 78, 0.5); }
.mise-dash-day a:hover { background: rgba(27, 42, 78, 0.05); color: var(--mise-navy); }
.mise-dash-day span.off { color: rgba(27, 42, 78, 0.2); }
.mise-dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mise-dash-tile { padding: 12px 14px; }
.mise-dash-tile.wide { grid-column: 1 / -1; }
.mise-dash-asof { font-size: 0.75rem; color: rgba(27, 42, 78, 0.55); margin-bottom: -6px; }
.mise-dash-tile .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(27, 42, 78, 0.5); }
.mise-dash-tile .v { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mise-dash-tile .d { font-size: 0.75rem; color: rgba(27, 42, 78, 0.55); margin-top: 2px; line-height: 1.35; }
.mise-dash-tile .rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; font-size: 1.05rem; }
.mise-dash-tile .rows > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mise-dash-tile .rows em { font-style: normal; font-weight: 500; font-size: 0.75rem; color: rgba(27, 42, 78, 0.6); white-space: nowrap; }
.mise-dash-up { color: var(--mise-green); font-weight: 600; }
.mise-dash-down { color: var(--mise-red); font-weight: 600; }
.mise-dash-dot { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; background: var(--b); margin-right: 6px; vertical-align: middle; }
.mise-dash-brand { display: block; padding: 14px 16px; border-left: 4px solid var(--b); }
.mise-dash-brand h3 { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.mise-dash-brand h3 span { font-size: 0.75rem; font-weight: 500; color: rgba(27, 42, 78, 0.5); }
.mise-dash-big { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mise-dash-figs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.78rem; color: rgba(27, 42, 78, 0.6); margin-top: 4px; }
.mise-dash-figs b { color: var(--mise-navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.mise-dash-store { display: block; padding: 12px 14px; border-left: 4px solid var(--b); }
.mise-dash-store .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mise-dash-store .name { font-weight: 600; }
.mise-dash-store .name small { font-weight: 500; color: rgba(27, 42, 78, 0.5); }
.mise-dash-bar { height: 4px; border-radius: 9999px; background: rgba(27, 42, 78, 0.06); margin-top: 8px; overflow: hidden; }
.mise-dash-bar i { display: block; height: 100%; background: var(--b); }
.mise-dash-looks { display: grid; gap: 8px; }
.mise-dash-look { display: block; padding: 10px 12px; border-left: 4px solid var(--c); }
.mise-dash-look .cat { background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); margin-right: 6px; }
.mise-dash-look .what { font-weight: 600; font-size: 0.9rem; }
.mise-dash-look .where, .mise-dash-look .how { font-size: 0.8rem; color: rgba(27, 42, 78, 0.6); margin-top: 2px; }
.mise-dash-hours { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; align-items: end; height: 120px; }
.mise-dash-hours div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.mise-dash-hours .b { width: 100%; border-radius: 3px 3px 0 0; background: var(--b); opacity: 0.85; }
.mise-dash-axis { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin-top: 4px; }
.mise-dash-axis span { font-size: 0.6rem; color: rgba(27, 42, 78, 0.5); white-space: nowrap; overflow: visible; }
.mise-dash-h2 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.mise-dash-h2 + .mise-dash-how { font-size: 0.8rem; margin: -6px 0 8px; }
.mise-dash-hello { font-size: 0.95rem; font-weight: 600; color: rgba(27, 42, 78, 0.7); margin-bottom: 2px; }
.mise-dash-h2 small { font-weight: 500; font-size: 0.75rem; color: rgba(27, 42, 78, 0.5); margin-left: 6px; }
.mise-spec-waits { display: grid; gap: 8px; font-size: 0.85rem; line-height: 1.4; }
.mise-spec-waits li { padding-left: 14px; position: relative; }
.mise-spec-waits li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 9999px; background: var(--mise-red); opacity: 0.6; }
