:root {
  --ink: #271a10;
  --ink-soft: #55443a;
  --muted: #907e72;
  --paper: #fefcf9;
  --paper-mid: #f7f1ea;
  --line: #e6ddd5;
  --line-soft: #f0eae3;
  --terra: #b5663a;
  --terra-deep: #8e4e2b;
  --terra-tint: #fbf2eb;
  --ok: #4a7c59;
  --ok-bg: #eef6f0;
  --error: #b24040;
  --header: #1a0f0a;
  --header-2: #0d0705;
  --font: "Poppins", sans-serif;
  --script: "Caveat", cursive;
  --max: 1080px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(39, 26, 16, .06);
}

* { box-sizing: border-box; }
.svg-filter-hidden { position: absolute; width: 0; height: 0; pointer-events: none; }
html, body { margin: 0; min-height: 100%; }
body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.icon { width: 18px; height: 18px; flex: 0 0 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.lg { width: 22px; height: 22px; flex-basis: 22px; }

.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s, transform .15s;
}
.button:disabled { cursor: wait; opacity: .62; }
.button.primary { color: #fff; background: var(--terra); box-shadow: 0 4px 14px rgba(181, 102, 58, .25); }
.button.primary:hover:not(:disabled) { background: var(--terra-deep); }
.button.subtle { color: var(--ink-soft); background: var(--paper-mid); border-color: var(--line); }
.button.subtle:hover { background: #eee6dd; }
.button.ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.28); }
.button.ghost:hover { background: rgba(255,255,255,.1); }
.button.danger:hover { color: var(--error); border-color: var(--error); background: #faecec; }
.button.block { width: 100%; }

.app { min-height: 100vh; display: flex; flex-direction: column; }
.header {
  position: sticky; top: 0; z-index: 8;
  color: #fff;
  background: linear-gradient(135deg, var(--header) 0%, var(--header-2) 100%);
  border-bottom: 1px solid rgba(181, 102, 58, .35);
  box-shadow: 0 4px 22px rgba(26, 15, 10, .3);
}
.header::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 0%, rgba(181, 102, 58, .15), transparent 60%);
}
.header-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding: 14px 0;
}
.brand { display: flex; min-width: 0; align-items: center; gap: 14px; }
.brand-logo { width: 108px; max-width: 32vw; height: auto; }
.brand h1 { margin: 0; font-size: 18px; font-weight: 700; }
.client { margin: 3px 0 0; color: rgba(255,255,255,.67); font-size: 13px; }
.client strong { color: #fff; font-weight: 600; }
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 6px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--terra); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.user-chip span { font-size: 13px; font-weight: 600; }
.user-chip .role-tag { display: block; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 500; }

.module-bar, .subnav, .page {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}
.module-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  padding: 16px 0 0;
}
.tabs {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 5px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff;
  box-shadow: var(--shadow);
}
.tab {
  min-height: 40px; border: 0; border-radius: 10px;
  padding: 8px 14px; color: var(--ink-soft);
  background: transparent; font-size: 13px; font-weight: 600;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 7px;
}
.tab:hover { color: var(--terra-deep); }
.tab.active { color: var(--terra-deep); background: var(--terra-tint); }
.tab-count { color: var(--muted); font-size: 11px; }
.subnav { margin-top: 10px; }
.subnav .tabs {
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 0;
}
.subnav .tab {
  border-radius: 0;
  background: transparent;
  min-height: 48px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.subnav .tab.active {
  color: var(--terra);
  background: transparent;
  border-bottom-color: var(--terra);
}
.page { padding: 22px 0 64px; flex: 1; min-width: 0; }
.pwa-bar {
  width: min(calc(100% - 36px), var(--max));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.pwa-bar p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.pwa-bar strong { color: var(--ink); }

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card {
  display: grid; grid-template-columns: 220px 1fr auto;
  gap: 22px; align-items: center; padding: 18px;
  margin-bottom: 18px;
}
.hero-card img, .hero-visual, .hero-banner img {
  width: 100%; height: 148px; object-fit: cover;
  border-radius: 14px; background: #d9c4b0;
}
.hero-banner { position: relative; border-radius: 14px; overflow: hidden; }
.hero-banner img, .hero-banner .hero-visual { border-radius: 14px; }
.banner-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  background: linear-gradient(180deg, rgba(26,15,10,.08), rgba(26,15,10,.28));
  text-shadow: 0 2px 10px rgba(26,15,10,.45);
  pointer-events: none;
}
.banner-copy small { font-size: 10px; font-weight: 700; letter-spacing: .28em; }
.banner-copy strong { font-size: 28px; letter-spacing: .12em; line-height: 1; }
.banner-copy span { font-size: 18px; font-weight: 600; letter-spacing: .18em; }
.banner-copy em { font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .16em; margin-top: 4px; }
.hero-copy h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.hero-copy p { margin: 0; color: var(--ink-soft); font-size: 14px; max-width: 62ch; }
.hand-note {
  color: var(--terra); font-family: var(--script); font-size: 28px;
  line-height: 1.05; font-weight: 600; text-align: right;
  max-width: 160px; transform: rotate(-6deg);
}
.goal-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; margin-bottom: 14px;
  border-radius: 14px; background: var(--terra-tint); border: 1px solid #f0ddcf;
}
.goal-card strong { display: block; font-size: 13px; }
.goal-card p { margin: 3px 0 0; color: var(--ink-soft); font-size: 13px; }

.section-heading {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin: 8px 0 14px;
}
.section-heading h2, .section-heading h3 { margin: 0; font-size: 18px; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; }

.card-list, .campaign-grid { display: grid; gap: 12px; }
.campaign-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.campaign-card, .week, .item-card, .done-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.campaign-card { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.campaign-card h3 { margin: 0; font-size: 17px; }
.campaign-card p { margin: 0; color: var(--ink-soft); font-size: 13px; flex: 1; }
.campaign-card .meta { color: var(--muted); font-size: 12px; font-weight: 600; }

.week summary, .item-card summary, .guide summary {
  list-style: none; cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  column-gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
}
.guide summary { grid-template-columns: 28px 18px minmax(0, 1fr) 22px; }
.story-day > summary { grid-template-columns: 34px minmax(0, 1fr) 22px; }
.week summary::-webkit-details-marker,
.item-card summary::-webkit-details-marker,
.guide summary::-webkit-details-marker { display: none; }
.week-title { min-width: 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.week-title small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.chevron { color: var(--muted); transition: transform .2s; justify-self: end; }
details[open] > summary .chevron { transform: rotate(180deg); }
.week-body { padding: 0 16px 16px; min-width: 0; }

.approval-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.soft-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.approval-col h4 {
  margin: 0 0 8px; color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.activity-line {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 13px;
  margin: 0 0 8px;
  color: var(--ink-soft);
}
.activity-line b { color: var(--ink); font-weight: 600; min-width: 0; }
.note-box textarea {
  width: 100%; min-height: 92px; resize: vertical; flex: 1;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; background: #fff;
}
.note-box textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(181,102,58,.16); }
.note-box .button { margin-top: 10px; width: 100%; min-height: 40px; }
.admin-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.admin-bar .mini { min-height: 36px; }

.task {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 176px;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--paper);
  margin-bottom: 10px;
  min-width: 0;
}
.day-chip {
  width: 58px; min-height: 58px; border-radius: 14px;
  display: grid; place-items: center; text-align: center;
  background: var(--terra-tint); color: var(--terra-deep);
  font-weight: 700; line-height: 1.15;
}
.day-chip small { display: block; font-size: 10px; letter-spacing: .04em; }
.day-chip b { font-size: 14px; }
.task h4 { margin: 0 0 6px; font-size: 14px; }
.task .body { margin: 0; color: var(--ink-soft); font-size: 13px; white-space: pre-wrap; }
.extra-list { margin: 8px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; }
.extra-list li { margin: 2px 0; }
.task-actions { display: flex; flex-direction: column; gap: 8px; width: 176px; }
.complete-btn {
  width: 100%;
  min-height: 44px; border: 0; border-radius: 12px;
  background: var(--terra); color: #fff; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; white-space: nowrap;
}
.complete-btn:hover { background: var(--terra-deep); }
.complete-btn.done { background: var(--ok); }

.done-card {
  display: grid; grid-template-columns: auto auto minmax(0,1fr) auto;
  gap: 12px; align-items: center; padding: 14px 16px;
}
.check-badge {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ok); color: #fff;
}
.done-copy { min-width: 0; }
.done-copy strong { display: block; font-size: 14px; }
.done-copy span, .done-time { color: var(--muted); font-size: 12px; }
.done-time { text-align: right; white-space: nowrap; }

.guide { margin-bottom: 10px; }
.guide-index {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--terra-tint); color: var(--terra-deep);
  font-size: 12px; font-weight: 700;
}
.guide .body { padding: 0 16px 16px 56px; color: var(--ink-soft); white-space: pre-wrap; font-size: 14px; }
.guide img.preview { margin: 12px 0 0; width: min(100%, 420px); border-radius: 12px; }

.story-day { margin-bottom: 10px; }
.story-inner {
  display: grid; grid-template-columns: 118px minmax(0,1fr);
  gap: 16px; padding: 0 16px 16px;
}
.story-inner img { width: 118px; height: 148px; object-fit: cover; border-radius: 14px; background: var(--paper-mid); }
.kicker { margin: 0 0 4px; color: var(--terra); font-size: 12px; font-weight: 700; }
.speak, .visual {
  margin-top: 10px; padding: 12px; border-radius: 12px;
  background: var(--paper-mid); color: var(--ink-soft); font-size: 13px; white-space: pre-wrap;
}
.visual { background: #f4ece4; }
.duration {
  display: inline-flex; margin-top: 8px; padding: 4px 8px;
  border-radius: 999px; background: #1a1a1a; color: #fff; font-size: 11px; font-weight: 700;
}

.footer-note, .page-foot {
  margin-top: 22px; padding: 16px 18px;
  border-radius: 14px; background: var(--terra-tint); border: 1px solid #f0ddcf;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.footer-note p, .page-foot p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.accent-script { font-family: var(--script); color: var(--ink); font-size: 32px; line-height: 1; transform: rotate(-4deg); flex: 0 0 auto; }
.flow-foot {
  margin-top: 28px; padding: 18px;
  border-radius: 14px; background: var(--terra-tint); border: 1px solid #f0ddcf;
}
.flow-foot h3 { margin: 0 0 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.flow-grid p { margin: 0; font-size: 13px; color: var(--ink-soft); display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.flow-n {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--terra); color: #fff; font-size: 11px; font-weight: 700;
}
.info-banner {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.2fr);
  gap: 0 20px;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 16px;
}
.info-banner.is-overlay, .info-banner.is-split { grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr); }
.info-banner.is-overlay { grid-template-columns: 1fr; }
.info-banner-media { position: relative; min-width: 0; }
.info-banner-media img {
  width: 100%; height: 188px; object-fit: cover; border-radius: 0;
}
.info-banner.is-overlay .info-banner-media img { height: 220px; }
.info-banner-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 22px;
  background: linear-gradient(180deg, rgba(26,15,10,.05) 10%, rgba(26,15,10,.62) 100%);
  color: #fff;
}
.info-banner-overlay h2 { margin: 0 0 6px; font-size: 24px; }
.info-banner-overlay p { margin: 0; max-width: 48ch; font-size: 13px; color: rgba(255,255,255,.92); }
.info-banner .hand-note { position: absolute; right: 16px; top: 16px; color: #fff; max-width: 140px; }
.info-banner .hero-copy { padding: 20px 20px 20px 0; }
.info-banner.is-split .hero-copy { padding: 20px 8px 20px 20px; }

.crud-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mini {
  min-height: 32px; border: 1px solid var(--line); border-radius: 8px;
  padding: 5px 10px; background: #fff; color: var(--ink-soft);
  font-size: 12px; font-weight: 600;
}
.mini:hover { border-color: var(--terra); color: var(--terra-deep); background: var(--terra-tint); }
.mini.danger:hover { color: var(--error); border-color: var(--error); background: #faecec; }

.empty {
  padding: 48px 20px; text-align: center;
  border: 1px dashed #ccbdb2; border-radius: 14px; background: var(--terra-tint);
}
.empty h3 { margin: 0; font-size: 17px; }
.empty p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.filter-row { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.filter-row select, .filter-row input {
  min-height: 40px; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; background: #fff;
}

.app-footer {
  padding: 22px 20px; color: rgba(255,255,255,.55);
  background: var(--header-2); text-align: center; font-size: 12px;
}
.app-footer img { width: 120px; margin: 0 auto 10px; }
.app-footer p { margin: 0; }

.toast {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  padding: 12px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.dialog { width: min(calc(100% - 32px), 640px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 12px; box-shadow: 0 24px 70px rgba(39,26,16,.28); }
.dialog::backdrop { background: rgba(39, 26, 16, .56); }
.dialog-content { padding: 26px; }
.dialog-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dialog h2 { margin: 0; font-size: 20px; }
.close-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); background: var(--paper-mid); font-size: 24px; line-height: 1; }
.field { margin-top: 14px; }
.field label { display: block; margin: 0 0 6px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #cfc2b8; border-radius: 8px;
  padding: 11px 12px; color: var(--ink); background: #fff; outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--terra); box-shadow: 0 0 0 3px rgba(181,102,58,.16);
}
.file-preview { margin-top: 8px; width: 160px; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.form-error { min-height: 18px; margin: 8px 0 0; color: var(--error); font-size: 12px; }

.access-layer {
  position: fixed; inset: 0; z-index: 5;
  display: grid; place-items: center; overflow: hidden;
  padding: 20px;
  background: linear-gradient(135deg, #1a0f0a 0%, #0d0705 50%, #030201 100%);
}
.stage { position: absolute; inset: 0; z-index: 0; opacity: .55; pointer-events: none; filter: url("#gooey"); }
.blob {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, #c8794f, #3d271a);
  box-shadow: inset -10px -10px 25px rgba(0,0,0,.5), 10px 10px 35px rgba(181,102,58,.25);
  filter: blur(25px);
  animation: float 22s infinite alternate ease-in-out;
}
@keyframes float {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(8vw,15vh) scale(1.15); }
  66% { transform: translate(-4vw,8vh) scale(.85); }
  100% { transform: translate(4vw,-8vh) scale(1.08); }
}
.access-box {
  position: relative; z-index: 1; width: min(100%, 410px);
  padding: 42px; border: 1px solid rgba(230,221,213,.4);
  border-radius: 22px; background: rgba(255,252,248,.96);
  box-shadow: 0 32px 85px rgba(0,0,0,.35), 0 0 60px rgba(181,102,58,.08);
  text-align: center; backdrop-filter: blur(20px);
  animation: slide-up .6s cubic-bezier(.4,0,.2,1);
}
.access-logo { width: auto; max-width: 250px; height: 118px; margin: 0 auto 22px; object-fit: contain; }
@keyframes slide-up { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.access-kicker { margin: 0 0 4px; color: var(--terra); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.access-box h1 { margin: 0; }
.access-box > p { margin: 4px 0 24px; color: var(--muted); font-size: 14px; }
.access-field { position: relative; margin-bottom: 18px; text-align: left; }
.access-field label { display: block; margin: 0 0 7px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.access-box input {
  width: 100%; border: 0; border-bottom: 2px solid var(--line);
  border-radius: 0; padding: 12px 0; color: var(--ink); background: transparent; outline: none;
}
.input-glow { position: absolute; right: 0; bottom: 0; left: 0; width: 0; height: 2px; background: var(--terra); box-shadow: 0 0 15px var(--terra); transition: width .6s; }
.access-field:focus-within .input-glow { width: 100%; }
.submit-wrap { position: relative; margin-top: 24px; filter: url("#gooey"); }
.login-submit {
  position: relative; z-index: 1; width: 100%; border-radius: 10px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.mercury-drop {
  position: absolute; top: 50%; left: 50%; z-index: 0;
  width: 100%; height: 100%; border-radius: 40px; background: var(--terra-deep);
  transform: translate(-50%, -50%);
}
.alt-login { margin: 18px 0 0; font-size: 12px; }
.alt-login a { color: var(--terra-deep); font-weight: 600; }

@media (max-width: 820px) {
  .hero-card, .approval-grid, .story-inner, .done-card, .info-banner, .info-banner.is-split { grid-template-columns: 1fr; }
  .hero-card img, .hero-visual, .info-banner-media img { height: 168px; }
  .info-banner .hero-copy { padding: 16px; }
  .info-banner .hand-note { position: static; color: var(--terra); max-width: none; transform: none; padding: 0 16px 12px; }
  .task { grid-template-columns: 58px minmax(0, 1fr); }
  .task-actions { width: auto; grid-column: 1 / -1; }
  .complete-btn { width: 100%; }
  .activity-line { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .done-time { text-align: left; }
  .guide .body { padding-left: 16px; }
}
@media (max-width: 620px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .module-bar { flex-direction: column; align-items: stretch; }
  .tabs { width: 100%; }
  .brand-logo { width: 92px; }
  .user-chip { align-self: stretch; justify-content: space-between; }
  .access-box { padding: 32px 26px; }
  .access-logo { height: 92px; }
  .pwa-bar { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .access-box { animation: none; }
  .input-glow, .chevron { transition: none; }
}
