/* v1.1.56 — precise shared grids. Loaded after themes and legacy styles. */
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-list {display:grid;gap:12px;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .customer-database-summary {
  display:grid!important;grid-template-columns:minmax(0,1fr) 180px 16px!important;
  align-items:center!important;gap:16px!important;padding:16px 18px!important;margin:0!important;min-height:88px;box-sizing:border-box;
}
html[data-ui-theme] body.admin-body.admin-body .customer-owner-identity {display:flex!important;padding:0!important;margin:0!important;align-items:center!important;gap:14px;min-width:0;width:100%}
html[data-ui-theme] body.admin-body.admin-body .customer-owner-fields {display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr)!important;align-items:center;gap:18px!important}
html[data-ui-theme] body.admin-body.admin-body .customer-owner-field {min-width:0;gap:7px}
html[data-ui-theme] body.admin-body.admin-body .customer-owner-field:first-child {grid-column:auto}
html[data-ui-theme] body.admin-body.admin-body .customer-owner-field :is(strong,.customer-owner-badge) {font-size:14px!important;line-height:1.5;overflow-wrap:anywhere}
html[data-ui-theme] body.admin-body.admin-body .customer-owner-field small {font-size:12px!important;line-height:1.4;color:#66758c!important}
html[data-ui-theme] body.admin-body.admin-body .customer-database-stats {display:flex!important;justify-content:flex-end;gap:14px!important;flex-wrap:nowrap!important;padding:0!important;margin:0!important;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .customer-database-stats>span {text-align:center;font-variant-numeric:tabular-nums}
html[data-ui-theme] body.admin-body.admin-body .customer-database-stats b {font-size:18px;line-height:1.4;display:block}
html[data-ui-theme] body.admin-body.admin-body .customer-database-empty {flex-direction:column;align-items:flex-end;gap:4px!important;color:#66758c}
.customer-database-empty small {font-size:12px;line-height:1.4}.customer-database-arrow-placeholder {width:16px}
html[data-ui-theme] body.admin-body.admin-body .customer-database-summary .customer-database-arrow {display:block!important;width:8px;height:8px;border-right:2px solid #77869b;border-bottom:2px solid #77869b;transform:rotate(-45deg);transition:transform .18s ease;margin:0}
html[data-ui-theme] body.admin-body.admin-body .customer-database-group[open] .customer-database-arrow {transform:rotate(45deg)}
@media(max-width:1100px) {
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary {grid-template-columns:minmax(0,1fr) 16px!important;gap:12px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary>.customer-owner-identity {grid-column:1;grid-row:1}
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary>.customer-database-stats {grid-column:1;grid-row:2;justify-content:flex-start!important;padding-left:56px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary>.customer-database-empty {align-items:flex-start;flex-direction:row;flex-wrap:wrap!important;gap:8px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary>:is(.customer-database-arrow,.customer-database-arrow-placeholder) {grid-column:2;grid-row:1}
}
@media(max-width:540px) {
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary {padding:14px 12px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-owner-identity {gap:10px;align-items:flex-start!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-owner-fields {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-owner-field:first-child {grid-column:1/-1}
  html[data-ui-theme] body.admin-body.admin-body .customer-owner-field :is(strong,.customer-owner-badge) {font-size:13px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-database-summary>.customer-database-stats {padding-left:46px!important}
  html[data-ui-theme] body.admin-body.admin-body .customer-database-stats b {font-size:16px}
}

/* Registered users: a real padded toolbar, not a stack of unstyled controls. */
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel {overflow:hidden}
html[data-ui-theme] body.admin-body.admin-body .admin-user-toolbar {display:grid;gap:18px;padding:22px 24px;border-bottom:1px solid #e1e7f0;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .admin-user-toolbar-copy {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;min-width:0;line-height:1.6}
.admin-user-toolbar-copy strong {font-size:17px;color:#253750}.admin-user-toolbar-copy small {font-size:14px;color:#62748d;overflow-wrap:anywhere}
html[data-ui-theme] body.admin-body.admin-body .admin-user-filters {display:grid;grid-template-columns:minmax(150px,.7fr) minmax(150px,.7fr) minmax(220px,1.6fr) auto;align-items:end;gap:14px;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .admin-user-filters label {display:grid;gap:8px;margin:0;min-width:0;font-size:14px;line-height:1.5;color:#546780}
html[data-ui-theme] body.admin-body.admin-body .admin-user-filters :is(input,select,.button) {width:100%;min-width:0;height:44px;min-height:44px;box-sizing:border-box;font-size:15px!important;margin:0}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .table-wrap {margin:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel table {width:100%;min-width:1060px;border-collapse:collapse}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel :is(th,td) {padding:17px 18px!important;vertical-align:middle;border-bottom:1px solid #e7ecf3;line-height:1.6;text-align:left}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel th {background:#f1f5fa;color:#536780;font-size:13px!important;font-weight:600;white-space:nowrap}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel td {font-size:14px!important;color:#293b52}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel tr:last-child td {border-bottom:0}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel :is(.user-contact,.user-table-cell strong) {overflow-wrap:anywhere}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .user-table-cell {display:flex;align-items:center;gap:10px;min-width:120px}
html[data-ui-theme] body.admin-body.admin-body .user-subscription-cell {min-width:100px}.user-subscription-cell>.status-pill {margin-top:6px}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel :is(time,.row-actions,.table-role) {white-space:nowrap}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .row-actions {display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:nowrap}
@media(max-width:1200px) {
 html[data-ui-theme] body.admin-body.admin-body .admin-user-filters {grid-template-columns:1fr 1fr}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-search {grid-column:1}
}
@media(max-width:700px) {
 html[data-ui-theme] body.admin-body.admin-body .admin-user-toolbar {padding:16px;gap:14px}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-filters {gap:12px}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-search {grid-column:1/-1}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-filters>.button {grid-column:1/-1}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-toolbar-copy strong {font-size:15px}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-toolbar-copy small {font-size:12px}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-filters :is(input,select,.button) {font-size:14px!important}
 html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .admin-desktop-table {display:none!important}
 html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .admin-mobile-list {display:grid!important;gap:12px;padding:12px}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-card {margin:0!important;padding:14px!important;min-width:0}
 html[data-ui-theme] body.admin-body.admin-body .admin-user-card :is(time,strong,small,span) {overflow-wrap:anywhere;white-space:normal}
}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .user-table-cell {min-width:220px}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .user-account-copy {display:grid;gap:5px;min-width:0;max-width:240px}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel .user-account-copy small {display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#60748b}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel tbody tr+tr td {border-top:1px solid #e7ecf3!important}

/* Online-account toolbar: two controls use two columns. */
html[data-ui-theme] body.admin-body.admin-body[data-admin-page="connections"] .admin-page {display:grid;gap:18px}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-panel>.table-head {padding:0 0 16px!important;gap:16px;align-items:center;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-panel>.table-head>div {min-width:0}
html[data-ui-theme] body.admin-body.admin-body #customerAccountsStatus {white-space:normal;line-height:1.6;max-width:100%;overflow-wrap:anywhere;text-align:right}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar {grid-template-columns:minmax(160px,190px) minmax(0,1fr) max-content!important;gap:14px!important;border-top:1px solid #e7edf5}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar>label {min-width:0!important;width:auto!important}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar--compact {grid-template-columns:minmax(180px,240px) max-content!important;justify-content:start}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar :is(select,input) {width:100%;min-width:0;height:44px;min-height:44px;box-sizing:border-box;margin:0;font-size:15px!important}
html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar>.button {min-height:44px;height:44px;justify-self:start;align-self:end;white-space:nowrap;margin:0!important;grid-column:auto}
html[data-ui-theme] body.admin-body.admin-body[data-admin-page="connections"] .admin-list-section :is(th,td) {padding:16px 18px!important;vertical-align:middle;line-height:1.6}
html[data-ui-theme] body.admin-body.admin-body[data-admin-page="connections"] .admin-list-section tbody tr+tr td {border-top:1px solid #e7ecf3!important}
html[data-ui-theme] body.admin-body.admin-body[data-admin-page="connections"] .row-actions {display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:700px) {
 html[data-ui-theme] body.admin-body.admin-body .customer-accounts-panel>.table-head {display:flex;flex-wrap:wrap;gap:10px}
 html[data-ui-theme] body.admin-body.admin-body #customerAccountsStatus {text-align:left}
 html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar {grid-template-columns:minmax(0,1fr) auto!important}
 html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar .customer-accounts-search {grid-column:1/-1;grid-row:2}
 html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar--compact {grid-template-columns:minmax(0,1fr) auto!important}
 html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar :is(select,input) {font-size:14px!important}
 html[data-ui-theme] body.admin-body.admin-body .customer-accounts-toolbar>.button {font-size:13px!important;padding-inline:12px!important}
 html[data-ui-theme] body.admin-body.admin-body[data-admin-page="connections"] .admin-desktop-table {display:none!important}
 html[data-ui-theme] body.admin-body.admin-body[data-admin-page="connections"] .admin-mobile-list {display:grid!important}
}

/* Unified tasks: load monitor.css on this page, then fit its shared component. */
html[data-ui-theme] body.admin-body.admin-body .task-page {display:grid;gap:20px;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .unified-task-monitor {padding:0!important;overflow:hidden;min-width:0}
html[data-ui-theme] body.admin-body.admin-body .unified-task-monitor-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:22px!important}
html[data-ui-theme] body.admin-body.admin-body .unified-task-monitor-actions {display:flex;align-items:center;flex-wrap:wrap;gap:16px}
html[data-ui-theme] body.admin-body.admin-body .monitor-auto {display:flex!important;align-items:center!important;flex-direction:row!important;gap:9px;margin:0;font-size:14px!important;color:#536780;line-height:1.5}
html[data-ui-theme] body.admin-body.admin-body .monitor-auto input {width:18px!important;height:18px!important;min-height:0!important;margin:0;flex:0 0 18px;accent-color:#3675bf}
html[data-ui-theme] body.admin-body.admin-body .task-monitor-stats {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 22px 20px}
html[data-ui-theme] body.admin-body.admin-body .task-monitor-stats .monitor-stat {display:grid!important;gap:8px;padding:16px!important;border-radius:14px!important;min-width:0;background:#f6f9fd!important}
html[data-ui-theme] body.admin-body.admin-body .monitor-stat>span {font-size:14px;color:#526780;line-height:1.4}
html[data-ui-theme] body.admin-body.admin-body .monitor-stat>strong {font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums;color:#2a3c54}
html[data-ui-theme] body.admin-body.admin-body .monitor-stat>small {font-size:12px;color:#6a7b90;line-height:1.5;overflow-wrap:anywhere}
html[data-ui-theme] body.admin-body.admin-body .monitor-green>strong {color:#187e60}
html[data-ui-theme] body.admin-body.admin-body .monitor-red>strong {color:#bc475b}
html[data-ui-theme] body.admin-body.admin-body .monitor-amber>strong {color:#416ebe}
html[data-ui-theme] body.admin-body.admin-body .task-monitor-health {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 18px;margin:0 22px 20px;padding:16px 18px;border:1px solid #dce7f3;border-radius:12px;background:#f0f6fd;color:#506580}
html[data-ui-theme] body.admin-body.admin-body .task-monitor-health>div {display:grid;gap:6px;min-width:0}
.task-monitor-health strong {color:#263e5d;font-size:15px}.task-monitor-health span {font-size:14px;overflow-wrap:anywhere}.task-monitor-health small {font-size:12px;line-height:1.6}
html[data-ui-theme] body.admin-body.admin-body #monitorScheduleDetail {grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters {display:grid!important;grid-template-columns:minmax(140px,.8fr) minmax(140px,.8fr) minmax(180px,1.5fr) auto;gap:14px;padding:0 22px 20px;align-items:end}
html[data-ui-theme] body.admin-body.admin-body .monitor-filters label {display:grid;gap:8px;min-width:0;color:#536780;font-size:14px;line-height:1.5}
html[data-ui-theme] body.admin-body.admin-body .monitor-filters :is(select,input,.button) {height:44px;min-height:44px;margin:0;width:100%;min-width:0;font-size:15px!important}
html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters .monitor-search {grid-column:auto}
html[data-ui-theme] body.admin-body.admin-body .monitor-row {display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(90px,.7fr) minmax(180px,1.3fr) minmax(110px,.8fr);align-items:start;gap:16px;padding:18px 22px!important;border-top:1px solid #e5ecf4!important}
html[data-ui-theme] body.admin-body.admin-body .monitor-row span {font-size:14px;line-height:1.6;color:#2a3e58}
html[data-ui-theme] body.admin-body.admin-body .monitor-row small {font-size:12px;line-height:1.6;color:#697c94}
html[data-ui-theme] body.admin-body.admin-body .monitor-status {padding:5px 10px;background:#edf3fc;color:#44648e;font-size:12px!important;line-height:1.5}
html[data-ui-theme] body.admin-body.admin-body .monitor-status[data-state="active"],html[data-ui-theme] body.admin-body.admin-body .monitor-status[data-state="healthy"] {background:#e4f4ed;color:#147353}
html[data-ui-theme] body.admin-body.admin-body .monitor-status[data-state="expired"],html[data-ui-theme] body.admin-body.admin-body .monitor-status[data-state="failed"] {background:#fcebee;color:#b13b52}
html[data-ui-theme] body.admin-body.admin-body .monitor-pagination {padding:16px 22px;gap:12px;flex-wrap:wrap}
html[data-ui-theme] body.admin-body.admin-body .monitor-pagination>span {font-size:13px;color:#60728b}
html[data-ui-theme] body.admin-body.admin-body .task-purpose-grid {margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
html[data-ui-theme] body.admin-body.admin-body .mail-automation-command {display:grid;gap:8px;min-width:0}
html[data-ui-theme] body.admin-body.admin-body #taskAutomationCommand {font-family:ui-monospace,Consolas,monospace;min-width:0;font-size:14px!important;line-height:1.8}
@media(max-width:1100px) {
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters {grid-template-columns:1fr 1fr}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters .button {grid-column:auto}
 html[data-ui-theme] body.admin-body.admin-body .monitor-row {grid-template-columns:1fr 1fr}
 html[data-ui-theme] body.admin-body.admin-body .monitor-row>div:first-child {grid-column:1/-1}
 html[data-ui-theme] body.admin-body.admin-body .task-purpose-grid {grid-template-columns:1fr 1fr}
}
@media(max-width:640px) {
 html[data-ui-theme] body.admin-body.admin-body .unified-task-monitor-head {padding:16px!important;gap:12px}
 html[data-ui-theme] body.admin-body.admin-body .unified-task-monitor-actions {justify-content:space-between;width:100%;gap:12px}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 14px 16px}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-stats .monitor-stat {padding:13px!important}
 html[data-ui-theme] body.admin-body.admin-body .monitor-stat>strong {font-size:26px}
 html[data-ui-theme] body.admin-body.admin-body .monitor-stat>small {font-size:11px}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-health {margin:0 14px 16px;padding:14px;gap:8px}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-health>.monitor-status {grid-column:2;grid-row:1}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-health>div {grid-column:1/-1}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-health>div>small {padding-right:85px}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters {padding:0 14px 16px;gap:12px}
 html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters .monitor-search,html[data-ui-theme] body.admin-body.admin-body .task-monitor-filters .button {grid-column:1/-1}
 html[data-ui-theme] body.admin-body.admin-body .monitor-filters :is(select,input,.button) {font-size:14px!important}
 html[data-ui-theme] body.admin-body.admin-body .monitor-row {padding:16px!important;gap:14px}
 html[data-ui-theme] body.admin-body.admin-body .task-purpose-grid {grid-template-columns:1fr}
 html[data-ui-theme] body.admin-body.admin-body #taskAutomationCommand {font-size:13px!important}
}

/* v1.1.56 · 05. Text-only recipients keep long accounts readable. */
html[data-ui-theme] body.admin-body.admin-body .broadcast-user-option {display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:12px;min-height:44px;padding:10px 12px;cursor:pointer}
html[data-ui-theme] body.admin-body.admin-body .broadcast-user-option input {width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#3569d6}
html[data-ui-theme] body.admin-body.admin-body .broadcast-user-account {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550;line-height:1.5;color:#253650}
html[data-ui-theme] body.admin-body.admin-body .broadcast-user-option:focus-within {outline:2px solid #6a97e5;outline-offset:1px}

html[data-ui-theme] body.admin-body.admin-body .broadcast-user-list {grid-template-columns:minmax(0,1fr)!important;gap:7px!important;padding:3px!important;align-content:start}
html[data-ui-theme] body.admin-body.admin-body .broadcast-user-option {display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;padding:10px 12px!important;margin:0!important;border-radius:10px!important;min-height:44px!important}

/* v1.1.56 · 06. Desktop readability without scaling the layout or mobile text. */
@media(min-width:1024px) {
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) {font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Segoe UI",sans-serif!important;font-size:17px!important;line-height:1.65;-webkit-font-smoothing:auto;text-rendering:optimizeLegibility;--desktop-sidebar:260px}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(p,label,td,select,textarea,input:not([type=checkbox]):not([type=radio]),.button,.small-button,.action-button,.broadcast-user-account) {font-size:16px!important;line-height:1.6!important}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(small,th,.eyebrow,.breadcrumb,.form-hint,.field-help,.muted,.status-pill,.badge,.screen-subtitle,.account-trigger-copy small) {font-size:14px!important;line-height:1.55!important}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.stat-label,.plan-features,.monitor-row>div>span,.customer-owner-field strong,.customer-owner-badge,.user-plan-name,.user-account-copy strong) {font-size:16px!important;line-height:1.55!important}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.table-head h3,.panel-head h3,.template-card-body>strong) {font-size:21px!important;line-height:1.45!important;font-weight:650}
 html[data-ui-theme] body.admin-body.admin-body :is(.customer-owner-field small,.customer-database-empty small,.monitor-row small,.monitor-row>div>strong,.monitor-stat small,.task-purpose-top strong,.payment-quick-facts span,.payment-endpoints small,.payment-method-checks small,.payment-form-note,.payment-section-caption span) {font-size:14px!important;line-height:1.55!important}
 html[data-ui-theme] body.admin-body.admin-body :is(.customer-owner-field strong,.broadcast-user-account,.task-purpose-grid p,.mail-automation-facts strong,.payment-quick-facts strong) {font-size:16px!important;line-height:1.55!important}
 html[data-ui-theme] body.admin-body.admin-body #adminApp .sidebar-nav .nav-item,
 html[data-ui-theme] body.customer-body.customer-body .customer-bottom-nav .nav-item {font-size:18px!important;line-height:1.5!important}
 html[data-ui-theme] body.admin-body.admin-body #adminApp .nav-group-toggle {font-size:16px!important}
 html[data-ui-theme] body.admin-body.admin-body #adminStats .stat-card :is(span,small) {font-size:14px!important}
 html[data-ui-theme] body.admin-body.admin-body #taskAutomationCommand {font-size:14px!important;line-height:1.7!important}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.button,.small-button,.action-button) {font-weight:600;letter-spacing:0;min-height:44px}
 html[data-ui-theme] body.admin-body.admin-body :is(p,label,th,td,small,.muted,.form-hint) {color:#51617a}
 html[data-ui-theme] body.admin-body.admin-body :is(.user-account-copy strong,.customer-owner-field strong,.broadcast-user-account) {color:#26364e!important}
}

/* v1.1.56 · 07. Frosted blue-grey admin workspace. Solid fallback first. */
html[data-ui-theme] body.admin-body.admin-body {
 --admin-ink:#23354f;--admin-muted:#526681;--admin-line:#dbe5f1;--admin-accent:#346bc8;
 --admin-glass-panel:#fff;--admin-glass-nav:#f9fbfe;--admin-glass-edge:#dce5f0;--admin-glass-soft:#f4f8fd;
 background:radial-gradient(ellipse at 15% 5%,#deebff 0,transparent 50%),radial-gradient(ellipse at 94% 32%,#e1f3f1 0,transparent 48%),#edf2f8!important;
 color:var(--admin-ink)!important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 html[data-ui-theme] body.admin-body.admin-body {--admin-glass-panel:rgba(255,255,255,.74);--admin-glass-nav:rgba(251,253,255,.7);--admin-glass-edge:rgba(255,255,255,.88);--admin-glass-soft:rgba(239,246,254,.72)}
 html[data-ui-theme] body.admin-body.admin-body :is(.sidebar,.topbar,.account-popover) {-webkit-backdrop-filter:blur(20px) saturate(135%)!important;backdrop-filter:blur(20px) saturate(135%)!important}
 html[data-ui-theme] body.admin-body.admin-body .admin-content :is(.table-card,.form-card,.data-screen) {-webkit-backdrop-filter:blur(14px) saturate(120%);backdrop-filter:blur(14px) saturate(120%)}
 /* Nested records stay unblurred: no filter on every row or statistic. */
 html[data-ui-theme] body.admin-body.admin-body .admin-content :is(.table-card,.form-card,.data-screen) :is(.table-card,.form-card,.data-screen) {-webkit-backdrop-filter:none;backdrop-filter:none}
}
html[data-ui-theme] body.admin-body.admin-body :is(.sidebar,.topbar) {background:var(--admin-glass-nav)!important;border-color:var(--admin-glass-edge)!important;box-shadow:0 3px 24px #304b7310!important}
html[data-ui-theme] body.admin-body.admin-body .admin-content :is(.table-card,.form-card,.data-screen,.account-statistic,.screen-kpi,.map-panel,.province-panel),
html[data-ui-theme] body.admin-body.admin-body #adminStats .stat-card {background:var(--admin-glass-panel)!important;border:1px solid var(--admin-glass-edge)!important;box-shadow:0 5px 22px #304b7309,inset 0 1px 0 #ffffffaa!important}
html[data-ui-theme] body.admin-body.admin-body .admin-content :is(.table-card,.form-card,.data-screen) :is(.table-card,.screen-kpi,.map-panel,.province-panel) {background:var(--admin-glass-soft)!important;box-shadow:none!important;border-color:#dce7f36b!important}
html[data-ui-theme] body.admin-body.admin-body .account-popover {background:var(--admin-glass-nav)!important;border:1px solid var(--admin-glass-edge)!important;box-shadow:0 12px 40px #25466b24!important}
html[data-ui-theme] body.admin-body.admin-body :is(.customer-accounts-toolbar,.admin-user-toolbar,.broadcast-customer-picker,.mail-automation-facts) {background:var(--admin-glass-soft)!important;border-color:#dce7f39c!important}
html[data-ui-theme] body.admin-body.admin-body :is(.customer-database-summary,.monitor-row,.broadcast-user-option) {background:transparent!important}
html[data-ui-theme] body.admin-body.admin-body :is(.customer-database-summary:hover,.monitor-row:hover,.broadcast-user-option:hover) {background:#edf5ff80!important}
html[data-ui-theme] body.admin-body.admin-body .broadcast-user-option:has(input:checked) {background:#e5efffe6!important;border-color:#bad1f5!important}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel tbody tr+tr td {border-top:1px solid #dbe5f0a3!important}
html[data-ui-theme] body.admin-body.admin-body .admin-users-panel tbody tr:hover {background:#edf5ff80}
html[data-ui-theme] body.admin-body.admin-body #adminApp .sidebar-nav .nav-item {color:#526783!important}
html[data-ui-theme] body.admin-body.admin-body #adminApp .sidebar-nav .nav-item.active {background:#ffffffc9!important;color:#275bb0!important;box-shadow:0 5px 16px #3567ad13,inset 0 0 0 1px #ffffffeb!important}
html[data-ui-theme] body.admin-body.admin-body #adminApp .nav-group-toggle {color:#60748f!important}
html[data-ui-theme] body.admin-body.admin-body .button.primary {background:#386dd5!important;color:#fff!important;border:1px solid #3a6dce!important;box-shadow:0 3px 9px #3567ad24!important}
html[data-ui-theme] body.admin-body.admin-body .button.primary:hover:not(:disabled) {background:#2c5ebf!important}
html[data-ui-theme] body.admin-body.admin-body :is(.button.secondary,.button.ghost) {background:#f8fbffd9!important;color:#2e60a4!important;border:1px solid #cdddf1!important;box-shadow:0 1px 2px #27456d06!important}
html[data-ui-theme] body.admin-body.admin-body :is(.button.secondary,.button.ghost):hover:not(:disabled) {background:#eaf3ff!important;border-color:#aec9ed!important}
html[data-ui-theme] body.admin-body.admin-body :is(.eyebrow,.table-head .eyebrow) {color:#51749e!important}
html[data-ui-theme] body.admin-body.admin-body .status-pill {background:#eef4fd!important;color:#426794!important}
html[data-ui-theme] body.admin-body.admin-body .status-pill.success {background:#e1f4ec!important;color:#22735c!important}
html[data-ui-theme] body.admin-body.admin-body .status-pill.danger {background:#fbe9ed!important;color:#ae3e52!important}
@media(max-width:700px) {
 html[data-ui-theme] body.admin-body.admin-body .admin-content :is(.table-card,.form-card,.data-screen) {-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
 html[data-ui-theme] body.admin-body.admin-body :is(.sidebar,.topbar) {-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important}
}
@media(prefers-reduced-transparency:reduce) {
 html[data-ui-theme] body.admin-body.admin-body {--admin-glass-panel:#fff;--admin-glass-nav:#f9fbfe;--admin-glass-edge:#dce5f0;--admin-glass-soft:#f4f8fd}
 html[data-ui-theme] body.admin-body.admin-body :is(.sidebar,.topbar,.account-popover,.table-card,.form-card,.data-screen) {-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}

/* v1.1.56 · 08. Keep accessible page names, remove duplicated visual titles. */
html[data-ui-theme] body:is(.customer-body,.admin-body) .workspace-topbar-label {display:none!important}
html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) .workspace-page-title {
 position:absolute!important;width:1px!important;max-width:1px!important;height:1px!important;min-height:0!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
 white-space:nowrap!important;border:0!important;
}
html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) .topbar {min-height:64px!important;height:auto!important;padding:10px 28px!important;gap:16px!important;align-items:center!important}
html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) .topbar-actions {margin-left:auto!important;min-width:0}
html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.page-intro,.page-head,.page-heading,.section-heading,.mapping-head):has(.workspace-page-title) {
 min-height:0!important;padding:0!important;margin:0 0 16px!important;border:0!important;box-shadow:none!important;background:none!important;
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px 20px!important;flex-wrap:wrap!important;
}
html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.page-intro,.page-head,.page-heading,.section-heading,.mapping-head):has(.workspace-page-title)>div:first-child {min-width:0;flex:1 1 260px}
html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.page-intro,.page-head,.page-heading,.section-heading,.mapping-head):has(.workspace-page-title) p {margin:0!important;max-width:none!important;line-height:1.6!important}
html[data-ui-theme] body.admin-body.admin-body .admin-section-stack>.section-heading:has(.workspace-page-title),
html[data-ui-theme] body.admin-body.admin-body .task-page>.page-heading:has(.workspace-page-title) {margin-bottom:0!important}
html[data-ui-theme] body.admin-body.admin-body #dataScreen .screen-title-line {margin:0!important;min-height:0!important}
html[data-ui-theme] body.admin-body.admin-body #dataScreen .screen-title-group {display:flex!important;align-items:center;flex-wrap:wrap;gap:8px 14px!important}
html[data-ui-theme] body.admin-body.admin-body #dataScreen .screen-title-group p {margin:0!important}
html[data-ui-theme] body.admin-body.admin-body #adminPageNotice:empty {display:none!important}
@media(min-width:1024px) {html[data-ui-theme] body.admin-body.admin-body .topbar-title {width:0!important;min-width:0!important;gap:0!important}}
@media(max-width:700px) {
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) .topbar {min-height:54px!important;padding:8px 14px!important;gap:10px!important}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.page-intro,.page-head,.page-heading,.section-heading,.mapping-head):has(.workspace-page-title) {margin-bottom:12px!important;gap:10px!important}
 html[data-ui-theme] body:is(.customer-body,.admin-body):is(.customer-body,.admin-body) :is(.page-intro,.page-head,.page-heading,.section-heading,.mapping-head):has(.workspace-page-title) p {font-size:13px!important;line-height:1.55!important}
}

/* Keep long voucher identifiers separate from their plan labels on small screens. */
@media(max-width:700px) {
 html[data-ui-theme] body.admin-body.admin-body .voucher-card {padding:18px!important;min-width:0}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card .mobile-record-head {display:flex;gap:12px;align-items:flex-start}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card .mobile-record-head>div {min-width:0;flex:1}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card .mobile-record-head :is(strong,small) {display:block;overflow-wrap:anywhere}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card .mobile-record-head small {margin-top:5px;line-height:1.55}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card .status-pill {flex-shrink:0}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:16px 0 0}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card dl .wide {grid-column:1/-1}
 html[data-ui-theme] body.admin-body.admin-body .voucher-card dd {margin:4px 0 0;overflow-wrap:anywhere;line-height:1.5}
}

/* The shared light surfaces must not mask the tech skin's light-on-dark text.
   Scope to the loaded skin, without changing stored template preferences. */
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) {background:var(--tech-bg)!important;color-scheme:dark}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView :is(#plansView,#mappingsView,#connectionsView,#syncedView,#nodesView,#logsView,#faqsView) :is(.plans-catalog-panel,.plan-card,.voucher-redeem-card,.mapping-switcher-simple,.mapping-card,.mapping-pick-field,.auto-sync-toggle,.table-card,.table-wrap,.empty-state,.mobile-record-card,.mapping-filter-bar,.mapping-save-bar,.segmented) {
 background:var(--tech-panel-solid)!important;border-color:#29435e!important;box-shadow:none!important;color:var(--tech-ink)!important;
}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView :is(h2,h3,h4,strong,.plan-features,.plan-price,.plan-price-value,.auto-sync-toggle,.mapping-pick-field,.mapping-pick-field:before) {color:var(--tech-ink)!important}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView :is(label,.field-help,.stat-label,.plan-description,.voucher-redeem-copy p,.plan-features li,.mapping-pick-field:before) {color:#a9bbd1!important}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView :is(#plansView,#mappingsView,#connectionsView) :is(input,select,textarea) {background-color:#101e31!important;color:var(--tech-ink)!important;border-color:#375373!important;color-scheme:dark}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView :is(#plansView,#mappingsView) :is(.segmented,.mapping-pick-field,.auto-sync-toggle,.voucher-redeem-card) {background:#122137!important}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #mappingForm {background:transparent!important;border-color:#29435e!important;box-shadow:none!important}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #mappingModePick,
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #mappingModeAll {background:transparent!important;color:#a9bbd1!important}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body :is(#mappingModePick,#mappingModeAll)[aria-selected="true"] {background:#17405a!important;color:#8aeeff!important}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView .button:disabled {background:#243749!important;color:#a9bbd1!important;opacity:1!important;box-shadow:none!important}

/* Match actual mapping containers, not only the transparent form wrapper. */
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView #mappingsView .mapping-switcher-simple,
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView #mappingsView #mappingForm .mapping-filter-bar {
 background:var(--tech-panel-solid)!important;border-color:#29435e!important;color:var(--tech-ink)!important;box-shadow:none!important;
}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView #mappingsView :is(.auto-sync-toggle,.segmented,.mapping-save-bar) {
 background:#122137!important;border-color:#29435e!important;box-shadow:none!important;
}
html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView #mappingsView :is(.field-caption,.mapping-save-copy p,.mapping-save-copy small,.auto-sync-toggle strong,.auto-sync-toggle small,.mapping-head p) {color:#b9c9dc!important;opacity:1!important}

html[data-ui-theme]:has(link[href*="/themes/tech.css"]) body.customer-body.customer-body #appView #mappingsView .mapping-pick-field::before {color:#b9c9dc!important;opacity:1!important}
