/* ==========================================================================
   KTS 전자명함 · 매물장 — 딥네이비 / 오렌지, 한 화면 1작업
   ========================================================================== */
:root{
  --bg:#0b132b; --panel:#141f38; --panel2:#1a2745; --line:#2a354e; --line2:#36425c;
  --ink:#f4f6fb; --ink2:#a5b1c7; --ink3:#7d8ba3;
  --acc:#ff6b00; --acc2:#ff994b; --on:#141414;
  --ok:#22c55e; --warn:#f59e0b; --danger:#ef4444;
  --r:14px; --r2:18px; --tap:48px;
  --grad:linear-gradient(180deg,#ff8a2b,#ff6b00);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html,body{margin:0;padding:0;background:var(--bg)}
body{
  background:radial-gradient(120% 42% at 50% -8%,#17305a 0%,transparent 58%),var(--bg);
  color:var(--ink);min-height:100vh;font-size:15px;line-height:1.45;
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;word-break:keep-all;
}
#app{max-width:430px;margin:0 auto;padding:0 14px calc(66px + env(safe-area-inset-bottom));position:relative}
a{color:inherit}
button{font-family:inherit;cursor:pointer}
img{display:block;max-width:100%}

/* ---------- 헤더 ---------- */
.hd{display:flex;align-items:center;gap:8px;padding:7px 0 5px;position:sticky;top:0;z-index:40;
  background:linear-gradient(180deg,var(--bg) 78%,rgba(11,19,43,0));}
.hd .brand{display:flex;align-items:center;gap:7px;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:-.3px}
.hd .brand img{border-radius:8px;width:23px;height:23px}
.hd .brand b{color:var(--acc2)}
.hd .sp{flex:1}
.hd-btn{font-size:11px;font-weight:900;text-decoration:none;color:var(--acc2);border:1px solid rgba(255,107,0,.45);
  background:rgba(255,107,0,.1);border-radius:999px;padding:5px 10px}

/* ---------- 카톡 안내 ---------- */
.kakaobar{position:relative;display:flex;align-items:center;gap:9px;margin:0 0 4px;padding:7px 10px;
  background:linear-gradient(180deg,#3b2a10,#2a1f0c);border:1px solid #6b4a1d;border-radius:var(--r);font-size:11.5px}
.kakaobar b{display:block;font-size:11.8px;color:#ffd7a4;line-height:1.3}
.kakaobar span{display:block;color:#e0c49a;font-size:10.8px;line-height:1.3}
.kakaobar>div{flex:1;min-width:0}
.kbx{border:0;background:none;color:#c9a97a;font-size:14px;padding:2px 4px}

/* ---------- 보기 전환 ---------- */
.view{display:none;animation:fade .18s ease}
.view.on{display:block}
@keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ---------- 공통 ---------- */
.sec-h{display:flex;align-items:baseline;justify-content:space-between;margin:12px 2px 7px}
.sec-h b{font-size:15.5px;letter-spacing:-.5px;display:flex;align-items:center;gap:6px}
.sec-h b::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--acc)}
.sec-h span{font-size:11.5px;color:var(--ink3)}
.page-h{display:flex;align-items:baseline;justify-content:space-between;margin:6px 2px 12px}
.page-h b{font-size:22px;letter-spacing:-.8px}
.page-h span{font-size:12px;color:var(--ink3)}
.credit{font-size:10.5px;color:#5f6f8a;text-align:center;margin:8px 0 0}
.tiny{font-size:10px;color:var(--ink3);text-align:center;margin:8px 0 0;line-height:1.45}
.empty{padding:26px 16px;text-align:center;color:var(--ink3);font-size:13px;border:1px dashed var(--line);border-radius:var(--r)}
.dim{color:var(--ink3);font-size:12.5px}
.lnk{border:0;background:none;color:var(--ink2);font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:4px}
.lnk.sm{font-size:11.5px;color:var(--acc2)}

/* ---------- 버튼 ---------- */
.big{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:56px;margin-top:12px;
  border:0;border-radius:var(--r2);background:var(--grad);color:#141414;font-size:16px;font-weight:900;letter-spacing:-.4px;
  box-shadow:0 8px 22px rgba(255,107,0,.24)}
.big:active{transform:translateY(1px)}
.big svg{width:19px;height:19px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 14px;
  border-radius:12px;border:1px solid var(--line2);background:var(--panel2);color:var(--ink);font-size:13.5px;font-weight:800;text-decoration:none}
.btn.sm{min-height:38px;padding:0 11px;font-size:12.5px;border-radius:10px}
.btn.main{background:var(--grad);border-color:transparent;color:#141414}
.btn.ghost{background:rgba(255,255,255,.03)}
.btn svg{width:15px;height:15px}
.wide{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:12px;padding:15px 16px;
  border-radius:var(--r);border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:14px;font-weight:800;text-decoration:none}
.wide span{color:var(--acc2)}
.wide.ghost{justify-content:center;gap:8px;font-size:13px;color:var(--ink2);background:rgba(255,255,255,.02)}
.wide2{display:flex;width:100%;margin-top:10px;justify-content:center}
.icob{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;border:1px solid var(--line2);
  background:rgba(255,255,255,.03);color:var(--ink);padding:0}
.icob svg{width:18px;height:18px}

/* ---------- ① 명함 (종이 명함 한 장) ---------- */
.biz{position:relative;margin-top:3px;padding:13px 13px 11px;border-radius:15px;
  border:1px solid rgba(201,160,99,.46);
  background:linear-gradient(152deg,#26375a 0%,#1b2949 44%,#121d36 100%);
  box-shadow:0 14px 30px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.02);
  overflow:hidden}
.biz::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(226,186,122,.85),transparent)}
.biz::after{content:"";position:absolute;inset:0;border-radius:15px;pointer-events:none;
  background:radial-gradient(58% 60% at 98% -2%,rgba(201,160,99,.18),transparent 62%)}
.biz-mark{position:absolute;right:12px;top:11px;z-index:2;font-size:9px;font-weight:900;
  letter-spacing:2.2px;color:#e2ba7a;opacity:.95}
.biz-row{position:relative;z-index:1;display:flex;gap:11px;align-items:flex-start}
.av{width:76px;height:96px;flex:0 0 auto;border-radius:10px;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(155deg,#ffa04d,#ff6b00);color:#2a1500;font-size:26px;font-weight:900;
  box-shadow:0 0 0 1px rgba(226,186,122,.4),0 5px 12px rgba(0,0,0,.36)}
.av img{width:100%;height:100%;object-fit:cover}
/* 302수리C — 사진을 넣은 명함: 사각 테두리 없이 카드 배경으로 스며들고 가장자리로 갈수록 흐려진다 */
.av.has-photo,.biz .av.has-photo{width:84px;height:104px;border-radius:0;background:none;box-shadow:none;
  overflow:visible;position:relative;display:block}
.av.has-photo img{border-radius:0;filter:saturate(1.05) contrast(1.02);
  -webkit-mask-image:radial-gradient(ellipse farthest-side at 50% 44%,#000 38%,rgba(0,0,0,.82) 62%,rgba(0,0,0,.34) 84%,transparent 100%);
  mask-image:radial-gradient(ellipse farthest-side at 50% 44%,#000 38%,rgba(0,0,0,.82) 62%,rgba(0,0,0,.34) 84%,transparent 100%)}
.av.has-photo::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:42%;pointer-events:none;
  background:linear-gradient(180deg,rgba(26,40,70,0) 0%,rgba(24,37,66,.30) 55%,rgba(22,34,60,.66) 100%)}
.who{flex:1;min-width:0;padding-right:22px}
.nmrow{display:flex;align-items:center;gap:8px}
.who b{display:block;font-size:19.5px;font-weight:900;letter-spacing:.4px;line-height:1.15}
.who .role{display:block;margin-top:2px;font-size:10.5px;color:#abbacf;letter-spacing:.1px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.medals{display:flex;align-items:center;gap:5px;margin-top:6px;min-width:0}
.medals .badge{flex:0 0 auto;font-size:9.5px;font-weight:900;letter-spacing:0;padding:3px 7px;border-radius:999px;
  color:#f2d8a8;background:rgba(226,186,122,.14);border:1px solid rgba(226,186,122,.55)}
.medals .edge{min-width:0;font-size:9.5px;font-weight:700;color:#cbb68f;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.intro{margin:6px 0 0;font-size:10.8px;color:#c1ccdd;line-height:1.5;letter-spacing:-.1px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.intro em{font-style:normal;color:#e2ba7a;margin-right:1px;font-size:11.5px;vertical-align:-.5px}

/* 사진을 넣지 않은 명함 — 빈 사진 칸 없이 글자·모노그램이 카드에 꽉 차게 */
.biz.nophoto{padding-left:14px}
.biz.nophoto .biz-mark{display:none}
.biz.nophoto .who{padding-right:46px}
.biz.nophoto .nmrow b{font-size:22.5px;letter-spacing:.2px;line-height:1.1;flex:1;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biz-seal{flex:0 0 auto;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  font-size:14.5px;font-weight:900;color:#f2d8a8;letter-spacing:0;
  background:radial-gradient(circle at 32% 26%,rgba(226,186,122,.28),rgba(226,186,122,.1));
  border:1px solid rgba(226,186,122,.62);box-shadow:0 2px 8px rgba(0,0,0,.3)}
.biz.nophoto .who .role{font-size:11.2px;margin-top:3px;padding-right:6px}
.biz.nophoto .medals{margin-top:7px;gap:6px}
.biz.nophoto .medals .badge{font-size:10px;padding:3.5px 8px}
.biz.nophoto .medals .edge{font-size:10px}
.biz.nophoto .intro{font-size:11.4px;line-height:1.55;margin-top:7px;-webkit-line-clamp:3}
.biz.nophoto .biz-line{margin-top:8px;background:linear-gradient(90deg,rgba(226,186,122,.55),rgba(255,255,255,.08) 64%,transparent)}
.biz-line{position:relative;z-index:1;height:1px;margin-top:9px;
  background:linear-gradient(90deg,rgba(226,186,122,.5),rgba(255,255,255,.08) 44%,transparent 92%)}

/* 슬림 한 줄 연락 버튼 */
.biz-acts{display:grid;grid-template-columns:1fr 1fr 1fr 1.06fr;gap:5px;margin-top:9px;position:relative;z-index:1}
/* 345번 — 버튼 글자가 기본 폰트로 떨어지거나 삐딱해 보이지 않게: 폰트·줄높이·정렬 고정 */
.pact{display:flex;align-items:center;justify-content:center;gap:4px;height:31px;padding:0 3px;
  font-family:inherit;font-size:10.5px;font-weight:900;letter-spacing:-.2px;line-height:1;color:#e8eef8;
  text-align:center;vertical-align:middle;
  border-radius:9px;text-decoration:none;white-space:nowrap;position:relative;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05)}
.pact>span{display:inline-block;line-height:1;transform:translateY(0)}
.pact:active{transform:translateY(1px)}
.pact svg{width:13px;height:13px;flex:0 0 auto;display:block}
.pact.tel{border-color:rgba(34,197,94,.34);background:rgba(34,197,94,.13);color:#8ff0b4}
.pact.sms{border-color:rgba(96,165,250,.32);background:rgba(96,165,250,.13);color:#a9ccff}
.pact.kakao{background:#fee500;border-color:#fee500;color:#2a2200}
.pact.inst{border-style:dashed;border-color:rgba(226,186,122,.55);background:rgba(226,186,122,.09);
  color:#edd4a5;font-size:9.5px}
.pact.inst svg{width:12px;height:12px}
.pact.inst.ready{border-style:solid;background:rgba(226,186,122,.18)}
.pact.inst.done{border-style:solid;border-color:rgba(34,197,94,.45);background:rgba(34,197,94,.12);color:#8ff0b4}
.pact.inst.esc{border-style:solid;background:linear-gradient(180deg,rgba(226,186,122,.22),rgba(226,186,122,.12));
  color:#ffe3b0;animation:escPulse 2.4s ease-in-out infinite}
@keyframes escPulse{50%{box-shadow:0 0 0 2px rgba(226,186,122,.22)}}

/* 바탕화면 혜택 한 줄 */
.inst-tip{display:flex;align-items:center;gap:5px;margin:7px 1px 0;position:relative;z-index:1;
  font-size:10.3px;font-weight:700;line-height:1.35;color:#cbb68f;letter-spacing:-.1px}
.inst-tip svg{width:11px;height:11px;flex:0 0 auto;color:#ffc53d}
.inst-tip b{color:#f2d8a8;font-weight:900}
.inst-tip span{min-width:0}

/* 명함 아래 한 줄 도구 */
.biz-tools{display:flex;align-items:center;gap:4px;margin:6px 3px 0}
.biz-tools .wm{margin-right:auto;font-size:9px;font-weight:900;letter-spacing:.3px;color:#71829f;white-space:nowrap}
.biz-tools .wm i{font-style:normal;color:#c6a054}
.biz-tools button{display:inline-flex;align-items:center;gap:2.5px;height:27px;padding:0 1px;border:0;
  background:none;color:#a9b8cd;font-size:10.4px;font-weight:800;white-space:nowrap}
.biz-tools button.on{color:var(--acc2)}
.biz-tools svg{width:12px;height:12px}
.biz-tools .cnt{min-width:15px;height:15px;border-radius:999px;background:var(--acc);color:#141414;
  font-size:9.5px;font-style:normal;font-weight:900;display:grid;place-items:center;padding:0 3px}

/* ---------- ② 새 물건표 — 작은 썸네일 3열 ---------- */
.sec-h.starred b::before{content:"★";width:auto;height:auto;background:none;color:#ffc53d;font-size:13px;
  line-height:1;margin-top:-1px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.gcard{display:flex;flex-direction:column;min-width:0;padding:4px 4px 5px;text-decoration:none;border-radius:11px;
  border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#18253f,#141f38);
  box-shadow:0 4px 12px rgba(0,0,0,.22)}
.gth{position:relative;height:70px;border-radius:8px;overflow:hidden;background:var(--panel2)}
.gth img{width:100%;height:100%;object-fit:cover}
.gth .ph{display:grid;place-items:center;width:100%;height:100%;font-size:13px;font-weight:900;color:var(--ink3);
  background:repeating-linear-gradient(45deg,#18233f 0 6px,#152038 6px 12px)}
.gth .dm{position:absolute;left:4px;top:4px;font-style:normal;font-size:9px;font-weight:900;padding:1px 4px;
  border-radius:5px;background:rgba(11,19,43,.82);color:#ffd7a4;border:1px solid rgba(255,190,120,.35)}
/* 썸네일 아래 두 줄 — 지역/평수 + 가격만 굵고 크게 */
.gcard .gc1{display:block;margin-top:5px;font-size:12.6px;font-weight:900;letter-spacing:-.45px;line-height:1.25;
  color:#eef3fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gcard .gc2{display:block;margin-top:1px;font-size:13.4px;font-weight:900;letter-spacing:-.5px;line-height:1.2;
  color:var(--acc2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.star-empty{display:flex;align-items:center;justify-content:center;gap:7px;min-height:64px;padding:8px 10px;
  border:1px dashed var(--line2);border-radius:11px;color:var(--ink3);font-size:11.5px;
  text-decoration:none;text-align:left;line-height:1.45}
.star-empty b{color:#ffc53d;font-size:14px}

.wide b{font-size:13.5px;letter-spacing:-.3px}
.wide.slim{margin-top:8px;padding:10px 13px;min-height:40px;font-size:13px}
.wide.slim span{font-size:12px}
/* ---------- ② 대표매물 레일 ---------- */
.rail{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.rail::-webkit-scrollbar{height:0}
.rcard{flex:0 0 156px;text-decoration:none;scroll-snap-align:start;background:linear-gradient(180deg,#18253f,#141f38);
  border:1px solid rgba(255,255,255,.075);border-radius:17px;padding:7px 7px 11px;display:flex;flex-direction:column;gap:2px;min-width:0;
  box-shadow:0 6px 16px rgba(0,0,0,.24)}
.rcard .rth{position:relative;width:100%;height:104px;border-radius:12px;overflow:hidden;background:var(--panel2)}
.rcard b{font-size:12.8px;margin-top:8px;line-height:1.3;letter-spacing:-.35px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.rcard .pr{font-size:13.5px;font-weight:900;color:var(--acc2);letter-spacing:-.3px}
.rcard .ar{font-size:10.5px;color:var(--ink3)}
.rth{overflow:hidden;background:var(--panel2);position:relative}
.rth img{width:100%;height:100%;object-fit:cover}
.rth .ph{display:grid;place-items:center;width:100%;height:100%;font-size:15px;font-weight:900;color:var(--ink3);
  background:repeating-linear-gradient(45deg,#18233f 0 6px,#152038 6px 12px)}
.rth .dm{position:absolute;left:5px;top:5px;font-style:normal;font-size:9.5px;font-weight:900;padding:2px 5px;border-radius:5px;
  background:rgba(11,19,43,.8);color:#ffd7a4;border:1px solid rgba(255,190,120,.35)}
.rth .new{position:absolute;right:5px;top:5px;font-style:normal;font-size:9.5px;font-weight:900;padding:2px 5px;border-radius:5px;
  background:var(--acc);color:#141414}

/* ---------- ③ 매물장 ---------- */
.paste{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:15px 16px 15px 50px;position:relative;
  border-radius:var(--r2);border:1px solid rgba(255,107,0,.6);background:linear-gradient(120deg,rgba(255,107,0,.22),rgba(255,107,0,.08));
  color:var(--ink);text-align:left;margin-bottom:6px}
.paste svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:22px;height:22px;color:var(--acc2)}
.paste b{font-size:15.5px;letter-spacing:-.5px}
.paste em{font-style:normal;font-size:11.5px;color:#e7c9a8}
.bubble{position:relative;margin:8px 0 4px;padding:11px 13px 13px;background:#1d2a45;border:1px solid #33456b;border-radius:13px;font-size:11.8px;color:#c9d5e6;line-height:1.5}
.bubble b{color:#ffd7a4}
.bubble::before{content:"";position:absolute;left:26px;top:-6px;width:10px;height:10px;background:#1d2a45;border-left:1px solid #33456b;border-top:1px solid #33456b;transform:rotate(45deg)}
.bubble button{display:block;margin-top:7px;border:1px solid var(--line2);background:rgba(255,255,255,.05);color:#dfe7f2;
  font-size:11px;font-weight:800;border-radius:9px;padding:6px 9px}

.chips{display:flex;gap:6px;overflow-x:auto;padding:10px 0 4px;margin:0 -2px}
.chips::-webkit-scrollbar{height:0}
.chip{flex:0 0 auto;min-height:34px;padding:0 13px;border-radius:999px;border:1px solid var(--line2);background:rgba(255,255,255,.03);
  color:var(--ink2);font-size:12.5px;font-weight:800}
.chip.on{background:var(--grad);border-color:transparent;color:#141414}

.row{display:flex;align-items:center;gap:11px;padding:10px 4px;border-bottom:1px solid rgba(42,53,78,.7)}
.row .rth{width:78px;height:66px;border-radius:11px;flex:0 0 auto}
.row .rbd{flex:1;min-width:0;text-decoration:none;display:flex;flex-direction:column;gap:2px}
.row .rbd b{font-size:14px;letter-spacing:-.4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .rbd .pr{font-size:14.5px;font-weight:900;color:var(--acc2)}
.row .rbd .pr i{font-style:normal;font-size:11px;font-weight:700;color:var(--ink3);margin-left:4px}
.row .rbd .sub{font-size:11px;color:var(--ink3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.star{flex:0 0 auto;width:40px;height:40px;border-radius:11px;border:1px solid transparent;background:none;color:var(--ink3);display:grid;place-items:center;padding:0}
.star svg{width:21px;height:21px}
.star.on{color:#ffc53d}

/* ---------- ④ 문자 넣기 ---------- */
.step{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.step i{width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;background:var(--acc);
  color:#141414;font-style:normal;font-size:12px;font-weight:900}
.step b{font-size:15px;letter-spacing:-.4px}
.ta{width:100%;min-height:150px;padding:13px;border-radius:var(--r);border:1px solid var(--line2);background:#0e1830;
  color:var(--ink);font-size:14px;line-height:1.55;font-family:inherit;resize:vertical}
.ta:focus{outline:none;border-color:rgba(255,107,0,.7)}
.ta-row{display:flex;gap:8px;margin-top:8px}
.obj-table{margin-top:6px;border:1px solid var(--line2);border-radius:var(--r);overflow:hidden;background:var(--panel)}
.ot-h{padding:9px;text-align:center;font-size:13px;font-weight:900;letter-spacing:6px;background:rgba(255,107,0,.14);color:#ffd7a4;border-bottom:1px solid var(--line2)}
.obj-table table{width:100%;border-collapse:collapse;font-size:13px}
.obj-table th{width:74px;text-align:left;padding:9px 10px;color:var(--ink3);font-weight:800;font-size:11.5px;border-bottom:1px solid rgba(42,53,78,.7);vertical-align:top}
.obj-table td{padding:9px 10px 9px 0;border-bottom:1px solid rgba(42,53,78,.7);line-height:1.4}
.obj-table tr:last-child th,.obj-table tr:last-child td{border-bottom:0}
.warnline{margin:9px 2px 0;font-size:11.5px;color:#ffc06b}
/* 등록 화면 4대 공부 — 한 줄 한 항목 */
.gb-prev{margin:10px 0 0;padding:12px 14px;border:1px solid var(--line2);border-radius:var(--r);background:var(--panel)}
.gb-prev>b{display:block;font-size:11.5px;font-weight:900;color:var(--acc2);margin:0 0 6px}
.gb-prev>div{display:flex;gap:10px;font-size:13px;line-height:1.95}
.gb-prev>div span{flex:0 0 76px;color:var(--ink3);font-weight:700;font-size:11.5px;line-height:2.2}
.gb-prev>div em{font-style:normal;font-weight:700;color:var(--ink)}
.gb-prev>p{margin:2px 0 0;font-size:12.5px;line-height:1.6;color:var(--ink2)}

/* ---------- 상세 ---------- */
.dhead{display:flex;align-items:center;gap:8px;margin:2px 0 10px}
.dhead b{font-size:15px;letter-spacing:-.3px}
.dhead .sp{flex:1}
.hero{position:relative;border-radius:16px;overflow:hidden;background:#0e1830;border:1px solid var(--line)}
.hero>img{width:100%;height:196px;object-fit:cover}
.hero .noimg{height:196px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--ink3);font-size:12px}
.hero .noimg svg{width:30px;height:30px}
.hero .tagmap{position:absolute;left:9px;bottom:9px;font-style:normal;font-size:10px;font-weight:800;
  background:rgba(11,19,43,.82);color:#cfd9e8;padding:4px 7px;border-radius:7px;border:1px solid rgba(255,255,255,.12)}
.hero .photo-add{position:absolute;right:9px;bottom:9px;display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:0 10px;
  border-radius:9px;border:1px solid rgba(255,255,255,.2);background:rgba(11,19,43,.8);color:#e8eef8;font-size:11.5px;font-weight:800}
.hero .photo-add svg{width:13px;height:13px}
.hero .thumbs{display:flex;gap:6px;padding:6px}
.hero .thumbs img{width:64px;height:48px;border-radius:8px;object-fit:cover}

.dtitle{display:flex;align-items:flex-start;gap:8px;margin:14px 2px 10px}
.dtitle b{flex:1;font-size:21px;letter-spacing:-.8px;line-height:1.3}
.dtitle .star{width:44px;height:44px;margin-top:-4px}
.kpis{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}
.kpi{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:10px 11px;display:flex;flex-direction:column;gap:1px}
.kpi span{font-size:10.5px;color:var(--ink3);font-weight:800}
.kpi b{font-size:15px;letter-spacing:-.5px;color:#fff}
.kpi em{font-style:normal;font-size:10.5px;color:var(--ink3)}
.addr{display:flex;align-items:center;gap:7px;margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.03);
  border:1px solid var(--line);font-size:12px;color:var(--ink2)}
.addr svg{width:15px;height:15px;flex:0 0 auto;color:var(--acc2)}
.addr span{flex:1;min-width:0}
.tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.tags i{font-style:normal;font-size:11px;font-weight:800;padding:5px 9px;border-radius:999px;background:rgba(255,107,0,.14);
  color:#ffc38c;border:1px solid rgba(255,107,0,.3)}

.gongbu{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.gtile{padding:10px 11px;border-radius:12px;border:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;gap:2px;min-height:74px}
.gtile.ok{border-color:rgba(34,197,94,.32)}
.gtile span{font-size:10.5px;font-weight:900;color:var(--ink3);letter-spacing:.2px}
.gtile.ok span{color:#7fdc9f}
.gtile span i{font-style:normal}
.gtile b{font-size:12px;letter-spacing:-.2px;word-break:break-all;line-height:1.3;letter-spacing:-.3px}
.gtile em{font-style:normal;font-size:10px;color:var(--ink3);line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

.block.edit{border-color:rgba(255,107,0,.4)}
.block .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.block.edit .fl{margin-bottom:8px}
.block{margin-top:10px;padding:13px 14px;border-radius:var(--r);border:1px solid var(--line);background:var(--panel)}
.block h3{margin:0 0 7px;font-size:13.5px;letter-spacing:-.3px;display:flex;align-items:center;gap:6px}
.block h3 .hint{font-style:normal;font-size:10px;font-weight:800;color:var(--ink3);border:1px solid var(--line2);border-radius:6px;padding:2px 5px}
.block ul{margin:0;padding-left:16px;font-size:12.5px;color:var(--ink2);line-height:1.62}
.block ul.chk{list-style:none;padding-left:0}
.block ul.chk li{position:relative;padding-left:18px}
.block ul.chk li::before{content:"";position:absolute;left:0;top:6px;width:11px;height:11px;border:1.5px solid var(--line2);border-radius:3px}
.block .row2{display:flex;gap:7px;margin-top:9px}
.block .btn{margin-top:9px}
.block.good{border-color:rgba(255,107,0,.35);background:linear-gradient(160deg,rgba(255,107,0,.1),var(--panel) 60%)}
.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ink3);margin-right:5px;vertical-align:1px}
.dot.ok{background:var(--ok)} .dot.warn{background:var(--warn)} .dot.wait{background:var(--acc2);animation:blink 1s infinite}
@keyframes blink{50%{opacity:.25}}
.ai-cta{margin-top:18px}

/* ---------- 요금 ---------- */
.price-card{margin-bottom:10px;padding:15px 16px;border-radius:var(--r2);border:1px solid var(--line);background:var(--panel)}
.price-card .pc-h{display:flex;align-items:baseline;justify-content:space-between}
.price-card .pc-h b{font-size:16px;letter-spacing:-.4px}
.price-card .pc-h i{font-style:normal;font-size:16px;font-weight:900;color:var(--acc2)}
.price-card .pc-sub{font-size:11px;color:var(--ink3);margin-top:2px}
.price-card ul{margin:9px 0 0;padding-left:16px;font-size:12.5px;color:var(--ink2);line-height:1.7}
.price-card.free{border-color:var(--line2)}
.price-card.pro{border-color:rgba(255,107,0,.5);background:linear-gradient(160deg,rgba(255,107,0,.12),var(--panel) 55%)}
.note{margin-top:12px;padding:12px 13px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--line);
  font-size:11.5px;color:var(--ink3);line-height:1.6}

/* ---------- 폼 ---------- */
.photobox{display:flex;gap:12px;align-items:flex-start;margin:2px 0 12px;padding:12px;border-radius:var(--r);
  border:1px solid var(--line);background:var(--panel)}
.pv{width:72px;height:90px;flex:0 0 auto;border-radius:10px;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(155deg,#ffa04d,#ff6b00);color:#2a1500;font-size:26px;font-weight:900;
  box-shadow:0 0 0 1px rgba(226,186,122,.4)}
.pv img{width:100%;height:100%;object-fit:cover}
.pbtns{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start}
.pbtns .btn{min-height:34px;font-size:11.5px;padding:0 10px;border-radius:9px}
.pbtns em{flex:1 0 100%;font-style:normal;font-size:10.5px;color:var(--ink3);line-height:1.45;margin-top:2px}
.form{display:flex;flex-direction:column;gap:9px}
.fl{display:flex;flex-direction:column;gap:5px}
.fl span{font-size:11.5px;color:var(--ink3);font-weight:800}
.fl input{min-height:50px;padding:0 13px;border-radius:12px;border:1px solid var(--line2);background:#0e1830;color:var(--ink);font-size:15px;font-family:inherit}
.fl input:focus{outline:none;border-color:rgba(255,107,0,.7)}

/* ---------- 하단 탭 ---------- */
#bnav{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(8,14,30,.96);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line);
  padding-bottom:env(safe-area-inset-bottom)}
#bnav .in{display:flex;max-width:430px;margin:0 auto}
#bnav a{flex:1;display:grid;justify-items:center;gap:2px;padding:6px 0 7px;color:var(--ink3);text-decoration:none;font-size:10px;font-weight:800}
#bnav a svg{width:21px;height:21px}
#bnav a.on{color:var(--acc2)}

/* ---------- AI 시트 ---------- */
#sheet{position:fixed;inset:0;z-index:90;display:none;background:rgba(4,8,18,.66)}
#sheet.on{display:block}
.sheet-in{position:absolute;left:0;right:0;bottom:0;max-width:430px;margin:0 auto;max-height:86vh;display:flex;flex-direction:column;
  background:#101a31;border-radius:20px 20px 0 0;border:1px solid var(--line2);border-bottom:0;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));animation:up .22s ease}
@keyframes up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
.grip{width:38px;height:4px;border-radius:99px;background:var(--line2);margin:8px auto 2px}
.sheet-h{display:flex;align-items:center;justify-content:space-between;padding:6px 14px 8px;border-bottom:1px solid var(--line)}
.sheet-h b{font-size:14px;letter-spacing:-.3px}
.ai-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px;min-height:180px;max-height:58vh}
.msg{max-width:86%;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.msg.bot{align-self:flex-start;background:#1b2740;border:1px solid var(--line2);border-bottom-left-radius:5px}
.msg.me{align-self:flex-end;background:rgba(255,107,0,.2);border:1px solid rgba(255,107,0,.4);border-bottom-right-radius:5px}
.msg.typing{color:var(--ink3);letter-spacing:2px}
.msg.actionrow{display:flex;flex-wrap:wrap;gap:6px;background:none;border:0;padding:0;max-width:100%}
.ai-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px 10px;border-top:1px solid var(--line)}
.ai-input{display:flex;gap:7px;padding:8px 14px 10px;border-top:1px solid var(--line)}
.ai-input input{flex:1;min-height:44px;padding:0 12px;border-radius:11px;border:1px solid var(--line2);background:#0b1428;color:var(--ink);font-size:14px;font-family:inherit}
.ai-input input:focus{outline:none;border-color:rgba(255,107,0,.7)}
.ai-item{display:flex;align-items:center;gap:9px;padding:7px;border-radius:12px;border:1px solid var(--line2);
  background:#16213a;text-align:left;color:var(--ink)}
.ai-th{width:46px;height:40px;border-radius:8px;overflow:hidden;flex:0 0 auto;background:#0d1730;display:grid;place-items:center;font-size:11px;color:var(--ink3)}
.ai-th img{width:100%;height:100%;object-fit:cover}
.ai-bd{display:flex;flex-direction:column;gap:1px;min-width:0}
.ai-bd b{font-size:12.5px;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ai-bd span{font-size:11px;color:var(--ink3)}
.inbox{display:flex;flex-direction:column;gap:8px}
.iq{padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#16213a}
.iq b{font-size:12px;color:var(--acc2)}
.iq pre{margin:4px 0 0;font-family:inherit;font-size:12px;color:var(--ink2);white-space:pre-wrap;line-height:1.5}
.iq span{display:block;margin-top:5px;font-size:10.5px;color:var(--ink3)}

/* ---------- 토스트 ---------- */
#toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%,14px);
  max-width:88vw;padding:11px 15px;border-radius:12px;background:rgba(20,31,56,.98);border:1px solid var(--line2);
  color:var(--ink);font-size:12.5px;font-weight:700;line-height:1.45;opacity:0;pointer-events:none;transition:.22s;z-index:120;text-align:center}
#toast.on{opacity:1;transform:translate(-50%,0)}

/* ==========================================================================
   250번 — 직인 도장 QR · 전화번호 상단 노출 · 4버튼(명함저장)
   ========================================================================== */
/* 명함 위 도장 — 오른쪽 위, 흰 바탕이라 스캔 여백이 산다 */
.biz-stamp{position:absolute;right:8px;top:8px;z-index:3;padding:0;border:0;background:none;
  display:block;line-height:0;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.45))}
.biz-stamp canvas{display:block;height:auto}
.biz-stamp .seal-lbl{position:absolute;left:50%;bottom:-13px;transform:translateX(-50%);
  font-size:8.5px;font-weight:900;letter-spacing:1px;color:#e2ba7a;line-height:1}
.biz-stamp:active{transform:scale(.97)}
.biz .who{padding-right:96px}
.biz.nophoto .who{padding-right:96px}
/* 전화번호 — 버튼을 누르지 않아도 바로 보이게 */
.biz-tel{display:inline-block;margin-top:5px;font-size:16.5px;font-weight:900;letter-spacing:.4px;
  color:#ffffff;text-decoration:none;line-height:1.15;font-variant-numeric:tabular-nums;
  border-bottom:1px solid rgba(226,186,122,.5);padding-bottom:1px}
.biz-tel em{font-style:normal;font-size:12px;font-weight:800;color:#f2d8a8;border:0}
.biz.nophoto .biz-tel{font-size:18px;margin-top:6px}
.biz-row{position:relative;z-index:1;display:flex;gap:11px;align-items:flex-start}
/* 역할·인사말은 남색 바탕에서도 또렷하게(흐린 회색 금지) */
.biz .who .role{color:#dbe4f2;font-weight:700}
.biz .medals .edge{color:#efdfbd}
.biz .intro{color:#dfe7f3}
/* 4번째 버튼 = 명함저장 */
.pact.save{border-color:rgba(226,186,122,.55);background:rgba(226,186,122,.14);color:#ffe3b0}
/* 바탕화면 — 작은 줄 하나로(설치했으면 아예 안 뜬다) */
.inst-row{display:flex;align-items:center;gap:7px;margin:7px 1px 0;position:relative;z-index:1;flex-wrap:wrap}
.inst-mini{display:inline-flex;align-items:center;gap:3px;height:26px;padding:0 9px;border-radius:8px;
  border:1px dashed rgba(226,186,122,.5);background:rgba(226,186,122,.07);color:#edd4a5;
  font-size:10px;font-weight:900;text-decoration:none}
.inst-mini svg{width:11px;height:11px}
.inst-row .inst-tip{margin:0;font-size:10px;color:#cbb68f;gap:3px;flex:1;min-width:0}
.inst-row .inst-tip svg{width:10px;height:10px}

/* 직인 크게 보기 */
#sealBox{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:16px;
  background:rgba(4,8,18,.78);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
#sealBox[hidden]{display:none}
.seal-card{width:100%;max-width:390px;background:#101a31;border:1px solid var(--line2);border-radius:18px;
  padding:12px 14px calc(14px + env(safe-area-inset-bottom));animation:up .2s ease}
.seal-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.seal-h b{font-size:14px;letter-spacing:-.3px;color:#eef3fb}
.seal-stage{display:grid;place-items:center;background:#fff;border-radius:14px;padding:12px;min-height:200px}
.seal-stage canvas{display:block;max-width:100%;height:auto}
.seal-note{margin:9px 2px 11px;font-size:11.5px;line-height:1.5;color:#c7d2e4;text-align:center}
.seal-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.seal-acts .btn.sm{min-height:44px;font-size:13px}

/* 고치기 — 직인 모양 고르기 */
.seal-set{margin-top:12px;padding:12px;border:1px solid var(--line2);border-radius:14px;background:#16213a}
.ss-h{display:flex;align-items:baseline;gap:7px;margin-bottom:9px}
.ss-h b{font-size:13px;color:#eef3fb;letter-spacing:-.3px}
.ss-h em{font-style:normal;font-size:10.5px;color:#c7d2e4}
.seal-shapes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.ss-btn{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:64px;justify-content:center;
  border:1px solid var(--line2);border-radius:11px;background:#0f1a31;color:#cfd9e8;font-size:11.5px;font-weight:800}
.ss-btn.on{border-color:rgba(226,186,122,.85);background:rgba(226,186,122,.13);color:#ffe3b0}
.ss-ico{width:26px;height:26px;border:2px solid currentColor;display:block}
.ss-ico.circle{border-radius:50%}
.ss-ico.square{border-radius:5px}
.ss-ico.oval{width:22px;height:30px;border-radius:50%}
.seal-prev{display:grid;place-items:center;margin-top:10px;background:#fff;border-radius:12px;padding:10px;min-height:150px}
.seal-prev canvas{display:block;max-width:100%;height:auto}
.seal-kind{display:flex;flex-direction:column;gap:5px;margin-top:10px;font-size:11.5px;color:#c7d2e4}
.seal-kind select{min-height:44px;border-radius:9px;border:1px solid var(--line2);background:#0b1428;
  color:var(--ink);font:inherit;font-size:13px;padding:0 10px}

/* ==========================================================================
   265·280·281·282·283·284번 — 명함 서열 · 손님 화면 분리 · 지도 4종 · 물건표
   ========================================================================== */
/* 명함 — 상호가 가장 크게, 그 아래 「직책 이름」 */
.biz{padding:14px 13px 12px}
.biz-top{position:relative;z-index:1;display:flex;gap:11px;align-items:flex-start}
.biz .av{width:70px;height:88px}
.biz .who{flex:1;min-width:0;padding-right:88px}
.biz .co{font-size:19px;font-weight:900;letter-spacing:-.5px;line-height:1.22;color:#fff;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.biz .nm{margin-top:3px;font-size:15px;line-height:1.3;color:#e8eef8;font-weight:800}
.biz .nm em{font-style:normal;font-size:12.5px;font-weight:800;color:#f2d8a8;margin-right:4px}
.biz .nm b{font-size:17px;font-weight:900;letter-spacing:.2px}
.biz .who .role{display:inline-block;margin-top:5px;font-size:10.5px;font-weight:800;color:#f2d8a8;
  padding:2px 8px;border-radius:999px;background:rgba(226,186,122,.13);border:1px solid rgba(226,186,122,.45)}
.biz.nophoto .who{padding-right:88px}
.biz.nophoto .co{font-size:23px}

.clines{margin-top:9px;position:relative;z-index:1;display:flex;flex-direction:column;gap:3px}
.cline{display:flex;align-items:center;gap:8px;text-decoration:none;color:#dbe4f2;font-size:12.5px;font-weight:700;min-width:0}
.cline svg{width:13px;height:13px;flex:0 0 auto;color:#c9a063}
.cline span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cline i{font-style:normal;font-size:9px;font-weight:900;color:#8fa2b8;letter-spacing:.5px}
.cline.tel{margin-bottom:2px}
.cline.tel b{font-size:17px;font-weight:900;letter-spacing:.3px;color:#fff;font-variant-numeric:tabular-nums}
.edge-line{display:flex;align-items:center;gap:6px;margin-top:8px;position:relative;z-index:1;
  font-size:11px;font-weight:700;color:#efdfbd}
.edge-line svg{width:12px;height:12px;color:#ffc53d;flex:0 0 auto}
.edge-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biz.guest .pact.save{border-color:#ffd27a;background:linear-gradient(180deg,#ffcf7a,#f0b455);color:#2a1a00}
.biz-acts{margin-top:10px}
.pact.out{border-color:rgba(122,255,180,.4);background:rgba(34,197,94,.14);color:#8ff0b4}
.pact.img{border-color:rgba(226,186,122,.5);background:rgba(226,186,122,.12);color:#ffe3b0}
.pact.edit{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.06)}
/* 알림 숫자는 글자를 밀지 않고 오른쪽 위에 얹는다(문의 글자가 가운데에서 안 흔들리게) */
.pact .cnt{position:absolute;top:-6px;right:-5px;min-width:15px;height:15px;border-radius:999px;
  background:var(--acc);color:#141414;font-family:inherit;line-height:15px;
  font-size:9.5px;font-style:normal;font-weight:900;display:block;text-align:center;padding:0 3px;margin:0;
  box-shadow:0 0 0 1.5px #0A1725}

.biz-tools{display:flex;align-items:center;gap:10px;margin:7px 3px 0}
.biz-tools .wm{margin-right:auto;font-size:9px;font-weight:900;letter-spacing:.3px;color:#71829f}
.biz-tools .wm i{font-style:normal;color:#c6a054}
.biz-tools .tl{font-size:11px;font-weight:800;color:#a9b8cd;text-decoration:none}
.biz-tools .tl i{font-style:normal;color:var(--acc2)}

/* 손님 화면 — 주인 도구·탭 전부 감춤 */
body.guestmode #bnav,body.guestmode .hd{display:none}
body.guestmode #app{padding-bottom:24px}
body.guestmode #toast{bottom:24px}
.guest-item{display:flex;flex-direction:column;gap:2px;margin-top:12px;padding:13px 14px;text-decoration:none;
  border-radius:14px;border:1px solid rgba(255,122,0,.45);background:linear-gradient(150deg,rgba(255,122,0,.16),rgba(255,122,0,.05))}
.guest-item .gi-t{font-size:10.5px;font-weight:900;color:#ffb877;letter-spacing:.3px}
.guest-item b{font-size:15.5px;font-weight:900;color:#fff;letter-spacing:-.4px}
.guest-item .gi-a{font-size:11.5px;color:#c7d2e4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guest-item .gi-p{font-size:19px;font-weight:900;color:#ffb877;margin-top:3px}
.guest-item i{font-style:normal;font-size:10.5px;color:#9fb0c8;margin-top:2px}

/* 사진 — 대표 크게 + 보조 썸네일(282번) */
.hero2{position:relative;margin-top:2px}
.hero2 .hmain{position:relative;border-radius:16px;overflow:hidden;background:#0e1830;border:1px solid var(--line)}
.hero2 .hmain img{width:100%;height:210px;object-fit:cover;display:block}
.hero2 .noimg{height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--ink3);font-size:12px}
.hero2 .noimg svg{width:30px;height:30px}
.hero2 .tagmap{position:absolute;left:9px;bottom:9px;font-style:normal;font-size:10px;font-weight:800;
  background:rgba(11,19,43,.82);color:#cfd9e8;padding:4px 7px;border-radius:7px;border:1px solid rgba(255,255,255,.12)}
.hero2 .photo-add{position:absolute;right:9px;bottom:9px;display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:0 10px;
  border-radius:9px;border:1px solid rgba(255,255,255,.2);background:rgba(11,19,43,.8);color:#e8eef8;font-size:11.5px;font-weight:800}
.hero2 .photo-add svg{width:13px;height:13px}
.hthumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:6px}
.hth{padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:var(--panel2);height:56px}
.hth img{width:100%;height:100%;object-fit:cover;display:block}
.hth.on{border-color:var(--acc2)}

/* 지도 4종 선택(280번) */
.mapbox{margin-top:10px;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:8px}
.mswitch{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;background:#0d1730;border-radius:10px;padding:3px}
.mswitch button{min-height:34px;padding:0 2px;border:0;border-radius:8px;background:none;color:var(--ink3);font-size:12px;font-weight:800}
.mswitch button.on{background:var(--panel2);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.06) inset}
.mstage{margin-top:7px;border-radius:10px;overflow:hidden;background:#0b1428;min-height:170px;display:grid;place-items:center}
.mstage img{width:100%;height:auto;display:block}
.mstage canvas{display:block;width:100%;height:auto}
.mstage .mhint{color:var(--ink3);font-size:12px;padding:26px 14px;text-align:center}
.mnote{margin:6px 2px 0;font-size:10.5px;color:var(--ink3);line-height:1.4}

/* 가격 — 잔가 기본(284번) */
.price-big{margin-top:4px;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,107,0,.45);
  background:linear-gradient(150deg,rgba(255,107,0,.16),rgba(255,107,0,.04))}
.price-big span{display:block;font-size:11px;font-weight:900;color:#ffb877;letter-spacing:.3px}
.price-big b{display:block;margin-top:2px;font-size:29px;font-weight:900;letter-spacing:-1.4px;color:#fff;line-height:1.1}
.price-big em{display:block;font-style:normal;margin-top:4px;font-size:11px;color:#c7d2e4}
.pmode{display:flex;gap:5px;margin-top:7px}
.pmode button{flex:1;min-height:36px;border-radius:10px;border:1px solid var(--line2);background:rgba(255,255,255,.03);
  color:var(--ink3);font-size:12px;font-weight:800}
.pmode button.on{border-color:var(--acc2);background:rgba(255,107,0,.16);color:#ffd0a3}

/* 물건표 안내 */
.brief-cta{margin-top:12px;padding:12px 13px;border-radius:14px;border:1px solid rgba(226,186,122,.4);
  background:linear-gradient(150deg,rgba(226,186,122,.1),rgba(226,186,122,.02))}
.brief-cta .bc-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.brief-cta .bc-h b{font-size:14px;letter-spacing:-.4px;color:#f3e8d3}
.brief-cta .bc-h span{font-size:10.5px;color:#c6a054}
.brief-cta .bc-acts{display:grid;grid-template-columns:1.4fr 1fr;gap:7px}
.brief-cta .bc-acts .btn{min-height:42px}

/* 접기/펼치기 */
details.acc{margin-top:9px;border:1px solid var(--line);border-radius:13px;background:var(--panel);overflow:hidden}
details.acc>summary{display:flex;align-items:center;gap:8px;padding:13px 14px;cursor:pointer;list-style:none;font-size:13.5px;font-weight:900}
details.acc>summary::-webkit-details-marker{display:none}
details.acc>summary::after{content:"›";margin-left:auto;color:var(--ink3);font-size:17px;transform:rotate(90deg);transition:.2s}
details.acc[open]>summary::after{transform:rotate(-90deg)}
details.acc>summary span{margin-left:auto;font-size:11px;font-weight:700;color:var(--ink3)}
details.acc>summary span+::after{margin-left:6px}
details.acc>*:not(summary){margin-left:12px;margin-right:12px}
details.acc>*:not(summary):last-child{margin-bottom:12px}
details.acc .gongbu{margin-top:4px}

/* 실거래 */
.txlist{display:flex;flex-direction:column;gap:5px;margin-top:4px}
.txrow{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;background:#16213a;border:1px solid var(--line2)}
.txrow b{font-size:12.5px;font-weight:800;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.txrow span{font-size:10.5px;color:var(--ink3);white-space:nowrap}
.txrow em{font-style:normal;font-size:13px;font-weight:900;color:var(--acc2);white-space:nowrap}
.keyrow{display:flex;gap:6px;margin-top:8px}
.keyrow input{flex:1;min-height:42px;border-radius:10px;border:1px solid var(--line2);background:#0b1428;color:var(--ink);
  font:inherit;font-size:12.5px;padding:0 10px}

/* 고치기 — 항목 넣기/빼기 스위치 */
.sec-toggles{margin:8px 0 4px;padding:10px 11px;border-radius:11px;border:1px solid var(--line2);background:#0f1a31}
.sec-toggles b{display:block;font-size:11px;color:var(--ink3);font-weight:900;margin-bottom:6px}
.swrow{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:12.5px;color:var(--ink2)}
.swrow span{flex:1}
.swrow input{display:none}
.swrow i{width:38px;height:22px;border-radius:999px;background:#2a354e;position:relative;transition:.18s}
.swrow i::after{content:"";position:absolute;left:2px;top:2px;width:18px;height:18px;border-radius:50%;background:#8fa2b8;transition:.18s}
.swrow input:checked+i{background:rgba(255,107,0,.55)}
.swrow input:checked+i::after{left:18px;background:#fff}

/* AI 상담 말풍선(280번) */
.ai-bubble{position:fixed;right:14px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:55;
  display:inline-flex;align-items:center;gap:7px;padding:11px 16px 11px 13px;border:0;
  border-radius:22px 22px 22px 6px;background:linear-gradient(180deg,#ffdd75,#ffc53d);color:#2a1a00;
  font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.42);animation:bob 3s ease-in-out infinite}
.ai-bubble i{font-style:normal;font-size:15px}
@keyframes bob{50%{transform:translateY(-3px)}}
@media (max-width:429px){.ai-bubble{right:12px}}

/* 2열 폼 */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media (max-width:360px){.two-col{grid-template-columns:1fr}}

/* 아이콘 크기 고정 — wide·btn 안의 SVG 가 화면을 채우지 않게 */
#app svg{width:16px;height:16px;flex:0 0 auto}
#app .icob svg{width:18px;height:18px}
#app .pact svg{width:13px;height:13px}
#app .biz-stamp svg{width:auto;height:auto}
#app .big svg{width:19px;height:19px}
#app .gongbu svg{width:auto}
.hero2 .hmain.noimg-on{min-height:210px;background:repeating-linear-gradient(45deg,#0e1830 0 10px,#101c33 10px 20px)}
.hero2 .hmain.noimg-on::after{content:"지적항공도는 주소를 넣으면 자동으로 붙습니다";position:absolute;inset:0;display:grid;place-items:center;
  color:#71829b;font-size:12px;text-align:center;padding:0 20px}

/* 손님 화면 다듬기 */
body.guestmode .hd{display:none}
body.guestmode #app{padding-top:10px}
.biz .nm b{display:inline}
.biz .nm{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.guest-item{margin-top:12px}

/* 두 칸 폼이 화면 밖으로 밀리지 않게(390px 실측) */
.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.two-col>*{min-width:0}
.fl input{width:100%;min-width:0;box-sizing:border-box}

/* ==========================================================================
   2026-11-28 트랙3 — 293 아이콘 꽉 찬 컬러 · 298 손님 하단 버튼 순서 ·
   내보내기 두 갈래(이미지/짧은 주소) · QR 세 가지 격 · 별표 매물 썸네일 줄
   ========================================================================== */
/* 293번 — 아이콘 꽉 찬 컬러 통일(딥네이비 바탕 위 선명한 색 + 둥근 사각) */
.biz-acts .pact{height:33px;border-radius:10px;font-size:10.8px;gap:4px;border-width:1px}
.biz-acts .pact svg{width:14px;height:14px;stroke-width:0}
.pact.tel,body.guestmode .pact.tel{background:#17a35a;border-color:#17a35a;color:#fff}
.pact.sms,body.guestmode .pact.sms{background:#2f7de1;border-color:#2f7de1;color:#fff}
.pact.kakao{background:#fee500;border-color:#fee500;color:#2a2200}
.pact.save{background:linear-gradient(180deg,#ffd48a,#f0b455);border-color:#ffd48a;color:#2a1a00}
.pact.out{background:#e2762a;border-color:#e2762a;color:#fff}
.pact.img{background:linear-gradient(180deg,#f2c47c,#d69a3c);border-color:#e0b166;color:#2a1a00}
.pact.edit{background:#33455f;border-color:#41546f;color:#dbe6f4}
.pact.inst{border:1px dashed rgba(226,186,122,.6);background:rgba(226,186,122,.12);color:#ffe3b0}

/* QR 세 가지 격 고르기 */
.seal-styles{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0 4px}
.sl-btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 4px 8px;cursor:pointer;
  border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.04);color:#cfdaea;
  font-family:inherit}
.sl-btn b{font-size:11.5px;font-weight:900;letter-spacing:-.3px}
.sl-btn em{font-style:normal;font-size:9.5px;color:#8ea3bd}
.sl-btn.on{border-color:rgba(226,186,122,.85);background:rgba(226,186,122,.14);color:#ffe3b0}
.sl-btn.on em{color:#d8b98a}
.sl-ico{display:block;width:34px;height:34px;border-radius:9px;position:relative;background:#fff;border:1px solid rgba(255,255,255,.25)}
.sl-ico::after{content:"";position:absolute;left:50%;top:50%;width:15px;height:15px;transform:translate(-50%,-50%);
  background:conic-gradient(#10203a 25%,#fff 0 50%,#10203a 0 75%,#fff 0);background-size:50% 50%}
.sl-ico.seal{border-radius:50%;border:3px solid #b01b22}
.sl-ico.seal::after{background:conic-gradient(#b01b22 25%,#fff 0 50%,#b01b22 0 75%,#fff 0);background-size:50% 50%}
.sl-ico.gov{border:5px solid #10203a;border-radius:4px}
.sl-ico.gov::after{width:12px;height:12px;background:conic-gradient(#10203a 25%,#fff 0 50%,#10203a 0 75%,#fff 0);background-size:50% 50%}
.sl-ico.photo{border-radius:50%;border:2px solid #e2ba7a;background:radial-gradient(circle at 50% 42%,#f0c9a0 0 34%,#7d5a3a 60%,#10203a 100%)}
.sl-ico.photo::after{width:13px;height:13px;right:2px;left:auto;top:auto;bottom:2px;transform:none;border-radius:2px;background:#10203a}

/* 손님 — 별표 매물 사진 썸네일 줄 */
#gstrip{margin-top:6px}
#gstrip.scroll{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}
#gstrip.scroll .gcard{flex:0 0 118px;scroll-snap-align:start}
#gstrip .gth{height:78px}
#gstrip.scroll .gth{height:84px}
#gstrip .gcard:active{transform:scale(.985)}

/* 손님 — 화면 아래 버튼 순서 고정 [전화] → [문자] → [카톡] → [저장] (298번) */
.gbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;
  max-width:430px;margin:0 auto;padding:10px 10px calc(10px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(11,19,43,0),rgba(11,19,43,.94) 42%)}
.gbar .pact{height:46px;border-radius:12px;font-size:12px;font-weight:900;gap:5px;text-decoration:none}
.gbar .pact svg{width:17px;height:17px}
body.guestmode{padding-bottom:84px}
.shortwrap{padding-bottom:92px}

/* 내보내기 시트 — ① 이미지 ② 짧은 주소 */
.exwrap{position:fixed;inset:0;z-index:120;background:rgba(5,9,18,.72);display:flex;align-items:flex-end;justify-content:center;
  padding:12px;backdrop-filter:blur(3px)}
.exbox{width:100%;max-width:430px;background:#141f36;border:1px solid rgba(255,255,255,.14);border-radius:18px;
  padding:14px 14px calc(14px + env(safe-area-inset-bottom));color:#e8eef8;box-shadow:0 -20px 50px rgba(0,0,0,.5)}
.ex-h{display:flex;align-items:center;justify-content:space-between}
.ex-h b{font-size:16px;font-weight:900;letter-spacing:-.4px}
.ex-h .x{width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.08);color:#cfdaea;
  font-size:14px;font-weight:900;cursor:pointer}
.ex-sub{margin:6px 0 10px;font-size:12px;color:#9fb0c8}
.exo{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;margin-bottom:8px;cursor:pointer;
  border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#18253f;color:#e8eef8;font-family:inherit}
.exo:active{transform:translateY(1px)}
.exo>i{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:12px;background:#2f7de1;color:#fff}
.exo.short>i{background:#17a35a}
.exo i svg{width:20px;height:20px}
.exo b{display:block;font-size:14px;font-weight:900;letter-spacing:-.3px;color:#fff}
.exo em{display:block;margin-top:2px;font-style:normal;font-size:11.5px;color:#9fb0c8;line-height:1.35}
.ex-out{margin-top:2px}
.ex-wait{margin:8px 0 2px;font-size:12.5px;color:#cfdaea;display:flex;align-items:center;gap:8px}
.ex-wait i{width:16px;height:16px;border:2px solid rgba(255,184,119,.35);border-top-color:#ffb877;border-radius:50%;
  animation:expin 1s linear infinite}
@keyframes expin{to{transform:rotate(360deg)}}
.ex-err{margin:8px 0;font-size:12.5px;color:#ffb4a4;line-height:1.5}
.ex-done{margin-top:6px;padding:12px;border-radius:13px;background:rgba(23,163,90,.14);border:1px solid rgba(23,163,90,.45)}
.ex-done span{display:block;font-size:10.5px;font-weight:900;color:#8ff0b4;letter-spacing:.3px}
.ex-done b{display:block;margin-top:3px;font-size:19px;font-weight:900;color:#fff;letter-spacing:-.4px;word-break:break-all}
.ex-row{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.ex-row .btn{flex:1 1 30%}
.ex-note{margin:10px 0 0;font-size:11px;color:#8ea3bd;line-height:1.5}
/* 302수리C — 내 이름으로 주소 정하기 */
.ex-slug{margin:2px 0 10px;padding:11px 12px;border-radius:13px;background:rgba(255,122,0,.08);border:1px solid rgba(255,122,0,.34)}
.ex-slug-h{display:flex;align-items:baseline;gap:7px;margin-bottom:8px}
.ex-slug-h b{font-size:12.5px;font-weight:900;color:#ffd9b3}
.ex-slug-h span{font-size:10.5px;color:#b8a48f}
.ex-slug-in{display:flex;align-items:center;gap:6px;background:#0b1526;border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:5px 6px 5px 10px}
.ex-slug-in .host{font-size:11px;color:#8ea3bd;white-space:nowrap}
.ex-slug-in input{flex:1;min-width:0;height:32px;border:0;background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:800;letter-spacing:-.2px;outline:none}
.ex-slug-in input::placeholder{color:#5d6f88;font-weight:700}
.ex-slug-in .btn.sm{min-height:32px;padding:0 11px;white-space:nowrap}
.ex-slug-note{margin:7px 0 0;font-size:10.8px;color:#9fb0c8;line-height:1.45;word-break:break-all}
.ex-slug-note.good{color:#8ff0b4}
.ex-slug-note.bad{color:#ff9d8a}

/* ==========================================================================
   2026-11-28 트랙3 — 304번 수리
   ① 그림(사진)을 명함의 주인공으로 크게 — 위를 꽉 채우는 히어로 사진
   ② 도장(직인) 장식 제거 · QR 테두리 제거 — 깔끔 QR만 카드 코너 맨 구석에
   ========================================================================== */
/* 명함 판 — 히어로 사진이 테두리까지 닿게 안쪽 여백을 0으로 */
.biz{padding:0;border-radius:16px}
.biz .biz-hero{position:relative;height:250px;overflow:hidden;background:#16233d;z-index:0}
.biz .biz-hero .hero-img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 16%;
  filter:saturate(1.05) contrast(1.02)}
.biz .biz-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(16,26,49,0) 34%,rgba(16,26,49,.34) 58%,rgba(17,27,48,.86) 84%,#141f36 100%)}
/* 사진이 없을 때 — 이름 첫 글자를 크게 깔아 빈 칸 없이 */
.biz .biz-hero .hero-mono{position:absolute;left:50%;top:32%;transform:translate(-50%,-50%);
  font-size:62px;font-weight:900;line-height:1;letter-spacing:-1px;color:rgba(226,186,122,.16);
  text-shadow:0 8px 26px rgba(0,0,0,.35)}
.biz .hero-cap{position:absolute;left:15px;right:15px;bottom:12px;z-index:3}
.biz .hero-cap .co{font-size:21.5px;font-weight:900;letter-spacing:-.5px;line-height:1.2;color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.55);
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.biz .hero-cap .nm{margin-top:4px;display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;
  font-size:15px;line-height:1.25;color:#eef3fb;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.biz .hero-cap .nm em{font-style:normal;font-size:12.5px;font-weight:800;color:#f2d8a8}
.biz .hero-cap .nm b{font-size:19px;font-weight:900;letter-spacing:.2px;color:#fff}
.biz .hero-cap .role{display:inline-block;margin-top:6px;font-size:10.5px;font-weight:800;color:#ffe3b0;
  padding:2.5px 9px;border-radius:999px;background:rgba(226,186,122,.20);border:1px solid rgba(226,186,122,.55);
  backdrop-filter:blur(2px)}
/* QR — 테두리·도장 없이 흰 바탕만, 카드 오른쪽 위 모서리에 딱 붙여 */
.biz .biz-qr{position:absolute;right:0;top:0;z-index:6;display:block;line-height:0;
  width:94px;height:94px;padding:9px;margin:0;border:0;border-bottom-left-radius:13px;
  background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.26)}
.biz .biz-qr canvas{display:block;width:76px !important;height:76px !important;background:#fff}
.biz .biz-qr:active{transform:scale(.97)}
/* 연락·소개 — 사진 아래 남색 판 */
.biz .biz-body{padding:12px 14px 13px;position:relative;z-index:1}
.biz .biz-body .clines{margin-top:0}
.biz.nophoto .biz-hero{height:196px;background:linear-gradient(150deg,#2b3f66 0%,#1b2949 52%,#121d36 100%)}
.biz.nophoto .hero-cap .co{font-size:24px}
.biz.nophoto .hero-cap .nm b{font-size:21px}
.biz.guest .biz-body .biz-acts{margin-top:11px}
/* 주인 화면 — 명함 아래 도구 줄과 간격 */
.biz + .biz-tools{margin-top:8px}
@media (max-width:359px){
  .biz .biz-hero{height:220px}
  .biz .biz-qr{width:84px;height:84px;padding:8px}
  .biz .biz-qr canvas{width:68px !important;height:68px !important}
}
/* 깔끔 QR 격 아이콘 — 테두리 없는 흰 판 위 QR */
.sl-ico.plain{border:0;background:#fff}
.sl-ico.plain::after{width:24px;height:24px;background:conic-gradient(#10203a 25%,#fff 0 50%,#10203a 0 75%,#fff 0);background-size:50% 50%}
/* QR 크게 보기 — 버튼이 하나일 때 꽉 차게 */
.seal-acts{grid-template-columns:1fr}

/* ==========================================================================
   2026-11-29 트랙4 — 309번(2차) · 전자명함 확정 구도
   ① 사진은 명함 면적의 15~20%만 — 왼쪽에 아담하게, 오른쪽·아래로 경계 없이 딥네이비 페이드
   ② 사진이 없는 사람은 세련된 건물 그림(img/bldg.jpg)이 기본
   ③ 명함 안 QR(바코드) 없음
   ④ 하단에 ★ 대표 매물 썸네일 목록 (세로형·PNG 저장에도)
   ========================================================================== */
.biz{
  padding:0;border-radius:22px;overflow:hidden;isolation:isolate;
  border:1px solid rgba(226,186,122,.22);
  background:#0A1725;
  box-shadow:0 20px 44px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.05)
}
.biz::before,.biz::after{display:none}

/* 머리 — 사진 42% 폭 × 250px = 카드 면적의 약 16%, 오른쪽에 상호·직책·이름 */
.biz .biz-head{position:relative;display:flex;align-items:stretch;min-height:250px}
.biz .biz-pic{position:relative;flex:0 0 42%;width:42%;height:250px;overflow:hidden;background:#0A1725}
.biz .biz-pic .pic-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:46% 24%;display:block;filter:saturate(1.04) contrast(1.03)}
/* 경계선 없는 페이드 — 사진 오른쪽·아래가 딥네이비로 스르륵 녹아든다 */
.biz .biz-pic .pic-wash{position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(10,23,37,0) 0%,rgba(10,23,37,0) 42%,rgba(10,23,37,.20) 62%,rgba(10,23,37,.62) 82%,rgba(10,23,37,.94) 96%,#0A1725 100%),
    linear-gradient(0deg,#0A1725 0%,rgba(10,23,37,.97) 12%,rgba(10,23,37,.70) 26%,rgba(10,23,37,.28) 42%,rgba(10,23,37,.04) 56%,rgba(10,23,37,0) 66%)}
.biz .biz-pic .pic-mark{position:absolute;left:14px;top:13px;z-index:3;
  font-size:9.5px;font-weight:900;letter-spacing:2.6px;color:rgba(255,255,255,.82);
  text-shadow:0 1px 8px rgba(0,0,0,.6)}
.biz .biz-pic .pic-mark::after{content:"";display:block;width:20px;height:1.5px;margin-top:4px;
  background:linear-gradient(90deg,rgba(226,186,122,.95),rgba(226,186,122,0))}

.biz .biz-cap{flex:1;min-width:0;padding:26px 14px 20px 12px;display:flex;flex-direction:column;justify-content:center}
.biz .biz-cap .co{font-size:20px;font-weight:900;letter-spacing:-.45px;line-height:1.28;color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.55);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.biz .biz-cap .nm{margin-top:7px;display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;
  font-size:12.5px;line-height:1.25;color:#dfe8f4;font-weight:800}
.biz .biz-cap .nm em{font-style:normal;font-size:11.5px;font-weight:800;color:#f2d8a8}
.biz .biz-cap .nm b{font-size:21px;font-weight:900;letter-spacing:.2px;color:#fff}
.biz .biz-cap .role{align-self:flex-start;margin-top:9px;font-size:10.5px;font-weight:800;color:#ffe3b0;
  padding:3px 9px;border-radius:999px;background:rgba(226,186,122,.15);border:1px solid rgba(226,186,122,.5)}

/* 본문 — 같은 딥네이비라 사진 페이드와 이음매가 없다 */
.biz .biz-body{padding:4px 18px 15px;background:#0A1725;position:relative;z-index:1}
.biz .biz-body .clines{margin-top:0}
.biz .clines{gap:5px}
.biz .cline{font-size:13px}
.biz .cline.tel b{font-size:21px;letter-spacing:.2px}
.biz .edge-line{margin-top:10px;font-size:11.5px}
.biz .intro{margin-top:7px;font-size:11.6px;line-height:1.6;color:#b9c7db}
.biz .biz-acts{margin-top:12px}

/* 하단 ★ 대표 매물 — 명함 안에서 한 덩어리로 */
.biz .biz-star{margin:11px 0 1px;padding:10px 10px 11px;border-radius:14px;
  border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035)}
.biz .bs-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.biz .bs-h b{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:900;letter-spacing:-.2px;color:#f3e8d3}
.biz .bs-h b i{font-style:normal;font-size:12px;color:#ffc53d}
.biz .bs-h span{font-size:10px;font-weight:800;color:#8fa2b8}
.biz .bs-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.biz .bs-c{display:flex;flex-direction:column;min-width:0;padding:4px 4px 6px;text-decoration:none;
  border-radius:10px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.045)}
.biz .bs-th{position:relative;display:block;height:58px;border-radius:7px;overflow:hidden;background:#152038}
.biz .bs-th img{width:100%;height:100%;object-fit:cover;display:block}
.biz .bs-th .ph{display:grid;place-items:center;width:100%;height:100%;font-size:11px;font-weight:900;color:#71829b;
  background:repeating-linear-gradient(45deg,#18233f 0 6px,#152038 6px 12px)}
.biz .bs-th .dm{position:absolute;left:3px;top:3px;font-style:normal;font-size:8.5px;font-weight:900;padding:1px 4px;
  border-radius:5px;background:rgba(11,19,43,.84);color:#ffd7a4;border:1px solid rgba(255,190,120,.35)}
.biz .bs-c b{display:block;margin-top:5px;font-size:10.6px;font-weight:900;letter-spacing:-.35px;line-height:1.25;
  color:#eef3fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.biz .bs-c em{display:block;font-style:normal;margin-top:1px;font-size:11px;font-weight:900;letter-spacing:-.3px;
  color:#ffb877;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.biz + .biz-tools{margin-top:9px}
@media (max-width:359px){
  .biz .biz-head{min-height:232px}
  .biz .biz-pic{height:232px}
  .biz .biz-cap .co{font-size:18.5px}
  .biz .biz-cap .nm b{font-size:19.5px}
  .biz .bs-th{height:52px}
}

/* ==========================================================================
   2026-11-30 트랙2 — 333번 확정: 전자명함은 무조건 **가로형**(일반 명함 90:50)
   ① 명함 종이는 가로 1.78:1 — 폰에서는 폭에 맞춰 그 비율 그대로
   ② 오른쪽 15~20%에 아담한 사진, 왼쪽·아래로 딥네이비에 경계 없이 페이드
   ③ 명함 안 QR 없음
   ④ 종이 바로 아래 ★ 대표 매물 썸네일 띠가 붙는다
   (글씨는 종이 폭에 맞춰 함께 줄고 는다 — 좁은 폰·넓은 화면 모두 같은 그림)
   ========================================================================== */
.biz{
  padding:0;border-radius:20px;overflow:hidden;isolation:isolate;
  border:1px solid rgba(226,186,122,.20);
  background:#0A1725;
  box-shadow:0 18px 40px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.05)
}
.biz::before,.biz::after{display:none}
.biz .biz-head,.biz .biz-body,.biz .biz-cap{display:block}

/* ---- 명함 종이 (가로) — 357·358 확정: 전체 덮개 + 좌상단 6분의2 창 ---- */
.biz .biz-paper{
  position:relative;width:100%;aspect-ratio:90/50.6;min-height:0;overflow:hidden;
  container-type:inline-size;border-radius:18px;
  background:#0A1725;border:1px solid rgba(226,186,122,.16)
}
/* 밑그림 — 건물 사진이 명함 전체에 깔린다 */
.biz .biz-paper .bp-photo{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:18px}
.biz .biz-paper .bp-card{position:absolute;inset:0;display:block;
  background-size:cover;background-position:44% 16%;background-repeat:no-repeat;
  filter:saturate(1.04) contrast(1.03)}
/* 덮개 — 전체를 덮고, 좌상단 6분의2 창만 밑그림을 그대로 보여 준다 */
.biz .biz-paper .bp-veil{position:absolute;inset:0;z-index:1;display:block;pointer-events:none;
  background:rgba(8,18,31,.90)}
.biz .biz-paper .bp-win{position:absolute;left:0;top:0;width:50%;height:63%;z-index:2;overflow:hidden;pointer-events:none;
  -webkit-mask-image:
    linear-gradient(90deg,#000 0%,#000 56%,rgba(0,0,0,.82) 74%,rgba(0,0,0,.46) 87%,rgba(0,0,0,.16) 95%,rgba(0,0,0,0) 100%),
    linear-gradient(180deg,#000 0%,#000 52%,rgba(0,0,0,.82) 72%,rgba(0,0,0,.46) 86%,rgba(0,0,0,.16) 95%,rgba(0,0,0,0) 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(90deg,#000 0%,#000 56%,rgba(0,0,0,.82) 74%,rgba(0,0,0,.46) 87%,rgba(0,0,0,.16) 95%,rgba(0,0,0,0) 100%),
    linear-gradient(180deg,#000 0%,#000 52%,rgba(0,0,0,.82) 72%,rgba(0,0,0,.46) 86%,rgba(0,0,0,.16) 95%,rgba(0,0,0,0) 100%);
  mask-composite:intersect}
.biz .biz-paper .bp-win .bp-card{position:absolute;left:0;top:0;width:200%;height:158.73%;display:block;
  background-size:cover;background-position:44% 16%;background-repeat:no-repeat;
  filter:saturate(1.06) contrast(1.04) brightness(1.10)}
/* 글 — 오른쪽 위에서부터: 상호 · 직책 이름 · 전화 · 팩스·메일 · 분야 */
.biz .biz-paper .bp-in{
  position:absolute;z-index:3;left:53.5%;right:3.6%;top:7.5%;bottom:7.5%;
  display:flex;flex-direction:column;justify-content:center;min-width:0
}
.biz .biz-paper .co{font-size:3.62cqw;font-weight:900;letter-spacing:-.45px;line-height:1.24;color:#fff;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:keep-all;text-wrap:balance}
.biz .biz-paper .nm{margin-top:1.6cqw;display:flex;align-items:baseline;gap:4px;flex-wrap:nowrap;min-width:0}
.biz .biz-paper .nm em{font-style:normal;font-size:2.75cqw;font-weight:800;color:#f2d8a8;white-space:nowrap;letter-spacing:-.2px}
.biz .biz-paper .nm b{font-size:5.3cqw;font-weight:900;letter-spacing:.1px;color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.biz .biz-paper .role{align-self:flex-start;margin-top:1.4cqw;font-size:2.35cqw;font-weight:800;color:#ffe3b0;
  padding:.5cqw 1.9cqw;border-radius:999px;background:rgba(226,186,122,.14);border:1px solid rgba(226,186,122,.46);
  max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.biz .biz-paper .clines{margin-top:2.2cqw;display:flex;flex-direction:column;gap:.55cqw;position:static}
.biz .biz-paper .cline{display:flex;align-items:center;gap:1.4cqw;font-size:2.72cqw;
  font-weight:700;color:#dbe4f2;min-width:0;line-height:1.35;text-decoration:none}
.biz .biz-paper .cline svg{width:2.9cqw;height:2.9cqw;flex:0 0 auto;color:#c9a063}
.biz .biz-paper .cline span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biz .biz-paper .cline.tel{margin:0}
.biz .biz-paper .cline.tel b{font-size:4.15cqw;font-weight:900;letter-spacing:.1px;color:#fff;
  font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 왼쪽 아래 — 창 밑에 주소 · 한 줄 강점 */
.biz .biz-paper .bp-bot{position:absolute;z-index:3;left:4.2%;right:52%;bottom:7.4%;min-width:0}
.biz .biz-paper .bp-addr{display:flex;align-items:flex-start;gap:1.2cqw;font-size:2.42cqw;font-weight:700;color:#c9d5e6;
  line-height:1.32;min-width:0}
.biz .biz-paper .bp-addr svg{width:2.6cqw;height:2.6cqw;flex:0 0 auto;color:#c9a063;margin-top:.3cqw}
.biz .biz-paper .bp-addr span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.biz .biz-paper .bp-pt{display:flex;align-items:center;gap:1.2cqw;margin-top:.9cqw;font-size:2.42cqw;font-weight:800;color:#efdfbd;min-width:0}
.biz .biz-paper .bp-pt svg{width:2.5cqw;height:2.5cqw;flex:0 0 auto;color:#ffc53d}
.biz .biz-paper .bp-pt span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---- 명함 종이 아래 ★ 대표 매물 띠 ---- */
.biz .biz-star{
  margin:9px 9px 0;padding:9px 9px 8px;border-radius:13px;
  border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035)
}
.biz .bs-h{margin-bottom:7px}
.biz .bs-h b{font-size:10.8px}
.biz .bs-h b i{font-size:11.5px}
.biz .bs-h span,.biz .bs-h .bs-more{font-size:9.5px;font-weight:800;color:#8fa2b8;text-decoration:none}
.biz .bs-h .bs-more{color:#ffb877}
.biz .bs-row{gap:6px}
.biz .bs-c{padding:3px 3px 5px;border-radius:9px}
.biz .bs-th{height:46px;border-radius:6px}
.biz .bs-c b{font-size:9.9px;margin-top:4px;letter-spacing:-.3px}
.biz .bs-c em{font-size:10.4px}

.biz .biz-acts{margin:10px 9px 10px}
@media (max-width:359px){
  .biz .biz-star{margin:8px 8px 0;padding:8px 8px 7px}
  .biz .bs-th{height:42px}
}

/* 345번 — 네 단추(내보내기·이미지 저장·고치기·문의) 폰트·높이·정렬 한 틀 */
.biz .biz-acts .pact{height:34px;font-size:10.9px;font-weight:900;letter-spacing:-.2px;
  display:flex;align-items:center;justify-content:center;gap:4px}
.biz .biz-acts .pact>span{font:inherit;line-height:1;display:inline-block}
.biz .biz-acts .pact svg{width:14px;height:14px}
.pact.inbox{background:#243351;border-color:#34455f;color:#dbe6f4}


/* ==========================================================================
   379번 (2026-12-02) — 명함 위 한 판에 **타원 구멍**을 뚫은 효과
   · 사각 창(6분의2)·덧판을 쓰지 않는다. 덮개(.bp-veil) 한 장이 명함 전체를 덮고,
     그 위에 밝은 창(.bp-win)을 **타원(11시 모서리까지)** 으로 얹어 경계만 넓게 녹인다.
   ========================================================================== */
.biz .biz-paper .bp-win{
  left:0;top:0;width:64%;height:92%;overflow:hidden;pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 64% 56% at 2% 2%,#000 0 58%,rgba(0,0,0,.5) 70%,rgba(0,0,0,.16) 78%,transparent 86%);
  mask-image:radial-gradient(ellipse 64% 56% at 2% 2%,#000 0 58%,rgba(0,0,0,.5) 70%,rgba(0,0,0,.16) 78%,transparent 86%);
  -webkit-mask-composite:source-over;mask-composite:add;
}
.biz .biz-paper .bp-win .bp-card{width:156.25%;height:108.7%;filter:saturate(1.06) contrast(1.04) brightness(1.12)}
/* 수정창 — 층별 임대차 줄바꿈 입력 */
.block.edit .fl.ta{display:block}
.block.edit .fl.ta textarea{width:100%;min-height:92px;margin-top:5px;padding:9px 11px;border-radius:10px;
  border:1px solid var(--line2);background:#0b1428;color:var(--ink);font:inherit;font-size:13px;line-height:1.55;resize:vertical}

/* ==========================================================================
   384번 (2026-12-03) — 배경 사진 전체 그라데이션
   · 사각 창(357)·타원 구멍(379)을 걷어 낸다. 사진(.bp-photo)이 명함 전체에 꽉 깔리고,
     덮개(.bp-veil) 한 장이 두 겹 그라데이션으로 글자 쪽(오른쪽 기둥·아래 줄)만 딥네이비로 스며든다.
   · PNG 저장(app.js VEIL)과 멈춤점이 같다 — 화면·저장 결과물 동일.
   ========================================================================== */
.biz .biz-paper .bp-win{display:none}
.biz .biz-paper .bp-card{filter:saturate(1.06) contrast(1.04) brightness(1.06)}
.biz .biz-paper .bp-veil{
  background:
    linear-gradient(90deg,rgba(10,23,37,0) 0%,rgba(10,23,37,0) 30%,rgba(10,23,37,.35) 40%,rgba(10,23,37,.78) 50%,rgba(10,23,37,.92) 58%,rgba(10,23,37,.95) 100%),
    linear-gradient(180deg,rgba(10,23,37,0) 0%,rgba(10,23,37,0) 46%,rgba(10,23,37,.45) 66%,rgba(10,23,37,.88) 86%,rgba(10,23,37,.96) 100%)}
/* 사진 밝은 쪽에 걸리는 아래 왼쪽 글은 그림자로 받쳐 읽히게 */
.biz .biz-paper .bp-bot{text-shadow:0 1px 3px rgba(5,12,22,.85)}
/* 390번 — 문자 넣기 화면 사진 첨부 칸 */
.np-box{margin-top:12px;padding:11px 12px 12px;border-radius:14px;border:1px dashed rgba(226,186,122,.38);background:rgba(255,255,255,.03)}
.np-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
.np-h b{font-size:13px;font-weight:900}
.np-h span{font-size:10.5px;color:var(--ink3);text-align:right}
.np-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.np-th,.np-add{position:relative;aspect-ratio:1/1;border-radius:10px;overflow:hidden}
.np-th{background:#0b1428;border:1px solid rgba(255,255,255,.1)}
.np-th img{width:100%;height:100%;object-fit:cover;display:block}
.np-th em{position:absolute;left:4px;top:4px;font-style:normal;font-size:9.5px;font-weight:900;color:#2a1500;background:#ffb44d;border-radius:5px;padding:1px 5px}
.np-th i{position:absolute;right:3px;top:3px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  font-style:normal;font-size:11px;font-weight:900;color:#fff;background:rgba(6,14,26,.78);cursor:pointer}
.np-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;
  border:1px dashed rgba(226,186,122,.55);color:#ffcf8a;font-size:11px;font-weight:800;background:rgba(226,186,122,.06)}
.np-add svg{width:18px;height:18px}
.np-add input{position:absolute;inset:0;opacity:0;cursor:pointer}
