/*! Axfc. (c) the Axfc operator. All rights reserved. Copying, redistribution or hosting elsewhere is prohibited. https://www.axfc.net/terms */
.local-workspace{--host-bg:var(--surface);--host-surface:var(--surface-muted);--host-raised:var(--surface);--host-text:var(--ink);--host-muted:var(--muted);--host-border:var(--line);--host-accent:var(--primary);--host-on-accent:var(--on-primary);--host-selected:var(--primary-soft);--host-hover:var(--surface-muted);--host-danger:var(--danger)}html:has(body.workspace-page .local-workspace){height:100%;overflow:hidden}body.workspace-page:has(.local-workspace){height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}body.workspace-page:has(.local-workspace) .site-footer{display:none}.public-site.workspace-page:has(.local-workspace) #main.page{flex:1;min-height:0;max-width:none;width:100%;padding:8px 12px;display:flex;flex-direction:column}.local-workspace{display:flex;flex-direction:column;flex:1;min-height:0}.workspace-layout{flex:1;min-height:0;display:grid;grid-template-columns:184px minmax(0,1fr);gap:12px}.workspace-ad{order:-1;overflow:auto}.workspace-main{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow:auto}@media(max-width:1000px){.workspace-layout{grid-template-columns:minmax(0,1fr)}.workspace-ad{display:none}}.workspace-bar,.workspace-file-bar{flex:none;display:flex;align-items:center;gap:12px;min-height:36px;padding:0 0 8px;border-bottom:1px solid var(--line)}.workspace-bar h1{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:650;line-height:1.2;white-space:nowrap}.workspace-bar h1 svg{flex:none;color:var(--primary)}#workspace-status{flex:1;min-width:0;margin:0;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-bar-actions{display:flex;gap:6px;margin-inline-start:auto;flex:none}.workspace-tool{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer}.workspace-tool:hover{background:var(--surface-muted)}.workspace-tool:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.workspace-tool[aria-pressed=true]{background:var(--primary-soft);border-color:var(--primary-line);color:var(--primary)}.workspace-tool.is-primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.workspace-tool.is-primary:hover{filter:brightness(1.08)}.workspace-tool svg{flex:none}@media(max-width:480px){.workspace-tool{padding:0 10px}.workspace-bar{gap:8px}#workspace-status{display:none}#workspace-terminal-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}#workspace-browser{flex:1 1 0;min-height:13rem}#workspace-browser[hidden],#workspace-editor[hidden],#workspace-terminal[hidden]{display:none}#workspace-terminal{flex:none;height:clamp(9rem,32%,17rem);border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}#workspace-editor{flex:1 1 0;min-height:13rem;display:flex;flex-direction:column;gap:8px}.workspace-file-bar strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}#workspace-text{flex:1;width:100%;min-height:0;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:none}.local-workspace .editor-space-pane-title{display:none}.local-workspace .editor-space-panes{display:flex;flex-direction:column;gap:12px;overflow:hidden}@media(min-width:1100px){.local-workspace .editor-space-panes{flex-direction:row}}.local-workspace .editor-space-pane{flex:1 1 0;min-height:0}.local-workspace .editor-space-trail{min-height:0;font-size:12px;color:var(--muted)}.local-workspace .editor-space-trail strong{font-weight:600}.local-workspace .editor-space-toolbar{margin:6px 0 8px;gap:8px}.public-site .local-workspace input.editor-space-search{flex:0 1 18rem;height:32px;min-height:0;margin:0;padding:0 10px;border-radius:6px;font-size:13px;box-shadow:none}.local-workspace .editor-space-browser :is(button,summary){border-radius:6px}.local-workspace .editor-space-create{display:flex;gap:6px}.local-workspace .editor-space-create summary{display:inline-flex;align-items:center;height:32px;padding:0 12px;font-size:13px;font-weight:600}.local-workspace .editor-space-selection{margin-bottom:8px;padding:5px 8px;border-radius:8px;background:var(--primary-soft);border-color:var(--primary-line);font-size:13px}.local-workspace .editor-space-selection button{height:28px;padding:0 10px}.local-workspace .editor-space-selection button:not(.editor-space-primary){background:var(--surface)}.local-workspace .editor-space-card{flex:1 1 0;min-height:0;max-height:none;border-radius:8px;background:var(--surface)}.local-workspace .editor-space-table-head{background:var(--surface-muted)}.local-workspace input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--primary)}.local-workspace .editor-space-pane-status{padding-top:4px;color:var(--muted);opacity:1}.local-workspace .editor-space-note:not(:empty){padding:2px 0 0;color:var(--muted)}.local-workspace .editor-space-terminal{font-size:12.5px;background:var(--surface)}.workspace-dialog{width:min(520px,calc(100vw - 24px));max-height:min(80dvh,560px);padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 18px 50px #0f172a40}.workspace-dialog[open]{display:flex;flex-direction:column;gap:10px}.workspace-dialog::backdrop{background:#0f172a66}.workspace-dialog h2{margin:0;font-size:16px}.workspace-dialog p{margin:0;font-size:13px;color:var(--muted)}.workspace-dialog p:empty{display:none}#workspace-share-list{flex:1;min-height:3rem;overflow:auto;display:grid;gap:2px;padding:4px;border:1px solid var(--line);border-radius:8px}#workspace-share-list label{display:flex;align-items:center;gap:8px;margin:0;min-height:0;padding:6px 8px;border-radius:6px;font-size:13px;font-weight:500;overflow-wrap:anywhere;cursor:pointer}#workspace-share-list label:hover{background:var(--surface-muted)}.workspace-dialog-actions{display:flex;justify-content:flex-end;gap:6px}#workspace-sharing:not([hidden]){overflow:auto;min-height:0}
