/*
 * common.css
 * 관리자 ERP 공통 스타일 통합본. 아래 Source 순서는 기존 index.html 로딩 순서를 보존합니다.
 */

/* ===== Source: assets/css/01-base-layout.css ===== */
/*
 * 01-base-layout.css
 * 공통 변수, 레이아웃, 카드, 표, 모달, 반응형 및 기본 확장 스타일
 * 원본의 1번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
:root{
  --bg:#f4f7fb;--panel:#fff;--text:#172033;--muted:#667085;--line:#e6eaf0;
  --primary:#173f8a;--primary2:#2f6fe4;--success:#11875d;--warning:#b7791f;--danger:#c53d3d;
  --sidebar:#0f274f;--sidebar2:#15366d;--shadow:0 8px 24px rgba(16,24,40,.08);
}
*{box-sizing:border-box} body{margin:0;font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}
button,input,select,textarea{font:inherit} button{cursor:pointer}
.app{min-height:100vh;display:grid;grid-template-columns:260px 1fr;transition:grid-template-columns .22s ease}.app.sidebar-collapsed{grid-template-columns:84px 1fr}.sidebar{background:linear-gradient(180deg,var(--sidebar),#0a1c39);color:#fff;padding:16px 12px;position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:visible;transition:padding .22s ease}
.sidebar-head{display:block;margin-bottom:4px}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 10px;min-width:0;width:100%}.brand-copy{min-width:0;display:flex;flex-direction:column}.logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--primary);font-weight:900;font-size:18px;flex:0 0 auto}.brand h1{font-size:17px;margin:0;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{display:block;opacity:.78;margin-top:4px;line-height:1.35;word-break:keep-all}.brand-kicker{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.12);color:#dbe7ff;font-size:10px;font-weight:800;letter-spacing:.04em;margin-bottom:6px}.brand-member .member-logo{width:48px;height:48px;border-radius:14px;background:linear-gradient(180deg,#ffffff,#dfe9ff);box-shadow:0 4px 14px rgba(0,0,0,.16)}.brand-member .member-logo span{font-size:14px;font-weight:900;letter-spacing:.02em}.sidebar-control-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 12px;padding:8px 8px 10px;border-top:1px solid rgba(255,255,255,.10);border-bottom:1px solid rgba(255,255,255,.10)}.sidebar-control-label{font-size:10px;font-weight:800;letter-spacing:.06em;color:rgba(219,231,255,.62);white-space:nowrap}.sidebar-tools{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex:0 0 auto}.sidebar-tool-btn{width:32px;height:32px;border-radius:9px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.10);color:#fff;display:grid;place-items:center;padding:0}.sidebar-tool-btn:hover{background:rgba(255,255,255,.18)}
.nav-group{margin-top:10px}.nav-title{font-size:11px;opacity:.72;padding:8px 10px;text-transform:uppercase;letter-spacing:.08em}.nav-group-toggle{width:100%;border:0;background:transparent;color:#dbe7ff;text-align:left;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer}.nav-group-toggle:hover{background:rgba(255,255,255,.08);opacity:1}.nav-group-arrow{transition:transform .18s ease}.nav-group.collapsed .nav-group-arrow{transform:rotate(-90deg)}.nav-group-body{display:grid;gap:2px;margin-top:2px}.nav-group.collapsed .nav-group-body{display:none}.nav button{width:100%;border:0;background:transparent;color:#dbe7ff;text-align:left;padding:11px 12px;border-radius:9px;margin:2px 0;display:flex;align-items:center;gap:10px}.nav button:hover,.nav button.active{background:rgba(255,255,255,.13);color:#fff}.nav .ico{width:22px;text-align:center;flex:0 0 22px}.nav .nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app.sidebar-collapsed .sidebar{padding-left:10px;padding-right:10px}.app.sidebar-collapsed .brand-copy,.app.sidebar-collapsed .nav .nav-label,.app.sidebar-collapsed .nav-group-toggle span:first-child,.app.sidebar-collapsed .sidebar-control-label{display:none}.app.sidebar-collapsed .brand{justify-content:center;padding:4px 0 8px}.app.sidebar-collapsed .sidebar-control-bar{justify-content:center;margin:0 0 10px;padding:8px 0 10px}.app.sidebar-collapsed .sidebar-tools{display:grid;grid-template-columns:1fr;gap:6px}.app.sidebar-collapsed .sidebar-tool-btn{width:34px;height:34px}.app.sidebar-collapsed .nav-title{justify-content:center;padding:6px}.app.sidebar-collapsed .nav-group-arrow{display:none}.app.sidebar-collapsed .nav button{justify-content:center;padding-left:8px;padding-right:8px}.app.sidebar-collapsed .nav .ico{width:auto}.app.sidebar-collapsed .nav-group-body{display:grid!important}
.app.sidebar-collapsed .nav button[data-section]{position:relative;overflow:visible;font-size:0;line-height:1;gap:0}
.app.sidebar-collapsed .nav button[data-section] .ico{display:inline-grid;place-items:center;width:24px!important;min-width:24px;font-size:14px;line-height:1}
.app.sidebar-collapsed .nav button[data-section] .nav-label{display:none!important}
.app.sidebar-collapsed .nav button[data-section] .mini-count,.app.sidebar-collapsed .nav button[data-section] .message-nav-count{display:none!important}
.app.sidebar-collapsed .nav button[data-section]::after{content:attr(data-tooltip);position:absolute;font-size:12px;line-height:1.35;left:calc(100% + 12px);top:50%;transform:translateY(-50%) translateX(-6px);background:rgba(10,28,57,.96);color:#fff;padding:8px 10px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.24);opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:30}
.app.sidebar-collapsed .nav button[data-section]::before{content:'';position:absolute;left:calc(100% + 6px);top:50%;transform:translateY(-50%);border:6px solid transparent;border-right-color:rgba(10,28,57,.96);opacity:0;transition:opacity .15s ease;z-index:29}
.app.sidebar-collapsed .nav button[data-section]:hover::after,.app.sidebar-collapsed .nav button[data-section]:focus-visible::after{opacity:1;transform:translateY(-50%) translateX(0)}
.app.sidebar-collapsed .nav button[data-section]:hover::before,.app.sidebar-collapsed .nav button[data-section]:focus-visible::before{opacity:1}

.main{min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:10}.topbar h2{margin:0;font-size:20px}.topbar .sub{font-size:12px;color:var(--muted);margin-top:4px}.top-actions{display:flex;gap:8px;align-items:center}.content{padding:22px 24px 50px;max-width:1700px;margin:auto}
.btn{border:1px solid var(--line);background:#fff;color:var(--text);padding:9px 13px;border-radius:8px;font-weight:700}.btn:hover{background:#f8fafc}.btn.primary{background:var(--primary2);border-color:var(--primary2);color:#fff}.btn.success{background:var(--success);border-color:var(--success);color:#fff}.btn.danger{background:#fff;color:var(--danger);border-color:#f3b6b6}.btn.sm{padding:6px 9px;font-size:12px}.btn.ghost{background:transparent}
.grid{display:grid;gap:16px}.grid.cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.card.pad{padding:18px}.metric .label{color:var(--muted);font-size:12px}.metric .value{font-size:25px;font-weight:900;margin-top:7px;letter-spacing:-.04em}.metric .note{font-size:12px;margin-top:7px}.up{color:var(--success)}.down{color:var(--danger)}
.section{display:none}.section.active{display:block}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:14px}.section-head h3{margin:0;font-size:19px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.filterbar{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;padding:13px;border-bottom:1px solid var(--line)}
.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:12px;color:#475467;font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #d7dce5;border-radius:8px;padding:9px 10px;background:#fff;color:var(--text);outline:none}.field textarea{min-height:82px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7aa2ee;box-shadow:0 0 0 3px rgba(47,111,228,.10)}.inline{display:flex;gap:8px;align-items:center}.check{display:flex;gap:7px;align-items:center;font-size:12px}.check input{width:auto}
.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:1050px}.table th{background:#f8fafc;color:#475467;font-size:12px;text-align:left;padding:11px 10px;border-bottom:1px solid var(--line);white-space:nowrap;position:sticky;top:0}.table td{padding:11px 10px;border-bottom:1px solid #eef1f5;white-space:nowrap}.table tr:hover td{background:#fbfdff}.right{text-align:right!important}.center{text-align:center!important}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.muted{color:var(--muted)}
.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#eef2f7;color:#48566a}.badge.green{background:#e8f7f0;color:#0d7651}.badge.blue{background:#eaf1ff;color:#2458ad}.badge.orange{background:#fff4df;color:#94600e}.badge.red{background:#ffeded;color:#a82e2e}.badge.purple{background:#f1eafe;color:#6636a6}
.summary-strip{display:grid;grid-template-columns:repeat(6,1fr);border-bottom:1px solid var(--line)}.summary-strip>div{padding:14px 16px;border-right:1px solid var(--line)}.summary-strip>div:last-child{border-right:0}.summary-strip small{display:block;color:var(--muted);margin-bottom:5px}.summary-strip strong{font-size:17px}
.chart{height:250px;display:flex;align-items:flex-end;gap:12px;padding:18px 8px 8px}.bar-item{flex:1;min-width:34px;text-align:center}.bar{background:linear-gradient(180deg,#4d80df,#173f8a);border-radius:7px 7px 2px 2px;min-height:4px;position:relative}.bar.expense{background:linear-gradient(180deg,#f2b35d,#b7791f)}.bar-pair{height:200px;display:flex;align-items:flex-end;justify-content:center;gap:5px}.bar-pair .bar{width:42%}.bar:hover:after{content:attr(data-tip);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#1d2939;color:#fff;padding:5px 7px;border-radius:5px;font-size:11px;white-space:nowrap}.bar-label{font-size:11px;color:var(--muted);margin-top:8px}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding:0 14px}.tabbtn{border:0;background:transparent;padding:12px 11px;font-weight:800;color:var(--muted);border-bottom:2px solid transparent}.tabbtn.active{color:var(--primary2);border-bottom-color:var(--primary2)}.tabpane{display:none;padding:16px}.tabpane.active{display:block}
.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.form-grid .span2{grid-column:span 2}.form-grid .span4{grid-column:span 4}.divider{height:1px;background:var(--line);margin:16px 0}.callout{border:1px solid #cfe0ff;background:#f3f7ff;color:#244d8e;padding:12px 14px;border-radius:9px;line-height:1.55}.callout.warn{border-color:#f4d29d;background:#fff9ee;color:#85560c}.callout.danger{border-color:#f4b7b7;background:#fff5f5;color:#9e2d2d}.kv{display:grid;grid-template-columns:170px 1fr;border-top:1px solid var(--line)}.kv div{padding:10px;border-bottom:1px solid var(--line)}.kv div:nth-child(odd){background:#f8fafc;font-weight:700;color:#475467}
.modal-backdrop{position:fixed;inset:0;background:rgba(10,20,40,.46);z-index:50;display:none;align-items:center;justify-content:center;padding:20px}.modal-backdrop.open{display:flex}.modal{background:#fff;border-radius:14px;max-width:1100px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 24px 60px rgba(0,0,0,.25)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head h3{margin:0}.modal-body{padding:18px}.modal-foot{padding:14px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:#fff}
.toast{position:fixed;right:24px;bottom:24px;background:#172033;color:#fff;padding:12px 15px;border-radius:9px;z-index:20000;box-shadow:0 12px 32px rgba(0,0,0,.32);display:none;max-width:380px}.toast.show{display:block}.empty{padding:45px;text-align:center;color:var(--muted)}
.progress{height:7px;background:#edf1f7;border-radius:99px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--primary2)}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot-green{background:#13a36d}.dot-orange{background:#e59d28}.dot-red{background:#d94b4b}
@media(max-width:1200px){.grid.cards{grid-template-columns:repeat(3,1fr)}.form-grid{grid-template-columns:repeat(2,1fr)}.filterbar{grid-template-columns:repeat(3,1fr)}}

body[data-theme='dark']{--bg:#0b1220;--panel:#101827;--text:#e5edf8;--muted:#98a2b3;--line:#223048;--primary:#8eb7ff;--primary2:#5b8dff;--success:#32c48d;--warning:#ffcc66;--danger:#ff7b7b;--shadow:0 10px 28px rgba(0,0,0,.35);--sidebar:#09182f;--sidebar2:#0e2548}
body[data-theme='dark'] .topbar,body[data-theme='dark'] .card,body[data-theme='dark'] .modal-content,body[data-theme='dark'] .drawer{background:var(--panel);color:var(--text);border-color:var(--line)}
body[data-theme='dark'] .btn{background:#172236;color:var(--text);border-color:#2b3b58}
body[data-theme='dark'] .btn:hover{background:#1d2b43}
body[data-theme='dark'] input,body[data-theme='dark'] select,body[data-theme='dark'] textarea{background:#0f1a2c;color:var(--text);border-color:#293753}
body[data-theme='dark'] .table th,body[data-theme='dark'] .table td{border-color:var(--line)}
body[data-theme='dark'] .table th{background:#0f1a2c;color:#c7d4eb}
body[data-theme='dark'] .callout,body[data-theme='dark'] .filterbar,body[data-theme='dark'] .tabs,body[data-theme='dark'] .summary-strip>div{border-color:var(--line)}
body[data-theme='dark'] .sidebar-tool-btn{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08)}
body[data-theme='dark'] .sidebar-tool-btn:hover{background:rgba(255,255,255,.16)}
body[data-theme='dark'] .brand-kicker{background:rgba(142,183,255,.16);color:#cfe0ff}
body[data-theme='dark'] .brand-member .member-logo{background:linear-gradient(180deg,#f4f7ff,#cddcff);color:#173f8a}

@media(max-width:820px){.app,.app.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.brand h1{white-space:normal}.sidebar-control-bar{margin-left:8px;margin-right:8px}.app.sidebar-collapsed .sidebar-control-bar{justify-content:flex-end;margin:0 8px 10px;padding:8px}.app.sidebar-collapsed .sidebar-control-label{display:block}.app.sidebar-collapsed .sidebar-tools{display:flex}.app.sidebar-collapsed .nav button[data-section]::before,.app.sidebar-collapsed .nav button[data-section]::after{display:none}.nav{display:block}.nav-title{grid-column:1/-1}.topbar{position:relative;padding:0 14px}.content{padding:14px}.grid.cards,.grid.two,.grid.three{grid-template-columns:1fr}.summary-strip{grid-template-columns:repeat(2,1fr)}.filterbar,.form-grid{grid-template-columns:1fr}.form-grid .span2,.form-grid .span4{grid-column:span 1}}
@media print{.sidebar,.topbar,.toolbar,.filterbar,.btn,.tabs{display:none!important}.app{display:block}.content{padding:0}.section{display:none!important}.section.active{display:block!important}.card{box-shadow:none}.table{font-size:10px}}

.form-section-title{grid-column:span 4;margin-top:5px;padding:10px 12px;border-left:4px solid var(--primary);background:#f6f8ff;border-radius:8px;font-weight:800;color:#263c73}.timeline-mini{font-size:12px;line-height:1.55;white-space:nowrap}.timeline-mini b{display:inline-block;min-width:42px;color:#475467}.receipt-pair{display:flex;flex-direction:column;gap:4px;min-width:100px}.receipt-pair .badge{width:max-content}.policy-no{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#667085}.insurance-stack{font-size:12px;line-height:1.55;min-width:145px}.insurance-stack strong{display:block;color:#344054}@media(max-width:1200px){.form-section-title{grid-column:span 2}}@media(max-width:820px){.form-section-title{grid-column:span 1}}

/* 예약·인수증 검증·관리자 권한·감사로그 확장 */
.reservation-row td{background:#fffaf0}.reservation-row:hover td{background:#fff6df!important}.reservation-box{border:1px solid #f1cc82;background:linear-gradient(135deg,#fff9eb,#fff);padding:10px 12px;border-radius:10px;min-width:155px}.reservation-box strong{display:block;color:#8a5608;margin:4px 0}.reservation-time{font-size:13px;font-weight:900;color:#7a4c07}.receipt-cell{display:flex;flex-direction:column;gap:4px;min-width:86px}.receipt-line{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:3px 5px;border:1px solid #eef1f5;border-radius:7px;background:#fff;min-height:24px}.receipt-line>span:first-child{font-size:10px;font-weight:900;color:#475467;line-height:1;white-space:nowrap}.receipt-line .badge{max-width:100%;padding:3px 7px;font-size:10px}.receipt-panel{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fbfcfe}.receipt-panel.pending{border-color:#f0c36b;background:#fffaf0}.receipt-panel.approved{border-color:#9bd7bd;background:#f2fbf7}.receipt-panel.rejected{border-color:#efaaaa;background:#fff6f6}.receipt-preview{min-height:160px;border:1px dashed #cdd5df;border-radius:10px;display:grid;place-items:center;background:#fff;overflow:hidden}.receipt-preview img{max-width:100%;max-height:330px;object-fit:contain}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px}.permission-item{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.permission-item input{margin-top:2px}.admin-switch{min-width:190px;border:1px solid #d7dce5;border-radius:8px;padding:8px 10px;background:#fff;font-weight:700}.admin-identity{display:flex;align-items:center;gap:7px;padding-right:4px}.admin-avatar{width:30px;height:30px;border-radius:50%;background:#eaf1ff;color:#2458ad;display:grid;place-items:center;font-weight:900}.audit-change{max-width:360px;white-space:normal;line-height:1.45}.audit-hash{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#667085}.attention-pulse{position:relative}.attention-pulse:after{content:'';position:absolute;right:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:#e04848;box-shadow:0 0 0 4px rgba(224,72,72,.15)}.mini-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:#d64545;color:#fff;font-size:10px;font-weight:900;margin-left:auto}.locked{opacity:.45;pointer-events:none}.receipt-history{display:grid;gap:7px;margin-top:10px}.receipt-history>div{padding:8px 10px;background:#f7f9fc;border-radius:8px;font-size:12px}.change-list{display:grid;gap:7px}.change-row{display:grid;grid-template-columns:150px 1fr 24px 1fr;gap:8px;align-items:start;padding:8px;border-bottom:1px solid var(--line)}.change-row b{color:#475467}.change-old{color:#a33;text-decoration:line-through}.change-new{color:#067647;font-weight:700}.wide-summary{grid-template-columns:repeat(8,1fr)}
@media(max-width:1200px){.permission-grid{grid-template-columns:repeat(2,1fr)}.wide-summary{grid-template-columns:repeat(4,1fr)}}
@media(max-width:820px){.permission-grid{grid-template-columns:1fr}.admin-identity{display:none}.wide-summary{grid-template-columns:repeat(2,1fr)}}


.contact-card{min-width:150px;display:flex;flex-direction:column;gap:4px;padding:3px 0}
.contact-card b{font-size:13px;color:var(--text)}
.contact-card .contact-sub{font-size:11px;color:var(--muted)}
.phone-link{display:inline-flex;align-items:center;gap:5px;width:max-content;color:#2563eb;font-weight:800;text-decoration:none;padding:3px 7px;border-radius:8px;background:#eff6ff;border:1px solid #bfdbfe;white-space:nowrap}
.phone-link:hover{background:#dbeafe;border-color:#93c5fd}
.phone-missing{font-size:11px;color:var(--muted)}
@media(max-width:900px){.contact-card{min-width:135px}.phone-link{font-size:12px}}


/* ===== Source: assets/css/02-business-card-order-contact.css ===== */
/*
 * 02-business-card-order-contact.css
 * 출도착 연락처, 명함 OCR, 배차표 열너비 최적화
 * 원본의 2번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 출도착 연락처·명함 OCR·관리표 열너비 최적화 */
.business-card-panel{border:1px solid #dce4ef;border-radius:12px;background:#fbfcfe;padding:12px;min-width:0}.business-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.business-card-head small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.business-card-body{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px}.business-card-preview{height:126px;border:1px dashed #b9c5d4;border-radius:9px;background:#fff;display:grid;place-items:center;overflow:hidden;color:var(--muted);font-size:11px;text-align:center;padding:5px}.business-card-preview img{display:none;width:100%;height:100%;object-fit:contain}.business-card-controls{min-width:0;display:grid;gap:7px}.business-card-controls input[type=file]{max-width:100%;font-size:11px}.business-card-text{min-height:72px!important;font-size:11px;line-height:1.4}.business-card-parsed{padding:7px 9px;border-radius:8px;background:#f1f5fb;color:#475467;font-size:11px;line-height:1.5}.business-card-parsed b{color:#172033}.final-charge-field input[readonly]{background:#f8fafc;font-weight:800}
#orders .table-wrap{overflow:auto}#orders .order-compact-table{min-width:1680px!important;width:100%;table-layout:fixed}#orders .order-compact-table th,#orders .order-compact-table td{padding:8px 6px;font-size:11px;vertical-align:top;white-space:normal;word-break:break-word;line-height:1.4}#orders .order-compact-table th{font-size:11px}#orders .order-compact-table th:nth-child(1){width:116px}#orders .order-compact-table th:nth-child(2){width:92px}#orders .order-compact-table th:nth-child(3){width:100px}#orders .order-compact-table th:nth-child(4){width:92px}#orders .order-compact-table th:nth-child(5){width:88px}#orders .order-compact-table th:nth-child(6){width:250px}#orders .order-compact-table th:nth-child(7),#orders .order-compact-table th:nth-child(8){width:94px}#orders .order-compact-table th:nth-child(9){width:105px}#orders .order-compact-table th:nth-child(10),#orders .order-compact-table th:nth-child(11),#orders .order-compact-table th:nth-child(12),#orders .order-compact-table th:nth-child(13){width:96px}#orders .order-compact-table th:nth-child(14){width:90px}#orders .order-compact-table th:nth-child(15){width:98px}#orders .order-compact-table th:nth-child(16){width:62px}.order-route-contact-cell{cursor:pointer;background:#fcfdff}.order-route-contact-cell:hover{background:#f3f7ff!important}.order-route-contact{display:grid;gap:6px;min-width:0}.route-side-line{display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px;align-items:start}.route-side-label{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:900}.route-side-label.start{background:#2458ad}.route-side-label.goal{background:#c53d3d}.route-address{font-weight:800;color:#27364c;white-space:normal;overflow-wrap:anywhere}.route-contact-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:#667085;font-size:10px;margin-top:2px}.route-phone-compact{display:inline-flex;align-items:center;text-decoration:none;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:2px 6px;font-weight:800;white-space:nowrap}.route-no-contact{color:#98a2b3}.route-compact-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;border-top:1px solid #edf1f6;padding-top:5px;color:#475467;font-weight:700}.route-live-tag{font-size:9px;border-radius:999px;padding:2px 6px;font-weight:900}.route-live-tag.live{background:#e8f7f0;color:#0d7651}.route-live-tag.stale{background:#fff4df;color:#94600e}.route-live-tag.waiting{background:#eef2f7;color:#667085}.order-action-compact{text-align:center!important}.order-action-compact .btn{padding:5px 6px!important;font-size:10px!important;white-space:nowrap}.management-compact-note{font-size:10px;color:var(--muted)}
#drivers .table,#customers .table{min-width:980px!important}#drivers .table th,#drivers .table td,#customers .table th,#customers .table td{padding:8px 7px;font-size:11px}
@media(max-width:900px){.business-card-body{grid-template-columns:1fr}.business-card-preview{height:150px}#orders .order-compact-table{min-width:1550px!important}}

.route-contact-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.route-contact-strip>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 10px;border:1px solid #dce4ef;background:#f8fafc;border-radius:9px}.route-contact-strip small{color:var(--muted);font-weight:700}.route-contact-strip strong{color:#27364c}@media(max-width:720px){.route-contact-strip{grid-template-columns:1fr}}


/* ===== Source: assets/css/03-app-messages.css ===== */
/*
 * 03-app-messages.css
 * 고객·기사 전용앱 메시지 및 콜별 대화 UI
 * 원본의 3번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 전용앱 메시지·콜별 대화 기능 복원 패치 */
.order-message-cell{width:124px;min-width:124px;max-width:124px;text-align:center!important;padding:8px 6px!important;white-space:normal!important;vertical-align:middle}
.order-message-box{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:112px}
.message-new-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:4px 9px;border-radius:999px;background:#fff4df;color:#94600e;border:1px solid #f4d29d;font-size:11px;font-weight:900;white-space:nowrap}
.message-new-badge.has-new{background:#ffeded;color:#a82e2e;border-color:#efb1b1;box-shadow:0 0 0 3px rgba(197,61,61,.08)}
.message-action-row{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}
.message-mini-btn{border:1px solid #d7dce5;background:#fff;color:#344054;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;line-height:1.2;cursor:pointer;white-space:nowrap}
.message-mini-btn:hover{background:#eef4ff;border-color:#9db9ef;color:#2458ad}
.message-party-counts{font-size:10px;color:#667085;white-space:nowrap}
.message-name-link{cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.message-name-link:hover{color:#2458ad}
.appmsg-kpis{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;margin-bottom:16px}
.appmsg-kpi{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 15px;box-shadow:var(--shadow)}
.appmsg-kpi small{display:block;color:var(--muted);margin-bottom:5px}.appmsg-kpi b{font-size:19px}
.message-compose-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.message-compose-grid .span2{grid-column:span 2}.message-compose-grid .span4{grid-column:span 4}
.app-api-note{border:1px solid #cfe0ff;background:#f3f7ff;color:#244d8e;padding:10px 12px;border-radius:9px;line-height:1.55;font-size:12px}
.message-preview-box{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;padding:11px 12px;line-height:1.55;min-height:72px;color:#475467}
.message-search-bar{display:grid;grid-template-columns:1fr 1fr 1.5fr 1fr 1fr 2fr auto auto;gap:8px;padding:13px;border-bottom:1px solid var(--line)}
.message-thread{display:flex;flex-direction:column;gap:10px;max-height:470px;overflow:auto;padding:6px 2px}
.message-bubble{max-width:82%;border:1px solid var(--line);border-radius:13px;padding:10px 12px;background:#fff;box-shadow:0 3px 10px rgba(16,24,40,.05);white-space:normal}
.message-bubble.outgoing{align-self:flex-end;background:#eef4ff;border-color:#c8d9fb}.message-bubble.incoming{align-self:flex-start;background:#fff8e8;border-color:#f0d49b}
.message-bubble-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:5px;font-size:11px;color:#667085}
.message-bubble-title{font-weight:900;color:#344054;margin-bottom:4px}.message-bubble-body{line-height:1.55;word-break:break-word;white-space:pre-wrap}
.message-bubble-foot{display:flex;gap:6px;align-items:center;justify-content:flex-end;margin-top:7px;font-size:10px;color:#667085}
.message-thread-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.message-thread-tabs .active{background:#eaf1ff;color:#2458ad;border-color:#a9c3f1}
.message-order-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.message-order-summary>div{border:1px solid var(--line);border-radius:9px;padding:9px 10px;background:#fbfcfe}.message-order-summary small{display:block;color:#667085;margin-bottom:4px}.message-order-summary b{word-break:break-word}
.message-status-line{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.message-nav-count{margin-left:auto!important}
.message-overview-preview{max-width:320px;white-space:normal;line-height:1.45;color:#475467}
.message-unread-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#d64545;margin-right:5px}
#appMessages .table td{vertical-align:top}
#appMessages .table th,#appMessages .table td{white-space:nowrap}
#appMessages .message-history-content{white-space:normal;min-width:260px;max-width:430px;line-height:1.45}
@media(max-width:1250px){.appmsg-kpis{grid-template-columns:repeat(3,1fr)}.message-search-bar{grid-template-columns:repeat(4,1fr)}.message-compose-grid{grid-template-columns:repeat(2,1fr)}.message-compose-grid .span4{grid-column:span 2}.message-order-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.appmsg-kpis,.message-search-bar,.message-compose-grid,.message-order-summary{grid-template-columns:1fr}.message-compose-grid .span2,.message-compose-grid .span4{grid-column:span 1}.message-bubble{max-width:95%}.order-message-cell{min-width:118px}}


/* ===== Source: assets/css/04-orders-table-layout.css ===== */
/*
 * 04-orders-table-layout.css
 * 배차·운행관리 표 정렬, 상세주소, 거리·시간 표시
 * 원본의 4번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 배차·운행관리 표: 열 제목/데이터 1:1 정렬, 상세주소·거리·예상시간, 우측 잘림 방지 */
@media (min-width: 1100px){
  .app{grid-template-columns:230px minmax(0,1fr)}
  .content{max-width:none;padding-left:14px;padding-right:14px}
}
#orders .card{overflow:hidden}
#orders .table-wrap{
  width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;
  scrollbar-gutter:stable;border-radius:0 0 13px 13px;
}
#orders .dispatch-table{
  width:100%;min-width:1360px;table-layout:fixed;border-collapse:collapse;
}
#orders .dispatch-table th,
#orders .dispatch-table td{
  padding:9px 7px;vertical-align:top;font-size:12px;line-height:1.35;
  white-space:normal;overflow-wrap:anywhere;
}
#orders .dispatch-table th{
  font-size:11px;text-align:left;word-break:keep-all;
}
#orders .dispatch-table td.right{white-space:nowrap}
#orders .dispatch-table .mono{word-break:normal}
#orders .dispatch-table .contact-card{min-width:0}
#orders .dispatch-table .contact-card b,
#orders .dispatch-table .contact-sub,
#orders .dispatch-table .phone-link{display:block}
#orders .dispatch-table .phone-link{font-size:11px;margin-top:4px;white-space:nowrap}
.dispatch-route{min-width:0}
.dispatch-route .route-point{
  display:grid;grid-template-columns:31px minmax(0,1fr);gap:4px;
  margin-bottom:4px;line-height:1.35;
}
.dispatch-route .route-label{font-weight:900;color:#475467}
.dispatch-route .route-address{color:#172033;word-break:keep-all;overflow-wrap:anywhere}
.dispatch-route .route-meta{
  display:inline-flex;gap:6px;align-items:center;margin-top:3px;
  padding:4px 7px;border-radius:7px;background:#eef4ff;color:#2458ad;
  font-size:11px;font-weight:800;white-space:nowrap;
}
.dispatch-order-id{font-size:11px;font-weight:900}
.dispatch-platform{margin-top:5px}
.dispatch-compact-time{font-size:11px;line-height:1.5}
.dispatch-compact-time b{display:inline-block;min-width:34px;color:#475467}
.dispatch-actions{display:flex;flex-direction:column;gap:5px}
.dispatch-actions .btn{width:100%;padding:6px 5px;font-size:11px}
#orders .summary-strip{grid-template-columns:repeat(8,minmax(100px,1fr));overflow-x:auto}
@media(max-width:1500px){
  #orders .dispatch-table{min-width:1320px}
  #orders .dispatch-table th,#orders .dispatch-table td{padding:8px 6px;font-size:11px}
  #orders .dispatch-table th{font-size:10.5px}
}
@media(max-width:820px){
  #orders .dispatch-table{min-width:1280px}
  #orders .table-wrap{box-shadow:inset -14px 0 18px -18px rgba(23,32,51,.55)}
}
.route-input-note{font-size:11px;color:#667085;margin-top:4px}


/* 배차·운행 상단 요약지표 삭제 */
#orders #orderSummary{display:none!important;margin:0!important;padding:0!important;border:0!important;height:0!important;min-height:0!important;overflow:hidden!important}


/* ===== Source: assets/css/05-driver-grade-pv-payment.css ===== */
/*
 * 05-driver-grade-pv-payment.css
 * 기사 등급, PV 및 복합결제 관련 UI
 * 원본의 5번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
.grade-badge{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:10px;font-weight:950;font-size:16px;border:1px solid transparent}
.grade-S{background:#171c2b;color:#ffd666;border-color:#4b536a}.grade-A{background:#e8f7f0;color:#087451;border-color:#9bd7bd}.grade-B{background:#eaf1ff;color:#2458ad;border-color:#b9cef7}.grade-C{background:#f1eafe;color:#6636a6;border-color:#d6c2f5}.grade-D{background:#fff4df;color:#94600e;border-color:#f1d29a}.grade-F{background:#ffeded;color:#a82e2e;border-color:#efb0b0}
.score-stack{display:flex;align-items:center;gap:8px;min-width:145px}.score-stack small{display:block;color:var(--muted);margin-top:3px}.driver-inline-code{display:inline-flex;align-items:center;gap:0;white-space:nowrap;font-size:11px;font-weight:900;line-height:1.1;padding:2px 0;color:#475467}.driver-inline-code .dtype{color:#667085}.driver-inline-code .dgrade{margin-left:1px;color:#c53d3d}.driver-inline-code .dscore{margin-left:1px;color:#2458ad}.route-view-controls{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fff}.route-view-controls .btn{padding:6px 8px;font-size:11px}.route-view-controls .btn.active{background:var(--primary2);border-color:var(--primary2);color:#fff}.dispatch-route.compact .route-point{grid-template-columns:26px minmax(0,1fr)}.dispatch-route.compact .route-label{font-size:10px}.dispatch-route.compact .route-address{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-route.compact .route-meta{padding:3px 6px;font-size:10px}.file-preview-box{min-height:108px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;display:grid;place-items:center;overflow:hidden;padding:8px}.file-preview-box img{max-width:100%;max-height:180px;object-fit:contain}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.payment-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}.payment-summary>div{border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff}.payment-summary small{display:block;color:var(--muted);font-size:11px}.payment-summary strong{display:block;margin-top:3px;font-size:14px}.pv-balance{font-weight:900;color:#6941c6}.payment-ok{color:var(--success)}.payment-error{color:var(--danger)}.mini-ledger{font-size:12px;line-height:1.5}.doc-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.extension-note{border-left:4px solid #6941c6;background:#f7f3ff;color:#53389e;padding:10px 12px;border-radius:8px;line-height:1.5}
@media(max-width:820px){.payment-grid{grid-template-columns:1fr 1fr}.payment-summary{grid-template-columns:1fr 1fr}.grade-badge{min-width:30px;height:30px;font-size:14px}}


/* ===== Source: assets/css/06-compact-route-view.css ===== */
/*
 * 06-compact-route-view.css
 * 고밀도 콜 목록과 운행경로 가변 열
 * 원본의 6번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 최종 복원 패치: 콜 목록 고밀도 표시 + 운행경로 가변 열 */
#orders .dispatch-table th,
#orders .dispatch-table td{padding:5px 5px;line-height:1.2}
#orders .dispatch-table .contact-card{gap:2px;padding:0}
#orders .dispatch-table .contact-card b{line-height:1.15}
#orders .dispatch-table .phone-link{margin-top:2px;padding:2px 6px;font-size:10.5px}
#orders .driver-inline-code-final{display:block;white-space:nowrap;font-size:10.5px;font-weight:950;line-height:1.05;margin-top:2px;letter-spacing:-.02em}
#orders .driver-inline-code-final .dtype{color:#667085}
#orders .driver-inline-code-final .dgrade{color:#c53d3d}
#orders .driver-inline-code-final .dscore{color:#2458ad}
#orders .dispatch-route-final{min-width:0}
#orders .dispatch-route-final .route-row-final{display:grid;grid-template-columns:20px minmax(0,1fr);gap:3px;align-items:center;margin-bottom:2px}
#orders .dispatch-route-final .route-mark-final{font-size:9.5px;font-weight:950;color:#667085;white-space:nowrap}
#orders .dispatch-route-final .route-address-final{font-size:11px;font-weight:750;color:#172033;min-width:0}
#orders .dispatch-route-final.route-compact .route-address-final{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#orders .dispatch-route-final .route-meta-final{display:inline-flex;align-items:center;gap:4px;margin-top:2px;padding:2px 6px;border-radius:6px;background:#eef4ff;color:#2458ad;font-size:10px;font-weight:900;white-space:nowrap}
#orders .route-view-controls-final{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;background:#fff}
#orders .route-view-controls-final .btn{padding:5px 7px;font-size:10.5px;line-height:1}
#orders .route-view-controls-final .btn.active{background:var(--primary2);border-color:var(--primary2);color:#fff}
#orders .route-width-value{min-width:42px;text-align:center;color:#667085;font-size:10px;font-weight:800}
#orders .receipt-cell{min-width:78px;gap:3px}
#orders .receipt-line{min-height:21px;padding:2px 4px}
#orders .receipt-line .badge{font-size:9.5px;padding:2px 5px}


/* ===== Source: assets/css/07-route-map-amount-audit.css ===== */
/*
 * 07-route-map-amount-audit.css
 * 운행경로 지도, 금액 수정, 변경이력 UI
 * 원본의 7번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 운행경로 지도 열기 · 금액 더블클릭 수정 · 변경이력 패치 */
#orders td.route-map-clickable{cursor:pointer;position:relative;transition:background .15s ease,box-shadow .15s ease}
#orders td.route-map-clickable:hover{background:#f3f7ff!important;box-shadow:inset 0 0 0 1px #b9cef7}
#orders td.route-map-clickable:focus{outline:2px solid #2f6fe4;outline-offset:-2px;background:#f3f7ff!important}
#orders .route-map-mini{display:inline-flex;align-items:center;margin-left:4px;padding:1px 5px;border-radius:999px;background:#173f8a;color:#fff;font-size:9px;font-weight:900;line-height:1.4;vertical-align:middle}
#orders td.editable-money-cell{cursor:cell;position:relative}
#orders td.editable-money-cell:hover{background:#fff8e8!important;box-shadow:inset 0 0 0 1px #efca7e}
#orders td.editable-money-cell::after{content:'더블클릭';display:block;margin-top:2px;color:#94600e;font-size:8.5px;font-weight:800;opacity:0;transition:opacity .15s}
#orders td.editable-money-cell:hover::after{opacity:1}
.inline-money-editor{width:92px;max-width:100%;border:2px solid #2f6fe4;border-radius:7px;padding:5px 7px;text-align:right;font-weight:900;background:#fff;outline:none;box-shadow:0 0 0 3px rgba(47,111,228,.12)}
.route-map-frame{width:100%;height:420px;border:1px solid #d7dce5;border-radius:12px;background:#eef2f7}
.route-map-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 150px 150px;gap:10px;margin-bottom:12px}
.route-map-info>div{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px;min-width:0}
.route-map-info small{display:block;color:var(--muted);font-size:10px;font-weight:800;margin-bottom:4px}
.route-map-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.route-map-info .route-value strong{color:#2458ad;font-size:17px}
.route-map-actions{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.route-map-actions .route-api-note{font-size:11px;color:var(--muted);line-height:1.45;max-width:680px}
.route-edit-guide{grid-column:span 4;border:1px solid #cfe0ff;background:#f3f7ff;color:#244d8e;padding:10px 12px;border-radius:9px;font-size:12px;line-height:1.5}
@media(max-width:900px){.route-map-info{grid-template-columns:1fr 1fr}.route-map-frame{height:340px}.route-edit-guide{grid-column:span 2}}
@media(max-width:620px){.route-map-info{grid-template-columns:1fr}.route-map-frame{height:300px}.route-edit-guide{grid-column:span 1}}


/* ===== Source: assets/css/08-order-registration-payment-validation.css ===== */
/*
 * 08-order-registration-payment-validation.css
 * 신규 배차 지도와 기사수수료·실지급 검증 UI
 * 원본의 8번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 신규 배차·콜 등록 지도 연동 + 기사수수료 실지급 검증 패치 */
.route-register-panel{grid-column:span 4;border:1px solid #cfe0ff;background:linear-gradient(135deg,#f7faff,#fff);border-radius:12px;padding:12px;margin-top:2px}
.route-register-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.route-register-head strong{font-size:13px;color:#244d8e}
.route-register-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 130px 130px;gap:8px;margin-top:10px}
.route-register-summary>div{border:1px solid #e1e8f5;background:#fff;border-radius:9px;padding:8px 10px;min-width:0}
.route-register-summary small{display:block;color:#667085;font-size:10px;font-weight:800;margin-bottom:3px}
.route-register-summary b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.route-register-map{width:100%;height:320px;border:1px solid #d7dce5;border-radius:10px;background:#eef2f7;margin-top:10px;display:none}
.route-register-map.open{display:block}
.route-register-note{font-size:11px;color:#667085;line-height:1.5;margin-top:8px}
.commission-preview-box{grid-column:span 4;border:1px solid #b7d7c8;background:#f2fbf7;border-radius:11px;padding:11px 12px}
.commission-preview-grid{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:8px}
.commission-preview-grid>div{background:#fff;border:1px solid #d8ece2;border-radius:8px;padding:8px 10px}
.commission-preview-grid small{display:block;color:#667085;font-size:10px;font-weight:800;margin-bottom:3px}
.commission-preview-grid strong{font-size:13px;color:#067647}
.commission-formula{margin-top:8px;font-size:11px;color:#475467;line-height:1.5}
#dashboardRecentOrders td.dashboard-route-map{cursor:pointer;position:relative}
#dashboardRecentOrders td.dashboard-route-map:hover{background:#f3f7ff!important;box-shadow:inset 0 0 0 1px #b9cef7}
.dashboard-route-badge{display:inline-flex;margin-left:4px;padding:1px 5px;border-radius:999px;background:#173f8a;color:#fff;font-size:9px;font-weight:900}
.settlement-formula-line{display:block;color:#667085;font-size:10px;line-height:1.4;margin-top:3px;white-space:normal}
@media(max-width:900px){.route-register-summary{grid-template-columns:1fr 1fr}.commission-preview-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.route-register-panel,.commission-preview-box{grid-column:span 1}.route-register-summary,.commission-preview-grid{grid-template-columns:1fr}.route-register-map{height:280px}}


/* 2026-07-26 배차·콜등록 업무효율 개선 */
.order-modal-layout{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
  align-items:start;grid-auto-flow:row
}
.order-workflow-modal{width:calc(100vw - 32px);max-width:1520px}
.order-workflow-modal .modal-body{overflow-x:hidden}
.order-modal-layout>.order-modal-hero{grid-column:1 / -1!important;width:100%;min-width:0;box-sizing:border-box}
.order-modal-layout>.order-modal-section,
.order-modal-layout>.qualification-order-section{min-width:0;height:auto;max-width:100%;box-sizing:border-box}
.order-modal-layout>.qualification-order-section{margin:0}
.order-modal-layout>.order-modal-section *,
.order-modal-layout>.qualification-order-section *{min-width:0;box-sizing:border-box}
.order-modal-layout>.order-modal-section .order-modal-grid,
.order-modal-layout>.qualification-order-section .qualification-order-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.order-modal-layout>.order-modal-section .order-modal-grid>.span3,
.order-modal-layout>.order-modal-section .order-modal-grid>.span4,
.order-modal-layout>.qualification-order-section .qualification-order-grid>.span4,
.order-modal-layout>.qualification-order-section .order-driver-eligibility-panel{grid-column:span 2}
.order-modal-layout>.order-modal-section .order-app-grid{grid-template-columns:1fr}
.order-modal-layout>.order-modal-section .order-money-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.order-modal-layout>.order-modal-section .payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.order-modal-layout>.order-modal-section .payment-summary,
.order-modal-layout>.order-modal-section .commission-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.order-modal-layout>.order-modal-section .route-register-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.order-modal-layout>.order-modal-section .route-register-panel,
.order-modal-layout>.order-modal-section .commission-preview-box,
.order-modal-layout>.order-modal-section .payment-grid,
.order-modal-layout>.order-modal-section .payment-summary,
.order-modal-layout>.order-modal-section .form-section-title{grid-column:1 / -1!important;width:100%}
.order-modal-layout h4,
.order-modal-layout h5,
.order-modal-layout h6,
.order-modal-layout p,
.order-modal-layout label,
.order-modal-layout small,
.order-modal-layout .callout,
.order-modal-layout .order-modal-note{word-break:keep-all;overflow-wrap:break-word}
.order-modal-layout input,
.order-modal-layout select,
.order-modal-layout textarea{width:100%;max-width:100%}

/* 6. 금액·결제·정산: 화면 최하단 전체 폭 단일 열 */
.order-modal-layout>.order-finance-section{
  grid-column:1 / -1!important;
  width:100%;
  max-width:none;
}
.order-modal-layout>.order-app-intake-section{
  grid-column:1 / -1!important;
  width:100%;
  max-width:none;
}
.order-modal-layout>.order-finance-section .order-modal-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.order-modal-layout>.order-finance-section .order-modal-grid>.span4,
.order-modal-layout>.order-finance-section .pg-order-payment-panel,
.order-modal-layout>.order-finance-section .expense-final-preview,
.order-modal-layout>.order-finance-section .expense-receipt-manager{
  grid-column:1 / -1!important;
}
.order-modal-layout>.order-finance-section .order-money-summary{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.order-modal-layout>.order-finance-section .payment-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.order-modal-layout>.order-finance-section .payment-summary,
.order-modal-layout>.order-finance-section .commission-preview-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.order-modal-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #d6e4ff;background:linear-gradient(135deg,#f7faff 0%,#eef4ff 100%);border-radius:14px}
.order-modal-hero h4{margin:0 0 4px;font-size:17px;color:#153b7a}
.order-modal-hero p{margin:0;color:#475467;line-height:1.5}
.order-modal-chip-wrap{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.order-modal-chip{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;border:1px solid #cfe0ff;background:#fff;color:#244d8e;font-size:12px;font-weight:800;white-space:nowrap}
.order-modal-section{border:1px solid #e6ebf5;background:#fff;border-radius:14px;padding:16px}
.order-modal-section + .order-modal-section{margin-top:0}
.order-modal-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin:-16px -16px 14px;
  padding:12px 14px;
  border-bottom:1px solid #dce8fb;
  border-radius:14px 14px 0 0;
  background:#eef4ff;
}
.order-modal-section-head h5{margin:0;font-size:15px;color:#1d2939}
.order-modal-section-head p{margin:4px 0 0;color:#667085;font-size:12px;line-height:1.5}
.order-modal-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:800;white-space:nowrap}
.order-modal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.order-modal-grid .span2{grid-column:span 2}.order-modal-grid .span3{grid-column:span 3}.order-modal-grid .span4{grid-column:span 4}
.order-modal-note{padding:10px 12px;border:1px dashed #c8d5eb;border-radius:10px;background:#fbfcfe;color:#475467;font-size:12px;line-height:1.6}
.order-modal-note strong{color:#1d2939}
.order-money-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.order-money-card{border:1px solid #dce6f5;background:#f8fbff;border-radius:12px;padding:12px}
.order-money-card small{display:block;font-size:11px;color:#667085;font-weight:800;margin-bottom:6px}
.order-money-card strong{display:block;font-size:18px;color:#153b7a}
.order-money-card .sub{display:block;margin-top:4px;font-size:11px;color:#667085;line-height:1.4}
.order-money-card.emphasis{border-color:#c6f0d6;background:#f2fbf7}
.order-money-card.emphasis strong{color:#067647}
.order-money-card.down{border-color:#f3caca;background:#fff7f7}
.order-money-card.down strong{color:#b42318}
.order-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.order-app-panel{border:1px solid #e4e7ec;border-radius:12px;padding:14px;background:#fcfcfd}
.order-app-panel h6{margin:0 0 8px;font-size:14px;color:#344054}
.order-app-panel .muted{line-height:1.6}
.field label .editable-tag{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;background:#eff8ff;color:#175cd3;font-size:10px;font-weight:900;vertical-align:middle}
@media(max-width:1050px){
  .order-workflow-modal{width:calc(100vw - 20px)}
  .order-modal-layout{grid-template-columns:1fr}
  .order-modal-layout>.order-modal-hero{grid-column:1!important}
  .order-modal-grid,.order-money-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-modal-layout>.order-finance-section .order-modal-grid,
  .order-modal-layout>.order-finance-section .order-money-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-modal-layout>.order-finance-section .payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .order-modal-layout>.order-finance-section .payment-summary,
  .order-modal-layout>.order-finance-section .commission-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .order-workflow-modal{width:calc(100vw - 12px)}
  .order-workflow-modal .modal-body{padding:12px}
  .order-modal-layout{gap:12px}
  .order-modal-hero{flex-direction:column}
  .order-modal-chip-wrap{justify-content:flex-start}
  .order-modal-section{padding:12px}
  .order-modal-section-head{margin:-12px -12px 12px;padding:11px 12px}
  .order-modal-grid,.order-money-summary,
  .order-modal-layout>.order-finance-section .order-modal-grid,
  .order-modal-layout>.order-finance-section .order-money-summary,
  .order-modal-layout>.order-modal-section .payment-grid,
  .order-modal-layout>.order-modal-section .payment-summary,
  .order-modal-layout>.order-modal-section .commission-preview-grid,
  .order-modal-layout>.order-modal-section .route-register-summary{grid-template-columns:1fr}
  .order-modal-grid .span2,.order-modal-grid .span3,.order-modal-grid .span4{grid-column:span 1}
}

body[data-theme='dark'] .order-modal-section-head{
  background:#14233c;
  border-bottom-color:#2b4771;
}


/* ===== Source: assets/css/09-live-driver-tracking.css ===== */
/*
 * 09-live-driver-tracking.css
 * 운행중 기사 실시간 위치 추적 UI
 * 원본의 9번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 운행중 기사 실시간 위치 추적 */
.live-track-badge{display:inline-flex;align-items:center;gap:4px;margin-left:4px;padding:1px 6px;border-radius:999px;font-size:9px;font-weight:900;line-height:1.45;white-space:nowrap;vertical-align:middle;border:1px solid transparent}
.live-track-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.live-track-badge.live{background:#e8f7f0;color:#0d7651;border-color:#a7dec8}
.live-track-badge.live::before{box-shadow:0 0 0 3px rgba(13,118,81,.14);animation:liveLocationPulse 1.4s infinite}
.live-track-badge.waiting{background:#fff4df;color:#94600e;border-color:#f0cf91}
.live-track-badge.stale{background:#fff0e6;color:#b54708;border-color:#f5c19c}
.live-track-badge.ended{background:#eef2f7;color:#667085;border-color:#d5dbe4}
@keyframes liveLocationPulse{0%,100%{transform:scale(.9);opacity:.75}50%{transform:scale(1.25);opacity:1}}
.live-route-strip{display:grid;grid-template-columns:140px minmax(0,1fr) 160px 150px;gap:8px;margin:0 0 12px}
.live-route-strip>div{border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:#fbfcfe;min-width:0}
.live-route-strip small{display:block;font-size:10px;font-weight:800;color:var(--muted);margin-bottom:3px}
.live-route-strip strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-route-strip .live-status-card strong{color:#0d7651}
.live-tracking-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px}
.live-map-panel{min-width:0}
.live-driver-map{width:100%;height:430px;border:1px solid #d7dce5;border-radius:12px;background:#eef2f7}
.live-side-panel{display:flex;flex-direction:column;gap:10px}
.live-info-card{border:1px solid var(--line);border-radius:11px;background:#fff;padding:11px 12px}
.live-info-card h4{margin:0 0 9px;font-size:13px}
.live-kv{display:grid;grid-template-columns:92px minmax(0,1fr);gap:6px 8px;font-size:11px;line-height:1.45}
.live-kv span:nth-child(odd){color:var(--muted);font-weight:800}
.live-kv span:nth-child(even){font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-progress{height:8px;background:#edf1f7;border-radius:99px;overflow:hidden;margin-top:9px}
.live-progress>span{display:block;height:100%;background:#2f6fe4;border-radius:99px}
.live-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.live-control-grid .btn{padding:7px 8px;font-size:11px}
.live-history{max-height:185px;overflow:auto;border:1px solid var(--line);border-radius:9px}
.live-history table{width:100%;border-collapse:collapse;font-size:10px}
.live-history th,.live-history td{padding:6px 7px;border-bottom:1px solid #eef1f5;text-align:left;white-space:nowrap}
.live-history th{background:#f8fafc;color:#667085;position:sticky;top:0}
.live-empty-map{height:430px;border:1px dashed #b9c4d4;border-radius:12px;background:#f8fafc;display:grid;place-items:center;text-align:center;color:#667085;padding:28px;line-height:1.6}
.location-api-note{font-size:10.5px;color:#667085;line-height:1.5;margin-top:8px}
.location-setting-note{grid-column:span 4;border:1px solid #cfe0ff;background:#f3f7ff;color:#244d8e;padding:10px 12px;border-radius:9px;font-size:11px;line-height:1.55}
@media(max-width:1000px){.live-tracking-layout{grid-template-columns:1fr}.live-side-panel{display:grid;grid-template-columns:1fr 1fr}.live-route-strip{grid-template-columns:1fr 1fr}.live-driver-map,.live-empty-map{height:350px}}
@media(max-width:700px){.live-side-panel{grid-template-columns:1fr}.live-route-strip{grid-template-columns:1fr}.live-driver-map,.live-empty-map{height:300px}.location-setting-note{grid-column:span 1}}


/* ===== Source: assets/css/10-naver-map-bulk-settlement.css ===== */
/*
 * 10-naver-map-bulk-settlement.css
 * 네이버 지도, 건별정산, 대량 콜 업로드 UI
 * 원본의 10번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* NAVER 지도·건별정산·대량 콜 업로드 추가 패치 */
.naver-map-canvas{width:100%;height:430px;border:1px solid #dfe5ed;border-radius:12px;background:#eef3f8;overflow:hidden;position:relative}
.naver-map-canvas.compact{height:330px}.naver-map-empty{height:100%;display:grid;place-items:center;text-align:center;color:#667085;padding:24px;line-height:1.65;background:linear-gradient(135deg,#f8fafc,#edf3f9)}
.naver-map-empty b{display:block;color:#173f8a;font-size:15px;margin-bottom:5px}.naver-map-loading{position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.88);z-index:4;color:#173f8a;font-weight:800}
.naver-api-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:#667085;margin-top:8px}.naver-api-status .badge{font-size:10px}
.naver-route-result{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.naver-route-result>div{padding:10px;border:1px solid #e6eaf0;border-radius:9px;background:#fff}.naver-route-result small{display:block;color:#667085;margin-bottom:4px}.naver-route-result b{font-size:13px}
.call-detail-panel{border-top:1px solid #e6eaf0;margin-top:14px;padding:16px 16px 4px;background:#fbfcfe}.call-detail-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px}.call-detail-head h4{margin:0;font-size:15px}.call-detail-head p{margin:4px 0 0;color:#667085;font-size:11px}.call-detail-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-bottom:10px}.call-detail-summary>div{padding:9px 10px;border:1px solid #e6eaf0;border-radius:8px;background:#fff}.call-detail-summary small{display:block;color:#667085;font-size:10px;margin-bottom:3px}.call-detail-summary strong{font-size:13px}.call-group-row td{background:#eef4ff!important;color:#244d8e;font-weight:800;border-top:2px solid #cfe0ff}.call-group-row .muted{font-weight:500;margin-left:8px}.call-detail-table td{font-size:11.5px}.call-detail-table .route-small{max-width:310px;overflow:hidden;text-overflow:ellipsis;display:block}.call-detail-table tfoot td{background:#f3f6fa;font-weight:900;border-top:2px solid #cfd8e3}
.bulk-import-box{display:grid;gap:12px}.bulk-guide{padding:12px 14px;border:1px solid #cfe0ff;border-radius:10px;background:#f3f7ff;color:#244d8e;line-height:1.65;font-size:12px}.bulk-upload-zone{border:2px dashed #b8c6d9;border-radius:12px;padding:24px;text-align:center;background:#fbfcfe}.bulk-upload-zone input{max-width:100%}.bulk-preview-wrap{max-height:390px;overflow:auto;border:1px solid #e6eaf0;border-radius:10px}.bulk-preview-table{min-width:1450px}.bulk-valid{color:#067647;font-weight:800}.bulk-error{color:#b42318;font-weight:800}.bulk-error-list{max-height:120px;overflow:auto;padding:8px 12px;border:1px solid #f4b7b7;background:#fff6f6;border-radius:8px;font-size:11px;line-height:1.55}.bulk-option-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:9px 12px;border:1px solid #e6eaf0;border-radius:9px;background:#fff}.bulk-option-row label{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:700}
.naver-setting-note{grid-column:span 4;border:1px solid #b7e0cf;background:#f0faf6;color:#176448;padding:11px 13px;border-radius:9px;font-size:11px;line-height:1.6}.naver-setting-note code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#fff;padding:1px 4px;border-radius:4px}
@media(max-width:1000px){.call-detail-summary{grid-template-columns:repeat(3,1fr)}.naver-route-result{grid-template-columns:repeat(2,1fr)}.naver-setting-note{grid-column:span 2}}
@media(max-width:700px){.naver-map-canvas{height:330px}.call-detail-summary{grid-template-columns:repeat(2,1fr)}.call-detail-head{align-items:flex-start;flex-direction:column}.naver-route-result{grid-template-columns:1fr}.naver-setting-note{grid-column:span 1}}


/* ===== Source: assets/css/11-final-charge-driver-receipts.css ===== */
/*
 * 11-final-charge-driver-receipts.css
 * 고객접수금액, 기사실비 영수증, 최종청구 UI
 * 원본의 11번째 style 블록에서 분리됨. 로딩 순서를 변경하지 마십시오.
 */
/* 고객접수금액·기사실비·최종청구 연동 패치 */
.final-charge-field input{font-weight:900;background:#eef6ff!important;color:#174a8b!important;border-color:#9fc4f4!important}
.expense-final-preview{grid-column:span 4;border:1px solid #b7d5f6;background:linear-gradient(135deg,#f4f9ff,#fff);border-radius:12px;padding:13px 14px}
.expense-final-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px}
.expense-final-grid>div{border:1px solid #dbe8f7;background:#fff;border-radius:9px;padding:9px 10px}
.expense-final-grid small{display:block;color:#667085;font-size:11px;margin-bottom:4px}
.expense-final-grid strong{font-size:14px;color:#173f8a}
.expense-breakdown-line{margin-top:9px;color:#475467;font-size:12px;line-height:1.55}
.money-base-cell{background:#fffaf0!important}
.money-final-cell{background:#f1f7ff!important;font-weight:900;color:#174a8b}
.driver-expense-cell{font-size:12px;line-height:1.5;min-width:125px}
.driver-expense-cell b{display:block;color:#173f8a}
.call-detail-table.expense-wide{min-width:2450px!important}
.call-detail-table.expense-wide th,.call-detail-table.expense-wide td{padding-left:8px;padding-right:8px}
.final-charge-note{display:block;margin-top:3px;font-size:10px;color:#667085;white-space:normal}
@media(max-width:1200px){.expense-final-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.expense-final-preview{grid-column:span 1}.expense-final-grid{grid-template-columns:1fr}}


/* ===== Source: assets/css/12-naver-precise-location-parking.css ===== */
/* 2026-07-26 NAVER 정확 위치·주차안내·접기/펼치기 */
.order-collapse{grid-column:1/-1;border:1px solid #dbe5f4;border-radius:13px;background:#fff;overflow:hidden}
.order-collapse-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fbff;border-bottom:1px solid #e5edf8}
.order-collapse-head strong{display:block;color:#1d3f76;font-size:14px}.order-collapse-head small{display:block;margin-top:3px;color:#667085;line-height:1.45}
.order-collapse-body{padding:14px}.order-collapse-body.collapsed{display:none}
.order-collapse-toggle{min-width:94px}
.route-register-panel.naver-required{padding:0;overflow:hidden;border-color:#b9d2ff;background:#fff}
.route-register-panel.naver-required>.route-register-head{padding:12px 14px;background:linear-gradient(135deg,#f4f8ff,#edf4ff);border-bottom:1px solid #dce8fb}
.route-register-panel.naver-required>.route-register-body{padding:14px}
.route-register-required{display:inline-flex;align-items:center;margin-left:7px;padding:2px 7px;border-radius:999px;background:#fee4e2;color:#b42318;font-size:10px;font-weight:900}
.precise-map-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 10px;padding:10px;border:1px solid #dbe7f8;border-radius:11px;background:#f8fbff}
.precise-map-side-buttons,.precise-map-actions{display:flex;gap:7px;flex-wrap:wrap}
.precise-side-btn.active{background:#175cd3;color:#fff;border-color:#175cd3}
.precise-side-btn.arrival.active{background:#b42318;border-color:#b42318}
.precise-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.precise-location-card{border:1px solid #e1e7ef;border-radius:11px;background:#fff;padding:11px 12px;min-width:0}
.precise-location-card .head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:6px}
.precise-location-card small{color:#667085}.precise-location-card b{color:#344054}.precise-location-card .coord{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#2458ad;word-break:break-all}.precise-location-card .addr{margin-top:5px;font-size:12px;color:#475467;line-height:1.45}
.precise-location-card.confirmed{border-color:#9bd6b6;background:#f3fbf7}.precise-location-card.confirmed .head b{color:#067647}
.precise-map-guide{font-size:12px;line-height:1.55;color:#475467;margin:9px 0}.precise-map-guide b{color:#b42318}
.parking-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.parking-guide-card{border:1px solid #e1e7ef;border-radius:12px;padding:13px;background:#fcfcfd}
.parking-guide-card h6{margin:0 0 3px;font-size:14px;color:#344054}.parking-guide-card>p{margin:0 0 10px;color:#667085;font-size:11px;line-height:1.45}
.parking-guide-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}
.parking-guide-thumb{position:relative;aspect-ratio:4/3;border:1px solid #d8dee8;border-radius:9px;overflow:hidden;background:#eef2f6}
.parking-guide-thumb img{width:100%;height:100%;object-fit:cover;display:block}.parking-guide-thumb button{position:absolute;right:4px;top:4px;width:25px;height:25px;border:0;border-radius:50%;background:rgba(0,0,0,.68);color:#fff;font-weight:900;cursor:pointer}
.parking-guide-empty{grid-column:1/-1;padding:16px 8px;text-align:center;border:1px dashed #cbd5e1;border-radius:9px;color:#667085;font-size:11px;background:#fff}
.parking-guide-count{display:inline-flex;padding:3px 7px;border-radius:999px;background:#eff8ff;color:#175cd3;font-size:10px;font-weight:900}
.business-card-collapse .business-card-panel{grid-column:span 2}.business-card-collapse .order-modal-grid{align-items:start}
@media(max-width:820px){.precise-location-grid,.parking-guide-grid{grid-template-columns:1fr}.parking-guide-gallery{grid-template-columns:repeat(2,1fr)}.business-card-collapse .business-card-panel{grid-column:span 1}}


/* ===== Source: assets/css/13-quick-dispatch-inline.css ===== */
.quick-dispatch-host{margin-top:12px}
.quick-dispatch-card{border:1px solid #dbe4f0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px rgba(16,24,40,.04)}
.quick-dispatch-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid #e8eef5;background:linear-gradient(180deg,#fbfdff 0%,#f6f9ff 100%)}
.quick-dispatch-head h4{margin:0 0 4px;color:#1d2939}
.quick-dispatch-head p{margin:0;color:#667085;font-size:13px;line-height:1.5}
.quick-dispatch-actions{display:flex;gap:8px;flex-wrap:wrap}
.quick-dispatch-body{padding:16px 18px}
.quick-dispatch-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 12px}
.quick-dispatch-grid .span2{grid-column:span 2}
.quick-dispatch-grid .span3{grid-column:span 3}
.quick-dispatch-grid .span4{grid-column:span 4}
.quick-dispatch-grid .span6{grid-column:span 6}
.quick-dispatch-grid .field{margin:0}
.quick-dispatch-grid .field label{font-size:12px;font-weight:800;color:#475467;margin-bottom:5px;display:block}
.quick-dispatch-grid input,.quick-dispatch-grid select,.quick-dispatch-grid textarea{width:100%;border:1px solid #cfd8e3;border-radius:10px;padding:9px 10px;font-size:13px;background:#fff}
.quick-dispatch-grid textarea{min-height:72px;resize:vertical}
.quick-dispatch-grid input:focus,.quick-dispatch-grid select:focus,.quick-dispatch-grid textarea:focus{outline:none;border-color:#7ba8ff;box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.quick-dispatch-note{margin-top:12px;padding:12px 14px;border:1px dashed #c6d1e1;border-radius:10px;background:#fafcff;color:#475467;font-size:12px;line-height:1.6}
.quick-dispatch-note b{color:#1d2939}
.quick-dispatch-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.quick-dispatch-summary>div{border:1px solid #e3eaf4;border-radius:12px;background:#f8fbff;padding:11px 12px}
.quick-dispatch-summary small{display:block;color:#667085;font-size:11px;font-weight:800;margin-bottom:5px}
.quick-dispatch-summary strong{display:block;color:#1d4ed8;font-size:17px}
.quick-inline-tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-size:11px;font-weight:800}
@media(max-width:1200px){.quick-dispatch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-dispatch-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.quick-dispatch-head{flex-direction:column}.quick-dispatch-grid,.quick-dispatch-summary{grid-template-columns:1fr}.quick-dispatch-grid .span2,.quick-dispatch-grid .span3,.quick-dispatch-grid .span4,.quick-dispatch-grid .span6{grid-column:span 1}}
.quick-dispatch-card .order-collapse{margin-bottom:0}
.quick-dispatch-card .naver-map-canvas.compact{min-height:320px;border:1px solid #dbe5f4;border-radius:12px;overflow:hidden;background:#f8fafc}
.quick-dispatch-card .order-app-panel .field{margin-bottom:10px}
.quick-dispatch-card .muted{color:#667085;font-size:12px;line-height:1.5}


/* ===== Source: assets/css/14-order-stage-board.css ===== */
/* 배차·운행 진행단계: 데스크톱 한 줄 고정·콤팩트 레이아웃 */
.order-stage-board{
  display:grid;
  grid-template-columns:repeat(7,minmax(88px,1fr)) minmax(170px,1.35fr);
  gap:5px;
  align-items:stretch;
  width:100%;
  margin:0 0 8px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.order-stage-tile{
  position:relative;
  min-width:0;
  min-height:46px;
  padding:5px 7px;
  border:1px solid #294768;
  border-radius:7px;
  background:linear-gradient(180deg,#15263d 0%,#101d30 100%);
  color:#eef4ff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.order-stage-tile .label{
  display:block;
  max-width:100%;
  color:#d3e3ff;
  font-size:10px;
  font-weight:750;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.order-stage-tile .value{
  margin-top:2px;
  color:#fff;
  font-size:21px;
  font-weight:900;
  line-height:1;
}
.order-stage-tile.is-clickable{cursor:pointer;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}
.order-stage-tile.is-clickable:hover{transform:translateY(-1px);border-color:#62a3ff;box-shadow:0 0 0 1px rgba(98,163,255,.18),0 4px 10px rgba(8,15,28,.18)}
.order-stage-tile.active{border-color:#62a3ff;box-shadow:0 0 0 1px rgba(98,163,255,.35),inset 0 0 0 1px rgba(98,163,255,.18)}
.order-stage-tile.active::after{content:'';position:absolute;inset:0;border-radius:7px;box-shadow:inset 0 0 0 1px rgba(98,163,255,.4);pointer-events:none}
.order-stage-tile.meta{background:linear-gradient(180deg,#13253a 0%,#0f1f31 100%)}

.order-stage-platform{
  min-width:170px;
  min-height:46px;
  padding:5px 7px;
  border:1px solid #d8e0eb;
  border-radius:7px;
  background:#fff;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:7px;
  box-shadow:0 2px 6px rgba(16,24,40,.035);
}
.order-stage-platform label{
  margin:0;
  color:#344054;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
.order-stage-platform-controls,
.order-stage-platform-controls.auto-only{
  display:block;
  min-width:0;
}
.order-stage-platform select{
  width:100%;
  min-width:0;
  height:32px;
  padding:0 8px;
  border:1px solid #cfd8e5;
  border-radius:7px;
  background:#fff;
  color:#101828;
  font-size:11px;
  font-weight:700;
  outline:none;
}
.order-stage-platform select:focus{border-color:#4f8df7;box-shadow:0 0 0 2px rgba(79,141,247,.14)}

/* 안내문으로 두 번째 행이 생기지 않도록 제거 */
.order-stage-board-help{display:none!important}

body[data-theme='dark'] .order-stage-platform{border-color:#31415c;background:#101827}
body[data-theme='dark'] .order-stage-platform label{color:#dbe7f8}
body[data-theme='dark'] .order-stage-platform select{border-color:#394b68;background:#0f1a2c;color:#eef4ff}

/* 좁은 화면에서도 줄바꿈하지 않고 한 줄 유지 */
@media(max-width:1100px){
  .order-stage-board{grid-template-columns:repeat(7,92px) 170px;padding-bottom:3px}
}
@media(max-width:700px){
  .order-stage-board{grid-template-columns:repeat(7,86px) 158px;gap:4px}
  .order-stage-tile{min-height:43px;padding:4px 6px}
  .order-stage-tile .label{font-size:9px}
  .order-stage-tile .value{font-size:19px}
  .order-stage-platform{min-width:158px;min-height:43px;padding:4px 6px;gap:5px}
  .order-stage-platform select{height:30px;font-size:10px}
}


/* ===== Source: assets/css/15-driver-receipt-verify-enhancement.css ===== */

.driver-expense-verify-panel{grid-column:1/-1;border:1px solid #cfe1f8;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);border-radius:14px;padding:14px 14px 12px;margin-top:8px}
.driver-expense-verify-panel .panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:10px}
.driver-expense-verify-panel .panel-head h4{margin:0;font-size:15px;color:#173f8a}
.driver-expense-verify-panel .panel-head p{margin:4px 0 0;color:#667085;font-size:12px;line-height:1.45}
.driver-expense-verify-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.driver-expense-verify-card{border:1px solid #d8e6f8;border-radius:12px;background:#fff;padding:11px;display:flex;flex-direction:column;gap:8px;min-width:0}
.driver-expense-verify-card.pending{border-color:#f2c36c;background:#fffaf0}.driver-expense-verify-card.approved{border-color:#9bd7bd;background:#f2fbf7}.driver-expense-verify-card.rejected{border-color:#efaaaa;background:#fff6f6}.driver-expense-verify-card.missing{border-style:dashed;background:#fbfcfe}
.driver-expense-verify-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.driver-expense-verify-top h5{margin:0;font-size:13px;color:#101828}
.driver-expense-verify-amount{font-size:18px;font-weight:900;color:#173f8a;line-height:1}
.driver-expense-verify-preview{height:160px;border:1px dashed #cdd5df;border-radius:10px;background:#f8fafc;display:grid;place-items:center;overflow:hidden;color:#98a2b3;font-size:11px;text-align:center;padding:6px;cursor:pointer}
.driver-expense-verify-preview img{max-width:100%;max-height:158px;object-fit:contain}
.driver-expense-verify-meta{font-size:11px;color:#667085;line-height:1.5}
.driver-expense-verify-edit{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:6px}
.driver-expense-verify-edit input{width:100%;height:38px;border:1px solid #cfd8e5;border-radius:9px;padding:0 10px}
.driver-expense-verify-edit button{height:38px}
.driver-expense-verify-input-label{margin-top:4px;font-size:12px;font-weight:800;color:#344054}
.driver-expense-verify-actions{display:flex;flex-wrap:wrap;gap:6px}
.driver-expense-verify-empty{padding:18px;border:1px dashed #d0d5dd;border-radius:12px;background:#fff;color:#667085;text-align:center}
.driver-expense-verify-modal .driver-expense-verify-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.driver-expense-verify-note{font-size:11px;color:#667085;line-height:1.45}
@media(max-width:1200px){.driver-expense-verify-grid,.driver-expense-verify-modal .driver-expense-verify-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.driver-expense-verify-grid,.driver-expense-verify-modal .driver-expense-verify-grid{grid-template-columns:1fr}.driver-expense-verify-edit{grid-template-columns:1fr}.driver-expense-verify-panel .panel-head{flex-direction:column;align-items:flex-start}}


/* ===== Source: assets/css/16-driver-receipt-ocr-sample.css ===== */
.driver-expense-ocr-box{border-top:1px dashed #d5ddeb;padding-top:8px;margin-top:2px}
.driver-expense-ocr-row{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.driver-expense-ocr-row strong{font-size:12px;color:#101828}.driver-expense-ocr-row span{font-size:11px;color:#667085}
.driver-expense-ocr-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:900}
.driver-expense-ocr-status.ok{background:#e8f7f0;color:#0d7651}
.driver-expense-ocr-status.warn{background:#fff1f3;color:#b42318}
.driver-expense-ocr-status.pending{background:#eef2f7;color:#475467}
.driver-expense-ocr-status.run{background:#eef4ff;color:#175cd3}
.driver-expense-ocr-meta{margin-top:4px;font-size:11px;color:#667085;line-height:1.45;max-height:68px;overflow:auto;background:#fafbfc;border:1px solid #eef2f6;border-radius:8px;padding:6px}
.driver-expense-verify-actions .btn.warning{border-color:#f79009;background:#fffaeb;color:#b54708}
.driver-expense-verify-panel .panel-head .panel-actions{display:flex;gap:6px;flex-wrap:wrap}
.driver-expense-verify-sample{margin-top:8px;font-size:11px;color:#667085;line-height:1.45}
.driver-expense-photo-guide{margin-top:-2px;font-size:11px;color:#175cd3;line-height:1.4}
.receipt-original-overlay{position:fixed;inset:0;z-index:10050;background:rgba(15,23,42,.76);display:flex;align-items:center;justify-content:center;padding:20px}
.receipt-original-panel{width:min(1100px,96vw);height:min(900px,94vh);background:#fff;border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}
.receipt-original-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid #e4e7ec}
.receipt-original-head h3{margin:0;font-size:18px}.receipt-original-head p{margin:4px 0 0;color:#667085;font-size:12px}
.receipt-original-head button{border:1px solid #d0d5dd;background:#fff;border-radius:9px;padding:8px 14px;font-weight:800;cursor:pointer}
.receipt-original-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:16px;background:#f2f4f7;overflow:auto}
.receipt-original-body img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff}
@media(max-width:760px){.receipt-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-sample-head{flex-direction:column}}


/* ===== Source: assets/css/17-orders-column-final.css ===== */
/* 배차목록 최종 열 구성 및 압축 표시 */
#orders .dispatch-final-table{
  width:100%;
  min-width:2200px;
  table-layout:fixed;
  border-collapse:collapse;
}
#orders .dispatch-final-table th,
#orders .dispatch-final-table td{
  padding:5px 6px;
  vertical-align:middle;
  font-size:11px;
  line-height:1.25;
}
#orders .dispatch-final-table th{
  white-space:nowrap;
  font-size:10.5px;
}
#orders .dispatch-final-table th:nth-child(1){width:104px}
#orders .dispatch-final-table th:nth-child(2){width:58px}
#orders .dispatch-final-table th:nth-child(3){width:116px}
#orders .dispatch-final-table th:nth-child(4){width:76px}
#orders .dispatch-final-table th:nth-child(5){width:122px}
#orders .dispatch-final-table th:nth-child(6){width:116px}
#orders .dispatch-final-table th:nth-child(7){width:84px}
#orders .dispatch-final-table th:nth-child(8){width:470px}
#orders .dispatch-final-table th:nth-child(9){width:108px}
#orders .dispatch-final-table th:nth-child(10){width:108px}
#orders .dispatch-final-table th:nth-child(11){width:108px}
#orders .dispatch-final-table th:nth-child(12){width:102px}
#orders .dispatch-final-table th:nth-child(13){width:138px}
#orders .dispatch-final-table th:nth-child(14){width:96px}
#orders .dispatch-final-table th:nth-child(15){width:96px}
#orders .dispatch-final-table th:nth-child(16){width:118px}
#orders .dispatch-final-table th:nth-child(17){width:156px}
#orders .dispatch-final-table .order-date-id b,
#orders .dispatch-final-table .order-date-id span,
#orders .dispatch-final-table .cell-sub{
  display:block;
}
#orders .dispatch-final-table .cell-sub{
  margin-top:2px;
  color:#667085;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#orders .dispatch-final-table .customer-driver-cell{white-space:normal}
#orders .dispatch-final-table .order-party-entry{min-width:0}
#orders .dispatch-final-table .order-party-entry.customer{
  margin-bottom:5px;padding-bottom:5px;border-bottom:1px dashed var(--line)
}
#orders .dispatch-final-table .payment-method-cell{text-align:center}
#orders .dispatch-final-table .order-payment-method{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap;background:#f2f4f7;color:#475467}
#orders .dispatch-final-table .order-payment-method.cash{background:#e8f7f0;color:#087443}
#orders .dispatch-final-table .order-payment-method.card{background:#eef4ff;color:#2458ad}
#orders .dispatch-final-table .order-payment-method.postpaid{background:#fff4df;color:#94600e}
#orders .dispatch-final-table .contact-phone-cell{white-space:normal}
#orders .dispatch-final-table .contact-phone-stack{display:grid;gap:3px}
#orders .dispatch-final-table .contact-phone-stack span{display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#344054;font-size:10px}
#orders .dispatch-final-table .contact-phone-stack b{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;border-radius:4px;background:#f2f4f7;color:#475467;font-size:9px;font-weight:900;flex:0 0 auto}
#orders .dispatch-final-table .route-full-cell{
  cursor:pointer;
  white-space:normal;
}
#orders .dispatch-final-table .route-full-line{
  display:grid;
  grid-template-columns:16px minmax(0,1fr);
  gap:3px;
  align-items:start;
}
#orders .dispatch-final-table .route-full-line + .route-full-line{margin-top:3px}
#orders .dispatch-final-table .route-full-line span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:15px;
  border-radius:4px;
  background:#eef4ff;
  color:#2458ad;
  font-size:8px;
  font-weight:900;
}
#orders .dispatch-final-table .route-full-line b{
  font-weight:700;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
#orders .dispatch-final-table .compact-times{
  display:grid;
  gap:2px;
  white-space:nowrap;
}
#orders .dispatch-final-table .compact-times span{
  display:flex;
  justify-content:space-between;
  gap:5px;
}
#orders .dispatch-final-table .compact-times b{color:#667085}
#orders .dispatch-final-table .expense-summary-cell{padding:3px 5px}
#orders .dispatch-final-table .expense-amount-button{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  border:0;
  border-radius:5px;
  border:1px solid #f3b5b5;
  background:#ffe9e9;
  padding:3px 4px;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
#orders .dispatch-final-table .expense-amount-button:hover,
#orders .dispatch-final-table .expense-amount-button:focus-visible{
  background:#ffd6d6;
  border-color:#e98e8e;
  outline:none;
}
#orders .dispatch-final-table .expense-amount-button span{color:#9f2f2f;font-weight:800}
#orders .dispatch-final-table .expense-amount-button b{white-space:nowrap}
#orders .dispatch-final-table .settlement-cell{white-space:normal}
#orders .dispatch-final-table .settlement-status-row{display:flex;flex-wrap:wrap;gap:4px}
#orders .dispatch-final-table .settlement-cell .badge{margin:1px}
#orders .dispatch-final-table .receipt-verify-cell{padding:4px 5px}
#orders .dispatch-final-table .receipt-verify-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;width:100%;padding:4px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#101828;font:inherit;cursor:pointer;text-align:left}
#orders .dispatch-final-table .receipt-verify-action:hover,
#orders .dispatch-final-table .receipt-verify-action:focus-visible{background:#eef4ff;border-color:#84a9ff;outline:none}
#orders .dispatch-final-table .receipt-verify-action.departure{border-left:3px solid #2e90fa}
#orders .dispatch-final-table .receipt-verify-action.arrival{border-left:3px solid #12b76a}
#orders .dispatch-final-table .receipt-verify-action.completed,
#orders .dispatch-final-table .receipt-verify-action.completed:hover,
#orders .dispatch-final-table .receipt-verify-action.completed:focus-visible{background:lightgreen;border-color:#66c884}
#orders .dispatch-final-table .receipt-verify-label{font-size:9px;font-weight:800;color:#344054;white-space:nowrap;line-height:1.15}
#orders .dispatch-final-table .receipt-verify-status .badge{margin:0}
#orders .dispatch-final-table .order-actions-cell{text-align:center}
#orders .dispatch-final-table .order-actions-cell .btn{padding:5px 6px;font-size:10px}
#orders .dispatch-final-table .order-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#orders .dispatch-final-table .order-action-buttons .btn{width:100%;min-width:0;white-space:nowrap}
#orders .dispatch-final-table .call-confirm-button,
#orders .dispatch-final-table .call-confirm-button:hover,
#orders .dispatch-final-table .call-confirm-button:focus-visible{border-color:#d92d20;background:#d92d20;color:#fff}
#orders .dispatch-final-table .driver-assignment-button,
#orders .dispatch-final-table .driver-assignment-button:hover,
#orders .dispatch-final-table .driver-assignment-button:focus-visible{border-color:#1769c2;background:#1677d2;color:#fff}

/* 목록에서 분리된 기사 배정 */
#orders .order-action-buttons .call-confirm-button{grid-column:1;grid-row:1}
#orders .order-action-buttons .driver-assignment-button{grid-column:2;grid-row:1}
#orders .order-action-buttons>.btn.danger{grid-column:1 / -1;grid-row:3}
#orders .order-action-buttons .company2-voice-btn:not(.driver){grid-column:1;grid-row:2}
#orders .order-action-buttons .company2-voice-btn.driver{grid-column:2;grid-row:2}
#orders .order-action-buttons .order-settlement-complete-button{grid-column:1 / -1!important;grid-row:4!important}
.driver-assignment-dialog{display:grid;gap:13px}
.driver-assignment-order-summary{
  display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1fr) minmax(260px,2fr) minmax(120px,.7fr);
  gap:8px
}
.driver-assignment-order-summary>div{
  min-width:0;padding:10px 11px;border:1px solid #d6e0eb;border-radius:9px;background:#f8fafc
}
.driver-assignment-order-summary small,.driver-assignment-order-summary b{display:block}
.driver-assignment-order-summary small{margin-bottom:4px;color:var(--muted);font-size:9px}
.driver-assignment-order-summary b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.driver-assignment-toolbar{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;gap:9px;align-items:end}
.driver-assignment-toolbar>label{padding-bottom:10px;font-size:11px;font-weight:900}
.driver-assignment-toolbar>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}
.driver-assignment-toolbar input{height:38px;padding:8px 10px;border:1px solid #b9c8da;border-radius:8px}
.driver-assignment-toolbar>span{
  min-width:54px;padding:8px;border-radius:8px;background:#eaf3ff;color:#1762ad;text-align:center;font-size:11px;font-weight:900
}
.driver-assignment-table-wrap{max-height:56vh;border:1px solid #d7e0ea;border-radius:10px}
.driver-assignment-table{min-width:1050px}
.driver-assignment-table thead th{position:sticky;top:0;z-index:1;background:#f3f6fa}
.driver-assignment-table td{vertical-align:middle}
.driver-assignment-table tr.ineligible{background:#fffafa}
.driver-assignment-table tr.assigned{background:#eef7ff}
.driver-assignment-name b,.driver-assignment-name span,.driver-assignment-deposit b,.driver-assignment-deposit span{display:block}
.driver-assignment-name span,.driver-assignment-deposit span{margin-top:3px;color:var(--muted);font-size:9px}
.assignment-license-vehicles{max-width:260px;white-space:normal!important;line-height:1.4}
.driver-assignment-select{min-width:128px;text-align:center}
.driver-assignment-select .btn{min-width:76px}
.driver-assignment-select small{
  display:block;max-width:170px;margin:5px auto 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#b42318;font-size:8px
}
.driver-assignment-select small.ok{color:#087443}
.driver-assignment-guide{margin:0;color:var(--muted);font-size:10px}
.call-confirm-driver-readonly select:disabled{opacity:1;background:#f2f4f7;color:#344054;cursor:not-allowed}
.call-confirm-driver-guide{display:block;margin-top:5px;color:#1769c2;font-size:9px;line-height:1.35}
body[data-theme='dark'] .driver-assignment-order-summary>div{background:#111c2b;border-color:#30415b}
body[data-theme='dark'] .driver-assignment-toolbar input{background:#0f1a2c;border-color:#354762;color:#e5edf8}
body[data-theme='dark'] .driver-assignment-table tr.ineligible{background:#28171c}
body[data-theme='dark'] .driver-assignment-table tr.assigned{background:#11243a}
body[data-theme='dark'] .call-confirm-driver-readonly select:disabled{background:#182336;color:#dce6f3}
@media(max-width:760px){
  .driver-assignment-order-summary{grid-template-columns:1fr 1fr}
  .driver-assignment-toolbar{grid-template-columns:1fr auto}
  .driver-assignment-toolbar>label{grid-column:1 / -1;padding-bottom:0}
}
#orders .dispatch-final-table .company2-voice-btn{width:100%;min-width:0;padding:5px 4px;border:1px solid #8bb7ee;border-radius:6px;background:#edf6ff;color:#175b9f;font-size:10px;font-weight:850;white-space:nowrap;cursor:pointer}
#orders .dispatch-final-table .company2-voice-btn.driver{border-color:#9bd6b7;background:#edf9f2;color:#087443}
.order-requester-info{flex:1 0 100%;display:flex;justify-content:flex-end;gap:14px;margin-top:2px;padding-top:7px;border-top:1px solid #cbdcff;color:#475467;font-size:15px}
.order-requester-info b{color:#153b7a}
.driver-assignment-label{color:#d92d20!important;font-weight:900!important}
.address-map-select-button{float:right;margin:-3px 0 0 8px;padding:3px 8px;border:1px solid #fda29b;border-radius:6px;background:#fee4e2;color:#b42318;font-size:9px;font-weight:900;cursor:pointer}
.address-map-select-button::before{content:'📍';display:inline-block;margin-right:4px}
.address-map-select-button:hover,.address-map-select-button:focus-visible{background:#fecdc9;border-color:#f97066;outline:none}
#naverRouteCollapseBtn{border-color:#fda29b;background:#fee4e2;color:#b42318;font-weight:900}
#naverRouteCollapseBtn::before{content:'🗺️';display:inline-block;margin-right:5px}
#naverRouteCollapseBtn:hover,#naverRouteCollapseBtn:focus-visible{background:#fecdc9;border-color:#f97066;color:#912018;outline:none}
.business-card-toggle-button{border-color:#fda29b!important;background:#fee4e2!important;color:#b42318!important;font-weight:900}
.business-card-toggle-button::before{content:'🪪';display:inline-block;margin-right:5px}
.business-card-toggle-button:hover,.business-card-toggle-button:focus-visible{background:#fecdc9!important;border-color:#f97066!important;color:#912018!important;outline:none}
.order-address-map-picker{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:18px}
.order-address-map-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68)}
.order-address-map-panel{position:relative;width:min(920px,96vw);max-height:94vh;overflow:auto;border-radius:15px;background:var(--panel);box-shadow:0 26px 80px rgba(0,0,0,.4)}
.order-address-map-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.order-address-map-panel>header h3{margin:0}.order-address-map-panel>header p{margin:4px 0 0;color:var(--muted);font-size:11px}
.order-address-map-panel>header>button{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:20px;cursor:pointer}
.order-address-map-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 16px}
.order-address-map-search input{height:38px;border:1px solid var(--line);border-radius:8px;padding:0 11px;background:var(--panel);color:var(--text)}
.order-address-map-search button{border:0;border-radius:8px;padding:0 15px;background:#1769d2;color:#fff;font-weight:900;cursor:pointer}
#orderAddressPickerCanvas{height:500px;margin:0 16px}
.order-address-picker-result{display:flex;justify-content:space-between;gap:12px;margin:10px 16px;padding:10px 12px;border:1px solid #c9dcfa;border-radius:9px;background:#f3f7ff;color:#334155;font-size:11px}
.order-address-picker-result span{color:#667085}
.order-address-map-panel>footer{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 14px}
@media(max-width:700px){.order-requester-info{justify-content:flex-start;flex-direction:column;gap:3px}.order-address-picker-result{flex-direction:column}#orderAddressPickerCanvas{height:380px}}
.member-filterbar{grid-template-columns:minmax(240px,2fr) minmax(220px,1.4fr) minmax(130px,.8fr) auto}
.directory-add-button{display:inline-flex!important;align-items:center;justify-content:center}
.directory-page-add-action{display:none!important;align-items:center;justify-content:center;white-space:nowrap}
.directory-page-add-action.visible{display:inline-flex!important}
.member-directory-table{min-width:1050px}.organization-tree-cell{display:flex;align-items:flex-start;gap:7px;padding-left:calc(var(--tree-depth,0)*22px);min-width:260px}.organization-tree-cell small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.organization-branch{color:#2f6fed;font-weight:900}.org-level-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase}.org-level-badge.root{background:#172554;color:#fff}.org-level-badge.linkway{background:#e8efff;color:#174ea6}.org-level-badge.company{background:#e9f8ef;color:#087443}.org-level-badge.partner{background:#fff4dc;color:#9a6700}.org-level-badge.shop{background:#f2eaff;color:#6941c6}.integration-edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;padding:12px;border-top:1px solid var(--line);background:#f8fafc;border-radius:10px}.integration-edit-actions span{margin-right:auto;color:var(--muted);font-size:12px;font-weight:800}#integrationTab.editing .integration-edit-actions{background:#eef5ff;border-color:#9bbcf3}

#orders .dispatch-final-table .party-name-link.active{cursor:pointer}
#orders .dispatch-final-table .party-name-link.active:hover{text-decoration:underline}
#orders .dispatch-final-table .inline-unread-badge{
  display:inline-grid;place-items:center;min-width:15px;height:15px;margin-left:4px;padding:0 3px;
  border-radius:999px;background:#d92d20;color:#fff;font-size:9px;line-height:1;font-weight:900;vertical-align:1px
}

#orders .dispatch-final-table td:nth-child(7) b{font-size:10.5px}
#orders .dispatch-final-table td:nth-child(7) .cell-sub{font-size:9.5px}
#orders .dispatch-final-table td:nth-child(8){padding-left:4px;padding-right:4px}


/* ===== Source: assets/css/18-expense-receipt-photo-manager.css ===== */
/* 배차·예약·운행 상세 수정 - 비용별 영수증 사진 관리 */
.modal.expense-receipt-wide-modal{max-width:1540px}
.expense-receipt-manager{grid-column:1/-1;border:1px solid #9fc9ff;background:linear-gradient(180deg,#f7fbff 0%,#fff 100%);border-radius:13px;padding:12px 13px;min-width:0}
.expense-receipt-manager-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.expense-receipt-manager-head h5{margin:0;color:#153b7a;font-size:14px}
.expense-receipt-manager-head p{margin:3px 0 0;color:#667085;font-size:11px}
.expense-receipt-manager-summary{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.expense-receipt-manager-summary span{padding:4px 8px;border-radius:999px;background:#eaf3ff;color:#175cd3;font-size:10px;font-weight:900}
.expense-receipt-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.expense-receipt-card{border:1px solid #d9e4f3;background:#fff;border-radius:10px;padding:9px;min-width:0;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.expense-receipt-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:5px;margin-bottom:7px;min-height:34px}
.expense-receipt-card-head h6{margin:0;font-size:11px;line-height:1.3;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.expense-receipt-card-head strong{display:block;margin-top:2px;color:#153b7a;font-size:12px}
.expense-receipt-status{flex:0 0 auto;padding:3px 6px;border-radius:999px;font-size:9px;font-weight:900;background:#f2f4f7;color:#667085}
.expense-receipt-status.ok{background:#ecfdf3;color:#067647}.expense-receipt-status.wait{background:#fff7e8;color:#b54708}.expense-receipt-status.reject{background:#fff1f0;color:#b42318}.expense-receipt-status.received{background:#eff8ff;color:#175cd3}
.expense-receipt-thumb{position:relative;width:100%;height:105px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;overflow:hidden;padding:0;font:inherit;color:inherit}
button.expense-receipt-thumb{cursor:pointer}
.expense-receipt-thumb.has-image{display:block;border-style:solid;background:#eef2f6}
.expense-receipt-thumb.has-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .18s ease}
.expense-receipt-thumb.has-image:hover img{transform:scale(1.035)}
.expense-receipt-source{position:absolute;left:6px;top:6px;padding:3px 6px;border-radius:999px;color:#fff;font-size:9px;font-weight:900;background:#175cd3;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.expense-receipt-source.admin{background:#475467}
.expense-receipt-source{display:none!important}
.expense-receipt-thumb.has-image img{object-fit:contain;background:#fff}
.receipt-financial-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}
.receipt-financial-summary span{display:flex;justify-content:space-between;gap:8px;padding:6px 7px;border-radius:6px;background:var(--bg);font-size:9px;color:var(--muted)}
.receipt-financial-summary b{color:var(--text)}
.expense-receipt-thumb.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#98a2b3;padding:8px}
.expense-receipt-thumb.empty b{font-size:10px;color:#667085;margin-top:4px}.expense-receipt-thumb.empty small{font-size:8px;line-height:1.35;margin-top:3px}
.expense-receipt-camera{display:flex;align-items:center;justify-content:center;width:28px;height:22px;border:2px solid #98a2b3;border-radius:5px;font-size:0;position:relative}
.expense-receipt-camera:before{content:'';width:7px;height:7px;border:2px solid #98a2b3;border-radius:50%}.expense-receipt-camera:after{content:'';position:absolute;top:-5px;width:10px;height:5px;border:2px solid #98a2b3;border-bottom:0;border-radius:3px 3px 0 0}
.expense-receipt-counts{display:flex;gap:4px;margin-top:6px}
.expense-receipt-counts button{flex:1;min-width:0;border:0;background:#f2f4f7;color:#475467;border-radius:5px;padding:4px 2px;font-size:8px;font-weight:800;cursor:pointer}
.expense-receipt-counts button:not(:disabled):hover{background:#eaf2ff;color:#175cd3}.expense-receipt-counts button:disabled{opacity:.55;cursor:default}
.expense-receipt-actions{display:grid;grid-template-columns:1fr;gap:4px;margin-top:6px}
.expense-receipt-file{display:none}
.expense-receipt-actions .btn{width:100%;height:28px;padding:4px 5px;border-radius:6px;font-size:9px;font-weight:900;white-space:nowrap}
.expense-receipt-upload{border-color:#2e90fa!important;color:#175cd3!important;background:#fff!important}
.expense-receipt-app{border-color:#d0d5dd!important;color:#344054!important;background:#fff!important}
.expense-receipt-actions .btn:disabled{opacity:.45;cursor:not-allowed}
.expense-receipt-lightbox{position:fixed;inset:0;z-index:300;background:rgba(15,23,42,.78);display:flex;align-items:center;justify-content:center;padding:24px}
.expense-receipt-lightbox-panel{width:min(1280px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 28px 80px rgba(0,0,0,.38)}
.expense-receipt-lightbox-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #e4e7ec;background:#fff}
.expense-receipt-lightbox-head h3{margin:0;font-size:17px;color:#1d2939}.expense-receipt-lightbox-head p{margin:3px 0 0;color:#667085;font-size:11px}
.expense-receipt-lightbox-head>button{border:1px solid #d0d5dd;background:#fff;border-radius:8px;padding:7px 12px;font-weight:800;cursor:pointer}
.expense-receipt-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}
.expense-receipt-gallery article{border:1px solid #e4e7ec;border-radius:11px;overflow:hidden;background:#fff}
.expense-receipt-gallery-image{height:460px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;overflow:auto}
.expense-receipt-gallery-image img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.expense-receipt-nonimage{color:#667085;padding:30px;text-align:center}
.expense-receipt-gallery-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-top:1px solid #e4e7ec}
.expense-receipt-gallery-meta b,.expense-receipt-gallery-meta span{display:block}.expense-receipt-gallery-meta b{font-size:12px}.expense-receipt-gallery-meta span{font-size:10px;color:#667085;margin-top:2px}
.expense-receipt-gallery-buttons{display:flex;gap:5px}.expense-receipt-gallery-buttons button{border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:6px 8px;font-size:10px;font-weight:800;cursor:pointer}.expense-receipt-gallery-buttons button.danger{border-color:#fda29b;color:#b42318}
@media(max-width:1320px){.expense-receipt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.expense-receipt-thumb{height:130px}}
@media(max-width:860px){.expense-receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-receipt-gallery{grid-template-columns:1fr}.expense-receipt-gallery-image{height:380px}}
@media(max-width:560px){.expense-receipt-manager{grid-column:span 1}.expense-receipt-manager-head{align-items:flex-start;flex-direction:column}.expense-receipt-grid{grid-template-columns:1fr}.expense-receipt-thumb{height:150px}.expense-receipt-lightbox{padding:8px}.expense-receipt-gallery-image{height:320px}}

/* 콜확인 금액 영역: 암시적 4열 생성을 막고 영수증 관리 영역 전체 폭 사용 */
.order-modal-layout>.order-modal-section .order-modal-grid>.expense-final-preview,
.order-modal-layout>.order-modal-section .order-modal-grid>.expense-receipt-manager{
  grid-column:1 / -1!important;
  width:100%;
  max-width:none;
}
.order-modal-layout .expense-receipt-grid{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
}
.order-modal-layout .expense-receipt-card{padding:12px}
.order-modal-layout .expense-receipt-card-head h6{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  word-break:keep-all;
}
.order-modal-layout .expense-receipt-counts button,
.order-modal-layout .expense-receipt-actions .btn{
  font-size:10px;
  white-space:normal;
  line-height:1.35;
}
@media(max-width:860px){
  .order-modal-layout .expense-receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .order-modal-layout .expense-receipt-grid{grid-template-columns:1fr}
}


/* ===== Source: assets/css/19-orders-column-resizer.css ===== */
/* 배차목록 사용자 열 너비 조정 */
#orders .user-column-resizable-table{
  table-layout:fixed !important;
}
#orders .user-column-resizable-table th.user-resizable-column{
  position:relative;
  overflow:visible;
  user-select:none;
}
#orders .user-column-resizable-table .column-resize-handle{
  position:absolute;
  z-index:7;
  top:0;
  right:-5px;
  width:10px;
  height:100%;
  cursor:col-resize;
  touch-action:none;
}
#orders .user-column-resizable-table .column-resize-handle::after{
  content:"";
  position:absolute;
  top:18%;
  bottom:18%;
  left:4px;
  width:2px;
  border-radius:999px;
  background:#cbd5e1;
  opacity:.5;
  transition:opacity .15s ease, background .15s ease, width .15s ease;
}
#orders .user-column-resizable-table th:hover .column-resize-handle::after,
#orders .user-column-resizable-table .column-resize-handle:hover::after{
  width:3px;
  background:#2e90fa;
  opacity:1;
}
html.orders-column-resizing,
html.orders-column-resizing *{
  cursor:col-resize !important;
  user-select:none !important;
}
.orders-column-width-guide{
  position:fixed;
  z-index:99999;
  padding:4px 7px;
  border:1px solid #84adff;
  border-radius:6px;
  background:#eff4ff;
  color:#175cd3;
  font-size:11px;
  font-weight:800;
  line-height:1;
  pointer-events:none;
  box-shadow:0 3px 10px rgba(16,24,40,.14);
}
.orders-column-width-guide[hidden]{display:none}
/* ===== Source: assets/css/20-driver-insurance-license-validation.css ===== */
/* 보험유형 중심 기사/배차 검증 */
.insurance-qualification-dashboard{margin:16px 0;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.insurance-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}
.insurance-dashboard-head h3{margin:0 0 4px;font-size:16px}.insurance-dashboard-head p{margin:0;color:var(--muted);font-size:12px}.insurance-dashboard-rule{padding:7px 11px;border-radius:999px;background:#eef4ff;color:#173f8a;font-size:11px;font-weight:900;white-space:nowrap}
.insurance-dashboard-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;padding:12px 16px;background:color-mix(in srgb,var(--bg) 65%,var(--panel))}
.insurance-dashboard-metrics>div{min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.insurance-dashboard-metrics b{display:block;font-size:18px;margin:7px 0 2px}.insurance-dashboard-metrics small{color:var(--muted)}
.qualification-badge{display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:10px;font-weight:900;white-space:nowrap}.qualification-badge.purple{background:#f1ebff;color:#6941c6}.qualification-badge.blue{background:#eaf2ff;color:#175cd3}.qualification-badge.orange{background:#fff4e5;color:#b54708}.qualification-badge.teal{background:#e6faf5;color:#087e65}.qualification-badge.green{background:#e8f8f0;color:#067647}.qualification-badge.red{background:#ffeded;color:#b42318}.qualification-badge.outline{background:transparent;border:1px solid var(--line);color:var(--text)}
.insurance-dashboard-table-wrap{overflow:auto}.insurance-dashboard-table-wrap table{width:100%;min-width:900px;border-collapse:collapse}.insurance-dashboard-table-wrap th,.insurance-dashboard-table-wrap td{padding:9px 12px;border-bottom:1px solid var(--line);font-size:11px;text-align:left;vertical-align:middle}.insurance-dashboard-table-wrap th{background:color-mix(in srgb,var(--bg) 65%,var(--panel));color:var(--muted)}.insurance-dashboard-table-wrap td span:not(.qualification-badge){display:block;margin-top:3px;color:var(--muted);font-size:10px}
#drivers .table{min-width:1680px}#drivers .table th,#drivers .table td{font-size:11px;vertical-align:middle}.driver-sub{display:block;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.45}.license-vehicle-text{display:block;max-width:210px;white-space:normal;line-height:1.45}.qualification-preview{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:11px;line-height:1.5}.hidden-field{display:none!important}
.driver-qualification-preview{grid-column:span 4;padding:12px 14px;border:1px solid #b9d2ff;border-radius:11px;background:#f5f8ff;display:grid;gap:8px}.driver-qualification-preview>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.driver-qualification-preview>div>b{min-width:100px}.driver-qualification-preview small{color:#667085}
.qualification-order-section{margin:14px 0;border:1px solid #b9d2ff;border-radius:13px;background:#fbfdff;overflow:hidden}.qualification-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#eef4ff;border-bottom:1px solid #dce8fb}.qualification-order-head h5{margin:0 0 3px;font-size:14px}.qualification-order-head p{margin:0;color:#667085;font-size:11px}.qualification-order-head>span{padding:5px 9px;border-radius:999px;background:#173f8a;color:#fff;font-size:10px;font-weight:900;white-space:nowrap}.qualification-order-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 14px}.order-driver-eligibility-panel{grid-column:span 4;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.order-driver-eligibility-panel.ok{border-color:#98dfc4;background:#f0fbf6}.order-driver-eligibility-panel.blocked{border-color:#f3b6b6;background:#fff5f5}.eligibility-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.eligibility-result-head>b{font-size:15px}.eligibility-result-head>span{color:var(--muted);font-size:11px}.eligibility-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.eligibility-check-grid>div{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.eligibility-check-grid small,.eligibility-check-grid span{display:block;color:var(--muted);font-size:10px}.eligibility-check-grid b{display:block;margin:3px 0}.eligibility-blockers{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.eligibility-blockers span{padding:5px 8px;border-radius:7px;background:#fee4e2;color:#b42318;font-size:10px;font-weight:800}.eligibility-approved{margin-top:9px;color:#067647;font-size:11px;font-weight:800}.eligibility-empty{color:var(--muted);font-size:11px}
.dispatch-qualification-mini{display:block;margin-top:4px;padding:3px 6px;border:0;border-radius:6px;font-size:9px;font-weight:900;cursor:pointer}.dispatch-qualification-mini.ok{background:#e8f8f0;color:#067647}.dispatch-qualification-mini.blocked{background:#ffeded;color:#b42318}.dispatch-check-detail{display:grid;gap:12px}.dispatch-check-flow{display:grid;grid-template-columns:120px 1fr;gap:7px 12px;padding:12px;border:1px solid var(--line);border-radius:10px}.dispatch-check-flow span{color:var(--muted)}
#quickQualificationPanel{grid-column:span 6}
body[data-theme='dark'] .insurance-dashboard-rule,body[data-theme='dark'] .qualification-order-head{background:#14233c;color:#dbe7ff}body[data-theme='dark'] .qualification-order-section{background:#0f192a;border-color:#2b4771}body[data-theme='dark'] .driver-qualification-preview{background:#101e34;border-color:#315587}body[data-theme='dark'] .order-driver-eligibility-panel.ok{background:#0d2a22}body[data-theme='dark'] .order-driver-eligibility-panel.blocked{background:#301919}
@media(max-width:1200px){.insurance-dashboard-metrics{grid-template-columns:repeat(4,1fr)}.qualification-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-driver-eligibility-panel{grid-column:span 2}}
@media(max-width:700px){.insurance-dashboard-head{align-items:flex-start;flex-direction:column}.insurance-dashboard-metrics{grid-template-columns:repeat(2,1fr)}.qualification-order-grid{grid-template-columns:1fr}.order-driver-eligibility-panel{grid-column:span 1}.eligibility-check-grid{grid-template-columns:1fr}.driver-qualification-preview{grid-column:span 1}}
.dispatch-violation-list{padding:12px 16px;border-top:1px solid var(--line);display:grid;gap:6px}.dispatch-violation-list>b{font-size:12px;color:#b42318}.dispatch-violation-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid #f3b6b6;border-radius:8px;background:#fff7f7;color:var(--text);padding:7px 9px;text-align:left}.dispatch-violation-list button span{font-weight:800;white-space:nowrap}.dispatch-violation-list button small{color:#b42318;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-theme='dark'] .dispatch-violation-list button{background:#301919;border-color:#693333}
.insurance-scope-checks,.special-license-checks{display:flex;flex-wrap:wrap;gap:7px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}
.insurance-scope-check,.special-license-checks label{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:11px;font-weight:700;cursor:pointer}
.insurance-scope-check input,.special-license-checks input{margin:0}
.field-help{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.45}
.qualification-rule-note{grid-column:span 4;padding:9px 11px;border:1px solid #f1c27d;border-radius:9px;background:#fff8eb;color:#8a4b08;font-size:10px;line-height:1.55}
body[data-theme='dark'] .insurance-scope-checks,body[data-theme='dark'] .special-license-checks{background:#0e192a}body[data-theme='dark'] .insurance-scope-check,body[data-theme='dark'] .special-license-checks label{background:#162238}body[data-theme='dark'] .qualification-rule-note{background:#302513;color:#ffd79a;border-color:#6f5525}
@media(max-width:1200px){.qualification-rule-note{grid-column:span 2}}
@media(max-width:700px){.qualification-rule-note{grid-column:span 1}}


/* ===== Source: assets/css/21-driver-profile-settlement-split.css ===== */
/* 기사 앱형 프로필·보험·정산 분리 */
#drivers .table{min-width:1660px}
#settlements .driver-income-table{min-width:1750px}
#settlements .driver-settlement-table{min-width:2050px}
.driver-profile-cell{display:flex;align-items:center;gap:9px;min-width:165px}.driver-profile-cell>div:last-child{display:grid;gap:2px}.driver-profile-cell small,.driver-info-sheet small,#drivers td>small,#settlements td>small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.driver-avatar-mini{width:38px;height:38px;border-radius:50%;overflow:hidden;background:#e9effa;color:#173f8a;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.driver-avatar-mini img{width:100%;height:100%;object-fit:cover}.finance-chip{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;border:1px solid var(--line);font-size:10px;font-weight:900;white-space:nowrap;margin:1px 2px 2px 0}.finance-chip.green{background:#eaf8f2;color:#087443;border-color:#b9e5d0}.finance-chip.blue{background:#eef4ff;color:#2458ad;border-color:#c7d8ff}.finance-chip.teal{background:#e8fbfb;color:#087b82;border-color:#b5e9eb}.finance-chip.purple{background:#f3efff;color:#6b3ec2;border-color:#d9ccff}.finance-chip.orange{background:#fff6e8;color:#9c5d00;border-color:#f2d5a7}.finance-chip.red{background:#fff0f0;color:#b42318;border-color:#fac5c5}.finance-chip.gray{background:#f2f4f7;color:#667085;border-color:#e0e4ea}.compact-action-stack{display:grid;gap:4px}.compact-action-stack .btn{white-space:nowrap}
.driver-profile-editor{display:flex;align-items:center;gap:12px}.driver-profile-preview{width:78px;height:78px;border-radius:50%;overflow:hidden;border:1px dashed #9db3d7;background:#f7f9fc;display:grid;place-items:center;color:var(--muted);font-size:11px;flex:0 0 auto}.driver-profile-preview img{width:100%;height:100%;object-fit:cover}.driver-profile-editor input{min-width:0}.driver-finance-detail-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.driver-finance-detail-grid>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.driver-finance-detail-grid small{display:block;color:var(--muted);margin-bottom:5px}.driver-finance-detail-grid b{font-size:15px}.driver-finance-detail-grid .emphasis{border-color:#9bc0ff;background:#f1f6ff}.driver-info-sheet{display:grid;gap:14px}.driver-info-hero{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.driver-info-avatar{width:74px;height:74px;border-radius:50%;overflow:hidden;background:#e9effa;color:#173f8a;display:grid;place-items:center;font-size:24px;font-weight:900}.driver-info-avatar img{width:100%;height:100%;object-fit:cover}.driver-info-hero h3{margin:0 0 4px}.driver-info-hero p{margin:0 0 7px;color:var(--muted)}.driver-info-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.driver-info-columns section{border:1px solid var(--line);border-radius:12px;padding:12px}.driver-info-columns h4{margin:0 0 9px}.driver-info-columns dl{margin:0;display:grid;gap:7px}.driver-info-columns dl>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px}.driver-info-columns dt{color:var(--muted);font-size:11px}.driver-info-columns dd{margin:0;font-size:12px;overflow-wrap:anywhere}
.driver-finance-dashboard{margin-top:16px;padding:16px}.driver-finance-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.driver-finance-dashboard-head h3{margin:0}.driver-finance-dashboard-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.driver-finance-dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.driver-finance-dashboard-metrics>div{border:1px solid var(--line);border-radius:10px;padding:11px;background:#f8fafc}.driver-finance-dashboard-metrics small{display:block;color:var(--muted);margin-bottom:4px}.driver-finance-dashboard-metrics b{font-size:15px}
body[data-theme='dark'] .driver-avatar-mini,body[data-theme='dark'] .driver-profile-preview,body[data-theme='dark'] .driver-info-avatar,body[data-theme='dark'] .driver-info-hero,body[data-theme='dark'] .driver-finance-detail-grid>div,body[data-theme='dark'] .driver-finance-dashboard-metrics>div{background:#0f1a2c;border-color:var(--line);color:var(--text)}
@media(max-width:1100px){.driver-finance-detail-grid{grid-template-columns:repeat(3,1fr)}.driver-info-columns{grid-template-columns:1fr}.driver-finance-dashboard-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.driver-finance-detail-grid{grid-template-columns:repeat(2,1fr)}.driver-finance-dashboard-head{flex-direction:column}.driver-finance-dashboard-metrics{grid-template-columns:1fr}.driver-profile-editor{align-items:flex-start;flex-direction:column}}

/* 기사 개별 수수료 빠른 수정 */
.driver-commission-edit-btn{margin-right:5px;margin-bottom:4px;white-space:nowrap}
.driver-commission-quick-form .inline-check{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--text)}
.driver-commission-quick-form .inline-check input{width:16px;height:16px}
body[data-theme='dark'] .driver-commission-quick-form .extension-note{background:#0f1a2c;border-color:#33425d;color:#eef4ff}


/* ===== Source: assets/css/22-receipt-api-integration.css ===== */
/* API-linked departure/arrival receipt verification */
.receipt-api-panel{margin:0 0 16px;padding:14px 16px;border:1px solid #bfd5fb;border-radius:13px;background:linear-gradient(135deg,#f7faff,#eef5ff)}
.receipt-api-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.receipt-api-panel h4{margin:0;font-size:14px}.receipt-api-panel p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.receipt-api-state{display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#fff;color:#31517d;font-size:10px;font-weight:900;white-space:nowrap}.receipt-api-state::before{width:7px;height:7px;border-radius:50%;background:#0b9a6c;box-shadow:0 0 0 3px rgba(11,154,108,.12);content:''}.receipt-api-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}.receipt-api-grid>div{padding:9px 10px;border:1px solid #dce8fa;border-radius:9px;background:#fff}.receipt-api-grid small{display:block;color:var(--muted);font-size:10px}.receipt-api-grid b{display:block;margin-top:3px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.receipt-api-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.receipt-api-thumb{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.receipt-api-thumb button{width:100%;height:105px;padding:0;border:0;background:#eef3f8;cursor:pointer}.receipt-api-thumb img{width:100%;height:100%;object-fit:cover}.receipt-api-thumb .no-image{height:105px;display:grid;place-items:center;color:#7d899b;font-size:10px;text-align:center;padding:8px}.receipt-api-thumb footer{padding:7px 8px}.receipt-api-thumb footer b{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receipt-api-thumb footer span{display:block;margin-top:2px;color:var(--muted);font-size:9px}
.receipt-api-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:10px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--line)}.receipt-api-details>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px;padding:8px 9px;background:var(--panel)}.receipt-api-details small{color:var(--muted)}.receipt-api-details b{overflow-wrap:anywhere}
.arrival-expense-verify{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.arrival-expense-verify-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:8px}.arrival-expense-verify-head h4{margin:0;font-size:13px}.arrival-expense-verify-head p{margin:3px 0 0;color:var(--muted);font-size:10px}.arrival-expense-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.arrival-expense-card{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.arrival-expense-card.pending{border-color:#efc36e;background:#fffaf0}.arrival-expense-card.approved{border-color:#9bd7bd;background:#f2fbf7}.arrival-expense-card.rejected{border-color:#efaaaa;background:#fff6f6}.arrival-expense-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}.arrival-expense-card h5{margin:0;font-size:12px}.arrival-expense-card strong{display:block;margin-top:4px;font-size:16px}.arrival-expense-preview{height:105px;margin-top:8px;border:1px dashed #cfd8e4;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden;color:#8793a5;font-size:10px;cursor:pointer}.arrival-expense-preview img{width:100%;height:100%;object-fit:contain}.arrival-expense-card .toolbar{margin-top:8px}.receipt-approval-lock{margin-top:10px;padding:9px 10px;border:1px solid #f0ca83;border-radius:9px;background:#fff8e8;color:#805716;font-size:10px;line-height:1.5}
.receipt-expense-api-card{margin-top:16px}.receipt-expense-api-table{min-width:1180px}.receipt-expense-mini{width:70px;height:48px;border:1px solid var(--line);border-radius:7px;background:#f3f6fa;overflow:hidden;display:grid;place-items:center;color:var(--muted);font-size:9px}.receipt-expense-mini img{width:100%;height:100%;object-fit:cover}
body[data-theme='dark'] .receipt-api-panel{background:linear-gradient(135deg,#101b2e,#13233d);border-color:#2d4e80}.arrival-expense-card,body[data-theme='dark'] .receipt-api-grid>div,body[data-theme='dark'] .receipt-api-thumb{background:var(--panel)}
@media(max-width:1100px){.receipt-api-grid{grid-template-columns:repeat(2,1fr)}.receipt-api-gallery{grid-template-columns:repeat(2,1fr)}.arrival-expense-grid{grid-template-columns:1fr}}


/* ===== Source: assets/css/23-admin-receipt-same-screen-message.css ===== */
/* Full-screen administrator verification using the exact driver receipt UI */
.admin-receipt-review-overlay{position:fixed;inset:0;z-index:300;display:none;place-items:center;padding:24px;background:rgba(8,18,34,.68);color:#172033;backdrop-filter:blur(5px)}
.admin-receipt-review-overlay.open{display:grid}
.admin-receipt-review-dialog{width:min(1480px,94vw);height:min(900px,92vh);min-width:0;min-height:0;display:grid;grid-template-rows:62px minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.5);border-radius:18px;background:#e9eef5;box-shadow:0 28px 90px rgba(3,12,26,.42)}
.admin-receipt-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-bottom:1px solid #d5deeb;background:#fff;box-shadow:0 4px 14px rgba(24,47,84,.08)}
.admin-receipt-review-title{display:flex;align-items:center;gap:10px;min-width:0}.admin-receipt-review-title .mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#1769ff;color:#fff;font-weight:900}.admin-receipt-review-title h2{margin:0;font-size:16px}.admin-receipt-review-title p{margin:3px 0 0;color:#000fff;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-receipt-review-head-actions{display:flex;align-items:center;gap:7px}.admin-review-head-btn{height:38px;padding:0 12px;border:1px solid #d4deeb;border-radius:10px;background:#fff;color:#344054;font-weight:800}.admin-review-head-btn.active{border-color:#1769ff;background:#edf4ff;color:#1557c8}.admin-review-head-btn.close{width:40px;padding:0;font-size:18px}
.admin-receipt-review-layout{min-height:0;display:grid;grid-template-columns:minmax(520px,1fr) 390px;gap:0}.admin-receipt-review-canvas{min-width:0;min-height:0;padding:12px;overflow:hidden;background:#dce4ef}.admin-receipt-review-frame{display:block;width:100%;height:100%;border:1px solid #cbd7e6;border-radius:16px;background:#edf2f8;box-shadow:0 10px 30px rgba(24,47,84,.13)}
.admin-receipt-review-panel{min-height:0;overflow:auto;border-left:1px solid #d5deeb;background:#fff;padding:14px}.admin-review-status-card{padding:12px;border:1px solid #dce4ef;border-radius:12px;background:#f8fafc}.admin-review-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.admin-review-status-head h3{margin:0;font-size:14px}.admin-review-status-head p{margin:4px 0 0;color:#667085;font-size:10px;line-height:1.5}.admin-review-kv{display:grid;grid-template-columns:92px 1fr;gap:1px;margin-top:10px;border:1px solid #e1e7f0;border-radius:9px;overflow:hidden;background:#e1e7f0}.admin-review-kv span,.admin-review-kv b{padding:7px 8px;background:#fff;font-size:10px}.admin-review-kv span{color:#667085}.admin-review-kv b{overflow-wrap:anywhere}
.admin-review-section{margin-top:12px;padding:12px;border:1px solid #dce4ef;border-radius:12px;background:#fff}.admin-review-section h4{margin:0 0 8px;font-size:12px}.admin-review-field label{display:block;margin-bottom:5px;color:#475467;font-size:10px;font-weight:800}.admin-review-field select,.admin-review-field textarea{width:100%;border:1px solid #cfd9e6;border-radius:9px;background:#fff;color:#172033}.admin-review-field select{height:38px;padding:0 9px}.admin-review-field textarea{min-height:108px;padding:9px;resize:vertical;line-height:1.55}.admin-review-field+.admin-review-field{margin-top:9px}
.admin-review-reason-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.admin-review-reason-chip{padding:6px 8px;border:1px solid #d5deeb;border-radius:999px;background:#f8fafc;color:#475467;font-size:9px;font-weight:800}.admin-review-reason-chip:hover{border-color:#84a9ff;background:#eef4ff;color:#1557c8}
.admin-review-message-preview{padding:9px 10px;border:1px solid #cfe0fb;border-radius:9px;background:#f5f9ff;color:#31517d;font-size:10px;line-height:1.55;white-space:pre-wrap}.admin-review-send-option{display:flex;align-items:flex-start;gap:8px;margin-top:9px;padding:9px;border:1px solid #d9e2ef;border-radius:9px;background:#fafcff;font-size:10px;line-height:1.45}.admin-review-send-option input{margin-top:2px}
.admin-review-expense-list{display:grid;gap:7px}.admin-review-expense-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid #dce4ef;border-radius:9px;background:#fafcff}.admin-review-expense-thumb{width:52px;height:42px;border:1px solid #d7e0eb;border-radius:7px;background:#fff;object-fit:cover}.admin-review-expense-info b{display:block;font-size:10px}.admin-review-expense-info span{display:block;margin-top:3px;color:#667085;font-size:9px}.admin-review-expense-actions{display:flex;gap:4px}.admin-review-expense-actions button{padding:5px 7px;border:1px solid #d5deeb;border-radius:7px;background:#fff;font-size:9px;font-weight:800}.admin-review-expense-actions .ok{color:#087b51;border-color:#a9dcc7}.admin-review-expense-actions .reject{color:#c42b35;border-color:#efb5b9}
.admin-review-footer{position:sticky;bottom:-14px;display:grid;grid-template-columns:1fr 1.2fr;gap:7px;margin:14px -14px -14px;padding:10px 14px;border-top:1px solid #dce4ef;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}.admin-review-action{height:43px;border-radius:10px;font-weight:900}.admin-review-action.reject{border:1px solid #efaaaa;background:#fff5f5;color:#c42b35}.admin-review-action.approve{border:1px solid #087b51;background:#087b51;color:#fff}.admin-review-action:disabled{opacity:.45;cursor:not-allowed}
.admin-review-history{display:grid;gap:5px;max-height:130px;overflow:auto}.admin-review-history div{padding:7px 8px;border-radius:8px;background:#f6f8fb;color:#475467;font-size:9px;line-height:1.45}
body[data-theme='dark'] .admin-receipt-review-overlay{background:rgba(2,8,18,.78);color:#e5edf8}body[data-theme='dark'] .admin-receipt-review-dialog{background:#0b1220;border-color:#2b3b58}body[data-theme='dark'] .admin-receipt-review-head,body[data-theme='dark'] .admin-receipt-review-panel,body[data-theme='dark'] .admin-review-section,body[data-theme='dark'] .admin-review-status-card{background:#101827;color:#e5edf8;border-color:#263650}body[data-theme='dark'] .admin-review-kv{background:#263650;border-color:#263650}body[data-theme='dark'] .admin-review-kv span,body[data-theme='dark'] .admin-review-kv b{background:#121d2f}body[data-theme='dark'] .admin-review-field select,body[data-theme='dark'] .admin-review-field textarea{background:#0f1a2c;color:#e5edf8;border-color:#293753}
@media(max-width:1100px){.admin-receipt-review-layout{grid-template-columns:minmax(420px,1fr) 340px}.admin-receipt-review-panel{padding:10px}}
@media(max-width:820px){.admin-receipt-review-overlay{padding:8px}.admin-receipt-review-dialog{width:100%;height:calc(100dvh - 16px);grid-template-rows:auto minmax(0,1fr);border-radius:14px}.admin-receipt-review-head{align-items:flex-start}.admin-receipt-review-layout{grid-template-columns:1fr;grid-template-rows:minmax(55vh,1fr) auto;overflow:auto}.admin-receipt-review-canvas{height:62vh;padding:7px}.admin-receipt-review-panel{border-left:0;border-top:1px solid #d5deeb;overflow:visible}.admin-receipt-review-head-actions{flex-wrap:wrap;justify-content:flex-end}.admin-review-head-btn{height:34px;padding:0 9px;font-size:10px}}


/* ===== Source: assets/css/24-dark-payroll-tax-openbanking.css ===== */
/* 24-dark-payroll-tax-openbanking.css
 * 다크모드 가독성, 급여·4대보험, 신고장부, 오픈뱅킹·예치금 관리
 */
body[data-theme='dark'] .modal,
body[data-theme='dark'] .modal-head,
body[data-theme='dark'] .modal-body,
body[data-theme='dark'] .modal-foot{
  background:#101827!important;color:#e8eef9!important;border-color:#2a3a55!important;
}
body[data-theme='dark'] .modal h1,
body[data-theme='dark'] .modal h2,
body[data-theme='dark'] .modal h3,
body[data-theme='dark'] .modal h4,
body[data-theme='dark'] .modal h5,
body[data-theme='dark'] .modal b,
body[data-theme='dark'] .modal strong,
body[data-theme='dark'] .modal label,
body[data-theme='dark'] .modal span:not(.badge),
body[data-theme='dark'] .modal p{color:inherit}
body[data-theme='dark'] .modal .muted,
body[data-theme='dark'] .modal small{color:#a9b6ca!important}
body[data-theme='dark'] .modal .form-section-title{color:#bcd2ff;border-color:#314361}
body[data-theme='dark'] .modal .callout{background:#142139;color:#dce7f7;border-color:#314361}

body[data-theme='dark'] #orders .dispatch-final-table tbody tr,
body[data-theme='dark'] #orders .dispatch-final-table tbody td{background:#101827;color:#e5edf8}
body[data-theme='dark'] #orders .dispatch-final-table tbody tr:nth-child(even) td{background:#111c2e}
body[data-theme='dark'] #orders .dispatch-final-table tbody tr:hover td,
body[data-theme='dark'] #orders .dispatch-final-table tbody tr:focus-within td,
body[data-theme='dark'] #orders .dispatch-final-table tbody tr.is-selected td{
  background:#1a3154!important;color:#fff!important;
}
body[data-theme='dark'] #orders .dispatch-final-table tbody tr:hover *,
body[data-theme='dark'] #orders .dispatch-final-table tbody tr:focus-within *,
body[data-theme='dark'] #orders .dispatch-final-table tbody tr.is-selected *{color:inherit!important}
body[data-theme='dark'] #orders .dispatch-final-table .cell-sub,
body[data-theme='dark'] #orders .dispatch-final-table .compact-times b,
body[data-theme='dark'] #orders .dispatch-final-table .contact-phone-stack span,
body[data-theme='dark'] #orders .dispatch-final-table .route-full-line b{color:#b8c6da}
body[data-theme='dark'] #orders .dispatch-final-table .contact-phone-stack b{background:#263650;color:#dce7f8}
body[data-theme='dark'] #orders .dispatch-final-table .expense-amount-button,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action{
  background:#152238;color:#e8eef9;border-color:#344765;
}
body[data-theme='dark'] #orders .dispatch-final-table .expense-amount-button:hover,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action:hover{background:#24436f;border-color:#77a5f8}
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed:hover,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed:focus-visible{background:lightgreen;color:#101828;border-color:#66c884}
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed .receipt-verify-label{color:#164e2c}
body[data-theme='dark'] #orders .dispatch-final-table .expense-amount-button span,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-label{color:#c6d3e6}
body[data-theme='dark'] #orders .dispatch-final-table a,
body[data-theme='dark'] #orders .dispatch-final-table button{color:#dce8ff}
body[data-theme='dark'] .table tbody tr:hover td{background:#172943;color:#fff}
body[data-theme='dark'] .table tbody tr:hover .muted{color:#c1cee0!important}

.compliance-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.compliance-status-card{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow)}
.compliance-status-card small{display:block;color:var(--muted);font-size:11px}.compliance-status-card b{display:block;margin-top:6px;font-size:18px}.compliance-status-card p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
.payroll-employee{display:flex;align-items:center;gap:9px}.payroll-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:#1557c8;font-weight:900}.payroll-employee small{display:block;color:var(--muted)}
.payroll-chip{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#eef4ff;color:#175cd3;font-size:10px;font-weight:800}.payroll-chip.ok{background:#eafaf4;color:#087a58}.payroll-chip.warn{background:#fff4dc;color:#9a5a00}.payroll-chip.danger{background:#fff0f0;color:#b42318}
.payroll-slip{max-width:820px;margin:auto}.payroll-slip-head{display:flex;justify-content:space-between;gap:15px;padding-bottom:16px;border-bottom:2px solid #1d2939}.payroll-slip-title h2{margin:0}.payroll-slip-title p{margin:5px 0 0;color:var(--muted)}.payroll-slip-company{text-align:right}.payroll-slip-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.payroll-slip-box{border:1px solid var(--line);border-radius:12px;overflow:hidden}.payroll-slip-box h4{margin:0;padding:10px 12px;background:#f5f8fc}.payroll-slip-row{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-top:1px solid var(--line)}.payroll-slip-total{display:flex;justify-content:space-between;margin-top:14px;padding:15px;border-radius:12px;background:#eef4ff;color:#123d82;font-size:17px;font-weight:900}

.api-connection-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#f8fbff,#eef4ff)}
.api-connection-card h4{margin:0}.api-connection-card p{margin:5px 0 0;color:var(--muted);font-size:11px}.api-connection-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body[data-theme='dark'] .api-connection-card{background:linear-gradient(135deg,#111d30,#152743)}

.tax-book-toolbar{display:grid;grid-template-columns:1fr 1fr 1.5fr auto auto;gap:10px;align-items:end;padding:14px;border-bottom:1px solid var(--line)}
.tax-book-note{margin:12px;padding:11px 13px;border:1px solid #f0d49e;border-radius:10px;background:#fff9ed;color:#76521b;font-size:11px;line-height:1.5}
body[data-theme='dark'] .tax-book-note{background:#2c2416;color:#f5d99c;border-color:#5b4725}
.book-scope-switch{display:flex;gap:7px;align-items:center}.book-scope-switch span{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850}.book-scope-switch .internal{background:#eaf2ff;color:#175cd3}.book-scope-switch .tax{background:#eafaf4;color:#087a58}

.openbanking-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:14px;margin-bottom:16px}
.openbanking-account{padding:18px;border-radius:16px;background:linear-gradient(145deg,#0e2f65,#1457a6);color:#fff;box-shadow:0 14px 30px rgba(20,70,140,.22)}
.openbanking-account small{opacity:.75}.openbanking-account h3{margin:6px 0 18px;font-size:20px}.openbanking-account .balance{font-size:30px;font-weight:900}.openbanking-account .account-meta{display:flex;justify-content:space-between;gap:10px;margin-top:16px;font-size:11px;opacity:.85}
.openbanking-rule{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.openbanking-rule h4{margin:0 0 9px}.openbanking-rule ul{margin:0;padding-left:18px;color:var(--muted);font-size:11px;line-height:1.7}
.deposit-progress{height:8px;border-radius:999px;background:#e5eaf2;overflow:hidden}.deposit-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#1769ff,#0b9a6c)}
.openbanking-required{display:inline-flex;padding:4px 8px;border-radius:999px;background:#fff1e8;color:#b54708;font-size:10px;font-weight:900}
.funding-check{margin-top:10px;padding:10px 12px;border-radius:10px;background:#eff8ff;color:#175cd3;font-size:11px;font-weight:750}
body[data-theme='dark'] .openbanking-rule{background:#101827}.integration-settings-block{grid-column:1/-1;padding:13px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.integration-settings-block h4{margin:0 0 10px}.integration-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body[data-theme='dark'] .integration-settings-block{background:#111d2f}

@media(max-width:1000px){.compliance-status-grid{grid-template-columns:repeat(2,1fr)}.openbanking-hero{grid-template-columns:1fr}.integration-settings-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.compliance-status-grid,.payroll-slip-grid{grid-template-columns:1fr}.tax-book-toolbar{grid-template-columns:1fr}.integration-settings-grid{grid-template-columns:1fr}.api-connection-card{grid-template-columns:1fr}.api-connection-actions{justify-content:flex-start}}


/* ===== Source: assets/css/25-dispatch-service-mode-photo-zoom.css ===== */
/* 탁송/대리 운행모드 · 대리 건당보험 · 인수증 사진 확대 */
.dispatch-service-mode-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}
.dispatch-service-mode-switch button{display:flex;align-items:center;gap:5px;min-height:32px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:11px;font-weight:850;cursor:pointer;white-space:nowrap}
.dispatch-service-mode-switch button.active{background:var(--primary);color:#fff;box-shadow:0 4px 10px rgba(23,105,255,.2)}
.dispatch-service-mode-switch button b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.16);font-size:9px}
.dispatch-service-mode-switch button:not(.active) b{background:#eef2f7;color:#475467}
.service-mode-mini{display:inline-flex;margin-top:4px;padding:2px 6px;border-radius:999px;font-size:8px;font-weight:900}
.service-mode-mini.delivery{background:#eaf2ff;color:#1557c8}.service-mode-mini.proxy{background:#e9f8f1;color:#087b51}
#orders .dispatch-final-table.service-mode-proxy{table-layout:auto!important}
#orders .dispatch-final-table.service-mode-proxy tr[data-service-mode="대리"]{border-left:3px solid #12b76a}
#orders .dispatch-final-table.service-mode-delivery tr[data-service-mode="탁송"]{border-left:3px solid #2e90fa}
.service-mode-field select{font-weight:900;color:#1557c8}
.service-mode-proxy-only.hidden-field,.service-mode-transport-only.hidden-field{display:none!important}
.proxy-per-job-driver-field.hidden-field{display:none!important}
.receipt-photo-zoom{display:grid;place-items:center;min-height:65vh;padding:10px;border-radius:12px;background:#0b1220}
.receipt-photo-zoom img{display:block;max-width:96%;max-height:74vh;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.45)}
.receipt-api-gallery img,.arrival-expense-preview img,.admin-review-expense-thumb{cursor:zoom-in}
body[data-theme='dark'] .dispatch-service-mode-switch{background:#0f1a2c;border-color:#293753}
body[data-theme='dark'] .dispatch-service-mode-switch button:not(.active){color:#c7d4eb}
body[data-theme='dark'] .dispatch-service-mode-switch button:not(.active) b{background:#1d2b43;color:#dce7f8}
body[data-theme='dark'] .service-mode-mini.delivery{background:#15335f;color:#a9c9ff}
body[data-theme='dark'] .service-mode-mini.proxy{background:#123a31;color:#7ce0b9}
@media(max-width:900px){.dispatch-service-mode-switch{order:-1;width:100%}.dispatch-service-mode-switch button{flex:1;justify-content:center}}


/* ===== Source: assets/css/26-platform-pg-card-payment.css ===== */
/* 플랫폼 대표가맹점·회원사 하위가맹점 PG 카드결제 */
.pg-chip{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.pg-chip.ok{background:#e8f8f1;color:#067647}.pg-chip.wait{background:#fff4dd;color:#9a6700}.pg-chip.warn{background:#fff0e6;color:#b54708}.pg-chip.bad{background:#feeceb;color:#b42318}
.pg-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:14px;margin-bottom:14px}.pg-hero>div:first-child{padding:20px;border-radius:17px;background:linear-gradient(145deg,#112b56,#145bad);color:#fff;box-shadow:0 14px 30px rgba(20,70,140,.2)}.pg-hero small{opacity:.76}.pg-hero h3{margin:7px 0 4px;font-size:23px}.pg-hero p{margin:0;opacity:.84}.pg-hero-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px;font-size:11px}.pg-security{padding:17px;border:1px solid var(--line);border-radius:17px;background:var(--panel)}.pg-security b{font-size:14px}.pg-security p{color:var(--muted);font-size:11px;line-height:1.65}.pg-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.pg-metrics>div{padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.pg-metrics small{display:block;color:var(--muted);font-size:10px}.pg-metrics b{display:block;margin-top:5px;font-size:18px}.pg-ledger{min-width:1220px}.pg-ledger td small,.pg-mini-table td small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.pg-actions{display:flex;flex-wrap:wrap;gap:4px}.btn.danger{border-color:#f1b5b0;color:#b42318;background:#fff6f5}
.pg-order-payment-panel{padding:12px;border:1px solid #b8d1fa;border-radius:13px;background:#f5f9ff}.pg-order-payment-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pg-order-payment-head b{display:block}.pg-order-payment-head span:not(.pg-chip){display:block;margin-top:2px;color:#607089;font-size:10px}.pg-order-payment-grid{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr) minmax(200px,1.2fr);align-items:end;gap:10px;margin-top:10px}.pg-check{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 11px;border:1px solid #cedcf1;border-radius:9px;background:#fff;font-size:11px;font-weight:800}.pg-order-payment-actions{display:flex;align-items:center;min-height:40px;color:#607089;font-size:10px}
.pg-order-mini{display:grid;grid-template-columns:auto auto;align-items:center;gap:3px 5px;width:100%;margin-top:5px;padding:5px 6px;border:1px solid #cbdaf0;border-radius:8px;background:#f5f9ff;color:#263b59;text-align:left;cursor:pointer}.pg-order-mini>span:first-child{font-size:9px;font-weight:900}.pg-order-mini b{grid-column:1/-1;font-size:10px}.pg-order-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pg-order-summary>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.pg-order-summary small{display:block;color:var(--muted);font-size:9px}.pg-order-summary b{display:block;margin-top:4px}.pg-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:12px 0}.pg-mini-table{min-width:920px}
.pg-hosted-checkout{text-align:center}.pg-hosted-checkout .pg-lock{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 10px;border-radius:18px;background:#eaf2ff;font-size:25px}.pg-hosted-checkout h3{margin:0}.pg-hosted-checkout p{color:var(--muted);font-size:11px}.pg-hosted-checkout dl{margin:14px 0;padding:10px;border:1px solid var(--line);border-radius:12px;text-align:left}.pg-hosted-checkout dl div{display:flex;justify-content:space-between;gap:12px;padding:8px}.pg-hosted-checkout dt{color:var(--muted)}.pg-hosted-checkout dd{margin:0}.pg-test-card{padding:12px;border:1px dashed #8db4f5;border-radius:11px;background:#f3f7ff}.pg-test-card b,.pg-test-card span{display:block}.pg-test-card span{margin-top:3px;color:var(--muted);font-size:10px}.pg-settings-block>p{margin:-4px 0 10px;color:var(--muted);font-size:10px}
body[data-theme='dark'] .pg-security,body[data-theme='dark'] .pg-metrics>div,body[data-theme='dark'] .pg-order-summary>div{background:#101827}body[data-theme='dark'] .pg-order-payment-panel{background:#101827}.pg-order-payment-panel:has(*){}body[data-theme='dark'] .pg-order-payment-panel{border-color:#31558f;background:#101d31}body[data-theme='dark'] .pg-check,body[data-theme='dark'] .pg-order-mini{border-color:#345070;background:#14243b;color:#e5edf8}body[data-theme='dark'] .pg-chip.ok{background:#123b31;color:#75e0b8}body[data-theme='dark'] .pg-chip.wait{background:#3b3013;color:#ffd277}body[data-theme='dark'] .pg-chip.warn{background:#432716;color:#ffb57f}body[data-theme='dark'] .pg-chip.bad{background:#401d20;color:#ff9a95}
@media(max-width:1050px){.pg-hero{grid-template-columns:1fr}.pg-metrics{grid-template-columns:repeat(2,1fr)}.pg-order-payment-grid{grid-template-columns:1fr 1fr}.pg-order-payment-actions{grid-column:1/-1}}@media(max-width:700px){.pg-metrics,.pg-order-summary{grid-template-columns:repeat(2,1fr)}.pg-order-payment-grid,.pg-request-row{grid-template-columns:1fr}}


/* ===== Source: assets/css/27-pg-openbanking-commission-reconciliation.css ===== */
.platform-pg-lock-note{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 12px;margin-bottom:12px;border:1px solid #b9cff7;border-radius:10px;background:#f2f6ff;color:#26446f}.platform-pg-lock-note b{color:#1557c8}.platform-pg-lock-note span{font-size:11px;line-height:1.45}.platform-pg-lock-note em{font-style:normal;font-size:10px}.reconcile-panel{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}.reconcile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.reconcile-head h3{margin:0}.reconcile-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.reconcile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}.reconcile-metrics>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}.reconcile-metrics small,.reconcile-metrics b{display:block}.reconcile-metrics small{color:var(--muted);font-size:10px}.reconcile-metrics b{margin-top:4px;font-size:15px}.reconcile-chip{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}.reconcile-chip.ok{background:#e7f8ef;color:#067647}.reconcile-chip.bad{background:#fee9e7;color:#b42318}.reconcile-chip.wait{background:#fff4d9;color:#9a6700}.reconcile-table{min-width:1080px}.reconcile-table small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.reconcile-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg)}.reconcile-subhead h4{margin:0}.reconcile-subhead span{color:var(--muted);font-size:10px}.commission-formula-guide{display:flex;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #b9cff7;border-radius:10px;background:#f2f6ff}.commission-formula-guide b{color:#1557c8;white-space:nowrap}.commission-formula-guide span{font-size:11px;line-height:1.45}.reconcile-block-list{display:grid;gap:8px}.reconcile-block-list>p{margin:0 0 6px;color:var(--muted)}.reconcile-block-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #f2c4c0;border-radius:8px;background:#fff4f3}.reconcile-block-list span{color:#b42318;font-size:11px}
body[data-theme='dark'] .platform-pg-lock-note,body[data-theme='dark'] .commission-formula-guide{background:#12233d;border-color:#365986;color:#d7e5fb}body[data-theme='dark'] .reconcile-panel{background:var(--panel)}body[data-theme='dark'] .reconcile-metrics>div,body[data-theme='dark'] .reconcile-subhead{background:#0f1a2c}body[data-theme='dark'] .reconcile-block-list>div{background:#311b20;border-color:#73313a}
@media(max-width:900px){.reconcile-metrics{grid-template-columns:repeat(2,1fr)}.platform-pg-lock-note{grid-template-columns:1fr}.reconcile-head,.reconcile-subhead,.commission-formula-guide{align-items:flex-start;flex-direction:column}}

/* 반복 산식 안내문은 화면에서 사용하지 않습니다. */
.commission-formula-guide{display:none!important}

/* ===== Top application menu bar ===== */
.app,.app.sidebar-collapsed{display:block;min-height:100vh}
.sidebar.app-menubar{
  position:sticky;top:0;z-index:40;width:100%;height:auto;min-height:64px;
  padding:0;overflow:visible;background:linear-gradient(90deg,#0b2145,#12386f);
  box-shadow:0 5px 18px rgba(9,28,57,.18)
}
.menubar-main{
  min-height:64px;display:flex;align-items:center;gap:16px;
  width:100%;padding:0 18px
}
.app-menubar .sidebar-head{flex:0 0 auto;margin:0}
.app-menubar .brand{width:230px;min-width:230px;height:64px;padding:8px 0;gap:0}
.app-menubar .brand-home{
  appearance:none;border:0;background:transparent;color:inherit;text-align:left;
  font:inherit;cursor:pointer
}
.app-menubar .brand-home:focus-visible{
  outline:2px solid #8eb7ff;outline-offset:3px;border-radius:10px
}
.app-menubar .brand-member .member-logo{
  width:100%;height:100%;border-radius:0;box-shadow:none;
  filter:grayscale(1) brightness(0) invert(1)
}
.app-menubar .brand-member img.member-logo{
  display:block;padding:0;object-fit:contain;object-position:left center;background:transparent
}
.app-menubar .brand-member .member-logo span{font-size:12px}
.app-menubar .brand-kicker{margin:0 0 2px;padding:0;background:transparent;font-size:9px}
.app-menubar .brand h1{font-size:14px}
.app-menubar .brand-company-name{font-size:14px;font-weight:900;line-height:1.2}
.app-menubar .brand small{margin-top:1px;font-size:9px}
.app-menubar .nav{
  align-self:stretch;display:flex;align-items:stretch;gap:3px;min-width:0
}
.app-menubar .nav-group{position:relative;display:flex;align-items:stretch;margin:0}
.app-menubar .nav-title.nav-group-toggle{
  width:auto;min-width:82px;height:100%;padding:0 14px;border:0;border-radius:0;
  color:#dbe7ff;font-size:13px;font-weight:850;letter-spacing:0;text-transform:none;
  opacity:1;justify-content:center;gap:7px
}
.app-menubar .nav-title.nav-group-toggle:hover,
.app-menubar .nav-group.open>.nav-group-toggle,
.app-menubar .nav-group.has-active>.nav-group-toggle{
  color:#fff;background:rgba(255,255,255,.11)
}
.app-menubar .nav-group.has-active>.nav-group-toggle:after{
  content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;
  border-radius:3px 3px 0 0;background:#74a7ff
}
.app-menubar .nav-group-arrow{font-size:10px;transition:transform .16s ease}
.app-menubar .nav-group.open .nav-group-arrow{transform:rotate(180deg)}
.app-menubar .nav-group-body{
  display:none;position:absolute;top:calc(100% - 7px);left:0;z-index:60;
  min-width:240px;padding:7px;gap:2px;margin:0;border:1px solid var(--line);
  border-radius:11px;background:var(--panel);box-shadow:0 16px 42px rgba(10,28,57,.22)
}
.app-menubar .nav-group.open .nav-group-body{display:grid;animation:topMenuIn .14s ease}
@keyframes topMenuIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.app-menubar .nav-group-body button{
  width:100%;min-height:40px;margin:0;padding:9px 11px;border-radius:8px;
  color:var(--text);font-size:12px;font-weight:750;gap:9px
}
.app-menubar .nav-group-body button:hover{
  color:var(--text);background:#f0f5ff
}
.app-menubar .nav-group-body button[data-section].active{
  color:#174fba;background:#e8f1ff
}
.app-menubar .nav-flyout-submenu{
  display:none;position:absolute;left:calc(100% + 2px);top:0;z-index:61;
  min-width:205px;margin:0;padding:7px;gap:2px;border:1px solid var(--line);
  border-radius:11px;background:var(--panel);box-shadow:0 16px 42px rgba(10,28,57,.22)
}
.app-menubar .nav-flyout-submenu::before{
  content:"";position:absolute;left:-6px;top:0;width:8px;height:100%
}
.app-menubar .nav-flyout-parent:hover + .nav-flyout-submenu,
.app-menubar .nav-flyout-parent:focus + .nav-flyout-submenu,
.app-menubar .nav-flyout-parent:focus-visible + .nav-flyout-submenu,
.app-menubar .nav-flyout-submenu:hover,
.app-menubar .nav-flyout-submenu:focus-within{
  display:grid;animation:topMenuIn .14s ease
}
.app-menubar .nav-flyout-submenu.is-open{
  display:grid;animation:topMenuIn .14s ease
}
.app-menubar .nav-flyout-submenu button{
  min-height:36px;padding:7px 10px;font-size:11px;font-weight:750
}
.app-menubar .nav-flyout-submenu button.active{
  color:#174fba;background:#edf4ff
}
.app-menubar .nav-child-arrow{
  margin-left:auto;color:#7890b1;font-size:17px;line-height:1
}
.app-menubar .nav-submenu-dot{
  width:10px;flex:0 0 10px;color:#7597c8;font-size:12px;text-align:center
}
.app-menubar .nav .ico{width:22px;flex:0 0 22px}
.app-menubar .nav .nav-label{display:block!important}
.app-menubar .sidebar-tools{display:flex;align-items:center;gap:7px;margin-left:auto}
.app-menubar .sidebar-tool-btn{width:34px;height:34px;border-radius:8px}
.app-menubar .menu-toggle{display:none;margin-left:auto}
.main{min-width:0}
.topbar{
  top:64px;z-index:30;height:auto;min-height:70px;padding:10px 24px;
  gap:20px;box-shadow:0 2px 10px rgba(16,24,40,.035)
}
.topbar .page-context{min-width:210px}
.top-actions{justify-content:flex-end;flex-wrap:wrap}
.content{max-width:1700px}
body[data-theme='dark'] .app-menubar .nav-group-body{background:#101827;border-color:#293753}
body[data-theme='dark'] .app-menubar .nav-group-body button{color:#e5edf8}
body[data-theme='dark'] .app-menubar .nav-group-body button:hover{background:#172742;color:#fff}
body[data-theme='dark'] .app-menubar .nav-group-body button[data-section].active{background:#18335d;color:#a9c9ff}
body[data-theme='dark'] .app-menubar .nav-flyout-submenu{background:#101827;border-color:#293753}
body[data-theme='dark'] .app-menubar .nav-flyout-submenu button.active{background:#18335d;color:#a9c9ff}

@media(max-width:1100px){
  .app-menubar .brand{width:185px;min-width:185px}
  .app-menubar .brand small{display:none}
  .topbar{align-items:flex-start;flex-wrap:wrap}
  .top-actions{flex:1 1 620px}
}
@media(max-width:900px){
  .sidebar.app-menubar{min-height:58px}
  .menubar-main{min-height:58px;padding:0 12px;gap:8px;flex-wrap:nowrap}
  .app-menubar .brand{width:min(185px,calc(100vw - 176px));min-width:0;flex:0 1 185px;height:58px}
  .app-menubar .brand-member .member-logo{width:100%;height:100%}
  .app-menubar .menu-toggle{display:grid;order:2;margin-left:auto}
  .app-menubar .sidebar-tools{order:3;margin-left:0}
  .app-menubar .nav{
    display:none;position:absolute;top:100%;left:0;right:0;z-index:70;
    max-height:calc(100vh - 58px);padding:8px;overflow:auto;
    flex-direction:column;align-items:stretch;gap:3px;
    background:linear-gradient(180deg,#0b2145,#102f5c);
    border-top:1px solid rgba(255,255,255,.1);box-shadow:0 18px 38px rgba(9,28,57,.28)
  }
  .app.mobile-menu-open .app-menubar .nav{display:flex}
  .app-menubar .nav-group{display:block}
  .app-menubar .nav-title.nav-group-toggle{
    width:100%;min-height:44px;padding:0 12px;border-radius:8px;
    justify-content:space-between
  }
  .app-menubar .nav-group.has-active>.nav-group-toggle:after{display:none}
  .app-menubar .nav-group-body{
    position:static;min-width:0;margin:3px 0 6px;padding:5px;
    border-color:rgba(255,255,255,.12);box-shadow:none
  }
  .app-menubar .nav-flyout-submenu{
    position:static;display:grid;min-width:0;margin:0 0 5px 31px;padding:3px 0 3px 9px;
    border:0;border-left:2px solid rgba(255,255,255,.18);border-radius:0;
    background:transparent;box-shadow:none
  }
  .app-menubar .nav-flyout-submenu::before{display:none}
  .app-menubar .nav-child-arrow{transform:rotate(90deg)}
  .topbar{top:58px}
}
@media(max-width:700px){
  .app-menubar .brand h1{font-size:13px}
  .app-menubar .brand-kicker{display:none}
  .topbar{min-height:0;padding:12px 14px;align-items:stretch;flex-direction:column;gap:10px}
  .topbar h2{font-size:18px}
  .top-actions{width:100%;justify-content:flex-start}
  .top-actions .admin-identity{width:100%}
  .top-actions .admin-switch{width:100%;min-width:0}
  .top-actions>.btn{flex:1}
}

/* ===== Full-screen workspace ===== */
html,body{width:100%;min-width:0;min-height:100%;overflow-x:hidden}
.app,.main,.content,.section,.section.active{width:100%;max-width:none;min-width:0}
.content{
  width:100%;max-width:none;margin:0;padding:14px 14px 32px;
  min-height:calc(100vh - 134px)
}
.section.active{min-height:calc(100vh - 162px)}
.section>.card,.section>.grid,.section-head,.filterbar,.summary-strip{
  width:100%;max-width:none;min-width:0
}
.section-head{flex-wrap:wrap}
.section-head>div:first-child{min-width:0}
.section-head .toolbar{margin-left:auto;justify-content:flex-end}
.grid>*{min-width:0}

/* 페이지 상단 섹션 제목은 통합 대시보드에서만 표시합니다. */
.section:not(#dashboard) > .section-head{display:none!important}

@media(min-width:1101px){
  .section .table-wrap{
    width:100%;max-width:100%;overflow-x:hidden!important;
    overflow-x:clip!important;overflow-y:visible
  }
  .table,
  #orders .order-compact-table,
  #drivers .table,
  #customers .table,
  #settlements .driver-income-table,
  #settlements .driver-settlement-table,
  .receipt-expense-api-table,
  .pg-ledger,
  .pg-mini-table,
  .reconcile-table{
    width:100%!important;min-width:100%!important;max-width:100%;
    table-layout:auto!important
  }
  .table th,.table td{
    min-width:0!important;max-width:none;padding:8px 6px;
    white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;
    vertical-align:top;line-height:1.4
  }
  .table th{font-size:clamp(9px,.67vw,11px)}
  .table td{font-size:clamp(9px,.71vw,12px)}
  .table th.right,.table td.right,
  .table .badge,.table .btn,.table .finance-chip,
  .table .phone-link,.table .route-phone-compact{
    white-space:nowrap!important
  }
  #orders .order-compact-table th,
  #orders .order-compact-table td{width:auto!important}
  .table .contact-card,
  .table .reservation-box,
  .table .receipt-cell,
  .table .insurance-stack,
  .table .driver-profile-cell{
    min-width:0!important;max-width:100%
  }
  .table .contact-card,.table .receipt-cell{gap:2px}
  .table .btn{padding:5px 6px;font-size:10px}
  .filterbar{width:100%;max-width:none}
}

@media(min-width:1700px){
  .content{padding-left:18px;padding-right:18px}
  .table th,.table td{padding-left:8px;padding-right:8px}
}

@media(max-width:1100px){
  .content{width:100%;max-width:none;margin:0}
  .table-wrap{width:100%;max-width:100%}
}

/* ===== Fixed order status summary in top menu ===== */
.top-order-status{
  height:34px;min-width:0;margin-left:auto;padding:0;
  display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 1 auto;
  border:0;border-radius:0;background:transparent;color:#dbe7ff;
  white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none
}
.top-order-status::-webkit-scrollbar{display:none}
.top-order-status-item{
  min-width:0;height:32px;padding:0 8px;border:1px solid rgba(255,255,255,.16);border-radius:8px;
  display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;
  background:rgba(255,255,255,.08);color:inherit;font-size:14px;font-weight:750;
  white-space:nowrap
}
.top-order-status-item strong{color:#fff;font-size:14px;font-weight:950}
.top-order-status-item:hover{background:rgba(255,255,255,.12)}
.top-order-status-item.active{background:#fff;color:#174fba}
.top-order-status-item.active strong{color:#174fba}
.app-menubar .sidebar-tools{margin-left:0}
.order-stage-board.platform-only{
  display:flex;align-items:center;justify-content:flex-end;
  overflow:visible;margin-bottom:8px
}
.order-stage-board.platform-only .order-stage-platform{width:220px}
body[data-theme='dark'] .top-order-status-item.active{background:#dce9ff;color:#173f8a}
body[data-theme='dark'] .top-order-status-item.active strong{color:#173f8a}

@media(max-width:1320px) and (min-width:901px){
  .menubar-main{gap:8px;padding-left:12px;padding-right:12px}
  .app-menubar .brand{min-width:170px}
  .app-menubar .brand small{display:none}
  .app-menubar .nav-title.nav-group-toggle{min-width:72px;padding:0 10px;font-size:12px}
  .top-order-status{padding:0 3px}
  .top-order-status-item{padding:0 3px;font-size:14px;gap:2px}
  .top-order-status-item strong{font-size:14px}
}

@media(max-width:900px){
  .sidebar.app-menubar{padding-bottom:32px}
  .top-order-status{
    position:absolute;left:0;right:0;bottom:0;width:100%;height:32px;
    margin:0;padding:0 8px;border-top:1px solid rgba(255,255,255,.14);border-radius:0;
    justify-content:flex-start;overflow-x:auto;overflow-y:hidden;
    scrollbar-width:none;background:rgba(5,21,44,.42)
  }
  .top-order-status::-webkit-scrollbar{display:none}
  .top-order-status-item{height:27px;padding:0 6px}
  .topbar{top:90px}
}

@media(max-width:700px){
  .order-stage-board.platform-only .order-stage-platform{width:100%}
}

@media(min-width:1101px){
  #orders .dispatch-final-table{
    width:100%!important;min-width:100%!important;
    table-layout:fixed!important
  }
  #orders .dispatch-final-table th{width:auto!important}
}

/* ===== Common list pagination ===== */
.table tbody tr[hidden]{display:none!important}
.list-pagination{
  min-height:52px;padding:9px 12px;border-top:1px solid var(--line);
  display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);
  align-items:center;gap:12px;background:var(--panel)
}
.list-pagination-summary,.list-pagination-current{
  color:var(--muted);font-size:11px;white-space:nowrap
}
.list-pagination-summary b,.list-pagination-current b{color:var(--text);font-size:12px}
.list-pagination-current{text-align:right}
.list-pagination-controls{display:flex;align-items:center;justify-content:center;gap:4px}
.list-pagination-controls button{
  min-width:32px;height:32px;padding:0 8px;border:1px solid var(--line);
  border-radius:8px;background:var(--panel);color:var(--text);
  font-size:11px;font-weight:850
}
.list-pagination-controls button:hover:not(:disabled){border-color:#8eb4ff;background:#eef4ff;color:#174fba}
.list-pagination-controls button.active{border-color:var(--primary2);background:var(--primary2);color:#fff}
.list-pagination-controls button:disabled{opacity:.35;cursor:not-allowed}
.list-pagination-ellipsis{min-width:24px;text-align:center;color:var(--muted)}
body[data-theme='dark'] .list-pagination{background:var(--panel);border-color:var(--line)}
body[data-theme='dark'] .list-pagination-controls button{background:#172236;border-color:#2b3b58;color:var(--text)}
body[data-theme='dark'] .list-pagination-controls button:hover:not(:disabled){background:#1e3150;border-color:#527fca;color:#dce9ff}
body[data-theme='dark'] .list-pagination-controls button.active{background:var(--primary2);border-color:var(--primary2);color:#fff}

@media(max-width:700px){
  .list-pagination{
    grid-template-columns:1fr;justify-items:center;gap:7px;padding:10px
  }
  .list-pagination-summary,.list-pagination-current{text-align:center}
  .list-pagination-controls{max-width:100%;flex-wrap:wrap}
}

/* ===== Admin menu pages ===== */
.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important
}
.admin-page-card{overflow:hidden}
.admin-panel-head{
  min-height:48px;padding:11px 14px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#f8fafc
}
.admin-panel-head h3{margin:0;font-size:15px;line-height:1.3}
.access-log-count{
  min-width:45px;height:22px;padding:0 9px;border-radius:99px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#174a84;color:#dcebff;font-size:11px;font-weight:900
}
.access-log-filter{
  padding:13px;display:grid;grid-template-columns:minmax(260px,1fr) 160px auto auto;
  align-items:end;gap:8px;border-bottom:1px solid var(--line)
}
.access-log-filter .field{min-width:0}
.access-log-filter input{width:100%;height:38px}
.access-log-filter .btn{height:38px}
.access-log-table{width:100%;min-width:720px}
.access-log-table th,.access-log-table td{vertical-align:middle}
.access-log-table th:nth-child(1){width:29%}
.access-log-table th:nth-child(2){width:18%}
.access-log-table th:nth-child(3){width:10%}
.access-log-table th:nth-child(4){width:20%}
.access-log-table th:nth-child(5){width:23%}
.access-log-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.access-log-actions .btn{padding:6px 9px;font-size:11px}
.access-log-actions .ip-block-btn{
  background:#d81f2a;border-color:#d81f2a;color:#fff
}
.access-log-actions .ip-block-btn:hover{background:#b9141d;border-color:#b9141d}
.access-log-actions .ip-block-btn.unblock{
  background:#9a6700;border-color:#9a6700;color:#fff
}
.admin-settings-grid{
  width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;gap:12px
}
.admin-setting-card{overflow:hidden;box-shadow:none}
.admin-setting-body{padding:12px;display:grid;gap:11px}
.admin-setting-body .field{gap:7px}
.admin-setting-body input{width:100%}
.admin-setting-submit{width:100%;margin-top:1px}
body[data-theme='dark'] .admin-panel-head{
  background:#171f2d;border-color:#344054
}
body[data-theme='dark'] .access-log-filter{background:#111822;border-color:#344054}
body[data-theme='dark'] .admin-page-card,
body[data-theme='dark'] .admin-setting-card{background:#1b2028;border-color:#344054}
body[data-theme='dark'] .access-log-table th{background:#242b35;color:#d7e3f5}
body[data-theme='dark'] .access-log-table td{border-color:#303743}

@media(max-width:760px){
  .access-log-filter{grid-template-columns:1fr 1fr}
  .access-log-filter .field:first-child{grid-column:1/-1}
  .admin-settings-grid{grid-template-columns:1fr}
}

/* ===== 담당자 관리 ===== */
.staff-manager-table{width:100%;min-width:980px}
.staff-manager-table th:nth-child(1){width:9%}
.staff-manager-table th:nth-child(2){width:10%}
.staff-manager-table th:nth-child(3){width:13%}
.staff-manager-table th:nth-child(4){width:auto}
.staff-manager-table th:nth-child(5){width:16%}
.staff-manager-table th:nth-child(6){width:10%}
.staff-menu-summary{
  min-width:260px;white-space:normal;word-break:keep-all;
  color:var(--text);font-size:11px;line-height:1.6
}
.staff-manager-actions{display:flex;align-items:center;gap:6px}
.staff-manager-actions .btn{padding:6px 9px;font-size:11px}
.staff-manager-actions .delete{
  color:#fff;background:#d81f2a;border-color:#d81f2a
}
.staff-manager-actions .delete:hover{background:#b9141d;border-color:#b9141d}
.modal.staff-editor-modal{max-width:720px}
.staff-editor-form{display:grid;gap:14px}
.staff-editor-form h4{margin:0;font-size:14px}
.staff-editor-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px
}
.staff-access-fieldset{margin:0;padding:0;border:0}
.staff-access-fieldset legend{
  padding:0;margin-bottom:9px;font-size:14px;font-weight:850;color:var(--text)
}
.staff-access-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:14px;row-gap:8px
}
.staff-access-option{
  min-height:37px;padding:6px 4px;display:flex;align-items:flex-start;gap:8px;
  color:var(--text);font-size:12px;font-weight:750;cursor:pointer
}
.staff-access-option input{width:16px;height:16px;margin:0;flex:0 0 auto}
.staff-access-option span{line-height:1.4}
.staff-access-option small{display:block;margin-bottom:2px;color:var(--muted);font-size:10px;font-weight:700}
body[data-theme='dark'] .modal.staff-editor-modal,
body[data-theme='dark'] .modal.staff-editor-modal .modal-head,
body[data-theme='dark'] .modal.staff-editor-modal .modal-foot{
  background:#1b2028;color:#e5edf8;border-color:#344054
}

@media(max-width:620px){
  .staff-editor-grid,.staff-access-grid{grid-template-columns:1fr}
  .modal.staff-editor-modal{max-height:96vh}
}

.order-search-action .btn{width:100%;height:34px}

/* ===== 신규 접수 전용 4단계 UI ===== */
.modal.new-reception-modal{max-width:920px}
.new-reception-modal .modal-body{padding:10px;background:#f7f9fc}
.new-reception-modal .modal-foot{display:none}
.new-reception{display:grid;gap:10px;color:var(--text)}
.reception-form{display:grid;gap:10px}
.reception-form[hidden]{display:none}
.reception-customer-lookup{
  padding:15px;border:1px solid #9fc7f4;border-radius:11px;background:#fff
}
.reception-customer-lookup-head span{
  display:inline-flex;padding:4px 8px;border-radius:99px;background:#e6f2ff;color:#0d66bd;
  font-size:9px;font-weight:900
}
.reception-customer-lookup-head h4{margin:8px 0 3px;font-size:16px}
.reception-customer-lookup-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.reception-customer-search{display:block;margin-top:13px}
.reception-customer-search>span{display:block;margin-bottom:6px;font-size:11px;font-weight:850}
.reception-customer-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
.reception-customer-search input{
  min-width:0;height:42px;padding:8px 12px;border:1px solid #aebfd3;border-radius:8px;
  background:#fff;color:var(--text);font-size:12px
}
.reception-customer-search button{
  min-width:74px;border:0;border-radius:8px;background:#126fd1;color:#fff;font-weight:850;cursor:pointer
}
.reception-customer-results{display:grid;gap:5px;margin-top:8px}
.reception-customer-result{
  width:100%;padding:9px 10px;border:1px solid #d3deea;border-radius:9px;
  display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:9px;align-items:center;
  background:#fbfdff;color:var(--text);text-align:left;cursor:pointer
}
.reception-customer-result:hover{border-color:#7cb4ef;background:#f1f7ff}
.reception-customer-result:disabled{opacity:.55;cursor:not-allowed}
.reception-customer-avatar{
  width:32px;height:32px;border-radius:9px;display:grid;place-items:center;
  background:#dcecff;color:#1165b9;font-size:13px;font-weight:900
}
.reception-customer-main,.reception-customer-account{display:grid;gap:2px;min-width:0}
.reception-customer-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.reception-customer-main small,.reception-customer-account small{color:var(--muted);font-size:9px}
.reception-customer-account{text-align:right}
.reception-customer-account b{font-size:10px}
.reception-customer-empty{
  min-height:48px;padding:12px;border:1px dashed #cbd7e5;border-radius:8px;
  display:grid;place-content:center;gap:3px;text-align:center;color:var(--muted);font-size:10px
}
.reception-customer-empty b{color:var(--text);font-size:11px}
.reception-customer-empty-action{padding:14px}
.reception-customer-empty-action span{display:block}
.reception-customer-add-button{
  min-width:170px;margin:7px auto 0;padding:8px 12px;border:0;border-radius:8px;
  background:#1677d2;color:#fff;font-size:10px;font-weight:900;cursor:pointer
}
.reception-customer-add-button:hover{background:#0f65b8}
.reception-selected-customer{
  margin-top:10px;padding:10px 11px;border:1px solid #8bd3a8;border-radius:9px;
  display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;background:#effbf4
}
.reception-selected-customer[hidden]{display:none}
.reception-selected-check{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#21a35b;color:#fff;font-weight:900
}
.reception-selected-customer>div:nth-child(2){display:grid;gap:2px;min-width:0}
.reception-selected-customer small{color:#27734a;font-size:9px;font-weight:800}
.reception-selected-customer b{font-size:12px}
.reception-selected-customer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4a6a58;font-size:9px}
.reception-selected-customer button{
  padding:6px 9px;border:1px solid #79bd95;border-radius:7px;background:#fff;color:#247348;font-size:9px;font-weight:850
}
.reception-steps{
  padding:0 18px 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border-bottom:1px solid var(--line)
}
.reception-steps button{
  min-height:38px;padding:4px 8px;border:0;border-top:2px solid #cfd8e6;
  display:flex;align-items:center;justify-content:center;gap:7px;
  background:transparent;color:#778399;font-size:11px;font-weight:750
}
.reception-steps button span{
  width:24px;height:24px;border:1px solid #c5d1e1;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:#67758d;font-size:10px
}
.reception-steps button.active{border-top-color:#1676df;color:#1266c2}
.reception-steps button.active span{border-color:#1676df;background:#1676df;color:#fff}
.reception-section{
  padding:12px;border:1px solid #cfdbea;border-radius:10px;background:#fff
}
.reception-section-title{
  margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #dce5f0;
  display:flex;align-items:center;gap:7px
}
.reception-section-title span{
  width:22px;height:22px;border-radius:7px;display:grid;place-items:center;
  background:#0f76dc;color:#fff;font-size:11px;font-weight:900
}
.reception-section-title h4{margin:0;font-size:14px}
.reception-grid{display:grid;gap:9px}
.reception-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.reception-condition-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
.reception-condition-card{
  min-height:56px;padding:9px 10px;border:1px solid #cbd8e8;border-radius:9px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfdff
}
.reception-condition-card b,.reception-condition-card small{display:block}
.reception-condition-card b{font-size:12px}
.reception-condition-card small{margin-top:3px;color:var(--muted);font-size:9px}
.reception-upload-card{cursor:pointer}
.reception-add-file{
  width:28px;height:22px;border-radius:99px;display:grid;place-items:center;
  background:#a9bad0;color:#fff;font-weight:900
}
.reception-mini-choices,.reception-wide-choices{display:flex;align-items:center;gap:3px}
.reception-choice{
  min-width:42px;height:27px;padding:0 9px;border:1px solid #c5d3e5;border-radius:7px;
  background:#fff;color:#5c6a80;font-size:10px;font-weight:800
}
.reception-mini-choices .reception-choice{min-width:30px;height:23px;padding:0 7px;border-radius:99px}
.reception-choice.active{border-color:#1277df;background:#1277df;color:#fff}
.reception-inline-groups{
  margin-top:11px;display:grid;grid-template-columns:1fr 1.5fr;gap:12px;align-items:end
}
.reception-inline-groups>div>label,.reception-request-grid>div>label,
.reception-subcard>label{display:block;margin-bottom:6px;font-size:11px;font-weight:800}
.reception-file-button{
  min-height:30px;padding:6px 10px;border:1px solid #b9c9dd;border-radius:7px;
  display:inline-flex!important;align-items:center;justify-content:center;
  background:#fff;color:#334155;font-size:10px!important;font-weight:800;cursor:pointer
}
.reception-file-name{margin-left:7px;color:var(--muted);font-size:10px}
.reception-warning{
  margin-top:10px;padding:9px 11px;border:1px solid #ff9292;border-radius:8px;
  display:flex;align-items:flex-start;gap:8px;background:#fff3f3;color:#b13a3a;
  font-size:10px;line-height:1.45
}
.reception-warning b{
  width:18px;height:18px;border-radius:50%;display:grid;place-items:center;
  flex:0 0 auto;background:#ff7777;color:#fff
}
.reception-payment-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px
}
.reception-subcard{
  min-height:126px;padding:11px;border:1px solid #c7d5e6;border-radius:9px;background:#fbfdff
}
.reception-mini-choices.payment{margin-bottom:8px}
.reception-amount-row{display:grid;grid-template-columns:minmax(90px,1fr) repeat(4,auto);gap:4px}
.reception-amount-row input,.reception-amount-row button{
  min-width:0;height:32px;border:1px solid #c6d3e3;border-radius:7px;background:#fff;color:var(--text)
}
.reception-amount-row input{padding:7px 9px}
.reception-amount-row button{padding:0 8px;font-size:9px;font-weight:800}
.reception-check{margin-top:8px;display:flex!important;align-items:center;gap:7px;font-size:10px!important}
.reception-check input{width:15px;height:15px}
.reception-toggle-row{
  margin-top:11px;padding-top:8px;border-top:1px solid #e1e7ef;
  display:flex!important;align-items:center;justify-content:space-between
}
.reception-toggle-row input{position:absolute;opacity:0}
.reception-toggle-row i{
  width:36px;height:21px;border-radius:99px;position:relative;background:#b8c3d2;transition:.18s
}
.reception-toggle-row i:after{
  content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.18s
}
.reception-toggle-row input:checked+i{background:#1677df}
.reception-toggle-row input:checked+i:after{transform:translateX(15px)}
.reception-tax-invoice-details{
  margin-top:9px;padding-top:9px;border-top:1px solid #e1e7ef;display:grid;gap:9px
}
.reception-tax-invoice-details[hidden]{display:none}
.reception-tax-invoice-basis{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px}
.reception-tax-invoice-basis b{font-size:10px}
.reception-tax-invoice-basis label{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;font-weight:700!important}
.reception-tax-invoice-basis input{width:14px;height:14px;margin:0;accent-color:#1677df}
.reception-tax-invoice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.reception-tax-invoice-fields input{height:34px;padding:7px 9px;border:1px solid #c6d3e3;border-radius:7px;background:#fff;color:var(--text)}
.reception-request-grid{
  margin-top:10px;display:grid;grid-template-columns:1fr 2fr;gap:11px;align-items:start
}
.reception-request-grid textarea{min-height:64px}
.reception-route-row{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr) 48px;
  gap:7px;align-items:end
}
.reception-address-input{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px}
.reception-address-input input,.reception-address-input button,.reception-search-button{
  height:34px;border:1px solid #c3d1e3;border-radius:7px;background:#fff;color:var(--text)
}
.reception-address-input input{min-width:0;padding:7px 9px}
.reception-address-input button{padding:0 8px;color:#0f68c8;font-size:9px;font-weight:850}
.reception-address-suggestions{
  display:none;position:absolute;z-index:80;top:calc(100% + 4px);left:0;right:0;
  margin:0;padding:5px;list-style:none;border:1px solid #c7d5e6;border-radius:9px;
  background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.18)
}
.reception-address-suggestions.active{display:grid;gap:3px}
.reception-address-input .reception-address-suggestions button{
  width:100%;height:auto;min-height:42px;padding:7px 9px;border:0;border-radius:7px;
  display:grid;gap:2px;background:#fff;color:#17212b;text-align:left
}
.reception-address-suggestions button:hover,.reception-address-suggestions button:focus{background:#edf5ff;outline:none}
.reception-address-suggestions b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.reception-address-suggestions small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:9px;font-weight:600}
.reception-search-button{padding:0 8px;font-size:9px;font-weight:800}
.reception-waypoint-add{
  margin:9px 0;padding:7px 10px;border:1px solid #8bbcff;border-radius:8px;
  background:#f3f8ff;color:#1264bc;font-size:10px;font-weight:850
}
.reception-waypoint-add:disabled{border-color:#cbd5e1;background:#eef2f6;color:#7b8798;cursor:not-allowed}
.reception-waypoint-list{display:grid;gap:6px}
.reception-waypoint{
  margin-top:7px;display:grid;grid-template-columns:22px minmax(180px,1.2fr) minmax(150px,.8fr) auto;gap:6px;align-items:center
}
.reception-waypoint span{
  width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  background:#e8f2ff;color:#1264bc;font-size:9px;font-weight:900
}
.reception-waypoint input{min-width:0;height:32px;padding:7px 9px;border:1px solid #c3d1e3;border-radius:7px}
.reception-waypoint button{height:30px;border:0;background:transparent;color:#d33;font-size:9px}
.reception-map{
  margin-top:8px;padding:7px;border:1px solid #cbd8e8;border-radius:9px;background:#f8fbff;overflow:hidden
}
.reception-map-guide{
  margin-bottom:7px;padding:7px;text-align:center;border-radius:6px;
  background:#e8f3ff;color:#27547f;font-size:10px;font-weight:750
}
.reception-map iframe{display:block;width:100%;height:260px;border:0;border-radius:7px;background:#eaf0f7}
.reception-map iframe[hidden]{display:none}
.reception-naver-map{height:260px;border-radius:7px;overflow:hidden}
.reception-naver-map[hidden]{display:none}
.reception-map-picker-overlay{
  position:fixed;inset:0;z-index:10020;padding:20px;display:grid;place-items:center;
  background:rgba(15,23,42,.58);backdrop-filter:blur(2px)
}
.reception-map-picker{
  width:min(760px,100%);max-height:calc(100vh - 40px);padding:16px;border:1px solid #c8d5e5;
  border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.3);overflow:auto
}
.reception-map-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.reception-map-picker-head h3{margin:0;font-size:18px}
.reception-map-picker-head p{margin:5px 0 0;color:var(--muted);font-size:11px}
.reception-map-picker-head>button{
  width:32px;height:32px;border:1px solid #d4deea;border-radius:8px;background:#fff;
  color:#64748b;font-size:22px;line-height:1;cursor:pointer
}
.reception-map-picker-search{margin-top:14px;display:grid;grid-template-columns:1fr auto;gap:7px}
.reception-map-picker-search input{
  min-width:0;height:40px;padding:8px 11px;border:1px solid #b8cae0;border-radius:8px
}
.reception-map-picker-search button{
  min-width:72px;border:0;border-radius:8px;background:#126fd1;color:#fff;font-weight:850;cursor:pointer
}
.reception-map-picker-canvas{height:420px;margin-top:10px;border:1px solid #cbd8e8;border-radius:10px;overflow:hidden}
.reception-map-picker-result{
  margin-top:10px;padding:10px 12px;border:1px solid #cfe0f2;border-radius:9px;
  display:grid;gap:3px;background:#f4f9ff
}
.reception-map-picker-result small{color:#5f7188;font-size:10px}
.reception-map-picker-result strong{font-size:12px}
.reception-map-picker-actions{margin-top:12px;display:flex;justify-content:flex-end;gap:7px}
.reception-map-picker-actions button{
  min-width:90px;height:36px;border:1px solid #c4d1e0;border-radius:8px;background:#fff;
  color:#334155;font-weight:800;cursor:pointer
}
.reception-map-picker-actions button.primary{border-color:#0874d8;background:#0874d8;color:#fff}
.reception-map-picker-actions button:disabled{opacity:.45;cursor:not-allowed}
.reception-submit-bar{
  padding:11px 12px;border:1px solid #cbd8e8;border-radius:9px;
  position:sticky;z-index:30;bottom:-10px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(255,255,255,.97);
  box-shadow:0 -8px 22px rgba(15,23,42,.12);backdrop-filter:blur(10px)
}
.reception-submit-bar b,.reception-submit-bar small{display:block}
.reception-submit-bar b{font-size:11px}
.reception-submit-bar small{margin-top:3px;color:var(--muted);font-size:9px}
.reception-submit-bar button{
  min-width:150px;height:40px;border:0;border-radius:8px;
  background:#0874d8;color:#fff;font-size:12px;font-weight:900;
  box-shadow:0 5px 12px rgba(8,116,216,.22)
}
body[data-theme='dark'] .new-reception-modal .modal-body{background:#0d1522}
body[data-theme='dark'] .reception-section,
body[data-theme='dark'] .reception-customer-lookup,
body[data-theme='dark'] .reception-condition-card,
body[data-theme='dark'] .reception-subcard,
body[data-theme='dark'] .reception-submit-bar{background:#141e2e;border-color:#30415b}
body[data-theme='dark'] .reception-choice,
body[data-theme='dark'] .reception-file-button,
body[data-theme='dark'] .reception-amount-row input,
body[data-theme='dark'] .reception-amount-row button,
body[data-theme='dark'] .reception-address-input input,
body[data-theme='dark'] .reception-address-input button,
body[data-theme='dark'] .reception-search-button,
body[data-theme='dark'] .reception-tax-invoice-fields input,
body[data-theme='dark'] .reception-customer-search input,
body[data-theme='dark'] .reception-customer-result,
body[data-theme='dark'] .reception-waypoint input{background:#0f1a2c;border-color:#354762;color:#e5edf8}
body[data-theme='dark'] .reception-selected-customer{background:#10281d;border-color:#2f8052}
body[data-theme='dark'] .reception-customer-add-button{background:#2384df;color:#fff}
body[data-theme='dark'] .reception-choice.active{background:#1677df;border-color:#1677df;color:#fff}
body[data-theme='dark'] .reception-warning{background:#341d24;border-color:#a94755;color:#ffadb5}
body[data-theme='dark'] .reception-map{background:#111c2b;border-color:#30415b}
body[data-theme='dark'] .reception-map-picker{background:#141e2e;border-color:#30415b}
body[data-theme='dark'] .reception-map-picker-head>button,
body[data-theme='dark'] .reception-map-picker-search input,
body[data-theme='dark'] .reception-map-picker-actions button{background:#0f1a2c;border-color:#354762;color:#e5edf8}
body[data-theme='dark'] .reception-map-picker-result{background:#101b2c;border-color:#30415b}
body[data-theme='dark'] .reception-address-suggestions{background:#0f1a2c;border-color:#354762}
body[data-theme='dark'] .reception-address-input .reception-address-suggestions button{background:#0f1a2c;color:#e5edf8}
body[data-theme='dark'] .reception-address-suggestions button:hover,
body[data-theme='dark'] .reception-address-suggestions button:focus{background:#1a2940}
body[data-theme='dark'] .reception-address-suggestions small{color:#9db0c9}

/* 전국지점 지도 관리 */
.nationwide-branch-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.75fr);gap:14px;min-height:650px}
.nationwide-map-card{position:relative;overflow:hidden;min-width:0}
.nationwide-branch-map{width:100%;height:650px;background:#eef3f8}
.nationwide-branch-editor{position:absolute;z-index:20;left:18px;top:18px;width:min(340px,calc(100% - 36px));padding:14px;border:1px solid #fda29b;border-radius:12px;background:#fff;box-shadow:0 12px 36px rgba(15,23,42,.24)}
.nationwide-branch-editor[hidden]{display:none}
.nationwide-branch-editor-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;color:#912018}.nationwide-branch-editor-head strong{font-size:15px}.nationwide-branch-editor-head button{width:28px;height:28px;border:0;border-radius:7px;background:#fee4e2;color:#b42318;font-size:18px;cursor:pointer}
.nationwide-branch-editor label{display:grid;gap:5px;color:#475467;font-size:11px;font-weight:900}.nationwide-branch-editor input{width:100%;height:40px;border:1px solid #cfd8e3;border-radius:8px;padding:0 10px;font-size:13px}
.nationwide-branch-coordinate{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.nationwide-branch-coordinate span{padding:8px;border-radius:8px;background:#f6f8fb;color:#667085;font-size:10px}.nationwide-branch-coordinate b{display:block;margin-top:2px;color:#344054}
.nationwide-branch-editor-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:11px}
.nationwide-list-card{min-width:0;overflow:hidden}.nationwide-list-head{padding:15px 16px;border-bottom:1px solid var(--line)}.nationwide-list-head h4{margin:0}.nationwide-list-head p{margin:4px 0 0;color:var(--muted);font-size:11px}
.nationwide-branch-list{height:594px;overflow:auto;padding:8px}.nationwide-branch-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;border:1px solid transparent;border-radius:10px;padding:5px;margin-bottom:5px}.nationwide-branch-item:hover,.nationwide-branch-item.active{border-color:#b9cef7;background:#f3f7ff}
.nationwide-branch-focus{display:flex;align-items:center;gap:9px;min-width:0;border:0;background:transparent;text-align:left;cursor:pointer}.nationwide-branch-focus>span:last-child{min-width:0}.nationwide-branch-focus b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243b64;font-size:13px}.nationwide-branch-focus small{display:block;margin-top:3px;color:#667085;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}
.nationwide-branch-pin{color:#173f8a;font-size:18px}.nationwide-branch-delete{border:1px solid #fda29b;border-radius:7px;background:#fff5f4;color:#b42318;padding:5px 7px;font-size:10px;font-weight:900;cursor:pointer}.nationwide-branch-empty{height:100%;display:grid;place-content:center;text-align:center;color:#667085;padding:24px}.nationwide-branch-empty b{color:#344054}.nationwide-branch-empty span{margin-top:5px;font-size:11px}
.nationwide-map-marker{transform:translate(-50%,-100%);position:relative;border:2px solid #fff;border-radius:16px;padding:5px 9px;color:#fff;font-size:11px;font-weight:900;white-space:nowrap;box-shadow:0 3px 12px rgba(0,0,0,.32)}.nationwide-map-marker::after{content:'';position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #173f8a}.nationwide-map-marker.draft::after{border-top-color:#d92d20}
@media(max-width:900px){.nationwide-branch-layout{grid-template-columns:1fr}.nationwide-branch-map{height:520px}.nationwide-branch-list{height:auto;max-height:420px}}

@media(max-width:720px){
  .member-filterbar{grid-template-columns:1fr}
  .integration-edit-actions{align-items:stretch;flex-wrap:wrap}
  .integration-edit-actions span{flex-basis:100%}
  .reception-steps{padding-left:0;padding-right:0}
  .reception-customer-result{grid-template-columns:32px minmax(0,1fr)}
  .reception-customer-account{grid-column:2;text-align:left}
  .reception-selected-customer{grid-template-columns:30px minmax(0,1fr)}
  .reception-selected-customer button{grid-column:2;width:max-content}
  .reception-steps button{padding:4px 2px}
  .reception-steps button b{display:none}
  .reception-grid.two,.reception-condition-grid,.reception-payment-grid,
  .reception-inline-groups,.reception-request-grid{grid-template-columns:1fr}
  .reception-route-row{grid-template-columns:1fr}
  .reception-waypoint{grid-template-columns:22px 1fr auto}
  .reception-waypoint .nr-waypoint-phone{grid-column:2}
  .reception-waypoint button{grid-column:3;grid-row:1/3}
  .reception-search-button{width:100%}
  .reception-amount-row{grid-template-columns:1fr repeat(2,auto)}
  .reception-tax-invoice-fields{grid-template-columns:1fr}
  .reception-submit-bar{align-items:stretch;flex-direction:column}
  .reception-submit-bar button{width:100%}
  .reception-map-picker-overlay{padding:8px}
  .reception-map-picker{max-height:calc(100vh - 16px);padding:11px}
  .reception-map-picker-canvas{height:55vh;min-height:300px}
}


.driver-deposit-admin-field > label,
.driver-deposit-admin-field > input{
  color:#d00000!important;
  font-weight:900!important;
}
.driver-deposit-admin-field > input{
  letter-spacing:.01em;
}
.driver-deposit-list-amount{
  color:#0057d9!important;
  font-weight:900!important;
}
.admin-number-formatted{
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}

/* Admin > 과태료 고지서 OCR */
.fine-notice-workspace{overflow:visible;background:transparent;border:0;box-shadow:none}
.fine-notice-workspace>.tabpane{padding:0}
.fine-notice-hidden-tabs{display:none!important}
.fine-notice-page-head{align-items:center}
.fine-notice-security-note{
  padding:8px 12px;border:1px solid #cfe0f8;border-radius:10px;
  background:#f4f8ff;color:#315b91;font-size:12px;font-weight:700;
}
.fine-notice-layout{
  display:grid;grid-template-columns:minmax(340px,.82fr) minmax(520px,1.18fr);
  gap:16px;align-items:start;
}
.fine-notice-upload-card,.fine-notice-result-card{overflow:hidden}
.fine-notice-upload-body,.fine-notice-result-body{padding:18px}
.fine-notice-upload-card .admin-panel-head,.fine-notice-result-card .admin-panel-head{min-height:55px}
.fine-notice-upload-card .admin-panel-head .muted{
  max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;
}
.fine-notice-dropzone{
  display:flex;min-height:188px;padding:24px;align-items:center;justify-content:center;
  flex-direction:column;gap:8px;border:2px dashed #b9c9df;border-radius:14px;
  background:#f8fbff;color:#244160;text-align:center;cursor:pointer;transition:.18s ease;
}
.fine-notice-dropzone:hover,.fine-notice-dropzone.is-dragging{
  border-color:#1769e0;background:#eef5ff;transform:translateY(-1px);
}
.fine-notice-dropzone strong{font-size:14px}
.fine-notice-dropzone small{color:#74869d}
.fine-notice-dropzone .btn{margin-top:6px;pointer-events:none}
.fine-notice-upload-icon{font-size:36px;line-height:1}
.fine-notice-preview-empty{
  display:flex;min-height:130px;margin-top:14px;padding:18px;align-items:center;justify-content:center;
  border:1px solid #e3e9f1;border-radius:12px;background:#fafbfc;color:#8794a6;font-size:12px;text-align:center;
}
.fine-notice-preview{
  display:block;width:100%;max-height:420px;margin-top:14px;border:1px solid #dfe6ef;
  border-radius:12px;background:#eef1f5;object-fit:contain;cursor:zoom-in;transition:border-color .18s,box-shadow .18s;
}
.fine-notice-preview:hover,.fine-notice-preview:focus{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.13);outline:0}
.fine-notice-preview[hidden]{display:none}
.fine-notice-progress{margin-top:14px;padding:12px;border-radius:10px;background:#f5f8fc}
.fine-notice-progress > div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px;color:#52677f}
.fine-notice-progress progress{display:block;width:100%;height:8px;accent-color:#1769e0}
.fine-notice-upload-actions{justify-content:flex-end;margin-top:14px}
.fine-notice-edit-help{margin:0 0 14px;color:#687c93;font-size:12px}
.fine-notice-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.fine-notice-result-grid .span2{grid-column:1/-1}
.fine-notice-result-grid input{font-weight:650}
.fine-notice-result-grid textarea{min-height:160px;resize:vertical;line-height:1.55;font-family:inherit;font-size:12px}
.fine-notice-order-link-card{margin-top:16px;overflow:hidden}
.fine-notice-order-link-body{padding:18px}
.fine-notice-customer-search{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px;max-width:680px}
.fine-notice-customer-results{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.fine-notice-customer-results>.empty{width:100%;padding:16px;border:1px dashed var(--line);border-radius:10px}
.fine-notice-customer-result{display:flex;min-width:230px;padding:10px 12px;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);text-align:left;cursor:pointer}
.fine-notice-customer-result:hover,.fine-notice-customer-result.active{border-color:#1769e0;background:#eef5ff;box-shadow:0 0 0 2px rgba(23,105,224,.1)}
.fine-notice-customer-result span{display:grid;gap:3px}.fine-notice-customer-result small{color:var(--muted)}.fine-notice-customer-result em{color:#1769e0;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}
.fine-notice-order-results{margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.fine-notice-order-results:empty{display:none}
.fine-notice-order-head{display:flex;padding:12px 14px;align-items:center;justify-content:space-between;background:#f6f8fb;border-bottom:1px solid var(--line)}
.fine-notice-order-head>div{display:flex;align-items:center;gap:8px}.fine-notice-order-head span{color:var(--muted);font-size:12px}.fine-notice-order-head strong{color:#1769e0;font-size:12px}
.fine-notice-order-table{min-width:940px}.fine-notice-order-table tr.selected td{background:#eef6ff}
.fine-notice-selected-order{display:grid;grid-template-columns:1fr 1.2fr .8fr 1.2fr 2fr;gap:0;margin-top:14px;border:1px solid #91bdf5;border-radius:12px;overflow:hidden;background:#f4f8ff}
.fine-notice-selected-order>div{display:grid;gap:3px;padding:12px 14px;border-right:1px solid #cfe0f5}.fine-notice-selected-order>div:last-child{border-right:0}.fine-notice-selected-order small{color:#577292;font-size:10px}.fine-notice-selected-order span{color:#60758d;font-size:11px}
.fine-notice-save-bar{display:flex;margin-top:14px;padding:12px 14px;align-items:center;justify-content:space-between;gap:12px;border-radius:10px;background:#f7f9fc;color:#63768d;font-size:12px}
.fine-notice-list-table{min-width:2550px}.fine-notice-list-table th,.fine-notice-list-table td{vertical-align:middle}.fine-notice-list-table td{max-width:240px;white-space:normal}.fine-notice-list-table td:nth-child(6),.fine-notice-list-table td:nth-child(7),.fine-notice-list-table td:nth-child(12){min-width:180px}
.fine-notice-file-link{padding:0;border:0;background:transparent;color:#1769e0;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body[data-theme='dark'] .fine-notice-security-note{border-color:#355273;background:#172b43;color:#bcd6f6}
body[data-theme='dark'] .fine-notice-dropzone{border-color:#48627f;background:#172536;color:#dbe9f9}
body[data-theme='dark'] .fine-notice-dropzone:hover,body[data-theme='dark'] .fine-notice-dropzone.is-dragging{background:#1a3452}
body[data-theme='dark'] .fine-notice-preview-empty,body[data-theme='dark'] .fine-notice-progress{border-color:#34465b;background:#172330;color:#9eb0c5}
body[data-theme='dark'] .fine-notice-customer-result,body[data-theme='dark'] .fine-notice-order-head,body[data-theme='dark'] .fine-notice-save-bar{background:#172330}
body[data-theme='dark'] .fine-notice-customer-result:hover,body[data-theme='dark'] .fine-notice-customer-result.active,body[data-theme='dark'] .fine-notice-selected-order{background:#172f4a}
@media(max-width:1050px){
  .fine-notice-layout{grid-template-columns:1fr}
}
@media(max-width:640px){
  .fine-notice-page-head{align-items:flex-start}
  .fine-notice-security-note{width:100%}
  .fine-notice-result-grid{grid-template-columns:1fr}
  .fine-notice-result-grid .span2{grid-column:auto}
  .fine-notice-upload-body,.fine-notice-result-body{padding:12px}
  .fine-notice-customer-search{grid-template-columns:1fr}.fine-notice-customer-search .btn{width:100%}
  .fine-notice-selected-order{grid-template-columns:1fr 1fr}.fine-notice-selected-order .route{grid-column:1/-1}
  .fine-notice-save-bar{align-items:stretch;flex-direction:column}.fine-notice-save-bar .btn{width:100%}
}

/* ===== 관리자 전체 다크모드 표면 보정 =====
 * 각 기능 CSS가 뒤에서 지정한 밝은 배경을 최종 단계에서 통일한다.
 */
body[data-theme='dark']{
  color-scheme:dark;
}
body[data-theme='dark'] .summary-strip>div,
body[data-theme='dark'] .appmsg-kpi,
body[data-theme='dark'] .message-preview-box,
body[data-theme='dark'] .message-order-summary>div,
body[data-theme='dark'] .message-bubble,
body[data-theme='dark'] .business-card-panel,
body[data-theme='dark'] .business-card-preview,
body[data-theme='dark'] .business-card-parsed,
body[data-theme='dark'] .receipt-line,
body[data-theme='dark'] .receipt-panel,
body[data-theme='dark'] .receipt-preview,
body[data-theme='dark'] .permission-item,
body[data-theme='dark'] .receipt-history>div,
body[data-theme='dark'] .route-view-controls,
body[data-theme='dark'] #orders .route-view-controls-final,
body[data-theme='dark'] .route-map-info>div,
body[data-theme='dark'] .route-register-summary>div,
body[data-theme='dark'] .naver-route-result>div,
body[data-theme='dark'] .payment-summary>div,
body[data-theme='dark'] .commission-preview-grid>div,
body[data-theme='dark'] .expense-final-grid>div,
body[data-theme='dark'] .live-route-strip>div,
body[data-theme='dark'] .live-info-card,
body[data-theme='dark'] .call-detail-summary>div,
body[data-theme='dark'] .driver-expense-verify-card,
body[data-theme='dark'] .driver-expense-verify-empty,
body[data-theme='dark'] .expense-receipt-card,
body[data-theme='dark'] .expense-receipt-gallery article,
body[data-theme='dark'] .receipt-api-grid>div,
body[data-theme='dark'] .receipt-api-thumb,
body[data-theme='dark'] .admin-review-section,
body[data-theme='dark'] .admin-review-panel,
body[data-theme='dark'] .admin-review-expense-item,
body[data-theme='dark'] .admin-review-history div,
body[data-theme='dark'] .payroll-slip-box,
body[data-theme='dark'] .pg-hosted-checkout dl,
body[data-theme='dark'] .pg-order-summary>div,
body[data-theme='dark'] .reconcile-metrics>div,
body[data-theme='dark'] .integration-settings-block,
body[data-theme='dark'] .nationwide-branch-editor,
body[data-theme='dark'] .fine-notice-order-results{
  background:#101827!important;
  color:var(--text)!important;
  border-color:#293753!important;
}

body[data-theme='dark'] .call-detail-panel,
body[data-theme='dark'] .bulk-upload-zone,
body[data-theme='dark'] .bulk-option-row,
body[data-theme='dark'] .order-modal-section,
body[data-theme='dark'] .quick-dispatch-card,
body[data-theme='dark'] .order-collapse,
body[data-theme='dark'] .route-register-panel,
body[data-theme='dark'] .route-register-panel.naver-required,
body[data-theme='dark'] .precise-location-card,
body[data-theme='dark'] .parking-guide-empty,
body[data-theme='dark'] .expense-receipt-lightbox-panel,
body[data-theme='dark'] .expense-receipt-lightbox-head,
body[data-theme='dark'] .receipt-original-panel,
body[data-theme='dark'] .receipt-original-head,
body[data-theme='dark'] .admin-review-footer,
body[data-theme='dark'] .reception-map-picker,
body[data-theme='dark'] .reception-address-suggestions{
  background:#0f1a2c!important;
  color:var(--text)!important;
  border-color:#2b3b58!important;
}

body[data-theme='dark'] .message-mini-btn,
body[data-theme='dark'] .order-modal-chip,
body[data-theme='dark'] .inline-money-editor,
body[data-theme='dark'] .quick-dispatch-grid input,
body[data-theme='dark'] .quick-dispatch-grid select,
body[data-theme='dark'] .quick-dispatch-grid textarea,
body[data-theme='dark'] .expense-receipt-gallery-buttons button,
body[data-theme='dark'] .expense-receipt-lightbox-head>button,
body[data-theme='dark'] .receipt-original-head button,
body[data-theme='dark'] .admin-review-expense-actions button,
body[data-theme='dark'] .admin-review-head-btn,
body[data-theme='dark'] .reception-selected-customer button{
  background:#172236!important;
  color:#dce7f8!important;
  border-color:#344762!important;
}

body[data-theme='dark'] .field label,
body[data-theme='dark'] .timeline-mini b,
body[data-theme='dark'] .receipt-line>span:first-child,
body[data-theme='dark'] .change-row b,
body[data-theme='dark'] .message-bubble-title,
body[data-theme='dark'] .message-overview-preview,
body[data-theme='dark'] .business-card-parsed,
body[data-theme='dark'] .business-card-parsed b,
body[data-theme='dark'] .commission-formula,
body[data-theme='dark'] .naver-route-result small,
body[data-theme='dark'] .call-detail-head p,
body[data-theme='dark'] .call-detail-summary small,
body[data-theme='dark'] .live-history th,
body[data-theme='dark'] .fine-notice-progress>div,
body[data-theme='dark'] .fine-notice-selected-order span{
  color:#a9b8cc!important;
}

body[data-theme='dark'] .reservation-row td{
  background:#211c13!important;
}
body[data-theme='dark'] .reservation-row:hover td{
  background:#2b2416!important;
}
body[data-theme='dark'] .reservation-box,
body[data-theme='dark'] .receipt-panel.pending,
body[data-theme='dark'] .message-bubble.incoming,
body[data-theme='dark'] .callout.warn,
body[data-theme='dark'] .bulk-guide,
body[data-theme='dark'] .tax-book-note{
  background:#2c2416!important;
  color:#f5d99c!important;
  border-color:#5b4725!important;
}
body[data-theme='dark'] .receipt-panel.approved,
body[data-theme='dark'] .message-bubble.outgoing,
body[data-theme='dark'] .naver-setting-note,
body[data-theme='dark'] .commission-preview-box{
  background:#102820!important;
  color:#9ee6c7!important;
  border-color:#285b49!important;
}
body[data-theme='dark'] .receipt-panel.rejected,
body[data-theme='dark'] .bulk-error-list,
body[data-theme='dark'] .callout.danger,
body[data-theme='dark'] .reconcile-block-list>div{
  background:#321c21!important;
  color:#ffb1b1!important;
  border-color:#6e343d!important;
}
body[data-theme='dark'] .app-api-note,
body[data-theme='dark'] .route-edit-guide,
body[data-theme='dark'] .location-setting-note,
body[data-theme='dark'] .platform-pg-lock-note,
body[data-theme='dark'] .commission-formula-guide,
body[data-theme='dark'] .pg-test-card,
body[data-theme='dark'] .funding-check{
  background:#12233d!important;
  color:#c9dcf7!important;
  border-color:#365986!important;
}

body[data-theme='dark'] .badge{background:#263650;color:#d7e3f5}
body[data-theme='dark'] .badge.green,
body[data-theme='dark'] .payroll-chip.ok,
body[data-theme='dark'] .reconcile-chip.ok{background:#123b31;color:#75e0b8}
body[data-theme='dark'] .badge.blue,
body[data-theme='dark'] .payroll-chip{background:#18335d;color:#a9c9ff}
body[data-theme='dark'] .badge.orange,
body[data-theme='dark'] .payroll-chip.warn,
body[data-theme='dark'] .reconcile-chip.wait{background:#3b3013;color:#ffd277}
body[data-theme='dark'] .badge.red,
body[data-theme='dark'] .payroll-chip.danger,
body[data-theme='dark'] .reconcile-chip.bad{background:#401d20;color:#ff9a95}
body[data-theme='dark'] .badge.purple{background:#30234b;color:#cbb3ff}
body[data-theme='dark'] .phone-link{background:#142b4d;color:#9ec5ff;border-color:#31598c}
body[data-theme='dark'] .admin-avatar{background:#18335d;color:#bcd5ff}
body[data-theme='dark'] .message-new-badge{background:#3b3013;color:#ffd277;border-color:#695621}
body[data-theme='dark'] .message-new-badge.has-new{background:#401d20;color:#ff9a95;border-color:#713239}

body[data-theme='dark'] .table tbody .call-group-row td,
body[data-theme='dark'] .call-detail-table tfoot td,
body[data-theme='dark'] .payroll-slip-box h4,
body[data-theme='dark'] .reconcile-subhead,
body[data-theme='dark'] .fine-notice-order-head,
body[data-theme='dark'] .fine-notice-save-bar{
  background:#172330!important;
  color:var(--text)!important;
  border-color:#34465b!important;
}
body[data-theme='dark'] .payroll-slip-total,
body[data-theme='dark'] .fine-notice-selected-order,
body[data-theme='dark'] .fine-notice-order-table tr.selected td{
  background:#172f4a!important;
  color:#cfe0ff!important;
  border-color:#3b6290!important;
}
body[data-theme='dark'] .progress,
body[data-theme='dark'] .live-progress,
body[data-theme='dark'] .deposit-progress{background:#263650}
body[data-theme='dark'] .naver-map-loading{background:rgba(15,26,44,.9);color:#bcd5ff}
body[data-theme='dark'] .naver-map-empty,
body[data-theme='dark'] .live-empty-map{background:linear-gradient(135deg,#101827,#142238);color:#a9b8cc;border-color:#344762}

body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed:hover,
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed:focus-visible{
  background:#123b31!important;color:#a7f3d0!important;border-color:#34765f!important
}
body[data-theme='dark'] #orders .dispatch-final-table .receipt-verify-action.completed .receipt-verify-label{
  color:#a7f3d0!important
}

body[data-theme='dark'] .expense-receipt-upload,
body[data-theme='dark'] .expense-receipt-app{
  background:#172236!important;color:#bcd5ff!important;border-color:#3a5f91!important
}
body[data-theme='dark'] .receipt-original-body,
body[data-theme='dark'] .expense-receipt-lightbox-body{
  background:#09111e!important
}

/* 밝은 상태칩·업무 보조영역 잔여분 */
body[data-theme='dark'] .form-section-title,
body[data-theme='dark'] .integration-edit-actions,
body[data-theme='dark'] #integrationTab.editing .integration-edit-actions,
body[data-theme='dark'] .receipt-api-state,
body[data-theme='dark'] .callout,
body[data-theme='dark'] .nationwide-branch-coordinate span{
  background:#14233b!important;
  color:#c9dcf7!important;
  border-color:#36506f!important;
}
body[data-theme='dark'] .naver-setting-note code{
  background:#172236!important;
  color:#bfe8d6!important;
}
body[data-theme='dark'] .nationwide-branch-map,
body[data-theme='dark'] .fine-notice-preview{
  background:#111c2b!important;
  color:#9eb0c5!important;
  border-color:#34465b!important;
}
body[data-theme='dark'] .nationwide-branch-editor-head button{
  background:#401d20;color:#ff9a95;border-color:#713239
}
body[data-theme='dark'] .money-base-cell{
  background:#2b2416!important;color:#f5d99c!important
}
body[data-theme='dark'] .money-final-cell{
  background:#142b4d!important;color:#bcd5ff!important
}
body[data-theme='dark'] #orders .dispatch-final-table .route-full-line span,
body[data-theme='dark'] #orders .dispatch-final-table .order-payment-method.card{
  background:#18335d!important;color:#a9c9ff!important
}
body[data-theme='dark'] #orders .dispatch-final-table .order-payment-method.cash{
  background:#123b31!important;color:#75e0b8!important
}
body[data-theme='dark'] #orders .dispatch-final-table .order-payment-method.postpaid,
body[data-theme='dark'] .live-track-badge.waiting,
body[data-theme='dark'] .live-track-badge.stale{
  background:#3b3013!important;color:#ffd277!important;border-color:#695621!important
}
body[data-theme='dark'] #orders .dispatch-final-table .order-payment-method.other,
body[data-theme='dark'] .live-track-badge.ended{
  background:#263650!important;color:#d7e3f5!important;border-color:#3b4e6b!important
}
body[data-theme='dark'] .qualification-badge,
body[data-theme='dark'] .finance-chip.gray{
  background:#263650;color:#d7e3f5;border-color:#3b4e6b
}
body[data-theme='dark'] .qualification-badge.green,
body[data-theme='dark'] .finance-chip.green{
  background:#123b31;color:#75e0b8;border-color:#285b49
}
body[data-theme='dark'] .qualification-badge.blue,
body[data-theme='dark'] .finance-chip.blue{
  background:#18335d;color:#a9c9ff;border-color:#31598c
}
body[data-theme='dark'] .qualification-badge.teal,
body[data-theme='dark'] .finance-chip.teal{
  background:#12373b;color:#82dde2;border-color:#286069
}
body[data-theme='dark'] .qualification-badge.purple,
body[data-theme='dark'] .finance-chip.purple{
  background:#30234b;color:#cbb3ff;border-color:#56417c
}
body[data-theme='dark'] .qualification-badge.orange,
body[data-theme='dark'] .finance-chip.orange{
  background:#3b3013;color:#ffd277;border-color:#695621
}
body[data-theme='dark'] .qualification-badge.red,
body[data-theme='dark'] .finance-chip.red{
  background:#401d20;color:#ff9a95;border-color:#713239
}
body[data-theme='dark'] .openbanking-required{
  background:#432716;color:#ffb57f
}
body[data-theme='dark'] .book-scope-switch .internal,
body[data-theme='dark'] .org-level-badge.linkway{
  background:#18335d;color:#a9c9ff
}
body[data-theme='dark'] .book-scope-switch .tax,
body[data-theme='dark'] .org-level-badge.company{
  background:#123b31;color:#75e0b8
}
body[data-theme='dark'] .org-level-badge.partner{
  background:#3b3013;color:#ffd277
}
body[data-theme='dark'] .org-level-badge.shop{
  background:#30234b;color:#cbb3ff
}
body[data-theme='dark'] .dispatch-qualification-mini.ok{
  background:#123b31;color:#75e0b8
}
body[data-theme='dark'] .dispatch-qualification-mini.blocked{
  background:#401d20;color:#ff9a95
}

/* Top bar: the signed-in administrator identity is intentionally hidden. */
.top-actions .admin-identity{
  display:none!important
}

/* Profit settlement summary: compact one-line items in a fixed 3 x 2 layout. */
#marginCards{
  grid-template-columns:repeat(3,minmax(0,1fr))
}
#marginCards .metric{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width:0;
  white-space:nowrap
}
#marginCards .metric .value{
  margin-top:0;
  font-size:15px;
  flex:0 0 auto
}
#marginCards .metric .note{
  margin-top:0;
  overflow:hidden;
  color:var(--muted);
  text-overflow:ellipsis
}
@media(max-width:700px){
  #marginCards{grid-template-columns:1fr}
  #marginCards .metric{white-space:normal}
}
