:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #fff;
  --ink: #162528;
  --muted: #65767b;
  --line: #e1e8e9;
  --brand: #126b60;
  --brand-soft: #e6f3ee;
  --nav: #142f2e;
  --amber: #895818;
  --amber-soft: #fff5df;
  --danger: #a73740;
  --purple: #7060a7;
  --shadow: 0 16px 55px #142f2e16;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--brand);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--nav);
  color: #f0faf6;
  padding: 32px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.8px;
  padding: 0 10px;
}
.brandmark {
  width: 32px;
  height: 32px;
  background: #a9dbbc;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #17372f;
  font-size: 23px;
  line-height: 1;
}
.brand small {
  color: #b4c9c4;
  font-size: 10px;
  letter-spacing: 2px;
  display: block;
  font-weight: 500;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #c0d2cc;
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
}
.nav a:hover {
  background: #24413e;
  color: white;
}
.nav a.active {
  background: #e2f2e8;
  color: #16463d;
}
.nav-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-title {
  text-transform: uppercase;
  letter-spacing: 1.9px;
  color: #88aaa0;
  font-size: 10px;
  margin: 0 13px 10px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 17px 12px;
  border: 1px solid #39534b;
  border-radius: 9px;
  font-size: 12px;
  color: #b4cdc4;
}
.sidebar-foot strong {
  display: block;
  color: #e0f3e8;
  margin-bottom: 4px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 76px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.topbar .spacer {
  flex: 1;
}
.org-select {
  border: none;
  background: transparent;
  color: var(--ink);
  max-width: 250px;
  font-weight: 600;
  padding: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 5px;
  padding: 4px 8px;
  white-space: nowrap;
  background: var(--brand-soft);
  color: var(--brand);
}
.badge.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.badge.red {
  background: #fbecef;
  color: var(--danger);
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 11px;
}
.person {
  font-size: 12px;
}
.person small {
  display: block;
  font-size: 10px;
}
.main {
  padding: 34px 38px 60px;
  max-width: 1530px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 650;
  color: var(--brand);
  margin-bottom: 8px;
}
.description {
  color: var(--muted);
  margin-top: 10px;
  max-width: 700px;
  font-size: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  line-height: 1.5;
}
.btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.btn.danger {
  color: var(--danger);
}
.btn.small {
  padding: 5px 10px;
  font-size: 11px;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-body {
  padding: 22px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  padding: 22px;
}
.stat .number {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin-top: 12px;
  font-weight: 600;
}
.stat small {
  display: block;
  margin-top: 6px;
}
.icon-box {
  width: 36px;
  height: 36px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.workspace-card {
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.workspace-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}
.workspace-card p {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 17px;
  min-height: 36px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  color: var(--brand);
  font-weight: 600;
  font-size: 11px;
}
.callout {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--brand-soft);
  border: 1px solid #cce2d7;
  border-radius: 9px;
  padding: 19px 22px;
  margin-bottom: 25px;
}
.callout h3 {
  font-size: 14px;
}
.callout p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.callout .btn {
  margin-left: auto;
  white-space: nowrap;
}
.section-gap {
  margin-top: 24px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: var(--bg);
  padding: 12px 20px;
  font-weight: 600;
}
td {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
td strong {
  font-size: 12px;
}
td small {
  display: block;
  margin-top: 3px;
}
tr:hover td {
  background: color-mix(in srgb, var(--brand-soft) 30%, transparent);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 15px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
}
.tabs button.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 650;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row .grow {
  flex: 1;
  min-width: 0;
}
.list-row small {
  display: block;
}
.dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand);
}
.dot.amber {
  background: var(--amber);
}
.dot.red {
  background: var(--danger);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 22px;
}
.details {
  display: grid;
  gap: 16px;
}
.details dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.details dd {
  margin: 5px 0 0;
  font-size: 13px;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  color: var(--muted);
}
.comment {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.comment:last-child {
  border: 0;
}
.comment p {
  margin: 8px 0;
  color: var(--ink);
}
.comment.private {
  border-left: 3px solid var(--amber);
  padding-left: 13px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  padding: 10px 12px;
  min-width: 0;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.field.check {
  flex-direction: row;
  align-items: center;
}
.field.check input {
  width: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 0;
  width: min(600px, calc(100vw - 32px));
  max-height: 90vh;
  background: var(--panel);
  color: var(--ink);
}
dialog::backdrop {
  background: #102b2e66;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-body {
  padding: 24px;
}
.form-error {
  background: #fbecef;
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 14px;
  white-space: pre-wrap;
}
.progress {
  height: 5px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 9px;
  max-width: 130px;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--brand);
}
.room {
  padding: 20px;
}
.room .capacity {
  font-size: 27px;
  margin: 16px 0 4px;
  letter-spacing: -1px;
}
.room p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.job {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}
.job-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.job details {
  margin-top: 10px;
}
.job ul {
  font-size: 12px;
  color: var(--muted);
  padding-left: 20px;
}
.export-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.export-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
}
.export-link:hover {
  border-color: var(--brand);
}
pre {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  padding: 16px;
  overflow: auto;
  max-height: 370px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sensitive {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--ink);
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  padding: 65px 12%;
  background: var(--nav);
  color: #e6f3e9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-story .brand {
  padding: 0;
  margin-bottom: 75px;
}
.login-story h1 {
  font-size: 48px;
  line-height: 1.12;
  max-width: 460px;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.login-story p {
  max-width: 420px;
  color: #b6ccc0;
  font-size: 15px;
  line-height: 1.8;
}
.login-story .badge {
  align-self: flex-start;
  margin-top: 40px;
  background: #2c4940;
  color: #c8e8d1;
}
.login-box {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-form {
  width: 100%;
  max-width: 355px;
}
.login-form h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.login-form > p {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 13px;
}
.login-form .btn {
  width: 100%;
  padding: 12px;
}
.login-foot {
  margin-top: 25px;
  font-size: 11px;
  color: var(--muted);
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  background: var(--nav);
  color: #edf6ef;
  max-width: calc(100vw - 32px);
  border-radius: 8px;
  z-index: 99;
  box-shadow: var(--shadow);
  font-size: 12px;
  display: none;
}
#notice.show {
  display: block;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: white;
  padding: 8px;
}
.skip:focus {
  top: 8px;
}
.skeleton {
  padding: 40px;
  color: var(--muted);
}
.stack {
  display: grid;
  gap: 18px;
}
.inline-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.warning {
  color: var(--amber);
  background: var(--amber-soft);
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 18px;
}
.search {
  max-width: 260px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--panel);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #142023;
    --panel: #1c2b2e;
    --ink: #e3ece9;
    --muted: #a2b5b0;
    --line: #344447;
    --brand: #79c6ad;
    --brand-soft: #263f36;
    --nav: #0f2323;
    --amber: #e4c27d;
    --amber-soft: #3f3627;
    --danger: #ffb1b8;
    --shadow: 0 16px 55px #0005;
  }
  .btn.primary {
    background: #87ceb5;
    color: #12342a;
    border-color: #87ceb5;
  }
  .badge.red,
  .form-error {
    background: #432a30;
  }
  .callout {
    border-color: #385b4b;
  }
  .sensitive {
    color: var(--ink);
  }
}
@media (min-width: 1450px) {
  .main {
    padding-top: 45px;
  }
  .stats {
    gap: 22px;
  }
  .workspace-card {
    padding: 28px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .person {
    display: none;
  }
}
@media (max-width: 730px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
    gap: 16px;
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .sidebar .brand small {
    display: none;
  }
  .nav-title,
  .sidebar-foot {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
  }
  .nav a {
    white-space: nowrap;
    padding: 8px 11px;
    font-size: 11px;
  }
  .nav-icon {
    width: 16px;
    height: 16px;
  }
  .topbar {
    height: auto;
    min-height: 65px;
    padding: 14px 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .topbar .badge {
    font-size: 9px;
  }
  .org-select {
    max-width: 205px;
    font-size: 12px;
  }
  .topbar .avatar {
    display: none;
  }
  .main {
    padding: 25px 16px 50px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  h1 {
    font-size: 28px;
  }
  .grid,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .stat .number {
    font-size: 27px;
  }
  .callout {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 17px;
  }
  .callout .btn {
    margin: 0;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-body {
    padding: 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 35px 28px;
  }
  .login-story .brand {
    margin-bottom: 30px;
  }
  .login-story h1 {
    font-size: 34px;
  }
  .login-story p {
    font-size: 13px;
  }
  .login-story .badge {
    margin-top: 22px;
  }
  .login-box {
    padding: 35px 25px;
  }
  .export-grid {
    grid-template-columns: 1fr;
  }
  td,
  th {
    padding-left: 15px;
    padding-right: 15px;
  }
  .topbar .spacer {
    display: none;
  }
  .topbar .btn {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.form-error:empty {
  display: none;
}
