:root {
  color-scheme: light;
  --ink: #20212a;
  --muted: #858794;
  --line: #e9eaf0;
  --surface: #fff;
  --canvas: #f6f7f9;
  --accent: #6b63db;
  --accent-dark: #564ec8;
  --accent-soft: #f0efff;
  --success: #26866d;
  --danger: #c54b56;
  --radius-card: 16px;
  font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink); font-size: 14px; }
button, input, select { font: inherit; }
button { color: inherit; }
.signed-out { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0%, #eeedff 0, #f6f7f9 48%); }
.signed-card { width: min(100%, 420px); padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 18px 60px rgba(32,33,42,.08); }
.signed-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; font-size: 17px; font-weight: 700; letter-spacing: -.4px; }
.signed-card .eyebrow { margin-bottom: 12px; }
.signed-card h1 { margin: 0 0 10px; font-size: 27px; line-height: 1.2; letter-spacing: -.8px; }
.signed-copy { min-height: 42px; margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.signed-actions { display: grid; gap: 10px; }
.signed-actions .field-label { margin-bottom: 2px; }
.signed-actions .button, .cloud-login { width: 100%; }
.cloud-login { margin-bottom: 6px; }
.signed-retry { padding: 8px 0; color: var(--accent-dark); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [contenteditable]:focus-visible { outline: 3px solid #afaaff; outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; width: 248px; flex-direction: column; padding: 27px 18px 16px; background: #fff; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 9px; font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: var(--accent); }
.brand-mark svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-list { display: grid; gap: 5px; margin-top: 43px; }
.nav-item { display: flex; min-height: 42px; align-items: center; gap: 12px; padding: 0 12px; color: #656774; border-radius: 9px; font-weight: 600; transition: background .25s cubic-bezier(.22,1,.36,1), color .25s cubic-bezier(.22,1,.36,1); }
.nav-item:hover:not(.disabled) { background: #f6f6fa; color: var(--ink); }
.nav-item.active { color: var(--accent-dark); background: var(--accent-soft); }
.nav-icon { width: 18px; font-size: 17px; text-align: center; }
.nav-item.disabled { cursor: default; color: #9b9ca6; }
.soon { margin-left: auto; color: #aaaab4; font-size: 10px; font-weight: 500; }
.sidebar-bottom { margin-top: auto; }
.storage-card { padding: 14px 12px 13px; border: 1px solid var(--line); border-radius: 11px; }
.storage-heading { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.storage-heading span:last-child { color: #737582; font-weight: 500; }
.meter { display: block; width: 100%; height: 5px; margin-top: 11px; overflow: hidden; border: 0; border-radius: 8px; background: #efeff4; appearance: none; }
.meter::-webkit-progress-bar { border-radius: 8px; background: #efeff4; }
.meter::-webkit-progress-value { border-radius: 8px; background: var(--accent); transition: width .35s cubic-bezier(.22,1,.36,1); }
.meter::-moz-progress-bar { border-radius: 8px; background: var(--accent); transition: width .35s cubic-bezier(.22,1,.36,1); }
.storage-card p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.profile { display: flex; align-items: center; gap: 10px; padding: 18px 3px 2px; }
.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #ebeaff; color: var(--accent-dark); font-weight: 700; }
.profile-meta { display: grid; min-width: 0; gap: 2px; }
.profile-meta strong { overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.profile-meta span { overflow: hidden; max-width: 140px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.icon-button { display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #777987; cursor: pointer; }
.icon-button:hover { background: #f4f4f8; }
.mobile-logout { display: none; }
.profile-menu { margin-left: auto; font-size: 15px; }
.main-content { min-height: 100vh; margin-left: 248px; }
.topbar { position: sticky; top: 0; z-index: 4; display: flex; height: 67px; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid rgba(231,232,238,.8); background: rgba(246,247,249,.92); backdrop-filter: blur(16px); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #92939d; font-size: 12px; }
.breadcrumbs strong { color: #454651; font-weight: 600; }
.crumb-sep { color: #c6c7ce; }
.top-actions { display: flex; align-items: center; gap: 19px; }
.domain-label { color: #727480; font-size: 11px; }
.quota-compact { display: none; color: #777985; font-size: 10px; white-space: nowrap; }
.avatar-small { width: 31px; height: 31px; border: 0; cursor: pointer; }
.page { width: min(1160px, 100%); margin: 0 auto; padding: 38px 42px 36px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #858793; font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5db69b; box-shadow: 0 0 0 3px #e0f4ed; }
h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -1.15px; line-height: 36px; text-wrap: balance; }
.page-description { margin: 7px 0 0; color: #828490; font-size: 14px; line-height: 20px; text-wrap: pretty; }
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 8px 13px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .25s cubic-bezier(.22,1,.36,1), border-color .25s cubic-bezier(.22,1,.36,1), transform .25s cubic-bezier(.22,1,.36,1); white-space: nowrap; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: scale(.98); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 4px rgba(76,68,190,.13); }
.button-primary:hover:not(:disabled) { background: var(--accent-dark); }
.button-secondary { border-color: #e4e5eb; background: #fff; color: #555762; }
.button-secondary:hover:not(:disabled) { border-color: #cdccd9; background: #fafaff; }
.page-heading .button { min-height: 40px; padding: 9px 15px; font-size: 13px; }
.notice, .error-banner { margin-bottom: 15px; padding: 11px 14px; border-radius: 9px; font-size: 12px; }
.notice { border: 1px solid #d8eee6; background: #f0faf6; color: #38745f; }
.error-banner { border: 1px solid #f0d5d7; background: #fff5f5; color: #a33f49; }
.workspace-card { overflow: hidden; border: 1px solid #e7e8ee; border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 3px 15px rgba(32,33,42,.025); }
.workspace-toolbar { display: flex; min-height: 72px; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.project-picker-wrap { display: grid; min-width: 215px; gap: 4px; }
.project-picker-wrap label { color: #9596a0; font-size: 10px; font-weight: 600; }
.project-picker-wrap select { width: 100%; border: 0; background: transparent; color: #33343e; font-size: 13px; font-weight: 700; outline-offset: 4px; cursor: pointer; }
.toolbar-divider { width: 1px; height: 31px; background: var(--line); }
.upload-icon { font-size: 17px; font-weight: 500; }
.workspace-toolbar .button { margin-left: auto; }
.workspace-body { display: grid; min-height: 456px; grid-template-columns: 228px minmax(0,1fr); }
.files-panel { display: flex; flex-direction: column; padding: 18px 12px 12px; border-right: 1px solid var(--line); }
.panel-title-row { display: flex; align-items: center; gap: 8px; padding: 0 8px 12px; }
.panel-title-row h2 { margin: 0; font-size: 12px; font-weight: 700; }
.count-pill { display: grid; min-width: 19px; height: 18px; place-items: center; padding: 0 5px; border-radius: 10px; background: #f1f1f5; color: #888995; font-size: 10px; font-weight: 600; }
.file-list { display: grid; align-content: start; gap: 3px; }
.file-item { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 9px 8px; border-radius: 8px; color: #666874; text-align: left; cursor: pointer; transition: background .2s cubic-bezier(.22,1,.36,1); }
.file-item:hover { background: #f7f7fa; }
.file-item.active { background: #f3f2ff; color: #5149bc; }
.file-glyph { display: grid; width: 27px; height: 29px; flex: 0 0 auto; place-items: center; border: 1px solid #e5e4ed; border-radius: 6px; background: #fff; color: #8a84df; font-size: 12px; font-weight: 700; }
.file-item.active .file-glyph { border-color: #dedcff; color: #6159ce; }
.file-name { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.add-file-button { display: flex; align-items: center; gap: 8px; margin: 8px 4px 0; padding: 8px; border: 0; border-radius: 7px; background: transparent; color: #777986; font-size: 11px; text-align: left; cursor: pointer; }
.add-file-button:hover:not(:disabled) { background: #f7f7fa; }
.add-file-button:disabled { cursor: not-allowed; opacity: .5; }
.editor-panel { min-width: 0; min-height: 456px; }
.editor-empty { display: flex; min-height: 456px; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px; text-align: center; }
.empty-illustration { position: relative; display: grid; width: 74px; height: 68px; place-items: center; margin-bottom: 14px; border: 1px solid #ededf2; border-radius: 18px; background: #fafaff; }
.empty-cloud { color: #d1cff1; font-size: 34px; }
.empty-file { position: absolute; right: 10px; bottom: 8px; color: #746ddd; font-size: 19px; }
.editor-empty h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.3px; }
.editor-empty p { max-width: 310px; margin: 7px 0 17px; color: #898a95; font-size: 12px; line-height: 19px; text-wrap: pretty; }
.empty-actions { display: flex; gap: 8px; }
.file-hint { margin-top: 17px; color: #aaaab3; font-size: 10px; }
.file-workspace { min-width: 0; }
.file-heading { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.file-title-group { display: flex; min-width: 0; align-items: center; gap: 11px; }
.file-type-icon { display: grid; width: 31px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #e8e7f0; border-radius: 7px; background: #fafaff; color: #766fe0; font-size: 14px; font-weight: 700; }
.file-title-group h2 { overflow: hidden; max-width: 350px; margin: 0; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.file-subtitle { display: block; margin-top: 3px; color: #9a9ba5; font-size: 10px; }
.file-heading-actions { display: flex; align-items: center; gap: 12px; }
.save-state { color: #9798a1; font-size: 10px; white-space: nowrap; }
.save-state.unsaved { color: #aa7729; }
.save-state.success { color: var(--success); }
.save-state.error { color: var(--danger); }
.button-save { min-height: 34px; padding: 7px 11px; font-size: 11px; }
.file-tabs { display: flex; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.file-tab { position: relative; padding: 11px 1px 10px; border: 0; background: transparent; color: #858692; font-size: 11px; font-weight: 600; cursor: pointer; }
.file-tab.selected { color: var(--accent-dark); }
.file-tab.selected::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); content: ""; }
.table-pane { min-width: 0; }
.table-scroll { max-height: 508px; overflow: auto; }
.data-grid { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 11px; }
.data-grid th, .data-grid td { min-width: 124px; height: 36px; border-right: 1px solid #f0f0f4; border-bottom: 1px solid #f0f0f4; }
.data-grid th { position: sticky; z-index: 2; top: 0; background: #fafafd; color: #8b8c96; font-size: 10px; font-weight: 600; text-align: center; }
.data-grid th:first-child { left: 0; z-index: 3; width: 44px; min-width: 44px; }
.data-grid td:first-child { position: sticky; z-index: 1; left: 0; width: 44px; min-width: 44px; background: #fafafd; color: #999aa4; font-size: 10px; text-align: center; }
.data-grid td:last-child, .data-grid th:last-child { border-right: 0; }
.cell-input { display: block; width: 100%; height: 35px; padding: 8px 10px; overflow: hidden; border: 0; background: transparent; color: #474852; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cell-input:focus { position: relative; z-index: 1; outline: 2px solid #8b83ed; outline-offset: -2px; background: #fff; }
.cell-input.changed { background: #faf9e9; }
.cell-input.conflict { background: #fff0f0; box-shadow: inset 0 0 0 1px #e8a7a7; }
.grid-empty { padding: 28px; color: #8e8f99; font-size: 12px; text-align: center; }
.grid-limit { padding: 10px 14px; border-top: 1px solid #f0f0f4; color: #9b9ca5; font-size: 10px; }
.conflict-box { display: flex; gap: 10px; margin: 13px 20px; padding: 12px; border: 1px solid #efd6a9; border-radius: 9px; background: #fffaf0; }
.conflict-icon { display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f6e6c1; color: #9a6b1d; font-size: 12px; font-weight: 700; }
.conflict-content strong { color: #76561e; font-size: 11px; }
.conflict-content p { margin: 3px 0 5px; color: #917b53; font-size: 10px; line-height: 15px; }
.text-button { padding: 0; border: 0; background: transparent; color: #6659bf; font-size: 10px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.conflict-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.preview-pane { padding: 13px 18px 18px; }
.preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #777985; font-size: 10px; font-weight: 600; }
.preview-label .status-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px #e0f4ed; }
.preview-safe { margin-left: auto; padding: 4px 7px; border-radius: 5px; background: #f1f1f5; color: #92939d; font-size: 9px; font-weight: 500; }
#html-preview { display: block; width: 100%; height: 444px; border: 1px solid #e8e8ee; border-radius: 7px; background: #fff; }
.preview-empty { display: grid; min-height: 340px; justify-items: center; align-content: center; text-align: center; }
.preview-empty > span { color: #b5b2e9; font-size: 28px; }
.preview-empty h3 { margin: 9px 0 0; font-size: 13px; }
.preview-empty p { margin: 6px 0 14px; color: #90919b; font-size: 11px; }
.workspace-footer { display: flex; min-height: 43px; align-items: center; justify-content: space-between; padding: 0 17px; border-top: 1px solid var(--line); color: #9697a1; font-size: 10px; }
.lock-icon { display: inline-block; margin-right: 4px; color: #a2a3ad; font-size: 14px; vertical-align: -1px; }
.bottom-hint { display: flex; align-items: center; gap: 9px; margin-top: 17px; color: #9697a0; font-size: 11px; }
.hint-mark { color: #9a94eb; font-size: 14px; }
.modal { width: min(440px, calc(100% - 32px)); padding: 25px; border: 1px solid #e7e7ed; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 20px 70px rgba(32,33,42,.18); }
.modal::backdrop { background: rgba(32,33,42,.36); backdrop-filter: blur(3px); }
.modal form { position: relative; }
.modal-icon { display: grid; width: 38px; height: 38px; margin-bottom: 17px; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 18px; }
.modal-close { position: absolute; top: 0; right: 0; width: 30px; height: 30px; border: 0; border-radius: 7px; background: transparent; color: #858692; font-size: 22px; cursor: pointer; }
.modal-close:hover { background: #f4f4f7; }
.modal h2 { margin: 0; font-size: 18px; letter-spacing: -.4px; }
.modal p { margin: 6px 0 20px; color: #868792; font-size: 12px; line-height: 19px; }
.field-label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; }
.modal input { width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #dedfe6; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; }
.modal input::placeholder { color: #b1b2bb; }
.form-error { margin-top: 8px; color: var(--danger); font-size: 11px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.toast-region { position: fixed; z-index: 30; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.toast { max-width: min(360px, calc(100vw - 40px)); padding: 12px 15px; border: 1px solid #dfdfe6; border-radius: 9px; background: #fff; box-shadow: 0 8px 25px rgba(32,33,42,.12); color: #454650; font-size: 12px; animation: toast-in .35s cubic-bezier(.22,1,.36,1) both; }
.toast.error { border-color: #f0d5d7; color: #a33f49; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.loading-skeleton { display: grid; gap: 9px; padding: 18px; }
.skeleton-line { height: 13px; border-radius: 5px; background: #f0f0f4; animation: pulse 1.8s cubic-bezier(.22,1,.36,1) infinite alternate; }
.skeleton-line:nth-child(1) { width: 35%; }
.skeleton-line:nth-child(2) { width: 88%; }
.skeleton-line:nth-child(3) { width: 72%; }
.preview-opening { padding: 24px; color: #555; font: 14px system-ui, sans-serif; }
@keyframes pulse { to { opacity: .55; } }

@media (max-width: 920px) {
  .sidebar { width: 205px; padding-right: 13px; padding-left: 13px; }
  .main-content { margin-left: 205px; }
  .topbar { padding: 0 27px; }
  .page { padding: 31px 25px; }
  .workspace-body { grid-template-columns: 190px minmax(0,1fr); }
  .file-heading { align-items: flex-start; flex-direction: column; }
  .file-heading-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 680px) {
  body { background: #fff; }
  .signed-out { padding: 16px; }
  .signed-card { padding: 26px 22px; }
  .signed-brand { margin-bottom: 34px; }
  .sidebar { position: static; width: 100%; height: 62px; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0; font-size: 16px; }
  .brand-mark { width: 29px; height: 29px; }
  .nav-list { display: flex; gap: 3px; margin: 0 0 0 auto; }
  .nav-item { min-height: 35px; gap: 6px; padding: 0 9px; font-size: 11px; }
  .nav-icon { width: 15px; font-size: 14px; }
  .soon { display: none; }
  .sidebar-bottom { display: none; }
  .main-content { margin-left: 0; }
  .topbar { height: 50px; gap: 12px; padding: 0 16px; background: rgba(255,255,255,.94); }
  .breadcrumbs { min-width: 0; flex: 1; gap: 6px; font-size: 11px; }
  .breadcrumbs > span:first-child, .breadcrumbs .crumb-sep { display: none; }
  .domain-label { font-size: 10px; }
  .quota-compact { display: inline; }
  .top-actions { flex-shrink: 0; gap: 8px; }
  .avatar-small { width: 28px; height: 28px; }
  .mobile-logout { display: grid; }
  .page { padding: 24px 14px 30px; }
  .page-heading { align-items: flex-start; margin-bottom: 18px; }
  .page-heading .button { min-height: 36px; padding: 8px 10px; font-size: 11px; }
  h1 { font-size: 24px; line-height: 32px; }
  .page-description { font-size: 12px; }
  .eyebrow { margin-bottom: 7px; font-size: 10px; }
  .workspace-card { border-radius: 12px; }
  .workspace-toolbar { min-height: 63px; gap: 9px; padding: 9px 11px; }
  .project-picker-wrap { min-width: 100px; flex: 1; }
  .project-picker-wrap select { max-width: 100%; font-size: 11px; }
  .workspace-toolbar .button { min-height: 34px; gap: 5px; padding: 7px 9px; font-size: 10px; }
  .toolbar-divider { height: 27px; }
  .workspace-body { display: flex; min-height: 0; flex-direction: column; }
  .files-panel { padding: 10px 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-title-row { padding: 0 4px 8px; }
  .file-list { display: flex; gap: 5px; overflow-x: auto; }
  .file-item { min-width: 145px; max-width: 185px; padding: 6px; }
  .file-glyph { width: 25px; height: 27px; }
  .add-file-button { flex: 0 0 auto; margin: 5px 0 0; padding: 6px 4px; }
  .editor-panel, .editor-empty { min-height: 400px; }
  .file-heading { min-height: 62px; flex-direction: row; align-items: center; gap: 7px; padding: 10px 12px; }
  .file-title-group { gap: 7px; }
  .file-title-group h2 { max-width: min(40vw, 200px); font-size: 11px; }
  .file-type-icon { width: 27px; height: 29px; }
  .file-subtitle { font-size: 9px; }
  .file-heading-actions { width: auto; gap: 6px; }
  .save-state { max-width: 85px; font-size: 9px; text-align: right; white-space: normal; }
  .button-save { min-height: 32px; padding: 6px 8px; font-size: 9px; }
  .file-tabs { padding: 0 12px; }
  .table-scroll { max-height: 56vh; }
  .data-grid th, .data-grid td { min-width: 110px; }
  .data-grid th:first-child, .data-grid td:first-child { width: 36px; min-width: 36px; }
  .cell-input { height: 34px; padding: 8px; font-size: 10px; }
  .workspace-footer { min-height: 38px; padding: 0 10px; font-size: 9px; }
  .bottom-hint { align-items: flex-start; font-size: 10px; line-height: 16px; }
  .toast-region { right: 12px; bottom: 12px; left: 12px; }
  .toast { max-width: none; }
}
@media (max-width: 390px) {
  .nav-item { gap: 4px; padding: 0 6px; font-size: 10px; }
  .brand > span:last-child { display: none; }
  .quota-compact { display: none; }
  .page-heading .button { font-size: 0; gap: 0; width: 38px; padding: 0; }
  .page-heading .button span { font-size: 19px; }
  .save-state { display: none; }
  .file-title-group h2 { max-width: 125px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
