/* ==========================================================
   License Manager — 폰CRM 관리자 룩 위에 얹는 라이센스 전용 부품
   (색·라운드·그림자·폰트는 admin.css 토큰 그대로 사용)
   ========================================================== */
.menu a{position:relative}
.menu .mbadge{margin-left:auto;font-family:var(--num);font-weight:600;font-size:12px;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--blue);color:#fff;display:inline-grid;place-items:center}
.menu .mbadge.red{background:var(--red)}
.menu a.on .mbadge{background:#fff;color:var(--blue)}
@media (max-width:1439px) and (min-width:1024px){.shell:not(.side-rail) .menu .mbadge{position:absolute;top:6px;right:10px;min-width:9px;width:9px;height:9px;padding:0;font-size:0}}
.live-dot{width:9px;height:9px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 4px rgba(34,197,94,.22);display:inline-block}
.side-foot b.row{font-family:'Pretendard Variable',sans-serif;font-size:17px}

/* 라이센스 키 */
.lkey{font-family:var(--num);font-weight:600;letter-spacing:.02em;color:var(--ink);white-space:nowrap}
a.lkey:hover{color:var(--blue)}
.lkey-sub{display:block;font-size:13px;color:var(--ink-3);margin-top:2px;font-weight:500}
.tbl td .lkey{font-size:14px}
.pchip{display:inline-flex;align-items:center;gap:6px;font-family:var(--num);font-weight:600;font-size:13px;color:var(--ink-2);background:var(--tile);border-radius:999px;padding:4px 10px;white-space:nowrap}
.pchip i{width:8px;height:8px;border-radius:50%}
.dday{display:inline-flex;align-items:center;font-family:var(--num);font-weight:600;font-size:13px;padding:4px 10px;border-radius:999px;background:var(--tile);color:var(--ink-2);white-space:nowrap}
.dday.warn{background:var(--amber-l);color:var(--amber)}.dday.hot{background:var(--red-l);color:var(--red)}.dday.over{background:var(--red);color:#fff}.dday.inf{background:var(--blue-l);color:var(--blue);font-family:'Pretendard Variable',sans-serif}
.cell2 b{display:block;font-weight:600}.cell2 small{display:block;font-size:13px;color:var(--ink-3);margin-top:2px}
.mini-bar{display:flex;align-items:center;gap:8px}
.mini-bar .bar{margin:0}
.mini-bar .n{font-size:13.5px}
.fail{color:var(--red);font-weight:600}
.okc{color:var(--green);font-weight:600}
.modal-sub{font-size:14.5px;color:var(--ink-2);margin-top:-8px}

/* 상세 히어로 */
.hero{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:22px 24px;display:flex;gap:20px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.hero .k{font-family:var(--num);font-weight:700;font-size:28px;letter-spacing:.02em;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hero .k .copy{width:36px;height:36px;border-radius:11px;background:var(--tile);color:var(--ink-2);display:grid;place-items:center}
.hero .k .copy .lucide{width:17px;height:17px}
.hero .meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:14.5px;color:var(--ink-2)}
.hero .meta .dotsep{width:4px;height:4px;border-radius:50%;background:#C5CCDA}
.hero .cust{margin-top:12px;display:flex;align-items:center;gap:10px;font-size:15px;color:var(--ink-2)}
.hero .cust b{color:var(--ink)}
.hero .acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.dropdown{position:relative}
.dropdown .menu-pop{position:absolute;right:0;top:48px;z-index:30;background:#fff;border-radius:16px;box-shadow:var(--shadow-2);padding:8px;min-width:210px;display:none;flex-direction:column;gap:2px}
.dropdown.open .menu-pop{display:flex}
.menu-pop button{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:11px;font-size:14.5px;font-weight:600;color:var(--ink);text-align:left}
.menu-pop button:hover{background:var(--tile)}
.menu-pop button .lucide{width:18px;height:18px;color:var(--ink-3)}
.menu-pop button.red{color:var(--red)}.menu-pop button.red .lucide{color:var(--red)}

/* 위험도 */
.risk{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:16px}
.risk.low{background:var(--green-l)}.risk.mid{background:var(--amber-l)}.risk.high{background:var(--red-l)}
.risk svg{flex:none}
.risk b{display:block;font-size:17px}
.risk p{font-size:14px;color:var(--ink-2);margin-top:2px}
.checks{display:flex;flex-direction:column}
.checks li{display:flex;align-items:center;gap:12px;padding:11px 2px;font-size:14.5px}
.checks li+li{border-top:1px solid var(--tile)}
.checks .ci{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;flex:none}
.checks .ci .lucide{width:16px;height:16px;stroke-width:2.6}
.checks .grow{font-weight:600}
.checks .v{font-family:var(--num);font-weight:600;font-size:13.5px;color:var(--ink-3)}
.checks .v.bad{color:var(--red)}

/* 도메인 추적 */
.dom{display:flex;flex-direction:column}
.dom li{display:flex;align-items:center;gap:12px;padding:10px 2px;font-size:14.5px}
.dom li+li{border-top:1px solid var(--tile)}
.dom .nm{flex:1;min-width:0;font-family:var(--num);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.dom .pb{width:90px;height:8px;border-radius:4px;background:#E8EDF7;overflow:hidden;flex:none}
.dom .pb i{display:block;height:100%;background:var(--blue);border-radius:4px}
.dom .n{font-family:var(--num);font-weight:600;font-size:13.5px;color:var(--ink-2);width:50px;text-align:right}
.lbl{font-size:13.5px;font-weight:700;color:var(--ink-3);margin:4px 0 -4px}
.lbl.red{color:var(--red)}

/* 결제 타임라인 */
.ptl{display:flex;flex-direction:column}
.ptl li{display:flex;align-items:center;gap:12px;padding:11px 2px;font-size:14.5px}
.ptl li+li{border-top:1px solid var(--tile)}
.ptl .pd{width:12px;height:12px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px var(--green-l);flex:none}
.ptl li.future .pd{background:#fff;box-shadow:inset 0 0 0 2px #C5CCDA}
.ptl li.future{color:var(--ink-3)}
.ptl .grow b{display:block;font-weight:600}.ptl .grow small{font-size:13px;color:var(--ink-3)}
.ptl .amt{font-family:var(--num);font-weight:600}
.sumbox{display:flex;justify-content:space-between;align-items:center;background:var(--blue-l);border-radius:14px;padding:14px 16px;color:#2B4C98;font-weight:600;font-size:14.5px}
.sumbox b{font-family:var(--num);font-size:22px;color:var(--blue)}

/* 정보 표 (라벨:값) */
.info{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.info>div{background:var(--tile);border-radius:14px;padding:12px 14px;min-width:0}
.info small{display:block;font-size:13px;font-weight:600;color:var(--ink-3);margin-bottom:3px}
.info b{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.info .wide{grid-column:1/-1}
.taglist{display:flex;gap:6px;flex-wrap:wrap}
.tagx{display:inline-flex;align-items:center;gap:6px;background:var(--blue-l);color:var(--blue);border-radius:999px;padding:6px 8px 6px 12px;font-size:13.5px;font-weight:600}
.tagx.mono{font-family:var(--num)}
.tagx button{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:var(--blue);background:rgba(37,99,235,.12)}
.tagx button .lucide{width:12px;height:12px;stroke-width:3}
.tagx.add{background:var(--tile);color:var(--ink-2);padding:6px 12px;cursor:pointer}

/* 태그 입력 */
.taginp{min-height:48px;border-radius:12px;background:var(--tile);padding:7px 10px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;cursor:text}
.taginp:focus-within{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.taginp input{flex:1;min-width:150px;height:32px;outline:none;font-size:15px}
.taginp input::placeholder{color:#A6AEBD}

/* 복사 박스 / 코드 */
.copybox{display:flex;align-items:center;gap:10px;background:var(--tile);border-radius:14px;padding:14px 16px}
.copybox code{flex:1;min-width:0;font-family:var(--num);font-weight:600;font-size:18px;letter-spacing:.03em;overflow-wrap:anywhere}
.copybox.secret code{font-size:13.5px;font-weight:500;letter-spacing:0;line-height:1.6;color:var(--ink-2);font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace}
.copybox.big code{font-size:24px;color:var(--blue)}
.copybox .btn{flex:none}
.codeblock{background:var(--navy);color:#C9D5F0;border-radius:16px;padding:16px 18px;font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;font-size:13.5px;line-height:1.7;overflow:auto;white-space:pre}
.codeblock .c{color:#7F8FB3}.codeblock .s{color:#8FE3B0}.codeblock .k{color:#9DB8FF}

/* 칩 선택 (폼 안) */
.pick{display:flex;gap:8px;flex-wrap:wrap}
.pick button{height:42px;padding:0 16px;border-radius:999px;background:var(--tile);font-size:14.5px;font-weight:600;color:var(--ink-2);display:inline-flex;align-items:center;gap:6px}
.pick button.on{background:var(--blue);color:#fff;box-shadow:0 6px 14px rgba(37,99,235,.25)}
.pick button .rec{font-size:12px;background:var(--amber-l);color:var(--amber);border-radius:999px;padding:2px 8px}
.pick button.on .rec{background:rgba(255,255,255,.22);color:#fff}
.pick button .sw{width:10px;height:10px;border-radius:50%}
.feats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.feat{display:flex;gap:12px;align-items:flex-start;background:var(--tile);border-radius:14px;padding:14px 16px;cursor:pointer}
.feat.on{background:var(--blue-l);box-shadow:inset 0 0 0 2px var(--blue)}
.feat .box{width:22px;height:22px;border-radius:7px;background:#DDE3EE;display:grid;place-items:center;color:#fff;flex:none;margin-top:1px}
.feat.on .box{background:var(--blue)}
.feat .box .lucide{width:14px;height:14px;stroke-width:3.5}
.feat b{display:block;font-size:15px}.feat p{font-size:13.5px;color:var(--ink-2);margin-top:2px;line-height:1.45}
.custpick{display:flex;align-items:center;gap:12px;background:var(--blue-l);border-radius:14px;padding:12px 14px}
.custpick .grow b{display:block;font-size:15.5px}.custpick .grow small{font-size:13.5px;color:var(--ink-2)}
.dd{position:relative}
.dd-list{position:absolute;left:0;right:0;top:52px;background:#fff;border-radius:16px;box-shadow:var(--shadow-2);padding:6px;z-index:20;display:none}
.dd.open .dd-list{display:block}
.dd-list button{display:flex;width:100%;align-items:center;gap:10px;padding:10px 12px;border-radius:11px;text-align:left}
.dd-list button:hover{background:var(--tile)}
.dd-list b{display:block;font-size:15px}.dd-list small{font-size:13px;color:var(--ink-3)}

/* 발급 미리보기 */
.pv{position:sticky;top:84px}
.pv .copybox{justify-content:center;background:var(--blue-l)}
.pv .copybox code{text-align:center;color:var(--blue);font-size:19px}
.pv .regen{font-size:14px;font-weight:600;color:var(--blue);display:inline-flex;align-items:center;gap:5px;align-self:center}
.pv .regen .lucide{width:15px;height:15px}
.pvrow{display:flex;justify-content:space-between;align-items:center;font-size:14.5px;padding:8px 0}
.pvrow+.pvrow{border-top:1px solid var(--tile)}
.pvrow span{color:var(--ink-2)}.pvrow b{font-weight:600}
.cost{background:var(--navy);color:#fff;border-radius:16px;padding:16px 18px}
.cost small{font-size:13.5px;color:#9FB0D1;font-weight:600}
.cost b{display:block;font-family:var(--num);font-size:28px;margin-top:2px}
.cost b em{font-style:normal;font-size:14px;color:#9FB0D1;font-family:'Pretendard Variable',sans-serif;margin-left:4px}

/* 선택 일괄 처리 바 */
.selbar{position:sticky;bottom:16px;z-index:15;background:var(--navy);color:#fff;border-radius:18px;padding:12px 14px 12px 20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;box-shadow:var(--shadow-2)}
.selbar b{font-size:15.5px}.selbar b .num{color:#8FB0FF;font-size:18px}
.selbar .grow{flex:1}
.selbar .btn--w{box-shadow:none}
.selbar .seg{display:flex;background:var(--navy-2);border-radius:999px;padding:4px}
.selbar .seg button{height:34px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:700;color:#C4CEE3}
.selbar .seg button.on{background:#fff;color:var(--navy)}

/* 상태판 */
.stat-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none}
.sd-ok{background:var(--green);box-shadow:0 0 0 4px var(--green-l)}.sd-off{background:var(--red);box-shadow:0 0 0 4px var(--red-l)}.sd-warn{background:var(--amber);box-shadow:0 0 0 4px var(--amber-l)}.sd-none{background:#C5CCDA;box-shadow:0 0 0 4px #EEF1F6}
.site{display:flex;align-items:center;gap:12px}
.site b{display:block;font-family:var(--num);font-weight:600;font-size:14.5px}.site small{display:block;font-size:13px;color:var(--ink-3)}
.hours{display:flex;gap:2px;align-items:flex-end;height:26px;width:120px}
.hours i{flex:1;background:var(--green);border-radius:2px;opacity:.85}
.hours i.f{background:var(--red)}.hours i.z{background:#DCE2EE}

/* IP 랭킹 */
.iprank{display:flex;flex-direction:column;gap:8px}
.iprank li{display:flex;align-items:center;gap:12px;background:var(--tile);border-radius:14px;padding:12px 14px}
.iprank .grow{min-width:0}
.iprank .ip{font-family:var(--num);font-weight:600;font-size:15px}
.iprank small{display:block;font-size:13px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.iprank .cnt{font-family:var(--num);font-weight:700;font-size:20px;color:var(--red)}
.iprank .cnt small{display:inline;font-family:'Pretendard Variable',sans-serif;font-size:13px;color:var(--ink-3);font-weight:600;margin-left:2px}

/* 히트맵 */
.heat{display:grid;grid-template-columns:38px repeat(24,1fr);gap:4px;min-width:640px}
.heat span{height:24px;border-radius:6px;background:var(--blue)}
.heat .yl{background:none;font-size:13px;font-weight:600;color:var(--ink-2);display:flex;align-items:center}
.heat .xl{background:none;height:auto;font-family:var(--num);font-size:12px;color:var(--ink-3);text-align:center}
.heat-leg{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-3);justify-content:flex-end}
.heat-leg i{width:18px;height:12px;border-radius:4px;background:var(--blue)}

/* 분할 막대 */
.split{display:flex;height:14px;border-radius:7px;overflow:hidden;background:#E8EDF7}
.split i{display:block;height:100%}
.bigrate{display:flex;align-items:baseline;gap:10px}
.bigrate b{font-family:var(--num);font-size:44px;font-weight:700;color:var(--blue);line-height:1}
.bigrate span{font-size:15px;color:var(--ink-2);font-weight:600}

/* 흐름 안내 */
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.flow>div{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:16px 18px;display:flex;gap:12px;align-items:flex-start}
.flow .no{width:32px;height:32px;border-radius:50%;background:var(--blue-l);color:var(--blue);display:grid;place-items:center;font-family:var(--num);font-weight:700;flex:none}
.flow b{display:block;font-size:15.5px}.flow p{font-size:14px;color:var(--ink-2);margin-top:2px;line-height:1.5}

/* 안내 문구 */
.tpl-list{display:flex;flex-direction:column;gap:8px}
.tpl-list button{display:flex;align-items:center;gap:12px;text-align:left;background:var(--tile);border-radius:14px;padding:13px 14px}
.tpl-list button.on{background:var(--blue-l);box-shadow:inset 0 0 0 2px var(--blue)}
.tpl-list .ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none}
.tpl-list .ic .lucide{width:18px;height:18px}
.tpl-list b{display:block;font-size:15px}.tpl-list small{display:block;font-size:13px;color:var(--ink-2)}
.vars{display:flex;gap:6px;flex-wrap:wrap}
.vars button{padding:7px 12px;border-radius:999px;background:var(--violet-l);color:var(--violet);font-size:13.5px;font-weight:700}
.phone-prev{display:flex;flex-direction:column;gap:10px}
.phone-prev .bubble{white-space:pre-line}
.phone-prev .meta{font-size:12.5px;color:#8FA0C4;text-align:center}
.filled{white-space:pre-line;background:var(--tile);border-radius:14px;padding:14px 16px;font-size:15px;line-height:1.65}
.filled em{font-style:normal;background:var(--amber-l);color:#8E6110;border-radius:6px;padding:0 4px;font-weight:600}

/* 색상 스와치 */
.swatches{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.swatches button{width:34px;height:34px;border-radius:11px;position:relative}
.swatches button.on::after{content:'';position:absolute;inset:-4px;border-radius:14px;box-shadow:0 0 0 2px var(--ink)}

/* TOTP */
.otp{display:flex;gap:8px}
.otp input{width:48px;height:56px;border-radius:14px;background:var(--tile);text-align:center;font-family:var(--num);font-weight:600;font-size:22px}
.auth3-card .otp input{background:#243050;color:#fff}
.qr{width:150px;height:150px;border-radius:16px;background:
 repeating-conic-gradient(#101A30 0 25%,#fff 0 50%) 0 0/18px 18px;box-shadow:inset 0 0 0 10px #fff,0 0 0 1px var(--line);flex:none}

@media (max-width:1279px){.flow{grid-template-columns:1fr}.info{grid-template-columns:1fr 1fr}}
@media (max-width:1023px){.feats{grid-template-columns:1fr}.pv{position:static}}
@media (max-width:767px){
  .hero{padding:18px 16px;gap:14px}
  .hero .k{font-size:21px}
  .hero .acts{width:100%}
  .hero .acts>.btn{flex:1 1 calc(50% - 8px)}
  .hero .acts .dropdown{flex:1 1 calc(50% - 8px)}.hero .acts .dropdown>.btn{width:100%}
  .dropdown .menu-pop{left:0;right:auto;top:auto;bottom:48px}
  .info{grid-template-columns:1fr 1fr}
  .copybox{flex-wrap:wrap}.copybox .btn{width:100%}
  .copybox.big code{font-size:19px}
  .selbar{bottom:10px;padding:12px;gap:8px}.selbar .grow{display:none}.selbar .seg{width:100%;justify-content:space-between}.selbar .seg button{flex:1;padding:0 6px}.selbar>.btn{flex:1}
  .bigrate b{font-size:38px}
  .otp input{width:44px;height:52px}
  .hours{width:84px}
}
:root{--gray:#9AA3B2}
.note b{display:inline}.note b.nt{display:block}
.alist p b{display:inline;font-size:inherit}
.side-foot .live-dot{margin:0 2px 0 3px}
.who .av .lucide{display:block!important}
.rcard-ck{width:22px;height:22px;border-radius:7px;background:#E1E6EF;display:grid;place-items:center;color:#fff;flex:none;margin-top:2px;cursor:pointer}
.rcard-ck .lucide{width:14px;height:14px;stroke-width:3.5}
.rcard.picked{box-shadow:inset 0 0 0 2px var(--blue),var(--shadow)}
.rcard.picked .rcard-ck{background:var(--blue)}
.rcard-h:has(.rcard-ck){justify-content:flex-start}
.rcard-h:has(.rcard-ck) .rcard-t{flex:1}
.rcard-k .cell2 small{display:block;margin-top:4px}.rcard-k .cell2 b{font-size:18px}
.rcard-k .mini-bar .bar{display:none}
@media (max-width:767px){
  .hero .k{font-size:19px;flex-wrap:nowrap}
  .dom .pb{display:none}
  .flow{gap:8px}.flow>div{padding:12px 14px}.flow p{font-size:13.5px}
  .heat{min-width:560px}
}
.rcard-t .cell2 .lkey{font-size:16px;white-space:normal;overflow-wrap:anywhere}
.rcard-t>b .lkey{white-space:normal;overflow-wrap:anywhere}
.rcard-k .mini-bar .n{font-size:20px}
@media (max-width:767px){
  .alist li:has(>.btn){flex-wrap:wrap}
  .alist li:has(>.btn) .grow{flex-basis:calc(100% - 50px)}
  .alist li:has(>.btn) b,.alist li:has(>.btn) p{white-space:normal}
  .alist li>.btn{width:100%}
}
@media (max-width:767px){
  .rcard-k b{font-size:18px;white-space:normal;overflow-wrap:anywhere}
  .drawer .mini3{grid-template-columns:repeat(3,1fr)!important}
  .drawer .mini3>div{border-left:1px solid #E1E7F3!important}.drawer .mini3>div:first-child{border-left:0!important}
}
@media (max-width:767px){.rcard-k b{white-space:nowrap;overflow-wrap:normal}.rcard-k b .cell2 b,.rcard-k .cell2 small{white-space:nowrap}}
.toast.err .ok{background:var(--red)}
.btn.loading{opacity:.6;pointer-events:none}
.chips a{display:contents}
.pager a{display:contents}
tr[data-href]{cursor:pointer}
li[data-href]{cursor:pointer}
.rcard-k>div:first-child{flex:1.5 1 0}
.rcard-k>div{min-width:0;overflow:hidden}
