main{max-width:1250px;padding-top:32px}.editor-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.editor-header h1{margin-bottom:8px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,430px);gap:32px;align-items:start}.editor-controls{min-width:0}.editor-controls section{margin:0 0 16px;display:grid;gap:16px}.editor-controls label{display:flex;flex-direction:column;gap:9px;font-size:13px}.editor-controls .check{flex-direction:row;align-items:center;margin:0}.editor-controls h3{margin:0}.editor-tabs{display:flex;gap:6px;position:sticky;top:0;z-index:2;background:#141518;padding:10px 0 16px}.editor-tabs button{flex:1;background:#23252b;color:#a8adb9;padding:12px 8px}.editor-tabs [aria-selected=true]{background:#ff986a;color:#251b16}.editor-preview{position:sticky;top:20px;width:100%;max-width:360px;justify-self:center}.editor-preview.wide{max-width:430px}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;color:#a8adb9}.preview-toolbar button{background:#23252b;color:#ddd;padding:8px 12px}.custom-preview{min-height:560px;border-radius:28px}.editor-controls .editor-publish{position:sticky;bottom:0;z-index:2;background:#1c1e24;box-shadow:0 -8px 24px #14151888}.editor-publish .actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.editor-link{display:inline-block;padding:12px 17px;border:1px solid #ff986a;border-radius:8px}input[type=file]{max-width:100%}.profile-editor output{color:#ffb08a}#error{overflow-wrap:anywhere}@media(max-width:800px){.editor-layout{grid-template-columns:1fr}.editor-preview{position:relative;top:auto;grid-row:1;max-width:360px}.custom-preview{min-height:350px}.preview-content{padding:28px 20px}.editor-header{align-items:flex-start;flex-wrap:wrap}.editor-tabs{top:0}.editor-controls .editor-publish{bottom:0}.editor-header h1{font-size:26px}nav{position:static}.editor-controls section{padding:18px}.editor-preview.wide{max-width:100%}}
.editor-controls .profile-row{display:grid;grid-template-columns:1fr;gap:12px;background:#17191e;border:1px solid #393b44;border-radius:12px;padding:14px}.editor-controls .profile-row input[type=url]{grid-row:auto;grid-column:auto}.block-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.block-toolbar select{flex:1;min-width:105px}.block-toolbar button{padding:9px 11px;background:#30333b;color:#eee}.block-toolbar .drag-handle{cursor:grab;touch-action:none}.editor-controls .block-schedule{max-width:none;padding-top:4px}.block-schedule label{margin-top:12px}.block-schedule summary{font-size:13px}.profile-dashboard{margin-bottom:24px}.profile-qr-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.profile-qr-links strong{font-size:14px}.profile-dashboard>details{max-width:none;margin-top:22px}.profile-stats-toolbar{display:flex;gap:12px;align-items:end;margin-top:20px}.profile-stat-row{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #35373e;font-size:14px}.profile-stat-row span{overflow-wrap:anywhere}.preview-divider{font-size:13px;opacity:.75;margin:14px 0 2px}.editor-controls .profile-row .block-title,.editor-controls .profile-row .block-url{width:100%}

.preview-scheduled{opacity:.4;border-style:dashed}

#version-history{max-width:none;margin:20px 0 28px}#profile-versions>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #35373e}#profile-versions p{font-size:13px}#profile-publish{background:#ff986a;color:#191919}#profile-save{background:#30333b;color:#eee}@media(max-width:600px){#profile-versions>div{align-items:flex-start;flex-direction:column}}

.extera-badge{display:inline-flex;vertical-align:middle;margin-left:7px;line-height:1}.extera-badge img,img.extera-badge{width:26px;height:26px;object-fit:contain;vertical-align:middle}.extera-setting{margin-top:24px}

#share-preview-image{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #3b3e48;margin:12px 0 24px}[data-pane="share"]>label{margin-top:18px}[data-pane="share"]>button{margin:12px 0}.editor-tabs{flex-wrap:wrap}

.rich-fields{display:grid;gap:14px}.block-photo-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:8px}.preview-rich-card{overflow:hidden;border:1px solid var(--accent);border-radius:var(--radius);background:var(--button);text-align:left}.preview-rich-card>img{display:block;width:100%;max-height:240px;object-fit:cover}.preview-rich-card>strong,.preview-rich-card>p{display:block;margin:14px;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}

.preview-button{display:flex;align-items:center;justify-content:center;gap:12px}.preview-button .button-icon{width:22px;height:22px;flex:0 0 22px}

#editor-notice{position:fixed;left:50%;top:max(16px,env(safe-area-inset-top));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:14px 18px;z-index:10000;background:#263b30;color:#e4f6e9;border:1px solid #52775d;border-radius:12px;font:14px/1.5 Arial,sans-serif;box-shadow:0 8px 32px #0008;overflow-wrap:anywhere}#editor-notice[data-error=true]{background:#472b27;border-color:#ad6757;color:#ffe5de}.version-list>div,#profile-versions>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:18px 0;border-bottom:1px solid #30333c}#profile-versions p{margin:0}.editor-header{row-gap:16px}.editor-header button{max-width:100%;white-space:normal}#version-history{max-width:none}

#editor-local-backup{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}#editor-local-backup p{flex-basis:100%;margin:0}
