/* Layout: studio-style mobile column (480px) — hang-tag order card, tee map of print spots, one big drop zone, sticky black CTA; admin keeps a wide two-pane view */
:root{
  --bg:#FFFFFF; --bg2:#F4F4F7; --ink:#111114; --muted:#6C6C78; --line:#E5E5EC;
  --accent:#4B3BFF; --accent-ink:#FFFFFF; --accent-soft:#EFEDFF;
  --pop:#FFE45C; --pop-ink:#111114;
  --ok:#0E9F6E; --ok-soft:#E5F7EF; --warn:#E5484D; --warn-soft:#FDECEC; --info:#0B78A8; --info-soft:#E3F3FA;
  --tee:#FFFFFF; --tee-line:#C9C9D3; --shadow:0 1px 0 rgba(17,17,20,.04),0 8px 24px -12px rgba(17,17,20,.18);
  --brand:"Gasoek One","Black Han Sans","Gothic A1",sans-serif;
  --disp:"Bricolage Grotesque","Gothic A1",system-ui,sans-serif;
  --font:"Gothic A1","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0D0D11; --bg2:#17171E; --ink:#F3F3F6; --muted:#9C9CA8; --line:#2A2A33;
  --accent:#8F84FF; --accent-ink:#0D0D11; --accent-soft:#231F48; --pop:#FFE45C; --pop-ink:#111114;
  --ok:#34D399; --ok-soft:#10261D; --warn:#FF7B7F; --warn-soft:#2E1517; --info:#5CC8F0; --info-soft:#0F2530;
  --tee:#ECECF1; --tee-line:#6E6E7A; --shadow:0 8px 24px -12px rgba(0,0,0,.6); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0D0D11; --bg2:#17171E; --ink:#F3F3F6; --muted:#9C9CA8; --line:#2A2A33;
  --accent:#8F84FF; --accent-ink:#0D0D11; --accent-soft:#231F48; --pop:#FFE45C; --pop-ink:#111114;
  --ok:#34D399; --ok-soft:#10261D; --warn:#FF7B7F; --warn-soft:#2E1517; --info:#5CC8F0; --info-soft:#0F2530;
  --tee:#ECECF1; --tee-line:#6E6E7A; --shadow:0 8px 24px -12px rgba(0,0,0,.6); color-scheme:dark}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.6;letter-spacing:-.01em;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:0 32px}
button{font:inherit;color:inherit}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.col{max-width:480px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
.wide{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.muted{color:var(--muted)}
/* demo switcher */
.demo{max-width:1100px;margin:12px auto 14px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12.5px;color:var(--muted)}
.demo b{font-weight:700;margin-right:4px}
.demo a{text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:4px 11px;font-weight:700;color:var(--ink)}
.demo a[aria-current="page"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
/* brand bar */
.brand{display:flex;align-items:center;justify-content:space-between;gap:10px}
.word{display:inline-flex;align-items:center;gap:7px;font-family:var(--brand);font-weight:400;font-size:25px;letter-spacing:-.02em;line-height:1}
.brand .logo{height:40px;width:auto;display:block}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .brand .logo{filter:invert(1)}}
:root[data-theme="dark"] .brand .logo{filter:invert(1)}
.word .box{width:22px;height:22px;flex:none}
.word .open{font-family:var(--disp);font-weight:800;font-size:9.5px;letter-spacing:.08em;background:var(--pop);color:var(--pop-ink);border-radius:5px;padding:3px 5px;transform:rotate(-6deg) translateY(-6px);margin-left:-2px}
.studio{font-family:var(--disp);font-weight:600;font-size:11px;letter-spacing:.14em;border:1.5px solid var(--ink);border-radius:999px;padding:3px 9px}
/* hero */
.hero h1{font-size:30px;line-height:1.25;margin:0;font-weight:800;letter-spacing:-.04em;text-wrap:balance}
.hero h1 em{font-style:normal;background:linear-gradient(transparent 58%,var(--pop) 58%)}
.hero p{margin:10px 0 0;color:var(--muted);font-size:15.5px}
.hero p b{color:var(--ink)}
/* steps (real sequence) */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0;padding:0;list-style:none}
.steps li{background:var(--bg2);border-radius:14px;padding:10px 10px 9px;font-size:12.5px;line-height:1.35;color:var(--muted)}
.steps li b{display:block;font-family:var(--disp);font-size:18px;color:var(--ink);line-height:1.1;margin-bottom:3px}
.steps li.on{background:var(--ink);color:var(--bg)} .steps li.on b{color:var(--pop)}
/* hang-tag order card */
.tag{position:relative;background:var(--bg);border:1.5px solid var(--ink);border-radius:22px;padding:18px 18px 16px 18px;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;box-shadow:var(--shadow)}
.tag::before{content:"";position:absolute;top:16px;right:16px;width:12px;height:12px;border-radius:50%;border:1.5px solid var(--ink);background:var(--bg2)}
.tag .lbl{font-family:var(--disp);font-size:11px;letter-spacing:.14em;color:var(--muted);font-weight:600}
.tag .prod{font-weight:800;font-size:17px;line-height:1.3;margin:2px 0 8px}
.tag dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:3px 10px;font-size:13.5px}
.tag dt{color:var(--muted)} .tag dd{margin:0;min-width:0}
.num{font-family:var(--disp);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:0}
.spots{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.spot{display:inline-flex;align-items:center;gap:6px;background:var(--pop);color:var(--pop-ink);border-radius:999px;padding:3px 10px 3px 4px;font-size:12.5px;font-weight:700}
.spot i{width:18px;height:18px;border-radius:50%;background:var(--ink);color:var(--pop);display:grid;place-items:center;font-style:normal;font-family:var(--disp);font-size:11px}
.teemap{align-self:center}
.teemap svg{width:100%;height:auto}
/* segmented */
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--bg2);border-radius:16px;padding:5px;gap:4px}
.seg button{border:0;background:none;border-radius:12px;padding:12px 8px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px}
.seg button b{font-size:15px;font-weight:800}
.seg button span{font-size:12px;color:var(--muted)}
.seg button[aria-pressed="true"]{background:var(--bg);box-shadow:var(--shadow)}
.seg button[aria-pressed="true"] b{color:var(--accent)}
/* 새 디자인 · 만드는 방식 */
.how{display:flex;flex-direction:column;gap:10px}
.how button{display:grid;grid-template-columns:58px minmax(0,1fr) 18px;gap:14px;align-items:center;text-align:left;border:1.5px solid var(--line);background:var(--bg);border-radius:20px;padding:14px 14px 14px 12px;cursor:pointer;color:var(--ink);font:inherit;transition:border-color .15s,transform .15s,box-shadow .15s}
.how button:hover{border-color:var(--ink);transform:translateY(-1px);box-shadow:var(--shadow)}
.how .hi{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.how .hi svg{width:28px;height:28px}
.how button:last-child .hi{background:var(--bg2);color:var(--ink)}
.how b{display:block;font-size:16px;font-weight:800;letter-spacing:-.03em}
.how small{display:block;color:var(--muted);font-size:13px;line-height:1.45;margin-top:2px}
.how .tagline{display:inline-block;margin-top:6px;font-size:11.5px;font-weight:800;padding:3px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}
.how button:last-child .tagline{background:var(--bg2);color:var(--muted)}
.how .chev{color:var(--muted);font-size:18px}
.howbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg2);border-radius:14px;padding:9px 10px 9px 14px;font-size:13.5px}
.howbar b{font-weight:800}
.howbar button{border:0;background:var(--bg);border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:800;cursor:pointer;color:var(--ink);box-shadow:var(--shadow)}
.maker{border-radius:22px;background:var(--accent-soft);padding:18px 16px 16px;display:flex;flex-direction:column;gap:12px}
.maker .mk-top{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center}
.maker .mk-tee{background:var(--bg);border-radius:16px;padding:6px;position:relative}
.maker .mk-tee svg{display:block;width:100%;height:auto}
.maker h3{margin:0;font-size:17px;letter-spacing:-.03em}
.maker p{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.maker ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.maker li{background:var(--bg);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}
.maker .open{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;border:0;border-radius:16px;padding:15px;background:var(--accent);color:var(--accent-ink);font-size:16px;font-weight:800;text-decoration:none;cursor:pointer}
.maker .demo{border:0;background:none;color:var(--muted);font-size:12.5px;text-decoration:underline;cursor:pointer;padding:2px}
.made{border:1.5px solid var(--ink);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:12px;background:var(--bg)}
.made .mhead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.made .mhead b{font-size:15px}
.made .ok{font-size:12px;font-weight:800;color:#0A8F5A;background:#E3F7EE;border-radius:999px;padding:3px 9px}
.made .sides{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.made .side{background:var(--bg2);border-radius:14px;padding:6px 6px 10px;text-align:center;font-size:12.5px}
.made .side svg{display:block;width:100%;height:auto}
.made .side b{display:block;margin-top:2px}
.made .side span{color:var(--muted)}
.made .acts{display:grid;grid-template-columns:1fr auto;gap:8px}
.made .acts a,.made .acts button{border:1.5px solid var(--line);background:var(--bg);border-radius:14px;padding:11px;font-weight:800;font-size:14px;cursor:pointer;color:var(--ink);text-align:center;text-decoration:none}
.posopt .pnote{margin:0 2px 10px;font-size:13px;color:var(--muted);line-height:1.55}
.posopt .pnote b{color:var(--ink)}
.posopt [role=radiogroup]{display:flex;flex-direction:column;gap:8px}
.posopt label{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:start;border:1.5px solid var(--line);border-radius:16px;padding:13px 14px;cursor:pointer;background:var(--bg)}
.posopt label:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.posopt input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--accent)}
.posopt label b{display:block;font-size:14.5px;letter-spacing:-.02em}
.posopt label small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px;line-height:1.45}
.posopt em{font-style:normal;font-size:11px;font-weight:800;color:var(--accent);background:var(--bg);border-radius:999px;padding:3px 8px}
.made .chk{font-size:12.5px;color:var(--muted);line-height:1.5;margin:0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .made .ok{background:#0F3326;color:#5FE0A6}}
:root[data-theme="dark"] .made .ok{background:#0F3326;color:#5FE0A6}
/* sections */
.sh{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 10px}
.sh h2{font-size:18px;margin:0;font-weight:800;letter-spacing:-.03em}
.opt{font-size:11.5px;font-weight:700;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 8px}
.drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;border:2px dashed var(--accent);background:var(--accent-soft);border-radius:22px;padding:20px 16px 18px;cursor:pointer;transition:transform .18s ease, background .18s}
.drop:hover{transform:translateY(-2px)}
.drop.over{background:var(--bg);transform:scale(1.01)}
.drop .ico{width:42px;height:42px;margin-bottom:2px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center}
.drop .ico svg{width:20px;height:20px}
.drop .big{font-size:17px;font-weight:800;letter-spacing:-.03em}
.drop .sub{color:var(--muted);font-size:13px;line-height:1.5}
.drop.small{border:1.5px dashed var(--line);background:var(--bg2);padding:16px;flex-direction:row;justify-content:center;gap:12px;text-align:left}
.drop.small .ico{width:38px;height:38px;background:var(--ink);color:var(--bg)}
.drop.small .big{font-size:15px}
.files{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.inwarn{display:inline-flex;gap:6px;align-items:center;font-size:13.5px;font-weight:800;color:var(--warn);line-height:1.4}
.bang{flex:none;width:18px;height:18px;border-radius:50%;background:var(--warn);color:#fff;display:grid;place-items:center;font-family:var(--disp);font-weight:800;font-size:12px;line-height:1}
.types{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin-top:4px}
.types span{font-family:var(--disp);font-weight:600;font-size:10.5px;letter-spacing:.04em;color:var(--muted);background:var(--bg);border-radius:6px;padding:2px 6px}

.file{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:start;background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow)}
.thumb{width:56px;height:56px;border-radius:12px;background:var(--bg2);display:grid;place-items:center;overflow:hidden;font-family:var(--disp);font-weight:600;font-size:11px;color:var(--muted)}
.thumb img{width:100%;height:100%;object-fit:cover}
.fname{font-weight:700;font-size:14px;overflow-wrap:anywhere;line-height:1.35}
.fsize{color:var(--muted);font-size:12px}
.q{font-size:12px;color:var(--muted);margin-top:6px}
.where{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.pill{border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:700;cursor:pointer}
.pill[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.rm{border:0;background:var(--bg2);border-radius:999px;color:var(--muted);cursor:pointer;width:28px;height:28px;font-size:14px;line-height:1}
label.l{font-weight:800;font-size:18px;letter-spacing:-.03em;display:flex;gap:8px;align-items:baseline;margin-bottom:10px}
textarea,input[type=text],select{width:100%;font:inherit;font-size:15px;color:var(--ink);background:var(--bg2);border:1.5px solid transparent;border-radius:16px;padding:13px 14px}
textarea:focus,input[type=text]:focus,select:focus{border-color:var(--ink);background:var(--bg);outline:none}
textarea{min-height:104px;resize:vertical}
/* past orders (reorder) */
.past{display:flex;flex-direction:column;gap:10px}
.past label{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;background:var(--bg);border:1.5px solid var(--line);border-radius:18px;padding:10px 14px 10px 10px;cursor:pointer}
.past label:has(input:checked){border-color:var(--ink);box-shadow:var(--shadow)}
.past input{width:20px;height:20px;accent-color:var(--accent)}
.past .mini{background:var(--bg2);border-radius:12px;padding:4px}
.code{display:flex;gap:8px;margin-top:10px}
.code input{flex:1;min-width:0;text-transform:uppercase;font-family:var(--disp);letter-spacing:.08em}
/* CTA */
.cta-wrap{position:sticky;bottom:0;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,var(--bg) 30%);z-index:5}
.cta{width:100%;border:0;border-radius:18px;padding:17px;background:var(--ink);color:var(--bg);font-size:17px;font-weight:800;letter-spacing:-.02em;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}
.cta:disabled{opacity:.35;cursor:not-allowed}
.cta .arr{font-family:var(--disp)}
.hint{font-size:12.5px;color:var(--muted);text-align:center;margin:8px 0 0}
.ghost{border:1.5px solid var(--ink);background:var(--bg);border-radius:18px;padding:15px;font-weight:800;cursor:pointer;width:100%}
/* studio team strip */
.team{background:var(--bg2);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px}
.faces{display:flex}
.face{width:40px;height:40px;border-radius:50%;border:2.5px solid var(--bg2);margin-left:-8px;display:grid;place-items:center;font-family:var(--disp);font-weight:800;font-size:14px;color:#111114}
.face:first-child{margin-left:0}
.f1{background:linear-gradient(135deg,#FFD6E8,#FFB4C9)} .f2{background:linear-gradient(135deg,#C9F2FF,#9ED8FF)} .f3{background:linear-gradient(135deg,#E2FFB8,#C3F27A)} .f4{background:var(--pop)}
.team h3{margin:0;font-size:16px;font-weight:800;letter-spacing:-.03em}
.team ul{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:13.5px;color:var(--muted)}
.team li::before{content:"✓";color:var(--accent);font-weight:800;margin-right:6px}
details{border-top:1px solid var(--line);padding:14px 2px}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
summary::after{content:"+";font-family:var(--disp);font-size:18px;line-height:1}
details[open] summary::after{content:"–"}
details ol,details ul{margin:10px 0 0;padding-left:20px;color:var(--muted);font-size:14px} details li{margin:4px 0}
details b{color:var(--ink)}
.mail{font-size:13px;color:var(--muted);text-align:center}
.mail code{font-family:var(--disp);color:var(--ink);font-weight:600;user-select:all}
.foot{font-family:var(--disp);font-size:11px;letter-spacing:.14em;color:var(--muted);text-align:center}
/* done */
.done{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px 0}
.check{width:76px;height:76px;border-radius:50%;background:var(--pop);display:grid;place-items:center;transform:rotate(-8deg)}
.check svg{width:38px;height:38px;color:#111114}
.done h1{margin:0;font-size:28px;font-weight:800;letter-spacing:-.04em}
.recap{background:var(--bg2);border-radius:18px;padding:14px 16px;text-align:left;width:100%;font-size:14px}
.recap ul{margin:6px 0 0;padding-left:18px}
.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0;width:100%;text-align:left}
.timeline li{position:relative;padding:0 0 16px 30px;font-size:14.5px}
.timeline li::before{content:"";position:absolute;left:7px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--line)}
.timeline li::after{content:"";position:absolute;left:11px;top:18px;bottom:2px;width:2px;background:var(--line)}
.timeline li:last-child::after{display:none}
.timeline li.now::before{background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.timeline small{display:block;color:var(--muted);font-size:12.5px}
/* status chips */
.st{display:inline-block;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.st-wait{background:var(--bg2);color:var(--muted)} .st-in{background:var(--info-soft);color:var(--info)} .st-work{background:var(--accent-soft);color:var(--accent)}
.st-sent{background:var(--pop);color:var(--pop-ink)} .st-fix{background:var(--warn-soft);color:var(--warn)} .st-ok{background:var(--ok-soft);color:var(--ok)}
/* proof */
.stage{background:var(--bg2);border-radius:26px;padding:16px;display:flex;flex-direction:column;gap:12px}
.vers{display:flex;gap:6px;flex-wrap:wrap}
.proof{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.proof figure{margin:0;background:var(--bg);border-radius:18px;padding:12px 10px 10px;text-align:center}
.proof figcaption{font-size:12px;color:var(--muted);margin-top:4px}
.proof figcaption b{color:var(--ink)}
.proof svg{width:100%;height:auto}
.bar2{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}
.confirm{background:var(--bg);border:1.5px solid var(--ink);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:10px}
.confirm b{font-size:16px}
.thread{display:flex;flex-direction:column;gap:12px}
.msg{display:flex;gap:8px;align-items:flex-end;max-width:88%}
.msg .bub{border-radius:18px;padding:10px 13px;font-size:14.5px;overflow-wrap:anywhere;line-height:1.5}
.msg .who{font-size:11.5px;color:var(--muted);margin:0 4px 3px}
.msg.me{align-self:flex-end;flex-direction:row-reverse}
.msg.me .bub{background:var(--ink);color:var(--bg);border-bottom-right-radius:6px}
.msg.them .bub{background:var(--bg2);border-bottom-left-radius:6px}
.msg .av{flex:none;width:30px;height:30px;font-size:11px;margin:0;border:0}
.msg.sys{align-self:center;max-width:100%;font-size:12px;color:var(--muted);background:var(--bg2);border-radius:999px;padding:4px 12px}
.quick{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}
.quick .pill{flex:none}
.compose{display:flex;gap:8px;align-items:center}
.compose input{flex:1;min-width:0}
.send{border:0;border-radius:14px;width:48px;height:48px;background:var(--accent);color:var(--accent-ink);cursor:pointer;font-family:var(--disp);font-size:18px;font-weight:800;flex:none}
.coupon{border:1.5px dashed var(--ink);border-radius:16px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.coupon .num{font-size:20px;font-weight:800;letter-spacing:.06em}
/* admin */
.top{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.bell{position:relative;border:1.5px solid var(--ink);background:var(--bg);border-radius:12px;padding:7px 12px;cursor:pointer;font-weight:800}
.bell .n{position:absolute;top:-8px;right:-8px;background:var(--warn);color:#fff;border-radius:999px;font-size:11px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px}
.notif{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:10px 14px;display:flex;flex-direction:column;gap:4px;font-size:13.5px;box-shadow:var(--shadow)}
.notif button{text-align:left;background:none;border:0;padding:5px 0;cursor:pointer}
.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.tile{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:10px 12px;cursor:pointer;text-align:left}
.tile b{display:block;font-family:var(--disp);font-size:26px;line-height:1.2;font-variant-numeric:tabular-nums}
.tile[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.filters{display:flex;flex-wrap:wrap;gap:8px}
.filters select,.filters input{width:auto;min-width:0;padding:9px 12px;font-size:14px;border-radius:12px}
.filters input{flex:1;min-width:140px}
.adm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px;align-items:start}
.list{background:var(--bg);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.item{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px;border:0;border-bottom:1px solid var(--line);cursor:pointer;background:none;width:100%;text-align:left}
.item:last-child{border-bottom:0}
.item[aria-current="true"]{background:var(--accent-soft)}
.item .nm{font-weight:800}
.item .sub{grid-column:1/-1;font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:3px 10px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--warn);margin-left:6px;vertical-align:middle}
.panel{background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}
.panel h2{margin:0;font-size:18px;font-weight:800}
.kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:14px;margin:0}
.kv dt{color:var(--muted)} .kv dd{margin:0;min-width:0}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.row2 label{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px}
.flist{display:flex;flex-direction:column;gap:6px;font-size:14px}
.flist div{display:flex;justify-content:space-between;gap:8px;background:var(--bg2);border-radius:12px;padding:8px 12px}
.flist span{overflow-wrap:anywhere;min-width:0}
.mini-tag{background:var(--pop);color:var(--pop-ink);border-radius:999px;padding:1px 8px;font-size:12px;font-weight:700;white-space:nowrap}
.actions{display:flex;flex-wrap:wrap;gap:8px}
.btn{border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:9px 13px;font-weight:700;cursor:pointer;font-size:14px}
.btn.acc{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.gate{text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center;padding-top:6px}
.gate h1{margin:0;font-size:26px;font-weight:800;letter-spacing:-.04em;line-height:1.3}
.gate .lock{width:56px;height:56px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}
.gate .lock svg{width:26px;height:26px}
.gate #pin{width:200px;text-align:center;font-family:var(--disp);font-size:30px;font-weight:800;letter-spacing:.5em;padding:12px 0 12px .5em;border-radius:16px}
.gate .cta{width:100%}
.err{color:var(--warn);font-size:13.5px;font-weight:700;margin:0}
.note{font-size:12.5px;color:var(--muted);text-align:center;margin:0}
.notice{background:var(--accent-soft);border-radius:14px;padding:11px 14px;font-size:13.5px;line-height:1.5}
.hist{border:1px solid var(--line)!important;border-radius:14px;padding:10px 12px!important;margin-top:8px}
.hist summary{font-size:14px;font-weight:600}
.hist summary span{flex:1}
.hist .thread{margin-top:10px}
.badge{font-size:11.5px;font-weight:800;background:var(--pop);color:#111114;border-radius:6px;padding:1px 6px}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(20px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--bg);border-radius:14px;padding:11px 16px;font-size:14px;font-weight:700;max-width:calc(100% - 32px);z-index:20}
@media (max-width:860px){.adm{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:380px){.tag{grid-template-columns:1fr}.teemap{max-width:120px}.hero h1{font-size:26px}}
@media (prefers-reduced-motion: reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* ===== 실제 서비스용 추가 ===== */
[hidden]{display:none!important}
body{padding-top:16px}
.loading{display:flex;flex-direction:column;align-items:center;gap:12px;padding:80px 0;color:var(--muted);font-size:14px}
.spin{width:28px;height:28px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.prog{height:6px;border-radius:999px;background:var(--bg2);overflow:hidden;margin-top:6px}
.prog i{display:block;height:100%;background:var(--accent);border-radius:999px;transition:width .2s}
.file.up{opacity:.85}
.file .state{font-size:12px;color:var(--accent);font-weight:700}
.file .state.bad{color:var(--warn)}
.tagx{display:inline-block;font-size:11px;font-weight:800;border-radius:6px;padding:1px 6px;background:var(--pop);color:var(--pop-ink);margin-left:4px}
.pimg{background:var(--bg);border-radius:18px;padding:8px;min-height:160px;display:grid;place-items:center}
.pimg img{max-width:100%;height:auto;display:block;border-radius:10px;cursor:zoom-in}
.zoom{position:fixed;inset:0;background:rgba(10,10,14,.92);z-index:30;overflow:auto;touch-action:pinch-zoom}
.zoom img{width:200%;max-width:none;display:block}
.zoom button{position:fixed;top:14px;right:14px;border:0;background:#fff;color:#111;border-radius:999px;padding:8px 14px;font-weight:800;z-index:31}
.msg .att{font-size:12px;color:var(--muted);margin:4px 4px 0}
.attach{border:1px solid var(--line);background:var(--bg);border-radius:999px;width:42px;height:42px;flex:none;cursor:pointer;display:grid;place-items:center}
.attach[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
.past label .code{font-family:var(--disp);font-weight:800}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}
/* 인쇄 위치 고르기 (필수) — 눈에 띄는 상자 + 버튼처럼 보이는 칩 */
.file .posbox{grid-column:1/-1}
.posbox{margin-top:2px;border-radius:14px;padding:10px 10px 11px;background:var(--accent-soft);border:1.5px solid transparent;transition:background .15s,border-color .15s}
.posbox.done{background:var(--bg2)}
.posbox.miss{border-color:var(--warn);background:var(--warn-soft);animation:shake .35s ease 1}
.posq{display:flex;align-items:center;justify-content:flex-start;gap:6px;font-size:13.5px;margin-bottom:8px}
.posq b{font-weight:800}
.posq .req{font-size:11px;font-weight:800;color:var(--accent-ink);background:var(--accent);border-radius:999px;padding:1px 7px}
.posbox.done .posq .req{background:var(--ok);color:#fff}
.posbox .where{gap:7px;margin:0}
.pchip{border:1.5px solid var(--accent);background:var(--bg);color:var(--accent);border-radius:12px;padding:9px 14px;font-size:14px;font-weight:800;cursor:pointer;min-height:42px;box-shadow:0 2px 0 rgba(75,59,255,.18);transition:transform .1s}
.pchip:active{transform:translateY(1px);box-shadow:none}
.pchip[aria-checked="true"]{background:var(--accent);color:var(--accent-ink);box-shadow:none}
.posbox.done .pchip:not([aria-checked="true"]){border-color:var(--line);color:var(--muted);box-shadow:none}
.perr{margin:8px 2px 0;color:var(--warn);font-size:13px;font-weight:800}
@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media (prefers-reduced-motion:reduce){.posbox.miss{animation:none}}
/* 관리자: 고객이 직접 만든 디자인 (편집기 결과) */
.madebox{border:1.5px solid var(--line);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px}
.madeprev{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.madeprev figure{margin:0;background:var(--bg2);border-radius:12px;padding:6px;text-align:center;font-size:12px;color:var(--muted)}
.madeprev figure img{display:block;width:100%;height:auto;border-radius:8px;background:#fff}
.madeprev figure.ph{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.mtable-wrap{overflow-x:auto}
.mtable{width:100%;border-collapse:collapse;font-size:13px}
.mtable th,.mtable td{text-align:left;padding:7px 6px;border-bottom:1px solid var(--line);vertical-align:top}
.mtable th{color:var(--muted);font-weight:700;font-size:12px;white-space:nowrap}
.mtable td.num{white-space:nowrap;font-variant-numeric:tabular-nums}
