:root{--brand: #146e65;--ink: #193731;--muted: #71827c;--line: #dfe7e1;--paper: #f5f7f3;--warm: #e9eddd;--radius: 16px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button{border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;font-weight:550;transition:background .15s,transform .15s}button:hover{background:#edf3ec}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover{filter:brightness(.94)}button.soft{background:#e6eddf;border-color:transparent}button.danger{color:#b23934}button.icon{padding:8px;min-width:38px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d5a847;outline-offset:3px}input,select,textarea{background:#fff;border:1px solid #cdd9d0;padding:12px;border-radius:8px;color:var(--ink);max-width:100%;width:100%}textarea{resize:vertical;min-height:110px;line-height:1.6}label{display:block;font-size:13px;font-weight:550;margin:16px 0 7px}label input,label select,label textarea{margin-top:8px}input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-inline-end:8px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.8px;font-size:42px;font-weight:550;line-height:1.15}h2{font-size:25px;letter-spacing:-.6px;font-weight:550}h3{font-size:17px;font-weight:600}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:var(--muted)}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.stack{display:grid;gap:14px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:20px;font-weight:650;letter-spacing:-.6px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--brand);color:#fff;font-size:24px;font-weight:300}.brand img{max-width:150px;max-height:36px}.topbar{height:84px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;gap:25px}.topbar .links{display:flex;align-items:center;gap:22px}.topbar .links a{text-decoration:none;font-size:14px}.avatar{background:#e8edda;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:650}.workspace{max-width:1390px;padding:52px 5vw 80px;margin:auto}.welcome{margin-bottom:34px}.welcome h1{margin:12px 0 8px}.welcome p{color:var(--muted)}.stats{display:flex;gap:35px;margin:18px 0 30px}.stat{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:24px;line-height:1.5;color:var(--ink);font-weight:500}.toolbar{display:flex;align-items:center;gap:14px;margin:30px 0 22px}.toolbar input{max-width:300px;background:transparent}.toolbar .search{margin-inline-start:auto}.site-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:25px}.site-card{border-radius:18px;background:#fff;border:1px solid var(--line);overflow:hidden;box-shadow:0 4px 15px #173d3504}.site-preview{height:205px;background:#e9eddd;padding:18px;overflow:hidden;position:relative}.site-preview img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:8px;box-shadow:0 8px 20px #1d39231a}.preview-blank{height:100%;border-radius:10px;background:#fff;padding:26px;color:var(--ink);font-family:Georgia,serif}.preview-blank strong{display:block;font-size:30px;line-height:1.1;margin:12px 0}.preview-blank hr{border:0;background:#e4eadf;height:5px;width:65%;margin-inline-start:0}.site-info{padding:22px}.site-info h3{margin:0 0 8px}.site-meta{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-bottom:20px}.site-meta span{font-size:12px;color:var(--muted)}.site-actions{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;gap:10px}.badge{font-size:10px;border-radius:30px;background:#edf1ea;color:#5e7268;padding:5px 9px;white-space:nowrap}.badge.live,.badge.active{background:#e0f1e7;color:#237746}.badge.failed,.badge.dead{background:#fbe7e5;color:#ad473f}.create-card{border:1px dashed #a4b6a8;border-radius:18px;background:linear-gradient(135deg,#edf0df,#f9faf6);min-height:345px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px}.create-card .plus{font-size:32px;width:62px;height:62px;border-radius:50%;background:#dfe7c8;margin-bottom:22px;display:grid;place-items:center}.create-card h3{margin-bottom:8px}.create-card p{font-size:13px;max-width:220px;color:var(--muted)}.footnote{padding-top:40px;text-align:center;font-size:12px;color:var(--muted)}.empty{padding:30px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-art{background:#e6ebd8;padding:48px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-art h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(44px,5vw,76px);letter-spacing:-3px;max-width:520px;margin-top:65px}.arch{width:280px;height:350px;background:var(--brand);border-radius:140px 140px 35px 35px;margin:20px auto 0;box-shadow:50px 40px #d1dabc;display:grid;place-items:center;transform:rotate(-7deg)}.arch span{color:#e9eddd;font-family:Georgia,serif;font-size:190px;line-height:1}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-main .inner{width:100%;max-width:390px}.auth-main h2{font-size:33px}.auth-main form>button{width:100%;margin-top:20px}.auth-links{font-size:13px;margin-top:24px;display:flex;justify-content:space-between}.notice{padding:14px 18px;border:1px solid #e3d49e;background:#fff9df;border-radius:10px;font-size:13px;margin-bottom:20px}.error{color:#ae3a36;background:#fff0ee;border-radius:8px;padding:12px;font-size:13px;display:none}.error:not(:empty){display:block}dialog{border:1px solid #dbe4dc;border-radius:20px;box-shadow:0 30px 140px #0e2b3140;padding:28px;max-width:min(920px,94vw);max-height:90vh;width:650px;color:var(--ink)}dialog::backdrop{background:#16382c60;backdrop-filter:blur(4px)}dialog .modal-head{position:sticky;top:-28px;background:#fff;padding:12px 0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px}dialog h2{margin:0}dialog .modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.template-choice{border:2px solid var(--line);padding:0;display:block;text-align:start;overflow:hidden;border-radius:12px;background:#fff}.template-choice.selected{border-color:var(--brand);box-shadow:0 0 0 2px #146e6522}.template-choice img{width:100%;display:block}.template-choice span{padding:12px;display:block;font-size:12px}.template-choice .eyebrow{padding:0}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th,.data-table td{padding:12px;text-align:start;border-bottom:1px solid var(--line);vertical-align:middle}.data-table th{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.table-wrap{overflow:auto}.data-table button{padding:6px 9px;min-height:30px;font-size:11px}.tabbar{display:flex;gap:8px;overflow:auto;padding:14px 0}.tabbar button{white-space:nowrap}.tabbar button.active{background:var(--brand);color:#fff}.code{font:12px ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f1;padding:16px;border-radius:10px}.editor-shell{height:100dvh;display:grid;grid-template-rows:66px 1fr;background:#edf1eb;overflow:hidden}.editor-header{background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 17px;gap:12px;z-index:10}.editor-header select{width:170px;font-size:13px;padding:8px}.editor-header .brand{font-size:14px;max-width:180px;overflow:hidden}.editor-header .brand-mark{width:30px;height:30px;font-size:20px}.save-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;white-space:nowrap}.save-status:before{content:"";height:6px;width:6px;border-radius:50%;background:#72a784}.save-status.dirty:before{background:#c99543}.save-status.failed:before{background:#b93c33}.editor-main{display:flex;min-height:0;min-width:0}.editor-rail{width:72px;flex-shrink:0;background:#fff;border-inline-end:1px solid var(--line);padding:16px 6px;display:flex;flex-direction:column;gap:9px}.rail-button{border:0;flex-direction:column;font-size:9px;gap:7px;padding:12px 3px;min-height:64px;background:transparent;color:#6e8078}.rail-button svg{width:21px;height:21px;stroke-width:1.6}.rail-button.active{background:#e7eee0;color:var(--brand)}.rail-button.ai{margin-top:auto;background:#203e34;color:#f6f8ec}.editor-panel{width:292px;flex-shrink:0;background:#fff;border-inline-end:1px solid var(--line);overflow:auto;z-index:3}.panel-header{padding:23px 20px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.panel-header h3{font-size:18px;margin:0 0 7px}.panel-header p{font-size:11px;margin:0;color:var(--muted);line-height:1.5}.panel-content{padding:18px}.panel-content button,.panel-content label{font-size:12px}.panel-content input,.panel-content select,.panel-content textarea{font-size:12px;padding:9px}.panel-content .stack button{justify-content:flex-start}.page-item{border:1px solid var(--line);border-radius:9px;padding:12px;display:flex;gap:8px;align-items:center;margin-bottom:9px;cursor:pointer}.page-item.active{border-color:#8bb2a0;background:#edf4e9}.page-item strong{font-size:12px;display:block;flex:1}.page-item small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.editor-canvas-wrap{flex:1;min-width:0;padding:28px 30px 20px;display:flex;flex-direction:column;overflow:hidden;gap:12px}.canvas-label{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#7f8e84;display:flex;justify-content:space-between;padding:0 2px}.canvas-stage{flex:1;min-height:0;box-shadow:0 4px 28px #20392d0b;background:#fff;border-radius:12px;overflow:hidden}.canvas-footer{text-align:center;font-size:10px;color:#849087}.editor-inspector{width:245px;background:#fff;border-inline-start:1px solid var(--line);overflow:auto;padding:18px}.editor-inspector .selection-title{font-size:12px;font-weight:650;padding-bottom:14px;border-bottom:1px solid var(--line)}.editor-inspector label{font-size:11px}.editor-inspector input,.editor-inspector select{font-size:11px;padding:8px}.device-group{display:flex;border:1px solid var(--line);border-radius:8px;padding:3px;background:#f6f8f3}.device-group button{min-height:30px;border:0;padding:5px 8px;background:transparent}.device-group button.active{background:#fff;box-shadow:0 1px 5px #0001}.device-group svg{width:16px;height:16px}.gjs-one-bg{background:#fff!important}.gjs-two-color{color:#385449!important}.gjs-three-bg{background:var(--brand)!important;color:#fff!important}.gjs-four-color,.gjs-four-color-h:hover{color:var(--brand)!important}.gjs-blocks-c{display:grid!important;grid-template-columns:repeat(2,1fr);gap:9px}.gjs-block{width:auto!important;min-width:0!important;margin:0!important;min-height:75px!important;padding:12px 8px!important;box-shadow:none!important;border:1px solid var(--line)!important;border-radius:9px!important;font:11px inherit!important;color:var(--ink)!important;background:#fafbf8!important}.gjs-block__media{font-size:22px!important}.gjs-block-label{font:11px Arial,sans-serif!important}.gjs-title{background:#f4f7f0!important;border:0!important;color:var(--ink)!important;font:12px Arial,sans-serif!important}.gjs-sm-sector-title{font-size:12px!important;background:#f5f8f1!important}.gjs-sm-property{font-size:11px!important}.gjs-field{background:#f5f7f3!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:6px!important}.gjs-field input,.gjs-field select{color:var(--ink)!important}.gjs-cv-canvas{width:100%!important;height:100%!important;top:0!important;background:#edf1eb!important}.gjs-editor{font-family:inherit!important}.gjs-selected{outline:2px solid var(--brand)!important}.gjs-toolbar{background:var(--brand)!important;border-radius:5px!important}.gjs-badge{background:var(--brand)!important;font-size:10px!important}.gjs-sm-sector{border:0!important}.gjs-sm-properties{padding:12px 0!important}.gjs-sm-label{color:#5e7468!important}.sections-list{display:grid;gap:8px}.section-preset{justify-content:flex-start;width:100%;font-size:11px!important}.media-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.media-grid button{padding:3px;display:block}.media-grid img{width:100%;height:85px;object-fit:cover;border-radius:5px}.media-grid span{display:block;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.inspector-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0}.inspector-actions button{padding:7px;min-width:0}.inspector-actions svg{width:15px;height:15px}.toggle-row{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:12px}.toggle-row input{width:18px}.loading{height:90vh;display:grid;place-items:center}.spinner{width:24px;height:24px;border-radius:50%;border:2px solid #d8e5da;border-top-color:var(--brand);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:26px;inset-inline-start:50%;transform:translate(-50%);z-index:1000;background:#183c31;color:#fff;border-radius:12px;padding:14px 24px;box-shadow:0 8px 30px #0002;font-size:13px;max-width:90vw;display:none}#toast.show{display:block}#toast.error-toast{background:#a6453f}.progress{height:7px;background:#edf1e7;border-radius:8px;overflow:hidden;margin:16px 0}.progress div{height:100%;background:var(--brand);transition:width .3s}.admin-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px}.flow-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.align-end{text-align:end}details>summary{cursor:pointer;padding:15px 0;font-size:13px}svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}hr{border:0;border-top:1px solid var(--line);margin:20px 0}[hidden]{display:none!important}@media(max-width:1250px){.editor-inspector{width:205px}.editor-panel{width:250px}.editor-canvas-wrap{padding:20px 16px}.editor-header .brand{display:none}.save-status{max-width:75px;overflow:hidden}}@media(max-width:1020px){.editor-inspector{position:absolute;inset-inline-end:0;top:66px;bottom:0;width:250px;box-shadow:-10px 0 35px #122b1720;display:none}.editor-inspector.open{display:block}.editor-header{gap:7px}.editor-header select{width:130px}.editor-header .device-group{display:none}.site-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}}@media(max-width:760px){.topbar{height:70px;padding:0 20px}.topbar .links>a{display:none}.workspace{padding:30px 20px}.welcome{align-items:flex-start;flex-direction:column}h1{font-size:32px}.stats{gap:28px}.auth-layout{grid-template-columns:1fr}.auth-art{display:none}.auth-main{min-height:100vh;padding:28px}.site-grid{grid-template-columns:1fr}.template-grid{grid-template-columns:repeat(2,1fr)}.editor-header{padding:0 8px}.editor-header select{max-width:110px}.editor-header .save-status,.editor-header .icon.hide-mobile{display:none}.editor-header button{padding:8px;font-size:11px}.editor-rail{width:57px}.rail-button{font-size:8px}.editor-panel{position:absolute;inset-inline-start:57px;top:66px;bottom:0;width:min(280px,calc(100vw - 80px));box-shadow:8px 0 35px #162f241a}.editor-panel.collapsed{display:none}.editor-canvas-wrap{padding:12px 8px}.editor-inspector{width:min(280px,80vw)}.canvas-label,.canvas-footer{display:none}.flow-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar .search{margin:0;flex:1}.topbar .brand{font-size:16px}dialog{padding:20px}.data-table{font-size:11px}.data-table td{padding:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
