:root{font-family:"Malgun Gothic","Apple SD Gothic Neo",Arial,sans-serif;font-size:15px;color:#243247;background:#f5f6fb;--accent:#4e40e8;--pink:#ff3687;--line:#dfe3eb;--ink:#263448;--sidebar:220px;--top:50px}
body{background:#f5f6fb;color:var(--ink)}button{min-height:31px;padding:6px 11px;border:1px solid #cdd3df;border-radius:4px;background:#fff;font-size:12px;font-weight:600;color:#36445e;box-shadow:0 1px 2px #1723440a;white-space:nowrap}button:hover{background:#f1f2fc;border-color:#a3a9bc}button.primary{background:var(--pink);border-color:var(--pink);color:#fff}button.primary:hover{background:#ed2677}button.secondary,button.danger{background:var(--accent);border-color:var(--accent);color:#fff}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid #8077f7;outline-offset:3px}input,select,textarea{font:inherit;border:1px solid #cdd3df;border-radius:5px;min-height:30px;padding:5px 8px;max-width:100%;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #b2aafa;outline-offset:1px}textarea{line-height:1.7}input[type=checkbox],input[type=radio]{width:14px;min-height:14px;accent-color:var(--accent);margin:0}label{gap:7px;margin:12px 0;font-size:12px;font-weight:400}a{color:#313bb2;text-decoration:none}a:hover{text-decoration:underline}h1{font-size:18px;letter-spacing:-.5px}h2{font-size:14px;margin:0 0 16px}h3{font-size:13px}p{line-height:1.7}.muted{color:#778094;font-size:12px;line-height:1.7}.eyebrow{display:none}
body>header{height:50px;position:fixed;inset:0 0 auto;z-index:20;gap:16px;background:#304957;color:#fff;padding:0 18px 0 0;border-bottom:1px solid #263e4b}.brand{width:220px;height:50px;display:flex;align-items:center;flex-shrink:0;background:#fff;color:#202835;padding:0 12px 0 62px;font-family:Arial,sans-serif;font-size:21px;font-weight:800;letter-spacing:-1px;text-decoration:none!important;position:relative}.brand:before{content:'☎';position:absolute;left:57px;font-size:32px;color:#273b82;transform:rotate(-20deg)}.brand .brand-word{padding-left:28px;line-height:1;font-size:21px;font-weight:800;color:#202835;margin:0;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:.4px;text-align:center;font-weight:500;margin-top:4px}.top-message{font-size:12px;font-weight:600;line-height:1.5}.top-message small{font-weight:400;color:#c5d5df;display:block;font-size:10px}#identity{margin-left:auto;background:#5360b0;padding:7px 16px;border-radius:3px;font-weight:600;color:#fff;font-size:12px;white-space:nowrap}#identity:empty{display:none}#logout{background:none;color:#fff;border:0;font-size:11px;box-shadow:none}#menu-toggle{position:fixed;top:0;left:0;width:50px;height:50px;border:0;border-radius:0;color:#fff;background:#253588;z-index:22;font-size:18px;padding:0}.side-rail{position:fixed;top:50px;bottom:0;left:0;width:50px;background:#edf0f5;border-right:1px solid var(--line);z-index:18}.side-rail button{display:block;height:50px;width:49px;border:0;border-bottom:1px solid #dde2eb;border-radius:0;background:transparent;box-shadow:none;font-size:19px;font-weight:400;color:#57617a}.side-rail button:hover{background:white;color:var(--accent)}
main{margin:90px auto 20px;min-height:calc(100vh - 150px)}body:has(#workspace:not([hidden])) main{margin:50px 0 0 var(--sidebar);padding:0;max-width:none;min-height:calc(100vh - 90px)}#workspace{min-width:0}#workspace>nav{position:fixed;left:50px;top:50px;bottom:0;width:170px;overflow-y:auto;background:#fff;border-right:1px solid var(--line);z-index:18;padding:18px 0;display:flex;flex-direction:column;gap:0;border-radius:0;margin:0}#workspace>nav:before{content:'관리';font-size:14px;font-weight:700;letter-spacing:0;padding:2px 20px 12px;color:#202838;display:block}#workspace>nav button{background:transparent;border:0;box-shadow:none;min-height:29px;border-radius:0;padding:7px 20px;text-align:left;white-space:normal;line-height:1.4;color:#555;font-size:12px;font-weight:400}#workspace>nav button:hover{background:#f6f5ff;color:var(--accent)}#workspace>nav button.selected{color:#6153ff;background:#f7f6ff;font-weight:600;border-right:3px solid var(--accent);box-shadow:none}.nav-separator{height:1px;background:#eff0f6;margin:12px 20px;flex-shrink:0}.nav-section-label{color:#9da3b1;font-size:10px;padding:10px 20px 5px}.nav-pending small{font-size:9px;margin-left:5px;color:#8f95a3}#workspace>.heading{min-height:51px;border-bottom:1px solid var(--line);background:#fff;margin:0;padding:9px 20px;gap:10px}#workspace>.heading h1{margin:0;font-size:18px;color:#0f2035}#page-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}#refresh{font-size:11px}.tab{background:#fff;padding:28px 20px 30px;min-height:370px;overflow-wrap:anywhere}.tab>h2{margin:0 0 14px}.tab>.muted{margin-bottom:16px}.heading{gap:12px;margin-bottom:16px}.heading h2{margin:0}.card{border:1px solid var(--line);border-radius:3px;padding:18px;background:#fff;margin:0 0 18px;min-width:0;box-shadow:none}.grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.grid>.card{margin-bottom:0}.controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.controls>label{margin:0}.controls select{width:auto;min-width:110px}.controls input[type=search]{width:200px}.controls>.muted{margin:0}.row{gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.row>strong{min-width:120px}.row select{width:170px}.row:last-child{border-bottom:0}.check{font-weight:400;margin:0;gap:6px}.filter-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 15px}.filter-strip label{margin:0}.filter-strip input[type=search]{width:210px}.filter-strip select{width:auto;min-width:120px}.filter-strip input[type=date]{width:143px}.filter-strip input[type=datetime-local]{width:195px}.quick-dates{display:grid;grid-template-columns:repeat(3,65px);gap:3px}.quick-dates button{min-height:23px;padding:2px 8px;font-size:11px;font-weight:400;background:#f8f9fb}.filter-label{color:#5a6579}.list-summary{display:flex;align-items:center;gap:4px;margin-bottom:12px}.count-label{display:inline-flex;gap:6px;align-items:center;background:#edf0f6;color:#68748a;padding:7px 9px;border-radius:3px;font-size:11px}.list-summary>button{font-size:11px;min-height:29px}.list-summary>button.selected{background:#58608e;color:white;border-color:#58608e}.filter-state{display:flex;gap:12px;align-items:center}.filter-state label{display:flex;flex-direction:row;align-items:center;gap:5px}.filter-state input{width:14px}
.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);background:#fff}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:center}table th{padding:14px 9px;color:#fff;background:var(--accent);font-size:11px;font-weight:600;border:1px solid #4337cc;line-height:1.5;position:sticky;top:0;z-index:1}table td{padding:13px 9px;border:1px solid var(--line);font-variant-numeric:tabular-nums;line-height:1.6;color:#3f506c}tbody tr:nth-child(even){background:#f7f8fc}tbody tr:hover{background:#f3f2ff}td.text-left{text-align:left}td.actions{white-space:normal;min-width:180px}td.actions button{margin:2px;padding:5px 8px;font-size:11px}.table-link{border:0;box-shadow:none;background:transparent;color:#3139ad;font-weight:500;padding:0;white-space:normal;max-width:250px;text-align:left}.table-link:hover{text-decoration:underline;background:none}.table-empty{height:130px;color:#8991a3;background:#fff!important}.is-inactive{background:#f0f2f6!important}.is-inactive td{color:#929bad}.badge{font-size:10px;padding:2px 7px;border-radius:12px;background:#f1f3f8;color:#64728a;white-space:nowrap;border:1px solid #dce2ed}.badge.running,.badge.online{background:#e8f8ef;color:#15904c;border-color:#bae5ce}.badge.warning{background:#fff3d9;color:#a96c08;border-color:#efd79e}.badge.danger{background:#fff0f1;color:#ce4059;border-color:#f4c5cc}.number-emphasis{font-weight:700;font-size:14px}table th.column-remaining{background:#0e7c32;border-color:#096b29}td.remaining{color:#14894c;font-weight:600}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-size:11px;color:#8490a3}.page-buttons{display:flex;gap:4px}.page-buttons button{min-width:30px;min-height:29px;padding:4px 8px}.page-buttons button.selected{background:var(--accent);border-color:var(--accent);color:#fff}.empty-state{border:1px solid var(--line);border-radius:0;padding:55px 20px;color:#8991a3;background:#fafbfe}
.metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric{margin:0;text-align:center;border-radius:5px;padding:13px 8px;border-top:1px solid var(--line)}.metric:hover{transform:none}.metric p{margin:0 0 5px;font-size:11px;color:#5c6679}.metric strong{font-size:21px;font-weight:700;color:#3c485b;font-variant-numeric:tabular-nums}.monitor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:12px}.agent-status{border:1px solid #e5e9f3;border-radius:14px;min-height:122px;padding:15px;background:linear-gradient(#fff,#fafbfe);box-shadow:0 2px 6px #22345503}.status-heading{display:flex;align-items:center;gap:7px;margin-bottom:10px}.agent-status strong{font-size:14px;color:#303b50}.agent-status .badge{margin-left:auto;font-size:11px;padding:4px 9px;border:0;color:white;background:#9298a5}.agent-status .badge.running{background:#16a553}.agent-status .badge.warning{background:#ff9d00}.status-dot{display:inline-block;flex:0 0 10px;height:10px;width:10px;border-radius:50%;background:#9ba2b0;box-shadow:0 0 0 4px #f0f2f7}.status-dot.online{background:#10a45c;box-shadow:0 0 0 4px #e2f5ed}.agent-status p{margin:0;color:#8590a3;font-size:11px}.agent-status .contact-time{margin-top:10px;display:flex;justify-content:space-between;color:#39485f}.monitor-panel h2{font-size:12px;margin-bottom:14px}.summary-table{margin-bottom:22px}.summary-table td{padding:9px}.stats-section{margin-top:24px}.stats-section h2{font-size:13px}.call-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:14px}.call-filters label{margin:0}.call-filters input[type=search]{width:220px}.call-filters input[type=date]{width:145px}.call-filters select{width:150px}#calls>.card:first-child{border:0;padding:0}#calls>.card>h2{display:none}#campaign-list{display:block}#campaign-list .table-wrap{min-height:160px}.campaign-toolbar{margin-bottom:14px}.campaign-toolbar input{width:220px}.campaign-toolbar>.primary{background:#58608e;border-color:#58608e}#agent-controls{background:#f8f9ff}.recording-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.recording-filters input[type=search]{width:240px}.recording-filters select{width:140px}.recording-filters input[type=date]{width:145px}.recording-player{top:61px;z-index:3;background:#f8f8ff}.compact-setting{padding:15px}.compact-setting strong{font-size:11px;color:#8b92a0}.customer-event .memo-preview{background:#f5f6fa}#memo-search{width:260px}#block-import-form{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px}#block-import-form label{margin:0}.inline-panel{background:#f8f9fc}.inline-panel summary{cursor:pointer;font-weight:600;padding:13px}.inline-panel>div{padding:0 15px 15px}.login{max-width:390px;margin:150px auto 80px;padding:32px;border:1px solid #e0e4ec}.login h1{font-size:21px;margin-bottom:12px}.login label{font-size:12px}.login input{height:42px}.login button{height:42px;width:100%;margin-top:12px;background:var(--accent);border-color:var(--accent);color:white}body:has(#workspace[hidden]) .side-rail,body:has(#workspace[hidden]) #menu-toggle{display:none}body:has(#workspace[hidden]) .brand{padding-left:12px}body:has(#workspace[hidden]) .brand:before{left:14px}footer{margin-left:var(--sidebar);font-size:11px;color:#9299a8;padding:22px}body:has(#workspace[hidden]) footer{margin-left:0}#notice{z-index:100;padding:14px 20px;background:#304957;border-radius:5px;line-height:1.6}#notice.error{background:#a73852}body.menu-collapsed{--sidebar:50px}body.menu-collapsed #workspace>nav{display:none}#db-target-tools select{max-width:300px}
.brand .brand-word{display:block}.campaign-toolbar .filter-state input{width:14px;min-width:14px;max-width:14px;flex:0 0 14px}.campaign-toolbar>.primary{background:var(--pink);border-color:var(--pink)}.campaign-toolbar>input{flex:0 1 220px;max-width:220px}.campaign-toolbar .filter-state{flex:none}.campaign-toolbar .filter-state label{white-space:nowrap}
@media(max-width:1050px){.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.top-message small{display:none}.top-message{font-size:11px}.tab{padding:22px 16px}.quick-dates{grid-template-columns:repeat(3,55px)}}
@media(max-width:700px){:root{--sidebar:0px}.brand{width:190px;padding-left:52px}.brand:before{left:50px;font-size:28px}.brand .brand-word{font-size:19px}body>header{gap:6px;padding-right:8px}.top-message{display:none}#identity{padding:6px 9px;font-size:11px}#logout{font-size:10px;padding:5px}.side-rail{display:none}#workspace>nav{display:none;left:0;width:200px;box-shadow:6px 0 25px #14233522}body.mobile-menu-open #workspace>nav{display:flex}#workspace>.heading{padding:10px 12px;flex-wrap:wrap}#workspace>.heading h1{font-size:17px}.tab{padding:20px 12px;min-height:400px}#page-actions{gap:4px}#page-actions button{padding:5px 7px;font-size:10px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric strong{font-size:20px}.monitor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agent-status{padding:11px;border-radius:9px}.agent-status strong{font-size:12px}.status-heading{flex-wrap:wrap}.agent-status .badge{font-size:10px}.filter-strip{gap:7px}.filter-strip input[type=search]{flex:1;min-width:140px;width:auto}.filter-strip select{max-width:100%}.controls{display:flex;gap:7px}.controls button{white-space:normal;min-height:34px;flex:initial}.card{padding:14px}.grid{grid-template-columns:1fr}.call-filters{display:grid;grid-template-columns:1fr 1fr}.call-filters input,.call-filters select{width:100%!important}.row select{width:100%}.row button{min-height:34px}#notice{left:12px;right:12px;bottom:12px;font-size:12px}.recording-player{position:static}#block-import-form{grid-template-columns:1fr}.login{margin:110px auto 40px;padding:25px;max-width:370px}footer{margin-left:0}.quick-dates{grid-template-columns:repeat(3,58px)}.pagination{align-items:start;flex-wrap:wrap}.table-wrap{overscroll-behavior-x:contain}}
/* Callpro's six familiar outcomes, with explicit selection before confirmation. */
.callpro-results{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:10px;width:100%;max-width:580px}
.callpro-results button{min-height:54px;border:3px solid transparent;border-radius:16px;background:#6d747d;color:white;font-weight:700}
.callpro-results button[data-code="HANDOFF"]{background:#4b994d}
.callpro-results button[data-code="BLACKLIST"]{background:#c94148}
.callpro-results button[data-code="REJECTED_AFTER_ANSWER"]{background:#4ba2b7}
.callpro-results button[aria-pressed="true"]{border-color:#182633;box-shadow:0 0 0 2px white inset}
#handoff-process{max-width:900px}#handoff-process label{display:block;margin:12px 0}#handoff-process textarea{width:100%}
/* Readable everyday interface */
p{line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}h1,.heading h1{font-size:24px}h2,.tab>h2{font-size:20px}h3{font-size:17px}.muted{font-size:14px;color:#526176;line-height:1.8}label,.login label{font-size:14px;font-weight:500}button{font-size:14px;min-height:36px}input,select,textarea{font-size:15px;min-height:36px}table{font-size:14px}td,th{padding:12px;line-height:1.6}.badge{font-size:12px}.pagination,.count-label,.list-summary>button{font-size:13px}.agent-status p,.metric p{font-size:13px;color:#526176}.monitor-panel h2,.stats-section h2{font-size:17px}#workspace>nav{overflow-y:auto}#workspace>nav button{font-size:14px;min-height:40px}.login{max-width:450px}.login h1{font-size:25px}.login input{font-size:16px;height:46px}.login button{font-size:16px;height:46px}footer{font-size:13px;color:#596779}.app-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.app-guide .card{margin:0;padding:20px}.app-guide h3,.app-guidance h3{margin:0 0 10px}.app-guide p{margin:0}.app-guidance{max-width:80ch;margin-bottom:24px}.app-guidance p{margin:12px 0}.app-guidance summary{cursor:pointer;font-size:15px;font-weight:600;padding:12px 0}#app-download>p,#app-download>.card>p{max-width:80ch}#app-download>.card>p{overflow-wrap:anywhere}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #5446c9;outline-offset:3px}@media(max-width:700px){.app-guide{grid-template-columns:1fr}.login{max-width:calc(100% - 24px)}#page-actions button,#logout,.quick-dates button{font-size:12px;min-height:34px}.agent-status strong{font-size:14px}#notice{font-size:14px}#workspace>.heading h1{font-size:21px}}
/* Role-based navigation groups */
#workspace>nav .nav-group{margin:4px 10px 10px;border:0;border-bottom:1px solid #e6e9f0;padding:0 0 10px;background:transparent}
#workspace>nav .nav-group summary{padding:10px 12px;color:#68758a;font-size:12px;font-weight:700;letter-spacing:.03em;cursor:pointer}
#workspace>nav .nav-group button{display:block;width:100%;text-align:left;margin:3px 0;padding:10px 14px;border-radius:8px;border:0;background:transparent;color:#34435a}
#workspace>nav .nav-group button:hover{background:#edf1f8}
#workspace>nav .nav-group button.selected{background:#e9e7fc;color:#4433a2;font-weight:700}
#workspace>nav [hidden],.side-rail[hidden]{display:none!important}
.notice-body{white-space:pre-wrap}#system-company-editor form,#notice-editor form{max-width:760px}#system-company-editor label,#notice-editor label{display:block;margin:14px 0}#system-company-editor input,#notice-editor input:not([type=checkbox]),#notice-editor textarea,#notice-editor select{display:block;width:100%;margin-top:6px}
/* Measured from the reference administrator at normal browser zoom, 2026-09-15. */
:root,body{font-family:"Malgun Gothic","맑은 고딕",AppleGothic,Dotum,"돋움",sans-serif;font-size:12px}
button,input,select,textarea{font-family:inherit}
#workspace>nav .nav-group button{font-size:12px;font-weight:400;line-height:28px;min-height:28px;margin:0;padding:0 14px;border-radius:2px}
#workspace>nav .nav-group summary{font-size:12px;line-height:18px;padding:7px 12px}
#workspace>nav .nav-group{margin-bottom:7px;padding-bottom:7px}
/* Reference-style flat navigation: separators instead of repeated group headers. */
#workspace>nav{padding:8px 0}
#workspace>nav:before{content:none}
#workspace>nav .nav-reference-group{padding:6px 0;border-bottom:1px solid #eceef2;flex-shrink:0}
#workspace>nav .nav-reference-group button{display:block;width:100%;min-height:28px;line-height:28px;padding:0 20px;margin:0;border-radius:0;font-size:12px;font-weight:400}
#workspace>nav .nav-reference-group button.selected{background:#f2f0ff;color:#5140d8;border-right:3px solid #6653df;font-weight:700}
#workspace>nav .nav-extra{margin:4px 0 0;padding:0;border:0;flex-shrink:0}
#workspace>nav .nav-extra summary{padding:7px 20px;font-size:12px;font-weight:400;color:#737b88;letter-spacing:0}
#workspace>nav .nav-extra button{padding:0 20px;border-radius:0}
#workspace>nav .nav-section-hidden{display:none!important}
#workspace>nav:before{content:attr(data-section-title);display:block;font-size:12px;padding:10px 20px 8px;font-weight:700;color:#273044}
.side-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:58px;padding:0}
.side-rail button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.side-rail button span{font-size:10px;line-height:12px}
.side-rail button.selected{background:#fff;color:#344ea2;border-left:3px solid #344ea2}
#workspace>.heading{min-height:50px}#workspace>.heading h1{font-size:18px;font-weight:700}
.tab table th{font-size:11.04px;font-weight:400;padding:8px 5px}
.tab table td{font-size:12px;line-height:22px;padding:5px}
.tab .filter-strip input,.tab .filter-strip select{font-size:12px;height:30px;min-height:30px}
.tab .filter-strip button{font-size:13.08px;font-weight:700;min-height:30px}
.parity-detail{margin-top:18px}.parity-detail h2{margin-bottom:10px}
.reference-scope{font-size:12px;line-height:1.6;color:#697586}

/* Keep long file names and memos from sizing the entire results table. */
#campaign-list .campaign-file-title{width:220px;max-width:220px;white-space:normal;overflow-wrap:anywhere}
#campaign-list .campaign-file-title .table-link{display:block;width:100%;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#campaign-list .campaign-file-title .muted{margin:5px 0 0;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

#campaigns .list-summary{flex-wrap:wrap;gap:6px}
#campaigns .list-summary>select{width:190px;max-width:100%;min-width:0;flex:0 0 auto}
#campaigns .list-summary>.count-label,#campaigns .list-summary>button{flex:0 0 auto;white-space:nowrap}

#campaign-list .campaign-progress-cell{--campaign-remaining:#d7edfa;background-color:#fff;transition:background-color .15s}
#campaign-list .campaign-progress-cell .table-link{color:#064f80;font-weight:600}
#campaign-list .campaign-progress-cell .muted{color:#526176}

/* SMS composer */
.sms-compose-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.sms-compose-grid textarea,.sms-compose-grid input,.sms-compose-grid select{width:100%;margin-bottom:10px}.sms-compose-grid .controls{display:flex;flex-wrap:wrap;gap:6px}.sms-compose-grid .controls input{width:160px}.sms-file-options{display:flex;flex-wrap:wrap;gap:12px}.sms-file-options label{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.sms-message-preview{padding:12px;margin-bottom:12px;border:1px solid #dfe3eb;border-radius:8px;background:#f6f9fc;overflow-wrap:anywhere}.sms-preview-error{color:#a12836}.sms-compose-grid .notice-body{white-space:pre-wrap;overflow-wrap:anywhere}#sms-campaigns label select{display:block;width:240px;max-width:100%;margin-top:5px}@media(max-width:900px){.sms-compose-grid{grid-template-columns:1fr}}

#campaign-list .campaign-progress-label{margin:6px 0 0;font-size:12px;font-weight:600;color:#245674;line-height:1.4}

#assignment-preview select[aria-label="배정 후보 자료 구분"]{width:190px;flex:0 0 auto;min-width:0}
#assignment-preview select[aria-label="배정 확인 DB파일"]{width:280px;flex:0 1 280px;min-width:0;max-width:100%}
#assignment-preview td{white-space:normal;overflow-wrap:anywhere;max-width:300px}

#sms-campaigns select.sms-file-options{display:block;width:360px;max-width:100%;min-height:110px;margin-bottom:6px;font-size:13px}#sms-campaigns select.sms-file-options option{padding:6px 8px}

/* DB comparison pass: compact table controls without changing data semantics. */
@media(min-width:701px){
 #campaign-list td button,#db-list td button{min-height:26px;font-size:12px;padding:2px 6px;line-height:20px}
 #campaign-list .campaign-file-title .table-link{min-height:22px;padding:0;line-height:22px}
 #campaign-list .campaign-progress-label{margin-top:2px;line-height:18px}
 #campaign-list td.actions{min-width:150px;width:150px}
}
#campaign-list .campaign-more{display:inline-block;vertical-align:top;text-align:left;margin:2px}
#campaign-list .campaign-more summary{cursor:pointer;min-height:26px;line-height:24px;font-size:12px;color:#3f506c;padding:0 6px;border:1px solid var(--line);border-radius:4px;background:#fff}
#campaign-list .campaign-more[open]{display:block}
#campaign-list .campaign-more[open] button{display:inline-block}
#db-target-tools select{max-width:100%}
#db-target-tools #db-campaign{width:220px;min-width:0;flex:0 1 220px}

/* Statistics charts: scoped, responsive and independent of table typography. */
.report-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:22px 0 28px}
.chart-card{min-width:0;background:#fff;border:1px solid #e0e8ef;border-radius:16px;padding:24px;box-shadow:0 6px 24px #153e6308}
.chart-card .chart-kicker{margin:0 0 6px;font-size:10px;letter-spacing:.13em;font-weight:700;color:#52748f}
.chart-card h2{margin:0;font-size:18px;color:#173950;line-height:1.5}.chart-description{margin:5px 0 20px;color:#687d90;font-size:12px}
.chart-donut-layout{display:flex;align-items:center;gap:22px;min-height:250px}.chart-donut-layout>svg{width:210px;max-width:48%;flex-shrink:0}.chart-total{font-size:32px;font-weight:700;fill:#153b56}.chart-caption{font-size:12px;fill:#657e90}
.chart-legend{list-style:none;padding:0;margin:0;flex:1;min-width:0}.chart-legend li{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:12px;border-bottom:1px solid #f0f4f7}.chart-legend strong{margin-left:auto;white-space:nowrap}.chart-percent{font-size:11px;color:#61768a;white-space:nowrap}.chart-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}
.chart-rank{margin:0 0 14px}.chart-rank-heading{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:6px}.chart-rank-heading strong{margin-left:auto}.chart-rank-number{font-size:10px;color:#71899b;font-variant-numeric:tabular-nums}.chart-track{height:9px;border-radius:6px;background:#edf3f8;overflow:hidden}.chart-fill{height:100%;border-radius:6px;background:linear-gradient(90deg,#125e98,#36a5d7)}
.chart-wide{grid-column:1/-1}.chart-wide>svg{width:100%;height:auto;display:block}.chart-axis{font-size:11px;fill:#657b8f}.chart-series{display:flex;gap:20px;justify-content:flex-end;font-size:12px;color:#516b80;margin-bottom:10px}.chart-series span{display:flex;align-items:center;gap:7px}.chart-values{margin-top:12px}.chart-values summary{font-size:12px;color:#476780;cursor:pointer;padding:8px 0}.chart-card svg [tabindex]:focus{outline:2px solid #163e62;outline-offset:3px}.chart-empty{color:#687d90;padding:40px 0}
@media(max-width:1100px){.report-charts{grid-template-columns:minmax(0,1fr)}.chart-donut-layout{min-height:210px}}@media(max-width:600px){.chart-card{padding:16px}.chart-donut-layout{flex-direction:column;gap:10px}.chart-donut-layout>svg{max-width:100%;width:180px}.chart-legend{width:100%}.chart-rank-heading{flex-wrap:wrap}}

/* Familiar compact monitoring layout with clearer visual hierarchy. */
#monitor .filter-strip{padding:14px;background:#f7f9fc;border:1px solid #e0e7ef;border-radius:8px;align-items:center;gap:8px}
#monitor .filter-strip input[type=datetime-local]{width:180px;max-width:100%}#monitor .controls{align-items:center;gap:10px;margin:12px 0}
#monitor .controls select{width:85px;min-height:30px;font-size:12px}.monitor-refresh-time{font-size:11px;color:#63788d}
#monitor .monitor-panel{padding:16px;margin-bottom:16px}#monitor .monitor-grid{gap:10px}#monitor .agent-status{padding:12px;min-height:110px}#monitor .agent-status .badge{margin-left:8px}
#monitor .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#monitor .metric{padding:14px;margin:0}#monitor .metric strong{font-size:23px}#monitor .metric p{margin:0 0 5px;font-size:12px}
.monitor-state-distribution{border-top:1px solid #e5ecf2;margin-top:16px;padding-top:12px}.monitor-state-distribution h2{font-size:14px;margin:0}.monitor-state-grid{display:flex;flex-wrap:wrap;gap:12px}.monitor-state-item{display:grid;grid-template-columns:1fr auto;gap:8px;min-width:140px;padding:10px 14px;background:#f5f8fc;border-radius:8px;font-size:12px}.monitor-state-item progress{grid-column:1/-1;width:100%;height:6px;accent-color:#1b79b5}.monitor-basis{margin:12px 0;color:#63788d}.monitor-basis summary{cursor:pointer;font-size:12px}
#monitor .parity-detail>h2,#reports .stats-section h2{font-size:15px;margin:22px 0 10px;border-left:3px solid #126a9d;padding-left:9px}
@media(max-width:700px){#monitor .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#monitor .filter-strip input[type=datetime-local]{width:100%}}

/* Monitor board: actual hierarchy change, beyond control-level refinements. */
#monitor{padding-top:18px}#monitor>.eyebrow,#monitor>h2,#monitor>.muted{display:none}
#monitor>.filter-strip{margin:0;padding:10px 12px;border-radius:6px;background:#f5f8fc}
#monitor .filter-strip .quick-dates{display:flex;flex-wrap:wrap;gap:4px}#monitor .filter-strip .quick-dates button{padding:3px 8px;min-height:28px;font-size:11px}
.monitor-board{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:stretch;margin:16px 0}
#monitor .monitor-board .monitor-panel{margin:0;padding:16px;border-radius:10px;border:1px solid #dce6ef;box-shadow:none}
#monitor .monitor-panel>h2{font-size:15px;margin:0 0 7px}#monitor .monitor-panel>.reference-scope{font-size:11px;margin:0 0 12px}
#monitor .monitor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#monitor .agent-status{min-height:0;padding:10px 12px;border-radius:6px;background:#f8fafc;border:1px solid #e4ebf2;box-shadow:none}
#monitor .agent-status strong{font-size:12px}#monitor .agent-status p{font-size:11px;margin:4px 0;line-height:1.5}#monitor .agent-status .badge{font-size:10px}
#monitor .monitor-board>.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dce6ef;border:1px solid #dce6ef;border-radius:10px;overflow:hidden;margin:0}
#monitor .monitor-board .metric{border:0;border-radius:0;box-shadow:none;padding:14px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;background:#fff}
#monitor .monitor-board .metric p{font-size:11px;white-space:normal;line-height:1.5;text-align:center}#monitor .monitor-board .metric strong{font-size:21px;color:#07558d}
#monitor .report-charts{margin:0 0 20px;gap:16px}#monitor .chart-card{padding:18px;border-radius:10px;box-shadow:none}#monitor .chart-card h2{font-size:15px}#monitor .chart-description{margin:4px 0 14px;font-size:11px}
#monitor .chart-card.monitor-state-distribution{margin:0;border:1px solid #e0e8ef;padding:18px}#monitor .monitor-state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}#monitor .monitor-state-item{min-width:0;padding:12px;background:#f3f7fb}#monitor .monitor-state-item strong{color:#07558d;font-size:20px}
#monitor .chart-card:nth-child(3){grid-column:1/-1}#monitor .chart-card:nth-child(3) .chart-donut-layout{min-height:170px}#monitor .chart-card:nth-child(3) .chart-donut-layout>svg{width:170px}#monitor .chart-card:nth-child(3) .chart-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}
@media(max-width:1100px){.monitor-board{grid-template-columns:minmax(0,1fr)}#monitor .monitor-board>.metrics{min-height:150px}#monitor .chart-card:nth-child(3) .chart-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#monitor .monitor-grid{grid-template-columns:minmax(0,1fr)}#monitor .monitor-board>.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#monitor .chart-card:nth-child(3) .chart-legend{grid-template-columns:1fr}#monitor .monitor-state-grid{grid-template-columns:1fr}}

/* Reference layout takes precedence over the earlier custom board. */
#monitor .monitor-board{display:block;margin:12px 0}#monitor .monitor-board .monitor-panel{border:1px solid #eee;border-radius:0;padding:10px}
#monitor .monitor-panel>h2{font-size:12px;font-weight:700}#monitor .monitor-panel>.reference-scope{margin:4px 0 10px}
#monitor .monitor-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}#monitor .agent-status{border-radius:8px;background:#fff;padding:12px;border:1px solid #e4e7ec;min-height:90px}
#monitor .agent-status strong:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#94a3b8;margin-right:8px;box-shadow:0 0 0 3px #94a3b81a}#monitor .agent-status[data-state=ACTIVE] strong:before{background:#16a34a}#monitor .agent-status[data-state=ACTIVE] .badge{background:#16a34a;color:#fff}#monitor .presence-identity{color:#7b8796;font-size:11px}
#monitor>.filter-strip{border:0;border-radius:0;background:#fff;padding:0;gap:6px}#monitor .filter-strip input[type=datetime-local]{width:210px;height:28px;min-height:28px}#monitor .filter-strip select{width:120px;height:28px;min-height:28px}#monitor>.controls{margin:8px 0;font-size:12px}#monitor>.controls button{min-height:28px;font-size:12px}#monitor>.controls select{width:60px;min-height:28px}
.monitor-date-shortcuts{font-size:11px;color:#64748b;margin:6px 0}.monitor-date-shortcuts summary,.monitor-extra-summary summary{cursor:pointer}.monitor-date-shortcuts .quick-dates{display:flex;gap:4px;margin:6px 0}.monitor-extra-summary{margin:16px 0;font-size:12px}.monitor-extra-summary .metrics{margin-top:10px!important}
#monitor .report-charts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0 0 12px}#monitor .chart-card{border:1px solid #eee;border-radius:0;padding:10px;box-shadow:none}#monitor .chart-card h2{font-size:12px;color:#333}#monitor .chart-kicker{display:none}#monitor .chart-description{font-size:11px;margin:5px 0 10px}
#monitor .chart-card:nth-child(1){grid-column:1/-1}#monitor .chart-card:nth-child(2),#monitor .chart-card:nth-child(3){grid-column:auto}
#monitor .chart-donut-layout{flex-direction:column;min-height:0;gap:10px}#monitor .chart-donut-layout>svg{width:320px;max-width:80%}#monitor .chart-legend{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}#monitor .chart-rankings{padding:12px 8px}#monitor .chart-rank{margin-bottom:20px}#monitor .chart-track{height:14px;border-radius:2px}#monitor .chart-fill{border-radius:2px}
#monitor .parity-detail>h2{font-size:12px;border:0;padding:0;margin:18px 0 8px}#monitor .chart-wide>svg{max-height:340px}#monitor .chart-values{font-size:11px}
@media(max-width:700px){#monitor .report-charts{grid-template-columns:1fr}#monitor .chart-card:nth-child(n){grid-column:1/-1}#monitor .filter-strip input[type=datetime-local]{width:100%}#monitor .monitor-grid{grid-template-columns:1fr}}

/* Expanded agent presence, explicit state colors and clear phone context. */
#monitor .monitor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#monitor .agent-status{min-height:170px;padding:18px;position:relative;border-left:4px solid #94a3b8}#monitor .agent-status strong{font-size:15px;display:inline-block;margin-bottom:7px}#monitor .agent-status .badge{float:right;font-size:12px;line-height:22px;padding:2px 10px;border:0;border-radius:5px;background:#64748b;color:#fff}
#monitor .agent-status p{font-size:12px;line-height:1.7;margin:5px 0}#monitor .agent-status .presence-phone{font-size:17px;font-weight:600;color:#244861;margin:12px 0 8px;font-variant-numeric:tabular-nums}#monitor .agent-status .presence-identity{font-size:12px;color:#64748b}
#monitor .agent-status[data-state=ACTIVE]{border-left-color:#16a34a;background:#f5fcf7}#monitor .agent-status[data-state=ACTIVE] .badge{background:#16a34a}
#monitor .agent-status[data-state=DIALING],#monitor .agent-status[data-state=RESERVED]{border-left-color:#e89c20;background:#fffaf0}#monitor .agent-status[data-state=DIALING] .badge,#monitor .agent-status[data-state=RESERVED] .badge{background:#a66b00}
#monitor .agent-status[data-state=READY]{border-left-color:#177cb8;background:#f5faff}#monitor .agent-status[data-state=READY] .badge{background:#177cb8}
#monitor .agent-status[data-state=ENDED]{border-left-color:#7b62bc}#monitor .agent-status[data-state=ENDED] .badge{background:#7b62bc}#monitor .agent-status[data-state=UNKNOWN]{border-left-color:#bd334c;background:#fff5f5}#monitor .agent-status[data-state=UNKNOWN] .badge{background:#bd334c}
@media(max-width:1100px){#monitor .monitor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){#monitor .monitor-grid{grid-template-columns:minmax(0,1fr)}}

#monitor .reference-mixed-charts .reference-canvas-wrap{position:relative;height:450px;width:100%;min-width:0}#monitor .reference-mixed-charts .reference-timeseries .reference-canvas-wrap{height:460px}#monitor .reference-mixed-charts .chart-card h2{margin-bottom:14px}#monitor .reference-mixed-charts .chart-empty{padding:8px;text-align:center}#monitor .reference-mixed-charts canvas{max-width:100%}#monitor .reference-mixed-charts details{font-size:11px;margin-top:8px}@media(max-width:700px){#monitor .reference-mixed-charts .reference-canvas-wrap,#monitor .reference-mixed-charts .reference-timeseries .reference-canvas-wrap{height:320px}}

/* Finish existing charts without changing their placement or chart types. */
#monitor .reference-mixed-charts{gap:16px}#monitor .reference-mixed-charts .chart-card{padding:16px;border-color:#dfe7ef;border-radius:6px;background:#fff;box-shadow:0 2px 8px #15395105}
#monitor .reference-mixed-charts .chart-card h2{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:#263d50;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #edf1f5}
.chart-heading-meta{font-size:11px;font-weight:400;color:#6e8192;white-space:nowrap}.chart-data-note{font-size:12px;color:#64748b;background:#f5f8fb;padding:9px 12px;border-radius:4px;margin:10px 0}
#monitor .reference-mixed-charts .reference-scope{font-size:11px;line-height:1.7;margin:10px 0;color:#748394}#monitor .reference-mixed-charts details{border-top:1px solid #edf1f5;padding-top:8px;margin-top:12px;color:#536e83}#monitor .reference-mixed-charts summary{cursor:pointer;line-height:24px}#monitor .reference-mixed-charts .table-wrap{margin-top:8px}
#monitor .reference-mixed-charts .chart-empty{margin:8px 0;padding:10px;background:#f7f9fc;color:#718397;border-radius:4px;font-size:12px}
@media(max-width:700px){#monitor .reference-mixed-charts .chart-card{padding:12px}#monitor .reference-mixed-charts .chart-card h2{font-size:13px}.chart-heading-meta{font-size:10px}}

#monitor .monitor-demo-notice{margin:12px 0;padding:12px 16px;border:1px solid #93c5fd;border-radius:6px;background:#eff6ff;color:#1e40af;font-size:13px;line-height:1.6} #monitor .monitor-demo-notice[hidden]{display:none}

#tariffs .tariff-form{display:grid;gap:14px;margin-top:18px;max-width:1000px} #tariffs .tariff-form label{display:flex;flex-direction:column;gap:6px;font-size:13px} #tariffs .tariff-period{display:grid;grid-template-columns:1fr 1fr 1fr 2fr auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e2e8f0} #tariffs .tariff-form input,#tariffs .tariff-form select{min-width:0;width:100%;box-sizing:border-box} #tariffs>select{width:320px;max-width:100%} @media(max-width:800px){#tariffs .tariff-period{grid-template-columns:1fr 1fr}}

#company-service-editor .tariff-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:1000px;margin-bottom:20px} #company-service-editor .tariff-form h3,#company-service-editor .tariff-form p{grid-column:1/-1} #company-service-editor label{display:flex;flex-direction:column;gap:6px} #company-service-editor input,#company-service-editor textarea{width:100%;box-sizing:border-box} #system-company-list>.table-wrap{max-width:100%} @media(max-width:700px){#company-service-editor .tariff-form{grid-template-columns:1fr}}

.demo-workspace-bar{display:flex;gap:16px;align-items:center;padding:12px 20px;background:#eff6ff;border-bottom:1px solid #bfdbfe;color:#1e40af;font-size:13px;flex-wrap:wrap}.demo-workspace-bar[hidden],.demo-workspace-panel[hidden]{display:none}.demo-workspace-panel{padding:20px;min-width:0;grid-column:1/-1}.demo-workspace-panel .table-wrap{margin:16px 0;overflow:auto}.demo-workspace-panel th,.demo-workspace-panel td{padding:12px}.workspace-demo #monitor-demo{pointer-events:none}.workspace-demo #monitor .monitor-demo-notice{display:block}.demo-workspace-panel progress{width:120px}

#billing-lines .tariff-form{display:grid;gap:12px;max-width:900px;margin:16px 0}#billing-lines label{display:flex;flex-direction:column;gap:6px}#billing-lines>.table-wrap{overflow:auto}#billing-lines>select{width:320px;max-width:100%}

.billing-reference{font-size:12px}.billing-reference .filter-strip{gap:6px;align-items:center;flex-wrap:wrap}.billing-reference input,.billing-reference select{height:30px;font-size:12px}.billing-reference h3{font-size:12px;margin:20px 0 10px}.billing-reference th{font-size:11px;padding:8px 5px;font-weight:400}.billing-reference td{font-size:12px;padding:5px;line-height:22px}.billing-reference .table-wrap{margin:10px 0 18px}.paid-file-details{margin-top:22px;border-top:1px solid #dce4ed;padding-top:12px}.paid-file-details>summary{cursor:pointer;font-weight:600}
.handoff-reference .filter-strip{flex-wrap:wrap;gap:6px}.handoff-reference .filter-strip input,.handoff-reference .filter-strip select{flex:0 1 auto;width:auto;min-height:30px;font-size:12px}.handoff-reference #handoff-search{width:260px;max-width:100%}.handoff-reference .quick-dates{margin-bottom:8px}.handoff-reference th{font-size:11px}.handoff-reference td{font-size:12px}.handoff-statistics{margin:12px 0}.handoff-statistics>summary{cursor:pointer;color:#52667a;font-size:12px;padding:8px 0}.handoff-reference #handoff-summary .table-wrap{margin-bottom:6px}
.assignment-picker{border:1px solid #d9e2ed;padding:12px;max-width:720px;margin-bottom:12px}.assignment-picker legend{font-size:13px;font-weight:600}.assignment-picker>input{max-width:320px}.assignment-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;max-height:240px;overflow:auto}.assignment-choices .check{margin:0;padding:6px}.assignment-choices input{width:auto;flex:none}
.settings-group{border:1px solid #d9e2ed;padding:16px;margin:0 0 20px;display:flex;gap:20px;flex-wrap:wrap}.settings-group legend{font-weight:600;font-size:13px}.settings-group label{min-width:220px}.settings-group input{max-width:260px}.settings-advanced{margin:16px 0}.settings-advanced>summary{cursor:pointer;padding:10px 0;color:#52667a;font-size:12px}
/* Recording search controls follow the reference desktop density. */
#recordings .recording-filters,#manual-recordings .recording-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 15px}
#recordings .recording-filters input,#recordings .recording-filters select,#manual-recordings .recording-filters input,#manual-recordings .recording-filters select{box-sizing:border-box;flex:0 1 auto;width:140px;max-width:100%;height:28px;min-height:28px;padding:0 5px;font-size:12px;border-radius:3px}
#recordings .recording-filters input[type=search],#manual-recordings .recording-filters input[type=search]{width:240px}
#recordings .recording-filters button,#manual-recordings .recording-filters button{min-height:28px;padding:3px 10px;font-size:13.08px}
#recordings .recording-filters .quick-dates button,#manual-recordings .recording-filters .quick-dates button{min-height:21px;padding:2px 8px;font-size:11.4px;font-weight:400}
@media(max-width:700px){#recordings .recording-filters input,#recordings .recording-filters select,#recordings .recording-filters button,#manual-recordings .recording-filters input,#manual-recordings .recording-filters select,#manual-recordings .recording-filters button{min-height:36px}#recordings .recording-filters input[type=search],#manual-recordings .recording-filters input[type=search]{width:100%}}
/* Keep member-table controls at the reference desktop row density. */
#people #agent-list td select,#people #agent-list td button,#people #handoff-member-panel td select,#people #handoff-member-panel td button{box-sizing:border-box;min-height:28px;height:28px;font-size:12px;padding:2px 8px;line-height:20px}
#people #agent-list td select{width:170px;max-width:100%}
#people #agent-list .controls,#people #handoff-member-panel .controls{gap:5px}
#people #agent-list td.actions button,#people #handoff-member-panel td.actions button{margin:0}
@media(max-width:700px){#people #agent-list td select,#people #agent-list td button,#people #handoff-member-panel td select,#people #handoff-member-panel td button{min-height:36px;height:36px}}

/* Callpro-compatible compact semantic result badges. */
.reference-status{display:inline-block;padding:1px 6px;border-radius:10px;font-size:11px;font-weight:600;line-height:18px;white-space:nowrap;background:#6c757d;color:#fff;vertical-align:middle}
.reference-status--green{background:#16a34a;color:#fff}.reference-status--red{background:#dc3545;color:#fff}.reference-status--yellow{background:#ffd54f;color:#343a40}.reference-status--blue{background:#176b91;color:#fff}.reference-status--gray{background:#6c757d;color:#fff}.reference-status--dark{background:#545d65;color:#fff}

/* Reception list: compact reference table, wrapping instead of intrinsic expansion. */
.workflow-related{margin:16px 0 0;padding-top:10px;border-top:1px solid #e5e7eb;font-size:12px}
.workflow-related[hidden]{display:none}
.workflow-related button{margin:4px 6px 0 0;font-size:12px;min-height:28px}
.workflow-related summary{cursor:pointer;color:#52667a}
#monitor .monitor-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;align-items:start}
#monitor .agent-status{box-sizing:border-box;min-height:0;padding:12px;border:1px solid #e6e9ef;border-radius:12px;background:linear-gradient(#fff,#fafbfc);box-shadow:0 2px 8px #26374704}
#monitor .agent-card-heading{display:flex;gap:8px;align-items:start;justify-content:space-between;min-width:0}
#monitor .agent-card-heading strong{font-size:14px;line-height:20px;margin:0;min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#424956}
#monitor .agent-card-heading .badge{float:none;flex:none;margin:0;padding:1px 9px;font-size:11px;line-height:21px;border-radius:16px;background:#878d98}
#monitor .agent-status .presence-identity,#monitor .agent-status .presence-login{font-size:11px;line-height:17px;color:#87909f;margin:1px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#monitor .agent-card-updated{display:flex;justify-content:space-between;gap:6px;margin-top:10px;font-size:11px;line-height:18px;color:#87909f}
#monitor .agent-card-updated time{color:#495261;font-weight:600;text-align:right}
#monitor .agent-card-details{margin-top:7px;border-top:1px solid #edf0f4;padding-top:5px;font-size:11px;color:#778394}
#monitor .agent-card-details summary{cursor:pointer;line-height:18px}
#monitor .agent-card-details .presence-phone{font-size:13px;margin:6px 0}
#monitor .agent-status[data-state] {border-left-width:1px;border-left-color:#e6e9ef;background:linear-gradient(#fff,#fafbfc)}
@media(max-width:700px){#monitor .monitor-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
header .top-message{min-width:0;flex:1}
.header-notices{display:flex;flex-direction:column;gap:2px;min-width:0}
.header-notices[hidden]{display:none}
header .header-notice-link{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;padding:0;border:0;background:transparent;color:#fff;font-size:12px;line-height:20px;min-height:0;text-align:left;box-shadow:none}
header .header-notice-link:hover .header-notice-text{text-decoration:underline}
.header-notice-label{flex:none;background:#fff2ce;color:#685015;font-size:10px;border-radius:2px;padding:0 4px;line-height:16px}
.header-notice-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-notice-empty{color:#e2e8f0;font-size:12px}
.header-notice-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:80vh;overflow:auto;border:1px solid #d9e2ed;border-radius:6px;padding:22px;color:#374151;background:#fff}
.header-notice-dialog::backdrop{background:#0006}
.header-notice-dialog h2{font-size:18px;overflow-wrap:anywhere}
.header-notice-dialog .notice-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:18px 0;font-size:14px}
@media(max-width:700px){header .header-notice-link{font-size:11px}.header-notice-label{display:none}}
#operational-settings [hidden]{display:none!important}
#operational-settings .settings-help{width:100%;margin:0;color:#52667a;font-size:12px;line-height:1.7}
#operational-settings .settings-results{display:block}
#operational-dispositions{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:8px;margin-top:12px}
#operational-dispositions .compact-setting{padding:10px;border-radius:4px}
#operational-dispositions .compact-setting label{min-width:0}
#operational-settings fieldset legend,#recording-policy-settings h2{font-size:14px;color:#07558d}
#handoffs,#handoff-results,#handoff-summary{min-width:0;max-width:100%}
#handoffs .table-wrap{max-width:100%;min-width:0}
#handoff-results table,#handoff-summary table{width:100%;min-width:0;table-layout:fixed}
#handoff-results th,#handoff-summary th{background:#4f46e5;color:#fff;font-size:11.04px;font-weight:400;padding:8px 5px;white-space:normal;overflow-wrap:anywhere;border-color:#e5e7eb}
#handoff-results td,#handoff-summary td{font-size:12px;line-height:20px;padding:5px;white-space:normal;overflow-wrap:anywhere;color:#374151;border-color:#e5e7eb;text-align:center}
#handoff-results tbody tr{background:#fff}
#handoff-results tbody tr:nth-child(even){background:#f9fafb}
#handoff-results tbody tr:hover{background:#f0f4ff}
#handoff-results .handoff-cell-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#handoff-results td button{font-size:11px;min-width:0;padding:3px 6px;min-height:26px;white-space:normal}
#handoff-results .reference-status{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;border-radius:3px;padding:2px 4px;font-weight:400;line-height:17px;color:#374151;background:#eceef2}
#handoff-results .reference-status--green{background:#d8f1df}
#handoff-results .reference-status--red{background:#ffd6d6}
#handoff-results .reference-status--blue{background:#dbe7ff}
#handoff-results .reference-status--yellow{background:#fff1bf}
#handoff-results [data-status="ASSIGNED"]{background:#eceef2}
#handoff-results [data-status="SCHEDULED"]{background:#dbe7ff}
#handoff-results [data-status="NO_ANSWER"]{background:#fff1bf}
#handoff-results [data-status="FINAL_NO_ANSWER"]{background:#ffd6d6}
#handoff-summary td:nth-child(4){background:#eceef2}
#handoff-summary td:nth-child(5),#handoff-summary td:nth-child(8){background:#dbe7ff}
#handoff-summary td:nth-child(6),#handoff-summary td:nth-child(7){background:#d8f1df}
#handoff-summary td:nth-child(10),#handoff-summary td:nth-child(11),#handoff-summary td:nth-child(12){background:#ffd6d6}
#handoff-summary td:nth-child(9),#handoff-summary td:nth-child(13){background:#fff1bf}
@media(max-width:900px){#handoff-results table{min-width:1050px}#handoff-results .table-wrap{overflow-x:auto}#handoff-summary table{min-width:650px}}

/* Member dates and handoff schedule: retain compact reference tables. */
#people #agent-list table{width:100%;min-width:0;table-layout:fixed}#people #agent-list th,#people #agent-list td{white-space:normal;overflow-wrap:anywhere;font-size:12px;padding:6px}#people #agent-list .controls{display:flex;flex-wrap:wrap}#people #agent-list td button{height:auto;white-space:normal}#handoff-results th button{background:transparent;color:inherit;border:0;padding:0;font:inherit;min-height:26px}#handoff-results th button:focus-visible{outline:2px solid white;outline-offset:2px}@media(max-width:1000px){#people #agent-list table{min-width:960px}#people #agent-list .table-wrap{overflow-x:auto}}


/* Reference member list: column order, badges and compact controls. */
#people #agent-list th{background:#4f46e5;color:white;font-size:11.04px;padding:5px}#people #agent-list td{font-size:12px;padding:5px;text-align:center}#people #agent-list tbody tr:nth-child(even){background:#f6f6fb}#people #agent-list th:nth-child(10),#people #agent-list th:nth-child(11){width:90px}#people #agent-list th:nth-child(5),#people #agent-list th:nth-child(6){width:95px}#people .member-role-badge,#people .member-switch{display:inline-block;padding:2px 8px;border-radius:12px;color:#fff;font-size:12px;line-height:1.6;white-space:nowrap}#people .role-first{background:#6b7280}#people .role-second{background:#df612a}#people .role-leader{background:#059669}#people .member-switch.on{background:#16a34a}#people .member-switch.off{background:#9ca3af}#people #agent-list details{position:relative}#people #agent-list details summary{cursor:pointer;font-size:11px;color:#52667a}#people #agent-list details[open]{min-width:150px}#people #member-search-tools{gap:6px;flex-wrap:wrap}#people #member-search-tools input,#people #member-search-tools select{flex:0 1 auto;width:auto;min-height:30px;font-size:12px}#people #member-search-tools input[type=search]{width:180px}


#people #agent-list th .member-sort-button{background:transparent;color:inherit;border:0;padding:0;min-height:28px;font:inherit;cursor:pointer;white-space:normal}#people #agent-list th .member-sort-button:focus-visible{outline:2px solid #fff;outline-offset:2px}


/* Dedicated connected-phone column and branch/status proportions. */
#people #agent-list th:nth-child(2){width:108px}#people #agent-list th:nth-child(4){width:145px}#people #agent-list th:nth-child(9){width:54px}#people #agent-list td:nth-child(4){text-align:left}#people #agent-list td:nth-child(2) details[open]{min-width:0}#people #agent-list td:nth-child(2) summary{font-size:12px}#people #agent-list td:nth-child(2) p{margin:6px 0;line-height:1.5}


#people #agent-list th:nth-child(n){width:auto}#people #agent-list th:nth-child(3){width:145px}#people #agent-list th:nth-child(8){width:54px}#people #agent-list th:nth-child(9),#people #agent-list th:nth-child(10){width:90px}#people #agent-list th:nth-child(13){width:90px}#people #agent-list td:nth-child(4){text-align:center}#people #agent-list td:nth-child(3){text-align:left}#people #agent-list td:nth-child(13) details[open]{min-width:0}#people #agent-list td:nth-child(13) summary{font-size:12px;color:#075985}#people #agent-list td:nth-child(13) p{margin:6px 0;line-height:1.5}


#member-registration-dialog{width:min(560px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #dce2ed;border-radius:8px;padding:0;color:#26394d}#member-registration-dialog::backdrop{background:rgb(15 23 42 / 35%)}#member-registration-dialog #agent-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:22px;border:0;box-shadow:none}#member-registration-dialog h2{grid-column:1/-1;margin:0 0 6px;font-size:18px}#member-registration-dialog label{font-size:13px;font-weight:500;line-height:1.6;min-width:0}#member-registration-dialog input,#member-registration-dialog select{box-sizing:border-box;width:100%;min-height:36px;font-size:13px;padding:6px 9px}#member-registration-dialog p{grid-column:1/-1;font-size:12px;line-height:1.6;margin:0}#member-registration-dialog button{font-size:13px;min-height:36px}@media(max-width:480px){#member-registration-dialog #agent-form{grid-template-columns:1fr}}


/* Registration dialog: clear header, field body and action footer. */
#member-registration-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));border:1px solid #dce3ec;border-radius:12px;box-shadow:0 24px 70px rgb(15 23 42 / 24%);background:#fff}#member-registration-dialog #agent-form{display:block;padding:0;background:#fff;border-radius:0}#member-registration-dialog .registration-header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid #e8edf3;gap:16px}#member-registration-dialog h2{font-size:19px;font-weight:700;line-height:1.4;margin:0 0 5px;color:#172d43}#member-registration-dialog .registration-header p{color:#718096;font-size:12px}#member-registration-dialog .registration-close{background:transparent;border:0;box-shadow:none;color:#64748b;min-width:30px;min-height:30px;padding:0;font-size:24px;line-height:1}#member-registration-dialog .registration-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px;padding:22px 24px 18px}#member-registration-dialog label{display:flex;flex-direction:column;gap:6px;margin:0;color:#34465a;font-size:13px;font-weight:600}#member-registration-dialog label:has(#agent-create-branch){grid-column:1/-1}#member-registration-dialog input,#member-registration-dialog select{height:40px;min-height:40px;border:1px solid #ccd6e2;border-radius:6px;background:#fff;color:#23364b;padding:8px 10px;font-size:13px;font-weight:400;box-shadow:none;margin:0}#member-registration-dialog input::placeholder{color:#94a3b8}#member-registration-dialog input:focus,#member-registration-dialog select:focus{outline:2px solid #c7e0f2;outline-offset:1px;border-color:#0b6096}#member-registration-dialog .registration-note{margin:0 24px 22px;padding:12px 14px;background:#f5f8fb;border-radius:6px;color:#64748b;font-size:12px;line-height:1.7}#member-registration-dialog .registration-footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 24px;border-top:1px solid #e8edf3;background:#fbfcfe}#member-registration-dialog .registration-footer button{min-width:88px;height:38px;border-radius:6px;padding:8px 16px;font-size:13px}#member-registration-dialog .registration-footer .primary{background:#075985;color:#fff}@media(max-width:480px){#member-registration-dialog .registration-fields{grid-template-columns:1fr;padding:18px}#member-registration-dialog .registration-header,#member-registration-dialog .registration-footer{padding:16px 18px}#member-registration-dialog .registration-note{margin:0 18px 18px}}


#member-registration-dialog .registration-header,#member-registration-dialog .registration-footer{box-sizing:border-box;width:100%;float:none;clear:both;margin:0} 


#login-form .remember-login{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:400;margin:2px 0 10px;cursor:pointer}#login-form .remember-login input{width:16px;height:16px;min-height:0;margin:0;accent-color:#075985}

/* Unified system operation lists and company dialogs (162). */
.system-operations{font-size:13px;color:#334155;line-height:1.55}
.system-operations h2{font-size:20px;font-weight:700;margin:0 0 16px}
.system-operations h3{font-size:16px}.system-operations .reference-scope,.system-operations .muted{font-size:12px;color:#64748b}
.system-operations table{width:100%;font-size:13px;border-collapse:collapse}
.system-operations th{background:#07558d;color:#fff;font-size:12px;font-weight:600;padding:12px 10px;white-space:nowrap}
.system-operations td{padding:12px 10px;vertical-align:middle;border-bottom:1px solid #e2e8f0}
.system-operations tbody tr:nth-child(even){background:#f8fafc}.system-operations tbody tr:hover{background:#eef6fb}
.system-operations button,.system-operations input,.system-operations select{font-size:13px;min-height:36px}
.system-overview{margin:16px 0 24px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;padding:20px}
.system-list-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.system-list-toolbar input{width:300px;max-width:100%;flex:0 1 300px}.system-list-toolbar select{width:140px;flex:none}
.system-list-summary{font-size:12px;color:#64748b;margin:14px 0}
.system-overview td:first-child{min-width:170px}.system-overview td strong{display:block;color:#173b58;font-weight:600}
.system-overview td small{display:block;color:#7b8798;font-size:11px;margin-top:3px}
.system-overview td:nth-last-child(2){max-width:280px;overflow-wrap:anywhere}.system-overview td:last-child{width:95px;white-space:nowrap}
.system-status{display:inline-block;border-radius:20px;padding:3px 9px;font-size:11px;white-space:nowrap}
.system-status.is-active{background:#e9f5ef;color:#17754f}.system-status.is-disabled{background:#f1f2f5;color:#667085}
.system-list-pager{display:flex;justify-content:center;gap:16px;align-items:center;margin-top:18px;font-size:12px}
.system-detail-heading{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e2e8f0;margin-bottom:20px}
.system-detail-heading[hidden],.system-overview[hidden]{display:none}
dialog.system-company-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce4ee;border-radius:12px;background:#fff;color:#26364c;box-shadow:0 24px 64px #10243a33;overflow:auto}
dialog.system-company-dialog::backdrop{background:#17283f66}
.system-dialog-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e9f1;padding:18px 24px}
.system-dialog-header h2{font-size:19px;margin:0;font-weight:700}.system-dialog-header button{font-size:24px;border:0;background:transparent;color:#64748b;padding:0;width:32px;height:32px}
.system-company-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px;padding:24px;margin:0;font-size:13px}
.system-company-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;min-width:0;margin:0}
.system-company-form[data-mode=create] label:first-of-type{grid-column:1/-1}
.system-company-form input,.system-company-form select{box-sizing:border-box;width:100%;min-width:0;height:40px;font:inherit;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff}
.system-company-form input:focus{outline:2px solid #a9cde5;outline-offset:1px}
.system-company-form p,.system-dialog-footer{grid-column:1/-1}.system-dialog-note{background:#f5f8fc;border-radius:6px;padding:12px;line-height:1.6;color:#64748b;font-size:12px;margin:0}
.system-dialog-error{color:#b42318;font-size:13px;margin:0}.system-dialog-footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e3e9f1;padding-top:18px}
.system-dialog-footer button{font-size:13px;min-height:38px;padding:8px 18px;width:auto;float:none;margin:0}
@media(max-width:600px){.system-company-form{grid-template-columns:1fr;padding:18px}.system-overview{padding:12px}.system-overview .table-wrap{overflow-x:auto}.system-overview table{min-width:760px}}
/* Reference column alignment (164): keep full records inside the content frame. */
#campaign-list td:nth-child(2),#campaign-list td:nth-child(3){max-width:140px;white-space:normal;overflow-wrap:anywhere}
#campaign-list th,#recordings th,#manual-recordings th,#db-list th,#blocklist th{font-size:11.04px;font-weight:400;padding:8px 5px}
#handoff-results td:first-child{font-size:10px;color:#64748b}
#handoff-results th:nth-child(10){width:35px}
#handoff-results td:nth-child(11){text-align:left}
/* DB file list and task dialogs: reference control placement, compact rows. */
#campaigns .campaign-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0}
#campaigns .campaign-toolbar select{width:110px;min-height:30px;height:30px;font-size:12px}
#campaigns .campaign-toolbar input[type=search]{width:200px}
#campaigns .campaign-display-options{margin-left:auto;position:relative;font-size:12px}
#campaigns .campaign-display-options summary{cursor:pointer;color:#64748b;padding:6px}
#campaigns .campaign-display-options[open]{display:flex;flex-wrap:wrap;gap:8px}
#campaigns .campaign-display-options label{display:inline-flex;align-items:center;gap:5px;margin:0;font-size:12px}
#campaigns .campaign-display-options input{width:auto}
#campaign-list th{background:#4f46e5;border-color:#e5e7eb}
#campaign-list th button{background:transparent;border:0;color:inherit;padding:0;font:inherit;box-shadow:none}
#campaign-list .campaign-memo-cell{min-width:80px;max-width:140px}
#campaign-list .campaign-memo-cell .controls{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
#campaign-list .campaign-memo-text{white-space:normal;overflow-wrap:anywhere;font-size:12px}
#campaign-list td.actions{min-width:200px}
#campaign-list td button{font-size:12px;padding:4px 7px;min-height:30px;line-height:20px}
#campaign-list .campaign-bulk-actions{margin:12px 0 0}
.campaign-dialog{width:min(960px,calc(100vw - 40px));max-height:90vh;padding:0;border:1px solid #dce3ed;border-radius:12px;box-shadow:0 20px 70px #18233640;color:#334155}
.campaign-dialog::backdrop{background:#10203466}
.campaign-dialog .campaign-dialog-heading{position:sticky;top:0;display:block;height:auto;min-height:0;background:#182235;padding:20px 24px;z-index:2}
.campaign-dialog-heading h2{color:white;font-size:20px;margin:0;line-height:1.5}
.campaign-dialog-body{padding:20px;background:#f5f7fb}
.campaign-dialog-body .card{margin:0 0 16px;padding:20px;border:1px solid #dce3ed;border-radius:10px;background:white}
.campaign-dialog-body .tab{padding:0;margin:0}
.campaign-dialog-body label,.campaign-dialog-body p,.campaign-dialog-body input,.campaign-dialog-body select,.campaign-dialog-body button{font-size:13px;line-height:1.6}
.campaign-dialog-body h2{font-size:17px}
.campaign-dialog-footer{position:sticky;bottom:0;padding:14px 20px;background:white;border-top:1px solid #dce3ed;text-align:center;z-index:2}
.campaign-dialog-footer button{min-width:120px;min-height:40px}
.campaign-dialog #campaign-detail{scroll-margin:0}
@media(max-width:650px){.campaign-dialog{width:calc(100vw - 16px);max-height:94vh}.campaign-dialog-body{padding:10px}.campaign-dialog .grid{grid-template-columns:1fr}}

/* Excel registration keeps native form validation with fixed footer actions. */
.campaign-dialog-footer .campaign-import-step {margin-right:auto;color:#596579;font-size:13px;line-height:1.5;text-align:left;}
.campaign-dialog-footer button[hidden] {display:none!important;}
@media(max-width:640px){.campaign-dialog-footer {flex-wrap:wrap;}.campaign-dialog-footer .campaign-import-step {flex-basis:100%;}}
/* File-specific dialing settings: compact, accessible and isolated from legacy grid rules. */
.dial-policy-dialog{width:min(720px,calc(100vw - 32px));max-width:none;max-height:90vh;padding:0;border:1px solid #dce3ed;border-radius:12px;color:#26344b;background:#fff;box-shadow:0 20px 65px #16233b30;font-family:inherit}
.dial-policy-dialog::backdrop{background:#18233966}
.dial-policy-dialog form{display:flex;flex-direction:column;margin:0;max-height:88vh}
.dial-policy-head{padding:20px 24px 16px;border-bottom:1px solid #e3e8f0}
.dial-policy-head h2{margin:0;font-size:18px;line-height:1.4;font-weight:700}
.dial-policy-file{margin:6px 0 0;font-size:13px;color:#65718a;overflow-wrap:anywhere}
.dial-policy-body{padding:18px 24px;overflow-y:auto;min-height:0}
.dial-policy-intro{margin:0 0 20px;padding:12px 14px;background:#f2f6fc;border-radius:8px;font-size:13px;line-height:1.65;color:#50617a}
.dial-policy-section{margin:0 0 20px;padding:0;border:0;min-width:0}
.dial-policy-section legend{padding:0;font-size:14px;font-weight:700;color:#26344b}
.dial-policy-help{margin:5px 0 12px;font-size:12px;color:#718097;line-height:1.5}
.dial-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
.dial-policy-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.dial-policy-field label,.dial-policy-toggle{font-size:13px;font-weight:600;color:#35455d}
.dial-policy-dialog input:not([type=checkbox]),.dial-policy-dialog select{box-sizing:border-box;width:100%;height:38px;min-height:38px;padding:7px 10px;border:1px solid #cdd6e4;border-radius:6px;background:#fff;color:#26344b;font:inherit;font-size:13px}
.dial-policy-field small{font-size:12px;line-height:1.5;color:#718097}
.dial-policy-toggle{display:flex;align-items:center;gap:10px;align-self:start;margin-top:26px;cursor:pointer;min-height:38px}
.dial-policy-toggle input{width:18px;height:18px;accent-color:#4f46d9;margin:0}
.dial-policy-dialog input:disabled{background:#f2f4f7;color:#8994a5}
.dial-policy-dialog :focus-visible{outline:2px solid #635be5;outline-offset:2px}
.dial-policy-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 24px;border-top:1px solid #e3e8f0;background:#fafbfe}
.dial-policy-foot button{font-family:inherit;font-size:13px;min-height:38px;min-width:88px;padding:8px 16px;border-radius:6px}
.dial-policy-foot .primary{background:#4f46d9;border-color:#4f46d9;color:white}
.dial-policy-status{margin:0;font-size:13px;color:#b42318;line-height:1.5}
@media(max-width:560px){.dial-policy-grid{grid-template-columns:1fr}.dial-policy-toggle{margin-top:0}.dial-policy-head,.dial-policy-body{padding:16px}.dial-policy-foot{padding:12px 16px}}
.dial-policy-head{display:block;position:static;min-height:0}.dial-policy-dialog label.dial-policy-toggle{flex-direction:row;justify-content:flex-start;text-align:left}.dial-policy-dialog label.dial-policy-toggle input{flex:none}.dial-policy-dialog .dial-policy-foot{flex:none}

.dial-policy-dialog .dial-policy-head{height:auto;flex:none}.dial-policy-dialog .dial-policy-foot{margin:0;width:100%}.dial-policy-dialog .dial-policy-field label{display:block;margin:0;line-height:1.5}.dial-policy-dialog input,.dial-policy-dialog select{margin:0}.dial-policy-dialog{letter-spacing:-.2px}.dial-policy-head h2{letter-spacing:-.4px}

/* Compact DB-file actions: secondary actions stay in the top layer. */
.campaign-row-actions{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:nowrap;white-space:nowrap}
.campaign-row-actions>button{font-family:inherit;font-size:12px;line-height:1.4;min-height:32px;padding:6px 9px;margin:0}
.campaign-row-actions>.campaign-action-trigger{min-width:32px;padding:2px 8px;font-size:22px;line-height:1;color:#61718a}
.campaign-action-menu[popover]{position:fixed;inset:auto;margin:0;padding:5px;width:164px;border:1px solid #d9e0ec;border-radius:8px;background:white;box-shadow:0 8px 24px #1b2b4929;color:#26344b}
.campaign-action-menu[popover]:popover-open{display:flex;flex-direction:column;gap:2px}
.campaign-action-menu[popover]>button{display:block;width:100%;margin:0;padding:9px 11px;border:0;border-radius:4px;background:white;box-shadow:none;text-align:left;font-family:inherit;font-size:13px;font-weight:400;line-height:1.4;min-height:36px;color:#35455d}
.campaign-action-menu[popover]>button:hover,.campaign-action-menu[popover]>button:focus-visible{background:#f1f3fb;color:#4338ca}
.campaign-action-menu[popover]>button.danger{color:#b42318;border-top:1px solid #edf0f5;border-radius:0;margin-top:3px}
/* Settings density matches current list and dialog typography. */
#operational-settings>.card,#recording-policy-settings{padding:20px;border-radius:8px;box-shadow:none;border-color:#dce3ed}
#operational-settings h2{font-size:17px;line-height:1.5;margin:0 0 10px}
#operational-settings p{font-size:13px;line-height:1.65}
#operational-settings .settings-group{display:block;padding:16px;margin:18px 0;border-radius:8px;background:white}
#operational-settings .settings-group legend{font-size:14px;font-weight:700;padding:0 6px}
#operational-settings .settings-help{margin:0 0 12px;color:#65718a}
#operational-dispositions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}
#operational-dispositions .compact-setting{display:grid;grid-template-columns:100px minmax(90px,1fr) 62px;align-items:center;gap:10px;border:0;border-bottom:1px solid #e9edf3;border-radius:0;box-shadow:none;margin:0;padding:10px 0;background:white}
#operational-dispositions .compact-setting strong{font-size:13px;color:#35455d;overflow-wrap:anywhere}
#operational-dispositions .compact-setting label{margin:0;font-size:12px;min-width:0;gap:4px;color:#65718a}
#operational-dispositions .compact-setting .check{display:flex;flex-direction:row;align-items:center;gap:6px;justify-content:flex-end;color:#35455d}
#operational-settings input:not([type=checkbox]),#operational-settings select{height:36px;min-height:36px;font:inherit;font-size:13px;line-height:1.5;border-radius:6px;padding:6px 10px;box-sizing:border-box;max-width:100%}
#operational-settings input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#4f46d9;flex:none}
#operational-settings .settings-group>label{font-size:13px;max-width:320px;min-width:0}
#operational-settings .recording-policy-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin-top:16px;max-width:860px}
#operational-settings .recording-policy-form>label{margin:0;font-size:13px;gap:8px;min-width:0}
#operational-settings .recording-policy-form>.check{display:flex;flex-direction:row;align-items:center;justify-content:space-between;background:#f7f9fc;padding:12px;border:1px solid #e3e8f0;border-radius:6px}
#operational-settings .recording-policy-form>p,#operational-settings .recording-policy-form>.settings-action-bar{grid-column:1/-1}
#operational-settings .settings-action-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e3e8f0;padding-top:14px;margin-top:14px}
#operational-settings .settings-action-bar p{margin:0;font-size:12px;color:#65718a}
#operational-settings button{font-family:inherit;font-size:13px;min-height:36px;border-radius:6px}
#operational-settings .settings-action-bar button{flex:none;margin:0}
@media(max-width:1050px){#operational-dispositions{grid-template-columns:1fr}}
@media(max-width:620px){#operational-settings .recording-policy-form{grid-template-columns:1fr}#operational-settings .settings-action-bar{align-items:stretch;flex-direction:column}#operational-dispositions .compact-setting{grid-template-columns:85px minmax(70px,1fr) 58px;gap:6px}}
.campaign-memo-dialog{width:min(560px,calc(100vw - 32px))}
.campaign-memo-dialog label{display:block;margin:0 0 8px;font-size:13px;font-weight:600;color:#35455d}
.campaign-memo-dialog textarea{box-sizing:border-box;width:100%;min-height:160px;max-height:45vh;padding:12px;border:1px solid #cdd6e4;border-radius:6px;resize:vertical;font:inherit;font-size:13px;line-height:1.65;color:#26344b;background:white}
.memo-editor-meta{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:8px 0 12px;font-size:12px;color:#718097}
.memo-editor-meta p{margin:0;font-size:12px;line-height:1.5}.memo-editor-meta span{white-space:nowrap}
#campaign-list .campaign-memo-cell button{padding:4px 8px;min-height:28px;font-size:12px;font-weight:400;white-space:nowrap;border-radius:5px}
#campaign-list .campaign-memo-text{white-space:pre-wrap}
/* Excel file glyph is decorative; the readable button label is retained. */
button.excel-upload-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-family:inherit}
button.excel-upload-button::before{content:'';display:inline-block;width:19px;height:21px;flex:none;background:center/contain no-repeat url("excel-file.svg")}
#page-actions button{font-size:13px;min-height:36px;line-height:1.4}
.campaign-dialog-footer button.excel-upload-button{font-size:13px;line-height:1.4}
button.excel-upload-button[hidden]{display:none!important}
@media(max-width:700px){#page-actions button{font-size:12px;min-height:34px}}
/* DB list filter hierarchy, matching DB-file toolbar dimensions. */
#db-target-tools{display:block;padding:16px;border:1px solid #e0e5ef;border-radius:8px;background:#fff;margin:0 0 12px}
#db-target-tools .db-filter-primary,#db-target-tools .db-filter-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#db-target-tools .db-filter-secondary{margin-top:10px;padding-top:10px;border-top:1px solid #edf0f5}
#db-target-tools input:not([type=checkbox]),#db-target-tools select,#db-target-tools button{font-family:inherit;font-size:13px;height:36px;min-height:36px;padding:6px 10px;border-radius:6px;box-sizing:border-box;margin:0;flex:none}
#db-target-tools select{width:155px;max-width:100%}
#db-target-tools #db-campaign{width:240px}
#db-target-tools input[type=search]{width:240px;max-width:100%}
#db-target-tools .db-filter-secondary>select:last-child{width:95px;margin-left:auto}
#db-target-tools .db-filter-secondary>label{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:13px;white-space:nowrap;margin:0;min-width:0}
#db-target-tools input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:#4f46d9}
#db-target-tools .db-filter-advanced{margin:10px 0 0}
#db-target-tools summary{font-size:12px;color:#65718a;cursor:pointer;padding:4px 0;list-style-position:inside}
#db-target-tools .db-filter-advanced-body{display:flex;flex-wrap:wrap;gap:12px 20px;padding:12px;margin-top:6px;background:#f7f9fc;border-radius:6px}
#db-target-tools .db-filter-advanced-body label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:0}
#db-target-tools .db-filter-advanced-body select{width:220px}
#db-target-tools .db-filter-help{flex-basis:100%;margin:0;font-size:12px;line-height:1.6;color:#65718a}
#db-list .db-list-summary{font-size:12px;line-height:1.6;color:#65718a;margin:12px 0}
#db-list table{font-size:13px}#db-list th{font-size:12px;white-space:nowrap}#db-list td{padding:9px 8px;line-height:1.5}
#db-list td button{font-family:inherit;font-size:12px;padding:5px 9px;min-height:30px;white-space:nowrap}
@media(max-width:700px){#db-target-tools{padding:12px}#db-target-tools .db-filter-primary #db-campaign{width:100%}#db-target-tools input[type=search]{flex:1;min-width:130px}#db-target-tools .db-filter-secondary>select:last-child{margin-left:0}}
#db-list table{font-size:12px}#db-list th{font-size:11px;font-weight:400;padding:8px 5px}#db-list td{padding:6px 5px;line-height:22px}

/* 188: one typography scale for list filters; retain table and workflow semantics. */
#workspace .filter-strip input,#workspace .filter-strip select,#workspace .filter-strip button,#workspace .filter-strip label,#workspace .controls input,#workspace .controls select,#workspace .controls button,#workspace .controls label{font-family:inherit;font-size:13px;line-height:1.4}
#workspace .filter-strip input:not([type=checkbox]):not([type=radio]),#workspace .filter-strip select,#workspace .filter-strip button,#workspace .controls select,#workspace .controls button{min-height:34px;height:34px;box-sizing:border-box}
#workspace .filter-strip label.check,#workspace .controls label.check{display:inline-flex;align-items:center;margin:0;gap:6px;white-space:nowrap}
#workspace .filter-strip input[type=checkbox],#workspace .controls input[type=checkbox]{width:14px;height:14px;min-height:14px}
#monitor .monitor-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;padding:12px;border:1px solid #dfe3eb;border-radius:6px;background:#fff}
#monitor .monitor-filter-bar>input[type=datetime-local]{width:190px;min-width:0;flex:0 0 190px}
#monitor .monitor-filter-bar>select{width:126px;min-width:0;flex:0 0 126px}
#monitor .monitor-date-shortcuts{position:relative;margin:0;font-size:12px}
#monitor .monitor-date-shortcuts>summary{cursor:pointer;white-space:nowrap;padding:8px 4px;font-size:12px}
#monitor .monitor-date-shortcuts[open] .quick-dates{position:absolute;top:100%;right:0;z-index:10;background:#fff;padding:10px;border:1px solid #dfe3eb;border-radius:6px;box-shadow:0 4px 16px #24324718}
#monitor .monitor-refresh-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 0 auto;padding:0}
#monitor .monitor-refresh-bar select{width:72px;min-width:0}
#monitor .monitor-refresh-time{font-size:12px;color:#718096;white-space:nowrap}
@media(max-width:1200px){#monitor .monitor-refresh-bar{margin-left:0}#monitor .monitor-filter-bar>input[type=datetime-local]{width:180px;flex-basis:180px}}
@media(max-width:700px){#monitor .monitor-filter-bar>input[type=datetime-local]{flex:1 1 180px}#monitor .monitor-filter-bar>select{flex:1 1 120px}#monitor .monitor-refresh-bar{width:100%}}#workspace .tab .pagination button{font-size:12px;min-height:32px;height:32px}
#workspace .tab .quick-dates button{font-size:12px;min-height:30px;height:30px}
#workspace #member-search-tools input,#workspace #member-search-tools select,#workspace .recording-filters input,#workspace .recording-filters select,#workspace .recording-filters button,#workspace .campaign-display-options select,#workspace .campaign-display-options label{font-family:inherit;font-size:13px;line-height:1.4}
#workspace .recording-filters input:not([type=checkbox]),#workspace .recording-filters select,#workspace #member-search-tools input,#workspace #member-search-tools select{height:34px;min-height:34px;box-sizing:border-box}
#workspace #block-form input,#workspace #block-form label,#workspace #block-form button,#workspace #block-import-form input,#workspace #block-import-form select,#workspace #block-import-form label,#workspace #block-import-form button{font-family:inherit;font-size:13px}
#workspace #operational-settings label,#workspace #operational-settings select,#workspace #operational-settings input{font-family:inherit;font-size:13px}
/* 189 statistics reference search and data tables */
#reports .report-reference-filters{display:block;padding:12px;border:1px solid #dfe3eb;border-radius:6px;background:white}
#reports .report-filter-primary,#reports .report-filter-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}
#reports .report-filter-primary>input[type=date]{width:150px}
#reports .report-filter-primary>input[type=search]{width:210px}
#reports .report-filter-primary>select,#reports .report-filter-secondary>select{width:155px}
#reports .report-filter-secondary .quick-dates{display:flex;gap:4px;flex-wrap:wrap}
#reports .report-filter-options{font-size:12px;color:#64748b}
#reports .report-filter-options summary{cursor:pointer;padding:6px 0}
#reports .stats-section h2{font-size:15px;margin:20px 0 10px}
#reports .stats-section .table-wrap{overflow-x:auto}
#reports .stats-section th{font-size:11px;padding:8px 5px;white-space:nowrap}
#reports .stats-section td{font-size:12px;padding:6px 5px}
/* 190: freeze statistics table headings and the identifying first column. */
#reports .stats-section .table-wrap{position:relative;max-height: min(560px,65vh);overflow:auto;isolation:isolate;scroll-padding-top:36px}
#reports .stats-section table{border-collapse:separate;border-spacing:0}
#reports .stats-section thead th{position:sticky;top:0;z-index:2;background:#4e40e8;color:#fff;box-shadow:0 1px 0 #dfe3eb}
#reports .stats-section tbody td:first-child:not([colspan]){position:sticky;left:0;z-index:1;background:#fff;box-shadow:1px 0 0 #cdd3df;min-width:100px;max-width:200px;overflow-wrap:anywhere}
#reports .stats-section tbody tr:nth-child(even) td:first-child:not([colspan]){background:#f5f6fb}
#reports .stats-section thead th:first-child{left:0;z-index:3;box-shadow:1px 1px 0 #cdd3df}
@media(max-width:700px){#reports .stats-section .table-wrap{max-height:60vh}#reports .stats-section tbody td:first-child:not([colspan]){min-width:80px;max-width:140px}}
/* 191 compact list timestamps; full year retained in title and datetime. */
.compact-datetime{display:inline-block;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px;letter-spacing:0}
#reports .stats-section td:has(>.compact-datetime),#recordings td:has(>.compact-datetime),#manual-recordings td:has(>.compact-datetime){width:90px;min-width:90px;white-space:nowrap}

/* 192 recording list: shared DB/manual search, compact actions and frozen table */
#workspace .recording-filters{display:block;padding:12px;border:1px solid #dfe3eb;border-radius:6px;background:white}
.recording-filter-main,.recording-filter-secondary{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.recording-filter-secondary{margin-top:8px}
#workspace .recording-filters input[type=date]{width:150px}
#workspace .recording-filters input[type=search]{width:210px}
#workspace .recording-filters select{width:155px}
.recording-filter-secondary .quick-dates{display:flex;flex-wrap:wrap;gap:4px}
.recording-filter-options{position:relative;font-size:12px}
.recording-filter-options summary{cursor:pointer;padding:8px}
.recording-filter-options[open]>select{position:absolute;top:100%;left:0;z-index:5}
#workspace .recording-action-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}
#recordings .table-wrap,#manual-recordings .table-wrap{max-height:65vh;overflow:auto;isolation:isolate}
#recordings table,#manual-recordings table{border-collapse:separate;border-spacing:0}
#recordings th,#manual-recordings th{position:sticky;top:0;z-index:2;background:#4e40e8;color:white;font-size:11px;white-space:nowrap}
#recordings tbody td:first-child:not([colspan]),#manual-recordings tbody td:first-child:not([colspan]){position:sticky;left:0;z-index:1;background:white;box-shadow:1px 0 #cdd3df}
#recordings th:first-child,#manual-recordings th:first-child{left:0;z-index:3}
#recordings td,#manual-recordings td{font-size:12px;padding:6px 5px}
@media(max-width:700px){#workspace .recording-filters input[type=search]{flex:1 1 150px}}
#workspace .recording-filter-main>button{height:34px;min-height:34px;box-sizing:border-box;font-size:13px}

/* Keep both branch and agent visible, with explicit offsets and solid backgrounds. */
#recordings .table-wrap,#manual-recordings .table-wrap{--recording-fixed-width:110px;position:relative;scroll-padding-top:36px}
#recordings tr>:nth-child(-n+2):not([colspan]),#manual-recordings tr>:nth-child(-n+2):not([colspan]){box-sizing:border-box;width:var(--recording-fixed-width);min-width:var(--recording-fixed-width);max-width:var(--recording-fixed-width);overflow-wrap:anywhere;white-space:normal}
#recordings tbody td:nth-child(2),#manual-recordings tbody td:nth-child(2){position:sticky;left:var(--recording-fixed-width);z-index:1;background:#fff;box-shadow:2px 0 0 #cdd3df}
#recordings thead th:nth-child(2),#manual-recordings thead th:nth-child(2){left:var(--recording-fixed-width);z-index:3;box-shadow:2px 0 0 #cdd3df}
#recordings tbody tr:nth-child(even)>td:nth-child(-n+2):not([colspan]),#manual-recordings tbody tr:nth-child(even)>td:nth-child(-n+2):not([colspan]){background:#f5f6fb}
@media(max-width:700px){#recordings .table-wrap,#manual-recordings .table-wrap{--recording-fixed-width:88px;max-height:60vh}}
/* 193: collapse both navigation columns so the full content width is recovered. */
@media(min-width:701px){body.menu-collapsed{--sidebar:0px}body.menu-collapsed .side-rail{display:none}body.menu-collapsed #workspace>nav{display:none}body.menu-collapsed:has(#workspace:not([hidden])) main{margin-left:0}body.menu-collapsed footer{margin-left:0}}
@media(max-width:700px){body.menu-collapsed{--sidebar:0px}body.mobile-menu-open #workspace>nav{display:flex}}
/* 194: visible direction and action, within the existing logo-safe 50px slot. */
#menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:50px;height:50px;padding:5px 2px;background:#edf3fa;color:#07558d;border-right:1px solid #ccd9e8;box-shadow:none;transition:background-color .15s,color .15s}
#menu-toggle:hover{background:#dceafa;color:#064577}
#menu-toggle:active{background:#c9ddf4}
#menu-toggle:focus-visible{outline:2px solid #07558d;outline-offset:-4px;border-radius:4px}
#menu-toggle .menu-toggle-caption{font-family:inherit;font-size:10px;font-weight:700;line-height:12px;white-space:nowrap;letter-spacing:0}
#menu-toggle .menu-toggle-icon{display:block;position:relative;width:22px;height:16px;border:1.5px solid currentColor;border-radius:3px;box-sizing:border-box}
#menu-toggle .menu-toggle-icon:before{content:'';position:absolute;left:5px;top:0;bottom:0;border-left:1.5px solid currentColor}
#menu-toggle .menu-toggle-icon:after{content:'';position:absolute;left:11px;top:4px;width:5px;height:5px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s}
#menu-toggle.is-expanded .menu-toggle-icon:after{transform:rotate(-135deg);left:12px}
@media(prefers-reduced-motion:reduce){#menu-toggle,#menu-toggle .menu-toggle-icon:after{transition:none}}
/* 195: default table freeze, preserving specific multi-column rules. */
:where(#workspace .table-wrap){position:relative;max-height:65vh;overflow:auto;isolation:isolate;scroll-padding-top:36px}
:where(#workspace .table-wrap table){border-collapse:separate;border-spacing:0}
:where(#workspace .table-wrap thead th){position:sticky;top:0;z-index:2;background:#4e40e8;color:white}
:where(#workspace .table-wrap tbody td:first-child:not([colspan])){position:sticky;left:0;z-index:1;background:white;box-shadow:1px 0 #cdd3df}
:where(#workspace .table-wrap tbody tr:nth-child(even)>td:first-child:not([colspan])){background:#f5f6fb}
:where(#workspace .table-wrap thead th:first-child){left:0;z-index:3;box-shadow:1px 0 #cdd3df}
#handoff-results table{min-width:2100px;table-layout:fixed}
#handoff-results th,#handoff-results td{font-size:12px;padding:7px 8px;line-height:20px}
#handoff-results th:nth-child(1){width:65px}#handoff-results th:nth-child(7),#handoff-results th:nth-child(10){width:55px}
#handoff-results th:nth-child(11),#handoff-results th:nth-child(21){width:145px}
#handoff-results th:nth-child(12){width:115px}
.handoff-dialog{width:min(1000px,calc(100vw - 32px));max-height:88vh;box-sizing:border-box;border:1px solid #dce3ed;border-radius:12px;padding:20px;background:#f7f9fc;color:#304057;box-shadow:0 20px 60px #17233830;overflow:auto}
.handoff-dialog::backdrop{background:#17233870}.handoff-dialog .card{padding:18px;margin-bottom:14px;border-radius:8px}
.handoff-dialog h2{font-size:18px;margin:0 0 16px}.handoff-dialog h3{font-size:14px}
.handoff-dialog label{display:block;font-size:13px;margin:12px 0}.handoff-dialog input,.handoff-dialog select,.handoff-dialog textarea{font-family:inherit;font-size:13px;box-sizing:border-box;max-width:100%}
.handoff-dialog textarea{width:100%}.handoff-dialog .table-wrap{max-height:35vh}
@media(max-width:700px){:where(#workspace .table-wrap){max-height:60vh}.handoff-dialog{padding:10px}}
/* 196: shared date shortcuts, one row on desktop and wrapping on narrow screens. */
#workspace .tab .quick-dates{display:flex;flex-wrap:nowrap;gap:4px;max-width:100%;box-sizing:border-box}
#workspace .tab .quick-dates button{flex:0 0 auto;white-space:nowrap;font-family:inherit;font-size:12px;padding:3px 10px}
@media(max-width:700px){#workspace .tab .quick-dates{flex-wrap:wrap}}
/* 197: compact reception columns and reference processing dialog. */
#handoff-results table{min-width:1180px;width:100%;table-layout:fixed}
#handoff-results thead th:nth-child(n){width:auto;padding:7px 3px;font-size:11px;line-height:16px;white-space:normal;word-break:keep-all}
#handoff-results tbody td{padding:6px 3px;font-size:12px;line-height:18px;overflow-wrap:anywhere}
#handoff-results .compact-datetime{white-space:normal;display:inline-block;font-size:11.5px}
#handoff-results td:first-child>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#handoff-results .status-badge{font-size:11px;padding:2px 4px;white-space:normal}
#handoff-results td button{padding:3px 5px;font-size:11px}
#handoffs .handoff-dialog{width:min(1080px,calc(100vw - 32px));max-height:92vh;padding:0;background:#fff;border:0;border-radius:12px}
.handoff-dialog::backdrop{background:#0007;backdrop-filter:blur(2px)}
.handoff-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:8;background:#fff}
.handoff-dialog-toolbar h2{font-size:14px;margin:0}.handoff-dialog-navigation{display:flex;gap:6px}.handoff-dialog-navigation button{background:#f1f2f4;border:0;font-size:13px;min-height:32px;padding:5px 12px}
.handoff-dialog #handoff-process{margin:0;padding:18px 20px 8px;border:0;background:#fff;box-shadow:none}
.handoff-dialog #handoff-process>label{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:12px;margin:10px 0;color:#434c5b;font-size:13px;font-weight:600}
.handoff-dialog #handoff-process>label[hidden]{display:none}
.handoff-dialog #handoff-process>label>input,.handoff-dialog #handoff-process>label>select{width:100%;height:36px;min-height:36px;font-weight:400}
.handoff-dialog #handoff-process>label>textarea{min-height:88px;font-weight:400}
.handoff-customer-banner{background:#394150;color:#fff;border-radius:4px;padding:14px;margin:0 0 12px;font-size:14px;line-height:1.6}
.handoff-customer-banner strong{font-size:14px}.handoff-customer-banner p{margin:3px 0 0;font-size:13px;white-space:normal}
.handoff-dialog .handoff-source-recording{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:12px;border:1px solid #e5e7eb;background:#f8f9fb;padding:12px;border-radius:4px;margin-bottom:12px}
.handoff-dialog .handoff-source-recording h3{font-size:13px;margin:0;grid-row:1/5}.handoff-dialog .handoff-source-recording p{margin:0;font-size:12px}.handoff-dialog .handoff-source-recording audio{width:100%;height:42px}.handoff-dialog .handoff-source-recording .controls{margin:0;min-width:0}
.handoff-dialog .handoff-more-info{margin:8px 0 12px 140px;font-size:12px}.handoff-dialog .handoff-more-info>summary,.handoff-assignment-fold>summary{cursor:pointer;color:#667085;padding:5px 0}
.handoff-dialog .handoff-more-info label{font-weight:400}.handoff-dialog .handoff-more-info input{width:100%}
.handoff-dialog .handoff-customer-context{margin-top:12px}.handoff-dialog .handoff-customer-context th,.handoff-dialog .handoff-customer-context td{font-size:12px}
.handoff-assignment-fold{margin-left:140px;font-size:12px}.handoff-assignment-fold>div{padding:10px;background:#f8f9fb}.handoff-assignment-fold label{display:grid;grid-template-columns:100px 1fr;align-items:center}
.handoff-schedule-tools{grid-column:2;display:flex;gap:6px;margin-top:-4px}.handoff-schedule-tools button{font-size:12px;min-height:28px;padding:3px 12px;background:#f1f2f4;border:0}
.handoff-save-actions{display:flex;justify-content:center;margin:14px 0 4px}.handoff-save-actions .primary{background:#e6478c;border-color:#e6478c;font-size:13px;min-height:34px;padding:6px 18px}
.handoff-activity{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;padding:8px 20px 22px}.handoff-activity h3{font-size:13px;color:#434c5b}.handoff-activity>div{border:1px solid #e5e7eb;border-radius:6px;max-height:220px;overflow:auto}
.handoff-activity-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:12px;border-bottom:1px solid #eceff3;font-size:12px}.handoff-activity-row:last-child{border:0}.handoff-activity-row time{color:#858d9c}.handoff-activity-row p{margin:4px 0;white-space:pre-wrap}.handoff-activity>div>p{padding:10px}
.handoff-unsaved:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px;background:#fff3d6;position:sticky;top:61px;z-index:9;font-size:13px}
@media(max-width:600px){.handoff-dialog #handoff-process>label{grid-template-columns:80px minmax(0,1fr);gap:8px}.handoff-dialog .handoff-more-info,.handoff-assignment-fold{margin-left:88px}.handoff-dialog .handoff-source-recording,.handoff-activity{grid-template-columns:80px minmax(0,1fr);gap:8px}.handoff-activity-row{grid-template-columns:1fr;gap:4px}.handoff-dialog-toolbar{padding:12px}.handoff-dialog #handoff-process{padding:12px}}.handoff-dialog #handoff-process{max-width:none;width:100%;box-sizing:border-box}
.handoff-dialog .handoff-source-recording h3{grid-row:1 / span 2}
.handoff-dialog #handoff-process>.handoff-schedule-row{grid-template-columns:128px minmax(180px,1fr) auto}
.handoff-dialog .handoff-schedule-row .handoff-schedule-tools{grid-column:3;margin:0}
@media(max-width:600px){.handoff-dialog #handoff-process>.handoff-schedule-row{grid-template-columns:80px minmax(0,1fr)}.handoff-dialog .handoff-schedule-row .handoff-schedule-tools{grid-column:2}}
/* 198: one-line activity flow and a separate dialog scrolling body. */
#handoffs .handoff-dialog{overflow:hidden}
.handoff-dialog>div{display:flex;flex-direction:column;max-height:92vh;min-height:0}
.handoff-dialog .handoff-dialog-toolbar{position:static;flex:0 0 auto;padding:12px 20px}
.handoff-dialog-body{overflow:auto;min-height:0;overscroll-behavior:contain;scroll-padding:12px}
.handoff-dialog .handoff-unsaved:not([hidden]){position:static;flex:0 0 auto;padding:8px 20px}
.handoff-dialog #handoff-process{padding:14px 20px 4px}
.handoff-dialog .handoff-customer-banner{padding:10px 14px;margin-bottom:10px}
.handoff-dialog .handoff-customer-banner p{margin:2px 0 0;font-size:12px}
.handoff-dialog .handoff-source-recording{padding:8px 12px;margin-bottom:8px;gap:6px 12px}
.handoff-dialog .handoff-source-recording .controls{gap:6px;font-size:12px}
.handoff-dialog #handoff-process>label{margin:8px 0}
.handoff-dialog #handoff-process>label>textarea{min-height:72px;height:72px;resize:vertical}
.handoff-dialog .handoff-more-info{margin-top:4px;margin-bottom:7px}
.handoff-dialog .handoff-save-actions{margin:10px 0 6px}
.handoff-dialog .handoff-activity{padding:6px 20px 18px;align-items:start}
.handoff-dialog .handoff-activity h3{margin:10px 0}
.handoff-dialog .handoff-activity>div{max-height:240px;background:#fff}
.handoff-activity-item{border-bottom:1px solid #edf0f4}.handoff-activity-item:last-child{border-bottom:0}
.handoff-activity-item>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;font-size:12px;line-height:20px;min-width:0}
.handoff-activity-item>summary::-webkit-details-marker{display:none}
.handoff-activity-item>summary:hover{background:#f8faff}.handoff-activity-item>summary:focus-visible{outline:2px solid #315d94;outline-offset:-2px}
.handoff-activity-item time{flex:0 0 82px;color:#788395;font-variant-numeric:tabular-nums;white-space:nowrap}
.handoff-log-state{display:flex;align-items:center;gap:4px;flex:0 0 auto;white-space:nowrap}.handoff-log-previous{color:#788395;font-size:11px}
.handoff-log-owner{flex:0 1 100px;min-width:45px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#45556b}
.handoff-log-preview{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#536176}
.handoff-log-expand{flex:0 0 12px;color:#8490a0}.handoff-activity-item[open] .handoff-log-expand{transform:rotate(180deg)}
.handoff-log-details{display:grid;grid-template-columns:85px minmax(0,1fr);gap:6px 10px;margin:0;padding:10px 12px 12px;background:#f8faff;border-top:1px solid #edf0f4;font-size:12px;line-height:1.7}
.handoff-log-details dt{color:#738096}.handoff-log-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.handoff-dialog .handoff-activity{display:block;padding:4px 12px 14px}.handoff-activity-item>summary{gap:6px;padding:8px;font-size:11px}.handoff-activity-item time{flex-basis:72px}.handoff-log-owner{flex-basis:55px}.handoff-log-previous{display:none}.handoff-log-details{grid-template-columns:65px minmax(0,1fr)}}
/* 199: task-oriented sections and persistent save controls. */
.handoff-source-preview{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;padding:9px 12px;background:#f8faff;border:1px solid #e2e8f0;border-radius:5px;margin:8px 0;font-size:12px}
.handoff-source-preview strong{align-self:center}.handoff-source-preview p{margin:0;line-height:1.6;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.handoff-dialog .handoff-more-info,.handoff-dialog .handoff-assignment-fold{border:1px solid #e2e7ef;border-radius:5px;background:#fff;margin:8px 0 10px 140px}
.handoff-dialog .handoff-more-info>summary,.handoff-dialog .handoff-assignment-fold>summary{display:flex;align-items:center;gap:10px;padding:9px 10px;list-style:none;color:#43546a;background:#f8fafc;font-size:12px;line-height:18px}
.handoff-dialog .handoff-more-info>summary::-webkit-details-marker,.handoff-dialog .handoff-assignment-fold>summary::-webkit-details-marker{display:none}
.handoff-fold-hint{flex:1;color:#7b8696;font-size:11px;min-width:0}.handoff-fold-action{margin-left:auto;color:#315d94;white-space:nowrap;font-weight:600}
.handoff-dialog .handoff-more-info[open]>summary,.handoff-dialog .handoff-assignment-fold[open]>summary{border-bottom:1px solid #e2e7ef;background:#edf4fc}
.handoff-dialog .handoff-more-info>label,.handoff-dialog .handoff-more-info>.handoff-customer-context{margin:10px;padding:0 4px}
.handoff-field-hint{font-size:11px!important;color:#748195;margin:4px 0 8px 140px!important;line-height:1.5}.handoff-assignment-fold .handoff-field-hint{margin:8px 10px!important}
.handoff-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:12px 20px;border-top:1px solid #e2e7ef;background:#fff;box-shadow:0 -3px 10px #20324b05}
.handoff-dialog-footer>span{font-size:12px;color:#718096}.handoff-dialog-footer>button{background:#e6478c;border-color:#e6478c;color:#fff;min-width:95px;font-size:13px}
.handoff-dialog :is(input,textarea,select):disabled{background:#f4f6f8;color:#6f7b8b;cursor:not-allowed}
@media(max-width:600px){.handoff-source-preview{grid-template-columns:80px minmax(0,1fr);gap:8px}.handoff-dialog .handoff-more-info,.handoff-dialog .handoff-assignment-fold{margin-left:0}.handoff-fold-hint{display:none}.handoff-field-hint{margin-left:88px!important}.handoff-dialog-footer{padding:10px 12px}.handoff-dialog-footer>span{font-size:11px}}
/* 203: Blacklist uses the same compact operating controls and table. */
#blocklist .block-filter-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0}
#blocklist .block-filter-bar select{width:140px;flex:none}
#blocklist .block-filter-bar input[type=search]{width:200px;flex:none}
#blocklist .block-filter-bar input[type=date]{width:145px;flex:none}
#blocklist input,#blocklist select,#blocklist button,.block-registration-dialog input,.block-registration-dialog select,.block-registration-dialog textarea,.block-registration-dialog button{font:inherit;font-size:13px}
#blocklist table{font-size:12px}#blocklist td:nth-child(5){white-space:nowrap}#blocklist .block-reason{display:flex;gap:6px;align-items:center;flex-wrap:wrap;max-width:320px;text-align:left}
#blocklist .block-reason details{width:100%}#blocklist .block-reason p{white-space:pre-wrap;overflow-wrap:anywhere}


/* 204: Reference blacklist layout: filters / inline registration / selection / list. */
#blocklist .block-inline-form{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;padding:12px;margin:0 0 12px;background:#f8f9fc;border:1px solid #dde2ec;border-radius:4px}
#blocklist .block-inline-form label{margin:0;display:block;font-size:0}
#blocklist .block-inline-form input,#blocklist .block-inline-form select,#blocklist .block-inline-form textarea{font:inherit;font-size:13px;box-sizing:border-box;width:170px;height:36px;min-height:36px;resize:none;margin:0;padding:7px 9px;line-height:20px;border:1px solid #ccd4e0;border-radius:4px}
#blocklist .block-inline-form textarea[name=memo]{width:200px}
#blocklist .block-inline-form button{height:36px;min-height:36px;margin:0}
#blocklist .block-inline-form #block-form-status{width:100%;margin:0;font-size:12px}
#blocklist .block-inline-form #block-form-status:empty{display:none}
#blocklist .block-selection-bar{display:flex;gap:10px;align-items:center;margin:8px 0;font-size:12px}
#blocklist #block-list{padding:0;border:0;box-shadow:none}
#blocklist #block-list table th,#blocklist #block-list table td{padding:7px 6px}
#blocklist #block-list table th:first-child,#blocklist #block-list table td:first-child{width:32px;min-width:32px;text-align:center}
#blocklist #block-list input[type=checkbox]{width:15px;height:15px;margin:0;vertical-align:middle}
#blocklist #block-import{margin-top:18px;padding:14px;border-radius:4px}
#blocklist #block-import h2{font-size:14px;margin:0 0 8px}
#blocklist #block-import p{font-size:12px;line-height:1.5}
#blocklist .block-filter-bar{margin-top:0}
#blocklist .block-filter-bar select[aria-label="검색 구분"]{width:165px}

/* 205: Memo content must not nest a table cell or inherit action-column width. */
#campaign-list .campaign-memo-content{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;max-width:100%;overflow-wrap:anywhere}
#campaign-list .campaign-memo-content button{min-width:0;max-width:100%;align-self:flex-start}
#campaign-list .campaign-memo-content .campaign-memo-text{max-width:100%}

/* 206: Keep advanced spreadsheet mapping out of the normal upload flow. */
#block-import-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
#block-import-form>label{width:200px;margin:0;font-size:12px}
#block-import-form>label:has(input[type=file]){width:280px}
#block-import-form input,#block-import-form select{width:100%;font-size:13px}
#block-import-form .block-excel-options{width:100%;font-size:12px}
#block-import-form .block-excel-options label{display:inline-block;width:180px;margin:8px 10px 8px 0}

/* 207: Compact DB filters; extra scope controls stay in query options. */
#db-target-tools{padding:10px 12px;border-radius:4px}
#db-target-tools .db-filter-primary{gap:6px}
#db-target-tools .db-filter-primary select{width:125px}
#db-target-tools .db-filter-primary #db-campaign{width:190px}
#db-target-tools .db-filter-primary input[type=search]{width:180px}
#db-target-tools .db-filter-primary select[aria-label="DB 페이지당 표시 건수"]{width:90px}
#db-target-tools .db-filter-primary button{padding:6px 9px}
#db-target-tools .db-filter-secondary{margin:0;padding:0;border:0;align-self:end}
#db-target-tools .db-filter-secondary select{width:160px}
#db-list .compact-datetime{white-space:nowrap}
@media(max-width:700px){#db-target-tools .db-filter-primary #db-campaign{width:100%}}

/* 208: DB list Excel downloads */
button.db-excel-download{font-size:13px;font-weight:600;line-height:1.4;padding:8px 12px;border-radius:6px} 
button.db-excel-current{background:#e5e7eb;color:#334155;border-color:#cbd5e1}
button.db-excel-current:hover{background:#dce1e7}

/* 209: DB list reference filter names and header palette */
#db-list .db-list-summary{display:flex;align-items:center;gap:0;margin:0 0 10px}
#db-list .db-all-tab{background:#5d608e;color:#fff;border-radius:5px;padding:7px 9px;margin-right:5px}
#db-list .db-count-label{background:#a2adc5;color:#fff;border-radius:5px 0 0 5px;padding:7px}
#db-list .db-count-value{background:#eee;color:#737b89;border-radius:0 5px 5px 0;padding:7px}
#db-target-tools{padding:0;border:0;background:transparent;box-shadow:none}
#db-target-tools .db-filter-primary{gap:8px}
#db-target-tools .db-filter-primary .db-filter-inline-label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;white-space:nowrap;font-size:13px;color:#596174}
#db-target-tools .db-filter-primary select,#db-target-tools .db-filter-primary input{height:34px;border-radius:7px;font:inherit;font-size:13px;color:#252a34}
#db-target-tools .db-filter-primary select{width:130px}
#db-target-tools .db-filter-primary #db-campaign{width:210px}
#db-target-tools .db-filter-primary input[type=search]{width:230px;min-width:130px}
#db-target-tools .db-filter-inline-label select{width:100px}
#db-target-tools .db-filter-inline-label select[aria-label="DB 페이지당 표시 건수"]{width:56px}
#db-target-tools .db-filter-primary button{height:34px;font-size:13px;padding:5px 11px;border-radius:5px}
#db-target-tools button.db-search-submit{background:#e84d89;border-color:#e84d89;color:#fff}
#db-target-tools button.db-search-submit:hover{background:#d83a77}
#db-list thead th{background:#5545df;color:#fff;border-color:#4939ce;font-size:12px;font-weight:500;padding:10px 6px}
#db-target-tools .db-filter-advanced{margin:4px 0 8px;font-size:12px}
@media(max-width:700px){#db-target-tools .db-filter-primary #db-campaign{width:100%}}
/* 210: Blacklist header matches DB list */
#blocklist #block-list th{background:#5545df;color:#fff;border-color:#4939ce}

/* 211: Statistics header matches DB list and blacklist */
#reports th,#reports .stats-section thead th{background:#5545df;color:#fff;border-color:#4939ce}

/* 212: compact member registration */
#member-registration-dialog.member-reference-entry{width:min(960px,94vw);border-radius:8px} 
.member-reference-entry .registration-fields{gap:0;grid-template-columns:1fr 1fr} 
.member-reference-entry .registration-fields>label{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;padding:12px;margin:0;border-bottom:1px solid #e7e9ef;font-size:13px;background:#fafbfc} 
.member-reference-entry .member-full-row{grid-column:1/-1} 
.member-role-options{display:flex;gap:20px}.member-role-options label{display:flex;align-items:center;gap:5px}.member-role-options input{width:auto!important;height:auto!important} 
#member-group-dialog{width:min(480px,94vw);padding:0;border:1px solid #e1e5ee;border-radius:8px}#member-group-dialog::backdrop{background:#18253b66} 
.member-reference-entry [hidden]{display:none!important}@media(max-width:650px){.member-reference-entry .registration-fields{grid-template-columns:1fr}.member-reference-entry .registration-fields>label{grid-template-columns:100px minmax(0,1fr)}}

#member-registration-dialog.member-reference-entry .registration-fields{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:18px} 
#member-registration-dialog.member-reference-entry .registration-fields>label{display:grid;grid-template-columns:125px minmax(0,1fr);text-align:left;align-items:center;gap:10px;padding:10px;margin:0;min-height:54px} 
#member-registration-dialog.member-reference-entry .registration-fields .member-role-options label{display:flex;flex-direction:row;align-items:center;gap:5px;margin:0;text-align:left} 
#member-registration-dialog.member-reference-entry .registration-fields .member-role-options input{width:15px!important;height:15px!important;margin:0} 
#member-registration-dialog.member-reference-entry .registration-fields input,#member-registration-dialog.member-reference-entry .registration-fields select{height:36px;font-size:13px} 
#member-registration-dialog.member-reference-entry .registration-note{margin:0;padding:12px 18px} 
@media(max-width:650px){#member-registration-dialog.member-reference-entry .registration-fields{grid-template-columns:1fr}}

/* 213: Isolate group dialog from application header/footer layout. */
#member-group-dialog{box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;color:#334155;font-family:inherit;box-shadow:0 20px 60px #18253b33}
#member-group-dialog *,#member-group-dialog *::before,#member-group-dialog *::after{box-sizing:border-box}
#member-group-dialog>form{display:block;width:100%;min-width:0;margin:0;padding:0}
#member-group-dialog .registration-header{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;height:auto;min-height:0;margin:0;padding:16px 20px;background:#fff;border-bottom:1px solid #e2e7ef;color:#334155}
#member-group-dialog .registration-header h2{flex:1;min-width:0;width:auto;margin:0;padding:0;font-family:inherit;font-size:17px;font-weight:600;line-height:1.4;white-space:nowrap;word-break:keep-all}
#member-group-dialog .registration-header button{flex:0 0 32px;width:32px;height:32px;padding:0;border:0;background:#f4f6f9;font-family:inherit;font-size:20px;line-height:1}
#member-group-dialog .registration-fields{display:block;width:100%;min-width:0;padding:20px;margin:0}
#member-group-dialog .registration-fields label{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;font-size:13px;line-height:1.5;text-align:left}
#member-group-dialog .registration-fields input{width:100%;min-width:0;max-width:100%;height:38px;padding:8px 10px;font:inherit;border:1px solid #cbd5e1;border-radius:5px}
#member-group-dialog .registration-note{margin:0;padding:0 20px 14px;font-size:13px;overflow-wrap:anywhere;color:#b42318}
#member-group-dialog .registration-note:empty{display:none}
#member-group-dialog .registration-footer{position:static;display:flex;justify-content:flex-end;align-items:center;gap:8px;width:100%;min-width:0;margin:0;padding:14px 20px;border-top:1px solid #e2e7ef;background:#f8fafc}
#member-group-dialog .registration-footer button{min-width:72px;height:36px;margin:0;padding:7px 16px;font-family:inherit;font-size:13px;font-weight:600;border-radius:5px}
#member-group-dialog .registration-footer button[type=submit]{background:#31558a;border-color:#31558a;color:#fff}
/* 214: Tenant group management */
#member-group-dialog.group-management{width:760px}#member-group-dialog .group-management-content{padding:18px 20px;font-size:13px}#member-group-dialog .group-help{margin:0 0 16px;color:#64748b;line-height:1.6}#member-group-dialog table{width:100%;font-size:13px;border-collapse:collapse}#member-group-dialog th{background:#5545df;color:white;padding:10px 8px}#member-group-dialog td{padding:9px 8px;border:1px solid #e2e7ef}#member-group-dialog td button{padding:5px 8px;margin:2px;font-size:12px}#member-group-dialog td input{width:100%;min-width:80px;font-size:13px}#member-group-dialog .group-add-row{display:flex;gap:8px;width:100%;margin:0}#member-group-dialog .group-add-row input{flex:1;min-width:0;height:36px;font-size:13px}#member-group-dialog .group-add-row button{width:72px;font-size:13px;background:#31558a;color:#fff}#member-group-dialog h3{font-size:14px;margin:20px 0 10px}#member-group-dialog .table-wrap{max-height:45vh;overflow:auto}#member-group-dialog th{position:sticky;top:0}

/* 215: Reference inactive campaign presentation */
#campaign-list .campaign-file-title.campaign-title-inactive>.table-link,.inactive-campaign-name{text-decoration:line-through;text-decoration-thickness:1px;color:#777} 
.campaign-state-label{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:10px;font-size:11px;line-height:18px;white-space:nowrap;vertical-align:middle;text-decoration:none}.campaign-state-label.inactive{background:#f1f2f4;color:#777;border:1px solid #e0e2e6}.campaign-state-label.active{background:#e8f5eb;color:#387c4a;border:1px solid #d1e9d8} 
#campaign-list tr.campaign-inactive>td{color:#858585;background-color:#f5f5f5}#campaign-list tr.campaign-inactive .campaign-memo-text{color:#858585}#campaign-list button.campaign-activate{background:#e84d89;border-color:#e84d89;color:#fff}#campaign-list button.campaign-activate:hover{background:#d83a77}

/* 216: Translucent campaign labels preserve progress background. */
#campaign-list .campaign-file-title{background:transparent} 
#campaign-list .campaign-progress-label{background:rgba(255,255,255,.35);border-radius:3px;width:fit-content;max-width:100%;padding:0 4px} 
.campaign-state-label.inactive{background:rgba(241,242,244,.5);border-color:rgba(148,163,184,.3);color:#667085}

/* 217: Paint progress on the entire cell, with no opaque title overlay. */
#campaign-list td.campaign-progress-cell{--campaign-remaining:#acd5ef;--campaign-track:#f3f6fa;background-color:var(--campaign-track);background-repeat:no-repeat;background-size:100% 100%}
#campaign-list .campaign-file-title{width:auto;min-width:220px;max-width:none;background:transparent}
#campaign-list .campaign-progress-label{background:transparent;padding:0;color:#245674}
/* 218: Keep management cells in the table layout; flex only the inner controls. */
#campaign-list td.campaign-management-cell{display:table-cell;vertical-align:middle}#campaign-list td.campaign-management-cell>.campaign-row-actions{width:100%;min-width:0;background:transparent;border:0;margin:0;padding:0}
/* 220: dedicated login layout; preserve existing authentication controls. */
body:has(#workspace[hidden]) main{max-width:none;margin:0;padding:48px 24px;min-height:calc(100vh - 125px);display:flex;align-items:center;justify-content:center}
#login-panel{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:1000px;margin:0 auto;padding:0;overflow:hidden;border:1px solid #e2e7ee;border-radius:22px;box-shadow:0 20px 60px #142b4910;background:#fff}
#login-panel .login-visual{position:relative;min-height:600px;background:#102849;overflow:hidden}
#login-panel .login-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#login-panel .login-visual-copy{position:relative;padding:42px;color:#fff}
#login-panel .login-visual-copy>span{font-size:12px;font-weight:700;letter-spacing:3px;color:#b8d4eb}
#login-panel .login-visual-copy h2{font-size:32px;line-height:1.4;letter-spacing:-1px;color:#fff;margin:18px 0 12px}
#login-panel .login-visual-copy p{font-size:14px;color:#c1d4e8;margin:0}
#login-panel .login-content{padding:60px 48px;align-self:center;min-width:0}
#login-panel .eyebrow{font-size:11px;letter-spacing:2px;color:#07558d;margin:0 0 14px}
#login-panel h1{font-size:28px;line-height:1.4;color:#1d2e44;margin:0 0 12px;font-weight:750}
#login-panel .login-content>.muted{font-size:14px;line-height:1.7;color:#758195;margin:0 0 28px}
#login-form>label:not(.remember-login){font-size:14px;font-weight:600;color:#344359;margin:20px 0 0;gap:9px}
#login-form input:not([type=checkbox]){height:48px;padding:12px 14px;font-size:15px;border:1px solid #d8dfe8;border-radius:9px;background:#fafbfd}
#login-form input:focus-visible{outline:2px solid #2878b2;outline-offset:2px}
#login-form .remember-login{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;align-self:flex-start;gap:9px;width:fit-content;margin:18px 0 8px;font-size:14px;font-weight:400;line-height:22px;color:#526174;cursor:pointer}
#login-form .remember-login input[type=checkbox]{flex:0 0 18px;display:inline-block;width:18px;height:18px;min-height:0;padding:0;margin:0;accent-color:#07558d;cursor:pointer}
#login-form>button.primary{height:50px;margin-top:18px;font-size:16px;font-weight:700;border-radius:9px;background:#07558d;border-color:#07558d;color:#fff}
#login-form>button.primary:hover{background:#064773}
@media(max-width:760px){body:has(#workspace[hidden]) main{padding:28px 16px}#login-panel{max-width:440px;grid-template-columns:1fr;border-radius:16px}#login-panel .login-visual{display:none}#login-panel .login-content{padding:36px 28px}#login-panel h1{font-size:25px}}/* 221: keep login copy clear of the illuminated handset. */
#login-panel .login-visual-copy{padding:32px 42px 40px;background:linear-gradient(180deg,rgba(10,27,53,.92) 0%,rgba(10,27,53,.82) 78%,rgba(10,27,53,0) 100%);text-shadow:0 1px 3px #071a34}
#login-panel .login-visual-copy h2{margin:14px 0 10px;line-height:1.3}
#login-panel .login-visual-copy p{color:#fff;font-size:14px;font-weight:500;line-height:1.6}
#login-panel .login-visual-copy>span{color:#d7e9ff}/* 222: company details and copyright. */
.company-footer{padding:22px 24px 28px;color:#6b778b;font-size:12px;line-height:1.7;text-align:center}
.company-footer-info{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 20px}
.company-footer-info strong{font-weight:600;color:#526074}
.company-footer a{color:inherit;text-decoration:none;white-space:nowrap}
.company-footer a:hover{text-decoration:underline}
.company-footer p{margin:7px 0 0;font-size:11px;color:#7d8796}
@media(max-width:600px){.company-footer-info{flex-direction:column;gap:3px}.company-footer{padding:20px 16px}}/* 223: assignment preview, aligned with Callpro's read-only preview. */
.assignment-preview-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;border:1px solid #e0e3eb;background:#fff;padding:20px;margin-bottom:18px}
.assignment-preview-filters label{margin:0;gap:7px;font-size:13px;font-weight:600}
.assignment-preview-filters select{width:230px;height:38px;font-size:13px;padding:7px 10px}
.assignment-preview-filters label:nth-child(2) select{width:340px;max-width:100%}
.assignment-preview-filters input{width:100px;height:38px;padding:7px 10px}
.assignment-preview-filters button{height:38px;font-size:13px;margin:0}
.assignment-preview-filters button.primary{background:#e64987;border-color:#e64987;color:#fff}
.assignment-preview-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid #e0e3eb;background:#f7f8fa;margin-bottom:24px}
.assignment-preview-summary>div{padding:13px 15px;border-right:1px solid #e0e3eb;min-width:0}
.assignment-preview-summary span{display:block;font-size:12px;color:#7b8190;margin-bottom:5px}
.assignment-preview-summary strong{display:block;font-size:14px;overflow-wrap:anywhere;color:#293242}
#assignment-preview h3{font-size:15px;margin:0 0 12px}
#assignment-preview th{background:#5545df;color:white;font-size:12px;position:sticky;top:0}
#assignment-preview td{font-size:13px;padding:10px;overflow-wrap:anywhere;white-space:normal}
#assignment-preview td:nth-child(2),#assignment-preview td:nth-child(3){max-width:120px;font-size:11px}
#assignment-preview th:first-child,#assignment-preview td:first-child{position:sticky;left:0;z-index:1}
#assignment-preview td:first-child{background:#fff}
.assignment-inactive{display:inline-block;margin-left:6px;padding:2px 5px;border-radius:4px;background:#eee;color:#888;font-size:11px}
@media(max-width:900px){.assignment-preview-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.assignment-preview-filters label:nth-child(2) select{width:260px}}/* 224: member registration reference table layout. */
#member-register .member-register-form{padding:0;border:0;box-shadow:none;background:#fff;margin:0}
#member-register #registration-fields{display:grid;grid-template-columns:1fr 1fr;padding:0;gap:0;border-top:1px solid #e1e4eb}
#member-register .member-entry-field{display:grid;grid-template-columns:160px minmax(0,1fr);border-bottom:1px solid #e1e4eb;min-width:0;min-height:65px}
#member-register .member-entry-full{grid-column:1/-1}
#member-register .member-entry-caption{background:#f8f9fb;display:flex;align-items:center;padding:16px;font-size:14px;font-weight:650;color:#263348}
#member-register .member-entry-value{padding:14px;display:flex;align-items:center;min-width:0;font-size:14px;color:#566174}
#member-register .member-entry-value input:not([type=radio]),#member-register .member-entry-value select{width:230px;max-width:100%;height:40px;padding:8px 11px;font-size:14px}
#member-register .member-entry-value label{margin:0;font-size:14px}
#member-register .member-role-options{display:flex;align-items:center;gap:20px}
#member-register .member-role-options label{display:flex;flex-direction:row-reverse;align-items:center;gap:7px;font-weight:400}
#member-register .member-role-options input{width:16px;height:16px;margin:0;accent-color:#5545df}
#member-register .member-entry-help{font-size:12px;color:#87909e;margin:10px 0 0}
#member-register .registration-note{font-size:13px;line-height:1.7;color:#7a8494;padding:16px;margin:0}
#member-register .registration-footer{display:flex;justify-content:center;gap:10px;background:#fff;padding:20px;margin:0;border:0;height:auto}
#member-register .registration-footer button{font-size:14px;padding:10px 22px}
#member-register .registration-footer button[type=submit]{background:#e64987;color:#fff;border-color:#e64987}
@media(max-width:850px){#member-register #registration-fields{grid-template-columns:1fr}#member-register .member-entry-field{grid-template-columns:125px minmax(0,1fr)}}