/* admin.css */

.layout,.admin-layout{display:grid;grid-template-columns:290px 1fr;gap:20px;padding:22px;max-width:1480px;margin:0 auto}
.admin-layout{width:100%;max-width:none}
.sidebar .panel,.card,.admin-content,.admin-sidebar{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 30px rgba(10,25,55,.04)}
.sidebar .panel,.admin-sidebar,.admin-content,.card{padding:18px}
.admin-sidebar details{margin-bottom:10px;border:1px solid var(--line);border-radius:14px;padding:10px;background:#f9fbff}
.admin-sidebar summary{cursor:pointer;font-weight:700}
.admin-sidebar a{display:block;padding:8px 0 0 4px}

:root{--admin-shell-gap:22px;--admin-shell-radius:20px}
.admin-body{background:#eef3f9}
.admin-topbar,.admin-footer{width:auto;max-width:none;box-sizing:border-box;border-radius:var(--admin-shell-radius);margin-left:var(--admin-shell-gap);margin-right:var(--admin-shell-gap)}
.admin-topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#13294b;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);margin-top:14px}
.admin-brand{font-weight:800;font-size:28px}
.admin-brand span{color:#8fb3ff}
.admin-topnav{display:flex;gap:12px;flex-wrap:wrap}
.admin-topnav .btn-lite{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.12)}
.admin-footer{margin-top:32px;margin-bottom:14px;padding:20px 22px;background:#13294b;color:#dfe7ff;display:flex;justify-content:space-between;align-items:center}
.admin-footer a{color:#dfe7ff}

.flash{padding:12px 14px;border-radius:12px;margin:12px 0}
.flash-success{background:#eaf7ef;border:1px solid #b7dfc2}
.flash-error{background:#fff1f0;border:1px solid #f0b8b1}
.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.permission-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d9e1ec;border-radius:12px;background:#fff}
.admin-account-card{display:flex;flex-direction:column;gap:16px}
.admin-account-card__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.btn-danger{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;background:#b42318;color:#fff;text-decoration:none;border:0}
.meta{color:#667085;font-size:.92rem}

.permission-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.permission-group-card{border:1px solid #d9e1ec;border-radius:16px;padding:14px;background:#f8fbff;display:flex;flex-direction:column;gap:12px}
.permission-group-card__head h3{margin:0 0 4px;font-size:1rem}
.permission-group-card__head p{margin:0;color:#667085;font-size:.92rem;line-height:1.4}
.permission-group-card .permission-grid{grid-template-columns:1fr;gap:8px}
.permission-group-card .permission-item{padding:9px 10px}

.btn-small{padding:8px 10px;font-size:.88rem;border-radius:9px}
.permission-group-card__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.permission-group-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}

/* permissions designer redesign */
.permissions-designer{background:#f7f7f7;border-color:#d7d7d7}
.permission-designer-card{border:1px solid #cfcfcf;border-radius:4px;background:#efefef;padding:16px;display:flex;flex-direction:column;gap:14px;box-shadow:none}
.permission-designer-card + .permission-designer-card{margin-top:14px}
.permission-designer-card__title{display:flex;align-items:center;gap:14px;color:#243448}
.permission-designer-card__title strong{font-size:1.35rem;line-height:1.25}
.permission-designer-card__title .meta{margin-top:4px;color:#5b6672}
.permission-designer-toolbar{display:flex;gap:6px;align-self:flex-start}
.permission-tool{min-width:34px;height:30px;padding:0 10px;border:1px solid #0c4a6e;background:#0e5078;color:#fff;border-radius:3px;font-size:16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.permission-tool:hover{filter:brightness(.96)}
.permission-tool--primary{padding:0 12px}
.permission-superadmin-note{padding:14px 16px;border:1px solid #b8d4ef;background:#f5fbff;border-radius:4px;color:#0f3554;font-weight:700}
.permission-accordion{display:flex;flex-direction:column;gap:8px}
.permission-section{border:1px solid #d5d5d5;border-radius:4px;background:#ececec;overflow:hidden}
.permission-section__header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#e7e7e7;border:0;color:#1f2f41;font-size:1.05rem;font-weight:700;text-align:left;cursor:pointer}
.permission-section__header small{font-size:.85rem;color:#52606d;font-weight:600}
.permission-section.is-open .permission-section__header{border-bottom:1px solid #d0d0d0}
.permission-section__header::after{content:'';width:1em;height:1em;background:#506070;-webkit-mask:url('/images/icons/plus.svg') center/contain no-repeat;mask:url('/images/icons/plus.svg') center/contain no-repeat}
.permission-section.is-open .permission-section__header::after{content:'';width:1em;height:1em;background:currentColor;-webkit-mask:url('/images/icons/minus.svg') center/contain no-repeat;mask:url('/images/icons/minus.svg') center/contain no-repeat}
.permission-section__body{padding:0 14px 14px;background:#efefef}
.permission-section__intro{margin:12px 4px 8px;color:#637181;font-size:.93rem}
.permission-section__actions{display:flex;gap:8px;justify-content:flex-end;margin:0 0 10px}
.permission-list{display:flex;flex-direction:column;gap:8px}
.permission-row{position:relative;display:flex;align-items:center;gap:8px;padding:13px 14px;border:1px solid #d0d0d0;border-radius:4px;background:#f7f7f7;color:#1f2f41;font-weight:700;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.permission-row:hover{border-color:#aab4be}
.permission-row.is-checked{background:#2f3948;border-color:#2f3948;color:#fff}
.permission-row input{position:absolute;opacity:0;pointer-events:none}
.permission-state{min-width:48px;padding:4px 0;border:1px solid #c6c6c6;border-radius:4px;background:#f1f1f1;color:#444;text-align:center;font-size:.9rem;font-weight:400}
.permission-row.is-checked .permission-state{background:#fff;color:#1f2f41;border-color:#d9d9d9}
.permission-label{font-size:1rem;line-height:1.35}

/* exact permissions design */
.permissions-exact{display:flex;flex-direction:column;gap:16px}
.permissions-exact__filters{padding:14px 16px}
.permissions-exact__filter-form{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,220px) auto;gap:12px;align-items:end}
.permissions-exact__filter-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#223548}
.permissions-exact__filter-form input,.permissions-exact__filter-form select{width:100%}
.permission-designer-card--exact{padding:12px 8px;background:#f2f2f2;border:1px solid #cfcfcf;border-radius:0}
.permission-designer-card__title--exact{padding:2px 8px 10px 8px;gap:10px}
.permission-designer-card__title--exact strong{font-size:1.05rem;font-weight:700}
.permission-designer-card__title--exact .meta{font-size:.88rem;color:#5b6672}
.permission-accordion--exact{gap:8px}
.permission-section--exact{border:1px solid #d2d2d2;border-radius:0;background:#eeeeee}
.permission-section__header--exact{padding:10px 16px;background:#e8e8e8;font-size:1rem;font-weight:700}
.permission-section__header--exact::after{display:none}
.permission-section__body--exact{padding:8px 8px 0;background:#eeeeee}
.permission-list--exact{gap:6px}
.permission-row--exact{align-items:flex-start;padding:10px 12px;background:#f9f9f9;border:1px solid #d4d4d4;border-radius:2px;gap:10px}
.permission-row--exact.is-checked{background:#f9f9f9;border-color:#d4d4d4;color:#1f2f41}
.permission-row--exact .permission-state{margin-top:0;min-width:46px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px;background:#f0f0f0;color:#444;border:1px solid #c9c9c9;font-size:.9rem}
.permission-row--exact.is-checked .permission-state{background:#3a7ca8;border-color:#3a7ca8;color:#fff}
.permission-content{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.permission-row--exact .permission-label{font-size:1rem;font-weight:700;line-height:1.25}
.permission-file{font-weight:600;color:#2f3c4b}
.permission-sublist{display:flex;flex-direction:column;gap:4px;padding-left:6px}
.permission-subitem{display:flex;align-items:center;gap:10px;font-weight:500;color:#223548}
.permission-substate{min-width:40px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px;background:#f0f0f0;color:#444;border:1px solid #c9c9c9;font-size:.88rem}
.permission-row--exact.is-checked .permission-substate{background:#3a7ca8;border-color:#3a7ca8;color:#fff}

/* permissions exact: align with admin palette */
.permission-designer-card--exact{
  background:#ffffff;
  border:1px solid #d9e1ec;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(10,25,55,.04);
  padding:16px;
}
.permission-designer-card__title--exact{
  padding:0 0 14px 0;
  border-bottom:1px solid #e3e8f0;
  margin-bottom:6px;
}
.permission-designer-card__title--exact strong{
  color:#13294b;
  font-size:1.15rem;
}
.permission-designer-card__title--exact .meta{
  color:#667085;
}

.permission-tool{
  min-width:36px;
  height:32px;
  border-radius:8px;
  border:1px solid #1e4f91;
  background:#13294b;
  color:#fff;
}
.permission-tool:hover{
  background:#1b3c6b;
  filter:none;
}

.permission-accordion--exact{
  gap:10px;
}
.permission-section--exact{
  border:1px solid #d9e1ec;
  border-radius:12px;
  background:#f8fbff;
  overflow:hidden;
}
.permission-section__header--exact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  background:#f8fbff;
  color:#13294b;
  font-size:1rem;
  font-weight:800;
  border:0;
}
.permission-section__header--exact:hover{
  background:#f1f6fd;
}
.permission-section__header--exact::after{
  display:none;
}
.permission-section__title{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.permission-section__icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid #bfd0e6;
  background:#ffffff;
  color:#13294b;
  font-size:20px;
  font-weight:700;
  line-height:1;
  flex:0 0 28px;
}
.permission-section__body--exact{
  padding:10px;
  background:#ffffff;
  border-top:1px solid #e3e8f0;
}
.permission-row--exact{
  background:#ffffff;
  border:1px solid #d9e1ec;
  border-radius:10px;
}
.permission-row--exact:hover{
  border-color:#bfd0e6;
  background:#f8fbff;
}
.permission-row--exact.is-checked{
  background:#f8fbff;
  border-color:#bfd0e6;
  color:#1f2f41;
}
.permission-row--exact .permission-state{
  border-radius:8px;
  border:1px solid #bfd0e6;
  background:#eef4fb;
  color:#1b3c6b;
  font-weight:700;
}
.permission-row--exact.is-checked .permission-state{
  background:#13294b;
  border-color:#13294b;
  color:#fff;
}
.permission-file{
  color:#667085;
}
.permission-substate{
  border-radius:8px;
  border:1px solid #d9e1ec;
  background:#f4f7fb;
  color:#475467;
  font-weight:700;
}
.permission-row--exact.is-checked .permission-substate{
  background:#1e4f91;
  border-color:#1e4f91;
  color:#fff;
}
.permission-subitem{
  color:#344054;
}

.permissions-exact .btn-primary{
  background:#13294b;
  border:1px solid #13294b;
  color:#fff;
  border-radius:12px;
}
.permissions-exact .btn-primary:hover{
  background:#1b3c6b;
}
.permissions-exact .btn-secondary{
  background:#fff;
  border:1px solid #bfd0e6;
  color:#13294b;
  border-radius:12px;
}
.permissions-exact .btn-secondary:hover{
  background:#f8fbff;
}

/* admin accounts list cleanup */
.admin-account-list{display:flex;flex-direction:column;gap:14px}
.admin-account-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px;
  border:1px solid #d9e1ec;
  border-radius:16px;
  background:#f8fbff;
}
.admin-account-row__main{
  min-width:0;
  flex:1;
}
.admin-account-row__name{
  font-size:1.05rem;
  font-weight:800;
  color:#13294b;
  margin-bottom:6px;
}
.admin-account-row__meta{
  color:#667085;
  font-size:.92rem;
  line-height:1.45;
}
.admin-account-row__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}

.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-width:min(420px,calc(100vw - 24px))}
.toast{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:16px;color:#fff;box-shadow:0 18px 38px rgba(15,23,42,.18);backdrop-filter:blur(8px);pointer-events:auto;animation:toastSlideIn .22s ease-out;transform-origin:top right}
.toast.is-leaving{animation:toastSlideOut .18s ease-in forwards}
.toast-success{background:linear-gradient(135deg,#16a34a,#22c55e)}
.toast-error{background:linear-gradient(135deg,#dc2626,#ef4444)}
.toast-message{flex:1;font-size:14px;line-height:1.45;font-weight:600}
.toast-close{border:0;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:0 0 0 4px;opacity:.88}
.toast-close:hover{opacity:1}
@keyframes toastSlideIn{from{opacity:0;transform:translate3d(24px,-6px,0) scale(.98)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes toastSlideOut{from{opacity:1;transform:translate3d(0,0,0) scale(1)}to{opacity:0;transform:translate3d(24px,-6px,0) scale(.98)}}

.maintenance-admin-shell{display:flex;flex-direction:column;gap:20px}
.maintenance-admin-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#1e4f91 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.maintenance-admin-hero>div:first-child{align-self:flex-start}
.maintenance-admin-hero h1{margin:6px 0 8px;font-size:32px}
.maintenance-admin-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.maintenance-admin-stats{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:12px;min-width:360px}
.maintenance-admin-form{padding:24px}
.maintenance-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.maintenance-panel{padding:22px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f5f9ff);display:flex;flex-direction:column;gap:18px}
.maintenance-toggle{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #cfe0f4;border-radius:18px;background:#fff}
.maintenance-toggle input{margin-top:4px;transform:scale(1.2)}
.maintenance-toggle strong{display:block;color:var(--navy);margin-bottom:6px}
.maintenance-toggle small{display:block;color:var(--muted);line-height:1.5}
.maintenance-preview-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.maintenance-status-pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef3fb;color:#1b3c6b;font-weight:700}
.maintenance-status-pill.is-live{background:#e8f7ee;color:#20663d}
.maintenance-note-box{padding:16px 18px;border:1px dashed #bfd0e6;border-radius:18px;background:#f8fbff;color:#475467}

.backup-admin-shell{display:flex;flex-direction:column;gap:20px}
.backup-admin-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 28px 18px 28px;border-radius:24px;background:linear-gradient(135deg,#0f2748 0%,#2b5ea2 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.backup-admin-hero h1{margin:6px 0 8px;font-size:32px}
.backup-admin-hero p{margin-top:6px;margin-bottom:0;max-width:760px;color:rgba(255,255,255,.82)}
.backup-admin-stats{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:12px;min-width:360px}
.backup-admin-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.25fr);gap:20px}
.backup-panel{padding:24px}
.backup-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.backup-info-card{padding:18px;border:1px solid #d9e1ec;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f5f9ff);display:flex;flex-direction:column;gap:8px}
.backup-info-card strong{color:#13294b}
.backup-info-card span,.backup-info-card code{color:#475467;word-break:break-word}
.backup-info-card--full{grid-column:1 / -1}
.backup-note-box{padding:16px 18px;border:1px dashed #bfd0e6;border-radius:18px;background:#f8fbff;color:#475467}
.backup-inline-panel{align-items:center}
.backup-table-wrap{overflow:auto}
.backup-table td{vertical-align:middle}
.backup-actions{display:flex;gap:10px;flex-wrap:wrap}
.backup-actions form{margin:0}
.backup-empty-state{padding:28px;border:1px dashed #bfd0e6;border-radius:20px;background:#f8fbff;color:#475467}
.backup-empty-state strong{display:block;color:#13294b;margin-bottom:8px}

/* database backup enhancements */
.backup-admin-hero{align-items:flex-start;padding:14px 28px 18px 28px}
.backup-admin-copy{display:flex;flex-direction:column;justify-content:flex-start;padding-top:0;margin-top:0;align-self:flex-start}
.backup-admin-copy .eyebrow{margin-top:0;padding-top:0}
.backup-admin-hero h1{margin:2px 0 4px}
.backup-admin-hero p{margin:0;line-height:1.35;color:rgba(255,255,255,.92)}
.backup-admin-stats .mini-stat,.backup-info-card,.backup-panel,.backup-empty-state,.backup-cron-hint{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
.backup-admin-stats .mini-stat:hover,.backup-info-card:hover,.backup-panel:hover,.backup-empty-state:hover,.backup-cron-hint:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,39,72,.10)}
.backup-btn-hover,.backup-restore-box summary{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.backup-btn-hover:hover,.backup-restore-box summary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,39,72,.12);filter:brightness(1.02)}
.backup-inline-panel--stack{display:grid;grid-template-columns:1fr auto auto;gap:14px}
.backup-check{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#31435f}
.backup-table td{vertical-align:top}
.backup-table tbody tr{transition:background-color .16s ease,transform .16s ease}
.backup-table tbody tr:hover{background:#f8fbff}
.backup-actions{align-items:flex-start}
.backup-restore-box{position:relative}
.backup-restore-box summary{list-style:none;cursor:pointer}
.backup-restore-box summary::-webkit-details-marker{display:none}
.backup-restore-form{margin-top:8px;min-width:240px;padding:12px;border:1px solid #d9e1ec;border-radius:14px;background:#fff;box-shadow:0 12px 26px rgba(15,39,72,.12)}
.backup-restore-form label{display:flex;flex-direction:column;gap:6px;margin-bottom:10px;color:#31435f;font-weight:600}
.backup-restore-form input{height:42px;border:1px solid #cfd8e5;border-radius:12px;padding:0 12px}
.backup-automation-panel{border:1px solid #d9e1ec;background:linear-gradient(180deg,#fff,#f8fbff)}
.backup-automation-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:end}
.backup-field{display:flex;flex-direction:column;gap:8px;color:#31435f;font-weight:600}
.backup-field input,.backup-field select{height:44px;border:1px solid #cfd8e5;border-radius:14px;padding:0 12px;background:#fff;color:#10284f}
.backup-toggle-row{justify-content:space-between;background:#f8fbff;border:1px solid #d9e1ec;border-radius:18px;padding:14px 16px;min-height:44px}
.backup-toggle-row input{width:18px;height:18px;padding:0}
.backup-automation-actions{display:flex;align-items:end}
.backup-cron-hint{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border:1px dashed #bfd0e6;border-radius:18px;background:#f8fbff;color:#475467}
.backup-cron-hint code{display:block;padding:10px 12px;border-radius:12px;background:#0f2748;color:#fff;overflow:auto}
.btn-warning{background:#f59e0b;color:#fff;border:none}
.btn-warning:hover{background:#d78c06}

/* top navigation dropdowns */
.admin-topnav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.topnav-dropdown{position:relative}
.topnav-dropdown summary{list-style:none;cursor:pointer}
.topnav-dropdown summary::-webkit-details-marker{display:none}
.topnav-dropdown[open] > summary{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24)}
.topnav-dropdown-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:220px;padding:10px;background:#fff;border:1px solid #d9e1ec;border-radius:16px;box-shadow:0 18px 40px rgba(15,39,72,.18);display:grid;gap:4px;z-index:40}
.topnav-dropdown-menu a{display:block;padding:10px 12px;border-radius:12px;color:#10284f;text-decoration:none;font-weight:600}
.topnav-dropdown-menu a:hover{background:#f4f8ff}

/* backup layout refinements */
.backup-admin-hero{padding-top:10px}
.backup-admin-copy{padding-top:0;margin-top:-2px}
.backup-admin-copy-text{margin-top:0;max-width:720px}
.backup-table th:last-child,.backup-table td:last-child{text-align:right}
.backup-actions-cell{width:1%;white-space:nowrap}
.backup-actions{display:flex;justify-content:flex-end;align-items:flex-start;gap:8px;flex-wrap:wrap}
.backup-actions form{margin:0}
.backup-restore-box[open]{z-index:5}
.backup-restore-box .btn-warning{display:inline-flex;align-items:center;justify-content:center}

.admin-language-switcher{margin-left:auto;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}
.admin-language-form{margin:0}
.admin-language-button{appearance:none;border:0;background:transparent;color:#fff;padding:10px 2px;font:inherit;cursor:pointer;text-decoration:none}
.admin-language-button.is-current{color:#1d2330}

.language-tabs{display:flex;flex-direction:column;gap:16px;margin:18px 0}
.language-tabs-nav{display:flex;flex-wrap:wrap;gap:10px;padding:6px;border:1px solid #d7dde7;border-radius:18px;background:#f3f5f8;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.language-tab-button{appearance:none;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:10px 16px;border:1px solid transparent;border-radius:14px;background:transparent;color:#4b5563;font-weight:700;line-height:1.2;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}
.language-tab-button:hover{background:rgba(255,255,255,.72);border-color:#d7dde7;color:#111827;transform:translateY(-1px)}
.language-tab-button:focus-visible{outline:none;border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.25)}
.language-tab-button.is-active{background:#fff;color:#111827;border-color:#d7dde7;box-shadow:0 1px 2px rgba(15,23,42,.08),0 8px 18px rgba(15,23,42,.06)}
.language-tab-status{display:inline-block;width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.language-tab-status.is-empty{background:#ef4444}
.language-tab-status.is-partial{background:#f59e0b}
.language-tab-status.is-complete{background:#22c55e}
.language-tab-button.is-active .language-tab-status.is-empty{box-shadow:0 0 0 3px rgba(254,242,242,.95)}
.language-tab-button.is-active .language-tab-status.is-partial{box-shadow:0 0 0 3px rgba(255,251,235,.95)}
.language-tab-button.is-active .language-tab-status.is-complete{box-shadow:0 0 0 3px rgba(240,253,244,.95)}
.language-tab-panel{display:none;padding:20px;border:1px solid #d9e2ec;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.language-tab-panel.is-active{display:block;animation:languageTabPanelIn .2s ease-out}
@keyframes languageTabPanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.form-grid-span-2{grid-column:span 2}

.language-active-toggle{display:flex;align-items:center;gap:10px;font-weight:600}
.language-active-toggle input[type=checkbox]{width:18px;height:18px}

.language-tabs-single{margin-top:18px}
.language-tabs-single .language-tab-panel{display:block;padding:0;border:none;background:transparent}

/* google analytics admin */
.analytics-admin-shell{display:flex;flex-direction:column;gap:20px}
.analytics-admin-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.analytics-admin-hero h1{margin:6px 0 8px;font-size:32px}
.analytics-admin-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.spam-protection-admin-hero{align-items:center}
.spam-protection-admin-hero>div:first-child{display:flex;flex-direction:column;justify-content:center}
.analytics-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px;min-width:360px}
.analytics-admin-form{gap:18px}
.analytics-panel{padding:22px;border:1px solid #d9e1ec;border-radius:20px;background:#fff;display:flex;flex-direction:column;gap:16px}
.ui-switch-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:18px;border:1px solid #cfe0f4;border-radius:18px;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)}
.ui-switch-card input{position:absolute;opacity:0;pointer-events:none}
.ui-switch{position:relative;display:inline-flex;width:62px;height:36px;flex:0 0 62px}
.ui-switch__track{position:absolute;inset:0;border-radius:999px;background:#d0dbe8;transition:background-color .18s ease}
.ui-switch__thumb{position:absolute;top:4px;left:4px;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 6px 16px rgba(16,40,79,.18);transition:transform .18s ease}
.ui-switch-card input:checked + .ui-switch .ui-switch__track{background:#13294b}
.ui-switch-card input:checked + .ui-switch .ui-switch__thumb{transform:translateX(26px)}
.ui-switch-copy{display:flex;flex-direction:column;gap:6px}
.ui-switch-copy strong{color:#13294b}
.ui-switch-copy small{color:#667085;line-height:1.5}
.ui-switch-state{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#eef4fb;border:1px solid #cfe0f4;color:#1b3c6b;font-weight:700;white-space:nowrap}
.ui-switch-state.is-active{background:#13294b;border-color:#13294b;color:#fff}
.analytics-code-input{min-height:320px;padding:16px;border-radius:16px;border:1px solid #d9e1ec;background:#fbfdff;font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;resize:vertical}
.analytics-code-preview{margin:0;padding:18px;border-radius:16px;background:#0f172a;color:#e2e8f0;overflow:auto;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}
.analytics-empty-state{padding:18px;border:1px dashed #c8d4e3;border-radius:16px;background:#f8fbff;color:#475467}

/* premium admin */
.premium-admin-shell{display:flex;flex-direction:column;gap:20px}
.premium-admin-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.premium-admin-hero h1{margin:6px 0 8px;font-size:32px;color:#fff}
.premium-admin-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.premium-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;min-width:440px}
.premium-admin-stats span{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
.premium-admin-stats strong{font-size:26px;color:#fff;line-height:1}
.premium-admin-stats small{color:rgba(255,255,255,.74);font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.premium-admin-card{padding:24px;border-radius:24px;border:1px solid #dbe3ef;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 16px 36px rgba(17,42,92,.05);display:flex;flex-direction:column;gap:8px}
.premium-admin-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.premium-admin-service{position:relative;overflow:hidden;padding:20px;border-radius:22px;border:1px solid #d8e2ef;background:#fff;display:flex;flex-direction:column;gap:16px;box-shadow:0 14px 28px rgba(17,42,92,.05)}
.premium-admin-service::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 24%,#fff))}
.premium-admin-service__head{display:flex;gap:14px;align-items:flex-start}
.premium-admin-service__icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:18px;background:color-mix(in srgb,var(--promo-accent,#13294b) 14%,#fff);color:var(--promo-accent,#13294b);font-size:24px;font-weight:800}
.premium-admin-service__head h3{margin:4px 0 8px;font-size:22px}
.premium-admin-service__head p{margin:0;color:#66758f;line-height:1.6}
.section-subline{margin:8px 0 0;color:#66758f;max-width:760px;line-height:1.6}
.premium-admin-service__badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.premium-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:color-mix(in srgb,var(--promo-accent,#13294b) 12%,#fff);border:1px solid color-mix(in srgb,var(--promo-accent,#13294b) 22%,#d8e2ef);color:var(--promo-accent,#13294b);font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.premium-badge--soft{background:#f6f9fe;border-color:#dde7f4;color:#355070}
.premium-admin-service__preview{grid-column:1 / -1;display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);border:1px solid #dde7f4}
.premium-admin-service__preview small{color:#66758f;line-height:1.5}
.premium-preview-chip{display:inline-flex;align-self:flex-start;align-items:center;padding:10px 14px;border-radius:999px;background:color-mix(in srgb,var(--promo-accent,#13294b) 12%,#fff);border:1px solid color-mix(in srgb,var(--promo-accent,#13294b) 24%,#d8e2ef);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);color:var(--promo-accent,#13294b);font-weight:800}
.premium-admin-service__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.premium-admin-service__fields label{display:flex;flex-direction:column;gap:8px}
.premium-admin-service__fields span{font-size:13px;font-weight:800;color:#24354d;letter-spacing:.04em;text-transform:uppercase}
.premium-admin-service__fields input,.premium-admin-service__fields select{width:100%;min-height:52px;padding:0 14px;border-radius:16px;border:1px solid #d8e2ef;background:#fbfdff;color:#1f2937;outline:none}
.premium-admin-service__fields input:focus,.premium-admin-service__fields select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.switch-row{grid-column:1 / -1;display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:18px;background:#f6f9fe;border:1px solid #dde7f4}
.switch-row input{width:18px;height:18px;min-height:0;padding:0}
.premium-admin-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.88fr);gap:20px}
.premium-admin-split--invoices{grid-template-columns:1fr}
.premium-manual-payments{display:flex;flex-direction:column;gap:14px}
.premium-manual-payments__item{padding:18px;border-radius:18px;border:1px solid #dbe3ef;background:#fff}
.premium-manual-payments__item.is-enabled{border-color:#cfe0f4;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}
.premium-manual-payments__item h3{margin:0 0 8px}
.premium-manual-payments__item p{margin:0 0 10px;color:#66758f}
.premium-manual-payments__item ul{margin:0;padding-left:18px;color:#24354d;display:flex;flex-direction:column;gap:6px}
.premium-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:14px;align-items:end}
.premium-filter-grid--compact{grid-template-columns:minmax(0,1fr) minmax(180px,.45fr) auto}
.premium-filter-grid label{display:flex;flex-direction:column;gap:8px}
.premium-filter-grid span{font-size:13px;font-weight:800;color:#24354d;letter-spacing:.04em;text-transform:uppercase}
.premium-filter-grid input,.premium-filter-grid select{width:100%;min-height:52px;padding:0 14px;border-radius:16px;border:1px solid #d8e2ef;background:#fbfdff;color:#1f2937;outline:none}
.premium-filter-grid input:focus,.premium-filter-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.premium-filter-grid__actions{display:flex;gap:10px;flex-wrap:wrap;align-self:end}
.order-card--admin{padding:24px;border-radius:22px;border:1px solid #dbe3ef;background:#fff;box-shadow:0 14px 30px rgba(17,42,92,.05)}
.order-card__grid--admin{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr)}
.premium-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.premium-admin-actions--stacked{flex-direction:column;align-items:stretch;margin-top:0}
.premium-admin-actions form{margin:0}
.premium-empty-state--admin{padding:22px;border-radius:20px;border:1px dashed #cbd7e6;background:#f8fbff}
.premium-empty-state--admin h2{margin:0 0 8px}
.premium-empty-state--admin p{margin:0;color:#66758f}
.invoice-admin-list{display:flex;flex-direction:column;gap:14px;margin-top:0}
.invoice-admin-card{position:relative;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:22px;border:1px solid #dbe3ef;background:#fff;box-shadow:0 14px 30px rgba(17,42,92,.05);overflow:hidden}
.invoice-admin-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 24%,#fff))}
.invoice-admin-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.invoice-admin-card__head h2{margin:6px 0 4px;font-size:22px}
.invoice-admin-card__head p{margin:0;color:#66758f}
.invoice-admin-card__body{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}

/* newsletter manager */
.newsletter-admin-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.newsletter-admin-hero h1{margin:6px 0 8px;font-size:32px;color:#fff}
.newsletter-admin-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.newsletter-admin-hero--compact{padding-top:24px;padding-bottom:24px}
.newsletter-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:12px;min-width:420px}
.newsletter-admin-stats .mini-stat{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(4px)}
.newsletter-admin-stats .mini-stat span{font-size:26px;font-weight:800;line-height:1;color:#fff}
.newsletter-admin-stats .mini-stat small{color:rgba(255,255,255,.76);font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.newsletter-compose-card{padding:24px;border-radius:24px;border:1px solid #dbe3ef;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 16px 36px rgba(17,42,92,.05)}
.newsletter-compose-card .section-head{margin-bottom:0;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.newsletter-form-header-actions,.newsletter-form-actions,.newsletter-table-actions{display:flex;gap:10px;flex-wrap:wrap}
.newsletter-language-grid{align-items:end}
.newsletter-switch-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;border-radius:20px;border:1px solid #d7e3f3;background:linear-gradient(180deg,#fbfdff 0%,#f3f8ff 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8);grid-column:span 2}
.newsletter-switch-card__copy{display:flex;flex-direction:column;gap:5px;min-width:0}.newsletter-switch-card__copy strong{color:#172033;font-size:15px;line-height:1.35}.newsletter-switch-card__copy small{color:#66758f;line-height:1.45}
.newsletter-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:78px}.newsletter-switch input{position:absolute;opacity:0;pointer-events:none}.newsletter-switch__track{display:block;width:68px;height:38px;border-radius:999px;background:linear-gradient(180deg,#dfe6ef 0%,#cfd8e3 100%);border:1px solid #c5cfdb;box-shadow:inset 0 2px 4px rgba(15,23,42,.08);transition:background-color .18s ease,box-shadow .18s ease,border-color .18s ease;position:relative}.newsletter-switch__track::before{content:attr(data-off-label);position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#6b7280;transition:opacity .18s ease}.newsletter-switch__track::after{content:"";position:absolute;top:3px;left:3px;width:30px;height:30px;border-radius:50%;background:linear-gradient(180deg,#fff 0%,#f6f8fb 100%);box-shadow:0 6px 14px rgba(15,23,42,.18);transition:transform .18s ease}.newsletter-switch input:checked + .newsletter-switch__track{background:linear-gradient(180deg,#27b05f 0%,#168647 100%);border-color:#15753f;box-shadow:0 0 0 6px rgba(31,157,76,.12), inset 0 1px 2px rgba(255,255,255,.18)}.newsletter-switch input:checked + .newsletter-switch__track::before{content:attr(data-on-label);left:auto;right:13px;color:#fff}.newsletter-switch input:checked + .newsletter-switch__track::after{transform:translateX(30px)}.newsletter-switch input:focus-visible + .newsletter-switch__track{outline:0;box-shadow:0 0 0 4px rgba(37,99,235,.18)}
.newsletter-admin-hint{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border:1px dashed #bfd0e6;border-radius:18px;background:#f8fbff;color:#475467}
.newsletter-filter-form{display:grid;grid-template-columns:minmax(180px,220px) minmax(220px,1fr) auto;gap:12px;align-items:end}
.newsletter-filter-form .actions-row{margin-top:0}
.newsletter-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;border:1px solid #d9e1ec;background:#f4f7fb;color:#475467;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.newsletter-status-pill.is-confirmed{background:#ecfdf3;border-color:#b7dfc2;color:#117a37}
.newsletter-status-pill.is-pending{background:#fff7e6;border-color:#f2cf85;color:#9a6700}
.newsletter-row-highlight{background:#f5f9ff}
.newsletter-actions-top{justify-content:flex-end}

/* Email template editor */

/* Email template editor fixes */
.template-textarea-input--plain{
  width:100%;
  min-height:220px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:#101828;
  line-height:1.6;
  box-sizing:border-box;
  resize:none;
  overflow:hidden;
  margin-bottom:18px;
}
.template-placeholder-box{
  margin-top:-4px;
  margin-bottom:18px;
}
.template-placeholder-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:18px;
}
.template-placeholder-chip{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#fff0a8;
  color:#8a5a00;
  font-size:.92rem;
  line-height:1.2;
}
.template-placeholder-empty{
  color:#667085;
  font-size:.92rem;
}
.email-preview-card{
  margin-top:22px;
}

/* Email template spacing fix */
.template-field-group{
  display:block;
  margin-bottom:14px;
}

.template-field-label{
  display:block;
  margin-bottom:10px;
  font-weight:600;
}

.template-field-group > input,
.template-field-group > textarea{
  display:block;
  width:100%;
}

.template-subject-input{
  min-height:46px;
}

.admin-brand{display:flex;flex-direction:column;gap:2px;min-width:0}
.admin-brand--center{align-items:center;text-align:center}
.admin-brand--right{align-items:center;text-align:right}
.admin-brand-title{font-weight:800;font-size:28px;line-height:1.05}
.admin-brand-subtitle{font-size:12px;opacity:.82}
.admin-brand-image{display:block;max-width:100%;object-fit:contain}

.logo-settings-hero{align-items:flex-start}
.logo-settings-hero__text{display:flex;flex-direction:column;gap:8px;width:100%}
.logo-settings-hero__text h1{max-width:980px}
.logo-settings-hero__cards{display:flex;gap:16px;flex-wrap:nowrap;width:fit-content;max-width:100%;margin:0 auto;justify-content:center;align-items:stretch}
.logo-summary-card{flex:0 0 260px;min-width:260px;display:flex;flex-direction:column;gap:8px;padding:18px 20px;border-radius:18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14)}
.logo-summary-card strong{font-size:18px;color:#fff}
.logo-summary-card span{color:rgba(255,255,255,.84)}
.logo-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.logo-config-card{display:flex;flex-direction:column;gap:18px}
.logo-preview{display:flex;flex-direction:column;gap:6px;min-height:132px;justify-content:center;padding:22px;border-radius:20px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);border:1px solid rgba(255,255,255,.08)}
.logo-preview--light{background:linear-gradient(180deg,#fbfdff,#f2f7ff);border-color:#d9e4f2}
.logo-preview--left{align-items:flex-start;text-align:left}
.logo-preview--center{align-items:center;text-align:center}
.logo-preview--right{align-items:center;text-align:right}
.logo-preview img{display:block;max-width:100%;object-fit:contain}
.logo-preview__title{font-size:28px;font-weight:800;line-height:1.1}
.logo-preview__subtitle{font-size:13px;opacity:.84}
.logo-favicon-row{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.logo-favicon-preview{width:140px;min-width:140px;height:92px;border-radius:22px;border:1px dashed #c7d4e6;background:#f8fbff;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#64748b;font-weight:700;text-align:center;line-height:1.15;padding:0 10px;box-sizing:border-box}
.logo-favicon-preview img{width:48px;height:48px;object-fit:contain}
.logo-favicon-fields{display:flex;flex-direction:column;gap:14px;min-width:260px;flex:1}
.logo-config-card .compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;align-items:start}
.logo-config-card .compact-grid label{display:flex;flex-direction:column;gap:8px}
.logo-config-card .compact-grid input,.logo-config-card .compact-grid select{width:100%;min-height:54px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;box-sizing:border-box}
.logo-config-card .compact-grid input:focus,.logo-config-card .compact-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.logo-config-card .compact-grid input[type=color]{padding:6px;width:100%;min-width:0;height:54px;border-radius:16px;cursor:pointer}
.logo-config-card .compact-grid input[type=file]{padding:12px 14px;min-height:0;background:#fff}

.logo-settings-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

.spam-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.spam-provider-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.05));
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.spam-provider-card:hover,
.spam-provider-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.spam-provider-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.spam-provider-card__title {
  font-weight: 700;
  font-size: 1rem;
}

.spam-form-grid {
  display: grid;
  gap: 14px;
}

.spam-protection-widget {
  margin: 14px 0 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.9);
}

.spam-protection-widget__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.spam-protection-widget__head strong {
  font-size: 0.95rem;
}

.spam-protection-widget__head span,
.spam-protection-widget__hint {
  color: #64748b;
  font-size: 0.92rem;
}

.spam-protection-widget__box {
  overflow: visible;
  display: inline-block;
  max-width: 100%;
}

.spam-protection-widget__box .g-recaptcha,
.spam-protection-widget__box .cf-turnstile {
  max-width: 100%;
}
.admin-sidebar details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.admin-sidebar details summary::-webkit-details-marker{display:none}
.admin-sidebar a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px;border-radius:10px}
.admin-sidebar a:hover{background:#eef4ff}
.custom-field-card,.custom-field-editor{padding:24px}
.custom-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.custom-field-grid label{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#20324d}
.custom-field-grid input,.custom-field-grid select,.custom-field-grid textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid #d7e0ec;border-radius:16px;background:#fbfdff}
.custom-field-switches{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0 24px}
.custom-field-switches label{display:flex;align-items:center;gap:10px;font-weight:700}
.custom-field-translations fieldset{border:1px solid #d7e0ec;border-radius:20px;padding:18px;margin:0 0 16px}
.custom-field-options{margin-top:20px;padding-top:20px;border-top:1px solid #e5ebf3}
.custom-field-option-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}

/* custom fields redesign */
.admin-content--flush{display:flex;flex-direction:column;gap:20px}
.admin-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#1c4d8c 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.admin-hero h1{margin:6px 0 10px;font-size:34px;color:#fff}
.admin-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82);line-height:1.65}
.admin-eyebrow{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.admin-hero-actions{display:flex;align-items:center;gap:12px}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.admin-stat-card{padding:18px 20px;border-radius:22px;border:1px solid #dbe3ef;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 14px 30px rgba(17,42,92,.05);display:flex;flex-direction:column;gap:6px}
.admin-stat-card span{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#66758f}
.admin-stat-card strong{font-size:30px;line-height:1;color:#13294b}
.admin-stat-card small{color:#66758f;line-height:1.5}
.admin-inline-alert{padding:16px 18px;border-radius:18px;border:1px solid #d9e2ec;background:#fff}
.admin-inline-alert--error{background:#fff5f5;border-color:#fecaca;color:#b91c1c}
.admin-inline-alert--success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.custom-field-card--redesign{padding:24px;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.admin-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.admin-section-head h2{margin:0 0 6px;font-size:1.25rem;color:#13294b}
.admin-section-head p{margin:0;color:#66758f;line-height:1.55}
.admin-section-meta{display:flex;gap:10px;flex-wrap:wrap}
.admin-meta-pill{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;background:#13294b;color:#fff;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.admin-meta-pill--soft{background:#eef4fb;color:#1b3c6b;border:1px solid #d6e2f2}
.admin-table-wrap{overflow:auto;scrollbar-gutter:stable;border:1px solid #e3ebf5;border-radius:20px}
.admin-table--fields{margin:0;border-collapse:separate;border-spacing:0;width:100%}
.admin-table--fields thead th:last-child,.admin-table--fields tbody td:last-child{width:176px;min-width:176px}
.admin-table--fields thead th{position:sticky;top:0;background:#f6f9fc;color:#607089;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid #dce6f2;padding:16px 16px}
.admin-table--fields tbody td{padding:18px 16px;border-bottom:1px solid #edf2f7;vertical-align:middle;background:#fff}
.admin-table--fields tbody tr:hover td{background:#f9fbff}
.admin-table--fields thead th:last-child,.admin-table--fields tbody td:last-child{text-align:right}
.action-col{white-space:nowrap}
.action-col .action-menu{display:flex;justify-content:flex-end}
.admin-title-cell{display:flex;flex-direction:column;gap:4px;min-width:180px}
.admin-title-cell strong{font-size:1rem;color:#13294b}
.admin-title-cell--compact strong{font-size:.96rem}
.admin-id-chip{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:12px;background:#eef4fb;color:#17355e;font-weight:800;min-width:58px}
.admin-tag{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;border:1px solid transparent;font-size:12px;font-weight:800;letter-spacing:.03em}
.admin-tag--blue{background:#eaf2ff;color:#1d4ed8;border-color:#cfe0ff}
.admin-tag--violet{background:#f2eaff;color:#7c3aed;border-color:#e4d5ff}
.admin-tag--neutral{background:#f4f7fb;color:#46566d;border-color:#d9e2ec}
.admin-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border:1px solid transparent;white-space:nowrap}
.admin-status-pill.is-success{background:#ecfdf3;color:#166534;border-color:#bbf7d0}
.admin-status-pill.is-danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}
.admin-status-pill.is-muted{background:#f8fafc;color:#64748b;border-color:#e2e8f0}
.action-trigger{min-height:42px;padding:0 14px;border-radius:14px;border:1px solid #d7e3f0;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.05);font-weight:700;color:#20324d}
.action-trigger:hover{background:#f8fbff;border-color:#bfd3ea}
.action-menu-panel{border-radius:16px;border:1px solid #d9e2ec;box-shadow:0 18px 36px rgba(15,23,42,.12)}
.action-menu-panel a{padding:12px 14px}

.settings-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.settings-toggle-card{display:block;padding:18px 20px;border:1px solid #d9e1ec;border-radius:18px;background:#f8fbff}
.settings-toggle-card__head{display:flex;align-items:flex-start;gap:14px}
.settings-toggle-card__head input{margin-top:4px}
.settings-toggle-card strong{display:block;color:#16233d}
.settings-toggle-card small{display:block;margin-top:6px;color:#66758f;line-height:1.55}

/* fix: database backup hero alignment */
.backup-admin-hero{
  align-items:center;
}
.backup-admin-copy{
  align-self:stretch;
  justify-content:center;
  margin-top:0;
  padding-top:0;
}
.backup-admin-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(150px,1fr));
  gap:12px;
  min-width:min(720px,52vw);
}
.backup-admin-stats .mini-stat{
  min-width:0;
}

/* Admin Center visual redesign based on the supplied reference */
:root{
  --admin-bg:#f4f7fb;
  --admin-card:#ffffff;
  --admin-card-soft:#f8fbff;
  --admin-line:#e3eaf4;
  --admin-text:#172948;
  --admin-muted:#7787a0;
  --admin-navy:#0f2748;
  --admin-navy-2:#132d52;
  --admin-blue:#3b82f6;
  --admin-green:#2ecc71;
  --admin-purple:#8b5cf6;
  --admin-orange:#f59e0b;
  --admin-shadow:0 20px 50px rgba(25,45,80,.08);
  --admin-shadow-soft:0 12px 30px rgba(25,45,80,.06);
}
html.admin-theme-dark{
  --admin-bg:#0d1626;
  --admin-card:#14233a;
  --admin-card-soft:#101d31;
  --admin-line:#253955;
  --admin-text:#eef5ff;
  --admin-muted:#9fb0c8;
  --admin-navy:#081426;
  --admin-navy-2:#0d1d33;
  --admin-shadow:0 20px 50px rgba(0,0,0,.28);
  --admin-shadow-soft:0 12px 30px rgba(0,0,0,.22);
}
.admin-body{margin:0;background:radial-gradient(circle at 20% 0,rgba(59,130,246,.08),transparent 28rem),var(--admin-bg);color:var(--admin-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}
.admin-topbar{height:auto;min-height:68px;margin:10px 14px 0;padding:12px 14px;box-sizing:border-box;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(135deg,var(--admin-navy) 0%,var(--admin-navy-2) 100%);box-shadow:0 18px 44px rgba(7,25,53,.18);display:grid;grid-template-columns:auto minmax(190px,300px) minmax(0,1fr) auto;gap:14px;align-items:center;color:#fff;max-width:none;width:auto}
.admin-brand-card{display:flex;align-items:center;gap:12px;min-width:240px;color:#fff;text-decoration:none}
.admin-brand-mark{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#2563eb,#1d4ed8);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 10px 24px rgba(37,99,235,.3)}
.admin-brand-icon{width:25px;height:25px;color:#cfe2ff}
.admin-brand-copy{display:flex;flex-direction:column;gap:1px;line-height:1.05;min-width:0}
.admin-brand-copy strong{font-size:20px;font-weight:850;letter-spacing:-.02em;color:#fff;white-space:nowrap}
.admin-brand-copy small{font-size:11px;font-weight:700;color:#9fb5d6;white-space:nowrap}
.admin-brand-image{object-fit:contain;max-width:220px;max-height:54px}
.admin-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 8px 0 12px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);min-width:0}
.admin-search-icon{width:18px;height:18px;color:#8ea8cc;flex:0 0 auto}
.admin-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#fff;font-size:14px;padding:0}
.admin-search input::placeholder{color:#93a9c8}
.admin-search button{width:32px;height:32px;border:0;border-left:1px solid rgba(255,255,255,.08);background:transparent;color:#6f86a8;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.admin-search-submit-icon{width:17px;height:17px;transform:rotate(0deg)}
.admin-topnav{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex-wrap:nowrap;min-width:0;overflow:visible}
.admin-nav-pill,.admin-icon-button,.admin-language-trigger,.admin-profile-trigger{appearance:none;border:0;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:40px;border-radius:10px;color:#dbe8ff;background:transparent;font-size:13px;font-weight:750;padding:0 11px;white-space:nowrap;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.admin-nav-pill svg{width:16px;height:16px;color:#c7d6ee}
.admin-nav-pill:hover,.admin-nav-pill.is-active,.admin-nav-dropdown[open]>.admin-nav-pill,.admin-icon-button:hover,.admin-language-trigger:hover,.admin-profile-trigger:hover{background:rgba(59,130,246,.30);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.admin-nav-dropdown{position:relative;margin:0;padding:0;border:0;background:transparent}
.admin-nav-dropdown summary{list-style:none}
.admin-nav-dropdown summary::-webkit-details-marker{display:none}
.admin-dropdown-menu{position:absolute;top:calc(100% + 10px);left:0;min-width:230px;padding:8px;border:1px solid var(--admin-line);border-radius:16px;background:var(--admin-card);box-shadow:0 18px 44px rgba(16,32,64,.18);z-index:200;display:grid;gap:4px;color:var(--admin-text)}
.admin-dropdown-menu--right{left:auto;right:0}
.admin-dropdown-menu a,.admin-dropdown-button{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:11px 12px;border:0;border-radius:12px;background:transparent;color:var(--admin-text);text-decoration:none;font:inherit;font-size:13px;font-weight:750;text-align:left;cursor:pointer}
.admin-dropdown-menu a:hover,.admin-dropdown-button:hover,.admin-dropdown-button.is-current{background:var(--admin-card-soft);color:var(--admin-blue)}
.admin-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.admin-icon-button{width:38px;min-height:38px;height:38px;padding:0;justify-content:center;background:transparent}
.admin-icon-button svg,.admin-icon-button img{width:18px;height:18px}
.admin-theme-icon--sun{display:none}
html.admin-theme-dark .admin-theme-icon--moon{display:none}
html.admin-theme-dark .admin-theme-icon--sun{display:block}
.admin-language-trigger{padding:0 9px;gap:7px}
.admin-language-trigger svg{width:17px;height:17px}
.admin-language-trigger span{font-size:13px;font-weight:800;letter-spacing:.02em}
.admin-language-form{margin:0}
.admin-profile-trigger{gap:8px;padding:0 6px 0 2px;min-height:44px}
.admin-avatar{width:34px;height:34px;border-radius:50%;background:#f7fbff;color:#1c3558;display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:850;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.admin-profile-text{display:flex;flex-direction:column;line-height:1.05;text-align:left;max-width:95px}
.admin-profile-text strong{font-size:13px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-profile-text small{font-size:10px;color:#9fb5d6;margin-top:3px}
.admin-profile-chevron{width:15px;height:15px;color:#8fa6c7}
.admin-layout.admin-shell-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px;padding:12px 14px 0;max-width:none;margin:0;width:100%;box-sizing:border-box;align-items:start}
.admin-shell-layout>.admin-sidebar{position:sticky;top:12px;min-height:calc(100vh - 100px);padding:20px 12px;border:1px solid var(--admin-line);border-radius:12px;background:rgba(255,255,255,.82);box-shadow:var(--admin-shadow-soft);backdrop-filter:blur(18px)}
html.admin-theme-dark .admin-shell-layout>.admin-sidebar{background:rgba(20,35,58,.9)}
.admin-sidebar-group{margin:0 0 22px}
.admin-sidebar-group:last-child{margin-bottom:0}
.admin-sidebar-group h2{margin:0 0 8px;padding:0 10px;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.07em;color:#93a3ba;font-weight:850}
.admin-sidebar-nav{display:grid;gap:4px}
.admin-sidebar-link{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:10px 12px!important;min-height:38px;border-radius:12px;color:#496078!important;text-decoration:none;font-size:14px;font-weight:750;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.admin-sidebar-link-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;color:#61728d;flex:0 0 20px}
.admin-sidebar-link-icon svg{width:17px;height:17px}
.admin-sidebar-link:hover{background:#f0f6ff!important;color:#2563eb!important}
.admin-sidebar-link.is-active{background:#eef5ff!important;color:#2f7df6!important;box-shadow:inset 3px 0 0 #3b82f6}
.admin-sidebar-link.is-active .admin-sidebar-link-icon{color:#3b82f6}
html.admin-theme-dark .admin-sidebar-link{color:#b7c5d8!important}
html.admin-theme-dark .admin-sidebar-link:hover,html.admin-theme-dark .admin-sidebar-link.is-active{background:#1b3152!important;color:#8db8ff!important}
.admin-shell-layout>.admin-content{padding:26px 28px 24px;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;display:flex;flex-direction:column;gap:18px;min-width:0}
.admin-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:2px}
.admin-dashboard-head h1{margin:0;color:var(--admin-text);font-size:26px;line-height:1.2;letter-spacing:-.03em;font-weight:850}
.admin-dashboard-head p{margin:6px 0 0;color:#63738e;font-size:14px;font-weight:600}
html.admin-theme-dark .admin-dashboard-head p{color:var(--admin-muted)}
.admin-date-filter{position:relative;flex:0 0 auto}
.admin-date-filter summary{list-style:none;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--admin-line);border-radius:9px;background:var(--admin-card);box-shadow:var(--admin-shadow-soft);color:#53657f;font-size:13px;font-weight:750;cursor:pointer}
.admin-date-filter summary::-webkit-details-marker{display:none}
.admin-date-filter summary svg{width:17px;height:17px;color:#6b7d98}.admin-date-chevron{transform:rotate(90deg);width:15px!important;height:15px!important}
.admin-date-filter-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:40;width:320px;padding:14px;border:1px solid var(--admin-line);border-radius:16px;background:var(--admin-card);box-shadow:var(--admin-shadow);display:grid;gap:12px}
.admin-date-filter-panel label,.admin-search-page-form label,.admin-user-create-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:var(--admin-text)}
.admin-date-filter-panel input,.admin-search-page-form input,.admin-user-create-form input,.admin-user-create-form select,.dashboard-select-form select{min-height:42px;border:1px solid var(--admin-line);border-radius:12px;background:var(--admin-card-soft);color:var(--admin-text);padding:0 12px;font:inherit;font-weight:650;box-sizing:border-box}
.dashboard-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.dashboard-stat-card{position:relative;overflow:hidden;min-height:116px;padding:20px 20px;border:1px solid var(--admin-line);border-radius:12px;background:var(--admin-card);box-shadow:var(--admin-shadow-soft);display:grid;grid-template-columns:58px minmax(0,1fr) 92px;align-items:center;gap:16px}
.dashboard-stat-icon{width:58px;height:58px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.dashboard-stat-icon svg{width:28px;height:28px}.dashboard-stat-card.is-blue .dashboard-stat-icon{background:#eaf3ff;color:#2f7df6}.dashboard-stat-card.is-green .dashboard-stat-icon{background:#e8fbf0;color:#22c55e}.dashboard-stat-card.is-purple .dashboard-stat-icon{background:#f2eaff;color:#8b5cf6}.dashboard-stat-card.is-orange .dashboard-stat-icon{background:#fff4e3;color:#f59e0b}
.dashboard-stat-body{display:flex;flex-direction:column;min-width:0}.dashboard-stat-body span{font-size:13px;font-weight:750;color:#61728d}.dashboard-stat-body strong{font-size:30px;line-height:1.1;color:var(--admin-text);font-weight:850;margin:6px 0 12px;letter-spacing:-.03em}.dashboard-change{font-style:normal;font-size:12px;font-weight:850}.dashboard-change em{font-style:normal;font-weight:700;color:#9aa7ba;margin-left:6px}.dashboard-change.is-positive{color:#22c55e}.dashboard-change.is-negative{color:#ef4444}.dashboard-change.is-neutral{color:#f59e0b}.dashboard-sparkline{width:92px;height:36px;align-self:end}.dashboard-sparkline polyline{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.dashboard-stat-card.is-blue .dashboard-sparkline{color:#3b82f6}.dashboard-stat-card.is-green .dashboard-sparkline{color:#22c55e}.dashboard-stat-card.is-purple .dashboard-sparkline{color:#8b5cf6}.dashboard-stat-card.is-orange .dashboard-sparkline{color:#f59e0b}
.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.95fr);gap:18px}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(330px,1.05fr) minmax(330px,.95fr) minmax(320px,.95fr);gap:18px}.dashboard-card{border:1px solid var(--admin-line);border-radius:12px;background:var(--admin-card);box-shadow:var(--admin-shadow-soft);padding:20px;min-width:0}.dashboard-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.dashboard-card-head h2{margin:0;color:var(--admin-text);font-size:16px;font-weight:850;display:flex;align-items:center;gap:9px}.dashboard-card-head--compact{margin-bottom:16px}.dashboard-card-head a{color:#2f7df6;text-decoration:none;font-size:13px;font-weight:800}.dashboard-select-form select{min-height:40px;border-radius:9px;background:var(--admin-card);padding:0 34px 0 13px;color:#53657f;box-shadow:0 8px 20px rgba(28,50,90,.04)}
.dashboard-legend{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:0 0 10px}.legend-item{display:inline-flex;align-items:center;gap:8px;color:#687a94;font-size:12px;font-weight:750}.legend-item i{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-item.is-blue i{background:#3b82f6}.legend-item.is-green i{background:#22c55e}.legend-item.is-purple i{background:#8b5cf6}.legend-item.is-orange i{background:#f59e0b}.dashboard-chart-wrap{width:100%;overflow:hidden}.dashboard-chart{width:100%;height:auto;display:block;color:#8b5cf6}.chart-grid-line{stroke:#e7edf5;stroke-width:1}.chart-axis-label,.chart-x-label{fill:#8a9ab2;font-size:11px;font-weight:700}.chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-line.is-blue{stroke:#3b82f6}.chart-line.is-green{stroke:#22c55e}.chart-line.is-purple{stroke:#8b5cf6}.chart-line.is-orange{stroke:#f59e0b}.chart-area.is-purple{fill:url(#dashboardMessagesFill);color:#8b5cf6;stroke:0}
.activity-list{display:grid;gap:12px}.activity-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;text-decoration:none;color:var(--admin-text);padding:0}.activity-icon{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.activity-icon svg{width:21px;height:21px}.activity-item.is-ads .activity-icon{background:#eaf3ff;color:#3b82f6}.activity-item.is-users .activity-icon{background:#e8fbf0;color:#22c55e}.activity-item.is-messages .activity-icon{background:#f2eaff;color:#8b5cf6}.activity-item.is-system .activity-icon{background:#fff4e3;color:#f59e0b}.activity-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.activity-copy strong{font-size:14px;color:var(--admin-text);font-weight:850}.activity-copy small{font-size:13px;color:#61728d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-item time{font-size:12px;color:#7f8da5;font-weight:750;white-space:nowrap}.dashboard-card-link{margin-top:18px;display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#6b7d98;font-size:14px;font-weight:800}.dashboard-card-link svg{width:17px;height:17px}.dashboard-empty{margin:0;color:#7b8aa3;font-weight:650;line-height:1.5}
.category-donut-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;align-items:center}.category-donut{width:138px;height:138px;border-radius:50%;position:relative;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}.category-donut span{position:absolute;inset:34px;border-radius:50%;background:var(--admin-card);box-shadow:0 0 0 1px var(--admin-line)}.category-legend-list{display:grid;gap:10px}.category-legend-item{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:10px;align-items:center;color:#4e6078;font-size:13px;font-weight:750}.category-legend-item i{width:10px;height:10px;border-radius:50%}.category-legend-item .dot-0{background:#3b82f6}.category-legend-item .dot-1{background:#22c55e}.category-legend-item .dot-2{background:#f59e0b}.category-legend-item .dot-3{background:#ec4899}.category-legend-item .dot-4{background:#8b5cf6}.category-legend-item .dot-5{background:#14b8a6}.category-legend-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-legend-item strong{color:#4a5c75;font-weight:850}.premium-overview-body{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:132px}.premium-overview-body strong{display:block;font-size:34px;color:var(--admin-text);font-weight:850;letter-spacing:-.03em}.premium-overview-body span{display:block;color:#6f7f96;font-size:14px;font-weight:750;margin:8px 0}.premium-medal{width:104px;height:104px;border-radius:50%;display:flex!important;align-items:center;justify-content:center;background:radial-gradient(circle,#eef0ff 0,#f6f3ff 58%,transparent 59%);color:#c7cbff;box-shadow:inset 0 0 0 1px #edf0ff}.premium-medal svg{width:54px;height:54px}.quick-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-access-item{min-height:56px;padding:0 14px;border-radius:10px;background:var(--admin-card-soft);text-decoration:none;color:#455a76;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:850}.quick-access-item span{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center}.quick-access-item svg{width:19px;height:19px}.quick-access-item.is-blue span{background:#eaf3ff;color:#3b82f6}.quick-access-item.is-green span{background:#e8fbf0;color:#22c55e}.quick-access-item.is-purple span{background:#f2eaff;color:#8b5cf6}.quick-access-item.is-slate span{background:#eef3f8;color:#64748b}.quick-access-item:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(21,37,66,.08)}
.admin-footer{margin:18px 28px 22px 260px;padding:0;background:transparent!important;color:#7f8da5;border:0!important;box-shadow:none!important;border-radius:0!important;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;font-weight:650}.admin-footer a{color:#7f8da5;text-decoration:none}.admin-footer a:hover{color:#2f7df6}.footer-links{display:flex;gap:26px;align-items:center;flex-wrap:wrap}
.admin-search-page-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.admin-search-results{display:grid;gap:10px}.admin-search-result{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:14px;padding:14px;border:1px solid var(--admin-line);border-radius:14px;text-decoration:none;color:var(--admin-text);background:var(--admin-card-soft)}.admin-search-result:hover{border-color:#bfdbfe;box-shadow:0 10px 24px rgba(37,99,235,.08)}.admin-search-result-icon{width:44px;height:44px;border-radius:12px;background:#eaf3ff;color:#3b82f6;display:flex;align-items:center;justify-content:center}.admin-search-result-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.admin-search-result-copy small{color:#2f7df6;font-size:12px;font-weight:850}.admin-search-result-copy strong{font-size:15px;color:var(--admin-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-search-result-copy em{font-style:normal;color:#73839c;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-create-form{padding:24px}.admin-user-create-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-checkbox-line{flex-direction:row!important;align-items:center;gap:10px;margin-top:25px}.admin-checkbox-line input{min-height:auto;width:18px;height:18px}.admin-form-actions{margin-top:22px;display:flex;justify-content:flex-end;gap:12px}.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;text-decoration:none;font-weight:850;border:1px solid transparent;cursor:pointer}.btn-primary{background:#2563eb;color:#fff!important;border-color:#2563eb}.btn-secondary{background:var(--admin-card);color:var(--admin-text)!important;border-color:var(--admin-line)}

/* Admin fix pass: readable dark mode, reliable menus and refined footer */
html.admin-theme-dark{
  --card:#14233a;
  --text:#eef5ff;
  --muted:#9fb0c8;
  --line:#253955;
  --navy:#eef5ff;
  --accent:#8db8ff;
}
html.admin-theme-dark body.admin-body{background:radial-gradient(circle at 20% 0,rgba(59,130,246,.12),transparent 28rem),var(--admin-bg);color:var(--admin-text)}
html.admin-theme-dark .admin-content,
html.admin-theme-dark .card,
html.admin-theme-dark .panel,
html.admin-theme-dark .admin-sidebar,
html.admin-theme-dark .table,
html.admin-theme-dark .admin-table,
html.admin-theme-dark .language-table-wrap,
html.admin-theme-dark .language-text-table-wrap{background:var(--admin-card)!important;color:var(--admin-text)!important;border-color:var(--admin-line)!important}
html.admin-theme-dark h1,html.admin-theme-dark h2,html.admin-theme-dark h3,html.admin-theme-dark h4,
html.admin-theme-dark .section-head h1,html.admin-theme-dark .section-head h2,
html.admin-theme-dark .admin-table td,html.admin-theme-dark .admin-table td a,
html.admin-theme-dark .table td,html.admin-theme-dark .table td a,
html.admin-theme-dark label,html.admin-theme-dark strong{color:var(--admin-text)!important}
html.admin-theme-dark .note,html.admin-theme-dark .meta,html.admin-theme-dark small,
html.admin-theme-dark .admin-table thead th,html.admin-theme-dark .table thead th,
html.admin-theme-dark .section-head p{color:var(--admin-muted)!important}
html.admin-theme-dark .admin-table thead th,html.admin-theme-dark .table thead th{background:#101d31!important;border-color:var(--admin-line)!important}
html.admin-theme-dark .admin-table tbody tr:hover,html.admin-theme-dark .table tbody tr:hover{background:#182943!important}
html.admin-theme-dark input,html.admin-theme-dark textarea,html.admin-theme-dark select,
html.admin-theme-dark .toolbar button,html.admin-theme-dark .toolbar select,
html.admin-theme-dark button:not(.admin-icon-button):not(.admin-dropdown-button):not(.admin-nav-pill):not(.admin-language-trigger):not(.admin-profile-trigger){background:#101d31;color:var(--admin-text);border-color:var(--admin-line)}
html.admin-theme-dark input::placeholder,html.admin-theme-dark textarea::placeholder{color:#7186a6}
html.admin-theme-dark .btn-secondary,html.admin-theme-dark .action-trigger,html.admin-theme-dark .status-pill{background:#101d31!important;color:var(--admin-text)!important;border-color:var(--admin-line)!important}
html.admin-theme-dark .action-menu-panel,html.admin-theme-dark .admin-dropdown-menu{background:#14233a!important;color:var(--admin-text)!important;border-color:var(--admin-line)!important;box-shadow:0 20px 44px rgba(0,0,0,.36)!important}
html.admin-theme-dark .admin-table td.table-actions .action-menu-panel a,
html.admin-theme-dark .admin-table td.table-actions .action-menu-panel button,
html.admin-theme-dark .admin-dropdown-menu a,html.admin-theme-dark .admin-dropdown-button{color:var(--admin-text)!important}
html.admin-theme-dark .admin-table td.table-actions .action-menu-panel a:hover,
html.admin-theme-dark .admin-table td.table-actions .action-menu-panel button:hover,
html.admin-theme-dark .admin-dropdown-menu a:hover,html.admin-theme-dark .admin-dropdown-button:hover{background:#1b3152!important;color:#8db8ff!important}
html.admin-theme-dark .admin-sidebar-link-icon{color:#9fb0c8}

.admin-nav-dropdown[open]>.admin-dropdown-menu,
.admin-language-menu[open]>.admin-dropdown-menu,
.admin-profile-menu[open]>.admin-dropdown-menu,
.admin-settings-dropdown[open]>.admin-dropdown-menu{display:grid;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.admin-dropdown-menu{opacity:1;visibility:visible;pointer-events:auto}

.admin-footer{margin:28px 14px 18px;padding:18px 22px;border:1px solid var(--admin-line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(248,251,255,.9));box-shadow:var(--admin-shadow-soft);color:#61728d;backdrop-filter:blur(18px)}
.admin-footer>div:first-child{display:flex;align-items:center;gap:10px;font-weight:750;color:#61728d}
.admin-footer>div:first-child::before{content:"";width:10px;height:10px;border-radius:999px;background:linear-gradient(180deg,#3b82f6,#2563eb);box-shadow:0 0 0 5px rgba(59,130,246,.10)}
.admin-footer .footer-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-footer .footer-links a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid transparent;border-radius:999px;color:#61728d;text-decoration:none;font-weight:750;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.admin-footer .footer-links a:hover{background:#eef5ff;border-color:#d8e6fb;color:#2563eb}
html.admin-theme-dark .admin-footer{background:linear-gradient(180deg,rgba(20,35,58,.92),rgba(16,29,49,.94));color:var(--admin-muted);border-color:var(--admin-line)}
html.admin-theme-dark .admin-footer>div:first-child,html.admin-theme-dark .admin-footer .footer-links a{color:var(--admin-muted)!important}
html.admin-theme-dark .admin-footer .footer-links a:hover{background:#1b3152;border-color:#2d4464;color:#8db8ff!important}

/* Admin sidebar dropdowns */
.admin-sidebar .admin-sidebar-dropdown{margin:0;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.admin-sidebar .admin-sidebar-dropdown summary.admin-sidebar-link{cursor:pointer;user-select:none}
.admin-sidebar .admin-sidebar-dropdown summary.admin-sidebar-link .admin-sidebar-link-label{flex:1;min-width:0}
.admin-sidebar-chevron{margin-left:auto;font-size:18px;line-height:1;transition:transform .16s ease;color:#8da0b8}
.admin-sidebar-dropdown[open] .admin-sidebar-chevron{transform:rotate(90deg)}
.admin-sidebar-submenu{display:grid;gap:2px;margin:2px 0 8px 42px;padding-left:10px;border-left:1px solid var(--admin-line)}
.admin-sidebar-sublink{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:30px!important;padding:7px 10px!important;border-radius:10px!important;color:#5d7189!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important}
.admin-sidebar-sublink:hover,.admin-sidebar-sublink.is-active{background:#f0f6ff!important;color:#2563eb!important}
html.admin-theme-dark .admin-sidebar .admin-sidebar-dropdown{background:transparent!important;border-color:transparent!important}
html.admin-theme-dark .admin-sidebar-chevron{color:#9fb0c8}
html.admin-theme-dark .admin-sidebar-submenu{border-left-color:#2b4263}
html.admin-theme-dark .admin-sidebar-sublink{color:#b7c5d8!important}
html.admin-theme-dark .admin-sidebar-sublink:hover,html.admin-theme-dark .admin-sidebar-sublink.is-active{background:#1b3152!important;color:#8db8ff!important}

/* Wider, screenshot-style admin sidebar */
:root{--admin-sidebar-width:280px}
.admin-layout.admin-shell-layout{grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr)!important;gap:18px!important;padding-left:18px!important;padding-right:18px!important}
.admin-shell-layout>.admin-sidebar{width:var(--admin-sidebar-width)!important;box-sizing:border-box!important;padding:22px 14px!important;border-radius:18px!important;background:rgba(255,255,255,.92)!important;border:1px solid #e7eef8!important;box-shadow:0 18px 44px rgba(15,23,42,.07)!important;overflow:visible!important}
.admin-sidebar-group{margin:0 0 24px!important}
.admin-sidebar-group h2{padding:0 12px!important;margin-bottom:10px!important;font-size:11px!important;letter-spacing:.075em!important;color:#94a3b8!important}
.admin-sidebar-nav{gap:5px!important}
.admin-sidebar-link,.admin-sidebar .admin-sidebar-dropdown summary.admin-sidebar-link{min-height:42px!important;padding:11px 13px!important;border-radius:13px!important;gap:12px!important;white-space:nowrap!important;color:#40536d!important;font-size:14px!important;font-weight:800!important;line-height:1.15!important}
.admin-sidebar-link-label,.admin-sidebar-link span:not(.admin-sidebar-link-icon):not(.admin-sidebar-chevron){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-sidebar-link-icon{width:22px!important;height:22px!important;flex:0 0 22px!important;color:#61738f!important}
.admin-sidebar-link-icon svg{width:18px!important;height:18px!important}
.admin-sidebar-link:hover{background:#f2f7ff!important;color:#2878f0!important;transform:translateX(2px)}
.admin-sidebar-link.is-active{background:linear-gradient(90deg,#eaf3ff 0%,#f7fbff 100%)!important;color:#2f7df6!important;box-shadow:inset 4px 0 0 #3b82f6!important}
.admin-sidebar-link.is-active .admin-sidebar-link-icon{color:#3b82f6!important}
.admin-sidebar-chevron{font-size:20px!important;color:#91a3ba!important;flex:0 0 auto!important}
.admin-sidebar-submenu{margin:4px 0 10px 34px!important;padding-left:13px!important;border-left:1px solid #dbe6f5!important;gap:3px!important}
.admin-sidebar-sublink{min-height:34px!important;padding:8px 12px!important;border-radius:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#5e718a!important;font-size:13px!important;font-weight:750!important}
.admin-sidebar-sublink:hover,.admin-sidebar-sublink.is-active{background:#eef5ff!important;color:#2563eb!important}
html.admin-theme-dark .admin-shell-layout>.admin-sidebar{background:rgba(20,35,58,.94)!important;border-color:#263b5c!important;box-shadow:0 18px 44px rgba(0,0,0,.24)!important}
html.admin-theme-dark .admin-sidebar-group h2{color:#8fa0ba!important}
html.admin-theme-dark .admin-sidebar-link,html.admin-theme-dark .admin-sidebar .admin-sidebar-dropdown summary.admin-sidebar-link{color:#d5dfec!important}
html.admin-theme-dark .admin-sidebar-link-icon{color:#a9bbd2!important}
html.admin-theme-dark .admin-sidebar-link:hover{background:#1d3558!important;color:#a9caff!important}
html.admin-theme-dark .admin-sidebar-link.is-active{background:linear-gradient(90deg,#183966 0%,#162b4a 100%)!important;color:#9ec5ff!important;box-shadow:inset 4px 0 0 #60a5fa!important}
html.admin-theme-dark .admin-sidebar-chevron{color:#9fb0c8!important}
html.admin-theme-dark .admin-sidebar-submenu{border-left-color:#334b6e!important}
html.admin-theme-dark .admin-sidebar-sublink{color:#c6d3e4!important}
html.admin-theme-dark .admin-sidebar-sublink:hover,html.admin-theme-dark .admin-sidebar-sublink.is-active{background:#1d3558!important;color:#a9caff!important}

.admin-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:14px}.admin-category-tile{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:16px;border:1px solid var(--admin-border,#dbe7f5);border-radius:18px;background:rgba(255,255,255,.72);text-decoration:none;color:var(--admin-text,#10213f);box-shadow:0 10px 24px rgba(15,23,42,.06)}.admin-category-tile:hover,.admin-category-tile.is-active{border-color:#3b7cff;box-shadow:0 14px 28px rgba(59,124,255,.16);transform:translateY(-1px)}.admin-category-tile span{font-weight:800}.admin-category-tile strong{font-size:1.35rem;color:#3b7cff}.admin-category-tile small{grid-column:1/-1;color:var(--admin-muted,#6b7d99)}.admin-category-overview-page .table-responsive{overflow:auto}.btn-small{padding:8px 12px;border-radius:12px;font-size:.9rem}html.admin-dark .admin-category-tile,body.admin-dark .admin-category-tile{background:rgba(15,23,42,.78);border-color:rgba(148,163,184,.25);color:#e5edf8}html.admin-dark .admin-category-tile small,body.admin-dark .admin-category-tile small{color:#9fb0c9}

/* final theme contrast cleanup: token based light/dark UI fixes */
:root{
  --surface:#ffffff;
  --surface-2:#f6f9fd;
  --surface-3:#eef4fb;
  --text-primary:#0b2447;
  --text-secondary:#5f718e;
  --border:#d7e4f3;
  --primary:#3b82f6;
  --primary-600:#2563eb;
  --primary-contrast:#ffffff;
}
html.admin-theme-dark{
  --surface:#14233a;
  --surface-2:#101d31;
  --surface-3:#1b3152;
  --text-primary:#f8fafc;
  --text-secondary:#b7c5d8;
  --border:#30486b;
  --primary:#3b82f6;
  --primary-600:#2563eb;
  --primary-contrast:#ffffff;
}
html.admin-theme-dark body.admin-body,
html.admin-theme-dark .admin-content{
  color:var(--text-primary)!important;
}
html.admin-theme-dark .admin-content,
html.admin-theme-dark .card,
html.admin-theme-dark fieldset,
html.admin-theme-dark .language-tabs,
html.admin-theme-dark .language-tabs-nav,
html.admin-theme-dark .language-tab-panel,
html.admin-theme-dark .category-browser-card,
html.admin-theme-dark .premium-admin-card,
html.admin-theme-dark .invoice-admin-card,
html.admin-theme-dark .premium-empty-state--admin,
html.admin-theme-dark .analytics-empty-state,
html.admin-theme-dark .empty-state,
html.admin-theme-dark .box{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
  box-shadow:none;
}
html.admin-theme-dark .language-tabs-nav{
  background:var(--surface-2)!important;
}
html.admin-theme-dark .language-tab-panel{
  background:var(--surface)!important;
}
html.admin-theme-dark legend,
html.admin-theme-dark label,
html.admin-theme-dark .section-title,
html.admin-theme-dark h1,
html.admin-theme-dark h2,
html.admin-theme-dark h3,
html.admin-theme-dark h4,
html.admin-theme-dark .page-head h1,
html.admin-theme-dark .page-head h2,
html.admin-theme-dark .category-browser-head h2,
html.admin-theme-dark .premium-empty-state--admin h2,
html.admin-theme-dark .empty-state h2,
html.admin-theme-dark .empty-state h3{
  color:var(--text-primary)!important;
  opacity:1!important;
}
html.admin-theme-dark .note,
html.admin-theme-dark .meta,
html.admin-theme-dark small,
html.admin-theme-dark .page-head p,
html.admin-theme-dark .category-browser-head p,
html.admin-theme-dark .premium-empty-state--admin p,
html.admin-theme-dark .analytics-empty-state,
html.admin-theme-dark .empty-state p{
  color:var(--text-secondary)!important;
  opacity:1!important;
}
html.admin-theme-dark input,
html.admin-theme-dark textarea,
html.admin-theme-dark select{
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
  caret-color:var(--text-primary)!important;
}
html.admin-theme-dark input::placeholder,
html.admin-theme-dark textarea::placeholder{
  color:#93a7c2!important;
  opacity:1!important;
}
html.admin-theme-dark input:focus,
html.admin-theme-dark textarea:focus,
html.admin-theme-dark select:focus{
  border-color:var(--primary)!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.2)!important;
  outline:none!important;
}
.settings-subnav a,
.message-tabs a,
.users-panel__tabs a,
.account-listings-tabs a,
.language-tab-button,
button.language-tab-button{
  color:var(--primary)!important;
  background:var(--surface)!important;
  border-color:var(--border)!important;
  opacity:1!important;
}
.settings-subnav a.active,
.message-tabs a.active,
.users-panel__tabs a.active,
.account-listings-tabs a.active,
.language-tab-button.is-active,
button.language-tab-button.is-active{
  color:var(--primary-contrast)!important;
  background:linear-gradient(135deg,var(--primary),var(--primary-600))!important;
  border-color:var(--primary)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.22)!important;
  opacity:1!important;
}
.settings-subnav a.active *,
.message-tabs a.active *,
.users-panel__tabs a.active *,
.account-listings-tabs a.active *,
.language-tab-button.is-active *,
button.language-tab-button.is-active *{
  color:var(--primary-contrast)!important;
}
html.admin-theme-dark .settings-subnav a,
html.admin-theme-dark .message-tabs a,
html.admin-theme-dark .users-panel__tabs a,
html.admin-theme-dark .account-listings-tabs a,
html.admin-theme-dark .language-tab-button,
html.admin-theme-dark button.language-tab-button{
  background:var(--surface)!important;
  color:#93c5fd!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .settings-subnav a.active,
html.admin-theme-dark .message-tabs a.active,
html.admin-theme-dark .users-panel__tabs a.active,
html.admin-theme-dark .account-listings-tabs a.active,
html.admin-theme-dark .language-tab-button.is-active,
html.admin-theme-dark button.language-tab-button.is-active{
  color:#ffffff!important;
  background:linear-gradient(135deg,#3b82f6,#2563eb)!important;
  border-color:#3b82f6!important;
}
html.admin-theme-dark .settings-subnav a.active *,
html.admin-theme-dark .message-tabs a.active *,
html.admin-theme-dark .users-panel__tabs a.active *,
html.admin-theme-dark .account-listings-tabs a.active *,
html.admin-theme-dark .language-tab-button.is-active *,
html.admin-theme-dark button.language-tab-button.is-active *{
  color:#ffffff!important;
}
.btn-lite,
button.btn-lite,
a.btn-lite,
.category-browser-card .btn-lite,
.category-browser-card .btn-lite--small{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
  opacity:1!important;
}
.btn-lite:hover,
button.btn-lite:hover,
a.btn-lite:hover,
.category-browser-card .btn-lite:hover,
.category-browser-card .btn-lite--small:hover{
  background:var(--surface-3)!important;
  color:var(--primary)!important;
  border-color:var(--primary)!important;
}
html.admin-theme-dark .btn-lite,
html.admin-theme-dark button.btn-lite,
html.admin-theme-dark a.btn-lite,
html.admin-theme-dark .category-browser-card .btn-lite,
html.admin-theme-dark .category-browser-card .btn-lite--small{
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .btn-lite:hover,
html.admin-theme-dark button.btn-lite:hover,
html.admin-theme-dark a.btn-lite:hover,
html.admin-theme-dark .category-browser-card .btn-lite:hover,
html.admin-theme-dark .category-browser-card .btn-lite--small:hover{
  background:var(--surface-3)!important;
  color:#93c5fd!important;
  border-color:#3b82f6!important;
}
html.admin-theme-dark .category-browser-count,
html.admin-theme-dark .btn-lite .category-browser-count{
  background:#203a5f!important;
  color:#dbeafe!important;
}
html.admin-theme-dark .table,
html.admin-theme-dark .admin-table,
html.admin-theme-dark .admin-table-wrap,
html.admin-theme-dark .table-responsive{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .table thead th,
html.admin-theme-dark .admin-table thead th,
html.admin-theme-dark .admin-table thead th a{
  background:var(--surface-2)!important;
  color:#bfdbfe!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .table tbody td,
html.admin-theme-dark .admin-table tbody td,
html.admin-theme-dark .admin-table tbody td a,
html.admin-theme-dark .category-browser-title span,
html.admin-theme-dark .category-browser-title a{
  background:transparent!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .table tbody tr,
html.admin-theme-dark .admin-table tbody tr{
  border-color:var(--border)!important;
}
html.admin-theme-dark .table tbody tr:hover,
html.admin-theme-dark .admin-table tbody tr:hover{
  background:rgba(59,130,246,.08)!important;
}
html.admin-theme-dark .status-pill,
html.admin-theme-dark .badge{
  background:#0b1b30!important;
  color:#dbeafe!important;
  border-color:#263f62!important;
}
html.admin-theme-dark .status-pill.status-active,
html.admin-theme-dark .badge.status-active{
  background:#0b1b30!important;
  color:#ffffff!important;
}
html.admin-theme-dark .action-trigger,
html.admin-theme-dark .toolbar button,
html.admin-theme-dark .toolbar select{
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .action-trigger:hover,
html.admin-theme-dark .toolbar button:hover{
  background:var(--surface-3)!important;
  color:#93c5fd!important;
}
html.admin-theme-dark .premium-empty-state--admin,
html.admin-theme-dark .analytics-empty-state,
html.admin-theme-dark .dashboard-empty,
html.admin-theme-dark .empty-state{
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
@media (prefers-reduced-motion:no-preference){
  .settings-subnav a,.message-tabs a,.language-tab-button,.btn-lite,.action-trigger,input,textarea,select{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
}

/* v6 dark mode hardening: remove remaining hard-coded light panels and low-contrast text */
html.admin-theme-dark{
  color-scheme:dark;
  --surface:#14233a;
  --surface-2:#101d31;
  --surface-3:#1b3152;
  --surface-soft:#182b47;
  --text-primary:#f8fbff;
  --text-secondary:#c7d4e8;
  --text-muted:#9fb0c8;
  --border:#315078;
  --primary:#3b82f6;
  --primary-600:#2563eb;
  --primary-contrast:#ffffff;
}
html.admin-theme-dark body.admin-body{background:#0f1d31!important;color:var(--text-primary)!important;}
html.admin-theme-dark .admin-content,
html.admin-theme-dark .admin-panel,
html.admin-theme-dark .panel,
html.admin-theme-dark .card,
html.admin-theme-dark .dashboard-card,
html.admin-theme-dark .settings-card,
html.admin-theme-dark .entity-form,
html.admin-theme-dark .field-form-shell,
html.admin-theme-dark .language-form-card,
html.admin-theme-dark .language-editor-panel,
html.admin-theme-dark .language-panel,
html.admin-theme-dark .language-toggle-card,
html.admin-theme-dark .newsletter-switch-card,
html.admin-theme-dark .newsletter-compose-card,
html.admin-theme-dark .inline-panel,
html.admin-theme-dark .settings-test-panel,
html.admin-theme-dark .email-template-test-box,
html.admin-theme-dark .invoice-box,
html.admin-theme-dark .premium-admin-customer-box,
html.admin-theme-dark .premium-admin-service,
html.admin-theme-dark .premium-admin-service__preview,
html.admin-theme-dark .premium-manual-payments__item,
html.admin-theme-dark .premium-preview-chip,
html.admin-theme-dark .analytics-panel,
html.admin-theme-dark .analytics-code-preview,
html.admin-theme-dark .spam-protection-panel,
html.admin-theme-dark .spam-provider-settings,
html.admin-theme-dark .backup-info-card,
html.admin-theme-dark .backup-restore-box,
html.admin-theme-dark .backup-inline-panel,
html.admin-theme-dark .backup-note-box,
html.admin-theme-dark .maintenance-panel,
html.admin-theme-dark .maintenance-note-box,
html.admin-theme-dark .maintenance-preview-bar,
html.admin-theme-dark .email-preview-card,
html.admin-theme-dark .empty-state-panel,
html.admin-theme-dark .notice,
html.admin-theme-dark .note,
html.admin-theme-dark .admin-stat-card,
html.admin-theme-dark .field-admin-card,
html.admin-theme-dark .dynamic-field-card,
html.admin-theme-dark .cookie-consent__option,
html.admin-theme-dark .cookie-consent__content--settings,
html.admin-theme-dark .settings-menu-grid > a,
html.admin-theme-dark .lang-card,
html.admin-theme-dark .language-stat-card,
html.admin-theme-dark .language-progress-card,
html.admin-theme-dark .language-search-card,
html.admin-theme-dark .logo-summary-card,
html.admin-theme-dark .logo-favicon-preview,
html.admin-theme-dark .logo-preview,
html.admin-theme-dark .report-case-block,
html.admin-theme-dark .report-case-hero,
html.admin-theme-dark .ticket-reply-card,
html.admin-theme-dark .custom-field-card,
html.admin-theme-dark .custom-field-editor,
html.admin-theme-dark .category-browser-card,
html.admin-theme-dark .dashboard-empty,
html.admin-theme-dark .premium-empty-state,
html.admin-theme-dark .analytics-empty-state{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
  box-shadow:none!important;
}
html.admin-theme-dark .admin-content :where(h1,h2,h3,h4,h5,h6,strong,b,legend,label,.section-title,.admin-panel__head,.field-form-head,.language-panel__header,.language-editor-panel__header,.language-stat-card__label,.settings-card-title,.dashboard-card-head,.newsletter-switch-card__copy,.invoice-admin-card__head,.invoice-admin-card__body,.order-card__head,.premium-admin-service__preview,.analytics-panel,.settings-menu-grid a){
  color:var(--text-primary)!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(p,small,.meta,.note,.help,.description,.text-muted,.muted,.subtitle,.card-description,.dashboard-card-link,.language-progress-card__meta,.order-card__meta,.invoice-box li,.invoice-box p,.analytics-empty-state,.empty-state-panel,.report-entry__empty){
  color:var(--text-secondary)!important;
  opacity:1!important;
}
html.admin-theme-dark input,
html.admin-theme-dark textarea,
html.admin-theme-dark select,
html.admin-theme-dark .admin-content input,
html.admin-theme-dark .admin-content textarea,
html.admin-theme-dark .admin-content select{
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border:1px solid var(--border)!important;
  box-shadow:none!important;
  opacity:1!important;
}
html.admin-theme-dark input:-webkit-autofill,
html.admin-theme-dark input:-webkit-autofill:hover,
html.admin-theme-dark input:-webkit-autofill:focus,
html.admin-theme-dark textarea:-webkit-autofill,
html.admin-theme-dark select:-webkit-autofill{
  -webkit-text-fill-color:var(--text-primary)!important;
  -webkit-box-shadow:0 0 0 1000px var(--surface-2) inset!important;
  box-shadow:0 0 0 1000px var(--surface-2) inset!important;
  caret-color:var(--text-primary)!important;
}
html.admin-theme-dark input::placeholder,
html.admin-theme-dark textarea::placeholder{color:var(--text-muted)!important;opacity:1!important;}
html.admin-theme-dark input:focus,
html.admin-theme-dark textarea:focus,
html.admin-theme-dark select:focus{border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(96,165,250,.22)!important;outline:none!important;}

/* Pills, tabs and buttons must always be readable */
.settings-subnav a.active,
.message-tabs a.active,
.users-panel__tabs a.active,
.account-listings-tabs a.active,
.language-tab-button.is-active,
button.language-tab-button.is-active,
html.admin-theme-dark .settings-subnav a.active,
html.admin-theme-dark .message-tabs a.active,
html.admin-theme-dark .users-panel__tabs a.active,
html.admin-theme-dark .account-listings-tabs a.active,
html.admin-theme-dark .language-tab-button.is-active,
html.admin-theme-dark button.language-tab-button.is-active{
  color:#fff!important;
  background:linear-gradient(135deg,#3b82f6,#2563eb)!important;
  border-color:#3b82f6!important;
  opacity:1!important;
}
.settings-subnav a.active *,
.message-tabs a.active *,
.users-panel__tabs a.active *,
.account-listings-tabs a.active *,
.language-tab-button.is-active *,
button.language-tab-button.is-active *,
html.admin-theme-dark .settings-subnav a.active *,
html.admin-theme-dark .message-tabs a.active *,
html.admin-theme-dark .users-panel__tabs a.active *,
html.admin-theme-dark .account-listings-tabs a.active *,
html.admin-theme-dark .language-tab-button.is-active *,
html.admin-theme-dark button.language-tab-button.is-active *{color:#fff!important;}
html.admin-theme-dark .settings-subnav a:not(.active),
html.admin-theme-dark .message-tabs a:not(.active),
html.admin-theme-dark .users-panel__tabs a:not(.active),
html.admin-theme-dark .account-listings-tabs a:not(.active),
html.admin-theme-dark .language-tab-button:not(.is-active){background:var(--surface-2)!important;color:#bfdbfe!important;border-color:var(--border)!important;}
html.admin-theme-dark .btn,
html.admin-theme-dark .btn-lite,
html.admin-theme-dark .btn-secondary,
html.admin-theme-dark .settings-button,
html.admin-theme-dark .action-trigger,
html.admin-theme-dark button:not(.admin-icon-button):not(.admin-dropdown-button):not(.admin-nav-pill):not(.admin-language-trigger):not(.admin-profile-trigger){
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
  opacity:1!important;
}
html.admin-theme-dark .btn-primary,
html.admin-theme-dark a.btn-primary,
html.admin-theme-dark button.btn-primary,
html.admin-theme-dark .settings-button--primary{
  background:linear-gradient(135deg,#3b82f6,#2563eb)!important;
  color:#fff!important;
  border-color:#3b82f6!important;
}
html.admin-theme-dark .btn-primary *,html.admin-theme-dark .settings-button--primary *{color:#fff!important;}

/* White switch/option/info blocks from individual pages */
html.admin-theme-dark .admin-checkbox-line,
html.admin-theme-dark .checkbox-label,
html.admin-theme-dark .checkbox-inline,
html.admin-theme-dark .newsletter-switch-card,
html.admin-theme-dark .language-active-toggle,
html.admin-theme-dark .cookie-consent__option,
html.admin-theme-dark .premium-admin-service__preview,
html.admin-theme-dark .invoice-box,
html.admin-theme-dark .premium-empty-state--admin,
html.admin-theme-dark .analytics-empty-state,
html.admin-theme-dark .email-template-test-box,
html.admin-theme-dark .inline-panel,
html.admin-theme-dark .settings-test-panel,
html.admin-theme-dark .empty-state-panel,
html.admin-theme-dark .notice-warning,
html.admin-theme-dark .backup-empty-state,
html.admin-theme-dark .report-entry__empty{
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .admin-checkbox-line *,
html.admin-theme-dark .checkbox-label *,
html.admin-theme-dark .checkbox-inline *,
html.admin-theme-dark .newsletter-switch-card *,
html.admin-theme-dark .language-active-toggle *,
html.admin-theme-dark .cookie-consent__option *,
html.admin-theme-dark .premium-admin-service__preview *,
html.admin-theme-dark .invoice-box *,
html.admin-theme-dark .analytics-empty-state *,
html.admin-theme-dark .email-template-test-box *,
html.admin-theme-dark .inline-panel *,
html.admin-theme-dark .settings-test-panel *,
html.admin-theme-dark .empty-state-panel *,
html.admin-theme-dark .notice-warning *,
html.admin-theme-dark .backup-empty-state *,
html.admin-theme-dark .report-entry__empty *{
  color:inherit!important;
  opacity:1!important;
}

/* Tables */
html.admin-theme-dark .admin-table,
html.admin-theme-dark .table,
html.admin-theme-dark .admin-table-card,
html.admin-theme-dark .admin-table-wrap,
html.admin-theme-dark .table-responsive{background:var(--surface)!important;color:var(--text-primary)!important;border-color:var(--border)!important;}
html.admin-theme-dark .admin-table th,
html.admin-theme-dark .table th{background:#0d1a2d!important;color:#bfdbfe!important;border-color:var(--border)!important;}
html.admin-theme-dark .admin-table td,
html.admin-theme-dark .table td{color:var(--text-primary)!important;border-color:var(--border)!important;}

/* CKEditor shells: keep editable document readable, but surrounding labels and chrome are high contrast */
html.admin-theme-dark .cke,
html.admin-theme-dark .cke_chrome{border-color:var(--border)!important;border-radius:18px!important;overflow:hidden!important;}
html.admin-theme-dark .cke_top,
html.admin-theme-dark .cke_bottom{background:#eef2f7!important;border-color:#d6deea!important;}
html.admin-theme-dark .cke_contents{background:#ffffff!important;color:#111827!important;}
html.admin-theme-dark .cke_wysiwyg_frame,
html.admin-theme-dark .cke_wysiwyg_div{background:#ffffff!important;color:#111827!important;}
html.admin-theme-dark label + .cke,
html.admin-theme-dark .cke + small{color:var(--text-secondary)!important;}

/* Generic fallback for any remaining direct white blocks inside the admin content */
html.admin-theme-dark .admin-content :where(.form-grid,.settings-grid,.premium-form-grid,.ticket-filter-grid,.newsletter-language-grid,.field-form-grid){color:var(--text-primary)!important;}
html.admin-theme-dark .admin-content :where([class*="-box"],[class*="-panel"],[class*="-card"],[class*="-tile"],[class*="-preview"],[class*="-state"]){border-color:var(--border);}

/* v7 premium dark-mode contrast sweep
   Converts leftover light-mode cards/forms/options to dark tokens and raises text contrast. */
html.admin-theme-dark{
  --surface:#14233a;
  --surface-2:#0f1d31;
  --surface-3:#1b3152;
  --surface-soft:#172a46;
  --text-primary:#f8fbff;
  --text-secondary:#d4e2f6;
  --text-muted:#abc0dc;
  --border:#35577f;
  --border-soft:#29476c;
}
html.admin-theme-dark .admin-content,
html.admin-theme-dark .settings-page,
html.admin-theme-dark .card,
html.admin-theme-dark .settings-card,
html.admin-theme-dark .admin-panel,
html.admin-theme-dark .panel{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}

/* Remaining white/light containers from settings, SEO, tools, tickets, premium, newsletter and permissions pages. */
html.admin-theme-dark :where(
  .settings-toggle-card,
  .admin-account-row,
  .permission-designer-card--exact,
  .permission-section__body--exact,
  .permission-row--exact,
  .permission-section--exact,
  .ui-switch-card,
  .analytics-panel,
  .spam-protection-panel,
  .spam-provider-settings,
  .premium-admin-card,
  .premium-admin-service,
  .premium-admin-service__preview,
  .premium-manual-payments__item,
  .premium-manual-payments__item.is-enabled,
  .order-card--admin,
  .invoice-admin-card,
  .invoice-box,
  .newsletter-compose-card,
  .newsletter-switch-card,
  .newsletter-language-grid,
  .language-tab-panel,
  .language-form-card,
  .language-stat-card,
  .language-toggle-card,
  .language-progress-card,
  .language-search-card,
  .ticket-form-card,
  .ticket-filter-card,
  .field-admin-card,
  .custom-field-card,
  .custom-field-editor,
  .category-browser-card,
  .backup-info-card,
  .backup-restore-form,
  .backup-automation-panel,
  .backup-toggle-row,
  .backup-note-box,
  .backup-empty-state,
  .backup-cron-hint,
  .maintenance-toggle,
  .maintenance-note-box,
  .maintenance-preview-bar,
  .maintenance-panel,
  .email-template-test-box,
  .inline-panel,
  .settings-test-panel,
  .empty-state-panel,
  .analytics-empty-state,
  .admin-content .notice,
  .admin-content .note,
  .admin-content .notice-warning,
  .admin-content .report-entry__empty,
  .settings-menu-grid > a
){
  background:var(--surface-2)!important;
  background-image:none!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
  box-shadow:none!important;
  opacity:1!important;
}

html.admin-theme-dark :where(
  .settings-toggle-card *,
  .admin-account-row *,
  .permission-designer-card--exact *,
  .permission-section__body--exact *,
  .permission-row--exact *,
  .ui-switch-card *,
  .analytics-panel *,
  .spam-protection-panel *,
  .spam-provider-settings *,
  .premium-admin-card *,
  .premium-admin-service *,
  .premium-admin-service__preview *,
  .premium-manual-payments__item *,
  .order-card--admin *,
  .invoice-admin-card *,
  .invoice-box *,
  .newsletter-compose-card *,
  .newsletter-switch-card *,
  .language-tab-panel *,
  .language-form-card *,
  .language-stat-card *,
  .ticket-form-card *,
  .ticket-filter-card *,
  .field-admin-card *,
  .custom-field-card *,
  .backup-info-card *,
  .backup-note-box *,
  .backup-empty-state *,
  .maintenance-toggle *,
  .maintenance-note-box *,
  .empty-state-panel *,
  .settings-menu-grid > a *
){
  color:inherit!important;
  opacity:1!important;
}

html.admin-theme-dark .admin-content :where(h1,h2,h3,h4,h5,h6,strong,b,legend,label,.eyebrow,.section-title,.admin-account-row__name,.settings-card-title,.permission-label){
  color:var(--text-primary)!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(p,small,.meta,.muted,.help,.description,.subtitle,.admin-account-row__meta,.settings-toggle-card small,.card-description,li,.empty-state-panel,.analytics-empty-state){
  color:var(--text-secondary)!important;
  opacity:1!important;
}

/* Forms inside light cards: keep all fields dark and readable. */
html.admin-theme-dark .admin-content :where(form,.form-grid,.settings-toggle-grid,.premium-filter-grid,.ticket-filter-grid,.compact-grid,.newsletter-language-grid,.field-form-grid){
  color:var(--text-primary)!important;
}
html.admin-theme-dark .admin-content :where(input,textarea,select){
  background:#0d1a2d!important;
  color:#f8fbff!important;
  border-color:#3b5f8a!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(input,textarea,select)::placeholder{color:#adc4e3!important;opacity:1!important;}
html.admin-theme-dark .admin-content :where(input[readonly],textarea[readonly],select[readonly],input:disabled,textarea:disabled,select:disabled){
  background:#102039!important;
  color:#cfe0f7!important;
  border-color:#314f76!important;
  opacity:1!important;
}

/* Toggle/checkbox rows and switches. */
html.admin-theme-dark .ui-switch-state,
html.admin-theme-dark .maintenance-status-pill,
html.admin-theme-dark .premium-preview-chip,
html.admin-theme-dark .premium-badge,
html.admin-theme-dark .admin-id-chip,
html.admin-theme-dark .language-code-pill,
html.admin-theme-dark .mini-stat{
  background:var(--surface-3)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .ui-switch__thumb,
html.admin-theme-dark .newsletter-switch__track::after{background:#f8fbff!important;}

/* CKEditor: make the editor fit the dark admin instead of leaving a large white block. */
html.admin-theme-dark .cke,
html.admin-theme-dark .cke_chrome{
  background:var(--surface-2)!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .cke_top,
html.admin-theme-dark .cke_bottom{
  background:#13243d!important;
  border-color:var(--border)!important;
}
html.admin-theme-dark .cke_toolgroup,
html.admin-theme-dark .cke_combo_button{
  background:#f8fafc!important;
  border-color:#d5dfec!important;
}
html.admin-theme-dark .cke_contents,
html.admin-theme-dark .cke_wysiwyg_frame,
html.admin-theme-dark .cke_wysiwyg_div{
  background:#0d1a2d!important;
  color:#f8fbff!important;
}

/* Generic final safety net: any plain direct card-like child under admin content becomes dark. */
html.admin-theme-dark .admin-content > :where(section,article,div):not(.settings-hero):not(.admin-hero):not(.dashboard-hero):not(.admin-sidebar):not(.settings-subnav){
  border-color:var(--border)!important;
}
html.admin-theme-dark .admin-content :where(.white,.bg-white,.bg-light,.light-card){
  background:var(--surface-2)!important;
  color:var(--text-primary)!important;
  border-color:var(--border)!important;
}

/* v9 final spot-fix: remaining light pills, upload zones, report cards, CKEditor wrappers */
html.admin-theme-dark{
  --admin-dark-page:#0b1728;
  --admin-dark-card:#14233a;
  --admin-dark-card-2:#0f1d31;
  --admin-dark-card-3:#172a46;
  --admin-dark-text:#f8fbff;
  --admin-dark-muted:#d5e3f7;
  --admin-dark-soft:#aec3df;
  --admin-dark-border:#35577f;
  --admin-dark-border-2:#456b99;
  --admin-dark-blue:#3b82f6;
  --admin-dark-green-bg:#0a4a34;
  --admin-dark-green-border:#198754;
  --admin-dark-green-text:#d9ffe9;
}

/* Remaining white blocks/cards from screenshots */
html.admin-theme-dark .upload-preview-box,
html.admin-theme-dark .ticket-dropzone,
html.admin-theme-dark .report-entry,
html.admin-theme-dark .report-history-entry,
html.admin-theme-dark .template-placeholder-box,
html.admin-theme-dark .settings-language-texts .language-text-list,
html.admin-theme-dark .admin-language-text-list,
html.admin-theme-dark .email-template-card code,
html.admin-theme-dark .admin-content code,
html.admin-theme-dark .admin-content kbd,
html.admin-theme-dark .admin-content pre,
html.admin-theme-dark .admin-content .well,
html.admin-theme-dark .admin-content .alert,
html.admin-theme-dark .admin-content .info-box,
html.admin-theme-dark .admin-content .form-note,
html.admin-theme-dark .admin-content .hint-box,
html.admin-theme-dark .admin-content .dropzone,
html.admin-theme-dark .admin-content [class*="dropzone"],
html.admin-theme-dark .admin-content [class*="upload"]:not(input):not(button):not(a){
  background:var(--admin-dark-card-2)!important;
  background-image:none!important;
  color:var(--admin-dark-text)!important;
  border-color:var(--admin-dark-border)!important;
  box-shadow:none!important;
  opacity:1!important;
}

html.admin-theme-dark .upload-preview-box *,
html.admin-theme-dark .ticket-dropzone *,
html.admin-theme-dark .report-entry *,
html.admin-theme-dark .report-history-entry *,
html.admin-theme-dark .template-placeholder-box *,
html.admin-theme-dark .admin-content .alert *,
html.admin-theme-dark .admin-content .info-box *,
html.admin-theme-dark .admin-content .form-note *,
html.admin-theme-dark .admin-content .hint-box *,
html.admin-theme-dark .admin-content .dropzone *,
html.admin-theme-dark .admin-content [class*="dropzone"] *,
html.admin-theme-dark .admin-content [class*="upload"]:not(input):not(button):not(a) *{
  color:inherit!important;
  opacity:1!important;
}

/* File inputs and file picker text */
html.admin-theme-dark input[type="file"]{
  color:var(--admin-dark-text)!important;
  background:transparent!important;
}
html.admin-theme-dark input[type="file"]::file-selector-button{
  background:#1b3152!important;
  color:#ffffff!important;
  border:1px solid var(--admin-dark-border-2)!important;
  border-radius:10px!important;
  padding:8px 12px!important;
  font-weight:800!important;
}

/* Badges/pills that were still pale */
html.admin-theme-dark .admin-tag,
html.admin-theme-dark .admin-status-pill,
html.admin-theme-dark .admin-meta-pill,
html.admin-theme-dark .status-pill,
html.admin-theme-dark .premium-badge,
html.admin-theme-dark .premium-preview-chip,
html.admin-theme-dark .language-code-badge,
html.admin-theme-dark .language-code-pill,
html.admin-theme-dark .badge,
html.admin-theme-dark .label,
html.admin-theme-dark .pill,
html.admin-theme-dark .chip{
  background:#1b3152!important;
  color:#f8fbff!important;
  border:1px solid var(--admin-dark-border-2)!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-status-pill.is-success,
html.admin-theme-dark .status-success,
html.admin-theme-dark .status-active,
html.admin-theme-dark .badge-success{
  background:var(--admin-dark-green-bg)!important;
  color:var(--admin-dark-green-text)!important;
  border-color:var(--admin-dark-green-border)!important;
}
html.admin-theme-dark .admin-status-pill.is-muted,
html.admin-theme-dark .admin-meta-pill--soft,
html.admin-theme-dark .status-default,
html.admin-theme-dark .badge-muted{
  background:#203654!important;
  color:#dbeafe!important;
  border-color:#4d6f9d!important;
}
html.admin-theme-dark .status-pending,
html.admin-theme-dark .admin-tag--neutral,
html.admin-theme-dark .admin-tag--blue,
html.admin-theme-dark .admin-tag--violet{
  background:#173a66!important;
  color:#e6f1ff!important;
  border-color:#4f7eb5!important;
}

/* Premium service active toggle row: no pale strip */
html.admin-theme-dark .premium-admin-service label:has(input[type="checkbox"]),
html.admin-theme-dark .premium-admin-service__body label:has(input[type="checkbox"]),
html.admin-theme-dark .premium-admin-service .checkbox-label,
html.admin-theme-dark .premium-admin-service .admin-checkbox-line{
  background:#102039!important;
  color:#f8fbff!important;
  border-color:#456b99!important;
}
html.admin-theme-dark .premium-admin-service label:has(input[type="checkbox"]) *,
html.admin-theme-dark .premium-admin-service__body label:has(input[type="checkbox"]) *{
  color:#f8fbff!important;
  opacity:1!important;
}
html.admin-theme-dark .premium-admin-service__icon{
  background:#1d3558!important;
  color:#ffffff!important;
  border-color:#4f7eb5!important;
}

/* Tables: prevent text from inheriting dark highlight strips on data labels */
html.admin-theme-dark .admin-title-cell .note,
html.admin-theme-dark .admin-table__subline,
html.admin-theme-dark .table-meta,
html.admin-theme-dark .note{
  color:var(--admin-dark-soft)!important;
  opacity:1!important;
  background:transparent!important;
}

/* Settings location overview scroll/list areas */
html.admin-theme-dark .admin-content .table-responsive,
html.admin-theme-dark .admin-content .admin-table-wrap,
html.admin-theme-dark .admin-content .language-text-table-wrap,
html.admin-theme-dark .admin-content .reported-listings-table-wrap{
  background:var(--admin-dark-card-2)!important;
  color:var(--admin-dark-text)!important;
  border-color:var(--admin-dark-border)!important;
}

/* CKEditor: dark shell and editor content area. */
html.admin-theme-dark .cke,
html.admin-theme-dark .cke_chrome,
html.admin-theme-dark .cke_inner,
html.admin-theme-dark .cke_contents{
  background:var(--admin-dark-card-2)!important;
  color:var(--admin-dark-text)!important;
  border-color:var(--admin-dark-border)!important;
}
html.admin-theme-dark .cke_top,
html.admin-theme-dark .cke_bottom,
html.admin-theme-dark .cke_toolbox{
  background:#13243d!important;
  color:var(--admin-dark-text)!important;
  border-color:var(--admin-dark-border)!important;
}
html.admin-theme-dark .cke_toolgroup,
html.admin-theme-dark .cke_combo_button,
html.admin-theme-dark .cke_button,
html.admin-theme-dark .cke_toolbar_separator{
  background:#eaf1fb!important;
  border-color:#c9d7ea!important;
}
html.admin-theme-dark .cke_wysiwyg_frame,
html.admin-theme-dark .cke_wysiwyg_div{
  background:#0d1a2d!important;
  color:#f8fbff!important;
}
html.admin-theme-dark .cke_reset_all,
html.admin-theme-dark .cke_reset_all *{
  color:#111827;
}

/* Placeholder helper strips in email template pages */
html.admin-theme-dark .template-placeholder-list,
html.admin-theme-dark .template-placeholder-list span,
html.admin-theme-dark .template-placeholder-box code,
html.admin-theme-dark .email-template-head code{
  background:#1b3152!important;
  color:#f8fbff!important;
  border-color:#456b99!important;
}
html.admin-theme-dark .template-placeholder-list span,
html.admin-theme-dark .template-placeholder-box code{
  display:inline-block;
  border-radius:999px;
  padding:4px 8px;
  margin:2px;
}

/* Light mode neutral pills still need readable text on blue/white screens */
.admin-theme-light .admin-status-pill,
.admin-theme-light .admin-tag,
.admin-theme-light .status-pill,
.admin-theme-light .badge,
.admin-theme-light .label,
.admin-theme-light .pill,
.admin-theme-light .chip{
  color:#10213f;
}

/* Safety net for inline hardcoded white backgrounds inside admin content only. */
html.admin-theme-dark .admin-content [style*="background:#fff"],
html.admin-theme-dark .admin-content [style*="background: #fff"],
html.admin-theme-dark .admin-content [style*="background-color:#fff"],
html.admin-theme-dark .admin-content [style*="background-color: #fff"],
html.admin-theme-dark .admin-content [style*="background:white"],
html.admin-theme-dark .admin-content [style*="background: white"]{
  background:var(--admin-dark-card-2)!important;
  color:var(--admin-dark-text)!important;
  border-color:var(--admin-dark-border)!important;
}

/* ======================================================================
   FINAL DARK MODE CSS - component coverage for remaining light spots
   Covers pills/badges, upload/drop zones, CKEditor shells, language chips,
   newsletter placeholder chips, report timelines, premium/service toggles.
   Keep this block at the very end of admin.css.
   ====================================================================== */
html.admin-theme-dark{
  --adm-bg-0:#081424;
  --adm-bg-1:#0d1c31;
  --adm-bg-2:#132741;
  --adm-bg-3:#173557;
  --adm-border:#31547c;
  --adm-border-soft:#244260;
  --adm-text:#f8fbff;
  --adm-text-2:#d7e6f7;
  --adm-muted:#a9bdd6;
  --adm-blue:#3b82f6;
  --adm-blue-soft:#1d4f8f;
  --adm-green-bg:#064e3b;
  --adm-green-text:#bbf7d0;
  --adm-yellow-bg:#713f12;
  --adm-yellow-text:#fde68a;
  --adm-red-bg:#7f1d1d;
  --adm-red-text:#fecaca;
}

html.admin-theme-dark body,
html.admin-theme-dark .admin-content{
  background:var(--adm-bg-0)!important;
  color:var(--adm-text)!important;
}

html.admin-theme-dark .admin-content :where(section, article, fieldset, .card, .panel, .box, .empty-state, .admin-card, .settings-panel, .field-admin-card, .field-form-shell, .lang-card, .language-tabs, .language-tab-panel, .language-tabs-nav, .admin-form-panel, .admin-section, .admin-filter-panel, .admin-list-card, .premium-admin-service, .ticket-card, .newsletter-card, .template-card, .report-card, .timeline-card, .timeline-item, .moderation-card, .settings-link-card){
  background:var(--adm-bg-1)!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border-soft)!important;
}

html.admin-theme-dark .admin-content :where(h1,h2,h3,h4,h5,h6,label,strong,b,legend,dt,th,td,p,li,span,small,a,div){
  text-shadow:none;
}

html.admin-theme-dark .admin-content :where(h1,h2,h3,h4,h5,h6,label,strong,b,legend,th){
  color:var(--adm-text)!important;
  opacity:1!important;
}

html.admin-theme-dark .admin-content :where(p,td,li,small,.note,.meta,.help,.hint,.description,.admin-muted,.admin-table__subline,.table-meta){
  color:var(--adm-text-2)!important;
  opacity:1!important;
}

html.admin-theme-dark .admin-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .form-control, .form-select){
  background:var(--adm-bg-0)!important;
  color:var(--adm-text)!important;
  border:1px solid var(--adm-border)!important;
  box-shadow:none!important;
}
html.admin-theme-dark .admin-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .form-control, .form-select):focus{
  border-color:#60a5fa!important;
  box-shadow:0 0 0 3px rgba(96,165,250,.18)!important;
  outline:none!important;
}
html.admin-theme-dark .admin-content :where(input, textarea)::placeholder{
  color:#8ea4bf!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(input[readonly], textarea[readonly], input:disabled, textarea:disabled, select:disabled){
  background:#0a1729!important;
  color:#9fb4ce!important;
  border-color:#263f5e!important;
  opacity:1!important;
}

/* Neutralize hardcoded light utility/classes inside admin content. */
html.admin-theme-dark .admin-content :where(.bg-white,.bg-light,.light,.placeholder-box,.helper-box,.info-box,.notice,.callout,.summary-box,.preview-box,.upload-preview-box,.ticket-dropzone,.image-dropzone,.file-dropzone,.dropzone,.upload-zone,.attachment-zone,.admin-upload-zone,.well,.list-group-item){
  background:var(--adm-bg-1)!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .admin-content :where(.bg-white,.bg-light,.light,.placeholder-box,.helper-box,.info-box,.notice,.callout,.summary-box,.preview-box,.upload-preview-box,.ticket-dropzone,.image-dropzone,.file-dropzone,.dropzone,.upload-zone,.attachment-zone,.admin-upload-zone,.well,.list-group-item) *{
  color:var(--adm-text-2)!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(.ticket-dropzone-label,.upload-preview-box label,.upload-preview-box span,.dropzone small,.ticket-file-list){
  color:var(--adm-text-2)!important;
}
html.admin-theme-dark .admin-content input[type="file"]{
  background:var(--adm-bg-0)!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .admin-content input[type="file"]::file-selector-button{
  background:#1d3558!important;
  color:var(--adm-text)!important;
  border:1px solid var(--adm-border)!important;
  border-radius:10px!important;
  padding:8px 12px!important;
}

/* Tables and table wrappers. */
html.admin-theme-dark .admin-content :where(table,.table,.admin-table){
  background:var(--adm-bg-1)!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border-soft)!important;
}
html.admin-theme-dark .admin-content :where(thead,tr,td,th){
  border-color:var(--adm-border-soft)!important;
}
html.admin-theme-dark .admin-content :where(thead,thead tr,thead th,.admin-table thead th,.table thead th){
  background:#0b192c!important;
  color:#cfe4ff!important;
}
html.admin-theme-dark .admin-content tbody tr:nth-child(even){
  background:#10243c!important;
}
html.admin-theme-dark .admin-content tbody tr:hover{
  background:#173557!important;
}

/* Status, priority, language and meta pills. */
html.admin-theme-dark .admin-content :where(.badge,.label,.pill,.chip,.tag,.admin-tag,.admin-meta-pill,.admin-status-pill,.status-pill,.status-badge,.priority-badge,.ticket-status-badge,.newsletter-status-pill,.premium-status-pill,.premium-badge,.promo-badge,.field-badge,.report-counter-badge,.language-code-badge,.settings-pill,.page-pill,.maintenance-status-pill){
  background:#1d3558!important;
  color:#f8fbff!important;
  border:1px solid #4f7eb5!important;
  box-shadow:none!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(.badge,.label,.pill,.chip,.tag,.admin-tag,.admin-meta-pill,.admin-status-pill,.status-pill,.status-badge,.priority-badge,.ticket-status-badge,.newsletter-status-pill,.premium-status-pill,.premium-badge,.promo-badge,.field-badge,.report-counter-badge,.language-code-badge,.settings-pill,.page-pill,.maintenance-status-pill) *{
  color:inherit!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(.status-active,.status-success,.is-success,.is-confirmed,.ticket-status-closed,.ticket-status-resolved,.premium-status-pill--paid){
  background:var(--adm-green-bg)!important;
  color:var(--adm-green-text)!important;
  border-color:#10b981!important;
}
html.admin-theme-dark .admin-content :where(.status-pending,.status-warning,.priority-badge--medium,.priority-badge--high,.is-pending){
  background:var(--adm-yellow-bg)!important;
  color:var(--adm-yellow-text)!important;
  border-color:#f59e0b!important;
}
html.admin-theme-dark .admin-content :where(.status-danger,.status-error,.priority-badge--urgent,.priority-badge--critical,.is-danger){
  background:var(--adm-red-bg)!important;
  color:var(--adm-red-text)!important;
  border-color:#ef4444!important;
}
html.admin-theme-dark .admin-content :where(.status-muted,.is-muted,.admin-meta-pill--soft,.priority-badge--low,.priority-badge--normal,.ticket-status-open,.ticket-status-queued){
  background:#173557!important;
  color:#dbeafe!important;
  border-color:#4f7eb5!important;
}

/* Premium matrix cards: icons, checkbox rows, previews. */
html.admin-theme-dark .premium-admin-service :where(.premium-admin-service__icon,.premium-service-icon){
  background:#203a61!important;
  color:#ffffff!important;
  border:1px solid #5c86bd!important;
}
html.admin-theme-dark .premium-admin-service :where(label:has(input[type="checkbox"]),.checkbox-label,.admin-checkbox-line,.premium-preview,.premium-service-preview){
  background:#10243c!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .premium-admin-service :where(label:has(input[type="checkbox"]),.checkbox-label,.admin-checkbox-line,.premium-preview,.premium-service-preview) *{
  color:var(--adm-text)!important;
  opacity:1!important;
}

/* CKEditor 4 shell. Content iframe gets its own contents.css below. */
html.admin-theme-dark .admin-content :where(.cke,.cke_chrome,.cke_inner,.cke_contents){
  background:#0d1c31!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .admin-content :where(.cke_top,.cke_bottom,.cke_toolbox,.cke_path){
  background:#132741!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .admin-content :where(.cke_toolgroup,.cke_combo_button,.cke_button,.cke_toolbar_separator){
  background:#edf4ff!important;
  border-color:#c9d7ea!important;
  color:#111827!important;
}
html.admin-theme-dark .admin-content .cke_wysiwyg_frame,
html.admin-theme-dark .admin-content .cke_wysiwyg_div{
  background:#0d1c31!important;
  color:var(--adm-text)!important;
}
html.admin-theme-dark .admin-content .cke_reset_all,
html.admin-theme-dark .admin-content .cke_reset_all *{
  color:#111827!important;
}
html.admin-theme-dark .admin-content .cke_editable,
html.admin-theme-dark .admin-content .cke_editable *{
  color:var(--adm-text)!important;
}

/* Language tabs + placeholders. */
html.admin-theme-dark .admin-content :where(.language-tab-button,.language-tab-status,.template-placeholder-list,.template-placeholder-list span,.template-placeholder-box,.template-placeholder-box code,.email-template-head code,.placeholder-token,.placeholder-chip){
  background:#1d3558!important;
  color:#f8fbff!important;
  border-color:#4f7eb5!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .language-tab-button.is-active{
  background:linear-gradient(135deg,#2563eb,#3b82f6)!important;
  color:#ffffff!important;
}

/* Report timeline/details cards. */
html.admin-theme-dark .admin-content :where(.report-history-item,.history-item,.moderation-history-item,.report-message,.report-detail,.listing-report-card){
  background:#10243c!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .admin-content :where(.report-history-item,.history-item,.moderation-history-item,.report-message,.report-detail,.listing-report-card) *{
  color:var(--adm-text-2)!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(.report-history-item strong,.history-item strong,.moderation-history-item strong,.report-message strong,.report-detail strong,.listing-report-card strong){
  color:var(--adm-text)!important;
}

/* Safety net for inline light colors/backgrounds from older views. */
html.admin-theme-dark .admin-content [style*="background:#f"],
html.admin-theme-dark .admin-content [style*="background: #f"],
html.admin-theme-dark .admin-content [style*="background-color:#f"],
html.admin-theme-dark .admin-content [style*="background-color: #f"],
html.admin-theme-dark .admin-content [style*="background:white"],
html.admin-theme-dark .admin-content [style*="background: white"]{
  background:var(--adm-bg-1)!important;
  color:var(--adm-text)!important;
  border-color:var(--adm-border)!important;
}
html.admin-theme-dark .admin-content [style*="color:#0"],
html.admin-theme-dark .admin-content [style*="color: #0"],
html.admin-theme-dark .admin-content [style*="color:#1"],
html.admin-theme-dark .admin-content [style*="color: #1"]{
  color:var(--adm-text)!important;
}

/* === v12: final remaining dark-mode cleanup === */
html.admin-theme-dark .admin-content .editor-wrap,
html.admin-theme-dark .admin-content .editor-wrap > h3,
html.admin-theme-dark .admin-content .editor-wrap > p,
html.admin-theme-dark .admin-content .editor-wrap > .note,
html.admin-theme-dark .admin-content .editor-wrap .cke,
html.admin-theme-dark .admin-content .editor-wrap .cke_chrome,
html.admin-theme-dark .admin-content .editor-wrap .cke_inner{
  background:#0c1a2c!important;
  color:#f7fbff!important;
  border-color:#3b638e!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .editor-wrap > h3{
  margin:0!important;
  padding:14px 16px!important;
  border-bottom:1px solid #3b638e!important;
}
html.admin-theme-dark .admin-content .editor-wrap > p,
html.admin-theme-dark .admin-content .editor-wrap > .note{
  margin:0!important;
  padding:10px 16px!important;
  color:#d9e8fb!important;
}
html.admin-theme-dark .admin-content .cke_top,
html.admin-theme-dark .admin-content .cke_bottom,
html.admin-theme-dark .admin-content .cke_toolbox,
html.admin-theme-dark .admin-content .cke_path{
  background:#0f2036!important;
  border-color:#3b638e!important;
}
html.admin-theme-dark .admin-content .cke_toolgroup,
html.admin-theme-dark .admin-content .cke_combo_button,
html.admin-theme-dark .admin-content .cke_button,
html.admin-theme-dark .admin-content .cke_toolbar_separator{
  background:#e7f0fb!important;
  border-color:#b9cce4!important;
  color:#0b1626!important;
}
html.admin-theme-dark .admin-content .cke_contents,
html.admin-theme-dark .admin-content .cke_wysiwyg_frame,
html.admin-theme-dark .admin-content .cke_wysiwyg_div{
  background:#0c1a2c!important;
  color:#f7fbff!important;
}
html.admin-theme-dark .admin-content :where(.priority-badge,.priority-badge--low,.priority-badge--normal,.newsletter-status-pill,.language-inline-order,.report-counter-badge,.settings-iso,.field-badge--muted,.admin-status-pill.is-muted,.status-default){
  background:#1d3558!important;
  color:#f7fbff!important;
  border:1px solid #5b86bd!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content :where(.priority-badge,.priority-badge--low,.priority-badge--normal,.newsletter-status-pill,.language-inline-order,.report-counter-badge,.settings-iso,.field-badge--muted,.admin-status-pill.is-muted,.status-default) *{
  color:inherit!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .priority-badge--low{
  background:#203a61!important;
  color:#eaf3ff!important;
}
html.admin-theme-dark .admin-content .priority-badge--high,
html.admin-theme-dark .admin-content .priority-badge--urgent{
  background:#78350f!important;
  color:#fde68a!important;
  border-color:#f59e0b!important;
}
html.admin-theme-dark .admin-content .newsletter-status-pill,
html.admin-theme-dark .admin-content .status-sent,
html.admin-theme-dark .admin-content .status-pill.status-sent{
  background:#123f31!important;
  color:#bbf7d0!important;
  border-color:#10b981!important;
}
html.admin-theme-dark .dashboard-stat-icon,
html.admin-theme-dark .activity-icon,
html.admin-theme-dark .quick-access-item span,
html.admin-theme-dark .premium-medal{
  background:#1d3558!important;
  color:#dbeafe!important;
  border:1px solid #5b86bd!important;
  box-shadow:none!important;
}
html.admin-theme-dark .activity-item.is-system .activity-icon,
html.admin-theme-dark .dashboard-stat-card.is-orange .dashboard-stat-icon{
  background:#3b2a14!important;
  color:#fbbf24!important;
  border-color:#92400e!important;
}
html.admin-theme-dark .dashboard-stat-card.is-blue .dashboard-stat-icon,
html.admin-theme-dark .quick-access-item.is-blue span{
  background:#12345f!important;
  color:#93c5fd!important;
  border-color:#3b82f6!important;
}
html.admin-theme-dark .dashboard-stat-card.is-green .dashboard-stat-icon,
html.admin-theme-dark .quick-access-item.is-green span{
  background:#123f31!important;
  color:#86efac!important;
  border-color:#10b981!important;
}
html.admin-theme-dark .dashboard-stat-card.is-purple .dashboard-stat-icon,
html.admin-theme-dark .quick-access-item.is-purple span{
  background:#33235f!important;
  color:#c4b5fd!important;
  border-color:#8b5cf6!important;
}
html.admin-theme-dark .quick-access-item,
html.admin-theme-dark .activity-item{
  background:#102139!important;
  color:#f7fbff!important;
  border-color:#2a4b72!important;
}
html.admin-theme-dark .premium-medal svg,
html.admin-theme-dark .activity-icon svg,
html.admin-theme-dark .quick-access-item svg{
  color:inherit!important;
  stroke:currentColor!important;
}

/* === v13: language text table readability fix === */
html.admin-theme-dark .admin-content .language-text-table,
html.admin-theme-dark .admin-content .language-text-table tbody,
html.admin-theme-dark .admin-content .language-text-table tr,
html.admin-theme-dark .admin-content .language-text-table td,
html.admin-theme-dark .admin-content .language-text-table th{
  background:#10243c!important;
  color:#f8fbff!important;
  border-color:#3b638e!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .language-text-table thead th{
  background:#0c1a2c!important;
  color:#dbeafe!important;
}
html.admin-theme-dark .admin-content .language-text-table tbody tr:nth-child(odd),
html.admin-theme-dark .admin-content .language-text-table tbody tr:nth-child(even){
  background:#10243c!important;
}
html.admin-theme-dark .admin-content .language-text-table :where(.source-copy,.translated-copy),
html.admin-theme-dark .admin-content .language-text-table :where(.source-copy,.translated-copy) *{
  color:#f8fbff!important;
  background:transparent!important;
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .admin-content .language-text-table .translated-copy{
  color:#e5efff!important;
  font-weight:600!important;
}
html.admin-theme-dark .admin-content .language-text-table .source-copy{
  color:#cfe3ff!important;
}
html.admin-theme-dark .admin-content .language-text-table .table-actions a,
html.admin-theme-dark .admin-content .language-text-table .table-actions button{
  color:#ffffff!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .language-text-state,
html.admin-theme-dark .admin-content .language-text-state.is-ok,
html.admin-theme-dark .admin-content .language-text-state.is-pending{
  background:#123f31!important;
  color:#dcfce7!important;
  border:1px solid #10b981!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .language-filter-row .filter-chip:not(.is-active){
  background:#1d3558!important;
  color:#dbeafe!important;
  border-color:#5b86bd!important;
  opacity:1!important;
}

tr[draggable="true"]{cursor:move}tr.is-dragging{opacity:.55}.checkbox-label{display:flex;align-items:center;gap:.5rem}.checkbox-label input{width:auto}

.help-inline-admin-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 .75rem;
}

.help-inline-admin-tools .btn-secondary {
  border-radius: 999px;
  padding: .5rem .8rem;
  font-weight: 700;
}

/* Help center article form polish */
#help-article-form.help-admin-form{
  padding:0;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(148,163,184,.28);
  border-radius:26px;
  box-shadow:0 22px 55px rgba(15,23,42,.08);
}
.help-admin-page-head{
  padding:30px 32px 24px;
  margin:0;
  border-bottom:1px solid rgba(148,163,184,.22);
  background:radial-gradient(circle at 12% 0%,rgba(37,99,235,.10),transparent 28%),linear-gradient(135deg,#fff,#f7fbff);
}
.help-admin-page-head h1{
  margin:4px 0 8px;
  font-size:clamp(1.9rem,2.4vw,2.55rem);
  letter-spacing:-.04em;
}
.help-admin-eyebrow{
  margin:0;
  color:#2563eb;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.help-admin-section{
  margin:24px 32px;
  padding:24px;
  border:1px solid rgba(148,163,184,.26);
  border-radius:24px;
  background:rgba(255,255,255,.92);
  box-shadow:0 16px 38px rgba(15,23,42,.055);
}
.help-admin-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.help-admin-section__head--compact{margin-bottom:18px}
.help-admin-section__head h2{
  margin:5px 0 0;
  font-size:1.35rem;
  line-height:1.2;
  letter-spacing:-.03em;
  color:#0f172a;
}
.help-admin-settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.help-admin-field-card{
  padding:18px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:20px;
  background:#f8fafc;
}
.help-admin-field-card--wide{grid-column:1/-1}
.help-admin-field-card h3,
.help-admin-editor-card h3{
  margin:0 0 14px;
  color:#0f172a;
  font-size:1.02rem;
  letter-spacing:-.02em;
}
.help-admin-field-grid{display:grid;gap:14px}
.help-admin-field-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.help-admin-field-card label,
.help-admin-translation-grid label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#334155;
  font-weight:800;
  font-size:.92rem;
}
.help-admin-field-card input,
.help-admin-field-card select,
.help-admin-translation-grid input,
.help-admin-translation-grid select,
.help-admin-translation-grid textarea,
.help-admin-editor-card textarea{
  width:100%;
  min-height:44px;
  border:1px solid rgba(148,163,184,.42);
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  padding:11px 13px;
  box-shadow:0 1px 0 rgba(255,255,255,.75), inset 0 1px 2px rgba(15,23,42,.025);
  transition:border-color .16s ease, box-shadow .16s ease;
}
.help-admin-field-card input:focus,
.help-admin-field-card select:focus,
.help-admin-translation-grid input:focus,
.help-admin-translation-grid select:focus,
.help-admin-translation-grid textarea:focus,
.help-admin-editor-card textarea:focus{
  outline:0;
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.11);
}
.help-admin-help-text{
  margin:10px 0 0;
  color:#64748b;
  font-size:.88rem;
  line-height:1.55;
}
.help-admin-toggle{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.25);
  border-radius:18px;
  background:#f8fafc;
  cursor:pointer;
}
.help-admin-toggle input{position:absolute;opacity:0;pointer-events:none}
.help-admin-toggle__control{
  position:relative;
  width:46px;
  height:26px;
  flex:0 0 auto;
  border-radius:999px;
  background:#cbd5e1;
  transition:background .18s ease;
}
.help-admin-toggle__control::after{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(15,23,42,.22);
  transition:transform .18s ease;
}
.help-admin-toggle input:checked + .help-admin-toggle__control{background:#2563eb}
.help-admin-toggle input:checked + .help-admin-toggle__control::after{transform:translateX(20px)}
.help-admin-toggle__copy{display:grid;gap:2px;min-width:0}
.help-admin-toggle__copy strong{color:#0f172a;font-size:.92rem;font-weight:900}
.help-admin-toggle__copy small{color:#64748b;font-size:.8rem;line-height:1.3}
.help-admin-language-section{margin-top:22px}
.help-admin-translation-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.help-admin-translation-grid .form-grid-span-2{grid-column:1/-1}
.help-admin-editor-card{
  margin-top:18px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(148,163,184,.22);
  background:#f8fafc;
}
.help-inline-admin-tools{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 14px;
}
.help-inline-admin-tools .btn-secondary{
  min-height:38px;
  border-radius:999px;
  background:#fff;
}
.help-admin-actions{
  position:sticky;
  bottom:0;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
  margin:0;
  padding:18px 32px;
  border-top:1px solid rgba(148,163,184,.24);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(12px);
}

/* Page editor form polish */
#page-form.page-admin-form{
  padding:0;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(148,163,184,.28);
  border-radius:26px;
  box-shadow:0 22px 55px rgba(15,23,42,.08);
}
.page-admin-page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:30px 32px 24px;
  border-bottom:1px solid rgba(148,163,184,.22);
  background:radial-gradient(circle at 12% 0%,rgba(37,99,235,.10),transparent 28%),linear-gradient(135deg,#fff,#f7fbff);
}
.page-admin-page-head h1{
  margin:4px 0 8px;
  font-size:clamp(1.9rem,2.4vw,2.55rem);
  letter-spacing:-.04em;
  color:#0f172a;
}
.page-admin-page-head p:not(.page-admin-eyebrow){
  margin:0;
  max-width:760px;
  color:#64748b;
  line-height:1.65;
}
.page-admin-eyebrow{
  margin:0;
  color:#2563eb;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.page-admin-section{
  margin:24px 32px;
  padding:24px;
  border:1px solid rgba(148,163,184,.26);
  border-radius:24px;
  background:rgba(255,255,255,.92);
  box-shadow:0 16px 38px rgba(15,23,42,.055);
}
.page-admin-section__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.page-admin-section__head h2{
  margin:5px 0 0;
  color:#0f172a;
  font-size:1.35rem;
  line-height:1.2;
  letter-spacing:-.03em;
}
.page-admin-section__head p:not(.page-admin-eyebrow){
  margin:7px 0 0;
  color:#64748b;
  line-height:1.55;
}
.page-admin-field-grid,
.page-admin-translation-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.page-admin-field--wide,
.page-admin-translation-grid .form-grid-span-2{grid-column:1/-1}
.page-admin-field,
.page-admin-translation-grid label:not(.page-admin-toggle){
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#334155;
  font-weight:800;
  font-size:.92rem;
}
.page-admin-field input,
.page-admin-translation-grid input,
.page-admin-translation-grid select,
.page-admin-translation-grid textarea{
  width:100%;
  min-height:44px;
  border:1px solid rgba(148,163,184,.42);
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  padding:11px 13px;
  box-shadow:0 1px 0 rgba(255,255,255,.75), inset 0 1px 2px rgba(15,23,42,.025);
  transition:border-color .16s ease, box-shadow .16s ease;
}
.page-admin-field input:focus,
.page-admin-translation-grid input:focus,
.page-admin-translation-grid select:focus,
.page-admin-translation-grid textarea:focus{
  outline:0;
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.11);
}
.page-admin-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.page-admin-info-grid div{
  padding:14px 15px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.22);
  color:#64748b;
  font-size:.9rem;
  line-height:1.5;
}
.page-admin-language-tabs{
  padding:0;
  border:0;
  background:transparent;
}
.page-admin-language-tabs .language-tabs-nav{
  margin:0 0 18px;
  padding:10px;
  border-radius:20px;
  background:#f1f5f9;
  border:1px solid rgba(148,163,184,.22);
}
.page-admin-language-tabs .language-tab-panel{
  padding:20px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(148,163,184,.22);
}
.page-admin-editor-card{
  margin-top:18px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(148,163,184,.22);
  background:#f8fafc;
}
.page-admin-editor-card h3{
  margin:0 0 14px;
  color:#0f172a;
  font-size:1.05rem;
  letter-spacing:-.02em;
}
.page-admin-toggle{
  display:flex!important;
  flex-direction:row!important;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.25);
  border-radius:18px;
  background:#f8fafc;
  cursor:pointer;
}
.page-admin-toggle input{position:absolute;opacity:0;pointer-events:none}
.page-admin-toggle__control{
  position:relative;
  width:46px;
  height:26px;
  flex:0 0 auto;
  border-radius:999px;
  background:#cbd5e1;
  transition:background .18s ease;
}
.page-admin-toggle__control::after{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(15,23,42,.22);
  transition:transform .18s ease;
}
.page-admin-toggle input:checked + .page-admin-toggle__control{background:#2563eb}
.page-admin-toggle input:checked + .page-admin-toggle__control::after{transform:translateX(20px)}
.page-admin-toggle__copy{display:grid;gap:2px;min-width:0}
.page-admin-toggle__copy strong{color:#0f172a;font-size:.92rem;font-weight:900}
.page-admin-toggle__copy small{color:#64748b;font-size:.8rem;line-height:1.3}
.page-admin-actions{
  position:sticky;
  bottom:0;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
  margin:0;
  padding:18px 32px;
  border-top:1px solid rgba(148,163,184,.24);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(12px);
}

/* Dark mode polish for admin editor screens */

/* removed automatic OS dark-mode block; manual adminTheme toggle controls dark mode */

/* Final dark mode correction for page/help editor screens */
html.admin-theme-dark #page-form.page-admin-form,
html.admin-theme-dark #help-article-form.help-admin-form{
  background:#07111f!important;
  border-color:#2d4b70!important;
  color:#f3f7ff!important;
  box-shadow:0 24px 70px rgba(0,0,0,.36)!important;
}
html.admin-theme-dark .page-admin-page-head,
html.admin-theme-dark .help-admin-page-head{
  background:radial-gradient(circle at 12% 0%,rgba(59,130,246,.20),transparent 34%),linear-gradient(135deg,#0b1627 0%,#10223a 100%)!important;
  border-bottom-color:#2d4b70!important;
  color:#f3f7ff!important;
}
html.admin-theme-dark .page-admin-page-head h1,
html.admin-theme-dark .help-admin-page-head h1,
html.admin-theme-dark .page-admin-section__head h2,
html.admin-theme-dark .help-admin-section__head h2,
html.admin-theme-dark .page-admin-editor-card h3,
html.admin-theme-dark .help-admin-editor-card h3,
html.admin-theme-dark .page-admin-field,
html.admin-theme-dark .help-admin-field-card label,
html.admin-theme-dark .page-admin-translation-grid label,
html.admin-theme-dark .help-admin-translation-grid label,
html.admin-theme-dark .page-admin-toggle__copy strong,
html.admin-theme-dark .help-admin-toggle__copy strong{
  color:#f3f7ff!important;
}
html.admin-theme-dark .page-admin-page-head p:not(.page-admin-eyebrow),
html.admin-theme-dark .help-admin-page-head p:not(.help-admin-eyebrow),
html.admin-theme-dark .page-admin-section__head p:not(.page-admin-eyebrow),
html.admin-theme-dark .help-admin-help-text,
html.admin-theme-dark .page-admin-toggle__copy small,
html.admin-theme-dark .help-admin-toggle__copy small{
  color:#b6c6dc!important;
}
html.admin-theme-dark .page-admin-eyebrow,
html.admin-theme-dark .help-admin-eyebrow{
  color:#93c5fd!important;
}
html.admin-theme-dark .page-admin-section,
html.admin-theme-dark .help-admin-section,
html.admin-theme-dark .page-admin-language-tabs .language-tab-panel,
html.admin-theme-dark .help-admin-field-card,
html.admin-theme-dark .page-admin-editor-card,
html.admin-theme-dark .help-admin-editor-card,
html.admin-theme-dark .page-admin-toggle,
html.admin-theme-dark .help-admin-toggle{
  background:#0d1a2c!important;
  border-color:#2d4b70!important;
  color:#f3f7ff!important;
  box-shadow:0 18px 45px rgba(0,0,0,.24)!important;
}
html.admin-theme-dark .page-admin-info-grid div,
html.admin-theme-dark .admin-note,
html.admin-theme-dark .notice,
html.admin-theme-dark .hint-card,
html.admin-theme-dark .info-card{
  background:#12243b!important;
  border-color:#2d4b70!important;
  color:#dbeafe!important;
}
html.admin-theme-dark .page-admin-language-tabs .language-tabs-nav,
html.admin-theme-dark .language-tabs-nav{
  background:#0a1d32!important;
  border-color:#2d4b70!important;
}
html.admin-theme-dark .page-admin-field input,
html.admin-theme-dark .page-admin-translation-grid input,
html.admin-theme-dark .page-admin-translation-grid select,
html.admin-theme-dark .page-admin-translation-grid textarea,
html.admin-theme-dark .help-admin-field-card input,
html.admin-theme-dark .help-admin-field-card select,
html.admin-theme-dark .help-admin-translation-grid input,
html.admin-theme-dark .help-admin-translation-grid select,
html.admin-theme-dark .help-admin-translation-grid textarea,
html.admin-theme-dark .help-admin-editor-card textarea{
  background:#08182a!important;
  border-color:#3c5f8b!important;
  color:#f3f7ff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .page-admin-actions,
html.admin-theme-dark .help-admin-actions{
  background:rgba(7,17,31,.96)!important;
  border-top-color:#2d4b70!important;
  box-shadow:0 -18px 38px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(16px)!important;
}
html.admin-theme-dark .page-admin-actions::before,
html.admin-theme-dark .help-admin-actions::before{
  content:none!important;
}
html.admin-theme-dark .page-admin-toggle__control,
html.admin-theme-dark .help-admin-toggle__control{
  background:#3c5f8b!important;
}
html.admin-theme-dark .page-admin-toggle input:checked + .page-admin-toggle__control,
html.admin-theme-dark .help-admin-toggle input:checked + .help-admin-toggle__control{
  background:#3b82f6!important;
}
html.admin-theme-dark .cke,
html.admin-theme-dark .cke_chrome,
html.admin-theme-dark .cke_inner,
html.admin-theme-dark .cke_contents{
  background:#08182a!important;
  border-color:#3c5f8b!important;
}
html.admin-theme-dark .cke_bottom,
html.admin-theme-dark .cke_top,
html.admin-theme-dark .cke_path{
  background:#0a1d32!important;
  border-color:#3c5f8b!important;
}
html.admin-theme-dark .cke_wysiwyg_frame,
html.admin-theme-dark .cke_wysiwyg_div{
  background:#08182a!important;
  color:#f3f7ff!important;
}

/* removed automatic OS dark-mode block; manual adminTheme toggle controls dark mode */

/* Verification admin dashboard */
.verification-admin-page{padding:32px;}
.verification-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px;}
.verification-page-header h1{font-size:38px;line-height:1.1;font-weight:800;margin:10px 0;color:#0f2a4d;}
.verification-page-header p{margin:0;color:#64748b;font-size:15px;max-width:760px;}
.verification-eyebrow{color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;}
.verification-permission-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px 16px;min-width:220px;display:flex;flex-direction:column;gap:4px;color:#0f172a;box-shadow:0 10px 28px rgba(15,23,42,.06);}
.verification-permission-note strong{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;}
.verification-permission-note span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px;}
.verification-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px;}
.verification-filters a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;color:#0f172a;text-decoration:none;font-weight:700;transition:all .18s ease;}
.verification-filters a:hover{background:#e2e8f0;transform:translateY(-1px);}
.verification-filters a.is-active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.22);}
.verification-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px rgba(15,23,42,.07);}
.verification-table-wrap{width:100%;overflow-x:auto;}
.verification-table{width:100%;border-collapse:collapse;min-width:980px;}
.verification-table thead{background:#f8fafc;}
.verification-table th{padding:16px 18px;text-align:left;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#64748b;font-weight:800;border-bottom:1px solid #e2e8f0;}
.verification-table td{padding:18px;border-top:1px solid #f1f5f9;vertical-align:middle;color:#0f172a;}
.verification-table tbody tr:hover{background:#fbfdff;}
.verification-user-cell{display:flex;flex-direction:column;gap:4px;}
.verification-user-cell strong{font-size:15px;color:#0f172a;}
.verification-user-cell small,.verification-muted,.verification-document-cell small{color:#94a3b8;font-size:13px;}
.verification-value{max-width:260px;word-break:break-word;}
.verification-type{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:13px;font-weight:800;}
.verification-type-email{background:#dbeafe;color:#1e40af;}
.verification-type-phone{background:#dcfce7;color:#166534;}
.verification-type-id,.verification-type-document{background:#fef3c7;color:#92400e;}
.verification-document-cell{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
.verification-status-badge{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:800;}
.verification-status-pending{background:#fef3c7;color:#92400e;}
.verification-status-approved{background:#dcfce7;color:#166534;}
.verification-status-rejected{background:#fee2e2;color:#991b1b;}
.verification-document-link{display:inline-flex;align-items:center;color:#2563eb;text-decoration:none;font-weight:700;font-size:13px;}
.verification-document-link:hover{text-decoration:underline;}
.verification-action-form{display:flex;flex-direction:column;gap:10px;min-width:260px;}
.verification-action-form input[type="text"]{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;background:#fff;color:#0f172a;}
.verification-action-form input[type="text"]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.verification-action-buttons{display:flex;gap:8px;flex-wrap:wrap;}
.verification-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:46px 20px;color:#64748b;gap:8px;}
.verification-empty-state strong{color:#0f172a;font-size:18px;}
html.admin-theme-dark .verification-page-header h1,html.admin-theme-dark .verification-table td,html.admin-theme-dark .verification-user-cell strong,html.admin-theme-dark .verification-empty-state strong{color:#f3f7ff!important;}
html.admin-theme-dark .verification-page-header p,html.admin-theme-dark .verification-eyebrow,html.admin-theme-dark .verification-user-cell small,html.admin-theme-dark .verification-muted,html.admin-theme-dark .verification-document-cell small{color:#b6c7e3!important;}
html.admin-theme-dark .verification-table-card,html.admin-theme-dark .verification-permission-note{background:#0a1d32!important;border-color:#2d4b70!important;box-shadow:none!important;}
html.admin-theme-dark .verification-table thead{background:#08182a!important;}
html.admin-theme-dark .verification-table th{color:#b6c7e3!important;border-color:#2d4b70!important;}
html.admin-theme-dark .verification-table td{border-color:#16365d!important;}
html.admin-theme-dark .verification-table tbody tr:hover{background:#0d2743!important;}
html.admin-theme-dark .verification-filters a{background:#08182a!important;border-color:#2d4b70!important;color:#f3f7ff!important;}
html.admin-theme-dark .verification-filters a.is-active{background:#3b82f6!important;border-color:#3b82f6!important;color:#fff!important;}
html.admin-theme-dark .verification-action-form input[type="text"]{background:#08182a!important;border-color:#3c5f8b!important;color:#f3f7ff!important;}

/* Verification admin v6 dark/light polish */
.verification-page-header{align-items:flex-start!important;}
.verification-action-stack{display:flex;flex-direction:column;gap:10px;align-items:flex-start;}
.verification-review-panel{margin-top:10px;width:min(360px,100%);padding:14px;border:1px solid #dbe4f0;border-radius:16px;background:#f8fafc;box-shadow:0 14px 35px rgba(15,23,42,.10);}
.verification-review-panel[hidden]{display:none!important;}
.verification-review-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.verification-review-panel__head strong{font-size:14px;color:#0f172a;}
.verification-review-close{appearance:none;border:0;background:transparent;color:#64748b;font-size:22px;line-height:1;cursor:pointer;padding:2px 4px;border-radius:8px;}
.verification-review-close:hover{background:#e2e8f0;color:#0f172a;}
.verification-review-panel label{display:flex;flex-direction:column;gap:7px;margin:0 0 10px;}
.verification-review-panel label span{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;}
.verification-review-panel textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;background:#fff;color:#0f172a;resize:none;min-height:92px;}
.verification-review-panel textarea:focus{outline:0;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.verification-permission-inline{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:8px 0 12px;padding:9px 10px;border-radius:12px;background:#eef6ff;color:#1e3a8a;font-size:12px;}
.verification-permission-inline span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}
.verification-table-card,.verification-table-card *{scrollbar-color:#94a3b8 transparent;}
.verification-table-card ::-webkit-scrollbar{height:0;width:0;}
.verification-table-card ::-webkit-scrollbar-thumb{background:transparent;}
.verification-action-buttons button{white-space:nowrap;}
.verification-action-buttons button::after,.verification-review-panel button::after{display:none!important;content:none!important;}
.verification-review-panel summary::marker,.verification-review-panel summary::-webkit-details-marker{display:none!important;content:""!important;}
html.admin-theme-dark .verification-admin-page{background:transparent!important;}
html.admin-theme-dark .verification-page-header h1,html.admin-theme-dark .verification-table td,html.admin-theme-dark .verification-user-cell strong,html.admin-theme-dark .verification-empty-state strong,html.admin-theme-dark .verification-review-panel__head strong{color:#f3f7ff!important;}
html.admin-theme-dark .verification-page-header p,html.admin-theme-dark .verification-eyebrow,html.admin-theme-dark .verification-user-cell small,html.admin-theme-dark .verification-muted,html.admin-theme-dark .verification-document-cell small,html.admin-theme-dark .verification-review-panel label span{color:#b6c7e3!important;}
html.admin-theme-dark .verification-table-card,html.admin-theme-dark .verification-review-panel{background:#0b1f36!important;border-color:#2d4b70!important;box-shadow:none!important;}
html.admin-theme-dark .verification-table thead{background:#08182a!important;}
html.admin-theme-dark .verification-table th{color:#b6c7e3!important;border-color:#2d4b70!important;}
html.admin-theme-dark .verification-table td{border-color:#183a63!important;background:transparent!important;}
html.admin-theme-dark .verification-table tbody tr:hover{background:#0f2a47!important;}
html.admin-theme-dark .verification-filters a{background:#08182a!important;border-color:#2d4b70!important;color:#f3f7ff!important;}
html.admin-theme-dark .verification-filters a:hover{background:#102a46!important;}
html.admin-theme-dark .verification-filters a.is-active{background:#3b82f6!important;border-color:#3b82f6!important;color:#fff!important;box-shadow:none!important;}
html.admin-theme-dark .verification-review-panel textarea{background:#08182a!important;border-color:#3c5f8b!important;color:#f3f7ff!important;box-shadow:none!important;}
html.admin-theme-dark .verification-review-close{color:#b6c7e3!important;}
html.admin-theme-dark .verification-review-close:hover{background:#16365d!important;color:#fff!important;}
html.admin-theme-dark .verification-permission-inline{background:#102a46!important;color:#dbeafe!important;border:1px solid #2d4b70!important;}
html.admin-theme-dark .verification-document-link{color:#93c5fd!important;}

/* Verification v7 visual fixes: readable dark-mode badges and right aligned method stats */
.verification-table .verification-type,
.verification-table .verification-status-badge{
  color:#0f172a!important;
  border:1px solid rgba(15,23,42,.10);
}
.verification-table .verification-type-email{background:#dbeafe!important;color:#1e3a8a!important;}
.verification-table .verification-type-phone{background:#dcfce7!important;color:#14532d!important;}
.verification-table .verification-type-identity,
.verification-table .verification-type-id,
.verification-table .verification-type-document{background:#fef3c7!important;color:#78350f!important;}
.verification-table .verification-type-default{background:#e2e8f0!important;color:#334155!important;}
.verification-table .verification-status-pending{background:#fef3c7!important;color:#78350f!important;}
.verification-table .verification-status-approved{background:#dcfce7!important;color:#14532d!important;}
.verification-table .verification-status-rejected{background:#fee2e2!important;color:#7f1d1d!important;}
html.admin-theme-dark .verification-table .verification-type,
html.admin-theme-dark .verification-table .verification-status-badge{
  border-color:rgba(255,255,255,.18)!important;
  text-shadow:none!important;
}
html.admin-theme-dark .verification-table .verification-type-email{background:#bfdbfe!important;color:#0f2a4d!important;}
html.admin-theme-dark .verification-table .verification-type-phone{background:#bbf7d0!important;color:#052e16!important;}
html.admin-theme-dark .verification-table .verification-type-identity,
html.admin-theme-dark .verification-table .verification-type-id,
html.admin-theme-dark .verification-table .verification-type-document{background:#fde68a!important;color:#451a03!important;}
html.admin-theme-dark .verification-table .verification-type-default{background:#dbeafe!important;color:#0f2a4d!important;}
html.admin-theme-dark .verification-table .verification-status-pending{background:#fde68a!important;color:#451a03!important;}
html.admin-theme-dark .verification-table .verification-status-approved{background:#bbf7d0!important;color:#052e16!important;}
html.admin-theme-dark .verification-table .verification-status-rejected{background:#fecaca!important;color:#450a0a!important;}
.verification-settings-hero{align-items:center;}
.verification-settings-hero .analytics-admin-stats{
  margin-left:auto;
  justify-content:end;
  justify-items:stretch;
  grid-template-columns:repeat(2,minmax(130px,1fr));
  min-width:320px;
  max-width:360px;
}
.verification-settings-hero .mini-stat{
  min-height:70px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
@media (min-width:1101px){
  .verification-settings-hero>div:first-child{max-width:calc(100% - 410px);}
}

/* Improved admin user edit form */
.admin-user-edit-page .admin-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.admin-user-edit-page .admin-eyebrow {
  margin: 0 0 6px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-user-edit-page .admin-muted {
  margin: 8px 0 0;
  color: #64748b;
  max-width: 680px;
}
.admin-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}
.admin-status-pill.is-success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.admin-status-pill.is-danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.admin-user-edit-card {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}
.admin-user-section {
  padding: 26px 28px;
  border-bottom: 1px solid #e5edf7;
}
.admin-user-section h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}
.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.admin-field-grid label span,
.admin-switch-row span {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}
.admin-field-grid input,
.admin-field-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03);
}

.admin-field-grid input:focus,
.admin-field-grid select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.admin-field-grid input:disabled,
.admin-field-grid input[readonly] {
  background: #f8fafc;
  color: #334155;
  opacity: 1;
}
.admin-switch-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  background: #fff;
}
.admin-switch-row span {
  margin: 0;
}
.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 28px;
  background: #f8fafc;
}

/* Fix: user edit form action bar/card in dark mode must not stay white */
html.admin-theme-dark .admin-user-edit-card {
  background: linear-gradient(180deg, var(--adm-bg-2, #132741) 0%, var(--adm-bg-1, #0d1c31) 100%) !important;
  border-color: var(--adm-border, #294766) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .28) !important;
}
html.admin-theme-dark .admin-user-section {
  border-bottom-color: var(--adm-border, #294766) !important;
}
html.admin-theme-dark .admin-user-section h2,
html.admin-theme-dark .admin-field-grid label span,
html.admin-theme-dark .admin-switch-row span {
  color: var(--adm-text, #eef5ff) !important;
}
html.admin-theme-dark .admin-field-grid input,
html.admin-theme-dark .admin-field-grid select {
  background: var(--adm-bg-1, #0d1c31) !important;
  color: var(--adm-text, #eef5ff) !important;
  border-color: var(--adm-border, #294766) !important;
}
html.admin-theme-dark .admin-field-grid input:disabled,
html.admin-theme-dark .admin-field-grid input[readonly] {
  background: var(--adm-bg-0, #081424) !important;
  color: var(--adm-muted, #a9bbd4) !important;
}
html.admin-theme-dark .admin-switch-row,
html.admin-theme-dark .admin-form-actions {
  background: var(--adm-bg-1, #0d1c31) !important;
  border-color: var(--adm-border, #294766) !important;
}
html.admin-theme-dark .admin-form-actions {
  border-top: 1px solid var(--adm-border, #294766) !important;
}

/* Audit logs page */
.audit-log-page{display:flex;flex-direction:column;gap:18px}.audit-log-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border:1px solid rgba(59,124,255,.16);border-radius:24px;background:linear-gradient(135deg,rgba(59,124,255,.10),rgba(255,255,255,.92));box-shadow:0 18px 40px rgba(15,23,42,.07)}.audit-log-eyebrow{display:inline-flex;margin-bottom:8px;padding:5px 10px;border-radius:999px;background:rgba(59,124,255,.12);color:#245edb;font-weight:800;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.audit-log-hero h1{margin:0;color:#061b3a;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.1}.audit-log-hero p{margin:8px 0 0;max-width:680px;color:#60728f}.audit-log-count{min-width:116px;text-align:center;padding:16px;border-radius:20px;background:#fff;border:1px solid rgba(59,124,255,.14);box-shadow:0 12px 28px rgba(15,23,42,.08)}.audit-log-count strong{display:block;color:#1d4ed8;font-size:2rem;line-height:1}.audit-log-count span{display:block;margin-top:5px;color:#61738f;font-weight:700}.audit-log-card{overflow:hidden;border:1px solid var(--admin-border,#dbe7f5);border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 16px 36px rgba(15,23,42,.07)}.audit-log-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:18px;padding:16px 18px;border-bottom:1px solid var(--admin-border,#dbe7f5);background:rgba(248,251,255,.88)}.audit-log-toolbar strong{display:block;color:#10213f}.audit-log-toolbar span{display:block;margin-top:3px;color:#6b7d99;font-size:.92rem}.audit-log-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap}.audit-log-table-wrap{overflow:auto}.audit-log-table{width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;background:transparent}.audit-log-table thead th{position:sticky;top:0;z-index:1;padding:14px 16px;background:#f4f8ff;color:#17345f;font-size:.8rem;letter-spacing:.035em;text-transform:uppercase;border-bottom:1px solid var(--admin-border,#dbe7f5)}.audit-log-table tbody td{padding:16px;border-bottom:1px solid rgba(219,231,245,.9);vertical-align:middle}.audit-log-table tbody tr:hover{background:rgba(59,124,255,.055)}.audit-log-check{width:42px;text-align:center}.audit-log-check input{width:17px;height:17px;accent-color:#2563eb}.audit-log-id{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef5ff;color:#1d4ed8;font-weight:800}.audit-log-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f7f9fc;border:1px solid #e2ebf8;color:#213756;font-weight:700}.audit-log-meta{min-width:260px;color:#263b5b}.audit-log-footer-actions{display:flex;justify-content:flex-start;padding:16px 18px;background:#fbfdff}.audit-log-empty{padding:38px 20px;text-align:center;color:#6b7d99}.audit-log-empty strong{display:block;margin-bottom:6px;color:#10213f;font-size:1.1rem}html.admin-theme-dark .audit-log-hero{background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(15,23,42,.92));border-color:rgba(148,163,184,.22)}html.admin-theme-dark .audit-log-hero h1,html.admin-theme-dark .audit-log-toolbar strong,html.admin-theme-dark .audit-log-empty strong{color:#e5edf8}html.admin-theme-dark .audit-log-hero p,html.admin-theme-dark .audit-log-toolbar span,html.admin-theme-dark .audit-log-empty{color:#adc4e3}html.admin-theme-dark .audit-log-eyebrow{background:rgba(96,165,250,.16);color:#bfdbfe}html.admin-theme-dark .audit-log-count,html.admin-theme-dark .audit-log-card{background:#111d31;border-color:rgba(148,163,184,.22);box-shadow:none}html.admin-theme-dark .audit-log-toolbar,html.admin-theme-dark .audit-log-footer-actions{background:#0d1a2d;border-color:rgba(148,163,184,.18)}html.admin-theme-dark .audit-log-table thead th{background:#0d1a2d;color:#bfdbfe;border-color:rgba(148,163,184,.18)}html.admin-theme-dark .audit-log-table tbody td{border-color:rgba(148,163,184,.16)}html.admin-theme-dark .audit-log-id{background:rgba(37,99,235,.18);color:#bfdbfe}html.admin-theme-dark .audit-log-pill{background:#182943;border-color:rgba(148,163,184,.22);color:#e5edf8}html.admin-theme-dark .audit-log-meta{color:#d8e5f7}

/* Modern pages overview */
.pages-admin-shell{display:flex;flex-direction:column;gap:18px}
.pages-admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:28px 30px;border:1px solid rgba(148,163,184,.26);border-radius:26px;background:radial-gradient(circle at 12% 0%,rgba(37,99,235,.10),transparent 30%),linear-gradient(135deg,#fff 0%,#f8fbff 100%);box-shadow:0 18px 45px rgba(15,23,42,.06)}
.pages-admin-eyebrow{margin:0 0 6px;color:#2563eb;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em}
.pages-admin-hero h1{margin:0 0 8px;color:#0f172a;font-size:clamp(1.9rem,2.5vw,2.55rem);line-height:1.1;letter-spacing:-.04em}
.pages-admin-hero p:not(.pages-admin-eyebrow){margin:0;max-width:720px;color:#64748b;line-height:1.65}
.pages-admin-create{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border-radius:14px;box-shadow:0 12px 24px rgba(37,99,235,.18)}
.pages-admin-create span{font-size:1.25rem;line-height:1}
.pages-admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid rgba(148,163,184,.24);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 12px 30px rgba(15,23,42,.04)}
.pages-admin-search{display:flex;align-items:center;gap:10px;min-width:min(420px,100%);padding:0 14px;border:1px solid rgba(148,163,184,.36);border-radius:999px;background:#f8fafc;color:#64748b}
.pages-admin-search input{width:100%;min-height:42px;border:0;background:transparent;color:#0f172a;outline:0;font:inherit}
.pages-admin-filter{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.pages-admin-filter button{border:1px solid rgba(148,163,184,.32);border-radius:999px;background:#fff;color:#475569;padding:9px 14px;font-weight:800;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.pages-admin-filter button:hover,.pages-admin-filter button.is-active{background:#eff6ff;border-color:rgba(37,99,235,.34);color:#1d4ed8;box-shadow:0 8px 18px rgba(37,99,235,.08)}
.pages-admin-card{border:1px solid rgba(148,163,184,.26);border-radius:26px;background:#fff;box-shadow:0 22px 55px rgba(15,23,42,.07);overflow:hidden}
.pages-admin-table-wrap{overflow-x:auto}
.pages-admin-table{width:100%;border-collapse:separate;border-spacing:0;min-width:820px}
.pages-admin-table th,.pages-admin-table td{padding:18px 20px;text-align:left;border-bottom:1px solid rgba(226,232,240,.95);vertical-align:middle}
.pages-admin-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900;background:#f8fafc}
.pages-admin-table th a{color:inherit;text-decoration:none}
.pages-admin-table tbody tr{transition:background .16s ease,transform .16s ease,box-shadow .16s ease}
.pages-admin-table tbody tr:hover{background:#f8fbff}
.pages-admin-id{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#334155;font-weight:900}
.pages-admin-slug{display:inline-flex;padding:7px 10px;border-radius:10px;background:#f1f5f9;color:#334155;font-size:.9rem}
.pages-admin-title{display:flex;flex-direction:column;gap:4px}
.pages-admin-title strong{color:#0f172a;font-size:1rem;letter-spacing:-.01em}
.pages-admin-title small{color:#64748b;font-size:.84rem}
.pages-admin-status{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;font-size:.86rem;font-weight:900}
.pages-admin-status span{width:8px;height:8px;border-radius:50%}
.pages-admin-status.is-active{background:#ecfdf3;color:#027a48}
.pages-admin-status.is-active span{background:#12b76a}
.pages-admin-status.is-inactive{background:#fff1f2;color:#be123c}
.pages-admin-status.is-inactive span{background:#f43f5e}
.pages-admin-actions{display:flex;gap:9px;flex-wrap:wrap}
.pages-admin-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 12px;border:1px solid rgba(148,163,184,.32);border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-weight:800;font-size:.88rem;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.pages-admin-action:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a;text-decoration:none}
.pages-admin-action--edit{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 10px 18px rgba(37,99,235,.16)}
.pages-admin-action--edit:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.pages-admin-empty{padding:28px;text-align:center;color:#64748b;font-weight:800}
.pages-admin-table tr.is-hidden,.pages-admin-empty.is-hidden{display:none}

html.admin-theme-dark .pages-admin-hero{background:radial-gradient(circle at 12% 0%,rgba(59,130,246,.20),transparent 34%),linear-gradient(135deg,#0b1627 0%,#10223a 100%)!important;border-color:#2d4b70!important;color:#f3f7ff!important;box-shadow:0 24px 70px rgba(0,0,0,.28)!important}
html.admin-theme-dark .pages-admin-hero h1,html.admin-theme-dark .pages-admin-title strong{color:#f3f7ff!important}
html.admin-theme-dark .pages-admin-hero p:not(.pages-admin-eyebrow),html.admin-theme-dark .pages-admin-title small,html.admin-theme-dark .pages-admin-empty{color:#b6c6dc!important}
html.admin-theme-dark .pages-admin-eyebrow{color:#93c5fd!important}
html.admin-theme-dark .pages-admin-toolbar,html.admin-theme-dark .pages-admin-card{background:#0d1a2c!important;border-color:#2d4b70!important;box-shadow:0 18px 45px rgba(0,0,0,.24)!important}
html.admin-theme-dark .pages-admin-search,html.admin-theme-dark .pages-admin-slug,html.admin-theme-dark .pages-admin-id{background:#12243b!important;border-color:#2d4b70!important;color:#dbeafe!important}
html.admin-theme-dark .pages-admin-search input{color:#f3f7ff!important}
html.admin-theme-dark .pages-admin-table th{background:#12243b!important;color:#b6c6dc!important}
html.admin-theme-dark .pages-admin-table th,html.admin-theme-dark .pages-admin-table td{border-bottom-color:#203852!important}
html.admin-theme-dark .pages-admin-table tbody tr:hover{background:#10233a!important}
html.admin-theme-dark .pages-admin-filter button,html.admin-theme-dark .pages-admin-action{background:#12243b!important;border-color:#2d4b70!important;color:#dbeafe!important}
html.admin-theme-dark .pages-admin-filter button:hover,html.admin-theme-dark .pages-admin-filter button.is-active{background:#18355a!important;color:#93c5fd!important}
html.admin-theme-dark .pages-admin-action--edit{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}

/* Refinement: pages admin toolbar/search and right-aligned actions */
.pages-admin-toolbar{align-items:center;padding:12px 14px;min-height:72px}
.pages-admin-search{position:relative;flex:0 1 380px;min-width:280px;max-width:420px;height:48px;padding:0;background:#fff;border-color:rgba(148,163,184,.38);box-shadow:0 10px 22px rgba(15,23,42,.04)}
.pages-admin-search svg{position:absolute;left:16px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#64748b;pointer-events:none}
.pages-admin-search input{height:48px;min-height:48px;padding:0 16px 0 46px;line-height:48px}
.pages-admin-search:focus-within{background:#fff;border-color:rgba(37,99,235,.55);box-shadow:0 0 0 4px rgba(37,99,235,.10),0 12px 26px rgba(15,23,42,.06)}
.pages-admin-table th:last-child,.pages-admin-table td:last-child{text-align:right;width:260px;padding-right:30px}
.pages-admin-actions{justify-content:flex-end;align-items:center;flex-wrap:nowrap}
.pages-admin-table th:nth-child(4),.pages-admin-table td:nth-child(4){width:170px}
.pages-admin-table th:nth-child(5){text-align:right}
html.admin-theme-dark .pages-admin-search{background:#0f2138!important;border-color:#2d4b70!important;box-shadow:none!important}
html.admin-theme-dark .pages-admin-search:focus-within{border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.18)!important}
html.admin-theme-dark .pages-admin-search svg{color:#b6c6dc!important}

/* Final fix: Pages overview status badges in dark mode */
html.admin-theme-dark .admin-content .pages-admin-status.is-active{
    background: rgba(20, 184, 116, .22) !important;
    color: #86efac !important;
    border: 1px solid rgba(134, 239, 172, .38) !important;
    box-shadow: none !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-inactive{
    background: rgba(244, 63, 94, .20) !important;
    color: #fda4af !important;
    border: 1px solid rgba(253, 164, 175, .38) !important;
    box-shadow: none !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-active,
html.admin-theme-dark .admin-content .pages-admin-status.is-inactive{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-active *,
html.admin-theme-dark .admin-content .pages-admin-status.is-inactive *{
    opacity: 1 !important;
    color: inherit !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-active span{
    background: #22c55e !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-inactive span{
    background: #fb7185 !important;
}

.shipping-admin-page{display:flex;flex-direction:column;gap:18px}.shipping-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#eef5ff,#fff8ed);border:1px solid rgba(37,99,235,.12)}.shipping-admin-hero h1{margin:4px 0 6px}.shipping-admin-hero p{margin:0;color:#64748b}.shipping-admin-panel{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:22px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.shipping-toggle-grid,.shipping-method-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:18px}.shipping-switch-card,.shipping-choice-card{display:flex;align-items:flex-start;gap:12px;border:1px solid #dbe4f0;border-radius:18px;padding:16px;background:#f8fafc}.shipping-switch-card input,.shipping-choice-card input{margin-top:4px}.shipping-switch-card span,.shipping-choice-card span{display:flex;flex-direction:column;gap:4px}.shipping-switch-card small,.shipping-choice-card small{color:#64748b}.shipping-form-row{display:flex;flex-direction:column;gap:8px;margin:0 0 18px}.shipping-form-row input,.shipping-form-row select{max-width:420px}.admin-table .table-actions{display:flex;gap:12px;justify-content:flex-end}.admin-table .table-actions .danger{color:#dc2626}

/* shipping admin redesign */
.shipping-admin-page{gap:22px}
.shipping-settings-hero{align-items:center}
.shipping-hero-stats{align-items:stretch;gap:12px;flex-wrap:wrap}
.shipping-hero-stats .btn-primary{align-self:center;white-space:nowrap}
.shipping-list-card,.shipping-provider-editor{overflow:visible}
.shipping-table-wrap{border-radius:22px;background:#fff}
.shipping-provider-table{min-width:860px}
.shipping-provider-table th,.shipping-provider-table td{vertical-align:middle}
.shipping-provider-table .admin-table__subline{margin-top:6px;color:#64748b;font-size:.88rem}
.shipping-empty-cell{padding:34px!important;text-align:center}
.shipping-method-grid--pro{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
.shipping-choice-card--pro{position:relative;min-height:128px;padding:22px 22px 22px 20px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border:1px solid #d9e4f2;border-radius:20px;box-shadow:0 14px 30px rgba(17,42,92,.05);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.shipping-choice-card--pro:hover{border-color:#b8cff0;box-shadow:0 18px 36px rgba(17,42,92,.08);transform:translateY(-1px)}
.shipping-choice-card--pro:has(input:checked){border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.10),0 20px 42px rgba(37,99,235,.12);background:linear-gradient(180deg,#ffffff 0%,#f4f8ff 100%)}
.shipping-choice-card--pro input{accent-color:#2563eb;margin-top:7px}
.shipping-choice-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 46px;width:46px;height:46px;border-radius:16px;background:#eef4ff;color:#1d4ed8;font-weight:900;font-size:1.1rem}
.shipping-choice-card--pro small{max-width:560px;line-height:1.55}
.shipping-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:2px}
.shipping-form-grid label{display:flex;flex-direction:column;gap:9px;font-weight:800;color:#16233d}
.shipping-form-grid input{width:100%;min-height:48px;padding:12px 14px;border:1px solid #d7e0ec;border-radius:14px;background:#fbfdff;color:#16233d}
.shipping-form-grid input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);background:#fff}
.shipping-form-grid input:disabled{background:#eef2f7;color:#94a3b8;cursor:not-allowed}
.shipping-form-grid small{font-weight:500;color:#64748b;line-height:1.45}
.shipping-status-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px;border:1px solid #dbe4f0;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.shipping-status-row h3{margin:4px 0 6px;color:#13294b}
.shipping-status-row p{margin:0;color:#64748b}
.shipping-switch-card--toggle{min-width:270px;margin:0;background:#fff;border-radius:18px;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.shipping-switch-card--toggle input{width:22px;height:22px;accent-color:#2563eb}
.shipping-form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:6px}
html.admin-theme-dark .shipping-table-wrap,html.admin-theme-dark .shipping-choice-card--pro,html.admin-theme-dark .shipping-status-row,html.admin-theme-dark .shipping-switch-card--toggle{background:var(--surface-2)!important;border-color:var(--border)!important;color:var(--text-primary)!important}
html.admin-theme-dark .shipping-choice-card--pro:has(input:checked){background:var(--surface-3)!important;border-color:var(--primary)!important}
html.admin-theme-dark .shipping-form-grid input{background:var(--surface-2)!important;border-color:var(--border)!important;color:var(--text-primary)!important}
html.admin-theme-dark .shipping-form-grid input:disabled{background:#0f1d31!important;color:var(--text-muted)!important}
html.admin-theme-dark .shipping-choice-icon{background:var(--surface-3)!important;color:#93c5fd!important}

/* shipping providers table: keep it in the normal admin table layout */
.shipping-list-card{overflow:visible!important}
.shipping-list-card .shipping-provider-table{min-width:0!important;width:100%;table-layout:auto}
.shipping-list-card .shipping-provider-table th,
.shipping-list-card .shipping-provider-table td{white-space:normal;vertical-align:middle}
.shipping-list-card .shipping-provider-table th:nth-child(1){width:28%}
.shipping-list-card .shipping-provider-table th:nth-child(2){width:34%}
.shipping-list-card .shipping-provider-table th:nth-child(3){width:14%}
.shipping-list-card .shipping-provider-table th:nth-child(4){width:12%}
.shipping-list-card .shipping-provider-table th:nth-child(5){width:12%;text-align:right}
.shipping-list-card .shipping-provider-table td.action-col{text-align:right}
.shipping-list-card .shipping-provider-table .note{margin-top:4px;color:#64748b;font-size:.88rem}
.shipping-list-card .shipping-provider-table .status-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.shipping-list-card .shipping-provider-table .status-badge--success{background:#dcfce7;color:#166534;border:1px solid #86efac}
.shipping-list-card .shipping-provider-table .status-badge--muted{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}

/* Shipping options: proper light/dark theme support (only this section) */
.shipping-admin-page .shipping-admin-panel{
  background:var(--admin-card)!important;
  color:var(--admin-text)!important;
  border-color:var(--admin-line)!important;
}
.shipping-admin-page .shipping-switch-card{
  background:var(--admin-card-soft)!important;
  border-color:var(--admin-line)!important;
  color:var(--admin-text)!important;
}
.shipping-admin-page .shipping-switch-card strong,
.shipping-admin-page .shipping-form-row span,
.shipping-admin-page .admin-panel__head h2{
  color:var(--admin-text)!important;
}
.shipping-admin-page .shipping-switch-card small,
.shipping-admin-page .note{
  color:var(--admin-muted)!important;
}
.shipping-admin-page .shipping-form-row select{
  background:var(--admin-card-soft)!important;
  color:var(--admin-text)!important;
  border-color:var(--admin-line)!important;
}
html.admin-theme-dark .shipping-admin-page .shipping-admin-panel{
  box-shadow:0 18px 45px rgba(0,0,0,.22)!important;
}
html.admin-theme-dark .shipping-admin-page .shipping-switch-card{
  box-shadow:none!important;
}
html.admin-theme-dark .shipping-admin-page .btn-secondary{
  background:#101d31!important;
  color:var(--admin-text)!important;
  border-color:var(--admin-line)!important;
}

.two-factor-card {
  overflow: hidden;
}
.two-factor-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.two-factor-card__header h2 {
  margin: 0 0 .35rem;
}
.two-factor-card__header p {
  margin: 0;
  color: #475569;
}
.two-factor-card__eyebrow {
  margin: 0 0 .35rem !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2563eb !important;
}
.two-factor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}
.two-factor-badge.is-enabled {
  color: #166534;
  background: #dcfce7;
}
.two-factor-badge.is-disabled {
  color: #92400e;
  background: #fef3c7;
}
.two-factor-setup {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.two-factor-qr-box,
.two-factor-form,
.two-factor-enabled-box,
.two-factor-apps {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}
.two-factor-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px #f8fafc;
}
.two-factor-qr-box img {
  width: 100%;
  max-width: 210px;
  height: auto;
  image-rendering: pixelated;
}
.two-factor-qr-box small {
  margin-top: .75rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}
.two-factor-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}
.two-factor-form h3,
.two-factor-form p {
  margin: 0;
}
.two-factor-form p {
  color: #475569;
}
.two-factor-form label {
  display: grid;
  gap: .45rem;
  font-weight: 700;
}
.two-factor-form input {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  font-size: 1.25rem;
  letter-spacing: .25em;
  text-align: center;
}
.two-factor-form button {
  justify-self: start;
}
.two-factor-enabled-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}
.two-factor-enabled-box p {
  margin: 0;
  color: #166534;
  font-weight: 700;
}
.two-factor-apps {
  margin-top: 1.5rem;
  padding: 1rem;
}
.two-factor-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .75rem;
}
.two-factor-app-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .5rem .75rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}
.two-factor-app-links a:hover {
  background: #dbeafe;
}

/* Direct purchase disputes: readable card layout */
.direct-disputes-page{display:flex;flex-direction:column;gap:18px}
.direct-disputes-hero{align-items:flex-start;padding:30px 28px}
.direct-disputes-card{padding:0;overflow:hidden}
.direct-disputes-list{display:flex;flex-direction:column;gap:0}
.direct-dispute-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:24px;padding:24px;border-bottom:1px solid var(--admin-line,#d9e1ec);background:var(--admin-card,#fff)}
.direct-dispute-item:last-child{border-bottom:0}
.direct-dispute-item__main{min-width:0;display:flex;flex-direction:column;gap:16px}
.direct-dispute-item__topline{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.direct-dispute-order{font-size:22px;line-height:1.1;color:var(--admin-text,#0f2544)}
.direct-dispute-title{margin:0;font-size:20px;line-height:1.3;color:var(--admin-text,#0f2544);overflow-wrap:anywhere}
.direct-dispute-label{display:block;margin-bottom:5px;font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#607089}
.direct-dispute-item small{display:block;margin-top:3px;color:#64748b;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.direct-dispute-amount{text-align:right;white-space:nowrap}
.direct-dispute-amount strong{font-size:20px;color:#0f2544}
.direct-dispute-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.direct-dispute-meta-grid>div,.direct-dispute-problem{padding:14px;border:1px solid var(--admin-line,#d9e1ec);border-radius:16px;background:#f8fbff;min-width:0}
.direct-dispute-meta-grid strong{display:block;color:var(--admin-text,#0f2544);overflow-wrap:anywhere}
.direct-dispute-problem p{margin:0;color:var(--admin-text,#0f2544);line-height:1.55;overflow-wrap:anywhere}
.direct-dispute-actions{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--admin-line,#d9e1ec);border-radius:18px;background:#f8fbff;align-self:start}
.direct-dispute-actions label{display:flex;flex-direction:column;gap:6px;margin:0}
.direct-dispute-actions textarea{width:100%;min-height:112px;box-sizing:border-box;resize:vertical;border:1px solid var(--admin-line,#d9e1ec);border-radius:14px;padding:12px;background:#fff;color:var(--admin-text,#0f2544);line-height:1.45}
.direct-dispute-button-grid{display:grid;grid-template-columns:1fr;gap:10px}
.direct-dispute-button-grid .btn-primary,.direct-dispute-button-grid .btn-secondary{width:100%;min-height:44px}
.direct-disputes-empty{padding:28px;text-align:center}
.direct-disputes-empty strong{display:block;margin-bottom:6px;color:var(--admin-text,#0f2544);font-size:18px}
html.admin-theme-dark .direct-dispute-item,
html.admin-theme-dark .direct-dispute-actions,
html.admin-theme-dark .direct-dispute-meta-grid>div,
html.admin-theme-dark .direct-dispute-problem{background:var(--surface,#14233a)!important;border-color:var(--border,#334155)!important;color:var(--text-primary,#e5eefb)!important}
html.admin-theme-dark .direct-dispute-title,
html.admin-theme-dark .direct-dispute-order,
html.admin-theme-dark .direct-dispute-amount strong,
html.admin-theme-dark .direct-dispute-meta-grid strong,
html.admin-theme-dark .direct-dispute-problem p,
html.admin-theme-dark .direct-disputes-empty strong{color:var(--text-primary,#e5eefb)!important}
html.admin-theme-dark .direct-dispute-label,
html.admin-theme-dark .direct-dispute-item small{color:var(--text-secondary,#b8c7dc)!important}
html.admin-theme-dark .direct-dispute-actions textarea{background:var(--surface-2,#101d31)!important;color:var(--text-primary,#e5eefb)!important;border-color:var(--border,#334155)!important}

/* Two-factor authentication: explicit light/dark color handling */
.two-factor-card,
.two-factor-form,
.two-factor-enabled-box,
.two-factor-apps {
  color: #0f172a;
}
.two-factor-card h1,
.two-factor-card h2,
.two-factor-card h3,
.two-factor-card strong,
.two-factor-card label {
  color: #0f172a;
}
.two-factor-card__header p,
.two-factor-form p,
.two-factor-qr-box small {
  color: #475569;
}
.two-factor-form input {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}
.two-factor-form input::placeholder {
  color: #64748b;
  opacity: 1;
}

html.admin-theme-dark .two-factor-card,
html.admin-theme-dark .two-factor-card__header,
html.admin-theme-dark .two-factor-form,
html.admin-theme-dark .two-factor-enabled-box,
html.admin-theme-dark .two-factor-apps {
  background: #142844 !important;
  color: #f7fbff !important;
  border-color: #3b638e !important;
  box-shadow: none !important;
}
html.admin-theme-dark .two-factor-card__header {
  border-bottom-color: #3b638e !important;
}
html.admin-theme-dark .two-factor-card h1,
html.admin-theme-dark .two-factor-card h2,
html.admin-theme-dark .two-factor-card h3,
html.admin-theme-dark .two-factor-card strong,
html.admin-theme-dark .two-factor-card label,
html.admin-theme-dark .two-factor-card span:not(.two-factor-badge) {
  color: #f7fbff !important;
  opacity: 1 !important;
}
html.admin-theme-dark .two-factor-card__header p,
html.admin-theme-dark .two-factor-form p,
html.admin-theme-dark .two-factor-qr-box small {
  color: #d9e8fb !important;
  opacity: 1 !important;
}
html.admin-theme-dark .two-factor-card__eyebrow {
  color: #9dcbff !important;
}
html.admin-theme-dark .two-factor-qr-box {
  background: #0c1a2c !important;
  border-color: #3b638e !important;
  box-shadow: none !important;
}
html.admin-theme-dark .two-factor-qr-box img {
  background: #ffffff !important;
  border-radius: 12px;
  padding: 10px;
}
html.admin-theme-dark .two-factor-form input {
  background: #0c1a2c !important;
  color: #f7fbff !important;
  border-color: #3b638e !important;
  caret-color: #ffffff !important;
}
html.admin-theme-dark .two-factor-form input::placeholder {
  color: #b7cbe6 !important;
  opacity: 1 !important;
}
html.admin-theme-dark .two-factor-app-links a {
  background: #19365a !important;
  color: #dbeafe !important;
  border: 1px solid #3b638e !important;
}
html.admin-theme-dark .two-factor-app-links a:hover {
  background: #21466f !important;
  color: #ffffff !important;
}
html.admin-theme-dark .two-factor-badge.is-enabled {
  background: #123f31 !important;
  color: #bbf7d0 !important;
}
html.admin-theme-dark .two-factor-badge.is-disabled {
  background: #4a3414 !important;
  color: #fde68a !important;
}

/* Extension system */
.extensions-page{display:flex;flex-direction:column;gap:18px}
.extensions-hero{display:flex;justify-content:space-between;gap:18px;align-items:stretch;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.extensions-hero--compact{align-items:center}
.extensions-hero h1{margin:6px 0 8px;font-size:32px;line-height:1.1;color:#fff}
.extensions-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.extensions-hero .eyebrow{color:rgba(255,255,255,.74);letter-spacing:.08em;text-transform:uppercase;font-weight:800;font-size:12px}
.extensions-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(96px,1fr));gap:12px;min-width:330px}
.extensions-hero__stats div{padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.12);backdrop-filter:blur(4px)}
.extensions-hero__stats strong{display:block;font-size:26px;color:#fff}
.extensions-hero__stats span{display:block;color:rgba(255,255,255,.74);font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.extensions-grid{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(280px,.9fr);gap:18px}
.extension-upload-card,.extension-info-card,.extension-settings-card{border:1px solid #e5e7eb;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06);padding:20px}
.extension-upload-card{display:flex;flex-direction:column;gap:13px}
.extension-upload-card__icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#eaf3ff 0%,#eef5ff 100%);color:#204a8a;border:1px solid #d8e6f7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 10px 20px rgba(17,42,92,.08)}
.extension-upload-card__icon svg,.extension-upload-card__icon-img{width:30px;height:30px;color:currentColor;display:block}
.extension-upload-card h2,.extension-info-card h2,.extensions-toolbar h2{margin:0;color:#111827}
.extension-upload-card p,.extension-info-card li,.extensions-toolbar span{color:#6b7280}
.extension-upload-card input[type=file]{border:1px dashed #cbd5e1;border-radius:16px;padding:14px;background:#f8fafc}
.extension-info-card ul{margin:12px 0 0;padding-left:20px;display:grid;gap:8px}
.extensions-toolbar{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:4px}
.extensions-list{display:grid;gap:14px}
.extension-card{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:18px;align-items:center;padding:18px;border:1px solid #e5e7eb;border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.extension-card.is-active{border-color:#a7f3d0;background:linear-gradient(180deg,#fff,#f0fdf4)}
.extension-card__badge{display:inline-flex;align-items:center;width:max-content;padding:5px 10px;border-radius:999px;background:#f3f4f6;color:#374151;font-weight:700;font-size:12px}
.extension-card.is-active .extension-card__badge{background:#d1fae5;color:#047857}
.extension-card h3{margin:8px 0 6px;color:#111827;font-size:20px}
.extension-card p{margin:0;color:#6b7280}
.extension-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.extension-meta span{padding:6px 9px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:12px}
.extension-card__details{display:grid;grid-template-columns:repeat(3,86px);gap:8px}
.extension-card__details div{text-align:center;border:1px solid #e5e7eb;border-radius:16px;padding:11px 8px;background:#fff}
.extension-card__details strong{display:block;font-size:20px;color:#111827}
.extension-card__details span{display:block;font-size:12px;color:#6b7280}
.extension-card__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:210px}
.btn-danger{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:9px 12px;background:#fee2e2;color:#991b1b;text-decoration:none;font-weight:700;cursor:pointer}
.extension-settings-card{max-width:860px;display:grid;gap:16px}
.form-row{display:grid;gap:7px}
.form-row span{font-weight:700;color:#111827}
.form-row input[type=text],.form-row input[type=email],.form-row input[type=number],.form-row input[type=url],.form-row input[type=password],.form-row textarea{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:11px 12px;background:#fff;color:#111827}
.form-row small{color:#6b7280}
.empty-state{padding:24px;text-align:center}
/* profile_picture_upload_admin_settings_v1 */
body:has(input[name="settings[max_file_size_mb]"]) .extensions-hero--compact,
body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card,
body:has(input[name="settings[max_file_size_mb]"]) form.extension-settings-card {
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card {
    padding: 24px 22px !important;
    border-radius: 20px !important;
}
body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card .form-row,
body:has(input[name="settings[max_file_size_mb]"]) form.extension-settings-card > label {
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="number"],
body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="text"] {
    width: 100% !important;
    box-sizing: border-box !important;
}
html.admin-theme-dark body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card,
html.admin-dark body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card,
body.admin-dark:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card {
    background: #14233a !important;
    border-color: #31537f !important;
    color: #eef5ff !important;
}
html.admin-theme-dark body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="number"],
html.admin-theme-dark body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="text"],
html.admin-dark body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="number"],
html.admin-dark body:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="text"],
body.admin-dark:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="number"],
body.admin-dark:has(input[name="settings[max_file_size_mb]"]) .extension-settings-card input[type="text"] {
    background: #101d31 !important;
    color: #eef5ff !important;
    border-color: #31537f !important;
}

.admin-icon{width:22px;height:22px;display:block;color:currentColor}
.admin-topbar img.admin-icon,.admin-topbar img.admin-brand-icon,.admin-topbar img.admin-search-icon,.admin-topbar img.admin-search-submit-icon,.admin-topbar img.admin-theme-icon{filter:brightness(0) invert(1);opacity:.92}

/* Advertising admin */
.advertising-admin-shell{display:flex;flex-direction:column;gap:18px}
.advertising-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;border:1px solid rgba(15,23,42,.08);background:linear-gradient(135deg,rgba(19,41,75,.06),rgba(255,255,255,.92))}
.advertising-hero h1{margin:.15rem 0 .4rem;font-size:clamp(1.8rem,3vw,2.4rem)}
.advertising-hero p{max-width:760px;margin:0;color:#64748b}
.advertising-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;min-width:min(560px,100%)}
.advertising-stats-grid span{display:flex;flex-direction:column;gap:4px;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:14px;background:#fff}
.advertising-stats-grid strong{font-size:1.25rem;color:#0f172a}
.advertising-stats-grid small{color:#64748b}
.advertising-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:10px}
.advertising-tabs__item{padding:10px 14px;border-radius:999px;text-decoration:none;color:#475569;font-weight:700}
.advertising-tabs__item.is-active,.advertising-tabs__item:hover{background:#13294b;color:#fff}
.advertising-admin-card,.advertising-form-card{padding:22px;border:1px solid rgba(15,23,42,.08)}
.advertising-filter-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end;margin:16px 0 20px}
.advertising-filter-bar label,.advertising-form-grid label,.advertising-placement-card label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#334155}
.advertising-filter-bar input,.advertising-filter-bar select,.advertising-form-grid input,.advertising-form-grid select,.advertising-form-grid textarea,.advertising-placement-card input,.advertising-placement-card select{width:100%;border:1px solid #d8e0ea;border-radius:12px;padding:11px 12px;background:#fff;color:#0f172a}
.advertising-form-grid{gap:16px}
.advertising-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.advertising-table{width:100%;border-collapse:separate;border-spacing:0 10px}
.advertising-table th{text-align:left;color:#64748b;font-size:.85rem;padding:0 12px}
.advertising-table td{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:14px 12px;vertical-align:middle}
.advertising-table tr td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}
.advertising-table tr td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0}
.advertising-table td small{display:block;color:#64748b;margin-top:3px}
.advertising-campaign-cell{display:flex;align-items:center;gap:12px}
.advertising-img-thumb{width:72px;height:46px;object-fit:cover;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc}
.advertising-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.advertising-actions a{font-weight:800;text-decoration:none;color:#13294b}
.advertising-actions a.danger{color:#b42318}
.advertising-empty-state{padding:28px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;color:#475569}
.advertising-package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.advertising-package-card{padding:22px;display:flex;flex-direction:column;gap:14px;border:1px solid rgba(15,23,42,.08)}
.advertising-package-card.is-muted{opacity:.72}
.advertising-package-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.advertising-package-price{display:flex;align-items:baseline;gap:8px}
.advertising-package-price strong{font-size:1.9rem;color:#13294b}
.advertising-feature-list{display:grid;gap:8px;margin:0;padding-left:18px;color:#334155}
.advertising-status-pill--active{background:#dcfce7;color:#166534}
.advertising-status-pill--pending{background:#fef3c7;color:#92400e}
.advertising-status-pill--paused,.advertising-status-pill--draft{background:#e0f2fe;color:#075985}
.advertising-status-pill--rejected,.advertising-status-pill--cancelled{background:#fee2e2;color:#991b1b}
.advertising-status-pill--expired{background:#e5e7eb;color:#374151}
.advertising-current-image{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#334155}
.advertising-current-image img{width:100%;max-height:140px;object-fit:cover;border-radius:14px;border:1px solid #e2e8f0;background:#f8fafc}
.advertising-section-divider{margin-top:28px;padding-top:18px;border-top:1px solid #e2e8f0}
.advertising-placement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.advertising-placement-card{display:grid;gap:12px;border:1px solid #e2e8f0;border-radius:16px;padding:16px;background:#fff}
.advertising-placement-card strong{display:block;color:#0f172a}.advertising-placement-card span{color:#64748b;font-size:.9rem}.advertising-placement-card p{margin:6px 0 0;color:#64748b}
html.admin-theme-dark .advertising-hero,html.admin-theme-dark .advertising-stats-grid span,html.admin-theme-dark .advertising-admin-card,html.admin-theme-dark .advertising-form-card,html.admin-theme-dark .advertising-package-card,html.admin-theme-dark .advertising-placement-card,html.admin-theme-dark .advertising-table td{background:#14233a;border-color:#31537f;color:#eef5ff}
html.admin-theme-dark .advertising-hero p,html.admin-theme-dark .advertising-stats-grid small,html.admin-theme-dark .advertising-table th,html.admin-theme-dark .advertising-table td small,html.admin-theme-dark .advertising-placement-card p,html.admin-theme-dark .advertising-placement-card span{color:#b9c8dc}
html.admin-theme-dark .advertising-stats-grid strong,html.admin-theme-dark .advertising-placement-card strong{color:#fff}
html.admin-theme-dark .advertising-filter-bar input,html.admin-theme-dark .advertising-filter-bar select,html.admin-theme-dark .advertising-form-grid input,html.admin-theme-dark .advertising-form-grid select,html.admin-theme-dark .advertising-form-grid textarea,html.admin-theme-dark .advertising-placement-card input,html.admin-theme-dark .advertising-placement-card select{background:#101d31;color:#eef5ff;border-color:#31537f}
@media(max-width:900px){.advertising-hero{flex-direction:column}.advertising-form-actions{justify-content:flex-start}.advertising-table{min-width:860px}.advertising-admin-card{overflow:auto}}

/* Advertising admin refinements */
.advertising-admin-shell .advertising-filter-bar{grid-template-columns:minmax(220px,1.2fr) minmax(180px,.9fr) minmax(180px,.9fr) minmax(140px,.7fr);align-items:end}
.advertising-admin-shell .advertising-filter-bar .btn-secondary{width:100%;font-weight:850}
.advertising-admin-shell .advertising-table{table-layout:auto;border-spacing:0 12px}
.advertising-admin-shell .advertising-table th:last-child,
.advertising-admin-shell .advertising-table td:last-child{text-align:right;width:300px;min-width:300px}
.advertising-admin-shell .advertising-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.045em;font-weight:850;color:#5f708b;padding:0 12px 2px}
.advertising-admin-shell .advertising-table td{padding:16px 14px;box-shadow:0 8px 22px rgba(15,23,42,.035)}
.advertising-admin-shell .advertising-table tbody tr:hover td{background:#fbfdff;border-color:#cfdceb;box-shadow:0 12px 26px rgba(15,23,42,.06)}
.advertising-admin-shell .advertising-actions{justify-content:flex-end;gap:8px;margin-left:auto;max-width:300px}
.advertising-admin-shell .advertising-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#13294b!important;font-size:.88rem;font-weight:850;line-height:1;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.advertising-admin-shell .advertising-actions a:hover{background:#13294b;color:#fff!important;border-color:#13294b;text-decoration:none}
.advertising-admin-shell .advertising-actions a.danger{background:#fff5f5;border-color:#fecaca;color:#b42318!important}
.advertising-admin-shell .advertising-actions a.danger:hover{background:#b42318;border-color:#b42318;color:#fff!important}
.advertising-admin-shell .advertising-status-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;font-size:.8rem;font-weight:850;white-space:nowrap}
.advertising-admin-shell .advertising-campaign-cell strong,
.advertising-admin-shell .advertising-table td>strong{color:#0f2447}
html.admin-theme-dark .advertising-admin-shell .advertising-table tbody tr:hover td{background:#172a45;border-color:#41628e}
html.admin-theme-dark .advertising-admin-shell .advertising-actions a{background:#101d31;color:#eef5ff!important;border-color:#31537f;box-shadow:none}
html.admin-theme-dark .advertising-admin-shell .advertising-actions a:hover{background:#2563eb;border-color:#2563eb;color:#fff!important}
html.admin-theme-dark .advertising-admin-shell .advertising-actions a.danger{background:#2b1720;border-color:#7f2a33;color:#fca5a5!important}
html.admin-theme-dark .advertising-admin-shell .advertising-actions a.danger:hover{background:#b42318;border-color:#b42318;color:#fff!important}
@media(max-width:1100px){.advertising-admin-shell .advertising-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.advertising-admin-shell .advertising-table th:last-child,.advertising-admin-shell .advertising-table td:last-child{width:260px;min-width:260px}.advertising-admin-shell .advertising-actions{max-width:260px}}
@media(max-width:700px){.advertising-admin-shell .advertising-filter-bar{grid-template-columns:1fr}.advertising-admin-shell .advertising-actions{justify-content:flex-start;margin-left:0}.advertising-admin-shell .advertising-table th:last-child,.advertising-admin-shell .advertising-table td:last-child{text-align:left}}

/* Advertising settings layout refinements */
.advertising-admin-shell .advertising-form-grid .switch-row{
    grid-column:1 / -1;
    display:flex!important;
    flex-direction:row!important;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:72px;
    padding:16px 18px;
    border:1px solid #d9e5f4;
    border-radius:16px;
    background:linear-gradient(180deg,#fbfdff,#f4f8fd);
    box-shadow:0 8px 20px rgba(15,23,42,.035);
}
.advertising-admin-shell .advertising-form-grid .switch-row span{
    max-width:70%;
    color:#13294b;
    font-weight:850;
    line-height:1.35;
}
.advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]{
    flex:0 0 auto;
    width:46px!important;
    height:26px!important;
    min-height:26px;
    margin-left:auto;
    padding:0!important;
    border:1px solid #c7d7ec;
    border-radius:999px;
    background:#e8eef6;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
    position:relative;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]::after{
    content:"";
    position:absolute;
    top:3px;
    left:3px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 7px rgba(15,23,42,.22);
    transition:transform .18s ease;
}
.advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]:checked{
    background:#2563eb;
    border-color:#2563eb;
}
.advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]:checked::after{
    transform:translateX(20px);
}
.advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]:focus-visible{
    outline:none;
    box-shadow:0 0 0 4px rgba(37,99,235,.18);
}
.advertising-admin-shell .advertising-form-grid .switch-row:hover{
    border-color:#c4d6ec;
    background:#fbfdff;
}
.advertising-admin-shell .advertising-placement-card .switch-row{
    min-height:auto;
    padding:12px 14px;
    box-shadow:none;
}
html.admin-theme-dark .advertising-admin-shell .advertising-form-grid .switch-row{
    background:#101d31;
    border-color:#31537f;
    box-shadow:none;
}
html.admin-theme-dark .advertising-admin-shell .advertising-form-grid .switch-row span{color:#eef5ff}
html.admin-theme-dark .advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]{background:#263852;border-color:#46658f}
html.admin-theme-dark .advertising-admin-shell .advertising-form-grid .switch-row input[type="checkbox"]:checked{background:#3b82f6;border-color:#3b82f6}
@media(max-width:640px){
    .advertising-admin-shell .advertising-form-grid .switch-row{align-items:flex-start}
    .advertising-admin-shell .advertising-form-grid .switch-row span{max-width:calc(100% - 64px)}
}

/* Cleaner admin layout for advertising campaign editor */
.advertising-form-card{padding:24px;background:#f8fafc}
.advertising-form-card>.section-head{position:sticky;top:0;z-index:5;margin:-24px -24px 22px;padding:18px 24px;background:rgba(255,255,255,.96);border-bottom:1px solid #e2e8f0;backdrop-filter:blur(10px);border-radius:18px 18px 0 0}
.advertising-form-layout{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}
.advertising-form-main{display:grid;gap:18px}
.advertising-form-section{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.04)}
.advertising-form-section__head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #edf2f7}
.advertising-form-section__head h3{margin:0;color:#0f172a;font-size:1.05rem}
.advertising-form-section__head p{margin:3px 0 0;color:#64748b;font-size:.92rem;font-weight:500}
.advertising-step{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:999px;background:#2563eb;color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.22)}
.advertising-form-grid{display:grid;gap:14px}
.advertising-form-grid--1{grid-template-columns:1fr}
.advertising-form-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.advertising-form-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.advertising-form-grid .is-wide{grid-column:1 / -1}
.advertising-form-grid label span,.advertising-current-image span{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#475569}
.advertising-form-grid input,.advertising-form-grid select,.advertising-form-grid textarea{min-height:44px;border-radius:12px;background:#fbfdff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.advertising-form-grid input:focus,.advertising-form-grid select:focus,.advertising-form-grid textarea:focus{outline:none;border-color:#2563eb;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.advertising-current-image{padding:12px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc}
.advertising-current-image img{max-height:190px;object-fit:contain;background:#fff}
.advertising-form-actions{position:sticky;bottom:0;z-index:4;margin:22px -24px -24px;padding:16px 24px;background:rgba(255,255,255,.96);border-top:1px solid #e2e8f0;backdrop-filter:blur(10px);border-radius:0 0 18px 18px}

html.admin-theme-dark .advertising-form-card{background:#101d31}
html.admin-theme-dark .advertising-form-card>.section-head,html.admin-theme-dark .advertising-form-actions{background:rgba(20,35,58,.96);border-color:#31537f}
html.admin-theme-dark .advertising-form-section,html.admin-theme-dark .advertising-current-image{background:#14233a;border-color:#31537f;box-shadow:none}
html.admin-theme-dark .advertising-form-section__head{border-color:#31537f}
html.admin-theme-dark .advertising-form-section__head h3{color:#fff}
html.admin-theme-dark .advertising-form-section__head p,html.admin-theme-dark .advertising-form-grid label span,html.admin-theme-dark .advertising-current-image span{color:#b9c8dc}
html.admin-theme-dark .advertising-form-grid input,html.admin-theme-dark .advertising-form-grid select,html.admin-theme-dark .advertising-form-grid textarea{background:#101d31;color:#eef5ff;border-color:#31537f}
html.admin-theme-dark .advertising-current-image img{background:#101d31}

@media(max-width:1180px){.advertising-form-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.advertising-form-card>.section-head,.advertising-form-actions{position:static;margin-left:0;margin-right:0;border-radius:14px}.advertising-form-grid--2,.advertising-form-grid--3{grid-template-columns:1fr}.advertising-form-card{padding:16px}.advertising-form-section{padding:15px}}

/* Cleaner package overview */
.advertising-package-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.advertising-package-overview__item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.advertising-package-overview__item span{font-size:.78rem;text-transform:uppercase;letter-spacing:.055em;color:#64748b;font-weight:850}
.advertising-package-overview__item strong{font-size:1.25rem;color:#13294b}
.advertising-package-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:stretch;gap:18px}
.advertising-package-card{position:relative;min-height:auto;padding:0;overflow:hidden;gap:0;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.055)}
.advertising-package-card__head{padding:20px 20px 14px;border-bottom:1px solid #eef2f7;background:linear-gradient(135deg,#f8fbff 0%,#fff 72%)}
.advertising-package-card__head h2{margin:.3rem 0 0;font-size:1.35rem}
.advertising-package-card__description{margin:0;padding:14px 20px 0;color:#64748b;line-height:1.55}
.advertising-package-price{padding:18px 20px 10px;gap:10px}
.advertising-package-price strong{font-size:2rem;letter-spacing:-.03em}
.advertising-package-price span{color:#64748b;font-weight:700}
.advertising-package-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 20px 16px}
.advertising-package-metrics div{padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.advertising-package-metrics dt{margin:0 0 4px;color:#64748b;font-size:.72rem;text-transform:uppercase;letter-spacing:.045em;font-weight:850}
.advertising-package-metrics dd{margin:0;color:#13294b;font-weight:900;font-size:.98rem;white-space:nowrap}
.advertising-feature-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 20px 18px;padding:0;list-style:none;color:#13294b}
.advertising-feature-list li{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:.86rem;font-weight:750}
.advertising-feature-list li::before{content:"✓";font-weight:900;color:#166534}
.advertising-package-card .advertising-actions{margin-top:auto;padding:16px 20px;border-top:1px solid #eef2f7;background:#fbfdff}
@media(max-width:1100px){.advertising-package-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.advertising-package-overview,.advertising-package-grid{grid-template-columns:1fr}.advertising-package-card__head{flex-direction:column}.advertising-package-metrics{grid-template-columns:1fr}.advertising-hero .btn-primary{width:100%;justify-content:center}}
html.admin-theme-dark .advertising-package-overview__item,html.admin-theme-dark .advertising-package-card{background:#14233a;border-color:#31537f;color:#eef5ff;box-shadow:none}
html.admin-theme-dark .advertising-package-card__head,html.admin-theme-dark .advertising-package-card .advertising-actions{background:#101d31;border-color:#31537f}
html.admin-theme-dark .advertising-package-overview__item span,html.admin-theme-dark .advertising-package-card__description,html.admin-theme-dark .advertising-package-price span,html.admin-theme-dark .advertising-package-metrics dt{color:#b9c8dc}
html.admin-theme-dark .advertising-package-overview__item strong,html.admin-theme-dark .advertising-package-price strong,html.admin-theme-dark .advertising-package-metrics dd{color:#fff}
html.admin-theme-dark .advertising-package-metrics div{background:#101d31;border-color:#31537f}
html.admin-theme-dark .advertising-feature-list li{background:#17365c;border-color:#31537f;color:#eef5ff}

/* Fix advertising settings page: prevent campaign-editor sticky section headers from overlapping fields */
.advertising-settings-form > .section-head{
    position:static!important;
    top:auto!important;
    z-index:auto!important;
    margin:0 0 22px!important;
    padding:0 0 20px!important;
    background:transparent!important;
    border-bottom:1px solid #e2e8f0!important;
    border-radius:0!important;
    backdrop-filter:none!important;
}
.advertising-settings-form > .advertising-section-divider{
    position:static!important;
    z-index:auto!important;
    margin:30px 0 18px!important;
    padding:22px 0 0!important;
    border-top:1px solid #e2e8f0!important;
    border-bottom:0!important;
}
.advertising-settings-form .advertising-form-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:16px;
    align-items:start;
    margin-bottom:4px;
}
.advertising-settings-form .advertising-form-grid > label:not(.switch-row){
    min-width:0;
}
.advertising-settings-form .advertising-form-grid > label:not(.switch-row) input,
.advertising-settings-form .advertising-form-grid > label:not(.switch-row) select{
    min-height:48px;
}
@media(max-width:760px){
    .advertising-settings-form > .section-head{align-items:flex-start;flex-direction:column;gap:14px}
    .advertising-settings-form > .section-head .btn-primary{width:100%}
    .advertising-settings-form .advertising-form-grid{grid-template-columns:1fr}
}

/* Clearer admin invoice overview */
.premium-admin-split--invoices{grid-template-columns:1fr}
.premium-admin-split--invoices .premium-admin-card{padding:22px}
.premium-admin-split--invoices .premium-filter-grid{padding:16px;margin-bottom:18px;border:1px solid #dbe5f2;border-radius:20px;background:#f8fbff}
.invoice-admin-list{display:grid;gap:12px}
.invoice-admin-card--compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 20px;border-radius:18px;box-shadow:0 10px 24px rgba(17,42,92,.06)}
.invoice-admin-card--compact::before{width:5px;height:100%;background:var(--promo-accent,#13294b)}
.invoice-admin-card__main{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(240px,1.2fr) minmax(150px,.75fr) minmax(130px,.55fr);gap:16px;align-items:center;min-width:0}
.invoice-admin-cell{min-width:0;display:flex;flex-direction:column;gap:4px}
.invoice-admin-label{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.invoice-admin-cell strong{font-size:16px;line-height:1.25;color:#10243f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invoice-admin-cell small{font-size:13px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invoice-admin-cell--amount{align-items:flex-start}.invoice-admin-cell--amount strong{font-size:18px}
.invoice-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.invoice-admin-actions form{margin:0}.invoice-admin-actions .btn-secondary,.invoice-admin-actions .btn-primary{min-height:40px;padding:0 14px;border-radius:12px;white-space:nowrap}.btn-danger-soft{color:#8a1f1f;border-color:#f0caca;background:#fff7f7}
@media (max-width:1180px){.invoice-admin-card--compact{grid-template-columns:1fr}.invoice-admin-card__main{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-admin-actions{justify-content:flex-start}}
@media (max-width:680px){.invoice-admin-card__main{grid-template-columns:1fr}.invoice-admin-card--compact{padding:16px}.invoice-admin-actions{flex-direction:column;align-items:stretch}.invoice-admin-actions .btn-secondary,.invoice-admin-actions .btn-primary,.invoice-admin-actions form{width:100%}}

/* Invoice overview spacing refinement */
.premium-admin-split--invoices .premium-admin-card{padding:14px 18px 18px}
.premium-admin-split--invoices .premium-filter-grid{padding:12px 14px;margin-bottom:10px;border-radius:18px;align-items:end}
.premium-admin-split--invoices .premium-filter-grid--compact{grid-template-columns:minmax(320px,1fr) minmax(260px,360px) auto;gap:12px}
.premium-admin-split--invoices .premium-filter-grid input,
.premium-admin-split--invoices .premium-filter-grid select{min-height:48px;border-radius:14px}
.premium-admin-split--invoices .premium-filter-grid__actions{gap:8px}
.premium-admin-split--invoices .invoice-admin-list{gap:10px}
.invoice-admin-card--compact{padding:16px 18px;min-height:0}
@media (max-width:1120px){.premium-admin-split--invoices .premium-filter-grid--compact{grid-template-columns:1fr}}

/* PRO package admin */
.pro-admin-shell .premium-admin-hero{background:linear-gradient(135deg,#10243f,#173d2d);color:#fff;border:0;box-shadow:0 24px 60px rgba(17,42,92,.22)}
.pro-admin-shell .premium-admin-hero h1,.pro-admin-shell .premium-admin-hero p{color:#fff}.pro-admin-shell .premium-admin-hero p{opacity:.82}.pro-admin-shell .premium-admin-hero .eyebrow{color:#dfffb6;background:rgba(168,235,39,.16);border-color:rgba(168,235,39,.38)}
.pro-admin-config-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}.pro-admin-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.pro-admin-package{display:flex;flex-direction:column;min-height:100%;border-color:#dbe5f2;overflow:hidden}.pro-admin-package::before{background:var(--promo-accent,#a8eb27)}.pro-admin-package .premium-admin-service__head{align-items:flex-start}.pro-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:auto}.pro-admin-fields label{min-width:0}.pro-admin-fields input[type="text"],.pro-admin-fields input[type="email"],.pro-admin-fields input[type="number"]{width:100%}.pro-admin-fields input[type="color"]{width:100%;height:48px;padding:4px;border:1px solid #cfd9e7;border-radius:14px;background:#fff}.pro-admin-fields .switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 12px;border:1px solid #dbe5f2;border-radius:14px;background:#f8fbff}.pro-admin-fields .switch-row span{margin:0}.pro-admin-fields .switch-row input{width:auto}.pro-admin-fields .premium-admin-service__preview{grid-column:1/-1}
@media(max-width:1180px){.pro-admin-package-grid{grid-template-columns:1fr}.pro-admin-config-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.pro-admin-config-grid,.pro-admin-fields{grid-template-columns:1fr}.pro-admin-shell .actions-row{flex-direction:column;align-items:stretch}.pro-admin-shell .actions-row a,.pro-admin-shell .actions-row button{width:100%;justify-content:center}}
html.admin-theme-dark .pro-admin-package,html.admin-theme-dark .pro-admin-fields .switch-row{background:#14233a;border-color:#31537f;color:#eef5ff}html.admin-theme-dark .pro-admin-fields input,html.admin-theme-dark .pro-admin-fields select{background:#101d31;border-color:#31537f;color:#eef5ff}

/* PRO price rules admin */
.pro-price-rule-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.pro-price-rule-form-grid .switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:0 14px;border:1px solid #d8e2ef;border-radius:16px;background:#fbfdff}.pro-price-rule-table-wrap{overflow:auto;border:1px solid #dbe5f2;border-radius:20px;background:#fff}.pro-price-rule-table{min-width:1040px;margin:0}.pro-price-rule-table th{white-space:nowrap}.pro-price-rule-table td{vertical-align:middle}.pro-price-rule-table select,.pro-price-rule-table input{width:100%;min-height:44px;padding:0 10px;border:1px solid #d8e2ef;border-radius:12px;background:#fbfdff;color:#1f2937}.pro-price-range-cell{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:170px}.pro-price-range-cell label{display:flex;flex-direction:column;gap:4px}.pro-price-range-cell label span{font-size:11px;font-weight:800;color:#65758b;text-transform:uppercase}.pro-price-status{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:130px;padding:8px 10px;border:1px solid #d8e2ef;border-radius:12px;background:#f8fbff}.pro-price-empty{margin:0;padding:28px;border:1px dashed #cfd9e7;border-radius:20px;background:#f8fbff}.pro-price-empty h3{margin:0 0 8px}.pro-price-empty p{margin:0;color:#66758f}.pro-price-rules-shell .danger{border-color:#fecaca;color:#b91c1c;background:#fff5f5}.pro-price-rules-shell .danger:hover{background:#fee2e2}
@media(max-width:1180px){.pro-price-rule-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.pro-price-rule-form-grid{grid-template-columns:1fr}.pro-price-rules-shell .actions-row{flex-direction:column;align-items:stretch}.pro-price-rules-shell .actions-row a,.pro-price-rules-shell .actions-row button{width:100%;justify-content:center}}
html.admin-theme-dark .pro-price-rule-table-wrap,html.admin-theme-dark .pro-price-empty,html.admin-theme-dark .pro-price-status,html.admin-theme-dark .pro-price-rule-form-grid .switch-row{background:#14233a;border-color:#31537f;color:#eef5ff}html.admin-theme-dark .pro-price-rule-table select,html.admin-theme-dark .pro-price-rule-table input{background:#101d31;border-color:#31537f;color:#eef5ff}html.admin-theme-dark .pro-price-rules-shell .danger{background:#2b1620;border-color:#7f1d1d;color:#fecaca}

/* PRO admin refinement: align with admin interface and improve price-rule editing */
.pro-admin-shell .premium-admin-hero,
.pro-price-rules-shell .premium-admin-hero{
    background:linear-gradient(135deg,#ffffff 0%,#f4f8ff 100%)!important;
    color:#10243f!important;
    border:1px solid #dbe5f2!important;
    box-shadow:0 12px 30px rgba(10,25,55,.06)!important;
    padding:22px 26px!important;
    border-radius:22px!important;
}
.pro-admin-shell .premium-admin-hero h1,
.pro-price-rules-shell .premium-admin-hero h1{color:#10243f!important;font-size:28px!important;margin:4px 0 8px!important}
.pro-admin-shell .premium-admin-hero p,
.pro-price-rules-shell .premium-admin-hero p{color:#51627a!important;opacity:1!important;line-height:1.55!important}
.pro-admin-shell .premium-admin-hero .eyebrow,
.pro-price-rules-shell .premium-admin-hero .eyebrow{display:inline-flex;width:auto;max-width:max-content;color:#315f10!important;background:#eefbe0!important;border:1px solid #d9f5bd!important;border-radius:999px!important;padding:4px 9px!important;letter-spacing:.08em!important}
.pro-admin-shell .premium-admin-stats,
.pro-price-rules-shell .premium-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;min-width:460px}
.pro-admin-shell .premium-admin-stats span,
.pro-price-rules-shell .premium-admin-stats span{background:#fff!important;color:#10243f!important;border:1px solid #dbe5f2!important;border-radius:18px!important;box-shadow:0 8px 18px rgba(10,25,55,.05)!important;padding:16px!important}
.pro-admin-shell .premium-admin-stats strong,
.pro-price-rules-shell .premium-admin-stats strong{color:#10243f!important;font-size:24px!important;line-height:1!important}
.pro-admin-shell .premium-admin-stats small,
.pro-price-rules-shell .premium-admin-stats small{color:#66758f!important;letter-spacing:.06em!important}
.pro-price-rule-create,.pro-price-rule-list{padding:22px 24px!important;border-radius:22px!important}.pro-price-rule-card-list{display:grid;gap:14px}.pro-price-rule-card{border:1px solid #dbe5f2;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(10,25,55,.05);overflow:hidden}.pro-price-rule-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;background:#f8fbff;border-bottom:1px solid #e5edf7}.pro-price-rule-card__head h3{margin:5px 0 5px;color:#10243f;font-size:18px}.pro-price-rule-card__head p{margin:0;color:#66758f;font-size:14px}.pro-price-rule-card__eyebrow{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#4b6381}.pro-price-rule-card__grid{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(150px,1.1fr) minmax(90px,.65fr) minmax(90px,.65fr) minmax(130px,.8fr) minmax(95px,.55fr) minmax(95px,.55fr) auto;gap:12px;align-items:end;padding:18px 20px}.pro-price-rule-card__grid label{display:flex;flex-direction:column;gap:7px;min-width:0}.pro-price-rule-card__grid label span{font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#66758f}.pro-price-rule-card__grid select,.pro-price-rule-card__grid input{width:100%;min-height:44px;border:1px solid #d5dfeb;border-radius:14px;background:#fbfdff;color:#10243f;padding:0 12px;font:inherit}.pro-price-rule-card__actions{display:flex;justify-content:flex-end;align-items:end}.pro-price-rule-card__actions .btn-secondary{min-height:44px;border-radius:14px}.pro-price-status-toggle{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;border:1px solid #d5dfeb;background:#fff;border-radius:999px;padding:8px 12px;font-weight:850;color:#334155}.pro-price-status-toggle input{accent-color:#2563eb;width:18px;height:18px}.pro-price-status-toggle:has(input:checked){border-color:#bdebd2;background:#f0fdf4;color:#166534}.pro-price-rules-shell .danger{border-color:#fecaca!important;background:#fff7f7!important;color:#a41515!important}.pro-price-rules-shell .danger:hover{background:#fee2e2!important}.pro-price-rule-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pro-price-rule-form-grid label:not(.switch-row){display:flex;flex-direction:column;gap:7px}.pro-price-rule-form-grid label span{font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#66758f}.pro-price-rule-form-grid input,.pro-price-rule-form-grid select{min-height:46px;border-radius:14px;border:1px solid #d5dfeb;background:#fbfdff;color:#10243f;padding:0 12px}
@media(max-width:1250px){.pro-price-rule-card__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pro-price-rule-card__actions{justify-content:flex-start}.pro-admin-shell .premium-admin-stats,.pro-price-rules-shell .premium-admin-stats{min-width:0;grid-template-columns:repeat(2,minmax(120px,1fr))}}
@media(max-width:760px){.pro-admin-shell .premium-admin-hero,.pro-price-rules-shell .premium-admin-hero{flex-direction:column;align-items:stretch}.pro-admin-shell .premium-admin-stats,.pro-price-rules-shell .premium-admin-stats{grid-template-columns:1fr}.pro-price-rule-card__head{flex-direction:column}.pro-price-rule-card__grid,.pro-price-rule-form-grid{grid-template-columns:1fr}.pro-price-rule-card__actions .btn-secondary{width:100%;justify-content:center}}
html.admin-theme-dark .pro-admin-shell .premium-admin-hero,html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero{background:#14233a!important;border-color:#31537f!important;color:#eef5ff!important}html.admin-theme-dark .pro-admin-shell .premium-admin-hero h1,html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero h1{color:#fff!important}html.admin-theme-dark .pro-admin-shell .premium-admin-hero p,html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero p{color:#b9c8dc!important}html.admin-theme-dark .pro-admin-shell .premium-admin-stats span,html.admin-theme-dark .pro-price-rules-shell .premium-admin-stats span,html.admin-theme-dark .pro-price-rule-card,html.admin-theme-dark .pro-price-rule-card__head{background:#101d31!important;border-color:#31537f!important;color:#eef5ff!important}html.admin-theme-dark .pro-price-rule-card__head h3,html.admin-theme-dark .pro-price-rule-card__grid select,html.admin-theme-dark .pro-price-rule-card__grid input{color:#eef5ff!important}html.admin-theme-dark .pro-price-rule-card__grid select,html.admin-theme-dark .pro-price-rule-card__grid input,html.admin-theme-dark .pro-price-status-toggle{background:#14233a!important;border-color:#31537f!important;color:#eef5ff!important}

/* PRO package bookings admin improvements */
.pro-booking-admin-list{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.pro-booking-admin-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:18px;align-items:stretch;padding:18px;border:1px solid #dbe5f2;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 12px 28px rgba(17,42,92,.06);position:relative;overflow:hidden}
.pro-booking-admin-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#8aa0bd}
.pro-booking-admin-card--active::before{background:#20a464}.pro-booking-admin-card--cancelled::before{background:#e5a500}.pro-booking-admin-card--inactive::before,.pro-booking-admin-card--expired::before{background:#9aa7b8}.pro-booking-admin-card--replaced::before{background:#5178c8}
.pro-booking-admin-card__main{display:grid;grid-template-columns:minmax(180px,1.05fr) minmax(180px,1fr) minmax(120px,.6fr);gap:14px;align-items:start;min-width:0}
.pro-booking-admin-card__customer,.pro-booking-admin-card__package,.pro-booking-admin-card__status{display:flex;flex-direction:column;gap:5px;min-width:0}
.pro-booking-admin-card__customer strong,.pro-booking-admin-card__package strong{font-size:16px;color:#10243f;word-break:break-word}.pro-booking-admin-card__customer small,.pro-booking-admin-card__package small{color:#51627a;word-break:break-word}
.pro-booking-admin-card__label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#63748c}
.pro-booking-admin-card__facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px}
.pro-booking-admin-card__facts span{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid #dbe5f2;border-radius:16px;background:#fff}.pro-booking-admin-card__facts small{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#63748c}.pro-booking-admin-card__facts strong{font-size:15px;color:#10243f}.pro-booking-admin-card__facts em{font-style:normal;color:#51627a;font-size:12px}
.pro-booking-admin-card__notice{grid-column:1/-1;padding:10px 12px;border-radius:14px;background:#fff8e6;border:1px solid #f0dca5;color:#755000;font-weight:700}
.pro-booking-admin-card__actions{display:flex;flex-direction:column;gap:9px;justify-content:center;padding-left:18px;border-left:1px solid #dbe5f2}.pro-booking-admin-card__actions form{display:flex;gap:8px;margin:0}.pro-booking-admin-card__actions button,.pro-booking-admin-card__actions select{min-height:40px;border-radius:12px}.pro-booking-admin-card__actions select{flex:1;min-width:0;padding:0 10px;border:1px solid #d5dfec;background:#fff;color:#10243f}.pro-booking-upgrade-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px}.btn-secondary.danger{border-color:#f1b7b7;color:#a51f1f;background:#fff5f5}.btn-secondary.danger:hover{background:#ffecec}
html.admin-theme-dark .pro-booking-admin-card{background:linear-gradient(180deg,#182235 0%,#141d2d 100%);border-color:#2e3a50}html.admin-theme-dark .pro-booking-admin-card__facts span{background:#101827;border-color:#2e3a50}html.admin-theme-dark .pro-booking-admin-card__actions{border-color:#2e3a50}html.admin-theme-dark .pro-booking-admin-card__customer strong,html.admin-theme-dark .pro-booking-admin-card__package strong,html.admin-theme-dark .pro-booking-admin-card__facts strong{color:#f7fbff}html.admin-theme-dark .pro-booking-admin-card__actions select{background:#101827;border-color:#2e3a50;color:#f7fbff}
@media(max-width:1180px){.pro-booking-admin-card{grid-template-columns:1fr}.pro-booking-admin-card__actions{border-left:0;border-top:1px solid #dbe5f2;padding-left:0;padding-top:14px}.pro-booking-admin-card__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pro-booking-upgrade-form{grid-column:1/-1}}
@media(max-width:760px){.pro-booking-admin-card__main,.pro-booking-admin-card__facts,.pro-booking-admin-card__actions{grid-template-columns:1fr}.pro-booking-admin-card__actions form,.pro-booking-upgrade-form{display:flex!important;flex-direction:column}.pro-booking-admin-card__actions button{width:100%}}

/* Dark mode: keep PRO booking cancellation notice readable */
html.admin-theme-dark .pro-booking-admin-card__notice,
body.admin-theme-dark .pro-booking-admin-card__notice,
.admin-theme-dark .pro-booking-admin-card__notice{
  background:#2b2109;
  border-color:#d9a629;
  color:#ffe7a3;
}
.pro-admin-feature-picker{padding:14px;border:1px solid #dbe5f2;border-radius:16px;background:#f8fbff}.pro-admin-feature-picker__head{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.pro-admin-feature-picker__head small{color:#64748b;line-height:1.35}.pro-admin-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pro-admin-fields .pro-admin-feature-option{min-height:42px;padding:0 10px}.pro-admin-fields .pro-admin-feature-option span{font-size:.9rem;line-height:1.25}@media(max-width:720px){.pro-admin-feature-grid{grid-template-columns:1fr}}html.admin-theme-dark .pro-admin-feature-picker{background:#101d31;border-color:#31537f}html.admin-theme-dark .pro-admin-feature-picker__head small{color:#b8c7dd}

.monthly-limit-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.monthly-limit-stats>div{padding:16px;border:1px solid var(--admin-line,#d9e1ec);border-radius:16px;background:var(--admin-card-soft,#f8fbff);box-shadow:var(--admin-shadow-soft,0 10px 24px rgba(17,42,92,.05));display:grid;gap:8px}.monthly-limit-stats span{color:#65758d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.monthly-limit-stats strong{font-size:26px;color:var(--admin-text,#13294b)}.monthly-limit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.monthly-limit-category-card{overflow:hidden}.monthly-limit-category-table-wrap{overflow:auto}.monthly-limit-category-table{min-width:860px}.monthly-limit-category-table input[type=number]{width:110px;min-height:38px;border:1px solid var(--admin-line,#d9e1ec);border-radius:10px;background:var(--admin-card,#fff);color:var(--admin-text,#13294b);padding:0 10px}.monthly-limit-category-table input[type=checkbox]{width:18px;height:18px}.admin-table-center{text-align:center}@media(max-width:1100px){.monthly-limit-stats,.monthly-limit-grid{grid-template-columns:1fr 1fr}}@media(max-width:720px){.monthly-limit-stats,.monthly-limit-grid{grid-template-columns:1fr}}

/* Monthly listing limits: improved category editor */
.monthly-limit-category-card{padding:20px!important;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.monthly-limit-category-card>strong{font-size:18px;color:#10243f}.monthly-limit-category-card>span{max-width:980px;line-height:1.45;color:#526780}
.monthly-limit-category-table-wrap{margin-top:12px;border:1px solid #dbe5f2;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(17,42,92,.05);max-height:560px;overflow:auto}
.monthly-limit-category-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;margin:0;table-layout:fixed}
.monthly-limit-category-table th{position:sticky;top:0;z-index:2;padding:13px 16px;background:#f3f7fc;color:#526780;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid #dbe5f2;white-space:nowrap}
.monthly-limit-category-table th:first-child{width:44%}.monthly-limit-category-table th:nth-child(2),.monthly-limit-category-table th:nth-child(3){width:28%}
.monthly-limit-category-table td{padding:10px 16px;border-bottom:1px solid #edf2f8;vertical-align:middle;background:#fff}.monthly-limit-category-table tr:last-child td{border-bottom:0}
.monthly-limit-category-row--parent td{background:#fbfdff}.monthly-limit-category-row:hover td{background:#f6f9fd}.monthly-limit-category-name{min-width:0}
.monthly-limit-category-title{display:flex;align-items:center;gap:9px;min-height:38px;padding-left:calc(var(--level,0) * 22px);font-weight:750;color:#172b4d;line-height:1.3;word-break:normal}.monthly-limit-category-row--parent .monthly-limit-category-title{font-weight:900;color:#0f2747}
.monthly-limit-tree-dot{width:10px;height:10px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #e8f0ff;flex:0 0 auto}.monthly-limit-tree-spacer{width:10px;flex:0 0 auto}.monthly-limit-category-row--level-1 .monthly-limit-tree-dot,.monthly-limit-category-row--level-1 .monthly-limit-tree-spacer{opacity:.75}.monthly-limit-category-row--level-2 .monthly-limit-tree-dot,.monthly-limit-category-row--level-2 .monthly-limit-tree-spacer{opacity:.55}
.monthly-limit-account-control{display:grid;grid-template-columns:minmax(112px,1fr) 92px;gap:10px;align-items:center}.monthly-limit-mini-switch{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dbe5f2;border-radius:999px;background:#f8fbff;color:#53667f;font-weight:800;font-size:12px;white-space:nowrap}.monthly-limit-mini-switch input{width:17px!important;height:17px!important;accent-color:#2563eb}.monthly-limit-mini-switch:has(input:checked){border-color:#b7d3ff;background:#eff6ff;color:#174ea6}.monthly-limit-category-table .monthly-limit-account-control input[type=number]{width:92px;min-height:38px;text-align:center;border-radius:12px;background:#fff}
html.admin-theme-dark .monthly-limit-category-card{background:#14233a;border-color:#31537f}html.admin-theme-dark .monthly-limit-category-card>strong{color:#eef5ff}html.admin-theme-dark .monthly-limit-category-card>span{color:#b8c7dd}html.admin-theme-dark .monthly-limit-category-table-wrap{background:#101d31;border-color:#31537f}html.admin-theme-dark .monthly-limit-category-table th{background:#172942;border-color:#31537f;color:#c5d5ea}html.admin-theme-dark .monthly-limit-category-table td,html.admin-theme-dark .monthly-limit-category-row--parent td{background:#101d31;border-color:#253c5d}html.admin-theme-dark .monthly-limit-category-row:hover td{background:#14233a}html.admin-theme-dark .monthly-limit-category-title{color:#eef5ff}html.admin-theme-dark .monthly-limit-mini-switch{background:#14233a;border-color:#31537f;color:#c5d5ea}html.admin-theme-dark .monthly-limit-mini-switch:has(input:checked){background:#17335d;border-color:#4c82d9;color:#dbeafe}
@media(max-width:900px){.monthly-limit-category-table{min-width:680px}.monthly-limit-category-table th:first-child{width:38%}.monthly-limit-account-control{grid-template-columns:1fr}.monthly-limit-category-table .monthly-limit-account-control input[type=number]{width:100%}}


/* Monthly listing limits: alignment refinements */
.monthly-limit-warning-card{display:flex;flex-direction:column}
.monthly-limit-warning-spacer{min-height:31px;flex:0 0 31px}
.monthly-limit-warning-card label{margin-top:0}
.monthly-limit-category-table th:first-child,.monthly-limit-category-table td:first-child{text-align:left!important}
.monthly-limit-category-table th:nth-child(2),.monthly-limit-category-table th:nth-child(3){text-align:center!important}
.monthly-limit-category-title{justify-content:flex-start;text-align:left}
.monthly-limit-category-name{ text-align:left!important }
@media(max-width:900px){.monthly-limit-warning-spacer{min-height:0;display:none}}

/* Monthly listing limits: equal top cards */
.monthly-limit-grid>.monthly-limit-top-card{display:grid!important;grid-template-rows:auto minmax(66px,auto) 30px auto;align-content:start;gap:10px}
.monthly-limit-grid>.monthly-limit-top-card>strong{margin:0}.monthly-limit-grid>.monthly-limit-top-card>span{display:block;min-height:66px;line-height:1.55}.monthly-limit-grid>.monthly-limit-top-card>.checkbox-line{min-height:30px;margin:0;align-items:center}.monthly-limit-grid>.monthly-limit-top-card>label:not(.checkbox-line){margin:0;align-self:start}.monthly-limit-grid>.monthly-limit-top-card>label:not(.checkbox-line) input{margin-top:6px}.monthly-limit-placeholder-row{visibility:hidden;pointer-events:none}.monthly-limit-warning-spacer{display:none!important}
@media(max-width:900px){.monthly-limit-grid>.monthly-limit-top-card{grid-template-rows:auto auto auto auto}.monthly-limit-grid>.monthly-limit-top-card>span{min-height:0}.monthly-limit-placeholder-row{display:none!important}}


/* Monthly listing limits: final top-card alignment */
.monthly-limit-grid{align-items:stretch!important}
.monthly-limit-grid>.monthly-limit-top-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:262px!important;
  height:100%!important;
  gap:0!important;
  padding:24px 22px!important;
}
.monthly-limit-grid>.monthly-limit-top-card>strong{
  display:block!important;
  margin:0 0 10px!important;
  min-height:26px!important;
  line-height:26px!important;
}
.monthly-limit-grid>.monthly-limit-top-card>span{
  display:block!important;
  min-height:78px!important;
  margin:0!important;
  line-height:1.55!important;
}
.monthly-limit-grid>.monthly-limit-top-card>.checkbox-line{
  display:flex!important;
  align-items:center!important;
  min-height:26px!important;
  margin:0 0 10px!important;
  gap:10px!important;
}
.monthly-limit-grid>.monthly-limit-top-card>.checkbox-line input{
  width:18px!important;
  height:18px!important;
  margin:0!important;
}
.monthly-limit-grid>.monthly-limit-top-card>.checkbox-line span{
  line-height:26px!important;
}
.monthly-limit-grid>.monthly-limit-top-card>label:not(.checkbox-line){
  display:block!important;
  margin:0!important;
  min-height:56px!important;
  line-height:20px!important;
}
.monthly-limit-grid>.monthly-limit-top-card>label:not(.checkbox-line) input{
  width:100%!important;
  min-height:38px!important;
  margin-top:6px!important;
}
.monthly-limit-placeholder-row{
  visibility:hidden!important;
  pointer-events:none!important;
}
@media(max-width:900px){
  .monthly-limit-grid>.monthly-limit-top-card{min-height:0!important;height:auto!important}
  .monthly-limit-grid>.monthly-limit-top-card>span{min-height:0!important;margin-bottom:12px!important}
  .monthly-limit-placeholder-row{display:none!important}
}
.monthly-limit-email-card{border-style:solid}.monthly-limit-email-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.monthly-limit-email-grid .checkbox-line{margin:0;padding:10px 12px;border:1px solid var(--admin-line,#d9e1ec);border-radius:14px;background:var(--admin-card-soft,#f8fbff)}@media(max-width:900px){.monthly-limit-email-grid{grid-template-columns:1fr}}

.admin-inline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.admin-inline-actions .admin-muted{font-size:.9rem;color:var(--admin-muted,#6b7d99)}

/* User edit: monthly listing limit controls */
.admin-limit-section{display:grid;gap:18px}.admin-limit-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-limit-section-head h2{margin:0 0 6px;color:#0f172a;font-size:20px;font-weight:850}.admin-limit-section-head p{margin:0;color:#64748b;font-size:14px;line-height:1.55}.admin-limit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-limit-option-card,.admin-limit-extra-card{min-height:106px;display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #dbe6f4;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 12px 28px rgba(15,23,42,.04)}.admin-limit-option-card input[type=checkbox]{width:20px;height:20px;flex:0 0 auto;accent-color:#2563eb}.admin-limit-option-card span,.admin-limit-extra-card span{display:grid;gap:5px;min-width:0}.admin-limit-option-card strong,.admin-limit-extra-card strong,.admin-limit-reset-copy strong{color:#0f172a;font-size:15px;font-weight:850}.admin-limit-option-card small,.admin-limit-extra-card small,.admin-limit-reset-copy span{color:#64748b;font-size:13px;line-height:1.45}.admin-limit-extra-card{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center}.admin-limit-extra-card input{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:#0f172a;padding:0 12px;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)}.admin-limit-extra-card input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.14)}.admin-limit-reset-box{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #fed7aa;border-radius:18px;background:linear-gradient(180deg,#fff7ed 0%,#fff 100%)}.admin-limit-reset-copy{display:grid;gap:5px}.admin-limit-reset-button{white-space:nowrap;border-color:#fdba74!important;color:#9a3412!important;background:#fff!important}.admin-limit-reset-button:hover{background:#ffedd5!important}@media(max-width:900px){.admin-limit-grid{grid-template-columns:1fr}.admin-limit-reset-box{align-items:flex-start;flex-direction:column}.admin-limit-extra-card{grid-template-columns:1fr}}html.admin-theme-dark .admin-limit-section-head h2,html.admin-theme-dark .admin-limit-option-card strong,html.admin-theme-dark .admin-limit-extra-card strong,html.admin-theme-dark .admin-limit-reset-copy strong{color:#e6edf7}html.admin-theme-dark .admin-limit-section-head p,html.admin-theme-dark .admin-limit-option-card small,html.admin-theme-dark .admin-limit-extra-card small,html.admin-theme-dark .admin-limit-reset-copy span{color:#aebed2}html.admin-theme-dark .admin-limit-option-card,html.admin-theme-dark .admin-limit-extra-card{background:linear-gradient(180deg,#132741 0%,#0d1c31 100%);border-color:#294766}html.admin-theme-dark .admin-limit-extra-card input{background:#0f1f35;border-color:#294766;color:#e6edf7}html.admin-theme-dark .admin-limit-reset-box{background:linear-gradient(180deg,#2b1f12 0%,#142235 100%);border-color:#6b431c}html.admin-theme-dark .admin-limit-reset-button{background:#1d2e47!important;color:#fed7aa!important;border-color:#8a5725!important}

/* User edit: cleaner monthly listing limit form */
.admin-limit-section{display:grid;gap:14px}.admin-limit-section-head h2{margin:0 0 6px;color:#0f172a;font-size:20px;font-weight:850}.admin-limit-section-head p{margin:0;color:#64748b;font-size:14px;line-height:1.55}.admin-limit-panel{border:1px solid #dbe6f4;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.035)}.admin-limit-row{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:18px;margin:0;padding:18px 20px;border:0;border-bottom:1px solid #e7edf6;background:#fff}.admin-limit-row:last-child{border-bottom:0}.admin-limit-row-copy{display:grid;gap:5px}.admin-limit-row-copy strong{color:#0f172a;font-size:15px;font-weight:850}.admin-limit-row-copy small{color:#64748b;font-size:13px;line-height:1.45}.admin-limit-toggle{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;color:#475569;font-size:13px;font-weight:800}.admin-limit-toggle input[type=checkbox]{width:18px;height:18px;accent-color:#2563eb}.admin-limit-number{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:0 12px;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)}.admin-limit-number:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.14)}.admin-limit-reset-row{background:#fbfdff}.admin-limit-reset-button{justify-self:end;white-space:nowrap;border-color:#cbd5e1!important;color:#0f172a!important;background:#fff!important}.admin-limit-reset-button:hover{border-color:#2563eb!important;color:#2563eb!important;background:#f8fbff!important}@media(max-width:760px){.admin-limit-row{grid-template-columns:1fr;gap:12px}.admin-limit-toggle{justify-content:flex-start}.admin-limit-reset-button{justify-self:start}}html.admin-theme-dark .admin-limit-section-head h2,html.admin-theme-dark .admin-limit-row-copy strong{color:#e6edf7}html.admin-theme-dark .admin-limit-section-head p,html.admin-theme-dark .admin-limit-row-copy small,html.admin-theme-dark .admin-limit-toggle{color:#aebed2}html.admin-theme-dark .admin-limit-panel{background:#0f1f35;border-color:#294766}html.admin-theme-dark .admin-limit-row{background:#0f1f35;border-bottom-color:#294766}html.admin-theme-dark .admin-limit-reset-row{background:#132741}html.admin-theme-dark .admin-limit-number{background:#0d1c31;border-color:#294766;color:#e6edf7}html.admin-theme-dark .admin-limit-reset-button{background:#0d1c31!important;color:#e6edf7!important;border-color:#294766!important}

.social-link-admin-row{display:flex;gap:16px;align-items:center;border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:14px;background:#fff}
.social-link-admin-row__preview{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:22px;flex:0 0 auto}
.social-link-admin-row__fields{flex:1;margin:0}
@media (max-width: 720px){.social-link-admin-row{align-items:flex-start}.social-link-admin-row__preview{width:42px;height:42px}.social-link-admin-row__fields{grid-template-columns:1fr}}
.social-link-admin-row__preview .site-social-svg{display:block;width:22px;height:22px}

/* Social links admin: fixed SVG icons, light/dark ready */
.social-link-admin-row{
  display:flex;
  gap:16px;
  align-items:center;
  border:1px solid var(--admin-line,#dbe5f2)!important;
  border-radius:16px;
  padding:14px;
  background:var(--admin-card,#fff)!important;
  color:var(--admin-text,#172948)!important;
}
.social-link-admin-row__preview{
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef5ff!important;
  color:#2563eb!important;
  flex:0 0 auto;
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.16);
}
.social-link-admin-row__preview .admin-social-svg{
  display:block!important;
  width:22px!important;
  height:22px!important;
  color:currentColor!important;
}
.social-link-admin-row__fields{flex:1;margin:0}
.social-link-admin-row__fields label span{color:var(--admin-text,#172948)!important}
html.admin-theme-dark .social-link-admin-row{
  background:#0f1f35!important;
  border-color:#31537f!important;
  color:#eef5ff!important;
}
html.admin-theme-dark .social-link-admin-row__preview{
  background:#eaf2ff!important;
  color:#2563eb!important;
  box-shadow:inset 0 0 0 1px rgba(147,197,253,.45),0 10px 22px rgba(0,0,0,.18);
}
html.admin-theme-dark .social-link-admin-row__fields label span{color:#eef5ff!important}
@media (max-width: 720px){.social-link-admin-row{align-items:flex-start}.social-link-admin-row__preview{width:42px;height:42px}.social-link-admin-row__fields{grid-template-columns:1fr}}

/* Social login settings: readable in light and dark mode */
.admin-content .switch-row{
  background:var(--admin-card-soft,#f6f9fe)!important;
  border-color:var(--admin-line,#dde7f4)!important;
  color:var(--admin-text,#172948)!important;
}
.admin-content .switch-row span{color:var(--admin-text,#172948)!important}
.admin-content .switch-row input[type="checkbox"]{accent-color:#2563eb}
html.admin-theme-dark .admin-content .switch-row{
  background:#0f1f35!important;
  border-color:#31537f!important;
  color:#eef5ff!important;
}
html.admin-theme-dark .admin-content .switch-row span{color:#eef5ff!important}
html.admin-theme-dark .admin-content input[readonly]{
  background:#0d1c31!important;
  border-color:#31537f!important;
  color:#dbeafe!important;
}

/* User edit: social link URL fields should use full available row width */
.social-link-admin-row__fields{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  max-width:none!important;
}
.social-link-admin-row__fields label,
.social-link-admin-row__fields input{
  width:100%!important;
  max-width:none!important;
}

/* Customer license settings */

.license-settings-hero {
  align-items: center;
}
.license-settings-hero > div:first-child {
  min-width: 0;
}
.license-hero-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.license-hero-status small {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.license-hero-status .license-status-pill {
  min-height: 24px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: .035em;
}
.license-settings-page .license-settings-grid {
  grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr);
  align-items: stretch;
}
.license-settings-card,
.license-status-card,
.license-help-card {
  border-radius: 18px;
}
.license-settings-card label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-weight: 700;
}
.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.license-status-list {
  display: grid;
  gap: 12px;
  margin: 0;
}
.license-status-list > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.license-status-list > div:last-child {
  border-bottom: 0;
}
.license-status-list dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.license-status-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.license-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #e2e8f0;
  color: #334155;
}
.license-status-pill.is-active {
  background: #dcfce7;
  color: #166534;
}
.license-status-pill.is-error {
  background: #fee2e2;
  color: #991b1b;
}
.license-help-card ol {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.7;
}
@media (max-width: 980px) {
  .license-settings-page .license-settings-grid {
    grid-template-columns: 1fr;
  }
  .license-status-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* License settings dark/light contrast fix */
.license-settings-page .license-status-pill{
  color:#334155!important;
  background:#e2e8f0!important;
  border:1px solid #cbd5e1!important;
}
.license-settings-page .license-status-pill.is-active{
  color:#166534!important;
  background:#dcfce7!important;
  border-color:#86efac!important;
}
.license-settings-page .license-status-pill.is-error{
  color:#991b1b!important;
  background:#fee2e2!important;
  border-color:#fecaca!important;
}
html.admin-theme-dark .license-settings-page .license-status-pill{
  color:#dbeafe!important;
  background:#173557!important;
  border-color:#4f7eb5!important;
}
html.admin-theme-dark .license-settings-page .license-status-pill.is-active{
  color:#bbf7d0!important;
  background:#064e3b!important;
  border-color:#10b981!important;
}
html.admin-theme-dark .license-settings-page .license-status-pill.is-error{
  color:#fecaca!important;
  background:#7f1d1d!important;
  border-color:#ef4444!important;
}
html.admin-theme-dark .license-settings-page .license-hero-status{
  background:rgba(15,23,42,.28)!important;
  border-color:rgba(191,219,254,.32)!important;
}
html.admin-theme-dark .license-settings-page .license-hero-status small,
html.admin-theme-dark .license-settings-page .license-status-list dt{
  color:#adc4e3!important;
}
html.admin-theme-dark .license-settings-page .license-status-list dd{
  color:#f8fbff!important;
}
html.admin-theme-dark .license-settings-page .license-status-list > div{
  border-bottom-color:rgba(148,163,184,.18)!important;
}

/* extension_manager_darkmode_button_fix_v1
   Keep destructive extension buttons readable in dark mode. */
html.admin-theme-dark .admin-content .extension-card__actions .btn-danger,
html.admin-theme-dark .admin-content a.btn-danger,
html.admin-theme-dark .admin-content button.btn-danger,
html.admin-theme-dark .admin-content input.btn-danger {
  background: #7f1d1d !important;
  border: 1px solid #f87171 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

html.admin-theme-dark .admin-content .extension-card__actions .btn-danger *,
html.admin-theme-dark .admin-content a.btn-danger *,
html.admin-theme-dark .admin-content button.btn-danger * {
  color: #ffffff !important;
  opacity: 1 !important;
}

html.admin-theme-dark .admin-content .extension-card__actions .btn-danger:hover,
html.admin-theme-dark .admin-content a.btn-danger:hover,
html.admin-theme-dark .admin-content button.btn-danger:hover,
html.admin-theme-dark .admin-content input.btn-danger:hover {
  background: #991b1b !important;
  border-color: #fca5a5 !important;
  color: #ffffff !important;
}

html.admin-theme-dark .admin-content .extension-card__actions .btn-danger:focus-visible,
html.admin-theme-dark .admin-content a.btn-danger:focus-visible,
html.admin-theme-dark .admin-content button.btn-danger:focus-visible,
html.admin-theme-dark .admin-content input.btn-danger:focus-visible {
  outline: 3px solid rgba(248, 113, 113, .38) !important;
  outline-offset: 2px !important;
}

/* News admin form refinements */
.news-admin-form {
  gap: 18px;
}
.news-admin-form > label,
.news-admin-image-panel__fields > label:not(.news-admin-check-row) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 800;
  color: var(--admin-text, #13294b);
}
.news-admin-form input:not([type="checkbox"]),
.news-admin-form select,
.news-admin-form textarea {
  width: 100%;
}
.news-admin-image-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--admin-line, #d9e1ec);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.news-admin-image-panel__preview {
  min-height: 180px;
  border: 1px dashed #b9c7db;
  border-radius: 16px;
  background: #f1f6ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 850;
}
.news-admin-image-panel__preview img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.news-admin-image-panel__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}
.news-admin-image-panel__fields label:first-child {
  grid-column: 1 / -1;
}
.news-admin-newsletter {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--admin-line, #d9e1ec);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  display: grid;
  gap: 12px;
}
.news-admin-newsletter legend {
  padding: 0 8px;
  color: var(--admin-text, #13294b);
  font-weight: 900;
}
.news-admin-check-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 46px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  background: #fff;
  color: var(--admin-text, #13294b);
  font-weight: 800;
  cursor: pointer;
}
.news-admin-check-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #2563eb;
}
.news-admin-check-row span {
  display: block;
  min-width: 0;
}
.news-admin-check-row:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}
.news-admin-newsletter .note {
  margin: 4px 0 0;
}
html.admin-theme-dark .news-admin-image-panel,
html.admin-theme-dark .news-admin-newsletter {
  background: linear-gradient(180deg, #132741 0%, #0d1c31 100%) !important;
  border-color: #294766 !important;
}
html.admin-theme-dark .news-admin-image-panel__preview {
  background: #0f1f35 !important;
  border-color: #46658f !important;
  color: #aebed2 !important;
}
html.admin-theme-dark .news-admin-check-row {
  background: #0f1f35 !important;
  border-color: #294766 !important;
  color: #e6edf7 !important;
}
html.admin-theme-dark .news-admin-check-row:hover {
  background: #132741 !important;
  border-color: #3b82f6 !important;
}
@media (max-width: 900px) {
  .news-admin-image-panel,
  .news-admin-image-panel__fields {
    grid-template-columns: 1fr;
  }
}

/* News admin post form - clear card layout */
.news-post-admin-shell{display:flex;flex-direction:column;gap:20px;width:100%;max-width:none;margin:0 0 28px}
.news-post-admin-head{align-items:flex-start;gap:18px;padding:22px 24px;border:1px solid var(--admin-line,#d9e1ec);border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f6f9ff 100%);box-shadow:0 16px 34px rgba(15,39,72,.08)}
.news-post-admin-head h1{margin:6px 0 8px}
.news-post-admin-head__actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}
.admin-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#2563eb;font-size:.78rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.news-post-admin-form{display:flex;flex-direction:column;gap:18px}
.news-admin-section{padding:22px;border:1px solid var(--admin-line,#d9e1ec);border-radius:22px;background:var(--admin-card,#fff);box-shadow:0 16px 34px rgba(15,39,72,.07)}
.news-admin-section--main{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.news-admin-section__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--admin-line,#d9e1ec)}
.news-admin-section__head>div{display:flex;align-items:center;gap:12px;min-width:0}
.news-admin-section__head h2{margin:0;color:var(--admin-text,#13294b);font-size:1.08rem;line-height:1.2}
.news-admin-section__head p{margin:0;max-width:520px;color:var(--admin-muted,#64748b);font-size:.92rem;line-height:1.45;text-align:right}
.news-admin-section__step{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#2563eb;color:#fff;font-weight:950;box-shadow:0 8px 18px rgba(37,99,235,.22)}
.news-admin-grid{display:grid;gap:16px}
.news-admin-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.news-admin-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.news-admin-grid label,.news-admin-image-panel__fields label:not(.news-admin-check-row){display:flex;flex-direction:column;gap:8px;font-weight:850;color:var(--admin-text,#13294b);min-width:0}
.news-admin-grid input:not([type="checkbox"]),.news-admin-grid select,.news-admin-grid textarea,.news-admin-image-panel__fields input:not([type="checkbox"]),.news-admin-image-panel__fields select{width:100%;min-height:44px;border:1px solid var(--admin-line,#d9e1ec);border-radius:12px;background:var(--admin-card,#fff);color:var(--admin-text,#13294b);padding:10px 12px}
.news-admin-grid textarea{resize:vertical;line-height:1.45}
.news-admin-grid input:focus,.news-admin-grid select:focus,.news-admin-grid textarea:focus,.news-admin-image-panel__fields input:focus,.news-admin-image-panel__fields select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.13)}
.news-admin-wide{grid-column:1/-1}
.news-admin-two-column{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(460px,1.1fr);gap:18px;align-items:start}
.news-admin-two-column .news-admin-section{height:100%}
.news-admin-two-column .news-admin-section__head{display:block}
.news-admin-two-column .news-admin-section__head>div{margin-bottom:8px}
.news-admin-two-column .news-admin-section__head p{text-align:left;max-width:none}
.news-admin-image-panel{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.news-admin-image-panel__preview{min-height:170px;border:1px dashed #b9c7db;border-radius:18px;background:#f1f6ff;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#64748b;font-weight:900;text-align:center;padding:14px}
.news-admin-image-panel__preview img{width:100%;height:100%;min-height:170px;object-fit:cover;display:block;border-radius:16px}
.news-admin-image-panel__fields{display:grid;grid-template-columns:1fr;gap:14px;align-content:start}
.news-admin-newsletter{margin-top:18px;padding:16px;border:1px solid #dbe6f4;border-radius:18px;background:#f8fbff;display:grid;gap:10px}
.news-admin-newsletter>strong{display:block;margin-bottom:2px;color:var(--admin-text,#13294b);font-size:.95rem}
.news-admin-check-row{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:46px;margin:0;padding:12px 14px;border:1px solid #dbe6f4;border-radius:14px;background:#fff;color:var(--admin-text,#13294b);font-weight:850;cursor:pointer}
.news-admin-check-row input[type="checkbox"]{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;margin:0;accent-color:#2563eb}
.news-admin-check-row span{display:block;min-width:0;line-height:1.35}
.news-admin-check-row:hover{border-color:#bfdbfe;background:#f3f7ff}
.news-admin-newsletter .note{margin:4px 0 0;color:var(--admin-muted,#64748b)}
.news-admin-language-tabs{margin:0}
.news-admin-language-tabs .language-tabs-nav{margin-bottom:0}
.news-admin-language-tabs .language-tab-panel{box-shadow:none;border-radius:18px}
.news-admin-sticky-actions{position:sticky;bottom:14px;z-index:10;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px;border:1px solid var(--admin-line,#d9e1ec);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 40px rgba(15,39,72,.16);backdrop-filter:blur(10px)}
.news-admin-section--content .cke_chrome{border-radius:12px;overflow:hidden;border-color:var(--admin-line,#d9e1ec)!important}
html.admin-theme-dark .news-post-admin-head,html.admin-theme-dark .news-admin-section,html.admin-theme-dark .news-admin-newsletter,html.admin-theme-dark .news-admin-sticky-actions{background:#0f1f35!important;border-color:#294766!important;color:#e6edf7!important;box-shadow:none}
html.admin-theme-dark .news-admin-section--main{background:linear-gradient(180deg,#132741 0%,#0d1c31 100%)!important}
html.admin-theme-dark .news-admin-section__head{border-color:#294766!important}
html.admin-theme-dark .news-admin-section__head h2,html.admin-theme-dark .news-admin-grid label,html.admin-theme-dark .news-admin-image-panel__fields label,html.admin-theme-dark .news-admin-newsletter>strong{color:#eef5ff!important}
html.admin-theme-dark .news-admin-section__head p,html.admin-theme-dark .news-admin-newsletter .note{color:#aebed2!important}
html.admin-theme-dark .news-admin-grid input:not([type="checkbox"]),html.admin-theme-dark .news-admin-grid select,html.admin-theme-dark .news-admin-grid textarea,html.admin-theme-dark .news-admin-image-panel__fields input:not([type="checkbox"]),html.admin-theme-dark .news-admin-image-panel__fields select{background:#0b1728!important;border-color:#31537f!important;color:#eef5ff!important}
html.admin-theme-dark .news-admin-image-panel__preview{background:#0b1728!important;border-color:#46658f!important;color:#aebed2!important}
html.admin-theme-dark .news-admin-check-row{background:#0b1728!important;border-color:#294766!important;color:#e6edf7!important}
html.admin-theme-dark .news-admin-check-row:hover{background:#132741!important;border-color:#3b82f6!important}
html.admin-theme-dark .news-admin-sticky-actions{background:rgba(15,31,53,.92)!important}
@media(max-width:1180px){.news-admin-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.news-admin-two-column{grid-template-columns:1fr}.news-admin-image-panel{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:760px){.news-post-admin-head,.news-admin-section__head{display:block}.news-post-admin-head__actions{justify-content:flex-start;margin-top:14px;margin-left:0}.news-admin-section__head p{text-align:left;margin-top:8px}.news-admin-grid--2,.news-admin-grid--3,.news-admin-image-panel{grid-template-columns:1fr}.news-admin-section{padding:16px}.news-admin-sticky-actions{position:static;justify-content:stretch;flex-wrap:wrap}.news-admin-sticky-actions .btn-primary,.news-admin-sticky-actions .btn-secondary{flex:1 1 140px}}

/* News admin post form - full width without numbered steps */
.admin-content .news-post-admin-shell{width:100%;max-width:none;margin-left:0;margin-right:0}
.news-admin-section__step{display:none!important}
.news-admin-section__head>div{gap:0}
.news-post-admin-head{width:100%}
.news-post-admin-form{width:100%}

/* News admin overview cards: explicit light/dark theme support */
.news-admin-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:18px 0 20px;
}
.news-admin-stat-card{
  position:relative;
  overflow:hidden;
  min-height:94px;
  padding:20px 22px;
  border:1px solid var(--admin-line,#d9e1ec);
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:0 14px 30px rgba(15,39,72,.06);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  color:var(--admin-text,#13294b);
}
.news-admin-stat-card::after{
  content:"";
  position:absolute;
  right:-24px;
  bottom:-32px;
  width:96px;
  height:96px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  pointer-events:none;
}
.news-admin-stat-card span{
  position:relative;
  z-index:1;
  color:var(--admin-muted,#64748b);
  font-size:.82rem;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.news-admin-stat-card strong{
  position:relative;
  z-index:1;
  color:var(--admin-text,#13294b);
  font-size:2rem;
  line-height:1;
  font-weight:950;
  letter-spacing:-.03em;
}
html.admin-theme-dark .news-admin-stat-card,
body.admin-theme-dark .news-admin-stat-card{
  background:linear-gradient(180deg,#132741 0%,#0f1f35 100%)!important;
  border-color:#31537f!important;
  box-shadow:none!important;
  color:#eef5ff!important;
}
html.admin-theme-dark .news-admin-stat-card::after,
body.admin-theme-dark .news-admin-stat-card::after{
  background:rgba(59,130,246,.16)!important;
}
html.admin-theme-dark .news-admin-stat-card span,
body.admin-theme-dark .news-admin-stat-card span{
  color:#b9c8dc!important;
}
html.admin-theme-dark .news-admin-stat-card strong,
body.admin-theme-dark .news-admin-stat-card strong{
  color:#ffffff!important;
}
@media(max-width:1100px){
  .news-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .news-admin-stats{grid-template-columns:1fr;}
}

/* Fix: page management search input must remain a single pill in dark mode.
   Global dark-mode input rules were restyling the nested search field as a second box. */
.pages-admin-search svg,
.pages-admin-search img.pages-admin-search-icon{
  position:absolute;
  left:16px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  color:#64748b;
  pointer-events:none;
}
.pages-admin-search input[type="search"],
.pages-admin-search input[data-pages-search]{
  display:block;
  width:100%;
  height:48px;
  min-height:48px;
  box-sizing:border-box;
  padding:0 16px 0 46px;
  line-height:48px;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  -webkit-appearance:none;
  appearance:none;
}
html.admin-theme-dark .admin-content .pages-admin-search input[type="search"],
html.admin-theme-dark .admin-content .pages-admin-search input[data-pages-search]{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#f3f7ff!important;
}
html.admin-theme-dark .pages-admin-search img.pages-admin-search-icon{
  filter:brightness(0) saturate(100%) invert(86%) sepia(13%) saturate(540%) hue-rotate(180deg) brightness(91%) contrast(88%);
  opacity:1;
}

.admin-filter-card{margin:18px 0;padding:18px}.admin-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px}.admin-filter-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700}.admin-filter-actions{display:flex;gap:10px;margin-top:14px}.admin-inline-list{display:grid;gap:8px;margin-top:12px;padding:12px;border-radius:14px;background:var(--admin-soft-bg,#f6f8fb)}
@media (max-width:1100px){.admin-filter-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media (max-width:640px){.admin-filter-grid{grid-template-columns:1fr}}

/* User review moderation cards */
.reviews-filter-card{padding:22px 24px;}
.reviews-filter-form{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;}
.reviews-filter-form label{display:flex;flex-direction:column;gap:7px;min-width:200px;margin:0;}
.reviews-filter-form label span{font-size:13px;font-weight:800;color:#0f2748;}
.reviews-filter-form input,.reviews-filter-form select{height:42px;border:1px solid #d6e2f1;border-radius:12px;background:#fff;color:#0f2748;padding:0 12px;}
.reviews-admin-list{display:flex;flex-direction:column;gap:16px;margin-top:24px;}
.reviews-admin-card{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;padding:22px 24px;align-items:start;}
.reviews-admin-card__main{min-width:0;}
.reviews-admin-card__topline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px;color:#5e718f;font-size:13px;font-weight:800;}
.reviews-admin-pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 11px;border-radius:999px;border:1px solid #d6e2f1;background:#f7fbff;color:#143a6b;font-size:12px;font-weight:900;line-height:1;}
.reviews-admin-pill--rating{background:#eef6ff;border-color:#cfe1fa;color:#0d4f93;}
.reviews-admin-pill--active{background:#ecfdf5;border-color:#bbf7d0;color:#166534;}
.reviews-admin-pill--removed{background:#fef2f2;border-color:#fecaca;color:#991b1b;}
.reviews-admin-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.reviews-admin-data-item{min-width:0;padding:14px 16px;border:1px solid #e0e9f5;border-radius:16px;background:#f8fbff;}
.reviews-admin-data-item--wide{grid-column:1/-1;}
.reviews-admin-data-item span{display:block;margin-bottom:6px;color:#637893;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.reviews-admin-data-item strong{display:block;color:#071d3a;font-size:15px;line-height:1.35;word-break:break-word;}
.reviews-admin-data-item p{margin:0;color:#19365b;line-height:1.55;word-break:break-word;}
.reviews-admin-criteria{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.reviews-admin-criteria span{display:inline-flex;margin:0;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #dbe6f3;color:#143a6b;text-transform:none;letter-spacing:0;font-size:13px;font-weight:800;line-height:1.2;}
.reviews-admin-criteria em{color:#637893;font-style:normal;}
.reviews-admin-card__actions{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #dbe6f3;border-radius:18px;background:#f8fbff;}
.reviews-admin-card__actions label{display:flex;flex-direction:column;gap:7px;margin:0;}
.reviews-admin-card__actions label span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#637893;}
.reviews-admin-card__actions select,.reviews-admin-card__actions input{width:100%;height:42px;box-sizing:border-box;border:1px solid #d6e2f1;border-radius:12px;background:#fff;color:#0f2748;padding:0 12px;}
.reviews-admin-card__actions .btn-small{width:100%;justify-content:center;}
.reviews-admin-empty{padding:26px;text-align:center;color:#637893;font-weight:800;}
html.admin-theme-dark .reviews-filter-form label span,html.admin-theme-dark .reviews-admin-data-item strong{color:#f3f7ff!important;}
html.admin-theme-dark .reviews-filter-form input,html.admin-theme-dark .reviews-filter-form select,html.admin-theme-dark .reviews-admin-card__actions select,html.admin-theme-dark .reviews-admin-card__actions input{background:#08182a!important;border-color:#3c5f8b!important;color:#f3f7ff!important;}
html.admin-theme-dark .reviews-admin-card__actions,html.admin-theme-dark .reviews-admin-data-item{background:#0b1f36!important;border-color:#2d4b70!important;}
html.admin-theme-dark .reviews-admin-data-item span,html.admin-theme-dark .reviews-admin-card__actions label span,html.admin-theme-dark .reviews-admin-card__topline,html.admin-theme-dark .reviews-admin-empty{color:#b6c7e3!important;}
html.admin-theme-dark .reviews-admin-data-item p{color:#d8e6f8!important;}
html.admin-theme-dark .reviews-admin-criteria span{background:#102947!important;border-color:#3c5f8b!important;color:#e8f2ff!important;}
html.admin-theme-dark .reviews-admin-card{background:#10243d!important;border-color:#36587f!important;box-shadow:0 16px 34px rgba(0,0,0,.26)!important;}
html.admin-theme-dark .reviews-admin-card__topline{padding-top:2px;}
html.admin-theme-dark .reviews-admin-pill{background:#162f50!important;border-color:#4f76a7!important;color:#eaf4ff!important;box-shadow:none!important;}
html.admin-theme-dark .reviews-admin-pill--rating{background:#173a62!important;border-color:#5d8cc3!important;color:#dcebff!important;}
html.admin-theme-dark .reviews-admin-pill--active{background:#103d33!important;border-color:#3ca479!important;color:#c9f7e5!important;}
html.admin-theme-dark .reviews-admin-pill--removed{background:#4a1d24!important;border-color:#c06b78!important;color:#ffe1e6!important;}
@media (max-width:1100px){.reviews-admin-card{grid-template-columns:1fr;}.reviews-admin-card__actions{max-width:none;}}
@media (max-width:700px){.reviews-filter-form label{min-width:100%;}.reviews-filter-form .btn-secondary{width:100%;justify-content:center;}.reviews-admin-card{padding:18px;}.reviews-admin-data-grid{grid-template-columns:1fr;}}

/* Review badge settings */
.review-settings-form .review-badge-settings{
  display:block;
  border:1px solid var(--border, #d9e5f5);
  border-radius:18px;
  padding:18px;
  background:var(--surface, #fff);
}
.review-badge-general-grid,
.review-level-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.review-badge-general-grid{
  grid-template-columns:minmax(180px,260px) 1fr;
}
.review-level-card{
  border:1px solid var(--border, #d9e5f5);
  border-radius:16px;
  background:var(--soft, #f7faff);
  padding:14px;
}
.review-level-card h3{
  margin:0 0 12px;
  font-size:1rem;
  color:var(--text, #071b3a);
}
.review-level-card--inactive{
  margin-top:14px;
  background:var(--surface-muted, #f8fafc);
}
.review-setting-row{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:12px;
}
.review-setting-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:700;
  color:var(--text, #071b3a);
}
.review-setting-field span{
  font-size:.86rem;
  color:var(--muted, #5f6f89);
  font-weight:700;
}
.review-setting-field input,
.review-setting-field textarea{
  width:100%;
  border:1px solid var(--border, #d9e5f5);
  border-radius:12px;
  padding:10px 12px;
  background:var(--surface, #fff);
  color:var(--text, #071b3a);
  font:inherit;
}
.review-setting-field textarea{
  min-height:84px;
  resize:vertical;
}
.review-setting-field--wide{
  margin-top:10px;
}
@media (max-width:1100px){
  .review-level-grid{grid-template-columns:1fr;}
  .review-badge-general-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .review-setting-row{grid-template-columns:1fr;}
}
body.dark .review-settings-form .review-badge-settings,
body.dark .review-level-card,
body.dark .review-setting-field input,
body.dark .review-setting-field textarea{
  border-color:rgba(148,163,184,.25);
  background:#111827;
  color:#e5e7eb;
}
body.dark .review-level-card{background:#0f172a;}
body.dark .review-setting-field span{color:#94a3b8;}

/* Review badge settings: light/dark mode readability fix */
.review-settings-page .review-settings-form .settings-link-card,
.review-settings-page .review-settings-form .review-badge-settings,
.review-settings-page .review-level-card{
  box-sizing:border-box;
}
.review-settings-page .review-badge-settings > div:first-child strong{
  display:block;
  margin-bottom:4px;
  color:#071b3a;
}
.review-settings-page .review-badge-settings > div:first-child span{
  display:block;
  color:#5f6f89;
  line-height:1.45;
}
.review-settings-page .review-setting-field input,
.review-settings-page .review-setting-field textarea,
.review-settings-page .settings-grid input,
.review-settings-page .settings-grid select{
  box-sizing:border-box;
  min-height:42px;
  border:1px solid #cfdced;
  background:#ffffff;
  color:#071b3a;
  caret-color:#071b3a;
}
.review-settings-page .review-setting-field textarea{
  line-height:1.45;
  min-height:92px;
}
.review-settings-page .review-level-card{
  box-shadow:0 8px 22px rgba(15,39,72,.05);
}
.review-settings-page .review-level-card--inactive{
  padding:16px;
}
.review-settings-page .review-level-grid{
  align-items:stretch;
}
.review-settings-page .review-level-card .review-setting-field,
.review-settings-page .review-level-card .review-setting-row{
  min-width:0;
}
.review-settings-page .review-level-card .review-setting-field input,
.review-settings-page .review-level-card .review-setting-field textarea{
  max-width:100%;
}

html.admin-theme-dark .review-settings-page .settings-card,
html.admin-theme-dark .review-settings-page .settings-link-card,
html.admin-theme-dark .review-settings-page .review-settings-form .review-badge-settings{
  background:#08182a!important;
  border-color:#2d4b70!important;
  color:#f3f7ff!important;
}
html.admin-theme-dark .review-settings-page .review-level-card,
html.admin-theme-dark .review-settings-page .review-level-card--inactive{
  background:#0d2138!important;
  border-color:#35577f!important;
  color:#f3f7ff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .review-settings-page h2,
html.admin-theme-dark .review-settings-page h3,
html.admin-theme-dark .review-settings-page strong,
html.admin-theme-dark .review-settings-page .review-badge-settings > div:first-child strong,
html.admin-theme-dark .review-settings-page .review-setting-field{
  color:#f3f7ff!important;
}
html.admin-theme-dark .review-settings-page p,
html.admin-theme-dark .review-settings-page .note,
html.admin-theme-dark .review-settings-page .review-badge-settings > div:first-child span,
html.admin-theme-dark .review-settings-page .review-setting-field span,
html.admin-theme-dark .review-settings-page .settings-link-card > span,
html.admin-theme-dark .review-settings-page label{
  color:#b6c7e3!important;
}
html.admin-theme-dark .review-settings-page input[type="text"],
html.admin-theme-dark .review-settings-page input[type="number"],
html.admin-theme-dark .review-settings-page textarea,
html.admin-theme-dark .review-settings-page select,
html.admin-theme-dark .review-settings-page .review-setting-field input,
html.admin-theme-dark .review-settings-page .review-setting-field textarea,
html.admin-theme-dark .review-settings-page .settings-grid input,
html.admin-theme-dark .review-settings-page .settings-grid select{
  background:#061426!important;
  border-color:#4a6f9d!important;
  color:#f8fbff!important;
  caret-color:#f8fbff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .review-settings-page input::placeholder,
html.admin-theme-dark .review-settings-page textarea::placeholder{
  color:#8fa5c3!important;
}
html.admin-theme-dark .review-settings-page input:focus,
html.admin-theme-dark .review-settings-page textarea:focus,
html.admin-theme-dark .review-settings-page select:focus{
  outline:none!important;
  border-color:#7eb0ff!important;
  box-shadow:0 0 0 3px rgba(126,176,255,.22)!important;
}
html.admin-theme-dark .review-settings-page .checkbox-line input[type="checkbox"]{
  accent-color:#60a5fa;
}
@media (max-width:1400px){
  .review-settings-page .review-level-grid{grid-template-columns:1fr;}
  .review-settings-page .review-setting-row{grid-template-columns:180px 1fr;}
}
@media (max-width:760px){
  .review-settings-page .review-setting-row{grid-template-columns:1fr;}
}

/* Review admin edit fields */
.reviews-admin-card{grid-template-columns:minmax(0,1fr) 420px;}
.reviews-admin-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.reviews-admin-card__actions textarea{width:100%;box-sizing:border-box;border:1px solid #d6e2f1;border-radius:12px;background:#fff;color:#0f2748;padding:10px 12px;min-height:72px;resize:vertical;line-height:1.45;font:inherit;}
.reviews-admin-note-field{grid-column:1/-1;}
html.admin-theme-dark .reviews-admin-card__actions textarea{background:#08182a!important;border-color:#3c5f8b!important;color:#f3f7ff!important;}
@media (max-width:700px){.reviews-admin-edit-grid{grid-template-columns:1fr;}}

/* Dark mode: make sidebar dropdown chevrons white (SVG is loaded as <img>, so color alone does not apply). */
html.admin-theme-dark .admin-sidebar-chevron img,
html.admin-theme-dark .admin-sidebar-chevron .inline-icon-img{
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Dark mode: make action-menu three-dot icons white (dots are SVG <img>, so currentColor is not inherited). */
html.admin-theme-dark .action-trigger .menu-dot-img,
html.admin-theme-dark .action-trigger .menu-dot img,
html.admin-theme-dark .admin-table .action-trigger .menu-dot-img{
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
html.admin-theme-dark .action-trigger .menu-dot{
  color: #ffffff !important;
}

/* Security center settings redesign */
.security-settings-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.security-settings-shell,.security-cleanup-card{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px}
.security-settings-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#10284f 0%,#1e63b6 100%);color:#fff;overflow:hidden;position:relative}
.security-settings-hero:after{content:"";position:absolute;right:-90px;top:-95px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.10)}
.security-settings-hero__copy{position:relative;z-index:1;max-width:780px}
.security-settings-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.security-settings-hero .security-settings-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.22)}
.security-settings-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}
.security-settings-hero p{margin:0;color:rgba(255,255,255,.82);line-height:1.55;font-size:14px}
.security-settings-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.security-settings-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:13px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.3);font-weight:900;text-decoration:none;box-shadow:0 10px 22px rgba(7,24,50,.18);white-space:nowrap}
.security-settings-action:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(7,24,50,.22)}
.security-settings-form{display:flex;flex-direction:column;gap:18px;margin-top:18px}
.security-settings-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.security-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}
.security-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}
.security-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.security-summary-card small{color:#6b7c92;line-height:1.35}
.security-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.security-settings-panel{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;display:flex;flex-direction:column;gap:18px;box-shadow:0 12px 26px rgba(16,40,79,.045);min-width:0}
.security-settings-panel--admin{background:linear-gradient(180deg,#fff 0%,#fbf8ff 100%);border-color:#e4dbff}
.security-settings-panel--maintenance{background:linear-gradient(180deg,#fff 0%,#f8fffb 100%);border-color:#d8f0e1}
.security-panel-head{display:flex;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}
.security-panel-icon{flex:0 0 42px;width:42px;height:42px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;background:#eaf3ff;color:#195a9c;font-weight:900;font-size:18px;box-shadow:inset 0 0 0 1px rgba(43,117,201,.10)}
.security-settings-panel--admin .security-panel-icon{background:#f2eaff;color:#7047b9}
.security-settings-panel--maintenance .security-panel-icon{background:#eafaf1;color:#167147}
.security-panel-head h2{margin:0 0 4px;font-size:17px;color:#10284f;letter-spacing:-.015em}
.security-panel-head p{margin:0;color:#687991;line-height:1.45;font-size:13px}
.security-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.security-field{display:flex;flex-direction:column;gap:6px;margin:0;font-weight:800;color:#243a59;min-width:0}
.security-field--wide{grid-column:span 2}
.security-field span{font-size:13px}
.security-field small{color:#72829a;font-size:11px;line-height:1.35;font-weight:700;min-height:15px}
.security-field input,.security-field select,.security-field textarea{width:100%;min-height:44px;border:1px solid #d5e2f2;border-radius:14px;background:#fbfdff;padding:10px 12px;color:#162b49;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.security-field input:focus,.security-field select:focus,.security-field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}
.security-panel-hint,.security-panel-note{padding:12px 14px;border-radius:15px;font-size:13px;line-height:1.5;border:1px solid #dce8f6;background:#f8fbff;color:#4d6078}
.security-panel-hint.is-active{background:#eefbf5;border-color:#bfe9d2;color:#17643a}
.security-panel-hint.is-muted{background:#fff8ed;border-color:#f5d5a6;color:#8a540b}
.security-settings-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:2px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}
.security-settings-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}
.security-settings-savebar span{display:block;color:#687991;font-size:13px}
.security-save-button{min-width:148px;min-height:44px;border-radius:14px}
.security-cleanup-card{display:flex;justify-content:space-between;align-items:center;gap:18px}
.security-cleanup-card h2{margin:10px 0 6px;color:#13294b;font-size:22px}
.security-cleanup-card p{margin:0;color:#687991;max-width:760px;line-height:1.55}
.security-cleanup-card__form{margin:0;flex:0 0 auto}
@media (max-width:1200px){.security-settings-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.security-settings-grid{grid-template-columns:1fr}}
@media (max-width:760px){.security-settings-shell,.security-cleanup-card{padding:16px;border-radius:20px}.security-settings-hero,.security-cleanup-card,.security-settings-savebar{flex-direction:column;align-items:stretch}.security-settings-actions{justify-content:flex-start}.security-settings-summary,.security-field-grid{grid-template-columns:1fr}.security-field--wide{grid-column:auto}.security-settings-hero h1{font-size:24px}.security-save-button{width:100%}}
html.admin-theme-dark .security-settings-page{background:transparent!important}
html.admin-theme-dark .security-settings-shell,html.admin-theme-dark .security-cleanup-card,html.admin-theme-dark .security-settings-panel{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}
html.admin-theme-dark .security-settings-panel--admin,html.admin-theme-dark .security-settings-panel--maintenance{background:#111827!important}
html.admin-theme-dark .security-summary-card,html.admin-theme-dark .security-panel-note,html.admin-theme-dark .security-panel-hint{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1}
html.admin-theme-dark .security-summary-card strong,html.admin-theme-dark .security-panel-head h2,html.admin-theme-dark .security-cleanup-card h2,html.admin-theme-dark .security-settings-savebar strong{color:#f8fafc}
html.admin-theme-dark .security-summary-card span,html.admin-theme-dark .security-summary-card small,html.admin-theme-dark .security-panel-head p,html.admin-theme-dark .security-cleanup-card p,html.admin-theme-dark .security-settings-savebar span{color:#94a3b8}
html.admin-theme-dark .security-field{color:#e2e8f0}html.admin-theme-dark .security-field small{color:#94a3b8}
html.admin-theme-dark .security-field input,html.admin-theme-dark .security-field select,html.admin-theme-dark .security-field textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
html.admin-theme-dark .security-settings-savebar{background:rgba(15,23,42,.92);border-color:#334155}

/* Security center: lock management polish */
.security-locks-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.security-locks-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}
.security-locks-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;border-radius:22px;background:#12305d;background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;overflow:hidden;position:relative}
.security-locks-hero:after{content:"";position:absolute;right:-86px;top:-90px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.11)}
.security-locks-hero__copy{position:relative;z-index:1;max-width:780px}
.security-locks-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}
.security-locks-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}
.security-locks-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.security-locks-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.security-locks-manual-card,.security-locks-table-card{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045)}
.security-locks-manual-card{display:flex;flex-direction:column;gap:18px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.security-locks-manual-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,.8fr) auto;gap:14px;align-items:end;margin:0}
.security-danger-button{min-height:44px;border:0;border-radius:14px;background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff;font-weight:900;padding:0 18px;box-shadow:0 12px 22px rgba(185,28,28,.18);cursor:pointer;white-space:nowrap}
.security-danger-button:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(185,28,28,.24)}
.security-locks-table-card{display:flex;flex-direction:column;gap:16px}
.security-locks-table-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}
.security-locks-table-head h2{margin:0 0 5px;color:#10284f;font-size:18px;letter-spacing:-.015em}
.security-locks-table-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}
.security-locks-list{display:flex;flex-direction:column;gap:12px}
.security-lock-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #dce8f6;border-radius:18px;background:#fbfdff;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.security-lock-row:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(15,35,70,.08);border-color:#c8ddf5;background:#fff}
.security-lock-row__main{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:18px;align-items:center;min-width:0;flex:1}
.security-lock-ip{display:flex;flex-direction:column;gap:6px;min-width:0}
.security-lock-ip strong{font-size:17px;color:#11284a;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}
.security-lock-ip small{color:#667991;font-size:12px;font-weight:800}
.security-lock-status{width:max-content;display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:11px;line-height:1;font-weight:900;text-transform:uppercase;letter-spacing:.06em;background:#eef5ff;color:#255e9c;border:1px solid #cfe2fb}
.security-lock-status.is-danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}
.security-lock-status.is-warning{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}
.security-lock-status.is-muted{background:#f1f5f9;color:#475569;border-color:#dbe3ee}
.security-lock-metrics{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:10px;min-width:0}
.security-lock-metrics div{border:1px solid #e2ebf7;border-radius:14px;background:#fff;padding:10px 11px;min-width:0}
.security-lock-metrics span{display:block;margin-bottom:4px;color:#667991;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.security-lock-metrics strong{display:block;color:#13294b;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.security-lock-row__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;flex:0 0 auto;flex-wrap:wrap}
.security-locks-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:190px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}
.security-locks-empty__icon{width:52px;height:52px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}
.security-locks-empty strong{color:#13294b;font-size:18px}
.security-locks-empty p{margin:0;max-width:620px;line-height:1.55;color:#64748b}
html.admin-theme-dark .security-locks-page{background:transparent!important}
html.admin-theme-dark .security-locks-shell,html.admin-theme-dark .security-locks-manual-card,html.admin-theme-dark .security-locks-table-card,html.admin-theme-dark .security-lock-row,html.admin-theme-dark .security-lock-metrics div{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}
html.admin-theme-dark .security-locks-table-head{border-color:#334155}
html.admin-theme-dark .security-locks-table-head h2,html.admin-theme-dark .security-lock-ip strong,html.admin-theme-dark .security-lock-metrics strong,html.admin-theme-dark .security-locks-empty strong{color:#f8fafc}
html.admin-theme-dark .security-locks-table-head p,html.admin-theme-dark .security-lock-ip small,html.admin-theme-dark .security-lock-metrics span,html.admin-theme-dark .security-locks-empty p{color:#94a3b8}
html.admin-theme-dark .security-locks-empty{background:#0f172a!important;border-color:#334155;color:#94a3b8}
@media (max-width:1300px){.security-lock-row{align-items:flex-start;flex-direction:column}.security-lock-row__main{width:100%;grid-template-columns:1fr}.security-lock-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.security-lock-row__actions{width:100%;justify-content:flex-start}}
@media (max-width:1000px){.security-locks-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.security-locks-manual-form{grid-template-columns:1fr}.security-danger-button{width:100%}}
@media (max-width:760px){.security-locks-shell{padding:16px;border-radius:20px}.security-locks-hero{flex-direction:column;align-items:stretch}.security-locks-actions{justify-content:flex-start}.security-locks-summary,.security-lock-metrics{grid-template-columns:1fr}.security-locks-hero h1{font-size:24px}.security-lock-row__actions .btn-secondary{width:100%}}

/* Security center: blacklist / whitelist polish */
.security-list-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.security-list-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}
.security-list-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;border-radius:22px;background:#12305d;background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;overflow:hidden;position:relative}
.security-list-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.11)}
.security-list-hero__copy{position:relative;z-index:1;max-width:800px}.security-list-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}.security-list-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}.security-list-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.security-list-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.security-list-warning{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #fed7aa;background:#fff8ed;color:#8a4b05;border-radius:18px;padding:13px 15px;font-size:13px}.security-list-warning strong{font-size:14px;color:#9a3412}.security-list-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.security-list-builder,.security-list-help{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045);display:flex;flex-direction:column;gap:18px}.security-list-builder{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}.security-list-help{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.security-list-card-head{display:flex;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.security-list-card-icon{flex:0 0 42px;width:42px;height:42px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;background:#eaf3ff;color:#195a9c;font-weight:1000;font-size:20px;box-shadow:inset 0 0 0 1px rgba(43,117,201,.10)}.security-list-card-icon.is-info{background:#eef2ff;color:#4338ca}.security-list-card-head h2{margin:0 0 4px;font-size:18px;color:#10284f;letter-spacing:-.015em}.security-list-card-head p{margin:0;color:#687991;line-height:1.45;font-size:13px}.security-list-form{display:flex;flex-direction:column;gap:16px;margin:0}.security-list-savebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:#f8fbff}.security-list-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.security-list-savebar span{display:block;color:#687991;font-size:13px;line-height:1.35}.security-list-tip{padding:13px 14px;border:1px solid #dce8f6;background:#fbfdff;border-radius:16px;display:flex;flex-direction:column;gap:5px}.security-list-tip strong{color:#13294b;font-size:14px}.security-list-tip span{color:#687991;font-size:13px;line-height:1.45}.security-list-tip.is-safe{background:#effcf5;border-color:#bfe9d2}.security-list-tip.is-safe strong{color:#166534}
.security-list-table-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:4px}.security-list-table-head h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.security-list-table-head p{margin:0;color:#687991;line-height:1.45}.security-list-count{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.security-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.security-list-empty__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.security-list-empty strong{color:#13294b;font-size:18px}.security-list-empty p{margin:0;max-width:620px;line-height:1.55;color:#64748b}
.security-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.security-rule-card{border:1px solid #dce8f6;border-radius:20px;background:#fbfdff;padding:16px;display:flex;flex-direction:column;gap:14px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.security-rule-card:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(15,35,70,.08);border-color:#c8ddf5;background:#fff}.security-rule-card__top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.security-rule-badge,.security-rule-type,.security-rule-priority{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.security-rule-badge.is-danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}.security-rule-badge.is-safe{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.security-rule-badge.is-muted{background:#f1f5f9;color:#64748b;border-color:#dbe3ee}.security-rule-type{margin-left:6px;background:#eef5ff;color:#255e9c;border-color:#cfe2fb}.security-rule-priority{background:#fff;color:#536982}.security-rule-value{border:1px solid #e2ebf7;border-radius:15px;background:#fff;padding:13px 14px;min-width:0}.security-rule-value code{font-size:15px;font-weight:900;color:#10284f;word-break:break-word}.security-rule-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.security-rule-meta div{border:1px solid #e2ebf7;border-radius:14px;background:#fff;padding:10px 11px;min-width:0}.security-rule-meta span{display:block;margin-bottom:4px;color:#667991;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.security-rule-meta strong{display:block;color:#13294b;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.security-rule-note{margin:0;color:#52677f;font-size:13px;line-height:1.45;background:#f8fbff;border:1px solid #e2ebf7;border-radius:14px;padding:10px 12px}.security-rule-actions{display:flex;justify-content:flex-end;margin:0;padding-top:2px}
html.admin-theme-dark .security-list-page{background:transparent!important}html.admin-theme-dark .security-list-shell,html.admin-theme-dark .security-list-builder,html.admin-theme-dark .security-list-help,html.admin-theme-dark .security-rule-card,html.admin-theme-dark .security-rule-value,html.admin-theme-dark .security-rule-meta div,html.admin-theme-dark .security-rule-note{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .security-list-card-head{border-color:#334155}html.admin-theme-dark .security-list-card-head h2,html.admin-theme-dark .security-list-table-head h2,html.admin-theme-dark .security-list-empty strong,html.admin-theme-dark .security-list-savebar strong,html.admin-theme-dark .security-list-tip strong,html.admin-theme-dark .security-rule-value code,html.admin-theme-dark .security-rule-meta strong{color:#f8fafc}html.admin-theme-dark .security-list-card-head p,html.admin-theme-dark .security-list-table-head p,html.admin-theme-dark .security-list-empty p,html.admin-theme-dark .security-list-savebar span,html.admin-theme-dark .security-list-tip span,html.admin-theme-dark .security-rule-meta span,html.admin-theme-dark .security-rule-note{color:#94a3b8}html.admin-theme-dark .security-list-savebar,html.admin-theme-dark .security-list-tip,html.admin-theme-dark .security-list-empty,html.admin-theme-dark .security-list-count{background:#0f172a!important;border-color:#334155;color:#cbd5e1}html.admin-theme-dark .security-rule-priority{background:#0f172a;border-color:#334155;color:#cbd5e1}
@media (max-width:1250px){.security-list-layout{grid-template-columns:1fr}.security-rule-grid{grid-template-columns:1fr}}
@media (max-width:900px){.security-list-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.security-list-hero,.security-list-savebar,.security-list-table-head{flex-direction:column;align-items:stretch}.security-list-actions{justify-content:flex-start}.security-rule-meta{grid-template-columns:1fr}}
@media (max-width:760px){.security-list-shell{padding:16px;border-radius:20px}.security-list-hero{padding:20px}.security-list-hero h1{font-size:24px}.security-list-summary,.security-field-grid{grid-template-columns:1fr}.security-rule-card__top{flex-direction:column}.security-save-button{width:100%}}

/* Admin listings management polish */
.listings-admin-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.listings-admin-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}
.listings-admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;position:relative;overflow:hidden}
.listings-admin-hero:after{content:"";position:absolute;right:-90px;top:-92px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.11)}
.listings-admin-hero__copy{position:relative;z-index:1;max-width:780px}.listings-admin-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.listings-admin-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}.listings-admin-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}.listings-admin-hero__meta{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px;min-width:320px}.listings-admin-hero__meta div{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:16px;padding:13px 14px;backdrop-filter:blur(8px)}.listings-admin-hero__meta span{display:block;margin-bottom:5px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.listings-admin-hero__meta strong{display:block;color:#fff;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listings-status-tabs{display:flex;flex-wrap:wrap;gap:10px}.listings-status-tab{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #d8e4f3;border-radius:999px;background:#fff;color:#2563eb;font-weight:800;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.listings-status-tab:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,35,70,.08);border-color:#bcd5f5}.listings-status-tab.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 12px 24px rgba(47,109,246,.22)}.listings-status-tab__icon{width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#eef5ff;color:#1e63b6;font-size:11px;font-weight:1000}.listings-status-tab.is-active .listings-status-tab__icon{background:rgba(255,255,255,.18);color:#fff}.listings-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.listings-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.listings-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.listings-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listings-summary-card small{color:#6b7c92;line-height:1.35}.listings-admin-form{display:flex;flex-direction:column;gap:18px;margin:0}.listings-bulk-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dbe7f5;border-radius:20px;background:#fff;padding:16px 18px;box-shadow:0 12px 26px rgba(16,40,79,.045)}.listings-bulk-copy span{display:block;margin-bottom:3px;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.listings-bulk-copy strong{display:block;color:#13294b;font-size:16px}.listings-bulk-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.listings-secondary-button,.listings-primary-button,.listings-bulk-select{min-height:42px;border-radius:13px;font-weight:900}.listings-secondary-button{padding:0 14px;border:1px solid #d5e2f2;background:#fff;color:#12305c;cursor:pointer}.listings-secondary-button.is-active{background:#eef5ff;border-color:#3b82f6;color:#1d4ed8}.listings-primary-button{padding:0 18px;border:0;background:#2f6df6;color:#fff;box-shadow:0 12px 22px rgba(47,109,246,.2);cursor:pointer}.listings-bulk-select{border:1px solid #d5e2f2;background:#fbfdff;color:#13294b;padding:0 36px 0 12px}.listings-table-card{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045);display:flex;flex-direction:column;gap:16px}.listings-table-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.listings-table-headline h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.listings-table-headline p{margin:0;color:#687991;font-size:13px;line-height:1.45}.listings-table-wrap{overflow:auto;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.listings-modern-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0}.listings-modern-table th,.listings-modern-table td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.listings-modern-table th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.listings-modern-table th a{color:inherit;text-decoration:none}.listings-modern-table tbody tr{transition:background .16s ease}.listings-modern-table tbody tr:hover{background:#fbfdff}.listings-modern-table tbody tr:last-child td{border-bottom:0}.listings-check-col{width:54px;text-align:center!important}.listings-checkbox{width:16px;height:16px;accent-color:#2f6df6}.listing-id-pill{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:6px 9px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.listing-title-cell{display:flex;flex-direction:column;gap:4px;min-width:0}.listing-title-cell strong{color:#10284f;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.listing-title-cell small{color:#71829a;font-size:12px}.listing-price-pill{display:inline-flex;padding:7px 10px;border-radius:999px;background:#f8fbff;border:1px solid #dce8f6;color:#13294b;font-weight:800}.listing-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.listing-status-badge.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.listing-status-badge.is-blocked{background:#fff1f2;color:#be123c;border-color:#fecdd3}.listing-status-badge.is-pending{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.listing-status-badge.is-draft{background:#eef2ff;color:#4338ca;border-color:#c7d2fe}.listing-status-badge.is-paused{background:#f8fafc;color:#475569;border-color:#cbd5e1}.listing-status-badge.is-ended{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.listing-report-badge{display:inline-flex;flex-direction:column;gap:2px;text-decoration:none;border:1px solid #dbe7f5;border-radius:14px;background:#f8fbff;padding:8px 11px;min-width:104px}.listing-report-badge strong{font-size:15px;color:#13294b}.listing-report-badge span{font-size:11px;color:#6b7c92;white-space:nowrap}.listing-report-badge.is-active{background:#fff8ed;border-color:#fed7aa}.listing-report-badge.is-active strong{color:#9a3412}.listing-report-badge.is-empty{background:#f8fbff}.listing-action-menu .action-trigger{min-height:38px;border-radius:14px;padding:0 12px}.listings-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:220px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.listings-empty-state__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.listings-empty-state strong{color:#13294b;font-size:18px}.listings-empty-state p{margin:0;max-width:620px;line-height:1.55;color:#64748b}
html.admin-theme-dark .listings-admin-page{background:transparent!important}html.admin-theme-dark .listings-admin-shell,html.admin-theme-dark .listings-bulk-card,html.admin-theme-dark .listings-table-card,html.admin-theme-dark .listings-table-wrap,html.admin-theme-dark .listings-modern-table,html.admin-theme-dark .listings-summary-card,html.admin-theme-dark .listing-price-pill,html.admin-theme-dark .listing-report-badge,html.admin-theme-dark .listings-empty-state{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .listings-modern-table th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .listings-modern-table td{border-color:#334155!important}html.admin-theme-dark .listings-modern-table tbody tr:hover{background:#0f172a!important}html.admin-theme-dark .listings-table-headline{border-color:#334155}html.admin-theme-dark .listings-table-headline h2,html.admin-theme-dark .listings-bulk-copy strong,html.admin-theme-dark .listings-summary-card strong,html.admin-theme-dark .listing-title-cell strong,html.admin-theme-dark .listing-price-pill,html.admin-theme-dark .listing-report-badge strong,html.admin-theme-dark .listings-empty-state strong{color:#f8fafc}html.admin-theme-dark .listings-table-headline p,html.admin-theme-dark .listings-bulk-copy span,html.admin-theme-dark .listings-summary-card span,html.admin-theme-dark .listings-summary-card small,html.admin-theme-dark .listing-title-cell small,html.admin-theme-dark .listing-report-badge span,html.admin-theme-dark .listings-empty-state p{color:#94a3b8}html.admin-theme-dark .listings-status-tab{background:#111827;border-color:#334155;color:#93c5fd}html.admin-theme-dark .listings-status-tab__icon{background:#0f172a;color:#93c5fd}html.admin-theme-dark .listings-bulk-select,html.admin-theme-dark .listings-secondary-button{background:#0f172a;border-color:#475569;color:#f8fafc}
@media (max-width:1100px){.listings-admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.listings-admin-hero{flex-direction:column}.listings-admin-hero__meta{width:100%;min-width:0}.listings-bulk-card{align-items:flex-start;flex-direction:column}.listings-bulk-controls{width:100%}.listings-bulk-controls>*{flex:1 1 160px}}
@media (max-width:760px){.listings-admin-shell{padding:16px;border-radius:20px}.listings-admin-hero{padding:20px}.listings-admin-hero h1{font-size:24px}.listings-admin-summary,.listings-admin-hero__meta{grid-template-columns:1fr}.listings-status-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.listings-status-tab{white-space:nowrap}.listings-table-card{padding:14px}.listings-bulk-controls>*{width:100%;flex-basis:100%}}

/* Listings polish: tabs without initial letters and no desktop inner table scrollbar */
.listings-status-tab{gap:0!important;padding:10px 16px!important}
.listings-status-tab__icon{display:none!important}
@media (min-width:1100px){
  .listings-table-wrap{overflow:visible!important}
  .listings-modern-table{min-width:0!important}
}
@media (max-width:1099px){
  .listings-table-wrap{overflow-x:auto!important;overflow-y:visible!important}
}

/* Listings table: image column and right aligned actions */
.listings-modern-table th.action-col,
.listings-modern-table td.action-col{text-align:right!important}
.listings-modern-table .action-col .listing-action-menu{display:flex;justify-content:flex-end;width:100%}
.listing-action-menu .action-trigger{justify-content:flex-end;gap:10px;min-width:124px;text-align:right}
.listings-image-col{width:86px;text-align:center!important}
.listing-admin-thumb{width:54px;height:44px;border-radius:14px;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;background:#f8fbff;box-shadow:0 6px 14px rgba(15,35,70,.06);vertical-align:middle}
.listing-admin-thumb--empty{color:#8aa0bb;font-weight:900;font-size:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}
html.admin-theme-dark .listing-admin-thumb{background:#0f172a;border-color:#334155;box-shadow:none;color:#94a3b8}
@media (max-width:1099px){.listings-modern-table{min-width:1060px!important}}

/* Listings table: keep image column directly next to ID */
.listings-modern-table .listings-id-col{width:76px!important;max-width:76px!important;padding-right:8px!important}
.listings-modern-table .listings-image-col{width:72px!important;max-width:72px!important;padding-left:4px!important;padding-right:12px!important;text-align:left!important}
.listings-modern-table .listings-image-col + th,
.listings-modern-table .listings-image-col + td{padding-left:8px!important}
.listing-admin-thumb{margin-left:0!important;margin-right:0!important}
@media (max-width:760px){.listings-modern-table .listings-id-col{width:68px!important;max-width:68px!important}.listings-modern-table .listings-image-col{width:64px!important;max-width:64px!important;padding-left:2px!important;padding-right:8px!important}}

/* Listings: keep the opened action dropdown content left aligned */
.listing-action-menu .action-menu-panel,
.listings-modern-table .listing-action-menu .action-menu-panel{
  text-align:left!important;
  align-items:stretch!important;
}
.listing-action-menu .action-menu-panel a,
.listing-action-menu .action-menu-panel button,
.listings-modern-table .listing-action-menu .action-menu-panel a,
.listings-modern-table .listing-action-menu .action-menu-panel button{
  justify-content:flex-start!important;
  text-align:left!important;
  width:100%!important;
  gap:10px!important;
}
.listing-action-menu .action-menu-panel .menu-icon,
.listings-modern-table .listing-action-menu .action-menu-panel .menu-icon{
  flex:0 0 18px!important;
  display:inline-flex!important;
  justify-content:center!important;
}

/* Listings dark mode contrast final adjustments */
html.admin-theme-dark .listings-modern-table tbody tr,
html.admin-theme-dark .listings-modern-table tbody tr:nth-child(even),
html.admin-theme-dark .listings-modern-table tbody tr:nth-child(odd){
  background:#142842!important;
}
html.admin-theme-dark .listings-modern-table tbody tr:hover{
  background:#193553!important;
}
html.admin-theme-dark .listing-id-pill{
  background:#1f4d86!important;
  color:#ffffff!important;
  border:1px solid #60a5fa!important;
  box-shadow:0 0 0 1px rgba(96,165,250,.18),0 8px 18px rgba(0,0,0,.16)!important;
}
html.admin-theme-dark .listing-status-badge,
html.admin-theme-dark .listing-status-badge *{
  color:#f8fafc!important;
}
html.admin-theme-dark .listing-status-badge.is-active{
  background:#047857!important;
  border-color:#34d399!important;
  color:#ffffff!important;
}
html.admin-theme-dark .listing-status-badge.is-ended{
  background:#334155!important;
  border-color:#64748b!important;
  color:#f8fafc!important;
}
html.admin-theme-dark .listing-status-badge.is-blocked{
  background:#991b1b!important;
  border-color:#f87171!important;
  color:#ffffff!important;
}
html.admin-theme-dark .listing-status-badge.is-pending{
  background:#a16207!important;
  border-color:#facc15!important;
  color:#ffffff!important;
}
html.admin-theme-dark .listing-status-badge.is-draft{
  background:#4338ca!important;
  border-color:#818cf8!important;
  color:#ffffff!important;
}
html.admin-theme-dark .listing-status-badge.is-paused,
html.admin-theme-dark .listing-status-badge.is-muted{
  background:#475569!important;
  border-color:#94a3b8!important;
  color:#ffffff!important;
}
html.admin-theme-dark .listing-admin-thumb{
  background:#0b1220!important;
  border-color:#3b82f6!important;
  color:#dbeafe!important;
  box-shadow:0 0 0 1px rgba(59,130,246,.2),0 10px 20px rgba(0,0,0,.24)!important;
}
html.admin-theme-dark .listing-admin-thumb--empty{
  background:linear-gradient(135deg,#0f172a,#1e293b)!important;
  color:#bfdbfe!important;
}
html.admin-theme-dark .listing-price-pill,
html.admin-theme-dark .listing-report-badge{
  background:#0b1220!important;
  border-color:#3b82f6!important;
  color:#f8fafc!important;
}
html.admin-theme-dark .listing-report-badge strong,
html.admin-theme-dark .listing-report-badge span,
html.admin-theme-dark .listing-price-pill{
  color:#f8fafc!important;
}

/* Listings table: slightly more spacing between ID, image and title columns */
.listings-modern-table .listings-id-col,
.listings-modern-table th.listings-id-col{
  width:92px!important;
  max-width:92px!important;
  padding-left:20px!important;
  padding-right:18px!important;
}
.listings-modern-table .listings-image-col,
.listings-modern-table th.listings-image-col{
  width:96px!important;
  max-width:96px!important;
  padding-left:18px!important;
  padding-right:22px!important;
  text-align:left!important;
}
.listings-modern-table .listings-image-col + th,
.listings-modern-table .listings-image-col + td{
  padding-left:22px!important;
}
.listings-modern-table .listings-check-col{
  width:56px!important;
  max-width:56px!important;
}
@media (max-width:760px){
  .listings-modern-table .listings-id-col,
  .listings-modern-table th.listings-id-col{
    width:84px!important;
    max-width:84px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .listings-modern-table .listings-image-col,
  .listings-modern-table th.listings-image-col{
    width:84px!important;
    max-width:84px!important;
    padding-left:12px!important;
    padding-right:16px!important;
  }
  .listings-modern-table .listings-image-col + th,
  .listings-modern-table .listings-image-col + td{
    padding-left:16px!important;
  }
}

/* Listings table: close rounded table corners properly */
.listings-table-card{
  overflow:hidden!important;
}
.listings-table-wrap{
  border-radius:18px!important;
  overflow:hidden!important;
  border:1px solid #dbe7f5!important;
  background:#fff!important;
}
.listings-modern-table{
  border-radius:18px!important;
  overflow:hidden!important;
}
.listings-modern-table thead th:first-child{border-top-left-radius:17px!important}
.listings-modern-table thead th:last-child{border-top-right-radius:17px!important}
.listings-modern-table tbody tr:last-child td:first-child{border-bottom-left-radius:17px!important}
.listings-modern-table tbody tr:last-child td:last-child{border-bottom-right-radius:17px!important}
@media (min-width:1100px){
  .listings-table-wrap{overflow:hidden!important}
  .listings-modern-table{min-width:0!important}
}
@media (max-width:1099px){
  .listings-table-wrap{overflow-x:auto!important;overflow-y:hidden!important}
}
html.admin-theme-dark .listings-table-card{
  overflow:hidden!important;
}
html.admin-theme-dark .listings-table-wrap{
  background:#0f1b2d!important;
  border-color:#2d4569!important;
  overflow:hidden!important;
}

/* Admin users management polish */
.users-admin-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.users-admin-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}
.users-admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;position:relative;overflow:hidden}
.users-admin-hero:after{content:"";position:absolute;right:-90px;top:-92px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.11)}
.users-admin-hero__copy{position:relative;z-index:1;max-width:780px}.users-admin-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.users-admin-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}.users-admin-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}.users-admin-hero__meta{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px;min-width:320px}.users-admin-hero__meta div{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:16px;padding:13px 14px;backdrop-filter:blur(8px)}.users-admin-hero__meta span{display:block;margin-bottom:5px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.users-admin-hero__meta strong{display:block;color:#fff;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.users-status-tabs{display:flex;flex-wrap:wrap;gap:10px}.users-status-tab{display:inline-flex;align-items:center;padding:10px 16px;border:1px solid #d8e4f3;border-radius:999px;background:#fff;color:#2563eb;font-weight:800;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.users-status-tab:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,35,70,.08);border-color:#bcd5f5}.users-status-tab.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 12px 24px rgba(47,109,246,.22)}
.users-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.users-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.users-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.users-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.users-summary-card small{color:#6b7c92;line-height:1.35}.users-bulk-form{display:none}.users-bulk-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #dbe7f5;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 12px 26px rgba(16,40,79,.045)}.users-bulk-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.users-bulk-copy span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.users-bulk-copy strong{color:#10284f;font-size:16px;font-weight:900;line-height:1.25}.users-bulk-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.users-secondary-button,.users-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:14px;font-weight:900;cursor:pointer;text-decoration:none;transition:all .16s ease}.users-secondary-button{border:1px solid #d3e1f4;background:#fff;color:#143b72}.users-secondary-button:hover{background:#f8fbff;border-color:#bfdbfe;transform:translateY(-1px)}.users-secondary-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.users-bulk-select{min-width:170px;min-height:42px;padding:0 14px;border:1px solid #d3e1f4;border-radius:14px;background:#fff;color:#10284f;font-weight:800}.users-primary-button{border:1px solid #2563eb;background:#2563eb;color:#fff;box-shadow:0 10px 18px rgba(37,99,235,.16)}.users-primary-button:hover{background:#1d4ed8;border-color:#1d4ed8;transform:translateY(-1px)}.users-check-col{width:54px;text-align:center!important}.users-checkbox{width:18px;height:18px;accent-color:#2563eb;cursor:pointer}
.users-table-card{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045);display:flex;flex-direction:column;gap:16px;overflow:hidden}.users-table-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.users-table-headline h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.users-table-headline p{margin:0;color:#687991;font-size:13px;line-height:1.45}.users-table-wrap{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.users-modern-table{width:100%;border-collapse:separate;border-spacing:0}.users-modern-table th,.users-modern-table td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.users-modern-table th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.users-modern-table th a{color:inherit;text-decoration:none}.users-modern-table tbody tr{transition:background .16s ease}.users-modern-table tbody tr:hover{background:#fbfdff}.users-modern-table tbody tr:last-child td{border-bottom:0}.users-id-col{width:78px}.users-avatar-col{width:76px;text-align:center!important}.users-registered-col{width:150px;white-space:nowrap}.users-registered-col time{color:#536982;font-size:12px;font-weight:800}.user-id-pill{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:6px 9px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #cfe2fb;font-weight:900}.user-avatar-pill{width:44px;height:44px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf3ff,#dcecff);border:1px solid #cfe2fb;color:#17477f;font-weight:1000;font-size:16px}.user-name-cell{display:flex;flex-direction:column;gap:4px;min-width:0}.user-name-cell strong{color:#10284f;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.user-name-cell small{color:#71829a;font-size:12px}.user-email-link{display:inline-block;max-width:260px;color:#10284f;text-decoration:none;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.user-email-link:hover{color:#2563eb;text-decoration:underline}.user-role-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:#eef5ff;border:1px solid #cfe2fb;color:#1e4d88;font-size:12px;font-weight:900;text-transform:capitalize}.user-status-list{display:flex;flex-wrap:wrap;gap:7px}.user-status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.user-status-badge.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.user-status-badge.is-blocked{background:#fff1f2;color:#be123c;border-color:#fecdd3}.user-status-badge.is-confirmed{background:#eef5ff;color:#1d4ed8;border-color:#cfe2fb}.user-status-badge.is-unconfirmed{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.user-action-menu .action-trigger{justify-content:center;gap:10px;min-width:124px;min-height:38px;border-radius:14px}.users-modern-table th.action-col,.users-modern-table td.action-col{text-align:right!important}.users-modern-table td.action-col .user-action-menu{display:flex;justify-content:flex-end;width:100%}.user-action-menu .action-menu-panel,.users-modern-table .user-action-menu .action-menu-panel{text-align:left!important;align-items:stretch!important}.user-action-menu .action-menu-panel a,.user-action-menu .action-menu-panel button{justify-content:flex-start!important;text-align:left!important;width:100%!important;gap:10px!important}.user-action-menu .action-menu-panel .menu-icon{flex:0 0 18px!important;display:inline-flex!important;justify-content:center!important}.users-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:220px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.users-empty-state__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.users-empty-state strong{color:#13294b;font-size:18px}.users-empty-state p{margin:0;max-width:620px;line-height:1.55;color:#64748b}
.users-table-wrap{clip-path:inset(0 round 18px)}.users-modern-table thead th:first-child{border-top-left-radius:18px}.users-modern-table thead th:last-child{border-top-right-radius:18px}.users-modern-table tbody tr:last-child td:first-child{border-bottom-left-radius:18px}.users-modern-table tbody tr:last-child td:last-child{border-bottom-right-radius:18px}
html.admin-theme-dark .users-admin-page{background:transparent!important}html.admin-theme-dark .users-admin-shell,html.admin-theme-dark .users-table-card,html.admin-theme-dark .users-table-wrap,html.admin-theme-dark .users-modern-table,html.admin-theme-dark .users-summary-card,html.admin-theme-dark .users-empty-state,html.admin-theme-dark .users-bulk-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .users-modern-table th{background:#0f172a!important;color:#94a3b8!important;border-bottom-color:#355176!important}html.admin-theme-dark .users-modern-table tbody tr{background:#142842!important;color:#eaf2ff!important}html.admin-theme-dark .users-modern-table tbody tr:nth-child(even){background:#12233b!important}html.admin-theme-dark .users-modern-table tbody tr:hover{background:#193553!important}html.admin-theme-dark .users-modern-table td{border-color:#304a70!important;color:#eaf2ff!important}html.admin-theme-dark .users-table-headline{border-color:#334155}html.admin-theme-dark .users-table-headline h2,html.admin-theme-dark .users-summary-card strong,html.admin-theme-dark .user-name-cell strong,html.admin-theme-dark .users-empty-state strong,html.admin-theme-dark .users-bulk-copy strong{color:#f8fafc}html.admin-theme-dark .users-table-headline p,html.admin-theme-dark .users-summary-card span,html.admin-theme-dark .users-summary-card small,html.admin-theme-dark .user-name-cell small,html.admin-theme-dark .users-empty-state p,html.admin-theme-dark .users-bulk-copy span{color:#94a3b8}html.admin-theme-dark .users-status-tab{background:#111827;border-color:#334155;color:#93c5fd}html.admin-theme-dark .users-status-tab.is-active{background:#2563eb;color:#fff;border-color:#60a5fa}html.admin-theme-dark .user-id-pill{background:#1f4d86!important;color:#fff!important;border-color:#60a5fa!important}html.admin-theme-dark .user-avatar-pill{background:linear-gradient(135deg,#0b1627,#17345b)!important;border-color:#60a5fa!important;color:#dbeafe!important}html.admin-theme-dark .user-email-link{color:#eaf2ff}html.admin-theme-dark .users-registered-col time{color:#cbd5e1}html.admin-theme-dark .user-email-link:hover{color:#93c5fd}html.admin-theme-dark .user-role-badge{background:#0b1627!important;color:#dbeafe!important;border-color:#3b82f6!important}html.admin-theme-dark .user-status-badge.is-active{background:#047857!important;border-color:#34d399!important;color:#fff!important}html.admin-theme-dark .user-status-badge.is-blocked{background:#991b1b!important;border-color:#f87171!important;color:#fff!important}html.admin-theme-dark .user-status-badge.is-confirmed{background:#1e40af!important;border-color:#60a5fa!important;color:#fff!important}html.admin-theme-dark .user-status-badge.is-unconfirmed{background:#a16207!important;border-color:#facc15!important;color:#fff!important}html.admin-theme-dark .user-action-menu .action-trigger,html.admin-theme-dark .users-secondary-button{background:#0b1627!important;color:#fff!important;border-color:#466995!important}html.admin-theme-dark .user-action-menu .action-trigger:hover,html.admin-theme-dark .users-secondary-button:hover{background:#17345b!important;color:#fff!important;border-color:#60a5fa!important}html.admin-theme-dark .user-action-menu .menu-dot,html.admin-theme-dark .user-action-menu .menu-dot *{color:#fff!important;fill:#fff!important;opacity:1!important}html.admin-theme-dark .users-bulk-select{background:#0f172a!important;color:#e5e7eb!important;border-color:#466995!important}html.admin-theme-dark .users-primary-button{background:#3b82f6!important;border-color:#60a5fa!important;color:#fff!important;box-shadow:none!important}html.admin-theme-dark .users-primary-button:hover{background:#2563eb!important;border-color:#60a5fa!important}html.admin-theme-dark .users-checkbox{accent-color:#60a5fa}
@media (max-width:1100px){.users-admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.users-admin-hero{flex-direction:column}.users-admin-hero__meta{width:100%;min-width:0}.users-table-wrap{overflow-x:auto;overflow-y:visible}.users-modern-table{min-width:1130px}}
@media (max-width:760px){.users-admin-shell{padding:16px;border-radius:20px}.users-admin-hero{padding:20px}.users-admin-hero h1{font-size:24px}.users-admin-summary,.users-admin-hero__meta{grid-template-columns:1fr}.users-status-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.users-status-tab{white-space:nowrap}.users-table-card{padding:14px}.users-bulk-card{align-items:flex-start;flex-direction:column}.users-bulk-controls,.users-bulk-select,.users-primary-button,.users-secondary-button{width:100%}}

/* Users: make listing-limit reset page functional and visible */
.users-limit-reset-info{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%);padding:16px 18px;box-shadow:0 10px 24px rgba(37,99,235,.06)}
.users-limit-reset-info strong{display:block;color:#0f2f66;font-size:16px;font-weight:900;margin-bottom:3px}.users-limit-reset-info span{display:block;color:#536982;font-size:13px;line-height:1.45}.user-limit-reset-inline{display:flex;justify-content:flex-end;margin:0}.user-limit-reset-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid #bfdbfe;border-radius:14px;background:#2563eb;color:#fff;font-weight:900;cursor:pointer;box-shadow:0 10px 18px rgba(37,99,235,.16)}.user-limit-reset-button:hover{background:#1d4ed8;transform:translateY(-1px)}.user-limit-reset-button .menu-icon,.user-limit-reset-button .menu-icon *{color:#fff!important;fill:#fff!important}
html.admin-theme-dark .users-limit-reset-info{background:linear-gradient(180deg,#10213a 0%,#0f172a 100%);border-color:#334d75;box-shadow:none}html.admin-theme-dark .users-limit-reset-info strong{color:#f8fafc}html.admin-theme-dark .users-limit-reset-info span{color:#b8c9e4}html.admin-theme-dark .user-limit-reset-button{background:#3b82f6;border-color:#60a5fa;color:#fff;box-shadow:none}html.admin-theme-dark .user-limit-reset-button:hover{background:#2563eb}
@media(max-width:760px){.users-limit-reset-info{align-items:flex-start;flex-direction:column}.user-limit-reset-inline,.user-limit-reset-button{width:100%}}

/* Admin category management polish */
.categories-admin-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.categories-admin-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}
.categories-admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#10284f 0%,#1e5aa6 58%,#3b82f6 100%);color:#fff;position:relative;overflow:hidden}
.categories-admin-hero:after{content:"";position:absolute;right:-95px;top:-98px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.11)}
.categories-admin-hero__copy{position:relative;z-index:1;max-width:850px}.categories-admin-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.categories-admin-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}.categories-admin-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}.categories-admin-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.categories-admin-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:13px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.3);font-weight:900;text-decoration:none;box-shadow:0 10px 22px rgba(7,24,50,.18);white-space:nowrap}.categories-admin-action.is-primary{background:#2f6df6;color:#fff}.categories-admin-action:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(7,24,50,.22)}
.categories-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;color:rgba(255,255,255,.72);font-size:13px}.categories-breadcrumb a{color:#fff;text-decoration:none;font-weight:800}.categories-breadcrumb strong{color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:5px 9px;border-radius:999px}.categories-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.categories-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.categories-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.categories-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.categories-summary-card small{color:#6b7c92;line-height:1.35}.categories-admin-form{display:flex;flex-direction:column;gap:18px;margin:0}.categories-bulk-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dbe7f5;border-radius:20px;background:#fff;padding:16px 18px;box-shadow:0 12px 26px rgba(16,40,79,.045)}.categories-bulk-copy span{display:block;margin-bottom:3px;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.categories-bulk-copy strong{display:block;color:#13294b;font-size:16px}.categories-bulk-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.categories-secondary-button,.categories-primary-button,.categories-bulk-select{min-height:42px;border-radius:13px;font-weight:900}.categories-secondary-button{padding:0 14px;border:1px solid #d5e2f2;background:#fff;color:#12305c;cursor:pointer}.categories-primary-button{padding:0 18px;border:0;background:#2f6df6;color:#fff;box-shadow:0 12px 22px rgba(47,109,246,.2);cursor:pointer}.categories-bulk-select{border:1px solid #d5e2f2;background:#fbfdff;color:#13294b;padding:0 36px 0 12px}.categories-table-card{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045);display:flex;flex-direction:column;gap:16px;overflow:hidden}.categories-table-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.categories-table-headline h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.categories-table-headline p{margin:0;color:#687991;font-size:13px;line-height:1.45}.categories-count-pill{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.categories-table-wrap{overflow:hidden;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.categories-modern-table{width:100%;border-collapse:separate;border-spacing:0}.categories-modern-table th,.categories-modern-table td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.categories-modern-table th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.categories-modern-table th a{color:inherit;text-decoration:none}.categories-modern-table tbody tr{transition:background .16s ease}.categories-modern-table tbody tr:hover{background:#fbfdff}.categories-modern-table tbody tr:last-child td{border-bottom:0}.categories-check-col{width:54px;text-align:center!important}.categories-id-col{width:90px}.categories-checkbox{width:16px;height:16px;accent-color:#2f6df6}.category-id-pill{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.category-title-cell{display:flex;align-items:center;gap:14px;min-width:0}.category-thumb{width:48px;height:42px;border-radius:14px;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;background:#f8fbff;box-shadow:0 6px 14px rgba(15,35,70,.06);flex:0 0 auto}.category-thumb--empty{color:#8aa0bb;font-weight:900;font-size:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}.category-title-cell strong,.category-title-link{display:block;color:#10284f;font-size:14px;font-weight:900;text-decoration:none;line-height:1.25;max-width:280px}.category-title-link:hover{color:#2563eb}.category-title-cell small{display:block;margin-top:4px;color:#71829a;font-size:12px}.category-order-pill{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:7px 10px;border-radius:999px;background:#f8fbff;border:1px solid #dce8f6;color:#13294b;font-weight:800}.category-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.category-status-badge.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.category-status-badge.is-inactive{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.category-child-pill{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #dbe7f5;border-radius:14px;background:#f8fbff;padding:8px 10px;color:#1e4d88;font-weight:800}.category-child-pill strong{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:#eaf3ff;color:#1e4d88;font-size:12px}.category-child-pill.is-empty{color:#71829a}.category-action-menu .action-trigger{min-height:38px;border-radius:14px;padding:0 12px}.categories-modern-table th.action-col,.categories-modern-table td.action-col{text-align:right!important}.categories-modern-table .action-col .category-action-menu{display:flex;justify-content:flex-end;width:100%}.category-action-menu .action-menu-panel,.category-action-menu .action-menu-panel a{text-align:left!important}.category-action-menu .action-menu-panel a{justify-content:flex-start!important}.categories-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:220px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.categories-empty-state__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.categories-empty-state strong{color:#13294b;font-size:18px}.categories-empty-state p{margin:0;max-width:620px;line-height:1.55;color:#64748b}
html.admin-theme-dark .categories-admin-page{background:transparent!important}html.admin-theme-dark .categories-admin-shell,html.admin-theme-dark .categories-bulk-card,html.admin-theme-dark .categories-table-card,html.admin-theme-dark .categories-table-wrap,html.admin-theme-dark .categories-modern-table,html.admin-theme-dark .categories-summary-card,html.admin-theme-dark .category-order-pill,html.admin-theme-dark .category-child-pill,html.admin-theme-dark .categories-empty-state{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .categories-modern-table th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .categories-modern-table td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .categories-modern-table tbody tr{background:#12233b!important}html.admin-theme-dark .categories-modern-table tbody tr:nth-child(even){background:#102039!important}html.admin-theme-dark .categories-modern-table tbody tr:hover{background:#172d4b!important}html.admin-theme-dark .categories-table-headline{border-color:#334155}html.admin-theme-dark .categories-table-headline h2,html.admin-theme-dark .categories-bulk-copy strong,html.admin-theme-dark .categories-summary-card strong,html.admin-theme-dark .category-title-cell strong,html.admin-theme-dark .category-title-link,html.admin-theme-dark .category-order-pill,html.admin-theme-dark .categories-empty-state strong{color:#f8fafc}html.admin-theme-dark .categories-table-headline p,html.admin-theme-dark .categories-bulk-copy span,html.admin-theme-dark .categories-summary-card span,html.admin-theme-dark .categories-summary-card small,html.admin-theme-dark .category-title-cell small,html.admin-theme-dark .categories-empty-state p{color:#94a3b8}html.admin-theme-dark .category-id-pill{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .category-thumb{background:#0b1220!important;border-color:#3b82f6!important;color:#dbeafe!important;box-shadow:none!important}html.admin-theme-dark .category-thumb--empty{background:linear-gradient(135deg,#0f172a,#1e293b)!important;color:#bfdbfe!important}html.admin-theme-dark .category-status-badge.is-active{background:#047857!important;border-color:#34d399!important;color:#fff!important}html.admin-theme-dark .category-status-badge.is-inactive{background:#475569!important;border-color:#94a3b8!important;color:#fff!important}html.admin-theme-dark .category-child-pill strong{background:#1f4d86;color:#fff}html.admin-theme-dark .categories-bulk-select,html.admin-theme-dark .categories-secondary-button{background:#0f172a;border-color:#475569;color:#f8fafc}html.admin-theme-dark .category-action-menu .action-trigger{background:#0b1627!important;color:#fff!important;border-color:#466995!important}
@media (max-width:1100px){.categories-admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.categories-admin-hero{flex-direction:column}.categories-bulk-card{align-items:flex-start;flex-direction:column}.categories-bulk-controls{width:100%}.categories-bulk-controls>*{flex:1 1 160px}.categories-table-wrap{overflow-x:auto}.categories-modern-table{min-width:980px}}
@media (max-width:760px){.categories-admin-shell{padding:16px;border-radius:20px}.categories-admin-hero{padding:20px}.categories-admin-hero h1{font-size:24px}.categories-admin-summary{grid-template-columns:1fr}.categories-table-card{padding:14px}.categories-bulk-controls>*{width:100%;flex-basis:100%}}

/* Premium orders admin redesign */
.premium-orders-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:20px}
.orders-admin-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 64%,#315fbd 100%);color:#fff;box-shadow:0 20px 44px rgba(16,40,79,.18);position:relative;overflow:hidden}
.orders-admin-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.11)}
.orders-admin-hero__copy{position:relative;z-index:1;max-width:820px}.orders-admin-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.orders-admin-hero h1{margin:10px 0 8px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.03em}.orders-admin-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}.orders-admin-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));gap:12px;min-width:620px}.orders-admin-stats span{display:flex;flex-direction:column;gap:5px;padding:16px;border-radius:18px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px)}.orders-admin-stats strong{font-size:26px;color:#fff;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.orders-admin-stats small{color:rgba(255,255,255,.76);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.orders-filter-card{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 16px 36px rgba(17,42,92,.055);padding:24px}.orders-filter-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(210px,.7fr) minmax(210px,.7fr) auto;gap:14px;align-items:end;margin:0}.orders-filter-grid label{display:flex;flex-direction:column;gap:8px}.orders-filter-grid span{font-size:12px;font-weight:900;color:#24354d;letter-spacing:.06em;text-transform:uppercase}.orders-filter-grid input,.orders-filter-grid select{width:100%;min-height:52px;padding:0 14px;border-radius:16px;border:1px solid #d8e2ef;background:#fbfdff;color:#1f2937;outline:none}.orders-filter-grid input:focus,.orders-filter-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}.orders-filter-actions{display:flex;gap:10px;flex-wrap:wrap}.orders-admin-list{display:flex;flex-direction:column;gap:18px}.orders-admin-card{border:1px solid #d8e4f3;border-radius:26px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 42px rgba(17,42,92,.06);padding:24px;display:flex;flex-direction:column;gap:20px}.orders-admin-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;border-bottom:1px solid #e5edf7}.orders-admin-title span{display:inline-flex;margin-bottom:8px;color:#61728c;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.orders-admin-title h2{margin:0 0 8px;font-size:25px;line-height:1.12;color:#10284f;letter-spacing:-.025em}.orders-admin-title p{margin:0;color:#66758f}.orders-admin-total{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}.orders-admin-total strong{font-size:18px;color:#10284f}.orders-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.orders-status-pill.is-paid{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.orders-status-pill.is-open{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.orders-status-pill.is-cancelled{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.orders-status-pill.is-failed{background:#fff1f2;color:#be123c;border-color:#fecdd3}.orders-admin-card__body{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:18px}.orders-customer-panel,.orders-items-panel{border:1px solid #dce8f6;border-radius:22px;background:#fff;padding:18px;display:flex;flex-direction:column;gap:16px;min-width:0}.orders-panel-head{display:flex;align-items:flex-start;gap:13px;padding-bottom:14px;border-bottom:1px solid #edf2f8}.orders-panel-icon{flex:0 0 42px;width:42px;height:42px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;background:#eaf3ff;color:#195a9c;font-weight:1000;font-size:18px}.orders-panel-head h3{margin:0 0 4px;color:#10284f;font-size:17px}.orders-panel-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.orders-customer-box{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #e2ebf7;border-radius:17px;background:#f8fbff;color:#52677f}.orders-customer-box strong{color:#10284f}.orders-items-list{display:flex;flex-direction:column;gap:12px}.orders-item-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;border:1px solid #e2ebf7;border-radius:17px;background:#f8fbff;padding:14px}.orders-item-row__copy{min-width:0}.orders-item-row__copy strong{display:block;color:#10284f;margin-bottom:4px}.orders-item-row__copy small{display:block;color:#66758f;line-height:1.4}.orders-item-price{color:#10284f;white-space:nowrap}.orders-admin-card__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff}.orders-footer-note strong{display:block;color:#10284f;margin-bottom:3px}.orders-footer-note span{display:block;color:#66758f;font-size:13px;line-height:1.4}.orders-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0}.orders-admin-actions form{margin:0}.orders-empty-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:220px;border:1px dashed #c6d8ee;border-radius:24px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:34px}.orders-empty-card__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.orders-empty-card h2{margin:0;color:#10284f}.orders-empty-card p{margin:0;color:#66758f}
html.admin-theme-dark .premium-orders-page{background:transparent!important}html.admin-theme-dark .orders-filter-card,html.admin-theme-dark .orders-admin-card,html.admin-theme-dark .orders-customer-panel,html.admin-theme-dark .orders-items-panel,html.admin-theme-dark .orders-customer-box,html.admin-theme-dark .orders-item-row,html.admin-theme-dark .orders-admin-card__footer,html.admin-theme-dark .orders-empty-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .orders-admin-card__head,html.admin-theme-dark .orders-panel-head{border-color:#334155}html.admin-theme-dark .orders-admin-title h2,html.admin-theme-dark .orders-admin-total strong,html.admin-theme-dark .orders-panel-head h3,html.admin-theme-dark .orders-customer-box strong,html.admin-theme-dark .orders-item-row__copy strong,html.admin-theme-dark .orders-item-price,html.admin-theme-dark .orders-footer-note strong,html.admin-theme-dark .orders-empty-card h2{color:#f8fafc}html.admin-theme-dark .orders-admin-title span,html.admin-theme-dark .orders-admin-title p,html.admin-theme-dark .orders-panel-head p,html.admin-theme-dark .orders-customer-box,html.admin-theme-dark .orders-item-row__copy small,html.admin-theme-dark .orders-footer-note span,html.admin-theme-dark .orders-empty-card p{color:#94a3b8}html.admin-theme-dark .orders-filter-grid span{color:#cbd5e1}html.admin-theme-dark .orders-filter-grid input,html.admin-theme-dark .orders-filter-grid select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .orders-status-pill.is-paid{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .orders-status-pill.is-open{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .orders-status-pill.is-cancelled{background:#334155!important;color:#e2e8f0!important;border-color:#64748b!important}html.admin-theme-dark .orders-status-pill.is-failed{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}
@media (max-width:1200px){.orders-admin-hero{flex-direction:column}.orders-admin-stats{width:100%;min-width:0}.orders-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.orders-filter-actions{grid-column:1/-1}.orders-admin-card__body{grid-template-columns:1fr}}
@media (max-width:760px){.orders-admin-hero,.orders-filter-card,.orders-admin-card{padding:18px;border-radius:20px}.orders-admin-stats,.orders-filter-grid{grid-template-columns:1fr}.orders-admin-card__head,.orders-admin-card__footer{flex-direction:column;align-items:stretch}.orders-admin-total,.orders-admin-actions,.orders-filter-actions{justify-content:flex-start}.orders-item-row{grid-template-columns:1fr}.orders-admin-hero h1{font-size:25px}}

/* Orders UI: remove initial-letter icons in panel headings */
.orders-panel-head{gap:0!important}
.orders-panel-head .orders-panel-icon{display:none!important}
.orders-customer-panel .orders-panel-head,
.orders-items-panel .orders-panel-head{padding-left:0!important}

/* Polished invoice admin page */
.invoice-page-polished{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.invoice-hero-polished{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}
.invoice-hero-polished:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.invoice-hero-polished__copy{position:relative;z-index:1;max-width:780px}.invoice-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.invoice-hero-polished .invoice-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.invoice-hero-polished h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.invoice-hero-polished p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.invoice-hero-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));gap:12px;min-width:560px}.invoice-hero-stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}.invoice-hero-stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.invoice-hero-stats strong{display:block;color:#fff;font-size:28px;line-height:1}.invoice-hero-stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800}.invoice-filter-card,.invoice-list-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px}.invoice-filter-form{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,360px) auto;gap:14px;align-items:end;margin:0}.invoice-filter-field{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:900;color:#10284f}.invoice-filter-field span{font-size:12px;text-transform:uppercase;letter-spacing:.07em}.invoice-filter-field input,.invoice-filter-field select{min-height:50px;border:1px solid #d5e2f2;border-radius:16px;background:#fbfdff;color:#13294b;padding:0 14px;font-weight:750}.invoice-filter-field input:focus,.invoice-filter-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.invoice-filter-actions{display:flex;gap:10px;align-items:center}.invoice-filter-actions .btn-primary,.invoice-filter-actions .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px}.invoice-list-shell{display:flex;flex-direction:column;gap:18px}.invoice-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.invoice-list-head h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.invoice-list-head p{margin:0;color:#687991;line-height:1.45}.invoice-list-count{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.invoice-admin-list--polished{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.invoice-card-polished{position:relative;display:flex;flex-direction:column;gap:16px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:18px;box-shadow:0 12px 28px rgba(16,40,79,.055);overflow:hidden}.invoice-card-polished:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--promo-accent,#13294b)}.invoice-card-polished--paid:before{background:#16a34a}.invoice-card-polished--open:before{background:#f59e0b}.invoice-card-polished--cancelled:before{background:#ef4444}.invoice-card-polished__top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #edf2f8}.invoice-card-number,.invoice-card-total{display:flex;flex-direction:column;gap:5px;min-width:0}.invoice-card-number span,.invoice-card-total span:not(.invoice-status-pill),.invoice-info-box span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.invoice-card-number strong{font-size:19px;color:#10284f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-card-number small{font-size:13px;color:#64748b}.invoice-card-total{align-items:flex-end;text-align:right}.invoice-card-total strong{font-size:22px;color:#10284f;white-space:nowrap}.invoice-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.invoice-status-pill--paid{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.invoice-status-pill--open{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.invoice-status-pill--cancelled{background:#fff1f2;color:#be123c;border-color:#fecdd3}.invoice-card-grid{display:grid;grid-template-columns:1fr 1fr 150px;gap:12px}.invoice-info-box{display:flex;flex-direction:column;gap:5px;padding:13px 14px;border:1px solid #e2ebf7;border-radius:16px;background:#f8fbff;min-width:0}.invoice-info-box strong{font-size:15px;color:#13294b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-info-box small{font-size:12px;color:#687991;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding-top:2px}.invoice-card-actions form{margin:0}.invoice-card-actions .btn-secondary,.invoice-card-actions .btn-primary{min-height:42px;border-radius:14px;padding:0 15px;white-space:nowrap}.invoice-empty-polished{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.invoice-empty-polished__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.invoice-empty-polished strong{color:#13294b;font-size:18px}.invoice-empty-polished p{margin:0;color:#64748b;line-height:1.55}.btn-danger-soft{color:#991b1b!important;border-color:#fecaca!important;background:#fff7f7!important}.btn-danger-soft:hover{background:#fee2e2!important}
html.admin-theme-dark .invoice-page-polished{background:transparent!important}html.admin-theme-dark .invoice-filter-card,html.admin-theme-dark .invoice-list-shell,html.admin-theme-dark .invoice-card-polished,html.admin-theme-dark .invoice-info-box,html.admin-theme-dark .invoice-empty-polished,html.admin-theme-dark .invoice-list-count{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .invoice-card-polished__top{border-color:#334155}html.admin-theme-dark .invoice-list-head h2,html.admin-theme-dark .invoice-card-number strong,html.admin-theme-dark .invoice-card-total strong,html.admin-theme-dark .invoice-info-box strong,html.admin-theme-dark .invoice-empty-polished strong{color:#f8fafc!important}html.admin-theme-dark .invoice-list-head p,html.admin-theme-dark .invoice-card-number small,html.admin-theme-dark .invoice-info-box small,html.admin-theme-dark .invoice-empty-polished p{color:#94a3b8!important}html.admin-theme-dark .invoice-card-number span,html.admin-theme-dark .invoice-card-total span:not(.invoice-status-pill),html.admin-theme-dark .invoice-info-box span{color:#94a3b8!important}html.admin-theme-dark .invoice-filter-field{color:#e2e8f0!important}html.admin-theme-dark .invoice-filter-field input,html.admin-theme-dark .invoice-filter-field select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .invoice-status-pill--paid{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .invoice-status-pill--open{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .invoice-status-pill--cancelled{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}html.admin-theme-dark .btn-danger-soft{background:#2b1620!important;border-color:#7f1d1d!important;color:#fecaca!important}
@media(max-width:1250px){.invoice-hero-polished{flex-direction:column}.invoice-hero-stats{min-width:0;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-admin-list--polished{grid-template-columns:1fr}.invoice-filter-form{grid-template-columns:1fr 1fr}.invoice-filter-actions{grid-column:1/-1}}
@media(max-width:760px){.invoice-hero-polished,.invoice-filter-card,.invoice-list-shell{padding:16px;border-radius:20px}.invoice-hero-polished h1{font-size:25px}.invoice-hero-stats,.invoice-filter-form,.invoice-card-grid{grid-template-columns:1fr}.invoice-list-head,.invoice-card-polished__top{flex-direction:column}.invoice-card-total{align-items:flex-start;text-align:left}.invoice-card-actions{flex-direction:column;align-items:stretch}.invoice-card-actions .btn-secondary,.invoice-card-actions .btn-primary,.invoice-card-actions form{width:100%;justify-content:center}.invoice-filter-actions{flex-direction:column;align-items:stretch}.invoice-filter-actions .btn-primary,.invoice-filter-actions .btn-secondary{width:100%;justify-content:center}}

/* Polished payment transactions page */
.payment-tx-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.payment-tx-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}
.payment-tx-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.payment-tx-hero__copy{position:relative;z-index:1;max-width:780px}.payment-tx-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.payment-tx-hero .payment-tx-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.payment-tx-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.payment-tx-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.payment-tx-hero__stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));gap:12px;min-width:560px}.payment-tx-hero__stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}.payment-tx-hero__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.payment-tx-hero__stats strong{display:block;color:#fff;font-size:28px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-tx-hero__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800}
.payment-tx-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.payment-tx-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.payment-tx-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.payment-tx-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-tx-summary-card small{color:#6b7c92;line-height:1.35}.payment-tx-list-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px;display:flex;flex-direction:column;gap:18px}.payment-tx-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.payment-tx-list-head h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.payment-tx-list-head p{margin:0;color:#687991;line-height:1.45}.payment-tx-list-count{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.payment-tx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.payment-tx-card{position:relative;display:flex;flex-direction:column;gap:16px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:18px;box-shadow:0 12px 28px rgba(16,40,79,.055);overflow:hidden}.payment-tx-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#f59e0b}.payment-tx-card--paid:before{background:#16a34a}.payment-tx-card--failed:before{background:#ef4444}.payment-tx-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #edf2f8}.payment-tx-ref,.payment-tx-amount{display:flex;flex-direction:column;gap:5px;min-width:0}.payment-tx-ref span,.payment-tx-amount span:not(.payment-tx-status),.payment-tx-info-box span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.payment-tx-ref strong{font-size:18px;color:#10284f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-tx-ref small{font-size:13px;color:#64748b}.payment-tx-amount{align-items:flex-end;text-align:right}.payment-tx-amount strong{font-size:21px;color:#10284f;white-space:nowrap}.payment-tx-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.payment-tx-status--paid{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.payment-tx-status--open{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.payment-tx-status--failed{background:#fff1f2;color:#be123c;border-color:#fecdd3}.payment-tx-card-grid{display:grid;grid-template-columns:1fr 1.4fr 180px;gap:12px}.payment-tx-info-box{display:flex;flex-direction:column;gap:5px;padding:13px 14px;border:1px solid #e2ebf7;border-radius:16px;background:#f8fbff;min-width:0}.payment-tx-info-box strong{font-size:15px;color:#13294b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-tx-info-box small{font-size:12px;color:#687991;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-tx-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.payment-tx-empty__icon{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.payment-tx-empty strong{color:#13294b;font-size:18px}.payment-tx-empty p{margin:0;color:#64748b;line-height:1.55}
html.admin-theme-dark .payment-tx-page{background:transparent!important}html.admin-theme-dark .payment-tx-summary-card,html.admin-theme-dark .payment-tx-list-shell,html.admin-theme-dark .payment-tx-card,html.admin-theme-dark .payment-tx-info-box,html.admin-theme-dark .payment-tx-empty,html.admin-theme-dark .payment-tx-list-count{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .payment-tx-card__top{border-color:#334155}html.admin-theme-dark .payment-tx-summary-card strong,html.admin-theme-dark .payment-tx-list-head h2,html.admin-theme-dark .payment-tx-ref strong,html.admin-theme-dark .payment-tx-amount strong,html.admin-theme-dark .payment-tx-info-box strong,html.admin-theme-dark .payment-tx-empty strong{color:#f8fafc!important}html.admin-theme-dark .payment-tx-summary-card span,html.admin-theme-dark .payment-tx-summary-card small,html.admin-theme-dark .payment-tx-list-head p,html.admin-theme-dark .payment-tx-ref small,html.admin-theme-dark .payment-tx-info-box small,html.admin-theme-dark .payment-tx-empty p{color:#94a3b8!important}html.admin-theme-dark .payment-tx-ref span,html.admin-theme-dark .payment-tx-amount span:not(.payment-tx-status),html.admin-theme-dark .payment-tx-info-box span{color:#94a3b8!important}html.admin-theme-dark .payment-tx-status--paid{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .payment-tx-status--open{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .payment-tx-status--failed{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}
@media(max-width:1250px){.payment-tx-hero{flex-direction:column}.payment-tx-hero__stats{min-width:0;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.payment-tx-grid{grid-template-columns:1fr}.payment-tx-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.payment-tx-hero,.payment-tx-list-shell{padding:16px;border-radius:20px}.payment-tx-hero h1{font-size:25px}.payment-tx-hero__stats,.payment-tx-summary,.payment-tx-card-grid{grid-template-columns:1fr}.payment-tx-list-head,.payment-tx-card__top{flex-direction:column}.payment-tx-amount{align-items:flex-start;text-align:left}}

/* Admin messages polish */
.admin-messages-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.admin-messages-shell{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}.admin-messages-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;position:relative;overflow:hidden}.admin-messages-hero:after{content:"";position:absolute;right:-90px;top:-92px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.11)}.admin-messages-hero__copy{position:relative;z-index:1;max-width:780px}.admin-messages-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.admin-messages-hero h1{margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-.03em}.admin-messages-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:14px}.admin-messages-hero__meta{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:10px;min-width:360px}.admin-messages-hero__meta div{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:16px;padding:13px 14px}.admin-messages-hero__meta span{display:block;margin-bottom:5px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.admin-messages-hero__meta strong{display:block;color:#fff;font-size:22px}.admin-message-tabs{display:flex;flex-wrap:wrap;gap:10px}.admin-message-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #d8e4f3;border-radius:999px;background:#fff;color:#2563eb;font-weight:900;text-decoration:none;transition:.16s ease}.admin-message-tab span{min-width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#eef5ff;color:#1e63b6;font-size:11px}.admin-message-tab.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 12px 24px rgba(47,109,246,.22)}.admin-message-tab.is-active span{background:rgba(255,255,255,.18);color:#fff}.admin-messages-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-message-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px}.admin-message-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.admin-message-summary-card strong{font-size:20px;color:#13294b}.admin-message-summary-card small{color:#6b7c92}.admin-message-compose-card,.admin-message-list-card,.admin-message-bulk-card{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045)}.admin-message-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.admin-message-card-head h2{margin:0 0 5px;color:#10284f;font-size:22px;letter-spacing:-.015em}.admin-message-card-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.admin-message-compose-form,.admin-message-list-form{display:flex;flex-direction:column;gap:16px;margin:0}.admin-message-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-message-compose-form label{display:flex;flex-direction:column;gap:7px;color:#243a59;font-weight:850}.admin-message-compose-form input,.admin-message-compose-form select,.admin-message-compose-form textarea{border:1px solid #d5e2f2;border-radius:14px;background:#fbfdff;padding:11px 12px;color:#162b49;font-weight:700}.admin-message-savebar,.admin-message-bulk-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-message-savebar{padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:#f8fbff}.admin-message-savebar span,.admin-message-bulk-card span{display:block;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.admin-message-bulk-card strong{display:block;color:#13294b;font-size:16px}.admin-message-bulk-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-message-secondary-button,.admin-message-primary-button,.admin-message-bulk-controls select{min-height:42px;border-radius:13px;font-weight:900}.admin-message-secondary-button{padding:0 14px;border:1px solid #d5e2f2;background:#fff;color:#12305c;cursor:pointer}.admin-message-primary-button{padding:0 18px;border:0;background:#2f6df6;color:#fff;box-shadow:0 12px 22px rgba(47,109,246,.2);cursor:pointer}.admin-message-bulk-controls select{border:1px solid #d5e2f2;background:#fbfdff;color:#13294b;padding:0 36px 0 12px}.admin-message-list-card{display:flex;flex-direction:column;gap:14px}.admin-message-list{display:flex;flex-direction:column;gap:10px}.admin-message-row{display:grid;grid-template-columns:auto 46px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border:1px solid #dce8f6;border-radius:18px;background:#fbfdff}.admin-message-row:not(:has(.admin-message-checkbox)){grid-template-columns:46px minmax(0,1fr)}.admin-message-checkbox{width:16px;height:16px;accent-color:#2f6df6}.admin-message-avatar{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eaf3ff;color:#1e4d88;font-weight:1000}.admin-message-row__body{min-width:0}.admin-message-row__body strong{display:block;color:#10284f;font-size:15px;margin-bottom:4px}.admin-message-row__body p{margin:0;color:#5f728d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-message-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:200px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px}.admin-message-empty div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.admin-message-empty strong{color:#13294b;font-size:18px}.admin-message-empty p{margin:0;color:#64748b}.direct-disputes-page-v2{display:flex;flex-direction:column;gap:18px}.direct-disputes-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 18px 45px rgba(15,35,70,.12);position:relative;overflow:hidden}.direct-disputes-hero-v2:after{content:"";position:absolute;right:-90px;top:-95px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.1)}.direct-disputes-eyebrow{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#eaf3ff}.direct-disputes-hero-v2 h1{margin:10px 0 8px;font-size:30px;color:#fff}.direct-disputes-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55}.direct-disputes-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(115px,1fr));gap:10px;position:relative;z-index:1}.direct-disputes-hero-stats div{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:16px;padding:13px 14px}.direct-disputes-hero-stats span{display:block;margin-bottom:5px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase}.direct-disputes-hero-stats strong{display:block;color:#fff;font-size:22px}.direct-disputes-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.direct-disputes-summary-grid article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff}.direct-disputes-summary-grid span{display:block;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.direct-disputes-summary-grid strong{display:block;margin:5px 0;color:#13294b;font-size:20px}.direct-disputes-summary-grid small{color:#6b7c92}.direct-disputes-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:#fff;box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px}.direct-disputes-list-v2{display:flex;flex-direction:column;gap:14px}.direct-dispute-case-card{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;padding:18px;border:1px solid #dce8f6;border-radius:22px;background:#fbfdff}.direct-dispute-case-main{display:flex;flex-direction:column;gap:14px;min-width:0}.direct-dispute-case-header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.direct-dispute-case-kicker,.direct-dispute-case-grid span,.direct-dispute-problem-v2 span,.direct-dispute-actions-v2 label>span,.direct-dispute-case-amount span{display:block;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.direct-dispute-case-header h2{margin:6px 0;color:#10284f;font-size:22px}.direct-dispute-case-header p{margin:0;color:#687991;overflow-wrap:anywhere}.direct-dispute-case-amount{text-align:right;white-space:nowrap}.direct-dispute-case-amount strong{display:block;margin-top:5px;color:#10284f;font-size:22px}.direct-dispute-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.direct-dispute-case-grid>div,.direct-dispute-problem-v2{padding:14px;border:1px solid #dce8f6;border-radius:16px;background:#fff}.direct-dispute-case-grid strong{display:block;margin-top:5px;color:#10284f;overflow-wrap:anywhere}.direct-dispute-case-grid small{display:block;margin-top:4px;color:#687991}.direct-dispute-problem-v2 p{margin:6px 0 0;color:#10284f;line-height:1.55}.direct-dispute-actions-v2{display:flex;flex-direction:column;gap:12px;border:1px solid #dce8f6;border-radius:20px;background:#fff;padding:16px;align-self:start}.direct-dispute-actions-v2 label{display:flex;flex-direction:column;gap:7px}.direct-dispute-actions-v2 textarea{width:100%;min-height:122px;border:1px solid #d5e2f2;border-radius:14px;background:#fbfdff;padding:12px;color:#162b49}.direct-dispute-button-grid-v2{display:grid;grid-template-columns:1fr;gap:10px}.direct-dispute-button-grid-v2 .btn-primary,.direct-dispute-button-grid-v2 .btn-secondary{width:100%;min-height:44px}.direct-disputes-empty-v2{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:#fbfdff;padding:32px}.direct-disputes-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.direct-disputes-empty-v2 strong{font-size:18px;color:#13294b}.direct-disputes-empty-v2 p{margin:0;color:#64748b}
html.admin-theme-dark .admin-messages-shell,html.admin-theme-dark .admin-message-compose-card,html.admin-theme-dark .admin-message-list-card,html.admin-theme-dark .admin-message-bulk-card,html.admin-theme-dark .admin-message-summary-card,html.admin-theme-dark .admin-message-row,html.admin-theme-dark .admin-message-savebar,html.admin-theme-dark .direct-disputes-card-v2,html.admin-theme-dark .direct-dispute-case-card,html.admin-theme-dark .direct-dispute-case-grid>div,html.admin-theme-dark .direct-dispute-problem-v2,html.admin-theme-dark .direct-dispute-actions-v2,html.admin-theme-dark .direct-disputes-summary-grid article{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .admin-message-card-head,html.admin-theme-dark .direct-dispute-case-grid>div{border-color:#334155}html.admin-theme-dark .admin-message-card-head h2,html.admin-theme-dark .admin-message-summary-card strong,html.admin-theme-dark .admin-message-bulk-card strong,html.admin-theme-dark .admin-message-row__body strong,html.admin-theme-dark .direct-disputes-summary-grid strong,html.admin-theme-dark .direct-dispute-case-header h2,html.admin-theme-dark .direct-dispute-case-amount strong,html.admin-theme-dark .direct-dispute-case-grid strong,html.admin-theme-dark .direct-dispute-problem-v2 p{color:#f8fafc!important}html.admin-theme-dark .admin-message-card-head p,html.admin-theme-dark .admin-message-summary-card span,html.admin-theme-dark .admin-message-summary-card small,html.admin-theme-dark .admin-message-row__body p,html.admin-theme-dark .direct-disputes-summary-grid span,html.admin-theme-dark .direct-disputes-summary-grid small,html.admin-theme-dark .direct-dispute-case-kicker,html.admin-theme-dark .direct-dispute-case-header p,html.admin-theme-dark .direct-dispute-case-grid span,html.admin-theme-dark .direct-dispute-problem-v2 span,html.admin-theme-dark .direct-dispute-actions-v2 label>span,html.admin-theme-dark .direct-dispute-case-amount span{color:#94a3b8!important}html.admin-theme-dark .admin-message-compose-form input,html.admin-theme-dark .admin-message-compose-form select,html.admin-theme-dark .admin-message-compose-form textarea,html.admin-theme-dark .direct-dispute-actions-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .admin-message-tab{background:#111827;border-color:#334155;color:#93c5fd}html.admin-theme-dark .admin-message-tab.is-active{background:#2563eb;color:#fff;border-color:#2563eb}html.admin-theme-dark .admin-message-empty,html.admin-theme-dark .direct-disputes-empty-v2{background:#0f172a!important;border-color:#334155!important}html.admin-theme-dark .admin-message-empty strong,html.admin-theme-dark .direct-disputes-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .admin-message-empty p,html.admin-theme-dark .direct-disputes-empty-v2 p{color:#94a3b8!important}
@media(max-width:1100px){.admin-messages-hero,.direct-disputes-hero-v2{flex-direction:column}.admin-messages-hero__meta,.direct-disputes-hero-stats{width:100%;min-width:0}.direct-dispute-case-card{grid-template-columns:1fr}.direct-disputes-summary-grid,.admin-messages-summary{grid-template-columns:1fr}.direct-dispute-case-grid{grid-template-columns:1fr}}@media(max-width:760px){.admin-messages-shell,.direct-disputes-card-v2{padding:16px;border-radius:20px}.admin-messages-hero,.direct-disputes-hero-v2{padding:20px}.admin-messages-hero h1,.direct-disputes-hero-v2 h1{font-size:24px}.admin-message-form-grid,.admin-messages-hero__meta,.direct-disputes-hero-stats{grid-template-columns:1fr}.admin-message-bulk-card,.admin-message-savebar{flex-direction:column;align-items:stretch}.admin-message-row{grid-template-columns:auto minmax(0,1fr)}.admin-message-row .admin-message-avatar{display:none}.direct-dispute-case-header{flex-direction:column}.direct-dispute-case-amount{text-align:left}.admin-message-tabs{overflow-x:auto;flex-wrap:nowrap}.admin-message-tab{white-space:nowrap}}

/* Layout alignment fix: disputes/payments should start at top and use full content width */
.direct-disputes-page-v2,
.payment-tx-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  align-self:stretch!important;
}
.direct-disputes-page-v2 > *,
.payment-tx-page > *{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.direct-disputes-hero-v2,
.payment-tx-hero{
  margin-top:0!important;
}
.admin-layout > .direct-disputes-page-v2,
.admin-layout > .payment-tx-page{
  min-width:0!important;
}
@media (max-width:900px){
  .direct-disputes-page-v2,
  .payment-tx-page{padding:0!important;}
}

/* Direct purchase disputes: remove stretched outer content card / empty bottom area */
.direct-disputes-layout-v2{
  align-items:start!important;
}
.direct-disputes-layout-v2 > .admin-content.direct-disputes-page-v2{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}
.direct-disputes-layout-v2 > .admin-content.direct-disputes-page-v2 > *:last-child{
  margin-bottom:0!important;
}
.direct-disputes-layout-v2 .direct-disputes-card-v2{
  margin-bottom:0!important;
}
html.admin-theme-dark .direct-disputes-layout-v2 > .admin-content.direct-disputes-page-v2{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* User reviews admin redesign */
.reviews-admin-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.reviews-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.reviews-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.reviews-hero-v2__copy{position:relative;z-index:1;max-width:760px}.reviews-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.reviews-hero-v2 .reviews-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.reviews-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.reviews-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.reviews-hero-v2__stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:12px;min-width:430px}.reviews-hero-v2__stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px}.reviews-hero-v2__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.reviews-hero-v2__stats strong{display:block;color:#fff;font-size:28px;line-height:1}.reviews-hero-v2__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800}.reviews-filter-card-v2,.reviews-list-shell-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px}.reviews-filter-form-v2{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,320px) auto;gap:14px;align-items:end;margin:0}.reviews-filter-field-v2{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:900;color:#10284f}.reviews-filter-field-v2 span{font-size:12px;text-transform:uppercase;letter-spacing:.07em}.reviews-filter-field-v2 input,.reviews-filter-field-v2 select{min-height:50px;border:1px solid #d5e2f2;border-radius:16px;background:#fbfdff;color:#13294b;padding:0 14px;font-weight:750}.reviews-filter-field-v2 input:focus,.reviews-filter-field-v2 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.reviews-filter-actions-v2{display:flex;gap:10px;align-items:center}.reviews-filter-actions-v2 .btn-primary,.reviews-filter-actions-v2 .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px}.reviews-summary-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.reviews-summary-grid-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.reviews-summary-grid-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.reviews-summary-grid-v2 strong{font-size:20px;color:#13294b;line-height:1.1}.reviews-summary-grid-v2 small{color:#6b7c92;line-height:1.35}.reviews-list-shell-v2{display:flex;flex-direction:column;gap:18px}.reviews-list-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.reviews-list-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.reviews-list-head-v2 p{margin:0;color:#687991;line-height:1.45}.reviews-list-count-v2{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.reviews-admin-list-v2{display:flex;flex-direction:column;gap:16px}.reviews-card-v2{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:18px;box-shadow:0 12px 28px rgba(16,40,79,.055);overflow:hidden}.reviews-card-v2:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#64748b}.reviews-card-v2--positive:before{background:#16a34a}.reviews-card-v2--neutral:before{background:#3b82f6}.reviews-card-v2--negative:before{background:#ef4444}.reviews-card-main-v2{display:flex;flex-direction:column;gap:14px;min-width:0}.reviews-card-top-v2{display:flex;align-items:center;justify-content:space-between;gap:12px}.reviews-card-top-v2 time{color:#64748b;font-size:13px;font-weight:800}.reviews-pill-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569;margin-right:6px}.reviews-pill-v2--positive{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.reviews-pill-v2--neutral{background:#eef5ff;color:#1d4ed8;border-color:#cfe2fb}.reviews-pill-v2--negative{background:#fff1f2;color:#be123c;border-color:#fecdd3}.reviews-pill-v2--active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.reviews-pill-v2--removed{background:#fff1f2;color:#be123c;border-color:#fecdd3}.reviews-users-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reviews-info-box-v2,.reviews-criteria-box-v2,.reviews-note-box-v2{border:1px solid #e2ebf7;border-radius:16px;background:#f8fbff;padding:14px;min-width:0}.reviews-info-box-v2 span,.reviews-criteria-box-v2>span,.reviews-note-box-v2 span,.reviews-edit-panel-v2 label span,.reviews-edit-head-v2 span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.reviews-info-box-v2 strong{display:block;margin-top:6px;color:#10284f;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reviews-criteria-pills-v2{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.reviews-criteria-pills-v2 strong{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #dbe7f5;color:#10284f;font-size:12px}.reviews-criteria-pills-v2 em{color:#64748b;font-style:normal}.reviews-note-box-v2 p{margin:8px 0 0;color:#10284f;line-height:1.5}.reviews-edit-panel-v2{border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:16px;display:flex;flex-direction:column;gap:13px;align-self:start}.reviews-edit-head-v2 strong{display:block;margin-top:5px;color:#10284f;font-size:16px}.reviews-edit-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reviews-edit-panel-v2 label{display:flex;flex-direction:column;gap:7px;margin:0}.reviews-edit-panel-v2 select,.reviews-edit-panel-v2 textarea{width:100%;box-sizing:border-box;border:1px solid #d6e2f1;border-radius:13px;background:#fff;color:#0f2748;padding:0 12px;font:inherit}.reviews-edit-panel-v2 select{height:44px}.reviews-edit-panel-v2 textarea{min-height:92px;padding:11px 12px;resize:vertical}.reviews-edit-panel-v2 .btn-primary{width:100%;justify-content:center;min-height:44px}.reviews-empty-v2{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px}.reviews-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.reviews-empty-v2 strong{font-size:18px;color:#13294b}.reviews-empty-v2 p{margin:0;color:#64748b}
html.admin-theme-dark .reviews-admin-page-v2{background:transparent!important}html.admin-theme-dark .reviews-filter-card-v2,html.admin-theme-dark .reviews-list-shell-v2,html.admin-theme-dark .reviews-summary-grid-v2 article,html.admin-theme-dark .reviews-card-v2,html.admin-theme-dark .reviews-info-box-v2,html.admin-theme-dark .reviews-criteria-box-v2,html.admin-theme-dark .reviews-note-box-v2,html.admin-theme-dark .reviews-edit-panel-v2,html.admin-theme-dark .reviews-list-count-v2,html.admin-theme-dark .reviews-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .reviews-list-head-v2 h2,html.admin-theme-dark .reviews-summary-grid-v2 strong,html.admin-theme-dark .reviews-info-box-v2 strong,html.admin-theme-dark .reviews-criteria-pills-v2 strong,html.admin-theme-dark .reviews-note-box-v2 p,html.admin-theme-dark .reviews-edit-head-v2 strong,html.admin-theme-dark .reviews-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .reviews-list-head-v2 p,html.admin-theme-dark .reviews-summary-grid-v2 span,html.admin-theme-dark .reviews-summary-grid-v2 small,html.admin-theme-dark .reviews-card-top-v2 time,html.admin-theme-dark .reviews-info-box-v2 span,html.admin-theme-dark .reviews-criteria-box-v2>span,html.admin-theme-dark .reviews-note-box-v2 span,html.admin-theme-dark .reviews-edit-panel-v2 label span,html.admin-theme-dark .reviews-edit-head-v2 span,html.admin-theme-dark .reviews-empty-v2 p{color:#94a3b8!important}html.admin-theme-dark .reviews-filter-field-v2{color:#e2e8f0!important}html.admin-theme-dark .reviews-filter-field-v2 input,html.admin-theme-dark .reviews-filter-field-v2 select,html.admin-theme-dark .reviews-edit-panel-v2 select,html.admin-theme-dark .reviews-edit-panel-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .reviews-criteria-pills-v2 strong{background:#0f172a!important;border-color:#475569!important}html.admin-theme-dark .reviews-pill-v2--positive,html.admin-theme-dark .reviews-pill-v2--active{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .reviews-pill-v2--neutral{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .reviews-pill-v2--negative,html.admin-theme-dark .reviews-pill-v2--removed{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}
@media(max-width:1200px){.reviews-hero-v2{flex-direction:column}.reviews-hero-v2__stats{width:100%;min-width:0}.reviews-card-v2{grid-template-columns:1fr}.reviews-edit-panel-v2{align-self:stretch}.reviews-summary-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.reviews-hero-v2,.reviews-filter-card-v2,.reviews-list-shell-v2{padding:16px;border-radius:20px}.reviews-hero-v2 h1{font-size:25px}.reviews-hero-v2__stats,.reviews-filter-form-v2,.reviews-summary-grid-v2,.reviews-users-grid-v2,.reviews-edit-grid-v2{grid-template-columns:1fr}.reviews-filter-actions-v2,.reviews-list-head-v2,.reviews-card-top-v2{flex-direction:column;align-items:stretch}.reviews-filter-actions-v2 .btn-primary,.reviews-filter-actions-v2 .btn-secondary{width:100%;justify-content:center}}

/* Custom fields page: remove inner table scrollbar and keep rounded table corners */
.custom-field-card--redesign{
  overflow:visible!important;
}
.custom-field-card--redesign .admin-table-wrap{
  overflow:visible!important;
  scrollbar-gutter:auto!important;
  border-radius:20px!important;
  background:#fff!important;
}
.custom-field-card--redesign .admin-table--fields{
  border-radius:20px!important;
  overflow:hidden!important;
}
.custom-field-card--redesign .admin-table--fields thead th:first-child{border-top-left-radius:19px!important;}
.custom-field-card--redesign .admin-table--fields thead th:last-child{border-top-right-radius:19px!important;}
.custom-field-card--redesign .admin-table--fields tbody tr:last-child td:first-child{border-bottom-left-radius:19px!important;}
.custom-field-card--redesign .admin-table--fields tbody tr:last-child td:last-child{border-bottom-right-radius:19px!important;}
.custom-field-card--redesign .admin-table--fields .action-col,
.custom-field-card--redesign .admin-table--fields th:last-child,
.custom-field-card--redesign .admin-table--fields td:last-child{text-align:right!important;}
.custom-field-card--redesign .admin-table--fields .action-menu{display:flex;justify-content:flex-end;width:100%;}
.custom-field-card--redesign .admin-table--fields .action-menu-panel,
.custom-field-card--redesign .admin-table--fields .action-menu-panel a{text-align:left!important;}
.custom-field-card--redesign .admin-table--fields .action-menu-panel a{justify-content:flex-start!important;}
@media (max-width:1100px){
  .custom-field-card--redesign .admin-table-wrap{overflow-x:auto!important;overflow-y:visible!important;}
  .custom-field-card--redesign .admin-table--fields{min-width:980px;}
}
html.admin-theme-dark .custom-field-card--redesign .admin-table-wrap{
  background:#111827!important;
  border-color:#334155!important;
}

/* Custom fields hero: match moderation/reviews header design */
.fields-hero-v2{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:26px 28px;
  border-radius:26px;
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);
  color:#fff;
  box-shadow:0 24px 60px rgba(17,42,92,.18);
  position:relative;
  overflow:hidden;
}
.fields-hero-v2:after{
  content:"";
  position:absolute;
  right:-85px;
  top:-95px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
}
.fields-hero-v2__copy{position:relative;z-index:1;max-width:760px}
.fields-eyebrow-v2{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#eaf3ff;
  border:1px solid rgba(255,255,255,.24);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.fields-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}
.fields-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}
.fields-hero-v2__stats{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(125px,1fr));
  gap:12px;
  min-width:520px;
}
.fields-hero-v2__stats article{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.13);
  border-radius:18px;
  padding:16px 17px;
  backdrop-filter:blur(8px);
}
.fields-hero-v2__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.fields-hero-v2__stats strong{display:block;color:#fff;font-size:28px;line-height:1}
.fields-hero-v2__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800;line-height:1.25}
.fields-hero-v2__action{position:relative;z-index:2;display:flex;align-items:flex-start;flex:0 0 auto}
.fields-hero-v2__action .btn-primary{min-height:42px;border-radius:14px;padding:0 16px;white-space:nowrap;box-shadow:0 12px 26px rgba(0,0,0,.12)}
@media(max-width:1320px){
  .fields-hero-v2{flex-direction:column}
  .fields-hero-v2__stats{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  .fields-hero-v2__action{align-self:flex-start}
}
@media(max-width:760px){
  .fields-hero-v2{padding:20px;border-radius:22px}
  .fields-hero-v2 h1{font-size:25px}
  .fields-hero-v2__stats{grid-template-columns:1fr}
  .fields-hero-v2__action,.fields-hero-v2__action .btn-primary{width:100%;justify-content:center}
}

/* Custom fields: keep separate stats row and remove hero stat cards */
.fields-hero-v2__stats{display:none!important}
.fields-hero-v2{align-items:center!important}
.fields-hero-v2__copy{max-width:860px!important}
.fields-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fields-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}
.fields-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}
.fields-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fields-summary-v2 small{color:#6b7c92;line-height:1.35}
html.admin-theme-dark .fields-summary-v2 article{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}
html.admin-theme-dark .fields-summary-v2 strong{color:#f8fafc!important}
html.admin-theme-dark .fields-summary-v2 span,html.admin-theme-dark .fields-summary-v2 small{color:#94a3b8!important}
@media(max-width:1100px){.fields-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fields-summary-v2{grid-template-columns:1fr}.fields-hero-v2{align-items:flex-start!important}}

/* Custom field create/edit form polish */
.custom-field-form-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.custom-field-form-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 18px 45px rgba(15,35,70,.12);position:relative;overflow:hidden}
.custom-field-form-hero:after{content:"";position:absolute;right:-92px;top:-96px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.11)}
.custom-field-form-hero>div,.custom-field-form-back{position:relative;z-index:1}.custom-field-form-eyebrow{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.custom-field-form-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.custom-field-form-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:780px}.custom-field-form-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.16)}.custom-field-form-back:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}
.custom-field-form-shell{display:flex;flex-direction:column;gap:18px;margin:0}.custom-field-form-card{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 16px 36px rgba(17,42,92,.055);padding:22px}.custom-field-form-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.custom-field-form-card-head h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.custom-field-form-card-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.custom-field-form-grid{gap:16px 18px}.custom-field-form-grid label,.custom-field-form-card label{font-weight:850;color:#243a59}.custom-field-form-grid label span,.custom-field-form-card label>span{font-size:13px}.custom-field-form-grid input,.custom-field-form-grid select,.custom-field-form-grid textarea,.custom-field-form-card input,.custom-field-form-card select,.custom-field-form-card textarea{border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fbfdff!important;color:#162b49!important;min-height:48px;padding:12px 14px!important;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.custom-field-form-grid input:focus,.custom-field-form-grid select:focus,.custom-field-form-card input:focus,.custom-field-form-card select:focus,.custom-field-form-card textarea:focus{outline:none;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}
.custom-field-switches-polished{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0!important}.custom-field-switches-polished label{position:relative;display:flex!important;align-items:center;gap:12px;margin:0;padding:16px 16px 16px 52px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;color:#13294b;font-weight:900;min-height:64px}.custom-field-switches-polished input{position:absolute;left:16px;width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;accent-color:#2f6df6}.custom-field-switches-polished label:has(input:checked){background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.custom-field-translations-polished{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.custom-field-translations-polished fieldset{margin:0!important;padding:18px!important;border:1px solid #dce8f6!important;border-radius:20px!important;background:#fff!important}.custom-field-translations-polished legend{padding:0 10px;color:#10284f;font-weight:900}.custom-field-translations-polished .custom-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.custom-field-form-card--options[hidden]{display:none!important}.custom-field-option-row{grid-template-columns:minmax(160px,.8fr) repeat(2,minmax(0,1fr)) auto!important;gap:12px!important;align-items:center;margin-bottom:12px!important}.custom-field-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:13px;border:1px solid #d5e2f2;background:#fff;color:#12305c;font-weight:900;cursor:pointer}.custom-field-form-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.custom-field-form-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.custom-field-form-savebar span{display:block;color:#687991;font-size:13px}
html.admin-theme-dark .custom-field-form-page{background:transparent!important}html.admin-theme-dark .custom-field-form-card,html.admin-theme-dark .custom-field-translations-polished fieldset,html.admin-theme-dark .custom-field-switches-polished label,html.admin-theme-dark .custom-field-form-savebar{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .custom-field-form-card-head{border-color:#334155}html.admin-theme-dark .custom-field-form-card-head h2,html.admin-theme-dark .custom-field-translations-polished legend,html.admin-theme-dark .custom-field-form-savebar strong{color:#f8fafc!important}html.admin-theme-dark .custom-field-form-card-head p,html.admin-theme-dark .custom-field-form-savebar span{color:#94a3b8!important}html.admin-theme-dark .custom-field-form-grid label,html.admin-theme-dark .custom-field-form-card label{color:#e2e8f0!important}html.admin-theme-dark .custom-field-form-grid input,html.admin-theme-dark .custom-field-form-grid select,html.admin-theme-dark .custom-field-form-card input,html.admin-theme-dark .custom-field-form-card select,html.admin-theme-dark .custom-field-form-card textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}html.admin-theme-dark .custom-field-switches-polished label:has(input:checked){background:#10213a!important;border-color:#60a5fa!important;color:#dbeafe!important}html.admin-theme-dark .custom-field-secondary-button{background:#0f172a;border-color:#475569;color:#f8fafc}
@media(max-width:1100px){.custom-field-form-hero{flex-direction:column}.custom-field-switches-polished,.custom-field-translations-polished{grid-template-columns:1fr}.custom-field-option-row{grid-template-columns:1fr!important}}
@media(max-width:760px){.custom-field-form-hero,.custom-field-form-card{padding:18px;border-radius:20px}.custom-field-form-hero h1{font-size:25px}.custom-field-grid,.custom-field-form-grid,.custom-field-translations-polished .custom-field-grid{grid-template-columns:1fr!important}.custom-field-form-savebar{flex-direction:column;align-items:stretch}.custom-field-form-savebar .btn-primary{width:100%}}

/* Polished settings overview */
.settings-overview-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.settings-overview-shell-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px;display:flex;flex-direction:column;gap:18px}
.settings-nav-card-v2{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:14px;box-shadow:0 12px 26px rgba(16,40,79,.045)}
.settings-nav-card-v2 .settings-subnav{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:flex;flex-wrap:wrap;gap:9px}
.settings-nav-card-v2 .settings-subnav a{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:999px;border:1px solid #d5e2f2;background:#fff;color:#2563eb!important;font-size:13px;font-weight:850;text-decoration:none;box-shadow:none!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.settings-nav-card-v2 .settings-subnav a:hover{transform:translateY(-1px);border-color:#bcd5f5;box-shadow:0 10px 22px rgba(15,35,70,.07)!important}
.settings-nav-card-v2 .settings-subnav a.active{background:#2f6df6!important;color:#fff!important;border-color:#2f6df6!important;box-shadow:0 12px 24px rgba(47,109,246,.22)!important}
/* Light mode: make overview header use the exact same blue palette as General settings. */
.settings-overview-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:26px;border-radius:24px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;position:relative;overflow:hidden;box-shadow:0 20px 44px rgba(16,40,79,.13)}
.settings-overview-hero-v2:after{content:"";position:absolute;right:-90px;top:-96px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.settings-overview-hero__copy-v2{position:relative;z-index:1;max-width:720px}.settings-overview-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-overview-hero-v2 .settings-overview-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-overview-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-overview-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-overview-hero__stats-v2{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:10px;min-width:440px}.settings-overview-hero__stats-v2 article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:14px 15px;backdrop-filter:blur(8px)}.settings-overview-hero__stats-v2 span{display:block;margin-bottom:7px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.settings-overview-hero__stats-v2 strong{display:block;color:#fff;font-size:24px;line-height:1}.settings-overview-intro-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 26px rgba(16,40,79,.045)}.settings-overview-intro-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-overview-intro-v2 p{margin:0;color:#687991;line-height:1.5;max-width:820px}.settings-overview-intro-v2>strong{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.settings-overview-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.settings-overview-card-v2{position:relative;display:flex;flex-direction:column;gap:8px;min-height:160px;padding:19px 18px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;text-decoration:none;box-shadow:0 12px 26px rgba(16,40,79,.045);overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.settings-overview-card-v2:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,#2f6df6,#78a8ff)}.settings-overview-card-v2:hover{transform:translateY(-2px);border-color:#bcd5f5;box-shadow:0 18px 36px rgba(16,40,79,.09)}.settings-overview-card-v2 span{width:max-content;max-width:100%;padding:6px 10px;border-radius:999px;border:1px solid #dbe7f5;background:#f8fbff;color:#536982;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.settings-overview-card-v2 strong{display:block;color:#10284f;font-size:17px;line-height:1.25;letter-spacing:-.01em}.settings-overview-card-v2 p{margin:0;color:#687991;line-height:1.5;font-size:13px;flex:1}.settings-overview-card-v2 em{font-style:normal;color:#2563eb;font-weight:900;font-size:13px}.settings-overview-card-v2 em:after{content:" →"}
html.admin-theme-dark .settings-overview-page-v2{background:transparent!important}html.admin-theme-dark .settings-overview-shell-v2,html.admin-theme-dark .settings-nav-card-v2,html.admin-theme-dark .settings-overview-intro-v2,html.admin-theme-dark .settings-overview-card-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-nav-card-v2 .settings-subnav a{background:#111827!important;border-color:#334155!important;color:#93c5fd!important}html.admin-theme-dark .settings-nav-card-v2 .settings-subnav a.active{background:#2563eb!important;border-color:#60a5fa!important;color:#fff!important}html.admin-theme-dark .settings-overview-intro-v2 h2,html.admin-theme-dark .settings-overview-card-v2 strong{color:#f8fafc!important}html.admin-theme-dark .settings-overview-intro-v2 p,html.admin-theme-dark .settings-overview-card-v2 p{color:#94a3b8!important}html.admin-theme-dark .settings-overview-intro-v2>strong,html.admin-theme-dark .settings-overview-card-v2 span{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .settings-overview-card-v2 em{color:#93c5fd!important}
@media(max-width:1280px){.settings-overview-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-overview-hero-v2{flex-direction:column}.settings-overview-hero__stats-v2{width:100%;min-width:0}}
@media(max-width:980px){.settings-overview-grid-v2,.settings-overview-hero__stats-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-overview-intro-v2{flex-direction:column}}
@media(max-width:640px){.settings-overview-shell-v2{padding:16px;border-radius:20px}.settings-overview-hero-v2,.settings-overview-intro-v2{padding:18px;border-radius:20px}.settings-overview-hero-v2 h1{font-size:25px}.settings-overview-grid-v2,.settings-overview-hero__stats-v2{grid-template-columns:1fr}.settings-nav-card-v2 .settings-subnav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px!important}.settings-nav-card-v2 .settings-subnav a{white-space:nowrap}}

/* Settings: General page polish */
.settings-general-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-general-page .settings-subnav{margin-bottom:0}.settings-general-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-general-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-general-hero__copy{position:relative;z-index:1;max-width:850px}.settings-general-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-general-hero .settings-general-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-general-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-general-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-general-action{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-general-action:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-general-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-general-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-general-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-general-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-general-summary-card small{color:#6b7c92;line-height:1.35}.settings-general-form{display:flex;flex-direction:column;gap:18px;margin:0}.settings-general-panel{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-general-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-general-panel-head h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-general-panel-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-general-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-general-field{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.settings-general-field--wide{grid-column:span 2}.settings-general-field span{font-size:14px}.settings-general-field small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.settings-general-field input,.settings-general-field select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.settings-general-field input:focus,.settings-general-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.settings-general-field input[readonly]{background:#f8fbff;color:#43556f}.settings-general-note{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.settings-general-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-general-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-general-savebar span{display:block;color:#687991;font-size:13px}.settings-general-save-button{min-width:148px;min-height:44px;border-radius:14px}
html.admin-theme-dark .settings-general-page{background:transparent!important}html.admin-theme-dark .settings-general-panel,html.admin-theme-dark .settings-general-summary-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-general-panel-head{border-color:#334155}html.admin-theme-dark .settings-general-panel-head h2,html.admin-theme-dark .settings-general-summary-card strong,html.admin-theme-dark .settings-general-savebar strong{color:#f8fafc}html.admin-theme-dark .settings-general-panel-head p,html.admin-theme-dark .settings-general-summary-card span,html.admin-theme-dark .settings-general-summary-card small,html.admin-theme-dark .settings-general-field small,html.admin-theme-dark .settings-general-savebar span{color:#94a3b8}html.admin-theme-dark .settings-general-field{color:#e2e8f0}html.admin-theme-dark .settings-general-field input,html.admin-theme-dark .settings-general-field select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-general-field input[readonly]{background:#111827!important;color:#cbd5e1!important}html.admin-theme-dark .settings-general-note{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .settings-general-savebar{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.settings-general-hero{flex-direction:column}.settings-general-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-general-action{width:max-content}}@media(max-width:760px){.settings-general-hero,.settings-general-panel{padding:18px;border-radius:20px}.settings-general-hero h1{font-size:25px}.settings-general-summary,.settings-general-field-grid{grid-template-columns:1fr}.settings-general-field--wide{grid-column:auto}.settings-general-savebar{flex-direction:column;align-items:stretch}.settings-general-save-button{width:100%}.settings-general-action{width:100%}}

/* SMTP settings polish */
.settings-smtp-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-smtp-page .settings-subnav{margin-bottom:0}.settings-smtp-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-smtp-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-smtp-hero__copy{position:relative;z-index:1;max-width:850px}.settings-smtp-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-smtp-hero .settings-smtp-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-smtp-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-smtp-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-smtp-action{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-smtp-action:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-smtp-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-smtp-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-smtp-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-smtp-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-smtp-summary-card small{color:#6b7c92;line-height:1.35}.settings-smtp-form{display:flex;flex-direction:column;gap:18px;margin:0}.settings-smtp-panel,.settings-smtp-test-card{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-smtp-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-smtp-panel-head h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-smtp-panel-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-smtp-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-smtp-field{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.settings-smtp-field span{font-size:14px}.settings-smtp-field small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.settings-smtp-field input,.settings-smtp-field select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.settings-smtp-field input:focus,.settings-smtp-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.settings-smtp-note{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.settings-smtp-note.is-active{background:#eefbf5;border-color:#bfe9d2;color:#17643a}.settings-smtp-note.is-muted{background:#fff8ed;border-color:#f5d5a6;color:#8a540b}.settings-smtp-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-smtp-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-smtp-savebar span{display:block;color:#687991;font-size:13px}.settings-smtp-save-button{min-width:148px;min-height:44px;border-radius:14px}.settings-smtp-test-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:16px;align-items:end;margin:0}.settings-smtp-test-button{min-height:48px;border-radius:15px;padding:0 18px;white-space:nowrap}
html.admin-theme-dark .settings-smtp-page{background:transparent!important}html.admin-theme-dark .settings-smtp-panel,html.admin-theme-dark .settings-smtp-test-card,html.admin-theme-dark .settings-smtp-summary-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-smtp-panel-head{border-color:#334155}html.admin-theme-dark .settings-smtp-panel-head h2,html.admin-theme-dark .settings-smtp-summary-card strong,html.admin-theme-dark .settings-smtp-savebar strong{color:#f8fafc}html.admin-theme-dark .settings-smtp-panel-head p,html.admin-theme-dark .settings-smtp-summary-card span,html.admin-theme-dark .settings-smtp-summary-card small,html.admin-theme-dark .settings-smtp-field small,html.admin-theme-dark .settings-smtp-savebar span{color:#94a3b8}html.admin-theme-dark .settings-smtp-field{color:#e2e8f0}html.admin-theme-dark .settings-smtp-field input,html.admin-theme-dark .settings-smtp-field select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-smtp-note{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .settings-smtp-note.is-active{background:#10251b!important;border-color:#166534!important;color:#bbf7d0!important}html.admin-theme-dark .settings-smtp-note.is-muted{background:#2b2111!important;border-color:#78350f!important;color:#fed7aa!important}html.admin-theme-dark .settings-smtp-savebar{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.settings-smtp-hero{flex-direction:column}.settings-smtp-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-smtp-action{width:max-content}}@media(max-width:760px){.settings-smtp-hero,.settings-smtp-panel,.settings-smtp-test-card{padding:18px;border-radius:20px}.settings-smtp-hero h1{font-size:25px}.settings-smtp-summary,.settings-smtp-field-grid,.settings-smtp-test-form{grid-template-columns:1fr}.settings-smtp-savebar{flex-direction:column;align-items:stretch}.settings-smtp-save-button,.settings-smtp-action,.settings-smtp-test-button{width:100%}}

/* Settings tabs: unified card container like settings overview */
.settings-general-page > .settings-nav-card-v2,
.settings-smtp-page > .settings-nav-card-v2,
.settings-page > .settings-nav-card-v2,
.admin-content > .settings-nav-card-v2{
  border:1px solid #dbe7f5!important;
  border-radius:22px!important;
  background:#fff!important;
  padding:14px 18px!important;
  box-shadow:0 12px 26px rgba(16,40,79,.045)!important;
  margin:0!important;
}
.settings-nav-card-v2 .settings-subnav{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
}
.settings-nav-card-v2 .settings-subnav a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  border:1px solid #d5e2f2!important;
  background:#fff!important;
  color:#2563eb!important;
  font-size:13px!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.settings-nav-card-v2 .settings-subnav a.active{
  background:#2f6df6!important;
  color:#fff!important;
  border-color:#2f6df6!important;
  box-shadow:0 12px 24px rgba(47,109,246,.22)!important;
}
html.admin-theme-dark .settings-nav-card-v2{
  background:#111827!important;
  border-color:#334155!important;
  box-shadow:none!important;
}
html.admin-theme-dark .settings-nav-card-v2 .settings-subnav a{
  background:#111827!important;
  border-color:#334155!important;
  color:#93c5fd!important;
}
html.admin-theme-dark .settings-nav-card-v2 .settings-subnav a.active{
  background:#2563eb!important;
  border-color:#60a5fa!important;
  color:#fff!important;
}
@media(max-width:640px){
  .settings-nav-card-v2{padding:12px!important;border-radius:18px!important}
  .settings-nav-card-v2 .settings-subnav{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:4px!important}
}

/* Cookie settings polish */
.settings-cookie-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-cookie-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-cookie-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-cookie-hero__copy-v2{position:relative;z-index:1;max-width:850px}.settings-cookie-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-cookie-hero-v2 .settings-cookie-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-cookie-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-cookie-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-cookie-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-cookie-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-cookie-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-cookie-summary-card-v2{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-cookie-summary-card-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-cookie-summary-card-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-cookie-summary-card-v2 small{color:#6b7c92;line-height:1.35}.settings-cookie-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.settings-cookie-panel-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-cookie-panel-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-cookie-panel-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-cookie-panel-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-cookie-toggle-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-cookie-toggle-card-v2{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:flex-start;margin:0;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.settings-cookie-toggle-card-v2:hover{transform:translateY(-1px);border-color:#bfdbfe;box-shadow:0 14px 28px rgba(17,42,92,.07)}.settings-cookie-toggle-card-v2 input{position:absolute;right:18px;top:18px;width:18px;height:18px;accent-color:#2f6df6}.settings-cookie-toggle-icon-v2{width:42px;height:42px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;background:#eaf3ff;border:1px solid #cfe2fb;color:#1d4ed8;font-weight:1000;font-size:18px}.settings-cookie-toggle-card-v2 strong{display:block;padding-right:32px;color:#10284f;font-size:16px;margin-bottom:6px}.settings-cookie-toggle-card-v2 small{display:block;color:#5f728d;line-height:1.55;font-size:13px}.settings-cookie-toggle-card-v2.is-enabled{background:#eff6ff;border-color:#bfdbfe}.settings-cookie-toggle-card-v2.is-enabled .settings-cookie-toggle-icon-v2{background:#2563eb;border-color:#2563eb;color:#fff}.settings-cookie-note-v2{padding:18px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff}.settings-cookie-note-v2 span{display:block;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}.settings-cookie-note-v2 strong{display:block;color:#10284f;font-size:17px;margin-bottom:7px}.settings-cookie-note-v2 p{margin:0;color:#536982;line-height:1.55}.settings-cookie-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-cookie-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-cookie-savebar-v2 span{display:block;color:#687991;font-size:13px}.settings-cookie-save-button-v2{min-width:148px;min-height:44px;border-radius:14px}
html.admin-theme-dark .settings-cookie-page-v2{background:transparent!important}html.admin-theme-dark .settings-cookie-panel-v2,html.admin-theme-dark .settings-cookie-summary-card-v2,html.admin-theme-dark .settings-cookie-toggle-card-v2,html.admin-theme-dark .settings-cookie-note-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-cookie-panel-head-v2{border-color:#334155}html.admin-theme-dark .settings-cookie-panel-head-v2 h2,html.admin-theme-dark .settings-cookie-summary-card-v2 strong,html.admin-theme-dark .settings-cookie-toggle-card-v2 strong,html.admin-theme-dark .settings-cookie-note-v2 strong,html.admin-theme-dark .settings-cookie-savebar-v2 strong{color:#f8fafc}html.admin-theme-dark .settings-cookie-panel-head-v2 p,html.admin-theme-dark .settings-cookie-summary-card-v2 span,html.admin-theme-dark .settings-cookie-summary-card-v2 small,html.admin-theme-dark .settings-cookie-toggle-card-v2 small,html.admin-theme-dark .settings-cookie-note-v2 span,html.admin-theme-dark .settings-cookie-note-v2 p,html.admin-theme-dark .settings-cookie-savebar-v2 span{color:#94a3b8}html.admin-theme-dark .settings-cookie-toggle-icon-v2{background:#0f172a!important;border-color:#475569!important;color:#93c5fd!important}html.admin-theme-dark .settings-cookie-toggle-card-v2.is-enabled{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .settings-cookie-toggle-card-v2.is-enabled .settings-cookie-toggle-icon-v2{background:#2563eb!important;border-color:#60a5fa!important;color:#fff!important}html.admin-theme-dark .settings-cookie-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.settings-cookie-hero-v2{flex-direction:column}.settings-cookie-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-cookie-action-v2{width:max-content}}@media(max-width:760px){.settings-cookie-hero-v2,.settings-cookie-panel-v2{padding:18px;border-radius:20px}.settings-cookie-hero-v2 h1{font-size:25px}.settings-cookie-summary-v2,.settings-cookie-toggle-grid-v2{grid-template-columns:1fr}.settings-cookie-savebar-v2{flex-direction:column;align-items:stretch}.settings-cookie-save-button-v2,.settings-cookie-action-v2{width:100%}.settings-cookie-toggle-card-v2{grid-template-columns:1fr}.settings-cookie-toggle-card-v2 input{right:16px;top:16px}}

/* Invoice settings polish */
.settings-invoices-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-invoices-page .settings-subnav{margin-bottom:0}.settings-invoices-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-invoices-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-invoices-hero__copy{position:relative;z-index:1;max-width:850px}.settings-invoices-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-invoices-hero .settings-invoices-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-invoices-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-invoices-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-invoices-action{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-invoices-action:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-invoices-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-invoices-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-invoices-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-invoices-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-invoices-summary-card small{color:#6b7c92;line-height:1.35}.settings-invoices-form{display:flex;flex-direction:column;gap:18px;margin:0}.settings-invoices-panel{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-invoices-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-invoices-panel-head h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-invoices-panel-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-invoices-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-invoices-field-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-invoices-field{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.settings-invoices-field--wide{grid-column:span 2}.settings-invoices-field span{font-size:14px}.settings-invoices-field small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.settings-invoices-field input,.settings-invoices-field select,.settings-invoices-field textarea{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.settings-invoices-field textarea{min-height:98px;padding:12px 14px;resize:vertical}.settings-invoices-field input[type=file]{padding:12px!important;height:auto}.settings-invoices-field input:focus,.settings-invoices-field select:focus,.settings-invoices-field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.settings-invoices-logo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-invoices-logo-card{border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:18px;display:flex;flex-direction:column;gap:12px;min-width:0}.settings-invoices-logo-card>strong{color:#10284f;font-size:16px}.settings-invoices-logo-card>p{margin:0;color:#687991;line-height:1.45}.settings-invoices-logo-preview{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.settings-invoices-logo-preview>div{width:132px;height:88px;border:1px solid #d5e2f2;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;padding:10px;box-shadow:0 8px 20px rgba(15,23,42,.06)}.settings-invoices-logo-preview img{max-width:100%;max-height:100%;object-fit:contain;display:block}.settings-invoices-logo-empty{display:flex;align-items:center;justify-content:center;min-height:88px;border:1px dashed #c6d8ee;border-radius:16px;background:#fff;color:#8aa0bb;font-weight:1000;font-size:22px}.settings-invoices-delete{display:inline-flex;align-items:center;gap:9px;margin:0;padding:10px 12px;border:1px solid rgba(239,68,68,.28);border-radius:12px;background:rgba(254,242,242,.8);color:#991b1b;font-weight:900;cursor:pointer;width:max-content}.settings-invoices-delete input{width:16px;height:16px;margin:0;accent-color:#dc2626}.settings-invoices-note{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.settings-invoices-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-invoices-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-invoices-savebar span{display:block;color:#687991;font-size:13px}.settings-invoices-save-button{min-width:178px;min-height:44px;border-radius:14px}
html.admin-theme-dark .settings-invoices-page{background:transparent!important}html.admin-theme-dark .settings-invoices-panel,html.admin-theme-dark .settings-invoices-summary-card,html.admin-theme-dark .settings-invoices-logo-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-invoices-panel-head{border-color:#334155}html.admin-theme-dark .settings-invoices-panel-head h2,html.admin-theme-dark .settings-invoices-summary-card strong,html.admin-theme-dark .settings-invoices-savebar strong,html.admin-theme-dark .settings-invoices-logo-card>strong{color:#f8fafc}html.admin-theme-dark .settings-invoices-panel-head p,html.admin-theme-dark .settings-invoices-summary-card span,html.admin-theme-dark .settings-invoices-summary-card small,html.admin-theme-dark .settings-invoices-field small,html.admin-theme-dark .settings-invoices-savebar span,html.admin-theme-dark .settings-invoices-logo-card>p{color:#94a3b8}html.admin-theme-dark .settings-invoices-field{color:#e2e8f0}html.admin-theme-dark .settings-invoices-field input,html.admin-theme-dark .settings-invoices-field select,html.admin-theme-dark .settings-invoices-field textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-invoices-logo-preview>div,html.admin-theme-dark .settings-invoices-logo-empty,html.admin-theme-dark .settings-invoices-note{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important;box-shadow:none!important}html.admin-theme-dark .settings-invoices-delete{background:rgba(127,29,29,.35)!important;border-color:rgba(248,113,113,.45)!important;color:#fecaca!important}html.admin-theme-dark .settings-invoices-savebar{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.settings-invoices-hero{flex-direction:column}.settings-invoices-summary,.settings-invoices-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-invoices-field-grid--three{grid-template-columns:1fr 1fr}.settings-invoices-action{width:max-content}}@media(max-width:760px){.settings-invoices-hero,.settings-invoices-panel{padding:18px;border-radius:20px}.settings-invoices-hero h1{font-size:25px}.settings-invoices-summary,.settings-invoices-field-grid,.settings-invoices-field-grid--three,.settings-invoices-logo-grid{grid-template-columns:1fr}.settings-invoices-field--wide{grid-column:auto}.settings-invoices-savebar{flex-direction:column;align-items:stretch}.settings-invoices-save-button,.settings-invoices-action{width:100%}}

/* PWA settings polish */
.settings-pwa-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-pwa-page .settings-subnav{margin-bottom:0}.settings-pwa-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-pwa-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-pwa-hero__copy{position:relative;z-index:1;max-width:850px}.settings-pwa-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-pwa-hero .settings-pwa-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-pwa-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-pwa-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-pwa-action{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-pwa-action:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-pwa-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-pwa-summary-card{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-pwa-summary-card span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-pwa-summary-card strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-pwa-summary-card small{color:#6b7c92;line-height:1.35}.settings-pwa-form{display:flex;flex-direction:column;gap:18px;margin:0}.settings-pwa-panel{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-pwa-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-pwa-panel-head h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-pwa-panel-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-pwa-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-pwa-switch-card{position:relative;display:flex;align-items:flex-start;gap:14px;margin:0;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;color:#13294b;min-height:92px}.settings-pwa-switch-card input{position:absolute;opacity:0;pointer-events:none}.settings-pwa-switch{flex:0 0 62px;width:62px;height:36px;border-radius:999px;background:#cbd5e1;position:relative;transition:.18s ease;margin-top:2px}.settings-pwa-switch span{position:absolute;left:5px;top:5px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.18);transition:.18s ease}.settings-pwa-switch-card input:checked + .settings-pwa-switch{background:#2f6df6}.settings-pwa-switch-card input:checked + .settings-pwa-switch span{transform:translateX(26px)}.settings-pwa-switch-card strong{display:block;color:#10284f;font-size:16px;margin-bottom:6px}.settings-pwa-switch-card small{display:block;color:#687991;line-height:1.45}.settings-pwa-switch-card:has(input:checked){border-color:#bfdbfe;background:#eff6ff}.settings-pwa-field-grid{display:grid;grid-template-columns:1fr 220px 220px;gap:16px}.settings-pwa-field{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.settings-pwa-field span{font-size:14px}.settings-pwa-field small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.settings-pwa-field input{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.settings-pwa-field input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.settings-pwa-color-field input[type=color]{height:48px;padding:4px!important;cursor:pointer}.settings-pwa-icon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-pwa-icon-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:center;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:16px}.settings-pwa-icon-preview{width:96px;height:96px;border-radius:22px;border:1px solid #d8e4f3;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(16,40,79,.06)}.settings-pwa-icon-preview--large{width:108px;height:108px}.settings-pwa-icon-preview img{width:100%;height:100%;object-fit:cover;display:block}.settings-pwa-icon-preview.is-empty{background:linear-gradient(135deg,#eef5ff,#f8fbff);color:#1e4d88;font-size:22px;font-weight:1000}.settings-pwa-icon-copy{display:flex;flex-direction:column;gap:8px;min-width:0}.settings-pwa-icon-copy strong{color:#10284f;font-size:16px}.settings-pwa-icon-copy small{color:#687991;line-height:1.35}.settings-pwa-icon-copy input[type=file]{width:100%;border:1px solid #d5e2f2;border-radius:14px;background:#fff;padding:9px;color:#162b49}.settings-pwa-delete-option{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:9px 11px;border:1px solid #fecaca;border-radius:999px;background:#fff7f7;color:#991b1b!important;font-weight:900}.settings-pwa-delete-option input{width:16px;height:16px;accent-color:#dc2626}.settings-pwa-note{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.settings-pwa-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-pwa-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-pwa-savebar span{display:block;color:#687991;font-size:13px}.settings-pwa-save-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-pwa-save-actions .btn-primary,.settings-pwa-save-actions .btn-secondary{min-height:44px;border-radius:14px;padding:0 16px}
html.admin-theme-dark .settings-pwa-page{background:transparent!important}html.admin-theme-dark .settings-pwa-panel,html.admin-theme-dark .settings-pwa-summary-card,html.admin-theme-dark .settings-pwa-switch-card,html.admin-theme-dark .settings-pwa-icon-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-pwa-panel-head{border-color:#334155}html.admin-theme-dark .settings-pwa-panel-head h2,html.admin-theme-dark .settings-pwa-summary-card strong,html.admin-theme-dark .settings-pwa-switch-card strong,html.admin-theme-dark .settings-pwa-icon-copy strong,html.admin-theme-dark .settings-pwa-savebar strong{color:#f8fafc}html.admin-theme-dark .settings-pwa-panel-head p,html.admin-theme-dark .settings-pwa-summary-card span,html.admin-theme-dark .settings-pwa-summary-card small,html.admin-theme-dark .settings-pwa-switch-card small,html.admin-theme-dark .settings-pwa-field small,html.admin-theme-dark .settings-pwa-icon-copy small,html.admin-theme-dark .settings-pwa-savebar span{color:#94a3b8}html.admin-theme-dark .settings-pwa-field{color:#e2e8f0}html.admin-theme-dark .settings-pwa-field input,html.admin-theme-dark .settings-pwa-icon-copy input[type=file]{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-pwa-icon-preview{background:#0f172a!important;border-color:#475569!important;color:#dbeafe;box-shadow:none}html.admin-theme-dark .settings-pwa-note{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .settings-pwa-savebar{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}html.admin-theme-dark .settings-pwa-delete-option{background:#2b1620!important;border-color:#7f1d1d!important;color:#fecaca!important}
@media(max-width:1100px){.settings-pwa-hero{flex-direction:column}.settings-pwa-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-pwa-field-grid,.settings-pwa-switch-grid,.settings-pwa-icon-grid{grid-template-columns:1fr}.settings-pwa-action{width:max-content}}@media(max-width:760px){.settings-pwa-hero,.settings-pwa-panel{padding:18px;border-radius:20px}.settings-pwa-hero h1{font-size:25px}.settings-pwa-summary{grid-template-columns:1fr}.settings-pwa-icon-card{grid-template-columns:1fr}.settings-pwa-savebar{flex-direction:column;align-items:stretch}.settings-pwa-save-actions,.settings-pwa-save-actions .btn-primary,.settings-pwa-save-actions .btn-secondary,.settings-pwa-action{width:100%;justify-content:center}.settings-pwa-switch-card{align-items:center}.settings-pwa-delete-option{width:100%;justify-content:center}}

/* License settings polished redesign */
.license-settings-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.license-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.license-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.license-hero-v2__copy{position:relative;z-index:1;max-width:850px}.license-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.license-hero-v2 .license-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.license-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.license-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.license-hero-v2__status{position:relative;z-index:1;display:flex;align-items:center;gap:10px;min-height:50px;padding:12px 14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;backdrop-filter:blur(8px);white-space:nowrap}.license-hero-v2__status span{color:rgba(255,255,255,.76);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.license-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.license-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.license-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.license-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.license-summary-v2 small{color:#6b7c92;line-height:1.35}.license-layout-v2{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.55fr);gap:18px;align-items:start}.license-panel-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px;min-width:0}.license-panel-head-v2{display:flex;flex-direction:column;gap:6px;padding-bottom:14px;border-bottom:1px solid #edf2f8}.license-panel-head-v2 h2{margin:4px 0 0;color:#10284f;font-size:22px;letter-spacing:-.02em}.license-panel-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.license-notice-v2{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.license-field-grid-v2{display:grid;grid-template-columns:1fr;gap:16px}.license-field-v2{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.license-field-v2 span{font-size:14px}.license-field-v2 small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.license-field-v2 input{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.license-field-v2 input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.license-action-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.license-action-grid-v2 .btn-secondary,.license-action-grid-v2 .btn-primary,.license-action-grid-v2 .btn-danger{min-height:44px;border-radius:14px;justify-content:center;white-space:nowrap}.license-danger-button-v2{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fecaca!important;box-shadow:none!important}.license-message-box-v2{padding:14px 15px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;display:flex;flex-direction:column;gap:5px}.license-message-box-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.license-message-box-v2 strong{color:#10284f;font-size:16px;line-height:1.35}.license-message-box-v2.is-active{background:#ecfdf5;border-color:#bbf7d0}.license-message-box-v2.is-error{background:#fff1f2;border-color:#fecdd3}.license-status-list-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border:1px solid #dce8f6;border-radius:18px;overflow:hidden;background:#fff}.license-status-list-v2>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:14px 15px;border-bottom:1px solid #e9f0f8;min-width:0}.license-status-list-v2>div:nth-last-child(-n+2){border-bottom:0}.license-status-list-v2>div:nth-child(odd){border-right:1px solid #e9f0f8}.license-status-list-v2 dt{color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.license-status-list-v2 dd{margin:0;color:#10284f;font-weight:850;overflow-wrap:anywhere;min-width:0}.license-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.license-status-pill.is-active{background:#dcfce7!important;border-color:#86efac!important;color:#166534!important}.license-status-pill.is-error{background:#fee2e2!important;border-color:#fecaca!important;color:#991b1b!important}.license-status-pill.is-neutral{background:#eef5ff!important;border-color:#cfe2fb!important;color:#1d4ed8!important}
html.admin-theme-dark .license-settings-page{background:transparent!important}html.admin-theme-dark .license-summary-v2 article,html.admin-theme-dark .license-panel-v2,html.admin-theme-dark .license-status-list-v2,html.admin-theme-dark .license-message-box-v2,html.admin-theme-dark .license-notice-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .license-panel-head-v2{border-color:#334155}html.admin-theme-dark .license-panel-head-v2 h2,html.admin-theme-dark .license-summary-v2 strong,html.admin-theme-dark .license-status-list-v2 dd,html.admin-theme-dark .license-message-box-v2 strong{color:#f8fafc!important}html.admin-theme-dark .license-panel-head-v2 p,html.admin-theme-dark .license-summary-v2 span,html.admin-theme-dark .license-summary-v2 small,html.admin-theme-dark .license-field-v2 small,html.admin-theme-dark .license-status-list-v2 dt,html.admin-theme-dark .license-message-box-v2 span,html.admin-theme-dark .license-notice-v2{color:#94a3b8!important}html.admin-theme-dark .license-field-v2{color:#e2e8f0!important}html.admin-theme-dark .license-field-v2 input{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .license-status-list-v2>div{border-color:#334155!important}html.admin-theme-dark .license-danger-button-v2{background:#2b1620!important;border-color:#7f1d1d!important;color:#fecaca!important}html.admin-theme-dark .license-message-box-v2.is-active{background:#10251b!important;border-color:#166534!important}html.admin-theme-dark .license-message-box-v2.is-error{background:#2b1620!important;border-color:#7f1d1d!important}
@media(max-width:1200px){.license-hero-v2{flex-direction:column}.license-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.license-layout-v2{grid-template-columns:1fr}.license-status-list-v2>div:nth-child(odd){border-right:0}.license-status-list-v2>div:nth-last-child(-n+2){border-bottom:1px solid #e9f0f8}.license-status-list-v2>div:last-child{border-bottom:0}}@media(max-width:760px){.license-hero-v2,.license-panel-v2{padding:18px;border-radius:20px}.license-hero-v2 h1{font-size:25px}.license-summary-v2,.license-status-list-v2,.license-status-list-v2>div,.license-action-grid-v2{grid-template-columns:1fr}.license-status-list-v2>div{gap:5px}.license-hero-v2__status{width:100%;justify-content:space-between}.license-action-grid-v2 .btn-secondary,.license-action-grid-v2 .btn-primary,.license-action-grid-v2 .btn-danger{width:100%}}

/* Shipping options page polish */
.shipping-options-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.shipping-options-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.shipping-options-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.shipping-options-hero__copy-v2{position:relative;z-index:1;max-width:850px}.shipping-options-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.shipping-options-hero-v2 .shipping-options-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.shipping-options-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.shipping-options-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.shipping-options-hero-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#2f6df6;color:#fff;border:1px solid rgba(255,255,255,.24);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.shipping-options-hero-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.shipping-options-summary-v2,.shipping-provider-mini-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shipping-options-summary-v2 article,.shipping-provider-mini-grid-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.shipping-options-summary-v2 span,.shipping-provider-mini-grid-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.shipping-options-summary-v2 strong,.shipping-provider-mini-grid-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shipping-options-summary-v2 small,.shipping-provider-mini-grid-v2 small{color:#6b7c92;line-height:1.35}.shipping-provider-mini-grid-v2 a{color:#2563eb;font-weight:900;text-decoration:none}.shipping-options-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.shipping-options-panel-v2,.shipping-providers-overview-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.shipping-options-panel-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.shipping-options-panel-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.shipping-options-panel-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.shipping-toggle-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shipping-switch-card-v2{position:relative;display:flex!important;align-items:flex-start;gap:14px;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;color:#13294b;font-weight:900;min-height:92px;margin:0}.shipping-switch-card-v2 input{width:22px;height:22px;min-width:22px;margin:2px 0 0;accent-color:#2f6df6}.shipping-switch-card-v2 span{display:flex;flex-direction:column;gap:6px}.shipping-switch-card-v2 strong{font-size:16px;color:#10284f}.shipping-switch-card-v2 small{color:#687991;line-height:1.45;font-weight:700}.shipping-switch-card-v2:has(input:checked){background:#eff6ff;border-color:#bfdbfe}.shipping-field-grid-v2{display:grid;grid-template-columns:minmax(260px,420px);gap:16px}.shipping-field-v2{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.shipping-field-v2 span{font-size:14px}.shipping-field-v2 small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.shipping-field-v2 select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.shipping-field-v2 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.shipping-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.shipping-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.shipping-savebar-v2 span{display:block;color:#687991;font-size:13px}.shipping-savebar-v2 .btn-primary{min-width:148px;min-height:44px;border-radius:14px}.shipping-providers-overview-v2 .btn-secondary{min-height:42px;border-radius:14px;white-space:nowrap}
html.admin-theme-dark .shipping-options-page-v2{background:transparent!important}html.admin-theme-dark .shipping-options-panel-v2,html.admin-theme-dark .shipping-providers-overview-v2,html.admin-theme-dark .shipping-options-summary-v2 article,html.admin-theme-dark .shipping-provider-mini-grid-v2 article,html.admin-theme-dark .shipping-switch-card-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .shipping-options-panel-head-v2{border-color:#334155}html.admin-theme-dark .shipping-options-panel-head-v2 h2,html.admin-theme-dark .shipping-options-summary-v2 strong,html.admin-theme-dark .shipping-provider-mini-grid-v2 strong,html.admin-theme-dark .shipping-switch-card-v2 strong,html.admin-theme-dark .shipping-savebar-v2 strong{color:#f8fafc}html.admin-theme-dark .shipping-options-panel-head-v2 p,html.admin-theme-dark .shipping-options-summary-v2 span,html.admin-theme-dark .shipping-options-summary-v2 small,html.admin-theme-dark .shipping-provider-mini-grid-v2 span,html.admin-theme-dark .shipping-provider-mini-grid-v2 small,html.admin-theme-dark .shipping-switch-card-v2 small,html.admin-theme-dark .shipping-field-v2 small,html.admin-theme-dark .shipping-savebar-v2 span{color:#94a3b8}html.admin-theme-dark .shipping-switch-card-v2:has(input:checked){background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .shipping-field-v2{color:#e2e8f0}html.admin-theme-dark .shipping-field-v2 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .shipping-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.shipping-options-hero-v2{flex-direction:column}.shipping-options-summary-v2,.shipping-provider-mini-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.shipping-toggle-grid-v2{grid-template-columns:1fr}.shipping-options-hero-action-v2{width:max-content}}@media(max-width:760px){.shipping-options-hero-v2,.shipping-options-panel-v2,.shipping-providers-overview-v2{padding:18px;border-radius:20px}.shipping-options-hero-v2 h1{font-size:25px}.shipping-options-summary-v2,.shipping-provider-mini-grid-v2,.shipping-field-grid-v2{grid-template-columns:1fr}.shipping-savebar-v2{flex-direction:column;align-items:stretch}.shipping-savebar-v2 .btn-primary,.shipping-options-hero-action-v2{width:100%}.shipping-options-panel-head-v2{flex-direction:column}.shipping-providers-overview-v2 .btn-secondary{width:100%;justify-content:center}}

/* Location settings: countries / states / cities polish */
.location-settings-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.location-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:30px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.location-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.location-hero__copy{position:relative;z-index:1;max-width:850px}.location-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.location-hero .location-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.location-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.location-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.location-hero__metric{position:relative;z-index:1;min-width:180px;padding:20px;border-radius:22px;background:rgba(15,23,42,.48);border:1px solid rgba(255,255,255,.18);box-shadow:0 20px 45px rgba(15,23,42,.18)}.location-hero__metric strong{display:block;color:#fff;font-size:38px;line-height:1}.location-hero__metric span{display:block;margin-top:9px;color:rgba(255,255,255,.78);font-size:13px;font-weight:800}.location-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.location-summary-grid article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.location-summary-grid span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.location-summary-grid strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-summary-grid small{color:#6b7c92;line-height:1.35}.location-panel{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:24px;display:flex;flex-direction:column;gap:18px}.location-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.location-panel__head h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.location-panel__head p{margin:0;color:#687991;line-height:1.5}.location-secondary-link,.location-count-pill{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #dbe7f5;background:#f8fbff;color:#2563eb;font-size:13px;font-weight:900;text-decoration:none;white-space:nowrap}.location-form{margin:0}.location-form-grid{display:grid;gap:16px;align-items:end}.location-form-grid--country{grid-template-columns:minmax(100px,.7fr) minmax(120px,.7fr) minmax(180px,1.2fr) minmax(180px,1.2fr) auto}.location-form-grid label{display:flex;flex-direction:column;gap:8px;color:#243a59;font-weight:850}.location-form-grid label span{font-size:14px}.location-form-grid input,.location-form-grid select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.location-form-grid input:focus,.location-form-grid select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.location-form-action{display:flex;align-items:end}.location-form-action .btn-primary{min-height:48px;border-radius:15px;white-space:nowrap}.location-table-wrap{border:1px solid #dbe7f5;border-radius:20px;background:#fff;overflow:visible}.location-table{margin:0!important;border-collapse:separate;border-spacing:0}.location-table th,.location-table td{padding:15px 16px!important;border-bottom:1px solid #e5edf7!important;vertical-align:middle}.location-table th{background:#f6f9fd!important;color:#61728c!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase}.location-table tbody tr:last-child td{border-bottom:0!important}.location-code-pill,.location-order-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:900}.location-code-pill{min-width:48px;padding:8px 11px;background:#eef5ff;color:#1e4d88}.location-order-pill{min-width:36px;padding:7px 10px;border:1px solid #dbe7f5;background:#f8fbff;color:#13294b}.location-empty-row{text-align:center!important;color:#64748b!important;padding:32px!important}.location-table .action-col{text-align:right!important}.location-table .action-menu{display:flex;justify-content:flex-end}
/* Make older states/cities pages look closer to the new location style */
.settings-card--spotlight{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}.settings-card--spotlight .settings-hero{margin:0 0 18px!important;padding:30px!important;border-radius:26px!important;background:linear-gradient(135deg,#10284f 0%,#1f4f8f 58%,#2f6df6 100%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(17,42,92,.16)!important}.settings-card--spotlight .settings-hero h1{color:#fff!important;font-size:32px!important;letter-spacing:-.035em!important}.settings-card--spotlight .settings-hero p{color:rgba(255,255,255,.84)!important}.settings-card--spotlight .settings-hero__badge{background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24)!important;font-weight:900!important}.settings-card--spotlight .settings-shell{padding:0!important}.settings-card--spotlight .settings-panel{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.055)!important}.settings-card--spotlight .settings-button{background:#2f6df6!important;border-radius:15px!important;box-shadow:0 12px 22px rgba(47,109,246,.18)!important}.settings-card--spotlight .settings-form-grid input,.settings-card--spotlight .settings-form-grid select,.settings-card--spotlight .settings-filter select{border:1px solid #d5e2f2!important;border-radius:15px!important;background:#fbfdff!important;min-height:48px!important}.settings-card--spotlight .settings-table-wrap{border:1px solid #dbe7f5!important;border-radius:20px!important;background:#fff!important;overflow:visible!important}.settings-card--spotlight .settings-table-wrap thead th{background:#f6f9fd!important;color:#61728c!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.settings-card--spotlight .settings-metric{background:rgba(15,23,42,.48)!important;border:1px solid rgba(255,255,255,.18)!important}
html.admin-theme-dark .location-settings-page{background:transparent!important}html.admin-theme-dark .location-panel,html.admin-theme-dark .location-summary-grid article,html.admin-theme-dark .location-table-wrap,html.admin-theme-dark .settings-card--spotlight .settings-panel,html.admin-theme-dark .settings-card--spotlight .settings-table-wrap{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}html.admin-theme-dark .location-panel__head h2,html.admin-theme-dark .location-summary-grid strong{color:#f8fafc!important}html.admin-theme-dark .location-panel__head p,html.admin-theme-dark .location-summary-grid span,html.admin-theme-dark .location-summary-grid small{color:#94a3b8!important}html.admin-theme-dark .location-form-grid label{color:#e2e8f0!important}html.admin-theme-dark .location-form-grid input,html.admin-theme-dark .location-form-grid select,html.admin-theme-dark .settings-card--spotlight .settings-form-grid input,html.admin-theme-dark .settings-card--spotlight .settings-form-grid select,html.admin-theme-dark .settings-card--spotlight .settings-filter select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .location-table th,html.admin-theme-dark .settings-card--spotlight .settings-table-wrap thead th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .location-table td{border-color:#334155!important;color:#e5e7eb!important}html.admin-theme-dark .location-code-pill{background:#1f4d86!important;color:#fff!important}html.admin-theme-dark .location-order-pill,html.admin-theme-dark .location-secondary-link,html.admin-theme-dark .location-count-pill{background:#0f172a!important;border-color:#334155!important;color:#93c5fd!important}
@media(max-width:1100px){.location-hero{flex-direction:column}.location-hero__metric{width:100%}.location-summary-grid{grid-template-columns:1fr}.location-form-grid--country{grid-template-columns:repeat(2,minmax(0,1fr))}.location-form-action{grid-column:1/-1}.location-table-wrap{overflow-x:auto}.location-table{min-width:780px}}@media(max-width:760px){.location-hero,.location-panel{padding:18px;border-radius:20px}.location-hero h1{font-size:25px}.location-form-grid--country{grid-template-columns:1fr}.location-form-action .btn-primary{width:100%}.location-panel__head{flex-direction:column}.settings-card--spotlight .settings-hero{padding:20px!important;border-radius:22px!important}.settings-card--spotlight .settings-hero h1{font-size:25px!important}}

/* Shipping providers polish */
.shipping-providers-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.shipping-providers-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.shipping-providers-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.shipping-providers-hero-copy-v2{position:relative;z-index:1;max-width:840px}.shipping-providers-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.shipping-providers-hero-v2 .shipping-providers-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.shipping-providers-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.shipping-providers-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.shipping-providers-hero-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#2f6df6;color:#fff;border:1px solid rgba(255,255,255,.18);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.shipping-providers-hero-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}
.shipping-providers-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shipping-providers-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.shipping-providers-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.shipping-providers-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shipping-providers-summary-v2 small{color:#6b7c92;line-height:1.35}
.shipping-providers-list-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:20px;display:flex;flex-direction:column;gap:18px}.shipping-providers-list-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.shipping-providers-list-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.shipping-providers-list-head-v2 p{margin:0;color:#687991;line-height:1.45;max-width:920px}.shipping-providers-list-actions-v2{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.shipping-providers-list-actions-v2>span{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.shipping-providers-list-actions-v2 .btn-secondary{min-height:38px;border-radius:14px;padding:0 13px}
.shipping-providers-table-wrap-v2{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.shipping-providers-table-v2{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}.shipping-providers-table-v2 th,.shipping-providers-table-v2 td{padding:16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.shipping-providers-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.shipping-providers-table-v2 tbody tr:hover{background:#fbfdff}.shipping-providers-table-v2 tbody tr:last-child td{border-bottom:0}.shipping-providers-table-v2 th.action-col,.shipping-providers-table-v2 td.action-col{text-align:right!important}.shipping-provider-name-v2{display:flex;align-items:center;gap:13px;min-width:0}.shipping-provider-id-v2{display:inline-flex;align-items:center;justify-content:center;min-width:46px;padding:8px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.shipping-provider-name-v2 strong{display:block;color:#10284f;font-size:16px;line-height:1.2}.shipping-provider-name-v2 small{display:block;margin-top:4px;color:#687991;font-size:12px}.shipping-provider-cost-v2{display:flex;flex-direction:column;gap:7px;align-items:flex-start}.shipping-provider-cost-badge-v2,.shipping-provider-status-v2,.shipping-provider-order-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:900}.shipping-provider-cost-badge-v2{padding:7px 10px;font-size:12px;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.shipping-provider-cost-badge-v2.is-automatic{background:#eef5ff;color:#1d4ed8;border-color:#cfe2fb}.shipping-provider-cost-badge-v2.is-manual{background:#f8fbff;color:#334155;border-color:#dbe7f5}.shipping-provider-cost-v2 small{color:#687991;font-size:12px}.shipping-provider-status-v2{padding:8px 12px;font-size:12px;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.shipping-provider-status-v2.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.shipping-provider-status-v2.is-inactive{background:#fff1f2;color:#be123c;border-color:#fecdd3}.shipping-provider-order-v2{min-width:42px;padding:8px 10px;background:#f8fbff;border:1px solid #dce8f6;color:#13294b}.shipping-provider-action-menu-v2{display:flex;justify-content:flex-end;width:100%}.shipping-provider-action-menu-v2 .action-trigger{min-height:38px;border-radius:14px;padding:0 12px}.shipping-provider-action-menu-v2 .action-menu-panel,.shipping-provider-action-menu-v2 .action-menu-panel a{text-align:left!important}.shipping-provider-action-menu-v2 .action-menu-panel a{justify-content:flex-start!important}.shipping-providers-empty-v2{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:230px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px}.shipping-providers-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.shipping-providers-empty-v2 strong{font-size:18px;color:#13294b}.shipping-providers-empty-v2 p{margin:0;color:#64748b;line-height:1.55}
html.admin-theme-dark .shipping-providers-page-v2{background:transparent!important}html.admin-theme-dark .shipping-providers-summary-v2 article,html.admin-theme-dark .shipping-providers-list-card-v2,html.admin-theme-dark .shipping-providers-table-wrap-v2,html.admin-theme-dark .shipping-providers-table-v2,html.admin-theme-dark .shipping-providers-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .shipping-providers-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .shipping-providers-table-v2 td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .shipping-providers-table-v2 tbody tr:hover{background:#172d4b!important}html.admin-theme-dark .shipping-providers-list-head-v2 h2,html.admin-theme-dark .shipping-providers-summary-v2 strong,html.admin-theme-dark .shipping-provider-name-v2 strong,html.admin-theme-dark .shipping-provider-order-v2,html.admin-theme-dark .shipping-providers-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .shipping-providers-list-head-v2 p,html.admin-theme-dark .shipping-providers-summary-v2 span,html.admin-theme-dark .shipping-providers-summary-v2 small,html.admin-theme-dark .shipping-provider-name-v2 small,html.admin-theme-dark .shipping-provider-cost-v2 small,html.admin-theme-dark .shipping-providers-empty-v2 p{color:#94a3b8!important}html.admin-theme-dark .shipping-provider-id-v2{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .shipping-provider-order-v2,html.admin-theme-dark .shipping-providers-list-actions-v2>span{background:#0f172a!important;border-color:#334155!important;color:#e2e8f0!important}html.admin-theme-dark .shipping-provider-status-v2.is-active{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .shipping-provider-status-v2.is-inactive{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}html.admin-theme-dark .shipping-provider-cost-badge-v2.is-automatic{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .shipping-provider-cost-badge-v2.is-manual{background:#0f172a!important;color:#cbd5e1!important;border-color:#475569!important}
@media(max-width:1100px){.shipping-providers-hero-v2{flex-direction:column}.shipping-providers-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.shipping-providers-hero-action-v2{width:max-content}.shipping-providers-table-wrap-v2{overflow-x:auto}.shipping-providers-table-v2{min-width:920px}}@media(max-width:760px){.shipping-providers-hero-v2,.shipping-providers-list-card-v2{padding:18px;border-radius:20px}.shipping-providers-hero-v2 h1{font-size:25px}.shipping-providers-summary-v2{grid-template-columns:1fr}.shipping-providers-list-head-v2{flex-direction:column}.shipping-providers-list-actions-v2{justify-content:flex-start;width:100%}.shipping-providers-list-actions-v2 .btn-secondary,.shipping-providers-hero-action-v2{width:100%;justify-content:center}}

/* Shipping provider create/edit form polish */
.shipping-provider-form-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.shipping-provider-form-page-v2 .settings-nav-card-v2{margin:0!important}.shipping-provider-form-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.shipping-provider-form-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.shipping-provider-form-hero-copy-v2{position:relative;z-index:1;max-width:860px}.shipping-provider-form-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.shipping-provider-form-hero-v2 .shipping-provider-form-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.shipping-provider-form-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.shipping-provider-form-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.shipping-provider-form-hero-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.shipping-provider-form-hero-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.shipping-provider-form-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shipping-provider-form-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.shipping-provider-form-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.shipping-provider-form-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shipping-provider-form-summary-v2 small{color:#6b7c92;line-height:1.35}.shipping-provider-form-shell-v2{display:flex;flex-direction:column;gap:18px;margin:0}.shipping-provider-form-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.shipping-provider-form-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.shipping-provider-form-card-head-v2 h2,.shipping-provider-status-copy-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.shipping-provider-form-card-head-v2 p,.shipping-provider-status-copy-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.shipping-provider-choice-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shipping-provider-choice-card-v2{position:relative;display:grid!important;grid-template-columns:auto 48px minmax(0,1fr);align-items:center;gap:14px;margin:0;padding:18px;border:1px solid #dbe7f5;border-radius:20px;background:#f8fbff;color:#10284f;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;min-height:128px}.shipping-provider-choice-card-v2:hover{transform:translateY(-1px);border-color:#bcd5f5;box-shadow:0 14px 28px rgba(16,40,79,.06)}.shipping-provider-choice-card-v2:has(input:checked){background:#eff6ff;border-color:#2f6df6;box-shadow:0 0 0 3px rgba(47,109,246,.10)}.shipping-provider-choice-card-v2 input{width:18px;height:18px;accent-color:#2f6df6}.shipping-provider-choice-icon-v2{width:48px;height:48px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#eaf3ff;color:#1e4d88}.shipping-provider-choice-card-v2 strong{display:block;margin-bottom:5px;font-size:15px;color:#10284f}.shipping-provider-choice-card-v2 small{display:block;color:#637796;line-height:1.45}.shipping-provider-field-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shipping-provider-field-v2{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.shipping-provider-field-v2 span{font-size:14px}.shipping-provider-field-v2 small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.shipping-provider-field-v2 input,.shipping-provider-field-v2 select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.shipping-provider-field-v2 input:focus,.shipping-provider-field-v2 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.shipping-provider-field-v2.is-disabled input{background:#f1f5f9!important;color:#8292a8!important;cursor:not-allowed}.shipping-provider-field-v2--price{grid-column:1/span 1}.shipping-provider-status-card-v2{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center}.shipping-provider-toggle-card-v2{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:center;margin:0;padding:18px;border:1px solid #dbe7f5;border-radius:20px;background:#f8fbff;box-shadow:0 14px 26px rgba(16,40,79,.035);cursor:pointer}.shipping-provider-toggle-card-v2:has(input:checked){background:#ecfdf5;border-color:#bbf7d0}.shipping-provider-toggle-card-v2 input{width:22px;height:22px;accent-color:#2f6df6}.shipping-provider-toggle-card-v2 strong{display:block;margin-bottom:4px;color:#10284f}.shipping-provider-toggle-card-v2 small{display:block;color:#687991;line-height:1.35}.shipping-provider-savebar-v2{position:sticky;bottom:14px;z-index:6;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.shipping-provider-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.shipping-provider-savebar-v2 span{display:block;color:#687991;font-size:13px}.shipping-provider-savebar-v2 .btn-primary,.shipping-provider-savebar-v2 .btn-secondary{min-height:44px;border-radius:14px;padding:0 16px;white-space:nowrap}
html.admin-theme-dark .shipping-provider-form-page-v2{background:transparent!important}html.admin-theme-dark .shipping-provider-form-summary-v2 article,html.admin-theme-dark .shipping-provider-form-card-v2,html.admin-theme-dark .shipping-provider-choice-card-v2,html.admin-theme-dark .shipping-provider-toggle-card-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .shipping-provider-form-card-head-v2{border-color:#334155}html.admin-theme-dark .shipping-provider-form-summary-v2 strong,html.admin-theme-dark .shipping-provider-form-card-head-v2 h2,html.admin-theme-dark .shipping-provider-status-copy-v2 h2,html.admin-theme-dark .shipping-provider-choice-card-v2 strong,html.admin-theme-dark .shipping-provider-toggle-card-v2 strong,html.admin-theme-dark .shipping-provider-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .shipping-provider-form-summary-v2 span,html.admin-theme-dark .shipping-provider-form-summary-v2 small,html.admin-theme-dark .shipping-provider-form-card-head-v2 p,html.admin-theme-dark .shipping-provider-status-copy-v2 p,html.admin-theme-dark .shipping-provider-choice-card-v2 small,html.admin-theme-dark .shipping-provider-field-v2 small,html.admin-theme-dark .shipping-provider-toggle-card-v2 small,html.admin-theme-dark .shipping-provider-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .shipping-provider-field-v2{color:#e2e8f0!important}html.admin-theme-dark .shipping-provider-field-v2 input,html.admin-theme-dark .shipping-provider-field-v2 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .shipping-provider-field-v2.is-disabled input{background:#111827!important;color:#64748b!important}html.admin-theme-dark .shipping-provider-choice-icon-v2{background:#1f4d86!important;color:#fff!important}html.admin-theme-dark .shipping-provider-choice-card-v2:has(input:checked){background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .shipping-provider-toggle-card-v2:has(input:checked){background:#10251b!important;border-color:#22c55e!important}html.admin-theme-dark .shipping-provider-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.shipping-provider-form-hero-v2{flex-direction:column}.shipping-provider-form-summary-v2,.shipping-provider-choice-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.shipping-provider-form-hero-action-v2{width:max-content}.shipping-provider-status-card-v2{grid-template-columns:1fr}.shipping-provider-toggle-card-v2{max-width:420px}}@media(max-width:760px){.shipping-provider-form-hero-v2,.shipping-provider-form-card-v2{padding:18px;border-radius:20px}.shipping-provider-form-hero-v2 h1{font-size:25px}.shipping-provider-form-summary-v2,.shipping-provider-choice-grid-v2,.shipping-provider-field-grid-v2{grid-template-columns:1fr}.shipping-provider-field-v2--price{grid-column:auto}.shipping-provider-savebar-v2{grid-template-columns:1fr;align-items:stretch}.shipping-provider-savebar-v2 .btn-primary,.shipping-provider-savebar-v2 .btn-secondary,.shipping-provider-form-hero-action-v2{width:100%;justify-content:center}.shipping-provider-toggle-card-v2{max-width:none}}

/* Federal states page refined UI */
.settings-states-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.states-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.states-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.states-hero-copy-v2{position:relative;z-index:1;max-width:850px}.states-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.states-hero-v2 .states-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.states-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.states-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.states-summary-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.states-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.states-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.states-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.states-summary-v2 small{color:#6b7c92;line-height:1.35}.states-form-card-v2,.states-list-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.states-panel-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.states-panel-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.states-panel-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.states-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.states-form-grid-v2{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1fr;gap:14px}.states-form-grid-v2 label,.states-filter-v2 label{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.states-form-grid-v2 span,.states-filter-v2 span{font-size:14px}.states-form-grid-v2 input,.states-form-grid-v2 select,.states-filter-v2 select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.states-form-grid-v2 input:focus,.states-form-grid-v2 select:focus,.states-filter-v2 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.states-form-actions-v2{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.states-count-pill-v2{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.states-filter-v2{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:16px;align-items:end}.states-filter-hint-v2{min-height:48px;display:flex;align-items:center;padding:0 14px;border:1px solid #dce8f6;border-radius:15px;background:#f8fbff;color:#536982;font-size:13px}.states-table-wrap-v2{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.states-table-v2{width:100%;border-collapse:separate;border-spacing:0}.states-table-v2 th,.states-table-v2 td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.states-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.states-table-v2 th a{color:inherit;text-decoration:none}.states-table-v2 tr:last-child td{border-bottom:0}.states-country-cell-v2{display:flex;align-items:center;gap:10px}.states-country-cell-v2 span,.states-sort-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:34px;padding:0 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.states-country-cell-v2 strong{color:#10284f}.states-table-v2 td>strong{display:block;color:#10284f;margin-bottom:4px}.states-table-v2 td>small{display:block;color:#687991}.states-empty-row-v2 td{text-align:center!important;color:#536982;padding:34px!important;background:linear-gradient(180deg,#fff,#fbfdff)}.states-table-v2 .action-col{text-align:right!important}.states-table-v2 .action-col .action-menu{display:flex;justify-content:flex-end}.states-table-v2 .action-menu-panel,.states-table-v2 .action-menu-panel a{text-align:left!important}.states-table-v2 .action-menu-panel a{justify-content:flex-start!important}
html.admin-theme-dark .settings-states-page-v2{background:transparent!important}html.admin-theme-dark .states-summary-v2 article,html.admin-theme-dark .states-form-card-v2,html.admin-theme-dark .states-list-card-v2,html.admin-theme-dark .states-table-wrap-v2,html.admin-theme-dark .states-table-v2,html.admin-theme-dark .states-filter-hint-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .states-panel-head-v2{border-color:#334155}html.admin-theme-dark .states-panel-head-v2 h2,html.admin-theme-dark .states-summary-v2 strong,html.admin-theme-dark .states-country-cell-v2 strong,html.admin-theme-dark .states-table-v2 td>strong{color:#f8fafc!important}html.admin-theme-dark .states-panel-head-v2 p,html.admin-theme-dark .states-summary-v2 span,html.admin-theme-dark .states-summary-v2 small,html.admin-theme-dark .states-filter-hint-v2,html.admin-theme-dark .states-table-v2 td>small{color:#94a3b8!important}html.admin-theme-dark .states-form-grid-v2 label,html.admin-theme-dark .states-filter-v2 label{color:#e2e8f0!important}html.admin-theme-dark .states-form-grid-v2 input,html.admin-theme-dark .states-form-grid-v2 select,html.admin-theme-dark .states-filter-v2 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .states-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .states-table-v2 td{border-color:#334155!important}html.admin-theme-dark .states-country-cell-v2 span,html.admin-theme-dark .states-sort-pill-v2{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .states-empty-row-v2 td{background:#111827!important;color:#94a3b8!important}
@media(max-width:1200px){.states-form-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.states-summary-v2{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.states-hero-v2,.states-form-card-v2,.states-list-card-v2{padding:18px;border-radius:20px}.states-hero-v2 h1{font-size:25px}.states-summary-v2,.states-form-grid-v2,.states-filter-v2{grid-template-columns:1fr}.states-panel-head-v2{flex-direction:column}.states-form-actions-v2{justify-content:stretch}.states-form-actions-v2 .btn-primary,.states-form-actions-v2 .btn-secondary{width:100%;justify-content:center}.states-table-wrap-v2{overflow-x:auto}.states-table-v2{min-width:760px}}

/* Cities settings page refinement */
.settings-cities-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.cities-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.cities-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.cities-hero-copy-v2{position:relative;z-index:1;max-width:850px}.cities-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.cities-hero-v2 .cities-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.cities-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.cities-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.cities-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cities-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.cities-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.cities-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cities-summary-v2 small{color:#6b7c92;line-height:1.35}.cities-form-card-v2,.cities-list-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.cities-panel-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.cities-panel-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.cities-panel-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.cities-count-pill-v2{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.cities-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.cities-form-grid-v2{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1fr .9fr .8fr;gap:14px}.cities-form-grid-v2 label,.cities-filter-v2 label{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.cities-form-grid-v2 span,.cities-filter-v2 span{font-size:14px}.cities-form-grid-v2 input,.cities-form-grid-v2 select,.cities-filter-v2 select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.cities-form-grid-v2 input:focus,.cities-form-grid-v2 select:focus,.cities-filter-v2 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.cities-form-actions-v2{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.cities-form-actions-v2 .btn-primary,.cities-form-actions-v2 .btn-secondary{min-height:44px;border-radius:14px}.cities-filter-v2{display:grid;grid-template-columns:minmax(240px,330px) minmax(240px,330px) minmax(0,1fr);gap:16px;align-items:end}.cities-filter-hint-v2{min-height:48px;display:flex;align-items:center;padding:0 14px;border:1px solid #dce8f6;border-radius:15px;background:#f8fbff;color:#536982;font-size:13px}.cities-table-wrap-v2{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.cities-table-v2{width:100%;border-collapse:separate;border-spacing:0}.cities-table-v2 th,.cities-table-v2 td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.cities-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.cities-table-v2 th a{color:inherit;text-decoration:none}.cities-table-v2 tr:last-child td{border-bottom:0}.cities-location-pills-v2{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cities-location-pills-v2 span,.cities-sort-pill-v2,.cities-postal-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:34px;padding:0 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.cities-postal-pill-v2{background:#f8fbff;color:#536982;border:1px solid #dbe7f5}.cities-table-v2 td>strong{display:block;color:#10284f;margin-bottom:4px}.cities-table-v2 td>small{display:block;color:#687991}.cities-empty-row-v2 td{text-align:center!important;color:#536982;padding:34px!important;background:linear-gradient(180deg,#fff,#fbfdff)}.cities-empty-row-v2 strong{display:block;color:#10284f;font-size:16px;margin-bottom:5px}.cities-empty-row-v2 small{display:block;color:#687991}.cities-table-v2 .action-col{text-align:right!important}.cities-table-v2 .action-col .action-menu{display:flex;justify-content:flex-end}.cities-table-v2 .action-menu-panel,.cities-table-v2 .action-menu-panel a{text-align:left!important}.cities-table-v2 .action-menu-panel a{justify-content:flex-start!important}html.admin-theme-dark .settings-cities-page-v2{background:transparent!important}html.admin-theme-dark .cities-summary-v2 article,html.admin-theme-dark .cities-form-card-v2,html.admin-theme-dark .cities-list-card-v2,html.admin-theme-dark .cities-table-wrap-v2,html.admin-theme-dark .cities-table-v2,html.admin-theme-dark .cities-filter-hint-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .cities-panel-head-v2{border-color:#334155}html.admin-theme-dark .cities-panel-head-v2 h2,html.admin-theme-dark .cities-summary-v2 strong,html.admin-theme-dark .cities-table-v2 td>strong,html.admin-theme-dark .cities-empty-row-v2 strong{color:#f8fafc!important}html.admin-theme-dark .cities-panel-head-v2 p,html.admin-theme-dark .cities-summary-v2 span,html.admin-theme-dark .cities-summary-v2 small,html.admin-theme-dark .cities-filter-hint-v2,html.admin-theme-dark .cities-table-v2 td>small,html.admin-theme-dark .cities-empty-row-v2 small{color:#94a3b8!important}html.admin-theme-dark .cities-form-grid-v2 label,html.admin-theme-dark .cities-filter-v2 label{color:#e2e8f0!important}html.admin-theme-dark .cities-form-grid-v2 input,html.admin-theme-dark .cities-form-grid-v2 select,html.admin-theme-dark .cities-filter-v2 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .cities-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .cities-table-v2 td{border-color:#334155!important}html.admin-theme-dark .cities-location-pills-v2 span,html.admin-theme-dark .cities-sort-pill-v2{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .cities-postal-pill-v2,html.admin-theme-dark .cities-count-pill-v2{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .cities-empty-row-v2 td{background:#111827!important;color:#94a3b8!important}@media(max-width:1320px){.cities-form-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}.cities-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.cities-filter-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.cities-filter-hint-v2{grid-column:1/-1}}@media(max-width:760px){.cities-hero-v2,.cities-form-card-v2,.cities-list-card-v2{padding:18px;border-radius:20px}.cities-hero-v2 h1{font-size:25px}.cities-summary-v2,.cities-form-grid-v2,.cities-filter-v2{grid-template-columns:1fr}.cities-form-actions-v2{justify-content:stretch}.cities-form-actions-v2 .btn-primary,.cities-form-actions-v2 .btn-secondary{width:100%;justify-content:center}.cities-table-wrap-v2{overflow-x:auto}.cities-table-v2{min-width:820px}}

/* Tax settings refined UI */
.tax-settings-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.tax-tabs-card-v2{border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:14px 18px;box-shadow:0 12px 26px rgba(16,40,79,.045)}.tax-tabs-card-v2 .tax-settings-subnav{display:flex;flex-wrap:wrap;gap:10px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.tax-tabs-card-v2 .tax-settings-subnav a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:999px;border:1px solid #d5e2f2;background:#fff;color:#2563eb!important;font-size:14px;font-weight:900;text-decoration:none;box-shadow:none!important}.tax-tabs-card-v2 .tax-settings-subnav a.active{background:#2f6df6!important;color:#fff!important;border-color:#2f6df6!important;box-shadow:0 12px 24px rgba(47,109,246,.22)!important}.tax-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.tax-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.tax-hero-copy-v2{position:relative;z-index:1;max-width:850px}.tax-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tax-hero-v2 .tax-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.tax-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.tax-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.tax-hero-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#2f6df6;color:#fff;border:1px solid rgba(255,255,255,.22);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.tax-hero-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.tax-summary-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tax-summary-grid-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.tax-summary-grid-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.tax-summary-grid-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tax-summary-grid-v2 small{color:#6b7c92;line-height:1.35}.tax-list-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:20px;display:flex;flex-direction:column;gap:18px}.tax-list-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.tax-list-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.tax-list-head-v2 p{margin:0;color:#687991;line-height:1.45}.tax-list-count-v2{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.tax-table-wrap-v2{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.tax-table-v2{width:100%;border-collapse:separate;border-spacing:0}.tax-table-v2 th,.tax-table-v2 td{padding:15px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.tax-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tax-table-v2 th:first-child{border-top-left-radius:18px}.tax-table-v2 th:last-child{border-top-right-radius:18px}.tax-table-v2 tr:last-child td{border-bottom:0}.tax-table-v2 th a{color:inherit;text-decoration:none}.tax-table-v2 tbody tr:hover{background:#fbfdff}.tax-title-cell-v2{display:flex;flex-direction:column;gap:4px;min-width:0}.tax-title-cell-v2 strong{display:block;color:#10284f;font-size:15px;line-height:1.25;overflow-wrap:anywhere}.tax-title-cell-v2 small{color:#6b7c92;line-height:1.35}.tax-country-list-v2{display:flex;flex-wrap:wrap;gap:7px;max-width:740px}.tax-country-list-v2 span,.tax-country-list-v2 em{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#1e4d88;font-size:12px;font-weight:850;padding:6px 9px;font-style:normal}.tax-country-list-v2 span.is-muted{color:#6b7c92;background:#fff}.tax-status-badge-v2,.tax-order-badge-v2,.tax-zone-badge-v2,.tax-rate-badge-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;white-space:nowrap}.tax-status-badge-v2.is-yes{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.tax-status-badge-v2.is-no{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.tax-order-badge-v2{min-width:38px;background:#eef5ff;color:#1e4d88;border-color:#d7e7fb}.tax-zone-badge-v2{background:#eef5ff;color:#1d4ed8;border-color:#cfe2fb}.tax-zone-badge-v2.is-class{background:#f8fbff;color:#334155}.tax-rate-badge-v2{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.tax-table-v2 .action-col{text-align:right!important}.tax-table-v2 .action-col .tax-action-menu-v2{display:flex;justify-content:flex-end;width:100%}.tax-action-menu-v2 .action-menu-panel,.tax-action-menu-v2 .action-menu-panel a{text-align:left!important}.tax-action-menu-v2 .action-menu-panel a{justify-content:flex-start!important}.tax-empty-v2{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;min-height:170px;border:1px dashed #c6d8ee;border-radius:18px;background:#fbfdff;color:#536982}.tax-empty-v2 strong{color:#13294b;font-size:16px}.tax-empty-v2 span{color:#64748b}
html.admin-theme-dark .tax-settings-page-v2{background:transparent!important}html.admin-theme-dark .tax-tabs-card-v2,html.admin-theme-dark .tax-summary-grid-v2 article,html.admin-theme-dark .tax-list-card-v2,html.admin-theme-dark .tax-table-wrap-v2,html.admin-theme-dark .tax-table-v2,html.admin-theme-dark .tax-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .tax-tabs-card-v2 .tax-settings-subnav a{background:#111827!important;border-color:#334155!important;color:#93c5fd!important}html.admin-theme-dark .tax-tabs-card-v2 .tax-settings-subnav a.active{background:#2563eb!important;border-color:#60a5fa!important;color:#fff!important}html.admin-theme-dark .tax-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .tax-table-v2 td{border-color:#334155!important;color:#e5e7eb!important}html.admin-theme-dark .tax-table-v2 tbody tr:hover{background:#172033!important}html.admin-theme-dark .tax-list-head-v2 h2,html.admin-theme-dark .tax-summary-grid-v2 strong,html.admin-theme-dark .tax-title-cell-v2 strong,html.admin-theme-dark .tax-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .tax-list-head-v2 p,html.admin-theme-dark .tax-summary-grid-v2 span,html.admin-theme-dark .tax-summary-grid-v2 small,html.admin-theme-dark .tax-title-cell-v2 small,html.admin-theme-dark .tax-empty-v2 span{color:#94a3b8!important}html.admin-theme-dark .tax-list-count-v2,html.admin-theme-dark .tax-country-list-v2 span,html.admin-theme-dark .tax-country-list-v2 em,html.admin-theme-dark .tax-order-badge-v2,html.admin-theme-dark .tax-zone-badge-v2{background:#0f172a!important;border-color:#475569!important;color:#bfdbfe!important}html.admin-theme-dark .tax-status-badge-v2.is-yes,html.admin-theme-dark .tax-rate-badge-v2{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .tax-status-badge-v2.is-no{background:#334155!important;color:#e2e8f0!important;border-color:#64748b!important}
@media(max-width:1100px){.tax-hero-v2{flex-direction:column}.tax-summary-grid-v2{grid-template-columns:1fr 1fr}.tax-table-wrap-v2{overflow-x:auto}.tax-table-v2{min-width:900px}}@media(max-width:760px){.tax-hero-v2,.tax-list-card-v2{padding:18px;border-radius:20px}.tax-hero-v2 h1{font-size:25px}.tax-summary-grid-v2{grid-template-columns:1fr}.tax-list-head-v2{flex-direction:column}.tax-hero-action-v2{width:100%}.tax-tabs-card-v2 .tax-settings-subnav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px!important}.tax-tabs-card-v2 .tax-settings-subnav a{white-space:nowrap}}

/* Tax forms redesign */
.tax-form-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.tax-form-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.tax-form-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.tax-form-hero-v2>div,.tax-form-back-v2{position:relative;z-index:1}.tax-form-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tax-form-hero-v2 .tax-form-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.tax-form-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.tax-form-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:850px}.tax-form-back-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.tax-form-back-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.tax-form-shell-v2{display:flex;flex-direction:column;gap:18px;margin:0}.tax-form-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.tax-form-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.tax-form-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.tax-form-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.tax-form-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tax-form-grid-v2 label{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.tax-form-grid-v2 label.is-wide{grid-column:1/-1}.tax-form-grid-v2 label>span{font-size:14px}.tax-form-grid-v2 label>small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.tax-form-grid-v2 input,.tax-form-grid-v2 select,.tax-form-grid-v2 textarea{width:100%;box-sizing:border-box;border:1px solid #d5e2f2!important;border-radius:15px!important;background:#fbfdff!important;color:#162b49!important;padding:0 14px!important;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.tax-form-grid-v2 input,.tax-form-grid-v2 select{min-height:48px}.tax-form-grid-v2 textarea{min-height:112px;padding:12px 14px!important;resize:vertical}.tax-form-grid-v2 select[multiple]{min-height:230px;padding:12px 14px!important}.tax-form-grid-v2 input:focus,.tax-form-grid-v2 select:focus,.tax-form-grid-v2 textarea:focus{outline:none;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}.tax-country-select-v2 option{padding:6px 8px}.tax-form-card-v2--switch{padding:16px}.tax-switch-card-v2{display:flex!important;align-items:center!important;gap:14px;margin:0!important;padding:16px!important;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;color:#13294b;font-weight:900;cursor:pointer}.tax-switch-card-v2 input{width:22px!important;height:22px!important;accent-color:#2f6df6;flex:0 0 auto}.tax-switch-card-v2 span{display:flex;flex-direction:column;gap:3px}.tax-switch-card-v2 strong{color:#10284f}.tax-switch-card-v2 small{color:#687991;font-weight:700;line-height:1.35}.tax-switch-card-v2:has(input:checked){background:#eff6ff;border-color:#bfdbfe}.tax-form-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.tax-form-savebar-v2>div{margin-right:auto}.tax-form-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.tax-form-savebar-v2 span{display:block;color:#687991;font-size:13px}.tax-form-savebar-v2 .btn-primary,.tax-form-savebar-v2 .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px;white-space:nowrap}
html.admin-theme-dark .tax-form-page-v2{background:transparent!important}html.admin-theme-dark .tax-form-card-v2,html.admin-theme-dark .tax-switch-card-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .tax-form-card-head-v2{border-color:#334155}html.admin-theme-dark .tax-form-card-head-v2 h2,html.admin-theme-dark .tax-switch-card-v2 strong,html.admin-theme-dark .tax-form-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .tax-form-card-head-v2 p,html.admin-theme-dark .tax-form-grid-v2 label>small,html.admin-theme-dark .tax-switch-card-v2 small,html.admin-theme-dark .tax-form-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .tax-form-grid-v2 label{color:#e2e8f0!important}html.admin-theme-dark .tax-form-grid-v2 input,html.admin-theme-dark .tax-form-grid-v2 select,html.admin-theme-dark .tax-form-grid-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}html.admin-theme-dark .tax-switch-card-v2:has(input:checked){background:#10213a!important;border-color:#60a5fa!important;color:#dbeafe!important}html.admin-theme-dark .tax-form-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1100px){.tax-form-hero-v2{flex-direction:column}.tax-form-grid-v2{grid-template-columns:1fr}.tax-form-back-v2{width:max-content}}@media(max-width:760px){.tax-form-hero-v2,.tax-form-card-v2{padding:18px;border-radius:20px}.tax-form-hero-v2 h1{font-size:25px}.tax-form-savebar-v2{flex-direction:column;align-items:stretch}.tax-form-savebar-v2>div{margin-right:0}.tax-form-savebar-v2 .btn-primary,.tax-form-savebar-v2 .btn-secondary,.tax-form-back-v2{width:100%;justify-content:center}}

/* Languages and currencies settings polish */
.settings-locales-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-locales-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-locales-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-locales-hero__copy{position:relative;z-index:1;max-width:850px}.settings-locales-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-locales-hero .settings-locales-eyebrow{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-locales-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-locales-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.settings-locales-action{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-locales-action:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-locales-hero-form{position:relative;z-index:2;margin:0}.settings-locales-hero-form .settings-locales-action{border:0;cursor:pointer}.settings-locales-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-locales-summary article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-locales-summary span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-locales-summary strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-locales-summary small{color:#6b7c92;line-height:1.35}.settings-locales-grid{display:grid;grid-template-columns:minmax(360px,.78fr) minmax(520px,1fr);gap:18px;align-items:start}.settings-locales-panel{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px;min-width:0}.settings-locales-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-locales-panel-head h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-locales-panel-head p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-locales-form{display:flex;flex-direction:column;gap:16px;margin:0}.settings-locales-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-locales-field-grid--currency{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-locales-field{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59;min-width:0}.settings-locales-field span{font-size:14px}.settings-locales-field small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.settings-locales-field input,.settings-locales-field select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.settings-locales-field input:focus,.settings-locales-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.settings-locales-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-locales-toggle-card{position:relative;display:flex!important;align-items:flex-start;gap:12px;margin:0;padding:15px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;color:#13294b;font-weight:900;min-height:96px}.settings-locales-toggle-card input{width:18px;height:18px;margin-top:3px;accent-color:#2f6df6}.settings-locales-toggle-card strong{display:block;margin-bottom:5px;color:#10284f}.settings-locales-toggle-card small{display:block;color:#687991;line-height:1.4;font-weight:700}.settings-locales-toggle-card:has(input:checked){background:#eff6ff;border-color:#bfdbfe}.settings-locales-note{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.settings-locales-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-locales-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-locales-savebar span{display:block;color:#687991;font-size:13px}.settings-locales-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.settings-locales-table-wrap{border:1px solid #dce8f6;border-radius:20px;overflow:visible;background:#fff}.settings-locales-table{width:100%;border-collapse:separate;border-spacing:0;margin:0}.settings-locales-table thead th{background:#f4f7fb;color:#5d708c;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #dce8f6;padding:13px 16px;text-align:left}.settings-locales-table thead th a{color:inherit;text-decoration:none}.settings-locales-table tbody td{padding:16px;border-bottom:1px solid #e3ebf6;vertical-align:middle}.settings-locales-table tbody tr:last-child td{border-bottom:0}.settings-locale-code-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;background:#eef5ff;color:#1553a8;font-weight:1000}.settings-locale-symbol{display:block;margin-top:5px;color:#687991;font-weight:800}.settings-locale-name-cell strong{display:block;color:#10284f;font-size:15px}.settings-locale-name-cell small{display:block;color:#687991;margin-top:3px;line-height:1.35}.settings-locale-name-cell>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.settings-locale-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.settings-locale-pill.is-default{background:#eef5ff;color:#1d4ed8;border-color:#cfe2fb}.settings-locale-pill.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.settings-locale-pill.is-muted{background:#f1f5f9;color:#64748b;border-color:#dbe7f5}.settings-locale-pill.is-order{background:#f8fbff;color:#39506d;border-color:#dbe7f5}.settings-rate-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 11px;border-radius:999px;border:1px solid #dbe7f5;background:#f8fbff;color:#10284f;font-weight:900}.settings-locales-table .action-col{text-align:right}.settings-locales-table .action-trigger{min-width:116px;justify-content:center}
html.admin-theme-dark .settings-locales-page{background:transparent!important}html.admin-theme-dark .settings-locales-summary article,html.admin-theme-dark .settings-locales-panel,html.admin-theme-dark .settings-locales-table-wrap,html.admin-theme-dark .settings-locales-table tbody td,html.admin-theme-dark .settings-locales-toggle-card,html.admin-theme-dark .settings-locales-note,html.admin-theme-dark .settings-locales-savebar{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-locales-panel-head{border-color:#334155}html.admin-theme-dark .settings-locales-panel-head h2,html.admin-theme-dark .settings-locales-summary strong,html.admin-theme-dark .settings-locale-name-cell strong,html.admin-theme-dark .settings-locales-toggle-card strong,html.admin-theme-dark .settings-locales-savebar strong{color:#f8fafc!important}html.admin-theme-dark .settings-locales-panel-head p,html.admin-theme-dark .settings-locales-summary span,html.admin-theme-dark .settings-locales-summary small,html.admin-theme-dark .settings-locales-field small,html.admin-theme-dark .settings-locale-name-cell small,html.admin-theme-dark .settings-locale-symbol,html.admin-theme-dark .settings-locales-toggle-card small,html.admin-theme-dark .settings-locales-savebar span{color:#94a3b8!important}html.admin-theme-dark .settings-locales-field{color:#e2e8f0!important}html.admin-theme-dark .settings-locales-field input,html.admin-theme-dark .settings-locales-field select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-locales-toggle-card:has(input:checked){background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .settings-locales-table thead th{background:#0f172a!important;border-color:#334155!important;color:#94a3b8!important}html.admin-theme-dark .settings-locale-code-badge,html.admin-theme-dark .settings-rate-badge,html.admin-theme-dark .settings-locale-pill.is-order{background:#0f172a!important;border-color:#475569!important;color:#dbeafe!important}html.admin-theme-dark .settings-locale-pill.is-default{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .settings-locale-pill.is-active{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .settings-locale-pill.is-muted{background:#1e293b!important;color:#cbd5e1!important;border-color:#475569!important}
@media(max-width:1250px){.settings-locales-grid{grid-template-columns:1fr}.settings-locales-field-grid--currency{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-locales-hero{flex-direction:column}.settings-locales-action{width:max-content}}@media(max-width:820px){.settings-locales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-locales-field-grid,.settings-locales-field-grid--currency,.settings-locales-toggle-grid{grid-template-columns:1fr}.settings-locales-table-wrap{overflow-x:auto}.settings-locales-table{min-width:720px}.settings-locales-savebar{flex-direction:column;align-items:stretch}.settings-locales-actions{justify-content:stretch}.settings-locales-actions .btn-primary,.settings-locales-actions .btn-secondary{width:100%;justify-content:center}.settings-locales-hero,.settings-locales-panel{padding:18px;border-radius:20px}.settings-locales-hero h1{font-size:25px}}

/* Email templates + logo settings polish */
.email-templates-page-v2,.logo-settings-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.email-template-hero-v2,.logo-settings-page-v2 .logo-settings-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px!important;border-radius:26px!important;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(17,42,92,.16)!important;position:relative;overflow:hidden;border:0!important}.email-template-hero-v2:after,.logo-settings-page-v2 .logo-settings-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.email-template-hero-v2>div,.logo-settings-page-v2 .logo-settings-hero__text,.logo-settings-page-v2 .logo-settings-hero__cards{position:relative;z-index:1}.email-template-eyebrow-v2,.email-template-picker-shell-v2 .eyebrow,.logo-settings-page-v2 .eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.email-template-hero-v2 .email-template-eyebrow-v2,.logo-settings-page-v2 .logo-settings-hero .eyebrow{background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border-color:rgba(255,255,255,.24)!important}.email-template-hero-v2 h1,.logo-settings-page-v2 .logo-settings-hero h1{margin:12px 0 9px;color:#fff!important;font-size:32px;line-height:1.08;letter-spacing:-.035em}.email-template-hero-v2 p,.logo-settings-page-v2 .logo-settings-hero p{margin:0;color:rgba(255,255,255,.84)!important;line-height:1.55;font-size:15px;max-width:850px}.logo-settings-page-v2 .logo-settings-hero__cards{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px;min-width:480px}.logo-settings-page-v2 .logo-summary-card{border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.13)!important;border-radius:18px!important;padding:15px 16px!important;color:#fff!important;box-shadow:none!important}.logo-settings-page-v2 .logo-summary-card strong{display:block;color:#fff!important;font-size:13px;margin-bottom:7px}.logo-settings-page-v2 .logo-summary-card span{display:block;color:rgba(255,255,255,.78)!important;font-size:12px;font-weight:800}.email-template-picker-shell-v2,.logo-settings-page-v2 .logo-config-card{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.055)!important;padding:22px!important}.email-template-picker-head-v2,.logo-settings-page-v2 .section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.email-template-picker-head-v2 h2,.logo-settings-page-v2 .section-head h2{margin:10px 0 6px;color:#10284f!important;font-size:22px;letter-spacing:-.02em}.email-template-picker-head-v2 p,.logo-settings-page-v2 .section-head p{margin:0;color:#687991!important;font-size:13px;line-height:1.45}.email-template-picker-card-v2{border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:18px}.email-template-picker-card-v2 .settings-grid{gap:16px!important}.email-template-picker-card-v2 label,.email-template-card label,.logo-settings-page-v2 label{font-weight:850;color:#243a59}.email-template-picker-card-v2 select,.email-template-picker-card-v2 input,.email-template-card input,.email-template-card select,.email-template-card textarea,.logo-settings-page-v2 input,.logo-settings-page-v2 select,.logo-settings-page-v2 textarea{width:100%;min-height:46px;border:1px solid #d5e2f2!important;border-radius:15px!important;background:#fff!important;color:#162b49!important;padding:0 13px!important;font-weight:750;box-sizing:border-box}.email-template-card textarea{padding:12px 13px!important;line-height:1.5}.email-template-picker-card-v2 .text-muted{margin:14px 0 0;color:#536982!important;line-height:1.5}.email-template-list-v2{display:flex;flex-direction:column;gap:18px}.email-template-card{border:1px solid #d8e4f3!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 45px rgba(15,35,70,.055)!important;padding:22px!important}.email-template-card .email-template-head{align-items:center}.email-template-card h2{margin:0 0 6px;color:#10284f;font-size:22px}.email-template-card code{display:inline-flex;flex-wrap:wrap;gap:4px;padding:7px 10px;border-radius:10px;background:#f1f5fb;color:#1e4d88;white-space:normal}.email-template-card [data-language-panel]{border:1px solid #dce8f6!important;border-radius:20px!important;background:#f8fbff!important;box-shadow:none!important;padding:18px!important}.template-placeholder-box,.email-preview-card,.email-template-test-box{border:1px solid #dce8f6!important;border-radius:18px!important;background:#fff!important;padding:16px!important}.template-placeholder-list{display:flex;gap:8px;flex-wrap:wrap}.template-placeholder-list code,.template-placeholder-list span{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d5e2f2;font-weight:900}.email-preview-card strong{display:block;margin:8px 0;color:#10284f}.email-preview-card pre{white-space:pre-wrap;margin:0;color:#4d617a;font:inherit;line-height:1.55}.email-template-test-box{display:flex;justify-content:space-between;gap:16px;align-items:end;background:#f8fbff!important}.email-template-test-box strong{color:#10284f}.email-template-test-box p{margin:4px 0 0;color:#687991}.email-template-test-fields{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr) auto;gap:12px;align-items:end;min-width:520px}.logo-settings-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.logo-settings-page-v2 .logo-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.logo-settings-page-v2 .logo-preview{min-height:95px!important;border:1px solid #dce8f6!important;border-radius:18px!important;background:#10284f!important;padding:18px!important;margin-bottom:18px;display:flex;flex-direction:column;justify-content:center;box-shadow:none!important}.logo-settings-page-v2 .logo-preview--light{background:#f8fbff!important}.logo-settings-page-v2 .logo-preview__title{font-size:22px;font-weight:1000;line-height:1.1}.logo-settings-page-v2 .logo-preview__subtitle{margin-top:5px;font-weight:800}.logo-settings-page-v2 .form-grid{gap:14px!important}.logo-settings-page-v2 input[type="color"]{height:46px;padding:4px!important}.logo-settings-page-v2 input[type="file"]{padding:10px!important;background:#fff!important}.logo-settings-page-v2 .checkbox-label{display:flex;align-items:center;gap:10px;margin-top:14px;padding:13px 14px;border:1px solid #dce8f6;border-radius:16px;background:#f8fbff;color:#243a59;font-weight:900}.logo-settings-page-v2 .checkbox-label input{width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;accent-color:#2f6df6}.logo-settings-page-v2 .logo-favicon-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;align-items:center}.logo-settings-page-v2 .logo-favicon-preview{width:110px;height:110px;border:1px dashed #c7d7eb;border-radius:22px;background:#f8fbff;display:flex;align-items:center;justify-content:center;text-align:center;color:#64748b;font-weight:900;padding:12px}.logo-settings-page-v2 .logo-favicon-preview img{max-width:72px;max-height:72px}.logo-settings-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}
html.admin-theme-dark .email-template-picker-shell-v2,html.admin-theme-dark .email-template-card,html.admin-theme-dark .email-template-picker-card-v2,html.admin-theme-dark .email-template-card [data-language-panel],html.admin-theme-dark .template-placeholder-box,html.admin-theme-dark .email-preview-card,html.admin-theme-dark .email-template-test-box,html.admin-theme-dark .logo-settings-page-v2 .logo-config-card,html.admin-theme-dark .logo-settings-page-v2 .logo-preview--light,html.admin-theme-dark .logo-settings-page-v2 .checkbox-label,html.admin-theme-dark .logo-settings-page-v2 .logo-favicon-preview,html.admin-theme-dark .logo-settings-savebar-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .email-template-picker-head-v2,html.admin-theme-dark .logo-settings-page-v2 .section-head{border-color:#334155}html.admin-theme-dark .email-template-picker-head-v2 h2,html.admin-theme-dark .email-template-card h2,html.admin-theme-dark .email-preview-card strong,html.admin-theme-dark .email-template-test-box strong,html.admin-theme-dark .logo-settings-page-v2 .section-head h2{color:#f8fafc!important}html.admin-theme-dark .email-template-picker-head-v2 p,html.admin-theme-dark .email-template-picker-card-v2 .text-muted,html.admin-theme-dark .email-preview-card pre,html.admin-theme-dark .email-template-test-box p,html.admin-theme-dark .logo-settings-page-v2 .section-head p{color:#94a3b8!important}html.admin-theme-dark .email-template-picker-card-v2 label,html.admin-theme-dark .email-template-card label,html.admin-theme-dark .logo-settings-page-v2 label{color:#e2e8f0!important}html.admin-theme-dark .email-template-picker-card-v2 select,html.admin-theme-dark .email-template-picker-card-v2 input,html.admin-theme-dark .email-template-card input,html.admin-theme-dark .email-template-card select,html.admin-theme-dark .email-template-card textarea,html.admin-theme-dark .logo-settings-page-v2 input,html.admin-theme-dark .logo-settings-page-v2 select,html.admin-theme-dark .logo-settings-page-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .email-template-card code,html.admin-theme-dark .template-placeholder-list code,html.admin-theme-dark .template-placeholder-list span{background:#0f172a!important;border-color:#475569!important;color:#93c5fd!important}html.admin-theme-dark .logo-settings-page-v2 .logo-preview{background:#0f172a!important;border-color:#334155!important}html.admin-theme-dark .logo-settings-page-v2 .logo-preview__title{color:#f8fafc!important}
@media(max-width:1200px){.logo-settings-page-v2 .logo-settings-hero{flex-direction:column}.logo-settings-page-v2 .logo-settings-hero__cards{width:100%;min-width:0}.logo-settings-page-v2 .logo-settings-grid{grid-template-columns:1fr}.email-template-test-box{flex-direction:column;align-items:stretch}.email-template-test-fields{min-width:0;width:100%;grid-template-columns:1fr 1fr auto}}@media(max-width:760px){.email-template-hero-v2,.logo-settings-page-v2 .logo-settings-hero,.email-template-picker-shell-v2,.email-template-card,.logo-settings-page-v2 .logo-config-card{padding:18px!important;border-radius:20px!important}.email-template-hero-v2 h1,.logo-settings-page-v2 .logo-settings-hero h1{font-size:25px}.logo-settings-page-v2 .logo-settings-hero__cards,.email-template-test-fields,.logo-settings-page-v2 .logo-favicon-row{grid-template-columns:1fr}.email-template-picker-card-v2 .settings-grid,.logo-settings-page-v2 .form-grid{grid-template-columns:1fr!important}.logo-settings-savebar-v2{flex-direction:column;align-items:stretch}.logo-settings-savebar-v2 .btn-primary,.logo-settings-savebar-v2 .btn-secondary{width:100%;justify-content:center}}

/* Monthly listing limits page redesign */
.monthly-limit-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.monthly-limit-page-v2 .settings-nav-card-v2{margin:0!important}.monthly-limit-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.monthly-limit-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.monthly-limit-hero-copy-v2{position:relative;z-index:1;max-width:850px}.monthly-limit-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.monthly-limit-hero-v2 .monthly-limit-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.monthly-limit-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.monthly-limit-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.monthly-limit-hero-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.monthly-limit-hero-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.monthly-limit-stats-v2{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.monthly-limit-stats-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.monthly-limit-stats-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.monthly-limit-stats-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monthly-limit-stats-v2 small{color:#6b7c92;line-height:1.35}.monthly-limit-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.monthly-limit-section-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.monthly-limit-section-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.monthly-limit-section-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.monthly-limit-section-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45;max-width:980px}.monthly-limit-count-pill-v2{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.monthly-limit-account-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.monthly-limit-option-card-v2{border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:17px;display:flex;flex-direction:column;gap:12px;min-height:210px}.monthly-limit-option-card-v2.is-active{background:#eff6ff;border-color:#bfdbfe;box-shadow:0 14px 30px rgba(47,109,246,.08)}.monthly-limit-card-check-v2,.monthly-limit-card-title-v2{display:flex;align-items:center;gap:10px;color:#10284f;font-size:16px;font-weight:950}.monthly-limit-card-check-v2 input{width:20px;height:20px;accent-color:#2f6df6}.monthly-limit-option-card-v2 p{margin:0;color:#5f728d;line-height:1.5;font-size:13px;flex:1}.monthly-limit-field-v2{display:flex;flex-direction:column;gap:7px;margin-top:auto;color:#243a59;font-weight:850}.monthly-limit-field-v2 span{font-size:13px}.monthly-limit-field-v2 input{width:100%;min-height:46px;border:1px solid #d5e2f2;border-radius:15px;background:#fff;padding:0 14px;color:#162b49;font-weight:800}.monthly-limit-field-v2 input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.monthly-limit-email-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.monthly-limit-email-grid-v2 label{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:start;margin:0;padding:16px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;color:#10284f;font-weight:900}.monthly-limit-email-grid-v2 input{width:20px;height:20px;accent-color:#2f6df6;grid-row:span 2}.monthly-limit-email-grid-v2 span{font-size:14px}.monthly-limit-email-grid-v2 small{color:#6b7c92;font-size:12px;line-height:1.4;font-weight:700}.monthly-limit-email-grid-v2 label:has(input:checked){background:#eff6ff;border-color:#bfdbfe}.monthly-limit-table-shell-v2{border:1px solid #dbe5f2;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(17,42,92,.05);overflow-x:auto;overflow-y:visible;max-height:none!important}.monthly-limit-category-table-v2{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;margin:0;table-layout:fixed}.monthly-limit-category-table-v2 th{position:static!important;padding:14px 16px;background:#f3f7fc;color:#526780;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid #dbe5f2;white-space:nowrap}.monthly-limit-category-table-v2 th:first-child{width:42%}.monthly-limit-category-table-v2 th:nth-child(2),.monthly-limit-category-table-v2 th:nth-child(3){width:29%;text-align:center}.monthly-limit-category-table-v2 td{padding:11px 16px;border-bottom:1px solid #edf2f8;vertical-align:middle;background:#fff}.monthly-limit-category-table-v2 tr:last-child td{border-bottom:0}.monthly-limit-category-table-v2 .monthly-limit-account-control{display:grid;grid-template-columns:minmax(128px,1fr) 96px;gap:10px;align-items:center}.monthly-limit-category-table-v2 .monthly-limit-mini-switch{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dbe5f2;border-radius:999px;background:#f8fbff;color:#53667f;font-weight:800;font-size:12px;white-space:nowrap}.monthly-limit-category-table-v2 .monthly-limit-mini-switch input{width:17px!important;height:17px!important;accent-color:#2563eb}.monthly-limit-category-table-v2 .monthly-limit-mini-switch:has(input:checked){border-color:#b7d3ff;background:#eff6ff;color:#174ea6}.monthly-limit-category-table-v2 .monthly-limit-account-control input[type=number]{width:96px;min-height:38px;text-align:center;border-radius:12px;background:#fff;border:1px solid #d5e2f2;color:#162b49;font-weight:800}.monthly-limit-category-table-v2 .monthly-limit-category-title{display:flex;align-items:center;gap:9px;min-height:38px;padding-left:calc(var(--level,0) * 22px);font-weight:750;color:#172b4d;line-height:1.3;word-break:normal}.monthly-limit-category-table-v2 .monthly-limit-category-row--parent .monthly-limit-category-title{font-weight:900;color:#0f2747}.monthly-limit-category-table-v2 .monthly-limit-tree-dot{width:10px;height:10px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #e8f0ff;flex:0 0 auto}.monthly-limit-category-table-v2 .monthly-limit-tree-spacer{width:10px;flex:0 0 auto}.monthly-limit-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.monthly-limit-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.monthly-limit-savebar-v2 span{display:block;color:#687991;font-size:13px;line-height:1.45}.monthly-limit-savebar-v2 .btn-primary{min-height:44px;min-width:130px;border-radius:14px}
html.admin-theme-dark .monthly-limit-page-v2{background:transparent!important}html.admin-theme-dark .monthly-limit-section-v2,html.admin-theme-dark .monthly-limit-stats-v2 article,html.admin-theme-dark .monthly-limit-option-card-v2,html.admin-theme-dark .monthly-limit-email-grid-v2 label,html.admin-theme-dark .monthly-limit-table-shell-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .monthly-limit-section-head-v2{border-color:#334155}html.admin-theme-dark .monthly-limit-section-head-v2 h2,html.admin-theme-dark .monthly-limit-stats-v2 strong,html.admin-theme-dark .monthly-limit-card-check-v2,html.admin-theme-dark .monthly-limit-card-title-v2,html.admin-theme-dark .monthly-limit-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .monthly-limit-section-head-v2 p,html.admin-theme-dark .monthly-limit-stats-v2 span,html.admin-theme-dark .monthly-limit-stats-v2 small,html.admin-theme-dark .monthly-limit-option-card-v2 p,html.admin-theme-dark .monthly-limit-email-grid-v2 small,html.admin-theme-dark .monthly-limit-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .monthly-limit-count-pill-v2{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .monthly-limit-option-card-v2.is-active,html.admin-theme-dark .monthly-limit-email-grid-v2 label:has(input:checked){background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .monthly-limit-field-v2{color:#e2e8f0!important}html.admin-theme-dark .monthly-limit-field-v2 input,html.admin-theme-dark .monthly-limit-category-table-v2 .monthly-limit-account-control input[type=number]{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .monthly-limit-category-table-v2 th{background:#172942!important;border-color:#31537f!important;color:#c5d5ea!important}html.admin-theme-dark .monthly-limit-category-table-v2 td,html.admin-theme-dark .monthly-limit-category-row--parent td{background:#101d31!important;border-color:#253c5d!important}html.admin-theme-dark .monthly-limit-category-table-v2 .monthly-limit-category-title{color:#eef5ff!important}html.admin-theme-dark .monthly-limit-category-table-v2 .monthly-limit-mini-switch{background:#14233a!important;border-color:#31537f!important;color:#c5d5ea!important}html.admin-theme-dark .monthly-limit-category-table-v2 .monthly-limit-mini-switch:has(input:checked){background:#17335d!important;border-color:#4c82d9!important;color:#dbeafe!important}html.admin-theme-dark .monthly-limit-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1250px){.monthly-limit-stats-v2{grid-template-columns:repeat(3,minmax(0,1fr))}.monthly-limit-account-grid-v2{grid-template-columns:1fr 1fr}.monthly-limit-warning-card-v2{grid-column:1/-1}}@media(max-width:900px){.monthly-limit-hero-v2{flex-direction:column}.monthly-limit-stats-v2,.monthly-limit-account-grid-v2,.monthly-limit-email-grid-v2{grid-template-columns:1fr}.monthly-limit-category-table-v2{min-width:760px}.monthly-limit-savebar-v2{flex-direction:column;align-items:stretch}.monthly-limit-savebar-v2 .btn-primary{width:100%}}@media(max-width:640px){.monthly-limit-hero-v2,.monthly-limit-section-v2{padding:18px;border-radius:20px}.monthly-limit-hero-v2 h1{font-size:25px}.monthly-limit-hero-action-v2{width:100%}}

/* Settings social links and admin accounts polish */
.settings-social-page-v2,.settings-admins-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.settings-social-hero-v2,.settings-admins-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.settings-social-hero-v2:after,.settings-admins-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-social-hero-v2>div,.settings-admins-hero-v2>div,.settings-social-back-v2,.settings-admins-hero-actions-v2{position:relative;z-index:1}.settings-social-eyebrow-v2,.settings-admins-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.settings-social-hero-v2 .settings-social-eyebrow-v2,.settings-admins-hero-v2 .settings-admins-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.settings-social-hero-v2 h1,.settings-admins-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.settings-social-hero-v2 p,.settings-admins-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:850px}.settings-social-back-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.settings-social-back-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.settings-admins-hero-actions-v2{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}.settings-admins-hero-actions-v2 .btn-primary,.settings-admins-hero-actions-v2 .btn-secondary{min-height:42px;border-radius:14px;white-space:nowrap}.settings-social-summary-v2,.settings-admins-summary-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-admins-summary-v2{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-social-summary-v2 article,.settings-admins-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.settings-social-summary-v2 span,.settings-admins-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.settings-social-summary-v2 strong,.settings-admins-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-social-summary-v2 small,.settings-admins-summary-v2 small{color:#6b7c92;line-height:1.35}.settings-social-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.settings-social-card-v2,.settings-admins-filter-card-v2,.settings-admins-list-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-social-card-head-v2,.settings-admins-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-social-card-head-v2 h2,.settings-admins-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-social-card-head-v2 p,.settings-admins-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-social-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-social-provider-v2{display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;align-items:center;margin:0;padding:16px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.settings-social-provider-v2.is-filled{background:#eff6ff;border-color:#bfdbfe}.settings-social-provider-icon-v2{width:54px;height:54px;border-radius:18px;background:#eaf3ff;color:#2563eb;display:flex;align-items:center;justify-content:center}.settings-social-provider-icon-v2 .admin-social-svg{width:24px;height:24px}.settings-social-provider-body-v2{display:flex;flex-direction:column;gap:6px;min-width:0}.settings-social-provider-body-v2 strong{color:#10284f;font-size:15px}.settings-social-provider-body-v2 small{color:#687991;font-size:12px;font-weight:700}.settings-social-provider-body-v2 input{width:100%;min-height:44px;border:1px solid #d5e2f2;border-radius:14px;background:#fff;padding:0 13px;color:#162b49;font-weight:750}.settings-social-provider-body-v2 input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.settings-social-note-v2{padding:13px 15px;border-radius:16px;border:1px solid #dce8f6;background:#f8fbff;color:#536982;line-height:1.5;font-size:13px}.settings-social-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.settings-social-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.settings-social-savebar-v2 span{display:block;color:#687991;font-size:13px}.settings-admins-filter-form-v2{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,360px) auto;gap:14px;align-items:end;margin:0}.settings-admins-filter-form-v2 label{display:flex;flex-direction:column;gap:8px;margin:0;color:#243a59;font-weight:850}.settings-admins-filter-form-v2 label span{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#5f728d}.settings-admins-filter-form-v2 input,.settings-admins-filter-form-v2 select{min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;color:#162b49;padding:0 14px;font-weight:750}.settings-admins-filter-actions-v2{display:flex;gap:10px;align-items:center}.settings-admins-count-v2{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.settings-admins-list-v2{display:flex;flex-direction:column;gap:14px}.settings-admin-row-v2{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px;border:1px solid #dce8f6;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.04)}.settings-admin-avatar-v2{width:58px;height:58px;border-radius:18px;background:#eaf3ff;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:1000}.settings-admin-main-v2{min-width:0}.settings-admin-title-v2{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.settings-admin-title-v2 strong{color:#10284f;font-size:17px}.settings-admin-main-v2 p{margin:5px 0 3px;color:#43556f}.settings-admin-main-v2 small{color:#687991}.settings-admin-role-v2{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#1d4ed8;border:1px solid #cfe2fb;font-size:12px;font-weight:900}.settings-admin-role-v2--superadmin{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.settings-admin-actions-v2{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.settings-admin-actions-v2 .btn-primary,.settings-admin-actions-v2 .btn-secondary,.settings-admin-actions-v2 .btn-danger{min-height:40px;border-radius:13px;white-space:nowrap}.settings-admins-empty-v2{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:#f8fbff;padding:32px}.settings-admins-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.settings-admins-empty-v2 strong{font-size:18px;color:#13294b}.settings-admins-empty-v2 p{margin:0;color:#64748b}
html.admin-theme-dark .settings-social-page-v2,html.admin-theme-dark .settings-admins-page-v2{background:transparent!important}html.admin-theme-dark .settings-social-summary-v2 article,html.admin-theme-dark .settings-admins-summary-v2 article,html.admin-theme-dark .settings-social-card-v2,html.admin-theme-dark .settings-admins-filter-card-v2,html.admin-theme-dark .settings-admins-list-card-v2,html.admin-theme-dark .settings-social-provider-v2,html.admin-theme-dark .settings-social-note-v2,html.admin-theme-dark .settings-admin-row-v2,html.admin-theme-dark .settings-admins-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-social-card-head-v2,html.admin-theme-dark .settings-admins-card-head-v2{border-color:#334155}html.admin-theme-dark .settings-social-card-head-v2 h2,html.admin-theme-dark .settings-admins-card-head-v2 h2,html.admin-theme-dark .settings-social-summary-v2 strong,html.admin-theme-dark .settings-admins-summary-v2 strong,html.admin-theme-dark .settings-social-provider-body-v2 strong,html.admin-theme-dark .settings-social-savebar-v2 strong,html.admin-theme-dark .settings-admin-title-v2 strong,html.admin-theme-dark .settings-admins-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .settings-social-card-head-v2 p,html.admin-theme-dark .settings-admins-card-head-v2 p,html.admin-theme-dark .settings-social-summary-v2 span,html.admin-theme-dark .settings-social-summary-v2 small,html.admin-theme-dark .settings-admins-summary-v2 span,html.admin-theme-dark .settings-admins-summary-v2 small,html.admin-theme-dark .settings-social-provider-body-v2 small,html.admin-theme-dark .settings-social-savebar-v2 span,html.admin-theme-dark .settings-admin-main-v2 p,html.admin-theme-dark .settings-admin-main-v2 small,html.admin-theme-dark .settings-admins-empty-v2 p{color:#94a3b8!important}html.admin-theme-dark .settings-social-provider-icon-v2,html.admin-theme-dark .settings-admin-avatar-v2{background:#0f172a!important;color:#93c5fd!important}html.admin-theme-dark .settings-social-provider-v2.is-filled{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .settings-social-provider-body-v2 input,html.admin-theme-dark .settings-admins-filter-form-v2 input,html.admin-theme-dark .settings-admins-filter-form-v2 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-social-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}html.admin-theme-dark .settings-admins-count-v2{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .settings-admin-role-v2{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .settings-admin-role-v2--superadmin{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}
@media(max-width:1100px){.settings-social-hero-v2,.settings-admins-hero-v2{flex-direction:column}.settings-social-summary-v2,.settings-admins-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-admins-filter-form-v2{grid-template-columns:1fr 1fr}.settings-admins-filter-actions-v2{grid-column:1/-1}.settings-admin-row-v2{grid-template-columns:58px minmax(0,1fr)}.settings-admin-actions-v2{grid-column:1/-1;justify-content:flex-start;margin-left:74px}}@media(max-width:760px){.settings-social-hero-v2,.settings-admins-hero-v2,.settings-social-card-v2,.settings-admins-filter-card-v2,.settings-admins-list-card-v2{padding:18px;border-radius:20px}.settings-social-hero-v2 h1,.settings-admins-hero-v2 h1{font-size:25px}.settings-social-summary-v2,.settings-admins-summary-v2,.settings-social-grid-v2,.settings-admins-filter-form-v2{grid-template-columns:1fr}.settings-social-provider-v2{grid-template-columns:1fr;text-align:left}.settings-social-provider-icon-v2{width:48px;height:48px}.settings-social-savebar-v2{flex-direction:column;align-items:stretch}.settings-social-savebar-v2 .btn-primary,.settings-social-back-v2,.settings-admins-hero-actions-v2,.settings-admins-hero-actions-v2 .btn-primary,.settings-admins-hero-actions-v2 .btn-secondary{width:100%;justify-content:center}.settings-admin-row-v2{grid-template-columns:1fr}.settings-admin-actions-v2{margin-left:0;flex-direction:column;align-items:stretch}.settings-admin-actions-v2 .btn-primary,.settings-admin-actions-v2 .btn-secondary,.settings-admin-actions-v2 .btn-danger{width:100%;justify-content:center}.settings-admins-filter-actions-v2{flex-direction:column;align-items:stretch}.settings-admins-filter-actions-v2 .btn-primary,.settings-admins-filter-actions-v2 .btn-secondary{width:100%;justify-content:center}}

/* Administratorkonten refinement v3 */
.settings-admins-page-v2{gap:20px!important}.settings-admins-hero-v2{align-items:center!important;background:linear-gradient(135deg,#10284f 0%,#1f4f8f 58%,#2f6df6 100%)!important;box-shadow:0 24px 60px rgba(17,42,92,.16)!important;position:relative;overflow:hidden}.settings-admins-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.settings-admins-hero-v2>div{position:relative;z-index:1}.settings-admins-hero-actions-v2{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.settings-admins-hero-actions-v2 .btn-primary,.settings-admins-hero-actions-v2 .btn-secondary{min-height:44px;border-radius:14px;white-space:nowrap}.settings-admins-summary-v2{grid-template-columns:repeat(4,minmax(0,1fr))!important}.settings-admins-summary-v2 article{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;box-shadow:0 12px 26px rgba(16,40,79,.045)!important;min-height:86px}.settings-admins-filter-card-v3,.settings-admins-list-card-v3{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.settings-admins-card-head-v3{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.settings-admins-card-head-v3 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.settings-admins-card-head-v3 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.settings-admins-quick-actions-v3{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.settings-admins-quick-actions-v3 .btn-primary,.settings-admins-quick-actions-v3 .btn-secondary{min-height:42px;border-radius:14px;white-space:nowrap}.settings-admins-filter-form-v3{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,360px) auto;gap:14px;align-items:end;margin:0}.settings-admins-filter-form-v3 label{display:flex;flex-direction:column;gap:8px;margin:0;color:#243a59;font-weight:850}.settings-admins-filter-form-v3 label span{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#5f728d}.settings-admins-filter-form-v3 input,.settings-admins-filter-form-v3 select{min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;color:#162b49;padding:0 14px;font-weight:750}.settings-admins-filter-form-v3 input:focus,.settings-admins-filter-form-v3 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.settings-admins-filter-actions-v3{display:flex;gap:10px;align-items:center}.settings-admins-filter-actions-v3 .btn-primary,.settings-admins-filter-actions-v3 .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px}.settings-admins-list-v3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-admin-row-v3{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start;padding:18px;border:1px solid #dce8f6;border-radius:22px;background:#fff;box-shadow:0 12px 26px rgba(16,40,79,.045);position:relative;overflow:hidden}.settings-admin-row-v3:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#2f6df6}.settings-admin-avatar-v3{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#eaf3ff,#dbeafe);color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:1000}.settings-admin-main-v3{min-width:0}.settings-admin-title-v3{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.settings-admin-title-v3 strong{color:#10284f;font-size:18px;letter-spacing:-.01em}.settings-admin-role-v3,.settings-admin-id-v3{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#1d4ed8;border:1px solid #cfe2fb;font-size:12px;font-weight:900}.settings-admin-role-v3--superadmin{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.settings-admin-id-v3{background:#f8fbff;color:#536982;border-color:#dbe7f5}.settings-admin-meta-v3{display:grid;grid-template-columns:1fr;gap:6px;margin-top:10px}.settings-admin-meta-v3 span{display:block;color:#687991;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-admin-meta-v3 strong{color:#13294b;font-weight:850}.settings-admin-actions-v3{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding-top:14px;margin-top:2px;border-top:1px solid #edf2f8}.settings-admin-actions-v3 .btn-primary,.settings-admin-actions-v3 .btn-secondary,.settings-admin-actions-v3 .btn-danger{min-height:40px;border-radius:13px;white-space:nowrap}.settings-admins-empty-v2{background:linear-gradient(180deg,#fbfdff,#f8fbff)!important}
html.admin-theme-dark .settings-admins-summary-v2 article{background:#111827!important;box-shadow:none!important}html.admin-theme-dark .settings-admins-filter-card-v3,html.admin-theme-dark .settings-admins-list-card-v3,html.admin-theme-dark .settings-admin-row-v3{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .settings-admins-card-head-v3,html.admin-theme-dark .settings-admin-actions-v3{border-color:#334155!important}html.admin-theme-dark .settings-admins-card-head-v3 h2,html.admin-theme-dark .settings-admin-title-v3 strong,html.admin-theme-dark .settings-admin-meta-v3 strong{color:#f8fafc!important}html.admin-theme-dark .settings-admins-card-head-v3 p,html.admin-theme-dark .settings-admin-meta-v3 span,html.admin-theme-dark .settings-admins-filter-form-v3 label span{color:#94a3b8!important}html.admin-theme-dark .settings-admins-filter-form-v3 label{color:#e2e8f0!important}html.admin-theme-dark .settings-admins-filter-form-v3 input,html.admin-theme-dark .settings-admins-filter-form-v3 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .settings-admin-avatar-v3{background:#0f172a!important;color:#93c5fd!important}html.admin-theme-dark .settings-admin-role-v3{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .settings-admin-role-v3--superadmin{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .settings-admin-id-v3{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}
@media(max-width:1200px){.settings-admins-list-v3{grid-template-columns:1fr}.settings-admins-filter-form-v3{grid-template-columns:1fr 1fr}.settings-admins-filter-actions-v3{grid-column:1/-1}.settings-admins-card-head-v3{flex-direction:column}.settings-admins-quick-actions-v3{width:100%}}@media(max-width:760px){.settings-admins-filter-card-v3,.settings-admins-list-card-v3{padding:18px;border-radius:20px}.settings-admins-summary-v2,.settings-admins-filter-form-v3{grid-template-columns:1fr!important}.settings-admin-row-v3{grid-template-columns:1fr}.settings-admin-actions-v3{justify-content:stretch;flex-direction:column}.settings-admin-actions-v3 .btn-primary,.settings-admin-actions-v3 .btn-secondary,.settings-admin-actions-v3 .btn-danger,.settings-admins-quick-actions-v3,.settings-admins-quick-actions-v3 .btn-primary,.settings-admins-quick-actions-v3 .btn-secondary,.settings-admins-filter-actions-v3,.settings-admins-filter-actions-v3 .btn-primary,.settings-admins-filter-actions-v3 .btn-secondary{width:100%;justify-content:center}.settings-admin-meta-v3 span{white-space:normal}}

/* Admin account create + role permissions refined UI */
.admin-account-form-page-v2,.admin-permissions-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.admin-account-form-hero-v2,.admin-permissions-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#1f4f8f 58%,#2f6df6 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.admin-account-form-hero-v2:after,.admin-permissions-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.admin-account-form-hero-v2>div,.admin-permissions-hero-v2>div,.admin-account-back-v2,.admin-permissions-back-v2{position:relative;z-index:1}.admin-account-eyebrow-v2,.admin-permissions-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.admin-account-form-hero-v2 .admin-account-eyebrow-v2,.admin-permissions-hero-v2 .admin-permissions-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.admin-account-form-hero-v2 h1,.admin-permissions-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.admin-account-form-hero-v2 p,.admin-permissions-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:820px}.admin-account-back-v2,.admin-permissions-back-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.16);white-space:nowrap}.admin-account-back-v2:hover,.admin-permissions-back-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.admin-account-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.admin-account-panel-v2,.admin-account-note-v2,.permissions-filter-card-v2,.permission-designer-card-v2{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.055)!important;padding:22px!important}.admin-account-panel-head-v2,.permissions-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #edf2f8}.admin-account-panel-head-v2 h2,.permissions-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.admin-account-panel-head-v2 p,.permissions-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.admin-account-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-account-grid-v2 label,.permissions-exact-v2 label{display:flex;flex-direction:column;gap:7px;margin:0;font-weight:850;color:#243a59}.admin-account-grid-v2 label span,.permissions-exact-v2 label>span{font-size:13px;color:#243a59}.admin-account-grid-v2 small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.admin-account-grid-v2 input,.admin-account-grid-v2 select,.permissions-exact__filter-form input,.permissions-exact__filter-form select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;padding:0 14px;color:#162b49;font-weight:750;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.admin-account-grid-v2 input:focus,.admin-account-grid-v2 select:focus,.permissions-exact__filter-form input:focus,.permissions-exact__filter-form select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.admin-account-note-v2{display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-account-note-v2 strong{display:block;color:#10284f;font-size:16px;margin:8px 0 4px}.admin-account-note-v2 p{margin:0;color:#687991;line-height:1.45}.admin-account-note-v2 .btn-secondary{min-height:42px;border-radius:14px;white-space:nowrap}.admin-account-savebar-v2,.permissions-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.admin-account-savebar-v2 strong,.permissions-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.admin-account-savebar-v2 span,.permissions-savebar-v2 span{display:block;color:#687991;font-size:13px}.admin-account-savebar-actions-v2,.permissions-savebar-actions-v2{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-account-savebar-actions-v2 .btn-primary,.admin-account-savebar-actions-v2 .btn-secondary,.permissions-savebar-actions-v2 .btn-primary,.permissions-savebar-actions-v2 .btn-secondary{min-height:44px;border-radius:14px;white-space:nowrap}.admin-permissions-summary-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-permissions-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.admin-permissions-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.admin-permissions-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1}.admin-permissions-summary-v2 small{color:#6b7c92;line-height:1.35}.permissions-exact-v2{display:flex;flex-direction:column;gap:18px}.permissions-exact-v2 .permissions-exact__filter-form{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,360px) auto;gap:14px;align-items:end;margin:0}.permissions-exact-v2 .actions-row{display:flex;gap:10px;align-items:center;margin:0}.permissions-exact-v2 .actions-row .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px}.permission-designer-title-v2{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:0 0 16px!important;margin-bottom:16px!important;border-bottom:1px solid #edf2f8!important;color:#10284f!important}.permission-designer-title-v2>div:last-child{min-width:0;flex:1}.permission-designer-title-v2 strong{display:block!important;color:#10284f!important;font-size:20px!important;letter-spacing:-.015em!important}.permission-designer-title-v2 .meta{color:#687991!important;font-size:13px!important;margin-top:5px!important}.permission-designer-toolbar{display:flex!important;gap:8px!important;align-items:center!important;order:2}.permission-tool{min-width:40px!important;height:40px!important;border-radius:13px!important;border:1px solid #d5e2f2!important;background:#fff!important;color:#12305c!important;box-shadow:0 8px 18px rgba(16,40,79,.05)!important}.permission-tool img,.permission-tool svg{width:16px;height:16px}.permission-tool--primary{background:#eef5ff!important;color:#1d4ed8!important;border-color:#cfe2fb!important}.permission-accordion-v2{gap:10px!important}.permission-section--exact{border:1px solid #dce8f6!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important}.permission-section__header--exact{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:14px 16px!important;background:#f8fbff!important;color:#10284f!important;font-size:15px!important;font-weight:950!important;border:0!important}.permission-section.is-open .permission-section__header--exact{border-bottom:1px solid #edf2f8!important}.permission-section__icon{width:26px;height:26px;border-radius:999px;background:#eef5ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;font-weight:1000}.permission-section__body--exact{padding:12px!important;background:#fbfdff!important}.permission-list--exact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.permission-row--exact{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:12px!important;padding:13px 14px!important;border:1px solid #dce8f6!important;border-radius:16px!important;background:#fff!important;color:#10284f!important;box-shadow:0 8px 18px rgba(16,40,79,.035)!important}.permission-row--exact.is-checked{border-color:#bbf7d0!important;background:#f0fdf6!important;color:#10284f!important}.permission-row input{position:absolute!important;opacity:0!important;pointer-events:none!important}.permission-state{min-width:54px!important;height:28px!important;border-radius:999px!important;border:1px solid #fecdd3!important;background:#fff1f2!important;color:#be123c!important;font-size:12px!important;font-weight:950!important}.permission-row.is-checked .permission-state{background:#ecfdf5!important;color:#15803d!important;border-color:#bbf7d0!important}.permission-label{display:block!important;font-size:14px!important;line-height:1.35!important;color:#10284f!important}.permission-file{display:inline-flex;margin-left:6px;color:#64748b;font-size:12px;font-weight:800}.permission-sublist{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:8px!important}.permission-subitem{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:6px 8px!important;border-radius:999px!important;background:#f8fbff!important;border:1px solid #dbe7f5!important;color:#536982!important;font-size:12px!important;font-weight:800!important}.permission-substate{display:none!important}.permission-superadmin-note{padding:16px!important;border:1px solid #bbf7d0!important;background:#ecfdf5!important;color:#15803d!important;border-radius:18px!important;font-weight:900!important}.permissions-exact-v2>p{padding:26px;border:1px dashed #c6d8ee;border-radius:20px;background:#f8fbff;color:#64748b;text-align:center}html.admin-theme-dark .admin-account-form-page-v2,html.admin-theme-dark .admin-permissions-page-v2{background:transparent!important}html.admin-theme-dark .admin-account-panel-v2,html.admin-theme-dark .admin-account-note-v2,html.admin-theme-dark .permissions-filter-card-v2,html.admin-theme-dark .permission-designer-card-v2,html.admin-theme-dark .admin-permissions-summary-v2 article{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .admin-account-panel-head-v2,html.admin-theme-dark .permissions-card-head-v2,html.admin-theme-dark .permission-designer-title-v2,html.admin-theme-dark .permission-section.is-open .permission-section__header--exact{border-color:#334155!important}html.admin-theme-dark .admin-account-panel-head-v2 h2,html.admin-theme-dark .permissions-card-head-v2 h2,html.admin-theme-dark .admin-account-note-v2 strong,html.admin-theme-dark .admin-account-savebar-v2 strong,html.admin-theme-dark .permissions-savebar-v2 strong,html.admin-theme-dark .permission-designer-title-v2 strong,html.admin-theme-dark .permission-label,html.admin-theme-dark .admin-permissions-summary-v2 strong{color:#f8fafc!important}html.admin-theme-dark .admin-account-panel-head-v2 p,html.admin-theme-dark .permissions-card-head-v2 p,html.admin-theme-dark .admin-account-note-v2 p,html.admin-theme-dark .admin-account-grid-v2 small,html.admin-theme-dark .admin-account-savebar-v2 span,html.admin-theme-dark .permissions-savebar-v2 span,html.admin-theme-dark .permission-designer-title-v2 .meta,html.admin-theme-dark .admin-permissions-summary-v2 span,html.admin-theme-dark .admin-permissions-summary-v2 small{color:#94a3b8!important}html.admin-theme-dark .admin-account-grid-v2 label,html.admin-theme-dark .permissions-exact-v2 label{color:#e2e8f0!important}html.admin-theme-dark .admin-account-grid-v2 label span,html.admin-theme-dark .permissions-exact-v2 label>span{color:#cbd5e1!important}html.admin-theme-dark .admin-account-grid-v2 input,html.admin-theme-dark .admin-account-grid-v2 select,html.admin-theme-dark .permissions-exact__filter-form input,html.admin-theme-dark .permissions-exact__filter-form select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}html.admin-theme-dark .admin-account-savebar-v2,html.admin-theme-dark .permissions-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}html.admin-theme-dark .permission-section--exact{background:#0f172a!important;border-color:#334155!important}html.admin-theme-dark .permission-section__header--exact{background:#111827!important;color:#f8fafc!important}html.admin-theme-dark .permission-section__body--exact{background:#0f172a!important}html.admin-theme-dark .permission-row--exact{background:#111827!important;border-color:#334155!important;color:#e5e7eb!important;box-shadow:none!important}html.admin-theme-dark .permission-row--exact.is-checked{background:#10251b!important;border-color:#166534!important}html.admin-theme-dark .permission-file{color:#94a3b8!important}html.admin-theme-dark .permission-subitem{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}html.admin-theme-dark .permission-tool{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .permission-tool--primary,html.admin-theme-dark .permission-section__icon{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .permission-superadmin-note{background:#10251b!important;border-color:#166534!important;color:#bbf7d0!important}html.admin-theme-dark .permissions-exact-v2>p{background:#0f172a!important;border-color:#334155!important;color:#94a3b8!important}@media(max-width:1200px){.permission-list--exact{grid-template-columns:1fr!important}.permissions-exact-v2 .permissions-exact__filter-form{grid-template-columns:1fr 1fr}.permissions-exact-v2 .actions-row{grid-column:1/-1}}@media(max-width:760px){.admin-account-form-hero-v2,.admin-permissions-hero-v2,.admin-account-panel-v2,.admin-account-note-v2,.permissions-filter-card-v2,.permission-designer-card-v2{padding:18px!important;border-radius:20px!important}.admin-account-form-hero-v2,.admin-permissions-hero-v2,.admin-account-note-v2,.permission-designer-title-v2{flex-direction:column;align-items:stretch!important}.admin-account-form-hero-v2 h1,.admin-permissions-hero-v2 h1{font-size:25px}.admin-account-grid-v2,.admin-permissions-summary-v2,.permissions-exact-v2 .permissions-exact__filter-form{grid-template-columns:1fr}.admin-account-back-v2,.admin-permissions-back-v2,.admin-account-note-v2 .btn-secondary,.admin-account-savebar-actions-v2,.admin-account-savebar-actions-v2 .btn-primary,.admin-account-savebar-actions-v2 .btn-secondary,.permissions-savebar-actions-v2,.permissions-savebar-actions-v2 .btn-primary,.permissions-savebar-actions-v2 .btn-secondary,.permissions-exact-v2 .actions-row,.permissions-exact-v2 .actions-row .btn-secondary{width:100%;justify-content:center}.admin-account-savebar-v2,.permissions-savebar-v2{flex-direction:column;align-items:stretch}.permission-designer-toolbar{order:0;width:100%;justify-content:flex-start}.permission-row--exact{grid-template-columns:1fr!important}.permission-state{width:max-content!important}}

/* Review settings page refined UI */
.review-settings-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.review-settings-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.16);position:relative;overflow:hidden}.review-settings-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.review-settings-hero-v2>div,.review-settings-back-v2{position:relative;z-index:1}.review-settings-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.review-settings-hero-v2 .review-settings-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.review-settings-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.review-settings-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:850px}.review-settings-back-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.16);white-space:nowrap}.review-settings-back-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.review-settings-summary-v2{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.review-settings-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0;box-shadow:0 12px 26px rgba(16,40,79,.045)}.review-settings-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.review-settings-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-settings-summary-v2 small{color:#6b7c92;line-height:1.35}.review-settings-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.review-settings-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px;display:flex;flex-direction:column;gap:18px}.review-settings-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f8}.review-settings-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.review-settings-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45;max-width:1000px}.review-settings-option-grid-v2{display:grid;grid-template-columns:1.1fr repeat(3,minmax(0,1fr));gap:14px}.review-settings-toggle-card-v2,.review-settings-number-card-v2{border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:17px;display:flex;flex-direction:column;gap:12px;min-height:184px;color:#10284f}.review-settings-toggle-card-v2{display:grid;grid-template-columns:auto 1fr;align-items:flex-start;cursor:pointer}.review-settings-toggle-card-v2 input{width:22px;height:22px;margin-top:2px;accent-color:#2f6df6}.review-settings-toggle-card-v2 strong,.review-settings-number-card-v2>span{display:block;color:#10284f;font-size:16px;font-weight:950}.review-settings-toggle-card-v2 small,.review-settings-number-card-v2 small{display:block;color:#687991;font-size:12px;font-weight:700;line-height:1.45}.review-settings-toggle-card-v2.is-active{background:#eff6ff;border-color:#bfdbfe;box-shadow:0 14px 30px rgba(47,109,246,.08)}.review-settings-number-card-v2 input,.review-setting-field-v2 input,.review-setting-field-v2 textarea{width:100%;border:1px solid #d5e2f2;border-radius:15px;background:#fff;color:#162b49;font-weight:750;box-sizing:border-box}.review-settings-number-card-v2 input,.review-setting-field-v2 input{min-height:46px;padding:0 14px}.review-setting-field-v2 textarea{min-height:112px;padding:12px 14px;resize:vertical;line-height:1.5}.review-settings-number-card-v2 input:focus,.review-setting-field-v2 input:focus,.review-setting-field-v2 textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.review-settings-field-grid-v2{display:grid;grid-template-columns:minmax(220px,.45fr) minmax(0,1fr);gap:16px}.review-setting-field-v2{display:flex;flex-direction:column;gap:7px;margin:0;color:#243a59;font-weight:850}.review-setting-field-v2--wide{grid-column:auto}.review-setting-field-v2 span{font-size:14px}.review-setting-field-v2 small{color:#72829a;font-size:12px;line-height:1.35;font-weight:700}.review-level-inactive-v2{display:grid;grid-template-columns:minmax(230px,.35fr) minmax(0,1fr);gap:16px;align-items:start;padding:16px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff}.review-level-inactive-v2 strong{display:block;color:#10284f;font-size:16px;margin-bottom:5px}.review-level-inactive-v2 small{display:block;color:#687991;line-height:1.4;font-weight:700}.review-level-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.review-level-card-v2{border:1px solid #dce8f6;border-radius:20px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:14px;box-shadow:0 10px 24px rgba(16,40,79,.04)}.review-level-card-head-v2{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.review-level-card-head-v2 span{font-size:15px;font-weight:950;color:#10284f}.review-level-card-head-v2 strong{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#1d4ed8;border:1px solid #cfe2fb;font-size:12px}.review-setting-row-v2{display:grid;grid-template-columns:1fr 1.25fr;gap:12px}.review-settings-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.review-settings-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.review-settings-savebar-v2 span{display:block;color:#687991;font-size:13px;line-height:1.45}.review-settings-savebar-actions-v2{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.review-settings-savebar-actions-v2 .btn-primary,.review-settings-savebar-actions-v2 .btn-secondary{min-height:44px;border-radius:14px;white-space:nowrap}
html.admin-theme-dark .review-settings-page-v2{background:transparent!important}html.admin-theme-dark .review-settings-summary-v2 article,html.admin-theme-dark .review-settings-card-v2,html.admin-theme-dark .review-settings-toggle-card-v2,html.admin-theme-dark .review-settings-number-card-v2,html.admin-theme-dark .review-level-inactive-v2,html.admin-theme-dark .review-level-card-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .review-settings-card-head-v2,html.admin-theme-dark .review-level-card-head-v2{border-color:#334155!important}html.admin-theme-dark .review-settings-card-head-v2 h2,html.admin-theme-dark .review-settings-summary-v2 strong,html.admin-theme-dark .review-settings-toggle-card-v2 strong,html.admin-theme-dark .review-settings-number-card-v2>span,html.admin-theme-dark .review-level-inactive-v2 strong,html.admin-theme-dark .review-level-card-head-v2 span,html.admin-theme-dark .review-settings-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .review-settings-card-head-v2 p,html.admin-theme-dark .review-settings-summary-v2 span,html.admin-theme-dark .review-settings-summary-v2 small,html.admin-theme-dark .review-settings-toggle-card-v2 small,html.admin-theme-dark .review-settings-number-card-v2 small,html.admin-theme-dark .review-setting-field-v2 small,html.admin-theme-dark .review-level-inactive-v2 small,html.admin-theme-dark .review-settings-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .review-settings-toggle-card-v2.is-active{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .review-setting-field-v2{color:#e2e8f0!important}html.admin-theme-dark .review-settings-number-card-v2 input,html.admin-theme-dark .review-setting-field-v2 input,html.admin-theme-dark .review-setting-field-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .review-level-card-head-v2 strong{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .review-settings-savebar-v2{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}
@media(max-width:1250px){.review-settings-summary-v2{grid-template-columns:repeat(3,minmax(0,1fr))}.review-settings-option-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.review-level-grid-v2{grid-template-columns:1fr}.review-settings-field-grid-v2,.review-level-inactive-v2{grid-template-columns:1fr}.review-setting-row-v2{grid-template-columns:1fr 1fr}}@media(max-width:760px){.review-settings-hero-v2,.review-settings-card-v2{padding:18px;border-radius:20px}.review-settings-hero-v2{flex-direction:column}.review-settings-hero-v2 h1{font-size:25px}.review-settings-summary-v2,.review-settings-option-grid-v2,.review-setting-row-v2{grid-template-columns:1fr}.review-settings-back-v2,.review-settings-savebar-actions-v2,.review-settings-savebar-actions-v2 .btn-primary,.review-settings-savebar-actions-v2 .btn-secondary{width:100%;justify-content:center}.review-settings-savebar-v2{flex-direction:column;align-items:stretch}}

/* === v14 text visibility hotfix ===
   Ursache: spaetere Dark-Mode-Regeln setzen mit !important helle Textfarben
   auch auf helle Abschnitts-Badges und weisse Header-Aktionsbuttons.
   Dieser Block steht bewusst ganz am Ende und aendert nur Textfarben. */
html.admin-theme-dark .admin-content .eyebrow,
html.admin-theme-dark .admin-content [class*="eyebrow"]{
  color:#10284f!important;
  -webkit-text-fill-color:#10284f!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .eyebrow *,
html.admin-theme-dark .admin-content [class*="eyebrow"] *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content [class*="hero"] .eyebrow,
html.admin-theme-dark .admin-content [class*="hero"] [class*="eyebrow"],
html.admin-theme-dark .admin-content .settings-hero .eyebrow,
html.admin-theme-dark .admin-content .admin-hero .eyebrow,
html.admin-theme-dark .admin-content .logo-settings-hero .eyebrow{
  color:#f8fbff!important;
  -webkit-text-fill-color:#f8fbff!important;
}
html.admin-theme-dark .admin-content [class*="hero"] .eyebrow *,
html.admin-theme-dark .admin-content [class*="hero"] [class*="eyebrow"] *,
html.admin-theme-dark .admin-content .settings-hero .eyebrow *,
html.admin-theme-dark .admin-content .admin-hero .eyebrow *,
html.admin-theme-dark .admin-content .logo-settings-hero .eyebrow *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}
html.admin-theme-dark .admin-content [class*="hero"] a[class*="action"],
html.admin-theme-dark .admin-content [class*="hero"] a[class*="back"],
html.admin-theme-dark .admin-content a.settings-general-action,
html.admin-theme-dark .admin-content a.settings-smtp-action,
html.admin-theme-dark .admin-content a.settings-cookie-action-v2,
html.admin-theme-dark .admin-content a.settings-invoices-action,
html.admin-theme-dark .admin-content a.settings-pwa-action,
html.admin-theme-dark .admin-content a.settings-social-back-v2,
html.admin-theme-dark .admin-content a.review-settings-back-v2,
html.admin-theme-dark .admin-content a.tax-form-back-v2,
html.admin-theme-dark .admin-content a.admin-account-back-v2,
html.admin-theme-dark .admin-content a.admin-permissions-back-v2,
html.admin-theme-dark .admin-content a.custom-field-form-back{
  color:#12305c!important;
  -webkit-text-fill-color:#12305c!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content [class*="hero"] a[class*="action"] *,
html.admin-theme-dark .admin-content [class*="hero"] a[class*="back"] *,
html.admin-theme-dark .admin-content a.settings-general-action *,
html.admin-theme-dark .admin-content a.settings-smtp-action *,
html.admin-theme-dark .admin-content a.settings-cookie-action-v2 *,
html.admin-theme-dark .admin-content a.settings-invoices-action *,
html.admin-theme-dark .admin-content a.settings-pwa-action *,
html.admin-theme-dark .admin-content a.settings-social-back-v2 *,
html.admin-theme-dark .admin-content a.review-settings-back-v2 *,
html.admin-theme-dark .admin-content a.tax-form-back-v2 *,
html.admin-theme-dark .admin-content a.admin-account-back-v2 *,
html.admin-theme-dark .admin-content a.admin-permissions-back-v2 *,
html.admin-theme-dark .admin-content a.custom-field-form-back *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}

/* === v15 location text visibility hotfix ===
   Nur Textfarben: Standort-Seiten haben eigene spaetere Regeln fuer states/cities/location,
   die den allgemeinen v14-Fix wieder uebersteuern konnten. */
html.admin-theme-dark .admin-content .states-form-card-v2 .states-eyebrow-v2,
html.admin-theme-dark .admin-content .states-list-card-v2 .states-eyebrow-v2,
html.admin-theme-dark .admin-content .cities-form-card-v2 .cities-eyebrow-v2,
html.admin-theme-dark .admin-content .cities-list-card-v2 .cities-eyebrow-v2,
html.admin-theme-dark .admin-content .location-card .location-eyebrow,
html.admin-theme-dark .admin-content .location-panel .location-eyebrow,
html.admin-theme-dark .admin-content .location-section .location-eyebrow,
html.admin-theme-dark .admin-content .settings-locales-panel .settings-locales-eyebrow,
html.admin-theme-dark .admin-content .settings-locales-panel-head .settings-locales-eyebrow{
  color:#10284f!important;
  -webkit-text-fill-color:#10284f!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .states-form-card-v2 .states-eyebrow-v2 *,
html.admin-theme-dark .admin-content .states-list-card-v2 .states-eyebrow-v2 *,
html.admin-theme-dark .admin-content .cities-form-card-v2 .cities-eyebrow-v2 *,
html.admin-theme-dark .admin-content .cities-list-card-v2 .cities-eyebrow-v2 *,
html.admin-theme-dark .admin-content .location-card .location-eyebrow *,
html.admin-theme-dark .admin-content .location-panel .location-eyebrow *,
html.admin-theme-dark .admin-content .location-section .location-eyebrow *,
html.admin-theme-dark .admin-content .settings-locales-panel .settings-locales-eyebrow *,
html.admin-theme-dark .admin-content .settings-locales-panel-head .settings-locales-eyebrow *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .states-list-card-v2 .states-count-pill-v2,
html.admin-theme-dark .admin-content .cities-list-card-v2 .cities-count-pill-v2,
html.admin-theme-dark .admin-content .location-count-pill,
html.admin-theme-dark .admin-content .location-count-pill-v2,
html.admin-theme-dark .admin-content .settings-locales-panel .settings-count-pill,
html.admin-theme-dark .admin-content .settings-locales-panel .settings-locales-count-pill{
  color:#10284f!important;
  -webkit-text-fill-color:#10284f!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content .states-list-card-v2 .states-count-pill-v2 *,
html.admin-theme-dark .admin-content .cities-list-card-v2 .cities-count-pill-v2 *,
html.admin-theme-dark .admin-content .location-count-pill *,
html.admin-theme-dark .admin-content .location-count-pill-v2 *,
html.admin-theme-dark .admin-content .settings-locales-panel .settings-count-pill *,
html.admin-theme-dark .admin-content .settings-locales-panel .settings-locales-count-pill *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}
/* Hero-Badge bleibt weiterhin weiss auf dunklem Hero. */
html.admin-theme-dark .admin-content .states-hero-v2 .states-eyebrow-v2,
html.admin-theme-dark .admin-content .cities-hero-v2 .cities-eyebrow-v2,
html.admin-theme-dark .admin-content .location-hero .location-eyebrow{
  color:#f8fbff!important;
  -webkit-text-fill-color:#f8fbff!important;
}

/* Logo settings dark-mode color alignment
   Matches the Email-Vorlagen dark header palette in manual dark mode. */
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero h1,
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero p,
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero span{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .logo-settings-page-v2 .logo-settings-hero .eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .logo-settings-page-v2 .logo-summary-card{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}

/* Logo-Verwaltung: Heller Modus exakt an Allgemeines-Header angleichen. */
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
  border:0!important;
}
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero:after{
  background:rgba(255,255,255,.10)!important;
  opacity:1!important;
}
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero .eyebrow{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.24)!important;
}
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero h1,
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero p,
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-settings-hero span{
  color:rgba(255,255,255,.84)!important;
  -webkit-text-fill-color:rgba(255,255,255,.84)!important;
}
html:not(.admin-theme-dark) .logo-settings-page-v2 .logo-summary-card{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}

/* === Light mode color match: Administratorkonten hero ===
   Match the light-mode header colors exactly to Einstellungen > Allgemeines. */
html:not(.admin-theme-dark) .settings-admins-hero-v2,
body:not(.admin-theme-dark) .settings-admins-hero-v2{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
}
html:not(.admin-theme-dark) .settings-admins-hero-v2:after,
body:not(.admin-theme-dark) .settings-admins-hero-v2:after{
  background:rgba(255,255,255,.10)!important;
}

/* === Light mode color match: Anzeigenverwaltung hero ===
   Match the light-mode header colors exactly to Einstellungen > Allgemeines. */
html:not(.admin-theme-dark) .listings-admin-hero,
body:not(.admin-theme-dark) .listings-admin-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
}
html:not(.admin-theme-dark) .listings-admin-hero:after,
body:not(.admin-theme-dark) .listings-admin-hero:after{
  background:rgba(255,255,255,.10)!important;
}
html:not(.admin-theme-dark) .listings-admin-hero__meta div,
body:not(.admin-theme-dark) .listings-admin-hero__meta div{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}

/* === Light mode color match: Katalogstruktur / Kategorien hero ===
   Match the light-mode header colors exactly to Einstellungen > Allgemeines. */
html:not(.admin-theme-dark) .categories-admin-hero,
body:not(.admin-theme-dark) .categories-admin-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
}
html:not(.admin-theme-dark) .categories-admin-hero:after,
body:not(.admin-theme-dark) .categories-admin-hero:after{
  background:rgba(255,255,255,.10)!important;
  opacity:1!important;
}
html:not(.admin-theme-dark) .categories-admin-eyebrow,
body:not(.admin-theme-dark) .categories-admin-eyebrow{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.24)!important;
}
html:not(.admin-theme-dark) .categories-admin-hero h1,
body:not(.admin-theme-dark) .categories-admin-hero h1{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:not(.admin-theme-dark) .categories-admin-hero p,
body:not(.admin-theme-dark) .categories-admin-hero p{
  color:rgba(255,255,255,.84)!important;
  -webkit-text-fill-color:rgba(255,255,255,.84)!important;
}

/* === Light mode color match: Nutzerbewertungen hero ===
   Match the light-mode header colors exactly to Einstellungen > Allgemeines. */
html:not(.admin-theme-dark) .reviews-hero-v2,
body:not(.admin-theme-dark) .reviews-hero-v2{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
  border:0!important;
}
html:not(.admin-theme-dark) .reviews-hero-v2:after,
body:not(.admin-theme-dark) .reviews-hero-v2:after{
  background:rgba(255,255,255,.10)!important;
  opacity:1!important;
}
html:not(.admin-theme-dark) .reviews-hero-v2 .reviews-eyebrow-v2,
body:not(.admin-theme-dark) .reviews-hero-v2 .reviews-eyebrow-v2{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.24)!important;
}
html:not(.admin-theme-dark) .reviews-hero-v2 h1,
html:not(.admin-theme-dark) .reviews-hero-v2 strong,
body:not(.admin-theme-dark) .reviews-hero-v2 h1,
body:not(.admin-theme-dark) .reviews-hero-v2 strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:not(.admin-theme-dark) .reviews-hero-v2 p,
html:not(.admin-theme-dark) .reviews-hero-v2 span,
html:not(.admin-theme-dark) .reviews-hero-v2 small,
body:not(.admin-theme-dark) .reviews-hero-v2 p,
body:not(.admin-theme-dark) .reviews-hero-v2 span,
body:not(.admin-theme-dark) .reviews-hero-v2 small{
  color:rgba(255,255,255,.84)!important;
  -webkit-text-fill-color:rgba(255,255,255,.84)!important;
}
html:not(.admin-theme-dark) .reviews-hero-v2__stats article,
body:not(.admin-theme-dark) .reviews-hero-v2__stats article{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:none!important;
}

/* === Dark mode color match: Anzeigenverwaltung hero ===
   Match the dark-mode header colors to Einstellungen > Allgemeines. */
html.admin-theme-dark .listings-admin-hero,
body.admin-theme-dark .listings-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .listings-admin-hero:after,
body.admin-theme-dark .listings-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .listings-admin-hero h1,
html.admin-theme-dark .listings-admin-hero strong,
body.admin-theme-dark .listings-admin-hero h1,
body.admin-theme-dark .listings-admin-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .listings-admin-hero p,
html.admin-theme-dark .listings-admin-hero span,
html.admin-theme-dark .listings-admin-hero small,
body.admin-theme-dark .listings-admin-hero p,
body.admin-theme-dark .listings-admin-hero span,
body.admin-theme-dark .listings-admin-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .listings-admin-eyebrow,
body.admin-theme-dark .listings-admin-eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .listings-admin-hero__meta div,
body.admin-theme-dark .listings-admin-hero__meta div{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}

/* Dark mode: match settings overview hero color for user management pages */
html.admin-theme-dark .users-admin-hero{
  background:#0d1c31!important;
  border-color:rgba(255,255,255,.04)!important;
  box-shadow:none!important;
}
html.admin-theme-dark .users-admin-hero:after{
  background:#2f3c4e!important;
  opacity:1!important;
}
html.admin-theme-dark .users-admin-hero__meta div{
  background:rgba(47,60,78,.72)!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:none!important;
}
html.admin-theme-dark .users-admin-eyebrow{
  background:rgba(255,255,255,.12)!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.20)!important;
}

/* === Dark mode color match: Katalogstruktur / Kategorien hero ===
   Match the dark-mode header colors exactly to Einstellungen > Allgemeines. */
html.admin-theme-dark .categories-admin-hero,
body.admin-theme-dark .categories-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .categories-admin-hero:after,
body.admin-theme-dark .categories-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .categories-admin-eyebrow,
body.admin-theme-dark .categories-admin-eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .categories-admin-hero h1,
html.admin-theme-dark .categories-admin-hero strong,
body.admin-theme-dark .categories-admin-hero h1,
body.admin-theme-dark .categories-admin-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .categories-admin-hero p,
html.admin-theme-dark .categories-admin-hero span,
html.admin-theme-dark .categories-admin-hero small,
body.admin-theme-dark .categories-admin-hero p,
body.admin-theme-dark .categories-admin-hero span,
body.admin-theme-dark .categories-admin-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}

/* Fix: Nachrichten hero dark mode should match Allgemeines dark hero */
html.admin-theme-dark .admin-messages-hero{
  background:#0d1c31!important;
  box-shadow:none!important;
}
html.admin-theme-dark .admin-messages-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-messages-hero__meta div{
  background:rgba(38,51,70,.78)!important;
  border-color:rgba(148,163,184,.18)!important;
}

/* === Dark mode color match: Nutzerbewertungen / Moderation hero ===
   Match the dark-mode header colors exactly to Einstellungen > Allgemeines. */
html.admin-theme-dark .reviews-hero-v2,
body.admin-theme-dark .reviews-hero-v2{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .reviews-hero-v2:after,
body.admin-theme-dark .reviews-hero-v2:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .reviews-hero-v2 .reviews-eyebrow-v2,
body.admin-theme-dark .reviews-hero-v2 .reviews-eyebrow-v2{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .reviews-hero-v2 h1,
html.admin-theme-dark .reviews-hero-v2 strong,
body.admin-theme-dark .reviews-hero-v2 h1,
body.admin-theme-dark .reviews-hero-v2 strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .reviews-hero-v2 p,
html.admin-theme-dark .reviews-hero-v2 span,
html.admin-theme-dark .reviews-hero-v2 small,
body.admin-theme-dark .reviews-hero-v2 p,
body.admin-theme-dark .reviews-hero-v2 span,
body.admin-theme-dark .reviews-hero-v2 small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .reviews-hero-v2__stats article,
body.admin-theme-dark .reviews-hero-v2__stats article{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}

/* === Dark mode color match: Felder / Feldverwaltung hero ===
   Match the dark-mode header colors exactly to Einstellungen > Allgemeines. */
html.admin-theme-dark .fields-hero-v2,
body.admin-theme-dark .fields-hero-v2{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .fields-hero-v2:after,
body.admin-theme-dark .fields-hero-v2:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .fields-eyebrow-v2,
body.admin-theme-dark .fields-eyebrow-v2{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .fields-hero-v2 h1,
html.admin-theme-dark .fields-hero-v2 strong,
body.admin-theme-dark .fields-hero-v2 h1,
body.admin-theme-dark .fields-hero-v2 strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .fields-hero-v2 p,
html.admin-theme-dark .fields-hero-v2 span,
html.admin-theme-dark .fields-hero-v2 small,
body.admin-theme-dark .fields-hero-v2 p,
body.admin-theme-dark .fields-hero-v2 span,
body.admin-theme-dark .fields-hero-v2 small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}

/* Dark mode color match for Security Settings hero (reference: Allgemeines dark header) */
html.admin-theme-dark .security-settings-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#ffffff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .security-settings-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .security-settings-hero h1,
html.admin-theme-dark .security-settings-hero p{
  color:#ffffff!important;
}
html.admin-theme-dark .security-settings-hero .security-settings-eyebrow{
  background:rgba(255,255,255,.10)!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.18)!important;
}

/* Dark mode color match for Security List hero (Blacklist / Whitelist, reference: Allgemeines dark header) */
html.admin-theme-dark .security-list-hero,
body.admin-theme-dark .security-list-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#ffffff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .security-list-hero:after,
body.admin-theme-dark .security-list-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .security-list-hero h1,
html.admin-theme-dark .security-list-hero p,
body.admin-theme-dark .security-list-hero h1,
body.admin-theme-dark .security-list-hero p{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html.admin-theme-dark .security-list-hero .security-settings-eyebrow,
body.admin-theme-dark .security-list-hero .security-settings-eyebrow{
  background:rgba(255,255,255,.10)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border-color:rgba(255,255,255,.18)!important;
}

/* Dark mode color match for Security Locks hero (Sperrverwaltung, reference: Allgemeines dark header) */
html.admin-theme-dark .security-locks-hero,
body.admin-theme-dark .security-locks-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#ffffff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .security-locks-hero:after,
body.admin-theme-dark .security-locks-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .security-locks-hero h1,
html.admin-theme-dark .security-locks-hero p,
body.admin-theme-dark .security-locks-hero h1,
body.admin-theme-dark .security-locks-hero p{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html.admin-theme-dark .security-locks-hero .security-settings-eyebrow,
body.admin-theme-dark .security-locks-hero .security-settings-eyebrow{
  background:#25364d!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  border-color:#4d6688!important;
}

/* === Dark mode color match: Administratorkonten hero ===
   Match the dark-mode header colors exactly to Einstellungen > Allgemeines. */
html.admin-theme-dark .settings-admins-hero-v2,
body.admin-theme-dark .settings-admins-hero-v2{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .settings-admins-hero-v2:after,
body.admin-theme-dark .settings-admins-hero-v2:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .settings-admins-hero-v2 .settings-admins-eyebrow-v2,
body.admin-theme-dark .settings-admins-hero-v2 .settings-admins-eyebrow-v2{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .settings-admins-hero-v2 h1,
html.admin-theme-dark .settings-admins-hero-v2 strong,
body.admin-theme-dark .settings-admins-hero-v2 h1,
body.admin-theme-dark .settings-admins-hero-v2 strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .settings-admins-hero-v2 p,
html.admin-theme-dark .settings-admins-hero-v2 span,
html.admin-theme-dark .settings-admins-hero-v2 small,
body.admin-theme-dark .settings-admins-hero-v2 p,
body.admin-theme-dark .settings-admins-hero-v2 span,
body.admin-theme-dark .settings-admins-hero-v2 small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}

/* Dark mode visibility fix: only restore contrast for light pills/badges whose text was unreadable. */
html.admin-theme-dark .admin-content .categories-count-pill,
body.admin-theme-dark .admin-content .categories-count-pill{
  color:#0d1c31!important;
  -webkit-text-fill-color:#0d1c31!important;
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .admin-content .categories-count-pill *,
body.admin-theme-dark .admin-content .categories-count-pill *{
  color:#0d1c31!important;
  -webkit-text-fill-color:#0d1c31!important;
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .admin-content .categories-admin-eyebrow,
body.admin-theme-dark .admin-content .categories-admin-eyebrow{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .admin-content .pro-admin-shell .premium-admin-hero .eyebrow,
body.admin-theme-dark .admin-content .pro-admin-shell .premium-admin-hero .eyebrow,
html.admin-theme-dark .admin-content .pro-price-rules-shell .premium-admin-hero .eyebrow,
body.admin-theme-dark .admin-content .pro-price-rules-shell .premium-admin-hero .eyebrow{
  color:#0d1c31!important;
  -webkit-text-fill-color:#0d1c31!important;
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .admin-content .pro-admin-shell .premium-admin-hero .eyebrow *,
body.admin-theme-dark .admin-content .pro-admin-shell .premium-admin-hero .eyebrow *,
html.admin-theme-dark .admin-content .pro-price-rules-shell .premium-admin-hero .eyebrow *,
body.admin-theme-dark .admin-content .pro-price-rules-shell .premium-admin-hero .eyebrow *{
  color:#0d1c31!important;
  -webkit-text-fill-color:#0d1c31!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* Dark mode PRO badge text visibility fix (Booked PRO packages hero).
   The admin-content and pro-admin-shell classes are on the same element, so target both forms. */
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero > div > .eyebrow,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero > div > .eyebrow,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero > div > .eyebrow,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero > div > .eyebrow,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero > div > .eyebrow,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero > div > .eyebrow,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero > div > .eyebrow,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero > div > .eyebrow{
  background:#eefbe0!important;
  border-color:#d9f5bd!important;
  color:#10243f!important;
  -webkit-text-fill-color:#10243f!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* Verification settings redesign */
.verification-settings-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.verification-settings-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}
.verification-settings-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.verification-settings-hero-v2__copy{position:relative;z-index:1;max-width:760px}.verification-settings-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.verification-settings-hero-v2 .verification-settings-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.verification-settings-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.verification-settings-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.verification-settings-hero-v2__stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:12px;min-width:530px}.verification-settings-hero-v2__stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}.verification-settings-hero-v2__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.verification-settings-hero-v2__stats strong{display:block;color:#fff;font-size:28px;line-height:1}.verification-settings-hero-v2__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800;line-height:1.25}
.verification-settings-summary-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.verification-settings-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.verification-settings-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.verification-settings-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.verification-settings-summary-v2 small{color:#6b7c92;line-height:1.35}.verification-settings-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.verification-settings-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px}.verification-settings-card-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.verification-settings-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.verification-settings-card-head-v2 p{margin:0;color:#687991;line-height:1.45;max-width:900px}.verification-settings-secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid #d5e2f2;border-radius:14px;background:#fff;color:#12305c;text-decoration:none;font-weight:900;white-space:nowrap}.verification-method-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.verification-method-card-v2{position:relative;display:flex!important;gap:14px;align-items:flex-start;min-height:166px;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.045);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.verification-method-card-v2:hover{transform:translateY(-1px);box-shadow:0 15px 32px rgba(16,40,79,.075);border-color:#bfdbfe}.verification-method-card-v2.is-enabled{background:linear-gradient(180deg,#eff6ff 0%,#fff 100%);border-color:#bfdbfe}.verification-method-card-v2 input{flex:0 0 auto;width:20px!important;height:20px!important;margin:3px 0 0!important;accent-color:#2f6df6}.verification-method-card-v2__content{display:flex;flex-direction:column;gap:10px;min-width:0}.verification-method-card-v2__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.verification-method-card-v2__top strong{color:#10284f;font-size:16px;line-height:1.25}.verification-method-card-v2__top em{font-style:normal;border-radius:999px;padding:6px 9px;background:#eef5ff;color:#1d4ed8;border:1px solid #cfe2fb;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.verification-method-card-v2.is-disabled .verification-method-card-v2__top em{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.verification-method-card-v2__description{color:#5f728d;font-size:13px;line-height:1.55}.verification-method-card-v2__label{margin-top:auto;color:#1e4d88;font-weight:900;font-size:13px}.verification-settings-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.verification-settings-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.verification-settings-savebar-v2 span{display:block;color:#687991;font-size:13px}.verification-settings-savebar-v2__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.verification-settings-savebar-v2__actions .btn-primary,.verification-settings-savebar-v2__actions .btn-secondary{min-height:42px;border-radius:14px;white-space:nowrap}
html.admin-theme-dark .verification-settings-page-v2{background:transparent!important}html.admin-theme-dark .verification-settings-summary-v2 article,html.admin-theme-dark .verification-settings-card-v2,html.admin-theme-dark .verification-method-card-v2,html.admin-theme-dark .verification-settings-savebar-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .verification-settings-card-head-v2{border-color:#334155}html.admin-theme-dark .verification-settings-summary-v2 strong,html.admin-theme-dark .verification-settings-card-head-v2 h2,html.admin-theme-dark .verification-method-card-v2__top strong,html.admin-theme-dark .verification-settings-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .verification-settings-summary-v2 span,html.admin-theme-dark .verification-settings-summary-v2 small,html.admin-theme-dark .verification-settings-card-head-v2 p,html.admin-theme-dark .verification-method-card-v2__description,html.admin-theme-dark .verification-settings-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .verification-settings-secondary-action{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .verification-method-card-v2.is-enabled{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .verification-method-card-v2__top em{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .verification-method-card-v2.is-disabled .verification-method-card-v2__top em{background:#334155!important;color:#e2e8f0!important;border-color:#64748b!important}html.admin-theme-dark .verification-method-card-v2__label{color:#93c5fd!important}
@media(max-width:1250px){.verification-settings-hero-v2{flex-direction:column}.verification-settings-hero-v2__stats{width:100%;min-width:0}.verification-method-grid-v2{grid-template-columns:1fr}.verification-settings-card-head-v2{flex-direction:column}.verification-settings-secondary-action{align-self:flex-start}}
@media(max-width:760px){.verification-settings-hero-v2,.verification-settings-card-v2{padding:18px;border-radius:20px}.verification-settings-hero-v2 h1{font-size:25px}.verification-settings-hero-v2__stats,.verification-settings-summary-v2{grid-template-columns:1fr}.verification-settings-savebar-v2{position:static;flex-direction:column;align-items:stretch}.verification-settings-savebar-v2__actions,.verification-settings-savebar-v2__actions .btn-primary,.verification-settings-savebar-v2__actions .btn-secondary{width:100%;justify-content:center}.verification-method-card-v2__top{flex-direction:column}.verification-settings-secondary-action{width:100%}}

/* Verification requests admin redesign */
.verification-requests-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.verification-requests-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.verification-requests-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.verification-requests-hero-v2__copy{position:relative;z-index:1;max-width:780px}.verification-requests-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.verification-requests-hero-v2 .verification-requests-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.verification-requests-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.verification-requests-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.verification-requests-hero-v2__stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:12px;min-width:500px}.verification-requests-hero-v2__stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}.verification-requests-hero-v2__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.verification-requests-hero-v2__stats strong{display:block;color:#fff;font-size:28px;line-height:1}.verification-requests-hero-v2__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800;line-height:1.25}.verification-requests-tabs-v2{display:flex;gap:10px;flex-wrap:wrap;border:1px solid #d8e4f3;border-radius:22px;background:#fff;padding:14px;box-shadow:0 12px 28px rgba(16,40,79,.04)}.verification-requests-tabs-v2 a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #d8e4f3;border-radius:999px;background:#fff;color:#2563eb;font-weight:900;text-decoration:none}.verification-requests-tabs-v2 a.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 12px 24px rgba(47,109,246,.22)}.verification-requests-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.verification-requests-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.verification-requests-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.verification-requests-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.verification-requests-summary-v2 small{color:#6b7c92;line-height:1.35}.verification-requests-list-shell-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px;display:flex;flex-direction:column;gap:18px}.verification-requests-list-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.verification-requests-list-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.verification-requests-list-head-v2 p{margin:0;color:#687991;line-height:1.45}.verification-requests-list-count-v2{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.verification-requests-grid-v2{display:flex;flex-direction:column;gap:14px}.verification-request-card-v2{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;padding:18px;box-shadow:0 12px 28px rgba(16,40,79,.055);overflow:hidden}.verification-request-card-v2:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#f59e0b}.verification-request-card-v2--approved:before{background:#16a34a}.verification-request-card-v2--rejected:before{background:#ef4444}.verification-request-main-v2{display:flex;flex-direction:column;gap:14px;min-width:0}.verification-request-top-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.verification-request-user-v2{display:flex;align-items:center;gap:13px;min-width:0}.verification-request-avatar-v2{width:48px;height:48px;border-radius:16px;background:#eaf3ff;border:1px solid #cfe2fb;color:#17477f;font-weight:1000;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.verification-request-user-v2 strong{display:block;color:#10284f;font-size:16px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.verification-request-user-v2 small{display:block;color:#64748b;overflow-wrap:anywhere}.verification-status-badge-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#fff8ed;color:#9a5a04;border-color:#fed7aa;white-space:nowrap}.verification-status-badge-v2--approved{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.verification-status-badge-v2--rejected{background:#fff1f2;color:#be123c;border-color:#fecdd3}.verification-request-info-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.verification-request-info-grid-v2>div,.verification-document-box-v2{border:1px solid #e2ebf7;border-radius:16px;background:#f8fbff;padding:14px;min-width:0}.verification-request-info-grid-v2 span,.verification-document-box-v2>span,.verification-review-panel-v2 label span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.verification-request-info-grid-v2 strong{display:block;margin-top:6px;color:#10284f;font-size:15px;overflow-wrap:anywhere}.verification-document-box-v2{display:flex;align-items:center;justify-content:space-between;gap:12px}.verification-document-box-v2 a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border-radius:999px;background:#eef5ff;border:1px solid #cfe2fb;color:#1d4ed8;text-decoration:none;font-weight:900;font-size:12px}.verification-document-box-v2 small{color:#64748b}.verification-request-actions-v2{border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:16px;display:flex;flex-direction:column;gap:12px;align-self:start}.verification-action-buttons-v2{display:flex;gap:8px;flex-wrap:wrap}.verification-action-buttons-v2 .btn-small,.verification-delete-form-v2 .btn-small{min-height:38px;border-radius:13px;padding:0 13px}.verification-review-panel-v2{display:flex;flex-direction:column;gap:12px;border:1px solid #dce8f6;border-radius:16px;background:#fff;padding:14px}.verification-review-panel-v2[hidden]{display:none!important}.verification-review-panel-v2__head{display:flex;align-items:center;justify-content:space-between;gap:10px}.verification-review-panel-v2__head strong{color:#10284f}.verification-review-close{border:0;background:transparent;cursor:pointer;display:inline-flex}.verification-review-panel-v2 label{display:flex;flex-direction:column;gap:7px}.verification-review-panel-v2 textarea{width:100%;border:1px solid #d5e2f2;border-radius:14px;background:#fbfdff;color:#162b49;padding:11px 12px;box-sizing:border-box}.verification-permission-inline-v2{display:flex;gap:6px;flex-wrap:wrap;color:#64748b;font-size:12px}.verification-permission-inline-v2 strong{color:#10284f}.verification-reviewed-note-v2{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:#f1f5f9;border:1px solid #dbe7f5;color:#64748b;font-weight:900;font-size:12px;width:max-content}.verification-delete-form-v2{margin:0}.verification-requests-empty-v2{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px}.verification-requests-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.verification-requests-empty-v2 strong{font-size:18px;color:#13294b}.verification-requests-empty-v2 p{margin:0;color:#64748b}
html.admin-theme-dark .verification-requests-page-v2{background:transparent!important}html.admin-theme-dark .verification-requests-tabs-v2,html.admin-theme-dark .verification-requests-summary-v2 article,html.admin-theme-dark .verification-requests-list-shell-v2,html.admin-theme-dark .verification-request-card-v2,html.admin-theme-dark .verification-request-info-grid-v2>div,html.admin-theme-dark .verification-document-box-v2,html.admin-theme-dark .verification-request-actions-v2,html.admin-theme-dark .verification-review-panel-v2,html.admin-theme-dark .verification-requests-list-count-v2,html.admin-theme-dark .verification-requests-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .verification-requests-tabs-v2 a{background:#111827;border-color:#334155;color:#93c5fd}html.admin-theme-dark .verification-requests-tabs-v2 a.is-active{background:#2563eb;color:#fff;border-color:#60a5fa}html.admin-theme-dark .verification-requests-summary-v2 strong,html.admin-theme-dark .verification-requests-list-head-v2 h2,html.admin-theme-dark .verification-request-user-v2 strong,html.admin-theme-dark .verification-request-info-grid-v2 strong,html.admin-theme-dark .verification-review-panel-v2__head strong,html.admin-theme-dark .verification-permission-inline-v2 strong,html.admin-theme-dark .verification-requests-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .verification-requests-summary-v2 span,html.admin-theme-dark .verification-requests-summary-v2 small,html.admin-theme-dark .verification-requests-list-head-v2 p,html.admin-theme-dark .verification-request-user-v2 small,html.admin-theme-dark .verification-request-info-grid-v2 span,html.admin-theme-dark .verification-document-box-v2>span,html.admin-theme-dark .verification-document-box-v2 small,html.admin-theme-dark .verification-review-panel-v2 label span,html.admin-theme-dark .verification-permission-inline-v2,html.admin-theme-dark .verification-requests-empty-v2 p{color:#94a3b8!important}html.admin-theme-dark .verification-request-avatar-v2{background:#1f4d86!important;color:#fff!important;border-color:#60a5fa!important}html.admin-theme-dark .verification-document-box-v2 a{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .verification-status-badge-v2{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .verification-status-badge-v2--approved{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .verification-status-badge-v2--rejected{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}html.admin-theme-dark .verification-reviewed-note-v2{background:#334155!important;color:#e2e8f0!important;border-color:#64748b!important}html.admin-theme-dark .verification-review-panel-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
@media(max-width:1250px){.verification-requests-hero-v2{flex-direction:column}.verification-requests-hero-v2__stats{width:100%;min-width:0}.verification-requests-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.verification-request-card-v2{grid-template-columns:1fr}.verification-request-actions-v2{align-self:stretch}}@media(max-width:760px){.verification-requests-hero-v2,.verification-requests-list-shell-v2{padding:16px;border-radius:20px}.verification-requests-hero-v2 h1{font-size:25px}.verification-requests-hero-v2__stats,.verification-requests-summary-v2,.verification-request-info-grid-v2{grid-template-columns:1fr}.verification-requests-list-head-v2,.verification-request-top-v2,.verification-document-box-v2{flex-direction:column;align-items:flex-start}.verification-requests-tabs-v2{overflow-x:auto;flex-wrap:nowrap}.verification-requests-tabs-v2 a{white-space:nowrap}.verification-action-buttons-v2,.verification-action-buttons-v2 .btn-small,.verification-delete-form-v2 .btn-small{width:100%;justify-content:center}}

/* Direct purchase settings polish */
.direct-buy-settings-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.direct-buy-settings-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.direct-buy-settings-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.direct-buy-settings-hero-v2__copy{position:relative;z-index:1;max-width:760px}.direct-buy-settings-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.direct-buy-settings-hero-v2 .direct-buy-settings-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.direct-buy-settings-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.direct-buy-settings-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.direct-buy-settings-hero-v2__stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:12px;min-width:470px}.direct-buy-settings-hero-v2__stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}.direct-buy-settings-hero-v2__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.direct-buy-settings-hero-v2__stats strong{display:block;color:#fff;font-size:28px;line-height:1}.direct-buy-settings-hero-v2__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800;line-height:1.25}.direct-buy-settings-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.direct-buy-settings-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.direct-buy-settings-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.direct-buy-settings-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.direct-buy-settings-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.direct-buy-settings-summary-v2 small{color:#6b7c92;line-height:1.35}.direct-buy-settings-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px}.direct-buy-settings-card-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.direct-buy-settings-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.direct-buy-settings-card-head-v2 p{margin:0;color:#687991;line-height:1.45;max-width:900px}.direct-buy-toggle-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.direct-buy-toggle-grid-v2--requirements{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-buy-toggle-card-v2{position:relative;display:flex!important;gap:14px;align-items:flex-start;min-height:100px;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.045);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.direct-buy-toggle-card-v2:hover{transform:translateY(-1px);box-shadow:0 15px 32px rgba(16,40,79,.075);border-color:#bfdbfe}.direct-buy-toggle-card-v2.is-active{background:linear-gradient(180deg,#eff6ff 0%,#fff 100%);border-color:#bfdbfe}.direct-buy-toggle-card-v2 input{position:absolute;opacity:0;pointer-events:none}.direct-buy-toggle-v2{flex:0 0 48px;width:48px;height:28px;border-radius:999px;background:#cbd5e1;position:relative;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);margin-top:2px}.direct-buy-toggle-v2:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:999px;background:#fff;box-shadow:0 4px 10px rgba(15,23,42,.18);transition:left .18s ease}.direct-buy-toggle-card-v2 input:checked + .direct-buy-toggle-v2{background:#16345c}.direct-buy-toggle-card-v2 input:checked + .direct-buy-toggle-v2:after{left:23px}.direct-buy-toggle-card-v2 strong{display:block;color:#10284f;font-size:15px;line-height:1.3}.direct-buy-toggle-card-v2 small{display:block;margin-top:6px;color:#5f728d;line-height:1.5;font-size:12px}.direct-buy-field-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.direct-buy-field-grid-v2--two{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-buy-field-grid-v2 label{position:relative;display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;color:#243a59;font-weight:900}.direct-buy-field-grid-v2 label>span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#5f728d}.direct-buy-field-grid-v2 input{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fff;color:#13294b;padding:0 13px;font-weight:800}.direct-buy-field-grid-v2 input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.direct-buy-field-grid-v2 small{color:#71829a;line-height:1.35}.direct-buy-settings-note-v2{border:1px solid #bfdbfe;border-radius:20px;background:linear-gradient(180deg,#eff6ff,#fff);padding:17px 18px}.direct-buy-settings-note-v2 strong{display:block;color:#10284f;margin-bottom:6px}.direct-buy-settings-note-v2 p{margin:0;color:#5f728d;line-height:1.5}.direct-buy-settings-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.direct-buy-settings-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.direct-buy-settings-savebar-v2 span{display:block;color:#687991;font-size:13px}.direct-buy-settings-savebar-v2 .btn-primary{min-height:42px;border-radius:14px;white-space:nowrap}
html.admin-theme-dark .direct-buy-settings-page-v2{background:transparent!important}html.admin-theme-dark .direct-buy-settings-summary-v2 article,html.admin-theme-dark .direct-buy-settings-card-v2,html.admin-theme-dark .direct-buy-toggle-card-v2,html.admin-theme-dark .direct-buy-field-grid-v2 label,html.admin-theme-dark .direct-buy-settings-note-v2,html.admin-theme-dark .direct-buy-settings-savebar-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .direct-buy-settings-card-head-v2{border-color:#334155!important}html.admin-theme-dark .direct-buy-settings-summary-v2 strong,html.admin-theme-dark .direct-buy-settings-card-head-v2 h2,html.admin-theme-dark .direct-buy-toggle-card-v2 strong,html.admin-theme-dark .direct-buy-settings-note-v2 strong,html.admin-theme-dark .direct-buy-settings-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .direct-buy-settings-summary-v2 span,html.admin-theme-dark .direct-buy-settings-summary-v2 small,html.admin-theme-dark .direct-buy-settings-card-head-v2 p,html.admin-theme-dark .direct-buy-toggle-card-v2 small,html.admin-theme-dark .direct-buy-field-grid-v2 label>span,html.admin-theme-dark .direct-buy-field-grid-v2 small,html.admin-theme-dark .direct-buy-settings-note-v2 p,html.admin-theme-dark .direct-buy-settings-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .direct-buy-toggle-card-v2.is-active{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .direct-buy-field-grid-v2 input{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .direct-buy-toggle-card-v2 input:checked + .direct-buy-toggle-v2{background:#3b82f6!important}
@media(max-width:1250px){.direct-buy-settings-hero-v2{flex-direction:column}.direct-buy-settings-hero-v2__stats{width:100%;min-width:0}.direct-buy-settings-summary-v2,.direct-buy-field-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-buy-toggle-grid-v2,.direct-buy-toggle-grid-v2--requirements{grid-template-columns:1fr}}@media(max-width:760px){.direct-buy-settings-hero-v2,.direct-buy-settings-card-v2{padding:18px;border-radius:20px}.direct-buy-settings-hero-v2 h1{font-size:25px}.direct-buy-settings-hero-v2__stats,.direct-buy-settings-summary-v2,.direct-buy-field-grid-v2,.direct-buy-field-grid-v2--two{grid-template-columns:1fr}.direct-buy-settings-savebar-v2{position:static;flex-direction:column;align-items:stretch}.direct-buy-settings-savebar-v2 .btn-primary{width:100%;justify-content:center}}

/* Premium services polish: remove billing/payment blocks and improve service matrix */
.premium-admin-shell{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:18px!important}
.premium-admin-hero{border-radius:26px!important;background:linear-gradient(135deg,#10284f 0%,#1f4f90 55%,#2f6df6 100%)!important;position:relative;overflow:hidden;padding:28px!important;box-shadow:0 24px 60px rgba(17,42,92,.18)!important}
.premium-admin-hero:after{content:"";position:absolute;right:-92px;top:-96px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.premium-admin-hero>div{position:relative;z-index:1}.premium-admin-hero .eyebrow{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.24);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.premium-admin-hero h1{margin:12px 0 9px!important;color:#fff!important;font-size:32px!important;line-height:1.08;letter-spacing:-.035em}.premium-admin-hero p{margin:0;color:rgba(255,255,255,.84)!important;line-height:1.55;font-size:15px}.premium-admin-stats{position:relative;z-index:1}.premium-admin-stats span{border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.13)!important;border-radius:18px!important;backdrop-filter:blur(8px)}
.premium-admin-card{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.06)!important;padding:22px!important;gap:18px!important}.premium-admin-card .section-head{padding-bottom:14px;border-bottom:1px solid #edf2f8;margin-bottom:0!important}.premium-admin-card .section-head h2{margin:8px 0 0;color:#10284f;font-size:22px;letter-spacing:-.02em}.premium-services-count-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#1e4d88;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}
.premium-admin-service-grid{grid-template-columns:repeat(auto-fit,minmax(315px,1fr))!important;gap:18px!important}.premium-admin-service{border:1px solid #dce8f6!important;border-radius:22px!important;background:#fff!important;padding:20px!important;box-shadow:0 12px 28px rgba(16,40,79,.055)!important}.premium-admin-service__head h3{color:#10284f!important;font-size:21px!important}.premium-admin-service__head p{color:#687991!important;font-size:13px;line-height:1.55!important}.premium-admin-service__fields{gap:12px 14px!important}.premium-admin-service__fields label:not(.switch-row){padding:12px;border:1px solid #e2ebf7;border-radius:16px;background:#f8fbff}.premium-admin-service__fields input,.premium-admin-service__fields select{min-height:46px!important;border-radius:13px!important}.premium-admin-service__fields input[type=color]{padding:5px!important}.switch-row{background:#f8fbff!important;border-color:#dce8f6!important}.premium-admin-service__preview{background:#f8fbff!important;border-color:#dce8f6!important;border-radius:16px!important}.premium-preview-chip{padding:8px 12px!important}.premium-services-savebar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.premium-services-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.premium-services-savebar span{display:block;color:#687991;font-size:13px}.premium-services-savebar .btn-primary{min-width:190px;min-height:44px;border-radius:14px}
html.admin-theme-dark .premium-admin-shell{background:transparent!important}html.admin-theme-dark .premium-admin-card,html.admin-theme-dark .premium-admin-service,html.admin-theme-dark .premium-admin-service__fields label:not(.switch-row),html.admin-theme-dark .switch-row,html.admin-theme-dark .premium-admin-service__preview,html.admin-theme-dark .premium-services-savebar{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .premium-admin-card .section-head{border-color:#334155}html.admin-theme-dark .premium-admin-card .section-head h2,html.admin-theme-dark .premium-admin-service__head h3,html.admin-theme-dark .premium-services-savebar strong{color:#f8fafc!important}html.admin-theme-dark .premium-admin-service__head p,html.admin-theme-dark .premium-admin-service__preview small,html.admin-theme-dark .premium-services-savebar span{color:#94a3b8!important}html.admin-theme-dark .premium-services-count-pill{background:#0f172a!important;border-color:#475569!important;color:#dbeafe!important}html.admin-theme-dark .premium-admin-service__fields span{color:#cbd5e1!important}html.admin-theme-dark .premium-admin-service__fields input,html.admin-theme-dark .premium-admin-service__fields select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
@media(max-width:1200px){.premium-admin-hero{flex-direction:column;align-items:flex-start!important}.premium-admin-stats{min-width:0;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.premium-admin-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:760px){.premium-admin-hero,.premium-admin-card{padding:18px!important;border-radius:20px!important}.premium-admin-hero h1{font-size:25px!important}.premium-admin-stats,.premium-admin-service-grid,.premium-admin-service__fields{grid-template-columns:1fr!important}.premium-admin-card .section-head,.premium-services-savebar{flex-direction:column;align-items:stretch}.premium-services-savebar .btn-primary{width:100%}}

/* PRO packages: polish only the visible header and landingpage settings area */
.pro-admin-shell{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.pro-admin-shell .premium-admin-hero{align-items:center!important;border-radius:26px!important;padding:28px!important;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;color:#fff!important;border:0!important;box-shadow:0 24px 60px rgba(17,42,92,.18)!important;position:relative!important;overflow:hidden!important}
.pro-admin-shell .premium-admin-hero:after{content:""!important;position:absolute!important;right:-92px!important;top:-96px!important;width:280px!important;height:280px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important}
.pro-admin-shell .premium-admin-hero>div{position:relative!important;z-index:1!important}.pro-admin-shell .premium-admin-hero .eyebrow{display:inline-flex!important;width:max-content!important;padding:7px 11px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.pro-admin-shell .premium-admin-hero h1{margin:12px 0 9px!important;color:#fff!important;font-size:32px!important;line-height:1.08!important;letter-spacing:-.035em!important}.pro-admin-shell .premium-admin-hero p{margin:0!important;color:rgba(255,255,255,.84)!important;line-height:1.55!important;font-size:15px!important;max-width:780px!important}.pro-admin-shell .premium-admin-stats{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:repeat(4,minmax(118px,1fr))!important;gap:12px!important;min-width:560px!important}.pro-admin-shell .premium-admin-stats span{display:flex!important;flex-direction:column!important;gap:6px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.13)!important;border-radius:18px!important;padding:16px 17px!important;backdrop-filter:blur(8px)!important;box-shadow:none!important}.pro-admin-shell .premium-admin-stats strong{color:#fff!important;font-size:28px!important;line-height:1!important}.pro-admin-shell .premium-admin-stats small{color:rgba(255,255,255,.76)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.07em!important;text-transform:uppercase!important;line-height:1.25!important}
.pro-admin-shell .pro-admin-card{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.06)!important;padding:22px!important;gap:18px!important}.pro-admin-shell .pro-admin-card>.section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:0 0 16px!important;margin:0!important;border-bottom:1px solid #edf2f8!important}.pro-admin-shell .pro-admin-card>.section-head .eyebrow{display:inline-flex!important;width:max-content!important;padding:7px 11px!important;border-radius:999px!important;background:#eef5ff!important;color:#1e4d88!important;border:1px solid #d7e7fb!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.pro-admin-shell .pro-admin-card>.section-head h2{margin:10px 0 6px!important;color:#10284f!important;font-size:24px!important;line-height:1.14!important;letter-spacing:-.025em!important}.pro-admin-shell .pro-admin-card>.section-head p{margin:0!important;color:#687991!important;line-height:1.45!important;font-size:14px!important}.pro-admin-shell .pro-admin-card>.section-head .btn-secondary{min-height:44px!important;border-radius:14px!important;padding:0 16px!important;background:#fff!important;border:1px solid #d5e2f2!important;color:#12305c!important;font-weight:900!important;box-shadow:0 10px 22px rgba(15,35,70,.045)!important;white-space:nowrap!important}.pro-admin-shell .pro-admin-card>.section-head .btn-secondary:hover{transform:translateY(-1px)!important;box-shadow:0 14px 28px rgba(15,35,70,.08)!important}
.pro-admin-shell .pro-admin-config-grid{display:grid!important;grid-template-columns:minmax(220px,.65fr) minmax(260px,.65fr) minmax(420px,1.2fr)!important;gap:16px!important;margin:0 0 6px!important;padding:18px!important;border:1px solid #dce8f6!important;border-radius:20px!important;background:#f8fbff!important}.pro-admin-shell .pro-admin-config-grid label{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;color:#243a59!important;font-weight:850!important}.pro-admin-shell .pro-admin-config-grid label[style]{grid-column:auto!important}.pro-admin-shell .pro-admin-config-grid label span{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#5f728d!important;font-weight:900!important}.pro-admin-shell .pro-admin-config-grid input{min-height:50px!important;border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fff!important;color:#13294b!important;padding:0 14px!important;font-weight:750!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}.pro-admin-shell .pro-admin-config-grid input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}
html.admin-theme-dark .pro-admin-shell .premium-admin-hero{background:linear-gradient(135deg,#0f1b2d 0%,#17345b 55%,#2563eb 100%)!important;color:#fff!important}html.admin-theme-dark .pro-admin-shell .pro-admin-card,html.admin-theme-dark .pro-admin-shell .pro-admin-config-grid{background:#111827!important;border-color:#334155!important;box-shadow:none!important}html.admin-theme-dark .pro-admin-shell .pro-admin-card>.section-head{border-color:#334155!important}html.admin-theme-dark .pro-admin-shell .pro-admin-card>.section-head h2{color:#f8fafc!important}html.admin-theme-dark .pro-admin-shell .pro-admin-card>.section-head p,html.admin-theme-dark .pro-admin-shell .pro-admin-config-grid label span{color:#94a3b8!important}html.admin-theme-dark .pro-admin-shell .pro-admin-card>.section-head .eyebrow{background:#10213a!important;color:#dbeafe!important;border-color:#31537f!important}html.admin-theme-dark .pro-admin-shell .pro-admin-card>.section-head .btn-secondary,html.admin-theme-dark .pro-admin-shell .pro-admin-config-grid input{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}
@media(max-width:1250px){.pro-admin-shell .premium-admin-hero{flex-direction:column!important;align-items:stretch!important}.pro-admin-shell .premium-admin-stats{width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.pro-admin-shell .pro-admin-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pro-admin-shell .pro-admin-config-grid label[style]{grid-column:1/-1!important}}
@media(max-width:760px){.pro-admin-shell .premium-admin-hero,.pro-admin-shell .pro-admin-card{padding:18px!important;border-radius:20px!important}.pro-admin-shell .premium-admin-hero h1{font-size:25px!important}.pro-admin-shell .premium-admin-stats,.pro-admin-shell .pro-admin-config-grid{grid-template-columns:1fr!important}.pro-admin-shell .pro-admin-card>.section-head{flex-direction:column!important}.pro-admin-shell .pro-admin-card>.section-head .btn-secondary{width:100%!important;justify-content:center!important}}

/* PRO price rules: polish only the screenshot top hero */
.pro-price-rules-shell .premium-admin-hero{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:28px!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 24px 60px rgba(17,42,92,.18)!important;
  position:relative!important;
  overflow:hidden!important;
}
.pro-price-rules-shell .premium-admin-hero:after{
  content:""!important;
  position:absolute!important;
  right:-90px!important;
  top:-95px!important;
  width:280px!important;
  height:280px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  pointer-events:none!important;
}
.pro-price-rules-shell .premium-admin-hero > div:first-child{
  position:relative!important;
  z-index:1!important;
  max-width:820px!important;
}
.pro-price-rules-shell .premium-admin-hero .eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:max-content!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
.pro-price-rules-shell .premium-admin-hero h1{
  margin:12px 0 9px!important;
  color:#fff!important;
  font-size:32px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.pro-price-rules-shell .premium-admin-hero p{
  margin:0!important;
  color:rgba(255,255,255,.84)!important;
  opacity:1!important;
  line-height:1.55!important;
  font-size:15px!important;
}
.pro-price-rules-shell .premium-admin-stats{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(132px,1fr))!important;
  gap:12px!important;
  min-width:660px!important;
}
.pro-price-rules-shell .premium-admin-stats span{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-height:72px!important;
  padding:16px 17px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.13)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:blur(8px)!important;
}
.pro-price-rules-shell .premium-admin-stats strong{
  display:block!important;
  color:#fff!important;
  font-size:28px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.pro-price-rules-shell .premium-admin-stats small{
  display:block!important;
  color:rgba(255,255,255,.76)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  line-height:1.25!important;
}
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  border:0!important;
  color:#fff!important;
}
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero h1,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero h1,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero p,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero p{
  color:#fff!important;
}
@media(max-width:1320px){
  .pro-price-rules-shell .premium-admin-hero{flex-direction:column!important;align-items:flex-start!important;}
  .pro-price-rules-shell .premium-admin-stats{width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .pro-price-rules-shell .premium-admin-hero{padding:20px!important;border-radius:22px!important;}
  .pro-price-rules-shell .premium-admin-hero h1{font-size:25px!important;}
  .pro-price-rules-shell .premium-admin-stats{grid-template-columns:1fr!important;}
}

/* Light mode premium services hero: match Anzeigenverwaltung header palette */
html:not(.admin-theme-dark) .premium-admin-shell:not(.pro-admin-shell) .premium-admin-hero,
body:not(.admin-theme-dark) .premium-admin-shell:not(.pro-admin-shell) .premium-admin-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .premium-admin-shell:not(.pro-admin-shell) .premium-admin-hero:after,
body:not(.admin-theme-dark) .premium-admin-shell:not(.pro-admin-shell) .premium-admin-hero:after{
  background:rgba(255,255,255,.10)!important;
}
html:not(.admin-theme-dark) .premium-admin-shell:not(.pro-admin-shell) .premium-admin-stats span,
body:not(.admin-theme-dark) .premium-admin-shell:not(.pro-admin-shell) .premium-admin-stats span{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.22)!important;
}

/* === Dark mode color match: Premium-Dienste hero ===
   Match the dark-mode header colors to Direkt kaufen / Funktionen. */
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero:after,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero .eyebrow,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero .eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero h1,
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero strong,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero h1,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero p,
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero span,
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero small,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero p,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero span,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-stats span,
body.admin-theme-dark .premium-admin-shell:not(.pro-admin-shell):not(.pro-price-rules-shell) .premium-admin-stats span{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}

/* PRO admin dark-mode header color match: Direkt kaufen reference.
   Applies only to PRO-Pakete and Preisregeln heroes in dark mode. */
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  border:0!important;
  box-shadow:none!important;
}
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero:after,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero:after,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero:after,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero:after,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero:after,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero:after,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero:after,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero .eyebrow,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero .eyebrow,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero .eyebrow,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero .eyebrow,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero .eyebrow,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero .eyebrow,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero .eyebrow,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero .eyebrow{
  background:#eefbe0!important;
  border-color:#d9f5bd!important;
  color:#0d1c31!important;
  -webkit-text-fill-color:#0d1c31!important;
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero h1,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero h1,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero h1,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero h1,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero h1,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero h1,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero h1,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero h1,
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero strong,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero strong,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero strong,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero strong,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero strong,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero strong,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero strong,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero p,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero p,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero p,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero p,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero p,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero p,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero p,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero p,
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero small,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-hero small,
html.admin-theme-dark .pro-admin-shell .premium-admin-hero small,
body.admin-theme-dark .pro-admin-shell .premium-admin-hero small,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero small,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-hero small,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-hero small,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-stats span,
body.admin-theme-dark .admin-content.pro-admin-shell .premium-admin-stats span,
html.admin-theme-dark .pro-admin-shell .premium-admin-stats span,
body.admin-theme-dark .pro-admin-shell .premium-admin-stats span,
html.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-stats span,
body.admin-theme-dark .admin-content.pro-price-rules-shell .premium-admin-stats span,
html.admin-theme-dark .pro-price-rules-shell .premium-admin-stats span,
body.admin-theme-dark .pro-price-rules-shell .premium-admin-stats span{
  background:#0d1c31!important;
  border-color:#325375!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

/* Pages admin top area polish: match current blue admin header style */
.pages-admin-shell{gap:20px!important}
.pages-admin-hero{
  position:relative!important;
  overflow:hidden!important;
  align-items:center!important;
  min-height:148px!important;
  padding:28px 30px!important;
  border:0!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#10284f 0%,#205aa5 56%,#3b82f6 100%)!important;
  box-shadow:0 22px 54px rgba(16,40,79,.18)!important;
  color:#fff!important;
}
.pages-admin-hero:after{
  content:"";
  position:absolute;
  right:-84px;
  top:-96px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
  pointer-events:none;
}
.pages-admin-hero>div,.pages-admin-create{position:relative!important;z-index:1!important}
.pages-admin-eyebrow{
  display:inline-flex!important;
  width:max-content!important;
  margin:0 0 10px!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.pages-admin-hero h1{
  margin:0 0 9px!important;
  color:#fff!important;
  font-size:32px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.pages-admin-hero p:not(.pages-admin-eyebrow){
  max-width:780px!important;
  margin:0!important;
  color:rgba(255,255,255,.84)!important;
  font-size:15px!important;
  line-height:1.55!important;
}
.pages-admin-create{
  min-height:44px!important;
  padding:0 18px!important;
  border-radius:14px!important;
  background:#2f6df6!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.16)!important;
  font-weight:900!important;
}
.pages-admin-create:hover{background:#1d4ed8!important;box-shadow:0 16px 32px rgba(0,0,0,.20)!important;transform:translateY(-1px)}
.pages-admin-toolbar{
  padding:16px!important;
  border:1px solid #d8e4f3!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 16px 36px rgba(17,42,92,.055)!important;
}
.pages-admin-search{
  height:50px!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  border-color:#d5e2f2!important;
  box-shadow:none!important;
}
.pages-admin-search input{height:50px!important;min-height:50px!important;line-height:50px!important;font-weight:700!important;color:#13294b!important}
.pages-admin-filter button{
  min-height:40px!important;
  padding:0 15px!important;
  border-radius:999px!important;
  font-weight:900!important;
  border-color:#d5e2f2!important;
  background:#fff!important;
  color:#29425f!important;
}
.pages-admin-filter button.is-active,.pages-admin-filter button:hover{
  background:#eff6ff!important;
  color:#1d4ed8!important;
  border-color:#bfdbfe!important;
  box-shadow:0 8px 18px rgba(37,99,235,.08)!important;
}
.pages-admin-card{
  border:1px solid #d8e4f3!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 18px 45px rgba(15,35,70,.06)!important;
  overflow:hidden!important;
}
.pages-admin-table-wrap{overflow:hidden!important;border-radius:24px!important}
.pages-admin-table{min-width:0!important}
.pages-admin-table th{
  background:#f6f9fd!important;
  color:#61728c!important;
  font-size:11px!important;
  letter-spacing:.08em!important;
}
.pages-admin-table th,.pages-admin-table td{padding:18px 20px!important;border-bottom:1px solid #e5edf7!important}
.pages-admin-table tbody tr:hover{background:#fbfdff!important}
.pages-admin-id{background:#eaf3ff!important;color:#17477f!important;border:1px solid #cfe2fb!important}
.pages-admin-slug{background:#f1f5f9!important;color:#10284f!important;border:1px solid #e2e8f0!important;border-radius:12px!important}
.pages-admin-title strong{color:#10284f!important;font-size:15px!important}.pages-admin-title small{color:#687991!important;line-height:1.35!important}
.pages-admin-status{padding:8px 12px!important;border:1px solid transparent!important}.pages-admin-status.is-active{background:#ecfdf5!important;color:#15803d!important;border-color:#bbf7d0!important}.pages-admin-status.is-inactive{background:#fff1f2!important;color:#be123c!important;border-color:#fecdd3!important}
.pages-admin-action{min-height:38px!important;padding:0 14px!important;border-radius:14px!important;font-weight:900!important}.pages-admin-action--edit{background:#2f6df6!important;border-color:#2f6df6!important;color:#fff!important}
html.admin-theme-dark .pages-admin-hero{background:linear-gradient(135deg,#0b1627 0%,#17345b 58%,#2563eb 100%)!important;box-shadow:none!important}
html.admin-theme-dark .pages-admin-toolbar,html.admin-theme-dark .pages-admin-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important}
html.admin-theme-dark .pages-admin-table th{background:#0f172a!important;color:#94a3b8!important}
html.admin-theme-dark .pages-admin-table td{border-color:#334155!important;color:#eaf2ff!important}
html.admin-theme-dark .pages-admin-table tbody tr:hover{background:#172d4b!important}
html.admin-theme-dark .pages-admin-title strong{color:#f8fafc!important}html.admin-theme-dark .pages-admin-title small{color:#94a3b8!important}
@media(max-width:900px){.pages-admin-hero{flex-direction:column!important;align-items:flex-start!important}.pages-admin-create{width:100%!important;justify-content:center!important}.pages-admin-toolbar{flex-direction:column!important;align-items:stretch!important}.pages-admin-search{max-width:none!important;width:100%!important}.pages-admin-filter{justify-content:flex-start!important}.pages-admin-table-wrap{overflow-x:auto!important}.pages-admin-table{min-width:820px!important}}

/* Page editor screen polish: only the create/edit page shown in screenshot */
#page-form.page-admin-form{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  overflow:visible!important;
}
#page-form .page-admin-page-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding:28px!important;
  border:0!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%)!important;
  box-shadow:0 18px 45px rgba(15,35,70,.12)!important;
  color:#fff!important;
  position:relative!important;
  overflow:hidden!important;
}
#page-form .page-admin-page-head:after{
  content:"";
  position:absolute;
  right:-90px;
  top:-96px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
}
#page-form .page-admin-page-head>div,
#page-form .page-admin-page-head>a{position:relative!important;z-index:1!important}
#page-form .page-admin-page-head .page-admin-eyebrow{
  display:inline-flex!important;
  width:max-content!important;
  margin:0!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
#page-form .page-admin-page-head h1{
  margin:12px 0 9px!important;
  color:#fff!important;
  font-size:32px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
#page-form .page-admin-page-head p:not(.page-admin-eyebrow){
  margin:0!important;
  max-width:820px!important;
  color:rgba(255,255,255,.84)!important;
  line-height:1.55!important;
  font-size:15px!important;
}
#page-form .page-admin-page-head .btn-secondary{
  min-height:44px!important;
  padding:0 16px!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#12305c!important;
  border:1px solid rgba(255,255,255,.30)!important;
  font-weight:900!important;
  box-shadow:0 12px 24px rgba(7,24,50,.16)!important;
}
#page-form .page-admin-section{
  margin:0!important;
  padding:22px!important;
  border:1px solid #d8e4f3!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 16px 36px rgba(17,42,92,.055)!important;
}
#page-form .page-admin-section__head{
  padding-bottom:16px!important;
  margin-bottom:18px!important;
  border-bottom:1px solid #edf2f8!important;
}
#page-form .page-admin-section__head .page-admin-eyebrow{
  display:inline-flex!important;
  width:max-content!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:#eef5ff!important;
  color:#1e4d88!important;
  border:1px solid #d7e7fb!important;
  font-size:11px!important;
  letter-spacing:.08em!important;
}
#page-form .page-admin-section__head h2{
  margin:10px 0 5px!important;
  color:#10284f!important;
  font-size:22px!important;
  letter-spacing:-.025em!important;
}
#page-form .page-admin-section__head p:not(.page-admin-eyebrow){
  margin:0!important;
  color:#687991!important;
  font-size:13px!important;
  line-height:1.45!important;
}
#page-form .page-admin-field-grid,
#page-form .page-admin-translation-grid{gap:16px 18px!important}
#page-form .page-admin-field,
#page-form .page-admin-translation-grid label:not(.page-admin-toggle){
  color:#243a59!important;
  font-weight:850!important;
}
#page-form .page-admin-field input,
#page-form .page-admin-translation-grid input,
#page-form .page-admin-translation-grid select,
#page-form .page-admin-translation-grid textarea{
  min-height:48px!important;
  border:1px solid #d5e2f2!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  color:#162b49!important;
  padding:12px 14px!important;
  font-weight:700!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
#page-form .page-admin-field input:focus,
#page-form .page-admin-translation-grid input:focus,
#page-form .page-admin-translation-grid select:focus,
#page-form .page-admin-translation-grid textarea:focus{
  outline:none!important;
  border-color:#3b82f6!important;
  box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;
  background:#fff!important;
}
#page-form .page-admin-info-grid{gap:12px!important;margin-top:14px!important}
#page-form .page-admin-info-grid div{
  border:1px solid #dce8f6!important;
  border-radius:16px!important;
  background:#f8fbff!important;
  color:#60708a!important;
  font-size:12px!important;
  line-height:1.45!important;
  padding:12px 14px!important;
}
#page-form .page-admin-language-tabs .language-tabs-nav{
  margin:0 0 18px!important;
  padding:10px!important;
  border-radius:18px!important;
  background:#eef5ff!important;
  border:1px solid #d7e7fb!important;
}
#page-form .page-admin-language-tabs .language-tab-button{
  border-radius:14px!important;
  font-weight:900!important;
}
#page-form .page-admin-language-tabs .language-tab-panel{
  padding:18px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid #dce8f6!important;
}
#page-form .page-admin-toggle{
  padding:14px 16px!important;
  border:1px solid #dce8f6!important;
  border-radius:18px!important;
  background:#f8fbff!important;
}
#page-form .page-admin-toggle__copy strong{color:#10284f!important}
#page-form .page-admin-toggle__copy small{color:#687991!important}
#page-form .page-admin-editor-card{
  margin-top:18px!important;
  padding:18px!important;
  border-radius:22px!important;
  border:1px solid #dce8f6!important;
  background:#f8fbff!important;
  overflow:hidden!important;
}
#page-form .page-admin-editor-card h3{
  color:#10284f!important;
  font-size:18px!important;
  margin:0 0 14px!important;
}
#page-form .cke_chrome{
  border:1px solid #d5e2f2!important;
  border-radius:16px!important;
  overflow:hidden!important;
  box-shadow:0 10px 24px rgba(17,42,92,.04)!important;
}
#page-form .cke_top{
  background:#f8fbff!important;
  border-bottom:1px solid #d5e2f2!important;
}
#page-form .cke_bottom{background:#f8fbff!important;border-top:1px solid #d5e2f2!important}
#page-form .page-admin-actions{
  position:sticky!important;
  bottom:14px!important;
  z-index:10!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:12px!important;
  padding:15px 16px!important;
  border:1px solid #c9dff9!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 18px 36px rgba(18,48,92,.12)!important;
  backdrop-filter:blur(10px)!important;
}
html.admin-theme-dark #page-form.page-admin-form{background:transparent!important;border:0!important;box-shadow:none!important;color:#e5e7eb!important}
html.admin-theme-dark #page-form .page-admin-page-head{background:linear-gradient(135deg,#0b1627 0%,#17345b 56%,#2563eb 100%)!important;border:0!important;box-shadow:none!important}
html.admin-theme-dark #page-form .page-admin-section,
html.admin-theme-dark #page-form .page-admin-language-tabs .language-tab-panel,
html.admin-theme-dark #page-form .page-admin-editor-card,
html.admin-theme-dark #page-form .page-admin-info-grid div,
html.admin-theme-dark #page-form .page-admin-toggle,
html.admin-theme-dark #page-form .page-admin-actions{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}
html.admin-theme-dark #page-form .page-admin-section__head{border-color:#334155!important}
html.admin-theme-dark #page-form .page-admin-section__head h2,
html.admin-theme-dark #page-form .page-admin-editor-card h3,
html.admin-theme-dark #page-form .page-admin-toggle__copy strong{color:#f8fafc!important}
html.admin-theme-dark #page-form .page-admin-section__head p:not(.page-admin-eyebrow),
html.admin-theme-dark #page-form .page-admin-info-grid div,
html.admin-theme-dark #page-form .page-admin-toggle__copy small{color:#94a3b8!important}
html.admin-theme-dark #page-form .page-admin-field,
html.admin-theme-dark #page-form .page-admin-translation-grid label:not(.page-admin-toggle){color:#e2e8f0!important}
html.admin-theme-dark #page-form .page-admin-field input,
html.admin-theme-dark #page-form .page-admin-translation-grid input,
html.admin-theme-dark #page-form .page-admin-translation-grid select,
html.admin-theme-dark #page-form .page-admin-translation-grid textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}
html.admin-theme-dark #page-form .page-admin-language-tabs .language-tabs-nav{background:#0f172a!important;border-color:#334155!important}
html.admin-theme-dark #page-form .cke_chrome{border-color:#475569!important;box-shadow:none!important}
html.admin-theme-dark #page-form .cke_top,html.admin-theme-dark #page-form .cke_bottom{background:#0f172a!important;border-color:#475569!important}
@media(max-width:900px){
  #page-form .page-admin-page-head{flex-direction:column!important;padding:22px!important;border-radius:22px!important}
  #page-form .page-admin-section{padding:18px!important;border-radius:20px!important}
  #page-form .page-admin-page-head h1{font-size:26px!important}
  #page-form .page-admin-field-grid,#page-form .page-admin-translation-grid,#page-form .page-admin-info-grid{grid-template-columns:1fr!important}
  #page-form .page-admin-actions{flex-direction:column!important;align-items:stretch!important}
}

/* Help center categories polished top/table area */
.help-categories-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.help-categories-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.help-categories-hero-v2:after{content:"";position:absolute;right:-90px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.help-categories-hero-v2__copy,.help-categories-create-v2{position:relative;z-index:1}.help-categories-eyebrow-v2{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.help-categories-hero-v2 .help-categories-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.help-categories-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.help-categories-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:820px}.help-categories-create-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:14px;background:#2f6df6;color:#fff;font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.help-categories-create-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.24)}.help-categories-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.help-categories-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.help-categories-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.help-categories-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1}.help-categories-summary-v2 small{color:#6b7c92;line-height:1.35}.help-categories-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px;display:flex;flex-direction:column;gap:18px}.help-categories-card-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:8px}.help-categories-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.help-categories-card-head-v2 p{margin:0;color:#687991;line-height:1.45}.help-categories-card-head-v2 small{display:block;margin-top:4px;color:#687991;line-height:1.4}.help-categories-count-v2{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.help-categories-form-v2{display:flex;flex-direction:column;gap:14px;margin:0}.help-categories-table-wrap-v2{overflow:hidden;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.help-categories-table-v2{width:100%;border-collapse:separate;border-spacing:0}.help-categories-table-v2 th,.help-categories-table-v2 td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.help-categories-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.help-categories-table-v2 th a{color:inherit;text-decoration:none}.help-categories-table-v2 tbody tr{transition:background .16s ease}.help-categories-table-v2 tbody tr:hover{background:#fbfdff}.help-categories-table-v2 tbody tr:last-child td{border-bottom:0}.help-categories-check-col-v2{width:54px;text-align:center!important}.help-categories-id-col-v2{width:88px}.help-categories-checkbox-v2{width:16px;height:16px;accent-color:#2f6df6}.help-category-id-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.help-category-thumb-v2{width:54px;height:42px;border-radius:14px;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;background:#f8fbff;box-shadow:0 6px 14px rgba(15,35,70,.06);vertical-align:middle}.help-category-thumb-v2--empty{color:#8aa0bb;font-weight:900;font-size:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}.help-category-title-cell-v2 strong{display:block;color:#10284f;font-size:15px;margin-bottom:4px}.help-category-title-cell-v2 small{display:block;color:#64748b;font-size:13px}.help-category-keywords-v2{display:inline-block;max-width:300px;color:#48617f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-category-order-pill-v2,.help-category-article-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:7px 10px;border-radius:999px;background:#f8fbff;border:1px solid #dce8f6;color:#13294b;font-weight:900}.help-category-status-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.help-category-status-v2.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.help-category-status-v2.is-inactive{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.help-category-action-menu-v2 .action-trigger{min-height:38px;border-radius:14px;padding:0 12px}.help-categories-table-v2 th.action-col,.help-categories-table-v2 td.action-col{text-align:right!important}.help-categories-table-v2 .action-col .help-category-action-menu-v2{display:flex;justify-content:flex-end;width:100%}.help-category-action-menu-v2 .action-menu-panel,.help-category-action-menu-v2 .action-menu-panel a{text-align:left!important}.help-category-action-menu-v2 .action-menu-panel a{justify-content:flex-start!important}.help-categories-bulk-v2{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dbe7f5;border-radius:20px;background:#fff;padding:16px 18px}.help-categories-bulk-v2 span{display:block;margin-bottom:3px;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.help-categories-bulk-v2 strong{display:block;color:#13294b;font-size:16px}.help-categories-bulk-actions-v2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.help-categories-bulk-actions-v2 button,.help-categories-bulk-actions-v2 select{min-height:42px;border-radius:13px;font-weight:900}.help-categories-bulk-actions-v2 button{padding:0 14px;border:1px solid #d5e2f2;background:#fff;color:#12305c;cursor:pointer}.help-categories-bulk-actions-v2 button:last-child{padding:0 18px;border-color:#2f6df6;background:#2f6df6;color:#fff;box-shadow:0 12px 22px rgba(47,109,246,.2)}.help-categories-bulk-actions-v2 select{border:1px solid #d5e2f2;background:#fbfdff;color:#13294b;padding:0 36px 0 12px}.help-categories-empty-v2{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:220px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px}.help-categories-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.help-categories-empty-v2 strong{font-size:18px;color:#13294b}.help-categories-empty-v2 p{margin:0;color:#64748b}.help-categories-table-v2 tr.is-dragging{opacity:.55;background:#eef5ff!important}
html.admin-theme-dark .help-categories-page-v2{background:transparent!important}html.admin-theme-dark .help-categories-summary-v2 article,html.admin-theme-dark .help-categories-card-v2,html.admin-theme-dark .help-categories-table-wrap-v2,html.admin-theme-dark .help-categories-table-v2,html.admin-theme-dark .help-categories-bulk-v2,html.admin-theme-dark .help-categories-empty-v2,html.admin-theme-dark .help-categories-count-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .help-categories-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .help-categories-table-v2 td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .help-categories-table-v2 tbody tr{background:#12233b!important}html.admin-theme-dark .help-categories-table-v2 tbody tr:nth-child(even){background:#102039!important}html.admin-theme-dark .help-categories-table-v2 tbody tr:hover{background:#172d4b!important}html.admin-theme-dark .help-categories-card-head-v2 h2,html.admin-theme-dark .help-categories-summary-v2 strong,html.admin-theme-dark .help-category-title-cell-v2 strong,html.admin-theme-dark .help-category-order-pill-v2,html.admin-theme-dark .help-category-article-pill-v2,html.admin-theme-dark .help-categories-bulk-v2 strong,html.admin-theme-dark .help-categories-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .help-categories-card-head-v2 p,html.admin-theme-dark .help-categories-card-head-v2 small,html.admin-theme-dark .help-categories-summary-v2 span,html.admin-theme-dark .help-categories-summary-v2 small,html.admin-theme-dark .help-category-title-cell-v2 small,html.admin-theme-dark .help-category-keywords-v2,html.admin-theme-dark .help-categories-bulk-v2 span,html.admin-theme-dark .help-categories-empty-v2 p{color:#94a3b8!important}html.admin-theme-dark .help-category-id-pill-v2{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .help-category-thumb-v2{background:#0b1220!important;border-color:#3b82f6!important;color:#dbeafe!important;box-shadow:none!important}html.admin-theme-dark .help-category-status-v2.is-active{background:#047857!important;border-color:#34d399!important;color:#fff!important}html.admin-theme-dark .help-category-status-v2.is-inactive{background:#475569!important;border-color:#94a3b8!important;color:#fff!important}html.admin-theme-dark .help-categories-bulk-actions-v2 button,html.admin-theme-dark .help-categories-bulk-actions-v2 select{background:#0f172a;border-color:#475569;color:#f8fafc}html.admin-theme-dark .help-categories-bulk-actions-v2 button:last-child{background:#2563eb;border-color:#60a5fa;color:#fff}
@media(max-width:1100px){.help-categories-hero-v2{flex-direction:column}.help-categories-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.help-categories-table-wrap-v2{overflow-x:auto}.help-categories-table-v2{min-width:1040px}.help-categories-bulk-v2{align-items:flex-start;flex-direction:column}.help-categories-bulk-actions-v2{width:100%}.help-categories-bulk-actions-v2>*{flex:1 1 160px}}@media(max-width:760px){.help-categories-hero-v2,.help-categories-card-v2{padding:18px;border-radius:20px}.help-categories-hero-v2 h1{font-size:25px}.help-categories-summary-v2{grid-template-columns:1fr}.help-categories-create-v2{width:100%}.help-categories-card-head-v2{flex-direction:column}.help-categories-bulk-actions-v2>*{width:100%;flex-basis:100%}}

/* Help category create/edit form polish */
.help-category-form-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}.help-category-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}.help-category-form-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#1f4f8f 55%,#2563eb 100%);color:#fff;box-shadow:0 18px 45px rgba(15,35,70,.12);position:relative;overflow:hidden}.help-category-form-hero-v2:after{content:"";position:absolute;right:-92px;top:-96px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.11)}.help-category-form-hero-v2>div,.help-category-form-back-v2{position:relative;z-index:1}.help-category-form-eyebrow-v2{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.help-category-form-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.help-category-form-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:820px}.help-category-form-back-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.16)}.help-category-form-back-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.help-category-form-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 16px 36px rgba(17,42,92,.055);padding:22px}.help-category-form-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.help-category-form-card-head-v2 span{display:block;margin-bottom:7px;color:#2563eb;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.help-category-form-card-head-v2 h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.help-category-form-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.help-category-language-tabs-v2{border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff;padding:14px}.help-category-language-tabs-v2 .language-tabs-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px;padding:10px;border:1px solid #dbe7f5;border-radius:16px;background:#fff}.help-category-language-tabs-v2 .language-tab-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #d5e2f2;background:#fff;color:#2563eb;border-radius:999px;min-height:38px;padding:0 13px;font-weight:900;box-shadow:none}.help-category-language-tabs-v2 .language-tab-button.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 10px 22px rgba(47,109,246,.2)}.help-category-language-tabs-v2 .language-tab-status{width:8px;height:8px;border-radius:999px;background:#ef4444}.help-category-language-tabs-v2 .language-tab-status.is-complete{background:#22c55e}.help-category-language-tabs-v2 .language-tab-panel{display:none}.help-category-language-tabs-v2 .language-tab-panel.is-active{display:block}.help-category-language-fieldset-v2{margin:0!important;padding:18px!important;border:1px solid #dce8f6!important;border-radius:20px!important;background:#fff!important}.help-category-language-fieldset-v2 legend{padding:0 10px;color:#10284f;font-weight:900}.help-category-form-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}.help-category-form-grid-v2 label{display:flex;flex-direction:column;gap:7px;color:#243a59;font-weight:850}.help-category-form-grid-v2 .form-grid-span-2{grid-column:span 2}.help-category-form-grid-v2 input,.help-category-form-grid-v2 select,.help-category-form-grid-v2 textarea,.help-category-form-card-v2 input[type=file]{border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fbfdff!important;color:#162b49!important;min-height:48px;padding:12px 14px!important;font-weight:700;box-sizing:border-box;width:100%}.help-category-form-grid-v2 textarea{min-height:92px;resize:vertical}.help-category-form-grid-v2 input:focus,.help-category-form-grid-v2 select:focus,.help-category-form-grid-v2 textarea:focus{outline:none;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}.help-category-form-card-v2--image{display:flex;flex-direction:column;gap:12px}.help-category-form-card-v2--image img{max-width:220px!important;border-radius:16px!important;border:1px solid #dbe7f5;box-shadow:0 10px 22px rgba(15,35,70,.08)}.help-category-form-card-v2--image .note{margin:0;color:#687991}.help-category-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.help-category-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.help-category-savebar-v2 span{display:block;color:#687991;font-size:13px}.help-category-savebar-actions-v2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.help-category-savebar-actions-v2 .btn-primary,.help-category-savebar-actions-v2 .btn-secondary{min-height:42px;border-radius:14px;padding:0 16px}
html.admin-theme-dark .help-category-form-page-v2{background:transparent!important}html.admin-theme-dark .help-category-form-card-v2,html.admin-theme-dark .help-category-language-tabs-v2,html.admin-theme-dark .help-category-language-tabs-v2 .language-tabs-nav,html.admin-theme-dark .help-category-language-fieldset-v2,html.admin-theme-dark .help-category-savebar-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .help-category-form-card-head-v2{border-color:#334155}html.admin-theme-dark .help-category-form-card-head-v2 h2,html.admin-theme-dark .help-category-language-fieldset-v2 legend,html.admin-theme-dark .help-category-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .help-category-form-card-head-v2 p,html.admin-theme-dark .help-category-savebar-v2 span,html.admin-theme-dark .help-category-form-card-v2--image .note{color:#94a3b8!important}html.admin-theme-dark .help-category-form-grid-v2 label{color:#e2e8f0!important}html.admin-theme-dark .help-category-form-grid-v2 input,html.admin-theme-dark .help-category-form-grid-v2 select,html.admin-theme-dark .help-category-form-grid-v2 textarea,html.admin-theme-dark .help-category-form-card-v2 input[type=file]{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .help-category-language-tabs-v2 .language-tab-button{background:#0f172a;border-color:#475569;color:#93c5fd}html.admin-theme-dark .help-category-language-tabs-v2 .language-tab-button.is-active{background:#2563eb;color:#fff;border-color:#60a5fa}
@media(max-width:1100px){.help-category-form-hero-v2{flex-direction:column}.help-category-form-back-v2{align-self:flex-start}.help-category-form-grid-v2{grid-template-columns:1fr}.help-category-form-grid-v2 .form-grid-span-2{grid-column:span 1}}@media(max-width:760px){.help-category-form-hero-v2,.help-category-form-card-v2{padding:18px;border-radius:20px}.help-category-form-hero-v2 h1{font-size:25px}.help-category-savebar-v2{flex-direction:column;align-items:stretch}.help-category-savebar-actions-v2,.help-category-savebar-actions-v2 .btn-primary,.help-category-savebar-actions-v2 .btn-secondary{width:100%;justify-content:center}.help-category-language-tabs-v2 .language-tabs-nav{overflow-x:auto;flex-wrap:nowrap}.help-category-language-tabs-v2 .language-tab-button{white-space:nowrap}}

/* Help articles admin page polish */
.help-articles-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:auto!important}
.help-articles-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#1f4f8f 55%,#2563eb 100%);color:#fff;box-shadow:0 18px 45px rgba(15,35,70,.12);position:relative;overflow:hidden}
.help-articles-hero-v2:after{content:"";position:absolute;right:-92px;top:-96px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.11)}
.help-articles-hero-v2>div,.help-articles-create-v2{position:relative;z-index:1}.help-articles-eyebrow-v2{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.help-articles-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.help-articles-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:760px}.help-articles-create-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.16)}.help-articles-create-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}
.help-articles-summary-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.help-articles-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.help-articles-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.help-articles-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-articles-summary-v2 small{color:#6b7c92;line-height:1.35}
.help-articles-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px}.help-articles-card-v2 form{margin:0;display:flex;flex-direction:column;gap:16px}.help-articles-card-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #edf2f8}.help-articles-card-head-v2 span{display:block;margin-bottom:7px;color:#2563eb;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.help-articles-card-head-v2 h2{margin:0 0 5px;color:#10284f;font-size:22px;letter-spacing:-.015em}.help-articles-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.help-articles-card-head-v2 small{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}
.help-articles-table-wrap-v2{overflow:hidden;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.help-articles-table-v2{width:100%;border-collapse:separate;border-spacing:0}.help-articles-table-v2 th,.help-articles-table-v2 td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.help-articles-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.help-articles-table-v2 th a{color:inherit;text-decoration:none}.help-articles-table-v2 tbody tr{transition:background .16s ease}.help-articles-table-v2 tbody tr:hover{background:#fbfdff}.help-articles-table-v2 tbody tr:last-child td{border-bottom:0}.help-article-check-col-v2{width:54px;text-align:center!important}.help-article-id-col-v2{width:90px}.help-article-checkbox-v2{width:16px;height:16px;accent-color:#2f6df6}.help-article-id-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.help-article-title-cell-v2{display:flex;flex-direction:column;gap:4px;min-width:0}.help-article-title-cell-v2 strong{color:#10284f;font-size:14px}.help-article-title-cell-v2 small{color:#71829a;font-size:12px}.help-article-category-pill-v2,.help-article-order-pill-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 10px;border-radius:999px;background:#f8fbff;border:1px solid #dce8f6;color:#13294b;font-weight:800}.help-article-keywords-v2,.help-article-muted-v2{color:#687991;font-size:13px}.help-article-status-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.help-article-status-v2.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.help-article-status-v2.is-inactive{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.help-articles-table-v2 th.action-col,.help-articles-table-v2 td.action-col{text-align:right!important}.help-articles-table-v2 .action-col .help-article-action-menu-v2{display:flex;justify-content:flex-end;width:100%}.help-article-action-menu-v2 .action-trigger{min-height:38px;border-radius:14px;padding:0 12px}.help-article-action-menu-v2 .action-menu-panel,.help-article-action-menu-v2 .action-menu-panel a{text-align:left!important}.help-article-action-menu-v2 .action-menu-panel a{justify-content:flex-start!important}
.help-articles-bulk-v2{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff;padding:15px 16px}.help-articles-bulk-v2 span{display:block;margin-bottom:3px;color:#5f728d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.help-articles-bulk-v2 strong{display:block;color:#13294b;font-size:15px}.help-articles-bulk-actions-v2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.help-articles-bulk-actions-v2 button,.help-articles-bulk-actions-v2 select{min-height:42px;border-radius:13px;font-weight:900;border:1px solid #d5e2f2;background:#fff;color:#12305c;padding:0 14px}.help-articles-bulk-actions-v2 button:last-child{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 10px 20px rgba(47,109,246,.18)}.help-articles-empty-v2{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px}.help-articles-empty-v2 div{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000}.help-articles-empty-v2 strong{font-size:18px;color:#13294b}.help-articles-empty-v2 p{margin:0;color:#64748b}
html.admin-theme-dark .help-articles-page-v2{background:transparent!important}html.admin-theme-dark .help-articles-card-v2,html.admin-theme-dark .help-articles-summary-v2 article,html.admin-theme-dark .help-articles-table-wrap-v2,html.admin-theme-dark .help-articles-bulk-v2,html.admin-theme-dark .help-articles-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .help-articles-card-head-v2{border-color:#334155}html.admin-theme-dark .help-articles-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .help-articles-table-v2 td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .help-articles-table-v2 tbody tr{background:#12233b!important}html.admin-theme-dark .help-articles-table-v2 tbody tr:nth-child(even){background:#102039!important}html.admin-theme-dark .help-articles-table-v2 tbody tr:hover{background:#172d4b!important}html.admin-theme-dark .help-articles-card-head-v2 h2,html.admin-theme-dark .help-articles-summary-v2 strong,html.admin-theme-dark .help-article-title-cell-v2 strong,html.admin-theme-dark .help-article-category-pill-v2,html.admin-theme-dark .help-article-order-pill-v2,html.admin-theme-dark .help-articles-bulk-v2 strong,html.admin-theme-dark .help-articles-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .help-articles-card-head-v2 p,html.admin-theme-dark .help-articles-card-head-v2 small,html.admin-theme-dark .help-articles-summary-v2 span,html.admin-theme-dark .help-articles-summary-v2 small,html.admin-theme-dark .help-article-title-cell-v2 small,html.admin-theme-dark .help-article-keywords-v2,html.admin-theme-dark .help-article-muted-v2,html.admin-theme-dark .help-articles-bulk-v2 span,html.admin-theme-dark .help-articles-empty-v2 p{color:#94a3b8!important}html.admin-theme-dark .help-article-id-pill-v2{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .help-article-category-pill-v2,html.admin-theme-dark .help-article-order-pill-v2{background:#0f172a!important;border-color:#475569!important}html.admin-theme-dark .help-article-status-v2.is-active{background:#047857!important;border-color:#34d399!important;color:#fff!important}html.admin-theme-dark .help-article-status-v2.is-inactive{background:#475569!important;border-color:#94a3b8!important;color:#fff!important}html.admin-theme-dark .help-articles-bulk-actions-v2 button,html.admin-theme-dark .help-articles-bulk-actions-v2 select{background:#0f172a;border-color:#475569;color:#f8fafc}html.admin-theme-dark .help-articles-bulk-actions-v2 button:last-child{background:#2563eb;border-color:#60a5fa;color:#fff}
@media(max-width:1100px){.help-articles-hero-v2{flex-direction:column}.help-articles-create-v2{align-self:flex-start}.help-articles-summary-v2{grid-template-columns:1fr}.help-articles-table-wrap-v2{overflow-x:auto}.help-articles-table-v2{min-width:980px}.help-articles-bulk-v2{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.help-articles-hero-v2,.help-articles-card-v2{padding:18px;border-radius:20px}.help-articles-hero-v2 h1{font-size:25px}.help-articles-create-v2{width:100%}.help-articles-bulk-actions-v2,.help-articles-bulk-actions-v2>*{width:100%}}

/* Help article create/edit form polish */
.help-article-form-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.help-article-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}
.help-article-form-hero-v2{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:18px!important;padding:28px!important;border-radius:26px!important;background:linear-gradient(135deg,#10284f 0%,#1f4f8f 55%,#2563eb 100%)!important;color:#fff!important;box-shadow:0 18px 45px rgba(15,35,70,.12)!important;position:relative!important;overflow:hidden!important;margin:0!important;border:0!important}
.help-article-form-hero-v2:after{content:"";position:absolute;right:-92px;top:-96px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.11)}
.help-article-form-hero-v2>div,.help-article-form-back-v2{position:relative;z-index:1}.help-article-form-eyebrow-v2{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px!important}.help-article-form-hero-v2 h1{margin:0 0 9px!important;color:#fff!important;font-size:32px!important;line-height:1.08!important;letter-spacing:-.035em!important}.help-article-form-hero-v2 .note{margin:0!important;color:rgba(255,255,255,.84)!important;line-height:1.55;font-size:15px;max-width:820px}.help-article-form-back-v2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#fff;color:#12305c;border:1px solid rgba(255,255,255,.30);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.16);white-space:nowrap}.help-article-form-back-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}
.help-article-card-v2{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 16px 36px rgba(17,42,92,.055)!important;padding:22px!important;margin:0!important}.help-article-card-v2 .help-admin-section__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.help-article-card-v2 .help-admin-section__head h2{margin:0!important;color:#10284f!important;font-size:20px!important;letter-spacing:-.015em}.help-article-card-v2 .help-admin-eyebrow{display:block;margin:0 0 7px!important;color:#2563eb!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.1em}.help-article-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.help-article-card-head-v2 .help-admin-eyebrow{display:block;margin:0 0 7px!important;color:#2563eb!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.1em}.help-article-card-head-v2 h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.help-article-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}
.help-article-settings-grid-v2{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr)!important;gap:16px!important}.help-article-settings-grid-v2 .help-admin-field-card{border:1px solid #dce8f6!important;border-radius:20px!important;background:#f8fbff!important;padding:18px!important;box-shadow:none!important}.help-article-settings-grid-v2 .help-admin-field-card--wide{grid-column:span 2}.help-article-settings-grid-v2 h3{margin:0 0 14px!important;color:#10284f!important;font-size:16px!important}.help-admin-field-grid.help-admin-field-grid--two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.help-article-settings-grid-v2 label,.help-article-language-card-v2 label{display:flex;flex-direction:column;gap:7px;color:#243a59!important;font-weight:850!important}.help-article-settings-grid-v2 input,.help-article-settings-grid-v2 select,.help-article-language-card-v2 input,.help-article-language-card-v2 select,.help-article-language-card-v2 textarea{border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fbfdff!important;color:#162b49!important;min-height:48px!important;padding:12px 14px!important;font-weight:700!important;box-sizing:border-box!important;width:100%!important}.help-article-language-card-v2 textarea{resize:vertical}.help-article-settings-grid-v2 input:focus,.help-article-settings-grid-v2 select:focus,.help-article-language-card-v2 input:focus,.help-article-language-card-v2 select:focus,.help-article-language-card-v2 textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}.help-admin-help-text{margin:10px 0 0!important;color:#687991!important;line-height:1.45!important;font-size:13px!important}
.help-admin-toggle{border:1px solid #dce8f6!important;border-radius:18px!important;background:#f8fbff!important;padding:14px 16px!important;min-width:260px}.help-admin-toggle__copy strong{color:#10284f!important}.help-admin-toggle__copy small{color:#687991!important}
.help-article-language-tabs-v2{border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff;padding:14px;margin:0!important}.help-article-language-tabs-v2 .language-tabs-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px!important;padding:10px!important;border:1px solid #dbe7f5!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}.help-article-language-tabs-v2 .language-tab-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #d5e2f2;background:#fff;color:#2563eb;border-radius:999px;min-height:38px;padding:0 13px;font-weight:900;box-shadow:none}.help-article-language-tabs-v2 .language-tab-button.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 10px 22px rgba(47,109,246,.2)}.help-article-language-tabs-v2 .language-tab-status{width:8px;height:8px;border-radius:999px;background:#ef4444}.help-article-language-tabs-v2 .language-tab-status.is-complete{background:#22c55e}.help-article-language-tabs-v2 .language-tab-panel{display:none!important}.help-article-language-tabs-v2 .language-tab-panel.is-active{display:block!important}.help-article-language-card-v2 .help-admin-language-section{margin:0!important;padding:18px!important;border:1px solid #dce8f6!important;border-radius:20px!important;background:#fff!important;box-shadow:none!important}.help-article-language-card-v2 .help-admin-section__head--compact{margin-bottom:16px!important;border-bottom:1px solid #edf2f8!important;padding-bottom:14px!important}.help-article-language-card-v2 .help-admin-section__head--compact h2{font-size:18px!important}.help-admin-translation-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 16px!important}.help-admin-translation-grid .form-grid-span-2{grid-column:span 2}.help-admin-translation-grid textarea{min-height:94px!important}
.help-admin-editor-card{margin-top:18px!important;border:1px solid #dce8f6!important;border-radius:20px!important;background:#f8fbff!important;padding:16px!important;overflow:hidden!important}.help-admin-editor-card h3{margin:0 0 6px!important;color:#10284f!important;font-size:17px!important}.help-admin-editor-card .note{margin:0 0 12px!important;color:#687991!important}.help-inline-admin-tools{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 12px!important}.help-inline-admin-tools .btn-secondary{min-height:36px!important;border-radius:999px!important;padding:0 12px!important;background:#fff!important}.help-admin-editor-card .cke{border:1px solid #d5e2f2!important;border-radius:16px!important;overflow:hidden!important;box-shadow:none!important}.help-admin-editor-card textarea{min-height:360px!important}
.help-article-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:15px 16px!important;border:1px solid #c9dff9!important;border-radius:18px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 18px 36px rgba(18,48,92,.12)!important;backdrop-filter:blur(10px);margin:0!important}.help-article-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.help-article-savebar-v2 span{display:block;color:#687991;font-size:13px}.help-article-savebar-actions-v2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.help-article-savebar-actions-v2 .btn-primary,.help-article-savebar-actions-v2 .btn-secondary{min-height:42px;border-radius:14px;padding:0 16px}
html.admin-theme-dark .help-article-form-page-v2{background:transparent!important}html.admin-theme-dark .help-article-card-v2,html.admin-theme-dark .help-article-settings-grid-v2 .help-admin-field-card,html.admin-theme-dark .help-admin-toggle,html.admin-theme-dark .help-article-language-tabs-v2,html.admin-theme-dark .help-article-language-tabs-v2 .language-tabs-nav,html.admin-theme-dark .help-article-language-card-v2 .help-admin-language-section,html.admin-theme-dark .help-admin-editor-card,html.admin-theme-dark .help-article-savebar-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .help-article-card-v2 .help-admin-section__head,html.admin-theme-dark .help-article-card-head-v2,html.admin-theme-dark .help-article-language-card-v2 .help-admin-section__head--compact{border-color:#334155!important}html.admin-theme-dark .help-article-card-v2 .help-admin-section__head h2,html.admin-theme-dark .help-article-card-head-v2 h2,html.admin-theme-dark .help-article-settings-grid-v2 h3,html.admin-theme-dark .help-admin-toggle__copy strong,html.admin-theme-dark .help-admin-editor-card h3,html.admin-theme-dark .help-article-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .help-article-card-head-v2 p,html.admin-theme-dark .help-admin-help-text,html.admin-theme-dark .help-admin-toggle__copy small,html.admin-theme-dark .help-admin-editor-card .note,html.admin-theme-dark .help-article-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .help-article-settings-grid-v2 label,html.admin-theme-dark .help-article-language-card-v2 label{color:#e2e8f0!important}html.admin-theme-dark .help-article-settings-grid-v2 input,html.admin-theme-dark .help-article-settings-grid-v2 select,html.admin-theme-dark .help-article-language-card-v2 input,html.admin-theme-dark .help-article-language-card-v2 select,html.admin-theme-dark .help-article-language-card-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .help-article-language-tabs-v2 .language-tab-button,html.admin-theme-dark .help-inline-admin-tools .btn-secondary{background:#0f172a!important;border-color:#475569!important;color:#93c5fd!important}html.admin-theme-dark .help-article-language-tabs-v2 .language-tab-button.is-active{background:#2563eb!important;color:#fff!important;border-color:#60a5fa!important}
@media(max-width:1100px){.help-article-form-hero-v2{flex-direction:column}.help-article-form-back-v2{align-self:flex-start}.help-article-settings-grid-v2,.help-admin-field-grid.help-admin-field-grid--two,.help-admin-translation-grid{grid-template-columns:1fr!important}.help-article-settings-grid-v2 .help-admin-field-card--wide,.help-admin-translation-grid .form-grid-span-2{grid-column:span 1!important}.help-admin-toggle{width:100%;box-sizing:border-box}.help-article-language-tabs-v2 .language-tabs-nav{overflow-x:auto;flex-wrap:nowrap}.help-article-language-tabs-v2 .language-tab-button{white-space:nowrap}}@media(max-width:760px){.help-article-form-hero-v2,.help-article-card-v2{padding:18px!important;border-radius:20px!important}.help-article-form-hero-v2 h1{font-size:25px!important}.help-article-form-back-v2{width:100%;box-sizing:border-box}.help-article-savebar-v2{flex-direction:column;align-items:stretch!important}.help-article-savebar-actions-v2,.help-article-savebar-actions-v2 .btn-primary,.help-article-savebar-actions-v2 .btn-secondary{width:100%;justify-content:center}}

/* News posts admin list polish */
.news-posts-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:auto!important}
.news-posts-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%);color:#fff;box-shadow:0 18px 45px rgba(15,35,70,.12);position:relative;overflow:hidden}
.news-posts-hero-v2:after{content:"";position:absolute;right:-90px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.news-posts-hero-copy-v2,.news-posts-hero-actions-v2{position:relative;z-index:1}.news-posts-eyebrow-v2{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.news-posts-hero-v2 .news-posts-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.news-posts-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.news-posts-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:780px}.news-posts-hero-actions-v2 .btn-primary{min-height:44px;border-radius:14px;padding:0 18px;white-space:nowrap;box-shadow:0 12px 24px rgba(7,24,50,.16)}
.news-stats-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.news-stats-grid-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.news-stats-grid-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.news-stats-grid-v2 strong{font-size:24px;color:#13294b;line-height:1.1}.news-stats-grid-v2 small{color:#6b7c92;line-height:1.35}
.news-filter-card-v2,.news-table-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px}.news-filter-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.news-filter-grid-v2 label{display:flex;flex-direction:column;gap:8px;color:#10284f;font-weight:900}.news-filter-grid-v2 select,.news-filter-grid-v2 input{min-height:44px;border:1px solid #d5e2f2;border-radius:14px;background:#fbfdff;color:#13294b;padding:0 12px;font-weight:750}.news-filter-grid-v2 select:focus,.news-filter-grid-v2 input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.news-filter-actions-v2{display:flex;gap:10px;margin-top:14px}.news-filter-actions-v2 .btn-primary,.news-filter-actions-v2 .btn-secondary{min-height:42px;border-radius:13px;padding:0 16px}
.news-table-card-v2{display:flex;flex-direction:column;gap:16px;padding:20px;min-height:0!important}.news-table-head-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.news-table-head-v2 h2{margin:10px 0 5px;color:#10284f;font-size:22px;letter-spacing:-.018em}.news-table-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.news-table-count-v2{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.news-table-wrap-v2{overflow:hidden;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.news-table-v2{width:100%;border-collapse:separate;border-spacing:0}.news-table-v2 th,.news-table-v2 td{padding:14px 14px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.news-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.news-table-v2 tbody tr:hover{background:#fbfdff}.news-table-v2 tbody tr:last-child td{border-bottom:0}.news-id-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.news-title-cell-v2{display:flex;flex-direction:column;gap:4px;min-width:0}.news-title-cell-v2 strong{color:#10284f;font-size:14px}.news-title-cell-v2 small{color:#13294b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.news-title-cell-v2 span{color:#687991;font-size:12px;line-height:1.35}.news-soft-pill-v2,.news-metric-pill-v2{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:#f8fbff;border:1px solid #dce8f6;color:#1f3a5f;font-size:12px;font-weight:850;white-space:nowrap}.news-metric-pill-v2{background:#eef5ff;color:#1e4d88}.news-status-pill-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569}.news-status-pill-v2.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.news-status-pill-v2.is-muted{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.news-table-v2 th.action-col,.news-table-v2 td.action-col{text-align:right!important}.news-action-menu-v2{display:flex;justify-content:flex-end}.news-action-menu-v2 .action-trigger{min-height:38px;border-radius:14px;padding:0 12px}.news-action-menu-v2 .action-menu-panel,.news-action-menu-v2 .action-menu-panel a{text-align:left!important}.news-empty-v2{display:flex;align-items:center;justify-content:center;min-height:130px;border:1px dashed #c6d8ee;border-radius:16px;background:#fbfdff;color:#64748b}
html.admin-theme-dark .news-stats-grid-v2 article,html.admin-theme-dark .news-filter-card-v2,html.admin-theme-dark .news-table-card-v2,html.admin-theme-dark .news-table-wrap-v2,html.admin-theme-dark .news-table-count-v2,html.admin-theme-dark .news-soft-pill-v2,html.admin-theme-dark .news-metric-pill-v2,html.admin-theme-dark .news-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .news-table-head-v2{border-color:#334155}html.admin-theme-dark .news-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .news-table-v2 td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .news-table-v2 tbody tr{background:#12233b!important}html.admin-theme-dark .news-table-v2 tbody tr:nth-child(even){background:#102039!important}html.admin-theme-dark .news-table-v2 tbody tr:hover{background:#172d4b!important}html.admin-theme-dark .news-table-head-v2 h2,html.admin-theme-dark .news-stats-grid-v2 strong,html.admin-theme-dark .news-title-cell-v2 strong,html.admin-theme-dark .news-title-cell-v2 small{color:#f8fafc!important}html.admin-theme-dark .news-table-head-v2 p,html.admin-theme-dark .news-stats-grid-v2 span,html.admin-theme-dark .news-stats-grid-v2 small,html.admin-theme-dark .news-title-cell-v2 span{color:#94a3b8!important}html.admin-theme-dark .news-filter-grid-v2 label{color:#e2e8f0!important}html.admin-theme-dark .news-filter-grid-v2 select,html.admin-theme-dark .news-filter-grid-v2 input{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .news-id-pill-v2{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .news-status-pill-v2.is-active{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .news-status-pill-v2.is-muted{background:#334155!important;color:#e2e8f0!important;border-color:#64748b!important}
@media(max-width:1200px){.news-filter-grid-v2,.news-stats-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.news-table-wrap-v2{overflow-x:auto}.news-table-v2{min-width:1100px}}@media(max-width:760px){.news-posts-hero-v2,.news-filter-card-v2,.news-table-card-v2{padding:16px;border-radius:20px}.news-posts-hero-v2{flex-direction:column}.news-posts-hero-v2 h1{font-size:25px}.news-filter-grid-v2,.news-stats-grid-v2{grid-template-columns:1fr}.news-filter-actions-v2,.news-table-head-v2{flex-direction:column;align-items:stretch}.news-filter-actions-v2 .btn-primary,.news-filter-actions-v2 .btn-secondary,.news-posts-hero-actions-v2 .btn-primary{width:100%;justify-content:center}}

/* News post create/edit form polish */
.news-post-form-page-v2{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.news-post-form-page-v2 .news-post-admin-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.news-post-form-hero-v2{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:28px;
  border-radius:26px;
  background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%);
  color:#fff;
  box-shadow:0 18px 45px rgba(15,35,70,.12);
  position:relative;
  overflow:hidden;
}
.news-post-form-hero-v2:after{
  content:"";
  position:absolute;
  right:-92px;
  top:-96px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
}
.news-post-form-hero-copy-v2,
.news-post-form-hero-actions-v2{position:relative;z-index:1}
.news-post-form-eyebrow-v2{
  display:inline-flex;
  width:max-content;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#eaf3ff;
  border:1px solid rgba(255,255,255,.22);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.news-post-form-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}
.news-post-form-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:820px}
.news-post-form-hero-actions-v2{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.news-post-form-hero-actions-v2 .btn-secondary{min-height:42px;border-radius:14px;padding:0 16px;background:#fff;color:#12305c;border-color:rgba(255,255,255,.32);box-shadow:0 12px 24px rgba(7,24,50,.16)}
.news-post-form-page-v2 .news-post-admin-form{gap:18px!important}
.news-post-form-page-v2 .news-admin-section{
  border:1px solid #d8e4f3!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 16px 36px rgba(17,42,92,.055)!important;
  padding:22px!important;
  overflow:hidden;
}
.news-post-form-page-v2 .news-admin-section__head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:18px!important;
  padding-bottom:16px!important;
  margin-bottom:18px!important;
  border-bottom:1px solid #edf2f8!important;
}
.news-post-form-page-v2 .news-admin-section__head h2{margin:0 0 5px!important;color:#10284f!important;font-size:20px!important;letter-spacing:-.015em!important}
.news-post-form-page-v2 .news-admin-section__head p{margin:0!important;color:#687991!important;font-size:13px!important;line-height:1.45!important;max-width:620px!important;text-align:right!important}
.news-post-form-page-v2 .news-admin-grid{gap:16px 18px!important}
.news-post-form-page-v2 .news-admin-grid label,
.news-post-form-page-v2 .news-admin-image-panel__fields label:not(.news-admin-check-row){font-weight:850!important;color:#243a59!important;gap:8px!important}
.news-post-form-page-v2 .news-admin-grid input:not([type="checkbox"]),
.news-post-form-page-v2 .news-admin-grid select,
.news-post-form-page-v2 .news-admin-grid textarea,
.news-post-form-page-v2 .news-admin-image-panel__fields input:not([type="checkbox"]),
.news-post-form-page-v2 .news-admin-image-panel__fields select{
  min-height:48px!important;
  border:1px solid #d5e2f2!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  color:#162b49!important;
  padding:12px 14px!important;
  font-weight:700!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
.news-post-form-page-v2 .news-admin-grid textarea{line-height:1.5!important;resize:vertical!important}
.news-post-form-page-v2 .news-admin-grid input:focus,
.news-post-form-page-v2 .news-admin-grid select:focus,
.news-post-form-page-v2 .news-admin-grid textarea:focus,
.news-post-form-page-v2 .news-admin-image-panel__fields input:focus,
.news-post-form-page-v2 .news-admin-image-panel__fields select:focus{
  outline:none!important;
  border-color:#3b82f6!important;
  box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;
  background:#fff!important;
}
.news-post-form-page-v2 .news-admin-two-column{grid-template-columns:minmax(420px,.85fr) minmax(520px,1.15fr)!important;gap:18px!important}
.news-post-form-page-v2 .news-admin-image-panel{
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  gap:16px!important;
}
.news-post-form-page-v2 .news-admin-image-panel__preview{
  min-height:190px!important;
  border:1px dashed #b9c7db!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#f8fbff,#eef5ff)!important;
  color:#64748b!important;
  font-weight:900!important;
}
.news-post-form-page-v2 .news-admin-newsletter{
  margin-top:16px!important;
  padding:16px!important;
  border:1px solid #dce8f6!important;
  border-radius:18px!important;
  background:#f8fbff!important;
  display:grid!important;
  gap:10px!important;
}
.news-post-form-page-v2 .news-admin-newsletter>strong{font-size:15px!important;color:#10284f!important}
.news-post-form-page-v2 .news-admin-check-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:46px!important;
  padding:12px 14px!important;
  border:1px solid #dce8f6!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#13294b!important;
  font-weight:850!important;
}
.news-post-form-page-v2 .news-admin-check-row input[type="checkbox"]{width:18px!important;height:18px!important;min-height:18px!important;accent-color:#2f6df6!important}
.news-post-form-page-v2 .news-admin-check-row:hover{border-color:#bfdbfe!important;background:#f3f7ff!important}
.news-post-form-page-v2 .news-admin-language-tabs .language-tabs-nav{
  border:1px solid #dbe7f5!important;
  background:#f6f9fd!important;
  border-radius:18px!important;
  padding:8px!important;
  margin-bottom:14px!important;
  gap:8px!important;
}
.news-post-form-page-v2 .news-admin-language-tabs .language-tab-button{
  border-radius:13px!important;
  min-height:36px!important;
  padding:0 13px!important;
  font-weight:900!important;
}
.news-post-form-page-v2 .news-admin-language-tabs .language-tab-panel{
  border:1px solid #dbe7f5!important;
  border-radius:20px!important;
  padding:18px!important;
  background:#fff!important;
}
.news-post-form-page-v2 .news-admin-section--content .cke_chrome{
  border-radius:16px!important;
  overflow:hidden!important;
  border:1px solid #d5e2f2!important;
}
.news-post-form-page-v2 .news-admin-section--content .cke_contents{min-height:360px!important}
.news-post-form-page-v2 .news-admin-sticky-actions{
  position:sticky!important;
  bottom:14px!important;
  z-index:10!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  padding:14px!important;
  border:1px solid #c9dff9!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 18px 36px rgba(18,48,92,.12)!important;
  backdrop-filter:blur(10px)!important;
}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-section,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-newsletter,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-language-tabs .language-tab-panel,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-sticky-actions{
  background:#111827!important;
  border-color:#334155!important;
  box-shadow:none!important;
  color:#e5e7eb!important;
}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-section__head{border-color:#334155!important}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-section__head h2,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-newsletter>strong{color:#f8fafc!important}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-section__head p,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-newsletter .note{color:#94a3b8!important}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-grid label,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-image-panel__fields label{color:#e2e8f0!important}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-grid input:not([type="checkbox"]),
html.admin-theme-dark .news-post-form-page-v2 .news-admin-grid select,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-grid textarea,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-image-panel__fields input:not([type="checkbox"]),
html.admin-theme-dark .news-post-form-page-v2 .news-admin-image-panel__fields select{
  background:#0f172a!important;
  border-color:#475569!important;
  color:#f8fafc!important;
  box-shadow:none!important;
}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-image-panel__preview,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-language-tabs .language-tabs-nav,
html.admin-theme-dark .news-post-form-page-v2 .news-admin-check-row{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
html.admin-theme-dark .news-post-form-page-v2 .news-admin-check-row:hover{background:#10213a!important;border-color:#60a5fa!important}
@media(max-width:1180px){.news-post-form-page-v2 .news-admin-two-column{grid-template-columns:1fr!important}.news-post-form-page-v2 .news-admin-image-panel{grid-template-columns:220px minmax(0,1fr)!important}.news-post-form-hero-v2{flex-direction:column}.news-post-form-hero-actions-v2{justify-content:flex-start}}
@media(max-width:760px){.news-post-form-hero-v2,.news-post-form-page-v2 .news-admin-section{padding:18px!important;border-radius:20px!important}.news-post-form-hero-v2 h1{font-size:25px!important}.news-post-form-page-v2 .news-admin-grid--2,.news-post-form-page-v2 .news-admin-grid--3,.news-post-form-page-v2 .news-admin-image-panel{grid-template-columns:1fr!important}.news-post-form-page-v2 .news-admin-section__head{display:block!important}.news-post-form-page-v2 .news-admin-section__head p{text-align:left!important;margin-top:8px!important}.news-post-form-page-v2 .news-admin-sticky-actions{position:static!important;flex-direction:column!important;align-items:stretch!important}.news-post-form-page-v2 .news-admin-sticky-actions .btn-primary,.news-post-form-page-v2 .news-admin-sticky-actions .btn-secondary,.news-post-form-hero-actions-v2 .btn-secondary{width:100%;justify-content:center}}

/* News categories overview/form polish */
.news-categories-page-v2,.news-category-form-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:auto!important}.news-categories-hero-v2,.news-category-form-hero-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%);color:#fff;box-shadow:0 18px 45px rgba(15,35,70,.12);position:relative;overflow:hidden}.news-categories-hero-v2:after,.news-category-form-hero-v2:after{content:"";position:absolute;right:-90px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.news-categories-hero-copy-v2,.news-categories-hero-actions-v2,.news-category-form-hero-copy-v2,.news-category-form-hero-actions-v2{position:relative;z-index:1}.news-categories-eyebrow-v2{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.24);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.news-categories-hero-v2 h1,.news-category-form-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.news-categories-hero-v2 p,.news-category-form-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:780px}.news-categories-hero-actions-v2 .btn-primary,.news-category-form-hero-actions-v2 .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px;white-space:nowrap;box-shadow:0 12px 24px rgba(7,24,50,.16)}
.news-categories-stats-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.news-categories-stats-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.news-categories-stats-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.news-categories-stats-v2 strong{font-size:20px;color:#13294b;line-height:1.1}.news-categories-stats-v2 small{color:#6b7c92;line-height:1.35}.news-category-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px;display:flex;flex-direction:column;gap:16px;min-height:0!important}.news-category-card-head-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.news-category-card-head-v2 h2{margin:0 0 5px;color:#10284f;font-size:22px;letter-spacing:-.02em}.news-category-table-wrap-v2{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.news-category-table-v2{width:100%;border-collapse:separate;border-spacing:0}.news-category-table-v2 th,.news-category-table-v2 td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.news-category-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.news-category-table-v2 th a{color:inherit;text-decoration:none}.news-category-table-v2 tbody tr:hover{background:#fbfdff}.news-category-table-v2 tbody tr:last-child td{border-bottom:0}.news-category-id-badge-v2{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #cfe2fb;font-weight:900}.news-category-badge-v2,.news-category-count-badge-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;border:1px solid #dbe7f5;background:#f8fbff;color:#1e4d88;font-weight:900}.news-category-count-badge-v2{min-width:34px;color:#13294b}.news-category-table-v2 .category-browser-title a{font-weight:900;color:#10284f;text-decoration:none}.news-category-table-v2 .category-browser-title a:hover{color:#2563eb}.news-category-table-v2 .table-meta{margin-top:4px;color:#687991}.news-category-table-v2 .btn-lite--small{border-radius:14px;padding:9px 11px;white-space:normal;text-align:left}.news-category-table-v2 .action-col{text-align:right!important}.news-category-table-v2 .action-menu{display:flex;justify-content:flex-end}.news-category-bulk-v2{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff;padding:13px 14px}.news-category-bulk-v2--top{justify-content:flex-start}.news-category-bulk-v2--bottom{justify-content:flex-start}.news-category-bulk-v2 button,.news-category-bulk-v2 select,#check-all-categories,#category-bulk-apply{min-height:40px;border-radius:13px;border:1px solid #d5e2f2;background:#fff;color:#12305c;padding:0 14px;font-weight:900;cursor:pointer}#category-bulk-apply{background:#2f6df6;color:#fff;border-color:#2f6df6}.news-category-form-shell-v2{display:flex;flex-direction:column;gap:18px;margin:0}.news-category-form-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 16px 36px rgba(17,42,92,.055);padding:22px}.news-category-form-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.news-category-form-card-head-v2 h2{margin:0 0 5px;color:#10284f;font-size:20px;letter-spacing:-.015em}.news-category-form-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.news-category-form-grid-v2{gap:16px 18px}.news-category-form-grid-v2 label,.news-category-language-tabs-v2 label{font-weight:850;color:#243a59;gap:8px}.news-category-form-grid-v2 input,.news-category-form-grid-v2 select,.news-category-language-tabs-v2 input,.news-category-language-tabs-v2 select,.news-category-language-tabs-v2 textarea{border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fbfdff!important;color:#162b49!important;min-height:48px;padding:12px 14px!important;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.news-category-language-tabs-v2 textarea{line-height:1.5;resize:vertical}.news-category-form-grid-v2 input:focus,.news-category-form-grid-v2 select:focus,.news-category-language-tabs-v2 input:focus,.news-category-language-tabs-v2 textarea:focus{outline:none;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}.news-category-language-tabs-v2 .language-tabs-nav{border:1px solid #d8e4f3!important;border-radius:18px!important;background:#f6f9fd!important;padding:8px!important;margin-bottom:16px!important}.news-category-language-tabs-v2 .language-tab-button{min-height:38px;border-radius:12px!important;font-weight:900!important}.news-category-language-tabs-v2 .language-tab-panel{border:1px solid #dce8f6!important;border-radius:20px!important;background:#fff!important;padding:18px!important}.news-category-form-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.news-category-form-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.news-category-form-savebar-v2 span{display:block;color:#687991;font-size:13px}.news-category-form-savebar-v2>div:last-child{display:flex;gap:10px}
html.admin-theme-dark .news-categories-stats-v2 article,html.admin-theme-dark .news-category-card-v2,html.admin-theme-dark .news-category-table-wrap-v2,html.admin-theme-dark .news-category-form-card-v2,html.admin-theme-dark .news-category-language-tabs-v2 .language-tab-panel,html.admin-theme-dark .news-category-form-savebar-v2,html.admin-theme-dark .news-category-bulk-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .news-category-card-head-v2,html.admin-theme-dark .news-category-form-card-head-v2{border-color:#334155}html.admin-theme-dark .news-category-card-head-v2 h2,html.admin-theme-dark .news-categories-stats-v2 strong,html.admin-theme-dark .news-category-form-card-head-v2 h2,html.admin-theme-dark .news-category-form-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .news-categories-stats-v2 span,html.admin-theme-dark .news-categories-stats-v2 small,html.admin-theme-dark .news-category-form-card-head-v2 p,html.admin-theme-dark .news-category-form-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .news-category-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .news-category-table-v2 td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .news-category-table-v2 .category-browser-title a,html.admin-theme-dark .news-category-count-badge-v2{color:#f8fafc!important}html.admin-theme-dark .news-category-form-grid-v2 input,html.admin-theme-dark .news-category-form-grid-v2 select,html.admin-theme-dark .news-category-language-tabs-v2 input,html.admin-theme-dark .news-category-language-tabs-v2 select,html.admin-theme-dark .news-category-language-tabs-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}html.admin-theme-dark .news-category-language-tabs-v2 .language-tabs-nav{background:#0f172a!important;border-color:#475569!important}html.admin-theme-dark .news-category-id-badge-v2,html.admin-theme-dark .news-category-badge-v2,html.admin-theme-dark .news-category-count-badge-v2{background:#0f172a!important;border-color:#475569!important;color:#dbeafe!important}
@media(max-width:1200px){.news-categories-stats-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.news-category-table-wrap-v2{overflow-x:auto}.news-category-table-v2{min-width:1050px}.news-categories-hero-v2,.news-category-form-hero-v2{flex-direction:column}}@media(max-width:760px){.news-categories-hero-v2,.news-category-form-hero-v2,.news-category-card-v2,.news-category-form-card-v2{padding:16px;border-radius:20px}.news-categories-hero-v2 h1,.news-category-form-hero-v2 h1{font-size:25px}.news-categories-stats-v2,.news-category-form-grid-v2,.news-category-language-tabs-v2 .form-grid{grid-template-columns:1fr!important}.news-category-form-savebar-v2{position:static;flex-direction:column;align-items:stretch}.news-category-form-savebar-v2>div:last-child{flex-direction:column}.news-category-form-savebar-v2 .btn-primary,.news-category-form-savebar-v2 .btn-secondary,.news-categories-hero-actions-v2 .btn-primary,.news-category-form-hero-actions-v2 .btn-secondary{width:100%;justify-content:center}}

/* Newsletter manager polish: compact pages, no empty stretched bottom */
.newsletter-ui-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;align-self:stretch;width:100%;max-width:none;min-height:0!important}.newsletter-ui-page-v2>*{max-width:none!important;box-sizing:border-box}.newsletter-admin-hero{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:22px!important;padding:26px 28px!important;border-radius:26px!important;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(17,42,92,.16)!important;position:relative!important;overflow:hidden!important}.newsletter-admin-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.newsletter-admin-hero>div{position:relative;z-index:1}.newsletter-admin-hero .eyebrow,.newsletter-admin-hero .admin-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24)!important;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.newsletter-admin-hero h1{margin:12px 0 9px!important;color:#fff!important;font-size:32px!important;line-height:1.08!important;letter-spacing:-.035em!important}.newsletter-admin-hero p{margin:0!important;color:rgba(255,255,255,.84)!important;line-height:1.55!important;font-size:15px!important;max-width:820px!important}.newsletter-admin-stats{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(3,minmax(125px,1fr))!important;gap:12px!important;min-width:430px!important}.newsletter-admin-stats .mini-stat{border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.13)!important;border-radius:18px!important;padding:16px 17px!important;backdrop-filter:blur(8px);box-shadow:none!important}.newsletter-admin-stats .mini-stat span{display:block!important;color:#fff!important;font-size:28px!important;line-height:1!important;font-weight:900!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.newsletter-admin-stats .mini-stat small{display:block!important;margin-top:7px!important;color:rgba(255,255,255,.72)!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.07em!important;line-height:1.25!important}.newsletter-ui-page-v2>.card,.newsletter-ui-page-v2 .newsletter-compose-card{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.06)!important;padding:20px!important;margin:0!important;min-height:0!important}.newsletter-ui-page-v2 .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;margin:0 0 16px!important;border-bottom:1px solid #edf2f8}.newsletter-ui-page-v2 .section-head h1,.newsletter-ui-page-v2 .section-head h2{margin:8px 0 6px!important;color:#10284f!important;letter-spacing:-.025em}.newsletter-ui-page-v2 .section-head p,.newsletter-ui-page-v2 .note{color:#687991!important;line-height:1.45!important}.newsletter-actions-top{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin:0 0 14px!important}.newsletter-ui-page-v2 .admin-table,.newsletter-ui-page-v2 .table,.newsletter-ui-page-v2 .data-table{width:100%;border-collapse:separate!important;border-spacing:0!important;margin:0!important}.newsletter-ui-page-v2 .admin-table th,.newsletter-ui-page-v2 .admin-table td,.newsletter-ui-page-v2 .table th,.newsletter-ui-page-v2 .table td,.newsletter-ui-page-v2 .data-table th,.newsletter-ui-page-v2 .data-table td{padding:14px 16px!important;border-bottom:1px solid #e5edf7!important;text-align:left;vertical-align:middle}.newsletter-ui-page-v2 .admin-table th,.newsletter-ui-page-v2 .table th,.newsletter-ui-page-v2 .data-table th{background:#f6f9fd!important;color:#61728c!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.newsletter-ui-page-v2 .admin-table tbody tr:hover,.newsletter-ui-page-v2 .table tbody tr:hover,.newsletter-ui-page-v2 .data-table tbody tr:hover{background:#fbfdff}.newsletter-ui-page-v2 .admin-table tbody tr:last-child td,.newsletter-ui-page-v2 .table tbody tr:last-child td,.newsletter-ui-page-v2 .data-table tbody tr:last-child td{border-bottom:0!important}.newsletter-ui-page-v2 .admin-table td:first-child,.newsletter-ui-page-v2 .table td:first-child{font-weight:900;color:#1e4d88}.newsletter-ui-page-v2 .table-responsive{border:1px solid #dbe7f5;border-radius:18px;background:#fff;overflow:hidden;margin:0!important}.newsletter-ui-page-v2 .action-col{text-align:right!important}.newsletter-ui-page-v2 .table-actions .action-menu{display:flex;justify-content:flex-end}.newsletter-filter-form{display:grid!important;grid-template-columns:minmax(180px,220px) minmax(220px,1fr) auto!important;gap:12px!important;align-items:end!important;margin:0 0 16px!important;padding:16px!important;border:1px solid #dce8f6!important;border-radius:18px!important;background:#f8fbff!important}.newsletter-filter-form label{display:flex;flex-direction:column;gap:7px;font-weight:900;color:#243a59}.newsletter-filter-form label span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#5f728d}.newsletter-filter-form input,.newsletter-filter-form select,.newsletter-ui-page-v2 input,.newsletter-ui-page-v2 select{min-height:44px;border:1px solid #d5e2f2;border-radius:14px;background:#fff;color:#13294b;padding:0 12px;font-weight:750}.newsletter-compose-card .form-grid,.newsletter-ui-page-v2 .settings-grid{gap:14px!important}.newsletter-compose-card label{font-weight:900;color:#243a59}.newsletter-compose-card input,.newsletter-compose-card select,.newsletter-compose-card textarea{border:1px solid #d5e2f2!important;border-radius:14px!important;background:#fbfdff!important;color:#13294b!important}.newsletter-form-header-actions{display:flex;gap:10px;flex-wrap:wrap}.newsletter-compose-card .language-tabs,.newsletter-ui-page-v2 .language-tabs{border:1px solid #dbe7f5;border-radius:20px;background:#fff;padding:16px}.newsletter-compose-card .language-tabs-nav{background:#f1f6fc;border:1px solid #dbe7f5;border-radius:16px;padding:8px;margin-bottom:14px}.newsletter-compose-card .language-tab-button{border-radius:13px!important;min-height:38px;font-weight:900}.newsletter-compose-card .language-tab-button.is-active{background:#2f6df6!important;color:#fff!important;box-shadow:0 10px 20px rgba(47,109,246,.18)!important}.newsletter-compose-card .language-tab-panel{padding:0!important}.newsletter-switch-card{border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;padding:14px 16px!important}.newsletter-compose-card .editor-wrap{border:1px solid #dbe7f5;border-radius:18px;background:#fff;padding:14px;overflow:hidden}.newsletter-compose-card .editor-wrap h3{margin:0 0 6px;color:#10284f}.newsletter-compose-card .cke{border-radius:14px!important;overflow:hidden;border-color:#dbe7f5!important}.newsletter-admin-hint{border:1px dashed #bfdbfe!important;border-radius:18px!important;background:#eff6ff!important;padding:13px 15px!important;color:#39506d!important}.newsletter-form-actions{position:sticky;bottom:14px;z-index:6;display:flex!important;justify-content:flex-end!important;gap:10px!important;padding:14px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px);margin:0!important}.newsletter-status-pill{border-radius:999px!important;padding:7px 11px!important;font-size:12px!important;font-weight:900!important;text-transform:none!important}.newsletter-status-pill.is-confirmed{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#15803d!important}.newsletter-status-pill.is-pending{background:#fff8ed!important;border-color:#fed7aa!important;color:#9a5a04!important}.newsletter-ui-page-v2 tr td[colspan]{padding:26px 18px!important;color:#64748b!important;background:#fbfdff!important;text-align:center!important;border-radius:18px!important}.newsletter-row-highlight{background:#eff6ff!important}
html.admin-theme-dark .newsletter-ui-page-v2{background:transparent!important}html.admin-theme-dark .newsletter-ui-page-v2>.card,html.admin-theme-dark .newsletter-ui-page-v2 .newsletter-compose-card,html.admin-theme-dark .newsletter-ui-page-v2 .table-responsive,html.admin-theme-dark .newsletter-filter-form,html.admin-theme-dark .newsletter-compose-card .language-tabs,html.admin-theme-dark .newsletter-compose-card .editor-wrap,html.admin-theme-dark .newsletter-switch-card,html.admin-theme-dark .newsletter-form-actions{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}html.admin-theme-dark .newsletter-ui-page-v2 .section-head{border-color:#334155!important}html.admin-theme-dark .newsletter-ui-page-v2 .section-head h1,html.admin-theme-dark .newsletter-ui-page-v2 .section-head h2,html.admin-theme-dark .newsletter-compose-card .editor-wrap h3,html.admin-theme-dark .newsletter-compose-card label{color:#f8fafc!important}html.admin-theme-dark .newsletter-ui-page-v2 .section-head p,html.admin-theme-dark .newsletter-ui-page-v2 .note,html.admin-theme-dark .newsletter-filter-form label span{color:#94a3b8!important}html.admin-theme-dark .newsletter-ui-page-v2 input,html.admin-theme-dark .newsletter-ui-page-v2 select,html.admin-theme-dark .newsletter-ui-page-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .newsletter-ui-page-v2 .admin-table th,html.admin-theme-dark .newsletter-ui-page-v2 .table th,html.admin-theme-dark .newsletter-ui-page-v2 .data-table th{background:#0f172a!important;color:#94a3b8!important;border-color:#334155!important}html.admin-theme-dark .newsletter-ui-page-v2 .admin-table td,html.admin-theme-dark .newsletter-ui-page-v2 .table td,html.admin-theme-dark .newsletter-ui-page-v2 .data-table td{border-color:#334155!important;color:#e5e7eb!important}html.admin-theme-dark .newsletter-ui-page-v2 tbody tr:hover{background:#172033!important}html.admin-theme-dark .newsletter-compose-card .language-tabs-nav{background:#0f172a!important;border-color:#334155!important}html.admin-theme-dark .newsletter-admin-hint{background:#10213a!important;border-color:#3b82f6!important;color:#dbeafe!important}html.admin-theme-dark .newsletter-status-pill.is-confirmed{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .newsletter-status-pill.is-pending{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}
@media(max-width:1100px){.newsletter-admin-hero{flex-direction:column}.newsletter-admin-stats{width:100%;min-width:0!important}.newsletter-filter-form{grid-template-columns:1fr!important}.newsletter-ui-page-v2 .admin-table,.newsletter-ui-page-v2 .table,.newsletter-ui-page-v2 .data-table{min-width:900px}.newsletter-ui-page-v2>.card{overflow-x:auto}}@media(max-width:760px){.newsletter-admin-hero,.newsletter-ui-page-v2>.card,.newsletter-ui-page-v2 .newsletter-compose-card{padding:16px!important;border-radius:20px!important}.newsletter-admin-hero h1{font-size:25px!important}.newsletter-admin-stats{grid-template-columns:1fr!important}.newsletter-form-header-actions,.newsletter-actions-top,.newsletter-form-actions{flex-direction:column;align-items:stretch!important}.newsletter-form-actions .btn-primary,.newsletter-form-actions .btn-secondary,.newsletter-actions-top .btn-primary,.newsletter-actions-top .btn-secondary{width:100%;justify-content:center}.newsletter-compose-card .form-grid,.newsletter-ui-page-v2 .settings-grid{grid-template-columns:1fr!important}}

/* Tickets admin polish */
.ticket-admin-page-v2,.ticket-form-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:0!important}.ticket-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.ticket-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.ticket-hero-copy-v2{position:relative;z-index:1;max-width:860px}.ticket-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ticket-hero-v2 .ticket-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}.ticket-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.ticket-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}.ticket-hero-action-v2{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;background:#2f6df6;color:#fff;border:1px solid rgba(255,255,255,.22);font-weight:900;text-decoration:none;box-shadow:0 12px 24px rgba(7,24,50,.18);white-space:nowrap}.ticket-hero-action-v2:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(7,24,50,.22)}.ticket-summary-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ticket-summary-grid-v2--small{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-summary-grid-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}.ticket-summary-grid-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}.ticket-summary-grid-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticket-summary-grid-v2 small{color:#6b7c92;line-height:1.35}.ticket-filter-card-v2,.ticket-list-card-v2,.ticket-form-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:20px}.ticket-filter-form-v2{display:grid;grid-template-columns:minmax(240px,1fr) repeat(3,minmax(180px,.7fr));gap:14px;align-items:end;margin:0}.ticket-filter-field-v2{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:900;color:#10284f}.ticket-filter-field-v2 span,.ticket-form-grid-v2 label span,.ticket-full-field-v2>span{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#5f728d;font-weight:900}.ticket-filter-field-v2 input,.ticket-filter-field-v2 select,.ticket-form-grid-v2 input,.ticket-form-grid-v2 select,.ticket-full-field-v2 textarea{min-height:50px;border:1px solid #d5e2f2;border-radius:16px;background:#fbfdff;color:#13294b;padding:0 14px;font-weight:750}.ticket-full-field-v2 textarea{padding:13px 14px;min-height:170px;resize:vertical}.ticket-filter-field-v2 input:focus,.ticket-filter-field-v2 select:focus,.ticket-form-grid-v2 input:focus,.ticket-form-grid-v2 select:focus,.ticket-full-field-v2 textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.ticket-filter-actions-v2{display:flex;gap:10px;align-items:center}.ticket-filter-actions-v2 .btn-primary,.ticket-filter-actions-v2 .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px}.ticket-list-card-v2{display:flex;flex-direction:column;gap:18px;min-height:0!important}.ticket-list-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.ticket-list-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.ticket-list-head-v2 p{margin:0;color:#687991;line-height:1.45}.ticket-list-count-v2{border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-size:13px;font-weight:900;padding:9px 12px;white-space:nowrap}.ticket-table-wrap-v2{overflow:visible;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.ticket-table-v2{width:100%;border-collapse:separate;border-spacing:0}.ticket-table-v2 th,.ticket-table-v2 td{padding:15px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.ticket-table-v2 th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ticket-table-v2 th:first-child{border-top-left-radius:18px}.ticket-table-v2 th:last-child{border-top-right-radius:18px}.ticket-table-v2 tr:last-child td{border-bottom:0}.ticket-table-v2 th a{color:inherit;text-decoration:none}.ticket-table-v2 tbody tr:hover{background:#fbfdff}.ticket-table-v2 .action-col{text-align:right!important}.ticket-table-v2 .action-col .action-menu{display:flex;justify-content:flex-end;width:100%}.ticket-title-cell-v2{display:flex;flex-direction:column;gap:4px;min-width:0}.ticket-title-cell-v2 strong,.ticket-row-title-v2{display:block;color:#10284f;font-size:15px;line-height:1.25;overflow-wrap:anywhere}.ticket-title-cell-v2 small{color:#6b7c92}.ticket-id-badge-v2,.ticket-order-badge-v2,.ticket-soft-badge-v2{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;white-space:nowrap}.ticket-id-badge-v2,.ticket-order-badge-v2{background:#eef5ff;color:#1e4d88;border-color:#d7e7fb}.ticket-soft-badge-v2{background:#f8fbff;color:#334155}.ticket-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;white-space:nowrap}.ticket-status-open{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.ticket-status-in-progress{background:#eef5ff;color:#1d4ed8;border-color:#cfe2fb}.ticket-status-closed{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.ticket-empty-v2{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;min-height:150px;border:1px dashed #c6d8ee;border-radius:18px;background:#fbfdff;color:#536982}.ticket-empty-v2 strong{color:#13294b;font-size:16px}.ticket-empty-v2 span{color:#64748b}.ticket-form-shell-v2{display:flex;flex-direction:column;gap:18px;margin:0}.ticket-card-head-v2{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.ticket-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:22px;letter-spacing:-.015em}.ticket-card-head-v2 p{margin:0;color:#687991;font-size:13px;line-height:1.45}.ticket-form-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ticket-form-grid-v2--compact{grid-template-columns:160px 1fr 1fr;align-items:end}.ticket-form-grid-v2 label,.ticket-full-field-v2{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:900;color:#10284f}.ticket-dropzone-v2{min-height:120px;border:1px dashed #bfd2eb!important;border-radius:20px;background:#f8fbff;display:flex;align-items:center;justify-content:center;text-align:center;padding:22px}.ticket-inline-form-v2{display:flex;align-items:end;gap:14px;padding:16px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;margin:0}.ticket-inline-form-v2 .btn-primary{min-height:48px;border-radius:14px}.ticket-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.ticket-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.ticket-savebar-v2 span{display:block;color:#687991;font-size:13px}.ticket-savebar-v2>div:last-child{display:flex;gap:10px;flex-wrap:wrap}.ticket-savebar-v2 .btn-primary,.ticket-savebar-v2 .btn-secondary{min-height:44px;border-radius:14px;padding:0 16px}
html.admin-theme-dark .ticket-admin-page-v2,html.admin-theme-dark .ticket-form-page-v2{background:transparent!important}html.admin-theme-dark .ticket-summary-grid-v2 article,html.admin-theme-dark .ticket-filter-card-v2,html.admin-theme-dark .ticket-list-card-v2,html.admin-theme-dark .ticket-table-wrap-v2,html.admin-theme-dark .ticket-table-v2,html.admin-theme-dark .ticket-form-card-v2,html.admin-theme-dark .ticket-inline-form-v2,html.admin-theme-dark .ticket-savebar-v2,html.admin-theme-dark .ticket-dropzone-v2,html.admin-theme-dark .ticket-empty-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .ticket-table-v2 th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .ticket-table-v2 td{border-color:#334155!important;color:#e5e7eb!important}html.admin-theme-dark .ticket-table-v2 tbody tr:hover{background:#172033!important}html.admin-theme-dark .ticket-list-head-v2 h2,html.admin-theme-dark .ticket-summary-grid-v2 strong,html.admin-theme-dark .ticket-title-cell-v2 strong,html.admin-theme-dark .ticket-row-title-v2,html.admin-theme-dark .ticket-card-head-v2 h2,html.admin-theme-dark .ticket-savebar-v2 strong,html.admin-theme-dark .ticket-empty-v2 strong{color:#f8fafc!important}html.admin-theme-dark .ticket-list-head-v2 p,html.admin-theme-dark .ticket-summary-grid-v2 span,html.admin-theme-dark .ticket-summary-grid-v2 small,html.admin-theme-dark .ticket-title-cell-v2 small,html.admin-theme-dark .ticket-card-head-v2 p,html.admin-theme-dark .ticket-savebar-v2 span,html.admin-theme-dark .ticket-empty-v2 span{color:#94a3b8!important}html.admin-theme-dark .ticket-filter-field-v2,html.admin-theme-dark .ticket-form-grid-v2 label,html.admin-theme-dark .ticket-full-field-v2{color:#e2e8f0!important}html.admin-theme-dark .ticket-filter-field-v2 input,html.admin-theme-dark .ticket-filter-field-v2 select,html.admin-theme-dark .ticket-form-grid-v2 input,html.admin-theme-dark .ticket-form-grid-v2 select,html.admin-theme-dark .ticket-full-field-v2 textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .ticket-list-count-v2,html.admin-theme-dark .ticket-id-badge-v2,html.admin-theme-dark .ticket-order-badge-v2,html.admin-theme-dark .ticket-soft-badge-v2{background:#0f172a!important;border-color:#475569!important;color:#bfdbfe!important}html.admin-theme-dark .ticket-status-open{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .ticket-status-in-progress{background:#1e40af!important;color:#dbeafe!important;border-color:#60a5fa!important}html.admin-theme-dark .ticket-status-closed{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}
@media(max-width:1200px){.ticket-hero-v2{flex-direction:column}.ticket-filter-form-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-filter-actions-v2{grid-column:1/-1}.ticket-summary-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-table-wrap-v2{overflow-x:auto}.ticket-table-v2{min-width:1050px}.ticket-inline-form-v2{flex-direction:column;align-items:stretch}.ticket-form-grid-v2--compact{grid-template-columns:1fr 1fr}}@media(max-width:760px){.ticket-hero-v2,.ticket-filter-card-v2,.ticket-list-card-v2,.ticket-form-card-v2{padding:18px;border-radius:20px}.ticket-hero-v2 h1{font-size:25px}.ticket-filter-form-v2,.ticket-summary-grid-v2,.ticket-form-grid-v2,.ticket-form-grid-v2--compact{grid-template-columns:1fr}.ticket-list-head-v2,.ticket-savebar-v2{flex-direction:column;align-items:stretch}.ticket-filter-actions-v2,.ticket-savebar-v2>div:last-child{flex-direction:column}.ticket-filter-actions-v2 .btn-primary,.ticket-filter-actions-v2 .btn-secondary,.ticket-savebar-v2 .btn-primary,.ticket-savebar-v2 .btn-secondary,.ticket-hero-action-v2{width:100%;justify-content:center}}

/* Logs and protocol pages polish */
.admin-log-page,
.audit-log-page{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  width:100%!important;
  max-width:none!important;
  display:flex;
  flex-direction:column;
  gap:18px;
  align-self:flex-start!important;
}
.admin-log-form{margin:0;display:flex;flex-direction:column;gap:18px}.admin-log-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.admin-log-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.admin-log-hero>div{position:relative;z-index:1}.admin-log-eyebrow{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff;border:1px solid rgba(255,255,255,.24);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.admin-log-eyebrow--light{background:#eef5ff;color:#1e4d88;border-color:#d7e7fb}.admin-log-hero h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.admin-log-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px;max-width:760px}.admin-log-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:12px;min-width:430px}.admin-log-hero-stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}.admin-log-hero-stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.admin-log-hero-stats strong{display:block;color:#fff;font-size:28px;line-height:1}.admin-log-hero-stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800}.admin-log-card,.admin-log-filter-card{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:20px}.admin-log-card{display:flex;flex-direction:column;gap:18px}.admin-log-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}.admin-log-card-head h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}.admin-log-card-head p{margin:0;color:#687991;line-height:1.45}.admin-log-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:13px;border:1px solid #d5e2f2;background:#fff;color:#12305c;font-weight:900;cursor:pointer;white-space:nowrap}.admin-log-table-wrap{border:1px solid #dbe7f5;border-radius:18px;background:#fff;overflow:hidden}.admin-log-table{width:100%;border-collapse:separate;border-spacing:0;margin:0}.admin-log-table th,.admin-log-table td{padding:14px 16px;border-bottom:1px solid #e5edf7;text-align:left;vertical-align:middle}.admin-log-table th{background:#f6f9fd;color:#61728c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.admin-log-table tbody tr:hover{background:#fbfdff}.admin-log-table tbody tr:last-child td{border-bottom:0}.admin-log-check{width:54px;text-align:center!important}.admin-log-checkbox{width:16px;height:16px;accent-color:#2f6df6}.admin-log-id{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;font-weight:900}.admin-log-pill{display:inline-flex;align-items:center;width:max-content;max-width:260px;padding:7px 10px;border-radius:999px;background:#f8fbff;border:1px solid #dbe7f5;color:#244160;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-log-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid #dbe7f5;background:#f1f5f9;color:#475569;white-space:nowrap}.admin-log-status--sent,.admin-log-status--success,.admin-log-status--succeeded,.admin-log-status--processed,.admin-log-status--ok,.admin-log-status--info{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.admin-log-status--queued,.admin-log-status--pending,.admin-log-status--created,.admin-log-status--warning{background:#fff8ed;color:#9a5a04;border-color:#fed7aa}.admin-log-status--failed,.admin-log-status--error{background:#fff1f2;color:#be123c;border-color:#fecdd3}.admin-log-meta{max-width:720px;white-space:normal;overflow-wrap:anywhere;color:#52677f}.admin-log-meta code{display:block;max-height:110px;overflow:auto;background:#f8fbff;border:1px solid #dce8f6;border-radius:12px;padding:10px;color:#263c59;white-space:pre-wrap}.admin-log-footer-actions{display:flex;justify-content:flex-start;padding-top:2px}.admin-log-details summary{margin-top:6px;color:#2563eb;font-weight:800;cursor:pointer}.admin-log-details pre{max-width:760px;max-height:260px;overflow:auto;padding:12px;border:1px solid #dce8f6;border-radius:12px;background:#f8fbff;color:#263c59;white-space:pre-wrap}.admin-log-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:210px;border:1px dashed #c6d8ee;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f8fbff);padding:32px;color:#536982}.admin-log-empty div{width:54px;height:54px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf3;color:#15803d;font-weight:1000;font-size:22px;border:1px solid #bdeccd}.admin-log-empty strong{color:#13294b;font-size:18px}.admin-log-empty p{margin:0;color:#64748b;line-height:1.55}.admin-log-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:14px;align-items:end;margin:0}.admin-log-filter-grid--compact{grid-template-columns:minmax(260px,1fr) minmax(220px,320px) auto}.admin-log-filter-grid label{display:flex;flex-direction:column;gap:8px;margin:0}.admin-log-filter-grid label span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#24354d}.admin-log-filter-grid input,.admin-log-filter-grid select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:16px;background:#fbfdff;color:#13294b;padding:0 14px;font-weight:750}.admin-log-filter-grid input:focus,.admin-log-filter-grid select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}.admin-log-filter-actions{display:flex;gap:10px;align-items:center}.admin-log-filter-actions .btn-primary,.admin-log-filter-actions .btn-secondary{min-height:44px;border-radius:14px;padding:0 18px}.audit-log-hero{border-radius:26px!important;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%)!important;box-shadow:0 24px 60px rgba(17,42,92,.18)!important}.audit-log-card{border-radius:24px!important;box-shadow:0 18px 45px rgba(15,35,70,.06)!important;min-height:auto!important}.audit-log-table-wrap{border-radius:18px!important;overflow:hidden!important}.audit-log-empty{min-height:210px!important}.audit-log-page .audit-log-card{height:auto!important}.audit-log-page:after,.admin-log-page:after{display:none!important;content:none!important}
html.admin-theme-dark .admin-log-page,html.admin-theme-dark .audit-log-page{background:transparent!important}html.admin-theme-dark .admin-log-card,html.admin-theme-dark .admin-log-filter-card,html.admin-theme-dark .admin-log-table-wrap,html.admin-theme-dark .admin-log-empty,html.admin-theme-dark .admin-log-meta code,html.admin-theme-dark .admin-log-details pre{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .admin-log-table th{background:#0f172a!important;color:#94a3b8!important}html.admin-theme-dark .admin-log-table td{border-color:#334155!important;color:#eaf2ff!important}html.admin-theme-dark .admin-log-table tbody tr:hover{background:#172d4b!important}html.admin-theme-dark .admin-log-card-head h2,html.admin-theme-dark .admin-log-empty strong{color:#f8fafc!important}html.admin-theme-dark .admin-log-card-head p,html.admin-theme-dark .admin-log-empty p,html.admin-theme-dark .admin-log-meta{color:#94a3b8!important}html.admin-theme-dark .admin-log-eyebrow--light{background:#0f172a!important;border-color:#475569!important;color:#93c5fd!important}html.admin-theme-dark .admin-log-id{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}html.admin-theme-dark .admin-log-pill,html.admin-theme-dark .admin-log-secondary-button{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .admin-log-filter-grid label span{color:#cbd5e1!important}html.admin-theme-dark .admin-log-filter-grid input,html.admin-theme-dark .admin-log-filter-grid select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .admin-log-status--sent,html.admin-theme-dark .admin-log-status--success,html.admin-theme-dark .admin-log-status--succeeded,html.admin-theme-dark .admin-log-status--processed,html.admin-theme-dark .admin-log-status--ok,html.admin-theme-dark .admin-log-status--info{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .admin-log-status--queued,html.admin-theme-dark .admin-log-status--pending,html.admin-theme-dark .admin-log-status--created,html.admin-theme-dark .admin-log-status--warning{background:#78350f!important;color:#ffedd5!important;border-color:#f59e0b!important}html.admin-theme-dark .admin-log-status--failed,html.admin-theme-dark .admin-log-status--error{background:#7f1d1d!important;color:#fee2e2!important;border-color:#ef4444!important}
@media(max-width:1250px){.admin-log-hero{flex-direction:column}.admin-log-hero-stats{width:100%;min-width:0}.admin-log-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-log-filter-actions{grid-column:1/-1}.admin-log-table-wrap{overflow-x:auto}.admin-log-table{min-width:980px}}@media(max-width:760px){.admin-log-hero,.admin-log-card,.admin-log-filter-card{padding:16px;border-radius:20px}.admin-log-hero h1{font-size:25px}.admin-log-hero-stats,.admin-log-filter-grid{grid-template-columns:1fr}.admin-log-card-head{flex-direction:column}.admin-log-filter-actions{flex-direction:column;align-items:stretch}.admin-log-filter-actions .btn-primary,.admin-log-filter-actions .btn-secondary{width:100%;justify-content:center}}

/* Audit logs refinement: clearer hero, compact table, no stretched empty area */
.audit-log-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  align-self:stretch!important;
}
.audit-log-hero{
  align-items:flex-start!important;
  min-height:auto!important;
  padding:26px 28px!important;
  border:0!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.18)!important;
  position:relative!important;
  overflow:hidden!important;
}
.audit-log-hero:after{
  content:""!important;
  position:absolute!important;
  right:-85px!important;
  top:-95px!important;
  width:280px!important;
  height:280px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
}
.audit-log-hero > div{position:relative!important;z-index:1!important}
.audit-log-eyebrow{
  display:inline-flex!important;
  width:max-content!important;
  margin:0!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.audit-log-hero h1{
  margin:12px 0 9px!important;
  color:#fff!important;
  font-size:32px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.audit-log-hero p{
  margin:0!important;
  color:rgba(255,255,255,.84)!important;
  line-height:1.55!important;
  font-size:15px!important;
  max-width:760px!important;
}
.audit-log-hero-stats-v2{
  display:grid!important;
  grid-template-columns:minmax(135px,1fr)!important;
  gap:12px!important;
  min-width:150px!important;
}
.audit-log-hero-stats-v2 article{
  border:1px solid rgba(255,255,255,.22)!important;
  background:rgba(255,255,255,.13)!important;
  border-radius:18px!important;
  padding:16px 17px!important;
  backdrop-filter:blur(8px)!important;
}
.audit-log-hero-stats-v2 span{
  display:block!important;
  margin-bottom:8px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.07em!important;
}
.audit-log-hero-stats-v2 strong{display:block!important;color:#fff!important;font-size:30px!important;line-height:1!important}
.audit-log-hero-stats-v2 small{display:block!important;margin-top:7px!important;color:rgba(255,255,255,.72)!important;font-size:12px!important;font-weight:800!important}
.audit-log-card{
  height:auto!important;
  min-height:0!important;
  border:1px solid #d8e4f3!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 18px 45px rgba(15,35,70,.06)!important;
  padding:0!important;
  overflow:hidden!important;
}
.audit-log-toolbar-v2{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:18px 20px!important;
  border-bottom:1px solid #dbe7f5!important;
  background:#f8fbff!important;
}
.audit-log-toolbar-v2 strong{display:block!important;color:#10284f!important;font-size:16px!important;margin-bottom:4px!important}
.audit-log-toolbar-v2 span{display:block!important;color:#687991!important;font-size:13px!important;line-height:1.4!important}
.audit-log-secondary-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:13px!important;
  border:1px solid #d5e2f2!important;
  background:#fff!important;
  color:#12305c!important;
  font-weight:900!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.audit-log-table-wrap{
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  overflow:hidden!important;
}
.audit-log-table{table-layout:fixed!important;width:100%!important}
.audit-log-table th,.audit-log-table td{
  padding:13px 16px!important;
  border-bottom:1px solid #e5edf7!important;
  vertical-align:top!important;
}
.audit-log-table thead th{
  position:static!important;
  background:#f6f9fd!important;
  color:#61728c!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.audit-log-table tbody tr:hover{background:#fbfdff!important}
.audit-log-table tbody tr:nth-child(even){background:#fcfdff!important}
.audit-log-table tbody tr:last-child td{border-bottom:0!important}
.audit-log-check{width:54px!important;text-align:center!important}.audit-log-table th:nth-child(2){width:92px!important}.audit-log-table th:nth-child(3){width:110px!important}.audit-log-table th:nth-child(4){width:150px!important}.audit-log-table th:nth-child(5){width:130px!important}.audit-log-table th:nth-child(6){width:86px!important}
.audit-log-id{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:52px!important;padding:7px 10px!important;border-radius:999px!important;background:#eef5ff!important;color:#1e4d88!important;font-weight:900!important}
.audit-log-pill{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;padding:8px 11px!important;border-radius:999px!important;background:#f8fbff!important;border:1px solid #dbe7f5!important;color:#244160!important;font-size:12px!important;font-weight:900!important;white-space:normal!important;line-height:1.2!important}
.audit-log-table td strong{color:#10284f!important;line-height:1.35!important;display:block!important}
.audit-log-meta{min-width:0!important;max-width:none!important;color:#52677f!important;line-height:1.45!important;font-size:13px!important;overflow-wrap:anywhere!important}
.audit-log-meta:empty:before{content:"—";color:#9aa8ba}
.audit-log-footer-actions{padding:16px 20px!important;background:#f8fbff!important;border-top:1px solid #dbe7f5!important}.audit-log-footer-actions .btn-danger{border-radius:13px!important;min-height:42px!important;padding:0 14px!important;font-weight:900!important}
.audit-log-empty{min-height:190px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:10px!important;margin:20px!important;border:1px dashed #c6d8ee!important;border-radius:22px!important;background:linear-gradient(180deg,#fbfdff,#f8fbff)!important;padding:32px!important;color:#536982!important}.audit-log-empty div{width:54px!important;height:54px!important;border-radius:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#ecfdf3!important;color:#15803d!important;font-weight:1000!important;font-size:22px!important;border:1px solid #bdeccd!important}.audit-log-empty strong{color:#13294b!important;font-size:18px!important}.audit-log-empty p{margin:0!important;color:#64748b!important;line-height:1.55!important}
html.admin-theme-dark .audit-log-page{background:transparent!important}
html.admin-theme-dark .audit-log-card,html.admin-theme-dark .audit-log-table-wrap,html.admin-theme-dark .audit-log-empty{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}
html.admin-theme-dark .audit-log-toolbar-v2,html.admin-theme-dark .audit-log-footer-actions{background:#0f172a!important;border-color:#334155!important}
html.admin-theme-dark .audit-log-toolbar-v2 strong,html.admin-theme-dark .audit-log-table td strong,html.admin-theme-dark .audit-log-empty strong{color:#f8fafc!important}
html.admin-theme-dark .audit-log-toolbar-v2 span,html.admin-theme-dark .audit-log-meta,html.admin-theme-dark .audit-log-empty p{color:#94a3b8!important}
html.admin-theme-dark .audit-log-table thead th{background:#0f172a!important;color:#94a3b8!important;border-color:#334155!important}
html.admin-theme-dark .audit-log-table td{border-color:#334155!important;color:#eaf2ff!important}
html.admin-theme-dark .audit-log-table tbody tr:nth-child(even),html.admin-theme-dark .audit-log-table tbody tr:hover{background:#172d4b!important}
html.admin-theme-dark .audit-log-id{background:#1f4d86!important;color:#fff!important;border:1px solid #60a5fa!important}
html.admin-theme-dark .audit-log-pill,html.admin-theme-dark .audit-log-secondary-button{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
@media(max-width:1100px){.audit-log-hero{flex-direction:column!important}.audit-log-hero-stats-v2{width:100%!important}.audit-log-table-wrap{overflow-x:auto!important}.audit-log-table{min-width:980px!important;table-layout:auto!important}}
@media(max-width:760px){.audit-log-hero{padding:20px!important;border-radius:22px!important}.audit-log-hero h1{font-size:25px!important}.audit-log-toolbar-v2{flex-direction:column!important;align-items:stretch!important}.audit-log-toolbar-actions{width:100%!important}.audit-log-secondary-button{flex:1!important}.audit-log-card{border-radius:20px!important}}

/* Integration settings polish: analytics, OneSignal, spam, Sendcloud, social login */
.integrations-polished-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:auto!important}.integrations-polished-page .analytics-admin-shell{display:flex;flex-direction:column;gap:18px;min-height:auto!important}.integrations-polished-page .analytics-admin-hero,.social-login-polished-page .settings-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%)!important;color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.integrations-polished-page .analytics-admin-hero:after,.social-login-polished-page .settings-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.integrations-polished-page .analytics-admin-hero>div:first-child,.social-login-polished-page .settings-hero>div:first-child{position:relative;z-index:1;max-width:880px}.integrations-polished-page .analytics-admin-hero .eyebrow,.social-login-polished-page .settings-hero .eyebrow{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.integrations-polished-page .analytics-admin-hero h1,.social-login-polished-page .settings-hero h1{margin:12px 0 9px;color:#fff!important;font-size:32px;line-height:1.08;letter-spacing:-.035em}.integrations-polished-page .analytics-admin-hero p,.social-login-polished-page .settings-hero p{margin:0;color:rgba(255,255,255,.86)!important;line-height:1.55;font-size:15px;max-width:840px}.integrations-polished-page .analytics-admin-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px;min-width:430px}.integrations-polished-page .analytics-admin-stats .mini-stat{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px);min-width:0}.integrations-polished-page .analytics-admin-stats .mini-stat span{display:block;color:#fff!important;font-size:24px;font-weight:1000;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.integrations-polished-page .analytics-admin-stats .mini-stat small{display:block;margin-top:7px;color:rgba(255,255,255,.74)!important;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;line-height:1.25}.integrations-polished-form,.social-login-polished-form{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:auto!important}.integrations-polished-page .analytics-panel,.social-login-provider-card{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 16px 36px rgba(17,42,92,.055)!important;padding:22px!important;margin:0!important}.integrations-polished-page .section-head,.social-login-provider-card .admin-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.integrations-polished-page .section-head .eyebrow{color:#5f728d!important;background:transparent!important;border:0!important;padding:0!important}.integrations-polished-page .section-head h2,.social-login-provider-card h2{margin:6px 0;color:#10284f!important;font-size:22px;letter-spacing:-.02em}.integrations-polished-page .section-head p,.social-login-provider-card .admin-section-head p{margin:0;color:#687991!important;line-height:1.45;font-size:13px}.integrations-polished-page label,.social-login-polished-form label{font-weight:850;color:#243a59}.integrations-polished-page label>span:not(.ui-switch):not(.ui-switch-copy):not(.ui-switch-state),.social-login-polished-form label>span{display:block;margin-bottom:7px;color:#243a59;font-weight:850}.integrations-polished-page input[type="text"],.integrations-polished-page input[type="password"],.integrations-polished-page input[type="number"],.integrations-polished-page textarea,.social-login-polished-form input[type="text"],.social-login-polished-form input[type="password"]{width:100%;box-sizing:border-box;border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fbfdff!important;color:#162b49!important;min-height:48px;padding:12px 14px!important;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.integrations-polished-page textarea{min-height:150px;resize:vertical}.integrations-polished-page .analytics-code-input{min-height:260px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.55}.integrations-polished-page input:focus,.integrations-polished-page textarea:focus,.social-login-polished-form input:focus{outline:none;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}.integrations-polished-page .ui-switch-card{display:flex!important;align-items:center;gap:14px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;padding:16px;min-height:72px;box-shadow:0 10px 24px rgba(16,40,79,.04)}.integrations-polished-page .ui-switch-copy strong{display:block;color:#10284f;font-size:15px}.integrations-polished-page .ui-switch-copy small{display:block;margin-top:5px;color:#5f728d;line-height:1.4}.integrations-polished-page .ui-switch-state{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 12px;border:1px solid #dbe7f5;background:#eef5ff;color:#1d4ed8;font-weight:900;font-size:12px;white-space:nowrap}.integrations-polished-page .ui-switch-state.is-active{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.integrations-polished-page .analytics-code-preview{max-height:220px;overflow:auto;border:1px solid #dce8f6;border-radius:18px;background:#0f172a;color:#e5f0ff;padding:16px;white-space:pre-wrap;word-break:break-word}.integrations-polished-page .analytics-empty-state{display:flex;align-items:center;justify-content:center;min-height:120px;border:1px dashed #c6d8ee;border-radius:18px;background:#f8fbff;color:#64748b;font-weight:800}.integrations-polished-page .note{color:#687991!important;line-height:1.5;margin-top:12px}.spam-provider-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.spam-provider-card{display:flex!important;flex-direction:column;gap:7px;padding:17px;border:1px solid #dce8f6!important;border-radius:18px!important;background:#f8fbff;min-height:104px;cursor:pointer;transition:.16s ease}.spam-provider-card:hover,.spam-provider-card.is-active{border-color:#3b82f6!important;background:#eff6ff;box-shadow:0 10px 24px rgba(59,130,246,.11)}.spam-provider-card input{position:absolute;opacity:0;pointer-events:none}.spam-provider-card__title{color:#10284f;font-weight:1000}.spam-provider-card small{color:#5f728d;line-height:1.4}.spam-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.integrations-polished-page .auth-register-grid,.integrations-polished-page .settings-grid{display:grid;gap:14px}.integrations-polished-page .settings-grid.two-cols,.integrations-polished-page .auth-register-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integrations-polished-page .settings-grid.four-cols{grid-template-columns:repeat(4,minmax(0,1fr))}.integrations-polished-page .actions-row{position:sticky;bottom:14px;z-index:8;display:flex;justify-content:flex-end;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px);margin:0}.integrations-polished-page .actions-row .btn-primary,.integrations-savebar-v2 .btn-primary{min-height:42px;border-radius:14px;white-space:nowrap}.integrations-savebar-v2{position:sticky;bottom:14px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.integrations-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.integrations-savebar-v2 span{display:block;color:#687991;font-size:13px}.social-login-provider-card .switch-row{display:inline-flex!important;align-items:center;gap:8px;padding:9px 12px;border:1px solid #d6e4f5;border-radius:999px;background:#f8fbff;color:#12305c;font-weight:900}.social-login-provider-card .switch-row input{accent-color:#2f6df6}.social-login-provider-card .form-grid.two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.social-login-provider-card input[readonly]{background:#f1f5f9!important;color:#52677f!important}.social-login-polished-form{margin-top:18px}.integrations-polished-page,.integrations-polished-page .settings-card,.integrations-polished-page .card{min-height:auto!important}.integrations-polished-page:after,.integrations-polished-form:after{content:none!important}
html.admin-theme-dark .integrations-polished-page .analytics-panel,html.admin-theme-dark .social-login-provider-card,html.admin-theme-dark .integrations-polished-page .ui-switch-card,html.admin-theme-dark .integrations-polished-page .analytics-empty-state,html.admin-theme-dark .integrations-polished-page .actions-row,html.admin-theme-dark .integrations-savebar-v2,html.admin-theme-dark .spam-provider-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .integrations-polished-page .section-head,html.admin-theme-dark .social-login-provider-card .admin-section-head{border-color:#334155!important}html.admin-theme-dark .integrations-polished-page .section-head h2,html.admin-theme-dark .social-login-provider-card h2,html.admin-theme-dark .integrations-polished-page .ui-switch-copy strong,html.admin-theme-dark .spam-provider-card__title,html.admin-theme-dark .integrations-savebar-v2 strong{color:#f8fafc!important}html.admin-theme-dark .integrations-polished-page .section-head p,html.admin-theme-dark .social-login-provider-card .admin-section-head p,html.admin-theme-dark .integrations-polished-page .ui-switch-copy small,html.admin-theme-dark .spam-provider-card small,html.admin-theme-dark .integrations-polished-page .note,html.admin-theme-dark .integrations-savebar-v2 span{color:#94a3b8!important}html.admin-theme-dark .integrations-polished-page label,html.admin-theme-dark .integrations-polished-page label>span:not(.ui-switch):not(.ui-switch-copy):not(.ui-switch-state),html.admin-theme-dark .social-login-polished-form label,html.admin-theme-dark .social-login-polished-form label>span{color:#e2e8f0!important}html.admin-theme-dark .integrations-polished-page input[type="text"],html.admin-theme-dark .integrations-polished-page input[type="password"],html.admin-theme-dark .integrations-polished-page input[type="number"],html.admin-theme-dark .integrations-polished-page textarea,html.admin-theme-dark .social-login-polished-form input[type="text"],html.admin-theme-dark .social-login-polished-form input[type="password"]{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}html.admin-theme-dark .spam-provider-card.is-active,html.admin-theme-dark .spam-provider-card:hover{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .social-login-provider-card .switch-row{background:#0f172a!important;border-color:#475569!important;color:#e2e8f0!important}html.admin-theme-dark .integrations-polished-page .ui-switch-state.is-active{background:#14532d!important;color:#dcfce7!important;border-color:#22c55e!important}html.admin-theme-dark .integrations-polished-page .ui-switch-state{background:#0f172a!important;color:#cbd5e1!important;border-color:#475569!important}
@media(max-width:1250px){.integrations-polished-page .analytics-admin-hero,.social-login-polished-page .settings-hero{flex-direction:column}.integrations-polished-page .analytics-admin-stats{width:100%;min-width:0}.spam-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integrations-polished-page .settings-grid.four-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.integrations-polished-page .analytics-admin-hero,.social-login-polished-page .settings-hero,.integrations-polished-page .analytics-panel,.social-login-provider-card{padding:18px!important;border-radius:20px!important}.integrations-polished-page .analytics-admin-hero h1,.social-login-polished-page .settings-hero h1{font-size:25px}.integrations-polished-page .analytics-admin-stats,.spam-provider-grid,.spam-form-grid,.integrations-polished-page .settings-grid.two-cols,.integrations-polished-page .settings-grid.four-cols,.integrations-polished-page .auth-register-grid,.social-login-provider-card .form-grid.two-columns{grid-template-columns:1fr}.integrations-polished-page .ui-switch-card{align-items:flex-start}.integrations-polished-page .ui-switch-state{margin-left:0}.integrations-polished-page .actions-row,.integrations-savebar-v2{position:static;flex-direction:column;align-items:stretch}.integrations-polished-page .actions-row .btn-primary,.integrations-savebar-v2 .btn-primary{width:100%;justify-content:center}}

/* Polished SEO admin pages */
.seo-polished-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px;min-height:auto!important;width:100%;max-width:none;align-self:flex-start!important}.seo-polished-page .seo-admin-shell{display:flex;flex-direction:column;gap:18px;width:100%;max-width:none;min-height:auto!important}.seo-polished-page .seo-admin-shell,.seo-polished-page .settings-card,.seo-polished-page .card,.seo-polished-page .analytics-panel{min-height:auto!important}.seo-polished-page:after,.seo-polished-page .seo-admin-shell:after{content:none!important}.seo-polished-page .seo-admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}.seo-polished-page .seo-admin-hero:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}.seo-polished-page .seo-admin-hero>div:first-child{position:relative;z-index:1;max-width:900px}.seo-polished-page .seo-admin-hero .eyebrow{display:inline-flex!important;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.seo-polished-page .seo-admin-hero h1{margin:12px 0 9px;color:#fff!important;font-size:32px;line-height:1.08;letter-spacing:-.035em}.seo-polished-page .seo-admin-hero p{margin:0;color:rgba(255,255,255,.84)!important;line-height:1.55;font-size:15px}.seo-polished-page .analytics-admin-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:12px;min-width:min(560px,48%)}.seo-polished-page .mini-stat{border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.13)!important;border-radius:18px!important;padding:16px 17px!important;backdrop-filter:blur(8px);box-shadow:none!important;min-width:0}.seo-polished-page .mini-stat span{display:block;color:#fff!important;font-size:25px!important;line-height:1;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.seo-polished-page .mini-stat small{display:block;margin-top:8px;color:rgba(255,255,255,.72)!important;font-size:11px!important;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.seo-polished-page .settings-card,.seo-polished-page .analytics-panel{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.055)!important;padding:22px!important;display:flex;flex-direction:column;gap:18px}.seo-polished-page form.settings-card{margin:0}.seo-polished-page .section-head{display:flex!important;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;margin:0 0 2px;border-bottom:1px solid #edf2f8}.seo-polished-page .section-head .eyebrow{display:inline-flex;width:max-content;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.seo-polished-page .section-head h2{margin:0 0 6px;color:#10284f;font-size:22px;letter-spacing:-.02em}.seo-polished-page .section-head p,.seo-polished-page p{color:#687991;line-height:1.5}.seo-polished-page .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seo-polished-page .form-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-polished-page .form-grid-span-2{grid-column:1/-1}.seo-polished-page label{display:flex;flex-direction:column;gap:7px;color:#243a59;font-weight:850;min-width:0}.seo-polished-page label>span,.seo-polished-page label:not(.ui-switch-card){font-size:13px}.seo-polished-page input[type="text"],.seo-polished-page input[type="number"],.seo-polished-page select,.seo-polished-page textarea{width:100%;box-sizing:border-box;border:1px solid #d5e2f2!important;border-radius:15px!important;background:#fbfdff!important;color:#162b49!important;min-height:46px;padding:11px 13px!important;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.seo-polished-page textarea{min-height:112px;resize:vertical;line-height:1.45}.seo-polished-page .analytics-code-input{min-height:280px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.55}.seo-polished-page input:focus,.seo-polished-page select:focus,.seo-polished-page textarea:focus{outline:none;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;background:#fff!important}.seo-polished-page .language-tabs{display:flex;flex-direction:column;gap:14px}.seo-polished-page .language-tabs-nav{display:flex;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid #dce8f6;border-radius:18px;background:#f4f8fd}.seo-polished-page .language-tab-button{border:1px solid #d5e2f2;border-radius:13px;background:#fff;color:#2563eb;font-weight:900;padding:10px 13px;cursor:pointer}.seo-polished-page .language-tab-button.is-active{background:#2f6df6;color:#fff;border-color:#2f6df6;box-shadow:0 10px 20px rgba(47,109,246,.2)}.seo-polished-page .language-tab-panel{border:1px solid #dce8f6;border-radius:20px;background:#fff;padding:18px}.seo-polished-page .ui-switch-card{display:flex!important;align-items:center;gap:12px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;padding:14px 15px;min-height:62px;flex-direction:row}.seo-polished-page .ui-switch-copy{display:flex;flex-direction:column;gap:3px}.seo-polished-page .ui-switch-copy strong{color:#10284f}.seo-polished-page .ui-switch-copy small{color:#687991;line-height:1.35;font-weight:700}.seo-polished-page .actions-row,.seo-polished-page .form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0}.seo-polished-page form>.actions-row:last-child,.seo-polished-page form>.form-actions:last-child{position:sticky;bottom:14px;z-index:8;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.seo-polished-page .btn-primary,.seo-polished-page .btn-secondary{min-height:42px;border-radius:14px;padding:0 16px;font-weight:900}.seo-polished-page .settings-grid.compact-grid,.seo-polished-page .seo-redirect-grid{display:grid;grid-template-columns:minmax(380px,.9fr) minmax(0,1fr);gap:18px;align-items:start}.seo-polished-page .table-responsive,.seo-polished-page .table-wrap{border:1px solid #dce8f6;border-radius:18px;overflow:auto;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.035)}.seo-polished-page table{width:100%;border-collapse:collapse}.seo-polished-page .table thead th,.seo-polished-page .data-table thead th{background:#f5f8fc;color:#62728b;font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:1000;padding:13px 14px;border-bottom:1px solid #d6e3f2;text-align:left}.seo-polished-page .table tbody td,.seo-polished-page .data-table tbody td{padding:14px;border-bottom:1px solid #e2ebf7;vertical-align:middle;color:#10284f;word-break:break-word}.seo-polished-page .table tbody tr:last-child td,.seo-polished-page .data-table tbody tr:last-child td{border-bottom:0}.seo-polished-page .table tbody tr:hover,.seo-polished-page .data-table tbody tr:hover{background:#f8fbff}.seo-polished-page .analytics-empty-state,.seo-polished-page .empty-state-panel{display:flex;align-items:center;justify-content:center;min-height:120px;border:1px dashed #c6d8ee;border-radius:18px;background:#fbfdff;color:#64748b;text-align:center;padding:22px}.seo-polished-page .analytics-empty-state p,.seo-polished-page .empty-state-panel p{margin:0}.seo-polished-page pre,.seo-polished-page code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.seo-polished-page .analytics-panel .analytics-admin-stats{min-width:0;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.seo-polished-page .analytics-panel .analytics-admin-stats .mini-stat{background:#f8fbff!important;border-color:#dce8f6!important}.seo-polished-page .analytics-panel .analytics-admin-stats .mini-stat span{color:#10284f!important}.seo-polished-page .analytics-panel .analytics-admin-stats .mini-stat small{color:#62728b!important}.seo-polished-page .card.settings-card.stack-lg{gap:18px}.seo-polished-page .stack-lg{gap:18px!important}.seo-polished-page .stack-md{gap:14px!important}.seo-polished-page .seo-redirect-grid .analytics-empty-state{min-height:170px}.seo-polished-page .settings-card:has(textarea[name="robots_content"]){padding-bottom:18px!important}.seo-polished-page .settings-card:has(textarea[name="robots_content"]) .actions-row:last-child{position:sticky;bottom:14px}.seo-polished-page .settings-card:has(textarea[name="robots_content"]) textarea{min-height:340px}.seo-polished-page a{font-weight:850}.seo-polished-page .alert.error{border-radius:16px;padding:13px 15px;border:1px solid #fecaca;background:#fff1f2;color:#991b1b}
html.admin-theme-dark .seo-polished-page{background:transparent!important}html.admin-theme-dark .seo-polished-page .settings-card,html.admin-theme-dark .seo-polished-page .analytics-panel,html.admin-theme-dark .seo-polished-page .language-tab-panel,html.admin-theme-dark .seo-polished-page .ui-switch-card,html.admin-theme-dark .seo-polished-page .table-responsive,html.admin-theme-dark .seo-polished-page .table-wrap,html.admin-theme-dark .seo-polished-page .analytics-empty-state,html.admin-theme-dark .seo-polished-page .empty-state-panel{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}html.admin-theme-dark .seo-polished-page .section-head{border-color:#334155}html.admin-theme-dark .seo-polished-page .section-head h2,html.admin-theme-dark .seo-polished-page .ui-switch-copy strong,html.admin-theme-dark .seo-polished-page .table tbody td,html.admin-theme-dark .seo-polished-page .data-table tbody td,html.admin-theme-dark .seo-polished-page label{color:#f8fafc!important}html.admin-theme-dark .seo-polished-page .section-head p,html.admin-theme-dark .seo-polished-page p,html.admin-theme-dark .seo-polished-page .ui-switch-copy small{color:#94a3b8!important}html.admin-theme-dark .seo-polished-page input[type="text"],html.admin-theme-dark .seo-polished-page input[type="number"],html.admin-theme-dark .seo-polished-page select,html.admin-theme-dark .seo-polished-page textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important;box-shadow:none!important}html.admin-theme-dark .seo-polished-page .language-tabs-nav{background:#0f172a!important;border-color:#334155!important}html.admin-theme-dark .seo-polished-page .language-tab-button{background:#111827;border-color:#334155;color:#93c5fd}html.admin-theme-dark .seo-polished-page .language-tab-button.is-active{background:#2563eb;color:#fff;border-color:#2563eb}html.admin-theme-dark .seo-polished-page .table thead th,html.admin-theme-dark .seo-polished-page .data-table thead th{background:#0f172a!important;border-color:#334155!important;color:#94a3b8!important}html.admin-theme-dark .seo-polished-page .table tbody td,html.admin-theme-dark .seo-polished-page .data-table tbody td{border-color:#334155!important}html.admin-theme-dark .seo-polished-page .table tbody tr:hover,html.admin-theme-dark .seo-polished-page .data-table tbody tr:hover{background:#0f172a!important}html.admin-theme-dark .seo-polished-page form>.actions-row:last-child,html.admin-theme-dark .seo-polished-page form>.form-actions:last-child{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}html.admin-theme-dark .seo-polished-page .analytics-panel .analytics-admin-stats .mini-stat{background:#0f172a!important;border-color:#334155!important}html.admin-theme-dark .seo-polished-page .analytics-panel .analytics-admin-stats .mini-stat span{color:#f8fafc!important}html.admin-theme-dark .seo-polished-page .analytics-panel .analytics-admin-stats .mini-stat small{color:#94a3b8!important}
@media(max-width:1200px){.seo-polished-page .seo-admin-hero{flex-direction:column}.seo-polished-page .analytics-admin-stats{min-width:0;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.seo-polished-page .settings-grid.compact-grid,.seo-polished-page .seo-redirect-grid{grid-template-columns:1fr}.seo-polished-page .analytics-panel .analytics-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.seo-polished-page .seo-admin-hero,.seo-polished-page .settings-card,.seo-polished-page .analytics-panel{padding:16px!important;border-radius:20px!important}.seo-polished-page .seo-admin-hero h1{font-size:25px}.seo-polished-page .analytics-admin-stats,.seo-polished-page .analytics-panel .analytics-admin-stats,.seo-polished-page .form-grid,.seo-polished-page .form-grid.cols-2{grid-template-columns:1fr}.seo-polished-page .section-head{flex-direction:column}.seo-polished-page .actions-row,.seo-polished-page .form-actions{justify-content:stretch}.seo-polished-page .btn-primary,.seo-polished-page .btn-secondary{width:100%;justify-content:center}.seo-polished-page form>.actions-row:last-child,.seo-polished-page form>.form-actions:last-child{flex-direction:column}}

/* Tools pages polish: cache, maintenance, database backup */
.tools-cache-page-v2,
.settings-page:has(.maintenance-admin-shell),
.settings-page:has(.backup-admin-shell){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:18px!important;align-self:stretch!important;min-height:0!important}.tools-hero-v2,.maintenance-admin-hero,.backup-admin-hero{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:22px!important;padding:26px 28px!important;border-radius:26px!important;background:linear-gradient(135deg,#10284f 0%,#205aa5 55%,#3b82f6 100%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(17,42,92,.18)!important;position:relative!important;overflow:hidden!important}.tools-hero-v2:after,.maintenance-admin-hero:after,.backup-admin-hero:after{content:""!important;position:absolute!important;right:-85px!important;top:-95px!important;width:280px!important;height:280px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important}.tools-hero-v2>div,.maintenance-admin-hero>div,.backup-admin-hero>div{position:relative!important;z-index:1}.tools-eyebrow-v2,.tools-hero-v2 .eyebrow,.maintenance-admin-hero .eyebrow,.backup-admin-hero .eyebrow{display:inline-flex!important;align-items:center!important;width:max-content!important;padding:7px 11px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.tools-hero-v2 h1,.maintenance-admin-hero h1,.backup-admin-hero h1{margin:12px 0 9px!important;color:#fff!important;font-size:32px!important;line-height:1.08!important;letter-spacing:-.035em!important}.tools-hero-v2 p,.maintenance-admin-hero p,.backup-admin-hero p,.backup-admin-copy-text{margin:0!important;color:rgba(255,255,255,.86)!important;line-height:1.55!important;font-size:15px!important;max-width:820px!important}.tools-hero-stats-v2,.maintenance-admin-stats,.backup-admin-stats{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(120px,1fr))!important;gap:12px!important;min-width:420px!important}.maintenance-admin-stats,.backup-admin-stats{grid-template-columns:repeat(4,minmax(112px,1fr))!important;min-width:560px!important}.tools-hero-stats-v2 article,.maintenance-admin-stats .mini-stat,.backup-admin-stats .mini-stat{border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.13)!important;border-radius:18px!important;padding:16px 17px!important;backdrop-filter:blur(8px)!important;box-shadow:none!important}.tools-hero-stats-v2 span,.maintenance-admin-stats .mini-stat small,.backup-admin-stats .mini-stat small{display:block!important;margin-bottom:8px!important;color:rgba(255,255,255,.72)!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.07em!important}.maintenance-admin-stats .mini-stat span,.backup-admin-stats .mini-stat span,.tools-hero-stats-v2 strong{display:block!important;color:#fff!important;font-size:24px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tools-hero-stats-v2 small{display:block!important;margin-top:7px!important;color:rgba(255,255,255,.72)!important;font-size:12px!important;font-weight:800!important}.tools-cache-grid-v2{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important}.tools-card-v2,.maintenance-admin-form,.maintenance-panel,.backup-panel{border:1px solid #d8e4f3!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.06)!important;padding:20px!important;min-height:0!important}.tools-card-head-v2,.maintenance-panel .section-head,.backup-panel .section-head{display:flex!important;justify-content:space-between!important;gap:14px!important;align-items:flex-start!important;padding-bottom:16px!important;margin-bottom:16px!important;border-bottom:1px solid #edf2f8!important}.tools-card-head-v2 h2,.maintenance-panel .section-head h2,.backup-panel .section-head h2{margin:8px 0 5px!important;color:#10284f!important;font-size:21px!important;letter-spacing:-.015em!important}.tools-card-head-v2 p,.maintenance-panel .section-head p,.backup-panel .section-head p{margin:0!important;color:#687991!important;font-size:13px!important;line-height:1.45!important}.tools-action-panel-v2{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:16px!important;border:1px solid #dce8f6!important;border-radius:18px!important;background:#f8fbff!important}.tools-action-icon-v2{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#eef5ff;color:#1d4ed8;font-size:24px;font-weight:1000}.tools-action-panel-v2 strong{display:block;color:#10284f;font-size:16px;margin-bottom:4px}.tools-action-panel-v2 span{display:block;color:#687991;line-height:1.45}.tools-target-list-v2{display:flex!important;flex-direction:column!important;gap:10px!important}.tools-target-list-v2>div{padding:14px 15px!important;border:1px solid #dce8f6!important;border-radius:16px!important;background:#f8fbff!important;display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important}.tools-target-list-v2 strong{color:#10284f!important}.tools-target-list-v2 span,.tools-target-list-v2 code{color:#687991!important;overflow-wrap:anywhere!important}.maintenance-admin-shell,.backup-admin-shell{display:flex!important;flex-direction:column!important;gap:18px!important;min-height:0!important}.maintenance-admin-form{display:flex!important;flex-direction:column!important;gap:18px!important;margin:0!important}.maintenance-admin-grid,.backup-admin-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important}.maintenance-toggle,.backup-info-card,.backup-note-box,.backup-inline-panel,.maintenance-preview-bar,.maintenance-note-box{border:1px solid #dce8f6!important;border-radius:18px!important;background:#f8fbff!important;box-shadow:none!important}.maintenance-toggle{padding:16px!important}.maintenance-toggle span strong{color:#10284f!important}.maintenance-toggle span small{color:#687991!important}.maintenance-panel input,.maintenance-panel textarea,.maintenance-panel select,.backup-panel input,.backup-panel textarea,.backup-panel select{border:1px solid #d5e2f2!important;border-radius:14px!important;background:#fbfdff!important;color:#13294b!important;min-height:44px!important;padding:10px 12px!important}.maintenance-panel textarea,.backup-panel textarea{min-height:120px!important}.backup-info-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.backup-info-card{padding:14px!important;display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important}.backup-info-card strong{color:#10284f!important}.backup-info-card span,.backup-info-card code{color:#687991!important;overflow-wrap:anywhere!important}.backup-info-card--full{grid-column:1/-1!important}.backup-empty-state{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:9px!important;min-height:150px!important;border:1px dashed #c6d8ee!important;border-radius:18px!important;background:#f8fbff!important;padding:28px!important}.backup-empty-state strong{color:#10284f!important}.backup-empty-state p{margin:0!important;color:#687991!important}.maintenance-admin-form>.actions-row,.backup-inline-panel,.tools-clear-card-v2{margin-top:0!important}.maintenance-admin-form>.actions-row{position:sticky!important;bottom:14px!important;z-index:6!important;display:flex!important;align-items:center!important;gap:10px!important;padding:14px!important;border:1px solid #c9dff9!important;border-radius:18px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 18px 36px rgba(18,48,92,.12)!important;backdrop-filter:blur(10px)!important}.backup-inline-panel{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:16px!important}.backup-table-wrap{overflow-x:auto!important}.backup-table{min-width:760px!important}.backup-table th{background:#f5f8fc!important}.backup-table td,.backup-table th{padding:12px!important}.backup-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.tools-cache-page-v2 .btn-primary,.maintenance-admin-form .btn-primary,.backup-panel .btn-primary{min-height:42px!important;border-radius:14px!important;font-weight:900!important}.settings-page:has(.maintenance-admin-shell),.settings-page:has(.backup-admin-shell){padding-bottom:0!important;margin-bottom:0!important}
html.admin-theme-dark .tools-card-v2,html.admin-theme-dark .maintenance-admin-form,html.admin-theme-dark .maintenance-panel,html.admin-theme-dark .backup-panel,html.admin-theme-dark .tools-action-panel-v2,html.admin-theme-dark .tools-target-list-v2>div,html.admin-theme-dark .maintenance-toggle,html.admin-theme-dark .backup-info-card,html.admin-theme-dark .backup-note-box,html.admin-theme-dark .backup-inline-panel,html.admin-theme-dark .maintenance-preview-bar,html.admin-theme-dark .maintenance-note-box,html.admin-theme-dark .backup-empty-state{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}html.admin-theme-dark .tools-card-head-v2,html.admin-theme-dark .maintenance-panel .section-head,html.admin-theme-dark .backup-panel .section-head{border-color:#334155!important}html.admin-theme-dark .tools-card-head-v2 h2,html.admin-theme-dark .maintenance-panel .section-head h2,html.admin-theme-dark .backup-panel .section-head h2,html.admin-theme-dark .tools-action-panel-v2 strong,html.admin-theme-dark .tools-target-list-v2 strong,html.admin-theme-dark .maintenance-toggle span strong,html.admin-theme-dark .backup-info-card strong,html.admin-theme-dark .backup-empty-state strong{color:#f8fafc!important}html.admin-theme-dark .tools-card-head-v2 p,html.admin-theme-dark .maintenance-panel .section-head p,html.admin-theme-dark .backup-panel .section-head p,html.admin-theme-dark .tools-action-panel-v2 span,html.admin-theme-dark .tools-target-list-v2 span,html.admin-theme-dark .tools-target-list-v2 code,html.admin-theme-dark .maintenance-toggle span small,html.admin-theme-dark .backup-info-card span,html.admin-theme-dark .backup-info-card code,html.admin-theme-dark .backup-empty-state p{color:#94a3b8!important}html.admin-theme-dark .maintenance-panel input,html.admin-theme-dark .maintenance-panel textarea,html.admin-theme-dark .maintenance-panel select,html.admin-theme-dark .backup-panel input,html.admin-theme-dark .backup-panel textarea,html.admin-theme-dark .backup-panel select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .maintenance-admin-form>.actions-row{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}html.admin-theme-dark .backup-table th{background:#0f172a!important}
@media(max-width:1200px){.tools-hero-v2,.maintenance-admin-hero,.backup-admin-hero{flex-direction:column!important}.tools-hero-stats-v2,.maintenance-admin-stats,.backup-admin-stats{width:100%!important;min-width:0!important}.maintenance-admin-grid,.backup-admin-grid,.tools-cache-grid-v2{grid-template-columns:1fr!important}}
@media(max-width:760px){.tools-hero-v2,.maintenance-admin-hero,.backup-admin-hero,.tools-card-v2,.maintenance-panel,.backup-panel,.maintenance-admin-form{padding:18px!important;border-radius:20px!important}.tools-hero-v2 h1,.maintenance-admin-hero h1,.backup-admin-hero h1{font-size:25px!important}.tools-hero-stats-v2,.maintenance-admin-stats,.backup-admin-stats,.backup-info-grid{grid-template-columns:1fr!important}.tools-action-panel-v2,.backup-inline-panel,.maintenance-admin-form>.actions-row{display:flex!important;flex-direction:column!important;align-items:stretch!important}.tools-action-panel-v2 .btn-primary,.maintenance-admin-form>.actions-row .btn-primary,.maintenance-admin-form>.actions-row .btn-secondary{width:100%!important;justify-content:center!important}}

/* Extension system refined layout */
.extensions-page{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
.extensions-page > *{box-sizing:border-box;max-width:none!important}
.extensions-hero{
  align-items:center!important;
  padding:28px 30px!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#10284f 0%,#205aa5 58%,#3b82f6 100%)!important;
  color:#fff!important;
  box-shadow:0 22px 55px rgba(17,42,92,.18)!important;
  position:relative!important;
  overflow:hidden!important;
}
.extensions-hero:after{
  content:"";
  position:absolute;
  right:-92px;
  top:-98px;
  width:290px;
  height:290px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
}
.extensions-hero > div{position:relative;z-index:1}
.extensions-hero .eyebrow{
  display:inline-flex!important;
  width:max-content;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#eaf3ff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
.extensions-hero h1{font-size:32px!important;letter-spacing:-.035em!important;margin:12px 0 9px!important;color:#fff!important}
.extensions-hero p{font-size:15px!important;line-height:1.55!important;color:rgba(255,255,255,.86)!important;max-width:760px!important}
.extensions-hero__stats{grid-template-columns:repeat(3,minmax(118px,1fr))!important;gap:12px!important;min-width:420px!important}
.extensions-hero__stats div{
  border:1px solid rgba(255,255,255,.22)!important;
  background:rgba(255,255,255,.13)!important;
  border-radius:18px!important;
  padding:17px 18px!important;
  backdrop-filter:blur(8px);
}
.extensions-hero__stats strong{font-size:30px!important;line-height:1!important;color:#fff!important}
.extensions-hero__stats span{font-size:12px!important;color:rgba(255,255,255,.74)!important;font-weight:900!important;letter-spacing:.07em!important}
.extensions-grid{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;gap:18px!important}
.extension-upload-card,.extension-info-card{
  border:1px solid #d8e4f3!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 16px 40px rgba(17,42,92,.07)!important;
  padding:22px!important;
}
.extension-upload-card{
  gap:14px!important;
  min-height:0!important;
}
.extension-upload-card__icon{
  width:60px!important;
  height:60px!important;
  border-radius:20px!important;
  background:#eef5ff!important;
  color:#1d4ed8!important;
  border-color:#cfe2fb!important;
}
.extension-upload-card h2,.extension-info-card h2,.extensions-toolbar h2{
  color:#10284f!important;
  letter-spacing:-.02em!important;
}
.extension-upload-card h2{font-size:24px!important;margin-top:4px!important}
.extension-info-card h2{font-size:24px!important;margin-bottom:12px!important}
.extension-upload-card p,.extension-info-card li,.extensions-toolbar span{color:#64748b!important;line-height:1.55!important;font-size:15px!important}
.extension-upload-card input[type=file]{
  width:100%!important;
  border:1px dashed #c6d8ee!important;
  border-radius:18px!important;
  padding:16px!important;
  background:#f8fbff!important;
  color:#10284f!important;
  box-sizing:border-box!important;
}
.extension-upload-card .btn-primary{width:100%!important;min-height:46px!important;border-radius:14px!important;justify-content:center!important;font-weight:900!important}
.extension-info-card ul{padding-left:0!important;list-style:none!important;gap:10px!important;margin:0!important}
.extension-info-card li{position:relative;padding-left:30px!important}
.extension-info-card li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:20px;
  height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ecfdf5;
  color:#15803d;
  border:1px solid #bbf7d0;
  font-weight:1000;
  font-size:12px;
}
.extensions-toolbar{
  margin-top:2px!important;
  padding:0 2px!important;
  align-items:flex-end!important;
}
.extensions-toolbar h2{font-size:24px!important;letter-spacing:-.02em!important}
.extensions-list{display:flex!important;flex-direction:column!important;gap:14px!important;padding-bottom:0!important;margin-bottom:0!important}
.extension-card{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:18px!important;
  align-items:center!important;
  border:1px solid #dbe7f5!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 16px 38px rgba(17,42,92,.065)!important;
  padding:20px!important;
  position:relative!important;
  overflow:hidden!important;
}
.extension-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#94a3b8}
.extension-card.is-active{background:linear-gradient(180deg,#fff,#f0fdf4)!important;border-color:#86efac!important}
.extension-card.is-active:before{background:#22c55e}
.extension-card__badge{padding:7px 11px!important;border-radius:999px!important;font-size:12px!important;font-weight:900!important;background:#f1f5f9!important;color:#475569!important;border:1px solid #dbe7f5!important}
.extension-card.is-active .extension-card__badge{background:#dcfce7!important;color:#15803d!important;border-color:#bbf7d0!important}
.extension-card h3{margin:10px 0 7px!important;color:#10284f!important;font-size:22px!important;letter-spacing:-.02em!important}
.extension-card p{color:#64748b!important;font-size:15px!important;line-height:1.45!important}
.extension-meta span{background:#f1f5f9!important;border:1px solid #dbe7f5!important;color:#475569!important;font-weight:750!important;padding:7px 10px!important}
.extension-card__details{grid-template-columns:repeat(3,92px)!important;gap:10px!important}
.extension-card__details div{border-color:#dbe7f5!important;border-radius:17px!important;background:#fff!important;padding:13px 9px!important;box-shadow:0 8px 20px rgba(17,42,92,.04)}
.extension-card__details strong{font-size:22px!important;color:#10284f!important}
.extension-card__details span{font-size:12px!important;color:#64748b!important}
.extension-card__actions .btn-primary,.extension-card__actions .btn-secondary,.extension-card__actions .btn-danger{
  min-height:44px!important;
  border-radius:14px!important;
  padding:0 16px!important;
  font-weight:900!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.extension-card__actions{min-width:230px!important;gap:10px!important}
.extensions-list .empty-state{border:1px dashed #c6d8ee!important;border-radius:22px!important;background:#f8fbff!important;box-shadow:none!important;padding:34px!important;text-align:center!important}
html.admin-theme-dark .extensions-page{background:transparent!important}
html.admin-theme-dark .extension-upload-card,html.admin-theme-dark .extension-info-card,html.admin-theme-dark .extension-card,html.admin-theme-dark .extension-card__details div,html.admin-theme-dark .extensions-list .empty-state{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}
html.admin-theme-dark .extension-card.is-active{background:#10231b!important;border-color:#22c55e!important}
html.admin-theme-dark .extension-upload-card h2,html.admin-theme-dark .extension-info-card h2,html.admin-theme-dark .extensions-toolbar h2,html.admin-theme-dark .extension-card h3,html.admin-theme-dark .extension-card__details strong{color:#f8fafc!important}
html.admin-theme-dark .extension-upload-card p,html.admin-theme-dark .extension-info-card li,html.admin-theme-dark .extensions-toolbar span,html.admin-theme-dark .extension-card p,html.admin-theme-dark .extension-card__details span{color:#94a3b8!important}
html.admin-theme-dark .extension-upload-card input[type=file],html.admin-theme-dark .extension-meta span{background:#0f172a!important;border-color:#475569!important;color:#e2e8f0!important}
@media(max-width:1160px){.extensions-hero{flex-direction:column!important;align-items:flex-start!important}.extensions-hero__stats{width:100%!important;min-width:0!important}.extensions-grid{grid-template-columns:1fr!important}.extension-card{grid-template-columns:1fr!important}.extension-card__details{grid-template-columns:repeat(3,minmax(0,1fr))!important}.extension-card__actions{justify-content:flex-start!important;min-width:0!important}}
@media(max-width:760px){.extensions-hero,.extension-upload-card,.extension-info-card,.extension-card{padding:18px!important;border-radius:20px!important}.extensions-hero h1{font-size:25px!important}.extensions-hero__stats,.extension-card__details{grid-template-columns:1fr!important}.extension-card__actions{flex-direction:column!important;align-items:stretch!important}.extension-card__actions .btn-primary,.extension-card__actions .btn-secondary,.extension-card__actions .btn-danger{width:100%!important}}

/* Cache tools readability fix: card labels must be readable outside the blue hero */
.tools-cache-page-v2 .tools-card-head-v2 .tools-eyebrow-v2,
.tools-cache-page-v2 .tools-card-v2 > .tools-card-head-v2 > .tools-eyebrow-v2{
  background:#eef5ff!important;
  color:#1d4ed8!important;
  border:1px solid #cfe2fb!important;
  text-shadow:none!important;
  opacity:1!important;
}
.tools-cache-page-v2 .tools-card-head-v2 h2{
  color:#10284f!important;
  opacity:1!important;
}
.tools-cache-page-v2 .tools-card-head-v2 p{
  color:#536982!important;
  opacity:1!important;
}
html.admin-theme-dark .tools-cache-page-v2 .tools-card-head-v2 .tools-eyebrow-v2,
html.admin-theme-dark .tools-cache-page-v2 .tools-card-v2 > .tools-card-head-v2 > .tools-eyebrow-v2{
  background:#1e3a8a!important;
  color:#dbeafe!important;
  border-color:#60a5fa!important;
}
html.admin-theme-dark .tools-cache-page-v2 .tools-card-head-v2 h2{
  color:#f8fafc!important;
}
html.admin-theme-dark .tools-cache-page-v2 .tools-card-head-v2 p{
  color:#94a3b8!important;
}

/* Light mode pages header color alignment: match Anzeigenverwaltung reference */
html:not(.admin-theme-dark) .pages-admin-hero,
body:not(.admin-theme-dark) .pages-admin-hero{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 58%,#315fbd 100%)!important;
  box-shadow:none!important;
}
html:not(.admin-theme-dark) .pages-admin-hero:after,
body:not(.admin-theme-dark) .pages-admin-hero:after{
  background:rgba(255,255,255,.12)!important;
}
html:not(.admin-theme-dark) #page-form .page-admin-page-head,
body:not(.admin-theme-dark) #page-form .page-admin-page-head{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 58%,#315fbd 100%)!important;
  box-shadow:none!important;
}
html:not(.admin-theme-dark) #page-form .page-admin-page-head:after,
body:not(.admin-theme-dark) #page-form .page-admin-page-head:after{
  background:rgba(255,255,255,.12)!important;
}

/* Helpcenter light-mode header color alignment with Anzeigenverwaltung */
html:not(.admin-theme-dark) .help-categories-hero-v2,
body:not(.admin-theme-dark) .help-categories-hero-v2,
html:not(.admin-theme-dark) .help-category-form-hero-v2,
body:not(.admin-theme-dark) .help-category-form-hero-v2,
html:not(.admin-theme-dark) .help-articles-hero-v2,
body:not(.admin-theme-dark) .help-articles-hero-v2,
html:not(.admin-theme-dark) .help-article-form-hero-v2,
body:not(.admin-theme-dark) .help-article-form-hero-v2{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .help-categories-hero-v2:after,
body:not(.admin-theme-dark) .help-categories-hero-v2:after,
html:not(.admin-theme-dark) .help-category-form-hero-v2:after,
body:not(.admin-theme-dark) .help-category-form-hero-v2:after,
html:not(.admin-theme-dark) .help-articles-hero-v2:after,
body:not(.admin-theme-dark) .help-articles-hero-v2:after,
html:not(.admin-theme-dark) .help-article-form-hero-v2:after,
body:not(.admin-theme-dark) .help-article-form-hero-v2:after{
  background:rgba(255,255,255,.11)!important;
}
html:not(.admin-theme-dark) .help-categories-hero-v2 .help-categories-eyebrow-v2,
body:not(.admin-theme-dark) .help-categories-hero-v2 .help-categories-eyebrow-v2,
html:not(.admin-theme-dark) .help-category-form-eyebrow-v2,
body:not(.admin-theme-dark) .help-category-form-eyebrow-v2,
html:not(.admin-theme-dark) .help-articles-eyebrow-v2,
body:not(.admin-theme-dark) .help-articles-eyebrow-v2,
html:not(.admin-theme-dark) .help-article-form-eyebrow-v2,
body:not(.admin-theme-dark) .help-article-form-eyebrow-v2{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.22)!important;
}

/* News light-mode header color alignment: match Anzeigenverwaltung hero */
html:not(.admin-theme-dark) .news-posts-hero-v2,
html:not(.admin-theme-dark) .news-post-form-hero-v2,
html:not(.admin-theme-dark) .news-categories-hero-v2,
html:not(.admin-theme-dark) .news-category-form-hero-v2{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .news-posts-hero-v2:after,
html:not(.admin-theme-dark) .news-post-form-hero-v2:after,
html:not(.admin-theme-dark) .news-categories-hero-v2:after,
html:not(.admin-theme-dark) .news-category-form-hero-v2:after{
  background:rgba(255,255,255,.10)!important;
}
html:not(.admin-theme-dark) .news-posts-hero-v2 .news-posts-eyebrow-v2,
html:not(.admin-theme-dark) .news-post-form-eyebrow-v2,
html:not(.admin-theme-dark) .news-categories-eyebrow-v2{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.24)!important;
}
html:not(.admin-theme-dark) .news-posts-hero-v2 h1,
html:not(.admin-theme-dark) .news-post-form-hero-v2 h1,
html:not(.admin-theme-dark) .news-categories-hero-v2 h1,
html:not(.admin-theme-dark) .news-category-form-hero-v2 h1,
html:not(.admin-theme-dark) .news-posts-hero-v2 p,
html:not(.admin-theme-dark) .news-post-form-hero-v2 p,
html:not(.admin-theme-dark) .news-categories-hero-v2 p,
html:not(.admin-theme-dark) .news-category-form-hero-v2 p{
  color:#fff!important;
}
html:not(.admin-theme-dark) .news-posts-hero-v2 p,
html:not(.admin-theme-dark) .news-post-form-hero-v2 p,
html:not(.admin-theme-dark) .news-categories-hero-v2 p,
html:not(.admin-theme-dark) .news-category-form-hero-v2 p{
  opacity:.92!important;
}

/* === Light mode color match: Newslettermanager heroes ===
   Match the light-mode header colors exactly to Anzeigenverwaltung / Aktiv. */
html:not(.admin-theme-dark) .newsletter-admin-hero,
body:not(.admin-theme-dark) .newsletter-admin-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
}
html:not(.admin-theme-dark) .newsletter-admin-hero:after,
body:not(.admin-theme-dark) .newsletter-admin-hero:after{
  background:rgba(255,255,255,.10)!important;
}
html:not(.admin-theme-dark) .newsletter-admin-hero .eyebrow,
html:not(.admin-theme-dark) .newsletter-admin-hero .admin-eyebrow,
body:not(.admin-theme-dark) .newsletter-admin-hero .eyebrow,
body:not(.admin-theme-dark) .newsletter-admin-hero .admin-eyebrow{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#eaf3ff!important;
}
html:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat,
body:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}
html:not(.admin-theme-dark) .newsletter-admin-hero h1,
html:not(.admin-theme-dark) .newsletter-admin-hero p,
html:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat span,
html:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat small,
body:not(.admin-theme-dark) .newsletter-admin-hero h1,
body:not(.admin-theme-dark) .newsletter-admin-hero p,
body:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat span,
body:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat small{
  color:#fff!important;
}
html:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat small,
body:not(.admin-theme-dark) .newsletter-admin-stats .mini-stat small{
  color:rgba(255,255,255,.72)!important;
}


/* Ticket pages light-mode header color aligned with Anzeigenverwaltung reference */
body:not(.theme-dark) .ticket-hero-v2{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
}
body:not(.theme-dark) .ticket-hero-v2:after{
  background:rgba(255,255,255,.10)!important;
}

/* === Light mode color match: Protokolle / Benachrichtigungen / Sicherheit ===
   Match these light-mode headers exactly to Anzeigenverwaltung (reference image 6). */
html:not(.admin-theme-dark) .admin-log-hero,
body:not(.admin-theme-dark) .admin-log-hero,
html:not(.admin-theme-dark) .audit-log-hero,
body:not(.admin-theme-dark) .audit-log-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
}
html:not(.admin-theme-dark) .admin-log-hero:after,
body:not(.admin-theme-dark) .admin-log-hero:after,
html:not(.admin-theme-dark) .audit-log-hero:after,
body:not(.admin-theme-dark) .audit-log-hero:after{
  background:rgba(255,255,255,.10)!important;
}
html:not(.admin-theme-dark) .admin-log-hero-stats article,
body:not(.admin-theme-dark) .admin-log-hero-stats article,
html:not(.admin-theme-dark) .audit-log-hero-stats-v2 article,
body:not(.admin-theme-dark) .audit-log-hero-stats-v2 article{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}
html:not(.admin-theme-dark) .admin-log-eyebrow,
body:not(.admin-theme-dark) .admin-log-eyebrow,
html:not(.admin-theme-dark) .audit-log-eyebrow,
body:not(.admin-theme-dark) .audit-log-eyebrow{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.22)!important;
}

/* Light mode integration headers: match Anzeigenverwaltung reference palette */
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero,
html:not(.admin-theme-dark) .social-login-polished-page .settings-hero,
body:not(.admin-theme-dark) .social-login-polished-page .settings-hero{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero:after,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero:after,
html:not(.admin-theme-dark) .social-login-polished-page .settings-hero:after,
body:not(.admin-theme-dark) .social-login-polished-page .settings-hero:after{
  background:rgba(255,255,255,.10)!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero .eyebrow,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero .eyebrow,
html:not(.admin-theme-dark) .social-login-polished-page .settings-hero .eyebrow,
body:not(.admin-theme-dark) .social-login-polished-page .settings-hero .eyebrow{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.24)!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero h1,
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero p,
html:not(.admin-theme-dark) .social-login-polished-page .settings-hero h1,
html:not(.admin-theme-dark) .social-login-polished-page .settings-hero p,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero h1,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero p,
body:not(.admin-theme-dark) .social-login-polished-page .settings-hero h1,
body:not(.admin-theme-dark) .social-login-polished-page .settings-hero p{
  color:#fff!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero p,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-hero p,
html:not(.admin-theme-dark) .social-login-polished-page .settings-hero p,
body:not(.admin-theme-dark) .social-login-polished-page .settings-hero p{
  color:rgba(255,255,255,.86)!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat span,
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat small,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat span,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat small{
  color:#fff!important;
}
html:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat small,
body:not(.admin-theme-dark) .integrations-polished-page .analytics-admin-stats .mini-stat small{
  color:rgba(255,255,255,.72)!important;
}

/* SEO admin light-mode header color alignment: match Anzeigenverwaltung reference (Bild 6). */
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero{
  background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#ffffff!important;
  border:0!important;
  box-shadow:none!important;
}
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero:after,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero:after{
  background:rgba(255,255,255,.12)!important;
  opacity:1!important;
}
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero h1,
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero p,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero h1,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero p{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .eyebrow,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .eyebrow{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.24)!important;
  color:#eaf3ff!important;
  -webkit-text-fill-color:#eaf3ff!important;
}
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .mini-stat,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .mini-stat{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:none!important;
}
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .mini-stat span,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .mini-stat span{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .mini-stat small,
body:not(.admin-theme-dark) .seo-polished-page .seo-admin-hero .mini-stat small{
  color:rgba(255,255,255,.72)!important;
  -webkit-text-fill-color:rgba(255,255,255,.72)!important;
}

/* Light mode color match: Erweiterungen und Werkzeuge to Anzeigenverwaltung reference (Bild 5). */
html:not(.admin-theme-dark) .extensions-hero,
body:not(.admin-theme-dark) .extensions-hero,
html:not(.admin-theme-dark) .tools-hero-v2,
body:not(.admin-theme-dark) .tools-hero-v2,
html:not(.admin-theme-dark) .maintenance-admin-hero,
body:not(.admin-theme-dark) .maintenance-admin-hero,
html:not(.admin-theme-dark) .backup-admin-hero,
body:not(.admin-theme-dark) .backup-admin-hero{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
  border-color:transparent!important;
}
html:not(.admin-theme-dark) .extensions-hero:after,
body:not(.admin-theme-dark) .extensions-hero:after,
html:not(.admin-theme-dark) .tools-hero-v2:after,
body:not(.admin-theme-dark) .tools-hero-v2:after,
html:not(.admin-theme-dark) .maintenance-admin-hero:after,
body:not(.admin-theme-dark) .maintenance-admin-hero:after,
html:not(.admin-theme-dark) .backup-admin-hero:after,
body:not(.admin-theme-dark) .backup-admin-hero:after{
  background:rgba(255,255,255,.10)!important;
  opacity:1!important;
}
html:not(.admin-theme-dark) .extensions-hero .eyebrow,
body:not(.admin-theme-dark) .extensions-hero .eyebrow,
html:not(.admin-theme-dark) .tools-eyebrow-v2,
body:not(.admin-theme-dark) .tools-eyebrow-v2,
html:not(.admin-theme-dark) .tools-hero-v2 .eyebrow,
body:not(.admin-theme-dark) .tools-hero-v2 .eyebrow,
html:not(.admin-theme-dark) .maintenance-admin-hero .eyebrow,
body:not(.admin-theme-dark) .maintenance-admin-hero .eyebrow,
html:not(.admin-theme-dark) .backup-admin-hero .eyebrow,
body:not(.admin-theme-dark) .backup-admin-hero .eyebrow{
  background:rgba(255,255,255,.14)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.24)!important;
  -webkit-text-fill-color:#eaf3ff!important;
}
html:not(.admin-theme-dark) .extensions-hero h1,
html:not(.admin-theme-dark) .extensions-hero p,
html:not(.admin-theme-dark) .tools-hero-v2 h1,
html:not(.admin-theme-dark) .tools-hero-v2 p,
html:not(.admin-theme-dark) .maintenance-admin-hero h1,
html:not(.admin-theme-dark) .maintenance-admin-hero p,
html:not(.admin-theme-dark) .backup-admin-hero h1,
html:not(.admin-theme-dark) .backup-admin-hero p,
body:not(.admin-theme-dark) .extensions-hero h1,
body:not(.admin-theme-dark) .extensions-hero p,
body:not(.admin-theme-dark) .tools-hero-v2 h1,
body:not(.admin-theme-dark) .tools-hero-v2 p,
body:not(.admin-theme-dark) .maintenance-admin-hero h1,
body:not(.admin-theme-dark) .maintenance-admin-hero p,
body:not(.admin-theme-dark) .backup-admin-hero h1,
body:not(.admin-theme-dark) .backup-admin-hero p{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:not(.admin-theme-dark) .extensions-hero p,
html:not(.admin-theme-dark) .tools-hero-v2 p,
html:not(.admin-theme-dark) .maintenance-admin-hero p,
html:not(.admin-theme-dark) .backup-admin-hero p,
body:not(.admin-theme-dark) .extensions-hero p,
body:not(.admin-theme-dark) .tools-hero-v2 p,
body:not(.admin-theme-dark) .maintenance-admin-hero p,
body:not(.admin-theme-dark) .backup-admin-hero p{
  color:rgba(255,255,255,.86)!important;
  -webkit-text-fill-color:rgba(255,255,255,.86)!important;
}
html:not(.admin-theme-dark) .extensions-hero__stats div,
body:not(.admin-theme-dark) .extensions-hero__stats div,
html:not(.admin-theme-dark) .tools-hero-stats-v2 article,
body:not(.admin-theme-dark) .tools-hero-stats-v2 article,
html:not(.admin-theme-dark) .maintenance-admin-stats .mini-stat,
body:not(.admin-theme-dark) .maintenance-admin-stats .mini-stat,
html:not(.admin-theme-dark) .backup-admin-stats .mini-stat,
body:not(.admin-theme-dark) .backup-admin-stats .mini-stat{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:none!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .extensions-hero__stats strong,
html:not(.admin-theme-dark) .tools-hero-stats-v2 strong,
html:not(.admin-theme-dark) .maintenance-admin-stats .mini-stat span,
html:not(.admin-theme-dark) .backup-admin-stats .mini-stat span,
body:not(.admin-theme-dark) .extensions-hero__stats strong,
body:not(.admin-theme-dark) .tools-hero-stats-v2 strong,
body:not(.admin-theme-dark) .maintenance-admin-stats .mini-stat span,
body:not(.admin-theme-dark) .backup-admin-stats .mini-stat span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:not(.admin-theme-dark) .extensions-hero__stats span,
html:not(.admin-theme-dark) .tools-hero-stats-v2 span,
html:not(.admin-theme-dark) .tools-hero-stats-v2 small,
html:not(.admin-theme-dark) .maintenance-admin-stats .mini-stat small,
html:not(.admin-theme-dark) .backup-admin-stats .mini-stat small,
body:not(.admin-theme-dark) .extensions-hero__stats span,
body:not(.admin-theme-dark) .tools-hero-stats-v2 span,
body:not(.admin-theme-dark) .tools-hero-stats-v2 small,
body:not(.admin-theme-dark) .maintenance-admin-stats .mini-stat small,
body:not(.admin-theme-dark) .backup-admin-stats .mini-stat small{
  color:rgba(255,255,255,.72)!important;
  -webkit-text-fill-color:rgba(255,255,255,.72)!important;
}

/* Dark mode pages header color alignment: match Direkt kaufen reference */
html.admin-theme-dark .pages-admin-hero,
body.admin-theme-dark .pages-admin-hero{
  background:#0d1c31!important;
  box-shadow:none!important;
}
html.admin-theme-dark .pages-admin-hero:after,
body.admin-theme-dark .pages-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark #page-form .page-admin-page-head,
body.admin-theme-dark #page-form .page-admin-page-head{
  background:#0d1c31!important;
  border:0!important;
  box-shadow:none!important;
}
html.admin-theme-dark #page-form .page-admin-page-head:after,
body.admin-theme-dark #page-form .page-admin-page-head:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .pages-admin-eyebrow,
body.admin-theme-dark .pages-admin-eyebrow,
html.admin-theme-dark #page-form .page-admin-page-head .page-admin-eyebrow,
body.admin-theme-dark #page-form .page-admin-page-head .page-admin-eyebrow{
  background:#2f3c4e!important;
  color:#ffffff!important;
  border-color:#526074!important;
}

/* Dark mode color match: Hilfecenter headers to Direkt kaufen reference (Bild 4). */
html.admin-theme-dark .help-categories-hero-v2,
body.admin-theme-dark .help-categories-hero-v2,
html.admin-theme-dark .help-category-form-hero-v2,
body.admin-theme-dark .help-category-form-hero-v2,
html.admin-theme-dark .help-articles-hero-v2,
body.admin-theme-dark .help-articles-hero-v2,
html.admin-theme-dark .help-article-form-hero-v2,
body.admin-theme-dark .help-article-form-hero-v2{
  background:#0d1c31!important;
  background-image:none!important;
  color:#ffffff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .help-categories-hero-v2:after,
body.admin-theme-dark .help-categories-hero-v2:after,
html.admin-theme-dark .help-category-form-hero-v2:after,
body.admin-theme-dark .help-category-form-hero-v2:after,
html.admin-theme-dark .help-articles-hero-v2:after,
body.admin-theme-dark .help-articles-hero-v2:after,
html.admin-theme-dark .help-article-form-hero-v2:after,
body.admin-theme-dark .help-article-form-hero-v2:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .help-categories-hero-v2 h1,
html.admin-theme-dark .help-category-form-hero-v2 h1,
html.admin-theme-dark .help-articles-hero-v2 h1,
html.admin-theme-dark .help-article-form-hero-v2 h1,
body.admin-theme-dark .help-categories-hero-v2 h1,
body.admin-theme-dark .help-category-form-hero-v2 h1,
body.admin-theme-dark .help-articles-hero-v2 h1,
body.admin-theme-dark .help-article-form-hero-v2 h1{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html.admin-theme-dark .help-categories-hero-v2 p,
html.admin-theme-dark .help-category-form-hero-v2 p,
html.admin-theme-dark .help-articles-hero-v2 p,
html.admin-theme-dark .help-article-form-hero-v2 .note,
body.admin-theme-dark .help-categories-hero-v2 p,
body.admin-theme-dark .help-category-form-hero-v2 p,
body.admin-theme-dark .help-articles-hero-v2 p,
body.admin-theme-dark .help-article-form-hero-v2 .note{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .help-categories-hero-v2 .help-categories-eyebrow-v2,
body.admin-theme-dark .help-categories-hero-v2 .help-categories-eyebrow-v2,
html.admin-theme-dark .help-category-form-eyebrow-v2,
body.admin-theme-dark .help-category-form-eyebrow-v2,
html.admin-theme-dark .help-articles-eyebrow-v2,
body.admin-theme-dark .help-articles-eyebrow-v2,
html.admin-theme-dark .help-article-form-eyebrow-v2,
body.admin-theme-dark .help-article-form-eyebrow-v2{
  background:#2f3c4e!important;
  border-color:#526074!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  opacity:1!important;
}

/* Newslettermanager dark-mode color alignment: match Direkt kaufen reference (Bild 5). */
html.admin-theme-dark .newsletter-admin-hero,
body.admin-theme-dark .newsletter-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .newsletter-admin-hero:after,
body.admin-theme-dark .newsletter-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .newsletter-admin-hero h1,
html.admin-theme-dark .newsletter-admin-hero strong,
body.admin-theme-dark .newsletter-admin-hero h1,
body.admin-theme-dark .newsletter-admin-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .newsletter-admin-hero p,
html.admin-theme-dark .newsletter-admin-hero span,
html.admin-theme-dark .newsletter-admin-hero small,
body.admin-theme-dark .newsletter-admin-hero p,
body.admin-theme-dark .newsletter-admin-hero span,
body.admin-theme-dark .newsletter-admin-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .newsletter-admin-hero .eyebrow,
html.admin-theme-dark .newsletter-admin-hero .admin-eyebrow,
body.admin-theme-dark .newsletter-admin-hero .eyebrow,
body.admin-theme-dark .newsletter-admin-hero .admin-eyebrow{
  background:#2f3c4e!important;
  border-color:#526074!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .newsletter-admin-stats .mini-stat,
body.admin-theme-dark .newsletter-admin-stats .mini-stat{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}
html.admin-theme-dark .newsletter-admin-stats .mini-stat span,
html.admin-theme-dark .newsletter-admin-stats .mini-stat strong,
body.admin-theme-dark .newsletter-admin-stats .mini-stat span,
body.admin-theme-dark .newsletter-admin-stats .mini-stat strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .newsletter-admin-stats .mini-stat small,
body.admin-theme-dark .newsletter-admin-stats .mini-stat small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}

/* === Dark mode color match: Tickets ===
   Match ticket admin headers to the Direkt kaufen dark reference. */
html.admin-theme-dark .ticket-hero-v2,
body.admin-theme-dark .ticket-hero-v2,
html.theme-dark .ticket-hero-v2,
body.theme-dark .ticket-hero-v2{
  background:#0d1c31!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .ticket-hero-v2:after,
body.admin-theme-dark .ticket-hero-v2:after,
html.theme-dark .ticket-hero-v2:after,
body.theme-dark .ticket-hero-v2:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .ticket-hero-v2 .ticket-eyebrow-v2,
body.admin-theme-dark .ticket-hero-v2 .ticket-eyebrow-v2,
html.theme-dark .ticket-hero-v2 .ticket-eyebrow-v2,
body.theme-dark .ticket-hero-v2 .ticket-eyebrow-v2{
  background:#34445a!important;
  border-color:#5f7898!important;
  color:#fff!important;
}
html.admin-theme-dark .ticket-hero-v2 h1,
html.admin-theme-dark .ticket-hero-v2 p,
body.admin-theme-dark .ticket-hero-v2 h1,
body.admin-theme-dark .ticket-hero-v2 p,
html.theme-dark .ticket-hero-v2 h1,
html.theme-dark .ticket-hero-v2 p,
body.theme-dark .ticket-hero-v2 h1,
body.theme-dark .ticket-hero-v2 p{
  color:#fff!important;
}
html.admin-theme-dark .ticket-hero-action-v2,
body.admin-theme-dark .ticket-hero-action-v2,
html.theme-dark .ticket-hero-action-v2,
body.theme-dark .ticket-hero-action-v2{
  background:#0d1c31!important;
  border-color:#355982!important;
  color:#fff!important;
  box-shadow:none!important;
}

/* === Dark mode color match: Protokolle / Benachrichtigungen / Sicherheit ===
   Match log headers to the Direkt kaufen dark reference (Bild 6). */
html.admin-theme-dark .admin-log-hero,
body.admin-theme-dark .admin-log-hero,
html.theme-dark .admin-log-hero,
body.theme-dark .admin-log-hero,
html.admin-theme-dark .audit-log-hero,
body.admin-theme-dark .audit-log-hero,
html.theme-dark .audit-log-hero,
body.theme-dark .audit-log-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
  border-color:rgba(59,99,142,.75)!important;
}
html.admin-theme-dark .admin-log-hero:after,
body.admin-theme-dark .admin-log-hero:after,
html.theme-dark .admin-log-hero:after,
body.theme-dark .admin-log-hero:after,
html.admin-theme-dark .audit-log-hero:after,
body.admin-theme-dark .audit-log-hero:after,
html.theme-dark .audit-log-hero:after,
body.theme-dark .audit-log-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .admin-log-eyebrow,
body.admin-theme-dark .admin-log-eyebrow,
html.theme-dark .admin-log-eyebrow,
body.theme-dark .admin-log-eyebrow,
html.admin-theme-dark .audit-log-eyebrow,
body.admin-theme-dark .audit-log-eyebrow,
html.theme-dark .audit-log-eyebrow,
body.theme-dark .audit-log-eyebrow{
  background:#34445a!important;
  border-color:#5f7898!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.admin-theme-dark .admin-log-hero h1,
html.admin-theme-dark .admin-log-hero p,
body.admin-theme-dark .admin-log-hero h1,
body.admin-theme-dark .admin-log-hero p,
html.theme-dark .admin-log-hero h1,
html.theme-dark .admin-log-hero p,
body.theme-dark .admin-log-hero h1,
body.theme-dark .admin-log-hero p,
html.admin-theme-dark .audit-log-hero h1,
html.admin-theme-dark .audit-log-hero p,
body.admin-theme-dark .audit-log-hero h1,
body.admin-theme-dark .audit-log-hero p,
html.theme-dark .audit-log-hero h1,
html.theme-dark .audit-log-hero p,
body.theme-dark .audit-log-hero h1,
body.theme-dark .audit-log-hero p{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.admin-theme-dark .admin-log-hero-stats article,
body.admin-theme-dark .admin-log-hero-stats article,
html.theme-dark .admin-log-hero-stats article,
body.theme-dark .admin-log-hero-stats article,
html.admin-theme-dark .audit-log-hero-stats-v2 article,
body.admin-theme-dark .audit-log-hero-stats-v2 article,
html.theme-dark .audit-log-hero-stats-v2 article,
body.theme-dark .audit-log-hero-stats-v2 article,
html.admin-theme-dark .audit-log-count,
body.admin-theme-dark .audit-log-count,
html.theme-dark .audit-log-count,
body.theme-dark .audit-log-count{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}
html.admin-theme-dark .admin-log-hero-stats span,
html.admin-theme-dark .admin-log-hero-stats strong,
html.admin-theme-dark .admin-log-hero-stats small,
body.admin-theme-dark .admin-log-hero-stats span,
body.admin-theme-dark .admin-log-hero-stats strong,
body.admin-theme-dark .admin-log-hero-stats small,
html.theme-dark .admin-log-hero-stats span,
html.theme-dark .admin-log-hero-stats strong,
html.theme-dark .admin-log-hero-stats small,
body.theme-dark .admin-log-hero-stats span,
body.theme-dark .admin-log-hero-stats strong,
body.theme-dark .admin-log-hero-stats small,
html.admin-theme-dark .audit-log-hero-stats-v2 span,
html.admin-theme-dark .audit-log-hero-stats-v2 strong,
html.admin-theme-dark .audit-log-hero-stats-v2 small,
body.admin-theme-dark .audit-log-hero-stats-v2 span,
body.admin-theme-dark .audit-log-hero-stats-v2 strong,
body.admin-theme-dark .audit-log-hero-stats-v2 small,
html.theme-dark .audit-log-hero-stats-v2 span,
html.theme-dark .audit-log-hero-stats-v2 strong,
html.theme-dark .audit-log-hero-stats-v2 small,
body.theme-dark .audit-log-hero-stats-v2 span,
body.theme-dark .audit-log-hero-stats-v2 strong,
body.theme-dark .audit-log-hero-stats-v2 small,
html.admin-theme-dark .audit-log-count strong,
html.admin-theme-dark .audit-log-count span,
body.admin-theme-dark .audit-log-count strong,
body.admin-theme-dark .audit-log-count span,
html.theme-dark .audit-log-count strong,
html.theme-dark .audit-log-count span,
body.theme-dark .audit-log-count strong,
body.theme-dark .audit-log-count span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Dark mode integration headers: match Direkt-kaufen reference palette (Bild 6). */
html.admin-theme-dark .integrations-polished-page .analytics-admin-hero,
body.admin-theme-dark .integrations-polished-page .analytics-admin-hero,
html.admin-theme-dark .social-login-polished-page .settings-hero,
body.admin-theme-dark .social-login-polished-page .settings-hero{
  background:#0d1c31!important;
  color:#ffffff!important;
  border-color:rgba(71,104,145,.28)!important;
  box-shadow:none!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-hero:after,
body.admin-theme-dark .integrations-polished-page .analytics-admin-hero:after,
html.admin-theme-dark .social-login-polished-page .settings-hero:after,
body.admin-theme-dark .social-login-polished-page .settings-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-hero .eyebrow,
body.admin-theme-dark .integrations-polished-page .analytics-admin-hero .eyebrow,
html.admin-theme-dark .social-login-polished-page .settings-hero .eyebrow,
body.admin-theme-dark .social-login-polished-page .settings-hero .eyebrow{
  background:rgba(255,255,255,.12)!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.24)!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-hero h1,
html.admin-theme-dark .integrations-polished-page .analytics-admin-hero p,
html.admin-theme-dark .social-login-polished-page .settings-hero h1,
html.admin-theme-dark .social-login-polished-page .settings-hero p,
body.admin-theme-dark .integrations-polished-page .analytics-admin-hero h1,
body.admin-theme-dark .integrations-polished-page .analytics-admin-hero p,
body.admin-theme-dark .social-login-polished-page .settings-hero h1,
body.admin-theme-dark .social-login-polished-page .settings-hero p{
  color:#ffffff!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-hero p,
body.admin-theme-dark .integrations-polished-page .analytics-admin-hero p,
html.admin-theme-dark .social-login-polished-page .settings-hero p,
body.admin-theme-dark .social-login-polished-page .settings-hero p{
  color:rgba(255,255,255,.88)!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat,
body.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat{
  background:#0b1a2d!important;
  border-color:rgba(71,104,145,.70)!important;
  color:#ffffff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat span,
html.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat small,
body.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat span,
body.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat small{
  color:#ffffff!important;
}
html.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat small,
body.admin-theme-dark .integrations-polished-page .analytics-admin-stats .mini-stat small{
  color:rgba(255,255,255,.78)!important;
}

/* SEO dark-mode hero color match: Direkt kaufen reference */
html.admin-theme-dark .seo-polished-page .seo-admin-hero,
body.admin-theme-dark .seo-polished-page .seo-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  border:0!important;
  box-shadow:none!important;
}
html.admin-theme-dark .seo-polished-page .seo-admin-hero:after,
body.admin-theme-dark .seo-polished-page .seo-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .seo-polished-page .seo-admin-hero .eyebrow,
body.admin-theme-dark .seo-polished-page .seo-admin-hero .eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  opacity:1!important;
}
html.admin-theme-dark .seo-polished-page .seo-admin-hero h1,
html.admin-theme-dark .seo-polished-page .seo-admin-hero .mini-stat span,
body.admin-theme-dark .seo-polished-page .seo-admin-hero h1,
body.admin-theme-dark .seo-polished-page .seo-admin-hero .mini-stat span{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .seo-polished-page .seo-admin-hero p,
html.admin-theme-dark .seo-polished-page .seo-admin-hero .mini-stat small,
body.admin-theme-dark .seo-polished-page .seo-admin-hero p,
body.admin-theme-dark .seo-polished-page .seo-admin-hero .mini-stat small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .seo-polished-page .seo-admin-hero .mini-stat,
body.admin-theme-dark .seo-polished-page .seo-admin-hero .mini-stat{
  background:#101d31!important;
  border-color:#3b638e!important;
  box-shadow:none!important;
}

/* Dark mode color match: Erweiterungen und Werkzeuge to Direkt kaufen reference (Bild 5). */
html.admin-theme-dark .extensions-hero,
body.admin-theme-dark .extensions-hero,
html.admin-theme-dark .tools-hero-v2,
body.admin-theme-dark .tools-hero-v2,
html.admin-theme-dark .maintenance-admin-hero,
body.admin-theme-dark .maintenance-admin-hero,
html.admin-theme-dark .backup-admin-hero,
body.admin-theme-dark .backup-admin-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
html.admin-theme-dark .extensions-hero:after,
body.admin-theme-dark .extensions-hero:after,
html.admin-theme-dark .tools-hero-v2:after,
body.admin-theme-dark .tools-hero-v2:after,
html.admin-theme-dark .maintenance-admin-hero:after,
body.admin-theme-dark .maintenance-admin-hero:after,
html.admin-theme-dark .backup-admin-hero:after,
body.admin-theme-dark .backup-admin-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .extensions-hero .eyebrow,
body.admin-theme-dark .extensions-hero .eyebrow,
html.admin-theme-dark .tools-eyebrow-v2,
body.admin-theme-dark .tools-eyebrow-v2,
html.admin-theme-dark .tools-hero-v2 .eyebrow,
body.admin-theme-dark .tools-hero-v2 .eyebrow,
html.admin-theme-dark .maintenance-admin-hero .eyebrow,
body.admin-theme-dark .maintenance-admin-hero .eyebrow,
html.admin-theme-dark .backup-admin-hero .eyebrow,
body.admin-theme-dark .backup-admin-hero .eyebrow{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#eaf3ff!important;
  -webkit-text-fill-color:#eaf3ff!important;
}
html.admin-theme-dark .extensions-hero h1,
html.admin-theme-dark .extensions-hero p,
html.admin-theme-dark .tools-hero-v2 h1,
html.admin-theme-dark .tools-hero-v2 p,
html.admin-theme-dark .maintenance-admin-hero h1,
html.admin-theme-dark .maintenance-admin-hero p,
html.admin-theme-dark .backup-admin-hero h1,
html.admin-theme-dark .backup-admin-hero p,
body.admin-theme-dark .extensions-hero h1,
body.admin-theme-dark .extensions-hero p,
body.admin-theme-dark .tools-hero-v2 h1,
body.admin-theme-dark .tools-hero-v2 p,
body.admin-theme-dark .maintenance-admin-hero h1,
body.admin-theme-dark .maintenance-admin-hero p,
body.admin-theme-dark .backup-admin-hero h1,
body.admin-theme-dark .backup-admin-hero p{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.admin-theme-dark .extensions-hero p,
html.admin-theme-dark .tools-hero-v2 p,
html.admin-theme-dark .maintenance-admin-hero p,
html.admin-theme-dark .backup-admin-hero p,
body.admin-theme-dark .extensions-hero p,
body.admin-theme-dark .tools-hero-v2 p,
body.admin-theme-dark .maintenance-admin-hero p,
body.admin-theme-dark .backup-admin-hero p{
  color:rgba(255,255,255,.88)!important;
  -webkit-text-fill-color:rgba(255,255,255,.88)!important;
}
html.admin-theme-dark .extensions-hero__stats div,
body.admin-theme-dark .extensions-hero__stats div,
html.admin-theme-dark .tools-hero-stats-v2 article,
body.admin-theme-dark .tools-hero-stats-v2 article,
html.admin-theme-dark .maintenance-admin-stats .mini-stat,
body.admin-theme-dark .maintenance-admin-stats .mini-stat,
html.admin-theme-dark .backup-admin-stats .mini-stat,
body.admin-theme-dark .backup-admin-stats .mini-stat{
  background:#0b1b30!important;
  border-color:rgba(96,165,250,.28)!important;
  color:#fff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .extensions-hero__stats strong,
html.admin-theme-dark .tools-hero-stats-v2 strong,
html.admin-theme-dark .maintenance-admin-stats .mini-stat span,
html.admin-theme-dark .backup-admin-stats .mini-stat span,
body.admin-theme-dark .extensions-hero__stats strong,
body.admin-theme-dark .tools-hero-stats-v2 strong,
body.admin-theme-dark .maintenance-admin-stats .mini-stat span,
body.admin-theme-dark .backup-admin-stats .mini-stat span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.admin-theme-dark .extensions-hero__stats span,
html.admin-theme-dark .tools-hero-stats-v2 span,
html.admin-theme-dark .tools-hero-stats-v2 small,
html.admin-theme-dark .maintenance-admin-stats .mini-stat small,
html.admin-theme-dark .backup-admin-stats .mini-stat small,
body.admin-theme-dark .extensions-hero__stats span,
body.admin-theme-dark .tools-hero-stats-v2 span,
body.admin-theme-dark .tools-hero-stats-v2 small,
body.admin-theme-dark .maintenance-admin-stats .mini-stat small,
body.admin-theme-dark .backup-admin-stats .mini-stat small{
  color:rgba(255,255,255,.78)!important;
  -webkit-text-fill-color:rgba(255,255,255,.78)!important;
}

/* Fix: Wartungsmodus Dark Mode - Abstand zwischen Hero und Formular sichtbar machen. */
html.admin-theme-dark .settings-page > .maintenance-admin-shell,
body.admin-theme-dark .settings-page > .maintenance-admin-shell{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:20px!important;
}

html.admin-theme-dark .settings-page > .maintenance-admin-shell > .maintenance-admin-hero,
body.admin-theme-dark .settings-page > .maintenance-admin-shell > .maintenance-admin-hero{
  margin:0!important;
}

html.admin-theme-dark .settings-page > .maintenance-admin-shell > .maintenance-admin-form,
body.admin-theme-dark .settings-page > .maintenance-admin-shell > .maintenance-admin-form{
  margin:0!important;
}

/* Fix: Datenbanksicherung Dark Mode - Abstand zwischen Hero und Grid sichtbar machen. */
html.admin-theme-dark .settings-page > .backup-admin-shell,
body.admin-theme-dark .settings-page > .backup-admin-shell{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:20px!important;
}

html.admin-theme-dark .settings-page > .backup-admin-shell > .backup-admin-hero,
body.admin-theme-dark .settings-page > .backup-admin-shell > .backup-admin-hero,
html.admin-theme-dark .settings-page > .backup-admin-shell > .backup-admin-grid,
body.admin-theme-dark .settings-page > .backup-admin-shell > .backup-admin-grid{
  margin:0!important;
}

/* Fix: Dark Mode Admin tool pages - keep wrapper shells transparent so the gap between hero and content stays visible. */
html.admin-theme-dark .settings-page > :where(.maintenance-admin-shell,.backup-admin-shell,.analytics-admin-shell),
body.admin-theme-dark .settings-page > :where(.maintenance-admin-shell,.backup-admin-shell,.analytics-admin-shell){
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:20px!important;
}

html.admin-theme-dark .settings-page > :where(.maintenance-admin-shell,.backup-admin-shell,.analytics-admin-shell) > *,
body.admin-theme-dark .settings-page > :where(.maintenance-admin-shell,.backup-admin-shell,.analytics-admin-shell) > *{
  margin-top:0!important;
  margin-bottom:0!important;
}

html.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-hero,
body.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-hero,
html.admin-theme-dark .settings-page > .analytics-admin-shell > .seo-admin-hero,
body.admin-theme-dark .settings-page > .analytics-admin-shell > .seo-admin-hero,
html.admin-theme-dark .settings-page > .analytics-admin-shell > .spam-protection-admin-hero,
body.admin-theme-dark .settings-page > .analytics-admin-shell > .spam-protection-admin-hero{
  background:linear-gradient(135deg,#10284f 0%,#204a8a 100%)!important;
  border:0!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
}

/* Fix: Integrationen Dark Mode - Formular-Wrapper selbst transparent machen, damit die blauen Streifen zwischen den Panels verschwinden. */
html.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-form,
body.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-form,
html.admin-theme-dark .settings-page > .analytics-admin-shell > form.card.settings-card.analytics-admin-form,
body.admin-theme-dark .settings-page > .analytics-admin-shell > form.card.settings-card.analytics-admin-form{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:20px!important;
}

html.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-form > .analytics-panel,
body.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-form > .analytics-panel{
  background:#111827!important;
  background-image:none!important;
  border-color:#334155!important;
  box-shadow:none!important;
}

html.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-form > .actions-row,
body.admin-theme-dark .settings-page > .analytics-admin-shell > .analytics-admin-form > .actions-row{
  background:#111827!important;
  background-image:none!important;
  border-color:#334155!important;
  box-shadow:none!important;
}


/* Fix user admin action dropdown clipping on bucket pages. */
.users-table-card,
.users-table-wrap{
  overflow:visible!important;
}
.users-table-wrap{
  clip-path:none!important;
}
.users-table-card,
.users-table-wrap,
.users-modern-table,
.users-modern-table tbody,
.users-modern-table tr,
.users-modern-table td.action-col{
  position:relative;
}
.users-modern-table td.action-col{
  z-index:20;
}
.users-modern-table tr:has(.user-action-menu.is-open) td.action-col{
  z-index:200;
}

/* Ad-free subscription admin page - polished light/dark header like Direct purchase */
.ad-free-settings-page-v2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;gap:18px}
.ad-free-settings-hero-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.18);position:relative;overflow:hidden}
.ad-free-settings-hero-v2:after{content:"";position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.10)}
.ad-free-settings-hero-v2__copy{position:relative;z-index:1;max-width:760px}
.ad-free-settings-eyebrow-v2{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1e4d88;border:1px solid #d7e7fb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.ad-free-settings-hero-v2 .ad-free-settings-eyebrow-v2{background:rgba(255,255,255,.14);color:#eaf3ff;border-color:rgba(255,255,255,.24)}
.ad-free-settings-hero-v2 h1{margin:12px 0 9px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}
.ad-free-settings-hero-v2 p{margin:0;color:rgba(255,255,255,.84);line-height:1.55;font-size:15px}
.ad-free-settings-hero-v2__stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:12px;min-width:470px}
.ad-free-settings-hero-v2__stats article{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.13);border-radius:18px;padding:16px 17px;backdrop-filter:blur(8px)}
.ad-free-settings-hero-v2__stats span{display:block;margin-bottom:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.ad-free-settings-hero-v2__stats strong{display:block;color:#fff;font-size:28px;line-height:1}
.ad-free-settings-hero-v2__stats small{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:12px;font-weight:800;line-height:1.25}
.ad-free-settings-summary-v2{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ad-free-settings-summary-v2 article{padding:15px 16px;border-radius:18px;border:1px solid #dce8f6;background:#f8fbff;display:flex;flex-direction:column;gap:5px;min-width:0}
.ad-free-settings-summary-v2 span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5f728d}
.ad-free-settings-summary-v2 strong{font-size:20px;color:#13294b;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-free-settings-summary-v2 small{color:#6b7c92;line-height:1.35}
.ad-free-settings-form-v2{display:flex;flex-direction:column;gap:18px;margin:0}
.ad-free-settings-card-v2{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.06);padding:22px}
.ad-free-settings-card-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf2f8}
.ad-free-settings-card-head-v2 h2{margin:10px 0 6px;color:#10284f;font-size:24px;letter-spacing:-.025em}
.ad-free-settings-card-head-v2 p{margin:0;color:#687991;line-height:1.45;max-width:900px}
.ad-free-toggle-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ad-free-toggle-card-v2{position:relative;display:flex!important;gap:14px;align-items:flex-start;min-height:100px;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.045);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.ad-free-toggle-card-v2:hover{transform:translateY(-1px);box-shadow:0 15px 32px rgba(16,40,79,.075);border-color:#bfdbfe}
.ad-free-toggle-card-v2.is-active{background:linear-gradient(180deg,#eff6ff 0%,#fff 100%);border-color:#bfdbfe}
.ad-free-toggle-card-v2 input{position:absolute;opacity:0;pointer-events:none}
.ad-free-toggle-v2{flex:0 0 48px;width:48px;height:28px;border-radius:999px;background:#cbd5e1;position:relative;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);margin-top:2px}
.ad-free-toggle-v2:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:999px;background:#fff;box-shadow:0 4px 10px rgba(15,23,42,.18);transition:left .18s ease}
.ad-free-toggle-card-v2 input:checked + .ad-free-toggle-v2{background:#16345c}
.ad-free-toggle-card-v2 input:checked + .ad-free-toggle-v2:after{left:23px}
.ad-free-toggle-card-v2 strong{display:block;color:#10284f;font-size:15px;line-height:1.3}
.ad-free-toggle-card-v2 small{display:block;margin-top:6px;color:#5f728d;line-height:1.5;font-size:12px}
.ad-free-field-grid-v2,.ad-free-filter-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ad-free-field-grid-v2 label,.ad-free-filter-grid-v2 label{position:relative;display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid #dce8f6;border-radius:18px;background:#f8fbff;color:#243a59;font-weight:900}
.ad-free-filter-grid-v2 label{padding:0;border:0;background:transparent;box-shadow:none}
.ad-free-field-grid-v2 label>span,.ad-free-filter-grid-v2 label>span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#5f728d}
.ad-free-field-grid-v2 input,.ad-free-filter-grid-v2 input,.ad-free-filter-grid-v2 select{width:100%;min-height:48px;border:1px solid #d5e2f2;border-radius:15px;background:#fff;color:#13294b;padding:0 13px;font-weight:800;box-sizing:border-box}
.ad-free-field-grid-v2 input:focus,.ad-free-filter-grid-v2 input:focus,.ad-free-filter-grid-v2 select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.ad-free-field-grid-v2 small{color:#71829a;line-height:1.35}
.ad-free-filter-actions-v2{grid-column:1/-1;display:flex;gap:10px;align-items:center;justify-content:flex-start}
.ad-free-settings-savebar-v2{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}
.ad-free-settings-savebar-v2 strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}
.ad-free-settings-savebar-v2 span{display:block;color:#687991;font-size:13px}
.ad-free-settings-savebar-v2 .btn-primary{min-height:42px;border-radius:14px;white-space:nowrap}
.ad-free-table-wrap-v2{overflow:auto;border:1px solid #dbe7f5;border-radius:20px;background:#fff}
.ad-free-table-v2{min-width:880px;margin:0!important;border:0!important}
.ad-free-table-v2 thead th{background:#f6f9fd!important;color:#61728c!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.ad-free-table-v2 tbody td{vertical-align:top}
html.admin-theme-dark .ad-free-settings-page-v2{background:transparent!important}
html.admin-theme-dark .ad-free-settings-summary-v2 article,html.admin-theme-dark .ad-free-settings-card-v2,html.admin-theme-dark .ad-free-toggle-card-v2,html.admin-theme-dark .ad-free-field-grid-v2 label,html.admin-theme-dark .ad-free-settings-savebar-v2,html.admin-theme-dark .ad-free-table-wrap-v2{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb}
html.admin-theme-dark .ad-free-toggle-card-v2.is-active{background:#10213a!important;border-color:#60a5fa!important}
html.admin-theme-dark .ad-free-settings-card-head-v2{border-color:#334155!important}
html.admin-theme-dark .ad-free-settings-summary-v2 strong,html.admin-theme-dark .ad-free-settings-card-head-v2 h2,html.admin-theme-dark .ad-free-toggle-card-v2 strong,html.admin-theme-dark .ad-free-settings-savebar-v2 strong{color:#f8fafc!important}
html.admin-theme-dark .ad-free-settings-summary-v2 span,html.admin-theme-dark .ad-free-settings-summary-v2 small,html.admin-theme-dark .ad-free-settings-card-head-v2 p,html.admin-theme-dark .ad-free-toggle-card-v2 small,html.admin-theme-dark .ad-free-field-grid-v2 label>span,html.admin-theme-dark .ad-free-field-grid-v2 small,html.admin-theme-dark .ad-free-filter-grid-v2 label>span,html.admin-theme-dark .ad-free-settings-savebar-v2 span{color:#94a3b8!important}
html.admin-theme-dark .ad-free-field-grid-v2 input,html.admin-theme-dark .ad-free-filter-grid-v2 input,html.admin-theme-dark .ad-free-filter-grid-v2 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
html.admin-theme-dark .ad-free-toggle-card-v2 input:checked + .ad-free-toggle-v2{background:#3b82f6!important}
html.admin-theme-dark .ad-free-table-v2 thead th{background:#0f172a!important;color:#bfdbfe!important;border-color:#334155!important}
@media(max-width:1250px){.ad-free-settings-hero-v2{flex-direction:column}.ad-free-settings-hero-v2__stats{width:100%;min-width:0}.ad-free-settings-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ad-free-settings-hero-v2,.ad-free-settings-card-v2{padding:18px;border-radius:20px}.ad-free-settings-hero-v2 h1{font-size:25px}.ad-free-settings-hero-v2__stats,.ad-free-settings-summary-v2,.ad-free-toggle-grid-v2,.ad-free-field-grid-v2,.ad-free-filter-grid-v2{grid-template-columns:1fr}.ad-free-settings-savebar-v2{position:static;flex-direction:column;align-items:stretch}.ad-free-settings-savebar-v2 .btn-primary{width:100%;justify-content:center}}


/* Ad-free admin bookings refinement */
.ad-free-admin-bookings-v2{overflow:hidden}
.ad-free-bookings-head-v2{align-items:center}
.ad-free-bookings-mini-v2{min-width:190px;border:1px solid #d9e7f7;background:#f4f8fe;border-radius:16px;padding:13px 15px;text-align:left}
.ad-free-bookings-mini-v2 span{display:block;color:#60728d;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}
.ad-free-bookings-mini-v2 strong{display:block;color:#10284f;font-size:14px;line-height:1.2}
.ad-free-table-wrap-v2{border:1px solid #dce8f6;border-radius:20px;background:#fff;overflow:auto;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.ad-free-table-v2{width:100%;border-collapse:separate!important;border-spacing:0;min-width:1080px;background:transparent!important}
.ad-free-table-v2 thead th{position:sticky;top:0;z-index:1;background:#f3f7fc!important;color:#5e708a!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase;padding:12px 14px!important;border-bottom:1px solid #dce8f6!important;white-space:nowrap}
.ad-free-table-v2 tbody td{padding:15px 14px!important;border-bottom:1px solid #edf2f8!important;vertical-align:middle;background:#fff!important;color:#10284f!important}
.ad-free-table-v2 tbody tr:last-child td{border-bottom:0!important}
.ad-free-table-v2 tbody tr:hover td{background:#f8fbff!important}
.ad-free-table-v2 td strong{display:block;color:#10284f;font-weight:900;line-height:1.25}
.ad-free-table-v2 td small{display:block;color:#61738d;margin-top:4px;line-height:1.25}
.ad-free-customer-cell-v2 strong{font-size:15px}
.ad-free-empty-v2{text-align:center;color:#687991!important;padding:28px!important}
.ad-free-status-pill-v2{display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid transparent;white-space:nowrap}
.ad-free-status-pill-v2.is-active{background:#e8f9ef;color:#157347;border-color:#bfeccc}
.ad-free-status-pill-v2.is-cancelled{background:#fff7e6;color:#946200;border-color:#ffe0a3}
.ad-free-status-pill-v2.is-expired{background:#f1f5f9;color:#475569;border-color:#d7e0ea}
.ad-free-status-pill-v2.is-inactive{background:#feecec;color:#a62323;border-color:#ffd1d1}
.ad-free-row-action-v2{display:flex;gap:8px;align-items:center;min-width:245px;margin:0}
.ad-free-row-action-v2 select{height:38px;border:1px solid #cfdeef;border-radius:12px;background:#fff;color:#10284f;font-weight:800;padding:0 10px;min-width:130px}
.ad-free-row-action-v2 .btn-small{height:38px;min-height:38px;padding:0 13px;border-radius:12px;font-size:13px}
.ad-free-table-v2 .muted{color:#8a99ad}
html.admin-theme-dark .ad-free-bookings-mini-v2,html.admin-theme-dark .ad-free-table-wrap-v2{background:#111827!important;border-color:#334155!important;color:#e5e7eb!important}
html.admin-theme-dark .ad-free-bookings-mini-v2 strong,html.admin-theme-dark .ad-free-table-v2 td strong{color:#f8fafc!important}
html.admin-theme-dark .ad-free-bookings-mini-v2 span,html.admin-theme-dark .ad-free-table-v2 td small{color:#94a3b8!important}
html.admin-theme-dark .ad-free-table-v2 thead th{background:#1e293b!important;color:#cbd5e1!important;border-color:#334155!important}
html.admin-theme-dark .ad-free-table-v2 tbody td{background:#111827!important;color:#e5e7eb!important;border-color:#334155!important}
html.admin-theme-dark .ad-free-table-v2 tbody tr:hover td{background:#172033!important}
html.admin-theme-dark .ad-free-row-action-v2 select{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
@media(max-width:900px){.ad-free-bookings-head-v2{align-items:stretch;flex-direction:column}.ad-free-bookings-mini-v2{width:100%}.ad-free-row-action-v2{min-width:220px}}

/* Ad-free bookings table v3 - tighter alignment and cleaner booking rows */
.ad-free-bookings-table-v3{table-layout:fixed;min-width:1220px!important}
.ad-free-bookings-table-v3 .ad-free-col-customer{width:17%}
.ad-free-bookings-table-v3 .ad-free-col-order{width:17%}
.ad-free-bookings-table-v3 .ad-free-col-status{width:12%}
.ad-free-bookings-table-v3 .ad-free-col-period{width:20%}
.ad-free-bookings-table-v3 .ad-free-col-cancelled{width:14%}
.ad-free-bookings-table-v3 .ad-free-col-amount{width:9%}
.ad-free-bookings-table-v3 .ad-free-col-action{width:21%}
.ad-free-bookings-table-v3 thead th{padding:13px 16px!important;text-align:left!important}
.ad-free-bookings-table-v3 thead th.is-right{text-align:right!important}
.ad-free-bookings-table-v3 thead th.is-center{text-align:center!important}
.ad-free-bookings-table-v3 tbody td{padding:18px 16px!important;vertical-align:middle!important}
.ad-free-bookings-table-v3 tbody tr{box-shadow:inset 0 -1px 0 #edf2f8}
.ad-free-bookings-table-v3 tbody tr:last-child{box-shadow:none}
.ad-free-customer-cell-v2 strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word}
.ad-free-customer-cell-v2 small{max-width:100%;overflow-wrap:anywhere}
.ad-free-order-cell-v3 strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-free-order-status-v3{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:999px;background:#eef5ff;border:1px solid #d8e8fb;color:#48617e;font-size:11px;font-weight:900;line-height:1;text-transform:lowercase;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-free-status-cell-v3{text-align:center}
.ad-free-status-cell-v3 .ad-free-status-pill-v2{min-width:84px}
.ad-free-period-cell-v3 strong{font-size:14px;white-space:nowrap}
.ad-free-period-cell-v3 small{white-space:nowrap}
.ad-free-cancelled-cell-v3{text-align:center;color:#687991!important}
.ad-free-date-chip-v3{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:12px;background:#f6f9fd;border:1px solid #dce8f6;color:#10284f;font-weight:800;font-size:12px;white-space:nowrap}
.ad-free-empty-dash-v3{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#8a99ad;font-weight:900}
.ad-free-amount-cell-v3{text-align:right;white-space:nowrap}
.ad-free-amount-cell-v3 strong{display:inline-flex!important;justify-content:flex-end;padding:7px 10px;border-radius:12px;background:#f4f8fe;border:1px solid #dce8f6;color:#10284f!important;font-size:14px;min-width:74px}
.ad-free-action-cell-v3{text-align:right}
.ad-free-action-cell-v3 .ad-free-row-action-v2{justify-content:flex-end;min-width:0;width:100%;gap:9px}
.ad-free-action-cell-v3 .ad-free-row-action-v2 select{min-width:150px;max-width:170px;font-size:13px}
.ad-free-action-cell-v3 .ad-free-row-action-v2 .btn-small{white-space:nowrap;font-weight:900}
.ad-free-admin-bookings-v2 .ad-free-table-wrap-v2{margin-top:8px;overflow-x:auto}
html.admin-theme-dark .ad-free-bookings-table-v3 tbody tr{box-shadow:inset 0 -1px 0 #334155}
html.admin-theme-dark .ad-free-order-status-v3,html.admin-theme-dark .ad-free-date-chip-v3,html.admin-theme-dark .ad-free-amount-cell-v3 strong{background:#0f172a;border-color:#334155;color:#dbeafe!important}
html.admin-theme-dark .ad-free-empty-dash-v3{background:#0f172a;border-color:#334155;color:#64748b}
@media(max-width:1280px){.ad-free-bookings-table-v3{min-width:1120px!important}.ad-free-bookings-table-v3 .ad-free-col-action{width:24%}.ad-free-bookings-table-v3 .ad-free-col-period{width:18%}}
@media(max-width:760px){.ad-free-bookings-table-v3{min-width:980px!important}.ad-free-action-cell-v3 .ad-free-row-action-v2{flex-direction:column;align-items:stretch}.ad-free-action-cell-v3 .ad-free-row-action-v2 select{max-width:none;width:100%}.ad-free-action-cell-v3 .ad-free-row-action-v2 .btn-small{width:100%;justify-content:center}}

/* Ad-free bookings search layout like PRO bookings */
.ad-free-bookings-search-card-v4{padding:22px!important;border-radius:24px!important;margin-top:0!important}
.ad-free-bookings-filter-v4{grid-template-columns:minmax(320px,1fr) minmax(240px,.65fr) auto!important;gap:14px!important;align-items:end!important}
.ad-free-bookings-filter-v4 label{margin:0!important}
.ad-free-bookings-filter-v4 label span{font-size:12px!important;font-weight:900!important;color:#5f728d!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.ad-free-bookings-filter-v4 input,.ad-free-bookings-filter-v4 select{min-height:52px!important;border-radius:16px!important;border:1px solid #d5e2f2!important;background:#fbfdff!important;color:#10284f!important;font-weight:800!important;padding:0 14px!important}
.ad-free-bookings-filter-v4 input:focus,.ad-free-bookings-filter-v4 select:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.10)!important;background:#fff!important;outline:none!important}
.ad-free-bookings-filter-v4__actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;align-self:end!important}
.ad-free-bookings-filter-v4__actions .btn-secondary{min-height:42px!important;border-radius:13px!important;font-weight:900!important;white-space:nowrap!important}
.ad-free-admin-bookings-v4{padding:24px!important;border-radius:24px!important}
.ad-free-bookings-overview-head-v4{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin-bottom:18px!important;padding-bottom:18px!important;border-bottom:1px solid #edf2f8!important}
.ad-free-bookings-overview-head-v4 h2{margin:8px 0 0!important;color:#10284f!important;font-size:24px!important;letter-spacing:-.025em!important}
.ad-free-admin-bookings-v4 .ad-free-table-wrap-v2{margin-top:0!important;border-radius:20px!important;overflow:auto!important}
html.admin-theme-dark .ad-free-bookings-search-card-v4,body.admin-theme-dark .ad-free-bookings-search-card-v4,html.admin-theme-dark .ad-free-admin-bookings-v4,body.admin-theme-dark .ad-free-admin-bookings-v4{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}
html.admin-theme-dark .ad-free-bookings-filter-v4 label span,body.admin-theme-dark .ad-free-bookings-filter-v4 label span{color:#94a3b8!important}
html.admin-theme-dark .ad-free-bookings-filter-v4 input,html.admin-theme-dark .ad-free-bookings-filter-v4 select,body.admin-theme-dark .ad-free-bookings-filter-v4 input,body.admin-theme-dark .ad-free-bookings-filter-v4 select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
html.admin-theme-dark .ad-free-bookings-overview-head-v4,body.admin-theme-dark .ad-free-bookings-overview-head-v4{border-color:#334155!important}
html.admin-theme-dark .ad-free-bookings-overview-head-v4 h2,body.admin-theme-dark .ad-free-bookings-overview-head-v4 h2{color:#f8fafc!important}
@media(max-width:1180px){.ad-free-bookings-filter-v4{grid-template-columns:1fr 1fr!important}.ad-free-bookings-filter-v4__actions{grid-column:1/-1!important}}
@media(max-width:760px){.ad-free-bookings-search-card-v4,.ad-free-admin-bookings-v4{padding:18px!important;border-radius:20px!important}.ad-free-bookings-filter-v4{grid-template-columns:1fr!important}.ad-free-bookings-filter-v4__actions{flex-direction:column!important;align-items:stretch!important}.ad-free-bookings-filter-v4__actions .btn-secondary{width:100%!important;justify-content:center!important}.ad-free-bookings-overview-head-v4{flex-direction:column!important;align-items:stretch!important}.ad-free-bookings-mini-v2{width:auto!important}}

/* Ad-free bookings cards v5 */
.ad-free-bookings-cards-page-v5 .ad-free-admin-bookings-v5{padding:22px!important;border-radius:24px!important}
.ad-free-bookings-filter-v5{grid-template-columns:minmax(360px,1fr) minmax(260px,.75fr) auto!important}
.ad-free-booking-card-list-v5{display:grid;gap:18px}
.ad-free-empty-card-v5{border:1px dashed #cfe0f3;background:#f7fbff;border-radius:22px;padding:26px;text-align:center;color:#506887;display:grid;gap:6px}
.ad-free-empty-card-v5 strong{color:#10284f;font-size:18px}.ad-free-empty-card-v5 span{font-size:14px}
.ad-free-booking-card-v5{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;border:1px solid #d7e5f6;background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);border-radius:24px;padding:20px 20px 20px 24px;box-shadow:0 16px 40px rgba(15,42,85,.06);overflow:hidden}
.ad-free-booking-card-v5:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#2563eb}.ad-free-booking-card-v5.is-active:before{background:#22c55e}.ad-free-booking-card-v5.is-warning:before{background:#f59e0b}.ad-free-booking-card-v5.is-cancelled:before{background:#64748b}.ad-free-booking-card-v5.is-inactive:before,.ad-free-booking-card-v5.is-expired:before{background:#94a3b8}.ad-free-booking-card-v5.is-danger:before{background:#ef4444}
.ad-free-booking-card-v5__main{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:18px;align-items:start;margin-bottom:18px}
.ad-free-booking-card-v5__main strong{display:block;color:#052653;font-size:16px;line-height:1.2}.ad-free-booking-card-v5__main small{display:block;margin-top:5px;color:#506887;font-size:13px;line-height:1.35;word-break:break-word}
.ad-free-card-label-v5,.ad-free-booking-card-v5__details span{display:block;color:#65758f;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}
.ad-free-booking-card-v5__details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ad-free-booking-card-v5__details>div{border:1px solid #dce8f7;background:#fff;border-radius:16px;padding:13px 14px;min-height:72px}.ad-free-booking-card-v5__details strong{display:block;color:#052653;font-size:15px;line-height:1.25}.ad-free-booking-card-v5__details small{display:block;margin-top:5px;color:#58708f;font-size:12px;line-height:1.3}.ad-free-booking-card-v5__details a{color:#2563eb;text-decoration:none;font-weight:900}.ad-free-booking-card-v5__details a:hover{text-decoration:underline}
.ad-free-booking-card-v5__actions{border-left:1px solid #d9e5f4;padding-left:18px;display:flex;flex-direction:column;justify-content:center;gap:10px}.ad-free-booking-card-v5__actions select{width:100%;min-height:44px;border-radius:14px;border:1px solid #cdddf0;background:#fff;color:#0b2248;font-weight:800;padding:0 12px}.ad-free-booking-card-v5__actions .btn-small{width:100%;justify-content:center;min-height:44px;border-radius:14px}
.ad-free-booking-card-v5 .ad-free-status-pill-v2{min-width:120px;justify-content:center}.ad-free-status-pill-v2.is-warning{background:#fff7dd!important;color:#9a5b00!important;border-color:#f8dc88!important}.ad-free-status-pill-v2.is-danger{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}
html.admin-theme-dark .ad-free-empty-card-v5,body.admin-theme-dark .ad-free-empty-card-v5{background:#0f172a!important;border-color:#334155!important;color:#94a3b8!important}html.admin-theme-dark .ad-free-empty-card-v5 strong,body.admin-theme-dark .ad-free-empty-card-v5 strong{color:#f8fafc!important}
html.admin-theme-dark .ad-free-booking-card-v5,body.admin-theme-dark .ad-free-booking-card-v5{background:linear-gradient(180deg,#111827 0%,#0f172a 100%)!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}html.admin-theme-dark .ad-free-booking-card-v5__main strong,html.admin-theme-dark .ad-free-booking-card-v5__details strong,body.admin-theme-dark .ad-free-booking-card-v5__main strong,body.admin-theme-dark .ad-free-booking-card-v5__details strong{color:#f8fafc!important}html.admin-theme-dark .ad-free-card-label-v5,html.admin-theme-dark .ad-free-booking-card-v5__details span,html.admin-theme-dark .ad-free-booking-card-v5__main small,html.admin-theme-dark .ad-free-booking-card-v5__details small,body.admin-theme-dark .ad-free-card-label-v5,body.admin-theme-dark .ad-free-booking-card-v5__details span,body.admin-theme-dark .ad-free-booking-card-v5__main small,body.admin-theme-dark .ad-free-booking-card-v5__details small{color:#94a3b8!important}html.admin-theme-dark .ad-free-booking-card-v5__details>div,html.admin-theme-dark .ad-free-booking-card-v5__actions select,body.admin-theme-dark .ad-free-booking-card-v5__details>div,body.admin-theme-dark .ad-free-booking-card-v5__actions select{background:#0b1220!important;border-color:#334155!important;color:#f8fafc!important}html.admin-theme-dark .ad-free-booking-card-v5__actions,body.admin-theme-dark .ad-free-booking-card-v5__actions{border-color:#334155!important}
@media(max-width:1180px){.ad-free-booking-card-v5{grid-template-columns:1fr}.ad-free-booking-card-v5__actions{border-left:0;border-top:1px solid #d9e5f4;padding-left:0;padding-top:16px;flex-direction:row;justify-content:flex-end}.ad-free-booking-card-v5__actions select{max-width:260px}.ad-free-booking-card-v5__actions .btn-small{width:auto}.ad-free-booking-card-v5__details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ad-free-bookings-filter-v5{grid-template-columns:1fr!important}.ad-free-booking-card-v5{padding:18px 16px 18px 20px;border-radius:20px}.ad-free-booking-card-v5__main,.ad-free-booking-card-v5__details{grid-template-columns:1fr}.ad-free-booking-card-v5__actions{flex-direction:column;align-items:stretch}.ad-free-booking-card-v5__actions select{max-width:none}.ad-free-booking-card-v5__actions .btn-small{width:100%}}
.ad-free-field-grid-v2--four{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ad-free-field-grid-v2 select{width:100%;min-height:48px;border-radius:16px;border:1px solid #d6e2f3;background:#fff;color:#10284f;font-weight:800;padding:0 13px}html.admin-theme-dark .ad-free-field-grid-v2 select,body.admin-theme-dark .ad-free-field-grid-v2 select{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important}@media(max-width:1180px){.ad-free-field-grid-v2--four{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:760px){.ad-free-field-grid-v2--four{grid-template-columns:1fr!important}}

/* Ad-free booking cards v6 - cleaner PRO-like layout */
.ad-free-booking-card-v5{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  grid-template-areas:"main actions" "details actions"!important;
  align-items:stretch!important;
  gap:18px 22px!important;
  padding:24px 24px 24px 28px!important;
}
.ad-free-booking-card-v5__main{
  grid-area:main!important;
  display:grid!important;
  grid-template-columns:minmax(180px,1.05fr) minmax(220px,1fr) minmax(200px,.8fr)!important;
  gap:22px!important;
  margin-bottom:0!important;
  align-items:start!important;
}
.ad-free-booking-card-v5__details{
  grid-area:details!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(150px,1fr))!important;
  gap:12px!important;
}
.ad-free-booking-card-v5__details>div{
  min-width:0!important;
  min-height:88px!important;
  padding:14px 16px!important;
  border-radius:17px!important;
}
.ad-free-booking-card-v5__details strong,
.ad-free-booking-card-v5__details small,
.ad-free-booking-card-v5__main strong,
.ad-free-booking-card-v5__main small{
  overflow-wrap:anywhere!important;
}
.ad-free-booking-card-v5__details strong{
  font-size:15px!important;
}
.ad-free-booking-card-v5__actions{
  grid-area:actions!important;
  align-self:stretch!important;
  border-left:1px solid #d9e5f4!important;
  border-top:0!important;
  padding:0 0 0 22px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:12px!important;
  min-width:0!important;
}
.ad-free-booking-card-v5__actions select,
.ad-free-booking-card-v5__actions .btn-small{
  width:100%!important;
  max-width:none!important;
  min-height:46px!important;
  border-radius:14px!important;
}
.ad-free-booking-card-v5__actions .btn-small{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:900!important;
}
.ad-free-booking-card-v5 .ad-free-status-pill-v2{
  width:max-content!important;
  max-width:100%!important;
  min-width:142px!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
.ad-free-bookings-overview-head-v4{
  margin-bottom:18px!important;
}
html.admin-theme-dark .ad-free-booking-card-v5__actions,
body.admin-theme-dark .ad-free-booking-card-v5__actions{
  border-left-color:#334155!important;
  border-top-color:#334155!important;
}
@media(max-width:1380px){
  .ad-free-booking-card-v5{grid-template-columns:minmax(0,1fr) 250px!important;gap:16px!important}
  .ad-free-booking-card-v5__main{grid-template-columns:1fr 1fr!important}
  .ad-free-booking-card-v5__status{grid-column:1/-1!important}
  .ad-free-booking-card-v5__details{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .ad-free-booking-card-v5{grid-template-columns:1fr!important;grid-template-areas:"main" "details" "actions"!important}
  .ad-free-booking-card-v5__actions{border-left:0!important;border-top:1px solid #d9e5f4!important;padding:18px 0 0!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important}
  .ad-free-booking-card-v5__actions select{max-width:280px!important}
  .ad-free-booking-card-v5__actions .btn-small{width:auto!important;min-width:150px!important}
}
@media(max-width:760px){
  .ad-free-booking-card-v5{padding:20px 16px 20px 22px!important;border-radius:20px!important}
  .ad-free-booking-card-v5__main,.ad-free-booking-card-v5__details{grid-template-columns:1fr!important}
  .ad-free-booking-card-v5__status{grid-column:auto!important}
  .ad-free-booking-card-v5__actions{flex-direction:column!important;align-items:stretch!important}
  .ad-free-booking-card-v5__actions select,.ad-free-booking-card-v5__actions .btn-small{width:100%!important;max-width:none!important;min-width:0!important}
}

/* Twilio Verify premium settings page */
.twilio-verify-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:20px!important;color:#10284f!important}
.twilio-verify-hero{position:relative;overflow:hidden;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:24px;align-items:stretch;padding:30px!important;border-radius:30px!important;background:radial-gradient(circle at 88% 12%,rgba(96,165,250,.42) 0,rgba(96,165,250,0) 28%),linear-gradient(135deg,#0b1f42 0%,#173f78 52%,#2563eb 100%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(15,42,85,.18)!important}
.twilio-verify-hero:before{content:"";position:absolute;left:-80px;bottom:-110px;width:310px;height:310px;border-radius:999px;background:rgba(255,255,255,.08)}
.twilio-verify-hero__copy,.twilio-hero-panel{position:relative;z-index:1}.twilio-eyebrow,.twilio-section-kicker{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:1000;line-height:1;letter-spacing:.08em;text-transform:uppercase}.twilio-eyebrow{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#eaf3ff}.twilio-section-kicker{background:#eef5ff;border:1px solid #d7e7fb;color:#1e4d88}.twilio-verify-hero h1{margin:13px 0 10px!important;color:#fff!important;font-size:38px!important;line-height:1.02!important;letter-spacing:-.045em!important}.twilio-verify-hero p{max-width:860px;margin:0!important;color:rgba(255,255,255,.84)!important;font-size:15px!important;line-height:1.58!important}.twilio-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.twilio-secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:14px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.12);color:#fff!important;text-decoration:none!important;font-weight:900;backdrop-filter:blur(8px)}.twilio-secondary-link:hover{background:rgba(255,255,255,.18)}.twilio-status-badge{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.10);color:#fff;font-size:13px;font-weight:1000}.twilio-status-badge span{width:10px;height:10px;border-radius:99px;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.16)}.twilio-status-badge.is-ready span{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18)}.twilio-status-badge.is-warning span{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.20)}.twilio-hero-panel{align-self:stretch;border:1px solid rgba(255,255,255,.23);border-radius:24px;background:rgba(255,255,255,.13);backdrop-filter:blur(10px);padding:18px;display:flex;flex-direction:column;gap:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}.twilio-hero-panel__top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:15px;border-bottom:1px solid rgba(255,255,255,.18)}.twilio-hero-panel__top span{display:block;color:rgba(255,255,255,.72);font-size:11px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}.twilio-hero-panel__top strong{color:#fff;font-size:21px;line-height:1.1}.twilio-hero-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.twilio-hero-metrics div{min-width:0;padding:14px 13px;border-radius:17px;background:rgba(15,23,42,.22);border:1px solid rgba(255,255,255,.14)}.twilio-hero-metrics small{display:block;margin-bottom:8px;color:rgba(255,255,255,.68);font-size:10px;font-weight:1000;letter-spacing:.07em;text-transform:uppercase}.twilio-hero-metrics strong{display:block;color:#fff;font-size:18px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.twilio-verify-shell{display:flex!important;flex-direction:column!important;gap:18px!important;margin:0!important}.twilio-activation-card,.twilio-card{border:1px solid #d8e4f3!important;border-radius:26px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 45px rgba(15,35,70,.06)!important}.twilio-activation-card{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto;gap:16px;align-items:center;padding:19px 20px!important}.twilio-activation-icon{width:58px;height:58px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:#eef5ff;border:1px solid #d7e7fb;color:#2563eb;font-size:23px;font-weight:1000}.twilio-activation-card.is-enabled .twilio-activation-icon{background:#ecfdf3;border-color:#bdeccd;color:#15803d}.twilio-activation-card h2,.twilio-card h2{margin:8px 0 5px!important;color:#10284f!important;font-size:22px!important;letter-spacing:-.025em!important;line-height:1.15!important}.twilio-activation-card p,.twilio-card-head p,.twilio-language-strip p{margin:0!important;color:#687991!important;font-size:13px!important;line-height:1.48!important}.twilio-toggle{display:inline-flex;align-items:center;cursor:pointer}.twilio-toggle input{position:absolute;opacity:0;pointer-events:none}.twilio-toggle>span{position:relative;display:block;width:68px;height:38px;border-radius:999px;background:#dbe7f5;border:1px solid #c9d8ea;transition:.18s ease}.twilio-toggle>span i{position:absolute;left:4px;top:4px;width:28px;height:28px;border-radius:999px;background:#fff;box-shadow:0 6px 14px rgba(15,35,70,.18);transition:.18s ease}.twilio-toggle input:checked+span{background:#2563eb;border-color:#2563eb}.twilio-toggle input:checked+span i{transform:translateX(30px)}.twilio-settings-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 360px;gap:18px}.twilio-card{padding:22px!important;min-height:0!important}.twilio-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:17px;margin-bottom:18px;border-bottom:1px solid #edf2f8}.twilio-card-head.compact{margin-bottom:14px}.twilio-card-count{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:42px;padding:0 12px;border-radius:999px;background:#eef5ff;border:1px solid #d7e7fb;color:#1e4d88;font-weight:1000}.twilio-field-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.twilio-field{display:flex!important;flex-direction:column!important;gap:7px!important;color:#243a59!important;font-weight:900!important}.twilio-field--wide{grid-column:1/-1}.twilio-field input,.twilio-select-field select{width:100%!important;min-height:50px!important;border:1px solid #d5e2f2!important;border-radius:16px!important;background:#fbfdff!important;color:#13294b!important;padding:0 14px!important;font-weight:800!important;box-shadow:none!important;outline:none!important}.twilio-field input:focus,.twilio-select-field select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.13)!important}.twilio-field small{color:#71839a;font-size:12px;line-height:1.35;font-weight:750}.twilio-checklist-card{display:flex;flex-direction:column}.twilio-checklist{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}.twilio-checklist li{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border-radius:15px;border:1px solid #dce8f6;background:#f8fbff;color:#52677f;font-size:13px;font-weight:900}.twilio-checklist li span{width:20px;height:20px;border-radius:999px;border:2px solid #c7d7ea;background:#fff;flex:0 0 auto}.twilio-checklist li.is-done{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.twilio-checklist li.is-done span{border-color:#22c55e;background:#22c55e;box-shadow:inset 0 0 0 4px #fff}.twilio-note-box{margin-top:auto;border:1px solid #cfe0f3;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#f3f8ff);padding:15px}.twilio-note-box strong{display:block;color:#10284f;margin-bottom:6px}.twilio-note-box p{margin:0!important;color:#687991!important;font-size:13px!important;line-height:1.45!important}.twilio-option-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.twilio-option{position:relative;display:flex!important;flex-direction:column;gap:8px;min-height:160px;padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#f8fbff;cursor:pointer;transition:.16s ease}.twilio-option:hover,.twilio-option:has(input:checked),.twilio-option.is-selected{border-color:#3b82f6;background:#eff6ff;box-shadow:0 12px 28px rgba(59,130,246,.12)}.twilio-option input{position:absolute;opacity:0;pointer-events:none}.twilio-option-icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d7e7fb;color:#1d4ed8;font-weight:1000;font-size:15px}.twilio-option strong{color:#10284f;font-size:16px}.twilio-option small{color:#5f728d;line-height:1.43;font-weight:750}.twilio-language-strip{margin-top:16px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:16px;align-items:center;padding:17px;border-radius:20px;border:1px solid #dce8f6;background:#f8fbff}.twilio-language-strip strong{display:block;margin:8px 0 5px;color:#10284f;font-size:17px}.twilio-savebar{position:sticky;bottom:14px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.twilio-savebar strong{display:block;color:#13294b;font-size:15px;margin-bottom:2px}.twilio-savebar span{display:block;color:#687991;font-size:13px}.twilio-savebar .btn-primary{min-height:44px!important;border-radius:15px!important;font-weight:1000!important;white-space:nowrap!important}
html.admin-theme-dark .twilio-verify-page,body.admin-theme-dark .twilio-verify-page{color:#e5e7eb!important}html.admin-theme-dark .twilio-activation-card,html.admin-theme-dark .twilio-card,html.admin-theme-dark .twilio-savebar,body.admin-theme-dark .twilio-activation-card,body.admin-theme-dark .twilio-card,body.admin-theme-dark .twilio-savebar{background:#111827!important;border-color:#334155!important;box-shadow:none!important;color:#e5e7eb!important}html.admin-theme-dark .twilio-card-head,body.admin-theme-dark .twilio-card-head{border-color:#334155!important}html.admin-theme-dark .twilio-activation-card h2,html.admin-theme-dark .twilio-card h2,html.admin-theme-dark .twilio-note-box strong,html.admin-theme-dark .twilio-option strong,html.admin-theme-dark .twilio-language-strip strong,html.admin-theme-dark .twilio-savebar strong,body.admin-theme-dark .twilio-activation-card h2,body.admin-theme-dark .twilio-card h2,body.admin-theme-dark .twilio-note-box strong,body.admin-theme-dark .twilio-option strong,body.admin-theme-dark .twilio-language-strip strong,body.admin-theme-dark .twilio-savebar strong{color:#f8fafc!important}html.admin-theme-dark .twilio-activation-card p,html.admin-theme-dark .twilio-card-head p,html.admin-theme-dark .twilio-field small,html.admin-theme-dark .twilio-note-box p,html.admin-theme-dark .twilio-option small,html.admin-theme-dark .twilio-language-strip p,html.admin-theme-dark .twilio-savebar span,body.admin-theme-dark .twilio-activation-card p,body.admin-theme-dark .twilio-card-head p,body.admin-theme-dark .twilio-field small,body.admin-theme-dark .twilio-note-box p,body.admin-theme-dark .twilio-option small,body.admin-theme-dark .twilio-language-strip p,body.admin-theme-dark .twilio-savebar span{color:#94a3b8!important}html.admin-theme-dark .twilio-field,body.admin-theme-dark .twilio-field{color:#e2e8f0!important}html.admin-theme-dark .twilio-field input,html.admin-theme-dark .twilio-select-field select,body.admin-theme-dark .twilio-field input,body.admin-theme-dark .twilio-select-field select{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}html.admin-theme-dark .twilio-activation-icon,html.admin-theme-dark .twilio-card-count,html.admin-theme-dark .twilio-note-box,html.admin-theme-dark .twilio-checklist li,html.admin-theme-dark .twilio-option,html.admin-theme-dark .twilio-language-strip,body.admin-theme-dark .twilio-activation-icon,body.admin-theme-dark .twilio-card-count,body.admin-theme-dark .twilio-note-box,body.admin-theme-dark .twilio-checklist li,body.admin-theme-dark .twilio-option,body.admin-theme-dark .twilio-language-strip{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}html.admin-theme-dark .twilio-option:hover,html.admin-theme-dark .twilio-option:has(input:checked),html.admin-theme-dark .twilio-option.is-selected,body.admin-theme-dark .twilio-option:hover,body.admin-theme-dark .twilio-option:has(input:checked),body.admin-theme-dark .twilio-option.is-selected{background:#10213a!important;border-color:#60a5fa!important}html.admin-theme-dark .twilio-option-icon,body.admin-theme-dark .twilio-option-icon{background:#111827!important;border-color:#475569!important;color:#93c5fd!important}html.admin-theme-dark .twilio-checklist li.is-done,body.admin-theme-dark .twilio-checklist li.is-done{background:#0f2f20!important;border-color:#166534!important;color:#bbf7d0!important}
@media(max-width:1200px){.twilio-verify-hero,.twilio-settings-grid{grid-template-columns:1fr}.twilio-hero-panel{width:100%}.twilio-option-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.twilio-verify-hero,.twilio-activation-card,.twilio-card{padding:18px!important;border-radius:22px!important}.twilio-verify-hero h1{font-size:28px!important}.twilio-activation-card{grid-template-columns:1fr}.twilio-toggle{justify-self:flex-start}.twilio-hero-metrics,.twilio-field-grid,.twilio-option-grid,.twilio-language-strip{grid-template-columns:1fr!important}.twilio-savebar{position:static;flex-direction:column;align-items:stretch}.twilio-savebar .btn-primary{width:100%;justify-content:center}.twilio-card-head{flex-direction:column}.twilio-hero-actions{align-items:stretch}.twilio-secondary-link,.twilio-status-badge{width:100%;justify-content:center}}

/* Twilio Verify: polished channel icons (no text placeholders in icon badges) */
.twilio-option{overflow:hidden!important;padding:20px!important;isolation:isolate!important}
.twilio-option:before{content:"";position:absolute;right:-28px;top:-30px;width:118px;height:118px;border-radius:999px;background:linear-gradient(135deg,rgba(59,130,246,.13),rgba(14,165,233,.04));z-index:-1;transition:.18s ease}
.twilio-option:hover:before,.twilio-option:has(input:checked):before,.twilio-option.is-selected:before{transform:scale(1.08);background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(14,165,233,.08))}
.twilio-option-icon{width:56px!important;height:56px!important;border-radius:20px!important;background:linear-gradient(180deg,#ffffff 0%,#f4f8ff 100%)!important;border:1px solid #cfe0f7!important;box-shadow:0 12px 24px rgba(30,77,136,.10),inset 0 1px 0 rgba(255,255,255,.78)!important;color:#1d4ed8!important;font-size:0!important;line-height:0!important;position:relative!important;flex:0 0 auto!important}
.twilio-option-icon svg{width:28px;height:28px;display:block;overflow:visible}
.twilio-option-icon--sms{color:#2563eb!important}
.twilio-option-icon--call{color:#0f766e!important}
.twilio-option-icon--whatsapp{color:#15803d!important}
.twilio-option:has(input:checked) .twilio-option-icon,.twilio-option.is-selected .twilio-option-icon{background:linear-gradient(135deg,#2563eb 0%,#0ea5e9 100%)!important;border-color:rgba(255,255,255,.58)!important;color:#fff!important;box-shadow:0 16px 34px rgba(37,99,235,.22)!important}
.twilio-option:after{content:"";position:absolute;right:18px;top:18px;width:24px;height:24px;border-radius:999px;border:2px solid #cfe0f7;background:#fff;box-shadow:inset 0 0 0 5px #fff;transition:.16s ease}
.twilio-option:has(input:checked):after,.twilio-option.is-selected:after{border-color:#2563eb;background:#2563eb;box-shadow:inset 0 0 0 5px #fff}
html.admin-theme-dark .twilio-option:before,body.admin-theme-dark .twilio-option:before{background:linear-gradient(135deg,rgba(96,165,250,.13),rgba(34,211,238,.04))}
html.admin-theme-dark .twilio-option-icon,body.admin-theme-dark .twilio-option-icon{background:linear-gradient(180deg,#152033 0%,#0f172a 100%)!important;border-color:#475569!important;box-shadow:none!important;color:#93c5fd!important}
html.admin-theme-dark .twilio-option:has(input:checked) .twilio-option-icon,html.admin-theme-dark .twilio-option.is-selected .twilio-option-icon,body.admin-theme-dark .twilio-option:has(input:checked) .twilio-option-icon,body.admin-theme-dark .twilio-option.is-selected .twilio-option-icon{background:linear-gradient(135deg,#2563eb 0%,#0284c7 100%)!important;color:#fff!important;border-color:#60a5fa!important}
html.admin-theme-dark .twilio-option:after,body.admin-theme-dark .twilio-option:after{background:#0f172a;border-color:#475569;box-shadow:inset 0 0 0 5px #0f172a}
html.admin-theme-dark .twilio-option:has(input:checked):after,html.admin-theme-dark .twilio-option.is-selected:after,body.admin-theme-dark .twilio-option:has(input:checked):after,body.admin-theme-dark .twilio-option.is-selected:after{background:#60a5fa;border-color:#60a5fa;box-shadow:inset 0 0 0 5px #0f172a}

/* Twilio Verify channel-card alignment fix */
.twilio-option-grid .twilio-option{
  padding:24px 22px 22px!important;
  min-height:178px!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
}
.twilio-option-grid .twilio-option:before{
  right:-48px!important;
  top:-48px!important;
  width:132px!important;
  height:132px!important;
  z-index:0!important;
}
.twilio-option-grid .twilio-option:after{
  right:22px!important;
  top:22px!important;
  z-index:2!important;
}
.twilio-option-grid .twilio-option > *{
  position:relative!important;
  z-index:1!important;
}
.twilio-option-grid .twilio-option-icon{
  position:relative!important;
  display:inline-grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  margin:0 0 8px!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  vertical-align:top!important;
  overflow:hidden!important;
}
.twilio-option-grid .twilio-option-icon svg{
  display:block!important;
  width:27px!important;
  height:27px!important;
  max-width:27px!important;
  max-height:27px!important;
  margin:auto!important;
  overflow:visible!important;
  transform:none!important;
  flex:0 0 auto!important;
}
.twilio-option-grid .twilio-option strong,
.twilio-option-grid .twilio-option small{
  position:relative!important;
  z-index:1!important;
  padding-right:18px!important;
}
@media(max-width:760px){
  .twilio-option-grid .twilio-option{min-height:auto!important;padding:20px!important}
}

/* Homepage slider admin */
.homepage-slider-admin{display:flex;flex-direction:column;gap:18px}.homepage-slider-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:26px 28px;border:1px solid #d8e4f3;border-radius:26px;background:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%);color:#fff;box-shadow:0 24px 60px rgba(17,42,92,.14);overflow:hidden;position:relative}.homepage-slider-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.12)}.homepage-slider-hero>*{position:relative;z-index:1}.homepage-slider-eyebrow{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:#eaf3ff;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.homepage-slider-hero h1{margin:12px 0 8px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.035em}.homepage-slider-hero p{margin:0;max-width:820px;color:rgba(255,255,255,.84);line-height:1.55}.homepage-slider-list,.homepage-slider-form{border:1px solid #d8e4f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 18px 45px rgba(15,35,70,.055);padding:22px}.homepage-slider-count,.homepage-slider-order{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #dbe7f5;border-radius:999px;background:#f8fbff;color:#39506d;font-weight:900}.homepage-slider-table-wrap{overflow:auto}.homepage-slider-table{width:100%;border-collapse:separate;border-spacing:0 10px}.homepage-slider-table th{text-align:left;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.07em}.homepage-slider-table td{padding:14px;border-top:1px solid #dce8f6;border-bottom:1px solid #dce8f6;background:#fff;vertical-align:middle}.homepage-slider-table td:first-child{border-left:1px solid #dce8f6;border-radius:18px 0 0 18px}.homepage-slider-table td:last-child{border-right:1px solid #dce8f6;border-radius:0 18px 18px 0}.homepage-slider-thumb{width:112px;height:64px;border-radius:16px;background:linear-gradient(135deg,var(--from),var(--to));overflow:hidden;box-shadow:0 12px 26px rgba(15,35,70,.08)}.homepage-slider-thumb img{width:100%;height:100%;object-fit:cover}.homepage-slider-table strong{display:block;color:#10284f;font-size:15px}.homepage-slider-table small{display:block;color:#64748b;margin-top:3px;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.homepage-slider-status{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}.homepage-slider-status.is-active{background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0}.homepage-slider-status.is-inactive{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.homepage-slider-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.homepage-slider-actions form{margin:0}.homepage-slider-empty{padding:34px;border:1px dashed #c6d8ee;border-radius:20px;text-align:center;background:#f8fbff;color:#64748b}.homepage-slider-empty strong{display:block;color:#10284f;font-size:18px}.homepage-slider-empty p{margin:8px 0 18px}.homepage-slider-form-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:18px}.homepage-slider-panel{padding:18px;border:1px solid #dce8f6;border-radius:20px;background:#fff;display:flex;flex-direction:column;gap:14px}.homepage-slider-panel label{display:flex;flex-direction:column;gap:7px;margin:0;color:#243a59;font-weight:850}.homepage-slider-panel label span{font-size:12px;color:#5f728d;text-transform:uppercase;letter-spacing:.07em}.homepage-slider-panel input:not([type="checkbox"]),.homepage-slider-panel textarea{width:100%;border:1px solid #d5e2f2;border-radius:15px;background:#fbfdff;color:#162b49;padding:12px 14px;font-weight:750}.homepage-slider-panel input[type="color"]{min-height:48px;padding:5px}.homepage-slider-panel textarea{resize:vertical}.homepage-slider-panel input:focus,.homepage-slider-panel textarea:focus,.homepage-slider-panel select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.homepage-slider-current-image{display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border-radius:18px;background:#f8fbff;border:1px solid #dbe7f5}.homepage-slider-current-image img{width:160px;height:88px;object-fit:cover;border-radius:14px}.homepage-slider-languages{margin-top:18px}.homepage-slider-lang-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.homepage-slider-lang-card{border:1px solid #dce8f6;border-radius:18px;padding:16px;background:#fbfdff;display:flex;flex-direction:column;gap:12px}.homepage-slider-lang-card legend{padding:0 8px;color:#10284f;font-weight:1000}.homepage-slider-savebar{position:sticky;bottom:14px;z-index:6;margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #c9dff9;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 36px rgba(18,48,92,.12);backdrop-filter:blur(10px)}.homepage-slider-savebar strong{display:block;color:#13294b;font-size:15px}.homepage-slider-savebar span{display:block;color:#687991;font-size:13px}.homepage-slider-savebar-actions{display:flex;gap:10px;align-items:center}.btn-danger{min-height:38px;border:0;border-radius:12px;background:#fee2e2;color:#991b1b;font-weight:900;padding:0 13px;cursor:pointer}.btn-danger:hover{background:#fecaca}@media(max-width:980px){.homepage-slider-form-grid,.homepage-slider-lang-grid{grid-template-columns:1fr}.homepage-slider-hero,.homepage-slider-savebar{flex-direction:column;align-items:stretch}.homepage-slider-savebar-actions,.homepage-slider-savebar-actions .btn-primary,.homepage-slider-savebar-actions .btn-secondary{width:100%;justify-content:center}.homepage-slider-current-image{grid-template-columns:1fr}.homepage-slider-current-image img{width:100%;height:160px}}
html.admin-theme-dark .homepage-slider-list,html.admin-theme-dark .homepage-slider-form,html.admin-theme-dark .homepage-slider-panel,html.admin-theme-dark .homepage-slider-table td{background:#111827!important;border-color:#334155!important;color:#e5e7eb}html.admin-theme-dark .homepage-slider-table strong,html.admin-theme-dark .homepage-slider-empty strong,html.admin-theme-dark .homepage-slider-savebar strong,html.admin-theme-dark .homepage-slider-lang-card legend{color:#f8fafc!important}html.admin-theme-dark .homepage-slider-table small,html.admin-theme-dark .homepage-slider-empty,html.admin-theme-dark .homepage-slider-panel label span,html.admin-theme-dark .homepage-slider-savebar span{color:#94a3b8!important}html.admin-theme-dark .homepage-slider-panel input:not([type="checkbox"]),html.admin-theme-dark .homepage-slider-panel textarea,html.admin-theme-dark .homepage-slider-panel select,html.admin-theme-dark .homepage-slider-lang-card,html.admin-theme-dark .homepage-slider-current-image,html.admin-theme-dark .homepage-slider-count,html.admin-theme-dark .homepage-slider-order,html.admin-theme-dark .homepage-slider-empty{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important}html.admin-theme-dark .homepage-slider-savebar{background:rgba(15,23,42,.92)!important;border-color:#334155!important;box-shadow:none!important}

/* Homepage slider admin card list refinement */
.homepage-slider-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px;margin-top:6px}
.homepage-slider-admin-card{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1fr);gap:0;border:1px solid #dce8f6;border-radius:24px;background:#fff;box-shadow:0 18px 45px rgba(15,35,70,.06);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.homepage-slider-admin-card:hover{transform:translateY(-2px);box-shadow:0 24px 58px rgba(15,35,70,.10);border-color:#c7dcf5}
.homepage-slider-card-preview{position:relative;min-height:220px;background:linear-gradient(135deg,var(--from),var(--to));overflow:hidden;color:var(--text,#fff);display:flex;align-items:stretch}
.homepage-slider-card-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.22),rgba(0,0,0,0));pointer-events:none}
.homepage-slider-card-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.homepage-slider-card-preview-content{position:relative;z-index:1;width:100%;padding:24px;display:flex;flex-direction:column;justify-content:center;gap:8px;text-shadow:0 2px 10px rgba(0,0,0,.22)}
.homepage-slider-card-preview-content.is-left{align-items:flex-start;text-align:left}.homepage-slider-card-preview-content.is-center{align-items:center;text-align:center}.homepage-slider-card-preview-content.is-right{align-items:flex-end;text-align:right}
.homepage-slider-card-preview-content span{display:inline-flex;max-width:100%;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.14);font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homepage-slider-card-preview-content strong{font-size:31px;line-height:1.04;letter-spacing:-.035em;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.homepage-slider-card-preview-content strong.is-muted{font-size:18px;opacity:.78;letter-spacing:0}
.homepage-slider-card-preview-content small{font-size:14px;line-height:1.35;max-width:92%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.homepage-slider-card-preview-button{position:absolute;z-index:2;display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border-radius:14px;background:var(--btn-bg,#fff);color:var(--btn-text,#10284f);font-style:normal;font-weight:950;text-shadow:none;box-shadow:0 10px 22px rgba(0,0,0,.12)}
.homepage-slider-card-preview-button.is-left{left:24px}.homepage-slider-card-preview-button.is-center{left:50%;transform:translateX(-50%)}.homepage-slider-card-preview-button.is-right{right:24px}.homepage-slider-card-preview-button.is-top{top:14px}.homepage-slider-card-preview-button.is-middle{top:50%;transform:translateY(-50%)}.homepage-slider-card-preview-button.is-center.is-middle{transform:translate(-50%,-50%)}.homepage-slider-card-preview-button.is-bottom{bottom:14px}
.homepage-slider-card-body{padding:22px;display:flex;flex-direction:column;gap:16px;min-width:0}.homepage-slider-card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.homepage-slider-card-kicker{display:block;color:#64748b;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.homepage-slider-card-title-row h3{margin:5px 0 0;color:#10284f;font-size:21px;line-height:1.15;letter-spacing:-.02em}.homepage-slider-card-url{margin:0;padding:10px 12px;border:1px solid #dce8f6;border-radius:14px;background:#f8fbff;color:#64748b;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.homepage-slider-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.homepage-slider-meta-grid span{display:flex;flex-direction:column;gap:3px;min-height:58px;padding:11px 12px;border:1px solid #e1ebf7;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f7fbff);color:#10284f;font-weight:900}.homepage-slider-meta-grid b{color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.homepage-slider-card-actions{margin-top:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.homepage-slider-card-actions form{margin:0}.homepage-slider-card-actions .btn-secondary,.homepage-slider-card-actions .btn-danger{min-height:42px;border-radius:14px;padding:0 16px}
@media(max-width:1120px){.homepage-slider-admin-card{grid-template-columns:1fr}.homepage-slider-card-preview{min-height:190px}}
@media(max-width:560px){.homepage-slider-card-grid{grid-template-columns:1fr}.homepage-slider-list{padding:16px}.homepage-slider-meta-grid{grid-template-columns:1fr}.homepage-slider-card-title-row{flex-direction:column}.homepage-slider-card-preview-content strong{font-size:26px}}
html.admin-theme-dark .homepage-slider-admin-card,html.admin-theme-dark .homepage-slider-card-body{background:#111827!important;border-color:#334155!important;color:#e5e7eb!important}html.admin-theme-dark .homepage-slider-card-title-row h3{color:#f8fafc!important}html.admin-theme-dark .homepage-slider-card-url,html.admin-theme-dark .homepage-slider-meta-grid span{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important}html.admin-theme-dark .homepage-slider-card-kicker,html.admin-theme-dark .homepage-slider-meta-grid b{color:#94a3b8!important}


/* Admin news client */
.md24-remote-admin-news{margin:0 0 22px;padding:20px;border:1px solid rgba(37,99,235,.18);border-radius:22px;background:linear-gradient(135deg,rgba(239,246,255,.98),rgba(255,255,255,.96));box-shadow:0 18px 45px rgba(15,23,42,.08)}
.md24-remote-admin-news__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.md24-remote-admin-news__head span{display:inline-flex;margin-bottom:4px;color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.md24-remote-admin-news__head h2{margin:0;color:#0f172a;font-size:20px;line-height:1.25}
.md24-remote-admin-news__list{display:grid;gap:12px}
.md24-remote-admin-news__item{position:relative;display:flex;gap:16px;justify-content:space-between;padding:16px 48px 16px 16px;border:1px solid rgba(148,163,184,.22);border-left:5px solid #2563eb;border-radius:18px;background:#fff;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.md24-remote-admin-news__item.is-success{border-left-color:#16a34a}.md24-remote-admin-news__item.is-warning{border-left-color:#f59e0b}.md24-remote-admin-news__item.is-critical{border-left-color:#dc2626}
.md24-remote-admin-news__copy strong{display:block;margin:0 0 6px;color:#0f172a;font-size:16px}
.md24-remote-admin-news__copy p{margin:0;color:#475569;line-height:1.55;white-space:normal}
.md24-remote-admin-news__link{display:inline-flex;margin-top:10px;color:#2563eb;font-weight:800;text-decoration:none}.md24-remote-admin-news__link:hover{text-decoration:underline}
.md24-remote-admin-news__dismiss{position:absolute;top:12px;right:12px;width:28px;height:28px;border:0;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:20px;line-height:1;cursor:pointer}.md24-remote-admin-news__dismiss:hover{background:#e2e8f0;color:#0f172a}
html.admin-theme-dark .md24-remote-admin-news{border-color:rgba(59,130,246,.28);background:linear-gradient(135deg,rgba(15,31,53,.98),rgba(15,23,42,.96));box-shadow:none}
html.admin-theme-dark .md24-remote-admin-news__head h2,html.admin-theme-dark .md24-remote-admin-news__copy strong{color:#f8fafc}
html.admin-theme-dark .md24-remote-admin-news__item{border-color:rgba(148,163,184,.2);background:#0f1f35;color:#f8fafc;box-shadow:none}
html.admin-theme-dark .md24-remote-admin-news__copy p{color:#cbd5e1}
html.admin-theme-dark .md24-remote-admin-news__dismiss{background:#1e293b;color:#cbd5e1}html.admin-theme-dark .md24-remote-admin-news__dismiss:hover{background:#334155;color:#fff}
@media (max-width:720px){.md24-remote-admin-news{padding:16px}.md24-remote-admin-news__item{padding:14px 44px 14px 14px}.md24-remote-admin-news__head h2{font-size:18px}}

/* Remote admin news client refinements */
.md24-remote-admin-news__item{padding:16px 44px 16px 16px!important;align-items:flex-start!important}
.md24-remote-admin-news__meta{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:#64748b;font-size:12px;font-weight:700}
.md24-remote-admin-news__meta time{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;line-height:1.4}
.md24-remote-admin-news__dismiss{top:14px!important;right:14px!important;width:24px!important;height:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #dbe6f3!important;border-radius:8px!important;background:#fff!important;color:#64748b!important;font-size:16px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important;padding:0!important}
.md24-remote-admin-news__dismiss:hover{background:#eff6ff!important;border-color:#bfdbfe!important;color:#2563eb!important}
html.admin-theme-dark .md24-remote-admin-news__meta{color:#94a3b8!important}
html.admin-theme-dark .md24-remote-admin-news__meta time{background:#1e293b!important;color:#cbd5e1!important}
html.admin-theme-dark .md24-remote-admin-news__dismiss{background:#0f172a!important;border-color:#334155!important;color:#cbd5e1!important}
html.admin-theme-dark .md24-remote-admin-news__dismiss:hover{background:#1e293b!important;border-color:#475569!important;color:#fff!important}

/* Coupon admin: dedicated list/form layout */
.coupon-admin-shell .coupon-list-card{overflow:hidden}
.coupon-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.coupon-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:min(100%,620px)}
.coupon-filter-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.coupon-filter-form input,.coupon-filter-form select{min-height:42px;border:1px solid #d7e2f0;border-radius:12px;background:#fff;color:#10284f;padding:0 12px;outline:none}
.coupon-filter-form input{width:240px}.coupon-filter-form select{width:130px}.coupon-create-btn{white-space:nowrap}
.coupon-table-wrap{width:100%;overflow-x:auto;border:1px solid #e3ebf5;border-radius:18px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.coupon-table{width:100%!important;min-width:1120px;border-collapse:separate;border-spacing:0;table-layout:auto;margin:0!important}
.coupon-table th,.coupon-table td{padding:16px 18px!important;border-bottom:1px solid #edf2f8!important;vertical-align:middle!important;text-align:left!important}
.coupon-table thead th{background:#f7faff!important;color:#60708a!important;font-size:12px!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important;white-space:nowrap!important}
.coupon-table tbody tr:last-child td{border-bottom:0!important}.coupon-table tbody tr:hover td{background:#fbfdff!important}
.coupon-table th:nth-child(1),.coupon-table td:nth-child(1){width:250px}.coupon-table th:nth-child(2),.coupon-table td:nth-child(2){width:110px}.coupon-table th:nth-child(3),.coupon-table td:nth-child(3){width:310px}.coupon-table th:nth-child(4),.coupon-table td:nth-child(4){width:120px}.coupon-table th:nth-child(5),.coupon-table td:nth-child(5){width:130px}.coupon-table th:nth-child(6),.coupon-table td:nth-child(6){width:180px}.coupon-table th:nth-child(7),.coupon-table td:nth-child(7){width:220px;text-align:right!important}
.coupon-code-cell{display:flex;flex-direction:column;gap:7px}.coupon-code-badge{display:inline-flex;width:max-content;max-width:100%;padding:7px 11px;border-radius:999px;background:#eef5ff;border:1px solid #cfe0f5;color:#10284f;font-weight:900;letter-spacing:.035em}.coupon-description{color:#64748b;font-size:13px;line-height:1.45;max-width:220px}.coupon-discount-cell strong{font-size:18px;color:#10284f}.coupon-chip-list{display:flex;gap:7px;flex-wrap:wrap}.coupon-chip{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#f2f7ff;border:1px solid #d8e7fb;color:#1f4f90;font-size:12px;font-weight:800;white-space:nowrap}.coupon-status{display:inline-flex;align-items:center;justify-content:center;min-width:74px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.coupon-status--active{background:#e9f8ef;color:#087443;border:1px solid #bde9cd}.coupon-status--inactive{background:#f1f5f9;color:#64748b;border:1px solid #dbe4ee}.coupon-redemption-cell strong{font-size:18px;color:#10284f}.coupon-redemption-cell small{color:#64748b}.coupon-validity-cell{display:flex;flex-direction:column;gap:4px;color:#10284f;font-weight:700}.coupon-validity-cell small{color:#64748b;font-weight:600}.coupon-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;white-space:nowrap}.coupon-actions form{display:inline-flex;margin:0}.coupon-empty-cell{text-align:center!important;color:#64748b;padding:30px!important}.coupon-target-card{grid-column:1 / -1;padding:18px!important}.coupon-target-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin-top:12px}.coupon-form-full,.coupon-form-actions{grid-column:1 / -1}.coupon-form-actions{display:flex;justify-content:flex-end}.coupon-form-grid{gap:16px!important}
html.admin-theme-dark .coupon-filter-form input,html.admin-theme-dark .coupon-filter-form select,html.admin-theme-dark .coupon-table-wrap{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important}html.admin-theme-dark .coupon-table thead th{background:#101d31!important;color:#b6c6dc!important}html.admin-theme-dark .coupon-table td{border-color:#24364d!important}html.admin-theme-dark .coupon-table tbody tr:hover td{background:#142238!important}html.admin-theme-dark .coupon-code-badge,html.admin-theme-dark .coupon-chip{background:#13243c!important;border-color:#35557a!important;color:#dbeafe!important}html.admin-theme-dark .coupon-description,html.admin-theme-dark .coupon-validity-cell small{color:#94a3b8!important}html.admin-theme-dark .coupon-discount-cell strong,html.admin-theme-dark .coupon-redemption-cell strong,html.admin-theme-dark .coupon-validity-cell{color:#f8fafc!important}
@media(max-width:1100px){.coupon-section-head{flex-direction:column}.coupon-toolbar{justify-content:flex-start;min-width:0;width:100%}.coupon-filter-form{width:100%}.coupon-filter-form input{flex:1 1 220px;width:auto}.coupon-target-grid{grid-template-columns:1fr}}
@media(max-width:720px){.coupon-toolbar,.coupon-filter-form{flex-direction:column;align-items:stretch}.coupon-filter-form input,.coupon-filter-form select,.coupon-create-btn,.coupon-filter-form button{width:100%}.coupon-table{min-width:980px}}

/* Coupon admin final alignment fixes */
.coupon-admin-shell .premium-admin-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}
.coupon-admin-shell .premium-admin-hero>div:first-child{flex:1 1 auto!important;min-width:0!important}
.coupon-admin-shell .premium-admin-stats{margin-left:auto!important;justify-content:flex-end!important;align-items:center!important;flex:0 0 auto!important}
.coupon-table{table-layout:fixed!important;min-width:1180px!important}
.coupon-table th:nth-child(1),.coupon-table td:nth-child(1){width:250px!important}.coupon-table th:nth-child(2),.coupon-table td:nth-child(2){width:110px!important}.coupon-table th:nth-child(3),.coupon-table td:nth-child(3){width:300px!important}.coupon-table th:nth-child(4),.coupon-table td:nth-child(4){width:120px!important}.coupon-table th:nth-child(5),.coupon-table td:nth-child(5){width:130px!important}.coupon-table th:nth-child(6),.coupon-table td:nth-child(6){width:170px!important}.coupon-table th:nth-child(7),.coupon-table td:nth-child(7){width:220px!important;text-align:right!important}
.coupon-code-cell{display:table-cell!important}.coupon-code-cell .coupon-code-badge,.coupon-code-cell .coupon-description{display:flex!important}.coupon-code-cell .coupon-description{margin-top:8px!important}
.coupon-validity-cell{display:table-cell!important;color:#10284f!important;font-weight:700!important}.coupon-validity-stack{display:flex!important;flex-direction:column!important;gap:4px!important}.coupon-validity-stack small{color:#64748b!important;font-weight:600!important}
.coupon-actions{display:table-cell!important;text-align:right!important;vertical-align:middle!important}.coupon-actions-inner{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:9px!important;white-space:nowrap!important}.coupon-actions-inner form{display:inline-flex!important;margin:0!important}
html.admin-theme-dark .coupon-validity-stack small{color:#94a3b8!important}
@media(max-width:900px){.coupon-admin-shell .premium-admin-hero{align-items:flex-start!important;flex-direction:column!important}.coupon-admin-shell .premium-admin-stats{margin-left:0!important;justify-content:flex-start!important}}

/* Coupon admin header: the KPI boxes must sit flush on the right side. */
.coupon-admin-shell .premium-admin-hero{display:flex!important;align-items:center!important;justify-content:space-between!important}
.coupon-admin-shell .premium-admin-hero > div:first-child{flex:1 1 auto!important;min-width:0!important}
.coupon-admin-shell .premium-admin-stats{grid-template-columns:repeat(3,minmax(118px,128px))!important;min-width:0!important;width:auto!important;margin-left:auto!important;justify-content:end!important;justify-items:stretch!important}
.coupon-admin-shell .premium-admin-stats span{min-width:118px!important}
@media(max-width:1200px){.coupon-admin-shell .premium-admin-hero{align-items:stretch!important}.coupon-admin-shell .premium-admin-stats{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-left:0!important}}
@media(max-width:760px){.coupon-admin-shell .premium-admin-stats{grid-template-columns:1fr!important}}

/* Coupon dark mode contrast fix */
html.admin-theme-dark .coupon-status,
html.admin-theme-dark .coupon-status *{
  opacity:1!important;
  text-shadow:none!important;
}
html.admin-theme-dark .coupon-status--active{
  background:#dcfce7!important;
  border-color:#86efac!important;
  color:#065f46!important;
}
html.admin-theme-dark .coupon-status--inactive{
  background:#334155!important;
  border-color:#64748b!important;
  color:#f8fafc!important;
}
html.admin-theme-dark .coupon-table .coupon-status--active,
html.admin-theme-dark .coupon-table td .coupon-status--active{
  color:#065f46!important;
}
html.admin-theme-dark .coupon-table .coupon-status--inactive,
html.admin-theme-dark .coupon-table td .coupon-status--inactive{
  color:#f8fafc!important;
}

/* Who is online: keep large bot/user-agent lists inside the admin content area */
.who-online-page{
  min-width:0;
  overflow:hidden;
}
.who-online-page .settings-card{
  min-width:0;
  overflow:hidden;
}
.who-online-page .table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  border:1px solid var(--admin-line,#d9e1ec);
  border-radius:18px;
  background:var(--admin-card,#fff);
  -webkit-overflow-scrolling:touch;
}
.who-online-page .table{
  width:100%;
  min-width:1080px;
  table-layout:fixed;
  margin:0;
}
.who-online-page .table th,
.who-online-page .table td{
  vertical-align:top;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.who-online-page .table th:nth-child(1),
.who-online-page .table td:nth-child(1){width:60px;}
.who-online-page .table th:nth-child(2),
.who-online-page .table td:nth-child(2){width:76px;}
.who-online-page .table th:nth-child(3),
.who-online-page .table td:nth-child(3){width:34%;}
.who-online-page .table th:nth-child(4),
.who-online-page .table td:nth-child(4){width:140px;}
.who-online-page .table th:nth-child(5),
.who-online-page .table td:nth-child(5){width:290px;}
.who-online-page .table th:nth-child(6),
.who-online-page .table td:nth-child(6),
.who-online-page .table th:nth-child(7),
.who-online-page .table td:nth-child(7){width:108px;}
.who-online-page .table-meta{
  display:block;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.who-online-page code{
  white-space:normal;
  overflow-wrap:anywhere;
}
html.admin-theme-dark .who-online-page .table-wrap{
  background:var(--surface,#101d31)!important;
  border-color:var(--border,#31537f)!important;
}

/* Who is online: compact footer, pagination and visitor summary */
.who-online-page .online-bottom-panel{
  margin-top:18px;
  padding:18px;
  border:1px solid #d9e4f2;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.04);
}
.who-online-page .online-bottom-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.who-online-page .online-bottom-head strong{
  display:block;
  color:#0f172a;
  font-size:14px;
  line-height:1.35;
}
.who-online-page .online-bottom-kicker{
  display:block;
  margin-bottom:3px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.who-online-page .online-bottom-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.who-online-page .online-pagination{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.who-online-page .pager-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 10px;
  border:1px solid #d7e2f0;
  border-radius:10px;
  background:#fff;
  color:#2563eb;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(15,23,42,.03);
}
.who-online-page .pager-btn:hover{
  border-color:#93c5fd;
  background:#eff6ff;
}
.who-online-page .pager-btn.is-active{
  background:#2f6f9f;
  border-color:#2f6f9f;
  color:#fff;
}
.who-online-page .pager-btn.is-disabled{
  pointer-events:none;
  opacity:.45;
}
.who-online-page .online-page-jump{
  display:flex;
  align-items:center;
  gap:0;
  margin:0;
  white-space:nowrap;
}
.who-online-page .online-page-jump label,
.who-online-page .online-page-jump input,
.who-online-page .online-page-jump button{
  min-height:34px;
  border:1px solid #d7e2f0;
  background:#fff;
  color:#334155;
}
.who-online-page .online-page-jump label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.2;
  padding:0 14px;
  min-width:104px;
  border-radius:10px 0 0 10px;
  font-weight:700;
  font-size:13px;
}
.who-online-page .online-page-jump input{
  width:70px;
  border-left:0;
  border-right:0;
  padding:0 10px;
  text-align:center;
}
.who-online-page .online-page-jump button{
  min-width:48px;
  padding:0 12px;
  border-radius:0 10px 10px 0;
  color:#2563eb;
  font-weight:800;
  cursor:pointer;
}
.who-online-page .online-page-jump button:hover{
  background:#eff6ff;
}
.who-online-page .online-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(140px,1fr));
  gap:12px;
}
.who-online-page .online-summary-card{
  padding:14px 16px;
  border:1px solid #dbe7f5;
  border-radius:16px;
  background:#fff;
  min-width:0;
}
.who-online-page .online-summary-card span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.who-online-page .online-summary-card strong{
  display:block;
  margin-top:6px;
  color:#0f172a;
  font-size:24px;
  line-height:1;
}
.who-online-page .online-summary-card.is-strong{
  border-color:#bfdbfe;
  background:#eff6ff;
}
.who-online-page .online-summary-card.is-strong strong{
  color:#1d4ed8;
}
html.admin-theme-dark .who-online-page .online-bottom-panel{
  background:linear-gradient(180deg,#0f172a 0%,#111c31 100%)!important;
  border-color:#334155!important;
  box-shadow:none!important;
}
html.admin-theme-dark .who-online-page .online-bottom-head strong,
html.admin-theme-dark .who-online-page .online-summary-card strong{
  color:#f8fafc!important;
}
html.admin-theme-dark .who-online-page .online-bottom-kicker,
html.admin-theme-dark .who-online-page .online-summary-card span{
  color:#94a3b8!important;
}
html.admin-theme-dark .who-online-page .pager-btn,
html.admin-theme-dark .who-online-page .online-page-jump label,
html.admin-theme-dark .who-online-page .online-page-jump input,
html.admin-theme-dark .who-online-page .online-page-jump button,
html.admin-theme-dark .who-online-page .online-summary-card{
  background:#0b1220!important;
  border-color:#334155!important;
  color:#cbd5e1!important;
}
html.admin-theme-dark .who-online-page .pager-btn.is-active{
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#fff!important;
}
html.admin-theme-dark .who-online-page .online-page-jump button{color:#93c5fd!important;}
html.admin-theme-dark .who-online-page .online-summary-card.is-strong{
  background:#102a4c!important;
  border-color:#2563eb!important;
}
html.admin-theme-dark .who-online-page .online-summary-card.is-strong strong{color:#93c5fd!important;}
@media (max-width: 900px){
  .who-online-page .online-bottom-head,
  .who-online-page .online-bottom-actions{
    align-items:flex-start;
    flex-direction:column;
  }
  .who-online-page .online-summary-grid{
    grid-template-columns:repeat(2,minmax(140px,1fr));
  }
}
@media (max-width: 560px){
  .who-online-page .online-summary-grid{
    grid-template-columns:1fr;
  }
}


/* Fix: keep admin pages inside the same viewport width as the header. */
body.admin-body{
  overflow-x:hidden;
}

body.admin-body *,
body.admin-body *::before,
body.admin-body *::after{
  box-sizing:border-box;
}

.admin-layout,
.layout{
  min-width:0;
  box-sizing:border-box;
}

.admin-layout:not(.admin-shell-layout),
.layout:not(.admin-shell-layout){
  width:auto!important;
  max-width:none!important;
  margin-left:14px!important;
  margin-right:14px!important;
  padding-left:0!important;
  padding-right:0!important;
  grid-template-columns:minmax(250px,290px) minmax(0,1fr);
}

.admin-layout:not(.admin-shell-layout) > .admin-content,
.layout:not(.admin-shell-layout) > .admin-content{
  min-width:0;
  max-width:100%;
  overflow-x:clip;
}

.admin-content > :where(form,section,article,div,.card,.panel){
  max-width:100%;
}

@media (max-width:1024px){
  .admin-layout:not(.admin-shell-layout),
  .layout:not(.admin-shell-layout){
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    grid-template-columns:1fr!important;
  }

  .admin-layout:not(.admin-shell-layout) > .admin-content,
  .layout:not(.admin-shell-layout) > .admin-content{
    overflow-x:hidden!important;
  }
}

/* Listing block moderation note modal */
.listings-modern-table td.table-actions .action-menu-panel button,
.listing-block-inline-form button{width:100%;display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:none;background:transparent;border-radius:10px;color:var(--text,#20324d);font:inherit;text-align:left;text-decoration:none;justify-content:flex-start;cursor:pointer}
.listings-modern-table td.table-actions .action-menu-panel button:hover,
.listing-block-inline-form button:hover{background:#f4f8ff;color:var(--accent,#245fe9);text-decoration:none}
.listing-block-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px}
.listing-block-modal[hidden]{display:none!important}
.listing-block-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(3px)}
.listing-block-modal__dialog{position:relative;z-index:1;width:min(100%,520px);display:flex;flex-direction:column;gap:16px;margin:0;padding:22px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.22)}
.listing-block-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.listing-block-modal__head span{display:block;margin-bottom:5px;color:#5f728d;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.listing-block-modal__head h3{margin:0;color:#10284f;font-size:24px;line-height:1.1;letter-spacing:-.02em}
.listing-block-modal__close{width:38px;height:38px;border:0;border-radius:999px;background:#eef4fb;color:#475569;font-size:26px;line-height:1;cursor:pointer}
.listing-block-modal__close:hover{background:#e2eaf5;color:#0f172a}
.listing-block-modal__intro{margin:0;color:#64748b;line-height:1.5}
.listing-block-modal__field{display:flex;flex-direction:column;gap:8px;margin:0;color:#10284f;font-weight:900}
.listing-block-modal__field span{font-size:13px;color:#334155;overflow-wrap:anywhere}
.listing-block-modal__field textarea{width:100%;min-height:130px;resize:vertical;border:1px solid #d5e2f2;border-radius:16px;background:#fbfdff;color:#13294b;padding:13px 14px;font:inherit;font-weight:600;line-height:1.45}
.listing-block-modal__field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff}
.listing-block-modal__actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.listing-block-modal-open{overflow:hidden}
html.admin-theme-dark .listing-block-modal__dialog{background:#111827;border-color:#334155;color:#e5e7eb}
html.admin-theme-dark .listing-block-modal__head h3,html.admin-theme-dark .listing-block-modal__field{color:#e5e7eb}
html.admin-theme-dark .listing-block-modal__field textarea{background:#0f172a;border-color:#334155;color:#e5e7eb}
html.admin-theme-dark .listing-block-modal__close{background:#1f2937;color:#e5e7eb}


/* PRO smart replies admin - compact layout without hero image/decoration */
.smart-reply-admin-shell{display:grid;gap:16px}
.smart-reply-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px!important;border:1px solid #dbe7f5!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important;overflow:visible!important}
.smart-reply-page-head:after{display:none!important;content:none!important}
.smart-reply-page-head h1{margin:6px 0 7px!important;color:#10284f!important;font-size:26px!important;line-height:1.15!important;letter-spacing:-.025em!important}
.smart-reply-page-head p{margin:0!important;max-width:760px;color:#5c6d84!important;line-height:1.55!important;font-size:14px!important}
.smart-reply-page-head .eyebrow,.smart-reply-section-head .eyebrow{display:inline-flex;width:auto;max-width:max-content;color:#285a08!important;background:#edf8df!important;border:1px solid #d9efc8!important;border-radius:999px!important;padding:4px 9px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.smart-reply-form-card,.smart-reply-list-card{padding:20px 22px!important;border:1px solid #dbe7f5!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.05)!important}
.smart-reply-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e4edf8}
.smart-reply-section-head h2{margin:6px 0 4px!important;color:#10284f!important;font-size:20px!important;letter-spacing:-.015em!important}
.smart-reply-section-head p{margin:0!important;color:#64748b!important;line-height:1.5!important}
.smart-reply-basic-grid{display:grid;grid-template-columns:2fr 1fr repeat(2,minmax(150px,.7fr));gap:12px;margin-bottom:14px}
.smart-reply-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.smart-reply-language-card{display:grid;gap:12px;padding:16px;border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff}
.smart-reply-language-card h3{margin:0;color:#10284f;font-size:16px}
.smart-reply-admin-shell label{display:grid;gap:7px;min-width:0}
.smart-reply-admin-shell label span{color:#40536f;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.smart-reply-admin-shell input[type="text"],.smart-reply-admin-shell input[type="number"],.smart-reply-admin-shell textarea{width:100%;border:1px solid #cfdaea;border-radius:13px;background:#fff;color:#10284f;font:inherit;padding:11px 12px;box-sizing:border-box}
.smart-reply-admin-shell textarea{min-height:118px;resize:vertical;line-height:1.5}
.smart-reply-admin-shell input:focus,.smart-reply-admin-shell textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.smart-reply-admin-shell .switch-row{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:0 13px;border:1px solid #dbe7f5;border-radius:13px;background:#f8fbff;min-height:44px}
.smart-reply-admin-shell .switch-row input{width:auto}
.smart-reply-count{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:999px;background:#f1f6ff;color:#315579;font-size:12px;font-weight:900}
.smart-reply-table td{vertical-align:top}.smart-reply-table small{display:block;max-width:460px;color:#64748b;line-height:1.45}.smart-reply-table code{background:#f3f7fc;border:1px solid #e0eaf6;border-radius:8px;padding:3px 7px;color:#315579}
html.admin-theme-dark .smart-reply-page-head,body.admin-theme-dark .smart-reply-page-head,html.admin-theme-dark .smart-reply-form-card,body.admin-theme-dark .smart-reply-form-card,html.admin-theme-dark .smart-reply-list-card,body.admin-theme-dark .smart-reply-list-card{background:#111827!important;border-color:#334155!important;box-shadow:none!important}
html.admin-theme-dark .smart-reply-page-head h1,body.admin-theme-dark .smart-reply-page-head h1,html.admin-theme-dark .smart-reply-section-head h2,body.admin-theme-dark .smart-reply-section-head h2,html.admin-theme-dark .smart-reply-language-card h3,body.admin-theme-dark .smart-reply-language-card h3{color:#f8fafc!important}
html.admin-theme-dark .smart-reply-page-head p,body.admin-theme-dark .smart-reply-page-head p,html.admin-theme-dark .smart-reply-section-head p,body.admin-theme-dark .smart-reply-section-head p{color:#b9c8dc!important}
html.admin-theme-dark .smart-reply-language-card,body.admin-theme-dark .smart-reply-language-card,html.admin-theme-dark .smart-reply-admin-shell .switch-row,body.admin-theme-dark .smart-reply-admin-shell .switch-row{background:#0f172a;border-color:#334155;color:#e5e7eb}
html.admin-theme-dark .smart-reply-admin-shell input[type="text"],html.admin-theme-dark .smart-reply-admin-shell input[type="number"],html.admin-theme-dark .smart-reply-admin-shell textarea,body.admin-theme-dark .smart-reply-admin-shell input[type="text"],body.admin-theme-dark .smart-reply-admin-shell input[type="number"],body.admin-theme-dark .smart-reply-admin-shell textarea{background:#0f172a;border-color:#475569;color:#f8fafc}
@media(max-width:1100px){.smart-reply-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-reply-language-grid{grid-template-columns:1fr}}
@media(max-width:720px){.smart-reply-page-head,.smart-reply-section-head{flex-direction:column}.smart-reply-basic-grid{grid-template-columns:1fr}.smart-reply-form-card,.smart-reply-list-card,.smart-reply-page-head{padding:18px!important}}


/* Pro-Schnellantworten: compact card list */
.smart-reply-card-list{display:grid;gap:12px}
.smart-reply-template-card{border:1px solid #dbe7f5;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.04);padding:14px 16px;display:grid;gap:12px}
.smart-reply-template-card__top{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #eef4fb;padding-bottom:10px}
.smart-reply-template-card__title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.smart-reply-chip{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border:1px solid #dbe7f5;border-radius:999px;background:#f6faff;color:#315579;font-size:12px;font-weight:800;line-height:1}
.smart-reply-template-card__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.smart-reply-template-card__langs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.smart-reply-template-card__lang{border:1px solid #e1ebf7;border-radius:14px;background:#f9fcff;padding:12px 13px;min-width:0}
.smart-reply-template-card__lang h3{margin:0 0 7px;color:#59708d;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.smart-reply-template-card__lang strong{display:block;margin-bottom:5px;color:#10284f;font-size:15px;line-height:1.3}
.smart-reply-template-card__lang p{margin:0;color:#526780;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.smart-reply-empty-state{border:1px dashed #cfdced;border-radius:16px;padding:22px;text-align:center;color:#60758f;background:#f8fbff;font-weight:700}
.smart-reply-admin-shell .eyebrow{text-transform:none!important}
.smart-reply-admin-shell .switch-row input[type="checkbox"]{flex:0 0 auto}
@media(max-width:900px){.smart-reply-template-card__top{align-items:flex-start;flex-direction:column}.smart-reply-template-card__langs{grid-template-columns:1fr}}
html.admin-theme-dark .smart-reply-template-card,body.admin-theme-dark .smart-reply-template-card{background:#111827;border-color:#334155;box-shadow:none}
html.admin-theme-dark .smart-reply-template-card__top,body.admin-theme-dark .smart-reply-template-card__top{border-color:#334155}
html.admin-theme-dark .smart-reply-template-card__lang,body.admin-theme-dark .smart-reply-template-card__lang{background:#0f172a;border-color:#334155}
html.admin-theme-dark .smart-reply-template-card__lang strong,body.admin-theme-dark .smart-reply-template-card__lang strong{color:#f8fafc}
html.admin-theme-dark .smart-reply-template-card__lang p,body.admin-theme-dark .smart-reply-template-card__lang p{color:#b9c8dc}

/* Dark mode readability fixes for Pro-Schnellantworten */
html.admin-theme-dark .smart-reply-count,
body.admin-theme-dark .smart-reply-count{
  background:#eaf3ff!important;
  color:#0f2a4a!important;
  border:1px solid #bfdbfe!important;
  opacity:1!important;
}
html.admin-theme-dark .smart-reply-chip,
body.admin-theme-dark .smart-reply-chip{
  background:#eaf3ff!important;
  color:#0f2a4a!important;
  border-color:#bfdbfe!important;
  opacity:1!important;
}
html.admin-theme-dark .smart-reply-template-card__lang h3,
body.admin-theme-dark .smart-reply-template-card__lang h3{
  color:#dbeafe!important;
}
html.admin-theme-dark .smart-reply-template-card__actions .btn-secondary,
body.admin-theme-dark .smart-reply-template-card__actions .btn-secondary{
  color:#f8fafc!important;
  border-color:#60a5fa!important;
  background:#10213a!important;
}
html.admin-theme-dark .smart-reply-template-card__actions .btn-secondary:hover,
body.admin-theme-dark .smart-reply-template-card__actions .btn-secondary:hover{
  background:#1d4ed8!important;
  color:#fff!important;
}
html.admin-theme-dark .smart-reply-template-card__actions a,
body.admin-theme-dark .smart-reply-template-card__actions a{
  color:#bfdbfe!important;
}
html.admin-theme-dark .smart-reply-template-card__actions a:hover,
body.admin-theme-dark .smart-reply-template-card__actions a:hover{
  color:#fff!important;
}
html.admin-theme-dark .smart-reply-admin-shell .eyebrow,
body.admin-theme-dark .smart-reply-admin-shell .eyebrow{
  background:#eaf3ff!important;
  color:#0f2a4a!important;
  border-color:#bfdbfe!important;
}
html.admin-theme-dark .smart-reply-template-card .status-badge,
body.admin-theme-dark .smart-reply-template-card .status-badge,
html.admin-theme-dark .smart-reply-template-card span,
body.admin-theme-dark .smart-reply-template-card span{
  opacity:1!important;
}


/* Pro-Schnellantworten dynamic language UI */
.smart-reply-language-tabs{display:grid;gap:14px;margin-bottom:0}
.smart-reply-language-tabs .language-tabs-nav{margin-bottom:0}
.smart-reply-language-tabs .language-tab-panel{display:none}
.smart-reply-language-tabs .language-tab-panel.is-active{display:grid}
.smart-reply-template-card__langs{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}
.smart-reply-template-card__lang.is-empty{opacity:.72}
.smart-reply-template-card__lang.is-empty strong,.smart-reply-template-card__lang.is-empty p{color:#8798ad}
html.admin-theme-dark .smart-reply-template-card__lang.is-empty,body.admin-theme-dark .smart-reply-template-card__lang.is-empty{opacity:1;background:#0b1727!important;border-color:#28476b!important}
html.admin-theme-dark .smart-reply-template-card__lang.is-empty strong,html.admin-theme-dark .smart-reply-template-card__lang.is-empty p,body.admin-theme-dark .smart-reply-template-card__lang.is-empty strong,body.admin-theme-dark .smart-reply-template-card__lang.is-empty p{color:#b9c8dc!important;-webkit-text-fill-color:#b9c8dc!important}


/* Pro-Schnellantworten status badge polish */
.smart-reply-status{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:900;line-height:1;border:1px solid transparent;white-space:nowrap;box-shadow:none!important;text-decoration:none!important}
.smart-reply-status.is-active{background:#e8f8ec;color:#166534;border-color:#bbf7d0}
.smart-reply-status.is-inactive{background:#f1f5f9;color:#475569;border-color:#d8e2ee}
html.admin-theme-dark .smart-reply-status,body.admin-theme-dark .smart-reply-status{opacity:1!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
html.admin-theme-dark .smart-reply-status.is-active,body.admin-theme-dark .smart-reply-status.is-active{background:#12351f!important;color:#86efac!important;border-color:#22c55e!important}
html.admin-theme-dark .smart-reply-status.is-inactive,body.admin-theme-dark .smart-reply-status.is-inactive{background:#1e293b!important;color:#cbd5e1!important;border-color:#475569!important}


/* Grouped admin sidebar submenu headings */
.admin-sidebar-subheading{margin:10px 10px 3px 10px!important;color:#8a9ab1!important;font-size:10px!important;font-weight:850!important;letter-spacing:.075em!important;text-transform:uppercase!important;line-height:1.2!important}
.admin-sidebar-subheading:first-child{margin-top:4px!important}
html.admin-theme-dark .admin-sidebar-subheading{color:#7f93ad!important}

/* Listing approval logs: keep the header metric tile aligned to the far right. */
.listing-approval-logs-page .listings-admin-hero__meta{
  grid-template-columns:minmax(150px,164px);
  justify-content:end;
  justify-items:stretch;
  min-width:164px;
  margin-left:auto;
}
.listing-approval-logs-page .listings-admin-hero__meta div{
  width:100%;
}
@media (max-width:1100px){
  .listing-approval-logs-page .listings-admin-hero__meta{
    width:100%;
    min-width:0;
    grid-template-columns:1fr;
    margin-left:0;
  }
}

/* System updates dark-mode contrast fix */
.system-updates-page .license-status-pill{
  color:#334155!important;
  background:#e2e8f0!important;
  border-color:#cbd5e1!important;
}
.system-updates-page .license-status-pill.is-active{
  color:#166534!important;
  background:#dcfce7!important;
  border-color:#86efac!important;
}
.system-updates-page .license-status-pill.is-error{
  color:#991b1b!important;
  background:#fee2e2!important;
  border-color:#fecaca!important;
}
html.admin-theme-dark .system-updates-page .license-hero-v2__status{
  background:rgba(15,23,42,.38)!important;
  border-color:rgba(191,219,254,.34)!important;
}
html.admin-theme-dark .system-updates-page .license-hero-v2__status span{
  color:#dbeafe!important;
}
html.admin-theme-dark .system-updates-page .license-status-pill{
  color:#dbeafe!important;
  background:#173557!important;
  border-color:#4f7eb5!important;
}
html.admin-theme-dark .system-updates-page .license-status-pill.is-active{
  color:#14532d!important;
  background:#bbf7d0!important;
  border-color:#86efac!important;
}
html.admin-theme-dark .system-updates-page .license-status-pill.is-error{
  color:#7f1d1d!important;
  background:#fecaca!important;
  border-color:#fca5a5!important;
}


/* Dashboard update notice */
.dashboard-update-notice{display:flex;align-items:center;gap:16px;margin:18px 0 22px;padding:16px 18px;border:1px solid #bfdbfe;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#ffffff);box-shadow:var(--admin-shadow-soft);color:var(--admin-text)}
.dashboard-update-notice__icon{width:46px;height:46px;border-radius:14px;background:#dbeafe;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.dashboard-update-notice__icon svg{width:22px;height:22px}.dashboard-update-notice__body{display:grid;gap:3px;min-width:0;flex:1}.dashboard-update-notice__body strong{font-size:16px;font-weight:900;color:var(--admin-text)}.dashboard-update-notice__body p{margin:0;color:#53657f;font-weight:700;line-height:1.45}.dashboard-update-notice__body small{color:#72839b;font-weight:700}.dashboard-update-notice__button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;background:#2563eb;color:#fff!important;text-decoration:none;font-weight:900;white-space:nowrap;box-shadow:0 10px 24px rgba(37,99,235,.22)}
.admin-footer-version{margin-left:8px;font-weight:800;color:inherit;opacity:.9}
html.admin-theme-dark .dashboard-update-notice,body.admin-theme-dark .dashboard-update-notice{background:#10213a;border-color:#3b82f6;color:#f7fbff;box-shadow:none}html.admin-theme-dark .dashboard-update-notice__icon,body.admin-theme-dark .dashboard-update-notice__icon{background:#1d4ed8;color:#fff}html.admin-theme-dark .dashboard-update-notice__body strong,body.admin-theme-dark .dashboard-update-notice__body strong{color:#fff;-webkit-text-fill-color:#fff}html.admin-theme-dark .dashboard-update-notice__body p,body.admin-theme-dark .dashboard-update-notice__body p{color:#dbeafe;-webkit-text-fill-color:#dbeafe}html.admin-theme-dark .dashboard-update-notice__body small,body.admin-theme-dark .dashboard-update-notice__body small{color:#bfdbfe;-webkit-text-fill-color:#bfdbfe}html.admin-theme-dark .dashboard-update-notice__button,body.admin-theme-dark .dashboard-update-notice__button{background:#60a5fa;color:#08172a!important;-webkit-text-fill-color:#08172a!important}


/* Support Update Renewal / Extension settings dark-mode cleanup */
html.admin-theme-dark .extensions-hero.extensions-hero--compact:after,
body.admin-theme-dark .extensions-hero.extensions-hero--compact:after{content:none!important;display:none!important;}
html.admin-theme-dark .extensions-hero.extensions-hero--compact,
body.admin-theme-dark .extensions-hero.extensions-hero--compact{overflow:visible!important;background:#0d1c31!important;background-image:none!important;border:1px solid rgba(96,165,250,.22)!important;box-shadow:none!important;}
html.admin-theme-dark .extensions-hero.extensions-hero--compact > *,
body.admin-theme-dark .extensions-hero.extensions-hero--compact > *{position:relative!important;z-index:2!important;}
html.admin-theme-dark .extensions-hero.extensions-hero--compact .btn-secondary,
body.admin-theme-dark .extensions-hero.extensions-hero--compact .btn-secondary{background:#0c1a2c!important;border-color:#3b638e!important;color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;box-shadow:none!important;}
html.admin-theme-dark .extensions-hero.extensions-hero--compact h1,
html.admin-theme-dark .extensions-hero.extensions-hero--compact p,
html.admin-theme-dark .extensions-hero.extensions-hero--compact .eyebrow,
body.admin-theme-dark .extensions-hero.extensions-hero--compact h1,
body.admin-theme-dark .extensions-hero.extensions-hero--compact p,
body.admin-theme-dark .extensions-hero.extensions-hero--compact .eyebrow{opacity:1!important;text-shadow:none!important;}


/* Separate admin login page */
.admin-login-body{min-height:100vh;background:linear-gradient(135deg,#eef4ff 0%,#f8fafc 45%,#ffffff 100%);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
html.admin-theme-dark .admin-login-body{background:linear-gradient(135deg,#0f172a 0%,#111827 55%,#020617 100%)}
.admin-login-page{width:100%;display:flex;align-items:center;justify-content:center}
.admin-login-card{width:min(100%,460px);border:1px solid var(--admin-line);border-radius:28px;background:var(--admin-card);box-shadow:var(--admin-shadow);padding:34px;display:grid;gap:24px}
.admin-login-language{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--admin-line);border-radius:16px;background:var(--admin-card-soft);color:var(--admin-muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.admin-login-language>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-login-language a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border-radius:999px;color:#2563eb;text-decoration:none;background:#fff;border:1px solid #dbeafe;font-weight:900;text-transform:none;letter-spacing:0}.admin-login-language a.is-active{background:#2563eb;border-color:#2563eb;color:#fff}
.admin-login-intro{text-align:left;display:grid;gap:8px}
.admin-login-kicker{margin:0;color:#2563eb;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.admin-login-intro h1{margin:0;color:var(--admin-text);font-size:clamp(30px,5vw,42px);line-height:1.05;letter-spacing:-.05em;font-weight:900}
.admin-login-intro p{margin:0;color:var(--admin-muted);font-size:15px;line-height:1.55;font-weight:650}
.admin-login-form{display:grid;gap:16px}.admin-login-form label{display:grid;gap:8px;color:var(--admin-text);font-weight:800;font-size:13px}
.admin-login-form input{width:100%;min-height:48px;border:1px solid var(--admin-line);border-radius:16px;background:var(--admin-card-soft);color:var(--admin-text);padding:0 14px;font:inherit;font-size:16px;box-sizing:border-box;outline:none}
.admin-login-form input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.14)}
.admin-login-button{min-height:50px;border:0;border-radius:16px;background:#2563eb;color:#fff;font-weight:900;font-size:15px;cursor:pointer;box-shadow:0 16px 28px rgba(37,99,235,.24)}.admin-login-button:hover{background:#1d4ed8}
.admin-login-links{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--admin-muted);font-size:13px;font-weight:700}.admin-login-links a{color:#2563eb;text-decoration:none;font-weight:900}
@media(max-width:560px){.admin-login-body{padding:14px}.admin-login-card{padding:24px;border-radius:22px}.admin-login-links{display:grid;justify-items:start}.admin-login-language{align-items:flex-start;flex-direction:column}}

/* AI moderation queue */
.ai-moderation-page{display:flex;flex-direction:column;gap:18px}.ai-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:22px;background:linear-gradient(135deg,#10284f 0%,#17447e 100%);box-shadow:0 16px 34px rgba(16,40,79,.16);overflow:hidden;position:relative}.ai-page-header:after{content:"";position:absolute;right:-70px;top:-90px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.08)}.ai-page-header__copy{display:flex;align-items:center;gap:16px;min-width:0;position:relative;z-index:1}.ai-page-header__icon{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 52px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:#fff}.ai-page-header__icon svg{width:26px;height:26px}.ai-page-header h1{margin:0 0 6px;color:#fff;font-size:28px;letter-spacing:-.025em}.ai-page-header p{margin:0;max-width:780px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.5}.ai-rescan-form{margin:0;position:relative;z-index:1;flex:0 0 auto}.ai-rescan-button{gap:9px;background:#fff!important;color:#12305c!important;border-color:#fff!important;box-shadow:0 10px 24px rgba(0,0,0,.14)}.ai-rescan-button svg{width:17px;height:17px}.ai-disclaimer{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid #cfe0f7;border-radius:16px;background:#f3f8ff;color:#23466f;line-height:1.5}.ai-disclaimer__icon{display:inline-flex;flex:0 0 auto;color:#2563eb;margin-top:1px}.ai-disclaimer__icon svg{width:18px;height:18px}.ai-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ai-summary-card{display:flex;align-items:center;gap:14px;min-height:96px;padding:17px 18px;border:1px solid #dce8f6;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.045)}.ai-summary-card__icon{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;border-radius:14px}.ai-summary-card__icon svg{width:21px;height:21px}.ai-summary-card strong{display:block;color:#10284f;font-size:28px;line-height:1}.ai-summary-card span:last-child{display:block;margin-top:6px;color:#687991;font-size:13px}.ai-summary-card--open .ai-summary-card__icon{background:#eef5ff;color:#2563eb}.ai-summary-card--high .ai-summary-card__icon{background:#fff4e5;color:#c65d08}.ai-summary-card--critical .ai-summary-card__icon{background:#fff0f1;color:#c52636}.ai-filter-card{margin:0;padding:17px 18px;border:1px solid #dbe7f5;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(16,40,79,.04)}.ai-filter-grid{display:grid;grid-template-columns:minmax(260px,1.8fr) minmax(160px,.7fr) minmax(160px,.7fr) auto;gap:12px;align-items:end}.ai-filter-field{display:flex;flex-direction:column;gap:7px;margin:0;color:#10284f;font-size:12px;font-weight:900}.ai-filter-field input,.ai-filter-field select{width:100%;min-height:44px;border-radius:13px;border:1px solid #d5e2f2;background:#fbfdff;color:#13294b}.ai-input-wrap{position:relative;display:block}.ai-input-wrap>svg{position:absolute;left:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:#7890ad;pointer-events:none}.ai-input-wrap input{padding-left:40px}.ai-filter-actions{display:flex;gap:9px;align-items:center}.ai-filter-actions .btn-primary,.ai-filter-actions .btn-secondary{min-height:44px}.ai-review-list{display:flex;flex-direction:column;gap:14px}.ai-review-card{display:grid;grid-template-columns:118px minmax(0,1fr) 168px;gap:20px;padding:20px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;box-shadow:0 12px 28px rgba(16,40,79,.05);position:relative;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.ai-review-card:hover{box-shadow:0 16px 34px rgba(16,40,79,.08);border-color:#c5d9f1}.ai-review-card:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:4px;border-radius:0 4px 4px 0;background:#3b82f6}.ai-review-card--medium:before{background:#d89a15}.ai-review-card--high:before{background:#e26922}.ai-review-card--critical:before{background:#dc3545}.ai-review-risk{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding-top:2px}.ai-risk-ring{--ai-ring-color:#34a853;width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ai-ring-color) calc(var(--ai-risk-score) * 1%),#e8eef6 0);position:relative}.ai-risk-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}.ai-risk-ring>span{position:relative;z-index:1;display:flex;align-items:baseline}.ai-risk-ring strong{color:#10284f;font-size:22px;line-height:1}.ai-risk-ring small{color:#7890ad;font-size:11px;font-weight:800}.ai-risk-ring--medium{--ai-ring-color:#d89a15}.ai-risk-ring--high{--ai-ring-color:#e26922}.ai-risk-ring--critical{--ai-ring-color:#dc3545}.ai-risk-level{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:6px 10px;border-radius:999px;background:#eaf7ee;color:#24723e;font-size:12px;font-weight:900}.ai-risk-level--medium{background:#fff7df;color:#8a6509}.ai-risk-level--high{background:#fff0e6;color:#a9480a}.ai-risk-level--critical{background:#fff0f1;color:#b22130}.ai-review-main{min-width:0}.ai-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #edf2f8}.ai-review-title{min-width:0}.ai-review-title>a{display:block;color:#1f5fc4;font-size:16px;font-weight:900;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-review-title>a:hover{text-decoration:underline}.ai-seller-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin-top:7px;color:#6b7c92;font-size:12px}.ai-seller-line>span{display:inline-flex;align-items:center;gap:5px}.ai-seller-line svg{width:14px;height:14px}.ai-listing-status{padding:3px 7px;border-radius:999px;background:#f2f5f9;color:#536982;font-weight:800}.ai-review-state{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}.ai-status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;border:1px solid #dce5f0;background:#f2f5f9;color:#536982;font-size:11px;font-weight:900}.ai-status-pill.is-new{background:#eef5ff;border-color:#cfe1fa;color:#245fa8}.ai-status-pill.is-reviewed{background:#ecf8f0;border-color:#cbe9d4;color:#24723e}.ai-status-pill.is-dismissed{background:#f4f5f7;border-color:#dde2e8;color:#667085}.ai-status-pill.is-actioned{background:#fff3e8;border-color:#f5d4b5;color:#9b4b13}.ai-analyzed-at{color:#7b8ca3;font-size:11px;white-space:nowrap}.ai-review-content{display:flex;flex-direction:column;gap:12px;padding-top:14px}.ai-signal-panel h2,.ai-evidence-box h3{margin:0;color:#10284f;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.ai-signals{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,360px));justify-content:start;gap:8px 24px;margin:10px 0 0;padding:0;list-style:none}.ai-signals li{position:relative;padding-left:18px;color:#263e5e;font-size:13px;line-height:1.45}.ai-signals li:before{content:"";position:absolute;left:0;top:.48em;width:7px;height:7px;border-radius:50%;background:#e26922;box-shadow:0 0 0 3px #fff0e6}.ai-muted{margin:8px 0 0;color:#73839c;font-size:13px}.ai-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-evidence-box{padding:12px 13px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fbff}.ai-evidence-box h3{display:flex;align-items:center;gap:7px}.ai-evidence-box h3 svg{width:15px;height:15px}.ai-evidence-box--patterns{background:#fffaf0;border-color:#f3dfb7}.ai-evidence-box--patterns h3{color:#895f08}.ai-evidence-box--duplicates{background:#fff5f5;border-color:#f2d2d5}.ai-evidence-box--duplicates h3{color:#a33a43}.ai-evidence-items{display:flex;flex-direction:column;gap:5px;margin-top:8px;color:#435875;font-size:12px;line-height:1.4}.ai-evidence-items a{color:#2563eb;font-weight:800}.ai-review-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:9px;padding-left:18px;border-left:1px solid #edf2f8}.ai-open-listing{gap:8px;width:100%;min-height:42px;padding:0 12px}.ai-open-listing svg{width:16px;height:16px}.ai-action-menu{width:100%;position:relative}.ai-action-menu .action-trigger{width:100%;min-height:42px;justify-content:center;border-radius:12px}.ai-action-menu .action-menu-panel{right:0;left:auto;min-width:245px;z-index:40}.ai-action-menu .action-menu-panel form{margin:0}.ai-action-menu .action-menu-panel button{width:100%;display:flex;align-items:center;gap:9px;padding:11px 13px;border:0;background:transparent;color:#243b5a;font:inherit;font-size:13px;font-weight:750;text-align:left;cursor:pointer}.ai-action-menu .action-menu-panel button:hover{background:#f4f8fd}.ai-action-menu .action-menu-panel button.menu-danger{color:#b42318}.ai-action-menu .menu-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center}.ai-action-menu .menu-icon img{width:16px;height:16px}.ai-read-only{display:block;padding:9px 10px;border-radius:11px;background:#f4f6f9;color:#728197;font-size:12px;text-align:center}.ai-empty-state{display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px;border:1px dashed #c6d8ee;border-radius:22px;background:#fbfdff;color:#536982;text-align:center}.ai-empty-state__icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#ecf8f0;color:#2c7a46}.ai-empty-state__icon svg{width:28px;height:28px}.ai-empty-state strong{color:#10284f;font-size:16px}
@media(max-width:1180px){.ai-review-card{grid-template-columns:104px minmax(0,1fr)}.ai-review-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;padding:14px 0 0;border-left:0;border-top:1px solid #edf2f8}.ai-open-listing,.ai-action-menu{width:auto;min-width:170px}}
@media(max-width:820px){.ai-page-header{align-items:flex-start;flex-direction:column}.ai-rescan-form,.ai-rescan-button{width:100%}.ai-summary{grid-template-columns:1fr}.ai-filter-grid{grid-template-columns:1fr 1fr}.ai-filter-field--search{grid-column:1/-1}.ai-filter-actions{grid-column:1/-1}.ai-review-card{grid-template-columns:1fr;padding:18px}.ai-review-card:before{top:18px;bottom:auto;left:18px;right:18px;width:auto;height:4px;border-radius:0 0 4px 4px}.ai-review-risk{flex-direction:row;justify-content:flex-start;padding-top:8px}.ai-risk-ring{width:72px;height:72px}.ai-review-head{flex-direction:column}.ai-review-state{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.ai-signals,.ai-evidence-grid{grid-template-columns:1fr}.ai-review-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.ai-open-listing,.ai-action-menu{width:100%;min-width:0}}
@media(max-width:520px){.ai-page-header{padding:19px}.ai-page-header__copy{align-items:flex-start}.ai-page-header__icon{width:44px;height:44px;flex-basis:44px}.ai-page-header h1{font-size:23px}.ai-filter-grid{grid-template-columns:1fr}.ai-filter-field--search,.ai-filter-actions{grid-column:auto}.ai-filter-actions{display:grid;grid-template-columns:1fr 1fr}.ai-review-actions{grid-template-columns:1fr}.ai-seller-line{align-items:flex-start;flex-direction:column;gap:5px}.ai-action-menu .action-menu-panel{left:0;right:auto;width:100%;min-width:100%}}
html.admin-theme-dark .ai-page-header{background:linear-gradient(135deg,#0b1930,#153760)}html.admin-theme-dark .ai-summary-card,html.admin-theme-dark .ai-filter-card,html.admin-theme-dark .ai-review-card{background:var(--admin-card);border-color:var(--admin-line)}html.admin-theme-dark .ai-summary-card strong,html.admin-theme-dark .ai-review-title>a,html.admin-theme-dark .ai-signal-panel h2,html.admin-theme-dark .ai-risk-ring strong{color:var(--admin-text)}html.admin-theme-dark .ai-risk-ring:before{background:var(--admin-card)}html.admin-theme-dark .ai-risk-ring{background:conic-gradient(var(--ai-ring-color) calc(var(--ai-risk-score) * 1%),#293a54 0)}html.admin-theme-dark .ai-review-head,html.admin-theme-dark .ai-review-actions{border-color:var(--admin-line)}html.admin-theme-dark .ai-signals li,html.admin-theme-dark .ai-evidence-items{color:#c8d7ea}html.admin-theme-dark .ai-evidence-box{background:#14233a;border-color:var(--admin-line)}html.admin-theme-dark .ai-input-wrap input,html.admin-theme-dark .ai-filter-field select{background:#101d31;color:var(--admin-text);border-color:var(--admin-line)}html.admin-theme-dark .ai-disclaimer{background:#102443;border-color:#234b80;color:#c9dcf5}html.admin-theme-dark .ai-action-menu .action-menu-panel button{color:var(--admin-text)}html.admin-theme-dark .ai-action-menu .action-menu-panel button:hover{background:#1b3152}html.admin-theme-dark .ai-action-menu .action-menu-panel button.menu-danger{color:#fda4af}

/* AI moderation: keep detected signals compact instead of stretching them across the card. */
.ai-signals{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-start;
  column-gap:14px;
  row-gap:8px;
}
.ai-signals li{
  flex:0 1 auto;
  width:auto;
  max-width:100%;
}
@media(max-width:620px){
  .ai-signals{
    flex-direction:column;
    flex-wrap:nowrap;
    gap:8px;
  }
}

/* AI moderation hero: use the same light/dark palette as Anzeigenverwaltung. */
html:not(.admin-theme-dark) .ai-page-header,
body:not(.admin-theme-dark) .ai-page-header{
  background:#12305d!important;
  background-image:linear-gradient(135deg,#12305d 0%,#1d4f91 55%,#315fbd 100%)!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(17,42,92,.16)!important;
  border:0!important;
}
html:not(.admin-theme-dark) .ai-page-header:after,
body:not(.admin-theme-dark) .ai-page-header:after{
  right:-90px!important;
  top:-92px!important;
  width:270px!important;
  height:270px!important;
  background:rgba(255,255,255,.10)!important;
  opacity:1!important;
}
html:not(.admin-theme-dark) .ai-page-header__icon,
body:not(.admin-theme-dark) .ai-page-header__icon{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#fff!important;
}
html:not(.admin-theme-dark) .ai-page-header h1,
body:not(.admin-theme-dark) .ai-page-header h1{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:not(.admin-theme-dark) .ai-page-header p,
body:not(.admin-theme-dark) .ai-page-header p{
  color:rgba(255,255,255,.84)!important;
  -webkit-text-fill-color:rgba(255,255,255,.84)!important;
}
html:not(.admin-theme-dark) .ai-rescan-button,
body:not(.admin-theme-dark) .ai-rescan-button{
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:blur(8px);
}
html:not(.admin-theme-dark) .ai-rescan-button:hover,
body:not(.admin-theme-dark) .ai-rescan-button:hover{
  background:rgba(255,255,255,.18)!important;
  border-color:rgba(255,255,255,.30)!important;
}

html.admin-theme-dark .ai-page-header,
body.admin-theme-dark .ai-page-header{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .ai-page-header:after,
body.admin-theme-dark .ai-page-header:after{
  right:-90px!important;
  top:-92px!important;
  width:270px!important;
  height:270px!important;
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .ai-page-header__icon,
body.admin-theme-dark .ai-page-header__icon{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
}
html.admin-theme-dark .ai-page-header h1,
body.admin-theme-dark .ai-page-header h1{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .ai-page-header p,
body.admin-theme-dark .ai-page-header p{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .ai-rescan-button,
body.admin-theme-dark .ai-rescan-button{
  background:#101d31!important;
  border-color:#3b638e!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .ai-rescan-button:hover,
body.admin-theme-dark .ai-rescan-button:hover{
  background:#162741!important;
  border-color:#4d79aa!important;
}

/* AI center */
.ai-center-page{display:flex;flex-direction:column;gap:18px}.ai-center-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#173e76 0%,#2f66b8 100%);color:#fff;position:relative;overflow:hidden;box-shadow:0 14px 32px rgba(20,55,104,.16)}.ai-center-hero:after{content:"";position:absolute;right:-78px;top:-108px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.09)}.ai-center-hero__copy{display:flex;align-items:center;gap:16px;min-width:0;position:relative;z-index:1}.ai-center-hero__icon{width:54px;height:54px;display:grid;place-items:center;flex:0 0 54px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25)}.ai-center-hero__icon svg{width:27px;height:27px}.ai-center-eyebrow{display:block;margin-bottom:5px;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#d9e9ff}.ai-center-hero h1{margin:0 0 5px;color:#fff;font-size:29px;letter-spacing:-.025em}.ai-center-hero p{margin:0;max-width:820px;color:#e6f0ff;font-size:14px;line-height:1.5}.ai-center-scan{position:relative;z-index:1;display:inline-flex;gap:9px;background:#fff!important;border-color:#fff!important;color:#173e76!important;box-shadow:0 10px 24px rgba(0,0,0,.13)}.ai-center-scan svg{width:17px;height:17px}.ai-center-disclaimer{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #cfe0f7;border-radius:15px;background:#f4f8ff;color:#24466f;line-height:1.5}.ai-center-disclaimer svg{width:18px;height:18px;flex:0 0 18px;margin-top:2px;color:#2563eb}.ai-center-disclaimer span{min-width:0;white-space:normal;overflow-wrap:anywhere}.ai-center-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;width:100%;min-width:0}.ai-center-tab{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;min-height:100px;padding:14px;border:1px solid #dbe7f5;border-radius:17px;background:#fff;color:#152f55;text-decoration:none;overflow:hidden;box-shadow:0 8px 22px rgba(16,40,79,.04);transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.ai-center-tab:hover{transform:translateY(-1px);border-color:#b9d0eb;box-shadow:0 12px 26px rgba(16,40,79,.07)}.ai-center-tab.is-active{border-color:#5e91d7;background:#edf5ff;box-shadow:inset 0 0 0 1px rgba(37,99,235,.15)}.ai-center-tab__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#edf4fd;color:#2c65ac}.ai-center-tab__icon svg{width:20px;height:20px}.ai-center-tab__copy{min-width:0}.ai-center-tab__copy strong{display:block;font-size:13px;overflow-wrap:anywhere}.ai-center-tab__copy small{display:block;margin-top:4px;color:#6d7f97;font-size:10.5px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.ai-center-tab__count{display:grid;place-items:center;align-self:start;min-width:27px;height:27px;padding:0 7px;border-radius:999px;background:#e7eff9;color:#365f94;font-size:11px;font-weight:900}.ai-center-tab.is-active .ai-center-tab__count{background:#2563eb;color:#fff}.ai-center-module-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.ai-center-module-head h2{margin:0;color:#10284f;font-size:21px}.ai-center-module-head p{margin:5px 0 0;color:#6d7f97;font-size:13px}.ai-center-module-stats{display:flex;gap:9px}.ai-center-module-stats span{display:flex;flex-direction:column;min-width:80px;padding:9px 12px;border-radius:12px;background:#f3f7fc;color:#6d7f97;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.ai-center-module-stats strong{color:#17365f;font-size:17px;line-height:1.1}.ai-center-filters{display:grid;grid-template-columns:minmax(280px,1.7fr) minmax(150px,.65fr) minmax(150px,.65fr) auto;gap:12px;align-items:end;padding:17px 18px;border:1px solid #dbe7f5;border-radius:18px;background:#fff}.ai-center-filters label{display:flex;flex-direction:column;gap:7px;margin:0;color:#17365f;font-size:12px;font-weight:850}.ai-center-filters input,.ai-center-filters select{width:100%;min-height:44px;border:1px solid #d4e1f1;border-radius:13px;background:#fbfdff;color:#152f55}.ai-center-search-input{position:relative}.ai-center-search-input svg{position:absolute;left:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:#7890ad;pointer-events:none}.ai-center-search-input input{padding-left:40px}.ai-center-filter-actions{display:flex;align-items:center;gap:9px}.ai-center-filter-actions .btn-primary,.ai-center-filter-actions .btn-secondary{min-height:44px}.ai-center-results{display:flex;flex-direction:column;gap:14px}.ai-center-card{display:grid;grid-template-columns:112px minmax(0,1fr) 162px;gap:18px;padding:19px;border:1px solid #dbe7f5;border-radius:21px;background:#fff;box-shadow:0 10px 26px rgba(16,40,79,.05);position:relative}.ai-center-card:before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:4px;border-radius:0 4px 4px 0;background:#36a45d}.ai-center-card--medium:before{background:#d89a15}.ai-center-card--high:before{background:#e26922}.ai-center-card--critical:before{background:#dc3545}.ai-center-risk{display:flex;flex-direction:column;align-items:center;gap:9px}.ai-center-risk-ring{--ring:#36a45d;width:82px;height:82px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--ring) calc(var(--risk) * 1%),#e8eef6 0);position:relative}.ai-center-card--medium .ai-center-risk-ring{--ring:#d89a15}.ai-center-card--high .ai-center-risk-ring{--ring:#e26922}.ai-center-card--critical .ai-center-risk-ring{--ring:#dc3545}.ai-center-risk-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}.ai-center-risk-ring span{position:relative;z-index:1;display:flex;align-items:baseline}.ai-center-risk-ring strong{color:#10284f;font-size:22px}.ai-center-risk-ring small{color:#7890ad;font-size:10px;font-weight:900}.ai-center-risk-label{min-width:72px;padding:6px 9px;border-radius:999px;background:#e9f7ee;color:#23713d;text-align:center;font-size:11px;font-weight:900}.ai-center-card--medium .ai-center-risk-label{background:#fff7df;color:#896309}.ai-center-card--high .ai-center-risk-label{background:#fff0e6;color:#a9480a}.ai-center-card--critical .ai-center-risk-label{background:#fff0f1;color:#b22130}.ai-center-card__body{min-width:0}.ai-center-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #edf2f8}.ai-center-card__title{display:block;max-width:780px;color:#1f5fc4;font-size:16px;font-weight:900;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-center-card__title:hover{text-decoration:underline}.ai-center-card__meta{display:flex;flex-wrap:wrap;gap:6px 13px;margin-top:6px;color:#6c7f97;font-size:11.5px}.ai-center-card__meta span{display:inline-flex;align-items:center;gap:5px}.ai-center-card__meta svg{width:14px;height:14px}.ai-center-card__state{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:0 0 auto}.ai-center-card__state time{color:#7c8da4;font-size:10.5px}.ai-center-status{padding:5px 9px;border:1px solid #dce6f2;border-radius:999px;background:#f3f6fa;color:#61738a;font-size:10.5px;font-weight:900}.ai-center-status--new{background:#eef5ff;border-color:#cfe1fa;color:#245fa8}.ai-center-status--reviewed{background:#ecf8f0;border-color:#cbe9d4;color:#24723e}.ai-center-status--dismissed{background:#f4f5f7;border-color:#dde2e8;color:#667085}.ai-center-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}.ai-center-summary strong{color:#17365f;font-size:14px}.ai-center-recommendation{padding:5px 9px;border-radius:999px;background:#edf4fd;color:#285f9f;font-size:11px;font-weight:900}.ai-center-recommendation--block_listing{background:#fff0f1;color:#b22130}.ai-center-recommendation--request_evidence{background:#fff3e8;color:#9b4b13}.ai-center-recommendation--manual_review{background:#fff7df;color:#876309}.ai-center-recommendation--no_action{background:#eaf7ee;color:#24723e}.ai-center-signals{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:11px}.ai-center-signals span{display:inline-flex;align-items:flex-start;gap:6px;color:#314a69;font-size:12px;line-height:1.4}.ai-center-signals svg{width:14px;height:14px;flex:0 0 14px;margin-top:1px;color:#e26922}.ai-center-evidence{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding:12px 13px;border:1px solid #dfe8f3;border-radius:13px;background:#f8fbff;color:#435875;font-size:12px}.ai-center-evidence h3{margin:0 0 2px;color:#17365f;font-size:11px;text-transform:uppercase;letter-spacing:.055em}.ai-center-evidence>div{display:flex;flex-wrap:wrap;gap:5px 10px}.ai-center-evidence a{color:#2563eb;font-weight:850}.ai-center-evidence--danger{background:#fff5f5;border-color:#f2d2d5}.ai-center-evidence--danger h3{color:#a33a43}.ai-center-evidence--danger>div{justify-content:space-between}.ai-center-evidence--danger>div span{color:#6e5860}.ai-center-metrics,.ai-center-score-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin-top:12px}.ai-center-metrics>div,.ai-center-score-grid>div{padding:10px 11px;border:1px solid #e1e9f3;border-radius:12px;background:#fbfdff}.ai-center-metrics span,.ai-center-score-grid span{display:block;color:#71839a;font-size:10px;text-transform:uppercase;letter-spacing:.035em}.ai-center-metrics strong,.ai-center-score-grid strong{display:block;margin-top:4px;color:#17365f;font-size:13px}.ai-center-safeguard{margin:11px 0 0;padding:9px 11px;border-left:3px solid #5d8fce;background:#f5f9ff;color:#536d8d;font-size:11.5px}.ai-center-actions{display:flex;flex-direction:column;gap:8px;padding-left:16px;border-left:1px solid #edf2f8}.ai-center-actions>.btn-secondary{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px}.ai-center-actions>.btn-secondary svg{width:15px;height:15px}.ai-center-action-menu{position:relative}.ai-center-action-menu summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #d6e2f0;border-radius:11px;background:#fff;color:#17365f;font-size:12px;font-weight:850;cursor:pointer;list-style:none}.ai-center-action-menu summary::-webkit-details-marker{display:none}.ai-center-action-menu summary svg{width:17px;height:17px}.ai-center-action-menu>div{position:absolute;right:0;top:calc(100% + 6px);z-index:50;min-width:225px;padding:6px;border:1px solid #dce6f2;border-radius:13px;background:#fff;box-shadow:0 16px 34px rgba(15,35,63,.16)}.ai-center-action-menu form{margin:0}.ai-center-action-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:#223d5e;font:inherit;font-size:12px;font-weight:750;text-align:left;cursor:pointer}.ai-center-action-menu button:hover{background:#f2f7fd}.ai-center-action-menu button svg{width:15px;height:15px}.ai-center-empty{display:flex;min-height:230px;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:30px;border:1px dashed #c7d8ec;border-radius:20px;background:#fbfdff;color:#687b93;text-align:center}.ai-center-empty>svg{width:34px;height:34px;color:#4f7fb8}.ai-center-empty strong{color:#17365f;font-size:15px}.ai-center-empty span{font-size:12px}
@media(max-width:1280px){.ai-center-card{grid-template-columns:104px minmax(0,1fr)}.ai-center-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;padding:13px 0 0;border-left:0;border-top:1px solid #edf2f8}.ai-center-actions>.btn-secondary,.ai-center-action-menu{width:auto;min-width:155px}}
@media(max-width:1050px){.ai-center-tabs{grid-template-columns:1fr}}
@media(max-width:850px){.ai-center-hero{align-items:flex-start;flex-direction:column}.ai-center-hero form,.ai-center-scan{width:100%}.ai-center-tabs{grid-template-columns:1fr}.ai-center-module-head{align-items:flex-start;flex-direction:column}.ai-center-filters{grid-template-columns:1fr 1fr}.ai-center-filters label:first-of-type{grid-column:1/-1}.ai-center-filter-actions{grid-column:1/-1}.ai-center-card{grid-template-columns:1fr}.ai-center-risk{flex-direction:row;justify-content:flex-start}.ai-center-risk-ring{width:70px;height:70px}.ai-center-card__head{flex-direction:column}.ai-center-card__state{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.ai-center-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.ai-center-actions>.btn-secondary,.ai-center-action-menu{width:100%;min-width:0}}
@media(max-width:520px){.ai-center-hero{padding:19px}.ai-center-hero__copy{align-items:flex-start}.ai-center-hero__icon{width:44px;height:44px;flex-basis:44px}.ai-center-hero h1{font-size:24px}.ai-center-module-stats{width:100%}.ai-center-module-stats span{min-width:0;flex:1}.ai-center-filters{grid-template-columns:1fr}.ai-center-filters label:first-of-type,.ai-center-filter-actions{grid-column:auto}.ai-center-filter-actions{display:grid;grid-template-columns:1fr 1fr}.ai-center-card{padding:16px}.ai-center-card__title{white-space:normal}.ai-center-actions{grid-template-columns:1fr}.ai-center-action-menu>div{left:0;right:auto;width:100%;min-width:100%}}
html.admin-theme-dark .ai-center-hero{background:#0c1b2f;box-shadow:none}html.admin-theme-dark .ai-center-hero:after{background:#26364d}html.admin-theme-dark .ai-center-tab,html.admin-theme-dark .ai-center-module-head,html.admin-theme-dark .ai-center-filters,html.admin-theme-dark .ai-center-card{background:var(--admin-card);border-color:var(--admin-line)}html.admin-theme-dark .ai-center-tab.is-active{background:#142b49;border-color:#4775a8}html.admin-theme-dark .ai-center-tab__icon{background:#172a43;color:#9ec5f5}html.admin-theme-dark .ai-center-tab__copy strong,html.admin-theme-dark .ai-center-module-head h2,html.admin-theme-dark .ai-center-card__title,html.admin-theme-dark .ai-center-summary strong,html.admin-theme-dark .ai-center-metrics strong,html.admin-theme-dark .ai-center-score-grid strong,html.admin-theme-dark .ai-center-empty strong,html.admin-theme-dark .ai-center-risk-ring strong{color:var(--admin-text)}html.admin-theme-dark .ai-center-tab__copy small,html.admin-theme-dark .ai-center-module-head p,html.admin-theme-dark .ai-center-card__meta,html.admin-theme-dark .ai-center-card__state time{color:#9db0c9}html.admin-theme-dark .ai-center-disclaimer{background:#102443;border-color:#234b80;color:#c9dcf5}html.admin-theme-dark .ai-center-filters input,html.admin-theme-dark .ai-center-filters select{background:#101d31;border-color:var(--admin-line);color:var(--admin-text)}html.admin-theme-dark .ai-center-risk-ring{background:conic-gradient(var(--ring) calc(var(--risk) * 1%),#293a54 0)}html.admin-theme-dark .ai-center-risk-ring:before{background:var(--admin-card)}html.admin-theme-dark .ai-center-card__head,html.admin-theme-dark .ai-center-actions{border-color:var(--admin-line)}html.admin-theme-dark .ai-center-signals span,html.admin-theme-dark .ai-center-evidence{color:#c8d7ea}html.admin-theme-dark .ai-center-evidence,html.admin-theme-dark .ai-center-metrics>div,html.admin-theme-dark .ai-center-score-grid>div{background:#12223a;border-color:var(--admin-line)}html.admin-theme-dark .ai-center-evidence--danger{background:#321d27;border-color:#673344}html.admin-theme-dark .ai-center-action-menu summary,html.admin-theme-dark .ai-center-action-menu>div{background:#101d31;border-color:var(--admin-line);color:var(--admin-text)}html.admin-theme-dark .ai-center-action-menu button{color:var(--admin-text)}html.admin-theme-dark .ai-center-action-menu button:hover{background:#1b3152}html.admin-theme-dark .ai-center-empty{background:#0f1d30;border-color:var(--admin-line)}

/* AI center: three-column module grid and accessible dark-mode contrast */
@media (min-width:901px){
  .ai-center-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (min-width:601px) and (max-width:900px){
  .ai-center-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:600px){
  .ai-center-tabs{grid-template-columns:1fr!important}
}

html.admin-theme-dark .ai-center-tab__count,
body.admin-theme-dark .ai-center-tab__count{
  background:#203b60!important;
  border:1px solid #41658f!important;
  color:#f4f8ff!important;
  -webkit-text-fill-color:#f4f8ff!important;
}
html.admin-theme-dark .ai-center-tab.is-active .ai-center-tab__count,
body.admin-theme-dark .ai-center-tab.is-active .ai-center-tab__count{
  background:#2f6feb!important;
  border-color:#5b91ff!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.admin-theme-dark .ai-center-module-stats span,
body.admin-theme-dark .ai-center-module-stats span{
  background:#172b45!important;
  border:1px solid #355477!important;
  color:#b9cce3!important;
  -webkit-text-fill-color:#b9cce3!important;
}
html.admin-theme-dark .ai-center-module-stats strong,
body.admin-theme-dark .ai-center-module-stats strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html.admin-theme-dark .ai-center-status,
body.admin-theme-dark .ai-center-status{
  background:#1a2f4b!important;
  border-color:#3b5878!important;
  color:#dce9f8!important;
  -webkit-text-fill-color:#dce9f8!important;
}
html.admin-theme-dark .ai-center-status--new,
body.admin-theme-dark .ai-center-status--new{
  background:#183d69!important;
  border-color:#3e73aa!important;
  color:#eef7ff!important;
  -webkit-text-fill-color:#eef7ff!important;
}
html.admin-theme-dark .ai-center-status--reviewed,
body.admin-theme-dark .ai-center-status--reviewed{
  background:#183d2a!important;
  border-color:#347451!important;
  color:#ddf8e7!important;
  -webkit-text-fill-color:#ddf8e7!important;
}
html.admin-theme-dark .ai-center-status--dismissed,
body.admin-theme-dark .ai-center-status--dismissed{
  background:#2b3442!important;
  border-color:#505f73!important;
  color:#e2e9f2!important;
  -webkit-text-fill-color:#e2e9f2!important;
}
html.admin-theme-dark .ai-center-risk-label,
body.admin-theme-dark .ai-center-risk-label{
  background:#183d2a!important;
  border:1px solid #347451!important;
  color:#ddf8e7!important;
  -webkit-text-fill-color:#ddf8e7!important;
}
html.admin-theme-dark .ai-center-card--medium .ai-center-risk-label,
body.admin-theme-dark .ai-center-card--medium .ai-center-risk-label{
  background:#473913!important;
  border-color:#7d6723!important;
  color:#fff1b8!important;
  -webkit-text-fill-color:#fff1b8!important;
}
html.admin-theme-dark .ai-center-card--high .ai-center-risk-label,
body.admin-theme-dark .ai-center-card--high .ai-center-risk-label{
  background:#4c2c18!important;
  border-color:#8c512b!important;
  color:#ffe0c6!important;
  -webkit-text-fill-color:#ffe0c6!important;
}
html.admin-theme-dark .ai-center-card--critical .ai-center-risk-label,
body.admin-theme-dark .ai-center-card--critical .ai-center-risk-label{
  background:#4d2028!important;
  border-color:#8e3d4b!important;
  color:#ffdce1!important;
  -webkit-text-fill-color:#ffdce1!important;
}

/* Vision service integrations */
.vision-services-page .vision-privacy-note{display:flex;gap:12px;align-items:flex-start;padding:15px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface-soft,#f5f8ff);color:var(--text-muted)}
.vision-services-page .vision-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vision-services-page .vision-provider-card{display:flex;flex-direction:column;gap:16px;min-width:0;border:1px solid var(--border)}
.vision-services-page .vision-provider-card.is-selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 14%,transparent)}
.vision-services-page .vision-provider-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.vision-services-page .vision-provider-head h2{margin:4px 0 6px}
.vision-services-page .vision-sdk-badge{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:var(--surface-soft,#eef3fb);color:var(--text-muted);font-size:12px;font-weight:800;white-space:nowrap}
.vision-services-page .vision-sdk-badge.is-ready{background:#e8f7ee;color:#14733b}
.vision-services-page .vision-provider-status{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:var(--surface-soft,#f5f8ff);font-size:13px}
.vision-services-page .vision-provider-status span{color:var(--text-muted)}
.vision-services-page .vision-clear{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted)}
.vision-services-page .vision-clear input{width:auto}
.vision-services-page .vision-composer-command{margin:0;padding:14px 16px;border-radius:12px;overflow:auto;background:#0e1b2e;color:#eaf2ff}
@media (max-width:1200px){.vision-services-page .vision-provider-grid{grid-template-columns:1fr}}
[data-theme="dark"] .vision-services-page .vision-privacy-note,
[data-theme="dark"] .vision-services-page .vision-provider-status,
[data-theme="dark"] .vision-services-page .vision-sdk-badge{background:#172a44;color:#d9e6f7;border-color:#345273}
[data-theme="dark"] .vision-services-page .vision-sdk-badge.is-ready{background:#123b2b;color:#91e5b8}
.ai-center-vision-evidence .ai-center-vision-result{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--border)}
.ai-center-vision-evidence .ai-center-vision-result:last-child{border-bottom:0}
.ai-center-vision-evidence .ai-center-vision-result span,.ai-center-vision-evidence .ai-center-vision-result small{color:var(--text-muted)}

/* Vision services UI redesign */
.vision-services-page .analytics-admin-shell{
  width:min(100%,1480px);
  margin:0 auto;
  gap:22px;
}
.vision-services-page .vision-services-hero{
  min-height:168px;
  padding:30px 32px;
  position:relative;
  overflow:hidden;
}
.vision-services-page .vision-services-hero:after{
  content:"";
  position:absolute;
  right:-86px;
  top:-110px;
  width:310px;
  height:310px;
  border-radius:50%;
  background:rgba(255,255,255,.09);
}
.vision-services-page .vision-services-hero__copy,
.vision-services-page .vision-services-hero__stats{
  position:relative;
  z-index:1;
}
.vision-services-page .vision-services-hero__copy{max-width:760px}
.vision-services-page .vision-services-hero__stats{min-width:470px}
.vision-services-page .vision-privacy-note{
  align-items:center;
  padding:14px 18px;
  border-radius:16px;
  line-height:1.55;
  background:#f4f8ff;
  color:#4f6380;
}
.vision-services-page .vision-privacy-note__icon{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:11px;
  background:#e4efff;
  color:#2563eb;
}
.vision-services-page .vision-services-form{
  display:flex;
  flex-direction:column;
  gap:22px;
}
.vision-services-page .vision-config-panel,
.vision-services-page .vision-providers-section{
  padding:24px;
  border-radius:22px;
  box-shadow:0 14px 36px rgba(15,35,70,.045);
}
.vision-services-page .vision-config-layout{
  display:grid;
  grid-template-columns:minmax(320px,.9fr) minmax(0,1.35fr);
  gap:20px;
  align-items:stretch;
}
.vision-services-page .vision-switch-stack{
  display:grid;
  gap:14px;
}
.vision-services-page .vision-switch-card{
  min-height:118px;
  padding:17px 18px;
  grid-template-columns:auto minmax(0,1fr) auto;
  background:#f8fbff;
}
.vision-services-page .vision-switch-card .ui-switch-copy{
  min-width:0;
}
.vision-services-page .vision-switch-card .ui-switch-copy strong{
  display:block;
  margin-bottom:5px;
  font-size:15px;
}
.vision-services-page .vision-switch-card .ui-switch-copy small{
  display:block;
  line-height:1.45;
}
.vision-services-page .vision-limit-card{
  padding:18px;
  border:1px solid #d8e4f3;
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.vision-services-page .vision-limit-card__head{
  margin-bottom:14px;
}
.vision-services-page .vision-limit-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.vision-services-page .vision-field--provider{
  grid-column:1/-1;
}
.vision-services-page .vision-field{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}
.vision-services-page .vision-field>span{
  font-size:13px;
  font-weight:850;
  color:var(--text,#10213b);
}
.vision-services-page .vision-field small{
  line-height:1.4;
  color:var(--text-muted,#66758c);
}
.vision-services-page .vision-field input,
.vision-services-page .vision-field select,
.vision-services-page .vision-field textarea{
  width:100%;
  min-height:46px;
  border-radius:13px;
  border:1px solid #cfdded;
  background:#fff;
  color:var(--text,#10213b);
  box-shadow:0 1px 2px rgba(15,35,70,.025);
}
.vision-services-page .vision-field textarea{
  min-height:184px;
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:13px;
  line-height:1.5;
}
.vision-services-page .vision-provider-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.vision-services-page .vision-provider-tab{
  appearance:none;
  width:100%;
  min-width:0;
  min-height:128px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:"icon copy" "icon meta";
  gap:8px 12px;
  align-items:start;
  padding:17px;
  border:1px solid #d6e2f1;
  border-radius:18px;
  background:#fbfdff;
  color:var(--text,#10213b);
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;
}
.vision-services-page .vision-provider-tab:hover{
  transform:translateY(-1px);
  border-color:#a9c5ea;
  box-shadow:0 12px 24px rgba(28,71,128,.08);
}
.vision-services-page .vision-provider-tab.is-active{
  border-color:#3b82f6;
  background:#f3f8ff;
  box-shadow:0 0 0 3px rgba(59,130,246,.11);
}
.vision-services-page .vision-provider-tab__icon,
.vision-services-page .vision-provider-title__icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  color:#fff;
  grid-area:icon;
}
.vision-services-page .vision-provider-tab__icon .admin-icon,
.vision-services-page .vision-provider-title__icon .admin-icon{
  width:21px;
  height:21px;
}
.vision-services-page .vision-provider-tab__icon--google{background:linear-gradient(135deg,#2563eb,#38bdf8)}
.vision-services-page .vision-provider-tab__icon--aws{background:linear-gradient(135deg,#f59e0b,#f97316)}
.vision-services-page .vision-provider-tab__icon--openai{background:linear-gradient(135deg,#0f766e,#14b8a6)}
.vision-services-page .vision-provider-tab__copy{
  grid-area:copy;
  min-width:0;
}
.vision-services-page .vision-provider-tab__copy strong{
  display:block;
  margin-bottom:4px;
  font-size:15px;
  line-height:1.25;
}
.vision-services-page .vision-provider-tab__copy small{
  display:block;
  color:var(--text-muted,#66758c);
  line-height:1.4;
}
.vision-services-page .vision-provider-tab__meta{
  grid-area:meta;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  color:var(--text-muted,#66758c);
  font-size:12px;
}
.vision-services-page .vision-provider-tab__state{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border-radius:999px;
  background:#fff2f2;
  color:#b4232d;
  font-weight:850;
  white-space:nowrap;
}
.vision-services-page .vision-provider-tab__state.is-ready{
  background:#e8f7ee;
  color:#14733b;
}
.vision-services-page .vision-provider-panels{
  margin-top:4px;
}
.vision-services-page .vision-provider-panel[hidden]{display:none!important}
.vision-services-page .vision-provider-panel{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:22px;
  border:1px solid #d6e2f1;
  border-radius:20px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.vision-services-page .vision-provider-panel.is-selected-provider{
  border-color:#8cb7ef;
}
.vision-services-page .vision-provider-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.vision-services-page .vision-provider-title{
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-width:0;
}
.vision-services-page .vision-provider-title__icon{
  flex:0 0 46px;
  width:46px;
  height:46px;
}
.vision-services-page .vision-provider-title h3{
  margin:3px 0 5px;
  font-size:21px;
}
.vision-services-page .vision-provider-title p{
  margin:0;
  color:var(--text-muted,#66758c);
  line-height:1.5;
}
.vision-services-page .vision-sdk-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 10px;
  border:1px solid #d5e1ef;
  border-radius:999px;
  background:#eef3fb;
  color:#53667f;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.vision-services-page .vision-sdk-badge.is-ready{
  border-color:#bce7cb;
  background:#e8f7ee;
  color:#14733b;
}
.vision-services-page .vision-provider-status-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.vision-services-page .vision-provider-status-grid>div{
  padding:13px 15px;
  border:1px solid #dde7f3;
  border-radius:14px;
  background:#f6f9fd;
}
.vision-services-page .vision-provider-status-grid small,
.vision-services-page .vision-provider-status-grid strong{
  display:block;
}
.vision-services-page .vision-provider-status-grid small{
  margin-bottom:4px;
  color:var(--text-muted,#66758c);
  font-size:11px;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.vision-services-page .vision-provider-status-grid strong{
  font-size:15px;
}
.vision-services-page .vision-provider-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}
.vision-services-page .vision-provider-fields--openai{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.vision-services-page .vision-field--full{
  grid-column:1/-1;
}
.vision-services-page .vision-provider-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:16px;
  border-top:1px solid #e4ebf4;
}
.vision-services-page .vision-provider-actions .btn-secondary{
  min-height:44px;
  padding-inline:16px;
  border-radius:13px;
  white-space:nowrap;
}
.vision-services-page .vision-clear{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  color:var(--text-muted,#66758c);
  font-size:13px;
}
.vision-services-page .vision-clear input{
  width:17px;
  height:17px;
  flex:0 0 auto;
}
.vision-services-page .vision-sdk-details{
  border:1px solid #d8e4f3;
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}
.vision-services-page .vision-sdk-details summary{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:13px;
  min-height:76px;
  padding:16px 20px;
  cursor:pointer;
  list-style:none;
}
.vision-services-page .vision-sdk-details summary::-webkit-details-marker{display:none}
.vision-services-page .vision-sdk-details__icon{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:#edf4ff;
  color:#2563eb;
}
.vision-services-page .vision-sdk-details summary strong{
  display:block;
  margin-top:3px;
  font-size:16px;
}
.vision-services-page .vision-sdk-details__chevron{
  transition:transform .18s ease;
}
.vision-services-page .vision-sdk-details[open] .vision-sdk-details__chevron{transform:rotate(180deg)}
.vision-services-page .vision-sdk-details__content{
  padding:0 20px 20px 73px;
}
.vision-services-page .vision-sdk-details__content p{
  color:var(--text-muted,#66758c);
  line-height:1.55;
}
.vision-services-page .vision-composer-command{
  margin:14px 0;
  padding:15px 17px;
  border-radius:13px;
  overflow:auto;
  background:#0e1b2e;
  color:#eaf2ff;
  font-size:13px;
}
.vision-services-page .vision-save-bar{
  position:sticky;
  bottom:14px;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border:1px solid #d4e1f0;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 46px rgba(15,35,70,.14);
  backdrop-filter:blur(14px);
}
.vision-services-page .vision-save-bar__status small,
.vision-services-page .vision-save-bar__status strong{
  display:block;
}
.vision-services-page .vision-save-bar__status small{
  margin-bottom:3px;
  color:var(--text-muted,#66758c);
  font-size:11px;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.vision-services-page .vision-save-bar .btn-primary{
  min-width:160px;
  min-height:46px;
  border-radius:13px;
}

html.admin-theme-dark .vision-services-page .vision-privacy-note,
body.admin-theme-dark .vision-services-page .vision-privacy-note{
  background:#10243d!important;
  border-color:#345273!important;
  color:#c5d5e9!important;
}
html.admin-theme-dark .vision-services-page .vision-privacy-note__icon,
body.admin-theme-dark .vision-services-page .vision-privacy-note__icon{
  background:#17375e!important;
  color:#8fbcff!important;
}
html.admin-theme-dark .vision-services-page .vision-limit-card,
body.admin-theme-dark .vision-services-page .vision-limit-card,
html.admin-theme-dark .vision-services-page .vision-provider-panel,
body.admin-theme-dark .vision-services-page .vision-provider-panel,
html.admin-theme-dark .vision-services-page .vision-sdk-details,
body.admin-theme-dark .vision-services-page .vision-sdk-details{
  background:#111827!important;
  border-color:#334155!important;
  color:#f8fafc!important;
  box-shadow:none!important;
}
html.admin-theme-dark .vision-services-page .vision-switch-card,
body.admin-theme-dark .vision-services-page .vision-switch-card,
html.admin-theme-dark .vision-services-page .vision-provider-tab,
body.admin-theme-dark .vision-services-page .vision-provider-tab{
  background:#0f1d31!important;
  border-color:#334b69!important;
  color:#f8fafc!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab:hover,
body.admin-theme-dark .vision-services-page .vision-provider-tab:hover{
  border-color:#5279a7!important;
  box-shadow:none!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab.is-active,
body.admin-theme-dark .vision-services-page .vision-provider-tab.is-active{
  background:#132b4a!important;
  border-color:#4d8ee8!important;
  box-shadow:0 0 0 3px rgba(77,142,232,.14)!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab__copy small,
body.admin-theme-dark .vision-services-page .vision-provider-tab__copy small,
html.admin-theme-dark .vision-services-page .vision-provider-tab__meta,
body.admin-theme-dark .vision-services-page .vision-provider-tab__meta,
html.admin-theme-dark .vision-services-page .vision-provider-title p,
body.admin-theme-dark .vision-services-page .vision-provider-title p,
html.admin-theme-dark .vision-services-page .vision-field small,
body.admin-theme-dark .vision-services-page .vision-field small,
html.admin-theme-dark .vision-services-page .vision-clear,
body.admin-theme-dark .vision-services-page .vision-clear,
html.admin-theme-dark .vision-services-page .vision-sdk-details__content p,
body.admin-theme-dark .vision-services-page .vision-sdk-details__content p{
  color:#9fb2ca!important;
}
html.admin-theme-dark .vision-services-page .vision-field>span,
body.admin-theme-dark .vision-services-page .vision-field>span,
html.admin-theme-dark .vision-services-page .vision-provider-title h3,
body.admin-theme-dark .vision-services-page .vision-provider-title h3,
html.admin-theme-dark .vision-services-page .vision-provider-status-grid strong,
body.admin-theme-dark .vision-services-page .vision-provider-status-grid strong,
html.admin-theme-dark .vision-services-page .vision-save-bar__status strong,
body.admin-theme-dark .vision-services-page .vision-save-bar__status strong{
  color:#f8fafc!important;
}
html.admin-theme-dark .vision-services-page .vision-field input,
body.admin-theme-dark .vision-services-page .vision-field input,
html.admin-theme-dark .vision-services-page .vision-field select,
body.admin-theme-dark .vision-services-page .vision-field select,
html.admin-theme-dark .vision-services-page .vision-field textarea,
body.admin-theme-dark .vision-services-page .vision-field textarea{
  background:#0b1628!important;
  border-color:#3b526f!important;
  color:#f8fafc!important;
  box-shadow:none!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-status-grid>div,
body.admin-theme-dark .vision-services-page .vision-provider-status-grid>div{
  background:#0f1d31!important;
  border-color:#334b69!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-status-grid small,
body.admin-theme-dark .vision-services-page .vision-provider-status-grid small,
html.admin-theme-dark .vision-services-page .vision-save-bar__status small,
body.admin-theme-dark .vision-services-page .vision-save-bar__status small{
  color:#94a9c2!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-actions,
body.admin-theme-dark .vision-services-page .vision-provider-actions{
  border-color:#334155!important;
}
html.admin-theme-dark .vision-services-page .vision-sdk-details__icon,
body.admin-theme-dark .vision-services-page .vision-sdk-details__icon{
  background:#17375e!important;
  color:#8fbcff!important;
}
html.admin-theme-dark .vision-services-page .vision-save-bar,
body.admin-theme-dark .vision-services-page .vision-save-bar{
  background:rgba(15,23,42,.94)!important;
  border-color:#3a506d!important;
  box-shadow:0 18px 46px rgba(0,0,0,.26)!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab__state,
body.admin-theme-dark .vision-services-page .vision-provider-tab__state{
  background:#4a2028!important;
  color:#ffd7dd!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab__state.is-ready,
body.admin-theme-dark .vision-services-page .vision-provider-tab__state.is-ready{
  background:#123b2b!important;
  color:#a7efc5!important;
}

@media (max-width:1280px){
  .vision-services-page .vision-services-hero{align-items:flex-start}
  .vision-services-page .vision-services-hero__stats{min-width:390px}
  .vision-services-page .vision-config-layout{grid-template-columns:1fr}
  .vision-services-page .vision-provider-fields--openai{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1040px){
  .vision-services-page .vision-services-hero{flex-direction:column}
  .vision-services-page .vision-services-hero__stats{width:100%;min-width:0}
  .vision-services-page .vision-provider-tabs{grid-template-columns:1fr}
  .vision-services-page .vision-provider-tab{min-height:0}
}
@media (max-width:760px){
  .vision-services-page .vision-services-hero,
  .vision-services-page .vision-config-panel,
  .vision-services-page .vision-providers-section{padding:18px;border-radius:19px}
  .vision-services-page .vision-services-hero h1{font-size:26px}
  .vision-services-page .vision-services-hero__stats{grid-template-columns:1fr}
  .vision-services-page .vision-limit-grid,
  .vision-services-page .vision-provider-fields,
  .vision-services-page .vision-provider-fields--openai,
  .vision-services-page .vision-provider-status-grid{grid-template-columns:1fr}
  .vision-services-page .vision-field--provider,
  .vision-services-page .vision-field--full{grid-column:auto}
  .vision-services-page .vision-switch-card{grid-template-columns:auto minmax(0,1fr);min-height:0}
  .vision-services-page .vision-switch-card .ui-switch-state{grid-column:2}
  .vision-services-page .vision-provider-panel__head,
  .vision-services-page .vision-provider-actions{flex-direction:column;align-items:stretch}
  .vision-services-page .vision-provider-actions .btn-secondary{width:100%;justify-content:center;white-space:normal}
  .vision-services-page .vision-sdk-details__content{padding:0 16px 18px}
  .vision-services-page .vision-sdk-details summary{padding:15px 16px}
  .vision-services-page .vision-save-bar{bottom:8px;flex-direction:column;align-items:stretch}
  .vision-services-page .vision-save-bar .btn-primary{width:100%}
}

/* Vision services: align the page hero with the admin content header and restore dark-mode contrast. */
.vision-services-page .analytics-admin-shell{
  width:100%;
  max-width:none;
  margin:0;
}
.vision-services-page .vision-services-hero{
  width:100%;
  min-height:150px;
  padding:24px 28px;
  box-sizing:border-box;
  gap:24px;
}
.vision-services-page .vision-services-hero__copy{
  flex:1 1 auto;
  min-width:0;
  max-width:760px;
}
.vision-services-page .vision-services-hero__stats{
  flex:0 1 620px;
  width:min(620px,46%);
  min-width:0;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.vision-services-page .vision-services-hero__stats .mini-stat{
  min-width:0;
  min-height:78px;
  padding:14px 16px;
  box-sizing:border-box;
}
.vision-services-page .vision-services-hero__stats .mini-stat span{
  display:block;
  min-width:0;
  font-size:22px;
  line-height:1.12;
  white-space:normal;
  overflow-wrap:anywhere;
  text-overflow:clip;
}
.vision-services-page .vision-services-hero__stats .mini-stat small{
  display:block;
  margin-top:5px;
}

html.admin-theme-dark .vision-services-page .vision-config-panel,
body.admin-theme-dark .vision-services-page .vision-config-panel,
html.admin-theme-dark .vision-services-page .vision-providers-section,
body.admin-theme-dark .vision-services-page .vision-providers-section{
  background:#101d31!important;
  border-color:#2f4969!important;
  color:#f7fbff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .vision-services-page .section-head,
body.admin-theme-dark .vision-services-page .section-head{
  color:#f7fbff!important;
}
html.admin-theme-dark .vision-services-page .section-head h2,
body.admin-theme-dark .vision-services-page .section-head h2,
html.admin-theme-dark .vision-services-page .section-head strong,
body.admin-theme-dark .vision-services-page .section-head strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .vision-services-page .section-head p,
body.admin-theme-dark .vision-services-page .section-head p{
  color:#a9bdd5!important;
  -webkit-text-fill-color:#a9bdd5!important;
}
html.admin-theme-dark .vision-services-page .eyebrow,
body.admin-theme-dark .vision-services-page .eyebrow{
  color:#9bc3ff!important;
  -webkit-text-fill-color:#9bc3ff!important;
}
html.admin-theme-dark .vision-services-page .vision-switch-card,
body.admin-theme-dark .vision-services-page .vision-switch-card,
html.admin-theme-dark .vision-services-page .vision-limit-card,
body.admin-theme-dark .vision-services-page .vision-limit-card{
  background:#0d192b!important;
  background-image:none!important;
  border-color:#304b6c!important;
  color:#f7fbff!important;
  box-shadow:none!important;
}
html.admin-theme-dark .vision-services-page .vision-switch-card .ui-switch-copy strong,
body.admin-theme-dark .vision-services-page .vision-switch-card .ui-switch-copy strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-switch-card .ui-switch-copy small,
body.admin-theme-dark .vision-services-page .vision-switch-card .ui-switch-copy small{
  color:#adc0d8!important;
  -webkit-text-fill-color:#adc0d8!important;
}
html.admin-theme-dark .vision-services-page .ui-switch-state,
body.admin-theme-dark .vision-services-page .ui-switch-state{
  background:#172a44!important;
  border-color:#42658e!important;
  color:#eaf3ff!important;
  -webkit-text-fill-color:#eaf3ff!important;
}
html.admin-theme-dark .vision-services-page .ui-switch-state.is-active,
body.admin-theme-dark .vision-services-page .ui-switch-state.is-active{
  background:#245da7!important;
  border-color:#4f8fe5!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html.admin-theme-dark .vision-services-page .ui-switch__track,
body.admin-theme-dark .vision-services-page .ui-switch__track{
  background:#40536c!important;
}
html.admin-theme-dark .vision-services-page .ui-switch-card input:checked + .ui-switch .ui-switch__track,
body.admin-theme-dark .vision-services-page .ui-switch-card input:checked + .ui-switch .ui-switch__track{
  background:#3b82f6!important;
}
html.admin-theme-dark .vision-services-page .vision-field>span,
body.admin-theme-dark .vision-services-page .vision-field>span,
html.admin-theme-dark .vision-services-page .vision-provider-tab__copy strong,
body.admin-theme-dark .vision-services-page .vision-provider-tab__copy strong,
html.admin-theme-dark .vision-services-page .vision-provider-title h3,
body.admin-theme-dark .vision-services-page .vision-provider-title h3,
html.admin-theme-dark .vision-services-page .vision-sdk-details summary strong,
body.admin-theme-dark .vision-services-page .vision-sdk-details summary strong{
  color:#f8fbff!important;
  -webkit-text-fill-color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-field small,
body.admin-theme-dark .vision-services-page .vision-field small,
html.admin-theme-dark .vision-services-page .vision-provider-tab__copy small,
body.admin-theme-dark .vision-services-page .vision-provider-tab__copy small,
html.admin-theme-dark .vision-services-page .vision-provider-tab__meta,
body.admin-theme-dark .vision-services-page .vision-provider-tab__meta,
html.admin-theme-dark .vision-services-page .vision-provider-title p,
body.admin-theme-dark .vision-services-page .vision-provider-title p,
html.admin-theme-dark .vision-services-page .vision-clear,
body.admin-theme-dark .vision-services-page .vision-clear,
html.admin-theme-dark .vision-services-page .vision-sdk-details__content p,
body.admin-theme-dark .vision-services-page .vision-sdk-details__content p{
  color:#aec1d9!important;
  -webkit-text-fill-color:#aec1d9!important;
}
html.admin-theme-dark .vision-services-page .vision-field input,
body.admin-theme-dark .vision-services-page .vision-field input,
html.admin-theme-dark .vision-services-page .vision-field select,
body.admin-theme-dark .vision-services-page .vision-field select,
html.admin-theme-dark .vision-services-page .vision-field textarea,
body.admin-theme-dark .vision-services-page .vision-field textarea{
  background:#081425!important;
  border-color:#3a587b!important;
  color:#f8fbff!important;
  -webkit-text-fill-color:#f8fbff!important;
  caret-color:#ffffff!important;
  color-scheme:dark;
}
html.admin-theme-dark .vision-services-page .vision-field input::placeholder,
body.admin-theme-dark .vision-services-page .vision-field input::placeholder,
html.admin-theme-dark .vision-services-page .vision-field textarea::placeholder,
body.admin-theme-dark .vision-services-page .vision-field textarea::placeholder{
  color:#8299b5!important;
  -webkit-text-fill-color:#8299b5!important;
  opacity:1!important;
}
html.admin-theme-dark .vision-services-page .vision-field select option,
body.admin-theme-dark .vision-services-page .vision-field select option{
  background:#081425!important;
  color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab,
body.admin-theme-dark .vision-services-page .vision-provider-tab{
  background:#0d192b!important;
  border-color:#304b6c!important;
  color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab:hover,
body.admin-theme-dark .vision-services-page .vision-provider-tab:hover{
  background:#12243c!important;
  border-color:#5279a7!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab.is-active,
body.admin-theme-dark .vision-services-page .vision-provider-tab.is-active{
  background:#153255!important;
  border-color:#5b9cf1!important;
  box-shadow:0 0 0 3px rgba(91,156,241,.16)!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab__state,
body.admin-theme-dark .vision-services-page .vision-provider-tab__state{
  background:#562630!important;
  border:1px solid #8f4351!important;
  color:#ffdbe1!important;
  -webkit-text-fill-color:#ffdbe1!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-tab__state.is-ready,
body.admin-theme-dark .vision-services-page .vision-provider-tab__state.is-ready{
  background:#143c2c!important;
  border-color:#287651!important;
  color:#b8f3d0!important;
  -webkit-text-fill-color:#b8f3d0!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-panel,
body.admin-theme-dark .vision-services-page .vision-provider-panel,
html.admin-theme-dark .vision-services-page .vision-sdk-details,
body.admin-theme-dark .vision-services-page .vision-sdk-details{
  background:#0d192b!important;
  background-image:none!important;
  border-color:#304b6c!important;
  color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-status-grid>div,
body.admin-theme-dark .vision-services-page .vision-provider-status-grid>div{
  background:#13243b!important;
  border-color:#385778!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-status-grid small,
body.admin-theme-dark .vision-services-page .vision-provider-status-grid small{
  color:#9eb4cf!important;
  -webkit-text-fill-color:#9eb4cf!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-status-grid strong,
body.admin-theme-dark .vision-services-page .vision-provider-status-grid strong{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html.admin-theme-dark .vision-services-page .vision-sdk-badge,
body.admin-theme-dark .vision-services-page .vision-sdk-badge{
  background:#19304d!important;
  border-color:#436589!important;
  color:#d9e9fb!important;
  -webkit-text-fill-color:#d9e9fb!important;
}
html.admin-theme-dark .vision-services-page .vision-sdk-badge.is-ready,
body.admin-theme-dark .vision-services-page .vision-sdk-badge.is-ready{
  background:#143c2c!important;
  border-color:#287651!important;
  color:#b8f3d0!important;
  -webkit-text-fill-color:#b8f3d0!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-actions,
body.admin-theme-dark .vision-services-page .vision-provider-actions{
  border-color:#304b6c!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-actions .btn-secondary,
body.admin-theme-dark .vision-services-page .vision-provider-actions .btn-secondary{
  background:#18304f!important;
  border-color:#456b96!important;
  color:#f8fbff!important;
  -webkit-text-fill-color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-provider-actions .btn-secondary:hover,
body.admin-theme-dark .vision-services-page .vision-provider-actions .btn-secondary:hover{
  background:#21436d!important;
  border-color:#6096cf!important;
}
html.admin-theme-dark .vision-services-page .vision-sdk-details summary,
body.admin-theme-dark .vision-services-page .vision-sdk-details summary{
  color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-save-bar,
body.admin-theme-dark .vision-services-page .vision-save-bar{
  background:rgba(9,20,36,.96)!important;
  border-color:#385778!important;
  color:#f8fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-save-bar__status small,
body.admin-theme-dark .vision-services-page .vision-save-bar__status small{
  color:#9eb4cf!important;
  -webkit-text-fill-color:#9eb4cf!important;
}
html.admin-theme-dark .vision-services-page .vision-save-bar__status strong,
body.admin-theme-dark .vision-services-page .vision-save-bar__status strong{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html.admin-theme-dark .vision-services-page input[type="checkbox"],
body.admin-theme-dark .vision-services-page input[type="checkbox"]{
  accent-color:#3b82f6;
}

@media (max-width:1400px){
  .vision-services-page .vision-services-hero__stats{
    flex-basis:520px;
    width:min(520px,44%);
  }
  .vision-services-page .vision-services-hero__stats .mini-stat span{font-size:19px}
}
@media (max-width:1040px){
  .vision-services-page .vision-services-hero{
    min-height:0;
  }
  .vision-services-page .vision-services-hero__stats{
    width:100%;
    max-width:none;
  }
}

/* Vision services final visual alignment */
html:not(.admin-theme-dark) .vision-services-page,
body:not(.admin-theme-dark) .vision-services-page{
  min-height:calc(100vh - 112px);
  background:#fff!important;
}
html:not(.admin-theme-dark) .vision-services-page .analytics-admin-shell{
  min-height:100%;
}

html.admin-theme-dark .vision-services-page,
body.admin-theme-dark .vision-services-page{
  min-height:calc(100vh - 112px);
  background:#081525!important;
}
html.admin-theme-dark .vision-services-page .vision-services-hero,
body.admin-theme-dark .vision-services-page .vision-services-hero{
  background:#0d1c31!important;
  background-image:none!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  border:0!important;
}
html.admin-theme-dark .vision-services-page .vision-services-hero:after,
body.admin-theme-dark .vision-services-page .vision-services-hero:after{
  background:#263346!important;
  opacity:1!important;
}
html.admin-theme-dark .vision-services-page .vision-services-hero h1,
html.admin-theme-dark .vision-services-page .vision-services-hero strong,
body.admin-theme-dark .vision-services-page .vision-services-hero h1,
body.admin-theme-dark .vision-services-page .vision-services-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-services-hero p,
html.admin-theme-dark .vision-services-page .vision-services-hero span,
html.admin-theme-dark .vision-services-page .vision-services-hero small,
body.admin-theme-dark .vision-services-page .vision-services-hero p,
body.admin-theme-dark .vision-services-page .vision-services-hero span,
body.admin-theme-dark .vision-services-page .vision-services-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}
html.admin-theme-dark .vision-services-page .vision-services-hero .eyebrow,
body.admin-theme-dark .vision-services-page .vision-services-hero .eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html.admin-theme-dark .vision-services-page .vision-services-hero__stats .mini-stat,
body.admin-theme-dark .vision-services-page .vision-services-hero__stats .mini-stat{
  background:#0d1c31!important;
  border:1px solid #36597f!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

/* Vision services: exact dark hero match with Anzeigenverwaltung. */
html[data-theme="dark"] .vision-services-page .vision-services-hero,
body[data-theme="dark"] .vision-services-page .vision-services-hero,
[data-theme="dark"] .vision-services-page .vision-services-hero,
html.admin-theme-dark .vision-services-page .vision-services-hero,
body.admin-theme-dark .vision-services-page .vision-services-hero{
  background:#0d1c31!important;
  background-color:#0d1c31!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:#f7fbff!important;
}
html[data-theme="dark"] .vision-services-page .vision-services-hero::before,
body[data-theme="dark"] .vision-services-page .vision-services-hero::before,
[data-theme="dark"] .vision-services-page .vision-services-hero::before{
  background:none!important;
  opacity:0!important;
}
html[data-theme="dark"] .vision-services-page .vision-services-hero::after,
body[data-theme="dark"] .vision-services-page .vision-services-hero::after,
[data-theme="dark"] .vision-services-page .vision-services-hero::after,
html.admin-theme-dark .vision-services-page .vision-services-hero::after,
body.admin-theme-dark .vision-services-page .vision-services-hero::after{
  background:#263346!important;
  opacity:1!important;
}
html[data-theme="dark"] .vision-services-page .vision-services-hero__stats .mini-stat,
body[data-theme="dark"] .vision-services-page .vision-services-hero__stats .mini-stat,
[data-theme="dark"] .vision-services-page .vision-services-hero__stats .mini-stat,
html.admin-theme-dark .vision-services-page .vision-services-hero__stats .mini-stat,
body.admin-theme-dark .vision-services-page .vision-services-hero__stats .mini-stat{
  background:#101d31!important;
  border:1px solid #3b638e!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
html[data-theme="dark"] .vision-services-page .vision-services-hero .eyebrow,
body[data-theme="dark"] .vision-services-page .vision-services-hero .eyebrow,
[data-theme="dark"] .vision-services-page .vision-services-hero .eyebrow{
  background:#25364d!important;
  border-color:#4d6688!important;
  color:#f7fbff!important;
}
html[data-theme="dark"] .vision-services-page .vision-services-hero h1,
html[data-theme="dark"] .vision-services-page .vision-services-hero strong,
body[data-theme="dark"] .vision-services-page .vision-services-hero h1,
body[data-theme="dark"] .vision-services-page .vision-services-hero strong,
[data-theme="dark"] .vision-services-page .vision-services-hero h1,
[data-theme="dark"] .vision-services-page .vision-services-hero strong{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html[data-theme="dark"] .vision-services-page .vision-services-hero p,
html[data-theme="dark"] .vision-services-page .vision-services-hero span,
html[data-theme="dark"] .vision-services-page .vision-services-hero small,
body[data-theme="dark"] .vision-services-page .vision-services-hero p,
body[data-theme="dark"] .vision-services-page .vision-services-hero span,
body[data-theme="dark"] .vision-services-page .vision-services-hero small,
[data-theme="dark"] .vision-services-page .vision-services-hero p,
[data-theme="dark"] .vision-services-page .vision-services-hero span,
[data-theme="dark"] .vision-services-page .vision-services-hero small{
  color:#d9e8fb!important;
  -webkit-text-fill-color:#d9e8fb!important;
}

/* Vision services final alignment: reuse the listings administration hero geometry exactly. */
.vision-services-page .vision-services-hero{
  width:100%;
  min-height:0;
  padding:24px;
  gap:18px;
  align-items:flex-start;
  border-radius:22px;
}
.vision-services-page .vision-services-hero:after{
  right:-90px;
  top:-92px;
  width:270px;
  height:270px;
}
.vision-services-page .vision-services-hero__copy{
  max-width:780px;
}
.vision-services-page .vision-services-hero h1{
  margin:10px 0 8px;
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.03em;
}
.vision-services-page .vision-services-hero p{
  margin:0;
  line-height:1.55;
  font-size:14px;
}
.vision-services-page .vision-services-hero__stats{
  flex:none;
  width:auto;
  min-width:480px;
  display:grid;
  grid-template-columns:repeat(3,minmax(130px,1fr));
  gap:10px;
}
.vision-services-page .vision-services-hero__stats div{
  min-width:0;
}
.vision-services-page .vision-services-hero__stats strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
}

/* Remove the empty grey band before the footer on this page. */
body.admin-body:has(.vision-services-page),
.admin-layout:has(> .vision-services-page),
.admin-layout:has(> .vision-services-page) > .vision-services-page{
  background:#fff!important;
}
.admin-layout:has(> .vision-services-page) > .vision-services-page{
  padding-bottom:0!important;
}
html.admin-theme-dark body.admin-body:has(.vision-services-page),
html.admin-theme-dark .admin-layout:has(> .vision-services-page),
html.admin-theme-dark .admin-layout:has(> .vision-services-page) > .vision-services-page{
  background:#07111f!important;
}

@media (max-width:1280px){
  .vision-services-page .vision-services-hero__stats{min-width:390px}
}
@media (max-width:1040px){
  .vision-services-page .vision-services-hero{flex-direction:column}
  .vision-services-page .vision-services-hero__stats{width:100%;min-width:0}
}
@media (max-width:760px){
  .vision-services-page .vision-services-hero{padding:20px}
  .vision-services-page .vision-services-hero h1{font-size:24px}
  .vision-services-page .vision-services-hero__stats{grid-template-columns:1fr}
}

/* Vision services: remove the grey halo below the final save bar. */
.vision-services-page .vision-save-bar{
  position:static!important;
  bottom:auto!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  background:#fff!important;
  margin-bottom:0!important;
}
.vision-services-page .vision-services-form{
  padding-bottom:0!important;
  margin-bottom:0!important;
}
html:not(.admin-theme-dark) .vision-services-page,
body:not(.admin-theme-dark) .vision-services-page,
html:not(.admin-theme-dark) .vision-services-page .analytics-admin-shell{
  background:#fff!important;
  min-height:auto!important;
}
html.admin-theme-dark .vision-services-page .vision-save-bar,
body.admin-theme-dark .vision-services-page .vision-save-bar,
html[data-theme="dark"] .vision-services-page .vision-save-bar,
body[data-theme="dark"] .vision-services-page .vision-save-bar{
  background:#0d1c31!important;
  border-color:#36597f!important;
  box-shadow:none!important;
}


/* Interactive dashboard chart tooltip */
.dashboard-chart-wrap{position:relative}
.chart-interaction-layer{pointer-events:all}
.chart-hit-area{fill:transparent;cursor:crosshair;outline:none}
.chart-hit-area:focus-visible{fill:rgba(59,130,246,.055)}
.chart-hover-indicator{opacity:0;pointer-events:none;transition:opacity .12s ease}
.chart-hover-indicator.is-active{opacity:1}
.chart-hover-guide{stroke:#9aacbf;stroke-width:1;stroke-dasharray:4 4}
.chart-hover-dot{opacity:0;stroke:#fff;stroke-width:2;transition:opacity .12s ease}
.chart-hover-dot.is-active{opacity:1}
.chart-hover-dot.is-blue,.chart-tooltip-dot.is-blue{fill:#3b82f6}
.chart-hover-dot.is-green,.chart-tooltip-dot.is-green{fill:#22c55e}
.chart-hover-dot.is-purple,.chart-tooltip-dot.is-purple{fill:#8b5cf6}
.chart-hover-dot.is-orange,.chart-tooltip-dot.is-orange{fill:#f59e0b}
.chart-tooltip{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease}
.chart-tooltip.is-active{opacity:1;visibility:visible}
.chart-tooltip-box{fill:#10213a;stroke:rgba(255,255,255,.16);stroke-width:1;filter:drop-shadow(0 10px 18px rgba(15,23,42,.24))}
.chart-tooltip-title{fill:#fff;font-size:12px;font-weight:850}
.chart-tooltip-value{fill:#e5edf8;font-size:11px;font-weight:700}
.chart-tooltip-dot{stroke:#fff;stroke-width:1.5}
html.admin-theme-dark .chart-grid-line{stroke:#294461}
html.admin-theme-dark .chart-axis-label,html.admin-theme-dark .chart-x-label{fill:#a9bad1}
html.admin-theme-dark .chart-hover-guide{stroke:#8ba4c2}
html.admin-theme-dark .chart-hover-dot{stroke:#142844}
html.admin-theme-dark .chart-tooltip-box{fill:#07111f;stroke:#3b638e}
@media (prefers-reduced-motion:reduce){.chart-hover-indicator,.chart-hover-dot,.chart-tooltip{transition:none}}
