/* Shared refinements are isolated from Mustamsakati and from desktop editor arrangements. */
.pricing-desk-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:12px 0}.pricing-desk-tools>span{display:grid;justify-items:center;gap:4px;font-size:11px}.pricing-desk-tools small{font-size:10px}.bento-en-badge{white-space:normal;overflow-wrap:anywhere}
.tool-fullscreen{display:none!important}.tool-currency-dialog,.office-formula-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--border);border-radius:16px;padding:16px;background:var(--surface);color:var(--text)}.tool-currency-dialog::backdrop,.office-formula-dialog::backdrop{background:#07142c99}.tool-currency-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tool-currency-options button{min-height:42px;padding:5px;font:inherit;font-size:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px}
@media(max-width:900px){
 body.demo-scope:not(.demo-mustamsak-scope) .tool-fullscreen{display:inline-flex!important;min-width:34px;min-height:34px;padding:6px}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-inner{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-copy{min-width:0;flex:1;gap:4px}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-copy strong{font-size:13px!important;line-height:1.4;overflow-wrap:anywhere}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-sub,body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-actions .demo-cta-btn{display:none}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-actions{flex:none;gap:4px!important}
 .tool-window-fullscreen .site-header,.tool-window-fullscreen .site-footer{display:none!important}
 .tool-window-fullscreen .demo-banner{position:sticky;top:0;z-index:300}
 .cre-assist-scope .demo-stage-head{gap:8px;margin-bottom:10px}.cre-assist-scope .demo-stage-head h1{font-size:18px}.cre-assist-scope .demo-stage-head p{font-size:12px;line-height:1.6;margin:4px 0}.cre-assist-scope .assist-local-note{font-size:11px!important;padding:8px!important;line-height:1.6!important}.cre-assist-scope .cre-assist-form{padding:12px}.cre-assist-scope .form-field{margin-bottom:10px}.cre-assist-scope .form-field>span{font-size:12px}.cre-assist-scope .cre-logo-types{grid-template-columns:repeat(4,minmax(0,1fr))}.cre-assist-scope .cre-logo-type{min-width:0;padding:5px}.cre-assist-scope .cre-logo-type small{font-size:10px;white-space:normal}.cre-assist-scope .demo-creative-actions{gap:5px}.cre-assist-scope .demo-creative-actions .btn{min-height:34px;padding:6px 9px;font-size:11px}
 body.demo-cv-scope .demo-main{padding-top:12px!important}.demo-cv-scope .demo-stage-head h1{font-size:20px}.demo-cv-scope .demo-stage-head p{font-size:12px;line-height:1.6}.demo-cv-scope .panel{padding:12px}.demo-cv-scope .demo-stage-head{margin-bottom:12px}.demo-cv-scope .cv-template-grid{gap:8px}.demo-cv-scope .demo-banner-copy .chip{display:none}
 body.demo-cv-scope>.site-header{position:relative!important;top:auto!important;margin-block:4px!important}.demo-cv-scope .demo-banner{position:relative!important;top:auto!important}
 .demo-cv-scope .demo-page-wrapper{padding-top:0!important}.demo-cv-scope .demo-cv-gallery{gap:14px}.demo-cv-scope .demo-cv-section{padding:12px}.demo-cv-scope .demo-cv-section-head{gap:7px;margin-bottom:8px}.demo-cv-scope .demo-cv-section-head h2{font-size:14px;line-height:1.5}.demo-cv-scope .demo-cv-section-head p{font-size:11px;line-height:1.6;margin:3px 0}.demo-cv-scope .demo-cv-pair{display:grid;grid-template-columns:1fr;gap:7px}.demo-cv-scope .demo-cv-sample-body{max-height:390px;padding:5px}.demo-cv-scope .demo-cv-sample-label{padding:6px;font-size:11px}.demo-cv-scope .demo-cv-sample-body .cv-sheet-stack{zoom:.42;min-width:210mm}.demo-cv-scope .v26-cv-tabs{display:flex;gap:5px;margin-bottom:7px}.demo-cv-scope .v26-cv-tabs button{flex:1;min-height:30px;font-size:11px}.demo-cv-scope .demo-cv-sample.v26-cv-hidden{display:none}
}
@media(prefers-reduced-motion:reduce){.tool-fullscreen,.cre-assist-scope *{scroll-behavior:auto!important}}

.office-ai-confirm{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 30px);overflow:auto;border:1px solid var(--border);border-radius:16px;padding:18px;background:var(--surface);color:var(--text)}.office-ai-confirm::backdrop{background:#07142c99}.office-ai-confirm textarea{width:100%;min-height:150px;resize:vertical;margin-block:10px}.office-ai-confirm>div{display:flex;gap:8px;flex-wrap:wrap}.office-project-list{display:grid;gap:8px;margin-block:12px}.office-project-status{font-size:12px;padding:8px;border-radius:8px;background:var(--surface);color:var(--text)}.office-project-status.is-error{color:#b91c1c}
/* Inline mobile Back/fullscreen must override the legacy off-canvas banner actions. */
@media(max-width:900px){
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-actions{position:static!important;inset:auto!important;transform:none!important;transition:none!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important;width:auto!important;overflow:visible!important;justify-content:center!important;flex-direction:row!important;align-items:center!important}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-actions>.nav-close,body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-burger,body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-actions .mobile-only-chip{display:none!important}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-copy{min-width:0!important;overflow:hidden!important}
 body.demo-scope:not(.demo-mustamsak-scope) .demo-banner-copy strong{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.45!important}
}
.creative-print-output{display:none}
@media print{
 body.creative-printing>*:not(.creative-print-output){display:none!important}
 body.creative-printing,body.creative-printing html{margin:0!important;padding:0!important;background:white!important}
 body.creative-printing .creative-print-output{display:block!important;width:100%;margin:0}
 body.creative-printing .creative-print-output img{display:block;width:100%;height:auto;max-height:100vh;object-fit:contain}
}

.pricing-excluded{filter:grayscale(1);opacity:.55}.creative-plan-note{padding:18px;line-height:1.8;color:var(--text-soft)}
@media(max-width:640px){#sub-modal-backdrop .sub-modal{padding:14px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);overflow-y:auto}#sub-modal-backdrop input,#sub-modal-backdrop select{min-width:0;width:100%}#sub-modal-backdrop .sub-modal-head strong{font-size:20px}#sub-modal-backdrop .form-field{margin-bottom:9px}.stitch-mobile-bottom-bar .mobile-dock-item span{font-size:9px;overflow-wrap:anywhere}}

@media(max-width:640px){#sub-modal-backdrop .sub-modal-body,#sub-modal-backdrop .sub-modal-head{padding:12px}#sub-modal-backdrop .sub-modal-body>.form-grid{grid-template-columns:1fr}#sub-modal-backdrop .sub-modal-body>div{min-width:0}#sub-modal-backdrop .sub-modal-head strong{font-size:17px!important}}

#simple-open-full{min-height:44px;white-space:normal;line-height:1.3;text-align:center;max-width:130px}.simple-mode-dialog>button{min-height:44px;margin:4px}.simple-mode-dialog p{line-height:1.7;overflow-wrap:anywhere}@media(max-width:420px){#simple-open-full{max-width:95px;font-size:12px;padding:6px}}

.simple-mode-action{align-self:flex-start;margin-inline-start:auto;flex-shrink:0}
