:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  --ink: #182821;
  --muted: #54645a;
  --quiet: #65736a;
  --border: #e1e8e3;
  --surface: #fff;
  --canvas: #f5f7f4;
  --green: #117451;
  --green-dark: #0b5d40;
  --green-soft: #e7f3eb;
  --sidebar: 218px;
  --bar: 64px;
  --radius: 15px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 1rem; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--green); text-decoration: none; }
svg { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid #15966a; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; transform: translateY(-180%); background: white; padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { transform: none; }

.app-shell { min-height: 100vh; }
.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.brand {
  height: var(--bar);
  padding: 0 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #142b21;
  font-size: 1.31rem;
  font-weight: 760;
  letter-spacing: -.045em;
}
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #1f8a65, #0f684a);
  color: white;
  box-shadow: inset 0 1px 1px #ffffff35, 0 2px 4px #102b1d14;
}
.brand-mark svg { width: 23px; height: 23px; }
.navigation { display: grid; gap: 6px; padding: 29px 16px 16px; }
.nav-link {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 46px;
  padding: 0 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 560;
}
.nav-link svg { width: 19px; height: 19px; }
.nav-link:hover { background: #f4f7f5; color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--green-dark); background: #e8f3eb; font-weight: 680; }
.sidebar-footer { margin-top: auto; padding: 18px 16px 23px; }
.local-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid #e6ede7;
  border-radius: 12px;
  background: #f8faf8;
}
.local-icon { width: 30px; height: 32px; display: grid; place-items: center; color: var(--green); }
.local-icon svg { height: 19px; width: 19px; }
.local-card strong, .local-card small { display: block; }
.local-card strong { font-size: .8125rem; font-weight: 690; }
.local-card small { font-size: .75rem; color: var(--quiet); margin-top: 3px; white-space: nowrap; }

.workspace { margin-left: var(--sidebar); }
.topbar {
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  padding: 0 36px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: var(--quiet); font-size: .875rem; white-space: nowrap; }
.breadcrumbs svg { width: 14px; height: 14px; color: #86948b; }
.breadcrumbs strong { font-weight: 645; color: var(--ink); }
.mode-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--green-dark);
  border: 1px solid #d8e7d9;
  border-radius: 8px;
  background: #f1f7ee;
  font-size: .8125rem;
  font-weight: 630;
}
.mode-button:hover, .mode-button[aria-expanded=true] { background: #e7f2e6; }
.mode-button svg { width: 15px; height: 15px; }
.mode-button svg:last-child { width: 13px; height: 13px; margin-left: 2px; }
.popover {
  z-index: 10;
  position: absolute;
  min-width: 155px;
  padding: 5px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: 0 12px 30px #1c39221a, 0 1px 4px #1c39220c;
}
.mode-menu { right: 36px; top: calc(var(--bar) - 7px); }
.popover button { color: var(--ink); width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 9px; text-align: left; border: 0; border-radius: 6px; background: transparent; font-size: .875rem; }
.popover button:hover { background: #f1f6f1; }
.popover button svg { width: 16px; height: 16px; color: var(--green); }
.popover button i { margin-left: auto; }
.popover .danger-text, .popover .danger-text svg { color: #a63a38; }

.main { max-width: 1440px; margin: auto; padding: 27px 36px 45px; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.page-heading h1 { margin: 0; font-size: 2rem; font-weight: 760; line-height: 1.3; letter-spacing: -.06em; }
.page-heading p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.date-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .875rem; font-weight: 540; white-space: nowrap; }
.date-chip svg { width: 16px; height: 16px; color: var(--green); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 227px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 28px 32px;
  border-radius: 17px;
  background: #09281f;
  background-image: radial-gradient(ellipse at 20% 35%, #1b4835, transparent 65%);
  box-shadow: 0 4px 7px #163d2311;
  color: white;
}
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(62%, 690px); height: 100%; object-fit: cover; object-position: 50% 49%; mask-image: linear-gradient(90deg, transparent, black 34%); }
.hero-content { position: relative; }
.hero-kicker { display: flex; align-items: center; gap: 7px; color: #b7e3c6; font-size: .8125rem; font-weight: 610; }
.hero-kicker svg { width: 16px; height: 16px; }
.hero h2 { margin: 9px 0 0; font-size: clamp(1.65rem, 2.6vw, 2.22rem); letter-spacing: -.045em; line-height: 1.27; font-weight: 760; }
.hero p { margin: 8px 0 0; color: #c5d9cd; font-size: .9375rem; }
.hero-actions { margin-top: 22px; display: flex; align-items: center; gap: 23px; }
button.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 675;
  line-height: 1.3;
  transition: background .16s ease, border-color .16s ease;
}
.button svg { width: 17px; height: 17px; }
.button.primary { color: white; background: var(--green); box-shadow: 0 1px 2px #00000012; }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { background: white; border-color: var(--border); color: var(--muted); }
.button.secondary:hover { color: var(--ink); background: #f5f8f6; }
.button.danger { color: white; background: #ad3e3b; }
.button.danger:hover { background: #8a2c2a; }
.button:disabled { opacity: .58; }
.button.hero-button { min-height: 43px; padding-inline: 16px; color: #122b1d; background: #a7ecac; box-shadow: 0 2px 5px #0003; }
.button.hero-button:hover { background: #bcf4bb; }
.hero-button svg { width: 17px; height: 17px; }
.hero-button:focus-visible { outline-color: #b7eeb9; }
.meter { display: grid; gap: 6px; min-width: 120px; }
.meter-label { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; color: #d0e3d6; font-size: .75rem; white-space: nowrap; }
.meter-label b { color: #e2f5e6; font-size: .8125rem; font-weight: 680; font-variant-numeric: tabular-nums; }
progress { width: 100%; height: 5px; border: 0; border-radius: 10px; overflow: hidden; display: block; background: #ffffff2e; accent-color: #a7ecac; }
progress::-webkit-progress-bar { background: #ffffff21; border-radius: 10px; }
progress::-webkit-progress-value { background: #a7ecac; border-radius: 10px; transition: width .25s ease; }
progress::-moz-progress-bar { background: #a7ecac; border-radius: 10px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 18px 0 27px; }
.stat {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 91px;
  padding: 15px 17px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 3px #18301b04;
}
.tile-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #167351;
  background: #e8f4ec;
}
.tile-icon svg { width: 22px; height: 22px; }
.tile-icon.mint { color: #14744f; background: #e5f3e9; }
.tile-icon.blue { color: #226f9c; background: #e9f4fc; }
.tile-icon.purple { color: #6553ad; background: #efedfa; }
.tile-icon.peach { color: #a45b38; background: #fbefe8; }
.tile-icon.gold { color: #906617; background: #faf1d9; }
.tile-icon.red { color: #af4143; background: #faebec; }
.stat-name { color: var(--muted); font-size: .875rem; line-height: 1.25; }
.stat-number { color: var(--ink); display: block; margin-top: 2px; font-weight: 730; font-size: 1.7rem; line-height: 1.13; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }

.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; }
.section-heading h2 { margin: 0; font-size: 1.25rem; font-weight: 730; letter-spacing: -.035em; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 2px 3px #172c1f05; }
.task-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 61px; padding: 10px 15px; }
.segmented { display: flex; align-items: center; gap: 4px; min-width: max-content; padding: 3px; border: 1px solid #eaf0ea; border-radius: 8px; background: #f3f6f3; }
.segmented button { min-height: 30px; padding: 0 11px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: .875rem; font-weight: 555; white-space: nowrap; }
.segmented button:hover { color: var(--green-dark); }
.segmented button[aria-pressed=true] { background: white; border-color: #e5ece5; box-shadow: 0 1px 2px #1b342017; color: var(--green-dark); font-weight: 650; }
.search { position: relative; display: flex; max-width: 216px; flex: 1; }
.search svg { position: absolute; width: 17px; height: 17px; top: 9px; left: 9px; color: var(--quiet); pointer-events: none; }
.search input { width: 100%; min-width: 0; height: 35px; padding: 0 9px 0 31px; border: 1px solid var(--border); border-radius: 7px; color: var(--ink); background: white; font-size: .875rem; }
.search input::placeholder { color: var(--quiet); }
.table-wrap { overflow-x: auto; padding-bottom: 2px; border-radius: 0 0 var(--radius) var(--radius); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; }
thead { background: #f8faf8; color: var(--muted); border: solid #eaf0e9; border-width: 1px 0; }
th { padding: 10px 14px; font-weight: 560; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
td { height: 64px; padding: 9px 14px; border-bottom: 1px solid #edf1ed; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcfa; }
.task-cell { display: flex; align-items: center; gap: 10px; min-width: 164px; }
.task-cell .tile-icon { width: 36px; height: 36px; border-radius: 9px; }
.task-cell .tile-icon svg { width: 19px; height: 19px; }
.task-cell strong { display: block; font-size: .9rem; line-height: 1.35; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.task-cell small { display: block; margin-top: 4px; font-size: .75rem; line-height: 1.15; color: var(--quiet); overflow-wrap: anywhere; }
.platform { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.platform svg { width: 16px; height: 16px; }
.platform.telegram svg { color: #226f9c; }
.badge { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 2px 7px; border-radius: 6px; white-space: nowrap; font-size: .8125rem; font-weight: 630; }
.badge svg { width: 14px; height: 14px; }
.badge.success { color: #0d6f47; background: #e8f5eb; }
.badge.pending { color: #855b19; background: #fbf3dc; }
.badge.failed { color: #a63b3b; background: #fcebec; }
.badge.sent, .badge.running { color: #245f83; background: #e8f3fb; }
.badge.disabled { color: var(--quiet); background: #edf0ed; }
.timestamp { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.history-details { min-width: 180px; color: var(--muted); line-height: 1.5; }
.action-heading { text-align: right; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.icon-button {
  display: inline-grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
}
.icon-button svg { width: 18px; height: 18px; }
.icon-button:hover, .icon-button[aria-expanded=true] { background: #edf4ee; color: var(--green-dark); }
button.row-run { min-height: 30px; padding-inline: 9px; gap: 4px; color: var(--green); border-color: #dce8df; background: white; font-size: .8125rem; font-weight: 630; }
button.row-run svg { width: 14px; height: 14px; }
button.row-run:hover { background: #eef6ef; }
.row-popover { position: fixed; }
.empty { display: grid; justify-items: center; text-align: center; padding: 37px 20px 42px; color: var(--muted); }
.empty .tile-icon { width: 48px; height: 48px; border-radius: 12px; }
.empty h3 { margin: 12px 0 4px; font-size: 1rem; color: var(--ink); font-weight: 680; }
.empty p { margin: 0; line-height: 1.6; font-size: .875rem; }
.empty .button { margin-top: 15px; }

.settings-grid { display: grid; gap: 15px; }
.setting-card { display: flex; align-items: center; gap: 14px; padding: 20px; }
.setting-card .tile-icon { width: 43px; height: 43px; }
.setting-copy { flex: 1; min-width: 0; }
.setting-copy h2 { margin: 0 0 5px; font-size: 1rem; letter-spacing: -.018em; font-weight: 685; }
.setting-copy p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.setting-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
select {
  appearance: none;
  padding-right: 31px !important;
  background-image: url("/icons-chevron.svg");
  background-position: right 9px center;
  background-size: 15px;
  background-repeat: no-repeat;
}
.setting-actions select { min-height: 40px; max-width: 210px; border: 1px solid var(--border); border-radius: 8px; padding: 0 11px; background-color: white; color: var(--ink); font-size: .875rem; }

.modal { width: min(525px, calc(100vw - 28px)); max-height: min(90dvh, 820px); padding: 0; border: 1px solid var(--border); border-radius: 16px; color: var(--ink); background: white; box-shadow: 0 20px 80px #192b2252; }
.modal::backdrop { background: #13291f68; backdrop-filter: blur(2px); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding: 19px 21px 15px; border-bottom: 1px solid #edf1ed; }
.modal-head h2 { margin: 0; line-height: 1.4; font-size: 1.25rem; letter-spacing: -.03em; }
.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.modal-head .icon-button { margin: -3px -6px 0 0; }
.modal-body { padding: 17px 21px; }
.modal-foot { display: flex; justify-content: flex-end; align-items: center; gap: 9px; padding: 13px 21px; border-top: 1px solid #edf1ed; }
.fields { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; color: var(--ink); font-size: .875rem; font-weight: 590; min-width: 0; }
.field input, .field textarea, .field select { min-width: 0; width: 100%; border: 1px solid #dce6de; border-radius: 7px; color: var(--ink); background-color: white; padding: 8px 10px; font-size: .875rem; font-weight: 450; }
.field input, .field select { min-height: 39px; }
.field textarea { resize: vertical; min-height: 62px; }
.field small, .hint { color: var(--quiet); font-size: .8125rem; line-height: 1.5; font-weight: 450; }
.field small a { text-decoration: underline; text-underline-offset: 2px; }
.field select:hover, .field input:hover, .field textarea:hover { border-color: #b2c9b8; }
.form-columns { display: grid; grid-template-columns: 105px 1fr; gap: 10px; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset legend { margin: 0 0 6px; padding: 0; font-size: .875rem; font-weight: 580; }
.choice-row { display: flex; gap: 8px; }
.choice { flex: 1; position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; gap: 7px; align-items: center; justify-content: center; border: 1px solid var(--border); height: 37px; border-radius: 7px; font-size: .875rem; color: var(--muted); }
.choice span svg { width: 16px; height: 16px; }
.choice input:checked + span { border-color: #b4d6bc; color: var(--green-dark); background: #eaf5ec; font-weight: 650; }
.choice input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.switch-row { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.switch-row input { accent-color: var(--green); width: 16px; height: 16px; }
.advanced { padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: #f8faf8; }
.advanced summary { cursor: pointer; font-size: .875rem; font-weight: 590; color: var(--green-dark); }
.advanced .fields { padding-top: 12px; }
.form-error { flex: 1; margin: 0; color: #9a3737; font-size: .8125rem; line-height: 1.4; }
.modal-detail { color: var(--muted); font-size: .9375rem; line-height: 1.6; margin: 8px 0 0; overflow-wrap: anywhere; }
.callout { display: flex; align-items: flex-start; gap: 8px; border: 1px solid #dfe9e1; border-radius: 8px; padding: 9px 10px; color: var(--green-dark); background: #f1f7f2; font-size: .8125rem; line-height: 1.5; }
.callout svg { width: 16px; height: 16px; margin-top: 2px; }
.callout a { font-weight: 680; text-decoration: underline; text-underline-offset: 2px; }
.loading { min-height: 190px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); }
.spinner { width: 17px; height: 17px; display: inline-block; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 12; display: grid; gap: 8px; width: min(355px, calc(100% - 40px)); }
.toast { display: flex; align-items: center; gap: 9px; padding: 11px 13px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 6px 20px #14351d26; color: var(--ink); font-size: .875rem; line-height: 1.5; }
.toast svg { color: var(--green); }
.toast.error svg { color: #a63b3b; }
.toast span { flex: 1; }
.toast .icon-button { width: 26px; height: 26px; }

@media (min-width: 1550px) {
  .main { padding-inline: 44px; }
  .topbar { padding-inline: 44px; }
  .mode-menu { right: 44px; }
}
@media (max-width: 1080px) {
  :root { --sidebar: 188px; }
  .main, .topbar { padding-inline: 24px; }
  .mode-menu { right: 24px; }
  .stat { padding-inline: 11px; gap: 9px; }
}
@media (max-width: 810px) {
  :root { --sidebar: 70px; }
  .brand { justify-content: center; padding: 0; }
  .brand > span:last-child, .nav-link span, .local-card > span:last-child { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .navigation { padding-inline: 10px; }
  .nav-link { justify-content: center; padding: 0; }
  .sidebar-footer { padding-inline: 10px; }
  .local-card { justify-content: center; padding: 5px; }
  th, td { padding-inline: 9px; }
  .task-cell { min-width: 150px; }
}
@media (max-width: 610px) {
  :root { --sidebar: 0px; --bar: 53px; }
  .sidebar { inset: auto 0 0; width: 100%; background: #fff; border: 1px solid var(--border); border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom, 0); }
  .brand, .sidebar-footer { display: none; }
  .navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px 7px; }
  .nav-link { flex-direction: column; gap: 3px; height: 47px; font-size: .75rem; }
  .nav-link span { position: static; width: auto; height: auto; clip-path: none; }
  .nav-link svg { width: 17px; height: 17px; }
  .main, .topbar { padding-inline: 14px; }
  .main { padding-top: 19px; padding-bottom: calc(78px + env(safe-area-inset-bottom, 0)); }
  .mode-menu { right: 14px; }
  .page-heading { margin-bottom: 16px; gap: 6px; }
  .page-heading h1 { font-size: 1.6rem; }
  .page-heading p { font-size: .8125rem; }
  .date-chip { font-size: .75rem; padding: 5px 6px; }
  .date-chip svg { width: 14px; height: 14px; }
  .hero { padding: 20px 15px; min-height: 194px; }
  .hero-art { width: 87%; object-fit: contain; object-position: center right; mask-image: linear-gradient(90deg, transparent 34%, #0008 65%, black); opacity: .73; }
  .hero h2 { font-size: 1.6rem; }
  .hero p { font-size: .8125rem; }
  .hero-actions { margin-top: 16px; gap: 12px; }
  .meter { min-width: 93px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 20px; }
  .stat { min-height: 66px; padding: 8px 9px; gap: 8px; }
  .stat .tile-icon { height: 34px; width: 34px; }
  .stat .tile-icon svg { height: 18px; width: 18px; }
  .stat-number { font-size: 1.37rem; }
  .section-heading h2 { font-size: 1.125rem; }
  .task-toolbar { padding: 7px; min-height: 49px; gap: 6px; }
  .segmented { gap: 1px; }
  .segmented button { padding-inline: 7px; font-size: .8125rem; }
  .search input { font-size: .8125rem; }
  .responsive-hide { display: none; }
  th:first-child, td:first-child { padding-left: 8px; }
  th:last-child, td:last-child { padding-right: 7px; }
  .task-cell { min-width: 110px; gap: 6px; }
  .task-cell .tile-icon { height: 29px; width: 29px; }
  .task-cell .tile-icon svg { height: 16px; width: 16px; }
  .task-cell strong { font-size: .8125rem; }
  .task-cell small { font-size: .75rem; }
  td { height: 56px; }
  .row-actions { gap: 1px; }
  .setting-card { padding: 12px; gap: 8px; flex-wrap: wrap; }
  .setting-actions { width: 100%; }
  .toasts { bottom: calc(69px + env(safe-area-inset-bottom, 0)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.login-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 20%, #e6f1e7, var(--canvas) 58%); }
.login-card { width: min(100%, 410px); padding: clamp(24px, 6vw, 34px); box-shadow: 0 16px 60px #234c2714; }
.login-brand { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.login-card h1 { margin: 20px 0 5px; font-size: 1.55rem; letter-spacing: -.045em; }
.login-card > p { color: var(--muted); margin: 0 0 16px; font-size: .875rem; line-height: 1.6; }
.login-card .button { margin-top: 4px; }
