:root{color:#1c1d1a;font-synthesis:none;text-rendering:optimizelegibility;--ink:#1d1f1b;--muted:#777a73;--muted-light:#9a9d96;--line:#deded7;--line-soft:#e9e8e2;--surface:#fff;--surface-soft:#f8f8f5;--canvas:#f0efeb;--accent:#ff5a38;--accent-soft:#fff0eb;--green:#2d9b69;--green-soft:#e7f6ee;--shadow:0 18px 50px #1d1f1b14;background:#f2f1ed;font-family:Nunito Sans Variable,Nunito Sans,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}#root{height:100vh}body{overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.composer-app{background:var(--canvas);grid-template-rows:68px auto minmax(0,1fr);height:100vh;display:grid}.page-switcher{border-bottom:1px solid var(--line);background:#f8f8f5;align-items:center;gap:10px;min-width:0;min-height:45px;padding:6px 16px;display:flex}.page-switcher-label{color:var(--muted);text-transform:uppercase;align-items:center;gap:6px;font-size:9px;font-weight:800;display:flex}.page-switcher-label svg,.new-page-button svg,.page-tab-actions svg{width:12px;height:12px}.page-tabs{flex:1;gap:5px;min-width:0;display:flex;overflow-x:auto}.page-tab{border:1px solid var(--line);background:#fff;border-radius:7px;flex:none;align-items:stretch;display:flex}.page-tab.is-active{border-color:var(--ink)}.page-tab-select{cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;min-width:0;padding:5px 9px;display:flex}.page-tab-select strong{font-size:9px}.page-tab-select span{color:var(--muted-light);font-size:7.5px}.page-tab-actions{align-items:center;padding-right:3px;display:flex}.page-tab-actions button{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:0;display:flex}.page-tab-actions button:hover{background:var(--surface-soft);color:var(--ink)}.page-tab-actions button:disabled{opacity:.25;cursor:not-allowed}.new-page-button{height:30px;color:var(--muted);cursor:pointer;background:#fff;border:1px dashed #bfc0b8;border-radius:7px;flex:none;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:750;display:flex}.new-page-form{flex:none;gap:4px;display:flex}.edit-page-form input:last-of-type{width:110px}.new-page-form input{border:1px solid var(--line);background:#fff;border-radius:6px;width:150px;height:30px;padding:0 8px;font-size:9px}.new-page-form button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;height:30px;padding:0 8px;font-size:8px}.auth-screen{background:radial-gradient(circle at 20% 15%, #ff5a381f, transparent 30%), var(--canvas);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{border:1px solid var(--line);width:min(100%,420px);box-shadow:var(--shadow);text-align:center;background:#fff;border-radius:14px;padding:34px}.auth-card h1{margin:24px 0 8px;font-size:22px}.auth-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.auth-card code{color:var(--accent);font-weight:750}.user-avatar{width:34px;height:34px}.dashboard-shell{overscroll-behavior:contain;scrollbar-gutter:stable;background:radial-gradient(circle at 85% 0,#ff5a3817,#0000 28%),#f4f3ef;height:100vh;overflow-y:auto}.dashboard-shell::-webkit-scrollbar{width:10px}.dashboard-shell::-webkit-scrollbar-track{background:#f1f0ec}.dashboard-shell::-webkit-scrollbar-thumb{background:#b8b9b2;border:2px solid #f1f0ec;border-radius:999px}.dashboard-shell::-webkit-scrollbar-thumb:hover{background:#92958d}.dashboard-header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;grid-template-columns:1fr auto 1fr;align-items:center;height:68px;padding:0 32px;display:grid}.dashboard-header-copy{align-items:center;gap:9px;font-size:11px;display:flex}.dashboard-header-copy select{border:1px solid var(--line);max-width:180px;height:30px;color:var(--ink);background:#fff;border-radius:7px;padding:0 28px 0 9px;font-size:10px;font-weight:750}.workspace-add-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;align-items:center;gap:4px;height:30px;padding:0 8px;font-size:8px;display:flex}.workspace-add-button svg{width:11px;height:11px}.workspace-delete-button{color:#c64831;cursor:pointer;background:#fff;border:1px solid #f0c9c0;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:flex}.workspace-delete-button:hover{background:#fff2ee}.workspace-delete-button svg{width:12px;height:12px}.delete-workspace-dialog{width:min(430px,100%)}.delete-workspace-dialog>p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.workspace-delete-icon{color:#c64831;background:#fff0eb;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;margin-bottom:12px;display:inline-flex}.workspace-delete-icon svg{width:17px;height:17px}.button-danger{color:#fff;background:#c64831;border-color:#b93825}.button-danger:hover{background:#ad3925}.dashboard-header-copy span{color:var(--muted-light)}.dashboard-header-copy strong{font-weight:800}.dashboard-header>div:last-child{justify-self:end}.dashboard-content{width:min(1180px,100% - 48px);margin:0 auto;padding:56px 0 72px}.dashboard-hero{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:38px;display:flex}.dashboard-hero h1{letter-spacing:-.04em;margin:0;font-size:clamp(2rem,5vw,3.5rem);line-height:1}.dashboard-hero p{color:var(--muted);margin:12px 0 0;font-size:13px}.dashboard-create{min-height:40px;padding:0 16px}.dashboard-toolbar{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.dashboard-toolbar>span{color:var(--muted);font-size:10px;font-weight:750}.dashboard-search{align-items:center;width:min(320px,100%);display:flex;position:relative}.dashboard-search svg{width:14px;height:14px;color:var(--muted-light);position:absolute;left:11px}.dashboard-search input{border:1px solid var(--line);background:#fff;border-radius:9px;width:100%;height:38px;padding:0 12px 0 34px;font-size:11px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.project-card{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:0;transition:transform .16s,box-shadow .16s,border-color .16s;position:relative;overflow:visible;box-shadow:0 5px 18px #1d1f1b06}::view-transition-group(*){animation-duration:.5s;animation-timing-function:cubic-bezier(.22,1,.36,1)}::view-transition-old(root){animation:.26s both project-page-out}::view-transition-new(root){animation:.42s cubic-bezier(.22,1,.36,1) both project-page-in}@keyframes project-page-out{to{opacity:0;filter:blur(3px)}}@keyframes project-page-in{0%{opacity:0;transform:translateY(8px)}}article.project-card:hover{border-color:#c5c6be;transform:translateY(-2px);box-shadow:0 14px 34px #1d1f1b14}.project-preview{text-align:center;cursor:pointer;background:#f8f7f2;border:0;border-radius:11px 11px 0 0;flex-direction:column;align-items:center;width:100%;height:178px;padding:42px 24px 20px;display:flex;position:relative;overflow:hidden}.project-browser-bar{border-bottom:1px solid var(--line-soft);background:#fff;align-items:center;gap:3px;width:100%;height:20px;padding-left:8px;display:flex;position:absolute;top:0;left:0}.project-browser-bar i{background:#d1d2cb;border-radius:50%;width:4px;height:4px}.project-preview-nav{border-bottom:1px solid #ddddd6;width:100%;height:7px;margin-bottom:27px}.project-preview>strong{max-width:88%;color:var(--ink);letter-spacing:-.03em;font-size:17px;line-height:1.15}.project-preview-lines{flex-direction:column;align-items:center;gap:4px;width:72%;margin-top:8px;display:flex}.project-preview-lines i{background:#d8d8d1;border-radius:2px;width:100%;height:3px;display:block}.project-preview-lines i:last-child{width:68%}.project-preview-cards{grid-template-columns:repeat(3,1fr);gap:5px;width:78%;margin-top:22px;display:grid}.project-preview-cards i{background:#fff;border:1px solid #dfdfd8;border-radius:4px;height:28px}.project-card-meta{justify-content:space-between;align-items:center;gap:10px;padding:14px 15px 9px;display:flex;position:relative}.project-card-meta>div:first-child{flex-direction:column;align-items:flex-start;min-width:0;display:flex}.project-title-button{text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;max-width:100%;padding:0;font-size:12px;font-weight:850;overflow:hidden}.project-title-button:hover{color:var(--accent)}.project-card-meta span{color:var(--muted-light);margin-top:2px;font-size:9px}.project-menu-button{cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.project-menu-button:hover{background:var(--surface-soft)}.project-menu-button svg{width:15px;height:15px}.project-card-menu{z-index:8;border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;width:150px;padding:4px;display:flex;position:absolute;top:43px;right:12px;box-shadow:0 12px 30px #1d1f1b24}.project-card-menu button{cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;height:31px;padding:0 8px;font-size:9px;display:flex}.project-card-menu button:hover{background:var(--surface-soft)}.project-card-menu svg{width:12px;height:12px}.project-card-footer{border-top:1px solid var(--line-soft);color:var(--muted);justify-content:space-between;align-items:center;padding:9px 15px 13px;font-size:8.5px;display:flex}.project-create-card{cursor:pointer;background:#ffffff73;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;min-height:272px;display:flex}.project-create-card:hover{border-color:var(--accent);background:var(--accent-soft)}.project-create-icon{border:1px solid var(--line);width:44px;height:44px;color:var(--accent);background:#fff;border-radius:50%;justify-content:center;align-items:center;margin-bottom:13px;display:flex}.project-create-icon svg{width:18px;height:18px}.project-create-card strong{font-size:12px}.project-create-card small{color:var(--muted);margin-top:4px;font-size:9px}.dashboard-empty{min-height:250px;color:var(--muted);flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:6px;display:flex}.dashboard-empty svg{width:22px;height:22px}.dashboard-empty strong{color:var(--ink);font-size:12px}.dashboard-empty span{font-size:10px}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#14161247;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.compatibility-backdrop{background:#1416126b}.compatibility-report{background:#fff;border:1px solid #f1c3b8;border-radius:13px;width:min(560px,100%);max-height:calc(100vh - 48px);padding:28px;position:relative;overflow:auto;box-shadow:0 24px 70px #14161240}.compatibility-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:9px;justify-content:center;align-items:center;margin-bottom:14px;display:inline-flex}.compatibility-icon svg,.compatibility-close svg{width:17px;height:17px}.compatibility-report h2{margin:4px 0 8px;font-size:20px}.compatibility-report>p{color:var(--muted);margin:0 0 18px;font-size:10px;line-height:1.5}.compatibility-report ul{flex-direction:column;gap:7px;max-height:260px;margin:0 0 18px;padding:0;list-style:none;display:flex;overflow:auto}.compatibility-report li{border:1px solid var(--line-soft);background:var(--surface-soft);border-radius:7px;grid-template-columns:150px 1fr;gap:10px;padding:9px;font-size:9px;display:grid}.compatibility-report code{color:#b83f2a;font-size:8px}.compatibility-report li span{color:var(--muted)}.compatibility-report>small{color:var(--muted);margin:-10px 0 16px;font-size:9px;display:block}.compatibility-close{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;top:14px;right:14px}.compatibility-close:hover{background:var(--surface-soft)}.create-project-dialog{border:1px solid var(--line);background:#fff;border-radius:13px;width:min(760px,100%);padding:24px;box-shadow:0 24px 70px #14161233}.template-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:360px;margin:0 0 18px;display:grid;overflow-y:auto}.template-picker>button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:9px;grid-template-rows:auto auto 1fr;grid-template-columns:96px minmax(0,1fr);gap:2px 10px;padding:9px;display:grid}.template-picker>button.is-active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.template-preview{background:#f2f1ed;border-radius:6px;flex-direction:column;grid-row:1/4;justify-content:center;align-items:flex-end;gap:6px;height:82px;padding:7px;display:flex;position:relative;overflow:hidden}.template-preview-nav{align-items:center;gap:3px;width:100%;display:flex}.template-preview-nav i{opacity:.7;background:currentColor;border-radius:50%;width:4px;height:4px}.template-preview-nav i:last-child{border-radius:2px;width:22px;height:3px;margin-left:auto}.template-preview-hero{background:#ffffffb3;border-radius:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;width:100%;min-height:27px;padding:5px;display:flex}.template-preview-hero i{background:currentColor;border-radius:3px;width:70%;height:3px;display:block}.template-preview-hero i:nth-child(2){opacity:.38;width:52%}.template-preview-hero b{opacity:.8;background:currentColor;border-radius:3px;width:24px;height:6px}.template-preview-content{grid-template-columns:repeat(3,1fr);gap:4px;width:100%;display:grid}.template-preview-content i{background:#fffc;border-radius:3px;height:13px}.template-preview--empty{color:#b2b4ad;background:#fafaf7;border:1px dashed #bfc0b8;justify-content:center;align-items:center}.template-preview--empty .template-preview-nav,.template-preview--empty .template-preview-hero i,.template-preview--empty .template-preview-hero b,.template-preview--empty .template-preview-content{display:none}.template-preview--empty .template-preview-hero{background:#fff;border:1px dashed #c8c9c2;border-radius:50%;align-items:center;width:45px;min-height:45px}.template-preview--empty .template-preview-hero:after{content:"+";font-size:20px}.template-preview--company{color:#1d4d3c;background:#dceee6}.template-preview--card{color:#6b46c1;background:linear-gradient(145deg,#f0e9ff,#fff)}.template-preview--card .template-preview-content{grid-template-columns:1.5fr 1fr}.template-preview--saas{color:#3156d8;background:linear-gradient(145deg,#e7edff,#eff5ff)}.template-preview--saas .template-preview-hero{color:#fff;background:#3156d8;align-items:center}.template-preview--portfolio{color:#bc3e5d;background:#f7e7ec}.template-preview--portfolio .template-preview-content{grid-template-columns:1.4fr .8fr 1.1fr}.template-preview--restaurant{color:#8c4a24;background:radial-gradient(circle at 76% 25%,#efb67a 0 10%,#0000 11%),#f5dfc9}.template-preview--event{color:#d63c25;background:linear-gradient(135deg,#ffdf55,#ff835c)}.template-preview--event .template-preview-hero{background:#ffffff73}.template-preview--catalog{color:#246b62;background:#d9efeb}.template-preview--catalog .template-preview-content{grid-template-columns:repeat(2,1fr)}.template-picker strong{font-size:10px}.template-picker small{color:var(--muted);font-size:8.5px;line-height:1.35}.template-picker>button>span:last-child{color:var(--accent);align-self:end;font-size:8px;font-weight:750}.create-project-dialog h2{letter-spacing:-.03em;margin:4px 0 20px;font-size:20px}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.app-header{z-index:40;border-bottom:1px solid var(--line);background:#fffffff5;grid-template-columns:252px minmax(260px,1fr) auto;align-items:center;min-height:68px;padding:0 18px 0 22px;display:grid;position:relative}.brand{letter-spacing:-1.2px;align-items:center;gap:10px;font-size:23px;font-weight:900;display:inline-flex}.brand-mark{grid-template-columns:repeat(2,9px);gap:3px;width:21px;height:23px;display:grid;position:relative;overflow:hidden}.brand-mark span{background:var(--ink);border-radius:10px 10px 2px 2px;height:23px;display:block}.brand-mark span:last-child{background:var(--accent);transform:translateY(7px)}.brand-dot{color:var(--accent)}.header-project,.project-copy,.header-actions,.history-actions,.save-status,.button,.icon-button{align-items:center;display:flex}.header-project{gap:10px;min-width:0;padding-left:10px}.project-copy{flex-direction:column;align-items:flex-start;min-width:0;line-height:1.15}.project-copy>span{color:var(--muted-light);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.project-copy strong{text-overflow:ellipsis;white-space:nowrap;max-width:300px;font-size:13px;font-weight:750;overflow:hidden}.project-badge,.count-badge,.mock-badge{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);letter-spacing:.08em;border-radius:99px;justify-content:center;align-items:center;font-size:9px;font-weight:800;display:inline-flex}.project-badge{height:20px;padding:0 7px}.header-actions{gap:8px}.history-actions{border-right:1px solid var(--line);gap:2px;padding-right:10px}.icon-button{cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;width:32px;height:32px;padding:0}.icon-button:hover:not(:disabled),.icon-button.is-active{background:#f1f1ec}.icon-button:disabled{opacity:.28;cursor:not-allowed}.icon-button svg{stroke-width:1.8px;width:15px;height:15px}.save-status{min-width:112px;color:var(--green);gap:5px;margin:0 4px;font-size:11px;font-weight:700}.save-status svg{width:13px;height:13px}.save-spinner{border:2px solid #c5dfd1;border-top-color:var(--green);border-radius:50%;width:12px;height:12px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.button{border:1px solid var(--line);cursor:pointer;border-radius:8px;justify-content:center;gap:7px;min-height:34px;padding:0 12px;font-size:11px;font-weight:750;transition:border-color .15s,background .15s,transform .15s}.button svg{width:14px;height:14px}.button:active{transform:translateY(1px)}.button-secondary{background:var(--surface)}.button-secondary:hover{background:var(--surface-soft);border-color:#bdbeb7}.button-primary{border-color:var(--ink);background:var(--ink);color:#fff}.button-primary:hover{background:#383a35}.export-menu{position:relative}.export-menu-popover{z-index:50;border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;width:220px;padding:5px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 16px 40px #14161229}.export-menu-popover button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;min-height:34px;padding:0 9px;font-size:9px;font-weight:700;display:flex}.export-menu-popover button:hover{background:var(--surface-soft)}.export-menu-popover svg{width:13px;height:13px}.editor-shell{grid-template-columns:252px minmax(480px,1fr) 300px;min-height:0;display:grid}.panel-switcher{display:none}.side-panel{z-index:20;background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.components-panel{border-right:1px solid var(--line)}.inspector-panel{border-left:1px solid var(--line)}.panel-heading{justify-content:space-between;align-items:center;padding:23px 20px 15px;display:flex}.eyebrow{color:var(--muted-light);letter-spacing:.12em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:850;display:block}.panel-heading h2,.inspector-heading h2,.inspector-empty h2{letter-spacing:-.02em;margin:0;font-size:16px;font-weight:800}.count-badge{width:25px;height:25px;font-size:10px}.search-field{align-items:center;margin:0 14px 18px;display:flex;position:relative}.search-field input{border:1px solid var(--line);background:var(--surface-soft);width:100%;height:36px;color:var(--ink);border-radius:8px;padding:0 48px 0 12px;font-size:11px}.search-field input::placeholder{color:var(--muted-light)}.search-field kbd{border:1px solid var(--line);color:var(--muted-light);background:#fff;border-radius:4px;padding:2px 5px;font-size:9px;position:absolute;right:8px}.component-scroll,.inspector-scroll,.canvas-scroll{min-height:0;overflow:hidden auto}.component-scroll{flex:1;padding:0 10px 12px}.component-scroll::-webkit-scrollbar{width:6px;height:6px}.inspector-scroll::-webkit-scrollbar{width:6px;height:6px}.canvas-scroll::-webkit-scrollbar{width:6px;height:6px}.component-scroll::-webkit-scrollbar-thumb{background:#ccccc5;border-radius:8px}.inspector-scroll::-webkit-scrollbar-thumb{background:#ccccc5;border-radius:8px}.canvas-scroll::-webkit-scrollbar-thumb{background:#ccccc5;border-radius:8px}.component-group+.component-group{margin-top:19px}.component-group-title{color:var(--muted-light);letter-spacing:.1em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:0 8px 7px;font-size:9px;font-weight:850;display:flex}.component-list{flex-direction:column;gap:5px;display:flex}.component-card{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px 10px;transition:background .15s,border-color .15s,transform .15s;display:grid}.component-card:hover{border-color:var(--line);background:var(--surface-soft);transform:translateY(-1px)}.component-preview{border:1px solid var(--line-soft);background-color:#f0f0eb;background-image:linear-gradient(#f8f8f6 1px,#0000 1px),linear-gradient(90deg,#f8f8f6 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:8px 8px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border-radius:8px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.component-preview svg{stroke-width:1.6px;width:17px;height:17px}.component-copy{flex-direction:column;min-width:0;display:flex}.component-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.component-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:9.5px;line-height:1.25;overflow:hidden}.component-add{width:14px;height:14px;color:var(--muted-light);transition:color .15s}.component-card:hover .component-add{color:var(--accent)}.library-empty{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:20px;display:flex}.library-empty svg{width:20px;height:20px}.library-empty p{margin:0;font-size:11px}.library-footer{border-top:1px solid var(--line-soft);background:var(--surface-soft);align-items:center;gap:10px;min-height:58px;padding:0 18px;display:flex}.library-footer>svg{width:17px;height:17px;color:var(--muted)}.library-footer>div{flex-direction:column;display:flex}.library-footer strong{font-size:10px}.library-footer span{color:var(--muted);font-size:9px}.canvas-area{background:radial-gradient(circle at 20% 10%, #ffffffbf, transparent 32%), var(--canvas);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.canvas-toolbar{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f6f5f1db;border-bottom:1px solid #d1d0c7d9;grid-template-columns:1fr auto 1fr;align-items:center;min-height:53px;padding:0 14px;display:grid;position:relative}.viewport-control{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-self:start;align-items:center;padding:3px;display:inline-flex}.viewport-control button{height:27px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:5px;padding:0 9px;font-size:9px;font-weight:750;display:flex}.viewport-control button.is-active{background:var(--ink);color:#fff}.viewport-control svg{width:12px;height:12px}.canvas-meta{color:var(--muted);align-items:center;gap:8px;font-size:9px;font-weight:700;display:flex}.meta-divider{background:var(--line);width:1px;height:12px}.preview-link{color:var(--ink);cursor:pointer;background:0 0;border:0;justify-self:end;align-items:center;gap:6px;font-size:10px;font-weight:750;display:flex}.preview-link:hover{color:var(--accent)}.canvas-scroll{flex:1;padding:30px}.canvas-centering{justify-content:center;min-width:100%;transition:width .18s;display:flex}.canvas-frame{width:100%;min-width:0;max-width:1120px;box-shadow:var(--shadow);transform-origin:top;background:#fff;border:1px solid #d7d6ce;border-radius:9px;transition:width .22s}.canvas-centering[data-viewport=desktop] .canvas-frame{width:100%!important}.canvas-centering[data-viewport=tablet] .canvas-frame{max-width:768px}.canvas-centering[data-viewport=mobile] .canvas-frame{max-width:390px}.browser-bar{border-bottom:1px solid var(--line);background:#f7f7f4;border-radius:9px 9px 0 0;grid-template-columns:55px 1fr 20px;align-items:center;height:32px;padding:0 11px;display:grid}.browser-dots{gap:4px;display:flex}.browser-dots i{background:#cdcdc6;border-radius:50%;width:5px;height:5px}.browser-address{color:#85877f;justify-content:center;align-items:center;gap:2px;min-width:0;font-size:8px;display:flex}.browser-address span:first-child{color:#44463f;font-weight:750}.browser-bar>svg{width:13px;height:13px;color:var(--muted-light)}.page-canvas{background:#fff;min-height:260px;padding-bottom:56px;position:relative}.page-canvas.is-empty{min-height:0;padding-bottom:0}.canvas-preview-frame{pointer-events:none;background:#fff;border:0;width:100%;min-height:260px;display:block}.page-canvas.is-empty .empty-canvas{border-radius:0;width:100%;min-height:180px;margin:0}.canvas-block{margin-top:var(--section-margin-top,0);margin-right:var(--section-margin-right,0);margin-bottom:var(--section-margin-bottom,0);margin-left:var(--section-margin-left,0);outline-offset:-2px;cursor:grab;border:0 solid #0000;outline:1px solid #0000;transition:outline-color .12s,opacity .12s;position:absolute;left:0;right:0}.canvas-block:hover{outline-color:#ff5a3866}.canvas-block.is-selected{outline:2px solid var(--accent);outline-offset:-2px;z-index:3}.canvas-block.is-dragging{opacity:.4}.canvas-block.is-hidden-block{background:repeating-linear-gradient(-45deg,#0000 0 8px,#9a9d9614 8px 16px),#fafaf7;min-height:34px}.canvas-block.is-hidden-block .canvas-section-content{opacity:.22;filter:grayscale();pointer-events:none}.canvas-block.is-hidden-block .canvas-section-label{opacity:1;transform:translateY(0)}.canvas-block.drop-before:before,.canvas-block.drop-after:after{z-index:8;background:var(--accent);content:"";border-radius:3px;height:4px;position:absolute;left:0;right:0;box-shadow:0 0 0 3px #fff}.canvas-block.drop-before:before{top:-2px}.canvas-block.drop-after:after{bottom:-2px}.canvas-section-label{z-index:7;border:1px solid var(--line);opacity:0;pointer-events:none;background:#fffffff5;border-radius:6px;align-items:center;gap:5px;max-width:240px;height:23px;padding:0 8px 0 5px;transition:opacity .12s,transform .12s;display:flex;position:absolute;top:8px;left:8px;transform:translateY(-3px);box-shadow:0 4px 14px #1d1f1b14}.canvas-block:hover .canvas-section-label,.canvas-block.is-selected .canvas-section-label,.canvas-block:focus-within .canvas-section-label{opacity:1;transform:translateY(0)}.canvas-section-label svg{width:12px;height:12px;color:var(--muted-light)}.canvas-section-label>span{color:var(--muted-light);font-size:8px;font-weight:800}.canvas-section-label strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:800;overflow:hidden}.canvas-section-label .selected-label{color:var(--accent)}.canvas-section-label .hidden-label{color:#777a73}.canvas-section-content{overflow:hidden}.canvas-block[data-block-type=header]{isolation:isolate;overflow:visible}.canvas-block[data-block-type=header] .canvas-section-content{overflow:visible}.canvas-block[data-block-type=header] .canvas-section-content>header{z-index:0!important;position:relative!important}.canvas-block[data-block-type=header] .canvas-section-label{z-index:60}.canvas-section-content>section,.canvas-section-content>header,.canvas-section-content>footer{max-width:none!important}.canvas-section-content>section[class*=py-],.canvas-section-content>footer>div{padding-top:var(--section-padding)!important;padding-bottom:var(--section-padding)!important}.canvas-section-content h1{font-size:min(var(--section-font-size), 3.75rem)!important;line-height:1.04!important}.canvas-section-content h2{font-size:calc(var(--section-font-size) * .72)!important;line-height:1.08!important}.add-item-button{width:100%;height:32px;color:var(--muted);cursor:pointer;background:#fff;border:1px dashed #bfc0b8;border-radius:7px;justify-content:center;align-items:center;gap:5px;font-size:9px;font-weight:750;display:flex}.add-item-button:hover{border-color:var(--accent);color:var(--accent)}.add-item-button svg{width:12px;height:12px}.preview-overlay{z-index:90;background:var(--canvas);grid-template-rows:58px minmax(0,1fr);animation:.16s ease-out toast-in;display:grid;position:fixed;inset:0}.preview-header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;padding:0 22px;display:flex}.preview-header>div{flex-direction:column;display:flex}.preview-header span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:750}.preview-header strong{font-size:13px}.preview-header button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:9px;font-weight:750;display:flex}.preview-header button:hover{background:var(--surface-soft)}.preview-header svg{width:13px;height:13px}.preview-page-scroll{min-height:0;padding:24px;overflow:auto}.preview-page{width:100%;max-width:1280px;min-height:400px;box-shadow:var(--shadow);background:#fff;margin:0 auto;overflow:hidden}.preview-page-frame{border:0;height:calc(100vh - 106px);display:block}.preview-page[data-viewport=tablet]{max-width:768px}.preview-page[data-viewport=mobile]{max-width:390px}.preview-section>section[class*=py-],.preview-section>footer>div{padding-top:var(--section-padding)!important;padding-bottom:var(--section-padding)!important}.preview-section{margin-top:var(--section-margin-top,0);margin-right:var(--section-margin-right,0);margin-bottom:var(--section-margin-bottom,0);margin-left:var(--section-margin-left,0)}.preview-section h1{font-size:min(var(--section-font-size), 3.75rem)!important;line-height:1.04!important}.preview-section h2{font-size:calc(var(--section-font-size) * .72)!important;line-height:1.08!important}.inline-editor{z-index:9;border:1px solid var(--accent);background:#fff;border-radius:8px;width:min(70%,560px);min-width:240px;padding:5px;display:flex;position:absolute;top:16px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #1d1f1b33}.inline-editor input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:32px;font-size:12px;font-weight:650}.inline-editor button{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.inline-editor button:hover{background:var(--surface-soft)}.inline-editor svg{width:14px;height:14px}.empty-canvas{background:var(--surface-soft);cursor:pointer;border:1px dashed #b9bab3;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;width:calc(100% - 64px);min-height:230px;margin:32px;display:flex}.empty-canvas>span{border:1px solid var(--line);background:#fff;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;margin-bottom:12px;display:inline-flex}.empty-canvas strong{font-size:13px}.empty-canvas small{color:var(--muted);margin-top:5px;font-size:10px}.empty-canvas svg,.add-section-button svg{width:14px;height:14px}.add-section-button{height:30px;color:var(--muted);cursor:pointer;background:#fff;border:1px dashed #bfc0b8;border-radius:7px;align-items:center;gap:7px;padding:0 12px;font-size:9px;font-weight:750;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.add-section-button:hover{border-color:var(--accent);color:var(--accent)}.inspector-heading{border-bottom:1px solid var(--line-soft);grid-template-columns:40px minmax(0,1fr) 26px;align-items:center;gap:10px;min-height:76px;padding:0 16px;display:grid}.inspector-more{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:flex}.inspector-more:hover{background:var(--surface-soft)}.inspector-more svg{width:16px;height:16px}.inspector-scroll{flex:1}.inspector-section{padding:19px 16px}.inspector-section+.inspector-section{border-top:1px solid var(--line-soft)}.section-title-row,.subsection-heading,.responsive-editor-title,.collection-item-label{justify-content:space-between;align-items:center;display:flex}.section-title-row{margin-bottom:12px}.section-title-row h3{margin:0;font-size:11px;font-weight:850}.mock-badge{background:var(--accent-soft);color:#cc482b;text-transform:uppercase;border-color:#ffd0c5;height:18px;padding:0 6px;font-size:8px}.source-tabs{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.source-tabs button{height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:5px;font-size:9px;font-weight:750;display:flex}.source-tabs button.is-active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #1d1f1b17}.source-tabs svg{width:12px;height:12px}.form-stack,.cms-mock{flex-direction:column;gap:12px;margin-top:14px;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-label{color:#52554f;justify-content:space-between;align-items:center;font-size:9.5px;font-weight:750;display:flex}.field-label small{color:var(--accent);font-size:8px;font-weight:700}.field input,.field textarea,.field select{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:7px;font-size:10px;transition:border-color .12s,box-shadow .12s}.field input,.field select{height:34px;padding:0 10px}.field textarea{resize:vertical;min-height:65px;padding:8px 10px;line-height:1.4}.field input:hover,.field textarea:hover,.field select:hover{border-color:#bfc0b8}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.field input::placeholder{color:#b6b8b0}.field input[aria-invalid=true]{border-color:#d84f36;box-shadow:0 0 0 3px #ffebe6}.field-error{color:#b83f2a;font-size:9px;line-height:1.35}.cms-connection{background:var(--green-soft);border:1px solid #bde2ce;border-radius:8px;grid-template-columns:34px 1fr 18px;align-items:center;gap:8px;padding:10px;display:grid}.cms-logo{width:32px;height:32px;color:var(--green);background:#fff;border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.cms-logo svg,.cms-connection>svg{width:14px;height:14px}.cms-connection>svg{color:var(--green)}.cms-connection>div{flex-direction:column;display:flex}.cms-connection strong{font-size:10px}.cms-connection small{color:#5f806e;font-size:8px}.cms-preview{border:1px dashed var(--line);background:var(--surface-soft);color:var(--muted);border-radius:8px;gap:8px;padding:11px;font-size:9px;line-height:1.4;display:flex}.cms-preview svg{flex:none;width:14px;height:14px}.collection-editor{border-top:1px solid var(--line-soft);flex-direction:column;gap:8px;padding-top:6px;display:flex}.subsection-heading{padding:4px 0}.subsection-heading strong{font-size:10px}.subsection-heading span{color:var(--muted-light);font-size:9px}.collection-item{border:1px solid var(--line-soft);background:var(--surface-soft);border-radius:8px;flex-direction:column;gap:9px;padding:10px;display:flex}.collection-item-label{justify-content:flex-start;gap:7px;margin-bottom:2px}.collection-item-label span{color:var(--muted-light);font-size:8px}.collection-item-label strong{font-size:9px}.remove-item-button{height:28px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:5px;font-size:8px;display:flex}.remove-item-button:hover{color:#c14832;background:#fff5f2;border-color:#f0c9c0}.remove-item-button svg{width:11px;height:11px}.tiny-viewport-icon{border:1px solid var(--line);width:22px;height:22px;color:var(--muted);border-radius:5px;justify-content:center;align-items:center;display:flex}.tiny-viewport-icon svg{width:12px;height:12px}.responsive-editor{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:11px}.responsive-editor-title{margin-bottom:12px}.responsive-editor-title .eyebrow{color:var(--ink);margin:0 0 1px}.responsive-editor-title small{color:var(--muted);font-size:8.5px}.responsive-editor-title button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;justify-content:center;align-items:center;width:25px;height:25px;display:flex}.responsive-editor-title button:hover{color:var(--accent)}.responsive-editor-title svg{width:12px;height:12px}.responsive-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.responsive-grid .field-label{font-size:8.5px}.input-suffix{position:relative}.input-suffix input{padding-right:26px}.input-suffix span{color:var(--muted-light);pointer-events:none;font-size:8px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.inheritance-note{color:var(--muted);gap:5px;margin:10px 0 0;font-size:8.5px;line-height:1.35;display:flex}.inheritance-note svg{flex:none;width:11px;height:11px;margin-top:1px}.inspector-footer{border-top:1px solid var(--line);background:#fff;grid-template-columns:1fr 1fr;gap:7px;padding:11px 14px;display:grid}.inspector-footer button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:5px;height:32px;font-size:9px;font-weight:750;display:flex}.inspector-footer button:hover{background:var(--surface-soft)}.inspector-footer svg{width:12px;height:12px}.danger-action{color:#c64831!important}.inspector-empty{text-align:center;justify-content:center;align-items:center;padding:30px}.inspector-empty>svg{width:26px;height:26px;color:var(--muted-light);margin-bottom:16px}.inspector-empty p{max-width:220px;color:var(--muted);margin:8px auto 22px;font-size:10px;line-height:1.5}.shortcut-list{flex-direction:column;gap:8px;width:100%;display:flex}.shortcut-list span{color:var(--muted);justify-content:space-between;align-items:center;font-size:9px;display:flex}.shortcut-list kbd{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);border-bottom-width:2px;border-radius:5px;padding:3px 6px;font-size:8px;font-weight:750}.context-menu{z-index:100;border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffffa;border-radius:9px;flex-direction:column;width:210px;padding:5px;display:flex;position:fixed;box-shadow:0 16px 40px #14161229}.context-menu button{cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;height:34px;padding:0 9px;font-size:10px;font-weight:650;display:flex}.context-menu button:hover{background:var(--surface-soft)}.context-menu button:nth-child(4){border-bottom:1px solid var(--line-soft);border-radius:6px 6px 0 0;margin-bottom:5px}.context-menu svg{width:13px;height:13px;color:var(--muted)}.toast{z-index:120;color:#2a6c4a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f7fffaf5;border:1px solid #c6e2d1;border-radius:9px;align-items:center;gap:8px;padding:11px 14px;font-size:10px;font-weight:750;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 12px 35px #14161224}.toast svg{width:14px;height:14px}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (width<=1280px){.app-header{grid-template-columns:224px minmax(200px,1fr) auto}.editor-shell{grid-template-columns:224px minmax(420px,1fr) 290px}.save-status{display:none}.button{padding:0 10px}}@media (width<=1120px){.composer-app{grid-template-rows:62px auto 42px minmax(0,1fr)}.app-header{grid-template-columns:minmax(170px,.7fr) minmax(180px,1fr) auto}.brand{font-size:20px}.header-project{padding-left:0}.header-actions .button-secondary{width:34px;padding:0;font-size:0}.header-actions .button-secondary svg{width:15px;height:15px}.panel-switcher{border-bottom:1px solid var(--line);background:var(--surface);justify-content:center;align-items:center;gap:4px;padding:5px 10px;display:flex}.panel-switcher button{height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:0 12px;font-size:9px;font-weight:750;display:flex}.panel-switcher button.is-active{background:var(--ink);color:#fff}.panel-switcher svg{width:12px;height:12px}.editor-shell{grid-template-columns:minmax(320px,1fr) 290px}.components-panel{display:none}.editor-shell.panel-components{grid-template-columns:290px minmax(320px,1fr)}.editor-shell.panel-components .components-panel{display:flex}.editor-shell.panel-components .inspector-panel{display:none}.editor-shell.panel-inspector{grid-template-columns:minmax(320px,1fr) 290px}}@media (width<=720px){.template-picker{grid-template-columns:1fr}.dashboard-header{grid-template-columns:1fr auto;padding:0 18px}.dashboard-header-copy{display:none}.dashboard-content{width:calc(100% - 28px);padding-top:34px}.dashboard-hero{flex-direction:column;align-items:flex-start}.dashboard-toolbar{flex-direction:column;align-items:flex-start;gap:10px}.project-grid{grid-template-columns:1fr}.project-create-card{min-height:190px}.preview-page-scroll{padding:10px}.app-header{grid-template-columns:1fr auto;padding:0 12px}.brand{font-size:19px}.header-project,.history-actions,.header-actions .button-secondary:first-of-type{display:none}.header-actions{gap:6px}.header-actions .button-secondary{width:32px;min-height:32px}.button-primary{width:auto;min-height:32px;padding:0 10px}.button-primary svg{width:13px;height:13px}.editor-shell,.editor-shell.panel-components,.editor-shell.panel-inspector{display:block}.editor-shell>.side-panel,.editor-shell>.canvas-area{width:100%;height:100%}.editor-shell.panel-components .canvas-area,.editor-shell.panel-components .inspector-panel,.editor-shell.panel-canvas .components-panel,.editor-shell.panel-canvas .inspector-panel,.editor-shell.panel-inspector .components-panel,.editor-shell.panel-inspector .canvas-area{display:none}.editor-shell.panel-inspector .inspector-panel{display:flex}.canvas-toolbar{grid-template-columns:1fr auto;padding:0 10px}.viewport-control button{padding:0 8px}.viewport-control button span,.canvas-meta{display:none}.preview-link{font-size:9px}.canvas-scroll{padding:14px 10px 30px}.canvas-section-content{min-width:0}.canvas-section-label{top:5px;left:5px}.inspector-heading{min-height:68px}.component-scroll{padding:0 14px 14px}.component-card{grid-template-columns:48px minmax(0,1fr) 24px;min-height:66px}.component-preview{width:44px;height:44px}.component-copy strong{font-size:12px}.component-copy small{font-size:10px}.toast{justify-content:center;bottom:10px;left:10px;right:10px}}
