/* Interaction refinements for campaign detail workflows. */
.ech-modal label.confirm-label{display:flex;align-items:center;gap:9px;cursor:pointer}
.ech-modal label.confirm-label input{width:auto;margin:0;flex:0 0 auto;accent-color:#7627dc}
.asset-card.clickable{cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.asset-card.clickable:hover{border-color:#7a2bdc;box-shadow:0 8px 20px #43207517;transform:translateY(-2px)}
.media-row{display:flex;gap:12px;align-items:end}.media-row label{flex:1}.media-row .ech-btn{margin-bottom:0;white-space:nowrap}.asset-card em{display:block;margin-top:8px;font-size:12px;color:#6f42d8;font-style:normal}@media(max-width:680px){.media-row{display:block}.media-row .ech-btn{margin-top:8px}}
.provider-stack{display:grid;gap:10px;margin:16px 0}.provider-card{border:1px solid #e1e5ed;border-radius:10px;padding:13px;background:#fff}.provider-card .confirm-label{font-size:14px}.provider-card small{display:block;color:#748098;font-weight:400;margin-top:3px}.provider-fields{display:grid;grid-template-columns:90px 1fr 1.2fr;gap:10px;margin-top:11px}.provider-fields label{font-size:12px}.fallback-order{margin:8px 0;padding-left:24px}.fallback-order li{padding:5px 0;font-weight:600}@media(max-width:680px){.provider-fields{grid-template-columns:1fr}}
.provider-test{margin-top:10px;font-size:12px;padding:7px 10px}
.provider-warning{margin:10px 0 0;color:#9a3412;font-size:12px}.provider-warning code{background:#fff1e8;padding:2px 4px;border-radius:4px}
.cal-event{width:100%;border:0;text-align:left;cursor:pointer;font:inherit}
.scheduled-items{display:grid;gap:8px;margin-top:10px}
.scheduled-items button{display:flex;justify-content:space-between;gap:16px;align-items:center;width:100%;padding:12px;border:1px solid #e1e5ee;border-radius:8px;background:#fff;color:#18233a;text-align:left;cursor:pointer;font:inherit}
.scheduled-items button:hover{border-color:#7a2bdc;background:#fbf9ff}
.scheduled-items span{color:#667085;font-size:12px}
.activity-timeline article .note-edit{border:0;background:transparent;color:#6b21cf;font-weight:700;cursor:pointer;padding:0;font-size:12px}
.calendar-month-controls{display:flex;align-items:center;gap:6px}
.calendar-month-controls button{width:28px;height:28px;border:1px solid #dce1ea;border-radius:6px;background:#fff;color:#5c1bb3;font-size:20px;line-height:1;cursor:pointer}
.calendar-month-controls button:hover{border-color:#7627dc;background:#fbf9ff}
.calendar-month-controls select{height:30px;border:1px solid #dce1ea;border-radius:6px;background:#fff;color:#263149;padding:0 8px;font:inherit;font-size:12px;cursor:pointer}
.schedule-legend{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 4px 0 11px;background:#93b4fa}.schedule-legend.campaign{background:#8f54dc}.campaign-calendar-event{width:100%;margin:6px 0 0;padding:6px;border:0;border-radius:5px;background:#f4eaff;color:#6622b9;text-align:left;cursor:pointer;font:inherit;font-size:9px;line-height:1.35}.campaign-calendar-event em{font-style:normal;color:#8b57c4}
@media(max-width:700px){.calendar-header{align-items:flex-start;gap:9px;flex-direction:column}.calendar-month-controls{width:100%}.calendar-month-controls select:first-of-type{flex:1}}

/* Mobile application navigation. */
.ech-menu-toggle{display:none}
.delivery-log{margin-top:18px;border-top:1px solid #e7eaf0;padding-top:12px}.delivery-log h3{font-size:13px;margin:0 0 7px}.delivery-log p{display:flex;justify-content:space-between;gap:14px;margin:0;padding:8px 0;border-bottom:1px solid #eff1f5;font-size:12px}.delivery-log span{color:#667085;text-align:right}
.live-results-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:18px}.live-results-grid h3{font-size:13px;margin:0 0 5px}@media(max-width:700px){.live-results-grid{grid-template-columns:1fr}.live-results-grid .detail-row{margin:0}}
.boost-badge{display:inline-block;margin-left:6px;padding:3px 6px;border-radius:10px;background:#fff3cc;color:#8a5a00;font-style:normal;font-size:10px;font-weight:700}

/* Accessibility and responsive QA refinements. */
#ech-app button:focus-visible,#ech-app input:focus-visible,#ech-app select:focus-visible,#ech-app textarea:focus-visible,#ech-app a:focus-visible{outline:3px solid #155eef;outline-offset:2px}
.ech-nav button.active{box-shadow:inset 3px 0 0 #c68cff}
@media(prefers-reduced-motion:reduce){#ech-app *,#ech-app *:before,#ech-app *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
@media(max-width:480px){.ech-top{align-items:flex-start;gap:12px;flex-direction:column}.ech-top .ech-btn{width:100%}.ech-table{font-size:11px}.ech-table th,.ech-table td{padding:8px 6px}.ech-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);overflow:auto}}
@media(max-width:700px){
  #ech-app{margin:0}
  .ech-shell{display:block;min-height:100vh;border-radius:0;overflow:visible}
  .ech-menu-toggle{display:flex;align-items:center;gap:4px;position:sticky;top:0;z-index:50;width:100%;padding:13px 17px;border:0;background:#111b2b;color:#fff;font:700 13px Inter,system-ui,sans-serif;text-align:left;cursor:pointer;box-shadow:0 2px 9px #07101e33}
  .ech-menu-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#fff}.ech-menu-toggle b{margin-left:7px}
  .ech-nav{display:block;position:fixed;z-index:49;top:44px;left:0;bottom:0;width:min(285px,84vw);padding:17px 14px;overflow-y:auto;transform:translateX(-102%);transition:transform .2s ease;box-shadow:10px 0 24px #0a102044}
  .nav-open .ech-nav{transform:translateX(0)}
  .ech-logo,.ech-brands{display:block}.ech-nav button{min-width:0;margin:3px 0}
  .ech-main{padding:18px 14px 28px;max-width:none}
}
.brand-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:15px}.brand-list{align-self:start}.brand-select{display:flex;align-items:center;gap:9px;width:100%;border:0;border-radius:8px;background:transparent;padding:10px;text-align:left;cursor:pointer;color:#25314a}.brand-select:hover,.brand-select.active{background:#f1eaff;color:#6020b8}.brand-select i{width:12px;height:12px;border-radius:4px}.brand-select span{min-width:0}.brand-select b,.brand-select small{display:block}.brand-select small{font-size:10px;color:#788399;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-editor h3{font-size:14px;margin:22px 0 8px}.brand-editor>label,.brand-editor .ech-two>label,.brand-editor .ech-three>label{display:block;margin:0}.brand-editor label{font-size:12px;font-weight:700}.brand-editor input,.brand-editor select,.brand-editor textarea{box-sizing:border-box;width:100%;margin-top:5px;border:1px solid #dbe0ea;border-radius:6px;padding:10px;font:inherit;font-size:13px}.brand-editor textarea{height:86px;resize:vertical}.brand-identity{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center}.brand-identity .ech-two{align-content:center;row-gap:12px}.brand-logo{width:100px;height:100px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:42px;font-weight:800;overflow:hidden}.brand-logo img{width:100%;height:100%;object-fit:cover}.ech-three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.brand-editor input[type="color"]{height:42px;padding:4px}.brand-editor>label{margin-top:12px}.brand-editor>label+label{margin-top:12px}.brand-channel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.brand-channel{display:flex!important;align-items:center;gap:8px;border:1px solid #e1e5ed;border-radius:8px;padding:10px;margin:0!important;cursor:pointer}.brand-channel input{width:auto!important;margin:0!important}.brand-channel b,.brand-channel small{display:block}.brand-channel small{font-size:10px;color:#738097;font-weight:400;margin-top:3px}[data-channel-connections]{display:grid;gap:12px}[data-channel-connections]>.ech-two{grid-template-columns:minmax(175px,.85fr) minmax(190px,1fr) minmax(190px,1fr);gap:14px;align-items:end;padding:14px;border:1px solid #e4e8f0;border-radius:9px;background:#fff}[data-channel-connections] label{display:block;margin:0;font-size:12px;font-weight:700}[data-channel-connections] input{box-sizing:border-box;width:100%;margin-top:5px;border:1px solid #dbe0ea;border-radius:6px;padding:10px;font:inherit;font-size:13px}[data-channel-connections] .confirm-label{display:flex;align-items:center;gap:8px;min-height:43px;padding-bottom:0;cursor:pointer}[data-channel-connections] .confirm-label input{width:auto;margin:0;accent-color:#7627dc}[data-channel-connections] .confirm-label span{display:block}[data-channel-connections] .confirm-label b,[data-channel-connections] .confirm-label small{display:block}[data-channel-connections] .confirm-label small{margin-top:3px;color:#738097;font-weight:400;font-size:10px}@media(max-width:850px){.brand-workspace{grid-template-columns:1fr}.brand-list{display:grid;grid-template-columns:repeat(2,1fr)}.ech-three,.brand-channel-grid{grid-template-columns:repeat(2,1fr)}[data-channel-connections]>.ech-two{grid-template-columns:minmax(170px,.8fr) 1fr}}@media(max-width:560px){.brand-identity,.brand-list,.ech-three,.brand-channel-grid,[data-channel-connections]>.ech-two{grid-template-columns:1fr}.brand-logo{width:74px;height:74px}.brand-identity{align-items:start}[data-channel-connections]>.ech-two{gap:10px}.brand-editor .panel-title{align-items:flex-start;gap:12px;flex-wrap:wrap}}.channel-preview{padding:26px}.channel-preview header{position:relative}.channel-preview header h2{margin:0;font-size:22px}.channel-preview header p{color:#697489;font-size:13px;margin:5px 0 17px}.preview-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.preview-tabs button{border:1px solid #ddd4ed;background:#fff;color:#5f22ad;border-radius:7px;padding:8px 10px;font:600 12px inherit;cursor:pointer}.preview-tabs button.active{background:#7627dc;color:#fff;border-color:#7627dc}.preview-frame{min-height:260px;padding:24px;border-radius:12px;background:linear-gradient(145deg,#1b2d4a,#7140a5 64%,#eb7a9e);color:#fff;display:flex;flex-direction:column;justify-content:flex-end}.preview-frame small{opacity:.88}.preview-frame h2{font-size:30px;line-height:1.05;margin:8px 0}.preview-frame p{font-size:13px;max-width:360px;margin:0 0 18px}.preview-frame button{align-self:flex-start;border:0;border-radius:18px;background:#ee4ca1;color:#fff;padding:10px 15px;font-weight:700}.preview-frame span{font-size:10px;opacity:.8;margin-top:15px}.preview-link{border:1px solid #e2e5ee;border-radius:8px;margin-top:14px;padding:11px;font-size:12px}.preview-link b,.preview-link code{display:block}.preview-link code{margin-top:5px;color:#6526bb;overflow-wrap:anywhere;font-size:11px}
