.quick-create{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.quick-create a{border:1px solid #c5d2dc;border-radius:6px;padding:12px 18px;background:#fff;color:#0F2744;font-weight:700}.quick-create a:first-child{background:#0F2744;color:#fff}.editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:24px 0}.editor-heading h1{font-size:clamp(24px,3vw,36px);margin:8px 0}.editor-heading p{color:#405767}.v12-editor{max-width:none!important}.editor-mode{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f4f7fa;padding:12px;border:1px solid #d8e0e7;position:sticky;top:0;z-index:5}.editor-mode button{min-height:44px}.editor-mode [aria-pressed=true]{background:#0F2744;color:#fff}.editor-mode span{font-size:14px;color:#405767}.editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:20px}.editor-inputs{min-width:0}.v12-editor .field{margin-bottom:18px}.v12-editor input:not([type=checkbox]):not([type=color]),.v12-editor select,.v12-editor textarea{max-width:100%;box-sizing:border-box}.v12-editor #id_title{font-size:22px;font-weight:700}.v12-editor #id_body{font-size:17px;line-height:1.8;min-height:340px}.format-toolbar{display:flex;gap:4px;flex-wrap:wrap;border:1px solid #ccd8e2;padding:8px;background:#f4f7fa}.format-toolbar button{min-width:44px;min-height:44px;padding:8px}.editor-section,.inline-media{border-top:1px solid #cad7e1;padding:20px 0;margin:12px 0}.editor-section summary,.inline-media summary{font-size:19px;font-weight:700;cursor:pointer;min-height:44px}.editor-section .form-fields{margin-top:16px}.editor-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.editor-two>div{min-width:0}.editor-preview{position:sticky;top:80px;max-height:calc(100vh - 100px);overflow:auto;background:#e8eef3;border:1px solid #cdd9e3;padding:16px;box-sizing:border-box}.preview-frame{container-type:inline-size;background:white;margin:auto;width:100%;min-width:0}.editor-preview .cms-reading{max-width:100%;padding:24px}.editor-preview .cms-reading header{padding:0!important}.editor-preview .story-surface{margin:0}.v12-editor[data-mode=desktop] .editor-workspace{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)}.v12-editor[data-mode=mobile] .preview-frame{max-width:390px}.v12-editor[data-mode=mobile] .editor-preview{padding:12px}.type-presets{display:flex;gap:8px;flex-wrap:wrap}.save-bar{z-index:7;flex-wrap:wrap;gap:8px}.v12-editor .appearance-settings{margin:20px 0}.v12-editor .appearance-preview{max-width:100%}.source-list a{overflow-wrap:anywhere}.cms-reading figure{margin:24px 0}.cms-reading figcaption{font-size:14px;line-height:1.6;color:#526674}.story-surface{container-type:inline-size}.story-surface .cms-reading header h1{font-size:var(--fiw-title-size,44px)!important;font-weight:var(--fiw-title-weight,700)!important;line-height:1.22;overflow-wrap:anywhere}.story-surface .reading-body{font-size:var(--fiw-body-size,18px)!important;font-weight:var(--fiw-body-weight,400)!important;line-height:1.85}.story-surface .reading-body p,.story-surface .reading-body li{font-size:inherit;font-weight:inherit}.story-surface .reading-body h1,.story-surface .reading-body h2,.story-surface .reading-body h3{font-size:var(--fiw-heading-size,28px)!important;font-weight:var(--fiw-heading-weight,700)!important;line-height:1.4}.story-surface .reading-body h3{font-size:calc(var(--fiw-heading-size,28px) * .85)!important}.cms-card[data-type-custom] h3{font-size:var(--fiw-card-size,24px)!important;font-weight:var(--fiw-card-weight,700)!important}.fiw-video{position:relative;background:#0b1b2b;aspect-ratio:16/9;width:100%;overflow:hidden}.fiw-video.ratio-4-3{aspect-ratio:4/3}.fiw-video video{width:100%!important;height:100%!important;object-fit:contain!important;display:block}.fiw-video.fit-cover video{object-fit:cover!important}.fiw-video .video-toggle{position:absolute;right:12px;top:12px;background:#fff;color:#0F2744;border:1px solid #ccd9e4;min-height:44px;z-index:2}.fiw-video .video-status{position:absolute;left:12px;top:14px;max-width:65%;color:white;font-size:14px;text-shadow:0 1px 3px #000}.module-hero-media>.fiw-video{height:100%}.type-sample{font-size:20px}.v12-editor button:focus-visible,.quick-create a:focus-visible{outline:3px solid #327a80;outline-offset:3px}
@container(max-width:600px){.story-surface .cms-reading header h1{font-size:min(var(--fiw-title-size,44px),32px)!important}.story-surface .reading-body h1,.story-surface .reading-body h2{font-size:min(var(--fiw-heading-size,28px),26px)!important}.story-surface .reading-body{font-size:min(var(--fiw-body-size,18px),20px)!important}}
@media(max-width:700px){.editor-heading{display:block}.editor-workspace,.v12-editor[data-mode=desktop] .editor-workspace{display:block}.editor-preview{position:static;max-height:none;padding:8px}.v12-editor[data-mode=edit] .editor-preview{display:none}.v12-editor:not([data-mode=edit]) .editor-inputs{display:none}.editor-two{display:block}.v12-editor .form-fields{grid-template-columns:1fr}.editor-mode span{width:100%}.editor-preview .cms-reading{padding:16px}.quick-create a{flex:1 1 40%;padding:12px;font-size:15px}.story-surface .cms-reading header h1{font-size:min(var(--fiw-title-size,44px),32px)!important}.cms-card[data-type-custom] h3{font-size:min(var(--fiw-card-size,24px),25px)!important}.save-bar{position:sticky;bottom:0}.save-bar button{font-size:14px;padding:10px}.asset-dialog{max-width:calc(100vw - 24px);box-sizing:border-box}.v12-editor .brand-swatches{flex-wrap:wrap}.v12-editor .appearance-copy{min-width:0}.v12-editor .appearance-preview{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.fiw-video,.fiw-video *{animation:none!important;transition:none!important}}

.preview-card-sample{padding:20px;border-top:1px solid #ccd8e2}.preview-card-sample>h2{font-size:16px}.preview-card-sample .card-picture{display:none}.preview-card-sample .cms-card{display:block}.preview-card-sample .cms-card p{font-size:16px}

.template-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.template-controls select{width:auto;min-height:44px}.template-controls label{font-size:14px}
