:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: #030504;
  color: #f8f8f5;
  --bg: #030504;
  --bg-soft: #08100d;
  --panel: rgba(14, 18, 16, 0.78);
  --panel-strong: rgba(19, 24, 22, 0.9);
  --text: #f8f8f5;
  --muted: #a8aea8;
  --quiet: #6e756e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --blue: #1268df;
  --blue-2: #0d3a62;
  --green: #52db5f;
  --green-2: #2e9a3f;
  --rail: rgba(82, 219, 95, 0.92);
  --button-text: #061008;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 11% 10%, rgba(18, 104, 223, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 15%, rgba(82, 219, 95, 0.18), transparent 30rem),
    linear-gradient(180deg, #030504 0%, #07100d 44%, #030504 100%);
  color: var(--text);
  outline: none;
}

.app-shell[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ed;
  --bg-soft: #ebe8de;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #11130f;
  --muted: #60665e;
  --quiet: #7a8078;
  --line: rgba(21, 26, 20, 0.12);
  --line-strong: rgba(21, 26, 20, 0.2);
  --blue: #1d70e8;
  --blue-2: #b9d7ff;
  --green: #2fbd4a;
  --green-2: #248738;
  --rail: rgba(47, 189, 74, 0.94);
  --button-text: #f8fff8;
  --shadow: 0 24px 70px rgba(33, 38, 30, 0.16);
  --shadow-soft: 0 16px 40px rgba(33, 38, 30, 0.1);
  background:
    radial-gradient(circle at 14% 4%, rgba(29, 112, 232, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 16%, rgba(47, 189, 74, 0.18), transparent 30rem),
    linear-gradient(180deg, #f5f3ed 0%, #ece9df 54%, #f7f5ef 100%);
}

.hero,
.summary-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 22px 0 44px;
}

.timer-hero {
  min-height: auto;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 72px;
}

.page-title {
  margin: clamp(34px, 8vh, 74px) 0 22px;
}

.page-title span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-title h1 {
  max-width: 860px;
  margin: 10px 0 0;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-title p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.45;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 18px;
  min-height: 64px;
}

.brand {
  display: inline-block;
  width: clamp(310px, 34vw, 500px);
  max-width: 100%;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 100%;
}

.brand-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 20px rgba(82, 219, 95, 0.14));
}

.brand-image-light {
  display: none;
}

[data-theme="light"] .brand-image-dark {
  display: none;
}

[data-theme="light"] .brand-image-light {
  display: block;
}

.pill-nav {
  display: grid;
  justify-self: end;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pill-nav-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.pill-nav-trust {
  justify-content: flex-end;
  padding-top: 5px;
  border-top: 1px solid var(--line);
}

[data-theme="light"] .pill-nav {
  background: rgba(255, 255, 255, 0.54);
}

.pill-nav a,
.pill-action {
  min-height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
  background: transparent;
  transition: color 180ms ease, background 180ms ease;
}

.pill-nav a.active,
.pill-nav a:hover,
.pill-action:hover {
  color: #080b08;
  background: #f8f8f5;
}

.site-footer {
  color-scheme: dark;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8f8f5;
  background:
    radial-gradient(circle at 12% 0%, rgba(18, 104, 223, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(82, 219, 95, 0.08), transparent 26rem),
    linear-gradient(180deg, #050a08 0%, #030504 100%);
}

.site-footer[data-theme="light"] {
  color-scheme: light;
  border-top-color: rgba(21, 26, 20, 0.14);
  color: #11130f;
  background:
    radial-gradient(circle at 12% 0%, rgba(29, 112, 232, 0.07), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(47, 189, 74, 0.07), transparent 26rem),
    linear-gradient(180deg, #f7f5ef 0%, #ece9df 100%);
}

.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 12px;
  color: #aeb8af;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  border-color: rgba(114, 255, 130, 0.42);
  color: #f8f8f5;
  background: rgba(82, 219, 95, 0.1);
}

.site-footer[data-theme="light"] .footer-links a {
  border-color: rgba(21, 26, 20, 0.12);
  color: #60665e;
  background: rgba(255, 255, 255, 0.42);
}

.site-footer[data-theme="light"] .footer-links a:hover,
.site-footer[data-theme="light"] .footer-links a[aria-current="page"] {
  border-color: rgba(36, 135, 56, 0.34);
  color: #11130f;
  background: rgba(47, 189, 74, 0.1);
}

.site-footer p {
  margin: 18px 0 0;
  color: #778078;
  font-size: 0.76rem;
  font-weight: 700;
}

.site-footer[data-theme="light"] p {
  color: #747a72;
}

[data-theme="light"] .pill-nav a.active,
[data-theme="light"] .pill-nav a:hover,
[data-theme="light"] .pill-action:hover {
  color: #f8f8f5;
  background: #10130f;
}

.top-actions {
  display: none;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.quote-card,
.timer-slab,
.summary-strip article,
.log-section,
.export-panel,
.privacy-strip,
.privacy-card,
.faq-side-card,
.feedback-panel,
.feedback-side-card,
.modal {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.quote-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  margin-top: 22px;
  padding: 11px 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 115, 238, 0.96), rgba(17, 81, 158, 0.84) 54%, rgba(23, 91, 78, 0.72)),
    var(--panel-strong);
}

[data-theme="light"] .quote-card {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(30, 123, 246, 0.96), rgba(30, 99, 190, 0.9) 56%, rgba(31, 130, 107, 0.82)),
    #1d70e8;
}

.quote-card span,
.export-panel span,
.privacy-strip span,
.section-title span,
.active-task,
.notice,
.session-card p,
.empty-state span,
.modal p,
.modal dd {
  color: var(--muted);
}

.quote-card span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.quote-card .quote-text {
  max-width: 760px;
  margin: 5px 0 0;
  font-size: clamp(1rem, 1.75vw, 1.52rem);
  font-weight: bold;
  line-height: 1.08;
  letter-spacing: 0;
  font-style: italic;
}

.quote-author {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 800;
}

.quote-card time {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.page-title,
.privacy-hero,
.faq-hero,
.feedback-hero,
.quote-card,
.content-grid,
.faq-panel,
.faq-side-card,
.feedback-panel,
.feedback-side-card,
.privacy-card,
.privacy-strip,
.export-panel,
.log-section {
  animation: sectionIn 560ms var(--ease) both;
}

.timer-slab {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  margin-top: 36px;
  padding: clamp(28px, 6vw, 60px);
  overflow: visible;
  background:
    radial-gradient(circle at 50% 8%, rgba(82, 219, 95, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(22, 27, 25, 0.9), rgba(8, 10, 9, 0.82)),
    var(--panel-strong);
  animation: sectionIn 620ms var(--ease) both;
}

[data-theme="light"] .timer-slab {
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 189, 74, 0.2), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 243, 237, 0.72)),
    var(--panel-strong);
}

.timer-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% -16px, rgba(255, 255, 255, 0.08), transparent 18rem);
}

.timer-slab.complete {
  animation: sectionIn 620ms var(--ease) both, completePulse 720ms var(--ease);
}

.rail-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
}

.rail-line {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(160, 255, 170, 0.18);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.06)),
    transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 26px rgba(82, 219, 95, 0.08);
}

[data-theme="light"] .rail-line {
  border-color: rgba(31, 142, 57, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(47, 189, 74, 0.1);
}

.turtle-marker {
  position: absolute;
  top: var(--track-y);
  left: var(--track-x);
  width: 112px;
  height: 104px;
  transform: translate(-50%, -50%);
  transition: top 900ms linear, left 900ms linear, filter 220ms var(--ease);
  filter: drop-shadow(0 8px 16px rgba(82, 255, 106, 0.48));
}

.turtle-marker.placing {
  transition: filter 220ms var(--ease);
}

.turtle-runner {
  position: absolute;
  inset: 0;
  transform: rotate(var(--turtle-angle));
  transform-origin: 50% 50%;
  transition: transform 900ms linear;
}

.turtle-marker.placing .turtle-runner {
  transition: none;
}

.turtle-trail {
  position: absolute;
  top: 50px;
  right: 78px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.98) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.76), 0 0 26px rgba(180, 255, 190, 0.24);
  opacity: 0.9;
  transform-origin: right center;
}

.turtle-marker.moving .turtle-trail {
  animation: trailPulse 900ms ease-in-out infinite;
}

.turtle-marker.resting .turtle-trail {
  opacity: 0.16;
  width: 22px;
}

.turtle-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 102px;
  height: 76px;
  translate: -50% -50%;
  overflow: visible;
}

.turtle-shadow {
  fill: rgba(8, 12, 8, 0.26);
}

.turtle-shell-back {
  fill: #263f1c;
  stroke: #061007;
  stroke-width: 4.8;
  stroke-linejoin: round;
}

.turtle-shell-main {
  fill: #7fdc3c;
  stroke: #061007;
  stroke-width: 4;
  stroke-linejoin: round;
}

.turtle-shell-highlight {
  fill: none;
  stroke: rgba(219, 255, 130, 0.72);
  stroke-width: 4.2;
  stroke-linecap: round;
}

.turtle-shell-ridge {
  fill: none;
  stroke: rgba(9, 42, 12, 0.62);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.turtle-head-main,
.turtle-leg,
.turtle-neck {
  fill: #88df45;
  stroke: #061007;
  stroke-width: 4;
  stroke-linejoin: round;
}

.turtle-leg {
  fill: #95ec4e;
}

.turtle-cheek {
  fill: rgba(217, 244, 128, 0.54);
}

.turtle-eye {
  fill: #061007;
}

.turtle-brow {
  fill: none;
  stroke: #061007;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.turtle-mouth {
  fill: none;
  stroke: #061007;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.turtle-marker.moving .leg-back-bottom,
.turtle-marker.moving .leg-front-top {
  animation: turtleStepA 680ms ease-in-out infinite alternate;
}

.turtle-marker.moving .leg-front-bottom,
.turtle-marker.moving .leg-back-top {
  animation: turtleStepB 680ms ease-in-out infinite alternate;
}

.lap-badge {
  position: absolute;
  left: 50%;
  top: 73px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  translate: -50% 0;
  border-radius: 50%;
  background: rgba(238, 244, 238, 0.92);
  color: #10140f;
  font-size: 0.74rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26), 0 0 18px rgba(255, 255, 255, 0.32);
}

.turtle-marker.right-descending .lap-badge {
  left: var(--right-badge-left);
  top: var(--right-badge-top);
}

.turtle-marker.success {
  filter: drop-shadow(0 0 18px rgba(82, 219, 95, 0.82));
}

.turtle-marker.success .lap-badge {
  animation: badgePop 620ms var(--ease);
}

.timer-core {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.active-task {
  max-width: 100%;
  color: #d8ffdf;
  overflow-wrap: anywhere;
  font-weight: 800;
  text-shadow: 0 0 22px rgba(95, 255, 119, 0.16);
}

.active-task.idle {
  color: #b8d8bd;
}

.timer-slab.complete .active-task {
  color: #ecffee;
}

[data-theme="light"] .active-task {
  color: #215f2d;
  text-shadow: none;
}

[data-theme="light"] .active-task.idle {
  color: #58745d;
}

[data-theme="light"] .timer-slab.complete .active-task {
  color: #176a29;
}

.timer-digits {
  margin: 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(4.2rem, 13vw, 9.3rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 1000;
  color: var(--text);
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

[data-theme="light"] .timer-digits {
  text-shadow: 0 16px 34px rgba(49, 54, 46, 0.14);
}

.modal label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-align: left;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.76);
}

input,
select {
  min-height: 50px;
  padding: 0 15px;
}

textarea {
  padding: 12px 15px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(82, 219, 95, 0.78);
  box-shadow: 0 0 0 4px rgba(82, 219, 95, 0.12);
}

input:disabled {
  color: var(--muted);
}

.primary-button,
.secondary-button,
.break-button,
.danger-button,
.text-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 17px;
  font-weight: 950;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.primary-button,
.break-button,
.danger-button {
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.38);
}

.primary-button::before,
.break-button::before,
.danger-button::before {
  content: none;
}

.primary-button {
  color: #eaffec;
  background: linear-gradient(180deg, #7dff88 0%, #35ed4d 100%);
  border-color: rgba(215, 255, 219, 0.34);
  box-shadow: 0 0 0 1px rgba(121, 255, 134, 0.2), 0 18px 44px rgba(82, 255, 103, 0.32);
}

.primary-button:hover,
.secondary-button:hover,
.break-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
}

.break-button {
  color: #fff0c4;
  background: linear-gradient(180deg, #ffc85e 0%, #ff8d16 100%);
  border-color: rgba(255, 237, 189, 0.36);
  box-shadow: 0 0 0 1px rgba(255, 181, 68, 0.18), 0 18px 44px rgba(255, 143, 31, 0.3);
}

.danger-button {
  color: #ffe4e0;
  background: linear-gradient(180deg, #ff7568 0%, #ff3026 100%);
  border-color: rgba(255, 218, 214, 0.34);
  box-shadow: 0 0 0 1px rgba(255, 89, 76, 0.18), 0 18px 44px rgba(255, 58, 42, 0.3);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

[data-theme="light"] .secondary-button {
  background: rgba(255, 255, 255, 0.74);
}

.text-button {
  min-height: 34px;
  padding-inline: 8px;
  color: var(--muted);
  background: transparent;
}

.text-button:hover {
  color: var(--text);
}

button:disabled {
  cursor: not-allowed;
}

.primary-button:disabled,
.secondary-button:disabled,
.break-button:disabled,
.danger-button:disabled {
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.compact {
  min-height: 38px;
  padding-inline: 14px;
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.notice {
  min-height: 22px;
  margin: 0;
  color: var(--green);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}

.page-shell > .summary-strip {
  margin-top: 18px;
}

.log-summary {
  margin-top: 16px;
}

.home-summary {
  width: 100%;
  margin-top: 36px;
}

.summary-strip article {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 20px;
  animation: sectionIn 560ms var(--ease) both;
}

.summary-card {
  --stat-accent: #72ff82;
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 118px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 84% 16%, color-mix(in srgb, var(--stat-accent) 20%, transparent), transparent 7rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: sectionIn 560ms var(--ease) both;
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.summary-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--stat-accent) 48%, var(--line));
  box-shadow:
    0 18px 52px color-mix(in srgb, var(--stat-accent) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.summary-card:nth-child(2) {
  animation-delay: 60ms;
}

.summary-card:nth-child(3) {
  animation-delay: 120ms;
}

.summary-card:nth-child(4) {
  animation-delay: 180ms;
}

.stat-work {
  --stat-accent: #73ff86;
}

.stat-tasks {
  --stat-accent: #65a8ff;
}

.stat-laps {
  --stat-accent: #b9ff68;
}

.stat-break {
  --stat-accent: #ffb24d;
}

.stat-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.stat-icon {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--stat-accent) 48%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--stat-accent) 12%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--stat-accent) 24%, transparent);
}

.stat-work .stat-icon::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid var(--stat-accent);
  border-radius: 50%;
  box-shadow: inset 4px 0 0 transparent;
}

.stat-work .stat-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: var(--stat-accent);
  transform: rotate(-42deg) translate(3px, 1px);
  transform-origin: left center;
}

.stat-tasks .stat-icon::before,
.stat-tasks .stat-icon::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 3px;
  border-radius: 999px;
  background: var(--stat-accent);
}

.stat-tasks .stat-icon::before {
  transform: translateY(-4px);
}

.stat-tasks .stat-icon::after {
  transform: translateY(4px);
  width: 9px;
}

.stat-laps .stat-icon::before {
  content: "";
  width: 15px;
  height: 12px;
  border: 2px solid var(--stat-accent);
  border-radius: 50% 50% 45% 45%;
}

.stat-laps .stat-icon::after {
  content: "";
  position: absolute;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stat-accent);
}

.stat-break .stat-icon::before,
.stat-break .stat-icon::after {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: var(--stat-accent);
}

.stat-break .stat-icon::before {
  transform: translateX(-3px);
}

.stat-break .stat-icon::after {
  transform: translateX(3px);
}

.summary-strip article:nth-child(2) {
  animation-delay: 60ms;
}

.summary-strip article:nth-child(3) {
  animation-delay: 120ms;
}

.summary-strip article:nth-child(4) {
  animation-delay: 180ms;
}

.summary-strip span,
.export-panel span,
.privacy-strip span,
.section-title span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.summary-strip strong {
  font-size: clamp(1.4rem, 3vw, 2.15rem);
}

.summary-card strong {
  color: #ffffff;
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  line-height: 1;
  text-shadow: 0 0 24px color-mix(in srgb, var(--stat-accent) 22%, transparent);
}

.summary-card em {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
}

.summary-card b {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--stat-accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.summary-card:hover b {
  opacity: 0.9;
  transform: translateX(0);
}

[data-theme="light"] .summary-card {
  color: var(--text);
  background:
    radial-gradient(circle at 84% 16%, color-mix(in srgb, var(--stat-accent) 18%, transparent), transparent 7rem),
    rgba(255, 255, 255, 0.62);
}

[data-theme="light"] .summary-card strong {
  color: #10130f;
  text-shadow: none;
}

[data-theme="light"] .summary-card em {
  color: #657064;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.trust-card,
.ad-slot,
.page-panel,
.task-card,
.faq-panel details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

[data-theme="light"] .trust-strip article,
[data-theme="light"] .trust-card,
[data-theme="light"] .ad-slot,
[data-theme="light"] .page-panel,
[data-theme="light"] .task-card,
[data-theme="light"] .faq-panel details {
  background: rgba(255, 255, 255, 0.58);
}

.trust-strip article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.trust-strip span {
  color: var(--muted);
}

.trust-card {
  --trust-accent: #72ff82;
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 15px 16px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background:
    radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--trust-accent) 18%, transparent), transparent 7rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--trust-accent) 42%, var(--line));
  box-shadow:
    0 16px 46px color-mix(in srgb, var(--trust-accent) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trust-start {
  --trust-accent: #71ff83;
}

.trust-private {
  --trust-accent: #66b8ff;
}

.trust-export {
  --trust-accent: #d6ff6a;
}

.trust-card i {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--trust-accent) 46%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--trust-accent) 12%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--trust-accent) 22%, transparent);
}

.trust-start i::before {
  content: "";
  width: 9px;
  height: 17px;
  clip-path: polygon(56% 0, 100% 0, 62% 43%, 100% 43%, 25% 100%, 45% 55%, 0 55%);
  background: var(--trust-accent);
}

.trust-private i::before {
  content: "";
  width: 16px;
  height: 12px;
  border: 2px solid var(--trust-accent);
  border-radius: 4px;
}

.trust-private i::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 10px;
  height: 8px;
  border: 2px solid var(--trust-accent);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.trust-export i::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--trust-accent);
  border-bottom: 3px solid var(--trust-accent);
  transform: rotate(45deg) translate(-2px, -2px);
}

.trust-export i::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--trust-accent);
}

.trust-card span {
  display: grid;
  gap: 4px;
}

.trust-card strong {
  color: var(--text);
}

.trust-card small {
  color: var(--muted);
  font-size: 0.94rem;
}

.trust-card b {
  color: var(--trust-accent);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.trust-card:hover b {
  opacity: 0.92;
  transform: translateX(0);
}

[data-theme="light"] .trust-card {
  background:
    radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--trust-accent) 16%, transparent), transparent 7rem),
    rgba(255, 255, 255, 0.62);
}

[data-theme="light"] .trust-card small {
  color: #657064;
}

.ad-slot {
  display: grid;
  min-height: 78px;
  place-items: center;
  margin-top: 16px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  border-style: solid;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 10rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ad-slot span {
  opacity: 0.56;
  letter-spacing: 0.04em;
}

.seo-article {
  color-scheme: dark;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8f8f5;
  background:
    radial-gradient(circle at 14% 0%, rgba(18, 104, 223, 0.1), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(82, 219, 95, 0.09), transparent 30rem),
    linear-gradient(180deg, #07100d 0%, #030504 100%);
}

.seo-article[data-theme="light"] {
  color-scheme: light;
  border-top-color: rgba(21, 26, 20, 0.14);
  color: #11130f;
  background:
    radial-gradient(circle at 14% 0%, rgba(29, 112, 232, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(47, 189, 74, 0.09), transparent 30rem),
    linear-gradient(180deg, #ece9df 0%, #f7f5ef 100%);
}

.seo-article-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.seo-article h1 {
  margin: 0 0 16px;
  color: #f8f8f5;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.seo-article h2 {
  margin: 32px 0 12px;
  color: #f8f8f5;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.seo-article h3 {
  margin: 22px 0 8px;
  color: #e8eee8;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.4;
}

.seo-article p,
.seo-article li {
  color: #aeb8af;
  font-size: 15px;
  line-height: 1.75;
}

.seo-article h1 + p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
}

.seo-article p {
  margin: 0 0 14px;
}

.seo-article ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.seo-article li + li {
  margin-top: 5px;
}

.seo-article strong {
  color: #edf4ee;
  font-weight: 800;
}

.seo-article a {
  color: #72ff82;
  font-weight: 800;
  text-underline-offset: 3px;
}

.seo-article a:hover {
  color: #a7ffb1;
}

.seo-article[data-theme="light"] h1,
.seo-article[data-theme="light"] h2 {
  color: #11130f;
}

.seo-article[data-theme="light"] h3,
.seo-article[data-theme="light"] strong {
  color: #252a23;
}

.seo-article[data-theme="light"] p,
.seo-article[data-theme="light"] li {
  color: #60665e;
}

.seo-article[data-theme="light"] a {
  color: #248738;
}

.seo-article[data-theme="light"] a:hover {
  color: #176a29;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.68fr);
  gap: 16px;
  margin-top: 18px;
}

.privacy-hero,
.faq-hero,
.feedback-hero,
.task-page-title {
  display: flex;
  align-items: center;
  margin: clamp(38px, 7vh, 62px) 0 18px;
  padding-left: 0;
}

.privacy-hero h1,
.faq-hero h1,
.feedback-hero h1,
.task-page-title span,
.task-page-title h1.page-eyebrow {
  margin: 0;
  color: var(--green);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 950;
  line-height: normal;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.task-page-title h1 {
  margin: 8px 0 0;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.task-page-title p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.task-page-title aside {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #d8ffdf;
  background: rgba(82, 219, 95, 0.08);
  box-shadow: 0 0 24px rgba(82, 219, 95, 0.09);
  font-size: 0.86rem;
  font-weight: 900;
}

.log-section,
.export-panel,
.privacy-strip {
  padding: 22px;
}

.privacy-card {
  padding: 24px;
}

.page-panel {
  padding: 22px;
}

.trust-page-hero {
  margin: clamp(38px, 7vh, 62px) 0 18px;
}

.trust-page-hero span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.trust-page-hero h1 {
  max-width: 850px;
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.trust-page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.6;
}

.trust-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-page-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(82, 219, 95, 0.08), transparent 13rem),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.trust-page-card.wide {
  grid-column: 1 / -1;
}

.trust-page-card > span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-page-card h2 {
  margin: 9px 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.2;
}

.trust-page-card h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

.trust-page-card p,
.trust-page-card li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.trust-page-card p {
  margin: 0;
}

.trust-page-card p + p {
  margin-top: 12px;
}

.trust-page-card ul {
  margin: 0;
  padding-left: 19px;
}

.trust-page-card li + li {
  margin-top: 6px;
}

.trust-page-card a {
  color: var(--green);
  font-weight: 850;
  text-underline-offset: 3px;
}

.trust-page-card .contact-mail-button {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: #eaffec;
  font-size: 0.82rem;
  text-decoration: none;
}

.error-page-wrap {
  display: grid;
  min-height: calc(100vh - 190px);
  align-items: center;
  padding: 36px 0;
}

.error-page-card {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.error-page-card p {
  margin-inline: auto;
}

.error-page-logo {
  width: min(190px, 52%);
  margin: 0 auto 24px;
}

.error-page-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.error-page-actions a {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: #eaffec;
  font-size: 0.82rem;
  text-decoration: none;
}

.error-page-actions .secondary-button {
  color: var(--text);
}

[data-theme="light"] .trust-page-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(47, 189, 74, 0.1), transparent 13rem),
    var(--panel);
}

.task-desk-panel {
  position: relative;
  overflow: hidden;
}

.task-desk-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 0%, rgba(82, 219, 95, 0.1), transparent 14rem);
}

.task-desk-panel .section-title {
  margin-bottom: 12px;
}

.task-desk-panel .section-title h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.task-add-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.task-command {
  position: relative;
}

.task-command input {
  min-height: 54px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.task-command .primary-button {
  min-width: 92px;
}

.side-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.section-title h2,
.export-panel h2,
.privacy-strip h2 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.export-panel p,
.privacy-strip p {
  color: var(--muted);
  line-height: 1.55;
}

.export-panel,
.privacy-strip {
  display: grid;
  gap: 12px;
}

.session-list {
  display: grid;
  gap: 10px;
}

.session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 16px 15px 19px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease;
}

.session-card::before {
  content: "";
  position: absolute;
  inset: 13px auto 13px 0;
  width: 3px;
  border-radius: 999px;
  background: rgba(82, 219, 95, 0.72);
  box-shadow: 0 0 16px rgba(82, 219, 95, 0.32);
}

.session-card.stopped::before {
  background: rgba(255, 179, 90, 0.74);
  box-shadow: 0 0 16px rgba(255, 179, 90, 0.28);
}

.session-card:hover {
  transform: translateY(-2px);
  border-color: rgba(113, 255, 131, 0.24);
  box-shadow: 0 16px 44px rgba(82, 219, 95, 0.08);
}

[data-theme="light"] .session-card {
  background: rgba(255, 255, 255, 0.58);
}

.session-card h3,
.session-card p {
  margin: 0;
}

.session-card h3 {
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}

.session-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--muted);
}

.session-card p strong {
  color: #d9ffdf;
  font-size: 0.96rem;
}

.session-card p span {
  color: var(--muted);
  font-size: 0.92rem;
}

.session-menu {
  grid-column: 1 / -1;
  justify-self: end;
  position: relative;
}

.session-menu summary {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  list-style: none;
}

.session-menu summary::-webkit-details-marker {
  display: none;
}

.session-menu summary:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.session-menu[open] summary {
  color: #d9ffdf;
  border-color: rgba(82, 219, 95, 0.38);
  background: rgba(82, 219, 95, 0.08);
}

.session-menu .card-actions {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 6;
  min-width: 210px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.session-menu .card-actions button {
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

[data-theme="light"] .session-card p strong {
  color: #176a29;
}

[data-theme="light"] .session-menu .card-actions {
  background: rgba(255, 255, 255, 0.96);
}

.today-log-panel .section-title h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.today-log-panel .text-button {
  color: var(--muted);
  font-weight: 900;
}

.task-card {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 14px 16px;
  animation: sectionIn 460ms var(--ease) both;
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.task-card:hover {
  transform: translateY(-2px);
  border-color: rgba(113, 255, 131, 0.28);
  box-shadow: 0 16px 44px rgba(82, 219, 95, 0.1);
}

.task-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffb35a;
  box-shadow: 0 0 18px rgba(255, 179, 90, 0.36);
}

.task-card.completed .task-dot {
  background: var(--green);
  box-shadow: 0 0 18px rgba(82, 219, 95, 0.34);
}

.task-card.running .task-dot {
  background: #73ff86;
  box-shadow: 0 0 20px rgba(115, 255, 134, 0.62);
}

.task-card.running {
  border-color: rgba(115, 255, 134, 0.3);
  background:
    radial-gradient(circle at 92% 50%, rgba(82, 219, 95, 0.12), transparent 9rem),
    rgba(255, 255, 255, 0.045);
}

.task-main {
  min-width: 0;
}

.task-group {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.task-group > span,
.faq-group > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.task-list {
  gap: 8px;
}

.task-card h3,
.task-card p {
  margin: 0;
}

.task-card.completed h3 {
  color: var(--muted);
  text-decoration: line-through;
}

.task-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.status {
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: capitalize;
}

.status.completed {
  color: var(--green);
  border-color: rgba(82, 219, 95, 0.46);
}

.status.pending {
  color: #ffb35a;
  border-color: rgba(255, 179, 90, 0.44);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.card-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.card-actions button:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.card-actions .task-start {
  color: #eaffec;
  border-color: rgba(113, 255, 131, 0.38);
  background: rgba(82, 219, 95, 0.13);
}

.card-actions .task-start:hover {
  border-color: rgba(113, 255, 131, 0.68);
  box-shadow: 0 0 20px rgba(82, 219, 95, 0.14);
}

.card-actions .task-running {
  color: #dfffe4;
  border-color: rgba(113, 255, 131, 0.42);
  background: rgba(82, 219, 95, 0.16);
  cursor: default;
}

.queue-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(101, 168, 255, 0.13), transparent 9rem),
    var(--panel);
}

.queue-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.queue-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.queue-stats article {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.queue-stats strong {
  font-size: 1.55rem;
}

.queue-stats small {
  color: var(--muted);
  font-weight: 850;
}

[data-theme="light"] .task-page-title aside {
  color: #176a29;
  background: rgba(47, 189, 74, 0.1);
}

[data-theme="light"] .task-command input {
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .queue-stats article {
  background: rgba(255, 255, 255, 0.58);
}

.empty-state {
  display: grid;
  gap: 8px;
  min-height: 180px;
  place-content: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}

.compact-empty {
  min-height: 82px;
  padding: 18px;
}

.workday-card-panel {
  gap: 16px;
}

.workday-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(113, 255, 131, 0.22);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 30px);
  background:
    radial-gradient(circle at 88% 0%, rgba(82, 219, 95, 0.22), transparent 15rem),
    radial-gradient(circle at 0% 0%, rgba(18, 104, 223, 0.16), transparent 14rem),
    linear-gradient(180deg, rgba(18, 24, 21, 0.96), rgba(6, 8, 7, 0.92));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.workday-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.workday-card-top strong {
  display: block;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.workday-card-top span,
.workday-card-list > span,
.workday-card-foot {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workday-card-top b {
  border: 1px solid rgba(113, 255, 131, 0.34);
  border-radius: 999px;
  padding: 9px 12px;
  color: #d9ffdf;
  background: rgba(82, 219, 95, 0.1);
  box-shadow: 0 0 24px rgba(82, 219, 95, 0.12);
}

.workday-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.workday-card-stats article,
.workday-card-list article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.workday-card-stats article {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.workday-card-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workday-card-stats strong {
  color: #ffffff;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.workday-card-list {
  display: grid;
  gap: 9px;
}

.workday-card-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 14px;
}

.workday-card-list article div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.workday-card-list strong {
  color: #ffffff;
}

.workday-card-list small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.workday-card-list em {
  color: #d9ffdf;
  font-style: normal;
  font-weight: 850;
}

.workday-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 14px;
}

.export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.all-days-card {
  gap: 16px;
}

.workday-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workday-select button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: left;
  transition: transform 180ms var(--ease), border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.workday-select button.complete {
  color: #dfffe5;
  border-color: rgba(113, 255, 131, 0.26);
}

.workday-select button.complete:hover,
.workday-select button.active {
  color: #eaffec;
  border-color: rgba(113, 255, 131, 0.52);
  background: rgba(82, 219, 95, 0.14);
  box-shadow: 0 0 22px rgba(82, 219, 95, 0.12);
  transform: translateY(-1px);
}

.workday-select button.current {
  color: #ffd18d;
  border-color: rgba(255, 178, 77, 0.22);
  background: rgba(255, 178, 77, 0.055);
}

.workday-select button.future {
  color: var(--quiet);
  opacity: 0.58;
}

.workday-select button:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.workday-side .queue-stats {
  margin-top: 6px;
}

.monthly-backup-card {
  gap: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(101, 168, 255, 0.11), transparent 13rem),
    rgba(255, 255, 255, 0.04);
}

.monthly-backup-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.backup-actions {
  display: grid;
  gap: 9px;
}

.backup-actions button {
  width: 100%;
}

[data-theme="light"] .workday-card {
  background:
    radial-gradient(circle at 88% 0%, rgba(47, 189, 74, 0.16), transparent 15rem),
    radial-gradient(circle at 0% 0%, rgba(29, 112, 232, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 243, 237, 0.86));
}

[data-theme="light"] .workday-card-top strong,
[data-theme="light"] .workday-card-stats strong,
[data-theme="light"] .workday-card-list strong {
  color: #10130f;
}

[data-theme="light"] .workday-card-list em {
  color: #176a29;
}

[data-theme="light"] .workday-card-list small {
  color: #5f6a5f;
}

[data-theme="light"] .workday-select button {
  background: rgba(255, 255, 255, 0.62);
}

[data-theme="light"] .workday-select button.complete {
  color: #176a29;
}

[data-theme="light"] .workday-select button.complete:hover,
[data-theme="light"] .workday-select button.active {
  color: #176a29;
  background: rgba(47, 189, 74, 0.13);
}

[data-theme="light"] .workday-select button.current {
  color: #8a560b;
  background: rgba(255, 194, 82, 0.14);
}

.faq-layout {
  align-items: start;
}

.faq-panel {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background:
    radial-gradient(circle at 84% 0%, rgba(82, 219, 95, 0.11), transparent 16rem),
    rgba(255, 255, 255, 0.032);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.faq-group {
  display: grid;
  gap: 9px;
}

.faq-panel details {
  position: relative;
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.faq-panel details:hover,
.faq-panel details[open] {
  transform: translateY(-1px);
  border-color: rgba(112, 255, 128, 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(82, 219, 95, 0.09), transparent 9rem),
    rgba(255, 255, 255, 0.055);
}

.faq-panel summary {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 17px 54px 17px 19px;
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
  list-style: none;
}

.faq-panel summary::-webkit-details-marker {
  display: none;
}

.faq-panel summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(113, 255, 131, 0.32);
  border-radius: 50%;
  color: var(--green);
  background: rgba(82, 219, 95, 0.08);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 180ms var(--ease), background 180ms ease;
}

.faq-panel details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
  background: rgba(82, 219, 95, 0.14);
}

.faq-panel p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0 54px 18px 19px;
  color: var(--muted);
  line-height: 1.55;
}

.faq-side-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(76, 169, 255, 0.13), transparent 13rem),
    rgba(255, 255, 255, 0.04);
}

.faq-side-card > span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-side-card > div {
  display: grid;
  gap: 9px;
}

.faq-side-card article {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.045);
}

.faq-side-card strong {
  color: var(--text);
}

.faq-side-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

[data-theme="light"] .faq-panel {
  background:
    radial-gradient(circle at 84% 0%, rgba(47, 189, 74, 0.12), transparent 16rem),
    rgba(255, 255, 255, 0.62);
}

[data-theme="light"] .faq-panel details:hover,
[data-theme="light"] .faq-panel details[open] {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 189, 74, 0.12), transparent 9rem),
    rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .faq-side-card,
[data-theme="light"] .faq-side-card article {
  background: rgba(255, 255, 255, 0.64);
}

.feedback-layout {
  align-items: start;
}

.feedback-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 86% 0%, rgba(82, 219, 95, 0.14), transparent 17rem),
    radial-gradient(circle at 8% 18%, rgba(70, 152, 255, 0.08), transparent 14rem),
    rgba(255, 255, 255, 0.04);
}

.feedback-panel > span,
.feedback-side-card > span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-panel > span {
  color: var(--muted);
}

.feedback-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.feedback-panel textarea {
  min-height: 190px;
  line-height: 1.5;
}

.feedback-type {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-type label {
  position: relative;
  display: inline-flex;
}

.feedback-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feedback-type span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.88rem;
  font-weight: 900;
  transition: transform 180ms var(--ease), border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feedback-type input:checked + span {
  color: #eaffec;
  border-color: rgba(113, 255, 131, 0.54);
  background: rgba(82, 219, 95, 0.16);
  box-shadow: 0 0 24px rgba(82, 219, 95, 0.13);
}

.feedback-type span:hover {
  transform: translateY(-1px);
}

.feedback-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.feedback-side-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(82, 219, 95, 0.13), transparent 13rem),
    rgba(255, 255, 255, 0.04);
}

.feedback-side-card > div {
  display: grid;
  gap: 9px;
}

.feedback-side-card article {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.045);
}

.feedback-side-card strong {
  color: var(--text);
}

.feedback-side-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

[data-theme="light"] .feedback-panel {
  background:
    radial-gradient(circle at 86% 0%, rgba(47, 189, 74, 0.16), transparent 17rem),
    radial-gradient(circle at 8% 18%, rgba(55, 124, 235, 0.08), transparent 14rem),
    rgba(255, 255, 255, 0.64);
}

[data-theme="light"] .feedback-type span,
[data-theme="light"] .feedback-side-card,
[data-theme="light"] .feedback-side-card article {
  background: rgba(255, 255, 255, 0.64);
}

[data-theme="light"] .feedback-type input:checked + span {
  color: #176a29;
  background: rgba(47, 189, 74, 0.13);
}

.privacy-safe-card {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  min-height: 430px;
  background:
    radial-gradient(circle at 82% 0%, rgba(82, 219, 95, 0.16), transparent 18rem),
    radial-gradient(circle at 10% 14%, rgba(70, 152, 255, 0.1), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.022)),
    var(--panel);
}

.privacy-safe-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 24px auto;
  width: 190px;
  height: 190px;
  pointer-events: none;
  border: 1px solid rgba(95, 255, 109, 0.16);
  border-radius: 50%;
  opacity: 0.45;
  box-shadow: 0 0 80px rgba(82, 219, 95, 0.1);
}

.privacy-safe-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.privacy-safe-top span,
.privacy-save-card > span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-safe-top h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.privacy-symbol {
  position: relative;
  display: grid;
  width: 68px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(112, 255, 128, 0.42);
  border-radius: 28px 28px 34px 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.28), transparent 1.9rem),
    linear-gradient(180deg, rgba(100, 255, 116, 0.28), rgba(45, 147, 63, 0.13));
  box-shadow:
    0 0 42px rgba(82, 219, 95, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.privacy-symbol::before {
  content: "";
  width: 25px;
  height: 18px;
  border: 3px solid #9cff9e;
  border-radius: 6px;
  transform: translateY(6px);
}

.privacy-symbol::after {
  content: "";
  position: absolute;
  top: 23px;
  width: 19px;
  height: 18px;
  border: 3px solid #9cff9e;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.privacy-proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.privacy-proof-grid article,
.privacy-save-list article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.privacy-proof-grid article {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.privacy-proof-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 255, 128, 0.32);
  background: rgba(255, 255, 255, 0.065);
}

.privacy-proof-grid strong,
.privacy-save-list strong {
  color: var(--text);
  font-size: 1rem;
}

.privacy-proof-grid small,
.privacy-save-list small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.privacy-warning {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 178, 69, 0.28);
  border-radius: 16px;
  padding: 15px 16px;
  color: #ffd08d;
  background:
    radial-gradient(circle at 0 50%, rgba(255, 174, 58, 0.18), transparent 9rem),
    rgba(255, 178, 69, 0.06);
}

.privacy-warning span {
  color: color-mix(in srgb, #ffd08d 72%, var(--muted));
  line-height: 1.42;
}

.privacy-save-card {
  display: grid;
  gap: 14px;
}

.privacy-save-list {
  display: grid;
  gap: 9px;
}

.privacy-save-list article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
}

.privacy-save-list small {
  color: var(--quiet);
  font-weight: 800;
}

[data-theme="light"] .privacy-safe-card {
  background:
    radial-gradient(circle at 82% 0%, rgba(83, 225, 97, 0.22), transparent 18rem),
    radial-gradient(circle at 10% 14%, rgba(55, 124, 235, 0.12), transparent 16rem),
    rgba(255, 255, 255, 0.68);
}

[data-theme="light"] .privacy-proof-grid article,
[data-theme="light"] .privacy-save-list article {
  background: rgba(255, 255, 255, 0.64);
}

[data-theme="light"] .privacy-proof-grid small {
  color: #657064;
}

[data-theme="light"] .privacy-save-list small {
  color: #6f776e;
}

[data-theme="light"] .privacy-warning {
  color: #8a560b;
  background:
    radial-gradient(circle at 0 50%, rgba(255, 180, 55, 0.22), transparent 9rem),
    rgba(255, 194, 82, 0.18);
}

[data-theme="light"] .privacy-warning span {
  color: #806222;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(14px);
  animation: modalFade 180ms ease both;
}

.modal {
  width: min(520px, 100%);
  max-height: min(760px, 92vh);
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 24px;
  background: var(--panel-strong);
  animation: modalScale 260ms var(--ease) both;
}

.modal::before {
  content: "";
  position: sticky;
  top: -24px;
  display: block;
  height: 3px;
  margin: -24px -24px 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(113, 255, 131, 0.78), transparent);
  box-shadow: 0 0 24px rgba(113, 255, 131, 0.34);
}

.modal h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1;
}

.modal-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkin-modal {
  width: min(610px, 100%);
  gap: 14px;
}

.focus-modal-title {
  font-size: 0.95rem;
  letter-spacing: 0.07em;
}

.checkin-modal > p {
  margin: -4px 0 2px;
  color: #c7d4c8;
  font-size: 1rem;
}

[data-theme="light"] .checkin-modal > p {
  color: #5e685e;
}

.checkout-modal {
  width: min(560px, 100%);
}

.checkout-modal::before {
  background: linear-gradient(90deg, transparent, rgba(255, 73, 55, 0.86), transparent);
  box-shadow: 0 0 24px rgba(255, 73, 55, 0.32);
}

.checkout-modal .modal-kicker {
  color: #ff7568;
}

.checkout-modal > p {
  margin: 0;
  color: #cbd3cb;
  line-height: 1.45;
}

[data-theme="light"] .checkout-modal > p {
  color: #5f665e;
}

.checkout-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.checkout-summary article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  padding: 13px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 75, 58, 0.12), transparent 4rem),
    rgba(255, 255, 255, 0.045);
}

.checkout-summary span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-summary strong {
  color: #fff8f7;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
}

[data-theme="light"] .checkout-summary article {
  border-color: rgba(21, 26, 20, 0.12);
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 75, 58, 0.12), transparent 4rem),
    rgba(255, 255, 255, 0.66);
}

[data-theme="light"] .checkout-summary strong {
  color: #17110f;
}

.modal label {
  display: grid;
  gap: 7px;
}

.focus-input-label {
  margin-top: 2px;
}

.focus-picker {
  display: grid;
  gap: 10px;
}

.focus-picker > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.focus-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-chip {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 180ms var(--ease), border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.focus-chip:hover,
.focus-chip.selected {
  color: #eaffec;
  border-color: rgba(113, 255, 131, 0.58);
  background: rgba(82, 219, 95, 0.14);
  box-shadow: 0 0 24px rgba(82, 219, 95, 0.16);
  transform: translateY(-1px);
}

[data-theme="light"] .focus-chip {
  background: rgba(255, 255, 255, 0.68);
}

[data-theme="light"] .focus-chip:hover,
[data-theme="light"] .focus-chip.selected {
  color: #176a29;
  background: rgba(47, 189, 74, 0.12);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

@keyframes sectionIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes completePulse {
  0% {
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  45% {
    box-shadow:
      0 0 0 1px rgba(82, 219, 95, 0.34),
      0 0 58px rgba(82, 219, 95, 0.18),
      var(--shadow),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  100% {
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@keyframes badgePop {
  0% {
    transform: scale(0.86);
  }
  52% {
    transform: scale(1.16);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes trailPulse {
  0% {
    opacity: 0.28;
    transform: scaleX(0.52);
  }
  45% {
    opacity: 0.92;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.34;
    transform: scaleX(0.68);
  }
}

@keyframes turtleStepA {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(1.5px, 1px);
  }
}

@keyframes turtleStepB {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-1.5px, 1px);
  }
}

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

.rail-wrap.reduced .turtle-marker {
  transition: none;
}

.rail-wrap.reduced .turtle-runner {
  transition: none;
}

.rail-wrap.reduced .turtle-trail {
  animation: none;
}

.rail-wrap.reduced .turtle-marker .turtle-leg,
.rail-wrap.reduced .lap-badge {
  animation: none;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .task-page-title {
    display: grid;
    align-items: start;
  }

  .pill-nav {
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
  }

  .pill-nav-row {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pill-nav-row::-webkit-scrollbar {
    display: none;
  }

  .pill-nav-trust {
    justify-content: flex-start;
  }

  .quote-card {
    margin-top: 30px;
  }

  .summary-strip,
  .content-grid,
  .trust-strip,
  .privacy-proof-grid {
    grid-template-columns: 1fr;
  }

  .privacy-safe-card {
    min-height: 0;
  }

  .trust-page-grid {
    grid-template-columns: 1fr;
  }

  .trust-page-card.wide {
    grid-column: auto;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  html,
  body {
    background: #ffffff !important;
  }

  body[data-page="export"] > .seo-article,
  body[data-page="export"] > .site-footer {
    display: none !important;
  }

  .topbar,
  .export-title,
  .export-actions,
  .side-stack,
  .ad-slot {
    display: none !important;
  }

  .app-shell,
  .page-shell,
  .content-grid,
  .export-panel {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .content-grid {
    display: block !important;
  }

  .workday-card {
    width: 100%;
    color: #11130f !important;
    border: 2px solid #253326;
    background: #ffffff !important;
    box-shadow: none;
    break-inside: avoid;
  }

  .workday-card-top strong,
  .workday-card-stats strong,
  .workday-card-list strong {
    color: #11130f !important;
  }

  .workday-card-top span,
  .workday-card-list > span,
  .workday-card-foot,
  .workday-card-stats span,
  .workday-card-list small {
    color: #2c5c34 !important;
    opacity: 1 !important;
  }

  .workday-card-top b {
    color: #0f3f1a !important;
    border-color: #42a653;
    background: #eaffec !important;
    box-shadow: none;
  }

  .workday-card-stats article,
  .workday-card-list article {
    border-color: #d7ded6;
    background: #f7fbf7 !important;
  }

  .workday-card-list em {
    color: #176a29 !important;
  }
}

@media (max-width: 640px) {
  .hero,
  .summary-strip {
    width: min(100% - 22px, 1180px);
  }

  .brand-logo {
    width: 100%;
  }

  .brand {
    width: min(90vw, 360px);
  }

  .pill-nav a,
  .pill-action {
    padding-inline: 13px;
  }

  .error-page-actions a {
    width: 100%;
  }

  .quote-card {
    flex-direction: column;
    min-height: 0;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .quote-card .quote-text {
    font-size: clamp(0.98rem, 5.4vw, 1.32rem);
  }

  .timer-slab {
    min-height: 430px;
    padding: 56px 18px 28px;
  }

  .turtle-marker {
    width: 88px;
    height: 86px;
  }

  .turtle-svg {
    width: 84px;
    height: 62px;
  }

  .lap-badge {
    top: 61px;
  }

  .timer-controls button,
  .modal-actions button,
  .task-add-form button,
  .feedback-actions button {
    width: 100%;
  }

  .task-add-form {
    grid-template-columns: 1fr;
  }

  .workday-card-stats,
  .queue-stats {
    grid-template-columns: 1fr;
  }

  .section-title,
  .session-card,
  .task-card {
    grid-template-columns: 1fr;
  }

  .task-page-title aside,
  .card-actions {
    justify-self: start;
  }

  .section-title {
    display: grid;
  }

  .status {
    justify-self: start;
  }
}
