:root {
  color-scheme: light;
  --ink: #20352a;
  --muted: #718078;
  --line: #e4ebe5;
  --paper: #f7faf7;
  --white: #ffffff;
  --green-900: #173f2e;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-100: #e3f1e7;
  --yellow-100: #fff4d6;
  --yellow-700: #a96b12;
  --red-600: #b94b4b;
  --shadow: 0 12px 35px rgba(26, 70, 49, 0.08);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-100);
  font-size: 23px;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -0.05em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.icon-button, .close-button {
  border: 0;
  color: var(--green-700);
  background: var(--green-100);
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 23px;
  line-height: 1;
}

.icon-button:hover, .quick-action:hover { transform: translateY(-2px); }

main { padding: 8px 0 0; }

.welcome-card {
  position: relative;
  min-height: 196px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px 42px;
  border-radius: 28px;
  color: #f6fff8;
  background: linear-gradient(120deg, #1f533c 0%, #2d6a4f 56%, #579873 100%);
  box-shadow: var(--shadow);
}

.welcome-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: 100px;
  bottom: -190px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,0.05), 0 0 0 56px rgba(255,255,255,0.04);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.welcome-card .eyebrow { color: #b9e1c8; }
.welcome-card h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.07em; }
.welcome-copy { max-width: 470px; margin: 12px 0 0; color: #d7efe0; font-size: 14px; }

.sun-badge {
  z-index: 1;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 28px;
  background: rgba(255,255,255,0.12);
  font-size: 37px;
  transform: rotate(7deg);
}

.weather-card {
  margin-top: 18px;
  padding: 22px 24px 17px;
  border: 1px solid #cfe3d4;
  border-radius: 22px;
  background: linear-gradient(145deg, #f1faf3, #ffffff 68%);
  box-shadow: 0 6px 22px rgba(26, 70, 49, 0.04);
}

.weather-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.weather-heading h2 { margin: 0; font-size: 21px; letter-spacing: -0.07em; }
.weather-location { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.weather-tools { display: flex; align-items: center; gap: 11px; }
.weather-refresh { width: 34px; height: 34px; border: 1px solid #cfe3d4; border-radius: 10px; color: var(--green-700); background: #fff; font-size: 21px; line-height: 1; }
.weather-refresh:hover { background: var(--green-100); }
.weather-refresh.is-loading { animation: spin 850ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.weather-content { min-height: 118px; margin-top: 17px; }
.weather-placeholder, .weather-error, .weather-loading { min-height: 118px; display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px dashed #bed8c6; border-radius: 16px; background: rgba(255,255,255,0.74); }
.weather-placeholder-icon { flex: 0 0 auto; font-size: 30px; }
.weather-placeholder strong, .weather-error strong, .weather-loading strong { display: block; font-size: 13px; }
.weather-placeholder p, .weather-error p, .weather-loading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.weather-placeholder .secondary-button { margin-left: auto; }
.weather-error { border-color: #f0c6bd; background: #fff8f6; }
.weather-error-icon { font-size: 25px; }
.weather-loading { border-style: solid; }
.weather-loading::before { content: ""; width: 25px; height: 25px; flex: 0 0 auto; border: 3px solid #cfe3d4; border-top-color: var(--green-700); border-radius: 50%; animation: spin 850ms linear infinite; }

.weather-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: stretch; }
.weather-current { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border-radius: 16px; background: #fff; }
.weather-icon { font-size: 42px; line-height: 1; }
.weather-temperature { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.08em; }
.weather-condition { display: block; margin-top: 2px; color: var(--green-700); font-size: 13px; font-weight: 800; }
.weather-observation { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.weather-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 10px; border: 1px solid #e3eee5; border-radius: 16px; background: rgba(255,255,255,0.66); }
.weather-detail { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 4px 7px; border-right: 1px solid #e3eee5; }
.weather-detail:last-child { border-right: 0; }
.weather-detail span { color: var(--muted); font-size: 10px; }
.weather-detail strong { font-size: 13px; }
.forecast-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 10px; }
.forecast-item { min-width: 0; padding: 10px 7px; border: 1px solid #e3eee5; border-radius: 13px; text-align: center; background: rgba(255,255,255,0.72); }
.forecast-time { display: block; color: var(--muted); font-size: 10px; }
.forecast-icon { display: block; margin: 6px 0 3px; font-size: 21px; }
.forecast-temp { display: block; font-size: 13px; font-weight: 800; }
.forecast-rain { display: block; margin-top: 3px; color: #5388a7; font-size: 10px; }
.weather-source { margin: 14px 0 0; color: #82938a; font-size: 10px; }
.weather-source span { color: var(--green-700); font-weight: 700; }

.shortcut-card { margin-top: 18px; padding: 22px 24px 17px; border: 1px solid #d8e5dc; border-radius: 22px; background: linear-gradient(145deg, #f5fbf6, #ffffff 70%); box-shadow: 0 6px 22px rgba(26, 70, 49, 0.04); }
.shortcut-heading { align-items: center; margin-bottom: 9px; }
.shortcut-heading h2 { margin: 0; font-size: 21px; letter-spacing: -0.07em; }
.safety-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid #e7d6aa; border-radius: 9px; color: #806425; background: #fff8e7; font-size: 11px; font-weight: 800; white-space: nowrap; }
.shortcut-intro { margin: 0 0 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.manufacturer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.manufacturer-link { min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 66px; padding: 10px; border: 1px solid #dce9df; border-radius: 14px; color: var(--ink); background: #fff; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.manufacturer-link:hover { transform: translateY(-2px); border-color: #9ec9ab; box-shadow: 0 8px 18px rgba(26, 70, 49, 0.08); }
.manufacturer-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; background: var(--green-100); font-size: 17px; }
.manufacturer-name { min-width: 0; flex: 1; font-size: 12px; font-weight: 800; letter-spacing: -0.05em; }
.manufacturer-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: -0.03em; }
.link-arrow { flex: 0 0 auto; color: var(--green-700); font-size: 17px; line-height: 1; }
.official-link-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.official-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid #cfe3d4; border-radius: 10px; color: var(--green-700); background: rgba(255,255,255,0.78); font-size: 11px; font-weight: 800; text-decoration: none; }
.official-link:hover { background: var(--green-100); }
.shortcut-source { margin: 13px 0 0; color: #82938a; font-size: 10px; line-height: 1.5; }

.purchase-card { margin-top: 18px; padding: 22px 24px 17px; border: 1px solid #eadfc5; border-radius: 22px; background: linear-gradient(145deg, #fffaf0, #ffffff 70%); box-shadow: 0 6px 22px rgba(98, 74, 29, 0.04); }
.purchase-heading { align-items: center; margin-bottom: 13px; }
.purchase-heading h2 { margin: 0; font-size: 21px; letter-spacing: -0.07em; }
.purchase-summary { display: flex; gap: 8px; margin-bottom: 12px; }
.purchase-summary-item { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 43px; padding: 0 12px; border: 1px solid #f0e5cb; border-radius: 11px; color: #826d3e; background: rgba(255,255,255,0.82); font-size: 11px; }
.purchase-summary-item strong { color: #614a16; font-size: 14px; }
.purchase-comparison { margin-bottom: 12px; }
.comparison-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.comparison-heading strong { font-size: 13px; }
.comparison-heading span { color: #998b6c; font-size: 10px; }
.comparison-table-wrap { overflow-x: auto; border: 1px solid #f0e5cb; border-radius: 13px; background: rgba(255,255,255,0.76); }
.comparison-table { min-width: 650px; }
.comparison-row { display: grid; grid-template-columns: minmax(210px, 1.7fr) repeat(4, minmax(84px, 1fr)); align-items: center; gap: 9px; min-height: 54px; padding: 8px 12px; border-top: 1px solid #f5ecd9; color: #5f665f; font-size: 11px; }
.comparison-row:first-child { border-top: 0; }
.comparison-header { min-height: 34px; border-top: 0; color: #998b6c; background: #fffbf3; font-size: 10px; font-weight: 800; }
.comparison-row > span:not(:first-child) { text-align: right; white-space: nowrap; }
.comparison-product { min-width: 0; }
.comparison-product strong { display: block; overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.comparison-product small { display: block; overflow: hidden; margin-top: 3px; color: #998b6c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.comparison-neutral { color: #998b6c; font-size: 10px; }
.price-up { color: #b94b4b; font-size: 10px; font-weight: 800; }
.price-down { color: #2e8361; font-size: 10px; font-weight: 800; }
.purchase-list { display: grid; gap: 8px; }
.purchase-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid #f0e5cb; border-radius: 14px; background: rgba(255,255,255,0.86); }
.purchase-item-main { min-width: 0; }
.purchase-item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.purchase-item-title strong { color: var(--ink); font-size: 13px; }
.purchase-spec { padding: 3px 6px; border-radius: 6px; color: #806425; background: #fff4d6; font-size: 10px; font-weight: 800; }
.purchase-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; color: #998b6c; font-size: 10px; }
.purchase-note { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.purchase-item-price { position: relative; flex: 0 0 auto; min-width: 92px; padding-right: 23px; text-align: right; }
.purchase-item-price strong { display: block; color: #614a16; font-size: 15px; }
.purchase-item-price small { display: block; margin-top: 3px; color: #998b6c; font-size: 9px; }
.delete-purchase { position: absolute; top: 50%; right: 0; width: 21px; height: 21px; padding: 0; border: 0; border-radius: 6px; color: #b29c72; background: transparent; font-size: 17px; line-height: 1; transform: translateY(-50%); }
.delete-purchase:hover { color: var(--red-600); background: #fff3f1; }
.purchase-empty { border-color: #dfc98e; background: rgba(255,255,255,0.7); }

.small { min-height: 36px; padding: 0 12px; font-size: 12px; }
.key-input-row { display: flex; gap: 8px; }
.key-toggle { flex: 0 0 57px; padding: 0 9px; }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.field-help a { color: var(--green-700); font-weight: 800; }
.warning-help { color: #8d7040; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 6px 22px rgba(26, 70, 49, 0.04);
}

.stat-card.stat-primary { border-color: #b8ddc5; background: #f2faf4; }
.stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 20px;
  font-weight: 800;
}
.stat-icon.soft-green { color: #3b8060; background: #e8f3ec; font-size: 12px; }
.stat-icon.soft-yellow { color: var(--yellow-700); background: var(--yellow-100); font-size: 17px; }
.stat-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; font-size: 23px; letter-spacing: -0.05em; }

.section-block { margin-top: 38px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.compact-heading { align-items: center; }
.section-heading h2 { margin: 0; font-size: 22px; letter-spacing: -0.07em; }
.section-note { color: var(--muted); font-size: 12px; }
.text-button { padding: 6px 0; border: 0; color: var(--green-700); background: transparent; font-size: 13px; font-weight: 700; }
.text-button:hover { color: var(--green-900); text-decoration: underline; }
.text-button.danger { color: var(--red-600); }

.quick-actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.quick-action {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.quick-action:hover { border-color: #abd2b8; box-shadow: var(--shadow); }
.quick-action span { font-size: 24px; }
.quick-action strong { font-size: 13px; letter-spacing: -0.04em; }
.quick-action.add-action { border: 1px dashed #9ec9ab; color: var(--green-700); background: #f3faf5; }

.primary-button, .secondary-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.primary-button { border: 1px solid var(--green-700); color: #fff; background: var(--green-700); box-shadow: 0 5px 13px rgba(45, 106, 79, 0.18); }
.primary-button:hover { background: var(--green-900); }
.primary-button.small { min-height: 37px; padding: 0 13px; font-size: 12px; }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.secondary-button:hover { background: var(--paper); }

.filter-row { display: flex; gap: 7px; margin-bottom: 13px; }
.filter-button { padding: 8px 14px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 700; }
.filter-button.active { color: var(--green-700); background: var(--green-100); }

.task-list { display: grid; gap: 10px; }
.task-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  transition: border-color 160ms ease, opacity 160ms ease;
}
.task-item:hover { border-color: #b4d6be; }
.task-item.is-done { opacity: 0.62; }
.task-check { appearance: none; width: 23px; height: 23px; margin: 0; border: 2px solid #b6c8bd; border-radius: 8px; background: #fff; cursor: pointer; }
.task-check:checked { border-color: var(--green-700); background: var(--green-700); box-shadow: inset 0 0 0 4px #fff; }
.task-main { min-width: 0; }
.task-title { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -0.04em; }
.is-done .task-title { text-decoration: line-through; }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 5px; color: var(--muted); font-size: 11px; }
.task-tag { padding: 4px 7px; border-radius: 6px; color: var(--green-700); background: var(--green-100); font-weight: 800; }
.task-note { margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.task-cost { color: var(--yellow-700); font-weight: 800; }
.delete-task { width: 32px; height: 32px; border: 0; border-radius: 9px; color: #9aaca0; background: transparent; font-size: 18px; }
.delete-task:hover { color: var(--red-600); background: #fff0ef; }

.empty-state { padding: 34px 20px; border: 1px dashed #c7d8cc; border-radius: 17px; text-align: center; background: rgba(255,255,255,0.62); }
.empty-state .empty-emoji { display: block; margin-bottom: 9px; font-size: 28px; }
.empty-state strong { display: block; font-size: 14px; }
.empty-state p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.crop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.crop-card { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.crop-emoji { display: block; margin-bottom: 9px; font-size: 23px; }
.crop-card strong { display: block; font-size: 13px; }
.crop-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.crop-empty { grid-column: 1 / -1; padding: 19px; border: 1px dashed #c7d8cc; border-radius: 15px; color: var(--muted); text-align: center; font-size: 12px; }

.tip-card { display: flex; align-items: flex-start; gap: 13px; margin-top: 30px; padding: 18px 20px; border: 1px solid #f1dfaa; border-radius: 17px; background: #fffaf0; }
.tip-icon { font-size: 22px; }
.tip-card strong { font-size: 13px; }
.tip-card p { margin: 5px 0 0; color: #806e4a; font-size: 12px; line-height: 1.55; }
.app-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 38px; padding: 18px 0 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(18, 40, 28, 0.48); backdrop-filter: blur(4px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(100%, 520px); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: 25px; border: 1px solid rgba(255,255,255,0.5); border-radius: 23px; background: var(--white); box-shadow: 0 25px 80px rgba(16, 44, 29, 0.2); }
.compact-modal { width: min(100%, 470px); }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.modal-heading h2 { margin: 0; font-size: 24px; letter-spacing: -0.07em; }
.close-button { width: 34px; height: 34px; border-radius: 10px; font-size: 23px; line-height: 1; }
.close-button:hover { background: #d5e9da; }
.field-label { display: block; margin: 15px 0 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
.field-label:first-child { margin-top: 0; }
.field-label span { color: var(--red-600); }
.field-label small { color: var(--muted); font-weight: 500; }
.text-input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #d6e2d9; border-radius: 11px; outline: none; color: var(--ink); background: #fbfdfb; font-size: 13px; }
.text-input:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.13); }
.text-area { min-height: 92px; padding-top: 12px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }
.modal-help { margin: -10px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.inline-form { display: flex; gap: 8px; }
.managed-crops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.managed-crop { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px 7px 11px; border-radius: 9px; color: var(--green-700); background: var(--green-100); font-size: 12px; font-weight: 800; }
.remove-crop { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 6px; color: var(--green-700); background: transparent; font-size: 16px; line-height: 1; }
.remove-crop:hover { color: var(--red-600); background: #fff; }

.toast { position: fixed; right: 20px; bottom: 22px; z-index: 30; max-width: min(340px, calc(100vw - 40px)); padding: 12px 15px; border-radius: 12px; color: #fff; background: var(--green-900); box-shadow: 0 12px 35px rgba(23, 63, 46, 0.24); font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 700px) {
  .app-shell { padding: 0 15px 30px; }
  .topbar { min-height: 70px; }
  .welcome-card { min-height: 180px; padding: 28px 24px; border-radius: 22px; }
  .weather-card { padding: 19px 15px 14px; border-radius: 18px; }
  .shortcut-card { padding: 19px 15px 14px; border-radius: 18px; }
  .purchase-card { padding: 19px 15px 14px; border-radius: 18px; }
  .manufacturer-grid { grid-template-columns: repeat(2, 1fr); }
  .weather-overview { grid-template-columns: 1fr; gap: 8px; }
  .forecast-row { grid-template-columns: repeat(3, 1fr); }
  .forecast-item:nth-child(n+4) { display: none; }
  .sun-badge { width: 64px; height: 64px; border-radius: 20px; font-size: 29px; }
  .stats-grid { gap: 8px; }
  .stat-card { min-height: 86px; padding: 13px 11px; gap: 8px; }
  .stat-icon { width: 31px; height: 31px; border-radius: 10px; font-size: 16px; }
  .stat-label { font-size: 10px; }
  .stat-card strong { font-size: 18px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .quick-action { min-height: 84px; padding: 14px; }
  .quick-action span { font-size: 21px; }
  .section-heading { align-items: flex-start; }
  .section-note { display: none; }
  .crop-grid { grid-template-columns: repeat(2, 1fr); }
  .app-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 430px) {
  .welcome-card { padding: 24px 20px; }
  .welcome-card h1 { font-size: 24px; }
  .welcome-copy { font-size: 12px; }
  .sun-badge { display: none; }
  .weather-heading { flex-direction: column; gap: 10px; }
  .weather-tools { width: 100%; justify-content: flex-end; }
  .shortcut-heading { flex-direction: row; align-items: center; }
  .purchase-heading { flex-direction: row; align-items: center; }
  .purchase-summary { flex-direction: column; }
  .purchase-item { align-items: flex-start; flex-direction: column; gap: 9px; }
  .purchase-item-price { width: 100%; text-align: left; }
  .official-link-row { grid-template-columns: 1fr; }
  .weather-placeholder { align-items: flex-start; flex-wrap: wrap; }
  .weather-placeholder .secondary-button { width: 100%; margin-left: 0; }
  .weather-details { grid-template-columns: repeat(3, 1fr); }
  .weather-detail { padding: 4px 3px; }
  .key-input-row { align-items: stretch; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 21px 18px; }
  .task-item { grid-template-columns: auto 1fr auto; gap: 9px; padding: 13px 11px; }
  .task-meta { gap: 5px; }
  .primary-button.small { padding: 0 10px; }
}
