:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--bg);
  font-synthesis:none;
  --green:#28634c;
  --brand:#234f3d;
  --brand-dot:#a0bb79;
  --focus:#38906b;
  --line:#e0e5dd;
  --bg:#f6f7f3;
  --surface:#fff;
  --surface-hover:#fdfef9;
  --surface-2:#eef1e9;
  --surface-3:#dce6d6;
  --surface-4:#f3f6ed;
  --metric-bg:#e9efdf;
  --metric-line:#d9e2cc;
  --chip-bg:#e6ebdf;
  --text:#24332f;
  --muted:#7c867e;
  --text-soft:#52634c;
  --eyebrow:#71906c;
  --h1-accent:#82a260;
  --pulse:#659764;
  --badge-bg:#edf3e6;
  --badge-fg:#567548;
  --badge-warn-bg:#fbede4;
  --badge-warn-fg:#a66c56;
  --badge-neutral-bg:#f1eee2;
  --badge-neutral-fg:#8a8054;
  --error-bg:#fff0e9;
  --error-fg:#a24c35;
  --pre-fg:#a56c54;
  --tile-ok:#2f7a56;
  --tile-bad:#b9563c;
  --tile-warn:#8a8054;
  --empty-line:#d8dfcf;
  --empty-fg:#7d8b73;
  --dialog-bg:#fcfdf9;
  --dialog-text:#263b2d;
  --dialog-shadow:0 20px 100px #20321f26;
  --primary-fg:#fff;
  color-scheme:light;
}
html[data-theme=dark] {
  --green:#7cc79b;
  --brand:#a9d9bc;
  --brand-dot:#7fae5f;
  --focus:#5eae85;
  --line:#2c352c;
  --bg:#151a15;
  --surface:#1d231d;
  --surface-hover:#232b23;
  --surface-2:#181e18;
  --surface-3:#2a352a;
  --surface-4:#242c24;
  --metric-bg:#223024;
  --metric-line:#2e3d30;
  --chip-bg:#253026;
  --text:#dde4da;
  --muted:#94a095;
  --text-soft:#b3bfae;
  --eyebrow:#8fbf9a;
  --h1-accent:#9dc36f;
  --pulse:#6fae6e;
  --badge-bg:#24352a;
  --badge-fg:#9fd3ae;
  --badge-warn-bg:#3b2b22;
  --badge-warn-fg:#e2a58c;
  --badge-neutral-bg:#323025;
  --badge-neutral-fg:#cfc390;
  --error-bg:#3a241c;
  --error-fg:#eb9f80;
  --pre-fg:#e2a58c;
  --tile-ok:#2c6e4f;
  --tile-bad:#a94e35;
  --tile-warn:#77704a;
  --empty-line:#39443a;
  --empty-fg:#8b988c;
  --dialog-bg:#1d231d;
  --dialog-text:#dde4da;
  --dialog-shadow:0 20px 100px #00000066;
  --primary-fg:#10241a;
  color-scheme:dark;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--bg);
}
button,input,select {
  font:inherit;
}
button,a,select {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.4;
  cursor:default;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid var(--focus);
  outline-offset:3px;
}
a {
  color:var(--green);
}
.shell {
  display:flex;
  min-height:100vh;
}
.sidebar {
  width:232px;
  position:fixed;
  inset:0 auto 0 0;
  background:var(--surface-2);
  border-right:1px solid var(--line);
  padding:35px 20px;
  display:flex;
  flex-direction:column;
}
.brand {
  font-weight:800;
  font-size:36px;
  letter-spacing:-2px;
  text-decoration:none;
  color:var(--brand);
  display:flex;
  align-items:baseline;
}
.brand i {
  width:7px;
  height:7px;
  background:var(--brand-dot);
  border-radius:50%;
  margin-left:4px;
}
.workspace {
  font-size:10px;
  letter-spacing:1.5px;
  color:var(--muted);
  margin:55px 10px 18px;
}
nav {
  display:grid;
  gap:8px;
}
.nav {
  border:0;
  background:transparent;
  text-align:left;
  padding:13px 12px;
  border-radius:8px;
  color:var(--text-soft);
  font-size:13px;
  display:flex;
  gap:12px;
  align-items:center;
}
.nav.active {
  background:var(--surface-3);
  color:var(--text);
  font-weight:600;
}
.nav small {
  margin-left:auto;
  background:var(--surface-4);
  border-radius:5px;
  padding:2px 6px;
}
.sidebar-bottom {
  margin-top:auto;
  font-size:12px;
  padding:20px 8px 0;
  color:var(--text-soft);
}
.sidebar-bottom p {
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
}
.pulse {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--pulse);
  margin-right:5px;
}
main {
  margin-left:232px;
  flex:1;
  min-width:0;
}
header {
  height:80px;
  border-bottom:1px solid var(--line);
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
}
.breadcrumb {
  color:var(--muted);
}
.breadcrumb span {
  margin:0 14px;
  color:var(--line);
}
.header-right {
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--muted);
}
.content {
  padding:40px;
  max-width:1550px;
  margin:auto;
}
.eyebrow {
  font-size:10px;
  letter-spacing:2px;
  color:var(--eyebrow);
  font-weight:700;
}
h1 {
  font-size:34px;
  letter-spacing:-1.3px;
  font-weight:600;
  margin:13px 0;
}
h1 span {
  color:var(--h1-accent);
}
.page-heading p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:32px;
}
.metrics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:38px;
}
.metrics article {
  padding:22px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.metrics article:first-child {
  background:var(--metric-bg);
  border-color:var(--metric-line);
}
.metrics span {
  font-size:12px;
  color:var(--muted);
}
.metrics strong {
  font-size:33px;
  font-weight:500;
  letter-spacing:-1px;
}
.metrics small {
  font-size:10px;
  color:var(--muted);
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  gap:14px;
  flex-wrap:wrap;
}
h2 {
  font-size:19px;
  font-weight:600;
  margin:0;
}
.section-heading h2 span {
  font-size:11px;
  background:var(--chip-bg);
  padding:4px 8px;
  border-radius:5px;
  margin-left:8px;
}
.muted {
  color:var(--muted);
  font-size:11px;
}
.heading-right-group {
  display:flex;
  align-items:center;
  gap:14px;
}
.view-toggle {
  display:flex;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
  background:var(--surface);
}
.vt {
  border:0;
  background:transparent;
  color:var(--muted);
  padding:7px 10px;
  font-size:13px;
  line-height:1;
}
.vt.active {
  background:var(--surface-3);
  color:var(--text);
}
.filters {
  display:flex;
  gap:8px;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.search {
  display:flex;
  align-items:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:6px;
  flex:1;
  min-width:240px;
  padding-left:12px;
}
.search span {
  font-size:23px;
  color:var(--muted);
}
.search input {
  border:0;
  width:100%;
  background:transparent;
  padding:12px;
  font-size:12px;
  color:var(--text);
  outline-offset:-3px;
}
.search input::placeholder {
  color:var(--muted);
  opacity:.85;
}
select,.button {
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--surface);
  padding:10px 12px;
  color:var(--text-soft);
  font-size:12px;
}
select {
  max-width:200px;
}
.quiet {
  border:0;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  padding:8px;
}
.list-head,.vacancy-row {
  display:grid;
  grid-template-columns:minmax(230px,2.6fr) minmax(100px,1fr) 115px 85px;
  gap:20px;
  align-items:center;
}
.list-head {
  padding:0 22px 12px;
  font-size:9px;
  color:var(--muted);
  letter-spacing:1px;
}
.vacancy-row {
  width:100%;
  text-align:left;
  border:1px solid var(--line);
  background:var(--surface);
  padding:21px 22px;
  margin-bottom:9px;
  border-radius:8px;
  color:inherit;
  transition:border-color .15s,background .15s;
}
.vacancy-row:hover {
  border-color:#a5b59a;
  background:var(--surface-hover);
}
html[data-theme=dark] .vacancy-row:hover {
  border-color:#42543f;
}
.role {
  font-size:14px;
  font-weight:600;
  line-height:1.5;
}
.company-line {
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:7px;
  font-size:11px;
  color:var(--muted);
}
.company-line b {
  font-weight:500;
  color:var(--text-soft);
}
.location,.date {
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
}
.badge {
  display:inline-block;
  width:fit-content;
  padding:5px 8px;
  border-radius:5px;
  font-size:10px;
  background:var(--badge-bg);
  color:var(--badge-fg);
}
.badge.closed,.badge.failed {
  color:var(--badge-warn-fg);
  background:var(--badge-warn-bg);
}
.badge.unknown,.badge.running {
  background:var(--badge-neutral-bg);
  color:var(--badge-neutral-fg);
}
#vacancies-view.tiles .list-head {
  display:none;
}
#vacancies-view.tiles #vacancy-list {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:12px;
}
#vacancies-view.tiles .vacancy-row {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  height:100%;
  margin-bottom:0;
}
#vacancies-view.tiles .vacancy-row .badge {
  margin-top:auto;
}
#vacancies-view.tiles .company-line {
  flex-wrap:wrap;
}
.empty {
  border:1px dashed var(--empty-line);
  border-radius:9px;
  text-align:center;
  padding:60px 20px;
  color:var(--empty-fg);
  line-height:1.8;
  font-size:14px;
}
.pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:20px;
  gap:20px;
}
.pagination>span {
  font-size:10px;
  color:var(--muted);
  max-width:60%;
}
.pagination>div {
  display:flex;
  gap:8px;
}
footer {
  margin-top:45px;
  border-top:1px solid var(--line);
  padding:20px 0;
  color:var(--muted);
  font-size:9px;
  display:flex;
  justify-content:space-between;
  gap:15px;
}
.error {
  padding:12px;
  background:var(--error-bg);
  border-radius:6px;
  color:var(--error-fg);
  font-size:13px;
  white-space:pre-wrap;
  margin-bottom:15px;
}
dialog {
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--dialog-bg);
  color:var(--dialog-text);
  padding:32px;
  box-shadow:var(--dialog-shadow);
}
dialog::backdrop {
  background:#1f352452;
  backdrop-filter:blur(4px);
}
#login {
  max-width:440px;
  width:calc(100% - 32px);
}
#login h2 {
  font-size:26px;
  margin-top:18px;
}
#login p {
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
}
#login label {
  font-size:12px;
}
#token {
  display:block;
  width:100%;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--surface);
  color:var(--text);
  padding:13px;
  margin:10px 0 20px;
}
.primary {
  background:var(--green);
  color:var(--primary-fg);
  border:0;
  border-radius:7px;
  padding:13px 18px;
  width:100%;
  font-size:13px;
}
#detail {
  max-width:780px;
  width:calc(100% - 24px);
  max-height:90vh;
}
.detail-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}
#detail h2 {
  font-size:27px;
  line-height:1.3;
  margin-bottom:14px;
}
#detail h3 {
  font-size:14px;
  margin-top:28px;
}
.detail-meta {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
}
.description {
  white-space:pre-wrap;
  font-size:14px;
  line-height:1.85;
}
.chips {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:20px 0;
}
.chip {
  font-size:11px;
  background:var(--chip-bg);
  padding:6px 10px;
  border-radius:5px;
}
.source-link {
  display:inline-block;
  font-size:13px;
  margin:16px 0;
}
.timeline {
  padding:0;
  list-style:none;
  font-size:12px;
  color:var(--muted);
}
.timeline li {
  padding:8px 0;
  border-bottom:1px solid var(--line);
}
.source-note {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
}
.run {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  padding:20px;
  margin-bottom:10px;
}
.run-heading {
  display:flex;
  gap:20px;
  justify-content:space-between;
  font-size:13px;
}
.run p {
  font-size:11px;
  color:var(--muted);
}
.run pre {
  font-size:11px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:var(--pre-fg);
}
.section-heading.spaced {
  margin-top:34px;
}
#source-health {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(168px,1fr));
  gap:12px;
}
.source-tile {
  position:relative;
  border-radius:10px;
  padding:16px 15px 13px;
  min-height:122px;
  display:flex;
  flex-direction:column;
  gap:9px;
  color:#fff;
  overflow:hidden;
  background:var(--tile-warn);
}
.source-tile.ok {
  background:var(--tile-ok);
}
.source-tile.bad {
  background:var(--tile-bad);
}
.monogram {
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:12px;
  letter-spacing:.5px;
}
.tile-name {
  font-size:13px;
  font-weight:600;
  line-height:1.35;
  padding-right:6px;
}
.tile-foot {
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:10.5px;
  opacity:.9;
}
.tile-overlay {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  max-height:88%;
  overflow:auto;
  background:rgba(12,17,12,.93);
  padding:12px 14px;
  transform:translateY(102%);
  transition:transform .18s ease;
  font-size:10.5px;
  line-height:1.6;
  border-radius:10px 10px 0 0;
}
.source-tile:hover .tile-overlay,.source-tile.open .tile-overlay {
  transform:translateY(0);
}
.tile-overlay-title {
  font-weight:700;
  margin-bottom:5px;
}
.tile-line {
  opacity:.92;
}
.tile-overlay pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:6px 0 0;
  font-size:10px;
  opacity:.92;
  font-family:inherit;
}
[hidden] {
  display:none!important;
}
@media(min-width:1500px) {
  .content {
    padding:50px 65px;
  }
}
@media(max-width:1100px) {
  .sidebar {
    width:190px;
  }
  main {
    margin-left:190px;
  }
  .content {
    padding:28px;
  }
  header {
    padding:0 28px;
  }
  .list-head,.vacancy-row {
    grid-template-columns:minmax(180px,2fr) 1fr 80px;
    gap:14px;
  }
  .list-head>span:nth-child(3),.vacancy-row>.date {
    display:none;
  }
  h1 {
    font-size:29px;
  }
  .metrics {
    gap:10px;
  }
  .metrics article {
    padding:16px;
  }
}
@media(max-width:720px) {
  .shell {
    display:block;
  }
  .sidebar {
    position:static;
    width:100%;
    padding:16px 20px;
    display:block;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .brand {
    font-size:28px;
  }
  .workspace,.sidebar-bottom {
    display:none;
  }
  nav {
    display:flex;
    margin-top:14px;
  }
  .nav {
    padding:9px;
  }
  .nav small {
    margin-left:4px;
  }
  main {
    margin:0;
  }
  header {
    height:60px;
    padding:0 20px;
  }
  .breadcrumb {
    display:none;
  }
  .header-right {
    width:100%;
    justify-content:space-between;
  }
  .content {
    padding:25px 20px;
  }
  h1 {
    font-size:27px;
  }
  .metrics {
    grid-template-columns:repeat(2,1fr);
    margin-bottom:27px;
  }
  .metrics strong {
    font-size:28px;
  }
  .metrics small {
    font-size:9px;
  }
  .list-head {
    display:none;
  }
  .vacancy-row {
    grid-template-columns:1fr auto;
    gap:10px;
    padding:17px;
  }
  .location {
    grid-column:1;
    grid-row:2;
  }
  .vacancy-row>.badge {
    grid-column:2;
    grid-row:1;
  }
  .search {
    flex-basis:100%;
  }
  select {
    flex:1;
    max-width:100%;
    min-width:90px;
    font-size:11px;
  }
  .pagination {
    align-items:flex-start;
  }
  .pagination>span {
    max-width:45%;
  }
  footer {
    flex-direction:column;
  }
  dialog {
    padding:24px;
  }
  .section-heading .muted {
    font-size:10px;
  }
}
