:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17152b;background:#f4f5f9;font-synthesis:none}
:root{--wp-cyan:#00cfe6;--wp-blue:#0875f5;--wp-violet:#5148df;--wp-magenta:#df13df;--wp-ink:#17152b;--wp-gradient:linear-gradient(110deg,var(--wp-cyan),var(--wp-blue) 48%,var(--wp-magenta))}
.studio-brand{gap:12px;font-size:16px}
.brand-mark{display:grid;place-items:center;width:43px;height:38px;border-radius:0;background:transparent;flex:0 0 43px}
.brand-mark svg{width:100%;height:100%;overflow:visible}
.brand-copy strong{display:block;font-size:16px;letter-spacing:-.045em;font-weight:850}
.brand-copy strong b{font-weight:850;background:var(--wp-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
.brand-copy small{display:block;color:#85869a;font-size:10px;letter-spacing:.04em;margin-top:4px}
.primary{background:var(--wp-gradient);box-shadow:0 5px 14px #0875f526}
.nav-item.active{background:linear-gradient(105deg,#e7fbff,#f3eaff);color:#25234a}
.nav-item.active>span:first-child{color:var(--wp-blue)}
.field input:focus,.field textarea:focus{border-color:#328bf0;box-shadow:0 0 0 3px #328bf020}
.panel-head .eyebrow{color:#287be2}
.device.active{background:#e8f3ff;color:#176bd5}
.upload{border-color:#9bc5f4;background:#f0f8ff;color:#176bd5}
@media(max-width:600px){.studio-brand{font-size:14px}.brand-mark{width:36px;height:32px;flex-basis:36px}.brand-copy strong{font-size:14px}}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.studio-top{height:72px;background:#fff;border-bottom:1px solid #e7e8ef;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:18px;position:sticky;top:0;z-index:5}.studio-brand{display:flex;align-items:center;gap:11px;color:#17152b;text-decoration:none;font-size:17px;line-height:1.05}.studio-brand small{display:block;color:#85869a;font-size:11px;margin-top:5px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#6557e8;color:#fff;font-weight:900;font-size:21px}.top-actions{display:flex;align-items:center;gap:18px;font-size:13px}.top-actions a{color:#6154d9;text-decoration:none;font-weight:700}.primary{border:0;background:#6557e8;color:#fff;padding:12px 19px;border-radius:11px;font:inherit;font-weight:800;cursor:pointer}.primary:disabled{opacity:.45;cursor:not-allowed}.studio-shell{display:grid;grid-template-columns:210px minmax(320px,430px) minmax(420px,1fr);min-height:calc(100vh - 72px)}.studio-side{background:#fff;border-right:1px solid #e7e8ef;padding:28px 17px;display:flex;flex-direction:column}.side-heading{padding:0 9px 22px}.eyebrow{font-size:10px;letter-spacing:.14em;color:#88899a;font-weight:900}.side-heading h1{font-size:21px;line-height:1.2;margin:9px 0 7px;overflow-wrap:anywhere}.side-heading p,.side-help p{font-size:12px;color:#77798b;line-height:1.5;margin:0}.studio-nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;text-align:left;gap:12px;border:0;background:transparent;border-radius:12px;padding:12px 10px;color:#4b4b60;cursor:pointer;font:inherit}.nav-item>span:first-child{font-size:20px;width:25px;text-align:center;color:#7771b8}.nav-item b,.nav-item small{display:block}.nav-item b{font-size:13px}.nav-item small{font-size:11px;color:#898a9a;margin-top:3px}.nav-item.active{background:#f0efff;color:#4538bd}.nav-item.active>span:first-child{color:#5749db}.side-help{margin-top:auto;background:#f6f6fb;border-radius:13px;padding:14px;margin-top:28px}.side-help b{font-size:12px}.side-help p{margin-top:5px}.editor-panel{background:#f8f8fb;padding:28px 26px;overflow:auto}.panel-head{margin-bottom:22px}.panel-head .eyebrow{color:#766bd5}.panel-head h2{font-size:23px;margin:7px 0 5px}.panel-head p{font-size:13px;color:#77798b;margin:0;line-height:1.5}.field{margin:17px 0}.field label{display:block;font-size:12px;font-weight:800;margin-bottom:7px}.field input,.field textarea,.field select{width:100%;border:1px solid #dfe0e9;border-radius:10px;padding:12px 13px;background:#fff;color:#25243b;font:inherit;font-size:14px;outline:none}.field textarea{min-height:105px;resize:vertical;line-height:1.5}.field input:focus,.field textarea:focus{border-color:#8175ec;box-shadow:0 0 0 3px #8175ec20}.field .hint{font-size:11px;color:#898a9a;margin:0 0 7px}.service-card{border:1px solid #e4e4ed;border-radius:12px;background:#fff;padding:12px;margin:12px 0}.service-card input{margin:4px 0}.service-actions{display:flex;justify-content:space-between;gap:10px;margin-top:8px}.soft-button{border:1px solid #dcdbea;background:#fff;border-radius:9px;padding:9px 12px;color:#5145c3;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.remove{color:#bd4858}.colour-row{display:flex;align-items:center;gap:14px}.colour-row input{width:55px;height:44px;border:0;padding:0;background:none}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.upload{display:inline-flex;align-items:center;justify-content:center;border:1px dashed #aaa5d9;background:#f4f2ff;border-radius:10px;padding:12px;color:#5145c3;font-size:12px;font-weight:800;cursor:pointer}.preview-panel{background:#e9eaf0;padding:20px;display:flex;flex-direction:column;min-width:0}.preview-toolbar{height:42px;display:flex;align-items:center;justify-content:space-between;margin:0 2px 14px;font-size:12px}.preview-toolbar>div:first-child{display:flex;align-items:center;gap:8px}.preview-toolbar small{color:#818294;margin-left:6px}.live-dot{width:8px;height:8px;border-radius:50%;background:#22a06b}.device-switch{display:flex;gap:5px;background:#fff;padding:4px;border-radius:9px}.device{width:32px;height:28px;border:0;border-radius:6px;background:transparent;color:#777;font-size:17px;cursor:pointer;width:auto;padding-inline:.55em;font-size:.8rem}.device.active{background:#ecebff;color:#5548d1}.preview-stage{flex:1;display:flex;justify-content:center;align-items:flex-start;min-height:550px;overflow:auto}.preview-frame{height:calc(100vh - 190px);min-height:540px;max-height:1000px;background:#fff;box-shadow:0 8px 35px #2222;border-radius:8px;overflow:hidden;transition:width .2s;width:100%}.preview-frame.tablet{width:768px;max-width:100%}.preview-frame.mobile{width:404px;max-width:100%;border:7px solid #252536;border-radius:28px}.preview-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff;transform-origin:top left}.preview-note{font-size:11px;color:#77798b;text-align:center;margin:12px 0 0}.loading{color:#77798b;font-size:13px}@media(max-width:1100px){.studio-shell{grid-template-columns:185px minmax(290px,390px) minmax(340px,1fr)}.studio-side{padding:22px 12px}.editor-panel{padding:22px 18px}.preview-panel{padding:16px}}@media(max-width:850px){.studio-shell{grid-template-columns:190px minmax(0,1fr)}.preview-panel{grid-column:1/-1;min-height:650px}.preview-frame{height:650px}.studio-side{grid-row:1/3}.editor-panel{min-height:600px}}@media(max-width:600px){.studio-top{height:62px;padding:0 12px}.studio-brand{font-size:14px}.brand-mark{width:32px;height:32px}.top-actions{gap:9px}.top-actions a{display:none}.top-actions #save-state{font-size:10px;max-width:90px}.primary{padding:10px 12px;font-size:12px}.studio-shell{display:flex;flex-direction:column}.studio-side{padding:15px 13px;border-right:0;border-bottom:1px solid #e7e8ef}.side-heading{padding:0 4px 12px}.side-heading h1{font-size:18px;margin:5px 0}.side-heading p,.side-help{display:none}.studio-nav{display:flex;overflow-x:auto;gap:5px}.nav-item{min-width:112px;padding:9px 8px;gap:7px}.nav-item>span:first-child{font-size:17px;width:20px}.nav-item b{font-size:11px}.nav-item small{display:none}.editor-panel{padding:20px 16px;min-height:420px}.preview-panel{padding:14px;min-height:560px}.preview-frame{height:560px;min-height:500px}.preview-toolbar small{display:none}}
.photo-item{min-width:0}.photo-item img{margin-bottom:6px}.photo-item .soft-button{padding:7px 9px}.soft-button:disabled{opacity:.35;cursor:not-allowed}

/* Keep the Studio brand mark clean: show the gradient W without a purple tile. */
.brand-mark{background:transparent!important;border-radius:0!important;}

/* Contact toggles stay compact rather than inheriting full-width text-input styling. */
.toggle-row{display:flex;align-items:center;gap:12px;font-weight:700}.toggle-row input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--wp-primary,#4f46e5)}

/* Visual developer schema builder */
.dev-builder-section{background:#fff;border:1px solid #e4e6ef;border-radius:16px;padding:17px;margin:18px 0;box-shadow:0 5px 20px #25234a08}
.dev-builder-section h3{font-size:15px;margin:0 0 5px;color:#24233d}
.dev-builder-heading,.dev-builder-card-top,.dev-builder-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dev-builder-heading{margin-bottom:12px}
.dev-builder-heading .hint{margin:0}
.dev-builder-card{border:1px solid #e7e8ef;border-radius:12px;padding:13px;margin:12px 0;background:#fbfbfe}
.dev-builder-card-top{font-size:12px;margin-bottom:9px}
.dev-builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.dev-builder-grid .field{margin:9px 0}
.dev-builder-grid .field input,.dev-builder-grid .field select{min-width:0}
.dev-builder-nested{align-items:end;border-top:1px solid #e8e8ef;padding-top:8px;margin-top:8px}
.dev-builder-nested .field{margin:5px 0}
.dev-builder-nested .soft-button{margin:0 0 9px;justify-self:start}
.dev-builder-subhead{font-size:12px;margin:14px 0 5px}
.dev-check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;padding:10px 0}
.dev-check input{width:17px;height:17px;accent-color:#5148df}
.dev-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0 20px}
.dev-builder-footer .hint{max-width:62%;line-height:1.5}
@media(max-width:600px){.dev-builder-section{padding:12px;margin:12px 0}.dev-builder-grid{grid-template-columns:1fr}.dev-builder-footer{align-items:stretch;flex-direction:column}.dev-builder-footer .hint{max-width:none}.dev-builder-footer .primary{width:100%}}

/* Searchable theme library */
.theme-browser-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.42fr);gap:10px;margin:18px 0 8px}
.theme-browser-tools input,.theme-browser-tools select{width:100%;min-width:0;border:1px solid #dfe1eb;border-radius:10px;padding:12px 13px;background:#fff;color:#22223a;font:inherit}
.theme-count{font-size:12px;font-weight:800;color:#66657c;margin:12px 0}
.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.theme-card{overflow:hidden;border:1px solid #e4e6ef;border-radius:14px;background:#fff;min-width:0}
.theme-card-art{min-height:142px;padding:15px;display:flex;flex-direction:column;justify-content:flex-end;gap:5px;color:#fff;background:radial-gradient(circle at 82% 18%,#e3c9a0 0 8%,transparent 9%),linear-gradient(135deg,#172e43,#426b75 58%,#c1a47a)}
.theme-card:nth-child(3n+2) .theme-card-art{background:radial-gradient(circle at 18% 20%,#e9b8a2 0 12%,transparent 13%),linear-gradient(135deg,#352b48,#8a6578 62%,#e5c6a5)}
.theme-card:nth-child(3n) .theme-card-art{background:radial-gradient(circle at 80% 20%,#d2dfbd 0 10%,transparent 11%),linear-gradient(135deg,#152d2b,#477d68 60%,#a9b89c)}
.theme-card-art span,.theme-card-art small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:.9}
.theme-card-art b{font-size:20px;line-height:1.05;max-width:14ch}
.theme-card-copy{padding:12px}
.theme-card-copy h3{font-size:14px;margin:0 0 5px}
.theme-card-copy p{font-size:12px;line-height:1.45;color:#66657c;margin:0 0 9px}
.theme-id{font-size:10px;color:#85849a;overflow-wrap:anywhere}
.theme-pagination{display:flex;justify-content:center;padding:16px 0}
.theme-library-note{border-top:1px solid #ececf2;padding-top:12px;line-height:1.5}
@media(max-width:600px){.theme-browser-tools{grid-template-columns:1fr}.theme-grid{grid-template-columns:1fr 1fr}.theme-card-art{min-height:120px;padding:10px}.theme-card-art b{font-size:16px}.theme-card-copy{padding:9px}.theme-card-copy p{font-size:11px}}

.theme-preview-link{display:inline-block;margin-top:10px;color:#5148df;font-size:11px;font-weight:800;text-decoration:none}.theme-preview-link:hover{text-decoration:underline}

.studio-brand .studio-dashboard-label{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #d5cffc;border-radius:6px;background:#f0edff;color:#39299e;font-size:12px;font-weight:750;letter-spacing:0;white-space:nowrap}
.studio-brand:hover .studio-dashboard-label,.studio-brand:focus-visible .studio-dashboard-label{background:#e4ddff;border-color:#7662d9}
@media(max-width:600px){.studio-brand .studio-dashboard-label{font-size:11px;padding:4px 6px}}

.studio-shell{--sidebar-collapsed-width:56px}
.sidebar-toggle{align-self:flex-end;display:grid;place-items:center;width:36px;height:36px;margin:0 0 10px;border:1px solid #dedcf1;border-radius:8px;background:#fff;color:#4538bd;font:600 24px/1 system-ui;cursor:pointer}
.studio-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-width) minmax(320px,430px) minmax(420px,1fr)}
.sidebar-collapsed .studio-side{padding-inline:6px}
.sidebar-collapsed .sidebar-toggle{align-self:center}
.sidebar-collapsed .side-heading,.sidebar-collapsed .side-help{display:none}
.sidebar-collapsed .nav-item{position:relative;justify-content:center;min-width:40px;min-height:44px;padding:8px}
.sidebar-collapsed .nav-item>span:nth-child(2){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){.studio-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-width) minmax(290px,390px) minmax(340px,1fr)}}
@media(max-width:850px){.studio-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-width) minmax(0,1fr)}}
@media(max-width:600px){.studio-shell.sidebar-collapsed .studio-side{padding-inline:13px}.sidebar-collapsed .sidebar-toggle{align-self:flex-end}}


/* Grouped Studio workspace navigation */
.studio-nav-group{padding:8px 0 14px;border-bottom:1px solid rgba(125,125,145,.16)}
.studio-nav-group:last-child{border-bottom:0}
.studio-nav-group-title{font-size:.69rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#817e98;padding:8px 14px;margin:0 0 4px}
.studio-feature-group{margin:20px 0;border:1px solid #e6e3ef;border-radius:14px;padding:16px;background:#fff}
.studio-feature-group h3{margin:0 0 10px;font-size:1.04rem}
.studio-feature-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #eeecf3}
.studio-feature-row:first-of-type{border-top:0}
.studio-feature-row span{font-size:.91rem}
.studio-feature-row small{color:#777487;white-space:nowrap;font-size:.78rem}
.studio-feature-row .soft-button{white-space:nowrap}
@media(max-width:560px){.studio-feature-row{align-items:flex-start;flex-direction:column}}


/* Keep complete words together in the narrow Studio sidebar. */
.studio-side,.side-heading,.studio-nav,.studio-nav-group,.nav-item{min-width:0}
.side-heading h1,.side-heading p,.studio-nav-group-title,.nav-item b,.nav-item small{
 overflow-wrap:normal;
 word-break:normal;
 hyphens:none;
}
.side-heading h1{overflow-wrap:break-word}
.nav-item>span:last-child{min-width:0;flex:1 1 auto}
.nav-item>span:first-child{flex:0 0 25px}
.studio-nav-group-title{white-space:normal}


/* Studio sidebar: give long business names enough space to wrap at word boundaries. */
@media(min-width:1101px){
 .studio-shell{grid-template-columns:300px minmax(320px,430px) minmax(420px,1fr)}
 .studio-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-width) minmax(320px,430px) minmax(420px,1fr)}
}
@media(min-width:851px) and (max-width:1100px){
 .studio-shell:not(.sidebar-collapsed){grid-template-columns:270px minmax(290px,390px) minmax(340px,1fr)}
}
.side-heading h1{
 overflow-wrap:normal!important;
 word-break:keep-all!important;
 hyphens:none!important;
 font-size:clamp(18px,1.4vw,21px);
}

/* Branded product name between the workspace identity and save status. */
.studio-product-title{margin-inline:auto;white-space:nowrap;font-size:21px;font-weight:850;letter-spacing:-.045em;color:#17152b;line-height:1.1}
.studio-product-title strong{font-weight:850;background:var(--wp-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
@media(max-width:1180px){.studio-product-title{font-size:17px}}
@media(max-width:980px){.studio-product-title{display:none}}

/* Studio header overflow menu: room for future account and site actions. */
.studio-header-menu{position:relative;flex:0 0 auto}
.studio-header-menu>summary{list-style:none;display:grid;place-items:center;width:43px;height:43px;border:1px solid #e0e1ed;border-radius:11px;background:#fff;color:#28234c;cursor:pointer}
.studio-header-menu>summary::-webkit-details-marker{display:none}
.studio-header-menu>summary:hover,.studio-header-menu[open]>summary{background:#f0edff;border-color:#bdb5ff}
.studio-header-menu>summary:focus-visible{outline:3px solid #8274f0;outline-offset:2px}
.studio-menu-bars{display:grid;gap:4px}.studio-menu-bars i{display:block;width:19px;height:2px;border-radius:3px;background:currentColor}
.studio-menu-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:20;width:230px;padding:7px;background:#fff;border:1px solid #e6e4f0;border-radius:13px;box-shadow:0 16px 38px #1b164522}
.studio-menu-popover a,.studio-menu-popover button{display:block;width:100%;padding:12px 13px;border:0;border-radius:8px;background:transparent;color:#292442;text-align:left;font:inherit;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer}
.studio-menu-popover a:hover,.studio-menu-popover button:hover{background:#f1efff}
.studio-menu-popover form{margin:0;border-top:1px solid #eeeaf5;padding-top:5px;margin-top:5px}
@media(max-width:700px){.studio-top{gap:9px;padding-inline:12px}.top-actions{gap:9px}.studio-header-menu>summary{width:39px;height:39px}}

/* Pages manager: approachable, keyboard-accessible list and detail editor */
.studio-pages-manager{display:grid;gap:16px;min-width:0}
.studio-pages-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.studio-pages-heading h2{margin:0;font-size:1.55rem}
.studio-pages-heading p{margin:6px 0 0;color:#666579;font-size:.88rem;line-height:1.45}
.studio-page-count{flex:none;background:#f6f3fc;border:1px solid #e5dff3;border-radius:99px;padding:7px 11px;font-size:.8rem;font-weight:750;white-space:nowrap}
.studio-pages-add{display:flex;justify-content:flex-end}
.studio-pages-add button:disabled{opacity:.48;cursor:not-allowed}
.studio-pages-list{display:grid;gap:9px}
.studio-page-row{display:flex;align-items:center;gap:9px;padding:10px 9px;border:1px solid #dddce9;border-radius:13px;background:#fff;min-width:0}
.studio-page-row.is-selected{border-color:#aaa0e8;box-shadow:0 0 0 2px #ece8ff}
.studio-page-grip{color:#9a98b0;font-size:1.25rem}
.studio-page-icon{font-size:1.3rem;color:#6155a5;width:25px;text-align:center}
.studio-page-name{flex:1;min-width:0;text-align:left;background:none;border:0;color:#19172b;font-weight:750;font-size:.94rem;padding:5px 0;cursor:pointer;overflow-wrap:anywhere}
.studio-page-name small{display:inline-block;font-size:.68rem;font-weight:650;color:#5342a6;background:#eeebff;border-radius:99px;padding:4px 7px;margin-left:7px}
.studio-page-icon-button{flex:none;width:31px;height:33px;border:1px solid #e0ddea;border-radius:9px;background:#fff;color:#4c466c;cursor:pointer}
.studio-page-icon-button:hover,.studio-page-icon-button:focus-visible{background:#f1edff;border-color:#afa4e9}
.studio-pages-limit{background:#f0efff;border:1px solid #dcd7ff;border-radius:13px;padding:14px 16px}
.studio-pages-limit strong{color:#32266d}
.studio-pages-limit p{font-size:.84rem;line-height:1.4;margin:5px 0 0}
.studio-pages-detail{display:grid;gap:12px;border-top:1px solid #e8e5f0;padding-top:18px;min-width:0}
.studio-pages-detail h3{margin:0;font-size:1.05rem}
.studio-page-move,.studio-pages-actions{display:flex;flex-wrap:wrap;gap:8px}
.studio-pages-preview iframe{display:block;width:100%;min-height:320px;border:1px solid #ddd;border-radius:12px;margin-top:10px;background:#fff}
@media(max-width:520px){.studio-pages-heading{flex-wrap:wrap}.studio-page-row{gap:6px;padding:8px 6px}.studio-page-icon-button{width:29px}.studio-page-name small{margin-left:0;margin-top:4px}}

/* Pages Manager: explicit stacked fields rather than inline labels. */
.studio-pages-detail>label,.studio-pages-seo>label{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;min-width:0;font-size:13px;font-weight:700;color:#282442}
.studio-pages-detail>label:has(input[type="checkbox"]){flex-direction:row;align-items:center;gap:10px}
.studio-pages-detail input:not([type="checkbox"]),.studio-pages-detail textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:11px 12px;border:1px solid #d9d7e6;border-radius:9px;background:#fff;color:#24223a;font:inherit;font-weight:400;line-height:1.45}
.studio-pages-detail input[readonly]{background:#f5f4f9;color:#77748c}
.studio-pages-detail input[type="checkbox"]{width:17px;height:17px;flex:none}
.studio-pages-seo{display:grid;gap:13px;min-width:0;padding:16px;border:1px solid #e5e2ef;border-radius:12px;background:#faf9fd}
.studio-pages-seo h4{margin:0 0 2px;font-size:15px}
.studio-pages-detail>p{font-size:13px;line-height:1.55;color:#5c5970;margin:0}
.studio-pages-detail .studio-pages-actions{padding-top:10px;border-top:1px solid #e9e6f0}

/* !IMPORTANT: mobile Studio grouped navigation must be readable and tappable. */
@media(max-width:600px){
.studio-shell,.studio-side,.editor-panel,.preview-panel{width:100%;min-width:0}
.studio-side{display:block;padding:14px 16px 16px}
.studio-side .sidebar-toggle{display:none}
.studio-side .side-heading{display:block;padding:0 0 12px}
.studio-side .side-heading h1{font-size:21px;line-height:1.25;margin:6px 0}
.studio-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:9px;width:100%}
.studio-nav-group{min-width:0;width:100%;padding:10px 0 12px;margin:0}
.studio-nav-group-title{font-size:11px;line-height:1.4;letter-spacing:.055em;padding:0 2px 9px;white-space:normal}
.studio-nav .nav-item,.studio-nav-group .nav-item{min-width:0;width:100%;min-height:54px;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:10px 9px;border:1px solid #e8e5f3;border-radius:11px;background:#fff;line-height:1.3;white-space:normal}
.studio-nav .nav-item.active,.studio-nav-group .nav-item.active{background:#f0edff;border-color:#d9d1ff}
.studio-nav .nav-item>span:first-child{flex:0 0 22px;width:22px;font-size:18px}
.studio-nav .nav-item>span:last-child{flex:1 1 auto;min-width:0;position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
.studio-nav .nav-item b{font-size:12px;line-height:1.3;overflow-wrap:normal;word-break:normal}
.studio-nav .nav-item small{display:none}
.studio-shell.sidebar-collapsed .studio-side{padding:14px 16px}
.editor-panel{padding:20px 16px}
.studio-top .top-actions #save-state{max-width:145px;font-size:10px;line-height:1.25}
}

/* Reusable section library and page recipe controls, responsive in the narrow Studio inspector. */
.studio-pages-add{align-items:end;gap:10px;flex-wrap:wrap}
.studio-pages-add label{flex:1 1 160px;min-width:0;display:grid;gap:6px;font-size:.85rem;font-weight:750}
.studio-pages-add select{width:100%;min-width:0;max-width:100%;padding:11px;border:1px solid #c7bfe7;border-radius:10px;background:#fff;color:#201738}
.studio-page-widgets{display:grid;gap:14px;min-width:0;border-top:1px solid #e7e2f3;padding-top:16px}
.studio-page-widgets>h3{margin:0;color:#2b2245}
.studio-page-widgets>p{margin:0;color:#66617a;line-height:1.4;font-size:.88rem}
.studio-page-widget{display:grid;gap:11px;padding:15px;border:1px solid #ded6ef;border-radius:14px;background:#faf9ff;min-width:0}
.studio-page-widget h4{margin:0;font-size:1rem}
.studio-page-widget label{display:grid;gap:6px;min-width:0;font-size:.86rem;font-weight:700}
.studio-page-widget input,.studio-page-widget textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px 12px;border-radius:9px;border:1px solid #b8afd8;background:#fff;font:inherit;color:#201738}
.studio-page-widget textarea{resize:vertical}
.studio-page-widget .studio-page-move{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:680px){.studio-pages-heading{flex-wrap:wrap}.studio-pages-add{align-items:stretch}.studio-pages-add button{width:100%}.studio-page-widget{padding:12px}}
