/* cal-1104 (Nov 4): calendar-03c FINAL FOR BUILD + menu-audit-02 + universal underline tabs.
   Kept out of styles.css on purpose; loaded after it. Teal #0a6f62. Touch: 44px targets / 15px text; fine pointer >=1024: 32px / 13px. */
:root{--teal:#0a6f62}

/* ---- calendar header: the date is the button; pill on phone, segments at 1024+ ---- */
.cv4 .cvr1{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0}
.cv4 .cvdate{border:0;background:none;padding:0 6px 0 0;min-height:44px;display:inline-flex;align-items:center;cursor:pointer;color:inherit;min-width:0}
.cv4 .cvdate .clt{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv4 .cvdate:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:6px}
.cv4 .cvvw{position:relative;flex:none}
.cv4 .cvpill{min-height:44px;padding:0 14px;border:1px solid #d5dadf;border-radius:22px;background:#fff;font-size:15px;font-weight:600;color:#1d2330;cursor:pointer}
.cv4 .cvvm{position:absolute;right:0;top:calc(100% + 4px);z-index:60;min-width:170px}
.cv4 .cvvm button{display:block;width:100%;text-align:left;min-height:44px;font-size:15px;padding:0 14px}
.cv4 .cvvm button.on{color:var(--teal);font-weight:600}
#app .cv4 .cvseg{display:none}
.cv4 .clnav,.cv4 .cltoday,.cv4 .clwho,.cv4 .c2tabs,.cv4 .cvchev{display:none!important}
@media (min-width:1024px){
  .cv4 .cvvw{display:none}
  #app .cv4 .cvseg{display:inline-flex;flex:none;margin-left:auto;height:auto;padding:0;background:#fff;border:1px solid #d5dadf;border-radius:8px;overflow:hidden}
  .cv4 .cvseg button{border:0;background:#fff;padding:0 14px;min-height:44px;font-size:15px;cursor:pointer;color:#3a4150}
  .cv4 .cvseg button+button{border-left:1px solid #d5dadf}
  .cv4 .cvseg button.on{background:var(--teal);color:#fff;font-weight:600}
}

/* ---- wheel + mini-grid ---- */
#app .cvwheel.sheet{position:fixed;left:50%;top:72px;bottom:auto;right:auto;transform:translateX(-50%);width:min(380px,calc(100vw - 16px));max-width:none;margin:0;box-sizing:border-box;padding:16px;z-index:200;max-height:calc(100vh - 96px);overflow:auto}
#app .cvwheel .wcols{display:grid!important}
#app .cvwheel .mini{display:grid!important}
.cvwheel .wcols{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.cvwheel .wcol{display:flex;flex-direction:column;align-items:stretch;border-radius:10px;background:#f5f7f8;padding:4px}
.cvwheel .wi{min-height:44px;border:0;background:none;font-size:15px;color:#7a8190;cursor:pointer;border-radius:8px}
.cvwheel .wi.on{color:#1d2330;font-weight:700;background:#fff;box-shadow:0 0 0 1px #d5dadf}
.cvwheel .mini{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.cvwheel .wh{font-size:12px;color:#7a8190;padding:4px 0}
.cvwheel .wd{position:relative;min-height:44px;border:0;background:none;font-size:15px;border-radius:22px;cursor:pointer;color:#1d2330}
.cvwheel .wd i{position:absolute;left:50%;bottom:6px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--teal)}
.cvwheel .wd.td{font-weight:700;color:var(--teal)}
.cvwheel .wd.pk{background:var(--teal);color:#fff}
.cvwheel .wd.pk i{background:#fff}
.cvwheel .wlg{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:13px;color:#5c6070}
.cvwheel .wlg i{width:6px;height:6px;border-radius:50%;background:var(--teal)}
.cvwheel .linkbtn{min-height:44px;border:0;background:none;color:var(--teal);font-weight:600;font-size:15px;cursor:pointer}

/* ---- swipe page ---- */
.c2pg{will-change:transform;touch-action:pan-y}

/* ---- Month: details below the grid (every width); rows expand in place ---- */
.clpanel{display:block!important;margin-top:12px}
.clpanel .clx{list-style:none;border-top:1px solid #eceff1;min-height:44px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;cursor:pointer;font-size:15px;padding:0 4px}
.clpanel .clx.op{background:#f5faf9}
.clpanel .clxd{flex-basis:100%;padding:6px 0 12px;font-size:14px;color:#3a4150}
.clpanel .clxd .btn{min-height:44px}

/* ---- Week: open slots folded into "N open" ---- */
.c2open{min-height:32px;padding:0 12px;border:1px dashed #b9c2c9;border-radius:16px;background:#fff;color:#5c6070;font-size:13px;cursor:pointer}
.c2open[aria-expanded="true"]{border-style:solid;color:var(--teal)}

/* ---- Day header ---- */
.c2dhead{padding:12px 14px}
.c2dhead .btn{min-height:44px}
.c2ad{white-space:nowrap}

/* ---- booking popup: no overflow at 390 (styles.css ~506 margin + content-box) ---- */
.c2ed.sheet{margin:0;box-sizing:border-box;max-width:100%}
.c2ed.sheet *{box-sizing:border-box}
.c2ed.sheet input,.c2ed.sheet select{max-width:100%}

/* ---- Schedule (talent view) enlarged to the size rules ---- */
.c6list .btn,.c6list button,.c6row{min-height:44px}
.c6list,.c6list td,.c6list th{font-size:15px}

/* ---- ⋯ menu sections ---- */
.pmsec+.pmsec{border-top:1px solid #eceff1;margin-top:4px;padding-top:4px}
.pmlab{display:block;padding:8px 14px 2px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#7a8190}
.pmsec button[data-red]{color:#b42318}
.pmvis{display:inline-flex;align-items:center;gap:6px}
/* Testy 89 (3): the ⋯ row never wraps; on a phone a visible (primary) item is icon-only so it can't crowd the bell / ⋯ */
.pagemenu{display:inline-flex;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap}
@media (max-width:599px){.pmvis .pmtxt{display:none}.pmvis{min-width:44px;min-height:44px;justify-content:center;padding:0}}
.pmask.sheet{box-sizing:border-box;max-width:min(420px,100vw);margin:0}
.pmask .pmaskb{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pmask .pmaskb .btn{min-height:44px}
.pmask .pmcode{display:block;padding:10px 12px;background:#f5f7f8;border-radius:8px;word-break:break-all;font-size:14px}

/* ---- More: account block ---- */
.macct .macwho{display:flex;align-items:center;gap:12px;padding:12px 14px}
.macct .macav{flex:none;width:40px;height:40px;font-size:17px}
.macct .macout{color:#b42318}

/* ---- universal underline tabs (utabs.js) ---- */
.utabs{margin:0 0 12px;border-bottom:1px solid #e3e6ea}
.utabs .nvtabsc{padding:0}
.utabs .utab{min-height:44px;font-size:15px;padding:0 12px}
.utabs .utab.on{color:var(--teal);border-bottom-color:var(--teal)}
.utabs .ibbadge,.utabs .ibn{margin-left:4px}
.utabs.b8seg,.utabs.ibtabs,.utabs.shgrp,.utabs.titabs{display:block;background:none;border-radius:0;padding:0;box-shadow:none}

/* ---- sizes: touch 44 / 15; fine pointer at 1024+ 32 / 13 ---- */
@media (min-width:1024px) and (pointer:fine){
  .cv4 .cvdate{min-height:32px}
  .cv4 .cvseg button,.cvwheel .wi,.cvwheel .wd,.cvwheel .linkbtn{min-height:32px;font-size:13px}
  .clpanel .clx{min-height:32px;font-size:13px}
  .clpanel .clxd .btn,.c2dhead .btn,.pmask .pmaskb .btn{min-height:32px}
  .c6list .btn,.c6list button,.c6row{min-height:32px}
  .c6list,.c6list td,.c6list th{font-size:13px}
  .utabs .utab{min-height:32px;font-size:13px}
}
@media (min-width:1024px){#app .cv4 .cvseg button{height:44px;font-size:15px}}
@media (min-width:1024px) and (pointer:fine){#app .cv4 .cvseg button{height:32px;font-size:13px}}
/* Week is grouped by day at every width (the people × days .c2grid is retired with Grid, Nov 4) */
@media (min-width:761px){#app .c2pg .c2week{display:grid}}

/* Testy 89 (2): scrolling tab rows show a chevron + fade on the side with hidden tabs */
.nvtabs::after{display:none}
.nvcue{display:none;position:absolute;top:0;bottom:1px;width:40px;border:0;padding:0;z-index:2;font-size:22px;line-height:1;color:var(--accent,#0b5d4b);cursor:pointer}
.nvcue.r{right:0;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 55%);text-align:right;padding-right:8px}
.nvcue.l{left:0;background:linear-gradient(270deg,rgba(255,255,255,0),#fff 55%);text-align:left;padding-left:8px}
.nvtabs.more-r>.nvcue.r,.nvtabs.more-l>.nvcue.l{display:none}
