/* Shop admin: prices, hours and details. Made to be used with one thumb between cuts. */
:root { --bone: #efe9dd; --paper: #f7f3ea; --ink: #0f1014; --ink-2: #57534a; --line: rgba(15, 16, 20, .15); --red: #c8161d; --red-2: #a30f15; --green: #1f8a4c; --amber: #b5730f;
  --display: "Big Shoulders Display", Impact, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; --sans: "Instrument Sans", system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 16px/1.42 var(--sans); }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.mono { font-family: var(--mono); font-size: .76rem; }
.muted { color: var(--ink-2); }
.err { color: var(--red-2); font-weight: 500; font-size: .94rem; margin-top: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 3px; font: 800 1.14rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .12s, color .12s; white-space: nowrap; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.red { background: var(--red); color: #fff; box-shadow: none; }
.btn.red:hover { background: var(--red-2); }
.btn.ink { background: var(--ink); color: #fff; box-shadow: none; }
.btn.ghost { box-shadow: none; text-decoration: underline; font: 500 .92rem var(--sans); text-transform: none; letter-spacing: 0; padding: 0 8px; }
.btn.ghost:hover { background: none; color: var(--red-2); }
.btn.wide { width: 100%; }
.btn.sm { min-height: 38px; font-size: 1rem; padding: 0 12px; }
.btn[disabled] { opacity: .5; cursor: wait; }

.f { display: grid; gap: 4px; font-weight: 500; font-size: .9rem; min-width: 0; }
.f small { font-weight: 400; color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; min-height: 46px; padding: 10px 11px; background: #fff; border: 0; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 1rem; font-weight: 400; }
.f textarea { resize: vertical; min-height: 70px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; box-shadow: inset 0 0 0 2.5px var(--red); }
.check { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: .94rem; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stack { display: grid; gap: 12px; }

.login { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 20px; }
.login-card { width: min(380px, 100%); display: grid; gap: 14px; background: var(--paper); padding: 26px 22px; border-radius: 5px; }
.login-card img { width: 190px; margin: 0 auto 4px; }

.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; background: var(--ink); color: #fff; }
.bar img { width: 15px; height: auto; }
.bar h1 { font: 900 1.6rem/1 var(--display); text-transform: uppercase; flex: 1; }
.bar-link { font-size: .84rem; text-underline-offset: 3px; color: #c9c5b9; }
.view { padding: 14px 14px calc(92px + env(safe-area-inset-bottom)); max-width: 880px; margin: auto; outline: 0; }
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-top: 1.5px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.tabs button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; font-size: .72rem; font-weight: 500; color: var(--ink-2); }
.tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-current="page"] { color: var(--red); font-weight: 600; }

.card { background: var(--paper); border-radius: 4px; padding: 12px; margin-bottom: 8px; border-left: 4px solid var(--ink); }
.tag { display: inline-block; font-family: var(--mono); font-size: .64rem; padding: 1px 5px; border-radius: 2px; background: var(--ink); color: #fff; vertical-align: 1px; margin-left: 4px; text-transform: uppercase; }
.tag.new { background: var(--red); }
.tag.src { background: none; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.empty { padding: 26px 14px; text-align: center; color: var(--ink-2); background: var(--paper); border-radius: 4px; }

/* Lists */
.section-title { font: 800 1.36rem/1.05 var(--display); text-transform: uppercase; margin: 20px 0 8px; }
.section-title:first-child { margin-top: 0; }
.panel { background: var(--paper); border-radius: 4px; padding: 14px; margin-bottom: 10px; }
.day-row { display: grid; grid-template-columns: 48px 66px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: center; padding: 5px 0; font-size: .92rem; border-bottom: 1px solid var(--line); }
.day-row input[type=time] { width: 100%; min-height: 40px; padding: 4px; border: 0; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--ink); background: #fff; font-size: .9rem; }
.day-row input:disabled { opacity: .3; }
.day-row .sw { display: flex; align-items: center; gap: 4px; font-size: .78rem; }
.day-row .sw input { width: 18px; height: 18px; accent-color: var(--red); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; text-align: left; }
.svc-row small { display: block; color: var(--ink-2); font-size: .82rem; }
.svc-row .pr { font: 800 1.4rem/1 var(--display); text-align: right; }
.svc-row.off { opacity: .45; }

/* Sheet */
.sheet { border: 0; padding: 0; width: min(560px, 100%); max-height: 92vh; margin: auto auto 0; border-radius: 10px 10px 0 0; background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(10, 10, 12, .55); }
.sheet-in { padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.sheet h2 { font: 900 1.7rem/1 var(--display); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.sheet .close { font: 500 .9rem var(--sans); text-transform: none; text-decoration: underline; min-height: 36px; }
.toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(78px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 3px; font-size: .92rem; max-width: calc(100vw - 24px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }

@media (min-width: 760px) {
  .tabs { top: 54px; bottom: auto; right: auto; width: 88px; grid-template-columns: 1fr; height: calc(100vh - 54px); align-content: start; border-top: 0; border-right: 1.5px solid var(--ink); padding-top: 10px; }
  .tabs button { padding: 12px 0; }
  .view { margin-left: max(88px, calc((100vw - 880px) / 2)); padding: 16px 24px 60px; }
  .sheet { margin: auto; border-radius: 8px; }
  .toast { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
