/* YM BOOST light workspace. The HTML keeps the app.js contracts, this layer owns the product UI. */
:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8faff;
    --surface-blue: #f0f6ff;
    --line: #e6ebf2;
    --line-strong: #d9e1ec;
    --text: #182333;
    --text-soft: #607087;
    --muted: #94a0b2;
    --blue: #347ff1;
    --blue-dark: #2169d4;
    --blue-soft: #eaf3ff;
    --green: #20a86b;
    --green-soft: #e8f8f0;
    --amber: #d88414;
    --amber-soft: #fff5df;
    --violet: #7664e9;
    --violet-soft: #f0edff;
    --pink: #d85b8e;
    --pink-soft: #fff0f6;
    --red: #d94e5b;
    --red-soft: #fff0f1;
    --shadow-sm: 0 1px 2px rgba(24, 35, 51, 0.04), 0 6px 18px rgba(36, 58, 92, 0.04);
    --shadow-md: 0 12px 30px rgba(38, 65, 103, 0.09);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));
    --safe-right: max(env(safe-area-inset-right, 0px), var(--tg-safe-area-inset-right, 0px), var(--tg-content-safe-area-inset-right, 0px));
    --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
    --safe-left: max(env(safe-area-inset-left, 0px), var(--tg-safe-area-inset-left, 0px), var(--tg-content-safe-area-inset-left, 0px));
    --telegram-system-header-height: calc(max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px)) + max(var(--tg-content-safe-area-inset-top, 0px), 44px) + 6px);
}

html[data-theme="dark"] {
    --bg: #000000;
    --surface: #0a0a0b;
    --surface-soft: #111113;
    --surface-blue: #0b1624;
    --line: #1d1d20;
    --line-strong: #29292d;
    --text: #f5f5f7;
    --text-soft: #a2a2aa;
    --muted: #686871;
    --blue: #5a9df8;
    --blue-dark: #3783eb;
    --blue-soft: #0c1b2e;
    --green: #42cc82;
    --green-soft: #0c2117;
    --amber: #e8a646;
    --amber-soft: #241a0c;
    --violet: #9b8df4;
    --violet-soft: #1c182c;
    --pink: #e47ca6;
    --pink-soft: #28141d;
    --red: #ed6672;
    --red-soft: #281216;
    --shadow-sm: none;
    --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.46);
    color-scheme: dark;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background: var(--bg);
    color-scheme: light;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    background: #eaf0f7;
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body:has(.modal-backdrop:not([hidden])) { overflow: hidden; }

button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(52, 127, 241, 0.22); outline-offset: 2px; }

.ui-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ui-icon { display: block; width: 20px; height: 20px; flex: 0 0 auto; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.85; }

#app {
    display: flex !important;
    flex-direction: column !important;
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    min-height: 100svh;
    margin: 0 auto;
    background: var(--bg);
    box-shadow: 0 0 0 1px rgba(52, 75, 107, 0.04), 0 18px 60px rgba(52, 75, 107, 0.08);
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: block;
    width: 100%;
    min-height: calc(var(--safe-top) + 8px);
    padding: 0;
    pointer-events: none;
    border-bottom: 1px solid transparent;
    background: rgba(245, 247, 251, 0.92) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

html.telegram-mobile .app-header {
    position: fixed;
    top: 0;
    left: 50%;
    width: min(100%, 430px);
    height: var(--telegram-system-header-height);
    min-height: var(--telegram-system-header-height);
    transform: translateX(-50%);
    border-bottom-color: transparent;
    background: var(--bg) !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.telegram-mobile .app-header.scrolled { border-bottom-color: transparent; }
html.telegram-mobile #content { margin-top: var(--telegram-system-header-height); }

.app-header.scrolled { border-bottom-color: var(--line); }

.brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -0.05em;
    box-shadow: 0 7px 16px rgba(52, 127, 241, 0.24);
}

.brand-copy { min-width: 0; }
.brand-name { color: var(--text); font-size: 15px; font-weight: 800; letter-spacing: -0.04em; }
.brand-name span { color: var(--blue); }
.status-bar { display: none !important; }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-status { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.app-header .app-title { max-height: 0 !important; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 750; opacity: 0 !important; }

#content {
    width: 100%;
    flex: 1;
    padding: 14px calc(14px + var(--safe-right)) calc(var(--safe-bottom) + 100px) calc(14px + var(--safe-left));
}

.large-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 4px 10px; }
.title-copy { min-width: 0; }
.title-copy-actions { display: flex; align-items: center; gap: 8px; }
.task-filter-trigger { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; padding: 0; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); color: var(--text-soft); box-shadow: var(--shadow-sm); cursor: pointer; transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease; }
.task-filter-trigger[hidden] { display: none !important; }
.task-filter-trigger .ui-icon { width: 19px; height: 19px; stroke-width: 1.8; transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.task-filter-trigger:hover, .task-filter-trigger:focus-visible { border-color: #b8d2f5; background: var(--blue-soft); color: var(--blue); box-shadow: 0 7px 18px rgba(52, 127, 241, 0.12); outline: none; }
.task-filter-trigger:active { transform: scale(0.94); }
.task-filter-trigger:active .ui-icon { transform: scale(0.9) rotate(-5deg); }
.task-filter-trigger[data-filter]:not([data-filter="active"])::after { position: absolute; top: -2px; right: -2px; width: 7px; height: 7px; border: 2px solid var(--bg); border-radius: 50%; background: var(--blue); content: ""; }
.page-kicker, .section-eyebrow, .sheet-kicker, .settings-group-title {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}
.app-title-large { margin: 0; color: var(--text); font-size: 30px; font-weight: 800; letter-spacing: -0.7px; line-height: 1.1; }
.title-actions { display: flex; align-items: center; gap: 6px; }
.title-action { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 11px; font-weight: 700; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 180ms ease; }
.title-action:active, .toolbar-icon-btn:active, .round-action:active, .hero-btn:active, .like-menu-item:active { transform: scale(0.98); }
.title-action:active .action-plus { transform: rotate(90deg) scale(0.9); }
.title-action-icon:active .ui-icon { transform: rotate(90deg); }
.round-action:active .ui-icon { transform: rotate(90deg) scale(0.9); }
.title-action-secondary { color: var(--text-soft); }
.action-plus { width: 16px; height: 16px; color: var(--blue); stroke-width: 2.2; transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.title-action-icon { justify-content: center; width: 32px; padding: 0; color: var(--blue); }
.title-action-icon svg { width: 17px; height: 17px; transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.title-action[hidden] { display: none; }

.dashboard-hero, .panel-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
}
.dashboard-hero::after {
    display: none;
}
.hero-main, .hero-metrics { position: relative; z-index: 1; }
.hero-overline { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero-main h2 { max-width: 520px; margin: 10px 0 8px; color: var(--text); font-size: 30px; font-weight: 800; letter-spacing: -0.065em; line-height: 1.03; }
.hero-main p { max-width: 560px; margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.4; }
.hero-status-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hero-status-line span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--text-soft); font-size: 10px; font-weight: 650; }
.status-check { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 10px; font-style: normal; font-weight: 800; }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 10px; font-weight: 750; transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease; }
.hero-btn:hover { box-shadow: 0 8px 20px rgba(42, 67, 105, 0.1); }
.hero-btn-primary { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 9px 18px rgba(52, 127, 241, 0.2); }
.button-icon { font-size: 21px; font-weight: 400; line-height: 0.8; }
.rotate-icon { font-size: 19px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.task-overview { margin-top: 4px; }
.metric-card { min-width: 0; padding: 10px 9px; border: 1px solid var(--line); border-radius: 14px; background: rgba(248, 250, 255, 0.82); }
.metric-card-featured { border-color: #cfe1fb; background: var(--blue-soft); }
.metric-label { display: flex; align-items: flex-end; min-height: 20px; color: var(--text-soft); font-size: 8px; font-weight: 700; line-height: 1.2; text-transform: uppercase; white-space: normal; }
.metric-card strong { display: block; margin-top: 6px; color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.metric-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.25; }

.section-toolbar { display: flex !important; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 30px 2px 12px !important; padding: 0 !important; }
.section-toolbar h2 { margin: 5px 0 0; color: var(--text); font-size: 22px; font-weight: 800; letter-spacing: -0.05em; }
.section-toolbar .section-eyebrow { color: var(--muted); }
.toolbar-icon-btn, .round-action { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid #cfe0f5; border-radius: 12px; background: var(--blue-soft); color: var(--blue); cursor: pointer; transition: transform 140ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.round-action .ui-icon, .toolbar-icon-btn .ui-icon { width: 18px; height: 18px; stroke-width: 2; transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.toolbar-icon-btn svg { width: 18px; height: 18px; }
.empty { display: grid; place-items: center; min-height: 118px; padding: 24px 18px; border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(255, 255, 255, 0.5); color: var(--muted); text-align: center; font-size: 12px; }
#tasks-list { min-height: clamp(190px, calc(100svh - 245px), 420px); }
.tasks-state { display: flex; min-height: clamp(190px, calc(100svh - 245px), 420px); padding: 26px 14px; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.tasks-loading { gap: 12px; font-size: 11px; font-weight: 650; }
.tasks-loading-ring { display: block; width: 34px; height: 34px; border: 3px solid var(--line-strong); border-top-color: var(--blue); border-radius: 50%; animation: spin 760ms linear infinite; }
.tasks-empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 14px; border: 1px solid #d8e7fb; border-radius: 18px; background: var(--blue-soft); color: var(--blue); }
.tasks-empty-icon .ui-icon { width: 28px; height: 28px; stroke-width: 1.75; }
.tasks-empty h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: 800; line-height: 1.25; }
.tasks-empty-actions { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8px; width: min(100%, 330px); margin-top: 18px; }
.tasks-empty-btn { display: inline-flex; min-width: 0; min-height: 42px; padding: 0 11px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 10px; font-weight: 750; white-space: nowrap; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 140ms ease, box-shadow 180ms ease; }
.tasks-empty-btn .ui-icon { width: 15px; height: 15px; stroke-width: 2; }
.tasks-empty-btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(52, 127, 241, 0.18); }
.tasks-empty-btn:active { transform: scale(0.97); }
#tasks-list.is-entering .tasks-state { animation: task-state-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both; }
#tasks-list.is-entering .item { animation: task-item-in 430ms cubic-bezier(0.16, 1, 0.3, 1) both; }
#tasks-list.is-entering .item:nth-child(2) { animation-delay: 35ms; }
#tasks-list.is-entering .item:nth-child(3) { animation-delay: 70ms; }
#tasks-list.is-entering .item:nth-child(4) { animation-delay: 105ms; }
#tasks-list.is-entering .item:nth-child(5) { animation-delay: 140ms; }
#tasks-list.is-entering .item:nth-child(n+6) { animation-delay: 175ms; }
.item { display: grid !important; grid-template-columns: 38px minmax(0, 1fr) auto !important; gap: 11px !important; align-items: start; margin: 0 0 9px !important; padding: 13px !important; border: 1px solid var(--line) !important; border-radius: 16px !important; background: var(--surface) !important; box-shadow: var(--shadow-sm); transition: border-color 300ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease; }
.item:hover { border-color: #c9daf3 !important; box-shadow: 0 8px 20px rgba(48, 78, 120, 0.08); }
.item.is-pinned { border-color: rgba(52, 127, 241, 0.34) !important; box-shadow: 0 8px 22px rgba(52, 127, 241, 0.09); }
.item.is-regular { background: linear-gradient(135deg, var(--surface) 0%, var(--surface) 72%, rgba(52, 127, 241, 0.055) 100%) !important; }
.like-job-item { grid-template-columns: minmax(0, 1fr) auto !important; padding: 14px !important; }
.like-job-item .item-title { padding-top: 1px; }
.like-job-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.like-job-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.like-job-type { color: var(--text-soft); font-size: 10px; font-weight: 650; }
.like-job-counter { flex: 0 0 auto; color: var(--text); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.like-job-item .progress { margin-top: 10px !important; }
.like-job-caption { display: flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 600; }
.like-job-caption span:last-child:not(:first-child) { margin-left: auto; }
.like-job-errors { color: var(--red); }
.item-status-orb { position: relative; display: grid; place-items: center; width: 38px !important; height: 38px !important; overflow: hidden; border-radius: 12px !important; background: var(--blue-soft); color: var(--blue); }
.item-status-orb .ui-icon { width: 17px; height: 17px; stroke-width: 2; }
.item-status-orb[data-status="running"], .item-status-orb[data-status="pending"] { background: var(--green-soft); color: var(--green); }
.item-status-orb[data-status="paused"], .item-status-orb[data-status="cooldown"] { background: var(--amber-soft); color: var(--amber); }
.item-status-orb[data-status="running"]::after { position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 9px; content: ""; opacity: 0; animation: status-play-wave 1.8s ease-out infinite; }
.status-play-icon { fill: currentColor; animation: status-play-motion 1.2s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.item-main { min-width: 0; }
.item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.item-title { min-width: 0; overflow: hidden; color: var(--text) !important; font-size: 13px !important; font-weight: 750 !important; letter-spacing: -0.02em; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.item-num { color: var(--muted); font-weight: 650; }
.item-subline { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; color: var(--text-soft); font-size: 10px; }
.item-subline span { padding: 4px 6px !important; border: 1px solid var(--line) !important; border-radius: 6px; background: var(--surface-soft) !important; }
.badge { display: inline-flex; align-items: center; min-height: 21px; padding: 0 7px; border: 1px solid transparent; border-radius: 99px; font-size: 9px; font-weight: 750; line-height: 1; white-space: nowrap; }
.badge-running { border-color: #c6eedb; background: var(--green-soft); color: var(--green); animation: badge-breathe 2.4s ease-in-out infinite; }
.badge-paused { border-color: #f3ddb0; background: var(--amber-soft); color: var(--amber); }
.badge-completed { border-color: #cde1fb; background: var(--blue-soft); color: var(--blue); }
.badge-cancelled { border-color: #f3cfd2; background: var(--red-soft); color: var(--red); }
.badge-idle { border-color: var(--line); background: var(--surface-soft); color: var(--muted); }
.badge-regular { border-color: #d9d0fb; background: var(--violet-soft); color: var(--violet); }
.item-kind-chip { display: inline-flex !important; align-items: center; gap: 4px; border-color: rgba(122, 91, 220, 0.2) !important; background: var(--violet-soft) !important; color: var(--violet); font-weight: 750; }
.item-kind-chip .ui-icon { width: 11px; height: 11px; }
.progress { height: 6px !important; margin-top: 12px !important; overflow: hidden; border-radius: 99px !important; background: #edf1f6 !important; }
.progress-fill { position: relative; min-width: 2px; height: 100%; overflow: hidden; border-radius: inherit; background: var(--blue) !important; box-shadow: none !important; transition: width 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.progress-fill:not(.done)::after { position: absolute; inset: 0; width: 46%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent); content: ""; transform: translateX(-160%); animation: progress-sheen 2.4s ease-in-out infinite; }
.progress-fill.cooldown { background: var(--amber) !important; }
.progress-fill.done { background: var(--green) !important; }
.item-foot { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px !important; }
.item-progress-text { color: var(--text-soft); font-size: 10px !important; font-weight: 700 !important; }
.item-like-progress { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--pink); font-size: 9px; }
.item-like-icon { display: grid; place-items: center; }
.item-like-icon .ui-icon { width: 12px; height: 12px; fill: currentColor; stroke-width: 1.6; }
.item-like-track { width: 42px; height: 4px; overflow: hidden; border-radius: 99px; background: #f4dce7; }
.item-like-track span { display: block; height: 100%; border-radius: inherit; background: var(--pink); }
.item-author { display: flex; align-items: center; gap: 4px; margin-top: 8px !important; color: var(--muted); font-size: 9px !important; }
.item-author .ui-icon { width: 11px; height: 11px; }
.item-actions { display: flex !important; flex-direction: row !important; align-items: center; gap: 5px; }
.icon-btn { display: grid; place-items: center; width: 30px !important; height: 30px !important; padding: 0; border: 1px solid var(--line) !important; border-radius: 9px !important; background: var(--surface-soft) !important; color: var(--text-soft); cursor: pointer; transition: transform 120ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; }
.icon-btn svg { width: 15px; height: 15px; stroke-width: 2; }
.icon-btn:active { transform: scale(0.9); }
.icon-btn-primary { border-color: #cfe0f5 !important; background: var(--blue-soft) !important; color: var(--blue) !important; }
.icon-btn-danger { border-color: #f1d8da !important; background: var(--red-soft) !important; color: var(--red) !important; }
.icon-btn-pin { color: var(--muted); }
.icon-btn-pin.active { border-color: #cfe0f5 !important; background: var(--blue-soft) !important; color: var(--blue) !important; }
.icon-btn-pin.active svg { fill: currentColor; }
.icon-btn:disabled { cursor: wait; opacity: 0.5; }
.regular-range { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 6px; margin-top: 11px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text-soft); font-size: 10px; line-height: 1.35; }
.regular-range strong { color: var(--text); font-size: 12px; font-weight: 800; }
.regular-range > span { font-weight: 650; }
.regular-range small { grid-column: 1 / -1; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 600; }
.item.has-live-progress { border-color: rgba(52, 127, 241, 0.28) !important; }

.panel-hero { display: flex; align-items: center; gap: 12px; padding: 17px; }
.panel-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; }
.panel-icon .ui-icon { width: 21px; height: 21px; stroke-width: 1.8; }
.panel-icon-blue { background: var(--blue-soft); color: var(--blue); }
.panel-icon-pink { background: var(--pink-soft); color: var(--pink); }
.panel-icon-grey { background: #f0f3f7; color: var(--text-soft); }
.panel-hero-copy { min-width: 0; flex: 1; }
.panel-hero h2 { margin: 5px 0 5px; color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -0.05em; }
.panel-hero p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.45; }
.round-action { width: 38px; height: 38px; }
.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 3px 10px; color: var(--text); font-size: 12px; font-weight: 750; }
.tasks-list-heading { margin-top: 22px; }
.list-heading-note { color: var(--muted); font-size: 10px; font-weight: 600; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.summary .stat { padding: 13px 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.summary .num { color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -0.05em; }
.summary .label { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 650; }
.acc-row { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto auto; gap: 9px; align-items: center; margin-bottom: 7px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-sm); }
.acc-dot { width: 8px; height: 8px; border-radius: 50%; }
.acc-dot.on { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.acc-dot.off { background: var(--muted); box-shadow: 0 0 0 4px #f0f2f5; }
.acc-name { overflow: hidden; color: var(--text); font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.accounts-pagination { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 10px; margin: 14px 0 4px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.accounts-pagination[hidden] { display: none !important; }
.pagination-btn { display: grid; place-items: center; width: 42px; height: 38px; padding: 0; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface-soft); color: var(--blue); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 120ms ease; }
.pagination-btn .ui-icon { width: 17px; height: 17px; stroke-width: 2; transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.pagination-btn .pagination-prev { transform: rotate(180deg); }
.pagination-btn:active { transform: scale(0.94); }
.pagination-btn:not(:disabled):active .ui-icon:not(.pagination-prev) { transform: translateX(2px); }
.pagination-btn:not(:disabled):active .pagination-prev { transform: rotate(180deg) translateX(2px); }
.pagination-btn:disabled { color: var(--muted); cursor: default; opacity: 0.42; }
.pagination-copy { min-width: 0; text-align: center; }
.pagination-copy strong { display: block; color: var(--text); font-size: 11px; font-weight: 750; }
.pagination-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
#accounts-list[aria-busy="true"] { opacity: 0.58; transition: opacity 140ms ease; }
.like-menu-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) 22px; gap: 11px; align-items: center; width: 100%; min-height: 68px; margin-bottom: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); cursor: pointer; text-align: left; transition: transform 140ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.like-menu-item:hover { border-color: #c8daf4; box-shadow: var(--shadow-md); }
.like-menu-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; }
.like-menu-ic .ui-icon { width: 20px; height: 20px; transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-violet { background: var(--violet-soft); color: var(--violet); }
.icon-orange { background: var(--amber-soft); color: var(--amber); }
.like-menu-copy { display: grid; gap: 4px; min-width: 0; }
.like-menu-copy b { font-size: 12px; font-weight: 750; }
.like-menu-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.like-menu-arr { display: grid; place-items: center; color: var(--muted); }
.like-menu-arr .ui-icon { width: 17px; height: 17px; transition: transform 180ms ease; }
.like-menu-item:active .like-menu-ic .ui-icon { transform: scale(0.9) rotate(-6deg); }
.like-menu-item:active .like-menu-arr .ui-icon { transform: translateX(2px); }

.settings-group { margin-top: 23px; }
.settings-group-title { margin: 0 3px 9px; color: var(--muted); font-size: 9px; }
.settings-card { display: flex; align-items: center; gap: 11px; min-height: 68px; margin-bottom: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, background 180ms ease, transform 150ms ease; }
.settings-card-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; }
.settings-card-icon .ui-icon { width: 19px; height: 19px; transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.blue-fill { background: var(--blue-soft); color: var(--blue); }
.cyan-fill { background: #e8f7fb; color: #2998b1; }
.amber-fill { background: var(--amber-soft); color: var(--amber); }
.violet-fill { background: var(--violet-soft); color: var(--violet); }
.green-fill { background: var(--green-soft); color: var(--green); }
.settings-card-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
.settings-card-copy b { color: var(--text); font-size: 12px; font-weight: 750; }
.settings-card-copy > span { overflow: hidden; color: var(--text-soft); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.settings-toggle-card .settings-card-copy > span { overflow: visible; text-overflow: clip; white-space: normal; }
.settings-card-copy .badge { width: fit-content; }
.settings-card-copy .detail-row { display: block; padding: 0; border: 0; background: transparent; }
.settings-card-copy .detail-row + .detail-row { margin-top: 3px; }
.settings-card-copy .detail-label { display: inline; margin-right: 4px; color: var(--muted); font-size: 9px; }
.settings-card-copy .detail-value { color: var(--text-soft); font-size: 9px; }
.connection-status { display: inline-flex; align-items: center; gap: 3px; }
.connection-status .ui-icon { width: 11px; height: 11px; stroke-width: 2.2; }
.connection-status.connected { color: var(--green); }
.connection-status.disconnected { color: var(--red); }
.system-load-group { margin-top: 18px; }
.restart-system-card { margin-top: 8px; margin-bottom: 0; }
.system-load-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.system-load-overview { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 13px 13px 10px; }
.system-load-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); transition: background 260ms ease, color 260ms ease; }
.system-load-icon .ui-icon { width: 20px; height: 20px; stroke-width: 1.8; }
.system-load-copy { display: grid; min-width: 0; gap: 3px; }
.system-load-copy b { color: var(--text); font-size: 12px; font-weight: 750; }
.system-load-copy span { color: var(--text-soft); font-size: 9px; }
.system-load-overview > strong { color: var(--green); font-size: 22px; font-weight: 800; letter-spacing: -0.04em; transition: color 260ms ease; }
.system-load-track { height: 4px; margin: 0 13px 13px; overflow: hidden; border-radius: 99px; background: var(--surface-soft); }
.system-load-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width 650ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease; }
.system-load-card[data-load="warning"] .system-load-icon { background: var(--amber-soft); color: var(--amber); }
.system-load-card[data-load="warning"] .system-load-overview > strong { color: var(--amber); }
.system-load-card[data-load="warning"] .system-load-track span { background: var(--amber); }
.system-load-card[data-load="high"] .system-load-icon { background: var(--red-soft); color: var(--red); }
.system-load-card[data-load="high"] .system-load-overview > strong { color: var(--red); }
.system-load-card[data-load="high"] .system-load-track span { background: var(--red); }
.system-metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.system-metric { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; min-height: 72px; padding: 10px 11px; border-bottom: 1px solid var(--line); }
.system-metric:nth-child(odd) { border-right: 1px solid var(--line); }
.system-metric:nth-last-child(-n+2) { border-bottom: 0; }
.system-metric-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.system-metric-icon .ui-icon { width: 15px; height: 15px; stroke-width: 1.8; }
.system-metric-copy { display: grid; min-width: 0; gap: 2px; font-style: normal; }
.system-metric-copy small { overflow: hidden; color: var(--muted); font-size: 8px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.system-metric-copy b { overflow: hidden; color: var(--text); font-size: 10px; font-weight: 750; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.system-metric-copy em { overflow: hidden; color: var(--text-soft); font-size: 8px; font-style: normal; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.compact-btn { width: auto !important; min-width: 92px; min-height: 34px !important; padding: 0 10px !important; border-radius: 10px !important; font-size: 10px !important; }
.settings-action-btn { display: inline-flex; align-items: center; gap: 3px; min-height: 32px; padding: 0 8px 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-soft); color: var(--text-soft); cursor: pointer; font-size: 9px; font-weight: 750; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 120ms ease; }
.settings-action-btn .ui-icon { width: 13px; height: 13px; }
.settings-action-btn:active { transform: scale(0.96); }
.settings-action-btn:active .ui-icon { transform: translateX(2px); }
.save-settings { margin-top: 3px; }
.settings-form-card { margin-bottom: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, background 180ms ease; }
.settings-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 9px; margin-top: 12px; }
.settings-field { display: grid; min-width: 0; gap: 4px; }
.settings-field > span { color: var(--text); font-size: 11px; font-weight: 750; line-height: 1.25; }
.settings-field > small { min-height: 13px; color: var(--muted); font-size: 8px; line-height: 1.3; }
.settings-field input,
.settings-field select { min-height: 42px !important; padding: 0 11px !important; border-radius: 11px !important; font-size: 11px !important; }
.settings-field-wide select { margin-top: 4px !important; }
.switch { position: relative; display: inline-flex; width: 42px; height: 25px; flex: 0 0 auto; cursor: pointer; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #dfe5ed; transition: background 180ms ease; }
.switch span::after { position: absolute; top: 4px; left: 4px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(24, 35, 51, 0.18); content: ""; transition: transform 180ms ease; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(17px); }

.theme-card-icon { background: linear-gradient(145deg, #fff4c7, #e9f1ff); color: #e29b24; }
.theme-card-icon svg { width: 20px; height: 20px; }
.theme-switch { position: relative; display: inline-flex; width: 62px; height: 32px; flex: 0 0 auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.theme-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.theme-switch-track { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border: 1px solid #d9e2ef; border-radius: 99px; background: #edf3fb; box-shadow: inset 0 1px 2px rgba(33, 58, 92, 0.08); transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.theme-switch svg { position: absolute; top: 8px; z-index: 1; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: color 220ms ease, opacity 220ms ease, transform 220ms ease; }
.theme-switch-sun { left: 8px; color: #d88918; }
.theme-switch-moon { right: 8px; color: #8290a3; }
.theme-switch-thumb { position: absolute; top: 3px; left: 3px; z-index: 2; width: 24px; height: 24px; border: 1px solid rgba(30, 55, 88, 0.07); border-radius: 50%; background: #fff; box-shadow: 0 3px 9px rgba(32, 52, 79, 0.2); transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 220ms ease, box-shadow 220ms ease; }
.theme-switch input:checked + .theme-switch-track { border-color: #394d67; background: #243349; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22); }
.theme-switch input:checked + .theme-switch-track .theme-switch-thumb { background: #111a26; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38); transform: translateX(30px); }
.theme-switch input:checked + .theme-switch-track .theme-switch-sun { color: #7f8b9d; opacity: 0.65; transform: rotate(25deg); }
.theme-switch input:checked + .theme-switch-track .theme-switch-moon { color: #dbe7ff; }
.theme-switch input:focus-visible + .theme-switch-track { outline: 3px solid rgba(52, 127, 241, 0.22); outline-offset: 2px; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 14px; overflow: hidden; border: 0; border-radius: 12px; background: var(--blue); color: #fff; box-shadow: 0 8px 16px rgba(52, 127, 241, 0.18); cursor: pointer; font-size: 12px; font-weight: 750; transition: transform 140ms ease, opacity 140ms ease, box-shadow 140ms ease; }
.btn::before, .btn::after { display: none !important; }
.btn:active { transform: scale(0.98); }
.btn:hover { box-shadow: 0 10px 20px rgba(52, 127, 241, 0.23); }
.btn:disabled { cursor: wait; opacity: 0.55; }
.btn-danger { background: var(--red); color: #fff; box-shadow: 0 8px 16px rgba(217, 78, 91, 0.16); }
.btn-secondary { border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--text); box-shadow: none; }
.btn-leading { width: 17px; height: 17px; margin-right: 1px; }

.modal-backdrop { position: fixed !important; inset: 0; z-index: 100; display: flex !important; align-items: flex-end !important; justify-content: center; padding: 12px calc(10px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(10px + var(--safe-left)); background: rgba(20, 27, 38, 0.38) !important; backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); animation: backdrop-in 320ms ease both; }
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop-centered { align-items: center !important; }
.modal-sheet { position: relative; width: min(100%, 480px); max-height: min(88svh, 780px); max-height: min(88dvh, 780px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 32px 16px 18px; border: 1px solid var(--line-strong); border-radius: 27px; background: var(--surface); box-shadow: 0 18px 64px rgba(25, 39, 61, 0.24); animation: sheet-in 440ms cubic-bezier(0.16, 1, 0.3, 1); }
.modal-sheet::-webkit-scrollbar { display: none; }
.modal-sheet::before { position: absolute; top: 10px; left: 50%; width: 38px; height: 4px; border-radius: 99px; background: var(--line-strong); content: ""; transform: translateX(-50%); }
.modal-sheet-small { max-width: 460px; }
.modal-sheet-tall { max-height: min(90svh, 780px); max-height: min(90dvh, 780px); }
.modal-close { position: absolute; top: 18px; right: calc(14px + var(--safe-right)); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--text-soft); cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.modal-close .ui-icon { width: 17px; height: 17px; stroke-width: 2; transition: transform 180ms ease; }
.modal-close:active { background: var(--line-strong); color: var(--text); transform: scale(0.94); }
.modal-close:active .ui-icon { transform: rotate(90deg); }
.sheet-kicker { margin: 0 48px 5px 1px; color: var(--blue); font-size: 9px; letter-spacing: 0.08em; }
.modal-sheet h2 { margin: 0 48px 6px 0; color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.15; }
.sheet-subtitle { max-width: 330px; margin: 0 0 20px; color: var(--text-soft); font-size: 11px; line-height: 1.5; }
.form-label, .field-label { display: block; margin: 14px 2px 7px; color: var(--text-soft); font-size: 10px; font-weight: 700; line-height: 1.25; }
.optional { color: var(--muted); font-weight: 500; }
input[type="text"], input[type="number"], select, textarea { width: 100% !important; min-height: 50px; margin: 0 !important; padding: 0 14px !important; border: 1px solid var(--line-strong) !important; border-radius: 14px !important; outline: none; background: var(--surface-soft) !important; color: var(--text) !important; font-size: 12px !important; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
input::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: #9fc3f5 !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(52, 127, 241, 0.1); }
select { appearance: auto; -webkit-appearance: auto; }
.source-select-native { position: absolute !important; width: 1px !important; min-height: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0 !important; opacity: 0; pointer-events: none; white-space: nowrap; }
.source-picker-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface-soft); color: var(--text); font-size: 13px; font-weight: 650; text-align: left; cursor: pointer; transition: border-color 280ms ease, background 280ms ease, box-shadow 320ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.source-picker-trigger .ui-icon { width: 17px; height: 17px; color: var(--muted); transform: rotate(90deg); transition: color 160ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.source-picker-trigger:active { border-color: #9fc3f5; background: var(--surface-blue); transform: scale(0.99); }
.source-picker-trigger:active .ui-icon { color: var(--blue); transform: rotate(90deg) translateX(2px); }
.source-picker-trigger-compact { min-height: 44px; margin-top: 6px; padding: 0 12px; border-radius: 11px; font-size: 11px; }
.source-picker-backdrop { z-index: 130; }
.modal-source-picker { padding-bottom: 14px; }
.source-picker-options { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.source-picker-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 62px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: background 280ms ease, color 280ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.source-picker-option:last-child { border-bottom: 0; }
.source-picker-option:active { background: var(--surface-blue); }
.source-picker-option.active { background: var(--blue-soft); color: var(--blue); }
.source-option-copy { min-width: 0; }
.source-option-copy b { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.source-option-copy small { display: block; margin-top: 4px; color: var(--text-soft); font-size: 9px; line-height: 1.35; }
.source-option-check { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; background: transparent; color: transparent; }
.source-option-check .ui-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.source-picker-option.active .source-option-check { background: var(--blue); color: #fff; }
.task-filter-backdrop { z-index: 131; }
.task-filter-sheet { max-width: 430px; padding-bottom: 14px; }
.task-filter-options { overflow: hidden; margin-top: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.task-filter-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 9px 11px 9px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: background 260ms ease, color 260ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1); }
.task-filter-option:last-child { border-bottom: 0; }
.task-filter-option:active { background: var(--surface-blue); transform: scale(0.99); }
.task-filter-option.active { background: var(--blue-soft); color: var(--blue); }
.task-filter-option-copy { min-width: 0; }
.task-filter-option-copy b { display: block; font-size: 13px; font-weight: 750; line-height: 1.25; }
.task-filter-option-copy small { display: block; margin-top: 3px; color: var(--text-soft); font-size: 9px; line-height: 1.35; }
.task-filter-option-meta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.task-filter-count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 9px; background: var(--surface-soft); color: var(--text-soft); font-size: 10px; font-weight: 750; transition: background 220ms ease, color 220ms ease; }
.task-filter-check { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: transparent; color: transparent; transform: scale(0.72); transition: background 260ms ease, color 260ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1); }
.task-filter-check .ui-icon { width: 15px; height: 15px; stroke-width: 2.4; }
.task-filter-option.active .task-filter-count { background: rgba(52, 127, 241, 0.12); color: var(--blue); }
.task-filter-option.active .task-filter-check { background: var(--blue); color: #fff; transform: scale(1); }
.row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; margin-top: 1px; }
.input-wrap { min-width: 0; }
.modal-text { margin: 16px 0 2px; padding: 12px 13px; border: 1px solid #e4ebf5; border-radius: 13px; background: var(--surface-blue); color: var(--text-soft); font-size: 10px; line-height: 1.5; }
.modal-divider { display: flex; align-items: center; gap: 10px; margin: 15px 0 3px; color: var(--muted); font-size: 10px; }
.modal-divider::before, .modal-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.task-error { margin: 14px 0 0; padding: 12px 13px; border: 1px solid #f0c9ce; border-radius: 13px; background: var(--red-soft); color: var(--red); font-size: 11px; line-height: 1.45; }
.task-preview { margin: 14px 0 0; padding: 12px; border: 1px solid #cce3d8; border-radius: 13px; background: var(--green-soft); color: var(--text); transition: min-height 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background 260ms ease; }
.task-preview-inline { margin-top: 8px; margin-bottom: 2px; animation: preview-in 360ms cubic-bezier(0.16, 1, 0.3, 1); }
.task-preview.is-loading { border-color: #cfe0f5; background: var(--blue-soft); }
.task-preview.is-error { border-color: #f0cbd0; background: var(--red-soft); }
.preview-status { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 32px; }
.preview-status > span:last-child { min-width: 0; }
.preview-status b { display: block; overflow: hidden; color: var(--text); font-size: 10px; font-weight: 750; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.preview-status small { display: block; margin-top: 2px; overflow: hidden; color: var(--text-soft); font-size: 8px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.preview-spinner { width: 22px; height: 22px; margin: 3px; border: 2px solid rgba(52, 127, 241, 0.2); border-top-color: var(--blue); border-radius: 50%; animation: spin 760ms linear infinite; }
.preview-ready-icon, .preview-error-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; }
.preview-ready-icon { background: rgba(32, 168, 107, 0.12); color: var(--green); }
.preview-ready-icon .ui-icon { width: 15px; height: 15px; stroke-width: 2.2; }
.preview-error-icon { background: rgba(217, 78, 91, 0.12); color: var(--red); font-size: 13px; font-weight: 850; }
.preview-name { font-size: 12px; font-weight: 750; }
.preview-meta { margin-top: 5px; color: var(--green); font-size: 10px; }
.confirm-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; }
.confirm-icon .ui-icon { width: 23px; height: 23px; animation: rotate-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.restart-settings-sheet { text-align: center; }
.restart-settings-sheet .confirm-icon, .modal-confirm-centered .confirm-icon { margin: 0 auto 14px; }
.restart-settings-sheet .sheet-kicker, .modal-confirm-centered .sheet-kicker { margin-right: 0; margin-left: 0; text-align: center; }
.restart-settings-sheet h2, .modal-confirm-centered h2 { margin-right: 42px; margin-left: 42px; text-align: center; }
.restart-settings-sheet .sheet-subtitle, .modal-confirm-centered .sheet-subtitle { margin-right: auto; margin-left: auto; text-align: center; }
.modal-confirm-centered { padding: 42px 22px 22px; text-align: center; }
.modal-confirm-centered::before { display: none; }
.modal-confirm-centered .btn { width: min(100%, 280px); margin-right: auto; margin-left: auto; }
.restart-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 2px 0 10px; }
.restart-status-grid > div { min-width: 0; padding: 12px 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.restart-status-grid span, .restart-status-grid b { display: block; }
.restart-status-grid span { margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.restart-status-grid b { color: var(--text); font-size: 10px; font-weight: 750; line-height: 1.45; }
.restart-auto-control { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; margin-top: 8px; padding: 15px 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); cursor: pointer; }
.restart-auto-control > span:first-child { display: grid; gap: 4px; }
.restart-auto-control b { color: var(--text); font-size: 12px; }
.restart-auto-control small { color: var(--text-soft); font-size: 9px; line-height: 1.45; }
.restart-interval { margin-top: 14px; transition: opacity 180ms ease; }
.restart-interval.is-disabled { opacity: 0.45; }
.restart-control-label { display: block; margin-bottom: 8px; color: var(--text-soft); font-size: 10px; font-weight: 700; }
.restart-interval-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.restart-interval-options button { min-width: 0; min-height: 42px; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface-soft); color: var(--text-soft); cursor: pointer; font-size: 10px; font-weight: 750; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 140ms ease; }
.restart-interval-options button.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.restart-interval-options button:active { transform: scale(0.96); }
.restart-interval-options button:disabled { cursor: default; }
.restart-settings-sheet #restart-settings-save { margin-top: 16px; }
.restart-now-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; margin-top: 8px; padding: 0 13px; border: 0; border-radius: 11px; background: transparent; color: var(--red); cursor: pointer; font-size: 10px; font-weight: 750; transition: background 160ms ease, transform 140ms ease; }
.restart-now-btn .ui-icon { width: 15px; height: 15px; }
.restart-now-btn:active { background: var(--red-soft); transform: scale(0.98); }
.modal-detail .detail-header { padding-right: 34px; }
.detail-artist { color: var(--muted); font-size: 11px; font-weight: 650; }
.detail-title { display: block; margin-top: 4px; color: var(--blue); font-size: 17px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; text-decoration: none; }
.detail-grid { margin-top: 19px; border-top: 1px solid var(--line); }
.detail-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-label { color: var(--muted); font-size: 10px; }
.detail-value { max-width: 66%; color: var(--text); font-size: 10px; font-weight: 700; text-align: right; }
.item-title-with-icon { display: flex; align-items: center; gap: 6px; }
.item-title-with-icon .ui-icon { width: 14px; height: 14px; flex: 0 0 auto; color: var(--pink); }
.item-title-with-icon span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.success-emoji-wrap { display: grid; place-items: center; width: 58px; height: 58px; margin: 1px 0 15px; border-radius: 18px; background: var(--green-soft); color: var(--green); font-size: 30px; font-weight: 500; animation: success-pop 360ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.success-emoji { width: 28px; height: 28px; animation: success-check 420ms ease; }
.modal-success h2 { margin-bottom: 8px; }
.success-track { margin: 0 0 18px; padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text-soft); font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.modal-sheet > .btn:last-child { min-height: 50px; margin-top: 18px; border-radius: 14px; }

.tabbar { --tab-indicator-x: 0px; position: fixed !important; left: 50% !important; right: auto !important; top: auto !important; bottom: calc(var(--safe-bottom) + 14px) !important; z-index: 50; display: flex !important; align-items: center; gap: 4px !important; width: auto !important; height: auto !important; padding: 8px 18px !important; overflow: visible; transform: translateX(-50%) !important; border: 1px solid rgba(24, 35, 51, 0.11) !important; border-radius: 999px !important; background: rgba(255, 255, 255, 0.72) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 -1px 0 rgba(24, 35, 51, 0.04), 0 12px 32px rgba(39, 61, 94, 0.18) !important; backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 280ms ease; }
.tabbar.hide { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(160%) !important; }
.tab-indicator { position: absolute; bottom: 7px; left: 0; z-index: 0; display: block !important; width: 14px; height: 3px; border: 0; border-radius: 99px; background: var(--blue); opacity: 0; pointer-events: none; transform: translate3d(var(--tab-indicator-x), 0, 0); will-change: transform; }
.tabbar.indicator-ready .tab-indicator { opacity: 1; transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease; }
.tab { position: relative; z-index: 1; display: flex !important; flex-direction: column !important; align-items: center; justify-content: center; width: 60px !important; height: 54px !important; padding: 0 !important; gap: 3px; border: 0 !important; border-radius: 22px !important; background: transparent !important; color: var(--muted) !important; cursor: pointer; transition: color 280ms ease, transform 100ms ease; }
.tab svg { width: 21px; height: 21px; stroke-width: 1.8; transform: translateY(0); transition: color 320ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.tab-label { margin: 0; color: inherit; font-size: 10px !important; font-weight: 600 !important; line-height: 1; opacity: 0.78; white-space: nowrap; transition: color 320ms ease, opacity 320ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.tab.active { color: var(--blue) !important; }
.tab.active svg { transform: translateY(-1px); }
.tab.active .tab-label { opacity: 1; transform: translateY(-1px); }
.tab:active { transform: scale(0.92); }
.tab-badge { position: absolute; top: 2px; right: 6px; z-index: 2; display: flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border: 0; border-radius: 999px; background: var(--red); color: #fff; box-shadow: 0 0 0 2px var(--bg), 0 2px 6px rgba(237, 102, 114, 0.48); font-size: 9px; font-weight: 800; line-height: 1; }
.tab-badge[hidden] { display: none !important; }

.toast { position: fixed !important; right: calc(16px + var(--safe-right)); bottom: calc(var(--safe-bottom) + 90px); left: calc(16px + var(--safe-left)); z-index: 150; width: fit-content; max-width: calc(100% - 32px - var(--safe-left) - var(--safe-right)); margin: auto; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #20324d; color: #fff; box-shadow: 0 12px 28px rgba(28, 49, 80, 0.2); font-size: 11px; font-weight: 650; text-align: center; animation: toast-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }

.tab-panel:not([hidden]) > .panel-hero,
.tab-panel:not([hidden]) > .settings-group { animation: surface-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.tab-panel:not([hidden]) > .settings-group:nth-child(2) { animation-delay: 35ms; }
.tab-panel:not([hidden]) > .settings-group:nth-child(3) { animation-delay: 70ms; }
.tab-panel:not([hidden]) > .settings-group:nth-child(4) { animation-delay: 105ms; }
.tab-panel:not([hidden]) > .settings-group:nth-child(5) { animation-delay: 140ms; }
.likes-hero + .list-heading { animation: surface-in 280ms 40ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.tab-panel:not([hidden]) > .like-menu-item { animation: surface-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.tab-panel:not([hidden]) > .like-menu-item:nth-of-type(1) { animation-delay: 65ms; }
.tab-panel:not([hidden]) > .like-menu-item:nth-of-type(2) { animation-delay: 100ms; }
.tab-panel:not([hidden]) > .like-menu-item:nth-of-type(3) { animation-delay: 135ms; }
.settings-player.is-running .settings-card-icon .ui-icon { animation: player-pulse 1.8s ease-in-out infinite; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { display: block !important; width: 14px; height: 14px; margin-right: 7px; border: 2px solid rgba(255,255,255,0.38); border-top-color: #fff; border-radius: 50%; content: ""; animation: spin 700ms linear infinite; }

@media (hover: hover) {
    .title-action:hover { border-color: #a9c8f2; background: var(--blue-soft); color: var(--blue); box-shadow: 0 7px 16px rgba(52, 127, 241, 0.1); }
    .title-action:hover .action-plus { transform: rotate(90deg); }
    .title-action-icon:hover .ui-icon { transform: rotate(35deg); }
    .round-action:hover { border-color: #9ec1f1; box-shadow: 0 7px 16px rgba(52, 127, 241, 0.13); transform: translateY(-1px); }
    .like-menu-item:hover .like-menu-ic .ui-icon { transform: scale(1.08) rotate(-4deg); }
    .like-menu-item:hover .like-menu-arr .ui-icon { transform: translateX(2px); }
    .settings-card:hover, .settings-form-card:hover { border-color: #c8daf4; }
    .settings-card:hover .settings-card-icon .ui-icon { transform: scale(1.07); }
    .settings-action-btn:hover { border-color: #aecbf1; background: var(--blue-soft); color: var(--blue); }
    .modal-close:hover { background: var(--line); color: var(--text); }
}

html[data-theme="dark"] body { background: #000; }
html[data-theme="dark"] #app { box-shadow: none; }
html[data-theme="dark"] .app-header { background: rgba(0, 0, 0, 0.94) !important; }
html[data-theme="dark"] .dashboard-hero { box-shadow: var(--shadow-sm); }
html[data-theme="dark"] .metric-card { background: rgba(28, 37, 49, 0.84); }
html[data-theme="dark"] .metric-card-featured { border-color: #2b4d75; background: var(--blue-soft); }
html[data-theme="dark"] .empty { background: rgba(10, 10, 11, 0.78); }
html[data-theme="dark"] .item:hover,
html[data-theme="dark"] .like-menu-item:hover { border-color: #3d5471 !important; }
html[data-theme="dark"] .badge-running { border-color: #28563f; }
html[data-theme="dark"] .badge-paused { border-color: #5a4725; }
html[data-theme="dark"] .badge-completed { border-color: #2b4d75; }
html[data-theme="dark"] .badge-cancelled { border-color: #61323b; }
html[data-theme="dark"] .progress { background: #1d1d20 !important; }
html[data-theme="dark"] .item-like-track { background: #28141d; }
html[data-theme="dark"] .icon-btn-primary,
html[data-theme="dark"] .toolbar-icon-btn,
html[data-theme="dark"] .round-action { border-color: #2b4d75 !important; }
html[data-theme="dark"] .icon-btn-danger { border-color: #5d3038 !important; }
html[data-theme="dark"] .panel-icon-grey { background: #151517; }
html[data-theme="dark"] .acc-dot.off { box-shadow: 0 0 0 4px #151517; }
html[data-theme="dark"] .cyan-fill { background: #0d2024; color: #5dc1d7; }
html[data-theme="dark"] .theme-card-icon { background: #1d1a12; color: #e9ac4c; }
html[data-theme="dark"] .settings-action-btn { background: #111113; }
html[data-theme="dark"] .settings-action-btn:hover { border-color: #31547f; background: var(--blue-soft); }
html[data-theme="dark"] .switch span { background: #29292d; }
html[data-theme="dark"] .theme-switch input:checked + .theme-switch-track { border-color: #303034; background: #0a0a0b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01); }
html[data-theme="dark"] .theme-switch input:checked + .theme-switch-track .theme-switch-thumb { background: #1b1b1e; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.72); }
html[data-theme="dark"] .modal-backdrop { background: rgba(0, 0, 0, 0.76) !important; }
html[data-theme="dark"] .modal-sheet { background: #09090a; box-shadow: 0 22px 80px rgba(0, 0, 0, 0.86); }
html[data-theme="dark"] .modal-sheet::before { background: #343438; }
html[data-theme="dark"] .modal-close { background: #151517; }
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus { border-color: #4c78ad !important; background: var(--surface) !important; }
html[data-theme="dark"] .modal-text { border-color: #1b2b3f; }
html[data-theme="dark"] .task-error { border-color: #60323a; }
html[data-theme="dark"] .task-preview { border-color: #28563f; }
html[data-theme="dark"] .tabbar { border-color: rgba(255, 255, 255, 0.1) !important; background: rgba(18, 18, 21, 0.62) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.03), 0 14px 38px rgba(0, 0, 0, 0.72) !important; }
html[data-theme="dark"] .tab { color: #73737c !important; }
html[data-theme="dark"] .tab.active { color: #fff !important; }
html[data-theme="dark"] .tab-indicator { background: #fff; }
html[data-theme="dark"] .tab-badge { border-color: var(--surface); }
html[data-theme="dark"] .toast { background: #edf3fb; color: #121a25; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32); }

@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes success-pop { from { opacity: 0; transform: scale(0.75); } to { opacity: 1; transform: scale(1); } }
@keyframes success-check { from { opacity: 0; transform: scale(0.4) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes surface-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes task-state-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes task-item-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes preview-in { from { opacity: 0; transform: translateY(-4px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes tab-icon-pop { 0% { transform: translateY(1px) scale(0.88); } 65% { transform: translateY(-2px) scale(1.08); } 100% { transform: translateY(-1px) scale(1); } }
@keyframes progress-sheen { 0%, 24% { transform: translateX(-160%); } 70%, 100% { transform: translateX(260%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes rotate-in { from { opacity: 0; transform: rotate(-70deg) scale(0.8); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes player-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.72; } }
@keyframes badge-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(66, 204, 130, 0); } 50% { box-shadow: 0 0 0 3px rgba(66, 204, 130, 0.08); } }
@keyframes status-play-motion { 0%, 100% { transform: translateX(0) scale(0.96); } 50% { transform: translateX(1px) scale(1.08); } }
@keyframes status-play-wave { 0% { opacity: 0.34; transform: scale(0.72); } 75%, 100% { opacity: 0; transform: scale(1.18); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 720px) {
    body { min-height: 100vh; }
    #app { min-height: 100vh; }
    #content { padding-right: calc(14px + var(--safe-right)); padding-left: calc(14px + var(--safe-left)); }
    .dashboard-hero { grid-template-columns: 1fr; }
    .hero-metrics { grid-template-columns: repeat(3, 1fr); }
    .metric-card { display: block; }
    .metric-card strong { margin-top: 8px; font-size: 23px; }
    .metric-card small { margin-top: 6px; }
    .tabbar { top: auto !important; right: auto !important; bottom: calc(var(--safe-bottom) + 14px) !important; left: 50% !important; width: auto !important; height: auto !important; flex-direction: row !important; }
}

@media (max-width: 480px) {
    .app-header { min-height: calc(var(--safe-top) + 8px); }
    html.telegram-mobile .app-header { min-height: var(--telegram-system-header-height); }
    .header-status { display: none; }
    #content { padding: 14px calc(14px + var(--safe-right)) calc(var(--safe-bottom) + 100px) calc(14px + var(--safe-left)); }
    .large-title-row { margin: 2px 4px 10px; }
    .title-copy-actions { gap: 7px; }
    .task-filter-trigger { width: 32px; height: 32px; border-radius: 10px; }
    .task-filter-trigger .ui-icon { width: 18px; height: 18px; }
    .title-actions { gap: 6px; }
    .title-action { min-height: 30px; padding: 6px 12px; font-size: 12px; }
    .title-action-icon { width: 32px; padding: 0; }
    .dashboard-hero { padding: 16px; border-radius: 19px; }
    .hero-main h2 { font-size: 27px; }
    .hero-break { display: none; }
    .hero-main p { font-size: 11px; }
    .hero-actions { gap: 7px; }
    .hero-btn { min-height: 42px; padding: 0 9px; font-size: 10px; }
    .button-icon { font-size: 19px; }
    .hero-metrics { gap: 5px; }
    .metric-card { padding: 10px 8px; }
    .metric-label { font-size: 8px; }
    .metric-card strong { margin-top: 6px; font-size: 20px; }
    .metric-card small { font-size: 8px; }
    .item { grid-template-columns: 34px minmax(0, 1fr) auto !important; gap: 8px !important; padding: 11px !important; }
    .like-job-item { grid-template-columns: minmax(0, 1fr) auto !important; gap: 10px !important; padding: 12px !important; }
    .item-status-orb { width: 34px !important; height: 34px !important; }
    .item-title { font-size: 12px !important; }
    .item-actions { gap: 3px; }
    .icon-btn { width: 28px !important; height: 28px !important; }
    .panel-hero { padding: 14px; }
    .panel-icon { width: 38px; height: 38px; }
    .panel-hero h2 { font-size: 18px; }
    .panel-hero p { font-size: 10px; }
    .summary .stat { padding: 11px 8px; }
    .summary .num { font-size: 18px; }
    .summary .label { font-size: 8px; }
    .modal-sheet { padding-right: 14px; padding-left: 14px; }
    .row { gap: 7px !important; }
    .tabbar { max-width: calc(100% - 20px - var(--safe-left) - var(--safe-right)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
