:root{--ink:#0f172a;--navy:#0f172a;--navy-deep:#020617;--muted:#475569;--line:#e2e8f0;--paper:#f8fafc;--white:#fff;--gold:#2563eb;--emerald:#059669;--emerald-light:#ecfdf5;--sage:#ecfdf5;--red:#dc2626;--blue:#2563eb;--shadow:0 8px 30px rgba(15,23,42,0.06)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:"Pretendard Variable",Pretendard,Inter,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink);font-size:13.5px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"cv02","cv03","cv04","cv11";letter-spacing:-0.02em}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2563eb;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:24px;letter-spacing:-0.8px;font-weight:600;line-height:1.35;color:#0f172a}h2{font-size:18px;letter-spacing:-.4px;font-weight:600;color:#0f172a}h3{font-size:15px;letter-spacing:-.2px;font-weight:600;color:#0f172a}small{font-size:12px}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;background:#fff;color:var(--ink);min-height:38px}input[type=radio]{width:15px;min-height:15px;height:15px;accent-color:#2563eb;margin:0;cursor:pointer}textarea{resize:vertical;min-height:108px}label{display:block;font-size:12.5px;font-weight:500;margin-bottom:5px}label:has(input[type=checkbox]){display:flex;gap:8px;align-items:flex-start}input[type=checkbox]{width:15px;min-height:15px;flex:none;margin-top:2px;accent-color:#2563eb}fieldset{border:0;padding:0;margin:0}legend{font-weight:600;margin-bottom:12px}.field{margin-bottom:16px}.field small,.help{display:block;color:var(--muted);font-size:12px;margin-top:5px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.field.full{grid-column:1/-1}.required{color:var(--red)}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 14px;border:1px solid transparent;border-radius:6px;background:#0f172a;color:#fff;font-weight:500;text-decoration:none;font-size:12.5px;white-space:nowrap;transition:all 0.15s ease}.button:hover{background:#1e293b}.button.secondary{background:#fff;border-color:#cbd5e1;color:#1e293b}.button.secondary:hover{background:#f1f5f9;border-color:#94a3b8}.button.quiet{background:transparent;color:var(--muted);border-color:transparent}.button.danger{background:#fef2f2;color:var(--red);border-color:#fecaca}.button.small{min-height:28px;padding:3px 9px;font-size:11.5px}.button.full{width:100%}.icon-button{border:0;background:transparent;color:var(--muted);font-size:24px;line-height:1;padding:6px 8px}.skip-link{position:absolute;top:-60px;left:20px;background:white;padding:10px 16px;z-index:100}.skip-link:focus{top:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1px;text-transform:uppercase;font-weight:600;color:#2563eb;margin-bottom:6px}.boot-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px}.boot-screen .brand-symbol{color:var(--gold);width:40px;height:44px}.noscript{padding:24px;background:#fff3d8;text-align:center}.brand{display:inline-flex;gap:12px;align-items:center;text-decoration:none;color:inherit;flex-shrink:0}.brand>span,.brand-text{display:inline-flex;flex-direction:column;width:max-content}.brand-title{display:block;font-size:17px;font-weight:600;letter-spacing:2px;line-height:1.1;margin-right:-2px}.brand small,.brand-sub{display:flex;justify-content:space-between;width:100%;font-size:9.5px;letter-spacing:normal;font-weight:500;margin-top:4px;opacity:.9;line-height:1}.brand small span,.brand-sub span{display:inline-block;line-height:1}.brand-symbol{color:var(--gold);flex-shrink:0}

/* === 중앙 집중형 프리미엄 글래스모피즘 로그인 시스템 (No Dark Blocks) === */
.login-body-bg{background:radial-gradient(circle at 50% 18%, rgba(214,184,121,0.12) 0%, rgba(248,250,252,0.7) 45%, #f1f5f9 100%);min-height:100vh}
.login-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:50px 20px}
.login-box{width:100%;max-width:430px;display:flex;flex-direction:column;align-items:center;gap:20px}
.login-brand-header{display:flex;justify-content:center;margin-bottom:4px}
.login-brand-header .brand-title{color:var(--gold-dark);font-size:20px;letter-spacing:2.5px}
.login-brand-header .brand-sub{color:var(--gold-dark);font-size:10px}
.login-brand-header .brand-symbol{color:var(--gold-dark)}
.login-card{width:100%;background:rgba(255,255,255,0.92);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(198,173,117,0.32);border-radius:18px;padding:38px 34px;box-shadow:0 25px 50px -12px rgba(15,23,42,0.08), 0 0 0 1px rgba(255,255,255,0.85) inset}
.login-badge-wrap{margin-bottom:12px}
.login-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:rgba(198,173,117,0.12);border:1px solid rgba(198,173,117,0.35);border-radius:20px;font-size:11px;font-weight:600;color:var(--gold-dark);letter-spacing:0.8px}
.login-title{font-size:22px;font-weight:700;color:#0f172a;margin:0 0 6px;letter-spacing:-0.5px}
.login-desc{font-size:12.5px;color:#64748b;margin:0 0 22px;line-height:1.5}
.login-card .field{margin-bottom:16px}
.login-card .field label{display:block;font-size:12px;font-weight:600;color:#334155;margin-bottom:6px}
.login-card .field input{width:100%;height:42px;padding:0 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:13.5px;background:#fff;color:#0f172a;transition:all 0.15s ease}
.login-card .field input:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(198,173,117,0.22)}
.login-submit-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;background:linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);color:#fff;font-size:14px;font-weight:600;border-radius:8px;border:0;box-shadow:0 4px 14px rgba(15,23,42,0.16);cursor:pointer;margin-top:10px;transition:all 0.2s ease}
.login-submit-btn:hover{background:linear-gradient(135deg, #2563eb 0%, #1e293b 100%);box-shadow:0 6px 18px rgba(15,23,42,0.22);transform:translateY(-1px)}
.login-footer{margin-top:24px;padding-top:18px;border-top:1px solid #f1f5f9;text-align:center}
.login-footer-info{display:block;font-size:11.5px;color:#94a3b8;margin-bottom:10px;line-height:1.4}
.login-home-link{display:inline-flex;align-items:center;font-size:12px;color:#475569;text-decoration:none;font-weight:500;transition:color 0.15s ease}
.login-home-link:hover{color:var(--gold-dark);text-decoration:underline}
.login-bottom-copyright{font-size:11.5px;color:#94a3b8;letter-spacing:0.3px;text-align:center}.login-card .button{margin-top:7px}.login-footer{margin-top:28px;text-align:center;color:var(--muted);font-size:12px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:#fbfbf8;border-right:1px solid #e2e8f0;color:#142c34;position:sticky;top:0;height:100vh;padding:28px 18px 20px;display:flex;flex-direction:column}.sidebar .brand{padding:0 3px 24px;color:#142c34}.sidebar .brand-symbol{color:#87612b;width:28px;height:32px}.sidebar .brand>span,.sidebar .brand-text{font-size:14px}.sidebar .brand-title{font-size:14px;letter-spacing:1.5px;margin-right:-1.5px}.sidebar .brand small,.sidebar .brand-sub{font-size:9px;letter-spacing:normal;margin-top:3px;color:#87612b}.nav-label{color:#87612b;font-size:11px;font-weight:700;letter-spacing:0.8px;padding:22px 10px 10px;text-transform:uppercase}.nav-label:first-of-type{padding-top:12px}.nav{display:grid;gap:7px}.nav button, .nav a{display:flex;align-items:center;gap:11px;text-align:left;border:0;border-radius:8px;color:#475569;background:transparent;padding:11px 13px;min-height:40px;font-size:13px;font-weight:500;letter-spacing:-0.01em;line-height:1.4;transition:all 0.15s ease;text-decoration:none;box-sizing:border-box}.nav button:hover, .nav a:hover{background:rgba(214,184,121,0.12);color:#142c34}.nav button.active, .nav a.active{background:#ffffff;color:#87612b;font-weight:700;border-left:3px solid #87612b;box-shadow:0 2px 8px rgba(135,97,43,0.12)}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:currentColor;opacity:.8;flex-shrink:0}.nav button:hover .nav-icon, .nav a:hover .nav-icon, .nav button.active .nav-icon, .nav a.active .nav-icon{opacity:1;color:#87612b}.sidebar-bottom{margin-top:auto;padding-top:18px;border-top:1px solid #e2e8f0;font-size:11.5px;color:#64748b}.sidebar-bottom a{display:inline-block;color:#64748b;margin-bottom:8px;text-decoration:none}.sidebar-bottom a:hover{color:#142c34}.sidebar-bottom p{font-size:10px;line-height:1.7;color:#94a3b8}.workspace{min-width:0}.topbar{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#ffffff;gap:16px}.workspace-label{font-size:12px;color:var(--muted)}.workspace-label strong{color:var(--ink);font-weight:600}.account{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{display:grid;place-items:center;width:28px;height:28px;background:#f1f5f9;border-radius:50%;color:#0f172a;font-weight:600;font-size:11px}.account small{color:var(--muted)}.main{padding:28px 36px 50px;max-width:1600px;margin:0 auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-heading p{color:var(--muted);margin-top:6px;font-size:12.5px}.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:4px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stat{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:18px 20px}.stat-label{color:var(--muted);font-size:11.5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-value{font-size:30px;font-weight:600;letter-spacing:-0.5px;line-height:1.4;margin:4px 0}.stat-foot{font-size:11px;color:#64748b}.stat.warning .stat-value{color:#b96542}.panel{background:var(--white);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:20px}.panel-head{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #f1f5f9}.panel-head h2{font-size:15px;font-weight:600}.panel-head p{font-size:11.5px;color:var(--muted);margin-top:3px}.panel-body{padding:20px}.two-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px}.meta-line{font-size:11.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px;align-items:center}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:11px;line-height:1.5;white-space:nowrap;background:#f1f5f9;color:#334155;font-weight:500}.badge.gold{color:#1e40af;background:#eff6ff}.badge.blue{color:#1d4ed8;background:#eff6ff}.badge.green{color:#047857;background:#ecfdf5}.badge.red{color:#b91c1c;background:#fef2f2}.badge.gray{color:#475569;background:#f1f5f9}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.toolbar .search{flex:1;min-width:220px}.toolbar select{width:auto;min-width:150px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12.5px;text-align:left}th{background:#f8fafc;color:#475569;font-size:11.5px;font-weight:600;white-space:nowrap;padding:10px 16px;border-bottom:1px solid var(--line)}td{padding:12px 16px;border-bottom:1px solid #f1f5f9;vertical-align:middle}tr:last-child td{border-bottom:0}.table-link{border:0;background:none;padding:0;font-weight:600;text-align:left;color:var(--ink)}.table-link:hover{text-decoration:underline}.subtext{display:block;font-size:11px;color:var(--muted);margin-top:3px}.empty{padding:36px 20px;text-align:center;color:var(--muted);font-size:12.5px}.empty-symbol{display:block;color:#94a3b8;font-size:22px;margin-bottom:8px}.empty strong{display:block;color:var(--ink);font-size:13.5px;font-weight:600;margin-bottom:4px}.empty p{max-width:460px;margin:0 auto;font-size:11.5px}.loading{padding:45px;text-align:center;color:var(--muted)}.error-box{padding:14px 16px;border:1px solid #fca5a5;background:#fef2f2;color:#991b1b;border-radius:6px;font-size:12.5px;margin-bottom:16px;white-space:pre-line}.info-box{padding:12px 15px;border:1px solid #fed7aa;background:#fffbeb;color:#9a3412;border-radius:6px;font-size:12px;margin-bottom:16px}.info-box.red{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.task-list{list-style:none;padding:0;margin:0}.task-row{display:flex;gap:12px;align-items:flex-start;padding:14px 18px;border-bottom:1px solid #f1f5f9}.task-row:last-child{border:0}.task-check{width:18px;height:18px;padding:0;border:1px solid #cbd5e1;background:#fff;border-radius:50%;margin-top:2px;color:#059669;flex:none;font-size:12px}.task-check.done{background:var(--sage)}.task-content{flex:1;min-width:0}.task-content strong{font-size:12.5px;font-weight:600}.task-content .meta-line{margin-top:4px;font-size:11px}.task-row.overdue .task-date{color:var(--red)}.back-link{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;color:var(--muted);font-size:11.5px;margin-bottom:16px}.detail-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:20px}.key-values{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.key-values>div{min-width:0}.key-values dt{font-size:11px;color:#64748b;margin-bottom:3px}.key-values dd{margin:0;font-size:12.5px;overflow-wrap:anywhere}.key-values .full{grid-column:1/-1}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.detail-tabs{display:flex;border-bottom:1px solid var(--line);gap:20px;margin-bottom:20px;overflow-x:auto}.detail-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 1px;color:var(--muted);font-size:12.5px;white-space:nowrap}.detail-tabs button.active{border-bottom-color:var(--navy);color:var(--navy);font-weight:600}.timeline{list-style:none;margin:0;padding:0}.timeline li{padding:0 0 18px 20px;border-left:1px solid #cbd5e1;position:relative;margin-left:5px}.timeline li:before{content:"";width:7px;height:7px;border:2px solid #fff;background:#059669;position:absolute;left:-5px;top:5px;border-radius:50%}.timeline li:last-child{padding-bottom:0;border-left-color:transparent}.timeline p{font-size:12.5px;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline small{font-size:11px;color:var(--muted)}.stack{display:grid;gap:12px}.notice-card,.proposal-card{padding:18px 20px;border:1px solid var(--line);border-radius:7px;background:#fff}.notice-card h3,.proposal-card h3{margin:8px 0 5px;font-size:14px;font-weight:600}.notice-card p,.proposal-card p{font-size:12.5px;color:var(--muted);margin-top:6px}.card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.evidence-list{margin:8px 0 0;padding-left:18px;font-size:11.5px;color:var(--muted)}.evidence-list li{margin:3px 0}.document{max-width:800px;margin:0 auto;background:#fff;border:1px solid var(--line);padding:32px 35px;border-radius:8px}.document-header{padding-bottom:22px;border-bottom:2px solid var(--navy);margin-bottom:22px}.document h2{font-size:22px;margin:10px 0;font-weight:600}.document-section{padding:20px 0;border-bottom:1px solid #f1f5f9}.document-section:last-child{border-bottom:0}.document-section h3{font-size:13.5px;margin-bottom:8px;font-weight:600}.document-section p{font-size:12.5px}.document-footer{margin-top:20px;color:var(--muted);font-size:11px}.audit-payload{max-height:200px;overflow:auto;background:#f8fafc;padding:10px;font-size:11px;white-space:pre-wrap;word-break:break-word;font-family:Inter,monospace}.toast{position:fixed;right:24px;bottom:24px;max-width:400px;padding:12px 18px;background:var(--navy);color:#fff;border:1px solid #334155;border-radius:7px;box-shadow:var(--shadow);z-index:40;font-size:12.5px}.toast.error{background:#991b1b}.toast[hidden]{display:none}dialog{width:calc(100% - 40px);max-width:680px;max-height:90vh;border:1px solid var(--line);border-radius:10px;padding:0;color:var(--ink);box-shadow:0 25px 80px rgba(15,23,42,0.15)}dialog::backdrop{background:rgba(15,23,42,0.4);backdrop-filter:blur(2px)}.dialog-head{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-head h2{font-size:18px;font-weight:600}#dialog-body{padding:20px 22px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.form-intro{color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:18px}.review-note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:10px}.skeleton{min-height:250px}.count{font-size:11.5px;font-weight:400;color:var(--muted);margin-left:5px}.dash-intro{padding:20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:20px}.dash-intro h2{font-size:16px;font-weight:600}.dash-intro p{font-size:12px;color:#475569;margin-top:6px}.nowrap{white-space:nowrap}.table-meta{padding:11px 18px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}[hidden]{display:none!important}
.account{min-width:0;max-width:100%}.account>span:not(.avatar){min-width:0;overflow-wrap:anywhere}.account .button{flex:none}.page-heading>div:first-child,.two-columns>*,.detail-grid>*{min-width:0}.page-heading h1,.notice-card h3,.proposal-card h3,.document h2{overflow-wrap:anywhere}
@media(min-width:1500px){.main{padding-left:50px;padding-right:50px}.sidebar{padding-top:36px}.topbar{padding:0 50px}}
@media(max-width:1150px){.layout{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:26px 15px}.main{padding:28px 25px}.topbar{padding:0 25px}.stat{padding:17px}.two-columns,.detail-grid{grid-template-columns:1fr}.stat-grid{gap:12px}}
@media(max-width:760px){.layout{display:block}.sidebar{position:static;height:auto;padding:17px 20px 0}.sidebar .brand{padding:0 0 13px}.sidebar .brand small,.sidebar .nav-label,.sidebar-bottom{display:none}.nav{display:flex;overflow-x:auto;gap:4px}.nav button{padding:12px 13px;border-radius:5px 5px 0 0;white-space:nowrap}.nav-icon{font-size:15px;min-width:auto}.topbar{height:60px;padding:0 20px}.workspace-label{display:none}.account{margin-left:auto}.main{padding:25px 20px 45px}h1{font-size:25px}.page-heading{flex-direction:column;gap:13px;margin-bottom:22px}.heading-actions{padding-top:0}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:14px 17px}.stat-value{font-size:29px}.stat-foot{font-size:10px}.panel-head,.panel-body{padding:18px}.task-row{padding:15px 18px}.panel-head{align-items:flex-start}.detail-tabs{gap:21px}.key-values{gap:17px}.notice-card,.proposal-card{padding:18px}.field-grid{grid-template-columns:1fr}.document{padding:24px 20px}.document h2{font-size:22px}.login-wrapper{padding:30px 16px}.login-card{padding:28px 22px}.toast{right:16px;left:16px;bottom:16px;max-width:none}dialog{width:calc(100% - 24px);max-height:92vh}.dialog-head,#dialog-body{padding:20px}.toolbar{gap:9px}.toolbar .search{min-width:100%;flex:none}.toolbar select{flex:1;width:auto;min-width:0}th,td{padding-left:16px;padding-right:16px}.card-top{flex-wrap:wrap}.account .button{padding:5px 9px}.account .avatar{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.topbar,.heading-actions,.detail-tabs,.back-link,.toast,dialog,.skip-link,.button{display:none!important}.layout{display:block}.main{padding:0}.document{border:0;max-width:none;padding:15px}.document-section{break-inside:avoid}body{background:white;font-size:11px}}

/* ==========================================================================
   Phase 0: CRM 3대 핵심 화면 & 무인 자동화 관제 디자인 시스템 (Clean Bright Palette)
   ========================================================================== */
.topbar-search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #d4dbd7;border-radius:8px;padding:6px 14px;flex:1;max-width:540px}
.topbar-search .search-icon{color:var(--muted);font-size:14px}
.global-search-input{border:0;outline:0;padding:0;min-height:28px;font-size:13px;background:transparent;width:100%}
.topbar-status{display:flex;align-items:center;padding:6px 12px;background:#eef7ef;border:1px solid #c8e6c9;border-radius:20px;font-size:12px;font-weight:600;color:#2e7d32}
.status-indicator.live{animation:pulseGreen 2s infinite ease-in-out}
@keyframes pulseGreen{0%,100%{opacity:1}50%{opacity:0.6}}

.stat.stat-green .stat-value{color:#2e7d32}
.stat.stat-gold .stat-value{color:#0f172a}
.stat.stat-blue .stat-value{color:#1976d2}
.stat.stat-red .stat-value{color:#c62828}

.pipeline-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}
.pipeline-step{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 18px;position:relative}
.pipeline-step.active{border-color:var(--gold);background:#fffef9}
.pipeline-step-num{font-size:11px;font-weight:700;color:var(--gold);margin-bottom:4px;letter-spacing:1px}
.pipeline-step h4{font-size:13px;font-weight:600;margin:0 0 5px;color:var(--ink)}
.pipeline-step p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}

.terminal-console{background:#fcfcf9;border:1px solid #d5dbd4;border-radius:8px;padding:16px 20px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;color:#223942;line-height:1.7;max-height:300px;overflow-y:auto;box-shadow:inset 0 2px 4px rgba(0,0,0,0.02)}
.terminal-line{display:flex;gap:10px;margin-bottom:3px}
.terminal-time{color:#8c9b9f;min-width:65px;font-size:11px}
.terminal-tag{padding:1px 6px;border-radius:3px;font-size:10px;font-weight:600}
.terminal-tag.info{background:#e3f2fd;color:#1565c0}
.terminal-tag.success{background:#e8f5e9;color:#2e7d32}
.terminal-tag.warn{background:#fff3e0;color:#e65100}
.terminal-tag.error{background:#ffebee;color:#c62828}

.facility-hero{background:#fff;border:1px solid var(--line);border-radius:9px;padding:24px 28px;margin-bottom:24px;box-shadow:0 4px 16px rgba(20,46,60,0.03)}
.facility-hero-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}
.facility-hero-title h2{font-size:24px;font-weight:700;letter-spacing:-0.5px;color:var(--navy)}

.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:16px}
.video-card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 3px 12px rgba(20,46,60,0.04);display:flex;flex-direction:column}
.video-thumb{position:relative;width:100%;aspect-ratio:16/9;background:#e9ede6;overflow:hidden}
.video-thumb img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s ease}
.video-thumb:hover img{transform:scale(1.03)}
.video-duration{position:absolute;bottom:8px;right:8px;background:rgba(20,46,60,0.85);color:#fff;padding:2px 7px;border-radius:4px;font-size:11px;font-weight:500}
.video-badge-supervision{position:absolute;top:8px;left:8px;background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:700;display:flex;align-items:center;gap:4px}
.video-body{padding:18px 20px;display:flex;flex-direction:column;flex:1}
.video-body h4{font-size:15px;font-weight:600;margin:0 0 6px;color:var(--navy)}
.video-body p{font-size:12px;color:var(--muted);margin:0 0 14px;flex:1;line-height:1.6}
.video-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.video-tag{font-size:11px;padding:3px 7px;background:#f3f6f3;border-radius:4px;color:#4f6362;font-weight:500}

.truth-matrix{width:100%;border-collapse:collapse;font-size:13px}
.truth-matrix th{background:#f8f9f6;font-weight:600;color:#556660}
.truth-matrix td{padding:14px 18px}
.truth-pass{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:4px;background:#e8f5e9;color:#2e7d32;font-weight:600;font-size:11px}

/* ==========================================================================
   Phase 3: 표준 계약서, VideoCard 현장감리, 준공도서 패키징 스타일 (Bright Glassmorphism)
   ========================================================================== */
.progress-bar-container{width:100%;height:14px;background:#edf0eb;border-radius:7px;overflow:hidden;margin:10px 0 16px;border:1px solid #dce2db}
.progress-bar-fill{height:100%;background:linear-gradient(90deg, #2e7d32 0%, #43a047 100%);border-radius:6px;transition:width 0.4s ease}
.progress-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600}

.standard-contract-doc{background:#fff;border:1px solid #dce2db;border-radius:8px;padding:24px;font-size:13px;line-height:1.7}
.contract-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--navy);padding-bottom:12px;margin-bottom:16px}
.contract-header h3{font-size:18px;font-weight:700;color:var(--navy)}
.contract-number{font-size:12px;color:var(--gold);font-weight:600}
.contract-table{width:100%;border-collapse:collapse;margin-bottom:18px}
.contract-table th{background:#f9fbf8;width:120px;padding:10px 14px;border:1px solid #e2e8e3;color:#475752;font-weight:600}
.contract-table td{padding:10px 14px;border:1px solid #e2e8e3;color:var(--ink)}
.contract-parties{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}
.party-box{background:#fafbf9;border:1px solid #e7ebe5;border-radius:6px;padding:14px 18px}
.party-box h4{font-size:13px;color:var(--navy);margin-bottom:6px}
.party-box p{font-size:12px;color:var(--muted);margin:3px 0}
.contract-terms-box{background:#fbfbf7;border:1px solid #e8ebd9;border-radius:6px;padding:16px 20px}
.contract-terms-box h4{font-size:13px;color:#7a622a;margin-bottom:8px}
.contract-terms-box pre{white-space:pre-wrap;font-family:inherit;font-size:12px;color:#4f5e5b;line-height:1.7;margin:0}

.dossier-card{background:#fff;border:1px solid #dce2db;border-radius:8px;padding:18px 22px;margin-bottom:14px;box-shadow:0 2px 8px rgba(0,0,0,0.02)}
.dossier-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0eb;padding-bottom:10px;margin-bottom:12px}
.dossier-badge{background:#e3f2fd;color:#1565c0;font-size:11px;font-weight:700;padding:3px 8px;border-radius:4px}
.dossier-list{list-style:none;padding:0;margin:0}
.dossier-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #f3f5f2}
.dossier-item:last-child{border-bottom:0}
.dossier-item-icon{font-size:18px;color:var(--gold)}
.dossier-item-text strong{display:block;font-size:13px;color:var(--ink)}
.dossier-item-text span{font-size:11px;color:var(--muted)}

/* ==========================================================================
   Phase 4: 세일즈 발굴 관제실 (High-Contrast Sales Radar & Live Excel Grid)
   ========================================================================== */

/* 1. 상단 통계 4열 카드 그리드 (순백 & 초고대비 인디고/에메랄드/블루/크림슨) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.stat-card.stat-gold { border-left: 4px solid #0f172a; background: #ffffff; }
.stat-card.stat-blue { border-left: 4px solid #2563eb; background: #ffffff; }
.stat-card.stat-green { border-left: 4px solid #059669; background: #ffffff; }
.stat-card.stat-red { border-left: 4px solid #dc2626; background: #ffffff; }

.stat-card .stat-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.stat-card .stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 6px;
  font-feature-settings: "tnum";
}
.stat-card.stat-gold .stat-value { color: #0f172a; }
.stat-card.stat-blue .stat-value { color: #2563eb; }
.stat-card.stat-green .stat-value { color: #059669; }
.stat-card.stat-red .stat-value { color: #dc2626; }
.stat-card .stat-note {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}
.stat-card.clickable, .funnel-step.clickable {
  cursor: pointer;
  user-select: none;
}
.stat-card.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: #94a3b8;
}
.stat-card.clickable:active, .funnel-step.clickable:active {
  transform: translateY(0);
}
.stat-card-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.stat-card.clickable:hover .stat-card-hint {
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.funnel-step.clickable {
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.funnel-step.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: #3b82f6;
}
.funnel-step-hint {
  font-size: 10px;
  color: #64748b;
  margin-top: 3px;
  display: block;
}
.funnel-step.clickable:hover .funnel-step-hint {
  color: #2563eb;
  font-weight: 600;
}
.clickable-stat {
  cursor: pointer;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s ease, text-decoration 0.15s ease;
}
.clickable-stat:hover {
  background: #eff6ff;
  text-decoration: underline;
}

/* 2. 초슬림 공고 레이더 1줄 핫라인 배너 (Radar Ticker Banner, 36px) */
.radar-ticker-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2563eb;
  border-radius: 6px;
  padding: 5px 12px;
  min-height: 36px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.radar-ticker-left {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.radar-live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulseGreen 2s infinite ease-in-out;
}
.radar-ticker-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.radar-count-badge {
  font-size: 10.5px;
  font-weight: 500;
  background: #eff6ff;
  color: #2563eb;
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
}
.radar-notice-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  padding: 1px 0;
}
.radar-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 11.5px;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.radar-pill-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.radar-pill-region {
  font-weight: 600;
  color: #2563eb;
  font-size: 11px;
}
.radar-pill-text {
  font-weight: 400;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1e293b;
}
.radar-pill-arrow {
  font-size: 10.5px;
  font-weight: 600;
  color: #059669;
}

/* 3. 통합 영업 관제 툴바 (Sales Command Toolbar) */
.sales-cmd-toolbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

/* 3-1. 권역 퀵 프리셋 바 */
.zone-preset-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.zone-preset-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.zone-pill-btn {
  height: 28px;
  line-height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.zone-pill-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.zone-pill-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}
.zone-drawer-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  line-height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.zone-drawer-toggle-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}
.zone-drawer-toggle-btn.open {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.selected-region-summary-tag {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}
.selected-region-summary-tag strong {
  color: #2563eb;
  font-weight: 600;
}

/* 3-2. 접이식 17개 지자체 상세 드로어 (Region Drawer) */
.region-drawer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
.region-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 5px;
}
.region-drawer-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #0f172a;
}
.region-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px 10px;
}
.region-check-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #334155;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-weight: 400;
}
.region-check-label input[type="checkbox"] {
  width: 13px;
  min-height: 13px;
  accent-color: #2563eb;
  cursor: pointer;
  margin: 0;
}
.region-check-label.checked {
  color: #2563eb;
  font-weight: 600;
}

/* 경기도 세부 시군 8열 서브 패널 */
.sub-region-panel {
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
}
.sub-region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 5px;
  margin-bottom: 6px;
}
.sub-region-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #1e3a8a;
}
.sub-region-grid-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px 6px;
}
.sub-region-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-weight: 400;
}
.sub-region-label input[type="checkbox"] {
  width: 12px;
  min-height: 12px;
  accent-color: #2563eb;
  margin: 0;
}
.sub-region-label.checked {
  color: #2563eb;
  font-weight: 600;
}

/* 3-3. 업종, 노후도 및 인라인 검색 2열 바 (34px 균등 높이) */
.filter-search-combined-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}
.filter-capsule-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-group-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter-group-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.filter-pills {
  display: inline-flex;
  gap: 3px;
}
.filter-pill {
  height: 28px;
  line-height: 26px;
  padding: 0 9px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.filter-pill:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.filter-pill.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
}

.search-inline-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 300px;
  justify-content: flex-end;
}
.search-field-select {
  height: 32px;
  min-height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 0 8px;
  font-size: 11.5px;
  font-weight: 500;
  background: #ffffff;
  color: #0f172a;
  width: 115px;
  flex: none;
}
.search-input {
  height: 32px;
  min-height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 0 10px;
  font-size: 12px;
  background: #ffffff;
  flex: 1;
  max-width: 260px;
}
.btn-search {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  background: #0f172a;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}
.btn-search:hover { background: #1e293b; }
.btn-realtime-scrape {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  background: #2563eb;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.btn-realtime-scrape:hover { background: #1d4ed8; }

/* 4. 실시간 집계 및 일괄 액션 바 (Batch Action Bar) */
.batch-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.batch-count-info {
  font-size: 12.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 7px;
}
.batch-count-info strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  font-feature-settings: "tnum";
}
.batch-count-info .selected-highlight {
  color: #2563eb;
  font-weight: 600;
  font-size: 12px;
  background: #eff6ff;
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
}
.batch-btn-group {
  display: flex;
  gap: 7px;
}
.btn-batch-collect {
  background: #059669;
  color: #ffffff;
  border: 0;
  height: 30px;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.15);
  transition: background 0.15s;
}
.btn-batch-collect:hover { background: #047857; }
.btn-batch-collect:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; }

.btn-batch-reports {
  background: #2563eb;
  color: #ffffff;
  border: 0;
  height: 30px;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
  transition: background 0.15s;
}
.btn-batch-reports:hover { background: #1d4ed8; }
.btn-batch-reports:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; }

/* 5. 엑셀 형태의 고밀도 데이터 그리드 */
.excel-grid-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow-x: auto;
  max-height: 720px;
  overflow-y: auto;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  margin-bottom: 20px;
}
table.excel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
table.excel-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
  user-select: none;
}
table.excel-table th:last-child {
  border-right: 0;
}
table.excel-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  font-size: 12px;
}
table.excel-table td:last-child {
  border-right: 0;
}
table.excel-table tr:hover td {
  background: #f8fafc;
}
table.excel-table tr.selected td {
  background: #eff6ff !important;
}
table.excel-table tr.selected td:first-child {
  border-left: 3px solid #2563eb;
}
table.excel-table .col-check {
  width: 34px;
  text-align: center;
  padding: 7px 4px;
}
table.excel-table .col-num {
  width: 40px;
  text-align: center;
  color: #64748b;
  font-size: 11px;
  font-family: Inter, monospace;
  font-weight: 400;
}
table.excel-table .cell-name strong {
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 600;
}
table.excel-table .cell-scale {
  font-size: 11px;
  color: #64748b;
  font-family: Inter, sans-serif;
  white-space: nowrap;
}
table.excel-table .cell-license {
  font-family: Inter, ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  color: #64748b;
}
table.excel-table .cell-address {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #334155;
}

.excel-badge-region {
  display: inline-block;
  padding: 2px 7px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.excel-badge-age {
  display: inline-block;
  padding: 2px 7px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.excel-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.excel-btn-link:hover {
  background: #eff6ff;
  border-color: #2563eb;
}
.excel-btn-action {
  padding: 2px 8px;
  background: #0f172a;
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.excel-btn-action:hover {
  background: #1e293b;
}

/* 6. 하단 최근 실사 및 발송 이력 2열 카드 */
.card-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compact-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.compact-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.compact-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* 7. 영업종합상황판 파이프라인 전환 퍼널 */
.funnel-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.funnel-step {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px 14px;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  text-align: center;
}
.funnel-step.step-highlight {
  border-color: #059669;
  background: #f0fdf4;
}
.funnel-step-tag {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
}
.funnel-step-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}
.funnel-step-val {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.funnel-step-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* 8. 권역별 요약 테이블 */
.summary-panel {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.summary-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
