:root{color-scheme:light;--ink:#17233b;--muted:#718096;--stroke:#e8ecf2;--nav:#11192a;--accent:#f27653;--back:#f6f8fc;--panel:#fff;--blue:#3047a4}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:14px}body{margin:0;color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.app-shell{display:flex;min-height:100vh;align-items:stretch;background:#f6f8fc}.sidebar{width:247px;background:var(--nav);color:white;display:flex;flex-direction:column;flex-shrink:0;padding:26px 15px 20px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;gap:11px;align-items:center;margin-bottom:40px;padding:0 7px}.brand strong{font-size:25px;letter-spacing:-1.2px;line-height:1}.brand strong span{color:var(--accent)}.brand small{display:block;font-size:11px;color:#95a2b9;margin-top:5px}.logo-sign{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#fd9167,#fa6f4e);color:#fff;font-size:24px;flex:none;box-shadow:0 10px 18px #ef7b5742}.side-label{font-size:10px;color:#8290a9;font-weight:800;letter-spacing:1.6px;padding:0 12px;margin:0 0 13px}.side-label.middle{margin-top:37px}.nav-link{width:100%;display:flex;align-items:center;gap:10px;border:0;background:none;color:#aebdd1;text-align:left;padding:13px 12px;border-radius:10px;font-weight:600}.nav-link.active{color:#fff;background:#243048}.nav-link>span:nth-child(2){flex:1}.nav-count{background:#36435e;color:#fff;border-radius:30px;padding:3px 7px;font-size:11px}.project-list{display:grid;gap:3px}.project-link{border:0;background:transparent;color:#b5c1d2;display:flex;gap:9px;align-items:center;text-align:left;padding:12px;border-radius:9px}.project-link span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.project-link.current{background:#27334b;color:white}.project-link i{font-style:normal;font-size:11px;color:#77d8b1}.new-page{border:1px dashed #58647a;background:none;color:#d2d9e7;text-align:left;margin:14px 6px 0;padding:12px;border-radius:8px}.new-page:hover{background:#25324a}.aside-tip{margin-top:auto;background:linear-gradient(150deg,#2e3d5b,#1b2741);border:1px solid #43516b;border-radius:14px;padding:18px 16px}.eyebrow{letter-spacing:1.5px;font-size:10px;font-weight:800;color:#e37b5e}.aside-tip h3{font-size:18px;letter-spacing:-.6px;line-height:1.35;color:#fff;margin:12px 0}.aside-tip p{color:#b9c8dc;font-size:12px;line-height:1.65;margin:0}.logout{border:0;color:#b9c8dc;background:none;text-align:left;padding:18px 12px 6px}.app-main{min-width:0;flex:1}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--stroke);padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:20px}.crumb{color:#8490a1}.crumb span{margin:0 8px;color:#bec5d1}.crumb b{color:#2b3750}.topbar-actions{display:flex;align-items:center;gap:9px}.save-indicator{font-size:11px;color:#549f7b;margin-right:6px;white-space:nowrap}.btn{border:1px solid #dfe5ed;background:#fff;color:#354159;border-radius:9px;padding:11px 13px;font-weight:700;white-space:nowrap;font-size:12px}.btn:hover,.device:hover{filter:brightness(.97)}.btn.main{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 6px 15px #f276532b}.btn.quiet{background:#fff}.btn.danger{border-color:#ffd5d6;color:#cb4555;background:#fff6f6}.columns{display:grid;grid-template-columns:minmax(420px,510px) minmax(410px,1fr);gap:28px;padding:28px;align-items:start}.control-col{min-width:0}.editor-head{padding:13px 4px 20px}.editor-head h1{font-size:36px;line-height:1.11;letter-spacing:-1.7px;margin:13px 0}.editor-head h1 em{color:var(--accent);font-style:normal}.editor-head p{max-width:410px;color:#7a889d;line-height:1.65;margin:0;font-size:13px}.page-strip{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--stroke);padding:14px;border-radius:13px;box-shadow:0 3px 15px #17233b06}.square{width:40px;height:40px;background:#fff0ea;color:#db704e;display:grid;place-items:center;font-size:22px;border-radius:9px}.page-strip>div:nth-child(2){flex:1;min-width:0}.page-strip small,.page-strip b,.page-strip span{display:block}.page-strip small{font-size:9px;color:#a0abba;font-weight:800;letter-spacing:1.2px}.page-strip b{margin:4px 0;font-size:13px}.page-strip div span{color:#7d89a0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.status-badge{font-size:10px!important;font-weight:800;border-radius:25px;padding:7px 8px;background:#fff2e9;color:#d76c4d}.status-badge.is-published{background:#e4f8ef;color:#268353}.module-intro{display:flex;align-items:center;justify-content:space-between;margin-top:33px;gap:12px}.module-intro h2{margin:7px 0 0;font-size:19px;letter-spacing:-.6px}.module-intro h2 small{font-size:11px;font-weight:500;color:#8995a6;margin-left:3px}.master-switch{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#5c6980}.master-switch input,.small-switch input{position:absolute;opacity:0;pointer-events:none}.switch{height:22px;width:41px;background:#cad2df;display:inline-block;border-radius:30px;position:relative;vertical-align:middle;transition:.2s}.switch:before{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 3px #4c597544;transition:.2s}input:checked+.switch{background:#40b38d}input:checked+.switch:before{left:22px}.help-line{color:#8692a5;font-size:12px;line-height:1.5;margin:11px 0 14px}.step-list{border:1px solid var(--stroke);border-radius:12px;overflow:hidden;background:#fff}.step-row{display:flex;align-items:center;gap:10px;padding:7px 12px;border-bottom:1px solid #edf0f5;min-height:59px}.step-row:last-child{border-bottom:0}.step-row.chosen{background:#fff7f3;border-left:3px solid var(--accent);padding-left:9px}.drag-handle{font-weight:800;font-size:12px;color:#a0adbd;width:27px;text-align:center;user-select:none}.step-row[draggable=true] .drag-handle{cursor:grab;font-size:19px}.step-name{flex:1;border:0;background:none;text-align:left;min-width:0;padding:5px 0}.step-name strong{display:block;color:#243146;font-size:12px}.step-name small{color:#8b97a8;font-size:10px;display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.small-switch{cursor:pointer}.small-switch .switch{width:35px;height:19px}.small-switch .switch:before{height:13px;width:13px}.small-switch input:checked+.switch:before{left:19px}.chevron{border:0;background:none;color:#8997ab;font-size:23px;line-height:1}.editor-card{margin-top:17px;border:1px solid var(--stroke);border-radius:13px;background:white;padding:20px;box-shadow:0 5px 18px #101c3210}.panel-title h3{font-size:20px;letter-spacing:-.5px;margin:7px 0 5px}.panel-title p{font-size:12px;color:#8290a3;margin:0 0 20px;line-height:1.55}.panel-title-line{display:flex;justify-content:space-between;align-items:center}.pill{background:#e9f8f1;color:#2f936d;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:800}.panel-title.minor{margin-top:23px;padding-top:18px;border-top:1px solid var(--stroke)}.panel-title.minor h3{font-size:17px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field>span,.field>label{font-size:11px;color:#4e5c73;font-weight:800}.field input:not([type=color]):not([type=range]),.field textarea,.field select,.upload-row input{width:100%;background:#fbfcfe;border:1px solid #e1e6ee;border-radius:9px;padding:10px 11px;min-height:40px;color:#2e3b50;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#f27653;box-shadow:0 0 0 3px #fa80601a}.field textarea{resize:vertical;line-height:1.5}.field input[type=range]{accent-color:var(--accent);width:100%}.field input[type=color]{height:38px;width:75px;background:#fff;border:1px solid #dce3ec;border-radius:7px;padding:2px}.color-field{margin-bottom:0}.edit-pair{display:flex;gap:18px;margin-bottom:17px}.edit-pair .field{flex:1}.upload-row{display:flex;gap:7px}.upload-row .btn{flex-shrink:0}.media-current,.field-note{color:#8c98a9;line-height:1.5;font-size:11px}.info-box{background:#f4f7fe;border:1px solid #e4eaf6;padding:12px;border-radius:9px;color:#57667e;font-size:11px;line-height:1.65;margin:4px 0 17px;overflow-wrap:anywhere}.info-box p{margin:5px 0 0}.info-box code{color:#243f85}.check-line{display:flex;gap:9px;align-items:center;font-size:12px;margin-bottom:16px;font-weight:650}.check-line input{accent-color:var(--accent)}.logo-preview{margin:-2px 0 15px;display:flex;justify-content:center;border:1px dashed #dfe7ee;padding:10px;border-radius:9px;background:#f9fbfd}.logo-preview img{height:80px;max-width:90%;object-fit:contain}.advanced-box{background:#fcfdff;border:1px solid #dce6f6;padding:14px;border-radius:12px;margin:20px 0}.advanced-box .panel-title.minor{padding:0;margin:0;border:0}.block-palette{margin:18px 0}.block-palette>span{font-size:10px;color:#7a8798;font-weight:800;letter-spacing:.5px}.block-palette>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.block-palette button{background:white;border:1px solid #dfe5f1;border-radius:7px;padding:8px;font-size:11px;color:#3e4d67;cursor:grab}.block-editor{background:white;border:1px solid #e2e7ef;border-radius:10px;margin-bottom:11px;padding:13px}.block-top{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#25324c;font-weight:800;font-size:12px;margin-bottom:13px;cursor:grab}.small-delete,.faq-top button{border:0;background:none;color:#d35461;font-weight:700;font-size:11px}.dropzone{border:1px dashed #c2ccdc;background:#f7faff;color:#9aa8bd;border-radius:9px;padding:20px 10px;text-align:center;font-size:11px}.prompt-card{margin-top:21px;background:linear-gradient(145deg,#fff5ef,#fff9f6);border:1px solid #ffe1d1;border-radius:11px;padding:19px}.prompt-card h4{margin:8px 0;font-size:15px}.prompt-card p{font-size:12px;color:#7d8193;line-height:1.6}.prompt-buttons{display:flex;gap:8px;flex-wrap:wrap}.prompt-card .btn{font-size:11px}.faq-editor h4{font-size:15px;margin:20px 0 5px}.faq-item{background:#f9fbfe;border:1px solid #e5e9f0;padding:12px;margin:12px 0;border-radius:9px}.faq-top{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.editor-footer{display:flex;justify-content:space-between;gap:8px;margin-top:25px}.preview-col{position:sticky;top:20px;min-width:0}.preview-top{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 0 16px}.preview-top h2{font-size:18px;letter-spacing:-.5px;margin:6px 0 0}.live-dot{display:inline-block;width:7px;height:7px;background:#31c58f;border-radius:50%;box-shadow:0 0 0 5px #31c58f22}.preview-buttons{display:flex;align-items:center;gap:7px}.device{height:37px;width:35px;border:1px solid #e1e7ee;border-radius:8px;background:#fff;color:#8491a5;font-size:23px;line-height:1}.device.active{color:#ea7b5a;background:#fff2eb;border-color:#ffc7b4}.browser-shell{border-radius:12px;background:white;padding:8px;border:1px solid #e2e7f1;box-shadow:0 15px 45px #1a30500c;max-height:calc(100vh - 175px);min-height:500px;display:flex;flex-direction:column;transition:.2s}.browser-shell.mobile{max-width:390px;margin:auto}.browser-bar{height:37px;flex:none;border-radius:7px 7px 0 0;background:#f8fafc;border:1px solid #e8ecf2;display:flex;gap:11px;align-items:center;padding:0 12px;color:#95a1b1}.traffic{font-size:13px;letter-spacing:1px;color:#fdad94}.address{background:white;border:1px solid #e6eaf0;border-radius:5px;flex:1;text-align:center;padding:6px;color:#9aa5b7;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}iframe{border:1px solid #e8ecf2;border-top:0;background:#fff;flex:1;width:100%;height:600px;border-radius:0 0 8px 8px}.preview-foot{display:flex;justify-content:space-between;color:#a0aaba;font-size:10px;padding:12px 2px}.preview-foot span:first-child{color:#3d9e7b}.toast{position:fixed;bottom:22px;right:22px;z-index:999;background:#1e3049;color:white;max-width:min(480px,calc(100vw - 40px));border-radius:11px;box-shadow:0 16px 40px #111a3455;padding:13px 16px;font-size:12px;opacity:0;transform:translateY(20px);transition:.25s;pointer-events:none}.toast.shown{opacity:1;transform:translateY(0)}.toast.bad{background:#9c293d}.auth-body{min-height:100vh;background:radial-gradient(ellipse at 20% 10%,#2c3e59,transparent 55%),#121b2d;display:grid;place-items:center;padding:20px}.auth-card{background:white;width:min(450px,100%);border-radius:20px;padding:34px 35px;box-shadow:0 30px 80px #060e1f77}.auth-card .logo-sign{margin-bottom:22px}.auth-card h1{font-size:32px;letter-spacing:-1.3px;margin:13px 0 10px}.auth-card>p{line-height:1.7;color:#78869a;font-size:13px;margin:0 0 25px}.auth-card form label{display:grid;gap:9px;margin:15px 0;font-size:12px;color:#5d6b7c;font-weight:750}.auth-card form input{padding:12px;border:1px solid #dfe5ed;border-radius:8px;width:100%}.auth-card form .btn{width:100%;margin-top:8px;padding:13px}.form-alert{font-size:12px;color:#c24149;line-height:1.5}
@media(max-width:1180px){.columns{grid-template-columns:1fr;gap:18px}.preview-col{position:static}.browser-shell{max-height:720px}.sidebar{width:218px}.topbar{padding:0 20px}}@media(max-width:720px){.app-shell{display:block}.sidebar{width:100%;height:auto;position:static;display:block;padding:15px}.brand{margin-bottom:15px}.sidebar .side-label,.sidebar .nav-link,.aside-tip,.logout{display:none}.project-list{display:flex;gap:5px;overflow:auto}.project-link{white-space:nowrap;max-width:160px;flex:none}.new-page{margin:5px 0;padding:9px;white-space:nowrap}.topbar{height:auto;padding:11px 14px;flex-wrap:wrap}.topbar-actions{width:100%;gap:5px;flex-wrap:wrap}.topbar .btn{padding:9px}.save-indicator{margin-right:auto}.columns{padding:12px}.editor-head{padding-top:8px}.editor-head h1{font-size:30px}.preview-top{flex-wrap:wrap}.browser-shell{height:650px;min-height:0}.preview-foot{flex-wrap:wrap;gap:7px}.editor-card{padding:14px}.btn{font-size:11px}.module-intro h2{font-size:17px}}
.block-visible{font-size:10px;color:#58677d;margin-left:auto;display:flex;gap:4px;align-items:center;cursor:pointer}.block-visible input{accent-color:#39ad82}.block-top .small-delete{flex:none}
