/* Kentylo – premium theme "Tinte und Aprikose": flat colours, 3D shadows. Mobile first. Figtree (UI) + Geist (headings), self-hosted, OFL. Motion respects prefers-reduced-motion. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/figtree-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Geist", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ink: #141a33; --apricot: #ff7a45; --apricot-deep: #cf5428;
  --bg: #f2ece3; --card: #fff; --line: rgba(20, 26, 51, .09); --line2: rgba(20, 26, 51, .06); --text: #141a33; --muted: #4b5268; --soft: #f3ece2;
  --accent: #b23d12; --accent-2: #ff7a45; --accent-ink: #141a33; --accent-soft: #ffe2d4;
  --grad: #ff7a45;
  --brand: #0f766e; --brand-soft: #e6f3f1;
  --ok: #067647; --ok-soft: #e3f6ea; --warn: #b54708; --warn-soft: #fff3e3; --bad: #d1214a; --bad-soft: #fdecf1; --info: #1d5fd6; --info-soft: #e9f1ff;
  --r: 18px; --r-sm: 12px;
  --sh-card: 0 0 0 1px rgba(20,26,51,.05), 0 1px 2px rgba(20,26,51,.06), 0 6px 12px -4px rgba(20,26,51,.09), 0 22px 40px -18px rgba(20,26,51,.24), inset 0 1px 0 rgba(255,255,255,.9);
  --sh-hover: 0 0 0 1px rgba(207,84,40,.18), 0 2px 4px rgba(20,26,51,.07), 0 14px 28px -8px rgba(20,26,51,.18), 0 36px 64px -20px rgba(20,26,51,.34), inset 0 1px 0 #fff;
  --sh-btn: 0 4px 0 var(--apricot-deep), 0 10px 20px -6px rgba(207,84,40,.6), inset 0 1px 0 rgba(255,255,255,.35);
  --sh-lg: 0 30px 80px -20px rgba(20,26,51,.5), 0 0 0 1px rgba(20,26,51,.06);
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; scroll-padding-bottom: 84px; }
body { margin: 0; font: 15px/1.55 var(--font); letter-spacing: 0; color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background: var(--bg); }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: 27px; } h2 { font-size: 20px; } h3 { font-size: 16px; letter-spacing: -.01em; } h4 { font-size: 14px; }
p { margin: 0 0 .7em; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: rgba(207,84,40,.18); }
:focus-visible { outline: 3px solid rgba(207,84,40,.45); outline-offset: 2px; border-radius: 8px; }
h1[tabindex="-1"]:focus { outline: none; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.num, .kpi b, .totals, .time-tag, .slot { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; } .wrap { flex-wrap: wrap; } .gap { gap: 10px; } .gap-s { gap: 6px; } .end { justify-content: flex-end; } .between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 14px; } .mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
mark { background: #fff3c4; padding: 0 3px; border-radius: 4px; }

/* ---------- demo bar ---------- */
.demo-bar { position: sticky; top: 0; z-index: 40; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 7px 10px; background: rgba(11,18,34,.92); backdrop-filter: blur(12px) saturate(1.4); color: #c7cdd9; font-size: 12.5px; }
.demo-bar b { color: #fff; font-weight: 650; }
.demo-bar a, .demo-bar button { color: #fff; background: rgba(255,255,255,.1); border: 0; border-radius: 999px; padding: 3px 11px; text-decoration: none; cursor: pointer; font-size: 12.5px; transition: background .2s, transform .2s var(--spring); }
.demo-bar a:hover, .demo-bar button:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.demo-bar a.on { background: #fff; color: #141a33; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 17px; border-radius: 12px; border: 0; background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; color: var(--text); white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(20,26,51,.1), 0 1px 2px rgba(20,26,51,.06), 0 3px 8px -4px rgba(20,26,51,.12), inset 0 1px 0 #fff; transition: transform .25s var(--spring), box-shadow .25s var(--ease), background .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(20,26,51,.12), 0 6px 14px -6px rgba(20,26,51,.22), inset 0 1px 0 #fff; }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .ic { transition: transform .3s var(--spring); } .btn:hover .ic { transform: scale(1.12) rotate(-4deg); }
.btn.primary { background: var(--grad); color: var(--accent-ink); box-shadow: var(--sh-btn); }
.btn.primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 28px -8px rgba(207,84,40,.6), 0 4px 8px rgba(20,26,51,.12); filter: saturate(1.1) brightness(1.04); }
.btn.primary::after, .btn.brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn.primary:hover::after, .btn.brand:hover::after { transform: translateX(120%); }
.btn.brand { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 85%, #fff), var(--brand) 45%, color-mix(in srgb, var(--brand) 80%, #000)); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -1px 0 rgba(0,0,0,.15) inset, 0 10px 22px -8px color-mix(in srgb, var(--brand) 70%, transparent), 0 2px 4px rgba(20,26,51,.12); }
.btn.brand:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 16px 30px -10px color-mix(in srgb, var(--brand) 75%, transparent), 0 4px 8px rgba(20,26,51,.12); }
.btn.ghost { background: transparent; box-shadow: none; } .btn.ghost:hover { background: rgba(207,84,40,.07); box-shadow: none; color: var(--accent); }
.btn.danger { background: linear-gradient(135deg, #e5375f, #c21a43); color: #fff; box-shadow: 0 8px 18px -8px rgba(209,33,74,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.danger-ghost { color: var(--bad); background: transparent; box-shadow: none; } .btn.danger-ghost:hover { background: var(--bad-soft); box-shadow: none; }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 10px; }
.btn.block { width: 100%; } .btn.lg { min-height: 52px; font-size: 16px; border-radius: 14px; padding: 0 22px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; filter: grayscale(.3); }
.icon-btn { position: relative; overflow: hidden; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; color: var(--muted); transition: background .2s, color .2s, transform .25s var(--spring); }
.icon-btn:hover { background: rgba(207,84,40,.08); color: var(--accent); transform: scale(1.08); } .icon-btn:active { transform: scale(.92); }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .18; transform: scale(0); animation: ripple .6s var(--ease) forwards; z-index: 0; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- cards ---------- */
.card { position: relative; background: linear-gradient(180deg, #fff 0%, #fffdfa 100%); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-card); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card:hover { box-shadow: 0 0 0 1px rgba(20,26,51,.06), 0 2px 4px rgba(20,26,51,.05), 0 10px 20px -6px rgba(20,26,51,.1), 0 30px 56px -22px rgba(20,26,51,.24), inset 0 1px 0 #fff; }
a.card, .card.lift { cursor: pointer; } a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
.card.flat { box-shadow: none; } .card.pad-0 { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-h h2, .card-h h3 { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(20,26,51,.05); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.info { background: var(--info-soft); color: var(--info); } .pill.acc { background: var(--accent-soft); color: var(--accent); }
.pill.info::before, .pill.warn::before { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: linear-gradient(135deg, #f0436b, #d1214a); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; box-shadow: 0 0 0 0 rgba(209,33,74,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(209,33,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(209,33,74,0); } 100% { box-shadow: 0 0 0 0 rgba(209,33,74,0); } }
.avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #ffe2d4, #ffd3bd); color: var(--accent); font-weight: 700; font-size: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(207,84,40,.12), 0 4px 10px -4px rgba(207,84,40,.3); transition: transform .3s var(--spring); }
.li:hover .avatar, .req:hover .avatar { transform: scale(1.08) rotate(-3deg); }
.empty { text-align: center; padding: 38px 16px; color: var(--muted); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 16px 0; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--info-soft); color: #173a7a; font-size: 13.5px; box-shadow: inset 0 0 0 1px rgba(29,95,214,.1); }
.note.warn { background: var(--warn-soft); color: #7a2e0e; box-shadow: inset 0 0 0 1px rgba(181,71,8,.12); } .note.ok { background: var(--ok-soft); color: #05603a; box-shadow: inset 0 0 0 1px rgba(6,118,71,.12); }
.draft-note { display: flex; gap: 8px; align-items: center; padding: 9px 13px; border-radius: 11px; background: var(--warn-soft); color: #7a2e0e; font-size: 13px; }

/* ---------- forms ---------- */
label.f { display: block; } .f > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: #141a33; }
.f small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; font-weight: 400; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 11px 13px; border: 0; border-radius: 12px; background: #fff; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(20,26,51,.14), 0 1px 2px rgba(20,26,51,.04); transition: box-shadow .2s var(--ease), background .2s; }
.input:hover { box-shadow: inset 0 0 0 1px rgba(207,84,40,.35), 0 1px 2px rgba(20,26,51,.04); }
.input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(207,84,40,.14); }
textarea.input { min-height: 92px; resize: vertical; }
.grid2 { display: grid; gap: 14px; } .grid3 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; cursor: pointer; transition: transform .2s var(--spring); } .check input:active { transform: scale(.85); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; overflow: hidden; border: 0; background: #fff; border-radius: 999px; padding: 8px 15px; font-size: 14px; cursor: pointer; font-weight: 550; box-shadow: inset 0 0 0 1px rgba(20,26,51,.14), 0 1px 2px rgba(20,26,51,.05); transition: transform .25s var(--spring), box-shadow .2s, background .2s, color .2s; }
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(207,84,40,.45), 0 6px 14px -6px rgba(207,84,40,.35); color: var(--accent); }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(207,84,40,.6), inset 0 1px 0 rgba(255,255,255,.25); animation: pop .35s var(--spring); }
.public .chip.on { background: var(--brand); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.public .chip:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 60%, transparent), 0 6px 14px -6px color-mix(in srgb, var(--brand) 40%, transparent); color: var(--brand); }
.public .chip.on:hover { color: #fff; }
@keyframes pop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.switch { position: relative; width: 46px; height: 27px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; position: absolute; z-index: 1; }
.switch i { position: absolute; inset: 0; background: #d5d9e2; border-radius: 999px; transition: background .25s; box-shadow: inset 0 1px 2px rgba(20,26,51,.15); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: left .3s var(--spring), width .2s; box-shadow: 0 2px 4px rgba(20,26,51,.25); }
.switch input:checked + i { background: var(--grad); } .switch input:checked + i::after { left: 22px; }
.switch input:active + i::after { width: 25px; }
.seg { display: inline-flex; background: rgba(20,26,51,.06); border-radius: 13px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 8px 15px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--muted); transition: background .25s, color .2s, box-shadow .25s, transform .2s var(--spring); }
.seg button:hover { color: var(--text); } .seg button:active { transform: scale(.96); }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(20,26,51,.1), 0 4px 10px -4px rgba(20,26,51,.18); }

/* ---------- owner shell ---------- */
.shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 34px); }
.main, .cols > *, .stack > * { min-width: 0; }
.side { display: none; }
.main { padding: 20px 16px 104px; max-width: 1200px; width: 100%; margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.top h1 { margin: 0; }
.tabbar { position: fixed; bottom: 10px; left: 10px; right: 10px; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(1.6); border-radius: 22px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom) / 2); box-shadow: 0 0 0 1px rgba(20,26,51,.06), 0 18px 40px -12px rgba(20,26,51,.35); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 5px 4px; position: relative; border: 0; background: none; cursor: pointer; border-radius: 14px; transition: color .2s, transform .25s var(--spring); }
.tabbar a:active, .tabbar button:active { transform: scale(.9); }
.tabbar a.on { color: var(--accent); } .tabbar a.on .ic { filter: drop-shadow(0 4px 6px rgba(207,84,40,.45)); transform: translateY(-1px); }
.tabbar .ic { width: 22px; height: 22px; transition: transform .3s var(--spring); }
.tabbar .badge { position: absolute; top: 0; left: 55%; transform: scale(.85); }
@media (min-width: 900px) {
  .shell { grid-template-columns: 256px minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 34px; height: calc(100vh - 34px); padding: 20px 14px; background: rgba(255,255,255,.72); backdrop-filter: blur(16px); box-shadow: 1px 0 0 var(--line), 12px 0 40px -30px rgba(20,26,51,.25); }
  .main { padding: 32px 36px 56px; }
  .tabbar { display: none; }
}
.brandmark { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; padding: 4px 10px 20px; letter-spacing: -.035em; }
.brandmark i { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 16px; box-shadow: 0 8px 18px -6px rgba(207,84,40,.6), inset 0 1px 0 rgba(255,255,255,.35); transform: perspective(200px) rotateY(-12deg); transition: transform .5s var(--spring); }
.brandmark:hover i { transform: perspective(200px) rotateY(12deg) scale(1.06); }
/* ---------- real mode: no demo bar on top ---------- */
body.mode-server .shell { min-height: 100vh; } body.mode-server .public { min-height: 100vh; }
@media (min-width: 900px) { body.mode-server .side { top: 0; height: 100vh; } }
/* ---------- real mode: login / sign-up ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; justify-items: center; padding: 24px 16px;
  background: radial-gradient(700px 420px at 90% 0%, rgba(207,84,40,.16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(207,84,40,.14), transparent 60%), var(--bg); }
.auth-side { display: none; }
.auth-card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 26px; padding: 34px 28px 26px; box-shadow: var(--sh-card); animation: zoomin .5s var(--spring); }
.auth-card h1 { font-size: 26px; margin: 6px 0 6px; padding-right: 76px; }   /* a long title never runs under the DE/FR switch */ .auth-card > p.muted { margin-bottom: 20px; }
.auth-lang { position: absolute; top: 16px; right: 16px; display: flex; gap: 4px; } .auth-lang button { border: 0; background: var(--soft); border-radius: 8px; padding: 4px 9px; font-size: 12px; font-weight: 650; cursor: pointer; color: var(--muted); } .auth-lang button.on { background: var(--accent); color: #fff; }
.auth-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); } .auth-foot a { font-weight: 600; text-decoration: none; }
.auth-legal { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); } .auth-legal a { color: inherit; }   /* privacy, terms and legal notice on every login page */
@media (min-width: 960px) { .auth-wrap { grid-template-columns: 1fr 1fr; padding: 0; } .auth-card { justify-self: center; }
  .auth-side { display: flex; flex-direction: column; justify-content: center; align-self: stretch; justify-self: stretch; min-height: 100vh; padding: 64px 64px 64px 80px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(500px 300px at 90% 10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(150deg, #5b52f0, #4f46e5 45%, #6d28d9); }
  .auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -180px; border-radius: 50%; background: rgba(255,255,255,.07); }
  .auth-side img { width: auto; height: 40px; margin-bottom: 42px; } .auth-side h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.035em; max-width: 440px; color: #fff; }
  .auth-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; font-size: 16px; } .auth-side li { display: flex; gap: 12px; align-items: center; opacity: .95; }
  .auth-side li .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.18); } }
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
.legal-doc table.tbl td { font-size: 13px; }
.loader { display: flex; gap: 8px; padding: 40px; } .loader i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1s ease-in-out infinite; } .loader i:nth-child(2) { animation-delay: .15s; } .loader i:nth-child(3) { animation-delay: .3s; }
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; margin-bottom: 14px; background: var(--accent-soft); color: #312e81; font-size: 14px; font-weight: 550; box-shadow: inset 0 0 0 1px rgba(207,84,40,.12); animation: rise .4s var(--ease); }
.banner.warn { background: var(--warn-soft); color: #7a2e0e; box-shadow: inset 0 0 0 1px rgba(181,71,8,.15); } .banner.bad { background: var(--bad-soft); color: #8a1538; box-shadow: inset 0 0 0 1px rgba(209,33,74,.15); }
@media (max-width: 560px) { .banner { flex-wrap: wrap; } .banner .btn { width: 100%; } }
/* getting-started checklist */
.setup .bar { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; margin: 6px 0 14px; } .setup .bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width .8s var(--ease); }
.setup a.step { display: flex; align-items: center; gap: 12px; padding: 11px 8px; margin: 0 -8px; border-radius: 12px; color: inherit; text-decoration: none; font-weight: 550; transition: background .2s, transform .25s var(--spring); }
.setup a.step:hover { background: rgba(207,84,40,.05); transform: translateX(3px); }
.setup .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 2px #d5d9e2; color: transparent; }
.setup .done .tick { background: var(--ok); color: #fff; box-shadow: none; } .setup .done .grow { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93,102,121,.4); }
.setup .tick .ic { width: 15px; height: 15px; }
.brandmark img { display: block; height: 30px; width: auto; transition: transform .4s var(--spring), opacity .2s; } a.brandmark { text-decoration: none; } a.brandmark:hover img { transform: translateX(2px) scale(1.03); opacity: .85; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #334155; text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s, transform .25s var(--spring); }
.nav a .ic { transition: transform .3s var(--spring); }
.nav a:hover { background: rgba(207,84,40,.06); color: var(--accent); transform: translateX(3px); } .nav a:hover .ic { transform: scale(1.12); }
.nav a.on { background: linear-gradient(90deg, rgba(207,84,40,.12), rgba(207,84,40,.04)); color: var(--accent); }
.nav a.on::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); box-shadow: 0 0 12px rgba(207,84,40,.6); }
.nav a .badge { margin-left: auto; }
.side .biz { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 11px; border-radius: 15px; background: #fff; box-shadow: var(--sh-card); }

/* ---------- home: colored header + overlapping summary card ---------- */
.hero { position: relative; overflow: hidden; margin: -20px -16px 0; padding: 26px 20px 92px; text-align: center; color: #fff; border-radius: 0 0 32px 32px;
  background: radial-gradient(500px 220px at 85% -10%, rgba(255,255,255,.22), transparent 60%), linear-gradient(140deg, #5b52f0 0%, #4f46e5 45%, #6d28d9 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 240px; height: 240px; right: -90px; bottom: -120px; background: rgba(255,255,255,.08); }
.hero::after { width: 120px; height: 120px; left: -40px; top: -40px; background: rgba(255,255,255,.07); }
.hero > * { position: relative; z-index: 1; }
.hero-logo { display: block; height: 24px; width: auto; margin: 0 auto 10px; }
.hero-who { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 550; opacity: .92; }
.hero-who .ic { width: 15px; height: 15px; }
.hero h1 { margin: 14px 0 0; font-size: 30px; color: #fff; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.btn.glass { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn.glass:hover { background: rgba(255,255,255,.26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 10px 20px -10px rgba(0,0,0,.35); }
@media (max-width: 560px) { .hero-actions { display: none; } }
@media (min-width: 900px) { .hero { margin: 0; border-radius: 28px; padding: 30px 32px 100px; text-align: left; } .hero-logo { display: none; } .hero h1 { font-size: 34px; margin-top: 6px; }
  .hero-actions { position: absolute; right: 32px; top: 30px; margin: 0; } }
.summary { position: relative; z-index: 2; margin: -70px 6px 20px; padding: 22px 20px 0; border-radius: 26px; }
@media (min-width: 900px) { .summary { margin: -70px 28px 22px; } }
.sum-head { text-align: center; margin-bottom: 10px; } .sum-head small { display: block; color: var(--muted); font-size: 13px; } .sum-head b { font-size: 21px; letter-spacing: -.03em; }
.srows { display: grid; } @media (min-width: 900px) { .srows { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.srow { display: flex; align-items: center; gap: 14px; padding: 15px 8px; margin: 0 -8px; border-top: 1px solid var(--line2); border-radius: 14px; color: inherit; text-decoration: none; font-weight: 550; transition: background .2s, transform .25s var(--spring); }
@media (min-width: 900px) { .srow:nth-child(-n+2) { border-top: 0; } } @media (max-width: 899px) { .srow:first-child { border-top: 0; } }
.srow:hover { background: rgba(207,84,40,.05); transform: translateX(3px); border-top-color: transparent; }
.srow .sic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; transition: transform .35s var(--spring); }
.srow:hover .sic { transform: rotate(-8deg) scale(1.1); }
.srow b { font-size: 16px; } .srow > .ic:last-child { color: var(--accent); transition: transform .3s var(--spring); } .srow:hover > .ic:last-child { transform: translateX(4px); }
.sum-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px -20px 0; padding: 16px 20px 18px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #fffaf4, #fdf2e8); border-radius: 0 0 26px 26px; }
.sum-foot b { display: block; font-size: 15px; } .sum-foot small { color: var(--muted); font-size: 12.5px; }
.sum-foot .big { font-size: 28px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; } .sum-foot > div { flex: 1; min-width: 0; }
@media (max-width: 420px) { .sum-foot .big { font-size: 22px; } .sum-foot b { font-size: 14px; } }
a.li > .ic:last-child { color: var(--accent); }

/* ---------- illustration ---------- */
.illo { display: block; width: 200px; max-width: 70%; height: auto; margin: 0 auto 10px; overflow: visible; }
.illo .confetti circle { animation: drift 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.illo .confetti circle:nth-child(2n) { animation-duration: 6.5s; animation-direction: reverse; } .illo .confetti circle:nth-child(3n) { animation-duration: 4.2s; }
@keyframes drift { 50% { transform: translateY(-6px) scale(1.15); } }
.illo .badge { transform-box: fill-box; transform-origin: center; animation: pop .7s var(--spring) both .15s; }
.illo.pop { animation: rise .6s var(--ease) both; }
.empty .illo + b { display: block; color: var(--text); font-size: 17px; }

/* ---------- tab bar: round accent button ---------- */
.tabbar .fab { align-self: center; justify-self: center; width: 54px; height: 54px; padding: 0; margin-top: -26px; border-radius: 50%; color: #fff; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 14px 24px -8px rgba(207,84,40,.7); }
.tabbar .fab .ic { width: 26px; height: 26px; } .tabbar .fab:hover .ic { transform: rotate(90deg); }

/* ---------- home (legacy KPI tiles, still used on invoices) ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 18px; overflow: hidden; } .kpi b { display: block; font-size: 30px; letter-spacing: -.04em; line-height: 1.1; margin-top: 12px; font-weight: 750; }
.kpi span { color: var(--muted); font-size: 13px; font-weight: 500; }
a.kpi { text-decoration: none; color: inherit; }
.kpi .kic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 20px -8px rgba(207,84,40,.6), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .4s var(--spring); }
.kpi:hover .kic { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.kpi.k2 .kic { background: linear-gradient(135deg, #0ea5e9, #2563eb); box-shadow: 0 10px 20px -8px rgba(37,99,235,.6); }
.kpi.k3 .kic { background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 10px 20px -8px rgba(234,88,12,.55); }
.kpi.k4 .kic { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 10px 20px -8px rgba(4,120,87,.55); }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(207,84,40,.10), transparent 70%); transition: transform .6s var(--ease); }
.kpi:hover::after { transform: scale(1.6); }
.cols { display: grid; gap: 18px; } @media (min-width: 1000px) { .cols { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.list { list-style: none; margin: 0; padding: 0; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 10px; margin: 0 -10px; border-top: 1px solid var(--line2); text-decoration: none; color: inherit; border-radius: 12px; transition: background .2s, transform .25s var(--spring); }
.list .li:first-child { border-top: 0; }
button.li { width: calc(100% + 20px); }   /* a button row fills the line like a link row (buttons shrink to their content otherwise) */
a.li:hover, button.li:hover { background: rgba(207,84,40,.045); transform: translateX(3px); border-top-color: transparent; }
a.li .ic:last-child, .req .ic:last-child { transition: transform .3s var(--spring); } a.li:hover .ic:last-child { transform: translateX(4px); }
a.li:hover .li-t { color: var(--accent); }
.li-t { font-weight: 620; transition: color .2s; } .li-s { color: var(--muted); font-size: 13px; }
.time-tag { width: 64px; flex: none; font-weight: 700; font-size: 14px; } .time-tag small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.linkbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 6px 6px 13px; border-radius: 13px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 4px rgba(20,26,51,.04); }
.linkbox code { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-family: ui-monospace, "Cascadia Code", Menlo, monospace; }

/* ---------- requests ---------- */
.req { display: flex; gap: 14px; padding: 16px 18px; text-decoration: none; color: inherit; border-top: 1px solid var(--line2); transition: background .2s, transform .25s var(--spring); }
.req:first-child { border-top: 0; } .req:hover { background: linear-gradient(90deg, rgba(207,84,40,.05), transparent); }
.req .thumbs { display: flex; gap: 0; } .req .thumbs img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 4px 10px -4px rgba(20,26,51,.35); transition: transform .35s var(--spring); }
.req .thumbs img + img { margin-left: -14px; transform: rotate(6deg); } .req:hover .thumbs img { transform: rotate(-4deg) translateY(-2px); } .req:hover .thumbs img + img { transform: rotate(10deg) translateX(10px); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photos img, .photos button { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 0; padding: 0; cursor: zoom-in; display: block; background: var(--soft); transition: transform .35s var(--spring), box-shadow .3s; }
.photos button:hover { transform: translateY(-3px) scale(1.03) rotate(-1deg); box-shadow: 0 16px 30px -12px rgba(20,26,51,.45); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 550; overflow-wrap: break-word; min-width: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dt { font-size: 13px; } .kv dd { margin-bottom: 10px; } }
.timeline { display: flex; margin: 4px 0 2px; }
.timeline div { flex: 1; text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 24px; }
.timeline div::before { content: ""; position: absolute; top: 5px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: #d5d9e2; transform: translateX(-50%); z-index: 1; box-shadow: 0 0 0 4px #fff; transition: background .4s, box-shadow .4s; }
.timeline div::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #d5d9e2; }
.timeline div:first-child::after { display: none; }
.timeline div.on { color: var(--text); font-weight: 650; } .timeline div.on::before { background: var(--brand); box-shadow: 0 0 0 4px #fff, 0 0 0 7px color-mix(in srgb, var(--brand) 20%, transparent); } .timeline div.on::after { background: var(--brand); }

/* ---------- quote / invoice builder ---------- */
.qitems { width: 100%; border-collapse: collapse; }
.qitems th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 0 6px 6px; }
.qitems td { padding: 4px 6px; vertical-align: top; } .qitems td.num { width: 92px; } .qitems td.tot { width: 112px; text-align: right; padding-top: 15px; font-weight: 650; white-space: nowrap; }
.qitems tbody tr { animation: rowin .35s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } }
.totals { margin-left: auto; max-width: 320px; } .totals .row { justify-content: space-between; padding: 4px 0; } .totals .grand { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 9px; margin-top: 5px; letter-spacing: -.02em; }
@media (max-width: 640px) {
  .qitems thead { display: none; } .qitems tr { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line2); }
  .qitems td { padding: 0; } .qitems td.desc { grid-column: 1 / -1; } .qitems td.num { width: auto; } .qitems td.tot { padding-top: 12px; width: auto; }
}
.split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); } .split > * { min-width: 0; } @media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } .split > .preview-col { position: sticky; top: 56px; } }
.preview-col .paper-wrap { max-height: calc(100vh - 140px); overflow: auto; padding: 6px 6px 24px; margin: -6px; border-radius: 16px; }
.preview-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.preview-label .live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); } .preview-label .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse-ok 1.8s infinite; }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(6,118,71,.5); } 70% { box-shadow: 0 0 0 7px rgba(6,118,71,0); } 100% { box-shadow: none; } }
.fab-preview { position: fixed; right: 16px; bottom: 92px; z-index: 31; } @media (min-width: 1100px) { .fab-preview { display: none; } }
.fab-preview .btn { border-radius: 999px; box-shadow: 0 16px 30px -10px rgba(207,84,40,.7), inset 0 1px 0 rgba(255,255,255,.3); }

/* ---------- paper document (quote / invoice preview) ---------- */
.paper { position: relative; background: #fff; color: #141a33; border-radius: 6px; padding: 38px 40px 30px; font-size: 13px; line-height: 1.55;
  box-shadow: 0 0 0 1px rgba(20,26,51,.06), 0 2px 4px rgba(20,26,51,.04), 0 24px 48px -20px rgba(20,26,51,.35), 0 50px 90px -40px rgba(207,84,40,.25);
  transform: perspective(1600px) rotateX(1.2deg); transform-origin: top center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.paper:hover { transform: perspective(1600px) rotateX(0deg) translateY(-2px); }
.paper::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -14px; height: 20px; background: radial-gradient(ellipse at center, rgba(20,26,51,.25), transparent 70%); filter: blur(6px); z-index: -1; }
.paper .ph { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.paper .plogo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; background: var(--doc, #0f766e); box-shadow: 0 8px 18px -8px var(--doc, #0f766e); }
.paper .pfrom { text-align: right; font-size: 12px; color: #475467; } .paper .pfrom b { color: #141a33; font-size: 13.5px; }
.paper .ptitle { font-size: 26px; font-weight: 800; letter-spacing: -.035em; margin: 0 0 2px; color: var(--doc, #0f766e); text-transform: uppercase; }
.paper .pmeta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 22px; }
.paper .pto small, .paper .pdet small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; color: #98a2b3; font-weight: 700; margin-bottom: 4px; }
.paper .pdet dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; } .paper .pdet dt { color: #667085; } .paper .pdet dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.paper .pmsg { padding: 12px 14px; background: #f8f9fc; border-radius: 10px; border-left: 3px solid var(--doc, #0f766e); margin-bottom: 18px; }
.paper table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 13px; }
.paper th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: #98a2b3; padding: 8px 0; border-bottom: 1.5px solid #141a33; }
.paper td { padding: 10px 0; border-bottom: 1px solid #eef0f4; vertical-align: top; } .paper .r { text-align: right; padding-left: 12px; white-space: nowrap; }
.paper .ptot { margin-left: auto; width: min(100%, 280px); } .paper .ptot .row { justify-content: space-between; padding: 3px 0; }
.paper .ptot .grand { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--doc, #0f766e); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.paper .pfoot { margin-top: 24px; padding-top: 14px; border-top: 1px solid #eef0f4; font-size: 11.5px; color: #475467; } .paper .pfoot p { margin: 0 0 6px; }
.paper .pbank { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 10px 0; padding: 10px 12px; background: #f8f9fc; border-radius: 10px; font-size: 12px; } .paper .pbank dt { color: #667085; } .paper .pbank dd { margin: 0; font-weight: 600; font-family: ui-monospace, Menlo, monospace; }
.paper .ptot-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; } .paper .ptot-wrap > div:first-child { flex: 1; display: flex; justify-content: center; }
.paper .stamp { display: inline-block; padding: 6px 16px; border: 3px solid currentColor; border-radius: 10px; font-weight: 900; font-size: 22px; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-12deg); opacity: .8; animation: stamp .5s var(--spring) both .2s; }
.paper .stamp.paid { color: #067647; } .paper .stamp.draft { color: #98a2b3; } .paper .stamp.void { color: #d1214a; }
@keyframes stamp { from { transform: rotate(-12deg) scale(2.2); opacity: 0; } }
@media screen and (max-width: 560px) { .paper .ph { flex-direction: column; } .paper .pfrom { text-align: left; }
  .paper th:nth-child(2), .paper td:nth-child(2), .paper th:nth-child(3), .paper td:nth-child(3) { display: none; } .modal.doc { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 560px) { .paper { padding: 22px 18px; font-size: 12.5px; transform: none; } .paper .pmeta { grid-template-columns: 1fr; } .paper .ptitle { font-size: 21px; } .paper .stamp { font-size: 15px; padding: 4px 10px; } .paper .ptot-wrap { flex-direction: column-reverse; align-items: stretch; } }
.modal.doc { max-width: 860px; background: linear-gradient(180deg, #f3ede4, #ebe3d8); }

/* ---------- calendar ---------- */
.week { display: none; } .agenda { display: block; }
@media (min-width: 900px) { .week { display: grid; } .agenda { display: none; } }
.week { grid-template-columns: 54px repeat(7, 1fr); border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--sh-card); }
.week .wh { padding: 12px 6px; text-align: center; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line2); font-size: 13px; color: var(--muted); font-weight: 550; }
.week .wh b { display: block; font-size: 19px; color: var(--text); } .week .wh.today b { color: #fff; background: var(--grad); border-radius: 50%; width: 34px; height: 34px; line-height: 34px; margin: 2px auto 0; box-shadow: 0 8px 16px -6px rgba(207,84,40,.6); }
.week .hours { position: relative; } .week .hours span { position: absolute; right: 7px; font-size: 11px; color: var(--muted); transform: translateY(-50%); }
.week .col { position: relative; border-left: 1px solid var(--line2); background-image: linear-gradient(var(--line2) 1px, transparent 1px); background-size: 100% 48px; transition: background-color .2s; }
.week .col:hover { background-color: #fbfbff; } .week .col.closed { background-color: #f7f8fb; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 5px 7px; font-size: 12px; line-height: 1.25; overflow: hidden; cursor: pointer; border: 0; text-align: left; background: linear-gradient(135deg, #ffe2d4, #ffd9c7); color: #2d2a8c; box-shadow: inset 3px 0 0 var(--accent), 0 2px 6px -2px rgba(207,84,40,.25); transition: transform .25s var(--spring), box-shadow .25s; animation: evin .45s var(--ease) both; }
.ev:hover { transform: translateY(-2px) scale(1.02); z-index: 3; box-shadow: inset 3px 0 0 var(--accent), 0 14px 26px -10px rgba(207,84,40,.55); }
@keyframes evin { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.ev b { display: block; font-size: 12px; } .ev.pending { background: linear-gradient(135deg, #fff6e8, #ffedd5); color: #7a2e0e; box-shadow: inset 3px 0 0 var(--warn), 0 2px 6px -2px rgba(181,71,8,.2); }
.ev.completed { background: #f2f4f7; color: #475467; box-shadow: inset 3px 0 0 #98a2b3; } .ev.block { background: repeating-linear-gradient(45deg, #f4f5f8, #f4f5f8 6px, #eceef3 6px, #eceef3 12px); color: #475467; box-shadow: inset 3px 0 0 #98a2b3; }
.ev.quote { background: linear-gradient(135deg, #e6f7ee, #d3f2e1); color: #05603a; box-shadow: inset 3px 0 0 var(--ok), 0 2px 6px -2px rgba(6,118,71,.25); }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--bad); z-index: 2; box-shadow: 0 0 8px rgba(209,33,74,.6); } .now-line::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: pulse 2s infinite; }
.daystrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: -4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.daystrip::-webkit-scrollbar { display: none; }
.day { flex: none; width: 60px; padding: 9px 0; border-radius: 16px; border: 0; background: #fff; text-align: center; cursor: pointer; scroll-snap-align: start; box-shadow: 0 0 0 1px rgba(20,26,51,.07), 0 4px 10px -6px rgba(20,26,51,.2); transition: transform .25s var(--spring), box-shadow .25s, background .2s; }
.day:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(207,84,40,.25), 0 12px 20px -10px rgba(207,84,40,.45); }
.day small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; font-weight: 650; letter-spacing: .04em; } .day b { display: block; font-size: 19px; }
.day i { display: block; width: 6px; height: 6px; border-radius: 50%; margin: 3px auto 0; background: transparent; }
.day.has i { background: var(--accent); } .day.on { background: var(--grad); color: #fff; box-shadow: 0 12px 22px -10px rgba(207,84,40,.7); transform: translateY(-2px); } .day.on small { color: #5a2a14; } .day.on.has i { background: #fff; }
.day:disabled { opacity: .38; cursor: default; box-shadow: 0 0 0 1px rgba(20,26,51,.05); }
.public .day.has i { background: var(--brand); } .public .day.on { background: var(--brand); box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--brand) 70%, transparent); } .public .day.on small { color: #d5ece8; } .public .day.on.has i { background: #fff; }
.public .day:hover:not(:disabled) { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent), 0 12px 20px -10px color-mix(in srgb, var(--brand) 50%, transparent); }

/* ---------- slots ---------- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 9px; }
.slot { position: relative; overflow: hidden; min-height: 46px; border-radius: 12px; border: 0; background: #fff; font-weight: 650; cursor: pointer; font-size: 14.5px; box-shadow: inset 0 0 0 1px rgba(20,26,51,.14), 0 2px 4px -2px rgba(20,26,51,.1); transition: transform .25s var(--spring), box-shadow .2s, color .2s, background .2s; animation: evin .4s var(--ease) both; }
.slot:nth-child(2) { animation-delay: .02s; } .slot:nth-child(3) { animation-delay: .04s; } .slot:nth-child(4) { animation-delay: .06s; } .slot:nth-child(5) { animation-delay: .08s; } .slot:nth-child(n+6) { animation-delay: .1s; }
.slot:hover { transform: translateY(-2px); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand), 0 10px 18px -10px color-mix(in srgb, var(--brand) 60%, transparent); }
.slot.on { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); animation: pop .35s var(--spring); }
.owner .slot:hover { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 18px -10px rgba(207,84,40,.5); } .owner .slot.on { background: var(--grad); color: #fff; }
.slot-group h4 { font-size: 11.5px; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; margin: 16px 0 9px; }

/* ---------- services, share, tables, settings ---------- */
.svc { display: flex; gap: 14px; align-items: center; padding: 15px 18px; border-top: 1px solid var(--line2); transition: background .2s, padding .25s var(--ease); }
.svc:first-child { border-top: 0; } .svc:hover { background: linear-gradient(90deg, rgba(207,84,40,.05), transparent); padding-left: 22px; }
.qrow { display: grid; grid-template-columns: 1fr 160px auto; gap: 8px; align-items: start; padding: 12px; border-radius: 14px; background: #fafbff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .25s var(--spring); animation: rowin .35s var(--ease) both; }
.qrow:hover { box-shadow: inset 0 0 0 1px rgba(207,84,40,.25), 0 8px 18px -12px rgba(207,84,40,.4); }
.qrow + .qrow { margin-top: 9px; }
@media (max-width: 640px) { .qrow { grid-template-columns: 1fr; } }
.qr-box { display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 0%, #fff, #faf5ee); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.qr-box canvas { width: 200px; height: 200px; image-rendering: pixelated; border-radius: 12px; box-shadow: 0 18px 36px -16px rgba(20,26,51,.45); transition: transform .5s var(--spring); }
.qr-box:hover canvas { transform: perspective(600px) rotateY(-10deg) rotateX(6deg) scale(1.04); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbfe; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line2); vertical-align: middle; } .tbl tbody tr { transition: background .2s; } .tbl tbody tr:hover { background: rgba(207,84,40,.035); }
.tbl tr:last-child td { border-bottom: 0; } .tbl tr[data-act] { cursor: pointer; }
.tbl tr[data-act] > td:first-child > b { white-space: nowrap; }   /* document numbers (RE-2026-0002) never break into pieces */
.card.pad-0:has(> .tbl) { overflow-x: auto; }   /* a table that is still too wide on a phone scrolls inside its card instead of being cut */
@media (max-width: 700px) { .tbl .hide-m { display: none; } .tbl th, .tbl td { padding-left: 10px; padding-right: 10px; } .tbl th:first-child, .tbl td:first-child { padding-left: 14px; } .tbl th:last-child, .tbl td:last-child { padding-right: 14px; } }
.set-nav { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; scrollbar-width: none; padding: 4px; margin-left: -4px; }
.hours-row { display: grid; grid-template-columns: 90px 46px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line2); }
.hours-row .times { display: flex; gap: 8px; align-items: center; } .hours-row input[type=time] { min-height: 40px; padding: 6px 8px; }
.score { display: flex; align-items: center; gap: 16px; }
.ring { --p: 0; width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(var(--ok) calc(var(--p) * 1%), #e5e7eb 0); display: grid; place-items: center; flex: none; box-shadow: 0 10px 22px -10px rgba(6,118,71,.5); animation: ringin 1s var(--ease) both; }
@keyframes ringin { from { transform: rotate(-90deg) scale(.8); opacity: 0; } }
.ring b { width: 55px; height: 55px; background: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 15px; box-shadow: inset 0 2px 4px rgba(20,26,51,.08); }
.checklist li { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; } .checklist .ic { margin-top: 2px; }
.checklist .ok { color: var(--ok); } .checklist .no { color: var(--warn); }

/* ---------- modal + toast ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(11,18,34,.42); backdrop-filter: blur(6px) saturate(1.2); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s var(--ease); }
.modal { position: relative; background: #fff; width: 100%; max-height: 92vh; overflow: auto; border-radius: 26px 26px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); box-shadow: var(--sh-lg); animation: sheet .4s var(--spring); }
.modal h2 { padding-right: 36px; } .modal-x { position: absolute; top: 14px; right: 12px; z-index: 3; }
@media (min-width: 640px) { .modal-wrap { align-items: center; padding: 20px; } .modal { max-width: 540px; border-radius: 24px; padding: 28px; animation: zoomin .4s var(--spring); } .modal.wide { max-width: 780px; } .modal.doc { max-width: 880px; } }
.modal img.full { width: 100%; border-radius: 14px; }
@keyframes fade { from { opacity: 0; } } @keyframes sheet { from { transform: translateY(40px); opacity: .4; } } @keyframes zoomin { from { transform: scale(.92) translateY(14px); opacity: 0; } }
#toasts { position: fixed; z-index: 80; left: 50%; bottom: 96px; transform: translateX(-50%); display: grid; gap: 8px; width: max-content; max-width: 92vw; }
.toast { display: flex; align-items: center; gap: 9px; background: rgba(11,18,34,.92); backdrop-filter: blur(10px); color: #fff; padding: 11px 17px; border-radius: 14px; font-size: 14px; font-weight: 550; box-shadow: 0 20px 40px -14px rgba(11,18,34,.6); transition: .3s var(--ease); animation: toastin .45s var(--spring); }
.toast::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #22c55e; font-size: 12px; font-weight: 800; }
.toast.error { background: linear-gradient(135deg, #e5375f, #c21a43); } .toast.error::before { content: "!"; background: rgba(255,255,255,.25); }
.toast.out { opacity: 0; transform: translateY(10px) scale(.96); }
/* "Undo" after a delete: a plain underlined word in the message, with a finger-sized tap area */
.toast-undo { margin: -8px -6px -8px 4px; padding: 8px 6px; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes toastin { from { opacity: 0; transform: translateY(18px) scale(.9); } }
@media (min-width: 900px) { #toasts { bottom: 28px; } }

/* ---------- page entrance (only on route change: #app.enter) ---------- */
.enter .main > *, .enter .pub-wrap > *, .enter .pub-hero .in { animation: rise .55s var(--ease) both; }
.enter .main > :nth-child(2), .enter .pub-wrap > :nth-child(2) { animation-delay: .05s; } .enter .main > :nth-child(3), .enter .pub-wrap > :nth-child(3) { animation-delay: .1s; }
.enter .main > :nth-child(4), .enter .pub-wrap > :nth-child(4) { animation-delay: .15s; } .enter .main > :nth-child(n+5), .enter .pub-wrap > :nth-child(n+5) { animation-delay: .2s; }
.enter .kpis > * { animation: rise .6s var(--ease) both; } .enter .kpis > :nth-child(2) { animation-delay: .07s; } .enter .kpis > :nth-child(3) { animation-delay: .14s; } .enter .kpis > :nth-child(4) { animation-delay: .21s; }
.enter .cols .stack > * { animation: rise .6s var(--ease) both .15s; } .enter .cols .stack > :nth-child(2) { animation-delay: .25s; }
.enter .list > *, .enter .card.pad-0 > * { animation: rise .45s var(--ease) both; } .enter .list > :nth-child(2), .enter .card.pad-0 > :nth-child(2) { animation-delay: .06s; } .enter .list > :nth-child(3), .enter .card.pad-0 > :nth-child(3) { animation-delay: .12s; } .enter .list > :nth-child(n+4), .enter .card.pad-0 > :nth-child(n+4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- public booking pages ---------- */
.public { --accent: var(--brand); min-height: calc(100vh - 34px); background: radial-gradient(900px 400px at 80% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%), #f6f6f3; }
.pub-wrap { max-width: 700px; margin: 0 auto; padding: 0 16px 56px; }
.pub-hero { position: relative; overflow: hidden; color: #fff; padding: 32px 16px 74px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 80%, #fff) 0%, var(--brand) 40%, color-mix(in srgb, var(--brand) 70%, #000) 100%); }
.pub-hero::before, .pub-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; pointer-events: none; }
.pub-hero::before { width: 320px; height: 320px; background: rgba(255,255,255,.35); top: -160px; right: -80px; animation: float 12s ease-in-out infinite; }
.pub-hero::after { width: 260px; height: 260px; background: color-mix(in srgb, var(--brand) 40%, #7dd3fc); bottom: -170px; left: -60px; animation: float 15s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-30px, 20px) scale(1.1); } }
.pub-hero .in { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; display: flex; gap: 16px; align-items: center; }
.pub-hero .in > .seg { align-self: flex-start; }
@media (max-width: 560px) { .pub-hero { padding-top: 54px; text-align: center; } .pub-hero .in { flex-direction: column; gap: 10px; } .pub-hero .grow { flex: none; } .pub-hero .in > .seg { position: absolute; top: -40px; right: 0; } }
.pub-logo { width: 66px; height: 66px; border-radius: 20px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 800; font-size: 23px; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 14px 30px -10px rgba(0,0,0,.4); backdrop-filter: blur(8px); transform: perspective(300px) rotateY(-10deg); transition: transform .6s var(--spring); }
.pub-hero:hover .pub-logo { transform: perspective(300px) rotateY(10deg) scale(1.05); }
.pub-hero h1 { margin: 0 0 4px; font-size: 25px; } .pub-hero p { margin: 0; opacity: .9; font-size: 14.5px; }
.pub-card { position: relative; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px rgba(20,26,51,.05), 0 4px 8px -4px rgba(20,26,51,.06), 0 28px 50px -24px rgba(20,26,51,.25), inset 0 1px 0 #fff; transition: box-shadow .35s var(--ease); }
.pub-wrap > .pub-card:first-child { margin-top: -44px; }
.pub-contact { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-svc { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; margin: 0 -16px; border-radius: 16px; border-top: 1px solid var(--line2); transition: background .25s, transform .3s var(--spring), box-shadow .3s; }
.pub-svc:first-of-type { border-top: 0; }
.pub-svc:hover { background: #fff; border-top-color: transparent; transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent), 0 18px 34px -16px color-mix(in srgb, var(--brand) 45%, transparent); z-index: 1; }
.pub-svc:hover + .pub-svc { border-top-color: transparent; }
.pub-svc h3 { margin: 0 0 2px; font-size: 16px; } .pub-svc p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pub-svc .meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 7px; font-size: 13px; color: #475467; font-weight: 550; }
.pub-svc .btn { flex: none; }
@media (max-width: 520px) { .pub-svc { flex-wrap: wrap; } .pub-svc .btn { width: 100%; } }
.steps { display: flex; gap: 6px; margin: 0 0 18px; } .steps i { flex: 1; height: 5px; border-radius: 5px; background: #e4e7ec; overflow: hidden; position: relative; }
.steps i.on::after { content: ""; position: absolute; inset: 0; background: var(--brand); border-radius: inherit; animation: fill .6s var(--ease) both; }
@keyframes fill { from { transform: translateX(-100%); } }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; margin: 18px 0 10px; border: 0; background: none; cursor: pointer; padding: 0; transition: color .2s, gap .25s var(--spring); }
.back:hover { color: var(--accent); gap: 8px; }
.sum { display: flex; gap: 12px; align-items: center; padding: 13px 15px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), #fff); margin-bottom: 18px; font-size: 14px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 15%, transparent); }
.success { text-align: center; padding: 10px 0 6px; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #34d399, #059669); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 18px 36px -12px rgba(5,150,105,.6); animation: pop .6s var(--spring); }
.success .tick .ic { width: 34px; height: 34px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pub-foot { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 28px; } .pub-foot a { color: var(--muted); margin: 0 6px; transition: color .2s; } .pub-foot a:hover { color: var(--brand); }
.legal-doc h3 { margin-top: 18px; } .legal-doc ul { padding-left: 20px; margin: 0 0 .7em; } .legal-doc details { margin: 10px 0; padding: 10px 12px; background: var(--soft); border-radius: 10px; } .legal-doc summary, .paper summary { cursor: pointer; font-weight: 600; }
.quote-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 560px) { .quote-actions .btn.grow { flex-basis: 100%; } }
.uploader { position: relative; border: 2px dashed #cdd3de; border-radius: 16px; padding: 20px; text-align: center; cursor: pointer; color: var(--muted); display: block; transition: border-color .2s, background .2s, transform .25s var(--spring); }
.uploader:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.uploader .ic { width: 26px; height: 26px; transition: transform .35s var(--spring); } .uploader:hover .ic { transform: scale(1.2) rotate(-8deg); }
.uploader input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ph-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.ph-list div { position: relative; animation: pop .4s var(--spring); } .ph-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 8px 16px -8px rgba(20,26,51,.4); }
.ph-list button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--spring), background .2s; }
.ph-list button:hover { transform: scale(1.15); background: var(--bad); } .ph-list button .ic { width: 14px; height: 14px; }

/* ---------- reduced motion ---------- */
/* ---------- Kentylo theme "Tinte und Aprikose": flat colours (no gradients, no blobs), ink text on apricot, 3D buttons ---------- */
.btn.primary { background: var(--apricot); color: var(--ink); box-shadow: var(--sh-btn); }
.btn.primary:hover { filter: none; background: #ff8d5f; box-shadow: 0 5px 0 var(--apricot-deep), 0 16px 28px -8px rgba(207,84,40,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn.primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--apricot-deep), 0 4px 10px -4px rgba(207,84,40,.5); }
.btn.primary::after, .btn.brand::after { display: none; }
.btn.brand { background: var(--brand); box-shadow: 0 4px 0 color-mix(in srgb, var(--brand) 70%, #000), 0 10px 20px -8px color-mix(in srgb, var(--brand) 60%, transparent); }
.btn.brand:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--brand) 70%, #000); }
.btn.danger { background: #d1214a; box-shadow: 0 4px 0 #a3163a, 0 10px 18px -8px rgba(209,33,74,.6); }
.toast.error { background: #d1214a; }
.card { background: #fff; }
.badge { background: #d1214a; }
.avatar { background: var(--accent-soft); }
.divider { background: var(--line); }
.chip.on, .day.on, .week .wh.today b, .owner .slot.on, .setup .bar i, .switch input:checked + i { background: var(--apricot); color: var(--ink); }
.day.on small { color: #5a2a14; } .day.on.has i { background: var(--ink); }
.brandmark i, .tabbar .fab, .kpi .kic { color: var(--ink); }
.nav a.on { background: rgba(255,122,69,.16); }
.nav a.on::before { background: var(--apricot); }
.kpi.k2 .kic { background: #2563eb; color: #fff; } .kpi.k3 .kic { background: #ea580c; color: #fff; } .kpi.k4 .kic { background: #047857; color: #fff; }
.kpi::after, .hero::before, .hero::after, .pub-hero::before, .pub-hero::after { display: none; }
.req:hover, .svc:hover { background: rgba(255,122,69,.07); }
.modal.doc { background: #f3ede4; }
.qr-box { background: #faf5ee; }
.ev { background: #ffe2d4; color: #7a2e12; } .ev.pending { background: #fff1de; } .ev.quote { background: #dff3e8; }
.sum-foot { background: #fffaf4; }
.auth-wrap { background: var(--bg); }
@media (min-width: 960px) { .auth-side { background: var(--ink); } .auth-side::after { display: none; } .auth-side h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; } }
.hero { background: var(--ink); }
.public { background: #f6f6f3; }
.pub-hero { background: var(--brand); }
.sum { background: var(--brand-soft); }
.success .tick { background: #059669; }
.input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(255,122,69,.22); }
.input { box-shadow: inset 0 0 0 1px rgba(20,26,51,.14), inset 0 2px 3px rgba(20,26,51,.05); }
.public .chip.on, .public .day.on { color: #fff; }

.auth-cards { display: none; }
@media (min-width: 960px) {
  .auth-cards { display: block; position: relative; height: 200px; max-width: 440px; margin: 34px 0 4px; perspective: 900px; }
  .auth-cards .ac { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.12), 0 14px 26px -6px rgba(0,0,0,.35), 0 34px 60px -20px rgba(0,0,0,.5); }
  .auth-cards .ac1 { left: 0; top: 0; width: 60%; transform: rotateY(14deg) rotateX(6deg) rotate(-3deg); }
  .auth-cards .ac2 { left: 56%; top: 64px; width: 42%; transform: rotateY(-12deg) rotateX(8deg) rotate(4deg); }
  .auth-cards small { display: block; font-size: 12px; color: var(--muted); }
  .auth-cards b { display: block; font-size: 15px; margin: 2px 0 10px; }
  .auth-cards .row { font-size: 13px; } .auth-cards .row b { margin: 0; font-size: 13px; }
  .auth-cards .pill { display: inline-block; margin-top: 10px; background: var(--accent-soft); color: #9a3f1c; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
  .auth-cards .ac2 .t { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; margin: 4px 0 6px; }
  .auth-cards .ac2 span { font-size: 13px; }
}
/* closing animations: windows slide (phone) or zoom (desktop) out instead of vanishing */
.modal-wrap.closing { pointer-events: none; animation: fadeout .24s var(--ease) forwards; }
.modal-wrap.closing .modal { animation: sheet-out .24s var(--ease) forwards; }
@media (min-width: 640px) { .modal-wrap.closing .modal { animation: zoom-out .22s var(--ease) forwards; } }
@keyframes fadeout { to { opacity: 0; } } @keyframes sheet-out { to { transform: translateY(48px); opacity: 0; } } @keyframes zoom-out { to { transform: scale(.96) translateY(10px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .paper, .paper:hover { transform: none !important; }
}

/* ---------- print: only the document ---------- */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; } body.printing #app, body.printing #toasts, body.printing .modal-x, body.printing .no-print, body.printing .modal > :not(.paper-wrap):not(.paper) { display: none !important; }
  body.printing .modal-wrap { position: static; background: none; backdrop-filter: none; display: block; } body.printing .modal { box-shadow: none; max-height: none; overflow: visible; padding: 0; background: #fff; animation: none; }
  .demo-bar, .side, .tabbar, .no-print, .pub-hero, .back, .pub-foot, .fab-preview { display: none !important; }
  .paper { box-shadow: none !important; transform: none !important; padding: 0; } .paper::after { display: none; }
  .public { background: #fff; } .pub-card { box-shadow: none; padding: 0; margin: 0 !important; }
}

/* ---------- Swiss QR-bill (payment part + receipt) ---------- */
.qrbill-page { margin-top: 18px; }
.qrbill { display: block; width: 100%; height: auto; background: #fff; border-radius: 6px; box-shadow: var(--sh-card); }
.qr-hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media print {
  @page qrbill { size: A4; margin: 0; }
  .qrbill-page { page: qrbill; break-before: page; margin: 0; height: 297mm; display: flex; align-items: flex-end; }
  .qrbill { width: 210mm; height: 110mm; border-radius: 0; box-shadow: none; }
}

/* ---------- Premium pass: crisp surfaces, one accent colour, no template tells ---------- */
:root {
  --soft: #ebe3d7; --line: rgba(20,26,51,.1); --line2: rgba(20,26,51,.07);
  --sh-card: 0 0 0 1px rgba(20,26,51,.07), 0 1px 0 rgba(20,26,51,.05), 0 2px 1px -1px rgba(20,26,51,.06), 0 14px 26px -14px rgba(20,26,51,.3), 0 34px 60px -34px rgba(20,26,51,.4), inset 0 1px 0 #fff;
  --sh-hover: 0 0 0 1px rgba(20,26,51,.1), 0 2px 1px -1px rgba(20,26,51,.08), 0 18px 32px -14px rgba(20,26,51,.34), 0 44px 70px -34px rgba(20,26,51,.45), inset 0 1px 0 #fff;
}
/* icons sit on the surface, not in tinted squares */
.srow .sic { background: transparent; color: var(--ink); width: 28px; height: 28px; border-radius: 0; box-shadow: none; }
.srow .sic .ic { width: 22px; height: 22px; }
/* one accent: KPI icons all ink, no rainbow, no tilt gimmick */
.kpi .kic, .kpi.k2 .kic, .kpi.k3 .kic, .kpi.k4 .kic { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #05081a; }
.kpi:hover .kic { transform: none; }
/* neutral initials instead of peach tiles */
.avatar { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
/* banners: white surface with an accent icon instead of a tinted fill */
.banner { background: #fff; color: var(--ink); box-shadow: var(--sh-card); }
.banner .ic { color: var(--accent); }
/* calmer interactions: no rotating icons, small honest lifts */
.btn:hover .ic, .nav a:hover .ic { transform: none; }
.btn:hover { transform: translateY(-1px); }
.icon-btn:hover { transform: none; background: var(--soft); color: var(--ink); }
/* navigation: active item is a white raised surface with an apricot marker */
.nav a:hover { background: rgba(20,26,51,.05); color: var(--ink); transform: none; }
.nav a.on { background: #fff; color: var(--ink); box-shadow: var(--sh-card); }
.nav a.on::before { background: var(--apricot); box-shadow: none; }
/* confident headings */
h1 { font-size: 30px; line-height: 1.12; }
.hero h1 { letter-spacing: -.035em; }

/* ---------- readability, backups, updates ---------- */
body { font-size: 16px; }
.small { font-size: 13.5px; } .tiny { font-size: 12.5px; }
.bk-card h3 { display: flex; align-items: center; gap: 8px; } .bk-card h3 .ic { color: var(--ok); }
.bk-line { display: flex; } .bk-ok, .bk-warn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 8px 12px; border-radius: 12px; }
.bk-ok { background: var(--ok-soft); color: var(--ok); } .bk-warn { background: var(--warn-soft); color: var(--warn); }
.update-bar { position: fixed; z-index: 90; left: 50%; bottom: 88px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--sh-lg); animation: zoomin .4s var(--spring); max-width: calc(100vw - 24px); }
@media (min-width: 900px) { .update-bar { bottom: 24px; } }

/* ---------- help centre ---------- */
.help-search { max-width: 520px; margin: 4px 0 6px; } .help-search .input { min-height: 52px; font-size: 16px; }
.help-h { font-size: 18px; margin: 26px 0 12px; }
.help-guides { display: grid; gap: 12px; } @media (min-width: 900px) { .help-guides { grid-template-columns: 1fr 1fr; align-items: start; } }
.help-item { padding: 0; } .help-item summary, .help-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px; font-weight: 700; font-size: 16px; }
.help-item summary::-webkit-details-marker, .help-q summary::-webkit-details-marker { display: none; }
.help-n { flex: none; width: 32px; height: 32px; border-radius: 10px 10px 10px 3px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 15px; }
.help-chev { flex: none; color: var(--muted); transition: transform .35s var(--ease); } details[open]:not(.closing) > summary .help-chev { transform: rotate(90deg); }
.help-steps { margin: 0; padding: 0 22px 4px 62px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.5; } .help-steps li::marker { color: var(--accent); font-weight: 700; }
.help-act { padding: 6px 18px 16px; } .help-q .help-act { padding: 0 0 14px; } .help-act .btn .ic { margin-left: 2px; }
.help-faq { padding: 6px 18px 12px; } .help-group h3 { margin: 16px 0 4px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.help-q { border-top: 1px solid var(--line); } .help-q summary { padding: 12px 0; } .help-q p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: #2c3350; }
.help-support { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; background: var(--ink); color: #fff; } .help-support .small { color: #c9cde0; } .help-support h3 { margin-top: 0; }
.help-none { margin: 10px 0; }

/* ---------- logo, saved lines, export ---------- */
.logo-up { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 2px; }
.logo-prev { width: 180px; height: 72px; border-radius: 14px; background: #fff; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 8px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-card); }
.logo-prev img { max-width: 100%; max-height: 100%; object-fit: contain; } .logo-ph { font-weight: 800; font-size: 22px; color: var(--muted); }
.logo-btns { display: flex; flex-wrap: wrap; gap: 8px; } .logo-btns label.btn { cursor: pointer; }
.paper .plogo-img { display: block; max-width: 170px; max-height: 64px; object-fit: contain; }
.pub-logo.has-img { background: #fff; padding: 8px; width: auto; min-width: 66px; max-width: 220px; } .pub-logo-img { display: block; max-width: 100%; max-height: 50px; object-fit: contain; }
.avatar.avatar-logo { grid-template: minmax(0, 1fr) / minmax(0, 1fr); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 4px 5px; width: auto; min-width: 40px; max-width: 58px; } .avatar.avatar-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.line-acts { white-space: nowrap; } .line-acts .icon-btn + .icon-btn { margin-left: 2px; }
.chip-tpl { display: inline-flex; align-items: center; gap: 6px; } .chip-tpl .ic { width: 15px; height: 15px; color: var(--accent); }
.tpl-list { display: grid; } .tpl-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); } .tpl-row:first-child { border-top: 0; }
.tech-copy summary { cursor: pointer; margin-top: 4px; } .tech-copy .btn { margin-top: 8px; }
@media print { .print-one + .print-one { break-before: page; } }

/* ---------- agreements: text on the paper, acceptance proof, own templates ---------- */
.paper .pbody { margin: 4px 0 18px; line-height: 1.6; } .paper .pbody p { margin: 0 0 10px; }
.paper .pacc { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #ecfdf3; color: #14532d; margin-bottom: 10px; } .paper .pacc .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.agr-body { min-height: 260px; line-height: 1.55; }
.agr-own { padding: 0; gap: 0; } .agr-own button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; color: inherit; padding: 7px 4px 7px 12px; cursor: pointer; }
.agr-own .agr-own-del { padding: 7px 10px 7px 4px; opacity: .55; } .agr-own .agr-own-del:hover { opacity: 1; } .agr-own .agr-own-del .ic { width: 14px; height: 14px; }

/* ---------- names and section titles: Geist instead of rounded bold Figtree (calmer, more grown-up) ---------- */
h3, .li-t, .card-h h3, .paper .ptitle, .paper .pfrom b, .paper .pto b, .pub-card h2, .pub-card h3 { font-family: var(--font-display); letter-spacing: -.012em; }
/* long German words (e.g. Dienstleistungsvereinbarung) break instead of being cut off on phones */
h1, h2, .paper .ptitle { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }

/* ---------- calendar: day view, tap to add, reminders ---------- */
.dayview { padding: 14px; } .dv-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .dv-head .grow { text-align: center; } .dv-head b { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; text-transform: capitalize; } .dv-head span { font-size: 13px; color: var(--muted); }
.dv-list { display: grid; gap: 8px; }
.dv-time { width: 54px; flex: none; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; } .dv-time small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.dv-ev { display: flex; align-items: stretch; border-radius: 14px; background: #fff; box-shadow: inset 4px 0 0 var(--apricot), 0 1px 0 var(--line), 0 6px 16px -10px rgba(20,26,51,.35); overflow: hidden; } .dv-ev.pending { box-shadow: inset 4px 0 0 var(--warn), 0 1px 0 var(--line), 0 6px 16px -10px rgba(20,26,51,.35); } .dv-ev.completed { opacity: .7; }
.dv-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; } .dv-main b { display: block; font-family: var(--font-display); font-size: 16px; } .dv-main small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.dv-acts { display: flex; align-items: center; gap: 4px; padding-right: 8px; } .dv-acts .icon-btn { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); }
.dv-free { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px 11px 16px; border-radius: 14px; border: 1.5px dashed var(--line); background: transparent; font: inherit; color: var(--muted); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.dv-free:hover, .dv-free:active { background: #fff; border-color: var(--apricot); color: var(--ink); } .dv-add { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; color: var(--deep); white-space: nowrap; } .dv-add .ic { width: 16px; height: 16px; }
.dv-block { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px 11px 16px; border-radius: 14px; border: 0; background: repeating-linear-gradient(135deg, #f3f0ea 0 8px, #ece7df 8px 16px); font: inherit; color: var(--muted); text-align: left; cursor: pointer; } .dv-block .grow { display: flex; align-items: center; gap: 6px; }
.dv-now { position: relative; height: 18px; margin: -2px 0; } .dv-now::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--bad); border-radius: 2px; } .dv-now span { position: relative; z-index: 1; margin-left: 10px; padding: 1px 8px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; }
.dv-tip { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 11px 14px; border-radius: 14px; border: 0; background: var(--soft); font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; } .dv-tip .ic { color: var(--deep); flex: none; }
.week .col { cursor: copy; }
.rem-way { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); margin-bottom: 8px; } .rem-way b { display: block; } .rem-way small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
#rem-stack { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
@media (max-width: 899px) { #rem-stack { bottom: calc(86px + env(safe-area-inset-bottom)); } }
.rem-card { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -14px rgba(20,26,51,.45); animation: remIn .28s cubic-bezier(.2,.9,.3,1.2); }
.rem-card b { font-family: var(--font-display); font-size: 16px; } .rem-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--apricot); color: var(--ink); }
@keyframes remIn { from { opacity: 0; transform: translateY(12px) scale(.98); } } @media (prefers-reduced-motion: reduce) { .rem-card { animation: none; } }
.feed-steps { margin-top: 12px; } .feed-steps ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.55; } .feed-steps li { margin-bottom: 6px; }

/* ---------- bank file: payments ---------- */
.bank-list { display: grid; gap: 8px; max-height: 52vh; overflow: auto; padding: 2px; } .bank-row { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bank-row.debit, .bank-row.duplicate, .bank-row.notbooked, .bank-row.alreadypaid { opacity: .55; } .bank-row .input.sm { margin-top: 6px; padding: 7px 10px; font-size: 14px; }

/* ---------- photos: cover and services ---------- */
.cover-prev { width: 100%; max-width: 520px; aspect-ratio: 16 / 7; border-radius: 16px; overflow: hidden; margin: 4px 0 10px; box-shadow: var(--sh-card); } .cover-prev img, .pub-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-photo-prev { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-card); } .svc-photo-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-cover { aspect-ratio: 16 / 7; border-radius: 22px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 1px 0 rgba(20,26,51,.06), 0 22px 44px -22px rgba(20,26,51,.45); }
.pub-svc-img { width: 76px; height: 76px; flex: none; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 18px -10px rgba(20,26,51,.5); }
@media (max-width: 560px) { .pub-cover { aspect-ratio: 4 / 3; border-radius: 18px; } .pub-svc-img { width: 60px; height: 60px; } }

/* ---------- payment reminders settings ---------- */
.dun-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr 1fr; gap: 8px 10px; align-items: center; } .dun-grid b { font-size: 13px; color: var(--muted); font-weight: 600; } .dun-grid span { font-weight: 600; }

/* ---------- accountant: VAT figures ---------- */
.acc-tbl td, .acc-tbl th { padding: 9px 10px; } .acc-tbl .r { text-align: right; } .acc-tbl .acc-total td { border-top: 2px solid var(--ink); } .input.sm { padding: 8px 12px; font-size: 14px; width: auto; }

/* ---------- archive status ---------- */
.arch-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--soft); margin: 0; } .arch-status .ic { color: var(--ok, #12805c); } .bad-t { color: var(--bad); }

/* ---------- gift voucher card ---------- */
.voucher-card { max-width: 640px; margin: 0 auto; aspect-ratio: 85 / 55; border-radius: 22px; padding: 28px 30px; background: var(--doc, #141a33); color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px -30px rgba(20,26,51,.6); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.vc-top { display: flex; justify-content: space-between; align-items: center; } .vc-logo { max-height: 46px; max-width: 200px; background: #fff; padding: 6px 10px; border-radius: 10px; } .vc-name { font-family: var(--font-display); font-size: 22px; } .vc-label { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; opacity: .85; }
.vc-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 9vw, 72px); letter-spacing: -.03em; } .vc-for { font-size: 18px; opacity: .9; margin-top: -10px; }
.vc-foot { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; } .vc-foot small { display: block; font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .08em; } .vc-foot b { font-size: 14px; }
@media (max-width: 560px) { .voucher-card { aspect-ratio: auto; gap: 18px; } .vc-foot { grid-template-columns: 1fr 1fr; } }

.series-f:has(select[name="repeat"] option[value="0"]:checked) .series-n { display: none; }   /* "how many times" only when repeating */

/* ---------- compact sections (fold): one line with the current state, opens in place – no endless scrolling ---------- */
.folds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }   /* long one-line summaries never widen the page */
.fold { padding: 0; }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 11px 16px; border-radius: var(--r); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.fold-ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.fold-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fold-t b { font-family: var(--font-display); font-size: 15.5px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.fold-t small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.fold-c { flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.fold[open]:not(.closing) > summary .fold-c { transform: rotate(90deg); }
.fold[open] > summary { border-radius: var(--r) var(--r) 0 0; box-shadow: inset 0 -1px 0 var(--line2); }
.fold-b { padding: 16px 18px 18px; }
.fold-b > p:first-child { margin-top: 0; }
/* small fold-out inside a card or a window */
.mini-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 0; font-weight: 600; font-size: 14px; color: var(--muted); }
.mini-fold > summary::-webkit-details-marker { display: none; }
.mini-fold > summary .fold-c { margin-left: auto; }
.mini-fold[open]:not(.closing) > summary .fold-c { transform: rotate(90deg); }
/* two short fields side by side also on phones */
.grid2.keep2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
/* settings tabs: one swipeable line on phones instead of three rows of chips */
@media (max-width: 720px) { .set-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; } .set-nav::-webkit-scrollbar { display: none; } .set-nav .chip { flex: none; scroll-snap-align: start; } }
/* save bar that stays in reach on long forms */
.savebar { position: sticky; bottom: 12px; z-index: 5; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: var(--sh-card); }
@media (max-width: 899px) { .savebar { bottom: calc(84px + env(safe-area-inset-bottom)); } }
/* help: the main guides first, the rest on request; questions grouped and folded */
.help-guides:not(.all):not(.searching) .help-more { display: none; }
.help-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 14px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border-top: 1px solid var(--line2); }
.help-group:first-child > summary { border-top: 0; } .help-group > summary::-webkit-details-marker { display: none; } .help-group > summary .fold-c { margin-left: auto; color: var(--muted); }
.help-group[open]:not(.closing) > summary .fold-c { transform: rotate(90deg); } .help-group > summary .pill { text-transform: none; letter-spacing: 0; }
/* share: reply texts as one-line rows */
.tpl-folds { margin-top: 6px; } .tpl-fold { border-top: 1px solid var(--line2); } .tpl-fold > summary { color: var(--text); padding: 8px 0; } .tpl-fold > summary b { font-size: 14px; } .tpl-fold textarea { margin-bottom: 10px; }
/* opening hours on small phones: both times fit next to the switch */
@media (max-width: 420px) { .hours-row { grid-template-columns: 70px 46px minmax(0, 1fr); gap: 8px; } .hours-row .times { gap: 4px; min-width: 0; } .hours-row input[type=time] { flex: 1; min-width: 0; padding: 6px 4px; } }
.help-support > .grow { flex: 1 1 260px; }   /* text uses the full width on phones; the button moves below */
/* start screen on phones: the next 4 appointments (the calendar has the rest) */
@media (max-width: 899px) { .home-next .list > :nth-child(n+5) { display: none; } }
.grid3.keep3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .grid3.keep3 .f > span { font-size: 13px; }
/* booking window: free times in tight rows */
.modal .slots { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; } .modal .slot { min-height: 40px; font-size: 14px; }
@media (max-width: 700px) { .savebar .hide-m { display: none; } .savebar { flex-wrap: nowrap; } }

/* ---------- client pages: four looks the business picks in Settings (js/public.js) – a Shop window, b Business card, c Price list, d Poster.
   Flat colours, white cards with 3D shadows; --brand is the business colour, --on-brand the text on it, --brand-text the colour as text on white. ---------- */
.ps { --ps-mut: #5a6074; --ps-ln: rgba(20,26,51,.1); --brand-edge: color-mix(in srgb, var(--brand) 70%, #000); color: var(--ink); overflow-x: clip;
  --ps-sh: 0 0 0 1px rgba(20,26,51,.05), 0 2px 4px rgba(20,26,51,.06), 0 14px 28px -10px rgba(20,26,51,.22), 0 36px 64px -28px rgba(20,26,51,.42);
  --ps-shs: 0 0 0 1px rgba(20,26,51,.06), 0 2px 3px rgba(20,26,51,.07), 0 10px 18px -10px rgba(20,26,51,.3); }
.ps h1, .ps h2, .ps h3 { font-family: var(--font-display); text-wrap: balance; }
.ps .btn.brand, .ps .chip.on, .ps .chip.on:hover, .ps .day.on, .ps .slot.on { color: var(--on-brand); }
.ps .day.on small { color: inherit; opacity: .78; } .ps .day.on.has i { background: var(--on-brand); }
.ps .pub-wrap { padding-top: 20px; } .ps .pub-wrap > .pub-card:first-child { margin-top: 0; }
.ps .pub-card h2.num { font-size: 34px; letter-spacing: -.045em; }
.ps-in { max-width: 700px; margin: 0 auto; padding: 0 16px; }
.ps-ini { font: 800 22px/1 var(--font-display); letter-spacing: -.04em; color: var(--brand-text); white-space: nowrap; }
.ps-ls { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: var(--ps-shs); flex: none; }
.ps-ls button { border: 0; background: none; font: 600 12px/1 var(--font-display); padding: 8px 10px; border-radius: 999px; color: var(--ps-mut); cursor: pointer; }
.ps-ls button.on { background: var(--ink); color: #fff; }
.ps-open { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #3b4155; }
.ps-open i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; } .ps-open.closed i { background: #c3c7d1; }
.ps-acts { display: flex; gap: 8px; flex-wrap: wrap; } .ps-acts .btn, .ps-b-quick .btn { box-shadow: var(--ps-shs); } .ps-acts .btn svg, .ps-b-quick .btn svg { color: var(--brand-text); }
.ps-sec { margin-top: 36px; } .ps-sec > h2 { font-size: 21px; font-weight: 750; letter-spacing: -.03em; margin: 0; } .ps-sec > p { color: var(--ps-mut); font-size: 14px; margin: 6px 0 18px; }
.ps .pr.soft { font-size: 14px; font-weight: 650; letter-spacing: -.01em; color: var(--ps-mut); }
.ps-m { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #3b4155; } .ps-m svg { width: 15px; height: 15px; flex: none; }
.ps-svc-img { display: block; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; margin-bottom: 10px; box-shadow: 0 8px 16px -10px rgba(20,26,51,.55); }
.ps-vat { text-align: center; font-size: 12.5px; color: var(--ps-mut); margin: 32px 0 0; padding: 0 8px; }
.ps .pub-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; padding: 22px 8px 8px; border-top: 1px solid var(--ps-ln); }
.ps-flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; } .ps .pub-foot .ps-flinks a { margin: 0; color: var(--ps-mut); }
.ps-sig { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1.3 var(--font-display); color: var(--ink); text-align: left; } .k-mark { display: block; flex: none; }
.ps-dl { margin: 0; display: grid; gap: 12px; } .ps-dl dt { font-size: 12px; color: var(--ps-mut); font-weight: 600; } .ps-dl dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; } .ps-dl a, .ps-c-facts a { color: inherit; }
.enter .ps-home h1, .enter .ps-home .ps-sec, .enter .ps-home .ps-c-list { animation: rise .55s var(--ease) both; } .enter .ps-home .ps-sec + .ps-sec { animation-delay: .08s; }

/* A · Shop window: the cover photo across the top, the logo on a white sign */
.ps-a { background: #f3f3f1; }
.ps-a-hero { position: relative; height: 240px; background: var(--brand); overflow: hidden; } .ps-a-hero.nocover { height: 150px; }
.ps-a-hero.sm { height: 120px; } .ps-a-hero.sm.nocover { height: 92px; }
.ps-a-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ps-a-hero .ps-ls { position: absolute; top: 16px; right: 16px; }
.ps-a .ps-wide { padding-bottom: 48px; }
.ps-a-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: inherit; text-decoration: none; }
.ps-plate { position: relative; margin-top: -44px; height: 88px; min-width: 88px; max-width: 260px; padding: 0 16px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: var(--ps-sh); }
.ps-plate img { display: block; max-height: 56px; max-width: 220px; object-fit: contain; } .ps-plate .ps-ini { font-size: 30px; }
.ps-a-title h1 { font-size: 30px; font-weight: 750; letter-spacing: -.04em; line-height: 1.08; margin: 0; } .ps-a-title p { color: var(--ps-mut); margin: 5px 0 0; }
.ps-a-title .ps-open { margin-top: 10px; }
.ps-a-head.sm { flex-direction: row; align-items: flex-start; gap: 14px; } .ps-a-head.sm h1 { padding-top: 16px; }
.ps-a-head.sm .ps-plate { height: 64px; min-width: 64px; margin-top: -26px; border-radius: 18px; padding: 0 12px; } .ps-a-head.sm .ps-plate img { max-height: 40px; max-width: 160px; } .ps-a-head.sm .ps-plate .ps-ini { font-size: 21px; }
.ps-a-head.sm h1 { font-size: 20px; font-weight: 750; letter-spacing: -.03em; line-height: 1.15; margin: 0; min-width: 0; }
.ps .pub-wrap > .back { display: inline-flex; margin-bottom: 16px; }
.ps-a-list { display: grid; gap: 16px; }
.ps-a-svc { display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--ps-sh); overflow: hidden; }
.ps-a-ph { display: block; width: calc(100% + 36px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; margin: -18px -18px 16px; }
.ps-a-svc .t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ps-a-svc h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.02em; margin: 0; } .ps-a-svc .pr { font: 650 15px/1.2 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-a-svc p { color: var(--ps-mut); font-size: 13.5px; line-height: 1.45; margin: 4px 0 0; }
.ps-a-svc .f { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; }
.ps-a-side { margin-top: 36px; background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--ps-sh); } .ps-a-side h3 { font-size: 16px; margin: 0 0 14px; }
@media (min-width: 900px) {
  .ps-a-hero { height: 320px; } .ps-a-hero.nocover { height: 200px; } .ps-a-hero.sm { height: 150px; } .ps-a-hero.sm.nocover { height: 110px; }
  .ps-a-hero .ps-ls { top: 20px; right: 32px; }
  .ps-a .ps-wide { max-width: 1120px; padding: 0 40px 48px; }
  .ps-a-head:not(.sm) { flex-direction: row; align-items: flex-start; gap: 26px; }
  .ps-a-head:not(.sm) .ps-plate { height: 124px; min-width: 124px; margin-top: -62px; border-radius: 30px; padding: 0 24px; } .ps-a-head:not(.sm) .ps-plate img { max-height: 76px; max-width: 212px; } .ps-a-head:not(.sm) .ps-ini { font-size: 42px; }
  .ps-a-title { flex: 1; min-width: 0; padding-top: 22px; } .ps-a-title h1 { font-size: 44px; } .ps-a-head .ps-acts { padding-top: 26px; }
  .ps-a-head.sm h1 { padding-top: 14px; font-size: 24px; }
  .ps-a-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
  .ps-a-list { grid-template-columns: 1fr 1fr; } .ps-a-side { position: sticky; top: 24px; }
}

/* B · Business card: the business as a printed card in its colour on its photo, services as tickets */
.ps-b { background: #e6e8ed; }
.ps-b-lay { padding: 0 18px 48px; }
.ps-b-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; }
.ps-b-stage { position: relative; margin-top: 16px; padding-top: 20px; } .ps-b-stage.hasph { padding-top: 150px; }
.ps-b-print { position: absolute; right: 0; top: 0; width: 54%; max-width: 280px; aspect-ratio: 4 / 5; background: #fff; padding: 7px 7px 28px; border-radius: 3px; transform: rotate(5deg); box-shadow: var(--ps-sh); }
.ps-b-print img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-b-under { position: absolute; left: 8%; right: 0; top: 0; bottom: 34px; border-radius: 14px; background: #fff; transform: rotate(4deg); box-shadow: var(--ps-shs); }
.ps-b-card { position: relative; width: 92%; max-width: 440px; min-height: 200px; border-radius: 14px; background: var(--brand); color: var(--on-brand); padding: 18px 20px 18px; display: flex; flex-direction: column; transform: rotate(-2.5deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 0 var(--brand-edge), 0 8px 14px -6px rgba(10,14,30,.35), 0 32px 50px -18px rgba(10,14,30,.55); }
.ps-b-logo { align-self: flex-start; display: grid; place-items: center; height: 44px; min-width: 44px; max-width: 180px; padding: 0 10px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(10,14,30,.2); flex: none; }
.ps-b-logo img { display: block; max-height: 30px; max-width: 160px; object-fit: contain; } .ps-b-logo .ps-ini { font-size: 17px; }
.ps-b-name { margin: auto 0 0; padding-top: 22px; font-size: 25px; font-weight: 750; line-height: 1.05; letter-spacing: -.035em; color: inherit; overflow-wrap: anywhere; }
.ps-b-tag { font-size: 12.5px; opacity: .88; margin: 4px 0 0; }
.ps-b-cf { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; padding-top: 9px; border-top: 1px solid color-mix(in srgb, var(--on-brand) 30%, transparent); font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.ps-b-quick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 26px; }
.ps-b-quick .btn { flex-direction: column; gap: 6px; min-height: 64px; padding: 10px 6px; font-size: 13px; border-radius: 14px; }
.ps-tix { display: grid; gap: 28px; }
.ps-tk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px; background: #fff; border-radius: 16px; box-shadow: var(--ps-sh); }
.ps-tk .l { padding: 18px 16px 16px 18px; min-width: 0; } .ps-tk h3 { font-size: 16px; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.ps-tk .l p { font-size: 13px; color: var(--ps-mut); line-height: 1.42; margin: 3px 0 0; }
.ps-tk .m { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #3b4155; margin-top: 10px; }
.ps-tk .r { position: relative; border-left: 2px dashed #d9dce4; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.ps-tk .r::before, .ps-tk .r::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #e6e8ed; } .ps-tk .r::before { top: -11px; } .ps-tk .r::after { bottom: -11px; }
.ps-tk .pr { font: 750 16px/1.15 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .ps-tk .r .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.ps-b-mini { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--brand); color: var(--on-brand); text-decoration: none; transform: rotate(-1.2deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 0 var(--brand-edge), 0 22px 36px -16px rgba(10,14,30,.5); }
.ps-b-mini .ps-b-logo { height: 40px; } .ps-b-mini h1 { font-size: 18px; font-weight: 750; line-height: 1.12; letter-spacing: -.03em; margin: 0; color: inherit; } .ps-b-mini .s { font-size: 12px; opacity: .88; margin-top: 3px; }
@media (min-width: 900px) {
  .ps-b-lay { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 56px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .ps-b-left { align-self: start; padding-bottom: 30px; }
  .ps-b-top { padding-top: 28px; } .ps-b-stage.hasph { padding-top: 190px; }
  .ps-b-card { min-height: 270px; padding: 22px 24px 18px; } .ps-b-name { font-size: 34px; } .ps-b-tag { font-size: 14px; } .ps-b-logo { height: 54px; } .ps-b-logo img { max-height: 38px; }
  .ps-b-right { padding: 30px 0 40px; }
}

/* C · Price list: Swiss poster type, the name very big, prices on dotted lines */
.ps-c { background: #fff; } .ps-c:not(.ps-home) { background: #eceef1; }
.ps-c-bar { height: 7px; background: var(--brand); }
.ps-c-pg { padding: 0 20px 48px; }
.ps-c-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; }
.ps-c-logo { display: flex; align-items: center; min-height: 42px; flex: none; } .ps-c-logo img { display: block; max-height: 42px; max-width: 180px; object-fit: contain; }
.ps-c-logo .ps-ini { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border: 2px solid var(--ink); color: var(--ink); font-size: 15px; }
.ps-c .ps-ls { background: none; box-shadow: none; padding: 0; gap: 12px; } .ps-c .ps-ls button { border-radius: 0; padding: 6px 0 4px; letter-spacing: .08em; }
.ps-c .ps-ls button.on { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.ps-c-name { padding: 34px 0 16px; border-bottom: 2px solid var(--ink); container-type: inline-size; }
.ps-c-name h1 { font-size: min(60px, calc(100cqi / (var(--fw) * .62))); font-weight: 750; letter-spacing: -.055em; line-height: .92; margin: 0; overflow-wrap: anywhere; }
.ps-c-kick { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); margin: 16px 0 0; }
.ps-c-fig { margin: 18px 0 0; } .ps-c-fig img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ps-c-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0 0; }
.ps-c-facts div { padding: 10px 0; border-bottom: 1px solid var(--ps-ln); min-width: 0; } .ps-c-facts div:nth-child(odd) { padding-right: 12px; }
.ps-c-facts dt, .ps-c-lh span, .ps-c-row .m { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ps-mut); }
.ps-c-facts dd { margin: 3px 0 0; font: 600 14px/1.3 var(--font-display); overflow-wrap: anywhere; }
.ps-c-list { margin-top: 36px; }
.ps-c-lh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); } .ps-c-lh h2 { font-size: 22px; font-weight: 750; letter-spacing: -.035em; margin: 0; }
.ps-c-row { padding: 18px 0; border-bottom: 1px solid var(--ps-ln); }
.ps-c-row .r1 { display: flex; align-items: baseline; gap: 8px; } .ps-c-row h3 { font-size: 17px; font-weight: 650; letter-spacing: -.025em; margin: 0; min-width: 0; }
.ps-c-row .ld { flex: 1 1 16px; min-width: 16px; border-bottom: 2px dotted #c3c7d1; transform: translateY(-4px); }
.ps-c-row .pr { font: 600 15px/1 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-c-row p { font-size: 13.5px; color: var(--ps-mut); margin: 5px 0 0; max-width: 52ch; }
.ps-c-row .r3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; } .ps-c-row .m { color: #3b4155; }
.ps-c .btn { border-radius: 9px; } .ps-c .btn.ps-o { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ps-c .pub-foot { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; } .ps-c .ps-sig { font: 600 10.5px/1.3 var(--font); letter-spacing: .07em; }
.ps-c-top { background: #fff; box-shadow: 0 1px 0 var(--ps-ln); } .ps-c-top .ps-c-head { padding: 18px 0; }
.ps-c-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; } .ps-c-brand h1 { font-size: 19px; font-weight: 750; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.ps-c .pub-card { border-radius: 4px; box-shadow: inset 0 3px 0 var(--ink), 0 0 0 1px var(--ps-ln), var(--ps-shs); }
@media (min-width: 900px) {
  .ps-c.ps-home { background: #eceef1; }
  .ps-c-wrap { padding: 30px 24px 48px; } .ps-c-sheet { max-width: 1140px; margin: 0 auto; background: #fff; box-shadow: var(--ps-sh); }
  .ps-c-pg { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; padding: 0 56px 44px; align-items: start; }
  .ps-c-head { grid-column: 1 / -1; }
  .ps-c-name { padding-top: 44px; } .ps-c-name h1 { font-size: min(104px, calc(100cqi / (var(--fw) * .62))); }
  .ps-c-right > .ps-c-list:first-child { margin-top: 44px; }
}

/* D · Poster: the business colour as a big poster with the name, the next free time as the first button */
.ps-d { background: #f3f3f1; }
.ps-d-hero { background: var(--brand); color: var(--on-brand); padding: 24px 20px 32px; container-type: inline-size; } .ps-d-hero.hasph { padding-bottom: 100px; }
.ps-d-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ps-d-stamp { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; height: 52px; min-width: 52px; max-width: 208px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--brand-edge), 0 14px 24px -12px rgba(0,0,0,.5); text-decoration: none; }
.ps-d-stamp img { display: block; max-height: 30px; max-width: min(180px, 100%); object-fit: contain; } .ps-d-stamp .ps-ini { font-size: 18px; }
.ps-d .ps-ls { background: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-brand) 50%, transparent); } .ps-d .ps-ls button { color: var(--on-brand); } .ps-d .ps-ls button.on { background: var(--on-brand); color: var(--brand); }
.ps-d-hero h1 { font-size: min(76px, calc(100cqi / (var(--fw) * .62))); font-weight: 800; letter-spacing: -.06em; line-height: .88; margin: 34px 0 0; color: inherit; overflow-wrap: anywhere; }
.ps-d-hero > p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.45; opacity: .92; max-width: 34ch; }
.ps-d-next { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 22px; padding: 13px 13px 13px 18px; border: 0; border-radius: 18px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 4px 0 var(--brand-edge), 0 22px 34px -16px rgba(0,0,0,.55); transition: transform .2s var(--ease), box-shadow .2s; }
.ps-d-next:hover { transform: translateY(-2px); } .ps-d-next:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--brand-edge); }
.ps-d-next .k { display: block; font-size: 12px; font-weight: 600; color: var(--ps-mut); } .ps-d-next b { display: block; font: 750 21px/1.15 var(--font-display); letter-spacing: -.03em; margin: 2px 0; }
.ps-d-next .ar { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--brand); color: var(--on-brand); box-shadow: 0 3px 0 var(--brand-edge); }
.ps-d-photo { position: relative; margin: -74px 20px 0; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: var(--ps-sh); } .ps-d-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-d-body { padding: 32px 20px 48px; } .ps-d-body > .ps-sec:first-child { margin-top: 0; } .ps-d-body .ps-sec > h2 { font-size: 28px; font-weight: 800; letter-spacing: -.05em; }
.ps-d-grid { display: grid; gap: 16px; }
.ps-d-c { display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--ps-sh); }
.ps-d-c h3 { font-size: 17px; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.ps-d-l { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; } .ps-d-l .ps-m { color: var(--ps-mut); }
.ps-d-c .pr { margin-left: auto; font: 800 22px/1.1 var(--font-display); letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-d-c p { font-size: 13.5px; color: var(--ps-mut); line-height: 1.45; margin: 8px 0 0; }
.ps-d-c .f { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.ps-a-svc h3, .ps-c-row h3, .ps-tk h3, .ps-d-c h3 { overflow-wrap: break-word; hyphens: auto; } .ps-a-svc h3 { min-width: 0; }
.ps-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: 11px; background: #fff; color: var(--ink); font: 600 13px/1 var(--font-display); text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(20,26,51,.13); transition: box-shadow .2s, transform .2s var(--ease); }
.ps-chip:hover { box-shadow: inset 0 0 0 1.5px var(--brand); transform: translateY(-1px); }
.ps-chip.on { background: var(--brand); color: var(--on-brand); box-shadow: 0 3px 0 var(--brand-edge); } .ps-chip.more { background: #eff0f3; color: var(--ps-mut); box-shadow: none; }
.ps-d-contact { margin-top: 32px; justify-content: center; }
.ps-d-top2 { background: var(--brand); color: var(--on-brand); padding: 20px 0 28px; } .ps-d-top2 .ps-in { container-type: inline-size; }
.ps-d-top2 h1 { font-size: min(46px, calc(100cqi / (var(--fw) * .62))); font-weight: 800; letter-spacing: -.055em; line-height: .92; margin: 22px 0 0; color: inherit; overflow-wrap: anywhere; }
.ps-d .pub-card { border-radius: 22px; }
@media (min-width: 900px) {
  .ps-d-split { display: grid; grid-template-columns: minmax(420px, 5fr) minmax(0, 7fr); }
  .ps-d-hero, .ps-d-hero.hasph { align-self: start; display: flex; flex-direction: column; min-height: 100vh; padding: 32px 48px 44px; }
  .ps-d-hero h1 { font-size: min(128px, calc(100cqi / (var(--fw) * .62)), 15vh); margin-top: auto; padding-top: 40px; } .ps-d-next { max-width: 460px; }
  .ps-d-photo { margin: 32px 40px 0; aspect-ratio: 21 / 9; }
  .ps-d-body { max-width: 900px; padding: 36px 40px 40px; } .ps-d-grid { grid-template-columns: 1fr 1fr; } .ps-d-contact { justify-content: flex-start; }
}
@media (min-width: 900px) and (min-height: 720px) { .ps-b-left, .ps-d-hero, .ps-d-hero.hasph { position: sticky; top: 0; } }   /* the card / poster stays while the services scroll */
@media print { .ps-top { display: none !important; } .ps { background: #fff !important; } }

/* Settings: picking the look (small drawings in the business colour) */
.ps-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
@media (min-width: 700px) { .ps-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ps-opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 8px 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20,26,51,.12); cursor: pointer; transition: box-shadow .2s, transform .25s var(--spring); }
.ps-opt:hover { transform: translateY(-2px); } .ps-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ps-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink), 0 12px 22px -12px rgba(20,26,51,.5); } .ps-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.ps-opt b { font-family: var(--font-display); font-size: 14px; margin-top: 6px; } .ps-opt small { margin: 0; font-size: 12px; line-height: 1.35; }
.ps-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: #f3f3f1; } .ps-thumb i { position: absolute; display: block; }
.ps-thumb-a i:nth-child(1) { left: 0; right: 0; top: 0; height: 42%; background: color-mix(in srgb, var(--brand) 55%, #8a8f9c); }
.ps-thumb-a i:nth-child(2) { left: 10%; top: 28%; width: 24%; height: 24%; border-radius: 5px; background: #fff; box-shadow: 0 3px 6px rgba(20,26,51,.25); }
.ps-thumb-a i:nth-child(3) { left: 10%; right: 10%; top: 64%; height: 24%; border-radius: 5px; background: #fff; box-shadow: 0 3px 6px rgba(20,26,51,.18); }
.ps-thumb-b { background: #e6e8ed; }
.ps-thumb-b i:nth-child(1) { left: 24%; top: 12%; width: 64%; height: 50%; border-radius: 5px; background: #fff; transform: rotate(5deg); box-shadow: 0 2px 4px rgba(20,26,51,.15); }
.ps-thumb-b i:nth-child(2) { left: 10%; top: 32%; width: 70%; height: 46%; border-radius: 5px; background: var(--brand); transform: rotate(-4deg); box-shadow: 0 2px 0 color-mix(in srgb, var(--brand) 70%, #000), 0 6px 10px -4px rgba(20,26,51,.4); }
.ps-thumb-b i:nth-child(3) { left: 16%; top: 42%; width: 14%; height: 11%; border-radius: 2px; background: #fff; transform: rotate(-4deg); }
.ps-thumb-c { background: #fff; box-shadow: inset 0 0 0 1px rgba(20,26,51,.1); }
.ps-thumb-c i:nth-child(1) { left: 0; right: 0; top: 0; height: 7%; background: var(--brand); }
.ps-thumb-c i:nth-child(2) { left: 10%; top: 20%; width: 62%; height: 22%; border-radius: 2px; background: var(--ink); }
.ps-thumb-c i:nth-child(3) { left: 10%; right: 10%; top: 56%; height: 26%; border-top: 2px dotted #aeb3bf; border-bottom: 2px dotted #aeb3bf; }
.ps-thumb-d i:nth-child(1) { left: 0; right: 0; top: 0; height: 66%; background: var(--brand); }
.ps-thumb-d i:nth-child(2) { left: 10%; top: 16%; width: 58%; height: 20%; border-radius: 2px; background: var(--on-brand); }
.ps-thumb-d i:nth-child(3) { left: 10%; right: 10%; top: 48%; height: 18%; border-radius: 5px; background: #fff; box-shadow: 0 2px 0 color-mix(in srgb, var(--brand) 70%, #000), 0 6px 10px -4px rgba(20,26,51,.35); }

/* ---------- start screen of a new business: setup steps + live preview of its booking page ---------- */
.welcome { position: relative; z-index: 2; display: grid; gap: 22px; margin: -70px 6px 20px; padding: 24px 20px 20px; border-radius: 26px; }
@media (min-width: 560px) { .welcome { grid-template-columns: minmax(0, 1fr) 210px; align-items: center; } }
@media (min-width: 900px) { .welcome { margin: -70px 28px 22px; padding: 28px 30px; gap: 32px; grid-template-columns: minmax(0, 1fr) 236px; } }
.wl-kick { display: block; color: var(--accent); font-size: 13px; font-weight: 700; }
.welcome h2 { margin: 4px 0 14px; font-size: 24px; line-height: 1.15; }
.wl-prog { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; } .wl-prog .bar { flex: 1; margin: 0; }
.wl-prog span { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (min-width: 1100px) { .wl-steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.welcome a.step { align-items: flex-start; } .welcome .step .tick { margin-top: 1px; } .welcome .step > .ic { margin-top: 4px; flex: none; }
.welcome .step .grow b { display: block; font-weight: 650; } .welcome .step .grow small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 450; color: var(--muted); }
.welcome .done .grow { text-decoration: none; } .welcome .done .grow b { text-decoration: line-through; text-decoration-color: rgba(93,102,121,.4); }
.wl-prev { display: grid; justify-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.wl-phone { display: block; width: 100%; max-width: 236px; overflow: hidden; border-radius: 26px; background: #fff; text-align: left;
  box-shadow: 0 0 0 6px var(--ink), 0 2px 4px 6px rgba(20,26,51,.08), 0 24px 40px -10px rgba(20,26,51,.4); transition: transform .3s var(--spring); }
.wl-prev:hover .wl-phone { transform: translateY(-4px); }
.wl-top { position: relative; display: block; height: 86px; background: var(--brand); }
.wl-top img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wl-mark { position: absolute; left: 14px; bottom: -20px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 14px; background: #fff; color: var(--brand-text); font-weight: 800; font-size: 15px; box-shadow: 0 4px 10px -2px rgba(20,26,51,.28); }
.wl-mark img { max-width: 80%; max-height: 80%; object-fit: contain; }
.wl-body { display: block; padding: 28px 14px 16px; }
.wl-name { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.wl-tag { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.wl-svc { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 650; box-shadow: 0 0 0 1px var(--line), 0 3px 8px -4px rgba(20,26,51,.22); }
.wl-svc .grow { min-width: 0; overflow-wrap: anywhere; } .wl-svc small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.wl-svc i { flex: none; padding: 5px 9px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-style: normal; font-size: 11px; font-weight: 700; }
.wl-see { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--accent); }
.wl-see .ic { width: 16px; height: 16px; }
@media (max-width: 559px) { .wl-phone { display: none; } .wl-prev { justify-items: start; } }

/* ---------- statistics: flat ink bars, this month in apricot, values on hover / focus ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.st-kpi b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.st-kpi small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.st-delta { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: 0; } .st-delta.up { color: var(--ok); } .st-delta.down { color: var(--bad); }
.st-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; align-items: end; height: 200px; padding-top: 26px; border-bottom: 1px solid var(--line); }
.st-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; outline: none; }
.st-col i { display: block; margin: 0 18%; border-radius: 4px 4px 0 0; background: var(--ink); transition: opacity .2s; }
.st-col.now i { background: var(--apricot); }
.st-col small { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.st-val { position: absolute; left: 50%; transform: translateX(-50%); top: -22px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.st-bars:hover .st-col i { opacity: .45; } .st-bars .st-col:hover i, .st-col:focus-visible i { opacity: 1; }
.st-tip { display: none; position: absolute; z-index: 3; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 7px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(20,26,51,.45); }
.st-col:hover .st-tip, .st-col:focus-visible .st-tip { display: block; } .st-col:hover .st-val, .st-col:focus-visible .st-val { visibility: hidden; }
.st-col:first-child .st-tip, .st-col:nth-child(2) .st-tip { left: 0; transform: none; } .st-col:last-child .st-tip, .st-col:nth-last-child(2) .st-tip { left: auto; right: 0; transform: none; }
.card .st-bars { margin-bottom: 26px; }
.st-svc { margin-top: 12px; } .st-svc-t { display: flex; gap: 10px; font-weight: 600; font-size: 14px; } .st-svc small { color: var(--muted); font-size: 12px; }
.st-track { height: 8px; margin: 6px 0 3px; border-radius: 4px; background: var(--soft); overflow: hidden; } .st-track i { display: block; height: 100%; border-radius: 4px; background: var(--ink); }
.st-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; align-items: end; height: 130px; margin-top: 10px; padding-bottom: 22px; }
.st-day { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.st-day i { display: block; margin: 0 22%; border-radius: 4px 4px 0 0; background: var(--ink); }
.st-day small { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-size: 11px; color: var(--muted); }
@media (max-width: 559px) { .st-bars { height: 160px; } .st-col:nth-child(odd) small { visibility: hidden; } .st-val { font-size: 10px; } }
.st-chart .card-h { flex-wrap: wrap; }
@media (max-width: 559px) { .st-kpi b { font-size: 21px; } .st-kpi { padding: 16px; } }

/* ---------- booking page: waiting list ---------- */
.pub-wait-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 10px; border: 0; border-radius: 12px; background: none; color: var(--brand-text, var(--accent)); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.pub-wait-link:hover { background: rgba(20,26,51,.05); }
.pub-wait-link .ic { width: 17px; height: 17px; flex: none; }
.pub-wait { padding-top: 18px; border-top: 1px solid var(--line); }
.pub-wait h3 { margin: 0 0 4px; } .pub-wait p { margin: 0; }

/* ---------- Premium finish (28 Nov 2026): grown-up and calm. Ink buttons that catch a reflection, a cooler paper background,
   Geist for everything bold, lighter weights, smaller corners, nothing bounces, wobbles or blinks.
   Flat colours only: every reflection is a flat translucent shape, never a gradient. Apricot stays the one accent. ---------- */
:root {
  --bg: #f3f2ee; --soft: #ebe9e4; --line: rgba(20,26,51,.09); --line2: rgba(20,26,51,.06);
  --r: 14px; --r-sm: 10px;
  --spring: cubic-bezier(.22,.8,.24,1);   /* no overshoot anywhere */
  --ink-2: #222a4a;
  --sh-card: 0 0 0 1px rgba(20,26,51,.06), 0 1px 1px rgba(20,26,51,.04), 0 4px 8px -4px rgba(20,26,51,.08), 0 18px 34px -18px rgba(20,26,51,.26), inset 0 1px 0 #fff;
  --sh-hover: 0 0 0 1px rgba(20,26,51,.09), 0 2px 2px rgba(20,26,51,.05), 0 12px 22px -10px rgba(20,26,51,.16), 0 30px 50px -26px rgba(20,26,51,.36), inset 0 1px 0 #fff;
  --sh-ink: 0 0 0 1px #0b0f24, 0 2px 0 #070a19, 0 10px 22px -10px rgba(20,26,51,.75), inset 0 1px 0 rgba(255,255,255,.2);
}

/* type: titles and everything bold in Geist, medium weights instead of black ones */
h1, h2 { font-weight: 650; letter-spacing: -.028em; } h1 { font-size: 28px; } h3 { font-weight: 600; }
.hero h1 { font-weight: 650; letter-spacing: -.03em; }
b, strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
p b, p strong, .note b, small b { font-family: inherit; font-weight: 650; letter-spacing: inherit; }
.btn, .chip, .seg button, .nav a, .tabbar a, .tabbar button, .pill, .badge, .slot, .f > span, .avatar, .tbl th, .demo-bar { font-family: var(--font-display); }
.kpi b { font-weight: 600; font-size: 28px; letter-spacing: -.03em; }
@media (max-width: 559px) { .kpi b { font-size: 22px; } }   /* two KPI cards side by side on a phone: amounts like CHF 1'302.52 must fit */
.sum-head b { font-weight: 600; } .sum-foot .big { font-weight: 650; letter-spacing: -.03em; }
.brandmark { font-weight: 650; } .totals .grand, .paper .ptot .grand { font-weight: 650; }
.paper .ptitle { font-weight: 650; letter-spacing: -.02em; } .paper .plogo, .pub-logo, .logo-ph { font-weight: 650; }
.ps-sec > h2, .ps-a-title h1, .ps-a-head.sm h1, .ps-b-name, .ps-b-mini h1, .ps-c-lh h2, .ps-c-brand h1, .ps-d-body .ps-sec > h2 { font-weight: 650; }
.ps-c-name h1, .ps-d-hero h1, .ps-d-top2 h1 { font-weight: 650; letter-spacing: -.045em; }

/* buttons: crisp key-cap edge; the dark ones catch light on their upper half and a glint passes on hover */
.btn { font-weight: 560; letter-spacing: -.005em; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(20,26,51,.11), 0 1px 2px rgba(20,26,51,.07), 0 4px 10px -6px rgba(20,26,51,.16), inset 0 -1px 0 rgba(20,26,51,.05), inset 0 1px 0 #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(20,26,51,.15), 0 2px 3px rgba(20,26,51,.08), 0 10px 18px -10px rgba(20,26,51,.28), inset 0 -1px 0 rgba(20,26,51,.05), inset 0 1px 0 #fff; }
.btn:active { transform: translateY(0) scale(.985); }
.btn.sm { border-radius: 9px; } .btn.lg { border-radius: 12px; }
.btn.ghost, .btn.ghost:hover, .btn.danger-ghost, .btn.danger-ghost:hover { box-shadow: none; }
.btn.primary { background: var(--ink); color: #fff; box-shadow: var(--sh-ink); }
.btn.primary:hover { background: var(--ink-2); filter: none; box-shadow: 0 0 0 1px #0b0f24, 0 2px 0 #070a19, 0 16px 28px -12px rgba(20,26,51,.8), inset 0 1px 0 rgba(255,255,255,.24); }
.btn.primary:active { transform: translateY(1px); box-shadow: 0 0 0 1px #0b0f24, 0 1px 0 #070a19, 0 6px 12px -8px rgba(20,26,51,.7), inset 0 1px 0 rgba(255,255,255,.14); }
.btn.brand { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 78%, #000), 0 2px 0 color-mix(in srgb, var(--brand) 60%, #000), 0 10px 22px -10px color-mix(in srgb, var(--brand) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.22); }
.btn.brand:active { transform: translateY(1px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 78%, #000), 0 1px 0 color-mix(in srgb, var(--brand) 60%, #000), inset 0 1px 0 rgba(255,255,255,.16); }
.btn.danger { background: #c8203f; box-shadow: 0 0 0 1px #9e1532, 0 2px 0 #8a112b, 0 10px 20px -10px rgba(209,33,74,.6), inset 0 1px 0 rgba(255,255,255,.22); }
.btn.danger:active { transform: translateY(1px); box-shadow: 0 0 0 1px #9e1532, 0 1px 0 #8a112b; }
.btn.primary::before, .btn.brand::before, .btn.danger::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; z-index: -1; background: rgba(255,255,255,.07); pointer-events: none; }
.btn.primary::after, .btn.brand::after { display: block; content: ""; position: absolute; inset: -20% auto -20% 0; width: 32%; z-index: -1; background: rgba(255,255,255,.12);
  transform: translateX(-170%) skewX(-22deg); transition: transform .75s var(--ease); pointer-events: none; }
.btn.primary:hover::after, .btn.brand:hover::after { transform: translateX(380%) skewX(-22deg); }
.btn.glass { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.14); backdrop-filter: none; }
.btn.glass:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), inset 0 1px 0 rgba(255,255,255,.2), 0 10px 20px -12px rgba(0,0,0,.5); }

/* the dark header on Start: a sheet of glass with two flat light reflections */
.hero { border-radius: 0 0 22px 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px -30px rgba(20,26,51,.6); }
@media (min-width: 900px) { .hero { border-radius: 20px; } }
.hero::before, .hero::after { display: block; content: ""; position: absolute; top: -50%; bottom: -50%; left: auto; height: auto; border-radius: 0; background: rgba(255,255,255,.035); transform: skewX(-24deg); pointer-events: none; z-index: 0; }
.hero::before { right: 8%; width: 30%; } .hero::after { right: 42%; width: 5%; background: rgba(255,255,255,.025); }
.summary { border-radius: 18px; } .sum-foot { border-radius: 0 0 18px 18px; background: #faf9f6; }

/* key figures: small ink tiles with a reflection, no hard 3D edge */
.kpi .kic, .kpi.k2 .kic, .kpi.k3 .kic, .kpi.k4 .kic { position: relative; overflow: hidden; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff;
  box-shadow: 0 0 0 1px #0b0f24, 0 6px 12px -6px rgba(20,26,51,.6), inset 0 1px 0 rgba(255,255,255,.2); }
.kpi .kic::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: rgba(255,255,255,.08); }

/* selected filters and days: ink with the same reflection (client pages keep the business colour) */
.chip { font-weight: 520; transition: box-shadow .2s, background .2s, color .2s; }
.chip:hover { transform: none; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(20,26,51,.3), 0 1px 2px rgba(20,26,51,.06); }
.chip:active { transform: scale(.98); }
.chip.on { isolation: isolate; background: var(--ink); color: #fff; animation: none; box-shadow: 0 0 0 1px #0b0f24, 0 6px 14px -8px rgba(20,26,51,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.chip.on::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; z-index: -1; background: rgba(255,255,255,.07); pointer-events: none; }
.chip.on:hover { color: #fff; }
.day.on, .owner .slot.on { background: var(--ink); color: #fff; transform: none; box-shadow: 0 0 0 1px #0b0f24, 0 8px 16px -10px rgba(20,26,51,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.day.on small { color: rgba(255,255,255,.7); } .day.on.has i { background: #fff; }
.day:hover:not(:disabled) { transform: translateY(-1px); }
.seg { border-radius: 11px; } .seg button { border-radius: 8px; font-weight: 550; }

/* navigation */
@media (min-width: 900px) { .side { background: #fbfaf8; backdrop-filter: none; box-shadow: 1px 0 0 var(--line); } }
.nav a { font-weight: 500; font-size: 14px; color: #3b4157; border-radius: 10px; }
.nav a.on { font-weight: 600; }
.brandmark i, .brandmark:hover i { transform: none; transition: none; }
.tabbar { border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 1px rgba(20,26,51,.07), inset 0 1px 0 #fff, 0 16px 36px -14px rgba(20,26,51,.35); }
.tabbar a, .tabbar button { font-weight: 520; }
.tabbar a.on { color: var(--ink); } .tabbar a.on .ic { color: var(--apricot-deep); filter: none; transform: none; }
.tabbar .fab { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.92), 0 0 0 6px rgba(20,26,51,.06), 0 14px 24px -10px rgba(20,26,51,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.tabbar .fab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; z-index: -1; background: rgba(255,255,255,.08); }
.tabbar .fab:hover .ic { transform: none; }

/* lists, names, badges: still and tidy */
.avatar { border-radius: 11px; font-weight: 600; font-size: 13px; background: #efeee9; }
.li:hover .avatar, .req:hover .avatar { transform: none; }
.req .thumbs img + img { transform: none; margin-left: -12px; }
.req:hover .thumbs img, .req:hover .thumbs img + img { transform: none; }
.srow:hover { transform: none; } .srow:hover .sic { transform: none; } .srow:hover > .ic:last-child { transform: translateX(2px); }
.pill { font-weight: 550; } .pill.info::before, .pill.warn::before { animation: none; }
.badge { animation: none; font-weight: 600; }
.ev:hover { transform: translateY(-1px); }
.tbl th { font-weight: 600; background: #faf9f6; } .tbl tbody tr:hover { background: rgba(20,26,51,.025); }

/* forms and windows */
.input, select.input, textarea.input { border-radius: 10px; }
.input:hover { box-shadow: inset 0 0 0 1px rgba(20,26,51,.28), inset 0 2px 3px rgba(20,26,51,.05); }
.f > span { font-weight: 550; }
.modal { border-radius: 20px 20px 0 0; }
@media (min-width: 640px) { .modal { border-radius: 18px; } }
.modal.doc { background: #efeee9; } .qr-box { background: #f7f6f2; }
.toast { border-radius: 12px; font-family: var(--font-display); }

/* documents: the paper lies flat with a clean shadow; the title keeps its width ("RECHNUNG" no longer breaks), the address wraps instead */
.paper, .paper:hover { transform: none; }
.paper { box-shadow: 0 0 0 1px rgba(20,26,51,.06), 0 2px 4px rgba(20,26,51,.04), 0 24px 48px -22px rgba(20,26,51,.32); }
.paper::after { display: none; }
.paper .ph > .row { flex: none; max-width: 62%; } .paper .ph > .row > div { min-width: 0; } .paper .pfrom { min-width: 0; }

/* ---------- Plain and professional (28 Nov 2026): no template giveaways. No coloured glows, no side stripes on cards,
   no rubber stamps, no shine sweeps, no pulsing or bobbing, no staggered fade-ins, no spaced capitals, no icons in tiles.
   Documents look like a Swiss business letter. Flat colours only. ---------- */

/* buttons: solid colour, a thin darker edge, a 1px light line on top, a small neutral shadow. No glow, no sheen, no sweep. */
.btn { border-radius: 8px; }
.btn:hover, .btn .ic, .btn:hover .ic { transform: none; }
.btn:active { transform: translateY(1px); }
.btn.sm { border-radius: 7px; } .btn.lg { border-radius: 9px; }
.btn.primary { box-shadow: 0 0 0 1px #0b0f24, 0 1px 2px rgba(20,26,51,.22), inset 0 1px 0 rgba(255,255,255,.14); }
.btn.primary:hover { box-shadow: 0 0 0 1px #0b0f24, 0 3px 8px -2px rgba(20,26,51,.32), inset 0 1px 0 rgba(255,255,255,.16); }
.btn.primary:active { box-shadow: 0 0 0 1px #0b0f24, inset 0 1px 2px rgba(0,0,0,.3); }
.btn.danger { background: #b42318; box-shadow: 0 0 0 1px #912018, 0 1px 2px rgba(20,26,51,.2), inset 0 1px 0 rgba(255,255,255,.14); }
.btn.danger:hover { background: #a01f15; filter: none; box-shadow: 0 0 0 1px #7a1a12, 0 3px 8px -2px rgba(20,26,51,.32), inset 0 1px 0 rgba(255,255,255,.14); }
.btn.danger:active { box-shadow: 0 0 0 1px #7a1a12, inset 0 1px 2px rgba(0,0,0,.3); }
.btn.brand { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 72%, #000), 0 1px 2px rgba(20,26,51,.2), inset 0 1px 0 rgba(255,255,255,.16); }
.btn.brand:hover { filter: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 66%, #000), 0 3px 8px -2px rgba(20,26,51,.32), inset 0 1px 0 rgba(255,255,255,.18); }
.btn.brand:active { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 66%, #000), inset 0 1px 2px rgba(0,0,0,.25); }
.btn.primary::before, .btn.brand::before, .btn.danger::before, .btn.primary::after, .btn.brand::after { display: none; }

/* selected filters, days and times: ink with a thin edge, no heavy shadow or sheen */
.chip.on { box-shadow: 0 0 0 1px #0b0f24, inset 0 1px 0 rgba(255,255,255,.12); }
.chip.on::before { display: none; }
.day.on, .owner .slot.on { box-shadow: 0 0 0 1px #0b0f24, inset 0 1px 0 rgba(255,255,255,.12); }
.slot.on { animation: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 72%, #000); }
.tabbar .fab::before { display: none; }

/* key figures: the icon sits on the card, not in a coloured tile */
.kpi .kic, .kpi.k2 .kic, .kpi.k3 .kic, .kpi.k4 .kic { width: 24px; height: 24px; border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; overflow: visible; }
.kpi .kic::before, .kpi::after { display: none; }

/* calendar week: plain blocks. Confirmed = ink, waiting for confirmation = dashed outline, site visit for a quote = outline,
   done = grey, blocked time = light grey. No side stripes, no gradients, no glow, no pop-in. */
.ev, .ev:hover { transform: none; animation: none; }
.ev { border-radius: 6px; background: var(--ink); color: #fff; border: 0; box-shadow: 0 0 0 1px #0b0f24, 0 1px 2px rgba(20,26,51,.2); transition: box-shadow .15s, background-color .15s; }
.ev:hover { background: var(--ink-2); box-shadow: 0 0 0 1px #0b0f24, 0 4px 10px -4px rgba(20,26,51,.45); }
.ev.pending, .ev.quote { background: #fff; color: var(--ink); border: 1px dashed rgba(20,26,51,.55); box-shadow: 0 1px 2px rgba(20,26,51,.08); }
.ev.quote { border-style: solid; border-color: rgba(20,26,51,.4); }
.ev.pending:hover, .ev.quote:hover { background: #fff; box-shadow: 0 4px 10px -4px rgba(20,26,51,.3); }
.ev.completed { background: #e6e4df; color: #475467; border: 0; box-shadow: none; }
.ev.block { background: #efeeea; color: #667085; border: 0; box-shadow: inset 0 0 0 1px rgba(20,26,51,.08); }
.ev.completed:hover, .ev.block:hover { background: #e0ded8; box-shadow: none; }
.week .wh.today b { box-shadow: none; }
.now-line { box-shadow: none; } .now-line::before { animation: none; }
/* calendar day list: white rows with a thin edge; "waiting" keeps its label */
.dv-ev, .dv-ev.pending { border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(20,26,51,.05), 0 6px 16px -10px rgba(20,26,51,.3); }
.dv-block { background: #efeeea; border-radius: 12px; }

/* status labels: no dots in front, no blinking */
.pill::before { display: none; }

/* pages appear at once: no staggered fade-in of every card and row */
.enter .main > *, .enter .pub-wrap > *, .enter .pub-hero .in, .enter .kpis > *, .enter .cols .stack > *, .enter .list > *, .enter .card.pad-0 > *,
.enter .ps-home h1, .enter .ps-home .ps-sec, .enter .ps-home .ps-c-list, .qitems tbody tr, .ph-list div { animation: none; }
.illo .confetti circle, .illo .badge, .illo.pop { animation: none; }

/* tables and help groups: normal-case headings instead of spaced capitals */
.tbl th { text-transform: none; letter-spacing: 0; font-size: 12.5px; color: #475467; }
.help-group > summary { text-transform: none; letter-spacing: 0; }

/* no frosted glass: solid bars and a plain dimmed backdrop */
.demo-bar { background: #10152b; backdrop-filter: none; }
.modal-wrap { background: rgba(11,18,34,.5); backdrop-filter: none; }
.toast { background: #141a33; backdrop-filter: none; } .toast.error { background: #b42318; }
.savebar { background: #fff; backdrop-filter: none; }
.tabbar { background: #fff; backdrop-filter: none; }

/* documents (invoice, quote, credit note, reminder): like a Swiss business letter. A plain title in normal case and ink,
   a flat logo, quiet labels, the total under one rule instead of a coloured bar, the status as a small plain label
   instead of a tilted rubber stamp, the message as plain text. The business colour stays only on the logo. */
.paper { border-radius: 2px; }
.paper .plogo { width: 44px; height: 44px; border-radius: 6px; box-shadow: none; font-size: 15px; font-weight: 600; }
.paper .ptitle { font-size: 22px; font-weight: 600; letter-spacing: -.015em; text-transform: none; color: var(--ink); margin: 0 0 1px; }
.paper .pto small, .paper .pdet small { text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 600; color: #667085; }
.paper th { text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 600; color: #475467; border-bottom: 1px solid #141a33; }
.paper td { border-bottom-color: #e6e7eb; }
.paper .pmsg { padding: 0; background: none; border: 0; border-radius: 0; }
.paper .pbank { padding: 0; background: none; border-radius: 0; }
.paper .pacc { background: none; color: var(--ink); border-radius: 4px; box-shadow: inset 0 0 0 1px #d0d5dd; }
.paper .ptot .grand { margin-top: 6px; padding: 8px 0 0; border-radius: 0; background: none; color: var(--ink); border-top: 1px solid #141a33; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.paper .ptot-wrap { align-items: flex-end; } .paper .ptot-wrap > div:first-child { justify-content: flex-start; }
.paper .stamp { transform: none; animation: none; opacity: 1; border: 1px solid currentColor; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
@media (max-width: 560px) { .paper .ptitle { font-size: 19px; } .paper .stamp { font-size: 12px; padding: 2px 8px; } .paper .ptot-wrap > div:first-child { justify-content: flex-start; } }
.preview-label { text-transform: none; letter-spacing: 0; }
.ps-d-l .pr { font-weight: 650; }

/* client booking pages: same simple flow, grown-up look. The business name is a heading, not a poster;
   time buttons are flat with a thin edge instead of a thick 3D bottom; no floating bubbles or heavy drop shadows.
   Each business keeps its own colour. */
.ps-d-hero h1 { font-size: clamp(32px, 8cqi, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.ps-c-name h1 { font-size: clamp(32px, 8cqi, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.ps-d-top2 h1 { font-size: clamp(26px, 7cqi, 34px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.ps-d-body .ps-sec > h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.ps-d-stamp { box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 2px 6px -2px rgba(0,0,0,.25); }
.ps-d-next { border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 10px 24px -14px rgba(0,0,0,.45); }
.ps-d-next:hover { transform: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 28px -14px rgba(0,0,0,.5); }
.ps-d-next:active { transform: translateY(1px); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ps-d-next b { font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.ps-d-next .ar { border-radius: 10px; box-shadow: 0 0 0 1px var(--brand-edge); }
.ps-chip { border-radius: 8px; }
.ps-chip:hover { transform: none; }
.ps-chip.on { box-shadow: 0 0 0 1px var(--brand-edge), inset 0 1px 0 rgba(255,255,255,.16); }
.ps-chip.more { background: #fff; box-shadow: inset 0 0 0 1px var(--ps-ln); }
.ps-svc-img { box-shadow: 0 0 0 1px rgba(20,26,51,.06); }

/* ---------- Colour logic (28 Nov 2026), taken from the logo: ink and white for text, buttons and selection;
   the logo's coral dot only as a small marker (new, today, now, where you are); status colours only where they mean
   something: green = done or positive, amber = waiting, red = problem or delete. No blue, no peach washes, no orange text. ---------- */
:root { --accent: var(--ink); --accent-soft: #efeee9; --bad: #b42318; --bad-soft: #fef3f2; --info: #3b4157; --info-soft: #efeee9; }

/* hover = a light grey wash and ink text, never orange */
a.li:hover, button.li:hover, .srow:hover, .setup a.step:hover, .req:hover, .svc:hover, .tbl tbody tr:hover, .nav a:hover, .btn.ghost:hover, .icon-btn:hover { background: rgba(20,26,51,.04); }
a.li:hover, button.li:hover, .setup a.step:hover, .nav a:hover, .svc:hover { transform: none; }
.svc:hover { padding-left: 18px; }
a.li:hover .li-t, .nav a:hover, .btn.ghost:hover, .icon-btn:hover, .back:hover { color: var(--ink); }
.nav a:hover .ic, .icon-btn:hover { transform: none; }
.day:hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(20,26,51,.2), 0 6px 12px -8px rgba(20,26,51,.35); }
.owner .slot:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(20,26,51,.35); }
.qrow:hover { box-shadow: inset 0 0 0 1px rgba(20,26,51,.18), 0 6px 14px -10px rgba(20,26,51,.3); }

/* links: ink and underlined, so they read as links without a second colour */
p a:not([class]), .note a:not([class]), small a:not([class]), .help-a a:not([class]) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(20,26,51,.35); text-underline-offset: 2px; }

/* "new" count = the logo's coral dot */
.badge { background: var(--apricot); color: var(--ink); }

/* neutral labels and notes (blue and peach gone); green, amber and red keep their meaning */
.pill.info, .pill.acc { background: #efeee9; color: #3b4157; }
.note { background: #f6f5f1; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.banner { color: var(--ink); }
.avatar { background: #efeee9; color: var(--ink); }

/* today and now share the coral marker */
.now-line, .now-line::before, .dv-now::before, .dv-now span { background: var(--apricot); }
.dv-now span { color: var(--ink); }

/* ---------- No orange in the app (28 Nov 2026, user: "green is always good for something approved, but the orange is strange").
   Ink is the one colour (selection, today, now, new, progress); green = approved / done / paid; red = problem / overdue / delete;
   waiting = neutral grey. The coral stays only in the logo itself. ---------- */
:root { --apricot: #141a33; --apricot-deep: #0b0f24; --grad: #141a33; --accent-2: #141a33; --warn: #475467; --warn-soft: #efeee9; }
.week .wh.today b, .rem-ic, .badge, .dv-now span { color: #fff; }
.note.warn { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.shell :focus-visible, .modal :focus-visible, .auth :focus-visible, .public :focus-visible { outline-color: rgba(20,26,51,.5); }

/* list rows: on hover the row lifts out of the list as a small white card (soft shadow, 1px up) and the arrow moves on */
a.li, button.li, .req, .srow, .svc { transition: background-color .18s, box-shadow .22s var(--spring), transform .22s var(--spring), border-color .18s; }
a.li:hover, button.li:hover, .req:hover, .srow:hover, .svc:hover { position: relative; z-index: 1; background: #fff; border-radius: 12px; border-top-color: transparent; transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(20,26,51,.08), 0 2px 4px rgba(20,26,51,.05), 0 12px 24px -12px rgba(20,26,51,.35); }
a.li:hover + *, button.li:hover + *, .req:hover + .req, .srow:hover + .srow, .svc:hover + .svc { border-top-color: transparent; }
a.li > .ic:last-child, button.li > .ic:last-child, .req > .ic:last-child, .svc > .ic:last-child { transition: transform .22s var(--spring); }
a.li:hover > .ic:last-child, button.li:hover > .ic:last-child, .req:hover > .ic:last-child, .svc:hover > .ic:last-child { transform: translateX(3px); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { a.li:hover, button.li:hover, .req:hover, .srow:hover, .svc:hover { transform: none; } }

/* ---------- Client pages: calm and serious (28 Nov 2026). One sharp grotesk (Geist) for all text, normal weights,
   smaller corners, crisp shadows, quiet time buttons; the business colour stays its identity. ---------- */
.public { --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-family: var(--font); letter-spacing: -.005em; }
.ps-ini { font-weight: 600; letter-spacing: -.02em; }
.ps-sec > p { font-size: 15px; }
.ps-d-hero > p { font-size: 16px; line-height: 1.5; opacity: .9; }
.ps-d-stamp { height: 48px; min-width: 48px; border-radius: 12px; } .ps-d-stamp .ps-ini { font-size: 16px; }
.ps-d .ps-ls { padding: 0; gap: 14px; background: none; box-shadow: none; }
.ps-d .ps-ls button { padding: 6px 0 4px; border-radius: 0; font-weight: 500; font-size: 13px; opacity: .72; }
.ps-d .ps-ls button.on { background: none; color: var(--on-brand); opacity: 1; box-shadow: inset 0 -2px 0 var(--on-brand); }
.ps-d-next .k { font-weight: 500; }
.ps-d-c, .ps-d .pub-card { border-radius: 14px; }
.ps-d-c { padding: 20px; box-shadow: 0 0 0 1px rgba(20,26,51,.07), 0 1px 2px rgba(20,26,51,.05), 0 14px 28px -18px rgba(20,26,51,.32); }
.ps-d-c h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.ps-d-c .pr, .ps-d-l .pr { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ps-d-l .ps-m { font-weight: 500; }
.ps-d-c p { font-size: 14px; line-height: 1.5; }
.ps-chip { min-height: 36px; padding: 0 12px; font-weight: 500; font-size: 13.5px; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgba(20,26,51,.16); }
.ps-chip:hover { box-shadow: inset 0 0 0 1px rgba(20,26,51,.5); }
.ps-chip.on { font-weight: 600; }
.ps-chip.more, .ps-chip.more:hover { padding: 0 6px; background: none; color: var(--ink); box-shadow: none; text-decoration: underline; text-decoration-color: rgba(20,26,51,.3); text-underline-offset: 3px; }
.ps-chip.more:hover { text-decoration-color: var(--ink); }
@media (min-width: 900px) { .ps-d-split { grid-template-columns: minmax(380px, 4fr) minmax(0, 8fr); } }
/* booking steps: selected day without a coloured glow, labels in normal case */
.public .day.on, .public .chip.on { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 70%, #000); }
.public .day:hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(20,26,51,.35); }
.public .chip:hover { box-shadow: inset 0 0 0 1px rgba(20,26,51,.45); color: var(--ink); }
.public .day small, .public .slot-group h4 { text-transform: none; letter-spacing: 0; }
/* Menu reflection "glass top" (29.11.2026): the selected menu item looks like polished glass – bright top edge, faintly darker lower half. Flat colours, no motion. */
.side .nav a.on, .tabbar a.on { isolation: isolate; }
.side .nav a.on { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(20,26,51,.06), 0 0 0 1px rgba(20,26,51,.08), 0 1px 0 rgba(20,26,51,.06), 0 10px 18px -12px rgba(20,26,51,.4); }
.side .nav a.on::after, .tabbar a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; z-index: -1; border-radius: 0 0 10px 10px; background: rgba(20,26,51,.05); pointer-events: none; }
.tabbar a.on { background: rgba(20,26,51,.045); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20,26,51,.05); }
.tabbar a.on::after { border-radius: 0 0 14px 14px; }
/* skip link for keyboard users: hidden until the Tab key reaches it */
.skip { position: fixed; top: 8px; left: 8px; z-index: 2147483001; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font: 600 14px/1.2 var(--font-display); text-decoration: none; box-shadow: var(--sh-card); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- Client pages without own cover or logo (28 Nov 2026). Poster look: a calm photo for the trade (img/covers) fills the poster
   instead of a big empty colour block; name and next free time on a white card; the business colour stays on the buttons and the monogram.
   Without a logo the initials become a monogram: a fine ring in the business colour inside the white sign. ---------- */
.ps-d-hero.ps-ph { position: relative; isolation: isolate; background: var(--ink); }
.ps-d-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ps-d-bg img, .ps-d-band > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-ph img[src$="neutral.webp"] { object-position: 66% 50%; } .ps-ph img[src$="therapy.webp"] { object-position: 40% 50%; } .ps-ph img[src$="hair.webp"] { object-position: 45% 50%; }
.ps-d-card { margin-top: 150px; padding: 22px 20px 20px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--ps-sh); }
.ps-d-card h1 { margin: 0; padding: 0; color: var(--ink); }
.ps-d-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ps-mut); max-width: 40ch; }
.ps-d-card .ps-d-next { margin-top: 18px; box-shadow: inset 0 0 0 1px rgba(20,26,51,.14); }
.ps-d-card .ps-d-next:hover { box-shadow: inset 0 0 0 1px rgba(20,26,51,.4); }
.ps-d-card .ps-d-next:active { box-shadow: inset 0 0 0 1px rgba(20,26,51,.4); }
/* on the photo the language switch is a small white pill */
.ps-d .ps-ph .ps-ls { padding: 3px; gap: 2px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 6px 16px -8px rgba(0,0,0,.45); }
.ps-d .ps-ph .ps-ls button { padding: 7px 10px; border-radius: 999px; color: var(--ps-mut); opacity: 1; }
.ps-d .ps-ph .ps-ls button.on { background: var(--ink); color: #fff; box-shadow: none; }
/* pages after the booking page: the photo as a band, the name below it */
.ps-d-top2.ps-ph { padding: 0 0 4px; background: none; color: var(--ink); }
.ps-d-band { position: relative; isolation: isolate; padding: 16px 0 64px; background: var(--ink); }
.ps-d-band > img { position: absolute; inset: 0; z-index: -1; }
.ps-d-top2.ps-ph h1 { margin: 20px 0 0; color: var(--ink); }
/* monogram */
.ps-mono { letter-spacing: .04em; }
.ps-d-stamp:has(> .ps-mono) { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px color-mix(in srgb, var(--brand) 55%, #fff), 0 0 0 1px rgba(0,0,0,.06), 0 2px 6px -2px rgba(0,0,0,.25); }
.ps-ph .ps-d-stamp:has(> .ps-mono) { background: var(--brand); box-shadow: inset 0 0 0 3px var(--brand), inset 0 0 0 4px color-mix(in srgb, var(--on-brand) 55%, var(--brand)), 0 0 0 1px rgba(0,0,0,.08), 0 8px 18px -8px rgba(0,0,0,.5); }
.ps-ph .ps-d-stamp .ps-mono { color: var(--on-brand); }
.ps-plate:has(> .ps-mono) { box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px color-mix(in srgb, var(--brand) 55%, #fff), var(--ps-sh); }
.ps-b-logo:has(> .ps-mono) { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px color-mix(in srgb, var(--brand) 55%, #fff), 0 2px 6px rgba(10,14,30,.2); }
@media (min-width: 900px) {
  .ps-d-card { margin-top: auto; max-width: 480px; padding: 28px 28px 24px; }
  .ps-d-band { padding: 20px 0 96px; }
}
@media (min-width: 900px) and (min-height: 720px) { .ps-d-hero.ps-ph { position: sticky; } }
/* Booking page (poster style) on a computer: compact, fits one screen where it can (29.11.2026). The right side uses its full width
   (3 cards per row when there is room), tighter gaps, the footer on one line. */
@media (min-width: 900px) {
  .ps-d-body { max-width: 1120px; padding: 28px 36px 20px; }
  .ps-d-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
  .ps-d-body .ps-sec { margin-top: 26px; } .ps-d-body > .ps-sec:first-child { margin-top: 0; }
  .ps-d-body .ps-sec > p { margin: 4px 0 14px; }
  .ps-d-c { padding: 16px 18px 18px; } .ps-d-c p { margin-top: 6px; } .ps-d-c .f { padding-top: 12px; }
  .ps-d-contact { margin-top: 22px; }
  .ps-d .ps-vat { margin-top: 16px; padding: 0; text-align: left; }
  .ps-d .pub-foot { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 14px; padding: 14px 0 0; }
  body:not(.mode-server) .public.ps-d { min-height: 0; } body:not(.mode-server) .ps-d-hero, body:not(.mode-server) .ps-d-hero.hasph { min-height: calc(100vh - 39px); }   /* demo: the photo panel plus the demo bar fit one screen */
}

/* ---------- No typical-AI look (29 Nov 2026). The list of banned patterns is in CLAUDE.md ("No typical-AI look").
   Here: nothing jumps, tilts or zooms on hover (a click still gives a small press), no coloured glows, no decorative
   light bands, no staggered fade-in of time slots, no tilted cards in look B, no spaced capitals, and no initials
   tile as a fake logo: a business without a logo shows its name in plain type instead. ---------- */
a.card:hover, .card.lift:hover, .day:hover:not(:disabled), .slot:hover, .pub-svc:hover, .uploader:hover, .uploader:hover .ic,
.ps-opt:hover, .ps-chip:hover, .ps-d-next:hover, .ev:hover, .demo-bar a:hover, .demo-bar button:hover, .wl-prev:hover .wl-phone,
.photos button:hover, .ph-list button:hover, .qr-box:hover canvas, .pub-hero:hover .pub-logo, a.brandmark:hover img { transform: none; }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.pub-svc:hover { box-shadow: 0 0 0 1px rgba(20,26,51,.1), 0 12px 24px -16px rgba(20,26,51,.35); }
.hero::before, .hero::after { display: none; }
.slot { animation: none; }
.ps-b-print, .ps-b-card, .ps-b-mini, .ps-thumb-b i { transform: none; }
.ps-b-cf, .ps-b-cf *, .ps-c-kick, .ps-c dt, .ps-c .pub-foot, .ps-c .ps-flinks, .ps-c .ps-flinks * { text-transform: none; letter-spacing: 0; }
.ps-d-stamp:has(> .ps-mono), .ps-plate:has(> .ps-mono), .ps-b-logo:has(> .ps-mono), .ps-c-logo:has(> .ps-mono) { display: none; }
.ps-d-top:has(.ps-mono) .ps-ls { margin-left: auto; }
.side .biz > .avatar:not(.avatar-logo), .paper .plogo, .wl-mark:not(:has(img)) { display: none; }

/* ---------- Premium documents (3 Dec 2026): quotes, invoices, credit notes, reminders and agreements as one calm A4 sheet.
   Two shared columns (letterhead | sender, title | recipient, amount | dates, payment | bank details), so every right-hand
   block starts on the same line. Ink on white, fine hairlines, Geist for the title and the amounts, figures in columns.
   The business colour appears once: the small dot after the title. The QR payment part hangs at the foot of the sheet. ---------- */
.paper { --pp-mut: #565d72; --pp-soft: #667085; --pp-ln: #e4e6eb; container-type: inline-size; padding: 46px 50px 30px; border-radius: 2px;
  font-size: 13px; line-height: 1.55; color: var(--ink); font-variant-numeric: tabular-nums; }
.paper .pgrid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
.paper .phead { padding-bottom: 34px; }
.paper .pbrand { min-width: 0; }
.paper .plogo-img { display: block; max-width: 200px; max-height: 60px; object-fit: contain; object-position: left center; }
.paper .pname { display: block; font: 650 20px/1.2 var(--font-display); letter-spacing: -.025em; color: var(--ink); overflow-wrap: anywhere; }
.paper .pfrom { text-align: left; font-size: 11.5px; line-height: 1.6; color: var(--pp-mut); overflow-wrap: anywhere; }
.paper .pfrom b { font: 600 12px/1.5 var(--font-display); letter-spacing: -.005em; color: var(--ink); }
.paper .pintro { padding-bottom: 28px; }
.paper .pdoc { min-width: 0; }
.paper .ptitle { margin: 0; font: 600 34px/1.05 var(--font-display); letter-spacing: -.035em; color: var(--ink); text-transform: none; }
.paper .pdot { display: inline-block; width: .19em; height: .19em; margin-left: .06em; border-radius: 50%; background: var(--doc, var(--ink)); box-shadow: inset 0 0 0 1px rgba(20,26,51,.08); }
.paper .pnum { margin-top: 8px; font-size: 13px; color: var(--pp-mut); }
.paper .pstate { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 3px 10px 3px 8px; border-radius: 999px; background: #eff0f3; color: #475467;
  font-size: 11.5px; font-weight: 600; line-height: 1.4; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.paper .pstate::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.paper .pstate.paid { background: var(--ok-soft); color: var(--ok); } .paper .pstate.void { background: var(--bad-soft); color: var(--bad); }
.paper .pto { min-width: 0; padding-top: 4px; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.paper .pto small, .paper .pdue small, .paper .ppay small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pp-soft); }
.paper .pto b { font: 600 15px/1.4 var(--font-display); letter-spacing: -.01em; }
.paper .pcontact { display: block; margin-top: 6px; font-size: 11.5px; color: var(--pp-mut); }
.paper .pfacts { align-items: end; margin-bottom: 28px; padding: 18px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--pp-ln); }
.paper .pdue b { display: block; font: 600 32px/1.1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.paper .pdates, .paper .pbank { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 16px; margin: 0; padding: 0; background: none; border-radius: 0; font-size: 12.5px; }
.paper .pdates dt, .paper .pbank dt { color: var(--pp-mut); }
.paper .pdates dd, .paper .pbank dd { margin: 0; text-align: right; font-weight: 600; font-family: inherit; color: var(--ink); overflow-wrap: anywhere; }
.paper .pbank dd.piban { white-space: nowrap; overflow-wrap: normal; }   /* the IBAN stays on one line (the label wraps instead) */
.paper .pmsg { max-width: 64ch; margin: 0 0 26px; padding: 0; background: none; border: 0; border-radius: 0; } .paper .pmsg p { margin: 0 0 8px; } .paper .pmsg p:last-child { margin: 0; }
.paper .pitems { width: 100%; margin: 0 0 4px; border-collapse: collapse; font-size: 13px; }
.paper .pitems th { padding: 0 0 9px; border-bottom: 1px solid var(--ink); text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pp-soft); }
.paper .pitems td { padding: 12px 0; border-bottom: 1px solid var(--pp-ln); vertical-align: top; overflow-wrap: anywhere; }
.paper .pitems td:first-child { padding-right: 12px; font-weight: 500; }
.paper .pitems .r { padding-left: 16px; text-align: right; white-space: nowrap; } .paper .pitems td.r:last-child { font-weight: 600; }
.paper .pq { display: none; }
.paper .psum { margin-bottom: 30px; padding-top: 10px; }
.paper .prow { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; } .paper .prow > span:first-child { color: var(--pp-mut); } .paper .prow .num { white-space: nowrap; }
.paper .pgrand { margin: 8px 0 4px; padding-top: 12px; border-top: 1.5px solid var(--ink); font: 600 18px/1.3 var(--font-display); letter-spacing: -.02em; }
.paper .pgrand > span:first-child, .paper .pstrong > span:first-child { color: var(--ink); } .paper .pstrong { font-weight: 600; }
.paper .pbody { margin: 0 0 26px; }
.paper .pfoot { margin: 0; padding-top: 22px; border-top: 1px solid var(--pp-ln); font-size: 12px; line-height: 1.55; color: var(--pp-mut); }
.paper .pfoot p { margin: 0 0 6px; }
.paper .ppay { margin-bottom: 18px; } .paper .ppay p { margin: 0 0 4px; } .paper .ppay p b { color: var(--ink); font-weight: 600; } .paper .pbank { font-size: 11.5px; }
.paper .pnote { color: var(--ink); }
.paper .plegal, .paper .pfoot > p.tiny, .paper .pfoot > p.small.muted:last-child { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--pp-ln); font-size: 10.5px; line-height: 1.5; color: var(--pp-soft); }
@container (max-width: 520px) {
  .paper .pgrid { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .paper .psum > div:first-child, .paper .pfacts > div:empty { display: none; }
  .paper .ptitle { font-size: 28px; } .paper .pdue b { font-size: 28px; } .paper .phead { padding-bottom: 26px; }
  .paper .pitems th:nth-child(2), .paper .pitems td:nth-child(2), .paper .pitems th:nth-child(3), .paper .pitems td:nth-child(3) { display: none; }
  .paper .pq { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--pp-mut); }
}
@media (max-width: 560px) { .paper { padding: 26px 20px 20px; } }
/* the QR payment part is the tear-off foot of the same sheet (its own dashed cut line and scissors are in the slip) */
.paper:has(+ .qrbill-page) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.paper + .qrbill-page { position: relative; margin-top: 0; }   /* painted after the sheet, so the sheet's edge does not show at the join */
.paper + .qrbill-page .qrbill { border-radius: 0 0 2px 2px; clip-path: inset(0 -80px -80px -80px); box-shadow: 0 0 0 1px rgba(20,26,51,.06), 0 2px 4px rgba(20,26,51,.04), 0 24px 48px -22px rgba(20,26,51,.32); }
.print-measure { position: absolute; left: -10000px; top: 0; width: 182mm; visibility: hidden; pointer-events: none; }
.print-measure .paper { padding: 0 !important; box-shadow: none !important; }
/* the measuring copy gets the A4 spacing of the print rules below */
.print-measure .paper .phead { padding-bottom: 18px; } .print-measure .paper .pintro { padding-bottom: 12px; } .print-measure .paper .pcontact { display: none; }
.print-measure .paper .ptitle { font-size: 26px; } .print-measure .paper .pnum { margin-top: 4px; } .print-measure .paper .pstate { margin-top: 8px; }
.print-measure .paper .pfacts { margin-bottom: 14px; padding: 11px 0; } .print-measure .paper .pdue b { font-size: 26px; }
.print-measure .paper .pitems td { padding: 9px 0; } .print-measure .paper .psum { margin-bottom: 16px; padding-top: 6px; } .print-measure .paper .pgrand { margin-top: 6px; padding-top: 8px; font-size: 16px; }
.print-measure .paper .pmsg, .print-measure .paper .pbody { margin-bottom: 18px; } .print-measure .paper .pfoot { padding-top: 14px; } .print-measure .paper .ppay { margin-bottom: 8px; } .print-measure .paper .plegal { margin-top: 10px; padding-top: 8px; }
@media print {
  body.printing .modal-wrap { padding: 0 !important; animation: none !important; }   /* no fade-in or frame on paper */
  .paper { padding: 0 !important; border-radius: 0; box-shadow: none !important; }
  .paper .pitems tr, .paper .psum, .paper .ppay, .paper .pfacts { break-inside: avoid; }
  /* on A4 the sheet is more compact, so a usual invoice leaves room for the QR payment part on the same page */
  .paper .phead { padding-bottom: 18px; } .paper .pintro { padding-bottom: 12px; } .paper .pcontact { display: none; }
  .paper .ptitle { font-size: 26px; } .paper .pnum { margin-top: 4px; } .paper .pstate { margin-top: 8px; }
  .paper .pfacts { margin-bottom: 14px; padding: 11px 0; } .paper .pdue b { font-size: 26px; }
  .paper .pitems td { padding: 9px 0; } .paper .psum { margin-bottom: 16px; padding-top: 6px; } .paper .pgrand { margin-top: 6px; padding-top: 8px; font-size: 16px; }
  .paper .pmsg, .paper .pbody { margin-bottom: 18px; } .paper .pfoot { padding-top: 14px; } .paper .ppay { margin-bottom: 8px; } .paper .plegal { margin-top: 10px; padding-top: 8px; }
  .qrbill-page { height: 296mm; }
  .paper + .qrbill-page .qrbill { clip-path: none; box-shadow: none; }
  /* short enough (js/docs.js measures before printing): the QR payment part at the foot of the same A4 page, as on Swiss invoices */
  .qr-same { page: qrbill; display: flex; flex-direction: column; min-height: 296mm; }
  .qr-same > .paper { padding: 14mm 14mm 0 !important; }
  .qr-same > .qrbill-page { break-before: auto; height: auto; margin-top: auto; }
}
