:root{--bg:#f4f6fa;--panel:#fff;--ink:#101828;--muted:#667085;--line:#e4e7ec;--brand:#2557f5;--dark:#101828;--success:#067647;--danger:#b42318}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}body{margin:0}a{color:inherit}.top{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#2557f5,#724ff7);color:#fff;font-weight:900;letter-spacing:-1px}.brand strong{display:block;font-size:14px}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.12em;text-transform:uppercase}.wrap{max-width:1370px;margin:auto;padding:32px 26px 52px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid transparent;border-radius:10px;padding:9px 15px;font:inherit;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer;background:#fff}.primary{background:var(--brand);color:#fff}.dark{background:var(--dark);color:#fff}.secondary{border-color:var(--line);background:#fff}.ghost{background:transparent;color:#475467}.danger{background:#fff1f0;color:var(--danger);border-color:#fecdca}.head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.head h1{font-size:34px;letter-spacing:-.04em;margin:4px 0 7px}.head p{color:var(--muted);font-size:13px;margin:0}.label{font-size:9px;color:var(--brand);font-weight:900;letter-spacing:.16em;text-transform:uppercase}.toast{border-radius:11px;padding:12px 14px;margin-bottom:16px;font-size:12px;font-weight:700}.ok{background:#ecfdf3;color:#067647;border:1px solid #abefc6}.err{background:#fef3f2;color:#b42318;border:1px solid #fecdca}.sitegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.sitecard{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.thumb{height:185px;padding:16px;background:linear-gradient(145deg,#e8efff,#fff);position:relative}.thumb.restaurant{background:linear-gradient(145deg,#fff0dd,#fed7aa)}.thumb.portfolio{background:linear-gradient(145deg,#101828,#293056);color:#fff}.fakebar{height:22px;border-radius:7px;background:rgba(255,255,255,.8)}.fakecopy{position:absolute;left:30px;top:65px;max-width:70%}.fakecopy small{font-size:7px;opacity:.6;display:block}.fakecopy strong{font-size:21px;line-height:1;letter-spacing:-.04em;display:block;margin-top:7px}.fakecopy i{display:block;width:110px;height:5px;background:currentColor;opacity:.14;border-radius:4px;margin-top:12px}.sitebody{padding:17px}.siterow{display:flex;justify-content:space-between;gap:12px}.sitebody h3{margin:0 0 4px;font-size:15px}.sitebody p{margin:0;color:var(--muted);font-size:10px}.status{padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;height:max-content}.live{background:#ecfdf3;color:#067647}.draft{background:#f2f4f7;color:#667085}.actions{display:flex;gap:7px;margin-top:16px}.empty{min-height:410px;border:1px dashed #cfd4dc;background:#fff;border-radius:20px;display:grid;place-items:center;text-align:center;align-content:center;padding:30px}.empty h2{margin:12px 0 7px}.empty p{color:var(--muted);margin:0 0 18px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.create{display:grid;grid-template-columns:330px 1fr;gap:18px}.field{display:block;margin-bottom:15px}.field span{display:block;font-size:10px;font-weight:800;color:#475467;margin-bottom:6px}.field input,.field textarea{width:100%;padding:10px 11px;border:1px solid #d0d5dd;border-radius:9px;font:inherit;font-size:12px;outline:0}.field input:focus,.field textarea:focus{border-color:#84adff;box-shadow:0 0 0 3px #eef4ff}.field textarea{resize:vertical;line-height:1.5}.slug{display:flex;border:1px solid #d0d5dd;border-radius:9px;overflow:hidden}.slug b{padding:10px;background:#f9fafb;color:#98a2b3;font-size:11px}.slug input{border:0;border-radius:0}.templates{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tpl{padding:8px;border:2px solid transparent;background:#f8fafc;border-radius:14px;cursor:pointer}.tpl:has(input:checked){border-color:var(--brand);background:#eef4ff}.tpl input{position:absolute;opacity:0}.tplpic{height:145px;border-radius:9px;display:block;background:linear-gradient(145deg,#e4ecff,#fff);padding:14px}.tplpic.r{background:linear-gradient(145deg,#fff0dd,#fed7aa)}.tplpic.p{background:#101828;color:#fff}.tplpic b{display:block;width:60%;height:22px;background:currentColor;opacity:.65;margin-top:30px;border-radius:5px}.tplpic i{display:block;width:75%;height:5px;background:currentColor;opacity:.13;margin-top:10px;border-radius:5px}.tpl>strong,.tpl>small{display:block;margin:9px 3px 0}.tpl>strong{font-size:12px}.tpl>small{font-size:9px;color:var(--muted);margin-top:2px}.createfoot{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}.edithead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.edittitle{display:flex;gap:10px;align-items:center}.edittitle small,.edittitle strong{display:block}.edittitle small{font-size:9px;color:var(--muted)}.edittitle strong{font-size:13px}.editactions{display:flex;gap:7px}.editor{height:calc(100vh - 160px);min-height:610px;display:grid;grid-template-columns:430px 1fr;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 16px 45px rgba(16,24,40,.08)}.side{display:grid;grid-template-rows:auto 1fr auto;border-right:1px solid var(--line)}.tabs{display:flex;gap:2px;padding:10px;overflow:auto;border-bottom:1px solid var(--line);background:#fcfcfd}.tabs button{border:0;background:transparent;border-radius:7px;padding:7px 8px;font-size:9px;color:#667085;font-weight:800;white-space:nowrap;cursor:pointer}.tabs .active{background:#eef4ff;color:var(--brand)}.scroll{overflow:auto;padding:20px}.ep{display:none}.ep.active{display:block}.sect{display:flex;gap:9px;margin-bottom:18px}.sect em{width:27px;height:27px;background:#eef4ff;color:var(--brand);border-radius:8px;display:grid;place-items:center;font-size:8px;font-style:normal;font-weight:900}.sect h3{font-size:14px;margin:0 0 3px}.sect p{font-size:9px;color:var(--muted);margin:0}.mini{padding:12px;border:1px solid var(--line);border-radius:11px;margin-bottom:10px}.mini>strong{font-size:10px;display:block;margin-bottom:9px}.colors{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.colors input{height:40px;padding:3px}.savebar{border-top:1px solid var(--line);padding:11px 13px;display:flex;justify-content:space-between;align-items:center}.savebar span{font-size:9px;color:var(--muted)}.preview{background:#e7ebf3;padding:16px;display:grid;grid-template-rows:40px 1fr}.chrome{background:#fff;border-radius:10px 10px 0 0;display:flex;align-items:center;padding:0 10px;gap:8px}.dots{display:flex;gap:4px}.dots i{width:6px;height:6px;border-radius:50%;background:#d0d5dd}.url{background:#f2f4f7;color:#98a2b3;padding:7px 10px;border-radius:6px;flex:1;font-size:8px}.reload{border:0;background:#f2f4f7;border-radius:7px;width:26px;height:26px;cursor:pointer}.preview iframe{width:100%;height:100%;border:0;background:#fff;border-radius:0 0 10px 10px}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:#fff}.promo{background:radial-gradient(circle at 70% 20%,rgba(118,80,255,.38),transparent 30%),linear-gradient(145deg,#07142f,#113d9d);padding:44px 54px;color:#fff;display:flex;flex-direction:column}.promocopy{margin:auto 0 8vh;max-width:650px}.promocopy h1{font-size:clamp(50px,6vw,82px);line-height:.94;letter-spacing:-.06em;margin:15px 0 24px}.promocopy p{font-size:16px;color:rgba(255,255,255,.68);line-height:1.7}.loginbox{display:grid;place-items:center;padding:40px}.logincard{width:min(410px,100%)}.logincard h2{font-size:31px;letter-spacing:-.04em;margin:8px 0}.logincard>p{color:var(--muted);font-size:12px;margin:0 0 24px}.hint{background:#f8fafc;border-radius:11px;text-align:center;padding:11px;margin-top:17px;font-size:9px;color:var(--muted);line-height:1.7}.landing{background:#f8fafc;min-height:100vh}.landnav{height:78px;display:flex;align-items:center;justify-content:space-between;max-width:1220px;margin:auto;padding:0 25px}.hero{max-width:1220px;margin:auto;padding:90px 25px;display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.hero h1{font-size:clamp(52px,6vw,82px);line-height:.94;letter-spacing:-.065em;margin:14px 0 24px}.hero h1 span{color:#667085}.hero p{font-size:17px;line-height:1.7;color:var(--muted);max-width:580px}.demo{background:#101828;padding:11px;border-radius:22px;box-shadow:0 34px 80px rgba(16,24,40,.22);transform:rotate(1deg)}.demobar{height:37px;background:#1d2939;border-radius:11px 11px 0 0}.democanvas{height:380px;background:#eef2f6;border-radius:0 0 11px 11px;display:grid;grid-template-columns:95px 1fr}.demoside{background:#fff;padding:18px 12px}.demoside i{display:block;height:7px;background:#e4e7ec;border-radius:4px;margin-bottom:11px}.demopage{background:#fff;margin:24px;padding:48px 36px;border-radius:10px}.demopage small{color:var(--brand);font-weight:900}.demopage strong{font-size:38px;display:block;letter-spacing:-.05em;margin-top:10px}.demopage i{height:7px;background:#e4e7ec;border-radius:5px;width:75%;display:block;margin-top:17px}.demopage i.short{width:48%;margin-top:6px}.dangerzone{margin-top:16px;display:flex;justify-content:space-between;align-items:center}.dangerzone p{font-size:9px;color:var(--muted);margin:3px 0 0}@media(max-width:1050px){.sitegrid{grid-template-columns:repeat(2,1fr)}.create{grid-template-columns:1fr}.editor{grid-template-columns:390px 1fr}.auth{grid-template-columns:1fr}.promo{display:none}.hero{grid-template-columns:1fr}.demo{max-width:700px}}@media(max-width:730px){.top{padding:0 15px}.wrap{padding:23px 15px 40px}.head{flex-direction:column;align-items:flex-start}.sitegrid,.templates{grid-template-columns:1fr}.edithead{align-items:flex-start;flex-direction:column;gap:10px}.editor{height:auto;display:block}.side{border:0}.preview{height:640px}.colors{grid-template-columns:1fr}.hero{padding:62px 18px}.hero h1{font-size:50px}.democanvas{grid-template-columns:70px 1fr}.demopage{margin:15px;padding:35px 22px}.demopage strong{font-size:28px}}

/* V2 reference-style template previews */
.tplpic.ref{position:relative;overflow:hidden;padding:0;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 20px rgba(17,24,39,.08);color:#111827}
.tplpic.ref .mini-nav{display:block;height:24px;background:#09090b;border-bottom:1px solid #27272a}
.tplpic.ref:before{content:"";position:absolute;top:8px;left:10px;width:34px;height:7px;border-radius:2px;background:#b91c1c;z-index:2}
.tplpic.ref b{position:absolute;left:14px;top:48px;width:52%;height:20px;margin:0;border-radius:3px;background:#111827;opacity:1}
.tplpic.ref i{position:absolute;left:14px;top:75px;width:43%;height:5px;margin:0;border-radius:4px;background:#9ca3af;opacity:.65}
.tplpic.ref i:after{content:"";display:block;width:72%;height:5px;margin-top:9px;border-radius:4px;background:#d1d5db}
.tplpic.ref em{position:absolute;right:13px;top:40px;width:38%;height:70px;border-radius:9px;background:linear-gradient(145deg,#e5e7eb,#f9fafb);box-shadow:0 8px 20px rgba(17,24,39,.12)}
.tplpic.ref.slider{background:#111827}
.tplpic.ref.slider:after{content:"";position:absolute;inset:24px 0 0;background:linear-gradient(145deg,rgba(17,24,39,.3),rgba(185,28,28,.72))}
.tplpic.ref.slider b,.tplpic.ref.slider i,.tplpic.ref.slider em,.tplpic.ref.slider:before{z-index:2}
.tplpic.ref.slider b{left:23%;top:57px;width:54%;background:#fff}
.tplpic.ref.slider i{left:31%;top:84px;width:38%;background:#e5e7eb}
.tplpic.ref.slider em{display:none}
.tplpic.ref.showcase{background:#0b0d12;color:#fff}
.tplpic.ref.showcase b{background:#fff}
.tplpic.ref.showcase i{background:#71717a}
.tplpic.ref.showcase em{border-radius:3px;background:linear-gradient(145deg,#27272a,#7c3aed)}

.thumb{overflow:hidden;background:#fff!important;border-bottom:1px solid #e5e7eb;color:#111827!important}
.thumb:before{content:"";position:absolute;left:0;right:0;top:0;height:30px;background:#09090b}
.thumb:after{content:"";position:absolute;right:16px;top:47px;width:39%;height:105px;border-radius:10px;background:linear-gradient(145deg,#e5e7eb,#f8fafc);box-shadow:0 10px 25px rgba(17,24,39,.12)}
.thumb .fakebar{position:absolute;left:15px;top:11px;width:42px;height:8px;background:#b91c1c;z-index:3;border-radius:2px}
.thumb .fakecopy{z-index:2;top:57px;left:22px;max-width:48%}
.thumb .fakecopy small{color:#b91c1c;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:1}
.thumb .fakecopy strong{font-size:18px;line-height:1.05;color:#111827}
.thumb.restaurant{background:#111827!important}
.thumb.restaurant:after{background:linear-gradient(145deg,#3f3f46,#c2410c);opacity:.95}
.thumb.restaurant .fakecopy strong{color:#fff}
.thumb.restaurant .fakecopy small{color:#fdba74}
.thumb.portfolio{background:#0b0d12!important}
.thumb.portfolio:after{border-radius:3px;background:linear-gradient(145deg,#27272a,#7c3aed)}
.thumb.portfolio .fakecopy strong{color:#fff}
.thumb.portfolio .fakecopy small{color:#c4b5fd}

/* V3 full-width visual editor */
.studio-page{height:100vh;overflow:hidden;background:#dfe4eb}
.studio-wrap{height:100vh;max-width:none;margin:0;padding:0;overflow:hidden}
.studio-toolbar{height:68px;background:#fff;border-bottom:1px solid #dfe3e8;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;padding:0 16px;gap:16px;position:relative;z-index:50;box-shadow:0 1px 0 rgba(16,24,40,.03)}
.studio-left,.studio-actions{display:flex;align-items:center;gap:10px;min-width:0}.studio-actions{justify-content:flex-end}.studio-actions form{margin:0}.studio-brand{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}.studio-mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#2557f5,#724ff7);color:#fff;font-size:10px;letter-spacing:-.04em}.toolbar-sep{width:1px;height:26px;background:#e4e7ec}.backlink{font-size:10px;font-weight:800;color:#667085;text-decoration:none;white-space:nowrap}.backlink:hover{color:#101828}.site-title{display:flex;align-items:center;gap:8px;min-width:0}.site-title strong{font-size:11px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-title .status{flex:none}
.device-switch{justify-self:center;background:#f2f4f7;border:1px solid #e4e7ec;border-radius:11px;padding:3px;display:flex;gap:2px}.device-switch button{border:0;background:transparent;color:#667085;border-radius:8px;height:34px;padding:0 11px;display:flex;align-items:center;gap:6px;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.device-switch button b{font-size:15px;line-height:1;font-weight:500}.device-switch button.active{background:#fff;color:#101828;box-shadow:0 1px 4px rgba(16,24,40,.12)}
.studio-workspace{height:calc(100vh - 68px);position:relative;overflow:hidden;background:#cfd5dd}
.studio-canvas{position:absolute;inset:0;background:#dfe4eb;overflow:hidden}
.canvas-info{position:absolute;right:14px;top:12px;z-index:12;background:rgba(16,24,40,.88);color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 11px;display:flex;align-items:center;gap:8px;pointer-events:none;box-shadow:0 7px 20px rgba(16,24,40,.15);backdrop-filter:blur(8px)}.canvas-info span{font-size:9px;font-weight:850}.canvas-info small{font-size:8px;color:#d0d5dd}
.viewport-wrap{width:100%;height:100%;overflow:auto;display:flex;align-items:flex-start;justify-content:center;transition:padding .2s ease,background .2s ease}
.viewport-frame{height:100%;background:#fff;overflow:hidden;box-shadow:none;transition:width .25s ease,border-radius .25s ease,box-shadow .25s ease;margin:0 auto;flex:0 0 auto}
.viewport-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.viewport-wrap[data-device-mode="desktop"]{padding:0;background:#fff}.viewport-wrap[data-device-mode="desktop"] .viewport-frame{width:100%;min-width:0;border-radius:0}
.viewport-wrap[data-device-mode="tablet"]{padding:20px;background:#cfd5dd}.viewport-wrap[data-device-mode="tablet"] .viewport-frame{width:834px;max-width:none;height:100%;border-radius:14px;box-shadow:0 20px 55px rgba(16,24,40,.22);border:1px solid rgba(16,24,40,.12)}
.viewport-wrap[data-device-mode="mobile"]{padding:20px;background:#cfd5dd}.viewport-wrap[data-device-mode="mobile"] .viewport-frame{width:390px;max-width:none;height:100%;border-radius:22px;box-shadow:0 20px 55px rgba(16,24,40,.24);border:1px solid rgba(16,24,40,.16)}
.studio-drawer{position:absolute;z-index:30;left:14px;top:14px;bottom:14px;width:390px;background:#fff;border:1px solid #dfe3e8;border-radius:16px;box-shadow:0 20px 60px rgba(16,24,40,.24);overflow:hidden;display:grid;grid-template-rows:auto auto 1fr auto;transform:translateX(0);opacity:1;transition:transform .22s ease,opacity .18s ease;isolation:isolate}.studio-workspace.drawer-collapsed .studio-drawer{transform:translateX(calc(-100% - 30px));opacity:0;pointer-events:none}.drawer-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 17px;border-bottom:1px solid #eef0f2}.drawer-head .label{display:block;font-size:8px;margin-bottom:2px}.drawer-head strong{display:block;font-size:13px}.iconbtn{width:31px;height:31px;border:1px solid #e4e7ec;background:#fff;border-radius:9px;display:grid;place-items:center;color:#667085;font-size:18px;cursor:pointer}.iconbtn:hover{background:#f9fafb;color:#101828}.studio-drawer .tabs{padding:8px 9px;background:#fff}.studio-drawer .scroll{padding:18px;overscroll-behavior:contain}.studio-drawer .savebar{background:#fff}.studio-drawer .savebar span{display:flex;align-items:center;gap:5px}.studio-drawer .savebar span i{width:6px;height:6px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px #ecfdf3}.drawer-danger{margin-top:24px;padding:14px;border:1px solid #fecdca;background:#fff8f7;border-radius:11px}.drawer-danger strong{font-size:10px;color:#b42318}.drawer-danger p{font-size:9px;color:#667085;line-height:1.5;margin:4px 0 10px}.drawer-danger .btn{min-height:34px;font-size:9px}
.editor-toggle{min-width:88px}.icononly{width:40px;padding:0;font-size:16px}.studio-toast{position:fixed;top:78px;left:50%;transform:translateX(-50%);z-index:1000;margin:0;box-shadow:0 12px 36px rgba(16,24,40,.16)}
@media(max-width:1120px){.studio-toolbar{grid-template-columns:1fr auto}.device-switch{grid-row:2;grid-column:1/-1;position:absolute;top:74px;left:50%;transform:translateX(-50%);z-index:60;box-shadow:0 8px 20px rgba(16,24,40,.12)}.studio-actions .secondary:not(.editor-toggle):not(.icononly){display:none}.site-title{display:none}}
@media(max-width:760px){.studio-toolbar{height:62px;padding:0 10px}.studio-workspace{height:calc(100vh - 62px)}.studio-brand span:last-child,.toolbar-sep,.backlink{display:none}.studio-actions{gap:5px}.studio-actions .btn{padding:7px 10px;min-height:36px}.editor-toggle{min-width:0}.device-switch{top:69px}.device-switch button{padding:0 8px}.device-switch button span{display:none}.studio-drawer{left:8px;top:58px;bottom:8px;width:calc(100% - 16px);max-width:390px}.canvas-info{top:58px}.viewport-wrap[data-device-mode="tablet"],.viewport-wrap[data-device-mode="mobile"]{padding-top:56px}}

/* V4 docked editor: sidebar is a real left column, never layered over the site */
.studio-workspace{
  --editor-width:390px;
  display:grid;
  grid-template-columns:var(--editor-width) minmax(0,1fr);
  grid-template-rows:1fr;
  position:relative;
  height:calc(100vh - 68px);
  overflow:hidden;
  background:#cfd5dd;
  transition:grid-template-columns .22s ease;
}
.studio-workspace.drawer-collapsed{grid-template-columns:0 minmax(0,1fr)}
.studio-drawer{
  position:relative;
  z-index:2;
  left:auto;
  top:auto;
  bottom:auto;
  grid-column:1;
  grid-row:1;
  width:100%;
  min-width:0;
  height:100%;
  border:0;
  border-right:1px solid #dfe3e8;
  border-radius:0;
  box-shadow:none;
  transform:none;
  opacity:1;
  transition:opacity .15s ease;
  background:#fff;
}
.studio-workspace.drawer-collapsed .studio-drawer{
  transform:none;
  opacity:0;
  pointer-events:none;
  visibility:hidden;
}
.studio-canvas{
  position:relative;
  inset:auto;
  z-index:1;
  grid-column:2;
  grid-row:1;
  min-width:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#dfe4eb;
}
.viewport-wrap{min-width:0}
.viewport-wrap[data-device-mode="desktop"] .viewport-frame{width:100%;max-width:100%}
.drawer-head{border-radius:0}
.canvas-info{right:14px;top:12px}
.studio-drawer .savebar span:after{content:" · realtime";color:#067647;font-weight:800}

@media(max-width:1180px){
  .studio-workspace{--editor-width:340px}
}
@media(max-width:900px){
  .studio-workspace{--editor-width:300px}
  .studio-drawer{left:auto;top:auto;bottom:auto;width:100%;max-width:none}
  .canvas-info{top:58px}
}
@media(max-width:760px){
  .studio-workspace{height:calc(100vh - 62px);--editor-width:280px}
  .studio-drawer{left:auto;top:auto;bottom:auto;width:100%;max-width:none}
  .viewport-wrap[data-device-mode="tablet"],.viewport-wrap[data-device-mode="mobile"]{padding-top:56px}
}

/* V5 accurate device viewport: fixed CSS viewport, visually scaled to fit editor */
.viewport-wrap{
  position:relative;
  padding:16px!important;
  background:#cfd5dd!important;
  overflow:hidden!important;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.viewport-stage{
  position:relative;
  flex:0 0 auto;
  min-width:0;
  overflow:visible;
}
.viewport-stage .viewport-frame{
  position:absolute;
  top:0;
  left:0;
  margin:0;
  max-width:none!important;
  min-width:0!important;
  border-radius:0;
  border:0;
  box-shadow:0 16px 45px rgba(16,24,40,.22);
  transform-origin:top left;
  background:#fff;
  overflow:hidden;
  transition:none;
}
.viewport-stage .viewport-frame iframe{width:100%;height:100%;display:block;border:0;background:#fff}
.viewport-wrap[data-device-mode="desktop"] .viewport-frame{border-radius:0!important}
.viewport-wrap[data-device-mode="tablet"] .viewport-frame{border-radius:14px!important;border:1px solid rgba(16,24,40,.12)!important}
.viewport-wrap[data-device-mode="mobile"] .viewport-frame{border-radius:22px!important;border:1px solid rgba(16,24,40,.16)!important}
@media(max-width:760px){.viewport-wrap{padding:56px 8px 8px!important}}

/* V6 modular templates */
.tplpic.modular{padding:0;overflow:hidden;background:#fff;border:1px solid #e5e7eb}.tplpic.modular .template-thumb-img,.thumb .template-thumb-img{display:block;width:100%;height:100%;object-fit:cover}.thumb{padding:0}.thumb:has(.template-thumb-img):before,.thumb:has(.template-thumb-img):after{display:none}.template-badge{position:absolute;left:10px;bottom:10px;background:rgba(16,24,40,.86);color:#fff;padding:5px 8px;border-radius:7px;font-size:8px;font-weight:800;backdrop-filter:blur(6px)}.field-help{display:block;margin-top:5px;color:#98a2b3;font-size:8px;line-height:1.4}.head code{padding:2px 5px;background:#f2f4f7;border-radius:5px;font-size:11px}

/* V6.1 editor toolbar sizing consistency */
.studio-toolbar .backlink{
  min-height:40px;
  padding:9px 12px;
  border:1px solid #e4e7ec;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  line-height:1;
  font-weight:800;
  color:#475467;
  background:#fff;
}
.studio-toolbar .backlink:hover{background:#f9fafb;color:#101828}
.studio-toolbar .site-title{gap:9px}
.studio-toolbar .site-title strong{
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  max-width:220px;
}
.studio-toolbar .site-title .status{
  padding:6px 9px;
  font-size:11px;
  line-height:1;
  font-weight:850;
}
@media(max-width:760px){
  .studio-toolbar .backlink{display:none}
}

/* V7.3 UX Pack: autosave + section manager */
.toolbar-save-state{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 9px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;color:#667085;font-size:9px;font-weight:850;white-space:nowrap}.toolbar-save-state i,.save-state>i{width:7px;height:7px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px #ecfdf3;flex:none}.toolbar-save-state.is-saving i,.save-state.is-saving>i{background:#f79009;box-shadow:0 0 0 3px #fffaeb;animation:inkmalPulse .8s ease-in-out infinite}.toolbar-save-state.is-dirty i,.save-state.is-dirty>i{background:#667085;box-shadow:0 0 0 3px #f2f4f7}.toolbar-save-state.is-error i,.save-state.is-error>i{background:#d92d20;box-shadow:0 0 0 3px #fef3f2}.toolbar-save-state.is-error{color:#b42318}.save-state{display:flex!important;align-items:center;gap:6px;min-width:0}.save-state strong{font-size:9px;color:#344054}.save-state small{font-size:8px;color:#98a2b3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px}.save-state.is-error strong{color:#b42318}.studio-drawer .savebar span:after{content:""!important}
.section-manager{display:grid;gap:8px}.section-manager-item{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 10px 10px 12px;border:1px solid #e4e7ec;border-radius:11px;background:#fff;transition:border-color .15s,background .15s}.section-manager-item:hover{border-color:#cfd4dc;background:#fcfcfd}.section-manager-copy{min-width:0;flex:1}.section-manager-copy b{display:block;font-size:10px;color:#344054}.section-manager-copy small{display:block;margin-top:3px;font-size:8px;line-height:1.35;color:#98a2b3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-manager-controls{display:flex;align-items:center;gap:5px}.section-move{width:28px;height:28px;border:1px solid #e4e7ec;border-radius:8px;background:#fff;color:#667085;font-size:13px;font-weight:800;cursor:pointer}.section-move:hover:not(:disabled){background:#f2f4f7;color:#101828}.section-move:disabled{opacity:.35;cursor:not-allowed}.section-toggle{position:relative;display:inline-flex;width:38px;height:22px;margin-left:3px;cursor:pointer}.section-toggle input{position:absolute;opacity:0;pointer-events:none}.section-toggle span{position:absolute;inset:0;border-radius:999px;background:#d0d5dd;transition:.18s}.section-toggle span:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.22);transition:.18s}.section-toggle input:checked+span{background:#2557f5}.section-toggle input:checked+span:after{transform:translateX(16px)}.section-toggle input:focus-visible+span{outline:3px solid #dbe7ff;outline-offset:2px}.section-manager-note{margin:11px 2px 0;color:#98a2b3;font-size:8px;line-height:1.5}
@keyframes inkmalPulse{50%{opacity:.45}}
@media(max-width:1120px){.toolbar-save-state{display:none}}
@media(prefers-reduced-motion:reduce){.toolbar-save-state.is-saving i,.save-state.is-saving>i{animation:none}}

/* V7.4 Editor Visual Polish */
.studio-page{background:#eef1f5;overflow:hidden}
.studio-page .studio-wrap{min-height:100vh}
.studio-toolbar{
  height:72px;
  padding:0 18px;
  gap:14px;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 1px 2px rgba(16,24,40,.03);
  background:rgba(255,255,255,.98);
}
.studio-left{display:flex;align-items:center;gap:10px;min-width:0}
.studio-brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap}
.studio-mark{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#2557f5,#724ff7);color:#fff;font-size:12px;font-weight:900;letter-spacing:-.04em}
.studio-toolbar .backlink{min-height:42px;padding:0 13px;border-radius:11px;font-size:13px;font-weight:750;color:#475467}
.studio-toolbar .site-title{display:flex;align-items:center;gap:9px;min-width:0;padding-left:2px}
.studio-toolbar .site-title strong{font-size:14px;line-height:1.25;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-toolbar .site-title .status{font-size:11px;padding:6px 10px;border-radius:999px}
.device-switch{border-radius:12px;padding:4px;background:#f2f4f7;border-color:#e4e7ec}
.device-switch button{height:38px;padding:0 13px;border-radius:9px;font-size:12px;gap:7px}
.device-switch button b{font-size:17px}
.studio-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.studio-actions form{margin:0}
.studio-actions .btn{min-height:42px;padding:0 14px;border-radius:11px;font-size:12px;font-weight:800}
.studio-actions .icononly{width:42px;padding:0;font-size:18px}
.toolbar-save-state{min-height:38px;padding:0 11px;border-radius:10px;font-size:11px}

.studio-workspace{
  --editor-width:400px;
  height:calc(100vh - 72px);
  grid-template-columns:var(--editor-width) minmax(0,1fr);
  background:#e9edf2;
}
.studio-drawer{
  grid-template-rows:auto auto minmax(0,1fr) auto;
  border-right:1px solid #e1e5ea;
  background:#fff;
}
.drawer-head{
  min-height:82px;
  height:auto;
  padding:16px 20px;
  border-bottom:1px solid #edf0f3;
}
.drawer-title{min-width:0}
.drawer-head .label{font-size:10px;letter-spacing:.14em;margin-bottom:5px;color:#667085}
.drawer-head strong{font-size:19px;line-height:1.2;letter-spacing:-.025em;color:#101828}
.drawer-head small{display:block;margin-top:4px;color:#98a2b3;font-size:12px;line-height:1.3}
.iconbtn{width:40px;height:40px;border-radius:11px;font-size:21px;flex:none}

.studio-drawer .tabs.editor-main-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
  padding:10px 14px;
  border-bottom:1px solid #edf0f3;
  background:#fff;
  overflow:visible;
}
.studio-drawer .tabs.editor-main-tabs button{
  min-height:40px;
  padding:0 9px;
  border-radius:10px;
  font-size:12px;
  font-weight:800;
  color:#667085;
}
.studio-drawer .tabs.editor-main-tabs button:hover{background:#f7f8fa;color:#344054}
.studio-drawer .tabs.editor-main-tabs button.active{background:#eef4ff;color:#2557f5;box-shadow:inset 0 0 0 1px #dbe7ff}

.studio-drawer .scroll.editor-scroll{padding:0;overflow:auto;background:#f8f9fb;overscroll-behavior:contain}
.ep[data-panel^="editor-"]{padding:22px 20px 28px}
.editor-panel-intro{margin-bottom:20px}
.editor-panel-intro>span{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#2557f5;margin-bottom:7px}
.editor-panel-intro h2{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.03em;color:#101828}
.editor-panel-intro p{margin:7px 0 0;color:#667085;font-size:13px;line-height:1.55}

.editor-accordion-list{display:grid;gap:12px}
.editor-accordion{background:#fff;border:1px solid #e4e7ec;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.02)}
.editor-accordion-trigger{width:100%;min-height:66px;border:0;background:#fff;padding:13px 14px 13px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer;color:#101828}
.editor-accordion-trigger:hover{background:#fcfcfd}
.editor-accordion-copy{min-width:0}
.editor-accordion-copy strong{display:block;font-size:14px;line-height:1.3;font-weight:850}
.editor-accordion-copy small{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:#98a2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}
.editor-chevron{width:32px;height:32px;border-radius:9px;background:#f2f4f7;display:grid;place-items:center;color:#667085;font-size:18px;line-height:1;transition:transform .18s ease,background .18s ease;flex:none}
.editor-accordion.is-open .editor-chevron{transform:rotate(180deg);background:#eef4ff;color:#2557f5}
.editor-accordion-body{display:none;padding:2px 16px 18px;border-top:1px solid #f0f2f4}
.editor-accordion.is-open .editor-accordion-body{display:block}
.editor-accordion-body>.field:first-child,.editor-accordion-body>.mini:first-child{margin-top:16px}

.studio-drawer .field{display:block;margin:0 0 20px}
.studio-drawer .field:last-child{margin-bottom:0}
.studio-drawer .field>label,.studio-drawer .field>span,.field-label-row label{
  display:block;
  margin:0 0 8px;
  color:#344054;
  font-size:13px;
  line-height:1.3;
  font-weight:750;
}
.studio-drawer .field input[type="text"],
.studio-drawer .field input[type="email"],
.studio-drawer .field input[type="number"],
.studio-drawer .field textarea{
  width:100%;
  min-height:48px;
  padding:12px 13px;
  border:1px solid #d0d5dd;
  border-radius:11px;
  background:#fff;
  color:#101828;
  font:inherit;
  font-size:15px;
  line-height:1.45;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.studio-drawer .field textarea{min-height:112px;resize:vertical}
.studio-drawer .field input:hover,.studio-drawer .field textarea:hover{border-color:#b8c0cc}
.studio-drawer .field input:focus,.studio-drawer .field textarea:focus{border-color:#84adff;box-shadow:0 0 0 4px #eef4ff;background:#fff}

.editor-field-group{margin:16px 0;padding:16px;border:1px solid #e8ebef;border-radius:12px;background:#fcfcfd}
.editor-field-group-title{font-size:12px;font-weight:850;color:#475467;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #eceff2}

.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.field-label-row label{margin:0}
.field-label-row small{font-size:10px;color:#98a2b3;font-weight:650}
.file-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.editor-image-card{position:relative;width:100%;aspect-ratio:16/9;border:1px dashed #cbd2dc;border-radius:12px;background:#f8fafc;overflow:hidden;display:grid;place-items:center}
.editor-image-card.has-image{border-style:solid;background:#eef1f5}
.editor-image-card img{width:100%;height:100%;object-fit:cover;display:block}
.editor-image-empty{text-align:center;padding:18px;color:#98a2b3}
.editor-image-empty span{width:38px;height:38px;border-radius:11px;background:#fff;border:1px solid #e4e7ec;display:grid;place-items:center;margin:0 auto 8px;color:#667085;font-size:20px}
.editor-image-empty strong{display:block;font-size:12px;color:#475467;margin-bottom:3px}
.editor-image-empty small{display:block;font-size:10px;line-height:1.4}
.editor-image-actions{display:flex;align-items:center;gap:10px;margin-top:9px}
.editor-image-actions .editor-file-button{min-height:40px;padding:0 12px;border-radius:10px;font-size:12px;cursor:pointer}
.editor-image-actions>span{font-size:10px;color:#98a2b3}

.field-color>label{margin-bottom:8px}
.color-control{height:50px;border:1px solid #d0d5dd;border-radius:11px;background:#fff;padding:5px 12px 5px 6px;display:flex;align-items:center;gap:11px}
.color-control:focus-within{border-color:#84adff;box-shadow:0 0 0 4px #eef4ff}
.color-control input[type="color"]{width:40px;height:38px;padding:0;border:0;border-radius:9px;background:transparent;overflow:hidden;cursor:pointer;flex:none}
.color-control input[type="color"]::-webkit-color-swatch-wrapper{padding:0}.color-control input[type="color"]::-webkit-color-swatch{border:0;border-radius:8px}.color-control input[type="color"]::-moz-color-swatch{border:0;border-radius:8px}
.color-value{font-size:13px;font-weight:750;color:#475467;letter-spacing:.03em}

.section-manager{display:grid;gap:10px}
.section-manager-item{min-height:70px;padding:10px 11px;border-radius:13px;background:#fff;border-color:#e4e7ec;gap:10px}
.section-manager-item:hover{border-color:#b9c2ce;background:#fff}
.section-drag-hint{color:#b5bdc8;font-size:14px;letter-spacing:-4px;padding-right:3px;user-select:none}
.section-manager-copy b{font-size:13px;color:#344054}
.section-manager-copy small{font-size:10px;line-height:1.35;margin-top:4px;max-width:180px}
.section-manager-controls{gap:6px}
.section-move{width:36px;height:36px;border-radius:10px;font-size:15px}
.section-toggle{width:42px;height:24px;margin-left:3px}.section-toggle span:after{width:18px;height:18px}.section-toggle input:checked+span:after{transform:translateX(18px)}
.section-manager-note{font-size:11px;line-height:1.5;margin-top:12px}

.drawer-danger{margin-top:24px;padding:16px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff8f7}
.drawer-danger>div{min-width:0}.drawer-danger strong{font-size:13px}.drawer-danger p{font-size:11px;line-height:1.45;margin:4px 0 0}.drawer-danger .btn{min-height:40px;padding:0 11px;border-radius:10px;font-size:11px;flex:none}

.studio-drawer .savebar{min-height:74px;padding:12px 16px;border-top:1px solid #e4e7ec;background:#fff;gap:12px}
.save-state{gap:9px!important;min-width:0}
.save-state>span{display:block!important;min-width:0}
.save-state strong{display:block;font-size:12px;color:#344054;line-height:1.2}
.save-state small{display:block;max-width:180px;margin-top:3px;font-size:10px;color:#98a2b3}
.save-state>i{width:8px;height:8px}
.studio-drawer .savebar .btn{min-height:44px;padding:0 16px;border-radius:11px;font-size:12px;white-space:nowrap}

.studio-canvas{background:#e9edf2}
.viewport-wrap{background:#e9edf2!important;padding:18px!important}
.viewport-stage .viewport-frame{box-shadow:0 18px 55px rgba(16,24,40,.14)}
.canvas-info{top:14px;right:16px;padding:8px 12px;background:rgba(16,24,40,.82);border-radius:10px}
.canvas-info span{font-size:10px}.canvas-info small{font-size:9px}

.editor-confirm-backdrop{position:fixed;inset:0;z-index:1200;background:rgba(16,24,40,.48);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px}
.editor-confirm-backdrop[hidden]{display:none}
.editor-confirm-modal{position:relative;width:min(440px,100%);background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:26px;box-shadow:0 26px 80px rgba(16,24,40,.28)}
.editor-confirm-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:1px solid #e4e7ec;border-radius:10px;background:#fff;color:#667085;font-size:20px;cursor:pointer}
.editor-confirm-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#fef3f2;color:#d92d20;font-size:20px;font-weight:900;margin-bottom:16px}
.editor-confirm-kicker{display:block;font-size:10px;letter-spacing:.14em;font-weight:900;color:#d92d20;margin-bottom:7px}
.editor-confirm-modal h2{font-size:22px;letter-spacing:-.035em;margin:0;color:#101828}
.editor-confirm-modal p{font-size:13px;line-height:1.6;color:#667085;margin:8px 0 22px}
.editor-confirm-actions{display:flex;justify-content:flex-end;gap:8px}.editor-confirm-actions .btn{min-height:44px;border-radius:11px;font-size:12px}
.danger-solid{background:#d92d20;color:#fff;border-color:#d92d20}.danger-solid:hover{background:#b42318}

@media(max-width:1280px){
  .studio-workspace{--editor-width:370px}
  .studio-preview-link{display:none}
  .studio-toolbar .site-title strong{max-width:150px}
}
@media(max-width:1050px){
  .studio-workspace{--editor-width:350px}
  .studio-brand span:last-child{display:none}
  .studio-toolbar .backlink{display:none}
  .toolbar-save-state{display:none}
  .studio-toolbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
}
@media(max-width:860px){
  .studio-workspace{--editor-width:320px}
  .studio-toolbar{height:68px;padding:0 10px;gap:8px}
  .studio-workspace{height:calc(100vh - 68px)}
  .studio-actions .editor-toggle{display:none}
  .device-switch button{padding:0 9px}
  .device-switch button span{display:none}
  .studio-toolbar .site-title{display:none}
  .drawer-head{padding:14px 16px}.drawer-head strong{font-size:17px}
  .ep[data-panel^="editor-"]{padding:18px 15px 24px}
}
@media(max-width:650px){
  .studio-workspace{--editor-width:min(86vw,340px)}
  .studio-brand{display:none}
  .studio-toolbar{grid-template-columns:auto 1fr auto}
  .device-switch{justify-self:start}
  .studio-actions .icononly{display:none}
  .studio-actions .btn{min-height:38px;padding:0 10px}
  .studio-drawer .tabs.editor-main-tabs{padding:8px 10px}
  .studio-drawer .tabs.editor-main-tabs button{font-size:11px}
  .viewport-wrap{padding:12px!important}
}
@media(prefers-reduced-motion:reduce){.editor-chevron,.editor-confirm-backdrop{transition:none}}

/* Reset legacy responsive studio rules so the V7.4 dock stays consistent. */
@media(max-width:1120px){
  .studio-toolbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .device-switch{grid-row:auto;grid-column:auto;position:static;top:auto;left:auto;transform:none;z-index:auto;box-shadow:none}
  .studio-toolbar .site-title{display:flex}
}
@media(max-width:860px){.studio-toolbar .site-title{display:none}}

/* V7.4.1 Dark editor chrome + optically centered chevrons */
.studio-toolbar{
  background:#111827;
  border-bottom-color:#263244;
  box-shadow:0 1px 0 rgba(255,255,255,.03),0 8px 24px rgba(15,23,42,.12);
}
.studio-brand{color:#f8fafc}
.studio-toolbar .site-title strong{color:#f8fafc}
.studio-toolbar .site-title .draft{background:#293548;color:#d0d5dd}
.studio-toolbar .site-title .live{background:rgba(18,183,106,.16);color:#6ce9a6}
.studio-toolbar .backlink{
  background:#1d2939;
  border-color:#344054;
  color:#d0d5dd;
}
.studio-toolbar .backlink:hover{background:#293548;color:#fff;border-color:#475467}
.studio-toolbar .secondary{
  background:#1d2939;
  border-color:#344054;
  color:#e4e7ec;
}
.studio-toolbar .secondary:hover{background:#293548;color:#fff;border-color:#475467}
.studio-toolbar .dark{background:#2557f5;border-color:#2557f5;color:#fff}
.studio-toolbar .dark:hover{background:#1849d6;border-color:#1849d6}
.toolbar-save-state{
  background:#182230;
  border-color:#344054;
  color:#d0d5dd;
}
.device-switch{background:#0b1220;border-color:#344054}
.device-switch button{color:#98a2b3}
.device-switch button:hover{color:#e4e7ec}
.device-switch button.active{background:#f8fafc;color:#101828;box-shadow:0 1px 5px rgba(0,0,0,.25)}

.drawer-head{
  background:#182230;
  border-bottom-color:#2d3949;
}
.drawer-head .label{color:#84adff}
.drawer-head strong{color:#f8fafc}
.drawer-head small{color:#98a2b3}
.drawer-head .iconbtn{
  background:#243244;
  border-color:#344054;
  color:#d0d5dd;
}
.drawer-head .iconbtn:hover{background:#344054;color:#fff}
.studio-drawer .tabs.editor-main-tabs{
  background:#1d2939;
  border-bottom-color:#344054;
}
.studio-drawer .tabs.editor-main-tabs button{color:#98a2b3}
.studio-drawer .tabs.editor-main-tabs button:hover{background:#293548;color:#e4e7ec}
.studio-drawer .tabs.editor-main-tabs button.active{
  background:#344054;
  color:#fff;
  box-shadow:inset 0 0 0 1px #475467;
}

.section-move{
  display:grid;
  place-items:center;
  padding:0;
  line-height:0;
}
.section-move svg{
  display:block;
  width:17px;
  height:17px;
  overflow:visible;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.editor-chevron{
  display:grid;
  place-items:center;
  padding:0;
  line-height:0;
}
.editor-chevron svg{
  width:18px;
  height:18px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* V7.4.2 Soft Neutral editor — fewer boxes, calmer hierarchy */
.studio-page{background:#eceef1}
.studio-toolbar{
  height:68px;
  padding:0 16px;
  background:#1b1d21;
  border-bottom:1px solid #2b2e34;
  box-shadow:none;
}
.studio-workspace{height:calc(100vh - 68px);--editor-width:396px;background:#eceef1}
.studio-brand{color:#f7f7f8}
.studio-mark{width:34px;height:34px;border-radius:10px;background:#f7f7f8;color:#1b1d21;box-shadow:none}
.studio-toolbar .site-title strong{color:#f5f5f6;font-size:13px}
.studio-toolbar .site-title .draft{background:#2a2d33;color:#c9ccd2}
.studio-toolbar .site-title .live{background:#143c2d;color:#79e2b5}
.studio-toolbar .backlink{
  min-height:38px;
  padding:0 10px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#b7bac1;
  font-size:12px;
}
.studio-toolbar .backlink:hover{background:#26292f;color:#fff;border-color:transparent}
.toolbar-save-state{
  min-height:34px;
  padding:0 8px;
  border:0;
  background:transparent;
  color:#aeb2ba;
}
.toolbar-save-state i{box-shadow:none}
.device-switch{
  padding:3px;
  border:1px solid #34373e;
  border-radius:10px;
  background:#15171a;
}
.device-switch button{height:34px;padding:0 11px;border-radius:8px;color:#8f949d;font-size:11px}
.device-switch button:hover{color:#e5e7eb;background:#202329}
.device-switch button.active{background:#2a2d33;color:#fff;box-shadow:none}
.studio-actions{gap:5px}
.studio-actions .btn{
  min-height:38px;
  border-radius:9px;
  padding:0 11px;
  font-size:11px;
}
.studio-toolbar .secondary{
  border-color:transparent;
  background:transparent;
  color:#b7bac1;
}
.studio-toolbar .secondary:hover{border-color:transparent;background:#26292f;color:#fff}
.studio-actions .icononly{width:38px;padding:0;border-radius:9px}
.studio-toolbar .dark{
  background:#2557f5;
  border-color:#2557f5;
  color:#fff;
  padding-left:15px;
  padding-right:15px;
}
.studio-toolbar .dark:hover{background:#1d4ed8;border-color:#1d4ed8}

.studio-drawer{
  background:#fafafa;
  border-right:1px solid #dedfe3;
}
.drawer-head{
  min-height:78px;
  padding:15px 20px;
  background:#fafafa;
  border-bottom:1px solid #e6e6e8;
}
.drawer-head .label{color:#8a8d94;font-size:9px;letter-spacing:.13em}
.drawer-head strong{color:#18191c;font-size:18px}
.drawer-head small{color:#8a8d94;font-size:11px}
.drawer-head .iconbtn,
.iconbtn{
  width:36px;
  height:36px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#7a7e86;
}
.drawer-head .iconbtn:hover,.iconbtn:hover{background:#efeff1;color:#1b1d21}

.studio-drawer .tabs.editor-main-tabs{
  display:flex;
  gap:22px;
  padding:0 20px;
  min-height:48px;
  align-items:flex-end;
  background:#fafafa;
  border-bottom:1px solid #e6e6e8;
}
.studio-drawer .tabs.editor-main-tabs button{
  position:relative;
  min-height:48px;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#8a8d94;
  font-size:12px;
  font-weight:750;
}
.studio-drawer .tabs.editor-main-tabs button:hover{background:transparent;color:#34363b}
.studio-drawer .tabs.editor-main-tabs button.active{
  background:transparent;
  color:#18191c;
  box-shadow:none;
}
.studio-drawer .tabs.editor-main-tabs button.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  border-radius:2px 2px 0 0;
  background:#2557f5;
}
.studio-drawer .scroll.editor-scroll{background:#fafafa}
.ep[data-panel^="editor-"]{padding:22px 20px 30px}
.editor-panel-intro{margin-bottom:22px}
.editor-panel-intro>span{color:#8a8d94;font-size:9px;letter-spacing:.13em;margin-bottom:7px}
.editor-panel-intro h2{color:#18191c;font-size:19px}
.editor-panel-intro p{color:#73767d;font-size:12px}

.editor-accordion-list{display:block}
.editor-accordion{
  border:0;
  border-bottom:1px solid #e6e6e8;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.editor-accordion:first-child{border-top:1px solid #e6e6e8}
.editor-accordion-trigger{
  min-height:64px;
  padding:13px 2px;
  background:transparent;
}
.editor-accordion-trigger:hover{background:transparent}
.editor-accordion-copy strong{font-size:13px;color:#24262a}
.editor-accordion-copy small{font-size:10px;color:#999ca3}
.editor-chevron{
  width:30px;
  height:30px;
  border-radius:8px;
  background:transparent;
  color:#8b8e95;
}
.editor-accordion-trigger:hover .editor-chevron{background:#efeff1;color:#303238}
.editor-accordion.is-open .editor-chevron{background:transparent;color:#2557f5}
.editor-accordion-body{padding:0 2px 22px;border-top:0}
.editor-accordion-body>.field:first-child,.editor-accordion-body>.mini:first-child{margin-top:4px}

.editor-field-group{
  margin:18px 0;
  padding:16px;
  border:0;
  border-radius:12px;
  background:#f1f1f3;
}
.editor-field-group-title{color:#676a71;border-bottom-color:#dedfe3;font-size:11px}
.studio-drawer .field>label,.studio-drawer .field>span,.field-label-row label{color:#4d5057;font-size:12px}
.studio-drawer .field input[type="text"],
.studio-drawer .field input[type="email"],
.studio-drawer .field input[type="number"],
.studio-drawer .field textarea{
  min-height:46px;
  border:1px solid #d8d9dd;
  border-radius:10px;
  background:#fff;
  color:#18191c;
  font-size:14px;
  box-shadow:none;
}
.studio-drawer .field input:hover,.studio-drawer .field textarea:hover{border-color:#bfc1c6}
.studio-drawer .field input:focus,.studio-drawer .field textarea:focus{border-color:#6f8ff7;box-shadow:0 0 0 3px rgba(37,87,245,.10)}
.editor-image-card{border-color:#d2d4d8;background:#f3f3f4;border-radius:11px}
.editor-image-card.has-image{background:#ececef}
.editor-image-empty span{border:0;background:#e7e7e9;color:#666970;border-radius:9px}
.editor-image-actions .editor-file-button{
  border:0;
  background:#ececef;
  color:#34363b;
  border-radius:9px;
}
.editor-image-actions .editor-file-button:hover{background:#e1e1e4}
.color-control{height:48px;border-color:#d8d9dd;border-radius:10px;box-shadow:none}
.color-control:focus-within{border-color:#6f8ff7;box-shadow:0 0 0 3px rgba(37,87,245,.10)}
.color-value{color:#55585f;font-size:12px}

.section-manager{gap:0;border-top:1px solid #e6e6e8}
.section-manager-item{
  min-height:64px;
  padding:9px 2px;
  border:0;
  border-bottom:1px solid #e6e6e8;
  border-radius:0;
  background:transparent;
}
.section-manager-item:hover{border-color:#e6e6e8;background:#f4f4f5}
.section-drag-hint{color:#c0c2c7}
.section-manager-copy b{font-size:12px;color:#303238}
.section-manager-copy small{font-size:9px;color:#999ca3}
.section-manager-controls{gap:2px}
.section-move{
  width:34px;
  height:34px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#8a8d94;
}
.section-move:hover:not(:disabled){background:#e9e9eb;color:#27292e}
.section-toggle{margin-left:7px}
.section-toggle span{background:#d3d4d8}
.section-toggle input:checked+span{background:#2557f5}
.section-manager-note{color:#999ca3}

.drawer-danger{
  margin-top:26px;
  padding:14px 0 0;
  border:0;
  border-top:1px solid #e6e6e8;
  border-radius:0;
  background:transparent;
}
.drawer-danger strong{color:#b42318}
.drawer-danger .btn{
  border:0;
  background:transparent;
  color:#b42318;
}
.drawer-danger .btn:hover{background:#fff0ef}
.studio-drawer .savebar{
  min-height:68px;
  padding:10px 16px;
  border-top:1px solid #dedfe3;
  background:#fafafa;
}
.save-state strong{color:#45484e;font-size:11px}
.save-state small{color:#999ca3}
.studio-drawer .savebar .btn{
  min-height:40px;
  border:0;
  border-radius:9px;
  background:#1b1d21;
  color:#fff;
  box-shadow:none;
}
.studio-drawer .savebar .btn:hover{background:#303238}

.studio-canvas,.viewport-wrap{background:#eceef1!important}
.viewport-stage .viewport-frame{box-shadow:0 12px 34px rgba(22,24,28,.12)}
.canvas-info{background:rgba(27,29,33,.82);border-radius:8px;box-shadow:none}

@media(max-width:1280px){.studio-workspace{--editor-width:370px}}
@media(max-width:1050px){.studio-workspace{--editor-width:350px}}
@media(max-width:860px){
  .studio-toolbar{height:64px}
  .studio-workspace{height:calc(100vh - 64px);--editor-width:320px}
}
@media(max-width:650px){
  .studio-workspace{--editor-width:min(88vw,340px)}
  .studio-drawer .tabs.editor-main-tabs{gap:18px;padding:0 16px}
}

/* V7.4.3 - restore boxed click-to-open content accordions only.
   Everything else keeps the V7.4.2 soft-neutral design language. */
.editor-accordion-list{
  display:grid;
  gap:12px;
}
.editor-accordion{
  background:#fff;
  border:1px solid #dedfe3;
  border-radius:13px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(24,25,28,.025);
}
.editor-accordion:first-child{
  border-top:1px solid #dedfe3;
}
.editor-accordion-trigger{
  width:100%;
  min-height:64px;
  border:0;
  background:#fff;
  padding:13px 13px 13px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  text-align:left;
  cursor:pointer;
  color:#24262a;
}
.editor-accordion-trigger:hover{
  background:#f7f7f8;
}
.editor-accordion-copy strong{
  display:block;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
  color:#24262a;
}
.editor-accordion-copy small{
  display:block;
  margin-top:4px;
  font-size:10px;
  line-height:1.35;
  color:#999ca3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:300px;
}
.editor-chevron{
  width:30px;
  height:30px;
  border-radius:8px;
  background:#f0f0f2;
  color:#777a81;
  display:grid;
  place-items:center;
  padding:0;
  line-height:0;
  flex:none;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.editor-accordion-trigger:hover .editor-chevron{
  background:#e7e7ea;
  color:#303238;
}
.editor-accordion.is-open .editor-chevron{
  transform:rotate(180deg);
  background:#edf2ff;
  color:#2557f5;
}
.editor-accordion-body{
  display:none;
  padding:2px 15px 19px;
  border-top:1px solid #ececef;
}
.editor-accordion.is-open .editor-accordion-body{
  display:block;
}
.editor-accordion-body>.field:first-child,
.editor-accordion-body>.mini:first-child{
  margin-top:16px;
}

/* V7.6 - Account & Security */
.account-menu{position:relative;z-index:90}
.account-menu>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:46px;padding:5px 7px 5px 12px;border:1px solid transparent;border-radius:12px;cursor:pointer;user-select:none}
.account-menu>summary::-webkit-details-marker{display:none}
.account-menu>summary:hover,.account-menu[open]>summary{background:#f8fafc;border-color:#e4e7ec}
.account-menu-copy{display:block;text-align:right;min-width:0;line-height:1.22}
.account-menu-copy strong{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#344054}
.account-menu-copy small{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#98a2b3;margin-top:2px}
.account-menu-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eef4ff;color:#2557f5;font-size:11px;font-weight:900;border:1px solid #dbe7ff}
.account-menu>summary>svg{width:16px;height:16px;color:#98a2b3;transition:transform .16s}
.account-menu[open]>summary>svg{transform:rotate(180deg)}
.account-menu-popover{position:absolute;right:0;top:calc(100% + 9px);width:280px;background:#fff;border:1px solid #e4e7ec;border-radius:15px;padding:8px;box-shadow:0 20px 50px rgba(16,24,40,.14)}
.account-menu-user{padding:10px 11px 12px;border-bottom:1px solid #f0f2f5;margin-bottom:5px}
.account-menu-user strong,.account-menu-user span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu-user strong{font-size:12px;color:#101828}.account-menu-user span{font-size:9px;color:#98a2b3;margin-top:3px}
.account-menu-popover>a{display:block;padding:10px 11px;border-radius:10px;text-decoration:none}
.account-menu-popover>a:hover{background:#f8fafc}
.account-menu-popover>a span,.account-menu-popover>a small{display:block}
.account-menu-popover>a span{font-size:11px;font-weight:800;color:#344054}.account-menu-popover>a small{font-size:9px;color:#98a2b3;margin-top:2px}
.account-menu-divider{height:1px;background:#f0f2f5;margin:5px 3px}
.account-menu-popover form{margin:0}.account-menu-popover form button{width:100%;border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:10px;color:#b42318;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.account-menu-popover form button:hover{background:#fff4f2}

.account-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.account-head h1{margin:5px 0 7px;font-size:34px;letter-spacing:-.045em}.account-head p{margin:0;color:#667085;font-size:13px}
.account-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}
.account-summary{position:sticky;top:92px;padding:24px;text-align:center}
.account-avatar{width:68px;height:68px;margin:0 auto 14px;border-radius:20px;background:linear-gradient(145deg,#eef4ff,#ebe6ff);border:1px solid #d9e3ff;color:#2557f5;display:grid;place-items:center;font-size:20px;font-weight:900;letter-spacing:-.04em}
.account-summary h2{margin:0;font-size:18px;letter-spacing:-.025em}.account-summary>p{margin:5px 0 14px;color:#667085;font-size:10px;overflow-wrap:anywhere}
.account-role{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:9px;font-weight:800;margin-bottom:20px}.account-role span{width:6px;height:6px;border-radius:50%;background:#12b76a}
.account-summary-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #f0f2f5;text-align:left}.account-summary-line span{font-size:9px;color:#98a2b3}.account-summary-line strong,.account-summary-line code{font-size:9px;color:#475467;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-summary-line code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f8fafc;padding:3px 5px;border-radius:5px}
.account-main{display:grid;gap:18px}.account-card{padding:0;overflow:hidden;scroll-margin-top:90px}.account-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 24px 20px;border-bottom:1px solid #f0f2f5}.account-kicker{display:block;color:#2557f5;font-size:9px;font-weight:900;letter-spacing:.14em;margin-bottom:6px}.account-card-head h2{margin:0;font-size:18px;letter-spacing:-.025em}.account-card-head p{margin:5px 0 0;color:#667085;font-size:10px;line-height:1.5}.account-card-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eef4ff;color:#2557f5;display:grid;place-items:center}.account-card-icon.secure{background:#ecfdf3;color:#067647}.account-card-icon svg{width:21px;height:21px}
.account-form{padding:24px}.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.account-form .field{margin-bottom:16px}.account-form .field span{font-size:11px}.account-form .field input{min-height:44px;font-size:13px;padding:10px 12px}.account-form .field-help{font-size:9px}
.account-readonly{display:grid;grid-template-columns:100px 1fr;gap:3px 12px;padding:13px 14px;background:#f8fafc;border:1px solid #edf0f3;border-radius:11px;margin:1px 0 18px}.account-readonly span{grid-row:1/3;font-size:9px;color:#98a2b3;align-self:center}.account-readonly strong{font-size:11px;color:#344054}.account-readonly small{font-size:9px;color:#98a2b3}
.account-form-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:18px;border-top:1px solid #f0f2f5}.account-form-note{font-size:9px;line-height:1.5;color:#98a2b3}.account-form-actions .btn{min-width:130px}
.security-tip{display:flex;align-items:flex-start;gap:11px;background:#f6fef9;border:1px solid #d1fadf;border-radius:12px;padding:13px 14px;margin:0 0 18px}.security-tip>span{width:22px;height:22px;flex:0 0 22px;border-radius:7px;background:#dcfae6;color:#067647;display:grid;place-items:center;font-size:10px;font-weight:900}.security-tip strong{display:block;font-size:10px;color:#05603a}.security-tip p{margin:3px 0 0;color:#667085;font-size:9px;line-height:1.45}

.field-label-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.field-label-row b{font:inherit}.field-label-row a{font-size:9px;color:#2557f5;text-decoration:none;font-weight:800}.field-label-row a:hover{text-decoration:underline}
.auth-toast{margin-bottom:20px}.recovery-note{margin-top:15px;padding:12px 13px;border:1px solid #e4e7ec;border-radius:11px;background:#f8fafc}.recovery-note strong{display:block;font-size:10px;color:#344054}.recovery-note p{margin:4px 0 0;color:#667085;font-size:9px;line-height:1.5}

@media(max-width:850px){.account-shell{grid-template-columns:1fr}.account-summary{position:static;text-align:left;display:grid;grid-template-columns:58px 1fr;column-gap:14px;align-items:center}.account-avatar{grid-row:1/4;width:58px;height:58px;margin:0;border-radius:17px}.account-summary h2{align-self:end}.account-summary>p{margin:2px 0}.account-role{justify-self:start;margin:4px 0 14px}.account-summary-line{grid-column:1/-1}.account-fields{grid-template-columns:1fr}}
@media(max-width:620px){.account-menu-copy{display:none}.account-menu>summary{padding-left:6px}.account-menu-popover{right:-3px;width:min(280px,calc(100vw - 30px))}.account-head{align-items:flex-start;flex-direction:column}.account-head h1{font-size:29px}.account-card-head,.account-form{padding:19px}.account-form-actions{align-items:stretch;flex-direction:column}.account-form-actions .btn{width:100%}.account-summary{padding:19px}}

/* V7.6.1 — keep the viewport width stable when vertical scrolling/modal state changes. */
html{
  overflow-y:scroll;
  scrollbar-gutter:stable;
}
body{
  width:100%;
  min-width:0;
}

/* V7.7 Website Settings */
.site-url-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:14px 15px;border:1px solid #e4e4e7;border-radius:12px;background:#f8fafc}
.site-url-card>div{min-width:0;display:grid;gap:4px}.site-url-card span{font-size:10px;line-height:1;font-weight:800;letter-spacing:.12em;color:#71717a}.site-url-card strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.45;color:#27272a;font-weight:650}.site-url-card a{flex:none;color:#18181b;text-decoration:none;font-size:12px;font-weight:800;padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #e4e4e7}.site-url-card a:hover{background:#f4f4f5}
.settings-list .editor-accordion:first-child{margin-top:0}
@media(max-width:520px){.site-url-card{align-items:flex-start;flex-direction:column}.site-url-card a{width:100%;text-align:center}}


/* V7.8 — Professional Publish Experience */
.publish-toolbar-button{position:relative;min-width:92px}.publish-toolbar-button.has-changes::after{content:"";position:absolute;right:7px;top:7px;width:6px;height:6px;border-radius:50%;background:#fdb022;box-shadow:0 0 0 2px #18181b}
.publish-backdrop{position:fixed;inset:0;z-index:1200;background:rgba(15,23,42,.54);backdrop-filter:blur(5px);display:grid;place-items:center;padding:22px}.publish-backdrop[hidden]{display:none}
.publish-modal{position:relative;width:min(620px,100%);max-height:calc(100vh - 44px);overflow:auto;background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:20px;box-shadow:0 28px 90px rgba(15,23,42,.24);padding:26px}
.publish-close{position:absolute;right:18px;top:18px;width:34px;height:34px;border:0;border-radius:10px;background:#f4f4f5;color:#71717a;font-size:21px;line-height:1;display:grid;place-items:center;cursor:pointer}.publish-close:hover{background:#e4e4e7;color:#27272a}
.publish-hero{display:grid;grid-template-columns:48px minmax(0,1fr);gap:15px;align-items:start;padding-right:38px}.publish-icon{width:48px;height:48px;border-radius:14px;background:#eef4ff;color:#2557f5;display:grid;place-items:center}.publish-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.publish-kicker{display:block;margin:1px 0 5px;color:#2557f5;font-size:10px;font-weight:900;letter-spacing:.13em}.publish-hero h2{margin:0;font-size:23px;line-height:1.2;letter-spacing:-.035em;color:#18181b}.publish-hero p{margin:8px 0 0;color:#71717a;font-size:12px;line-height:1.6;max-width:470px}
.publish-status-card{margin-top:22px;border:1px solid #e4e4e7;border-radius:14px;overflow:hidden;background:#fafafa}.publish-status-row{min-height:52px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e9e9ec}.publish-status-row:first-child{border-top:0}.publish-status-row>span{color:#71717a;font-size:11px;font-weight:700}.publish-status-row>strong{font-size:11px;color:#3f3f46}.publish-status-pill{display:inline-flex!important;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;font-size:10px!important}.publish-status-pill i{width:7px;height:7px;border-radius:50%}.publish-status-pill b{font:inherit}.publish-status-pill.is-live{background:#ecfdf3;color:#067647!important}.publish-status-pill.is-live i{background:#12b76a}.publish-status-pill.is-draft{background:#f4f4f5;color:#71717a!important}.publish-status-pill.is-draft i{background:#a1a1aa}
.publish-url{min-width:0;max-width:72%;display:flex;align-items:center;gap:7px}.publish-url code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:#3f3f46}.publish-url button{flex:none;border:1px solid #e4e4e7;background:#fff;color:#27272a;border-radius:8px;padding:6px 8px;font-size:10px;font-weight:800;cursor:pointer}.publish-url button:hover{background:#f4f4f5}
.publish-message{margin-top:14px;padding:10px 12px;border-radius:10px;font-size:11px;font-weight:700}.publish-message[hidden]{display:none}.publish-message.is-working{background:#f4f4f5;color:#52525b}.publish-message.is-success{background:#ecfdf3;color:#067647}.publish-message.is-error{background:#fff1f0;color:#b42318}
.publish-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px}.publish-secondary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.publish-actions .btn{min-height:40px}.publish-unpublish{border:0;background:transparent;color:#b42318;padding-inline:9px}.publish-unpublish:hover{background:#fff1f0}.publish-confirm{min-width:150px}.publish-footnote{margin:11px 0 0;text-align:right;color:#a1a1aa;font-size:10px}.btn.is-disabled{opacity:.46;pointer-events:none}
@media(max-width:650px){.publish-backdrop{padding:12px;align-items:end}.publish-modal{width:100%;max-height:90vh;border-radius:18px 18px 10px 10px;padding:21px}.publish-hero{grid-template-columns:42px minmax(0,1fr);gap:12px;padding-right:30px}.publish-icon{width:42px;height:42px;border-radius:12px}.publish-hero h2{font-size:20px}.publish-status-row{align-items:flex-start;flex-direction:column;gap:6px}.publish-url{width:100%;max-width:100%}.publish-actions{align-items:stretch;flex-direction:column-reverse}.publish-secondary-actions{display:grid;grid-template-columns:1fr 1fr}.publish-secondary-actions .publish-unpublish{grid-column:1/-1}.publish-confirm{width:100%}.publish-footnote{text-align:left}}

/* V7.9 — Media Manager */
.editor-image-button-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.media-manager{display:grid;gap:16px}
.media-upload-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px dashed #d4d4d8;border-radius:14px;background:#fafafa}
.media-upload-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#fff;border:1px solid #e4e4e7;color:#52525b;font-size:22px;font-weight:400}
.media-upload-copy{min-width:0}.media-upload-copy strong{display:block;font-size:12px;color:#27272a}.media-upload-copy span{display:block;margin-top:3px;color:#8b8b93;font-size:10px;line-height:1.4}
.media-upload-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 2px}.media-upload-progress[hidden]{display:none}.media-upload-progress>span{height:5px;border-radius:999px;background:#e4e4e7;overflow:hidden}.media-upload-progress i{display:block;height:100%;width:0;background:#2557f5;border-radius:inherit;transition:width .12s linear}.media-upload-progress small{font-size:10px;color:#71717a;min-width:82px;text-align:right}
.media-target-bar{padding:13px 14px;border:1px solid #e4e4e7;border-radius:13px;background:#fff}.media-target-bar label{display:grid;gap:7px}.media-target-bar label>span,.media-library-heading span{font-size:9px;line-height:1;font-weight:900;letter-spacing:.12em;color:#71717a}.media-target-bar select{width:100%;min-height:42px;border:1px solid #d4d4d8;border-radius:10px;background:#fafafa;color:#27272a;padding:8px 34px 8px 11px;font:inherit;font-size:12px;outline:none}.media-target-bar select:focus{border-color:#a5b4fc;box-shadow:0 0 0 3px rgba(37,87,245,.09)}.media-target-bar p{margin:8px 0 0;color:#8b8b93;font-size:10px;line-height:1.45}.media-target-bar p b{color:#52525b}
.media-message{padding:10px 12px;border-radius:10px;font-size:10px;font-weight:750;line-height:1.45}.media-message[hidden]{display:none}.media-message.is-success{background:#ecfdf3;color:#067647}.media-message.is-error{background:#fff1f0;color:#b42318}.media-message.is-working{background:#f4f4f5;color:#52525b}
.media-library-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;padding-top:3px}.media-library-heading>div{display:grid;gap:5px}.media-library-heading strong{font-size:13px;color:#27272a}.media-library-heading strong b{font:inherit}.media-library-heading>small{max-width:210px;text-align:right;color:#a1a1aa;font-size:9px;line-height:1.45}
.media-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.media-card{min-width:0;border:1px solid #e4e4e7;border-radius:13px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.media-card:hover{border-color:#d4d4d8;box-shadow:0 6px 20px rgba(24,24,27,.05)}
.media-thumb{display:block;width:100%;aspect-ratio:4/3;border:0;padding:0;background:#f4f4f5;cursor:zoom-in;overflow:hidden}.media-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.media-thumb:hover img{transform:scale(1.025)}
.media-card-copy{padding:10px 10px 7px;min-width:0}.media-card-copy strong,.media-card-copy span,.media-card-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-copy strong{font-size:10px;color:#27272a}.media-card-copy span{margin-top:3px;font-size:9px;color:#71717a}.media-card-copy small{margin-top:3px;font-size:8px;color:#a1a1aa;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.media-card-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 8px 9px}.media-card-actions .btn{flex:1;min-height:34px;padding:7px 8px;font-size:9px}.media-card-actions .btn:disabled{opacity:.42;cursor:not-allowed}.media-delete{border:0;background:transparent;color:#a1a1aa;min-height:34px;padding:7px 5px;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer}.media-delete:hover{background:#fff1f0;color:#b42318}
.media-empty{padding:30px 18px;text-align:center;border:1px dashed #d4d4d8;border-radius:14px;background:#fafafa}.media-empty[hidden]{display:none}.media-empty>span{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 9px;border-radius:12px;background:#fff;border:1px solid #e4e4e7;color:#71717a;font-size:17px}.media-empty strong{display:block;font-size:12px;color:#3f3f46}.media-empty p{max-width:260px;margin:5px auto 0;color:#8b8b93;font-size:10px;line-height:1.5}
.media-viewer-backdrop,.media-delete-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(24,24,27,.58);backdrop-filter:blur(5px);display:grid;place-items:center;padding:22px}.media-viewer-backdrop[hidden],.media-delete-backdrop[hidden]{display:none}
.media-viewer{position:relative;max-width:min(920px,94vw);max-height:88vh;border-radius:18px;background:#111113;padding:10px;box-shadow:0 28px 90px rgba(0,0,0,.28)}.media-viewer img{display:block;max-width:100%;max-height:calc(88vh - 20px);width:auto;height:auto;border-radius:12px;object-fit:contain}.media-viewer-close,.media-delete-close{position:absolute;right:13px;top:13px;z-index:2;width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.92);color:#3f3f46;display:grid;place-items:center;font-size:21px;cursor:pointer}
.media-delete-modal{position:relative;width:min(430px,100%);background:#fff;border:1px solid rgba(24,24,27,.10);border-radius:18px;padding:22px;box-shadow:0 28px 90px rgba(24,24,27,.24)}.media-delete-preview{width:76px;height:76px;border-radius:14px;overflow:hidden;background:#f4f4f5;border:1px solid #e4e4e7;margin-bottom:15px}.media-delete-preview img{width:100%;height:100%;object-fit:cover;display:block}.media-delete-kicker{display:block;color:#b42318;font-size:9px;font-weight:900;letter-spacing:.13em}.media-delete-modal h2{margin:5px 0 6px;font-size:20px;color:#18181b;letter-spacing:-.03em}.media-delete-modal p{margin:0;color:#71717a;font-size:11px;line-height:1.55;padding-right:20px}.media-delete-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
@media(max-width:520px){.media-upload-card{grid-template-columns:40px minmax(0,1fr)}.media-upload-card>label.btn{grid-column:1/-1;width:100%}.media-grid{grid-template-columns:1fr}.media-library-heading{align-items:flex-start;flex-direction:column}.media-library-heading>small{text-align:left;max-width:none}.media-delete-backdrop,.media-viewer-backdrop{padding:12px}.media-delete-modal{padding:19px}}

/* V8.0 — Advanced Editor */
.editor-history{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.05)}
.editor-history button{width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:#d4d4d8;display:grid;place-items:center;cursor:pointer;transition:background .14s ease,color .14s ease,opacity .14s ease}
.editor-history button:hover:not(:disabled){background:rgba(255,255,255,.10);color:#fff}.editor-history button:disabled{opacity:.3;cursor:not-allowed}.editor-history svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.field-reset{border:0;background:transparent;color:#999ca3;padding:2px 0;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.field-reset:hover{color:#2557f5}
.editor-accordion-tools{min-height:35px;margin:8px 0 16px;padding-bottom:10px;border-bottom:1px solid #ececef;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-accordion-tools span{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#a1a1aa}.editor-accordion-tools button{border:0;background:transparent;color:#7c7f86;padding:5px 0;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.editor-accordion-tools button:hover{color:#2557f5}
.studio-drawer .field select{width:100%;min-height:46px;border:1px solid #d8d9dd;border-radius:10px;background:#fff;color:#18191c;padding:10px 38px 10px 12px;font:inherit;font-size:14px;outline:none;cursor:pointer;appearance:auto;transition:border-color .15s ease,box-shadow .15s ease}.studio-drawer .field select:hover{border-color:#bfc1c6}.studio-drawer .field select:focus{border-color:#6f8ff7;box-shadow:0 0 0 3px rgba(37,87,245,.10)}
.editor-accordion-body>.editor-accordion-tools:first-child{margin-top:8px}
@media(max-width:760px){.editor-history{display:none}}

/* V8.1 — Lead Inbox */
.top-workspace-nav{display:flex;align-items:center;gap:5px;margin-left:auto;margin-right:14px}.top-workspace-nav>a{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;border-radius:10px;color:#667085;text-decoration:none;font-size:10px;font-weight:800}.top-workspace-nav>a:hover,.top-workspace-nav>a.active{background:#f2f4f7;color:#101828}.top-workspace-nav>a span{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#2557f5;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:900}
.leads-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.leads-head h1{margin:5px 0 7px;font-size:34px;letter-spacing:-.045em}.leads-head p{margin:0;color:#667085;font-size:13px}.leads-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.lead-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.lead-stat{display:flex;align-items:center;justify-content:space-between;min-height:76px;padding:16px 17px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}.lead-stat:hover{border-color:#cfd4dc;box-shadow:0 8px 22px rgba(16,24,40,.06);transform:translateY(-1px)}.lead-stat.active{border-color:#a9c0ff;background:#f7f9ff}.lead-stat span{font-size:10px;font-weight:800;color:#667085}.lead-stat strong{font-size:24px;letter-spacing:-.04em;color:#101828}
.lead-filters{display:grid;grid-template-columns:minmax(260px,1fr) 220px 170px auto auto;gap:8px;align-items:center;padding:12px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;margin-bottom:14px}.lead-search{min-height:42px;border:1px solid #d0d5dd;border-radius:10px;background:#fafafa;display:flex;align-items:center;gap:8px;padding:0 11px}.lead-search:focus-within{border-color:#84adff;box-shadow:0 0 0 3px #eef4ff}.lead-search svg{width:17px;height:17px;color:#98a2b3;flex:none}.lead-search input{width:100%;border:0;background:transparent;outline:0;font:inherit;font-size:11px;color:#101828}.lead-filters>select{min-height:42px;border:1px solid #d0d5dd;border-radius:10px;background:#fafafa;padding:0 11px;font:inherit;font-size:11px;color:#344054;outline:none}.lead-filters>select:focus{border-color:#84adff;box-shadow:0 0 0 3px #eef4ff}
.lead-list{display:grid;gap:11px}.lead-row{display:grid;grid-template-columns:minmax(0,1fr) 190px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;overflow:hidden;position:relative}.lead-row.is-new:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#2557f5}.lead-row-main{padding:18px 19px}.lead-row-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.lead-person{display:flex;gap:10px;align-items:center;min-width:0}.lead-avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef4ff;color:#2557f5;font-size:12px;font-weight:900;flex:none}.lead-person h3{margin:0;color:#101828;font-size:13px}.lead-person p{margin:3px 0 0;color:#98a2b3;font-size:9px}.lead-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.lead-status.new{background:#eef4ff;color:#2557f5}.lead-status.contacted{background:#fffaeb;color:#b54708}.lead-status.closed{background:#ecfdf3;color:#067647}.lead-message{margin:15px 0 14px;color:#475467;font-size:11px;line-height:1.65;white-space:normal}.lead-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.lead-contact-grid>div{min-width:0;padding:10px 11px;border-radius:10px;background:#f9fafb}.lead-contact-grid span,.lead-contact-grid a,.lead-contact-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-contact-grid span{font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#98a2b3;margin-bottom:4px}.lead-contact-grid a,.lead-contact-grid strong{font-size:10px;color:#344054;text-decoration:none;font-weight:700}.lead-contact-grid a:hover{text-decoration:underline}.lead-row-actions{padding:17px 15px;border-left:1px solid #f0f2f5;background:#fcfcfd;display:flex;flex-direction:column;justify-content:space-between;gap:12px}.lead-row-actions form{display:grid;gap:8px}.lead-row-actions label>span{display:block;margin-bottom:6px;color:#667085;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.lead-row-actions select{width:100%;min-height:38px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;padding:0 9px;font:inherit;font-size:10px;color:#344054}.lead-row-actions .btn{width:100%;min-height:36px}.lead-delete-button{border:0;background:transparent;color:#b42318;border-radius:8px;padding:8px;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.lead-delete-button:hover{background:#fff1f0}
.lead-empty{min-height:360px;border:1px dashed #cfd4dc;background:#fff;border-radius:18px;display:grid;place-items:center;align-content:center;text-align:center;padding:30px}.lead-empty-icon{width:48px;height:48px;border-radius:14px;background:#eef4ff;color:#2557f5;display:grid;place-items:center}.lead-empty-icon svg{width:24px;height:24px}.lead-empty h2{margin:13px 0 6px;font-size:18px}.lead-empty p{margin:0;color:#667085;font-size:11px;max-width:410px;line-height:1.6}
.lead-delete-modal{position:fixed;inset:0;z-index:5100;display:grid;place-items:center;padding:20px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .17s,visibility .17s}.lead-delete-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}.lead-delete-backdrop{position:absolute;inset:0;border:0;background:rgba(16,24,40,.55);backdrop-filter:blur(5px);cursor:default}.lead-delete-card{position:relative;width:min(430px,100%);padding:24px;background:#fff;border:1px solid #eaecf0;border-radius:19px;box-shadow:0 28px 80px rgba(16,24,40,.25);text-align:center}.lead-delete-icon{width:46px;height:46px;border-radius:14px;margin:0 auto 13px;background:#fef3f2;color:#d92d20;display:grid;place-items:center}.lead-delete-icon svg{width:22px;height:22px}.lead-delete-card h2{margin:0;font-size:18px;letter-spacing:-.025em}.lead-delete-card>p{margin:8px auto 18px;color:#667085;font-size:11px;line-height:1.55;max-width:330px}.lead-delete-actions{display:flex;justify-content:center;gap:8px}.lead-delete-actions .btn{min-width:120px}
@media(max-width:980px){.lead-filters{grid-template-columns:1fr 1fr 1fr}.lead-search{grid-column:1/-1}.lead-row{grid-template-columns:1fr}.lead-row-actions{border-left:0;border-top:1px solid #f0f2f5;flex-direction:row;align-items:end}.lead-row-actions form{grid-template-columns:150px auto;align-items:end}.lead-row-actions label>span{margin-bottom:5px}.lead-delete-button{margin-left:auto}.top-workspace-nav{margin-right:8px}}
@media(max-width:720px){.top-workspace-nav>a:first-child{display:none}.top-workspace-nav>a{padding:0 8px}.lead-stats{grid-template-columns:repeat(2,1fr)}.leads-head{align-items:flex-start;flex-direction:column}.leads-head h1{font-size:29px}.lead-filters{grid-template-columns:1fr}.lead-search{grid-column:auto}.lead-contact-grid{grid-template-columns:1fr}.lead-row-actions{align-items:stretch;flex-direction:column}.lead-row-actions form{grid-template-columns:1fr}.lead-delete-button{margin-left:0}.lead-delete-actions{flex-direction:column}.lead-delete-actions .btn{width:100%}}
@media(max-width:420px){.top-workspace-nav{display:none}.lead-stats{grid-template-columns:1fr 1fr}.lead-stat{min-height:66px;padding:13px}.lead-stat strong{font-size:20px}}

/* V8.3 Dashboard Analytics */
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:-5px 0 24px}.dashboard-stat{min-width:0;min-height:104px;padding:16px 17px;border:1px solid #e4e7ec;border-radius:15px;background:#fff;text-decoration:none;display:flex;flex-direction:column;justify-content:center;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.dashboard-stat[href]:hover{border-color:#cfd4dc;transform:translateY(-1px);box-shadow:0 8px 24px rgba(16,24,40,.05)}.dashboard-stat>span{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#98a2b3}.dashboard-stat>strong{display:block;margin:6px 0 4px;color:#101828;font-size:27px;line-height:1;letter-spacing:-.04em}.dashboard-stat>strong em{font-style:normal;font-size:13px;font-weight:750;color:#98a2b3;margin-left:2px}.dashboard-stat>small{font-size:9px;color:#667085}.site-metrics{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #f0f2f5;color:#98a2b3;font-size:9px}.site-metrics span{display:inline-flex;align-items:baseline;gap:3px}.site-metrics b{color:#475467;font-size:10px}
.analytics-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.analytics-head h1{margin:5px 0 7px;font-size:34px;letter-spacing:-.045em}.analytics-head p{margin:0;color:#667085;font-size:13px}.analytics-site-filter{min-width:230px}.analytics-site-filter label{display:grid;gap:6px}.analytics-site-filter label>span{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#98a2b3}.analytics-site-filter select{width:100%;min-height:42px;padding:0 36px 0 12px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#344054;font:inherit;font-size:11px;font-weight:700;outline:none}.analytics-site-filter select:focus{border-color:#84adff;box-shadow:0 0 0 3px #eef4ff}
.analytics-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.analytics-stat{padding:18px;border:1px solid #e4e7ec;border-radius:16px;background:#fff}.analytics-stat span,.analytics-card-head span{display:block;color:#98a2b3;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.analytics-stat strong{display:block;margin:7px 0 5px;color:#101828;font-size:30px;line-height:1;letter-spacing:-.045em}.analytics-stat small{color:#667085;font-size:9px}.analytics-grid-main{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.75fr);gap:14px;margin-bottom:14px}.analytics-grid-secondary{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.5fr);gap:14px}.analytics-card{min-width:0;padding:20px;border:1px solid #e4e7ec;border-radius:17px;background:#fff}.analytics-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.analytics-card-head h2{margin:5px 0 0;color:#101828;font-size:16px;letter-spacing:-.025em}.analytics-card-head>small{color:#98a2b3;font-size:9px}.analytics-chart{height:235px;display:grid;grid-template-columns:repeat(14,minmax(14px,1fr));gap:7px;align-items:end;padding-top:18px}.analytics-bar-col{height:100%;display:grid;grid-template-rows:18px minmax(0,1fr) 18px;gap:5px;text-align:center;min-width:0}.analytics-bar-value{font-size:8px;color:#98a2b3;opacity:0;transition:opacity .15s}.analytics-bar-col:hover .analytics-bar-value{opacity:1}.analytics-bar-track{height:100%;display:flex;align-items:flex-end;justify-content:center;border-radius:7px;background:#f6f7f9;overflow:hidden}.analytics-bar-track i{display:block;width:62%;min-height:4px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#5b7cfa,#2557f5)}.analytics-bar-col>span{font-size:8px;color:#98a2b3}.analytics-chart-legend{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding-top:12px;border-top:1px solid #f0f2f5}.analytics-chart-legend>span{display:inline-flex;align-items:center;gap:6px;color:#667085;font-size:9px;font-weight:800}.analytics-chart-legend>span i{width:8px;height:8px;border-radius:3px;background:#2557f5}.analytics-chart-legend small{max-width:390px;text-align:right;color:#98a2b3;font-size:8px;line-height:1.45}.analytics-breakdown{display:grid;gap:16px}.analytics-breakdown-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.analytics-breakdown-row>div:first-child strong,.analytics-breakdown-row>div:first-child span{display:block}.analytics-breakdown-row>div:first-child strong{font-size:11px;color:#344054}.analytics-breakdown-row>div:first-child span{margin-top:2px;font-size:8px;color:#98a2b3}.analytics-breakdown-row>b{font-size:10px;color:#667085}.analytics-progress{grid-column:1/-1;height:6px;border-radius:999px;background:#f2f4f7;overflow:hidden}.analytics-progress i{display:block;height:100%;border-radius:inherit;background:#2557f5}.analytics-source-list{display:grid;gap:13px}.analytics-source-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.analytics-source-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344054;font-size:10px}.analytics-source-row span{color:#667085;font-size:9px}.analytics-empty{padding:28px 12px;text-align:center;color:#98a2b3;font-size:10px;line-height:1.6}.analytics-site-table{overflow:auto}.analytics-site-table-head,.analytics-site-table-row{min-width:620px;display:grid;grid-template-columns:minmax(190px,1.5fr) repeat(4,minmax(68px,.55fr));gap:10px;align-items:center}.analytics-site-table-head{padding:0 8px 9px;color:#98a2b3;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.analytics-site-table-head span:not(:first-child),.analytics-site-table-row>span{text-align:right}.analytics-site-table-row{padding:12px 8px;border-top:1px solid #f0f2f5}.analytics-site-table-row>div{min-width:0}.analytics-site-table-row strong,.analytics-site-table-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-site-table-row strong{color:#344054;font-size:10px}.analytics-site-table-row small{margin-top:3px;color:#98a2b3;font-size:8px}.analytics-site-table-row>span{color:#475467;font-size:10px;font-weight:750}.analytics-note{margin:14px 2px 0;color:#98a2b3;font-size:8px;line-height:1.55}
@media(max-width:1050px){.dashboard-stats,.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid-main,.analytics-grid-secondary{grid-template-columns:1fr}.analytics-grid-secondary .analytics-sites-card{grid-row:auto}}
@media(max-width:720px){.analytics-head{align-items:flex-start;flex-direction:column}.analytics-head h1{font-size:29px}.analytics-site-filter{width:100%;min-width:0}.analytics-chart{gap:4px}.analytics-bar-track i{width:72%}.analytics-chart-legend{align-items:flex-start;flex-direction:column}.analytics-chart-legend small{text-align:left}.dashboard-stats{margin-top:0}}
@media(max-width:480px){.dashboard-stats,.analytics-stats{grid-template-columns:1fr 1fr}.dashboard-stat{min-height:92px;padding:14px}.analytics-stat{padding:15px}.analytics-stat strong{font-size:25px}.analytics-card{padding:16px}.analytics-chart{height:190px;gap:3px}.analytics-bar-value{display:none}}

/* V8.4 Template Library */
.template-library-head{align-items:flex-start}.template-library-head>div{max-width:760px}.template-create{grid-template-columns:320px minmax(0,1fr);align-items:start}.template-details-panel{position:sticky;top:86px}.template-step{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px}.template-step>span{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#101828;color:#fff;font-size:9px;font-weight:900}.template-step>div{min-width:0}.template-step strong,.template-step small{display:block}.template-step strong{font-size:14px;letter-spacing:-.02em}.template-step small{margin-top:3px;color:#98a2b3;font-size:9px;line-height:1.45}.template-create-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;margin-top:18px;padding:12px;border:1px solid #e4e7ec;border-radius:11px;background:#f8fafc}.template-create-note b{color:#344054;font-size:9px}.template-create-note span{color:#667085;font-size:9px;line-height:1.55}.template-library-panel{min-width:0}.template-library-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.template-library-top .template-step{margin:0}.template-search{width:min(290px,100%);height:40px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #d0d5dd;border-radius:10px;background:#fff}.template-search:focus-within{border-color:#84adff;box-shadow:0 0 0 3px #eef4ff}.template-search svg{width:16px;height:16px;fill:none;stroke:#98a2b3;stroke-width:1.7}.template-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:11px;color:#101828}.template-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:16px}.template-filters button{min-height:31px;border:1px solid transparent;border-radius:999px;padding:6px 11px;background:#f2f4f7;color:#667085;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.template-filters button:hover{background:#e9edf3;color:#344054}.template-filters button.active{background:#101828;color:#fff}.template-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.template-library-card{min-width:0;border:1px solid #e4e7ec;border-radius:16px;background:#fff;overflow:hidden;transition:border-color .16s,box-shadow .16s,transform .16s}.template-library-card:hover{border-color:#cfd5de;box-shadow:0 10px 24px rgba(16,24,40,.07);transform:translateY(-1px)}.template-library-card.is-selected{border-color:#2557f5;box-shadow:0 0 0 2px rgba(37,87,245,.10)}.template-card-select{display:block;cursor:pointer}.template-card-select>input{position:absolute;opacity:0;pointer-events:none}.template-card-thumb{position:relative;display:block;aspect-ratio:16/10;background:#f2f4f7;overflow:hidden}.template-card-thumb img{display:block;width:100%;height:100%;object-fit:cover}.template-thumb-fallback{height:100%;display:grid;place-items:center;color:#98a2b3;font-size:24px;font-weight:900}.template-selected-check{position:absolute;right:10px;top:10px;width:27px;height:27px;border-radius:999px;display:grid;place-items:center;background:#2557f5;color:#fff;box-shadow:0 5px 14px rgba(37,87,245,.28);opacity:0;transform:scale(.85);transition:.16s}.template-selected-check svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2}.template-library-card.is-selected .template-selected-check{opacity:1;transform:scale(1)}.template-card-copy{display:block;padding:13px 13px 10px}.template-meta-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.template-meta-row em{font-style:normal;color:#667085;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.template-meta-row b{padding:4px 6px;border-radius:999px;background:#eef4ff;color:#2557f5;font-size:7px;letter-spacing:.03em}.template-card-copy>strong{display:block;color:#101828;font-size:13px;letter-spacing:-.02em}.template-card-copy>small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:29px;margin-top:4px;color:#667085;font-size:9px;line-height:1.5}.template-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 11px 11px}.template-card-actions .btn,.template-card-use{min-height:35px}.template-card-use{border:0;border-radius:9px;background:#101828;color:#fff;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.template-library-card.is-selected .template-card-use{background:#2557f5}.template-library-empty{grid-column:1/-1;min-height:240px;display:grid;place-items:center;align-content:center;text-align:center;padding:30px;border:1px dashed #d0d5dd;border-radius:15px;background:#fafbfc}.template-library-empty>span{font-size:25px;color:#98a2b3}.template-library-empty strong{margin-top:7px;font-size:13px}.template-library-empty p{margin:5px 0 0;color:#98a2b3;font-size:9px}.template-create-foot{align-items:center;position:sticky;bottom:0;z-index:20;margin:0 -1px -1px;padding:11px 15px;border:1px solid #e4e7ec;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.template-create-selection{margin-left:auto;margin-right:5px;text-align:right}.template-create-selection small,.template-create-selection strong{display:block}.template-create-selection small{color:#98a2b3;font-size:7px;font-weight:900;letter-spacing:.11em}.template-create-selection strong{margin-top:2px;color:#344054;font-size:10px}.template-preview-backdrop{position:fixed;inset:0;z-index:5200;padding:20px;background:rgba(16,24,40,.66);backdrop-filter:blur(7px)}.template-preview-backdrop[hidden]{display:none}.template-preview-modal{width:min(1380px,100%);height:calc(100vh - 40px);margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#f2f4f7;box-shadow:0 32px 110px rgba(0,0,0,.34)}.template-preview-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 17px;background:#fff;border-bottom:1px solid #e4e7ec}.template-preview-header>div:first-child{min-width:0}.template-preview-header span{display:block;color:#2557f5;font-size:7px;font-weight:950;letter-spacing:.12em}.template-preview-header h2{margin:3px 0 2px;font-size:16px;letter-spacing:-.025em}.template-preview-header p{max-width:650px;margin:0;color:#667085;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.template-preview-header-actions{display:flex;gap:8px;flex:0 0 auto}.template-preview-browser{min-height:0;margin:14px;border:1px solid #d9dde5;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 12px 34px rgba(16,24,40,.09)}.template-preview-browserbar{height:36px;display:flex;align-items:center;gap:5px;padding:0 11px;border-bottom:1px solid #eaecf0;background:#fcfcfd}.template-preview-browserbar i{width:7px;height:7px;border-radius:50%;background:#d0d5dd}.template-preview-browserbar span{margin-left:7px;color:#98a2b3;font-size:8px}.template-preview-browser iframe{display:block;width:100%;height:calc(100% - 36px);border:0;background:#fff}

/* Editor template switcher */
.editor-template-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:9px;padding:11px;border:1px solid #e4e7ec;border-radius:13px;background:#fff}.editor-template-thumb{width:76px;aspect-ratio:16/10;overflow:hidden;border-radius:9px;background:#f2f4f7}.editor-template-thumb img{display:block;width:100%;height:100%;object-fit:cover}.editor-template-thumb>span{height:100%;display:grid;place-items:center;color:#98a2b3;font-weight:900}.editor-template-copy{min-width:0}.editor-template-copy>span,.editor-template-copy>strong,.editor-template-copy>small{display:block}.editor-template-copy>span{color:#98a2b3;font-size:7px;font-weight:900;letter-spacing:.09em}.editor-template-copy>strong{margin-top:3px;color:#18181b;font-size:12px}.editor-template-copy>small{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#71717a;font-size:8px}.editor-template-note{margin:0 0 14px;padding:9px 11px;border-radius:10px;background:#f7f8fa;color:#71717a;font-size:8px;line-height:1.5}.template-switch-backdrop{display:grid;place-items:center}.template-switch-modal{width:min(1220px,100%);height:min(780px,calc(100vh - 40px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 32px 110px rgba(0,0,0,.34)}.template-switch-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:18px 20px 14px;border-bottom:1px solid #eaecf0}.template-switch-header>div{max-width:690px}.template-switch-header span{color:#2557f5;font-size:7px;font-weight:950;letter-spacing:.12em}.template-switch-header h2{margin:4px 0 4px;color:#101828;font-size:19px;letter-spacing:-.03em}.template-switch-header p{margin:0;color:#667085;font-size:9px;line-height:1.55}.template-switch-close{width:34px;height:34px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;color:#667085;font-size:19px;cursor:pointer}.template-switch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 20px;border-bottom:1px solid #f0f2f5;background:#fcfcfd}.template-switch-toolbar .template-search{width:260px}.template-switch-toolbar .template-filters{margin:0;justify-content:flex-end}.template-switch-body{min-height:0;display:grid;grid-template-columns:330px minmax(0,1fr)}.template-switch-list{min-height:0;overflow:auto;padding:13px;border-right:1px solid #eaecf0;background:#fafbfc}.template-switch-card{width:100%;display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;text-align:left;margin-bottom:9px;padding:8px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;cursor:pointer;transition:.15s}.template-switch-card:hover{border-color:#cfd5de;box-shadow:0 7px 16px rgba(16,24,40,.05)}.template-switch-card.is-selected{border-color:#2557f5;box-shadow:0 0 0 2px rgba(37,87,245,.09)}.template-switch-thumb{width:92px;aspect-ratio:16/10;overflow:hidden;border-radius:8px;background:#f2f4f7}.template-switch-thumb img{display:block;width:100%;height:100%;object-fit:cover}.template-switch-thumb>span{height:100%;display:grid;place-items:center;color:#98a2b3;font-weight:900}.template-switch-card-copy{min-width:0;align-self:center}.template-switch-card-copy em,.template-switch-card-copy strong,.template-switch-card-copy small{display:block}.template-switch-card-copy em{color:#98a2b3;font-style:normal;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.template-switch-card-copy strong{margin-top:3px;color:#101828;font-size:11px}.template-switch-card-copy small{margin-top:3px;color:#667085;font-size:8px;line-height:1.4}.template-switch-list .template-library-empty{min-height:180px}.template-switch-preview{min-width:0;min-height:0;display:grid;grid-template-rows:42px minmax(0,1fr);padding:13px;background:#eef1f5}.template-switch-preview-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px}.template-switch-preview-head span,.template-switch-preview-head strong{display:block}.template-switch-preview-head span{color:#667085;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.template-switch-preview-head strong{margin-top:2px;font-size:11px}.template-switch-preview-head small{color:#98a2b3;font-size:8px}.template-switch-preview iframe{width:100%;height:100%;border:1px solid #d9dde5;border-radius:11px;background:#fff;box-shadow:0 8px 25px rgba(16,24,40,.08)}.template-switch-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 20px;border-top:1px solid #eaecf0;background:#fff}.template-switch-footer p{margin:0;color:#667085;font-size:8px;line-height:1.45}.template-switch-footer>div{display:flex;gap:8px;flex:0 0 auto}.template-switch-footer button[disabled]{opacity:.45;cursor:not-allowed}

@media(max-width:1100px){.template-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-switch-body{grid-template-columns:280px minmax(0,1fr)}.template-switch-card{grid-template-columns:76px minmax(0,1fr)}.template-switch-thumb{width:76px}.template-switch-toolbar{align-items:flex-start;flex-direction:column}.template-switch-toolbar .template-search{width:100%}.template-switch-toolbar .template-filters{justify-content:flex-start}}
@media(max-width:760px){.template-create{grid-template-columns:1fr}.template-details-panel{position:static}.template-library-top{flex-direction:column}.template-library-top .template-search{width:100%}.template-library-grid{grid-template-columns:1fr}.template-create-foot{flex-wrap:wrap}.template-create-selection{order:-1;width:100%;margin:0;text-align:left}.template-preview-backdrop{padding:8px}.template-preview-modal{height:calc(100vh - 16px);border-radius:14px}.template-preview-header{align-items:flex-start;flex-direction:column;padding:13px}.template-preview-header p{white-space:normal}.template-preview-header-actions{width:100%}.template-preview-header-actions .btn{flex:1}.template-preview-browser{margin:8px}.editor-template-card{grid-template-columns:64px minmax(0,1fr)}.editor-template-thumb{width:64px}.editor-template-card>.btn{grid-column:1/-1;width:100%}.template-switch-backdrop{padding:8px}.template-switch-modal{height:calc(100vh - 16px);border-radius:14px}.template-switch-body{grid-template-columns:1fr;grid-template-rows:210px minmax(0,1fr)}.template-switch-list{display:flex;gap:9px;overflow:auto;border-right:0;border-bottom:1px solid #eaecf0}.template-switch-card{min-width:245px;margin:0}.template-switch-toolbar{padding:9px 12px}.template-switch-header{padding:14px}.template-switch-footer{align-items:stretch;flex-direction:column;padding:10px 12px}.template-switch-footer>div{display:grid;grid-template-columns:1fr 1fr}.template-switch-footer .btn{width:100%}}

/* ==========================================================
   V8.4.1 Workspace Visual System
   Dashboard / Leads / Analytics only. Studio editor untouched.
   ========================================================== */
:root{
  --ws-bg:#f7f8fa;
  --ws-surface:#ffffff;
  --ws-border:#e6e8ec;
  --ws-border-strong:#d9dde5;
  --ws-text:#17191d;
  --ws-muted:#68707d;
  --ws-subtle:#949ba6;
  --ws-blue:#2557f5;
  --ws-radius:16px;
}
body:not(.studio-page){background:var(--ws-bg);color:var(--ws-text);font-size:15px;line-height:1.5}
body:not(.studio-page) .wrap{max-width:1440px;padding:38px 32px 64px}
body:not(.studio-page) .top{height:76px;padding:0 32px;background:rgba(255,255,255,.96);border-color:var(--ws-border)}
body:not(.studio-page) .mark{width:40px;height:40px;border-radius:12px;font-size:14px}
body:not(.studio-page) .brand{gap:11px}
body:not(.studio-page) .brand strong{font-size:15px;letter-spacing:-.015em;color:var(--ws-text)}
body:not(.studio-page) .brand small{margin-top:1px;font-size:10px;letter-spacing:.11em;color:var(--ws-subtle)}
body:not(.studio-page) .top-workspace-nav{gap:4px;margin-right:18px}
body:not(.studio-page) .top-workspace-nav>a{min-height:42px;padding:0 14px;border-radius:10px;font-size:13px;font-weight:700;color:#626a76}
body:not(.studio-page) .top-workspace-nav>a:hover{background:#f4f5f7;color:var(--ws-text)}
body:not(.studio-page) .top-workspace-nav>a.active{background:#eef1f5;color:var(--ws-text);box-shadow:inset 0 0 0 1px #e3e6ea}
body:not(.studio-page) .top-workspace-nav>a span{min-width:20px;height:20px;font-size:10px}
body:not(.studio-page) .account-menu>summary{min-height:48px;padding:5px 7px 5px 13px}
body:not(.studio-page) .account-menu-copy strong{font-size:13px;color:#353a43}
body:not(.studio-page) .account-menu-copy small{font-size:11px;color:var(--ws-subtle)}
body:not(.studio-page) .account-menu-avatar{width:36px;height:36px;font-size:12px}
body:not(.studio-page) .account-menu-popover{width:300px;border-color:var(--ws-border);border-radius:16px}
body:not(.studio-page) .account-menu-user strong{font-size:14px}
body:not(.studio-page) .account-menu-user span{font-size:11px}
body:not(.studio-page) .account-menu-popover>a span{font-size:13px}
body:not(.studio-page) .account-menu-popover>a small{font-size:11px}
body:not(.studio-page) .account-menu-popover form button{font-size:13px}

/* Shared workspace page hierarchy */
body:not(.studio-page) .head,
body:not(.studio-page) .leads-head,
body:not(.studio-page) .analytics-head{align-items:flex-end;gap:28px;margin-bottom:30px}
body:not(.studio-page) .head h1,
body:not(.studio-page) .leads-head h1,
body:not(.studio-page) .analytics-head h1{margin:5px 0 8px;font-size:40px;line-height:1.05;letter-spacing:-.045em;font-weight:760;color:var(--ws-text)}
body:not(.studio-page) .head p,
body:not(.studio-page) .leads-head p,
body:not(.studio-page) .analytics-head p{font-size:15px;line-height:1.55;color:var(--ws-muted)}
body:not(.studio-page) .label{font-size:11px;line-height:1;font-weight:850;letter-spacing:.14em;color:var(--ws-blue)}
body:not(.studio-page) .btn{min-height:44px;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:750;letter-spacing:-.005em}
body:not(.studio-page) .primary{box-shadow:0 1px 2px rgba(37,87,245,.16)}
body:not(.studio-page) .secondary{border-color:var(--ws-border-strong);color:#3e4652}
body:not(.studio-page) .ghost{color:#59616d}

/* Dashboard */
body:not(.studio-page) .dashboard-stats{gap:14px;margin:-2px 0 30px}
body:not(.studio-page) .dashboard-stat{min-height:126px;padding:22px 22px 20px;border-color:var(--ws-border);border-radius:var(--ws-radius);box-shadow:0 1px 2px rgba(16,24,40,.025)}
body:not(.studio-page) .dashboard-stat[href]:hover{border-color:#d4d8df;box-shadow:0 9px 28px rgba(16,24,40,.055)}
body:not(.studio-page) .dashboard-stat>span{font-size:11px;letter-spacing:.08em;color:#7c8490}
body:not(.studio-page) .dashboard-stat>strong{margin:9px 0 7px;font-size:36px;line-height:.95;font-weight:760;letter-spacing:-.05em}
body:not(.studio-page) .dashboard-stat>strong em{font-size:16px;color:#8f97a2}
body:not(.studio-page) .dashboard-stat>small{font-size:12px;line-height:1.35;color:#7b838e}
body:not(.studio-page) .sitegrid{gap:20px}
body:not(.studio-page) .sitecard{border-color:var(--ws-border);border-radius:18px;box-shadow:0 1px 2px rgba(16,24,40,.025);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
body:not(.studio-page) .sitecard:hover{transform:translateY(-1px);border-color:#d8dce2;box-shadow:0 10px 30px rgba(16,24,40,.055)}
body:not(.studio-page) .sitebody{padding:20px}
body:not(.studio-page) .sitebody h3{margin-bottom:5px;font-size:17px;line-height:1.25;letter-spacing:-.02em}
body:not(.studio-page) .sitebody p{font-size:12px;color:#818996}
body:not(.studio-page) .status{padding:6px 9px;font-size:10px;letter-spacing:.02em}
body:not(.studio-page) .site-metrics{gap:15px;margin-top:16px;padding-top:14px;font-size:11px}
body:not(.studio-page) .site-metrics b{font-size:12px;color:#3f4752}
body:not(.studio-page) .sitecard .actions{gap:8px;margin-top:18px}
body:not(.studio-page) .sitecard .actions .btn{min-height:40px;font-size:12px;padding:8px 12px}

/* Lead inbox */
body:not(.studio-page) .leads-head-actions{gap:9px}
body:not(.studio-page) .lead-stats{gap:14px;margin-bottom:18px}
body:not(.studio-page) .lead-stat{min-height:102px;padding:20px 21px;border-color:var(--ws-border);border-radius:var(--ws-radius);box-shadow:0 1px 2px rgba(16,24,40,.02)}
body:not(.studio-page) .lead-stat span{font-size:12px;font-weight:750;color:#717986}
body:not(.studio-page) .lead-stat strong{font-size:32px;font-weight:760;letter-spacing:-.045em}
body:not(.studio-page) .lead-filters{grid-template-columns:minmax(290px,1fr) 230px 180px auto auto;gap:10px;padding:14px;border-color:var(--ws-border);border-radius:var(--ws-radius);margin-bottom:18px}
body:not(.studio-page) .lead-search,
body:not(.studio-page) .lead-filters>select{min-height:46px;border-radius:10px;background:#fbfbfc}
body:not(.studio-page) .lead-search input,
body:not(.studio-page) .lead-filters>select{font-size:13px}
body:not(.studio-page) .lead-list{gap:14px}
body:not(.studio-page) .lead-row{grid-template-columns:minmax(0,1fr) 220px;border-color:var(--ws-border);border-radius:17px;box-shadow:0 1px 2px rgba(16,24,40,.02)}
body:not(.studio-page) .lead-row-main{padding:22px 23px}
body:not(.studio-page) .lead-person{gap:12px}
body:not(.studio-page) .lead-avatar{width:42px;height:42px;border-radius:12px;font-size:14px}
body:not(.studio-page) .lead-person h3{font-size:16px;letter-spacing:-.015em}
body:not(.studio-page) .lead-person p{margin-top:4px;font-size:11px;color:#878f9b}
body:not(.studio-page) .lead-status{min-height:27px;padding:0 9px;font-size:9px}
body:not(.studio-page) .lead-message{margin:18px 0 17px;font-size:14px;line-height:1.7;color:#4b535e}
body:not(.studio-page) .lead-contact-grid{gap:10px}
body:not(.studio-page) .lead-contact-grid>div{padding:12px 13px;border-radius:11px;background:#f8f9fa}
body:not(.studio-page) .lead-contact-grid span{font-size:9px;margin-bottom:5px}
body:not(.studio-page) .lead-contact-grid a,
body:not(.studio-page) .lead-contact-grid strong{font-size:12px}
body:not(.studio-page) .lead-row-actions{padding:20px 17px;gap:14px}
body:not(.studio-page) .lead-row-actions label>span{font-size:9px}
body:not(.studio-page) .lead-row-actions select{min-height:42px;font-size:12px}
body:not(.studio-page) .lead-row-actions .btn{min-height:40px;font-size:12px}
body:not(.studio-page) .lead-delete-button{font-size:11px}
body:not(.studio-page) .lead-empty h2{font-size:22px}
body:not(.studio-page) .lead-empty p{font-size:13px}

/* Analytics */
body:not(.studio-page) .analytics-site-filter{min-width:250px}
body:not(.studio-page) .analytics-site-filter label>span{font-size:10px}
body:not(.studio-page) .analytics-site-filter select{min-height:46px;font-size:13px;border-color:var(--ws-border-strong)}
body:not(.studio-page) .analytics-stats{gap:14px;margin-bottom:18px}
body:not(.studio-page) .analytics-stat{min-height:130px;padding:22px;border-color:var(--ws-border);border-radius:var(--ws-radius);box-shadow:0 1px 2px rgba(16,24,40,.02)}
body:not(.studio-page) .analytics-stat span,
body:not(.studio-page) .analytics-card-head span{font-size:10px;letter-spacing:.1em;color:#7d8591}
body:not(.studio-page) .analytics-stat strong{margin:10px 0 7px;font-size:38px;font-weight:760;letter-spacing:-.05em}
body:not(.studio-page) .analytics-stat small{font-size:12px;line-height:1.4;color:#7a828e}
body:not(.studio-page) .analytics-grid-main,
body:not(.studio-page) .analytics-grid-secondary{gap:18px;margin-bottom:18px}
body:not(.studio-page) .analytics-card{padding:24px;border-color:var(--ws-border);border-radius:18px;box-shadow:0 1px 2px rgba(16,24,40,.02)}
body:not(.studio-page) .analytics-card-head{margin-bottom:22px}
body:not(.studio-page) .analytics-card-head h2{margin-top:6px;font-size:19px;line-height:1.2;letter-spacing:-.025em}
body:not(.studio-page) .analytics-card-head>small{font-size:11px}
body:not(.studio-page) .analytics-chart{height:260px;gap:8px}
body:not(.studio-page) .analytics-bar-value,
body:not(.studio-page) .analytics-bar-col>span{font-size:10px}
body:not(.studio-page) .analytics-chart-legend{margin-top:15px;padding-top:14px}
body:not(.studio-page) .analytics-chart-legend span,
body:not(.studio-page) .analytics-chart-legend small{font-size:11px}
body:not(.studio-page) .analytics-breakdown-row>div:first-child strong{font-size:13px}
body:not(.studio-page) .analytics-breakdown-row>div:first-child span{font-size:11px}
body:not(.studio-page) .analytics-breakdown-row>b{font-size:13px}
body:not(.studio-page) .analytics-source-row strong{font-size:13px}
body:not(.studio-page) .analytics-source-row span{font-size:11px}
body:not(.studio-page) .analytics-site-table-head{font-size:10px}
body:not(.studio-page) .analytics-site-table-row{padding:15px 8px}
body:not(.studio-page) .analytics-site-table-row strong{font-size:13px}
body:not(.studio-page) .analytics-site-table-row small{font-size:10px}
body:not(.studio-page) .analytics-site-table-row>span{font-size:12px}
body:not(.studio-page) .analytics-empty{font-size:12px;line-height:1.55}
body:not(.studio-page) .analytics-note{margin-top:17px;font-size:10px;line-height:1.6}

/* Responsive workspace scale */
@media(max-width:1050px){
  body:not(.studio-page) .wrap{padding-left:24px;padding-right:24px}
  body:not(.studio-page) .lead-filters{grid-template-columns:1fr 1fr 1fr}
  body:not(.studio-page) .lead-row{grid-template-columns:1fr}
}
@media(max-width:760px){
  body:not(.studio-page) .top{height:68px;padding:0 16px}
  body:not(.studio-page) .wrap{padding:28px 16px 48px}
  body:not(.studio-page) .head,
  body:not(.studio-page) .leads-head,
  body:not(.studio-page) .analytics-head{align-items:flex-start;flex-direction:column;margin-bottom:24px}
  body:not(.studio-page) .head h1,
  body:not(.studio-page) .leads-head h1,
  body:not(.studio-page) .analytics-head h1{font-size:32px}
  body:not(.studio-page) .head p,
  body:not(.studio-page) .leads-head p,
  body:not(.studio-page) .analytics-head p{font-size:14px}
  body:not(.studio-page) .dashboard-stat{min-height:108px;padding:18px}
  body:not(.studio-page) .dashboard-stat>strong{font-size:31px}
  body:not(.studio-page) .lead-stat{min-height:88px;padding:17px}
  body:not(.studio-page) .lead-stat strong{font-size:28px}
  body:not(.studio-page) .lead-filters{grid-template-columns:1fr}
  body:not(.studio-page) .analytics-stat{min-height:112px;padding:18px}
  body:not(.studio-page) .analytics-stat strong{font-size:32px}
  body:not(.studio-page) .analytics-card{padding:19px}
}
@media(max-width:480px){
  body:not(.studio-page) .dashboard-stats,
  body:not(.studio-page) .analytics-stats,
  body:not(.studio-page) .lead-stats{grid-template-columns:1fr 1fr;gap:10px}
  body:not(.studio-page) .dashboard-stat>span,
  body:not(.studio-page) .analytics-stat span{font-size:9px}
  body:not(.studio-page) .dashboard-stat>small,
  body:not(.studio-page) .analytics-stat small{font-size:10px}
}

/* V8.5 — Plugin System */
.studio-drawer .tabs.editor-main-tabs{gap:14px;overflow-x:auto;scrollbar-width:none}
.studio-drawer .tabs.editor-main-tabs::-webkit-scrollbar{display:none}
.plugin-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}.plugin-summary>div{padding:13px 14px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.plugin-summary span{display:block;font-size:9px;font-weight:800;letter-spacing:.12em;color:#98a2b3}.plugin-summary strong{display:block;margin-top:4px;font-size:16px;letter-spacing:-.025em;color:#18181b}.plugin-list{display:grid;gap:12px}.plugin-card{border:1px solid #e4e7ec;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}.plugin-card.is-enabled{border-color:#cbd9ff;box-shadow:0 0 0 1px rgba(37,87,245,.04)}.plugin-card-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px}.plugin-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f2f4f7;color:#344054;font-size:9px;font-weight:900;letter-spacing:-.02em}.plugin-card.is-enabled .plugin-icon{background:#eef4ff;color:#2557f5}.plugin-copy{min-width:0}.plugin-copy small{display:block;font-size:8px;font-weight:900;letter-spacing:.12em;color:#98a2b3;margin:1px 0 4px}.plugin-copy strong{display:block;font-size:13px;line-height:1.3;color:#18181b}.plugin-copy p{margin:5px 0 0;color:#667085;font-size:10px;line-height:1.55}.plugin-switch{position:relative;width:38px;height:23px;display:block;cursor:pointer}.plugin-switch input{position:absolute;opacity:0;pointer-events:none}.plugin-switch span{position:absolute;inset:0;border-radius:999px;background:#e4e7ec;transition:.18s ease}.plugin-switch span:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.18);transition:.18s ease}.plugin-switch input:checked+span{background:#2557f5}.plugin-switch input:checked+span:after{transform:translateX(15px)}.plugin-switch input:focus-visible+span{outline:3px solid #dbe7ff;outline-offset:2px}.plugin-settings{border-top:1px solid #eef0f2;padding:14px 15px 2px;background:#fcfcfd}.plugin-settings[hidden]{display:none}.plugin-settings .field:last-child{margin-bottom:12px}.plugin-no-settings{margin:0 0 12px;color:#667085;font-size:10px;line-height:1.55}.plugin-safety-note{margin-top:16px;padding:13px 14px;border-radius:12px;background:#f8fafc;border:1px solid #e4e7ec}.plugin-safety-note strong,.plugin-safety-note span{display:block}.plugin-safety-note strong{font-size:10px;color:#344054}.plugin-safety-note span{margin-top:4px;color:#667085;font-size:9px;line-height:1.55}.plugin-safety-note code{font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace;color:#344054}.plugin-card .field input[type=number]{font-variant-numeric:tabular-nums}
.plugin-tab-count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;border-radius:999px;background:#eef4ff;color:#2557f5;font-size:9px;font-weight:900}.editor-main-tabs button.active .plugin-tab-count{background:#2557f5;color:#fff}

/* V8.6 — website workspace architecture */
.top-account-nav{margin-left:auto;margin-right:18px}.top-account-nav a{min-height:38px;display:inline-flex;align-items:center;padding:0 12px;border-radius:9px;text-decoration:none;font-size:12px;font-weight:800;color:#667085}.top-account-nav a.active,.top-account-nav a:hover{background:#f2f4f7;color:#18181b}
.dashboard-picker-head{margin-bottom:22px}.dashboard-picker-head h1{font-size:40px}.workspace-open{flex:1}
.site-workspace-shell{margin:-8px 0 30px;background:#fff;border:1px solid #e4e7ec;border-radius:18px;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.02)}
.site-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px 18px}.site-workspace-identity{display:flex;align-items:center;gap:18px;min-width:0}.workspace-back{font-size:12px;font-weight:800;color:#667085;text-decoration:none;white-space:nowrap}.workspace-back:hover{color:#18181b}.site-workspace-identity>div{min-width:0}.site-workspace-identity span{display:block;font-size:9px;font-weight:900;letter-spacing:.13em;color:#98a2b3}.site-workspace-identity h1{margin:4px 0 3px;font-size:25px;line-height:1.1;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-workspace-identity p{margin:0;color:#7a828e;font-size:11px}.site-workspace-actions{display:flex;align-items:center;gap:8px;flex:none}.workspace-status{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:999px;font-size:10px;font-weight:850}.workspace-status i{width:7px;height:7px;border-radius:50%}.workspace-status.is-live{background:#ecfdf3;color:#067647}.workspace-status.is-live i{background:#12b76a}.workspace-status.is-draft{background:#f2f4f7;color:#667085}.workspace-status.is-draft i{background:#98a2b3}
.site-workspace-nav{display:flex;align-items:center;gap:2px;padding:0 16px;border-top:1px solid #f2f4f7;overflow:auto}.site-workspace-nav a{position:relative;display:inline-flex;align-items:center;min-height:50px;padding:0 12px;text-decoration:none;color:#667085;font-size:12px;font-weight:800;white-space:nowrap}.site-workspace-nav a:hover{color:#18181b}.site-workspace-nav a.active{color:#18181b}.site-workspace-nav a.active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:#18181b}
.workspace-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 20px}.workspace-page-head h2{margin:5px 0 6px;font-size:30px;line-height:1.1;letter-spacing:-.04em}.workspace-page-head p{margin:0;color:#667085;font-size:14px;line-height:1.55}.workspace-head-stat{min-width:92px;padding:13px 15px;border:1px solid #e4e7ec;border-radius:13px;background:#fff;text-align:right}.workspace-head-stat span{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:#98a2b3}.workspace-head-stat strong{display:block;margin-top:2px;font-size:25px;letter-spacing:-.04em}
.workspace-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.workspace-metric{min-height:122px;padding:20px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.02)}.workspace-metric>span{display:block;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#7d8591}.workspace-metric>strong{display:block;margin:10px 0 7px;font-size:35px;line-height:1;letter-spacing:-.05em}.workspace-metric>small{display:block;color:#7a828e;font-size:11px}.workspace-metric[href]:hover{border-color:#cbd5e1;transform:translateY(-1px)}
.workspace-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;margin-bottom:18px}.workspace-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:22px;box-shadow:0 1px 2px rgba(16,24,40,.02)}.workspace-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.workspace-card-head span{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:#98a2b3}.workspace-card-head h3{margin:5px 0 0;font-size:18px;letter-spacing:-.025em}.workspace-card-head p{margin:5px 0 0;color:#667085;font-size:11px;line-height:1.55}.workspace-card-head>a{font-size:11px;font-weight:800;color:#475467;text-decoration:none}.workspace-card-actions{display:flex;gap:8px;margin-top:18px}.workspace-details{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid #f2f4f7}.workspace-details>div{padding:14px 0;border-bottom:1px solid #f2f4f7}.workspace-details>div:nth-child(odd){padding-right:16px}.workspace-details dt{font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#98a2b3}.workspace-details dd{margin:5px 0 0;font-size:12px;font-weight:750;color:#344054}.workspace-details code{font-size:11px}.workspace-feature-list{display:grid;gap:3px}.workspace-feature-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #f2f4f7;text-decoration:none}.workspace-feature-list a:last-child{border-bottom:0}.workspace-feature-list span{font-size:12px;color:#475467}.workspace-feature-list strong{font-size:12px;color:#18181b}.workspace-lead-list{display:grid}.workspace-lead-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 0;border-top:1px solid #f2f4f7;text-decoration:none}.workspace-lead-row:first-child{border-top:0}.workspace-lead-avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef4ff;color:#2557f5;font-size:12px;font-weight:900}.workspace-lead-row strong,.workspace-lead-row small{display:block}.workspace-lead-row strong{font-size:12px}.workspace-lead-row small{margin-top:3px;font-size:10px;color:#98a2b3}.workspace-lead-row em{font-size:9px;font-style:normal;font-weight:850;color:#667085}.workspace-empty-mini{padding:22px 0;text-align:center;color:#667085}.workspace-empty-mini strong{font-size:13px;color:#344054}.workspace-empty-mini p{font-size:11px;margin:5px 0 0}
.workspace-lead-filters{grid-template-columns:minmax(280px,1fr) 190px auto auto}.workspace-plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workspace-plugin-card{margin:0}.workspace-plugin-card .plugin-copy strong{font-size:14px}.workspace-plugin-card .plugin-copy p{font-size:11px}.workspace-plugin-card .plugin-settings{padding:16px}.workspace-plugin-form .field label,.workspace-setting-field label,.workspace-setting-field>span{display:block;margin-bottom:7px;font-size:11px;font-weight:800;color:#475467}.workspace-plugin-form .field input,.workspace-plugin-form .field textarea,.workspace-plugin-form .field select,.workspace-setting-field input,.workspace-setting-field textarea,.workspace-setting-field select{width:100%;min-height:45px;padding:10px 11px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;font:inherit;font-size:13px;outline:0}.workspace-plugin-form .field textarea,.workspace-setting-field textarea{min-height:104px;resize:vertical}.workspace-plugin-form .field input:focus,.workspace-plugin-form .field textarea:focus,.workspace-plugin-form .field select:focus,.workspace-setting-field input:focus,.workspace-setting-field textarea:focus,.workspace-setting-field select:focus{border-color:#84adff;box-shadow:0 0 0 3px #eef4ff}.workspace-sticky-actions{position:sticky;bottom:12px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:14px 16px;border:1px solid #dfe3e8;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 14px 38px rgba(16,24,40,.12);backdrop-filter:blur(10px)}.workspace-sticky-actions strong,.workspace-sticky-actions span{display:block}.workspace-sticky-actions strong{font-size:11px}.workspace-sticky-actions span{margin-top:2px;color:#7a828e;font-size:10px}
.workspace-media-page{padding:18px}.workspace-media-page .media-manager{max-width:none}.workspace-media-page [data-media-use]{display:none!important}.workspace-media-page .media-card-actions{justify-content:flex-end}.workspace-media-page .media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.workspace-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.workspace-settings-main{display:grid;gap:14px}.workspace-settings-card{padding:22px}.workspace-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.workspace-setting-field{display:block;margin:0}.workspace-setting-image{grid-column:span 2}.workspace-image-preview{height:150px;border:1px dashed #d0d5dd;border-radius:12px;background:#f8fafc;display:grid;place-items:center;overflow:hidden;color:#98a2b3;font-size:11px}.workspace-image-preview img{width:100%;height:100%;object-fit:contain}.workspace-inline-actions{display:flex;gap:8px;margin-top:9px}.workspace-settings-side{display:grid;gap:14px;position:sticky;top:88px}.workspace-template-summary{display:grid;gap:9px;margin-bottom:14px}.workspace-template-summary img{width:100%;height:150px;object-fit:cover;border:1px solid #e4e7ec;border-radius:12px}.workspace-template-summary strong{font-size:14px}.workspace-template-summary small{font-size:10px;line-height:1.5;color:#667085}.workspace-help{margin:10px 0 0;color:#7a828e;font-size:10px;line-height:1.55}.full{width:100%}.workspace-danger-card{border-color:#fecdca}.workspace-danger-card form{margin-bottom:8px}
.editor-hidden-tab{display:none!important}.editor-simple-tabs{display:grid!important;grid-template-columns:repeat(3,1fr);overflow:visible!important}.editor-simple-tabs button{font-size:11px!important;min-height:36px}.editor-design-workspace-link{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0;padding:12px 13px;border:1px solid #e4e7ec;border-radius:11px;background:#f8fafc}.editor-design-workspace-link span{font-size:9px;color:#667085}.editor-design-workspace-link a{font-size:9px;font-weight:850;color:#2557f5;text-decoration:none}.editor-media-back{margin-top:10px;border:0;background:transparent;color:#2557f5;font:inherit;font-size:10px;font-weight:850;cursor:pointer;padding:0}.editor-panel-intro a{color:#2557f5;font-weight:800;text-decoration:none}
/* workspace delete modal, shared outside dashboard */
.delete-modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:20px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}.delete-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}.delete-modal-backdrop{position:absolute;inset:0;background:rgba(16,24,40,.56);backdrop-filter:blur(5px)}.delete-modal-card{position:relative;width:min(460px,100%);background:#fff;border:1px solid #eaecf0;border-radius:20px;box-shadow:0 28px 80px rgba(16,24,40,.28);overflow:hidden}.delete-modal-top{display:flex;gap:14px;padding:24px 24px 18px}.delete-modal-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#fef3f2;border:1px solid #fecdca;color:#d92d20;font-weight:900;flex:none}.delete-modal-copy h2{margin:1px 0 7px;font-size:18px}.delete-modal-copy p{margin:0;color:#667085;font-size:12px;line-height:1.6}.delete-modal-warning{margin:0 24px 22px;display:flex;gap:8px;color:#b42318;font-size:10px;font-weight:750}.delete-modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:16px 24px 20px;border-top:1px solid #f2f4f7;background:#fcfcfd}.delete-modal-actions form{margin:0}.delete-confirm{background:#d92d20!important;border-color:#d92d20!important;color:#fff!important}.delete-modal-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#98a2b3;display:grid;place-items:center;cursor:pointer;font-size:20px}
@media(max-width:1050px){.workspace-metric-grid{grid-template-columns:repeat(2,1fr)}.workspace-overview-grid,.workspace-settings-layout{grid-template-columns:1fr}.workspace-settings-side{position:static}.workspace-plugin-grid{grid-template-columns:1fr}.workspace-media-page .media-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.site-workspace-head{align-items:flex-start;flex-direction:column;padding:18px}.site-workspace-identity{align-items:flex-start;flex-direction:column;gap:8px}.site-workspace-actions{width:100%;flex-wrap:wrap}.site-workspace-nav{padding:0 8px}.site-workspace-nav a{padding:0 10px}.workspace-page-head{align-items:flex-start;flex-direction:column}.workspace-page-head h2{font-size:27px}.workspace-metric-grid{grid-template-columns:1fr 1fr}.workspace-details{grid-template-columns:1fr}.workspace-settings-fields{grid-template-columns:1fr}.workspace-setting-image{grid-column:auto}.workspace-media-page .media-grid{grid-template-columns:repeat(2,1fr)}.workspace-sticky-actions{align-items:flex-start;flex-direction:column}.workspace-sticky-actions .btn{width:100%}.top-account-nav{display:none}.dashboard-picker-head h1{font-size:32px}}
@media(max-width:480px){.workspace-metric-grid{grid-template-columns:1fr}.workspace-media-page .media-grid{grid-template-columns:1fr}.site-workspace-actions .btn{flex:1}.site-workspace-nav a{font-size:11px}}

/* V8.6.1 — Workspace layout cleanup
   One visual system for dashboard + website workspace pages.
   Scoped away from the Studio editor. */
body:not(.studio-page){
  --ws-page-max:1240px;
  --ws-space-1:8px;
  --ws-space-2:12px;
  --ws-space-3:16px;
  --ws-space-4:24px;
  --ws-space-5:32px;
  --ws-space-6:40px;
  --ws-card-radius:16px;
  --ws-control-radius:10px;
  --ws-control-height:44px;
  --ws-line:#e5e7eb;
  --ws-line-strong:#d7dce2;
  --ws-surface:#ffffff;
  --ws-canvas:#f6f7f9;
  --ws-text:#18181b;
  --ws-muted:#667085;
  --ws-subtle:#8a929e;
}
body:not(.studio-page){background:var(--ws-canvas)}
body:not(.studio-page) .wrap{
  width:100%;
  max-width:var(--ws-page-max);
  margin:0 auto;
  padding:32px 32px 64px;
}
body:not(.studio-page) .top{
  height:72px;
  padding-left:max(24px,calc((100vw - var(--ws-page-max))/2 + 32px));
  padding-right:max(24px,calc((100vw - var(--ws-page-max))/2 + 32px));
  border-bottom-color:var(--ws-line);
}
body:not(.studio-page) .brand .mark{width:36px;height:36px;border-radius:10px}
body:not(.studio-page) .brand strong{font-size:14px;line-height:1.25}
body:not(.studio-page) .brand small{font-size:10px}
body:not(.studio-page) .top-workspace-nav>a{min-height:40px;padding:0 13px;font-size:13px}
body:not(.studio-page) .account-menu>summary{min-height:44px}

/* Shared page rhythm */
body:not(.studio-page) .workspace-page-head,
body:not(.studio-page) .head,
body:not(.studio-page) .leads-head,
body:not(.studio-page) .analytics-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:0 0 24px;
}
body:not(.studio-page) .workspace-page-head h2,
body:not(.studio-page) .head h1,
body:not(.studio-page) .leads-head h1,
body:not(.studio-page) .analytics-head h1{
  margin:6px 0 8px;
  font-size:32px;
  line-height:1.1;
  letter-spacing:-.038em;
  font-weight:760;
  color:var(--ws-text);
}
body:not(.studio-page) .workspace-page-head p,
body:not(.studio-page) .head p,
body:not(.studio-page) .leads-head p,
body:not(.studio-page) .analytics-head p{
  max-width:720px;
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:var(--ws-muted);
}
body:not(.studio-page) .label{font-size:10px;letter-spacing:.13em}
body:not(.studio-page) .btn{
  min-height:var(--ws-control-height);
  padding:9px 15px;
  border-radius:var(--ws-control-radius);
  font-size:13px;
  font-weight:750;
  line-height:1.2;
}

/* Account dashboard: fewer cramped cards, cleaner action grid */
body:not(.studio-page) .dashboard-picker-head{margin-bottom:24px}
body:not(.studio-page) .dashboard-picker-head h1{font-size:36px}
body:not(.studio-page) .sitegrid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
body:not(.studio-page) .sitecard{
  border-radius:var(--ws-card-radius);
  border-color:var(--ws-line);
  overflow:hidden;
}
body:not(.studio-page) .sitecard .thumb{height:220px;padding:18px}
body:not(.studio-page) .sitebody{padding:22px}
body:not(.studio-page) .sitebody h3{font-size:18px;margin:0 0 5px}
body:not(.studio-page) .sitebody p{font-size:12px}
body:not(.studio-page) .site-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:18px;
  padding:16px 0;
  border-top:1px solid #f0f2f4;
  border-bottom:1px solid #f0f2f4;
}
body:not(.studio-page) .site-metrics span{padding:0 8px;text-align:center;font-size:11px}
body:not(.studio-page) .site-metrics span+span{border-left:1px solid #eef0f2}
body:not(.studio-page) .site-metrics b{display:block;margin-bottom:2px;font-size:14px}
body:not(.studio-page) .sitecard .actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:18px;
}
body:not(.studio-page) .sitecard .actions .workspace-open{grid-column:1/-1;width:100%}
body:not(.studio-page) .sitecard .actions>.btn,
body:not(.studio-page) .sitecard .actions>form,
body:not(.studio-page) .sitecard .actions>form>.btn{width:100%;min-width:0;margin:0}
body:not(.studio-page) .sitecard .actions .btn{min-height:40px;padding:8px 10px;font-size:12px}

/* Website workspace shell */
body:not(.studio-page) .site-workspace-shell{
  margin:0 0 32px;
  border:1px solid var(--ws-line);
  border-radius:var(--ws-card-radius);
  box-shadow:0 1px 2px rgba(16,24,40,.025);
}
body:not(.studio-page) .site-workspace-head{
  min-height:96px;
  padding:22px 24px;
  gap:24px;
}
body:not(.studio-page) .site-workspace-identity{gap:20px}
body:not(.studio-page) .workspace-back{font-size:12px}
body:not(.studio-page) .site-workspace-identity span{font-size:10px}
body:not(.studio-page) .site-workspace-identity h1{margin:5px 0 4px;font-size:26px}
body:not(.studio-page) .site-workspace-identity p{font-size:12px}
body:not(.studio-page) .site-workspace-actions{gap:8px}
body:not(.studio-page) .workspace-status{min-height:32px;padding:0 11px;font-size:11px}
body:not(.studio-page) .site-workspace-nav{
  min-height:54px;
  gap:4px;
  padding:0 16px;
}
body:not(.studio-page) .site-workspace-nav a{
  min-height:54px;
  padding:0 13px;
  font-size:13px;
  font-weight:720;
}
body:not(.studio-page) .site-workspace-nav a.active:after{left:13px;right:13px}

/* Common cards and metrics */
body:not(.studio-page) .workspace-metric-grid,
body:not(.studio-page) .analytics-stats,
body:not(.studio-page) .lead-stats{
  gap:16px;
  margin-bottom:20px;
}
body:not(.studio-page) .workspace-metric,
body:not(.studio-page) .analytics-stat,
body:not(.studio-page) .lead-stat{
  min-height:126px;
  padding:20px;
  border:1px solid var(--ws-line);
  border-radius:var(--ws-card-radius);
  background:var(--ws-surface);
  box-shadow:0 1px 2px rgba(16,24,40,.02);
}
body:not(.studio-page) .workspace-metric>span,
body:not(.studio-page) .analytics-stat>span,
body:not(.studio-page) .lead-stat>span{
  font-size:11px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.06em;
  color:#747d89;
}
body:not(.studio-page) .workspace-metric>strong,
body:not(.studio-page) .analytics-stat>strong,
body:not(.studio-page) .lead-stat>strong{
  display:block;
  margin:10px 0 7px;
  font-size:34px;
  line-height:1;
  letter-spacing:-.05em;
  font-weight:760;
}
body:not(.studio-page) .workspace-metric>small,
body:not(.studio-page) .analytics-stat>small{font-size:12px;line-height:1.4}
body:not(.studio-page) .workspace-card,
body:not(.studio-page) .analytics-card{
  border:1px solid var(--ws-line);
  border-radius:var(--ws-card-radius);
  background:#fff;
  padding:24px;
  box-shadow:0 1px 2px rgba(16,24,40,.02);
}
body:not(.studio-page) .workspace-card-head,
body:not(.studio-page) .analytics-card-head{margin-bottom:20px}
body:not(.studio-page) .workspace-card-head span,
body:not(.studio-page) .analytics-card-head span{font-size:10px;letter-spacing:.1em}
body:not(.studio-page) .workspace-card-head h3{margin-top:6px;font-size:19px;line-height:1.25}
body:not(.studio-page) .workspace-card-head p{font-size:12px;line-height:1.55}

/* Overview */
body:not(.studio-page) .workspace-overview-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-bottom:20px;
  align-items:stretch;
}
body:not(.studio-page) .workspace-overview-grid>.workspace-card{height:100%}
body:not(.studio-page) .workspace-details>div{min-height:62px;padding:14px 0}
body:not(.studio-page) .workspace-details dt{font-size:10px}
body:not(.studio-page) .workspace-details dd{font-size:13px;line-height:1.4}
body:not(.studio-page) .workspace-feature-list a{min-height:52px;padding:13px 0}
body:not(.studio-page) .workspace-feature-list span,
body:not(.studio-page) .workspace-feature-list strong{font-size:13px}
body:not(.studio-page) .workspace-lead-row{min-height:62px;padding:12px 0;grid-template-columns:40px minmax(0,1fr) auto}
body:not(.studio-page) .workspace-lead-avatar{width:40px;height:40px}
body:not(.studio-page) .workspace-lead-row strong{font-size:13px}
body:not(.studio-page) .workspace-lead-row small{font-size:11px}
body:not(.studio-page) .workspace-lead-row em{font-size:10px}

/* Leads */
body:not(.studio-page) .workspace-lead-filters{
  display:grid;
  grid-template-columns:minmax(320px,1fr) 190px auto auto;
  align-items:center;
  gap:10px;
  padding:14px;
  margin-bottom:20px;
}
body:not(.studio-page) .workspace-lead-filters .lead-search,
body:not(.studio-page) .workspace-lead-filters select{min-height:44px}
body:not(.studio-page) .lead-list{gap:14px}
body:not(.studio-page) .lead-row{grid-template-columns:minmax(0,1fr) 210px;border-radius:var(--ws-card-radius)}
body:not(.studio-page) .lead-row-main{padding:22px 24px}
body:not(.studio-page) .lead-row-actions{padding:20px}
body:not(.studio-page) .lead-person h3{font-size:16px}
body:not(.studio-page) .lead-message{font-size:14px;line-height:1.65}

/* Analytics */
body:not(.studio-page) .analytics-grid-main,
body:not(.studio-page) .analytics-grid-secondary{gap:20px;margin-bottom:20px}
body:not(.studio-page) .analytics-card{padding:24px}
body:not(.studio-page) .analytics-card-head h2{font-size:19px}
body:not(.studio-page) .analytics-chart{height:250px}

/* Plugins */
body:not(.studio-page) .workspace-plugin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body:not(.studio-page) .workspace-plugin-card{
  border-radius:var(--ws-card-radius);
  border-color:var(--ws-line);
  overflow:hidden;
  background:#fff;
}
body:not(.studio-page) .workspace-plugin-card .plugin-card-head{min-height:118px;padding:20px}
body:not(.studio-page) .workspace-plugin-card .plugin-copy strong{font-size:15px;line-height:1.3}
body:not(.studio-page) .workspace-plugin-card .plugin-copy p{font-size:12px;line-height:1.5}
body:not(.studio-page) .workspace-plugin-card .plugin-settings{padding:18px 20px 20px}
body:not(.studio-page) .workspace-plugin-form .field{margin-bottom:16px}
body:not(.studio-page) .workspace-plugin-form .field:last-child{margin-bottom:0}
body:not(.studio-page) .workspace-plugin-form .field label{font-size:12px;margin-bottom:7px}
body:not(.studio-page) .workspace-plugin-form .field input,
body:not(.studio-page) .workspace-plugin-form .field textarea,
body:not(.studio-page) .workspace-plugin-form .field select{min-height:44px;font-size:13px}

/* Media */
body:not(.studio-page) .workspace-head-stat{min-width:100px;padding:12px 16px;border-radius:12px}
body:not(.studio-page) .workspace-head-stat span{font-size:10px}
body:not(.studio-page) .workspace-head-stat strong{font-size:26px}
body:not(.studio-page) .workspace-media-page{padding:24px}
body:not(.studio-page) .media-manager{gap:20px}
body:not(.studio-page) .media-upload-card{grid-template-columns:48px minmax(0,1fr) auto;gap:14px;padding:16px;border-radius:12px}
body:not(.studio-page) .media-upload-icon{width:48px;height:48px}
body:not(.studio-page) .media-upload-copy strong{font-size:13px}
body:not(.studio-page) .media-upload-copy span{font-size:11px}
body:not(.studio-page) .media-library-heading strong{font-size:15px}
body:not(.studio-page) .media-grid{gap:14px}
body:not(.studio-page) .workspace-media-page .media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body:not(.studio-page) .media-card{border-radius:12px}
body:not(.studio-page) .media-card-copy{padding:12px 12px 8px}
body:not(.studio-page) .media-card-copy strong{font-size:12px}
body:not(.studio-page) .media-card-copy span{font-size:10px}
body:not(.studio-page) .media-card-copy small{font-size:9px}

/* Settings */
body:not(.studio-page) .workspace-settings-layout{
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
}
body:not(.studio-page) .workspace-settings-main,
body:not(.studio-page) .workspace-settings-side{gap:16px}
body:not(.studio-page) .workspace-settings-card{padding:24px}
body:not(.studio-page) .workspace-settings-fields{gap:20px 18px}
body:not(.studio-page) .workspace-setting-field label,
body:not(.studio-page) .workspace-setting-field>span{font-size:12px;margin-bottom:8px}
body:not(.studio-page) .workspace-setting-field input,
body:not(.studio-page) .workspace-setting-field textarea,
body:not(.studio-page) .workspace-setting-field select{
  min-height:44px;
  padding:10px 12px;
  border-radius:var(--ws-control-radius);
  font-size:13px;
}
body:not(.studio-page) .workspace-setting-field textarea{min-height:112px}
body:not(.studio-page) .workspace-image-preview{height:170px;border-radius:12px}
body:not(.studio-page) .workspace-inline-actions{gap:8px;margin-top:10px}
body:not(.studio-page) .workspace-template-summary{gap:10px}
body:not(.studio-page) .workspace-template-summary img{height:170px;border-radius:12px}
body:not(.studio-page) .workspace-template-summary strong{font-size:15px}
body:not(.studio-page) .workspace-template-summary small,
body:not(.studio-page) .workspace-help{font-size:11px;line-height:1.5}
body:not(.studio-page) .workspace-sticky-actions{
  bottom:16px;
  gap:20px;
  margin-top:20px;
  padding:14px 16px;
  border-radius:12px;
}
body:not(.studio-page) .workspace-sticky-actions strong{font-size:12px}
body:not(.studio-page) .workspace-sticky-actions span{font-size:11px}

@media(max-width:1100px){
  body:not(.studio-page) .wrap{padding-left:24px;padding-right:24px}
  body:not(.studio-page) .top{padding-left:24px;padding-right:24px}
  body:not(.studio-page) .sitegrid{grid-template-columns:1fr 1fr}
  body:not(.studio-page) .workspace-settings-layout{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-settings-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.studio-page) .workspace-media-page .media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:860px){
  body:not(.studio-page) .sitegrid{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-overview-grid{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-plugin-grid{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-lead-filters{grid-template-columns:1fr 180px auto auto}
}
@media(max-width:760px){
  body:not(.studio-page) .wrap{padding:24px 16px 48px}
  body:not(.studio-page) .top{height:68px;padding-left:16px;padding-right:16px}
  body:not(.studio-page) .workspace-page-head,
  body:not(.studio-page) .head,
  body:not(.studio-page) .leads-head,
  body:not(.studio-page) .analytics-head{align-items:flex-start;flex-direction:column;gap:16px}
  body:not(.studio-page) .workspace-page-head h2,
  body:not(.studio-page) .head h1,
  body:not(.studio-page) .leads-head h1,
  body:not(.studio-page) .analytics-head h1{font-size:28px}
  body:not(.studio-page) .site-workspace-head{min-height:0;padding:18px;gap:16px}
  body:not(.studio-page) .site-workspace-identity{gap:8px}
  body:not(.studio-page) .site-workspace-nav{min-height:50px;padding:0 8px}
  body:not(.studio-page) .site-workspace-nav a{min-height:50px;padding:0 10px;font-size:12px}
  body:not(.studio-page) .workspace-metric-grid,
  body:not(.studio-page) .analytics-stats,
  body:not(.studio-page) .lead-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.studio-page) .workspace-lead-filters{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-lead-filters>*{width:100%}
  body:not(.studio-page) .workspace-settings-side{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-media-page .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  body:not(.studio-page) .workspace-metric-grid,
  body:not(.studio-page) .analytics-stats,
  body:not(.studio-page) .lead-stats{grid-template-columns:1fr}
  body:not(.studio-page) .workspace-media-page .media-grid{grid-template-columns:1fr}
  body:not(.studio-page) .sitecard .actions{grid-template-columns:1fr}
  body:not(.studio-page) .sitecard .actions .workspace-open{grid-column:auto}
}

/* V8.8.8 - Template library hidden-state fix
   The empty state has display:grid, so explicitly honor the hidden attribute.
   The card rule also keeps search/category filtering reliable in every browser. */
.template-library-empty[hidden],
[data-template-card][hidden]{
  display:none!important;
}


/* V9.0.1 — click-to-edit sidebar selection: square box only.
   Keep labels/text unchanged and avoid pulse/rounded highlight chrome. */
.studio-page .field.is-preview-selected{
  position:relative;
  border-radius:0;
  outline:2px solid #2f63ff;
  outline-offset:5px;
  scroll-margin-block:84px;
}

/* V9.0.2 — make the currently opened editor sidebar section visibly distinct.
   A soft neutral fill separates expanded sections from collapsed white cards. */
.studio-page .editor-accordion.is-open{
  background:#f6f7f8;
  border-color:#d7d9de;
}
.studio-page .editor-accordion.is-open .editor-accordion-trigger{
  background:#f3f4f6;
}
.studio-page .editor-accordion.is-open .editor-accordion-trigger:hover{
  background:#f0f1f3;
}
.studio-page .editor-accordion.is-open .editor-accordion-body{
  background:#f6f7f8;
}

/* V9.0.4 — keep the editor drawer below the studio toolbar.
   Click-to-edit now scrolls only the drawer's own scroller, so browser focus/
   scroll anchoring cannot pull the whole editor underneath the top header. */
html.studio-root,
html.studio-root body.studio-page{
  height:100%;
  max-height:100%;
  overflow:hidden;
  overscroll-behavior:none;
}
body.studio-page{
  min-height:0;
  position:relative;
}
.studio-toolbar{
  position:relative;
  z-index:100;
  flex:0 0 auto;
}
.studio-workspace{
  min-height:0;
  isolation:isolate;
}
.studio-drawer{
  min-height:0;
  align-self:stretch;
  overflow:hidden;
}
.studio-drawer .editor-scroll{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scroll-padding-block:24px;
}


/* V9.1.0 — Admin AI handoff */
.ai-prompt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.ai-prompt-head h1{margin:5px 0 8px;font-size:40px;line-height:1.05;letter-spacing:-.045em;font-weight:760}.ai-prompt-head p{max-width:760px;margin:0;color:#6f7783;font-size:14px;line-height:1.6}.ai-prompt-head-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.ai-prompt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.ai-prompt-stats>div{padding:17px 18px;border:1px solid #e3e6ea;border-radius:14px;background:#fff}.ai-prompt-stats span,.ai-prompt-stats strong,.ai-prompt-stats small{display:block}.ai-prompt-stats span{font-size:9px;font-weight:850;letter-spacing:.11em;color:#858d98}.ai-prompt-stats strong{margin-top:7px;font-size:24px;line-height:1;font-weight:780;letter-spacing:-.035em;color:#171a20}.ai-prompt-stats small{margin-top:7px;font-size:10px;line-height:1.4;color:#9299a3}.ai-prompt-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:18px;align-items:start}.ai-prompt-card{border:1px solid #e3e6ea;border-radius:17px;background:#fff;padding:21px;box-shadow:0 1px 2px rgba(16,24,40,.02)}.ai-prompt-main-card{min-width:0}.ai-prompt-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.ai-prompt-kicker{display:block;margin-bottom:6px;color:#2557f5;font-size:9px;font-weight:900;letter-spacing:.12em}.ai-prompt-card h2{margin:0;font-size:19px;line-height:1.25;letter-spacing:-.025em}.ai-prompt-card-head p,.ai-prompt-side-copy,.ai-prompt-maintenance p{margin:6px 0 0;color:#747c87;font-size:12px;line-height:1.6}.ai-prompt-safe-note{display:flex;align-items:flex-start;gap:9px;margin-bottom:13px;padding:10px 12px;border:1px solid #d8eadf;border-radius:10px;background:#f6fbf8}.ai-prompt-safe-note>span{width:20px;height:20px;display:grid;place-items:center;flex:none;border-radius:50%;background:#e6f7ec;color:#067647;font-size:11px;font-weight:900}.ai-prompt-safe-note strong{display:block;font-size:11px;color:#295b3c}.ai-prompt-safe-note p{margin:2px 0 0;color:#668071;font-size:10px;line-height:1.45}.ai-prompt-source{display:block;width:100%;height:680px;padding:17px;border:1px solid #dfe3e8;border-radius:12px;background:#f8f9fb;color:#252a32;font:11px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;resize:vertical;outline:0;white-space:pre;overflow:auto}.ai-prompt-source:focus{border-color:#a9bce9;box-shadow:0 0 0 3px #eef3ff}.ai-prompt-source.compact{height:250px;margin-top:12px}.ai-prompt-side{display:grid;gap:18px}.ai-prompt-steps{margin:14px 0 0;padding-left:20px;color:#555e69;font-size:12px;line-height:1.65}.ai-prompt-steps li+li{margin-top:7px}.ai-prompt-steps strong{color:#2e343c}.ai-prompt-copy-small{margin-top:14px;width:100%}.ai-prompt-maintenance code{padding:2px 5px;border-radius:5px;background:#f1f3f5;color:#3c4550;font-size:10px;word-break:break-word}@media(max-width:980px){.ai-prompt-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-prompt-grid{grid-template-columns:1fr}.ai-prompt-source{height:560px}}@media(max-width:700px){.ai-prompt-head{align-items:flex-start;flex-direction:column}.ai-prompt-head h1{font-size:32px}.ai-prompt-head-actions{width:100%;justify-content:flex-start}.ai-prompt-head-actions .btn{flex:1}.ai-prompt-card-head{flex-direction:column}.ai-prompt-card-head .btn{width:100%}}@media(max-width:460px){.ai-prompt-stats{grid-template-columns:1fr 1fr}.ai-prompt-stats>div{padding:14px}.ai-prompt-source{height:460px;padding:13px;font-size:10px}}
