:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #f8f7f3;
  --ink: #16181d;
  --muted: #686c75;
  --line: #dedbd3;
  --accent: #e75b34;
  --accent-dark: #b83a1b;
  --accent-soft: #fff0e9;
  --green: #176b4d;
  --green-soft: #e9f6ef;
  --blue: #245c8c;
  --blue-soft: #eef6ff;
  --yellow: #825d06;
  --yellow-soft: #fff6d9;
  --red: #9f2f25;
  --red-soft: #fff0ef;
  --shadow: 0 16px 45px rgba(27, 28, 32, 0.07);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(980px, calc(100% - 28px)); margin-inline: auto; }
.page { padding: 22px 0 70px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 243, 238, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 219, 211, .7);
}
.topbar-inner { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 24px; font-weight: 900; line-height: 1; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.small-button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; }

.hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow);
  position: relative;
}
.hero::after { content: "58.5°"; position: absolute; right: -28px; bottom: -60px; font-size: clamp(92px, 18vw, 180px); font-weight: 950; color: rgba(255,255,255,.035); letter-spacing: -.08em; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 12px; font-weight: 800; color: #ffd5c8; }
.hero h1 { margin: 20px 0 14px; font-size: clamp(38px, 7vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy > p { margin: 0; max-width: 520px; color: rgba(255,255,255,.72); font-size: clamp(15px, 2vw, 18px); }
.hero-note { align-self: end; position: relative; z-index: 1; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.07); }
.hero-note strong { color: #ffd5c8; font-size: 13px; }
.hero-note p { margin: 7px 0 0; color: rgba(255,255,255,.75); font-size: 13px; }

.jump-nav { position: sticky; top: 62px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px; margin: 8px 0 2px; scrollbar-width: none; background: linear-gradient(var(--bg) 78%, rgba(245,243,238,0)); }
.jump-nav::-webkit-scrollbar { display: none; }
.jump-link { flex: 0 0 auto; text-decoration: none; border: 1px solid var(--line); background: rgba(255,255,255,.95); border-radius: 999px; padding: 9px 14px; color: var(--muted); font-size: 13px; font-weight: 800; }
.jump-link.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.panel { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 28px); box-shadow: 0 8px 24px rgba(26,26,26,.035); scroll-margin-top: 126px; }
.primary-panel { box-shadow: var(--shadow); }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-head h2 { margin: 4px 0 3px; font-size: clamp(22px, 4vw, 30px); letter-spacing: -.035em; line-height: 1.2; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.step { color: var(--accent-dark); font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.free-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 900; }

.form-stack { display: grid; gap: 17px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compact-fields { margin-top: 14px; }
.field label, .fieldset-reset legend { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 900; color: #32353c; }
.field input, .field select, select.cut-select {
  width: 100%; min-height: 52px; border: 1px solid #d5d2ca; border-radius: 14px; background: #fff; color: var(--ink); padding: 11px 13px; font-size: 16px; outline: none; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: #99958b; box-shadow: 0 0 0 4px rgba(231,91,52,.08); }
.input-unit { display: flex; align-items: center; min-height: 52px; border: 1px solid #d5d2ca; border-radius: 14px; background: #fff; overflow: hidden; }
.input-unit:focus-within { border-color: #99958b; box-shadow: 0 0 0 4px rgba(231,91,52,.08); }
.input-unit input { border: 0; box-shadow: none !important; min-width: 0; }
.input-unit span { padding: 0 13px 0 2px; color: var(--muted); font-size: 14px; font-weight: 800; white-space: nowrap; }
.field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.fieldset-reset { margin: 0; padding: 0; border: 0; min-width: 0; }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span { display: flex; min-height: 78px; flex-direction: column; justify-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 15px; padding: 12px; background: #fff; transition: .15s; }
.choice-card strong { font-size: 14px; }
.choice-card small { color: var(--muted); font-size: 11px; }
.choice-card input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice-card.recommended span::after { content: "人気"; align-self: flex-start; margin-top: 3px; color: var(--accent-dark); font-size: 10px; font-weight: 900; }

.advanced { border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.advanced summary { cursor: pointer; padding: 13px 15px; font-size: 13px; font-weight: 850; }
.advanced-body { padding: 0 15px 10px; }
.advanced .fineprint { padding: 0 15px 14px; }
.fineprint { margin: 7px 0 0; color: var(--muted); font-size: 11px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 14px; padding: 12px 18px; font-weight: 900; cursor: pointer; text-decoration: none; transition: transform .08s, opacity .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { width: 100%; background: var(--accent); color: #fff; box-shadow: 0 10px 20px rgba(231,91,52,.16); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.secondary { margin-top: 15px; background: var(--ink); color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.text { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.btn.full { width: 100%; margin-top: 10px; }
.btn[disabled] { opacity: .55; cursor: default; }

.result-box { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.result-hero { border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); padding: 20px; }
.result-hero.compact { padding: 18px; }
.result-hero.safe-mode { background: var(--green-soft); border-color: #b9dfcc; }
.result-hero.danger-soft { background: var(--red-soft); border-color: #f2c9c5; }
.result-hero.success-soft { background: var(--green-soft); border-color: #b9dfcc; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.result-number { margin-top: 3px; font-size: clamp(34px, 8vw, 58px); line-height: 1; font-weight: 950; letter-spacing: -.055em; }
.time-line { margin-top: 8px; color: var(--accent-dark); font-size: 23px; font-weight: 900; }
.result-hero p { margin: 10px 0 0; color: var(--muted); }
.taste-copy { max-width: 680px; }
.meta-row { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.meta-pill { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 9px; color: var(--muted); font-size: 11px; font-weight: 800; }
.meta-pill.accent { border-color: #ffc2af; background: var(--accent-soft); color: var(--accent-dark); }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.metric { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; }
.metric span { color: var(--muted); font-size: 11px; }
.metric strong { font-size: 18px; }
.notice { margin-top: 10px; padding: 12px 14px; border-radius: 14px; font-size: 12px; }
.notice.ok { background: var(--green-soft); color: #14563f; }
.notice.warn { background: var(--yellow-soft); color: #70500b; }
.notice.danger { background: var(--red-soft); color: var(--red); }
.notice.info { background: var(--blue-soft); color: var(--blue); }
.finish-box { margin-top: 10px; padding: 15px; border-left: 3px solid var(--accent); background: #fff8f5; border-radius: 0 14px 14px 0; }
.finish-box h4 { margin: 0 0 4px; font-size: 13px; }
.finish-box p { margin: 0; color: var(--muted); font-size: 12px; }
.actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.actions-row .btn { margin: 0; }

.details-block { margin-top: 13px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.details-block summary { padding: 13px 15px; cursor: pointer; font-size: 13px; font-weight: 900; }
.details-block > p { padding: 0 15px; margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.source-list { margin: 0; padding: 0 18px 14px 34px; }
.source-list li { margin: 9px 0; }
.source-list a { color: #315a79; font-size: 12px; font-weight: 800; }
.source-list small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

.ad-slot { margin: 14px 0; min-height: 90px; border-radius: 14px; overflow: hidden; }
.content-ad { background: rgba(255,255,255,.4); }

.multi-list { display: grid; gap: 9px; margin-top: 14px; }
.multi-item { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.multi-item .remove-link { margin-top: 7px; border: 0; background: transparent; color: var(--red); padding: 3px 0; font-size: 11px; font-weight: 800; cursor: pointer; }
.schedule-list { margin-top: 10px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.schedule-row { display: grid; grid-template-columns: minmax(0,1.4fr) auto; gap: 3px 10px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row strong { font-size: 13px; }
.schedule-row > span { font-size: 13px; font-weight: 900; }
.schedule-row small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }

.history-list { display: grid; gap: 8px; }
.history-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; }
.history-item div:first-child { display: flex; flex-direction: column; }
.history-item small { color: var(--muted); font-size: 10px; }
.history-main { font-weight: 900; }
.history-sub { color: var(--muted); font-size: 11px; }
.muted { color: var(--muted); font-size: 13px; }
.pro-strip { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; background: var(--ink); color: #fff; }
.pro-strip p { margin: 3px 0 0; color: rgba(255,255,255,.65); font-size: 12px; }
.pro-kicker { display: inline-flex; color: #ffb49e; font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.pro-strip .btn { background: #fff; color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.product-card { display: flex; flex-direction: column; padding: 15px; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; }
.product-card span { color: var(--muted); font-size: 12px; }
.product-card small { margin-top: 9px; color: var(--accent-dark); font-weight: 850; }

.safety-panel { background: #fbfaf7; }
.safety-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.safety-grid article { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.safety-grid strong { font-size: 13px; }
.safety-grid p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.legal-note { margin-top: 13px; padding: 15px; border-radius: 15px; background: #f2efe7; }
.legal-note strong { font-size: 12px; }
.legal-note p { margin: 5px 0 0; color: #55565b; font-size: 11px; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.plan-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.plan-card > span { font-size: 10px; font-weight: 950; letter-spacing: .1em; color: var(--muted); }
.plan-card h3 { margin: 4px 0 12px; font-size: 24px; }
.plan-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 12px; }
.plan-card li { margin: 5px 0; }
.pro-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.pro-card > span { color: #ffb49e; }
.pro-card ul { color: rgba(255,255,255,.72); }
.pro-card .btn { width: 100%; margin-top: 14px; background: #fff; color: var(--ink); }

.footer { border-top: 1px solid var(--line); padding: 30px 0 45px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.footer nav a { color: var(--muted); font-size: 11px; }

.pro-dialog { width: min(520px, calc(100% - 28px)); border: 0; border-radius: 24px; padding: 28px; color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.pro-dialog::backdrop { background: rgba(14,15,18,.6); backdrop-filter: blur(3px); }
.pro-dialog h2 { margin: 7px 0 8px; letter-spacing: -.035em; }
.pro-dialog > p { color: var(--muted); font-size: 13px; }
.dialog-close { position: absolute; top: 13px; right: 13px; width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; }
.check-list { margin: 14px 0; padding-left: 20px; font-size: 13px; }
.dialog-price { margin: 14px 0; font-size: 20px; font-weight: 950; }
.pro-dialog .btn { width: 100%; }
code { background: #f1efe9; padding: 2px 5px; border-radius: 5px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 27px 22px; }
  .credo-panel { grid-template-columns: 1fr; padding: 22px; }
  .hero-note { margin-top: 3px; }
  .grid.four { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr 1fr; }
  .choice-card span { min-height: 84px; padding: 10px 8px; }
  .choice-card strong { font-size: 13px; }
  .choice-card small { font-size: 10px; }
  .result-grid, .actions-row, .plan-grid, .safety-grid, .product-grid { grid-template-columns: 1fr; }
  .pro-strip { grid-template-columns: 1fr; }
  .pro-strip .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .shell { width: min(100% - 20px, 980px); }
  .page { padding-top: 12px; }
  .panel { padding: 17px 14px; border-radius: 18px; }
  .hero { border-radius: 22px; }
  .hero h1 { font-size: 40px; }
  .choice-grid { gap: 6px; }
  .choice-card small { display: none; }
  .choice-card span { min-height: 62px; }
  .topbar-inner { height: 56px; }
  .jump-nav { top: 56px; }
}

/* Community reviews */
.community-panel { background: #fffdfa; }
.community-root { margin-top: 14px; }
.community-controls { align-items: end; }
.community-inline { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fffdfa; }
.community-inline-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 13px; }
.community-inline-head span { display: block; color: var(--accent-dark); font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.community-inline-head h3 { margin: 2px 0 1px; font-size: 20px; letter-spacing: -.025em; }
.community-inline-head p { margin: 0; color: var(--muted); font-size: 11px; }
.community-loading, .community-coming, .community-empty { padding: 16px; border-radius: 15px; background: var(--surface-2); color: var(--muted); font-size: 12px; }
.community-coming strong, .community-empty strong { color: var(--ink); }
.community-coming p, .community-empty p { margin: 5px 0 0; }
.community-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.community-stats > div { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.community-stats small { display: block; color: var(--muted); font-size: 10px; }
.community-stats strong { display: block; margin-top: 2px; font-size: 17px; }
.popular-temps { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 9px; }
.popular-temps > small { color: var(--muted); font-weight: 800; margin-right: 2px; }
.popular-temps > span { padding: 5px 8px; border-radius: 999px; border: 1px solid #ffd3c5; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 850; }
.popular-temps b { font-size: 10px; color: var(--muted); }
.nearby-head, .community-browser-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 18px 0 9px; }
.nearby-head strong, .community-browser-head strong { font-size: 13px; }
.nearby-head small, .community-browser-head small { color: var(--muted); font-size: 10px; }
.community-review-list { display: grid; gap: 9px; }
.browser-list { margin-top: 10px; }
.community-review { padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.review-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.review-topline > div { display: flex; gap: 6px; align-items: center; min-width: 0; }
.review-topline strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.review-topline time { flex: 0 0 auto; color: var(--muted); font-size: 9px; }
.mine-badge { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 9px; font-weight: 900; }
.review-score-row { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.review-stars { color: #d58000; letter-spacing: .04em; font-size: 14px; }
.review-score-row strong { font-size: 12px; }
.review-condition { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.review-condition b { font-size: 18px; }
.review-condition span { padding: 3px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 10px; font-weight: 800; }
.review-doneness { margin: 7px 0 0; font-size: 11px; font-weight: 850; }
.review-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.review-tags span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; }
.review-comment { margin: 9px 0 0; color: #3d4047; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-report, .review-delete { margin-top: 9px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 9px; text-decoration: underline; cursor: pointer; }
.review-delete { color: var(--red); }
.review-report-confirmation { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.review-report-confirmation > p:first-child { margin: 0 0 8px; color: var(--muted); font-size: 10px; }
.review-report-confirmation .captcha-slot { max-width: 100%; overflow: hidden; }
.review-report-submit { margin-top: 8px; }
.review-report-status { margin: 7px 0 0; min-height: 1.4em; color: var(--muted); font-size: 10px; }
.review-form-wrap { margin-top: 14px; border: 1px solid #f2c4b5; border-radius: 16px; background: #fff8f5; }
.review-form-wrap > summary { padding: 14px 16px; cursor: pointer; color: var(--accent-dark); font-size: 13px; font-weight: 900; }
.review-form { display: grid; gap: 14px; padding: 0 16px 16px; }
.review-form-intro strong { font-size: 13px; }
.review-form-intro p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.review-form textarea { width: 100%; border: 1px solid #d5d2ca; border-radius: 14px; background: #fff; color: var(--ink); padding: 11px 13px; resize: vertical; outline: none; }
.review-form textarea:focus { border-color: #99958b; box-shadow: 0 0 0 4px rgba(231,91,52,.08); }
.review-time-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.review-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.review-fieldset legend { margin-bottom: 7px; color: #32353c; font-size: 12px; font-weight: 900; }
.review-fieldset legend small { color: var(--muted); font-weight: 500; }
.rating-choice { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; }
.rating-choice label, .doneness-choice label, .tag-choice label { position: relative; cursor: pointer; }
.rating-choice input, .doneness-choice input, .tag-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rating-choice span { display: flex; justify-content: center; gap: 3px; padding: 9px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; font-weight: 900; }
.rating-choice b { color: #d58000; }
.rating-choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.doneness-choice { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.doneness-choice span { display: grid; place-items: center; min-height: 54px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; font-size: 10px; font-weight: 800; line-height: 1.35; }
.doneness-choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.tag-choice { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-choice span { display: inline-flex; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 10px; font-weight: 800; }
.tag-choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.review-safety-note { padding: 10px 12px; border-radius: 12px; background: var(--yellow-soft); color: #70500b; font-size: 10px; }
.review-safety-note.standalone { margin-top: 13px; }
.review-consent { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 10px; }
.review-consent input { margin-top: 3px; }
.review-submit { margin-top: 0 !important; }
.review-form-status { margin: -5px 0 0; min-height: 1.4em; color: var(--muted); font-size: 10px; }
.captcha-slot { min-height: 65px; }
.community-disclaimer { margin: 10px 0 0; color: var(--muted); font-size: 9px; }

@media (max-width: 760px) {
  .community-stats { grid-template-columns: 1fr; }
  .doneness-choice { grid-template-columns: 1fr; }
  .review-time-inputs { grid-template-columns: 1fr; }
  .nearby-head, .community-browser-head { align-items: flex-start; flex-direction: column; gap: 2px; }
}

.hero-credo { margin-top: 16px !important; color: #fff !important; font-size: 14px !important; font-weight: 900; letter-spacing: .04em; }

.credo-panel { margin: 18px 0 24px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 18px; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff 0%, #fbf7f0 100%); }
.credo-lead h2 { margin: 5px 0 13px; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.045em; }
.credo-lead p { margin: 10px 0 0; color: #55565b; font-size: 13px; line-height: 1.9; }
.credo-lead .credo-closing { margin-top: 17px; color: var(--ink); font-weight: 850; }
.credo-values { display: grid; gap: 9px; align-content: start; }
.credo-values article { padding: 14px 15px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.84); }
.credo-values strong { display: block; font-size: 13px; }
.credo-values span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.6; }


/* One-shot primary flow */
.one-shot-promise{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;padding:.85rem 1rem;border-radius:14px;background:var(--surface-soft,#f5f7fb);font-size:.92rem}
.one-shot-promise strong{font-size:1rem}
.one-shot-promise span{color:var(--muted,#667085)}
.preference-details{margin-top:.15rem}
.one-shot-button{font-size:1.06rem;font-weight:800;min-height:54px}
@media (max-width:640px){.one-shot-promise{display:block}.one-shot-promise span{display:block;margin-top:.2rem}.one-shot-button{width:100%}}


/* TPO + separated safety + companion cooking */
.tpo-intro{margin:0 0 12px;padding:10px 12px;border-left:3px solid var(--accent);background:#fffaf7;border-radius:0 10px 10px 0;color:var(--muted);font-size:11px;line-height:1.65}
.tpo-intro strong{color:var(--ink)}
.timing-choice{grid-template-columns:repeat(2,minmax(0,1fr))}
.timing-mode{margin-bottom:12px}
#deadlineFields{padding:12px;border:1px dashed var(--line);border-radius:14px;background:#fff}
.subsection-label{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-bottom:10px;font-size:14px;font-weight:900;color:var(--ink)}
.subsection-label span{font-size:10px;color:var(--muted);font-weight:700}
.safety-separate{margin-top:16px;padding:16px;border:1px solid #b8d6e8;border-radius:18px;background:#f4faff}
.safety-separate .notice{margin-top:10px}
.safety-separate-note{margin:9px 0 0;color:var(--muted);font-size:9px;line-height:1.6}
.companion-section{margin-top:16px;padding:16px;border:1px solid #cfe1c8;border-radius:18px;background:#f8fcf6}
.companion-lead{margin:0 0 11px;color:var(--muted);font-size:11px;line-height:1.65}
.companion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.companion-card,.practice-card{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.companion-card small,.practice-card small{display:block;color:var(--muted);font-size:9px;font-weight:800}
.companion-card strong,.practice-card strong{display:block;margin-top:3px;font-size:12px;line-height:1.45}
.companion-card span{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.5}
.companion-card .btn{margin-top:8px;padding-left:0;padding-right:0;text-align:left}
.companion-caution{margin:8px 0 0;color:var(--muted);font-size:9px;line-height:1.55}
.practice-card{margin-top:10px}
.practice-card p{margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.65}
.practice-card a{display:inline-block;margin-top:7px;font-size:10px;font-weight:850;color:var(--accent-dark)}
.featured-practice{border-color:#e4c37b;background:#fffdf6}
@media (max-width:760px){.timing-choice,.companion-grid{grid-template-columns:1fr}.safety-separate,.companion-section{padding:13px}}

/* Research-backed taste / safety / companion layers */
.taste-evidence{margin-top:16px;padding:16px;border:1px solid #d7dff1;border-radius:18px;background:#f8faff}
.evidence-snapshot{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.evidence-snapshot>div{padding:12px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.evidence-snapshot small{display:block;color:var(--muted);font-size:9px;font-weight:800}
.evidence-snapshot strong{display:block;margin-top:4px;font-size:17px;line-height:1.25}
.evidence-summary{margin:10px 0 0;color:var(--ink);font-size:11px;line-height:1.75}
.evidence-details{margin-top:10px;background:#fff}
.source-kind{display:inline-flex;margin-right:6px;padding:2px 6px;border-radius:999px;background:#eef1f5;color:#58616c;font-size:8px;font-weight:900;vertical-align:1px}
.research-date{margin:8px 0 0;color:var(--muted);font-size:9px;line-height:1.5}
.safety-status{padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.safety-status strong,.safety-status span{display:block}.safety-status strong{font-size:12px}.safety-status span{margin-top:3px;color:var(--muted);font-size:10px}
.safety-status.culinary{background:#fff8f7;border-color:#f0c6c2}
.public-baseline{margin-top:10px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.public-baseline strong,.public-baseline span{display:block}.public-baseline strong{font-size:10px}.public-baseline span{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.65}
.companion-minihead{margin:12px 0 7px;font-size:10px;font-weight:900;color:#356044}.companion-minihead.after{color:#7a5b19}
.companion-card.curated p{margin:6px 0 0;color:var(--muted);font-size:9px;line-height:1.55}
.companion-card.curated a{display:inline-block;margin-top:7px;font-size:9px;font-weight:850;color:var(--accent-dark)}
.companion-timing{margin-top:8px;padding:8px;border-radius:10px;background:#eef8ef;color:#255536;font-size:9px;font-weight:850;line-height:1.45}
.companion-safety{margin-top:6px;color:#74560d;font-size:8.5px;line-height:1.5}
.empty-companion{padding:12px;border:1px dashed #c7d7c1;border-radius:14px;background:#fff}.empty-companion strong,.empty-companion span{display:block}.empty-companion strong{font-size:10px}.empty-companion span{margin-top:3px;color:var(--muted);font-size:9px}
.companion-calculated{margin-top:10px;background:#fff}.companion-calculated .companion-grid{padding:10px}
@media(max-width:760px){.evidence-snapshot{grid-template-columns:1fr}.taste-evidence{padding:13px}}


/* Research / transparency page */
.research-hero { margin-top: 14px; padding: clamp(24px,5vw,44px); border-radius: 26px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.research-hero .step { color: #ffd5c8; }
.research-hero h1 { margin: 8px 0 12px; max-width: 760px; font-size: clamp(34px,6vw,58px); line-height: 1.05; letter-spacing: -.05em; }
.research-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.85; }
.research-date-badge { display: inline-flex; margin-top: 16px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 850; }
.method-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; counter-reset: method; }
.method-step { position: relative; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.method-step::before { counter-increment: method; content: counter(method); display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 9px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 900; }
.method-step strong { display: block; font-size: 12px; }
.method-step span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.source-tier-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.source-tier { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.source-tier b { display: block; color: var(--accent-dark); font-size: 10px; }
.source-tier strong { display: block; margin-top: 4px; font-size: 12px; }
.source-tier p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.example-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; font-size: 11px; }
.example-table th, .example-table td { padding: 10px 11px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.example-table th { background: var(--surface-2); font-size: 10px; }
.example-table tr:last-child td { border-bottom: 0; }
.example-table td strong { white-space: nowrap; }
.research-callout { padding: 15px 16px; border-radius: 16px; background: var(--blue-soft); color: #244f77; font-size: 11px; line-height: 1.75; }
.research-callout.warn { background: var(--yellow-soft); color: #6c4e0b; }
.research-callout strong { color: inherit; }
.research-sources { display: grid; gap: 8px; }
.research-source { padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.research-source .source-kind { margin-bottom: 4px; }
.research-source a { font-size: 11px; font-weight: 850; color: var(--accent-dark); }
.research-source p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.research-back { display: inline-flex; margin-top: 14px; font-size: 12px; font-weight: 850; color: var(--accent-dark); }
@media(max-width:900px){.method-flow,.source-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.method-flow,.source-tier-grid{grid-template-columns:1fr}.example-table{font-size:10px}.example-table th,.example-table td{padding:8px 7px}.research-hero{border-radius:22px}}


.companion-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.companion-actions a{font-size:.9rem;font-weight:700}
.companion-plan-output{margin-top:16px}
.companion-plan-box{border:1px solid rgba(17,24,39,.12);border-radius:18px;padding:18px;background:linear-gradient(180deg,#fff,#f8f6f1)}
.companion-plan-head{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.companion-plan-head span{font-size:.72rem;letter-spacing:.12em;font-weight:800;opacity:.65}
.companion-plan-head strong{font-size:1.05rem}
.companion-plan-rows{display:grid;gap:8px;margin:12px 0}
.companion-plan-row{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:10px 0;border-top:1px solid rgba(17,24,39,.08)}
.companion-plan-row:first-child{border-top:0}
.companion-plan-row>strong{font-variant-numeric:tabular-nums}
.companion-plan-row span{display:flex;gap:8px;flex-wrap:wrap}
.companion-plan-row span b{min-width:120px}
@media(max-width:640px){.companion-plan-row{grid-template-columns:72px 1fr}.companion-plan-row span{display:block}.companion-plan-row span b{display:block;min-width:0;margin-bottom:2px}}

/* Mobile layout hardening — keep these rules last so later component styles cannot override them. */
.credo-lead,
.credo-values,
.hero-copy,
.hero-note,
.panel,
.field,
.fieldset-reset {
  min-width: 0;
}

@media (max-width: 760px) {
  .credo-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }
  .credo-lead,
  .credo-values {
    width: 100%;
  }
  .credo-lead h2 {
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.15;
  }
  .credo-lead p,
  .credo-values span,
  .credo-values strong {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .credo-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .credo-panel {
    margin: 14px 0 20px;
    padding: 18px 16px;
    border-radius: 20px;
  }
  .credo-lead h2 {
    margin-top: 4px;
    font-size: 29px;
  }
  .credo-lead p {
    font-size: 13px;
    line-height: 1.85;
  }
  .credo-values article {
    padding: 13px 14px;
  }
  .hero {
    padding: 24px 18px;
  }
  .hero h1 {
    font-size: clamp(34px, 10vw, 40px);
  }
  .brand {
    gap: 8px;
    font-size: 15px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .small-button {
    padding: 7px 11px;
  }
}

/* 2026-08-11: final mobile Credo override.
   Keep this block at the END of the stylesheet so desktop Credo rules cannot override it. */
@media (max-width: 760px) {
  .credo-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    padding: 20px 18px;
    overflow: hidden;
  }
  .credo-lead,
  .credo-values {
    min-width: 0;
    width: 100%;
  }
  .credo-lead h2 {
    margin-top: 4px;
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.24;
    letter-spacing: -0.04em;
  }
  .credo-lead p {
    font-size: 13px;
    line-height: 1.85;
  }
  .credo-values {
    grid-template-columns: 1fr;
  }
  .credo-values article {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .credo-panel { padding: 18px 15px; }
  .credo-lead h2 { font-size: 30px; }
}

/* ============================================================
   Editorial / human visual direction v1
   2026-08-11 — reduce generic SaaS/AI visual patterns
   ============================================================ */
.editorial-v1 {
  --bg: #f4f0e7;
  --surface: #fbf9f3;
  --surface-2: #f0ebe1;
  --ink: #24231f;
  --muted: #716c62;
  --line: #cfc8bb;
  --accent: #a9462c;
  --accent-dark: #82331f;
  --accent-soft: #f4e5dc;
  --green: #3d5e48;
  --green-soft: #edf1e9;
  --blue: #435f70;
  --blue-soft: #edf1f2;
  --yellow: #735a22;
  --yellow-soft: #f5eed9;
  --red: #873c32;
  --red-soft: #f4e6e3;
  --shadow: none;
  --radius: 8px;
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  letter-spacing: .005em;
}
.editorial-v1 .shell { width: min(820px, calc(100% - 32px)); }
.editorial-v1 .page { padding: 32px 0 76px; }

/* quiet header, not an app dashboard */
.editorial-v1 .topbar {
  position: static;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.editorial-v1 .topbar-inner { height: 68px; }
.editorial-v1 .brand { gap: 10px; font-weight: 800; letter-spacing: -.035em; }
.editorial-v1 .brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); font-size: 19px; font-weight: 700;
}
.editorial-v1 .small-button { border-radius: 4px; background: transparent; }

/* editorial opening: no black hero, no giant ghost number, no gradient */
.editorial-v1 .hero {
  display: block;
  overflow: visible;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 54px 0 34px;
  border-top: 4px solid var(--accent);
  box-shadow: none;
}
.editorial-v1 .hero::after { display: none; }
.editorial-v1 .hero-copy { max-width: 690px; }
.editorial-v1 .hero-badge {
  display: block; padding: 0; border: 0; border-radius: 0;
  color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em;
}
.editorial-v1 .hero h1 {
  margin: 14px 0 20px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", Georgia, serif;
  font-size: clamp(42px, 7.8vw, 67px);
  line-height: 1.16;
  letter-spacing: -.06em;
  font-weight: 700;
}
.editorial-v1 .hero-copy > p { max-width: 650px; color: #555046; font-size: 15px; line-height: 1.95; }
.editorial-v1 .hero-story { margin: 0 !important; }
.editorial-v1 .hero-guide { margin-top: 12px !important; }
.editorial-v1 .hero-credo {
  margin-top: 24px !important; color: var(--ink) !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 15px !important; font-weight: 700; letter-spacing: .04em;
}
.editorial-v1 .hero-note {
  margin-top: 34px; max-width: 650px; padding: 13px 0 13px 18px;
  border: 0; border-left: 2px solid var(--line); border-radius: 0; background: transparent;
}
.editorial-v1 .hero-note strong { color: var(--ink); font-size: 12px; }
.editorial-v1 .hero-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* navigation becomes a small table-of-contents line, not pills */
.editorial-v1 .jump-nav {
  position: static; gap: 0; padding: 0 0 13px; margin: 0 0 22px;
  border-bottom: 1px solid var(--line); background: transparent;
}
.editorial-v1 .jump-link {
  border: 0; border-right: 1px solid var(--line); background: transparent;
  border-radius: 0; padding: 4px 12px; color: var(--muted); font-size: 11px; font-weight: 700;
}
.editorial-v1 .jump-link:first-child { padding-left: 0; }
.editorial-v1 .jump-link:last-child { border-right: 0; }
.editorial-v1 .jump-link.active { background: transparent; color: var(--accent-dark); }

/* sections: fewer floating cards */
.editorial-v1 .panel {
  margin-top: 0; padding: 34px 0;
  background: transparent; border: 0; border-top: 1px solid var(--line);
  border-radius: 0; box-shadow: none; scroll-margin-top: 20px;
}
.editorial-v1 .primary-panel {
  margin: 0 0 38px;
  padding: 28px 28px 30px;
  background: #fbf8f1;
  border: 1px solid #c8c0b2;
  border-top: 3px solid var(--ink);
  border-radius: 5px;
  box-shadow: none;
}
.editorial-v1 .section-head { margin-bottom: 23px; }
.editorial-v1 .section-head h2 {
  margin: 4px 0 4px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(24px, 4vw, 31px); line-height: 1.35; letter-spacing: -.04em; font-weight: 700;
}
.editorial-v1 .section-head p { max-width: 580px; color: var(--muted); font-size: 13px; }
.editorial-v1 .step { color: var(--accent-dark); font-size: 10px; letter-spacing: .05em; font-weight: 800; }
.editorial-v1 .free-badge {
  padding: 0; border-radius: 0; background: transparent; color: var(--muted);
  border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700;
}

/* form controls: useful objects, not rounded UI candy */
.editorial-v1 .field label, .editorial-v1 .fieldset-reset legend { font-size: 12px; }
.editorial-v1 .field input,
.editorial-v1 .field select,
.editorial-v1 select.cut-select,
.editorial-v1 .input-unit {
  border-color: #bdb5a7; border-radius: 4px; background: #fffdf8;
}
.editorial-v1 .field input:focus, .editorial-v1 .field select:focus,
.editorial-v1 .input-unit:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(36,35,31,.07); }
.editorial-v1 .one-shot-promise {
  padding: 10px 0; border-radius: 0; background: transparent; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  color: var(--muted); font-size: 12px;
}
.editorial-v1 .one-shot-promise strong { color: var(--ink); font-size: 12px; }
.editorial-v1 .advanced {
  border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent;
}
.editorial-v1 .advanced + .advanced { border-top: 0; }
.editorial-v1 .advanced summary { padding: 12px 2px; font-size: 12px; }
.editorial-v1 .advanced-body { padding: 4px 0 14px; }
.editorial-v1 .advanced .fineprint { padding: 0 0 14px; }
.editorial-v1 .choice-card span {
  min-height: 74px; border-radius: 4px; border-color: #c5bdaf; background: #fffdf8;
}
.editorial-v1 .choice-card input:checked + span { border-color: var(--ink); background: #f0ece3; box-shadow: inset 0 0 0 1px var(--ink); }
.editorial-v1 .choice-card.recommended span::after { color: var(--accent-dark); }
.editorial-v1 .btn { border-radius: 4px; box-shadow: none; }
.editorial-v1 .btn.primary { background: var(--accent-dark); box-shadow: none; }
.editorial-v1 .btn.primary:hover { background: #672918; }
.editorial-v1 .btn.secondary, .editorial-v1 .btn.dark { background: var(--ink); }
.editorial-v1 .btn.text { background: transparent; border-color: var(--line); }

/* answers should read like a kitchen note */
.editorial-v1 .result-box { margin-top: 26px; padding-top: 24px; }
.editorial-v1 .result-hero {
  border-radius: 2px; background: #fffdf8; border: 0; border-left: 4px solid var(--accent-dark); padding: 22px 22px 22px 24px;
}
.editorial-v1 .result-number {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 700;
}
.editorial-v1 .time-line { color: var(--ink); }
.editorial-v1 .meta-pill { border-radius: 2px; background: transparent; }
.editorial-v1 .meta-pill.accent { border-color: #c9b2a7; background: transparent; color: var(--accent-dark); }
.editorial-v1 .metric { border-radius: 2px; border-width: 0 0 1px; padding: 12px 0; }
.editorial-v1 .notice { border-radius: 2px; }
.editorial-v1 .finish-box { border-radius: 0; background: #f8f2e8; }

/* credo is a piece of writing, not a feature grid */
.editorial-v1 .credo-panel {
  display: block; margin: 46px 0 20px; padding: 48px 0;
  border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent;
}
.editorial-v1 .credo-lead { max-width: 670px; }
.editorial-v1 .credo-lead h2 {
  margin: 10px 0 22px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(31px, 6vw, 48px); line-height: 1.4; letter-spacing: -.055em; font-weight: 700;
}
.editorial-v1 .credo-lead p { margin: 14px 0 0; color: #555046; font-size: 14px; line-height: 2.05; }
.editorial-v1 .credo-lead .credo-closing {
  margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line);
  color: var(--ink); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 16px; line-height: 2.05; font-weight: 700;
}
.editorial-v1 .credo-values {
  margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 670px;
  border-top: 1px solid var(--line);
}
.editorial-v1 .credo-values article {
  padding: 16px 18px 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
}
.editorial-v1 .credo-values article:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.editorial-v1 .credo-values strong { font-size: 12px; }
.editorial-v1 .credo-values span { font-size: 11px; }

/* community / safety / reviews: document-like, not card-wall */
.editorial-v1 .community-panel { background: transparent; }
.editorial-v1 .community-inline, .editorial-v1 .community-review,
.editorial-v1 .community-stats > div, .editorial-v1 .review-form-wrap {
  border-radius: 3px; box-shadow: none;
}
.editorial-v1 .community-stats > div { background: transparent; border-width: 0 0 1px; padding-left: 0; }
.editorial-v1 .community-review { background: #fbf8f1; }
.editorial-v1 .popular-temps > span, .editorial-v1 .review-tags span,
.editorial-v1 .review-condition span { border-radius: 2px; }
.editorial-v1 .safety-grid { gap: 0; border-top: 1px solid var(--line); }
.editorial-v1 .safety-grid article {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 18px 0;
}
.editorial-v1 .legal-note { border-radius: 2px; }
.editorial-v1 .details-block { border-radius: 2px; }

/* do not sell before the service earns trust */
.editorial-v1 .pro-strip,
.editorial-v1 .monetization-panel,
.editorial-v1 .top-actions .open-pro { display: none !important; }

.editorial-v1 .footer { border-top: 1px solid var(--ink); background: transparent; }
.editorial-v1 .footer-inner { padding-top: 30px; padding-bottom: 40px; }
.editorial-v1 .footer-inner > div p { max-width: 500px; }

@media (max-width: 760px) {
  .editorial-v1 .shell { width: min(100% - 28px, 820px); }
  .editorial-v1 .page { padding-top: 18px; }
  .editorial-v1 .topbar-inner { height: 58px; }
  .editorial-v1 .hero { padding: 38px 0 27px; }
  .editorial-v1 .hero h1 { font-size: clamp(37px, 11.5vw, 50px); }
  .editorial-v1 .hero-copy > p { font-size: 14px; line-height: 1.9; }
  .editorial-v1 .hero-note { margin-top: 26px; }
  .editorial-v1 .jump-nav { margin-bottom: 18px; }
  .editorial-v1 .jump-link { padding: 4px 9px; font-size: 10px; }
  .editorial-v1 .primary-panel { padding: 23px 18px 25px; margin-bottom: 28px; }
  .editorial-v1 .panel { padding: 28px 0; }
  .editorial-v1 .section-head { margin-bottom: 18px; }
  .editorial-v1 .credo-panel { margin-top: 28px; padding: 38px 0; }
  .editorial-v1 .credo-values { grid-template-columns: 1fr; }
  .editorial-v1 .credo-values article:nth-child(even) { padding-left: 0; border-left: 0; }
}

@media (max-width: 420px) {
  .editorial-v1 .shell { width: calc(100% - 24px); }
  .editorial-v1 .hero h1 { font-size: 38px; }
  .editorial-v1 .hero-badge { font-size: 10px; }
  .editorial-v1 .choice-grid { grid-template-columns: 1fr; }
  .editorial-v1 .choice-card small { display: block; }
  .editorial-v1 .choice-card span { min-height: 60px; }
  .editorial-v1 .primary-panel { padding: 20px 14px 22px; }
  .editorial-v1 .section-head { gap: 10px; }
}


/* Visual V2 — quiet kitchen tool, not a SaaS landing page */
:root {
  --bg: #fbfaf7;
  --surface: #fff;
  --surface-2: #f6f4ef;
  --ink: #24221f;
  --muted: #716d66;
  --line: #ccc7be;
  --accent: #973f2d;
  --accent-dark: #723022;
  --accent-soft: #f5ebe7;
  --green: #526651;
  --green-soft: #eef2ec;
  --blue: #555f66;
  --blue-soft: #f1f2f2;
  --yellow: #765f2f;
  --yellow-soft: #f7f1df;
  --red: #8b392e;
  --red-soft: #f5e9e6;
  --shadow: none;
  --radius: 8px;
}
body { background: var(--bg); color: var(--ink); }
.topbar { background: var(--bg); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.brand-mark { border-radius: 4px; background: var(--ink); }
.page { padding-top: 0; }
.editorial-hero {
  display:block; background:transparent; color:var(--ink); border:0; border-radius:0; box-shadow:none;
  padding: 44px 0 30px; overflow:visible; border-bottom:1px solid var(--line);
}
.editorial-hero::after { display:none; }
.hero-kicker { margin:0 0 12px !important; color:var(--accent) !important; font-size:12px !important; font-weight:800; letter-spacing:.14em; }
.editorial-hero h1 { margin:0 0 18px; max-width:720px; font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif; font-weight:700; font-size:clamp(36px,8vw,66px); line-height:1.12; letter-spacing:-.035em; }
.editorial-hero .hero-story { max-width:620px; color:#57534d !important; font-size:15px; line-height:1.85; }
.editorial-hero .hero-credo { margin-top:20px !important; color:var(--ink) !important; font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif; font-size:14px !important; }

.view-tabs { position:sticky; top:62px; z-index:20; margin:0 -14px 18px; padding:0 14px; display:flex; overflow-x:auto; background:var(--bg); border-bottom:1px solid var(--line); scrollbar-width:none; }
.view-tabs::-webkit-scrollbar { display:none; }
.view-tab { appearance:none; flex:0 0 auto; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); padding:14px 14px 11px; font-size:13px; font-weight:700; cursor:pointer; }
.view-tab.active { color:var(--ink); border-bottom-color:var(--accent); }
.app-view { display:none; }
.app-view.active { display:block; }
.view-intro { padding:32px 0 14px; border-bottom:1px solid var(--line); margin-bottom:4px; }
.view-intro h1 { margin:0 0 7px; font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif; font-size:30px; letter-spacing:-.02em; }
.view-intro p { margin:0; max-width:640px; color:var(--muted); font-size:13px; }

.panel { margin-top:0; padding:26px 0 30px; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; box-shadow:none; }
.primary-panel { padding-top:26px; }
.section-head { margin-bottom:20px; }
.section-head h2 { font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif; font-weight:700; }
.step { color:var(--accent); }
.free-badge { background:transparent; border:1px solid var(--line); color:var(--muted); border-radius:3px; }
.field input, .field select, select.cut-select, .input-unit { border-radius:5px; background:#fff; border-color:#bbb6ac; }
.choice-card span { border-radius:5px; }
.choice-card input:checked + span { border-color:var(--accent-dark); background:var(--accent-soft); box-shadow:none; }
.advanced, .details-block { border-radius:5px; background:var(--surface-2); }
.btn { border-radius:5px; box-shadow:none !important; }
.btn.primary { background:var(--accent); }
.btn.secondary,.btn.dark { background:var(--ink); }
.result-hero, .metric, .multi-item, .schedule-list, .notice, .companion-card, .companion-plan-box { border-radius:5px !important; box-shadow:none !important; }
.result-hero { background:#fff; border:1px solid var(--line); }
.meta-pill { border-radius:3px; }
.quick-links { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:20px 0 8px; color:var(--muted); font-size:12px; }
.quick-links span { width:100%; font-weight:700; color:var(--ink); }
.quick-links button { border:0; border-bottom:1px solid var(--line); background:transparent; padding:3px 0; color:var(--muted); font:inherit; cursor:pointer; }
.credo-panel { margin-top:0 !important; padding:36px 0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.credo-values { display:block !important; border-top:1px solid var(--line); margin-top:28px; padding-top:8px; }
.credo-values article { display:grid; grid-template-columns:minmax(140px,.35fr) 1fr; gap:18px; padding:13px 0; border-bottom:1px solid var(--line); border-radius:0 !important; background:transparent !important; }
.safety-grid { grid-template-columns:1fr 1fr; }
.safety-grid article { border-radius:0 !important; background:transparent !important; border:0 !important; border-top:1px solid var(--line) !important; padding:16px 0 !important; }
.footer { background:#f0eee8; border-top:1px solid var(--line); }

@media (max-width: 700px) {
  .shell { width:min(100% - 32px, 980px); }
  .editorial-hero { padding:34px 0 24px; }
  .editorial-hero h1 { font-size:38px; }
  .view-tabs { margin-left:-16px; margin-right:-16px; padding-left:8px; padding-right:8px; }
  .view-tab { padding-left:12px; padding-right:12px; }
  .panel { padding:22px 0 26px; }
  .section-head { display:block; }
  .free-badge { display:inline-block; margin-top:8px; }
  .grid.two,.grid.three,.grid.four,.result-grid,.actions-row,.safety-grid { grid-template-columns:1fr; }
  .choice-grid { grid-template-columns:1fr; }
  .choice-card span { min-height:0; }
  .credo-values article { grid-template-columns:1fr; gap:4px; }
  .footer-inner { grid-template-columns:1fr; }
}

/* ------------------------------------------------------------
   Visual V3 — quiet cooking tool / lifestyle brand
   No gradients, no card wall, no SaaS dashboard feel.
------------------------------------------------------------- */
.kitchen-v3 {
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #171715;
  --muted: #6d6962;
  --line: #d9d5cc;
  --line-dark: #a7a197;
  --accent: #8a3527;
  --accent-dark: #64261c;
  --accent-soft: #f3eae6;
  --green: #4f6655;
  --green-soft: #eef2ee;
  --yellow: #7b6335;
  --yellow-soft: #f6f0df;
  --red: #8a3527;
  --red-soft: #f4e9e5;
  --shadow: none;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  padding-bottom: 0;
}
.kitchen-v3 * { box-sizing: border-box; }
.kitchen-v3 .shell { width: min(100% - 40px, 980px); margin-inline: auto; }
.kitchen-v3 .topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,242,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.kitchen-v3 .topbar-inner { height: 66px; display:flex; align-items:center; justify-content:space-between; }
.kitchen-v3 .brand { display:flex; align-items:baseline; gap:9px; color:var(--ink); text-decoration:none; }
.kitchen-v3 .brand-word { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:20px; font-weight:700; letter-spacing:-.03em; }
.kitchen-v3 .brand small { color:var(--muted); font-size:8px; letter-spacing:.16em; }
.kitchen-v3 .top-actions { display:none; }
.kitchen-v3 .page { padding:0 0 56px; }

/* Global navigation: plain typography on desktop, fixed tool bar on mobile */
.kitchen-v3 .view-tabs {
  position: sticky; top:66px; z-index:45; width:100%; margin:0; padding:0 max(20px, calc((100vw - 980px)/2));
  display:flex; justify-content:flex-start; gap:28px; background:rgba(247,246,242,.97); border-bottom:1px solid var(--line);
}
.kitchen-v3 .view-tab {
  appearance:none; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted);
  padding:13px 0 11px; font-size:12px; font-weight:700; letter-spacing:.02em; cursor:pointer;
}
.kitchen-v3 .view-tab.active { color:var(--ink); border-bottom-color:var(--ink); }
.kitchen-v3 .app-view { display:none; }
.kitchen-v3 .app-view.active { display:block; }

/* First screen */
.kitchen-v3 .editorial-hero {
  display:block; padding:62px 0 42px; border:0; border-bottom:1px solid var(--line); border-radius:0;
  background:transparent; color:var(--ink); box-shadow:none;
}
.kitchen-v3 .editorial-hero::after { display:none; }
.kitchen-v3 .hero-kicker { margin:0 0 18px !important; color:var(--muted) !important; font-size:9px !important; font-weight:700; letter-spacing:.18em; }
.kitchen-v3 .editorial-hero h1 {
  max-width:780px; margin:0 0 24px; color:var(--ink);
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(42px,7.3vw,72px); line-height:1.22; letter-spacing:-.055em; font-weight:700;
}
.kitchen-v3 .editorial-hero .hero-story { max-width:600px; margin:0 !important; color:#55514a !important; font-size:14px; line-height:1.9; }
.kitchen-v3 .editorial-hero .hero-credo { margin:26px 0 0 !important; color:var(--ink) !important; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:13px !important; font-weight:700; }

/* Form = a kitchen tool, not a dashboard card */
.kitchen-v3 .panel { margin:0; padding:36px 0 42px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none; }
.kitchen-v3 .primary-panel { max-width:700px; padding-top:38px; }
.kitchen-v3 .section-head { margin-bottom:24px; display:block; }
.kitchen-v3 .section-head h2, .kitchen-v3 .view-intro h1 {
  margin:6px 0 8px; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-weight:700; letter-spacing:-.035em;
}
.kitchen-v3 .section-head h2 { font-size:28px; }
.kitchen-v3 .section-head p, .kitchen-v3 .view-intro p { margin:0; color:var(--muted); font-size:12px; line-height:1.75; }
.kitchen-v3 .step { color:var(--accent); font-size:9px; letter-spacing:.11em; font-weight:800; }
.kitchen-v3 .form-stack { gap:18px; }
.kitchen-v3 .field label, .kitchen-v3 .fieldset-reset legend { color:var(--ink); font-size:12px; font-weight:700; }
.kitchen-v3 .field input, .kitchen-v3 .field select, .kitchen-v3 select.cut-select, .kitchen-v3 .input-unit {
  min-height:50px; border:1px solid #bdb8ae; border-radius:2px; background:var(--paper); color:var(--ink); box-shadow:none;
}
.kitchen-v3 .field input:focus, .kitchen-v3 .field select:focus { border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.kitchen-v3 .field-help, .kitchen-v3 .fineprint { color:#817c73; font-size:10px; }
.kitchen-v3 .advanced, .kitchen-v3 .details-block {
  border:1px solid var(--line); border-radius:2px; background:transparent;
}
.kitchen-v3 .advanced > summary, .kitchen-v3 .details-block > summary { padding:14px 0; margin:0 15px; font-size:11px; font-weight:700; }
.kitchen-v3 .advanced-body { border-top:1px solid var(--line); padding:16px 15px 18px; }
.kitchen-v3 .choice-card span { border:1px solid var(--line); border-radius:2px; background:var(--paper); }
.kitchen-v3 .choice-card input:checked + span { border-color:var(--ink); background:#f0eee8; box-shadow:none; }
.kitchen-v3 .btn { min-height:48px; border-radius:2px; box-shadow:none !important; font-weight:800; }
.kitchen-v3 .btn.primary { background:var(--ink); color:#fff; }
.kitchen-v3 .btn.primary:hover { background:#000; }
.kitchen-v3 .btn.secondary, .kitchen-v3 .btn.dark { background:var(--ink); color:#fff; }
.kitchen-v3 .btn.text { color:var(--ink); border:1px solid var(--line); background:transparent; }
.kitchen-v3 .one-shot-button { margin-top:4px; }

/* Results: one strong answer, quiet supporting information */
.kitchen-v3 .result-box { margin-top:26px; }
.kitchen-v3 .result-hero {
  border:1px solid var(--ink); border-radius:2px !important; background:var(--paper); color:var(--ink); box-shadow:none !important;
}
.kitchen-v3 .result-number { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; letter-spacing:-.04em; }
.kitchen-v3 .result-grid, .kitchen-v3 .metrics { gap:0; border-top:1px solid var(--line); }
.kitchen-v3 .metric { border:0; border-bottom:1px solid var(--line); border-radius:0 !important; background:transparent; padding:14px 0; }
.kitchen-v3 .notice, .kitchen-v3 .finish-box, .kitchen-v3 .safety-separate, .kitchen-v3 .companion-section {
  border-radius:2px !important; box-shadow:none !important;
}
.kitchen-v3 .safety-separate { background:transparent; border:1px solid var(--line); }
.kitchen-v3 .companion-section { background:#f1f0eb; border:0; border-left:3px solid var(--ink); }
.kitchen-v3 .companion-card { border-radius:2px !important; background:var(--paper); }
.kitchen-v3 .meta-pill, .kitchen-v3 .popular-temps > span, .kitchen-v3 .review-tags span, .kitchen-v3 .review-condition span { border-radius:2px !important; }

/* Secondary pages */
.kitchen-v3 .view-intro { padding:42px 0 24px; border-bottom:1px solid var(--line); }
.kitchen-v3 .view-intro h1 { font-size:36px; }
.kitchen-v3 .tool-switcher { display:flex; gap:0; overflow-x:auto; border-bottom:1px solid var(--line); scrollbar-width:none; }
.kitchen-v3 .tool-switcher::-webkit-scrollbar { display:none; }
.kitchen-v3 .tool-switch {
  flex:0 0 auto; appearance:none; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted);
  padding:15px 18px 12px 0; margin-right:22px; font-size:12px; font-weight:700; cursor:pointer;
}
.kitchen-v3 .tool-switch.active { color:var(--ink); border-bottom-color:var(--accent); }
.kitchen-v3 .tool-panel { display:none; }
.kitchen-v3 .tool-panel.active { display:block; }
.kitchen-v3 .grid.two, .kitchen-v3 .grid.three, .kitchen-v3 .grid.four { gap:14px; }
.kitchen-v3 .multi-item, .kitchen-v3 .schedule-list { border-radius:2px !important; box-shadow:none !important; }

/* Community reads like a notebook */
.kitchen-v3 .community-panel { background:transparent; }
.kitchen-v3 .community-controls { max-width:700px; }
.kitchen-v3 .community-root { margin-top:22px; }
.kitchen-v3 .community-review {
  padding:18px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none;
}
.kitchen-v3 .community-stats { gap:0; }
.kitchen-v3 .community-stats > div { border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; padding:14px 0; }
.kitchen-v3 .review-form-wrap { border-radius:2px; background:var(--paper); }
.kitchen-v3 .review-safety-note { border-radius:2px; background:#f2efe6; color:#5d513a; }

/* About = editorial writing */
.kitchen-v3 .credo-panel { margin:0 !important; padding:42px 0 !important; border:0 !important; border-bottom:1px solid var(--line) !important; border-radius:0 !important; background:transparent !important; }
.kitchen-v3 .credo-lead { max-width:700px; }
.kitchen-v3 .credo-lead h2 { margin:10px 0 28px; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(34px,6vw,52px); line-height:1.45; letter-spacing:-.05em; }
.kitchen-v3 .credo-lead p { margin:16px 0 0; color:#4d4942; font-size:14px; line-height:2.1; }
.kitchen-v3 .credo-lead .credo-closing { margin-top:30px; padding-top:24px; border-top:1px solid var(--line); color:var(--ink); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:16px; }
.kitchen-v3 .safety-grid { display:block; border-top:1px solid var(--line); }
.kitchen-v3 .safety-grid article { border:0 !important; border-bottom:1px solid var(--line) !important; border-radius:0 !important; background:transparent !important; padding:18px 0 !important; }
.kitchen-v3 .safety-grid article strong { display:block; margin-bottom:4px; }
.kitchen-v3 .legal-note { border-radius:2px; background:#f0eee8; }
.kitchen-v3 #affiliateSection { padding-top:24px; }
.kitchen-v3 .about-aux-links {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px;
  padding:24px 0 8px; color:var(--muted); font-size:10px; line-height:1.8;
}
.kitchen-v3 .about-aux-links a { color:inherit; text-underline-offset:3px; }
.kitchen-v3 .about-aux-links span { color:var(--line-dark); }
.kitchen-v3 .about-aux-links a[aria-current="page"] { color:var(--ink); font-weight:700; text-decoration:none; }

.kitchen-v3 .footer { background:#ece9e2; border-top:1px solid var(--line); }
.kitchen-v3 .footer-inner { padding-top:28px; padding-bottom:34px; }
.kitchen-v3 .footer nav a { color:var(--muted); }
.kitchen-v3 .pro-strip, .kitchen-v3 .monetization-panel, .kitchen-v3 .pro-dialog { display:none !important; }

@media (max-width: 720px) {
  .kitchen-v3 { padding-bottom:72px; }
  .kitchen-v3 .shell { width:calc(100% - 30px); }
  .kitchen-v3 .topbar-inner { height:58px; }
  .kitchen-v3 .brand-word { font-size:18px; }
  .kitchen-v3 .view-tabs {
    position:fixed; top:auto; left:0; right:0; bottom:0; z-index:80;
    display:grid; grid-template-columns:repeat(4,1fr); gap:0;
    padding:0 6px calc(6px + env(safe-area-inset-bottom));
    background:rgba(250,249,246,.98); border-top:1px solid var(--line); border-bottom:0;
    box-shadow:0 -8px 24px rgba(0,0,0,.04);
  }
  .kitchen-v3 .view-tab {
    display:flex; align-items:center; justify-content:center; min-height:58px; padding:7px 2px 4px;
    border:0; color:#777169; font-size:11px; font-weight:700;
  }
  .kitchen-v3 .view-tab.active { color:var(--ink); border:0; }
  .kitchen-v3 .view-tab.active::before { content:""; width:18px; height:2px; background:var(--accent); position:absolute; transform:translateY(-22px); }
  .kitchen-v3 .editorial-hero { padding:38px 0 28px; }
  .kitchen-v3 .hero-kicker { margin-bottom:13px !important; }
  .kitchen-v3 .editorial-hero h1 { font-size:clamp(34px,10.5vw,46px); line-height:1.28; margin-bottom:18px; }
  .kitchen-v3 .editorial-hero .hero-story { font-size:13px; line-height:1.85; }
  .kitchen-v3 .editorial-hero .hero-credo { margin-top:20px !important; }
  .kitchen-v3 .primary-panel { padding:28px 0 34px; }
  .kitchen-v3 .section-head h2 { font-size:25px; }
  .kitchen-v3 .view-intro { padding:32px 0 19px; }
  .kitchen-v3 .view-intro h1 { font-size:30px; }
  .kitchen-v3 .panel { padding:28px 0 34px; }
  .kitchen-v3 .grid.two, .kitchen-v3 .grid.three, .kitchen-v3 .grid.four,
  .kitchen-v3 .result-grid, .kitchen-v3 .actions-row { grid-template-columns:1fr; }
  .kitchen-v3 .choice-grid { grid-template-columns:1fr; }
  .kitchen-v3 .tool-switch { padding-right:4px; margin-right:22px; }
  .kitchen-v3 .credo-panel { padding:34px 0 !important; }
  .kitchen-v3 .credo-lead h2 { font-size:34px; }
  .kitchen-v3 .credo-lead p { font-size:13px; line-height:2; }
  .kitchen-v3 .about-aux-links { padding-bottom:calc(12px + env(safe-area-inset-bottom)); }
  .kitchen-v3 .footer { display:none; }
}

/* V3 supporting/editorial pages */
.kitchen-v3.editorial-page { padding-bottom:0; }
.kitchen-v3.editorial-page .topbar .small-button {
  border:0; border-bottom:1px solid var(--line-dark); border-radius:0; padding:4px 0; background:transparent; color:var(--ink); font-size:10px;
}
.kitchen-v3.editorial-page .page { padding-top:34px; }
.kitchen-v3.editorial-page .research-hero {
  margin:0; padding:42px 0 38px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; color:var(--ink); box-shadow:none;
}
.kitchen-v3.editorial-page .research-hero .step { color:var(--accent); }
.kitchen-v3.editorial-page .research-hero h1 {
  max-width:800px; margin:10px 0 20px; color:var(--ink); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(34px,6vw,58px); line-height:1.3; letter-spacing:-.05em;
}
.kitchen-v3.editorial-page .research-hero p { max-width:720px; color:#57534c; font-size:13px; line-height:1.95; }
.kitchen-v3.editorial-page .research-date-badge { display:inline-block; margin-top:20px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; color:var(--muted); padding:3px 0; }
.kitchen-v3.editorial-page .source-tier-grid, .kitchen-v3.editorial-page .method-flow { gap:0; border-top:1px solid var(--line); }
.kitchen-v3.editorial-page .source-tier, .kitchen-v3.editorial-page .method-step {
  border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; padding:18px 0; box-shadow:none;
}
.kitchen-v3.editorial-page .method-step::before { border-radius:2px; background:var(--ink); }
.kitchen-v3.editorial-page .research-callout { border-radius:2px; background:#f0eee8; border-color:var(--line); }
.kitchen-v3.editorial-page .research-callout.warn { background:#f5eee8; }
.kitchen-v3.editorial-page .example-table { background:var(--paper); border-radius:0; border-color:var(--line); }
.kitchen-v3.editorial-page .example-table th { background:#efede7; }
.kitchen-v3.editorial-page .support-aux-links { margin-top:8px; border-top:1px solid var(--line); }
.kitchen-v3.editorial-page .legal-page-hero,
.kitchen-v3.editorial-page .legal-hero { border-radius:0; box-shadow:none; }
@media (max-width:720px) {
  .kitchen-v3.editorial-page .page { padding-top:20px; }
  .kitchen-v3.editorial-page .research-hero { padding:28px 0; }
  .kitchen-v3.editorial-page .research-hero h1 { font-size:34px; }
}
.kitchen-v3 .view-tab { position:relative; }
@media (max-width:720px) {
  .kitchen-v3 .editorial-hero { padding:26px 0 22px; }
  .kitchen-v3 .hero-kicker { margin-bottom:10px !important; font-size:8px !important; }
  .kitchen-v3 .editorial-hero h1 { font-size:34px; line-height:1.3; margin-bottom:13px; }
  .kitchen-v3 .editorial-hero .hero-story { max-width:350px; font-size:12px; line-height:1.75; }
  .kitchen-v3 .editorial-hero .hero-credo { margin-top:13px !important; font-size:11px !important; }
  .kitchen-v3 .primary-panel { padding-top:23px; }
}

/* ------------------------------------------------------------
   V3.1 — pure white base
   Brand atmosphere comes from typography, spacing and real food photos,
   not a tinted lifestyle background.
------------------------------------------------------------- */
.kitchen-v3 {
  --bg: #ffffff;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f5;
  --ink: #171717;
  --muted: #686660;
  --line: #e2e1dc;
  --line-dark: #aaa79f;
  --accent: #8a3527;
  --accent-dark: #64261c;
  --accent-soft: #f7efec;
  background: #ffffff;
}
.kitchen-v3 .topbar { background: rgba(255,255,255,.97); }
.kitchen-v3 .view-tabs { background: rgba(255,255,255,.98); }
.kitchen-v3 .choice-card input:checked + span { background:#f5f5f3; }
.kitchen-v3 .companion-section { background:#f6f6f4; }
.kitchen-v3 .review-safety-note,
.kitchen-v3 .legal-note,
.kitchen-v3.editorial-page .research-callout { background:#f7f7f5; }
.kitchen-v3.editorial-page .research-callout.warn { background:#fbf7f4; }
.kitchen-v3 .footer { background:#f7f7f5; }
@media (max-width: 720px) {
  .kitchen-v3 .view-tabs { background: rgba(255,255,255,.99); }
}

/* Issue #3 — a faster one-shot flow and an editorial result hierarchy. */
.kitchen-v3 .result-hero {
  padding: 26px 0 24px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
}
.kitchen-v3 .taste-evidence,
.kitchen-v3 .recipe-guide,
.kitchen-v3 .safety-separate,
.kitchen-v3 .companion-section {
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent;
}
.kitchen-v3 .recipe-guide {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.kitchen-v3 .recipe-calculated-note {
  margin: 0 0 17px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #4f332d;
  font-size: 13px;
  line-height: 1.75;
}
.kitchen-v3 .recipe-steps {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: recipe-step;
}
.kitchen-v3 .recipe-steps li {
  position: relative;
  min-width: 0;
  padding-left: 34px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
  counter-increment: recipe-step;
}
.kitchen-v3 .recipe-steps li::before {
  content: counter(recipe-step);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.kitchen-v3 .taste-evidence .taste-copy {
  margin: 14px 0 18px;
  max-width: 640px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.85;
}
.kitchen-v3 .subsection-label {
  margin-bottom: 14px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  line-height: 1.45;
}
.kitchen-v3 .subsection-label span {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}
.kitchen-v3 .evidence-snapshot {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kitchen-v3 .evidence-snapshot > div {
  padding: 15px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.kitchen-v3 .evidence-snapshot > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.kitchen-v3 .taste-evidence .finish-box {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.kitchen-v3 .result-inline-details,
.kitchen-v3 .companion-details {
  margin-top: 18px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.kitchen-v3 .result-inline-details > summary,
.kitchen-v3 .companion-details > summary {
  margin: 0;
  padding: 14px 0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.kitchen-v3 .result-details-body,
.kitchen-v3 .companion-detail-body { padding: 0 0 4px; }
.kitchen-v3 .result-details-body > :first-child,
.kitchen-v3 .companion-detail-body > :first-child { margin-top: 0; }
.kitchen-v3 .safety-details .public-baseline {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.kitchen-v3 .safety-total-time {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kitchen-v3 .safety-total-time span,
.kitchen-v3 .safety-total-time strong { display: block; }
.kitchen-v3 .safety-total-time span { color: var(--muted); font-size: 12px; font-weight: 700; }
.kitchen-v3 .safety-total-time strong { margin-top: 4px; color: var(--ink); font-size: 25px; line-height: 1.25; }
.kitchen-v3 .safety-time-breakdown { padding: 14px 0; border-bottom: 1px solid var(--line); }
.kitchen-v3 .safety-breakdown-title { margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
.kitchen-v3 .safety-time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.kitchen-v3 .safety-time-row strong { color: var(--ink); white-space: nowrap; }
.kitchen-v3 .safety-time-equation { margin-top: 9px; color: var(--ink); font-size: 13px; line-height: 1.65; }
.kitchen-v3 .safety-completion-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.kitchen-v3 .safety-completion-note strong { color: var(--ink); }
.kitchen-v3 .companion-section {
  padding-inline: 20px;
  border-left: 3px solid #718671;
  background: #f4f7f3;
}
.kitchen-v3 .companion-section > .subsection-label { color: #405b45; }
.kitchen-v3 .companion-grid { gap: 0; }
.kitchen-v3 .primary-companions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kitchen-v3 .companion-card,
.kitchen-v3 .practice-card {
  min-width: 0;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}
.kitchen-v3 .companion-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
}
.kitchen-v3 .companion-plan {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  padding-inline: 12px;
}
.kitchen-v3 .companion-detail-body a {
  display: block;
  margin-top: 10px;
}
.kitchen-v3 .companion-plan-box { background: var(--paper); }
.kitchen-v3 .more-companions > .result-details-body { padding-bottom: 8px; }

@media (max-width: 720px) {
  .kitchen-v3 .editorial-hero { padding: 14px 0 13px; }
  .kitchen-v3 .hero-kicker { margin-bottom: 6px !important; font-size: 10px !important; }
  .kitchen-v3 .editorial-hero h1 { margin-bottom: 7px; font-size: 27px; line-height: 1.28; letter-spacing: -.045em; }
  .kitchen-v3 .editorial-hero h1 br { display: none; }
  .kitchen-v3 .editorial-hero .hero-story { max-width: 360px; font-size: 13.5px; line-height: 1.7; }
  .kitchen-v3 .editorial-hero .hero-credo { margin-top: 7px !important; font-size: 12.5px !important; line-height: 1.65; }
  .kitchen-v3 .primary-panel { padding: 15px 0 27px; }
  .kitchen-v3 .primary-panel .section-head { margin-bottom: 14px; }
  .kitchen-v3 .primary-panel .section-head h2 { margin: 3px 0 4px; font-size: 22px; }
  .kitchen-v3 .primary-panel .section-head p { font-size: 12.5px; line-height: 1.7; }
  .kitchen-v3 .step { font-size: 11.5px; }
  .kitchen-v3 .field label,
  .kitchen-v3 .fieldset-reset legend { font-size: 13px; }
  .kitchen-v3 .field-help,
  .kitchen-v3 .fineprint { font-size: 12px; line-height: 1.6; }
  .kitchen-v3 .tpo-intro { font-size: 13px; line-height: 1.7; }
  .kitchen-v3 .form-stack { gap: 14px; }
  .kitchen-v3 .result-box { margin-top: 22px; }
  .kitchen-v3 .result-hero { padding: 22px 0 20px; }
  .kitchen-v3 .result-number { font-size: 48px; }
  .kitchen-v3 .time-line { font-size: 24px; }
  .kitchen-v3 .eyebrow { font-size: 12px; }
  .kitchen-v3 .decision-copy { font-size: 13.5px; line-height: 1.7; }
  .kitchen-v3 .meta-pill { font-size: 11.5px; }
  .kitchen-v3 .taste-evidence,
  .kitchen-v3 .recipe-guide,
  .kitchen-v3 .safety-separate,
  .kitchen-v3 .companion-section { padding: 22px 0; }
  .kitchen-v3 .subsection-label { margin-bottom: 16px; font-size: 19px; line-height: 1.45; }
  .kitchen-v3 .subsection-label span { font-size: 12px; line-height: 1.6; }
  .kitchen-v3 .taste-evidence .taste-copy { font-size: 15px; line-height: 1.8; }
  .kitchen-v3 .evidence-snapshot small { font-size: 12px; line-height: 1.55; }
  .kitchen-v3 .evidence-summary { font-size: 13.5px; line-height: 1.75; }
  .kitchen-v3 .taste-evidence .finish-box p { font-size: 13px; line-height: 1.7; }
  .kitchen-v3 .research-date { font-size: 11.5px; line-height: 1.6; }
  .kitchen-v3 .safety-status strong { font-size: 13.5px; line-height: 1.55; }
  .kitchen-v3 .safety-status span,
  .kitchen-v3 .safety-separate .notice,
  .kitchen-v3 .public-baseline strong,
  .kitchen-v3 .public-baseline span,
  .kitchen-v3 .safety-separate-note { font-size: 13px; line-height: 1.7; }
  .kitchen-v3 .safety-total-time span,
  .kitchen-v3 .safety-breakdown-title { font-size: 12.5px; line-height: 1.6; }
  .kitchen-v3 .safety-total-time strong { font-size: 26px; }
  .kitchen-v3 .safety-time-row,
  .kitchen-v3 .safety-time-equation,
  .kitchen-v3 .safety-completion-note { font-size: 13px; line-height: 1.7; }
  .kitchen-v3 .companion-section { padding: 22px 16px; }
  .kitchen-v3 .metric span { font-size: 12.5px; line-height: 1.55; }
  .kitchen-v3 .companion-lead { font-size: 13.5px; line-height: 1.75; }
  .kitchen-v3 .companion-minihead { font-size: 12.5px; line-height: 1.6; }
  .kitchen-v3 .companion-card small,
  .kitchen-v3 .practice-card small { font-size: 11.5px; line-height: 1.55; }
  .kitchen-v3 .companion-card strong,
  .kitchen-v3 .practice-card strong { font-size: 14px; line-height: 1.55; }
  .kitchen-v3 .companion-card span,
  .kitchen-v3 .companion-card.curated p,
  .kitchen-v3 .practice-card p,
  .kitchen-v3 .empty-companion strong,
  .kitchen-v3 .empty-companion span { font-size: 13px; line-height: 1.7; }
  .kitchen-v3 .companion-timing,
  .kitchen-v3 .companion-safety,
  .kitchen-v3 .companion-caution { font-size: 12.5px; line-height: 1.65; }
  .kitchen-v3 .companion-card.curated a,
  .kitchen-v3 .practice-card a { font-size: 12.5px; line-height: 1.6; }
  .kitchen-v3 .details-block > summary { font-size: 13px; }
  .kitchen-v3 .details-block > p { font-size: 13px; line-height: 1.75; }
  .kitchen-v3 .source-list a { font-size: 12.5px; line-height: 1.6; }
  .kitchen-v3 .source-list small { font-size: 11.5px; line-height: 1.6; }
  .kitchen-v3 .source-kind { font-size: 10px; }
  .kitchen-v3 .evidence-snapshot { grid-template-columns: 1fr; }
  .kitchen-v3 .evidence-snapshot > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .kitchen-v3 .companion-grid,
  .kitchen-v3 .primary-companions { grid-template-columns: minmax(0, 1fr); }
  .kitchen-v3 .companion-actions { grid-template-columns: minmax(0, 1fr); }
  .kitchen-v3 .companion-plan {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    padding-inline: 12px;
  }
}
