/* HXF OS — the glass skin for manager and owner screens. Same brand language as the team app.
   PREVIEW ONLY until approved: active when the address ends in ?glass=1 (remembered on that device; ?glass=0 turns it off). */
body.gx-on{--ink:#0B0A09;--stone:rgba(255,255,255,.05);--panel:rgba(255,255,255,.06);--line:rgba(255,255,255,.115);--tint:rgba(255,255,255,.09);
 --gold:#D8BC86;--gold-dp:#E8CFA3;--champ:rgba(216,188,134,.18);--t:#F3EFE7;--tm:rgba(243,239,231,.6);--warn:#F0A988;--ok:#9AD19F;--card:rgba(255,255,255,.06);
 background:#0B0A09;color:#F3EFE7;font-size:15px}
body.gx-on #tx-bg{z-index:0}
body.gx-on #root{position:relative;z-index:1}
body.gx-on .main{max-width:1040px;padding-top:26px}
body.gx-on .pagetitle{font-family:'Jost','Avenir Next',system-ui,sans-serif;font-weight:500;font-size:28px;letter-spacing:-.01em;line-height:1.12;text-wrap:balance}
body.gx-on .pagesub{color:rgba(243,239,231,.62);font-size:14px;margin-bottom:20px}
body.gx-on .card,body.gx-on .repcard,body.gx-on .stat{position:relative;border-radius:26px;padding:20px;
 background:linear-gradient(180deg,rgba(255,255,255,.095),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.115);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.26),0 24px 48px -26px rgba(0,0,0,.7);
 backdrop-filter:blur(26px) saturate(175%);-webkit-backdrop-filter:blur(26px) saturate(175%)}
body.gx-on .card[style*="border-left:3px solid"]{border-left:1px solid rgba(216,188,134,.5)!important;background:linear-gradient(180deg,rgba(232,207,163,.13),rgba(255,255,255,.03))}
body.gx-on .sec,body.gx-on h3{font-family:'Jost','Avenir Next',system-ui,sans-serif;font-weight:500;letter-spacing:0}
body.gx-on h3.sec{font-size:18px}
body.gx-on b{font-weight:600}
/* buttons */
body.gx-on .btn{height:auto;border-radius:999px;padding:13px 22px;font-family:'Jost','Avenir Next',system-ui,sans-serif;font-weight:600;letter-spacing:.08em;
 color:#1B1711;background:linear-gradient(135deg,#F3E2BF 0%,#D8BC86 48%,#B8935A 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 12px 26px -12px rgba(216,188,134,.5);transition:transform .18s cubic-bezier(.3,.7,.4,1.4),filter .2s}
body.gx-on .btn:active{transform:scale(.965);filter:brightness(.94)}
body.gx-on .btn.gold{color:#1B1711}
body.gx-on .btn.ghost,body.gx-on .btn.sm:not(.gold){color:#F3EFE7;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);box-shadow:none}
body.gx-on .btn.sm{padding:9px 16px;letter-spacing:.06em}
/* chips, tags, segments */
body.gx-on .tag{background:rgba(255,255,255,.09);color:rgba(243,239,231,.78);border:1px solid rgba(255,255,255,.1);padding:3px 10px;letter-spacing:.08em}
body.gx-on .tag.gold{background:rgba(216,188,134,.16);color:#E8CFA3;border-color:rgba(216,188,134,.3)}
body.gx-on .tag.ok{background:rgba(120,176,124,.2);color:#B5E3B9;border-color:rgba(140,200,145,.4)}
body.gx-on .tag.warn{background:rgba(214,120,84,.2);color:#F6B79B;border-color:rgba(224,140,104,.45)}
body.gx-on .seg button,body.gx-on .chips button{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);color:#F3EFE7;border-radius:999px;transition:all .3s}
body.gx-on .seg button.on,body.gx-on .chips button.on{background:linear-gradient(135deg,#F3E2BF,#C9A96E);color:#1B1711;border-color:transparent;box-shadow:0 8px 20px -10px rgba(216,188,134,.7)}
/* fields */
body.gx-on .field>span{color:rgba(243,239,231,.66);font-weight:600;letter-spacing:.08em}
body.gx-on input[type=text],body.gx-on input[type=number],body.gx-on input[type=date],body.gx-on input[type=time],body.gx-on input[type=email],body.gx-on input[type=tel],body.gx-on select,body.gx-on textarea{
 background:rgba(0,0,0,.26);border:1px solid rgba(255,255,255,.13);border-radius:16px;color:#F3EFE7;padding:13px 16px;color-scheme:dark;transition:border-color .25s,background .25s}
body.gx-on input:focus,body.gx-on select:focus,body.gx-on textarea:focus{border-color:rgba(216,188,134,.6);background:rgba(0,0,0,.34)}
body.gx-on input::placeholder,body.gx-on textarea::placeholder{color:rgba(243,239,231,.36)}
body.gx-on select option{background:#1B1814;color:#F3EFE7}
/* rows */
body.gx-on .rowline,body.gx-on .repline{border-bottom-color:rgba(255,255,255,.09)}
body.gx-on .statline .big{font-family:'Jost','Avenir Next',system-ui,sans-serif;font-weight:600;font-size:19px;font-variant-numeric:tabular-nums}
body.gx-on .spark i{background:linear-gradient(180deg,#F3E2BF,#B8935A);border-radius:3px}
body.gx-on .minibar{background:rgba(255,255,255,.1)}
body.gx-on a{-webkit-tap-highlight-color:transparent}
body.gx-on .notice,body.gx-on .gameplay{background:rgba(216,188,134,.1);border-color:rgba(216,188,134,.25);color:#F3EFE7}
body.gx-on details>summary{color:#E8CFA3}
body.gx-on [style*="background:var(--stone)"]{background:rgba(255,255,255,.07)!important}
body.gx-on [style*="color:#26221B"]{color:#1B1711!important}
body.gx-on [style*="background:rgba(180,140,60,.07)"]{background:rgba(216,188,134,.1)!important}
/* desktop rail */
body.gx-on .side{background:rgba(18,16,13,.6);border-right:1px solid rgba(255,255,255,.08);backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%)}
body.gx-on .orgtag,body.gx-on .side .foot{border-color:rgba(255,255,255,.09)}
body.gx-on .nav a{border-radius:999px;padding:10px 14px;transition:background .3s,color .3s}
body.gx-on .nav a.on{background:linear-gradient(135deg,#F3E2BF,#C9A96E);color:#1B1711;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 22px -12px rgba(216,188,134,.7)}
body.gx-on .nav a.on .ic{color:#1B1711}
/* phone chrome */
@media(max-width:900px){
 body.gx-on .topbar{background:rgba(11,10,9,.55);border-bottom:1px solid rgba(255,255,255,.07);backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%);padding:calc(10px + env(safe-area-inset-top)) 18px 10px;color:rgba(243,239,231,.7)}
 body.gx-on .topbar .wm{color:#F3EFE7;letter-spacing:.2em;font-size:12px}
 body.gx-on .topbar a{color:#E8CFA3}
 body.gx-on .main{padding:22px 18px calc(124px + env(safe-area-inset-bottom))}
 body.gx-on .mobilebar{left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));padding:6px;gap:2px;border-radius:34px;background:rgba(24,21,18,.76);border:1px solid rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 22px 44px -14px rgba(0,0,0,.85);backdrop-filter:blur(30px) saturate(190%);-webkit-backdrop-filter:blur(30px) saturate(190%);scrollbar-width:none}
 body.gx-on .mobilebar::-webkit-scrollbar{display:none}
 body.gx-on .mobilebar a{min-width:68px;height:54px;border-radius:27px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:10.5px;font-weight:600;letter-spacing:.03em;color:rgba(243,239,231,.56);transition:color .3s,background .3s}
 body.gx-on .mobilebar a.on{color:#1B1711;background:linear-gradient(135deg,#F3E2BF,#C9A96E);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 20px -8px rgba(216,188,134,.7)}
 body.gx-on .mobilebar .mi{font-size:15px;line-height:1.1}
 body.gx-on #root::after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(140px + env(safe-area-inset-bottom));pointer-events:none;z-index:40;background:linear-gradient(180deg,rgba(11,10,9,0),rgba(11,10,9,.85) 60%,#0B0A09)}
 body.gx-on .card{padding:18px 16px;border-radius:24px}
 body.gx-on .pagetitle{font-size:25px}
}
body.gx-on .navdot{background:#E0714A;top:-4px;right:-10px}
body.gx-on .authwrap{background:none}
body.gx-on .main>*{animation:gxUp .55s cubic-bezier(.22,1,.36,1) both}
body.gx-on .main>*:nth-child(2){animation-delay:.04s}body.gx-on .main>*:nth-child(3){animation-delay:.08s}body.gx-on .main>*:nth-child(n+4){animation-delay:.12s}
@keyframes gxUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.gx-on .main>*{animation:none}}
@media print{body.gx-on{background:#fff}}

/* regrouped phone nav: four primary tabs + More sheet (mirrors the team app's bar) */
body.gx-on .mobilebar.gx-bar{display:flex;overflow:visible}
body.gx-on .mobilebar.gx-bar a{flex:1 1 0;min-width:0;cursor:pointer}
body.gx-on .mobilebar .mi{position:relative;display:block;height:24px}
body.gx-on .mobilebar svg,body.gx-on #gx-more svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}
body.gx-on .mobilebar .navdot{top:-5px;right:-11px}
#gx-more{position:fixed;inset:0;z-index:60}
#gx-more .gx-scrim{position:absolute;inset:0;background:rgba(8,7,6,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:gxFade .25s both}
#gx-more .gx-sheet{position:absolute;left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom));padding:8px;border-radius:28px;background:rgba(32,28,23,.86);border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 30px 60px -20px rgba(0,0,0,.9);backdrop-filter:blur(34px) saturate(190%);-webkit-backdrop-filter:blur(34px) saturate(190%);animation:gxSheet .38s cubic-bezier(.22,1,.36,1) both}
#gx-more .gx-sheet a{display:flex;align-items:center;gap:14px;min-height:56px;padding:0 16px;border-radius:20px;color:#F3EFE7;font-size:16px;font-weight:600;cursor:pointer}
#gx-more .gx-sheet a+a{box-shadow:0 -1px 0 rgba(255,255,255,.07)}
#gx-more .gx-sheet a.on{background:rgba(216,188,134,.16);color:#F3E2BF}
#gx-more .gi{color:#D8BC86}#gx-more .gl{flex:1}
#gx-more .gc{color:rgba(243,239,231,.4);font-size:20px}
#gx-more .gn{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#E0714A;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
@keyframes gxFade{from{opacity:0}to{opacity:1}}@keyframes gxSheet{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media (min-width:901px){#gx-more{display:none}}
@media (prefers-reduced-motion:reduce){#gx-more .gx-scrim,#gx-more .gx-sheet{animation:none}}
body.gx-on .side .nav .ic{display:inline-flex;align-items:center;justify-content:center;background:none;border:0}body.gx-on .side .nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.gx-on #syncchip{flex:none;white-space:nowrap}
body.gx-on .topbar>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gx-more{z-index:45}
@media(max-width:900px){body.gx-on .topbar{background:rgba(13,12,10,.9)}}
body.gx-on .tag{white-space:nowrap}
/* daily plan entry: on phones the priority gets its own full-width line, time and length sit under it */
@media(max-width:900px){div:has(>input[id^="pl-t"]){flex-wrap:wrap;margin-bottom:12px!important}input[id^="pl-t"]{flex:1 1 100%!important}input[id^="pl-a"]{flex:1 1 0!important;width:auto!important;min-width:0}div:has(>input[id^="pl-t"])>select{flex:1 1 0!important;width:auto!important;min-width:0}}
@media(max-width:900px){div:has(>.tag+span[style*="--tm"]){flex-wrap:wrap}.tag+span[style*="--tm"]{flex:1 1 100%}}

/* numbers card, purchases, shift score (work in both skins) */
.numtiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.numtile{border:1px solid var(--line);border-radius:14px;padding:10px 12px;min-width:0}
.numtile span{display:block;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-dp);font-weight:700}
.numtile b{display:block;font-size:22px;font-weight:600;margin-top:2px;font-variant-numeric:tabular-nums}
.numtile i{display:block;font-style:normal;font-size:11.5px;color:var(--tm)}
.numtable{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.numtable th{font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--tm);font-weight:700;text-align:right;padding:6px 6px;border-bottom:1px solid var(--line)}
.numtable td{text-align:right;padding:7px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.numtable th:first-child,.numtable td:first-child{text-align:left}
.numtable td i{font-style:normal;color:var(--tm);font-size:11.5px}
.numtable tr.gap td{color:var(--warn)}.numtable tr.gap td[colspan]{text-align:left}.numtable tr.fut td{color:var(--tm);opacity:.5}
.numtable tr.tot td{font-weight:700;border-bottom:0;border-top:2px solid var(--gold)}
.buyrow{display:flex;gap:6px;margin-bottom:6px}.buyrow input{min-width:0}.buyrow input:first-child{flex:2}.buyrow input:last-child{flex:1}
.scorebox{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin-top:10px}
.scorering{flex:none;width:68px;height:68px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(closest-side,var(--panel) 78%,transparent 80% 100%),conic-gradient(var(--gold) calc(var(--p)*1%),var(--tint) 0)}
.scorering b{font-size:22px;line-height:1;font-weight:700}.scorering span{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--tm)}
body.gx-on .scorering{background:radial-gradient(closest-side,#221d17 78%,transparent 80% 100%),conic-gradient(#D8BC86 calc(var(--p)*1%),rgba(255,255,255,.1) 0)}
@media(max-width:900px){.numtiles{grid-template-columns:repeat(2,1fr)}.numtable{font-size:12px}.numtable td i{display:block}}
.numnav{display:flex;align-items:center;gap:10px}.numnav b{font-size:13px;flex:1;text-align:center}
.numnav button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--tint);color:inherit;font-size:20px;line-height:1;cursor:pointer}.numnav button:disabled{opacity:.3;cursor:default}
body.gx-on .numnav button{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#F3EFE7}
.wyo-new{outline:2px solid #E0714A;outline-offset:-1px;box-shadow:0 0 0 4px rgba(224,113,74,.14)}
body.gx-on .card.wyo-new{border-color:#E0714A;box-shadow:0 0 0 1px #E0714A,0 0 26px -6px rgba(224,113,74,.55)}
.wyo-dot{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:10px;background:#E0714A;color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;vertical-align:middle}

/* print sheet: a white page on screen with Print / Save as PDF, then the same page on paper */
#print-sheet.show{display:block;position:fixed;inset:0;z-index:300;overflow:auto;-webkit-overflow-scrolling:touch;background:#ECE8DF;color:#111;font-family:'Inter',system-ui,sans-serif;font-size:15px;line-height:1.5}
#print-sheet .ps-bar{position:sticky;top:0;z-index:2;display:flex;gap:8px;align-items:center;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#1B1814;box-shadow:0 2px 12px rgba(0,0,0,.25)}
#print-sheet .ps-bar button{min-height:44px;padding:0 16px;border-radius:22px;border:1px solid rgba(255,255,255,.22);background:transparent;color:#F3EFE7;font:600 14px 'Inter',system-ui,sans-serif;cursor:pointer}
#print-sheet .ps-bar button.go{background:linear-gradient(135deg,#F3E2BF,#C9A96E);color:#1B1711;border-color:transparent}
#print-sheet.show .ps-page{background:#fff;max-width:760px;margin:16px auto 60px;padding:28px 24px;border-radius:6px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
#print-sheet.show h1{font-family:'Jost',sans-serif;font-size:26px;line-height:1.15;margin:2px 0 0;color:#111}
#print-sheet.show h2{font-family:'Jost',sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7A6234;border-bottom:1px solid #C9A96E;padding-bottom:3px;margin:18px 0 6px}
#print-sheet.show p,#print-sheet.show td,#print-sheet.show th,#print-sheet.show div{color:#111}
body.ps-open{overflow:hidden}
@media print{#print-sheet.show{position:static;overflow:visible;background:#fff}#print-sheet.show .ps-page{box-shadow:none;margin:0;padding:0;max-width:none;border-radius:0}#print-sheet .ps-bar{display:none!important}body.ps-open{overflow:visible}#gx-more{display:none!important}}
#print-sheet.show .ps-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;border-bottom:2px solid #111;padding-bottom:10px;flex-wrap:wrap}
#print-sheet.show .ps-k{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#555}
#print-sheet.show .ps-when{font-family:'Jost',sans-serif;font-size:17px;font-weight:600;color:#111}
#print-sheet.show .ps-t{width:100%;border-collapse:collapse;margin-top:12px}
#print-sheet.show .ps-t th{text-align:left;width:34%;font-weight:600;color:#555;padding:6px 0;border-bottom:1px solid #ddd}
#print-sheet.show .ps-t td{padding:6px 0;border-bottom:1px solid #ddd;font-weight:600}
#print-sheet.show .ps-body,#print-sheet.show .ps-up{white-space:pre-wrap}#print-sheet.show .ps-up{margin-bottom:8px;font-size:14px}
#print-sheet.show .ps-chk div{display:flex;align-items:center;gap:10px;margin-bottom:8px}#print-sheet.show .ps-chk span{width:17px;height:17px;border:1.5px solid #111;display:inline-block;flex:none}
#print-sheet.show .ps-sign{margin-top:16px}#print-sheet.show .ps-foot{margin-top:20px;font-size:11px;color:#777}

/* location picker + side-by-side table */
.locsel{appearance:none;-webkit-appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23C9A96E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center;border:0;border-bottom:1px dashed var(--gold-dp);color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;padding:2px 16px 2px 0;max-width:100%;cursor:pointer;border-radius:0;width:auto;min-height:0}
.topbar .locsel{max-width:46vw;text-overflow:ellipsis}
body.gx-on .locsel{background-color:transparent;border:0;border-bottom:1px dashed rgba(216,188,134,.6);color:#F3EFE7;padding:2px 16px 2px 0;border-radius:0;box-shadow:none}
.locsel option{color:#111;text-transform:none;letter-spacing:0}
.loctable td.lead{color:var(--gold-dp);font-weight:700}body.gx-on .loctable td.lead{color:#E8CFA3}
.loctable th a{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.topbar .wm{white-space:nowrap}.topbar a{white-space:nowrap}
.topbar .locsel{font-size:13px;max-width:44vw;color:inherit}
body.gx-on .topbar .locsel{font-size:13px;color:#F3EFE7;min-height:32px}
@media(max-width:900px){.loctable{font-size:12px}.loctable td,.loctable th{padding:7px 4px}.loctable td:first-child{white-space:normal;min-width:86px}.loctable th{white-space:normal;text-align:right}}
.main{min-width:0}.main>.card,.main>div>.card{max-width:100%;min-width:0;box-sizing:border-box}.loctable{table-layout:auto;width:100%}@media(max-width:900px){.loctable td:first-child{min-width:0}}
.progtable td:first-child{white-space:nowrap}@media(max-width:900px){.progtable{font-size:12px;min-width:520px}}
@media(max-width:900px){.progtable{min-width:0;font-size:13px}.progtable thead{display:none}.progtable tr{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px 10px;padding:12px 0;border-bottom:1px solid var(--line)}
.progtable td{display:block;border:0;padding:0;text-align:left;white-space:normal}.progtable td:first-child{grid-column:1/-1;font-size:15px}
.progtable td[data-l]::before{content:attr(data-l);display:block;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--tm);font-weight:700;margin-bottom:1px}.progtable td i{display:inline}}
