:root{--font:"Noto Sans KR", system-ui, -apple-system, "Malgun Gothic", sans-serif;--bg:#f3f4f6;--surface:#fff;--surface-alt:#f9fafb;--line:#e5e7eb;--line-strong:#d1d5db;--text:#1f2937;--text-strong:#111827;--text-muted:#4b5563;--text-faint:#6b7280;--primary:#3b82f6;--primary-text:#fff;--link:#2563eb;--dark:#1f2937;--neutral-btn:#6b7280;--extracted:#dc2626;--reflected:#16a34a;--fresh-row:#fef9c3;--dirty:#f59e0b;--radius:8px;--radius-lg:12px;--st-off-bg:#fff;--st-off-text:#6b7280;--st-off-line:#e5e7eb;--st-unused-bg:#e5e7eb;--st-unused-text:#111827;--st-unused-line:#6b7280;--st-used-bg:#fecaca;--st-used-text:#7f1d1d;--st-used-line:#ef4444;--st-busy-bg:#bbf7d0;--st-busy-text:#14532d;--st-busy-line:#22c55e;--st-no_answer-bg:#bbf7d0;--st-no_answer-text:#14532d;--st-no_answer-line:#22c55e;--st-prospect-bg:#fde68a;--st-prospect-text:#78350f;--st-prospect-line:#f59e0b;--st-contract-bg:#bfdbfe;--st-contract-text:#1e3a8a;--st-contract-line:#3b82f6;--series-exposed:#2a78d6;--series-consulted:#1baf7a;--series-prospect:#eda100;--series-contract:#6250d6;--board-head:#111827;--grid:#eef0f3;--tone-good-bg:#dcfce7;--tone-good-text:#166534;--tone-warn-bg:#fef3c7;--tone-warn-text:#92400e;--tone-bad-bg:#fee2e2;--tone-bad-text:#991b1b;--tone-muted-bg:#f3f4f6;--tone-muted-text:#4b5563;--danger:#dc2626}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font);margin:0;font-size:14px}button,input,select{font-family:inherit;font-size:inherit}.page{flex-direction:column;gap:16px;max-width:1680px;margin:0 auto;padding:16px 16px 48px;display:flex}.center{justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.card{background:var(--surface);border-radius:var(--radius-lg)}.narrow{flex-direction:column;gap:16px;width:100%;max-width:400px;padding:32px;display:flex}.title{color:var(--text-strong);margin:0;font-size:24px;font-weight:700}.subtitle{margin:0;font-size:18px;font-weight:700}.muted{color:var(--text-faint)}.muted-strong{color:var(--text-muted)}.small{font-size:13px}.error{color:var(--extracted);margin:0;font-weight:500}.row{align-items:center;display:flex}.wrap{flex-wrap:wrap}.between{justify-content:space-between}.end{justify-content:flex-end}.gap6{gap:6px}.gap8{gap:8px}.gap12{gap:12px}.gap16{gap:16px}.grow{flex:240px;min-width:180px}.field{flex-direction:column;gap:6px;font-weight:500;display:flex}.field input,.input{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);height:44px;color:var(--text);padding:0 12px}.btn{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);height:44px;color:var(--text);cursor:pointer;padding:0 16px}.btn:disabled{opacity:.5;cursor:default}.btn.small{border-color:var(--line-strong);height:32px;padding:0 12px;font-size:13px}.btn.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary);font-weight:700}.btn.neutral{background:var(--neutral-btn);color:#fff;border-color:var(--neutral-btn);font-weight:700}.btn.big{height:48px;font-size:16px}.btn.tab.on{background:var(--dark);color:#fff;border-color:var(--dark);font-weight:700}.btn.fieldbtn.on{background:var(--primary);color:var(--primary-text);border-color:var(--primary);font-weight:700}.btn.page{width:40px;height:40px;padding:0}.btn.page.on{background:var(--primary);color:var(--primary-text);border-color:var(--primary);font-weight:700}.btn:focus-visible,.st:focus-visible,.phone:focus-visible,.input:focus-visible,.switch:focus-visible,.map:focus-visible{outline-offset:1px;outline:3px solid #93c5fd}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.live{color:var(--text-faint);font-size:13px}.live.on{color:var(--reflected)}.header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;display:flex}.header-right{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.today{color:var(--link);margin:0;font-size:15px;font-weight:700}.controls{flex-direction:column;gap:14px;padding:20px 28px;display:flex}.switch{background:var(--line-strong);cursor:pointer;border:0;border-radius:15px;width:52px;height:30px;padding:4px;display:flex}.switch.on{background:var(--primary)}.knob{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s;box-shadow:0 1px 3px #0000004d}.switch.on .knob{transform:translate(22px)}.pending{color:#92400e;cursor:pointer;background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;height:44px;font-weight:700}.table-card{overflow:hidden}.scroll{overflow-x:auto}.table{min-width:1390px}.tr{background:var(--surface);border-bottom:1px solid #f3f4f6;align-items:center;column-gap:8px;padding:10px 16px;transition:background .6s;display:grid}.tr.th{background:var(--surface-alt);border-bottom-color:var(--line);color:var(--text-muted);padding:14px 16px;font-weight:700}.tr.fresh{background:var(--fresh-row)}.name{color:var(--text-strong);font-weight:500}.address{color:var(--text);line-height:1.5}.statuses{gap:3px;display:flex}.st{white-space:nowrap;border:1px solid var(--st-off-line);background:var(--st-off-bg);height:30px;color:var(--st-off-text);cursor:pointer;border-radius:6px;padding:0 7px;font-size:12px}.st.on{font-weight:700}.st-unused.on{background:var(--st-unused-bg);color:var(--st-unused-text);border-color:var(--st-unused-line)}.st-used.on{background:var(--st-used-bg);color:var(--st-used-text);border-color:var(--st-used-line)}.st-busy.on{background:var(--st-busy-bg);color:var(--st-busy-text);border-color:var(--st-busy-line)}.st-no_answer.on{background:var(--st-no_answer-bg);color:var(--st-no_answer-text);border-color:var(--st-no_answer-line)}.st-prospect.on{background:var(--st-prospect-bg);color:var(--st-prospect-text);border-color:var(--st-prospect-line)}.st-contract.on{background:var(--st-contract-bg);color:var(--st-contract-text);border-color:var(--st-contract-line)}.phones{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.phone{color:var(--link);cursor:pointer;text-align:left;background:0 0;border:0;padding:2px 0;font-weight:700}.phone:hover{text-decoration:underline}.map{justify-content:center;align-items:center;width:36px;height:36px;display:flex}.memo{width:100%;height:38px;font-size:13px}.memo.dirty{border-color:var(--dirty)}.extracted{color:var(--extracted);font-variant-numeric:tabular-nums}.reflected{color:var(--reflected);font-variant-numeric:tabular-nums}.empty{text-align:center;color:var(--text-faint);margin:0;padding:40px}.table-foot{background:var(--surface-alt);border-top:1px solid var(--line);padding:16px 20px}.toasts{z-index:20;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:fixed;bottom:20px;right:20px}.toast{background:var(--surface);border-left:4px solid var(--primary);color:var(--text-strong);border-radius:10px;align-items:center;gap:10px;padding:14px 18px;font-weight:700;display:flex;box-shadow:0 6px 20px #11182726}.toast.error{border-left-color:var(--extracted)}.backdrop{z-index:30;background:#11182766;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{flex-direction:column;gap:14px;width:100%;max-width:420px;padding:24px;display:flex}.logo{width:auto;height:48px;display:block}.login-logo{align-self:center;width:auto;height:72px;display:block}.board-head{background:var(--board-head);color:#fff;border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;display:flex}.board-head .title{color:#fff}.logo-chip{background:#fff;border-radius:8px;padding:4px 6px;display:flex}.logo-chip img{width:auto;height:40px;display:block}.board-user{color:#d1d5db;font-size:13px}.btn.ghost{color:#fff;background:0 0;border-color:#4b5563}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.kpi{border-left:4px solid var(--line-strong);flex-direction:column;gap:10px;padding:20px 22px;display:flex}.kpi-exposed{border-left-color:var(--series-exposed)}.kpi-consulted{border-left-color:var(--series-consulted)}.kpi-prospect{border-left-color:var(--series-prospect)}.kpi-contract{border-left-color:var(--series-contract)}.kpi-label{color:var(--text-muted);font-weight:500}.kpi-value{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:32px;font-weight:700}.board-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.panel{flex-direction:column;gap:14px;min-width:0;padding:20px 22px;display:flex}.panel-title{border-bottom:1px solid var(--line);color:var(--text-strong);flex-wrap:wrap;align-items:baseline;gap:8px;margin:0;padding-bottom:12px;font-size:16px;font-weight:700;display:flex}.bars{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.bar-row{grid-template-columns:56px 1fr 72px 48px;align-items:center;gap:10px;display:grid}.bar-label{color:var(--text);font-weight:500}.bar-track{background:var(--surface-alt);border-radius:4px;height:14px;overflow:hidden}.bar-fill{border-radius:0 4px 4px 0;min-width:0;height:100%;display:block}.fill-unused{background:var(--st-unused-line)}.fill-used{background:var(--st-used-line)}.fill-busy{background:var(--st-busy-line)}.fill-no_answer{background:var(--st-no_answer-line)}.fill-prospect{background:var(--st-prospect-line)}.fill-contract{background:var(--st-contract-line)}.bar-value{text-align:right;font-variant-numeric:tabular-nums;color:var(--text-strong)}.bar-pct{text-align:right;font-variant-numeric:tabular-nums;color:var(--text-faint);font-size:13px}.legend{color:var(--text-muted);flex-wrap:wrap;gap:14px;font-size:13px;display:flex}.legend-item,.tip span{align-items:center;gap:6px;display:inline-flex}.swatch{border-radius:2px;width:14px;height:3px;display:inline-block}.s-exposed{--c:var(--series-exposed)}.s-consulted{--c:var(--series-consulted)}.s-prospect{--c:var(--series-prospect)}.s-contract{--c:var(--series-contract)}.swatch{background:var(--c)}.chart-wrap{position:relative}.chart{touch-action:pan-y;width:100%;height:auto;display:block}.chart .grid{stroke:var(--grid);stroke-width:1px}.chart .axis{fill:var(--text-faint);font-variant-numeric:tabular-nums;font-size:11px}.chart .crosshair{stroke:var(--line-strong);stroke-width:1px}.chart .series polyline{fill:none;stroke:var(--c);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart .series circle{fill:var(--c);stroke:var(--surface);stroke-width:2px}.tip{background:var(--surface);border:1px solid var(--line);pointer-events:none;white-space:nowrap;color:var(--text);border-radius:8px;flex-direction:column;gap:3px;padding:8px 10px;font-size:12px;display:flex;position:absolute;top:4px;transform:translate(12px);box-shadow:0 4px 14px #1118271f}.tip.tip-left{transform:translate(calc(-100% - 12px))}.trend-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:12px}.trend-table th,.trend-table td{text-align:right;border-bottom:1px solid #f3f4f6;padding:4px 6px}.trend-table thead th{color:var(--text-faint);font-weight:500}.trend-table th[scope=row],.trend-table thead th:first-child{text-align:left;color:var(--text-muted);font-weight:500}.trend-table tr.on{background:var(--surface-alt)}.recent{margin:0;padding:0;list-style:none}.recent li{border-bottom:1px solid #f3f4f6;justify-content:space-between;align-items:center;gap:12px;padding:12px 6px;display:flex}.recent li:last-child{border-bottom:0}.recent-right{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.tag{border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.tag-contract{background:var(--st-contract-bg);color:var(--st-contract-text)}.tag-prospect{background:var(--st-prospect-bg);color:var(--st-prospect-text)}.empty-small{text-align:center;margin:0;padding:24px 0}.board-foot{text-align:center;margin:0}@media (width<=960px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.board-grid{grid-template-columns:1fr}}.notice{border-radius:10px;margin:0;padding:12px 16px;font-weight:500}.notice.ok{background:var(--tone-good-bg);color:var(--tone-good-text)}.notice.error{background:var(--tone-bad-bg);color:var(--tone-bad-text)}.notice.warn{background:var(--tone-warn-bg);color:var(--tone-warn-text)}.admin-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.small-field{min-width:160px;font-size:13px}.small-field.grow{flex:240px}select.input{height:44px}.input.slim{width:180px;height:32px;font-size:13px}.mono{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}.admin-table{border-collapse:collapse;width:100%}.admin-table th{text-align:left;color:var(--text-muted);background:var(--surface-alt);border-bottom:1px solid var(--line);white-space:nowrap;padding:10px 12px;font-weight:700}.admin-table td{vertical-align:middle;white-space:nowrap;border-bottom:1px solid #f3f4f6;padding:10px 12px}.admin-table td.wraptext{white-space:normal;min-width:200px}.tag{white-space:nowrap}.admin-table tr.inactive td{color:var(--text-faint)}.admin-table .numcell{text-align:right;font-variant-numeric:tabular-nums}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff;font-weight:700}.btn.tiny{border-color:var(--line-strong);height:26px;padding:0 8px;font-size:12px}.tag-admin{background:var(--st-contract-bg);color:var(--st-contract-text)}.tag-excluded{background:var(--tone-muted-bg);color:var(--tone-muted-text);font-weight:500}.badge{white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;display:inline-block}.tone-good{background:var(--tone-good-bg);color:var(--tone-good-text)}.tone-warn{background:var(--tone-warn-bg);color:var(--tone-warn-text)}.tone-bad{background:var(--tone-bad-bg);color:var(--tone-bad-text)}.tone-muted{background:var(--tone-muted-bg);color:var(--tone-muted-text)}.rule-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.subhead{color:var(--text-muted);margin:0 0 10px;font-size:14px;font-weight:700}.chips{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.chip{border:1px solid var(--line);background:var(--surface-alt);border-radius:999px;align-items:center;gap:10px;padding:6px 6px 6px 12px;display:inline-flex}.help{margin:0;line-height:1.6}code{background:var(--surface-alt);border-radius:4px;padding:1px 5px;font-family:ui-monospace,Menlo,monospace}@media (width<=760px){.rule-cols{grid-template-columns:1fr}}a.btn,label.btn{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.admin-table th.numcell{text-align:right}.tone-info{background:var(--st-contract-bg);color:var(--st-contract-text)}.tone-outline{background:var(--surface);color:var(--text-strong);box-shadow:inset 0 0 0 1.5px var(--line-strong)}.cmp-stats{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;display:grid}.cmp-stat{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-alt);flex-direction:column;gap:4px;padding:12px 14px;display:flex}.cmp-stat strong{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:24px;font-weight:700}.admin-table tr.on>td{background:var(--surface-alt)}.admin-table .small,.admin-table td.small{font-size:12px}.cmp-captures,.cmp-paste{flex-direction:column;gap:10px;display:flex}.paste-zone{border:1.5px dashed var(--line-strong);border-radius:var(--radius);min-height:36px;color:var(--text-muted);cursor:text;flex:260px;justify-content:center;align-items:center;padding:6px 12px;font-size:13px;display:flex}.paste-zone:focus{outline:2px solid var(--primary);outline-offset:2px;border-color:var(--primary)}.thumbs{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.thumbs li{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-alt);flex-direction:column;gap:6px;min-width:0;padding:6px;display:flex}.thumbs img{object-fit:cover;object-position:top;background:var(--surface);border-radius:4px;width:100%;height:110px;display:block}.thumb-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.paste-text{resize:vertical;width:100%;height:auto;min-height:120px;padding:10px 12px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.5}.paste-errors{background:var(--tone-bad-bg);color:var(--tone-bad-text);border-radius:var(--radius);flex-direction:column;gap:4px;margin:0 0 8px;padding:10px 14px 10px 28px;font-size:13px;display:flex}.sample-detail>td{background:var(--surface-alt);white-space:normal}.sample-box{flex-direction:column;gap:14px;padding:6px 4px;display:flex}.sample-box .admin-table{background:var(--surface)}.grow-input{flex:220px;width:auto}.plain-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.stat-text{font-size:18px!important}.cmp-stats.stats-wide{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.token-box{border-radius:var(--radius);background:var(--tone-warn-bg);color:var(--tone-warn-text);flex-direction:column;gap:8px;padding:14px 16px;display:flex}.token-box .token{background:var(--surface);color:var(--text-strong);word-break:break-all;-webkit-user-select:all;user-select:all;border-radius:6px;padding:8px 10px;display:block}.cfg{white-space:nowrap;margin-right:10px;display:inline-block}.cfg.own{color:var(--text-strong);font-weight:700}.area-pick{border:0;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0;padding:0;display:flex}.area-pick legend{margin-bottom:6px}.check{cursor:pointer;align-items:center;gap:6px;font-size:14px;display:inline-flex}.check input{width:16px;height:16px}.cmp-stats.contact-kpis{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.contact-kw{flex-direction:column;gap:8px;max-width:520px;display:flex}textarea.input{resize:vertical;height:auto;line-height:1.5;font:inherit;padding:10px 12px}.help-box summary{cursor:pointer;color:var(--text-muted);font-weight:600}.help-box ul{margin-top:8px}.cat{word-break:keep-all;overflow-wrap:anywhere}.plan-form{flex-direction:column;gap:12px;display:flex}.plan-row{grid-template-columns:minmax(220px,320px) minmax(120px,200px) 1fr;align-items:center;gap:12px;display:grid}.plan-label{flex-direction:column;gap:2px;font-weight:600;display:flex}.num-input{text-align:right;font-variant-numeric:tabular-nums;width:100%;min-width:90px}.tag-bad{background:var(--tone-bad-bg);color:var(--tone-bad-text)}@media (width<=720px){.plan-row{grid-template-columns:1fr}}
