:root{--bg:#f4f1e8;--surface:#fff;--surface-2:#ece8dc;--ink:#1b1f1d;--muted:#5f6a64;--line:#d8d3c4;--felt:#0f3d2e;--felt-2:#17543f;--accent:#0f6b4a;--accent-ink:#fff;--ok:#1b7a3a;--ok-bg:#dff3e4;--bad:#b3261e;--bad-bg:#fbe3e0;--card-red:#c0261c;--c-s:#f4b6b0;--c-h:#fff3b0;--c-d:#b6e3b6;--c-p:#b3d4f7;--c-r:#e3c2f0;--radius:14px;--tap:56px;--safe-b:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0e1411;--surface:#17201b;--surface-2:#1f2b24;--ink:#eef2ee;--muted:#9aa8a0;--line:#2c3a32;--felt:#0b2c21;--felt-2:#11402f;--accent:#3fb283;--accent-ink:#04140d;--ok:#7fd49a;--ok-bg:#123a22;--bad:#ff8a80;--bad-bg:#44201d;--card-red:#e0453b;--c-s:#6d2d29;--c-h:#5e5527;--c-d:#245a31;--c-p:#24466b;--c-r:#54316a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--ink);overscroll-behavior:none;font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{margin:0;font-size:1.35rem}h2{margin:1.4rem 0 .4rem;font-size:1.05rem}p{margin:.4rem 0}a{color:inherit;text-decoration:none}.muted{color:var(--muted)}.small{font-size:.85rem}.block{display:block}.center{text-align:center}.err{color:var(--bad);white-space:pre-wrap}.note{background:var(--surface-2);border-radius:10px;padding:8px 12px;font-size:.9rem}.okc{color:var(--ok)}.badc{color:var(--bad)}.splash{text-align:center;height:100%;color:var(--muted);place-content:center;padding:24px;display:grid}.app{background:var(--bg);flex-direction:column;max-width:760px;height:100%;margin:0 auto;display:flex}.main{-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto}.screen{padding:16px 16px 24px}.screen-head{margin-bottom:12px}.screen-head.row{align-items:center;gap:12px;display:flex}.tabbar{background:var(--surface);border-top:1px solid var(--line);padding-bottom:var(--safe-b);display:flex}.tabbar a{min-height:60px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;display:flex}.tabbar a.on{color:var(--accent);font-weight:600}.tabbar .icon{font-size:1.3rem;line-height:1}.menu-list{flex-direction:column;gap:10px;display:flex}.menu-item{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:72px;color:inherit;font:inherit;cursor:pointer;align-items:center;gap:14px;padding:12px 16px;display:flex}.menu-item.disabled{opacity:.55;cursor:default}.menu-item .num{background:var(--felt);color:#fff;border-radius:50%;flex:none;place-content:center;width:36px;height:36px;font-weight:700;display:grid}button.menu-item{flex-direction:column;align-items:flex-start;gap:4px}.profile-pill{background:var(--felt);color:#fff;border-radius:var(--radius);flex-direction:column;margin-top:10px;padding:10px 14px;display:flex}.profile-pill .muted{color:#b8d8c9}.profile-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.profile-card.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.badge{background:var(--accent);color:var(--accent-ink);vertical-align:middle;border-radius:99px;padding:2px 8px;font-size:.7rem}.row-actions{gap:8px;display:flex}.row-actions.wrap{flex-wrap:wrap;margin:8px 0}.btn{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:0 18px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.btn.danger{color:var(--bad)}.btn.big{min-height:var(--tap);width:100%;font-size:1.1rem}.btn.small{min-height:36px;padding:0 12px;font-size:.85rem}.btn.move{min-height:var(--tap);flex:30%;font-size:1.05rem}.btn.move.ok,.btn.ok{background:var(--ok-bg);border-color:var(--ok)}.btn.move.bad{background:var(--bad-bg);border-color:var(--bad)}.moves{flex-wrap:wrap;gap:8px;width:100%;display:flex}.back{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex:none;place-content:center;width:44px;height:44px;font-size:2rem;line-height:1;display:grid}.chips{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.chip{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--ink);font:inherit;cursor:pointer;border-radius:99px;padding:0 14px;font-size:.9rem}.chip.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.form{flex-direction:column;gap:12px;display:flex}.form label{flex-direction:column;gap:4px;font-size:.92rem;font-weight:600;display:flex}.form label.check{flex-direction:row;align-items:center;gap:10px;min-height:44px;font-weight:500}.form input[type=checkbox]{width:22px;height:22px}.form input:not([type=checkbox]):not([type=range]),.form select,select,.ramp input{border:1px solid var(--line);background:var(--surface);min-height:46px;color:var(--ink);font:inherit;border-radius:10px;width:100%;padding:0 12px;font-weight:400}.inline-form{margin-top:18px}.tags{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.tag{align-items:center}.tag span{font-weight:700}.tag input{text-align:center;padding:0 4px!important}.ramp{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:10px}.ramp-head{margin-bottom:6px}.ramp-row{grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;margin-bottom:8px;display:grid}.actions{padding:10px 16px calc(10px + var(--safe-b));background:var(--surface);border-top:1px solid var(--line);gap:10px;display:flex}.actions .btn{flex:1}.actions.inline{background:0 0;border:0;padding:10px 0}.actions.sticky{position:sticky;bottom:0}.drill{flex-direction:column;height:100%;display:flex}.drill-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 16px;display:flex}.stage{flex-direction:column;flex:1;gap:10px;padding:16px;display:flex;overflow-y:auto}.center-note{text-align:center;margin:auto}.spinner{border:4px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:36px;height:36px;margin:0 auto 12px;animation:.9s linear infinite spin}.spinner.small{border-width:3px;width:22px;height:22px;margin:4px 0}@keyframes spin{to{transform:rotate(360deg)}}.scorebar{justify-content:space-between;align-items:center;gap:12px;font-size:1rem;display:flex}.progress{background:var(--line);border-radius:99px;height:6px;overflow:hidden}.progress>div{background:var(--accent);height:100%;transition:width .1s linear}.prompt-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-align:center;flex-wrap:wrap;justify-content:center;gap:8px 24px;padding:12px 16px;display:flex}.big-number{font-variant-numeric:tabular-nums;font-size:2.2rem;font-weight:700}.big-number .small{font-size:.75rem;font-weight:500;display:block}.felt{background:radial-gradient(circle at 50% 30%, var(--felt-2), var(--felt));color:#fff;border-radius:var(--radius);flex-direction:column;gap:14px;padding:14px;display:flex}.felt-row{flex-direction:column;align-items:center;gap:6px;display:flex}.felt-label{letter-spacing:.06em;text-transform:uppercase;opacity:.8;font-size:.8rem}.hand-row{flex-wrap:wrap;justify-content:center;gap:8px;min-height:24px;display:flex}.hand-row.tight{gap:0}.hand-row.tight .card{margin-left:-10px}.hand-row.tight .card:first-child{margin-left:0}.card{color:#111;-webkit-user-select:none;user-select:none;background:#fffdf6;border:1px solid #c9c4b3;border-radius:8px;flex:none;place-content:center;display:grid;position:relative;box-shadow:0 2px 4px #00000040}.card.red{color:var(--card-red)}.card .corner{text-align:center;font-weight:700;line-height:1;position:absolute;top:4px;left:6px}.card .pip{line-height:1}.card.xs{width:30px;height:42px}.card.xs .corner{font-size:.6rem;top:2px;left:3px}.card.xs .pip{margin-top:8px;font-size:1rem}.card.sm{width:46px;height:64px}.card.sm .corner{font-size:.8rem}.card.sm .pip{margin-top:10px;font-size:1.5rem}.card.md{width:72px;height:100px}.card.md .corner{font-size:1.1rem}.card.md .pip{margin-top:14px;font-size:2.2rem}.card.lg{width:min(28vw,120px);height:min(39vw,168px)}.card.lg .corner{font-size:1.5rem;top:8px;left:10px}.card.lg .pip{margin-top:20px;font-size:3.6rem}.card.down{background:repeating-linear-gradient(45deg,#1b4f9c,#1b4f9c 5px,#163f7d 5px 10px);border-color:#fff}.table-view{flex-direction:column;gap:14px;display:flex}.dealer-row{background:radial-gradient(circle at 50% 20%, var(--felt-2), var(--felt));border-radius:var(--radius);color:#fff;min-height:112px;padding:10px}.seat-label{text-transform:uppercase;letter-spacing:.06em;opacity:.8;text-align:center;font-size:.75rem}.seats{background:radial-gradient(circle at 50% 80%, var(--felt-2), var(--felt));border-radius:var(--radius);color:#fff;justify-content:space-between;gap:4px;min-height:190px;padding:10px 6px;display:flex}.seat{flex-direction:column;flex:1;justify-content:space-between;align-items:center;min-width:0;display:flex}.hand-stack{flex-direction:column;align-items:center;gap:4px;display:flex}.keypad{flex-direction:column;gap:10px;width:100%;max-width:420px;margin:0 auto;display:flex}.keypad-display{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);font-variant-numeric:tabular-nums;place-content:center;min-height:64px;font-size:2.4rem;font-weight:700;display:grid}.keypad-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.key{min-height:var(--tap);border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border-radius:12px;font-size:1.4rem;font-weight:600}.key:active{background:var(--surface-2)}.feedback{border-radius:var(--radius);border:1px solid;padding:12px 14px}.feedback.ok{background:var(--ok-bg);border-color:var(--ok)}.feedback.bad{background:var(--bad-bg);border-color:var(--bad)}.feedback-title{margin-bottom:4px;font-weight:700}table.mini{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.9rem}table.mini th,table.mini td{text-align:left;border-bottom:1px solid var(--line);padding:5px 8px}table.mini tr.best td{font-weight:700}table.mini tr.picked td:first-child:after{content:" ← you";color:var(--muted);font-weight:400}table.mini tr.bad td{color:var(--bad)}.tray{width:100%;max-width:420px;margin:0 auto;display:block}.tray-wall{stroke:var(--muted);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.tray-cards{fill:var(--surface);stroke:var(--muted);stroke-width:1px}.tray-line{stroke:var(--line);stroke-width:.6px}.tray-label{fill:var(--muted);font-size:12px}.chart{flex-direction:column;gap:18px;margin-top:12px;display:flex}.chart-table{border-collapse:separate;border-spacing:2px;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%}.chart-table caption{text-align:left;padding:4px 2px;font-weight:700}.chart-table th{color:var(--muted);font-size:.75rem;font-weight:700}.chart-table thead th:first-child,.chart-table tbody th{text-align:left;white-space:nowrap;width:14%}.chart-table tbody th{color:var(--ink);font-size:.85rem}.chart-table td{text-align:center;color:#111;border-radius:4px;padding:7px 0;font-size:.8rem;font-weight:600}:root[data-theme=dark] .chart-table td{color:var(--ink)}.c-s{background:var(--c-s)}.c-h{background:var(--c-h)}.c-d{background:var(--c-d)}.c-p{background:var(--c-p)}.c-r{background:var(--c-r)}.legend{font-size:.75rem}.stat-row{gap:10px;display:flex}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex:1;padding:10px 14px}.stat .big-number{font-size:1.6rem}.seg{background:var(--surface-2);border-radius:12px;margin-bottom:12px;padding:3px;display:flex}.seg a{text-align:center;color:var(--muted);border-radius:10px;flex:1;padding:10px 0;font-weight:600}.seg a.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000026}.run-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.menu-item.sel{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.detail{margin-top:8px}.table-scroll{overflow-x:auto}.table-scroll table.mini th,.table-scroll table.mini td{vertical-align:top;padding:5px 4px;font-size:.8rem}table.mini tr.warn td{background:var(--bad-bg)}.tcchart{width:100%;max-width:520px;margin:8px auto;display:block}.tc-zero{stroke:var(--muted);stroke-width:1px}.tc-base{stroke:var(--accent);stroke-width:1px;stroke-dasharray:4 3}.tc-pos{fill:var(--ok)}.tc-neg{fill:var(--bad)}.tc-whisker{stroke:var(--ink);stroke-width:1px}.tc-freq{fill:var(--muted);opacity:.55}.tc-axis{fill:var(--muted);font-size:9px}.tc-cap{fill:var(--muted);font-size:10px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin:12px 0;padding:4px 14px 12px}.two,.stat-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stat-grid .stat .big-number{font-size:1.35rem}.ramp-line{font-variant-numeric:tabular-nums;line-height:1.8}table.compare td.best{color:var(--ok);font-weight:700}.opt-a{fill:var(--accent)}.opt-b{fill:none;stroke:var(--ink);stroke-width:1.4px}.opt-line{stroke:var(--accent);stroke-width:2px}details{margin:12px 0}summary{cursor:pointer;padding:6px 0;font-weight:600}h3{margin:1.1rem 0 .3rem;font-size:.95rem}.history-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:10px 2px;display:flex}.score{font-size:1.1rem;font-weight:700}@media (min-width:700px){.stage{padding:24px}.card.lg{width:120px;height:168px}.btn.big{align-self:center;max-width:420px}.actions{justify-content:center}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:3s}}.import{margin-top:24px}textarea.paste{box-sizing:border-box;width:100%;font:inherit;background:var(--surface);color:var(--ink);border:1px solid var(--line);resize:vertical;border-radius:10px;margin:8px 0;padding:10px;font-size:.85rem}ul.issues{margin:6px 0 10px;padding-left:18px;font-size:.9rem}.chart-table td.differs{outline:2px solid var(--bad);outline-offset:-2px}label.inline{align-items:center;gap:10px;margin:10px 0;display:flex}label.inline input{flex:1;min-height:40px}.ready{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:14px;margin:10px 0;padding:12px 16px;display:flex}.ready.yes{background:var(--ok-bg);border-color:var(--ok)}.checklist{gap:8px;display:grid}.check{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--line);border-radius:10px;padding:10px 12px}.check.pass{border-left-color:var(--ok)}.check.fail{border-left-color:var(--bad)}.check-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.verdict{white-space:nowrap;font-size:.8rem;font-weight:700}.verdict.pass{color:var(--ok)}.verdict.fail{color:var(--bad)}.verdict.nodata{color:var(--muted)}.th-editor{margin:12px 0}.th-editor summary{cursor:pointer;padding:8px 0;font-weight:600}.th-grid{gap:6px;margin-bottom:8px;display:grid}.th-grid label.inline{margin:0}.th-grid label.inline span:first-child{flex:1}.th-grid input{text-align:right;flex:0 0 84px;min-height:40px}.trends{gap:10px;display:grid}.trend{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px}.trend-head,.trend-row{justify-content:space-between;align-items:center;gap:10px;display:flex}svg.spark{flex:none;width:120px;height:36px}.spark-line{stroke:var(--accent);stroke-width:2px;stroke-linejoin:round}.spark-dot{fill:var(--accent)}.spark-goal{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3}.seat.you{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}.flash{margin:6px 0;font-size:.95rem}.report h3{margin:18px 0 6px}.stack{gap:10px;display:grid}.auth{max-width:460px;min-height:100dvh;padding:24px 16px calc(24px + var(--safe-b));box-sizing:border-box;flex-direction:column;margin:0 auto;display:flex}.auth-head{margin-bottom:12px}.auth-brand{color:var(--accent);font-size:1.1rem;font-weight:800}.auth-head h1{margin:4px 0 0}.auth-body{flex:1;align-content:start;gap:12px;display:grid}.auth-links{text-align:center;font-size:.95rem}.auth-foot{color:var(--muted);gap:6px;margin-top:28px;font-size:.8rem;display:grid}.auth-foot p{margin:0}.auth a{color:var(--accent)}a.btn{box-sizing:border-box;justify-content:center;align-items:center;text-decoration:none;display:flex}a.btn.primary{color:var(--accent-ink)}.check-row{align-items:flex-start;gap:10px;line-height:1.35;display:flex}.check-row input{flex:none;width:22px;height:22px;margin-top:2px}.field-err{color:var(--bad);margin-top:4px;font-size:.85rem;display:block}.plans{gap:10px;display:grid}.plan{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);gap:8px;padding:14px;display:grid}.plan-name{font-weight:700}.plan-price{font-size:1.4rem;font-weight:800}button.linklike{font:inherit;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.admin-row{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}input.days{text-align:right;width:64px;min-height:36px}form.redeem{margin:4px 0}.billing{gap:6px;margin-bottom:8px;display:grid}.billing p{margin:0}
