@charset "UTF-8";
@font-face {
  font-family:Manrope;
  src:url('manrope.ttf') format('truetype');
  font-weight:200 800;
  font-style:normal;
  font-display:swap
}
.date-picker {
  position:relative;
  align-self:center;
  color:var(--muted);
  font-size:11px
}
.date-picker summary {
  cursor:pointer;
  padding:10px 8px;
  border-radius:9px;
  min-height:36px
}
.date-picker[open] summary {
  background:white
}
.date-picker .date-control {
  position:absolute;
  right:0;
  top:43px;
  z-index:5;
  padding:10px;
  border-radius:14px;
  background:white;
  box-shadow:0 8px 30px #20242820
}
.icon-btn.selected {
  color:var(--accent)
}
button[hidden] {
  display:none
}
:root {
  accent-color:#235456;
  color-scheme:light;
  --paper:#f3f4f2;
  --canvas:#e5e9e8;
  --white:#fff;
  --ink:#202428;
  --muted:#626c73;
  --line:#e0e6e5;
  --accent:#235456;
  --accent-light:#e0eeee;
  --green:#178562;
  --shadow:0 1px 3px #2024280a;
  font-family:Manrope,system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--canvas);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  font-size:16px
}
button,input,select {
  font:inherit
}
button {
  cursor:pointer
}
button,a {
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent
}
button {
  border:0;
  color:inherit
}
a {
  color:inherit
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:2px
}
h1,h2,h3,p {
  margin:0
}
h1 {
  font-size:25px;
  line-height:1.25;
  letter-spacing:-.7px;
  font-weight:800
}
h2 {
  font-size:19px;
  letter-spacing:-.4px;
  font-weight:800
}
h3 {
  font-size:16px;
  font-weight:750
}
p {
  line-height:1.5
}
small {
  font-size:12px
}
svg {
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}
.skip {
  position:fixed;
  top:12px;
  left:12px;
  transform:translateY(-150%);
  background:var(--ink);
  color:white;
  padding:12px;
  z-index:100;
  border-radius:8px
}
.skip:focus {
  transform:none
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  clip-path:inset(50%);
  overflow:hidden;
  white-space:nowrap
}
.shell {
  max-width:520px;
  min-height:100vh;
  margin:auto;
  background:var(--paper);
  padding-bottom:110px;
  position:relative;
  box-shadow:0 0 0 1px var(--line),0 20px 60px #00000014
}
.app-header {
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  background:#f3f4f2f2;
  backdrop-filter:blur(12px);
  min-height:92px;
  gap:16px
}
.brand {
  display:block;
  text-decoration:none;
  line-height:1
}
.brand img {
  display:block;
  width:178px;
  height:auto;
  aspect-ratio:2089/329;
  object-fit:contain
}
.header-tools {
  display:flex;
  align-items:center;
  gap:13px;
  flex-wrap:wrap
}
.header-tools time {
  font-size:12px;
  font-variant-numeric:tabular-nums;
  color:var(--muted)
}
.icon-btn {
  width:42px;
  height:42px;
  border-radius:14px;
  background:var(--white);
  box-shadow:var(--shadow);
  display:grid;
  place-items:center;
  flex-shrink:0;
  font-size:24px
}
.icon-btn svg {
  width:23px;
  height:23px
}
main#main {
  scroll-margin-top:105px;
  padding:12px 16px 24px;
  outline:none
}
.bottom-nav {
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(100%,520px);
  z-index:20;
  background:#ffffffef;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:center;
  min-height:76px;
  padding:8px 8px max(8px,env(safe-area-inset-bottom));
  backdrop-filter:blur(14px)
}
.nav-btn {
  background:transparent;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:6px;
  padding:6px 2px;
  color:var(--muted);
  min-height:58px;
  font-weight:700;
  font-size:11px
}
.nav-btn svg {
  width:23px;
  height:23px
}
.nav-btn.selected {
  color:var(--accent)
}
.nav-btn:hover {
  color:var(--ink)
}
.quick-add {
  height:48px;
  width:48px;
  justify-self:center;
  align-self:center;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:white;
  box-shadow:none;
  border:0
}
.quick-add svg {
  width:27px;
  height:27px;
  stroke-width:2.3
}
.quick-add:hover,.primary:hover {
  background:#193f41
}
footer {
  color:var(--muted);
  text-align:center;
  padding:24px 12px 8px;
  font-size:11px
}
.local-badge {
  font-size:10px;
  color:#8a8175
}
footer p {
  margin-top:5px
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:20px 0
}
.page-heading p {
  font-size:13px;
  color:var(--muted);
  margin-top:6px
}
.eyebrow {
  font-size:11px;
  letter-spacing:1.5px;
  font-weight:800;
  color:var(--muted)
}
.page-heading .eyebrow {
  display:none
}
.primary,.secondary,.danger,.expense-action {
  min-height:42px;
  padding:10px 14px;
  border-radius:12px;
  font-size:13px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px
}
.primary {
  background:var(--accent);
  color:white;
  box-shadow:0 6px 15px #23545620
}
.secondary {
  background:var(--white);
  box-shadow:var(--shadow);
  text-decoration:none
}
.danger {
  background:#f9e6df;
  color:#973c2b
}
.expense-action {
  background:#b64034;
  color:var(--white);
}
.expense-action:hover {
  background:#96372f;
}

.primary svg {
  width:19px;
  height:19px
}
.heading-actions {
  display:flex;
  gap:10px
}
.demo-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-radius:14px;
  background:#fdf2dc;
  color:#805813;
  padding:10px 12px;
  font-size:12px;
  font-weight:600;
  margin:2px 0 16px
}
.demo-banner button {
  background:var(--white);
  border-radius:10px;
  padding:8px 10px;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  color:inherit;
  min-height:36px
}
.stats {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:12px 0 13px
}
.stat {
  padding:17px 17px 15px;
  background:var(--white);
  box-shadow:var(--shadow);
  border-radius:20px;
  min-width:0
}
.stat span {
  font-size:11px;
  color:var(--muted);
  font-weight:750
}
.stat strong {
  display:block;
  font-weight:850;
  font-size:25px;
  letter-spacing:-1px;
  line-height:1.1;
  margin:9px 0 6px;
  font-variant-numeric:tabular-nums
}
.stat small {
  font-size:11px;
  color:var(--muted)
}
.stat.money strong {
  color:var(--green)
}
.cash-expense strong {
  color:#b64034
}
.cash-totals small {
  line-height:1.7
}
.cash-credit {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 17px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--white)
}
.cash-credit h2 {
  font-size:13px;
  margin:0 0 5px
}
.cash-credit p {
  font-size:11px;
  color:var(--muted);
  margin:0;
  line-height:1.5
}
.cash-credit>strong {
  flex-shrink:0;
  font-size:20px;
  font-variant-numeric:tabular-nums
}
.cash-count {
  color:var(--muted);
  font-size:11px;
  font-weight:500;
  margin-left:6px
}
.cash-net,
.apprentice-remaining,
.debt-remaining {
  background:var(--accent-light)
}
.apprentice-breakdown {
  margin-top:12px;
  padding:0 17px;
  background:var(--white);
  border-radius:16px
}
.cash-actions,
.apprentice-actions,
.debt-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px
}
.apprentice-breakdown .money-row {
  padding:10px 0
}
#utility form.apprentice-payment {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}
.apprentice-payment label {
  margin-bottom:0;
  min-width:0
}
.apprentice-payment button[type=submit] {
  grid-column:1/-1
}
.apprentice-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap
}
.panel-tabs {
  display:flex;
  gap:5px;
  background:#e5eae8;
  border-radius:13px;
  padding:4px;
  margin:20px 0 12px
}
.panel-tabs button {
  flex:1;
  padding:10px 5px;
  min-height:40px;
  font-size:12px;
  font-weight:700;
  background:transparent;
  color:var(--muted);
  border-radius:10px;
  white-space:nowrap
}
.panel-tabs button.active {
  background:var(--white);
  color:var(--ink);
  box-shadow:0 2px 5px #0000000b
}
.day-strip {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:6px 2px 12px;
  margin:12px -2px 20px;
  scrollbar-width:none
}
.day-strip::-webkit-scrollbar {
  display:none
}
.day-tile {
  flex:0 0 56px;
  border-radius:16px;
  background:var(--white);
  box-shadow:var(--shadow);
  padding:9px 0 8px;
  min-height:75px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px
}
.day-tile span {
  font-size:10px;
  color:var(--muted);
  font-weight:650
}
.day-tile strong {
  font-size:20px;
  font-weight:850;
  line-height:1.15
}
.day-tile small {
  color:var(--accent);
  font-size:10px;
  min-height:10px;
  line-height:1;
  letter-spacing:2px
}
.day-tile.active {
  background:var(--ink);
  color:white
}
.day-tile.active span,.day-tile.active small {
  color:white
}
.toolbar {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin:6px 0 14px
}
.date-heading h2 {
  font-size:20px
}
.date-heading p {
  font-size:11px;
  color:var(--muted);
  margin-top:4px
}
.date-control {
  display:flex;
  align-items:center;
  gap:6px
}
.date-control .icon-btn {
  width:34px;
  height:36px;
  border-radius:10px
}
.date-control input {
  width:130px;
  font-size:12px;
  min-height:36px;
  padding:7px;
  border:0;
  background:var(--white);
  border-radius:10px;
  box-shadow:var(--shadow)
}
.next-customer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:16px;
  border-radius:16px;
  background:var(--accent-light);
  text-align:left;
  margin:12px 0
}
.next-customer strong,.next-customer small {
  display:block
}
.next-customer strong {
  margin:5px 0;
  font-size:18px
}
.next-customer small {
  color:var(--muted);
  font-size:12px
}
.next-customer time {
  color:var(--accent);
  font-weight:800;
  font-size:22px
}
.agenda-availability .slot-grid>p {
  grid-column:1/-1
}
.agenda-availability {
  margin-top:24px
}
.agenda-availability p {
  font-size:12px;
  color:var(--muted);
  margin:8px 0 12px
}
.agenda {
  display:flex;
  flex-direction:column;
  gap:10px
}
.appointment-row {
  display:grid;
  grid-template-columns:59px minmax(0,1fr) auto;
  gap:9px 13px;
  background:var(--white);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px 16px 14px;
  text-align:left;
  width:100%;
  position:relative;
  overflow:hidden;
  align-items:start;
  color:var(--ink);
  min-height:93px
}
.appointment-row:before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:transparent
}
.appointment-row.is-active:before {
  background:var(--accent)
}
.appointment-row.is-done:before {
  background:var(--green)
}
.appointment-row:hover {
  background:#f9fcfb
}
.appointment-row time {
  font-size:18px;
  font-weight:850;
  letter-spacing:-.8px;
  line-height:1.2;
  font-variant-numeric:tabular-nums
}
.time-cell small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
  font-weight:700
}
.customer-cell {
  min-width:0
}
.customer-cell strong {
  font-size:16px;
  font-weight:850;
  display:block;
  overflow-wrap:anywhere;
  line-height:1.3
}
.customer-cell small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.3
}
.appointment-detail {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  color:var(--muted);
  margin-top:8px
}
.appointment-detail .status-pill {
  font-size:10px
}
.appointment-meta {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:9px;
  min-width:55px
}
.row-price {
  font-size:17px;
  font-weight:850;
  white-space:nowrap
}
.status-pill {
  font-size:10px;
  font-weight:750;
  border-radius:20px;
  padding:4px 8px;
  background:#edf1f0;
  color:var(--muted);
  width:fit-content;
  white-space:nowrap
}
.status-pill.active {
  background:var(--accent-light);
  color:#235456
}
.status-pill.done {
  background:#e5f1e9;
  color:#177652
}
.status-pill.missed,.status-pill.cancelled {
  background:#f3e8e5;
  color:#8a574c
}
.payment-pill {
  font-size:10px;
  font-weight:750;
  padding:3px 8px;
  border-radius:20px;
  background:#edf1f0;
  color:var(--muted)
}
.payment-pill.cash {
  background:#e8f3eb;
  color:#237747
}
.payment-pill.card {
  background:#e4edeb;
  color:#235456
}
.payment-pill.debt {
  background:#fff1d7;
  color:#98701f
}
.appointment-row.is-cancelled .customer-cell strong,.appointment-row.is-missed .customer-cell strong {
  color:var(--muted);
  text-decoration:line-through
}
.empty-state {
  padding:40px 20px;
  text-align:center;
  background:#fff;
  border-radius:20px
}
.empty-state h2 {
  font-size:18px;
  margin-bottom:9px
}
.empty-state p {
  font-size:13px;
  color:var(--muted)
}
.settings-section {
  background:var(--white);
  padding:20px;
  border-radius:20px;
  box-shadow:var(--shadow);
  margin-top:15px
}
.settings-section h2 {
  margin-bottom:12px
}
.settings-section p {
  font-size:13px;
  color:var(--muted);
  line-height:1.6
}
.settings-section :is(.primary,.secondary,.danger) {
  min-height:44px
}
.settings-section .secondary {
  border:1px solid var(--line)
}
.settings-section .secondary:focus-visible {
  outline-offset:-2px;
  box-shadow:none
}
.settings-section>button {
  margin:12px 0
}
.settings-section>label {
  margin-top:12px
}
.settings-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}
.settings-heading h2 {
  margin:0
}
.settings-service {
  padding:10px 0;
  border-bottom:1px solid var(--line)
}
.settings-service:last-child {
  border-bottom:0
}
.settings-service small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:5px
}
.settings-section .service-price {
  grid-template-columns:minmax(60px,1fr) repeat(3,auto);
  align-items:end;
  gap:6px;
  margin-top:8px
}
.service-price label {
  min-width:0;
  margin:0
}
.service-price .field-note {
  grid-column:1/-1;
  margin:0;
  font-size:11px
}
.service-price .field-note:empty {
  display:none
}
.settings-section .service-price button {
  min-height:44px;
  padding:8px;
  font-size:12px
}
.service-price input[name="price"] {
  min-width:0;
  padding-inline:8px
}
@media (max-width:360px) {
  .stat.money .long-amount {
    font-size:20px
  }
  .settings-section .service-price {
    grid-template-columns:minmax(0,1fr) auto
  }
}
.settings-address a {
  display:inline-block;
  margin-top:10px;
  color:var(--accent);
  font-weight:750
}
.money-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  font-size:13px;
  padding:16px 0;
  border-bottom:1px solid var(--line)
}
.money-row:last-child {
  border:0
}
.money-row small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:5px
}
.money-row button {
  grid-column:2;
  padding:6px 12px;
  min-height:34px
}
.booking-layout {
  display:grid;
  gap:16px
}
.booking-card {
  background:white;
  border-radius:20px;
  padding:23px;
  box-shadow:var(--shadow)
}
.booking-card h2 {
  font-size:20px;
  margin-bottom:20px
}
.booking-info {
  background:#e5eae8;
  border-radius:20px;
  padding:24px
}
.booking-info p {
  font-size:13px;
  color:var(--muted);
  max-width:400px
}
.booking-info img {
  width:60px;
  height:60px;
  object-fit:contain;
  margin:16px 0
}
.booking-info .hours {
  font-size:12px;
  line-height:1.8
}
.slot-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:7px;
  max-height:220px;
  overflow:auto;
  margin:14px -3px 20px;
  padding:3px
}
#booking-slots>p,#available>p {
  grid-column:1/-1;
  margin:0;
  line-height:1.5
}
.slot-btn {
  padding:10px 3px;
  border-radius:10px;
  border:1px solid var(--line);
  background:white;
  font-weight:700;
  font-size:12px
}
.slot-btn.active {
  color:white;
  background:var(--ink);
  border-color:var(--ink)
}
.slot-btn:focus-visible {
  outline-offset:-2px
}
.slot-btn.active:focus-visible {
  outline-color:var(--white)
}
.booking-price {
  font-size:13px;
  color:var(--muted);
  margin-bottom:20px
}
.booking-card .primary {
  width:100%
}
.success-panel {
  padding:24px;
  background:#edf5eb;
  border-radius:16px
}
.success-panel h2 {
  margin-bottom:10px
}
.success-panel p {
  font-size:13px
}
.success-panel .secondary {
  margin-top:15px
}
label {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:17px;
  font-size:12px;
  font-weight:650;
  color:var(--muted)
}
input,select {
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #d5dddc;
  border-radius:11px;
  font-size:16px;
  color:var(--ink);
  background:var(--white)
}
input:focus,select:focus,textarea:focus,.calendar-value:focus {
  border-color:var(--accent);
  outline:none;
  box-shadow:none
}
select {
  appearance:none;
  padding-inline:14px 44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23235456' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:12px 8px;
  cursor:pointer
}
select option {
  color:var(--ink);
  background:var(--white)
}
select option:checked {
  background:var(--accent-light);
  color:var(--accent)
}
@supports (appearance:base-select) {
  select,select::picker(select) {
    appearance:base-select
  }
  select::picker-icon {
    display:none
  }
  select::picker(select) {
    display:none;
    flex-direction:column;
    gap:4px;
    border:1px solid var(--line);
    border-radius:11px;
    padding:5px;
    background:var(--white);
    color:var(--ink);
    box-shadow:0 8px 24px #2024281a;
    position-area:block-end span-inline-end;
    position-try-fallbacks:none;
    margin-block:6px;
    max-height:min(320px,45dvh);
    overflow-y:auto;
    overscroll-behavior:contain
  }
  select::picker(select):popover-open {
    display:flex
  }
  select option {
    flex-shrink:0;
    padding:10px 12px;
    min-height:44px;
    border-radius:7px;
    cursor:pointer
  }
  select option::checkmark {
    display:none
  }
  select option:hover,select option:focus-visible {
    background:var(--paper);
    color:var(--ink);
    outline:none
  }
  select option:checked,select option:checked:hover,select option:checked:focus-visible {
    background:var(--accent-light);
    color:var(--accent)
  }
}
#editor {
  padding:20px
}
#editor .dialog-heading {
  margin-bottom:14px
}
#editor label {
  gap:5px;
  margin-bottom:10px
}
#editor .quick-choices {
  gap:6px;
  margin-bottom:10px
}
#editor .slot-grid {
  max-height:none;
  overflow:visible;
  margin-top:8px;
  margin-bottom:14px
}
#editor .slot-btn {
  min-height:44px
}
#editor .field-note {
  margin-bottom:10px
}
.editor-choice-field {
  grid-column:1/-1;
}
.quick-choices {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}
.quick-choices .slot-btn {
  padding-inline:14px;
}
.customer-suggestion {
  flex-direction:row;
  align-items:center;
  gap:6px;
  min-height:40px;
  padding:8px 10px;
  font-size:12px;
  text-align:left;
}
.customer-suggestion small {
  color:var(--muted);
  font-size:10px;
}
.customer-suggestion[aria-pressed=true] {
  background:var(--accent-light);
}
.field-note {
  color:var(--muted);
  font-size:12px;
  margin:-10px 0 14px;
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 14px
}
.error {
  font-size:13px;
  color:#9d392b;
  line-height:1.5
}
.error:not(:empty) {
  margin:12px 0 18px
}
.toast {
  position:fixed;
  bottom:100px;
  left:50%;
  transform:translateX(-50%);
  z-index:40;
  border-radius:14px;
  background:var(--ink);
  color:white;
  padding:13px 18px;
  font-size:13px;
  font-weight:650;
  box-shadow:0 10px 30px #0003;
  max-width:90vw
}
.toast[hidden] {
  display:none
}
dialog {
  padding:25px;
  max-width:520px;
  width:calc(100% - 24px);
  border:0;
  border-radius:24px;
  background:var(--paper);
  color:var(--ink);
  max-height:92vh;
  box-shadow:0 20px 80px #0003
}
dialog::backdrop {
  background:#20242860;
  backdrop-filter:blur(3px)
}
.dialog-heading {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  margin-bottom:22px
}
.payment-methods {
  border:0;
  padding:0;
  margin:0;
  min-width:0
}
.payment-methods legend {
  font-size:12px;
  font-weight:650;
  color:var(--muted);
  margin-bottom:8px
}
.payment-options {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px
}
.payment-options.payment-pair {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.payment-choice {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0;
  padding:10px 6px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--white);
  color:var(--ink);
  font-size:13px;
  font-weight:750;
  cursor:pointer
}
.payment-choice input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:pointer
}
.payment-choice:has(input:checked) {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--white)
}
.payment-choice:has(input:focus-visible) {
  outline:2px solid var(--accent);
  outline-offset:-2px
}
.payment-choice:has(input:checked:focus-visible) {
  outline-color:var(--white)
}
.payment-unpaid {
  grid-column:1/-1
}
.dialog-actions {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  flex-wrap:wrap
}
.wide-app .shell {
  max-width:1000px
}
.wide-app .bottom-nav {
  max-width:520px
}
.wide-app main#main {
  padding:12px 24px 25px
}
.chair-layout {
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,1fr);
  gap:22px;
  margin:23px 0
}
.adult-chairs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.child-zone {
  border-left:1px dashed #cbd5d4;
  padding-left:22px
}
.chair {
  min-width:0;
  width:100%;
  background:white;
  box-shadow:var(--shadow);
  border-radius:21px;
  color:var(--ink);
  min-height:275px;
  padding:23px 12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  text-align:center
}
.chair.occupied {
  background:#9c1830;
  color:#ffffff
}
.chair.empty {
  background:#3b5340;
  color:#ffffff
}
.chair-barber {
  font-size:16px;
  font-weight:800
}
.chair-symbol {
  width:73px;
  height:90px;
  stroke-width:2.5
}
.chair-customer {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:20px;
  font-weight:800;
  overflow-wrap:anywhere;
  line-height:1.3
}
.person-symbol {
  width:21px;
  height:21px;
  fill:currentColor;
  stroke:none;
  flex-shrink:0
}
.chair-time {
  display:block;
  margin-top:7px;
  font-size:14px;
  font-weight:700;
  opacity:1;
  font-variant-numeric:tabular-nums
}
.chair-state {
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  opacity:.8
}
.chair.empty .chair-symbol {
  color:#ffffff
}
.chair.empty .chair-customer {
  color:#ffffff;
  font-weight:700
}
.chairs-note {
  font-size:11px;
  color:var(--muted);
  display:flex;
  gap:16px
}
.legend-dot {
  width:8px;
  height:8px;
  display:inline-block;
  margin-right:6px;
  border-radius:50%;
  background:#9c1830
}
.empty-dot {
  background:#3b5340;
  border:0
}
.upcoming-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:23px
}
.upcoming-card {
  background:white;
  border-radius:20px;
  padding:20px;
  box-shadow:var(--shadow)
}
.upcoming-card h3 {
  font-size:14px;
  margin-bottom:12px
}
.next-row {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px 0;
  border-top:1px solid var(--line);
  font-size:12px
}
.next-row time,.payment-cell {
  font-size:11px;
  color:var(--muted)
}
.display-body {
  min-height:100vh;
  background:var(--paper);
  display:flex;
  flex-direction:column
}
.display-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:23px 5vw;
  border-bottom:1px solid var(--line)
}
.display-header img {
  width:178px;
  height:auto;
  object-fit:contain
}
.display-header>div {
  text-align:right
}
.display-header time {
  font-size:40px;
  letter-spacing:-2px;
  font-weight:650;
  font-variant-numeric:tabular-nums
}
.display-header p {
  font-size:13px;
  color:var(--muted);
  margin-top:5px
}
.display-main {
  padding:32px 5vw;
  flex:1
}
.display-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.display-title h1 {
  font-size:34px;
  margin-top:9px;
  letter-spacing:-1px
}
.live-label {
  font-size:12px;
  color:var(--green)
}
.live-label:before {
  content:'';
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  margin-right:7px
}
.display-body .chair {
  min-height:310px
}
.display-body .chair-barber {
  font-size:21px
}
.display-body .chair-customer {
  font-size:27px
}
.display-body .chair-time {
  font-size:18px
}
.display-body .chair-symbol {
  width:90px;
  height:110px
}
.display-body .chair-state {
  font-size:12px
}
.display-next h2 {
  font-size:16px;
  margin:25px 0 15px
}
.display-next #screen-queue {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}
.display-queue-item {
  display:flex;
  align-items:center;
  gap:16px;
  padding:15px 19px;
  background:white;
  border-radius:14px;
  font-size:13px;
  box-shadow:var(--shadow)
}
.display-queue-item span {
  color:var(--muted)
}
#screen-message {
  font-size:13px;
  color:var(--muted);
  margin-top:20px
}
.display-body footer .secondary { display:table; margin:12px auto 0; }
.display-body footer {
  padding:20px;
  border-top:1px solid var(--line)
}
.logo-page {
  max-width:1000px;
  margin:auto;
  padding:30px 30px 70px;
  background:var(--paper);
  min-height:100vh
}
.logo-page header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
  padding-bottom:24px;
  margin-bottom:30px;
  border-bottom:1px solid var(--line)
}
.logo-page h1 {
  font-size:30px
}
.logo-page main>p {
  font-size:14px;
  color:var(--muted);
  max-width:550px;
  margin:15px 0 28px
}
.logo-board {
  background:white;
  border-radius:24px;
  padding:45px;
  box-shadow:var(--shadow)
}
.logo-board img {
  width:100%;
  height:auto;
  margin:20px 0 35px
}
.logo-page h2 {
  margin:15px 0 10px
}
.logo-page section p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:20px
}
.logo-page section a {
  color:var(--accent);
  font-size:13px;
  font-weight:750
}
.logo-options {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:20px;
  margin-top:20px
}
.logo-options section {
  padding:30px;
  border-radius:24px;
  background:white;
  box-shadow:var(--shadow)
}
.logo-options .monogram {
  width:120px;
  height:120px;
  object-fit:contain
}
.logo-small {
  padding:25px;
  display:flex;
  align-items:center;
  gap:25px;
  background:var(--paper)
}
.logo-small img:first-child {
  width:180px;
  height:auto
}
.logo-small img:last-child {
  width:32px;
  height:32px;
  object-fit:contain
}
.color-chips {
  display:flex;
  gap:8px;
  margin:10px 0 22px
}
.color-chips span {
  width:65px;
  height:65px;
  border-radius:14px;
  display:block
}
.ink-chip {
  background:var(--ink)
}
.copper-chip {
  background:var(--accent)
}
.paper-chip {
  background:var(--paper);
  border:1px solid var(--line)
}
@media(max-width:750px) {
  .wide-app .shell {
    max-width:750px
  }
  .wide-app main#main {
    padding:12px 16px 24px
  }
  .chair-layout {
    gap:12px
  }
  .adult-chairs {
    gap:9px
  }
  .child-zone {
    padding-left:12px
  }
  .chair {
    padding:20px 7px;
    min-height:235px
  }
  .chair-symbol {
    width:53px;
    height:74px
  }
  .chair-customer {
    font-size:16px
  }
  .chair-barber {
    font-size:14px
  }
  .chair-time {
    font-size:13px
  }
  .person-symbol {
    width:17px;
    height:17px
  }
  .upcoming-grid {
    gap:9px
  }
  .upcoming-card {
    padding:14px
  }
  .display-header time {
    font-size:32px
  }
  .display-body .chair {
    min-height:250px;
    padding:21px 8px
  }
  .display-body .chair-customer {
    font-size:19px
  }
  .display-body .chair-barber {
    font-size:17px
  }
  .display-body .chair-time {
    font-size:15px
  }
  .display-body .chair-symbol {
    width:65px;
    height:90px
  }
  .display-title h1 {
    font-size:28px
  }
}
@media(max-width:480px) {
  .app-header {
    display:grid;
    grid-template-columns:160px auto;
    padding:8px;
    min-height:76px;
    gap:6px
  }
  .header-tools {
    display:grid;
    grid-template-columns:repeat(3,42px);
    justify-content:end;
    gap:2px
  }
  .header-tools time {
    grid-column:1/-1;
    grid-row:2;
    text-align:right;
    font-size:10px;
    line-height:14px
  }
  .brand img {
    width:160px
  }
  .day-strip {
    margin-bottom:16px
  }
  .toolbar {
    flex-wrap:wrap
  }
  .toolbar .primary {
    margin-left:auto
  }
  .date-control {
    gap:5px
  }
  .day-tile {
    flex-basis:52px
  }
  .stats .stat {
    padding:16px
  }
  .stat strong {
    font-size:24px
  }
  .demo-banner {
    font-size:11px;
    padding:10px
  }
  .demo-banner button {
    font-size:10px
  }
  .appointment-row {
    grid-template-columns:52px minmax(0,1fr) auto;
    gap:10px;
    padding:16px 13px
  }
  .appointment-row time {
    font-size:17px
  }
  .customer-cell strong {
    font-size:15px
  }
  .row-price {
    font-size:15px
  }
  .bottom-nav {
    padding-left:5px;
    padding-right:5px
  }
  .nav-btn {
    font-size:10px
  }
  .wide-app .adult-chairs { grid-template-columns:1fr; }
  .page-heading { flex-direction:column; align-items:flex-start; }
  .chair-layout {
    grid-template-columns:1fr
  }
  .child-zone {
    border-left:0;
    border-top:1px dashed #cbd5d4;
    padding:17px 0 0
  }
  .child-zone .chair {
    max-width:220px;
    margin-left:auto
  }
  .chair {
    min-height:220px
  }
  .upcoming-grid {
    grid-template-columns:1fr
  }
  .chair-time {
    font-size:13px
  }
  .chair-state {
    font-size:10px
  }
  .chairs-note {
    gap:12px;
    flex-wrap:wrap
  }
  .slot-grid {
    grid-template-columns:repeat(4,1fr)
  }
  .settings-section {
    padding:20px 15px
  }
  .form-grid {
    gap:0 10px
  }
  dialog {
    padding:22px 17px
  }
  .dialog-actions .primary,.dialog-actions .danger {
    font-size:12px;
    padding:10px 12px
  }
  .display-header img {
    width:160px
  }
  .display-header time {
    font-size:28px
  }
  .display-header p {
    font-size:11px
  }
  .display-title {
    flex-wrap:wrap;
    gap:10px
  }
  .display-title h1 {
    font-size:25px
  }
  .display-main {
    padding-top:24px
  }
  .display-body .chair-barber {
    font-size:14px
  }
  .display-body .chair-customer {
    font-size:16px
  }
  .display-body .chair-time {
    font-size:14px
  }
  .display-body .chair {
    min-height:235px
  }
  .display-body .person-symbol {
    display:none
  }
  .display-body .child-zone .chair {
    min-height:220px
  }
  .logo-page {
    padding:25px 20px
  }
  .logo-board {
    padding:25px
  }
  .logo-options {
    grid-template-columns:1fr
  }
  .logo-small {
    padding:15px
  }
}
@media(prefers-reduced-motion:no-preference) {
  button,a {
    transition:background-color .15s,color .15s
  }
  .shell {
    transition:max-width .2s
  }
}
/* Local management components */
textarea {
  font:inherit;
  font-size:16px;
  line-height:1.5;
  width:100%;
  border:1px solid var(--line,#dedbd5);
  border-radius:12px;
  padding:12px;
  background:#fff;
  resize:vertical
}
.check-label {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px
}
form[data-local-form="hours"] .check-label {
  align-self:center;
  justify-content:center;
  min-height:44px
}
.check-label input {
  width:18px;
  height:18px;
  min-height:18px;
  padding:0;
  margin:0
}
.command-examples {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0
}
.command-examples button {
  font-size:12px
}
#utility {
  max-width:520px
}
#utility form {
  display:grid;
  gap:12px
}
#utility .stat {
  margin-bottom:18px
}
.debt-balance {
  text-align:right
}
.debt-balance small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:4px
}
.ledger-row {
  grid-template-columns:minmax(0,1fr) auto
}
#utility .appointment-row {
  width:100%;
  text-align:left
}
#utility .appointment-row>span {
  min-width:0;
  overflow-wrap:anywhere
}
.toolbar .icon-btn:disabled {
  opacity:.35;
  cursor:default;
  box-shadow:none
}
.toolbar>strong {
  font-size:13px;
  text-align:center
}
.period-toolbar { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:8px; }
.period-toolbar>strong { font-size:12px; line-height:1.5; text-wrap:balance; }
#credit-selection:empty { display:none; }
#view>h1 {
  font-size:26px;
  margin:12px 0 20px
}
.settings-section form {
  display:grid;
  gap:12px
}
.settings-section input[type=file] {
  max-width:100%;
  font-size:13px
}
.calendar-value {
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:white;
  color:var(--ink);
  text-align:left;
  font-size:13px
}
.calendar-value[data-kind="time"] {
  padding-right:44px;
  font-size:15px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='none' stroke='%23235456' stroke-width='1.5'/%3E%3Cpath d='M10 5.5V10l3 2' fill='none' stroke='%23235456' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:18px 18px;
}
.calendar-dialog {
  max-width:370px;
  padding:20px
}
.calendar-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:20px
}
.calendar-heading h2 {
  font-size:17px
}
.calendar-heading button,.calendar-footer button {
  background:transparent;
  color:var(--accent);
  min-width:44px;
  min-height:44px;
  font-weight:700
}
.calendar-heading button {
  font-size:26px
}
.calendar-week,.calendar-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:4px
}
.calendar-week {
  font-size:11px;
  color:var(--muted);
  text-align:center;
  margin-bottom:10px
}
.calendar-day {
  min-height:40px;
  background:transparent;
  border-radius:8px;
  font-size:13px;
  color:var(--ink)
}
.calendar-day.today {
  color:var(--accent);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:5px
}
.calendar-day.selected {
  background:var(--accent);
  color:white;
  text-decoration:none
}
.calendar-day:focus-visible {
  outline-offset:-2px
}
.calendar-day.selected:focus-visible {
  outline-color:var(--white)
}
.calendar-day:hover:not(:disabled):not(.selected) {
  background:var(--accent-light);
  color:var(--accent)
}
.calendar-footer {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  margin-top:18px;
  padding-top:8px
}
input[type=checkbox] {
  accent-color:var(--accent)
}
::selection {
  background:var(--accent);
  color:white
}

/* Account and booking surfaces use the approved shared visual system. */
.secure-app .app-header { display:flex; flex-wrap:wrap; gap:12px; }
.secure-app .header-tools { display:flex; margin-left:auto; gap:8px; }
.secure-app .header-tools a { white-space:nowrap; min-height:44px; }
.secure-app button { min-height:44px; }
.secure-app #available,#booking-slots { max-height:none; overflow:visible; }
.secure-app #secure-view > h1 { margin-bottom:20px; }
.secure-app #reserve > h2 { margin:24px 0 12px; }
.secure-app #reserve .form-grid { align-items:start; }
.secure-app #reserve input,.secure-app #reserve select,.secure-app #reserve .calendar-value { font-size:16px; }
.secure-app #reserve > .secondary { margin-top:12px; }
.secure-app #available[aria-busy="true"] { opacity:.6; pointer-events:none; }
.secure-app #available > p { line-height:1.6; text-wrap:pretty; }
.secure-app #available[hidden] { display:none; }
.secure-app .time-selection { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin-bottom:16px; }
.secure-app .time-selection:has(#chosen-time[hidden]) { display:none; }
.secure-app #change-time { border:1px solid var(--accent); color:var(--accent); background:var(--accent-light); padding:8px 12px; }
.secure-app #change-time:focus-visible { outline-offset:-2px; box-shadow:none; }
.secure-app #chosen-time { margin:0; font-weight:700; }
.secure-app #service-info { margin:0 0 16px; }
.secure-app #booking-error:empty { display:none; }
.secure-app #add-key ~ p { margin-top:12px; line-height:1.6; }
.secure-app #reserve > .primary { min-height:48px; }
.secure-app #one-time-code,.secure-app #screen-code { overflow-wrap:anywhere; margin-top:12px; }
.auth-view { padding-top:8px; }
.auth-intro { display:grid; gap:12px; }
.auth-intro p { color:var(--muted); font-size:14px; line-height:1.6; }
.auth-view button.primary,.auth-view button.secondary { font-size:14px; font-weight:750; line-height:1.4; padding:12px 18px; min-height:48px; }
.auth-intro button { justify-self:start; margin-top:4px; }
.auth-view .auth-enroll { margin-top:24px; padding:24px; }
.auth-enroll h2 { font-size:18px; line-height:1.4; margin-bottom:20px; }
.auth-enroll form { gap:18px; }
.auth-enroll label { margin:0; gap:8px; font-size:13px; line-height:1.4; font-weight:650; }
.auth-enroll input { min-height:48px; font-size:16px; line-height:1.5; font-weight:500; }
.auth-enroll .auth-note { margin-top:16px; font-size:13px; line-height:1.6; }
@media(max-width:480px) {
  .secure-app .header-tools { width:100%; justify-content:flex-end; }
  .secure-app #reserve .form-grid,#booking-form .form-grid,#editor .form-grid,#utility .form-grid { grid-template-columns:1fr; gap:0; }
  .secure-app .money-row { flex-wrap:wrap; gap:8px; }
  .auth-intro button { width:100%; }
  .auth-code-expiry,.availability-next-step { display:block; }
  .auth-view .auth-enroll { padding:20px; }
}

/* Optional customer-page analytics preferences; shared brand controls stay unchanged. */
.analytics-open {font:inherit;font-size:11px;color:var(--muted);background:transparent;border:0;min-height:44px;min-width:44px;padding:8px 4px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;width:fit-content}
.analytics-preferences {position:fixed;z-index:100;bottom:16px;left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;background:var(--paper,#fff);color:var(--ink,#222);border:1px solid var(--line,#d7d5ce);border-radius:16px;padding:18px;box-shadow:0 8px 32px #0002;font-size:12px;line-height:1.6}
.analytics-preferences[hidden] {display:none}
.analytics-preferences h2 {font-size:15px;margin:0 0 8px}
.analytics-preferences p {margin:8px 0}
.analytics-preferences summary {cursor:pointer;font-weight:650}
.analytics-preferences a {color:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;align-items:center}
.analytics-actions .secondary {flex:1;min-height:44px;min-width:90px;font-size:12px;padding:10px 14px}
.analytics-actions .secondary:focus-visible {outline:2px solid var(--accent);outline-offset:-2px;box-shadow:none}
.analytics-open:focus-visible,.analytics-preferences summary:focus-visible,.analytics-preferences a:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:480px){.analytics-preferences {bottom:10px;padding:14px}}
