Skip to content

Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.

5.1 KB
Raw Blame
:root {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}

* { box-sizing: border-box; }
html, body, #root { min-width: 0; min-height: 100%; margin: 0; }
body { background: #f5f6f9; }

.hr-business-page {
  width: min(100%, 1180px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px);
}

.hr-business-page button,
.hr-business-page input,
.hr-business-page select,
.hr-business-page textarea {
  max-width: 100%;
  border: 1px solid var(--hr-border-strong);
  border-radius: var(--hr-radius-sm);
  background: var(--hr-surface-strong);
  color: var(--hr-text);
  font: inherit;
}

.hr-business-page button {
  min-height: 2.55em;
  padding: .58em .86em;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.hr-business-page button:hover:not(:disabled) {
  border-color: var(--hr-accent);
  background: var(--hr-accent-soft);
  color: var(--hr-accent-text);
}

.hr-business-page button:disabled { cursor: default; opacity: .5; }
.hr-business-page input,
.hr-business-page select,
.hr-business-page textarea { width: 100%; padding: .62em .75em; }
.hr-business-page textarea { min-height: 5em; resize: vertical; }
.hr-business-page label { display: grid; min-width: 0; gap: .38em; margin-block: .55em; color: var(--hr-text-soft); font-size: .84em; }
.hr-business-page small { color: var(--hr-text-faint); }
.hr-business-page code { display: block; overflow-wrap: anywhere; }
.hr-business-page form { min-width: 0; }

.section-heading,
.plan-title,
.actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .75em;
  flex-wrap: wrap;
}
.section-heading,
.plan-title { justify-content: space-between; }
.section-heading { margin-bottom: 1.15em; }
.section-heading > div,
.plan-title > div { min-width: 0; }
.section-heading h1,
.section-heading h2,
.plan-title h2,
.plan-title h3 { margin-bottom: .3em; }
.section-heading p { margin-bottom: 0; }
.actions { justify-content: flex-start; }

.hr-business-page .primary {
  border-color: var(--hr-accent);
  background: var(--hr-accent);
  color: #fff;
}
.hr-business-page .primary:hover:not(:disabled) { background: var(--hr-accent-hover); color: #fff; }

.card,
.empty {
  min-width: 0;
  margin-block: 1em;
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius-lg);
  background: var(--hr-surface);
  box-shadow: var(--hr-shadow-sm);
  padding: 1.15em;
}
.empty { border-style: dashed; text-align: center; }
.card dl { display: flex; gap: 1.3em 2em; flex-wrap: wrap; margin: 1.1em 0 0; }
.card dt { color: var(--hr-text-faint); font-size: .72em; }
.card dd { margin: .2em 0 0; overflow-wrap: anywhere; }

.alert,
.hr-global-alert,
.notice,
.hr-global-notice {
  border-radius: var(--hr-radius-sm);
  padding: .78em .9em;
  overflow-wrap: anywhere;
}
.alert,
.hr-global-alert { border: 1px solid color-mix(in srgb, var(--hr-negative) 40%, transparent); background: var(--hr-negative-soft); color: var(--hr-negative); }
.notice,
.hr-global-notice { border: 1px solid color-mix(in srgb, var(--hr-info) 28%, transparent); background: var(--hr-info-soft); color: var(--hr-info); }
.hr-global-alert,
.hr-global-notice { width: min(calc(100% - 2em), 1180px); margin: 1em auto 0; }
.muted-text { color: var(--hr-text-soft); font-size: .84em; }

.hr-operation-panel { width: min(calc(100% - 2em), 1120px); margin: 1em auto 2em; padding: 1em; }
.hr-operation-panel code + code { margin-top: .35em; color: var(--hr-negative); }

.full-editor { margin: 1.25em 0; }
.full-editor fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.full-editor label { margin: .85em 0; }
.full-editor .candidate-group { margin: 1em 0; border: 1px solid var(--hr-border); border-radius: var(--hr-radius-md); padding: 1em; }
.candidate-group legend { padding: 0 .4em; font-weight: 650; }
.candidate-row { display: flex; align-items: center; justify-content: space-between; gap: 1em; border-bottom: 1px solid var(--hr-border); padding: .8em 0; }
.candidate-row > div:first-child { min-width: 0; flex: 1; }
.candidate-row small { display: block; margin: .35em 0; overflow-wrap: anywhere; }
.full-editor .check,
.agent-plan-choice { display: flex; align-items: center; gap: .6em; }
.full-editor .check input,
.agent-plan-choice input { width: auto; flex: none; }
.suggestions { margin: .7em 0; border-radius: var(--hr-radius-sm); background: var(--hr-positive-soft); padding: 1em; }

.agent-access .card { margin-block: 1em; }
.agent-access select { max-width: 100%; }
.agent-access fieldset { margin-block: 1em; border: 1px solid var(--hr-border); border-radius: var(--hr-radius-sm); }
.agent-access form > fieldset { border: 0; padding: 0; }
.agent-access form > fieldset > legend { margin-bottom: .8em; font-weight: 650; }
.permission-editor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em 1em; }
.permission-editor > fieldset,
.permission-editor > p { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .permission-editor { grid-template-columns: 1fr; }
  .candidate-row { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-ui * { scroll-behavior: auto !important; transition: none !important; }
}