/* =========================================================================
   TF-Farm デザインシステム
   モックから抽出したトークンでストア/コンソール両方を構成
   ========================================================================= */

:root {
  /* --- Brand palette --- */
  --cream:        #faf6ef;   /* ストア背景 */
  --cream-card:   #fffdf9;   /* カード面 */
  --cream-header: rgba(255, 253, 249, 0.92);
  --ink:          #2a2621;   /* 本文 */
  --ink-soft:     #6f685d;   /* 補助テキスト */
  --ink-faint:    #a89f92;

  --green:        #5c9a3f;   /* プライマリ */
  --green-deep:   #3d6a2c;   /* 価格・ホバー */
  --forest:       #2a4a1c;   /* 最深緑・アクティブ・CTA(コンソール) */
  --sidebar:      #2f4d22;   /* コンソール サイドバー（生産者・実測）*/
  --side-active:  #3d6a2c;   /* サイドバー アクティブ */
  --promo:        #3d6a2c;   /* 上部プロモバー（モック実測）*/

  --gold:         #a9793f;   /* 英字セリフ見出し（eyebrow）*/
  --accent-muted: #8a7d63;   /* カードの英字ラベル */
  --terracotta:   #c9603f;   /* 通知・件数バッジ */
  --card-line:    #ece5d7;   /* 商品カードの枠線 */
  --badge-line:   #dfd6c4;   /* バッジ枠線 */

  --console-bg:   #f1f0e7;   /* コンソール本文域（実測）*/

  --line:         rgba(42, 38, 33, 0.10);
  --line-strong:  rgba(42, 38, 33, 0.16);
  --shadow-sm:    0 1px 3px rgba(42, 38, 33, 0.06);
  --shadow:       0 6px 24px rgba(42, 38, 33, 0.08);
  --shadow-lg:    0 18px 48px rgba(42, 38, 33, 0.12);

  /* --- Type --- */
  --font-body:  "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-round: "Zen Maru Gothic", var(--font-body);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-mono:  "SFMono-Regular", ui-monospace, Menlo, monospace;

  /* --- Shape --- */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --wrap: 1200px;
  --sidebar-w: 244px;
}

/* =========================================================================
   Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-round); font-weight: 700; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* English serif eyebrow label */
.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--gold);
  margin-bottom: .5rem;
}
.eyebrow--sm { font-size: 1.05rem; }

/* mono numerals (prices, counts) */
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 16px 34px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: .875rem; font-weight: 400; line-height: 1;
  background: var(--green); color: var(--cream);
  transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--green-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--green);
  border: 1px solid var(--green);
}
.btn--ghost:hover { background: rgba(92,154,63,.08); color: var(--green-deep); }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: #1f3814; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Badges / pills
   ========================================================================= */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; line-height: 1.4;
}
.badge--tag   { background: rgba(92,154,63,.14); color: var(--green-deep); }
.badge--count { background: var(--terracotta); color: #fff; min-width: 20px; height: 20px;
                justify-content: center; padding: 0 6px; font-size: .72rem; }
.badge--ship  { background: rgba(42,74,28,.07); color: var(--forest); font-weight: 500;
                font-size: .74rem; }
.badge--alert { background: rgba(201,96,63,.12); color: var(--terracotta); }

/* status chips (orders etc.) */
.chip { display:inline-block; padding: 3px 11px; border-radius: var(--r-pill); font-size:.75rem; font-weight:700; }
.chip--pending  { background: rgba(201,96,63,.14);  color: #b1502f; }   /* 発送待ち */
.chip--done     { background: rgba(92,154,63,.16);  color: var(--green-deep); } /* 発送済み */
.chip--cancel   { background: rgba(42,38,33,.08);   color: var(--ink-soft); }   /* キャンセル */

/* =========================================================================
   Utilities
   ========================================================================= */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.price { font-family: var(--font-round); color: var(--green-deep); font-weight: 500; }
.price small { font-size: .68em; font-weight: 400; color: var(--ink-soft); margin-left: 3px; }

/* =========================================================================
   STOREFRONT — promo bar / header / footer
   ========================================================================= */
.promo {
  background: var(--promo); color: #e8e0cf;
  text-align: center; font-size: .75rem; letter-spacing: .14em;
  padding: 9px 16px;
}
.promo b { font-weight: 700; }
.promo .sep { opacity: .5; margin: 0 .8rem; }

/* 生産者募集バナー（運営が有効化したときのみ表示）*/
.recruit-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .3rem;
  background: var(--sidebar); color: #e7f2d9;
  text-align: center; font-size: .82rem; padding: 10px 16px;
}
.recruit-bar b { font-weight: 700; color: #fff; }
.recruit-bar .sep { opacity: .5; margin: 0 .5rem; }
.recruit-bar__cta { color: #cdeaa8; font-weight: 700; margin-left: .6rem; }
.recruit-bar:hover { background: var(--forest); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream-header);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--forest); }
.brand__tag { font-family: var(--font-serif); font-size: .6rem; letter-spacing: .28em; color: var(--gold); margin-top: 3px; }

.searchbar { flex: 1; position: relative; max-width: 560px; }
.searchbar input {
  width: 100%; padding: 12px 18px 12px 42px; border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); background: #fff; font-size: .9rem; color: var(--ink);
}
.searchbar input::placeholder { color: var(--ink-faint); }
.searchbar__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

.mainnav { display: flex; align-items: center; gap: 26px; font-size: .84rem; font-weight: 400; letter-spacing: .04em; }
.mainnav a { color: var(--ink); transition: color .15s; }
.mainnav a:hover { color: var(--green); }
.nav-logout { margin: 0; display: inline-flex; }
.nav-logout button { background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; font-size: .84rem; letter-spacing: .04em; color: var(--ink); transition: color .15s; }
.nav-logout button:hover { color: var(--green); }
.nav-divider { width: 1px; height: 21px; background: #e3ddd1; }
.header-cart { display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep); }
.header-cart:hover { color: var(--green); }
.cart-count { background: var(--gold); color: #fff; min-width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 700; padding: 0 5px; letter-spacing: 0; }

.site-footer { background: var(--forest); color: #d8ddca; margin-top: 80px; }
.site-footer a { color: #d8ddca; opacity: .85; }
.site-footer a:hover { opacity: 1; color: #fff; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 60px 24px 32px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-family: var(--font-serif); font-style: italic; color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .04em; }
.site-footer .brand__name { color: #fff; }
.site-footer li + li { margin-top: .55rem; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px;
  text-align: center; font-size: .78rem; color: #b9c0a6; }
.footer-bottom a { margin: 0 .4rem; }

/* newsletter */
.newsletter form { display: flex; gap: 8px; margin-top: .9rem; }
.newsletter input { flex:1; padding: 10px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; font-size: .85rem; }
.newsletter input::placeholder { color: #b9c0a6; }

/* =========================================================================
   STOREFRONT — hero
   ========================================================================= */
.hero { padding: 64px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.25rem); line-height: 1.32; letter-spacing: .04em; color: var(--green-deep); }
.hero__lead { margin: 1.4rem 0 2rem; font-size: .9375rem; line-height: 2.1; color: #514b3f; max-width: 440px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__figure {
  aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden;
  background: repeating-linear-gradient(135deg, #eee7d6 0 22px, #e9e1cf 22px 44px);
  display: flex; align-items: center; justify-content: center;
}
.hero__featured {
  position: absolute; left: 24px; bottom: 24px; background: var(--cream-card);
  padding: 18px 22px; border-radius: var(--r); box-shadow: var(--shadow);
  max-width: 260px;
}
.hero__featured .eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-style: normal; font-family: var(--font-body); }
.mascot-bubble {
  position: absolute; right: 8px; bottom: 84px; background: #fff; box-shadow: var(--shadow);
  border-radius: var(--r); padding: 12px 16px; font-size: .82rem; max-width: 200px;
}
.mascot { position: absolute; right: 10px; bottom: -6px; width: 96px; height: 96px; }

/* image placeholder text */
.ph { color: var(--ink-faint); font-size: .85rem; letter-spacing: .08em; }

/* =========================================================================
   STOREFRONT — sections
   ========================================================================= */
.section { padding: 48px 0 24px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 1rem; }
.section__head h2 { font-size: 1.875rem; font-weight: 600; color: var(--green-deep); }
.section__more { font-size: .88rem; color: var(--green-deep); white-space: nowrap; }
.section__more:hover { color: var(--green); }

/* category tiles（写真タイル + 白文字オーバーレイ）*/
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  height: 190px; border-radius: 20px; overflow: hidden; padding: 22px 24px;
  background: repeating-linear-gradient(135deg, #ece6da 0 22px, #e6dfcd 22px 44px);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(32,45,20,.62), rgba(32,45,20,.12) 55%, rgba(32,45,20,0)); }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat__en { position: relative; z-index: 1; font-family: var(--font-serif); font-style: italic;
  color: rgba(255,253,249,.9); font-size: .8rem; letter-spacing: .06em; }
.cat__jp { position: relative; z-index: 1; font-family: var(--font-round); font-weight: 400;
  color: #fffdf9; font-size: 1.25rem; margin-top: .15rem; }

/* feature banner */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg);
  overflow: hidden; background: var(--cream-card); box-shadow: var(--shadow);
}
.feature__body { padding: 48px 44px; }
.feature__img { min-height: 320px;
  background: repeating-linear-gradient(135deg, #e7ecda 0 22px, #e0e6cf 22px 44px);
  display: flex; align-items: center; justify-content: center; }
.feature h2 { font-size: 1.875rem; font-weight: 600; color: var(--green-deep); margin: .3rem 0 1rem; }

/* =========================================================================
   STOREFRONT — product cards
   ========================================================================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pcard { position: relative; background: var(--cream-card); border: 1px solid var(--card-line); border-radius: 16px;
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: var(--gold); letter-spacing: 1px; }
.stars .star-empty { color: var(--line-strong); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__media { position: relative; aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(135deg, #ece6d6 0 20px, #e6dfcd 20px 40px);
  display: flex; align-items: center; justify-content: center; }
.pcard__badge { position: absolute; top: 12px; left: 12px;
  background: var(--cream-card); border: 1px solid var(--badge-line); border-radius: 3px;
  color: var(--green); font-size: .6875rem; font-weight: 400; letter-spacing: .08em; padding: 4px 10px; }
.pcard__fav { position: absolute; top: 10px; right: 12px; color: var(--ink-faint); font-size: 1.1rem; }
.pcard__body { padding: 16px 16px 18px; }
.pcard__en { font-family: var(--font-serif); font-style: italic; color: var(--accent-muted); font-size: .78rem; }
.pcard__name { font-family: var(--font-round); font-weight: 400; font-size: 1rem; color: var(--green-deep); margin: .1rem 0 .3rem; }
.pcard__name a { color: inherit; }
.pcard__farm { font-size: .72rem; color: var(--ink-soft); }
.pcard__ship { margin: .6rem 0; }
.pcard__ship .badge--ship { background: transparent; color: var(--green); padding: 0; font-size: .6875rem; font-weight: 400; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.pcard__price { font-size: 1.15rem; }
.pcard__add {
  width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--green); color: #fff;
  border: 0; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center;
}
.pcard__add:hover { background: var(--green-deep); }

/* ranking */
.ranking { display: grid; gap: 14px; }
.rank-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); }
.rank-item__no { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 500; color: #ddb37e; width: 40px; text-align: center; }
.rank-item__name { flex: 1; font-weight: 400; font-family: var(--font-round); color: var(--green-deep); }
.rank-item__farm { font-size: .8rem; color: var(--ink-soft); }

/* producer story */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center;
  background: var(--cream-card); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-sm); }
.story__img { border-radius: var(--r-lg); min-height: 420px;
  background: repeating-linear-gradient(135deg, #e7ecda 0 22px, #e0e6cf 22px 44px);
  display: flex; align-items: center; justify-content: center; }
.story__body { padding: 20px 40px 20px 8px; }
.story h2 { font-size: 1.875rem; font-weight: 600; color: var(--green-deep); margin: .4rem 0 1.2rem; }

/* =========================================================================
   CONSOLE — shell (admin / seller)
   ========================================================================= */
.console--admin { --sidebar: #20331a; --side-active: #2a4a1c; }
.console { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh;
  background: var(--console-bg); }

.side { background: var(--sidebar); color: rgba(255,255,255,.82); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; }
.side__brand { padding: 26px 24px 22px; }
.side__brand .brand__name { color: #fff; font-family: var(--font-serif); font-size: 1.5rem; }
.side__brand small { display: block; letter-spacing: .22em; font-size: .62rem; color: #8ea07a; margin-top: 4px; }
.side__group { padding: 8px 14px; }
.side__group-label { font-size: .66rem; letter-spacing: .12em; color: rgba(255,255,255,.5); padding: 14px 12px 6px; }
.side__link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px;
  color: rgba(255,255,255,.82); font-size: .8125rem; margin: 2px 0; transition: background .12s, color .12s; }
.side__link:hover { background: rgba(255,255,255,.05); color: #fff; }
.side__link.is-active { background: var(--side-active); color: #fff; font-weight: 400; }
.side__link .badge--count { margin-left: auto; }
.side__ico { width: 20px; height: 20px; opacity: .9; flex: none; }
.side__foot { margin-top: auto; padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 12px; }
.side__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--terracotta); color:#fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.side__foot small { display:block; color: #8ea07a; font-size: .74rem; }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 20px; padding: 20px 34px;
  border-bottom: 1px solid var(--line); background: var(--console-bg); position: sticky; top: 0; z-index: 20; }
.topbar__title h1 { font-size: 1.4rem; }
.topbar__title p { font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
.topbar__search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.topbar__search input { width: 100%; padding: 10px 16px 10px 38px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: #fff; font-size: .85rem; }
.topbar__search .searchbar__icon { left: 14px; }
.bell { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.bell .badge--count { position: absolute; top: -4px; right: -4px; }

.content { padding: 28px 34px 60px; }

/* KPI cards */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi { background: #fff; border: 1px solid #e7e4d8; border-radius: 14px; padding: 20px 20px 18px; box-shadow: none; }
.kpi__label { font-size: .75rem; color: #8a8175; }
.kpi__value { font-family: var(--font-round); font-weight: 400; font-size: 1.625rem; margin: .5rem 0 .35rem; letter-spacing: .01em; color: #2c2c26; }
.kpi__delta { font-size: .82rem; }
.kpi__delta.up { color: var(--green); }
.kpi__delta.down { color: var(--terracotta); }
.kpi__delta.warn { color: var(--terracotta); }

/* panels */
.panels { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; margin-top: 22px; }
.panel { background: #fff; border: 1px solid #e7e4d8; border-radius: 14px; padding: 22px 24px; box-shadow: none; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.panel__head h3 { font-size: 1.15rem; }
.panel__head small { color: var(--ink-soft); font-size: .8rem; }

/* bar chart (pure CSS) */
.chart { display: flex; align-items: flex-end; gap: 14px; height: 220px; padding-top: 20px; }
.chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart__bar { width: 60%; max-width: 46px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #8ec06a, #4f8a33); }
.chart__val { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
.chart__lbl { font-size: .78rem; color: var(--ink-soft); }

/* queue list */
.queue__item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); }
.queue__item:first-child { border-top: 0; }
.queue__ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(92,154,63,.12); font-size: 1.05rem; flex: none; }
.queue__label { flex: 1; font-size: .92rem; }
.queue__count { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; }

/* data table */
.table { font-size: .9rem; }
.table th { text-align: left; font-weight: 500; color: var(--ink-soft); font-size: .8rem;
  padding: 0 14px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .avatar-xs { width: 30px; height: 30px; border-radius: 50%; background: rgba(92,154,63,.16);
  color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.table__num { font-family: var(--font-mono); }

/* activity feed */
.feed__item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.feed__item:first-child { border-top: 0; }
.feed__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 8px; flex: none; }
.feed__time { color: var(--ink-faint); font-size: .78rem; margin-top: 2px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .hero__grid, .feature, .story { grid-template-columns: 1fr; }
  .product-grid, .cats { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .panels, .grid-2 { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .searchbar { order: 3; flex-basis: 100%; max-width: none; }
  .mainnav { gap: 16px; font-size: .86rem; margin-left: auto; }
  .mainnav a[href="/features"], .mainnav a[href="/ranking"] { display: none; }
  .product-grid, .cats { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .console { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; overflow-x: auto; }
  .side__group { display: flex; gap: 4px; }
  .side__foot { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* =========================================================================
   STOREFRONT — 一覧 / 詳細 / カート / 生産者 など（Phase 2）
   ========================================================================= */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft);
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); }
.crumbs { font-size: .82rem; margin-bottom: 18px; }
.crumbs a:hover { color: var(--green); }
.linkbtn { background: none; border: 0; padding: 0; font-size: .82rem; cursor: pointer; text-decoration: underline; }
.notice { padding: 16px 20px; border-radius: var(--r); }
.notice--ok { background: rgba(92,154,63,.12); color: var(--green-deep); }
.prose { line-height: 1.9; }

/* toolbar (一覧) */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.chips-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-link { padding: 7px 16px; border-radius: var(--r-pill); font-size: .85rem; border: 1px solid var(--line-strong); color: var(--ink); }
.chip-link:hover { border-color: var(--green); color: var(--green-deep); }
.chip-link.is-on { background: var(--forest); color: #fff; border-color: var(--forest); }
.sortbox select { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: #fff; font-family: inherit; font-size: .85rem; }

/* product detail */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 20px 0 40px; }
.pdp__media { aspect-ratio: 1/1; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #ece6d6 0 20px, #e6dfcd 20px 40px); }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info h1 { font-size: 1.9rem; margin: .4rem 0; }
.pdp__meta { font-size: .9rem; margin-bottom: 1rem; }
.pdp__price { font-size: 1.8rem; margin: .6rem 0 1rem; }
.spec { border-top: 1px solid var(--line); }
.spec li { display: flex; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec li span { width: 84px; color: var(--ink-soft); flex: none; }
.pdp__buy { display: flex; gap: 12px; align-items: center; margin-top: 1.4rem; }
.qty { width: 72px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); text-align: center; font-family: var(--font-mono); }

.farm-card { display: flex; align-items: center; gap: 18px; padding: 22px; margin: 30px 0;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); }
.farm-card__avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(92,154,63,.16); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; flex: none; }

.reviews { display: grid; gap: 14px; }
.review { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: .4rem; }

/* cart / checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
.cart-lines { border-top: 1px solid var(--card-line); }
.cart-line { display: flex; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--card-line); }
.cart-line__thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; flex: none;
  background: repeating-linear-gradient(135deg, #ece6d6 0 16px, #e6dfcd 16px 32px); display: flex; align-items: center; justify-content: center; }
.cart-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__body { flex: 1; }
.cart-line__name { font-family: var(--font-round); font-weight: 700; color: var(--green-deep); }
.cart-line__qty { flex: none; }
.cart-line__price { flex: none; min-width: 90px; text-align: right; font-size: 1.05rem; }
.cart-summary { background: var(--cream-card); border: 1px solid var(--card-line); border-radius: 16px; padding: 28px; position: sticky; top: 90px; box-shadow: var(--shadow-sm); }
.cart-summary h3 { font-family: var(--font-round); font-weight: 600; color: var(--green-deep); font-size: 1.15rem; margin-bottom: 1.2rem; }
.sumrow { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: .9rem; }
.sumrow--total { border-top: 1px solid var(--card-line); margin-top: .6rem; padding-top: 16px; font-size: 1.05rem; font-weight: 700; }
.sumrow--total .price { font-size: 1.6rem; }
.checkout-form { display: grid; gap: 14px; }
.checkout-form h3 { font-size: 1.1rem; }
.checkout-form label { display: grid; gap: 6px; font-size: .85rem; color: var(--ink-soft); }
.checkout-form input, .checkout-form textarea { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; }
.checkout-form .radio { display: flex; flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }

/* producers list（デザイン実測）*/
.producer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.producer-card { background: var(--cream-card); border: 1px solid var(--card-line); border-radius: 16px; overflow: hidden;
  padding-bottom: 20px; transition: transform .15s, box-shadow .15s; }
.producer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.producer-card__cover { position: relative; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint); font-size: .8rem;
  background: repeating-linear-gradient(135deg, #e7ecda 0 20px, #e0e6cf 20px 40px); }
.producer-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.producer-card__tag { position: absolute; left: 14px; bottom: 12px; background: var(--cream-card);
  border: 1px solid var(--badge-line); border-radius: 3px; padding: 4px 10px; font-size: .68rem; color: var(--green-deep); }
.producer-card__meta { display: flex; align-items: center; gap: 12px; padding: 16px 20px 4px; }
.producer-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: #d9d0be; color: var(--green-deep); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.producer-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.producer-card__en { font-family: var(--font-serif); font-style: italic; color: var(--accent-muted); font-size: .78rem; }
.producer-card__name { font-family: var(--font-round); font-weight: 700; color: var(--green-deep); }
.producer-card__loc { padding: 6px 20px 0; font-size: .78rem; }
.producer-card__desc { padding: 8px 20px 12px; font-size: .84rem; line-height: 1.8; }
.producer-card__link { padding: 0 20px; }
.mini-verified { font-size: .6rem; color: var(--green); border: 1px solid var(--green); border-radius: 3px; padding: 1px 5px; vertical-align: middle; }
.producer-hero { padding: 48px 0; background: var(--cream-card); border-bottom: 1px solid var(--line); }
.producer-hero__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; align-items: center; }
.producer-hero__img { aspect-ratio: 4/3; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #e7ecda 0 22px, #e0e6cf 22px 44px); }

/* features */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-tile { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .15s, box-shadow .15s; }
.feature-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-tile__img { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #e7ecda 0 20px, #e0e6cf 20px 40px); }
.feature-tile__body { padding: 22px 24px; }
.feature-hero { padding: 56px 0 20px; text-align: center; }

/* news */
.news-list li a { display: flex; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.news-list li a:hover { color: var(--green); }
.news-list__date { color: var(--ink-faint); flex: none; font-size: .85rem; }

@media (max-width: 900px) {
  .pdp, .cart-layout, .producer-hero__grid, .feature-list { grid-template-columns: 1fr; }
  .producer-grid { grid-template-columns: 1fr 1fr; }
  .cart-summary { position: static; }
}

/* =========================================================================
   ACCOUNT / AUTH / MESSAGES（Phase 3）
   ========================================================================= */
/* flash */
.flashes { margin: 16px auto 0; display: grid; gap: 8px; }
.flash { padding: 12px 18px; border-radius: var(--r-sm); font-size: .9rem; }
.flash--ok { background: rgba(92,154,63,.14); color: var(--green-deep); }
.flash--error { background: rgba(201,96,63,.14); color: #b1502f; }
.flash--info { background: rgba(42,74,28,.08); color: var(--forest); }

/* auth card */
.authbox { max-width: 400px; margin: 48px auto; background: var(--cream-card);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 36px; box-shadow: var(--shadow-sm); }
.authbox__foot { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .5rem; text-align: center; font-size: .85rem; }
.authbox__foot a { color: var(--green-deep); text-decoration: underline; }

/* account layout */
.account-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 36px 24px 60px; align-items: start; }
.account-nav { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; position: sticky; top: 90px; }
.account-nav__head { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.account-nav__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.account-nav a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: .9rem; }
.account-nav a:hover { background: rgba(92,154,63,.08); }
.account-nav a.is-on { background: var(--forest); color: #fff; }
.account-main { min-width: 0; }

/* account overview cards */
.acct-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.acct-card { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; text-align: center; font-size: .82rem; color: var(--ink-soft); }
.acct-card__n { display: block; font-family: var(--font-round); font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-bottom: 2px; }

/* order cards */
.order-list { display: grid; gap: 14px; }
.order-card { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.order-card__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.order-card__items { padding: 12px 0; display: grid; gap: 6px; }
.order-item { display: flex; justify-content: space-between; font-size: .9rem; }
.order-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; }

/* addresses */
.addr-list { display: grid; gap: 12px; }
.addr-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }

/* favorite button */
.fav-btn { width: 52px; height: 52px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: #fff; font-size: 1.3rem; color: var(--terracotta); }
.fav-btn.is-on { background: rgba(201,96,63,.1); border-color: var(--terracotta); }
.pcard__fav { background: rgba(255,255,255,.85); border: 0; border-radius: 50%; width: 30px; height: 30px; }

/* review form (star input) */
.review-form { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; margin-bottom: 20px; display: grid; gap: 10px; }
.review-form input, .review-form textarea { padding: 10px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); font-family: inherit; font-size: .92rem; }
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.5rem; color: var(--line-strong); cursor: pointer; }
.rating-input input:checked ~ label,
.rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }

/* inline message on PDP */
.msg-inline summary { list-style: none; }
.msg-inline__form { display: grid; gap: 8px; margin-top: 8px; }
.msg-inline__form textarea { padding: 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-family: inherit; }

/* messages / chat */
.thread-list { display: grid; gap: 10px; }
.thread-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); }
.thread-row:hover { box-shadow: var(--shadow-sm); }
.thread-row__avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(92,154,63,.16); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.chat { display: grid; gap: 12px; padding: 20px; background: var(--cream-card); border: 1px solid var(--line);
  border-radius: var(--r); min-height: 300px; max-height: 480px; overflow-y: auto; margin-bottom: 14px; }
.chat__msg { display: flex; flex-direction: column; max-width: 72%; }
.chat__msg--me { align-self: flex-end; align-items: flex-end; }
.chat__msg--them { align-self: flex-start; align-items: flex-start; }
.chat__bubble { padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.6; }
.chat__msg--me .chat__bubble { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--them .chat__bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat__time { font-size: .7rem; color: var(--ink-faint); margin-top: 3px; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-family: inherit; }

@media (max-width: 900px) {
  .account-wrap { grid-template-columns: 1fr; }
  .account-nav { position: static; }
  .acct-cards { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   CONSOLE forms / tables extras（Phase 4）
   ========================================================================= */
.console-form { display: grid; gap: 14px; }
.console-form label { display: grid; gap: 6px; font-size: .84rem; color: var(--ink-soft); }
.console-form input, .console-form select, .console-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 13px 15px; border: 1px solid #e7e4d8; border-radius: 12px;
  font-family: inherit; font-size: .92rem; color: var(--ink); background: #f8f6ef;
  transition: border-color .12s, background .12s; }
.console-form textarea { resize: vertical; line-height: 1.7; }
.console-form input::placeholder, .console-form textarea::placeholder { color: var(--ink-faint); }
.console-form input:focus, .console-form select:focus, .console-form textarea:focus {
  outline: none; border-color: var(--green); background: #fff; }
.console-form input:disabled { background: var(--console-bg); color: var(--ink-soft); }
.console-form .radio { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-row:has(> label:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.form-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.ship-fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 0; display: grid; gap: 12px; }
.ship-fieldset legend { font-weight: 700; font-family: var(--font-round); padding: 0 6px; }

.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tabs a { padding: 8px 16px; border-radius: var(--r-pill); font-size: .85rem; background: #fff; border: 1px solid var(--line); }
.tabs a.is-on { background: var(--forest); color: #fff; border-color: var(--forest); }

.thumb-xs { width: 44px; height: 44px; border-radius: var(--r-sm); overflow: hidden; background: var(--console-bg);
  display: flex; align-items: center; justify-content: center; color: var(--ink-faint); }
.thumb-xs img { width: 100%; height: 100%; object-fit: cover; }
.img-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================================
   ADMIN extras（Phase 5）
   ========================================================================= */
.review-cards { display: grid; gap: 16px; }
.review-card { display: flex; gap: 18px; align-items: center; }
.review-card__thumb { width: 90px; height: 90px; border-radius: var(--r-sm); overflow: hidden; flex: none;
  background: repeating-linear-gradient(135deg,#ece6d6 0 14px,#e6dfcd 14px 28px); display: flex; align-items: center; justify-content: center; color: var(--ink-faint); font-size: .75rem; }
.review-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body { flex: 1; min-width: 0; }
.review-card__actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.reject-form { display: flex; gap: 6px; }
.reject-form input { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: .82rem; width: 140px; }
.mini-select { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font-family: inherit; font-size: .82rem; }

.inq-list { display: grid; gap: 12px; }
.inq { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.inq--handled { opacity: .6; }
.inq__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: .3rem; }
.inq__head b { margin-right: .5rem; }

/* =========================================================================
   SHOP (商品一覧) — サイドバー + 3列（デザイン実測）
   ========================================================================= */
.crumbs { font-size: .78rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--green); }
.page-title { font-family: var(--font-round); font-size: 2.125rem; font-weight: 600; color: var(--green-deep); margin: .15rem 0 0; }

.shop-layout { display: grid; grid-template-columns: 232px 1fr; gap: 40px; margin-top: 28px; align-items: start; }
.shop-side__group + .shop-side__group { margin-top: 28px; }
.shop-side h3 { font-family: var(--font-round); font-weight: 400; font-size: .9375rem; color: var(--green-deep);
  margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1.5px solid var(--green-deep); }
.filter-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px;
  font-size: .84rem; color: #5f5849; border-bottom: 1px solid var(--card-line); }
.filter-list a:hover { color: var(--green); }
.filter-list a.is-on { color: var(--green-deep); font-weight: 500; }
.filter-list a span { color: var(--ink-faint); font-size: .78rem; }
.filter-checks li { padding: 7px 0; }
.filter-checks label { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: #5f5849; cursor: pointer; }
.filter-checks input { accent-color: var(--green); }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sortbox select { border: 1px solid #ddd5c6; border-radius: 2px; padding: 8px 16px; font-size: .81rem;
  background: var(--cream-card); font-family: inherit; color: var(--ink); cursor: pointer; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.empty { padding: 60px 0; text-align: center; color: var(--ink-soft); }

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   PRODUCT DETAIL（デザイン実測）
   ========================================================================= */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 20px; align-items: start; }
.pdp-gallery__main { aspect-ratio: 1/1; border-radius: 20px; overflow: hidden;
  background: repeating-linear-gradient(135deg,#ece6da 0 22px,#e6dfcd 22px 44px);
  display: flex; align-items: center; justify-content: center; }
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 14px; }
.pdp-thumb { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden;
  background: repeating-linear-gradient(135deg,#ece6da 0 14px,#e6dfcd 14px 28px); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { padding-top: 4px; }
.pdp-badge { border-radius: 3px; background: var(--cream-card); border: 1px solid var(--badge-line);
  color: var(--green); font-weight: 400; letter-spacing: .08em; }
.pdp-en { font-size: 1rem; margin: .8rem 0 .2rem; }
.pdp-title { font-family: var(--font-round); font-size: 2rem; font-weight: 600; color: var(--green-deep); line-height: 1.3; }
.pdp-farm { font-size: .9rem; margin-top: .4rem; }
.pdp-price { font-size: 1.875rem; margin: 1.2rem 0 .6rem; }
.pdp-ship { display: flex; align-items: center; gap: 12px; }
.pdp-ship .badge--ship { background: rgba(92,154,63,.12); color: var(--green-deep); padding: 4px 10px; border-radius: var(--r-pill); font-size: .74rem; }
.pdp-desc { margin: 1.2rem 0; line-height: 2; font-size: .92rem; }
.pdp-hr { border: 0; border-top: 1px solid var(--card-line); margin: 1.4rem 0; }

.qty-row { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.qty-row__label { font-size: .9rem; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.stepper__btn { width: 40px; height: 42px; background: none; border: 0; font-size: 1.1rem; color: var(--ink); }
.stepper__btn:hover { background: rgba(92,154,63,.08); color: var(--green); }
.stepper__input { width: 46px; height: 42px; border: 0; text-align: center; font-family: var(--font-round); font-size: 1rem; -moz-appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-actions { display: flex; gap: 14px; }
.pdp-cart { padding: 18px; font-size: .95rem; }
.fav-circle { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: #fff; color: var(--terracotta); font-size: 1.3rem; flex: none; }
.fav-circle.is-on { background: rgba(201,96,63,.1); border-color: var(--terracotta); }

.pdp-producer { display: flex; align-items: center; gap: 16px; background: #efe8da; padding: 20px; margin-top: 22px; }
.pdp-producer__avatar { width: 52px; height: 52px; border-radius: 50%; background: #d9d0be; overflow: hidden; flex: none; }
.pdp-producer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pdp-producer__body { flex: 1; }
.pdp-producer__arrow { color: var(--green-deep); font-size: 1.2rem; }

/* related simplified cards */
.rgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.rcard { background: var(--cream-card); border: 1px solid var(--card-line); border-radius: 16px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rcard__media { aspect-ratio: 4/3; background: repeating-linear-gradient(135deg,#ece6d6 0 20px,#e6dfcd 20px 40px);
  display: flex; align-items: center; justify-content: center; }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; }
.rcard__body { padding: 14px 16px 18px; }
.rcard__name { font-family: var(--font-round); font-weight: 400; color: var(--green-deep); font-size: .95rem; margin-bottom: .3rem; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .rgrid { grid-template-columns: repeat(2,1fr); }
}

/* =========================================================================
   AUTH split card (ログイン, デザイン実測) + 公開フォーム入力
   ========================================================================= */
.checkout-form { display: grid; gap: 14px; }
.checkout-form > label { display: grid; gap: 6px; font-size: .84rem; color: var(--ink-soft); }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: inherit; font-size: .92rem; color: var(--ink); background: #fff; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--green); }
.checkout-form .radio { display: flex; flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.remember { display: flex; flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: .85rem; }

.auth-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--cream-card); min-height: 440px; }
.auth-split__media { position: relative; display: flex; align-items: flex-end;
  background: repeating-linear-gradient(135deg,#e7ecda 0 22px,#e0e6cf 22px 44px); }
.auth-split__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(32,45,20,.72), rgba(32,45,20,.2)); }
.auth-split__overlay { position: relative; z-index: 1; padding: 44px; color: #fffdf9; }
.auth-split__headline { font-family: var(--font-round); font-weight: 700; font-size: 1.9rem; line-height: 1.4; color: #fff; }
.auth-split__overlay p { margin-top: 1rem; font-size: .86rem; color: rgba(255,253,249,.85); line-height: 1.9; max-width: 26em; }
.auth-split__form { padding: 48px 52px; align-self: center; }
.auth-split__title { font-family: var(--font-round); font-size: 1.9rem; font-weight: 600; color: var(--green-deep); }
.auth-split__foot { margin-top: 1.4rem; text-align: center; font-size: .85rem; }
.auth-split__foot a { color: var(--green-deep); text-decoration: underline; }

@media (max-width: 820px) { .auth-split { grid-template-columns: 1fr; } .auth-split__media { min-height: 200px; } }

/* =========================================================================
   RANKING page（デザイン実測）
   ========================================================================= */
.rank-list { display: grid; gap: 12px; }
.rank-row { display: flex; align-items: center; gap: 22px; padding: 16px 26px;
  background: var(--cream-card); border: 1px solid var(--card-line); border-radius: 14px; }
.rank-row__no { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; color: #ddb37e; width: 30px; text-align: center; flex: none; }
.rank-row--top .rank-row__no { color: var(--green-deep); }
.rank-row__thumb { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; flex: none;
  background: repeating-linear-gradient(135deg,#ece6d6 0 14px,#e6dfcd 14px 28px); }
.rank-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-row__body { flex: 1; min-width: 0; }
.rank-row__en { font-family: var(--font-serif); font-style: italic; color: var(--accent-muted); font-size: .78rem; }
.rank-row__name { font-family: var(--font-round); font-weight: 400; color: var(--green-deep); display: block; }
.rank-row__price { font-size: 1.1rem; flex: none; min-width: 84px; text-align: right; }
@media (max-width: 720px){ .rank-row { gap: 14px; padding: 14px 16px; flex-wrap: wrap; } .rank-row__body { flex-basis: 60%; } }

/* =========================================================================
   PAGE HERO (dark band) + FEATURES rows（デザイン実測）
   ========================================================================= */
.page-hero { padding: 56px 0; }
.page-hero--dark { position: relative; overflow: hidden; color: #fffdf9;
  background: #2f4420 repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 22px, rgba(0,0,0,.04) 22px 44px); }
.page-hero__title { font-family: var(--font-round); font-size: 2.4rem; font-weight: 700; color: #fff; }
.page-hero__lead { margin-top: 1rem; font-size: .9rem; color: rgba(255,253,249,.82); line-height: 1.9; max-width: 34em; }

.feature-rows { display: grid; gap: 24px; }
.feature-row { display: grid; grid-template-columns: 1fr 1.25fr; background: var(--cream-card);
  border: 1px solid var(--card-line); border-radius: 16px; overflow: hidden; }
.feature-row__body { padding: 40px 44px; align-self: center; }
.feature-row__title { font-family: var(--font-round); font-size: 1.75rem; font-weight: 600; color: var(--green-deep); margin: .3rem 0 1rem; }
.feature-row__lead { line-height: 1.9; font-size: .9rem; }
.feature-row__img { min-height: 260px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #ece6da 0 22px, #e6dfcd 22px 44px); }
.feature-badge { display: inline-block; padding: 5px 14px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 700; color: #fff; }
.feature-badge--0 { background: var(--green); }
.feature-badge--1 { background: #b98a4e; }
.feature-badge--2 { background: #4e6ba0; }
.link-arrow { color: var(--green-deep); font-size: .9rem; }
.link-arrow:hover { color: var(--green); }
@media (max-width: 820px){ .feature-row { grid-template-columns: 1fr; } .feature-row__img { min-height: 180px; order: -1; } }

/* =========================================================================
   PRODUCER STORY（デザイン実測）
   ========================================================================= */
.producer-story-hero { min-height: 300px; display: flex; align-items: flex-end; padding: 0 0 40px; }
.producer-story-hero__title { font-family: var(--font-round); font-size: 2.6rem; font-weight: 700; color: #fff; }
.story-wrap { max-width: 820px; margin: 0 auto; padding: 44px 24px 40px; }
.story-profile { display: flex; align-items: center; gap: 20px; }
.story-profile__avatar { width: 72px; height: 72px; border-radius: 50%; background: #d9d0be; color: var(--green-deep); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; flex: none; }
.story-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-profile__name { font-family: var(--font-round); font-weight: 700; font-size: 1.2rem; color: var(--green-deep); }
.story-title { font-family: var(--font-round); font-size: 1.7rem; font-weight: 600; color: var(--green-deep); margin: .3rem 0 1.4rem; }
.story-body { display: grid; gap: 1.2rem; line-height: 2.1; font-size: .95rem; }
.story-products-h { font-family: var(--font-round); font-size: 1.4rem; font-weight: 600; color: var(--green-deep); margin: 3rem 0 1.4rem; }

/* =========================================================================
   みのりん フローティングマスコット（デザインの bob アニメを反映）
   ========================================================================= */
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-7px) rotate(2deg); }
}
.mascot-float { position: fixed; bottom: 26px; right: 26px; z-index: 60;
  display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.mascot-float__bubble { background: #fff; box-shadow: var(--shadow); border-radius: var(--r);
  padding: 12px 16px; font-size: .82rem; line-height: 1.5; max-width: 190px; margin-bottom: 22px; }
.mascot-float__char { width: 88px; height: 88px; transform-origin: center;
  animation: bob 3.2s ease-in-out infinite; }
.mascot-float__char svg { width: 100%; height: 100%; }
@media (max-width: 640px) {
  .mascot-float__bubble { display: none; }
  .mascot-float { bottom: 14px; right: 14px; }
  .mascot-float__char { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-float__char { animation: none; }
}

/* =========================================================================
   CONTENT PAGES (prose / 表 / FAQ)
   ========================================================================= */
.prose { line-height: 1.95; color: var(--ink); font-size: .95rem; }
.prose h3 { font-family: var(--font-round); color: var(--green-deep); font-size: 1.15rem; margin: 1.9rem 0 .7rem; }
.prose p { margin: .8rem 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul { margin: .6rem 0 1.1rem; padding-left: 1.3rem; list-style: disc; }
.prose ul li { margin: .35rem 0; }
.prose a { color: var(--green-deep); text-decoration: underline; }
.prose-note { font-size: .8rem; color: var(--ink-soft); }
.info-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .9rem; }
.info-table th, .info-table td { border: 1px solid var(--card-line); padding: 10px 14px; text-align: left; vertical-align: top; }
.info-table th { background: rgba(92,154,63,.06); color: var(--green-deep); font-weight: 700; }
.info-table--legal th { width: 210px; white-space: nowrap; }
.faq { margin: .4rem 0 1rem; }
.faq dt { font-weight: 700; color: var(--green-deep); margin-top: 1.1rem; }
.faq dd { margin: .35rem 0 0; color: var(--ink-soft); }

/* HOME ランキング項目のサムネイル */
.rank-item__thumb { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex: none;
  background: repeating-linear-gradient(135deg, #ece6d6 0 14px, #e6dfcd 14px 28px);
  display: flex; align-items: center; justify-content: center; }
.rank-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   SELLER 商品管理（デザイン反映）
   ========================================================================= */
.prod-cell { display: flex; align-items: center; gap: 14px; }
.prod-cell__name { font-weight: 500; color: var(--ink); }
.thumb-sm { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none;
  background: repeating-linear-gradient(135deg,#ece6d6 0 12px,#e6dfcd 12px 24px);
  display: flex; align-items: center; justify-content: center; }
.thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.seller-products td { padding-top: 16px; padding-bottom: 16px; }
.stock-low { color: var(--terracotta); }
.row-menu { color: var(--ink-faint); font-size: 1.2rem; letter-spacing: 2px; padding: 0 6px; }
.row-menu:hover { color: var(--green); }

/* =========================================================================
   SELLER 商品フォーム（デザイン反映）
   ========================================================================= */
.pform { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.pform__main { display: grid; gap: 22px; }
.pform__side { display: grid; gap: 16px; position: sticky; top: 24px; }
.pform__h { font-family: var(--font-round); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.req { color: var(--terracotta); }
.img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.img-slot { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden;
  background: repeating-linear-gradient(135deg,#ece6da 0 16px,#e6dfcd 16px 32px); }
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot__main { position: absolute; top: 8px; left: 8px; background: var(--forest); color: #fff;
  font-size: .66rem; padding: 3px 8px; border-radius: var(--r-pill); }
.img-slot--add { background: none; border: 2px dashed var(--line-strong); display: flex;
  align-items: center; justify-content: center; text-align: center; color: var(--ink-faint); cursor: pointer; font-size: 1.4rem; }
.img-slot--add small { font-size: .72rem; }
.img-slot--add:hover { border-color: var(--green); color: var(--green); }
.img-slot--add.is-disabled { cursor: default; opacity: .7; }
.ship-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ship-card { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer; }
.ship-card input { accent-color: var(--green); }
.ship-card.is-on { border-color: var(--green); background: rgba(92,154,63,.06); }
.ship-card__label { font-weight: 500; }
.ship-card__fee { margin-left: auto; font-size: .82rem; }
.pub-opt { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer; margin-bottom: 10px; }
.pub-opt.is-on { border-color: var(--green); background: rgba(92,154,63,.06); }
.pub-opt input { margin-top: 3px; accent-color: var(--green); }
.pub-opt b { display: block; font-size: .92rem; }
.pub-opt small { display: block; }
.tag-input { width: 100%; padding: 13px 15px; border: 1px solid #e7e4d8; border-radius: 12px; font-family: inherit; font-size: .9rem; background: #f8f6ef; color: var(--ink); transition: border-color .12s, background .12s; }
.tag-input:focus { outline: none; border-color: var(--green); background: #fff; }
.tag-input::placeholder { color: var(--ink-faint); }
.pform__tip { background: rgba(92,154,63,.05); border: 1px solid rgba(92,154,63,.15); box-shadow: none; }
@media (max-width: 1000px){ .pform { grid-template-columns: 1fr; } .pform__side { position: static; } }

/* SELLER 注文管理 状態セレクト */
.status-select { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  font-family: inherit; font-size: .76rem; background: #fff; cursor: pointer; color: var(--ink); }
.status-select--unshipped, .status-select--packing { background: rgba(201,96,63,.12); color: #b1502f; border-color: transparent; }
.seller-orders td { padding-top: 15px; padding-bottom: 15px; }

/* =========================================================================
   SELLER 配送設定（トグル等）
   ========================================================================= */
.ship-row { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.ship-row:first-of-type { border-top: 0; }
.ship-row__info { flex: 1; }
.ship-row__fee { text-align: right; white-space: nowrap; }
.fee-inline { width: 66px; border: 0; border-bottom: 1px solid var(--line-strong); text-align: right;
  font-family: var(--font-round); color: var(--green-deep); font-size: 1rem; background: transparent; padding: 2px 0; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle input { display: none; }
.toggle__track { width: 44px; height: 24px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .15s; flex: none; }
.toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked + .toggle__track { background: var(--green); }
.toggle input:checked + .toggle__track::after { transform: translateX(20px); }
.toggle__label { font-size: .76rem; font-weight: 700; min-width: 42px; }
.payout-chip { display:inline-block; padding:3px 11px; border-radius:var(--r-pill); font-size:.75rem; font-weight:700; background:rgba(78,107,160,.14); color:#4e6ba0; }

/* =========================================================================
   SELLER メッセージ 2ペイン（デザイン反映）
   ========================================================================= */
.msg-2pane { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: stretch; min-height: 560px; }
.msg-list { padding: 0; overflow: hidden; }
.msg-list .panel__head { padding: 20px 20px 12px; margin: 0; }
.msg-list__item { display: flex; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.msg-list__item:hover { background: rgba(92,154,63,.04); }
.msg-list__item.is-on { background: rgba(92,154,63,.08); }
.msg-list__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.msg-list__body { flex: 1; min-width: 0; }
.msg-list__top { display: flex; justify-content: space-between; align-items: center; }
.msg-list__name { font-weight: 700; font-size: .9rem; }
.msg-list__time { font-size: .72rem; }
.msg-list__preview { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.msg-conv { display: flex; flex-direction: column; padding: 0; }
.msg-conv__head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.msg-conv__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.msg-conv__body { flex: 1; border: 0; border-radius: 0; background: transparent; max-height: none; margin: 0; padding: 24px; }
.msg-conv__form { padding: 16px 24px; border-top: 1px solid var(--line); }
.msg-conv__empty { padding: 80px 20px; }
@media (max-width: 900px){ .msg-2pane { grid-template-columns: 1fr; } }

/* =========================================================================
   SELLER 農園プロフィール（デザイン反映）
   ========================================================================= */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.profile-card { text-align: center; padding: 32px 24px; }
.profile-card__logo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
  background: repeating-linear-gradient(135deg,#e7ecda 0 14px,#e0e6cf 14px 28px); display: flex; align-items: center; justify-content: center; }
.profile-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-card__name { font-family: var(--font-round); font-weight: 700; font-size: 1.25rem; color: var(--green-deep); }
.verified-badge { display: inline-block; margin-top: 12px; padding: 5px 14px; border-radius: var(--r-pill);
  background: rgba(92,154,63,.14); color: var(--green-deep); font-size: .78rem; font-weight: 700; }
.profile-main { display: grid; gap: 22px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip { background: rgba(92,154,63,.12); color: var(--green-deep); padding: 6px 14px; border-radius: var(--r-pill); font-size: .8rem; }
@media (max-width: 900px){ .profile-grid { grid-template-columns: 1fr; } }

/* SELLER 通知 */
.notif-item { display: flex; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.notif-item:hover { background: rgba(92,154,63,.04); }
.notif-item.is-on { background: rgba(92,154,63,.08); }
.notif-item__ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 1rem; background: rgba(92,154,63,.12); }
.notif-ico--order_status { background: rgba(201,96,63,.12); }
.notif-ico--review { background: rgba(78,107,160,.12); }
.notif-ico--restock { background: rgba(201,96,63,.10); }
.notif-item__title { font-weight: 500; font-size: .9rem; }
.notif-item__title.is-unread { font-weight: 700; }
.notif-item__title.is-unread::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 6px; vertical-align: middle; }

/* =========================================================================
   コンソール サイドバー アカウント メニュー（ログアウト）
   ========================================================================= */
.side__account { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); position: relative; padding: 0; display: block; }
.side__account > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; }
.side__account > summary::-webkit-details-marker { display: none; }
.side__account__info { flex: 1; min-width: 0; font-size: .88rem; color: #fff; }
.side__account__info small { display: block; color: rgba(255,255,255,.55); font-size: .72rem; }
.side__account__caret { color: rgba(255,255,255,.6); font-size: .8rem; transition: transform .15s; }
.side__account[open] .side__account__caret { transform: rotate(180deg); }
.side__menu { position: absolute; left: 12px; right: 12px; bottom: 100%; margin-bottom: 8px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; }
.side__menu a, .side__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px;
  border-radius: 8px; color: var(--ink); font-size: .85rem; background: none; border: 0; cursor: pointer; font-family: inherit; }
.side__menu a:hover, .side__menu button:hover { background: rgba(92,154,63,.1); color: var(--green-deep); }
.side__menu form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.side__menu button { color: var(--terracotta); }
.side__menu button:hover { background: rgba(201,96,63,.1); color: var(--terracotta); }
.profile-card__change { display: block; width: 100%; margin-top: 16px; }
.profile-card .verified-badge { display: block; margin-left: auto; margin-right: auto; width: fit-content; }

/* =========================================================================
   運営: 画像アップロード UI + 公開側の写真表示（ヒーロー/カテゴリ/特集）
   ========================================================================= */
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.feature-hero__img { width: 100%; border-radius: var(--r-lg); margin: 8px 0 4px;
  aspect-ratio: 16 / 6; object-fit: cover; }
.admin-thumb { width: 72px; height: 52px; object-fit: cover; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.admin-thumb--empty { background: repeating-linear-gradient(135deg,#ece6da 0 10px,#e6dfcd 10px 20px);
  color: var(--ink-faint); font-size: .68rem; text-align: center; }
.imgform { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.imgform input[type=file] { font-size: .76rem; max-width: 190px; }
.bg-pick { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--ink-faint); white-space: nowrap; }
.bg-pick input[type=color] { width: 30px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: none; cursor: pointer; }
.cutout { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--ink-faint); white-space: nowrap; cursor: pointer; }
.cutout input[type=checkbox] { width: auto; cursor: pointer; }
.rowlinks { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.rowlinks form { margin: 0; display: inline; }
.feature-edit__img img { width: 100%; border-radius: var(--r); object-fit: cover; max-height: 260px; }
