/* core/static/core/css/app.css
   SaturnOS UI (Apple-ish, mobile-first)
   Minimal colors, soft surfaces, readable typography.
*/

:root{
  --bg: #f5f5f7;          /* iOS-like light gray */
  --card: #ffffff;
  --text: #111827;        /* near-black */
  --muted: #6b7280;       /* gray */
  --border: #e5e7eb;      /* light border */
  --shadow: 0 6px 20px rgba(17, 24, 39, 0.06);

  --accent: #007aff;      /* iOS blue (only accent) */
  --danger: #ff2d55;      /* iOS red */
  --ok: #4cd964;          /* iOS green */

  --radius-lg: 16px;
  --radius-md: 12px;

  /* Light theme "soft" surfaces (Apple calm) */
  --border-soft: rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.06);

  /* legacy */
  --radius: 14px; /* legacy fallback (avoid using in new code) */

  /* Spacing rhythm */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:#f5f5f7;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.45;
  height: 100%;
}

/* App shell */
.app-shell {
  max-width: 880px;     /* desktop-friendly */
  margin: 0 auto;
  padding: 16px 14px 0px;

  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background: linear-gradient(180deg, #f5f5f7 0%, #eef1f5 100%);
  border-left: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.app-main{
  flex: 1;
  background: transparent;
}

.app-footer{
  margin-top: 50px;
  padding: 22px 0;
}

/* =========================================================
   Auth (Login)
   ========================================================= */
.auth-page{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}

.auth-card{
  width: 100%;
  max-width: 360px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  backdrop-filter: blur(14px);
}

.auth-title{
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-sub{
  margin: 6px 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.auth-label{
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(17,24,39,0.72);
}

.auth-card input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.9);
  outline: none;
}

.auth-card input:focus{
  border-color: rgba(0,122,255,0.35);
  box-shadow: 0 0 0 4px rgba(0,122,255,0.10);
}

.auth-btn{
  width: 100%;
  margin-top: 14px;
}


/* =========================================================
   Top Nav – Apple Toolbar Calm
   Minimal contrast, soft border, quiet links.
   ========================================================= */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);

  padding: 12px 14px;

  /* Softer boundary */
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);

  position: sticky;
  top: 10px;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 44px; /* was 60px: calmer, less dominant */
  width: auto;
  border-radius: 10px;
}

.brand small {
  color: var(--muted);
  font-weight: 600;
}

/* Nav links become "pill tabs" instead of raw hyperlinks */
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Base link styling (no underline by default; Apple doesn't underline tabs) */
.nav-links a {
  text-decoration: none;
  color: var(--muted);

  padding: 8px 12px;
  border-radius: 999px;

  border: 1px solid transparent;
  background: transparent;

  font-weight: 700;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

/* Hover = soft surface */
.nav-links a:hover {
  background: rgba(17, 24, 39, 0.04);
  color: var(--text);
  text-decoration: none;
}

/* Active state (we'll hook this up via template class next step) */
.nav-links a.is-active {
  background: rgba(10, 132, 255, 0.12);
  border-color: rgba(10, 132, 255, 0.18);
  color: var(--accent);
}

/* Timezone switch = small pill button, matches nav tabs */
.tz-switch{
  margin: 0;
}

.tz-toggle{
  width: 36px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(17,24,39,0.10);
  position: relative;
  cursor: pointer;
}

.tz-toggle::after{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transition: transform 160ms ease;
}

/* When UAE (active), slide right + tint */
.tz-toggle.is-active{
  background: rgba(0,122,255,0.35);
  border-color: rgba(0,122,255,0.35);
}

.tz-toggle.is-active::after{
  transform: translateX(18px);
}

/* =========================================================
   Settings Dropdown (Apple calm)
   ========================================================= */

.settings-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.settings-btn{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* subtle touch surface */
.settings-btn:hover{
  background: rgba(236, 234, 234, 0.06);
}

.settings-icon{
  width: 30px;
  height: 30px;
  opacity: 0.75;
}

.settings-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 50;
}

.settings-wrap.open .settings-menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.settings-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 6px;
}

.settings-label{
  font-size: 13px;
  font-weight: 800;
  color: rgba(17,24,39,0.82);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.settings-sub{
  font-size: 12px;
  font-weight: 700;
  color: rgba(17,24,39,0.55);
  margin-top: 4px;
}

.settings-sep{
  height: 1px;
  margin: 8px 6px;
  background: rgba(17,24,39,0.10);
}

.settings-item{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-item-icon{
  width: 18px;
  height: 18px;
  opacity: 0.85;
}


.settings-item:hover{
  background: rgba(17,24,39,0.06);
}

.settings-item.danger{
  color: rgba(220,38,38,0.92);
}


/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
  margin: 14px 0;
}
details.card{
  border: 1px solid var(--border-soft);
  background: #ffffff;
}

.date-card{
  text-align: center;
  padding: 18px 18px;
}

.date-heading{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Chart container (keeps canvas clean inside cards) */
.chart-wrap{
  width: 100%;
  overflow-x: auto;
}

/* =========================================================
   Typography – Calm Vertical Rhythm
   Refined spacing, not louder spacing.
   ========================================================= */

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
}

/* Primary heading (rare, big moments only) */
h1 {
  font-size: 26px;
  margin-bottom: var(--space-3);
}

/* Section headings */
h2 {
  font-size: 20px;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

/* Subsection headings */
h3 {
  font-size: 16px;
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
  color: var(--text);
}

p {
  margin: var(--space-2) 0;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* =========================================================
   Tasks UI – Refined Secondary Surface
   Cleaner, calmer, product-grade feel
   ========================================================= */

.task-card{
  background: #ffffff;
  border-radius: var(--radius-md);

  /* Softer, less harsh border */
  border: 1px solid var(--border-soft);

  /* Controlled spacing */
  padding: var(--space-3);
  margin: var(--space-2) 0;

  /* Much lighter elevation (barely there) */
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);

  transition: transform 120ms ease, box-shadow 120ms ease;
}

.task-current.in-progress{
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.10);
}

/* Subtle interaction feedback */
.task-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

/* Flip-style countdown (modern watch vibe) */
.countdown-flip{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

.flip{
  width: 64px;
  text-align: center;
}

.flip-top{
  border-radius: 14px;
  padding: 10px 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: #2e3135;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.flip-label{
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Layout inside a task card */
.task-top{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.task-time{
  font-weight: 800;
}

.task-title{
  margin-top: 4px;
  font-weight: 700;
}

/* Meta chips (Category / Scored / Quality) */
.task-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.meta-chip{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid var(--border-soft);
}

/* =========================================================
   Metadata Row (Icon Style)
   ========================================================= */

.task-meta-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: var(--fs-2);
  color: var(--muted);
}

.meta-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-icon{
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.task-actions{
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.task-status{
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* pushes NOW + countdown to the right edge */
  text-align: right;
  gap: 10px;
}
/* Scrollable Past list container */
.tasks-scroll{
  max-height: clamp(108px, 24vh, 168px); /* small on mobile, still reasonable on desktop */
  overflow-y: auto;
  padding-right: 6px;
}
/* Cleaner scrollbar: Chrome/Edge/Safari */
.tasks-scroll::-webkit-scrollbar {
  width: 8px;
}
.tasks-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* Firefox */
.tasks-scroll {
  scrollbar-width: thin;
}

/* Status accents (subtle, premium) */
.task-current{
  border-left: 3px solid rgba(0, 122, 255, 0.35);
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.12);
}

.task-next{
  border-left: 3px solid rgba(107, 114, 128, 0.25);
}

.task-missed{
  border-left: 3px solid rgba(255, 59, 48, 0.35);
}

.task-skipped{
  border-left: 3px solid rgba(255, 149, 0, 0.35);
}

.task-completed{
  border-left: 3px solid rgba(52, 199, 89, 0.35);
}

/* Forms */
label { font-size: 13px; color: var(--muted); }
input[type="text"],
input[type="number"],
input[type="time"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(10,132,255,0.55);
  box-shadow: 0 0 0 4px rgba(10,132,255,0.12);
}

/* =========================================================
   Planner (Plan Tomorrow) – styling-only helpers
   ========================================================= */

.planner-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.planner-span-2{
  grid-column: span 2;
}

/* Keep form paragraphs from feeling too spaced out */
.planner-form p{
  margin: 10px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}
.btn:hover { filter: brightness(0.98); }

/* Primary Action (Start Task) */
.btn-primary{
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.35);
}

/* Secondary Action (End Task) */
.btn-secondary{
  background: #1f2937;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  transition: transform 120ms ease, opacity 120ms ease;
}

.btn-secondary:hover{
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Ghost (Skip) */
.btn-ghost{
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: rgba(255,59,48,0.7);
}

.btn-sm{
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.btn,
.btn:hover,
.btn:focus {
  text-decoration: none !important;
}

/* Pills / badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fafafa;
  color: var(--muted);
}
.badge-ok { background: rgba(52,199,89,0.12); color: #137a2c; border-color: rgba(52,199,89,0.25); }
.badge-warn { background: rgba(255,149,0,0.12); color: #8a4b00; border-color: rgba(255,149,0,0.25); }
.badge-bad { background: rgba(255,59,48,0.12); color: #8a1f18; border-color: rgba(255,59,48,0.25); }

.alert-warning {
  background: rgba(255,149,0,0.12);
  border: 1px solid rgba(255,149,0,0.3);
  border-radius: 12px;
  padding: 12px;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0;
  background: #fff;
}

/* Collapsible (native details/summary) */
.collapsible summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

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

.collapsible-body{
  margin-top: 12px;
}

.summary-left{
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.summary-icons{
  position: relative;
  width: 24px;
  height: 24px;
}

/* Icon sizing */
.summary-icons img{
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease;
}

/* Default state: show expand */
.icon-expand{
  opacity: 1;
}

.icon-collapse{
  opacity: 0;
}

/* When open: swap icons */
details[open] .icon-expand{
  opacity: 0;
}

details[open] .icon-collapse{
  opacity: 1;
}

/* Category scores: align name left, value right */
.score-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-name{
  font-weight: 700;
}

.score-value{
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.row .left { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.row .right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Tables (report) */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 10px; border-bottom: 1px solid var(--border); font-size: 13px; }
th { text-align: left; color: var(--muted); background: #fafafa; }

/* =========================================================
   App Footer – Branded Executive
   ========================================================= */

.app-footer{
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  background: transparent;
}

.footer-inner{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(17,24,39,0.55);
}

.footer-logo{
  height: 38px;
  opacity: 0.95;
  transition: opacity 140ms ease, transform 120ms ease;
}

.footer-app{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-saturn-icon{
  height: 22px;
  opacity: 0.75;
}

.footer-brand-link:hover .footer-logo{
  opacity: 1;
  transform: translateY(-1px);
}

.footer-sep{
  opacity: 0.35;
}

/* =========================================================
   MOBILE NAV REFINEMENT
   ========================================================= */
@media (max-width: 520px) {

  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .brand {
    align-items: center;
  }

  .brand-logo {
    height: 36px;   /* smaller on mobile */
  }

  .brand small {
    font-size: 12px;
  }

  .nav-links {
    justify-content: space-between;
    gap: 6px;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
  }

  /* =========================================================
   iOS-like Switch (for timezone)
   ========================================================= */
  
  .tz-toggle{
    width: 36px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(17,24,39,0.10);
    position: relative;
    cursor: pointer;
  }
  
  .tz-toggle::after{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transition: transform 160ms ease;
  }
  
  /* When UAE (active), slide right + tint */
  .tz-toggle.is-active{
    background: rgba(0,122,255,0.35);
    border-color: rgba(0,122,255,0.35);
  }
  
  .tz-toggle.is-active::after{
    transform: translateX(18px);
  }

  /* Date Header – mobile refinement */
  .date-card{
    text-align: center;
    padding: 20px 14px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
  }

  .date-heading{
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }


  /* =========================================================
   CURRENT TASK (mobile) – tighten layout
   ========================================================= */

  .task-card{
    padding: 26px;
  }

  .task-current{
    border-left: 2px solid rgba(0, 122, 255, 0.22);
    box-shadow: 0 10px 26px rgba(10, 132, 255, 0.08);
  }

  .task-actions{
    justify-content: flex-start;
    margin-top: 14px;
  }

  /* Reduce the gap between left content and status column */
  .task-top{
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    
  }

  .task-top .badge{
    position: absolute;
    top: 0;
    right: 0;
  }

  /* Make status section full width */
  .task-status{
    width: 100%;
    align-items: center;
    text-align: center;
    
    
  }

  .task-status .badge{
    align-self: flex-end;
    margin-bottom: 10px;
  }

  /* Make countdown sit closer + not dominate */
  .countdown-flip{
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
  }

  .flip{
    width: 56px; /* was 64 */
  }

  .flip-box{
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  }

  .flip-top{
    font-size: 24px;  /* was 28 */
    padding: 9px 0;   /* was 10 */
    border-radius: 14px;
  }

  .flip-label{
    font-size: 9px;
    letter-spacing: 0.08rem;
    color: rgba(17, 24, 39, 0.50);
    margin-top: 5px;
  }

  /* Buttons spacing a bit tighter */
  .task-actions{
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
  } 

  .tasks-scroll{
   max-height: clamp(180px, 30vh, 220px);
   overflow-y: auto;
   padding-right: 6px;
  }

  /* =========================================================
   Meta ICONS – Mobile Refinement
   ========================================================= */

  .task-meta{
    gap: 5px;
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.75;
    line-height: 1.35;
  }
  .task-meta-row{
    gap: 11px;
    font-size: 11px;
    color: rgba(17, 24, 39, 0.55);
  }

  .meta-icon{
    width: 12px;
    height: 12px;
    opacity: 0.55;
  }

  /* Category text a bit stronger than other meta */
  .task-meta-row .meta-item:first-child{
    color: rgba(17, 24, 39, 0.70);
  }

  /* =========================================================
   Mobile Typography Hierarchy (Apple calm)
   ========================================================= */

  .task-time{
    font-weight: 600;
    opacity: 0.8;
    font-size: 14px;
  }

  .task-title{
    font-weight: 700;
    font-size: 17px;
    margin-top: 4px;
  }

  /* =========================================================
   Mobile Button Refinement (Native feel)
   ========================================================= */
  /* Primary action (Start / End Task) */
  .btn-primary,
  .btn-secondary{
    background: var(--accent) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.25);
  }
  
  /* Secondary action (Skip) */
  .btn{
    background: transparent;
    border: none;
    color: var(--accent);
    font-weight: 700;
  }

   .settings-menu{
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  }

  .settings-label{
    color: rgba(17,24,39,0.88);
  }

  .settings-sub{
    color: rgba(17,24,39,0.60);
  }

  /* =========================================================
   Mobile Settings Background Blur
   ========================================================= */

  .app-overlay{
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 40;
  }

  body.settings-open .app-overlay{
    opacity: 1;
    pointer-events: auto;
  }
  /* =========================================================
   Planner (Plan Tomorrow) – styling-only helpers
   ========================================================= */
  .planner-grid{
    grid-template-columns: 1fr;
  }
  .planner-span-2{
    grid-column: auto;
  }

} 