/* Studio surface — calm app shell tinted in the brand. */
.s-app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--page-2) 0 252px, var(--line) 252px 253px, var(--page) 253px); }
.s-side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 26px;
  padding: 22px 16px 18px;
}
.s-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; }
.s-wm { height: 19px; width: auto; }
.s-brand-l { font-size: 10.5px; font-weight: 680; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; }
.s-nav { display: grid; gap: 2px; }
.nav-i { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 540; color: var(--ink-2); transition: background-color .3s, color .3s; }
.nav-i:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); }
.nav-i[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.nav-i .tag { margin-left: auto; }
.count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 680; font-style: normal; background: var(--btn); color: var(--btn-ink); }
.s-side-sec { display: grid; gap: 4px; }
.s-side-sec .eyebrow { padding: 0 10px 6px; }
.filt { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; font-weight: 520; cursor: pointer; }
.filt input { width: 15px; height: 15px; accent-color: var(--ink); margin: 0; }
.filt .tag { margin-left: auto; height: 18px; font-size: 9.5px; padding: 0 5px; }
.s-side-foot { margin-top: auto; display: grid; gap: 14px; }
.tag-sample { justify-self: start; margin-left: 10px; }
.me { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.me b { display: block; font-size: 13.5px; font-weight: 620; }
.me span { display: block; font-size: 12px; color: var(--ink-2); }

.s-main { min-width: 0; display: flex; flex-direction: column; }
.s-view { padding: 0 32px 48px; }
.s-mtop, .s-tabs, .s-phone { display: none; }
.s-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 26px 0 18px; }
.s-h1 { font-size: 28px; font-weight: 500; letter-spacing: -.032em; line-height: 1.1; margin-top: 6px; }
.s-bar-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.s-bar-tools { display: flex; gap: 8px; padding-left: 10px; margin-left: 4px; border-left: 1px solid var(--line); }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); }
.seg button { min-height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 580; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.pager { display: inline-flex; gap: 6px; align-items: center; }
.pager .icon-btn { width: 40px; height: 40px; }

/* Status: always icon + text, never colour alone */
.st { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 660; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.st .ic { width: 13px; height: 13px; stroke-width: 2; }
.who { display: inline-flex; align-items: center; gap: 7px; font-weight: 560; }

/* Legend */
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 14px; font-size: 12.5px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 22px; height: 12px; border-radius: 4px; display: inline-block; }
.lg-conf { background: var(--blush); }
.lg-pend { background: repeating-linear-gradient(135deg, var(--blush-2) 0 1.5px, transparent 1.5px 5px), var(--surface); border: 1.5px dashed var(--blush-2); }
.lg-buf { background: repeating-linear-gradient(90deg, var(--hatch) 0 1px, transparent 1px 4px); border: 1px solid var(--line-2); }
.lg-done { background: var(--blush); opacity: .45; }
.lg-decl { border: 1.5px dashed var(--line-2); }
.lg-off { background: repeating-linear-gradient(135deg, transparent 0 4px, var(--line-2) 4px 5px); border: 1px solid var(--line); }

/* Week calendar */
.cal { --hr: 52px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; }
.cal-head, .cal-body { display: grid; grid-template-columns: 62px repeat(7, minmax(0, 1fr)); }
.cal-head { border-bottom: 1px solid var(--line); }
.cal-day { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px; padding: 12px 12px 10px; border-left: 1px solid var(--line); }
.cal-dn { font-size: 11px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); }
.cal-dd { font-size: 22px; font-weight: 460; letter-spacing: -.03em; }
.cal-day .today-pill { justify-self: end; }
.cal-who { grid-column: 1 / -1; display: flex; gap: 4px; min-height: 12px; }
.today-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 10.5px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; }
.cal-day.is-today .cal-dd { font-weight: 640; }
.cal-body { position: relative; height: calc(var(--rows) * var(--hr) + 16px); padding-top: 8px; }
.cal-gut { position: relative; }
.cal-h { position: absolute; right: 10px; transform: translateY(-50%); margin-top: 8px; font-size: 11px; font-weight: 560; color: var(--ink-3); }
.cal-body .cal-gut { margin-top: -8px; }
.cal-col {
  position: relative; border-left: 1px solid var(--line);
  background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--hr));
}
.cal-col.is-today { background-color: color-mix(in srgb, var(--blush) 14%, transparent); }
.off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); }

.ev {
  position: absolute; left: 6px; right: 6px; z-index: 2; display: flex; flex-direction: column; gap: 3px;
  padding: 8px 10px; border-radius: 11px; overflow: hidden; font-size: 12px; line-height: 1.3;
  background: var(--sh); color: var(--on-shade); box-shadow: 0 1px 1px rgba(60, 30, 20, .06);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s;
}
a.ev:hover { transform: translateY(-2px); box-shadow: var(--sh-2); z-index: 3; }
.ev-t { font-weight: 640; font-size: 11.5px; }
.ev-n { font-weight: 620; font-size: 13px; display: flex; align-items: center; gap: 5px; }
.ev-n i { font-style: normal; font-weight: 600; font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.ev-notes { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 640; }
.ev-notes .ic { width: 13px; height: 13px; }
.ev-s { opacity: .85; }
.ev-f { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 6px; }
.ev-who { font-size: 11px; font-weight: 600; opacity: .8; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-short { padding: 6px 9px; gap: 2px; justify-content: center; }
.ev-short .ev-t { font-size: 11.5px; margin-right: 2px; }
.ev-short .ev-f { margin-top: 0; flex-wrap: nowrap; }
.ev.has-buf { border-radius: 4px; }
.ev-pending {
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sh2) 55%, transparent) 0 1.5px, transparent 1.5px 7px), var(--surface);
  color: var(--ink); border: 1.5px dashed var(--sh2); box-shadow: none;
}
.ev-done { opacity: .5; }
.ev-declined { background: transparent; color: var(--ink-2); border: 1.5px dashed var(--line-2); box-shadow: none; }
.ev-declined .ev-n, .ev-declined .ev-s { text-decoration: line-through; text-decoration-thickness: 1px; }
.buf {
  position: absolute; left: 12px; right: 12px; z-index: 1; display: flex; align-items: center; padding: 0 8px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sh2) 60%, transparent) 0 1px, transparent 1px 5px);
  border: 1px solid color-mix(in srgb, var(--sh2) 70%, transparent); color: var(--ink-2);
  font-size: 10.5px; font-weight: 640; letter-spacing: .02em;
}
.buf span { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); padding: 1px 5px; border-radius: 5px; }
.buf .ic { width: 12px; height: 12px; }
.buf-pre { border-radius: 9px 9px 0 0; border-bottom: 0; }
.buf-post { border-radius: 0 0 9px 9px; border-top: 0; }
.now { position: absolute; left: -1px; right: 0; z-index: 4; border-top: 1.5px solid var(--copper); }
.now::before { content: ''; position: absolute; left: -4px; top: -4.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }
.now span { position: absolute; right: 6px; top: -10px; font-size: 10.5px; font-weight: 700; color: var(--copper); background: var(--surface); padding: 0 4px; border-radius: 4px; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .s-app { display: block; }
  .s-side, .s-desk { display: none; }
  .s-mtop { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; min-height: 64px; }
  .s-mtop .s-brand { padding: 0; }
  .s-phone { display: block; }
  .s-view { padding: 0 16px 28px; }
  .s-ph-head { padding: 6px 0 16px; }
  .s-h1 { font-size: 27px; }
  .s-tabs {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin: 0 16px 16px; padding: 3px;
    background: var(--sunk); border: 1px solid var(--line); border-radius: 14px;
  }
  .s-tabs a { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 11px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
  .s-tabs a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: var(--sh-1); }
  .s-tabs .ic { width: 16px; height: 16px; }
  .s-tabs a:not([aria-current]) .ic { display: none; }
  .s-tabs .count { margin: 0; min-width: 18px; height: 17px; font-size: 10.5px; }
  .daystrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 14px; }
  .daystrip button { display: grid; justify-items: center; gap: 2px; min-height: 66px; padding: 8px 0 7px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-size: 10.5px; font-weight: 620; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
  .daystrip button b { font-size: 17px; font-weight: 520; letter-spacing: -.02em; color: var(--ink); text-transform: none; }
  .daystrip button.past { opacity: .55; }
  .daystrip button[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); box-shadow: var(--sh-2); }
  .daystrip button[aria-selected="true"] b { color: var(--btn-ink); }
  .ds-dots { display: flex; gap: 3px; min-height: 6px; }
  .ds-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sh2); }
  .ds-dots i.is-pend { background: transparent; box-shadow: inset 0 0 0 1.5px var(--sh2); }
  .ph-req { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; margin-bottom: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
  .ph-req > span { display: grid; flex: 1; font-size: 12.5px; }
  .ph-req b { font-size: 14.5px; font-weight: 620; }
  .s-phone .legend { gap: 6px 14px; font-size: 11.5px; margin-bottom: 8px; }
  .ag-day { padding-top: 18px; }
  .ag-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 660; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
  .agenda ul { display: grid; gap: 8px; }
  .agenda li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: start; }
  .ag-t { display: grid; font-size: 13px; font-weight: 640; padding-top: 12px; }
  .ag-t small { font-size: 11.5px; font-weight: 520; color: var(--ink-3); }
  .ag-card { display: grid; gap: 6px; padding: 12px 14px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); min-width: 0; }
  .ag-card.ev-confirmed, .ag-card.ev-done { background: color-mix(in srgb, var(--sh) 55%, var(--surface)); }
  [data-theme="dark"] .ag-card.ev-confirmed { background: color-mix(in srgb, var(--sh) 16%, var(--surface)); border-color: color-mix(in srgb, var(--sh) 40%, transparent); }
  .ag-card.ev-pending { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sh2) 40%, transparent) 0 1.5px, transparent 1.5px 8px), var(--surface); border: 1.5px dashed var(--sh2); box-shadow: none; }
  .ag-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
  .ag-top b { font-size: 15px; font-weight: 620; }
  .ag-top i { font-style: normal; font-size: 9.5px; font-weight: 640; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
  .ag-s { font-size: 13.5px; color: var(--ink-2); }
  .ag-m { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; align-items: center; }
  .ag-m .muted { display: inline-flex; align-items: center; gap: 4px; }
  .ag-m .ic { width: 14px; height: 14px; }
  li.ag-buf > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 10px; font-size: 12px; font-weight: 560; color: var(--ink-2); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sh2) 45%, transparent) 0 1px, transparent 1px 5px); border: 1px dashed color-mix(in srgb, var(--sh2) 80%, transparent); }
  li.ag-buf .ag-t { padding-top: 7px; color: var(--ink-3); font-weight: 560; }
  li.ag-buf .ic { width: 14px; height: 14px; }
}

/* Night vanity: quieter hatch so text on pending holds stays legible */
[data-theme="dark"] .ev-pending { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sh2) 26%, transparent) 0 1.5px, transparent 1.5px 9px), var(--surface); }
[data-theme="dark"] .buf { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sh2) 30%, transparent) 0 1px, transparent 1px 6px); }
[data-theme="dark"] .cal-col.is-today { background-color: color-mix(in srgb, var(--blush) 6%, transparent); }
[data-theme="dark"] .ev-done { opacity: .42; }

/* ---------- Sign in ---------- */
.s-login { min-height: 100vh; }
.lg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.lg-plate { display: grid; place-items: center; align-content: center; gap: 28px; background: var(--page-2); border-right: 1px solid var(--line); padding: 48px; }
.lid-login { max-width: 360px; }
.lg-form { display: grid; grid-template-rows: auto 1fr auto; padding: 22px 48px 28px; }
.lg-top { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lg-top .c-tools { margin-left: auto; }
.lg-body { align-self: center; width: 100%; max-width: 420px; margin: 0 auto; display: grid; gap: 12px; }
.lg-body .form { margin-top: 14px; }
.lg-fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.lg-fine .ic { width: 15px; height: 15px; margin-top: 1px; }
.lg-credit { border-top: 0; padding-top: 0; }

/* ---------- Requests ---------- */
.s-ph-only { display: none; }
.rq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
.rq-list { display: grid; gap: 14px; }
.rq {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) 190px; gap: 22px; align-items: center; padding: 20px 22px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: box-shadow .45s, transform .45s;
}
.rq:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.rq.is-decided { opacity: .82; }
.rq-hold { display: grid; justify-items: center; align-content: center; gap: 8px; padding-right: 20px; border-right: 1px solid var(--line); align-self: stretch; text-align: center; }
.rq-hold > div { display: grid; font-size: 11.5px; line-height: 1.3; }
.rq-hold b { font-size: 15px; font-weight: 640; white-space: nowrap; }
.ring { width: 56px; height: 56px; }
.ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--butter-2); stroke-width: 6; stroke-linecap: round; }
.rq-body { display: grid; gap: 6px; min-width: 0; }
.rq-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.rq-ref { font-weight: 640; font-size: 12px; letter-spacing: .02em; }
.rq-ends { margin-left: auto; white-space: nowrap; }
.rq-name { font-size: 22px; font-weight: 500; letter-spacing: -.025em; display: flex; align-items: center; gap: 8px; }
.rq-svc { font-size: 14px; color: var(--ink-2); }
.rq-dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; margin-top: 6px; font-size: 13px; }
.rq-dl > div { display: flex; gap: 8px; align-items: center; min-width: 0; }
.rq-dl dt { color: var(--ink-2); display: grid; place-items: center; width: 18px; }
.rq-dl .ic { width: 16px; height: 16px; }
.rq-act { display: grid; gap: 8px; }
.rq-act .btn { width: 100%; }
.btn-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.btn-link .ic { width: 16px; height: 16px; }
.rq-done { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; font-size: 13px; }
.rq-done .ic { width: 16px; height: 16px; margin-top: 2px; }
.empty { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 18px 22px; border-radius: 20px; border: 1.5px dashed var(--line-2); }
.empty b { font-size: 15.5px; font-weight: 600; }
.empty p { font-size: 13px; margin-top: 3px; }
.rq-side { display: grid; gap: 14px; position: sticky; top: 24px; }
.rq-mini { display: grid; gap: 4px; justify-items: start; font-size: 13px; }
.rq-mini b { font-size: 15px; font-weight: 600; }
.rq-side .fine b { color: var(--ink); }

/* ---------- Booking detail + notes ---------- */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.bk-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.tl { position: relative; display: grid; gap: 14px; }
.tl::before { content: ''; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 1px; background: var(--line-2); }
.tl-i { position: relative; display: grid; gap: 12px; padding: 0 0 0 46px; }
.nt-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-left: -46px; }
.nt-h .pan-sm, .nt-cust { position: relative; z-index: 1; width: 31px; height: 31px; flex: none; }
.nt-cust { display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); }
.nt-cust .ic { width: 15px; height: 15px; }
.nt-h b { font-size: 14px; font-weight: 620; }
.nt-h .tag { margin-left: auto; }
.nt-text, .nt-file, .nt-photos, .nt-video, .chk { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.nt-text { padding: 14px 16px; font-size: 14.5px; line-height: 1.55; max-width: 64ch; }
.nt-file { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 12px 12px 12px 14px; max-width: 520px; }
.nt-file > div { display: grid; font-size: 12.5px; min-width: 0; }
.nt-file b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.pdf { display: grid; place-items: center; width: 46px; height: 54px; border-radius: 8px 14px 8px 8px; background: var(--blush); color: var(--on-shade); font-size: 11px; font-weight: 760; letter-spacing: .06em; }
.nt-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.nt-photos figure { display: grid; gap: 6px; }
.ph { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.ph svg { width: 100%; height: 100%; }
figcaption { font-size: 12px; color: var(--ink-2); padding: 0 2px; overflow-wrap: anywhere; }
.nt-video { padding: 10px; display: grid; gap: 8px; max-width: 560px; }
.vid { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.vid svg { width: 100%; height: 100%; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(251, 244, 238, .92); color: #45291D; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.play .ic { width: 22px; height: 22px; margin-left: 3px; }
.dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(30, 15, 20, .72); color: #fff; font-size: 12px; font-weight: 640; }
.chk { padding: 6px 14px; display: grid; max-width: 420px; }
.chk li { display: flex; align-items: center; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.chk li:last-child { border-bottom: 0; }
.chk input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.chk input:checked + label { text-decoration: line-through; text-decoration-color: var(--ink-3); color: var(--ink-2); }
.tl-i > .fine { margin-top: -4px; }
.composer { margin-top: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-1); overflow: hidden; }
.composer textarea { width: 100%; border: 0; background: transparent; padding: 16px 18px 8px; font-size: 14.5px; resize: vertical; min-height: 80px; }
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: var(--ink-3); }
.cmp-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface-2); }
.cmp-vis { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; }
.cmp-vis .ic { width: 14px; height: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bk-side { display: grid; gap: 14px; position: sticky; top: 24px; }
.bk-side .box-status .st-confirmed { height: 28px; padding: 0 11px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 70%, transparent); color: var(--on-shade); }
[data-theme="dark"] .bk-side .box-status .st-confirmed { background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--ink); border: 1px solid var(--mint-2); }
.cnote { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Team ---------- */
.tm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.tm-list { display: grid; gap: 14px; }
.tm { gap: 16px; }
.tm-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pan-md { width: 46px; height: 46px; }
.tm-name { font-size: 20px; font-weight: 540; letter-spacing: -.02em; }
.tm-full { font-size: 14px; font-weight: 460; letter-spacing: 0; }
.tm-top > div { min-width: 0; }
.tm-top p { font-size: 13px; }
.role { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 660; letter-spacing: .04em; text-transform: uppercase; }
.role .ic { width: 13px; height: 13px; }
.role.is-owner { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.tm-row { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.wk span { display: grid; gap: 4px; justify-items: center; font-size: 11px; font-weight: 640; color: var(--ink-3); }
.wk i { display: block; width: 100%; height: 26px; border-radius: 8px; background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line) 5px 6px); border: 1px solid var(--line); }
.wk span.on { color: var(--ink); }
.wk span.on i { background: var(--sh); border-color: transparent; }
.tm-hrs { font-size: 14px; font-weight: 560; }
.tm-off { grid-template-columns: 1fr auto; align-items: center; }
.tm-off p:not(.eyebrow) { font-size: 13.5px; margin-top: 2px; }
.see { position: sticky; top: 24px; }
.see-lede { font-size: 18px; font-weight: 520; letter-spacing: -.02em; }
.see-l { display: grid; gap: 2px; }
.see-l li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.see-l .ic { width: 16px; height: 16px; margin-top: 2px; }
.see-l .n { color: var(--ink-2); }
.see-l .n .ic { color: #A3485F; }
[data-theme="dark"] .see-l .n .ic { color: #F2A7B8; }

@media (max-width: 1200px) and (min-width: 761px) {
  .rq { grid-template-columns: 140px minmax(0, 1fr); }
  .rq-act { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; }
  .rq-layout, .tm-layout, .bk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .s-bar { display: none; }
  .s-ph-only { display: block; }
  .ph-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
  .lg-wrap { grid-template-columns: minmax(0, 1fr); }
  .lg-plate { order: 2; padding: 26px; border-right: 0; border-top: 1px solid var(--line); gap: 16px; }
  .lid-login { max-width: 150px; }
  .lg-form { padding: 14px 18px 22px; gap: 24px; }
  .lg-body { align-self: start; }
  .rq-layout, .tm-layout, .bk { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rq { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .rq-hold { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; grid-template-columns: 44px 1fr; justify-items: start; text-align: left; align-items: center; }
  .ring { width: 44px; height: 44px; }
  .rq-ends { margin-left: 0; width: 100%; }
  .rq-name { font-size: 20px; }
  .rq-dl { grid-template-columns: minmax(0, 1fr); }
  .rq-act { grid-template-columns: 1fr 1fr; }
  .rq-act .btn-link, .rq-act .rq-done { grid-column: 1 / -1; }
  .empty { grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; }
  .rq-side, .bk-side, .see { position: static; }
  .tl-i { padding-left: 40px; }
  .nt-h { margin-left: -40px; }
  .tl::before { left: 15px; }
  .nt-photos { gap: 6px; padding: 6px; }
  .cmp-vis { width: 100%; order: -1; margin: 0 0 4px; }
  .cmp-bar .btn-primary { margin-left: auto; }
  .tm-off { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .role { margin-left: 0; }
}
.rq-mini-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
