
#fsRoot{position:fixed;inset:0;z-index:11000;background:#0b0b0e;color:#e8e8ee;display:none;flex-direction:column;font-family:inherit;}
.fs-head .fs-title{line-height:1.2;}
#fsRoot.open{display:flex;}
.fs-head{min-height:60px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;padding-top:max(12px,env(safe-area-inset-top));border-bottom:1px solid #252837;background:#0a0b12;flex-wrap:wrap;}
.fs-head>*{min-width:0;}
.fs-head-actions{display:flex;gap:8px;flex:0 0 auto;margin-left:auto;flex-wrap:wrap;justify-content:flex-end;}
.fs-head .fs-title{font-size:13px;font-weight:600;color:#F4F6FB;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:50vw;flex:1 1 auto;min-width:0;}
.fs-btn{background:#1a1a22;border:1px solid #2a2a34;color:#e8e8ee;border-radius:8px;padding:7px 12px;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-family:inherit;}
.fs-btn:hover{border-color:#2BD0C5;}
.fs-btn.primary{background:linear-gradient(135deg,#2BD0C5,#1FA8A0);border:none;color:#04243a;font-weight:700;}
.fs-btn.ghost{background:transparent;border:none;}
.fs-body{flex:1;display:flex;min-height:0;}
.fs-rail{width:62px;flex:0 0 62px;background:var(--surface-1);border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding-top:8px;gap:4px;}
.fs-rail button{width:54px;height:54px;border:none;background:transparent;color:var(--text-2);border-radius:var(--r-md);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9.5px;font-weight:500;line-height:1.15;font-family:inherit;}
.fs-rail button.active{background:var(--gradient-brand-soft);color:var(--text-1);}
.fs-rail button:hover{background:var(--surface-2);color:var(--text-1);}
.fs-panel{width:340px;flex:0 0 340px;border-right:1px solid #252837;overflow:auto;padding:14px;background:linear-gradient(#0c0c10 30%,rgba(12,12,16,0)) center top,linear-gradient(rgba(12,12,16,0),#0c0c10 70%) center bottom,radial-gradient(farthest-side at 50% 0,rgba(0,212,204,.25),rgba(0,0,0,0)) center top,radial-gradient(farthest-side at 50% 100%,rgba(0,212,204,.35),rgba(0,0,0,0)) center bottom;background-color:#0c0c10;background-repeat:no-repeat;background-size:100% 36px,100% 36px,100% 12px,100% 14px;background-attachment:local,local,scroll,scroll;}.fs-panel::-webkit-scrollbar{width:9px;}.fs-panel::-webkit-scrollbar-thumb{background:#2a2a34;border-radius:6px;border:2px solid #0c0c10;}.fs-panel::-webkit-scrollbar-thumb:hover{background:#2BD0C5;}
.fs-panel h4{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#7a7a90;margin:0 0 10px;font-weight:700;}
.fs-stage{flex:1;display:flex;flex-direction:column;min-width:0;background:#070709;}
.fs-preview-wrap{flex:1;display:flex;align-items:center;justify-content:center;position:relative;padding:18px;min-height:0;}
.fs-canvas{position:relative;background:#000;height:100%;max-height:64vh;aspect-ratio:9/16;border-radius:6px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.6);}
.fs-canvas video,.fs-canvas img{position:absolute;inset:0;width:100%;height:100%;object-fit:var(--fs-fit,cover);transform:scale(var(--fs-zoom,1));transform-origin:center center;background:#000;transition:transform .08s;}
.fs-ov{position:absolute;cursor:move;user-select:none;padding:4px 8px;font-weight:800;text-align:center;line-height:1.15;white-space:pre-wrap;max-width:84%;}
.fs-ov.sel{outline:2px solid #2BD0C5;outline-offset:2px;}
.fs-ovh{position:absolute;width:15px;height:15px;background:#2BD0C5;border:2px solid #fff;border-radius:50%;z-index:6;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.5);}
.fs-ovh-resize{right:-8px;bottom:-8px;cursor:nwse-resize;}
.fs-ovh-rot{left:50%;top:-30px;transform:translateX(-50%);cursor:grab;width:20px;height:20px;}
.fs-ovh-rot:active{cursor:grabbing;}
.fs-ovh-del{left:-8px;top:-8px;background:#ff5470;cursor:pointer;font-weight:800;color:#fff;font-size:12px;line-height:1;}
.fs-transport{height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;gap:14px;border-top:1px solid #252837;background:#0c0c10;}
.fs-zoomctl{display:flex;align-items:center;gap:6px;}
.fs-zbtn{width:24px;height:24px;border-radius:6px;border:1px solid #23232e;background:#16161e;color:#F4F6FB;font-size:14px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.fs-zbtn:hover{border-color:#2BD0C5;color:#2BD0C5;}
#fsFitBtn{width:auto;padding:0 9px;font-size:11px;font-weight:700;}
#fsZoomRange{width:96px;accent-color:#2BD0C5;}
.fs-transport .t{font-size:11px;color:#8a8aa0;font-variant-numeric:tabular-nums;}
.fs-play{width:34px;height:34px;border-radius:50%;background:#fff;border:none;color:#000;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.fs-tl{height:248px;flex:0 0 248px;background:#0a0a0e;border-top:1px solid #252837;overflow-x:auto;overflow-y:auto;position:relative;}.fs-tl::-webkit-scrollbar{height:10px;width:10px;}.fs-tl::-webkit-scrollbar-thumb{background:#2a2a34;border-radius:6px;border:2px solid #0a0a0e;}.fs-tl::-webkit-scrollbar-thumb:hover{background:#2BD0C5;}
.fs-ruler{height:24px;position:relative;border-bottom:1px solid #18181f;min-width:100%;background:#0c0c12;position:sticky;top:0;z-index:6;}
.fs-ruler span{position:absolute;top:4px;font-size:9px;color:#5a5a70;transform:translateX(-50%);}
.fs-track{height:44px;display:flex;align-items:center;border-bottom:1px solid #141419;position:relative;}.fs-track:hover{background:rgba(255,255,255,.012);}
.fs-track-lab{position:absolute;left:8px;top:50%;transform:translateY(-50%);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:#54546a;z-index:3;pointer-events:none;background:#0a0a0e;padding:2px 4px;border-radius:4px;}
.fs-clip{position:absolute;top:6px;bottom:6px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#fff;font-weight:600;overflow:hidden;cursor:pointer;border:1px solid rgba(255,255,255,.12);box-shadow:0 1px 3px rgba(0,0,0,.4);transition:filter .12s,outline .12s;white-space:nowrap;text-overflow:ellipsis;}.fs-clip:hover{filter:brightness(1.12);}
/* P8 clipping: trim bar (in/out handles + split) shown above the timeline for the selected clip/voiceover */
#fsTrimBar{background:#0d0d13;border:1px solid #23232e;border-radius:10px;margin:6px 10px 2px;padding:8px 10px 6px;position:relative;z-index:5;}
.fs-trimhead{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#F4F6FB;margin-bottom:6px;}
.fs-trimhead b{font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#2BD0C5;}
.fs-trimhead span{color:#8a8aa0;font-size:10.5px;}
.fs-trimtrack{position:relative;height:34px;border-radius:8px;background:#17171f;border:1px solid #23232e;overflow:visible;touch-action:none;}
.fs-trimkeep{position:absolute;top:3px;bottom:3px;border-radius:6px;background:linear-gradient(135deg,rgba(43,208,197,.55),rgba(26,138,204,.55));border:1px solid rgba(43,208,197,.5);cursor:pointer;}
.fs-trimkeep.sel{background:linear-gradient(135deg,#2BD0C5,#1FA8A0);border-color:#fff;}
.fs-trimhandle{position:absolute;top:-5px;bottom:-5px;width:14px;border-radius:5px;background:#fff;cursor:ew-resize;touch-action:none;z-index:6;box-shadow:0 1px 4px rgba(0,0,0,.5);}
.fs-trimhandle:after{content:'';position:absolute;inset:-8px -12px;}/* generous finger target */
.fs-trimhandle.in{left:-7px;}.fs-trimhandle.out{right:-7px;}
.fs-trimhandle:before{content:'';position:absolute;left:5px;right:5px;top:9px;bottom:9px;border-left:1.5px solid #0a0a0e;border-right:1.5px solid #0a0a0e;}
.fs-trimbtns{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;}
.fs-trimbtns .fs-btn{font-size:11px;padding:5px 9px;}
.fs-trimhint{font-size:10px;color:#5a5a70;margin-top:6px;}
@media (max-width:700px){ .fs-trimtrack{height:42px;} .fs-trimhandle{width:20px;} .fs-trimhandle.in{left:-10px;} .fs-trimhandle.out{right:-10px;} }
.fs-clip.sel{border:2px solid #fff;}.fsvc{cursor:grab;}.fsvc:active{cursor:grabbing;}.fsvc-trim{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:ew-resize;background:rgba(255,255,255,.35);border-radius:0 5px 5px 0;}.fsvc-del{position:absolute;top:2px;right:11px;font-size:10px;color:#fff;background:rgba(0,0,0,.5);border-radius:4px;padding:1px 4px;cursor:pointer;opacity:.65;transition:opacity .12s,background .12s;}.fsvc:hover .fsvc-del{opacity:1;}.fsvc-del:hover{opacity:1 !important;background:#ef4444;}.fsov{cursor:grab;}.fsov:active{cursor:grabbing;}.fsov-trim{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:ew-resize;background:rgba(255,255,255,.4);border-radius:0 6px 6px 0;}.fsov-del{right:13px;}.fsov:hover .fsov-del{opacity:1;}
.fs-transchip{position:absolute;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;border-radius:50%;border:1px solid #2E7CF6;background:#0a0a0e;color:#6EA8FF;font-size:12px;line-height:1;cursor:pointer;z-index:6;display:flex;align-items:center;justify-content:center;padding:0;box-shadow:0 1px 4px rgba(0,0,0,.5);transition:transform .12s,background .12s;}.fs-transchip:hover{transform:translate(-50%,-50%) scale(1.18);background:#101B31;}.fs-transchip.on{background:linear-gradient(135deg,#2E7CF6,#2BD0C5);color:#fff;border-color:transparent;}
.fs-playhead{position:absolute;top:0;bottom:0;width:2px;background:#ff4d6a;z-index:7;pointer-events:none;box-shadow:0 0 6px rgba(255,77,106,.6);}
.fs-playhead::before{content:'';position:absolute;top:0;left:-6px;width:14px;height:14px;background:#ff4d6a;border-radius:50%;box-shadow:0 0 0 2px #0a0a0e;}
.fs-icbtn{width:30px;height:30px;border-radius:8px;background:#1c1f2b;border:1px solid #2a2a34;color:#F4F6FB;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}.fs-icbtn:hover{border-color:#2BD0C5;color:#2BD0C5;}.fs-icbtn.on{background:#2BD0C5;border-color:#2BD0C5;color:#04243a;}
.fs-mini{display:block;width:100%;border-radius:6px;overflow:hidden;cursor:pointer;border:1px solid #22222c;margin-bottom:8px;aspect-ratio:9/16;object-fit:cover;background:#000;}
.fs-input{width:100%;background:#1c1f2b;border:1px solid #2a2a34;border-radius:8px;padding:8px 10px;color:#e8e8ee;font-size:12px;font-family:inherit;outline:none;box-sizing:border-box;}.fs-input::-webkit-calendar-picker-indicator{filter:invert(1) opacity(.6);cursor:pointer;}input.fs-input[type=date],input.fs-input[type=time]{color-scheme:dark;}.fs-besttime{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px;}.fs-besttime button{font-size:10px;padding:4px 8px;border-radius:6px;background:#1c1f2b;border:1px solid #2a2a34;color:#9fb0c0;cursor:pointer;}.fs-besttime button:hover{border-color:#2BD0C5;color:#2BD0C5;}.fs-besttime button.peak{border-color:#2BD0C5;color:#04243a;background:#2BD0C5;font-weight:700;}
.fs-row{display:flex;gap:8px;align-items:center;margin-bottom:8px;flex-wrap:wrap;}
.fs-stickgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;}
.fs-stickgrid button{font-size:22px;background:#1c1f2b;border:1px solid #2a2a34;border-radius:8px;padding:6px;cursor:pointer;}
.fs-swatch-custom{position:relative;width:26px;height:26px;border-radius:6px;border:1px dashed #34343f;display:inline-flex;align-items:center;justify-content:center;color:#A8B0C2;cursor:pointer;overflow:hidden;}
.fs-swatch-custom input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;padding:0;}
.fs-swatch-custom:hover{border-color:#2BD0C5;color:#2BD0C5;}
.brand-swatches{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center;}
.brand-swatch{position:relative;width:34px;height:34px;border-radius:8px;border:1px solid var(--border);box-shadow:0 1px 3px rgba(0,0,0,.3);cursor:default;}
.brand-swatch button{position:absolute;top:-6px;right:-6px;width:16px;height:16px;border-radius:50%;background:#ef4444;color:#fff;border:2px solid var(--bg);font-size:9px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;}
.brand-swatch-add{width:34px;height:34px;border-radius:8px;border:1px dashed var(--border);display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);cursor:pointer;position:relative;overflow:hidden;}
.brand-swatch-add:hover{border-color:var(--cyan);color:var(--cyan);}
.brand-swatch-add input{position:absolute;inset:0;opacity:0;cursor:pointer;}
.fs-asset{display:flex;flex-direction:column;align-items:center;gap:4px;background:#1c1f2b;border:1px solid #2a2a34;border-radius:10px;padding:8px;cursor:pointer;width:78px;box-sizing:border-box;overflow:hidden;}
.fs-asset:hover{border-color:#2BD0C5;}
.fs-asset img,.fs-asset video{width:48px;height:48px;object-fit:cover;background:#0b0b0e;border-radius:6px;display:block;}
.fs-asset span{font-size:10px;color:#A8B0C2;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;}
.fs-seg{display:flex;background:var(--surface-3,#121218);border:1px solid var(--border-strong,#23232c);border-radius:10px;padding:3px;gap:3px;margin-bottom:10px;}
.fs-seg button{flex:1;padding:7px;border:none;background:transparent;color:var(--text-2,#A8B0C2);border-radius:7px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;}
[data-theme="dark"] .fs-seg button{color:var(--text-muted,#A8B0C2);}
.fs-seg button.on{background:var(--brand-cyan,#2BD0C5);color:#04243a;box-shadow:0 1px 3px rgba(11,15,26,.14);}
.fs-seg-lg button{padding:11px;font-size:13px;}
.fs-composer{background:#15151d;border:1px solid #2a2a34;border-radius:14px;padding:12px;}
.fs-composer-input{width:100%;background:#0f0f16;border:1px solid #23232c;border-radius:10px;padding:11px 12px;color:#e8e8ee;font-size:13px;font-family:inherit;outline:none;box-sizing:border-box;resize:vertical;min-height:70px;}
.fs-composer-input:focus{border-color:#2BD0C5;}
.fs-composer-opts{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0;}
.fs-generate{width:100%;display:flex;align-items:center;justify-content:center;padding:12px;border:none;border-radius:11px;background:linear-gradient(90deg,#2E7CF6,#2BD0C5);color:#fff;font-weight:800;font-size:13.5px;cursor:pointer;font-family:inherit;transition:filter .15s,transform .05s;}
.fs-generate:hover{filter:brightness(1.08);}
.fs-generate:active{transform:translateY(1px);}
.fs-chip.on{border-color:#2BD0C5;color:#2BD0C5;background:rgba(43,208,197,.1);}
.fs-refmenu-item{display:block;width:100%;text-align:left;background:transparent;border:none;border-radius:7px;padding:8px 10px;color:#e8e8ee;font-size:12.5px;cursor:pointer;font-family:inherit;}
.fs-refmenu-item:hover{background:#23232c;color:#2BD0C5;}

/* -- Studio Forge AI model-selector card (OpenArt-beating: icon + real name + Great for) -- */
.fs-modelcard{width:100%;display:flex;align-items:center;gap:11px;background:#15151d;border:1px solid #2a2a34;border-radius:13px;padding:11px 12px;cursor:pointer;font-family:inherit;text-align:left;transition:border-color .15s,background .15s;margin-bottom:12px;}
.fs-modelcard:hover{border-color:#3a3a48;background:#181820;}
.fs-modelcard.open{border-color:#2BD0C5;}
.fs-modelcard-ic{flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,rgba(46,124,246,.22),rgba(43,208,197,.22));display:flex;align-items:center;justify-content:center;color:#2BD0C5;}
.fs-modelcard-tx{flex:1;min-width:0;}
.fs-modelcard-tx b{display:block;font-size:13px;font-weight:800;color:#F4F6FB;line-height:1.25;}
.fs-modelcard-tx i{display:block;font-size:10.5px;font-style:normal;color:#9fb0c0;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fs-modelcard-caret{flex:0 0 auto;color:#6a6a80;transition:transform .15s;}
.fs-modelcard.open .fs-modelcard-caret{transform:rotate(180deg);}
.fs-modelmenu{background:#121218;border:1px solid #2a2a34;border-radius:13px;padding:6px;margin:-6px 0 12px;box-shadow:0 14px 40px rgba(0,0,0,.5);}
.fs-modelopt{width:100%;display:flex;align-items:center;gap:11px;background:transparent;border:none;border-radius:10px;padding:9px 10px;cursor:pointer;font-family:inherit;text-align:left;}
.fs-modelopt:hover{background:#1c1f2b;}
.fs-modelopt.sel{background:rgba(43,208,197,.08);}
.fs-modelopt-ic{flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:#1c1f2b;display:flex;align-items:center;justify-content:center;color:#2BD0C5;}
.fs-modelopt-tx{flex:1;min-width:0;}
.fs-modelopt-tx b{display:block;font-size:12.5px;font-weight:700;color:#F4F6FB;}
.fs-modelopt-tx span{display:block;font-size:10.5px;color:#8a8aa0;margin-top:1px;}
.fs-modelopt-chk{flex:0 0 auto;color:#2BD0C5;}
.fs-cost{font-size:11px;color:#9fb0c0;background:#121218;border:1px solid #23232c;border-radius:8px;padding:7px 10px;margin:0 0 10px;display:flex;align-items:center;gap:6px;}
.fs-cost b{color:#2BD0C5;font-weight:800;}
.fs-cost.low b{color:#f0a020;}

.fs-chatbar{background:#121218;border:1px solid #2a2a34;border-radius:12px;padding:8px;margin-bottom:6px;}
.fs-chatbar textarea{width:100%;background:transparent;border:none;outline:none;color:#e8e8ee;font-size:13px;font-family:inherit;resize:none;box-sizing:border-box;padding:4px 4px 2px;}
.fs-chatbar-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:4px;}
.fs-chatbar-opts{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.fs-chip,.fs-chip.ghost{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#2BD0C5;background:rgba(0,212,204,.1);border:1px solid rgba(0,212,204,.4);border-radius:20px;padding:4px 10px;cursor:pointer;white-space:nowrap;}
.fs-chip.ghost{color:#A8B0C2;background:#1c1f2b;border:1px dashed #34343f;}
.fs-chip button{background:none;border:none;color:inherit;cursor:pointer;font-size:11px;padding:0;line-height:1;}
.fs-chip-sel{font-size:11px;color:#F4F6FB;background:#1c1f2b;border:1px solid #2a2a34;border-radius:20px;padding:4px 8px;font-family:inherit;outline:none;cursor:pointer;}
.fs-send{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#2BD0C5;color:#04243a;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.fs-send:hover{filter:brightness(1.08);}.fs-send:disabled{opacity:.6;cursor:default;}
.fs-aspect{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#121218;border:1px solid #23232c;border-radius:10px;padding:8px 10px;margin-bottom:6px;cursor:pointer;color:#F4F6FB;font-family:inherit;}
.fs-aspect:hover{border-color:#1FA8A0;}
.fs-aspect.on{border-color:#2BD0C5;background:rgba(0,212,204,.08);}
.fs-aspect.locked{opacity:.72;}
.fs-aspect-ic{flex:0 0 auto;width:22px;border:2px solid #6a6a82;border-radius:3px;}
.fs-aspect.on .fs-aspect-ic{border-color:#2BD0C5;}
.fs-aspect-tx{display:flex;flex-direction:column;line-height:1.25;flex:1;}
.fs-aspect-tx b{font-size:12px;color:#e8e8ee;font-weight:700;}
.fs-aspect-tx i{font-size:10px;color:#8a8aa0;font-style:normal;}
.fs-aspect-chk{color:#2BD0C5;font-weight:800;}
.fs-pro{font-size:9px;font-weight:800;letter-spacing:.04em;background:#f5f0e8;color:#0b0b0e;border-radius:5px;padding:2px 6px;text-transform:uppercase;}
@media(max-width:760px){
  .fs-body{flex-direction:column;}
  .fs-stage{order:1;width:100%;}
  .fs-canvas{max-height:42vh;}
  .fs-panel{order:2;width:100%;flex:0 0 auto;max-height:34vh;border-right:none;border-top:1px solid #252837;padding:12px;}
  .fs-rail{order:3;width:100%;flex:0 0 auto;height:auto;flex-direction:row;justify-content:flex-start;align-items:center;border-right:none;border-top:1px solid #252837;padding:6px 8px;gap:6px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;}
  .fs-rail button{flex:0 0 auto;}
  .fs-tl{height:160px;flex-basis:160px;}
  .fsvc-del,.fsov-del{opacity:1 !important;}
  .fs-clip{font-size:11px;} .fs-track-lab{font-size:9px;} .fs-ruler span{font-size:9px;}
  .fs-head{padding:0 12px;} .fs-head .fs-title{max-width:38vw;}
  .fs-head .fs-btn{padding:7px 10px;}
}
@media(max-width:480px){
  .fs-canvas{max-height:38vh;} .fs-panel{max-height:30vh;}
  .fs-head .fs-btn span{display:none;} /* keep icons, drop labels to fit */
}

/* Publishing failure notice on a post card.
   The message was styled for a dark surface — light pink text (#fecaca) on a translucent dark red —
   but the portal ships LIGHT by default (theme-boot.js sets data-theme="light" before first paint).
   Over a white card that translucent red renders as pale pink, so pale pink text sat on pale pink and
   the reason a post failed was invisible in the default theme. A customer could see that publishing
   failed and not what went wrong.
   Both themes are now stated explicitly rather than one being assumed. */
.post-publish-error{
  margin:0 0 10px;padding:9px 10px;border-radius:8px;
  font-size:11px;line-height:1.45;
  border:1px solid #fca5a5;background:#fef2f2;color:#7f1d1d;
}
.post-publish-error strong{color:#991b1b;}
[data-theme="dark"] .post-publish-error{
  border-color:rgba(248,113,113,.4);background:rgba(127,29,29,.35);color:#fecaca;
}
[data-theme="dark"] .post-publish-error strong{color:#fee2e2;}
