.studio{--studio-accent:#087e8b;--studio-line:#d5dfe3;position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#ffffff;color:#18242b;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;overflow:hidden}
.studio::backdrop{background:#000000dd}
.studio *{box-sizing:border-box}
.studio button,.studio input,.studio select,.studio textarea{font:inherit}
.studio button{cursor:pointer;color:inherit;background:white;border:1px solid var(--studio-line);border-radius:6px;padding:8px 12px;white-space:nowrap;min-height:38px}
.studio button:hover{background:#f2f6f7;border-color:#b9c8ce}
.studio button:focus-visible,.studio input:focus-visible,.studio textarea:focus-visible,.studio select:focus-visible{outline:2px solid #087e8b;outline-offset:2px}
.studio button:disabled{opacity:.4;cursor:default}
.studio input,.studio select,.studio textarea{max-width:100%;width:100%;border:1px solid #d5dfe3;border-radius:6px;padding:9px 11px;color:#18242b;background:#ffffff;min-height:38px}
.studio textarea{resize:vertical}
.studio input[type=color]{height:38px;padding:3px;cursor:pointer}
.studio input[type=checkbox]{width:15px;height:15px;min-height:0;accent-color:#087e8b}
.studio [hidden]{display:none!important}
.studio-top{height:64px;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid #354750;position:relative;z-index:3;background:#111b22;color:#ffffff}
.studio .studio-back{border:0;font-size:22px}
.studio .studio-title{border-color:transparent;max-width:260px;font-size:14px;font-weight:600;background:transparent;color:#ffffff;height:38px}
.studio-title:hover{border-color:#51616b;background:#203039}
.studio-save-status{color:#b9c8ce;font-size:12px;white-space:nowrap}
.studio-top-actions{margin-left:auto;display:flex;gap:8px}
.studio .studio-top .studio-back{background:transparent;color:#ffffff}
.studio .studio-top .studio-back:hover{background:#203039}
.studio .studio-top-actions button:not(.studio-primary){background:transparent;color:#e9eef0;border-color:#51616b}
.studio .studio-top-actions button:not(.studio-primary):hover{background:#203039;border-color:#82969f}
.studio .studio-top-actions .studio-primary{background:#ff8a3d;color:#18242b;border-color:#ff8a3d}
.studio .studio-top-actions .studio-primary:hover{background:#f47b27;border-color:#f47b27}
.studio .studio-top button:focus-visible,.studio .studio-top .studio-title:focus-visible,.studio .studio-rail button:focus-visible,.studio .studio-pages button:focus-visible,.studio .studio-playback button:focus-visible{outline:2px solid #ff8a3d;outline-offset:3px}
.studio .studio-top .studio-title:focus-visible{background:#ffffff;color:#18242b;border-color:#ffffff}
.studio .studio-top button:disabled{opacity:.58}
.studio .studio-rail button:hover{background:#203039;color:#ffffff}
.studio .studio-rail button.active:hover{background:#f47b27}
.studio .studio-primary{background:#ff8a3d;color:#18242b;border-color:#ff8a3d}
.studio .studio-primary:hover{background:#f47b27;border-color:#f47b27}
.studio-notice{position:absolute;top:63px;left:0;right:0;z-index:9;padding:13px 22px;background:#fafafa;border-bottom:1px solid #d5dfe3;display:flex;align-items:center;gap:10px;box-shadow:none}
.studio-notice span{flex:1}
.studio-body{height:calc(100dvh - 64px);display:grid;grid-template-columns:68px 240px minmax(250px,1fr) 264px}
.studio-rail{background:#111b22;border-right:1px solid #354750;display:flex;flex-direction:column;align-items:stretch;padding:10px 6px;gap:4px}
.studio .studio-rail button{display:flex;flex-direction:column;gap:7px;align-items:center;padding:10px 2px;font-size:12px;background:transparent;border-color:transparent;color:#b9c8ce;border-radius:6px}
.studio-rail button span{font-size:23px;height:25px}
.studio .studio-rail button.active{background:#ff8a3d;color:#18242b;font-weight:600}
.studio-library,.studio-properties{padding:20px 18px;overflow-y:auto;overscroll-behavior:contain;background:#ffffff}
.studio-library{border-right:1px solid var(--studio-line)}
.studio-properties{border-left:1px solid var(--studio-line)}
.studio h2{font-size:16px;letter-spacing:-.3px;margin:0 0 10px;font-weight:700}
.studio h3{font-size:12px;letter-spacing:0;text-transform:none;margin:25px 0 12px;color:#51616b}
.studio p{color:#51616b;font-size:12px;line-height:1.6;margin:0 0 19px}
.studio .studio-wide{width:100%;margin:6px 0;padding:12px;white-space:normal}
.studio-template-grid{display:grid;gap:15px}
.studio-template-grid>button{text-align:left;white-space:normal;padding:0 0 12px;overflow:hidden}
.studio-template-preview{background:#ececec;display:flex;justify-content:center;padding-top:6px;position:relative;overflow:hidden}
.studio-template-preview .design-canvas{position:absolute}
.studio-template-grid strong,.studio-template-grid small{display:block;padding:0 12px}
.studio-template-grid strong{margin-top:12px;font-size:12px}
.studio-template-grid small{font-size:12px;color:#51616b;line-height:1.5;margin-top:5px}
.studio-tip{margin-top:22px;padding:13px;background:#f2f6f7;border-radius:6px;color:#51616b;font-size:12px;line-height:1.65}
.studio .studio-text-heading{font-size:23px;font-weight:800}
.studio .studio-text-subheading{font-size:16px;font-weight:600}
.studio-shape-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.studio-shape-grid button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 4px;font-size:12px}
.studio-shape-grid span{font-size:32px;color:#51616b}
.studio-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}
.studio-media-grid button{overflow:hidden;padding:0;text-align:left;white-space:normal}
.studio-media-grid img,.studio-video-icon{display:block;width:100%;height:90px;object-fit:cover;background:#ececec}
.studio-video-icon{font-size:40px;line-height:90px;text-align:center}
.studio-media-grid button>span:last-child{font-size:12px;display:block;padding:7px;overflow-wrap:anywhere}
.studio-product-list{display:grid;gap:7px;margin-top:15px}
.studio-product-list button{text-align:left;white-space:normal;padding:12px}
.studio-product-list strong,.studio-product-list small{display:block;font-size:12px}
.studio-product-list small{font-size:12px;color:#51616b;margin-top:6px}
.studio-layer-list{display:grid;gap:5px}
.studio-layer{display:flex;align-items:center;border:1px solid #d5dfe3;border-radius:6px;overflow:hidden}
.studio-layer.selected{border-color:#087e8b;background:#edf7f7}
.studio-layer>button:first-child{flex:1;min-width:0;text-align:left}
.studio-layer button{background:transparent;border:0;padding:8px 6px;font-size:12px}
.studio-layer span,.studio-layer strong{display:block;overflow:hidden;text-overflow:ellipsis}
.studio-layer span{font-size:12px;color:#51616b;margin-bottom:4px}
.studio-main{min-width:0;min-height:0;background:#e9eef0;display:flex;flex-direction:column;position:relative}
.studio-context{display:flex;align-items:center;padding:6px 12px;gap:4px;background:#ffffff;border-bottom:1px solid #d5dfe3;min-height:50px;flex-wrap:wrap;z-index:1}
.studio-context button{padding:8px 10px;font-size:13px;border-color:transparent}
.studio-context>span{flex:1}
.studio-context label,.studio-footer label{display:flex;gap:6px;align-items:center;font-size:12px;white-space:nowrap;color:#51616b}
.studio-viewport{flex:1;position:relative;min-height:150px;overflow:auto;outline:none;touch-action:none}
.studio-viewport:after{content:'';display:block;width:var(--studio-content-width,100%);height:var(--studio-content-height,100%);pointer-events:none}
.studio-stage{position:absolute;transform-origin:top left;box-shadow:0 2px 8px #111b2226;background:#ffffff;touch-action:none;outline:6px solid #111b22;outline-offset:0}
.studio-art,.studio-selection,.studio-safe{position:absolute;inset:0}
.studio-art .design-element{cursor:move;user-select:none}
.studio-art img,.studio-art video{pointer-events:none}
.studio-art .design-element[data-locked=true]{cursor:default}
.studio-selection{pointer-events:none;overflow:visible;z-index:4}
.studio-safe{inset:4.2%;border:2px dashed #ffffff55;box-shadow:0 0 0 1px #00000022;pointer-events:none;z-index:3}
.studio-box{position:absolute;border:solid #087e8b;transform-origin:center;pointer-events:none}
.studio-box.locked{border-style:dashed;border-color:#b08c4d}
.studio .studio-handle{position:absolute;pointer-events:auto;background:white;border:solid #087e8b;border-radius:1px;padding:0;min-height:0;cursor:nwse-resize}
.studio-handle.nw{left:0;top:0;transform:translate(-50%,-50%)}
.studio-handle.ne{right:0;top:0;transform:translate(50%,-50%);cursor:nesw-resize}
.studio-handle.sw{left:0;bottom:0;transform:translate(-50%,50%);cursor:nesw-resize}
.studio-handle.se{right:0;bottom:0;transform:translate(50%,50%)}
.studio-handle.rotate{left:50%;top:-10%;transform:translate(-50%,-100%);border-radius:50%;cursor:grab}
.studio-pages{min-height:115px;max-height:115px;background:#111b22;border-top:1px solid #354750;display:flex;gap:12px;padding:12px 17px;overflow-x:auto;color:#e9eef0}
.studio-page-card{position:relative;min-width:115px;border:2px solid transparent;border-radius:6px;padding:4px;cursor:grab}
.studio-page-card.active{border-color:#ff8a3d;background:#ff8a3d;color:#18242b}
.studio-page-card>button{padding:0;border:0;background:transparent;display:block;min-width:105px;font-size:12px;text-align:left}
.studio .studio-page-card>button:hover{background:transparent}
.studio-page-card>button>span:last-child{display:block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px}
.studio-page-thumb{height:64px;width:105px;display:flex;justify-content:center;position:relative;overflow:hidden;background:#ececec;border-radius:4px}
.studio-page-thumb .design-canvas{transform-origin:top center;position:absolute}
.studio-page-card small{position:absolute;bottom:3px;right:4px;background:#ffffffe8;border-radius:3px;font-size:12px;padding:2px;color:#18242b;font-family:'Cascadia Mono','Consolas',monospace}
.studio .studio-add-page{background:#203039;border:1px solid #51616b;min-width:100px;font-size:12px;height:75px;margin-top:4px;color:#e9eef0}
.studio .studio-add-page:hover{background:#354750;border-color:#82969f}
.studio-footer{display:flex;align-items:center;gap:10px;padding:6px 12px;background:#ffffff;border-top:1px solid var(--studio-line);min-height:40px;font-size:12px;color:#51616b}
.studio-footer .studio-help{flex:1;text-align:center;font-size:12px}
.studio-footer .studio-size,.studio-footer .studio-zoom{font-family:'Cascadia Mono','Consolas',monospace;font-variant-numeric:tabular-nums}
.studio-footer button{padding:4px 8px;border-color:transparent}
.studio-properties>label,.studio-prop-grid>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#51616b;margin-bottom:13px}
.studio-prop-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.studio-prop-grid>button{font-size:12px;padding:9px 4px;margin-bottom:7px}
.studio-properties>select{margin-bottom:14px}
.studio .studio-checkbox{flex-direction:row;align-items:center;gap:8px}
.studio-align-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-bottom:12px}
.studio-align-grid button{padding:6px 0;font-size:18px}
.studio .studio-bound{border:1px solid #d5dfe3;background:#f2f6f7;padding:11px;color:#51616b;font-size:12px;border-radius:6px;margin:12px 0}
.studio .studio-danger{color:#a34b42;font-size:12px;margin-top:18px}
.studio-busy .studio-body,.studio-busy .studio-top-actions,.studio-busy .studio-back,.studio-busy .studio-title{pointer-events:none;opacity:.65}
.studio-preview .studio-rail,.studio-preview .studio-library,.studio-preview .studio-properties,.studio-preview .studio-context,.studio-preview .studio-safe,.studio-preview .studio-footer{display:none}
.studio-preview .studio-body{grid-template-columns:1fr}
.studio-preview .studio-viewport{background:#111b22}
.studio-preview .studio-art .design-element{cursor:default}
.studio-preview .studio-stage{box-shadow:none}
.studio-preview .studio-title{pointer-events:none}
.studio-preview .studio-pages{justify-content:center}
.studio .design-canvas{contain:layout paint}
.studio .design-element{overflow:hidden}
@media(max-width:1250px){.studio-body{grid-template-columns:60px 195px minmax(220px,1fr) 225px}
.studio-library,.studio-properties{padding:18px 13px}
.studio-save-status{display:none}
.studio .studio-title{max-width:210px}
.studio-footer .studio-help{display:none}
.studio-context{gap:0}
.studio-context label{display:none}
.studio-template-preview{height:140px}}
@media(max-width:950px){.studio-body{grid-template-columns:52px 155px minmax(200px,1fr) 190px}
.studio-top{gap:7px;padding:0 8px}
.studio .studio-title{max-width:160px;font-size:12px}
.studio-top-actions button{font-size:12px;padding:8px}
.studio-template-grid small{display:none}
.studio-library,.studio-properties{padding:14px 10px}
.studio h2{font-size:14px}
.studio-context button{font-size:12px;padding:5px}
.studio-rail{padding:10px 2px}
.studio-rail button{font-size:12px}
.studio-template-preview .design-canvas{left:50%;transform-origin:top left}
.studio-media-grid{grid-template-columns:1fr}}
@media(max-width:700px){.studio-body{grid-template-columns:45px 135px minmax(180px,1fr)}
.studio-properties{position:absolute;right:6px;top:125px;width:190px;max-height:calc(100dvh - 280px);z-index:7;box-shadow:0 3px 18px #00000022;border-radius:6px;opacity:1}
.studio .studio-title{max-width:100px}
.studio-top-actions{gap:3px}
.studio-top-actions [data-studio=export]{display:none}
.studio-library{padding:13px 7px}
.studio-footer label{display:none}
.studio-notice{flex-wrap:wrap}
.studio-notice span{min-width:100%}}
.studio-design-health{font-size:12px;color:#a45b2f;max-width:190px}
.studio .studio-inline-text{cursor:text!important;user-select:text!important;outline:3px solid #087e8b;overflow:auto!important;min-height:1em}
.studio-template-preview{height:192px;padding:6px 0}
.studio-template-preview .design-canvas{left:50%;transform-origin:top center}
.studio-stock-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;letter-spacing:0;color:#51616b;margin-top:22px}
.studio-stock-label span{font-size:12px;background:#f2f6f7;padding:4px 6px;border-radius:4px}
.studio-stock-grid{margin-top:9px}
.studio-stock-grid img{height:108px}
.studio-motion-styles{display:grid;gap:8px}
.studio-motion-styles button{display:flex;align-items:center;gap:12px;text-align:left;white-space:normal;padding:12px 9px}
.studio-motion-styles button[aria-pressed=true]{background:#edf7f7;border-color:#087e8b}
.studio-motion-styles strong,.studio-motion-styles small{display:block}
.studio-motion-styles strong{font-size:12px}
.studio-motion-styles small{font-size:12px;color:#51616b;margin-top:5px;line-height:1.5}
.studio-motion-symbol{display:grid;place-items:center;flex:none;width:42px;height:46px;border-radius:6px;background:#f2f6f7;font:bold 20px Georgia,serif}
.motion-cinematic{background:#f2f6f7;color:#51616b}
.motion-playful{background:#f2f6f7;color:#51616b}
.motion-bold{background:#f2f6f7;color:#51616b}
.studio-gallery{position:absolute;inset:0;z-index:15;background:#f5f5f5;overflow-y:auto;overscroll-behavior:contain;color:#202124}
.studio-gallery-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:32px 42px 18px}
.studio-gallery-top>button{border:0;background:transparent;font-size:20px}
.studio-gallery-toolbar{display:flex;gap:16px;padding:0 42px 20px;max-width:930px}
.studio-gallery-toolbar label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#53565a;min-width:235px}
.studio-gallery-toolbar input,.studio-gallery-toolbar select{background:white;font-size:12px;height:43px}
.studio-gallery-search{flex:1}
.studio-gallery-categories{display:flex;gap:8px;flex-wrap:wrap;padding:0 42px 20px;border-bottom:1px solid #d4d7dc}
.studio-gallery-categories button{border-radius:30px;background:transparent;padding:9px 18px;font-size:12px}
.studio-gallery-categories button[aria-pressed=true]{background:#1976d2;color:#ffffff;border-color:#1976d2}
.studio-gallery-results{padding:22px 42px 14px;font-size:12px;color:#53565a}
.studio-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px;padding:0 42px 28px}
.studio .studio-gallery-card{padding:0;overflow:hidden;border-radius:12px;text-align:left;white-space:normal;background:white;border:1px solid #d4d7dc;transition:box-shadow .18s,transform .18s}
.studio .studio-gallery-card:hover{box-shadow:0 10px 26px #00000018;transform:translateY(-3px);border-color:#9ca0a6}
.studio-gallery-cover{display:block;position:relative;overflow:hidden;width:100%;background:#ececec}
.studio-gallery-cover .design-canvas,.studio-gallery-live .design-canvas{position:absolute;transform-origin:top left}
.studio-gallery-card-copy{display:block;padding:18px}
.studio-gallery-card-copy>span,.studio-gallery-card-copy>strong,.studio-gallery-card-copy>small{display:block}
.studio-gallery-card-copy>strong{font-size:16px;margin:8px 0}
.studio-gallery-card-copy>span:not(.studio-gallery-card-category){font-size:12px;line-height:1.6;color:#53565a;min-height:35px}
.studio-gallery-card-copy>small{display:flex;font-size:12px;color:#53565a;margin-top:16px}
.studio-gallery-card-copy b{margin-left:auto;font-weight:600;color:#202124}
.studio-gallery-detail{position:fixed;background:#f5f5f5;z-index:16;overflow:auto}
.studio-gallery-detail-top{height:66px;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #d4d7dc}
.studio-gallery-detail-top button{background:transparent}
.studio-gallery-detail-top span{font-size:12px;color:#53565a}
.studio-gallery-showcase{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(300px,1fr)}
.studio-gallery-player{min-height:470px;background:#ececec;padding:25px 30px 16px;display:flex;flex-direction:column}
.studio-gallery-live{min-height:340px;position:relative;overflow:hidden}
.studio-gallery-playbar{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px;color:#c6c6c6;padding-top:13px}
.studio-gallery-playbar button{background:transparent;font-size:12px}
.studio-gallery-description{padding:clamp(24px,5vw,70px) clamp(24px,4vw,60px);align-self:center}
.studio-gallery-description h2{font:400 clamp(28px,3vw,46px) Georgia,serif;letter-spacing:-.8px;line-height:1.15;margin:0 0 19px}
.studio-gallery-description>p{font-size:13px;line-height:1.7}
.studio-gallery-facts{display:flex;flex-wrap:wrap;gap:7px}
.studio-gallery-facts span{font-size:12px;background:#f5f5f5;color:#53565a;padding:8px 9px;border-radius:5px}
.studio-gallery-description ol{padding-left:17px;font-size:12px;color:#53565a;line-height:1.7}
.studio-gallery-description li{padding-left:4px;margin-bottom:9px}
.studio-gallery-page-dots{display:flex;gap:7px;margin:24px 0 16px}
.studio-gallery-page-dots button{width:35px;height:35px;border-radius:50%;padding:0}
.studio-gallery-page-dots button[aria-pressed=true]{background:#1976d2;color:#ffffff}
.studio .studio-gallery-use{width:100%;padding:15px;font-size:13px}
.studio .studio-gallery-disclosure{font-size:12px;margin:16px 0 0;color:#53565a}
.studio-gallery-empty{padding:30px}
.studio-gallery .design-element{pointer-events:none}
.studio-gallery-live .design-canvas{box-shadow:0 5px 30px #00000020}
@media(max-width:950px){.studio-gallery-top{padding:23px 25px 18px}
.studio-gallery-toolbar,.studio-gallery-categories{padding-left:25px;padding-right:25px}
.studio-gallery-grid{padding:0 25px 24px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.studio-gallery-results{padding-left:25px}
.studio-gallery-card-copy{padding:13px}
.studio-gallery-card-copy>strong{font-size:13px}
.studio-gallery-card-copy>span:not(.studio-gallery-card-category){display:none}
.studio-gallery-showcase{grid-template-columns:1.1fr 1fr}
.studio-gallery-description{padding:22px}
.studio-gallery-detail-top{padding:10px 20px}
.studio-gallery-player{padding:20px 15px}
.studio-template-preview .design-canvas{transform-origin:top center}
.studio-gallery-toolbar label{min-width:190px}}
@media(max-width:650px){.studio-gallery-toolbar{flex-wrap:wrap;gap:10px}
.studio-gallery-toolbar label{min-width:100%}
.studio-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-gallery-description{padding:24px}
.studio-gallery-showcase{display:block}
.studio-gallery-live{height:50dvh}
.studio-gallery-player{min-height:0}
.studio-gallery-detail-top span{display:none}
.studio-gallery-card-copy small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.studio .studio-gallery-card{transition:none}
.studio .studio-gallery-card:hover{transform:none}}
.studio .design-canvas[data-editing="false"] .design-element:not(.design-image):not(.design-video){overflow:visible}
.studio .studio-motion-help{font-size:12px;line-height:1.6;margin:2px 0 12px}
.studio-gallery-detail{inset:0}
.studio-gallery-showcase{min-height:calc(100dvh - 66px)}
.studio-gallery-live{height:calc(100dvh - 170px)}
@media(max-width:650px){.studio-gallery-live{height:50dvh}}
.studio-quick-fields{display:grid;gap:15px;margin-top:20px}
.studio-quick-fields label{display:grid;gap:7px;font-size:12px;color:#51616b}
.studio-quick-fields textarea{font-size:12px;line-height:1.5;padding:10px}
.studio-quick-fields select{font-size:12px}
.studio-rail{overflow-y:auto}
