/* Appointments: the day, the lists, the page of an appointment, opening hours, and the customer's pages (service, person, day,
   time, details, the appointment, change, cancel). Mobile first. The rules every system shares (lists, the frame of the customer's
   pages, «Link and QR») are in kit.css; this sheet began as the table bookings' one, and what appointments add is at its end. */

/* the day at the door */
.daybar { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.daybar input[type=date] { flex: 1 1 auto; min-width: 0; max-width: 220px; font-weight: 600; }
.daybar .btn { flex: none; padding-left: .7rem; padding-right: .7rem; }
.dayfresh { display: flex; align-items: center; gap: .35rem; margin: -.4rem 0 .9rem; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.stalebar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .7rem; margin: -.3rem 0 1rem; padding: .7rem .9rem; border-radius: var(--r-s); background: var(--red-soft); color: var(--red); border: 1px solid var(--red-line); font-weight: 600; font-size: .9rem; }
.stalebar > span { flex: 1 1 12rem; } .stalebar .btn { background: #fff; }
.slot { padding: 0 .9rem .3rem; }
/* the heading of a time stays on top (under the bar of the admin) while its parties scroll */
.slot-h { position: sticky; top: var(--top); z-index: 3; display: flex; align-items: baseline; gap: .7rem; margin: 0 -.9rem; padding: .7rem .9rem .5rem; background: var(--card);
  border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.slot-h b { font-size: 1.3rem; font-weight: 750; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.slot-h span { font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.slot .rows > .brow:first-child { border-top: 0; }
/* one booking = one compact row on a phone: name, party, table, one button */
.brow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main table act" "pill table act"; gap: 0 .5rem; align-items: center; padding: .55rem 0; }
.brow .bwhen { grid-area: when; } .brow .row-main { grid-area: main; min-width: 0; } .brow .btable { grid-area: table; } .brow .pill { grid-area: pill; justify-self: start; margin-top: .25rem; } .brow .bacts { grid-area: act; }
.brow.in-list, .brow.in-seated, .brow.in-off { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "when main table act" "when pill table act"; }
.brow .row-main strong { display: block; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.bsub { display: flex; flex-wrap: wrap; gap: 0 .45rem; color: var(--muted); line-height: 1.35; } .bsub > span + span::before { content: "·"; margin-right: .45rem; color: var(--muted); }
.bsub .tno { font-weight: 500; }
/* at the door on a phone the line is name · party · table · one button: the phone number is on the page of the booking */
.brow.in-day .bphone, .brow.in-seated .bphone, .brow.in-day .bsrc, .brow.in-seated .bsrc { display: none; }
.brow .bnote, .brow .bstaff { display: block; margin-top: .15rem; line-height: 1.35; }
.brow .bnote { color: var(--text); font-style: italic; }
.bstaff { color: var(--ink); font-weight: 600; } .bstaff svg { vertical-align: -2px; margin-right: .3rem; color: var(--amber); }
.bwhen { align-self: start; padding-top: .1rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; } .bwhen b { font-weight: 500; color: var(--muted); }
.brow .bacts { display: flex; flex-direction: column; gap: .35rem; margin: 0; } .brow .bacts .btn { min-height: var(--btn-m); white-space: nowrap; }
.brow .pill.quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btable { display: inline-flex; align-items: center; justify-content: center; min-height: var(--btn-m); min-width: 3.4rem; max-width: 7rem; padding: .15rem .55rem; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--panel);
  font-size: .875rem; font-weight: 600; color: var(--ink); overflow: hidden; }
.btable.edit { border: 1px dashed var(--field-line); background: #fff; cursor: text; margin: 0; }
.btable.edit:empty::before { content: attr(data-ph); color: var(--muted); font-weight: 500; }
.btable.edit:focus { border-style: solid; border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.brow.st-seated .row-main strong { color: var(--green); }
.brow.st-cancelled .row-main strong, .brow.st-noshow .row-main strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.brow.flash { animation: bflash 1.2s ease-out; } @keyframes bflash { from { background: var(--accent-soft); } }
.over { color: var(--amber); font-weight: 600; }
.offlist, .seatlist, .earlier { margin: .9rem 0 1.15rem; } details[data-fold] > summary small { font-variant-numeric: tabular-nums; }
.offlist .more-body, .seatlist .more-body { padding: .2rem .9rem .9rem; background: var(--card); border-radius: 0 0 var(--r-s) var(--r-s); }
.earlier .more-body { padding: .6rem .6rem .1rem; } .earlier .slot-h { position: static; }
/* the counts of the day: one row of four small numbers, so the first booking is near the top of a phone */
.daystats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-bottom: .8rem; }
.daystats .stat { padding: .45rem .2rem; box-shadow: none; text-align: center; }
.daystats .stat b { font-size: 1.3rem; } .daystats .stat span { display: block; font-size: .75rem; line-height: 1.2; overflow-wrap: normal; hyphens: manual; }
/* a closed day that still holds bookings: «Ακύρωση όλων με μήνυμα» */
.cancelall { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin: 0 0 1rem; padding: .8rem .95rem; border: 1px solid var(--amber-line); border-radius: var(--r-s); background: var(--amber-soft); color: var(--ink); font-weight: 600; }
.cancelall > span { flex: 1 1 14rem; } .cancelall .btn { background: #fff; }
/* the restaurant's own dialog before a cancellation */
.saydlg .tellpicks { margin: 1rem 0 .2rem; }
.saydlg .sayf { display: grid; gap: .35rem; margin-top: .9rem; } .saydlg .sayf > span { font-weight: 600; font-size: .9rem; color: var(--ink); } .saydlg .sayf em { font-style: normal; font-weight: 400; color: var(--muted); }
.saydlg .sayf textarea { width: 100%; } .saydlg .sayf small { color: var(--muted); font-size: .8125rem; }
.saydlg:has(input[data-tell-no]:checked) .sayf { display: none; }
.dlg-actions .btn { min-height: var(--btn-m); }
/* «Ιστορικό πελάτη» on the page of a booking */
.pastcounts { list-style: none; margin: .2rem 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; color: var(--muted); }
.pastcounts b { color: var(--ink); font-variant-numeric: tabular-nums; } .pastcounts .bad, .pastcounts .bad b { color: var(--red); font-weight: 600; }
/* «Στοιχεία ενός πελάτη» and the bookings outside the hours */
.guestfind { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; } .guestfind label { flex: 1 1 16rem; min-width: 0; }
.outside .rows { margin-top: .4rem; } .outside .row-main strong { font-variant-numeric: tabular-nums; }

/* forms of the staff: the day, the party, the question when the numbers say no */
.dayform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem 1rem; }
.dayform label { flex: 0 1 200px; } .dayform-say { margin: 0 0 .65rem; }
.card > .dayform { margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.peoplepicks .otheramt { display: none; flex: 1 1 100%; margin-top: .35rem; } .peoplepicks .otheramt input { max-width: 140px; }
.peoplepicks:has(input[value=other]:checked) .otheramt { display: block; }
.tablef input { max-width: 200px; }
.othertime { margin-top: .6rem; } .othertime input { max-width: 200px; }
.askforce p { margin: 0 0 .5rem; font-weight: 600; } .askforce .check { color: inherit; margin: 0; font-weight: 600; }

/* the page of a booking */
.bstate { border-color: var(--line-2); }
.bstate-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.bstate-day { margin: 0 0 .1rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.bstate-main { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .7rem; }
.bstate-main b { font-size: 2.1rem; line-height: 1.1; font-weight: 750; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bstate-main span { font-weight: 600; color: var(--ink); }
.bstate.st-cancelled .bstate-main b, .bstate.st-noshow .bstate-main b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.steps-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; } .steps-row .btn { flex: 1 1 150px; }
.undobar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; padding: .6rem .8rem; margin: 0 0 .9rem; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-ink);
  border-radius: var(--r-s); font-weight: 600; font-size: .9rem; } .undobar .btn { background: #fff; }
.moveform .form-foot { border-top: 0; padding-top: .4rem; justify-content: flex-start; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.1rem; align-items: start; } .editor > * { min-width: 0; }
.sidecol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; } .copyrow input { min-width: 0; }
.sharebtns .btn { width: 100%; }
.made { margin-bottom: .8rem; }

/* hours and room */
.hrow { display: grid; gap: .5rem; padding: .7rem 0; border-top: 1px solid var(--line); margin-top: 0 !important; }
.hrow:first-of-type { border-top: 0; }
.hrow .switch { align-items: center; } .hrow .switch > span { min-width: 6.5em; }
.hpairs { display: grid; gap: .5rem; }
.hpair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .3rem; }
.hpair input { width: 100%; min-width: 0; padding-left: .45rem; padding-right: .45rem; font-size: .95rem; }
.hpair input::-webkit-calendar-picker-indicator { margin-inline-start: 0; padding: 2px; }
.hrow:has(input[type=checkbox]:not(:checked)) .hpairs { opacity: .45; } .hpair input:disabled { cursor: not-allowed; }
.spform { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.spform .form-foot { border-top: 0; padding-top: 0; justify-content: flex-start; }
.spkind { align-items: center; } .sphours { display: none; flex: 1 1 100%; } .spkind:has(input[value=hours]:checked) .sphours { display: grid; }
.sprows { margin-bottom: .4rem; }

/* public pages: what the guest of the business sees (the frame is kit.css). A long name of the restaurant wraps instead of being cut. */
.pub-top { flex-wrap: wrap; } .pub-biz { flex: 1 1 10rem; }
.pub-biz span { min-width: 0; line-height: 1.25; overflow: visible; white-space: normal; text-overflow: clip; overflow-wrap: break-word; }
.pub .btn { white-space: normal; text-align: center; } .pub a[data-reach=phone] { white-space: nowrap; }
.pick { margin: 1.2rem 0 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; scroll-margin-top: 72px; }
.pick-sec { min-width: 0; }   /* the strip of days scrolls inside its own row and never widens the page */
.pick-sec h2 { font-size: 1.05rem; margin: 0 0 .65rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.pick-for { font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plinks { display: flex; flex-wrap: wrap; gap: .45rem; }
.plinks a, .tchip { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: .25rem .8rem; border: 1px solid var(--field-line); border-radius: 99px; background: #fff;
  color: var(--ink); font-weight: 650; font-size: 1rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.plinks a:hover, a.tchip:hover, a.dchip:hover { border-color: var(--ink); }
.plinks a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick-more { margin: .6rem 0 0; } .pick-more a, .pick .note a { white-space: nowrap; }
.daystrip { display: flex; gap: .45rem; overflow-x: auto; margin: 0 -1rem; padding: 2px 1rem .5rem; scroll-snap-type: x proximity; scroll-padding: 0 1rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.dchip { flex: none; display: grid; justify-items: center; align-content: center; gap: .05rem; min-width: 4.4rem; min-height: 78px; padding: .45rem .4rem; border: 1px solid var(--field-line); border-radius: var(--r); background: #fff; color: var(--ink);
  text-decoration: none; scroll-snap-align: start; }
.dchip b { font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dchip i { font-style: normal; font-size: 1.35rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dchip small { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.dchip.on { background: var(--ink); border-color: var(--ink); color: #fff; } .dchip.on b, .dchip.on small { color: rgba(255, 255, 255, .78); }
.dchip.off { border-style: dashed; border-color: var(--line-2); background: var(--panel); color: var(--muted); } .dchip.off i { color: var(--muted); }
.dchip.full:not(.on) i { color: var(--muted); }
.otherday { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; margin-top: .6rem; } .otherday label { flex: 0 1 14rem; min-width: 0; } .otherday input { min-width: 0; }
.sitting { margin: .9rem 0 .45rem; color: var(--muted); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; } .sitting:first-of-type { margin-top: 0; }
.times { display: flex; flex-wrap: wrap; gap: .45rem; }
.tchip { min-width: 74px; }
.tchip.off { border-style: dashed; border-color: var(--line-2); background: var(--panel); color: var(--muted); text-decoration: line-through; font-weight: 500; }
.times.picks input[type=radio] + span { min-width: 74px; min-height: 48px; font-size: 1rem; }
.tz-note { margin: .8rem 0 0; }
.bsum { background: var(--ink); color: #fff; border-radius: var(--r-l); padding: 1.1rem 1.15rem; margin: .9rem 0 1.2rem; box-shadow: var(--shadow-2); }
.bsum-day { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .82); font-weight: 600; }
.bsum-main { margin: .15rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .8rem; }
.bsum-main b { font-size: 2.6rem; line-height: 1.1; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .bsum-main span { font-size: 1.1rem; font-weight: 600; }
.bsum-name, .bsum-change { margin: .55rem 0 0; font-size: .9rem; color: rgba(255, 255, 255, .82); overflow-wrap: anywhere; }
.bsum-change a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: #fff; font-weight: 600; }
.bsum.off { background: var(--card-off); box-shadow: none; } .bsum.off .bsum-main b { text-decoration: line-through; text-decoration-thickness: 2px; }
.bookform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; } .bookform .form-foot { border-top: 0; padding-top: .3rem; }
.changeform .form-foot { border-top: 0; padding-top: 0; }
.bookform .termsbox { margin: 0; }
.now { margin-bottom: 0; }   /* the summary under the state box keeps the distance */
.now-off { border-color: var(--line-2); background: var(--panel); color: var(--ink-2); }
.showbtns, .askbtns { display: grid; gap: .55rem; margin: 0 0 .9rem; } .showbtns .btn { justify-content: flex-start; }
.btn.danger-link { color: var(--red); } .btn.danger-link:hover { background: var(--red-soft); color: var(--red); }
.askpage > p { margin-bottom: 1.1rem; }
.shopnote, .shopcard { margin: 1.2rem 0; }   /* the guest's pages put them between other blocks: a distance above and below */
.shopcard a[data-map] { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; } .shopcard a[data-map] svg { flex: none; }
.retime { margin: 0 0 .4rem; } .retime h2 { font-size: 1.05rem; margin: 0 0 .6rem; } .retime p.small { margin: .4rem 0 0; } .retime p.small a { display: inline-flex; align-items: center; min-height: 44px; } .bsum-main s { opacity: .7; text-decoration-thickness: 2px; }
.nextfree { margin: .7rem 0 0; } .nextfree .btn { justify-content: flex-start; }
.pub .skip:focus { top: .5rem; }

@media (min-width: 620px) {
  /* a wide screen: one line, the pill in a column of its own; the list of all bookings starts with a column of day and time */
  .brow { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "main table pill act"; gap: .3rem .8rem; padding: .6rem 0; }
  .brow.in-list, .brow.in-seated, .brow.in-off { grid-template-columns: 4.5rem minmax(0, 1fr) auto auto auto; grid-template-areas: "when main table pill act"; }
  .brow.in-list { grid-template-columns: 8.2rem minmax(0, 1fr) auto auto auto; }
  .brow .pill { justify-self: end; margin-top: 0; } .brow .pill.quiet { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .brow .bacts { flex-direction: row; justify-self: end; } .brow .bacts .btn { min-height: var(--btn-s); }
  .brow.in-day .bphone, .brow.in-seated .bphone, .brow.in-day .bsrc, .brow.in-seated .bsrc { display: inline; }
  .btable { min-height: var(--btn-s); min-width: 76px; }
  .slot { padding: 0 1.45rem .3rem; } .slot-h { margin: 0 -1.45rem; padding: .9rem 1.45rem .55rem; }
  .daystats { gap: .8rem; margin-bottom: 1.15rem; } .daystats .stat { padding: .8rem 1rem; text-align: left; } .daystats .stat b { font-size: 1.7rem; } .daystats .stat span { font-size: .8125rem; }
  .tl li { grid-template-columns: 96px 1fr; }   /* a booking's history shows short times: a narrower column than the other systems */
  .hrow { grid-template-columns: 11rem 1fr; align-items: center; } .hrow .ferr { grid-column: 1 / -1; }
  .hpairs, .spkind:has(input[value=hours]:checked) .sphours { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; } .hpair { grid-template-columns: 8.6rem auto 8.6rem; }
  .daystrip { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .showbtns { grid-template-columns: 1fr 1fr; } .showbtns .danger-link { grid-column: 1 / -1; justify-content: center; }
  .askbtns { grid-template-columns: 1fr 1fr; }
  .bsum { padding: 1.4rem 1.5rem; }
}
@media (min-width: 1000px) { .editor { grid-template-columns: minmax(0, 1fr) 320px; } }
@media print {
  .showbtns { display: none !important; }
  .bsum { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* the list of a day prints as the evening's sheet: the title, the counts, every booking with its comment and table; no buttons */
  .daybar, .bacts, .btable.edit:empty, .cancelall, .dayfresh { display: none !important; }
  .slot, .stat { box-shadow: none; break-inside: avoid; } .btable.edit { border-style: solid; } .slot-h { position: static; }
  .brow .pill.quiet { position: static; width: auto; height: auto; clip-path: none; }
}

/* ------------------------------------------------------------------------------------------------------------------------
   Appointments: what this system has beyond the rules above (they came with the table bookings it is built on): a line of the
   day names the service and the person and has no table; the services and the people as choices on the customer's pages;
   the hours closed by hand; the owners' pages «Services» and «Team». */

/* one appointment = name · service and who · one button (no table column) */
.brow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main act" "pill act"; }
.brow.in-list, .brow.in-seated, .brow.in-off { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "when main act" "when pill act"; }
.bwhat { display: flex; flex-wrap: wrap; gap: 0 .45rem; line-height: 1.35; color: var(--ink); } .bwhat > * { white-space: nowrap; }
.bwhat b { font-weight: 600; } .bwhat > :not(:last-child)::after { content: "·"; margin-left: .45rem; color: var(--muted); font-weight: 400; }
.bwhat .blen { color: var(--muted); font-variant-numeric: tabular-nums; } .bwhat .bwho { font-weight: 600; color: var(--accent-ink); }
.whochips { margin: -.2rem 0 .9rem; }
.daystats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* hours closed by hand */
.blocklist { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.blocklist li { display: flex; align-items: center; gap: .55rem; padding: .45rem .7rem; border: 1px dashed var(--field-line); border-radius: var(--r-s); background: var(--panel); color: var(--ink-2); font-size: .9rem; }
.blocklist li > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; } .blocklist li svg { flex: none; color: var(--muted); }
.blocklist b { font-variant-numeric: tabular-nums; color: var(--ink); } .blocklist .btn { min-height: var(--btn-m); }
.blockbox { margin: 1.2rem 0 0; } .blockbox > summary svg { vertical-align: -3px; margin-right: .2rem; }
.blockbox .more-body { padding: .9rem; background: var(--card); border-radius: 0 0 var(--r-s) var(--r-s); }
.blockform { display: grid; gap: .9rem; } .blockform .form-foot { border-top: 0; padding-top: 0; justify-content: flex-start; }

/* the staff's forms: what, with whom, which day */
.whatform label { flex: 1 1 200px; min-width: 0; } .whatform select { width: 100%; min-width: 0; }
.steprule { display: grid; gap: .35rem; max-width: 22rem; }

/* owners: services */
.svcrows > .svcrow { display: block; padding: 0; }
.svcedit > summary { display: flex; align-items: center; gap: .7rem; min-height: 56px; padding: .55rem 0; cursor: pointer; list-style: none; }
.svcedit > summary::-webkit-details-marker { display: none; }
.svcedit > summary::after { content: ""; flex: none; width: .55rem; height: .55rem; margin: 0 .3rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.svcedit[open] > summary::after { transform: rotate(-135deg); }
.svc-main { flex: 1 1 auto; min-width: 0; display: grid; gap: .1rem; } .svc-main strong { font-size: 1rem; overflow-wrap: anywhere; } .svc-main small { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.svcrow.is-off .svc-main strong, .teamrows .is-off strong { color: var(--muted); }
.svcedit .more-body { padding: .2rem 0 1rem; } .svcform { display: grid; gap: .9rem; } .svcform .form-foot { border-top: 0; padding-top: 0; justify-content: flex-start; }
.svctools { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.svctools .btn { min-height: var(--btn-m); } .svctools form { display: inline-flex; gap: .3rem; }
/* owners: the team */
.teamrows .row > svg { flex: none; color: var(--muted); } .teamnew, .memberform fieldset { display: grid; gap: .9rem; }
.svcticks { display: grid; gap: .1rem; } .svcticks .check { min-height: 44px; margin: 0; }
.mrow { display: grid; gap: .5rem; padding: .75rem 0; border-top: 1px solid var(--line); margin-top: 0 !important; } .mrow:first-of-type { border-top: 0; }
.mday { display: grid; font-weight: 600; color: var(--ink); } .mday small { font-weight: 400; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.mrow.is-closed .mday { color: var(--muted); }
.mkind { align-items: center; } .mkind .mown { display: none; flex: 1 1 100%; max-width: 22rem; margin-top: .2rem; } .mkind:has(input[data-own]:checked) .mown { display: grid; }
.membertools { display: grid; gap: .7rem; } .membertools .sharebtns { display: flex; flex-wrap: wrap; gap: .5rem; } .membertools .sharebtns .btn { width: auto; }

/* the customer's pages: the services as a list of links, the people as choices, the chosen service on top */
.svclist { display: grid; gap: .55rem; margin: 1.1rem 0 1.4rem; }
.svc { display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .7rem .95rem; border: 1px solid var(--field-line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; }
.svc:hover { border-color: var(--ink); } .svc > svg { flex: none; color: var(--muted); }
.svc .svc-main strong { font-size: 1.05rem; font-weight: 650; }
.svc-side { flex: none; display: grid; justify-items: end; gap: .05rem; text-align: right; }
.svc-len { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; } .svc-price { font-weight: 650; white-space: nowrap; }
.svcsum { margin-top: 1rem; } .svcsum .bsum-main b { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; } .svcsum .bsum-main span { font-size: 1rem; }
.bsum-main span { overflow-wrap: anywhere; }
.wholinks { display: flex; flex-wrap: wrap; gap: .45rem; }
.wholinks a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .25rem 1rem; border: 1px solid var(--field-line); border-radius: 99px; background: #fff; color: var(--ink);
  font-weight: 650; font-size: 1rem; text-decoration: none; }
.wholinks a:hover { border-color: var(--ink); } .wholinks a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dchip small { max-width: 5.2rem; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 620px) {
  .brow { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main pill act"; }
  .brow.in-list, .brow.in-seated, .brow.in-off { grid-template-columns: 4.5rem minmax(0, 1fr) auto auto; grid-template-areas: "when main pill act"; }
  .brow.in-list { grid-template-columns: 8.2rem minmax(0, 1fr) auto auto; }
  .mrow { grid-template-columns: 11rem 1fr; align-items: center; } .mrow .ferr { grid-column: 1 / -1; }
  .mkind .mown { flex: 0 1 19rem; margin-top: 0; }
  .svc { padding: .8rem 1.15rem; }
}
@media print {
  .blockbox, .whochips, .blocklist .btn { display: none !important; }
}
