:root {
  --ink: #101d32;
  --muted: #687287;
  --bg: #f3f6fb;
  --card: #ffffff;
  --primary: #6c4cf1;
  --primary-dark: #4e32cc;
  --mint: #38d39f;
  --mint-soft: #e6fbf4;
  --orange: #ff9e52;
  --line: #e6eaf1;
  --danger: #d64d62;
  --radius: 20px;
  font-family: "Heebo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top right, #eeeaff 0, var(--bg) 34%); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.loading, .center-panel { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 28px; }
.loader { width: 42px; height: 42px; border: 4px solid #ded8fb; border-top-color: var(--primary); border-radius: 50%; margin: auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-panel { max-width: 430px; margin: auto; }
.logo-mark, .brand-mark { display: inline-grid; place-items: center; color: white; background: linear-gradient(135deg, var(--primary), #9a70ff); font-weight: 800; box-shadow: 0 8px 24px #6c4cf13d; }
.logo-mark { width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 14px; font-size: 30px; }
.app-shell { max-width: 1100px; margin: 0 auto; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: rgba(243,246,251,.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(230,234,241,.8); }
.brand { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; border-radius: 13px; font-size: 15px; }
.nav { display: flex; gap: 6px; overflow-x: auto; }
.nav button { border: 0; border-radius: 12px; padding: 8px 12px; background: transparent; color: var(--muted); white-space: nowrap; font-weight: 600; }
.nav button.active { color: var(--primary); background: #ece8ff; }
.content { padding: 18px 18px 90px; }
.hero { position: relative; overflow: hidden; border-radius: 28px; padding: 24px; color: white; background: linear-gradient(135deg, #172b49 0%, #2b3c64 55%, #6c4cf1 140%); box-shadow: 0 18px 45px #1c2a4930; }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: #7658ed66; left: -80px; top: -100px; }
.profile-row { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.avatar { width: 58px; height: 58px; object-fit: cover; border-radius: 19px; border: 3px solid #ffffff33; background: #ffffff1f; }
.avatar-fallback { display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.eyebrow { font-size: 13px; color: #d3dbec; margin: 0 0 2px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(24px, 6vw, 34px); margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 22px; position: relative; z-index: 1; }
.stat { background: #ffffff12; border: 1px solid #ffffff16; border-radius: 16px; padding: 12px; }
.stat strong { display: block; font-size: 20px; }
.stat span { font-size: 12px; color: #dbe1ee; }
.progress-wrap { position: relative; z-index: 1; margin-top: 18px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.progress { height: 9px; background: #ffffff24; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), #c7ff84); border-radius: inherit; transition: width .5s ease; }
.day-status { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: #ffffff12; border: 1px solid #ffffff18; font-size: 13px; }
.day-status strong { color: #c7ffdf; white-space: nowrap; }
.start-card { text-align: center; background: var(--card); border-radius: 28px; padding: 38px 22px; box-shadow: 0 15px 40px #19294914; max-width: 540px; margin: 50px auto; }
.start-icon { font-size: 62px; }
.primary, .secondary, .danger, .small-button { border: 0; border-radius: 14px; padding: 12px 18px; font-weight: 700; }
.primary { color: white; background: linear-gradient(135deg, var(--primary), #8f68f8); box-shadow: 0 8px 20px #6c4cf138; }
.primary:hover { background: var(--primary-dark); }
.primary:disabled { cursor: default; opacity: .58; box-shadow: none; }
.secondary { color: var(--primary); background: #eeeaff; }
.danger { color: var(--danger); background: #ffedf0; }
.full { width: 100%; }
.section { margin-top: 28px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title h2 { font-size: 19px; margin: 0; }
.section-title span { color: var(--muted); font-size: 13px; }
.track-chip { margin-top: 7px; border: 1px solid #ffffff2d; border-radius: 99px; padding: 5px 10px; color: #eef1ff; background: #ffffff13; font-size: 12px; }
.track-chooser { max-width: 660px; margin: 36px auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px 22px; box-shadow: 0 15px 40px #19294914; }
.track-chooser > p { color: var(--muted); }
.track-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.track-option { min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; border: 2px solid var(--line); border-radius: 20px; padding: 16px 10px; color: var(--ink); background: #fff; transition: transform .15s, border-color .15s, background .15s; }
.track-option:hover, .track-option.selected { transform: translateY(-2px); border-color: var(--primary); background: #f5f2ff; }
.track-option span { font-size: 34px; }
.track-option strong { font-size: 17px; }
.track-option small { color: var(--muted); }
.flow-launch-card { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 8px 24px #1c2b4810; }
.flow-launch-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 19px; background: #f2efff; font-size: 29px; }
.flow-launch-copy h2 { margin: 0 0 3px; font-size: 19px; }
.flow-launch-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.flow-launch-button { min-width: 175px; }
.task-list { display: grid; gap: 10px; }
.task-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; box-shadow: 0 7px 22px #1c2b4810; transition: transform .15s, opacity .2s; }
.task-card:not(.completed):active { transform: scale(.99); }
.task-card.completed { background: var(--mint-soft); border-color: #bcebdc; }
.milestone-section .task-card.completed .task-name { color: var(--muted); text-decoration: line-through; }
.task-card.completed .check { cursor: pointer; }
.check { width: 46px; height: 46px; border: 2px solid #cfd5e2; background: #fff; border-radius: 15px; color: transparent; font-size: 23px; font-weight: 800; }
.task-card.completed .check { color: white; border-color: var(--mint); background: var(--mint); }
.daily-task-celebration { animation: daily-card-pop .65s ease both; }
.daily-task-celebration .check { animation: daily-check-pop .65s ease both; color: white; border-color: var(--mint); background: var(--mint); }
@keyframes daily-card-pop {
  0% { transform: scale(1); box-shadow: 0 7px 22px #1c2b4810; }
  38% { transform: scale(1.025); box-shadow: 0 12px 32px #38d39f55; border-color: var(--mint); }
  100% { transform: scale(1); box-shadow: 0 7px 22px #1c2b4810; }
}
@keyframes daily-check-pop { 0% { transform: scale(.75) rotate(-12deg); } 45% { transform: scale(1.18) rotate(5deg); } 100% { transform: scale(1) rotate(0); } }

.milestone-celebration { position: fixed; z-index: 300; inset: 0; overflow: hidden; display: grid; place-items: center; padding: 24px; color: white; background: radial-gradient(circle, #7d61f3 0%, #352080 52%, #101d32 100%); animation: celebration-enter .35s ease-out both; }
.milestone-celebration.leaving { animation: celebration-leave .3s ease-in both; }
.celebration-rays { position: absolute; width: 140vmax; height: 140vmax; opacity: .24; background: repeating-conic-gradient(from 0deg, #fff 0 7deg, transparent 7deg 16deg); animation: celebration-spin 14s linear infinite; }
.celebration-content { position: relative; z-index: 2; max-width: 480px; text-align: center; animation: celebration-pop .7s cubic-bezier(.2,.9,.25,1.25) both; }
.celebration-content span { display: block; font-size: clamp(72px, 20vw, 130px); filter: drop-shadow(0 18px 24px #101d3277); }
.celebration-content strong { display: block; margin-top: 10px; font-size: clamp(30px, 8vw, 52px); line-height: 1.05; }
.celebration-content p { margin: 12px 0 0; color: #e9e4ff; font-size: clamp(17px, 4vw, 22px); }
.celebration-confetti i { position: absolute; left: 50%; top: 50%; width: 10px; height: 24px; border-radius: 3px; background: hsl(calc(var(--i) * 47deg) 88% 65%); transform: rotate(calc(var(--i) * 15deg)) translateY(-8vh); animation: confetti-burst 1.45s calc(var(--i) * -18ms) ease-out both; }
@keyframes celebration-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes celebration-leave { to { opacity: 0; transform: scale(1.03); } }
@keyframes celebration-spin { to { transform: rotate(360deg); } }
@keyframes celebration-pop { 0% { opacity: 0; transform: scale(.35) translateY(30px); } 70% { transform: scale(1.08) translateY(0); } 100% { opacity: 1; transform: scale(1); } }
@keyframes confetti-burst { 0% { opacity: 0; transform: rotate(calc(var(--i) * 15deg)) translateY(-5vh) scale(.3); } 18% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--i) * 15deg)) translateY(-72vh) rotate(540deg); } }
.task-name { font-weight: 700; line-height: 1.25; }
.task-sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.task-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.points-pill { color: #6d4cd0; background: #eeeaff; border-radius: 99px; padding: 4px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.info-button { border: 0; background: transparent; color: var(--muted); font-size: 20px; padding: 3px; }
.empty { padding: 22px; color: var(--muted); background: #ffffff8a; border: 1px dashed #ccd3e0; border-radius: var(--radius); text-align: center; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; padding: 18px; display: grid; place-items: center; background: #101d3288; backdrop-filter: blur(5px); }
.modal { width: min(100%, 560px); max-height: 88vh; overflow-y: auto; position: relative; border-radius: 26px; padding: 26px 22px 22px; background: #fff; box-shadow: 0 24px 80px #101d3255; }
.modal-close { position: absolute; top: 12px; left: 14px; width: 36px; height: 36px; border: 0; border-radius: 12px; font-size: 26px; background: var(--bg); color: var(--muted); }
.message-box { border: 1px solid var(--line); background: #f8f9fd; border-radius: 16px; padding: 14px; margin-top: 12px; white-space: pre-wrap; }
.message-box .secondary { margin-top: 12px; }
.toast { position: fixed; z-index: 400; bottom: 26px; left: 50%; transform: translateX(-50%); color: white; background: #18243a; padding: 11px 18px; border-radius: 14px; box-shadow: 0 10px 35px #101d3244; }
.toast.error { background: var(--danger); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.metric-card { background: white; border: 1px solid var(--line); border-radius: 19px; padding: 17px; }
.metric-card strong { display: block; font-size: 26px; }
.metric-card span { color: var(--muted); font-size: 13px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-top: 18px; overflow: hidden; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-header h2 { margin: 0; font-size: 19px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { text-align: right; padding: 11px 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
th { color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.user-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.tiny-avatar { width: 34px; height: 34px; border-radius: 11px; object-fit: cover; background: #eeeaff; }
.small-button { padding: 7px 10px; font-size: 12px; color: var(--primary); background: #eeeaff; }
.stack { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-divider { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-divider span { color: var(--muted); font-size: 13px; }
.variable-help { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px; border-radius: 14px; background: #f5f2ff; color: var(--muted); font-size: 12px; }
.variable-help strong { width: 100%; color: var(--ink); }
.variable-help code { direction: ltr; unicode-bidi: isolate; padding: 3px 6px; border-radius: 7px; background: #fff; color: var(--primary-dark); }
label { color: var(--muted); font-size: 13px; font-weight: 600; }
.field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
input, textarea, select { width: 100%; margin-top: 5px; border: 1px solid #dce1eb; border-radius: 13px; padding: 11px 12px; color: var(--ink); background: white; outline: none; }
input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px #6c4cf116; }
textarea { min-height: 90px; resize: vertical; }
.span-2 { grid-column: 1 / -1; }
.task-admin-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.task-admin-row:last-child { border: 0; }
.admin-flyer-card { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; margin-top: 18px; padding: 13px; border: 1px solid var(--line); border-radius: 18px; background: #f8f9fd; }
.admin-flyer-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 13px; background: #eef1f6; }
.admin-flyer-card div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.admin-flyer-card span { max-width: 100%; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-flyer-card button { margin-top: 3px; padding: 8px 12px; }
.row-actions { display: flex; gap: 6px; }
.role-pill { border-radius: 99px; padding: 3px 8px; background: #eff2f7; color: var(--muted); font-size: 11px; }

.task-flow { position: fixed; z-index: 300; inset: 0; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto; color: var(--ink); background: radial-gradient(circle at 80% 0%, #eee9ff 0, #f7f8fc 34%, #fff 100%); }
.task-flow-header { position: sticky; z-index: 4; top: 0; padding: max(16px, env(safe-area-inset-top)) clamp(18px, 5vw, 52px) 14px; background: #ffffffdb; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.flow-close { position: absolute; top: max(14px, env(safe-area-inset-top)); left: clamp(16px, 4vw, 44px); width: 40px; height: 40px; border: 0; border-radius: 13px; color: var(--muted); background: #eef1f6; font-size: 27px; line-height: 1; }
.flow-heading { display: flex; justify-content: center; align-items: center; gap: 14px; padding-inline: 50px; }
.flow-heading span { font-weight: 700; }
.flow-heading strong { min-width: 67px; direction: ltr; color: var(--primary); font-size: 22px; font-variant-numeric: tabular-nums; }
.flow-heading strong.expired { color: var(--danger); }
.flow-progress-meta { display: flex; justify-content: space-between; margin-top: 13px; color: var(--muted); font-size: 12px; }
.flow-progress { height: 7px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: #e3e6ef; }
.flow-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--mint)); transition: width .35s ease; }
.flow-task-content { width: min(100% - 32px, 680px); align-self: center; margin: 0 auto; padding: 34px 0 28px; text-align: center; }
.flow-task-track { display: inline-flex; align-items: center; border-radius: 99px; padding: 6px 12px; color: var(--primary-dark); background: #eeeaff; font-size: 13px; font-weight: 700; }
.flow-task-number { margin: 22px auto 8px; color: #d9d2f8; font-size: clamp(50px, 14vw, 82px); font-weight: 800; line-height: .85; }
.flow-task-content h1 { max-width: 600px; margin: 10px auto 14px; font-size: clamp(29px, 7vw, 48px); line-height: 1.08; }
.flow-task-flyer { width: min(100%, 360px); display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; margin: 22px auto 0; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 7px 20px #1c2b4810; text-align: right; }
.flow-task-flyer img { width: 76px; height: 92px; object-fit: cover; border-radius: 10px; background: #f1f3f7; }
.flow-task-flyer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.flow-task-flyer small { color: var(--muted); font-weight: 700; }
.flow-task-flyer button { padding: 9px 12px; white-space: nowrap; }
.flow-task-description { max-width: 590px; margin: 0 auto; color: var(--muted); font-size: clamp(16px, 3.5vw, 19px); line-height: 1.65; white-space: pre-line; }
.flow-task-meta { width: min(100%, 520px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px auto; }
.flow-metric { min-height: 132px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 2px solid transparent; border-radius: 20px; padding: 14px; box-shadow: 0 10px 26px #1c2b4812; }
.flow-metric small { font-size: 14px; font-weight: 700; }
.flow-metric strong { margin: 2px 0 0; font-size: clamp(42px, 11vw, 58px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.flow-metric span { margin-top: 6px; font-size: 13px; font-weight: 600; }
.flow-target-metric { border-color: #dcd4ff; color: var(--primary-dark); background: linear-gradient(145deg, #fff 0%, #f1edff 100%); }
.flow-target-metric span, .flow-target-metric small { color: #725fbb; }
.flow-points-metric { border-color: #bcebdc; color: #168960; background: linear-gradient(145deg, #fff 0%, #e6fbf4 100%); }
.flow-points-metric span, .flow-points-metric small { color: #418872; }
.flow-examples-toggle { width: min(100%, 520px); display: flex; justify-content: space-between; margin: 0 auto; border: 1px solid #ddd8f6; border-radius: 16px; padding: 13px 16px; color: var(--primary-dark); background: #f5f2ff; font-weight: 700; }
.flow-examples { width: min(100%, 520px); display: grid; gap: 10px; margin: 10px auto 0; text-align: right; }
.flow-examples article { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 7px 18px #1929490d; }
.flow-examples article p { margin: 8px 0 12px; color: var(--muted); white-space: pre-wrap; }
.flow-no-examples { color: var(--muted); font-size: 13px; }
.modal-flyer { display: grid; gap: 10px; margin: 18px 0; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #f8f9fd; }
.modal-flyer img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 12px; }
.flow-actions { position: sticky; z-index: 4; bottom: 0; display: grid; grid-template-columns: minmax(120px, 1fr) minmax(180px, 2fr); gap: 12px; width: min(100%, 720px); margin: 0 auto; padding: 14px 18px max(18px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, #fff 75%, #ffffff00); }
.flow-actions button { min-height: 54px; font-size: 17px; }
.flow-finish { align-self: center; padding: 36px 20px; text-align: center; }
.flow-finish > div { font-size: 82px; }
.flow-finish h1 { margin-bottom: 8px; font-size: clamp(34px, 8vw, 54px); }
.flow-finish p { color: var(--muted); font-size: 18px; }
.flow-points-burst { position: fixed; z-index: 8; inset: 0; display: grid; place-content: center; text-align: center; color: white; background: radial-gradient(circle, #45d5a7 0%, #4930bd 58%, #101d32 110%); animation: points-screen-in .25s ease-out both; }
.flow-points-burst span { width: 92px; height: 92px; display: grid; place-items: center; margin: auto; border-radius: 50%; color: #1ca979; background: white; font-size: 52px; font-weight: 800; box-shadow: 0 18px 50px #101d3255; animation: points-check-pop .6s cubic-bezier(.2,.9,.25,1.25) both; }
.flow-points-burst strong { display: block; margin-top: 18px; font-size: clamp(58px, 17vw, 96px); line-height: 1; text-shadow: 0 8px 25px #101d3244; animation: points-number-up .7s .12s ease-out both; }
.flow-points-burst p { margin: 8px 0 0; color: #eafff8; font-size: 21px; font-weight: 700; }
.flow-points-burst i { position: absolute; left: 50%; top: 50%; width: 9px; height: 20px; border-radius: 3px; background: hsl(calc(var(--i) * 41deg) 90% 65%); animation: flow-confetti 1s calc(var(--i) * -20ms) ease-out both; }
.points-ring { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; border: 3px solid #ffffff4d; border-radius: 50%; transform: translate(-50%, -50%); animation: points-ring 1s ease-out both; }
@keyframes points-screen-in { from { opacity: 0; } }
@keyframes points-check-pop { from { opacity: 0; transform: scale(.25) rotate(-20deg); } 70% { transform: scale(1.12) rotate(4deg); } }
@keyframes points-number-up { from { opacity: 0; transform: translateY(30px) scale(.7); } }
@keyframes points-ring { from { opacity: 1; transform: translate(-50%, -50%) scale(.2); } to { opacity: 0; transform: translate(-50%, -50%) scale(2.2); } }
@keyframes flow-confetti { from { opacity: 1; transform: rotate(calc(var(--i) * 20deg)) translateY(-20px); } to { opacity: 0; transform: rotate(calc(var(--i) * 20deg)) translateY(-48vh) rotate(500deg); } }

@media (prefers-reduced-motion: reduce) {
  .daily-task-celebration, .daily-task-celebration .check, .milestone-celebration, .milestone-celebration.leaving, .celebration-rays, .celebration-content, .celebration-confetti i, .flow-points-burst, .flow-points-burst span, .flow-points-burst strong, .flow-points-burst i, .points-ring { animation: none; }
}

@media (max-width: 600px) {
  .topbar { align-items: flex-start; }
  .brand > span:last-child { display: none; }
  .content { padding: 12px 12px 80px; }
  .hero { border-radius: 23px; padding: 19px; }
  .stat { padding: 10px 8px; }
  .stat strong { font-size: 17px; }
  .task-card { grid-template-columns: 46px 1fr auto; padding: 11px; gap: 9px; }
  .track-options { grid-template-columns: 1fr; }
  .track-option { min-height: 112px; }
  .flow-launch-card { grid-template-columns: 54px 1fr; gap: 11px; padding: 14px; }
  .flow-launch-icon { width: 54px; height: 54px; }
  .flow-launch-button { grid-column: 1 / -1; width: 100%; }
  .task-flow-header { padding-inline: 16px; }
  .flow-heading { justify-content: flex-start; padding: 0 46px 0 42px; }
  .flow-heading span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .flow-actions { grid-template-columns: 1fr 1.45fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}
