/* ESS design tokens (same values as the mobile app). Light by default, dark follows the system. */
:root {
  --bg: #F4F3EF; --surface: #FFFFFF; --surface2: #EFEEEA; --surface3: #E5E4DF;
  --line: rgba(18,20,24,0.08); --line2: rgba(18,20,24,0.14);
  --ink: #121418; --ink2: #4B5059; --ink3: #62676E;
  --accent: #0F6B8F; --accentText: #0F6B8F; --accentInk: #FFFFFF; --accentSoft: #E1EEF3;
  --accentGrad: linear-gradient(180deg,#1A80A8 0%,#0D6386 100%);
  --ok: #1B7A44; --okSoft: #E2F2E8; --bad: #BE3129; --badSoft: #FBE8E5; --warn: #A35100; --warnSoft: #FBEEDC;
  --glass: rgba(250,250,248,0.72); --glassLine: rgba(255,255,255,0.85);
  --scrim: rgba(18,20,24,0.32);
  --sh2: 0 1px 2px rgba(18,20,24,0.04), 0 6px 16px -2px rgba(18,20,24,0.07), 0 16px 32px -8px rgba(18,20,24,0.06);
  --sh3: 0 2px 6px rgba(18,20,24,0.05), 0 12px 32px -4px rgba(18,20,24,0.12), 0 32px 64px -16px rgba(18,20,24,0.16);
  --ring: 0 0 0 1px rgba(18,20,24,0.05);
  --card: 0 0 0 1px rgba(18,20,24,0.05), 0 1px 2px rgba(18,20,24,0.05), 0 1px 3px rgba(18,20,24,0.04);
  --raised: 0 0 0 1px rgba(18,20,24,0.05), 0 1px 2px rgba(18,20,24,0.04), 0 6px 16px -2px rgba(18,20,24,0.07), 0 16px 32px -8px rgba(18,20,24,0.06);
  --shAccent: 0 1px 1px rgba(13,99,134,0.2), 0 10px 28px -6px rgba(15,107,143,0.45), inset 0 1px 0 rgba(255,255,255,0.22);
  --ease: cubic-bezier(0.2,0,0,1);
  color-scheme: light dark;
}
/* Dark: picked explicitly, or the system is dark and the user hasn't picked light. */
:root[data-theme="dark"] {
    --bg: #0B0D10; --surface: #15181D; --surface2: #1D2127; --surface3: #272C34;
    --line: rgba(255,255,255,0.07); --line2: rgba(255,255,255,0.13);
    --ink: #F2F3F5; --ink2: #AEB4BE; --ink3: #8B919B;
    --accent: #5ABDE0; --accentText: #6CC6E6; --accentInk: #04212C; --accentSoft: rgba(90,189,224,0.14);
    --accentGrad: linear-gradient(180deg,#7ACEEB 0%,#4EB2D8 100%);
    --ok: #4CC77D; --okSoft: rgba(76,199,125,0.14); --bad: #FF7A70; --badSoft: rgba(255,122,112,0.14); --warn: #F3A64C; --warnSoft: rgba(243,166,76,0.14);
    --glass: rgba(32,36,43,0.62); --glassLine: rgba(255,255,255,0.10);
    --scrim: rgba(0,0,0,0.55);
    --sh2: 0 2px 4px rgba(0,0,0,0.30), 0 12px 28px -6px rgba(0,0,0,0.50);
    --sh3: 0 4px 10px rgba(0,0,0,0.35), 0 24px 56px -12px rgba(0,0,0,0.60);
    --ring: inset 0 0 0 1px rgba(255,255,255,0.06);
    --card: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.40);
    --raised: inset 0 0 0 1px rgba(255,255,255,0.07), inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 4px rgba(0,0,0,0.30), 0 12px 28px -6px rgba(0,0,0,0.50);
    --shAccent: 0 10px 28px -6px rgba(90,189,224,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0D10; --surface: #15181D; --surface2: #1D2127; --surface3: #272C34;
    --line: rgba(255,255,255,0.07); --line2: rgba(255,255,255,0.13);
    --ink: #F2F3F5; --ink2: #AEB4BE; --ink3: #8B919B;
    --accent: #5ABDE0; --accentText: #6CC6E6; --accentInk: #04212C; --accentSoft: rgba(90,189,224,0.14);
    --accentGrad: linear-gradient(180deg,#7ACEEB 0%,#4EB2D8 100%);
    --ok: #4CC77D; --okSoft: rgba(76,199,125,0.14); --bad: #FF7A70; --badSoft: rgba(255,122,112,0.14); --warn: #F3A64C; --warnSoft: rgba(243,166,76,0.14);
    --glass: rgba(32,36,43,0.62); --glassLine: rgba(255,255,255,0.10);
    --scrim: rgba(0,0,0,0.55);
    --sh2: 0 2px 4px rgba(0,0,0,0.30), 0 12px 28px -6px rgba(0,0,0,0.50);
    --sh3: 0 4px 10px rgba(0,0,0,0.35), 0 24px 56px -12px rgba(0,0,0,0.60);
    --ring: inset 0 0 0 1px rgba(255,255,255,0.06);
    --card: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.40);
    --raised: inset 0 0 0 1px rgba(255,255,255,0.07), inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 4px rgba(0,0,0,0.30), 0 12px 28px -6px rgba(0,0,0,0.50);
    --shAccent: 0 10px 28px -6px rgba(90,189,224,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
  }
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/22px Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accentText); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
input, select, textarea, button { font-family: inherit; }
h1, h2 { margin: 0; }
* { scrollbar-width: thin; scrollbar-color: rgba(127,127,127,0.35) transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink2); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@keyframes essSpin { to { transform: rotate(360deg); } }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: essSpin .8s linear infinite; }

/* Brand mark */
.mark { width: 32px; height: 32px; border-radius: 10px; background: var(--accentGrad); box-shadow: var(--shAccent); display: flex; align-items: center; justify-content: center; flex: none; }
.mark::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--accentInk); box-sizing: border-box; background: radial-gradient(circle, var(--accentInk) 0 2.5px, transparent 3px); }

/* Surfaces */
.card { background: var(--surface); border-radius: 20px; box-shadow: var(--card); overflow: hidden; }
.raised { background: var(--surface); border-radius: 20px; box-shadow: var(--raised); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.card-title { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }

/* Buttons */
.btn { height: 40px; padding: 0 16px; border: 0; border-radius: 12px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), box-shadow 160ms; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accentInk); box-shadow: var(--shAccent); }
.btn-secondary { background: var(--surface2); color: var(--ink); box-shadow: var(--ring); }
.btn-raised { background: var(--surface); color: var(--ink); box-shadow: var(--raised); }
.btn-danger { background: var(--bad); color: #fff; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--ink2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface2); color: var(--ink); }

/* Chips, tiles, avatars */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; max-width: 100%; }
.chip > span { overflow: hidden; text-overflow: ellipsis; }
.chip.sm { height: 22px; padding: 0 8px; font-size: 12px; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-ok { background: var(--okSoft); color: var(--ok); } .t-bad { background: var(--badSoft); color: var(--bad); }
.t-warn { background: var(--warnSoft); color: var(--warn); } .t-acc { background: var(--accentSoft); color: var(--accentText); }
.t-n { background: var(--surface2); color: var(--ink2); }
.tile { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--surface2); color: var(--ink2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.avatar.online::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--surface); }

/* Segmented control */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface2); box-shadow: var(--ring); max-width: 100%; overflow-x: auto; }
.seg button { height: 34px; padding: 0 12px; border: 0; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; flex: 1 0 auto; background: transparent; color: var(--ink2); font-variant-numeric: tabular-nums; transition: background 180ms var(--ease), color 180ms var(--ease); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--card); }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink2); }
.input { height: 48px; border-radius: 12px; border: 0; outline: 0; background: var(--surface2); box-shadow: var(--ring); padding: 0 14px; font-size: 16px; color: var(--ink); width: 100%; min-width: 0; transition: box-shadow 160ms; }
.input:focus { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accentSoft); }
.input.err { box-shadow: inset 0 0 0 1.5px var(--bad); }
.search { flex: 1; min-width: 220px; max-width: 340px; height: 40px; border-radius: 12px; background: var(--surface); box-shadow: var(--card); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ink2); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); }
.alert { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; }

/* Tables (CSS grid rows) */
.table { overflow-x: auto; }
.trow { display: grid; align-items: center; column-gap: 16px; height: 56px; border-top: 1px solid var(--line); transition: background 120ms; }
.trow > :first-child { padding-left: 20px; } .trow > :last-child { padding-right: 20px; }
.trow.head { height: 40px; background: var(--bg); font-size: 13px; font-weight: 600; color: var(--ink2); }
.trow:not(.head):hover { background: var(--surface2); }
.trow > * { font-size: 14px; min-width: 0; }
.r { text-align: right; }
.state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 36px 24px; border-top: 1px solid var(--line); }
.state .tile { width: 48px; height: 48px; border-radius: 16px; background: var(--surface2); color: var(--ink2); margin-bottom: 6px; }

/* Map */
.map { position: relative; overflow: hidden; background: var(--surface2); }
.map .tiles { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.map img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; }
.map .fence { position: absolute; border-radius: 50%; background: var(--accentSoft); opacity: .85; box-shadow: inset 0 0 0 1.5px var(--accent); transition: all 320ms var(--ease); }
.map .pin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--surface), 0 2px 6px rgba(0,0,0,.3); }
.map .credit { position: absolute; right: 6px; bottom: 4px; font: 500 10px/12px Geist, system-ui; color: var(--ink2); background: var(--glass); padding: 1px 5px; border-radius: 4px; }
.glass { background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: var(--sh2), inset 0 0 0 0.5px var(--glassLine); }

/* Overlays */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 50; }
.scrim.enter { animation: fadeIn 200ms var(--ease); }
.panel { position: fixed; top: 12px; right: 12px; bottom: 12px; width: 440px; max-width: calc(100vw - 24px); z-index: 51; background: var(--surface); border-radius: 24px; box-shadow: var(--sh3); display: flex; flex-direction: column; overflow: hidden; }
.panel-head, .panel-foot { display: flex; align-items: center; gap: 10px; padding: 16px 24px; }
.panel-head { justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel-foot { border-top: 1px solid var(--line); }
.panel-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.modal-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--scrim); }
.modal { width: 440px; max-width: 100%; background: var(--surface); border-radius: 24px; box-shadow: var(--sh3); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; font-size: 15px; font-weight: 600; box-shadow: var(--sh3), inset 0 0 0 0.5px var(--glassLine); }
@keyframes fadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

/* Theme toggle: sun and moon swap in place, turning 90deg through a light blur. */
.theme-btn { position: relative; overflow: hidden; }
.theme-btn svg { position: absolute; transition: transform 300ms cubic-bezier(0.23,1,0.32,1), opacity 300ms cubic-bezier(0.23,1,0.32,1), filter 300ms; }
.theme-btn .moon { transform: rotate(-90deg) scale(0.5); opacity: 0; filter: blur(2px); }
.dark-ui .theme-btn .sun { transform: rotate(90deg) scale(0.5); opacity: 0; filter: blur(2px); }
.dark-ui .theme-btn .moon { transform: none; opacity: 1; filter: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: cubic-bezier(0.2,0,0,1); }

/* PIN reveal: digits cross-fade through a light blur; the eye swaps for eye-slash in place. */
.reveal { display: inline-grid; grid-template-columns: auto 32px; align-items: center; column-gap: 2px; font-variant-numeric: tabular-nums; }
.reveal .mask, .reveal .real { grid-area: 1 / 1; letter-spacing: 0.12em; font-weight: 600; transition: opacity 220ms var(--ease), filter 220ms var(--ease), transform 220ms var(--ease); }
.reveal .real { opacity: 0; filter: blur(4px); transform: translateY(3px); }
.reveal.show .real { opacity: 1; filter: none; transform: none; }
.reveal.show .mask { opacity: 0; filter: blur(4px); transform: translateY(-3px); }
.reveal .eye { width: 32px; height: 32px; position: relative; }
.reveal .eye svg { position: absolute; transition: transform 260ms cubic-bezier(0.23,1,0.32,1), opacity 200ms, filter 200ms; }
.reveal .eye .off { opacity: 0; transform: scale(0.6); filter: blur(2px); }
.reveal.show .eye .on { opacity: 0; transform: scale(0.6); filter: blur(2px); }
.reveal.show .eye .off { opacity: 1; transform: none; filter: none; }

/* Field validation: red ring, message slides in under the field, a short shake on a refused submit. */
.field-err { display: flex; align-items: center; gap: 6px; color: var(--bad); font-size: 13px; line-height: 18px; font-weight: 500; animation: errIn 220ms cubic-bezier(0.05,0.7,0.1,1); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); filter: blur(2px); } }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad); }
.input[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 2px var(--bad), 0 0 0 4px var(--badSoft); }
.shake { animation: shake 360ms cubic-bezier(0.36,0.07,0.19,0.97); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.counter { font-size: 12px; color: var(--ink3); margin-left: auto; font-variant-numeric: tabular-nums; }

/* Spell checker: wavy underline drawn on a mirror over the input text; a chip opens the suggestions popover. */
.spell { position: relative; }
.spell .input { position: relative; background: transparent; z-index: 1; padding-right: 104px; }
.spell-bg { position: absolute; inset: 0; border-radius: 12px; background: var(--surface2); }
.spell-mirror { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; white-space: pre; color: transparent; padding-right: 104px; }
.spell-mirror u { text-decoration: underline wavy var(--bad); text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.spell-chip { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 3; height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--warnSoft); color: var(--warn); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; animation: chipIn 280ms cubic-bezier(0.34,1.56,0.64,1); }
@keyframes chipIn { from { opacity: 0; transform: translateY(-50%) scale(0.7); } }
.spell-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; border-radius: 18px; padding: 8px; display: flex; flex-direction: column; gap: 2px; transform-origin: top center; animation: popIn 260ms cubic-bezier(0.05,0.7,0.1,1); background: var(--surface); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(0.97); filter: blur(3px); } }
.spell-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; flex-wrap: wrap; }
.spell-item .bad { font-weight: 600; text-decoration: underline wavy var(--bad); text-underline-offset: 4px; }
.spell-item .sugg { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--accentSoft); color: var(--accentText); font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 160ms var(--ease), background 160ms, color 160ms; }
.spell-item .sugg:hover { background: var(--accent); color: var(--accentInk); }
.spell-item .sugg:active { transform: scale(0.95); }
.spell-item .link { border: 0; background: none; color: var(--ink2); font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.spell-item .link:hover { background: var(--surface2); color: var(--ink); }
.spell-item.leave { animation: itemOut 200ms ease forwards; }
@keyframes itemOut { to { opacity: 0; transform: translateX(12px); filter: blur(2px); } }
.spell-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); }

/* Time fields: look like a control (clock icon, chevron, hover ring) and open timepicker-ui. */
.tp-wrap { position: relative; display: block; }
.tp-wrap > .ic { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink2); display: flex; z-index: 1; transition: color 160ms; }
.tp-wrap > .ic.l { left: 12px; } .tp-wrap > .ic.r { right: 12px; }
.tp-wrap .input.tp { padding-left: 40px; padding-right: 32px; cursor: pointer; caret-color: transparent; font-weight: 500; font-variant-numeric: tabular-nums; transition: box-shadow 160ms, background 160ms; }
.tp-wrap:hover .input.tp { background: var(--surface3); box-shadow: inset 0 0 0 1.5px var(--line2); }
.tp-wrap:hover > .ic { color: var(--accentText); }

/* timepicker-ui in ESS colors: the blueprint themes' variables mapped onto our tokens (light and dark follow). */
html [data-theme="blueprint"], html [data-theme="blueprint-dark"] {
  --tp-font-family: Geist, system-ui, sans-serif;
  --tp-bg: var(--surface); --tp-surface: var(--surface2); --tp-surface-hover: var(--surface3); --tp-input-bg: var(--surface2);
  --tp-text: var(--ink); --tp-text-secondary: var(--ink2); --tp-text-disabled: var(--ink3); --tp-text-type-time: var(--ink2); --tp-text-icon: var(--ink2);
  --tp-on-surface: var(--ink); --tp-on-surface-rgb: 18, 20, 24;
  --tp-am-pm-active: var(--accent); --tp-am-pm-text-selected: var(--accentInk); --tp-am-pm-text-unselected: var(--ink2);
  --tp-primary: var(--accent); --tp-on-primary: var(--accentInk); --tp-primary-container: var(--accentSoft); --tp-on-primary-container: var(--accentText);
  --tp-tertiary-container: var(--accentSoft); --tp-on-tertiary-container: var(--accentText);
  --tp-border: var(--line2); --tp-outline: var(--accent); --tp-hover-bg: var(--surface2); --tp-shadow: var(--sh3); --tp-error: var(--bad);
  --tp-dropdown-option-bg: var(--surface); --tp-dropdown-option-text: var(--ink);
  --tp-wheel-highlight-bg: var(--accentSoft); --tp-wheel-highlight-border: var(--line2); --tp-wheel-text-color: var(--ink); --tp-wheel-selected-color: var(--accentText);
}
html [data-theme="blueprint-dark"] { --tp-on-surface-rgb: 242, 243, 245; }
.tp-ui-modal { background-color: var(--scrim) !important; z-index: 200 !important; }
.tp-ui-wrapper { border-radius: 28px !important; border: 0 !important; box-shadow: var(--sh3) !important; }
/* Hour and minute boxes read as buttons: ring + hover; the active one is filled. */
.tp-ui-hour, .tp-ui-minutes { cursor: pointer !important; border-radius: 14px !important; transition: box-shadow 160ms, background-color 160ms; }
.tp-ui-hour:not(.active), .tp-ui-minutes:not(.active) { box-shadow: inset 0 0 0 1.5px var(--line2); }
.tp-ui-hour:not(.active):hover, .tp-ui-minutes:not(.active):hover { box-shadow: inset 0 0 0 1.5px var(--accent); background-color: var(--surface3) !important; }
.tp-ui-am, .tp-ui-pm { font-weight: 600; }
.tp-ui-am:not(.active):hover, .tp-ui-pm:not(.active):hover { background-color: var(--surface3); color: var(--ink); }
.tp-ui-ok-btn, .tp-ui-cancel-btn { font-weight: 600 !important; border-radius: 12px !important; }
.tp-ui-ok-btn { background: var(--accent) !important; color: var(--accentInk) !important; }
