@font-face {
  font-family: system;
  src: local("Inter");
}
:root {
  --paper: #f7f8f5;
  --surface: #fff;
  --ink: #202b28;
  --muted: #626d67;
  --line: #dfe4de;
  --green: #235846;
  --soft: #eaf0e8;
  --sage: #d4e2ce;
  --warm: #f1ecdf;
  --danger: #a43d35;
  --spotlight: #192f34;
  --spotlight-ink: #f5f8f5;
  --spotlight-muted: #b4cdc8;
  --match-line: #a5bdb1;
  --gsj-motion-xs: 80ms;
  --gsj-motion-sm: 120ms;
  --gsj-motion-md: 200ms;
  --gsj-motion-lg: 320ms;
  --gsj-motion-reveal: 260ms;
  --gsj-motion-stat: 280ms;
  --gsj-motion-refresh: 150ms;
  --gsj-ease-out: cubic-bezier(0,0,.2,1);
  --gsj-ease-in: cubic-bezier(.4,0,1,1);
  --gsj-ease-std: cubic-bezier(.4,0,.2,1);
  --gsj-ease-pop: cubic-bezier(.34,1.56,.64,1);
  --gsj-fs-body: 15px;
  --gsj-fs-meta: 13px;
  --gsj-fs-tiny: 12px;
  --radius: 10px;
  --sidebar: 220px;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    var(--gsj-fs-body)/1.6 system,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background var(--gsj-motion-sm) var(--gsj-ease-std),
    color var(--gsj-motion-sm) var(--gsj-ease-std),
    border-color var(--gsj-motion-sm) var(--gsj-ease-std);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
button:active:not(:disabled) {
  filter: brightness(0.94);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -1.4px;
}
h2 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
  font-weight: 550;
}
small {
  font-size: var(--gsj-fs-tiny);
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  stroke-width: 1.65;
}
.skip {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.skip:not(:focus) { clip-path:inset(50%); width:1px; height:1px; padding:0; overflow:hidden; }
.boot {
  margin: 15vh auto;
  text-align: center;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 31px 18px 18px;
  background: #f2f4ef;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  margin-bottom: 36px;
}
.brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.brand strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 2px;
}
.brand small {
  display: block;
  font: 9px var(--mono);
  letter-spacing: 1.7px;
  color: var(--muted);
}
.nav-label {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  padding: 17px 14px 9px;
  letter-spacing: 1px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  margin-bottom: 4px;
  border-radius: 6px;
  font-size: 14px;
  color: #536059;
}
.nav-item:hover {
  background: #e8ede5;
}
.nav-item.active {
  background: #e0e9dc;
  color: #234a38;
  font-weight: 550;
}
.nav-item .count {
  margin-left: auto;
  font: 11px var(--mono);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-end {
  margin-top: auto;
}
.sidebar-note {
  padding: 16px 12px;
  border-top: 1px solid var(--line);
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
}
.profile-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 12px;
  background: transparent;
  text-align: left;
  border-radius: 6px;
}
.profile-button:hover {
  background: #e8ede5;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dfe7d9;
  display: grid;
  place-items: center;
  font-size: var(--gsj-fs-tiny);
  color: var(--green);
  flex-shrink: 0;
}
.profile-button strong {
  font-size: var(--gsj-fs-meta);
  font-weight: 500;
  display: block;
}
.profile-button small {
  color: var(--muted);
}
.shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--paper);
  gap: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: var(--gsj-fs-meta);
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.global-search {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  height: 37px;
  min-width: 222px;
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
}
.global-search kbd {
  margin-left: auto;
  font: 10px var(--mono);
  padding: 2px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.mode {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mode:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #8b9f70;
  border-radius: 50%;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
}
.icon-btn:hover {
  background: var(--soft);
}
.menu-toggle {
  display: none;
}
.main {
  max-width: 1550px;
  margin: auto;
  padding: 40px 44px 64px;
  min-height: calc(100vh - 74px);
}
.eyebrow {
  font: 10px var(--mono);
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading .eyebrow {
  margin-bottom: 10px;
}
.sub {
  color: var(--muted);
  font-size: var(--gsj-fs-body);
  margin-top: 10px;
  max-width: 700px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: var(--gsj-fs-meta);
  font-weight: 500;
  white-space: nowrap;
}
.button:hover {
  background: #eef2ec;
  border-color: #b5c1b4;
}
.button.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.button.primary:hover {
  background: var(--green);
  border-color: var(--green);
}
.button.green {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.button.quiet {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  color: var(--green);
}
.button.danger {
  color: var(--danger);
}
.button.small {
  min-height: 34px;
  padding: 5px 12px;
  font-size: var(--gsj-fs-tiny);
}
.inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--mono);
  font-size: var(--gsj-fs-tiny);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  white-space: nowrap;
}
.badge {
  font-size: var(--gsj-fs-tiny);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: var(--soft);
  color: var(--green);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.badge.amber {
  background: #f3eddd;
  color: #85632b;
}
.badge.grey {
  background: #edf0ec;
  color: #626d67;
}
.badge.red {
  background: #f6e7e4;
  color: #a43d35;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-pad {
  padding: 26px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 18px;
  gap: 12px;
}
.section-heading h2 {
  font-size: 19px;
}
.section-heading .eyebrow {
  font-size: 9px;
}
.section-heading a {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footnote {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  margin-top: 18px;
}
.demo-notice {
  font-size: var(--gsj-fs-tiny);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #f0f2ec;
  padding: 7px 40px;
  display: flex;
  justify-content: space-between;
}
.demo-notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #e9eee3;
  min-height: 267px;
  border: 1px solid #dce3d5;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.hero-copy {
  padding: 36px;
}
.hero .eyebrow {
  color: #586d51;
}
.hero h2 {
  font-size: 37px;
  line-height: 1.45;
  margin: 12px 0;
  color: #243b2d;
  letter-spacing: -1.5px;
}
.hero-copy p {
  font-size: var(--gsj-fs-meta);
  color: #5a6858;
  max-width: 410px;
}
.hero .button {
  margin-top: 22px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.orbit {
  width: 230px;
  height: 230px;
  border: 1px solid #b7c8ad;
  border-radius: 50%;
  position: absolute;
  transform: rotate(-20deg);
}
.orbit:after {
  content: "";
  position: absolute;
  inset: 27px;
  border: 1px dashed #bdcdb5;
  border-radius: 50%;
}
.artifact-card {
  position: relative;
  width: 216px;
  height: 183px;
  background: #fdfefb;
  border: 1px solid #c7d3c0;
  border-radius: 4px;
  transform: rotate(-5deg);
  padding: 20px;
  box-shadow: 8px 10px 0 #d0dcc7;
}
.artifact-card .eyebrow {
  font-size: 8px;
}
.artifact-card h3 {
  font-size: 16px;
  margin-top: 8px;
}
.artifact-card .rule {
  height: 1px;
  background: var(--line);
  margin: 15px 0;
}
.artifact-card .row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 9px;
}
.seal {
  position: absolute;
  bottom: 18px;
  right: 19px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #729566;
  display: grid;
  place-items: center;
  font: 9px var(--mono);
  color: #507649;
  transform: rotate(-15deg);
}
.orbit-label {
  position: absolute;
  background: #e9eee3;
  padding: 3px 9px;
  font: 10px var(--mono);
  color: #637658;
}
.orbit-label.top {
  top: 28px;
  right: 33px;
}
.orbit-label.bottom {
  bottom: 24px;
  left: 19px;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.metric {
  padding: 0 26px;
  border-right: 1px solid var(--line);
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border-right: 0;
}
.metric .value {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}
.metric small {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
}
.metric .hint {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  margin-top: 3px;
}
.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.task-row:last-child {
  border-bottom: 0;
}
.task-row-title {
  font-size: 14px;
  display: block;
}
.task-row small {
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
}
.task-symbol {
  width: 37px;
  height: 37px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--green);
  flex-shrink: 0;
}
.home-task {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-columns .agent-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.agent-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition:
    border-color var(--gsj-motion-sm) var(--gsj-ease-std),
    background var(--gsj-motion-sm) var(--gsj-ease-std),
    transform var(--gsj-motion-md) var(--gsj-ease-out),
    box-shadow var(--gsj-motion-md) var(--gsj-ease-out);
}
.agent-card:hover {
  border-color: #a7b9a1;
  background: #fdfefc;
}
.agent-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.agent-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.agent-glyph {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 23px;
  font-weight: 400;
}
.agent-card h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.agent-card .desc {
  color: var(--muted);
  font-size: var(--gsj-fs-meta);
  padding-top: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.agent-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.agent-card-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
}
.agent-card-bottom b {
  font-weight: 600;
  color: var(--ink);
  font-size: 20px;
}
.agent-card a.stretched {
  display: block;
}
.editorial-note {
  padding: 25px 22px;
  background: var(--warm);
  border: 1px solid #e3ddcd;
  border-radius: 9px;
}
.editorial-note h3 {
  font-size: 17px;
  margin: 15px 0 10px;
  line-height: 1.6;
}
.editorial-note p {
  font-size: var(--gsj-fs-tiny);
  color: #69665b;
  line-height: 1.9;
}
.editorial-note a {
  font-size: var(--gsj-fs-tiny);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.news-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--gsj-fs-meta);
}
.news-item small {
  display: block;
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 6px;
}
.news-item p {
  line-height: 1.8;
}
.mini-flow {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 19px;
  color: var(--muted);
  font-size: 10px;
  flex-wrap: wrap;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search-box .icon {
  position: absolute;
  left: 13px;
  top: 13px;
  color: var(--muted);
}
.search-box input {
  width: 100%;
  padding: 10px 13px 10px 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-size: var(--gsj-fs-meta);
  min-height: 44px;
}
.tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin: 22px 0;
  overflow-x: auto;
}
.tab {
  min-height: 45px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
  font-size: var(--gsj-fs-meta);
  transition: color var(--gsj-motion-md) var(--gsj-ease-std),
    border-color var(--gsj-motion-md) var(--gsj-ease-std),
    background var(--gsj-motion-md) var(--gsj-ease-std);
}
.tab.active {
  border-bottom-color: var(--green);
  color: var(--green);
  font-weight: 550;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--gsj-fs-meta);
  text-align: left;
}
th {
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
  font-weight: 500;
  white-space: nowrap;
  background: #f5f7f2;
}
th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
td.title {
  min-width: 230px;
}
td.title a {
  font-weight: 500;
}
td.title small {
  display: block;
  color: var(--muted);
  font: 10px var(--mono);
  margin-top: 4px;
}
.row-button {
  color: var(--green);
  background: transparent;
  border: 0;
  min-height: 40px;
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty h3 {
  color: var(--ink);
  margin: 12px 0 8px;
}
.empty p {
  font-size: var(--gsj-fs-meta);
}
.empty .button {
  margin-top: 20px;
}
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
}
.field label {
  font-size: var(--gsj-fs-tiny);
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ced6cc;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 44px;
  font-size: var(--gsj-fs-meta);
  transition: border-color var(--gsj-motion-md) var(--gsj-ease-std);
}
.field :is(input, select, textarea):focus {
  border-color: var(--green);
}
.field textarea {
  resize: vertical;
  min-height: 95px;
}
.field .error {
  color: var(--danger);
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.field small {
  font-size: var(--gsj-fs-tiny);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.span2 {
  grid-column: 1/-1;
}
.filter-count {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  margin: 12px 0;
}
.record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
}
.record-card {
  padding: 23px;
  margin-bottom: 14px;
}
.record-card h3 {
  font-size: var(--gsj-fs-body);
  margin: 7px 0 11px;
}
.record-card p {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
}
.record-card .mono {
  font-size: 10px;
}
.record-card footer {
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.record-side {
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.record-side h3 {
  margin: 8px 0 18px;
}
.record-side ol {
  padding-left: 16px;
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
  line-height: 2.2;
}
.definition {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 13px;
  font-size: var(--gsj-fs-meta);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.definition dt {
  color: var(--muted);
}
.definition dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.code {
  background: #f2f5ef;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 17px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 11px/1.9 var(--mono);
  max-height: 400px;
  overflow: auto;
}
.details-summary {
  cursor: pointer;
  color: var(--green);
  padding: 14px 0;
  font-size: var(--gsj-fs-meta);
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 23px;
  align-items: start;
}
.conversation {
  padding: 28px;
  min-height: 440px;
  max-height: 600px;
  overflow: auto;
}
.message {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.message:last-child {
  border: 0;
}
.message .by {
  font-size: var(--gsj-fs-tiny);
  font-weight: 550;
  color: var(--green);
  margin-bottom: 7px;
}
.message p {
  font-size: var(--gsj-fs-meta);
  white-space: pre-wrap;
  line-height: 1.9;
}
.message.user .by {
  color: var(--muted);
}
.composer {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.composer textarea {
  width: 100%;
  border: 0;
  resize: vertical;
  min-height: 75px;
  padding: 4px 0;
  background: transparent;
  font-size: var(--gsj-fs-meta);
  outline-offset: 8px;
}
.composer footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 12px;
}
.composer small {
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
}
.requirement-panel {
  padding: 23px;
}
.requirement-panel h3 {
  margin-bottom: 16px;
}
.requirement-item {
  margin: 17px 0;
}
.requirement-item small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}
.requirement-item p {
  font-size: var(--gsj-fs-tiny);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.file-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: var(--gsj-fs-tiny);
  min-width: 0;
}
.file-row span {
  overflow-wrap: anywhere;
}
.file-row small {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 22px 0 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.step {
  display: flex;
  align-items: center;
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  gap: 8px;
  white-space: nowrap;
}
.step i {
  font: 10px var(--mono);
  font-style: normal;
  border: 1px solid #c5cec0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.step.done {
  color: var(--green);
}
.step.done i {
  background: var(--soft);
  border-color: #9bb38e;
}
.step-line {
  width: 32px;
  height: 1px;
  background: var(--line);
  margin: 0 12px;
}
.delivery {
  padding: 23px;
  background: #f0f4eb;
  border-top: 1px solid var(--line);
}
.delivery h3 {
  margin-bottom: 8px;
}
.delivery p {
  font-size: var(--gsj-fs-tiny);
  color: var(--muted);
  margin-bottom: 18px;
}
.notice {
  padding: 13px 17px;
  background: var(--warm);
  border: 1px solid #e3ddcd;
  border-radius: 6px;
  font-size: var(--gsj-fs-tiny);
  color: #6d634b;
  margin: 17px 0;
}
.notice.error {
  background: #f7ebe7;
  border-color: #e6cdc6;
  color: var(--danger);
}
.bounty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.bounty-card {
  padding: 26px;
}
.bounty-card h3 {
  margin: 18px 0 10px;
  line-height: 1.6;
}
.bounty-card p {
  font-size: var(--gsj-fs-meta);
  color: var(--muted);
  min-height: 50px;
}
.bounty-card footer {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.budget {
  font: 24px var(--mono);
  letter-spacing: -1px;
}
.budget small {
  font: 11px system;
  color: var(--muted);
  margin-left: 6px;
}
.developer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.handshake-form {
  padding: 28px;
}
.handshake-form .field {
  margin-bottom: 19px;
}
.handshake-form h3 {
  margin: 10px 0 24px;
}
.protocol-panel {
  padding: 25px;
  background: #edf1e8;
}
.protocol-panel ol {
  padding-left: 20px;
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
  line-height: 1.8;
}
.protocol-panel li {
  padding: 8px 0;
}
.protocol-panel strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.attempt-row {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: var(--gsj-fs-meta);
}
.attempt-row:last-child {
  border: 0;
}
.attempt-row .mono {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.map-wrap {
  padding: 26px;
}
.map {
  width: 100%;
  height: auto;
  min-height: 250px;
}
.zone-legend {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: var(--gsj-fs-tiny);
  margin-top: 15px;
}

.range {
  width: 100%;
  accent-color: var(--green);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.skeleton {
  height: 150px;
  border-radius: 9px;
  background: #e9ede6;
  animation: pulse 1.3s ease-in-out infinite;
}
.loading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.swatches {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
.swatch {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.swatch small {
  position: absolute;
  top: 64px;
  font: 9px var(--mono);
  color: var(--muted);
  left: 0;
}
.spec-block {
  padding: 26px;
  margin-bottom: 25px;
}
.spec-block ul {
  padding-left: 17px;
  color: var(--muted);
  font-size: var(--gsj-fs-meta);
  line-height: 2;
}
.spec-block p {
  font-size: var(--gsj-fs-meta);
  color: var(--muted);
  line-height: 1.9;
}
.spec-block h3 {
  margin-bottom: 15px;
}
.spec-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.spec-block code {
  font: 11px var(--mono);
}
.spec-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.spec-flow span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: var(--gsj-fs-tiny);
  background: white;
  border-radius: 4px;
}
dialog {
  border: 1px solid #cbd5c7;
  border-radius: 12px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  width: min(680px, calc(100% - 32px));
  max-height: 88vh;
  box-shadow: 0 24px 80px #15231a30;
}
dialog::backdrop {
  background: #15231a55;
  backdrop-filter: blur(2px);
}
.modal-head {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-size: 19px;
}
.modal-body {
  padding: 25px;
  overflow-wrap: anywhere;
}
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--ink);
  color: white;
  border-radius: 7px;
  padding: 12px 20px;
  font-size: var(--gsj-fs-meta);
  z-index: 100;
  max-width: 90%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--gsj-motion-md) var(--gsj-ease-out),
    transform var(--gsj-motion-md) var(--gsj-ease-out),
    visibility 0s var(--gsj-motion-md);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}
.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;
}
.app-footer {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 10px var(--mono);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}
@media (min-width: 1550px) {
  .main {
    padding: 45px 60px;
  }
  .hero h2 {
    font-size: 43px;
  }
  .hero {
    min-height: 295px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 220px;
  }
  .main {
    padding: 30px;
  }
  .topbar {
    padding: 0 30px;
  }
  .home-columns {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 22px;
  }
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy {
    padding: 28px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero-art {
    transform: scale(0.9);
  }
  .workspace-grid,
  .developer-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 18px;
  }
  .global-search {
    min-width: 190px;
  }
  .record-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
}
@media (max-width: 1000px) {
  .home-columns {
    grid-template-columns: 1fr;
  }
  .home-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
  .record-layout,
  .workspace-grid,
  .developer-grid,
  .capability-layout {
    grid-template-columns: 1fr;
  }
  .record-side {
    position: static;
  }
  .filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .global-search {
    min-width: 170px;
  }
  .top-actions {
    gap: 10px;
  }
  .mode {
    display: none;
  }
  .bounty-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 220px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--gsj-motion-md) var(--gsj-ease-std),
      box-shadow var(--gsj-motion-md) var(--gsj-ease-std);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 80px #202b2830;
  }
  .shell {
    margin-left: 0;
  }
  .menu-toggle {
    display: grid;
  }
  .topbar {
    height: 64px;
    padding: 0 20px;
  }
  .breadcrumb {
    gap: 8px;
  }
  .global-search {
    min-width: 0;
    width: 38px;
    padding: 0;
    justify-content: center;
  }
  .global-search span,
  .global-search kbd {
    display: none;
  }
  .main {
    padding: 26px 22px 40px;
  }
  .demo-notice {
    padding: 8px 22px;
    gap: 10px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero-art {
    transform: scale(0.8);
    margin-left: -28px;
  }
  .hero {
    min-height: 265px;
  }
  .page-heading {
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading .button {
    padding: 9px 12px;
  }
  .home-aside,
  .settings-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .home-columns .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 0 15px;
  }
  .metric .value {
    font-size: 24px;
  }
  .toolbar {
    gap: 10px;
  }
  .tag {
    font-size: 10px;
  }
  .developer-grid {
    gap: 20px;
  }
  .step-line {
    width: 18px;
    margin: 0 7px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: 1;
  }
  .app-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .main {
    padding: 23px 17px 40px;
  }
  .topbar {
    padding: 0 14px;
  }
  .demo-notice {
    padding: 8px 17px;
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero-copy {
    padding: 26px;
  }
  .hero-copy p {
    font-size: var(--gsj-fs-tiny);
  }
  .agent-grid,
  .home-columns .agent-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .metric small {
    font-size: 10px;
  }
  .metric .value {
    font-size: 23px;
  }
  .metric .hint {
    font-size: 10px;
  }
  .metric {
    padding: 0 11px;
  }
  .home-task {
    gap: 9px;
  }
  .task-row-title {
    font-size: var(--gsj-fs-tiny);
  }
  .task-row {
    gap: 8px;
  }
  .badge {
    padding: 3px 6px;
    font-size: 10px;
  }
  .filters {
    gap: 12px;
  }
  .conversation {
    padding: 20px;
  }
  .composer {
    padding: 17px;
  }
  .panel-pad,
  .handshake-form,
  .bounty-card,
  .spec-block {
    padding: 22px;
  }
  .budget {
    font-size: 21px;
  }
  .record-card footer {
    flex-wrap: wrap;
  }
  .tabs {
    gap: 0;
  }
  .tab {
    padding: 10px 13px;
  }
  .split {
    flex-wrap: wrap;
  }
  .modal-body {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

.sidebar-close {
  display: none;
  position: absolute;
  top: 15px;
  right: 10px;
}

/* Matching has its own quiet motion grammar. Business state never waits for motion. */
.match-entry {
  position:relative;
  isolation:isolate;
  padding: 26px 28px;
  margin-bottom: 30px;
  border: 1px solid var(--match-line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
}
.match-heading,.match-form-footer,.match-candidate-footer,.match-candidate-head,.match-progress,.match-actions {
  display:flex;
  align-items:center;
  gap:12px;
}
.match-heading,.match-form-footer,.match-candidate-footer { justify-content:space-between; }
.match-heading .eyebrow { font-size:10px; letter-spacing:1px; }
.match-source { font-size:var(--gsj-fs-tiny); color:var(--muted); white-space:nowrap; }
.match-tools { display:flex; align-items:center; gap:12px; }
.match-tools .button { font-size:var(--gsj-fs-tiny); }
.match-symbol { position:relative; display:grid; place-items:center; width:28px; height:28px; color:var(--green); }
.phase-idle .match-symbol { background:var(--soft); border-radius:50%; }
.phase-idle .match-symbol::after { content:''; position:absolute; inset:-3px; border:1px solid #6d9885; border-radius:50%; animation:gsj-icon-breathe 2.4s ease-in-out infinite; pointer-events:none; }
.entry-shine::before { content:''; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(105deg,transparent 30%,rgba(212,226,206,.4) 45%,rgba(255,255,255,.65) 50%,transparent 65%); background-size:220% 100%; z-index:-1; pointer-events:none; animation:gsj-entry-shine 3.2s var(--gsj-ease-std) .6s both; animation-play-state:paused; }
.entry-shine.motion-seen::before { animation-play-state:running; }
.match-entry h2 { font-size:22px; font-weight:550; margin:14px 0 16px; letter-spacing:-.6px; line-height:1.5; }
.match-entry textarea { display:block; width:100%; resize:vertical; min-height:82px; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:12px 0; background:transparent; font-family:inherit; font-size:var(--gsj-fs-body); line-height:1.7; color:var(--ink); }
.match-entry textarea[readonly] { resize:none; color:var(--muted); }
.match-form-footer { margin-top:18px; }
.match-form-footer p,.match-result-note,.match-feedback { font-size:var(--gsj-fs-tiny); line-height:1.7; color:var(--muted); }
.match-form-footer p { max-width:60%; }
.match-form-footer .button { flex-shrink:0; }
.match-progress { padding:20px 0 0; min-height:48px; font-size:var(--gsj-fs-meta); color:var(--green); }
.match-progress .button { margin-left:auto; }
.thinking-dots { display:inline-flex; gap:5px; align-items:center; flex-shrink:0; }
.thinking-dots i { width:5px; height:5px; border-radius:50%; background:var(--green); animation:gsj-dot-bounce 1.1s ease-in-out infinite both; }
.thinking-dots i:nth-child(2) { animation-delay:.18s; }
.thinking-dots i:nth-child(3) { animation-delay:.36s; }
.phase-matching { background:#f8faf7; }
.match-reveal { margin-top:20px; padding:18px; border:1px solid var(--match-line); border-radius:10px; background:linear-gradient(150deg,var(--surface),#f2f6f2); box-shadow:0 5px 16px #23584609; animation:gsj-reveal var(--gsj-motion-reveal) var(--gsj-ease-out) both; transform-origin:top center; }
.match-result-note { margin:0 0 14px; color:var(--green); font-weight:500; }
.match-candidates { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr)); gap:12px; }
.match-candidate { display:grid; grid-template-rows:auto 1fr auto; padding:18px; border:1px solid #d2dfd5; border-radius:7px; min-width:0; background:#ffffffb3; }
.match-candidate-head > div { min-width:0; }
.match-candidate h3 { font-size:var(--gsj-fs-body); line-height:1.5; overflow-wrap:anywhere; }
.match-candidate-head p { font-size:var(--gsj-fs-tiny); color:var(--muted); margin-top:3px; }
.match-candidate .agent-avatar { width:38px; height:38px; flex-shrink:0; }
.match-reason { font-size:var(--gsj-fs-meta); color:var(--muted); margin:16px 0; line-height:1.7; overflow-wrap:anywhere; }
.match-candidate-footer { border-top:1px solid var(--line); padding-top:14px; flex-wrap:wrap; font-size:var(--gsj-fs-tiny); }
.match-candidate-footer .button { min-height:44px; color:var(--green); border-color:var(--match-line); font-weight:550; }
.match-actions { margin-top:18px; flex-wrap:wrap; }
.match-feedback { margin-top:18px; }
.match-entry.phase-error { border-left-color:var(--danger); }
.match-entry.phase-error .match-feedback { color:var(--danger); }
@keyframes gsj-icon-breathe { 0%,100%{opacity:.8;transform:scale(1)} 50%{opacity:.15;transform:scale(1.55)} }
@keyframes gsj-entry-shine { 0%{background-position:120% 0;opacity:0} 15%{opacity:1} 100%{background-position:-100% 0;opacity:0} }
@keyframes gsj-dot-bounce { 0%,80%,100%{transform:scale(.6);opacity:.4} 40%{transform:scale(1);opacity:1} }
@keyframes gsj-reveal { from{opacity:0;transform:translateY(8px) scaleY(.97)} to{opacity:1;transform:translateY(0) scaleY(1)} }

.agent-card-head { display:grid; grid-template-columns:48px minmax(0,1fr); gap:14px; align-items:start; }
.agent-card-meta { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; }
.agent-category { color:var(--muted); font-size:var(--gsj-fs-tiny); }
.version-pill { background:var(--soft); color:var(--green); border-radius:4px; padding:1px 5px; font:var(--gsj-fs-tiny)/1.6 var(--mono); overflow-wrap:anywhere; }
.agent-card .desc { font-size:var(--gsj-fs-meta); }
.agent-card h3,.agent-card .desc { display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
.agent-card h3 { -webkit-line-clamp:2; text-wrap:balance; }
.agent-card .desc { -webkit-line-clamp:3; text-wrap:pretty; }
.agent-price { display:grid; gap:3px; min-width:0; }
.agent-price small { color:var(--muted); font-size:var(--gsj-fs-tiny); }
.agent-proof { color:var(--muted); font-size:var(--gsj-fs-tiny); }
.agent-detail { display:flex; align-items:center; justify-content:center; min-height:44px; gap:8px; font-size:var(--gsj-fs-tiny); color:var(--green); white-space:nowrap; }
.agent-detail:hover { text-decoration:underline; text-underline-offset:4px; }
.card-arrow { display:grid; place-items:center; width:30px; height:30px; border:1px solid var(--match-line); border-radius:50%; transition:background var(--gsj-motion-sm) var(--gsj-ease-std),border-color var(--gsj-motion-sm) var(--gsj-ease-std),transform var(--gsj-motion-sm) var(--gsj-ease-out); }
.card-arrow .icon { width:16px; height:16px; }
.agent-detail:hover .card-arrow { border-color:var(--green); }
.agent-detail:active .card-arrow { background:var(--soft); border-color:var(--green); transform:scale(.92); }
#market-filter .tabs { flex-wrap:wrap; overflow:visible; padding-bottom:12px; gap:8px; }
#market-filter .tab { border:1px solid var(--line); border-radius:6px; min-height:44px; background:var(--surface); transition:background var(--gsj-motion-md) var(--gsj-ease-std),border-color var(--gsj-motion-md) var(--gsj-ease-std),color var(--gsj-motion-md) var(--gsj-ease-std),box-shadow var(--gsj-motion-md) var(--gsj-ease-std); }
#market-filter .tab.active { background:var(--soft); border-color:var(--green); color:var(--green); box-shadow:0 2px 6px #23584612; }

.hero { grid-template-columns:1.15fr 1fr; }
#featured-slot { min-width:0; height:100%; }
.featured-host { display:flex; flex-direction:column; min-height:320px; height:100%; padding:28px; background:var(--spotlight); color:var(--spotlight-ink); }
.featured-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.featured-host .eyebrow,.featured-top > span { color:var(--spotlight-muted); font:10px var(--mono); letter-spacing:1px; }
.featured-identity { display:flex; gap:12px; align-items:center; margin:26px 0 16px; color:var(--spotlight-muted); font-size:var(--gsj-fs-tiny); }
.featured-host .agent-avatar { border-color:#668781; background:#dbe8df; }
.featured-name h3 { font-size:22px; line-height:1.5; font-weight:500; overflow-wrap:anywhere; }
.featured-host .featured-copy { color:var(--spotlight-muted); font-size:var(--gsj-fs-meta); line-height:1.8; margin:10px 0 26px; }
.featured-footer { display:flex; gap:12px; align-items:center; justify-content:space-between; margin-top:auto; padding-top:16px; border-top:1px solid #45615f; }
.featured-cta { display:flex; align-items:center; min-height:44px; gap:8px; font-size:var(--gsj-fs-tiny); }
.featured-controls { display:flex; gap:4px; }
.featured-host .button { margin-top:0; }
.featured-host .icon-btn { color:var(--spotlight-ink); background:transparent; border:1px solid #45615f; width:44px; height:44px; }
.featured-host .icon-btn:hover { background:#304f51; }
.featured-controls .icon-btn:first-child .icon { transform:rotate(180deg); }
.featured-host :focus-visible { outline-color:var(--spotlight-muted); }
.featured-host a:hover { color:var(--spotlight-ink); text-decoration:underline; text-underline-offset:4px; }
.home-hero .hero-copy { position:relative; isolation:isolate; }
.home-hero .hero-copy::after { content:''; position:absolute; right:16px; bottom:30px; width:120px; height:120px; border:1px solid #bdccb5; border-radius:50%; z-index:-1; pointer-events:none; animation:gsj-hero-orb 6s ease-in-out infinite; }
.home-hero .featured-host { position:relative; isolation:isolate; overflow:hidden; }
.home-hero .featured-host::before,.home-hero .featured-host::after { content:''; position:absolute; width:230px; height:230px; right:-110px; top:-100px; border:1px solid #507b7540; border-radius:50%; border-top-color:#9ebeb290; border-left-color:#9ebeb260; z-index:-1; pointer-events:none; animation:gsj-orbit-drift 28s linear infinite; }
.home-hero .featured-host::before { background:radial-gradient(circle at 16% 86%,#bcd6c9 0 3px,transparent 3.8px); }
.home-hero .featured-host::after { width:300px; height:300px; top:-135px; right:-145px; border-style:dashed; animation-duration:20s; animation-direction:reverse; }
.motion-offscreen.featured-host::before,.motion-offscreen.featured-host::after,
.motion-paused .featured-host::before,.motion-paused .featured-host::after { animation-play-state:paused !important; }

.home-stats .metric { animation:gsj-stat-in var(--gsj-motion-stat) var(--gsj-ease-out) .05s both; animation-play-state:paused; }
.home-stats.motion-seen .metric { animation-play-state:running; }
.home-stats .metric:nth-child(2) { animation-delay:.12s; }
.home-stats .metric:nth-child(3) { animation-delay:.19s; }
dialog[open] { animation:gsj-reveal var(--gsj-motion-lg) var(--gsj-ease-out) both; }
@keyframes gsj-stat-in { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
@keyframes gsj-orbit-drift { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes gsj-hero-orb { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.06);opacity:.8} }
.motion-offscreen .match-symbol::after,.motion-offscreen .thinking-dots i,
.motion-offscreen.entry-shine::before,
.motion-offscreen .hero-copy::after,
.motion-hidden *,.motion-hidden *::before,.motion-hidden *::after { animation-play-state:paused !important; }
.motion-paused .match-symbol::after,.motion-paused .thinking-dots i,.motion-paused .entry-shine::before,
.motion-paused .hero-copy::after { animation-play-state:paused !important; }
@media (max-width:1350px) {
  .home-columns { grid-template-columns:minmax(0,1fr); }
  .home-aside { display:block; }
  .home-hero { grid-template-columns:1.15fr 1fr; }
  .home-hero .hero-copy { padding:26px; }
  .home-hero h2 { font-size:clamp(25px,2.5vw,32px); }
}
@media (max-width:700px) {
  .home-hero { grid-template-columns:1fr; }
  .featured-host { min-height:280px; }
}
@media (max-width:600px) {
  .match-entry { padding:20px; }
  .match-heading { flex-wrap:wrap; gap:4px; }
  .match-tools { width:100%; justify-content:space-between; }
  .match-reveal { padding:14px; }
  .match-entry h2 { font-size:20px; }
  .match-form-footer { align-items:stretch; flex-direction:column; }
  .match-form-footer p { max-width:none; }
  .match-form-footer .button { justify-content:space-between; }
  .match-progress { flex-wrap:wrap; }
  .featured-host { padding:26px; }
  .featured-name h3 { font-size:22px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-stats .metric,.entry-shine::before { animation-play-state:running; }
}
@media (max-width: 900px) {
  .sidebar-close {
    display: grid;
  }
  .sidebar .brand {
    margin-top: 20px;
  }
}

/* 第四轮优化：页面切换、精选切换与候选卡片分层进入。
   短时揭示动效不进入暂停列表：持续装饰、等待点与扫光可暂停，
   页面切换与结果揭示照常完成。 */
#main.page-enter {
  animation: gsj-page-in var(--gsj-motion-lg) var(--gsj-ease-out);
}
/* match-entry 背景在 phase 切换时平滑过渡 */
.match-entry {
  transition:
    background var(--gsj-motion-md) var(--gsj-ease-std),
    border-color var(--gsj-motion-md) var(--gsj-ease-std);
}
/* 候选卡片按序错峰进入 */
.match-reveal .match-candidate {
  animation: gsj-candidate-in var(--gsj-motion-reveal) var(--gsj-ease-out) both;
}
.match-reveal .match-candidate:nth-child(2) { animation-delay: .07s; }
.match-reveal .match-candidate:nth-child(3) { animation-delay: .14s; }
.match-reveal .match-candidate:nth-child(n+4) { animation-delay: .20s; }
@keyframes gsj-page-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}
@keyframes gsj-candidate-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}

/* Feedback exits preserve the same surface until their short transition completes. */
dialog[open].closing {
  pointer-events: none;
  animation: gsj-dialog-out var(--gsj-motion-md) var(--gsj-ease-in) both;
}
dialog[open]::backdrop {
  animation: gsj-backdrop-in var(--gsj-motion-lg) var(--gsj-ease-out) both;
}
dialog[open].closing::backdrop {
  animation: gsj-backdrop-out var(--gsj-motion-md) var(--gsj-ease-in) both;
}
.loading-grid.loading-exit {
  animation: gsj-loading-out var(--gsj-motion-sm) var(--gsj-ease-in) both;
}
#market-results.results-refresh {
  animation: gsj-results-in var(--gsj-motion-refresh) var(--gsj-ease-out);
}
@keyframes gsj-dialog-out {
  from { opacity:1; transform:none; }
  to { opacity:0; transform:translateY(6px) scale(.985); }
}
@keyframes gsj-backdrop-in { from { opacity:0; } to { opacity:1; } }
@keyframes gsj-backdrop-out { from { opacity:1; } to { opacity:0; } }
@keyframes gsj-loading-out { from { opacity:1; } to { opacity:0; } }
@keyframes gsj-results-in { from { opacity:0; } to { opacity:1; } }

.workspace-sync { display:flex; align-items:center; gap:7px; padding:16px 28px 0; color:var(--muted); font-size:var(--gsj-fs-tiny); }
.sync-dot { width:5px; height:5px; border-radius:50%; background:var(--green); }
.workspace-sync.sync-error { color:var(--danger); }
.workspace-sync.sync-error .sync-dot { background:var(--danger); }
.conversation.refresh-feedback { animation:gsj-conversation-sync var(--gsj-motion-stat) var(--gsj-ease-out); }
@keyframes gsj-conversation-sync { from { opacity:.9; } to { opacity:1; } }

/* ===== 第五轮优化：卡片悬停位移 + 首页分层进入 ===== */

/* 过渡基础层声明 — 触屏不产生 hover 残留，颜色反馈保留在原有 :hover */
.agent-card,
.panel.bounty-card,
.panel.record-card {
  transition:
    border-color var(--gsj-motion-sm) var(--gsj-ease-std),
    background var(--gsj-motion-sm) var(--gsj-ease-std),
    transform var(--gsj-motion-md) var(--gsj-ease-out),
    box-shadow var(--gsj-motion-md) var(--gsj-ease-out);
}
.task-row,
.news-item {
  transition:
    transform var(--gsj-motion-md) var(--gsj-ease-out),
    background var(--gsj-motion-sm) var(--gsj-ease-std);
}
.agent-card .agent-avatar {
  transition: transform var(--gsj-motion-md) var(--gsj-ease-out);
}
.agent-card .card-arrow {
  transition: border-color var(--gsj-motion-sm) var(--gsj-ease-std),
    background var(--gsj-motion-sm) var(--gsj-ease-std),
    transform var(--gsj-motion-md) var(--gsj-ease-out);
}

@media (hover:hover) and (pointer:fine) {
  /* agent-card：整体上移 + 头像微放大 + 箭头加深 */
  .agent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px #15231a12;
    border-color: #a7b9a1;
    background: #fdfefc;
  }
  .agent-card:hover .agent-avatar {
    transform: scale(1.05);
  }
  .agent-card:hover .card-arrow {
    border-color: var(--green);
    background: var(--soft);
    transform: scale(1.08);
  }
  .agent-card:hover .agent-detail:active .card-arrow { transform: scale(.92); }

  /* bounty / record 沿用同一套抬升语言 */
  .panel.bounty-card:hover,
  .panel.record-card:hover {
    transform: translateY(-3px);
    border-color: #a7b9a1;
    background: #fdfefc;
    box-shadow: 0 10px 28px #15231a12;
  }

  /* 列表行：轻微右移 + 浅底，传达可点击意图 */
  .task-row:hover { transform: translateX(3px); background: #f5f7f2; }
  .news-item:hover { transform: translateX(3px); background: #fafbf8; }
}

/* 首页分层进入 — section-heading/editorial/mini-flow 带位移；
   列表行与卡片只用 opacity，避免与 :hover 的 translateX/Y 叠加 */
#main[data-page="home"].page-enter .section-heading,
#main[data-page="home"].page-enter .editorial-note,
#main[data-page="home"].page-enter .mini-flow {
  animation: gsj-home-rise var(--gsj-motion-lg) var(--gsj-ease-out) both;
}
#main[data-page="home"].page-enter .task-row,
#main[data-page="home"].page-enter .news-item,
#main[data-page="home"].page-enter .home-columns .agent-card {
  animation: gsj-home-fade var(--gsj-motion-lg) var(--gsj-ease-out) both;
}
#main[data-page="home"].page-enter .section-heading   { animation-delay: .04s; }
#main[data-page="home"].page-enter .editorial-note    { animation-delay: .08s; }
#main[data-page="home"].page-enter .news-item         { animation-delay: .14s; }
#main[data-page="home"].page-enter .news-item + .news-item { animation-delay: .28s; }
#main[data-page="home"].page-enter .task-row          { animation-delay: .18s; }
#main[data-page="home"].page-enter .mini-flow         { animation-delay: .22s; }
#main[data-page="home"].page-enter .home-columns .agent-card { animation-delay: .26s; }

/* Hero 第二层慢速反向细环，与精选区轨道呼应，纳入暂停列表 */
.home-hero .hero-copy::before {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 14px;
  width: 162px;
  height: 162px;
  border: 1px dashed #c6d4be;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: gsj-orbit-drift 36s linear infinite reverse;
}
.motion-offscreen .hero-copy::before,
.motion-paused .hero-copy::before { animation-play-state: paused !important; }

@keyframes gsj-home-rise {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}
@keyframes gsj-home-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Spotlight: only the middle layer moves; controls and sizing stay mounted. */
.featured-top { flex-wrap:wrap; align-items:flex-start; gap:4px 12px; }
.featured-top .eyebrow { padding-top:15px; }
.featured-indexes { display:flex; align-items:center; gap:0; font:10px var(--mono); }
.featured-index { display:inline-flex; align-items:center; justify-content:center; gap:0; width:44px; min-height:44px; padding:0; border:0; border-radius:4px; background:transparent; color:var(--spotlight-muted); font:inherit; cursor:pointer; }
.featured-index[aria-current] { color:var(--spotlight-ink); }
.featured-index:hover { background:#304f51; }
.featured-divider { color:#45615f; padding:0 6px; }
.featured-total { color:var(--spotlight-muted); }
.digit-clip { display:inline-block; height:14px; line-height:14px; overflow:hidden; }
.digit-strip { display:block; }
.digit-strip > span { display:block; height:14px; }
.digit-strip.digit-roll { animation:gsj-digit-roll 200ms cubic-bezier(.22,1,.36,1) both; }
@keyframes gsj-digit-roll { from { transform:translateY(0); } to { transform:translateY(-14px); } }
.featured-stage { display:grid; flex:1; margin:0; overflow:clip; isolation:isolate; }
.featured-layer { grid-area:1 / 1; min-width:0; visibility:hidden; pointer-events:none; }
.featured-layer.is-current { visibility:visible; pointer-events:auto; }
.featured-copy { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.featured-status { display:block; margin-top:7px; font:10px/1.4 var(--mono); letter-spacing:0; color:var(--spotlight-muted); }
.featured-readout { display:inline-flex; align-items:center; justify-content:center; min-width:76px; min-height:44px; padding:0 5px; border:0; border-radius:4px; background:transparent; color:var(--spotlight-ink); font:11px var(--mono); cursor:pointer; }
.featured-readout:hover { background:#304f51; }
.featured-current { display:flex; }
.featured-directory { position:absolute; right:28px; top:84px; z-index:5; width:min(300px,calc(100% - 56px)); padding:6px; border:1px solid #45615f; border-radius:6px; background:var(--spotlight); box-shadow:0 8px 24px #15231a22; }
.featured-directory[hidden] { display:none; }
.featured-directory .featured-index { display:flex; justify-content:flex-start; gap:14px; width:100%; min-height:44px; padding:8px 12px; text-align:left; font-size:12px; }
.more-agents { display:flex; justify-content:flex-end; align-items:center; gap:8px; margin-top:18px; min-height:44px; color:var(--muted); font-size:var(--gsj-fs-meta); transition:color var(--gsj-motion-md) var(--gsj-ease-std); }
.more-agents:hover { color:var(--green); }
.news-item { position:relative; }
.news-item::before { content:''; position:absolute; left:-10px; top:18px; bottom:18px; width:1px; background:var(--green); transform:scaleY(0); transform-origin:center; transition:transform 180ms ease-out; pointer-events:none; }
.news-item small { display:flex; align-items:center; gap:10px; }
.news-item small::after { content:''; height:1px; width:32px; background:var(--green); transform:scaleX(0); transform-origin:left; transition:transform 180ms ease-out; }
.news-item:focus-within::before { transform:scaleY(1); }
.news-item:focus-within small::after { transform:scaleX(1); }
@media (hover:hover) and (pointer:fine) {
  .news-item:hover::before { transform:scaleY(1); }
  .news-item:hover small::after { transform:scaleX(1); }
}

/* Knowledge reader: directory, article, provenance. */
.knowledge-workbench { display:grid; grid-template-columns:200px minmax(0,1fr) 220px; border-top:1px solid var(--line); min-height:620px; }
.knowledge-directory { padding:22px 18px 22px 0; border-right:1px solid var(--line); min-width:0; }
.knowledge-directory .search-box { width:100%; min-width:0; padding:0 10px; }
.knowledge-selects { display:flex; gap:8px; flex-wrap:wrap; }
.knowledge-selects select { height:44px; border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:6px; padding:0 9px; min-width:0; max-width:100%; font-size:13px; transition:border-color 200ms; }
.knowledge-directory .knowledge-selects { margin:10px 0; }
.knowledge-directory .knowledge-selects select { width:100%; }
.directory-label { margin:24px 0 10px; font-size:12px; color:var(--muted); }
.memory-row { display:flex; gap:10px; padding:12px 8px; border-radius:6px; min-height:60px; transition:background 200ms; }
.memory-row:hover,.memory-row.selected { background:var(--soft); }
.memory-row.selected { box-shadow:inset 2px 0 var(--green); }
.memory-kind { padding-top:2px; width:15px; flex-shrink:0; font:12px/1.6 var(--mono); color:var(--green); }
.memory-row strong { font-size:13px; font-weight:500; display:block; overflow-wrap:anywhere; }
.memory-row small { display:block; font-size:12px; color:var(--muted); margin-top:3px; }
.knowledge-reader { background:var(--surface); padding:30px 30px 44px; min-width:0; overflow-wrap:anywhere; }
.reader-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:12px; }
.knowledge-reader h2 { margin:18px 0 12px; font-size:28px; line-height:1.35; letter-spacing:-.6px; }
.reader-properties { display:flex; gap:8px 18px; flex-wrap:wrap; font-size:12px; color:var(--muted); padding-bottom:24px; border-bottom:1px solid var(--line); margin-bottom:26px; }
.knowledge-reader h3 { margin:30px 0 14px; font-size:16px; }
.knowledge-reader p { font-size:15px; line-height:1.85; margin:12px 0; }
.wiki-section { border-bottom:1px solid var(--line); padding:12px 0 24px; }
.wiki-section h4 { font-size:16px; font-weight:500; margin:0; }
.wiki-factline { font-size:12px; color:var(--muted); }
.knowledge-link { color:var(--green); text-underline-offset:4px; }
.knowledge-link:hover { text-decoration:underline; }
.wiki-sources { padding-left:20px; }
.wiki-sources li { padding:7px 0; font-size:13px; }
.wiki-sources small { display:block; font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.source-files > div { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:13px; }
.knowledge-context { padding:28px 0 24px 20px; min-width:0; border-left:1px solid var(--line); }
.knowledge-context h3,.memory-evidence h3 { font-size:13px; font-weight:500; margin:0 0 14px; }
.knowledge-graph { width:100%; height:auto; margin:0 0 25px; overflow:visible; }
.knowledge-graph path { stroke:var(--line); fill:none; }
.knowledge-graph circle { fill:#a2b8aa; }
.knowledge-graph circle.current { fill:var(--green); }
.knowledge-graph text { font-size:13px; fill:var(--muted); }
.knowledge-graph a:hover circle { fill:var(--green); }
.context-link { padding:10px 0; font-size:13px; overflow-wrap:anywhere; }
.context-link small { display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.context-rule { border-top:1px solid var(--line); margin:24px 0; }
.memory-search-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:32px; }
.memory-search-layout > section { min-width:0; }
.memory-question { padding:24px; border:1px solid #c6d4c8; border-radius:10px; background:var(--surface); }
.memory-question > label { display:block; font-size:15px; font-weight:500; }
.memory-question textarea { display:block; width:100%; min-height:112px; resize:vertical; border:0; padding:16px 0; margin:4px 0 12px; color:var(--ink); background:transparent; font-size:16px; line-height:1.65; }
.memory-question footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--line); padding-top:16px; }
.memory-answer { margin-top:30px; padding:4px 4px 26px; }
.memory-answer h2,.search-start h2 { font-size:20px; }
.answer-intro { font-size:13px; color:var(--muted); margin:16px 0 24px; }
.answer-fact { padding:0 0 18px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.answer-fact p { line-height:1.9; margin:8px 0; }
.answer-fact p.muted { font-size:13px; }
.citation { display:inline-block; font:12px var(--mono); color:var(--green); padding:4px; border-radius:3px; background:var(--soft); }
.answer-actions { padding-top:10px; font-size:13px; }
.search-start { margin-top:34px; padding:0 4px; }
.search-start a { display:flex; justify-content:space-between; padding:16px 0; border-bottom:1px solid var(--line); color:var(--green); }
.memory-evidence { border-left:1px solid var(--line); padding-left:24px; min-width:0; }
.memory-evidence .split { margin:8px 0 22px; }
.evidence-card { display:block; position:relative; padding:0 0 20px 30px; margin-bottom:22px; border-bottom:1px solid var(--line); }
.evidence-number { position:absolute; left:0; top:2px; color:var(--green); font-size:12px; }
.evidence-card strong { display:block; font-size:14px; font-weight:500; }
.evidence-card p { font-size:13px; color:var(--muted); line-height:1.65; }
.evidence-card small { color:var(--muted); font-size:12px; }
.evidence-card:hover strong { color:var(--green); }

/* Capability map follows the original five-zone evidence model. */
.cap-agent-link { font-size:13px; color:var(--muted); margin:12px 0 0; }
.cap-agent-link a { color:var(--green); }
.cap-filter { display:flex; align-items:flex-end; flex-wrap:wrap; gap:16px; padding:0 0 24px; }
.cap-filter .field { width:200px; margin:0; }
.cap-filter .field span { display:block; font-size:12px; color:var(--muted); margin-bottom:6px; }
.cap-filter select { min-height:44px; }
.cap-map-layout { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:24px; align-items:start; }
.cap-map-panel { min-width:0; padding:22px 20px; }
.cap-map-panel h2 { font-size:17px; }
.cap-map-panel .split > span { font-size:12px; }
.boundary-map-scroll { overflow-x:auto; margin:20px -6px 0; }
.boundary-map { display:block; width:100%; min-width:590px; height:auto; }
.map-zone.insufficient { fill:#eff1ed; }
.map-zone.observe { fill:#e3ede3; }
.map-zone.converged { fill:#cfe3d9; }
.map-zone.split { fill:#e7eee7; }
.map-zone.divergent { fill:#f1eee7; }
.record-band-fill { fill:#e8edf0; }
.map-grid { stroke:#bdcbc1; stroke-width:.8; stroke-dasharray:3 4; fill:none; }
.map-axis { stroke:#9eafa4; stroke-width:1; fill:none; }
.axis-label,.axis-tick { fill:var(--muted); font-size:12px; }
.axis-tick { font-family:var(--mono); }
.zone-text { fill:#456252; font-size:12px; }
.point-hit { fill:transparent; }
.cap-point { fill:var(--green); stroke:var(--surface); stroke-width:2; }
.cap-point.selected { fill:var(--spotlight); stroke:var(--green); stroke-width:3; }
.cap-point-label { fill:var(--ink); font-size:12px; paint-order:stroke; stroke:#ffffffb0; stroke-width:3; }
.boundary-map a:hover .cap-point { stroke:var(--green); stroke-width:4; }
.boundary-map a:focus .point-hit { stroke:var(--green); stroke-width:1; }
.map-key { display:flex; flex-wrap:wrap; gap:6px 20px; padding:12px 0 20px; font-size:12px; color:var(--muted); }
.cap-domain-list { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); padding-top:14px; gap:6px; }
.cap-domain { display:block; padding:10px; border-radius:5px; transition:background 200ms; }
.cap-domain:hover,.cap-domain.selected { background:var(--soft); }
.cap-domain span { font-size:13px; display:block; }
.cap-domain small { font-size:12px; color:var(--muted); }
.cap-domain-detail { padding:24px; }
.cap-domain-detail h2 { font-size:22px; margin:14px 0; }
.cap-stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px 12px; margin:26px 0; }
.cap-stat-grid small { font-size:12px; color:var(--muted); display:block; }
.cap-stat-grid strong { font:22px/1.6 var(--mono); font-weight:400; }
.cap-domain-detail .button { width:100%; margin-top:20px; font-size:13px; }
.boundary-sheet { padding:32px; }
.boundary-sheet .cap-stat-grid { grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line); padding-bottom:30px; }
.boundary-sheet .cap-stat-grid strong { font-size:30px; }
.boundary-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:32px; }
.boundary-meta span { display:block; color:var(--muted); font-size:12px; margin-bottom:8px; }
.boundary-meta strong { font-size:15px; font-weight:500; }
.boundary-sheet details { border-top:1px solid var(--line); padding-top:18px; font-size:13px; color:var(--muted); }
.boundary-sheet summary { min-height:44px; cursor:pointer; color:var(--ink); }
@media (max-width:1200px) and (min-width:901px) {
 .knowledge-workbench { grid-template-columns:180px minmax(0,1fr); }
 .knowledge-context { grid-column:1 / -1; border-left:0; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:0 24px; padding-left:0; }
 .knowledge-graph { max-width:250px; }
 .memory-search-layout { grid-template-columns:minmax(0,1fr) 230px; gap:24px; }
 .cap-map-layout { grid-template-columns:1fr; }
}
@media (max-width:750px) {
 .knowledge-workbench { grid-template-columns:1fr; }
 .knowledge-directory { border-right:0; padding:18px 0; }
 .knowledge-directory form { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; }
 .knowledge-directory .knowledge-selects { grid-column:1 / -1; grid-row:2; margin:0; flex-wrap:nowrap; }
 .knowledge-directory .knowledge-selects select { width:50%; }
 .knowledge-directory nav { max-height:210px; overflow:auto; }
 .directory-label { margin:18px 0 8px; }
 .knowledge-reader { padding:24px 20px; border:1px solid var(--line); border-radius:8px; }
 .knowledge-reader h2 { font-size:24px; }
 .knowledge-context { padding:28px 0; border-left:0; }
 .knowledge-graph { max-width:280px; }
 .memory-search-layout,.cap-map-layout { grid-template-columns:1fr; }
 .memory-evidence { padding:24px 0 0; border-left:0; border-top:1px solid var(--line); }
 .memory-question { padding:20px; }
 .memory-question footer { align-items:stretch; }
 .memory-question .knowledge-selects { width:100%; flex-wrap:nowrap; }
 .memory-question .knowledge-selects select { width:50%; }
 .memory-question footer .button { width:100%; }
 .cap-filter { gap:12px; }
 .cap-filter .field { flex:1; width:auto; min-width:130px; }
 .cap-map-panel { padding:18px 12px; }
 .cap-domain-list { grid-template-columns:1fr; }
 .boundary-sheet { padding:24px 20px; }
 .boundary-sheet .cap-stat-grid { grid-template-columns:1fr 1fr; }
 .boundary-meta { grid-template-columns:1fr; gap:20px; }
}
.zone-legend { display:flex; flex-wrap:wrap; gap:8px 15px; margin:20px 0 6px; font-size:12px; color:var(--muted); }
.zone-legend span { display:flex; align-items:center; gap:6px; }
.zone-legend i { width:9px; height:9px; display:inline-block; border:1px solid #c5d0c8; }
.zone-legend .insufficient { background:#eff1ed; }
.zone-legend .observe { background:#e3ede3; }
.zone-legend .converged { background:#cfe3d9; }
.zone-legend .split { background:#e7eee7; }
.zone-legend .divergent { background:#f1eee7; }
.cap-point-number { fill:var(--surface); font:11px var(--mono); pointer-events:none; }
.domain-number { font:12px var(--mono); color:var(--green); margin-right:10px; font-weight:400; }
.knowledge-graph text { font-size:16px; }
.boundary-map { min-width:650px; }
.cap-domain-detail .cap-stat-grid { grid-template-columns:1fr; gap:16px; }
.cap-domain-detail .cap-stat-grid > div { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 10px; }
.memory-advanced { margin:12px 0; font-size:12px; }
.memory-advanced summary { min-height:32px; cursor:pointer; color:var(--muted); }
.memory-advanced label { display:block; margin:10px 0; }
.memory-advanced select,.memory-advanced input { display:block; width:100%; height:44px; padding:0 9px; border:1px solid var(--line); background:var(--surface); border-radius:6px; color:var(--ink); margin-top:4px; }
.knowledge-directory .inline { flex-wrap:wrap; gap:4px; }
.knowledge-directory .button.quiet { padding-left:8px; padding-right:8px; }
@media (max-width:750px) {
 .knowledge-directory form > .memory-advanced { grid-column:1 / -1; grid-row:3; margin:0; }
 .knowledge-directory form > .inline { grid-column:1 / -1; grid-row:4; }
}
@media (max-width:750px) { .knowledge-directory form > .search-box { grid-column:1 / -1; } }
.context-index { display:inline-block; width:24px; font:12px var(--mono); color:var(--muted); }

/* Shared selects: top-layer menus keep long values readable in narrow sidebars/dialogs. */
.select-control { position:relative; display:inline-block; width:100%; min-width:0; vertical-align:middle; }
.select-control .select-native { position:absolute; width:1px!important; height:1px!important; opacity:0; pointer-events:none; clip-path:inset(50%); padding:0!important; margin:0!important; }
.select-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:6px; color:var(--ink); background:var(--surface); text-align:left; font:inherit; font-size:13px; cursor:pointer; transition:border-color 200ms,background 200ms; }
.select-trigger > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.select-chevron { display:block; flex:0 0 6px; height:6px; margin:0 3px 3px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(45deg); color:var(--muted); }
.select-trigger:hover,.select-trigger[aria-expanded="true"] { border-color:var(--green); }
.select-trigger:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.select-trigger:disabled { opacity:.5; cursor:not-allowed; }
.select-trigger[aria-invalid="true"] { border-color:#a34537; }
.select-menu { position:fixed; inset:auto; margin:0; padding:5px; overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); box-shadow:0 8px 24px #15231a1c; font-size:13px; }
.select-menu [role="option"] { position:relative; padding:12px 30px 12px 10px; min-height:44px; border-radius:4px; line-height:20px; overflow-wrap:anywhere; cursor:pointer; }
.select-menu [aria-selected="true"] { color:var(--green); }
.select-menu [aria-selected="true"]::after { content:'✓'; position:absolute; right:12px; top:12px; }
.select-menu .is-highlighted { background:var(--soft); }
.select-menu [aria-disabled="true"] { opacity:.45; cursor:not-allowed; }
.select-error { display:block; margin-top:6px; color:#a34537; font-size:12px; }
.select-error[hidden] { display:none; }
.knowledge-selects .select-control { flex:1; min-width:0; }
.knowledge-directory .knowledge-selects .select-control { flex-basis:100%; }
.memory-advanced .select-control { margin-top:4px; }
.knowledge-modes { margin:0; gap:4px; flex-wrap:nowrap; }
.knowledge-modes .tab { min-height:44px; display:inline-flex; align-items:center; }
.knowledge-reader:has(.knowledge-map) { padding:28px 14px; }
.knowledge-map h2 { font-size:24px; margin:8px 0 0; }
.graph-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:0 12px; }
.graph-heading .tabs { margin:0; }
.graph-heading .tab { padding:10px; min-height:44px; display:inline-flex; align-items:center; }
.graph-legend { display:flex; flex-wrap:wrap; gap:10px 16px; font-size:11px; color:var(--muted); padding:24px 12px 0; }
.graph-legend span { display:flex; align-items:center; gap:6px; }
.graph-legend i { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--green); }
.graph-legend .graph-source-dot { width:5px; height:5px; background:#8d9e96; }
.legend-citation::before,.legend-shared::before { content:''; width:18px; border-top:1px solid #839d93; }
.legend-shared::before { border-top-style:dashed; }
.knowledge-network { display:block; width:100%; aspect-ratio:720/460; min-height:330px; cursor:grab; touch-action:pan-y; }
.knowledge-network:active { cursor:grabbing; }
.graph-edge { fill:none; stroke:#b5c6be; stroke-width:1; }
.graph-edge.shared { stroke-dasharray:4 5; opacity:.65; }
.graph-node circle { fill:var(--green); stroke:var(--surface); stroke-width:3; }
.graph-node.source circle { fill:#80978b; }
.graph-node text { font-size:13px; fill:var(--ink); paint-order:stroke; stroke:var(--surface); stroke-width:5px; stroke-linejoin:round; }
.graph-node.selected circle { stroke:var(--green); stroke-width:7; fill:var(--surface); }
.graph-node:hover text,.graph-node:focus-visible text { fill:var(--green); text-decoration:underline; }
.graph-footer { padding:15px 12px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.graph-footer .inline { gap:2px; flex-wrap:wrap; }
.graph-tool { border:0; border-radius:4px; min-width:36px; min-height:44px; background:transparent; color:var(--ink); cursor:pointer; }
.graph-tool:hover { background:var(--soft); }
.context-graph-link { display:block; min-height:44px; color:var(--green); font-size:13px; margin:0 0 24px; }
.knowledge-reader .memory-question { padding:0 0 24px; border:0; border-bottom:1px solid var(--line); border-radius:0; }
.memory-question footer .select-control { max-width:230px; }
.knowledge-reader .memory-answer { border:0; padding:24px 0; background:transparent; }
@media (max-width:750px) {
 .knowledge-modes { width:100%; }
 .knowledge-directory .knowledge-selects .select-control { flex-basis:0; }
 .graph-heading { align-items:flex-start; flex-wrap:wrap; }
 .graph-legend { gap:10px; }
 .knowledge-network { min-height:280px; }
 .knowledge-reader:has(.knowledge-map) { padding:20px 0; }
 .memory-question footer .select-control { max-width:none; }
}
.knowledge-workbench.is-graph { grid-template-columns:200px minmax(0,1fr); }
.is-graph .knowledge-context { grid-column:2; display:grid; grid-template-columns:1fr 1fr; gap:8px 24px; border-left:0; border-top:1px solid var(--line); padding:24px; }
.is-graph .knowledge-context > h3,.is-graph .knowledge-context > .context-graph-link { grid-column:1 / -1; }
.is-graph .knowledge-directory { grid-row:1 / 3; }
.graph-node text { font-size:16px; }
@media (max-width:750px) {
 .knowledge-workbench.is-graph { grid-template-columns:1fr; }
 .is-graph .knowledge-directory { grid-row:auto; }
 .is-graph .knowledge-context { grid-column:1; padding:24px 0; }
 .graph-node text { font-size:20px; }
}
.select-control .select-native { display:none; }
.select-menu:not(:popover-open) { display:none; }
.graph-label-small { display:none; }
@media (max-width:750px) {
 .graph-node text { font-size:27px; }
 .graph-label-wide { display:none; }
 .graph-label-small { display:inline; }
}

/* Mini-program filters: discrete version stops and a ¥100 settlement threshold. */
.cap-slide-filter { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; padding:0 0 28px; }
.cap-slider { min-width:0; padding:18px 22px 8px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.cap-slider-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; font-size:13px; }
.cap-slider-head output { color:var(--green); font-size:13px; font-variant-numeric:tabular-nums; }
.cap-slide { display:block; appearance:none; -webkit-appearance:none; width:100%; height:44px; margin:6px 0 0; padding:0; border:0; background:transparent; cursor:pointer; touch-action:pan-y; }
.cap-slide::-webkit-slider-runnable-track { height:3px; border-radius:2px; background:linear-gradient(to right,var(--green) 0 var(--fill),var(--line) var(--fill) 100%); }
.cap-slide::-moz-range-track { height:3px; border-radius:2px; background:var(--line); }
.cap-slide::-moz-range-progress { height:3px; background:var(--green); }
.cap-slide::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:17px; height:17px; margin-top:-7px; border:3px solid var(--surface); border-radius:50%; background:var(--green); box-shadow:0 0 0 1px var(--green); transition:box-shadow 120ms; }
.cap-slide::-moz-range-thumb { width:11px; height:11px; border:3px solid var(--surface); border-radius:50%; background:var(--green); box-shadow:0 0 0 1px var(--green); }
.cap-slide:focus-visible { outline:2px solid var(--green); outline-offset:2px; border-radius:4px; }
.cap-slide:disabled { cursor:default; opacity:.45; }
.cap-version-stops { display:grid; grid-template-columns:repeat(var(--stop-count),minmax(0,1fr)); gap:4px; }
.cap-version-stop { min-height:44px; min-width:0; padding:4px; border:0; background:transparent; color:var(--muted); font-size:12px; cursor:pointer; overflow-wrap:anywhere; transition:color 120ms; }
.cap-version-stop:first-child { text-align:left; }
.cap-version-stop:last-child { text-align:right; }
.cap-version-stop.active,.cap-version-stop:hover { color:var(--green); }
.cap-version-stop.active { font-weight:500; }
.cap-version-stop:disabled { cursor:default; }
.cap-amount-stops { display:flex; justify-content:space-between; align-items:center; min-height:44px; color:var(--muted); font-size:12px; }
@media (max-width:750px) { .cap-slide-filter { grid-template-columns:1fr; gap:12px; } .cap-slider { padding:16px 18px 6px; } }
.cap-version-stop:only-child { text-align:left; }

/* Operations and developer earnings share the existing paper, ink and line palette. */
.business-heading{margin-bottom:24px}.business-heading h1{font-size:34px}.business-tabs{margin-bottom:26px;gap:4px}.business-role{font-size:13px;color:var(--muted);padding:0 12px}.business-filter{display:flex;gap:12px;align-items:center;margin:20px 0}.business-filter .search-box{flex:1;min-width:160px}.business-filter .field{min-width:180px;max-width:260px;margin:0}.business-filter input,.business-filter select{min-height:44px}.business-table{overflow:hidden}.business-table-scroll{overflow-x:auto}.business-table table{width:100%;border-collapse:collapse;font-size:13px}.business-table th{white-space:nowrap;font-size:12px;font-weight:500;color:var(--muted);background:var(--paper);padding:14px 20px;text-align:left}.business-table td{padding:18px 20px;border-top:1px solid var(--line);vertical-align:middle}.business-table td strong{display:block;font-size:14px;font-weight:550}.business-table td small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.business-table td:last-child{text-align:right}.business-table tr:hover td{background:var(--paper)}.business-table td{transition:background var(--gsj-motion-md) var(--gsj-ease-std)}.business-table td .button{white-space:nowrap}.business-money{font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}.business-panel-head{display:flex;justify-content:space-between;align-items:center;padding:19px 22px;gap:12px}.business-panel-head h2,.ops-links h2{font-size:16px;margin:0;font-weight:550}.business-panel-head>.muted{font-size:12px;white-space:nowrap}.business-tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:4px;font-size:12px;color:var(--muted);background:var(--paper);white-space:nowrap}.business-tag.positive{background:var(--soft);color:var(--green)}.business-tag.negative{color:var(--danger);background:var(--warm)}.negative{color:var(--danger)}.business-empty{padding:30px 20px;text-align:center;color:var(--muted);font-size:14px}.compact-tabs{gap:2px;margin:0}.compact-tabs .tab{padding:8px 13px;min-height:44px}.income-period{display:flex;justify-content:space-between;align-items:center;margin:8px 0 18px;font-size:13px}.income-summary{display:grid;grid-template-columns:1.4fr 1fr 1fr;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}.income-net,.income-stat{padding:26px 28px;display:flex;flex-direction:column;gap:6px}.income-net{background:var(--spotlight);color:var(--spotlight-ink)}.income-net span,.income-stat span{font-size:13px}.income-net strong{font-size:38px;font-family:var(--mono);font-weight:500;letter-spacing:-1.5px;line-height:1.35}.income-net small{font-size:12px;color:var(--spotlight-muted)}.income-stat{justify-content:center;border-left:1px solid var(--line)}.income-stat strong{font-size:27px;font-family:var(--mono);font-weight:500;letter-spacing:-1px}.income-stat small{font-size:12px;color:var(--muted)}.income-middle{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;margin-top:24px}.income-chart{min-width:0}.income-trend{padding:0 18px}.income-trend svg{display:block;width:100%;height:auto;max-height:250px}.income-trend text{font:12px system-ui;fill:var(--muted)}.income-trend rect{transition:opacity var(--gsj-motion-md)}.income-trend rect:hover{opacity:.65}.income-legend{display:flex;gap:14px;font-size:12px;color:var(--muted)}.income-legend span{display:flex;align-items:center;gap:5px}.income-legend i{width:7px;height:7px;background:var(--green);border-radius:1px}.income-legend i.refund{background:var(--danger)}.income-account{padding:24px}.income-account h2{font-size:17px;margin:6px 0 10px;font-weight:550}.income-account .eyebrow{font-size:11px}.income-balance{display:flex;flex-direction:column;border-top:1px solid var(--line);margin-top:20px;padding:15px 0}.income-balance span{font-size:12px;color:var(--muted)}.income-balance strong{font-size:25px;font-weight:500;font-family:var(--mono)}.income-account .split{font-size:12px}.income-account>.button{width:100%;margin-top:16px}.business-view-switch{display:flex;justify-content:space-between;align-items:center;margin:28px 0 14px;gap:16px}.business-view-switch .tabs{margin:0}.business-view-switch p{font-size:12px;margin:0}.income-live{padding:26px;margin:20px 0}.income-live strong{display:block;font:30px var(--mono);margin:8px 0}.income-live p{font-size:13px;color:var(--muted)}.income-detail-amount{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:24px}.income-detail-amount>span{font-size:13px;color:var(--muted)}.income-detail-amount strong{font:38px var(--mono)}.business-facts{margin:20px 0}.business-facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.business-facts dt{color:var(--muted)}.business-facts dd{margin:0;overflow-wrap:anywhere}.business-detail-note{padding:15px 18px;border-left:2px solid var(--green);background:var(--paper);font-size:13px;margin:20px 0}.business-detail-note p{margin:8px 0 0}.business-detail-header h3{font-size:24px;margin:8px 0 10px;font-weight:550}.business-detail-header h3 span{font-size:15px;color:var(--muted)}.business-detail-header>p:not(.eyebrow){font-size:14px;color:var(--muted);margin-top:16px}.review-evidence{border:1px solid var(--line);padding:20px;border-radius:8px;margin:20px 0}.review-evidence h4{margin:0 0 10px;font-size:14px;font-weight:550}.review-evidence>.split{padding:8px 0;font-size:13px}.review-evidence>p{font-size:13px;margin:9px 0}.case-history>p{display:flex;gap:16px;font-size:13px}.case-history time{white-space:nowrap;color:var(--muted)}.ops-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr;margin:20px 0 28px;gap:20px}.ops-summary>a{display:flex;flex-direction:column;position:relative;border:1px solid var(--line);padding:24px 28px;border-radius:8px;text-decoration:none;transition:border-color var(--gsj-motion-md),background var(--gsj-motion-md)}.ops-summary a:hover{border-color:var(--green)}.ops-focus{background:var(--spotlight);color:var(--spotlight-ink)}.ops-stat{background:var(--surface)}.ops-summary span{font-size:13px}.ops-summary strong{font:45px var(--mono);line-height:1.4;letter-spacing:-2px}.ops-summary small{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.ops-focus small{color:var(--spotlight-muted)}.ops-summary .icon{width:14px;height:14px}.ops-workbench{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.ops-workbench>div>.panel+.panel{margin-top:24px}.ops-workbench .business-table td,.ops-workbench .business-table th{padding-left:14px;padding-right:14px}.ops-workbench .business-table-scroll{max-width:100%}.ops-workbench .business-table table{min-width:640px}.audit-item{display:grid;grid-template-columns:10px minmax(0,1fr);gap:14px;padding:20px 22px;border-top:1px solid var(--line)}.audit-mark{width:6px;height:6px;margin-top:9px;background:var(--green);border-radius:50%}.audit-item strong{font-size:13px;font-weight:550}.audit-item time{font-size:11px;color:var(--muted);white-space:nowrap}.audit-item p{font-size:13px;margin:6px 0}.audit-item small{font-size:12px;color:var(--muted)}.audit-item .audit-reason{color:var(--muted);font-size:12px}.ops-links{padding:22px;margin-top:24px}.ops-links a{display:flex;justify-content:space-between;align-items:center;font-size:13px;min-height:48px;border-bottom:1px solid var(--line);text-decoration:none}.ops-links a:last-child{border-bottom:0}.ops-links a:hover{color:var(--green)}.business-audit .split{flex-wrap:wrap;gap:5px}.business-table .select-control{min-width:180px}
@media(max-width:1200px){.ops-workbench{grid-template-columns:minmax(0,1fr)}.ops-workbench>aside{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ops-links{margin-top:0}.income-middle{grid-template-columns:minmax(0,1fr) 255px}.income-summary{grid-template-columns:1.3fr 1fr 1fr}.income-net strong{font-size:32px}.income-stat strong{font-size:24px}.income-net,.income-stat{padding:24px}}
@media(max-width:750px){.business-heading{align-items:flex-start;gap:12px}.business-heading h1{font-size:28px}.business-heading>.inline{flex-wrap:wrap}.business-role{display:none}.business-tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:4px}.business-tabs .tab{white-space:nowrap}.income-summary{grid-template-columns:1fr 1fr}.income-net{grid-column:1/-1}.income-net strong{font-size:36px}.income-stat{padding:18px;border-top:1px solid var(--line);border-left:0}.income-stat:last-child{border-left:1px solid var(--line)}.income-stat strong{font-size:22px;letter-spacing:-.5px}.income-middle{grid-template-columns:1fr;gap:16px}.income-account{padding:20px}.income-chart .business-panel-head{padding:18px}.income-trend{padding:0 8px}.business-filter{flex-wrap:wrap}.business-filter .search-box{flex-basis:100%}.business-filter .field{flex:1;min-width:0;max-width:none}.business-filter .select-shell{width:100%}.business-view-switch{align-items:flex-start;flex-direction:column;gap:8px}.business-table table{min-width:700px}.business-table-scroll{overscroll-behavior-x:contain}.business-panel-head{padding:17px 16px}.business-panel-head .compact-tabs .tab{padding:8px 9px}.business-facts>div{grid-template-columns:92px minmax(0,1fr)}.business-detail-header h3{font-size:22px}.ops-summary{grid-template-columns:1fr 1fr;gap:12px}.ops-focus{grid-column:1/-1}.ops-summary>a{padding:18px 20px}.ops-summary strong{font-size:36px}.ops-workbench{gap:16px}.ops-workbench>aside{display:block}.ops-links{margin-top:16px}.case-history>p{flex-direction:column;gap:4px}.income-period{gap:8px}.income-period .compact-tabs .tab{padding:8px 10px}.income-detail-amount strong{font-size:32px}.business-heading .button{font-size:12px}}
.sidebar nav{min-height:0;overflow-y:auto;flex:1}.sidebar>.brand,.sidebar-end{flex-shrink:0}
.business-table-scroll{position:relative;min-width:0;max-width:100%}

/* Manager console: fixed information hierarchy, compact controls, no ornamental motion. */
.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}
.admin-metric,.admin-anchor{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.admin-anchor{background:var(--spotlight);color:var(--spotlight-ink);border-color:transparent}
.admin-metrics span{font-size:13px;color:var(--muted)}
.admin-anchor span{color:var(--spotlight-muted)}
.admin-metrics strong{display:block;font-size:30px;line-height:1.3;margin-top:18px;font-weight:550;font-variant-numeric:tabular-nums}
.admin-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
.admin-panel{min-width:0;margin-bottom:20px;overflow:hidden}
.admin-two-columns .admin-panel{margin-bottom:0}
.admin-panel .business-facts{padding:4px 24px 20px}
.admin-panel .ops-links{padding:4px 24px}
.admin-scope{font-size:13px;color:var(--muted);margin:18px 24px;line-height:1.7}
.admin-data-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 24px 26px;gap:20px}
.admin-data-counts a span{display:block;font-size:13px;color:var(--muted)}
.admin-data-counts a strong{display:block;font-size:26px;font-variant-numeric:tabular-nums;margin-top:8px}
.admin-parameter-form{margin:20px 0;overflow:hidden}
.admin-parameter-fields{padding:0 24px}
.admin-parameter-row{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:28px;padding:22px 0;border-bottom:1px solid var(--line)}
.admin-parameter-row strong{display:block;font-size:15px;font-weight:550}
.admin-parameter-row small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:5px}
.admin-parameter-input{display:grid;grid-template-columns:130px 1fr;gap:0 14px;align-items:center}
.admin-parameter-input input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:10px 12px;font:inherit;font-variant-numeric:tabular-nums;transition:border-color 200ms,box-shadow 200ms}
.admin-parameter-input input:focus-visible{border-color:var(--green);outline:2px solid var(--green);outline-offset:3px}
.admin-parameter-input>span{font-size:12px;color:var(--muted)}
.admin-parameter-input small{grid-column:1/-1}
.admin-reason{margin:24px}
.admin-form-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 24px 24px;font-size:12px}
.admin-parameter-form .notice{margin:20px 24px}
@media(max-width:1100px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-two-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.admin-metrics{gap:10px}.admin-metric,.admin-anchor{padding:18px}.admin-metrics strong{font-size:25px}.admin-data-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-parameter-row{grid-template-columns:1fr;gap:12px}.admin-parameter-input{grid-template-columns:minmax(0,150px) 1fr}.admin-form-footer{align-items:stretch;flex-direction:column;gap:14px}.admin-form-footer .button{width:100%}}
.admin-panel td small{display:block;font-size:12px;color:var(--muted);margin-top:5px}

