.bio-editor{max-width:1480px;margin:auto;color:var(--text,#202125)}.bio-editor button,.bio-editor input,.bio-editor textarea,.bio-editor select{font:inherit}.bio-editor button{cursor:pointer}.bio-editor-head{display:flex;justify-content:space-between;gap:28px;align-items:center;margin:16px 0 32px}.bio-editor-head h1{font:600 clamp(30px,3vw,44px)/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-1.4px;margin:0 0 10px}.bio-editor-head p{margin:0;color:var(--muted,#67676b);font-size:14px}.bio-editor-head a{color:inherit}.bio-editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bio-editor button{border:1px solid var(--line,#dedee2);border-radius:11px;background:var(--surface,#fff);color:inherit;min-height:42px;padding:9px 15px;font-weight:600;font-size:13px}.bio-editor button:hover{border-color:#999}.bio-editor button:disabled{opacity:.45;cursor:default}.bio-editor button.bio-publish{background:#c71c12;color:#fff;border-color:#c71c12}.bio-editor button.bio-save{background:#222;color:#fff;border-color:#222}.bio-editor-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted,#666);margin-top:12px;min-height:22px}.bio-status-dot{width:7px;height:7px;background:#368c5a;border-radius:50%}.bio-editor-status[data-dirty=true] .bio-status-dot{background:#c58a1b}.bio-editor-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);gap:36px;align-items:start}.bio-editor-panel{border:1px solid var(--line,#e2e3e6);border-radius:22px;background:var(--surface,#fff);overflow:hidden}.bio-panel-heading{padding:23px 24px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line,#eee)}.bio-panel-heading h2{font:600 17px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-.3px;margin:0}.bio-panel-heading p{font-size:12px;color:var(--muted,#777);margin:5px 0 0}.bio-list{padding:10px}.bio-block{border:1px solid transparent;border-radius:15px;margin-bottom:5px;background:var(--surface,#fff)}.bio-block[open]{border-color:var(--line,#e2e3e6);background:var(--bg,#fafafa)}.bio-block[draggable=true]{cursor:grab}.bio-block.bio-dragover{border-color:#c71c12}.bio-block summary{padding:14px;list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;min-height:80px}.bio-block summary::-webkit-details-marker{display:none}.bio-block-thumb{height:44px;width:60px;object-fit:cover;border:1px solid var(--line,#eee);border-radius:8px;background:#f1f2f3;flex:none}.bio-block-symbol{width:60px;height:44px;background:#f1f2f3;color:#6d6d72;display:grid;place-items:center;border-radius:8px;flex:none}.bio-block-symbol svg{width:21px;height:21px}.bio-block-label{min-width:0;flex:1}.bio-block-label strong{display:block;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bio-block-label small{font-size:11px;color:var(--muted,#777);display:block;margin-top:5px}.bio-block-controls{display:flex;align-items:center;gap:4px}.bio-block-controls button{padding:5px;min-width:32px;min-height:34px;border:0;background:transparent}.bio-block-controls svg{width:17px;height:17px;display:block}.bio-block-controls .bio-hidden{color:#a2a2a5}.bio-block-fields{padding:5px 20px 20px}.bio-editor label{display:block;font-size:12px;font-weight:600;margin-bottom:15px}.bio-editor input:not([type=color]),.bio-editor textarea,.bio-editor select{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid var(--line,#d8d9de);border-radius:9px;background:var(--surface,#fff);color:inherit;box-sizing:border-box;min-height:44px;font-size:14px;font-weight:400}.bio-editor textarea{resize:vertical;line-height:1.5;min-height:80px}.bio-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bio-image-edit{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:start;margin-bottom:18px}.bio-image-edit img{width:100px;height:66px;object-fit:cover;border-radius:9px;border:1px solid var(--line,#ddd)}.bio-image-edit input[type=file]{font-size:11px;min-height:0!important;padding:4px 0!important;border:0!important}.bio-editor .bio-remove{border:0;background:transparent;color:#a4241c;padding-left:0;min-height:30px;font-size:12px}.bio-add{padding:0 24px 24px;display:flex;gap:8px}.bio-add select{margin:0;flex:1}.bio-preview-column{position:sticky;top:68px}.bio-preview-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px;font-size:13px;font-weight:600}.bio-device-controls{display:flex;gap:5px}.bio-device-controls button{min-height:33px;padding:5px 10px;font-size:11px}.bio-device-controls [aria-pressed=true]{background:#222;color:white;border-color:#222}.bio-preview-frame{margin:0 auto;background:#f5f3ec;border:7px solid #252628;border-radius:32px;box-shadow:0 22px 55px #12141612;overflow:hidden;width:min(100%,390px);height:min(76vh,780px);box-sizing:border-box;transition:width .2s}.bio-preview-frame[data-width=wide]{width:100%;border-radius:20px}.bio-preview-frame iframe{display:block;border:0;width:100%;height:100%;background:white}.bio-preview-caption{font-size:11px;color:var(--muted,#777);text-align:center;margin:14px 0}.bio-page-settings,.bio-history{margin-top:18px;border:1px solid var(--line,#e2e3e6);border-radius:18px;background:var(--surface,#fff)}.bio-page-settings>summary,.bio-history>summary{font-size:14px;font-weight:600;padding:20px 24px;cursor:pointer}.bio-settings-body,.bio-history-body{padding:0 24px 22px}.bio-theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.bio-theme-grid input{display:block;width:100%;height:40px;border:0;padding:0;background:transparent;cursor:pointer;margin-top:9px}.bio-history-row,.bio-social-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line,#eee);padding:12px 0;font-size:12px}.bio-social-row input{margin:0!important}.bio-social-row button{padding:6px!important;flex:none}.bio-history-row time{color:var(--muted,#777)}.bio-inline-help{font-size:12px;color:var(--muted,#777);line-height:1.5;margin:0 0 18px}.bio-editor-error{padding:12px 16px;border-radius:10px;background:#ffeded;color:#9e221a;font-size:13px;margin-bottom:18px}.bio-editor-error:empty{display:none}.bio-editor button:focus-visible,.bio-editor input:focus-visible,.bio-editor summary:focus-visible,.bio-editor textarea:focus-visible{outline:3px solid #5060d1;outline-offset:3px}.bio-editor [hidden]{display:none!important}@media(max-width:1100px){.bio-editor-grid{gap:20px;grid-template-columns:minmax(0,1fr) 350px}.bio-editor-head{align-items:start;flex-direction:column;gap:18px}.bio-editor-panel{border-radius:18px}}@media(max-width:800px){.bio-editor-grid{grid-template-columns:1fr}.bio-preview-column{position:static;grid-row:1}.bio-preview-frame{height:520px}.bio-field-grid{grid-template-columns:1fr}.bio-editor-head{margin-top:8px}.bio-block summary{padding:10px}.bio-block-thumb,.bio-block-symbol{width:44px}.bio-block-controls button{min-width:30px}.bio-theme-grid{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){.bio-preview-frame{transition:none}}
.bio-editor{container-type:inline-size}.bio-editor-head{background:transparent;border:0;padding:0;min-height:0;color:inherit}.bio-editor-head a{font-family:inherit;font-size:14px;font-weight:400;letter-spacing:0;text-decoration:underline;text-decoration-color:#ccc;text-underline-offset:4px}.bio-panel-heading>span{font-size:11px;color:var(--muted,#777);white-space:nowrap}.bio-block-label{display:block}.bio-block-fields label{margin-top:0}.bio-editor .bio-editor-actions{flex-wrap:nowrap}.bio-editor .bio-block-controls button:disabled{opacity:.2}.bio-editor .bio-add select{min-width:0}.bio-editor .bio-settings-body h3{margin:25px 0 14px}.bio-editor .bio-page-settings,.bio-editor .bio-history{box-shadow:none}.bio-editor .bio-preview-toolbar span{font-size:13px}.bio-editor .bio-social-row input:first-child{max-width:130px}
@container(max-width:860px){.bio-editor-grid{grid-template-columns:1fr}.bio-preview-column{position:static;grid-row:1}.bio-preview-frame{height:540px}.bio-editor-head{flex-direction:row;align-items:start}.bio-editor-head h1{font-size:32px}.bio-editor-head p{font-size:12px}.bio-editor .bio-editor-actions{flex-wrap:wrap}.bio-editor-head>div:last-child{max-width:230px}}@container(max-width:460px){.bio-editor-head{flex-direction:column;gap:16px}.bio-preview-frame{height:420px}.bio-block-thumb,.bio-block-symbol{width:36px;height:36px}.bio-block summary{gap:8px}.bio-block-controls{gap:0}.bio-block-controls button{min-width:28px}.bio-panel-heading{padding:18px}.bio-block-fields{padding:5px 12px 18px}.bio-editor .bio-field-grid{grid-template-columns:1fr}.bio-editor .bio-social-row{flex-wrap:wrap}.bio-editor .bio-social-row input:first-child{max-width:none}}
.bio-editor-grid>*{min-width:0}.bio-editor-panel,.bio-preview-column,.bio-preview-frame{min-width:0;max-width:100%}.bio-editor input,.bio-editor textarea,.bio-editor select{min-width:0}.bio-editor .bio-block-controls{flex:none}.bio-editor .bio-block-image{flex:none}.bio-editor .bio-block-label{overflow:hidden}.bio-editor .bio-block-fields{min-width:0}.bio-editor .bio-panel-heading{gap:10px}@container(max-width:860px){.bio-editor-grid{grid-template-columns:minmax(0,1fr)}}

.bio-editor-workspace{display:grid;gap:18px}
.bio-editor-workspace>.bio-page-settings,.bio-editor-workspace>.bio-history{margin-top:0}
.bio-inspector{scroll-margin:80px 0 20px}
.bio-inspector-heading{padding:18px 20px 13px;display:flex;align-items:end;justify-content:space-between;gap:16px}
.bio-inspector-heading-copy{min-width:0}
.bio-inspector-heading h2,.bio-inspector>h2{font-size:21px;line-height:1.18;letter-spacing:-.4px;margin:0;overflow-wrap:anywhere}
.bio-inspector>h2{padding:20px}
.bio-inspector-heading h2:focus{outline:none}
.bio-inspector-heading p{font-size:12px;color:var(--muted,#67676b);margin:0 0 5px}
.bio-editor .bio-section-picker{flex:0 1 50%;min-width:0;margin:0}
.bio-section-picker select{margin-top:4px}
.bio-inspector-tabs{display:flex;gap:6px;margin:0 20px 12px;padding:4px;background:var(--bg,#f4f4f5);border:1px solid var(--line,#e2e3e6);border-radius:12px}
.bio-editor .bio-inspector-tabs button{flex:1;background:transparent;border-color:transparent;min-height:36px;padding:6px 10px}
.bio-editor .bio-inspector-tabs [aria-pressed=true]{background:var(--surface,#fff);border-color:var(--line,#dedee2);box-shadow:0 1px 2px #12141614}
.bio-colors{display:grid}
.bio-color-row{display:grid;grid-template-columns:minmax(0,1fr) 42px 93px minmax(48px,auto);gap:8px;align-items:center;min-height:51px;border-bottom:1px solid var(--line,#eee)}
.bio-color-row:last-child{border:0}
.bio-editor .bio-color-row label{margin:0}
.bio-color-row input[type=color]{width:42px;height:36px;padding:2px;border:1px solid var(--line,#d8d9de);border-radius:7px;background:var(--surface,#fff);cursor:pointer}
.bio-editor .bio-color-row input[data-hex]{margin:0;height:36px;min-height:0;padding:7px 8px;font:12px ui-monospace,SFMono-Regular,Menlo,monospace}
.bio-editor .bio-color-row button{min-height:36px;padding:6px 7px;font-size:12px;border-color:transparent;background:transparent;justify-self:end}
.bio-editor .bio-color-row button:disabled{visibility:hidden}
.bio-layout .bio-block{display:flex;align-items:center;gap:6px;padding-right:8px}
.bio-layout .bio-block[data-selected=true]{background:var(--bg,#f8f7f6);border-color:#bb2116}
.bio-editor .bio-select-block{display:flex;align-items:center;gap:10px;flex:1;text-align:left;border:0;border-radius:12px;background:transparent;min-width:0;min-height:60px;padding:8px 10px}
.bio-editor .bio-select-block:hover{background:var(--bg,#f4f4f5)}
.bio-editor .bio-select-block[draggable=true]:active{cursor:grabbing}
.bio-editor .bio-section-tools{display:flex;align-items:center;gap:12px;padding:0 24px 14px}
.bio-editor .bio-section-tools .bio-remove{padding-left:5px}
.bio-preview-toolbar p{font-size:12px;color:var(--muted,#67676b);font-weight:400;margin:4px 0 0}
.bio-preview-frame{height:clamp(340px,calc(100dvh - 150px),780px)}
@container(max-width:860px){.bio-preview-frame{height:clamp(280px,46dvh,455px)}}
@container(max-width:460px){
 .bio-inspector-heading{padding:15px 12px 11px;gap:8px}
 .bio-inspector-tabs{margin:0 12px 8px}
 .bio-inspector-heading h2{font-size:18px}
 .bio-color-row{grid-template-columns:minmax(0,1fr) 35px 72px minmax(40px,auto);gap:5px}
 .bio-color-row input[type=color]{width:35px}
 .bio-editor .bio-color-row input[data-hex]{padding-inline:5px}
 .bio-editor .bio-color-row button{padding-inline:3px}
 .bio-editor .bio-select-block{padding-inline:6px;gap:6px}
}
.bio-editor .bio-inspector-tabs [data-preview-return]{display:none}
.bio-preview-column{scroll-margin-top:80px}
@container(max-width:860px){.bio-editor .bio-inspector-tabs [data-preview-return]{display:block;flex:0 0 auto}}

.bio-palette .bio-panel-heading{border:0;padding-bottom:10px}
.bio-palette-body{padding:0 24px 16px}
.bio-palette-actions{display:flex;gap:8px;flex-wrap:wrap}
.bio-editor #bioMadPalette{color:var(--mad-red,#c30000)}
.bio-palette-fields{margin-top:12px}
.bio-palette-fields summary{font-size:13px;font-weight:600;cursor:pointer;padding:6px 0}
.bio-palette-fields .bio-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 12px;margin-top:12px}
.bio-palette-fields label{display:flex;flex-direction:column;justify-content:space-between;margin:0}
.bio-palette-fields input[type=color]{height:34px;padding:2px;border:1px solid var(--line,#dedee3);border-radius:7px;background:var(--surface,#fff);margin-top:5px}
.bio-editor .bio-select-block:hover,.bio-layout .bio-block[data-selected=true]{border-color:var(--mad-red,#c30000)}
.bio-preview-frame{background:#f5f5f7}
@container(max-width:460px){
 .bio-palette-body{padding-inline:18px}
 .bio-palette-actions button{padding-inline:10px}
 .bio-palette-fields .bio-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
