/* ══════════════════════════════════════
   meinplan.aponoha.org — Patienten-App
   Mobile-first, Brand #9ACD32
   ══════════════════════════════════════ */
:root {
  --brand: #9ACD32;
  --brand-dark: #7da428;
  --ink: #1f2a17;
  --muted: #6b7464;
  --bg: #f5f7f1;
  --card: #ffffff;
  --line: #e3e8db;
  --allergy: #c2410c;
  --favorite: #15803d;
  --dislike: #6b7464;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(31, 42, 23, .08), 0 4px 16px rgba(31, 42, 23, .05);
}
* { box-sizing: border-box; }
/* hidden-Attribut muss display-setzende Regeln (z. B. .modal-backdrop display:flex) schlagen */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.5; -webkit-text-size-adjust: 100%;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ─── Topbar ─── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px calc(14px + env(safe-area-inset-top)); padding-top: max(14px, env(safe-area-inset-top));
  background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.brand-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(154,205,50,.22); }
.brand-name { font-size: 1.05rem; letter-spacing: .2px; }

/* ─── Layout ─── */
.screen { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 18px; margin-bottom: 18px;
}
h1 { font-size: 1.45rem; margin: 0 0 10px; }
h2 { font-size: 1.18rem; margin: 0 0 6px; }
h3 { font-size: 1.02rem; margin: 14px 0 4px; color: var(--brand-dark); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.greeting { margin: 4px 4px 16px; color: var(--muted); font-size: 1.02rem; }
.footnote { text-align: center; color: var(--muted); font-size: .82rem; margin: 26px 8px 0; }

/* ─── Forms ─── */
label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 5px; }
input[type=text], input[type=email], input[type=password], select {
  width: 100%; padding: 12px 13px; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; background: #fcfdfb;
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(154,205,50,.18); }

/* ─── Buttons ─── */
.primary-btn {
  width: 100%; margin-top: 16px; padding: 14px; font-size: 1rem; font-weight: 700;
  color: #1f2a17; background: var(--brand); border: none; border-radius: 11px; cursor: pointer;
  transition: background .15s, transform .05s;
}
.primary-btn:hover { background: var(--brand-dark); }
.primary-btn:active { transform: translateY(1px); }
.primary-btn:disabled { opacity: .55; cursor: default; }
.ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 14px; font-size: .92rem; font-weight: 600; color: var(--brand-dark);
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.ghost-btn svg { flex-shrink: 0; }
.ghost-btn.full { width: 100%; margin-top: 14px; }
.ghost-btn:hover { border-color: var(--brand); }

/* ─── Login ─── */
.login-card { margin-top: 30px; }
.login-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #eef6dd; color: #3c4a23; font-size: .92rem; }
.login-msg.err { background: #fdece4; color: #8a3214; }

/* ─── Passwort-Login ─── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 50px; }
.pw-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; line-height: 0; cursor: pointer;
  padding: 8px 10px; color: var(--muted); opacity: .9;
}
.pw-eye.on, .pw-eye:hover { color: var(--brand-dark); opacity: 1; }
.link-btn {
  display: block; width: 100%; text-align: center; background: none; border: none;
  color: var(--brand-dark); font-size: .92rem; font-weight: 600; cursor: pointer; padding: 13px 4px 0;
}
.link-btn:hover { text-decoration: underline; }
.pw-hint { margin: 7px 2px 0; }
.pw-hint.ok { color: var(--favorite); font-weight: 600; }

/* ─── Chips ─── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip {
  padding: 9px 14px; font-size: .92rem; font-weight: 600; color: var(--ink);
  background: #f0f3ea; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: all .12s;
}
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #1f2a17; }

/* ─── Dish-Ergebnis ─── */
.dish-result {
  margin-top: 18px; padding: 16px 16px 4px; background: #fbfdf6;
  border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px;
}
.dish-result h3 { margin-top: 4px; font-size: 1.12rem; color: var(--ink); }
.dish-result p { margin: 6px 0; }
.dish-result ul { margin: 6px 0 10px; padding-left: 20px; }
.dish-result li { margin: 3px 0; }

/* ─── Prefs ─── */
.prefs-box { margin-top: 6px; }
.pref-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.pref-grouplabel { width: 100%; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.pref-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px;
  font-size: .9rem; font-weight: 600; border-radius: 999px; border: 1px solid var(--line); background: #f7f9f3;
}
.pref-chip.pref-allergy { background: #fdece4; border-color: #f3cdb9; color: var(--allergy); }
.pref-chip.pref-favorite { background: #e7f6ea; border-color: #bfe4c8; color: var(--favorite); }
.pref-chip.pref-dislike { background: #f0f3ea; color: var(--dislike); }
.pref-x {
  border: none; background: rgba(0,0,0,.06); color: inherit; cursor: pointer;
  width: 20px; height: 20px; border-radius: 50%; font-size: 1rem; line-height: 1; padding: 0;
}
.pref-x:hover { background: rgba(0,0,0,.14); }
.check-row { display: flex; align-items: center; gap: 9px; font-weight: 500; margin-top: 12px; }
.check-row input { width: auto; }

/* ─── Modal ─── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(31,42,23,.45); display: flex; align-items: flex-end;
  justify-content: center; z-index: 50; padding: 0;
}
.modal {
  background: var(--card); border-radius: 18px 18px 0 0; width: 100%; max-width: 640px;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 24px rgba(0,0,0,.18);
}
.modal h3 { color: var(--ink); margin: 0 0 8px; font-size: 1.18rem; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .primary-btn, .modal-actions .ghost-btn { margin-top: 0; flex: 1; }
@media (min-width: 560px) {
  .modal-backdrop { align-items: center; }
  .modal { border-radius: 18px; }
}

/* ─── Hamburger-Nav ─── */
.icon-btn { background: none; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 8px; }
.topbar .brand { margin-right: auto; margin-left: 8px; }
.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(80vw, 300px); z-index: 70;
  background: var(--card); box-shadow: 2px 0 18px rgba(0,0,0,.18); padding: calc(18px + env(safe-area-inset-top)) 0 18px;
  animation: slideIn .18s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.nav-drawer nav { display: flex; flex-direction: column; }
.nav-link { display: flex; align-items: center; gap: 13px; text-align: left; background: none; border: none; padding: 15px 22px; font-size: 1.05rem; color: var(--ink); cursor: pointer; border-left: 3px solid transparent; }
.nav-link svg { flex-shrink: 0; color: var(--brand-dark); }
.nav-link:hover, .nav-link:active { background: #f0f3ea; border-left-color: var(--brand); }
.nav-scrim { position: fixed; inset: 0; background: rgba(31,42,23,.4); z-index: 60; }

/* ─── Meine Gerichte (Karten) ─── */
.dish-card { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fbfdf6; overflow: hidden; }
.dc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; cursor: pointer; }
.dc-head .muted { margin-top: 2px; }
.dc-toggle { background: none; border: none; font-size: 1.1rem; color: var(--muted); cursor: pointer; padding: 0 4px; }
.dc-body { padding: 0 14px 14px; border-top: 1px solid var(--line); }
.dc-body h3 { font-size: 1.02rem; color: var(--brand-dark); }
.dc-body .step { margin: 3px 0; }
.dish-group { margin-bottom: 16px; }
.dish-group-label { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 2px 2px 8px; }
.dish-group-count { font-size: .72rem; font-weight: 700; color: var(--brand-dark); background: #eef6dd; border-radius: 999px; padding: 1px 8px; text-transform: none; }
.fb-btn.fb-del { margin-left: auto; }
.fb-btn.fb-del:hover { border-color: var(--allergy); color: var(--allergy); }

/* ─── Plan-Accordion ─── */
.acc-day { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 9px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: #f7f9f3; border: none; padding: 14px 16px; font-weight: 700; font-size: 1.02rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.acc-head:hover { background: #eef3e3; }
.acc-arr { color: var(--muted); font-weight: 400; }
.acc-body { padding: 6px 16px 14px; }
.plan-recipe { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.plan-recipe:last-child { border-bottom: none; }
.plan-recipe p { margin: 5px 0; }
.plan-recipe .step { margin: 2px 0; }
.day-sum { font-weight: 600; color: var(--brand-dark); margin-top: 8px; }
.day-sum p { margin: 0; }

/* ─── Dish-Feedback (👍/👎/⭐) ─── */
.dish-feedback { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.dish-feedback .small { margin-right: 2px; }
.fb-btn {
  display: inline-flex; align-items: center; justify-content: center; line-height: 0;
  padding: 8px 11px; border-radius: 999px; color: var(--muted);
  border: 1px solid var(--line); background: #f7f9f3; cursor: pointer; transition: all .12s;
}
.fb-btn:hover { border-color: var(--brand); color: var(--ink); }
.fb-btn.on { background: var(--brand); border-color: var(--brand); color: #1f2a17; transform: scale(1.05); }

/* ─── Meine Pläne ─── */
.plans-box { margin-top: 6px; }
.plan-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px;
  cursor: pointer; background: #fbfdf6; transition: border-color .12s;
}
.plan-item:hover { border-color: var(--brand); }
.pi-kind { font-weight: 600; }
.pi-date { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.pi-arr { display: inline-block; transition: transform .15s; }
.plan-item-wrap { margin-bottom: 8px; }
.plan-item-wrap .plan-item { margin-bottom: 0; }
.plan-item.open { border-color: var(--brand); background: #f2f7e6; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.plan-item.open .pi-arr { transform: rotate(90deg); }
.plan-acc {
  border: 1px solid var(--brand); border-top: none;
  border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
  padding: 12px 12px 4px; background: #fff;
}

.plan-backdrop { align-items: stretch; }
.plan-modal {
  max-width: 700px; width: 100%; margin: 0 auto; border-radius: 0;
  max-height: 100vh; height: 100%; overflow-y: auto; padding: 16px 18px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
}
.plan-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: sticky; top: -16px; background: var(--card); padding: 8px 0; margin: -4px 0 6px; border-bottom: 1px solid var(--line);
}
.plan-title { font-weight: 700; font-size: 1.05rem; }
.plan-content h3 { color: var(--brand-dark); margin: 16px 0 4px; }
.plan-content p { margin: 6px 0; }
.plan-content ul { margin: 6px 0 10px; padding-left: 20px; }
.plan-content li { margin: 3px 0; }
@media (min-width: 560px) {
  .plan-backdrop { align-items: center; }
  .plan-modal { border-radius: 16px; max-height: 90vh; height: auto; }
}

/* ─── Toast ─── */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(10px);
  background: #1f2a17; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .9rem;
  opacity: 0; transition: opacity .25s, transform .25s; z-index: 60; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Icons & Logo ─── */
.ic, svg.ic { flex-shrink: 0; vertical-align: middle; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { display: block; }
.brand-logo { border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(31,42,23,.08); }

/* Login-Kopf: Logo (mobil groß, Desktop kleiner) + Verortung */
.login-head { text-align: center; margin-bottom: 10px; }
.login-logo { width: 116px; height: 116px; display: block; margin: 0 auto 8px; border-radius: 50%; }
.login-kicker { color: var(--muted); font-size: .82rem; letter-spacing: .3px; margin: 0; }
@media (min-width: 560px) {
  .login-logo { width: 84px; height: 84px; }
}

/* Sektions-Überschrift mit Icon */
.sec-h { display: flex; align-items: center; gap: 9px; }
.sec-h svg { flex-shrink: 0; color: var(--brand-dark); }

/* Footer-Links (Datenschutz/Impressum/aponoha.org) */
.footnote a { color: var(--brand-dark); text-decoration: none; }
.footnote a:hover { text-decoration: underline; }

/* Pfeil-Rotationen (Chevrons statt ▾ ▴ ›) */
.dc-toggle { display: inline-flex; align-items: center; color: var(--muted); transition: transform .15s; }
.dc-toggle svg { display: block; }
.dc-toggle.open { transform: rotate(180deg); }
.acc-arr { display: inline-flex; align-items: center; color: var(--muted); transition: transform .15s; }
.acc-arr.open { transform: rotate(180deg); }
.pi-arr { display: inline-flex; align-items: center; color: var(--muted); }
.pi-arr svg { display: block; }
.link-btn svg { vertical-align: -2px; }

/* ─── Topbar-Aktionen (Hilfe + Abmelden) ─── */
.topbar-actions { display: flex; align-items: center; gap: 6px; }
#helpBtn { color: var(--brand-dark); }
#helpBtn svg { display: block; }

/* ─── ⓘ-Erklär-Knöpfchen + Popover ─── */
.info-i {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: -3px;
  background: none; border: none; padding: 0 2px; margin: 0; line-height: 0;
  color: var(--muted); cursor: pointer;
}
.info-i:hover, .info-i:active { color: var(--brand-dark); }
.info-pop {
  position: fixed; z-index: 80; background: #1f2a17; color: #fff;
  padding: 11px 14px; border-radius: 12px; font-size: .88rem; line-height: 1.45;
  box-shadow: 0 6px 22px rgba(0,0,0,.28); max-width: 284px;
}

/* ─── „So funktioniert's"-Aufklapper ─── */
.howto { margin: 8px 0 4px; border-top: 1px dashed var(--line); padding-top: 8px; }
.howto > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 600; color: var(--brand-dark);
}
.howto > summary::-webkit-details-marker { display: none; }
.howto .howto-arr { transition: transform .15s; }
.howto[open] > summary .howto-arr { transform: rotate(180deg); }
.howto-body { margin-top: 8px; }
.howto-body p { margin: 6px 0; font-size: .92rem; color: var(--ink); }

/* ─── „Warum dieser Vorschlag?"-Box (Vertrauens-Anker) ─── */
.whybox {
  margin: 14px 0 4px; background: #f3f8e8; border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: 10px; padding: 10px 13px;
}
.whybox > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px;
  font-size: .9rem; font-weight: 600; color: var(--brand-dark);
}
.whybox > summary::-webkit-details-marker { display: none; }
.whybox > summary svg { flex-shrink: 0; transition: transform .15s; }
.whybox[open] > summary svg { transform: rotate(180deg); }
.whybox p { margin: 9px 0 1px; font-size: .9rem; color: var(--ink); }

/* ─── Willkommen-Overlay ─── */
.welcome-backdrop { align-items: center; padding: 16px; }
.welcome-modal { border-radius: 18px; max-width: 460px; text-align: center; padding: 26px 22px calc(22px + env(safe-area-inset-bottom)); }
.welcome-modal h3 { color: var(--ink); font-size: 1.25rem; margin: 4px 0 10px; }
.welcome-modal p { margin: 8px 0; color: var(--ink); }
.wc-logo { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 4px; display: block; }
.wc-list { list-style: none; padding: 0; margin: 14px 0 2px; text-align: left; }
.wc-list li { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; font-size: .95rem; }
.wc-list li svg { flex-shrink: 0; color: var(--brand-dark); margin-top: 1px; }
.wc-dots { display: flex; justify-content: center; gap: 8px; margin: 18px 0 6px; }
.wc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .15s, transform .15s; }
.wc-dot.on { background: var(--brand); transform: scale(1.25); }
.welcome-modal .modal-actions { margin-top: 6px; }
.welcome-modal #wcSkip { padding-top: 10px; }

/* ─── Cheat-Day ─── */
.cheat-row { margin-top: 14px; gap: 10px; }
.cheat-row .cheat-label { font-weight: 600; }
.cheat-row .info-i { margin-left: auto; }
.cheat-badge {
  display: inline-block; margin-left: 7px; padding: 1px 9px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: #fff; background: var(--allergy); vertical-align: 2px;
}
.dish-card.is-cheat { border-left: 4px solid var(--allergy); }
.whybox.whybox-cheat { background: #fdece4; border-left-color: var(--allergy); }
.whybox.whybox-cheat > summary { color: var(--allergy); }

/* ─── Lebensmittel-Tabelle ─── */
.foods-controls { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.foods-controls input[type=search] { width: 100%; padding: 11px 12px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 15px; }
.foods-selects { display: flex; gap: 8px; }
.foods-selects select { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 14px; background: #fff; }
.foods-list { margin-top: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.foods-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.foods-table thead th { background: #f7faf0; text-align: right; font-weight: 600; color: #3f6212; padding: 7px 8px; border-bottom: 2px solid #e6efd4; font-size: 12px; white-space: nowrap; }
.foods-table thead th:first-child { text-align: left; }
.foods-table td { padding: 7px 8px; border-bottom: 1px solid #eef1f4; vertical-align: top; }
.foods-table td.ft-n { text-align: right; font-variant-numeric: tabular-nums; color: #52606d; white-space: nowrap; }
.foods-table td.ft-c { text-align: center; white-space: nowrap; }
.ft-name { font-weight: 600; color: #1f2933; line-height: 1.25; }
.ft-portion { display: block; font-weight: 400; font-size: 11px; color: #9aa5b1; margin-top: 1px; }
.food-eig { display: inline-block; min-width: 34px; text-align: center; font-weight: 700; font-size: 12px; padding: 2px 6px; border-radius: 999px; }
.food-eig.fe-gut { background: #dcedc8; color: #33691e; }
.food-eig.fe-geeignet { background: #eaf6d6; color: #558b2f; }
.food-eig.fe-neutral { background: #eceff1; color: #5f6b7a; }
.food-eig.fe-seltener { background: #fff3c4; color: #8d6708; }
.food-eig.fe-meiden { background: #fde2e1; color: #a8302a; }
@media (min-width: 560px) { .foods-selects select { flex: 0 0 auto; } }

/* ─── Mein Gewicht ─── */
.w-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.w-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: #3e4c59; }
.w-form input[type=number] { padding: 11px 12px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 16px; font-weight: 400; }
.w-warn { background: #fff7ed; border-left: 3px solid #f59e0b; color: #92400e; border-radius: 8px; padding: 8px 11px; font-size: 13px; margin: 4px 0; }
.w-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.w-stat { background: #f7faf0; border: 1px solid #e6efd4; border-radius: 10px; padding: 9px 11px; }
.w-stat .w-k { display: block; font-size: 11px; color: #6b7280; }
.w-stat .w-v { display: block; font-size: 18px; font-weight: 700; color: #1f2933; }
.w-stat .w-v small { font-size: 12px; font-weight: 700; }
.w-down { color: #4d7c0f; } .w-up { color: #a8302a; }
.w-prog { height: 9px; background: #eef1f4; border-radius: 999px; overflow: hidden; margin-top: 4px; }
.w-prog-bar { height: 100%; background: #9ACD32; border-radius: 999px; transition: width .4s; }
.weight-chart { width: 100%; height: auto; display: block; margin: 10px 0 6px; background: #fff; border: 1px solid #eef1f4; border-radius: 10px; }
.w-miles { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.w-mile { background: #eaf6d6; color: #3f6212; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.w-entry { display: flex; gap: 8px; align-items: flex-end; margin: 12px 0 4px; }
.w-entry label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: #3e4c59; }
.w-entry input[type=number] { padding: 11px 12px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 16px; }
.w-entry .primary-btn { flex: 0 0 auto; white-space: nowrap; }
.w-manage { margin-top: 14px; }
.w-manage .ghost-btn.full { width: 100%; margin: 5px 0; }
.w-manage .w-danger { color: #a8302a; border-color: #f3c0bd; }
