:root {
  --ground: #F3F5F2; --surface: #FFFFFF; --ink: #17201B; --muted: #5B665F; --line: #DCE2DD; --soft: #EEF1EE;
  --green: #2E6B4E; --green-bg: #E3EEE7; --band: #CFE0D5;
  --blue: #1F56A8; --blue-bg: #E4ECF8; --orange: #A64A12; --orange-bg: #F8E9DF;
  --red: #B3261E; --warn-bg: #FFF6EC; --warn-line: #F0D7BD; --warn-ink: #7A3A0F; --bar-cost: #9AA6A0;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); font-family: 'IBM Plex Sans KR', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
a { color: var(--green); }
button { font-family: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.layout { display: flex; min-height: 100vh; }
.side { display: none; }
.content { flex: 1; min-width: 0; max-width: 1220px; padding-bottom: 96px; }
.page-head { padding: 20px 20px 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.page-head .date { font-size: 13px; color: var(--muted); display: block; margin-bottom: 2px; }
.page-head h1 { margin: 0; font-size: 22px; font-weight: 700; }
.pill { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--green-bg); color: var(--green); }
.pill.bad { background: var(--orange-bg); color: var(--orange); }

.stack { display: flex; flex-direction: column; gap: 12px; padding: 8px 16px 0; }
.card { background: var(--surface); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.card-head .sub { font-size: 12px; color: var(--muted); }
.card-head a { font-size: 13px; font-weight: 600; text-decoration: none; }
.foot { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.note { font-size: 12px; color: var(--muted); line-height: 1.5; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi strong { font-size: 20px; font-weight: 700; }
.kpi small { font-size: 12px; color: var(--muted); }
.good { color: var(--green); } .bad { color: var(--orange); }

.group { display: flex; flex-direction: column; gap: 8px; }
.group + .group { border-top: 1px solid var(--line); padding-top: 14px; }
.group-top { display: flex; justify-content: space-between; align-items: center; }
.group-top b { font-size: 14px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.tag.up { color: var(--blue); background: var(--blue-bg); }
.tag.down { color: var(--orange); background: var(--orange-bg); }
.tag.watch, .tag.hold, .tag.insufficient, .tag.no_rule { color: var(--muted); background: var(--soft); }
.tag.within, .tag.above { color: var(--green); background: var(--green-bg); }
.tag.below { color: var(--orange); background: var(--orange-bg); }
.gauge { height: 10px; background: var(--soft); border-radius: 5px; position: relative; }
.gauge .band { position: absolute; top: 0; bottom: 0; background: var(--band); }
.gauge .mark { position: absolute; top: -3px; width: 4px; height: 16px; border-radius: 2px; transform: translateX(-2px); }
.group-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }

.todo { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--soft); }
.todo .text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.todo .name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo .why { font-size: 12px; color: var(--muted); }
.todo .tag { min-width: 40px; text-align: center; }

.alert { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.alert b { font-size: 14px; color: var(--warn-ink); }
.alert span { font-size: 13px; color: #5B4636; line-height: 1.5; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini { background: var(--surface); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.mini b { font-size: 13px; } .mini span { font-size: 12px; color: var(--muted); line-height: 1.5; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; padding: 8px 14px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.chart { height: 180px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--line); }
.chart .day { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.chart .day i { width: 45%; border-radius: 2px 2px 0 0; display: block; }
.chart .day i.c { background: var(--bar-cost); } .chart .day i.r { background: var(--green); }
.axis { display: flex; gap: 4px; } .axis span { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted); }

.rows > div { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--soft); }
.rows .row-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rows .row-top b { font-size: 14px; }
.rows small { font-size: 12px; color: var(--muted); }

.counts { display: flex; gap: 8px; padding: 8px 16px 0; flex-wrap: wrap; }
.rec { background: var(--surface); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; border: 2px solid transparent; }
.rec.approved { border-color: var(--blue); }
.rec .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rec .group-name { font-size: 12px; color: var(--muted); }
.rec h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: #F6F8F6; border-radius: 10px; padding: 10px; }
.metrics div { display: flex; flex-direction: column; gap: 2px; } .metrics span { font-size: 11px; color: var(--muted); } .metrics b { font-size: 13px; }
.bid { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bid span { font-size: 12px; color: var(--muted); } .bid s { font-size: 16px; color: var(--muted); } .bid strong { font-size: 18px; }
.why { font-size: 13px; color: #3E4943; line-height: 1.5; margin: 0; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.btn { font-size: 14px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn.primary { border: 0; background: var(--ink); color: #fff; font-weight: 600; }
.btn.big { width: 100%; min-height: 52px; font-size: 15px; font-weight: 600; border: 0; background: var(--green); color: #fff; border-radius: 12px; }
.decided { display: flex; justify-content: space-between; align-items: center; }
.decided b { font-size: 13px; }
.link-btn { font-size: 13px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); text-decoration: underline; }
details.more { background: var(--surface); border-radius: 16px; padding: 16px 20px; }
details.more summary { font-size: 14px; font-weight: 600; cursor: pointer; min-height: 28px; }
details.more .rows { margin-top: 8px; }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 8px 4px calc(12px + env(safe-area-inset-bottom)); z-index: 10; }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 11px; }
.bottom-nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.bottom-nav svg, .side svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login .card { max-width: 360px; width: 100%; align-items: stretch; text-align: center; gap: 18px; padding: 32px 24px; }
.login h1 { margin: 0; font-size: 22px; }
.login p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.google { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); }
.error { color: var(--orange); font-size: 13px; }
.loading { padding: 40px 20px; color: var(--muted); font-size: 14px; }
.skeleton { height: 120px; border-radius: 16px; background: linear-gradient(90deg, #EEF1EE, #F6F8F6, #EEF1EE); }

@media (min-width: 900px) {
  .bottom-nav { display: none; }
  .side { display: flex; flex-direction: column; gap: 4px; width: 230px; flex: 0 0 230px; background: var(--ink); color: #E8ECE9; padding: 28px 16px; min-height: 100vh; }
  .side .brand { font-size: 18px; font-weight: 700; padding: 0 12px 24px; color: #fff; }
  .side a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: #C9D1CC; text-decoration: none; font-size: 14px; min-height: 44px; }
  .side a[aria-current="page"] { background: #2B3630; color: #fff; font-weight: 600; }
  .side svg { width: 18px; height: 18px; }
  .side .count { margin-left: auto; font-size: 12px; background: var(--orange); color: #fff; border-radius: 999px; padding: 2px 8px; }
  .side .who { margin-top: auto; font-size: 12px; color: #9AA6A0; padding: 12px; word-break: break-all; }
  .content { padding: 16px 24px 48px; }
  .page-head h1 { font-size: 28px; }
  .stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .stack > .wide { grid-column: 1 / -1; }
  .kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chart { height: 220px; gap: 10px; } .axis { gap: 10px; }
  .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
[hidden] { display: none !important; }
.btn.big:disabled { background: var(--soft); color: var(--muted); }
#apply-confirm .actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 12px; }
.tag.stop { color: var(--red); background: #FBE9E7; }
.section-title { font-size: 17px; margin: 18px 0 2px; display: flex; align-items: baseline; gap: 8px; }
.section-title .sub { font-size: 13px; font-weight: 400; color: var(--muted); }

/* creative library: date folders */
details.folder { background: var(--surface); border-radius: 16px; }
details.folder > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; position: relative; }
details.folder > summary::-webkit-details-marker { display: none; }
details.folder > summary::after { content: ""; position: absolute; right: 20px; top: 22px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
details.folder[open] > summary::after { transform: rotate(-135deg); top: 26px; }
.f-title { display: flex; align-items: baseline; gap: 8px; padding-right: 24px; }
.f-title b { font-size: 16px; }
.f-count { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 8px; }
.f-sub { font-size: 12px; color: var(--muted); }
.f-body { padding: 0 12px 14px; border-top: 1px solid var(--soft); }
.batch-label { font-size: 12px; color: var(--muted); padding: 12px 6px 6px; }
.c-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
@media (min-width: 900px) { .c-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.creative { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.creative .thumb { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); display: block; }
.creative .thumb.missing { opacity: .5; }
.c-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.c-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.c-tags .tag { font-size: 11px; }
.c-angle { font-size: 14px; }
.c-head { font-size: 12px; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.c-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.c-metrics div { display: flex; flex-direction: column; } .c-metrics span { font-size: 11px; color: var(--muted); } .c-metrics b { font-size: 13px; }
.creative details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.creative details .note { margin: 6px 0 0; overflow-wrap: anywhere; }

/* channel switch + Naver creatives */
.seg { display: inline-flex; background: var(--soft); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font-size: 13px; min-height: 34px; padding: 0 14px; border-radius: 8px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.nad-list, .next-list { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.nad { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nad-top, .next-top { display: flex; gap: 4px; flex-wrap: wrap; }
.nad-top:empty { display: none; }
.nad-head { font-size: 15px; color: #1a4fbf; overflow-wrap: anywhere; }
.nad-desc { margin: 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.nad-url { font-size: 12px; color: #2e7d32; overflow-wrap: anywhere; }
.nad-why { margin: 0; font-size: 12px; color: #b3261e; }
.nad-assets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nad-assets li { font-size: 13px; display: flex; gap: 8px; } .nad-assets li span { font-size: 11px; color: var(--muted); min-width: 64px; }
.n-metrics { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--soft); padding-top: 6px; }
.n-metrics b { color: var(--ink); font-weight: 600; }
.next { background: var(--soft); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.next .tag.hold { background: var(--surface); }
.next-text { font-size: 13px; overflow-wrap: anywhere; }

/* ---------- 뻗다 Butda beta ---------- */
.beta { min-height: 100vh; }
.beta-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.beta-top .logo { font-size: 20px; font-weight: 700; } .beta-top .logo small { font-size: 13px; font-weight: 500; color: var(--muted); }
.beta-top .who { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.beta-main { max-width: 640px; margin: 0 auto; padding: 16px 16px 48px; display: flex; flex-direction: column; gap: 12px; }
.beta-main h1 { margin: 0; font-size: 20px; } .beta-main h2 { margin: 8px 0 0; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.steps li { flex: 1; min-width: 64px; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-weight: 600; }
.steps li.now { color: var(--ink); font-weight: 600; } .steps li.now span { background: var(--green); color: #fff; }
.steps li.done span { background: var(--green-bg); color: var(--green); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
.form label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.form label.check input { width: 20px; height: 20px; flex: 0 0 auto; }
.prod { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.prod + .prod { margin-top: 10px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; } .row-btns > * { flex: 1; min-width: 140px; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; }
.terms { max-height: 46vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; background: var(--soft); }
.terms h3 { font-size: 14px; margin: 14px 0 4px; } .terms p { font-size: 13px; line-height: 1.65; margin: 0 0 8px; color: #33403A; }
.okbox { background: var(--green-bg); color: var(--green); border-radius: 12px; padding: 12px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.okbox small { color: #335C47; }
.guide { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.6; }
.guide summary { font-weight: 600; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.guide ol { padding-left: 18px; margin: 8px 0; }
.hero .date { font-size: 12px; color: var(--muted); }

.multi { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.multi legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.form label.pick { flex-direction: row; align-items: center; gap: 0; font-weight: 500; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; }
.pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.prodlist { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.selbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; margin-bottom: 6px; border-bottom: 1px solid var(--line, #e5e7eb); }
.selbar label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.selbar span { font-size: 13px; color: var(--muted, #6b7280); }
.qrbox { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.qrbox img { width: 200px; height: 200px; background: #fff; padding: 6px; border-radius: 8px; border: 1px solid var(--line, #e5e7eb); }
.qrbox ol { flex: 1; min-width: 180px; margin: 0; padding-left: 20px; }
.prodrow { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.prodrow input { width: 20px; height: 20px; flex: 0 0 auto; }
.prodrow img, .prodrow .noimg { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--soft); flex: 0 0 auto; }
.pinfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pinfo b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pinfo small { font-size: 12px; color: var(--muted); }

/* ---------- landing ---------- */
.landing { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.l-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.l-top .logo { font-size: 22px; font-weight: 700; } .l-top .logo small { font-size: 13px; font-weight: 500; color: var(--muted); }
.l-hero { padding: 32px 0 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.l-badge { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 6px 12px; border-radius: 999px; }
.l-hero h1 { margin: 0; font-size: clamp(32px, 8vw, 52px); line-height: 1.15; letter-spacing: -0.02em; }
.l-hero p { margin: 0; font-size: 16px; line-height: 1.7; color: #33403A; max-width: 560px; }
.google.cta { min-height: 52px; padding: 0 22px; font-size: 16px; font-weight: 600; border-radius: 12px; }
.l-chat { width: 100%; max-width: 440px; background: var(--surface); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; box-shadow: 0 1px 0 var(--line); }
.l-chat .me { align-self: flex-end; background: #6C4BF4; color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14px; }
.l-chat .ai { align-self: flex-start; background: var(--soft); padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 14px; line-height: 1.6; }
.l-sec { padding: 28px 0 8px; } .l-sec h2 { font-size: 22px; margin: 0 0 14px; }
.l-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .l-grid { grid-template-columns: repeat(2, 1fr); } }
.l-card { background: var(--surface); border-radius: 16px; padding: 18px; } .l-card b { font-size: 16px; } .l-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.l-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 720px) { .l-steps { grid-template-columns: repeat(3, 1fr); } }
.l-steps li { background: var(--surface); border-radius: 16px; padding: 18px; counter-increment: s; }
.l-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 8px; }
.l-steps b { display: block; font-size: 16px; } .l-steps p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.l-safe { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.l-end { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; } .l-end p { margin: 0; color: var(--muted); }
.l-foot { padding: 32px 0 0; font-size: 13px; } .l-foot a { color: var(--muted); }
.todo-row { display: flex; align-items: center; gap: 12px; } .todo-row .text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.todo-row .text small { font-size: 12px; color: var(--muted); } .todo-row .btn { min-width: 64px; }
.todo-row .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; color: #fff; flex: 0 0 auto; }
.todo-row.ok .mark { background: var(--green); border-color: var(--green); }

.mallblock { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mallblock > b { font-size: 14px; } .mallrows { display: flex; flex-direction: column; gap: 8px; }
.mallrow { display: flex; gap: 6px; align-items: center; } .mallrow input { flex: 1; min-width: 0; } .mallrow .link-btn { min-height: 40px; padding: 0 8px; }
.addmall { align-self: flex-start; min-height: 40px; padding: 0 14px; }
.choice { border: 2px solid var(--green); background: var(--green-bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.choice .note { margin: 0; color: #33403A; } .form label.check.big { font-size: 15px; } .form label.check.big input { width: 24px; height: 24px; }
.ckey { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; } .ckey > b { font-size: 13px; word-break: break-all; }

.urlbox { flex: 1; min-width: 0; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.urlbox .pre { padding: 0 2px 0 12px; color: var(--muted); font-size: 16px; white-space: nowrap; }
.form .urlbox input { border: 0; border-radius: 0; padding-left: 2px; }
.urlbox:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }

.guide code.ip { font-size: 14px; font-weight: 700; background: var(--soft); padding: 2px 6px; border-radius: 6px; user-select: all; }
/* member ad report */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; }
.stat { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 20px; }
.stat span, .stat small { font-size: 13px; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.num { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
table.num th, table.num td { padding: 8px 6px; border-bottom: 1px solid var(--line, #e5e7eb); text-align: right; white-space: nowrap; }
table.num th:first-child, table.num td:first-child { text-align: left; white-space: normal; }
table.num td small { display: block; color: var(--muted, #6b7280); }
.stats .good, table.num .good { color: #2563eb; font-weight: 600; }
.stats .bad, table.num .bad { color: #dc2626; font-weight: 600; }
/* member app (뻗다) */
.layout.member .side .brand small { font-weight: 400; color: var(--muted, #6b7280); margin-left: 4px; }
.layout.member .side .who { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.note.small, p.small { font-size: 12px; }
.todo-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line, #e5e7eb); color: inherit; text-decoration: none; }
.todo-link:last-child { border-bottom: 0; }
.todo-link span { color: var(--muted, #6b7280); }
.prodlist.short { max-height: 320px; }
.card.plan .hyp { font-style: italic; color: var(--muted, #6b7280); margin: 8px 0; }
.card.plan details.grp { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.card.plan details.grp summary { cursor: pointer; }
.card.plan .kw { font-size: 13px; line-height: 1.6; }
.adtext { display: flex; flex-direction: column; gap: 2px; background: var(--soft, #f8fafc); border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
.adtext b { color: #1d4ed8; }
.adtext span { color: inherit; }
.card.plan ul.ext { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.launchbox { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.launchbox select { margin-left: 6px; padding: 6px 8px; border-radius: 8px; }
.launchbox .confirm, .launchbox .remake { border-top: 1px dashed var(--line, #e5e7eb); padding-top: 10px; }
.launchbox textarea { width: 100%; box-sizing: border-box; }
.card.rec p { margin: 8px 0; }
.layout.member .good { color: #2563eb; } .layout.member .bad { color: #dc2626; }
.layout.member ~ .bottom-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
