:root {
  color-scheme: dark;
  --canvas: #101113;
  --surface: #17191c;
  --raised: #1e2125;
  --line: #303339;
  --white: #f5f6f7;
  --muted: #a3a7ad;
  --lime: #ccf347;
  --error: #ff9f9f;
  --font: 'Segoe UI Variable', 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select {
  outline-offset: 4px;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1.05px;
}
h2 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.35px;
  font-weight: 620;
}
h3 {
  font-size: 16px;
  font-weight: 620;
}
p {
  color: var(--muted);
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime);
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: 12px;
  background: var(--lime);
  color: #171b0b;
  padding: 10px 16px;
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 41px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.14s,
    border-color 0.14s;
}
.button-primary {
  background: var(--lime);
  color: #1c220a;
}
.button-primary:hover:not(:disabled) {
  background: #dcff70;
}
.button-secondary {
  background: var(--raised);
  border-color: #34383f;
  color: var(--white);
}
.button-secondary:hover:not(:disabled) {
  background: #2b2f35;
  border-color: #555b63;
}
.button[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}
.button svg {
  width: 17px;
  height: 17px;
}
.text-button {
  border: 0;
  background: none;
  padding: 6px 0;
  font-size: 12px;
  color: var(--muted);
}
.text-button:hover {
  color: var(--white);
}
.inline-link {
  color: var(--lime);
  font-size: 13px;
  text-decoration: none;
}
.inline-link:hover {
  text-decoration: underline;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.small-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #d0d4d9;
}
.loading-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
}
.loading-screen img {
  border-radius: 13px;
}
.login-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
  position: relative;
}
.login-brand {
  padding-bottom: 20px;
}
.login-brand img {
  border-radius: 23px;
  display: block;
}
.login-product {
  color: var(--white);
  font-weight: 650;
  font-size: 15px;
  margin-bottom: 25px;
}
.login-screen h1 {
  font-size: clamp(36px, 5vw, 53px);
  letter-spacing: -1.9px;
  line-height: 1.12;
  font-weight: 650;
}
.login-description {
  max-width: 390px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.7;
}
.login-button {
  margin-top: 32px;
  min-height: 48px;
  min-width: 228px;
  font-size: 14px;
}
.login-button svg {
  stroke: none;
  width: 20px;
  height: 20px;
}
.login-note {
  font-size: 12px;
  margin-top: 14px;
}
.login-footer {
  font-size: 12px;
  margin-top: 64px;
  color: #7d828a;
}
.login-screen .notice {
  max-width: 440px;
  margin: 25px 0 0;
}
.access-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  padding: 32px;
}
.access-screen h1 {
  font-size: 29px;
}
.access-screen p {
  max-width: 420px;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  padding: 30px 18px 24px;
  background: #15171a;
  border-right: 1px solid #292c31;
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  text-decoration: none;
}
.wordmark img {
  border-radius: 10px;
}
.wordmark strong {
  display: block;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.wordmark small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.server-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 31px 0 25px;
  overflow: hidden;
}
.server-symbol {
  width: 31px;
  height: 31px;
  background: #2a2e24;
  color: var(--lime);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.server-summary div {
  min-width: 0;
}
.server-summary strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.server-summary div span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.navigation {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.navigation a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 6px;
  color: #aeb3ba;
  text-decoration: none;
  font-size: 13px;
  font-weight: 550;
}
.navigation a svg {
  width: 18px;
  height: 18px;
}
.navigation a:hover {
  background: #202328;
  color: var(--white);
}
.navigation a[aria-current='page'] {
  color: var(--lime);
  background: #252c1c;
}
.navigation a[aria-current='page'] svg {
  stroke-width: 1.9;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 22px 9px 0;
}
.sidebar-bottom p {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 9px;
  color: #7f858e;
}
.sidebar-bottom a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b0b5bc;
  font-size: 12px;
  text-decoration: none;
  margin-top: 24px;
}
.main-shell {
  margin-left: 226px;
  width: calc(100% - 226px);
  min-width: 0;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid #292c31;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 20px;
}
.workspace-location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #8b9199;
}
.workspace-location strong {
  font-weight: 500;
  color: #e1e3e7;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.account img {
  border-radius: 50%;
  background: var(--raised);
}
.account span {
  font-size: 12px;
  font-weight: 500;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account button {
  margin-left: 14px;
}
.main-content {
  max-width: 1352px;
  margin: 0 auto;
  padding: 43px 40px 24px;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.page-heading p {
  margin-top: 10px;
  font-size: 14px;
}
.page-heading > .button {
  margin-top: 4px;
}
.overview-stats {
  display: flex;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.overview-stats > div {
  flex: 1;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.overview-stats > div:first-child {
  padding-left: 0;
  border: 0;
}
.overview-stats > div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 9px;
}
.overview-stats strong {
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.2;
}
.overview-stats strong small {
  font-size: 12px;
  color: #9ca3aa;
  letter-spacing: 0;
  font-weight: 400;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 32px;
}
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.section-heading p {
  font-size: 12px;
  margin-top: 7px;
}
.subtle-badge {
  font-size: 11px;
  color: var(--muted);
  padding-top: 4px;
  white-space: nowrap;
}
.recent-tickets {
  border-top: 1px solid var(--line);
}
.ticket-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #282c31;
  text-decoration: none;
}
.ticket-row:hover .ticket-name {
  color: var(--lime);
}
.ticket-glyph {
  color: #b6bbc2;
  width: 34px;
  height: 34px;
  border: 1px solid #353940;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ticket-glyph svg {
  width: 17px;
  height: 17px;
}
.ticket-copy {
  min-width: 0;
  flex: 1;
}
.ticket-name {
  font-weight: 550;
  font-size: 13px;
}
.ticket-copy small {
  display: block;
  font-size: 11px;
  color: #818891;
  margin-top: 2px;
}
.ticket-state {
  font-size: 10px;
  color: #b5bbc1;
  border: 1px solid #363b42;
  border-radius: 5px;
  padding: 3px 7px;
}
.ticket-state.is-open {
  color: #d5eca0;
  background: #293020;
  border-color: #39442b;
}
.ticket-arrow {
  font-size: 15px;
  color: #777f88;
}
.empty-tickets {
  padding: 37px 10px;
  text-align: center;
}
.empty-tickets strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 7px;
}
.empty-tickets p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 290px;
  margin: auto;
}
.desk-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  align-self: start;
}
.note-icon {
  width: 40px;
  height: 40px;
  color: var(--lime);
  background: #2a301f;
  display: grid;
  place-items: center;
  border-radius: 9px;
  margin-bottom: 20px;
}
.desk-note h2 {
  font-size: 19px;
  max-width: 180px;
}
.desk-note p {
  font-size: 12px;
  margin: 12px 0 22px;
  line-height: 1.8;
}
.desk-note .button {
  font-size: 11px;
  width: 100%;
  padding: 10px 12px;
}
.desk-note-footer {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #969da6;
}
.setup-prompt {
  padding: 20px 24px;
  border: 1px solid #4b562f;
  background: #1d2416;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.setup-prompt h2 {
  font-size: 17px;
}
.setup-prompt p {
  font-size: 12px;
  margin-top: 5px;
  max-width: 530px;
  color: #afb99d;
}
.guidance {
  display: flex;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 24px;
  background: var(--surface);
}
.guidance svg {
  width: 17px;
  height: 17px;
  color: #b7c29f;
  margin-top: 2px;
}
.guidance p {
  font-size: 12px;
  line-height: 1.7;
  color: #b2b8bd;
}
.route-list {
  border-top: 1px solid var(--line);
}
.route-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
  gap: 20px;
  align-items: start;
}
.route-topic {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 24px;
}
.route-topic .topic-icon {
  width: 34px;
  height: 34px;
  border: 1px solid #353b35;
  background: #1d211a;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #c4d69a;
  flex-shrink: 0;
}
.topic-icon svg {
  width: 18px;
  height: 18px;
}
.route-topic h2 {
  font-size: 14px;
  letter-spacing: 0;
}
.route-topic p {
  font-size: 11px;
  margin-top: 4px;
}
.route-field {
  min-width: 0;
}
.route-field label {
  font-size: 11px;
  margin-bottom: 8px;
  color: #aab1b8;
}
.route-save {
  align-self: start;
  margin-top: 27px;
  min-width: 66px;
  font-size: 12px;
}
.route-feedback {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 1.6;
  margin-top: -6px;
  color: var(--muted);
  white-space: pre-line;
}
.route-feedback.is-error {
  color: var(--error);
}
.footnote {
  font-size: 11px;
  margin-top: 19px;
  color: #8b929b;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: 44px;
}
.settings-section {
  padding-right: 36px;
  border-right: 1px solid var(--line);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 8px;
  color: #d6dadf;
}
select {
  width: 100%;
  min-height: 42px;
  padding: 9px 34px 9px 12px;
  border: 1px solid #3b4149;
  border-radius: 6px;
  background: var(--raised);
  color: #edf0f3;
  font-size: 12px;
  line-height: 1.6;
}
select:hover:not(:disabled) {
  border-color: #64705c;
}
select option {
  background: var(--raised);
  color: var(--white);
}
select:invalid {
  color: #959da8;
}
select + label,
.field-help + label {
  margin-top: 25px;
}
.field-help {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 9px;
  color: #9098a2;
  max-width: 410px;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 25px;
}
.form-feedback {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 18px;
  color: #c8dfa1;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.form-feedback.is-error {
  color: var(--error);
}
.discord-preview {
  background: #29282f;
  padding: 17px 15px 16px;
  border: 1px solid #3c3b42;
  border-radius: 9px;
  margin-bottom: 25px;
}
.preview-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 12px;
}
.preview-author img {
  border-radius: 50%;
}
.preview-author strong {
  font-weight: 600;
}
.preview-author span {
  font-size: 9px;
  line-height: 15px;
  background: #5865f2;
  color: white;
  border-radius: 3px;
  padding: 0 4px;
}
.preview-embed {
  border-left: 3px solid var(--lime);
  background: #232229;
  border-radius: 3px;
  padding: 13px 12px;
  margin-left: 15px;
}
.preview-embed > strong {
  font-size: 12px;
}
.preview-embed p {
  font-size: 11px;
  color: #d3d0d9;
  line-height: 1.6;
  margin: 8px 0 12px;
}
.panel-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
  border-radius: 3px;
}
.preview-embed small {
  display: block;
  font-size: 9px;
  margin-top: 10px;
  color: #d2cfda;
}
.preview-button {
  display: inline-block;
  font-size: 10px;
  font-weight: 550;
  border-radius: 4px;
  background: #5865f2;
  margin: 9px 0 0 15px;
  padding: 7px 11px;
}
.panel-section .inline-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 11px;
}
.page-footer {
  border-top: 1px solid #292d32;
  margin-top: 58px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: #767e88;
}
.notice {
  border: 1px solid #4d5933;
  background: #20271a;
  color: #d0dfa9;
  border-radius: 7px;
  padding: 14px 17px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 24px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.notice.is-error {
  border-color: #633d3e;
  background: #2b2022;
  color: #ffb9b9;
}
.notice a,
.form-feedback a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 113px);
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  border: 1px solid #53613b;
  background: #29331e;
  color: #e4efcd;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 12px;
  box-shadow: 0 8px 36px #0008;
  z-index: 10;
}
.toast.is-error {
  background: #342326;
  border-color: #764a50;
  color: #ffd4d9;
}
.form-loading {
  pointer-events: none;
}
.form-loading select {
  opacity: 0.6;
}
@media (min-width: 1500px) {
  .main-content {
    padding-top: 52px;
  }
  .overview-columns {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 1190px) {
  .sidebar {
    width: 204px;
    padding-inline: 13px;
  }
  .main-shell {
    margin-left: 204px;
    width: calc(100% - 204px);
  }
  .topbar {
    padding-inline: 28px;
  }
  .main-content {
    padding-inline: 28px;
  }
  .route-row {
    grid-template-columns: minmax(140px, 0.85fr) minmax(135px, 1fr) minmax(135px, 1fr) auto;
    gap: 12px;
  }
  .route-topic {
    gap: 9px;
  }
  .route-topic .topic-icon {
    display: none;
  }
  .route-topic h2 {
    font-size: 13px;
  }
  .settings-layout {
    gap: 26px;
  }
  .settings-section {
    padding-right: 25px;
  }
  .overview-columns {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 25px;
  }
  .desk-note {
    padding: 20px;
  }
  .toast {
    left: calc(50% + 102px);
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 185px;
    padding: 24px 10px;
  }
  .main-shell {
    margin-left: 185px;
    width: calc(100% - 185px);
  }
  .wordmark {
    padding-inline: 8px;
    gap: 8px;
  }
  .server-summary {
    padding: 10px 8px;
  }
  .navigation a {
    font-size: 12px;
    padding: 11px 10px;
    gap: 9px;
  }
  .sidebar-bottom {
    padding-inline: 5px;
  }
  .small-status {
    font-size: 10px;
  }
  .main-content {
    padding: 32px 24px 22px;
  }
  .topbar {
    padding-inline: 24px;
  }
  .workspace-location {
    font-size: 11px;
    gap: 8px;
  }
  .account span {
    max-width: 100px;
  }
  .account button {
    margin-left: 5px;
  }
  h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .overview-columns {
    grid-template-columns: 1fr;
  }
  .desk-note {
    display: none;
  }
  .overview-stats > div {
    padding-left: 17px;
  }
  .overview-stats > div > span {
    font-size: 11px;
  }
  .overview-stats strong {
    font-size: 30px;
  }
  .overview-stats strong small {
    display: block;
    font-size: 10px;
    margin-top: 5px;
  }
  .route-row {
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
  }
  .route-topic {
    grid-column: 1/-1;
    padding-top: 0;
    gap: 10px;
    margin-bottom: 2px;
  }
  .route-topic .topic-icon {
    display: grid;
    width: 30px;
    height: 30px;
  }
  .route-topic p {
    display: inline;
    margin-left: 7px;
  }
  .route-topic h2 {
    display: inline;
    font-size: 14px;
  }
  .route-save {
    margin-top: 24px;
  }
  .route-field label {
    margin-bottom: 6px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-section {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 30px;
  }
  .panel-section {
    padding-top: 8px;
    max-width: 520px;
  }
  .toast {
    left: calc(50% + 92px);
  }
  .setup-prompt {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 19px 20px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .wordmark {
    padding: 0;
  }
  .wordmark img {
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }
  .wordmark strong {
    font-size: 19px;
  }
  .wordmark small {
    font-size: 10px;
    margin-top: 2px;
  }
  .server-summary {
    margin: 0;
    padding: 7px 9px;
    max-width: 150px;
    gap: 7px;
  }
  .server-symbol {
    width: 25px;
    height: 25px;
    font-size: 13px;
  }
  .server-summary strong {
    font-size: 10px;
    max-width: 90px;
  }
  .server-summary div span {
    font-size: 9px;
  }
  .navigation {
    flex-direction: row;
    grid-column: 1/-1;
    margin-top: 20px;
    gap: 9px;
    justify-content: space-between;
  }
  .navigation a {
    padding: 11px 7px 13px;
    font-size: 12px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    gap: 7px;
  }
  .navigation a[aria-current='page'] {
    border-bottom-color: var(--lime);
    background: none;
  }
  .navigation a svg {
    width: 16px;
    height: 16px;
  }
  .sidebar-bottom {
    display: none;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 58px;
    padding: 0 20px;
  }
  .workspace-location {
    font-size: 10px;
    gap: 7px;
  }
  .account span {
    font-size: 11px;
    max-width: 95px;
  }
  .account img {
    width: 23px;
    height: 23px;
  }
  .account button {
    font-size: 10px;
    margin-left: 3px;
  }
  .main-content {
    padding: 29px 20px 22px;
  }
  .page-heading {
    gap: 15px;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.65;
    max-width: 340px;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 9px 11px;
    min-height: 36px;
  }
  .page-heading > .button svg {
    display: none;
  }
  .overview-stats {
    padding: 10px 0 23px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 23px;
  }
  .overview-stats > div {
    padding-left: 20px;
  }
  .overview-stats > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .overview-stats > div > span {
    margin-bottom: 5px;
  }
  .overview-stats strong {
    font-size: 30px;
  }
  .overview-stats strong small {
    display: inline;
    font-size: 11px;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .ticket-row {
    gap: 11px;
  }
  .ticket-name {
    font-size: 12px;
  }
  .ticket-state {
    font-size: 9px;
  }
  .ticket-glyph {
    width: 30px;
    height: 30px;
  }
  .route-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    padding: 22px 0;
  }
  .route-topic p {
    display: block;
    margin: 3px 0 0;
  }
  .route-topic h2 {
    display: block;
  }
  .route-save {
    grid-column: 2;
    margin-top: 0;
    justify-self: end;
    min-width: 80px;
  }
  .route-feedback {
    margin-top: 0;
  }
  .guidance {
    padding: 13px;
    gap: 8px;
  }
  .guidance p {
    font-size: 11px;
  }
  .settings-layout {
    gap: 24px;
  }
  .settings-section {
    padding-bottom: 28px;
  }
  .page-footer {
    margin-top: 40px;
    font-size: 9px;
  }
  .toast {
    left: 50%;
    bottom: 16px;
  }
  .login-screen {
    padding-top: 50px;
  }
  .login-description {
    font-size: 14px;
    max-width: 330px;
  }
  .login-product {
    margin-bottom: 20px;
  }
  .login-screen h1 {
    letter-spacing: -1.2px;
  }
  .login-brand img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }
  .login-footer {
    margin-top: 48px;
  }
}
@media (max-width: 390px) {
  .sidebar {
    padding-inline: 15px;
  }
  .navigation {
    gap: 3px;
  }
  .navigation a {
    font-size: 11px;
    gap: 6px;
  }
  .main-content {
    padding-inline: 15px;
  }
  .topbar {
    padding-inline: 15px;
  }
  .workspace-location > span:first-child,
  .workspace-location > span:nth-child(2) {
    display: none;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading > .button {
    padding-inline: 9px;
  }
  .account span {
    max-width: 80px;
  }
  .route-row {
    grid-template-columns: 1fr;
  }
  .route-field,
  .route-save {
    grid-column: 1;
  }
  .route-save {
    justify-self: start;
  }
  .route-topic {
    margin-bottom: 4px;
  }
  .server-summary {
    max-width: 135px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.role-field-label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 8px;
  color: #aab1b8;
}
.role-picker {
  position: relative;
}
.role-picker summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 11px;
  border: 1px solid #3b4149;
  border-radius: 6px;
  background: var(--raised);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
  outline-offset: 4px;
}
.role-picker summary::-webkit-details-marker {
  display: none;
}
.role-picker summary > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.role-picker summary svg {
  width: 14px;
  height: 14px;
}
.role-picker summary:hover,
.role-picker[open] summary {
  border-color: #64705c;
}
.role-picker summary:focus-visible,
.role-search:focus-visible,
.role-option input:focus-visible {
  outline: 2px solid var(--lime);
}
.role-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 270px);
  max-width: calc(100vw - 40px);
  border: 1px solid #4a515b;
  border-radius: 8px;
  background: #202328;
  padding: 10px;
  box-shadow: 0 12px 36px #0008;
}
.role-search {
  width: 100%;
  min-height: 34px;
  border: 1px solid #404750;
  border-radius: 5px;
  padding: 7px 9px;
  background: #15171a;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  outline-offset: 2px;
}
.role-options {
  max-height: 214px;
  overflow-y: auto;
  margin-top: 8px;
  overscroll-behavior: contain;
}
.role-field .role-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 6px;
  margin: 0;
  border-radius: 4px;
  color: #e1e5eb;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.role-option:hover {
  background: #2c323b;
}
.role-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--lime);
  flex-shrink: 0;
}
.role-option span {
  overflow-wrap: anywhere;
}
.role-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 3px 0;
  margin-top: 8px;
  border-top: 1px solid #3a4049;
  color: #9aa3ae;
  font-size: 10px;
}
.role-menu-footer .text-button {
  font-size: 10px;
  color: #d2daba;
}
.role-empty {
  font-size: 11px;
  line-height: 1.7;
  padding: 10px 5px;
  color: #a9b1ba;
}
.selected-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.selected-roles:empty {
  display: none;
}
.role-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  max-width: 100%;
  border: 1px solid #475136;
  border-radius: 4px;
  padding: 3px 6px;
  background: #29301f;
  color: #d6e4bb;
  font-size: 10px;
  font-weight: 500;
}
.role-chip > span:first-child {
  overflow-wrap: anywhere;
  text-align: left;
}
.role-chip:hover {
  background: #394329;
}
.chip-remove {
  font-size: 13px;
  line-height: 1;
  color: #aabb8a;
}
.role-picker-feedback {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--error);
}
.form-loading .role-picker,
.form-loading .selected-roles {
  opacity: 0.6;
}
.role-picker[open] summary svg {
  transform: rotate(180deg);
}
@media (max-width: 960px) {
  .role-field-label {
    margin-bottom: 6px;
  }
}
@media (max-width: 390px) {
  .role-menu {
    width: 100%;
  }
}
.pending-update {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  margin-bottom: 28px;
  border: 1px solid #636b39;
  border-radius: 8px;
  background: #252a1b;
}
.pending-update h2 {
  font-size: 17px;
  color: #e3ecc5;
}
.pending-update p {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 7px;
  color: #bdc7a3;
  max-width: 620px;
}
.pending-update #pending-label {
  font-size: 11px;
  color: #e3eacb;
}
.pending-update .button {
  flex-shrink: 0;
}
.pending-update .form-feedback {
  margin-top: 10px;
  font-size: 11px;
}
.pending-copy {
  min-width: 0;
}
@media (max-width: 700px) {
  .pending-update {
    flex-direction: column;
    gap: 15px;
    padding: 18px;
  }
  .pending-update h2 {
    font-size: 16px;
  }
  .pending-update p {
    font-size: 11px;
  }
}
