/* =====================================================================
   Yuvio growth and operations layer · shared styles
   Built on the app's tokens (--a-*), so every new screen reads as one
   system with the rest of Yuvio in light theme, on web and on the phone.
   ===================================================================== */
.gx-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.gx-kpi{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border-radius:var(--a-r,14px);background:var(--a-surface);border:1px solid var(--a-line);text-align:left;min-width:0;font:inherit;color:inherit}
button.gx-kpi{cursor:pointer}button.gx-kpi:hover{border-color:var(--a-brand)}
.gx-kpi>b{font-size:1.45em;font-weight:800;letter-spacing:-.02em;line-height:1.15;color:var(--a-ink);font-variant-numeric:tabular-nums;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
.gx-kpi>span{font-size:.78em;color:var(--a-muted);font-weight:600;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.gx-kpi.warn{border-color:color-mix(in srgb,var(--a-warn) 45%,transparent);background:var(--a-warn-soft)}
.gx-kpi.crit{border-color:color-mix(in srgb,var(--a-crit) 45%,transparent);background:var(--a-crit-soft)}
.gx-note{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border-radius:12px;background:var(--a-brand-soft);color:var(--a-ink);font-size:.86em;line-height:1.45;border:1px solid color-mix(in srgb,var(--a-brand) 18%,transparent)}
.gx-note>svg{width:18px;height:18px;flex:none;color:var(--a-brand);margin-top:1px}.gx-note .lnk{margin-left:4px}
.gx-sim{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#7C3AED;background:#F3E8FF;border-radius:999px;padding:1px 7px;margin-left:4px;vertical-align:middle}
.gx-sim svg{width:11px;height:11px}
.gx-bar{display:block;height:8px;border-radius:999px;background:var(--a-surface-2);overflow:hidden;min-width:60px;flex:1}
.gx-bar>i{display:block;height:100%;background:var(--a-brand);border-radius:999px;transition:width .4s ease}
.gx-bar.warn>i{background:var(--a-warn)}.gx-bar.crit>i{background:var(--a-crit)}
.wx .wx-content .gx-seg,.gx-seg{max-width:100%;width:fit-content}
.gx-seg{overflow-x:auto;scrollbar-width:none;margin-bottom:4px}.gx-seg::-webkit-scrollbar{display:none}.gx-seg button{white-space:nowrap;flex:1 0 auto;padding:0 12px}
.gx-empty{align-items:center;text-align:center;padding:28px 18px}
.gx-more summary{cursor:pointer;font-size:.86em;font-weight:700;color:var(--a-brand);padding:6px 0;list-style:none}.gx-more summary::-webkit-details-marker{display:none}.gx-more[open] summary{margin-bottom:8px}
.gx-check{display:flex;gap:8px;align-items:flex-start;font-size:.88em;line-height:1.4;cursor:pointer}.gx-check input{margin-top:3px;accent-color:var(--a-brand);width:16px;height:16px;flex:none}
.gx-pre{white-space:pre-wrap;word-break:break-word;background:var(--a-surface-2);border:1px solid var(--a-line);border-radius:10px;padding:10px 12px;font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--a-ink);margin:0}
.gx-due{color:var(--a-crit)!important;font-weight:700}
.gx-ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block}
.gx-t td .lnk{font-weight:700}.gx-t tr.gx-cur td{background:var(--a-brand-soft)}.gx-t tr.gx-dim td{opacity:.55}
.gx-t .chip{white-space:normal}

/* Gap 1 */
.gx-pack .gx-flag{font-size:30px;line-height:1}
.gx-kvs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2px 18px}
.gx-kv{display:flex;flex-direction:column;gap:1px;padding:8px 0;border-bottom:1px solid var(--a-line);min-width:0}
.gx-kv>span{font-size:.72em;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--a-muted)}.gx-kv>b{font-size:.9em;font-weight:600;line-height:1.35}
.gx-mod .main .s{white-space:normal}

/* Gap 2 */
.gx-wlrow .gx-wln{display:flex;flex-direction:column;align-items:center;min-width:52px;line-height:1.1}.gx-wln b{font-size:1.2em}.gx-wln small{font-size:.7em;color:var(--a-muted)}
.gx-posn{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--a-brand-soft);color:var(--a-brand);font-weight:800;font-size:.85em;flex:none}
.gx-wle{align-items:center}.gx-wle .main .s{white-space:normal}.gx-acts{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.gx-acts .ib{width:32px;height:32px}.gx-acts .ib svg{width:16px;height:16px}
.gx-offer{border:1.5px solid color-mix(in srgb,var(--a-good) 40%,var(--a-line));background:linear-gradient(180deg,var(--a-good-soft),var(--a-surface) 70%)}
.gx-3{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:6px}.gx-3 .btn{padding:0 6px;font-size:.84em}
.gx-phome{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}

/* Gap 3 */
.gx-chhead{gap:10px;flex-wrap:wrap;margin-bottom:6px}
.gx-chat2{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:14px;align-items:start;min-height:560px}
.gx-chl{display:flex;flex-direction:column;gap:8px;min-width:0}
.gx-chr{min-width:0;position:sticky;top:0}
.gx-chq{min-height:38px}
.gx-chlist{display:flex;flex-direction:column;border:1px solid var(--a-line);border-radius:var(--a-r,14px);background:var(--a-surface);overflow:hidden;max-height:70vh;overflow-y:auto}
.gx-chi{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:12px;border:0;border-bottom:1px solid var(--a-line);background:transparent;font:inherit;color:inherit;cursor:pointer;width:100%}
.gx-chi:last-child{border-bottom:0}.gx-chi:hover{background:var(--a-surface-2)}.gx-chi.on{background:var(--a-brand-soft)}
.gx-chi.un b{color:var(--a-ink)}.gx-chi.un .gx-chm>.sm{font-weight:650;color:var(--a-ink)}
.gx-chm{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.gx-chm time{font-size:.72em;color:var(--a-muted);white-space:nowrap}.gx-chm .sm{color:var(--a-muted)}
.gx-chtags{display:flex;gap:4px;flex-wrap:wrap;margin-top:3px}.gx-chtags .chip{font-size:.7em;padding:1px 7px}
.gx-th{display:flex;flex-direction:column;gap:10px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:var(--a-r,14px);padding:14px;min-height:520px}
.gx-thh{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gx-thh select{max-width:200px}.gx-st{flex:none}.gx-st button{min-height:32px;padding:0 10px}
.gx-ctx{display:flex;gap:6px;flex-wrap:wrap}
.gx-kidc{display:flex;gap:8px;align-items:center;padding:6px 10px 6px 6px;border-radius:999px;border:1px solid var(--a-line);background:var(--a-surface-2);font:inherit;color:inherit;cursor:pointer;text-align:left}
.gx-kidc span{display:flex;flex-direction:column;line-height:1.2}.gx-kidc b{font-size:.86em}.gx-kidc small{font-size:.74em;color:var(--a-muted)}
.gx-bs{display:flex;flex-direction:column;gap:8px;flex:1;overflow-y:auto;max-height:52vh;padding:8px 2px;background:linear-gradient(var(--a-bg,#F7F7F5),var(--a-bg,#F7F7F5));border-radius:12px}
.gx-bs.p{max-height:none;background:none}
.gx-b{display:flex;flex-direction:column;max-width:78%;gap:3px}
.gx-b.in{align-self:flex-start}.gx-b.out{align-self:flex-end;align-items:flex-end}
.gx-bt{padding:9px 12px;border-radius:16px;font-size:.9em;line-height:1.45;background:var(--a-surface);border:1px solid var(--a-line);word-break:break-word}
.gx-b.in .gx-bt{border-bottom-left-radius:5px}
.gx-b.out .gx-bt{background:#DCF8C6;border-color:#C9EBB2;border-bottom-right-radius:5px;color:#111}
.gx-bm{font-size:.7em;color:var(--a-muted);padding:0 4px}
.gx-bn{display:flex;gap:8px;align-self:center;max-width:88%;font-size:.8em;background:#FEF9C3;border:1px solid #FDE68A;border-radius:10px;padding:7px 10px;color:#713F12}.gx-bn svg{width:14px;height:14px;flex:none;margin-top:2px}
.gx-voice,.gx-img{display:flex;align-items:center;gap:8px;margin-bottom:4px}.gx-voice svg,.gx-img svg{width:18px;height:18px}
.gx-voice i{display:block;width:120px;height:4px;border-radius:999px;background:repeating-linear-gradient(90deg,var(--a-muted) 0 3px,transparent 3px 6px);opacity:.5}
.gx-img{padding:16px 12px;border-radius:10px;background:var(--a-surface-2)}
.gx-voice small,.gx-img small{font-size:.8em;color:var(--a-muted)}
.gx-smart{display:flex;gap:6px;flex-wrap:wrap}
.gx-sg{display:flex;gap:8px;align-items:flex-start;text-align:left;padding:8px 12px;border-radius:12px;border:1.5px dashed color-mix(in srgb,var(--a-brand) 50%,var(--a-line));background:var(--a-brand-soft);font:inherit;color:inherit;cursor:pointer;max-width:100%}
.gx-sg.off{border-style:solid;border-color:var(--a-line);background:var(--a-surface-2);cursor:default}
.gx-sg svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--a-brand)}.gx-sg span{display:flex;flex-direction:column;line-height:1.3}.gx-sg b{font-size:.85em}.gx-sg small{font-size:.74em;color:var(--a-muted)}
.gx-comp{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--a-line);padding-top:10px}.gx-comp textarea{resize:vertical;min-height:60px}.gx-comp.note textarea{background:#FFFBEB}

/* Gap 4 */
.gx-clock{background:linear-gradient(135deg,var(--a-surface),var(--a-brand-soft))}.gx-clock.on{border-color:var(--a-good);background:linear-gradient(135deg,var(--a-surface),var(--a-good-soft))}
.gx-earn{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:var(--a-surface);border:1px solid var(--a-line);font:inherit;color:inherit;cursor:pointer;text-align:left}
.gx-earn span{flex:1;font-size:.86em;color:var(--a-muted)}.gx-earn b{font-size:1.15em;font-variant-numeric:tabular-nums}
.gx-rule{border-bottom:1px dashed var(--a-line);padding-bottom:6px}
.gx-permo{gap:6px;flex-wrap:wrap}
.gx-who{display:flex;gap:8px;align-items:center;font-size:.86em;padding:8px 12px;border-radius:10px;background:var(--a-surface-2);margin-bottom:8px}.gx-who svg{width:16px;height:16px}.gx-who span{flex:1}

/* Gap 5 */
.gx-off{display:flex;gap:8px;align-items:center;padding:9px 12px;border-radius:10px;background:#1F2937;color:#F9FAFB;font-size:.84em;font-weight:600;margin-bottom:8px}.gx-off svg{width:16px;height:16px}
.gx-offrow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:2px 4px 8px}
.gx-ci{margin-right:6px;font-size:.7em}.gx-ci svg{width:11px;height:11px}
.gx-cigrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}
.gx-cik{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;border:1px solid var(--a-line);background:var(--a-surface);min-width:0}
.gx-cik .col{flex:1}.gx-cik small{font-size:.74em;color:var(--a-muted)}
.gx-cik.in{border-color:color-mix(in srgb,var(--a-good) 45%,var(--a-line));background:var(--a-good-soft)}.gx-cik.out{opacity:.7}
.gx-poster{align-items:center;text-align:center;gap:8px;padding:26px}.gx-qr{background:#fff;padding:10px;border-radius:14px;border:1px solid var(--a-line);display:inline-flex}.gx-qr svg{display:block}.gx-qr.s{padding:6px;border-radius:10px}
.gx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.gx-card{display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px;border:1px dashed var(--a-line);border-radius:12px;background:var(--a-surface);text-align:center}.gx-card small{font-size:.74em;color:var(--a-muted)}
.gx-kiosk{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:14px;align-items:stretch;padding:22px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:22px;box-shadow:0 20px 50px -30px rgba(16,24,40,.35);text-align:center}
.gx-kiosk h2{font-size:1.5em;margin:0;letter-spacing:-.02em}
.gx-kpad{display:flex;flex-direction:column;gap:10px;align-items:center}
.gx-kin{min-height:56px;width:100%;border-radius:14px;border:1.5px solid var(--a-line);display:grid;place-items:center;font-size:1.6em;font-weight:700;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.gx-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}
.gx-keys button{min-height:62px;border-radius:14px;border:1px solid var(--a-line);background:var(--a-surface-2);font:inherit;font-size:1.4em;font-weight:700;cursor:pointer;color:var(--a-ink)}.gx-keys button:active{background:var(--a-brand-soft)}
.gx-kk{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--a-line);border-radius:16px;text-align:left}.gx-kk small{color:var(--a-muted);font-size:.8em}
.gx-kk .btn{min-height:48px;padding:0 18px}
.gx-pu{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.gx-pup{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 8px;border-radius:16px;border:1.5px solid var(--a-line);background:var(--a-surface);font:inherit;color:inherit;cursor:pointer}
.gx-pup.on{border-color:var(--a-brand);background:var(--a-brand-soft)}.gx-pup small{color:var(--a-muted);font-size:.78em}
.gx-pav{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:30px;background:var(--a-surface-2);flex:none}.gx-pav.s{width:36px;height:36px;font-size:20px}
.gx-pin{text-align:center;font-size:1.6em!important;letter-spacing:.4em;font-weight:800}
.gx-kfoot{display:flex;justify-content:space-between;border-top:1px solid var(--a-line);padding-top:10px}
.gx-dcard{align-items:center;text-align:center;gap:6px;background:linear-gradient(160deg,var(--a-surface),var(--a-brand-soft))}
.gx-here{border-color:color-mix(in srgb,var(--a-brand) 40%,var(--a-line));background:var(--a-brand-soft)}

/* Gap 6 */
.gx-rptabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.gx-rptabs::-webkit-scrollbar{display:none}
.gx-rptabs button{display:flex;gap:6px;align-items:center;white-space:nowrap;padding:8px 14px;border-radius:999px;border:1px solid var(--a-line);background:var(--a-surface);font:inherit;font-size:.86em;font-weight:700;color:var(--a-muted);cursor:pointer}
.gx-rptabs button svg{width:15px;height:15px}.gx-rptabs button.on{background:var(--a-ink);color:var(--a-surface);border-color:var(--a-ink)}
.gx-rphead{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:6px 0}
.gx-num{font:inherit;font-weight:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:color-mix(in srgb,var(--a-brand) 60%,transparent);text-underline-offset:4px}
.gx-num:hover{color:var(--a-brand)}
.gx-delta{font-size:.82em;font-weight:700;color:var(--a-muted)}.gx-delta.up{color:var(--a-good)}.gx-delta.down{color:var(--a-crit)}
.gx-chart{width:100%;height:120px;display:block}.gx-chart rect{fill:var(--a-brand);opacity:.85}.gx-chart rect.warn{fill:var(--a-warn)}.gx-chart rect:hover{opacity:1}
.gx-chx{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;font-size:.7em;color:var(--a-muted);text-align:center;margin-top:2px}
.gx-hb{display:grid;grid-template-columns:minmax(110px,32%) 1fr auto;gap:10px;align-items:center;padding:5px 0;font-size:.88em}
.gx-hbl{display:flex;flex-direction:column;line-height:1.25;min-width:0}.gx-hbl small{color:var(--a-muted);font-size:.8em}
.gx-hbt{height:10px;border-radius:999px;background:var(--a-surface-2);overflow:hidden}.gx-hbt i{display:block;height:100%;background:var(--a-brand);border-radius:999px}
.gx-hbv{font-weight:700;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.gx-trust{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 14px;border-radius:12px;background:var(--a-good-soft);font-size:.84em}.gx-trust svg{width:18px;height:18px;color:var(--a-good)}.gx-trust>span:first-of-type{flex:1;min-width:200px}
.gx-funnel{gap:8px;align-items:center}
.gx-fs{width:var(--w);min-width:200px;display:flex;align-items:center;gap:10px;justify-content:center;padding:10px 14px;border-radius:12px;background:var(--a-brand-soft);color:var(--a-ink)}
.gx-fs b{font-size:1.3em}.gx-fs small{color:var(--a-muted);font-size:.76em}
.gx-week .gx-pre{background:#F0FDF4;border-color:#BBF7D0}
.gx-cost{width:100px;text-align:right}

/* Gap 7 */
.gx-pos{display:grid;grid-template-columns:1fr minmax(280px,340px);gap:14px;align-items:start}
.gx-cat{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.gx-it{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:14px;border:1px solid var(--a-line);background:var(--a-surface)}
.gx-it.bundle{background:linear-gradient(160deg,var(--a-surface),#FDF2F8)}
.gx-emo{font-size:28px;line-height:1}
.gx-vars{display:flex;gap:4px;flex-wrap:wrap}
.gx-var{display:flex;flex-direction:column;align-items:center;min-width:40px;padding:5px 7px;border-radius:9px;border:1px solid var(--a-line);background:var(--a-surface-2);font:inherit;font-size:.78em;font-weight:700;cursor:pointer;color:var(--a-ink)}
.gx-var small{font-size:.8em;font-weight:600;color:var(--a-muted)}.gx-var:hover{border-color:var(--a-brand)}.gx-var.out{opacity:.65;border-style:dashed}
.gx-cart{position:sticky;top:0}
.gx-cl{display:flex;gap:8px;align-items:center;padding:6px 0;border-bottom:1px dashed var(--a-line)}.gx-cl .ib{width:28px;height:28px}.gx-cl .ib svg{width:14px;height:14px}
.gx-tot{font-size:1.05em;padding:4px 0}.gx-tot b{font-size:1.3em}
.gx-pshop{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.gx-pit{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px;border-radius:16px;border:1px solid var(--a-line);background:var(--a-surface);font:inherit;color:inherit;cursor:pointer;text-align:left}

/* Gap 8 */
.gx-sess{gap:8px}.gx-chips{display:flex;gap:6px;flex-wrap:wrap}.gx-chips .ib.s{width:18px;height:18px;min-height:0;padding:0}.gx-chips .ib.s svg{width:11px;height:11px}
.gx-pass{background:linear-gradient(135deg,#4C1D95,#7C3AED);color:#fff;border:0}.gx-pass .xs{color:rgba(255,255,255,.8)}
.gx-pass .btn{align-self:flex-start;background:rgba(255,255,255,.15);color:#fff;border-color:rgba(255,255,255,.3)}
.gx-left{display:flex;flex-direction:column;align-items:center;line-height:1}.gx-left b{font-size:2em}.gx-left small{font-size:.72em;opacity:.8}
.gx-terms{font-size:.84em;line-height:1.5;padding:10px 12px;border-radius:10px;background:var(--a-surface-2);border:1px solid var(--a-line)}

/* Gap 9 */
.gx-ref{align-items:center;text-align:center;background:linear-gradient(160deg,#FFF7ED,var(--a-surface))}
.gx-stars .btn{padding:0 8px;letter-spacing:-.1em;color:#D97706}
.gx-site{padding:0;overflow:hidden;gap:0}
.gx-sitehd{display:flex;flex-direction:column;gap:2px;padding:18px;color:#fff}.gx-sitehd b{font-size:1.2em}.gx-sitehd span{opacity:.85;font-size:.86em}
.gx-sitelv{margin:12px 16px 4px;font-size:.78em;text-transform:uppercase;letter-spacing:.06em;color:var(--a-muted)}
.gx-sitec{display:flex;gap:10px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--a-line)}.gx-sitec small{color:var(--a-muted);font-size:.8em}
.gx-site>.btn{margin:14px 16px 4px;width:auto}.gx-site>.xs{padding:0 16px 12px}
.gx-ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}

/* phone */
@media (max-width:760px){
  .gx-chat2,.gx-pos{grid-template-columns:1fr}
  .gx-chr,.gx-cart{position:static}
  .gx-kpis{grid-template-columns:repeat(2,1fr)}
  .gx-hb{grid-template-columns:96px 1fr auto}
  .gx-b{max-width:88%}
  .gx-kiosk{padding:16px;border-radius:18px}
  .gx-cigrid{grid-template-columns:1fr}
  .gx-3{grid-template-columns:1fr}
}
body.ymobile .gx-kpis{grid-template-columns:repeat(2,1fr)}
body.ymobile .gx-chat2,body.ymobile .gx-pos{grid-template-columns:1fr}
body.ymobile .gx-3{grid-template-columns:1fr}
.gx-rphead select{width:auto;max-width:220px;min-height:36px}
.gx-cart .lnk,.gx-note .lnk,.gx-kfoot .lnk{display:inline-flex;align-items:center;gap:5px}
.gx-cart .lnk svg,.gx-kfoot .lnk svg,.gx-offrow .lnk svg,.gx-who .lnk svg{width:15px;height:15px;flex:none}

.gx-kwrap{position:fixed;inset:0;z-index:60;background:radial-gradient(1200px 600px at 50% -10%,var(--a-brand-soft),var(--a-bg,#F7F7F5));display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:48px 16px;overflow-y:auto}
.gx-kbrand{display:flex;flex-direction:column;align-items:center;gap:2px;margin-bottom:18px}.gx-kbrand b{font-size:1.3em;letter-spacing:-.01em}.gx-kbrand span{font-size:.8em;color:var(--a-muted)}
.gx-kwrap .gx-kiosk{width:100%}

/* building blocks */
.gx-howto{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gx-howto>div{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:start;padding:12px 14px;border-radius:14px;background:var(--a-surface);border:1px solid var(--a-line)}
.gx-howto span{grid-row:span 2;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--a-ink);color:var(--a-surface);font-weight:800;font-size:.8em}
.gx-howto b{font-size:.92em}.gx-howto small{font-size:.78em;color:var(--a-muted);line-height:1.4}
.gx-blocks{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;align-items:start}
.gx-block{position:relative;display:flex;flex-direction:column;gap:10px;padding:18px 16px 14px;border-radius:18px;background:var(--a-surface);border:1px solid var(--a-line);box-shadow:0 1px 0 rgba(16,24,40,.03);transition:box-shadow .2s,border-color .2s}
.gx-block::before{content:'';position:absolute;inset:0 0 auto 0;height:6px;border-radius:18px 18px 0 0;background:var(--bt)}
.gx-block.on{border-color:color-mix(in srgb,var(--bt) 45%,var(--a-line));box-shadow:0 10px 30px -18px color-mix(in srgb,var(--bt) 70%,transparent)}
.gx-block.off .gx-bic,.gx-block.locked .gx-bic{filter:grayscale(1);opacity:.7}
.gx-block.locked{background:repeating-linear-gradient(135deg,var(--a-surface),var(--a-surface) 12px,var(--a-surface-2) 12px,var(--a-surface-2) 24px)}
.gx-studs{position:absolute;top:-7px;left:18px;display:flex;gap:10px}.gx-studs i{width:18px;height:8px;border-radius:5px 5px 0 0;background:var(--bt);opacity:.9}
.gx-bhead{display:flex;gap:12px;align-items:flex-start}
.gx-bic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none;background:color-mix(in srgb,var(--bt) 14%,transparent);color:var(--bt)}.gx-bic svg{width:20px;height:20px}
.gx-bstate{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gx-3way button{font-size:.8em}
.gx-3way button.on{color:var(--a-ink)}
.gx-block.on .gx-3way button.on{background:var(--bt);color:#fff}
.gx-subs{display:flex;flex-direction:column;border-top:1px dashed var(--a-line);padding-top:6px}
.gx-sub{display:flex;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid var(--a-line)}.gx-sub:last-child{border-bottom:0}
.gx-sub b{font-size:.86em}.gx-sub small{font-size:.75em;color:var(--a-muted);line-height:1.35}
.gx-bopen{align-self:flex-start;display:inline-flex;gap:4px;align-items:center}.gx-bopen svg{width:14px;height:14px}
@media (max-width:760px){.gx-howto{grid-template-columns:1fr}.gx-blocks{grid-template-columns:1fr}}

/* ---- Waitlists, simplified ---- */
.gx-wlhow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px;counter-reset:s}
.gx-wlhow>div{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-surface)}
.gx-wlhow>div>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--a-brand);color:#fff;font-weight:800;font-size:.8em;margin-bottom:4px}
.gx-wlhow>div b{font-size:.92em;line-height:1.3}
.gx-wlhow>div small{color:var(--a-muted);font-size:.8em;line-height:1.4}
.gx-wlhow>div:not(:last-child)::after{content:"";position:absolute;right:-8px;top:26px;width:6px;height:6px;border-top:2px solid var(--a-line);border-right:2px solid var(--a-line);transform:rotate(45deg)}
@media (max-width:760px){.gx-wlhow{grid-template-columns:1fr 1fr}.gx-wlhow>div::after{display:none}}
.gx-wlgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.gx-wlc{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-surface);text-align:left;cursor:pointer;font:inherit;color:inherit;width:100%}
.gx-wlc:hover{border-color:var(--a-brand)}
.gx-wlc:focus-visible{outline:2px solid var(--a-brand);outline-offset:2px}
.gx-wlc-m{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.gx-wlbig{display:flex;flex-direction:column;align-items:center;min-width:52px}
.gx-wlbig b{font-size:1.5em;line-height:1;color:var(--a-brand)}
.gx-wlbig small{font-size:.72em;color:var(--a-muted)}
.gx-wlnow,.gx-wlnext{display:inline-flex;align-items:center;gap:5px;font-size:.8em;margin-top:2px}
.gx-wlnow{color:var(--a-brand)}
.gx-wlnow svg{width:14px;height:14px}
.gx-wlnext{color:var(--a-muted)}
.gx-wlrow2{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--a-line)}
.gx-wlrow2:last-child{border-bottom:0}
.gx-wlrow2.now{background:var(--a-brand-soft)}
.gx-wlrow2.now .gx-posn{background:var(--a-brand);color:#fff}
.gx-wlpill{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;background:var(--a-brand);color:#fff;font-size:.76em;font-weight:700;white-space:nowrap}
.gx-wlpill svg{width:13px;height:13px}
.gx-wlpill.idle{background:var(--a-surface-2);color:var(--a-muted);font-weight:600}
.gx-wlplace{border-color:var(--a-brand);display:flex;flex-direction:column;gap:10px}
.gx-chainv{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.gx-chainv>i{color:var(--a-muted);display:grid}
.gx-chainv>i svg{width:14px;height:14px}
.gx-step{display:flex;flex-direction:column;padding:6px 10px;border-radius:10px;border:1px solid var(--a-line);background:var(--a-surface-2);min-width:90px}
.gx-step b{font-size:.86em}.gx-step small{font-size:.72em;color:var(--a-muted)}
.gx-step.open{border-color:var(--a-brand);background:var(--a-brand-soft)}
.gx-step.declined,.gx-step.expired,.gx-step.moved{opacity:.65;text-decoration:line-through;text-decoration-thickness:1px}
.gx-step.declined small,.gx-step.expired small{text-decoration:none}
.gx-step.taken{border-color:var(--a-good);background:var(--a-good-soft)}
.gx-step.next{border-style:dashed;background:transparent}
.gx-pnum{font-weight:800;color:var(--a-brand)}
.gx-howp{display:flex;flex-direction:column;gap:4px;background:var(--a-brand-soft);border-color:transparent}
@media (max-width:560px){.gx-wlrow2{flex-wrap:wrap}.gx-wlrow2 .gx-acts{width:100%;justify-content:flex-end}.gx-wlgrid{grid-template-columns:1fr}}
.gx-wlplace .spread>b{display:inline-flex;align-items:center;gap:6px}
.gx-wlplace .spread>b svg{width:18px;height:18px;color:var(--a-brand)}

/* ---- Staff pay flow ---- */
.gx-flow{list-style:none;margin:0 0 14px;padding:0;display:flex;gap:6px;flex-wrap:wrap;counter-reset:f}
.gx-flow li{flex:1 1 120px;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid var(--a-line);background:var(--a-surface);min-width:0}
.gx-flow li>span{width:24px;height:24px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:.78em;font-weight:800;background:var(--a-surface-2);color:var(--a-muted)}
.gx-flow li>span svg{width:14px;height:14px}
.gx-flow li b{font-size:.82em;line-height:1.25}
.gx-flow li.done>span{background:var(--a-good);color:#fff}
.gx-flow li.now{border-color:var(--a-brand);background:var(--a-brand-soft)}
.gx-flow li.now>span{background:var(--a-brand);color:#fff}
.gx-bankc,.gx-empc,.gx-runbar,.gx-snote{display:flex;align-items:center;gap:12px}
.gx-runbar{border-color:var(--a-brand);background:var(--a-brand-soft)}
.gx-snote.ok{border-left:4px solid var(--a-good)}
.gx-snote.warn{border-left:4px solid var(--a-warn)}
.gx-otp{font-size:1.6em;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}
.gx-kv{display:grid;gap:0;border:1px solid var(--a-line);border-radius:12px;overflow:hidden}
.gx-kv>div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--a-line);font-size:.9em}
.gx-kv>div:last-child{border-bottom:0}
.gx-kv>div>span{color:var(--a-muted)}
.gx-kv>div>b{text-align:right}

/* ---- Time clock ---- */
.gx-how5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:900px){.gx-how5{grid-template-columns:1fr 1fr}}
.gx-locs{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}
.gx-loc{display:flex;gap:14px;align-items:flex-start}
.gx-loc .xs svg{width:12px;height:12px;vertical-align:-2px}
.gx-geo{width:140px;height:122px;flex:none;border-radius:12px;background:var(--a-surface-2);color:var(--a-ink)}
.gx-geo-r{fill:var(--a-brand);fill-opacity:.14;stroke:var(--a-brand);stroke-width:1.5;stroke-dasharray:4 3}
.gx-geo-p{fill:var(--a-brand);stroke:#fff;stroke-width:2}
.gx-geo-o{fill:var(--a-muted);opacity:.6}
.gx-geo-t{font-size:10px;fill:var(--a-muted);font-weight:700}
@media (max-width:560px){.gx-locs{grid-template-columns:1fr}.gx-geo{width:110px;height:96px}}
.card.gx-earn{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}
.card.gx-earn>span{flex:1;color:var(--a-muted);font-size:.9em}
.card.gx-earn>b{font-size:1.15em}

/* ---- Preschool ---- */
.gx-rooms{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:12px}
.gx-room{display:flex;flex-direction:column;gap:10px}
.gx-room.over{border-color:var(--a-crit);box-shadow:0 0 0 1px var(--a-crit) inset}
.gx-ratio{display:inline-flex;align-items:baseline;gap:2px;padding:4px 10px;border-radius:999px;font-variant-numeric:tabular-nums}
.gx-ratio b{font-size:1.2em}.gx-ratio small{font-size:.75em}
.gx-ratio.ok{background:var(--a-good-soft);color:var(--a-good)}
.gx-ratio.bad{background:var(--a-crit-soft);color:var(--a-crit)}
.gx-edu{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.gx-edu .chip{display:inline-flex;align-items:center;gap:4px}
.gx-edu select.inp.s{width:auto;padding:4px 8px;font-size:.82em;height:auto}
.gx-x{border:0;background:none;color:inherit;cursor:pointer;font-size:1.1em;line-height:1;padding:0 2px}
.gx-alert{display:flex;align-items:center;gap:6px;color:var(--a-crit);font-size:.85em;font-weight:600}
.gx-alert svg{width:16px;height:16px}
.gx-kids{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.gx-kid{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;border-radius:12px;border:1px solid var(--a-line);background:var(--a-surface);cursor:pointer;font:inherit;color:inherit;text-align:center;min-width:0}
.gx-kid b{font-size:.82em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gx-kid small{font-size:.7em;color:var(--a-muted);line-height:1.2}
.gx-kid.out{opacity:.55}
.gx-kid.in{border-color:var(--a-good)}
.gx-kid.gone{opacity:.7;background:var(--a-surface-2)}
.gx-kid.sel{border-color:var(--a-brand);background:var(--a-brand-soft);box-shadow:0 0 0 1px var(--a-brand) inset}
.gx-kid:focus-visible{outline:2px solid var(--a-brand);outline-offset:2px}
.gx-kav{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--a-surface-2);font-size:1.2em;flex:none}
.gx-allergy{position:absolute;top:4px;right:6px;width:16px;height:16px;border-radius:50%;background:var(--a-crit);color:#fff;font-size:.7em;font-style:normal;font-weight:800;display:grid;place-items:center}
.gx-logbtns{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.gx-logbtns .btn svg{width:14px;height:14px}
.seg.wrap{flex-wrap:wrap}
.gx-tl{list-style:none;margin:4px 0 0;padding:0 0 0 12px;border-left:2px solid var(--a-line);display:flex;flex-direction:column;gap:8px}
.gx-tl li{display:flex;gap:10px;font-size:.88em;position:relative}
.gx-tl li::before{content:"";position:absolute;left:-17px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--a-brand)}
.gx-tl time{color:var(--a-muted);min-width:64px;font-variant-numeric:tabular-nums}
.gx-tl span{display:inline-flex;gap:6px;align-items:center}.gx-tl svg{width:14px;height:14px;color:var(--a-brand)}
.gx-inc{display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:10px;background:var(--a-warn-soft)}
.gx-inc b{display:inline-flex;gap:6px;align-items:center}.gx-inc svg{width:16px;height:16px}
.gx-obs{display:flex;flex-direction:column;padding:8px 10px;border-radius:10px;background:var(--a-brand-soft)}
.gx-obs small{font-size:.72em;color:var(--a-brand);font-weight:700}
.gx-pday{display:flex;align-items:center;gap:10px;width:100%;font:inherit;color:inherit;cursor:pointer}
.gx-pday.warn{border-left:4px solid var(--a-warn)}
.gx-tabs{margin-bottom:12px}
@media (max-width:560px){.gx-rooms{grid-template-columns:1fr}}
.gx-edu select.inp.s{min-height:0;height:30px;line-height:1}
.card.gx-empc,.card.gx-bankc,.card.gx-runbar,.card.gx-snote{flex-direction:row;text-align:left;align-items:center}
/* WhatsApp number bar and settings */
.gx-numbar{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;margin-bottom:10px;font-size:.88em}
.gx-numbar>svg{width:18px;height:18px;flex:none}
.gx-numbar>span{flex:1}
.gx-numbar.ok{background:var(--a-good-soft)}.gx-numbar.ok>svg{color:var(--a-good)}
.gx-numbar.warn{background:var(--a-warn-soft)}.gx-numbar.warn>svg{color:var(--a-warn)}
.gx-wacard{display:flex;flex-direction:column;gap:10px}.gx-wacard b svg{width:16px;height:16px;vertical-align:-3px}
.gx-ibacts{flex-wrap:wrap;gap:6px;margin-top:8px}
.gx-ibwhy{color:var(--a-ink);opacity:.85;line-height:1.45}
.gx-chm svg,.gx-ell svg{width:14px;height:14px;vertical-align:-2px;flex:none}
.gx-sched{display:flex;flex-direction:column;gap:12px;border-color:var(--a-brand)}.gx-sched b svg{width:16px;height:16px;vertical-align:-3px}
.gx-sched .seg button{white-space:nowrap}
/* building blocks grouped by area */
.gx-afil{margin:6px 0 2px}
.gx-area{margin:18px 0 8px}
.gx-ahead{display:flex;align-items:center;gap:10px;margin:0 2px 10px}
.gx-ahead h2{font-size:16px;margin:0;font-weight:800;letter-spacing:-.01em}
.gx-ahead small{color:var(--muted,#667085);font-size:12px}
.gx-aic{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--soft,#F2F4F7);flex:none}
.gx-aic svg{width:18px;height:18px}
