:root {
  --bg: #f5f8f9;
  --accent2: #ff8a5b;
  --surface: #ffffff;
  --surface-2: #eef2f4;
  --surface-3: #e1e7ea;
  --border: #e2e8eb;
  --text: #14232a;
  --text-dim: #56636a;
  --accent: #6e1e2b;
  --accent-ink: #ffffff;
  --accent-soft: #f3e3d6;
  --good: #1d7444;
  --good-ink: #ffffff;
  --good-soft: #dcf2e4;
  --bad: #b3302a;
  --bad-ink: #ffffff;
  --bad-soft: #fbe3e0;
  --warn: #865a08;
  --warn-ink: #2b1d00;
  --warn-soft: #fbefd3;
  --info-soft: #e1e9fb;
  --shadow: 0 1px 2px rgb(40 30 10 / .06), 0 4px 16px rgb(40 30 10 / .06);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141918;
    --surface: #1c2322;
    --surface-2: #242d2c;
    --surface-3: #2e3938;
    --border: #2f3a39;
    --text: #e9efed;
    --text-dim: #9aa6a3;
    --accent: #eaa08e;
    --accent-ink: #2e0c12;
    --accent-soft: #3d1a1f;
    --good: #4cc27f;
    --good-ink: #062012;
    --good-soft: #173826;
    --bad: #f0675d;
    --bad-ink: #2a0402;
    --bad-soft: #43201d;
    --warn: #f0b440;
    --warn-ink: #2b1d00;
    --warn-soft: #3f3218;
    --info-soft: #1f2a44;
    --shadow: 0 1px 2px rgb(0 0 0 / .3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 15px/1.5 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: 1.75rem; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 11px;
  padding: 10px 12px; width: 100%; min-height: 44px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
label.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
label.field small { font-weight: 400; color: var(--text-dim); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }          /* money never breaks over two lines: the words next to it wrap instead */
.dim { color: var(--text-dim); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.nowrap { flex-wrap: nowrap; }
.stack { display: grid; gap: 12px; }
.stack.tight { gap: 6px; }
.stack.loose { gap: 22px; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid3 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* --- buttons: solid colours, green says yes, red says no --- */
.btn {
  border: none; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 15px;
  background: var(--accent); color: var(--accent-ink); min-height: 46px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.secondary { background: var(--surface-2); color: var(--text); }
.btn.ghost { background: transparent; color: var(--accent); padding-inline: 10px; }
.btn.good { background: var(--good); color: var(--good-ink); }
.btn.bad { background: var(--bad); color: var(--bad-ink); }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn.big { min-height: 60px; font-size: 18px; border-radius: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.card.flat { box-shadow: none; }
.card.soft { background: var(--surface-2); border-color: transparent; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--text-dim); white-space: nowrap; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.info { background: var(--info-soft); color: var(--accent); }
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.avatar.lg { width: 48px; height: 48px; font-size: 17px; }
.avatar.open { background: transparent !important; border: 2px dashed var(--text-dim); color: var(--text-dim); }

/* --- shell --- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.topbar-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
#whoami { margin-left: auto; }
.brand { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 28%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: -.02em; line-height: 1; flex: none;
  background-image: linear-gradient(145deg, rgb(255 255 255 / .16), transparent 60%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text-dim); font-weight: 600; white-space: nowrap; position: relative; }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav a:hover:not(.active) { background: var(--surface-2); }
.nav a[hidden] { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: var(--bad-ink); font-size: 11px; font-weight: 800; margin-left: 4px; }
main { max-width: 1240px; margin: 0 auto; padding: 22px 16px 110px; }
main.narrow { max-width: 760px; }
.bottombar { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .bottombar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--surface); border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .bottombar a { display: grid; justify-items: center; gap: 1px; text-decoration: none; color: var(--text-dim); font-size: 11.5px; font-weight: 700; padding: 4px 0; position: relative; }
  .bottombar a .ic { font-size: 21px; line-height: 1.1; }
  .bottombar a.active { color: var(--accent); }
  .bottombar .badge { position: absolute; top: 0; left: 55%; }
  h1 { font-size: 1.45rem; }
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { color: var(--text-dim); margin-top: 4px; }

/* --- start page --- */
.hello { margin-bottom: 18px; }
.hello h1 { font-size: 2rem; }
.tasks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.task {
  all: unset; box-sizing: border-box; cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 18px; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: center; box-shadow: var(--shadow);
  transition: transform .12s ease, border-color .15s ease;
}
.task:hover { border-color: var(--accent); transform: translateY(-2px); }
.task:focus-visible { outline: 3px solid var(--accent); }
.task .ti { grid-row: span 2; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; background: var(--accent-soft); }
.task b { font-size: 17px; }
.task span { color: var(--text-dim); font-size: 13.5px; line-height: 1.35; }
.task .count { grid-column: 2; justify-self: start; margin-top: 4px; }
.task.hot { border-color: color-mix(in srgb, var(--warn) 60%, var(--border)); }
.glance { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 22px 0; }
.glance .card { padding: 14px 16px; }
.glance .big { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.section-title { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin: 26px 0 10px; }

/* --- wizard --- */
.wiz { max-width: 820px; margin: 0 auto; }
.wiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.stepper { display: flex; gap: 6px; margin: 4px 0 22px; }
.stepper .st { flex: 1; display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--text-dim); min-width: 0; }
.stepper .st i { height: 6px; border-radius: 3px; background: var(--surface-3); display: block; }
.stepper .st.done i { background: var(--accent); }
.stepper .st.now i { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.stepper .st.now { color: var(--accent); }
.stepper .st span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .stepper .st:not(.now) span { visibility: hidden; } }
.wiz-q { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; text-wrap: balance; }
.wiz-help { color: var(--text-dim); margin-bottom: 18px; }
.wiz-foot {
  position: sticky; bottom: 0; margin-top: 26px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg); box-shadow: 0 -1px 0 var(--border), 0 -10px 16px -14px rgba(0, 0, 0, .25); display: flex; gap: 10px; align-items: center;
}   /* solid: the list doesn't show through it */
.wiz-foot .grow { text-align: center; color: var(--text-dim); font-size: 13.5px; }
@media (max-width: 760px) { .wiz-foot { bottom: 64px; } }
.choice {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 14px;
  border-radius: 14px; border: 2px solid var(--border); background: var(--surface); min-width: 0;
}
.choice:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.choice.on { border-color: var(--accent); background: var(--accent-soft); }
.choice .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; flex: none; font-size: 14px; color: transparent; background: var(--surface); }
.choice.on .tick { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.done-hero { text-align: center; padding: 28px 10px 10px; display: grid; gap: 10px; justify-items: center; }
.done-hero .big-tick { width: 76px; height: 76px; border-radius: 50%; background: var(--good); color: var(--good-ink); display: grid; place-items: center; font-size: 40px; }

/* --- calendar picker --- */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .hd { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; }
.cal button {
  all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 8px 0 6px; border-radius: 12px; background: var(--surface);
  border: 1.5px solid var(--border); font-weight: 700; font-variant-numeric: tabular-nums; display: grid; line-height: 1.15;
}
.cal button small { font-size: 10.5px; font-weight: 600; color: var(--text-dim); }
.cal button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cal button.on small { color: inherit; opacity: .85; }
.cal button.past { opacity: .35; cursor: not-allowed; }
.cal button.today { border-color: var(--accent); }
.cal button.ph small { color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--border); font-weight: 600; font-size: 14px; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* --- shift rows / chips --- */
.shift-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.shift-row .when { min-width: 92px; font-variant-numeric: tabular-nums; }
.shift-row .when b { display: block; }
.shift-row.pick { cursor: pointer; }
.shift-row.pick:hover { border-color: var(--accent); }
.typebar { width: 5px; align-self: stretch; border-radius: 3px; flex: none; }
.warnline { font-size: 12.5px; color: var(--warn); }
.badline { font-size: 12.5px; color: var(--bad); }

/* --- roster grid --- */
.rgrid-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rgrid { display: grid; min-width: 980px; }
.rgrid .c { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6px; min-height: 86px; display: flex; flex-direction: column; gap: 5px; }
.rgrid .c.h { min-height: 0; font-weight: 800; font-size: 13px; padding: 10px 8px; background: var(--surface-2); position: sticky; top: 0; }
.rgrid .c.h.today { color: var(--accent); }
.rgrid .c.rowh { font-weight: 700; font-size: 14px; background: var(--surface-2); justify-content: center; position: sticky; left: 0; z-index: 2; }
.rgrid .c.drop { background: var(--accent-soft); outline: 2px dashed var(--accent); outline-offset: -3px; }
.rgrid .c.wkend { background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }
.sc {
  all: unset; box-sizing: border-box; cursor: grab; border-radius: 9px; padding: 5px 7px; font-size: 12.5px; line-height: 1.3;
  background: var(--surface-2); border-left: 4px solid var(--c, var(--accent)); display: grid; user-select: none;
}
.sc b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc .t { font-variant-numeric: tabular-nums; color: var(--text-dim); }
.sc.open { background: var(--warn-soft); border-left-style: dashed; }
.sc.draft { opacity: .75; background: repeating-linear-gradient(-45deg, var(--surface-2) 0 6px, var(--surface) 6px 12px); }
.sc.dragging { opacity: .4; }
.sc .flag { font-size: 11px; font-weight: 800; color: var(--bad); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-dim); align-items: center; }
.legend .sw { width: 22px; height: 14px; border-radius: 4px; display: inline-block; vertical-align: -2px; margin-right: 5px; }
.agenda-day { display: grid; gap: 8px; }

/* --- sheet (dialog) --- */
.scrim { position: fixed; inset: 0; background: rgb(10 20 20 / .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet {
  background: var(--bg); width: min(640px, 100%); max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); animation: up .2s ease;
}
@media (min-width: 761px) { .scrim { align-items: center; } .sheet { border-radius: 22px; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; z-index: 80; font-weight: 600; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.bad { background: var(--bad); color: var(--bad-ink); }
.toast { pointer-events: none; }                    /* a message never swallows the tap meant for the button under it */

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.t td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.t td.r, table.t th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }

.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--warn-soft); }
.banner.info { background: var(--info-soft); }
.banner.good { background: var(--good-soft); }
.banner.bad { background: var(--bad-soft); }
.banner .bi { font-size: 22px; line-height: 1; }

.diff { background: var(--warn-soft); border-radius: 6px; padding: 0 4px; }
.seg { display: inline-flex; background: var(--surface-2); padding: 4px; border-radius: 12px; gap: 2px; }
.seg button { all: unset; cursor: pointer; padding: 7px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--text-dim); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* --- staff app --- */
.clock-card { border-radius: 24px; padding: 22px; background: var(--accent); color: var(--accent-ink); display: grid; gap: 12px; }
.clock-card.on { background: var(--good); color: var(--good-ink); }
.clock-card .btn { background: var(--surface); color: var(--text); }
.clock-card .timer { font-size: 44px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.weekgrid { display: grid; gap: 8px; }
.weekgrid .wd { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; }
.login { width: min(400px, 100%); display: grid; gap: 16px; }
.spinner { padding: 22px 0; color: transparent; display: grid; gap: 12px; user-select: none; }
.spinner::before, .spinner::after { content: ''; display: block; height: 92px; border-radius: 18px;
  background: linear-gradient(100deg, var(--surface-2) 20%, var(--surface) 40%, var(--surface-2) 60%) 0 0 / 300% 100%; animation: shimmer 1.2s linear infinite; }
.spinner::after { height: 60px; width: 70%; }
@keyframes shimmer { to { background-position: -150% 0; } }
.hide-sm { }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
.only-sm { display: none !important; }
@media (max-width: 760px) { .only-sm { display: initial !important; } }

/* ---------- the business's own look */
.brand-logo { display: block; width: auto; max-width: 140px; object-fit: contain; border-radius: 6px; }
.trialbar { display: block; text-align: center; padding: 7px 12px; font-size: 13.5px; background: color-mix(in srgb, var(--accent2) 12%, var(--surface));
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.seg { flex-wrap: wrap; }

/* ---------- home screen tiles (swipe pages, hold to arrange) */
.home-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.home-top .dots { flex: 1; display: flex; gap: 0; margin-left: -10px; }
.dot-b { all: unset; display: inline-grid; place-items: center; min-width: 36px; height: 36px; cursor: pointer; }   /* the dot is small, the tap area isn't */
.dot-b::before { content: ''; width: 9px; height: 9px; border-radius: 99px; background: var(--surface-3); transition: width .2s, background .2s; }
.dot-b.on::before { background: var(--accent); width: 22px; }
.pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; margin: 0 -4px; }
.pages::-webkit-scrollbar { display: none; }
.hpage { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 4px; align-content: start; min-height: 300px; }
@media (max-width: 760px) { .hpage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.tile { position: relative; min-width: 0; touch-action: pan-x pan-y; }
.tile.s2 { grid-column: span 2; }
.t-link { display: grid; align-content: start; gap: 6px; height: 100%; min-height: 128px; padding: 14px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .12s; user-select: none; -webkit-user-select: none; }
a.t-link:active { transform: scale(.97); }
.t-head { display: flex; align-items: center; gap: 8px; }
.t-head b { font-size: 15px; line-height: 1.2; }
.t-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: var(--accent-soft); }
.t-body { min-width: 0; }
.t-stat b { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--accent); }
.t-stat span { color: var(--text-dim); font-size: 13px; }
.t-stat.warn b { color: var(--warn); } .t-stat.good b { color: var(--good); }
.t-hello h2 { font-size: 24px; }
.tile[data-tile=hello] .t-link { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, var(--accent2))); color: var(--brand-ink); border: 0; }
.tile[data-tile=hello] .t-head { display: none; } .tile[data-tile=hello] .dim { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }
.t-glance { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.t-glance span { padding: 5px 10px; border-radius: 99px; background: rgb(255 255 255 / .16); font-size: 13px; font-weight: 600; white-space: nowrap; }
.t-glance b { font-weight: 800; }
.pages.editing .tile[data-tile] .t-link { animation: jiggle .32s ease-in-out infinite alternate; cursor: grab; }
.pages.editing .tile[data-tile]:nth-child(2n) .t-link { animation-delay: .12s; }
@keyframes jiggle { from { transform: rotate(-.8deg); } to { transform: rotate(.8deg); } }
.tile.placeholder .t-link { opacity: .25; border-style: dashed; animation: none; }
.tile.lifted .t-link { transform: scale(1.06) rotate(1.5deg); box-shadow: 0 18px 40px rgb(0 0 0 / .25); animation: none; }
.t-x { position: absolute; z-index: 2; top: -7px; left: -7px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface);
  background: var(--bad); color: #fff; font-weight: 800; line-height: 1; cursor: pointer; }
.ghost-drop { min-height: 60px; border: 2px dashed var(--border); border-radius: 20px; }
.newpage { place-items: center; border: 2px dashed var(--border); border-radius: 20px; }
.edit-hint { margin: -4px 0 10px; }
.pages.editing { touch-action: none; }

/* ---------- settings: switches, swatches, drag lists, plan */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 2px; border-bottom: 1px solid var(--border); }
.switch-row > span { display: grid; }
input.sw { appearance: none; width: 50px; height: 30px; min-height: 0; border-radius: 30px; background: var(--surface-3); border: 0; position: relative; cursor: pointer; flex: none; transition: background .2s; padding: 0; }
input.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: left .2s; }
input.sw:checked { background: var(--good); } input.sw:checked::after { left: 23px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sw2 { all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 13px; font-weight: 600; }
.sw2 i { width: 18px; height: 18px; border-radius: 6px; } .sw2.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.drag-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); user-select: none; }
.drag-row .grip { cursor: grab; font-size: 20px; color: var(--text-dim); touch-action: none; padding: 0 4px; }
.drag-row.dragging { box-shadow: 0 10px 24px rgb(0 0 0 / .18); border-color: var(--accent); }
.plan-card .price { text-align: right; } .plan-card .price b { font-size: 30px; font-weight: 800; color: var(--accent); } .plan-card .price span { color: var(--text-dim); }
/* "Special": a kept deal's own plan (samoa.js planTabSpecial) */
.plan-special h2 { display: flex; align-items: center; gap: 8px; } .plan-special h2 .i { color: var(--accent); }
.sp-inc, .sp-term { gap: 10px; align-items: flex-start; } .sp-ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); } .sp-ic .i { width: 15px; height: 15px; } .sp-inc .grow, .sp-term .grow { padding-top: 4px; min-width: 0; }
.ticks { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; } .ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: .45em; width: 10px; height: 5px; border-left: 2.4px solid var(--good); border-bottom: 2.4px solid var(--good); transform: rotate(-45deg); }
.paysum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.paysum div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; display: grid; }
.paysum div:first-child { background: var(--brand); color: var(--brand-ink); border: 0; } .paysum div:first-child span { color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
.paysum span { font-size: 12.5px; color: var(--text-dim); } .paysum b { font-size: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .paysum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- motion: pages slide in, cards cascade, toasts and sheets spring */
/* [smooth] calm and quick: the page fades up once (motion.js), its first few blocks a beat apart, while the old page
   fades out where it was (smooth.js .sm-ghost); no bounce, no long cascade */
#main.enter { animation: pagein .22s cubic-bezier(.2,.8,.2,1); }
@keyframes pagein { from { opacity: 0; transform: translateY(6px); } }
.cascade { animation: rise .3s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(min(var(--i, 0), 6) * 28ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.hpage > .tile.cascade { animation-name: rise; }
/* a page change (smooth.js): the old page held still on the screen while the new one builds unseen under it */
.sm-ghost { position: fixed; z-index: 10; margin: 0 !important; overflow: hidden; pointer-events: none; }
.sm-ghost .cascade, .sm-ghost.enter, .sm-ghost * { animation: none !important; transition: none !important; }
#main.sm-wait { opacity: 0; pointer-events: none; }
/* a page that takes a moment: a thin line under the header says it's coming (instead of a blank or a jump) */
body.sm-busy .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: sm-line 1s linear infinite; }
@keyframes sm-line { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { body.sm-busy .topbar::after { animation: none; background: var(--accent); opacity: .5; } }
/* the grey placeholder: only when a page takes a moment (a quick one never flashes it) */
#main > .spinner:only-child { animation: spin-late .3s ease .25s backwards; }
@keyframes spin-late { from { opacity: 0; } }
.toast { animation: toastin .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 20px) scale(.9); } }
.sheet { animation: sheetin .32s cubic-bezier(.2,1.1,.3,1); }
@keyframes sheetin { from { transform: translateY(60px); opacity: 0; } }
.btn { transition: transform .12s ease, filter .15s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.96); }
.t-link { transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
@media (hover: hover) { a.t-link:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgb(0 0 0 / .1); } }
.tile[data-tile=hello] .t-link { background-size: 200% 200%; animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.choice, .card { transition: transform .15s ease, box-shadow .2s ease, border-color .15s; }
.choice:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- table ordering (orderup.js): the orders board, menu, tables & QR codes */
[hidden] { display: none !important; }
@media (max-width: 760px) { .bottombar.solo { display: none; } }
.ou-tabs { display: none; margin-bottom: 14px; }
.ou-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--surface-3); color: var(--text-dim); font-size: 12px; font-weight: 800; margin-left: 4px; }
.ou-n.hot { background: var(--bad); color: var(--bad-ink); }
.ou-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ou-col { display: grid; gap: 12px; align-content: start; background: var(--surface-2); border-radius: 20px; padding: 12px; min-height: 160px; }
.ou-colh { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); padding: 2px 4px; }
.ou-col[data-col=ready] { background: color-mix(in srgb, var(--good) 10%, var(--surface-2)); }
.ou-empty { color: var(--text-dim); font-size: 14px; padding: 18px 8px; text-align: center; }
@media (max-width: 760px) {
  .ou-tabs { display: flex; width: 100%; } .ou-tabs button { flex: 1; text-align: center; padding: 9px 6px; }
  .ou-board { grid-template-columns: 1fr; }
  .ou-board .ou-col { display: none; background: none; padding: 0; min-height: 0; }
  .ou-board.show-new .ou-col[data-col=new], .ou-board.show-making .ou-col[data-col=making], .ou-board.show-ready .ou-col[data-col=ready] { display: grid; }
  .ou-colh { display: none; }
}
.ou-card { background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--accent); border-radius: 16px; padding: 14px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.ou-card.s-making { border-left-color: var(--warn); }
.ou-card.s-ready { border-left-color: var(--good); }
.ou-card.in { animation: rise .45s cubic-bezier(.2,.8,.2,1); }
.ou-card.attn { border-color: var(--bad); border-left-color: var(--bad); animation: attn 1.8s ease-in-out infinite; cursor: pointer; }
@keyframes attn { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad) 40%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--bad) 0%, transparent); } }
.ou-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ou-tname { font-size: 20px; font-weight: 800; }
.ou-age { font-size: 13px; font-weight: 700; color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ou-age.amber, .ou-age.red { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; }
.ou-age.amber { background: var(--warn-soft); color: var(--warn); }
.ou-age.red { background: var(--bad); color: var(--bad-ink); }
.ou-age svg.i { --icon-2: transparent; }
.ou-card.t-red:not(.attn) { border-color: color-mix(in srgb, var(--bad) 45%, var(--border)); }
.ou-lnote { display: flex; align-items: flex-start; gap: 5px; margin: 2px 0 0 28px; font-size: 13.5px; color: var(--warn); font-weight: 600; }
.ou-lnote svg.i { flex: none; margin-top: 2px; --icon-2: transparent; }
.ou-lopts { display: block; margin: 1px 0 0 28px; font-size: 14px; color: var(--text-dim); font-weight: 600; overflow-wrap: anywhere; }
.ou-lines .ou-lopts { color: var(--accent); }
/* "Table 4 · still choosing (3 items)": guests building an order */
.ou-choosing { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ou-chip-live { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1.5px dashed var(--border-strong, var(--border)); font-size: 14px; color: var(--text-dim); }
.ou-chip-live b { color: var(--text); white-space: nowrap; }
.ou-chip-live span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ou-chip-live svg.i { flex: none; color: var(--accent); animation: gpulse2 1.8s ease-in-out infinite; }
@keyframes gpulse2 { 50% { opacity: .35; } }
.ou-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 16px; }
.ou-lines b { display: inline-block; min-width: 28px; color: var(--accent); }
.ou-note { background: var(--warn-soft); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.ou-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ou-pay { all: unset; cursor: pointer; font-size: 13px; font-weight: 700; padding: 6px 12px; min-height: 36px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); white-space: nowrap; }
.ou-pay.on { background: var(--good-soft); color: var(--good); }
.ou-acts { display: flex; gap: 8px; } .ou-acts .btn.block { flex: 1; }
.ou-topay { color: var(--warn); font-weight: 700; white-space: nowrap; }      /* "WST 161.00 still to pay" moves down whole, never leaves "pay" alone */
.ou-donelist { display: grid; gap: 0; padding: 4px 14px; }
.ou-drow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ou-drow:last-child { border-bottom: 0; }
.ou-drow.cancelled { opacity: .55; }
.ou-drow, .ou-drow > .grow { min-width: 0; } .ou-donelist { grid-template-columns: minmax(0, 1fr); }                 /* the long items line is cut with "…": the total and buttons stay on screen */
.ou-drow > :not(.grow) { flex: none; }
.ou-ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ou-sumrow { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; }
/* menu */
.ou-emptycard { text-align: center; justify-items: center; padding: 30px 18px; }
.ou-irow { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.ou-irow.soldout .ou-thumb, .ou-irow.soldout .ou-iinfo b { opacity: .5; }
.ou-irow.off { background: var(--surface-2); }
.ou-thumb { all: unset; cursor: pointer; width: 56px; height: 56px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); font-size: 24px; }
.ou-thumb img, .ou-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ou-iinfo { all: unset; cursor: pointer; flex: 1; min-width: 0; display: grid; gap: 2px; }
.ou-iname { display: flex; align-items: baseline; gap: 10px; }          /* the name wraps, the price keeps its place on the right */
.ou-iname b { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.ou-iprice { flex: none; }
.ou-iprice { font-weight: 700; color: var(--text); font-size: 14px; }
.ou-idesc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
/* the arrows show only while reordering (Reorder / Done at the top): the rows stay clean the rest of the time */
#ou-cats:not(.arranging) .ou-mv:not(.keep) > [data-up], #ou-cats:not(.arranging) .ou-mv > [data-down],
#ou-cats:not(.arranging) .ou-mv > [data-cup], #ou-cats:not(.arranging) .ou-mv > [data-cdown] { display: none; }
#ou-cats.arranging .ou-so { display: none; }
#ou-cats.arranging .ou-irow { border-style: dashed; }
.ou-iinfo .pill { justify-self: start; }
.ou-so { display: grid; justify-items: center; gap: 2px; flex: none; }
.ou-mv { gap: 4px; } .ou-mv.col { display: grid; flex: none; gap: 2px; } .ou-mv .btn { min-height: 40px; min-width: 40px; padding: 2px 10px; justify-content: center; }   /* big enough to tap on a phone */
.ou-mv.col .btn { min-height: 38px; min-width: 44px; }
.ou-photo { width: 96px; height: 96px; flex: none; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); font-size: 38px; }
/* tables & QR */
.ou-qrgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 460px) { .ou-qrgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ou-qrcard { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 12px; }
.ou-qrimg { display: block; width: 100%; max-width: 200px; }
.ou-qrimg canvas { width: 100%; height: auto; display: block; border-radius: 10px; }
.ou-qrname { font-size: 17px; overflow-wrap: anywhere; }
.ou-qracts { justify-content: center; gap: 4px; }
#ou-print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 10mm; }
  body > *:not(#ou-print-sheet) { display: none !important; }
  body { background: #fff; }
  #ou-print-sheet { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 8mm; }
  #ou-print-sheet img { width: 100%; break-inside: avoid; }
}
.t-stat.ou-money b { font-size: 28px; }

/* ---------- icons (icons.js): lines in currentColor, a soft second tone in --icon-2. Inside the app the second tone is the
   business's own second colour; on buttons, pills and toasts it follows the text colour. Status icons use good / warn / bad. */
:root { --icon-2: color-mix(in srgb, var(--accent2) 26%, transparent); }
svg.i { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; overflow: visible; }
.btn svg.i, .pill svg.i, .chip svg.i, .toast svg.i, .seg svg.i, .badline svg.i, .warnline svg.i, .ou-pay svg.i, .tick svg.i,
  .sc svg.i, .bottombar svg.i, .big-tick svg.i, .t-x svg.i { --icon-2: color-mix(in srgb, currentColor 22%, transparent); }
.btn svg.i { font-size: 1.1em; }
.i-good, .ico-good { color: var(--good); --icon-2: color-mix(in srgb, var(--good) 24%, transparent); }
.i-warn, .ico-warn { color: var(--warn); --icon-2: color-mix(in srgb, var(--warn) 26%, transparent); }
.i-bad, .ico-bad { color: var(--bad); --icon-2: color-mix(in srgb, var(--bad) 24%, transparent); }
.i-info, .ico-info { color: var(--accent); }
.task .ti, .t-ic, .ou-emptycard .ou-big-ic { color: var(--accent); }
.banner .bi { color: var(--warn); --icon-2: color-mix(in srgb, var(--warn) 24%, transparent); line-height: 0; padding-top: 1px; }
.banner.info .bi { color: var(--accent); --icon-2: color-mix(in srgb, var(--accent2) 22%, transparent); }
.banner.good .bi { color: var(--good); --icon-2: color-mix(in srgb, var(--good) 24%, transparent); }
.banner.bad .bi { color: var(--bad); --icon-2: color-mix(in srgb, var(--bad) 22%, transparent); }
.badline svg.i, .warnline svg.i { margin-right: 3px; vertical-align: -.16em; }
.choice .tick svg.i { font-size: 14px; }
.big-tick svg.i { font-size: 40px; }
.done-hero .big-tick { color: var(--good-ink); }
.bottombar a .ic { display: grid; place-items: center; height: 24px; }
.bottombar a .ic svg.i { font-size: 23px; }
.bottombar a:not(.active) .ic { --icon-2: transparent; }
.drag-row .grip svg.i { font-size: 20px; vertical-align: middle; }
.brand-mark svg.i { font-size: 20px; --icon-2: transparent; }
.typeic { display: inline-flex; vertical-align: -.14em; }

/* ---------- review screens: a big total up top, earlier periods still waiting, one-tap no-show / worked it */
.review-hero { background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent2) 8%, var(--surface))); border-color: transparent; }
.review-hero .hero-num { font-size: 32px; font-weight: 800; line-height: 1.1; margin: 2px 0; }
.hero-meter { width: 70px; height: 70px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--good) calc(var(--p, 0) * 1%), var(--surface-3) 0); }
.hero-meter b { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.needs-review { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: color-mix(in srgb, var(--warn-soft) 55%, var(--surface)); padding: 12px 14px; display: grid; gap: 2px; }
.needs-head { display: flex; align-items: center; gap: 8px; color: var(--warn); margin-bottom: 4px; } .needs-head b { color: var(--text); }
.review-row { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid color-mix(in srgb, var(--warn) 25%, var(--border)); font-weight: 600; }
.review-row svg.i { color: var(--warn); }
.review-row:active { transform: scale(.98); }
.unclocked { padding: 8px 0; border-top: 1px solid var(--border); gap: 8px; }
.unclocked .btn { flex: none; }

/* ---------- undo bar (one-tap changes can be put back) and the orders board's connection strip */
.undo-bar { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 45; width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px; border-radius: 16px; background: var(--text); color: var(--bg); box-shadow: 0 10px 30px rgb(0 0 0 / .22); animation: toastin .35s cubic-bezier(.2,1.4,.4,1); font-size: 14.5px; }
.undo-bar .btn { background: var(--bg); color: var(--text); }
.undo-bar .btn.ghost { background: transparent; color: var(--bg); padding-inline: 8px; }
@media (min-width: 761px) { .undo-bar { bottom: 24px; } }
.ou-conn { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--bad-soft); color: var(--text); font-size: 14px; }
.ou-conn svg.i { color: var(--bad); font-size: 20px; --icon-2: transparent; }
.ou-big-ic { font-size: 44px; line-height: 0; color: var(--accent); }

/* ---------- "put it on your home screen" */
.install-card { display: grid; gap: 10px; border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.install-card .install-how { padding-left: 50px; }
.install-steps { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.install-card svg.i { color: var(--accent); }
.install-card .btn svg.i, .install-card .brand-mark svg.i { color: inherit; }
.ou-thumb, .ou-photo { color: var(--accent); }
/* a two-way switch (Monthly / Yearly on the plan) */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--accent-soft); }
.seg2 button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 9px 8px; border-radius: 11px; font-weight: 700; color: var(--accent); transition: background .2s, color .2s; }
.seg2 button small { display: block; font-size: 11.5px; font-weight: 600; opacity: .85; }
.seg2 button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); }
.seg2 button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- bring your team across (importer.js) */
.imp-drop { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 28px 16px; border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
  cursor: pointer; box-shadow: none; }
.imp-drop b { font-size: 18px; }
.imp-drop.over, .imp-drop:hover { background: var(--accent-soft); }
.imp-drop.busy { opacity: .7; pointer-events: none; }
.imp-col { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.imp-col:last-child { border-bottom: 0; }
.imp-pick { display: grid; gap: 4px; justify-items: end; flex: 0 0 46%; }
.imp-pick select { width: 100%; }
.imp-bits { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imp-row .imp-bits { white-space: normal; overflow-wrap: anywhere; }   /* a row's details wrap on a phone instead of being cut with … */
.imp-row { display: block; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; }
.imp-row select { width: auto; max-width: 44%; flex: none; }
.imp-row input[type=checkbox] { width: 22px; height: 22px; flex: none; }
.imp-row.off { opacity: .6; background: var(--surface-2); }
.imp-row .warnline, .imp-row .badline, .imp-info { margin-top: 4px; }
.imp-info .i { width: 14px; height: 14px; vertical-align: -2px; }
.imp, .imp .stack > *, .imp-row .grow { min-width: 0; }
.imp select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }

/* ---------- Taimi and TapRound: each side's colours (app.js). One at a time: the name top left switches over;
   together: every tile and menu entry carries its side's colour, things both use stay plain */
/* each side wears its product's light theme (host 2026-12-05): Taimi sky, TapRound burgundy + cream (second colour brick #b5452f), Taimi coral */
:root { --taimi: #2a6fc4; --taimi-2: #ff8a5b; --orderup: #6e1e2b; --orderup-2: #b5452f; }
@media (prefers-color-scheme: dark) { :root { --taimi: #7fb2ee; --orderup: #eaa08e; --orderup-2: #f0b7a4; } }
.side-taimi { --side: var(--taimi); --side-2: var(--taimi-2); --side-solid: #2f7bd6; }
:root { --brand: var(--accent); --brand-ink: var(--accent-ink); }
.side-orderup { --side: var(--orderup); --side-2: var(--orderup-2); --side-solid: #6e1e2b; }
.side-switch { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 70vw;
  padding: 4px 8px 4px 4px; margin-left: -4px; border-radius: 14px; font-weight: 800; font-size: 18px; color: var(--text); transition: background .15s, transform .12s; }
.side-switch:hover { background: var(--surface-2); }
.side-switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.side-switch:active { transform: scale(.97); }
.brand-t { display: grid; line-height: 1.15; min-width: 0; }
.brand-t > span { overflow: hidden; text-overflow: ellipsis; }
.brand-t small { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .02em; }
.swap-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.swap-ic svg.i { font-size: 15px; }
.side-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--side) 12%, var(--surface)); }
.side-badge { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--side-solid); color: #fff; }
.side-badge svg.i { font-size: 24px; --icon-2: color-mix(in srgb, #fff 22%, transparent); }
.btn.side-go { background: var(--side-solid); color: #fff; }
.side-seg button { color: var(--side); }
.side-seg button[aria-pressed=true] { background: var(--side-solid); color: #fff; }
.side-seg button svg.i { vertical-align: -3px; }
/* together: the colour key, tiles, menu entries and More sections */
.side-key { display: inline-flex; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--text-dim); flex-wrap: wrap; }
.side-key > span { display: inline-flex; align-items: center; gap: 5px; }
.side-key > span::before, .nav-h::before, .side-h.side-taimi::before, .side-h.side-orderup::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--side); flex: none; }
.tile.side-taimi .t-link, .tile.side-orderup .t-link { position: relative; overflow: hidden; }
.tile.side-taimi .t-link::before, .tile.side-orderup .t-link::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--side); }
:is(.side-taimi, .side-orderup) :is(.t-ic, .ti) { background: color-mix(in srgb, var(--side) 15%, var(--surface)); color: var(--side); --icon-2: color-mix(in srgb, var(--side-2) 34%, transparent); }
.task.side-taimi, .task.side-orderup { border-left: 5px solid var(--side); }
.drag-row.side-taimi, .drag-row.side-orderup { border-left: 4px solid var(--side); }
.nav-h { display: inline-flex; align-items: center; gap: 5px; align-self: center; padding: 0 2px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--side); white-space: nowrap; }
.nav:has(.nav-h) a { padding: 8px 9px; }
:is(.tile.side-taimi, .tile.side-orderup) .t-stat:not(.warn):not(.good) b { color: var(--side); }
.nav-gap { flex: none; width: 1px; margin: 8px 4px; background: var(--border); }
.nav a.side-taimi.active, .nav a.side-orderup.active { box-shadow: inset 0 -3px 0 var(--side); }
@media (max-width: 760px) {
  .bottombar a.side-taimi .ic, .bottombar a.side-orderup .ic { color: var(--side); }
  .bottombar a.side-taimi::after, .bottombar a.side-orderup::after { content: ''; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--side); }
}
.side-h { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.page-head + .side-h { margin-top: 0; }
.side-h.side-taimi, .side-h.side-orderup { color: var(--side); }
/* the change-over: the old side slides out as the new one fades in */
html.side-swap::view-transition-old(root) { animation: side-out .2s ease-in both; }
html.side-swap::view-transition-new(root) { animation: side-in .34s cubic-bezier(.2,.8,.2,1) both; }
html.to-taimi { --dir: -1; } html.to-orderup { --dir: 1; }
@keyframes side-out { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -28px)); } }
@keyframes side-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); } }
.sheet h2:focus { outline: none; }

/* TapRound round 1: hours and waiting lines on the board, Mark paid choices, history by date, categories, archived,
   the price lock, table codes, Settings > Orders */
.banner.warn { background: var(--warn-soft); }
.banner.warn .bi { color: var(--warn); }
.ou-hours, .ou-waiting { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; font-weight: 700; white-space: nowrap; }
.ou-hours.open { color: var(--good); } .ou-hours.last, .ou-hours.closed { color: var(--bad); } .ou-waiting { color: var(--warn); }
@media (max-width: 720px) { .ou-hours, .ou-waiting { display: flex; margin: 4px 0 0; white-space: normal; } }
.ou-payways { display: grid; gap: 10px; }
/* split bill, refunds, the Loyverse line on an order */
.ou-sph { font-size: 17px; margin-top: 4px; }
.ou-spline .grow { min-width: 0; display: grid; overflow-wrap: anywhere; }
.ou-spline .ou-lopts { margin: 0; }
.ou-step { gap: 8px; flex: none; } .ou-step .btn { min-width: 40px; min-height: 40px; justify-content: center; font-size: 18px; } .ou-step b { min-width: 22px; text-align: center; }
.ou-spways .chip { display: inline-flex; align-items: center; gap: 6px; }
.ou-sparts svg.i { color: var(--accent); }
.ou-pay.ref { background: var(--bad-soft); color: var(--bad); }
.ou-lv { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; color: var(--text-dim); }
.ou-lv svg.i { flex: none; margin-top: 2px; }
.ou-lv.sent { color: var(--good); background: var(--good-soft); } .ou-lv.failed { color: var(--bad); background: var(--bad-soft); } .ou-lv.pending { color: var(--warn); background: var(--warn-soft); }
.ou-way { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--surface); }
.ou-way:hover, .ou-way:focus-visible { border-color: var(--accent); }
.ou-way svg.i { grid-row: span 2; font-size: 26px; color: var(--accent); }
.ou-way b { font-size: 17px; }
.ou-dayhead { margin: 26px 0 10px; gap: 8px; }
.ou-daynav { gap: 2px; min-width: 0; } .ou-daynav h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ou-daynav .btn { min-width: 40px; min-height: 40px; justify-content: center; padding: 2px 8px; }
.ou-daynav .i.flip { transform: scaleX(-1); }
.ou-takings { margin: -4px 0 10px; color: var(--text-dim); } .ou-takings b { color: var(--text); }
.ou-cathead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.ou-limpill { white-space: normal; }
.ou-archived summary { cursor: pointer; }
.ou-archived > p { margin: 8px 0; }
.ou-arow { padding: 8px 0; border-bottom: 1px solid var(--border); gap: 10px; } .ou-arow:last-child { border-bottom: 0; }
.ou-arow .grow { min-width: 0; overflow-wrap: anywhere; }
.ou-lockbar { margin-bottom: 14px; }
.ou-lockt { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--warn); }
.ou-oldlinks { flex-wrap: wrap; } .ou-oldlinks .grow { flex: 1 1 220px; } .ou-oldlinks .btn { margin-left: auto; }
/* finished orders on a phone: the table and items on top, the amount and Paid under them */
@media (max-width: 460px) { .ou-drow { flex-wrap: wrap; row-gap: 4px; } .ou-drow > .grow { flex: 1 1 100%; } .ou-drow > .num { margin-left: auto; } }
.ou-oldpill { font-size: 11.5px; }
.ou-newcode { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.ou-newcode h3 { display: flex; align-items: center; gap: 6px; }
.ou-unit { display: flex; align-items: center; gap: 8px; } .ou-unit input { flex: 1; min-width: 0; } .ou-unit span { color: var(--text-dim); font-size: 14px; white-space: nowrap; }
.ou-nowline { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
#ou-sf h3 { display: flex; align-items: center; gap: 8px; } #ou-sf h3 svg.i { color: var(--accent); }

/* ---------- TapRound sales reports (oureports.js) */
.rep-ctl { display: grid; gap: 10px; margin-bottom: 16px; }
.rep-span { width: 100%; } .rep-span button { flex: 1; text-align: center; padding: 8px 4px; }
.rep-nav { justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.rep-pick { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 17px; padding: 6px 8px; border-radius: 12px; cursor: pointer; }
.rep-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-pick svg.i { flex: none; color: var(--accent); }
.rep-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.rep-date { flex: 1 1 130px; min-width: 0; } .rep-date input { width: 100%; min-width: 0; } .rep-by { flex: 1 1 100%; } .rep-by button { flex: 1; text-align: center; }
.rep-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rep-kpi { display: grid; gap: 2px; padding: 12px; min-width: 0; }
.rep-kpi b { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; line-height: 1.15; }
@media (max-width: 420px) { .rep-kpis { grid-template-columns: 1fr 1fr; } .rep-kpi:first-child { grid-column: 1 / -1; } .rep-kpi:first-child b { font-size: 26px; } }
.rep-more { margin: 8px 2px 0; }
#rep-body > * + * { margin-top: 14px; }
.rep-card h3 { display: flex; align-items: center; gap: 8px; }
.rep-chart { position: relative; }
.rep-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.rep-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 4; }
.rep-base { stroke: var(--border-strong, var(--text-dim)); stroke-width: 1; opacity: .6; }
.rep-ax { fill: var(--text-dim); font-size: 10px; font-family: inherit; }
.rep-fill { fill: var(--accent); }
.rep-hit { fill: transparent; }
.rep-bar { cursor: pointer; outline: none; }
.rep-bar.on .rep-hit, .rep-bar:focus-visible .rep-hit { fill: color-mix(in srgb, var(--accent) 10%, transparent); }
.rep-tip { position: absolute; top: -6px; z-index: 2; max-width: 100%; padding: 6px 10px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; pointer-events: none; box-shadow: var(--shadow); white-space: nowrap; }
.rep-via { display: grid; grid-template-columns: minmax(0, max-content) minmax(40px, 1fr) max-content; align-items: center; gap: 12px 10px; font-size: 14px; }
.rep-vrow { display: contents; }
.rep-vname { display: flex; align-items: center; gap: 6px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-vname svg.i { flex: none; color: var(--accent); }
.rep-vbar { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rep-vbar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.rep-vamt { white-space: nowrap; font-weight: 700; }
.rep-best { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rep-best th { text-align: left; font-size: 12px; color: var(--text-dim); font-weight: 700; padding: 0 6px 6px; }
.rep-best td { padding: 8px 6px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.rep-best .num { text-align: right; white-space: nowrap; }

/* ---------- Settings > Loyverse (loyverse.js) */
.lv h3 { display: flex; align-items: center; gap: 8px; }
.lv-steps ol { margin: 10px 0 0; padding-left: 20px; }
.lv-last { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--good-soft); color: var(--good); font-size: 14px; }
.lv-last.bad { background: var(--bad-soft); color: var(--bad); }
.lv-last svg.i { flex: none; margin-top: 2px; }
.lv-plan details summary { cursor: pointer; }
.lv-plan ul, .lv-check ul, .lv details ul { margin: 6px 0 0; padding-left: 20px; }
.lv-hooks .grow { display: grid; gap: 2px; min-width: 0; }
.lv-q { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lv-q span { display: grid; justify-items: center; padding: 8px 4px; border-radius: 12px; background: var(--surface-2); font-size: 12.5px; color: var(--text-dim); text-align: center; }
.lv-q b { font-size: 20px; color: var(--text); }
.lv-q .bad { background: var(--bad-soft); color: var(--bad); } .lv-q .bad b { color: var(--bad); }
.lv-fail { align-items: flex-start; } .lv-fail .grow { min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.lv-err { color: var(--bad); }
.row > .num, .row > b.num { flex: none; }
.row.between.nowrap > span:first-child, .row.between.nowrap > .grow { min-width: 0; overflow-wrap: anywhere; }
/* TapRound round 3: testing mode, fixing / deleting / refunding an order, options made by hand */
.ou-testpill { padding: 1px 7px; font-size: 11.5px; vertical-align: 1px; }
.ou-testing { margin-bottom: 12px; }
.ou-testcard.on { border-color: var(--warn); }
.ou-delbtn { color: var(--bad); }
.ou-refways { display: grid; gap: 10px; }
.ou-radio { grid-template-columns: auto 1fr; }
.ou-radio input { margin: 4px 0 0; }
.ou-radio > span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.ou-radio > span svg.i { grid-row: span 2; font-size: 22px; color: var(--accent); }
.ou-radio > span b { font-size: 15.5px; }
.ou-radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ou-fxline.off { opacity: .6; }
.ou-fxline .grow { display: grid; min-width: 0; overflow-wrap: anywhere; } .ou-fxline .ou-lopts { margin: 0; }
.ou-fxadd summary { cursor: pointer; display: flex; align-items: center; gap: 6px; }
.ou-fxitem { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.ou-fxitem span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ou-optbox .ou-optrow { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--border); }
.ou-optrow .grow { min-width: 0; } .ou-optsay { overflow-wrap: anywhere; margin-top: 2px; }
.ou-optrow .ou-mv { justify-content: flex-end; }
.ou-gpick { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 14px; }
.ou-gpick .grow { display: grid; gap: 2px; min-width: 0; } .ou-gpick .pill { justify-self: start; }
.ou-gopt { gap: 6px; } .ou-gopt > input { flex: 1 1 auto; min-width: 0; }
.ou-gprice { flex: 0 0 96px; gap: 4px; } .ou-gprice input { width: 100%; }
.ou-gopt .btn { min-width: 36px; min-height: 40px; padding: 2px 8px; justify-content: center; flex: none; }
/* Hiring (hiring.js) */
.hr-h { margin: 0; font-size: 19px; }
.hr-app, .hr-job { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.hr-app .grow, .hr-job .grow { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.hr-app:focus-visible, .hr-job:focus-visible { outline: 2px solid var(--accent); }
.hr-msg { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.5; }
.hr-photo { max-width: 100%; max-height: 320px; border-radius: 14px; justify-self: start; }
.hr-seg { display: grid; grid-template-columns: repeat(4, 1fr); }
.hr-seg button { padding-left: 4px; padding-right: 4px; }
.hr-contact .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* clock photos to look at (clocking.js) */
.cp-card { display: grid; gap: 10px; }
.cp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cp-pair figure { margin: 0; display: grid; gap: 4px; }
.cp-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.cp-pair figcaption { font-size: 13px; color: var(--text-dim); }
.cp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hr-seg button { text-align: center; }
/* settings: grouped list (settingsnav.js) */
.set-nav { display: grid; gap: 18px; }
.set-group h4 { margin: 0 0 6px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.set-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; color: var(--text); text-decoration: none; transition: background .15s; }
.set-row + .set-row { border-top: 1px solid var(--border); }
.set-row:hover { background: var(--surface-2); }
.set-row:active { background: var(--surface-3); }
.set-row > svg.i:last-child { color: var(--text-dim); font-size: 16px; flex: none; }
.set-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.set-ic svg.i { font-size: 18px; }
.set-t { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.set-t b { font-weight: 700; }
.set-t small { color: var(--text-dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; text-decoration: none; margin: 0 0 4px -4px; padding: 6px 4px; min-height: 36px; }
.set-back svg.i { transform: scaleX(-1); }
.set-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.set-split .set-nav { position: sticky; top: 84px; gap: 14px; }
.set-split .set-row { min-height: 48px; padding: 9px 12px; }
.set-split .set-t small { display: none; }
.set-split .set-row.on { background: var(--accent-soft); }
.set-split .set-row.on b { color: var(--accent); }
.set-pane { min-width: 0; }
#main.set-wide { max-width: 1180px; }
.set-split .set-row > svg.i:last-child { display: none; }
/* colour pickers: a neat swatch, not a stretched bar */
input[type=color] { width: 64px; height: 44px; padding: 4px; border-radius: 12px; cursor: pointer; background: var(--surface); }
input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
input[type=color]::-webkit-color-swatch { border: 0; border-radius: 8px; }
input[type=color]::-moz-color-swatch { border: 0; border-radius: 8px; }
label.field input[type=color] { justify-self: start; }
@media (max-width: 640px) {
  table.t.cards, table.t.cards tbody { display: block; }
  table.t.cards thead { display: none; }
  table.t.cards tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--border); }
  table.t.cards td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 3px 0; border: 0; text-align: right; }
  table.t.cards td::before { content: attr(data-label); color: var(--text-dim); font-size: 12.5px; font-weight: 600; text-align: left; flex: none; }
  table.t.cards td:first-child { display: block; text-align: left; font-size: 15.5px; padding-bottom: 6px; }
  table.t.cards td:first-child::before, table.t.cards td:not([data-label])::before { content: none; }
  table.t.cards td:empty { display: none; }
}

/* Privacy Policy / Terms of Service links and the delete sheets (legal.js; the guest and jobs pages too) */
.legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin: 2px 0 0; font-size: 13px; color: var(--text-dim); }
.legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; padding: 4px 2px; }
.legal-links a:hover { color: var(--accent); }
.legal-agree { margin: 0; } .legal-agree a { color: inherit; text-decoration: underline; }
.lg-help { margin-top: 28px; }
.choice.lg-del { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.choice.lg-del .t-ic { color: var(--bad); }
.lg-btns .btn { justify-content: center; }
.lg-sure { border-bottom: 0; padding: 4px 2px; }
.lg-bye-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); font-size: 30px; }
#lgbye h2 { margin: 0; } #lgbye p { margin: 0; }
/* tips (Settings > Orders) and a tipped order on the board */
.ou-tipset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ou-tipset legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.ou-tipset > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ou-foot-sum { display: flex; flex-direction: column; min-width: 0; }
.ou-tip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--good); white-space: nowrap; }
.ou-tip svg.i { font-size: 14px; }
/* Settings > Your app: the logo as uploaded and without its background, side by side (the one in use outlined) */
.logo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.logo-pair figure { margin: 0; display: grid; gap: 6px; text-align: center; }
.logo-pair figcaption { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.logo-pair .lp-box { display: grid; place-items: center; height: 96px; padding: 10px; border-radius: 14px; border: 2px solid var(--border); background: var(--surface-2); }
.logo-pair .lp-clear { background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px; }
.logo-pair figure.on .lp-box { border-color: var(--accent); }
.logo-pair img { max-width: 100%; max-height: 72px; object-fit: contain; }
