:root {
  --green: #14532d;
  --green-2: #0f3d2e;
  --leaf: #2fbf71;
  --gold: #ffca28;
  --coral: #ff6b35;
  --cream: #fff8ea;
  --soft: #f8f9f4;
  --pale: #f4eee3;
  --line: #e7e7df;
  --text: #20251f;
  --muted: #6a7168;
  --blue: #1d4fa8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #fff;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.utility { display: flex; justify-content: flex-end; gap: 18px; height: 42px; align-items: center; font-weight: 800; font-size: 13px; }
.utility span { color: var(--green); }
.brand-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 24px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; }
.brand-logo-image:not([hidden]) {
  width: 250px;
  height: 82px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}
.brand-logo-image:not([hidden]) + .brand-emblem { display: none; }
.brand-logo-image:not([hidden]) ~ .brand-text { display: none; }
.brand-emblem {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: #11140f; border: 6px solid var(--gold); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.brand-emblem::after { content: ""; position: absolute; inset: 6px; border: 2px solid var(--gold); border-radius: 50%; }
.emblem-sun { position: absolute; left: 21px; top: 9px; width: 15px; height: 10px; background: var(--gold); clip-path: polygon(50% 0,100% 100%,0 100%); }
.emblem-ray { position: absolute; width: 4px; height: 10px; background: var(--gold); border-radius: 99px; top: 6px; }
.ray-a { left: 17px; transform: rotate(-35deg); }
.ray-b { left: 28px; top: 4px; }
.ray-c { left: 39px; transform: rotate(35deg); }
.emblem-roof { position: absolute; left: 17px; top: 23px; width: 24px; height: 14px; background: var(--gold); clip-path: polygon(50% 0,100% 100%,0 100%); }
.emblem-house { position: absolute; left: 20px; top: 34px; width: 18px; height: 11px; background: var(--gold); border-radius: 1px; }
.emblem-tree { position: absolute; width: 12px; height: 20px; top: 28px; border-radius: 999px 999px 6px 6px; background: var(--gold); }
.tree-a { left: 9px; }
.tree-b { right: 9px; }
.emblem-field { position: absolute; left: 7px; right: 7px; height: 5px; background: var(--gold); border-radius: 99px; }
.field-a { bottom: 11px; transform: rotate(7deg); }
.field-b { bottom: 4px; transform: rotate(-8deg); }
.brand-text { font-size: 32px; color: #111; letter-spacing: 0; text-shadow: 1px 1px 1px rgba(0,0,0,.12); }
.search input { width: 100%; height: 56px; border: 1px solid var(--line); border-radius: 28px; padding: 0 28px; outline-color: var(--green); }
.nav { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.nav button { height: 68px; border-left: 1px solid var(--line); font-weight: 900; font-size: 17px; }
.nav button:last-child { border-right: 1px solid var(--line); }
.nav button:hover { color: var(--green); background: var(--cream); }
.subnav { height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 26px; font-size: 13px; font-weight: 900; border-top: 1px solid var(--line); }
.subnav button:hover { color: var(--green); }

.hero { min-height: 500px; display: grid; align-items: center; gap: 18px; padding: 62px 0 36px; }
.hero-visual {
  position: relative;
  min-height: min(620px, calc(100vh - 160px));
  margin-bottom: 22px;
  padding: 72px max(40px, calc((100vw - 1120px) / 2)) 64px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(7, 36, 24, .9), rgba(9, 58, 35, .68) 42%, rgba(9, 58, 35, .16) 100%), url("/assets/fruit-hero.jpeg") center / cover no-repeat;
}
.hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.25);
}
.hero-copy { position: relative; z-index: 1; width: min(620px, 100%); color: #fff; }
.hero-copy p, .page-hero p { color: var(--green); font-weight: 900; }
.hero-visual .hero-copy p { color: #ffdf73; margin: 0 0 12px; font-size: 17px; }
.hero-copy h1 { font-size: 58px; line-height: 1.08; margin: 10px 0 28px; max-width: 560px; letter-spacing: 0; }
.hero-visual .hero-copy h1 { margin: 0 0 18px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.hero-copy > span { display: block; max-width: 560px; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.65; font-weight: 750; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-points b { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 13px; }
.hero-media img { width: 100%; height: 410px; object-fit: cover; border-radius: 8px; }
.hero-arrow { width: 48px; height: 48px; border: 1px solid #111; border-radius: 50%; font-size: 34px; }
.primary, .coral, .ghost { min-height: 46px; padding: 0 22px; border-radius: 6px; font-weight: 900; }
.primary { background: var(--green); color: white; }
.coral { background: var(--coral); color: white; }
.ghost { border: 1px solid var(--green); color: var(--green); background: #fff; }
.primary, .coral, .ghost, button { overflow-wrap: anywhere; }
.hero-visual .ghost { border-color: rgba(255,255,255,.82); color: #fff; background: rgba(255,255,255,.08); }
button:disabled { opacity: .5; cursor: not-allowed; }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.strip > * { background: #fff; padding: 20px; text-align: center; font-weight: 900; }
.strip strong { color: var(--green); background: #fff; }
.section-head { padding: 58px 0 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font-size: 32px; letter-spacing: 0; }
.section-head p { margin: 0; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-bottom: 60px; }
.product-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.product-link { width: 100%; display: block; }
.product-card img { width: 100%; aspect-ratio: 1.04; object-fit: cover; background: #f4f4ee; }
.product-info { padding: 16px; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--cream); color: var(--green); font-size: 12px; font-weight: 900; }
.product-title { display: block; width: 100%; min-height: 50px; margin: 10px 0 4px; text-align: left; font-size: 17px; font-weight: 900; line-height: 1.4; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.5; }
.price { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.locked-price { color: var(--blue); font-size: 14px; font-weight: 900; }
.price button { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: white; font-size: 24px; font-weight: 900; }
.promo-band { margin: 16px auto 72px; min-height: 170px; border-radius: 8px; overflow: hidden; background: var(--pale); display: grid; grid-template-columns: 1fr 360px; align-items: center; }
.promo-band div { padding: 24px 42px; }
.promo-band p { margin: 0 0 8px; color: var(--green); font-weight: 900; }
.promo-band h2 { margin: 0; font-size: 34px; }
.promo-band img { width: 100%; height: 170px; object-fit: cover; }
.category-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 78px; }
.category-showcase button { text-align: left; }
.category-showcase h3 { margin: 0 0 10px; color: #aaa; font-size: 23px; }
.category-showcase p { margin: 0; color: #9b9b9b; line-height: 1.5; }
.story { padding: 20px 0 90px; }
.story h2 { font-size: 34px; margin: 0 0 22px; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-cards article, .metrics article, .panel, .table-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.story-cards article { padding: 24px; min-height: 150px; }
.story-cards strong { color: var(--green); font-size: 28px; }
.story-cards p { color: var(--muted); line-height: 1.6; }

.page-hero { padding: 66px 0 36px; }
.page-hero h1 { margin: 8px 0 10px; font-size: 48px; letter-spacing: 0; }
.page-hero span { color: var(--muted); font-size: 17px; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.policy-meta b { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid #d7e8cd; border-radius: 8px; background: #f3f8ee; color: var(--green-2); font-size: 13px; }
.filter-bar { min-height: 76px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.filter-bar button { font-weight: 900; }
.filter-bar button.active { color: var(--green); }
.filter-bar span { margin-left: auto; color: var(--muted); font-size: 14px; }
.list-grid { padding-top: 0; }
.breadcrumb { padding: 48px 0 18px; color: var(--muted); font-size: 14px; }
.detail-layout { display: grid; grid-template-columns: 600px 1fr; gap: 60px; }
.detail-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--pale); }
.thumbs { display: grid; grid-template-columns: repeat(4, 96px); gap: 16px; margin-top: 18px; }
.thumbs img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.detail-info h1 { margin: 18px 0 12px; font-size: 34px; }
.detail-info > p { color: var(--muted); line-height: 1.7; }
.detail-info dl { margin: 34px 0 24px; border-top: 1px solid var(--line); }
.detail-info dl div { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-info dt { color: var(--muted); font-weight: 900; }
.detail-info dd { margin: 0; font-weight: 800; }
.option-panel { padding: 22px 28px; border-radius: 8px; background: var(--soft); display: grid; gap: 14px; }
.option-panel select { height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; background: #fff; }
.option-panel button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; margin: 0 8px; }
.detail-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.detail-sourcing-panel { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid #dbead3; border-radius: 8px; background: #f3f8ee; }
.detail-sourcing-panel strong { color: var(--green-2); }
.detail-sourcing-panel select,
.detail-sourcing-panel textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; }
.detail-sourcing-panel select { height: 40px; padding: 0 10px; font-weight: 800; color: var(--green-2); }
.detail-sourcing-panel textarea { min-height: 64px; padding: 10px; resize: vertical; line-height: 1.45; }
.detail-tabs { display: flex; gap: 52px; padding: 60px 0 22px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 900; }
.detail-copy { padding: 34px 0 90px; }
.detail-copy h2 { font-size: 28px; }
.detail-copy p { max-width: 900px; line-height: 1.8; color: var(--muted); font-size: 18px; }
.operation-policy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.operation-policy article { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 14px 16px; min-width: 0; }
.operation-policy strong { display: block; color: var(--green-2); margin-bottom: 8px; }
.operation-policy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.checkout-policy { grid-template-columns: 1fr; margin: 8px 0 12px; }
.excel-policy { grid-template-columns: 1fr; margin-top: 16px; }

.auth-layout { padding: 80px 0 110px; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 420px) minmax(360px, 1fr); gap: 24px; align-items: start; }
.auth-layout h1 { font-size: 42px; margin: 0 0 16px; }
.auth-layout > div p { color: var(--muted); line-height: 1.6; }
.panel { padding: 28px; }
.panel h2, .panel h3 { margin-top: 0; }
.panel input, .panel textarea, .panel select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin: 6px 0; background: #fff; }
.panel textarea { min-height: 86px; resize: vertical; }
.profile-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.profile-form input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.profile-form input:disabled { background: var(--soft); color: var(--muted); }
.profile-form button { justify-self: start; }
.password-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.join-panel { background: var(--cream); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 70px; }
.metrics article { padding: 26px; }
.admin-metrics article[data-dashboard-jump] { cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.admin-metrics article[data-dashboard-jump]:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(25, 82, 48, .12); transform: translateY(-1px); }
.metrics span { display: block; color: var(--muted); font-weight: 900; margin-bottom: 10px; }
.metrics strong { color: var(--green); font-size: 30px; }
.seller-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.seller-summary-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 24px; }
.seller-summary-card p { margin: 0; color: var(--muted); line-height: 1.55; font-weight: 800; }
.summary-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.table-panel { padding: 30px; margin-bottom: 90px; }
.table-row { display: grid; grid-template-columns: 1fr 2fr 1.2fr 1fr 90px; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); align-items: center; min-width: 0; }
.table-row > * { min-width: 0; overflow-wrap: anywhere; }
.table-row.head { color: var(--muted); font-weight: 900; }
.panel-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.panel-title h2 { margin: 0; }
.panel-title span { color: var(--muted); font-size: 13px; font-weight: 800; }
.panel-title button { min-height: 38px; padding: 0 12px; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.title-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.seller-order-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 8px; }
.seller-order-filters button { min-height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; background: #fff; color: var(--green-2); font-weight: 900; cursor: pointer; }
.seller-order-filters button.active { border-color: var(--green); background: #eef5e6; color: var(--green); }
.seller-order-filters span { color: var(--muted); font-size: 12px; font-weight: 900; }
.order-row { grid-template-columns: 1fr 2.2fr 1fr 1.4fr 92px; }
.excel-row { grid-template-columns: 1fr 2.2fr .7fr 1.5fr 92px; }
.request-row { grid-template-columns: 1fr 2fr 1fr 1.5fr 92px; }
.wallet-row { grid-template-columns: 1fr .8fr 1fr 1.8fr 1fr; }
.deposit-request-form,
.deposit-request-list,
.wallet-deposit-admin-list { margin: 16px 0 22px; }
.wallet-deposit-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 12px; }
.wallet-deposit-filters button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; padding: 0 11px; background: #fff; color: var(--green-2); font-weight: 900; cursor: pointer; }
.wallet-deposit-filters button.active { border-color: var(--green); background: #eef5e6; color: var(--green); }
.wallet-deposit-filters span { color: var(--muted); font-size: 12px; font-weight: 900; }
.compact-title h3 { margin: 0; font-size: 18px; }
.order-row small, .excel-row small, .request-row small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.45; }
.tracking-link { display: block; margin-top: 5px; color: var(--green); font-size: 12px; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.inline-link { color: var(--green); font-weight: 900; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.tracking-wait { display: inline-block; color: #b93824; font-size: 12px; font-weight: 900; }
.tracking-admin-display { color: var(--green-2); font-weight: 900; }
.tracking-admin-display .tracking-link { display: inline-block; margin: 0 0 0 6px; }
.amount-plus { color: #087a4b; font-weight: 900; }
.amount-minus { color: #b93824; font-weight: 900; }
.danger-text { display: block; margin-top: 4px; color: #b93824; font-weight: 900; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #eef5e6; color: var(--green); font-size: 12px; font-weight: 900; white-space: nowrap; }
.status-pill.ready { background: #fff4d6; color: #8a5a00; }
.status-pill.done { background: #e3f7ef; color: #087a4b; }
.status-pill.danger { background: #ffe6e1; color: #b93824; }
.product-state-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.excel-layout { display: grid; grid-template-columns: 720px 360px; gap: 60px; padding-bottom: 100px; }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding-bottom: 100px; }
.policy-agreement-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding: 18px 22px; border: 1px solid #ffd98f; border-radius: 8px; background: #fff8e8; }
.policy-agreement-panel strong { display: block; color: var(--green-2); font-size: 17px; }
.policy-agreement-panel p { margin: 6px 0; color: var(--ink); font-weight: 800; }
.policy-agreement-panel small { color: var(--muted); font-weight: 800; line-height: 1.5; }
.policy-agreement-panel button { flex: 0 0 auto; }
.policy-panel { line-height: 1.85; color: var(--muted); }
.policy-panel p { margin: 0 0 18px; }
.sourcing-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding-bottom: 100px; }
.sourcing-list { display: grid; gap: 16px; }
.sourcing-item {
  display: grid;
  grid-template-columns: 116px 1fr 120px;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.sourcing-item img { width: 116px; height: 92px; object-fit: cover; border-radius: 6px; }
.sourcing-item h3 { margin: 8px 0; font-size: 19px; }
.sourcing-item p { margin: 0 0 8px; color: var(--muted); }
.sourcing-item strong { color: var(--blue); font-size: 14px; }
.sourcing-status-strip { display: grid; gap: 4px; margin-top: 10px; }
.sourcing-status-strip .status-pill { justify-self: start; }
.sourcing-status-strip small,
.sourcing-status-empty { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.4; }
.sourcing-actions { display: grid; gap: 8px; }
.sourcing-actions button { width: 100%; padding: 0 12px; }
.sourcing-actions select,
.sourcing-actions textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; }
.sourcing-actions select { height: 38px; padding: 0 10px; font-weight: 800; color: var(--green-2); }
.sourcing-actions textarea { min-height: 54px; padding: 8px 10px; resize: vertical; font-size: 12px; line-height: 1.4; }
.dropzone { min-height: 230px; border: 1px dashed var(--line); border-radius: 8px; background: var(--soft); display: grid; place-items: center; text-align: center; padding: 34px; }
.dropzone strong { color: var(--green); font-size: 54px; }
.dropzone p { font-size: 18px; font-weight: 900; line-height: 1.6; }
.guide-panel { background: var(--cream); border-radius: 8px; padding: 38px; }
.guide-panel p::before { content: "• "; color: var(--leaf); font-weight: 900; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 70px 0 100px; }
.admin-side, .admin-main { min-width: 0; max-width: 100%; }
.admin-side { min-height: 640px; border-radius: 8px; background: var(--green-2); color: #fff; padding: 32px; display: grid; align-content: start; gap: 12px; font-weight: 900; }
.admin-side strong { font-size: 26px; margin-bottom: 18px; }
.admin-side button { min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; color: #fff; text-align: left; font-weight: 900; }
.admin-side button.active { background: #fff; color: var(--green-2); }
.admin-main h1 { margin: 0 0 26px; font-size: 42px; }
.admin-metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 26px; }
.admin-auth-panel { margin-bottom: 18px; }
.readiness-panel, .demo-audit-panel { margin-bottom: 18px; }
.readiness-list { display: grid; gap: 10px; }
.readiness-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--soft); }
.readiness-list, .readiness-row, .readiness-row > * { min-width: 0; max-width: 100%; }
.readiness-row strong { color: var(--green-2); }
.readiness-row span { display: block; margin-top: 4px; color: var(--muted); line-height: 1.45; }
.readiness-row em { display: block; margin-top: 6px; color: #6d4a00; font-size: 12px; font-style: normal; font-weight: 900; line-height: 1.45; }
.readiness-row.blocker { border-color: #f3b5a8; background: #fff1ee; }
.readiness-row.warning { border-color: #ffd98f; background: #fff8e8; }
.readiness-row.ready { border-color: #b7e5cc; background: #edf9f2; }
.readiness-action { min-height: 36px; padding: 0 12px; white-space: nowrap; background: #fff; }
.readiness-list.compact { margin-top: 12px; }
.readiness-list.compact .readiness-row { padding: 10px 12px; }
.opening-runbook { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 14px 16px; }
.opening-runbook strong { display: block; color: var(--green-2); margin-bottom: 8px; }
.opening-runbook ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink); line-height: 1.45; }
.opening-runbook li { min-width: 0; overflow-wrap: anywhere; }
.opening-runbook code { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.opening-runbook button { margin-top: 6px; min-height: 32px; }
.report-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.report-summary-grid article { border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 14px; min-width: 0; }
.report-summary-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; margin-bottom: 6px; }
.report-summary-grid strong { display: block; color: var(--green-2); overflow-wrap: anywhere; }
.next-action-list { display: grid; gap: 8px; margin-top: 12px; }
.next-action-list p { margin: 0; border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-weight: 800; line-height: 1.45; }
.next-action-list p:first-child { border-top: 0; padding-top: 0; }
.opening-action-panel { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 14px 16px; }
.opening-action-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.opening-action-head strong { color: var(--green-2); }
.opening-action-head span { color: var(--muted); font-size: 12px; font-weight: 900; }
.opening-action-group { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.opening-action-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.opening-action-group > strong { display: block; color: var(--ink); margin-bottom: 8px; }
.opening-action-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opening-action-items article { border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 12px; min-width: 0; }
.opening-action-items span { display: block; color: var(--green-2); font-weight: 950; margin-bottom: 6px; }
.opening-action-items p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.opening-action-items small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.opening-checklist-items { display: grid; gap: 10px; }
.opening-checklist-items article { border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 12px; }
.opening-checklist-items article.ready { border-color: #b7e5cc; background: #edf9f2; }
.opening-checklist-items article.warning { border-color: #ffd98f; background: #fff8e8; }
.opening-partner-quick { border: 1px solid var(--line); border-radius: 8px; background: #f7faf6; padding: 12px; margin-bottom: 12px; }
.opening-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opening-partner-grid label { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px 10px; color: var(--ink); font-size: 13px; font-weight: 900; }
.opening-partner-grid label.ready { border-color: #b7e5cc; background: #edf9f2; }
.opening-partner-grid label.warning { border-color: #ffd98f; background: #fff8e8; }
.opening-partner-fields { display: grid; grid-template-columns: minmax(90px, .35fr) minmax(160px, 1fr) auto; gap: 8px; margin-top: 10px; }
.opening-partner-fields input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; font: inherit; font-size: 13px; }
.opening-check-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; align-items: center; }
.opening-check-main label { display: inline-flex; align-items: center; gap: 6px; color: var(--green-2); font-size: 12px; font-weight: 950; }
.opening-check-main strong { color: var(--ink); overflow-wrap: anywhere; }
.opening-check-main small { grid-column: 2; color: var(--muted); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.opening-check-fields { display: grid; grid-template-columns: minmax(90px, .4fr) minmax(120px, 1fr) auto; gap: 8px; margin-top: 10px; }
.opening-check-fields input { width: 100%; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; font: inherit; font-size: 13px; }
.opening-checklist-items em { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 800; }
.activity-list { display: grid; gap: 8px; }
.activity-row { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 10px 0; }
.activity-row:first-child { border-top: 0; }
.activity-row strong { color: var(--ink); }
.activity-row span { color: var(--muted); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.demo-audit-list { display: grid; gap: 10px; }
.demo-audit-row { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr); gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--soft); }
.demo-audit-row.ready { border-color: #b7e5cc; background: #edf9f2; }
.demo-audit-row.warning { border-color: #ffd98f; background: #fff8e8; }
.demo-audit-row.blocker { border-color: #f3b5a8; background: #fff1ee; }
.demo-audit-row strong { display: block; color: var(--green-2); }
.demo-audit-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 900; }
.demo-audit-items { display: grid; gap: 4px; min-width: 0; }
.demo-audit-items small { color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.demo-audit-items .subitem { padding-left: 12px; color: #8a8f86; }
.demo-audit-items .text-link { margin-left: 6px; padding: 0; min-height: auto; border: 0; background: transparent; color: var(--green-2); font-size: 12px; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; }
.demo-cleanup-box { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid #f3b5a8; border-radius: 8px; background: #fff7f4; }
.demo-cleanup-box strong { color: #b93824; }
.demo-cleanup-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-cleanup-counts span { border-radius: 999px; padding: 5px 9px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 900; }
.cleanup-forecast { display: grid; gap: 4px; border: 1px solid #f3d1c8; border-radius: 8px; background: #fff; padding: 10px 12px; }
.cleanup-forecast p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 850; line-height: 1.45; }
.cleanup-forecast strong { color: var(--green-2); }
.demo-cleanup-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-cleanup-actions button { min-height: 38px; padding: 0 12px; }
.security-warning { border: 1px solid #ffd98f; border-radius: 8px; background: #fff8e8; padding: 16px 18px; margin-bottom: 18px; }
.security-warning strong { display: block; color: #8a5a00; margin-bottom: 6px; }
.security-warning p { margin: 0; color: var(--muted); line-height: 1.5; }
.admin-password-panel { display: grid; gap: 10px; }
.admin-password-panel button { justify-self: start; }
.admin-grid { display: grid; grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-grid > .admin-section { grid-column: 1 / -1; }
.admin-section[hidden] { display: none !important; }
.admin-filter-head { align-items: end; gap: 12px; }
.admin-filter-head h2 { margin-bottom: 0; }
.admin-filter-head span { margin-left: auto; color: var(--muted); font-weight: 900; font-size: 13px; white-space: nowrap; }
.admin-filter { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(130px, 170px) auto auto; gap: 8px; margin: 12px 0 6px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.admin-filter input,
.admin-filter select { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: #fff; }
.admin-filter button { min-height: 40px; padding: 0 12px; }
.admin-filter button, .admin-bulk-actions button, .tracking-bulk-form button { min-width: 0; }
.admin-filter .subtle { color: var(--muted); background: #fff; }
.admin-bulk-actions { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(130px, 180px) auto; align-items: center; gap: 8px; margin: 10px 0 6px; padding: 12px; border-radius: 8px; background: #eef5e6; }
.admin-bulk-actions strong { color: var(--green-2); font-size: 13px; }
.admin-bulk-actions select,
.admin-bulk-actions input[type="file"] { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: #fff; }
.admin-bulk-actions button { min-height: 40px; padding: 0 12px; }
.tracking-bulk-form { grid-template-columns: minmax(150px, .8fr) minmax(220px, 1.4fr) auto auto auto; background: #f3f8ee; border: 1px solid #dbead3; }
.bulk-check { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bulk-check input { width: auto; min-height: auto; margin: 0; flex: 0 0 auto; }
.bulk-check strong { min-width: 0; overflow-wrap: anywhere; }
.product-admin-panel { grid-row: span 4; }
.product-bulk-panel { display: grid; gap: 8px; }
.product-bulk-panel input[type="file"] {
  width: 100%;
  min-height: 46px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--soft);
}
.wallet-admin-panel { display: grid; gap: 16px; }
.wallet-form { display: grid; gap: 8px; }
.wallet-form select,
.wallet-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}
.admin-item { border-top: 1px solid var(--line); padding: 14px 0; font-size: 13px; }
.admin-item strong { display: block; font-size: 15px; }
.order-admin-card, .excel-admin-card, .sourcing-admin-card, .member-edit-form, .admin-account-card, .deposit-admin-card { display: grid; gap: 8px; }
.admin-create-form { grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(160px, 1fr) auto; }
.order-items { display: grid; gap: 4px; padding: 8px 10px; background: var(--soft); border-radius: 6px; color: #555; }
.admin-item select,
.admin-item input {
  width: 100%;
  margin-top: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
}
.admin-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}
.check-line input { width: auto; min-height: auto; margin: 0; }
.join-agree { align-items: flex-start; margin: 6px 0; line-height: 1.45; }
.join-agree a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.agreement-note { display: grid; gap: 4px; margin: 8px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 900; }
.product-quick-edit, .order-quick-edit { display: grid; grid-template-columns: minmax(80px, .8fr) minmax(82px, .8fr) minmax(82px, .8fr) auto; align-items: end; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid #dbead3; border-radius: 8px; background: #f3f8ee; }
.order-quick-edit { grid-template-columns: minmax(120px, .9fr) minmax(110px, .9fr) minmax(130px, 1fr) auto auto; }
.product-admin-preview { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcf8; }
.product-admin-preview img { width: 82px; height: 66px; border-radius: 6px; object-fit: cover; background: var(--pale); }
.product-admin-preview b,
.product-admin-preview small { display: block; min-width: 0; overflow-wrap: anywhere; }
.product-admin-preview b { color: var(--green-2); font-size: 13px; }
.product-admin-preview small { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 800; }
.product-quick-edit input,
.product-quick-edit select,
.order-quick-edit input,
.order-quick-edit select { min-width: 0; margin-top: 0; min-height: 38px; background: #fff; }
.product-quick-edit button,
.order-quick-edit button { width: 100%; min-height: 38px; padding: 0 12px; white-space: nowrap; }
.excel-review-strip { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(180px, 2fr) auto auto; align-items: center; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid #dbead3; border-radius: 8px; background: #f3f8ee; }
.excel-review-strip strong { font-size: 13px; color: var(--green-2); }
.excel-review-strip span { min-width: 0; color: var(--muted); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.excel-review-strip.has-error { border-color: #f3b5a8; background: #fff1ee; }
.excel-review-strip.has-error strong { color: #b93824; }
.excel-review-strip button { width: 100%; min-height: 38px; padding: 0 12px; white-space: nowrap; }
.order-issue-strip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-self: start; padding: 7px 10px; border: 1px solid #f3b5a8; border-radius: 8px; background: #fff1ee; color: #b93824; font-size: 12px; font-weight: 900; }
.order-issue-strip small { color: #7b3d32; font-weight: 800; }
.member-issue-strip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-self: start; padding: 7px 10px; border: 1px solid #e3cf87; border-radius: 8px; background: #fff9e8; color: #8a5a00; font-size: 12px; font-weight: 900; }
.member-issue-strip small { color: #6f510d; font-weight: 800; }
.excel-upload-preview { display: grid; gap: 6px; margin-top: 12px; padding: 12px; border: 1px solid #dbead3; border-radius: 8px; background: #f3f8ee; color: var(--ink); }
.excel-upload-preview.idle { background: #fbfcf8; color: var(--muted); }
.excel-upload-preview.clean { border-color: #c6e6d5; background: #edf8f1; }
.excel-upload-preview.has-error { border-color: #f3b5a8; background: #fff1ee; }
.excel-upload-preview strong { color: var(--green-2); font-size: 13px; }
.excel-upload-preview span,
.excel-upload-preview small { color: var(--muted); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.excel-upload-preview .excel-wallet-note { color: inherit; }
.excel-wallet-note { display: block; padding: 7px 9px; border-radius: 8px; font-weight: 900; }
.excel-wallet-note.ok { border: 1px solid #c6e6d5; background: #f8fffb; color: #087a4b; }
.excel-wallet-note.danger { border: 1px solid #f3b5a8; background: #fff7f5; color: #b93824; }
.excel-upload-preview ul { margin: 0; padding-left: 18px; color: #9f2f1f; font-size: 12px; font-weight: 800; line-height: 1.45; }
.excel-error-list { display: grid; gap: 4px; margin: 0; padding: 10px 12px 10px 28px; border: 1px solid #f3b5a8; border-radius: 8px; background: #fff8f6; color: #9f2f1f; font-size: 12px; font-weight: 800; line-height: 1.45; }
.excel-error-list li { overflow-wrap: anywhere; }
.member-quick-strip { display: grid; grid-template-columns: auto auto minmax(120px, 1fr) auto; align-items: center; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid #dbead3; border-radius: 8px; background: #f3f8ee; }
.member-quick-strip input { min-width: 0; margin-top: 0; min-height: 38px; background: #fff; }
.member-quick-strip button { width: 100%; min-height: 38px; padding: 0 12px; white-space: nowrap; }
.product-edit-form textarea { width: 100%; min-height: 70px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin-top: 8px; resize: vertical; }
.order-admin-card textarea, .excel-admin-card textarea, .sourcing-admin-card textarea { width: 100%; min-height: 58px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin-top: 0; resize: vertical; background: #fafafa; }
.settings-admin-panel { grid-column: 1 / -1; }
.opening-checklist { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; background: var(--soft); }
.opening-checklist > div:first-child { margin-bottom: 8px; }
.opening-checklist strong { color: var(--green-2); }
.opening-checklist p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
.opening-checklist.warning { border-color: #ffd98f; background: #fff8e8; }
.opening-checklist.ready { border-color: #b7e5cc; background: #edf9f2; }
.settings-readiness { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; background: var(--soft); }
.settings-readiness strong { display: block; margin-bottom: 6px; }
.settings-readiness p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
.settings-readiness.warning { border-color: #ffd98f; background: #fff8e8; }
.settings-readiness.ready { border-color: #b7e5cc; background: #edf9f2; }
.settings-issue-actions { margin-top: 12px; display: grid; gap: 8px; }
.settings-issue-actions strong { margin: 0; font-size: 13px; color: var(--green-2); }
.settings-issue-actions div { display: flex; flex-wrap: wrap; gap: 8px; }
.settings-issue-actions button { min-height: 34px; padding: 0 10px; background: #fff; font-size: 12px; }
.opening-command-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; background: #fff; }
.opening-command-panel .inline-actions { justify-content: flex-end; }
.opening-command-panel .inline-actions button { min-height: 36px; white-space: nowrap; }
.opening-command-panel strong { display: block; color: var(--green-2); margin-bottom: 6px; }
.opening-command-panel p { margin: 0; color: var(--muted); line-height: 1.5; }
.opening-command-list { grid-column: 1 / -1; display: grid; gap: 8px; }
.opening-command-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #dbead3; border-radius: 8px; background: #f7fbf4; }
.opening-command-row span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; color: #fff; background: var(--green-2); font-size: 12px; font-weight: 900; }
.opening-command-row code { min-width: 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.opening-command-row button { min-height: 32px; padding: 0 10px; white-space: nowrap; }
.settings-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.setting-field { display: grid; gap: 5px; align-content: start; }
.setting-field span { color: var(--green-2); font-size: 12px; font-weight: 900; }
.setting-field small { color: var(--muted); font-size: 11px; font-weight: 900; }
.setting-field.missing small,
.setting-field.placeholder small { color: #8a5a00; }
.setting-field.missing input,
.setting-field.missing select,
.setting-field.missing textarea,
.setting-field.placeholder input,
.setting-field.placeholder select,
.setting-field.placeholder textarea { border-color: #ffd98f; background: #fffdf6; }
.setting-field.ready small { color: #087a4b; }
.focus-pulse { outline: 3px solid rgba(70, 170, 82, .35); outline-offset: 3px; transition: outline-color .2s ease; }
.settings-form .setting-field.wide { grid-column: span 3; }
.settings-form textarea { min-height: 130px; }
.settings-form button { justify-self: start; }
.backup-panel { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.backup-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.backup-row strong, .backup-row span { min-width: 0; overflow-wrap: anywhere; }
.backup-row span { color: var(--muted); font-size: 13px; }
.backup-check { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 900; vertical-align: middle; }
.backup-check.ok { color: #17633a; background: #dff4e8; }
.backup-check.unknown { color: #6d4a00; background: #fff0c2; }
.backup-check.error { color: #9a2f1f; background: #ffe1da; }
.empty { grid-column: 1 / -1; color: var(--muted); }

.quick { position: fixed; right: 34px; top: 320px; width: 112px; border: 1px solid var(--line); background: #fff; z-index: 8; }
.quick button { width: 100%; min-height: 50px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 12px; }
.quick button:last-child { border-bottom: 0; color: #aaa; }
.cart { position: fixed; right: 34px; bottom: 28px; width: 260px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.12); z-index: 9; }
.cart h3 { margin: 0 0 10px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.cart-line span { min-width: 0; overflow-wrap: anywhere; }
.cart-line.has-issue { border-color: #f3b5a8; }
.cart-line small { grid-column: 1 / -1; color: #b93824; font-weight: 900; line-height: 1.35; }
.cart-controls { grid-column: 1 / -1; display: grid; grid-template-columns: 30px 34px 30px minmax(46px, auto); align-items: center; gap: 6px; }
.cart-controls button { min-height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--green); font-size: 12px; font-weight: 900; }
.cart-controls strong { text-align: center; color: var(--green-2); }
#cartTotal { display: block; margin: 12px 0; font-size: 20px; }
.cart-wallet-note { margin: -4px 0 12px; padding: 8px 10px; border-radius: 8px; font-size: 12px; font-weight: 900; line-height: 1.35; }
.cart-wallet-note.ok { border: 1px solid #c6e6d5; background: #edf8f1; color: #087a4b; }
.cart-wallet-note.danger { border: 1px solid #f3b5a8; background: #fff1ee; color: #b93824; }
.tracking-upload-preview { grid-column: 1 / -1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; line-height: 1.4; }
.tracking-upload-preview strong, .tracking-upload-preview span { display: block; }
.tracking-upload-preview.clean { border-color: #b7e5cc; background: #edf9f2; color: #087a4b; }
.tracking-upload-preview.has-warning { border-color: #ffd98f; background: #fffdf6; color: #8a5a00; }
.tracking-upload-preview.has-error { border-color: #f3b5a8; background: #fff1ee; color: #b93824; }
.tracking-upload-preview ul { margin: 6px 0 0; padding-left: 18px; }
.product-upload-preview { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; line-height: 1.4; }
.product-upload-preview strong, .product-upload-preview span { display: block; }
.product-upload-preview.clean { border-color: #b7e5cc; background: #edf9f2; color: #087a4b; }
.product-upload-preview.has-error { border-color: #f3b5a8; background: #fff1ee; color: #b93824; }
.product-upload-preview ul { margin: 6px 0 0; padding-left: 18px; }
.notice { position: fixed; left: 13%; top: 150px; width: 420px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.18); background: #48aee9; z-index: 20; }
.notice-body { padding: 26px 28px 0; text-align: center; color: #fff; background: linear-gradient(#35b8eb, #63a6ee); }
.notice-body > strong { display: block; margin-bottom: 14px; font-size: 22px; font-weight: 950; }
.notice ul { display: inline-block; margin: 0 0 16px; text-align: left; font-size: 19px; font-weight: 900; line-height: 1.5; }
.notice li::marker { color: var(--gold); }
.notice p { border: 1px dashed rgba(255,255,255,.9); border-radius: 14px; padding: 16px; font-size: 22px; font-weight: 900; line-height: 1.35; }
.notice-cta { margin: 18px auto 0; width: min(210px, 100%); min-height: 62px; border: 4px solid #20252b; border-radius: 18px; background: #ffe500; color: #2b1c15; display: grid; place-items: center; font-weight: 950; line-height: 1.25; transform: rotate(2deg); box-shadow: 0 10px 0 rgba(0,0,0,.12); }
.notice-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 42px; padding: 0 14px; background: #fff; font-weight: 800; }
dialog { border: 0; border-radius: 8px; padding: 0; width: min(520px, calc(100% - 36px)); }
dialog::backdrop { background: rgba(0,0,0,.35); }
.modal-card { margin: 0; padding: 28px; }
.modal-close { float: right; font-size: 26px; }
.modal-card input, .modal-card textarea { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin: 6px 0; }
.modal-card textarea { min-height: 82px; resize: vertical; }
.modal-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.modal-actions button { width: 100%; }
.faq-policy { grid-template-columns: 1fr; margin-top: 10px; }
.hidden { display: none; }
.footer { border-top: 1px solid var(--line); padding: 70px 0; color: #888; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.mini-brand { color: var(--green); font-size: 30px; font-weight: 900; margin-bottom: 28px; }
.footer strong { color: #aaa; }
.footer-mail { color: var(--blue); font-size: 23px; font-weight: 900; }
.policy-links button { color: var(--green); font-weight: 900; }

@media (max-width: 1120px) {
  .quick { display: none; }
  .cart { position: static; width: min(1120px, calc(100% - 40px)); margin: 0 auto 30px; }
  .brand-row { grid-template-columns: 260px minmax(0, 1fr); }
  .notice { left: 40px; }
}
@media (max-width: 900px) {
  .hero, .detail-layout, .auth-layout, .excel-layout, .sourcing-layout, .policy-layout, .admin-shell { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; padding: 60px 40px 48px; background-position: 58% center; }
  .hero-copy { width: min(560px, 100%); }
  .policy-agreement-panel { display: grid; grid-template-columns: 1fr; }
  .policy-agreement-panel button { width: 100%; }
  .seller-summary-grid { grid-template-columns: 1fr; }
  .product-grid, .metrics, .category-showcase, .story-cards, .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-filter { grid-template-columns: minmax(0, 1fr) minmax(130px, 170px) auto auto; }
  .product-quick-edit, .order-quick-edit { grid-template-columns: minmax(80px, .9fr) minmax(82px, .9fr) minmax(82px, .9fr) auto; }
  .excel-review-strip { grid-template-columns: minmax(140px, 1fr) minmax(180px, 2fr); }
  .member-quick-strip { grid-template-columns: auto auto minmax(120px, 1fr) auto; }
  .admin-side { min-height: auto; display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; }
  .admin-side strong { width: 100%; margin-bottom: 4px; }
  .admin-side button { min-width: 0; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13px; white-space: normal; }
  .admin-main h1 { font-size: 34px; }
  .admin-shell { padding: 36px 0 70px; gap: 22px; }
  .admin-grid { gap: 14px; }
  .nav { display: flex; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
  .nav button { flex: 0 0 auto; min-width: 120px; height: 54px; padding: 0 18px; border-left: 0; border-right: 1px solid var(--line); }
  .hero-arrow { display: none; }
  .notice { left: 20px; right: 20px; width: auto; top: 110px; }
  .promo-band { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .inner { width: min(100% - 24px, 1120px); }
  .utility { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .brand-row { grid-template-columns: 1fr; gap: 14px; padding: 14px 0; }
  .brand-logo-image:not([hidden]) { width: min(220px, 100%); height: 70px; }
  .topbar { position: static; }
  .search input { height: 48px; border-radius: 24px; padding: 0 18px; }
  .product-grid, .metrics, .admin-grid, .category-showcase, .story-cards, .footer-grid, .operation-policy { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .subnav { justify-content: flex-start; overflow-x: auto; }
  .hero { min-height: auto; padding: 38px 0 24px; }
  .hero-visual { min-height: 520px; margin-bottom: 14px; padding: 54px 24px 42px; background: linear-gradient(180deg, rgba(7, 36, 24, .88), rgba(9, 58, 35, .68) 62%, rgba(9, 58, 35, .2)), url("/assets/fruit-hero.jpeg") center / cover no-repeat; }
  .hero-copy h1, .page-hero h1 { font-size: 34px; line-height: 1.16; }
  .hero-visual .hero-copy h1 { font-size: 38px; line-height: 1.12; }
  .hero-copy > span { font-size: 16px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-points { gap: 6px; }
  .hero-media img { height: 280px; }
  .page-hero { padding: 44px 0 26px; }
  .section-head h2, .story h2, .promo-band h2 { font-size: 27px; line-height: 1.25; }
  .detail-info h1 { font-size: 28px; }
  .panel, .table-panel, .guide-panel { padding: 20px; }
  .section-head, .filter-bar { display: block; }
  .filter-bar button { margin: 8px 12px 8px 0; }
  .detail-actions, .table-row, .sourcing-item { grid-template-columns: 1fr; }
  .table-row.head { display: none; }
  .table-row { gap: 8px; padding: 16px 0; align-items: start; }
  .table-row:not(.head) { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin: 10px 0; background: #fff; }
  .order-row, .excel-row, .request-row, .wallet-row { grid-template-columns: 1fr; }
  .panel-title { display: block; }
  .panel-title span { display: block; margin-top: 6px; }
  .panel-title .inline-actions { margin-top: 8px; }
  .admin-filter-head span { margin-left: 0; }
  .admin-filter { grid-template-columns: 1fr; padding: 10px; }
  .admin-filter input { grid-column: 1 / -1; }
  .admin-filter button,
  .admin-bulk-actions button,
  .tracking-bulk-form button { width: 100%; }
  .admin-bulk-actions strong { line-height: 1.35; }
  .admin-inline { grid-template-columns: 1fr; }
  .readiness-row { grid-template-columns: 1fr; }
  .report-summary-grid { grid-template-columns: 1fr 1fr; }
  .opening-action-items { grid-template-columns: 1fr; }
  .opening-partner-grid { grid-template-columns: 1fr 1fr; }
  .opening-partner-fields { grid-template-columns: 1fr; }
  .opening-check-main { grid-template-columns: 1fr; }
  .opening-check-main small { grid-column: 1; }
  .opening-check-fields { grid-template-columns: 1fr; }
  .demo-audit-row { grid-template-columns: 1fr; }
  .readiness-action { width: 100%; }
  .opening-command-panel { grid-template-columns: 1fr; }
  .opening-command-panel .inline-actions { justify-content: stretch; display: grid; grid-template-columns: 1fr; }
  .opening-command-panel .inline-actions button { width: 100%; }
  .opening-command-row { grid-template-columns: 28px minmax(0, 1fr); }
  .opening-command-row button { grid-column: 1 / -1; width: 100%; }
  .opening-runbook ol { padding-left: 16px; }
  .opening-runbook button { width: 100%; }
  .admin-bulk-actions, .tracking-bulk-form { grid-template-columns: 1fr; }
  .product-quick-edit, .order-quick-edit { grid-template-columns: 1fr 1fr; }
  .excel-review-strip { grid-template-columns: 1fr; }
  .member-quick-strip { grid-template-columns: 1fr 1fr; }
  .admin-side { flex-wrap: nowrap; overflow-x: auto; border-radius: 8px; padding: 14px; scrollbar-width: none; }
  .admin-side strong { display: none; }
  .admin-side button { flex: 0 0 auto; white-space: nowrap; }
  .admin-main h1 { font-size: 30px; }
  .profile-form { grid-template-columns: 1fr; }
  .settings-form { grid-template-columns: 1fr; }
  .settings-form .setting-field.wide { grid-column: auto; }
  .backup-row { grid-template-columns: 1fr; }
  .notice { top: 82px; left: 12px; right: 12px; }
  .notice p { font-size: 18px; }
  .cart { width: min(100% - 24px, 1120px); padding: 14px; margin-bottom: 22px; }
  .cart .primary { width: 100%; }
  dialog { width: min(100% - 24px, 520px); }
  .modal-card { padding: 22px; }
  .modal-card .primary,
  .modal-card .ghost,
  .modal-card .coral { width: 100%; }
  .modal-actions { grid-template-columns: 1fr; }
  .sourcing-item img { width: 100%; height: 180px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .thumbs img { width: 100%; height: auto; }
}
@media (max-width: 420px) {
  .strip,
  .report-summary-grid,
  .product-admin-preview,
  .product-quick-edit,
  .order-quick-edit,
  .member-quick-strip { grid-template-columns: 1fr; }
  .panel-title button,
  .panel-title .inline-actions,
  .demo-cleanup-actions button,
  .admin-filter button,
  .admin-bulk-actions button,
  .tracking-bulk-form button,
  .excel-review-strip button,
  .product-quick-edit button,
  .order-quick-edit button,
  .member-quick-strip button { width: 100%; }
  .panel-title button { margin-top: 8px; }
  .cart-controls { grid-template-columns: 34px minmax(34px, 1fr) 34px; }
  .cart-controls button[data-cart-remove] { grid-column: 1 / -1; width: 100%; }
  .status-pill { white-space: normal; text-align: center; }
  .hero-copy h1,
  .page-hero h1 { font-size: 30px; }
}
