/* Circle Life 0.21.0 — white paper, navy ink, one blue accent, to sit inside circleposusa.com. */
:root {
  --paper: #ffffff; --wash: #f5f7fa; --ink: #1b2a4a; --soft: #5f6b82; --line: #dfe4ec;
  --blue: #2f6fed; --warm: #c2410c; --good: #116b45;
  --r: 12px; --wrap: 880px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
main { max-width: var(--wrap); margin: 0 auto; padding: 22px 18px 56px; }
main > h2 { font-size: 1.05rem; font-weight: 700; color: var(--soft); margin: 30px 0 12px; }
.hint { color: var(--soft); font-size: .95rem; }
.pad { padding: 40px 18px; text-align: center; }
.fine { color: var(--soft); font-size: .85rem; margin-top: 18px; line-height: 1.7; }
.fine a { color: var(--blue); text-decoration: underline; }
.empty { background: var(--wash); border-radius: var(--r); padding: 28px 20px; color: var(--soft); text-align: center; }

/* header, same restraint as the site's own nav */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; max-width: var(--wrap); margin: 0 auto; }
.brand { font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.brand small { display: block; margin-top: 5px; font-size: .74rem; font-weight: 500; color: var(--soft); letter-spacing: .08em; }
@media (max-width: 560px) { .brand { font-size: 1.45rem; } .brand small { margin-top: 3px; font-size: .66rem; letter-spacing: .06em; } }
.tools { display: flex; gap: 6px; align-items: center; }
.tools .site { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: .85rem; color: var(--soft); white-space: nowrap; }
.tools .site:before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--ink); box-sizing: border-box; flex: none; }
.tools .site:hover { color: var(--ink); border-color: var(--ink); }
/* who is signed in, in the corner. The name itself is the link to the account page. */
.tools .who { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.tools .who.in { font-weight: 500; color: var(--soft); }
.tools .who:hover { border-color: var(--ink); color: var(--ink); }

/* the sign-in card and the account page */
main.narrow { max-width: 460px; margin: 0 auto; }
main.narrow .panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
main.narrow h1 { margin: 0 0 6px; font-size: 1.5rem; }
main.narrow .lead { margin: 0 0 18px; color: var(--soft); }
main.narrow form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
main.narrow .row.gap { flex-direction: row; gap: 10px; align-items: center; }
main.narrow .hint { margin: 0; }
main.narrow .hint.dev { padding: 8px 12px; border: 1px dashed var(--line); border-radius: var(--r); }
main.narrow .warn { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r); border: 1px solid #e7b4b4; color: #92400e; background: #fff8f1; }
main.narrow #lcode { letter-spacing: .4em; font-size: 1.3rem; text-align: center; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 18px; }
.facts dt { color: var(--soft); font-size: .9rem; }
.facts dd { margin: 0; }
.facts dd i.muted { color: var(--soft); font-style: normal; font-size: .82rem; }
@media (max-width: 560px) { main.narrow .row.gap { flex-direction: column; align-items: stretch; } }
@media (max-width: 420px) { .tools .site { padding: 7px 10px; } .tools .site:before { display: none; } }
.lang { border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: .85rem; color: var(--soft); }
.tabs { display: flex; gap: 22px; padding: 0 18px; max-width: var(--wrap); margin: 0 auto; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 11px 0 13px; font-size: 1.02rem; color: var(--soft); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

/* hero */
.hero { border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.hero h1 { font-size: clamp(1.5rem, 5.5vw, 2.1rem); line-height: 1.3; letter-spacing: -.02em; }
.hero p { color: var(--soft); margin-top: 8px; }
.counts { color: var(--soft); font-size: .88rem; margin-top: 12px; }

.searchbar { display: flex; gap: 8px; margin-top: 16px; }
.searchbar input { flex: 1; min-width: 0; min-height: 52px; border: 2px solid var(--line); border-radius: var(--r); padding: 8px 14px; background: var(--paper); }
.searchbar input:focus { border-color: var(--ink); outline: none; }

.btn { min-height: 52px; padding: 10px 20px; border: 2px solid var(--ink); border-radius: var(--r); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--paper); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.danger { border-color: var(--warm); color: var(--warm); }
.btn.big { width: 100%; }
.btn:active { transform: translateY(1px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { border: 1px solid var(--line); border-radius: 99px; padding: 9px 15px; font-size: .95rem; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip i { font-style: normal; opacity: .6; font-size: .85em; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 10px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.tile { border: 1px solid var(--line); border-radius: var(--r); padding: 15px 38px 15px 14px; display: flex; align-items: center; gap: 11px; position: relative; min-height: 62px; }
.tile:hover { border-color: var(--ink); }
.tface { font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.tname { font-weight: 600; line-height: 1.3; word-break: keep-all; overflow-wrap: break-word; }
.tn { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); font-size: .8rem; color: var(--soft); }

.cards { display: flex; flex-direction: column; }
.card { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.card:first-child { border-top: 1px solid var(--line); }
.cface { font-size: 1.5rem; line-height: 1.3; }
.cbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cname { font-size: 1.1rem; font-weight: 600; }
.cmeta { color: var(--soft); font-size: .9rem; overflow-wrap: anywhere; }
.ctag { color: var(--warm); font-size: .88rem; font-weight: 600; }
.card.sub { align-items: center; gap: 12px; }
.card.sub .btn { min-height: 42px; padding: 6px 14px; flex: 0 0 auto; }
/* A card with several buttons: the buttons stay together and drop to their own line
   rather than squeezing the shop name down to one letter per line. */
.card.sub.wrap { flex-wrap: wrap; align-items: flex-start; }
.card.sub.wrap .cbody { flex: 1 1 15rem; }
.cacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 auto; min-width: 14rem; justify-content: flex-end; }
/* On a phone the buttons are on their own line already, so they read better from the
   left edge than floating one lone button out to the right. */
@media (max-width: 560px) { .cacts { justify-content: flex-start; } }
i.ok, i.warn { font-style: normal; font-size: .72rem; font-weight: 600; border-radius: 5px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
i.ok { color: var(--good); border: 1px solid var(--good); }
i.warn { color: var(--warm); border: 1px solid var(--warm); }

.banner { display: block; border: 2px solid var(--ink); border-radius: var(--r); padding: 18px 20px; margin-top: 30px; }
.banner b { display: block; font-size: 1.1rem; }
.banner span { color: var(--soft); font-size: .92rem; }

/* detail */
.detail .back { color: var(--blue); font-size: .95rem; display: inline-block; margin-bottom: 14px; }
.detail h1 { font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.3; }
.tagline { color: var(--blue); font-weight: 600; margin-top: 6px; }
.about { margin-top: 14px; }
.couponbox { border: 2px dashed var(--warm); color: var(--warm); border-radius: var(--r); padding: 14px 16px; margin-top: 16px; }
.facts { margin-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font-size: .85rem; color: var(--soft); padding-top: 14px; }
.facts dd { margin: 2px 0 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.article .body { margin-top: 18px; }
.article .body h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.article .body h3 { font-size: 1.08rem; margin: 20px 0 8px; }
.article .body p { margin: 10px 0; }
.article .body ul, .article .body ol { margin: 10px 0 10px 4px; }
.article .body li { padding-left: 22px; position: relative; margin: 6px 0; }
.article .body ul > li::before { content: ""; position: absolute; left: 6px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.article .body ol { counter-reset: n; }
.article .body ol > li { counter-increment: n; }
.article .body ol > li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.article .body .note { background: var(--wash); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 12px 14px; color: var(--soft); }
.article .body a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
.warnbox { display: inline-block; border: 1px solid var(--warm); color: var(--warm); border-radius: 8px; padding: 6px 12px; font-size: .9rem; margin-top: 10px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.field > span { font-size: .9rem; font-weight: 600; color: var(--soft); }
.field > span i { font-style: normal; font-weight: 400; color: var(--warm); font-size: .82rem; }
.field input, .field select, .field textarea { min-height: 52px; border: 2px solid var(--line); border-radius: var(--r); padding: 10px 14px; background: var(--paper); width: 100%; }
.field textarea { min-height: auto; line-height: 1.6; resize: vertical; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field.inline { flex-direction: row; align-items: center; gap: 10px; }
.field.inline > span { white-space: nowrap; }
.row { display: flex; gap: 12px; }
.row.where { margin-bottom: 4px; }
.row.where .field.inline > span { min-width: 2.2em; }
@media (max-width: 560px) { .row.where { flex-direction: column; gap: 8px; } }
.checks { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.lbl { font-size: .9rem; font-weight: 600; color: var(--soft); }

.steps { counter-reset: s; display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.steps li { counter-increment: s; padding-left: 46px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.steps h2 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: var(--soft); }

.foot { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--soft); }
.foot a { color: var(--soft); }
.foot a:hover { color: var(--ink); }

.admin .arow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin .arow .btn { min-height: 42px; padding: 6px 16px; }
.admin h1 { font-size: 1.5rem; }
.admin .btn.primary { align-self: flex-start; margin-bottom: 14px; }

#toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 12px; font-weight: 500; opacity: 0; pointer-events: none; transition: .2s; z-index: 40; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 460px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { flex-direction: column; align-items: flex-start; gap: 7px; padding: 14px 12px; }
  .tn { top: 11px; right: 11px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- 0.2.0: tables in guides, bulk upload ---------- */
.tablewrap { overflow-x: auto; margin: 16px 0; }
.article .body table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.article .body th, .article .body td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.article .body th { background: var(--wash); font-weight: 700; }
@media (min-width: 560px) { .article .body td:first-child, .article .body th:first-child { white-space: nowrap; } }

.impresult { border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-top: 16px; }
.impline { font-size: 1.05rem; }
.impline .bad { color: var(--warm); }
.failed { margin-top: 10px; font-size: .9rem; color: var(--soft); }
.failed li { padding: 4px 0; border-top: 1px solid var(--line); }
.admin .actions { margin: 14px 0; }
.admin .actions .btn { min-height: 46px; }
label.btn { cursor: pointer; }

/* 0.3.0: two upload blocks in one tab */
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 32px 0 22px; }
.admin main > h2, .admin h2 { font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }

/* 0.4.0: ready-made packs */
.packs { display: flex; flex-direction: column; }
.pack { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.pack:first-child { border-top: 1px solid var(--line); }
.pbody { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pack .pname { font-size: 1.05rem; font-weight: 600; }
.pack .pname i { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; margin-left: 6px; }
.pack .btn { min-height: 44px; padding: 6px 16px; flex: 0 0 auto; }

/* 0.5.0: 도우미 */
.answers { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.answer { display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.answer:hover { border-color: var(--ink); }
.aname { font-size: 1.1rem; font-weight: 700; }
.aname i { font-style: normal; font-weight: 500; color: var(--soft); font-size: .92rem; }
.atext { color: var(--ink); line-height: 1.65; }
.amore { color: var(--blue); font-weight: 600; font-size: .92rem; }
.missbox { border: 2px dashed var(--line); border-radius: var(--r); padding: 18px; margin-top: 18px; }
.misshead { font-weight: 700; font-size: 1.05rem; }
.missbox .form { margin-top: 12px; }
.ctag.cc { background: #eef3ff; color: #1b2a4a; border: 1px solid #c3d2f5; }
.chip.mark.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.mark i { opacity: .7; font-style: normal; }
.banner.ask { border-color: var(--blue); }
.banner.ask b { color: var(--blue); }

/* the helper banner — the one place on the page that asks you a question back */
.banner.ask.big {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 18px;
  border: 0; padding: 22px 24px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1b2a4a 0%, #26407a 55%, #2f6fed 100%); color: #fff;
}
.banner.ask.big:before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.13), transparent 62%); pointer-events: none;
}
.banner.ask.big b { color: #fff; font-size: 1.22rem; letter-spacing: -.01em; }
.banner.ask.big .asktx > span { color: #c7d4f2; font-size: .94rem; display: block; margin-top: 3px; }
.banner.ask.big .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.banner.ask.big .chips span {
  display: inline-block; font-size: .82rem; color: #e8eeff; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 5px 11px;
}
.banner.ask.big .askgo {
  background: #fff; color: #1b2a4a; font-weight: 700; font-size: .95rem;
  border-radius: 99px; padding: 11px 20px; white-space: nowrap;
}
.banner.ask.big:hover .askgo { background: #ffd84d; }
/* three dots, like someone typing an answer */
.banner.ask.big .askart {
  width: 72px; height: 54px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26); display: flex; align-items: center; justify-content: center; gap: 7px;
}
.banner.ask.big .askart i { width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .45; animation: clDot 1.4s ease-in-out infinite; }
.banner.ask.big .askart i:nth-child(2) { animation-delay: .18s; }
.banner.ask.big .askart i:nth-child(3) { animation-delay: .36s; }
@keyframes clDot { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-5px); } }
@media (max-width: 620px) {
  .banner.ask.big { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .banner.ask.big .askart { width: 60px; }
  .banner.ask.big .askgo { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .banner.ask.big .askart i { animation: none; } }
.howhead { font-size: 1.1rem; color: var(--soft); }

/* 0.6.0: 기관 안내 */
.ghead { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 26px 0 10px; }
.office { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 10px; }
.obody { display: flex; flex-direction: column; gap: 5px; min-width: 220px; flex: 1; }
.oname { font-size: 1.1rem; font-weight: 700; }
.owhat { color: var(--soft); line-height: 1.6; }
.oacts { display: flex; flex-wrap: wrap; gap: 8px; }
.oacts .btn { min-height: 46px; padding: 8px 16px; }
.answers.offices { gap: 10px; margin-bottom: 20px; }
.answers.offices .office { border-width: 2px; border-color: var(--blue); margin: 0; }

/* 0.7.0: sales list */
.cmeta.note { color: var(--warm); }
i.st { font-style: normal; font-size: .72rem; font-weight: 600; border-radius: 5px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; border: 1px solid currentColor; }
i.st.prospect { color: var(--c4, #c2410c); }
i.st.talking { color: var(--blue); }
i.st.customer { color: var(--good); }
i.st.lost { color: var(--soft); }
.admin .searchbar { margin: 12px 0; }
.admin .row { gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.admin .field.inline select { min-height: 46px; }

/* 0.8.0: 게시판 */
.card.post .cname { font-weight: 600; }
i.price { font-style: normal; color: var(--warm); font-weight: 700; font-size: .92rem; margin-left: 8px; }
.postbody { white-space: normal; }
.postbody p { margin: 10px 0; }
.bigcode { font-size: 2.6rem; font-weight: 800; letter-spacing: .18em; text-align: center; padding: 14px 0; color: var(--blue); }
main > .arow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
main > .arow .btn { min-height: 46px; padding: 8px 18px; flex: 0 0 auto; }

/* 0.9.0: 추천 and 가볼 곳 */
.like { border: 2px solid var(--c1, #e5484d); color: var(--warm); background: var(--paper); border-radius: 99px;
  padding: 10px 18px; min-height: 46px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.like b { font-weight: 800; }
.like.on { background: var(--warm); border-color: var(--warm); color: #fff; opacity: .85; }
.office.place .obody { gap: 6px; }
.tipline { color: var(--blue); font-size: .95rem; }
.banner.trip { border-color: var(--good); }
.banner.trip b { color: var(--good); }

/* 0.10.0: 문의 답변 */
.replies { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.reply { border-left: 4px solid var(--blue); background: var(--wash); border-radius: 0 var(--r) var(--r) 0; padding: 14px 16px; }
.reply.circle { border-left-color: var(--ink); }
.rwho { font-size: .85rem; font-weight: 700; color: var(--blue); }
.reply.circle .rwho { color: var(--ink); }
.rtext { margin-top: 6px; line-height: 1.65; }
.reply .amore { display: inline-block; margin-top: 8px; }
.cmeta.ok2 { color: var(--good); font-weight: 600; }

/* 0.12.0: Circle Story */
.stories { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.story { border: 2px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; }
.sbody { display: flex; flex-direction: column; gap: 6px; min-width: 220px; flex: 1; }
.sname { font-size: 1.15rem; font-weight: 700; }
.banner.story { border-color: var(--warm); }
.banner.story b { color: var(--warm); }
.consent { border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--wash); }
.consent .check { align-items: flex-start; line-height: 1.6; }
.consent .check input { margin-top: 3px; flex: 0 0 auto; }

/* 0.13.0: K Point */
.ctag.kp { color: var(--good); }
.kpbox { border: 2px solid var(--good); border-radius: var(--r); padding: 14px 16px; margin-top: 16px; color: var(--good); }
.kpbox a { color: var(--good); text-decoration: underline; font-weight: 600; }

/* 0.15.0: the point site is where the balance lives */
.kpbox { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.kpbox p { margin: 0; }
.btn.kp { border-color: var(--good); color: var(--good); min-height: 48px; }
.banner.kpb { border-color: var(--good); }
.banner.kpb b { color: var(--good); }

/* 0.16.0: legal pages and the error list */
.errline { font: 400 .82rem/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap;
  background: var(--wash); border-radius: 8px; padding: 8px 10px; margin: 6px 0 0; overflow-x: auto; color: var(--warm); }

/* 0.19.0: call and directions straight from the list */
.cardrow { display: flex; align-items: stretch; gap: 8px; border-bottom: 1px solid var(--line); }
.cardrow:first-child { border-top: 1px solid var(--line); }
.cardrow .card { border-bottom: 0; }
.cardrow .card:first-child { border-top: 0; }
.quick { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 8px 0; }
.qbtn { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--line);
  border-radius: 50%; font-size: 1.2rem; text-decoration: none; }
.qbtn:hover { border-color: var(--ink); }
.facts dd.rough { color: var(--soft); }

/* 0.20.0: photos */
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.add { display: grid; place-items: center; font-size: 2rem; color: var(--soft); border-style: dashed; cursor: pointer; }
.thumb .x { position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(27,42,74,.85); color: #fff; font-size: 1.1rem; line-height: 1; border: 0; cursor: pointer; }
.shots { display: flex; gap: 10px; overflow-x: auto; margin: 16px 0; padding-bottom: 4px; }
.shot { flex: 0 0 auto; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.shot img { display: block; height: 180px; width: auto; max-width: 78vw; object-fit: cover; }
.card.withshot { align-items: center; }
.cshot { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.cshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.sub .shots { margin: 8px 0 0; }
.card.sub .shot img { height: 72px; }

/* 0.22.0: 업소 주인 */
.ownedby { color: var(--good); font-weight: 600; margin: 2px 0 10px; }
.ownedby .muted { font-style: normal; font-weight: 400; }
.noticebox { border: 2px dashed var(--warm); border-radius: var(--r); padding: 12px 16px; color: var(--warm); font-weight: 600; margin: 12px 0; }
.ownerbox { border: 2px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 26px; }
.ownerbox p { margin: 0 0 8px; }
.ownerbox .row.gap { margin-top: 12px; }
.ownerbox .field { margin-top: 12px; }

/* ---------- AI 도우미 ---------- */
/* The answer sits above the guides it came from, and the guides stay visible: an answer
   about a tax deadline is worth what the source a person can check is worth. */
.aianswer { border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 12px; padding: 16px 18px; margin: 18px 0; background: var(--card, #fff); }
.aianswer.dunno { border-left-color: var(--soft); }
.ailabel { font-size: .82rem; font-weight: 600; color: var(--soft); margin: 0 0 8px; letter-spacing: .01em; }
.aianswer p { margin: 0 0 10px; line-height: 1.65; }
.aianswer p:last-child { margin-bottom: 0; }
.ailist { margin: 0 0 10px; padding-left: 1.2em; line-height: 1.65; }
.ailist li { margin: 0 0 5px; }
.aisrcs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.aisrc { font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; text-decoration: none; color: inherit; }
.aisrc i { font-style: normal; color: var(--soft); font-size: .84rem; }
.aisrc:hover { border-color: var(--ink); }
.warnline { color: var(--soft); margin-top: 10px; }
.readback { color: var(--soft); font-size: .94rem; margin: 10px 0 2px; }
.readback b { color: var(--ink); font-weight: 600; }
.ghost.tiny { font-size: .86rem; padding: 2px 8px; min-height: 0; }
.storeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 8px; }
.storeline a { font-weight: 600; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.storeline i { font-style: normal; color: var(--soft); font-size: .92rem; }
.storeline b { font-size: .78rem; font-weight: 600; color: var(--good); border: 1px solid var(--good); border-radius: 5px; padding: 2px 7px; }
.linkhits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.linkhits .btn { min-height: 38px; padding: 5px 12px; }
.linkhits i { font-style: normal; color: var(--soft); font-size: .88rem; margin-left: 5px; }

/* ---------- 한인 뉴스 ---------- */
.news { margin: 22px 0 6px; }
.news .arow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.newslist { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.newslist li { border-bottom: 1px solid var(--line); }
.newslist a { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px; text-decoration: none; color: inherit; }
.newslist a:hover .ntitle { text-decoration: underline; }
.ntitle { font-size: 1.02rem; line-height: 1.45; }
.nmeta { color: var(--soft); font-size: .86rem; }
.warnhead { color: var(--warm); }
.card.held { background: #fff9f5; border-left: 3px solid var(--warm); padding-left: 12px; }
.heldbody { white-space: pre-wrap; margin-top: 4px; }

/* ---------- 관리 화면 ---------- */
/* Fifteen chips wrapping across four rows was a phone layout doing an admin's job.
   Down the side they stay still, and the group names say what each one is for. */
.adminwrap { display: grid; grid-template-columns: 1fr; gap: 0 28px; max-width: 1400px; margin: 0 auto; padding: 0 16px 40px; }
.atop { display: flex; align-items: baseline; gap: 14px; padding: 18px 0 10px; }
.atop h1 { margin: 0; flex: 0 0 auto; }
.atop .fine { flex: 1; }
.adminnav { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.angrp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.anhead { font-size: .78rem; font-weight: 700; color: var(--soft); letter-spacing: .02em; width: 100%; margin: 6px 0 2px; }
.anitem { display: inline-flex; align-items: center; gap: 7px; background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; font: inherit; font-size: .94rem; color: inherit; cursor: pointer; min-height: 38px; }
.anitem:hover { border-color: var(--ink); }
.anitem.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.anitem i { font-style: normal; font-size: .84rem; opacity: .7; }
.adminmain { padding-top: 0; }

/* on a wide screen the menu becomes a real column that does not move */
@media (min-width: 1000px) {
  .adminwrap { grid-template-columns: 220px minmax(0, 1fr); }
  .atop { grid-column: 1 / -1; }
  .adminnav { display: block; border-bottom: 0; border-right: 1px solid var(--line); padding: 0 18px 0 0; margin: 0;
    position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow: auto; }
  .angrp { display: block; margin-bottom: 16px; }
  .anhead { width: auto; display: block; }
  .anitem { display: flex; width: 100%; justify-content: space-between; border: 0; border-radius: 9px; padding: 8px 10px; margin-bottom: 2px; }
  .anitem:hover { background: var(--card2, #f4f6fa); border: 0; }
}

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 10px 0 22px; }
.tiles .tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.tiles .tile:hover { border-color: var(--ink); }
.tiles .tile.todo { border-left: 3px solid var(--warm); }
.tnum { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.tlabel { color: var(--soft); font-size: .92rem; }

.status { border-top: 1px solid var(--line); margin: 12px 0 18px; }
.strow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.stname { font-weight: 600; flex: 0 0 9rem; }
.stdot { font-size: .8rem; font-weight: 700; border-radius: 5px; padding: 2px 8px; }
.stdot.on { color: var(--good); border: 1px solid var(--good); }
.stdot.off { color: var(--warm); border: 1px solid var(--warm); }
.stnote { color: var(--soft); font-size: .92rem; flex: 1 1 12rem; }

/* ---------- 소개 페이지 ---------- */
.promoband { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 18px 0 4px;
  background: linear-gradient(100deg, #0d1424 0%, #16203a 100%); color: #f2f5fb; }
.promoband:hover { filter: brightness(1.12); }
.pbshot { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; background: #05070f; }
.pbshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbtext { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pbtext b { font-size: 1.08rem; }
.pbtext span { font-size: .92rem; opacity: .82; }
.pbgo { font-size: 1.5rem; opacity: .7; }
.promo .shots.big { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.promo .shots.big .shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
/* an address or a form name the reader is meant to type exactly, as it is written */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em;
  background: var(--wash); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; word-break: break-all; }

/* video — one wide 16:9 box however it ends up being played, so the page does not
   jump about when a still picture is swapped for a real player */
.vid { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 18px 0; border-radius: 14px;
  overflow: hidden; background: #0e1526; border: 1px solid var(--line); }
.vid.hold { position: relative; cursor: pointer; padding: 0; font: inherit; color: inherit; }
.vid.hold img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vid.hold:hover img { opacity: .7; }
.vplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.vid.hold:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.vid.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.promopts { list-style: none; padding: 0; margin: 14px 0; }
.promopts li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.6; }
.promopts li::before { content: '\2713'; position: absolute; left: 2px; color: var(--good); font-weight: 700; }
.btn.big { min-height: 54px; font-size: 1.06rem; padding: 10px 28px; }
/* the console uses the whole column it was given, rather than the reading width */
.adminmain { max-width: none; margin: 0; padding: 0 0 56px; }
