:root{
  --mima:#4f46e5;--mima2:#4338ca;--mima3:#2563eb;--mima-accent:#14b8a6;
  --mima-ink:#0f172a;--mima-muted:#64748b;--mima-line:#e5e7eb;--mima-bg:#f7f8fc;
  --mima-soft:#f1f5f9;--mima-success:#16a34a;--mima-warn:#d97706;--mima-danger:#dc2626;
  --mima-shadow:0 18px 60px rgba(15,23,42,.08);--mima-radius:22px;
}
.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(1180px,calc(100% - 36px));margin:42px auto;color:var(--mima-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mima-builder h1,.mima-dashboard h1,.mima-auth-shell h1{letter-spacing:-.035em}.mima-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;font-weight:900;color:var(--mima);text-transform:uppercase}.mima-kicker:before{content:"";width:18px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--mima),var(--mima-accent))}
.mima-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,var(--mima),var(--mima3));color:#fff!important;text-decoration:none!important;border:0;border-radius:14px;padding:13px 18px;font-weight:800;line-height:1.1;cursor:pointer;box-shadow:0 8px 24px rgba(79,70,229,.22);transition:.18s ease}.mima-btn:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(79,70,229,.28)}.mima-btn:active{transform:none}.mima-btn-light{background:#eef2ff;color:#3730a3!important;box-shadow:none}.mima-btn-wide{width:100%;padding:15px 19px;font-size:15px}.mima-center{text-align:center}.mima-icon-bubble{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;margin:0 auto 15px;background:#dcfce7;color:#166534;font-weight:900;font-size:22px}
.mima-alert{padding:14px 16px;background:#fff8e6;border:1px solid #fde68a;color:#854d0e;border-radius:14px;margin:16px 0;box-shadow:0 8px 30px rgba(146,64,14,.04)}
.mima-box{background:#fff;border:1px solid var(--mima-line);border-radius:var(--mima-radius);padding:30px;box-shadow:var(--mima-shadow)}

/* Auth */
.mima-auth-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,.7fr);gap:48px;align-items:center;min-height:620px}.mima-auth-copy{padding:40px}.mima-auth-copy h1{font-size:clamp(40px,5vw,64px);line-height:.99;margin:15px 0 22px}.mima-auth-copy p{font-size:19px;line-height:1.65;color:var(--mima-muted);max-width:650px}.mima-auth-copy ul{padding:0;margin:28px 0 0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:13px;color:#334155;font-weight:700}.mima-auth{background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:28px;padding:32px;box-shadow:0 30px 100px rgba(15,23,42,.12)}.mima-auth-head h2{font-size:28px;letter-spacing:-.03em;margin:0}.mima-auth-head p{margin:7px 0 20px;color:var(--mima-muted)}.mima-auth label,.mima-campaign-form label{display:block;font-weight:750;margin:14px 0;color:var(--mima-ink);font-size:14px}.mima-auth input,.mima-campaign-form input,.mima-campaign-form select{box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #d8dee8;border-radius:13px;padding:13px 14px;background:#fff;color:#0f172a;font-size:15px;outline:none;transition:border .15s,box-shadow .15s}.mima-auth input:focus,.mima-campaign-form input:focus,.mima-campaign-form select:focus{border-color:#818cf8;box-shadow:0 0 0 4px rgba(99,102,241,.11)}.mima-optional{font-weight:500;color:#94a3b8;font-size:12px}.mima-check{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important;line-height:1.5}.mima-check input{width:auto;margin-top:3px;flex:0 0 auto}.mima-auth-foot{text-align:center;color:var(--mima-muted);margin:20px 0 0}.mima-auth-links{display:flex;justify-content:space-between;margin-top:16px;font-size:14px}.mima-auth .login-username,.mima-auth .login-password{margin:0}.mima-auth .login-remember{font-size:14px}.mima-auth .login-submit input{width:100%;border:0;background:linear-gradient(135deg,var(--mima),var(--mima3));color:#fff;border-radius:14px;padding:14px;font-weight:800;cursor:pointer}

/* Builder */
.mima-builder-head,.mima-dashboard-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin-bottom:26px}.mima-builder-head h1,.mima-dashboard-hero h1{font-size:clamp(34px,4vw,50px);line-height:1.03;margin:10px 0}.mima-builder-head p,.mima-dashboard-hero p{color:var(--mima-muted);font-size:17px;margin:0}.mima-builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.mima-builder-main{min-width:0}.mima-stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 14px}.mima-stepper span{display:flex;align-items:center;gap:7px;padding:10px 12px;background:#fff;border:1px solid var(--mima-line);border-radius:13px;color:#94a3b8;font-size:12px;font-weight:900}.mima-stepper span.is-active{color:var(--mima);border-color:#c7d2fe;background:#eef2ff}.mima-stepper em{font-style:normal;font-weight:700;color:inherit}.mima-form-section{background:#fff;border:1px solid var(--mima-line);border-radius:20px;padding:24px;margin:0 0 14px;box-shadow:0 8px 35px rgba(15,23,42,.035)}.mima-section-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:17px}.mima-section-num{display:grid;place-items:center;min-width:38px;height:38px;border-radius:12px;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:900}.mima-section-head h3{margin:1px 0 4px;font-size:20px;letter-spacing:-.02em}.mima-section-head p{margin:0;color:var(--mima-muted);font-size:14px}.mima-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mima-site-group{border:1px solid var(--mima-line);border-radius:17px;padding:15px;margin:12px 0;background:#fbfcfe}.mima-site-group-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:2px 3px 10px}.mima-site-group h4{font-size:17px;margin:0}.mima-site-group-head small{display:block;color:var(--mima-muted);margin-top:2px}.mima-select-site{border:0;background:#eef2ff;color:#4338ca;border-radius:10px;padding:8px 10px;font-weight:800;font-size:12px;cursor:pointer}.mima-placement{display:grid!important;grid-template-columns:22px 40px 1fr auto;gap:11px;align-items:center;padding:12px;border:1px solid #e7eaf0;border-radius:14px;margin:8px 0!important;font-weight:400!important;background:#fff;cursor:pointer;transition:.15s}.mima-placement:hover{border-color:#c7d2fe;box-shadow:0 5px 20px rgba(79,70,229,.06)}.mima-placement:has(input:checked){border-color:#818cf8;background:#f7f7ff;box-shadow:0 0 0 2px rgba(99,102,241,.08)}.mima-placement input{width:auto;margin:0;accent-color:var(--mima)}.mima-placement-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f1f5f9;color:#475569;font-size:18px}.mima-placement-copy{display:flex;flex-direction:column}.mima-placement-copy small{color:var(--mima-muted);margin-top:2px;font-size:12px}.mima-placement em{display:flex;flex-direction:column;align-items:flex-end;font-style:normal;color:var(--mima2)}.mima-placement em b{font-size:15px}.mima-placement em small{font-size:10px;letter-spacing:.08em}.mima-estimate{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;padding:16px;border-radius:14px;background:linear-gradient(135deg,#f5f3ff,#eff6ff);border:1px solid #ddd6fe;margin-top:16px}.mima-estimate span{font-size:11px;font-weight:900;letter-spacing:.08em;color:#6d28d9;text-transform:uppercase}.mima-estimate strong{font-size:16px}.mima-estimate small{width:100%;color:#64748b}.mima-upload{position:relative;display:flex!important;min-height:150px;align-items:center;justify-content:center;flex-direction:column;border:1.5px dashed #cbd5e1;border-radius:17px;background:#fbfdff;text-align:center;overflow:hidden;cursor:pointer}.mima-upload:hover{border-color:#818cf8;background:#f8f7ff}.mima-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.mima-upload-icon{font-size:30px;color:#6366f1}.mima-upload strong{font-size:16px;margin-top:6px}.mima-upload small{color:var(--mima-muted);margin-top:3px}.mima-upload img{display:none;max-width:100%;max-height:180px;margin-top:14px;border-radius:10px;object-fit:contain;position:relative;z-index:1}.mima-upload img.is-visible{display:block}.mima-order-summary{position:sticky;top:95px}.mima-summary-card{background:#0f172a;color:#fff;border-radius:22px;padding:23px;box-shadow:0 24px 70px rgba(15,23,42,.18)}.mima-summary-card .mima-kicker{color:#a5b4fc}.mima-summary-card h3{font-size:24px;margin:10px 0 18px}.mima-summary-card dl{margin:0}.mima-summary-card dl div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.09)}.mima-summary-card dt{color:#94a3b8;font-size:13px}.mima-summary-card dd{margin:0;font-weight:850;text-align:right}.mima-summary-note{font-size:12px;line-height:1.5;color:#94a3b8;margin:14px 0 0}.mima-summary-card .mima-btn{margin-top:18px}

/* Dashboard */
.mima-dashboard-hero{background:linear-gradient(135deg,#f5f3ff 0,#eff6ff 60%,#ecfeff 100%);border:1px solid #e0e7ff;border-radius:26px;padding:30px;margin-bottom:18px}.mima-overview-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 26px}.mima-overview-cards>div{background:#fff;border:1px solid var(--mima-line);border-radius:17px;padding:17px;box-shadow:0 8px 28px rgba(15,23,42,.035)}.mima-overview-cards span{display:block;color:var(--mima-muted);font-size:12px;margin-bottom:6px}.mima-overview-cards strong{font-size:24px;letter-spacing:-.025em}.mima-overview-4{grid-template-columns:repeat(4,1fr)}.mima-dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 13px}.mima-dashboard-toolbar h2{margin:0;font-size:24px}.mima-filter-chips{display:flex;gap:6px;flex-wrap:wrap}.mima-filter-chips button{border:1px solid var(--mima-line);background:#fff;border-radius:999px;padding:8px 12px;font-weight:750;color:#64748b;cursor:pointer}.mima-filter-chips button.is-active{background:#0f172a;color:#fff;border-color:#0f172a}.mima-campaign-cards{display:grid;gap:13px}.mima-campaign-card{background:#fff;border:1px solid var(--mima-line);border-radius:20px;padding:18px;box-shadow:0 9px 30px rgba(15,23,42,.035)}.mima-campaign-card[hidden]{display:none}.mima-campaign-row{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px}.mima-campaign-creative{display:flex;align-items:center;justify-content:center;min-height:115px;background:#f8fafc;border:1px solid #edf0f4;border-radius:14px;overflow:hidden}.mima-campaign-creative img{width:100%;height:115px;object-fit:contain}.mima-campaign-creative span{font-size:22px;color:#94a3b8;font-weight:900}.mima-campaign-top{display:flex;justify-content:space-between;gap:20px}.mima-campaign-top h3{margin:7px 0 3px;font-size:20px}.mima-campaign-top h3 a{color:var(--mima-ink);text-decoration:none}.mima-campaign-top small{color:var(--mima-muted)}.mima-budget-label{text-align:right}.mima-budget-label span{display:block;color:var(--mima-muted);font-size:11px}.mima-budget-label strong{font-size:20px}.mima-status{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;background:#eef2f7;color:#475569}.mima-status-approved,.mima-status-active{background:#dcfce7;color:#166534}.mima-status-pending_review,.mima-status-payment_pending{background:#fef3c7;color:#92400e}.mima-status-rejected,.mima-status-cancelled,.mima-status-payment_error{background:#fee2e2;color:#991b1b}.mima-status-paused{background:#e0f2fe;color:#075985}.mima-status-finished{background:#e2e8f0;color:#334155}.mima-progress{height:7px;background:#eef2f7;border-radius:99px;overflow:hidden;margin:15px 0}.mima-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--mima),var(--mima-accent));border-radius:99px}.mima-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.mima-stats div{background:#f8fafc;padding:10px 12px;border-radius:11px}.mima-stats span{display:block;color:var(--mima-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.mima-stats strong{font-size:16px}.mima-card-footer{display:flex;justify-content:flex-end;margin-top:10px}.mima-card-footer a{font-weight:800;text-decoration:none;color:var(--mima)}.mima-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:22px;padding:54px;text-align:center}.mima-empty-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;margin:0 auto 15px;background:#eef2ff;color:#4338ca;font-size:26px}.mima-empty h3{font-size:23px;margin:0 0 6px}.mima-empty p{color:var(--mima-muted);margin:0 auto 18px;max-width:520px}

/* Detail report */
.mima-back{display:block;margin-bottom:12px;color:#64748b;text-decoration:none;font-weight:700}.mima-detail-actions{display:flex;gap:8px}.mima-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.mima-report-panel{background:#fff;border:1px solid var(--mima-line);border-radius:18px;margin:14px 0;overflow:hidden}.mima-panel-title{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--mima-line)}.mima-panel-title h2{font-size:18px;margin:0}.mima-panel-title span{color:var(--mima-muted);font-size:12px}.mima-table-wrap{overflow:auto}.mima-report-table{width:100%;border-collapse:collapse;font-size:13px}.mima-report-table th,.mima-report-table td{text-align:left;padding:13px 16px;border-bottom:1px solid #edf0f4;white-space:nowrap}.mima-report-table th{font-size:10px;color:#64748b;text-transform:uppercase;letter-spacing:.06em;background:#fbfcfe}.mima-report-table td small{display:block;color:#64748b;margin-top:2px}.mima-campaign-side{position:sticky;top:95px}.mima-detail-creative{display:block;width:100%;max-height:180px;object-fit:contain;background:#fff;border-radius:12px;margin:15px 0}.mima-campaign-side a{color:#c7d2fe}.mima-campaign-side .mima-progress{background:rgba(255,255,255,.1)}

@media(max-width:1000px){.mima-builder-layout,.mima-detail-grid{grid-template-columns:1fr}.mima-order-summary,.mima-campaign-side{position:static}.mima-overview-cards{grid-template-columns:repeat(3,1fr)}.mima-auth-shell{grid-template-columns:1fr;min-height:auto}.mima-auth-copy{padding:15px 0}.mima-auth-copy h1{font-size:48px}.mima-auth{max-width:620px}.mima-stepper{display:none}}
@media(max-width:760px){.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(100% - 24px,1180px);margin:24px auto}.mima-auth-copy h1{font-size:38px}.mima-auth-copy ul{grid-template-columns:1fr}.mima-auth{padding:22px;border-radius:20px}.mima-form-grid{grid-template-columns:1fr}.mima-builder-head,.mima-dashboard-hero{flex-direction:column}.mima-builder-head h1,.mima-dashboard-hero h1{font-size:34px}.mima-form-section{padding:17px}.mima-placement{grid-template-columns:20px 34px 1fr}.mima-placement em{grid-column:3;align-items:flex-start}.mima-overview-cards,.mima-overview-4{grid-template-columns:1fr 1fr}.mima-campaign-row{grid-template-columns:1fr}.mima-campaign-creative{min-height:80px}.mima-campaign-creative img{height:90px}.mima-campaign-top{flex-direction:column}.mima-budget-label{text-align:left}.mima-stats{grid-template-columns:1fr 1fr}.mima-dashboard-toolbar{align-items:flex-start;flex-direction:column}.mima-detail-actions{flex-wrap:wrap}}
.mima-site-meta{display:flex;gap:12px;align-items:flex-start;min-width:0}.mima-site-logo{width:48px;height:48px;object-fit:contain;border:1px solid var(--mima-line);border-radius:12px;background:#fff;padding:5px;box-sizing:border-box}.mima-site-meta p{margin:6px 0 0;color:var(--mima-muted);font-size:13px;line-height:1.45;max-width:620px}.mima-site-facts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.mima-site-facts span{font-size:11px;font-weight:750;color:#475569;background:#f1f5f9;border-radius:999px;padding:5px 8px}.mima-placement.is-unavailable{opacity:.45}.mima-placement.is-unavailable input{cursor:not-allowed}.mima-upload-compact{min-height:105px;margin:10px 0;display:grid!important;grid-template-columns:auto 1fr minmax(100px,180px);align-items:center;gap:14px}.mima-upload-compact>input[type=file]{position:absolute;opacity:0;pointer-events:none}.mima-upload-compact .mima-dynamic-preview{max-width:180px;max-height:90px;object-fit:contain;display:none;justify-self:end}.mima-upload-compact .mima-dynamic-preview.is-visible{display:block}.mima-tracking-note{background:linear-gradient(135deg,#f8fafc,#eef2ff);border-color:#dbeafe}@media(max-width:700px){.mima-site-group-head{align-items:flex-start}.mima-site-meta{flex-direction:column}.mima-site-logo{width:40px;height:40px}.mima-upload-compact{grid-template-columns:auto 1fr}.mima-upload-compact .mima-dynamic-preview{grid-column:1/-1;justify-self:start;max-width:100%}}

.mima-metric-note{margin:-10px 0 18px;color:var(--mima-muted);font-size:12px;line-height:1.5}

/* SocialMediaAds 3.0 — polished campaign planner + client analytics */
.mima-stepper{grid-template-columns:repeat(5,1fr)}
.mima-date-presets{display:flex;gap:8px;flex-wrap:wrap;margin:2px 0 12px}.mima-date-presets button{appearance:none;border:1px solid #dbe2ea;background:#fff;color:#475569;border-radius:999px;padding:9px 13px;font-weight:800;font-size:12px;cursor:pointer;transition:.15s}.mima-date-presets button:hover,.mima-date-presets button.is-active{border-color:#818cf8;background:#eef2ff;color:#4338ca;box-shadow:0 5px 18px rgba(79,70,229,.08)}
.mima-schedule-preview{display:grid;grid-template-columns:auto 1fr;gap:3px 14px;align-items:center;margin-top:14px;padding:15px 17px;border-radius:15px;background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid #e0e7ff}.mima-schedule-preview span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#6366f1}.mima-schedule-preview strong{font-size:18px}.mima-schedule-preview small{grid-column:2;color:#64748b}
.mima-dashboard{--dash-blue:#2563eb;--dash-violet:#7c3aed;--dash-cyan:#0891b2;--dash-orange:#ea580c;--dash-green:#16a34a;--dash-dark:#0f172a}.mima-dashboard-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#111827 0,#172554 45%,#312e81 100%);border:0;color:#fff;box-shadow:0 24px 65px rgba(30,41,59,.16)}.mima-dashboard-hero:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-130px;top:-260px;background:radial-gradient(circle,rgba(56,189,248,.35),transparent 68%)}.mima-dashboard-hero>div,.mima-dashboard-hero>a{position:relative;z-index:1}.mima-dashboard-hero .mima-kicker{color:#c7d2fe}.mima-dashboard-hero p{color:#cbd5e1;max-width:760px}.mima-dashboard-hero .mima-btn{background:#fff;color:#1e1b4b!important;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.mima-client-notices{display:grid;gap:10px;margin:0 0 18px}.mima-client-notice{position:relative;display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:flex-start;border-radius:18px;padding:16px 18px;border:1px solid #dbeafe;background:#eff6ff}.mima-client-notice.type-discount{background:linear-gradient(135deg,#fff7ed,#fff1f2);border-color:#fed7aa}.mima-client-notice.type-price{background:linear-gradient(135deg,#ecfdf5,#f0fdfa);border-color:#a7f3d0}.mima-client-notice.type-warning{background:#fffbeb;border-color:#fde68a}.mima-client-notice.type-success{background:#ecfdf5;border-color:#bbf7d0}.mima-client-notice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff;color:#4338ca;font-weight:950;font-size:17px;box-shadow:0 5px 16px rgba(15,23,42,.07)}.mima-client-notice.type-discount .mima-client-notice-icon{color:#ea580c}.mima-client-notice.type-price .mima-client-notice-icon{color:#047857}.mima-client-notice span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#64748b;text-transform:uppercase}.mima-client-notice h3{font-size:17px;margin:3px 0 4px}.mima-client-notice p{margin:0;color:#475569;font-size:14px;line-height:1.5}.mima-client-notice a:not(.mima-notice-close){display:inline-block;margin-top:7px;color:#4338ca;font-weight:850;text-decoration:none}.mima-notice-close{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;text-decoration:none!important;color:#64748b!important;background:rgba(255,255,255,.65);font-size:20px;line-height:1}
.mima-kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:11px;margin:0 0 18px}.mima-kpi{position:relative;overflow:hidden;min-width:0;border-radius:19px;padding:18px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 28px rgba(15,23,42,.04)}.mima-kpi:after{content:"";position:absolute;right:-35px;top:-35px;width:90px;height:90px;border-radius:50%;background:currentColor;opacity:.06}.mima-kpi small{display:block;font-size:11px;color:#64748b;margin-bottom:7px}.mima-kpi strong{display:block;font-size:24px;line-height:1.05;letter-spacing:-.035em;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mima-kpi em{display:block;margin-top:6px;font-style:normal;font-size:10px;color:#94a3b8}.mima-kpi-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;margin-bottom:12px;background:currentColor;color:inherit;font-size:13px;font-weight:900}.mima-kpi-icon:before{content:""}.mima-kpi.blue{color:var(--dash-blue);border-top:3px solid var(--dash-blue)}.mima-kpi.violet{color:var(--dash-violet);border-top:3px solid var(--dash-violet)}.mima-kpi.cyan{color:var(--dash-cyan);border-top:3px solid var(--dash-cyan)}.mima-kpi.orange{color:var(--dash-orange);border-top:3px solid var(--dash-orange)}.mima-kpi.green{color:var(--dash-green);border-top:3px solid var(--dash-green)}.mima-kpi.dark{color:var(--dash-dark);border-top:3px solid var(--dash-dark)}.mima-kpi .mima-kpi-icon{background:color-mix(in srgb,currentColor 11%,white);}.mima-kpi.detail{grid-template-columns:repeat(5,1fr)}
.mima-analytics-panel{background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;margin:0 0 24px;box-shadow:0 9px 34px rgba(15,23,42,.035)}.mima-analytics-panel .mima-panel-title{padding:18px 20px}.mima-panel-title>div h2{margin:0 0 3px}.mima-panel-title>div span{display:block}.mima-mini-chart{display:grid;grid-template-columns:repeat(14,minmax(34px,1fr));gap:7px;align-items:end;height:230px;padding:20px 18px 16px;overflow-x:auto}.mima-mini-day{display:grid;grid-template-rows:150px auto auto;gap:5px;min-width:34px;text-align:center;align-items:end}.mima-mini-bar{position:relative;height:150px;border-radius:9px;background:#f1f5f9;overflow:hidden}.mima-mini-bar i{position:absolute;left:0;right:0;bottom:0;display:block;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#818cf8,#4f46e5);box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}.mima-mini-day b{font-size:9px;color:#64748b;font-weight:800;white-space:nowrap}.mima-mini-day small{font-size:9px;color:#94a3b8;white-space:nowrap}.detail-chart{grid-template-columns:repeat(auto-fit,minmax(30px,1fr));height:220px}.mima-chart-empty{padding:42px;text-align:center;color:#94a3b8}.mima-pace{display:inline-flex!important;padding:7px 10px;border-radius:999px;font-weight:800!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important}.mima-pace.good{background:#dcfce7;color:#166534}.mima-pace.fast{background:#ffedd5;color:#9a3412}.mima-pace.slow{background:#dbeafe;color:#1d4ed8}
.mima-dashboard-toolbar>div:first-child p{margin:3px 0 0;color:#64748b;font-size:13px}.mima-campaign-card{transition:.16s}.mima-campaign-card:hover{transform:translateY(-1px);box-shadow:0 15px 45px rgba(15,23,42,.07)}.mima-budget-progress{margin:14px 0 4px;padding:12px 14px;border-radius:14px;background:#f8fafc}.mima-budget-progress>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#64748b}.mima-budget-progress>div:first-child b{color:#0f172a}.mima-budget-progress .mima-progress{margin:8px 0 5px;height:8px}.mima-budget-progress small{font-size:10px;color:#94a3b8}.mima-budget-progress.warn{background:#fff7ed}.mima-budget-progress.warn .mima-progress span{background:linear-gradient(90deg,#f59e0b,#ea580c)}.mima-budget-progress.danger{background:#fff1f2}.mima-budget-progress.danger .mima-progress span{background:linear-gradient(90deg,#fb7185,#dc2626)}.mima-stats .spent{background:#fff7ed;border-radius:10px;padding:8px}.mima-stats .spent strong{color:#c2410c}.mima-stats .remaining{background:#ecfdf5;border-radius:10px;padding:8px}.mima-stats .remaining strong{color:#15803d}
.mima-budget-side{position:sticky;top:95px;background:linear-gradient(145deg,#0f172a,#172554);color:#fff;border-radius:24px;padding:24px;box-shadow:0 24px 70px rgba(15,23,42,.2)}.mima-budget-ring{--ring:#60a5fa;width:170px;height:170px;border-radius:50%;margin:0 auto 18px;display:grid;place-items:center;background:conic-gradient(var(--ring) calc(var(--pct)*1%),rgba(255,255,255,.1) 0);position:relative}.mima-budget-ring:before{content:"";position:absolute;inset:14px;border-radius:50%;background:#111c37}.mima-budget-ring>div{position:relative;z-index:1;text-align:center}.mima-budget-ring strong{display:block;font-size:34px;letter-spacing:-.04em}.mima-budget-ring span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.mima-budget-side>h3{text-align:center;font-size:31px;margin:0}.mima-budget-side>p{text-align:center;color:#94a3b8;margin:3px 0 18px}.mima-budget-split{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mima-budget-split>div{border-radius:13px;padding:12px}.mima-budget-split span{display:block;font-size:10px;color:#cbd5e1}.mima-budget-split b{display:block;margin-top:3px;font-size:16px}.mima-budget-split .spent{background:rgba(249,115,22,.15)}.mima-budget-split .spent b{color:#fdba74}.mima-budget-split .remaining{background:rgba(34,197,94,.14)}.mima-budget-split .remaining b{color:#86efac}.mima-timeline{margin:18px 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.mima-timeline>div:first-child{display:flex;justify-content:space-between;color:#cbd5e1;font-size:11px}.mima-timeline .mima-progress{background:rgba(255,255,255,.1);margin:8px 0}.mima-timeline .mima-progress span{background:linear-gradient(90deg,#38bdf8,#818cf8)}.mima-timeline small{color:#94a3b8}.mima-budget-side .mima-detail-creative{margin:18px 0;background:#fff}.mima-budget-side dl{margin:0}.mima-budget-side dl div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.09)}.mima-budget-side dt{font-size:11px;color:#94a3b8}.mima-budget-side dd{margin:0;font-weight:800;text-align:right}.mima-budget-side a{color:#bfdbfe}
@media(max-width:1180px){.mima-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.mima-stepper{display:none}.mima-kpi-grid,.mima-kpi.detail{grid-template-columns:1fr 1fr}.mima-client-notice{grid-template-columns:38px 1fr auto;padding:14px}.mima-mini-chart{grid-template-columns:repeat(14,42px)}.mima-budget-side{position:static}.mima-date-presets{display:grid;grid-template-columns:1fr 1fr}.mima-schedule-preview{grid-template-columns:1fr}.mima-schedule-preview small{grid-column:1}.mima-kpi strong{font-size:21px}}
@media(max-width:480px){.mima-kpi-grid,.mima-kpi.detail{grid-template-columns:1fr}.mima-budget-split{grid-template-columns:1fr}}

/* SocialMediaAds 4.0 – credit wallet, auto inventory, editable campaigns, PR */
.sma-simple-builder [hidden]{display:none!important}.sma-credit-strip{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 18px;padding:16px 18px;border:1px solid #dbeafe;background:linear-gradient(135deg,#eff6ff,#eef2ff);border-radius:18px}.sma-credit-strip>div{min-width:170px}.sma-credit-strip span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#64748b;text-transform:uppercase}.sma-credit-strip strong{display:block;margin-top:3px;font-size:22px;letter-spacing:-.03em}.sma-credit-strip .mima-btn{margin-left:auto}
.sma-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.sma-choice{display:block;cursor:pointer}.sma-choice input{position:absolute;opacity:0;pointer-events:none}.sma-choice>span{display:block;height:100%;padding:17px;border:1.5px solid #e2e8f0;border-radius:17px;background:#fff;transition:.15s}.sma-choice b{display:block;font-size:15px;margin-bottom:5px}.sma-choice small{display:block;color:#64748b;line-height:1.45}.sma-choice input:checked+span{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff,#f5f3ff);box-shadow:0 7px 24px rgba(79,70,229,.1)}
.sma-auto-targets,.sma-manual-targets{padding-top:3px}.sma-auto-targets>h4,.sma-manual-targets>h4{margin:0 0 10px}.sma-site-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sma-site-pick{cursor:pointer}.sma-site-pick input{position:absolute;opacity:0;pointer-events:none}.sma-site-pick>span{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:13px 14px;border:1.5px solid #e5e7eb;border-radius:15px;background:#fff;transition:.15s}.sma-site-pick img{grid-row:1/3;width:42px;height:42px;object-fit:contain;border-radius:9px;background:#fff}.sma-site-pick b{font-size:14px}.sma-site-pick small{font-size:11px;color:#64748b}.sma-site-pick input:checked+span{border-color:#4f46e5;background:#eef2ff;box-shadow:inset 0 0 0 1px #4f46e5}.sma-info{margin-top:12px;padding:12px 14px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:12px;line-height:1.55}
.sma-existing-creatives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.sma-existing-creatives>h4{grid-column:1/-1;margin:0}.sma-existing-creative{display:grid;grid-template-columns:74px 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.sma-existing-creative img{width:74px;height:55px;object-fit:contain;background:#f8fafc;border-radius:9px}.sma-existing-creative span b,.sma-existing-creative span small{display:block}.sma-existing-creative span small{color:#64748b;font-size:10px}.sma-existing-creative em{font-style:normal;font-size:10px;color:#dc2626}.sma-multi-upload{min-height:110px}.sma-file-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.sma-file-chip{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:8px 10px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;font-size:11px}.sma-file-chip b{color:#4338ca}.sma-file-chip span{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sma-file-chip small{color:#94a3b8}
.sma-hero-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;position:relative;z-index:2}.sma-wallet-panel{display:grid;grid-template-columns:minmax(250px,1.3fr) minmax(150px,.6fr) minmax(150px,.6fr) minmax(260px,1fr);gap:12px;align-items:stretch;margin:0 0 18px;padding:16px;border-radius:22px;background:linear-gradient(135deg,#0f172a,#172554 55%,#312e81);color:#fff;box-shadow:0 18px 55px rgba(15,23,42,.16)}.sma-wallet-main,.sma-wallet-stat,.sma-topup{border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:16px;background:rgba(255,255,255,.05)}.sma-wallet-main span,.sma-wallet-stat span{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#cbd5e1;font-weight:800}.sma-wallet-main strong{display:block;font-size:34px;letter-spacing:-.045em;margin:3px 0}.sma-wallet-main p{margin:0;color:#cbd5e1;font-size:12px;line-height:1.45}.sma-wallet-stat{display:flex;flex-direction:column;justify-content:center}.sma-wallet-stat b{display:block;margin-top:8px;font-size:22px}.sma-topup{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.sma-topup label{font-size:10px;color:#cbd5e1;font-weight:800}.sma-topup input{display:block;width:100%;margin-top:5px;padding:10px 11px;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.95);color:#0f172a}.sma-topup small{grid-column:1/-1;color:#94a3b8;font-size:9px}.sma-card-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #eef2f7}.sma-card-actions a{font-size:12px;font-weight:850;text-decoration:none;color:#4338ca}.sma-card-actions .sma-pause{color:#b45309}.sma-card-actions .sma-resume{color:#15803d}.sma-positive{color:#15803d;font-weight:800}.sma-negative{color:#dc2626;font-weight:800}
.sma-goal-panel{margin:0 0 18px;padding:17px 19px;border-radius:17px;background:#fff;border:1px solid #e5e7eb}.sma-goal-panel>div:first-child{display:flex;justify-content:space-between;gap:15px;align-items:center}.sma-goal-panel>div:first-child span{font-size:12px;color:#64748b}.sma-goal-panel>div:first-child strong{font-size:18px}.sma-limit-row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:9px;color:#64748b;font-size:11px}.sma-limit-row b{color:#0f172a}.sma-danger-link{display:block;margin-top:18px;padding-top:15px;border-top:1px solid rgba(255,255,255,.1);color:#fecaca!important;font-size:11px;text-align:center}.sma-creative-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}.sma-creative-gallery figure{margin:0;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#f8fafc}.sma-creative-gallery img{display:block;width:100%;height:130px;object-fit:contain;background:#fff}.sma-creative-gallery figcaption{padding:8px;text-align:center;color:#64748b;font-size:11px}.sma-pr-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.sma-pr-product{cursor:pointer}.sma-pr-product input{position:absolute;opacity:0}.sma-pr-product>span{display:grid;grid-template-columns:50px 1fr;gap:3px 11px;align-items:center;height:100%;padding:14px;border:1.5px solid #e2e8f0;border-radius:16px;background:#fff}.sma-pr-product img{grid-row:1/5;width:48px;height:48px;object-fit:contain}.sma-pr-product b,.sma-pr-product strong,.sma-pr-product small,.sma-pr-product em{display:block;grid-column:2}.sma-pr-product b{font-size:13px}.sma-pr-product strong{font-size:15px}.sma-pr-product small{color:#64748b;line-height:1.4}.sma-pr-product em{font-style:normal;font-weight:900;color:#4338ca;margin-top:5px}.sma-pr-product input:checked+span{border-color:#4f46e5;background:#eef2ff;box-shadow:inset 0 0 0 1px #4f46e5}
.mima-status-paused{background:#fff7ed!important;color:#9a3412!important;border-color:#fed7aa!important}
@media(max-width:1050px){.sma-wallet-panel{grid-template-columns:1fr 1fr}.sma-wallet-main,.sma-topup{grid-column:1/-1}.sma-creative-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sma-choice-grid,.sma-site-picks,.sma-existing-creatives,.sma-pr-products{grid-template-columns:1fr}.sma-wallet-panel{grid-template-columns:1fr}.sma-wallet-main,.sma-topup{grid-column:auto}.sma-credit-strip .mima-btn{margin-left:0}.sma-topup{grid-template-columns:1fr}.sma-topup small{grid-column:auto}.sma-creative-gallery{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.sma-creative-gallery{grid-template-columns:1fr}.sma-wallet-main strong{font-size:29px}}
#sma-summary-reserve.is-over-credit{color:#dc2626;font-weight:800}.sma-summary-note-credit{font-size:12px;color:#64748b}

/* SocialMediaAds 6.0 – compact customer UI, responsive creatives and clear validation */
.mima-builder,.mima-dashboard,.mima-auth-shell{font-size:13px}.mima-builder *,.mima-dashboard *,.mima-auth-shell *{box-sizing:border-box;min-width:0}.mima-builder h1,.mima-dashboard h1{font-size:clamp(30px,3.6vw,44px);overflow-wrap:anywhere}.mima-builder-head p,.mima-dashboard-hero p{font-size:15px;line-height:1.55;max-width:760px}.mima-campaign-form label{font-size:13px}.mima-campaign-form input,.mima-campaign-form select,.mima-campaign-form textarea{font-size:14px;max-width:100%}.mima-section-head h3{font-size:18px}.mima-section-head p{font-size:12.5px;line-height:1.5}.mima-summary-card h3{font-size:20px}.mima-summary-card dt,.mima-summary-card dd{font-size:12px;overflow-wrap:anywhere}.mima-dashboard-toolbar p{font-size:12px;color:#64748b;margin:4px 0 0}.mima-campaign-card,.mima-report-panel,.mima-analytics-panel{overflow:hidden}.mima-report-table th,.mima-report-table td{font-size:11.5px;overflow-wrap:anywhere}.mima-stats span{font-size:10px}.mima-stats strong{font-size:17px}.mima-campaign-top h3{overflow-wrap:anywhere}.mima-campaign-top small{line-height:1.45;overflow-wrap:anywhere}
.sma-choice-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sma-choice.compact>span{padding:14px}.sma-choice.compact b{font-size:13px}.sma-choice.compact small{font-size:11px}.sma-subhead{margin:20px 0 8px}.sma-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sma-format-grid label{margin:0!important}.sma-format-grid input{position:absolute;opacity:0;pointer-events:none}.sma-format-grid span{display:flex;align-items:center;min-height:42px;padding:10px 11px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;font-size:11.5px;font-weight:750;cursor:pointer;transition:.15s}.sma-format-grid input:checked+span{border-color:#6366f1;background:#eef2ff;color:#3730a3;box-shadow:inset 0 0 0 1px #6366f1}.sma-format-help{margin-top:11px;padding:11px 13px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff;color:#475569;font-size:11.5px;line-height:1.5}.sma-existing-creative video{width:74px;height:55px;object-fit:contain;background:#0f172a;border-radius:9px}.sma-creative-gallery video{display:block;width:100%;height:130px;object-fit:contain;background:#020617}
.sma-inline-notice{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:flex-start;margin:0 0 16px;padding:13px 15px;border:1px solid #bfdbfe;border-radius:15px;background:#eff6ff;color:#1e3a8a;box-shadow:0 8px 24px rgba(15,23,42,.04)}.sma-inline-notice[hidden]{display:none!important}.sma-inline-notice .sma-notice-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#dbeafe;font-weight:950}.sma-inline-notice strong{display:block;font-size:13px;margin:1px 0 2px}.sma-inline-notice p{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.sma-inline-notice.is-error{border-color:#fecaca;background:#fff1f2;color:#991b1b}.sma-inline-notice.is-error .sma-notice-icon{background:#fee2e2;color:#b91c1c}.sma-inline-notice.is-success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.sma-inline-notice.is-success .sma-notice-icon{background:#dcfce7;color:#15803d}.sma-inline-notice.is-warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.sma-inline-notice.is-warning .sma-notice-icon{background:#ffedd5;color:#c2410c}
.sma-file-chip{grid-template-columns:auto auto minmax(0,1fr) auto;position:relative}.sma-file-chip .sma-file-status{display:grid;place-items:center;width:19px;height:19px;border-radius:999px;background:#dcfce7;color:#15803d;font-weight:900}.sma-file-chip.is-error{border-color:#fecaca;background:#fff1f2;color:#991b1b}.sma-file-chip.is-error .sma-file-status{background:#fee2e2;color:#b91c1c}.sma-file-chip em{grid-column:2/-1;color:#b91c1c;font-style:normal;font-size:10px;white-space:normal}.mima-placement.is-device-hidden{opacity:.48}.mima-placement.is-unavailable{opacity:.42}.sma-limit-row{justify-content:flex-start}.sma-limit-row>span{padding-right:18px}.mima-budget-label strong{overflow-wrap:anywhere}
@media(max-width:920px){.sma-choice-grid-3,.sma-format-grid{grid-template-columns:1fr 1fr}.mima-builder-layout{grid-template-columns:1fr}.mima-order-summary{position:static}.mima-builder-head,.mima-dashboard-hero{flex-direction:column}}
@media(max-width:620px){.sma-choice-grid-3,.sma-format-grid{grid-template-columns:1fr}.mima-form-grid{grid-template-columns:1fr}.mima-builder,.mima-dashboard,.mima-auth-shell{width:min(100% - 22px,1180px);margin:24px auto}.mima-form-section{padding:17px}.mima-dashboard-hero{padding:20px}.sma-file-chip{grid-template-columns:auto auto minmax(0,1fr)}.sma-file-chip>small{grid-column:3}.sma-file-chip em{grid-column:2/-1}.mima-report-table{min-width:650px}}

/* SocialMediaAds 6.0 – billing + creative fit guidance */
.sma-account-panel{background:#fff;border:1px solid #e7ebf2;border-radius:22px;padding:22px;margin:0 0 22px;box-shadow:0 12px 36px rgba(15,23,42,.06)}
.sma-billing-form{display:grid;gap:14px}.sma-billing-form label{font-size:13px;font-weight:700;color:#263247}.sma-billing-form input{font-size:14px;min-height:42px}
.sma-dimension-guide{display:flex;flex-direction:column;gap:5px;margin:14px 0;padding:14px 16px;border:1px solid #cbdcfb;background:linear-gradient(135deg,#f4f8ff,#fbfdff);border-radius:16px;color:#183153}
.sma-dimension-guide b{font-size:13px}.sma-dimension-guide span{font-size:12px;line-height:1.5;color:#51627c}
.sma-file-chip{align-items:flex-start;flex-wrap:wrap}.sma-fit-note{width:100%;margin:8px 0 0 34px;padding:9px 11px;border-radius:10px;font-size:12px;line-height:1.45}.sma-fit-note.is-fit{background:#ecfdf3;color:#15683c;border:1px solid #b7efd0}.sma-fit-note.is-miss{background:#fff7ed;color:#9a4f0b;border:1px solid #fed7aa}
@media(max-width:720px){.sma-account-panel{padding:16px;border-radius:16px}.sma-file-chip{font-size:12px}.sma-fit-note{margin-left:0}.sma-dimension-guide{padding:12px}}
.mima-status-draft{background:#eef2ff;color:#4338ca}


/* SocialMediaAds 7.0 – clearer placement previews and tighter layout */
.mima-builder,.mima-dashboard,.mima-auth-shell{width:min(1160px,calc(100% - 28px))}
.mima-builder-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}
.mima-form-section{padding:20px;margin:0 0 12px;border-radius:18px}
.mima-placement{grid-template-columns:22px 104px 1fr auto;gap:10px;padding:11px}
.mima-site-group{padding:12px}
.sma-placement-preview{display:flex;align-items:center;justify-content:center}
.sma-placement-canvas{position:relative;width:96px;height:58px;border-radius:12px;background:linear-gradient(145deg,#0f172a,#1e293b);overflow:hidden;border:1px solid #dbe2ea;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.sma-placement-canvas img{display:block;width:100%;height:100%;object-fit:cover}
.sma-placement-canvas i{position:absolute;display:block}
.sma-preview-label,.sma-preview-size,.sma-preview-device{position:absolute;z-index:2;font-weight:900;letter-spacing:.04em}
.sma-preview-size{left:6px;top:6px;padding:2px 5px;border-radius:999px;background:rgba(255,255,255,.95);color:#0f172a;font-size:8px}
.sma-preview-device{right:6px;bottom:6px;padding:2px 5px;border-radius:999px;background:rgba(15,23,42,.86);color:#fff;font-size:7px}
.sma-preview-label{left:8px;bottom:20px;color:#dbeafe;font-size:7px;text-transform:uppercase}
.sma-preview-banner .sma-placement-canvas i:first-of-type{left:8px;right:8px;top:16px;height:18px;border-radius:6px;background:linear-gradient(90deg,#6366f1,#06b6d4)}
.sma-preview-banner .sma-placement-canvas i:last-of-type{left:8px;right:24px;bottom:8px;height:6px;border-radius:4px;background:rgba(203,213,225,.45)}
.sma-preview-video .sma-placement-canvas{background:linear-gradient(135deg,#111827,#312e81 55%,#0e7490)}
.sma-preview-video .sma-placement-canvas i:first-of-type{inset:auto auto 50% 50%;transform:translate(-50%,50%);width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 8px 18px rgba(0,0,0,.22)}
.sma-preview-video .sma-placement-canvas i:last-of-type{left:50%;top:50%;transform:translate(-35%,-50%);width:0;height:0;border-left:8px solid #4338ca;border-top:5px solid transparent;border-bottom:5px solid transparent;background:none}
.sma-preview-sticky_top .sma-placement-canvas,.sma-preview-sticky_bottom .sma-placement-canvas,.sma-preview-slide_top .sma-placement-canvas,.sma-preview-slide_bottom .sma-placement-canvas,.sma-preview-popup .sma-placement-canvas{background:linear-gradient(180deg,#f8fafc,#e2e8f0)}
.sma-preview-sticky_top .sma-placement-canvas i:first-of-type,.sma-preview-slide_top .sma-placement-canvas i:first-of-type{left:5px;right:5px;top:5px;height:14px;border-radius:5px;background:linear-gradient(90deg,#4f46e5,#0ea5e9)}
.sma-preview-sticky_top .sma-placement-canvas i:last-of-type,.sma-preview-slide_top .sma-placement-canvas i:last-of-type,.sma-preview-sticky_bottom .sma-placement-canvas i:last-of-type,.sma-preview-slide_bottom .sma-placement-canvas i:last-of-type{left:8px;right:20px;top:24px;height:22px;border-radius:6px;background:repeating-linear-gradient(180deg,#cbd5e1 0 3px,transparent 3px 8px)}
.sma-preview-sticky_bottom .sma-placement-canvas i:first-of-type,.sma-preview-slide_bottom .sma-placement-canvas i:first-of-type{left:5px;right:5px;bottom:5px;height:14px;border-radius:5px;background:linear-gradient(90deg,#4f46e5,#0ea5e9)}
.sma-preview-popup .sma-placement-canvas i:first-of-type{left:24px;right:24px;top:12px;bottom:12px;border-radius:8px;background:#fff;box-shadow:0 8px 16px rgba(15,23,42,.18)}
.sma-preview-popup .sma-placement-canvas i:last-of-type{right:18px;top:6px;width:12px;height:12px;border-radius:999px;background:#111827}
.sma-placement-preview.is-inline{margin:0 0 8px}
.sma-placement-preview.is-picker .sma-placement-canvas{width:100px;height:60px}
.sma-admin-preview-wrap{margin:-2px 0 14px}
.sma-admin-preview-wrap .sma-placement-canvas{width:220px;height:126px}
@media(max-width:920px){.mima-builder-layout{grid-template-columns:1fr}.mima-placement{grid-template-columns:22px 92px 1fr}.mima-order-summary{position:static}}
@media(max-width:620px){.mima-placement{grid-template-columns:22px 1fr}.mima-placement .sma-placement-preview{grid-column:2}.mima-placement em{grid-column:2;align-items:flex-start;margin-top:3px}.sma-placement-preview.is-picker .sma-placement-canvas{width:88px;height:54px}}

/* =========================================================
   SocialMediaAds Hub 7.1 — unified 2026 client UI
   Visual-only layer: functionality, field names and actions unchanged.
   ========================================================= */
:root{
  --mima:#0867ff;--mima2:#0756d8;--mima3:#00a6ff;--mima-accent:#28c4ff;
  --mima-ink:#071a35;--mima-muted:#6d7d95;--mima-line:#dfe8f5;--mima-bg:#f5f8fd;
  --mima-soft:#eef5fd;--mima-success:#15935a;--mima-warn:#d98b10;--mima-danger:#e64b52;
  --mima-shadow:0 14px 42px rgba(7,38,78,.07);--mima-radius:18px;
}
.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(1280px,calc(100% - 44px));font-family:Manrope,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mima-ink)}
.mima-builder,.mima-dashboard{margin-top:28px;margin-bottom:60px}.mima-box{margin-top:30px;margin-bottom:30px}
.mima-kicker{font-size:10px;color:#0870ff}.mima-kicker:before{background:#0870ff}
.mima-btn{border-radius:10px;padding:11px 16px;background:linear-gradient(135deg,#0b78ff,#075fe8);box-shadow:0 9px 24px rgba(8,103,255,.2);font-size:13px}.mima-btn:hover{box-shadow:0 12px 30px rgba(8,103,255,.26)}.mima-btn-light{background:#edf5ff;color:#075acb!important;border:1px solid #d6e6fb;box-shadow:none}.mima-alert{border-radius:12px;box-shadow:none}

/* Login / register */
.mima-auth-shell{grid-template-columns:minmax(0,.95fr) minmax(380px,.58fr);gap:56px;min-height:650px;padding:42px 0}.mima-auth-copy{position:relative;overflow:hidden;padding:54px 48px;border-radius:26px;background:linear-gradient(125deg,#03172f,#063477 68%,#0870e9);color:#fff;box-shadow:0 28px 75px rgba(5,42,91,.19)}.mima-auth-copy:after{content:"";position:absolute;width:420px;height:420px;right:-180px;top:-170px;border-radius:50%;background:radial-gradient(circle,rgba(77,184,255,.28),transparent 66%)}.mima-auth-copy>*{position:relative;z-index:1}.mima-auth-copy .mima-kicker{color:#9dd1ff}.mima-auth-copy .mima-kicker:before{background:#53a9ff}.mima-auth-copy h1{font-size:clamp(39px,4.4vw,57px);line-height:1.02;letter-spacing:-.05em;margin:15px 0 18px}.mima-auth-copy p{font-size:16px;line-height:1.65;color:#cfe0f3}.mima-auth-copy ul{gap:10px;color:#dceafa;font-size:13px}.mima-auth-copy li{position:relative;padding-left:23px}.mima-auth-copy li:before{content:"✓";position:absolute;left:0;top:0;color:#58b8ff;font-weight:900}.mima-auth{border:1px solid #dfe8f4;border-radius:20px;padding:28px;box-shadow:0 20px 60px rgba(7,38,78,.1)}.mima-auth-head h2{font-size:25px}.mima-auth-head p{font-size:13px}.mima-auth label,.mima-campaign-form label{font-size:12px;color:#344b69}.mima-auth input,.mima-campaign-form input,.mima-campaign-form select,.mima-campaign-form textarea{border:1px solid #d8e3f1;border-radius:10px;padding:11px 12px;font-size:13px;background:#fbfdff}.mima-auth input:focus,.mima-campaign-form input:focus,.mima-campaign-form select:focus,.mima-campaign-form textarea:focus{border-color:#78b5ff;box-shadow:0 0 0 3px rgba(8,103,255,.1);background:#fff}

/* Common page headings */
.mima-builder-head,.mima-dashboard-hero{margin-bottom:20px}.mima-builder-head h1,.mima-dashboard-hero h1{font-size:clamp(31px,3.4vw,43px);letter-spacing:-.045em;margin:7px 0 8px}.mima-builder-head p,.mima-dashboard-hero p{font-size:14px;line-height:1.65}.mima-dashboard-hero{position:relative;overflow:hidden;padding:28px 30px;border-radius:20px;background:linear-gradient(105deg,#f7fbff,#eef6ff 55%,#e8f4ff);border:1px solid #d9e9fb}.mima-dashboard-hero:after{content:"";position:absolute;right:-70px;top:-100px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(8,111,255,.15),transparent 68%)}.mima-dashboard-hero>*{position:relative;z-index:1}

/* Campaign builder */
.mima-builder-layout{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.mima-stepper{gap:6px;margin-bottom:12px}.mima-stepper span{border-radius:10px;padding:9px 11px;background:#fff;border-color:#e2eaf5;font-size:11px}.mima-stepper span.is-active{color:#075fe8;border-color:#9fc9ff;background:#edf6ff}.mima-form-section{border:1px solid #dfe8f4;border-radius:16px;padding:21px;margin-bottom:12px;box-shadow:0 8px 25px rgba(7,38,78,.035)}.mima-section-num{min-width:34px;height:34px;border-radius:10px;background:#ebf4ff;color:#0867ff}.mima-section-head h3{font-size:17px}.mima-section-head p{font-size:12px}.mima-form-grid{gap:13px}.mima-site-group{border-color:#e2eaf4;border-radius:14px;padding:13px;background:#fbfdff}.mima-site-group h4{font-size:15px}.mima-select-site{background:#edf5ff;color:#075fe8;border:1px solid #d5e7ff;border-radius:9px}.mima-placement{grid-template-columns:22px 38px 1fr auto;border-color:#e4ebf5;border-radius:12px;padding:10px}.mima-placement:hover{border-color:#a8ceff;box-shadow:0 5px 16px rgba(8,103,255,.05)}.mima-placement:has(input:checked){border-color:#6caeff;background:#f4f9ff;box-shadow:0 0 0 2px rgba(8,103,255,.07)}.mima-placement-icon{width:34px;height:34px;border-radius:9px;background:#edf5ff;color:#0867ff}.mima-placement em{color:#075acb}.mima-estimate{border-radius:12px;background:#f1f7ff;border-color:#d6e8ff}.mima-estimate span{color:#075acb}.mima-upload{min-height:145px;border-color:#cbdbee;border-radius:14px;background:#fbfdff}.mima-upload:hover{border-color:#72afff;background:#f5faff}.mima-upload-icon{color:#0867ff}.mima-order-summary{top:86px}.mima-summary-card{position:relative;overflow:hidden;border-radius:18px;padding:21px;background:linear-gradient(145deg,#04172f,#072c61);box-shadow:0 23px 60px rgba(2,24,53,.22)}.mima-summary-card:after{content:"";position:absolute;right:-80px;bottom:-120px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(31,154,255,.25),transparent 68%)}.mima-summary-card>*{position:relative;z-index:1}.mima-summary-card .mima-kicker{color:#9ed2ff}.mima-summary-card dl div{border-color:rgba(255,255,255,.1)}.mima-summary-card dt,.mima-summary-note{color:#a9bfd8}

/* Dashboard cards / tables */
.mima-overview-cards{gap:10px;margin-bottom:20px}.mima-overview-cards>div,.mima-kpi{position:relative;overflow:hidden;border:1px solid #dfe8f4;border-radius:15px;padding:15px;background:#fff;box-shadow:0 7px 22px rgba(7,38,78,.035)}.mima-overview-cards>div:before,.mima-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#0a77ff,#21c1ff)}.mima-overview-cards span,.mima-kpi span{font-size:10px;color:#71839b;text-transform:uppercase;letter-spacing:.04em}.mima-overview-cards strong,.mima-kpi strong{font-size:22px;color:#071a35}.mima-dashboard-toolbar{margin:18px 0 11px}.mima-dashboard-toolbar h2{font-size:20px}.mima-filter-chips button{border-color:#dce6f2;border-radius:9px;padding:7px 10px;color:#65758b}.mima-filter-chips button.is-active{background:#0a6af2;border-color:#0a6af2;color:#fff}.mima-campaign-cards{gap:10px}.mima-campaign-card{border:1px solid #dfe8f4!important;border-radius:15px!important;box-shadow:0 7px 22px rgba(7,38,78,.035)!important}.mima-campaign-card:hover{border-color:#bed9fb!important;box-shadow:0 12px 30px rgba(7,38,78,.07)!important}.mima-status{border-radius:999px;font-size:10px;font-weight:800;padding:5px 8px}.mima-status-active,.mima-status-approved{background:#e8f8f0;color:#157a4c}.mima-status-paused{background:#eaf4ff;color:#075aaf}.mima-status-pending_review,.mima-status-payment_pending{background:#fff5db;color:#9c6410}.mima-status-rejected,.mima-status-cancelled,.mima-status-payment_error{background:#ffe9ea;color:#ad343b}.mima-status-finished{background:#eef2f6;color:#506178}
.mima-table-wrap,.mima-report-panel,.mima-analytics-panel,.sma-account-panel,.sma-wallet-panel{border:1px solid #dfe8f4;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(7,38,78,.04);overflow:hidden}.mima-report-table,.mima-clean-table{border:0!important}.mima-report-table th,.mima-clean-table th{background:#f6f9fd!important;color:#6a7c94!important;font-size:10px!important;letter-spacing:.055em;text-transform:uppercase;border-color:#e8eef6!important}.mima-report-table td,.mima-clean-table td{border-color:#edf2f8!important;color:#213955}.mima-report-table tbody tr:hover td,.mima-clean-table tbody tr:hover td{background:#fbfdff}

/* Detail / analytics */
.mima-detail-grid{gap:16px}.mima-panel,.mima-box,.mima-report-panel,.mima-analytics-panel{border-color:#dfe8f4!important;border-radius:16px!important}.mima-panel-title,.mima-panel-head{border-color:#e8eef6!important}.mima-panel-title h2,.mima-panel-head h2{font-size:17px!important;color:#0a2141}.mima-kpi-grid{gap:10px}.detail-chart,.mima-mini-chart{background:linear-gradient(180deg,#fbfdff,#f5f9ff)!important;border-color:#e1e9f4!important}.mima-mini-bar,.detail-chart i{background:linear-gradient(180deg,#39baff,#0867ff)!important}.mima-progress{background:#deebf9!important}.mima-progress i{background:linear-gradient(90deg,#0b78ff,#29bfff)!important}

/* Wallet / credit */
.sma-credit-strip,.sma-wallet-main{border-radius:18px!important;background:linear-gradient(110deg,#041a38,#073775 68%,#086bdc)!important;color:#fff!important;border:0!important;box-shadow:0 18px 50px rgba(4,41,90,.18)!important}.sma-credit-strip *,.sma-wallet-main *{border-color:rgba(255,255,255,.12)}.sma-wallet-stat{border-radius:13px!important;background:rgba(255,255,255,.08)!important}.sma-topup,.sma-billing-form{border:1px solid #dfe8f4!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 24px rgba(7,38,78,.04)!important}

/* Goal/format/media choice components */
.sma-choice,.sma-site-pick,.sma-existing-creative,.sma-pr-product{border:1px solid #dfe8f4!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 18px rgba(7,38,78,.025)!important}.sma-choice:hover,.sma-site-pick:hover,.sma-existing-creative:hover,.sma-pr-product:hover{border-color:#a9d0ff!important}.sma-choice:has(input:checked),.sma-site-pick:has(input:checked){border-color:#65aaff!important;background:#f3f9ff!important;box-shadow:0 0 0 2px rgba(8,103,255,.06)!important}.sma-format-help,.sma-info,.sma-inline-notice{border-radius:12px!important;background:#f4f8fd!important;border-color:#dfe8f4!important}.sma-limit-row,.sma-auto-targets,.sma-manual-targets,.sma-goal-panel{border-radius:14px!important;border-color:#dfe8f4!important;background:#fbfdff!important}

/* Notices */
.mima-client-notice{border:1px solid #dce8f6!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(7,38,78,.04)!important}.mima-notice-close{border-radius:8px!important}.mima-empty{border:1px dashed #cbdbea!important;border-radius:14px!important;background:#f7faff!important;color:#6e8097!important}

/* Buttons native/secondary inside shortcode UIs */
.mima-dashboard button:not(.mima-btn),.mima-builder button:not(.mima-btn),.mima-box button:not(.mima-btn){border-radius:9px}

@media(max-width:980px){
 .mima-auth-shell{grid-template-columns:1fr;gap:22px}.mima-auth-copy{padding:36px 30px}.mima-builder-layout{grid-template-columns:1fr}.mima-order-summary{position:static}.mima-overview-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
 .mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(100% - 24px,1280px)}.mima-auth-copy{padding:30px 24px}.mima-auth{padding:22px}.mima-form-grid{grid-template-columns:1fr}.mima-stepper{grid-template-columns:1fr 1fr}.mima-overview-4{grid-template-columns:1fr 1fr}.mima-dashboard-toolbar{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   SocialMediaAds Hub 7.2 — premium clarity refresh (frontend/dashboard)
   ========================================================= */
.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{color:#0f172a!important}
.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(1200px,calc(100% - 32px))!important}
.mima-kicker{font-size:10px!important;letter-spacing:.14em!important;color:#2563eb!important}
.mima-kicker:before{background:linear-gradient(90deg,#2563eb,#38bdf8)!important}
.mima-btn{min-height:48px;padding:13px 18px!important;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;box-shadow:0 12px 24px rgba(37,99,235,.16)!important}
.mima-btn:hover{box-shadow:0 16px 30px rgba(37,99,235,.2)!important}
.mima-btn-light{background:#fff!important;color:#1d4ed8!important;border:1px solid #dbe5f0!important}
.mima-box,.mima-auth,.mima-form-section,.mima-table-wrap,.mima-report-panel,.mima-analytics-panel,.sma-account-panel,.sma-wallet-panel{border:1px solid #e3eaf2!important;border-radius:20px!important;background:#fff!important;box-shadow:0 16px 44px rgba(15,23,42,.05)!important}

.mima-auth-copy{background:linear-gradient(135deg,#08192f,#0b2b59 68%,#1d4ed8)!important;border-radius:28px!important;box-shadow:0 28px 70px rgba(15,23,42,.14)!important}
.mima-auth-copy p{color:#d8e3f0!important}
.mima-auth-head h2{font-size:28px!important;letter-spacing:-.04em!important}
.mima-auth-head p{font-size:14px!important;color:#64748b!important}
.mima-auth label,.mima-campaign-form label{font-size:12px!important;font-weight:800!important;color:#334155!important}
.mima-auth input,.mima-campaign-form input,.mima-campaign-form select,.mima-campaign-form textarea{min-height:46px;border:1px solid #dce5ef!important;border-radius:12px!important;background:#fbfdff!important;font-size:14px!important}
.mima-auth input:focus,.mima-campaign-form input:focus,.mima-campaign-form select:focus,.mima-campaign-form textarea:focus{border-color:#7db2ff!important;box-shadow:0 0 0 4px rgba(37,99,235,.10)!important;background:#fff!important}

.mima-builder-head,.mima-dashboard-hero{padding:28px 30px!important;border-radius:24px!important;border:1px solid #e4ebf3!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 14px 36px rgba(15,23,42,.04)!important}
.mima-builder-head h1,.mima-dashboard-hero h1{font-size:clamp(32px,3.5vw,44px)!important;line-height:1.05!important;letter-spacing:-.05em!important}
.mima-builder-head p,.mima-dashboard-hero p{font-size:15px!important;line-height:1.7!important;color:#64748b!important;max-width:760px}
.mima-stepper{gap:10px!important;margin-bottom:16px!important}
.mima-stepper span{position:relative;padding:12px 14px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;color:#64748b!important;font-size:12px!important;box-shadow:0 6px 16px rgba(15,23,42,.03)!important}
.mima-stepper span.is-active{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;box-shadow:0 10px 24px rgba(37,99,235,.08)!important}
.mima-stepper em{font-weight:900!important}
.mima-form-section{padding:24px!important;margin-bottom:14px!important}
.mima-section-num{background:#eff6ff!important;color:#1d4ed8!important;border:1px solid #dbeafe!important}
.mima-section-head{margin-bottom:18px!important}
.mima-section-head h3{font-size:19px!important;letter-spacing:-.03em!important;margin-bottom:6px!important}
.mima-section-head p{font-size:13px!important;line-height:1.65!important;color:#64748b!important}
.mima-form-grid{gap:14px!important}
.mima-site-group{border:1px solid #e5ecf4!important;border-radius:16px!important;background:#fbfdff!important;padding:14px!important}
.mima-site-group-head{padding-bottom:12px!important;border-bottom:1px solid #edf2f7!important;margin-bottom:10px!important}
.mima-site-group h4{font-size:17px!important;letter-spacing:-.02em!important}
.mima-select-site{padding:9px 12px!important;border-radius:11px!important;background:#eff6ff!important;color:#1d4ed8!important;border:1px solid #dbeafe!important}
.mima-placement{border:1px solid #e5ecf4!important;border-radius:14px!important;padding:12px!important;background:#fff!important;box-shadow:none!important}
.mima-placement:hover{border-color:#bfdbfe!important;box-shadow:0 10px 18px rgba(15,23,42,.04)!important}
.mima-placement:has(input:checked){border-color:#60a5fa!important;background:#f7fbff!important;box-shadow:0 0 0 3px rgba(37,99,235,.07)!important}
.mima-placement-copy{gap:2px}
.mima-placement-copy strong{font-size:15px!important;color:#0f172a!important}
.mima-placement-copy small{font-size:12px!important;line-height:1.5!important}
.mima-placement em b{font-size:16px!important}
.mima-placement em small{font-size:11px!important}
.mima-estimate{border-radius:14px!important;background:#f5f9ff!important;border:1px solid #dbeafe!important;padding:16px 18px!important}
.mima-estimate strong{font-size:17px!important}
.mima-upload{min-height:158px!important;border-radius:16px!important;border:1.5px dashed #c8d6e5!important;background:linear-gradient(180deg,#fcfdff,#f8fbff)!important}
.mima-upload:hover{background:#f4f8ff!important;border-color:#7db2ff!important}
.mima-upload strong{font-size:17px!important}
.mima-order-summary{top:92px!important}
.mima-summary-card{border-radius:22px!important;padding:24px!important;background:linear-gradient(145deg,#071829,#0b2b59 68%,#194ac8)!important;box-shadow:0 28px 70px rgba(2,8,23,.18)!important}
.mima-summary-card h3{font-size:26px!important;letter-spacing:-.04em!important}
.mima-summary-card dl div{padding:12px 0!important}
.mima-summary-card dt{font-size:13px!important}
.mima-summary-card dd{font-size:15px!important}

.mima-overview-cards>div,.mima-kpi,.mima-campaign-card{border:1px solid #e3eaf2!important;border-radius:18px!important;box-shadow:0 14px 34px rgba(15,23,42,.04)!important;background:#fff!important}
.mima-overview-cards strong,.mima-kpi strong{font-size:24px!important;letter-spacing:-.04em!important}
.mima-dashboard-toolbar h2{font-size:22px!important;letter-spacing:-.03em!important}
.mima-filter-chips button{padding:8px 12px!important;border-radius:999px!important;font-size:12px!important}
.mima-filter-chips button.is-active{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
.mima-report-table th,.mima-clean-table th{padding:12px 14px!important;background:#f8fbff!important;color:#64748b!important;font-size:10px!important}
.mima-report-table td,.mima-clean-table td{padding:13px 14px!important;font-size:13px!important;color:#334155!important}
.mima-report-table tbody tr:hover td,.mima-clean-table tbody tr:hover td{background:#fbfdff!important}

.sma-credit-strip,.sma-wallet-main{border-radius:22px!important;background:linear-gradient(135deg,#08192f,#0b2b59 68%,#1d4ed8)!important;box-shadow:0 24px 60px rgba(2,8,23,.16)!important}
.sma-topup,.sma-billing-form,.sma-choice,.sma-site-pick,.sma-existing-creative,.sma-pr-product,.sma-format-help,.sma-info,.sma-inline-notice,.sma-limit-row,.sma-auto-targets,.sma-manual-targets,.sma-goal-panel{border-radius:16px!important}
.sma-choice,.sma-site-pick,.sma-existing-creative,.sma-pr-product{border:1px solid #e4ebf3!important;box-shadow:0 10px 24px rgba(15,23,42,.03)!important}
.sma-choice:hover,.sma-site-pick:hover,.sma-existing-creative:hover,.sma-pr-product:hover{border-color:#bfdbfe!important}
.sma-choice:has(input:checked),.sma-site-pick:has(input:checked){background:#f7fbff!important;border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(37,99,235,.07)!important}
.mima-empty,.mima-client-notice{border-radius:16px!important}

@media(max-width:980px){
  .mima-builder-head,.mima-dashboard-hero{padding:24px!important}
}
@media(max-width:680px){
  .mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(100% - 20px,1280px)!important}
  .mima-builder-head,.mima-dashboard-hero{padding:20px!important}
  .mima-stepper{grid-template-columns:1fr!important}
  .mima-overview-4{grid-template-columns:1fr 1fr!important}
}


/* =========================================================
   SocialMediaAds Hub 7.3 — enterprise premium redesign (frontend)
   ========================================================= */
.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(1240px,calc(100% - 32px))!important;color:#0b1220!important}
.mima-auth-copy{position:relative!important;border-radius:30px!important;background:
  radial-gradient(circle at 85% 20%,rgba(56,189,248,.12),transparent 25%),
  linear-gradient(135deg,#071322 0%,#0b1d39 54%,#13356a 100%)!important;box-shadow:0 32px 80px rgba(2,8,23,.14)!important}
.mima-auth-copy h1{font-size:clamp(42px,4.5vw,58px)!important;letter-spacing:-.06em!important}
.mima-auth-copy p{font-size:16px!important;line-height:1.75!important;color:#d9e4f2!important}
.mima-auth{border-radius:24px!important;padding:30px!important;border:1px solid #e6ecf3!important;box-shadow:0 22px 60px rgba(15,23,42,.06)!important}
.mima-auth-head h2{font-size:30px!important;letter-spacing:-.05em!important}.mima-auth-head p{font-size:14px!important;line-height:1.65!important}
.mima-auth input,.mima-campaign-form input,.mima-campaign-form select,.mima-campaign-form textarea{min-height:48px!important;border-radius:13px!important;border:1px solid #dde6ef!important;background:#fbfdff!important;font-size:14px!important}
.mima-auth input:focus,.mima-campaign-form input:focus,.mima-campaign-form select:focus,.mima-campaign-form textarea:focus{box-shadow:0 0 0 4px rgba(37,99,235,.10)!important;border-color:#7cb3ff!important}
.mima-btn{min-height:50px!important;border-radius:15px!important;background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;box-shadow:0 14px 30px rgba(37,99,235,.15)!important}.mima-btn-light{background:#fff!important;border:1px solid #e1e8f1!important;color:#1d4ed8!important}

.mima-builder-head,.mima-dashboard-hero{padding:30px 32px!important;border-radius:26px!important;border:1px solid #e6ecf3!important;background:linear-gradient(180deg,#ffffff,#fbfcfe)!important;box-shadow:0 18px 46px rgba(15,23,42,.05)!important}
.mima-builder-head h1,.mima-dashboard-hero h1{font-size:clamp(34px,3.8vw,46px)!important;letter-spacing:-.055em!important}.mima-builder-head p,.mima-dashboard-hero p{font-size:15px!important;line-height:1.75!important;color:#5f6b7a!important}
.mima-stepper{gap:12px!important}.mima-stepper span{padding:13px 15px!important;border-radius:15px!important;border:1px solid #e5ecf3!important;background:#fff!important;box-shadow:0 10px 20px rgba(15,23,42,.03)!important}.mima-stepper span.is-active{background:#f4f9ff!important;border-color:#cfe0ff!important;color:#1d4ed8!important;box-shadow:0 14px 26px rgba(37,99,235,.07)!important}
.mima-form-section,.mima-box,.mima-table-wrap,.mima-report-panel,.mima-analytics-panel,.sma-account-panel,.sma-wallet-panel{padding:24px!important;border:1px solid #e6ecf3!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,#fbfcfe)!important;box-shadow:0 16px 44px rgba(15,23,42,.045)!important}
.mima-section-head h3{font-size:20px!important;letter-spacing:-.035em!important}.mima-section-head p{font-size:13px!important;line-height:1.65!important}
.mima-section-num{width:38px!important;min-width:38px!important;height:38px!important;border-radius:13px!important;background:linear-gradient(180deg,#eff6ff,#e4efff)!important;border:1px solid #dbeafe!important;color:#1d4ed8!important}
.mima-site-group{padding:16px!important;border-radius:18px!important;border:1px solid #e7edf4!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.03)!important}.mima-site-group-head{border-bottom:1px solid #edf2f7!important;margin-bottom:10px!important}.mima-site-group h4{font-size:18px!important;letter-spacing:-.03em!important}
.mima-placement{padding:13px!important;border-radius:16px!important;border:1px solid #e7edf4!important;background:#fff!important}.mima-placement:hover{box-shadow:0 12px 24px rgba(15,23,42,.04)!important}.mima-placement:has(input:checked){background:#f6fbff!important;box-shadow:0 0 0 3px rgba(37,99,235,.07)!important}
.mima-estimate{padding:18px!important;border-radius:16px!important;background:linear-gradient(180deg,#f8fbff,#f2f7fd)!important}
.mima-upload{min-height:170px!important;border-radius:18px!important;background:linear-gradient(180deg,#fdfeff,#f7faff)!important}.mima-upload strong{font-size:18px!important}
.mima-summary-card{padding:26px!important;border-radius:24px!important;background:
 radial-gradient(circle at 85% 18%,rgba(56,189,248,.14),transparent 20%),
 linear-gradient(145deg,#071322,#0b1d39 62%,#13356a)!important;box-shadow:0 34px 80px rgba(2,8,23,.16)!important}.mima-summary-card h3{font-size:28px!important;letter-spacing:-.05em!important}

.mima-overview-cards>div,.mima-kpi,.mima-campaign-card{padding:18px!important;border:1px solid #e6ecf3!important;border-radius:18px!important;background:#fff!important;box-shadow:0 14px 32px rgba(15,23,42,.04)!important}.mima-overview-cards strong,.mima-kpi strong{font-size:25px!important;letter-spacing:-.05em!important}
.mima-dashboard-toolbar h2{font-size:24px!important;letter-spacing:-.04em!important}.mima-filter-chips button{padding:9px 13px!important;border-radius:999px!important}
.mima-report-table th,.mima-clean-table th{padding:12px 14px!important;background:#f8fbff!important;font-size:10px!important;color:#64748b!important}.mima-report-table td,.mima-clean-table td{padding:14px!important;font-size:13px!important;line-height:1.6!important;color:#334155!important}
.sma-credit-strip,.sma-wallet-main{padding:24px!important;border-radius:24px!important;background:linear-gradient(135deg,#071322,#0b1d39 62%,#12376f)!important;box-shadow:0 28px 70px rgba(2,8,23,.15)!important}
.sma-topup,.sma-billing-form,.sma-choice,.sma-site-pick,.sma-existing-creative,.sma-pr-product,.sma-goal-panel,.sma-limit-row,.sma-auto-targets,.sma-manual-targets,.sma-format-help,.sma-info,.sma-inline-notice{border:1px solid #e7edf4!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 22px rgba(15,23,42,.03)!important}
.sma-choice:has(input:checked),.sma-site-pick:has(input:checked){background:#f6fbff!important;box-shadow:0 0 0 3px rgba(37,99,235,.07)!important}
@media(max-width:680px){.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(100% - 20px,1280px)!important}.mima-builder-head,.mima-dashboard-hero{padding:22px!important}.mima-form-section{padding:20px!important}}

/* Campaign ordering and placement preview. */
.sma-wizard-progress{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}
.sma-wizard-progress[hidden],.sma-wizard-actions[hidden],.sma-wizard-active [data-sma-step][hidden],.sma-wizard-active .mima-order-summary[hidden],.sma-wizard-active [data-sma-wallet-balance][hidden],.sma-payment-choice[hidden],.sma-billing-at-checkout[hidden]{display:none!important}
.sma-wizard-progress span{padding:10px 14px;background:#eef2f7;border:1px solid #dce5ef;border-radius:999px;color:#475569;font-weight:700}
.sma-wizard-progress span.is-active{background:#143c72;color:white;border-color:#143c72}
.sma-wizard-actions{display:flex;justify-content:space-between;gap:12px;padding:12px 0 32px}
.sma-wizard-actions [hidden]{display:none!important}
.sma-wizard-active:not([data-sma-current-step="4"]) .mima-builder-layout{grid-template-columns:minmax(0,1fr)!important}
.sma-wizard-active .mima-order-summary{position:static!important}
.sma-advanced,.sma-billing-at-checkout{margin:16px 0;padding:14px 16px;background:#f7f9fc;border:1px solid #dde6f1;border-radius:12px}
.sma-advanced>summary,.sma-billing-at-checkout>summary{cursor:pointer;font-weight:700;color:#183b68}
.sma-advanced[open]>summary,.sma-billing-at-checkout[open]>summary{margin-bottom:14px}
.sma-payment-choice{display:grid;gap:10px;margin:18px 0}
.sma-payment-choice h4{margin:0}
.sma-payment-choice label{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dce5ef;border-radius:10px;background:#fff;color:#173552;cursor:pointer}
.sma-payment-choice input{flex:none;margin-top:4px}
.sma-billing-at-checkout{color:#173552}.sma-billing-at-checkout .mima-form-grid{grid-template-columns:1fr}
.sma-placement-preview{margin:20px 0;padding:16px;border:1px solid #dce5ef;border-radius:12px;background:#f8fafc}
.sma-placement-preview h4{margin:0 0 12px}
.sma-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.sma-preview-card{display:grid;gap:5px;align-content:start;padding:12px;background:#fff;border:1px solid #dae4ee;border-radius:10px}
.sma-preview-frame{display:grid;place-items:center;width:100%;max-height:160px;overflow:hidden;background:#e9eef6;border-radius:7px;color:#536476;text-align:center;font-size:12px}
.sma-preview-frame img,.sma-preview-frame video{max-width:100%;max-height:160px;width:100%;height:100%;object-fit:contain}
.sma-preview-card strong{font-size:14px}.sma-preview-card small{color:#64748b}.sma-preview-card b{color:#174878}
@media(max-width:720px){.sma-wizard-progress span{font-size:12px;padding:8px}.sma-wizard-actions{position:sticky;bottom:0;z-index:5;background:white;border-top:1px solid #dde6f1;padding:10px}}

/* SocialMediaAds 7.6 — compact customer area, aligned with the portal */
:root{--mima:#1762cd;--mima2:#1659b5;--mima3:#2778eb;--mima-accent:#5ba5ed;--mima-ink:#17263b;--mima-muted:#617084;--mima-line:#dfe6ee;--mima-bg:#f7f9fc;--mima-shadow:none;--mima-radius:10px}
.mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:min(1160px,calc(100% - 32px))!important;margin:20px auto 34px!important}
.mima-auth-shell{min-height:0!important;gap:28px!important}
.mima-auth-copy{padding:25px!important;border-radius:10px!important;background:#0b2039!important;color:#fff!important;box-shadow:none!important}
.mima-auth-copy h1{font-size:clamp(30px,3.6vw,45px)!important;line-height:1.14!important;margin:10px 0 12px!important}
.mima-auth-copy p{font-size:14px!important;line-height:1.62!important}
.mima-auth-copy ul{color:#e3edf8!important;margin-top:18px!important}
.mima-auth{padding:25px!important;border-radius:10px!important;box-shadow:none!important}
.mima-btn{min-height:43px!important;border-radius:7px!important;padding:10px 15px!important;background:#1762cd!important;box-shadow:none!important;font-size:13px!important}
.mima-btn:hover{background:#1254b1!important;box-shadow:none!important}
.mima-btn-light{background:#fff!important;color:#1558b4!important;border:1px solid #cbdced!important}
.mima-btn-light:hover{background:#eef5ff!important;color:#1558b4!important}
.mima-builder-head,.mima-dashboard-hero{margin-bottom:15px!important;padding:21px 24px!important;border:1px solid #dfe6ee!important;border-radius:10px!important;background:#fff!important;color:#17263b!important;box-shadow:none!important}
.mima-dashboard-hero:before{display:none!important}
.mima-builder-head h1,.mima-dashboard-hero h1{font-size:clamp(27px,3vw,37px)!important;line-height:1.17!important;margin:7px 0 9px!important}
.mima-builder-head p,.mima-dashboard-hero p{color:#617084!important;font-size:13px!important;line-height:1.55!important}
.mima-dashboard-hero .mima-kicker,.mima-kicker{color:#1762cd!important}
.mima-dashboard-hero .mima-btn{background:#1762cd!important;color:#fff!important;box-shadow:none!important}
.mima-builder-layout{gap:16px!important}
.mima-form-section,.mima-box,.mima-table-wrap,.mima-report-panel,.mima-analytics-panel,.sma-account-panel,.sma-wallet-panel{padding:19px!important;border:1px solid #dfe6ee!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.mima-form-section{margin-bottom:11px!important}
.mima-section-num{border-radius:7px!important}
.mima-section-head{margin-bottom:11px!important}.mima-section-head h3{font-size:18px!important}.mima-section-head p{font-size:12px!important}
.mima-campaign-form label{margin:10px 0!important}
.mima-auth input,.mima-campaign-form input,.mima-campaign-form select,.mima-campaign-form textarea{min-height:43px!important;border-radius:7px!important;background:#fff!important}
.mima-upload{min-height:118px!important;border-radius:8px!important;background:#fafcff!important}
.mima-summary-card,.sma-credit-strip,.sma-wallet-main{padding:19px!important;border-radius:10px!important;background:#0b2039!important;box-shadow:none!important}
.mima-summary-card h3{font-size:22px!important}
.mima-summary-card .mima-kicker{color:#b9d8ff!important}
.sma-credit-strip span{color:#b9cbe0!important}.sma-credit-strip strong{color:#fff!important}
.mima-dashboard-toolbar{margin:16px 0 10px!important}
.mima-overview-cards>div,.mima-kpi,.mima-campaign-card{padding:15px!important;border:1px solid #dfe6ee!important;border-radius:9px!important;box-shadow:none!important}
.mima-campaign-card:hover{transform:none!important;box-shadow:none!important}
.sma-choice,.sma-site-pick,.sma-existing-creative,.sma-pr-product,.sma-goal-panel,.sma-limit-row,.sma-auto-targets,.sma-manual-targets,.sma-format-help,.sma-info,.sma-inline-notice{border-radius:9px!important;box-shadow:none!important}
.sma-choice:has(input:checked),.sma-site-pick:has(input:checked){background:#f0f6fe!important;box-shadow:none!important}
.mima-mini-chart{height:190px!important}.mima-mini-day{grid-template-rows:115px auto auto!important}.mima-mini-bar{height:115px!important}
@media(max-width:760px){
  .mima-auth-shell,.mima-builder,.mima-dashboard,.mima-box{width:calc(100% - 24px)!important;margin:14px auto 25px!important}
  .mima-builder-head,.mima-dashboard-hero{padding:18px!important}
  .mima-form-section,.mima-box,.mima-report-panel,.mima-analytics-panel,.sma-account-panel{padding:16px!important}
  .mima-auth-copy{padding:20px!important}
  .mima-form-grid{grid-template-columns:1fr!important}
}

/* Web-first planner: a compact list with expandable, priced placements. */
.sma-site-browser{margin:12px 0 0}
.sma-site-browser [hidden]{display:none!important}
.sma-site-browser-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px}
.sma-site-browser-toolbar>label{margin:0!important;flex:1;max-width:370px;color:#334155;font-size:12px;font-weight:750}
.sma-site-browser-toolbar input[type=search]{display:block;width:100%;margin:5px 0 0;padding:9px 12px;border:1px solid #dbe5f0;border-radius:9px;background:#fff}
.sma-site-browser-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}
.sma-site-browser-toolbar button,.sma-site-expand,.sma-site-panel-head button,.sma-fit-filter{cursor:pointer;padding:9px 11px;border:1px solid #d7e3f2;border-radius:9px;background:#fff;color:#1459af;font-size:12px;font-weight:750}
.sma-site-browser-toolbar button:hover,.sma-site-expand:hover,.sma-site-panel-head button:hover,.sma-fit-filter:hover{border-color:#8fbbf4;background:#f2f7ff}
.sma-site-browser-list{display:grid;gap:8px}
.sma-site-entry{overflow:hidden;border:1px solid #dfe7f0;border-radius:12px;background:#fff;transition:border-color .18s,box-shadow .18s}
.sma-site-entry:has(input[name="sites[]"]:checked){border-color:#90bef7;box-shadow:0 0 0 2px rgba(33,106,220,.06)}
.sma-site-entry-head{display:flex;align-items:center;gap:9px;padding:10px 12px}
.sma-site-choice{display:flex!important;align-items:center;flex:1;min-width:0;gap:11px;margin:0!important;cursor:pointer}
.sma-site-choice input[type=checkbox]{width:19px!important;min-width:19px!important;height:19px!important;min-height:19px!important;margin:0!important;accent-color:#1762cd}
.sma-site-check{display:none}
.sma-site-choice img{width:38px;height:38px;object-fit:contain;padding:3px;border:1px solid #e8edf4;border-radius:8px}
.sma-site-info{display:grid;gap:1px;min-width:0}
.sma-site-info strong{font-size:14px;color:#12233a;overflow-wrap:anywhere}
.sma-site-info small{font-size:11px;color:#64748b;overflow-wrap:anywhere}
.sma-site-price{margin-left:auto;padding-left:10px;color:#536b89;font-size:11px;white-space:nowrap}
.sma-site-expand{white-space:nowrap}
.sma-site-expand span{display:inline-block;transition:transform .2s}
.sma-site-expand[aria-expanded=true] span{transform:rotate(180deg)}
.sma-site-panel{padding:11px 13px 13px;border-top:1px solid #e8edf5;background:#fafcff}
.sma-site-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.sma-site-panel-head>span{display:grid;gap:3px}
.sma-site-panel-head strong{font-size:12px;color:#142940}
.sma-site-panel-head small{font-size:11px;color:#62758d}
.sma-site-panel .mima-placement-list{display:grid;gap:7px;max-height:430px;overflow:auto}
.sma-site-panel .mima-placement{margin:0!important;grid-template-columns:20px 88px minmax(0,1fr) auto!important;gap:9px!important;padding:9px!important;min-width:0}
.sma-site-panel .mima-placement .sma-placement-canvas{width:82px;height:50px}
.sma-site-panel .mima-placement.is-creative-fit{border-color:#addcc0!important}
.sma-site-panel .mima-placement.is-fit-hidden{display:none!important}
.sma-fit-mark{color:#15803d!important;font-weight:750!important}
.sma-site-no-fit{margin:8px 0 2px;color:#9a580b;font-size:12px}
.sma-site-browser-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.sma-match-creatives{cursor:pointer;padding:11px 13px;border:1px solid #1762cd;border-radius:9px;background:#1762cd;color:white;font-size:12px;font-weight:800}
.sma-match-creatives:hover{background:#0e50b2}
.sma-site-browser-footer small{flex-basis:100%;color:#536b89;font-size:12px;line-height:1.5}
@media(max-width:760px){.sma-site-browser-toolbar{align-items:stretch;flex-direction:column}.sma-site-browser-toolbar>label{max-width:none}.sma-site-price{display:none}.sma-site-panel .mima-placement{grid-template-columns:20px 70px minmax(0,1fr)!important}.sma-site-panel .mima-placement .sma-placement-canvas{width:66px;height:45px}.sma-site-panel .mima-placement em{grid-column:3!important}.sma-site-panel-head{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:440px){.sma-site-entry-head{flex-wrap:wrap}.sma-site-expand{margin-left:30px}.sma-site-panel .mima-placement{grid-template-columns:20px minmax(0,1fr)!important}.sma-site-panel .mima-placement .sma-placement-preview{grid-column:2}.sma-site-panel .mima-placement .mima-placement-copy,.sma-site-panel .mima-placement em{grid-column:2!important}}

/* PR order: three clear, independent uploads. */
.sma-pr-order-builder .sma-pr-intro{margin:4px 0 14px;color:#58708c;font-size:13px;line-height:1.55}
.sma-pr-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 12px}
.sma-pr-order-builder .wp-editor-wrap{margin:8px 0 14px}.sma-pr-order-builder .wp-editor-container{border-radius:10px;overflow:hidden}.sma-pr-order-builder #sma_pr_article{min-height:260px;padding:14px;font:15px/1.65 system-ui,sans-serif}.sma-pr-order-builder .sma-pr-file{min-width:0}.sma-pr-order-builder .sma-pr-file input{max-width:100%}
.sma-pr-order-builder .sma-pr-file{display:flex!important;flex-direction:column;align-items:flex-start;gap:6px;margin:0!important;padding:15px;border:1px solid #dbe6f3;border-radius:11px;background:#f9fbff;color:#15304f;cursor:pointer}
.sma-pr-file:hover{border-color:#8ab7f1;background:#f4f9ff}
.sma-pr-file-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:5px;border-radius:8px;background:#e4efff;color:#165fc2;font-size:17px;font-weight:850}
.sma-pr-file strong{font-size:13px}.sma-pr-file small{color:#63748d;font-size:11px;line-height:1.45}
.sma-pr-order-builder .sma-pr-file input[type=file]{width:100%;min-height:0!important;margin-top:auto!important;padding:8px 0 0!important;border:0!important;background:transparent!important;font-size:11px!important;cursor:pointer}

/* Compact account settings, visible only when opened. */
.sma-account-panel .sma-billing-details{width:100%}
.sma-account-panel .sma-billing-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none}
.sma-account-panel .sma-billing-summary::-webkit-details-marker{display:none}
.sma-account-panel .sma-billing-summary>span:first-child{display:grid;gap:3px}
.sma-account-panel .sma-billing-summary small{color:#1762cd;font-size:10px;font-weight:850;letter-spacing:.12em}
.sma-account-panel .sma-billing-summary strong{font-size:20px;letter-spacing:-.025em;color:#15314e}
.sma-account-panel .sma-billing-summary em{font-size:13px;font-style:normal;font-weight:400;color:#62758b}
.sma-account-panel .sma-billing-action{display:inline-flex;align-items:center;gap:10px;flex:none;padding:9px 12px;border:1px solid #d8e5f5;border-radius:8px;color:#1762cd;font-size:12px;font-weight:750}
.sma-account-panel .sma-billing-action b{font-size:17px;font-weight:400;transition:transform .15s}
.sma-account-panel details[open] .sma-billing-action b{transform:rotate(180deg)}
.sma-account-panel .sma-billing-body{margin-top:20px;padding-top:20px;border-top:1px solid #e5edf6}
.sma-account-panel .sma-billing-form .mima-form-grid{gap:12px}
.sma-account-panel .sma-billing-form label:not(.mima-check){margin:0;min-width:0}
.sma-account-panel .sma-billing-form input:not([type=checkbox]){width:100%;min-width:0}
.sma-account-panel .sma-newsletter-switch{margin:15px 0!important}
.sma-utm-fields{margin-top:14px;padding:16px;border:1px solid #dce8f8;border-radius:10px;background:#f8fbff}
.sma-utm-fields>p{margin:0 0 12px;color:#5d728a;font-size:13px;line-height:1.5}
.sma-pr-order-builder .wp-editor-wrap{border:1px solid #d5e1f0;border-radius:12px;padding:8px;background:#f8fbff}
.sma-pr-order-builder .wp-editor-tabs button{border-radius:7px 7px 0 0!important}
@media(max-width:680px){.sma-account-panel .sma-billing-summary{align-items:flex-start;flex-direction:column}.sma-account-panel .sma-billing-action{width:100%;justify-content:space-between}}

/* Keep account statistics and order rows readable at intermediate widths. */
.sma-v6-dashboard .mima-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
.sma-v6-dashboard .mima-stats{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
.sma-v6-dashboard .mima-campaign-main,.sma-v6-dashboard .mima-campaign-top>div:first-child{min-width:0}
.sma-v6-dashboard .mima-campaign-top h3 a{overflow-wrap:anywhere}
.sma-v6-dashboard .mima-report-panel,.sma-v6-dashboard .mima-analytics-panel{min-width:0}
.sma-v6-dashboard .mima-table-wrap{max-width:100%;overflow-x:auto;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.sma-v6-dashboard .mima-report-table{min-width:590px}
.sma-v6-dashboard .mima-report-table td{white-space:normal;vertical-align:top}
.sma-v6-dashboard .mima-report-table td:last-child{white-space:nowrap}
@media(max-width:620px){.sma-v6-dashboard .mima-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sma-v6-dashboard .mima-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sma-v6-dashboard .mima-campaign-card{padding:13px!important}.sma-v6-dashboard .mima-budget-progress>div:first-child{flex-wrap:wrap}}
.sma-pr-file input[type=file]::file-selector-button{margin-right:8px;padding:7px 10px;border:1px solid #c7d9f2;border-radius:7px;background:#fff;color:#175bb2;font-weight:750;cursor:pointer}
@media(max-width:920px){.sma-pr-files{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.sma-pr-files{grid-template-columns:1fr}}
.sma-topup-unavailable{display:flex;flex-direction:column;justify-content:center;gap:7px;color:#172a45}
.sma-topup-unavailable strong{font-size:14px;line-height:1.3}
.sma-topup-unavailable small{color:#52647f;font-size:12px;line-height:1.45}
.mima-click-note{margin:0 0 16px;padding:12px 16px;border:1px solid #dbe7f6;border-radius:12px;background:#f5f9ff;color:#475569;font-size:13px;line-height:1.55}.mima-click-note strong{color:#142640}
.sma-test-notice{display:block;margin:16px 0;padding:14px 18px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1e3a8a;line-height:1.5}.sma-test-notice strong,.sma-test-notice small{display:block}.sma-test-notice small{margin-top:3px;color:#334155}.sma-test-toggle{display:flex;align-items:flex-start;gap:12px;cursor:pointer}.sma-test-toggle input{flex:none;width:18px;height:18px;margin-top:3px}.sma-test-badge{display:inline-block;margin-left:7px;padding:3px 8px;border-radius:999px;background:#dbeafe;color:#1e40af;font-size:11px;font-weight:800;vertical-align:middle}

/* Four distinct pages for campaign setup. */
.sma-v6-form.sma-wizard-active:not([data-sma-current-step="4"]) .mima-builder-layout{grid-template-columns:minmax(0,1fr)!important}
.sma-v6-form.sma-wizard-active [hidden],.sma-site-panel .sma-placement-source[hidden],.sma-budget-option label[hidden]{display:none!important}
.sma-utm-line{display:grid;grid-template-columns:minmax(190px,auto) minmax(0,1fr);align-items:center;gap:14px;margin:18px 0 5px}
.sma-utm-line .mima-check{display:flex;align-items:center;gap:7px;margin:0;white-space:nowrap}
.sma-utm-line>input{width:100%;min-width:0;margin:0}.sma-field-hint{display:block;color:#64748b;line-height:1.45}
.sma-budget-choices{margin-top:22px}.sma-budget-choices h4{margin:0 0 4px;font-size:18px}.sma-budget-choices>p{margin:0 0 12px;color:#52647d}
.sma-budget-option{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,1fr);gap:18px;align-items:center;margin:8px 0;padding:13px 15px;border:1px solid #dce7f4;border-radius:12px;background:#fbfdff}
.sma-budget-option:has(input[type=radio]:checked){border-color:#81b9fb;background:#f4f9ff}.sma-budget-option>label:first-child{display:flex;align-items:center;gap:9px;margin:0;font-weight:750;cursor:pointer}
.sma-budget-option>label:not(:first-child){margin:0;font-size:12px}.sma-budget-option>label:not(:first-child) input{margin:4px 0 0;width:100%}
.sma-site-browser-toolbar .sma-all-sites{display:flex;align-items:center;gap:9px;max-width:none;min-width:230px;cursor:pointer;font-weight:750}
.sma-site-browser-toolbar .sma-all-sites input{width:18px;height:18px;flex:none;margin:0}
.sma-site-facts h4{margin:2px 0 6px}.sma-site-facts p{margin:5px 0 10px;color:#52647d;line-height:1.5}.sma-site-facts ul{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0;list-style:none;margin:10px 0 15px;font-size:12px}
.sma-site-rates{border-top:1px solid #dce6f2;padding-top:11px}.sma-site-rates summary{cursor:pointer;font-weight:750;color:#1459af}.sma-site-rates-list{display:grid;gap:8px;margin-top:10px}
.sma-site-rates-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 14px;padding:10px 12px;border:1px solid #e3ebf4;border-radius:9px;background:#fff;font-size:12px}.sma-site-rates-list small{grid-column:1;color:#617084}.sma-site-rates-list span{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap}
.sma-delivery-options{margin-bottom:14px}.sma-manual-targets{padding:15px!important;margin-bottom:14px}.sma-manual-targets>p{color:#52647d;font-size:13px}
.sma-manual-site{margin:12px 0}.sma-manual-site h5{font-size:15px;margin:0 0 8px}.sma-manual-choice{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;margin:7px 0!important;padding:12px;border:1px solid #dfe9f4;border-radius:10px;background:#fff;cursor:pointer;font-weight:normal!important}
.sma-manual-choice:has(input:checked){border-color:#77aff2;background:#f4f9ff}.sma-manual-choice input{margin:0}.sma-manual-choice span{display:grid;gap:3px}.sma-manual-choice small{color:#617084;font-size:12px}.sma-manual-choice b{font-size:12px;white-space:nowrap;color:#174878}
.sma-dimension-guide ul{margin:6px 0;padding-left:20px;font-size:12px;line-height:1.55}.sma-dimension-guide li{margin:5px 0}
.sma-v6-form .mima-summary-card dd{min-width:0;overflow-wrap:anywhere}
.sma-admin-version{display:block;margin-top:9px;color:#55759c;font-size:11px;font-weight:700}
@media(max-width:720px){.sma-utm-line,.sma-budget-option{grid-template-columns:1fr}.sma-budget-option{gap:8px}.sma-site-rates-list>div{grid-template-columns:1fr}.sma-site-rates-list span{grid-column:1;grid-row:auto;white-space:normal}.sma-manual-choice{grid-template-columns:22px 1fr}.sma-manual-choice b{grid-column:2;white-space:normal}}

/* Compact campaign choices and readable site names on narrow screens. */
.sma-v6-form .sma-budget-option{display:block;min-height:0;margin:9px 0;padding:14px 16px}
.sma-v6-form .sma-budget-option>label:first-child{display:flex!important;align-items:center;gap:11px;margin:0!important;min-width:0;font-size:15px;line-height:1.35}
.sma-v6-form .sma-budget-option>label:first-child>span{min-width:0}
.sma-v6-form .sma-budget-option input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;display:block!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;margin:0!important;border-radius:50%!important;box-shadow:none!important;transform:none!important;accent-color:#1762cd}
.sma-v6-form .sma-budget-option>label:not(:first-child){display:block;margin:12px 0 0 29px!important;max-width:360px}
.sma-v6-form .sma-budget-option>label:not(:first-child) input{margin-top:6px}
.sma-site-choice img{flex:0 0 38px}
.sma-v6-form .sma-all-sites input[type=checkbox],.sma-v6-form .sma-site-choice input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;accent-color:#1762cd}
.sma-site-info{flex:1;min-width:0}
.sma-site-info strong,.sma-site-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
.sma-device-note{margin:10px 0 14px;padding:10px 13px;border:1px solid #dce7f4;border-radius:9px;background:#f7fbff;color:#415775;font-size:13px;line-height:1.5}
@media(max-width:720px){
  .sma-site-entry-head{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:12px}
  .sma-site-choice{width:100%}
  .sma-site-expand{justify-self:end;margin:0!important;padding:7px 10px}
  .sma-v6-form .sma-budget-option>label:not(:first-child){margin-left:29px!important}
}

/* Browser-side crop tool for a selected advertising placement. */
.sma-file-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.sma-file-chip{width:100%;box-sizing:border-box;grid-template-columns:20px auto minmax(0,1fr) auto;align-items:center}
.sma-file-chip .sma-file-name{min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sma-file-chip .sma-file-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.sma-file-actions button{width:auto!important;min-height:34px;border:1px solid #bed4ee;border-radius:8px;background:#fff;color:#1459af;padding:6px 10px;font-size:12px;font-weight:750;cursor:pointer}
.sma-file-actions button:hover{background:#edf6ff}
.sma-file-chip em,.sma-file-chip .sma-fit-note{grid-column:1/-1;margin-left:0}
.sma-crop-dialog[hidden]{display:none!important}
.sma-crop-dialog{position:fixed;inset:0;z-index:1000001;display:grid;place-items:center;padding:16px;box-sizing:border-box}
.sma-crop-backdrop{position:absolute;inset:0;background:rgba(4,18,39,.75)}
.sma-crop-panel{position:relative;display:grid;gap:12px;max-width:620px;width:100%;max-height:min(92vh,900px);overflow:auto;padding:20px;border-radius:14px;background:#fff;box-shadow:0 25px 90px rgba(0,0,0,.28);box-sizing:border-box;color:#182b43}
.sma-crop-panel h4{margin:0 36px 0 0;font-size:19px;line-height:1.25}
.sma-crop-panel p{margin:0;color:#536783;font-size:13px;line-height:1.45}
.sma-crop-panel .sma-crop-targets{color:#124c8f;background:#edf6ff;padding:9px 11px;border-radius:8px;font-weight:650;max-height:76px;overflow:auto}
.sma-crop-panel label{display:grid;gap:5px;margin:0!important;font-size:13px}
.sma-crop-panel select{width:100%;margin:0!important}
.sma-crop-panel input[type=range]{width:100%;margin:0!important;padding:0!important;height:24px;accent-color:#1762cd}
.sma-crop-stage{display:grid;place-items:center;min-height:170px;max-height:42vh;padding:12px;border:1px solid #dfe9f4;border-radius:9px;background:repeating-conic-gradient(#eef2f7 0% 25%,#fff 0% 50%) 50%/20px 20px;overflow:auto}
.sma-crop-stage canvas{display:block;max-width:100%;max-height:38vh;width:auto;height:auto;touch-action:none;cursor:grab;box-shadow:0 3px 15px rgba(0,0,0,.2)}
.sma-crop-stage canvas:active{cursor:grabbing}
.sma-crop-close{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:8px;background:#eef3fa;font-size:24px;line-height:1;cursor:pointer}
.sma-crop-status{min-height:20px;color:#335578!important}
.sma-crop-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.sma-crop-open{overflow:hidden}
@media(max-width:620px){.sma-file-chip{grid-template-columns:20px auto minmax(0,1fr)}.sma-file-chip>small{grid-column:3}.sma-crop-panel{padding:16px}.sma-crop-actions .mima-btn{flex:1}}

/* Campaign wizard: clear reading order, consistent controls and visible selection states. */
.sma-simple-builder{color:#172b46}
.sma-simple-builder .sma-v6-form{scroll-margin-top:154px}
.sma-simple-builder .mima-builder-head{align-items:center;gap:24px}
.sma-simple-builder .mima-builder-head h1{max-width:19ch;font-size:clamp(29px,3.2vw,44px)!important;line-height:1.13!important;letter-spacing:-.035em!important}
.sma-simple-builder .mima-builder-head p{max-width:70ch;font-size:16px!important;line-height:1.6!important;color:#475b75!important}
.sma-simple-builder .sma-wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0!important}
.sma-simple-builder .sma-wizard-progress span{display:flex;align-items:center;min-height:54px;padding:10px 14px;border-radius:12px;font-size:13px;line-height:1.35;background:#f3f7fc;border-color:#d7e2f0;color:#354a65}
.sma-simple-builder .sma-wizard-progress span.is-active{background:#1458ae;border-color:#1458ae;color:#fff;box-shadow:0 5px 16px rgba(20,88,174,.16)}
.sma-simple-builder .mima-form-section{border:1px solid #dce6f1!important;border-radius:16px!important;padding:clamp(18px,3vw,29px)!important;box-shadow:0 10px 30px rgba(19,48,85,.05)!important}
.sma-simple-builder .mima-section-head{align-items:center;gap:13px;margin-bottom:23px}
.sma-simple-builder .mima-section-num{flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#e7f0fd;color:#1458ae;font-size:15px}
.sma-simple-builder .mima-section-head h3{margin:0 0 5px;font-size:clamp(20px,2.2vw,25px);line-height:1.25;color:#152944}
.sma-simple-builder .mima-section-head p{font-size:14px;line-height:1.55;color:#4d627a}
.sma-simple-builder .mima-form-section label,.sma-simple-builder .sma-billing-at-checkout label{color:#263c56;line-height:1.4}
.sma-simple-builder .mima-form-section input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]),.sma-simple-builder .mima-form-section select,.sma-simple-builder .sma-billing-at-checkout input{min-height:46px;border:1px solid #bfcddd;border-radius:10px;background:#fff;color:#172b46;font-size:16px}
.sma-simple-builder :is(input,select,button,summary,a):focus-visible{outline:3px solid #4b9dfa!important;outline-offset:2px}
.sma-simple-builder .sma-budget-option{border:1px solid #cfdae7;border-radius:12px;background:#fff}
.sma-simple-builder .sma-budget-option:has(input[type=radio]:checked){border-color:#2372cd;background:#eff6ff;box-shadow:inset 4px 0 #2372cd}
.sma-simple-builder .sma-choice>span{min-height:100px;border-radius:12px}
.sma-simple-builder .sma-choice input:checked+span{border-color:#2372cd;background:#eff6ff;box-shadow:inset 4px 0 #2372cd}
.sma-simple-builder .sma-site-entry{border-color:#d5e1ee;border-radius:12px}
.sma-simple-builder .sma-site-entry:has(input[name="sites[]"]:checked){border-color:#72a8e8;box-shadow:inset 4px 0 #2372cd}
.sma-simple-builder .sma-site-info strong{font-size:15px;line-height:1.32}
.sma-simple-builder .sma-site-info small{font-size:12px;line-height:1.4}
.sma-simple-builder .sma-site-expand,.sma-simple-builder .sma-site-rates summary{min-height:42px}
.sma-simple-builder .sma-wizard-actions{gap:12px;padding:14px 0 28px}
.sma-simple-builder .sma-wizard-actions .mima-btn{min-height:46px}
/* Manual placement shortcuts and contextual help. */
.sma-manual-targets>.sma-match-creatives{margin:0 0 16px}
.sma-bulk-placements{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.sma-bulk-placements button{padding:9px 12px;border:1px solid #b8d3f3;border-radius:9px;background:#fff;color:#14549e;font-size:12px;font-weight:750;cursor:pointer}
.sma-bulk-placements button:hover,.sma-bulk-placements button:focus-visible{background:#eaf4ff;border-color:#1762cd}
.sma-bulk-status{min-height:1.2em;margin:5px 0;color:#186036;font-size:12px}
.sma-manual-choice{grid-template-columns:minmax(0,1fr) auto 30px!important;cursor:default!important}
.sma-manual-selection{display:flex!important;align-items:center;gap:10px;margin:0!important;min-width:0;cursor:pointer;font-weight:normal!important}
.sma-manual-selection input{flex:none}.sma-manual-selection span{min-width:0}
.sma-manual-choice .sma-placement-info{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #8fb7e9;border-radius:50%;background:#eff6ff;color:#175cb1;font-size:15px;font-weight:850;font-family:Georgia,serif;cursor:pointer}
.sma-manual-choice .sma-placement-info:hover{background:#dcecff}
.sma-open-pr{margin-top:10px}
.sma-pr-total{margin:14px 0 0;padding:12px 14px;border:1px solid #c7ddf6;border-radius:10px;background:#f3f8ff;color:#174878;font-size:13px;font-weight:800}
.sma-return-campaign{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 20px;padding:14px 16px;border:1px solid #b7d8f4;border-radius:12px;background:#eff7ff;color:#174878;font-size:13px;font-weight:700}
@media(max-width:620px){.sma-return-campaign{align-items:flex-start;flex-direction:column}}
body.sma-feedback-open{overflow:hidden}
.sma-feedback-dialog{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.sma-feedback-dialog[hidden]{display:none!important}
.sma-feedback-backdrop{position:absolute;inset:0;background:rgba(10,27,51,.62)}
.sma-feedback-panel{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;width:min(100%,480px);max-height:calc(100vh - 40px);overflow:auto;padding:25px;border:1px solid #fed7aa;border-radius:17px;background:#fff;box-shadow:0 28px 80px rgba(0,17,42,.3);color:#26394f}
.sma-feedback-panel .sma-notice-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0de;color:#a44a08;font-weight:900}
.sma-feedback-panel strong{display:block;margin:2px 0 7px;font-size:19px;line-height:1.25}
.sma-feedback-panel p{margin:0 0 18px;white-space:pre-line;overflow-wrap:anywhere;font-size:14px;line-height:1.55}
.sma-feedback-panel button{min-width:120px}
.sma-feedback-dialog.is-error .sma-notice-icon{background:#fee2e2;color:#b91c1c}
.sma-feedback-dialog.is-success .sma-notice-icon{background:#dcfce7;color:#15803d}
.sma-feedback-dialog.is-info .sma-notice-icon{background:#dbeafe;color:#175cb1}
@media(max-width:720px){.sma-manual-choice{grid-template-columns:minmax(0,1fr) 30px!important}.sma-manual-choice>b{grid-column:1;margin-left:30px}.sma-manual-choice .sma-placement-info{grid-column:2;grid-row:1/3}.sma-feedback-panel{padding:20px}}
.sma-simple-builder .mima-summary-card{border:1px solid #d4e1f0!important;border-radius:16px!important;background:#fff!important;color:#172b46!important;box-shadow:0 10px 30px rgba(19,48,85,.08)!important}
.sma-simple-builder .mima-summary-card:after{content:none!important}
.sma-simple-builder .mima-summary-card .mima-kicker{color:#2167bb!important}
.sma-simple-builder .mima-summary-card h3{color:#142b49;font-size:25px!important;line-height:1.25}
.sma-simple-builder .mima-summary-card dl div{border-color:#e4ebf3!important}
.sma-simple-builder .mima-summary-card dt{color:#4c617a!important}
.sma-simple-builder .mima-summary-card dd{color:#172b46;text-align:right}
.sma-simple-builder .mima-summary-note{color:#4c617a!important;font-size:13px;line-height:1.55}
.sma-simple-builder .sma-payment-choice{gap:9px;padding-top:16px;border-top:1px solid #e2eaf3}
.sma-simple-builder .sma-payment-choice h4{font-size:17px;color:#142b49}
.sma-simple-builder .sma-payment-choice label{align-items:center;gap:12px;min-height:62px;padding:13px 14px;border-color:#cbd9e8;border-radius:11px;color:#1c3657;font-weight:650;line-height:1.45;box-shadow:none!important}
.sma-simple-builder .sma-payment-choice label:has(input:checked){border-color:#2372cd;background:#eff6ff;box-shadow:inset 4px 0 #2372cd!important}
.sma-simple-builder .sma-payment-choice input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;display:block!important;flex:0 0 19px;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;max-width:19px!important;max-height:19px!important;margin:0!important;padding:0!important;accent-color:#1762cd;transform:none!important}
.sma-simple-builder .sma-billing-at-checkout{border-color:#d5e1ee;background:#f8fbff}
@media(max-width:920px){.sma-simple-builder .sma-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
  .sma-simple-builder .mima-builder-head{padding:18px!important}
  .sma-simple-builder .mima-builder-head h1{font-size:30px!important}
  .sma-simple-builder .mima-builder-head p{font-size:14px!important}
  .sma-simple-builder .sma-wizard-progress{gap:7px}
  .sma-simple-builder .sma-wizard-progress span{min-height:47px;padding:8px 9px;font-size:12px}
  .sma-simple-builder .mima-section-head{align-items:flex-start}
  .sma-simple-builder .mima-section-num{flex-basis:36px;width:36px;height:36px}
  .sma-simple-builder .sma-site-entry-head{gap:10px}
  .sma-simple-builder .sma-site-choice{gap:9px}
  .sma-simple-builder .sma-site-price{white-space:normal}
  .sma-simple-builder .sma-site-expand{justify-self:start;margin-left:27px!important}
  .sma-simple-builder .sma-wizard-actions{bottom:0;z-index:20;margin:0 -5px;padding:11px 5px 13px;background:#fff;box-shadow:0 -8px 20px rgba(19,48,85,.07)}
  .sma-simple-builder .sma-wizard-actions .mima-btn{min-width:0}
}

/* Profile payments and saved campaigns. */
.sma-pending-payments{border:2px solid #74a8e4!important;background:linear-gradient(120deg,#fff,#f2f7ff)!important;box-shadow:0 12px 30px rgba(24,89,177,.11);margin:22px 0!important}
.sma-pending-payments .mima-panel-title{margin-bottom:14px}
.sma-payment-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:20px;background:#1664c5;color:#fff;font-size:14px;vertical-align:middle}
.sma-payment-list{display:grid;gap:10px}
.sma-payment-item{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #cedff2;border-radius:11px;padding:15px 18px}
.sma-payment-item.is-focused{outline:3px solid #3281db}
.sma-payment-item b,.sma-payment-item small{display:block;overflow-wrap:anywhere}
.sma-payment-item small{color:#536a83;margin-top:3px}
.sma-draft-pay{margin:20px 0;padding:22px!important;border:1px solid #aac9ee!important;background:#f4f9ff!important}
.sma-draft-pay form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.sma-pay-draft{color:#125aad!important;font-weight:800!important}
@media(max-width:620px){.sma-payment-item{display:block}.sma-payment-item .mima-btn{display:inline-flex;margin-top:12px}.sma-draft-pay form .mima-btn{width:100%;justify-content:center}}
.sma-political-choice{margin:24px 0 0;padding:16px 18px;border:1px solid #c8d9ee;border-radius:14px;background:#f7faff}.sma-political-choice .mima-check{font-weight:750;color:#16365e}.sma-political-choice p{margin:8px 0 0;color:#42556b;line-height:1.5}.sma-political-panel{margin:12px 0 0;padding:20px;border:1px solid #b9cee6;border-radius:14px;background:#fbfdff}.sma-political-panel[hidden]{display:none!important}.sma-political-panel h4{font-size:20px;margin:0 0 8px;color:#12385d}.sma-political-panel p{color:#42556b;line-height:1.5}.sma-political-panel label{margin:10px 0}.sma-political-panel input,.sma-political-panel select,.sma-political-panel textarea{max-width:100%}.sma-political-panel .mima-check{display:flex;gap:10px;align-items:flex-start;padding:10px 0;line-height:1.4}.sma-political-panel .mima-check input{flex:none;margin-top:4px}.sma-political-panel details{margin:16px 0}


/* SocialMedia 7.19: compact campaign entry + integrated creative workflow */
.sma-simple-builder{max-width:1240px!important;margin:20px auto 48px!important}
.sma-simple-builder .mima-builder-head{padding:15px 24px!important;margin:0 0 12px!important;border-radius:15px!important;box-shadow:none!important}
.sma-simple-builder .mima-builder-head h1{font-size:clamp(26px,2.4vw,34px)!important;margin:3px 0!important}
.sma-simple-builder .sma-wizard-progress{margin:0 0 12px!important;gap:8px}
.sma-simple-builder .sma-wizard-progress span{min-height:44px!important;padding:8px 12px!important;border-radius:10px!important;font-size:12px!important}
.sma-simple-builder .sma-v6-form .mima-form-section{padding:17px 19px!important;border-radius:15px!important;margin-bottom:9px!important}
.sma-simple-builder .mima-section-head{margin-bottom:12px!important;gap:10px!important}
.sma-simple-builder .mima-section-head h3{font-size:19px!important;margin:0!important}
.sma-simple-builder .mima-section-num{width:36px!important;height:36px!important;min-width:36px!important}
.sma-simple-builder .sma-v6-form.sma-wizard-active:not([data-sma-current-step="4"]) .mima-builder-layout{grid-template-columns:minmax(0,1fr)!important}
.sma-simple-builder .sma-v6-form .sma-choice-grid{gap:10px!important}
.sma-simple-builder .sma-v6-form .sma-choice>span{padding:11px 14px!important;border-radius:11px!important;min-height:66px}
.sma-simple-builder .sma-v6-form .sma-choice b{font-size:14px!important}
.sma-simple-builder .sma-v6-form .sma-choice small{font-size:11px!important}
.sma-simple-builder .sma-v6-form .sma-delivery-options{margin-bottom:10px!important}
.sma-creative-preflight{margin:10px 0 12px;padding:13px 15px;border:1px solid #bad9fa;border-radius:14px;background:linear-gradient(120deg,#f7fbff,#fff)}
.sma-preflight-heading,.sma-conversion-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.sma-preflight-heading strong,.sma-conversion-top strong,.sma-preflight-preview>strong{display:block;font-size:15px;color:#102b4e;font-weight:800}
.sma-preflight-heading small,.sma-conversion-top small{display:block;font-size:11px;color:#61738b;margin-top:3px}
.sma-preflight-heading>span{font-size:11px;font-weight:800;padding:5px 10px;border-radius:7px;background:#e6f2ff;color:#1463c3}
.sma-creative-preflight .mima-upload{min-height:78px!important;padding:11px 15px!important;display:flex!important;gap:12px;align-items:center;border-radius:12px!important;margin:0 0 8px!important;background:#fff!important}
.sma-creative-preflight .mima-upload .mima-upload-icon{font-size:24px!important}
.sma-creative-preflight .mima-upload strong{font-size:14px!important}
.sma-creative-preflight .mima-upload small{font-size:10px!important}
.sma-conversion-controls{margin-top:10px;padding:10px 12px;border:1px solid #deebf9;border-radius:12px;background:#fff}
.sma-conversion-sizes{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.sma-conversion-size{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;padding:7px 11px!important;border:1px solid #cadcf0;border-radius:9px;background:#f9fbff;cursor:pointer;font-size:12px!important;font-weight:750!important;color:#244666!important}
.sma-conversion-size:has(input:checked){background:#e7f2ff;border-color:#64a2ee;color:#0d5bc5!important}
.sma-conversion-size input{width:15px!important;height:15px!important;min-height:15px!important;margin:0!important;accent-color:#116bdc}
.sma-mini-button{border:1px solid #c2d9f4;border-radius:8px;background:#fff;color:#1266cc;font-size:11px;font-weight:750;padding:6px 10px;cursor:pointer}
.sma-mini-button:hover{background:#eff6ff}
.sma-conversion-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sma-conversion-actions>.mima-btn{min-height:36px!important;padding:8px 14px!important;font-size:12px!important;border-radius:9px!important;white-space:normal}
.sma-conversion-actions small{color:#536f8e;font-size:11px;flex:1 1 200px}
.sma-conversion-error{color:#a03c26!important}
.sma-file-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.sma-file-chip{font-size:11px!important;padding:8px 10px!important;min-width:0}
.sma-file-chip .sma-file-actions button{font-size:10px!important}
.sma-preview-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:9px 0}
.sma-preflight-preview{margin-top:12px;border-top:1px solid #dceaf9;padding-top:10px}
.sma-preview-card{min-width:0;border:1px solid #d4e2f3;background:#fff;border-radius:10px;overflow:hidden}
.sma-preview-picture{display:grid;place-items:center;height:105px;background:repeating-conic-gradient(#eff4fa 0% 25%,#fff 0% 50%) 50%/18px 18px}
.sma-preview-picture img,.sma-preview-picture video{display:block;max-width:100%;max-height:100%;object-fit:contain}
.sma-preview-info{display:grid;gap:4px;padding:9px}
.sma-preview-info strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1e3651}
.sma-preview-info small{font-size:10px;color:#667d95}
.sma-preview-info .sma-mini-button{font-size:10px;padding:5px}
.sma-preview-approval{display:flex!important;align-items:flex-start;gap:9px;padding:9px 12px!important;border:1px solid #b9d8f7;border-radius:9px;background:#edf6ff;font-size:12px!important;line-height:1.45}
.sma-preview-approval input{margin:2px 0 0!important;width:17px!important;height:17px!important;min-height:17px!important;accent-color:#146de5}
.sma-motion-guidance{margin-top:10px;border-top:1px solid #e1eaf5;padding-top:10px;font-size:11px;color:#526783}
.sma-motion-guidance summary{font-size:11px;font-weight:800;cursor:pointer;color:#2069ba}
.sma-motion-guidance-body{padding:8px 0 0}
.sma-motion-guidance-body p{margin:4px 0 9px;font-size:11px}
.sma-motion-guidance-body table{width:100%;border-collapse:collapse}
.sma-motion-guidance-body th,.sma-motion-guidance-body td{border-bottom:1px solid #dce9f8;text-align:left;padding:6px}
.sma-v6-form[data-sma-current-step="3"] .sma-device-note{font-size:11px;margin:8px 0!important}
.sma-v6-form[data-sma-current-step="3"] .sma-dimension-guide{padding:8px 12px!important;margin:8px 0!important;font-size:11px!important}
.sma-v6-form[data-sma-current-step="3"] .sma-placement-preview{margin-top:8px!important;padding:10px!important}
.sma-v6-form[data-sma-current-step="3"] .sma-format-help{font-size:10px;padding:8px!important}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid span{min-height:34px;padding:7px 9px;font-size:11px}
.sma-v6-form[data-sma-current-step="3"] .sma-subhead{margin:12px 0 6px}
.sma-v6-form .sma-wizard-actions{padding:8px 0 15px!important;margin-top:2px!important}
@media(max-width:900px){.sma-preview-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .sma-simple-builder .sma-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sma-file-list{grid-template-columns:1fr}
 .sma-preview-items{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sma-simple-builder .sma-v6-form .sma-delivery-options{grid-template-columns:1fr}
 .sma-v6-form[data-sma-current-step="3"] .sma-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sma-conversion-top,.sma-preflight-heading{align-items:flex-start}
}

/* SocialMedia 9.20 - one compact, placement-by-placement creative workbench */
.sma-creative-preflight{margin:8px 0 10px!important;padding:12px!important;background:#fff!important}
.sma-creative-preflight .sma-preflight-heading{margin-bottom:7px}
.sma-creative-preflight .mima-upload{min-height:66px!important;margin:0 0 10px!important}
.sma-creative-preflight #sma-file-list,.sma-creative-preflight .sma-conversion-controls{display:none!important}
.sma-creative-workbench[hidden]{display:none!important}
.sma-creative-workbench{margin-top:12px;border:1px solid #d6e4f5;border-radius:14px;background:#fff;overflow:hidden}
.sma-workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:#f6f9fe;border-bottom:1px solid #deebf8}
.sma-workbench-heading strong{display:block;font-size:17px;letter-spacing:-.02em;color:#142946}
.sma-workbench-heading small{display:block;font-size:12px;color:#58708a;margin-top:3px}
.sma-workbench-heading>span{flex:none;border:1px solid #c3d8f5;border-radius:30px;padding:6px 11px;font-size:12px;font-weight:800;color:#1762cd;background:#fff}
.sma-workbench-grid{display:grid;grid-template-columns:minmax(218px,28%) minmax(0,1fr);min-height:440px}
.sma-workbench-sidebar{border-right:1px solid #dbe7f6;min-width:0;background:#f8fbff}
.sma-workbench-sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:14px 14px 10px;font-size:12px;font-weight:800;color:#173454;text-transform:uppercase;letter-spacing:.025em}
.sma-workbench-sidebar-title span{padding:2px 7px;border-radius:20px;color:#2c66a9;background:#e8f2fd}
.sma-workbench-places{display:grid;align-content:start;gap:9px;max-height:430px;overflow:auto;padding:0 10px 12px;scrollbar-color:#b6cee9 transparent;scrollbar-width:thin}
.sma-workbench-group{border:1px solid #d9e5f5;border-radius:12px;background:#fff;overflow:hidden}
.sma-workbench-group summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;cursor:pointer;list-style:none;color:#16365c;background:#edf5ff}
.sma-workbench-group summary::-webkit-details-marker{display:none}
.sma-workbench-group summary strong{font-size:12px}
.sma-workbench-group summary span{font-size:10px;font-weight:800;color:#53749b}
.sma-workbench-place{display:flex!important;align-items:center;gap:9px;box-sizing:border-box;width:calc(100% - 12px);min-height:56px;text-align:left;margin:6px!important;padding:8px!important;background:#fff!important;color:#17304f!important;border:1px solid #e1eaf5!important;border-radius:9px!important;cursor:pointer;box-shadow:none!important}
.sma-workbench-place:hover,.sma-workbench-place.is-current{border-color:#5d9def!important;background:#ecf5ff!important}
.sma-workbench-place.is-ready .sma-workbench-marker{color:#198452;background:#e8f9f0}
.sma-workbench-marker{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:8px;background:#fff1ef;color:#b24b43;font-size:17px;font-weight:850}
.sma-workbench-place-info{display:grid;gap:1px;min-width:0}
.sma-workbench-place-info strong{font-size:13px;color:#152f51}
.sma-workbench-place-info small{font-size:10px;color:#6b7c90;line-height:1.25}
.sma-workbench-no-targets{padding:9px 12px;color:#60748d;font-size:12px}
.sma-workbench-editor{display:grid;align-content:start;gap:10px;min-width:0;padding:14px 16px 16px}
.sma-workbench-target{display:flex;align-items:start;justify-content:space-between;gap:12px}
.sma-workbench-target small{font-size:10px;color:#2071cd;font-weight:800;letter-spacing:.08em}
.sma-workbench-target h4{margin:1px 0 2px!important;font-size:18px;color:#162d49}
.sma-workbench-target p{margin:0;font-size:11px;color:#61748d}
.sma-workbench-badge{flex:none;display:inline-flex;border:1px solid #ffded8;border-radius:20px;padding:6px 10px;background:#fff6f4;color:#ab5044;font-size:11px;font-weight:750}
.sma-workbench-badge.is-ready{color:#167a49;background:#e9faef;border-color:#bdebcf}
.sma-workbench-sources>span{display:block;font-size:12px;font-weight:750;margin-bottom:5px;color:#283f5c}
.sma-workbench-source-list{display:flex;gap:7px;overflow:auto;padding:1px 0 5px;scrollbar-width:thin}
.sma-workbench-source{width:126px;min-width:126px;display:flex!important;flex-direction:column;align-items:center;gap:4px;padding:7px!important;text-align:left;border:1px solid #d9e6f6!important;border-radius:10px;background:#fff!important;color:#24425d!important;cursor:pointer}
.sma-workbench-source.is-active{border:2px solid #2678df!important;background:#f2f8ff!important;padding:6px!important}
.sma-workbench-source img,.sma-workbench-source video{display:block;width:100%;height:55px;object-fit:contain;background:#eff4f9;border-radius:7px}
.sma-workbench-source span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.sma-workbench-stage{display:grid;place-items:center;min-height:185px;max-height:365px;overflow:hidden;border:1px solid #deebf7;border-radius:13px;background:repeating-conic-gradient(#edf2f8 0% 25%,#fff 0% 50%) 50% / 20px 20px;padding:12px}
.sma-workbench-stage canvas{display:block;max-width:100%;max-height:335px;width:auto;height:auto;object-fit:contain;touch-action:none;cursor:grab;box-shadow:0 8px 28px rgba(21,51,91,.17);border-radius:3px}
.sma-workbench-stage canvas:active{cursor:grabbing}
.sma-workbench-stage canvas[hidden],.sma-workbench-empty[hidden],.sma-workbench-zoom[hidden]{display:none!important}
.sma-workbench-empty{color:#58718b;font-size:13px;text-align:center;padding:18px}
.sma-workbench-zoom{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;font-size:12px;color:#1f3b5c}
.sma-workbench-zoom input{width:100%;height:24px;min-height:24px;padding:0;margin:0;accent-color:#176bd7}
.sma-workbench-zoom output{min-width:40px;text-align:right;font-size:12px}
.sma-workbench-hint{margin:0!important;color:#5c7085!important;font-size:12px!important;line-height:1.45}
.sma-workbench-hint.is-warning{color:#a76626!important}
.sma-workbench-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
.sma-workbench-actions button{min-height:36px!important;border-radius:9px!important;padding:8px 12px!important;font-size:12px!important}
.sma-workbench-actions button:disabled{opacity:.5;cursor:not-allowed}
.sma-creative-preflight .sma-preflight-preview{margin-top:12px;padding-top:12px}
@media(max-width:820px){.sma-workbench-grid{grid-template-columns:minmax(178px,32%) minmax(0,1fr)}.sma-workbench-actions button{flex:1}.sma-workbench-stage{max-height:300px}}
@media(max-width:610px){.sma-workbench-heading{align-items:start;flex-direction:column}.sma-workbench-grid{grid-template-columns:1fr}.sma-workbench-sidebar{border-right:0;border-bottom:1px solid #dbe7f6}.sma-workbench-places{max-height:205px}.sma-workbench-editor{padding:12px}.sma-workbench-stage{max-height:310px;min-height:190px}.sma-workbench-target{flex-wrap:wrap}.sma-workbench-zoom{grid-template-columns:auto 1fr auto}.sma-workbench-zoom button{grid-column:1/-1}}
.sma-workbench-source-cell{position:relative;flex:none;width:126px}
.sma-workbench-remove{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:23px;height:23px;padding:0;border:1px solid #dae6f4;border-radius:50%;background:#fff;color:#a74840;font-size:18px;line-height:1;cursor:pointer}
.sma-v6-form.sma-workbench-open[data-sma-current-step="3"] .sma-device-note,.sma-v6-form.sma-workbench-open[data-sma-current-step="3"] .sma-dimension-guide,.sma-v6-form.sma-workbench-open[data-sma-current-step="3"] .sma-placement-preview,.sma-v6-form.sma-workbench-open[data-sma-current-step="3"] .sma-format-help{display:none!important}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid{gap:7px;margin:0 0 8px!important}
.sma-v6-form[data-sma-current-step="3"] .sma-auto-targets{padding:8px 0!important;margin:0!important}
.sma-v6-form[data-sma-current-step="3"] .sma-auto-targets .sma-subhead{margin:0 0 6px!important}
.sma-workbench-stage video,.sma-workbench-stage img[data-sma-workbench-motion]{display:block;max-width:100%;max-height:325px;object-fit:contain;border-radius:6px;box-shadow:0 8px 28px rgba(21,51,91,.17)}
.sma-workbench-stage video[hidden],.sma-workbench-stage img[hidden]{display:none!important}
.sma-creative-preflight .sma-multi-upload>span:last-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.sma-creative-preflight .sma-multi-upload>span:last-child strong,.sma-creative-preflight .sma-multi-upload>span:last-child small{display:block;line-height:1.35;text-align:center}

/* SocialMedia 9.21 — compact campaign purchase flow, without changing form names/actions. */
.sma-simple-builder{width:min(1320px,calc(100% - 32px))!important;max-width:1320px!important;margin:12px auto 28px!important}
.sma-simple-builder .mima-builder-head{align-items:center;min-height:0!important;padding:12px 18px!important;margin-bottom:8px!important;border-radius:12px!important}
.sma-simple-builder .mima-builder-head h1{font-size:clamp(23px,2.6vw,30px)!important;line-height:1.1!important;margin:1px 0!important}
.sma-simple-builder .mima-builder-head .mima-kicker{font-size:9px!important}
.sma-simple-builder .mima-builder-head>.mima-btn{min-height:34px!important;padding:8px 13px!important;font-size:12px!important}
.sma-simple-builder .sma-wizard-progress{position:sticky;top:86px;z-index:24;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important;margin:0 0 8px!important;padding:5px!important;border:1px solid #d6e4f4;border-radius:12px;background:#f8fbff;box-shadow:0 4px 12px rgba(20,68,120,.035)}
body.admin-bar .sma-simple-builder .sma-wizard-progress{top:118px}
.sma-simple-builder .sma-wizard-progress span{min-height:37px!important;padding:7px 10px!important;border:0!important;border-radius:8px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap}
.sma-simple-builder .sma-v6-form .mima-form-section{margin-bottom:6px!important;padding:12px 16px!important;border-radius:12px!important;box-shadow:none!important}
.sma-simple-builder .sma-v6-form .mima-section-head{align-items:center!important;margin-bottom:9px!important;gap:9px!important}
.sma-simple-builder .sma-v6-form .mima-section-head h3{font-size:17px!important;line-height:1.2!important;margin:0!important}
.sma-simple-builder .sma-v6-form .mima-section-head p{font-size:11px!important;margin:2px 0!important;line-height:1.3!important}
.sma-simple-builder .sma-v6-form .mima-section-num{height:30px!important;width:30px!important;min-width:30px!important;flex-basis:30px!important;font-size:12px!important;border-radius:8px!important}
.sma-simple-builder .sma-v6-form .mima-form-grid{gap:9px 12px!important}
.sma-simple-builder .mima-form-section label,.sma-simple-builder .sma-billing-at-checkout label{font-size:12px!important;gap:4px!important}
.sma-simple-builder .mima-form-section input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]),.sma-simple-builder .mima-form-section select,.sma-simple-builder .sma-billing-at-checkout input{min-height:38px!important;height:38px;line-height:1.2!important;padding:7px 10px!important;border-radius:8px!important;font-size:13px!important}
.sma-simple-builder .sma-utm-line{margin:9px 0!important;gap:10px!important}
.sma-simple-builder .sma-utm-line .mima-check{min-width:195px!important;font-size:12px!important}
.sma-simple-builder .sma-budget-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px;margin:10px 0 8px!important}
.sma-simple-builder .sma-budget-choices>h4{grid-column:1/-1;margin:0!important;font-size:13px!important}
.sma-simple-builder .sma-budget-choices>p{grid-column:1/-1;margin:-6px 0 0!important;color:#65758b!important;font-size:10px!important}
.sma-simple-builder .sma-v6-form .sma-budget-option{display:block!important;margin:0!important;padding:10px 12px!important;min-height:0!important;border-radius:10px!important;align-self:start}
.sma-simple-builder .sma-v6-form .sma-budget-option>label:first-child{font-size:12px!important;line-height:1.25!important;gap:7px!important}
.sma-simple-builder .sma-v6-form .sma-budget-option>label:not(:first-child){margin:8px 0 0 0!important;max-width:none!important;font-size:11px!important}
.sma-simple-builder .sma-v6-form .sma-budget-option>label:not(:first-child) input{margin-top:4px!important;max-width:100%!important}
.sma-simple-builder .sma-info{padding:8px 10px!important;margin:6px 0!important;font-size:11px!important}
.sma-simple-builder .sma-political-choice{margin:7px 0 0!important;padding:9px 12px!important;border-radius:10px!important}
.sma-simple-builder .sma-political-choice p{margin:3px 0!important;font-size:11px!important}
.sma-simple-builder .sma-test-notice{padding:8px 12px!important;margin:0 0 8px!important;min-height:0!important;font-size:12px!important;border-radius:10px!important}
.sma-simple-builder .sma-test-notice small{font-size:10px!important}
.sma-simple-builder .sma-site-browser-toolbar{gap:10px!important;margin:4px 0 10px!important}
.sma-simple-builder .sma-site-browser-toolbar>label{font-size:12px!important}
.sma-simple-builder .sma-site-browser-toolbar input[type=search]{min-height:37px!important}
.sma-simple-builder .sma-site-browser-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:9px;padding:2px 6px 5px 2px;max-height:min(56vh,540px);overflow-y:auto;scrollbar-color:#b9cfe8 transparent;scrollbar-width:thin}
.sma-simple-builder .sma-site-entry{min-width:0;min-height:0;margin:0!important;border-radius:11px!important}
.sma-simple-builder .sma-site-entry-head{display:flex!important;align-items:center!important;gap:6px!important;padding:8px 10px!important;min-height:56px}
.sma-simple-builder .sma-site-choice{min-width:0!important;gap:7px!important}
.sma-simple-builder .sma-site-choice img{width:30px!important;max-width:30px!important;height:30px!important;object-fit:contain}
.sma-simple-builder .sma-site-info strong{font-size:12px!important;line-height:1.2!important}
.sma-simple-builder .sma-site-info small{font-size:10px!important}
.sma-simple-builder .sma-site-price{font-size:10px!important}
.sma-simple-builder .sma-site-expand{min-height:30px!important;padding:4px 7px!important;font-size:10px!important}
.sma-simple-builder .sma-site-panel{padding:10px!important}
.sma-simple-builder .sma-site-facts h4,.sma-simple-builder .sma-site-facts p{margin:4px 0!important}
.sma-simple-builder .sma-site-facts ul{gap:3px 14px!important;margin:4px 0!important;font-size:11px!important}
.sma-simple-builder .sma-choice-grid.sma-delivery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;margin:2px 0 8px!important}
.sma-simple-builder .sma-choice-grid.sma-delivery-options .sma-choice>span{padding:9px 12px!important;min-height:55px!important}
.sma-simple-builder .sma-choice-grid.sma-delivery-options .sma-choice b{font-size:12px!important}
.sma-simple-builder .sma-choice-grid.sma-delivery-options .sma-choice small{font-size:10px!important}
.sma-simple-builder .sma-creative-preflight{padding:10px!important;margin:8px 0!important;border-radius:12px!important}
.sma-simple-builder .sma-creative-preflight .mima-upload{min-height:60px!important;padding:9px 12px!important}
.sma-simple-builder .sma-workbench-heading{padding:9px 12px!important}
.sma-simple-builder .sma-workbench-grid{grid-template-columns:minmax(210px,28%) minmax(0,1fr);min-height:0!important}
.sma-simple-builder .sma-workbench-places{max-height:360px!important}
.sma-simple-builder .sma-workbench-editor{padding:10px 12px!important;gap:8px!important}
.sma-simple-builder .sma-workbench-stage{min-height:155px!important;max-height:270px!important;padding:7px!important}
.sma-simple-builder .sma-workbench-stage canvas{max-height:245px!important}
.sma-simple-builder .sma-workbench-source img,.sma-simple-builder .sma-workbench-source video{height:42px!important}
.sma-simple-builder .sma-workbench-source{min-width:105px!important;width:105px!important}
.sma-simple-builder .sma-workbench-source-cell{width:105px!important}
.sma-simple-builder .sma-preview-items{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px!important}
.sma-simple-builder .sma-preview-picture{height:80px!important}
.sma-simple-builder .sma-wizard-actions{position:sticky;bottom:0;z-index:22;display:flex;align-items:center;justify-content:space-between;padding:8px 10px!important;margin:0!important;border:1px solid #dce8f5;border-radius:11px;background:rgba(255,255,255,.98);box-shadow:0 -7px 18px rgba(15,61,117,.07)}
.sma-simple-builder .sma-wizard-actions[hidden]{display:none!important}
.sma-simple-builder .sma-wizard-actions .mima-btn{min-height:37px!important;padding:8px 14px!important;font-size:12px!important}
.sma-simple-builder .mima-date-presets{gap:6px!important;margin:0 0 9px!important}
.sma-simple-builder .mima-date-presets button{padding:7px 12px!important;font-size:12px!important}
.sma-simple-builder .sma-advanced{margin:9px 0!important}
.sma-simple-builder .mima-schedule-preview{margin:8px 0!important;padding:8px 11px!important}
.sma-simple-builder .sma-payment-choice{gap:6px!important;padding-top:8px!important}
.sma-simple-builder .sma-payment-choice h4{font-size:14px!important;margin:0!important}
.sma-simple-builder .sma-payment-choice label{min-height:0!important;padding:9px 11px!important;border-radius:9px!important;font-size:11px!important}
.sma-simple-builder .mima-summary-card{padding:16px!important;border-radius:13px!important}
.sma-simple-builder .mima-summary-card h3{font-size:19px!important;line-height:1.25!important;margin:4px 0 10px!important}
.sma-simple-builder .mima-summary-card dl{margin:8px 0!important}
.sma-simple-builder .mima-summary-card dl div{padding:7px 0!important}
.sma-simple-builder .mima-summary-card dt,.sma-simple-builder .mima-summary-card dd{font-size:11px!important}
.sma-simple-builder .mima-summary-note{font-size:11px!important;line-height:1.35!important}
.sma-simple-builder .mima-builder-layout{gap:11px!important}
@media (max-width:1000px){.sma-simple-builder .sma-site-browser-list{grid-template-columns:1fr 1fr}.sma-simple-builder .sma-budget-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
 .sma-simple-builder{width:calc(100% - 18px)!important;margin-top:8px!important}
 .sma-simple-builder .sma-wizard-progress{position:static;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .sma-simple-builder .sma-wizard-progress span{white-space:normal}
 .sma-simple-builder .sma-site-browser-list{grid-template-columns:1fr;max-height:390px}
 .sma-simple-builder .sma-budget-choices{grid-template-columns:1fr 1fr!important}
 .sma-simple-builder .sma-budget-option:last-child{grid-column:1/-1}
 .sma-simple-builder .sma-workbench-grid{grid-template-columns:1fr}
 .sma-simple-builder .sma-workbench-places{max-height:180px!important}
 .sma-simple-builder .sma-preview-items{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sma-simple-builder .sma-v6-form .mima-form-section{padding:10px 11px!important}
 .sma-simple-builder .sma-choice-grid.sma-delivery-options{grid-template-columns:1fr}
}
@media (max-width:460px){
 .sma-simple-builder .sma-budget-choices{grid-template-columns:1fr!important}
 .sma-simple-builder .sma-budget-option:last-child{grid-column:auto}
 .sma-simple-builder .mima-form-grid{grid-template-columns:1fr}
 .sma-simple-builder .sma-site-entry-head{flex-wrap:wrap!important}
 .sma-simple-builder .sma-workbench-stage{max-height:245px!important}
}

/* Prevent invisible radio/checkbox hit targets from creating horizontal page scroll. */
.sma-simple-builder .sma-choice input,.sma-simple-builder .sma-format-grid input{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;margin:0!important;padding:0!important;clip-path:inset(50%);overflow:hidden;opacity:0!important}
.sma-simple-builder .sma-choice input:focus-visible+span,.sma-simple-builder .sma-format-grid input:focus-visible+span{outline:2px solid #2a80f1;outline-offset:2px}

/* Keep content unobstructed while editing: compact navigation and actions do not cover the canvas. */
.sma-simple-builder .sma-wizard-progress{position:relative;top:auto;z-index:1}
body.admin-bar .sma-simple-builder .sma-wizard-progress{top:auto}
.sma-simple-builder .sma-wizard-actions{position:relative;bottom:auto;z-index:1;box-shadow:none}


/* ================================================================
 SocialMedia 9.22 — dedicated campaign screen, compact and keyboard usable
 ================================================================ */
body.sma-fullscreen-campaign{overflow:hidden!important;background:#f2f7fc!important}
body.sma-fullscreen-campaign .site-header,
body.sma-fullscreen-campaign .site-footer,
body.sma-fullscreen-campaign footer{display:none!important}
body.sma-fullscreen-campaign .site-main,
body.sma-fullscreen-campaign .content-wrap,
body.sma-fullscreen-campaign .entry-content,
body.sma-fullscreen-campaign article{min-height:0!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;border:0!important}
body.sma-fullscreen-campaign .sma-simple-builder{
 position:fixed!important;inset:0!important;z-index:110!important;
 width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;
 padding:12px clamp(12px,2.2vw,36px) 10px!important;
 display:flex!important;flex-direction:column!important;gap:8px!important;
 overflow:hidden!important;background:#f2f7fc!important;
}
body.admin-bar.sma-fullscreen-campaign .sma-simple-builder{top:32px!important;height:calc(100dvh - 32px)!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-head{
 flex:0 0 auto!important;min-height:52px!important;padding:6px 15px!important;margin:0!important;
 display:flex!important;flex-direction:row!important;align-items:center!important;border-radius:11px!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-head h1{font-size:clamp(19px,2.4vw,27px)!important;margin:0!important}
body.sma-fullscreen-campaign .sma-simple-builder .sma-wizard-progress{
 flex:0 0 auto!important;position:relative!important;top:auto!important;margin:0!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .sma-v6-form{
 flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-layout{
 display:grid!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;
 grid-template-columns:minmax(0,1fr)!important;gap:9px!important;align-items:stretch!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .sma-v6-form.sma-wizard-active[data-sma-current-step="4"] .mima-builder-layout{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-main{
 display:flex!important;flex-direction:column!important;min-height:0!important;min-width:0!important;overflow:hidden!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-main>.mima-form-section:not([hidden]){
 flex:1 1 auto!important;min-height:0!important;max-height:none!important;
 overflow-y:auto!important;overscroll-behavior:contain!important;
 margin:0!important;scrollbar-color:#a6c4e6 #f7faff;scrollbar-width:thin;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-main>.sma-wizard-actions{
 position:relative!important;flex:0 0 auto!important;bottom:auto!important;margin:7px 0 0!important;
 min-height:48px!important;padding:5px 10px!important;border-radius:12px!important;
 box-shadow:0 0 0 1px #dbe7f7!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .sma-wizard-actions [hidden]{display:none!important}
body.sma-fullscreen-campaign .sma-simple-builder .sma-wizard-actions .mima-btn{min-height:37px!important;margin:0!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-order-summary{
 display:block!important;min-height:0!important;overflow-y:auto!important;
 position:static!important;scrollbar-width:thin;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-order-summary[hidden]{display:none!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card{padding:13px 16px!important;background:#fff!important;color:#142c4a!important;border:1px solid #d9e6f6!important;box-shadow:none!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card .mima-kicker{color:#216ec9!important;font-size:9px!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card h3{font-size:16px!important;margin:3px 0 5px!important;color:#102b4c!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card dl{margin:0!important;display:grid!important;gap:0!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card dl div{
 display:grid!important;grid-template-columns:38% minmax(0,1fr)!important;align-items:start!important;
 padding:4px 0!important;gap:9px!important;border-bottom:1px solid #e9eff6!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card dt,
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card dd{
 font-size:10.5px!important;line-height:1.34!important;overflow-wrap:anywhere!important;
}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card dt{color:#62738b!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-card dd{color:#193758!important;font-weight:750!important;text-align:right!important}
body.sma-fullscreen-campaign .sma-simple-builder .mima-summary-note{color:#546c86!important;font-size:10px!important;line-height:1.3!important;margin:6px 0 0!important}
body.sma-fullscreen-campaign .sma-simple-builder .sma-save-message{margin:6px 0!important;padding:8px 10px;border:1px solid #b6d5f7;border-radius:9px;background:#eef6ff;color:#155398;font-size:12px;font-weight:650}
body.sma-fullscreen-campaign .sma-simple-builder [data-sma-step="4"] .mima-section-head{margin-bottom:8px!important}
body.sma-fullscreen-campaign .sma-simple-builder [data-sma-step="4"] .mima-date-presets{margin:4px 0!important}
body.sma-fullscreen-campaign .sma-simple-builder [data-sma-step="4"] .mima-schedule-preview{margin:5px 0!important}
/* Hero action: obvious primary upload, no file format paragraph */
.sma-simple-builder #sma-creative-upload{
 min-height:73px!important;padding:11px 16px!important;display:flex!important;flex-direction:row!important;
 gap:12px!important;justify-content:center!important;
 border:2px dashed #337fe4!important;border-radius:13px!important;
 background:#e9f3ff!important;color:#0758b7!important;box-shadow:0 4px 14px rgba(32,108,213,.07)!important;
}
.sma-simple-builder #sma-creative-upload:hover,.sma-simple-builder #sma-creative-upload:focus-within{
 background:#ddebff!important;border-color:#005bcc!important;
}
.sma-simple-builder #sma-creative-upload .mima-upload-icon{font-size:22px!important;color:#0568df!important}
.sma-simple-builder #sma-creative-upload strong{font-size:16px!important;margin:0!important;color:#0657b3!important}
.sma-simple-builder .sma-workbench-target{align-items:center!important;gap:8px!important}
.sma-simple-builder .sma-workbench-title-row{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap}
.sma-simple-builder .sma-workbench-title-row small{font-size:9px!important;white-space:nowrap}
.sma-simple-builder .sma-workbench-title-row h4{font-size:13px!important;line-height:1.2!important;margin:0!important}
.sma-simple-builder .sma-workbench-target p{display:none!important}
.sma-simple-builder .sma-workbench-source{min-width:72px!important;width:72px!important;padding:4px!important}
.sma-simple-builder .sma-workbench-source-cell{width:72px!important}
.sma-simple-builder .sma-workbench-source img,.sma-simple-builder .sma-workbench-source video{height:32px!important;max-height:32px!important;object-fit:contain}
.sma-simple-builder .sma-workbench-sources{margin:0!important;padding:3px 0!important}
.sma-simple-builder .sma-preview-picture{position:relative;height:75px!important}
.sma-simple-builder .sma-preview-enlarge{position:absolute;top:5px;right:6px;width:30px;height:30px;border:1px solid #c1d7f4;border-radius:9px;background:#fff;color:#125cb7;font-size:23px;line-height:1;cursor:zoom-in;box-shadow:0 3px 10px rgba(10,51,113,.15)}
.sma-preview-lightbox{width:min(92vw,920px);max-height:90dvh;border:1px solid #d7e6f5;border-radius:18px;padding:20px;background:#fff;color:#122746;box-shadow:0 25px 90px rgba(0,20,55,.35)}
.sma-preview-lightbox::backdrop{background:rgba(5,19,45,.77)}
.sma-preview-lightbox-close{display:block;margin:0 0 10px auto;padding:8px 14px;border:1px solid #c8dcf3;border-radius:9px;background:#f3f8ff;color:#084da4;cursor:pointer}
.sma-preview-lightbox strong{display:block;margin-bottom:12px;overflow-wrap:anywhere}
.sma-preview-lightbox img,.sma-preview-lightbox video{display:block;max-width:100%;max-height:68dvh;margin:auto;object-fit:contain}
/* Pending payments are truly unpaid campaigns; completed cards live separately. */
.sma-unpaid-campaign-list{display:grid!important;gap:8px!important}
.sma-unpaid-campaign{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;flex-wrap:wrap}
.sma-unpaid-label{min-width:210px;flex:1 1 260px}
.sma-unpaid-label b{font-size:14px;color:#132c48}
.sma-unpaid-label small{display:block;margin-top:3px;color:#536e87;font-size:11px}
.sma-unpaid-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.sma-unpaid-actions form{margin:0!important;padding:0!important}
.sma-unpaid-actions .mima-btn{display:inline-flex!important;min-height:35px!important;padding:8px 12px!important;border-radius:9px!important;font-size:11px!important;white-space:nowrap}
.sma-unpaid-locked{max-width:260px;color:#805b16;font-size:11px}
@media(max-width:900px){
 body.sma-fullscreen-campaign .sma-simple-builder .sma-v6-form.sma-wizard-active[data-sma-current-step="4"] .mima-builder-layout{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,45%) minmax(0,55%)!important;
 }
}
@media(max-width:650px){
 body.sma-fullscreen-campaign .sma-simple-builder{padding:6px!important;gap:5px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-head{min-height:45px!important;padding:5px 10px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-head h1{font-size:19px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-head>.mima-btn{font-size:11px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .sma-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px!important;padding:3px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .sma-wizard-progress span{font-size:10px!important;min-height:28px!important;padding:4px 8px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .sma-workbench-grid{grid-template-columns:1fr!important}
 body.sma-fullscreen-campaign .sma-simple-builder .sma-workbench-places{max-height:132px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .sma-workbench-stage{min-height:145px!important;max-height:240px!important}
 .sma-unpaid-actions{width:100%}
}

@media(max-width:900px){
 body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-main>.sma-wizard-actions{
   position:fixed!important;bottom:8px!important;left:8px!important;right:8px!important;z-index:151!important;
   margin:0!important;background:#fff!important;box-shadow:0 -6px 20px rgba(15,57,105,.12)!important;
 }
 body.sma-fullscreen-campaign .sma-simple-builder .mima-order-summary{padding-bottom:60px!important}
 body.sma-fullscreen-campaign .sma-simple-builder .mima-builder-main>.mima-form-section:not([hidden]){padding-bottom:65px!important}
}


/* ==========================================================
   9.22.1 Modern auth pages – cleaner, more premium register/login
   ========================================================== */
.mima-auth-shell{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.82fr)!important;
  gap:28px!important;
  align-items:stretch!important;
  min-height:0!important;
  margin:28px auto 42px!important;
}
.mima-auth-shell::before{
  content:"";
  position:absolute;
  inset:-24px -16px auto;
  height:220px;
  border-radius:32px;
  background:radial-gradient(circle at 18% 35%, rgba(68,151,255,.16), transparent 34%),
             radial-gradient(circle at 75% 0%, rgba(29,78,216,.11), transparent 28%),
             linear-gradient(180deg, rgba(243,248,255,.95), rgba(255,255,255,0));
  z-index:-1;
  pointer-events:none;
}
.mima-auth-copy{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:560px!important;
  padding:40px 38px!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,#08182e 0%, #0c2950 52%, #1156bf 100%)!important;
  color:#fff!important;
  box-shadow:0 28px 68px rgba(10,38,77,.17)!important;
  isolation:isolate;
}
.mima-auth-copy::before,
.mima-auth-copy::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  z-index:0;
}
.mima-auth-copy::before{
  width:380px;height:380px;right:-130px;top:-120px;
  background:radial-gradient(circle, rgba(94,197,255,.34), rgba(94,197,255,0) 68%);
}
.mima-auth-copy::after{
  width:300px;height:300px;left:-110px;bottom:-130px;
  background:radial-gradient(circle, rgba(59,130,246,.22), rgba(59,130,246,0) 72%);
}
.mima-auth-copy > *{position:relative;z-index:1}
.mima-auth-copy .mima-kicker{
  display:inline-flex!important;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#8bd1ff!important;
  letter-spacing:.15em!important;
}
.mima-auth-copy .mima-kicker:before{width:16px!important;background:linear-gradient(90deg,#6fd7ff,#2f7fff)!important}
.mima-auth-copy h1{
  max-width:520px;
  margin:18px 0 14px!important;
  font-size:clamp(40px,4.3vw,60px)!important;
  line-height:1.02!important;
  letter-spacing:-.065em!important;
  color:#fff!important;
}
.mima-auth-copy p{
  max-width:570px;
  margin:0!important;
  font-size:17px!important;
  line-height:1.72!important;
  color:rgba(230,240,252,.94)!important;
}
.mima-auth-copy ul{
  margin:26px 0 0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  list-style:none!important;
}
.mima-auth-copy li{
  position:relative;
  min-height:56px;
  padding:14px 16px 14px 42px!important;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.08);
  color:#fff!important;
  font-size:14px;
  font-weight:700;
  backdrop-filter:blur(8px);
}
.mima-auth-copy li::before{
  content:"✓";
  position:absolute;
  left:16px;top:14px;
  width:18px;height:18px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(109,193,255,.18);
  color:#7fdaff;
  font-size:12px;
  font-weight:900;
}
.mima-auth{
  position:relative!important;
  align-self:center!important;
  padding:34px!important;
  border:1px solid #e4ebf4!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 22px 56px rgba(15,23,42,.08)!important;
  backdrop-filter:blur(12px);
}
.mima-auth::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  padding:1px;
  background:linear-gradient(180deg, rgba(81,149,255,.26), rgba(81,149,255,0));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  pointer-events:none;
}
.mima-auth-head{margin-bottom:10px}
.mima-auth-head h2{
  margin:0!important;
  font-size:38px!important;
  line-height:1.05!important;
  letter-spacing:-.06em!important;
  color:#10233d!important;
}
.mima-auth-head p{
  margin:9px 0 0!important;
  color:#64748b!important;
  font-size:14px!important;
  line-height:1.65!important;
}
.mima-auth-form{display:grid;gap:2px}
.mima-auth label,.mima-campaign-form label{
  display:block!important;
  margin:0!important;
  color:#334155!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.01em;
}
.mima-auth input,.mima-campaign-form input,.mima-campaign-form select,.mima-campaign-form textarea{
  width:100%!important;
  min-height:50px!important;
  margin-top:8px!important;
  padding:13px 14px!important;
  border:1px solid #dbe5f0!important;
  border-radius:14px!important;
  background:#fbfdff!important;
  font-size:14px!important;
  color:#10233d!important;
  transition:border-color .16s, box-shadow .16s, background .16s, transform .16s!important;
}
.mima-auth input::placeholder,.mima-campaign-form input::placeholder,.mima-campaign-form textarea::placeholder{color:#93a3b7}
.mima-auth input:hover,.mima-campaign-form input:hover,.mima-campaign-form select:hover,.mima-campaign-form textarea:hover{
  border-color:#c4d8ef!important;
  background:#fff!important;
}
.mima-auth input:focus,.mima-campaign-form input:focus,.mima-campaign-form select:focus,.mima-campaign-form textarea:focus{
  border-color:#5ea6ff!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.10)!important;
  background:#fff!important;
}
.mima-auth .mima-form-grid{margin:0!important;grid-template-columns:1fr 1fr!important;gap:14px!important}
.mima-auth .sma-advanced{
  margin-top:10px!important;
  border:1px solid #e6edf6!important;
  border-radius:16px!important;
  background:#f8fbff!important;
  overflow:hidden;
}
.mima-auth .sma-advanced summary{
  list-style:none;
  cursor:pointer;
  padding:15px 16px!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#234067!important;
}
.mima-auth .sma-advanced summary::-webkit-details-marker{display:none}
.mima-auth .sma-advanced[open] summary{border-bottom:1px solid #e6edf6}
.mima-auth .sma-advanced summary::before{
  content:"▸";
  display:inline-block;
  margin-right:8px;
  color:#2563eb;
  transition:transform .18s ease;
}
.mima-auth .sma-advanced[open] summary::before{transform:rotate(90deg)}
.mima-auth .sma-advanced > p{
  margin:14px 16px 0!important;
  color:#64748b!important;
  font-size:13px!important;
  line-height:1.6!important;
}
.mima-auth .sma-advanced .mima-form-grid,
.mima-auth .sma-advanced > label{margin:14px 16px 16px!important}
.mima-check{
  display:grid!important;
  grid-template-columns:18px 1fr;
  gap:12px!important;
  align-items:flex-start!important;
  margin-top:14px!important;
  padding:11px 12px!important;
  border-radius:14px;
  background:#fbfdff;
  border:1px solid #edf2f7;
  font-weight:600!important;
}
.mima-check:hover{border-color:#dbe6f2;background:#fff}
.mima-check input{
  width:18px!important;
  height:18px!important;
  margin:2px 0 0!important;
  accent-color:#2563eb;
}
.mima-check span{font-size:13px!important;line-height:1.55!important;color:#40536b!important}
.mima-check a{color:#145fc8;font-weight:800;text-underline-offset:3px}
.mima-auth-submit,
.mima-auth .login-submit input{
  width:100%!important;
  min-height:54px!important;
  margin-top:16px!important;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#1671ea,#0c52c7)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:-.01em;
  box-shadow:0 16px 30px rgba(22,113,234,.22);
}
.mima-auth-submit:hover,
.mima-auth .login-submit input:hover{transform:translateY(-1px);box-shadow:0 20px 34px rgba(22,113,234,.28)}
.mima-auth-foot{
  margin:18px 0 0!important;
  text-align:center!important;
  color:#64748b!important;
  font-size:14px!important;
}
.mima-auth-foot a,.mima-auth-links a{font-weight:800;color:#145fc8;text-underline-offset:3px}
.mima-alert{
  margin:0 0 14px!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  border:1px solid #ffd4d4!important;
  background:#fff5f5!important;
  color:#af1c1c!important;
}
@media (max-width: 1100px){
  .mima-auth-shell{grid-template-columns:1fr!important;gap:20px!important}
  .mima-auth-copy{min-height:420px!important}
}
@media (max-width: 680px){
  .mima-auth-shell{margin:14px auto 26px!important}
  .mima-auth-copy{min-height:0!important;padding:24px 20px!important;border-radius:22px!important}
  .mima-auth-copy h1{font-size:clamp(30px,9vw,42px)!important;line-height:1.05!important}
  .mima-auth-copy p{font-size:14px!important;line-height:1.65!important}
  .mima-auth-copy ul{grid-template-columns:1fr!important;gap:9px!important}
  .mima-auth li{font-size:13px}
  .mima-auth{padding:22px 18px!important;border-radius:22px!important}
  .mima-auth-head h2{font-size:30px!important}
  .mima-auth .mima-form-grid{grid-template-columns:1fr!important;gap:12px!important}
  .mima-check{grid-template-columns:18px 1fr;gap:10px!important;padding:10px!important}
}


/* ==========================================================
   9.22.2 Modern dashboard, profile and stats refresh
   ========================================================== */
.sma-dashboard-modern{position:relative}
.sma-dashboard-modern .mima-dashboard-hero{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:30px 32px!important;
  border:1px solid #e4edf7!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#fbfdff 0%,#f3f8ff 50%,#eef6ff 100%)!important;
  box-shadow:0 22px 54px rgba(15,23,42,.055)!important;
}
.sma-dashboard-modern .mima-dashboard-hero::before{
  content:"";
  position:absolute;
  width:340px;height:340px;right:-110px;top:-110px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,.15), rgba(37,99,235,0) 68%);
}
.sma-dashboard-modern .mima-dashboard-hero::after{
  content:"";
  position:absolute;
  width:240px;height:240px;left:-80px;bottom:-120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(56,189,248,.12), rgba(56,189,248,0) 70%);
}
.sma-dashboard-modern .mima-dashboard-hero>*{position:relative;z-index:1}
.sma-dashboard-modern .mima-dashboard-hero h1{
  margin:10px 0 10px!important;
  font-size:clamp(34px,3.6vw,50px)!important;
  letter-spacing:-.06em!important;
  color:#0f2340!important;
}
.sma-dashboard-modern .mima-dashboard-hero p{
  max-width:760px;
  margin:0!important;
  color:#5b6b80!important;
  font-size:15px!important;
  line-height:1.72!important;
}
.sma-dashboard-modern .sma-hero-actions{gap:10px!important}
.sma-dashboard-modern .sma-hero-actions .mima-btn{
  min-height:46px;
  padding:0 16px!important;
  border-radius:14px!important;
  box-shadow:0 14px 28px rgba(22,113,234,.14)!important;
}
.sma-dashboard-modern .sma-hero-actions .mima-btn-light{box-shadow:none!important}

.sma-dashboard-modern .sma-pending-payments,
.sma-dashboard-modern .sma-account-panel,
.sma-dashboard-modern .sma-wallet-panel,
.sma-dashboard-modern .mima-analytics-panel,
.sma-dashboard-modern .mima-report-panel,
.sma-campaign-detail .mima-report-panel,
.sma-campaign-detail .mima-analytics-panel,
.sma-campaign-detail .mima-budget-side{
  border:1px solid #e6edf5!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(15,23,42,.05)!important;
}
.sma-dashboard-modern .mima-panel-title,
.sma-campaign-detail .mima-panel-title{
  padding:20px 22px!important;
  border-bottom:1px solid #edf2f7!important;
}
.sma-dashboard-modern .mima-panel-title h2,
.sma-campaign-detail .mima-panel-title h2{font-size:20px!important;letter-spacing:-.035em!important;color:#10233d!important}
.sma-dashboard-modern .mima-panel-title span,
.sma-campaign-detail .mima-panel-title span{font-size:13px!important;color:#6b7b90!important}

.sma-dashboard-modern .sma-payment-list{display:grid;gap:12px!important}
.sma-dashboard-modern .sma-payment-item{
  align-items:center!important;
  gap:14px!important;
  padding:16px 18px!important;
  border:1px solid #e5edf5!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 8px 24px rgba(15,23,42,.03)!important;
}
.sma-dashboard-modern .sma-payment-item:hover{border-color:#cdddff!important;box-shadow:0 14px 28px rgba(37,99,235,.07)!important}
.sma-dashboard-modern .sma-payment-item .mima-btn{border-radius:12px!important}
.sma-dashboard-modern .sma-payment-count{
  display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;margin-left:8px;
  border-radius:999px;background:#e9f2ff;color:#185dc6;font-size:12px;font-weight:900;
}
.sma-dashboard-modern .sma-unpaid-label b{font-size:16px;color:#10233d}
.sma-dashboard-modern .sma-unpaid-label small{font-size:12px;color:#607085}

.sma-dashboard-modern .sma-account-panel{padding:0!important;overflow:hidden}
.sma-dashboard-modern .sma-billing-summary{padding:22px 24px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}
.sma-dashboard-modern .sma-billing-summary small{font-size:11px!important;color:#2563eb!important}
.sma-dashboard-modern .sma-billing-summary strong{font-size:24px!important;color:#10233d!important}
.sma-dashboard-modern .sma-billing-summary em{font-size:13px!important;color:#6c7c90!important;line-height:1.55!important}
.sma-dashboard-modern .sma-billing-action{border-radius:12px!important;padding:10px 14px!important;background:#f7faff!important}
.sma-dashboard-modern .sma-billing-body{padding:0 24px 24px!important}
.sma-dashboard-modern .sma-billing-form .mima-btn{border-radius:14px!important}

.sma-dashboard-modern .sma-wallet-panel{
  display:grid!important;
  grid-template-columns:minmax(260px,1.25fr) minmax(180px,.75fr) minmax(180px,.75fr) minmax(280px,1fr)!important;
  gap:14px!important;
  padding:18px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#06172d 0%,#0d2c57 48%,#155dc7 100%)!important;
  position:relative;overflow:hidden;
}
.sma-dashboard-modern .sma-wallet-panel::before{
  content:"";position:absolute;right:-120px;top:-120px;width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle, rgba(97,202,255,.28), rgba(97,202,255,0) 70%);
}
.sma-dashboard-modern .sma-wallet-panel>*{position:relative;z-index:1}
.sma-dashboard-modern .sma-wallet-main,
.sma-dashboard-modern .sma-wallet-stat,
.sma-dashboard-modern .sma-topup{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:20px!important;
  backdrop-filter:blur(10px);
}
.sma-dashboard-modern .sma-wallet-main{padding:20px!important}
.sma-dashboard-modern .sma-wallet-main span,.sma-dashboard-modern .sma-wallet-stat span{color:#cfe1f7!important;font-size:11px!important}
.sma-dashboard-modern .sma-wallet-main strong{font-size:40px!important;line-height:1!important;margin:6px 0 8px!important;color:#fff!important}
.sma-dashboard-modern .sma-wallet-main p{font-size:13px!important;line-height:1.6!important;color:#e4eef9!important}
.sma-dashboard-modern .sma-wallet-stat{justify-content:center!important;padding:18px!important}
.sma-dashboard-modern .sma-wallet-stat b{font-size:26px!important;color:#fff!important}
.sma-dashboard-modern .sma-topup{padding:18px!important;grid-template-columns:1fr auto!important;align-items:end!important}
.sma-dashboard-modern .sma-topup label{color:#dce9f8!important;font-size:11px!important}
.sma-dashboard-modern .sma-topup input{min-height:48px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:14px!important;background:rgba(255,255,255,.96)!important}
.sma-dashboard-modern .sma-topup .mima-btn{min-height:48px!important;border-radius:14px!important;background:#fff!important;color:#0f4faa!important;box-shadow:none!important}
.sma-dashboard-modern .sma-topup small{font-size:11px!important;line-height:1.55!important;color:#d4dfed!important}

.sma-dashboard-modern .mima-kpi-grid,
.sma-campaign-detail .mima-kpi-grid{gap:14px!important;margin:0 0 18px!important}
.sma-dashboard-modern .mima-kpi,
.sma-campaign-detail .mima-kpi{
  padding:18px 18px 16px!important;
  border-radius:20px!important;
  border:1px solid #e6edf5!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.04)!important;
}
.sma-dashboard-modern .mima-kpi:before,
.sma-campaign-detail .mima-kpi:before{display:none!important}
.sma-dashboard-modern .mima-kpi:after,
.sma-campaign-detail .mima-kpi:after{width:120px!important;height:120px!important;right:-45px!important;top:-45px!important;opacity:.05!important}
.sma-dashboard-modern .mima-kpi small,
.sma-campaign-detail .mima-kpi small{font-size:11px!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#64748b!important;font-weight:800!important}
.sma-dashboard-modern .mima-kpi strong,
.sma-campaign-detail .mima-kpi strong{font-size:29px!important;line-height:1.02!important;letter-spacing:-.055em!important;color:#10233d!important}
.sma-dashboard-modern .mima-kpi em,
.sma-campaign-detail .mima-kpi em{margin-top:8px!important;font-size:12px!important;color:#76869b!important}

.sma-dashboard-modern .mima-analytics-panel,
.sma-campaign-detail .mima-analytics-panel{overflow:hidden!important}
.sma-dashboard-modern .mima-mini-chart,
.sma-campaign-detail .mima-mini-chart{
  padding:20px 20px 18px!important;
  border-top:1px solid #edf2f7;
  background:
    linear-gradient(180deg, rgba(248,251,255,1), rgba(255,255,255,1)),
    repeating-linear-gradient(to top, transparent, transparent 39px, rgba(227,235,244,.8) 40px)!important;
  gap:9px!important;
}
.sma-dashboard-modern .mima-mini-day,
.sma-campaign-detail .mima-mini-day{grid-template-rows:155px auto auto!important;gap:7px!important}
.sma-dashboard-modern .mima-mini-bar,
.sma-campaign-detail .mima-mini-bar{height:155px!important;border-radius:14px!important;background:#edf4fb!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important}
.sma-dashboard-modern .mima-mini-bar i,
.sma-campaign-detail .mima-mini-bar i{border-radius:14px 14px 6px 6px!important;background:linear-gradient(180deg,#45c3ff 0%,#1f8bff 45%,#1258db 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 8px 18px rgba(18,88,219,.18)!important}
.sma-dashboard-modern .mima-mini-day b,
.sma-campaign-detail .mima-mini-day b{font-size:10px!important;color:#5f7084!important}
.sma-dashboard-modern .mima-mini-day small,
.sma-campaign-detail .mima-mini-day small{font-size:10px!important;color:#8a99ac!important}

.sma-dashboard-modern .mima-dashboard-toolbar{align-items:end!important;margin:20px 0 12px!important}
.sma-dashboard-modern .mima-dashboard-toolbar h2{font-size:26px!important;letter-spacing:-.04em!important;color:#10233d!important}
.sma-dashboard-modern .mima-dashboard-toolbar p{margin:6px 0 0!important;color:#64748b!important;font-size:14px!important}
.sma-dashboard-modern .mima-filter-chips{gap:8px!important}
.sma-dashboard-modern .mima-filter-chips button{padding:9px 13px!important;border-radius:999px!important;border-color:#dbe6f2!important;background:#fff!important;color:#5d6f84!important}
.sma-dashboard-modern .mima-filter-chips button.is-active{background:#1a68de!important;border-color:#1a68de!important;color:#fff!important;box-shadow:0 10px 20px rgba(26,104,222,.18)!important}

.sma-dashboard-modern .mima-campaign-cards{gap:14px!important}
.sma-dashboard-modern .mima-campaign-card{
  overflow:hidden!important;
  padding:20px!important;
  border:1px solid #e6edf5!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.045)!important;
}
.sma-dashboard-modern .mima-campaign-card:hover{transform:translateY(-1px);border-color:#cfdffc!important;box-shadow:0 20px 38px rgba(37,99,235,.08)!important}
.sma-dashboard-modern .mima-campaign-row{grid-template-columns:170px minmax(0,1fr)!important;gap:20px!important}
.sma-dashboard-modern .mima-campaign-creative{min-height:128px!important;border:1px solid #e8eef5!important;border-radius:18px!important;background:linear-gradient(180deg,#f9fbff,#f1f6fb)!important}
.sma-dashboard-modern .mima-campaign-creative img{height:128px!important}
.sma-dashboard-modern .mima-campaign-top h3{font-size:22px!important;letter-spacing:-.03em!important}
.sma-dashboard-modern .mima-budget-label strong{font-size:22px!important;color:#10233d!important}
.sma-dashboard-modern .mima-budget-progress>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#64748b}
.sma-dashboard-modern .mima-progress{height:9px!important;border-radius:999px!important;background:#e8f1fb!important;margin:12px 0 8px!important}
.sma-dashboard-modern .mima-progress span{background:linear-gradient(90deg,#1aa2ff,#155cdb)!important;border-radius:999px!important;box-shadow:0 6px 16px rgba(21,92,219,.24)}
.sma-dashboard-modern .mima-stats{gap:10px!important;margin-top:12px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
.sma-dashboard-modern .mima-stats div{padding:12px!important;border:1px solid #edf2f7!important;border-radius:14px!important;background:#fbfdff!important}
.sma-dashboard-modern .mima-stats span{font-size:10px!important;color:#7a8a9d!important}
.sma-dashboard-modern .mima-stats strong{font-size:17px!important;color:#10233d!important}
.sma-dashboard-modern .sma-card-actions{gap:10px!important;margin-top:14px!important;padding-top:14px!important;border-top:1px solid #edf2f7!important}
.sma-dashboard-modern .sma-card-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 10px;border-radius:10px;background:#f4f8fd;color:#1e5ec1;text-decoration:none!important;font-weight:800!important}
.sma-dashboard-modern .sma-card-actions a:hover{background:#eaf2ff}
.sma-dashboard-modern .sma-card-actions .sma-pay-draft{background:#155cdb;color:#fff!important}
.sma-dashboard-modern .sma-card-actions .sma-pause{color:#9a5b00;background:#fff6e6}
.sma-dashboard-modern .sma-card-actions .sma-resume{color:#0f7b43;background:#e9f9f0}

.sma-dashboard-modern .mima-report-table,
.sma-campaign-detail .mima-report-table{min-width:620px!important}
.sma-dashboard-modern .mima-report-table th,
.sma-campaign-detail .mima-report-table th{background:#f7faff!important;color:#74859a!important;font-size:10px!important;letter-spacing:.08em!important}
.sma-dashboard-modern .mima-report-table td,
.sma-campaign-detail .mima-report-table td{padding:15px 16px!important;color:#223a56!important}
.sma-dashboard-modern .mima-report-table tbody tr:hover td,
.sma-campaign-detail .mima-report-table tbody tr:hover td{background:#fbfdff!important}

.sma-campaign-detail .mima-builder-head{
  border:1px solid #e4edf7!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#fbfdff,#f3f8ff)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.05)!important;
}
.sma-campaign-detail .mima-builder-head h1{color:#10233d!important;letter-spacing:-.055em!important}
.sma-campaign-detail .mima-builder-head p{color:#62748a!important}
.sma-campaign-detail .mima-click-note{
  padding:14px 16px!important;
  border:1px solid #e8eef5!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  color:#5e6f84!important;
}
.sma-campaign-detail .sma-goal-panel{
  padding:18px 20px!important;
  border:1px solid #e6edf5!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.04)!important;
}
.sma-campaign-detail .mima-detail-grid{gap:20px!important}
.sma-campaign-detail .mima-budget-side{
  padding:24px!important;
  position:sticky;top:90px;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
.sma-campaign-detail .mima-budget-side h3{font-size:34px!important;letter-spacing:-.055em!important;color:#10233d!important;margin:14px 0 6px!important}
.sma-campaign-detail .mima-budget-side p{color:#6c7b8f!important}
.sma-campaign-detail .mima-budget-side dl div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf2f7}
.sma-campaign-detail .mima-budget-side dt{color:#7a8a9d;font-size:12px}.sma-campaign-detail .mima-budget-side dd{margin:0;color:#10233d;font-weight:800}
.sma-campaign-detail .mima-budget-ring{background:conic-gradient(#1464dc calc(var(--pct)*1%), #eaf1f8 0)!important;box-shadow:inset 0 0 0 10px #fff, 0 12px 24px rgba(20,100,220,.14)!important}
.sma-campaign-detail .sma-danger-link{display:block;margin-top:16px;padding:12px 14px;border-radius:14px;background:#fff1f2;color:#b4232d;text-decoration:none;font-weight:800;text-align:center}

@media (max-width: 1080px){
  .sma-dashboard-modern .sma-wallet-panel{grid-template-columns:1fr 1fr!important}
  .sma-dashboard-modern .sma-wallet-main,.sma-dashboard-modern .sma-topup{grid-column:1/-1}
  .sma-dashboard-modern .mima-campaign-row{grid-template-columns:140px minmax(0,1fr)!important}
}
@media (max-width: 760px){
  .sma-dashboard-modern .mima-dashboard-hero{padding:22px 20px!important;border-radius:22px!important}
  .sma-dashboard-modern .mima-dashboard-hero h1{font-size:34px!important}
  .sma-dashboard-modern .mima-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sma-dashboard-modern .mima-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sma-dashboard-modern .mima-campaign-row{grid-template-columns:1fr!important}
  .sma-dashboard-modern .mima-campaign-creative img{height:150px!important}
  .sma-campaign-detail .mima-detail-grid{grid-template-columns:1fr!important}
  .sma-campaign-detail .mima-budget-side{position:static!important}
}
@media (max-width: 520px){
  .sma-dashboard-modern .mima-kpi-grid{grid-template-columns:1fr!important}
  .sma-dashboard-modern .mima-stats{grid-template-columns:1fr 1fr!important}
  .sma-dashboard-modern .sma-payment-item{display:block!important}
  .sma-dashboard-modern .sma-payment-item .mima-btn{margin-top:10px!important}
  .sma-dashboard-modern .sma-wallet-panel{grid-template-columns:1fr!important}
  .sma-dashboard-modern .sma-topup{grid-template-columns:1fr!important}
}


/* SocialMedia 9.22.3: centered campaign wizard with 20% desktop gutters.
   Only changes the builder width/placement, not form behavior or billing. */
@media (min-width: 1200px) {
  body.sma-fullscreen-campaign .sma-simple-builder {
    left: 20vw !important;
    right: 20vw !important;
    width: 60vw !important;
    max-width: 60vw !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-left: 1px solid #dfebf7 !important;
    border-right: 1px solid #dfebf7 !important;
    box-shadow: 0 10px 36px rgba(20,70,140,.04) !important;
  }
}
/* Smaller laptops: preserve room for 50:50 summary and the creative editor. */
@media (min-width: 761px) and (max-width: 1199px) {
  body.sma-fullscreen-campaign .sma-simple-builder {
    left: 5vw !important;
    right: 5vw !important;
    width: 90vw !important;
    max-width: 90vw !important;
  }
}
/* Phones and small tablets: keep the wizard usable without clipped controls. */
@media (max-width: 760px) {
  body.sma-fullscreen-campaign .sma-simple-builder {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* 9.23.0 – PR: first choose a portal, then its service in a dialog. */
.sma-pr-order-builder{width:min(1120px,calc(100% - 36px))!important;max-width:1120px!important;margin:22px auto 36px!important}
.sma-pr-order-builder .mima-builder-head{padding:18px 22px!important;border-radius:17px!important;align-items:center!important}
.sma-pr-order-builder .mima-builder-head h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.15!important}
.sma-pr-order-builder .mima-form-section{padding:20px 22px!important;border-radius:18px!important;margin-bottom:12px!important}
.sma-pr-order-builder .mima-form-section h3{font-size:20px!important;margin:2px 0 7px!important}
.sma-pr-portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sma-pr-portal{display:flex;align-items:center;gap:13px;min-width:0;min-height:76px;padding:12px 15px;border:1px solid #dce8f5;border-radius:15px;background:#fff;color:#132944;cursor:pointer;text-align:left;font:inherit;box-shadow:0 6px 20px rgba(11,46,94,.035);transition:border-color .16s,box-shadow .16s,transform .16s}
.sma-pr-portal:hover{border-color:#7aaff1;box-shadow:0 10px 24px rgba(24,100,204,.08);transform:translateY(-1px)}
.sma-pr-portal.is-selected{background:#f2f8ff;border-color:#2c7be8;box-shadow:inset 3px 0 #2c7be8}
.sma-pr-portal-logo{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:12px;border:1px solid #e8eef5;background:#fafcff;color:#2872dc;font-size:23px}
.sma-pr-portal-logo img{width:42px;height:42px;object-fit:contain}
.sma-pr-portal-info{display:grid;gap:2px;flex:1;min-width:0}
.sma-pr-portal-info strong{font-size:15px;font-weight:850;color:#102640;overflow-wrap:anywhere}
.sma-pr-portal-info small{font-size:12px;color:#6d7f95;overflow-wrap:anywhere}
.sma-pr-portal.is-selected .sma-pr-portal-info small{color:#1766ca;font-weight:750}
.sma-pr-portal-action{flex:none;display:inline-flex;padding:7px 11px;border-radius:10px;background:#edf5ff;color:#1758ae;font-size:12px;font-weight:800}
.sma-pr-cart-banner{display:grid;gap:5px;padding:13px 15px;margin-bottom:14px;border:1px solid #b6d4ff;border-radius:13px;background:#edf6ff;color:#173759;font-size:12px;line-height:1.6}
.sma-pr-cart-banner strong{font-size:14px;color:#0c5dc6}
.sma-pr-service-dialog{width:min(560px,calc(100% - 28px));max-width:560px;max-height:min(82dvh,720px);padding:0;border:1px solid #dae7f4;border-radius:21px;background:#fff;box-shadow:0 28px 90px rgba(4,23,55,.23);color:#16314e;overflow:auto}
.sma-pr-service-dialog::backdrop{background:rgba(8,23,44,.6);backdrop-filter:blur(3px)}
.sma-pr-service-dialog .sma-pr-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 22px 10px}
.sma-pr-service-dialog .sma-pr-dialog-header small{display:block;font-size:10px;font-weight:900;letter-spacing:.1em;color:#1569dc}
.sma-pr-service-dialog .sma-pr-dialog-header h3{margin:3px 0!important;font-size:25px!important;color:#10233d}
.sma-pr-service-dialog .sma-pr-dialog-close{display:grid;place-items:center;flex:none;width:37px;height:37px;border:1px solid #dce7f3;border-radius:10px;background:#f8fbff;color:#234768;font:24px/1 Arial;cursor:pointer}
.sma-pr-service-dialog>p{padding:0 22px;margin:0 0 15px;color:#64758a;font-size:13px}
.sma-pr-service-options{display:grid;gap:9px;padding:0 22px 18px;max-height:50vh;overflow-y:auto}
.sma-pr-service-option{display:flex!important;gap:12px!important;align-items:center!important;min-height:76px;padding:13px!important;margin:0!important;border:1px solid #dce8f4;border-radius:13px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.sma-pr-service-option:hover{border-color:#9dc8fa;background:#f9fcff}
.sma-pr-service-option:has(input:checked){border-color:#2073dd;background:#eef6ff;box-shadow:0 0 0 1px rgba(32,115,221,.15)}
.sma-pr-service-option input[type=checkbox]{appearance:auto!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;accent-color:#186edb;flex:none}
.sma-pr-service-title{display:grid;flex:1;min-width:0;gap:3px}
.sma-pr-service-title b{font-size:14px;color:#13304d;line-height:1.35}
.sma-pr-service-title small{font-size:12px;color:#6b7b8e;line-height:1.45}
.sma-pr-service-option>strong{white-space:nowrap;font-size:15px;color:#1264d3}
.sma-pr-dialog-actions{position:sticky;bottom:0;display:flex;justify-content:space-between;gap:10px;padding:13px 22px 18px;border-top:1px solid #edf2f8;background:#fff}
.sma-pr-dialog-actions .mima-btn{min-height:41px!important;padding:8px 14px!important;border-radius:11px!important}
.sma-pr-order-builder .sma-pr-total{margin:14px 0 0!important;padding:10px 13px;border-radius:11px;background:#f3f8ff;color:#17509a;font-size:13px;font-weight:800}
.sma-pr-order-builder .sma-pr-submit{display:inline-flex!important;min-height:43px!important;padding:10px 18px!important;margin-top:14px!important;font-size:13px!important;border-radius:11px!important}
.sma-pr-order-builder .sma-pr-files{gap:10px!important}
.sma-pr-order-builder .sma-pr-file{min-height:0!important;padding:12px!important}
.sma-pr-order-builder textarea[name=notes]{min-height:90px!important;height:90px!important;max-height:240px;resize:vertical}
.sma-pr-order-builder .sma-payment-choice{gap:8px!important;margin:14px 0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sma-pr-order-builder .sma-payment-choice>h4,.sma-pr-order-builder .sma-payment-choice>p{grid-column:1/-1;margin:0!important}
.sma-pr-order-builder .sma-payment-choice h4{font-size:15px!important}
.sma-pr-order-builder .sma-payment-choice p{font-size:12px!important;color:#65788e!important}
.sma-pr-order-builder .sma-payment-choice label{display:flex!important;align-items:center!important;gap:10px!important;min-height:55px!important;height:auto!important;margin:0!important;padding:11px 13px!important;border:1px solid #dce7f4!important;border-radius:12px!important;background:#fff;font-size:13px!important;font-weight:700;line-height:1.4!important;cursor:pointer}
.sma-pr-order-builder .sma-payment-choice label:has(input:checked){border-color:#2174dc!important;background:#eff6ff!important}
.sma-pr-order-builder .sma-payment-choice input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;position:static!important;display:block!important;flex:0 0 18px!important;min-height:18px!important;max-height:18px!important;min-width:18px!important;max-width:18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;transform:none!important;accent-color:#166be3}
/* Fix oversized controls anywhere in the public checkout and dashboard. */
.mima-dashboard form input[type=radio],.mima-dashboard form input[type=checkbox],
.mima-campaign-form input[type=radio],.mima-campaign-form input[type=checkbox],
.sma-billing-at-checkout input[type=radio],.sma-billing-at-checkout input[type=checkbox]{
  appearance:auto!important;-webkit-appearance:auto!important;
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;
  max-width:18px!important;max-height:18px!important;padding:0!important;margin:0!important;
  flex:0 0 18px!important;box-shadow:none!important;accent-color:#176bdf
}
.sma-pr-order-builder .sma-billing-at-checkout{padding:14px!important;margin-top:12px!important;border:1px solid #e1eaf5;border-radius:14px;background:#fbfdff}
.sma-pr-order-builder .sma-billing-at-checkout summary{padding:4px!important;font-size:13px!important;font-weight:800;cursor:pointer}
.sma-pr-order-builder .sma-billing-at-checkout label{font-size:12px!important}
.sma-pr-order-builder .sma-billing-at-checkout input{min-height:41px!important;margin-top:5px!important;padding:9px 11px!important}
.sma-pr-order-builder .mima-campaign-form .mima-form-grid{gap:12px!important}
.sma-pr-bundle-explainer{margin-top:9px!important;color:#2761a6!important;font-size:12px!important;line-height:1.55!important}
@media(max-width:760px){
.sma-pr-order-builder{width:calc(100% - 20px)!important;margin:14px auto 24px!important}
.sma-pr-portal-grid{grid-template-columns:1fr}
.sma-pr-order-builder .mima-form-section{padding:15px!important}
.sma-pr-order-builder .sma-payment-choice{grid-template-columns:1fr!important}
.sma-pr-dialog-actions{padding:12px 16px}
.sma-pr-service-options{padding:0 16px 12px}
.sma-pr-service-dialog .sma-pr-dialog-header{padding:17px 16px 10px}
.sma-pr-service-dialog>p{padding:0 16px}
}

.sma-bundle-pr-list{display:grid;gap:5px;margin-top:9px;max-width:630px}
.sma-bundle-pr-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border:1px solid #dfebf8;border-radius:10px;background:#f6faff;color:#31506d;font-size:12px}
.sma-bundle-pr-item form{margin:0!important}
.sma-bundle-remove{padding:5px 9px;border:1px solid #f3cbd1;border-radius:8px;background:#fff8f8;color:#a53344;cursor:pointer;font-size:11px;font-weight:800}
.sma-bundle-remove:hover{background:#feeef0}

.sma-pr-portal-logo{position:relative}.sma-pr-portal-logo img{position:absolute;inset:0;margin:auto;background:#fafcff}.sma-pr-portal-logo img[hidden]{display:none}
.sma-pr-service-option{display:grid!important;grid-template-columns:18px minmax(0,1fr) auto!important;grid-template-rows:1fr!important;column-gap:13px!important;align-items:center!important}
.sma-pr-service-option .sma-pr-service-title{display:grid!important;grid-column:2!important;gap:4px!important}
.sma-pr-service-option>strong{grid-column:3!important;justify-self:end!important;white-space:nowrap!important;font-size:15px!important}


/* 9.24.0 – Compact campaign heading, direct steps, political consent spacing */
body.sma-fullscreen-campaign .sma-simple-builder>.sma-campaign-compact-head{
 display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
 padding:9px 13px!important;min-height:0!important;margin:0 0 6px!important;
 border:1px solid #dfe8f4!important;border-radius:13px!important;background:#fff!important;
}
.sma-campaign-compact-head .sma-campaign-short-title{min-width:0;white-space:nowrap}
.sma-campaign-compact-head .mima-kicker{font-size:10px!important;white-space:nowrap}
body.sma-fullscreen-campaign .sma-simple-builder>.sma-campaign-compact-head .sma-wizard-progress{
 position:static!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:4px!important;min-width:0!important;margin:0!important;padding:3px!important;border-radius:10px!important;
}
body.sma-fullscreen-campaign .sma-simple-builder>.sma-campaign-compact-head .sma-wizard-progress[hidden]{display:none!important}
.sma-campaign-compact-head .sma-wizard-progress button{
 display:flex;align-items:center;justify-content:center;min-width:0;min-height:37px;
 padding:6px 7px;border:1px solid transparent;border-radius:8px;background:transparent;
 color:#415877;font-family:inherit;font-size:11px;font-weight:750;line-height:1.3;cursor:pointer;text-align:center;
}
.sma-campaign-compact-head .sma-wizard-progress button:hover{background:#e6f2ff;color:#145bbd}
.sma-campaign-compact-head .sma-wizard-progress button.is-active{color:#fff;background:#155cbe;border-color:#155cbe}
.sma-campaign-compact-head .mima-btn{min-height:36px!important;padding:7px 12px!important;font-size:12px!important;white-space:nowrap}
.sma-simple-builder [data-sma-political-panel] .mima-check,
.sma-simple-builder .sma-political-panel .mima-check{
 display:grid!important;grid-template-columns:19px minmax(0,1fr)!important;gap:13px!important;
 align-items:start!important;padding:13px 15px!important;margin:12px 0!important;
 min-height:0!important;line-height:1.55!important;
}
.sma-simple-builder .sma-political-panel .mima-check input[type=checkbox]{
 width:19px!important;height:19px!important;min-height:19px!important;min-width:19px!important;
 margin:2px 0 0!important;padding:0!important;position:static!important;flex:none!important;
}
.sma-simple-builder .sma-political-panel .mima-check span{display:block!important;min-width:0;line-height:1.6!important;font-size:12.5px!important;font-weight:650!important}
.sma-simple-builder .sma-political-panel{scroll-margin-top:18px}
.sma-add-pr-step{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0!important;padding:13px 14px;border-radius:12px;border:1px solid #c9dffe;background:#f2f8ff}
.sma-add-pr-step>div{display:grid;gap:4px;min-width:0}
.sma-add-pr-step strong{font-size:13px;color:#124b95}
.sma-add-pr-step small{font-size:11px;line-height:1.45;color:#556e8d}
.sma-add-pr-step button,.sma-add-pr-step a{flex:none;min-height:38px!important;border-radius:9px!important;font-size:11px!important;padding:8px 11px!important}
/* Separate native dialog, not nested in constrained campaign scroll area. */
.sma-creative-modal{
 width:min(1350px,calc(100vw - 32px))!important;max-width:1350px!important;height:min(90dvh,900px)!important;
 max-height:90dvh!important;padding:0!important;border:1px solid #d8e8f9!important;
 border-radius:20px!important;background:#f6faff!important;
 box-shadow:0 35px 100px rgba(8,29,58,.28)!important;overflow:auto!important;
 color:#173251!important;
}
.sma-creative-modal::backdrop{background:rgba(8,26,49,.7)!important;backdrop-filter:blur(4px)}
.sma-creative-modal .sma-creative-workbench{display:block!important;margin:0!important;min-height:0!important;width:100%!important;border:0!important;box-shadow:none!important;background:transparent!important}
.sma-creative-modal .sma-workbench-heading{position:sticky;top:0;z-index:5;padding:14px 16px!important;border-bottom:1px solid #d6e5f6;background:#fff!important}
.sma-editor-header-actions{display:flex;align-items:center;gap:8px}
.sma-editor-header-actions>span{font-size:11px;white-space:nowrap}
.sma-editor-header-actions .mima-btn{min-height:34px!important;padding:6px 10px!important;font-size:11px!important;white-space:nowrap}
.sma-editor-close{display:grid;place-items:center;flex:none;width:35px;height:35px;border:1px solid #dbe7f5;border-radius:9px;background:#edf4ff;color:#144fa5;font-size:24px;line-height:1;cursor:pointer}
.sma-editor-close:hover{background:#dbeaff}
.sma-creative-modal .sma-workbench-grid{height:auto!important;min-height:0!important;max-height:none!important}
.sma-creative-modal .sma-workbench-places{max-height:calc(90dvh - 180px)!important;overflow-y:auto!important}
.sma-creative-modal .sma-workbench-editor{min-width:0;padding:12px!important}
.sma-creative-modal .sma-workbench-sources{margin:8px 0!important}
.sma-creative-modal .sma-workbench-stage{max-height:min(42dvh,400px)!important;min-height:160px!important;overflow:hidden!important}
.sma-creative-modal .sma-workbench-stage canvas,.sma-creative-modal .sma-workbench-stage img,.sma-creative-modal .sma-workbench-stage video{max-height:min(40dvh,370px)!important}
.sma-open-editor-shortcut{display:block;margin:10px 0;padding:10px 14px;border:1px solid #9bc3f4;border-radius:10px;background:#fff;color:#115ab9;font-size:12px;font-weight:800;cursor:pointer}
.sma-open-editor-shortcut:hover{background:#eff6ff}
.sma-prepared-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.sma-prepared-toolbar strong{font-size:16px;color:#112d4b}
.sma-prepared-toolbar .mima-btn{min-height:36px!important;padding:7px 11px!important;font-size:12px!important}
body.sma-creative-modal-open{overflow:hidden!important}
/* Smaller account header; billing stays collapsed until needed. */
.sma-dashboard-modern .mima-dashboard-hero.sma-account-miniheader{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 min-height:0!important;padding:14px 19px!important;gap:12px!important;
 border-radius:16px!important;margin:8px 0 12px!important;box-shadow:0 6px 24px rgba(15,60,120,.035)!important;
}
.sma-account-miniheader .mima-kicker{font-size:9px!important;letter-spacing:.1em!important}
.sma-dashboard-modern .sma-account-miniheader h1{font-size:19px!important;letter-spacing:-.025em!important;margin:2px 0!important;line-height:1.3!important}
.sma-account-miniheader h1 span{color:#1e65ba;font-size:17px;font-weight:680}
.sma-dashboard-modern .sma-account-miniheader .sma-hero-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap}
.sma-dashboard-modern .sma-account-miniheader .sma-hero-actions .mima-btn{min-height:37px!important;padding:7px 12px!important;font-size:12px!important;border-radius:10px!important;box-shadow:none!important}
.sma-dashboard-modern .mima-report-panel{margin:10px 0!important}
.sma-dashboard-modern .mima-panel-title{padding:14px 18px!important}
.sma-dashboard-modern .sma-payment-list{gap:8px!important}
.sma-dashboard-modern .sma-payment-item{padding:10px 13px!important;min-height:0!important;border-radius:13px!important}
.sma-dashboard-modern .sma-unpaid-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
.sma-dashboard-modern .sma-unpaid-actions form{margin:0!important}
.sma-dashboard-modern .sma-unpaid-actions .mima-btn{min-height:33px!important;padding:6px 10px!important;font-size:11px!important;border-radius:9px!important;white-space:nowrap}
.sma-dashboard-modern .mima-alert{background:#f1f8ff!important;color:#24558e!important;border:1px solid #d3e7ff!important;border-radius:12px!important;padding:11px 14px!important;font-size:13px!important}
/* PR copy, link surcharge, compact payments */
.sma-pr-links-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;margin:12px 0;padding:13px 15px;border:1px solid #a7cbfc;border-radius:14px;background:#f0f7ff}
.sma-pr-links-panel>div strong{display:block;font-size:15px;color:#114d9c}
.sma-pr-links-panel>div p{margin:4px 0 0!important;font-size:12px;color:#506b8b;line-height:1.5}
.sma-pr-links-panel>span{grid-column:1/-1;color:#1560ba;font-size:12px;font-weight:750}
.sma-pr-links-panel .mima-btn{min-height:39px!important;padding:8px 14px!important;border-radius:10px!important;font-size:12px!important}
@media(max-width:900px){
 body.sma-fullscreen-campaign .sma-simple-builder>.sma-campaign-compact-head{grid-template-columns:1fr auto!important;gap:7px!important}
 .sma-campaign-compact-head .sma-wizard-progress{grid-row:2;grid-column:1/-1}
 .sma-creative-modal .sma-workbench-grid{display:block!important}
 .sma-creative-modal .sma-workbench-places{max-height:155px!important;overflow:auto!important}
 .sma-dashboard-modern .mima-dashboard-hero.sma-account-miniheader{flex-wrap:wrap!important}
}
@media(max-width:610px){
 body.sma-fullscreen-campaign .sma-simple-builder>.sma-campaign-compact-head{padding:7px!important}
 .sma-campaign-compact-head .sma-wizard-progress button{font-size:10px;padding:5px 3px;min-height:34px}
 .sma-creative-modal{width:calc(100vw - 12px)!important;height:96dvh!important;max-height:96dvh!important;border-radius:12px!important}
 .sma-creative-modal .sma-workbench-places{max-height:115px!important}
 .sma-editor-header-actions{flex-wrap:wrap}
 .sma-add-pr-step{display:grid}
 .sma-add-pr-step button,.sma-add-pr-step a{width:100%;white-space:normal!important}
 .sma-pr-links-panel{grid-template-columns:1fr}
 .sma-dashboard-modern .sma-account-miniheader h1{font-size:17px!important}
}

/* SocialMedia 9.25: Show unavailable credit clearly, including insufficient balance. */
.sma-unpaid-actions .mima-btn:disabled,.sma-draft-pay .mima-btn:disabled{opacity:.72!important;cursor:not-allowed!important;background:#edf2f8!important;color:#65778f!important;border-color:#d7e2ef!important;box-shadow:none!important;transform:none!important}
.sma-unpaid-actions form{margin:0!important}
.sma-unpaid-actions .mima-btn{white-space:normal;line-height:1.25}


/* 9.26.0: Compact, collapsed banner sizes; square corners throughout public portal */
.sma-dimension-guide{padding:0!important;margin:8px 0!important;background:#f8fbff!important;border:1px solid #d6e3f2!important;overflow:hidden}
.sma-needed-banner-details{width:100%}
.sma-needed-banner-details>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:38px;padding:8px 12px;font-size:12px;font-weight:800;color:#173c69;cursor:pointer;list-style:none}
.sma-needed-banner-details>summary::-webkit-details-marker{display:none}
.sma-needed-banner-details>summary:after{content:'⌄';font-size:18px;line-height:1}
.sma-needed-banner-details[open]>summary:after{transform:rotate(180deg)}
.sma-needed-banner-scroll{max-height:168px;overflow:auto;overscroll-behavior:contain;padding:4px 12px 10px;border-top:1px solid #e1eaf6;font-size:12px;color:#526784}
.sma-needed-banner-scroll ul{list-style:none;margin:0!important;padding:0!important;display:grid;gap:0}
.sma-needed-banner-scroll li{padding:7px 0;margin:0!important;border-bottom:1px solid #e7eef6;line-height:1.4}
.sma-needed-banner-scroll li:last-child{border-bottom:0}
.sma-needed-banner-scroll li span{font-size:11px;color:#66809c}
.sma-pr-links-panel{border-left:3px solid #1762cd!important}
.sma-pr-links-panel [data-sma-pr-link-count]{font-weight:800!important;color:#125fbe!important}
/* Preserve circular native selection controls and intentional progress rings. */
body:not(.wp-admin) :is(.site-main,.site-header,.site-footer) *:not(input[type="radio"]):not(input[type="checkbox"]):not(.mima-budget-ring):not(.mima-budget-ring *):not(.mima-progress):not(.mima-progress *):not(.mima-kpi-icon):not(.stat-icon):not(.stat-icon *):not(.mima-empty-icon):not(.mima-icon-bubble){border-radius:3px!important}
body:not(.wp-admin) :is(.site-main,.site-header,.site-footer) input[type="checkbox"],body:not(.wp-admin) :is(.site-main,.site-header,.site-footer) input[type="radio"]{border-radius:0!important}


/* 9.27.0 Compact advertiser media selector and non-overlapping checkbox labels */
.sma-simple-builder .sma-site-browser-list{gap:5px!important}
.sma-simple-builder .sma-site-entry-head{min-height:42px!important;padding:5px 8px!important;gap:8px!important}
.sma-simple-builder .sma-site-choice{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.sma-simple-builder .sma-site-choice img{width:27px!important;max-width:27px!important;height:27px!important;padding:2px!important}
.sma-simple-builder .sma-site-info{display:flex!important;flex:0 1 auto!important;align-items:center!important;min-width:0!important}
.sma-simple-builder .sma-site-info strong{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3!important}
.sma-simple-builder .sma-site-info small{display:none!important}
.sma-simple-builder .sma-site-price{margin:0!important;padding-left:0!important;flex:0 0 auto;font-size:11px!important;white-space:nowrap!important;color:#58708a}
.sma-simple-builder .sma-site-expand{margin-left:auto!important;padding:5px 7px!important;min-height:30px!important;font-size:11px!important}
.sma-v6-form .mima-check,
.sma-v6-form .sma-site-choice,
.sma-v6-form .sma-all-sites,
.sma-v6-form .sma-format-grid label,
.sma-v6-form .sma-choice,
.sma-v6-form .sma-test-toggle,
.sma-v6-form .sma-political-panel label.mima-check{
  column-gap:13px!important;row-gap:7px!important;
}
.sma-v6-form label.mima-check:has(>input[type="checkbox"]),
.sma-v6-form .sma-format-grid label:has(>input[type="checkbox"]){
  display:flex!important;align-items:center!important;
}
.sma-v6-form label.mima-check input[type="checkbox"],
.sma-v6-form .sma-format-grid input[type="checkbox"],
.sma-v6-form .sma-all-sites input[type="checkbox"]{
  position:static!important;flex:none!important;margin:0!important;min-width:18px!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;
}
.sma-v6-form label.mima-check span{display:block;min-width:0!important;line-height:1.55!important;}
.sma-welcome-credit-note{padding:10px 12px;margin:12px 0 0!important;background:#f0f7ff;border:1px solid #dbeafe;color:#1858ae;font-size:12px;line-height:1.5}
@media(max-width:680px){.sma-simple-builder .sma-site-price{font-size:10px!important;white-space:normal!important}.sma-simple-builder .sma-site-entry-head{flex-wrap:nowrap!important}.sma-simple-builder .sma-site-expand{font-size:10px!important;min-width:0}}


/* 9.29.0 – streamlined creative editor and original full-width format buttons. */
.sma-v6-form[data-sma-current-step="3"] .sma-auto-targets .sma-format-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:6px 0 10px!important;
}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid label{
  position:relative!important;
  display:block!important;
  margin:0!important;
  min-width:0!important;
  cursor:pointer;
}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid label input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  max-width:1px!important;
  max-height:1px!important;
  left:0!important;
  top:0!important;
  padding:0!important;
  margin:0!important;
  opacity:0!important;
  clip-path:inset(50%)!important;
  pointer-events:none!important;
}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid label span{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  width:100%!important;
  min-height:40px!important;
  padding:9px 11px!important;
  background:#fff!important;
  border:1px solid #dbe6f4!important;
  border-radius:3px!important;
  color:#263d59!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.3!important;
  box-shadow:none!important;
}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid label input[type="checkbox"]:checked+span{
  background:#eef3ff!important;
  color:#3540a3!important;
  border-color:#7774ff!important;
  box-shadow:inset 0 0 0 1px #7774ff!important;
}
.sma-v6-form[data-sma-current-step="3"] .sma-format-grid label input[type="checkbox"]:focus-visible+span{
  outline:2px solid #2675de!important;
  outline-offset:2px!important;
}
.sma-creative-modal .sma-workbench-sidebar-title{
  font-size:12px!important;
  text-transform:none!important;
  letter-spacing:0!important;
  padding:14px!important;
}
.sma-creative-modal .sma-workbench-target{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:10px 14px!important;
  padding:5px 0 8px!important;
  border-bottom:1px solid #e6edf6;
}
.sma-creative-modal .sma-workbench-target>div:first-child{min-width:0!important;flex:1 1 260px}
.sma-creative-modal .sma-workbench-target-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex:0 0 auto;
}
.sma-creative-modal .sma-add-source-inline{
  display:inline-flex!important;
  align-items:center!important;
  min-height:35px!important;
  padding:7px 11px!important;
  border:1px solid #bbd2f0!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.sma-creative-modal .sma-workbench-badge{min-height:35px;align-items:center!important;border-radius:3px!important}
.sma-creative-modal .sma-editor-close{
  display:grid!important;
  place-items:center!important;
  width:35px!important;
  height:35px!important;
  min-height:35px!important;
  padding:0!important;
  border:1px solid #d6e4f5!important;
  border-radius:3px!important;
  background:#edf4ff!important;
  color:#1255a8!important;
  font-size:23px!important;
  line-height:1!important;
  cursor:pointer!important;
}
/* Editing preview is 10% narrower and shorter than before, without changing
   the canvas export dimensions or the output file. */
.sma-creative-modal .sma-workbench-stage{
  width:90%!important;
  margin-inline:auto!important;
  max-height:min(38dvh,360px)!important;
  min-height:144px!important;
}
.sma-creative-modal .sma-workbench-stage canvas,
.sma-creative-modal .sma-workbench-stage img,
.sma-creative-modal .sma-workbench-stage video{
  max-height:min(36dvh,333px)!important;
  max-width:100%!important;
}
@media(max-width:820px){
 .sma-v6-form[data-sma-current-step="3"] .sma-auto-targets .sma-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .sma-creative-modal .sma-workbench-target-actions{flex-wrap:wrap!important}
}
@media(max-width:550px){
 .sma-v6-form[data-sma-current-step="3"] .sma-auto-targets .sma-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .sma-creative-modal .sma-workbench-target-actions{justify-content:flex-start!important;flex:1 1 100%}
 .sma-creative-modal .sma-workbench-stage{width:90%!important}
}


/* 9.30.0 – easier creative editing, horizontal source reel, multiple variants */
.sma-creative-modal .sma-workbench-stage{
  width:94%!important;
  min-height:180px!important;
  max-height:min(38dvh,355px)!important;
  padding:16px!important;
}
.sma-creative-modal .sma-workbench-stage canvas,
.sma-creative-modal .sma-workbench-stage video,
.sma-creative-modal .sma-workbench-stage img{
  max-width:86%!important;
  max-height:min(29dvh,290px)!important;
  height:auto!important;
  object-fit:contain!important;
}
.sma-creative-modal .sma-workbench-sources{position:relative;margin:6px 0!important}
.sma-creative-modal .sma-workbench-source-list{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:scroll!important;
  overflow-y:hidden!important;
  max-width:100%!important;
  padding:6px 2px 12px!important;
  scroll-snap-type:x proximity;
  scrollbar-width:auto!important;
  scrollbar-color:#5995dc #e5eff9!important;
  overscroll-behavior-x:contain!important;
}
.sma-creative-modal .sma-workbench-source-list::-webkit-scrollbar{height:10px!important;display:block!important}
.sma-creative-modal .sma-workbench-source-list::-webkit-scrollbar-track{background:#e5eff9;border-radius:3px}
.sma-creative-modal .sma-workbench-source-list::-webkit-scrollbar-thumb{background:#5995dc;border-radius:3px;border:2px solid #e5eff9}
.sma-creative-modal .sma-workbench-source-cell{width:88px!important;min-width:88px!important;flex:0 0 88px!important;scroll-snap-align:start}
.sma-creative-modal .sma-workbench-source{width:88px!important;min-width:88px!important;padding:4px!important;gap:2px!important}
.sma-creative-modal .sma-workbench-source.is-active{padding:2px!important}
.sma-creative-modal .sma-workbench-source img,
.sma-creative-modal .sma-workbench-source video{height:38px!important;max-height:38px!important;border-radius:2px!important}
.sma-creative-modal .sma-workbench-source span{font-size:9px!important;line-height:1.25!important}
.sma-creative-modal .sma-workbench-remove{width:17px!important;height:17px!important;font-size:12px!important;line-height:15px!important}
.sma-source-scroll-controls{position:absolute;right:0;top:-3px;display:flex;gap:4px}
.sma-source-scroll-controls button{width:26px;height:24px;padding:0;border:1px solid #c5d8ef;border-radius:3px;background:#fff;color:#1656ab;font-weight:850;cursor:pointer}
.sma-creative-performance{overflow:hidden!important}
.sma-creative-performance-ident{display:flex;align-items:center;gap:10px;min-width:165px}
.sma-creative-performance-ident img{display:block;width:74px;height:55px;object-fit:contain;background:#f3f7fc;border:1px solid #dfeaf6;border-radius:3px}
.sma-creative-performance-ident strong{font-size:12px;color:#153451}.sma-creative-performance-ident small{font-size:10px}
.sma-creative-performance-video{display:grid;place-items:center;width:74px;height:55px;background:#e5effa;font-size:10px;font-weight:750;color:#1b589e}
.sma-creative-performance-share{width:100px;height:7px;background:#e4edf8;border-radius:2px;overflow:hidden;margin-bottom:4px}
.sma-creative-performance-share span{display:block;height:100%;background:#1871d5;border-radius:2px}
.sma-creative-performance-note{margin:0!important;padding:12px 18px!important;font-size:12px!important;color:#62758a!important;border-top:1px solid #ecf2f8}
@media(max-width:700px){.sma-creative-modal .sma-workbench-stage canvas,.sma-creative-modal .sma-workbench-stage video,.sma-creative-modal .sma-workbench-stage img{max-width:88%!important;max-height:26dvh!important}}

/* Prevent an arbitrary number of source files from widening the dialog */
.sma-creative-modal .sma-workbench-grid{min-width:0!important;max-width:100%!important;grid-template-columns:minmax(210px,28%) minmax(0,1fr)!important}
.sma-creative-modal .sma-workbench-editor{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.sma-creative-modal .sma-workbench-sources{min-width:0!important;max-width:100%!important;width:100%!important;overflow:hidden!important}
.sma-creative-modal .sma-workbench-source-list{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:760px){.sma-creative-modal .sma-workbench-grid{grid-template-columns:1fr!important}}


/* 9.32.0 — taller workbench, source reel at heading, concise footer */
.sma-creative-modal .sma-workbench-editor{
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  min-height:min(85dvh,770px)!important;
  padding:12px 16px 20px!important;
}
.sma-creative-modal .sma-workbench-sources{
  flex:0 0 auto!important;
  margin:2px 0 4px!important;
  overflow:visible!important;
}
.sma-creative-modal .sma-source-reel-header{
  display:grid;grid-template-columns:auto minmax(70px,1fr) auto;
  align-items:center;gap:16px;margin:1px 0 7px;
}
.sma-creative-modal .sma-source-reel-header>span{
  margin:0!important;white-space:nowrap;font-size:12px;font-weight:800;color:#243c58;
}
.sma-creative-modal .sma-source-reel-slider{
  width:100%;min-width:0;height:22px;accent-color:#2077e3;cursor:pointer;margin:0;
}
.sma-creative-modal .sma-source-reel-slider:disabled{opacity:.35;cursor:default}
.sma-creative-modal .sma-source-scroll-controls{
  position:static!important;display:flex;align-items:center;gap:5px;
}
.sma-creative-modal .sma-workbench-source-list{
  padding:4px 2px 5px!important;
  scrollbar-width:none!important;
}
.sma-creative-modal .sma-workbench-source-list::-webkit-scrollbar{display:none!important}
/* The stage grows into the spare vertical space. Canvas output dimensions do not change. */
.sma-creative-modal .sma-workbench-stage{
  flex:1 1 375px!important;
  width:96%!important;
  min-height:275px!important;
  max-height:min(52dvh,475px)!important;
  margin:0 auto!important;
  padding:18px!important;
}
.sma-creative-modal .sma-workbench-stage canvas,
.sma-creative-modal .sma-workbench-stage img,
.sma-creative-modal .sma-workbench-stage video{
  max-width:94%!important;
  max-height:min(46dvh,428px)!important;
}
.sma-creative-modal .sma-workbench-zoom{
  flex:0 0 auto!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  padding:2px 0!important;
}
.sma-creative-modal .sma-workbench-hint:empty{display:none!important}
.sma-creative-modal .sma-workbench-hint:not(:empty){
  margin:0!important;padding:5px 8px!important;font-size:11px!important;
  color:#507089;background:#f1f6fd;
}
.sma-creative-modal .sma-workbench-hint.is-warning{color:#9e481b!important;background:#fff2e9}
.sma-creative-modal .sma-workbench-actions{
  flex:0 0 auto!important;
  margin-top:0!important;
  padding:8px 0 2px!important;
  gap:10px!important;
}
/* The submit on the fourth wizard step stays on the far right. */
.sma-v6-form[data-sma-current-step="4"] .sma-wizard-actions [data-sma-final-submit]{margin-left:auto!important}
@media(max-width:800px){
  .sma-creative-modal .sma-workbench-editor{min-height:0!important;padding:10px 12px 18px!important}
  .sma-creative-modal .sma-workbench-stage{min-height:220px!important;max-height:42dvh!important}
  .sma-creative-modal .sma-workbench-stage canvas,
  .sma-creative-modal .sma-workbench-stage img,
  .sma-creative-modal .sma-workbench-stage video{max-height:38dvh!important}
}
@media(max-width:520px){
  .sma-creative-modal .sma-source-reel-header{gap:7px!important}
  .sma-creative-modal .sma-source-reel-header>span{font-size:10px!important}
  .sma-creative-modal .sma-workbench-stage{width:100%!important;min-height:190px!important;max-height:34dvh!important}
}

/* 9.33.0 – compact, readable pending payments with secondary actions */
.sma-dashboard-modern #platby{padding:18px!important;border:1px solid #dce9f6!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 32px rgba(14,56,111,.05)!important}
.sma-dashboard-modern #platby>.mima-panel-title{padding:5px 6px 15px!important;margin:0 0 14px!important}
.sma-dashboard-modern #platby .mima-panel-title h2{font-size:21px!important}
.sma-dashboard-modern #platby .sma-payment-list{gap:9px!important}
.sma-dashboard-modern #platby .sma-payment-item{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px 20px!important;padding:14px 16px!important;background:#fff!important;border:1px solid #e1eaf5!important;border-left:3px solid #3684e6!important;border-radius:9px!important;box-shadow:none!important}
.sma-dashboard-modern #platby .sma-payment-item:hover{border-color:#b6d2f4!important;border-left-color:#1a66d8!important;background:#fbfdff!important;box-shadow:0 6px 22px rgba(18,71,135,.06)!important}
.sma-dashboard-modern #platby .sma-payment-item>b:first-child,.sma-dashboard-modern #platby .sma-unpaid-label b{font-size:15px!important;letter-spacing:-.01em;color:#102640!important;line-height:1.3!important}
.sma-dashboard-modern #platby .sma-payment-item small{font-size:12px!important;line-height:1.45!important;color:#667b94!important}
.sma-dashboard-modern #platby .sma-unpaid-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.sma-dashboard-modern #platby .sma-unpaid-actions .mima-btn{min-height:38px!important;font-size:12px!important;font-weight:750!important;border:1px solid #ccdff6!important;border-radius:7px!important;padding:8px 12px!important;white-space:nowrap!important;box-shadow:none!important}
.sma-dashboard-modern #platby .sma-unpaid-actions .mima-btn:not(.mima-btn-light){background:#1665d5!important;border-color:#1665d5!important;color:white!important}
.sma-dashboard-modern #platby .sma-unpaid-actions .mima-btn:disabled{background:#f4f6fa!important;color:#8798ac!important;border-color:#e0e8f1!important;cursor:not-allowed}
.sma-dashboard-modern #platby .sma-payment-more{position:relative;flex:none;max-width:100%;margin-left:2px}
.sma-dashboard-modern #platby .sma-payment-more>summary{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;list-style:none;min-height:38px;padding:7px 12px;border:1px solid #ccdff6;border-radius:7px;color:#1b5cad;background:#f6faff;font-weight:750;font-size:12px;white-space:nowrap}
.sma-dashboard-modern #platby .sma-payment-more>summary::-webkit-details-marker{display:none}
.sma-dashboard-modern #platby .sma-payment-more>summary:after{content:'⌄';font-weight:900}
.sma-dashboard-modern #platby .sma-payment-more[open]>summary:after{transform:rotate(180deg)}
.sma-dashboard-modern #platby .sma-payment-more-body{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:grid;gap:7px;min-width:235px;max-width:min(90vw,320px);padding:10px;border:1px solid #d6e4f3;border-radius:9px;background:#fff;box-shadow:0 18px 45px rgba(13,48,86,.16)}
.sma-dashboard-modern #platby .sma-payment-more-body>*{max-width:100%}
.sma-dashboard-modern #platby .sma-payment-more-body .mima-btn{width:100%;white-space:normal!important;justify-content:center}
.sma-dashboard-modern #platby .sma-payment-more-body form{width:100%}
.sma-dashboard-modern #platby .sma-payment-more-body .sma-unpaid-locked{font-size:12px;color:#8b5711}
.sma-dashboard-modern #platby .sma-payment-more:focus-within>summary{outline:2px solid #84b5ec;outline-offset:2px}
@media(max-width:1050px){.sma-dashboard-modern #platby .sma-payment-item{grid-template-columns:1fr!important}.sma-dashboard-modern #platby .sma-unpaid-actions{justify-content:flex-start!important}}
@media(max-width:600px){.sma-dashboard-modern #platby{padding:12px!important}.sma-dashboard-modern #platby .sma-payment-item{padding:13px!important}.sma-dashboard-modern #platby .sma-payment-more-body{left:0;right:auto}}

/* 9.33.0 – PR photo editor (1280×720 WebP, <=200 KiB) */
.sma-pr-photo-fields{gap:12px!important;margin:16px 0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sma-pr-photo-slot{border:1px solid #d8e5f4;border-radius:9px;padding:14px;background:#f9fcff;min-width:0;display:grid;align-content:start;gap:10px}
.sma-pr-photo-slot-head{display:flex;gap:4px;flex-direction:column}
.sma-pr-photo-slot-head strong{font-size:14px;color:#123252}
.sma-pr-photo-slot-head span{font-size:11px;color:#637d97}
.sma-pr-photo-upload{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sma-pr-pick-photo{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:9px 12px!important;margin:0!important;border:1px solid #1667d8;border-radius:6px;background:#edf6ff;color:#175bb7!important;font-weight:800!important;font-size:12px!important;cursor:pointer;overflow:hidden}
.sma-pr-pick-photo:hover{background:#e4f1ff}
.sma-pr-pick-photo input{position:absolute!important;inset:0!important;opacity:0!important;cursor:pointer!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important}
.sma-pr-photo-upload .mima-btn{min-height:36px!important;padding:7px 10px!important;font-size:12px!important;border-radius:6px!important}
.sma-pr-photo-result{display:flex;align-items:center;gap:9px;font-size:12px;color:#667d93;min-height:46px;line-height:1.4}
.sma-pr-photo-result img{width:100px;height:auto;aspect-ratio:16/9;object-fit:cover;border:1px solid #d8e4f2;border-radius:5px}
.sma-pr-photo-output{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.sma-pr-photo-dialog{width:min(1000px,calc(100vw - 28px));max-height:min(92vh,900px);padding:0;border:1px solid #d5e5f6;border-radius:12px;background:#f8fbff;color:#163250;box-shadow:0 30px 85px rgba(9,29,58,.28);overflow:auto}
.sma-pr-photo-dialog::backdrop{background:rgba(13,30,54,.7)}
.sma-pr-photo-dialog-head{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #e1eaf5;display:flex;justify-content:space-between;gap:15px;align-items:start;padding:16px 20px}
.sma-pr-photo-dialog-head small{display:block;color:#1a6add;font-size:10px;letter-spacing:.1em;font-weight:900}
.sma-pr-photo-dialog-head h3{margin:4px 0;font-size:21px;line-height:1.15;color:#113153}
.sma-pr-photo-dialog-head p{margin:5px 0 0;color:#6e8298;font-size:12px}
.sma-pr-photo-dialog-head>button{background:#edf4fd;border:1px solid #d2e2f4;border-radius:6px;font-size:24px;line-height:1;width:38px;height:38px;cursor:pointer;color:#174874;flex:none}
.sma-pr-photo-stage{padding:20px;display:grid;place-items:center;background:repeating-conic-gradient(#edf4fc 0% 25%,white 0% 50%) 50%/22px 22px}
.sma-pr-photo-stage canvas{width:100%;max-width:900px;height:auto;aspect-ratio:16/9;display:block;background:white;cursor:grab;touch-action:none;box-shadow:0 8px 28px rgba(13,45,80,.16)}
.sma-pr-photo-stage canvas:active{cursor:grabbing}
.sma-pr-photo-controls{display:flex;align-items:center;gap:13px;padding:14px 20px;border-top:1px solid #e4ecf5;background:#fff}
.sma-pr-photo-controls label{display:flex!important;align-items:center;gap:15px;flex:1;margin:0!important;min-width:0;color:#254763;font-size:12px!important}
.sma-pr-photo-controls input[type=range]{width:100%!important;min-height:0!important;height:20px!important;margin:0!important;padding:0!important;accent-color:#196fe7}
.sma-pr-photo-controls output{font-size:12px;color:#687f97;white-space:nowrap}
.sma-pr-photo-dialog-foot{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 20px 18px;background:white}
.sma-pr-photo-dialog-foot p{font-size:12px;line-height:1.4;margin:0;color:#647b91;max-width:55%}
.sma-pr-photo-dialog-foot p[data-error='1']{color:#b4232d}
.sma-pr-photo-dialog-foot>div{display:flex;gap:8px;align-items:center}
.sma-pr-photo-dialog-foot .mima-btn{min-height:39px!important;font-size:12px!important;border-radius:6px!important;white-space:nowrap}
@media(max-width:760px){.sma-pr-photo-fields{grid-template-columns:1fr!important}.sma-pr-photo-dialog-head{padding:12px}.sma-pr-photo-dialog-head h3{font-size:18px}.sma-pr-photo-stage{padding:9px}.sma-pr-photo-controls,.sma-pr-photo-dialog-foot{padding:12px;flex-wrap:wrap}.sma-pr-photo-dialog-foot p{max-width:100%;width:100%}}

/* === 9.34: lean account, thirty-day reports, portal breakdown === */
.sma-dashboard-modern .sma-wallet-panel{margin:0 0 15px!important}
.sma-dashboard-modern .sma-pending-payments{margin-top:8px!important}
.sma-dashboard-modern .sma-billing-modal{
  position:fixed!important;inset:0!important;z-index:110000!important;
  width:min(800px,calc(100vw - 28px))!important;max-height:calc(100dvh - 28px)!important;
  margin:auto!important;padding:24px!important;overflow-y:auto!important;
  border:1px solid #cbd9eb!important;border-radius:12px!important;
  background:#fff!important;box-shadow:0 30px 80px rgba(8,25,51,.24)!important;
}
.sma-dashboard-modern .sma-billing-modal:not([open]){display:none!important}
.sma-dashboard-modern .sma-billing-modal::backdrop{background:rgba(8,22,44,.57)}
.sma-dashboard-modern .sma-billing-modal .sma-billing-summary{padding:6px 46px 16px 0!important}
.sma-dashboard-modern .sma-billing-modal .sma-billing-action{display:none!important}
.sma-billing-modal-close{position:absolute;z-index:2;right:14px;top:12px;width:38px;height:38px;border:1px solid #dbe5f0;border-radius:5px;background:#f6f9fe;color:#15395f;cursor:pointer;font-size:25px;line-height:1}
.sma-dashboard-modern .sma-billing-modal .sma-billing-body{margin-top:0!important;padding:10px 0 0!important}
.sma-dashboard-modern .sma-chart-period{display:flex;align-items:center;gap:6px;margin-left:auto}
.sma-chart-period button{padding:7px 12px;border:1px solid #cfdded;border-radius:5px;background:white;color:#245484;font-size:12px;font-weight:800;cursor:pointer}
.sma-chart-period button.is-active{background:#1664d5;border-color:#1664d5;color:white}
.sma-period-chart .mima-mini-day[hidden]{display:none!important}
.sma-period-chart[data-period="30"]{grid-template-columns:repeat(30,minmax(22px,1fr))!important;gap:4px!important}
.sma-period-chart[data-period="14"]{grid-template-columns:repeat(14,minmax(30px,1fr))!important}
.sma-filter-count{display:inline-grid;min-width:18px;min-height:18px;padding:2px 5px;place-items:center;border-radius:20px;background:rgba(20,92,184,.09);font-size:11px;line-height:1;vertical-align:middle;margin-left:4px}
.mima-filter-chips button.is-active .sma-filter-count{background:rgba(255,255,255,.19);color:white}
.sma-site-performance-list{padding:10px 16px 16px}
.sma-site-performance-group{border:1px solid #dce8f6;border-radius:7px;margin:8px 0;background:#fff;overflow:hidden}
.sma-site-performance-group summary{display:grid;grid-template-columns:minmax(150px,1.6fr) repeat(4,minmax(70px,1fr)) 20px;align-items:center;gap:10px;padding:13px 16px;cursor:pointer;list-style:none;color:#173658;font-size:13px;font-weight:800}
.sma-site-performance-group summary::-webkit-details-marker{display:none}
.sma-site-performance-group summary:hover{background:#f5f9ff}
.sma-site-performance-name{display:grid;gap:3px}
.sma-site-performance-group summary small{display:block;font-weight:500;font-size:10px;color:#77899e;margin-top:4px}
.sma-site-performance-group summary>b{font-size:17px;color:#3677c9;transition:transform .18s}
.sma-site-performance-group[open] summary>b{transform:rotate(180deg)}
.sma-site-performance-group[open] summary{background:#eef5ff;border-bottom:1px solid #dce8f6}
.sma-site-performance-group .mima-table-wrap{overflow:auto}
.sma-site-performance-group .mima-report-table{min-width:570px!important}
.sma-site-performance-group .mima-report-table th,.sma-site-performance-group .mima-report-table td{padding:10px 12px!important}
.sma-campaign-detail .sma-detail-overview{display:grid;grid-template-columns:minmax(0,7fr) minmax(265px,3fr);gap:14px;align-items:stretch;margin:0 0 16px}
.sma-detail-overview-main,.sma-detail-overview-aside{min-width:0}
.sma-campaign-detail .sma-detail-overview-main .mima-builder-head{margin-bottom:10px!important;padding:15px 20px!important}
.sma-campaign-detail .sma-detail-overview-main .mima-builder-head h1{font-size:clamp(22px,2vw,30px)!important}
.sma-campaign-detail .sma-detail-overview-main .mima-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;margin:10px 0!important}
.sma-campaign-detail .sma-detail-overview-main .mima-kpi{padding:12px 9px!important;border-radius:7px!important}
.sma-campaign-detail .sma-detail-overview-main .mima-kpi strong{font-size:clamp(16px,1.7vw,23px)!important;overflow-wrap:anywhere;white-space:normal}
.sma-campaign-detail .sma-detail-overview-main .mima-kpi small{font-size:9px!important;letter-spacing:0!important}
.sma-campaign-detail .sma-detail-overview-main .mima-kpi em{font-size:9px!important}
.sma-campaign-detail .sma-detail-overview-main .sma-goal-panel{margin:0!important;padding:14px!important;border-radius:8px!important}
.sma-campaign-detail .sma-detail-overview-aside .mima-budget-side{height:100%;position:static!important;padding:20px!important;display:flex;flex-direction:column;align-items:center;justify-content:space-around}
.sma-campaign-detail .sma-detail-overview-aside .mima-budget-ring{margin:0 auto!important}
.sma-campaign-detail .sma-detail-overview-aside .mima-budget-side dl{width:100%}
.sma-campaign-detail .sma-detail-analysis-full{display:block!important}
.sma-campaign-detail .sma-detail-analysis-full>div{width:100%;min-width:0}
.sma-pr-draft-restored{border:1px solid #b7d7ff;padding:12px 14px;color:#15477e;background:#eef6ff;border-radius:5px;font-size:13px}
@media(max-width:1000px){
 .sma-campaign-detail .sma-detail-overview{grid-template-columns:minmax(0,1fr) minmax(240px,.38fr)}
 .sma-campaign-detail .sma-detail-overview-main .mima-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:720px){
 .sma-campaign-detail .sma-detail-overview{grid-template-columns:1fr}
 .sma-campaign-detail .sma-detail-overview-main .mima-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .sma-site-performance-group summary{grid-template-columns:minmax(95px,2fr) repeat(2,minmax(56px,1fr)) 16px;gap:6px;padding:12px 10px}
 .sma-site-performance-group summary>span:nth-of-type(4),.sma-site-performance-group summary>span:nth-of-type(5){display:none}
 .sma-period-chart[data-period="30"]{grid-template-columns:repeat(30,minmax(26px,1fr))!important;overflow-x:auto}
}


/* 9.36 – readable invoices, polished paid campaigns, complete payment actions and responsive charts */
.sma-dashboard-modern #platby{overflow:visible!important}
.sma-dashboard-modern #platby .sma-payment-list,
.sma-dashboard-modern #platby .sma-payment-item{overflow:visible!important}
.sma-dashboard-modern #platby .sma-payment-more{position:static!important;max-width:none!important}
.sma-dashboard-modern #platby .sma-payment-more[open]{flex:1 1 100%!important;order:10!important;margin:5px 0 0!important}
.sma-dashboard-modern #platby .sma-payment-more-body{position:static!important;inset:auto!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:100%!important;width:100%!important;margin-top:9px;padding:11px!important;background:#f3f8ff!important;border:1px solid #dfe9f5!important;border-radius:7px!important;box-shadow:none!important}
.sma-dashboard-modern #platby .sma-payment-more-body>form,.sma-dashboard-modern #platby .sma-payment-more-body>a{width:auto!important;max-width:100%!important;flex:0 1 auto!important}
.sma-dashboard-modern #platby .sma-payment-more-body .mima-btn{width:auto!important;min-height:37px!important;padding:9px 12px!important}
.sma-dashboard-modern #platby .sma-payment-more-body small{line-height:1.45}
.sma-dashboard-modern #platby .sma-unpaid-actions{min-width:0!important}
@media(max-width:720px){.sma-dashboard-modern #platby .sma-payment-more-body>form,.sma-dashboard-modern #platby .sma-payment-more-body>a{flex:1 1 180px!important}.sma-dashboard-modern #platby .sma-payment-more-body .mima-btn{width:100%!important}}

.sma-dashboard-modern .sma-period-chart{display:flex!important;align-items:flex-end!important;gap:clamp(2px,.5vw,9px)!important;width:100%!important;height:230px!important;max-width:100%!important;min-width:0!important;overflow:visible!important;padding:20px 14px 15px!important}
.sma-dashboard-modern .sma-period-chart .mima-mini-day{display:grid!important;flex:1 1 0!important;min-width:0!important;max-width:none!important;grid-template-rows:157px auto auto!important;overflow:visible!important}
.sma-dashboard-modern .sma-period-chart .mima-mini-day[hidden]{display:none!important}
.sma-dashboard-modern .sma-period-chart .mima-mini-day b,.sma-dashboard-modern .sma-period-chart .mima-mini-day small{font-size:clamp(7px,.65vw,10px)!important;max-width:100%;overflow:hidden;text-overflow:clip}
.sma-dashboard-modern .sma-period-chart[data-period="30"] .mima-mini-day:nth-child(even) b{visibility:hidden}
.sma-dashboard-modern .sma-period-chart[data-period="30"] .mima-mini-day small{display:none!important}
.sma-dashboard-modern .sma-period-chart .mima-mini-bar{min-width:0!important;height:157px!important;border-radius:4px!important}
.sma-dashboard-modern .sma-period-chart .mima-mini-bar i{border-radius:4px 4px 0 0!important}
@media(max-width:540px){.sma-dashboard-modern .sma-period-chart{height:175px!important;gap:2px!important;padding:14px 8px 10px!important}.sma-dashboard-modern .sma-period-chart .mima-mini-day{grid-template-rows:120px auto!important}.sma-dashboard-modern .sma-period-chart .mima-mini-bar{height:120px!important}.sma-dashboard-modern .sma-period-chart .mima-mini-day small{display:none!important}.sma-dashboard-modern .sma-period-chart[data-period="30"] .mima-mini-day b{display:none!important}}

.sma-dashboard-modern .mima-campaign-card{position:relative!important;border:1px solid #dbe7f5!important;border-left:4px solid #2876dc!important;padding:17px!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 25px rgba(12,57,107,.045)!important}
.sma-dashboard-modern .mima-campaign-card[data-status-group="active"]{border-left-color:#19a573!important}
.sma-dashboard-modern .mima-campaign-card[data-status-group="finished"]{border-left-color:#8b9ab1!important}
.sma-dashboard-modern .mima-campaign-card[data-status-group="paused"]{border-left-color:#eca32b!important}
.sma-dashboard-modern .mima-campaign-creative{align-self:stretch;min-height:105px!important;background:#f4f8fc!important;border-radius:7px!important}
.sma-dashboard-modern .mima-campaign-creative img{height:135px!important;width:100%!important;object-fit:contain!important}
.sma-dashboard-modern .mima-campaign-top{gap:12px!important}
.sma-dashboard-modern .mima-campaign-top h3{font-size:19px!important;margin:5px 0!important}
.sma-dashboard-modern .mima-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.sma-dashboard-modern .mima-stats div{background:#f7faff!important;border-radius:7px!important;padding:10px!important}
.sma-dashboard-modern .mima-stats strong{font-size:16px!important}
.sma-dashboard-modern .sma-card-actions a{border-radius:5px!important}
@media(max-width:760px){.sma-dashboard-modern .mima-campaign-creative{max-height:150px!important}.sma-dashboard-modern .mima-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.sma-dashboard-modern .sma-hero-actions{align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.sma-dashboard-modern .sma-hero-actions .mima-btn{white-space:nowrap!important;min-height:40px!important;padding:8px 12px!important;font-size:12px!important;border-radius:6px!important;box-shadow:none!important}
.sma-invoice-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 26px));max-width:none;max-height:min(88dvh,900px);margin:auto;padding:0;border:1px solid #d4e2f2;border-radius:13px;background:#fff;box-shadow:0 28px 90px #081e3655;color:#112d4e}
.sma-invoice-dialog::backdrop{background:rgba(10,26,46,.64);backdrop-filter:blur(3px)}
.sma-invoice-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 19px;border-bottom:1px solid #e1eaf5;position:sticky;top:0;background:#fff;z-index:2}
.sma-invoice-dialog-head strong{font-size:20px}
.sma-invoice-dialog .sma-invoices-section{border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important}
.sma-invoice-dialog .sma-invoices-section>.mima-panel-title{display:none!important}
.sma-invoice-dialog .mima-table-wrap{overflow-x:auto!important;padding:12px 16px!important}
.sma-invoices-empty{padding:18px 24px;color:#657b92}


/* 9.37.0 – editor 10% smaller and no unnecessary outer vertical scrollbar.
 * Keep the sidebar list scrollable when the user has many placements.
 * No canvas intrinsic dimensions or generated image formats are changed. */
@media (min-width: 761px) and (min-height: 650px) {
  dialog.sma-creative-modal {
    width:min(1215px,calc(100vw - 36px))!important;
    max-width:1215px!important;
    height:min(81dvh,810px)!important;
    max-height:min(81dvh,810px)!important;
    overflow:hidden!important;
  }
  .sma-creative-modal .sma-creative-workbench,
  .sma-creative-modal .sma-workbench-grid {
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  .sma-creative-modal .sma-workbench-sidebar {
    height:100%!important;
    max-height:100%!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  .sma-creative-modal .sma-workbench-sidebar-title{flex:none!important;}
  .sma-creative-modal .sma-workbench-places{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  .sma-creative-modal .sma-workbench-editor {
    box-sizing:border-box!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    gap:7px!important;
    padding:10px 14px 13px!important;
    overflow:hidden!important;
  }
  .sma-creative-modal .sma-workbench-target,
  .sma-creative-modal .sma-workbench-sources,
  .sma-creative-modal .sma-workbench-zoom,
  .sma-creative-modal .sma-workbench-actions{
    flex-shrink:0!important;
  }
  .sma-creative-modal .sma-workbench-stage{
    width:94%!important;
    box-sizing:border-box!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 auto!important;
    padding:10px!important;
    overflow:hidden!important;
  }
  .sma-creative-modal .sma-workbench-stage canvas,
  .sma-creative-modal .sma-workbench-stage img,
  .sma-creative-modal .sma-workbench-stage video {
    max-height:100%!important;
    max-width:93%!important;
    object-fit:contain!important;
  }
  .sma-creative-modal .sma-workbench-zoom{margin-top:0!important;}
  .sma-creative-modal .sma-workbench-actions{padding:5px 0 0!important;}
}
/* Low-height screens may need normal scrolling to preserve all controls. */
@media (min-width:761px) and (max-height:649px){
  dialog.sma-creative-modal{width:min(1215px,calc(100vw - 36px))!important;max-width:1215px!important;height:90dvh!important;max-height:90dvh!important;overflow-y:auto!important;}
  .sma-creative-modal .sma-workbench-editor{min-height:0!important;}
}


/* 9.40 – edit campaign uses the same four-step fullscreen builder as creation. */
body.sma-fullscreen-campaign .sma-edit-form:not(.sma-wizard-active) [data-sma-step]:not([data-sma-step="1"]),
body.sma-fullscreen-campaign .sma-edit-form:not(.sma-wizard-active) .mima-order-summary {display:none!important}
body.sma-fullscreen-campaign .sma-edit-form.sma-wizard-active .mima-form-section[hidden],
body.sma-fullscreen-campaign .sma-edit-form.sma-wizard-active .mima-order-summary[hidden]{display:none!important}
body.sma-fullscreen-campaign .sma-simple-builder .sma-edit-wizard-warning{
 flex:0 0 auto;padding:10px 14px;border:1px solid #f6c8c8;background:#fff3f3;color:#9e2424;
 font-size:13px;font-weight:650;border-radius:5px;margin:0;
}
body.sma-fullscreen-campaign .sma-simple-builder .sma-edit-wizard-warning[hidden]{display:none!important}
body.sma-fullscreen-campaign .sma-edit-form .sma-existing-creatives{max-height:190px;overflow-y:auto;gap:8px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
body.sma-fullscreen-campaign .sma-edit-form .sma-existing-creative{padding:7px;gap:8px}

/* Mobile edits: same navigation controls as new campaign, no nested step scrollers. */
@media (max-width:760px){
 body.sma-fullscreen-campaign .sma-edit-form.sma-wizard-active .mima-builder-layout{grid-template-columns:1fr!important}
 body.sma-fullscreen-campaign .sma-edit-form.sma-wizard-active .mima-builder-main{min-width:0}
 body.sma-fullscreen-campaign .sma-edit-form.sma-wizard-active .mima-form-section:not([hidden]){overflow-y:auto!important}
 body.sma-fullscreen-campaign .sma-edit-form.sma-wizard-active .sma-wizard-actions{display:flex!important;gap:8px;justify-content:space-between}
}
