.brand { text-decoration:none; }
.loading { padding:42px 0; color:var(--muted); }
.sitefoot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px; }
.sitefoot nav,.toolbar,.actions,.tabbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.sitefoot a,.inline-link { color:#782c4c; text-underline-offset:3px; }
.pagehead .weave { opacity:.86; }
.formcard,.panel { padding:clamp(18px,2.5vw,30px); }
.formcard h2,.panel h2 { margin-bottom:13px; }
.panel h3,.formcard h3 { margin:0 0 6px; font-size:1.02rem; }
.columns { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(220px,.84fr); align-items:start; gap:20px; }
.stack { display:grid; gap:16px; min-width:0; }
.narrow { width:min(100%,600px); margin:22px auto 0; }
.field { display:grid; gap:6px; min-width:0; margin:0; font-weight:640; font-size:.93rem; }
.field small,.subtle,.small { color:var(--muted); font-size:.91rem; line-height:1.5; font-weight:450; }
input:not([type=checkbox]):not([type=radio]), textarea {
  border:1px solid var(--control); border-radius:9px; background:#fff; color:var(--ink);
  width:100%; min-width:0; padding:10px 12px; min-height:46px; font:inherit; font-size:1rem; font-weight:450;
}
input[type=date],input[type=time] { font-variant-numeric:tabular-nums; }
input[type=checkbox],input[type=radio] { accent-color:var(--berry); }
.split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.formcard fieldset { margin:0; }
.formcard legend { font-size:.93rem; font-weight:640; }
.formcard .slots { grid-template-columns:repeat(auto-fill,minmax(70px,1fr)); }
.notice,.alert { padding:13px 16px; margin:12px 0; border:1px solid #cdd9ce; border-radius:10px; background:#f0f6f0; color:#335942; }
.alert { background:#fff0ef; border-color:#edcac8; color:#803430; }
.notice:empty,.alert:empty { display:none; }
.tabbar { margin:0 0 16px; }
.tabbar button,.tool,.quiet { min-height:44px; border:1px solid var(--control); background:#fff; color:#6d2e4a; padding:8px 13px; border-radius:9px; font-size:.94rem; font-weight:620; }
.tabbar button[aria-pressed=true] { color:#fff; background:var(--berry); border-color:var(--berry); }
.quiet { border:0; text-decoration:underline; text-underline-offset:3px; }
.actions .btn,.toolbar .btn { text-decoration:none; }
.toolbar { justify-content:space-between; }
.toolbar .field { flex:1; min-width:125px; }
.appts,.plainlist { list-style:none; padding:0; margin:0; }
.appt { padding:15px 0; border-top:1px solid var(--line); display:grid; gap:8px; }
.appt:first-child { border-top:0; }
.entry { display:flex; gap:12px; justify-content:space-between; align-items:start; }
.entry strong,.entry small { display:block; }
.entry .clock { color:#66344c; font-variant-numeric:tabular-nums; }
.entry .pill { margin:0; }
.appt .actions { gap:4px 8px; }
.appt .actions button { font-size:.88rem; }
.rules { border-top:1px solid var(--line); padding-top:14px; }
.setting-item { display:flex; justify-content:space-between; align-items:center; gap:8px; border-top:1px solid var(--line); padding:5px 0; }
.checkitem { display:inline-flex; min-height:42px; gap:7px; align-items:center; margin-right:15px; }
.week { display:grid; gap:8px; }
.week .field { grid-template-columns:minmax(72px,1fr) 2.4fr; align-items:center; }
.summary dl { margin:0; }
.summary dl div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:9px 0; border-bottom:1px solid #ead8e1; }
.summary dt { color:var(--muted); }
.summary dd { margin:0; font-weight:620; text-align:right; }
.resource { padding:12px 14px; background:#fbf3f6; border-radius:10px; }
.linkbox { padding:13px; border:1px solid var(--line); border-radius:10px; }
a.tool { display:inline-flex; align-items:center; text-decoration:none; }
.share textarea { min-height:140px; line-height:1.5; resize:vertical; }
.share button[aria-pressed=true] { color:#fff; background:var(--berry); border-color:var(--berry); }
.share details summary { cursor:pointer; color:#6d2e4a; font-weight:620; min-height:44px; display:flex; align-items:center; }
.ctalink { display:inline-flex; align-items:center; min-height:44px; color:#752a4d; font-weight:620; }
.statusline { margin:2px 0 10px; }
.choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.choice { align-content:start; gap:10px; }
.choice h3 { margin:0; font-size:1rem; color:#66344c; }
.choice .offer { display:grid; gap:2px; margin:0; }
.choice .bigtime { font-size:1.35rem; margin:2px 0; font-variant-numeric:tabular-nums; }
.choice .btn { width:100%; white-space:normal; }
.disruption { padding:14px 0; border-top:1px solid var(--line); gap:10px; }
.disruption h4 { margin:6px 0 0; font-size:.95rem; color:#66344c; }
.counts { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; }
.counts .pill { margin:0; }
.welcome { margin-top:22px; }
@media(max-width:760px) {
  .columns { grid-template-columns:minmax(0,1fr); gap:14px; }
  .tabbar { gap:6px; }
  .tabbar button { padding-inline:10px; }
}
@media(max-width:520px) {
  .split { grid-template-columns:minmax(0,1fr); }
  .choices { grid-template-columns:minmax(0,1fr); }
  .split.times { grid-template-columns:1fr 1fr; }
  .entry { flex-wrap:wrap; }
  .sitefoot { align-items:start; }
  .pagehead .metarow { padding-right:38px; }
}

/* ── Design refresh, 26 November 2026 (owner: "easy, modern, understandable, good look") ──
   Calmer background, a slim sticky header, compact page titles in reception, rounded cards with soft shadows,
   one clear primary action per screen, and the calendar views (day / week / month / list). */
:root { --page:#f6f3f4; --line:#ece3e7; --soft:#faf6f8; --shadow:0 1px 2px #3a1f2c0a, 0 6px 20px #3a1f2c0d; --radius:14px;
  --booked:#3f5f9e; --booked-bg:#eaf0fb; --pending:#8a5a12; --pending-bg:#fdf1d8; --call:#8c2f55; --call-bg:#fbe6ef; --attended:#2f6a4f; --attended-bg:#e5f3ea; }
body { background:var(--page); }
.top { position:sticky; top:0; z-index:20; background:#fffffffa; backdrop-filter:saturate(1.4) blur(8px); box-shadow:0 1px 0 var(--line); border:0; }
.topin { min-height:62px; }
.brand { font-size:1.45rem; }
.brand img { width:32px; height:32px; }
.langs { border-color:var(--line); background:var(--soft); border-radius:12px; }
.langs button { min-height:38px; border-radius:9px; font-size:.86rem; }
.card { border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.pagehead { margin:22px 0 18px; padding:clamp(18px,2.6vw,28px) clamp(18px,3vw,32px); border-radius:18px; border-color:#efdbe4; }
.pagehead h1 { font-size:clamp(1.8rem,3.4vw,2.7rem); margin:6px 0 6px; }
.pagehead.compact { background:none; border:0; padding:0; margin:20px 0 12px; grid-template-columns:1fr; }
.pagehead.compact .weave, .pagehead.compact .dateline { display:none; }
.pagehead.compact h1 { font-size:clamp(1.45rem,2.4vw,1.9rem); margin:2px 0 0; }
.btn { border-radius:11px; min-height:44px; }
.primary { box-shadow:0 1px 2px #5a1a3533; }
.tool,.quiet,.tabbar button { border-radius:10px; }
.tool { border-color:#d9c3ce; }
.tool:hover,.tabbar button:hover { background:#fcf3f7; }
input:not([type=checkbox]):not([type=radio]),textarea,select { border-color:#cdbcc5; border-radius:10px; }
input:focus,textarea:focus,select:focus { border-color:var(--berry); }
.field { font-weight:600; font-size:.9rem; }
.notice,.alert { border-radius:12px; }
/* Reception bar: sections on the left, actions on the right. */
.deskbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin:0 0 14px; }
.tabbar { margin:0; padding:4px; gap:4px; background:#fff; border:1px solid var(--line); border-radius:13px; box-shadow:var(--shadow); }
.tabbar button { border:0; min-height:40px; padding:6px 14px; color:var(--muted); }
.tabbar button[aria-pressed=true] { background:var(--berry); color:#fff; }
.deskactions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.deskactions .btn { min-height:42px; padding-inline:16px; }
.deskactions .tool { min-height:42px; }
/* Calendar toolbar */
.calcard { gap:14px; }
.calbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 14px; }
.navgroup { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.period { font-size:clamp(1.1rem,2vw,1.35rem); margin:0 0 0 6px !important; }
.iconbtn { width:42px; height:42px; display:inline-grid; place-items:center; border:1px solid #d9c3ce; border-radius:10px; background:#fff; color:#6d2e4a; font-size:1.35rem; line-height:1; }
.iconbtn:hover { background:#fcf3f7; }
.segmented { display:inline-flex; padding:3px; background:var(--soft); border:1px solid var(--line); border-radius:12px; gap:2px; }
.seg { border:0; background:transparent; color:var(--muted); min-height:38px; padding:4px 14px; border-radius:9px; font-weight:620; font-size:.92rem; }
.seg[aria-pressed=true] { background:#fff; color:var(--berry-hover); box-shadow:0 1px 3px #3a1f2c22; }
.calfilters { display:flex; flex-wrap:wrap; align-items:end; gap:10px 12px; }
.calfilters .field { flex:0 1 220px; }
.calfilters .quiet { margin-left:auto; }
.followbtn { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:6px 14px; border-radius:10px; border:1px solid #efd3a3; background:var(--pending-bg); color:var(--pending); font-weight:650; }
.flag { display:inline-block; width:8px; height:8px; border-radius:50%; background:#d68a1c; }
/* Day and week grids */
.gridscroll { overflow-x:auto; margin-inline:-4px; padding:0 4px 4px; }
.grid { display:grid; grid-template-columns:52px repeat(var(--cols,7),minmax(130px,1fr)); min-width:min-content; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.grid.week { grid-template-columns:52px repeat(7,minmax(104px,1fr)); }
.colhead { position:sticky; top:0; display:grid; gap:1px; align-content:center; min-height:52px; padding:6px 8px; background:var(--soft); border-bottom:1px solid var(--line); text-align:center; }
.colhead strong { font-size:.93rem; } .colhead small { color:var(--muted); font-size:.78rem; font-weight:500; }
.colhead.link { width:100%; border:0; border-bottom:1px solid var(--line); cursor:pointer; font:inherit; color:inherit; }
.colhead.link:hover { background:#f6e9ef; }
.col { border-left:1px solid var(--line); min-width:0; }
.col.today .colhead { background:#f8e6ee; color:var(--berry-hover); }
.rulercol .colhead { border-bottom:1px solid var(--line); }
.ruler,.lane { position:relative; }
.lane { background-image:linear-gradient(var(--line) 1px,transparent 1px); background-size:100% 84px; }
.hour { position:absolute; left:0; right:0; }
.hour span { position:absolute; top:-8px; right:6px; font-size:.72rem; color:var(--muted); font-variant-numeric:tabular-nums; background:#fff; padding:0 2px; }
.hour:first-child span { top:2px; }
.off { position:absolute; left:0; right:0; background:repeating-linear-gradient(135deg,#f4eff1 0 6px,#faf7f8 6px 12px); }
.closed { position:absolute; left:0; right:0; background:repeating-linear-gradient(135deg,#f6dde3 0 6px,#fbeef1 6px 12px); border-block:1px solid #ecc5cf; z-index:1; }
.closed span { display:block; padding:4px 6px; font-size:.75rem; font-weight:650; color:#8b3651; }
.nowline { position:absolute; left:0; right:0; height:2px; background:#d23a62; z-index:4; }
.nowline::before { content:""; position:absolute; left:-4px; top:-4px; width:10px; height:10px; border-radius:50%; background:#d23a62; }
.event { position:absolute; z-index:2; display:flex; flex-direction:column; align-items:flex-start; gap:1px; overflow:hidden; text-align:left;
  padding:4px 7px; border:0; border-left:4px solid var(--booked); border-radius:8px; background:var(--booked-bg); color:#1f2f52; font:inherit; font-size:.8rem; line-height:1.25; cursor:pointer; box-shadow:0 1px 2px #0000000f; }
.event:hover { filter:brightness(.97); box-shadow:0 2px 8px #3a1f2c26; z-index:3; }
.event .ev-time { font-weight:700; font-variant-numeric:tabular-nums; font-size:.74rem; opacity:.85; }
.event .ev-name { font-weight:680; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.event .ev-meta { opacity:.8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.event.pending { background:var(--pending-bg); border-color:#d68a1c; color:#5a3a08; }
.event.call { background:var(--call-bg); border-color:#c0476f; color:#5c1e38; }
.event.attended { background:var(--attended-bg); border-color:#4b9070; color:#1d4532; opacity:.8; }
/* Week view: one colour per team member (status shows as a dot in the detail panel). */
.event.st0 { border-color:#902b54; } .event.st1 { border-color:#3f6fb5; } .event.st2 { border-color:#2f8a64; }
.event.st3 { border-color:#c27a12; } .event.st4 { border-color:#7a4fb0; } .event.st5 { border-color:#1f8a99; }
.event.pending.st0,.event.pending.st1,.event.pending.st2,.event.pending.st3,.event.pending.st4,.event.pending.st5 { background:var(--pending-bg); }
.legend { display:flex; flex-wrap:wrap; gap:6px 14px; font-size:.85rem; color:var(--muted); }
.legend span { display:inline-flex; align-items:center; gap:6px; } .legend i { width:12px; height:12px; border-radius:4px; display:inline-block; }
.legend .st0 i { background:#902b54; } .legend .st1 i { background:#3f6fb5; } .legend .st2 i { background:#2f8a64; }
.legend .st3 i { background:#c27a12; } .legend .st4 i { background:#7a4fb0; } .legend .st5 i { background:#1f8a99; }
/* Month view */
.mgrid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--line); gap:1px; }
.mhead { background:var(--soft); text-align:center; padding:8px 4px; font-size:.82rem; font-weight:650; color:var(--muted); text-transform:capitalize; }
.mcell { display:flex; flex-direction:column; align-items:stretch; gap:3px; min-height:104px; padding:6px; background:#fff; border:0; text-align:left; font:inherit; color:inherit; cursor:pointer; min-width:0; }
.mcell:hover { background:#fdf7fa; }
.mcell.other { background:#fbf9fa; color:#a8969f; }
.mcell.today .mday { background:var(--berry); color:#fff; }
.mcell.shut { background:repeating-linear-gradient(135deg,#fbeef1 0 6px,#fff 6px 12px); }
.mday { display:inline-flex; align-items:center; gap:4px; align-self:flex-start; min-width:26px; height:26px; padding:0 7px; border-radius:13px; font-weight:700; font-size:.88rem; font-variant-numeric:tabular-nums; }
.chip { display:block; padding:2px 6px; border-radius:6px; font-size:.74rem; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:var(--booked-bg); color:#1f2f52; }
.chip.pending { background:var(--pending-bg); color:#5a3a08; } .chip.call { background:var(--call-bg); color:#5c1e38; } .chip.attended { background:var(--attended-bg); color:#1d4532; }
.chip.closedchip { background:#f6dde3; color:#8b3651; font-weight:650; }
.more { font-size:.74rem; color:var(--muted); font-weight:600; padding-left:4px; }
/* Closed time list under the calendar */
.rules h3 { margin:0; }
.closure { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; padding:10px 0; border-top:1px solid var(--line); }
.closure:first-of-type { border-top:0; }
/* Appointment rows (list view and detail panel) */
.appt { padding:14px 0; }
.entry .clock { font-size:1.02rem; }
.appt .actions { gap:6px; }
.appt .actions .tool { min-height:40px; padding:6px 12px; font-size:.88rem; }
/* Detail panel: side panel on computers, bottom sheet on phones */
.drawer-wrap { position:fixed; inset:0; z-index:40; }
.scrim { position:absolute; inset:0; border:0; background:#2a141f55; cursor:pointer; animation:fade .15s ease-out; }
.drawer { position:absolute; top:0; right:0; bottom:0; width:min(460px,100%); overflow:auto; background:#fff; padding:18px 20px 28px; box-shadow:-12px 0 40px #2a141f33; animation:slidein .18s ease-out; }
.drawerhead { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:6px; border-bottom:1px solid var(--line); }
.drawer .appt { border-top:0; }
body.sheet-open { overflow:hidden; }
@keyframes slidein { from { transform:translateX(24px); opacity:.4; } }
@keyframes fade { from { opacity:0; } }
@media (prefers-reduced-motion: reduce) { .drawer,.scrim { animation:none; } }
@media (max-width:760px) {
  .deskbar { align-items:stretch; }
  .tabbar { width:100%; } .tabbar button { flex:1; }
  .deskactions { width:100%; } .deskactions .btn { flex:1 1 100%; }
  .calbar { flex-direction:column; align-items:stretch; }
  .segmented { width:100%; } .seg { flex:1; padding-inline:6px; }
  .period { width:100%; margin:6px 0 0 !important; order:5; }
  .calfilters .field { flex:1 1 140px; }
  .mcell { min-height:64px; padding:4px; } .chip { display:none; } .more { display:none; }
  .mcell .mday { font-size:.82rem; }
  .mcell:has(.chip:not(.closedchip))::after { content:""; width:6px; height:6px; border-radius:50%; background:var(--berry); margin:2px 0 0 9px; }
  .drawer { top:auto; left:0; width:100%; max-height:88vh; border-radius:18px 18px 0 0; animation:slideup .2s ease-out; }
  @keyframes slideup { from { transform:translateY(30px); opacity:.4; } }
}
/* Detail panel contents */
.detailbody { padding-top:14px; gap:14px; }
.detailbody .pill { justify-self:start; margin:0; }
.detailbody .bigtime { margin:0; font-size:1.7rem; }
.facts { margin:0; display:grid; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.facts div { display:grid; grid-template-columns:120px 1fr; gap:10px; padding:10px 14px; border-top:1px solid var(--line); }
.facts div:first-child { border-top:0; }
.facts dt { color:var(--muted); font-size:.9rem; } .facts dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.actions.stacked { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.actions.stacked .btn { grid-column:1 / -1; }
.actions.stacked .tool { min-height:44px; justify-content:center; display:inline-flex; align-items:center; }
.actions.stacked .quiet { justify-self:start; }
.danger { color:#a3324f !important; }
.pagehead.compact { overflow:visible; }
.deskactions .quiet { background:transparent; }
@media (max-width:760px) {
  .deskactions .tool { flex:1 1 40%; justify-content:center; }
  .deskactions .quiet { margin-left:auto; }
  .calfilters .quiet { display:none; }
  .grid { grid-template-columns:44px repeat(var(--cols,7),minmax(120px,1fr)); }
  .grid.week { grid-template-columns:44px repeat(7,minmax(92px,1fr)); }
}
/* Phones: less above the calendar. The tab already says where you are, so the big title is hidden;
   the three smaller actions share one row. */
@media (max-width:760px) {
  .pagehead.compact { margin:12px 0 8px; }
  .pagehead.compact h1 { display:none; }
  .deskbar { gap:8px; margin-bottom:10px; }
  .deskactions { display:grid; grid-template-columns:1fr 1fr auto; gap:8px; }
  .deskactions .btn { grid-column:1 / -1; }
  .deskactions .tool { font-size:.86rem; padding:6px 8px; text-align:center; line-height:1.2; }
  .deskactions .quiet { margin:0; padding-inline:6px; }
  .calcard { padding:14px; gap:10px; }
  .calbar { gap:8px; }
  .calfilters { gap:8px; }
}
/* Public demo salon banner */
.demonote { margin:0 0 12px; padding:10px 14px; border-radius:12px; background:#1f1418; color:#fff; font-size:.92rem; line-height:1.45; }
.demonote strong { color:#f5c04f; margin-right:6px; }
