:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#192d3d;background:#f5f7fa;font-size:16px}*{box-sizing:border-box}body{margin:0;padding:32px 20px}main{max-width:1100px;margin:auto;background:white;border:1px solid #dce4ec;border-radius:22px;padding:36px}header,.heading,nav{display:flex;align-items:center;justify-content:space-between;gap:16px}header{padding-bottom:24px;border-bottom:1px solid #dce4ec}header strong{font-size:30px;color:#255eae}header span{display:inline-block;margin-left:16px;color:#657687}h1{font-size:28px;margin:28px 0 12px}h2{margin:0}p{line-height:1.65}.muted,footer{color:#657687}#login,#passwordSetup{max-width:420px;margin:auto}label{display:block;margin:18px 0 8px}input,select,button{font:inherit;border:1px solid #afc0d4;border-radius:9px;padding:11px 14px;background:#fff;color:#194a8e}input{display:block;width:100%;color:#192d3d}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:hover:not(:disabled){background:#eef4fc}button.primary{background:#255eae;color:white;width:100%;margin-top:24px}button.primary:hover{background:#194a8e}select{max-width:100%;min-width:180px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{color:#657687;font-weight:500}td,th{padding:16px 10px;border-bottom:1px solid #e3e8ef}td:first-child{white-space:nowrap}td:nth-child(4){font-family:monospace;overflow-wrap:anywhere}nav{justify-content:center;margin-top:24px}footer{border-top:1px solid #dce4ec;margin-top:28px;padding-top:20px;font-size:13px}#status{color:#a2253f;overflow-wrap:anywhere}dialog{width:min(700px,calc(100% - 32px));max-height:85vh;border:1px solid #dce4ec;border-radius:18px;padding:28px;color:inherit}dialog::backdrop{background:#10283977}dl{display:grid;grid-template-columns:110px 1fr;gap:12px}dt{color:#657687}dd{margin:0;overflow-wrap:anywhere}.pre{white-space:pre-wrap;overflow-wrap:anywhere}h3{margin-top:28px;font-size:17px}[hidden]{display:none!important}:focus-visible{outline:3px solid #83ace9;outline-offset:3px}@media(max-width:600px){body{padding:12px}main{padding:20px 16px;border-radius:14px}.heading{align-items:flex-start}header strong{font-size:26px}header span{font-size:13px;margin-left:8px}h1{font-size:24px}td,th{padding:12px 8px}dialog{padding:20px}dl{grid-template-columns:85px 1fr}}

#sendCode{margin-top:16px}#mailStatus{font-size:14px}

.status-pending{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:6px;background:#fff3c4;color:#785600;border:1px solid #e7c65c;white-space:nowrap;font-weight:600}.status-pending::before{content:"";width:7px;height:7px;border-radius:50%;background:#c48a00}

.filters{display:flex;gap:20px;flex-wrap:wrap}.row-actions{white-space:nowrap}.row-actions button+button{margin-left:8px}.process-button{background:#255eae;color:white}textarea{font:inherit;width:100%;padding:12px;border:1px solid #afc0d4;border-radius:9px;resize:vertical}.status-completed{display:inline-flex;gap:6px;align-items:center;padding:4px 9px;border-radius:6px;background:#e8f7ee;color:#17683b;border:1px solid #9cd3b2;white-space:nowrap;font-weight:600}.status-completed::before{content:"";width:7px;height:7px;border-radius:50%;background:#22864d}#processError{color:#a2253f}

#requestSearch{flex:1;min-width:240px;margin:0}.request-search-row{display:flex;gap:8px;align-items:center}.request-search-row input{min-width:0;flex:1;width:100%}.request-search-row button{margin:0;flex-shrink:0}.filters{align-items:end}table td:first-child{font-size:12px;overflow-wrap:anywhere}table td:nth-child(4){white-space:nowrap}@media(max-width:480px){#requestSearch{min-width:0;width:100%;flex-basis:100%}}
.request-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:100%}.request-search-row input{width:100%;max-width:100%}table td:first-child{font-family:monospace}table td:nth-child(4){font-family:inherit}

/* Structured case detail and case-scoped investigation. */
#detail{width:min(820px,calc(100vw - 32px));padding:28px;max-height:90dvh}#detail>.heading{position:sticky;top:-28px;background:white;padding:12px 0;z-index:1;border-bottom:1px solid #e3e8ef}.icon-close{width:40px;height:40px;padding:0;border:0;font-size:26px;color:#708197;background:transparent;flex-shrink:0}
#fields,#assistanceFields{grid-template-columns:155px minmax(0,1fr);gap:10px 20px;font-size:14px;line-height:1.6}#fields dt,#assistanceFields dt{white-space:nowrap}#assistanceDetails{margin-top:24px;padding:18px 20px;background:#f2f6fc;border:1px solid #dee8f5;border-radius:12px}#assistanceDetails h3{margin:0}#assistanceDetails>.muted{font-size:12px}.assistance-action{display:flex;justify-content:flex-end}#detail>h3{border-top:1px solid #e3e8ef;padding-top:20px;margin-top:24px}#detail #publicReply{background:#f0f5fc;border-radius:10px;padding:14px}#detail .pre{max-height:180px;overflow:auto;font-size:14px;line-height:1.8}#detail #resolution{color:#657687}
#investigation{width:min(1100px,calc(100vw - 32px));height:min(850px,90dvh);max-height:90dvh;padding:0;overflow:hidden}#investigation[open]{display:flex;flex-direction:column}.investigation-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;border-bottom:1px solid #e0e7ef;flex-shrink:0}.investigation-header p{font-size:12px;margin:0 0 8px}.investigation-header h2{font-size:22px}.investigation-body{padding:24px 28px;min-height:0;overflow:auto}#investigation table{min-width:650px}#investigation td{font-family:inherit;font-size:14px;white-space:normal}#investigation td small{display:block;margin-top:7px;color:#708197;font-size:12px;overflow-wrap:anywhere}#investigation td button{white-space:nowrap;font-size:13px}#investigation .filters{margin-bottom:20px}#investigation .muted{font-size:13px}#investigationUser{overflow-wrap:anywhere}.status-active{display:inline-block;color:#225caa;background:#eaf2ff;border-radius:6px;padding:4px 8px}#investigationError{color:#a2253f}#taskOverview .pre{max-height:100px;overflow:auto}#locationFilters input{max-width:100%}
@media(max-width:600px){#detail{padding:18px}#detail>.heading{top:-18px}#fields,#assistanceFields{grid-template-columns:1fr;gap:4px}#fields dd,#assistanceFields dd{margin-bottom:12px}#assistanceDetails{padding:16px}#investigation{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.investigation-header,.investigation-body{padding:16px}#investigation .filters>div{max-width:100%}}

#fields,#assistanceFields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}#fields>div,#assistanceFields>div{min-width:0}#fields .field-wide{grid-column:1 / -1}#fields dt,#assistanceFields dt{font-size:12px;margin-bottom:4px}#fields dd,#assistanceFields dd{margin:0}.assistance-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.assistance-heading button{flex-shrink:0;font-size:13px}.process-button:hover:not(:disabled){background:#194a8e;color:white}@media(max-width:600px){#fields,#assistanceFields{grid-template-columns:1fr;gap:12px}.assistance-heading{align-items:flex-start}.assistance-heading h3{line-height:1.5}}

.task-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 32px}.task-detail-fields dt{color:#71839b;font-size:14px;margin-bottom:7px}.task-detail-fields dd{margin:0;overflow-wrap:anywhere}#taskDetailNote{max-height:180px;overflow:auto}@media(max-width:600px){.task-detail-fields{grid-template-columns:1fr}}
#adminTabs{justify-content:flex-start;flex-wrap:wrap}#adminTabs [aria-pressed=true]{background:#255eae;color:white}#smsRows td{font-family:inherit;vertical-align:top}#smsRows td:nth-child(6){min-width:240px}#smsRows p{margin:0 0 8px;font-size:13px}.sms-toggle{display:flex;align-items:center;gap:12px}.sms-toggle input{width:22px;height:22px;accent-color:#255eae}#smsEditError{color:#a2253f}#smsSearch{max-width:420px}
#configRows fieldset{border:1px solid #dbe3ed;border-radius:10px;margin:18px 0;padding:18px;min-width:0}#configRows legend{font-weight:700;padding:0 8px}#configRows small{display:block;color:#64748b;overflow-wrap:anywhere;margin:8px 0}#configRows input,#configRows select,#configRows textarea,#configReason{width:100%;box-sizing:border-box}#configHistory p{border-bottom:1px solid #e2e8f0;padding:12px 0;overflow-wrap:anywhere}#configGroupEditor{width:min(580px,90vw)}#configGroupEditor input,#configGroupEditor textarea{width:100%;box-sizing:border-box}
/* Configuration workspace: blue-white lists and a collapsible left navigation. */
:root{color:#243247;background:#f5f7fb;font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;font-variant-numeric:tabular-nums}
body{padding:24px;--sidebar-width:228px}body.sidebar-collapsed{--sidebar-width:76px}body.authenticated{padding:0}main{max-width:1440px;border-radius:14px;padding:28px;margin:36px auto}body.authenticated main{max-width:none;margin:0 0 0 var(--sidebar-width);padding:0 32px 24px;border:0;background:transparent;border-radius:0;min-height:100dvh;transition:margin-left .18s ease}
.workspace-header{min-height:76px;padding:16px 0;margin-bottom:26px;border-bottom:1px solid #e1e7f0}.workspace-header strong{font-size:24px}.workspace-header span{font-size:14px}body.authenticated .workspace-header strong{display:none}body.authenticated .workspace-header span{margin:0;color:#617189}body.authenticated .workspace-header div:before{content:"工作台 / ";color:#8994a5}
#adminTabs{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:5;background:#fff;border-right:1px solid #e2e7ef;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;margin:0;padding:24px 14px 16px;gap:30px;transition:width .18s ease;overflow:hidden}
.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 8px;min-height:40px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:32px;height:36px;flex:none;color:#fff;background:#2761c8;border-radius:9px;font-size:24px}.sidebar-brand strong{font-size:23px;color:#255eae;letter-spacing:-.7px}.sidebar-brand small{display:block;font-size:11px;color:#8391a5;margin-top:2px}
#adminTabs nav{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;justify-content:flex-start}#adminTabs button{display:flex;align-items:center;gap:13px;border:0;background:none;color:#607189;border-radius:8px;padding:13px 12px;font-size:14px;text-align:left;white-space:nowrap;min-height:46px}#adminTabs button:hover{background:#f3f6fb;color:#255eae}#adminTabs [aria-pressed=true]{background:#eaf1ff;color:#225bb9;font-weight:600}#adminTabs svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sidebar-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #e9edf3}.sidebar-bottom>small{display:block;margin:0 12px 12px;color:#8b98aa;font-size:11px}.sidebar-bottom button{width:100%}.sidebar-collapsed .sidebar-label{display:none}.sidebar-collapsed .sidebar-brand{padding:0 7px}.sidebar-collapsed #sidebarToggle svg{transform:rotate(180deg)}
h1{font-size:27px;letter-spacing:-.6px;margin:0 0 8px;font-weight:650}h2{font-size:18px;font-weight:650}.heading{margin-bottom:22px}.heading p{margin:5px 0;font-size:13px}.eyebrow{color:#7c8da5;font-size:11px!important;letter-spacing:1px}.muted{color:#7a8799}button,input,select,textarea{border-color:#d5deeb;border-radius:6px}button{transition:background .15s,color .15s;line-height:1.4;padding:9px 15px}input,select{min-height:40px;padding:9px 12px}input::placeholder{color:#a0acbd}input:focus,textarea:focus{border-color:#6393df}button.solid-button{background:#2863cc;border-color:#2863cc;color:white}button.solid-button:hover:not(:disabled){background:#1d50ad}button.danger-button{color:#fff;background:#b63845;border-color:#b63845}button.danger-button:hover:not(:disabled){background:#982c38}
.config-surface{background:white;border:1px solid #e0e7f0;border-radius:10px;overflow:hidden}.surface-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 0}.surface-heading code{display:block;margin-top:7px;color:#657b99;font-size:13px}.config-search{display:flex;gap:12px;align-items:end;padding:20px 24px 24px;margin:0}.config-search label{margin:0;flex:1;max-width:400px;font-size:12px;color:#53637a}.config-search input{margin-top:8px;font-size:14px}.config-search button{min-height:40px;flex-shrink:0}.config-surface .table-wrap{padding:0 24px}.config-table{min-width:920px;table-layout:auto;font-size:13px}.config-table th{background:#f6f8fc;color:#53647d;font-weight:600;white-space:nowrap;padding:14px 16px;border-top:1px solid #e6ebf3}.config-table td{padding:17px 16px;vertical-align:middle;border-bottom:1px solid #edf0f5;color:#43516a;font-family:inherit!important;white-space:normal!important;font-size:13px!important;line-height:1.6}.config-table tbody tr:hover{background:#f8faff}.config-table th:first-child{border-radius:6px 0 0 0}.config-table th:last-child{border-radius:0 6px 0 0}.name-cell{display:flex;align-items:center;gap:9px;min-width:170px}.config-code{display:inline-block;background:#f3f6fa;color:#53647e;border:1px solid #e9edf3;border-radius:4px;padding:3px 7px;white-space:nowrap;font:12px/1.6 Consolas,monospace;max-width:none}.config-badge{font-size:10px;color:#4177c7;background:#eaf2ff;border-radius:4px;padding:2px 6px;white-space:nowrap;flex-shrink:0}.config-badge.custom{background:#f0f2f6;color:#6d7b8e}.config-table .remark-cell{min-width:220px;max-width:440px;overflow-wrap:anywhere;white-space:normal}.config-actions>div{display:flex;gap:12px;white-space:nowrap}.table-action{padding:3px 0;border:0;background:none;color:#2863c8;border-radius:3px;font-size:13px}.table-action:hover:not(:disabled){background:none;text-decoration:underline}.table-action:disabled{color:#aeb7c5;opacity:1}.name-cell>.table-action{text-align:left;font-weight:550}.config-table td:nth-child(5){white-space:nowrap!important;color:#748197;font-size:12px!important}.item-table td:nth-child(5){color:inherit}.value-cell strong{font-weight:600;overflow-wrap:anywhere}.value-cell small{display:block;margin-top:5px;color:#8a96a6;font-size:11px}.value-flag{display:inline-flex;align-items:center;gap:6px;font-size:12px}.value-flag:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.value-flag.on{color:#2a7c58}.value-flag.off{color:#8591a2}
.list-footer{padding:18px 24px;display:flex;justify-content:space-between;align-items:center;color:#7b899b;font-size:12px;gap:12px}.list-footer nav{margin:0;gap:12px;font-size:12px}.list-footer button{padding:4px 11px;min-width:32px;font-size:20px;line-height:24px}.list-footer nav span:nth-of-type(2){color:#285faa}.empty-state{text-align:center;color:#8793a4;padding:32px;margin:0}.group-note{margin:16px 24px 0;padding:12px 16px;border-left:3px solid #bed0ef;background:#f7f9fd;color:#63738b;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.back-link{border:0;background:none;padding:0;color:#52739c;margin:0 0 20px}.config-history{margin-top:24px;background:white;border:1px solid #e2e8f1;border-radius:8px;padding:16px 20px;color:#65778e}.config-history summary{cursor:pointer;font-size:13px}.config-history p{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}#configEditStatus,#configGroupStatus,#configCustomStatus,#configDeleteStatus{color:#a2253f;font-size:13px}#configGroupCode[readonly],#configCustomCode[readonly]{background:#f4f6f9;color:#798698}#configGroupEditor,#configCustomEditor,#configDeleteEditor{width:min(600px,calc(100vw - 24px))}#configCustomType{width:100%}#status{position:relative;font-size:13px}footer{border:0;font-size:11px;margin-top:20px;padding:10px 0}#tickets,#smsCountries{background:white;border:1px solid #e2e7ef;border-radius:10px;padding:24px}#tickets .table-wrap,#smsCountries .table-wrap{max-width:100%}#login,#passwordSetup{padding-bottom:20px}
@media(max-width:1100px){body.authenticated main{padding:0 20px 20px}.config-search{flex-wrap:wrap}.config-search label{min-width:180px}.surface-heading{align-items:flex-start}.toolbar{justify-content:flex-end}}
@media(max-width:700px){body.authenticated main{margin-left:76px;padding:0 12px 16px}.workspace-header{min-height:66px;margin-bottom:18px}.workspace-header span{font-size:12px}.workspace-header div:before{display:none}.workspace-header button{font-size:12px;padding:8px}.heading{gap:8px;align-items:flex-start}h1{font-size:23px}.heading p{font-size:12px}.surface-heading{padding:16px;flex-wrap:wrap;gap:12px}.surface-heading h2{font-size:16px}.config-search{padding:0 16px 16px;gap:10px}.config-search label{min-width:100%;max-width:none}.config-surface .table-wrap{padding:0 12px}.list-footer{padding:14px 12px;align-items:flex-start;flex-direction:column}.list-footer nav{gap:8px}.toolbar{justify-content:flex-start}.group-note{margin:0 16px 18px}.config-history{padding:14px 12px}.config-surface{border-radius:8px}#tickets,#smsCountries{padding:16px 12px}.filters{gap:12px}.heading>button{padding:8px}.sidebar-collapsed #adminTabs{width:76px}#configItemEditor{width:calc(100vw - 20px);padding:20px}#configRows fieldset{padding:14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#configRefresh{flex-shrink:0;white-space:nowrap}

.sms-country{display:flex;align-items:center;gap:10px;min-width:180px}.sms-country-flag{display:inline-flex;width:28px;height:21px;flex:0 0 28px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px #dce3ec}.sms-country-flag svg{display:block;width:100%;height:100%}#smsRows td:nth-child(2){white-space:nowrap;font-variant-numeric:tabular-nums}

#smsCountries th,#smsRows td:not(:nth-child(7)){white-space:nowrap}#smsRows td:first-child{font-family:inherit}#smsCountries table{min-width:900px}#smsRows td:nth-child(7){min-width:210px}

/* Keep the custom item title and close action outside the scroll area. */
#configCustomEditor{padding:0;overflow:hidden;max-height:85dvh}#configCustomForm{display:flex;flex-direction:column;max-height:calc(85dvh - 2px)}#configCustomForm>.heading{flex-shrink:0;margin:0;padding:20px 28px;border-bottom:1px solid #e3e8ef;background:white;align-items:center}#configCustomForm>.config-dialog-body{min-height:0;overflow-y:auto;padding:0 28px 28px;overscroll-behavior:contain}@media(max-width:600px){#configCustomForm>.heading{padding:16px 20px}#configCustomForm>.config-dialog-body{padding:0 20px 20px}}

/* Group editor: pinned controls with a compact, independently scrolling form. */
#configGroupEditor{padding:0;overflow:hidden;max-height:85dvh;border-radius:14px;box-shadow:0 20px 64px #132c4b26}
#configGroupForm{display:flex;flex-direction:column;max-height:calc(85dvh - 2px)}
.group-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px;border-bottom:1px solid #e8edf4;flex-shrink:0}
.group-dialog-header h2{font-size:20px;letter-spacing:-.3px}.group-dialog-header .icon-close{display:grid;place-items:center;border-radius:8px;line-height:1;background:#f4f6fa;font-size:25px}.group-dialog-header .icon-close:hover:not(:disabled){background:#e8edf5;color:#29486d}
.group-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:20px 16px;overflow-y:auto;min-height:0;padding:24px 28px;overscroll-behavior:contain}
#configGroupForm label{margin:0;min-width:0;color:#53637a;font-size:13px;font-weight:500}.group-field-wide{grid-column:1/-1}
#configGroupForm input,#configGroupForm textarea{width:100%;margin-top:8px;font-size:14px;line-height:1.5;color:#253b55;border-radius:8px;padding:10px 12px;background:white}#configGroupForm textarea{min-height:82px;resize:vertical}#configGroupForm input[readonly]{background:#f5f7fa;color:#7a8799;font-family:ui-monospace,monospace}#configGroupForm small{display:block;margin-top:7px;font-size:12px;font-weight:400;color:#8a96a6}
.group-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:16px 28px;border-top:1px solid #e8edf4;background:#fafbfd;flex-shrink:0}.group-dialog-footer #configGroupStatus{margin:0;flex:1;overflow-wrap:anywhere}.group-dialog-footer #configGroupStatus:empty{display:none}.group-dialog-footer button.primary{width:auto;min-width:128px;margin:0;padding:11px 24px;border-radius:8px;font-weight:500;flex-shrink:0}
@media(max-width:600px){.group-dialog-header{padding:16px 20px}.group-dialog-body{padding:20px;gap:18px 12px;grid-template-columns:minmax(0,1fr) 88px}.group-dialog-footer{padding:16px 20px;flex-wrap:wrap}.group-dialog-footer #configGroupStatus{flex-basis:100%}.group-dialog-footer button.primary{width:100%}}

#smsEditor{padding:0;overflow:hidden;max-height:85dvh}#smsForm{display:flex;flex-direction:column;max-height:calc(85dvh - 2px)}.sms-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 28px 12px;flex-shrink:0;background:white}.sms-editor-heading .sms-country{min-width:0}.sms-editor-heading h2{font-size:18px;line-height:1.4}.sms-editor-body{overflow-y:auto;min-height:0;padding:0 28px 28px;overscroll-behavior:contain}.sms-switches{margin:8px 0 24px}#smsForm .sms-toggle{display:grid;grid-template-columns:180px 42px minmax(0,1fr);gap:16px;align-items:center;margin:0;min-height:60px}#smsForm .sms-toggle input{appearance:none;display:block;position:relative;width:42px;height:24px;min-height:0;margin:0;padding:0;border:0;border-radius:20px;background:#b8c0ca;cursor:pointer;transition:background .15s}#smsForm .sms-toggle input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;transition:transform .15s}#smsForm .sms-toggle input:checked{background:#28aa60}#smsForm .sms-toggle input:checked::after{transform:translateX(18px)}#smsForm .sms-toggle input:disabled{opacity:.5;cursor:default}#smsStateLabel{color:#7a8799;font-size:12px}#smsForm nav{gap:12px}#smsClose{border-radius:6px}@media(max-width:600px){.sms-editor-heading{padding:16px 20px 10px}.sms-editor-body{padding:0 20px 20px}#smsForm .sms-toggle{grid-template-columns:minmax(0,1fr) 42px 42px;gap:10px}.sms-editor-heading h2{font-size:16px}}@media(prefers-reduced-motion:reduce){#smsForm .sms-toggle input,#smsForm .sms-toggle input::after{transition:none}}

.sms-switch-cell{text-align:center;vertical-align:middle}.sms-status-switch{display:inline-flex;vertical-align:middle;line-height:0;color:#b8c0ca}.sms-status-switch.is-on{color:#28aa60}.sms-status-switch.is-pending{color:#c58a22}.sms-status-switch svg{display:block}#smsCountries th:nth-child(3),#smsCountries th:nth-child(4),#smsCountries th:nth-child(5){text-align:center;min-width:72px}

/* Configuration explanations must wrap, including the item table's fifth column. */
.config-table td.remark-cell{white-space:normal!important;line-height:1.8}

/* Read-only notification review: isolate overflow inside the evidence table. */
#deliveries{background:#fff;border:1px solid #e2e7ef;border-radius:10px;padding:24px;min-width:0;max-width:100%;box-sizing:border-box}
#deliveries .table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
#deliveryRefresh{flex-shrink:0;white-space:nowrap}
.delivery-table{min-width:1000px;width:100%;table-layout:fixed}.delivery-table th:nth-child(1){width:210px}.delivery-table th:nth-child(2){width:65px}.delivery-table th:nth-child(3){width:150px}.delivery-table th:nth-child(4){width:205px}.delivery-table th:nth-child(5){width:220px}.delivery-table th:nth-child(6){width:190px}
.delivery-table td{vertical-align:top;white-space:normal!important;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.delivery-table td small{display:block;color:#6c7a90;margin-top:6px;font-size:11px;overflow-wrap:anywhere}.delivery-table td:first-child,.delivery-table td:nth-child(4){font-variant-numeric:tabular-nums}
.delivery-summary{display:flex;gap:10px 18px;flex-wrap:wrap;padding:14px 0;color:#50627a;font-size:13px}.delivery-summary strong{color:#223d66;font-size:17px}.delivery-notice,.delivery-explanation{padding:12px 14px;border-left:3px solid #bed0ef;background:#f5f8fd;color:#53677f;line-height:1.7;font-size:13px;overflow-wrap:anywhere}.delivery-notice:empty{display:none}.delivery-filters label{min-width:160px}.delivery-filters select{display:block;width:100%;margin-top:7px}.delivery-badge{display:inline-block;padding:2px 7px;border-radius:4px;background:#f2f4f7;color:#53637a}.delivery-unknown,.delivery-stale{background:#fff3cd;color:#765619}.delivery-failed{background:#fce9ec;color:#9e2c42}#deliveryError{color:#9e2c42;font-size:13px}#deliveryLoading{color:#53677f}#deliveries .list-footer{padding-left:0;padding-right:0}#deliveries .list-footer button{font-size:13px;white-space:nowrap}
@media(max-width:700px){#deliveries{padding:16px 12px}.delivery-filters{display:flex;flex-direction:column;align-items:stretch}.delivery-filters label{min-width:0;width:100%}.delivery-summary{gap:9px 14px}.delivery-notice,.delivery-explanation{padding:10px;font-size:12px}}