:root {
  --ink: #17312b;
  --ink-2: #24463e;
  --muted: #6d7d77;
  --cream: #f4f1e9;
  --paper: #fffdf8;
  --sage: #dce8df;
  --sage-2: #b9d0c0;
  --gold: #dba85b;
  --terra: #c87859;
  --blue: #90afba;
  --line: rgba(30, 62, 53, 0.11);
  --shadow: 0 18px 55px rgba(37, 62, 54, 0.09);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  opacity: 0.45;
}
.ambient-one {
  width: 440px;
  height: 440px;
  background: #d9e7db;
  right: -180px;
  top: -190px;
}
.ambient-two {
  width: 320px;
  height: 320px;
  background: #efd9b7;
  left: 15%;
  bottom: -240px;
}
.shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: linear-gradient(180deg, #17372f, #112b25);
  color: #f7f3ea;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e2ba79;
  color: #17312b;
  font-family: var(--serif);
  font-size: 25px;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 48px;
}
.nav-item {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font: 600 14px var(--sans);
  text-align: left;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 11px;
  cursor: pointer;
}
.nav-item span {
  width: 18px;
  text-align: center;
}
.nav-item:hover,
.nav-item.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.sidebar-bottom {
  margin-top: auto;
}
.sync-card {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 15px;
}
.sync-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(219, 168, 91, 0.12);
  display: inline-block;
}
.status-dot.online {
  background: #7bc89d;
}
.sync-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.58);
  margin: 8px 0;
}
.privacy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.36);
  text-align: center;
  margin: 15px 0 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--terra);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}
.sync-card .text-button {
  color: #e1bd82;
  font-size: 11px;
}
main {
  padding: 34px clamp(24px, 4vw, 60px) 80px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.topbar,
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.topbar > div:first-child {
  min-width: 0;
}
.top-actions {
  flex: 0 0 auto;
}
.eyebrow,
.kicker {
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.topbar h1,
.section-title h2 {
  font: 400 clamp(30px, 4vw, 45px) / 1.08 var(--serif);
  margin: 0;
}
.section-title p:last-child {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 670px;
}
.top-actions {
  display: flex;
  gap: 10px;
}
.mobile-settings {
  display: none;
}
button,
input,
select {
  font: inherit;
}
.primary,
.soft-button,
.icon-button,
.add-button,
.segmented button,
.filter {
  border: 0;
  cursor: pointer;
}
.primary {
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding: 11px 17px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(23, 49, 43, 0.16);
}
.primary:hover {
  background: var(--ink-2);
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  font-size: 20px;
}
.view {
  display: none;
}
.view.active {
  display: block;
  animation: rise 0.25s ease;
}
@keyframes rise {
  from {
    opacity: 0.5;
    transform: translateY(4px);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 23px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  min-width: 0;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.card-heading > div {
  min-width: 0;
}
.card-heading .text-button {
  flex: 0 0 auto;
}
.card-heading.compact {
  align-items: center;
}
.card h2,
.card h3 {
  font: 400 27px/1.15 var(--serif);
  margin: 0;
}
.card h3 {
  font-size: 23px;
}
.focus-card {
  min-height: 430px;
}
.progress-ring {
  --p: 0deg;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--terra) var(--p), #ece9e0 0);
  position: relative;
}
.progress-ring:after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--paper);
}
.progress-ring span {
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
}
.quick-form {
  display: grid;
  grid-template-columns: 1fr 110px 42px;
  gap: 8px;
  margin: 22px 0 17px;
}
.quick-form input,
.quick-form select,
.modal input,
.modal select {
  width: 100%;
  border: 1px solid var(--line);
  background: #f9f7f1;
  border-radius: 11px;
  padding: 11px;
  color: var(--ink);
  outline: none;
}
.quick-form input:focus,
.modal input:focus {
  border-color: var(--sage-2);
  box-shadow: 0 0 0 3px rgba(144, 175, 154, 0.16);
}
.add-button {
  border-radius: 11px;
  background: var(--sage);
  color: var(--ink);
  font-size: 22px;
}
.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.task {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}
.check {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--sage-2);
  border-radius: 7px;
  background: white;
  cursor: pointer;
  color: white;
  padding: 0;
}
.task.done {
  opacity: 0.55;
}
.task.done .task-title {
  text-decoration: line-through;
}
.task-title {
  font-weight: 600;
  font-size: 14px;
}
.task-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.delete {
  opacity: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
}
.task:hover .delete {
  opacity: 1;
}
.empty {
  text-align: center;
  color: var(--muted);
  display: none;
  padding: 48px 20px;
}
.empty.show {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage);
  margin-bottom: 8px;
}
.empty strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
}
.empty small {
  font-size: 11px;
}
.now-card {
  background: linear-gradient(155deg, #dfe9e1, #edf1e9);
  display: flex;
  flex-direction: column;
}
.time-chip {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
}
.next-detail {
  color: var(--muted);
  font-size: 13px;
}
.day-line {
  flex: 1;
  min-height: 210px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 52px 8px 1fr;
  gap: 9px;
  align-items: center;
}
.timeline-item time {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}
.timeline-item i {
  width: 7px;
  height: 7px;
  background: var(--terra);
  border-radius: 50%;
}
.timeline-item div {
  border-left: 1px solid rgba(23, 49, 43, 0.13);
  padding-left: 10px;
  min-width: 0;
}
.timeline-item strong {
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-item small {
  font-size: 10px;
  color: var(--muted);
}
.soft-button {
  padding: 10px 14px;
  background: var(--sage);
  color: var(--ink);
  border-radius: 11px;
  font-weight: 700;
}
.full {
  width: 100%;
}
.suggestion-list {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}
.suggestion {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 14px;
  background: #f7f5ef;
}
.suggestion-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sage);
}
.suggestion[data-type="golf"] .suggestion-icon {
  background: #d7e3d0;
}
.suggestion[data-type="meal"] .suggestion-icon {
  background: #eee0cb;
}
.suggestion[data-type="toddler"] .suggestion-icon {
  background: #eadbd6;
}
.suggestion strong {
  display: block;
  font-size: 13px;
}
.suggestion small {
  color: var(--muted);
  font-size: 10px;
}
.suggestion button {
  border: 0;
  background: transparent;
  color: var(--terra);
  cursor: pointer;
  font-weight: 700;
  font-size: 11px;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 18px 0;
}
.day-pill {
  padding: 10px 4px;
  text-align: center;
  border-radius: 12px;
  background: #f4f2eb;
}
.day-pill.today {
  background: var(--ink);
  color: white;
}
.day-pill span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
}
.day-pill.today span {
  color: rgba(255, 255, 255, 0.6);
}
.day-pill strong {
  font-size: 17px;
}
.day-pill i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terra);
  margin: 5px auto 0;
  opacity: 0;
}
.day-pill.has-event i {
  opacity: 1;
}
.week-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.week-mini-agenda {
  display: grid;
  gap: 7px;
  margin: 4px 0 16px;
}
.mini-agenda-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.mini-agenda-head strong {
  font-size: 11px;
}
.mini-agenda-head span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mini-event {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 11px;
  background: #f7f5ef;
  border-left: 3px solid #7ea08a;
}
.mini-event.shift {
  border-left-color: var(--terra);
  background: #f3e8e3;
}
.mini-event-date {
  text-align: center;
  border-right: 1px solid var(--line);
}
.mini-event-date strong,
.mini-event-date span {
  display: block;
}
.mini-event-date strong {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}
.mini-event-date span {
  font: 18px var(--serif);
}
.mini-event > div:last-child > strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-event small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-agenda-empty {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
  padding: 16px;
  border-radius: 11px;
  background: #f7f5ef;
}
.mini-agenda-empty strong {
  font-size: 12px;
}
.mini-agenda-empty span {
  color: var(--muted);
  font-size: 10px;
}
.week-stats div {
  text-align: center;
  border-right: 1px solid var(--line);
}
.week-stats div:last-child {
  border: 0;
}
.week-stats strong,
.week-stats span {
  display: block;
}
.week-stats strong {
  font: 24px var(--serif);
}
.week-stats span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.week-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}
.weekly-form {
  grid-template-columns: 1fr 110px 110px 42px;
  margin-top: 0;
}
.week-side {
  display: grid;
  gap: 18px;
  align-content: start;
}
.balance-list {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.balance-row {
  display: grid;
  grid-template-columns: 60px 1fr 20px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.bar {
  height: 7px;
  background: #eceae3;
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--terra);
  border-radius: 99px;
}
.ritual {
  background: var(--ink);
  color: white;
}
.ritual .kicker,
.ritual p {
  color: rgba(255, 255, 255, 0.6);
}
.segmented {
  display: flex;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 11px;
  padding: 3px;
}
.segmented button {
  background: transparent;
  padding: 7px 12px;
  color: var(--ink);
}
.calendar-card {
  overflow: auto;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  min-width: 840px;
}
.cal-day {
  min-height: 500px;
  border-right: 1px solid var(--line);
  padding: 0 9px;
}
.cal-day:last-child {
  border: 0;
}
.cal-head {
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.cal-head span {
  display: block;
  text-transform: uppercase;
  font-size: 9px;
  color: var(--muted);
}
.cal-head strong {
  font: 22px var(--serif);
}
.cal-head.today strong {
  background: var(--ink);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: auto;
}
.cal-event {
  padding: 8px;
  border-radius: 9px;
  background: var(--sage);
  border-left: 3px solid #6e9b7c;
  margin: 6px 0;
  font-size: 10px;
}
.cal-event.shift {
  background: #ecdcd7;
  border-color: var(--terra);
}
.cal-event strong {
  display: block;
  font-size: 11px;
}
.calendar-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
.filter-row {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
  overflow: auto;
}
.filter {
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
}
.filter.active {
  background: var(--ink);
  color: white;
}
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.idea-card {
  position: relative;
  overflow: hidden;
}
.idea-card:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--sage);
  right: -45px;
  top: -55px;
}
.idea-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.idea-type {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.confidence {
  font-size: 9px;
  padding: 5px 8px;
  background: #edf2eb;
  border-radius: 99px;
}
.idea-card h3 {
  margin-top: 16px;
}
.idea-card p {
  font-size: 12px;
  color: var(--muted);
}
.idea-window {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.idea-actions {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.idea-actions button {
  flex: 1;
}
.mobile-nav {
  display: none;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}
dialog::backdrop {
  background: rgba(14, 32, 27, 0.45);
  backdrop-filter: blur(4px);
}
.modal {
  width: min(460px, calc(100vw - 28px));
  background: var(--paper);
  padding: 25px;
  border-radius: 20px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.modal h2 {
  font: 30px var(--serif);
  margin: 0;
}
.close-button {
  border: 0;
  background: #f0eee8;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 20px;
  cursor: pointer;
}
.modal label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin: 12px 0;
}
.modal label input,
.modal label select {
  display: block;
  margin-top: 6px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.connection-box {
  display: flex;
  gap: 12px;
  background: #f4f2eb;
  padding: 13px;
  border-radius: 12px;
}
.connection-box strong {
  font-size: 13px;
}
.connection-box p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0;
}
.fine-print {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--ink);
  color: white;
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s;
  z-index: 40;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.planner-empty,
.plan-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.planner-empty h3,
.plan-toolbar h3 {
  margin: 0;
}
.planner-empty p,
.plan-toolbar p {
  color: var(--muted);
  margin: 6px 0;
}
.plan-toolbar {
  margin-bottom: 16px;
}
.plan-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.plan-card.approved {
  opacity: 0.65;
}
.plan-card.skipped {
  display: none;
}
.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-kind {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--terra);
}
.plan-card h3 {
  margin: 12px 0 6px;
}
.plan-time {
  font-weight: 700;
  font-size: 12px;
}
.plan-detail {
  font-size: 11px;
  color: var(--muted);
  min-height: 34px;
}
.plan-card-actions {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.plan-card-actions button {
  flex: 1;
}
.plan-details {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.plan-details summary {
  cursor: pointer;
  color: var(--terra);
  font-size: 11px;
  font-weight: 700;
}
.plan-details p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.plan-recipes {
  grid-column: 1 / -1;
}
.recipe-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.recipe-list div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  background: #f7f5ef;
  border-radius: 12px;
}
.recipe-list strong {
  font-size: 13px;
}
.recipe-list span {
  color: var(--muted);
  font-size: 10px;
}
.recipe-list a {
  color: var(--terra);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.warning-chip {
  background: #f2dfb8;
  color: #76511e;
  border-radius: 99px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
}
.planner-modal {
  width: min(650px, calc(100vw - 28px));
  max-height: 90vh;
  overflow: auto;
}
.modal textarea {
  width: 100%;
  min-height: 68px;
  resize: vertical;
  border: 1px solid var(--line);
  background: #f9f7f1;
  border-radius: 11px;
  padding: 11px;
  color: var(--ink);
  font: inherit;
  margin-top: 6px;
}
.form-note {
  color: var(--muted);
  font-size: 11px;
}
.check-label {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 29px !important;
}
.check-label input {
  width: auto !important;
  margin: 0 !important;
}
@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  main {
    padding: 25px 18px 95px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .hero-grid,
  .content-grid,
  .week-layout {
    grid-template-columns: 1fr;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 253, 248, 0.95);
    border-top: 1px solid var(--line);
    padding: 7px max(8px, env(safe-area-inset-right))
      calc(7px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    z-index: 20;
    backdrop-filter: blur(14px);
  }
  .mobile-nav button {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    font-size: 18px;
  }
  .mobile-nav span {
    font-size: 9px;
  }
  .mobile-nav button.active {
    color: var(--ink);
  }
  .ideas-grid {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .planner-empty,
  .plan-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .plan-actions {
    width: 100%;
  }
  .plan-actions button {
    flex: 1;
  }
}
@media (max-width: 600px) {
  .topbar {
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    padding-right: 98px;
  }
  .topbar h1 {
    font-size: 28px;
    line-height: 1.03;
  }
  .topbar > div:first-child {
    max-width: 100%;
  }
  .topbar .top-actions {
    position: absolute;
    right: 0;
    top: 0;
  }
  .eyebrow {
    font-size: 9px;
  }
  .top-actions .icon-button {
    display: none;
  }
  .top-actions .mobile-settings {
    display: grid;
    place-items: center;
  }
  .primary {
    padding: 10px 13px;
  }
  .card {
    padding: 18px;
    border-radius: 18px;
  }
  .hero-grid,
  .content-grid {
    gap: 12px;
  }
  .content-grid {
    margin-top: 12px;
  }
  .focus-card {
    min-height: 380px;
  }
  .quick-form,
  .weekly-form {
    grid-template-columns: 1fr 42px;
  }
  .quick-form select {
    display: none;
  }
  .weekly-form select {
    display: none;
  }
  .week-strip {
    gap: 3px;
  }
  .day-pill {
    padding: 8px 2px;
  }
  .suggestion {
    grid-template-columns: 38px 1fr;
  }
  .suggestion > button {
    display: none;
  }
  .section-title {
    align-items: flex-start;
  }
  .week-side {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .top-actions .primary {
    font-size: 0;
  }
  .top-actions .primary:after {
    content: "＋";
    font-size: 19px;
  }
  .calendar-card {
    padding: 13px;
  }
}
