:root {
  color-scheme: dark;
  --bg: #111214;
  --panel: #1b1d22;
  --panel2: #252932;
  --line: rgba(255, 255, 255, .13);
  --text: #f8f8f6;
  --muted: #aeb3bd;
  --green: #61d394;
  --blue: #61b7e8;
  --amber: #f6c95e;
  --orange: #ff8a00;
  --purple: #8b5cf6;
  --rose: #ec6a8e;
  --pink: #e64aa9;
  --ink: #101114;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    linear-gradient(145deg, rgba(97, 183, 232, .14), transparent 34%),
    linear-gradient(220deg, rgba(246, 201, 94, .12), transparent 28%),
    linear-gradient(20deg, rgba(230, 74, 169, .09), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.app-shell {
  position: relative;
  overflow: hidden;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .14), transparent 30%),
    rgba(17, 18, 20, .78);
}

.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  max-width: 480px;
  margin: 0 auto;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.46) 0 1px, transparent 1.5px);
  background-position: 24px 72px, 91px 138px;
  background-size: 118px 168px, 173px 219px;
  opacity: .22;
  z-index: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 8px;
}

.title-block { text-align: center; min-width: 0; }
.title-block span, .eyebrow {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0; font-size: 22px; line-height: 1.1; }
h2 { margin-bottom: 8px; font-size: 28px; line-height: 1.08; }
h3 { margin-bottom: 7px; font-size: 17px; line-height: 1.18; }
p { color: var(--muted); line-height: 1.5; }

main { padding: 10px 16px 0; }
main, .topbar, .bottom-nav { position: relative; z-index: 1; }

.view { display: block; }
.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.breath-loading {
  position: fixed;
  inset: 0;
  z-index: 30;
  min-height: 100vh;
  place-items: stretch center;
  background:
    radial-gradient(circle, rgba(255,255,255,.30) 0 1px, transparent 1.4px) 20px 28px / 92px 92px,
    radial-gradient(circle, rgba(255,255,255,.18) 0 1px, transparent 1.4px) 64px 76px / 128px 128px,
    #000;
}

.breath-frame {
  position: absolute;
  inset: 14px;
  max-width: 448px;
  margin: 0 auto;
  border: 0;
  border-radius: 10px;
  pointer-events: none;
  overflow: hidden;
}

.breath-line {
  position: absolute;
  display: block;
  opacity: 0;
  border-radius: 999px;
  will-change: transform, opacity;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

.breath-top,
.breath-left {
  background: linear-gradient(90deg, rgba(97,211,148,.15), var(--green), rgba(255,255,255,.92));
  box-shadow: 0 0 18px rgba(97,211,148,.9), 0 0 42px rgba(97,211,148,.46);
}

.breath-bottom,
.breath-right {
  background: linear-gradient(90deg, rgba(236,106,142,.16), var(--rose), rgba(255,255,255,.94));
  box-shadow: 0 0 18px rgba(236,106,142,.92), 0 0 42px rgba(230,74,169,.48);
}

.breath-top {
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  animation-name: breathTop;
  animation-duration: 5200ms;
  animation-timing-function: linear;
}

.breath-right {
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, rgba(236,106,142,.16), var(--rose), rgba(255,255,255,.94));
  transform: scaleY(0);
  transform-origin: top center;
  animation-name: breathRight;
  animation-duration: 5200ms;
  animation-timing-function: linear;
}

.breath-bottom {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(270deg, rgba(236,106,142,.16), var(--rose), rgba(255,255,255,.94));
  transform: scaleX(0);
  transform-origin: right center;
  animation-name: breathBottom;
  animation-duration: 5200ms;
  animation-timing-function: linear;
}

.breath-left {
  left: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(0deg, rgba(97,211,148,.15), var(--green), rgba(255,255,255,.92));
  transform: scaleY(0);
  transform-origin: bottom center;
  animation-name: breathLeft;
  animation-duration: 5200ms;
  animation-timing-function: linear;
}

.loading-card {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 4.2vh, 42px);
  padding: calc(clamp(118px, 18vh, 170px) + env(safe-area-inset-top)) 22px 22px;
  background: transparent;
}

.loading-logo {
  width: min(320px, 82vw);
  max-height: 100px;
  object-fit: contain;
  animation: floatIn 900ms ease both;
}

.loading-logo-top {
  margin: 0 auto;
}

.mascot-loader {
  width: 128px;
  height: 138px;
  margin: 0;
}

.mascot-loader img {
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.42)) drop-shadow(0 0 18px rgba(166,139,211,.24));
  transform: translateZ(0);
}

.breath-copy {
  display: inline-flex;
  gap: 8px;
  min-height: 32px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  margin-top: -8px;
}

.breath-copy span {
  min-width: 72px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.breath-copy span:first-child {
  color: #dfffe9;
  animation: breathPhaseIn 5200ms linear 0s 1 both;
}

.breath-copy span:last-child {
  color: #ffe4ed;
  animation: breathPhaseOut 5200ms linear 0s 1 both;
}

.mind-loader {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 28px;
  font-weight: 950;
}

.loading-card > p {
  max-width: 300px;
  margin: -6px 0 0;
  color: rgba(248,248,246,.82);
  font-size: 15px;
  font-weight: 760;
}

.word-swap {
  position: relative;
  min-width: 92px;
  min-height: 42px;
  display: inline-grid;
  place-items: center start;
}

.word-old,
.word-new {
  grid-area: 1 / 1;
}

.word-old {
  color: var(--rose);
  animation: strikeAway 1500ms ease-in-out infinite;
}

.word-old::after {
  content: "";
  position: absolute;
  left: 0;
  top: 52%;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--amber);
  animation: strikeLine 1500ms ease-in-out infinite;
}

.word-new {
  color: var(--green);
  opacity: 0;
  transform: translateY(9px);
  animation: gainIn 1500ms ease-in-out infinite;
}

.hero, .panel, .card, .task-card, .notice-group, .system-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.hero {
  padding: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 138, 0, .24), transparent 26%),
    radial-gradient(circle at 84% 24%, rgba(230, 74, 169, .20), transparent 26%),
    radial-gradient(circle at 74% 82%, rgba(139, 92, 246, .20), transparent 28%),
    radial-gradient(circle at 16% 92%, rgba(97, 211, 148, .16), transparent 26%),
    rgba(255, 255, 255, .07);
}

.hero-head, .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.work-mascot {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 10px 24px rgba(230, 74, 169, .28));
  animation: mascotFloat 2400ms ease-in-out infinite;
}

.mascot-wrap {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mascot-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.34));
}

.mascot-home {
  width: 58px;
  height: 58px;
  margin-left: auto;
}

.mascot-card {
  width: 72px;
  height: 82px;
}

.mascot-notice {
  width: 54px;
  height: 58px;
}

.mascot-small {
  width: 48px;
  height: 52px;
}

.mascot-calm img {
  animation: mascotBreathe 2600ms ease-in-out infinite;
}

.mascot-happy img,
.mascot-blooming img {
  animation: mascotJump 1250ms ease-in-out infinite;
}

.mascot-blooming::before,
.mascot-happy::before {
  content: "";
  position: absolute;
  inset: 20% 10% 10%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246,201,94,.32), transparent 62%);
  animation: glowPulse 1400ms ease-in-out infinite;
}

.mascot-crying img {
  animation: mascotSway 1900ms ease-in-out infinite;
}

.mascot-crying::before,
.mascot-crying::after {
  content: "";
  position: absolute;
  top: 48%;
  width: 5px;
  height: 12px;
  border-radius: 999px;
  background: rgba(97,183,232,.9);
  filter: drop-shadow(0 0 8px rgba(97,183,232,.7));
  animation: tearDrop 1200ms linear infinite;
}

.mascot-crying::before { left: 38%; }
.mascot-crying::after { right: 35%; animation-delay: 420ms; }

.mascot-anxious img,
.mascot-overwhelmed img {
  animation: mascotWorry 900ms ease-in-out infinite;
}

.mascot-tired img,
.mascot-struggling img {
  animation: mascotLowEnergy 2400ms ease-in-out infinite;
}

.mascot-starting img,
.mascot-growth img,
.mascot-getting-up img {
  animation: mascotNod 1800ms ease-in-out infinite;
}

.focus-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

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

.focus-summary-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(97,211,148,.10), transparent 48%),
    rgba(255,255,255,.055);
}

.focus-summary-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.focus-summary-head strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.mini-work-list {
  display: grid;
  gap: 6px;
}

.mini-work-list span {
  min-height: 28px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(0,0,0,.20);
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
}

.compact-action {
  min-height: 40px;
  margin-top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(97, 211, 148, .32);
  border-radius: 999px;
  color: #d8ffe7;
  background: rgba(97, 211, 148, .12);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.card {
  min-height: 104px;
  padding: 14px;
}

button.card {
  border: 1px solid var(--line);
  color: var(--text);
  text-align: left;
}

.metric-card {
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.metric-card.pending::after,
.metric-card.rank-down::after { background: var(--rose); }
.metric-card.done::after,
.metric-card.rank-up::after { background: var(--green); }
.metric-card.sessions::after,
.metric-card.score::after { background: var(--blue); }
.metric-card.alerts::after { background: var(--amber); }
.metric-card.steady::after { background: var(--purple); }

.metric-card.rank-up { animation: rankUp 1800ms ease-in-out infinite; }
.metric-card.rank-down { animation: rankDown 1800ms ease-in-out infinite; }
.metric-card.steady { animation: steadyPulse 2200ms ease-in-out infinite; }

.metric-card:active,
.action-tile:active {
  transform: scale(.98);
}

.card span, .task-card span, .system-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.card strong {
  display: block;
  margin: 9px 0 3px;
  font-size: 24px;
}

.card small, .task-card small, .system-row small, .notice-item small {
  color: var(--muted);
  line-height: 1.35;
}

.stack { display: grid; gap: 10px; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel);
}

input, select { min-height: 46px; }
textarea { min-height: 104px; padding-top: 12px; resize: vertical; }

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.time-grid label {
  display: grid;
  gap: 5px;
}

.time-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.field-label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.conditional-field[hidden] {
  display: none;
}

.helper-text {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.segmented button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.segmented button.active {
  background: rgba(97,211,148,.18);
  color: #dfffe9;
}

.chip-button, .primary-action, .secondary-action, .danger-action {
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.chip-button {
  min-height: 40px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  font-size: 12px;
}

.primary-action, .secondary-action, .danger-action {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
}

.primary-action { background: var(--green); color: var(--ink); }
.secondary-action { background: rgba(97, 183, 232, .16); color: #d9f2ff; border: 1px solid rgba(97, 183, 232, .34); }
.danger-action { background: rgba(236, 106, 142, .16); color: #ffe4eb; border: 1px solid rgba(236, 106, 142, .38); }

.actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.action-tile {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.swipe-zone {
  height: calc(100vh - 166px);
  min-height: 520px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  margin: -8px -16px 0;
  padding: 0 16px 16px;
}

.swipe-panel {
  min-height: calc(100vh - 184px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 0 18px;
  scroll-snap-align: start;
}

.swipe-hint {
  min-height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.list { display: grid; gap: 10px; }
.task-card, .system-row, .notice-group { padding: 14px; }
.task-card strong { display: block; margin: 7px 0 5px; font-size: 16px; line-height: 1.3; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tag.high { color: #ffe0e7; background: rgba(236, 106, 142, .18); }
.tag.done { color: #dfffe9; background: rgba(97, 211, 148, .16); }
.tag.live { color: #fff6d7; background: rgba(246, 201, 94, .18); }
.tag.booking-red { color: #ffe1e9; background: rgba(236,106,142,.20); }
.tag.booking-orange { color: #fff4cf; background: rgba(246,201,94,.20); }
.tag.booking-green { color: #dfffe9; background: rgba(97,211,148,.18); }
.tag.meet-tag {
  color: #dfffe9;
  text-decoration: none;
  background: rgba(97,211,148,.18);
}

button.tag,
.client-schedule-inline {
  border: 1px solid rgba(97,211,148,.30);
  color: #eaffef;
  background: rgba(97,211,148,.15);
  cursor: pointer;
}

.task-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 12px;
  border: 1px solid rgba(97, 211, 148, .34);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(97, 211, 148, .12);
  color: #dfffe9;
  font-weight: 900;
}

.task-check input { width: 22px; height: 22px; accent-color: var(--green); }

.select-check {
  border-color: rgba(246,201,94,.36);
  background: rgba(246,201,94,.12);
  color: #fff6d7;
}

.select-check input { accent-color: var(--amber); }

.task-section {
  margin-top: 14px;
}

.task-section .list {
  margin-top: 10px;
}

.task-section.carry-forward {
  border: 1px solid rgba(236, 106, 142, .22);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(236,106,142,.14), transparent 42%),
    rgba(255,255,255,.035);
}

.task-section.carry-forward .pill {
  border-color: rgba(236,106,142,.42);
  background: rgba(236,106,142,.16);
  color: #ffdbe4;
}

.schedule-view {
  margin: -4px -8px 0;
}

.calendar-appbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin: -6px -8px 10px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(17,18,20,.98), rgba(17,18,20,.86));
  backdrop-filter: blur(14px);
}

.calendar-title {
  min-width: 0;
}

.calendar-title span {
  display: block;
  color: #dfffe9;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.calendar-title h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1;
}

.calendar-title small {
  color: var(--muted);
  font-size: 11px;
}

.calendar-icon-button,
.calendar-add-button {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.075);
  font-weight: 950;
}

.calendar-icon-button {
  min-width: 38px;
  padding: 0 11px;
  font-size: 12px;
}

.calendar-add-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-color: rgba(97,211,148,.44);
  color: var(--ink);
  background: var(--green);
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(97,211,148,.20);
}

.schedule-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.calendar-date-row {
  grid-template-columns: 1fr;
  margin: 0 0 10px;
  padding: 10px;
}

.schedule-date-label {
  gap: 4px;
}

.calendar-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 10px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.calendar-mode-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
}

.calendar-mode-tabs button.active {
  color: var(--ink);
  background: var(--green);
}

.calendar-week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 10px;
}

.calendar-week-strip button {
  min-height: 74px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.calendar-week-strip button span,
.calendar-week-strip button small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-week-strip button strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 18px;
}

.calendar-week-strip button.selected {
  border-color: rgba(97,211,148,.72);
  background: rgba(97,211,148,.17);
  box-shadow: 0 0 0 1px rgba(97,211,148,.22), 0 10px 24px rgba(97,211,148,.08);
}

.calendar-week-strip button.today strong {
  color: #dfffe9;
}

.calendar-lane-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.calendar-lane-filters::-webkit-scrollbar { display: none; }

.calendar-lane-filters button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
  font-size: 12px;
  font-weight: 950;
}

.calendar-lane-filters button.active {
  color: #dfffe9;
  border-color: rgba(97,211,148,.46);
  background: rgba(97,211,148,.14);
}

.calendar-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(76px, 1fr));
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 10px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.calendar-stats::-webkit-scrollbar { display: none; }

.calendar-stats article {
  min-height: 70px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.calendar-stats span,
.calendar-stats small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-stats strong {
  display: block;
  margin: 4px 0;
  font-size: 22px;
}

.schedule-request-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(166,199,138,.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(166,199,138,.14), transparent 48%),
    rgba(255,255,255,.055);
}

.schedule-request-panel strong {
  display: block;
  margin: 4px 0;
  line-height: 1.25;
}

.calendar-create-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(97,211,148,.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(97,211,148,.20), transparent 34%),
    linear-gradient(135deg, rgba(97,211,148,.12), rgba(255,255,255,.055));
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

.calendar-create-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.calendar-create-head h3 {
  margin-bottom: 0;
}

.calendar-shell {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 0%, rgba(97,183,232,.13), transparent 35%),
    rgba(255,255,255,.055);
}

.google-calendar-shell {
  padding: 12px 10px 10px;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.calendar-legend {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 8px;
  align-items: center;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.legend-dot.red { background: var(--rose); }
.legend-dot.orange { background: var(--amber); }
.legend-dot.green { background: var(--green); }

.gcal-board {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  min-height: calc(var(--hour-count) * var(--hour-height));
}

.gcal-time-column {
  display: grid;
  grid-template-rows: repeat(var(--hour-count), var(--hour-height));
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.gcal-time-column time {
  padding-top: 2px;
}

.gcal-grid {
  position: relative;
  min-height: calc(var(--hour-count) * var(--hour-height));
  border-left: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(90deg, rgba(255,255,255,.025), transparent);
}

.gcal-hour-line {
  display: block;
  height: var(--hour-height);
  border-top: 1px solid rgba(255,255,255,.105);
}

.gcal-slot-button {
  position: absolute;
  left: 8px;
  right: 8px;
  z-index: 1;
  min-height: 32px;
  border: 1px dashed rgba(255,255,255,.11);
  border-radius: 8px;
  color: rgba(248,248,246,.42);
  background: rgba(255,255,255,.025);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  padding-left: 10px;
  opacity: .0;
  transition: opacity 160ms ease, background 160ms ease, color 160ms ease;
}

.gcal-grid:hover .gcal-slot-button,
.gcal-slot-button:focus {
  opacity: 1;
}

.gcal-slot-button:active {
  color: #dfffe9;
  background: rgba(97,211,148,.13);
}

@media (hover: none) {
  .gcal-slot-button {
    opacity: .42;
  }
}

.gcal-now-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 10px rgba(236,106,142,.8);
}

.gcal-now-line::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

.booking-block {
  position: absolute;
  z-index: 3;
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-left-width: 5px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.26);
  touch-action: none;
}

.booking-block span,
.booking-block small {
  color: rgba(248,248,246,.80);
  font-size: 11px;
  line-height: 1.15;
}

.booking-block strong {
  font-size: 14px;
  line-height: 1.15;
}

.booking-block .meta {
  margin-top: 4px;
}

.booking-block.red {
  border-left-color: var(--rose);
  background: linear-gradient(135deg, rgba(89,31,44,.98), rgba(56,31,42,.94));
}

.booking-block.orange {
  border-left-color: var(--amber);
  background: linear-gradient(135deg, rgba(89,68,24,.98), rgba(52,43,30,.94));
}

.booking-block.green {
  border-left-color: var(--green);
  background: linear-gradient(135deg, rgba(28,80,54,.98), rgba(25,48,40,.94));
}

.booking-block.resizable {
  padding-bottom: 18px;
}

.resize-handle {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 54px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  transform: translateX(-50%);
  cursor: ns-resize;
  touch-action: none;
}

.resize-handle span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
}

.booking-block.resizing {
  outline: 2px solid rgba(194,231,115,.58);
  box-shadow: 0 0 0 1px rgba(194,231,115,.22), 0 18px 46px rgba(0,0,0,.35);
}

.resize-live {
  position: absolute;
  right: 8px;
  bottom: 23px;
  border-radius: 999px;
  padding: 4px 7px;
  color: #111214;
  background: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.calendar-empty-day {
  position: absolute;
  inset: 120px 18px auto;
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 8px;
  text-align: center;
  background: rgba(255,255,255,.035);
}

.calendar-empty-day strong {
  font-size: 16px;
}

.calendar-empty-day small {
  color: var(--muted);
}

.week-planner {
  display: grid;
  gap: 8px;
}

.week-day-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.week-day-card.selected {
  border-color: rgba(97,211,148,.44);
  background: rgba(97,211,148,.08);
}

.week-day-card button {
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,.075);
  font-weight: 950;
}

.week-day-card button span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.week-day-card button strong {
  font-size: 22px;
}

.booking-mini,
.open-slot-mini {
  display: block;
  min-height: 28px;
  margin-bottom: 6px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.booking-mini.red { background: rgba(236,106,142,.18); }
.booking-mini.orange { background: rgba(246,201,94,.18); }
.booking-mini.green { background: rgba(97,211,148,.16); }
.open-slot-mini { color: var(--muted); background: rgba(255,255,255,.05); }

.agenda-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.agenda-card {
  border-left: 5px solid rgba(97,211,148,.35);
}

.calendar-detail-board {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  scroll-margin-top: 82px;
}

.calendar-detail-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(97,211,148,.07), transparent 42%),
    rgba(255,255,255,.052);
}

.calendar-detail-block .focus-summary-head {
  align-items: center;
}

.calendar-detail-block .focus-summary-head > div {
  min-width: 0;
  flex: 1;
}

.calendar-detail-block .focus-summary-head strong {
  font-size: 22px;
}

.calendar-detail-block.active {
  border-color: rgba(194,231,115,.54);
  box-shadow: 0 0 0 1px rgba(194,231,115,.18), 0 18px 42px rgba(0,0,0,.24);
}

.whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.whatsapp-actions a,
.whatsapp-actions small {
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(97,211,148,.26);
  border-radius: 8px;
  padding: 7px 10px;
  color: #eaffef;
  background: rgba(97,211,148,.12);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-actions.muted small {
  border-color: rgba(255,255,255,.12);
  color: var(--muted);
  background: rgba(255,255,255,.045);
}

.client-card .meta {
  margin: 10px 0;
}

.client-schedule-action {
  margin-top: 12px;
  box-shadow: 0 12px 24px rgba(97,211,148,.16);
}

.calendar-compose {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
}

.calendar-compose summary {
  min-height: 48px;
  padding: 14px;
  cursor: pointer;
  color: #dfffe9;
  font-weight: 900;
}

.calendar-compose .hero {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  margin: 0;
  background: transparent;
}

.rules-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(246,201,94,.28);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(246,201,94,.14), transparent 38%),
    rgba(255,255,255,.065);
}

.rules-panel strong { display: block; margin-bottom: 4px; }
.rules-panel small { color: var(--muted); }
.rules-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.rule-grid div {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255,255,255,.055);
}

.rule-grid b {
  display: block;
  margin-bottom: 3px;
  color: #efffe4;
}

.mini-rule-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.mini-rule-list small {
  display: block;
  border-left: 3px solid rgba(194,231,115,.62);
  padding-left: 8px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}

.section-head.compact {
  margin: 0;
}

.section-head.compact h3 {
  margin: 3px 0 0;
}

.journey-scene {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 62%, rgba(139, 92, 246, .24), transparent 32%),
    linear-gradient(180deg, rgba(6, 10, 28, .92), rgba(8, 9, 15, .96));
}

.journey-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.56) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 62%, rgba(255,255,255,.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 24% 82%, rgba(255,255,255,.55) 0 1px, transparent 1.5px);
  animation: starDrift 5s linear infinite;
}

.journey-path {
  position: relative;
  min-height: 122px;
  margin: 16px 0 4px;
}

.journey-path::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 62px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(236,106,142,.9), rgba(246,201,94,.85), rgba(97,183,232,.85), rgba(97,211,148,.85));
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, .55));
  transform: rotate(-10deg);
}

.journey-step {
  position: absolute;
  width: 72px;
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
  text-align: center;
}

.journey-step:nth-child(1) { left: 3%; top: 42px; }
.journey-step:nth-child(2) { left: 30%; top: 18px; }
.journey-step:nth-child(3) { right: 30%; top: 62px; }
.journey-step:nth-child(4) { right: 3%; top: 28px; }

.journey-step span {
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.journey-step strong {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #101114;
  font-size: 15px;
  background: var(--amber);
}

.journey-step small {
  width: 64px;
  overflow: hidden;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-step.rose strong { background: var(--rose); color: white; }
.journey-step.amber strong { background: var(--amber); }
.journey-step.blue strong { background: var(--blue); color: #071018; }
.journey-step.green strong { background: var(--green); color: #071018; }
.journey-step.active { animation: stepGlow 1900ms ease-in-out infinite; }

.journey-copy {
  position: relative;
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.journey-copy strong {
  font-size: 19px;
}

.journey-copy small {
  color: var(--muted);
}

.hall-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 108px;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.hall-strip::-webkit-scrollbar { display: none; }

.hall-badge {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 136px;
  padding: 12px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  text-align: center;
}

.hall-badge strong {
  max-width: 92px;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hall-badge small {
  color: var(--muted);
}

.avatar-ring {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    linear-gradient(#111214, #111214) padding-box,
    conic-gradient(var(--amber), var(--rose), var(--purple), var(--blue), var(--green), var(--amber)) border-box;
  border: 5px solid transparent;
  box-shadow: 0 0 28px rgba(236,106,142,.2);
}

.avatar-ring span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  color: #111214;
  font-size: 22px;
  font-weight: 950;
}

.hall-badge.champion .avatar-ring {
  animation: badgePulse 2100ms ease-in-out infinite;
}

.week-race {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.week-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.week-row strong {
  font-size: 18px;
}

.week-dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.week-dots span,
.week-dots em {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: white;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.week-dots span:nth-child(2) { background: var(--blue); }
.week-dots span:nth-child(3) { background: var(--green); color: #071018; }
.week-dots em {
  background: rgba(255,255,255,.18);
  color: var(--text);
}

.accountability-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.accountability-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 10px;
}

.accountability-item b {
  display: grid;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(97,211,148,.16);
  color: #dfffe9;
  font-size: 10px;
  text-transform: uppercase;
}

.accountability-item.next b {
  background: rgba(246,201,94,.16);
  color: #fff3c7;
}

.accountability-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.accountability-item small {
  color: var(--muted);
}

.empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, .06);
  text-align: center;
  line-height: 1.5;
}

.notice-board { display: grid; gap: 12px; }
.notice-group.reminders { border-color: rgba(97, 183, 232, .34); }
.notice-group.celebrations { border-color: rgba(97, 211, 148, .34); }
.notice-group.alerts { border-color: rgba(236, 106, 142, .38); }
.notice-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-title { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.notice-item { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; }
.notice-item strong { display: block; margin-bottom: 4px; line-height: 1.25; }

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  display: grid;
  width: min(480px, 100vw);
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: rgba(17, 18, 20, .94);
  transform: translateX(-50%);
}

.bottom-nav button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.bottom-nav button.active { background: rgba(255, 255, 255, .1); color: var(--text); }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes breathTop {
  0%, 24.9% { opacity: 0; transform: scaleX(0); }
  25% { opacity: 1; transform: scaleX(0); }
  49.9% { opacity: .86; transform: scaleX(1); }
  50%, 100% { opacity: 0; transform: scaleX(1); }
}

@keyframes breathRight {
  0%, 49.9% { opacity: 0; transform: scaleY(0); }
  50% { opacity: 1; transform: scaleY(0); }
  74.9% { opacity: 1; transform: scaleY(1); }
  75%, 100% { opacity: 0; transform: scaleY(1); }
}

@keyframes breathBottom {
  0%, 74.9% { opacity: 0; transform: scaleX(0); }
  75% { opacity: 1; transform: scaleX(0); }
  99.9% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes breathLeft {
  0% { opacity: 1; transform: scaleY(0); }
  24.9% { opacity: 1; transform: scaleY(1); }
  25%, 100% { opacity: 0; transform: scaleY(1); }
}

@keyframes breathPhaseIn {
  0%, 50% { opacity: 1; border-color: rgba(97,211,148,.5); }
  50.1%, 100% { opacity: .38; border-color: rgba(255,255,255,.12); }
}

@keyframes breathPhaseOut {
  0%, 50% { opacity: .38; border-color: rgba(255,255,255,.12); }
  50.1%, 100% { opacity: 1; border-color: rgba(236,106,142,.58); }
}

@keyframes strikeLine {
  0%, 28% { width: 0; }
  48%, 100% { width: 100%; }
}

@keyframes strikeAway {
  0%, 36% { opacity: 1; transform: translateY(0); }
  60%, 100% { opacity: .18; transform: translateY(-8px); }
}

@keyframes gainIn {
  0%, 42% { opacity: 0; transform: translateY(9px); }
  62%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes mascotBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.025); }
}

@keyframes mascotJump {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-9px) rotate(-2deg); }
  55% { transform: translateY(0) rotate(2deg); }
}

@keyframes mascotSway {
  0%, 100% { transform: translateX(0) rotate(0); }
  50% { transform: translateX(-2px) rotate(-1.4deg); }
}

@keyframes tearDrop {
  0% { opacity: 0; transform: translateY(0) scale(.65); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: translateY(28px) scale(1); }
}

@keyframes mascotWorry {
  0%, 100% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(-2px) rotate(-1deg); }
  75% { transform: translateX(2px) rotate(1deg); }
}

@keyframes mascotLowEnergy {
  0%, 100% { transform: translateY(0) scale(1); opacity: .82; }
  50% { transform: translateY(3px) scale(.985); opacity: 1; }
}

@keyframes mascotNod {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(1deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: .45; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes rankUp {
  0%, 100% { transform: translateY(0); border-color: rgba(97, 211, 148, .28); }
  50% { transform: translateY(-3px); border-color: rgba(97, 211, 148, .58); }
}

@keyframes rankDown {
  0%, 100% { transform: translateY(0); border-color: rgba(236, 106, 142, .28); }
  50% { transform: translateY(3px); border-color: rgba(236, 106, 142, .58); }
}

@keyframes steadyPulse {
  0%, 100% { border-color: rgba(139, 92, 246, .24); }
  50% { border-color: rgba(139, 92, 246, .55); }
}

@keyframes starDrift {
  from { transform: translateY(0); opacity: .72; }
  to { transform: translateY(12px); opacity: .92; }
}

@keyframes stepGlow {
  0%, 100% { transform: translateY(0); box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 0 0 rgba(139,92,246,0); }
  50% { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,.34), 0 0 24px rgba(139,92,246,.45); }
}

@keyframes badgePulse {
  0%, 100% { transform: translateY(0); filter: saturate(1); }
  50% { transform: translateY(-4px); filter: saturate(1.3); }
}

@media (max-width: 360px) {
  .topbar, main { padding-left: 12px; padding-right: 12px; }
  .actions { gap: 7px; }
  .action-tile { font-size: 11px; }
}
