:root {
  --ink: #17271e;
  --pine: #132e24;
  --muted: #52675b;
  --line: #d5ddd6;
  --paper: #f5f6f1;
  --panel: #fff;
  --lime: #c8ec7b;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.45 'Neue Montreal',
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  cursor: pointer;
}
a {
  color: #284d38;
}
button {
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.64;
}
:focus-visible {
  outline: 3px solid #48812c;
  outline-offset: 3px;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  z-index: 9;
  background: white;
  padding: 12px;
}
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.brand {
  font-size: 25px;
  letter-spacing: -1.8px;
  font-weight: 800;
}
.brand b {
  font-weight: 450;
}
.brand-div {
  color: #8fa582;
  margin: 0 6px;
}
.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  background: var(--pine);
  color: #f2f5ed;
  padding: 24px 15px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #556c60 transparent;
}
.rail .brand {
  display: block;
  margin: 0 14px 31px;
}
.rail h2 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a2b7a8;
  margin: 21px 13px 6px;
}
.rail nav a,
.future {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 13px;
  color: #f0f5f0;
  text-decoration: none;
}
.rail a:hover {
  background: #294638;
}
.rail [aria-current='page'] {
  color: var(--pine);
  background: var(--lime);
  font-weight: 650;
}
.rail a[aria-current]:hover {
  background: #d9f49f;
}
.future {
  color: #aebfb3;
}
.future .icon:last-child {
  width: 10px;
  height: 10px;
  margin-left: auto;
}
.topbar {
  min-height: 68px;
  padding: 12px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
}
.ws {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ws select {
  background: transparent;
  max-width: 34vw;
  padding: 6px;
  border: 0;
  font-weight: 600;
}
.topright,
.authbrand,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.env {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.env:before {
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #568139;
}
.topright .textbtn {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.mobilebtn {
  display: none;
}
.content {
  margin: 0 auto;
  max-width: 1460px;
  padding: clamp(24px, 4vw, 64px);
}
.title,
.panel header,
.session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.title {
  margin: 0 0 26px;
}
.kicker {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 0 8px;
}
.title h1,
.auth h1,
.legal h1 {
  font-weight: 550;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.065em;
  line-height: 1.04;
  margin: 0;
}
.primary,
.secondary,
.textbtn,
.mobilebtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
}
.primary {
  background: var(--pine);
  color: white;
}
.primary:hover {
  background: #264e3c;
}
.secondary,
.mobilebtn {
  background: white;
  border: 1px solid var(--line);
}
.textbtn {
  padding: 5px 0;
  color: #336247;
  background: transparent;
}
.mobilebtn {
  display: none;
}
.workspace-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  background: #dceabd;
  padding: clamp(22px, 3vw, 40px);
  min-height: 160px;
}
.workspace-card h2 {
  font-weight: 550;
  letter-spacing: -0.06em;
  font-size: clamp(29px, 3.5vw, 48px);
  line-height: 1.05;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.workspace-card > div:first-child {
  max-width: 76%;
}
.workspace-card span {
  font-size: 14px;
}
.motif {
  position: absolute;
  right: 4%;
  bottom: -22%;
  height: 150%;
  width: 24%;
  display: flex;
  gap: 5%;
  transform: skew(-26deg);
  z-index: -1;
}
.motif i {
  height: 100%;
  flex: 1;
  border: 1px solid #a3bc80;
}
.motif i:nth-child(2) {
  background: #cadeaa;
}
.motif i:last-child {
  background: #c1d79f;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  margin: 23px 0;
}
.stat {
  position: relative;
  flex: 1;
  min-width: 130px;
  margin: 18px 0;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}
.stat .icon {
  position: absolute;
  right: 18px;
  top: 6px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.07em;
  font-weight: 500;
}
.stat span,
small {
  color: var(--muted);
  font-size: 13px;
}
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  margin: 0 0 18px;
  min-width: 0;
  overflow: hidden;
}
.panel header {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.panel h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: 20px;
  margin: 0;
}
.panel header a {
  display: flex;
  padding: 6px;
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.item > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.item strong,
.item small {
  display: block;
}
.item strong {
  font-weight: 550;
}
.panel > .item,
.session {
  padding: 13px 20px;
  border-bottom: 1px solid #e9eee8;
}
.tileicon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #eff3e9;
  color: #466746;
  border-radius: 5px;
}
.activity {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}
.activity li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.activity li:last-child {
  border: 0;
}
.activity time {
  font-size: 12px;
  color: var(--muted);
}
.empty,
.legalnav {
  color: var(--muted);
  padding: 18px 20px;
}
.filter {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 9px;
}
.filter input {
  min-width: 0;
  border: 0;
  background: transparent;
  width: 145px;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
td,
th {
  padding: 13px 20px;
  border-bottom: 1px solid #e3e9e2;
}
th {
  background: #f7f8f4;
  font-size: 12px;
  font-weight: 600;
}
td {
  font-size: 14px;
}
.field {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0;
}
.field input,
.field select,
.output {
  width: 100%;
  border: 1px solid #a5b5a8;
  background: white;
  padding: 11px 12px;
  min-height: 44px;
  border-radius: 5px;
  font-weight: 400;
}
.field select {
  appearance: auto;
}
.hint {
  color: var(--muted);
  font-size: 14px;
}
.auth {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(330px, 1.15fr);
  min-height: 100vh;
}
.authside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine);
  color: #f4f7f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 80px);
}
.authside .motif {
  height: 70%;
  width: 74%;
  right: -3%;
  bottom: 8%;
  opacity: 0.55;
}
.authside .motif i {
  border-color: #abc38d;
  background: transparent;
}
.authside .motif i:nth-child(3) {
  background: #b5d78f;
}
.authside .env:before {
  background: var(--lime);
}
.authmain {
  display: grid;
  align-content: center;
  padding: 40px clamp(20px, 6vw, 96px);
  width: 100%;
  max-width: 720px;
}
.auth form,
.auth .formwrap {
  width: min(100%, 410px);
}
.auth h1 {
  margin: 0 0 22px;
}
.auth .primary {
  width: 100%;
  margin: 12px 0;
}
.auth .legalnav {
  padding: 22px 0;
}
.legalnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}
.legal {
  max-width: 750px;
  padding: 48px 22px;
  margin: auto;
}
.legal .kicker {
  margin-top: 44px;
}
.legal p {
  line-height: 1.65;
}
.output {
  overflow-wrap: anywhere;
  user-select: all;
  font:
    15px/1.6 ui-monospace,
    monospace;
}
.errors {
  color: #882e24;
  font-size: 14px;
}
.errors:empty {
  display: none;
}
dialog {
  max-width: min(460px, calc(100% - 24px));
  max-height: 90dvh;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 20px 90px #132e2433;
}
dialog::backdrop {
  background: #17271e77;
}
dialog h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.04em;
}
dialog .actions {
  margin-top: 18px;
}
dialog .rail {
  height: auto;
  position: static;
}
dialog.drawer {
  padding: 0;
  background: var(--pine);
  color: white;
}
dialog.drawer h2#dialog-name {
  margin: 16px 16px 0;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--pine);
  color: white;
  border-radius: 6px;
  padding: 12px 18px;
  z-index: 5;
}
.loading {
  opacity: 0.6;
}
.legalnav a:hover,
.textbtn:hover {
  text-decoration: underline;
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .desktoprail {
    display: none;
  }
  .mobilebtn {
    display: inline-flex;
  }
  .topbar {
    padding: 10px 16px;
  }
  .content {
    padding: 24px 16px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .authside {
    flex-direction: row;
    align-items: center;
    padding: 16px 22px;
  }
  .authside .motif {
    display: none;
  }
  .auth {
    grid-template-rows: auto 1fr;
  }
  .authmain {
    justify-self: center;
    align-content: start;
    padding-top: 50px;
  }
  .authmain > * {
    margin-inline: auto;
  }
  .ws > .icon {
    display: none;
  }
  .topright {
    gap: 6px;
  }
}
@media (max-width: 520px) {
  .title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .topbar {
    gap: 5px;
  }
  .ws {
    gap: 3px;
  }
  .ws select {
    max-width: 38vw;
  }
  .topright .textbtn {
    padding-left: 7px;
  }
  .stat {
    padding: 0 10px;
    min-width: 95px;
  }
  .stat .icon {
    display: none;
  }
  .stat span {
    font-size: 12px;
  }
  .stat strong {
    font-size: 25px;
  }
  .panel header,
  td,
  th {
    padding: 12px;
  }
  .activity {
    padding: 0 12px;
  }
  .activity li {
    align-items: flex-start;
    flex-direction: column;
  }
  .title h1 {
    font-size: 37px;
  }
  .workspace-card {
    min-height: 140px;
  }
  .workspace-card > div:first-child {
    max-width: 82%;
  }
  .session {
    padding: 12px;
  }
  .session .tileicon {
    display: none;
  }
  .topright .env {
    font-size: 10px;
  }
  .authside .env {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.navlegend {
  font-size: 11px;
  color: #c0cec3;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px 12px;
}
.navlegend .icon {
  width: 12px;
  height: 12px;
}
.scope {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.scope label {
  color: var(--muted);
  font-size: 12px;
}
.scope select {
  max-width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px;
  font-size: 13px;
}
.scope + .title {
  margin-top: 0;
}
@media (max-width: 600px) {
  .scope {
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 16px;
  }
  .scope select {
    max-width: 128px;
  }
}
