.ws-studio{--ws-green:#087d5b;--ws-ink:#163c30;--ws-muted:#678078;--ws-line:#e0eae5;background:#f5f8f6;color:var(--ws-ink);font-family:Inter,system-ui,sans-serif;padding:30px;min-height:calc(100vh - 80px);font-size:14px}
.ws-studio *{box-sizing:border-box}.ws-studio h1,.ws-studio h2,.ws-studio h3,.ws-studio p{margin:0}.ws-studio h1{font-size:32px;font-weight:700;letter-spacing:-1px;margin:6px 0}.ws-studio h2{font-size:21px;font-weight:650}.ws-studio h3{font-size:16px;font-weight:650}.ws-studio button,.ws-studio input,.ws-studio select,.ws-studio textarea{font:inherit}.ws-studio button{cursor:pointer;transition:background .15s,box-shadow .15s}.ws-studio button:disabled{opacity:.45;cursor:not-allowed}.ws-studio :focus-visible{outline:3px solid #65cbb2;outline-offset:3px}.ws-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:var(--ws-green)}
.ws-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.ws-page-head p{color:var(--ws-muted);font-size:14px}.ws-primary,.ws-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 16px;font-weight:650;min-height:41px;white-space:nowrap}.ws-primary{background:var(--ws-green);color:#fff;border:1px solid var(--ws-green);box-shadow:0 3px 8px #087d5b12}.ws-primary:hover{background:#065f46}.ws-secondary{background:#fff;border:1px solid #cbdcd3;color:var(--ws-ink)}.ws-secondary:hover{background:#f2f8f4}.ws-summary{display:flex;align-items:center;gap:28px;margin-bottom:25px;font-size:12px;color:var(--ws-muted)}.ws-summary>span{display:flex;align-items:center;gap:6px}.ws-summary strong{font-size:16px;color:var(--ws-ink)}.ws-summary>button{margin-left:auto;background:none;border:0;color:var(--ws-green);font-weight:600}.ws-dot{width:6px;height:6px;border-radius:50%;background:#0cb47b}.ws-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);background:#fff;border:1px solid var(--ws-line);border-radius:16px;min-height:660px;overflow:hidden;box-shadow:0 10px 30px #123e2904}
.ws-sites{padding:22px 14px;background:#fafcfb;border-right:1px solid var(--ws-line);display:flex;flex-direction:column;align-items:stretch;gap:9px}.ws-sites-title{font-weight:700;padding:0 7px;display:flex;justify-content:space-between}.ws-sites-title span{color:var(--ws-muted);font-size:12px}.ws-search input{width:100%;padding:9px 10px;background:#fff;border:1px solid var(--ws-line);border-radius:8px;margin:10px 0}.ws-site{display:flex;align-items:flex-start;text-align:left;gap:10px;padding:13px 9px;background:none;border:1px solid transparent;border-radius:10px;min-width:0}.ws-site.is-selected{background:#e8f4ed;border-color:#c8e4d4}.ws-site>span:last-child{min-width:0}.ws-site strong{display:block;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:138px}.ws-site small{display:block;color:var(--ws-muted);font-size:10px;margin:4px 0 7px;overflow-wrap:anywhere}.ws-site-icon{background:#fff;border:1px solid #d6e6dc;border-radius:8px;width:30px;height:32px;display:grid;place-items:center;color:var(--ws-green);font-size:11px;font-weight:750;flex-shrink:0}.ws-badge{display:inline-flex;align-items:center;font-size:10px;padding:3px 7px;border-radius:5px;font-weight:650;white-space:nowrap}.ws-green{color:#08744c;background:#e5f5eb}.ws-amber{color:#916609;background:#fff5d9}.ws-gray{color:#64746a;background:#e9eeeb}.ws-side-note{margin-top:auto;padding:22px 7px 0;font-size:11px;line-height:1.7;color:var(--ws-muted)}
.ws-main{min-width:0}.ws-editor-head{padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ws-line)}.ws-editor-head .ws-muted{display:block;font-size:11px;margin-top:5px}.ws-actions{display:flex;align-items:center;gap:9px}.ws-actions button{font-size:12px}.ws-tabs{display:flex;gap:25px;padding:0 26px;border-bottom:1px solid var(--ws-line);overflow-x:auto}.ws-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:15px 0;color:var(--ws-muted);font-size:12px;white-space:nowrap}.ws-tabs button.active{color:var(--ws-green);border-color:var(--ws-green);font-weight:700}.ws-editor-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,420px)}.ws-controls{padding:24px 26px;min-width:0}.ws-section+.ws-section{border-top:1px solid var(--ws-line);margin-top:27px;padding-top:25px}.ws-section-heading{display:flex;gap:12px;margin-bottom:20px;align-items:flex-start}.ws-section-heading>span{font-size:10px;color:#8b9e94;background:#f0f5f2;border-radius:5px;padding:6px}.ws-section-heading p{font-size:11px;color:var(--ws-muted);line-height:1.6;margin-top:4px}.ws-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ws-template{position:relative;text-align:left;border:1px solid var(--ws-line);border-radius:10px;background:#fff;padding:10px;min-width:0}.ws-template.selected{border:2px solid var(--ws-green);padding:9px;background:#f4fbf7}.ws-template strong{font-size:11px;display:block;margin:9px 0 4px}.ws-template small{font-size:9px;display:block;line-height:1.4;color:var(--ws-muted)}.ws-template em{position:absolute;right:5px;top:5px;font-size:10px;display:grid;place-items:center;color:white;background:var(--ws-green);width:16px;height:16px;border-radius:50%;font-style:normal}.ws-mini{display:block;height:57px;border:1px solid #e4eae6;border-radius:5px;background:#fff;overflow:hidden;padding-bottom:8px}.ws-mini>i{display:block;height:20px;margin-bottom:8px}.ws-mini>b{display:block;background:#e9f2ec;height:5px;width:64%;margin:4px 7px;border-radius:3px}.ws-mini>b:last-child{width:40%;margin-left:auto;margin-right:7px}.ws-mini-mint>i{height:28px;border-radius:0 0 16px 2px}.ws-mini-minimal>i{height:10px;opacity:.4}.ws-mini-compact>i{height:13px}.ws-mini-concierge>i{height:26px}.ws-mini-helpdesk>b{border-radius:0;width:80%}
.ws-colors,.ws-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ws-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;min-width:0}.ws-field>span{font-size:11px;font-weight:650}.ws-field>small{font-size:10px;color:var(--ws-muted);line-height:1.6}.ws-field input:not([type=color]),.ws-field select,.ws-field textarea{width:100%;padding:10px;border:1px solid #d9e3dd;border-radius:7px;background:#fff;color:var(--ws-ink);font-size:12px;resize:vertical}.ws-color-control{display:flex;gap:8px;align-items:center;border:1px solid #d9e3dd;border-radius:7px;padding:6px}.ws-color-control input[type=color]{width:27px;height:27px;border:0;background:transparent;padding:0;cursor:pointer;flex-shrink:0}.ws-field .ws-color-control input:not([type=color]){border:0;padding:2px;font-family:ui-monospace,monospace;font-size:11px}.ws-check{display:flex;gap:9px;align-items:center;margin-top:17px;font-size:12px}.ws-check input{accent-color:var(--ws-green);width:15px;height:15px}.ws-muted{color:var(--ws-muted);font-size:12px;line-height:1.7}.ws-note{background:#f2f8f4;border-radius:8px;padding:12px;margin-top:15px!important;color:var(--ws-muted);font-size:11px;line-height:1.7}.ws-code{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:#102e24;color:#c9f2df;border-radius:9px;font-size:11px;line-height:1.8;margin:16px 0}.ws-preview{background:#f5f8f6;border-left:1px solid var(--ws-line);padding:24px 20px;min-width:0}.ws-preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px}.ws-preview-head strong{font-size:12px}.ws-preview-head>div{display:flex;background:#e5ece7;padding:3px;border-radius:7px}.ws-preview-head button{font-size:10px;border:0;background:none;padding:6px 8px;border-radius:5px;color:var(--ws-muted)}.ws-preview-head button.active{background:#fff;color:var(--ws-green);box-shadow:0 1px 4px #103b2410}.ws-preview-browser{border:1px solid #dce6df;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 14px 28px #183d2510;max-width:100%;margin:auto}.ws-preview-browser.mobile{max-width:320px;border:5px solid #284b3d;border-radius:26px}.ws-browser-bar{display:flex;gap:4px;align-items:center;height:32px;background:#fafcfb;border-bottom:1px solid #edf1ee;padding:0 10px}.ws-browser-bar i{width:5px;height:5px;border-radius:50%;background:#dbe4dd}.ws-browser-bar span{margin-left:8px;color:#8b9e94;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-preview-canvas{padding:18px 12px 14px;background:linear-gradient(145deg,#fff,#f1f7f3);min-height:510px}.ws-skeleton{opacity:.7;padding:5px 8px 20px}.ws-skeleton b{display:block;background:#dae7df;width:55%;height:10px;border-radius:3px;margin-bottom:10px}.ws-skeleton>span{display:block;background:#e6eee9;width:85%;height:5px;border-radius:2px;margin:6px 0}.ws-skeleton>span+span{width:60%}.ws-preview-widget .de-template-settings{padding:0!important;background:transparent!important;border:0!important;margin:0!important}.ws-preview-widget .de-template-settings>h3{display:none}.ws-preview-widget .de-template-preview>div{max-width:100%}.ws-preview-widget .de-panel{width:100%!important;max-width:100%!important}.ws-preview-note{text-align:center;font-size:10px;color:var(--ws-muted);margin-top:16px!important}.ws-text-button{border:0;background:none;color:var(--ws-green);font-size:11px;display:block;margin:12px auto 0;text-decoration:underline}.ws-message{display:flex;align-items:center;gap:10px;padding:13px 16px;background:#e7f5ed;color:#1d6e48;border:1px solid #cbe6d5;border-radius:9px;margin:12px 0;font-size:12px;line-height:1.6}.ws-message button{margin-left:auto;background:none;border:0;font-size:18px}.ws-error{background:#fff1ee;color:#a13d31;border-color:#f4d2ca}.ws-empty{padding:110px 30px;text-align:center}.ws-empty>span{font-size:44px;color:#28a77e}.ws-empty p{color:var(--ws-muted);max-width:380px;margin:12px auto 24px;line-height:1.8}.ws-global{background:white;border-radius:12px;padding:20px;border:1px solid var(--ws-line)}.ws-timeline{list-style:none;margin:22px 0;padding:0}.ws-timeline li{display:flex;gap:12px;padding:0 0 22px}.ws-timeline i{height:9px;width:9px;background:#29a77e;border-radius:50%;margin-top:5px}.ws-timeline strong{font-size:12px}.ws-timeline small{display:block;color:var(--ws-muted);font-size:10px;margin-top:5px}.ws-modal-backdrop{position:fixed;inset:0;z-index:10050;background:#09271c85;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px}.ws-modal{background:white;border-radius:18px;padding:32px;max-width:480px;width:100%;box-shadow:0 25px 80px #001d2940;position:relative;max-height:90vh;overflow:auto}.ws-modal h2{margin:8px 0 12px}.ws-modal form{margin-top:22px}.ws-modal form>.ws-primary{width:100%;margin-top:15px}.ws-modal-close{position:absolute;top:14px;right:17px;border:0;background:none;font-size:25px;color:var(--ws-muted)}.ws-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.ws-studio{padding:36px}.ws-editor-grid{grid-template-columns:minmax(380px,1fr) 440px}.ws-controls{padding:28px 32px}.ws-preview{padding:28px}}
@media(max-width:1180px){.ws-studio{padding:20px}.ws-workspace{grid-template-columns:180px minmax(0,1fr)}.ws-editor-grid{grid-template-columns:1fr}.ws-preview{border-left:0;border-top:1px solid var(--ws-line)}.ws-preview-browser{max-width:370px}.ws-editor-head{align-items:flex-start;flex-direction:column}.ws-site strong{max-width:105px}.ws-template-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.ws-studio{padding:14px 10px}.ws-page-head{gap:12px;align-items:flex-start}.ws-page-head h1{font-size:26px}.ws-page-head p{font-size:11px}.ws-page-head>.ws-primary{font-size:11px;padding:9px}.ws-summary{gap:10px;flex-wrap:wrap;font-size:10px}.ws-summary>button{margin-left:0}.ws-workspace{grid-template-columns:1fr}.ws-sites{border-right:0;border-bottom:1px solid var(--ws-line);max-height:220px;overflow:auto}.ws-side-note{display:none}.ws-site strong{max-width:none}.ws-editor-head,.ws-controls{padding:20px 16px}.ws-actions{gap:6px;flex-wrap:wrap}.ws-tabs{padding:0 16px;gap:20px}.ws-template-grid{gap:7px}.ws-template{padding:7px}.ws-template.selected{padding:6px}.ws-colors,.ws-form-grid{gap:10px}.ws-preview{padding:20px 14px}.ws-modal{padding:25px}.ws-eyebrow{font-size:8px}}

/* Give the studio the full content area inside the existing portal shell. */
.portal-content:has(.ws-studio)>.page-heading{display:none}
.light-panel:has(>.ws-studio){padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.ws-studio{padding:12px 0;container-type:inline-size}
.ws-workspace{grid-template-columns:190px minmax(0,1fr)}
.ws-editor-grid{grid-template-columns:minmax(300px,1fr) minmax(300px,380px)}
.ws-controls{padding:22px 20px}.ws-preview{padding:22px 16px}
.ws-template strong{font-size:12px}.ws-template small{font-size:10px}
.ws-preview-widget .de-template-preview{min-width:0!important;width:100%!important}
.ws-preview-widget .de-preview-frame{width:100%!important;max-width:100%!important}
@container(max-width:900px){.ws-workspace{grid-template-columns:170px minmax(0,1fr)}.ws-editor-grid{grid-template-columns:1fr}.ws-preview{border-left:0;border-top:1px solid var(--ws-line)}.ws-editor-head{align-items:flex-start;flex-direction:column}.ws-preview-browser{max-width:390px}}
@container(max-width:600px){.ws-workspace{grid-template-columns:1fr}.ws-sites{max-height:225px;overflow:auto;border-right:0;border-bottom:1px solid var(--ws-line)}.ws-side-note{display:none}.ws-site strong{max-width:none}.ws-page-head{align-items:flex-start;gap:14px}.ws-page-head h1{font-size:26px}.ws-page-head p{font-size:12px}.ws-summary{gap:12px;flex-wrap:wrap}.ws-summary>button{margin-left:0}.ws-tabs{gap:18px;padding:0 16px}.ws-actions{flex-wrap:wrap}.ws-editor-head{padding:20px 16px}.ws-colors{gap:10px}.ws-controls{padding:20px 16px}.ws-preview{padding:20px 12px}}
