/* 다채리움 이끼 & 유목 — 사진이 주인공인 담백한 화면 (모바일 우선) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --green: #2f6b3f;
  --green-dark: #1d4a2c;
  --green-soft: #e9f1ea;
  --green-tint: #f2f7f2;
  --bg: #fbfaf7;
  --card: #ffffff;
  --text: #16211a;
  --muted: #71806f;
  --line: #e7e7df;
  --red: #b53b30;
  --red-soft: #fbeceb;
  --amber: #8a6300;
  --amber-soft: #fbf2dd;
  --blue: #2c5aa0;
  --blue-soft: #e8eff9;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(22, 33, 26, .04), 0 8px 24px rgba(22, 33, 26, .06);
  --shadow-hover: 0 2px 4px rgba(22, 33, 26, .06), 0 14px 32px rgba(22, 33, 26, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.25; letter-spacing: -0.03em; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 22px 18px 100px; }
.narrow { max-width: 460px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.right { text-align: right; }
.hidden { display: none !important; }

/* 상단 메뉴 — 스크롤해도 따라오고, 뒤가 살짝 비친다 */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(231, 231, 223, .9);
}
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand {
  font-weight: 800; font-size: 17px; color: var(--green-dark); text-decoration: none; margin-right: auto;
  letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 7px;
}
.brand img { width: 26px; height: 26px; object-fit: contain; display: block; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a, .nav button {
  padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--muted);
  font-size: 14px; font-weight: 600; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav a:hover { color: var(--green-dark); background: var(--green-tint); }
.nav a.active { background: var(--green-dark); color: #fff; }

/* 첫 화면 소개 */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(101, 152, 110, .22) 0%, rgba(101, 152, 110, 0) 55%),
    linear-gradient(160deg, #f4f8f3 0%, #eef4ec 100%);
  border-radius: var(--radius-lg);
  padding: 34px 26px 28px;
  margin: 6px 0 22px;
}
.hero::after {
  content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(79, 139, 91, .18), rgba(79, 139, 91, 0) 70%);
  border-radius: 50%;
}
.hero-eyebrow {
  display: inline-block; background: #fff; color: var(--green-dark); border-radius: 999px;
  padding: 5px 13px; font-size: 12.5px; font-weight: 700; margin-bottom: 14px; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(28px, 7vw, 42px); font-weight: 800; margin-bottom: 10px; }
.hero h1 .accent { color: var(--green); }
.hero .lead { font-size: 16px; color: #3c5044; max-width: 46ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 4px; position: relative; z-index: 1; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; flex-wrap: wrap; position: relative; z-index: 1; }
.steps li {
  background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 7px 14px;
  font-size: 13px; color: #3c5044; font-weight: 500;
}
.steps b {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green-dark); color: #fff; font-size: 11px; margin-right: 6px;
}

/* 곶자왈 사진 띠 */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.shot.big { grid-column: 1 / -1; }
.shot.big img { aspect-ratio: 16 / 9; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 12px; color: #fff; font-size: 14px;
  background: linear-gradient(to top, rgba(12, 24, 16, .62), rgba(12, 24, 16, 0));
}
@media (max-width: 520px) { .shot figcaption { font-size: 13px; } }

/* 첫 화면 생이끼 소개 카드 */
.points { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 18px 0 0; position: relative; z-index: 1; }
@media (min-width: 700px) { .points { grid-template-columns: repeat(3, 1fr); } }
.point {
  background: rgba(255, 255, 255, .78); border-radius: 14px; padding: 13px 15px;
}
.point b { display: block; color: var(--green-dark); font-size: 15px; letter-spacing: -0.02em; }
.point span { display: block; color: #4a6050; font-size: 13px; margin-top: 3px; }

.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }

/* 첫 화면 아래 '관리자' 바로가기. 손님 눈에 띄지 않게 작고 흐리게 둔다 */
.admin-link { font-size: 12px; color: var(--muted); opacity: .55; text-decoration: none; }
.admin-link:hover, .admin-link:focus { opacity: 1; text-decoration: underline; }

.notice {
  background: var(--amber-soft); color: #6a4c00; border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 16px; white-space: pre-line; font-size: 14px;
}

/* 카드·폼 */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow);
}

label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 5px; color: #3c5044; }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 107, 63, .14);
}
textarea { min-height: 76px; resize: vertical; }
input[type="checkbox"] { width: auto; accent-color: var(--green); }
input[type="radio"] { width: auto; accent-color: var(--green); }
.check { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 14px; color: var(--text); }

.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--green-dark); background: var(--green-dark);
  color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background .15s, box-shadow .15s; letter-spacing: -0.01em;
}
.btn:hover { background: #163c23; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.line { background: #fff; color: var(--green-dark); border-color: var(--line); }
.btn.line:hover { background: var(--green-tint); border-color: #cfdcd0; }
.btn.danger { background: #fff; color: var(--red); border-color: #e6c8c5; }
.btn.danger:hover { background: var(--red-soft); }
.btn.sm { padding: 6px 13px; font-size: 13px; }
.btn.block { width: 100%; margin-top: 18px; padding: 14px; font-size: 16px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.msg { margin-top: 12px; padding: 11px 14px; border-radius: 12px; font-size: 14px; white-space: pre-line; }
.msg.error { background: var(--red-soft); color: var(--red); }
.msg.ok { background: var(--green-soft); color: var(--green-dark); }

/* 탭 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button {
  background: none; border: 0; padding: 11px 14px; font: inherit; font-weight: 600; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs button.active { color: var(--green-dark); border-color: var(--green); }

/* 상태 뱃지 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.pending_payment { background: var(--amber-soft); color: var(--amber); }
.badge.paid { background: var(--blue-soft); color: var(--blue); }
.badge.shipped { background: var(--green-soft); color: var(--green-dark); }
.badge.cancelled { background: #eeeeea; color: #767668; }
.badge.unchecked { background: var(--red); color: #fff; }
.ship-to { color: var(--red); }   /* 위탁 배송 주문은 받는 분이 주문자와 다르다 */
.badge.soldout { background: rgba(22, 33, 26, .72); color: #fff; }

/* 상품 목록 위 도구: 검색 · 보기 방식 */
.shop-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.shop-tools input { flex: 1; min-width: 170px; border-radius: 999px; padding-left: 16px; }
.view-toggle { display: flex; border-radius: 999px; background: #eeefe9; padding: 3px; gap: 2px; }
.view-toggle button {
  border: 0; background: none; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer; border-radius: 999px;
}
.view-toggle button.active { background: #fff; color: var(--green-dark); box-shadow: var(--shadow); }

/* 분류 버튼 */
#catFilters .btn.sm, .chip { border-radius: 999px; }

/* 회원 · 가격 구분 안내 */
.tier {
  background: var(--green-tint); color: var(--green-dark); border: 1px solid #e0ebe1; border-radius: var(--radius);
  padding: 11px 16px; margin-bottom: 16px; font-size: 14px;
}
.tier a { color: var(--green-dark); font-weight: 600; }

/* 후기 */
.link-btn {
  background: none; border: 0; padding: 2px 0; font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--green); cursor: pointer; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.stars { color: #e0a32a; letter-spacing: 1px; }
.review-box { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.review { padding: 5px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }

.review-write { display: block; background: var(--green-tint); border-radius: 12px; padding: 11px 13px; margin: 8px 0; }
.review-done { display: block; padding: 5px 0; }
.find-wrap { margin-bottom: 16px; }
.find-wrap summary { cursor: pointer; color: var(--green-dark); font-size: 14px; font-weight: 600; padding: 8px 0; }

/* 수량 할인 */
.tier-list { color: var(--green-dark); background: var(--green-tint); border-radius: 8px; padding: 4px 8px; margin-top: 4px; }
.products.small .tier-list { font-size: 11.5px; padding: 3px 7px; }
.products.text .tier-list { display: none; }
.tier-row { margin-bottom: 8px; }
.tier-row input { width: auto; }

/* 공유 링크 */
.share-link {
  background: var(--green-tint); border: 1px dashed #cfdcd0; border-radius: 12px; padding: 11px 13px;
  font-size: 13.5px; color: var(--green-dark); word-break: break-all; font-weight: 600;
}
#qrCanvas { border-radius: 12px; border: 1px solid var(--line); background: #fff; }

/* 쿠폰 */
.coupon {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  border: 1px dashed #cfdcd0; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px;
  background: var(--green-tint);
}
.coupon.used { opacity: .45; background: #f6f6f3; border-style: solid; }
.coupon .right { margin-left: auto; }

/* 홈 화면에 추가 안내 */
.install {
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--green-tint); border: 1px solid #e0ebe1; border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 16px;
}
.install p { margin: 2px 0 0; }

/* 첫 화면 팝업 안내 */
.popup {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(22, 33, 26, .55); padding: 18px;
}
.popup-box {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; max-width: 460px; width: 100%;
  max-height: 92vh; display: flex; flex-direction: column; box-shadow: var(--shadow-hover);
}
.popup-box img { width: 100%; height: auto; display: block; object-fit: contain; }
.popup-box a { display: block; min-height: 0; overflow: auto; }
.popup-foot { display: flex; gap: 8px; justify-content: space-between; padding: 12px 14px; border-top: 1px solid var(--line); }

/* 제휴 업체 */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.partner {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.partner .thumb { overflow: hidden; background: var(--green-soft); }
.partner img, .partner .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.partner .noimg {
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(140deg, #eef3ed, #e3ece4);
}
.partner-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.partner-name { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.partner-intro { color: var(--muted); font-size: 13px; white-space: pre-line; margin: 4px 0 0; }

/* 좁은 표에서 금액·날짜가 줄바꿈되지 않게 */
.nowrap, table.list td.right, table.list th.right { white-space: nowrap; }
.badge { white-space: nowrap; }

/* 행사 · 이벤트 게시판 */
.post-title { font-size: 18px; margin: 0; }
.post-img { width: 100%; border-radius: 12px; margin-top: 12px; display: block; }
.post-body { white-space: pre-line; margin: 10px 0 0; }

/* 상품 목록 */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }

.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.product.selected { border-color: var(--green); box-shadow: 0 0 0 2px rgba(47, 107, 63, .25), var(--shadow-hover); }
.product .thumb { position: relative; overflow: hidden; background: var(--green-soft); }
.product img, .product .noimg {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.product:hover img { transform: scale(1.04); }
.product .noimg {
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px;
  background: linear-gradient(140deg, #eef3ed, #e3ece4);
}
.thumb-badge { position: absolute; left: 10px; top: 10px; }
.inline-badge { display: none; margin-left: 6px; }          /* 사진이 없는 '글 위주' 보기에서만 */
.products.text .inline-badge { display: inline-block; }
.product-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-name { font-weight: 700; letter-spacing: -0.02em; }
.product-desc { color: var(--muted); font-size: 13px; white-space: pre-line; }
.product-price { font-weight: 800; color: var(--text); font-size: 17px; margin-top: auto; padding-top: 8px; letter-spacing: -0.02em; }
.price-label {
  display: inline-block; background: #eef2ec; color: var(--muted); border-radius: 999px;
  padding: 1px 8px; font-size: 11.5px; font-weight: 700; vertical-align: 2px; margin-right: 4px;
}
/* 사업자만 도매가를 본다 */
.wholesale-hint { color: var(--muted); margin-top: 2px; }
/* 사업자에게만 보이는 참고용 소매가 */
.retail-hint { color: var(--muted); margin-top: 2px; }
.products.text .retail-hint { display: inline-block; margin-left: 6px; }
.wholesale-hint::before { content: '🔒'; margin-right: 4px; font-size: 11px; }
.qty { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.qty button {
  width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  font-size: 18px; color: var(--green-dark); cursor: pointer; line-height: 1;
}
.qty button:hover { background: var(--green-tint); }
.qty input { text-align: center; width: 70px; padding: 8px 4px; border-radius: 12px; }
.qty.sm { margin-top: 0; }
.qty.sm button { width: 32px; height: 32px; font-size: 16px; }
.qty.sm input { width: 56px; padding: 5px 2px; }

/* 작게 보기: 휴대폰에서도 두 개씩 */
.products.small { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
@media (min-width: 700px) { .products.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } }
.products.small img, .products.small .noimg { aspect-ratio: 1 / 1; }
.products.small .product-body { padding: 10px 11px 12px; gap: 2px; }
.products.small .product-name { font-size: 14px; }
.products.small .product-desc { display: none; }
.products.small .product-price { font-size: 15px; }
/* 좁은 칸에서는 '소비자가' 딱지를 금액 위에 따로 둔다 */
.products.small .price-label { display: block; width: fit-content; margin: 0 0 3px; }
.products.small .wholesale-hint { font-size: 11.5px; line-height: 1.4; }
.products.small .qty { margin-top: 8px; }
.products.small .qty button { width: 32px; height: 32px; font-size: 16px; }
.products.small .qty input { width: 100%; min-width: 0; padding: 6px 2px; }

/* 글 위주 보기: 사진 없이 한 줄씩 */
.products.text { grid-template-columns: 1fr; gap: 8px; }
.products.text .product { flex-direction: row; box-shadow: none; }
.products.text .product:hover { transform: none; box-shadow: var(--shadow); }
.products.text .thumb, .products.text .product-desc, .products.text .link-btn,
.products.text .review-box, .products.text .wholesale-hint, .products.text .price-label { display: none; }
.products.text .product-body { flex-direction: row; align-items: center; gap: 10px; padding: 11px 14px; }
.products.text .product-name { flex: 1; min-width: 0; }
.products.text .product-price { margin: 0; padding: 0; font-size: 15px; white-space: nowrap; }
.products.text .qty { margin: 0; gap: 4px; }
.products.text .qty button { width: 30px; height: 30px; font-size: 15px; }
.products.text .qty input { width: 46px; padding: 5px 2px; }

/* 주문서 */
.order-form { margin-top: 28px; }
.sum-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sum-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum-table tr.total td { border-bottom: 0; font-weight: 800; font-size: 18px; color: var(--green-dark); padding-top: 12px; }

.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center;
  pointer-events: none;
}
.cartbar-inner {
  max-width: 620px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(22, 44, 29, .95); color: #fff; border-radius: 999px; padding: 10px 12px 10px 22px;
  box-shadow: 0 10px 30px rgba(22, 33, 26, .28); pointer-events: auto;
  backdrop-filter: blur(8px); font-weight: 600;
}
.cartbar .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.cartbar .btn:hover { background: #eef4ec; }

.bank { background: var(--green-tint); border: 1px solid #e0ebe1; border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.bank strong { font-size: 17px; }
.bank .bank-note { margin-top: 8px; line-height: 1.5; }
.bank .bank-note strong { font-size: inherit; }

/* 주문 카드 */
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.order-items { margin: 10px 0; padding: 0; list-style: none; font-size: 14px; }
.order-items li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.ship { background: var(--blue-soft); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }

/* 손님이 직접 고치는 영역 (주문 조회) */
.edit-box { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.edit-box h3 { margin-bottom: 2px; }
.edit-items { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.edit-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.edit-item:last-child { border-bottom: 0; }
.edit-total { margin-top: 12px; }

/* 판매 집계 요약 (관리자) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 20px; margin-top: 3px; letter-spacing: -0.03em; }
.stat.main { background: var(--green-dark); border-color: var(--green-dark); }
.stat.main span, .stat.main b { color: #fff; }
/* 집계 표는 줄바꿈 없이, 좁으면 옆으로 넘겨 본다 */
table.sales th, table.sales td { white-space: nowrap; }

/* 표 (관리자) */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); }
table.list th, table.list td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list th { background: #f7f8f4; font-size: 12.5px; color: var(--muted); white-space: nowrap; font-weight: 700; }
table.list img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; background: var(--green-soft); }

.empty { text-align: center; color: var(--muted); padding: 48px 12px; }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: rgba(22, 33, 26, .94); color: #fff;
  padding: 11px 20px; border-radius: 999px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px);
  box-shadow: 0 10px 30px rgba(22, 33, 26, .28);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
