.saas-page { margin:0; background:var(--sable,#faf7ef); color:var(--profond,#123746); padding-bottom:80px; }
.saas-nav { min-height:72px; display:flex; gap:20px; justify-content:space-between; align-items:center; padding:16px max(20px,calc((100vw - 1180px)/2)); border-bottom:1px solid var(--stroke); background:var(--ecume,#fff); }
.saas-nav nav { display:flex; gap:20px; flex-wrap:wrap; font-weight:700; }
.saas-nav a { color:inherit; text-decoration:none; }
.saas-nav nav a:hover { color:var(--lagon,#0d9488); text-decoration:underline; }
.saas-wrap { width:min(1180px,calc(100% - 40px)); margin:36px auto 80px; }
.saas-heading { display:flex; gap:20px; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.saas-heading h1 { margin:4px 0 8px; font-size:clamp(30px,4vw,42px); }
.saas-heading p { margin:0; }
.saas-eyebrow { text-transform:uppercase; letter-spacing:.09em; font-size:11px; font-weight:800; color:var(--marine,#4c6772); }
.saas-quota { font-size:14px; color:var(--marine); margin:20px 0; }
.saas-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:24px; }
.saas-card { border:1px solid var(--stroke); background:var(--ecume,#fff); border-radius:20px; overflow:hidden; box-shadow:var(--shadow-s); }
.saas-card-body { padding:22px; }
.saas-card h2 { margin:10px 0 4px; font-size:22px; overflow-wrap:anywhere; }
.saas-card p { overflow-wrap:anywhere; }
.saas-thumbnail { position:relative; height:210px; overflow:hidden; background:#e1eae8; display:flex; justify-content:center; align-items:center; pointer-events:none; }
.saas-preview-label { position:absolute; bottom:10px; left:12px; padding:5px 9px; background:#fff; border-radius:20px; font-size:11px; color:#244d58; box-shadow:0 2px 8px #1232; }
.saas-thumbnail iframe { width:1000px; height:700px; flex-shrink:0; transform:scale(.43); border:0; }
.saas-actions { display:flex; gap:10px; flex-wrap:wrap; }
.saas-status { display:inline-flex; border-radius:30px; padding:5px 10px; font-size:12px; font-weight:800; color:#48616b; background:#edf1f2; }
.saas-status[data-status="published"] { background:#d9f3e8; color:#12674e; }
.saas-empty { max-width:650px; padding:42px 28px; margin:35px auto; text-align:center; border:1px solid var(--stroke); border-radius:24px; background:var(--ecume); }
.saas-empty > span { font-size:42px; }
.saas-empty p { line-height:1.7; color:var(--marine); }
.saas-empty .btn { margin:8px 4px; }
.saas-onboarding { max-width:780px; padding:24px; }
.saas-back { display:inline-block; margin-bottom:15px; }
.saas-template { padding:20px; margin-bottom:24px; border:1px solid #67b3a5; background:#e8f4ef; border-radius:16px; }
.saas-template h2 { margin:0; }
.saas-confirm { width:min(460px,calc(100vw - 28px)); box-sizing:border-box; padding:24px; border:1px solid var(--stroke); border-radius:20px; color:var(--profond); background:var(--ecume); }
.saas-confirm h2 { margin-top:0; font-size:22px; }
.saas-confirm p { line-height:1.6; }
.saas-confirm::backdrop { background:#12374699; }
.saas-danger { margin-top:20px; font-size:13px; }
.saas-danger summary { cursor:pointer; }
.saas-danger button { margin-top:10px; color:#a62f25; }
.ve-top { gap:8px; padding:12px 16px; }
.ve-identity { display:flex; flex-direction:column; min-width:150px; margin-right:auto; }
.ve-name { display:block; max-width:min(460px,80vw); font-size:17px; }
.ve-save-status { display:flex; flex-direction:column; flex:1 1 220px; font-size:12px; min-width:150px; }
.ve-msg { text-align:left; min-height:0; }
.ve-quota { font-size:11px; color:var(--marine); max-width:160px; }
.ve-manage { position:relative; font-size:13px; }
.ve-manage > summary { list-style:none; cursor:pointer; font-weight:700; padding:11px 14px; border:1px solid var(--stroke); border-radius:30px; }
.ve-manage > summary::after { content:' ▾'; }
.ve-manage > div { position:absolute; z-index:5; top:calc(100% + 8px); left:0; width:240px; padding:14px; border:1px solid var(--stroke); border-radius:16px; background:var(--ecume); box-shadow:var(--shadow); display:flex; flex-wrap:wrap; gap:8px; }
.ve-manage:not([open]) > div { display:none; }
.ve-manage .ve-quota { max-width:none; flex-basis:100%; margin:0 0 4px; line-height:1.5; }
.ve-side { width:330px; max-width:35vw; }
.ve-context { color:var(--marine); font-size:13px; line-height:1.6; }
.ve-side .ve-group[data-vg="sections"] [data-block][hidden] { display:none; }
.ve-side [data-selected="true"] { border:2px solid var(--lagon); }
.ve-side input:not([type="checkbox"]):not([type="range"]):not([type="color"]), .ve-side textarea, .ve-side select { max-width:100%; box-sizing:border-box; }
.ve-group { box-shadow:none; }
.ve-hint { line-height:1.5; max-width:700px; color:#395a66; }
.ve-frame-wrap { box-sizing:content-box; }
.ve-top button { min-height:42px; }
.ve-top button:disabled { opacity:.55; cursor:not-allowed; }
.ve-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ve-add-choices{display:grid;gap:8px;margin:12px 0}.ve-add-choices .btn{text-align:left;min-height:44px}
.ve-tools .btn{white-space:nowrap}.ve-manage>div{left:auto;right:0}
.ve-side,.ve-gbody,.ve-menu-item{min-width:0}.ve-side *{box-sizing:border-box}
.ve-side input:not([type="checkbox"]):not([type="range"]):not([type="color"]),.ve-side textarea,.ve-side select{width:100%;font-size:16px;min-width:0}
.ve-menu-item{padding:12px;margin:10px 0;border:1px solid var(--stroke);border-radius:12px}
.ve-item-price-row,.ve-page-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:end}.ve-item-price-row>.fld{flex:1 1 100px}
.ve-photo-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.ve-photo-picks label{position:relative;min-width:0}.ve-photo-picks img{width:100%;height:70px;object-fit:cover;border-radius:6px}.ve-photo-picks input{position:absolute;top:3px;left:3px;width:22px;height:22px}
.ve-modal-card.ve-gallery-modal{width:min(1100px,96vw);max-height:94dvh;box-sizing:border-box}.ve-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ve-gallery-heading h2{font-size:22px;margin:0}
.ve-gallery-scroll{height:min(64dvh,680px);overflow-y:auto;overscroll-behavior:contain}.ve-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:14px;padding:4px}
.ve-design-card{display:block;width:100%;padding:0;text-align:left;border:1px solid var(--stroke);border-radius:12px;background:var(--ecume,#fff);overflow:hidden;cursor:pointer;color:inherit}.ve-design-card[aria-pressed="true"]{outline:3px solid var(--lagon)}.ve-design-card strong{display:block;padding:12px;font-size:15px}
.ve-design-shot{position:relative;display:block;height:240px;width:100%;overflow:hidden;background:#e9eeeb;color:#46616c;font-size:12px}.ve-design-shot iframe{width:1000px;height:1000px;border:0;display:block;transform-origin:top left;pointer-events:none}
.ve-photo-warning{font-size:13px;line-height:1.6;color:#795528;background:#fff5db;padding:12px;border-radius:10px}
.ve-quick-preview{position:absolute;right:12px;bottom:12px;z-index:2;box-shadow:0 4px 20px #1234}.ve-stage{position:relative}
.ve-shell.ve-reading .ve-side,.ve-shell.ve-reading .ve-top{display:none!important}.ve-shell.ve-reading .ve-frame-wrap{border:0;border-radius:0;box-shadow:none}
.ve-shell[data-view="settings"] .ve-side{display:block}.ve-shell[data-view="preview"] .ve-side{display:none}
@media(min-width:900px){.ve-shell:not(.ve-reading)[data-view="settings"] .ve-stage{display:flex}.ve-side{flex-shrink:0}}
.saas-editing .bug-report-launch { z-index:2500; }
.saas-page .tp-wrap { padding-top:28px; }
.saas-page .tp-bar { bottom:calc(66px + env(safe-area-inset-bottom)); }
.saas-page .tp-btxt { display:inline; }
@media(max-width:899px) {
  .ve-identity { flex:1 1 190px; min-width:0; }
  .ve-name { display:block; white-space:normal; }
  .ve-top { padding:8px 12px; gap:6px; }
  .ve-top .btn { padding:8px 10px; font-size:12px; }
  .ve-top .ve-save-status { flex-basis:100%; order:10; }
  .ve-manage > summary { font-size:12px; }
  .ve-side { width:100%; max-width:none; box-sizing:border-box; }
  .ve-stage { padding:8px; }
  .ve-hint { font-size:11px; }
  .ve-devices { display:flex; gap:4px; }
  .saas-nav { align-items:flex-start; flex-direction:column; gap:14px; padding:16px 20px; }
  .saas-nav nav { font-size:14px; gap:16px; }
  .saas-wrap { width:calc(100% - 28px); margin-top:24px; }
  .saas-empty { padding:28px 18px; }
  .saas-onboarding { padding:18px; }
  .ve-workspace{inset:0 0 calc(52px + env(safe-area-inset-bottom));height:auto;max-width:100vw}
  .ve-top{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:2px 6px;padding:4px 8px}
  .ve-identity{min-width:0}.ve-name{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .ve-manage>summary{padding:4px;text-align:center;font-size:24px;height:38px;border:0}.ve-tools{grid-column:1/-1;gap:4px;flex-wrap:nowrap;justify-content:space-between}
  .ve-top .ve-tools .btn{padding:7px 8px;min-height:44px;font-size:12px;min-width:0}.ve-top .ve-save-status{grid-column:1/-1;min-width:0;font-size:11px;line-height:1.4;margin:0;order:initial}
  .ve-msg:empty{display:none}.ve-side{padding:10px 10px 30px}.ve-side [data-block]>.fld{margin-top:10px}.ve-side [data-block] .btn{padding:8px 10px;min-height:44px}
  .ve-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ve-design-shot{height:190px}.ve-design-card strong{font-size:12px;padding:9px}.ve-gallery-scroll{height:60dvh}.ve-gallery-heading h2{font-size:18px}
  .ve-modal{padding:8px}.ve-modal-card{max-width:100%;padding:12px}.ve-hint{max-height:30px;overflow:auto}.ve-frame-wrap.ve-phone{border-width:2px;border-radius:12px}
}

.ve-background-picker{margin:12px 0}.ve-background-picker>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}.ve-background-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:340px;overflow:auto;padding:5px}.ve-background-grid button{padding:0;min-width:0;overflow:hidden;border:1px solid var(--stroke);border-radius:8px;cursor:pointer;background:var(--ecume);color:inherit}.ve-background-grid button[aria-pressed="true"]{outline:3px solid var(--lagon)}.ve-background-grid img{display:block;width:100%;height:64px;object-fit:cover}.ve-background-grid span{display:block;font-size:11px;line-height:1.4;padding:6px;overflow-wrap:anywhere}
.oh-editor{min-width:0}.oh-editor p{font-size:13px;line-height:1.5}.oh-check{display:flex;align-items:center;gap:8px;min-height:44px}.oh-check input{width:20px;height:20px;flex:0 0 auto}.oh-day{padding:12px 0;border-bottom:1px solid #83989b44}.oh-day-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.oh-day-head strong{min-width:90px}.oh-slot{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:5px 0 9px}.oh-slot label{flex:1;min-width:100px;max-width:145px}.oh-slot input{display:block;width:100%;min-height:44px;box-sizing:border-box;font-size:16px}.oh-slot small{flex:1 1 100%;color:var(--muted,#456)}.oh-exceptions,.oh-legacy{margin-top:16px}.oh-legacy p{white-space:normal}.oh-editor [hidden]{display:none!important}.oh-editor select{max-width:100%;font-size:16px}.oh-day [data-oh-closed]{display:block}.oh-editor button{min-height:44px}.oh-day input[type=date]{max-width:180px}
