@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --orange:       #c1522a;
  --orange-dark:  #9e3f1c;
  --orange-deep:  #7a2f12;
  --orange-light: #f4a46a;
  --orange-pale:  #fde8d8;
  --orange-bg:    #fff7f2;
  --peach-card:   #f9b27e;
  --peach-light:  #fcd5b3;
  --text:         #1c0f08;
  --text-2:       #5c3a28;
  --text-3:       #a07060;
  --surface:      #ffffff;
  --border:       #f0d8cc;
  --green:        #16a34a;
  --red:          #dc2626;
  --r:            14px;
  --r-sm:         10px;
  --r-pill:       999px;
  --shadow:       0 2px 8px rgba(150,60,20,.10), 0 8px 24px rgba(150,60,20,.08);
  --shadow-card:  0 1px 4px rgba(150,60,20,.12), 0 4px 12px rgba(150,60,20,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Barlow', -apple-system, sans-serif;
  background: var(--orange-bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.app-header {
  background: #111111;
  color: white;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.header-center {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.app-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: white;
}
.app-header h1 span { color: var(--orange); }

.nav-icon-btn {
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 10px;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.nav-icon-btn:active { background: rgba(255,255,255,.3); }

/* ─── Tab Navigation ──────────────────────────────────────────────────────────── */
.tab-nav {
  background: #111111;
  display: flex;
  padding: 0 16px 12px;
  gap: 8px;
  position: sticky;
  top: 58px;
  z-index: 99;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: none;
  border-radius: var(--r-pill);
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  position: relative;
}

.tab-btn.active {
  background: var(--orange);
  color: white;
}

.tab-btn svg { flex-shrink: 0; }

.tab-count {
  background: var(--orange);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}

.tab-btn.active .tab-count {
  background: var(--orange);
  color: white;
}

/* ─── Views ───────────────────────────────────────────────────────────────────── */
.app-main {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.view { display: flex; flex-direction: column; gap: 14px; }
.view.hidden { display: none; }

/* ─── Form Sections ───────────────────────────────────────────────────────────── */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-2);
}

.text-input, .select-input {
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
  line-height: 1.5;
}

.text-input { resize: vertical; min-height: 88px; }
.select-input { cursor: pointer; }

.text-input:focus, .select-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(193,82,42,.12);
}

.text-input::placeholder { color: var(--text-3); }

/* ─── Auto-detect Badge ───────────────────────────────────────────────────────── */
.detect-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-pale);
  border: 1.5px solid var(--peach-card);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--orange-dark);
  font-weight: 600;
}

.detect-badge button {
  margin-left: auto;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.03em;
}

/* ─── Action Bar ──────────────────────────────────────────────────────────────── */
.action-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────────── */
button {
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: var(--r-pill);
  transition: background .15s, transform .08s, opacity .15s;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

button:active:not(:disabled) { transform: scale(0.96); }
button:disabled { opacity: 0.55; cursor: default; }

.btn-generate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 28px;
  box-shadow: 0 4px 14px rgba(193,82,42,.35);
}
.btn-generate:hover:not(:disabled) { background: var(--orange-dark); }

.btn-clear {
  background: transparent;
  color: var(--text-2);
  font-size: 0.92rem;
  padding: 15px 18px;
  border: 2px solid var(--border);
  border-radius: var(--r-pill);
}
.btn-clear:hover:not(:disabled) { background: var(--orange-pale); }

.btn-save {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 15px;
  box-shadow: 0 4px 14px rgba(193,82,42,.3);
}
.btn-save:hover:not(:disabled) { background: var(--orange-dark); }

.btn-new-note {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--orange);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(193,82,42,.3);
}

/* ─── Save Status ─────────────────────────────────────────────────────────────── */
.save-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  min-height: 20px;
}
.save-status.ok    { color: var(--green); }
.save-status.error { color: var(--red); }

/* ─── Similar Banner ──────────────────────────────────────────────────────────── */
.similar-banner {
  background: var(--orange-pale);
  border: 1.5px solid var(--peach-card);
  border-radius: var(--r);
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--orange-dark);
}

.similar-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 600;
}

.examples-list {
  border-top: 1px solid var(--peach-card);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.example-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 0.82rem;
}

.example-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.type-badge {
  background: var(--orange);
  color: white;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.example-date {
  color: var(--text-3);
  font-size: 0.72rem;
  margin-left: auto;
}

.example-card p { color: var(--text-2); margin-top: 3px; }

.toggle-btn {
  background: transparent;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 1.5px solid var(--orange);
  border-radius: var(--r-pill);
  margin-left: auto;
}

/* ─── Output Section ──────────────────────────────────────────────────────────── */
.output-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.section-sub {
  font-size: 0.83rem;
  color: var(--text-3);
  margin-top: -8px;
}

.output-card {
  background: var(--peach-card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.output-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(0,0,0,.06);
}

.output-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
}

.copy-btn {
  background: white;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border: none;
  border-radius: var(--r-pill);
}
.copy-btn:hover { background: var(--orange); color: white; }

.output-field {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  min-height: 90px;
  resize: none;
  line-height: 1.6;
}
.output-field:focus { outline: none; background: rgba(255,255,255,.3); }

/* ─── Save Bar ────────────────────────────────────────────────────────────────── */
.save-bar { padding-top: 4px; }

/* ─── History View ────────────────────────────────────────────────────────────── */
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 24px;
  color: var(--text-3);
  font-size: 0.9rem;
  text-align: center;
}

.history-card {
  background: var(--peach-card);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}

.history-card:active { transform: scale(0.98); }

.history-card-body { flex: 1; min-width: 0; }

.history-card-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  margin-bottom: 3px;
}

.history-card-issue {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-card-date {
  font-size: 0.75rem;
  color: var(--orange-deep);
  font-weight: 600;
  margin-top: 4px;
  opacity: .75;
}

.history-card-icon {
  background: var(--orange);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Modal (Note Detail) ─────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,15,8,.5);
}

.modal-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  max-height: 85vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 20px);
  animation: slideUp .25s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto 0;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--orange);
}

.modal-close {
  background: var(--orange-pale);
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.modal-body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-note-card {
  background: var(--orange-pale);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.modal-note-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
  background: rgba(0,0,0,.05);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-note-text {
  padding: 12px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-wrap;
}

.modal-copy-btn {
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border: none;
  border-radius: var(--r-pill);
}

/* ─── Side Drawer ─────────────────────────────────────────────────────────────── */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.drawer.open { pointer-events: all; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,15,8,.55);
  opacity: 0;
  transition: opacity .25s;
}
.drawer.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 285px;
  max-width: 85vw;
  background: var(--surface);
  transform: translateX(-100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(150,60,20,.18);
}
.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-head {
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top));
  flex-shrink: 0;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.drawer-close-btn {
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 8px;
  color: white;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.drawer-close-btn:active { background: rgba(255,255,255,.35); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background .12s;
  width: 100%;
}
.drawer-item:hover  { background: var(--orange-pale); }
.drawer-item:active { background: var(--orange-pale); }

.drawer-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.drawer-item-label { flex: 1; }

.drawer-item-chevron { color: var(--text-3); flex-shrink: 0; }

.drawer-sub {
  border-top: 1px solid var(--border);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--orange-bg);
}

.drawer-sub-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.drawer-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.93rem;
  color: var(--text);
}
.drawer-setting-row strong {
  color: var(--orange);
  font-size: 1.05rem;
}

.drawer-danger-btn {
  background: #fee2e2;
  color: var(--red);
  border: none;
  border-radius: var(--r-pill);
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  cursor: pointer;
  transition: background .15s;
}
.drawer-danger-btn:hover { background: #fecaca; }

.help-steps {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* Signed-in indicator on profile button */
.nav-icon-btn.signed-in {
  background: rgba(255,255,255,.3);
  box-shadow: 0 0 0 2px rgba(255,255,255,.7);
}

/* ─── Profile Panel ───────────────────────────────────────────────────────────── */
.profile-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,15,8,.5);
}

.profile-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  max-height: 82vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 20px);
  animation: slideUp .25s ease;
}

.profile-body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-2);
}

.profile-field label span {
  font-weight: 400;
  text-transform: none;
  font-family: 'Barlow', sans-serif;
  color: var(--text-3);
  font-size: 0.78rem;
}

.profile-field input {
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.profile-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(193,82,42,.12);
}

.profile-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-display-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.profile-display-id {
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 2px;
}

.profile-stats {
  display: flex;
  gap: 12px;
}

.profile-stat {
  flex: 1;
  background: var(--orange-pale);
  border-radius: var(--r-sm);
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
}

.profile-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Recommendations Card ────────────────────────────────────────────────────── */
.recommendations-card {
  border: 1.5px solid var(--orange);
  background: #fff9f6;
}

.recommendations-card .output-card-head {
  background: var(--orange-pale);
  border-bottom: 1.5px solid var(--orange-light);
}

.recommendations-card .output-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-dark);
  font-weight: 700;
}

/* ─── Paywall ─────────────────────────────────────────────────────────────────── */
.paywall-sheet { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

.paywall-body {
  padding: 4px 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.paywall-icon { border-radius: 14px; overflow: hidden; }

.paywall-usage-text { font-size: 0.9rem; color: var(--text-2); font-weight: 500; }

.paywall-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.paywall-price span { font-size: 1.1rem; font-weight: 600; color: var(--text-2); }

.paywall-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.paywall-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.paywall-features li svg { flex-shrink: 0; }

.paywall-cta { width: 100%; margin-top: 4px; }

.paywall-dismiss {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px;
}
.paywall-dismiss:active { opacity: .6; }

/* ─── Subscription Success Banner ─────────────────────────────────────────────── */
.sub-success-banner {
  position: fixed;
  top: calc(68px + env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  background: var(--green);
  color: white;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  animation: slide-down .3s ease;
}
@keyframes slide-down {
  from { transform: translateY(-16px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ─── Utility ─────────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── Responsive ──────────────────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .app-header h1 { font-size: 1.3rem; }
  .app-main { padding: 24px 24px 60px; }
  .section-heading { font-size: 2rem; }
}
