:root {
  --accent: #1f6b4a;
  --ink: #1c1916;
  --muted: #6f675e;
  --line: #e4dcd2;
  --paper: #f7f4ef;
  --bg: #e7e1d6;
  --card: #fffcf9;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(900px 420px at 8% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%);
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, .card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection { background: color-mix(in srgb, var(--accent) 28%, white); }

.site { min-height: 100dvh; display: flex; flex-direction: column; }
.top, .stage { width: min(1080px, 100%); margin-inline: auto; }
.top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding: 28px 24px 12px;
}
.mark {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 620;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pitch { max-width: 46ch; margin: 10px 0 0; color: #3f3a34; }
.try-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.businesses { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.biz-pill {
  flex: none;
  border: 1px solid rgba(28, 25, 22, 0.14);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  white-space: nowrap;
}
.biz-pill.on { background: var(--pill, var(--accent)); color: white; border-color: transparent; }

.pane-switch { display: none; }
.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 8px 20px 28px;
  min-height: 0;
}
.pane { min-width: 0; display: flex; flex-direction: column; }
.pane-label {
  margin: 0 0 2px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pane-caption { margin: 0 0 10px 12px; }

.phone {
  --accent: #1f6b4a;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  height: min(820px, calc(100dvh - 180px));
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(48, 36, 22, 0.12);
  overflow: hidden;
}
.bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 16px 8px;
}
.bar h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.bar p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.screen { flex: 1; min-height: 0; overflow: auto; padding: 0 16px 18px; overscroll-behavior: contain; }
.nav {
  display: flex;
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.94);
  padding: 4px 6px calc(6px + env(safe-area-inset-bottom));
  user-select: none;
}
.nav button {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0 2px;
  font-size: 11px;
  font-weight: 700;
}
.nav button.on { color: var(--accent); }
.nav svg, .icon-btn svg, .chev-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #8d3b32;
  color: white;
  font-style: normal;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.week-row {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 -16px;
  padding: 4px 6px 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}
.week { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; user-select: none; }
.day, .chev-btn, .icon-btn { border: 0; background: transparent; color: inherit; }
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  border-radius: 14px;
}
.day .wk { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.day .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.day.on .num { background: var(--accent); color: white; }
.day.today:not(.on) .num { box-shadow: inset 0 0 0 1.5px var(--accent); }
.day.closed { opacity: 0.45; }
.day em { min-height: 12px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--accent); }
.chev-btn { width: 28px; height: 40px; display: grid; place-items: center; flex: none; }
.chev-btn svg { width: 18px; height: 18px; }
.flip { display: inline-flex; transform: rotate(180deg); }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  display: grid;
  place-items: center;
  flex: none;
}
.icon-btn svg { width: 18px; height: 18px; }

.date-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 14px 0 10px; }
.date-head h2, .step-title, .sheet h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.date-head h2 { font-size: 1.45rem; }
.date-head p { margin: 2px 0 0; }
.muted, .hint { color: var(--muted); }
.hint { margin: 0 0 8px; font-size: 14px; }
.tight { margin: 0; }
.section {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack { display: flex; flex-direction: column; gap: 10px; }
.empty { padding: 8px 0 12px; color: var(--muted); }

.card {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px 12px 16px;
}
.card.done { opacity: 0.68; }
.stripe { position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; border-radius: 99px; }
.when { display: flex; flex-direction: column; }
.when strong, .card-title { font-weight: 700; }
.when span, .card-meta, .offer-top small, .person small, .service small, .client small { color: var(--muted); font-size: 12px; }
.card-title, .card-meta { overflow-wrap: anywhere; }
.card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pill {
  border-radius: 99px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.st-confirmed { background: color-mix(in srgb, var(--accent) 14%, white); color: var(--accent); }
.st-pending { background: #f8efe6; color: #8a4b12; }
.st-completed, .st-blocked { background: #eeeae4; color: #5c564e; }
.st-cancelled { background: #f3e8e6; color: #8d3b32; }
.mini {
  border: 0;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}
.now-row { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 700; }
.now-row::after { content: ""; height: 1px; flex: 1; background: color-mix(in srgb, var(--accent) 40%, white); }
.banner {
  width: 100%;
  text-align: left;
  background: #f8efe6;
  color: #6b3a22;
  border: 1px solid #ead8c8;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
}
.banner.sent {
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 28%, white);
}

.offer, .service, .person, .client, .summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.offer, .summary { padding: 12px 14px; }
.offer-top, .service, .person, .client {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.service, .person, .client { width: 100%; text-align: left; padding: 12px 14px; }
.service small, .person small, .client small { display: block; margin-top: 2px; }
.person.on, .service:focus-visible { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
  flex: none;
}
.client-copy { flex: 1; min-width: 0; }
.slots, .hscroll { display: flex; flex-wrap: wrap; gap: 8px; }
.hscroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.chip, .slot {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  min-width: 84px;
  padding: 8px 10px;
  text-align: left;
}
.chip b, .slot b { display: block; font-size: 14px; }
.chip small, .slot small { color: var(--muted); font-size: 11px; }
.chip.on, .slot.on { background: var(--accent); color: white; border-color: transparent; }
.chip.on small, .slot.on small { color: inherit; }
.chip.more { font-weight: 700; }

.book-head { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #ddd6cc; display: block; }
.dots i.on, .dots i.done { background: var(--accent); }
.step-title { font-size: 1.45rem; margin: 8px 0 12px; }
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
  padding: 4px;
  background: #efeae3;
  border-radius: 14px;
  user-select: none;
}
.seg button { border: 0; background: transparent; border-radius: 11px; padding: 8px; font-weight: 700; color: var(--muted); }
.seg button.on { background: white; color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.field span { font-size: 13px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 88px; resize: vertical; }
.summary { margin-bottom: 12px; }
.summary strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.summary p { margin: 4px 0; color: var(--muted); }
.primary, .ghost-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 700;
  margin-top: 8px;
}
.primary { border: 0; background: var(--accent); color: white; }
.primary.copy { margin-top: 8px; }
.ghost-btn { background: transparent; border: 1px solid var(--line); }
.ghost-btn.danger { color: #8d3b32; border-color: #ead8d4; }
.text-btn { border: 0; background: none; color: var(--accent); font-weight: 700; padding: 0; }
.error { color: #8d3b32; margin: 0 0 8px; }
.note { background: #f6f1e8; border-radius: 12px; padding: 10px 12px; }
a { color: var(--accent); }

.switch-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 8px 0; }
.switch-row .hint { margin: 4px 0 0; }
.switch {
  width: 48px;
  height: 28px;
  border: 0;
  border-radius: 99px;
  background: #ddd6cc;
  position: relative;
  flex: none;
}
.switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  transition: transform 0.15s ease;
}
.switch.on { background: var(--accent); }
.switch.on span { transform: translateX(20px); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.hours li span:last-child { text-align: right; max-width: 62%; }
.notify-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px 14px 12px;
  margin: 8px 0 12px;
}
.notify-card .section { margin-top: 12px; }
.notify-card .field { margin: 8px 0; }
.notify-card .hint { margin: 0 0 8px; }
.notify-card .primary { margin-top: 4px; }
.banner { overflow-wrap: anywhere; }
.visit-card { display: flex; flex-direction: column; }
.visit-card .card { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.cal-offer {
  padding: 8px 12px 10px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: color-mix(in srgb, var(--accent) 7%, white);
}
.cal-offer p { margin: 0; font-size: 13px; }
.cal-offer .muted { margin-top: 2px; font-size: 12px; }
.cal-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.cal-row a { text-decoration: none; }

.phone.locked .screen { overflow: hidden; }
.backdrop { position: absolute; inset: 0; background: rgba(28, 25, 22, 0.36); z-index: 5; }
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  max-height: 86%;
  overflow: auto;
  background: #fffdfb;
  border-radius: 24px 24px 0 0;
  padding: 10px 16px 22px;
}
.handle { width: 36px; height: 4px; border-radius: 4px; background: #ddd6cc; margin: 2px auto 12px; }
.sheet-head { display: flex; align-items: center; gap: 6px; }
.sheet-head h3 { flex: 1; text-align: center; font-size: 1.2rem; }
.month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month.labels { margin: 12px 0 6px; text-align: center; color: var(--muted); font-size: 11px; letter-spacing: 0.06em; }
.cell {
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  border-radius: 50%;
  position: relative;
  font-weight: 700;
}
.cell.on { background: var(--accent); color: white; }
.cell.today:not(.on) { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cell.closed { opacity: 0.4; }
.cell i {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}
.cell.on i { background: white; }
.month-today { margin-top: 14px; }

.toaster { position: absolute; left: 12px; right: 12px; bottom: 72px; z-index: 8; }
.toast {
  width: 100%;
  text-align: left;
  border: 0;
  background: #1b1916;
  color: #f6f3ee;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.card.flash { animation: rise 0.45s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.pane-switch button.attn { animation: attn 0.8s ease 2; }
@keyframes attn {
  50% { background: var(--accent); color: white; }
}

@media (max-width: 980px) {
  html, body { height: 100dvh; overflow: hidden; }
  .site { height: 100dvh; min-height: 0; overflow: hidden; }
  .top { flex-direction: column; align-items: stretch; padding: 12px 16px 6px; }
  .pitch { display: none; }
  .businesses { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .mark { font-size: 1.45rem; }
  .pane-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    flex: none;
    margin: 0 12px 8px;
    padding: 4px;
    background: #efeae3;
    border-radius: 14px;
  }
  .pane-switch button { border: 0; background: transparent; border-radius: 11px; padding: 10px; font-weight: 700; color: var(--muted); }
  .pane-switch button.on { background: white; color: var(--ink); }
  .stage { display: flex; flex: 1; min-height: 0; padding: 0; }
  .pane-label, .pane-caption { display: none; }
  body[data-pane="guest"] .pane-desk,
  body[data-pane="desk"] .pane-guest { display: none; }
  .pane { flex: 1; min-height: 0; overflow: hidden; }
  #app-guest, #app-desk { display: flex; flex: 1; min-height: 0; }
  .businesses { flex-wrap: wrap; overflow: visible; }
  .phone {
    flex: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

body.embed { background: var(--paper); }
body.embed .top,
body.embed .pane-switch,
body.embed .pane-label,
body.embed .pane-caption { display: none !important; }
body.embed .stage { display: block; max-width: none; width: 100%; padding: 0; }
body.embed .phone {
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.embed.embed-guest .pane-desk,
body.embed.embed-desk .pane-guest { display: none !important; }

@media (hover: hover) {
  .card:hover, .service:hover, .person:hover, .client:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.install-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  border: 0;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.install-dialog {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 16px;
  background: rgba(28, 25, 22, 0.46);
}
.install-dialog[hidden] { display: none !important; }
.install-card {
  width: min(440px, 100%);
  max-height: min(92dvh, 680px);
  overflow: auto;
  background: #fffdfb;
  color: var(--ink);
  border-radius: 22px;
  padding: 20px 18px 16px;
  box-shadow: 0 24px 60px rgba(48, 36, 22, 0.2);
}
.install-card h2 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.install-card h3 {
  margin: 14px 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.install-card p { margin: 0 0 8px; }
.install-card ol { margin: 0 0 8px; padding-left: 1.2rem; }
.install-url {
  font-size: 13px;
  overflow-wrap: anywhere;
  background: #f6f1e8;
  border-radius: 10px;
  padding: 8px 10px;
}
.install-open {
  display: grid;
  place-items: center;
  text-decoration: none;
  text-align: center;
}
.booking-block { display: flex; flex-direction: column; gap: 8px; }
.pending-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pending-actions button {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
}
.pending-actions .approve { border: 0; background: var(--accent); color: white; }
.pending-actions .decline { background: white; color: #8d3b32; border: 1px solid #e3c8c4; }
.st-declined { background: #f3e8e6; color: #8d3b32; }
body.embed .bar { padding-top: calc(18px + env(safe-area-inset-top)); }
html.pre-embed,
html.pre-embed body { background: var(--paper); }
html.pre-embed .top,
html.pre-embed .pane-switch,
html.pre-embed .pane-label,
html.pre-embed .pane-caption { display: none !important; }
html.pre-embed .stage { display: block; max-width: none; width: 100%; padding: 0; }
html.pre-desk .pane-guest,
html.pre-guest .pane-desk { display: none !important; }
html.pre-embed .phone {
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme="dark"] {
  --ink: #f4efe8;
  --muted: #c8bfb4;
  --line: #3a342e;
  --paper: #1c1916;
  --bg: #141210;
  --card: #241f1b;
  color-scheme: dark;
}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background: #2a241f; color: var(--ink); }
.primary, .pending-actions .approve { color: var(--on-accent, #fff); }
.logo { display: block; max-height: 48px; width: auto; margin-bottom: 8px; }
.powered { margin: 18px 0 4px; text-align: center; font-size: 12px; color: var(--muted); }
.powered a { color: inherit; }
.turnstile-note { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: center; margin: 10px 0; font-weight: 600; }
.check input { width: auto; }
.hours-edit { display: grid; grid-template-columns: 3rem 1fr 1fr 1fr; gap: 8px; align-items: center; margin: 8px 0; font-size: 14px; }
.hours-edit input[type="time"] { padding: 8px; }
.week-board { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; }
.week-board section { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px; min-width: 150px; }
.booking-card { position: relative; }
.stage.single { grid-template-columns: minmax(0, 480px); justify-content: center; }
.stage-live { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.live-frame { height: 760px; overflow: hidden; }
.live-frame iframe { width: 100%; height: 100%; border: 0; }
body.admin { background: var(--bg); }
body.admin .wrap { width: min(760px, calc(100% - 32px)); margin: 28px auto 64px; }
body.admin h1 { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.03em; }
select { width: 100%; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 12px 14px; }
html:has(body.embed),
body.embed,
body.embed .site { height: auto !important; min-height: 0 !important; overflow: visible !important; }
body.embed .stage, body.embed .screen { overflow: visible; }
body.embed .phone { height: auto !important; min-height: 0 !important; }
@media (max-width: 800px) {
  .stage-live { grid-template-columns: 1fr; }
  .hours-edit { grid-template-columns: 1fr 1fr; }
}
body.admin input, body.admin select, body.admin textarea { font-size: 16px; }
body.admin .editor-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
body.admin .editor-head .ghost-btn, body.admin .mini { width: auto; min-height: 44px; padding: 8px 14px; margin: 0; }
body.admin .hours li { align-items: center; flex-wrap: wrap; }
body.admin .admin-card { border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px 12px; margin: 14px 0; background: var(--card); }
body.admin .secret-once { background: #f6f1e8; border-radius: 12px; padding: 12px; overflow-wrap: anywhere; }
body.admin .secret-once p { margin: 0 0 8px; }
body.admin .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.admin .hours-edit { grid-template-columns: minmax(5.5rem, 0.8fr) auto minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 640px) {
  body.admin .pair { grid-template-columns: 1fr; }
  body.admin .hours-edit { grid-template-columns: 1fr 1fr; }
  body.admin .hours-edit > span { grid-column: 1 / -1; }
  body.admin .wrap { width: min(760px, calc(100% - 20px)); margin-top: 16px; }
}
