/* 9inety6ix App Studio visual editor — no global styles changed. */
.studio-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:15px}
.studio-kicker{font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--orange)}
.studio-title-row h2{font-size:27px;margin:6px 0 2px;letter-spacing:-.04em}
.studio-subtitle{font-size:12px;color:var(--muted);max-width:680px}
.studio-title-actions,.studio-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.studio-note{border:1px solid #48556a;background:#182c3b;border-radius:10px;padding:11px 14px;color:#b7cee1;font-size:12px;margin-bottom:15px}
.studio-note strong{color:#ffca7a}
.studio-message{padding:11px 14px;border-radius:9px;background:#1b3543;border:1px solid #2b5366;margin:10px 0;font-size:12px;color:#dbf2ff}
.studio-message.good{border-color:#33795f;background:#143e38;color:#baf0dd}
.studio-message.warn{border-color:#93713d;background:#463621;color:#ffe3a1}
.studio-message.bad{border-color:#8d484d;background:#482830;color:#ffd2d6}
.studio-layout{display:grid;grid-template-columns:190px minmax(365px,1fr) 315px;gap:14px;align-items:start}
#studioWorkspace{min-width:0}
.studio-pages,.studio-work,.studio-preview{min-width:0;background:#0d1f30;border:1px solid #29455a;border-radius:15px;padding:15px}
.studio-pages{position:sticky;top:12px;padding:13px 9px}
.studio-preview{position:sticky;top:12px;padding:16px 10px}
.studio-panel-head,.studio-work-head,.studio-blocks-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.studio-panel-head h3,.studio-blocks-head h3,.studio-phone-head h3{font-size:14px;font-weight:750;margin:0}
.studio-section-label{font-size:10px;letter-spacing:.08em;color:#90abbf;font-weight:800;text-transform:uppercase;padding:17px 8px 8px}
.studio-page-item{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:9px;color:#dfebf5;padding:10px 11px;font-size:12px;margin-bottom:2px}
.studio-page-item:hover,.studio-page-item.selected{background:#142e41;border-color:#365b73}
.studio-page-item.selected{border-left:3px solid var(--orange)}
.studio-page-title{font-weight:750;overflow-wrap:anywhere}
.studio-page-item small{font-size:9px;letter-spacing:.09em;color:#82a8be;font-weight:800}
.studio-work-head h3{font-size:18px;margin:0}
.studio-page-meta{display:block;font-size:10px;color:#8ca8ba;margin:5px 0}
.studio-work-subtitle{font-size:11px;color:#9db5c5;margin-bottom:13px}
.studio-icon-button{border:1px solid #3d5a70;background:#163045;border-radius:8px;color:#e5f4ff;min-width:28px;padding:6px 8px;font-size:13px}
.studio-icon-button:hover{background:#26475f}
.studio-theme{border:1px solid #345069;border-radius:9px;background:#102639;padding:10px 12px;margin:10px 0}
.studio-theme summary{cursor:pointer;font-size:12px;font-weight:700;color:#b9d7e5}
.studio-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:4px 12px;padding:10px 0}
.studio-field{display:flex;flex-direction:column;gap:5px;color:#c6dae9;font-size:11px;font-weight:700;margin:10px 0}
.studio-field input,.studio-field textarea,.studio-field select{width:100%;font-size:12px;margin:0}
.studio-field input[type=color]{height:40px;padding:2px;background:#0d2334}
.studio-palette{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0 16px}
.studio-palette-title{width:100%;font-size:10px;font-weight:850;color:#92b4ca;letter-spacing:.13em;margin-bottom:3px}
.studio-add-button{border:1px dashed #43667e;color:#d4e4ef;background:#122a3c;padding:8px 10px;border-radius:7px;font-size:11px;font-weight:700}
.studio-add-button:hover{border-color:#ff9e52;background:#253948}
.studio-blocks-head{padding:3px 0 10px}
.studio-blocklist{display:grid;gap:7px}
.studio-block{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #34566a;background:#10283a;border-radius:10px;padding:5px}
.studio-block.selected{border-color:#ff9435;background:#243243}
.studio-block-select{flex:1;border:0;background:transparent;text-align:left;color:#d8e8f6;padding:8px 6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.studio-block-actions{display:flex;gap:4px}
.studio-inspector{border:1px solid #365c70;background:#122d41;border-radius:10px;padding:13px;margin:15px 0 2px}
.studio-inspector:empty{display:none}
.studio-hint{font-size:11px;color:#91b2c9}
.studio-upload{border:1px dashed #486b82;border-radius:8px;padding:11px;margin-top:10px}
.studio-upload input[type=file]{padding:8px 0;width:100%;font-size:10px}
.studio-empty{padding:35px 15px;color:#8cacbf;text-align:center;border:1px dashed #345269;border-radius:10px;font-size:12px}
.studio-phone-head{text-align:center;margin-bottom:10px}
.studio-device{width:100%;max-width:292px;margin:0 auto;padding:10px;border-radius:32px;border:2px solid #506678;box-shadow:0 18px 32px #0007;background:#030912}
.studio-screen{min-height:530px;max-height:700px;overflow-y:auto;overflow-x:hidden;border-radius:23px;background:#091522;padding:25px 15px 30px;color:#fbfaff;font-family:system-ui,Arial,sans-serif}
.studio-screen.font-serif{font-family:Georgia,'Times New Roman',serif}
.studio-screen.font-rounded{font-family:'Trebuchet MS',Arial,sans-serif}
.studio-screen.font-mono{font-family:ui-monospace,Consolas,monospace}
.studio-preview-top{display:flex;justify-content:space-between;align-items:center;margin:2px 0 25px;gap:4px}
.studio-preview-logo{color:#ff8614;font-weight:950;letter-spacing:-.05em;font-size:20px;white-space:nowrap}
.studio-logo-blue{color:#27aeeb}
.studio-preview-city{font-size:8px;letter-spacing:.17em;color:#d3dbe6;font-weight:900}
.studio-live-heading{font-weight:900;line-height:1.1;margin:8px 0 19px;letter-spacing:-.04em;overflow-wrap:anywhere}
.studio-live-text{color:#e4e9f0;font-size:13px;line-height:1.54;margin:10px 0 17px;overflow-wrap:anywhere}
.studio-size-sm{font-size:12px}.studio-size-md{font-size:16px}.studio-size-lg{font-size:20px}.studio-size-xl{font-size:27px}.studio-size-xxl{font-size:34px}
.studio-effect-glow{text-shadow:0 0 12px var(--n96-studio-accent),0 0 20px #ff851a80}
.studio-effect-float{animation:studio-float 3s ease-in-out infinite}
.studio-effect-shine{background:linear-gradient(100deg,#fff 10%,var(--n96-studio-accent) 42%,#fff 68%);background-size:250%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:studio-shine 4s linear infinite}
.studio-effect-depth{color:#ffecce;text-shadow:1px 1px 0 #cd6a0f,2px 2px 0 #aa4d0d,3px 3px 0 #682c15,5px 7px 15px #000c;transform:perspective(500px) rotateX(6deg)}
@keyframes studio-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes studio-shine{from{background-position:120%}to{background-position:-140%}}
.studio-live-media{margin:11px 0}.studio-live-media img,.studio-live-media video{width:100%;height:auto;max-height:320px;object-fit:cover;border-radius:14px}
.studio-radius-none{border-radius:0!important}.studio-radius-sm{border-radius:5px!important}.studio-radius-round{border-radius:50%!important;aspect-ratio:1}
.studio-media-empty{padding:34px 5px;border:1px dashed #6d89a3;background:#152f44;border-radius:12px;color:#bbcede;text-align:center;font-size:12px}
.studio-live-button{width:100%;border:1px solid var(--n96-studio-accent);background:var(--n96-studio-accent);color:#0a1a27;padding:12px;border-radius:10px;font-weight:800;margin:8px 0;opacity:1!important}
.studio-live-button:disabled{cursor:default;opacity:1}
.studio-feature{text-align:center;border-radius:13px;border:1px solid var(--n96-studio-accent);padding:21px 12px;margin:15px 0;background:#ffffff10}
.studio-feature-icon{color:var(--n96-studio-accent);font-size:28px}
.studio-feature-title{font-weight:800;font-size:15px}.studio-feature-foot{font-size:10px;color:#aab9c6;margin-top:8px}
.studio-live-divider{border:0;border-top:1px solid var(--n96-studio-accent);margin:15px 0}
.studio-preview-placeholder{color:#bed0df;text-align:center;padding:60px 10px;font-size:12px}
.studio-phone-foot{display:flex;justify-content:space-around;padding:14px 8px;color:#b8c8d4;font-size:9px;font-weight:750}
.studio-modal-layer{position:fixed;inset:0;background:#020b10d9;z-index:90;display:grid;place-items:center;padding:20px}
.studio-modal{background:#122c40;border:1px solid #46637c;border-radius:14px;padding:22px;width:min(440px,100%);max-height:85vh;overflow:auto;box-shadow:0 10px 50px #0009;display:grid;gap:10px}
.studio-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}
.studio-history-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #34526b;padding:8px 0;font-size:11px}
@media(max-width:1350px){.studio-layout{grid-template-columns:175px minmax(300px,1fr)}.studio-preview{grid-column:2;position:static}.studio-work{grid-column:2;grid-row:1}.studio-pages{grid-row:1/span 2}.studio-preview{max-width:500px;margin:auto;width:100%}}
@media(max-width:800px){.studio-layout{display:block}.studio-pages,.studio-work,.studio-preview{position:static;margin-bottom:12px}.studio-theme-grid{grid-template-columns:1fr}.studio-preview{max-width:100%}}
@media(prefers-reduced-motion:reduce){.studio-effect-float,.studio-effect-shine{animation:none!important}}

.studio-media-list{display:grid;gap:8px;max-height:450px;overflow:auto}
.studio-media-row{display:flex;gap:10px;align-items:center;padding:9px;border:1px solid #345066;border-radius:9px;background:#12283a}
.studio-media-thumb{width:64px;height:64px;object-fit:cover;border-radius:8px;background:#213648;display:grid;place-items:center;font-size:25px}
.studio-media-details{min-width:0;flex:1;overflow-wrap:anywhere;font-size:10px}
.studio-media-details b{display:block}
.studio-media-actions{display:flex;gap:5px;margin-top:8px}

.studio-public-wrap{max-width:440px;margin:26px auto;padding:0 14px}
