:root{font-family:Inter,system-ui,sans-serif;background:#f4f5f9;color:#172037}button{transition:background .15s}button:disabled{opacity:.45;cursor:not-allowed}.builder{height:100vh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:66px;background:#fff;border-bottom:1px solid #e4e6ee;display:flex;justify-content:space-between;align-items:center;padding:0 22px;gap:14px;flex-shrink:0}.logo{font-weight:900;letter-spacing:-.045em;font-size:1.2rem;color:#28214d}.logo span{font-weight:500;color:#9291a3;font-size:.9rem;margin-left:5px}.top-left,.top-actions{display:flex;align-items:center;gap:13px}.project-name{font-size:.9rem;font-weight:650;border-left:1px solid #ddd;padding-left:15px}.unsaved{font-size:.7rem;color:#a66100}.primary,.soft-button{display:inline-flex;gap:7px;align-items:center;justify-content:center;border-radius:9px;padding:10px 14px;border:1px solid #e1e3eb;white-space:nowrap;background:#fff;color:#25314a;text-decoration:none;font-size:.85rem;font-weight:650}.primary{background:#6558df;color:#fff;border-color:#6558df}.primary:hover{background:#5349bc}.soft-button:hover{background:#f2f1fc}.small-icon{border:0;background:transparent;padding:7px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#5b6071}.small-icon:hover{background:#eaeaf4}.device-switch{display:flex;background:#f3f3f7;border-radius:8px;padding:4px}.device-switch button{border:0;background:transparent;padding:6px 9px;color:#777b8c;border-radius:6px}.device-switch button.active{background:#fff;color:#5b4ccd;box-shadow:0 1px 4px #0001}.workspace{display:grid;grid-template-columns:255px minmax(0,1fr) 300px;flex:1;min-height:0}.left-pane,.right-pane{background:#fff;overflow-y:auto}.left-pane{border-right:1px solid #e3e4ed}.right-pane{border-left:1px solid #e3e4ed}.pane-tabs{display:flex;padding:12px;border-bottom:1px solid #e8e8ee;gap:4px}.pane-tabs button{flex:1;padding:11px;border:0;background:transparent;color:#818597;font-weight:700;border-radius:8px}.pane-tabs button.active{background:#f0eefd;color:#5549ca}.pane-title{font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:#888d9e;padding:22px 18px 12px}.section-list{padding:0 10px}.section-row{width:100%;display:flex;gap:9px;align-items:center;border:1px solid transparent;text-align:left;background:#fff;padding:12px 10px;border-radius:9px;color:#353c53}.section-row span{flex:1;font-weight:650;font-size:.85rem}.section-row small{font-size:.65rem;color:#999}.section-row:hover,.section-row.active{background:#f1f0ff;border-color:#ddd8ff;color:#5b4bca}.add-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 12px 25px}.add-grid button{display:flex;align-items:center;gap:5px;border:1px solid #e3e3ec;background:#fff;border-radius:9px;padding:11px 8px;font-size:.75rem;font-weight:650}.add-grid button:hover{border-color:#a69eff;background:#f8f7ff}.stage{min-width:0;overflow:auto;background:#e9eaf1;display:flex;flex-direction:column;align-items:center;padding:0 20px 45px}.stage-head{font-size:.75rem;color:#85899b;padding:14px;text-align:center}.viewport{width:100%;max-width:1150px;box-shadow:0 12px 55px #18203420;background:#fff;transition:width .2s;margin:auto 0 0}.viewport.tablet{width:min(100%,768px)}.viewport.mobile{width:min(100%,390px)}.editable-section{position:relative;cursor:pointer;border:2px solid transparent;outline:0}.editable-section:hover{border-color:#aaa0ff}.editable-section.selected{border-color:#6252e1}.section-label{position:absolute;top:0;left:0;z-index:1;background:#6252e1;color:#fff;font-size:.64rem;padding:5px 9px;display:none}.editable-section:hover .section-label,.editable-section.selected .section-label{display:block}.viewport.mobile .site-root .split,.viewport.tablet .site-root .split,.viewport.mobile .site-root .cards,.viewport.tablet .site-root .cards{grid-template-columns:1fr}.viewport.mobile .site-root .section{padding:42px 15px}.viewport.mobile .site-root h1{font-size:2.1rem}.inspector{padding:18px 20px 60px}.panel-heading{font-weight:800;display:flex;gap:9px;align-items:center;padding-bottom:19px;border-bottom:1px solid #eee;margin-bottom:17px}.inspector label,.auth-card label,.modal label,.theme-panel label{display:flex;flex-direction:column;gap:8px;font-size:.75rem;font-weight:750;text-transform:capitalize;color:#585d70;margin:14px 0}.inspector input,.inspector textarea,.inspector select,.auth-card input,.modal input{width:100%;border:1px solid #dddfe9;border-radius:8px;padding:10px 11px;outline:0;font-size:.85rem;color:#1c2440;background:#fff;resize:vertical}.inspector input:focus,.inspector textarea:focus{border-color:#6857ef;box-shadow:0 0 0 3px #e6e3ff}.inspector-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:23px}.inspector-actions .soft-button{font-size:.73rem;padding:8px}.inspector-actions .danger{color:#bf4242}.items-editor{border-top:1px solid #eee;padding-top:10px}.item-edit{padding:10px;border:1px solid #e9eaf0;border-radius:10px;margin-bottom:12px}.item-head{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;font-weight:750}.items-editor h4{font-size:.8rem}.theme-panel{padding:15px}.theme-panel label{display:grid;grid-template-columns:1fr 40px 78px;align-items:center}.theme-panel input{width:40px;height:32px;border:none;background:none}.theme-panel code{font-size:.68rem}.empty-inspector{padding:35px 24px;color:#898fa0;font-size:.86rem;line-height:1.6}.status-banner{background:#eae9ff;color:#4038a1;padding:10px 20px;font-size:.83rem;display:flex;justify-content:space-between}.status-banner button{border:0;background:none;font-size:1.2rem}.dashboard{min-height:100vh}.dashboard-content{max-width:1200px;margin:auto;padding:55px 25px}.dashboard-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-title h1{font-size:2.2rem;margin:0 0 8px;letter-spacing:-.05em}.dashboard-title p{color:#73798d}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:17px;margin-top:30px}.project-card{text-align:left;border:1px solid #e4e5ef;border-radius:14px;background:#fff;padding:25px}.project-card:hover{border-color:#8377fa;box-shadow:0 8px 25px #0000000d}.project-icon{padding:13px;display:inline-flex;background:#efecff;color:#6558df;border-radius:12px}.project-card h3{margin:19px 0 5px}.project-card p{color:#767c8c;font-size:.85rem}.project-card small{color:#979ba8}.empty-state{background:#fff;border:1px dashed #ccd0dc;padding:65px;text-align:center;margin:25px 0;color:#73798d}.welcome{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(140deg,#f5f3ff,#eff6ff)}.auth-card{background:#fff;padding:36px;border:1px solid #e5e4ed;border-radius:18px;box-shadow:0 22px 75px #26234a15;width:min(100%,470px)}.auth-card h1{font-size:2rem;line-height:1.15;margin:18px 0 8px;letter-spacing:-.05em}.auth-card p{font-size:.9rem;color:#7c8093;line-height:1.6}.auth-card .primary,.auth-card .soft-button{width:100%;margin-top:12px}.auth-card small{display:block;color:#979aaa;margin-top:17px;text-align:center}.auth-card .password-field{position:relative;display:block;width:100%}.auth-card .password-field input{padding-right:48px}.auth-card .password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:7px;background:transparent;color:#62677b;cursor:pointer}.auth-card .password-toggle:hover{background:#f2f1fc;color:#3b356e}.auth-card .password-toggle:focus-visible{outline:2px solid #6558df;outline-offset:1px}.auth-card .password-toggle:disabled{opacity:.5;cursor:not-allowed}.notice{background:#fff3df;padding:12px;border-radius:8px;color:#8c5519!important}.demo-preview{height:260px;overflow:hidden}.demo-preview .viewport{transform:scale(.38);transform-origin:top left;width:250%;pointer-events:none}.modal-shade{position:fixed;inset:0;background:#10162b8c;display:grid;place-items:center;z-index:50;padding:20px}.modal{background:#fff;padding:30px;border-radius:16px;width:min(100%,450px)}.modal h2{margin:0 0 18px}.modal p{font-size:.8rem;color:#8c90a1}.modal-buttons{display:flex;justify-content:end;gap:10px;margin-top:20px}@media(max-width:1030px){.workspace{grid-template-columns:195px minmax(0,1fr) 250px}.topbar{padding:0 10px}.project-name{display:none}}@media(max-width:750px){.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:210px minmax(300px,1fr) 250px;overflow-y:auto}.left-pane{border-right:0}.right-pane{border-left:0;border-top:1px solid #ddd}.stage{min-height:350px}.builder{height:auto;min-height:100vh;overflow:visible}.device-switch{display:none}.top-actions{gap:5px}.top-actions .soft-button{padding:8px}.logo{font-size:1rem}.add-grid{grid-template-columns:repeat(3,1fr)}}.editable-section [contenteditable=true]{cursor:text;outline:0}.editable-section [contenteditable=true]:focus{outline:2px dashed #7868ed;outline-offset:5px;border-radius:3px}.page-controls{display:flex;gap:4px;padding:0 8px}.page-controls select{width:100%;min-width:0}.page-controls button{font-size:.7rem;cursor:pointer}.section-row[draggable=true]{cursor:grab}.history-strip{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 20px;background:#f4f0ff;font-size:.75rem}.history-strip button{padding:5px 9px;border-radius:7px;border:1px solid #c5beed;background:#fff;cursor:pointer}.mobile-pane-picker{display:none}@media(max-width:750px){.mobile-pane-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:9px 12px;background:#fff;border-bottom:1px solid #e4e6ee;position:sticky;top:0;z-index:9}.mobile-pane-picker button{border:1px solid #dcddeb;background:#fff;color:#343853;border-radius:9px;min-height:44px;padding:8px 4px;font-weight:650;font-size:12px}.mobile-pane-picker button[aria-pressed=true]{border-color:#6659db;color:#5143ba;background:#eeecff}.workspace{display:block;min-height:0;overflow:visible}.workspace .left-pane,.workspace .right-pane,.workspace .stage{display:none;min-height:60dvh;overflow:visible}.workspace.mobile-pane-sections .left-pane,.workspace.mobile-pane-inspector .right-pane,.workspace.mobile-pane-canvas .stage{display:block}.workspace.mobile-pane-canvas .stage{display:flex;overflow-x:auto;padding:0 10px 30px}.workspace .inspector{padding:16px 16px 80px}.topbar{height:auto;min-height:66px;flex-wrap:wrap;gap:6px;padding:10px 12px}.top-actions{flex-wrap:wrap;justify-content:flex-end;width:100%;gap:6px}.top-actions .soft-button,.top-actions .primary,.topbar .small-icon{min-height:44px;min-width:44px}.inspector input:not([type=color]),.inspector select,.inspector textarea,.auth-card input,.modal input{font-size:16px;min-height:44px}.section-row,.add-grid button,.page-controls button{min-height:44px}.dashboard-content{padding:30px 16px 80px}.dashboard-title{align-items:stretch;flex-direction:column}.modal-shade{padding:12px;overflow-y:auto}.modal{max-height:calc(100dvh - 24px);overflow-y:auto}}
