:root {
  --ink: #18231f;
  --ink-soft: #34413c;
  --paper: #f4f5f2;
  --surface: #ffffff;
  --line: #cbd4cf;
  --line-soft: #e4e9e6;
  --green: #176b55;
  --green-dark: #0f4f3e;
  --mint: #ddefe8;
  --amber: #d98b18;
  --amber-soft: #fff1d5;
  --blue: #2c6e9f;
  --blue-soft: #e4eff7;
  --red: #b7473d;
  --red-soft: #fbe9e6;
  --violet: #66559d;
  --muted: #6c7772;
  --shadow: 0 10px 30px rgba(24, 35, 31, 0.08);
  --header-height: 68px;
  font-family: Inter, "Noto Sans SC", "Noto Sans JP", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--muted);
}

.loading-mark,
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.login-panel {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.login-brand > div:last-child {
  display: grid;
  gap: 2px;
}

.login-brand strong {
  font-size: 15px;
}

.login-brand span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.login-copy {
  margin: 40px 0 22px;
}

.login-copy h1 {
  margin: 5px 0 0;
  font-size: 28px;
}

.app-shell {
  min-height: 100vh;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(235px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  color: #fff;
  background: var(--neko-strong);
  border-bottom: 3px solid var(--amber);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.brand-copy span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-copy strong {
  font-size: 14px;
}

.brand-copy span {
  color: #b9c6c0;
  font-size: 11px;
}

.primary-nav,
.header-actions,
.heading-actions {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: 4px;
}

.nav-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  color: #cbd4cf;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.nav-button img,
.header-actions img,
.primary-button img,
.secondary-button img,
.text-button img,
.icon-button img,
.search-field img {
  width: 18px;
  height: 18px;
}

.nav-button img,
.app-header .icon-button img {
  filter: invert(94%) sepia(7%) saturate(135%) hue-rotate(98deg) brightness(91%);
}

.nav-button:hover {
  color: #fff;
  background: #2a3832;
}

.nav-button.is-active {
  color: var(--ink);
  background: var(--amber);
}

.nav-button.is-active img {
  filter: none;
}

.header-actions {
  min-width: 0;
  justify-content: flex-end;
  gap: 8px;
}

.header-actions select {
  width: min(180px, 16vw);
  min-width: 110px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #53615b;
  border-radius: 4px;
  color: #f4f7f5;
  background: #26332e;
  font-size: 11px;
  font-weight: 700;
}

.current-user {
  max-width: 130px;
  overflow: hidden;
  color: #dbe3df;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-header-button {
  height: 32px;
  padding: 0 4px;
  border: 0;
  color: #dbe3df;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.primary-button {
  border: 0;
  color: #fff;
  background: var(--green);
}

.primary-button:hover {
  background: var(--green-dark);
}

.primary-button.wide {
  width: 100%;
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

.secondary-button:hover {
  border-color: var(--green);
}

.secondary-button.compact {
  min-height: 34px;
  padding: 5px 10px;
}

.text-button {
  padding-inline: 4px;
  border: 0;
  color: var(--green);
  background: transparent;
}

.text-button.danger {
  color: var(--red);
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: inherit;
  background: #34413c;
}

.icon-button.subtle {
  border: 1px solid var(--line-soft);
  background: var(--paper);
}

.icon-button.subtle img {
  filter: none;
}

.status-badge {
  min-width: 64px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 4px 8px;
  border-radius: 14px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-badge.is-danger {
  color: var(--red);
  background: var(--red-soft);
}

.status-badge.is-warning {
  color: #84530d;
  background: var(--amber-soft);
}

.status-badge.is-neutral {
  color: #dbe3df;
  background: #34413c;
}

.reload-banner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 24px;
  border-bottom: 1px solid #eed39d;
  background: var(--amber-soft);
}

.reload-banner > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.reload-banner span {
  color: #765d31;
  font-size: 12px;
}

.workspace {
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 28px 30px 52px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.view-heading {
  min-height: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.view-heading.compact {
  align-items: center;
}

.view-heading h1 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.15;
}

.view-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.eyebrow,
.section-index {
  margin: 0;
  color: var(--amber);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.metric-card {
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  background: var(--surface);
}

.metric-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 25px;
  line-height: 1;
}

.metric-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.workspace-panel {
  min-width: 0;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.panel-heading {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.panel-heading h2,
.license-band h2,
.dialog-heading h2 {
  margin: 3px 0 0;
  font-size: 17px;
}

.fact-list {
  margin: 0;
}

.fact-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.fact-list dt {
  color: var(--muted);
  font-size: 12px;
}

.fact-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

.activity-list {
  display: grid;
}

.activity-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.activity-item time {
  color: var(--muted);
  font-size: 10px;
}

.activity-item strong {
  display: block;
  font-size: 12px;
}

.activity-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.table-toolbar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search-field {
  width: min(360px, 100%);
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.search-field img {
  opacity: 0.65;
}

.search-field input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.filtered-count {
  color: var(--muted);
  font-size: 11px;
}

.table-frame {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  background: var(--neko-subtle);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

td.numeric,
th.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

tbody tr:hover {
  background: var(--neko-subtle);
}

.primary-cell {
  display: grid;
  gap: 3px;
}

.primary-cell strong {
  font-size: 12px;
}

.primary-cell span,
.muted {
  color: var(--muted);
  font-size: 10px;
}

.action-column {
  width: 1%;
  white-space: nowrap;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.row-actions .icon-button {
  width: 32px;
  height: 32px;
  background: var(--paper);
}

.row-actions .icon-button img {
  width: 16px;
  height: 16px;
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
}

.empty-state img {
  width: 28px;
  height: 28px;
  opacity: 0.55;
}

.license-band {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 22px;
  border-left: 4px solid var(--amber);
  background: var(--surface);
}

.license-band p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  min-width: 0;
}

label > span,
legend {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(23, 107, 85, 0.22);
  border-color: var(--green);
}

input:disabled {
  color: var(--muted);
  background: var(--paper);
}

fieldset {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
}

.checkbox-field span {
  margin: 0;
}

.form-error {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-left: 3px solid var(--red);
  color: var(--red);
  background: var(--red-soft);
  font-size: 12px;
}

dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(24, 35, 31, 0.48);
}

dialog > form,
dialog > div:not(.dialog-heading):not(.dialog-footer) {
  margin: 0;
}

.dialog-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

dialog form > .form-grid,
dialog form > .form-stack,
dialog form > fieldset,
dialog form > .form-error {
  margin-inline: 20px;
}

dialog form > .form-grid,
dialog form > .form-stack {
  margin-top: 18px;
}

.dialog-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}

.secret-dialog {
  width: min(620px, calc(100vw - 32px));
}

.secret-content {
  padding: 20px;
}

.secret-content code,
.secret-content pre {
  display: block;
  max-height: 300px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.secret-content p {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 40px));
  padding: 11px 14px;
  border-radius: 4px;
  color: #fff;
  background: var(--ink-soft);
  box-shadow: var(--shadow);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .app-header {
    grid-template-columns: 210px 1fr;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    order: 3;
  }

  .app-header {
    padding-bottom: 8px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 760px) {
  .app-header {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    flex: 1;
  }

  .brand-copy span,
  .current-user,
  #engine-status {
    display: none;
  }

  .header-actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .header-actions select {
    width: auto;
    flex: 1;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-button {
    flex: 0 0 auto;
  }

  .workspace {
    padding: 20px 14px 40px;
  }

  .table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
  }

  .filtered-count {
    align-self: flex-end;
  }

  .table-frame {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table,
  tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 10px;
  }

  tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
  }

  tbody tr:hover {
    background: var(--surface);
  }

  tbody td {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
    overflow-wrap: anywhere;
  }

  tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
  }

  tbody td:first-child,
  tbody td.action-column {
    grid-column: 1 / -1;
  }

  tbody td.numeric {
    text-align: left;
  }

  tbody td.action-column {
    width: auto;
    border-bottom: 0;
  }

  tbody td.action-column::before {
    display: none;
  }

  tbody td.action-column .row-actions {
    justify-content: flex-end;
  }

  .metric-grid,
  .overview-grid,
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .view-heading {
    min-height: 0;
    align-items: flex-start;
  }

  .view-heading.compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-heading h1 {
    font-size: 23px;
  }

  .reload-banner,
  .reload-banner > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .reload-banner {
    padding: 12px 14px;
  }

  .license-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .fact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  dialog {
    max-height: calc(100vh - 20px);
  }
}

/* neko-tail theme:start */
:root{--neko-bg:#f7f8fa;--neko-panel:#ffffff;--neko-subtle:#f0f4f3;--neko-ink:#263c3f;--neko-muted:#64787b;--neko-line:#e2e8e8;--neko-line-strong:#c4d2cf;--neko-accent:#267166;--neko-accent-hover:#1c5c53;--neko-soft:#eaf3ef;--neko-on-accent:#ffffff;--neko-strong:#263c3f;--neko-shadow:0 12px 36px #193d3514;--neko-scheme:light;--neko-icon-filter:none}
:root[data-neko-theme=dark]{--neko-bg:#141d20;--neko-panel:#1d282c;--neko-subtle:#233237;--neko-ink:#dfebe6;--neko-muted:#a3b4b4;--neko-line:#2c3b3f;--neko-line-strong:#465f61;--neko-accent:#a4d5c2;--neko-accent-hover:#bfe5d6;--neko-soft:#263e38;--neko-on-accent:#173b32;--neko-strong:#101a1e;--neko-shadow:0 12px 36px #00000033;--neko-scheme:dark;--neko-icon-filter:invert(.85)}
@media(prefers-color-scheme:dark){:root:not([data-neko-theme=light]){--neko-bg:#141d20;--neko-panel:#1d282c;--neko-subtle:#233237;--neko-ink:#dfebe6;--neko-muted:#a3b4b4;--neko-line:#2c3b3f;--neko-line-strong:#465f61;--neko-accent:#a4d5c2;--neko-accent-hover:#bfe5d6;--neko-soft:#263e38;--neko-on-accent:#173b32;--neko-strong:#101a1e;--neko-shadow:0 12px 36px #00000033;--neko-scheme:dark;--neko-icon-filter:invert(.85)}
}
/* Neko-tail service foundation. Application layout and semantic states stay local. */
:root {
  --bg:var(--neko-bg);--bg-muted:var(--neko-subtle);--paper:var(--neko-bg);--canvas:var(--neko-bg);
  --surface:var(--neko-panel);--surface-strong:var(--neko-panel);--surface-muted:var(--neko-subtle);
  --ink:var(--neko-ink);--ink-soft:var(--neko-muted);--text:var(--neko-ink);--muted:var(--neko-muted);
  --line:var(--neko-line);--line-soft:var(--neko-line);--line-strong:var(--neko-line-strong);
  --accent:var(--neko-accent);--accent-strong:var(--neko-accent-hover);--accent-dark:var(--neko-accent-hover);--accent-soft:var(--neko-soft);
  --shadow:var(--neko-shadow);--radius:8px;--radius-lg:12px;
  color:var(--neko-ink);background:var(--neko-bg);color-scheme:var(--neko-scheme);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Noto Sans JP",sans-serif;
}
body{background:var(--neko-bg);color:var(--neko-ink);font-family:inherit}
:where(button,input,select,textarea){font-family:inherit}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--neko-accent);outline-offset:3px}
input[type=checkbox],input[type=radio]{accent-color:var(--neko-accent)}
:where(.primary-button,.button.primary,button.primary,.login .button){background:var(--neko-accent);border-color:var(--neko-accent);color:var(--neko-on-accent);border-radius:8px}
:where(.primary-button,.button.primary,button.primary,.login .button):hover{background:var(--neko-accent-hover);color:var(--neko-on-accent)}
.text-button,.today-button{color:var(--neko-accent)}
dialog{background:var(--neko-panel);color:var(--neko-ink);border-color:var(--neko-line);border-radius:12px;box-shadow:var(--neko-shadow)}
dialog::backdrop{background:#10252480;backdrop-filter:blur(3px)}
.neko-theme-toggle.neko-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;width:34px;height:34px;min-height:34px;min-width:34px;padding:0;border:1px solid var(--neko-line);border-radius:8px;background:var(--neko-panel);color:var(--neko-ink);box-shadow:none;cursor:pointer;font:16px/1 sans-serif;vertical-align:middle}
.neko-theme-toggle:hover{background:var(--neko-soft);border-color:var(--neko-accent)}
.neko-theme-toggle svg{width:17px;height:17px;display:block}
.neko-theme-toggle[data-neko-placement=standalone]{position:absolute;top:18px;right:18px;z-index:10}
.neko-theme-toggle[data-neko-placement=inline]{margin-inline-start:auto}
@media(prefers-reduced-motion:reduce){.neko-theme-toggle{transition:none}}

.app-header{background:var(--neko-panel);color:var(--neko-ink);border-bottom:1px solid var(--neko-line)}
.brand-mark,.loading-mark{background:var(--neko-accent);color:var(--neko-on-accent);border-radius:10px}
.brand-copy span,.current-user,.text-header-button{color:var(--neko-muted)}
.nav-button{color:var(--neko-muted);border-radius:8px}.nav-button:hover,.nav-button.is-active{color:var(--neko-accent);background:var(--neko-soft)}
.app-header .icon-button,.header-actions select{color:var(--neko-ink);background:var(--neko-subtle);border-color:var(--neko-line)}
.nav-button img,.nav-button.is-active img,.app-header .icon-button img,.secondary-button img,.search-field img{filter:var(--neko-icon-filter)}
.primary-button{color:var(--neko-on-accent);background:var(--neko-accent);border-radius:8px}.primary-button:hover{background:var(--neko-accent-hover)}
.primary-button img{filter:invert(1)}:root[data-neko-theme=dark] .primary-button img{filter:none}
.secondary-button,input,select,textarea{border-radius:8px}.login-panel,.panel,.metric-card{border-radius:12px}.login-panel{border-top:1px solid var(--neko-line)}
.toast{background:var(--neko-strong);color:#fff}
.icon-button img,.text-button img{filter:var(--neko-icon-filter)}

/* neko-tail theme:end */
