:root{color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.runtime-adapter-boundary{display:contents}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-C38fXH4l.woff2) format("woff2"),url(/assets/inter-latin-400-normal-CyCys3Eg.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-LgqL8muc.woff2) format("woff2"),url(/assets/inter-latin-600-normal-CiBQ2DWP.woff) format("woff")}:root{font-family:var(--runtime-font-family, Inter, sans-serif);background:var(--runtime-root-bg, #f5f7fb);color:var(--runtime-root-text, #101827)}body{background:var(--runtime-root-bg, #f5f7fb);color:var(--runtime-root-text, #101827)}.runtime-shell{display:grid;width:100vw;max-width:100vw;min-width:0;height:100vh;min-height:100vh;overflow:hidden;grid-template-rows:var(--runtime-menu-height, 54px) minmax(0,1fr);background:var(--runtime-shell-bg, #eef0f4);color:var(--runtime-text, #242832);font-family:var(--runtime-font-family, Inter, sans-serif)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.app-menu,.menu-left,.menu-left nav,.menu-actions,.breadcrumb,.tool-row,.tool-group,.zoom-tools,.outline-head,.pane-head{display:flex;align-items:center}.app-menu{min-width:0;max-width:100vw;overflow:hidden;justify-content:space-between;gap:16px;background:var(--runtime-shell-bg, #eef0f4);padding:0 16px 0 var(--runtime-rail-width, 64px);font-size:13px;font-weight:400;line-height:1.25}.app-menu>*{min-width:0}.app-menu [data-layout=spacer]{flex:1 1 auto;min-width:0}.app-menu button,.app-menu .login-form,.app-menu .layout-toggles{flex:0 0 auto}.menu-left,.menu-actions{gap:24px}.menu-left{flex:0 0 auto}.menu-link{color:var(--runtime-text, #1f2937);font-size:13px;font-weight:400;line-height:20px}.layout-toggles{display:flex;overflow:hidden;border:1px solid var(--runtime-border-control, #d2d7e1);border-radius:var(--runtime-control-radius-lg, 7px);background:var(--runtime-surface-bg, #ffffff)}.layout-toggles button{width:30px;height:30px;border:0;border-right:1px solid var(--runtime-border-control, #d2d7e1);border-radius:0;background:transparent;padding:0;color:var(--runtime-text-muted, #687181);font-size:.72rem}.layout-toggles button:last-child{border-right:0}.layout-toggles button.active{background:var(--runtime-active-bg, #e8edf7);color:var(--runtime-active-text, #102033)}.menu-left nav{gap:8px}.menu-item{position:relative}.menu-item>button.active{background:var(--runtime-active-bg, #e8edf7)}.file-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:grid;width:310px;max-height:min(620px,calc(100vh - 64px));gap:10px;overflow:auto;border:1px solid var(--runtime-border, #d7dce6);border-radius:var(--runtime-control-radius-lg, 7px);background:var(--runtime-surface-bg, #ffffff);padding:10px;box-shadow:var(--runtime-shadow, 0 18px 48px rgb(15 23 42 / 18%))}.file-menu section,.file-menu-create,.file-menu-actions{display:grid;gap:8px}.file-menu section>strong{color:#343946;font-size:.78rem}.file-menu-projects{display:grid;gap:4px;max-height:260px;overflow:auto}.file-menu-projects button{display:grid;justify-content:stretch;gap:2px;width:100%;border-color:transparent;background:transparent;padding:7px 8px;text-align:left}.file-menu-projects button.active{border-color:#d5dff5;background:#e8edf7}.file-menu-projects span,.file-menu-projects small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-menu-projects p{margin:0;color:#697181}.file-menu-create{border-top:1px solid #eceef3;padding-top:10px}.file-menu-create label{display:grid;gap:6px;color:#4f5867;font-size:.78rem;font-weight:760}.file-menu-create small{color:#697181}.file-menu-actions{border-top:1px solid #eceef3;padding-top:10px}.file-archive-input{display:none}.breadcrumb{min-width:0;max-width:42vw;gap:6px;overflow:hidden;color:#252932;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.breadcrumb svg{width:13.2px;height:13.2px}.breadcrumb b,.breadcrumb strong{overflow:hidden;font-size:12.25px;text-overflow:ellipsis}.runtime-body{display:grid;width:100%;max-width:100%;height:100%;min-height:0;overflow:hidden;grid-template-columns:var(--runtime-rail-width, 64px) var(--sidebar-width, var(--runtime-sidebar-width-default, 340px)) minmax(0,1fr);background:var(--runtime-shell-bg, #eef0f4);padding-right:var(--runtime-body-padding-right, 10px)}.runtime-body.primary-hidden{grid-template-columns:var(--runtime-rail-width, 64px) minmax(0,1fr)}.rail-region,.primary-sidebar-region,.workspace-region{min-width:0;min-height:0;height:100%}.rail-region,.rail-region>[data-slot=activity-rail]{display:grid}.primary-sidebar-region{display:grid;grid-template-columns:minmax(0,1fr) var(--runtime-sidebar-resizer-width, 8px)}.primary-sidebar-region>[data-slot=primary-sidebar]{display:contents}.workspace-region,.workspace-region>[data-slot=workspace]{display:grid}.rail{display:flex;height:100%;min-height:0;flex-direction:column;align-items:center;gap:18px;background:var(--runtime-shell-bg, #eef0f4);padding:0 7px 10px}.rail-spacer{flex:1}.rail-logo{margin:18px 0 4px;color:var(--runtime-text, #303541);font-size:1.25rem;font-weight:850;line-height:1;transform:rotate(180deg);writing-mode:vertical-rl}.outline{display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden;margin-top:4px;border:1px solid var(--runtime-border, #d9dde7);border-bottom:0;border-radius:var(--runtime-outline-radius, 8px) var(--runtime-outline-radius, 8px) 0 0;background:var(--runtime-surface-bg, #ffffff)}.outline-head{justify-content:space-between;min-height:56px;border-bottom:1px solid var(--runtime-border-soft, #e0e2e8);padding:0 16px}.outline-head h1,.outline-head h2{margin:0;color:var(--runtime-text, #242832);font-size:16px;font-weight:600;line-height:20px}.sidebar-resizer{cursor:col-resize;width:auto;min-width:0;height:auto;border:0;border-radius:0;background:var(--runtime-shell-bg, #eef0f4);border-right:1px solid transparent;border-left:1px solid transparent;padding:0}.sidebar-resizer:hover,.sidebar-resizer:focus-visible{background:var(--runtime-focus-bg, #dfe4ee);outline:none}.outline-actions{display:flex;overflow:hidden;border:1px solid var(--runtime-border-control, #d6dae4);border-radius:var(--runtime-control-radius-lg, 7px);background:var(--runtime-surface-bg, #ffffff)}.outline-actions .icon-button,.outline-actions .upload-icon{width:34px;height:34px;min-width:34px;border:0;border-right:1px solid #d6dae4;border-radius:0}.outline-actions>:last-child{border-right:0}.outline-section{padding:10px 12px}.outline-section{display:grid;gap:0;padding:0}.outline-section.grow{min-height:0;flex:1;grid-template-rows:auto minmax(0,1fr)}.outline-section.grow.projects{grid-template-rows:auto minmax(0,1fr)}.file-list{display:grid;align-content:start;gap:0;min-width:0}.file-list{overflow:auto;padding-right:2px}.file-list button{display:grid;width:100%;min-height:32px;min-width:0;border:0;border-radius:0;background:transparent;padding:0 16px;text-align:left}.file-list button.active{background:#eef1f6;color:#102033}.file-list button{grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px;color:#303541}.file-list strong{overflow:hidden;font-size:13px;font-weight:600;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.file-status-markers{display:flex;min-width:18px;align-items:center;justify-content:flex-end}.status-icon{position:relative;display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;flex:0 0 auto}.status-icon.file-changed:before{width:7px;height:7px;border-radius:999px;background:#f97316;box-shadow:0 0 0 3px #f9731629;content:""}.status-icon.file-uncommitted:before{width:8px;height:8px;border-top:2px solid #2563eb;border-left:2px solid #2563eb;content:"";transform:translateY(2px) rotate(45deg)}.status-icon.file-uncommitted:after{position:absolute;bottom:2px;width:10px;height:2px;border-radius:999px;background:#2563eb;content:""}.status-icon.file-locked:before{position:absolute;bottom:2px;width:10px;height:8px;border-radius:2px;background:#dc2626;content:""}.status-icon.file-locked:after{position:absolute;top:1px;width:7px;height:7px;border:2px solid #dc2626;border-bottom:0;border-radius:7px 7px 0 0;content:""}.project-list button{grid-template-columns:minmax(0,1fr)}.project-list-runtime{display:grid;min-height:0;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;overflow:hidden;padding:24px;background:#fff}.project-list-runtime__header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f4;padding-bottom:12px}.project-list-runtime__header h2{margin:0;color:#111827;font-size:1.2rem;line-height:1.25}.project-list-runtime__actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.project-list-runtime__actions button,.project-list-runtime__create button{min-height:32px;border:1px solid #d6dae4;border-radius:6px;background:#f8fafc;padding:0 10px;color:#303541;font-size:.78rem}.project-list-runtime__actions button:hover:not(:disabled),.project-list-runtime__create button:hover:not(:disabled){background:#eef1f6}.project-list-runtime__actions button:disabled,.project-list-runtime__create button:disabled{opacity:.55}.project-list-runtime__create{max-width:520px}.project-list-runtime .file-list{min-height:0;overflow:auto;border:1px solid #edf0f4;border-radius:6px;padding-right:0}.project-list-runtime .file-list button{border-bottom:1px solid #edf0f4;padding:8px 12px}.project-list-runtime .file-list button:last-child{border-bottom:0}.project-list-runtime .file-list span{overflow:hidden;color:#687181;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.artifact-list button{grid-template-columns:minmax(0,1fr);min-height:32px}.screen-outline-list{gap:0}.screen-folder-row{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.screen-folder-row{min-height:32px;border-top:1px solid #edf0f4;padding:0 8px 0 16px;color:#303541;cursor:grab}.screen-folder-row:first-child{border-top:0}.screen-entry{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);align-items:center;min-height:32px;cursor:grab}.screen-entry.nested .screen-row-button{padding-left:32px}.file-list .screen-row-button{grid-template-columns:minmax(0,1fr) 18px;padding-right:4px;cursor:pointer}.screen-folder-row.dragging,.screen-entry.dragging{opacity:.45}.screen-folder-row.drop-target,.screen-entry.drop-target,.screen-root-dropzone.drop-target{background:#e8f0ff;box-shadow:inset 3px 0 #2563eb}.screen-root-dropzone{display:flex;min-height:28px;align-items:center;border-top:1px solid #edf0f4;padding:0 16px;color:#687181;font-size:12px;font-weight:600}.screen-outline-actions{display:inline-flex;min-width:0;align-items:center;justify-content:flex-end;gap:1px;padding-right:6px}.file-list .screen-outline-actions button{display:inline-flex;width:24px;min-width:24px;min-height:24px;height:24px;align-items:center;justify-content:center;border:0;border-radius:4px;background:transparent;padding:0;color:#687181}.file-list .screen-outline-actions button:hover:not(:disabled){background:#eef1f6;color:#102033}.file-list .screen-outline-actions button:disabled{opacity:.28}.screen-outline-actions svg{width:15px;height:15px;fill:none;stroke:currentcolor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.changeset-list button{grid-template-columns:minmax(0,1fr) auto;min-height:38px}.changeset-list small{color:#687181;font-size:.72rem;font-weight:600;white-space:nowrap}.file-list p{margin:4px 8px;color:#697181;font-size:.82rem}.sidebar-create input{height:34px;border-color:#d9dde7;font-size:.82rem}.sidebar-create{display:grid;grid-template-columns:20px minmax(0,1fr) 42px;align-items:center;gap:6px;border-bottom:1px solid #edf0f4;padding:7px 14px}.create-prefix{color:#303541;font-size:1rem;text-align:center}.upload-icon{display:inline-flex;align-items:center;justify-content:center;height:34px;min-width:38px;border:1px solid #d6dae4;border-radius:6px;background:#fff;color:#303541;font-size:.72rem;font-weight:760;cursor:pointer}.upload-icon input{display:none}.icon-button svg,.upload-icon svg,.rail-button svg,.breadcrumb svg,.icon-button .icon-mask,.upload-icon .icon-mask,.rail-button .icon-mask,.breadcrumb .icon-mask{--icon-size: var(--runtime-icon-size, 14px);width:var(--runtime-icon-size, 14px);height:var(--runtime-icon-size, 14px);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}.workbench{display:grid;height:100%;min-width:0;min-height:0;overflow:hidden;grid-template-rows:var(--runtime-workbench-toolbar-height, 54px) minmax(0,1fr);background:transparent;padding:4px 0 0 4px}.workbench.panel-visible{grid-template-rows:var(--runtime-workbench-toolbar-height, 54px) minmax(0,1fr) var(--runtime-bottom-panel-height, 210px)}.tool-row{gap:8px;border-bottom:0;background:transparent;padding:0 0 8px}.tool-group,.zoom-tools{border:1px solid var(--runtime-border-control, #d6dae4);border-radius:var(--runtime-control-radius-lg, 7px);background:var(--runtime-surface-bg, #ffffff)}.tool-group button,.zoom-tools button,.zoom-tools span{min-width:34px;height:38px;border:0;border-right:1px solid var(--runtime-border-control, #d6dae4);border-radius:0;background:transparent;padding:0 8px;color:var(--runtime-text, #242832);font-size:14px;font-weight:600}.tool-group button:last-child,.zoom-tools button:last-child{border-right:0}.status-line{min-width:0;flex:1;overflow:hidden;color:#596170;font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.status-line.error{color:#be123c}.login-form{display:flex;align-items:center;gap:6px}.login-form input{width:116px;height:28px;border:1px solid #d6dae4;border-radius:6px;background:#fff;padding:0 8px;color:#242832;font-size:13px}.login-chip{overflow:hidden;max-width:160px;border:1px solid #d6dae4;border-radius:999px;background:#fff;padding:5px 10px;color:#4f5867;font-size:.78rem;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.toast-stack{position:fixed;top:var(--runtime-toast-top, 76px);right:var(--runtime-toast-right, 18px);z-index:80;display:grid;width:min(var(--runtime-toast-width, 360px),calc(100vw - 36px));gap:8px;pointer-events:none}.toast-message{overflow:hidden;border:1px solid var(--runtime-border, #d7dce6);border-radius:var(--runtime-outline-radius, 8px);background:var(--runtime-surface-bg, #ffffff);padding:10px 12px;color:var(--runtime-text, #303541);font-size:13px;font-weight:500;line-height:18px;box-shadow:var(--runtime-shadow, 0 16px 42px rgb(15 23 42 / 14%));text-overflow:ellipsis}.repo-pill,.role-pill{overflow:hidden;max-width:280px;border:1px solid #d6dae4;border-radius:999px;background:#fff;padding:5px 10px;color:#4f5867;font-size:.78rem;font-weight:760;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}.draft-pill{border:1px solid #d6dae4;border-radius:999px;background:#fff;padding:5px 10px;color:#4f5867;font-size:.78rem;font-weight:760}.role-pill{max-width:120px;text-transform:uppercase}.draft-pill.dirty{border-color:#f3c56b;background:#fff7df;color:#8a5b00}.changed-list{display:grid;gap:7px;margin:0 0 22px}.changed-list span{border:1px solid #e0e4eb;border-radius:6px;background:#f8fafc;padding:8px 10px;font-family:Cascadia Code,Consolas,monospace;font-size:.78rem}.forgejo-history{display:grid;overflow:hidden;border:1px solid #d8dce3;border-radius:6px;background:#fff;margin:0 0 22px}.forgejo-history-header,.forgejo-history article{display:grid;grid-template-columns:minmax(140px,1.1fr) 112px minmax(180px,2fr) minmax(96px,.8fr) auto;align-items:center;gap:12px;padding:10px 14px}.forgejo-history-header{border-bottom:1px solid #d8dce3;background:#f6f7f9;color:#1f2530;font-size:.78rem;font-weight:760}.forgejo-history article{min-width:0;border-bottom:1px solid #e4e7ec}.forgejo-history article:last-child{border-bottom:0}.forgejo-history article.active{background:#f4f8ff;box-shadow:inset 3px 0 #4f7edb}.history-author,.history-message,.history-date,.history-actions{min-width:0}.history-author{display:flex;align-items:center;gap:9px;color:#1f2530;font-size:.84rem;font-weight:620}.history-author span:last-child,.history-message strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-graph{display:inline-flex;flex:0 0 auto;width:24px;height:24px;color:#d22b1f}.history-graph svg,.history-actions svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.sha-chip{width:fit-content;max-width:112px;height:30px;border:1px solid #cbd1da;border-radius:5px;background:#eef0f3;padding:4px 9px;color:#111827;font-family:Cascadia Code,Consolas,monospace;font-size:.76rem;line-height:1}.history-message{display:grid;gap:3px}.history-message strong{color:#111827;font-size:.86rem;font-weight:620}.history-message span{color:#6a7280;font-size:.74rem}.history-date{color:#1f2530;font-size:.82rem;text-align:right;white-space:nowrap}.history-actions{display:flex;justify-content:flex-end;gap:6px}.history-actions button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:5px;background:transparent;padding:5px;color:#242832}.history-actions button:hover:not(:disabled),.sha-chip:hover:not(:disabled){background:#e8edf5}.history-actions button:disabled{color:#aab1bd}.history-empty{margin:0;padding:14px;color:#6a7280;font-size:.84rem}.artifact-detail-list{display:grid;border-top:1px solid #e1e5ec;margin-top:16px}.artifact-detail-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:12px;align-items:start;border-bottom:1px solid #e8ebf0;padding:10px 0}.artifact-detail-row span{color:#6a7280;font-size:.76rem;font-weight:760}.artifact-detail-row strong{min-width:0;overflow:hidden;color:#1f2530;font-size:.82rem;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.artifact-detail-row.warning strong{color:#8a5b00}.screen-preview-host{display:grid;min-height:0;height:100%;grid-template-rows:auto minmax(0,1fr);background:#fff}.screen-preview-host__header{border-bottom:1px solid #e1e5ec;padding:14px 16px 12px}.screen-preview-host__header p{margin:0 0 4px;color:#6a7280;font-size:.74rem;font-weight:720;letter-spacing:0;text-transform:uppercase}.screen-preview-host__header h2{margin:0;overflow:hidden;color:#111827;font-size:1rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.screen-preview-host__surface{min-height:0;overflow:auto;background:#f6f7fa;padding:14px}.screen-renderer-error{margin:14px;border:1px solid #f2b8b5;border-radius:6px;background:#fff5f5;padding:10px 12px;color:#a13b38;font-size:.84rem}.screen-renderer-title{margin:0 0 12px;font-size:1rem}.screen-component{box-sizing:border-box}.screen-component--card-root,.screen-component--item-root{border:1px solid #e0e4eb;border-radius:8px;background:#fff;padding:14px}.screen-component--card-header,.screen-component--item-header{display:grid;gap:4px;margin-bottom:10px}.screen-component--card-title,.screen-component--item-title{margin:0;color:#111827;font-size:1rem}.screen-component--card-description,.screen-component--item-description{margin:0;color:#6a7280;font-size:.84rem}.screen-component--button,.screen-component--form-button{min-height:34px;border:1px solid #cfd5df;border-radius:6px;background:#fff;padding:6px 10px;color:#1f2530;font:inherit}.screen-component--input,.screen-component--textarea{width:100%;border:1px solid #cfd5df;border-radius:6px;background:#fff;padding:7px 9px;color:#1f2530;font:inherit}.screen-component--badge{display:inline-flex;align-items:center;border-radius:999px;background:#eef2f7;padding:3px 8px;color:#303541;font-size:.76rem;font-weight:700}.screen-component--table-root,.screen-data-table table{width:100%;border-collapse:collapse;background:#fff;font-size:.82rem}.screen-component--table-head,.screen-component--table-cell,.screen-data-table th,.screen-data-table td{border-bottom:1px solid #e7ebf0;padding:8px 10px;text-align:left}.screen-data-table{overflow:auto;border:1px solid #e0e4eb;border-radius:6px}.screen-icon{display:inline-grid;place-items:center;border-radius:999px;background:#eef2f7;color:#303541;font-size:.68rem;font-weight:800}.generated-document-viewer{display:grid;height:100%;min-height:0;overflow:hidden;background:#fff}.artifact-progress{display:grid;align-content:center;justify-self:center;width:min(520px,calc(100% - 48px));gap:12px;color:#303541}.artifact-progress>div:first-child{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.artifact-progress strong{min-width:0;overflow:hidden;font-size:.92rem;font-weight:680;text-overflow:ellipsis;white-space:nowrap}.artifact-progress span{color:#6a7280;font-size:.78rem;font-weight:680;white-space:nowrap}.progress-track{overflow:hidden;height:8px;border-radius:999px;background:#e4e9f2}.progress-track span{display:block;height:100%;border-radius:inherit;background:#4f7edb;transition:width .18s ease}.generated-document-viewer pre{min-height:0;max-height:none;overflow:auto;margin:0;padding:18px 22px;background:#fff;color:#1f2530;font-family:Cascadia Code,Consolas,monospace;font-size:.82rem;line-height:1.55;white-space:pre-wrap}.generated-document-viewer iframe{width:100%;height:100%;min-height:0;border:0;background:#fff}.artifact-notice{color:#687181;font-size:.84rem}.artifact-notice{width:fit-content;border:1px solid #f3c56b;border-radius:999px;background:#fff7df;padding:7px 11px;color:#8a5b00;font-weight:760}.rail-button.warning{color:#8a5b00;box-shadow:inset 0 -3px #f0bf4f}.rail-button.dirty{color:#2563eb;box-shadow:inset 0 -3px #7aa2f7}.history-compare{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}.history-compare span{border:1px solid #e0e4eb;border-radius:999px;background:#f8fafc;padding:5px 9px;color:#4f5867;font-size:.76rem;font-weight:760}@media(max-width:1120px){.forgejo-history-header{display:none}.forgejo-history article{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}.history-author,.history-message{grid-column:1 / -1}.history-date{text-align:left}}.changed-list span.warning{border-color:#f0d38a;background:#fff8e5}.changed-list span.error-marker{border-color:#f2b6c3;background:#fff1f4}.split{display:grid;height:100%;min-width:0;min-height:0;overflow:hidden;gap:var(--runtime-workspace-gap, 12px);background:transparent;grid-template-columns:minmax(var(--runtime-workspace-main-min, 360px),1fr) minmax(var(--runtime-file-inspector-min, 420px),.9fr)}.workbench.secondary-hidden .split{grid-template-columns:minmax(0,1fr)}.context-stack{display:grid;min-width:0;min-height:0;overflow:hidden;gap:var(--runtime-workspace-gap, 12px);grid-template-rows:minmax(0,1fr) auto}.editor-pane,.preview-pane{min-width:0;min-height:0;overflow:hidden;border:1px solid var(--runtime-border, #d9dde7);border-bottom:0;border-radius:var(--runtime-outline-radius, 8px) var(--runtime-outline-radius, 8px) 0 0;background:var(--runtime-surface-bg, #ffffff)}.editor-pane{display:flex;flex-direction:column}.pane-head{justify-content:space-between;min-height:26px;border-bottom:1px solid #edf0f4;background:#fbfcfd;padding:0 10px;color:#566071;font-size:.78rem}.pane-title{min-width:0;overflow:hidden;color:#495266;font-size:.88rem;font-weight:520;text-overflow:ellipsis;white-space:nowrap}.pane-actions{display:flex;align-items:center;gap:8px;min-width:0}.pane-actions small{overflow:hidden;max-width:220px;color:#6a7280;text-overflow:ellipsis;white-space:nowrap}.pane-actions button{height:22px;border-color:#d6dae4;border-radius:5px;background:#fff;padding:0 8px;color:#303541;font-size:12px;font-weight:600}.pane-actions .mode-button{display:inline-flex;width:26px;height:24px;align-items:center;justify-content:center;border:1px solid #d6dae4;border-radius:5px;background:#fff;color:#303541;padding:0;text-decoration:none}.pane-actions .mode-button.active{border-color:#b9c7e4;background:#e8edf7;color:#102033}.pane-actions .mode-button.disabled{pointer-events:none;color:#aab1bd}.pane-actions .mode-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.pane-warning{width:9px;height:9px;border-radius:999px;background:#d9961f;box-shadow:0 0 0 2px #fff4d4}.changeset-main{display:grid;min-height:100%;align-content:start;gap:18px;overflow:auto;padding:24px;background:#fff}.changeset-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:20px;align-items:start;border-bottom:1px solid #edf0f4;padding-bottom:18px}.changeset-summary h2{margin:0 0 8px;color:#111827;font-size:1.3rem;line-height:1.25}.changeset-summary p{margin:0;color:#687181;line-height:1.5}.changeset-state-card{display:grid;gap:5px;border:1px solid #d9dde7;border-radius:6px;padding:12px;background:#fbfcfd}.changeset-state-card span,.changeset-state-card small,.changeset-section-head span,.changeset-files small{color:#687181;font-size:.76rem}.changeset-state-card strong{color:#111827;font-size:1rem}.changeset-files{display:grid;gap:0;overflow:hidden;border:1px solid #d9dde7;border-radius:6px}.changeset-section-head{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f4;background:#fbfcfd;padding:9px 12px}.changeset-files button{display:grid;gap:2px;border:0;border-bottom:1px solid #edf0f4;border-radius:0;background:#fff;padding:9px 12px;text-align:left}.changeset-files button:last-child{border-bottom:0}.changeset-files button:hover{background:#f6f8fb}.changeset-files p{margin:0;padding:14px 12px;color:#687181;font-size:.84rem}.artifact-tabs{display:flex;align-items:center;min-height:34px;gap:4px;overflow-x:auto;border-bottom:1px solid #edf0f4;background:#fff;padding:4px 8px}.artifact-tabs.empty{display:none}.artifact-tabs button{height:26px;border-color:transparent;background:transparent;padding:3px 9px;color:#576172;font-size:.76rem;white-space:nowrap}.artifact-tabs button.active{border-color:#c9d5ee;background:#e8edf7;color:#102033}.artifact-format-tabs{overflow-x:visible}.artifact-source-switch{display:flex;gap:4px;margin-left:auto}.artifact-source-switch button{color:#6a7280;font-size:.72rem}.editor-content{min-height:0;flex:1;display:grid}.preview-pane{overflow:auto;background:var(--runtime-preview-bg, #dfe2e8);padding:var(--runtime-preview-padding-y, 28px) var(--runtime-preview-padding-x, 44px)}.page{min-height:var(--runtime-page-min-height, 960px);max-width:var(--runtime-page-max-width, 860px);margin:0 auto;background:var(--runtime-document-bg, #ffffff);box-shadow:var(--runtime-shadow-soft, 0 2px 10px rgb(33 38 48 / 14%))}.page.history-page{width:100%;max-width:none;min-height:100%;margin:0;box-shadow:none}.preview-doc,.preview-empty{padding:72px 78px}.preview-doc.history-doc{min-height:100%;padding:18px 16px 24px}.history-doc .doc-kicker{margin-bottom:10px}.history-doc h2{margin-bottom:12px;font-size:1.18rem;line-height:1.25}.doc-kicker{margin:0 0 48px;color:#687181;font-size:.78rem}.preview-doc h2,.preview-empty h2{margin:0 0 20px;font-size:1.8rem;line-height:1.15}.preview-doc pre{overflow:auto;max-height:760px;margin:0;color:#232a34;font-family:Georgia,Times New Roman,serif;font-size:.88rem;line-height:1.55;white-space:pre-wrap}.page img{display:block;max-width:100%;margin:0 auto;padding:48px}.preview-empty{display:grid;min-height:540px;align-content:center;color:#626b79}.preview-empty p,.empty-editor p{margin:0;line-height:1.5}.empty-editor{display:grid;place-items:center;color:#626b79;text-align:center}.image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;min-height:0;overflow:auto;padding:22px;background:#f7f8fb}.image-gallery button{display:grid;min-width:0;gap:10px;align-content:start;border:1px solid #d9dee8;border-radius:7px;background:#fff;padding:10px;text-align:left}.image-gallery button.active{border-color:#8faef0;box-shadow:0 0 0 2px #8faef03d}.image-gallery img{width:100%;aspect-ratio:16 / 10;object-fit:contain;border-radius:5px;background:#fff}.image-gallery span{overflow:hidden;color:#3b4452;font-size:.82rem;font-weight:760;text-overflow:ellipsis;white-space:nowrap}input,textarea{width:100%;border:1px solid #cfd5df;border-radius:6px;background:#fff;color:#1f2630;padding:7px 9px}textarea{min-height:0;border:0;border-radius:0;padding:10px 14px 24px 44px;resize:none;font-family:Cascadia Code,Consolas,monospace;font-size:.9rem;line-height:1.55;outline:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;background:#0f172a57}.commit-dialog{display:grid;width:min(560px,calc(100vw - 32px));gap:14px;border:1px solid #d8dde7;border-radius:8px;background:#fff;padding:18px;box-shadow:0 24px 80px #0f172a38}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2{margin:0;font-size:1.05rem}.commit-dialog label{display:grid;gap:6px;color:#4f5867;font-size:.82rem;font-weight:760}.commit-dialog textarea{min-height:120px;border:1px solid #cfd5df;border-radius:6px;padding:8px 9px;resize:vertical;font-size:.82rem;line-height:1.45}.compact-list{max-height:140px;overflow:auto;margin-bottom:0}button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--runtime-border-control, #d2d7e1);border-radius:var(--runtime-control-radius, 6px);background:var(--runtime-surface-bg, #ffffff);color:var(--runtime-text, #222832);font-family:inherit;padding:6px 10px;font-weight:720}.menu-left nav button{border-color:transparent;background:transparent;font-family:inherit;font-size:13px;font-weight:400;line-height:20px}.icon-button,.rail-button{width:42px;height:42px;padding:0}.rail-button{border-color:transparent;background:transparent;color:var(--runtime-text, #3c4250)}.rail-button svg,.rail-button .icon-mask{--icon-size: var(--runtime-rail-icon-size, 25px);width:var(--runtime-rail-icon-size, 25px);height:var(--runtime-rail-icon-size, 25px);stroke-width:1.9}.rail-button.active{background:var(--runtime-border, #d9dde7)}.danger{border-color:var(--runtime-danger-border, #efd3d8);color:var(--runtime-danger, #c73f61)}.compact{height:32px;padding-inline:10px}small{color:#7a8391;font-size:.72rem}@media(max-width:1100px){.runtime-body{grid-template-columns:var(--runtime-rail-width, 64px) minmax(240px,var(--sidebar-width, var(--runtime-sidebar-width-default, 340px))) minmax(0,1fr)}.runtime-body.primary-hidden{grid-template-columns:var(--runtime-rail-width, 64px) minmax(0,1fr)}.split{grid-template-columns:1fr}.preview-pane{display:none}}@media(max-width:760px){.app-menu{grid-template-columns:1fr;height:auto;flex-wrap:wrap;padding:8px 16px}.runtime-shell{grid-template-rows:auto minmax(0,1fr)}.runtime-body{grid-template-columns:var(--runtime-rail-width-mobile, 44px) minmax(0,1fr)}.outline,.sidebar-resizer{display:none}}
