:root {
  color-scheme: dark;
  font: 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  --background: #101010;
  --surface: #171717;
  --raised: #212121;
  --button: #242424;
  --border: #353535;
  --text: #f3f3f3;
  --muted: #b0b0b0;
  --focus: #ff893e;
  --focus-hover: #ffac76;
  --danger: #fa8b7b;
  --files-width: 242px;
  --llm-width: 312px;
  --folder-height: 38%;
  --preview-height: 150px;
  --composer-height: 42%;
  --message-height: 76px;
  background: var(--background);
  color: var(--text);
  accent-color: var(--focus);
  scrollbar-color: #5b5b5b transparent;
  scrollbar-width: thin;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, ul, dl { margin: 0; }
h2, h3 { font-size: 1rem; }
p:empty { display: none; }
button, select, input, textarea { font: inherit; }
button, select, input:not([type="checkbox"]):not([type="range"]), textarea {
  color: var(--text); border: 1px solid var(--border); border-radius: 4px;
  background: var(--button); min-width: 0;
}
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
button, .button, input, select { min-height: 27px; }
button, .button { padding: 2px 7px; cursor: pointer; }
button[aria-label]:empty, button.icon-only { min-width: 28px; padding-inline: 5px; }
button:hover:not(:disabled), .button:hover { border-color: #6b6b6b; background: #2d2d2d; }
button[aria-pressed="true"], summary:hover { background: #31251e; border-color: #73462c; color: #ffad78; }
#view-favorite[aria-pressed="true"] .icon, .result button[aria-label="Toggle Favorite"][aria-pressed="true"] .icon { fill: currentColor; }
button:disabled, input:disabled, select:disabled { opacity: .55; cursor: default; }
button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .button:focus-visible, [role="separator"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
a { color: var(--focus-hover); }
a.button { text-decoration: none; color: var(--text); background: var(--button); border: 1px solid var(--border); border-radius: 4px; }
button.primary { background: var(--focus); border-color: var(--focus); color: #17110b; font-weight: 700; }
button.primary:hover:not(:disabled) { background: var(--focus-hover); border-color: var(--focus-hover); }
button.danger { color: var(--danger); border-color: #713c34; }
button.plain, .plain { border-color: transparent; background: transparent; }
button:not(:has(svg)).plain { justify-content: flex-start; }
input:not([type="checkbox"]):not([type="range"]), select, textarea { padding: 3px 6px; }
input[type="checkbox"] { min-height: auto; margin: 0; float: none; }
input[type="file"] { display: none; }
textarea { min-width: 0; resize: vertical; }
::placeholder { color: #a0a0a0; }
label:not(.check) { display: grid; align-content: start; gap: 3px; }
.check { display: flex; align-items: center; gap: 5px; }
.icon { width: 14px; height: 14px; color: inherit; flex: 0 0 auto; pointer-events: none; }
.muted, small { color: var(--muted); }
.inline-error { color: var(--danger); font-size: 12px; overflow-wrap: anywhere; }
.empty { padding: 14px; color: var(--muted); }
.grow { flex: 1 1 auto; }
.entry { height: 100dvh; display: grid; grid-template-rows: auto 1fr; background: #0d0d0d; }
.entry header { border-bottom: 1px solid #282828; display: flex; justify-content: flex-end; min-height: 58px; align-items: center; padding-inline: max(16px, 4vw); }
.entry header button { min-height: 35px; padding-inline: 12px; }
.entry-title { display: grid; align-content: center; justify-items: center; gap: 8px; padding: 16px 16px 9dvh; text-align: center; }
.entry-title h1 { font-size: clamp(46px, 9vw, 112px); line-height: .97; letter-spacing: -.065em; }
.entry-title p { font-size: clamp(15px, 2.1vw, 24px); color: #b5b5b5; }
dialog {
  padding: 0; border: 1px solid #4b4b4b; border-radius: 8px; background: var(--surface);
  color: var(--text); width: min(96vw, 900px); max-height: min(92dvh, 850px); overflow: hidden;
}
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #000b; }
dialog > header {
  padding: 8px 10px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px;
}
dialog > header h2 { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.1rem; }
.auth-dialog { width: min(calc(100vw - 30px), 370px); }
.auth-dialog form, .dialog-content { padding: 12px; overflow: auto; }
.auth-dialog form { display: grid; gap: 10px; }
.auth-dialog input:not([type="checkbox"]) { min-height: 36px; }
.auth-dialog button[type="submit"] { min-height: 34px; justify-self: end; }
.auth-dialog footer { display: flex; gap: 6px; justify-content: end; }
#studio { height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
#studio:has(#no-projects:not([hidden])) { grid-template-rows: auto 1fr; }
.bar { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 6px; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; gap: 5px; align-items: center; color: var(--focus); }
.brand strong { color: var(--text); }
.project-actions, .account-actions { display: flex; align-items: center; gap: 4px; min-width: 0; }
.bar .project-picker { display: flex; align-items: center; gap: 4px; min-width: 0; }
.project-picker select { min-width: 90px; max-width: 232px; }
.branch { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); flex: 1 1 auto; }
.account-actions { margin-left: auto; }
.account-actions #only-favorites { margin-right: 4px; }
.phone-nav { display: none !important; }
.segmented { display: inline-flex; gap: 2px; min-width: 0; }
.workspace {
  display: grid; grid-template-columns: min(var(--files-width), 26vw) 6px minmax(0, 1fr) 6px min(var(--llm-width), 32vw);
  min-height: 0; min-width: 0; overflow: hidden;
}
.panel { min-width: 0; min-height: 0; background: var(--surface); overflow: hidden; }
.grip {
  background: #343434; border: solid var(--background); border-width: 0 2px; min-width: 6px;
  min-height: 6px; touch-action: none; z-index: 1;
}
.grip.vertical { cursor: col-resize; }
.grip.horizontal { cursor: row-resize; border-width: 2px 0; }
.grip:hover, .grip:focus-visible { background: var(--focus); }
.files {
  display: grid; grid-template-rows: minmax(0, var(--folder-height)) 6px minmax(0, 1fr) 6px minmax(0, var(--preview-height));
  padding: 3px;
}
.files:has(#asset-preview:empty) { grid-template-rows: minmax(0, var(--folder-height)) 6px minmax(0, 1fr); }
.files:has(#asset-preview:empty) [data-resize="asset-preview"] { display: none; }
.folders, .assets { min-height: 0; display: flex; flex-direction: column; }
.section-head { display: flex; min-width: 0; gap: 4px; min-height: 31px; padding: 2px 3px; align-items: center; }
.section-head h2 { flex: 1; }
.section-head h2 button { font-weight: 650; margin-left: -4px; }
.tree { overflow: auto; min-width: 0; min-height: 0; padding: 2px; }
.tree-row { display: flex; gap: 2px; padding-inline-start: calc(var(--depth, 0) * 11px); min-width: 0; }
.tree-row > button:first-child { justify-content: flex-start; flex: 1 1 auto; min-width: 0; border-color: transparent; }
.tree-row [aria-pressed="false"] { background: transparent; }
.tree-row > button:first-child span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tree-row button.grayed { opacity: .6; }
.tree-row.drop-target { outline: 1px solid var(--focus); outline-offset: -1px; }
.asset-preview { overflow: hidden; min-width: 0; min-height: 0; background: #101010; display: flex; flex-direction: column; gap: 4px; }
.asset-preview header { flex-shrink: 0; display: flex; align-items: center; gap: 5px; padding: 3px; }
.asset-preview header strong { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-preview .thumb-button { width: 100%; min-height: 0; flex: 1; }
.asset-preview audio { width: 100%; }
.generation { display: grid; grid-template-rows: minmax(0, 1fr) 6px minmax(0, var(--composer-height)); container-type: inline-size; background: var(--background); padding: 3px; }
.results { overflow: auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 0; overscroll-behavior: contain; }
.result {
  min-width: 0; display: flex; align-items: flex-start; gap: 6px;
  border: 1px solid var(--border); border-radius: 6px; padding: 4px; background: var(--raised);
}
.result[data-entering] { animation: appear .22s ease-out both; }
@keyframes appear { from { opacity: .2; clip-path: inset(0 0 90% 0 round 6px); } to { clip-path: inset(0 round 6px); } }
.result-info { display: flex; flex: 1 1 0; flex-direction: column; gap: 3px; min-width: 0; align-self: stretch; container-type: inline-size; }
.result-info header { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-width: 0; }
.result-info header h3 { overflow-wrap: anywhere; }
.result-heading-actions { display: flex; gap: 4px; align-items: center; margin-left: auto; min-width: 0; }
.result-author {
  display: inline-flex; align-items: center; gap: 3px; padding: 1px 4px; max-width: min(156px, 43cqw);
  min-width: 0; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-size: 11px;
}
.result-author .icon { width: 11px; height: 11px; }
.result-author > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.result .meta, .result .cost { color: var(--muted); font-size: 11px; }
.result .draft-id { padding: 0 2px; display: inline; white-space: normal; overflow-wrap: anywhere; min-height: 0; font-size: inherit; }
.result .cost { min-height: 20px; padding: 0 4px; white-space: nowrap; }
.result-prompt { min-width: 0; font-size: 12px; }
.result-prompt summary { display: block; list-style: none; border-top: 1px solid var(--border); padding: 3px 0 1px; }
.result-prompt summary::-webkit-details-marker { display: none; }
.result-prompt-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.result-prompt :is(.result-prompt-excerpt, p) { white-space: pre-wrap; overflow-wrap: anywhere; }
.result-prompt p { margin: 2px 0 0; user-select: text; }
.result-prompt-collapse, .result-prompt[open] .result-prompt-excerpt { display: none; }
.result-prompt[open] .result-prompt-collapse { display: inline; color: var(--focus-hover); }
.result-actions, .result-actions > div { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.result-actions { margin-top: auto; justify-content: space-between; }
.result-actions > div:last-child { margin-left: auto; justify-content: flex-end; }
.result-actions :is(button, a.button) { font-size: 11px; min-height: 24px; padding-inline: 4px; }
.result-actions :is(button, a.button) .icon { width: 12px; height: 12px; }
.result-actions .result-export { color: var(--focus-hover); border-color: #835137; }
.result-actions .result-add-prompt:not(:disabled) { color: var(--focus-hover); background: #31251e; }
.thumb-button, .pending-thumb { padding: 0; min-width: 0; display: grid; place-items: center; position: relative; overflow: hidden; background: #101010; }
.result > .result-media {
  flex: none; align-self: start; width: min(42%, calc(176px * var(--result-ratio, 1.777)));
  aspect-ratio: var(--result-ratio, 1.777); min-height: 0; max-height: 176px; border-radius: 4px;
}
.result > .pending-thumb { place-content: center; gap: 3px; padding: 3px; border: 1px solid var(--border); text-align: center; font-size: 11px; }
.generation-progress progress { width: min(70px, 100%); height: 4px; accent-color: var(--focus); }
.generation-progress [data-remaining] { color: var(--muted); font-variant-numeric: tabular-nums; }
.thumb-button img, .thumb-button video { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.draft-deadline { width: fit-content; border: 1px solid #754b32; border-radius: 4px; padding: 2px 5px; font-size: 11px; color: var(--focus-hover); background: #31251e; }
.draft-deadline.used { border-color: var(--border); color: var(--muted); background: var(--surface); }
@container (max-width: 520px) {
  .result-actions .result-compact-action .label-optional { display: none; }
}
@container (max-width: 420px) {
  .result-actions:has(.label-hires) .result-add-prompt .label-optional { display: none; }
}
@container (max-width: 340px) {
  .result-actions .result-add-prompt .label-optional { display: none; }
}
.composer {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 0; padding: 4px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 5px; overflow: auto;
}
.composer.dragging, #chat-form.dragging { outline: 1px solid var(--focus); outline-offset: -2px; }
.prompt-header { display: flex; align-items: center; gap: 4px; }
.prompt-header strong { margin-right: auto; }
.references { display: flex; flex-wrap: wrap; align-items: end; gap: 4px; padding: 2px; }
.references:empty { display: none; }
.reference { width: 84px; min-width: 0; display: grid; grid-template-rows: auto auto auto; justify-items: center; text-align: center; position: relative; font-size: 11px; line-height: 1.2; }
.reference .thumb-button { width: 100%; height: 55px; }
.reference [data-remove] { position: absolute; right: 2px; top: 2px; min-width: 19px; min-height: 19px; padding: 1px; background: #151515ec; }
.reference [data-remove] .icon { width: 11px; height: 11px; }
.reference button.tag { color: var(--focus-hover); min-height: 18px; border: none; padding: 1px 4px; background: transparent; font-size: 11px; }
.reference small { width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; font-size: 10px; }
.prompt-wrap { position: relative; min-height: 76px; flex: 1; display: flex; }
.prompt-wrap textarea { width: 100%; min-height: 76px; resize: none; }
.mentions, .node-menu {
  position: fixed; z-index: 5; display: grid; gap: 3px; padding: 4px; background: #232323;
  border: 1px solid #4c4c4c; border-radius: 5px; box-shadow: 0 4px 12px #0007; max-width: calc(100vw - 12px);
}
.mentions { position: absolute; bottom: calc(100% + 3px); left: 2px; max-height: 170px; overflow: auto; }
.mentions button, .node-menu button { justify-content: flex-start; min-height: 27px; }
.mentions img, .mentions video { width: 22px; height: 16px; object-fit: contain; }
.linked-references { display: flex; flex-wrap: wrap; gap: 3px; }
.linked-references:empty { display: none; }
.link-chip { min-height: 20px; padding: 0 4px 0 1px; color: var(--focus-hover); font-size: 11px; }
.link-chip :is(img, video) { height: 16px; max-width: 26px; object-fit: contain; }
.generation-controls { display: flex; align-items: end; justify-content: space-between; gap: 4px; flex-wrap: wrap; }
.generation-controls .generate-row { margin-left: auto; }
.generator-settings { display: flex; flex-wrap: wrap; gap: 4px; align-items: flex-end; }
.generator-settings select { max-width: 175px; }
.generator-settings label, .runs { font-size: 11px; }
.generator-settings input.seed { width: 90px; }
.generator-settings .resolution { display: flex; gap: 4px; }
.generator-settings .check { align-self: end; min-height: 27px; font-size: 12px; }
.generate-row, .send-row, .presets-strip { display: flex; align-items: end; gap: 4px; }
#estimate { margin-right: auto; align-self: center; font-size: 11px; }
#settings-toggle { display: none; }
#runs { width: 45px; }
#generate, #send { min-height: 29px; }
.llm { display: flex; flex-direction: column; gap: 4px; padding: 3px; container-type: inline-size; }
.chat-settings { display: flex; align-items: end; flex-wrap: wrap; gap: 4px; }
.chat-settings > label:first-child { flex: 1 1 102px; min-width: 0; }
.chat-settings .check { min-height: 27px; }
.presets-strip { align-items: center; }
.presets-strip details { position: relative; flex: 1 1 auto; min-width: 0; }
.presets-strip summary { display: block; border: 1px solid var(--border); border-radius: 4px; background: var(--button); cursor: pointer; padding: 4px 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presets-strip summary::marker, .presets-strip summary::-webkit-details-marker { display: none; }
.presets-strip summary::after { content: "⌄"; float: right; }
#presets-list { position: absolute; z-index: 3; top: 100%; left: 0; min-width: 100%; max-width: 260px; background: var(--raised); border: 1px solid var(--border); border-radius: 4px; padding: 5px; overflow: auto; max-height: 200px; }
#presets-list label { min-height: 28px; }
.chat { display: flex; flex-direction: column; gap: 4px; min-height: 0; flex: 1; overflow: auto; }
.chat::before { content: ""; margin-top: auto; }
.chat-item { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--raised); border: 1px solid var(--border); border-radius: 4px; padding: 5px; }
.chat-item > header { display: flex; justify-content: space-between; align-items: center; gap: 3px; margin-bottom: 4px; }
.chat-item > footer { display: flex; justify-content: flex-end; gap: 3px; margin-top: 4px; }
#chat-form { display: grid; gap: 4px; }
#message { width: 100%; min-height: 50px; height: var(--message-height); resize: none; }
#send { margin-left: auto; }
#chat-estimate { font-size: 11px; }
.attachments { display: flex; flex-wrap: wrap; gap: 3px; }
.attachments:empty { display: none; }
.attachment { display: flex; align-items: center; gap: 3px; border: 1px solid var(--border); border-radius: 4px; padding-left: 4px; }
.attachment span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment button { min-height: 23px; }
.dialog-form, .dialog-stack { display: grid; gap: 7px; }
.dialog-form textarea { min-height: 80px; }
.dialog-actions, .dialog-toolbar, .chips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.dialog-actions { justify-content: flex-end; }
.dialog-actions .inline-error { flex: 1 1 auto; }
.dialog-form label > input, .dialog-form label > select { min-height: 32px; }
.panel-split { display: grid; gap: 8px; grid-template-columns: minmax(110px, .55fr) minmax(0, 1.65fr); min-height: 160px; }
.panel-split.users { grid-template-columns: minmax(100px, .62fr) minmax(0, 1.35fr) minmax(110px, 1fr); }
.choice-list, .permissions-list { display: flex; flex-direction: column; gap: 3px; max-height: 50dvh; overflow: auto; padding: 2px; }
.choice-list button { justify-content: flex-start; }
.permissions-list .check { min-height: 28px; }
#preset-editor { min-height: min(45dvh, 465px); }
.billing-table { display: block; overflow: auto; border-collapse: collapse; width: 100%; }
.billing-table th, .billing-table td { text-align: left; padding: 4px 8px; border-bottom: 1px solid var(--border); }
.billing-table th { white-space: nowrap; }
.billing-table pre { white-space: pre-wrap; overflow-wrap: anywhere; }
#viewer { width: min(96vw, 1160px); background: #121212; }
.view-stage { flex: 1; position: relative; display: grid; min-height: 140px; overflow: auto; }
#view-media { display: grid; place-items: center; min-height: 0; min-width: 0; width: 100%; }
#view-media img, #view-media video { max-width: 100%; max-height: 72dvh; object-fit: contain; }
#view-media audio { width: min(90%, 540px); }
.view-stage > button { position: absolute; top: 50%; transform: translateY(-50%); background: #171717de; min-height: 36px; }
#previous { left: 4px; }
#next { right: 4px; }
#view-meta { padding: 5px 8px; border-top: 1px solid var(--border); }
.toast { position: fixed; z-index: 10; bottom: 10px; left: 50%; transform: translateX(-50%); max-width: min(90vw, 580px); padding: 7px 10px; border: 1px solid #555; border-radius: 5px; background: #272727; overflow-wrap: anywhere; }
.toast.nearby { bottom: auto; transform: none; pointer-events: none; }
@container (max-width: 740px) {
  .composer:not([data-settings="open"]) .generator-settings { display: none; }
  #settings-toggle { display: inline-flex; }
  .generation-controls .generate-row { width: 100%; }
}
@container (min-width: 741px) {
  .generation-controls { display: grid; grid-template-columns: minmax(0, 1fr) max-content; }
  .generation-controls .generate-row { align-self: end; position: relative; }
  #estimate { position: absolute; inset: 0 0 auto auto; max-width: 85px; font-size: 10px; }
  #model { max-width: 111px; }
  #mode { max-width: 112px; }
  #ratio { max-width: 75px; }
  #duration { max-width: 55px; }
  #resolution { max-width: 65px; }
  #background { max-width: 83px; }
  .generator-settings input.seed { width: 79px; }
}
@container (max-width: 620px) {
  .result-actions :is(button, a.button) { min-width: 25px; }
}
@container (max-width: 320px) {
  .kinds button span { display: none; }
  .prompt-header > strong { font-size: 11px; }
}
@media (max-width: 1020px) {
  :root { --files-width: 195px; --llm-width: 240px; }
  .branch { display: none; }
}
@media (max-width: 820px) {
  :root { --preview-height: 150px; }
  .phone-nav { display: flex !important; }
  .phone-nav button { flex: 1 1 0; min-height: 32px; }
  #studio { grid-template-rows: auto auto minmax(0, 1fr); }
  #studio:has(#no-projects:not([hidden])) { grid-template-rows: auto auto 1fr; }
  #studio > .phone-nav { padding: 3px 4px; }
  .bar { flex-wrap: wrap; gap: 4px; padding: 4px; }
  .brand { padding: 0 3px; }
  .project-actions { order: 1; width: 100%; }
  .bar .project-picker { flex: 1; }
  .project-actions select { max-width: 100%; width: 100%; min-width: 48px; }
  .workspace { display: block; }
  .workspace > .panel { height: 100%; }
  .workspace > .grip { display: none; }
  #studio:not([data-panel="files"]) #files, #studio:not([data-panel="generation"]) #generation, #studio:not([data-panel="llm"]) #llm { display: none; }
  .generation { grid-template-rows: auto minmax(0, 1fr); gap: 3px; }
  .generation [data-resize="composer"], #studio[data-generation="prompt"] #results, #studio[data-generation="results"] #composer { display: none; }
  .files { grid-template-rows: auto minmax(0, 1fr); }
  .files [data-resize="folders"] { display: none; }
  #studio[data-file="folders"] :is(.assets, [data-resize="asset-preview"], #asset-preview) { display: none; }
  #studio[data-file="assets"] .folders { display: none; }
  #studio[data-file="assets"] .files:has(#asset-preview:not(:empty)) { grid-template-rows: auto minmax(0, 1fr) 6px var(--preview-height); }
  #studio[data-file="assets"] .files:has(#asset-preview:empty) { grid-template-rows: auto minmax(0, 1fr); }
  .files .phone-nav { padding-bottom: 3px; }
  :is(.bar, .prompt-header, .generate-row, .section-head, .result-actions, .presets-strip, dialog) :is(button, a.button) { min-height: 32px; }
  #generate, #send { min-height: 36px; }
  .result { display: grid; grid-template-columns: clamp(78px, 32%, 136px) minmax(0, 1fr); gap: 7px; }
  .result > .result-media { width: min(100%, calc(144px * var(--result-ratio, 1.777))); max-height: 144px; }
  .result-prompt summary { min-height: 26px; }
  .panel-split, .panel-split.users { display: flex; flex-direction: column; }
  .choice-list, .permissions-list { max-height: 150px; }
  .account-actions { margin-left: auto; }
  #only-favorites { font-size: 11px; margin-right: 0; }
  #prompt, #message, dialog :is(input, textarea) { font-size: 16px; }
}
@media (max-width: 390px) {
  .brand strong { display: none; }
  .bar .project-picker > span { display: none; }
  .result-actions .label-hires { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .result[data-entering] { animation: none; } }
.new-folder-row { display: flex; flex-wrap: wrap; }
.new-folder-row > input { flex: 1 1 80px; width: 90px; }
.new-folder-row .inline-error { flex-basis: 100%; }
.mentions [aria-selected="true"] { color: var(--focus-hover); border-color: var(--focus); }
.wide { width: min(96vw, 1040px); }
.archive-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 3px; border-bottom: 1px solid var(--border); }
.permission-row { display: flex; gap: 4px; flex-wrap: wrap; justify-content: space-between; padding-inline: 2px; border-bottom: 1px solid var(--border); }
.frame-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.frame-controls input { flex: 1 1 100px; }
.frame-position { font-variant-numeric: tabular-nums; }
.mobile-picker { display: none; }
@media (max-width: 820px) {
  .mobile-picker { display: initial; }
  .panel-split:has(.mobile-picker) > .choice-list { display: none; }
}
