.campaign-overview{background:var(--surface,#fff);border:1px solid var(--line,#e4e8ee);border-radius:18px;padding:26px;margin-bottom:20px}.campaign-topline{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.campaign-topline h2{font-size:22px;margin:0 0 8px;letter-spacing:-.5px}.campaign-topline p{color:#637085;line-height:1.7;margin:0}.campaign-state{background:#e9f5f1;color:#177656;font-size:12px;font-weight:700;padding:7px 12px;border-radius:30px;white-space:nowrap}.campaign-state.paused{background:#fff1d9;color:#8c6016}.campaign-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin:26px 0}.campaign-stats>div{border-right:1px solid #e8ecf1}.campaign-stats>div:last-child{border:0}.campaign-stats span,.campaign-stats small{display:block;color:#758196;font-size:12px;line-height:1.7}.campaign-stats b{display:block;font-size:30px;letter-spacing:-1px;color:#172b40;margin:4px 0}.campaign-stats>div:first-child b{color:#18765d}.campaign-progress-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#69788b;margin:12px 0}.campaign-progress-line strong{color:#24364c}.campaign-overview progress{appearance:none;width:100%;height:7px;border:0;border-radius:9px;overflow:hidden;background:#edf1f5}.campaign-overview progress::-webkit-progress-bar{background:#edf1f5}.campaign-overview progress::-webkit-progress-value{background:#22836d;border-radius:9px}.campaign-message{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;background:#f4f8fb;border-radius:10px;font-size:13px;color:#465e75;line-height:1.7;margin:18px 0 0}.campaign-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:18px 20px;border-bottom:1px solid #e5eaf0}.campaign-toolbar select{max-width:100%;border:1px solid #dbe2ea;border-radius:9px;padding:9px 12px;background:white;color:#33465b}.campaign-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.campaign-table th{background:#f8fafc;color:#6b788b;font-size:11px;font-weight:600;padding:14px 20px}.campaign-table td{padding:17px 20px;border-bottom:1px solid #eef1f5;vertical-align:top}.campaign-table td:first-child{width:46%}.campaign-table b,.campaign-table small{display:block}.campaign-table b{margin:6px 0;line-height:1.65;font-weight:500}.campaign-table small{font-size:11px;color:#7a8697;line-height:1.65;margin-top:5px}.campaign-table a{color:#4e698b;text-decoration:none}.campaign-table .campaign-published{color:#18765d;font-weight:600;white-space:nowrap}.campaign-item-state{font-size:12px;font-weight:600;color:#536c8b}.campaign-item-state.succeeded{color:#18765d}.campaign-item-state.blocked,.campaign-item-state.failed,.campaign-item-state.needs_review,.campaign-item-state.uncertain{color:#a3712c}.campaign-note{font-size:12px;color:#7c899a;line-height:1.9;margin:15px 0}.campaign-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.campaign-check{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.8;margin:16px 0}.campaign-check input{margin-top:5px;flex-shrink:0}.campaign-empty{text-align:center;padding:65px 20px;background:white;border:1px solid #e5eaf0;border-radius:18px;color:#748195}.campaign-empty h2{color:#20354b}.campaign-top-actions{display:flex;gap:9px}.campaign-select-wrap{display:flex;align-items:center;gap:10px;font-size:12px;color:#768296}.campaign-select-wrap select{max-width:460px}.campaign-total-tag{font-size:12px;display:inline-block;color:#18765d;background:#eaf6f2;padding:6px 10px;border-radius:6px;margin-left:10px}@media(max-width:900px){.campaign-stats{grid-template-columns:repeat(3,1fr)}.campaign-stats>div{border:0}.campaign-toolbar{align-items:flex-start;flex-direction:column}.campaign-select-wrap{max-width:100%}.campaign-select-wrap select{max-width:100%}}@media(max-width:600px){.campaign-overview{padding:18px}.campaign-stats{grid-template-columns:repeat(2,1fr);gap:16px}.campaign-topline{flex-direction:column}.campaign-stats b{font-size:25px}.campaign-progress-line{flex-direction:column;gap:5px}.campaign-table th,.campaign-table td{padding:12px}.campaign-table th:nth-child(3),.campaign-table td:nth-child(3){min-width:95px}.campaign-form-grid{grid-template-columns:1fr}.campaign-top-actions{width:100%;flex-wrap:wrap}.campaign-select-wrap{flex-direction:column;align-items:flex-start}.mobile-nav button[data-view="automation"]{min-width:70px}}
@media(max-width:600px){#automation-view>.page-heading{display:flex;flex-direction:column;align-items:stretch;gap:16px}#automation-view>.page-heading>div:first-child{width:100%}#automation-view>.page-heading h1{font-size:26px;line-height:1.3}#automation-view>.page-heading p{line-height:1.8}.campaign-top-actions{justify-content:flex-start}}

.md-sync-panel{padding:22px 26px}.md-sync-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.md-sync-header h3{margin:7px 0 6px;font-size:18px;color:#20354b}.md-sync-header p{margin:0;color:#6b7c90;font-size:12px;line-height:1.8}.md-sync-header .button{flex-shrink:0}.md-sync-counts{display:flex;flex-wrap:wrap;gap:12px 26px;margin:20px 0;color:#718097;font-size:12px}.md-sync-counts b{font-size:18px;color:#263e52;margin-left:7px}.md-sync-panel details{font-size:12px;color:#64778a}.md-sync-panel summary{cursor:pointer;padding:4px 0}.md-sync-record{border-top:1px solid #e5eaf0;padding:14px 0}.md-sync-record>div{display:flex;justify-content:space-between;gap:12px}.md-sync-record b{font-weight:500}.md-sync-record a{color:#267765;text-decoration:none}.md-sync-record p{line-height:1.8;color:#738296}.md-sync-record span{white-space:nowrap;color:#286959}@media(max-width:600px){.md-sync-panel{padding:18px}.md-sync-header{flex-direction:column}.md-sync-header>.button{width:100%}.md-sync-counts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.md-sync-record>div{flex-direction:column;gap:7px}}
