:root {
  --ink: #26372c;
  --muted: #718078;
  --forest: #3f604a;
  --forest-dark: #2e4937;
  --lime: #e2edae;
  --orange: #e8874c;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --line: #dcded3;
  --shadow: 0 18px 50px rgba(48, 67, 52, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.site-header {
  max-width: 1180px;
  height: 76px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(57, 75, 62, .12);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; letter-spacing: .04em; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand small { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50% 50% 46% 54%; background: var(--forest); color: var(--lime); font-size: 11px; transform: rotate(-8deg); }
.phase-badge { padding: 7px 12px; border: 1px solid #ccd2c7; border-radius: 99px; color: var(--forest); font: 800 10px/1 Arial, sans-serif; letter-spacing: .12em; }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px 100px; }
.hero { min-height: 325px; display: flex; align-items: center; justify-content: space-between; padding: 55px 24px 38px; position: relative; }
.hero::after { content: ""; position: absolute; right: 55px; top: 55px; width: 230px; height: 155px; opacity: .55; background: repeating-radial-gradient(circle at 50% 100%, transparent 0 11px, rgba(63,96,74,.1) 12px 13px); transform: rotate(-7deg); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-number { margin: 0 0 11px; color: var(--orange); font: 900 10px/1.2 Arial, sans-serif; letter-spacing: .22em; }
.hero h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(40px, 5.5vw, 65px); font-weight: 600; line-height: 1.23; letter-spacing: .04em; }
.hero h1 em { font-style: normal; position: relative; z-index: 1; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; left: -2px; right: -3px; bottom: 5px; height: 13px; background: var(--lime); transform: rotate(-1deg); }
.hero-copy > p:last-child { margin: 21px 0 0; color: var(--muted); font-size: 13px; line-height: 2; }
.steps { margin: 0 0 58px; padding: 17px 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: center; gap: 70px; list-style: none; }
.steps li { color: #99a099; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.steps span { margin-right: 9px; font: 800 9px Arial, sans-serif; }
.steps .current { color: var(--forest); }
.steps .current span { color: var(--orange); }

.target-date-section { margin: 0 0 48px; padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid #dedfd5; border-left: 4px solid var(--orange); border-radius: 5px; background: rgba(255,255,255,.5); }
.target-date-section > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.target-date-field { display: flex; align-items: center; gap: 20px; }
.target-date-field > span { display: flex; flex-direction: column; gap: 5px; }
.target-date-field small { color: var(--orange); font: 800 8px Arial; letter-spacing: .14em; }
.target-date-field b { font-family: "Yu Mincho", serif; font-size: 15px; white-space: nowrap; }
.target-date-field input { min-width: 175px; padding: 10px 12px; border: 1px solid #d4d7ce; border-radius: 4px; background: white; color: var(--ink); font-size: 12px; }
.target-date-field input:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(63,96,74,.1); }

.form-section { margin-bottom: 66px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 23px; }
.section-title h2 { margin: 0; font-family: "Yu Mincho", serif; font-size: 27px; font-weight: 600; letter-spacing: .08em; }
.section-title > p { margin: 0 0 4px; color: var(--muted); font-size: 10px; }
.meal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.meal-card { padding: 17px; background: var(--paper); border: 1px solid #e2e1d8; border-radius: 6px; box-shadow: 0 6px 25px rgba(40, 58, 44, .035); transition: transform .2s, box-shadow .2s; }
.meal-card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow); }
.meal-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.meal-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); position: relative; }
.meal-icon::before { content: ""; position: absolute; width: 11px; height: 11px; left: 10px; top: 9px; border: 1px solid var(--forest); border-radius: 50%; }
.meal-icon::after { content: ""; position: absolute; width: 15px; height: 1px; left: 8px; bottom: 8px; background: var(--forest); transform: rotate(-10deg); }
.meal-heading small { color: var(--orange); font: 800 8px Arial; letter-spacing: .16em; }
.meal-heading h3 { margin: 2px 0 0; font-family: "Yu Mincho", serif; font-size: 17px; }
.upload-zone { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; background: #eff0e8; border: 1px dashed #afb9ad; border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s; }
.upload-zone:hover, .upload-zone.dragging { background: #e9eddf; border-color: var(--forest); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.preview-placeholder { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--forest); }
.preview-placeholder strong { font-size: 11px; }
.preview-placeholder small { color: #8a948c; font-size: 8px; }
.camera-icon { width: 34px; height: 25px; border: 1.5px solid var(--forest); border-radius: 4px; position: relative; opacity: .82; }
.camera-icon::before { content: ""; position: absolute; width: 11px; height: 6px; left: 5px; top: -6px; border: 1.5px solid var(--forest); border-bottom: 0; border-radius: 3px 3px 0 0; }
.camera-icon::after { content: ""; position: absolute; width: 9px; height: 9px; left: 11px; top: 6px; border: 1.5px solid var(--forest); border-radius: 50%; }
.meal-preview { display: none; width: 100%; height: 100%; object-fit: cover; }
.replace-label { display: none; position: absolute; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 3px; background: rgba(35,50,39,.76); color: white; font-size: 8px; }
.upload-zone.has-image .meal-preview, .upload-zone.has-image .replace-label { display: block; }
.upload-zone.has-image .preview-placeholder { display: none; }
.file-meta { min-height: 29px; padding: 8px 1px 0; display: flex; justify-content: space-between; gap: 8px; }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8a938b; font-size: 9px; }
.remove-image { padding: 0; border: 0; background: transparent; color: #a66a48; font-size: 9px; cursor: pointer; }
.note-label { display: block; margin: 12px 0 7px; color: var(--forest); font-size: 10px; font-weight: 800; }
textarea { width: 100%; resize: vertical; border: 1px solid #d8d9cf; border-radius: 4px; background: #fff; color: var(--ink); padding: 12px 13px; font-size: 12px; line-height: 1.7; outline: none; }
textarea::placeholder { color: #acb2ab; }
textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(63,96,74,.1); }

.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.wide-field { padding: 17px 18px; border: 1px solid #dedfd5; border-radius: 5px; background: rgba(255,255,255,.45); }
.wide-field.full { grid-column: 1 / -1; }
.wide-field > span { display: flex; align-items: baseline; gap: 9px; margin-bottom: 10px; }
.wide-field b { font-family: "Yu Mincho", serif; font-size: 14px; }
.wide-field small { color: var(--orange); font: 800 8px Arial; letter-spacing: .15em; }
.wide-field textarea { background: rgba(255,255,255,.8); }

.form-error { max-width: 620px; margin: 0 auto 20px; padding: 12px 16px; border-left: 3px solid #bd5f4a; background: #f8e9e4; color: #813e32; font-size: 12px; line-height: 1.6; }
.submit-area { max-width: 560px; margin: 10px auto 0; text-align: center; }
.submit-area > p:first-child { color: var(--muted); font-size: 10px; }
.submit-area > p:first-child span { margin-right: 5px; color: var(--forest); }
.turnstile-panel { width: fit-content; max-width: 100%; margin: 18px auto; display: grid; justify-items: center; gap: 8px; }
.turnstile-panel small { color: var(--muted); font-size: 9px; }
.usage-status { margin: 12px 0; color: var(--forest); font-size: 10px; font-weight: 800; }
.usage-status.limit-reached { color: #a44e36; }
.submit-button { width: 100%; min-height: 78px; margin-top: 10px; padding: 15px 23px; border: 0; border-radius: 5px; background: var(--forest); color: white; display: flex; justify-content: space-between; align-items: center; text-align: left; cursor: pointer; box-shadow: 0 13px 30px rgba(47,75,56,.2); transition: background .2s, transform .2s, box-shadow .2s; }
.submit-button:hover { background: var(--forest-dark); transform: translateY(-2px); box-shadow: 0 17px 35px rgba(47,75,56,.24); }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.submit-button span { display: flex; flex-direction: column; gap: 5px; }

body.is-analyzing { overflow: hidden; }
.analysis-loading[hidden] { display: none; }
.analysis-loading {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(38, 55, 44, .58);
  backdrop-filter: blur(5px);
}
.analysis-loading-card {
  width: min(100%, 430px);
  padding: 42px 34px 36px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(22, 36, 27, .28);
  animation: loading-card-in .25s ease-out;
}
.analysis-stomach { width: 118px; height: 111px; margin: -4px auto 19px; }
.analysis-stomach svg { width: 100%; height: 100%; overflow: visible; }
.stomach-outline { fill: rgba(226, 237, 174, .28); stroke: var(--forest); stroke-width: 4; stroke-linejoin: round; }
.stomach-fill {
  color: var(--forest);
  transform: translateY(75px);
  transform-origin: center;
  animation: stomach-fill-up 38s cubic-bezier(.2, .65, .3, 1) forwards;
}
.stomach-fill > path:first-child { fill: var(--lime); }
.stomach-fill circle { fill: var(--orange); }
.stomach-fill rect { fill: var(--forest); }
.stomach-fill path:not(:first-child) { fill: var(--orange); }
.food-piece { opacity: 0; transform-box: fill-box; transform-origin: center; }
.food-piece-one { fill: var(--orange); animation: food-fall 3.2s ease-in infinite .2s; }
.food-piece-two { fill: var(--forest); animation: food-fall 3.2s ease-in infinite 1.25s; }
.food-piece-three { fill: #9eb85c; animation: food-fall 3.2s ease-in infinite 2.3s; }
.analysis-loading-card .eyebrow { margin-bottom: 12px; }
.analysis-loading-card h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .06em;
}
.analysis-loading-card > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.analysis-loading-card small { color: #929b94; font-size: 9px; }
.analysis-loading-dots {
  height: 24px;
  margin: 14px 0 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.analysis-loading-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  animation: loading-dot 1.1s ease-in-out infinite;
}
.analysis-loading-dots i:nth-child(2) { animation-delay: .16s; }
.analysis-loading-dots i:nth-child(3) { animation-delay: .32s; }

@keyframes stomach-fill-up {
  0% { transform: translateY(75px); }
  20% { transform: translateY(58px); }
  55% { transform: translateY(30px); }
  100% { transform: translateY(0); }
}
@keyframes food-fall {
  0% { opacity: 0; transform: translate(0, -10px) rotate(0); }
  15% { opacity: 1; }
  72% { opacity: 1; transform: translate(19px, 55px) rotate(150deg); }
  100% { opacity: 0; transform: translate(28px, 76px) rotate(210deg); }
}
@keyframes loading-dot {
  0%, 65%, 100% { opacity: .28; transform: translateY(0); }
  32% { opacity: 1; transform: translateY(-5px); }
}
@keyframes loading-card-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.submit-button small { color: #ccd9c6; font-size: 9px; }
.submit-button strong { font-family: "Yu Mincho", serif; font-size: 18px; letter-spacing: .08em; }
.submit-button b { color: var(--lime); font-size: 28px; font-weight: 300; }
.phase-note { margin: 11px 0 0; color: #919991; font-size: 9px; }

.confirmation { max-width: 760px; margin: 65px auto 0; padding: 52px; text-align: center; background: var(--paper); border: 1px solid #dedfd4; border-radius: 7px; box-shadow: var(--shadow); animation: reveal .35s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } }
.success-mark { width: 62px; height: 62px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 28px; }
.confirmation h2 { margin: 0; font-family: "Yu Mincho", serif; font-size: 28px; letter-spacing: .07em; }
.confirmation > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 2; }
.confirmation-meals { margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.confirmation-meal { padding: 15px 10px; background: #f0f2e7; border-radius: 4px; }
.confirmation-meal span { display: block; color: var(--orange); font: 800 8px Arial; letter-spacing: .12em; }
.confirmation-meal strong { display: block; margin: 5px 0; font-family: "Yu Mincho", serif; }
.confirmation-meal small { color: var(--muted); font-size: 8px; }
.privacy-note { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; padding: 16px; text-align: left; background: #f7f2e8; border-left: 3px solid var(--orange); }
.privacy-note > span { color: var(--orange); }
.privacy-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.privacy-note strong { color: var(--ink); }
.secondary-button { min-width: 190px; height: 44px; border: 1px solid var(--forest); border-radius: 4px; background: transparent; color: var(--forest); font-size: 11px; font-weight: 800; cursor: pointer; }

.report { max-width: 960px; margin: 58px auto 0; animation: reveal .35s ease-out; }
.report-heading { min-height: 205px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--forest); color: white; border-radius: 8px; box-shadow: var(--shadow); }
.report-heading h2 { margin: 0; font-family: "Yu Mincho", serif; font-size: 34px; font-weight: 600; letter-spacing: .08em; }
.report-target-date { margin: 10px 0 0; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.daily-summary { max-width: 640px; margin: 17px 0 0; color: #e1e8de; font-size: 12px; line-height: 1.9; }
.overall-score { flex: 0 0 128px; width: 128px; height: 128px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: center; justify-content: center; padding: 22px 20px; border-radius: 50%; background: var(--lime); color: var(--forest-dark); transform: rotate(3deg); }
.overall-score span { grid-column: 1 / -1; text-align: center; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.overall-score strong { font-family: Georgia, serif; font-size: 48px; line-height: 1; }
.overall-score small { align-self: end; margin: 0 0 5px 2px; font-size: 9px; }

.meal-results { margin: 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.result-meal-card { min-width: 0; padding: 22px; background: var(--paper); border: 1px solid #dedfd4; border-radius: 7px; box-shadow: 0 8px 25px rgba(48,67,52,.045); }
.result-meal-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.result-meal-heading span { color: var(--orange); font: 900 8px Arial; letter-spacing: .14em; }
.result-meal-heading h3 { margin: 4px 0 0; font-family: "Yu Mincho", serif; font-size: 21px; }
.meal-score { display: flex; align-items: baseline; color: var(--forest); }
.meal-score strong { font-family: Georgia, serif; font-size: 38px; line-height: 1; }
.meal-score small { margin-left: 3px; font-size: 9px; }
.result-meal-card > h4 { margin: 19px 0 10px; font-size: 10px; }
.recognized-foods { margin: 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.recognized-foods li { padding: 9px 10px; background: #f2f3eb; border-radius: 4px; }
.recognized-foods strong, .recognized-foods span, .recognized-foods small { display: block; }
.recognized-foods strong { font-size: 11px; }
.recognized-foods span { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.recognized-foods small { margin-top: 4px; color: #a07154; font-size: 8px; }
.meal-points { margin-top: 17px; display: grid; gap: 12px; }
.meal-points section { padding-left: 11px; border-left: 2px solid var(--forest); }
.meal-points .meal-improve { border-color: var(--orange); }
.meal-points h4 { margin: 0 0 6px; font-size: 10px; }
.meal-points ul, .report-block ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 10px; line-height: 1.75; }

.report-block { margin-top: 18px; padding: 27px 29px; background: var(--paper); border: 1px solid #dedfd4; border-radius: 7px; }
.report-section-title h3, .report-block h3 { margin: 0 0 16px; font-family: "Yu Mincho", serif; font-size: 19px; }
.nutrition-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.nutrition-item { padding: 13px 14px; background: #f3f3eb; border-radius: 4px; }
.nutrition-item > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nutrition-item strong { font-size: 11px; }
.nutrition-item span { padding: 4px 7px; border-radius: 99px; background: #dfe8c9; color: var(--forest); font-size: 8px; font-weight: 800; white-space: nowrap; }
.nutrition-item[data-level="要改善"] span { background: #f4ddce; color: #8d5135; }
.nutrition-item[data-level="判断困難"] span { background: #e5e5e1; color: #727872; }
.nutrition-item p { margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.report-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.good-block { border-top: 3px solid var(--forest); }
.improve-block { border-top: 3px solid var(--orange); }
.advice-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.advice-card { padding: 24px 26px; border-radius: 7px; }
.advice-card span { font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.advice-card p { margin: 10px 0 0; font-family: "Yu Mincho", serif; font-size: 13px; line-height: 1.85; }
.nutrition-tip { background: var(--lime); }
.tomorrow-advice { background: var(--forest); color: white; }
.png-actions { margin-top: 18px; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid #d8ddd4; border-radius: 7px; background: var(--paper); }
.png-actions h3 { margin: 0 0 8px; font-family: "Yu Mincho", serif; font-size: 20px; }
.png-actions > div > p:last-child { max-width: 590px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.png-button, .download-button, .share-button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; background: var(--orange); color: white; font-size: 11px; font-weight: 900; text-decoration: none; white-space: nowrap; cursor: pointer; }
.png-button:hover, .download-button:hover { background: #d7773e; }
.share-button { background: var(--forest); }
.share-button:hover { background: #31503b; }
.png-button:disabled { opacity: .65; cursor: wait; }
.png-error { margin-top: 15px; }
.png-result { margin-top: 18px; padding: 28px; text-align: center; border: 1px solid #d8ddd4; border-radius: 7px; background: var(--paper); }
.png-result h3 { margin: 0 0 20px; font-family: "Yu Mincho", serif; font-size: 22px; }
.png-result img { width: min(100%, 540px); height: auto; display: block; margin: 0 auto 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.png-result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.png-result p { margin: 13px 0 0; color: var(--muted); font-size: 9px; }
.report > .privacy-note { margin-top: 18px; }
.report > .secondary-button { display: block; margin: 25px auto 0; }

footer { max-width: 1120px; min-height: 140px; margin: 0 auto; padding: 38px 24px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 24px; color: #8c968e; }
footer > span { color: var(--ink); font-weight: 900; }
footer p { font-family: "Yu Mincho", serif; font-size: 12px; }
footer small { margin-left: auto; font: 800 8px Arial; letter-spacing: .12em; }

@media (max-width: 820px) {
  .meal-grid { grid-template-columns: 1fr; }
  .meal-card { display: grid; grid-template-columns: 200px 1fr; column-gap: 17px; }
  .meal-heading { grid-column: 1 / -1; }
  .upload-zone { grid-row: 2 / span 3; }
  .file-meta { grid-column: 1; grid-row: 5; }
  .note-label, .meal-card textarea { grid-column: 2; }
  .meal-results { grid-template-columns: 1fr; }
  .result-meal-card { display: grid; grid-template-columns: minmax(180px, .8fr) 1.2fr; column-gap: 20px; }
  .result-meal-heading { grid-column: 1 / -1; }
  .result-meal-card > h4, .recognized-foods { grid-column: 1; }
  .meal-points { grid-column: 2; grid-row: 2 / span 2; align-content: start; }
  .nutrition-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .site-header { height: 64px; padding: 0 17px; }
  main { padding: 0 16px 75px; }
  .hero { min-height: 315px; padding: 44px 3px 45px; align-items: flex-start; }
  .hero h1 { font-size: 39px; }
  .hero-copy > p:last-child { max-width: 280px; }
  .hero-copy br { display: none; }
  .hero::after { display: none; }
  .steps { margin-bottom: 43px; padding: 14px 5px; gap: 13px; justify-content: space-between; }
  .steps li { font-size: 9px; }
  .steps span { display: block; margin: 0 0 3px; }
  .section-title { align-items: flex-start; }
  .section-title h2 { font-size: 22px; }
  .section-title > p { max-width: 90px; text-align: right; line-height: 1.5; }
  .target-date-section, .target-date-field, .png-actions { align-items: stretch; flex-direction: column; }
  .target-date-section > p { max-width: none; }
  .target-date-field { gap: 12px; }
  .target-date-field input, .png-button { width: 100%; }
  .meal-card { display: block; padding: 14px; }
  .upload-zone { aspect-ratio: 16 / 10; }
  .notes-grid { grid-template-columns: 1fr; }
  .wide-field.full { grid-column: auto; }
  .submit-button { min-height: 72px; }
  .submit-button strong { font-size: 16px; }
  .confirmation { margin-top: 40px; padding: 38px 18px; }
  .confirmation h2 { font-size: 23px; }
  .confirmation-meals { grid-template-columns: 1fr; }
  .report { margin-top: 35px; }
  .report-heading { min-height: 0; padding: 28px 20px; align-items: flex-start; }
  .report-heading h2 { font-size: 24px; }
  .daily-summary { font-size: 11px; }
  .overall-score { flex-basis: 92px; width: 92px; height: 92px; padding: 15px 13px; }
  .overall-score strong { font-size: 34px; }
  .result-meal-card { display: block; padding: 19px 17px; }
  .nutrition-results, .report-columns, .advice-grid { grid-template-columns: 1fr; }
  .report-block { padding: 23px 18px; }
  footer { flex-wrap: wrap; gap: 7px 20px; padding-left: 17px; padding-right: 17px; }
  footer small { width: 100%; margin: 7px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
