.ig-settings-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0}.ig-campaigns{display:grid;gap:12px}.ig-campaign{padding:20px;background:#fff;border:1px solid #e1e8f2;border-radius:14px}.ig-campaign h3{margin:0 0 8px;font-size:16px;overflow-wrap:anywhere}.ig-campaign p{font-size:13px;line-height:1.7;color:#687991;margin:8px 0}.ig-campaign .ig-tag{margin:0}.ig-saved{font-size:12px;color:#677a95;line-height:1.7}.ig-product-picked{display:flex;align-items:center;gap:12px;background:#f7f9fd;padding:12px;border-radius:10px;margin:12px 0}.ig-product-picked img{width:54px;height:54px;object-fit:cover;border-radius:8px}.ig-product-picked span{overflow-wrap:anywhere;font-size:13px}.ig-error{color:#a23d46;font-size:13px;line-height:1.7}.ig-blocked{padding:16px;background:#edf2fb;border-radius:12px;margin:20px 0;line-height:1.8;font-size:13px}.ig-actions a{align-self:center}.ig-product-picked small{display:block;color:#78869b}.ig-panel input[type=checkbox]{appearance:auto}.ig-field select{white-space:normal}.ig-empty{text-align:center;padding:32px 16px}.ig-live-status{padding:4px 8px;background:#eef2fa;border-radius:6px;font-size:12px;font-weight:600}.ig-preview aside .ig-panel{margin-top:16px}
.ig-connection-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ig-connection-heading h2{margin:0}.ig-account-summary{display:grid;gap:8px;padding:16px;background:#f3f5fb;border-radius:12px;margin:16px 0;overflow-wrap:anywhere}.ig-account-summary small{color:#687991}.ig-panel>p{line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}#ig-connection-error{color:#a23d46;font-size:13px;line-height:1.7;margin-top:12px}

.ig-media-list{display:grid;gap:8px;max-height:380px;overflow:auto;padding:2px}.ig-media-item{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;width:100%;height:auto;background:#fff;border:1px solid #e1e8f2;border-radius:10px;min-width:0}.ig-media-item.selected{border-color:#4964f4;background:#f1f4ff;box-shadow:inset 0 0 0 1px #4964f4}.ig-media-item img,.ig-media-fallback{width:64px;height:64px;object-fit:cover;border-radius:8px;flex-shrink:0}.ig-media-fallback{display:grid;place-items:center;background:#eef2f8;font-size:10px}.ig-media-item>span:last-child{min-width:0}.ig-media-item strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ig-media-item small,.ig-delivery-row small{display:block;font-size:11px;color:#78869b;margin-top:5px}.ig-deliveries{margin-top:24px}.ig-delivery-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #edf0f5;font-size:13px}.ig-delivery-row>span:first-child{min-width:0;overflow-wrap:anywhere}.ig-delivery-row:last-child{border:0}

.ig-ready-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin-bottom:16px;border:1px solid #dce4fc;background:#f1f4ff;border-radius:14px}.ig-ready-panel strong{font-size:15px;color:#293d64}.ig-ready-panel p{font-size:13px;line-height:1.7;margin:8px 0 0;color:#687991;word-break:keep-all;overflow-wrap:anywhere}.ig-ready-panel button{flex-shrink:0}.ig-campaign .ig-state-help{margin:12px 0;color:#42577a}@media(max-width:560px){.ig-ready-panel{flex-direction:column;align-items:stretch}.ig-ready-panel button{width:100%}}

.ig-campaign .ig-actions{display:flex;flex-wrap:wrap;gap:8px}.ig-campaign .ig-actions button{white-space:nowrap}.ig-campaign .ig-actions button.primary{min-width:140px;flex:1}

.ig-delivery-advice{flex-basis:100%;padding:12px;background:#f3f5fb;border-radius:8px;color:#4b607d}.ig-delivery-advice p{margin:0;font-size:13px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}.ig-delivery-advice a{display:inline-block;margin-top:10px;font-size:12px}.ig-attention-tag{background:#fff4e5;color:#875c20}.ig-blocked ol{padding-left:20px;margin-bottom:0}.ig-blocked p{margin-bottom:0}.ig-campaign .ig-actions button{max-width:100%}#ig-connection{scroll-margin-top:20px}

/* Creator production screen: shared typography, panels and action hierarchy. */
.ig-page{color:var(--ui-text,#273b60);font-size:14px;line-height:1.7;min-width:0}.ig-heading{margin:0 0 24px}.ig-heading h1{font-size:25px;line-height:1.4;margin:6px 0 8px}.ig-heading>p{font-size:13px;color:var(--ui-muted,#71809a);margin:0}.ig-workflow{display:flex;gap:20px;flex-wrap:wrap;list-style:none;padding:14px 0 0;margin:0;color:#526581;font-size:12px}.ig-workflow li{display:flex;align-items:center;gap:7px}.ig-workflow span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eef3fc;color:#3458d4;font-weight:600}
.ig-panel,.ig-campaign{background:#fff;border:1px solid #e3e9f2;border-radius:12px;padding:24px;min-width:0;box-shadow:0 3px 16px #263c6507}.ig-page h2{font-size:16px;line-height:1.5;margin:0 0 12px}.ig-page h3{font-size:14px;line-height:1.6;margin:20px 0 10px}.ig-page p{font-size:13px;line-height:1.8;color:#526581}.ig-page small,.ig-page .ig-hint{font-size:12px;line-height:1.7;color:#71809a}.ig-page button,.ig-page .button{font-family:inherit;font-size:13px;min-height:40px;padding:10px 14px;border-radius:8px}.ig-page button:focus-visible,.ig-page a:focus-visible{outline:3px solid #aab8ff;outline-offset:3px}
.ig-connection-heading h2{margin:0}.ig-account-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;margin:16px 0;padding:14px 16px;border-radius:8px}.ig-account-summary strong{font-size:14px}.ig-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}.ig-settings-top{margin:28px 0 16px;align-items:center}.ig-settings-top h2{margin:0 0 6px}.ig-settings-top h2 small{font-size:12px;font-weight:500}.ig-campaign>h3{font-size:16px;margin:0 0 8px}.ig-campaign .ig-actions{padding-top:16px;border-top:1px solid #e3e9f2}.ig-campaign .ig-actions button.primary{flex:0 1 auto;min-width:140px}.ig-campaign .ig-state-help{padding:10px 12px;background:#f7f9fc;border-radius:8px}.ig-tag{display:inline-flex;font-size:12px;line-height:1.5;padding:4px 8px;background:#eef3fc;color:#3458d4;border-radius:6px}.ig-blocked{border:1px solid #e3e9f2;background:#f7f9fc;border-radius:8px;padding:14px;font-size:13px}.ig-empty{padding:32px 20px}.ig-empty h3{margin:0 0 8px}.ig-empty p{margin:0}
.ig-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start;margin-bottom:24px}.ig-field{display:grid;gap:8px;margin:18px 0;font-size:13px;font-weight:600}.ig-field input,.ig-field textarea,.ig-field select{width:100%;min-width:0;padding:12px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;color:#273b60;font:inherit;font-weight:400}.ig-field textarea{min-height:120px;resize:vertical}.ig-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7}.ig-check input{width:18px;height:18px;flex:none;margin:3px 0 0}.ig-phone{background:#f7f9fc;border:1px solid #e3e9f2;border-radius:12px;overflow:hidden}.ig-phone header{padding:14px;background:white;border-bottom:1px solid #e3e9f2;font-size:13px;font-weight:600}.ig-chat{padding:16px;min-height:150px}.ig-bubble{padding:14px;border-radius:10px;background:#eef3fc;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.ig-panel aside{min-width:0}.ig-grid>aside{position:sticky;top:96px}.ig-panel #campaign-form>h3{padding-top:20px;border-top:1px solid #e3e9f2;margin-top:24px}.ig-panel footer.ig-actions{padding-top:16px;border-top:1px solid #e3e9f2}.ig-ready-panel{border-radius:12px}.ig-delivery-row{align-items:flex-start;gap:12px}.ig-panel ul{padding-left:20px;font-size:13px;line-height:1.8}
@media(max-width:760px){.ig-heading h1{font-size:23px}.ig-panel,.ig-campaign{padding:20px 16px}.ig-workflow{gap:8px 14px;font-size:11px}.ig-settings-top{gap:12px}.ig-settings-top>div{flex-basis:100%}.ig-settings-top>button{width:100%;min-height:44px}.ig-actions button{min-height:44px}.ig-field input,.ig-field textarea,.ig-field select{font-size:16px}.ig-grid{grid-template-columns:1fr;gap:16px}.ig-grid>aside{position:static}.ig-account-summary{display:grid;gap:6px}.ig-campaign .ig-actions button.primary{flex:1}.ig-panel footer.ig-actions{position:sticky;bottom:0;background:#fff;padding:12px 0;margin-top:20px;z-index:2}.ig-panel footer.ig-actions #save{flex:1}}

.ig-details{margin-top:16px;border-top:1px solid #e3e9f2;padding-top:12px}.ig-details summary{font-size:12px;line-height:1.7;color:#526581;cursor:pointer}.ig-details p{margin:10px 0 0}

@media(max-width:760px){.ig-panel footer.ig-actions{bottom:calc(76px + env(safe-area-inset-bottom));box-shadow:0 -8px 16px #ffffffeb}.creator-keyboard-open .ig-panel footer.ig-actions{bottom:var(--creator-keyboard-inset,0px)}}

.ig-demo-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;margin-bottom:20px;border:1px solid #e3e9f2;border-radius:12px;background:#f7f9fc}.ig-demo-entry h2{margin:8px 0 4px;font-size:15px}.ig-demo-entry p{margin:0 0 4px}.ig-demo-entry .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;background:#fff;border:1px solid #dbe3ef;color:#3458d4;text-decoration:none;font-weight:600}.ig-demo-entry .ig-tag{font-size:11px}@media(max-width:560px){.ig-demo-entry{align-items:stretch;flex-direction:column;padding:16px}.ig-demo-entry .button{min-height:44px}}

/* Scheduled DM validation uses the shared Instagram panels and controls. */
.ig-schedule{margin-top:20px;min-width:0}.ig-schedule-list{display:grid;gap:12px;margin-top:16px}.ig-schedule [data-schedule-editor]:not(:empty){margin-top:16px}.ig-schedule .ig-grid{min-width:0}.ig-schedule form,.ig-schedule aside,.ig-schedule select,.ig-schedule input,.ig-schedule textarea{min-width:0;max-width:100%;box-sizing:border-box}.ig-schedule .ig-bubble{white-space:pre-wrap;overflow-wrap:anywhere}.ig-schedule .ig-actions{flex-wrap:wrap}.ig-schedule p,.ig-schedule h3{overflow-wrap:anywhere}@media(max-width:600px){.ig-schedule .ig-grid{grid-template-columns:minmax(0,1fr)}.ig-schedule.ig-panel{padding:14px}.ig-schedule .ig-actions button{flex:1 1 auto}}

.ig-schedule-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid #e1e8f2;border-radius:12px;margin:16px 0;background:#fff}.ig-schedule-shortcut small{display:block;margin-top:6px;color:#687991;line-height:1.65}.ig-schedule-shortcut strong{font-size:14px}.ig-schedule-shortcut a{flex-shrink:0}.ig-schedule-intro{margin:14px 0}.ig-schedule-steps{display:grid;gap:12px;list-style:none;padding:0;margin:20px 0;counter-reset:schedule-step}.ig-schedule-steps li{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:10px;row-gap:3px;counter-increment:schedule-step;font-size:13px;line-height:1.7}.ig-schedule-steps li:before{content:counter(schedule-step);grid-row:span 2;border-radius:50%;background:#eef2fb;color:#435be8;text-align:center;align-self:start;font-weight:700}.ig-schedule-steps span{grid-column:2;color:#687991}.ig-schedule-change{margin:16px 0;padding:14px;background:#f4f6fc;border:1px solid #dce3f0;border-radius:10px}.ig-schedule-change>strong{font-size:14px;color:#8f4e26}.ig-schedule-change dl{display:grid;gap:12px;margin:16px 0}.ig-schedule-change dt{font-size:12px;font-weight:700;color:#687991;margin-bottom:5px}.ig-schedule-change dd{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.ig-schedule-change dd small{display:block;color:#687991;overflow-wrap:anywhere}.ig-schedule [data-schedule-editor] .ig-hint{line-height:1.8}@media(min-width:760px){.ig-schedule-change dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:600px){.ig-schedule-shortcut{align-items:flex-start;flex-direction:column}.ig-schedule-shortcut a{align-self:flex-start}}

.ig-schedule .ig-tag.ig-attention-tag{background:#fff4e5;color:#875c20}

.ig-schedule-availability{padding:12px 14px;background:#f7f9fc;border:1px solid #e3e9f2;border-radius:8px;margin:12px 0 20px}.ig-schedule-availability p{margin:0 0 8px}.ig-schedule-availability a{font-size:13px;display:inline-block;line-height:1.8}

.ig-schedule-success{padding:14px;background:#eef3fc;border:1px solid #dce4fc;border-radius:8px}.ig-schedule [data-schedule-id]{scroll-margin-top:150px}.ig-schedule [data-schedule-eligibility]:not(:empty){color:#875c20}.ig-schedule [data-schedule-error]:not(:empty){color:#a23d46;padding:12px 0}

.ig-schedule-timing{display:grid;gap:8px;padding:16px;background:#f4f6fb;border-radius:12px;margin:16px 0}.ig-schedule-timing>span{font-size:12px;color:#71809a}.ig-schedule-timing>strong{font-size:15px;line-height:1.6}.ig-schedule-timing>p{margin:0;font-size:12px;line-height:1.7;color:#71809a}
