/* Campaign creation: the approved layout, scoped to the real wizard. */
#wizard{width:min(1080px,calc(100vw - 32px));height:min(850px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);background:#f5f2e9;font-family:'Desdobra Space',sans-serif}
#wizard .wizard-header{padding:25px 32px 0;align-items:flex-start}
#wizard .wizard-header h2{font:400 29px/1.15 'IBM Plex Serif',Georgia,serif;letter-spacing:-.02em;overflow-wrap:anywhere}
#wizard .wizard-header .eyebrow{margin:0 0 7px}
#wizard .wizard-client{font-size:12px;line-height:1.4;color:#77717d;margin:3px 0 0;overflow-wrap:anywhere}
#wizard .wizard-header>.icon-button{width:36px;height:36px;flex:none}
#wizard .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:none;margin:20px 0 0;padding:0 32px;border-bottom:1px solid #ddd8d0;list-style:none}
#wizard .steps li{min-width:0}
#wizard .steps li button{width:100%;min-height:48px;padding:9px 10px 12px;border-radius:0;border-bottom:2px solid transparent;gap:9px;background:transparent}
#wizard .steps li button b{font-size:12px;font-weight:400;overflow-wrap:anywhere}
#wizard .steps li.current button{border-bottom-color:#8171b5;color:#24232a;background:transparent}
#wizard .steps li.current button b{font-weight:600}
#wizard .steps li button:hover{background:#eee8f2}
#wizard .steps li button>span{width:25px;height:25px;margin:0}
#wizard .wizard-content{padding:28px 32px;overflow:auto;overscroll-behavior:contain}
#wizard .step-intro{margin-bottom:24px}
#wizard .step-intro h3,#wizard .review-heading h3{font:400 27px/1.18 'IBM Plex Serif',Georgia,serif;letter-spacing:-.02em}
#wizard .step-intro>p,#wizard .review-heading p:not(.eyebrow){margin-top:7px;color:#716b78;font-size:13px;line-height:1.5}
#wizard .example-kit-download{margin-top:12px;font-size:13px;font-weight:600}
#wizard .wizard-footer{padding:15px 32px;gap:12px;flex-wrap:nowrap}
#wizard .wizard-footer-start,#wizard .wizard-footer-end{display:flex;align-items:center;gap:12px;min-width:0}
#wizard .wizard-footer-end{margin-left:auto}
#wizard .wizard-footer .step-caption{font-size:11px;color:#82798c}
#wizard .wizard-save-draft{color:#5b4b72}
.draft-save-spinner{display:inline-block;width:14px;height:14px;margin-right:5px;border:2px solid #b9adc9;border-top-color:#5b4b72;border-radius:50%;vertical-align:middle;animation:draft-save-spin .8s linear infinite}
@keyframes draft-save-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.draft-save-spinner{animation:none;border-top-color:#5b4b72}}
#wizard .wizard-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:26px 0 12px}
#wizard .wizard-section-heading h3{font:600 15px/1.35 'Desdobra Space',sans-serif}
#wizard .wizard-section-heading p{font-size:12px;color:#77717d;margin-top:5px}
#wizard .wizard-section-heading>span{font-size:11px;color:#827a8a;white-space:nowrap}
#wizard .wizard-section-heading .badge{vertical-align:middle}
#wizard .file-button:focus-within{outline:2px solid #8171b5;outline-offset:3px}
#wizard .base-grid{gap:16px;margin:0}
#wizard .base-card{min-width:0;padding:18px;border-radius:15px;background:#fffdfa}
#wizard .base-card-title{margin:0 0 13px;font-size:13px}
#wizard .base-card-title strong{font-weight:600}
#wizard .base-card-title>span{padding:4px 8px;border-radius:99px;background:#efebe5;color:#68616d;font-size:10px}
#wizard .dropzone,#wizard .dropzone.has-file{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:68px;padding:12px 14px;text-align:left;border-radius:10px;background:#f8f5fa}
#wizard .dropzone:hover,#wizard .dropzone.dragging{background:#eee7f5}
#wizard .dropzone .upload-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;margin:0;border-radius:10px;background:#e9e1f1;color:#746196}
#wizard .dropzone .upload-symbol .icon{width:18px;height:18px}
#wizard .dropzone img{width:45px;height:36px;flex:none;margin:0;object-fit:cover}
#wizard .dropzone>.base-file-copy{display:block;flex:1;min-width:0;margin:0;color:#302b35}
#wizard .dropzone .base-file-copy strong{display:block;font-size:12px;overflow-wrap:anywhere}
#wizard .dropzone .base-file-copy small{font-size:11px;line-height:1.45;color:#77717d;margin-top:3px}
#wizard .dropzone>.base-choose{flex:none;margin:0;padding:8px 10px;border:1px solid #ded9d0;border-radius:9px;background:#fffdfa;color:#302e36;font-size:11px;font-weight:600}
#wizard .base-description{font-size:11px;line-height:1.5;color:#77717d;margin:12px 0 0}
#wizard .remove-base{margin-top:8px}
#wizard .wizard-base-notice{margin:14px 0 0;padding:12px 14px;background:transparent;border:0}
#wizard .wizard-base-notice p{font-size:11px;line-height:1.55}
#wizard .wizard-cover-section>.wizard-section-heading{margin-top:24px}
#wizard .cover-field{display:flex;align-items:center;gap:16px;margin:0;padding:16px 18px;border-radius:15px;background:#fffdfa}
#wizard .cover-preview,#wizard .cover-placeholder{width:120px;max-width:120px;height:auto;min-height:68px;aspect-ratio:16/9;flex:none;object-fit:cover;border-radius:9px}
#wizard .cover-placeholder{display:grid;place-content:center;text-align:center}
#wizard .cover-copy{flex:1;min-width:0}
#wizard .cover-copy>strong{font-size:13px}
#wizard .cover-copy>p{font-size:11px;line-height:1.5;margin:4px 0 8px}
#wizard .cover-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#wizard .cover-actions .button{min-height:36px;padding:8px 11px;font-size:11px}
#wizard .cover-actions .remove-cover-button{margin:0;padding:8px;background:none;border:0}
#wizard .wizard-cover-section>.helper{margin-top:10px}
#wizard .briefing-card{padding:24px;border-radius:16px;border-color:#ddd2e8;background:#f0ebf5;margin-bottom:24px}
#wizard .briefing-heading{display:flex;align-items:flex-start;gap:16px;margin:0}
#wizard .briefing-symbol{width:46px;height:46px;border-radius:14px;flex:none;background:#e1d7ee;color:#6a5687}
#wizard .briefing-symbol .icon{width:21px;height:21px}
#wizard .briefing-heading-copy{flex:1;min-width:0}
#wizard .briefing-heading .eyebrow{font-size:9px;letter-spacing:.13em;color:#776b87;margin:0 0 7px}
#wizard .briefing-heading h3{font:400 23px/1.2 'IBM Plex Serif',Georgia,serif;letter-spacing:-.02em;margin:0 0 6px}
#wizard .briefing-heading p:not(.eyebrow){font-size:12px;line-height:1.55;color:#665e6f}
#wizard .briefing-config{display:flex;align-items:center;justify-content:flex-end;gap:8px 12px;flex-wrap:wrap;max-width:260px;font-size:11px;color:#6b6372}
#wizard .briefing-config .text-button{font-size:11px}
#wizard .briefing-card .helper{font-size:11px;line-height:1.55;color:#6f6876}
#wizard .briefing-config-help{margin:14px 0 0}
#wizard .briefing-input-area,#wizard .briefing-reading-wrap{border-top:1px solid #dcd2e7;margin-top:20px;padding-top:18px}
#wizard .briefing-input-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
#wizard .briefing-input-heading>strong{font-size:12px;font-weight:600}
#wizard .briefing-tabs{gap:8px;margin:0}
#wizard .briefing-tabs .button{min-height:36px}
#wizard .briefing-upload{display:flex;justify-content:flex-start;gap:12px;min-height:70px;padding:12px 14px;border-radius:11px;background:#fffdfa}
#wizard .briefing-file-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#eae2f1;color:#6a5687}
#wizard .briefing-file-icon .icon{width:18px;height:18px}
#wizard .briefing-file-copy{flex:1;min-width:0;text-align:left}
#wizard .briefing-file-copy strong{display:block;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
#wizard .briefing-file-copy small{font-size:11px;line-height:1.5;color:#726a78;margin-top:3px}
#wizard .briefing-file-action{flex:none;font-size:11px;font-weight:600;color:#615078}
#wizard .briefing-text-field{display:block;font-size:12px}
#wizard .briefing-text-field textarea{margin-top:8px;min-height:110px}
#wizard .briefing-input-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
#wizard .briefing-input-footer .briefing-privacy{margin:0;max-width:590px}
#wizard .briefing-input-footer .button{flex:none}
#wizard .briefing-reading-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}
#wizard .briefing-reading{display:flex;align-items:center;gap:18px;min-width:0;min-height:76px;margin:0;padding:0;background:transparent}
#wizard .briefing-reading-copy{min-width:0}
#wizard .briefing-reading-copy strong{font-size:13px;color:#504260}
#wizard .briefing-reading-copy p{font-size:12px;line-height:1.5;color:#665e6f;margin:5px 0}
#wizard .briefing-reading-copy small{font-size:11px;color:#716877;overflow-wrap:anywhere}
#wizard .briefing-reading-wrap>.button{flex:none}
#wizard .briefing-card #briefing-error:not(:empty){margin:16px 0 0;padding:11px 14px;border-radius:10px;font-size:12px}
#wizard .formats-heading{margin-top:24px}
#wizard .format-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}
#wizard .format-toolbar>span{font-size:12px;color:#77717d}
#wizard .format-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#wizard .wizard-format-settings{margin:16px 0 8px;align-items:end;gap:12px;flex-wrap:wrap}
#wizard .wizard-format-settings .inline-label{min-width:180px}
#wizard .wizard-content>.format-table-wrap{border-radius:13px;background:#fffdfa}
#wizard .wizard-content>.format-table-wrap td:nth-child(2)>small{display:block;margin:4px 0 0}
#wizard .cta-toolbar{align-items:flex-end;margin:24px 0 12px}
#wizard .wizard-kicker{font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#80749a;margin:0 0 8px}
#wizard .cta-editor-panel{padding:20px;border:1px solid #e3ddd5;border-radius:15px;background:#fffdfa}
#wizard .cta-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
#wizard .cta-panel-heading h3{font-size:15px}
#wizard .cta-panel-heading p{font-size:12px;color:#706a77;margin-top:5px}
#wizard .cta-panel-heading>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
#wizard .cta-editor-header{margin-bottom:16px}
#wizard .cta-editor-header>label{max-width:none;width:100%}
#wizard .button-editor{grid-template-columns:minmax(0,1fr) minmax(210px,.68fr);gap:18px}
#wizard .button-controls{display:grid;align-content:start;gap:24px;min-width:0}
#wizard .cta-control-group,#wizard .cta-font-group{display:grid;gap:16px;min-width:0}
#wizard .cta-control-group .field-grid,#wizard .cta-font-group .field-grid{gap:14px;margin:0}
#wizard .cta-control-group .cta-copy-tools{margin:0}
#wizard .cta-font-group .font-heading{margin:0}
#wizard .cta-font-group .font-heading strong{font-size:13px;font-weight:600}
#wizard .cta-font-group .font-heading button{font-size:11px}
#wizard .cta-font-group .font-file-button{justify-self:start}
#wizard .cta-font-group .font-catalog-status{min-height:0;margin:0;color:#706a77;font-size:11px;line-height:1.55}
#wizard .button-controls .cta-radius-control{margin:0}
#wizard .button-preview{align-self:start;min-width:0;min-height:240px;border-radius:13px}
#wizard .cta-mentions{padding:18px 20px;border-radius:15px;background:#fffdfa}
#wizard .assignment-search-block{display:grid;gap:8px;min-width:0}
#wizard .assignment-search-block>label{font-size:11px}
#wizard .assignment-search-box{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:9px;background:#fffefb}
#wizard .assignment-search-box:focus-within{outline:3px solid #9b83d6;outline-offset:4px}
#wizard .assignment-search-box #assignment-search{flex:1;width:100%;min-width:0;border:0;background:transparent;outline:none}
#wizard .assignment-search-box #assignment-search::-webkit-search-cancel-button{display:none;-webkit-appearance:none;appearance:none}
#wizard .assignment-search-box #assignment-search::-ms-clear{display:none}
#wizard .review-heading .eyebrow{margin:0 0 7px}
#wizard .review-stats{justify-content:space-between;gap:24px;margin:24px 0;padding-bottom:20px}
#wizard .review-stats>div{flex:1}
#wizard .review-stats strong{font:400 29px 'IBM Plex Serif',Georgia,serif}
#wizard .review-list-heading{margin:0 0 12px}
#wizard .review-format-list{gap:0;border:1px solid #dfdad1;border-radius:13px;overflow:hidden;background:#fffdfa}
#wizard .review-format-list .review-format{grid-template-columns:42px minmax(120px,1fr) minmax(120px,.65fr) minmax(120px,.75fr) auto 34px;gap:8px 14px;min-height:64px;padding:10px 16px;border:0;border-radius:0;border-bottom:1px solid #eee9e2;background:transparent}
#wizard .review-format-list .review-format:last-child{border-bottom:0}
#wizard .review-format-list .review-format>.format-preview-frame{width:40px;height:42px}
#wizard .review-format-list .review-format>.review-format-name{font-size:12px;overflow-wrap:anywhere}
#wizard .review-format-name small{display:block;margin-top:4px;color:#81798a;font-size:11px;font-weight:400}
#wizard .review-format-list .review-format>span:not(.format-issue),#wizard .review-format-list .review-format>small{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
#wizard .review-format-list .review-format>.format-issue{grid-column:2/-1;grid-row:2;color:#942e25;line-height:1.5;padding:0 0 3px;overflow-wrap:anywhere}
#wizard .review-format-list .review-format>.warning-text{grid-column:2/-1!important;grid-row:auto!important}
#wizard.briefing-reviewing{width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
#wizard.briefing-reviewing .wizard-header{padding:13px 24px;align-items:center}
#wizard.briefing-reviewing .wizard-content{padding:16px 24px}
#wizard.briefing-reviewing .wizard-footer{padding:13px 24px}
@media(max-width:850px){
 #wizard .review-format-list .review-format{grid-template-columns:42px minmax(0,1fr) auto 34px;gap:5px 10px}
 #wizard .review-format-list .review-format>.review-format-name{grid-column:2;grid-row:1}
 #wizard .review-format-list .review-format>span:not(.format-issue){grid-column:2;grid-row:2}
 #wizard .review-format-list .review-format>small:not(.warning-text){grid-column:2;grid-row:3}
 #wizard .review-format-list .review-format>.format-preview-frame{grid-column:1;grid-row:1/4}
 #wizard .review-format-list .review-format>.button{grid-column:3;grid-row:1/4}
 #wizard .review-format-list .review-format>.format-remove{grid-column:4;grid-row:1/4}
 #wizard .review-format-list .review-format>.format-issue{grid-column:2/-1;grid-row:4}
}
@media(max-width:700px){
 #wizard{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}
 #wizard .wizard-header{padding:18px 17px 0}
 #wizard .wizard-header h2{font-size:24px}
 #wizard .steps{gap:4px;margin-top:15px;padding:0 17px}
 #wizard .steps li button{min-height:52px;padding:7px 3px 9px;flex-direction:column;justify-content:center;text-align:center;gap:4px}
 #wizard .steps li button b{font-size:10px;line-height:1.2}
 #wizard .wizard-content{padding:22px 17px}
 #wizard .wizard-footer{padding:12px 17px;gap:7px}
 #wizard .wizard-footer-start,#wizard .wizard-footer-end{gap:7px}
 #wizard .wizard-footer .step-caption{display:none}
 #wizard .wizard-footer .button{font-size:11px;padding:9px 11px}
 #wizard .base-grid,#wizard .button-editor{grid-template-columns:1fr;gap:14px}
 #wizard .cover-field{flex-wrap:wrap}
 #wizard .cover-copy{flex:1 1 160px}
 #wizard .cta-toolbar{flex-direction:row;align-items:flex-end}
 #wizard .cta-panel-heading{flex-wrap:wrap}
 #wizard .briefing-card{padding:18px}
 #wizard .briefing-heading{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px}
 #wizard .briefing-symbol{width:40px;height:40px;border-radius:12px}
 #wizard .briefing-config{grid-column:2;justify-content:flex-start;max-width:none}
 #wizard .briefing-input-footer{align-items:flex-start;flex-direction:column}
 #wizard .briefing-reading-wrap{align-items:flex-start;flex-direction:column;gap:14px}
 #wizard .review-stats>div{flex-direction:row;align-items:center}
 #wizard.briefing-reviewing{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}
 #wizard.briefing-reviewing .wizard-header,#wizard.briefing-reviewing .wizard-footer{padding:10px 13px}
 #wizard.briefing-reviewing .wizard-content{padding:12px 13px}
}
@media(max-width:420px){
 #wizard .steps li:not(.current) button b{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 #wizard .wizard-footer .button{padding:8px;font-size:10px;white-space:normal;text-align:center}
 #wizard:not(.briefing-reviewing) .wizard-footer{display:grid;grid-template-columns:auto minmax(0,1fr)}
 #wizard:not(.briefing-reviewing) .wizard-footer-end{display:flex;width:100%;min-width:0;margin:0}
 #wizard:not(.briefing-reviewing) .wizard-footer-end .button{flex:1;min-width:0}
 #wizard:not(.briefing-reviewing) .wizard-footer-end .button.primary{flex:1.35}
 #wizard:not(.briefing-reviewing) .wizard-footer-start .button{min-width:0;padding-inline:7px}
 #wizard .dropzone{flex-wrap:wrap}
 #wizard .dropzone>.base-file-copy{flex:1 1 120px}
 #wizard .briefing-input-heading{align-items:flex-start;flex-direction:column}
 #wizard .briefing-upload{flex-wrap:wrap}
 #wizard .briefing-file-copy{flex:1 1 130px}
 #wizard .briefing-file-action{margin-left:48px}
 #wizard .briefing-reading{gap:12px}
 #wizard .cta-font-group .field-grid{grid-template-columns:minmax(0,1fr)}
 #wizard .review-format-list .review-format{grid-template-columns:34px minmax(0,1fr) auto;gap:6px}
 #wizard .review-format-list .review-format>.format-preview-frame{width:32px;height:40px}
 #wizard .review-format-list .review-format>.button{grid-column:2;grid-row:4;justify-self:start;margin-top:4px}
 #wizard .review-format-list .review-format>.format-remove{grid-column:3;grid-row:1/4}
 #wizard .review-format-list .review-format>.format-issue{grid-column:2/-1;grid-row:5}
 #wizard .review-format-list .review-format>.warning-text{grid-column:2/-1!important;grid-row:6!important}
 #wizard .review-stats{gap:10px}
 #wizard .review-stats>div{align-items:flex-start;flex-direction:column;gap:3px}
}

@media(max-width:380px){
 #wizard:not(.briefing-reviewing) .wizard-footer{grid-template-columns:minmax(0,1fr)}
 #wizard:not(.briefing-reviewing) .wizard-footer-start:has(.step-caption:only-child){display:none}
 #wizard:not(.briefing-reviewing) .wizard-footer-end .button{min-height:40px}
}
