/* Shared base of the /app pages (Calm premium): tokens, frame, buttons, tables, panels, phone frame.
   Loaded first on Clients, Services, Team, Reports, Settings, Look and Chat; page files add only their own rules.
   Bookings and Calendar still carry their own full stylesheets (older drafts with different rules). */
/* Calm premium CSS of docs/design-drafts/services-calm-premium.html (page: services). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

/* ---------- shared structure (same as the calendar and bookings drafts) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 14px/1.45 var(--font); font-variant-numeric: tabular-nums lining-nums; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.grow { flex: 1; }
kbd { font: 500 11px/1 var(--font); padding: 4px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink-2); background: var(--sheet-2); white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; }

/* controls */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-m); background: var(--seg-bg); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: calc(var(--r-m) - 3px); color: var(--ink-2); font-weight: 500; font-size: 13px; white-space: nowrap; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--ink); box-shadow: var(--sh-1); }
.seg button small { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.seg--full { display: flex; }
.seg--full button { flex: 1; }
.seg .ico { width: 16px; height: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--sheet); color: var(--ink); font-weight: 500; font-size: 13.5px; white-space: nowrap; transition: background var(--fast) var(--ease), transform var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.btn:hover { background: var(--sheet-2); }
.btn:active { transform: scale(.98); }
.btn--p { background: var(--btn); border-color: var(--btn); color: var(--on-btn); font-weight: 600; }
.btn--p:hover { background: var(--btn-h); border-color: var(--btn-h); }
.btn--q { background: transparent; }
.ib { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-m); color: var(--ink-2); transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.ib:hover { background: var(--sheet-2); color: var(--ink); }
.av { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); background: var(--sheet-2); border: 1px solid var(--line); }
.av--me { color: var(--on-avatar); background: var(--avatar); border-color: transparent; }
.av--s { width: 24px; height: 24px; font-size: 9.5px; }
.stack { display: inline-flex; flex: none; }
.stack .av + .av { margin-left: -7px; }
.stack .av { background: var(--app-bg); }
.link { min-height: 40px; padding: 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; border-radius: var(--r-s); white-space: nowrap; }
.link:hover { color: var(--ink); text-decoration-color: currentColor; }
.link--d:hover { color: var(--danger); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.c1 { --c: var(--c1); }
/* on/off switch: ink when on, hollow when off; the word next to it carries the state too */
.sw { position: relative; width: 36px; height: 20px; flex: none; border-radius: 999px; background: transparent; border: 1.5px solid var(--ink-3); transition: background var(--mid) var(--ease), border-color var(--mid) var(--ease); }
.sw::before { content: ""; position: absolute; inset: -12px; }
.sw::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); transition: transform var(--mid) var(--ease), background var(--mid) var(--ease); }
.sw[aria-checked="true"] { background: var(--btn); border-color: var(--btn); }
.sw[aria-checked="true"]::after { transform: translateX(16px); background: var(--on-btn); }
.sw:disabled { opacity: .4; cursor: not-allowed; }

/* app frame */
.app { position: relative; display: grid; grid-template-columns: 248px minmax(0, 1fr) 400px; grid-template-rows: auto 1fr; grid-template-areas: "side top top" "side main panel"; background: var(--app-bg); isolation: isolate; }
.app.no-panel { grid-template-areas: "side top top" "side main main"; }
.app.no-panel .panel { display: none; }
.side { grid-area: side; display: flex; flex-direction: column; gap: 24px; padding: 24px 14px 14px; background: var(--side-bg); border-right: 1px solid var(--line); }
.side__in { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; height: calc(100vh - 48px); max-height: 860px; }
.top { grid-area: top; display: flex; align-items: flex-end; gap: 12px; padding: 28px 32px 20px; min-width: 0; }
.main { grid-area: main; min-width: 0; min-height: 70vh; display: flex; flex-direction: column; container: main / inline-size; }
.panel { grid-area: panel; display: flex; flex-direction: column; background: var(--panel-bg); min-width: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); animation: panel-in var(--slow) var(--ease) both; position: sticky; top: 0; align-self: start; height: 100vh; }
@keyframes panel-in { from { opacity: 0; transform: translateX(16px); } }

/* sidebar */
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; min-height: 44px; }
.logo { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; color: var(--logo); }
.logo svg { width: 100%; height: 100%; }
.brand__tx { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-weight: 700; letter-spacing: -.01em; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav__i { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: var(--r-m); color: var(--ink-2); font-weight: 500; white-space: nowrap; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.nav__i:hover { background: var(--nav-h); color: var(--ink); }
.nav__i.is-cur { background: var(--nav-on); color: var(--ink); font-weight: 600; }
.nav__i.is-cur::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 2px; background: var(--ink); }
.nav__n { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-align: center; color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.side__foot { display: flex; align-items: center; gap: 8px; }
.powered { font-size: 12px; color: var(--ink-3); }

/* top bar */
.top__date { min-width: 0; }
.top .eyebrow { margin-bottom: 6px; }
.top h1 { font: var(--title); letter-spacing: var(--title-ls); white-space: nowrap; }
.search { display: flex; align-items: center; gap: 8px; width: 320px; min-height: 40px; padding: 0 8px 0 12px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--field); color: var(--ink-3); transition: border-color var(--fast) var(--ease); }
.search:hover { border-color: var(--ink-3); }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; }
.search input::placeholder { color: var(--ink-3); opacity: 1; }
.userwrap { position: relative; }
.user { display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 4px; border-radius: var(--r-m); color: var(--ink-3); }
.user .ico { width: 14px; height: 14px; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 248px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--r-l); background: var(--pop-bg); border: 1px solid var(--line); box-shadow: var(--sh-2); animation: pop-in var(--mid) var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } }
.menu__name { font-weight: 600; padding: 0 2px 4px; display: flex; justify-content: space-between; align-items: baseline; }
.menu__name small { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.menu__i { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 8px; border-radius: var(--r-s); color: var(--ink-2); font-weight: 500; text-align: left; }
.menu__i:hover { background: var(--sheet-2); color: var(--ink); }

/* filter row */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0 32px 16px; }
.hintline { font-size: 12.5px; color: var(--ink-3); }

/* services table: the narrow set of columns is the default, so an open panel never cuts a column */
.tbl { --cols: 20px minmax(0, 1fr) 58px 62px 52px 36px; border-top: 1px solid var(--line); }
.tr, .thead { display: grid; grid-template-columns: var(--cols); column-gap: 12px; align-items: center; padding: 0 24px 0 20px; }
.thead { position: sticky; top: 0; z-index: 5; height: 36px; background: var(--app-bg); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.th--r { text-align: right; }
.tbl .c-w, .tbl .s-w, .r__lbl { display: none; }
.tbl .s-due { display: block; white-space: normal; color: var(--ink-2); } /* Clients > Due: why the client is due */
.tbl .s-due[hidden] { display: none; }
/* Services of a one-person business: no "who does it" column (the fifth). */
.tbl--nostaff { --cols: 20px minmax(0, 1fr) 58px 52px 36px; }
.tbl.tbl--nostaff .thead > :nth-child(5), .tbl.tbl--nostaff .tr > :nth-child(5) { display: none; }
.grp.is-shut .tr { display: none; }
.tr { --rowbg: var(--app-bg); position: relative; min-height: 60px; background: var(--rowbg); border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background var(--fast) var(--ease); }
.tr:hover { --rowbg: var(--sheet-2); }
.tr.is-open { --rowbg: var(--sheet-2); box-shadow: inset 2px 0 0 var(--focus); }
.td { min-width: 0; display: flex; align-items: center; gap: 10px; }
.grip { display: grid; place-items: center; width: 20px; height: 36px; border-radius: 4px; color: var(--ink-3); cursor: grab; opacity: .5; transition: opacity var(--fast) var(--ease); }
.tr:hover .grip, .grip:focus-visible { opacity: 1; color: var(--ink-2); }
.r__svc { align-items: flex-start; gap: 10px; }
.r__svc .dot { margin-top: 7px; }
.r__2 { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.35; }
.r__name { max-width: 100%; font-weight: 600; font-size: 13.5px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 3px; }
.r__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.tr small { max-width: 100%; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r__price { justify-content: flex-end; font-weight: 600; white-space: nowrap; }
.r__lbl { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r__act { position: relative; }
.r__act .ib { width: 36px; height: 36px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.tag .ico { width: 15px; height: 15px; color: var(--ink-3); }
.tr--hid .r__name, .tr--hid .r__price { font-weight: 500; color: var(--ink-2); }
.tr--hid .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.nomatch { padding: 28px 32px; color: var(--ink-2); }
.tfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 32px 28px; font-size: 12.5px; color: var(--ink-3); }
@container main (min-width: 940px) {
	.tbl { --cols: 20px minmax(0, 1.5fr) 96px 64px 156px 126px 104px 36px; }
	.tbl--nostaff { --cols: 20px minmax(0, 1.5fr) 96px 64px 126px 104px 36px; }
	.tr, .thead { column-gap: 16px; padding: 0 28px 0 24px; }
	.tbl .td.c-w { display: flex; }
	.tbl .thead .c-w, .r__lbl { display: block; }
	.tbl .s-w { display: inline; }
	.tbl .s-n { display: none; }
}

/* edit panel */
.phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 18px 14px 28px; }
.panel__name { font: 700 22px/1.2 var(--font); letter-spacing: -.025em; margin-top: 4px; overflow-wrap: anywhere; }
.pbody { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 28px 24px; }
.pfoot { display: flex; align-items: center; gap: 8px; padding: 14px 28px 14px 20px; border-top: 1px solid var(--line); background: var(--panel-bg); }
.pform { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__l { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.hint { font-size: 12.5px; color: var(--ink-3); }
.err { font-size: 12.5px; font-weight: 500; color: var(--danger); }
.inp, textarea { width: 100%; min-height: 40px; padding: 0 12px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; transition: border-color var(--fast) var(--ease); }
.inp:hover, textarea:hover { border-color: var(--ink-3); }
.inp[aria-invalid="true"] { border-color: var(--danger); }
textarea { padding: 10px 12px; resize: none; line-height: 1.5; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.affix { position: relative; }
.affix span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.affix .inp { padding-right: 28px; }
.staffl { border-top: 1px solid var(--line); }
.staffl label { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); cursor: pointer; }
.staffl input { width: 16px; height: 16px; margin: 0 2px 0 0; accent-color: var(--btn); cursor: pointer; }
.staffl b { font-weight: 500; white-space: nowrap; }
.staffl small { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.staffl input:not(:checked) ~ b { color: var(--ink-2); }
.swrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); }
.swrow > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.swrow b { font-weight: 600; font-size: 13.5px; }
.swts { display: flex; gap: 14px; padding: 4px 2px; }
.swt { width: 28px; height: 28px; border-radius: 50%; background: var(--c); transition: box-shadow var(--fast) var(--ease); }
.swt[aria-checked="true"] { box-shadow: 0 0 0 2px var(--panel-bg), 0 0 0 4px var(--ink); }
/* own colour: a rainbow bubble that opens the full colour picker; once an own colour is chosen it shows inside */
.swt--own { position: relative; display: inline-block; flex: none; background: conic-gradient(from 210deg, #ff5f5f, #ffb347, #f7e05a, #63d07a, #4fc3f7, #6f7bff, #c86bff, #ff5f5f); }
.swt--own input { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.swt--own:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.swt__in { position: absolute; inset: 5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; opacity: 0; transform: scale(.4); transition: opacity var(--fast) var(--ease), transform var(--mid) var(--ease); pointer-events: none; }
.swt--own[aria-checked="true"] .swt__in { opacity: 1; transform: none; }

/* confirmation toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 14px; border-radius: var(--r-l); background: var(--btn); color: var(--on-btn); box-shadow: var(--sh-3); font-size: 13.5px; font-weight: 500; white-space: nowrap; animation: toast-in var(--slow) var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.toast .ico { width: 16px; height: 16px; stroke-width: 2; }
.toast > span { padding-right: 6px; }
.toast button { min-height: 32px; padding: 0 10px; border-radius: var(--r-s); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.toast button:hover { background: color-mix(in srgb, var(--on-btn) 16%, transparent); }
.toast button:focus-visible { outline-color: var(--on-btn); outline-offset: -2px; }

/* empty and loading */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 72px 24px 80px; border-top: 1px solid var(--line); }
.empty__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-3); }
.empty__ico .ico { width: 22px; height: 22px; }
.empty h3 { font: 700 19px/1.25 var(--font); letter-spacing: -.02em; }
.empty p { max-width: 400px; color: var(--ink-2); }
.empty__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.load { border-top: 1px solid var(--line); }
@keyframes sk { to { transform: translateX(100%); } }

/* phone */

.ex figcaption { font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.phone { box-sizing: content-box; width: 390px; height: 800px; border: 10px solid var(--bezel); border-radius: 46px; overflow: hidden; background: var(--app-bg); position: relative; }
.ph { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--app-bg); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; flex: none; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.ag__sec { position: sticky; top: 0; z-index: 2; display: flex; align-items: baseline; gap: 8px; margin: 0 -12px; padding: 12px 16px 8px; background: var(--app-bg); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.ag__sec b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ph .empty { border: 0; padding: 56px 20px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px 14px; background: var(--tab-bg); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; font-size: 10.5px; font-weight: 500; color: var(--ink-3); border-radius: var(--r-m); }
.tab .ico { width: 22px; height: 22px; }
.tab.is-cur { color: var(--ink); }
.tab--p .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--btn); color: var(--on-btn); stroke-width: 2; }
.tab--p { color: var(--ink-2); gap: 1px; }
/* edit as a full-screen sheet */
.sheet { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; background: var(--pop-bg); animation: sheet-in var(--slow) var(--ease) both; }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
.sheet .inp, .sheet textarea { font-size: 16px; min-height: 48px; }
.sheet .staffl label { min-height: 52px; }
.sheet .link { align-self: flex-start; min-height: 44px; padding: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* responsive behaviour of the mock */
@media (max-width: 1240px) {
	.app { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "side top" "side main"; }
	.app.no-panel { grid-template-areas: "side top" "side main"; }
	.side { padding-left: 12px; padding-right: 12px; }
	.side__in { align-items: center; }
	.brand__tx, .nav__i span, .powered { display: none; }
	.nav__i { width: 44px; justify-content: center; padding: 0; }
	.nav__i.is-cur::before { left: -12px; }
	.panel { position: fixed; top: 0; right: 0; bottom: 0; height: auto; align-self: stretch; width: min(400px, 100%); z-index: 20; background: var(--pop-bg); box-shadow: var(--sh-3); border-top: 0; }
	.search { width: 240px; }
}
@media (max-width: 1000px) { .top { flex-wrap: wrap; } }
@media (max-width: 760px) {
	.desk { display: none; }
	.ex { width: 100%; }
	.ex figcaption { display: none; }
	.phone { box-sizing: border-box; width: 100%; height: calc(100dvh - 51px); min-height: 560px; border: 0; border-radius: 0; }
	.toast { bottom: 96px; }
}

/* ---------- Draft B "Calm premium": tokens (unchanged) ---------- */
:root {
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--title: 700 32px/1.1 var(--font); --title-ls: -.035em;
	--name: 700 28px/1.15 var(--font); --stat: 700 24px/1.2 var(--font); --ph-title: 700 24px/1.15 var(--font);
	--r-l: 12px; --r-m: 8px; --r-s: 6px; --r-ev: 6px;
	--fast: 120ms; --mid: 180ms; --slow: 280ms; --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="light"] {
	color-scheme: light;
	--page: #f3f3f1; --app-bg: #ffffff; --side-bg: #fafaf8; --panel-bg: #ffffff; --pop-bg: #ffffff; --tab-bg: #ffffff;
	--sheet: #ffffff; --sheet-2: #f5f5f3; --field: #ffffff;
	--line: #e7e7e3; --line-2: #f2f2ef;
	--ink: #111110; --ink-2: #53534d; --ink-3: #70706a;
	--btn: #111110; --btn-h: #2b2b28; --on-btn: #ffffff; --focus: #17694f; --now: #17694f; --on-now: #ffffff;
	--avatar: #111110; --on-avatar: #ffffff; --logo: #111110;
	--c1: #4a6fa5; --c2: #a37615; --c3: #b5563f; --c4: #2f7f88; --tint: 9%; --hatch: rgba(17, 17, 16, .09); --today: transparent;
	--seg-bg: #f5f5f3; --seg-on: #ffffff; --nav-h: #f1f1ee; --nav-on: #efefeb;
	--ok: #17694f; --warn: #8a5600; --danger: #b3261e; --bezel: #d9d9d4; --scrim: rgba(17, 17, 16, .28);
	--sh-1: 0 1px 2px rgba(17, 17, 16, .08); --sh-2: 0 12px 32px -16px rgba(17, 17, 16, .22); --sh-3: 0 28px 72px -24px rgba(17, 17, 16, .35);
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--page: #090908; --app-bg: #111110; --side-bg: #0d0d0c; --panel-bg: #111110; --pop-bg: #1a1a18; --tab-bg: #111110;
	--sheet: #111110; --sheet-2: #1b1b19; --field: #0d0d0c;
	--line: #272724; --line-2: #1a1a18;
	--ink: #f2f2ee; --ink-2: #b5b5ad; --ink-3: #8f8f87;
	--btn: #f2f2ee; --btn-h: #ffffff; --on-btn: #111110; --focus: #5fd0aa; --now: #5fd0aa; --on-now: #06231a;
	--avatar: #f2f2ee; --on-avatar: #111110; --logo: #f2f2ee;
	--c1: #8aacdc; --c2: #d8b25e; --c3: #e39079; --c4: #77bcc4; --tint: 15%; --hatch: rgba(255, 255, 255, .09); --today: transparent;
	--seg-bg: #0d0d0c; --seg-on: #272724; --nav-h: #1a1a18; --nav-on: #1f1f1d;
	--ok: #5fd0aa; --warn: #e9b860; --danger: #ff8f84; --bezel: #262624; --scrim: rgba(0, 0, 0, .6);
	--sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 12px 32px -16px rgba(0, 0, 0, .7); --sh-3: 0 28px 72px -24px rgba(0, 0, 0, .85);
}
