:root {
  --bg: #eef1f7;
  --ink: #182033;
  --muted: #6f7787;
  --soft: rgba(255,255,255,.72);
  --soft-strong: rgba(255,255,255,.88);
  --line: rgba(34,44,68,.10);
  --shadow: 0 24px 70px rgba(35,45,76,.13);
  --shadow-soft: 0 10px 36px rgba(35,45,76,.09);
  --accent: #6475f3;
  --accent-2: #9b70da;
  --danger: #d45f6d;
  --success: #4d9a7f;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dawn"] {
  --bg: #f8f1ec;
  --accent: #d47c61;
  --accent-2: #c7a35a;
}
html[data-theme="night"] {
  --bg: #121725;
  --ink: #f2f5ff;
  --muted: #a4adbf;
  --soft: rgba(28,35,54,.76);
  --soft-strong: rgba(28,35,54,.93);
  --line: rgba(255,255,255,.09);
  --shadow: 0 24px 70px rgba(0,0,0,.25);
  --shadow-soft: 0 10px 36px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 10%, rgba(120,134,255,.24), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(190,126,221,.20), transparent 31%),
    radial-gradient(circle at 72% 88%, rgba(89,174,153,.13), transparent 29%),
    var(--bg);
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22;
  pointer-events: none;
  z-index: -1;
}
body::before { left: -140px; bottom: -120px; background: #8c7bf4; }
body::after { right: -160px; top: 30%; background: #74bea9; }

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(100,117,243,.28);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.app-shell {
  width: min(1720px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 90px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.brand-kicker {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}
.greeting {
  margin: 3px 0 0;
  font-size: clamp(30px, 3.1vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 750;
}
.date-line { color: var(--muted); margin-top: 8px; font-size: 15px; }
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.pill-button, .icon-button, .primary-button, .secondary-button, .ghost-button, .danger-button {
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
}
.pill-button:hover, .icon-button:hover, .primary-button:hover, .secondary-button:hover, .ghost-button:hover { transform: translateY(-1px); }
.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--soft);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 700;
  font-size: 13px;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.38);
}
.primary-button {
  padding: 12px 17px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(100,117,243,.25);
}
.secondary-button {
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(100,117,243,.11);
  color: var(--ink);
  font-weight: 750;
}
.ghost-button {
  padding: 10px 13px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}
.danger-button {
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(212,95,109,.12);
  color: var(--danger);
  font-weight: 800;
}

.cloud-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.cloud-state i { width: 8px; height: 8px; border-radius: 50%; background: #b4bbc8; box-shadow: 0 0 0 4px rgba(180,187,200,.12); }
.cloud-state.cloud i { background: #58a789; box-shadow: 0 0 0 4px rgba(88,167,137,.14); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 20px;
  margin-bottom: 20px;
}
.panel {
  background: var(--soft);
  backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid rgba(255,255,255,.44);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.panel-inner { padding: 24px; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-title { font-size: 16px; font-weight: 850; letter-spacing: -.015em; }
.panel-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.count-chip {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 850;
  background: rgba(100,117,243,.10);
}

.today-list, .schedule-list, .mini-list { display: grid; gap: 10px; }
.today-task {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 17px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.42);
  transition: transform .15s ease, background .15s ease;
}
html[data-theme="night"] .today-task { background: rgba(255,255,255,.035); }
.today-task:hover { transform: translateY(-1px); background: rgba(255,255,255,.72); }
html[data-theme="night"] .today-task:hover { background: rgba(255,255,255,.06); }
.check-button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(55,66,92,.22);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s ease;
}
.check-button:hover { border-color: var(--accent); transform: scale(1.05); }
.task-main { min-width: 0; }
.task-title { font-weight: 780; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-meta { margin-top: 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.project-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.priority-mark { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.priority-high { background: #d95e70; }
.priority-medium { background: #d4a052; }
.priority-low { background: #6b9aa8; }
.task-time { font-size: 12px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.empty-state { padding: 26px 10px; color: var(--muted); text-align: center; font-size: 14px; }

.schedule-item {
  display: grid;
  grid-template-columns: 82px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-time { font-weight: 820; font-size: 13px; }
.schedule-title { font-size: 14px; font-weight: 680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-placeholder {
  padding: 30px 18px;
  border-radius: 18px;
  background: rgba(100,117,243,.075);
  text-align: center;
  color: var(--muted);
}
.calendar-placeholder strong { color: var(--ink); display: block; margin-bottom: 6px; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.mini-card { padding: 21px 22px; }
.mini-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.mini-row:last-child { border-bottom: 0; }
.mini-date { min-width: 68px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding-top: 2px; }
.mini-text { min-width: 0; }
.mini-text strong { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-text span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }

.project-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.project-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.43);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}
html[data-theme="night"] .project-pill { background: rgba(255,255,255,.04); }
.project-pill:hover { border-color: rgba(100,117,243,.35); }

.task-panel { margin-top: 20px; }
.task-panel .panel-inner { padding: 0; }
.task-list-head { padding: 22px 24px 14px; }
.task-toolbar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.filter-group { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-chip {
  border: 0;
  background: transparent;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 780;
  color: var(--muted);
}
.filter-chip.active { background: rgba(100,117,243,.11); color: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar-select, .search-input {
  height: 38px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.47);
  color: var(--ink);
  border-radius: 11px;
  padding: 0 10px;
  font-size: 12px;
}
html[data-theme="night"] .toolbar-select,
html[data-theme="night"] .search-input { background: rgba(255,255,255,.04); }
.search-input { width: min(220px, 42vw); }

.task-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.task-table { width: 100%; border-collapse: collapse; min-width: 1040px; }
.task-table th {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 850;
  text-align: left;
  background: rgba(255,255,255,.20);
  position: sticky;
  top: 0;
}
.task-table th:first-child, .task-table td:first-child { padding-left: 22px; }
.task-table th:last-child, .task-table td:last-child { padding-right: 22px; }
.task-table td {
  padding: 11px 10px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  font-size: 12px;
}
.task-table tr { transition: background .15s ease; }
.task-table tbody tr:hover { background: rgba(100,117,243,.035); }
.task-table .task-name-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 760;
  color: var(--ink);
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inline-select, .inline-date {
  width: 100%;
  min-width: 100px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12px;
}
.inline-select:hover, .inline-date:hover { background: rgba(100,117,243,.065); }
.inline-labels { display: flex; gap: 5px; max-width: 210px; overflow: hidden; }
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(100,117,243,.08);
  font-size: 10px;
  font-weight: 760;
  white-space: nowrap;
}
.label-chip i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.count-links { color: var(--muted); white-space: nowrap; font-size: 11px; }
.table-check { width: 24px; height: 24px; }
.completed-row { opacity: .56; }
.completed-row .task-name-button { text-decoration: line-through; }

.mobile-task-list { display: none; padding: 0 16px 18px; }
.mobile-task-card {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.mobile-task-top { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; align-items: start; }
.mobile-task-title { font-size: 14px; font-weight: 780; border: 0; background: transparent; text-align: left; color: var(--ink); padding: 2px 0; cursor: pointer; }
.mobile-task-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.mobile-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

.fab {
  position: fixed;
  right: max(22px, calc((100vw - 1720px)/2 + 20px));
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: 31px;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 44px rgba(92,101,220,.35);
  z-index: 30;
  transition: transform .18s ease;
}
.fab:hover { transform: scale(1.04) rotate(2deg); }

.modal-backdrop, .drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14,20,36,.28);
  backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.modal-backdrop.open, .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(.98);
  width: min(600px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--soft-strong);
  backdrop-filter: blur(34px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(17,25,47,.24);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-head { padding: 22px 22px 8px; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.modal-title { font-size: 20px; font-weight: 820; letter-spacing: -.02em; }
.modal-body { padding: 14px 22px 22px; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(610px, 96vw);
  background: var(--soft-strong);
  backdrop-filter: blur(34px);
  box-shadow: -30px 0 80px rgba(17,25,47,.22);
  z-index: 100;
  transform: translateX(103%);
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { position: sticky; top: 0; z-index: 3; padding: 20px 22px 13px; display: flex; justify-content: space-between; align-items: center; background: color-mix(in srgb, var(--soft-strong) 90%, transparent); backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); }
.drawer-title { font-size: 18px; font-weight: 820; }
.drawer-body { padding: 22px; }
.drawer-footer { position: sticky; bottom: 0; display: flex; gap: 9px; justify-content: flex-end; padding: 14px 22px; background: color-mix(in srgb, var(--soft-strong) 92%, transparent); backdrop-filter: blur(24px); border-top: 1px solid var(--line); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.form-control {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.52);
  color: var(--ink);
  border-radius: 13px;
  padding: 11px 12px;
}
html[data-theme="night"] .form-control { background: rgba(255,255,255,.045); }
textarea.form-control { min-height: 94px; resize: vertical; line-height: 1.45; }
.quick-title { font-size: 18px; padding: 14px 15px; font-weight: 720; }
.label-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.label-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 740;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.label-toggle.active { box-shadow: inset 0 0 0 2px rgba(100,117,243,.28); background: rgba(100,117,243,.10); }
.label-toggle i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.section-rule { height: 1px; background: var(--line); margin: 22px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.section-heading strong { font-size: 13px; }

.link-list, .comment-list { display: grid; gap: 9px; }
.link-row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) 34px;
  gap: 8px;
  align-items: center;
}
.comment {
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255,255,255,.40);
  border: 1px solid var(--line);
}
html[data-theme="night"] .comment { background: rgba(255,255,255,.035); }
.comment-text { font-size: 12px; line-height: 1.45; }
.comment-time { margin-top: 6px; color: var(--muted); font-size: 10px; }
.comment-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.comment-compose textarea { min-height: 66px; }

.settings-layout { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 20px; }
.settings-nav { padding: 16px; position: sticky; top: 20px; align-self: start; }
.settings-nav a { display: block; text-decoration: none; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: 13px; font-weight: 750; }
.settings-nav a:hover { background: rgba(100,117,243,.08); color: var(--ink); }
.settings-section { padding: 24px; margin-bottom: 20px; }
.settings-section h2 { margin: 0 0 5px; font-size: 20px; }
.settings-section p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.manage-list { display: grid; gap: 9px; }
.manage-row { display: grid; grid-template-columns: 30px minmax(0,1fr) auto auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.color-dot { width: 20px; height: 20px; border-radius: 50%; }
.manage-name { font-weight: 740; font-size: 13px; }
.setting-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px, 280px); gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.setting-row:first-of-type { border-top: 0; }
.setting-copy strong { font-size: 13px; display: block; }
.setting-copy span { color: var(--muted); font-size: 11px; line-height: 1.4; display: block; margin-top: 4px; }

.celebration-layer {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  overflow: hidden;
}
.celebration-layer.show { opacity: 1; }
.celebration-layer i {
  position: absolute;
  left: var(--x);
  top: -20px;
  width: var(--size);
  height: calc(var(--size) * 2.2);
  border-radius: 999px;
  background: #7b87f3;
  animation: fall 1.35s ease-in var(--delay) forwards;
}
.celebration-message {
  position: absolute;
  left: 50%; top: 18%;
  transform: translate(-50%, -8px);
  padding: 12px 20px 12px 13px;
  border-radius: 999px;
  background: rgba(22,28,44,.88);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
  animation: messageIn .35s ease forwards;
}
.celebration-check { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: #62b691; }
@keyframes fall { to { transform: translateY(105vh) rotate(var(--spin)); opacity: .15; } }
@keyframes messageIn { to { transform: translate(-50%, 0); } }

body.drawer-lock { overflow: hidden; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .overview-grid > :last-child { grid-column: 1 / -1; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: flex; overflow-x: auto; }
  .settings-nav a { white-space: nowrap; }
}

@media (max-width: 760px) {
  .app-shell { width: min(100% - 24px, 680px); padding-top: 18px; }
  .topbar { align-items: flex-start; }
  .greeting { font-size: 31px; }
  .date-line { font-size: 12px; }
  .top-actions .cloud-state, .top-actions .wallboard-link { display: none; }
  .hero-grid, .overview-grid { gap: 12px; margin-bottom: 12px; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid > :last-child { grid-column: auto; }
  .panel { border-radius: 22px; }
  .panel-inner, .mini-card { padding: 17px; }
  .panel-head { margin-bottom: 12px; }
  .today-task { grid-template-columns: 32px minmax(0,1fr); }
  .today-task .task-time { display: none; }
  .schedule-item { grid-template-columns: 68px minmax(0,1fr); }
  .task-list-head { padding: 17px 16px 11px; }
  .task-toolbar { align-items: flex-start; }
  .toolbar-right { width: 100%; }
  .search-input { flex: 1 1 160px; width: auto; }
  .task-table-wrap { display: none; }
  .mobile-task-list { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .link-row { grid-template-columns: 1fr 34px; }
  .link-row .url-field { grid-column: 1 / 2; }
  .fab { width: 58px; height: 58px; right: 18px; bottom: 18px; }
  .setting-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Notebook / Bored Dispatch inspired aesthetic layer
   ========================================================= */
:root {
  --paper: #f6efd9;
  --paper-2: #fffaf0;
  --paper-3: #efe4c7;
  --ink: #172b3a;
  --muted: #6f756f;
  --accent: #2b78b9;
  --accent-2: #ef7a3a;
  --sun: #f3c54b;
  --leaf: #78a46e;
  --rose: #d95d62;
  --soft: rgba(255,250,240,.94);
  --soft-strong: rgba(255,250,240,.985);
  --line: rgba(23,43,58,.17);
  --shadow: 7px 8px 0 rgba(23,43,58,.09), 0 14px 30px rgba(74,62,38,.07);
  --shadow-soft: 4px 5px 0 rgba(23,43,58,.08), 0 8px 18px rgba(74,62,38,.05);
  --radius-xl: 24px;
  --radius-lg: 19px;
  --radius-md: 14px;
  --font: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
  --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

html[data-theme="aurora"] {
  --bg: var(--paper);
  --ink: #172b3a;
  --muted: #6f756f;
  --soft: rgba(255,250,240,.94);
  --soft-strong: rgba(255,250,240,.985);
  --line: rgba(23,43,58,.17);
  --accent: #2b78b9;
  --accent-2: #ef7a3a;
}
html[data-theme="dawn"] {
  --bg: #f4dfbd;
  --ink: #2c2a25;
  --muted: #7a685d;
  --soft: rgba(255,247,230,.94);
  --soft-strong: rgba(255,248,233,.985);
  --line: rgba(58,42,31,.17);
  --accent: #dd6d35;
  --accent-2: #d8a738;
}
html[data-theme="night"] {
  --bg: #162331;
  --ink: #f7f0dd;
  --muted: #b7b7ac;
  --soft: rgba(28,42,55,.94);
  --soft-strong: rgba(27,41,54,.985);
  --line: rgba(245,235,211,.18);
  --accent: #6eb2df;
  --accent-2: #f29a62;
  --shadow: 7px 8px 0 rgba(0,0,0,.15), 0 16px 34px rgba(0,0,0,.18);
  --shadow-soft: 4px 5px 0 rgba(0,0,0,.14), 0 8px 18px rgba(0,0,0,.15);
}

html { background: var(--bg); }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 11%, rgba(43,120,185,.075) 0 2px, transparent 2.6px),
    radial-gradient(circle at 83% 24%, rgba(239,122,58,.06) 0 2px, transparent 2.6px),
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(69,107,135,.055) 34px, transparent 35px),
    linear-gradient(108deg, rgba(255,255,255,.23), transparent 32%, rgba(255,255,255,.12) 68%, transparent),
    var(--bg);
  background-size: 130px 130px, 155px 155px, auto, auto, auto;
  color: var(--ink);
}
body::before {
  width: 150px;
  height: 54px;
  left: -24px;
  bottom: 22vh;
  border-radius: 6px;
  filter: none;
  opacity: .22;
  background: repeating-linear-gradient(12deg, #2b78b9 0 4px, transparent 4px 10px);
  transform: rotate(-9deg);
}
body::after {
  width: 110px;
  height: 110px;
  right: -36px;
  top: 16vh;
  filter: none;
  opacity: .18;
  background: transparent;
  border: 7px solid var(--sun);
  box-shadow: 0 0 0 8px transparent;
}

.app-shell {
  width: min(1710px, calc(100% - 54px));
  padding-top: 34px;
}
.topbar {
  position: relative;
  min-height: 138px;
  align-items: flex-start;
  padding: 22px 28px 20px;
  margin-bottom: 22px;
  border: 2px solid var(--ink);
  border-radius: 28px 34px 25px 31px;
  background: color-mix(in srgb, var(--soft) 95%, transparent);
  box-shadow: var(--shadow);
  overflow: visible;
}
.topbar::before {
  content: "";
  position: absolute;
  width: 94px;
  height: 23px;
  left: 38px;
  top: -13px;
  background: rgba(97,139,181,.33);
  border-left: 1px solid rgba(23,43,58,.08);
  border-right: 1px solid rgba(23,43,58,.08);
  transform: rotate(-2.5deg);
  box-shadow: 0 2px 3px rgba(34,44,40,.04);
}
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  letter-spacing: .12em;
  font-size: 11px;
}
.brand-kicker::before {
  content: "*";
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50% 47% 52% 44%;
  display: inline-grid;
  place-items: center;
  color: var(--sun);
  background: var(--paper-2);
  font-family: var(--hand);
  font-size: 17px;
  line-height: 1;
}
.greeting {
  margin-top: 8px;
  font-size: clamp(34px, 3.5vw, 62px);
  font-weight: 850;
  letter-spacing: -.052em;
}
.date-line { font-weight: 700; color: var(--muted); }
.tiny-caption {
  margin-top: 6px;
  font-family: var(--hand);
  font-size: 12px;
  color: var(--accent);
  transform: rotate(-.4deg);
}
.top-scrap {
  align-self: center;
  width: min(280px, 22vw);
  margin: 0 20px 0 auto;
  padding: 16px 18px 15px;
  background: #f8d969;
  color: #26343c;
  border: 1.8px solid rgba(23,43,58,.78);
  border-radius: 3px 8px 5px 4px;
  box-shadow: 4px 5px 0 rgba(23,43,58,.10);
  transform: rotate(1.4deg);
  font-family: var(--hand);
  line-height: 1.25;
  position: relative;
}
.top-scrap::before {
  content: "";
  position: absolute;
  width: 55px;
  height: 16px;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(255,245,208,.70);
}
.top-scrap span { display: block; font-size: 10px; text-transform: lowercase; opacity: .68; }
.top-scrap strong { display: block; margin-top: 3px; font-size: 14px; font-weight: 700; }
.top-actions { align-self: flex-start; padding-top: 2px; }

.pill-button, .icon-button, .primary-button, .secondary-button, .ghost-button, .danger-button {
  font-family: var(--font);
}
.pill-button, .icon-button {
  border: 1.7px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 3px 4px 0 rgba(23,43,58,.09);
}
.icon-button { border-radius: 13px 16px 12px 15px; }
.primary-button {
  border: 1.8px solid var(--ink);
  border-radius: 13px 16px 12px 14px;
  background: #2f7fc0;
  box-shadow: 4px 5px 0 rgba(23,43,58,.15);
  color: white;
}
.primary-button:hover { box-shadow: 2px 3px 0 rgba(23,43,58,.15); transform: translate(1px,1px); }
.secondary-button {
  border: 1.6px solid var(--ink);
  background: #e8f1f4;
  box-shadow: 3px 4px 0 rgba(23,43,58,.08);
}
.ghost-button { border: 1.3px dashed var(--line); }
.danger-button { border: 1.5px solid #a84b4e; background: #fae3dd; }

.panel {
  position: relative;
  border: 1.8px solid var(--ink);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--soft) 97%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}
.hero-grid > .panel:first-child { transform: rotate(-.12deg); }
.hero-grid > .panel:last-child { transform: rotate(.10deg); }
.overview-grid > .panel:nth-child(1) { background: color-mix(in srgb, #eef7fb 76%, var(--soft)); }
.overview-grid > .panel:nth-child(2) { background: color-mix(in srgb, #fff1bd 48%, var(--soft)); }
.overview-grid > .panel:nth-child(3) { background: color-mix(in srgb, #edf6e6 60%, var(--soft)); }
.hero-grid > .panel:first-child::before,
.hero-grid > .panel:last-child::before,
.task-panel::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 18px;
  top: -9px;
  left: 46px;
  z-index: 2;
  background: rgba(244,205,81,.45);
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero-grid > .panel:last-child::before { left: auto; right: 54px; background: rgba(107,165,200,.35); transform: rotate(2deg); }
.task-panel::before { left: 50%; width: 92px; background: rgba(122,164,110,.34); transform: translateX(-50%) rotate(.5deg); }
.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.025em;
}
.panel-icon {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1.6px solid var(--ink);
  border-radius: 50% 46% 52% 44%;
  background: #fff6d7;
  color: var(--accent-2);
  font-family: var(--hand);
  font-size: 14px;
  line-height: 1;
}
.panel-sub { color: var(--muted); font-size: 11.5px; }
.count-chip {
  border: 1.5px solid var(--ink);
  background: #fff0a9;
  color: var(--ink);
  box-shadow: 2px 3px 0 rgba(23,43,58,.08);
}

.today-task {
  background: rgba(255,255,255,.48);
  border: 1.25px solid rgba(23,43,58,.14);
  border-radius: 13px 17px 13px 15px;
}
.today-task:nth-child(2n) { transform: rotate(.06deg); }
.today-task:hover { background: rgba(255,255,255,.78); transform: translateX(2px); }
.check-button {
  border: 1.8px solid var(--ink);
  border-radius: 50% 45% 52% 47%;
  background: rgba(255,255,255,.56);
  box-shadow: 2px 2px 0 rgba(23,43,58,.07);
}
.check-button:hover { border-color: var(--accent); background: #e9f5ff; }
.task-title { font-weight: 850; }
.task-meta { color: var(--muted); }
.schedule-item { border-bottom: 1px dashed rgba(23,43,58,.18); }
.schedule-time { color: var(--accent); }
.calendar-placeholder {
  border: 1.4px dashed var(--ink);
  background: #fff3bf;
  border-radius: 14px 18px 15px 17px;
  font-family: var(--hand);
  color: #5f665e;
}
.calendar-placeholder strong { font-family: var(--font); }

.mini-row { border-bottom: 1px dashed rgba(23,43,58,.17); }
.mini-date { color: var(--accent-2); }
.project-pill {
  border: 1.5px solid var(--ink);
  background: rgba(255,255,255,.55);
  border-radius: 12px 16px 13px 15px;
  box-shadow: 2px 3px 0 rgba(23,43,58,.07);
}
.project-pill:nth-child(3n+1) { transform: rotate(-.35deg); }
.project-pill:nth-child(3n+2) { transform: rotate(.25deg); }
.project-pill:hover { border-color: var(--ink); background: #fff8df; transform: translateY(-2px) rotate(0deg); }

.task-panel { background: color-mix(in srgb, #fffaf0 96%, transparent); }
.filter-chip { border: 1px solid transparent; }
.filter-chip.active {
  border: 1.4px solid var(--ink);
  background: #ffdf6c;
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(23,43,58,.07);
}
.toolbar-select, .search-input, .form-control {
  border: 1.4px solid rgba(23,43,58,.28);
  background: rgba(255,255,255,.60);
  border-radius: 10px 13px 10px 12px;
}
.toolbar-select:focus, .search-input:focus, .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,120,185,.10);
}
.task-table-wrap { border-top: 1.5px solid var(--ink); }
.task-table th {
  background: #f1e6ca;
  color: #59645e;
  border-bottom: 1px solid rgba(23,43,58,.20);
}
.task-table td { border-top: 1px dashed rgba(23,43,58,.14); }
.task-table tbody tr:hover { background: rgba(255,225,117,.10); }
.inline-select:hover, .inline-date:hover { background: #fff5cf; }
.label-chip { background: #eef5f7; border: 1px solid rgba(23,43,58,.10); }

.fab {
  border: 2px solid var(--ink);
  border-radius: 50% 44% 52% 47%;
  background: #f4c84f;
  color: var(--ink);
  box-shadow: 6px 7px 0 rgba(23,43,58,.18);
}
.fab:hover { transform: scale(1.04) rotate(-4deg); }

.modal, .drawer {
  background-color: var(--soft-strong);
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(68,109,139,.045) 32px, transparent 33px);
  border: 2px solid var(--ink);
  box-shadow: 10px 12px 0 rgba(23,43,58,.10), 0 30px 70px rgba(48,38,24,.16);
  backdrop-filter: none;
}
.modal { border-radius: 18px 25px 20px 23px; }
.drawer { border-radius: 28px 0 0 24px; }
.drawer-head, .drawer-footer {
  background: color-mix(in srgb, var(--soft-strong) 96%, transparent);
  backdrop-filter: none;
}
.modal-title, .drawer-title { font-weight: 900; }
.form-group label { color: var(--accent-2); }
.label-toggle {
  border: 1.3px solid rgba(23,43,58,.25);
  background: rgba(255,255,255,.52);
}
.label-toggle.active { border-color: var(--ink); box-shadow: 2px 2px 0 rgba(23,43,58,.08); background: #fff1af; }
.comment {
  background: #fff7da;
  border: 1.25px solid rgba(23,43,58,.20);
  border-radius: 8px 14px 9px 12px;
}
.section-rule { background: transparent; border-top: 1px dashed rgba(23,43,58,.20); }

.settings-nav { border-radius: 18px 24px 19px 22px; }
.settings-nav a:hover { background: #fff0a9; color: var(--ink); }
.settings-section:nth-child(2n) { transform: rotate(.04deg); }
.manage-row { background: rgba(255,255,255,.38); border: 1.3px solid rgba(23,43,58,.20); }
.color-dot { border: 1.4px solid var(--ink); }
.setting-row { border-top: 1px dashed rgba(23,43,58,.18); }

.celebration-message {
  background: #fff1a8;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 6px 7px 0 rgba(23,43,58,.16);
  font-family: var(--hand);
}
.celebration-check { background: #79a96d; color: white; border: 1.5px solid var(--ink); }
.celebration-layer i:nth-of-type(5n+1) { background: #2b78b9; }
.celebration-layer i:nth-of-type(5n+2) { background: #ef7a3a; }
.celebration-layer i:nth-of-type(5n+3) { background: #f3c54b; }
.celebration-layer i:nth-of-type(5n+4) { background: #78a46e; }
.celebration-layer i:nth-of-type(5n+5) { background: #d95d62; }

html[data-theme="night"] body {
  background-image:
    radial-gradient(circle at 18% 11%, rgba(110,178,223,.09) 0 2px, transparent 2.6px),
    radial-gradient(circle at 83% 24%, rgba(242,154,98,.08) 0 2px, transparent 2.6px),
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(192,213,226,.04) 34px, transparent 35px),
    linear-gradient(108deg, rgba(255,255,255,.025), transparent 32%, rgba(255,255,255,.02) 68%, transparent),
    var(--bg);
}
html[data-theme="night"] .top-scrap { background: #e0b84d; color: #172b3a; }
html[data-theme="night"] .panel-icon,
html[data-theme="night"] .count-chip,
html[data-theme="night"] .filter-chip.active { color: #172b3a; }
html[data-theme="night"] .today-task,
html[data-theme="night"] .project-pill,
html[data-theme="night"] .toolbar-select,
html[data-theme="night"] .search-input,
html[data-theme="night"] .form-control,
html[data-theme="night"] .comment,
html[data-theme="night"] .label-toggle { background: rgba(255,255,255,.055); }
html[data-theme="night"] .task-table th { background: rgba(255,255,255,.06); color: var(--muted); }
html[data-theme="night"] .calendar-placeholder { background: rgba(224,184,77,.12); color: var(--muted); }
html[data-theme="night"] .overview-grid > .panel { background: var(--soft); }

@media (max-width: 1180px) {
  .top-scrap { display: none; }
}
@media (max-width: 760px) {
  .app-shell { width: min(100% - 20px, 680px); padding-top: 14px; }
  .topbar {
    min-height: auto;
    padding: 18px 17px 17px;
    border-radius: 18px 23px 18px 21px;
    margin-bottom: 12px;
  }
  .topbar::before { left: 28px; width: 62px; height: 15px; top: -8px; }
  .brand-kicker { font-size: 9px; }
  .brand-kicker::before { width: 20px; height: 20px; font-size: 13px; }
  .greeting { font-size: 32px; line-height: 1.03; }
  .tiny-caption { font-size: 10px; }
  .panel { border-width: 1.5px; border-radius: 18px 22px 18px 21px; box-shadow: 4px 5px 0 rgba(23,43,58,.08), 0 9px 20px rgba(74,62,38,.05); }
  .panel-title { font-size: 15px; }
  .panel-icon { width: 24px; height: 24px; font-size: 12px; }
  .today-task { padding: 12px 11px; }
  .project-pill { border-radius: 10px 14px 10px 13px; }
  .mobile-task-card { padding: 15px 0; }
  .fab { box-shadow: 5px 6px 0 rgba(23,43,58,.17); }
}

/* =========================================================
   Request inbox + public request page
   ========================================================= */
.request-panel { margin-top: 22px; }
.request-head { align-items: flex-start; }
.request-new-count {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 4px 9px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #f7d760;
  font-family: var(--font); font-size: 11px; vertical-align: middle; transform: rotate(-1deg);
}
.request-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.request-inbox { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.request-card {
  position: relative; padding: 18px 19px 16px; border: 2px solid var(--ink);
  border-radius: 16px 20px 15px 18px; background: rgba(255,255,255,.5);
  box-shadow: 4px 5px 0 rgba(23,43,58,.08);
}
.request-card:nth-child(3n+2) { transform: rotate(.15deg); }
.request-card:nth-child(3n+3) { transform: rotate(-.15deg); }
.request-card::before { content:""; position:absolute; width:62px; height:13px; top:-8px; left:28px; background:rgba(102,146,184,.28); transform:rotate(-2deg); }
.request-card-top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.request-card h3 { margin:4px 0 0; font-size:17px; line-height:1.25; }
.request-type { color:var(--orange); font-family:var(--hand); font-size:12px; text-transform:lowercase; }
.request-age { color:var(--muted); font-size:11px; white-space:nowrap; }
.request-from { margin-top:9px; font-weight:800; font-size:12px; color:var(--blue); }
.request-details { margin:9px 0 11px; color:var(--text); font-size:13px; line-height:1.55; white-space:pre-line; }
.request-meta { display:flex; flex-wrap:wrap; gap:7px 11px; color:var(--muted); font-size:11px; }
.request-meta a { color:var(--blue); font-weight:800; }
.request-actions { display:flex; gap:7px; margin-top:14px; flex-wrap:wrap; }
.request-actions .primary-button, .request-actions .secondary-button, .request-actions .ghost-button { padding:8px 11px; font-size:11px; }
.request-empty { grid-column:1/-1; padding:22px; border:1.5px dashed rgba(23,43,58,.28); border-radius:16px; display:flex; flex-direction:column; gap:5px; color:var(--muted); }
.request-empty strong { color:var(--ink); }

.request-page-body { min-height:100vh; }
.request-page-shell { width:min(880px, calc(100% - 32px)); margin:0 auto; padding:clamp(32px,6vw,80px) 0 70px; }
.request-page-head { position:relative; max-width:690px; margin:0 auto 26px; text-align:center; }
.request-page-head h1 { margin:10px 0 12px; font-size:clamp(38px,7vw,72px); line-height:.95; letter-spacing:-.055em; font-weight:900; }
.request-page-head p { margin:0 auto; max-width:620px; color:var(--muted); line-height:1.65; font-size:15px; }
.request-doodle { display:inline-block; margin-top:18px; color:var(--orange); font-family:var(--hand); transform:rotate(-2deg); }
.public-request-card { max-width:760px; margin:0 auto; transform:rotate(-.08deg); }
.public-request-card::before { background:rgba(243,197,75,.45); }
.public-request-card textarea { resize:vertical; min-height:130px; }
.request-submit-row { display:flex; gap:18px; justify-content:space-between; align-items:center; margin-top:20px; }
.request-form-note { color:var(--muted); font-family:var(--hand); font-size:12px; max-width:320px; }
.request-submit { min-width:150px; }
.request-form-status { margin-top:14px; min-height:22px; font-size:13px; color:var(--muted); }
.request-form-status.success { color:#2d725d; }
.request-form-status.error { color:#a33f43; }
.honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
@media (max-width: 760px) {
  .request-inbox { grid-template-columns:1fr; }
  .request-head-actions { width:100%; justify-content:flex-start; }
  .request-submit-row { flex-direction:column; align-items:stretch; }
  .request-submit { width:100%; }
}

/* v1.4 Month calendar + live news overlays */
.feature-backdrop{position:fixed;inset:0;background:rgba(35,31,26,.32);backdrop-filter:blur(8px);z-index:80;opacity:0;pointer-events:none;transition:.22s ease}
.feature-backdrop.open{opacity:1;pointer-events:auto}
.feature-overlay{position:fixed;inset:clamp(12px,2vw,28px);z-index:90;background:var(--panel,rgba(255,251,239,.96));border:1.5px solid var(--line,#39342e);border-radius:28px;box-shadow:0 28px 80px rgba(39,31,21,.24);padding:clamp(18px,2.4vw,34px);opacity:0;pointer-events:none;transform:translateY(16px) scale(.99);transition:.24s ease;overflow:auto}
.feature-overlay.open{opacity:1;pointer-events:auto;transform:none}
.feature-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.feature-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.feature-title{font-family:var(--display-font,Georgia,serif);font-size:clamp(30px,4vw,54px);font-weight:700;line-height:1.02;margin-top:4px}
.feature-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.feature-close{font-size:28px}
.month-weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.month-weekdays{margin-bottom:8px;padding:0 4px}.month-weekdays span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);padding:0 8px}
.month-day{min-height:116px;border:1.3px solid color-mix(in srgb,var(--line,#39342e) 42%,transparent);border-radius:18px;padding:10px;background:rgba(255,255,255,.28);position:relative;overflow:hidden}
.month-day.outside{opacity:.36}.month-day.today{outline:3px solid rgba(239,122,58,.42);background:rgba(255,245,218,.7)}
.month-day-number{font-family:var(--display-font,Georgia,serif);font-size:20px;font-weight:700;margin-bottom:8px}
.month-events{display:grid;gap:5px}.month-event{display:block;text-decoration:none;color:inherit;background:rgba(255,255,255,.68);border:1px solid rgba(48,43,36,.13);border-radius:9px;padding:5px 7px;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-event strong{font-weight:700}.month-more{font-size:11px;color:var(--muted);padding:2px 6px}
.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.news-card{position:relative;display:flex;flex-direction:column;min-height:170px;padding:20px;border:1.3px solid color-mix(in srgb,var(--line,#39342e) 40%,transparent);border-radius:22px;text-decoration:none;color:inherit;background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(255,248,224,.62));transition:.18s ease;overflow:hidden}.news-card:before{content:'CNA';position:absolute;right:14px;top:12px;font-size:11px;font-weight:800;letter-spacing:.13em;color:#cf3429;transform:rotate(2deg)}.news-card:hover{transform:translateY(-2px) rotate(-.15deg);box-shadow:0 16px 36px rgba(39,31,21,.10)}.news-card:nth-child(3n+2){transform:rotate(.35deg)}.news-card:nth-child(3n+3){transform:rotate(-.28deg)}.news-card:nth-child(3n+2):hover,.news-card:nth-child(3n+3):hover{transform:translateY(-2px)}
.news-time{font-size:12px;color:var(--muted);margin-bottom:12px}.news-title{font-family:var(--display-font,Georgia,serif);font-size:clamp(20px,2.1vw,30px);font-weight:700;line-height:1.12;margin-right:42px}.news-desc{font-size:13px;color:var(--muted);margin-top:auto;padding-top:16px;line-height:1.45}.feature-foot{font-size:11px;color:var(--muted);margin-top:14px;text-align:right}
@media(max-width:760px){.feature-overlay{inset:8px;border-radius:20px;padding:16px}.feature-head{gap:10px;align-items:center}.feature-title{font-size:30px}.month-weekdays,.month-grid{gap:4px}.month-weekdays span{font-size:9px;padding:0 2px}.month-day{min-height:82px;border-radius:12px;padding:6px}.month-day-number{font-size:15px;margin-bottom:5px}.month-event{font-size:9px;padding:4px}.news-grid{grid-template-columns:1fr}.news-card{min-height:150px}.news-title{font-size:23px}}


/* v1.5 request success state */
.request-success-panel{text-align:center;padding:clamp(28px,5vw,58px) 18px;animation:requestSuccessIn .42s ease both}.request-success-panel[hidden]{display:none}.request-success-mark{width:84px;height:84px;margin:0 auto 22px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:50%;background:#dcebd2;box-shadow:6px 7px 0 rgba(23,43,58,.1);font-size:42px;font-weight:900;animation:requestCheck .55s cubic-bezier(.2,.8,.2,1) both}.request-success-panel h2{font-size:clamp(32px,5vw,52px);margin:8px 0 10px;letter-spacing:-.04em}.request-success-panel p{max-width:500px;margin:0 auto 24px;color:var(--muted);line-height:1.6}.request-success-panel .primary-button{min-width:220px}@keyframes requestSuccessIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes requestCheck{0%{transform:scale(.5) rotate(-18deg);opacity:0}70%{transform:scale(1.12) rotate(3deg)}100%{transform:scale(1) rotate(0);opacity:1}}
