:root {
  color-scheme: light;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: #f6f7f7;
  --surface: #ffffff;
  --surface-2: #f0f2f3;
  --surface-3: #e6eaec;
  --sidebar: #edf0f1;
  --text: #202326;
  --text-2: #5f686f;
  --text-3: #7b858c;
  --line: #dce1e3;
  --border: var(--line);
  --line-strong: #c8d0d3;
  --accent: #137568;
  --accent-hover: #0d5f55;
  --accent-soft: #e2f1ee;
  --blue: #2f67b2;
  --blue-soft: #e9f0fa;
  --amber: #a76912;
  --amber-soft: #fff3d9;
  --danger: #b33a3a;
  --danger-soft: #fceaea;
  --success: #18794e;
  --shadow: 0 10px 30px rgb(27 35 39 / 9%);
  --sidebar-width: 260px;
  --radius: 8px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #171a1c;
  --surface: #202427;
  --surface-2: #292e32;
  --surface-3: #343b3f;
  --sidebar: #1d2124;
  --text: #eef1f2;
  --text-2: #bbc3c7;
  --text-3: #929da2;
  --line: #343b3f;
  --line-strong: #465055;
  --accent: #5bc5b6;
  --accent-hover: #7bd4c8;
  --accent-soft: #173e39;
  --blue: #8ab4ec;
  --blue-soft: #22344b;
  --amber: #edba63;
  --amber-soft: #46351b;
  --danger: #f08b8b;
  --danger-soft: #482626;
  --success: #65c796;
  --shadow: 0 14px 38px rgb(0 0 0 / 30%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--page); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: 28px; line-height: 1.2; letter-spacing: 0; }
h2 { margin-bottom: 9px; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
h3 { margin-bottom: 7px; font-size: 16px; line-height: 1.35; letter-spacing: 0; }
p { color: var(--text-2); }
small, .muted, .field-hint, .message-meta, .admin-muted-small { color: var(--text-3); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, .button {
  min-height: 36px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 7px 13px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  text-align: center;
}
button:hover, .button:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: #fff; }
button:disabled { cursor: wait; opacity: .58; }
button.secondary, .button-secondary, .secondary, .text-button {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}
button.secondary:hover, .button-secondary:hover, .secondary:hover, .text-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}
button.danger, .danger { border-color: var(--danger); background: var(--danger); color: #fff; }
.small-button { min-height: 30px; padding: 4px 9px; font-size: 12px; }
.icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  place-items: center;
  border-color: transparent;
  background: transparent;
  color: var(--text-2);
  font-size: 20px;
}
.icon-button:hover { border-color: var(--line); background: var(--surface-2); color: var(--text); }

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 9px 11px;
  background: var(--surface);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
textarea { min-height: 110px; resize: vertical; }
label { display: block; margin: 0 0 6px; color: var(--text-2); font-weight: 650; }
form { margin: 0; }
form > * + * { margin-top: 12px; }
form .inline-form > *, .inline-form > *, .action-row > * { margin-top: 0; }

.shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}
.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  height: 100vh;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
  padding: 14px 12px;
}
.shell > main { min-width: 0; }
.main-inner { width: min(1180px, 100%); min-height: 100vh; margin: 0 auto; padding: 32px 40px 56px; }
.sidebar-top { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 2px 5px 8px; }
.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  font-weight: 800;
}
.brand-title { overflow: hidden; color: var(--text); font-size: 15px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-brand { min-width: 0; }
.brand-subtitle { color: var(--text-3); font-size: 11px; }
.sidebar-theme { margin-left: auto; }
.sidebar-primary-action { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--text); font-weight: 700; }
.sidebar-primary-action:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }
.user-card { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 800; }
.sidebar-user-main { min-width: 0; flex: 1; }
.user-name { overflow: hidden; color: var(--text); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.user-role { overflow: hidden; color: var(--text-3); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-role { margin-top: 5px; }
.sidebar-user-logout button { min-height: 26px; margin-top: 6px; padding: 2px 7px; border: 0; background: transparent; color: var(--text-3); font-size: 11px; }
.sidebar-user-logout button:hover { background: var(--danger-soft); color: var(--danger); }
.pill { display: inline-flex; max-width: 100%; align-items: center; border-radius: 999px; padding: 2px 7px; background: var(--surface-3); color: var(--text-2); font-size: 10px; font-weight: 700; }
.global-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.global-search > * { margin-top: 0; }
.global-search input, .sidebar-search { min-height: 34px; padding: 7px 9px; background: var(--surface); font-size: 12px; }
.global-search button { width: 34px; min-height: 34px; padding: 0; font-size: 18px; }
.nav-section { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.nav-heading { padding: 0 7px 4px; color: var(--text-3); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.nav-heading-primary { padding-top: 2px; color: var(--text); font-size: 12px; font-weight: 750; text-transform: none; }
.sidebar-chats-nav { min-height: 0; overflow-y: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.sidebar-heading-action { display: flex; align-items: center; justify-content: space-between; }
.sidebar-heading-action a { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 5px; color: var(--text-3); font-size: 17px; }
.sidebar-heading-action a:hover { background: var(--surface); color: var(--text); }
.nav-item {
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 6px;
  padding: 7px 8px;
  color: var(--text-2);
}
.nav-item:hover, .nav-item.active { background: var(--surface); color: var(--text); }
.nav-left { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-count { max-width: 78px; overflow: hidden; color: var(--text-3); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.nav-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); }
.nav-dot.blue { background: var(--blue); }
.nav-dot.gray { background: var(--text-3); }
.sidebar-section-subtitle, .sidebar-empty { padding: 0 7px 5px; color: var(--text-3); font-size: 11px; }
.sidebar-new-chat { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 6px; padding: 2px 0 6px; }
.sidebar-new-chat > * { margin-top: 0; }
.sidebar-new-chat input, .sidebar-new-chat button { min-height: 33px; padding: 6px 9px; font-size: 12px; }
.sidebar-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-item { border-radius: 6px; padding: 7px 8px; }
.sidebar-item:hover, .sidebar-item-active { background: var(--surface); }
.sidebar-chat-open { display: block; overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-chat-meta-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; }
.sidebar-meta, .sidebar-chat-settings-link { color: var(--text-3); font-size: 10px; }
.sidebar-spacer { flex: 1; }
.sidebar-details, .sidebar-account { border-top: 1px solid var(--line); padding-top: 8px; }
.sidebar-details > summary, .sidebar-account > summary { cursor: pointer; list-style: none; color: var(--text-2); }
.sidebar-details > summary::-webkit-details-marker, .sidebar-account > summary::-webkit-details-marker { display: none; }
.sidebar-details > summary { padding: 7px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.sidebar-details > summary:hover, .sidebar-account > summary:hover { background: var(--surface); color: var(--text); }
.sidebar-details[open] > summary { margin-bottom: 6px; }
.sidebar-details .nav-heading { display: none; }
.sidebar-account > summary { display: flex; align-items: center; gap: 9px; padding: 5px; }
.sidebar-account .sidebar-user-main { display: flex; min-width: 0; flex-direction: column; }
.sidebar-account .sidebar-user-main strong, .sidebar-account .sidebar-user-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account-menu { margin-top: 6px; border: 1px solid var(--line); border-radius: 7px; padding: 9px; background: var(--surface); }
.sidebar-account-menu > span { display: block; overflow: hidden; margin-bottom: 7px; color: var(--text-3); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account-menu button { width: 100%; min-height: 32px; }

.mobile-nav-button { display: none; position: fixed; top: 10px; left: 10px; z-index: 60; box-shadow: var(--shadow); background: var(--surface); }
.mobile-sidebar-close { display: none; }
.sidebar-backdrop { display: none; }

.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.page-header.compact { display: block; }
.page-header .subtitle { max-width: 760px; margin-bottom: 0; }
.back-link, .workspace-link { display: inline-block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.eyebrow { margin-bottom: 6px; color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.actions, .project-header-actions, .admin-actions, .action-row, .inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions > *, .project-header-actions > *, .admin-actions > * { margin-top: 0; }

.grid, .projects-grid, .settings-grid, .admin-grid, .project-layout-real { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.project-layout-real { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.card, .panel, .admin-stat, .project-main-card, .project-status-card, .project-style-card, .release-note-card, .memory-item, .list-item, .search-results, .help-guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}
.card-header, .compact-header, .chat-knowledge-files-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.admin-stat-value { margin-top: 7px; font-size: 25px; font-weight: 780; }
.admin-stat-value-pair { font-size: 20px; }
.list, .memory-list, .project-chat-list { display: flex; flex-direction: column; gap: 9px; }
.list-item { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; }
.list-item > :first-child { min-width: 0; }
.empty-state, .compact-empty, .chat-empty-placeholder { padding: 32px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-3); text-align: center; }
.notice { margin: 0 0 16px; border-left: 3px solid var(--amber); border-radius: 4px; padding: 10px 12px; background: var(--amber-soft); color: var(--text); }
.notice.error, .error { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.status-line { color: var(--text-2); font-size: 12px; }

.workspace-index-actions { display: flex; width: min(390px, 100%); align-items: center; gap: 8px; }
.workspace-index-actions input { min-width: 0; }
.project-card { display: flex; min-height: 154px; flex-direction: column; padding: 16px; }
.project-card-main { min-width: 0; flex: 1; }
.project-card-main h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-card-main p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.project-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.list-filter-empty { margin-top: 16px; }

.project-hero { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.project-side-panel { display: grid; min-width: 0; gap: 12px; }
.project-side-panel > .card { padding: 15px; }
.project-chat-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 8px; margin: 14px 0 4px; }
.project-chat-toolbar > * { min-height: 34px; margin-top: 0; padding-top: 6px; padding-bottom: 6px; }
.project-chat-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.project-chat-card:last-child { border-bottom: 0; }
.project-chat-card-main { min-width: 0; }
.project-overview { width: min(900px, 100%); margin: 0 auto; }
.project-overview-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 34px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.project-overview-header h1 { margin-bottom: 6px; }
.project-overview-header .subtitle { max-width: 620px; margin-bottom: 0; }
.project-overview-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.project-overview-actions > form > * { margin-top: 0; }
.project-tools-menu { position: relative; }
.project-tools-menu > summary { list-style: none; }
.project-tools-menu > summary::-webkit-details-marker { display: none; }
.project-tools-menu > nav { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; display: grid; width: 190px; border: 1px solid var(--line); border-radius: 7px; padding: 6px; background: var(--surface); box-shadow: var(--shadow); }
.project-tools-menu > nav a { border-radius: 5px; padding: 8px 9px; color: var(--text-2); }
.project-tools-menu > nav a:hover { background: var(--surface-2); color: var(--text); }
.project-new-chat-menu { position: relative; }
.project-new-chat-menu > summary { list-style: none; }
.project-new-chat-menu > summary::-webkit-details-marker { display: none; }
.project-new-chat-menu > form { position: absolute; top: calc(100% + 6px); right: 0; z-index: 22; display: grid; width: min(280px, calc(100vw - 32px)); gap: 8px; border: 1px solid var(--line); border-radius: 7px; padding: 12px; background: var(--surface); box-shadow: var(--shadow); }
.project-new-chat-menu > form label { margin: 0; font-size: 12px; color: var(--text-2); }
.project-new-chat-menu > form input, .project-new-chat-menu > form button { margin: 0; }
.project-chat-section-toolbar { align-items: center; }
.project-chat-section-toolbar > div { display: flex; align-items: baseline; gap: 9px; }
.project-chat-section-toolbar .project-chat-toolbar { width: min(560px, 100%); margin: 0; }
.project-chat-list-plain { gap: 0; border-top: 1px solid var(--line); }
.project-chat-list-plain .project-chat-card { min-height: 66px; color: var(--text-2); }
.project-chat-list-plain .project-chat-card h3 { margin-bottom: 3px; color: var(--text); }
.project-chat-list-plain .project-chat-card p { margin-bottom: 0; color: var(--text-3); font-size: 11px; }
.project-chat-list-plain .project-chat-card:hover { background: var(--surface-2); }
.project-style-preview, pre, .pre {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--surface-2);
  color: var(--text);
  white-space: pre-wrap;
}
.project-style-preview { max-height: 190px; overflow: hidden; line-height: 1.55; white-space: normal; }

.section-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.section-toolbar h2 { margin-bottom: 0; }
.section-toolbar p { margin: 3px 0 0; }
.compact-search { width: min(330px, 100%); }
.member-list { display: flex; flex-direction: column; }
.available-user-list, .admin-user-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.member-row { display: flex; min-width: 0; min-height: 62px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 10px 0; }
.available-user-list .member-row { border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; }
.member-main { display: flex; min-width: 0; flex-direction: column; }
.member-main h3, .member-main p { margin-bottom: 2px; }
.member-main strong, .member-main .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-meta { color: var(--text-3); font-size: 11px; }
.admin-user-row { min-height: 92px; padding: 14px; }
.admin-users-header { align-items: flex-end; }
.admin-actions { margin: 0 0 14px; }
.audit-list { margin-top: 14px; gap: 6px; }
.audit-list .list-item { min-height: 72px; padding: 11px 14px; }
.admin-usage-list { gap: 0; }
.admin-usage-list .list-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 11px 0; }
.admin-usage-list .list-item:last-child { border-bottom: 0; }

.usage-dashboard { min-width: 0; }
.usage-periods { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; }
.usage-period-link { border-radius: 6px; padding: 6px 10px; color: var(--text-2); font-size: 12px; font-weight: 700; }
.usage-period-link:hover, .usage-period-link.is-active { background: var(--surface-3); color: var(--text); }
.usage-filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.usage-filter-form > * { min-width: 0; margin-top: 0; }
.usage-filter-form label { margin: 0; color: var(--text-3); font-size: 10px; }
.usage-filter-form select { min-width: 0; max-width: 100%; }
.usage-filter-form input, .usage-filter-form select, .usage-filter-form button, .usage-filter-form .button { min-height: 34px; margin-top: 4px; padding-top: 6px; padding-bottom: 6px; font-size: 12px; }
.usage-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; }
.usage-active-filters > a { margin-left: 4px; font-size: 11px; font-weight: 700; }
.usage-legacy-notice { margin-top: 14px; }
.usage-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.usage-summary-grid .admin-stat { min-height: 118px; padding: 15px; }
.usage-summary-grid .admin-stat-value { display: block; overflow-wrap: anywhere; }
.usage-summary-grid small { display: block; margin-top: 6px; }
.usage-section { min-width: 0; margin-top: 30px; border-top: 1px solid var(--line-strong); padding-top: 18px; }
.usage-section-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.usage-section-header h2, .usage-section-header p { margin-bottom: 0; }
.usage-section-header p { margin-top: 3px; font-size: 12px; }
.usage-reason-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; }
.usage-breakdown { display: flex; flex-direction: column; }
.usage-breakdown-row { display: grid; grid-template-columns: minmax(150px, 1.15fr) minmax(120px, 1fr) 78px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.usage-breakdown-row small, .usage-insight small, .usage-table-wrap td small { display: block; margin-top: 2px; color: var(--text-3); font-size: 10px; font-weight: 400; }
.usage-breakdown-row > strong { text-align: right; }
.usage-breakdown-bar, .usage-bar { display: block; overflow: hidden; height: 6px; border-radius: 3px; background: var(--surface-3); }
.usage-breakdown-bar i, .usage-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.usage-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.usage-insight { min-width: 0; border-left: 2px solid var(--line-strong); padding: 8px 10px; }
.usage-insight > span { display: block; color: var(--text-3); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.usage-insight > strong { display: block; margin-top: 4px; overflow-wrap: anywhere; font-size: 15px; }
.usage-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.usage-table-wrap table { min-width: 840px; }
.usage-table-wrap th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); white-space: nowrap; }
.usage-table-wrap td { font-size: 12px; }
.usage-table-wrap tbody tr:hover { background: var(--surface-2); }
.usage-table-wrap td strong { color: var(--text); }
.usage-money-cell { min-width: 110px; }
.usage-money-cell .usage-bar { width: 92px; margin-top: 5px; }
.usage-reason { min-width: 230px; max-width: 360px; color: var(--text-2); }
.usage-open-link { display: block; margin-top: 3px; font-size: 10px; font-weight: 700; }
.usage-empty { padding: 24px; color: var(--text-3); text-align: center; }
.usage-dimension-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.usage-dimension-grid > div { min-width: 0; }
.usage-dimension-grid table { min-width: 610px; }
.usage-methodology { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--text-2); }
.usage-methodology h2 { font-size: 16px; }
.usage-methodology p { max-width: 930px; margin-bottom: 8px; font-size: 11px; }

table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { border-bottom: 1px solid var(--line); padding: 10px 9px; text-align: left; vertical-align: top; }
th { color: var(--text-3); font-size: 11px; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.chat-page { display: grid; min-width: 0; min-height: calc(100dvh - 88px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
.home-chat-page { grid-template-rows: minmax(0, 1fr) auto; }
.home-chat-page .messages { min-height: 0; padding-top: 20px; }
.home-chat-empty { width: min(720px, 100%); padding: 0 20px 8vh; }
.home-chat-empty h1 { margin-bottom: 26px; font-size: 32px; }
.home-prompt-starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; text-align: left; }
.prompt-starter {
  min-height: 48px;
  border-color: var(--line);
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text-2);
  font-weight: 600;
  text-align: left;
}
.prompt-starter:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.home-chat-unavailable { width: min(620px, 100%); margin: 0 auto 8vh; text-align: center; }
.home-chat-unavailable p { margin-bottom: 10px; }
.chat-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 0 0 14px; background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(10px); }
.chat-header > div:first-child { min-width: 0; flex: 1 1 auto; }
.chat-header h1 { max-width: min(720px, 100%); margin: 0; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.chat-header .workspace-link { margin-bottom: 2px; color: var(--text-3); }
.chat-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.messages { display: flex; width: min(820px, 100%); min-width: 0; margin: 0 auto; flex-direction: column; gap: 26px; padding: 34px 0 124px; }
.messages > :last-child { scroll-margin-bottom: 132px; }
.message { position: relative; width: 100%; min-width: 0; }
.message-user { width: fit-content; max-width: min(680px, 86%); margin-left: auto; border-radius: 8px; padding: 11px 14px; background: var(--surface-3); }
.message-assistant { padding-right: 42px; }
.message-meta { margin-bottom: 6px; font-size: 11px; font-weight: 750; }
.message-tool-status { margin-bottom: 8px; color: var(--text-3); font-size: 13px; line-height: 1.35; }
.message-user-self .message-meta { display: none; }
.message-user-other { margin-right: auto; margin-left: 0; background: var(--blue-soft); }
.message-plain { white-space: pre-wrap; overflow-wrap: anywhere; }
.message-actions { display: flex; min-height: 34px; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; opacity: .72; }
.message:hover .message-actions { opacity: 1; }
.branch-switcher { display: flex; min-height: 28px; align-items: center; gap: 2px; margin-top: 3px; color: var(--text-3); font-size: 12px; }
.branch-switcher .icon-button { width: 28px; height: 28px; min-height: 28px; font-size: 18px; }
.branch-switcher-disabled { opacity: .3; }
.markdown { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-size: 15px; line-height: 1.64; }
.markdown p { margin: 0 0 12px; color: var(--text); }
.markdown p:last-child { margin-bottom: 0; }
.markdown h1 { font-size: 22px; }
.markdown h2 { margin-top: 24px; font-size: 19px; }
.markdown h3 { margin-top: 20px; font-size: 16px; }
.markdown ul, .markdown ol { margin: 8px 0 14px; padding-left: 24px; }
.markdown li + li { margin-top: 5px; }
.markdown blockquote { margin: 14px 0; border-left: 3px solid var(--line-strong); padding: 3px 14px; color: var(--text-2); }
.markdown code { border-radius: 4px; padding: 2px 5px; background: var(--surface-2); font-size: .9em; }
.markdown pre { white-space: pre; }
.markdown pre code { padding: 0; background: transparent; }
.markdown img { max-width: 100%; }
.chat-empty { margin: auto; padding: 12vh 20px 0; text-align: center; }
.chat-empty h2 { font-size: 25px; }
.chat-empty p { color: var(--text-3); }

.composer {
  position: sticky;
  bottom: 14px;
  z-index: 15;
  display: grid;
  width: min(820px, 100%);
  max-width: 100%;
  margin: 0 auto;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: visible;
}
.composer > * { min-width: 0; margin-top: 0; }
.composer textarea { min-height: 44px; max-height: 240px; border: 0; border-radius: 7px 7px 0 0; padding: 12px 14px 6px; background: var(--surface); box-shadow: none; resize: none; }
.composer-actions { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: space-between; gap: 10px; border-radius: 0 0 7px 7px; padding: 3px 7px 7px; background: var(--surface); }
.composer-actions-left, .composer-actions-right { display: flex; min-width: 0; align-items: center; gap: 4px; }
.composer-actions-left { flex: 1 1 auto; overflow: hidden; }
.composer-actions-right { flex: 0 0 auto; margin-left: auto; padding-left: 6px; border-left: 1px solid var(--line); }
.composer-actions .attach-button, .composer-options > summary { border-color: transparent; background: transparent; color: var(--text-2); }
.composer-actions .attach-button:hover, .composer-options > summary:hover { border-color: transparent; background: var(--surface-2); color: var(--text); }
.composer-template-button { min-height: 32px; border-color: transparent; padding: 4px 8px; background: transparent; color: var(--text); font-size: 12px; white-space: nowrap; }
.composer-template-button:hover { border-color: transparent; background: var(--surface-2); color: var(--text); }
.composer-mode-select { width: auto; min-height: 32px; border: 0; padding: 4px 26px 4px 8px; background-color: transparent; color: var(--text-2); font-size: 12px; box-shadow: none; }
.composer-project-select { flex: 0 1 210px; width: auto; min-width: 0; max-width: 210px; min-height: 32px; border: 1px solid transparent; border-radius: 6px; padding: 4px 26px 4px 8px; background-color: var(--surface-2); color: var(--text-2); font-size: 12px; box-shadow: none; text-overflow: ellipsis; }
.composer-project-select:hover, .composer-project-select:focus { border-color: var(--line-strong); background-color: var(--surface-2); }
.composer-project-select:disabled { opacity: 1; }
.composer-options { position: relative; }
.composer-options:not([open]) .composer-options-menu { display: none; }
.composer-options > summary { width: 32px; height: 32px; min-height: 32px; list-style: none; font-size: 19px; }
.composer-options > summary::-webkit-details-marker { display: none; }
.composer-options-menu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30; display: grid; width: 230px; max-height: calc(100dvh - 24px); overflow-y: auto; gap: 10px; border: 1px solid var(--line); border-radius: 7px; padding: 12px; background: var(--surface); box-shadow: var(--shadow); }
.composer-options-menu label { margin: 0; color: var(--text-3); font-size: 11px; }
.composer-options-menu select { min-height: 34px; margin-top: 4px; }
.composer .send-button { width: 34px; height: 34px; min-height: 34px; margin-left: 2px; border-radius: 50%; padding: 0; font-size: 19px; }
.composer .stop-button { width: 34px; height: 34px; min-height: 34px; margin-left: 2px; border-radius: 50%; padding: 0; font-size: 12px; }
.composer .stop-button + .send-button { margin-left: 0; }
.composer.is-dragover { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.message[data-streaming="true"] .markdown { white-space: pre-wrap; }
.message:target { scroll-margin-block: 88px 140px; border-radius: 6px; outline: 2px solid var(--accent); outline-offset: 8px; animation: search-target-pulse 1.4s ease-out; }
@keyframes search-target-pulse {
  from { background: var(--accent-soft); }
  to { background: transparent; }
}

.artifact-workspace { min-height: calc(100vh - 32px); }
.artifact-workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 42%); min-height: calc(100vh - 108px); border-top: 1px solid var(--border); }
.artifact-editor-pane { min-width: 0; padding: 20px 24px 48px; }
.artifact-editor-pane form { max-width: 820px; margin: 0 auto; }
.artifact-editor-pane textarea { min-height: 60vh; font-family: inherit; line-height: 1.55; }
.artifact-preview-pane { min-width: 0; border-left: 1px solid var(--border); background: var(--surface-2); }
.artifact-version-list { padding: 16px; border-bottom: 1px solid var(--border); }
.artifact-version-list h2 { margin: 0 0 10px; font-size: 14px; }
.artifact-version-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 6px; color: var(--text); text-decoration: none; }
.artifact-version-row:hover, .artifact-version-row.is-active { background: var(--surface); }
.artifact-version-row span { color: var(--text-3); font-size: 12px; text-align: right; }
.artifact-live-preview { max-width: 760px; margin: 0 auto; padding: 28px 30px 60px; }
.attach-button { position: relative; overflow: hidden; }
.attach-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.attachment-preview, .selected-files { display: flex; min-width: 0; flex-wrap: wrap; gap: 6px; padding: 0 12px; }
.attachment-preview:empty, .selected-files:empty { display: none; }
.selected-file-chip { display: flex; min-width: 0; max-width: 100%; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; background: var(--surface-2); color: var(--text-2); font-size: 11px; }
.selected-knowledge-chip { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--accent-soft); }
.selected-file-name { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file-remove { width: 20px; height: 20px; min-height: 20px; border: 0; padding: 0; background: transparent; color: var(--text-3); font-size: 16px; }
.selected-file-remove:hover { border: 0; background: var(--surface-3); color: var(--text); }
.ai-thinking-pill-final { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); }
.ai-thinking-dots-final::after { content: "..."; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { opacity: .3; } to { opacity: 1; } }
.artifact-actions { font-size: 12px; }

.prompt-library-backdrop { position: fixed; inset: 0; z-index: 70; display: none; background: rgb(19 25 28 / 40%); }
.prompt-library-backdrop.is-open { display: block; }
.prompt-library-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  width: min(520px, 100vw);
  height: 100vh;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .18s ease;
}
.prompt-library-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.prompt-library-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 18px; }
.prompt-library-head h2 { margin: 0; font-size: 18px; }
.prompt-library-body { overflow: auto; padding: 14px 18px 24px; }
.prompt-library-search-row { position: sticky; top: -14px; z-index: 2; padding: 0 0 10px; background: var(--surface); }
.prompt-library-filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.prompt-library-filter-chip, .prompt-library-tag-button, .prompt-library-clear-tag { min-height: 28px; border-color: var(--line); border-radius: 999px; padding: 3px 9px; background: var(--surface-2); color: var(--text-2); font-size: 11px; }
.prompt-library-filter-chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }
.prompt-library-form { margin: 8px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.prompt-library-form.is-collapsed { display: none; }
.prompt-library-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.prompt-library-form-grid > * { margin-top: 0; }
.prompt-library-form textarea { min-height: 120px; }
.prompt-library-radio-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0; }
.prompt-library-radio-row label { display: flex; align-items: center; gap: 6px; margin: 0; }
.prompt-library-radio-row input { width: auto; }
.prompt-library-list { display: flex; flex-direction: column; gap: 9px; }
.prompt-library-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: var(--surface); }
.prompt-library-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.prompt-library-card-title { font-weight: 750; }
.prompt-library-card-meta, .prompt-library-card-author { color: var(--text-3); font-size: 10px; }
.prompt-library-card-content, .prompt-library-full-content { margin-top: 8px; color: var(--text-2); white-space: pre-wrap; }
.prompt-library-card-content { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.prompt-library-card-actions, .prompt-library-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.prompt-library-empty { padding: 25px 10px; color: var(--text-3); text-align: center; }
.prompt-library-active-tag-line:empty { display: none; }
body.drawer-is-open { overflow: hidden; }

.utility-drawer-backdrop { position: fixed; inset: 0; z-index: 70; display: none; background: rgb(19 25 28 / 40%); }
.utility-drawer-backdrop.is-open { display: block; }
.utility-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  width: min(440px, 100vw);
  height: 100vh;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .18s ease;
}
.utility-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.utility-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 18px; }
.utility-drawer-head h2 { margin: 0; font-size: 18px; }
.utility-drawer-body { overflow: auto; padding: 14px 18px 24px; }

.chat-knowledge-files-list { display: flex; flex-direction: column; gap: 8px; }
.drawer-material-section + .drawer-material-section { margin-top: 18px; }
.drawer-material-section h3 { margin: 0 0 4px; color: var(--text); font-size: 12px; }
.chat-knowledge-file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.chat-knowledge-file-main { min-width: 0; }
.chat-knowledge-file-title { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.chat-knowledge-file-meta { color: var(--text-3); font-size: 11px; }
.chat-knowledge-file-actions { display: flex; align-items: center; gap: 6px; }
.chat-knowledge-type-select { width: auto; min-width: 120px; }

input[type="file"] { padding: 6px; }
input[type="file"]::file-selector-button { min-height: 32px; margin-right: 10px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 5px 10px; background: var(--surface-2); color: var(--text); cursor: pointer; font-weight: 650; }

.search-results { border-top: 1px solid var(--line); padding: 0; overflow: hidden; }
.search-section { padding: 0; }
.search-section + .search-section { border-top: 1px solid var(--line-strong); }
.search-section > .muted { margin: 0; padding: 16px 14px; }
.search-result-type { display: flex; min-height: 38px; align-items: center; justify-content: space-between; margin: 0; padding: 9px 14px; background: var(--surface-2); color: var(--text-2); font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.search-result-type span { color: var(--text-3); font-variant-numeric: tabular-nums; }
.search-result-row { display: flex; min-width: 0; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 13px 14px; color: var(--text); text-decoration: none; }
.search-result-row:last-child { border-bottom: 0; }
.search-result-row:hover, .search-result-row:focus-visible { background: var(--surface-2); color: var(--text); }
.search-result-main { display: grid; min-width: 0; flex: 1; gap: 3px; }
.search-result-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-meta { overflow: hidden; color: var(--text-3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.search-snippet { display: -webkit-box; overflow: hidden; color: var(--text-2); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.search-snippet mark { border-radius: 3px; padding: 0 2px; background: var(--accent-soft); color: inherit; }
.search-result-arrow { flex: 0 0 auto; color: var(--text-3); font-size: 24px; line-height: 1; }

.login-card {
  width: min(420px, calc(100% - 32px));
  position: relative;
  top: 10dvh;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.login-card h1 { font-size: 24px; }
.fatal-error { width: min(640px, calc(100% - 32px)); margin: 15vh auto; text-align: center; }

@media (max-width: 980px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-layout-real { grid-template-columns: 1fr; }
  .project-side-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-side-panel .new-task-card { grid-column: 1 / -1; }
  .usage-reason-grid, .usage-dimension-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { display: block; }
  .app-sidebar { position: fixed; left: 0; transform: translateX(-102%); transition: transform .18s ease; box-shadow: var(--shadow); }
  body.sidebar-is-open .app-sidebar { transform: translateX(0); }
  .mobile-nav-button { display: inline-grid; }
  body.sidebar-is-open .mobile-nav-button { visibility: hidden; }
  .mobile-sidebar-close { display: inline-grid; width: 32px; height: 32px; min-height: 32px; flex: 0 0 32px; margin-left: 0; padding: 0; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 20; background: rgb(10 15 18 / 40%); }
  body.sidebar-is-open .sidebar-backdrop { display: block; }
  .main-inner { padding: 58px 14px 30px; }
  .grid, .projects-grid, .settings-grid, .admin-grid, .available-user-list, .admin-user-list { grid-template-columns: 1fr; }
  .page-header { display: block; }
  .page-header .actions { margin-top: 14px; }
  .workspace-index-actions { margin-top: 14px; }
  .project-card { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; }
  .project-card-main p { margin-bottom: 0; -webkit-line-clamp: 1; }
  .project-card-footer { align-items: flex-end; flex-direction: column; gap: 7px; margin-top: 0; }
  .project-side-panel { grid-template-columns: 1fr; }
  .project-overview-header { display: block; margin-bottom: 24px; }
  .project-overview-actions { position: relative; margin-top: 14px; }
  .project-new-chat-menu { position: static; }
  .project-new-chat-menu > form { right: 0; left: 0; width: auto; }
  .project-chat-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .project-chat-toolbar select { grid-column: 1 / -1; grid-row: 2; }
  .section-toolbar { display: block; }
  .section-toolbar .compact-search { margin-top: 12px; }
  .member-row { align-items: flex-start; }
  .chat-page { min-height: calc(100dvh - 88px); }
  .home-chat-page { min-height: calc(100dvh - 88px); }
  .home-chat-empty { padding-right: 0; padding-left: 0; }
  .home-prompt-starters { grid-template-columns: 1fr; }
  .composer-project-select { flex-basis: 126px; max-width: 126px; }
  .chat-header { top: 0; padding-top: 0; padding-left: 44px; }
  .chat-header h1 { max-width: 100%; }
  .messages { max-width: 100%; gap: 22px; padding: 26px 2px 106px; }
  .messages > :last-child { scroll-margin-bottom: 112px; }
  .message-user { max-width: 92%; }
  .message-assistant { padding-right: 0; }
  .composer { bottom: 4px; }
  .composer textarea { min-height: 42px; max-height: 160px; padding: 10px 12px 5px; }
  .composer-actions { min-height: 38px; padding: 2px 6px 6px; }
  .composer-actions { gap: 6px; }
  .composer-actions-left, .composer-actions-right { gap: 2px; }
  .composer-actions-right { padding-left: 4px; }
  .composer-template-button { padding-right: 7px; padding-left: 7px; font-size: 11px; }
  .composer .send-button { width: 32px; height: 32px; min-height: 32px; }
  .composer .stop-button { width: 32px; height: 32px; min-height: 32px; }
  .composer-options-menu { width: min(230px, calc(100vw - 28px)); }
  .composer:not(.home-composer) .composer-options-menu { right: 0; left: auto; transform: none; }
  .artifact-workspace-grid { grid-template-columns: 1fr; }
  .artifact-preview-pane { border-top: 1px solid var(--border); border-left: 0; }
  .artifact-editor-pane { padding: 14px 12px 28px; }
  .artifact-live-preview { padding: 20px 16px 40px; }
  .chat-knowledge-file-row { align-items: flex-start; flex-direction: column; }
  .prompt-library-form-grid { grid-template-columns: 1fr; }
  .markdown table { display: block; width: 100%; max-width: 100%; overflow-x: auto; white-space: nowrap; }
  .usage-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usage-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usage-insights { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .composer-actions .attach-button { width: 32px; height: 32px; min-height: 32px; }
  .home-composer .composer-project-select { flex: 1 1 56px; max-width: none; }
  .usage-summary-grid, .usage-filter-form { grid-template-columns: 1fr; }
  .usage-summary-grid .admin-stat { min-height: 0; }
  .usage-breakdown-row { grid-template-columns: minmax(130px, 1fr) 70px; }
  .usage-breakdown-row .usage-breakdown-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}
