@font-face { font-family: "Field Sans"; src: url("fonts/FieldSans-subset.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f4f7f2; --card: #ffffff; --ink: #1f2a24; --sub: #5f6f66; --line: #e1e8df; --line2: #cfd9cd;
  --pri: #2f7d4f; --pri-d: #25653f; --pri-l: #e7f3eb; --pri-m: #9cc5aa;
  --warn: #9a5c0c; --warn-l: #fcf1df; --bad: #b0412a; --bad-l: #fbe8e3; --new: #2b6696; --new-l: #e7f0f8;
  --gb: 72px; --hd: 56px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: "Field Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.5; word-break: keep-all; overflow-wrap: break-word; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; word-break: keep-all; }
button { cursor: pointer; }
a { color: var(--pri-d); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sub { color: var(--sub); font-size: 13px; }
.tiny { color: var(--sub); font-size: 12.5px; margin: 6px 0 0; }
.okc { color: var(--pri); } .badc { color: var(--bad); }
h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 22px 0 10px; }
h4 { font-size: 14px; margin: 0 0 8px; color: var(--sub); font-weight: 600; }

/* 버튼 · 칩 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.btn:hover { border-color: var(--pri-m); }
.btn.pri { background: var(--pri); border-color: var(--pri); color: #fff; }
.btn.pri:hover { background: var(--pri-d); }
.btn.ghost { background: transparent; }
.btn.big { width: 100%; min-height: 50px; font-size: 16px; font-weight: 700; border-radius: 12px; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn.full { width: 100%; margin-top: 12px; }
.btn[disabled] { opacity: .45; cursor: default; }
.lnk { background: none; border: 0; color: var(--pri-d); text-decoration: underline; padding: 0 4px; font-size: 13px; }
.chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef1ed; color: #46554c; white-space: nowrap; }
.chip.ok { background: var(--pri-l); color: var(--pri-d); }
.chip.warn { background: var(--warn-l); color: var(--warn); }
.chip.bad { background: var(--bad-l); color: var(--bad); }
.chip.new { background: var(--new-l); color: var(--new); }
.row2 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.row2 .btn { flex: 1 1 auto; }
.stack { display: grid; gap: 8px; margin-top: 12px; }

/* 머리 */
header.top { position: sticky; top: 0; z-index: 30; height: var(--hd); display: flex; align-items: center; gap: 14px; padding: 0 18px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.brand b { font-size: 16.5px; white-space: nowrap; }
.brand .sub { white-space: nowrap; }
.clock { font-size: 13px; color: var(--sub); background: var(--bg); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tnav { display: flex; gap: 4px; margin-left: auto; }
.tnav a { text-decoration: none; color: var(--sub); font-weight: 600; font-size: 14px; padding: 7px 12px; border-radius: 9px; white-space: nowrap; }
.tnav a.on { background: var(--pri-l); color: var(--pri-d); }

/* 안내 띠 */
.gbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: var(--gb); display: flex; align-items: center; gap: 16px; padding: 10px 18px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(31, 42, 36, .07); }
.gtx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gk { font-size: 12.5px; color: var(--pri-d); font-weight: 600; }
.gtx b { font-size: 15.5px; display: flex; align-items: center; gap: 4px; }
.gh { font-size: 13px; color: var(--sub); }
.gbt { display: flex; gap: 8px; flex: none; }
.gbt .nx { min-width: 104px; }

/* 세 화면 나란히 */
main.live.duo { height: calc(100vh - var(--hd) - var(--gb)); padding: 12px 18px; display: flex; flex-direction: column; }
.duo-in { flex: 1; min-height: 0; display: grid; grid-template-columns: 360px 360px minmax(380px, 1fr); gap: 18px; }
.pane { display: flex; flex-direction: column; min-height: 0; }
.plabel { height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.plabel a { font-size: 13px; display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 600; }
.plabel a .ic { width: 15px; height: 15px; }
.phone { flex: 1; min-height: 0; max-height: 780px; border: 1px solid var(--line2); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(31, 42, 36, .08); }
.asum { flex: 1; min-height: 0; overflow: auto; background: #fff; border: 1px solid var(--line2); border-radius: 16px; padding: 14px 16px; }
.pane.on .phone, .pane.on .asum { box-shadow: 0 0 0 3px rgba(47, 125, 79, .28), 0 8px 24px rgba(31, 42, 36, .08); border-color: var(--pri-m); }
.pane.on .plabel b { color: var(--pri-d); }
.pane.fl .phone, .pane.fl .asum, .acase.fl, .admin.fl .amain { animation: fl 1.6s ease-out 1; }
@keyframes fl { 0% { box-shadow: 0 0 0 5px rgba(232, 181, 74, .65); } 100% { box-shadow: 0 0 0 0 rgba(232, 181, 74, 0); } }
.pre { background: var(--warn-l); color: var(--warn); border-radius: 10px; padding: 7px 12px; font-size: 13.5px; margin-bottom: 8px; }

/* 한 화면씩(탭) */
main.live.one { max-width: 520px; margin: 0 auto; padding: 12px 16px calc(var(--gb) + 70px); }
.ptabs { box-shadow: 0 -10px 0 var(--bg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #e8eee6; padding: 4px; border-radius: 12px; margin-bottom: 12px; position: sticky; top: calc(var(--hd) + 6px); z-index: 20; }
.ptabs button { border: 0; background: transparent; border-radius: 9px; min-height: 38px; font-weight: 700; font-size: 14px; color: var(--sub); position: relative; }
.ptabs button.on { background: #fff; color: var(--pri-d); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ptabs button.dotn::after { content: ""; position: absolute; top: 7px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #e8b54a; }
.phone.one { max-height: none; border-radius: 20px; }
.asum.one { overflow: visible; }

/* 앱 안 */
.app { display: flex; flex-direction: column; height: 100%; background: #fff; }
.ahd { height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.ahd b { font-size: 14.5px; }
.ahd-r { color: var(--sub); display: inline-flex; }
.push { display: flex; align-items: center; gap: 8px; margin: 8px 10px 0; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--pri); color: #fff; text-align: left; font-weight: 600; font-size: 13.5px; flex: none; }
.push span { flex: 1; }
.abody { flex: 1; min-height: 0; overflow: auto; padding: 12px 16px 0; }
.abody::after { content: ""; display: block; height: 16px; }
.anav { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--line); background: #fff; }
.anav button { border: 0; background: none; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; color: var(--sub); }
.anav button.on { color: var(--pri-d); font-weight: 700; }
.anav button[disabled] { opacity: .35; }
.phone.one .app { height: auto; }
.phone.one .abody { overflow: visible; }
.phone.one .anav { order: -1; border-top: 0; border-bottom: 1px solid var(--line); }
.phone.one .anav button { min-height: 46px; flex-direction: row; gap: 5px; font-size: 12.5px; }
.scr-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.scr-h b { font-size: 17px; }
.scr-h .sub { width: 100%; }
.back { border: 0; background: none; padding: 2px; display: inline-flex; color: var(--sub); }
.sec { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; }
.sec p { margin: 4px 0; }
.sticky { position: sticky; bottom: 0; padding: 10px 0 12px; background: #fff; border-top: 1px solid var(--line); margin-top: 10px; }
.stk { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 8px; }
.stk span { color: var(--sub); }
.stk b { font-size: 16px; color: var(--pri-d); }
.phone.one .sticky { position: static; background: none; }
.endbtn { margin-top: 12px; }
.hero { background: var(--pri-l); border-radius: 16px; padding: 18px 16px; margin-bottom: 6px; }
.hero-t { font-size: 17px; font-weight: 700; margin: 0 0 14px; line-height: 1.45; }
.howto { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.addr { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; padding: 6px 0; }
.addr .ic { color: var(--pri); }
.case { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 3px; text-align: left; background: #fff; border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.case.on, .case.mine { border-color: var(--pri-m); box-shadow: 0 0 0 2px var(--pri-l); }
.case.done { background: #fafbf9; }
.case-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.alert { width: 100%; display: flex; align-items: center; gap: 8px; text-align: left; border: 0; border-radius: 12px; padding: 10px 12px; background: var(--warn-l); color: var(--warn); font-weight: 600; font-size: 13.5px; margin-bottom: 10px; }
.cat { font-size: 12.5px; color: var(--sub); font-weight: 700; margin: 10px 0 2px; }
.qrow { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 5px 0; }
.qn { display: flex; flex-direction: column; line-height: 1.3; }
.qn b { font-size: 14.5px; }
.pic { display: block; width: 100%; height: 100%; }
.pic.item { width: 52px; height: 38px; background: #f3f6f1; border-radius: 8px; }
.qty { display: flex; align-items: center; gap: 2px; }
.qty button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line2); background: #fff; font-size: 17px; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.th { width: 88px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: block; flex: none; }
.th.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fafbf9; border: 1.5px dashed var(--line2); color: var(--sub); font-size: 12px; }
.thumbs.sm .th { width: 76px; height: 56px; }
.thumbs.xs { gap: 6px; margin-bottom: 6px; }
.thumbs.xs .th { width: 60px; height: 44px; border-radius: 8px; }
.alert.info { background: var(--new-l); color: var(--new); }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
select, input[type=number], textarea { border: 1px solid var(--line2); border-radius: 9px; padding: 6px 10px; background: #fff; min-height: 36px; }
textarea { width: 100%; resize: vertical; margin-top: 6px; font-size: 14px; }
.seg { display: inline-flex; background: #eef2ec; border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; border-radius: 8px; padding: 5px 12px; font-size: 13.5px; font-weight: 600; color: var(--sub); }
.seg button.on { background: #fff; color: var(--pri-d); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.seg.wide { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.seg.wide button { min-height: 40px; }
.seg button[disabled] { opacity: .45; }
.note { background: var(--pri-l); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin: 10px 0; color: #24513a; }
.note.warn { background: var(--warn-l); color: var(--warn); }
.note.ok { background: var(--pri-l); color: var(--pri-d); }
.qt { width: 100%; border-collapse: collapse; font-size: 14px; }
.qt td { padding: 6px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.qt td.r { text-align: right; white-space: nowrap; padding-left: 8px; }
.tot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px 0 2px; }
.tot b { font-size: 18px; color: var(--pri-d); }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 14px; flex-wrap: wrap; }
.kv span { color: var(--sub); }
.kv.big b { font-size: 20px; }
.rules { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days button { border: 1px solid var(--line2); background: #fff; border-radius: 10px; padding: 6px 0; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.days button b { font-size: 16px; }
.days button span { font-size: 11.5px; color: var(--sub); }
.days button.on { background: var(--pri); border-color: var(--pri); color: #fff; }
.days button.on span { color: #e4f3ea; }
.days button[disabled] { opacity: .4; }
.cardok { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 24px 1fr auto; column-gap: 10px; padding: 6px 0; position: relative; color: #8a968f; }
.steps li .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); display: flex; align-items: center; justify-content: center; background: #fff; grid-row: span 2; }
.steps li .dot .ic { width: 13px; height: 13px; stroke-width: 2.6; color: #fff; }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--pri); border-color: var(--pri); }
.steps li.now { color: var(--ink); }
.steps li.now .dot { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-l); }
.steps li .tm { font-size: 12px; color: var(--sub); white-space: nowrap; }
.steps li > .sub { grid-column: 2 / 4; font-size: 12.5px; }
.why { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: start; padding: 8px 0; }
.why > div { display: flex; flex-direction: column; gap: 2px; }
.why .amt { color: var(--warn); }
.paid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 0; }
.paid .ic { width: 34px; height: 34px; color: #fff; background: var(--pri); border-radius: 50%; padding: 6px; stroke-width: 2.6; }
.paid b { font-size: 24px; }
.wait { display: flex; gap: 10px; align-items: flex-start; background: #f7f9f5; border-radius: 12px; padding: 12px; margin: 8px 0; }
.wait p { margin: 0; font-size: 14px; }
.wait .ic { color: var(--pri); margin-top: 2px; }
.lrow { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 14.5px; }
.memo { background: #f7f9f5; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; }
.mapbox { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
.map { display: block; width: 100%; height: auto; }
.opt { width: 100%; display: flex; align-items: flex-start; gap: 10px; text-align: left; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.opt > span:last-child { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.opt.on { border-color: var(--pri-m); background: #f6fbf7; }
.opt .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line2); background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; }
.opt.on .box { background: var(--pri); border-color: var(--pri); }
.opt .box .ic { width: 14px; height: 14px; color: #fff; stroke-width: 2.6; }
.opt select { width: 100%; }
.kgin { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.kgin input { width: 96px; text-align: right; font-size: 16px; }

/* 관리자 요약 */
.acase { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.acase > p { margin: 6px 0; font-size: 14px; }
.act { background: #f7f9f5; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.act.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.act-t { font-weight: 700; margin: 0 0 6px; }
.act .btn { margin-top: 8px; }
.act.row .btn { margin-top: 0; }
.tl { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tl li { display: grid; grid-template-columns: 92px 64px 1fr; gap: 8px; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.tl li .tm { color: var(--sub); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 8px; }
.tiles.sm { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.tiles.sm .tile { padding: 7px 8px; }
.tile span { font-size: 12.5px; color: var(--sub); }
.tile b { font-size: 20px; }
.tiles.sm .tile b { font-size: 17px; }
.tile.warn { background: var(--warn-l); border-color: #f1d9ad; } .tile.warn b { color: var(--warn); }
.tile.bad { background: var(--bad-l); border-color: #efc3b7; } .tile.bad b { color: var(--bad); }

/* 관리자 웹 */
main.page { padding: 18px 22px calc(var(--gb) + 30px); }
.admin { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; max-width: 1320px; margin: 0 auto; }
.anv { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; align-self: start; position: sticky; top: calc(var(--hd) + 14px); }
.anv .ng { font-size: 12px; color: var(--sub); font-weight: 700; margin: 10px 8px 4px; }
.anv a { display: block; padding: 8px 10px; border-radius: 9px; text-decoration: none; color: var(--ink); font-size: 14px; }
.anv a.on { background: var(--pri-l); color: var(--pri-d); font-weight: 700; }
.achips { display: none; }
.amain { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; min-width: 0; }
.adate { margin: 0 0 6px; font-size: 13px; color: var(--sub); }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tb { width: 100%; border-collapse: collapse; font-size: 14px; }
.tb th { text-align: left; font-size: 12.5px; color: var(--sub); font-weight: 700; background: #f7f9f5; padding: 9px 12px; white-space: nowrap; }
.tb td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tb .r { text-align: right; white-space: nowrap; }
.tb tr.me td { background: #f3faf5; }
.tb .chip { white-space: normal; text-align: left; }
.todo { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.todo li { border: 1px solid var(--line); border-left: 4px solid var(--new); border-radius: 10px; padding: 8px 12px; }
.todo li.warn { border-left-color: #e0a33a; } .todo li.bad { border-left-color: var(--bad); }
.todo a { text-decoration: none; font-weight: 600; }
.split { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
.qdet h3 { margin-top: 0; }
.qdet .thumbs { margin: 6px 0 8px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin: 6px 0 14px; background: #fff; }
.chart svg { display: block; width: 100%; height: auto; max-height: 260px; }
.arch2 { margin: 8px 0 16px; }
.svc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc { border: 1.5px solid var(--pri); border-radius: 14px; padding: 12px 14px; background: #fff; }
.svc.next { border: 1.5px dashed #a7b3ab; }
.svc p { margin: 3px 0 0; }
.link2 { display: grid; grid-template-columns: 1fr 1fr; height: 22px; }
.link2 span { justify-self: center; width: 2px; background: var(--pri); }
.common { background: var(--pri-l); border: 1.5px solid var(--pri); border-radius: 14px; padding: 10px 14px 14px; }
.common-t { margin: 0 0 8px; color: var(--pri-d); font-weight: 700; font-size: 13.5px; }
.cchips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchips span { background: #fff; border: 1px solid var(--pri-m); border-radius: 10px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.hbars { display: grid; gap: 8px; margin: 8px 0 16px; }
.hb { display: grid; grid-template-columns: 76px 1fr 96px; gap: 10px; align-items: center; font-size: 13.5px; }
.hb-t { background: #eef2ec; border-radius: 6px; height: 18px; overflow: hidden; }
.hb-b { display: block; height: 100%; background: #4e9a6a; border-radius: 6px; }
.hb-v { text-align: right; white-space: nowrap; }
.sumpg { max-width: 1100px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }

/* 덮개(표지 · 안내) */
#ov { position: fixed; inset: 0; z-index: 60; background: rgba(24, 34, 28, .46); display: flex; align-items: center; justify-content: center; padding: 16px; }
#ov[hidden] { display: none; }
#ov .card { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 28px 30px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
#ov .x { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f4ef; font-size: 22px; line-height: 1; }
.cover .ck { margin: 0; color: var(--pri-d); font-weight: 700; font-size: 13px; }
.cover h1 { font-size: 28px; margin: 4px 0 10px; letter-spacing: -0.02em; }
.cover .lead { font-size: 16px; margin: 0 0 6px; }
.cover .meta { color: var(--sub); margin: 0 0 6px; font-size: 14px; }
.cover h3 { margin: 18px 0 8px; font-size: 15px; }
.qk, .fl3 { display: grid; gap: 8px; }
.qk { grid-template-columns: 1fr 1fr; }
.qk button, .fl3 button { text-align: left; border: 1px solid var(--line2); background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.qk button:hover, .fl3 button:hover { border-color: var(--pri-m); background: #f6fbf7; }
.qk button:first-child, .qk button:nth-child(2) { border-color: var(--pri-m); }
.cover .cta { margin: 14px 0 4px; }
.cover .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.cover .cta .btn.big { width: auto; padding: 0 26px; }
.vbtn .ic { width: 16px; height: 16px; fill: currentColor; }
#ov .card.vid { max-width: 1000px; padding: 16px 18px 18px; }
#ov .card.vid h2 { font-size: 17px; margin: 2px 48px 12px 2px; }
#ov .card.vid video { display: block; width: 100%; height: auto; max-height: calc(100vh - 120px); border-radius: 10px; background: #111; }

/* 안내 표시 */
.tgt { outline: 3px solid #e8b54a !important; outline-offset: 2px; animation: tg 1.4s ease-in-out infinite; }
@keyframes tg { 50% { outline-color: rgba(232, 181, 74, .35); } }

#toast { position: fixed; left: 50%; bottom: calc(var(--gb) + 14px); transform: translateX(-50%); z-index: 70; background: #1f2a24; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: min(560px, calc(100vw - 32px)); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
#toast[hidden] { display: none; }

/* 노트북 낮은 창 */
@media (max-height: 760px) and (min-width: 1200px) {
  :root { --gb: 64px; --hd: 50px; }
  .gh { font-size: 12.5px; }
  .abody { padding: 10px 14px 0; }
  .ahd { height: 40px; }
  .anav button { min-height: 46px; }
  .phone { border-radius: 20px; }
}
/* 탭 화면 · 관리자 좁은 폭 */
@media (max-width: 1100px) {
  .admin { grid-template-columns: minmax(0, 1fr); }
  .anv { display: none; }
  .achips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .achips a { flex: none; text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
  .achips a.on { background: var(--pri); border-color: var(--pri); color: #fff; }
  .achips a.bk { border-color: transparent; background: var(--pri-l); color: var(--pri-d); font-weight: 700; }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --hd: 52px; --gb: 118px; }
  body { font-size: 14.5px; }
  header.top { padding: 0 12px; gap: 8px; }
  .brand .sub, .tnav { display: none; }
  .clock { margin-left: auto; }
  .gbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px 12px; }
  .gbt { justify-content: flex-end; }
  .gbt .btn { flex: 1; }
  .gtx b { font-size: 14.5px; }
  .gh { font-size: 12.5px; }
  main.live.one { padding: 10px 12px calc(var(--gb) + 70px); }
  main.page { padding: 12px 12px calc(var(--gb) + 30px); }
  .amain, .sumpg { padding: 14px; border-radius: 14px; }
  h2 { font-size: 19px; }
  .cols2 { grid-template-columns: minmax(0, 1fr); }
  .tw { border: 0; overflow: visible; }
  .tb thead { display: none; }
  .tb, .tb tbody, .tb tr, .tb td { display: block; width: 100%; }
  .tb tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; padding: 6px 12px; }
  .tb td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tb td::before { content: attr(data-l); color: var(--sub); font-size: 12.5px; text-align: left; flex: none; }
  .tb .r { text-align: right; }
  .tl li { grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 0; }
  .tl li > span:last-child { grid-column: 1 / 3; }
  .svc2 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .link2 { grid-template-columns: 1fr; height: 14px; }
  .link2 span:last-child { display: none; }
  .hb { grid-template-columns: 64px 1fr 84px; gap: 8px; font-size: 13px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles.sm { grid-template-columns: 1fr 1fr; }
  #ov { padding: 8px; align-items: flex-start; }
  #ov .card { padding: 22px 16px 18px; max-height: calc(100vh - 16px); border-radius: 16px; }
  .cover h1 { font-size: 23px; }
  .qk { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: 76px 1fr; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .phone.one { border-radius: 16px; }
}
@media (max-width: 420px) {
  .phone.one .anav button { flex-direction: column; gap: 1px; font-size: 11.5px; min-height: 50px; }
}
@media (max-width: 360px) {
  .days button b { font-size: 14px; }
  .qrow { grid-template-columns: 44px 1fr auto; gap: 8px; }
  .pic.item { width: 44px; height: 34px; }
  .th { width: 76px; height: 56px; }
  .thumbs.sm .th { width: 68px; height: 50px; }
  .seg button { padding: 5px 9px; }
}
