@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/_astro/fraunces-vietnamese-wght-normal.CnvboYUG.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/_astro/fraunces-latin-ext-wght-normal.Ca2vKHc0.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/_astro/fraunces-latin-wght-normal.ukD16Tqj.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilm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PkfpthCGpTKG+oA/DQfsKKvxhScqaN6FuElAUtTKv2UYgOmQegsN/n7njHUju8wM4VTcm+Q8xfX9SFwjTzdVqu95UOWSIGOabH8OGBEba//8Yxl3GcPdP/dMBOoSX/0z5SZmBoLbaPs+9asaMpb36yknKaw6FqWZa6A5vDa02mhkOba1q6KtLV208xrkwmW5C4VD6n2fvRjADy2qDYYnNy+H10Fq0LMbNzS863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/_astro/manrope-cyrillic-wght-normal.Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/_astro/manrope-greek-wght-normal.DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/_astro/manrope-vietnamese-wght-normal.usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/_astro/manrope-latin-ext-wght-normal.Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/_astro/manrope-latin-wght-normal.DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #f6efe3;--surface: #fffdf9;--surface-2: #f1e8d8;--fg: #1b2329;--muted: #55606a;--line: #dccfba;--primary: #12344d;--accent: #d9694f;--good: #2f7d4f;--bad: #b34233;--warn: #b07a1e;--shadow: 0 1px 2px rgba(11, 34, 51, .06), 0 4px 16px rgba(11, 34, 51, .06);--radius: 12px;--side-bg: #0b2233;--side-fg: #f6efe3;--side-muted: #b9c2cb;--side-line: rgba(246, 239, 227, .14);color-scheme:light}@media(prefers-color-scheme:dark){:root{--bg: #0e1c26;--surface: #122836;--surface-2: #16303f;--fg: #eef2f5;--muted: #a7b5c0;--line: #24404f;--primary: #7fb2d1;--accent: #e5826b;--good: #6fd39b;--bad: #f28a7b;--warn: #e6b865;--shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 20px rgba(0, 0, 0, .25);--side-bg: #0a1b27;--side-fg: #f1f4f6;--side-muted: #b3bfc8;--side-line: rgba(241, 244, 246, .14);color-scheme:dark}}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--fg);font-family:Manrope Variable,Manrope,system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:Fraunces Variable,Fraunces,Georgia,serif;font-weight:600;letter-spacing:-.01em;line-height:1.2;margin:0}a{color:inherit}img{max-width:100%;display:block}:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh;min-height:100dvh}.side{background:var(--side-bg);color:var(--side-fg);display:flex;flex-direction:column;gap:8px;padding:24px 16px;position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto}.side .brand{display:flex;align-items:center;gap:12px;padding:0 8px 16px;margin-bottom:8px;border-bottom:1px solid var(--side-line);color:var(--side-fg);text-decoration:none}.side .brand img{width:36px;height:36px;border-radius:8px;object-fit:cover;flex:none}.side .brand .brand-text{display:flex;flex-direction:column;line-height:1.2;min-width:0}.side .brand .brand-name{font-family:Fraunces Variable,Fraunces,Georgia,serif;font-size:15px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side .brand .brand-sub{font-size:12px;color:var(--side-muted);letter-spacing:.04em;text-transform:uppercase}.side nav{display:flex;flex-direction:column;gap:2px}.side a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:var(--side-muted);text-decoration:none;font-size:14px;font-weight:500;border-left:3px solid transparent;transition:background-color .14s ease,color .14s ease;white-space:nowrap}.side a:hover{color:var(--side-fg);background:#f6efe30f}.side a .ico{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:none;opacity:.85}.side a[aria-current=page]{color:var(--side-fg);background:#f6efe314;border-left-color:var(--accent)}.side a[aria-current=page] .ico{opacity:1}.side .foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--side-line)}.side .foot button,.side .foot a.logout{appearance:none;background:none;border:0;padding:8px 12px;margin:0;width:100%;text-align:left;color:var(--side-muted);font:inherit;font-size:14px;cursor:pointer;border-radius:8px;display:flex;align-items:center;gap:10px}.side .foot button:hover,.side .foot a.logout:hover{color:var(--side-fg);background:#f6efe30f}.main{width:100%;max-width:1800px;padding:32px;min-width:0}.head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.head h1{font-size:28px;margin-bottom:4px}.head p.sub{margin:0;color:var(--muted);font-size:14px}.head .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);min-width:0}.kpi .label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600;margin-bottom:8px}.kpi .value{display:block;font-family:Fraunces Variable,Fraunces,Georgia,serif;font-size:32px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}.kpi .delta{display:inline-block;margin-top:8px;font-size:12px;font-weight:600;color:var(--muted)}.kpi .delta.up{color:var(--good)}.kpi .delta.down{color:var(--bad)}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);min-width:0}.card>h2{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-family:Manrope Variable,Manrope,system-ui,sans-serif;font-size:16px;font-weight:600;letter-spacing:0;margin:0 0 16px}.card>h2 span.hint{margin-left:auto;font-size:12px;font-weight:500;color:var(--muted);font-family:Manrope Variable,Manrope,system-ui,sans-serif}.card>h2 .hint{margin-left:auto;font-size:12px;font-weight:500;color:var(--muted)}.bars{display:flex;align-items:flex-end;gap:8px;height:200px;margin-bottom:8px}.bar{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;height:100%;position:relative;outline:none}.bar .stack{display:flex;flex-direction:column-reverse;justify-content:flex-start;height:100%;border-radius:6px;overflow:hidden;background:var(--surface-2)}.bar .seg{display:block;width:100%;background:var(--primary);transition:filter .14s ease}.bar .seg.rev{background:var(--primary)}.bar .seg.cost{background:var(--accent)}.bar .seg.pos{background:var(--good)}.bar .seg.neg{background:var(--bad)}.bar .lbl{display:block;text-align:center;font-size:11px;color:var(--muted);margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar .tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%) translateY(4px);background:var(--fg);color:var(--surface);font-size:11px;font-weight:600;padding:4px 8px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease;z-index:2}.bar:hover .tip,.bar:focus-within .tip{opacity:1;transform:translate(-50%) translateY(0)}.bar:hover .seg,.bar:focus-within .seg{filter:brightness(1.08)}.legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px;font-size:12px;color:var(--muted)}.legend span{display:inline-flex;align-items:center;gap:6px}.legend .sw{width:10px;height:10px;border-radius:3px;display:inline-block;background:var(--primary);flex:none}.legend .sw.rev{background:var(--primary)}.legend .sw.cost{background:var(--accent)}.legend .sw.pos{background:var(--good)}.legend .sw.neg{background:var(--bad)}.meter{position:relative;height:8px;width:100%;background:var(--surface-2);border-radius:999px;overflow:hidden}.meter>span{display:block;height:100%;background:var(--primary);border-radius:inherit;transition:width .2s ease}.meter.low>span{background:var(--bad)}.meter.mid>span{background:var(--warn)}.meter.high>span{background:var(--good)}.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}table.data{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}table.data thead th{position:sticky;top:0;z-index:1;background:var(--surface);color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}table.data tbody td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle}table.data tbody tr:nth-child(2n){background:color-mix(in srgb,var(--surface-2) 45%,transparent)}table.data tbody tr{transition:background-color .12s ease}table.data tbody tr:hover{background:var(--surface-2)}table.data tbody tr:last-child td{border-bottom:0}table.data td.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.6;background:var(--surface-2);color:var(--muted);border:1px solid var(--line);white-space:nowrap}.pill.paid{color:var(--good);background:color-mix(in srgb,var(--good) 12%,transparent);border-color:color-mix(in srgb,var(--good) 30%,transparent)}.pill.checkin{color:var(--primary);background:color-mix(in srgb,var(--primary) 10%,transparent);border-color:color-mix(in srgb,var(--primary) 28%,transparent)}.pill.pending{color:var(--warn);background:color-mix(in srgb,var(--warn) 12%,transparent);border-color:color-mix(in srgb,var(--warn) 30%,transparent)}.pill.cancel{color:var(--muted);background:var(--surface-2);border-color:var(--line)}.pill.noshow{color:var(--bad);background:color-mix(in srgb,var(--bad) 12%,transparent);border-color:color-mix(in srgb,var(--bad) 30%,transparent)}.flag{display:flex;align-items:flex-start;gap:12px;background:color-mix(in srgb,var(--warn) 8%,var(--surface));border:1px solid var(--line);border-left:3px solid var(--warn);border-radius:var(--radius);padding:12px 16px;margin-bottom:24px;font-size:14px;color:var(--fg)}.flag strong{font-weight:600}form{display:block}fieldset{border:0;padding:0;margin:0}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--fg)}label>.muted,label small{font-weight:500}input,select,textarea{font:inherit;font-size:14px;color:var(--fg);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 12px;width:100%;min-height:40px;transition:border-color .14s ease,box-shadow .14s ease}textarea{min-height:96px;resize:vertical;line-height:1.5}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:36px}input:hover,select:hover,textarea:hover{border-color:color-mix(in srgb,var(--line) 60%,var(--muted))}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 20%,transparent)}button{appearance:none;font:inherit;font-size:14px;font-weight:600;color:var(--bg);background:var(--primary);border:1px solid transparent;border-radius:8px;padding:10px 16px;min-height:40px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter .14s ease,background-color .14s ease}@media(prefers-color-scheme:dark){button{color:#0b2233}}button:hover{filter:brightness(1.08)}button:active{filter:brightness(.96)}button.secondary{color:var(--fg);background:var(--surface);border-color:var(--line)}button.secondary:hover{background:var(--surface-2);filter:none}button:disabled{opacity:.55;cursor:not-allowed;filter:none}.row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.row>*{flex:1 1 180px;min-width:0}.muted{color:var(--muted)}.bad{color:var(--bad)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:48px 16px;color:var(--muted);font-size:14px}.empty .empty-title{color:var(--fg);font-weight:600;font-size:15px}@media(max-width:900px){.grid-2{grid-template-columns:minmax(0,1fr)}}@media(max-width:860px){.shell{grid-template-columns:minmax(0,1fr)}.side{position:sticky;top:0;z-index:20;height:auto;flex-direction:row;align-items:center;gap:12px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));overflow:visible}.side .brand{margin:0;padding:0;border:0;flex:1 1 auto;min-width:0}.side .brand img{width:32px;height:32px}.side nav{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--side-bg);border-top:1px solid var(--side-line);padding:6px 4px max(6px,env(safe-area-inset-bottom))}.side a{flex-direction:column;justify-content:center;gap:2px;padding:6px 2px;min-height:52px;font-size:11px;text-align:center;border:0;border-radius:10px;white-space:nowrap}.side a .ico{font-size:18px;margin:0;width:auto}.side a[aria-current=page]{border:0;box-shadow:inset 0 3px 0 var(--accent)}.side .foot{margin:0;padding:0;border:0;flex-direction:row;align-items:center;gap:4px;flex:none}.side .foot a.logout{display:none}.side .foot button{width:auto;padding:8px 10px}.main{padding:16px 16px calc(84px + env(safe-area-inset-bottom))}.head{gap:12px}.head h1{font-size:24px}.head .actions,.head .actions form{width:100%}.head .actions form input[type=file]{min-width:0;flex:1 1 100%}.head .actions form button{flex:1 1 100%}}@media(max-width:600px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:14px}.kpi .value{font-size:22px}.card{padding:16px}.row>label{flex:1 1 100%}.row>button{flex:1 1 100%;min-height:44px}input,select{min-height:44px;font-size:16px}table.data th,table.data td{padding:8px 10px}.hide-sm{display:none}.bars{gap:4px}}@media(max-width:520px){.kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.kpi{padding:16px}.kpi .value{font-size:26px}.card{padding:16px}.head .actions{width:100%}.head .actions>*{flex:1 1 auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.bar .tip{transition:none}}.bar .pair{display:flex;gap:3px;height:100%;align-items:flex-end}.bar .pair .stack{flex:1}.bars.signed{height:160px}.kpi .value small{font-size:.55em;color:var(--muted);font-family:Manrope Variable,sans-serif}.list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.list li{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;font-size:.9rem}.list li .meter{grid-column:1 / -1}.stack-gap{display:grid;gap:16px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle;margin:0 4px 0 8px}.h-top .dot{margin:0}.dot.good{background:var(--good)}.dot.warn{background:var(--warn)}.dot.bad{background:var(--bad)}.health{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.health li{border:1px solid var(--line);border-left:4px solid var(--line);border-radius:10px;padding:12px 14px;background:var(--surface);display:grid;gap:4px}.health li.good{border-left-color:var(--good)}.health li.warn{border-left-color:var(--warn)}.health li.bad{border-left-color:var(--bad);background:color-mix(in srgb,var(--bad) 6%,var(--surface))}.h-top{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.h-value{font:600 24px/1.1 Fraunces Variable,Georgia,serif;font-variant-numeric:tabular-nums}.h-bar{height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden}.h-bar span{display:block;height:100%;border-radius:3px;background:var(--muted)}.good .h-bar span{background:var(--good)}.warn .h-bar span{background:var(--warn)}.bad .h-bar span{background:var(--bad)}.h-target{font-size:12px;color:var(--muted)}.h-why{font-size:12px;color:var(--fg);opacity:.8}.target-bars{position:relative}.target-bars .target{position:absolute;left:0;right:0;border-top:2px dashed var(--fg);opacity:.55;z-index:1;pointer-events:none;bottom:calc(var(--lbl, 20px) + (100% - var(--lbl, 20px)) * var(--t) / 100)}.target-bars .target em{position:absolute;right:0;top:-18px;font:600 11px/1 Manrope Variable,sans-serif;font-style:normal;background:var(--surface);padding:2px 4px}.bar .seg.ahead,.legend .sw.ahead{background:repeating-linear-gradient(45deg,var(--muted) 0 4px,transparent 4px 8px)}.legend .sw.ahead{border:1px solid var(--muted)}.main{min-width:0;overflow-x:clip}@media(max-width:600px){.health{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.health li{padding:10px}.h-value{font-size:20px}.h-why{display:none}.health-card h2{flex-wrap:wrap;gap:4px}}@media(min-width:1600px){.bars{height:240px}.main{padding:40px 48px}}@media(min-width:1100px){.health{grid-template-columns:repeat(4,minmax(0,1fr))}}
