.campaign-schedule-dialog { width:min(1080px,calc(100vw - 28px)); max-height:calc(100vh - 28px); padding:0; border:0; border-radius:14px; color:#15272b; background:#fff; box-shadow:0 24px 80px rgba(15,31,36,.28); font-family:'Golos Text',sans-serif; }
.campaign-schedule-dialog::backdrop { background:rgba(15,31,36,.46); }
.campaign-schedule__panel header { display:flex; justify-content:space-between; gap:20px; padding:20px 22px 15px; border-bottom:1px solid #e3eceb; }
.campaign-schedule__panel h2 { margin:0; font-size:19px; }
.campaign-schedule__panel header p { margin:5px 0 0; color:#6e8184; font-size:12px; }
.campaign-schedule__panel header button { width:34px; height:34px; border:1px solid #d5e2e1; border-radius:8px; background:#fff; font-size:21px; cursor:pointer; }
.campaign-schedule__controls { display:flex; align-items:center; gap:12px; padding:16px 22px 10px; }
.campaign-schedule__quick { display:flex; gap:6px; }
.campaign-schedule__controls button,.campaign-schedule__panel footer button,.campaign-schedule__loading button { min-height:32px; padding:0 11px; border:1px solid #b7cdcf; border-radius:8px; color:#145f6b; background:#fff; font:inherit; font-size:11px; cursor:pointer; }
.campaign-schedule__controls button:hover { background:#edf7f6; }
.campaign-schedule__switch { flex:0 0 auto; display:grid; grid-template-columns:auto 32px; align-items:center; gap:8px; color:#31484c; font-size:11px; font-weight:600; cursor:pointer; }
.campaign-schedule__switch input { position:absolute; opacity:0; pointer-events:none; }
.campaign-schedule__switch i { width:32px; height:18px; position:relative; border-radius:99px; background:#dce6e5; transition:background .16s ease; }
.campaign-schedule__switch i::after { content:''; width:14px; height:14px; position:absolute; top:2px; left:2px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(25,54,59,.2); transition:transform .16s ease; }
.campaign-schedule__switch input:checked + i { background:#147687; }
.campaign-schedule__switch input:checked + i::after { transform:translateX(14px); }
.campaign-schedule__switch input:focus-visible + i { outline:2px solid #8fc2c8; outline-offset:2px; }
.campaign-schedule__range { min-width:0; display:flex; align-items:center; gap:6px; margin-left:auto; color:#66797c; font-size:10px; white-space:nowrap; }
.campaign-schedule__range label { display:flex; align-items:center; gap:4px; }
.campaign-schedule__range select { height:32px; padding:0 24px 0 8px; border:1px solid #cbdcda; border-radius:8px; color:#253b3f; background:#fff; font:inherit; }
.campaign-schedule__heatmap-switch { margin-left:4px; }
.campaign-schedule__hours,.campaign-schedule__day { display:grid; grid-template-columns:34px repeat(24,minmax(24px,1fr)); gap:3px; align-items:center; }
.campaign-schedule__hours { padding:8px 22px 5px; color:#708487; font-size:8px; text-align:center; }
.campaign-schedule__hours b { font-weight:600; }
.campaign-schedule__grid { display:grid; gap:4px; padding:0 22px; }
.campaign-schedule__day > button:first-child { height:25px; padding:0; border:0; background:transparent; color:#66797c; font-size:10px; font-weight:600; cursor:pointer; }
.campaign-schedule__cell { height:27px; position:relative; padding:0; overflow:hidden; border:1px solid #d9e6e4; border-radius:4px; color:#0d6573; background:#fff; cursor:pointer; }
.campaign-schedule__cell.has-heat { background:rgba(23,130,148,var(--heat-alpha)); }
.campaign-schedule__cell.is-selected { border-color:#0d6573; background:#dff1ef; box-shadow:inset 0 0 0 1px #0d6573; }
.campaign-schedule__cell.has-heat.is-selected { border-color:#075b68; background:rgba(23,130,148,var(--heat-alpha)); box-shadow:inset 0 0 0 1px #075b68; }
.campaign-schedule__cell.is-selected i::after { content:'✓'; color:#075b68; font-size:10px; font-weight:700; }
.campaign-schedule__cell.has-heat.is-selected i::after { color:#fff; text-shadow:0 0 2px #075b68,0 1px 1px #075b68; }
.campaign-schedule__legend { display:flex; align-items:center; gap:10px; padding:12px 22px 0; color:#718386; font-size:9px; }
.campaign-schedule__legend[hidden] { display:none; }
.campaign-schedule__legend span { display:flex; align-items:center; gap:4px; }
.campaign-schedule__legend i { width:13px; height:8px; border-radius:2px; background:#edf4f3; }
.campaign-schedule__legend span:nth-child(2) i { background:#24899a; }
.campaign-schedule__legend b { margin-left:auto; color:#42595d; }
.campaign-schedule__note { margin:10px 22px 0; color:#6d8083; font-size:10px; line-height:1.45; }
.campaign-schedule__feedback { min-height:18px; padding:8px 22px 0; color:#176b78; font-size:11px; }
.campaign-schedule__panel footer { display:flex; justify-content:flex-end; gap:8px; padding:12px 22px 20px; }
.campaign-schedule__panel footer button[type=submit] { color:#fff; border-color:#147687; background:#147687; }
.campaign-schedule__panel.is-busy { pointer-events:none; opacity:.72; }
.campaign-schedule__loading { min-height:180px; display:grid; place-items:center; gap:12px; padding:30px; color:#6e8184; font-size:13px; }
.sku-ad-campaign__state-tools { flex:0 0 auto; display:inline-flex; align-items:center; gap:5px; }
.campaign-distribution { display:flex; align-items:center; gap:4px; margin-top:4px; color:var(--ink-soft,#64777a); font-size:10px; font-weight:400; line-height:1.3; white-space:nowrap; }
.campaign-distribution input { flex:0 0 13px; width:13px; height:13px; margin:0; padding:0; accent-color:var(--accent,#147687); cursor:pointer; }
.campaign-distribution input:disabled { cursor:default; }
.campaign-distribution > .campaign-distribution-help { flex:0 0 13px; width:13px; min-width:13px; height:13px; display:inline-grid; place-items:center; margin:0; padding:0; border:1px solid #aabdbf; border-radius:50%; color:#607b80; background:transparent; font:inherit; font-size:9px; line-height:1; cursor:help; }
.campaign-schedule-button { display:inline-flex; align-items:center; justify-content:center; gap:4px; }
.campaign-schedule-indicator { flex:0 0 18px; width:18px; height:18px; display:inline-grid; place-items:center; padding:0; border:1px solid transparent; border-radius:50%; box-sizing:border-box; }
.campaign-schedule-indicator svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.campaign-schedule-indicator.is-active { color:#187151; border-color:#b9ddce; background:#e5f4ed; }
.campaign-schedule-indicator.is-paused { color:#286f9d; border-color:#bdd9eb; background:#e5f1f8; }
.campaign-schedule-indicator.is-pending { color:#946314; border-color:#ead29f; background:#fff2d7; }
.campaign-schedule-indicator.is-attention { color:#9a5b43; border-color:#e4c2b5; background:#f9ebe6; }
.campaign-schedule-indicator.is-other { color:#64777a; border-color:#d5e1df; background:#eef3f2; }
@media(max-width:900px){.campaign-schedule__controls{align-items:flex-start;flex-wrap:wrap}.campaign-schedule__range{order:3;width:100%;margin-left:0}.campaign-schedule__heatmap-switch{margin-left:auto}.campaign-schedule__hours,.campaign-schedule__day{grid-template-columns:28px repeat(24,24px)}.campaign-schedule__grid,.campaign-schedule__hours{width:max-content}.campaign-schedule__panel{overflow-x:auto}}
