:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#202b40;background:#f5f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid #d6dce6;border-radius:8px;padding:10px 15px;background:#fff;color:#25324c;font-size:13px;font-weight:600}button:hover{background:#eef1ff;border-color:#7185ee}button:disabled{opacity:.5;cursor:wait}a{color:#4560d4;text-decoration:none}a:hover{text-decoration:underline}.primary{background:#4f6dff;border-color:#4f6dff;color:white}.primary:hover{background:#3b55dc;color:#fff}.topbar{height:78px;background:#fff;border-bottom:1px solid #e0e4ec;display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:4px;color:#172139;font-size:24px;font-weight:800}.brand span{color:#4f6dff}.brand strong{font-size:20px;margin-left:12px;letter-spacing:-.7px}.brand small{font-size:9px;letter-spacing:1.4px;font-weight:600;color:#73809a;margin:4px 0 0 15px}.top-actions{display:flex;align-items:center;gap:12px}.top-actions a{font-size:13px;margin-right:12px}.shell{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 78px)}.sidebar{padding:34px 20px;background:#fafbfc;border-right:1px solid #e0e4ec}.sidebar-title{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.3px;font-weight:700;color:#606f88}.muted{font-size:12px;line-height:1.65;color:#69768e}.new-button{width:100%;margin:15px 0 22px;background:#eef1ff;border-color:#dee4ff;color:#415bd4}#page-list{display:grid;gap:8px}#page-list button{text-align:left;padding:16px 12px;border:1px solid transparent;background:transparent;font-size:12px;line-height:1.5}#page-list button[aria-current=true]{background:#fff;border-color:#d8def0;box-shadow:0 3px 8px #13234407}#page-list small{display:block;color:#7b869c;font-size:10px;margin-top:6px;font-weight:400}.sidebar-note{margin-top:44px;padding-top:24px;border-top:1px solid #dfe4ed;font-size:11px}.sidebar-note p{color:#78849a;line-height:1.7}.dot{display:inline-block;width:6px;height:6px;background:#26ac79;border-radius:50%;margin-right:5px}main{padding:38px clamp(20px,3.8vw,64px);min-width:0}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#6176c9}h1{font-size:30px;letter-spacing:-1px;margin:10px 0}h2{font-size:18px;letter-spacing:-.4px;margin:0 0 16px}h3{font-weight:500}.tabs{display:flex;gap:28px;border-bottom:1px solid #dbe0e9;margin-bottom:28px}.tabs button{padding:16px 0;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;color:#738097}.tabs button[aria-selected=true]{border-color:#4f6dff;color:#3f5be0}.editor-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:24px;align-items:start}.fields{min-width:0}.form-section{background:white;border:1px solid #dfe4ed;border-radius:12px;padding:26px;margin-bottom:20px}.form-section>p{margin-top:-6px;margin-bottom:22px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin:18px 0 0}label small{font-size:10px;font-weight:400;color:#6c7891;line-height:1.5}input,select,textarea{width:100%;border:1px solid #d6ddea;border-radius:7px;background:#fcfdff;padding:11px 12px;color:#26324a;font-size:13px;line-height:1.6;min-width:0}textarea{resize:vertical}input:read-only{background:#f3f5f9;color:#6a7790}input:focus,textarea:focus,select:focus{outline:2px solid #cad3ff;border-color:#5f7bff}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.repeat-item{border-top:1px solid #e7ebf2;margin:20px 0;padding-top:15px}.repeat-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8290a6}.repeat-heading button{padding:4px 9px;font-size:10px}.search-settings{position:sticky;top:100px}.search-settings h2{margin-top:12px}.search-preview{background:#f8f9fc;border:1px solid #e2e6ef;border-radius:8px;margin:24px 0 16px;padding:16px;overflow-wrap:anywhere}.search-preview small{color:#5b6b85;font-size:10px}.search-preview h3{font-size:17px;color:#304dac;margin:9px 0;line-height:1.4}.search-preview p{font-size:11px;line-height:1.6;color:#62718a;margin:0}.checklist{padding-left:17px;line-height:2;font-size:11px;color:#60718e}.save-bar{position:sticky;bottom:0;padding:18px 22px;border:1px solid #dce2ec;box-shadow:0 -8px 30px #21334a08;background:#fff;display:flex;justify-content:space-between;align-items:center;border-radius:10px;font-size:12px;color:#687b95}.save-bar button{padding:12px 22px}#status{font-size:12px;color:#347950;min-height:24px}#status.error{color:#b83939}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:18px}.preview-toolbar>div{display:flex;gap:8px;align-items:center}.preview-toolbar a{margin-left:10px}.preview-stage{background:#e7eaf1;padding:16px;border-radius:12px}iframe{width:100%;height:760px;border:0;display:block;background:#090c14;border-radius:8px;margin:auto;transition:width .2s}iframe.mobile{width:min(390px,100%)}.build-output{margin-top:25px;border-top:1px solid #d9e0ea;padding-top:20px;font-size:12px;color:#65758c}summary{cursor:pointer}pre{white-space:pre-wrap;max-height:300px;overflow:auto;padding:18px;background:#111827;color:#d3dded;border-radius:9px;font-size:11px}dialog{width:min(520px,90vw);border:1px solid #ccd4e8;border-radius:16px;padding:32px;color:#25334b}dialog::backdrop{background:#071020aa;backdrop-filter:blur(5px)}dialog h2{font-size:25px;margin:14px 0}dialog p{font-size:14px;line-height:1.8;color:#62708a}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}:focus-visible{outline:3px solid #a8b8ff;outline-offset:3px}[hidden]{display:none!important}@media(max-width:1100px){.editor-columns{grid-template-columns:1fr}.search-settings{position:static}.brand small{display:none}.shell{grid-template-columns:210px 1fr}.topbar{padding:0 20px}}@media(max-width:720px){.shell{display:block}.sidebar{padding:20px}.sidebar-note{display:none}#page-list{grid-template-columns:repeat(2,1fr)}.topbar{height:auto;min-height:76px;padding:15px;gap:10px;flex-wrap:wrap}.top-actions{gap:6px}.top-actions a{display:none}.top-actions button{font-size:11px}main{padding:25px 16px}.workspace-heading{align-items:flex-start}h1{font-size:23px}.two{grid-template-columns:1fr;gap:0}.form-section{padding:20px}.preview-toolbar{gap:15px;flex-wrap:wrap}.brand strong{font-size:18px}}

#enrollment-qr{display:block;max-width:100%;height:auto;margin:18px auto;background:#fff;border-radius:8px}#enrollment-secret{display:block;overflow-wrap:anywhere;font-size:14px;padding:15px;background:#f5f7ff}#enrollment-form button,#recovery-continue{width:100%;margin:12px 0}#enrollment-cancel{margin-top:12px}.check-label{flex-direction:row;align-items:center;line-height:1.5}.check-label input{width:auto}#recovery-codes{font-size:14px;line-height:1.8;max-height:none}
