/* ==========================================================================
   시나브로 체험단 — 화면별 모양 (색·간격은 style.css :root 에서만)
   ========================================================================== */

/* ── 관리자·진행자: 위쪽 메뉴는 늘 고정 (고칠것 #4) ── */
.staff { padding-top: var(--top-h); }
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); height: var(--top-h); }
.topbar-in { max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 18px; }
.brand { font-weight: 900; color: var(--ink); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none !important; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; display: inline-grid; place-items: center; font-size: 14px; font-weight: 900; }
.menu { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; height: 100%; align-items: center; }
.menu::-webkit-scrollbar { display: none; }
.menu a { position: relative; padding: 8px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none !important; }
.menu a:hover { background: var(--surface-2); }
.menu a.on { color: var(--primary); background: var(--primary-soft); }
.menu .dot { display: inline-block; margin-left: 4px; vertical-align: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.who { display: flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.role-chip { font-size: 12px; font-weight: 800; color: var(--primary); background: var(--primary-soft); border-radius: 99px; padding: 3px 9px; }
@media (max-width: 760px) {
  :root { --top-h: 104px; }
  .topbar-in { flex-wrap: wrap; gap: 0 10px; padding: 8px 12px 0; align-content: flex-start; }
  .brand { height: 40px; }
  .who { margin-left: auto; height: 40px; }
  .who .who-name { display: none; }
  .menu { order: 3; flex-basis: 100%; height: 52px; }
}

/* 관리자 숫자 칸 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: var(--gap); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); box-shadow: var(--shadow); text-decoration: none !important; display: block; }
.stat:hover { border-color: var(--primary); }
.stat-label { display: block; color: var(--ink-3); font-size: 13px; font-weight: 700; }
.stat-num { display: block; font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-alert .stat-num { color: var(--accent); }
.stat-danger .stat-num { color: var(--danger); }

/* ── 로그인 · 가입 ── */
.plain { background: linear-gradient(180deg, #eef3ff 0, var(--bg) 340px); }
.plain .wrap { padding-top: 48px; }
.auth { max-width: 420px; margin: 0 auto; }
.auth-head { text-align: center; margin-bottom: 20px; }
.auth-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 13px; }
.logo-word { font-size: 28px; margin: 12px 0 0; letter-spacing: -.03em; font-weight: 900; }
.auth-ver { text-align: center; color: var(--ink-3); font-size: 12px; margin-top: 12px; }

/* ── 리뷰어: 위 · 아래 고정 ── */
.rv-top { position: sticky; top: 0; z-index: 15; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; padding: 0 16px; height: 54px; }
.rv-top .who-name { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.rv-top .bell { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); }
.rv-top .bell:hover { background: var(--surface-2); }
.rv-top .bell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rv-top .bell .dot { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 800; }
.rv-top-right { display: flex; align-items: center; gap: 4px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: rgba(255,255,255,.98);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-3); text-decoration: none !important; font-size: 12px; font-weight: 700; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--primary); }
@media (min-width: 600px) { .tabbar { max-width: 560px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 18px 18px 0 0; } }

/* 내 할 일 띠 */
.todo { background: linear-gradient(135deg, #3062f0, #5b7cff); color: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: var(--gap); box-shadow: 0 10px 24px rgba(48, 98, 240, .22); }
.todo-title { margin: 0 0 8px; font-weight: 800; font-size: 14px; opacity: .92; }
.todo-empty { margin: 0; font-size: 14px; opacity: .95; }
.todo-list { display: grid; gap: 7px; }
.todo-item { display: flex !important; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; color: #fff !important; text-decoration: none !important; background: rgba(255,255,255,.14); border-radius: 12px; padding: 11px 13px; font-size: 14px; }
.todo-item:hover { background: rgba(255,255,255,.22); }
.todo-item b { font-weight: 800; }

/* 탭(참여 가능 / 참여 중 / 마감) — 스크롤해도 위에 붙어 있게 */
.seg { position: sticky; top: 62px; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); background: #e9ebef; border-radius: 14px; padding: 4px; margin-bottom: var(--gap); }
.seg a { text-align: center; padding: 10px 4px; border-radius: 11px; color: var(--ink-2); text-decoration: none !important; font-weight: 800; font-size: 14px; }
.seg a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* 캠페인 카드 (사진이 먼저) */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); min-width: 0; text-decoration: none !important; transition: transform .12s, box-shadow .12s; }
.ccard:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(25,31,40,.10); }
.ccard.is-hot { border: 2px solid var(--danger); }
.ccard.is-dim .ccard-img img, .ccard.is-dim .ccard-ph { filter: grayscale(.7) opacity(.65); }
.ccard-img { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; }
.ccard-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #8b95a1, #b0b8c1); }
.ccard-ph.pf-쿠팡 { background: linear-gradient(135deg, #e5484d, #ff8a65); }
.ccard-ph.pf-스마트스토어 { background: linear-gradient(135deg, #0ca678, #63e6be); }
.ccard-ph.pf-올리브영 { background: linear-gradient(135deg, #74b816, #c0eb75); }
.ccard-badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.ccard-foot { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.ccard-cover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; background: rgba(25,31,40,.45); font-weight: 800; font-size: 14px; padding: 8px; }
.ccard-body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ccard-title { margin: 0; font-weight: 700; font-size: 14px; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.ccard-sub, .ccard-meta { margin: 0; font-size: 12px; color: var(--ink-3); }
.ccard-price { margin: 4px 0 0; font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.fee { color: var(--accent); font-weight: 800; font-size: 12px; white-space: nowrap; }
.ccard-cta { margin-top: 9px; display: block; text-align: center; padding: 9px 0; border-radius: 11px; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; }
.ccard.is-dim .ccard-cta { background: var(--surface-2); color: var(--ink-3); }
.mine { color: var(--primary); }
@media (max-width: 340px) { .cgrid { grid-template-columns: 1fr; } }

/* 캠페인 상세 */
.detail-hero { margin: -20px -20px 16px; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 2px; line-height: 1.38; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; text-align: center; }
.nums div { background: var(--surface-2); border-radius: 12px; padding: 11px 2px; }
.nums b { display: block; font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; }
.nums b.today { color: var(--primary); }
.nums span { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.cond { margin-bottom: 14px; }
.chip-pf { display: inline-block; padding: 2px 9px; border-radius: 7px; font-size: 12px; font-weight: 800; color: #fff; background: #8b95a1; }
.chip-pf.pf-쿠팡 { background: #e5484d; }
.chip-pf.pf-스마트스토어 { background: #0ca678; }
.chip-pf.pf-올리브영 { background: #74b816; }
.first-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, #ebf1ff, #f5f0ff); border: 1.5px solid #c5d5ff; margin-bottom: var(--gap); color: var(--ink); cursor: pointer; width: 100%; font: inherit; text-align: left; }
.first-banner b { color: var(--primary-dark); display: block; }
.first-banner span { font-size: 13px; color: var(--ink-2); }
.first-banner .arrow { margin-left: auto; color: var(--primary); font-size: 22px; font-weight: 800; }
.pick { border: 0; padding: 0; margin: 0 0 8px; }
.pick-row { display: flex !important; gap: 10px; align-items: flex-start; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-md); margin-bottom: 8px !important; cursor: pointer; font-weight: 500 !important; }
.pick-row:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.pick-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }

/* 신청 건 카드 */
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.pcard.is-late { border: 1.5px solid var(--danger); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.pcard-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.pcard-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; background: var(--surface-2); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 13px; }
.pcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard-title { display: block; font-weight: 800; color: var(--ink); line-height: 1.38; }
.pcard .row-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.pcard .row-actions .btn-small { width: 100%; }
.pcard .row-actions details { grid-column: 1 / -1; }
.due { font-size: 13px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.due.is-late { color: var(--danger); }
.due-normal { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.due-soon { color: var(--accent); font-size: 13px; font-weight: 800; }
.due-late { color: var(--danger); font-size: 13px; font-weight: 800; }
.reject { background: var(--danger-soft); color: var(--danger); border-radius: var(--radius-sm); padding: 9px 11px; font-size: 14px; margin: 10px 0 0; font-weight: 600; }

/* 내 작업 · 정산: 금액 카드 (색으로 구분) */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: var(--gap); }
.money-2 { grid-template-columns: 1fr 1fr; }
.money-card { border-radius: var(--radius); padding: 14px; border: 1px solid; text-align: center; }
.money-card span { display: block; font-size: 13px; font-weight: 800; }
.money-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11px; }
.money-card strong { display: block; font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; margin-top: 4px; letter-spacing: -.02em; }
.money-card:nth-child(1) { background: #effbf6; border-color: #b2ecd5; color: #087f5b; }
.money-card:nth-child(2) { background: #f5f2ff; border-color: #d9cffc; color: var(--purple); }
.money-card:nth-child(3) { background: #eef3ff; border-color: #c5d5ff; color: var(--primary-dark); }
.money-card:nth-child(4) { background: #fff6eb; border-color: #ffd8a8; color: #d9480f; }
.money-note { margin: -6px 0 14px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none !important; font-size: 13px; font-weight: 800; white-space: nowrap; }
.chip span { color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.on span { color: rgba(255,255,255,.75); }
.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px 0 40px; border: 1px solid var(--line); border-radius: var(--radius-md); font: inherit; font-size: 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b95a1' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px center / 18px no-repeat; }
.search select { min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 10px; font: inherit; background: #fff; }

/* ── 한 건 진행 화면 ── */
.work-head .h2 { margin-bottom: 2px; }
.work-hero { display: flex; gap: 14px; align-items: center; }
.work-hero .pcard-thumb { width: 72px; height: 72px; border-radius: 14px; }
.timer { display: flex; justify-content: center; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding: 13px 14px; border-radius: var(--radius-md); background: var(--accent-soft); color: #d9480f; font-size: 14px; font-weight: 800; text-align: center; }
.timer b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.timer b.is-late { color: var(--danger); }
.reject-box { border-color: #f8c4c6; background: var(--danger-soft); }
.reject-title { color: var(--danger); font-weight: 900; margin: 0 0 4px; }
.reject-box p { margin: 0 0 4px; }
.base-price { font-size: 17px; color: var(--danger); }
.price-note { background: var(--primary-soft); color: var(--primary-dark); border-radius: var(--radius-md); padding: 11px 13px; font-size: 13px; font-weight: 600; margin: 12px 0 0; }
.keyword { text-align: center; background: var(--ok-soft); border: 1px solid #b2ecd5; border-radius: var(--radius-md); padding: 14px; margin: 14px 0 10px; }
.keyword span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.keyword b { display: block; font-size: 20px; color: var(--ink); margin: 4px 0 10px; overflow-wrap: anywhere; letter-spacing: -.02em; }
.btn-link-big { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius-md); background: linear-gradient(135deg, #ff7a00, #ff9f43); color: #fff !important; font-weight: 900; font-size: 16px; box-shadow: 0 8px 18px rgba(255,122,0,.25); text-decoration: none !important; }
.steps { margin: 14px 0 10px; padding: 14px 16px 14px 34px; font-size: 14px; color: var(--ink-2); background: var(--warn-soft); border-radius: var(--radius-md); }
.steps li { margin-bottom: 5px; }
.steps li:last-child { margin-bottom: 0; }
.guide-box { background: var(--surface-2); border-radius: var(--radius-md); padding: 12px 14px; margin: 6px 0 10px; }
.report { margin-top: 16px; padding: 14px; border-radius: var(--radius-md); background: #fffafa; border: 1px solid #fde1e2; }
.report-title { font-weight: 900; margin: 0 0 2px; color: var(--danger); }
.report-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.report-btns details.confirm > summary.report-btn { display: block; text-align: center; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none; background: var(--surface); }
.report-btns details[open] { grid-column: 1 / -1; }
details.fold > summary { cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "▾"; float: right; color: var(--ink-3); }
details.fold[open] > summary::after { content: "▴"; }
details.fold[open] > summary { margin-bottom: 14px; }
details.fold-inner > summary { cursor: pointer; padding: 8px 0; color: var(--primary); }
.buy-fold > summary.h2 { margin: 0; }
.big-money { font-size: 28px; font-weight: 900; margin: 0 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.step-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 900; margin: 0 0 10px; }
.step-title i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--primary); color: #fff; font-size: 12px; }

/* 캡처 올리기 */
.shots { position: relative; border: 1.5px dashed #b6c5f5; border-radius: var(--radius-md); padding: 14px; margin-bottom: 16px; background: #f7f9ff; }
.shots.has-files { border-style: solid; border-color: #7ad3ae; background: #f3fcf8; }
.shots.has-error { border-style: solid; border-color: var(--danger); background: var(--danger-soft); }
.shots.is-busy { opacity: .7; }
.shots-label { margin: 0; font-weight: 900; font-size: 15px; }
.shots-note { margin: 3px 0 0; }
.form .shots .shots-input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px; min-height: 0; padding: 0; margin: 0; border: 0; opacity: 0; overflow: hidden; }
.shots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin: 12px 0 0; }
.shots-grid:empty { display: none; }
.shot { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #e9ecef; border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot span { position: absolute; left: 4px; bottom: 4px; font-size: 10px; background: rgba(0,0,0,.6); color: #fff; padding: 0 5px; border-radius: 99px; }
.shot-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(229,72,77,.92); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.shots-bar { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; margin-top: 12px; }
.form .shots-bar label.shots-pick { display: inline-flex; margin: 0; cursor: pointer; min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; background: var(--primary); color: #fff; border: 0; }
.shots-msg { margin: 8px 0 0; color: var(--warn); font-size: 13px; font-weight: 700; text-align: center; }
@media (hover: none), (pointer: coarse) { .shots-paste { display: none; } }
.price-msg { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; padding: 0; border-radius: 10px; }
.price-msg:not(:empty) { padding: 9px 12px; }
.price-same, .price-lower { color: #087f5b; background: var(--ok-soft); }
.price-higher { color: var(--danger); background: var(--danger-soft); }
.example { margin: -4px 0 18px; font-size: 14px; }
.example > summary { cursor: pointer; color: var(--primary); font-weight: 800; padding: 4px 0; }
.example-in { padding-top: 8px; }
.example-svg { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.example-list { padding-left: 18px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gallery-item { display: block; text-decoration: none !important; color: var(--ink-2); font-size: 11px; text-align: center; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: #e9ecef; display: block; margin-bottom: 3px; border: 1px solid var(--line); }

/* 처음 안내 단계 */
.guide-step { text-align: center; }
.guide-step .step-ico { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: var(--primary-soft); }
.guide-step h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.02em; }
.guide-step p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* 알림 */
.noti { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.noti:last-child { border-bottom: 0; }
.noti.unread .noti-text { font-weight: 800; }
.noti-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; margin-top: 8px; flex: none; }
.noti.unread .noti-dot { background: var(--primary); }
.noti-text { margin: 0; font-size: 14px; color: var(--ink); }
.noti-time { font-size: 12px; color: var(--ink-3); }
.notice-card { border-radius: var(--radius); }
.notice-card .h2 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* 관리자 캠페인 사진 */
.img-edit { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; margin-top: 6px; }
.img-now { aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.img-now img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-now .ccard-ph { font-size: 14px; }
@media (max-width: 560px) { .img-edit { grid-template-columns: 1fr; } .img-now { max-width: 200px; } }
.row-prod { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.row-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-2); flex: none; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 검수함 ── */
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.qcard { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--ink); box-shadow: var(--shadow); text-decoration: none !important; }
.qcard:hover { border-color: var(--primary); }
.qcard-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.qcard-title { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcard-go { font-size: 24px; color: var(--ink-3); }
.check-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .check-layout { grid-template-columns: 1fr; } }
.shots-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.shots-big a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #f1f3f5; }
.shots-big img { width: 100%; display: block; max-height: 520px; object-fit: contain; background: #f1f3f5; }
.shots-big span { display: block; font-size: 12px; color: var(--ink-3); padding: 4px 8px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { color: var(--ink-3); font-weight: 700; width: 92px; white-space: nowrap; }
.compare td.base { color: var(--ink-3); }
.compare tr.bad td { background: var(--danger-soft); }
.decide { position: sticky; top: calc(var(--top-h) + 12px); }
.preset-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.preset-btns button { border: 1px solid var(--line-2); background: #fff; border-radius: 99px; padding: 6px 11px; font: inherit; font-size: 13px; cursor: pointer; }
.preset-btns button:hover { border-color: var(--danger); color: var(--danger); }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.timeline li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 8px; }
.timeline li:last-child { border-bottom: 0; }
.board-table td.num a.cnt { min-width: 34px; }
.sum-bad { color: var(--danger); font-weight: 800; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: #fff; text-align: center; font-weight: 700; font-size: 13px; color: var(--ink-2); text-decoration: none !important; }
.pager .on { background: var(--primary); color: #fff; border-color: var(--primary); }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; align-items: end; }
.filters label { margin-bottom: 0 !important; font-size: 12px !important; color: var(--ink-3) !important; }
.filters input, .filters select { min-height: 42px !important; margin-top: 4px !important; font-size: 14px !important; padding: 8px 10px !important; }

/* ── v0.7.0 정렬 · 모바일 다듬기 (루피: "글자·칸 정렬 맞추고 칸이 딱딱 맞게") ── */
.page-head { margin-bottom: 14px; }
.page-head .h1 { margin-bottom: 4px; }
.page-head p { margin: 0; font-size: 14px; }
.card-title-row { flex-wrap: wrap; }
.search-inline { flex: 1 1 220px; max-width: 360px; min-width: 0; margin: 0 !important; }
.search-inline input { min-height: 40px; font-size: 14px; width: 0; }  /* width:0 + flex:1 → 줄어들 수 있게 */
.search input { width: 0; }
.search-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.search-filters .search-row { grid-column: 1 / -1; display: flex; gap: 8px; }
.search-filters select { width: 100%; }
.filter-bar { display: flex; gap: 8px; margin: -4px 0 12px; }
.filter-bar select { min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 10px; font: inherit; font-size: 14px; background: #fff; }
.memo-form { display: flex; gap: 4px; align-items: center; }
.memo-form input { width: 150px; min-height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font: inherit; font-size: 13px; }
.btn-pair { display: inline-flex; gap: 6px; }
.nowrap { white-space: nowrap; }
.table th.actions-h { text-align: right; }
.table .actions > form, .table .actions > details { display: inline-block; vertical-align: middle; margin-left: 4px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
/* 입력 칸: 라벨은 한 줄, 설명은 칸 아래 작은 글씨 → 한 줄에 놓인 칸들의 높이가 딱 맞는다 */
.form-grid { align-items: start; }
.form .field > .hint, .form label > .hint { display: block; margin: 6px 0 0; font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.field-label { font-size: 14px; font-weight: 700; }
.field-static { margin: 7px 0 0; min-height: 50px; display: flex; align-items: center; padding: 0 14px; border-radius: var(--radius-md); background: var(--surface-2); border: 1.5px dashed var(--line); font-weight: 700; }
.field-check { min-height: 50px; margin: 28px 0 16px !important; }  /* 라벨 한 줄 높이만큼 내려 옆 입력칸과 맞춤 */
.form-actions { display: flex; justify-content: flex-end; }
/* 여러 계정 한 번에 신청 */
.pick-legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; padding: 0; }
.pick-row { align-items: center !important; }
.pick-row .pick-main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pick-row .pick-side { flex: none; text-align: right; color: var(--ink-2); }
.pick-row.is-off { opacity: .55; cursor: default; background: var(--surface-2); }
.pick-count { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.pick-count b { color: var(--primary); }
.add-id { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.add-id-label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 7px; }
.add-id-row { display: flex; gap: 8px; }
.add-id-row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-md); font: inherit; font-size: 16px; background: #fafbfc; }
.add-id-row .btn-small { min-height: 46px; padding: 0 18px; }
.add-id .muted.small { margin: 8px 0 0; }
.auth-foot { text-align: center; font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }
@media (max-width: 560px) {
  .search-inline { max-width: none; flex-basis: 100%; }
  .head-row { flex-wrap: wrap; }
  .head-actions { flex-wrap: wrap; }
  .table td, .table th { padding-left: 6px; padding-right: 6px; }
}
.pick-legend .muted { display: block; font-weight: 500; margin-top: 2px; }
[data-apply] .hint { margin-top: 6px; }
[data-apply] .btn-block { margin-top: 14px; }
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 12px 14px; }
  .stat-label { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stat-num { font-size: 22px; }
}
/* ── v0.8.0 ── 묶음 신청 · 처리방침 목록 · 개선 제안 */
.bundle-box { margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--primary-soft); border: 1px solid rgba(49, 102, 245, .18); }
.bundle-title { margin: 0 0 4px; font-weight: 800; font-size: 14px; }
.bundle-box .btn-text { display: inline-block; margin-top: 6px; }
.doc { line-height: 1.7; }
.doc .h2 { margin-top: 22px; }
.doc-list { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.doc-list li { margin: 0 0 6px; }
.doc-list li:last-child { margin-bottom: 0; }
.sugg-list { list-style: none; margin: 0; padding: 0; }
.sugg-list li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.sugg-list li:first-child { border-top: 0; }
.sugg-list .sugg-body { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.sugg-list .sugg-meta { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); white-space: normal; }
.sugg-list li.is-done .sugg-body { color: var(--ink-3); }
