#s53Dialog{position:fixed;inset:0;width:100dvw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:#f7f9fc;color:#142b44;display:flex;flex-direction:column;font:14px system-ui;overflow:hidden}#s53Dialog::backdrop{background:#0c203b}#s53Dialog:not([open]){display:none}.s53head,.s53foot{display:flex;align-items:center;gap:12px;flex:none;padding:10px 14px;background:white;border-bottom:1px solid #dae3ed}.s53headright{display:flex;gap:6px;margin-left:auto}.s53brand{min-width:0}.s53brand b{letter-spacing:.04em;display:block;font-size:16px}.s53brand b span{color:#1670d1}.s53brand small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#63768a;max-width:40vw}.s53btn{padding:8px 11px;border:1px solid #d5e1ee;border-radius:8px;background:#fff;color:#243b54;cursor:pointer;font:600 12px system-ui;white-space:nowrap}.s53btn.active,.s53btn.primary{background:#1268c7;color:#fff;border-color:#1268c7}.s53btn.danger{color:#b42318}.s53layout{display:grid;grid-template-columns:245px minmax(0,1fr) 255px;min-height:0;flex:1}.s53library,.s53inspector{overflow:auto;background:white;min-height:0;border-right:1px solid #dae3ed;overscroll-behavior:contain}.s53inspector{border-right:0;border-left:1px solid #dae3ed}.s53section{padding:14px;border-bottom:1px solid #e4ebf2}.s53section h2{font-size:17px;margin:5px 0 12px}.s53section h3{font-size:15px;margin:7px 0 12px}.s53section small{font-size:10px;letter-spacing:.09em;color:#607b97;font-weight:700}.s53section p{font-size:12px;color:#63768a}.s53section label{font-size:11px;display:block;margin:8px 0;color:#47627e}.s53section input,.s53section select{box-sizing:border-box;width:100%;border:1px solid #d7e2ee;background:#f8fafd;border-radius:7px;padding:8px;color:#18324e;font-size:13px;margin-top:5px}.s53section input[type=color]{height:35px;padding:4px}.s53tile{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:9px 12px;border:0;border-bottom:1px solid #e9eef4;background:white;color:#21384e;cursor:pointer}.s53tile:hover,.s53object.selected{background:#e8f2ff}.s53tile span{background:#e9eff5;color:#2c649c;width:35px;height:35px;border-radius:7px;display:grid;place-items:center;font-size:24px;flex:none}.s53tile b,.s53tile small{display:block;font-size:12px}.s53tile small{font-size:10px;color:#698096;margin-top:2px}.s53tile strong{margin-left:auto;color:#1869bf}.s53stage{position:relative;min-height:0;min-width:0;overflow:hidden;background:#edf2f6}#s53Canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.s53floats{position:absolute;top:36px;right:12px;display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end;max-width:95%}.s53status{position:absolute;bottom:34px;left:12px;right:12px;padding:9px;background:#ffffffeb;border:1px solid #d3dfeb;border-radius:8px;font-size:11px;pointer-events:none}.s53metrics,.s53fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}.s53metrics div{background:#edf4fc;padding:8px;border-radius:7px}.s53metrics b{display:block;font-size:14px;margin-top:4px}.s53actions{display:flex;flex-wrap:wrap;gap:5px}.s53object{display:flex;width:100%;align-items:center;gap:7px;padding:7px;border:0;background:white;border-bottom:1px solid #e5edf3;color:#21384e;text-align:left;font-size:12px}.s53object i{display:block;width:12px;height:12px;border-radius:3px}.s53foot{justify-content:space-between;border-top:1px solid #dae3ed;border-bottom:0;font-size:11px;color:#65788d}.s53export{position:absolute;top:58px;right:12px;background:white;border:1px solid #cbd9e9;border-radius:10px;box-shadow:0 12px 32px #162d4a30;z-index:5;overflow:hidden}.s53export[hidden]{display:none}.s53export button{display:block;padding:12px 15px;background:white;border:0;border-bottom:1px solid #e9edf2;width:100%;text-align:left;color:#21384e;font:13px system-ui;cursor:pointer}@media(max-width:1000px){.s53layout{grid-template-columns:185px minmax(0,1fr) 205px}}@media(max-width:760px){.s53head{flex-wrap:wrap;padding:7px;gap:6px}.s53headright{margin-left:0}.s53brand small{max-width:60vw}.s53layout{grid-template-columns:1fr 1fr;grid-template-rows:minmax(230px,1fr) minmax(120px,.65fr)}.s53stage{grid-row:1;grid-column:1/-1}.s53library{grid-row:2;grid-column:1}.s53inspector{grid-row:2;grid-column:2}.s53section{padding:9px}.s53foot span{max-width:55%;font-size:10px}.s53floats{top:29px}.s53headright .s53btn{padding:7px 9px}.s53status{bottom:30px}.s53export{top:85px}}
/* Isolate from the existing app's global aside/main theme. */
#s53Dialog .s53layout{grid-template-rows:minmax(0,1fr);overflow:hidden}#s53Dialog .s53library,#s53Dialog .s53inspector{position:static;width:auto;height:auto;min-height:0;max-height:none;padding:0;margin:0;display:block;background:#fff;color:#142b44;box-shadow:none}#s53Dialog .s53stage{padding:0;margin:0;width:auto;height:100%;min-height:0;max-height:100%;max-width:none;display:block}#s53Dialog h2,#s53Dialog h3,#s53Dialog b,#s53Dialog strong{color:#16344f}#s53Dialog .s53head,#s53Dialog .s53foot{flex-shrink:0}#s53Dialog .s53foot{position:relative;inset:auto}#s53Dialog .s53tile strong{color:#1869bf}#s53Dialog .s53metrics b{color:#16344f}#s53Dialog .s53brand small{color:#63768a}@media(max-width:760px){#s53Dialog .s53layout{grid-template-rows:minmax(180px,1fr) minmax(100px,.7fr)}}
