/* [next]/internal/font/google/arimo_b38fc6bd.module.css [app-client] (css) */
@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/3fcb63a1ac6a562e-s.1dedcmru5mnxf.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/31183d9fd602dc89-s.0l7p7ko8xhksf.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/2b2eb4836d2dad95-s.1tv3dflkkfrv_.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/b11a6ccf4a3edec7-s.3i40mt1gc_v57.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/67add6cc0f54b8cf-s.1k5iw4qbu2tvz.woff2") format("woff2");
  unicode-range: U+307-308, U+590-5FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/45ec8de98929b0f6-s.40-isswhixw15.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/a8ff2d5d0ccb0d12-s.3tjzvpocoabx8.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/aae5f0be330e13db-s.p.0wfs66p3l27ni.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/3fcb63a1ac6a562e-s.1dedcmru5mnxf.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/31183d9fd602dc89-s.0l7p7ko8xhksf.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/2b2eb4836d2dad95-s.1tv3dflkkfrv_.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/b11a6ccf4a3edec7-s.3i40mt1gc_v57.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/67add6cc0f54b8cf-s.1k5iw4qbu2tvz.woff2") format("woff2");
  unicode-range: U+307-308, U+590-5FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/45ec8de98929b0f6-s.40-isswhixw15.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/a8ff2d5d0ccb0d12-s.3tjzvpocoabx8.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/aae5f0be330e13db-s.p.0wfs66p3l27ni.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Arimo Fallback;
  src: local(Arial);
  ascent-override: 90.53%;
  descent-override: 21.19%;
  line-gap-override: 3.27%;
  size-adjust: 100.0%;
}

.arimo_b38fc6bd-module__to8BrG__className {
  font-family: Arimo, Arimo Fallback;
  font-style: normal;
}

.arimo_b38fc6bd-module__to8BrG__variable {
  --font-arimo: "Arimo", "Arimo Fallback";
}

/* [next]/internal/font/google/figtree_d2670ba5.module.css [app-client] (css) */
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/400bf8aa837fcb7e-s.19g-lkcx7iw64.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../media/f7aa21714c1c53f8-s.p.0-95eo-012xnf.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../media/400bf8aa837fcb7e-s.19g-lkcx7iw64.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../media/f7aa21714c1c53f8-s.p.0-95eo-012xnf.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Figtree Fallback;
  src: local(Arial);
  ascent-override: 94.32%;
  descent-override: 24.82%;
  line-gap-override: 0.0%;
  size-adjust: 100.72%;
}

.figtree_d2670ba5-module__Zfml-a__className {
  font-family: Figtree, Figtree Fallback;
  font-style: normal;
}

.figtree_d2670ba5-module__Zfml-a__variable {
  --font-figtree: "Figtree", "Figtree Fallback";
}

/* [next]/internal/font/google/roboto_a70e1ef2.module.css [app-client] (css) */
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/328e8ab8891974e8-s.3_ymxo08x714l.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/7937c3c205073608-s.1gr0_ur76_3lt.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/c924bda67c74556b-s.01kh7zmpqs43z.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/db7d53d719b02b1a-s.21760qanviw_3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/75e3471e5d0b4427-s.35r3c0vba5tpf.woff2") format("woff2");
  unicode-range: U+302-303, U+305, U+307-308, U+310, U+312, U+315, U+31A, U+326-327, U+32C, U+32F-330, U+332-333, U+338, U+33A, U+346, U+34D, U+391-3A1, U+3A3-3A9, U+3B1-3C9, U+3D1, U+3D5-3D6, U+3F0-3F1, U+3F4-3F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE??;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/dbe894946de520eb-s.0k_jcbg27ap9c.woff2") format("woff2");
  unicode-range: U+1-C, U+E-1F, U+7F-9F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+28??, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B??, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F0??, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB??;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/77d11954781f3baa-s.2ur-uvxegao52.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/3ea27a3d12f740bc-s.44srtd1km7s0v.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/1d53f874430794e2-s.p.283e4j7j7m4sb.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Roboto Fallback;
  src: local(Arial);
  ascent-override: 92.98%;
  descent-override: 24.47%;
  line-gap-override: 0.0%;
  size-adjust: 99.78%;
}

.roboto_a70e1ef2-module__s5M1sa__className {
  font-family: Roboto, Roboto Fallback;
  font-style: normal;
  font-weight: 900;
}

.roboto_a70e1ef2-module__s5M1sa__variable {
  --font-roboto: "Roboto", "Roboto Fallback";
}

/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #f8f8f8;
  --surface: #fefefe;
  --surface-muted: #f1f2f3;
  --border: #e2e2e2;
  --border-strong: #cacaca;
  --border-control: #7d848b;
  --text: #313638;
  --text-muted: #68717e;
  --text-faint: #5f6670;
  --accent: #426b96;
  --accent-hover: #385b80;
  --accent-soft: #e6edf5;
  --customer-bg: #eef0f2;
  --employee-bg: #426b96;
  --employee-text: #fff;
  --pass: #2f6b50;
  --pass-soft: #e1faea;
  --fail: #a32b28;
  --fail-soft: #f7e4e1;
  --partial: #8a5a00;
  --partial-soft: #fff3d6;
  --warn-bg: #fdf6e3;
  --warn-border: #e8d9a8;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px 0 #0000001f, 0 0 0 1px #00000005;
  --chrome: #313638;
  --on-chrome: #fefefe;
  --topbar-tile: #313638;
  --yellow: #f7eb35;
  --on-yellow: #000;
  --heading: #425c7e;
  --link: #1779ba;
  --tray: #e3e4e4;
  --band: #e3e7ec;
  --primary: #c8322b;
  --primary-hover: #b52a25;
  --decide: #313638;
  --decide-hover: #24282a;
  --decide-text: #fff;
  --accent-text: #fff;
  --ok: #35775a;
  --disc-idle: #6b6f73;
  --disc-done: #c0282a;
  --disc-text: #fff;
  --disc-again-text: #c0282a;
  --radius-pill: 999px;
  --radius-box: 5px;
  --radius-bubble: 8px;
  --font-body: var(--font-arimo), "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-figtree), "Helvetica Neue", Arial, sans-serif;
  --font-title: var(--font-roboto), "Helvetica Neue", Arial, sans-serif;
  --scene-wall-top: #fefefe;
  --scene-wall-bottom: #e3e7ec;
  --scene-shelf: #e3e4e4;
  --scene-counter-top: #e3e4e4;
  --scene-counter-mid: #e3e7ec;
  --scene-counter-edge: #313638;
  --bubble-bg: #fff;
  --bubble-edge: #8a9198;
  --bubble-shadow: drop-shadow(0 3px 8px #0000002e);
  --scene-counter-line: #cacaca;
  --scene-counter-hint: #313638;
  --card-face: #f7f5f1;
  --card-edge: #cdc6ba;
  --card-band: #425c7e;
  --card-band-text: #f4f7fb;
  --card-photo-bg: #e6e2da;
  --card-label: #45556a;
  --card-text: #232019;
  --goods-box: #f1ece3;
  --goods-box-edge: #b9ad99;
  --goods-label: #fff;
  --goods-label-chip: #231a10d6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1e1f;
    --surface: #222628;
    --surface-muted: #2a2f31;
    --border: #3d4447;
    --border-strong: #4a5155;
    --border-control: #6a7583;
    --text: #eef0f1;
    --text-muted: #a9b1ba;
    --text-faint: #98a0a7;
    --accent: #6c9bd2;
    --accent-hover: #86afe0;
    --accent-soft: #1f2b38;
    --customer-bg: #2a2f31;
    --employee-bg: #426b96;
    --employee-text: #f2f6fb;
    --pass: #7fe8a6;
    --pass-soft: #173524;
    --fail: #e8735f;
    --fail-soft: #3a1f1c;
    --partial: #ffc94d;
    --partial-soft: #3a2e12;
    --warn-bg: #26210f;
    --warn-border: #4a4020;
    --shadow: 0 1px 2px #0006;
    --chrome: #0e1011;
    --on-chrome: #fefefe;
    --topbar-tile: #3a4044;
    --heading: #a9bdd8;
    --link: #6cb8ec;
    --tray: #2a2f31;
    --band: #26323f;
    --primary: #c0392f;
    --primary-hover: #b8332b;
    --decide: #e6e9eb;
    --decide-hover: #fff;
    --decide-text: #1b1e1f;
    --accent-text: #1b1e1f;
    --ok: #347f57;
    --disc-idle: #5a6165;
    --disc-done: #c0282a;
    --disc-text: #f2f3f3;
    --disc-again-text: #ff7a6e;
    --scene-wall-top: #222628;
    --scene-wall-bottom: #26323f;
    --scene-shelf: #2a2f31;
    --scene-counter-top: #2a2f31;
    --scene-counter-mid: #26323f;
    --scene-counter-edge: #0e1011;
    --bubble-bg: #30363a;
    --bubble-edge: #6a7583;
    --bubble-shadow: drop-shadow(0 3px 8px #0000008c);
    --scene-counter-line: #3d4447;
    --scene-counter-hint: #c2ab8d;
    --card-face: #f1efea;
    --card-edge: #a89f92;
    --card-band: #35527f;
    --card-band-text: #f4f7fb;
    --card-photo-bg: #ddd8ce;
    --card-label: #45556a;
    --card-text: #1e1b15;
    --goods-box: #ded7ca;
    --goods-box-edge: #8d8271;
    --goods-label: #fff;
    --goods-label-chip: #140f09db;
  }
}

@media (prefers-contrast: more) {
  :root {
    --bubble-bg: #fff;
    --bubble-edge: #000;
    --bubble-shadow: none;
    --bg: #fff;
    --surface: #fff;
    --surface-muted: #f2f2f2;
    --border: #000;
    --border-strong: #000;
    --border-control: #000;
    --text: #000;
    --text-muted: #262626;
    --text-faint: #3d3d3d;
    --accent: #003f7d;
    --accent-hover: #002f5e;
    --accent-soft: #e6edf5;
    --employee-bg: #003f7d;
    --pass: #006b2e;
    --fail: #a3120f;
    --partial: #6b4500;
    --chrome: #000;
    --on-chrome: #fff;
    --topbar-tile: #000;
    --heading: #0a2a52;
    --link: #00408a;
    --tray: #f2f2f2;
    --band: #fff;
    --primary: #a3120f;
    --primary-hover: #8a0e0c;
    --decide: #000;
    --decide-hover: #262626;
    --decide-text: #fff;
    --accent-text: #fff;
    --ok: #2f4000;
    --disc-idle: #595959;
    --disc-done: #a3120f;
    --disc-again-text: #a3120f;
    --scene-wall-top: #fff;
    --scene-wall-bottom: #fff;
    --scene-counter-top: #f2f2f2;
    --scene-counter-mid: #fff;
    --scene-counter-edge: #000;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  letter-spacing: -.01em;
  margin: 0;
  font-weight: 650;
  line-height: 1.3;
}

p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

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

.page {
  flex-direction: column;
  min-height: 100vh;
  display: flex;
}

.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}

.masthead-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.masthead-brand {
  align-items: center;
  gap: 12px;
  max-width: 600px;
  display: flex;
}

.masthead-brand > div {
  min-width: 0;
}

.masthead-brand img {
  flex: none;
  width: auto;
  height: 40px;
  display: block;
}

.masthead h1 {
  font-size: 17px;
  line-height: 1.3;
}

.masthead p {
  color: var(--text-muted);
  font-size: 13px;
}

.sim-banner {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  color: var(--text-muted);
  text-align: center;
  padding: 8px 24px;
  font-size: 12.5px;
}

.shell {
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 48px;
  display: grid;
}

@media (max-width: 900px) {
  .shell {
    padding: 16px 14px 40px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card + .card {
  margin-top: 16px;
}

.card-header {
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
}

.card-header h2 {
  font-size: 16px;
}

.card-header .sub {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12.5px;
}

.card-body {
  padding: 16px;
}

.field + .field {
  margin-top: 18px;
}

.field-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  display: block;
}

.pill {
  letter-spacing: .03em;
  text-transform: uppercase;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 650;
  display: inline-block;
}

.slider {
  width: 100%;
  accent-color: var(--accent);
}

.select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13.5px;
}

.select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.static-value {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.hint code {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.slider-value {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  display: flex;
}

.slider-value strong {
  font-size: 13.5px;
}

.slider-value span {
  color: var(--text-muted);
  font-size: 12.5px;
}

.hint {
  color: var(--text-muted);
  margin-top: 6px;
  font-size: 12.5px;
}

.segmented {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  overflow: hidden;
}

.segmented button {
  background: var(--surface-muted);
  color: var(--text-muted);
  border: 0;
  flex: 1;
  padding: 8px 10px;
  font-size: 13px;
}

.btn {
  border-radius: var(--radius-sm);
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background .12s, border-color .12s;
  display: inline-flex;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-control);
  color: var(--text);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-muted);
}

.btn-block {
  width: 100%;
}

.btn-row {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.progress-head {
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  display: flex;
}

.progress-head strong {
  font-size: 13.5px;
}

.progress-head span {
  color: var(--text-muted);
}

.progress-track {
  gap: 4px;
  margin-top: 8px;
  display: flex;
}

.progress-step {
  background: var(--border);
  border-radius: 3px;
  flex: 1;
  height: 6px;
}

.progress-step.done {
  background: var(--accent);
}

.drawer {
  z-index: 50;
  position: fixed;
  inset: 0;
}

.drawer-scrim {
  background: #10182852;
  animation: .2s ease-out scrim-in;
  position: absolute;
  inset: 0;
}

.drawer-scrim.is-closing {
  animation: .2s ease-in forwards scrim-out;
}

.drawer-panel {
  background: var(--surface);
  border-left: 1px solid var(--border);
  flex-direction: column;
  width: min(440px, 92vw);
  animation: .24s cubic-bezier(.22, .61, .36, 1) drawer-in;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  box-shadow: -14px 0 40px #1018282e;
}

.drawer-panel.is-closing {
  animation: .2s ease-in forwards drawer-out;
}

.drawer-head {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  display: flex;
}

.drawer-head h2 {
  letter-spacing: -.01em;
  font-size: 16px;
  font-weight: 650;
}

.drawer-head .sub {
  color: var(--text-muted);
  font-size: 12.5px;
}

.drawer-close {
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  flex: none;
  padding: 6px;
  display: inline-flex;
}

.drawer-close:hover {
  background: var(--customer-bg);
  color: var(--text);
}

.drawer-body {
  padding: 16px 20px 28px;
  font-size: 13px;
  overflow-y: auto;
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes drawer-out {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes scrim-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrim-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .drawer-scrim {
    animation: none !important;
  }

  .tips-body, .tips-chevron {
    transition: none !important;
  }
}

.alert {
  border-radius: var(--radius-sm);
  border: 1px solid;
  padding: 10px 12px;
  font-size: 13.5px;
}

.alert-error {
  background: var(--fail-soft);
  border-color: var(--fail);
  color: var(--fail);
}

.alert-info {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--text-muted);
}

.alert + * {
  margin-top: 12px;
}

.result-header {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.result-outcome {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 13.5px;
}

.verdict {
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

.critical {
  border: 1px solid var(--fail);
  background: var(--fail-soft);
  border-radius: var(--radius-sm);
  margin-top: 14px;
  padding: 12px;
}

.critical h3 {
  color: var(--fail);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}

.critical ul {
  color: var(--text);
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13.5px;
}

.finding-group + .finding-group {
  margin-top: 22px;
}

.finding-group-head {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  display: flex;
}

.finding-group-count {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12.5px;
  font-weight: 500;
}

.finding {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}

.finding-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.finding-head h4 {
  font-size: 14px;
}

.verdict-tag {
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

.verdict-tag.pass {
  background: var(--pass-soft);
  color: var(--pass);
}

.verdict-tag.partial {
  background: var(--partial-soft);
  color: var(--partial);
}

.verdict-tag.fail {
  background: var(--fail-soft);
  color: var(--fail);
}

.verdict-tag.not_applicable {
  background: var(--surface-muted);
  color: var(--text-faint);
}

.finding p {
  color: var(--text-muted);
  margin-top: 5px;
  font-size: 13.5px;
}

.evidence {
  background: var(--surface-muted);
  border-left: 2px solid var(--border-control);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  display: grid;
}

.feedback-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13.5px;
}

.feedback-list li + li {
  margin-top: 6px;
}

.next-step {
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-top: 16px;
  padding: 12px;
  font-size: 13.5px;
}

.resource-list {
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  list-style: none;
}

.resource-list li + li {
  margin-top: 8px;
}

.resource-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.resource-list a:hover {
  text-decoration: underline;
}

.resource-list span {
  color: var(--text-muted);
  font-size: 12.5px;
  display: block;
}

details.policy {
  border-top: 1px solid var(--border);
}

details.policy summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
}

details.policy summary::-webkit-details-marker {
  display: none;
}

details.policy summary:before {
  content: "▸";
  color: var(--text-faint);
  margin-right: 8px;
  display: inline-block;
}

details.policy[open] summary:before {
  content: "▾";
}

.policy-body {
  padding: 0 16px 16px;
  font-size: 13px;
}

.policy-notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 9px 11px;
  font-size: 12.5px;
}

.policy-body h4 {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-faint);
  margin-top: 14px;
  font-size: 12px;
}

.policy-body ul {
  color: var(--text-muted);
  margin: 6px 0 0;
  padding-left: 18px;
}

.policy-body li + li {
  margin-top: 4px;
}

.policy-facts {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.policy-credentials {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  margin-top: 14px;
  padding: 11px 13px;
}

.policy-credentials-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 650;
  display: block;
}

.policy-credentials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
  display: grid;
}

.policy-credential {
  color: var(--text);
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  display: flex;
}

.policy-credential svg {
  color: var(--pass);
  flex: none;
}

.tips-sections {
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.tips-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.tips-head {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  display: flex;
}

.tips-title {
  min-width: 0;
  color: var(--text);
  flex: 1;
  font-size: 13.5px;
  font-weight: 650;
}

.tips-chevron {
  color: var(--text-faint);
  flex: none;
  transition: transform .16s;
}

.tips-head[aria-expanded="true"] .tips-chevron {
  transform: rotate(180deg);
}

.tips-body {
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s cubic-bezier(.22, .61, .36, 1);
  display: grid;
}

.tips-body.is-open {
  grid-template-rows: 1fr;
}

.tips-body > div {
  min-height: 0;
  overflow: hidden;
}

.tips-card .tips-list {
  color: var(--text-muted);
  margin: 0;
  padding: 2px 13px 13px 31px;
}

.tips-card .tips-list li + li {
  margin-top: 4px;
}

.tips-card ol.tips-list li + li {
  margin-top: 6px;
}

.tips-card .tips-list strong {
  color: var(--text);
  font-weight: 650;
}

.tips-peek {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0 13px 11px;
  display: block;
}

.tips-peek.is-hidden {
  display: none;
}

.tips-peek-text {
  color: var(--text-muted);
  font-size: 12.5px;
  display: block;
}

.tips-peek-text strong {
  color: var(--text);
  font-weight: 650;
}

.tips-peek-text.is-clipped {
  max-height: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 14px, #0000);
  mask-image: linear-gradient(#000 14px, #0000);
}

.tips-peek-more {
  color: var(--accent);
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.credential {
  text-align: left;
  width: 320px;
}

.credential-band {
  background: var(--card-band);
  color: var(--card-band-text);
  white-space: nowrap;
  letter-spacing: .08em;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
}

.credential-body {
  gap: 10px;
  padding: 10px;
  display: flex;
}

.credential-photo {
  border: 1px solid #0000;
  border-radius: 4px;
  flex-shrink: 0;
  width: 62px;
  height: 78px;
  overflow: hidden;
}

.credential-photo img {
  object-fit: cover;
  object-position: center 8%;
  transform-origin: 50% 14%;
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(2.1);
}

.credential-fields {
  flex-direction: column;
  flex: 1;
  gap: 5px;
  min-width: 0;
  margin: 0;
  display: flex;
}

.credential-name {
  letter-spacing: .02em;
  font-weight: 700;
}

.credential-dates {
  gap: 12px;
  display: flex;
}

.credential-dates > div {
  min-width: 0;
}

.credential-number {
  letter-spacing: .03em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px !important;
}

.voice-dot {
  background: var(--text-faint);
  border-radius: 50%;
  flex: none;
  width: 10px;
  height: 10px;
}

.voice-dot-connecting {
  background: var(--accent);
  animation: 1.6s ease-in-out infinite voice-pulse;
}

.voice-dot-listening {
  background: var(--accent);
  transform: scale(calc(1 + var(--level, 0) * .34));
  box-shadow: 0 0 0 calc(var(--level, 0) * 6.8px) color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform 90ms linear, box-shadow 90ms linear;
  animation: 2.4s ease-in-out infinite voice-breathe;
}

@keyframes voice-breathe {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .6;
  }
}

.voice-dot-speaking {
  background: var(--pass);
  animation: .9s ease-in-out infinite voice-pulse;
}

.voice-dot-error {
  background: var(--fail);
}

.voice-dot-ended {
  background: var(--text-faint);
}

@keyframes voice-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-dot-connecting, .voice-dot-speaking, .scoring-dot {
    animation: none;
  }

  .voice-dot-listening {
    transition: none;
    animation: none;
  }
}

.option-grid {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 6px;
  display: grid;
}

.option-grid button {
  font: inherit;
  text-transform: capitalize;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.3;
  transition: background .12s, border-color .12s, color .12s;
}

.option-grid button:hover:not(:disabled) {
  border-color: var(--border-control);
  background: var(--surface-muted);
}

.option-grid button[aria-pressed="true"] {
  color: var(--employee-text);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.option-grid button[aria-pressed="true"]:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.option-grid button:disabled {
  opacity: .55;
  cursor: default;
}

.option-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
}

.option-grid button.option-stacked {
  text-align: left;
  text-transform: none;
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.option-stacked .option-name {
  text-transform: capitalize;
}

.option-stacked .option-sub {
  opacity: .72;
  font-size: 11px;
  line-height: 1.25;
}

.harness-transcript {
  max-height: 560px;
  padding: 0 0 4px;
  overflow-y: auto;
}

.harness-divider {
  z-index: 2;
  background: var(--surface-muted);
  width: 100%;
  box-shadow: 0 1px 0 var(--border),
    0 4px 6px -4px #1018282e;
  border: none;
  border-top: 1px solid var(--border);
  font: inherit;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: left;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  position: sticky;
  top: 0;
}

.harness-divider:hover {
  color: var(--text-muted);
}

.harness-status {
  background: var(--border);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.harness-status-unstarted {
  box-shadow: inset 0 0 0 1.5px var(--text-faint);
  background: none;
}

.harness-status-running {
  background: var(--accent);
  animation: 1.6s ease-in-out infinite harness-status-pulse;
}

.harness-status-finished {
  background: var(--pass);
}

@keyframes harness-status-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .harness-status-running {
    animation: none;
  }
}

.harness-divider-caret {
  font-size: 10px;
  line-height: 1;
}

.harness-divider-count {
  letter-spacing: 0;
  text-transform: none;
  margin-left: auto;
  font-weight: 500;
}

.harness-line {
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 7px 18px;
  font-size: 14px;
  line-height: 1.55;
  display: grid;
}

.harness-line-customer {
  background: var(--surface-muted);
}

.harness-who {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
}

.harness-text {
  color: var(--text);
}

.harness-latency {
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
  font-size: 11.5px;
}

.harness-latency-slow {
  color: var(--partial);
  font-weight: 600;
}

.harness-verdict {
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  display: flex;
}

.harness-verdict-pass {
  background: var(--pass-soft);
}

.harness-verdict-partial {
  background: var(--partial-soft);
}

.harness-verdict-fail {
  background: var(--fail-soft);
}

.harness-verdict-label {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
}

.harness-verdict-model {
  color: var(--text-muted);
  margin-top: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
}

.harness-score {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-size: 26px;
  font-weight: 650;
}

.harness-stats {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.harness-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  flex: 110px;
  padding: 10px 12px;
}

.harness-stat-value {
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 650;
}

.harness-stat-label {
  color: var(--text-faint);
  margin-top: 2px;
  font-size: 11.5px;
}

.harness-models {
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  display: flex;
}

.harness-group {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 14px;
}

.harness-group-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 650;
}

.harness-group-fail {
  color: var(--fail);
}

.harness-group-partial {
  color: var(--partial);
}

.harness-failure + .harness-failure {
  margin-top: 10px;
}

.harness-failure-head {
  align-items: center;
  gap: 8px;
  display: flex;
}

.harness-failure-rule {
  color: var(--text-muted);
  margin-top: 3px;
  font-size: 12px;
}

.harness-evidence {
  border-left: 2px solid var(--border-strong);
  margin-top: 7px;
  padding-left: 10px;
}

.harness-evidence-line {
  color: var(--text-muted);
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.5;
  display: grid;
}

@media (max-width: 700px) {
  .harness-line, .harness-evidence-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

.harness-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.harness-table th {
  text-align: left;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  padding: 4px 8px 6px 0;
  font-size: 11px;
  font-weight: 600;
}

.harness-table td {
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  padding: 6px 8px 6px 0;
}

.harness-table td:first-child {
  width: 45%;
}

.harness-row-fail td {
  color: var(--text);
  font-weight: 600;
}

.harness-row-fail code {
  color: var(--fail);
}

.harness-assessment p {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.harness-assessment p:last-child {
  margin-bottom: 6px;
}

.credential-faces {
  grid-template-columns: minmax(0, 1fr);
  display: grid;
}

.credential-face {
  grid-area: 1 / 1;
  min-width: 0;
}

.credential-face[data-shown="false"] {
  visibility: hidden;
}

.credential {
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  transform: perspective(1200px)rotateY(0);
}

.credential-flipped {
  transform: perspective(1200px)rotateY(180deg);
}

.credential-faces {
  transform-style: preserve-3d;
}

.credential-face {
  border: 1px solid var(--card-edge);
  background: var(--card-face);
  backface-visibility: hidden;
  border-radius: 8px;
  transition: visibility 0s linear .25s;
  overflow: hidden;
  box-shadow: 0 10px 18px #1018284d;
}

.credential-face:last-child {
  transform: rotateY(180deg);
}

.credential-back {
  background: var(--card-face);
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 0 12px 10px;
  display: flex;
}

.credential-barcode-main {
  fill: #111;
  width: 100%;
  height: 26px;
  display: block;
}

.credential-endorsements {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--card-text);
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 7.5px;
  display: flex;
}

.credential-back-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: auto;
  display: flex;
}

.credential-barcode-small {
  fill: #111;
  width: 96px;
  height: 14px;
  display: block;
}

.credential-back-number {
  letter-spacing: .02em;
  color: var(--card-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
}

.credential-back-blank {
  flex: 1;
  display: block;
}

.credential-field, .credential-title {
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
  display: flex;
}

.credential-field-label {
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--card-label);
  font-size: 10px;
  font-weight: 600;
}

.credential-field > span:last-child, .credential-title > span:last-child {
  color: var(--card-text);
  font-size: 12px;
}

.credential-dates .credential-field {
  flex: 1;
  min-width: 0;
}

.meters {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.result-body .meters {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  gap: 16px;
  display: grid;
}

.meter-column {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.check-list {
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  display: flex;
}

.check {
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  display: flex;
}

.check-icon {
  flex: none;
}

.check-fail .check-icon {
  color: var(--fail);
}

.check-partial .check-icon {
  color: var(--partial);
}

.check-pass .check-icon {
  color: var(--pass);
}

.check-not_applicable {
  color: var(--text-faint);
}

.na-toggle {
  width: 100%;
  color: var(--text-faint);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  display: flex;
}

.na-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.na-rule {
  background: var(--border);
  flex: 1;
  height: 1px;
}

.na-toggle[aria-expanded="true"] .tips-chevron {
  transform: rotate(180deg);
}

.na-room {
  display: grid;
}

.na-reserve, .na-body {
  grid-area: 1 / 1;
}

.na-reserve {
  visibility: hidden;
}

.na-group .check-list {
  border-top: 0;
  padding-top: 4px;
}

.meter-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 5px;
  display: flex;
}

.meter-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 650;
}

.meter-count {
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 650;
}

.meter-pass .meter-count {
  color: var(--pass);
}

.meter-fail .meter-count {
  color: var(--partial);
}

.meter-status {
  font-weight: 650;
}

.meter-pass .meter-status {
  color: var(--pass);
}

.meter-fail .meter-status {
  color: var(--partial);
}

.meter-track {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 10px;
  position: relative;
  overflow: hidden;
}

.meter-fill {
  border-radius: 999px;
  height: 100%;
  display: block;
}

.meter-pass .meter-fill {
  background: var(--pass);
}

.meter-fail .meter-fill {
  background: var(--partial);
}

.meter-mark {
  background: var(--text);
  opacity: .55;
  width: 2px;
  position: absolute;
  top: -1px;
  bottom: -1px;
}

.meter-foot {
  color: var(--text-faint);
  margin-top: 4px;
  font-size: 11.5px;
}

.setup-cog {
  color: var(--text-muted);
  align-items: center;
  padding: 6px 9px;
  line-height: 1;
  display: inline-flex;
}

.preview-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.pill-warn {
  background: var(--partial-soft);
  border-color: var(--partial);
  color: var(--partial);
}

.feedback-empty {
  color: var(--text-muted);
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.difficulty {
  flex-shrink: 0;
}

.difficulty-introductory {
  color: #5b7fb4;
  background: #eef3fa;
  border-color: #d6e2f2;
}

.difficulty-intermediate {
  color: #2f5f9e;
  background: #d8e5f6;
  border-color: #b9d0ea;
}

.difficulty-advanced {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.modal .btn-primary {
  margin-top: 20px;
}

.modal-backdrop {
  z-index: 50;
  background: #1018286b;
  justify-content: center;
  align-items: flex-start;
  padding: 8vh 20px 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  width: 100%;
  max-width: 420px;
  margin: 0;
  box-shadow: 0 12px 40px #1018282e;
}

.modal-header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.modal-close {
  color: var(--text-muted);
  padding: 4px 9px;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .modal {
    animation: .12s ease-out modal-in;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.role-grid {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
  display: grid;
}

.role-grid label, .role-grid .role-static-label {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
}

.role-grid .select {
  padding: 5px 8px;
  font-size: 12.5px;
}

.role-static {
  color: var(--text-faint);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
  padding: 5px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.harness-transcript-header {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.harness-copy {
  flex: none;
  min-width: 84px;
  padding: 5px 12px;
  font-size: 12.5px;
}

.turn-ref {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px dotted;
  border-radius: 2px;
  padding: 0 1px;
  text-decoration: none;
}

.turn-ref:hover, .turn-ref:focus-visible {
  background: var(--accent-soft);
  border-bottom-style: solid;
}

.results-turn {
  border-radius: var(--radius-sm);
  grid-template-columns: 1.25rem 1fr;
  align-items: baseline;
  margin-left: -4px;
  padding: 3px 8px 3px 12px;
  scroll-margin-top: 16px;
  display: grid;
}

.results-turn-n {
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  -webkit-user-select: none;
  user-select: none;
  font-size: 11.5px;
}

.results-turn:target {
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.results-turn:focus {
  outline: none;
}

@media (max-width: 900px) {
  .drawer-panel {
    width: min(330px, 88vw);
  }
}

button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.segmented button:focus-visible {
  outline-offset: -2px;
}

.segmented button[aria-pressed="true"]:focus-visible {
  outline-color: var(--surface);
}

.verdict-line {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.result-headline {
  letter-spacing: -.01em;
  margin: 0;
  font-size: 19px;
  font-weight: 650;
}

.result-body {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.next-step-panel {
  background: var(--accent-soft);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-sm);
  gap: 12px;
  padding: 14px;
  display: flex;
}

.next-step-icon {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: flex;
}

.next-step-text {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.takeaways {
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding-top: 12px;
  display: grid;
}

.takeaway-keep, .takeaway-change {
  align-items: center;
  gap: 6px;
  display: flex;
}

.takeaway-keep {
  color: var(--pass);
}

.takeaway-change {
  color: var(--partial);
}

.assessment-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.assessment-header h2 {
  margin: 0;
}

.assessment-running {
  align-items: center;
  gap: 12px;
  display: flex;
}

.assessment-running h2 {
  margin: 0;
}

.transcript-toggle {
  border-radius: var(--radius);
  width: 100%;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 16px;
  display: flex;
}

.transcript-toggle:hover {
  background: var(--surface-muted);
}

.transcript-title {
  letter-spacing: -.01em;
  font-weight: 650;
}

.transcript-count {
  color: var(--text-faint);
  font-size: 12.5px;
}

.transcript-action {
  color: var(--accent);
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.transcript-caret {
  color: var(--text-faint);
  transition: transform .15s;
  display: inline-flex;
}

.transcript-caret.is-open {
  transform: rotate(90deg);
}

.transcript-body {
  visibility: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows .18s, visibility 0s linear .18s;
  display: grid;
}

.transcript-body.is-open {
  visibility: visible;
  border-top: 1px solid var(--border);
  grid-template-rows: 1fr;
  transition: grid-template-rows .18s, visibility;
}

.transcript-body-inner {
  min-height: 0;
  padding: 0 16px;
  overflow: hidden;
}

.transcript-body.is-open .transcript-body-inner {
  padding: 14px 16px 16px;
}

.results-footer {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  display: flex;
}

.results-footer .hint {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .transcript-body, .transcript-caret {
    transition: none;
  }
}

.ack-dialog {
  border: 1px solid var(--border);
  background: var(--surface);
  width: min(420px, 100vw - 32px);
  max-height: calc(100vh - 32px);
  color: var(--text);
  border-radius: 12px;
  padding: 24px 24px 22px;
  overflow: auto;
  box-shadow: 0 12px 32px #10182838;
}

.ack-dialog::backdrop {
  background: #0f13198c;
}

.ack-body {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.ack-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  display: flex;
}

.ack-title {
  letter-spacing: -.015em;
  font-size: 20px;
  font-weight: 700;
}

.ack-points {
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.ack-point {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.ack-icon {
  background: var(--accent-soft);
  width: 32px;
  height: 32px;
  color: var(--accent);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ack-point-title {
  font-size: 14px;
  font-weight: 600;
}

.ack-point-body {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ack-agree {
  border-top: 1px solid var(--border);
  cursor: pointer;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  display: flex;
}

.ack-agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
  margin: 1px 0 0;
}

.ack-agree a {
  color: var(--accent);
}

.ack-agree a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.ack-continue {
  min-height: 44px;
}

.btn {
  border-radius: var(--radius-pill);
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-accent:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-quiet {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  min-height: 40px;
  padding: 8px 18px;
  font-weight: 600;
}

.btn-quiet:hover:not(:disabled) {
  background: var(--surface-muted);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13.5px;
}

.btn-lg {
  min-height: 52px;
  padding: 12px 40px;
  font-size: 17px;
}

.proto-strip {
  background: var(--chrome);
  min-height: 32px;
  color: var(--on-chrome);
  border-bottom: 4px solid var(--yellow);
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  font-size: 12.5px;
  display: flex;
}

.proto-strip b {
  color: var(--yellow);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}

.topbar {
  z-index: 2;
  background: var(--bg);
  border-bottom: 4px solid var(--yellow);
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 0 28px;
  display: flex;
  position: relative;
  box-shadow: 0 2px 6px #00000014;
}

.topbar-logo {
  width: auto;
  height: 56px;
  display: block;
}

.topbar-run {
  align-items: center;
  gap: 14px;
  display: flex;
}

.topbar-run-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.discs {
  gap: 7px;
  display: flex;
}

.disc {
  background: var(--disc-idle);
  width: 34px;
  height: 34px;
  color: var(--disc-text);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}

.disc.is-done {
  background: var(--disc-done);
}

.disc.is-here {
  background: var(--disc-done);
  box-shadow: 0 0 0 2px var(--bg),
    0 0 0 4px var(--disc-done);
}

.disc.is-again {
  background: var(--bg);
  color: var(--disc-again-text);
  box-shadow: inset 0 0 0 2px var(--disc-done);
}

.topbar-nav {
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.topbar-btn {
  border-radius: var(--radius-box);
  background: var(--topbar-tile);
  min-height: 46px;
  color: var(--on-chrome);
  white-space: nowrap;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 15.5px;
  display: inline-flex;
}

.topbar-btn:hover:not(:disabled) {
  box-shadow: 0 4px 4px #00000029;
}

.topbar-btn.is-on {
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.topbar-btn img {
  flex: none;
  display: block;
}

.topbar-btn-icon {
  display: contents;
}

.topbar-count {
  opacity: .85;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.topbar-stop {
  margin-left: 12px;
}

.topbar-stop-icon {
  color: #e9ebeb;
  opacity: .55;
  flex: none;
  display: block;
}

.setup-page {
  flex: 1;
  min-height: calc(100dvh - 124px);
  padding: 56px 64px 168px;
  position: relative;
}

.setup-page:after {
  content: "";
  background: linear-gradient(var(--scene-counter-top), var(--scene-counter-mid));
  border-top: 4px solid var(--scene-counter-edge);
  height: 110px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.setup-page > .alert {
  max-width: 620px;
  margin: 0 auto 16px;
}

.setup {
  z-index: 1;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.setup-title {
  font-family: var(--font-title);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
}

.setup-intro {
  color: var(--text-muted);
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.setup-intro + .setup-intro {
  margin-top: -12px;
}

.setup-label {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  display: block;
}

.setup-hint {
  color: var(--text-muted);
  margin: 10px 0 0;
  font-size: 14px;
}

.setup-title, .setup-mode {
  text-align: center;
}

.setup-start {
  align-self: center;
  min-width: 240px;
}

.setup-dev {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.setup-persona {
  align-items: center;
  gap: 10px;
  display: flex;
}

.setup-persona-name {
  font-weight: 700;
}

.segmented {
  border-radius: var(--radius-pill);
  background: var(--tray);
  border: 0;
  gap: 4px;
  padding: 4px;
  display: inline-flex;
  overflow: visible;
}

.segmented button {
  border-radius: var(--radius-pill);
  min-height: 44px;
  color: var(--text);
  background: none;
  border: 0;
  flex: none;
  padding: 0 24px;
  font-size: 16px;
}

.segmented button + button {
  border-left: 0;
}

.segmented button[aria-pressed="true"] {
  background: var(--chrome);
  color: var(--on-chrome);
  font-weight: 700;
}

.stage {
  flex-direction: column;
  height: calc(100dvh - 124px);
  min-height: 600px;
  display: flex;
}

.stage-row {
  flex: 1;
  min-height: 0;
  display: flex;
}

.stage-scene {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 761px) {
  .stage-scene {
    container: stage / size;
  }
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scene-backdrop {
  background: radial-gradient(90% 60% at 72% 34%,
    var(--scene-wall-top) 0%,
    var(--scene-wall-bottom) 75%);
  position: absolute;
  inset: 0;
}

.scene-shelf {
  background: var(--scene-shelf);
  border-bottom: 1px solid var(--border);
  height: 10px;
  position: absolute;
  top: 34%;
  left: 0;
  right: 0;
}

.scene-shelf + .scene-shelf {
  top: 52%;
}

.scene-customer {
  --cust-right: clamp(24px, calc(36cqw - 230px), 280px);
  right: var(--cust-right);
  height: min(440px, 100cqh - 170px);
  position: absolute;
  bottom: 96px;
}

.scene-cutout {
  width: auto;
  height: 100%;
  display: block;
}

.scene-bubble {
  --bubble-depth: 1.95;
  right: calc((1 - var(--head-left, .3)) * 100% + 30px);
  bottom: calc((1 - var(--head-top, .03) - .17 * var(--bubble-depth)) * 100%);
  z-index: 41;
  border: 1px solid var(--bubble-edge);
  border-radius: var(--radius-bubble);
  background: var(--bubble-bg);
  width: max-content;
  max-width: min(320px, 38cqw);
  color: var(--text);
  filter: var(--bubble-shadow);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.35;
  position: absolute;
}

.scene.is-holding .scene-bubble {
  max-width: min(320px, 38cqw, var(--bubble-room, 320px));
}

.scene.is-cramped .scene-bubble, .scene-bubble[hidden] {
  display: none;
}

.scene-bubble:before, .scene-bubble:after {
  content: "";
  clip-path: polygon(0 0, 100% 0, 0 100%);
  position: absolute;
  left: 100%;
}

.scene-bubble:before {
  background: var(--bubble-edge);
  width: 26px;
  height: 16px;
  bottom: 15px;
}

.scene-bubble:after {
  background: var(--bubble-bg);
  width: 24px;
  height: 14px;
  bottom: 16px;
}

.scene-counter {
  background: linear-gradient(var(--scene-counter-top), var(--scene-counter-mid));
  border-top: 4px solid var(--scene-counter-edge);
  height: 132px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.scene {
  --counter-h: 132px;
  --edge: 32px;
  --goods-w: 104px;
  --goods-h: 86px;
  --item-gap: 28px;
}

.scene-goods {
  z-index: 2;
  right: var(--edge);
  bottom: calc((var(--counter-h) - 4px - var(--goods-h)) / 2);
  width: var(--goods-w);
  height: var(--goods-h);
  object-fit: contain;
  filter: drop-shadow(0 4px 5px #00000059);
  position: absolute;
}

.scene-title {
  z-index: 3;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 50%;
  font-family: var(--font-title);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0;
  font-size: clamp(26px, 3.4cqw, 40px);
  font-weight: 900;
  line-height: 1.15;
  position: absolute;
  top: 32px;
  left: 48px;
  overflow: hidden;
}

.voice {
  z-index: 3;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  display: flex;
  position: absolute;
  top: 20px;
  right: 32px;
}

.voice-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.voice-row .btn {
  white-space: nowrap;
}

.voice-chip {
  border-radius: var(--radius-pill);
  background: var(--surface);
  height: 34px;
  color: var(--text);
  box-shadow: var(--shadow);
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 14px;
  display: inline-flex;
}

.voice-mute {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--text);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.voice-mute.is-muted {
  background: var(--chrome);
  color: var(--on-chrome);
}

.voice-hint {
  border-radius: var(--radius-sm);
  background: var(--surface);
  max-width: 260px;
  color: var(--text-muted);
  text-align: right;
  margin: 0;
  padding: 6px 10px;
  font-size: 12.5px;
}

.alert-info {
  color: var(--text);
}

.scene-foot {
  z-index: 3;
  pointer-events: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  display: flex;
  position: absolute;
  bottom: 34px;
  left: 48px;
  right: 48px;
}

.scene-foot > * {
  pointer-events: auto;
}

.scene-notes {
  flex-direction: column;
  gap: 8px;
  max-width: min(560px, 55cqw);
  display: flex;
}

.scene-notes .alert {
  box-shadow: var(--shadow);
  margin: 0;
}

.decide {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  display: flex;
}

@container stage (min-width: 1100px) {
  .decide:not(.is-prominent) {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}

.decide-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.decide-buttons {
  flex-wrap: wrap;
  gap: 14px;
  display: flex;
}

.btn-decide {
  background: var(--decide);
  min-height: 48px;
  color: var(--decide-text);
  padding: 0 24px;
  font-size: 16px;
}

.btn-decide:hover:not(:disabled) {
  background: var(--decide-hover);
}

.id-hand {
  --down-scale: .42;
  --down-rot: -6deg;
  --mat-pad: 14px;
  --hold-w: 76px;
  --pair-gap: 16px;
  --card-bw: calc((var(--card-w) * .9945 + var(--card-h) * .1045) * var(--down-scale));
  --card-bh: calc((var(--card-h) * .9945 + var(--card-w) * .1045) * var(--down-scale));
  --mat-h: calc(var(--card-bh) + 2 * var(--mat-pad));
  --mat-bottom: calc((var(--counter-h) - 4px - var(--mat-h)) / 2);
  --mat-top: calc(100cqh - var(--mat-bottom) - var(--mat-h));
  --mat-right: calc(100cqw - var(--edge) - var(--goods-w) - var(--item-gap));
  --counter-x: calc(var(--mat-right) - var(--mat-pad) - var(--hold-w) - var(--pair-gap) - var(--card-bw));
  --held-x: 48px;
  --held-y: 96px;
  --held-scale: 1.15;
  --card-w: 320px;
  --card-h: 172px;
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.id-hand > * {
  pointer-events: auto;
}

.id-grab {
  display: none;
}

.id-card {
  transform-origin: 0 0;
  transform: translate(var(--counter-x),
      calc(var(--mat-top) + var(--mat-pad) + var(--card-w) * var(--down-scale) * .1045))
    rotate(var(--down-rot)) scale(var(--down-scale));
  position: absolute;
  top: 0;
  left: 0;
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .id-hand.is-lifting .id-card {
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  }
}

.id-hand.is-held .id-card {
  transform: translate(var(--held-x), var(--held-y)) rotate(-3deg) scale(var(--held-scale));
}

.id-mat {
  width: calc(var(--mat-right) - var(--counter-x) + var(--mat-pad));
  height: var(--mat-h);
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  background: var(--surface-muted);
  transform: translate(calc(var(--counter-x) - var(--mat-pad)), var(--mat-top));
  pointer-events: none;
  border-radius: 14px;
  position: absolute;
  top: 0;
  left: 0;
}

.id-hand.is-held .id-mat {
  display: none;
}

.id-hand:not(.is-held) .id-tools .btn {
  width: var(--hold-w);
  justify-content: center;
  padding: 0;
}

@container stage (max-width: 939px) {
  .scene-foot {
    bottom: 14px;
  }

  .decide:not(.is-prominent) .decide-label {
    display: none;
  }

  .decide-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .decide .btn-decide {
    min-height: 44px;
  }
}

@container stage (max-width: 800px) {
  .scene-foot {
    left: 32px;
  }

  .scene {
    --edge: 24px;
    --goods-w: 88px;
    --goods-h: 72px;
    --item-gap: 24px;
  }
}

@container stage (max-height: 560px) {
  .id-hand {
    --held-y: 84px;
    --held-scale: 1;
  }

  .scene-title {
    font-size: clamp(24px, 2.8cqw, 32px);
    top: 22px;
  }
}

@container stage (max-height: 485px) {
  .id-hand {
    --held-x: 40px;
    --held-y: 72px;
    --held-scale: .85;
  }
}

.id-tools {
  width: 420px;
  transform: translate(calc(var(--mat-right) - var(--mat-pad) - var(--hold-w)),
    calc(var(--mat-top) + var(--mat-h) / 2 - 21px));
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.id-hand.is-held .id-tools {
  transform: translate(calc(var(--held-x) + 16px),
    calc(var(--held-y) + var(--card-h) * var(--held-scale) + 24px));
  animation: .2s .3s both id-tools-in;
}

.id-feel {
  border-radius: var(--radius-bubble);
  background: var(--surface);
  color: var(--text);
  filter: drop-shadow(1px 1px 2px #00000040);
  flex: 1 0 100%;
  margin: 4px 0 0;
  padding: 10px 14px;
  font-weight: 700;
}

.credential-fields, .credential-photo {
  transition: filter .3s .1s, opacity .3s .1s;
}

.credential-down .credential-fields, .credential-down .credential-photo {
  filter: blur(3.5px);
  opacity: .75;
}

@keyframes id-tools-in {
  from {
    opacity: 0;
    transform: translate(calc(var(--held-x) + 16px),
      calc(var(--held-y) + var(--card-h) * var(--held-scale) + 30px));
  }
}

@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
}

.scoring {
  z-index: 60;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  position: absolute;
  inset: 0;
}

.scoring-dots {
  gap: 10px;
  display: flex;
}

.scoring-dot {
  background: var(--disc-done);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: 1.2s ease-in-out infinite voice-breathe;
}

.scoring-dot:nth-child(2) {
  animation-delay: .2s;
}

.scoring-dot:nth-child(3) {
  animation-delay: .4s;
}

.scoring-title {
  font-family: var(--font-title);
  text-transform: uppercase;
  color: var(--heading);
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.scoring-sub {
  color: var(--text-muted);
  margin: 0;
}

.transcript-panel {
  background: var(--tray);
  border-left: 1px solid var(--border);
  flex-direction: column;
  flex: none;
  width: 340px;
  min-height: 0;
  display: none;
}

.transcript-panel.is-open {
  display: flex;
}

.transcript-panel-head {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
  display: flex;
}

.transcript-panel-title {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.transcript-panel-toggle {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  width: 36px;
  height: 36px;
  color: var(--text);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.transcript-panel-show {
  display: none;
}

.transcript-panel-body {
  flex: 1;
  min-height: 0;
  display: flex;
}

.transcript {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 0 16px 16px;
  display: flex;
  overflow-y: auto;
}

.bubble-row {
  display: flex;
}

.bubble-row.employee {
  justify-content: flex-end;
}

.bubble {
  border-radius: var(--radius);
  background: var(--surface);
  max-width: 88%;
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.bubble-speaker {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  display: block;
}

.typing {
  color: var(--text-muted);
  margin: 0;
  font-size: 13px;
}

.inputbar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex: none;
  align-items: flex-end;
  gap: 14px;
  padding: 14px 48px 16px;
  display: flex;
}

.inputbar-field {
  flex-direction: column;
  flex: 1;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.inputbar-label {
  font-size: 15px;
  font-weight: 700;
}

.inputbar textarea {
  resize: vertical;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-box);
  background: var(--surface);
  width: 100%;
  min-height: 52px;
  color: var(--text);
  font: 400 16px/1.4 var(--font-body);
  padding: 10px 12px;
}

.inputbar textarea:focus {
  outline: 2px solid var(--link);
  outline-offset: 1px;
}

.inputbar-hint {
  color: var(--text-muted);
  font-size: 12.5px;
}

.inputbar .btn-primary {
  margin-bottom: 22px;
}

.results-page {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.ack-dialog {
  border: 0;
  border-top: 10px solid var(--yellow);
  border-radius: 0;
  padding: 0;
}

.ack-body {
  padding: 26px 30px 28px;
}

.ack-title {
  font-family: var(--font-title);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--heading);
  font-size: 30px;
  font-weight: 900;
}

.ack-icon {
  background: var(--chrome);
  color: var(--on-chrome);
  border-radius: 50%;
}

.ack-fiction {
  color: var(--text-muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .topbar-btn {
    justify-content: center;
    width: 46px;
    padding: 0;
  }

  .topbar-btn-label, .topbar-count {
    clip: rect(0 0 0 0);
    white-space: nowrap;
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }

  .topbar-stop {
    margin-left: 0;
  }

  .topbar-nav {
    align-items: flex-start;
    gap: 8px;
  }

  .topbar-btn.topbar-btn-captioned {
    width: 70px;
    min-height: 0;
    color: var(--heading);
    background: none;
    flex-direction: column;
    gap: 4px;
    padding: 0;
  }

  .topbar-btn-captioned .topbar-btn-icon {
    border-radius: var(--radius-box);
    background: var(--topbar-tile);
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    display: flex;
  }

  .topbar-btn-captioned:hover:not(:disabled), .topbar-btn-captioned.is-on {
    box-shadow: none;
  }

  .topbar-btn-captioned:hover:not(:disabled) .topbar-btn-icon {
    box-shadow: 0 4px 4px #00000029;
  }

  .topbar-btn-captioned.is-on .topbar-btn-icon {
    box-shadow: inset 0 0 0 2px var(--yellow);
  }

  .topbar-btn-captioned .topbar-btn-label {
    clip: auto;
    width: auto;
    height: auto;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    position: static;
    overflow: visible;
  }
}

.topbar-btn-short {
  display: none;
}

@media (max-width: 520px) {
  .discs {
    display: none;
  }

  .topbar-run-label {
    flex-direction: column;
    gap: 3px;
    line-height: 1;
    display: flex;
  }

  .topbar-run-count {
    color: var(--heading);
    font-size: 15px;
  }

  .topbar-nav {
    gap: 8px;
  }

  .topbar-btn.topbar-btn-captioned {
    width: 56px;
  }

  .topbar-nav .topbar-btn-captioned .topbar-btn-icon {
    width: 40px;
    height: 40px;
  }

  .topbar-btn-captioned .topbar-btn-short {
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    display: block;
  }

  .topbar-btn-short ~ .topbar-btn-label {
    clip: rect(0 0 0 0);
    white-space: nowrap;
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .topbar-btn.topbar-btn-captioned {
    width: 52px;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .stage {
    height: auto;
    min-height: 0;
  }

  .stage-row {
    display: contents;
  }

  .stage-scene {
    flex: none;
    height: max(460px, 100dvh - 124px);
  }

  .stage.is-text .stage-scene {
    height: max(460px, 100dvh - 276px);
  }

  .transcript-panel {
    border-left: 0;
    border-top: 1px solid var(--border);
    order: 1;
    width: auto;
  }

  .transcript-panel-body {
    max-height: 50vh;
  }
}

@media (max-width: 760px) {
  .proto-strip {
    padding: 0 14px;
    font-size: 11.5px;
  }

  .topbar {
    gap: 10px;
    min-height: 72px;
    padding: 0 12px;
  }

  .topbar-logo {
    height: 44px;
  }

  .topbar-run {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .topbar-run-label {
    font-size: 11px;
  }

  .discs {
    gap: 8px;
  }

  .disc {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .topbar-nav {
    gap: 6px;
  }

  .topbar-btn {
    width: 40px;
    min-height: 40px;
  }

  .topbar-btn-captioned .topbar-btn-icon {
    width: 40px;
    height: 40px;
  }

  .setup-page {
    padding: 28px 20px 140px;
  }

  .setup-title {
    font-size: 32px;
  }

  .setup-intro {
    font-size: 16px;
  }

  .segmented {
    display: flex;
  }

  .segmented button {
    flex: 1;
  }

  .setup-start {
    align-self: stretch;
  }

  .stage {
    height: auto;
    min-height: 0;
  }

  .stage-row {
    flex-direction: column;
  }

  .stage-scene {
    flex-direction: column;
    display: flex;
    overflow: visible;
  }

  .scene {
    height: 56vh;
    min-height: 340px;
    max-height: 520px;
    position: relative;
    inset: auto;
    container-type: normal;
  }

  .scene-customer {
    height: calc(100% - 110px);
    bottom: 70px;
    right: 12px;
  }

  .scene-bubble {
    --bubble-depth: 1.7;
    max-width: 180px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .scene-counter {
    height: 84px;
  }

  .scene {
    --counter-h: 84px;
    --edge: 16px;
    --goods-w: 72px;
    --goods-h: 56px;
    --item-gap: 20px;
  }

  .scene-title {
    order: -1;
    max-width: none;
    padding: 14px 16px 2px;
    font-size: 24px;
    position: static;
  }

  .voice {
    align-items: flex-start;
    padding: 12px 16px 0;
    position: static;
  }

  .voice-hint {
    text-align: left;
  }

  .scene-foot {
    pointer-events: auto;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
    position: static;
  }

  .decide {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-decide {
    width: 100%;
    padding: 0 16px;
    font-size: 15px;
  }

  .scoring {
    position: fixed;
  }

  .id-hand {
    --down-scale: .28;
    --mat-pad: 10px;
    --hold-w: 60px;
    --hold-h: 36px;
    --pair-gap: 10px;
    --mat-right-x: calc(var(--edge) + var(--goods-w) + var(--item-gap));
    --mat-w: calc(var(--mat-pad) * 2 + var(--card-bw) + var(--pair-gap) + var(--hold-w));
  }

  .id-mat {
    top: auto;
    left: auto;
    right: var(--mat-right-x);
    bottom: var(--mat-bottom);
    width: var(--mat-w);
    transform: none;
  }

  .id-card {
    top: auto;
    bottom: calc(var(--mat-bottom) + var(--mat-pad));
    left: calc(100% - var(--mat-right-x) - var(--mat-w) + var(--mat-pad) + var(--card-h) * var(--down-scale) *
        .1045);
    transform-origin: 0 100%;
    transform: rotate(var(--down-rot)) scale(var(--down-scale));
    transition: none;
  }

  .id-tools {
    top: auto;
    left: calc(100% - var(--mat-right-x) - var(--mat-pad) - var(--hold-w));
    bottom: calc(var(--mat-bottom) + (var(--mat-h) - var(--hold-h)) / 2);
    width: auto;
    transform: none;
  }

  .id-hand:not(.is-held) .id-tools .btn {
    height: var(--hold-h);
    min-height: 0;
    font-size: 14px;
  }

  .id-hand.is-held {
    z-index: 40;
    background: var(--surface);
    border-radius: 16px 16px 0 0;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-height: 70vh;
    padding: 8px 16px 20px;
    animation: .28s ease-out sheet-up;
    display: flex;
    position: fixed;
    inset: auto 0 0;
    overflow: auto;
    box-shadow: 0 -12px 32px #00000047;
  }

  .id-hand.is-held .id-grab {
    background: var(--border);
    border-radius: 3px;
    width: 44px;
    height: 5px;
    display: block;
  }

  .id-hand.is-held .id-card, .id-hand.is-held .id-tools {
    position: static;
    transform: none;
  }

  .id-hand.is-held .id-tools {
    flex-wrap: wrap;
    width: 100%;
    animation: none;
  }

  .id-hand.is-held .id-tools .btn {
    white-space: nowrap;
    flex: 1;
    padding: 0 12px;
  }

  .id-hand.is-held .id-feel {
    order: -1;
    margin: 0;
  }

  .transcript-panel {
    border-left: 0;
    border-top: 1px solid var(--border);
    width: auto;
    display: flex;
  }

  .transcript-panel-head {
    padding: 10px 16px;
  }

  .transcript-panel-show {
    display: inline;
  }

  .transcript-panel-close {
    display: none;
  }

  .transcript-panel-toggle {
    background: none;
    border: 0;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 6px 0;
    font-weight: 700;
    text-decoration: underline;
  }

  .transcript-panel-body {
    max-height: 50vh;
  }

  .inputbar {
    padding: 12px 16px 16px;
  }

  .inputbar-keys {
    display: none;
  }

  .results-page {
    padding: 20px 14px 40px;
  }

  .page:has( > .stage) {
    height: var(--app-height, 100dvh);
    flex-direction: column;
    display: flex;
    overflow-y: auto;
  }

  .page:has( > .stage) > .stage {
    flex: 1;
    min-height: 0;
  }

  .stage-row {
    flex: 1;
    min-height: 0;
  }

  .stage-scene {
    flex: none;
  }

  .stage-row:not(:has(.transcript-panel.is-open)) .stage-scene {
    flex: 1;
    min-height: 0;
  }

  .stage-row:not(:has(.transcript-panel.is-open)) .scene {
    flex: 1;
    height: auto;
    max-height: none;
  }

  .stage-row:not(:has(.transcript-panel.is-open)) .scene-customer {
    height: clamp(230px, 56vh - 110px, 410px);
  }

  .stage-row:not(:has(.transcript-panel.is-open)) .scene-bubble {
    max-width: min(180px, calc(100vw - 50px - (1 - var(--head-left, .3)) * 100%));
  }

  .page:has(.id-hand.is-held) > .stage {
    padding-bottom: var(--held-sheet, 250px);
  }

  .scene-foot {
    z-index: 2;
    background: var(--bg);
    padding: 10px 12px;
    position: relative;
    inset: auto;
    box-shadow: 0 2px 6px #0000001a;
  }

  .decide:not(.is-prominent) .decide-label {
    display: none;
  }

  .decide-buttons {
    flex-direction: row;
    gap: 8px;
  }

  .btn-decide {
    white-space: normal;
    flex: 1;
    width: auto;
    min-height: 48px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.2;
  }

  .transcript-panel.is-open {
    border-top: 0;
    flex: 1;
    min-height: 0;
  }

  .transcript-panel-head {
    display: none;
  }

  .transcript-panel-body {
    max-height: none;
    position: relative;
  }

  .transcript-panel-body:before {
    content: "";
    z-index: 1;
    background: linear-gradient(var(--tray), transparent);
    pointer-events: none;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .transcript {
    padding-top: 14px;
  }

  .inputbar {
    align-items: center;
    gap: 10px;
    padding: 8px 12px 10px;
  }

  .inputbar-label {
    clip: rect(0 0 0 0);
    white-space: nowrap;
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }

  .inputbar textarea {
    resize: none;
    height: 64px;
    min-height: 0;
  }

  .inputbar-hint {
    display: none;
  }

  .inputbar .btn-primary {
    margin-bottom: 0;
  }

  .stage-row:has(.transcript-panel.is-open) .scene {
    height: 220px;
    min-height: 0;
    max-height: none;
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .scene-title {
    z-index: 3;
    order: 0;
    padding: 0;
    font-size: 15px;
    position: absolute;
    top: 10px;
    left: 14px;
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .scene-customer {
    height: 300px;
    top: 12px;
    bottom: auto;
    right: 16px;
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .scene-bubble {
    max-width: min(200px, 100vw - 100% - 14px);
    top: 22px;
    bottom: auto;
    right: calc(100% - 16px);
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .scene-counter {
    height: 52px;
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .scene {
    --counter-h: 52px;
    --goods-w: 40px;
    --goods-h: 40px;
    --item-gap: 16px;
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .id-hand {
    --down-scale: .15;
    --mat-pad: 6px;
    --hold-w: 52px;
    --hold-h: 30px;
    --pair-gap: 8px;
  }

  .stage-row:is(:has(.transcript-panel.is-open), :has(.id-hand.is-held)) .id-hand:not(.is-held) .id-tools .btn {
    font-size: 13px;
  }

  .stage-row:has(.id-hand.is-held) .transcript-panel {
    display: none;
  }

  .stage-row:has(.id-hand.is-held) .stage-scene {
    flex: 1;
    min-height: 0;
  }

  .stage-row:has(.id-hand.is-held) .scene {
    flex: 1 1 0;
    height: auto;
    min-height: 120px;
    max-height: none;
  }
}

@media (max-width: 400px) {
  .discs {
    display: none;
  }

  .topbar {
    gap: 8px;
    padding: 0 10px;
  }

  .topbar-logo {
    height: 40px;
  }

  .topbar-btn {
    width: 36px;
  }

  .topbar-nav {
    gap: 6px;
  }

  .topbar-btn-captioned .topbar-btn-icon {
    width: 36px;
  }

  .id-hand.is-held .id-card {
    zoom: .86;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .id-hand.is-held .id-card {
    zoom: .8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .id-card, .credential-fields, .credential-photo {
    transition: none;
  }

  .id-hand.is-held .id-tools, .id-hand.is-held {
    animation: none;
  }
}

.results-page .card {
  border-radius: var(--radius-box);
}

.card-header .result-headline {
  font-family: var(--font-title);
  letter-spacing: 0;
  color: var(--heading);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.verdict {
  font-family: var(--font-title);
  letter-spacing: .08em;
  color: #fff;
  padding: 7px 16px;
  font-size: 15px;
  font-weight: 900;
}

.verdict.pass {
  background: var(--ok);
  color: #fff;
}

.verdict.fail {
  background: var(--primary);
  color: #fff;
}

.next-step-panel {
  background: var(--band);
  border-radius: var(--radius-box);
  border: 0;
}

.next-step-panel .field-label {
  color: var(--heading);
}

.next-step-text {
  font-weight: 700;
}

.next-step-icon {
  background: var(--heading);
}

.result-body .cat {
  border: 1px solid var(--border);
  border-radius: var(--radius-box);
  background: var(--surface);
  gap: 0;
}

.result-body .cat-summary {
  cursor: pointer;
  padding: 14px 44px 12px 16px;
  list-style: none;
  display: block;
  position: relative;
}

.result-body .cat-summary::-webkit-details-marker {
  display: none;
}

.result-body .cat-chevron {
  color: var(--text-muted);
  transition: transform .2s;
  display: flex;
  position: absolute;
  top: 16px;
  right: 16px;
}

.result-body .cat[open] .cat-chevron {
  transform: rotate(90deg);
}

.result-body .cat .check-list, .result-body .cat .na-group {
  margin: 0 16px 14px;
}

.result-body .meter-label {
  color: var(--text);
  font-size: 13px;
}

.result-body .meter-fail .meter-count, .result-body .meter-fail .meter-status {
  color: var(--fail);
}

.result-body .meter-pass .meter-fill {
  background: var(--ok);
}

.result-body .meter-fail .meter-fill {
  background: var(--primary);
}

.result-body .meter-track {
  background: var(--tray);
  border: 0;
  height: 12px;
}

.result-body .meter-mark {
  opacity: 1;
}

.critical {
  border-radius: var(--radius-bubble);
  background: var(--primary);
  color: #fff;
  border: 0;
}

.critical h3 {
  color: #fff;
  font-family: var(--font-title);
  letter-spacing: .08em;
  font-weight: 900;
}

.critical ul {
  color: #fff;
}

.critical-note {
  margin-top: 8px;
  font-size: 13px;
}

.later {
  border-top: 1px dashed var(--border-strong);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
}

.later h2 {
  font-family: var(--font-title);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.later .sub {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 14px;
}

.later .btn {
  white-space: nowrap;
}

.results-page .later + .card, .results-page .card + .later {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .card-header .result-headline {
    font-size: 22px;
  }

  .later .btn {
    width: 100%;
  }
}

.drawer-panel {
  border-left: 0;
  box-shadow: -12px 0 40px #0000004d;
}

.drawer-head {
  border-bottom: 4px solid var(--yellow);
  background: var(--chrome);
  color: var(--on-chrome);
  align-items: center;
}

.drawer-head h2 {
  font-family: var(--font-title);
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 900;
}

.drawer-head .sub {
  color: var(--on-chrome);
  opacity: .85;
}

.drawer-close {
  width: 36px;
  height: 36px;
  color: var(--on-chrome);
  border: 1px solid #ffffff59;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.drawer-close:hover {
  color: var(--on-chrome);
  background: #ffffff1f;
}

.policy-facts .pill {
  border-radius: var(--radius-box);
  background: var(--yellow);
  color: var(--on-yellow);
  letter-spacing: .02em;
  border: 0;
  padding: 5px 11px;
  font-size: 12.5px;
}

.policy-credentials {
  border-radius: var(--radius-box);
  background: var(--band);
  border: 0;
}

.policy-credentials-label {
  color: var(--heading);
}

.tips-sections {
  gap: 0;
}

.tips-card {
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
}

.tips-card:last-child {
  border-bottom: 1px solid var(--border);
}

.tips-head {
  padding: 12px 2px;
}

.tips-head:hover, .tips-head[aria-expanded="true"] {
  background: none;
}

.tips-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.bubble.employee {
  background: var(--accent-soft);
}

.bubble.employee .bubble-speaker {
  color: var(--accent);
}

.assessment-running .scoring-dot {
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .credential, .credential-face {
    transition: none;
  }
}

.result-body .check {
  gap: 12px;
}

.result-body .check .verdict-tag {
  text-align: center;
  flex: none;
  min-width: 64px;
}

.credential-photo, .credential-face {
  position: relative;
}

.credential-sweep, .credential-edge, .credential-sheen {
  z-index: 2;
  pointer-events: none;
  position: absolute;
}

.credential-sweep {
  background: radial-gradient(circle, #fff 0, #ffffffd9 14%, #fff6 26%, #0000 40%);
  animation: .9s ease-in-out both credential-sweep;
  inset: -40% -30%;
}

.credential-sheen {
  background: linear-gradient(105deg, #0000 40%, #ffffffbf 47%, #ffffffe6 50%, #ffffffbf 53%, #0000 60%) 0 0 / 300% 100% no-repeat;
  animation: .9s ease-in-out both credential-sheen;
  inset: 0;
}

.credential-edge {
  border-radius: inherit;
  animation: .9s ease-out both credential-edge;
  inset: 0;
}

@keyframes credential-sweep {
  from {
    opacity: 0;
    transform: translateX(-80%);
  }

  12%, 85% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translateX(80%);
  }
}

@keyframes credential-sheen {
  from {
    opacity: 0;
    background-position: 100% 0;
  }

  15%, 80% {
    opacity: 1;
  }

  to {
    opacity: 0;
    background-position: 0 0;
  }
}

@keyframes credential-edge {
  0%, 25%, 100% {
    box-shadow: none;
  }

  45%, 65% {
    box-shadow: inset 0 0 0 3px #fff, inset -5px -5px 0 4px #0006;
  }
}

@keyframes credential-sweep-still {
  from, to {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .credential-sweep, .credential-sheen {
    background: #ffffff73;
    animation-name: credential-sweep-still;
    inset: 0;
  }
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0tq5a-2._.css.map*/