@font-face {
  font-family: "Inter";
  src: url("../vendor/fonts/inter/InterVariable.2bf3d951bf9d.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../vendor/fonts/inter/InterVariable-Italic.8d1dc86da258.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --auth-ink: #142f36;
  --auth-muted: #64757a;
  --auth-page: #dfe9e7;
  --auth-surface: #f8fbfa;
  --auth-surface-soft: #edf4f2;
  --auth-border: #cbd9d6;
  --auth-deep: #082f36;
  --auth-deeper: #052329;
  --auth-aqua: #009e9b;
  --auth-aqua-dark: #007b79;
  --auth-green: #507f55;
  --auth-coral: #db6f52;
  --auth-danger: #a83b32;
  --auth-warning: #876400;
  --auth-success: #276844;
  --auth-focus: #006d6b;
  --auth-shadow: 0 18px 45px rgba(5, 35, 41, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.definition-grid > div {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--auth-border, #cbd5e1);
  border-radius: 0.5rem;
}

.definition-grid dt {
  color: var(--auth-muted, #475569);
  font-size: 0.8125rem;
  font-weight: 700;
}

.definition-grid dd {
  margin: 0.25rem 0 0;
}

.resource-checksum {
  overflow-wrap: anywhere;
  word-break: break-word;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  background: var(--auth-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--auth-ink);
  background: var(--auth-page);
  font-family: inherit;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--auth-aqua-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--auth-deep);
}

.rich-text-source {
  min-height: 460px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  line-height: 1.55;
}

.managed-rich-text {
  max-width: 780px;
  padding-block: 18px;
  font-size: 16px;
}

.managed-rich-text h2,
.managed-rich-text h3 {
  margin: 1.6em 0 0.5em;
}

.managed-rich-text blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 4px solid var(--auth-aqua);
  color: var(--auth-muted);
}

.status-label--blocker {
  background: #f4d9d5;
  color: var(--auth-danger);
}

.status-label--action {
  background: #f7e9bd;
  color: var(--auth-warning);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 109, 107, 0.3);
  outline-offset: 2px;
}

.auth-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 12px;
  border-radius: 4px;
  color: #ffffff;
  background: var(--auth-deep);
  transform: translateY(-150%);
}

.auth-skip-link:focus {
  color: #ffffff;
  transform: translateY(0);
}

.auth-stage,
.account-stage {
  min-height: 100vh;
}

.auth-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--auth-page);
}

.auth-topbar,
.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - 1240px) / 2));
  color: #ffffff;
  background: var(--auth-deeper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  text-decoration: none;
}

.auth-brand:hover {
  color: #ffffff;
}

.auth-brand__mark {
  position: relative;
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 2px solid #34d2c7;
  border-radius: 50%;
  background: #0c444b;
}

.auth-brand__mark::before,
.auth-brand__mark::after,
.auth-brand__mark span {
  position: absolute;
  content: "";
  border: 2px solid #d8fffb;
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
}

.auth-brand__mark::before {
  width: 21px;
  height: 9px;
  top: 10px;
}

.auth-brand__mark::after {
  width: 21px;
  height: 9px;
  bottom: 10px;
}

.auth-brand__mark span {
  width: 26px;
  height: 26px;
  border-width: 1px;
  border-color: rgba(216, 255, 251, 0.55);
}

.auth-brand__name {
  font-size: 1.45rem;
  font-weight: 780;
  line-height: 1;
}

.auth-brand__name span {
  color: #34d2c7;
}

.auth-topbar__link,
.account-topbar a {
  color: #cbe8e5;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.auth-topbar__link:hover,
.account-topbar a:hover {
  color: #ffffff;
}

.auth-entrance {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(430px, 1.08fr);
  width: min(1180px, calc(100% - 48px));
  min-height: 610px;
  margin: 48px auto;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 54, 0.18);
  border-radius: 8px;
  background: var(--auth-surface);
  box-shadow: var(--auth-shadow);
}

.auth-brand-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 60px 54px 34px;
  color: #ffffff;
  background: var(--auth-deep);
  border-right: 5px solid var(--auth-aqua);
}

.auth-brand-panel::before,
.auth-brand-panel::after {
  position: absolute;
  right: 44px;
  left: 44px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
}

.auth-brand-panel::before {
  top: 42%;
}

.auth-brand-panel::after {
  top: 68%;
}

.auth-brand-panel__content,
.auth-brand-panel__footer,
.auth-bowls-scene {
  position: relative;
  z-index: 1;
}

.auth-eyebrow {
  margin: 0 0 10px;
  color: var(--auth-aqua-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-brand-panel .auth-eyebrow {
  color: #73ded7;
}

.auth-brand-panel h2 {
  max-width: 430px;
  margin: 0;
  font-size: 2.75rem;
  font-weight: 780;
  line-height: 1.06;
}

.auth-brand-panel__content > p:last-child {
  max-width: 420px;
  margin: 24px 0 0;
  color: #c6dcda;
  font-size: 1.05rem;
  line-height: 1.65;
}

.auth-bowls-scene {
  height: 180px;
  margin: 28px -16px 20px;
}

.auth-rink-line {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  height: 3px;
  background: rgba(115, 222, 215, 0.38);
}

.auth-bowl,
.auth-jack {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.auth-bowl::before,
.auth-bowl::after {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
}

.auth-bowl::before {
  inset: 14px;
}

.auth-bowl::after {
  inset: 26px;
}

.auth-bowl--one {
  right: 18px;
  bottom: 12px;
  width: 118px;
  height: 118px;
  background: #0a2329;
  border: 2px solid #5a777a;
  box-shadow: 14px 18px 0 rgba(0, 0, 0, 0.12);
}

.auth-bowl--two {
  right: 128px;
  bottom: 40px;
  width: 76px;
  height: 76px;
  background: var(--auth-coral);
  border: 2px solid #f5a48f;
}

.auth-bowl--two::after {
  display: none;
}

.auth-jack {
  right: 248px;
  bottom: 72px;
  width: 28px;
  height: 28px;
  background: #f6e7b4;
  border: 2px solid #ffffff;
}

.auth-brand-panel__footer {
  margin: 0;
  color: #9ebcba;
  font-size: 0.8rem;
  font-weight: 650;
}

.auth-card {
  width: min(100%, 520px);
  align-self: center;
  justify-self: center;
  padding: 48px 48px 44px;
}

.auth-heading {
  margin-bottom: 30px;
}

.auth-heading h1,
.account-content h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 2rem;
  font-weight: 780;
  line-height: 1.16;
}

.auth-heading > p:last-child,
.account-content > p {
  margin: 11px 0 0;
  color: var(--auth-muted);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-field {
  min-width: 0;
}

.auth-field label,
.auth-form label {
  display: block;
  margin: 0 0 7px;
  color: #29434a;
  font-size: 0.86rem;
  font-weight: 720;
}

.auth-field input:not([type="checkbox"]):not([type="radio"]),
.auth-field select,
.auth-field textarea,
.auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-form select,
.auth-form textarea,
.account-content input:not([type="checkbox"]):not([type="radio"]),
.account-content select,
.account-content textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--auth-ink);
  background: #ffffff;
  border: 1px solid #aec2be;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(8, 47, 54, 0.04);
}

.auth-field textarea,
.auth-form textarea,
.account-content textarea {
  min-height: 112px;
  resize: vertical;
}

.auth-field input:hover,
.auth-field select:hover,
.auth-field textarea:hover,
.auth-form input:hover,
.auth-form select:hover,
.auth-form textarea:hover,
.account-content input:hover,
.account-content select:hover,
.account-content textarea:hover {
  border-color: #7f9c97;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
.account-content input:focus,
.account-content select:focus,
.account-content textarea:focus {
  border-color: var(--auth-focus);
  outline: 3px solid rgba(0, 109, 107, 0.16);
  box-shadow: none;
}

.auth-field--check,
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-field--check input,
.auth-check input,
.account-content input[type="checkbox"],
.account-content input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--auth-aqua-dark);
}

.auth-field--check label,
.auth-check label {
  margin: 0;
  font-weight: 600;
}

.auth-help,
.helptext {
  display: block;
  margin: 7px 0 0;
  color: var(--auth-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.auth-help ul,
.helptext ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.auth-error,
.errorlist {
  margin: 7px 0 0;
  padding: 0;
  color: var(--auth-danger);
  font-size: 0.8rem;
  font-weight: 650;
  list-style: none;
}

.auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 24px;
  margin-top: -4px;
  font-size: 0.86rem;
  font-weight: 650;
}

.auth-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.auth-button,
.auth-form button[type="submit"],
.account-content button[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #ffffff;
  background: var(--auth-aqua-dark);
  border: 1px solid var(--auth-aqua-dark);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
}

.auth-button:hover,
.auth-form button[type="submit"]:hover,
.account-content button[type="submit"]:hover {
  color: #ffffff;
  background: #006563;
  border-color: #006563;
}

.auth-button--full {
  width: 100%;
}

.auth-button--secondary,
.auth-button[data-tags~="secondary"],
.account-content .auth-button--secondary {
  color: var(--auth-ink);
  background: transparent;
  border-color: #9bb0ac;
}

.auth-button--secondary:hover,
.auth-button[data-tags~="secondary"]:hover {
  color: var(--auth-ink);
  background: var(--auth-surface-soft);
  border-color: #718e89;
}

.auth-button--danger,
.auth-button[data-tags~="danger"] {
  color: #ffffff;
  background: var(--auth-danger);
  border-color: var(--auth-danger);
}

.auth-button--danger:hover,
.auth-button[data-tags~="danger"]:hover {
  color: #ffffff;
  background: #842c25;
}

.auth-switch {
  margin: 28px 0 0;
  padding-top: 22px;
  color: var(--auth-muted);
  border-top: 1px solid var(--auth-border);
  font-size: 0.88rem;
  text-align: center;
}

.auth-switch a {
  font-weight: 760;
}

.auth-state {
  text-align: left;
}

.auth-state__mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 0 24px;
  place-items: center;
  color: #ffffff;
  background: var(--auth-green);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 800;
}

.auth-state__mark--warning {
  background: var(--auth-coral);
}

.auth-state h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.16;
}

.auth-state p {
  margin: 14px 0 0;
  color: var(--auth-muted);
}

.auth-state .auth-button {
  margin-top: 26px;
}

.auth-messages {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.auth-message,
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  color: #33565a;
  background: #e5f2ef;
  border: 1px solid #acd0c9;
  border-radius: 6px;
  font-size: 0.85rem;
}

.auth-message__mark {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 5px;
  background: var(--auth-aqua-dark);
  border-radius: 50%;
}

.auth-message--error,
.auth-message--danger,
.auth-alert--danger {
  color: #7f2e28;
  background: #fae9e6;
  border-color: #e5aaa2;
}

.auth-message--error .auth-message__mark,
.auth-message--danger .auth-message__mark {
  background: var(--auth-danger);
}

.auth-message--success {
  color: #245a3d;
  background: #e4f2e9;
  border-color: #a7cfb5;
}

.auth-message--success .auth-message__mark {
  background: var(--auth-success);
}

.auth-footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 24px;
  color: #466168;
  font-size: 0.78rem;
}

.auth-footer a {
  color: #466168;
}

.account-stage {
  background: #eef3f2;
}

.account-topbar {
  min-height: 76px;
}

.account-topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-topbar__email {
  color: #99bbb8;
  font-size: 0.84rem;
}

.account-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  width: min(1120px, calc(100% - 48px));
  min-height: 610px;
  margin: 42px auto;
  overflow: hidden;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(8, 47, 54, 0.1);
}

.account-nav {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 34px 22px 24px;
  background: #e7efed;
  border-right: 1px solid var(--auth-border);
}

.account-nav__intro {
  padding: 0 8px 22px;
  border-bottom: 1px solid var(--auth-border);
}

.account-nav__intro h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.account-nav nav {
  display: grid;
  gap: 5px;
  margin-top: 20px;
}

.account-nav nav a,
.account-nav__signout {
  display: block;
  padding: 10px 11px;
  color: #3f595f;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 680;
  text-decoration: none;
}

.account-nav nav a:hover,
.account-nav nav a[aria-current="page"] {
  color: #ffffff;
  background: var(--auth-deep);
}

.account-nav__signout {
  margin-top: auto;
  color: var(--auth-danger);
}

.account-nav__signout:hover {
  color: #842c25;
  background: #f5dfdc;
}

.account-content {
  min-width: 0;
  padding: 42px 46px 52px;
}

.account-content h1 {
  margin-bottom: 10px;
}

.account-content h2 {
  margin: 0 0 15px;
  font-size: 1.2rem;
}

.account-content section + section {
  margin-top: 26px;
  padding-top: 25px;
  border-top: 1px solid var(--auth-border);
}

.auth-panel {
  padding: 0;
}

.auth-panel__body > :first-child,
.account-content > :first-child {
  margin-top: 0;
}

.auth-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.auth-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--auth-border);
  border-radius: 6px;
}

.auth-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.auth-table th,
.auth-table td {
  padding: 12px;
  border-bottom: 1px solid var(--auth-border);
  text-align: left;
}

.auth-table tr:last-child th,
.auth-table tr:last-child td {
  border-bottom: 0;
}

.auth-badge {
  display: inline-flex;
  padding: 3px 7px;
  color: #31545a;
  background: #dbe8e5;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 760;
}

.auth-badge--success {
  color: #245a3d;
  background: #dceee3;
}

.auth-badge--warning {
  color: #6f5400;
  background: #f3ebca;
}

.auth-badge--danger {
  color: #7f2e28;
  background: #f4dfdc;
}

.auth-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-button-group--vertical {
  align-items: stretch;
  flex-direction: column;
}

.auth-rule {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--auth-border);
}

.account-content details {
  padding: 13px 0;
  border-top: 1px solid var(--auth-border);
}

.account-content summary {
  cursor: pointer;
  font-weight: 700;
}

.account-content-header {
  margin-bottom: 30px;
}

.account-content-header h1 {
  margin: 0;
}

.account-content-header > p:last-child {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--auth-muted);
}

.account-profile-list {
  margin: 0;
  border-top: 1px solid var(--auth-border);
}

.account-profile-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--auth-border);
}

.account-profile-list dt {
  color: var(--auth-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.account-profile-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 680;
}

.account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.workspace-stage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 4%, rgba(0, 158, 155, 0.07), transparent 28rem),
    linear-gradient(180deg, #f4f8f7 0%, #edf3f2 100%);
}

.auth-page--workspace .account-topbar {
  min-height: 68px;
  background: linear-gradient(100deg, #052a31 0%, #062f36 58%, #04252b 100%);
  box-shadow: 0 2px 0 rgba(3, 30, 37, 0.14), 0 8px 22px rgba(3, 30, 37, 0.13);
}

.auth-page--workspace .auth-brand__name {
  font-weight: 700;
}

.auth-page--workspace .account-topbar__actions a {
  font-weight: 600;
}

.workspace-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.workspace-heading h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.workspace-heading > div > p:last-child {
  margin: 8px 0 0;
  color: var(--auth-muted);
  font-size: 0.94rem;
}

.auth-page--workspace .auth-eyebrow {
  margin-bottom: 8px;
  color: #157b78;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.workspace-heading .auth-button {
  min-height: 42px;
  font-weight: 600;
}

.workspace-list {
  display: grid;
  gap: 22px;
}

.workspace-organization,
.workspace-empty-state {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #c8d7d4;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(8, 47, 54, 0.1);
}

.workspace-organization__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 20px 24px;
  background: linear-gradient(105deg, #ffffff 0%, #f7fbfa 100%);
}

.workspace-organization__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.workspace-organization__mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #067e7b;
  background: #e0f1ef;
  border: 1px solid #c7e3df;
  border-radius: 10px;
  font-size: 1.35rem;
  place-items: center;
}

.workspace-organization__type {
  display: block;
  color: var(--auth-aqua-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workspace-organization__header h2 {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
}

.workspace-organization__roles {
  max-width: 48%;
  margin: 0;
  padding: 5px 10px;
  color: #536b70;
  background: #edf4f2;
  border: 1px solid #d7e3e0;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  text-align: right;
}

.workspace-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--auth-border);
  border-top: 1px solid var(--auth-border);
}

.workspace-tool {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 102px;
  padding: 20px 22px;
  background: #ffffff;
}

.workspace-tool + .workspace-tool {
  border-top: 0;
}

.workspace-tool--destination {
  color: var(--auth-ink);
  text-decoration: none;
}

.workspace-tool--destination:hover {
  position: relative;
  z-index: 1;
  color: var(--auth-ink);
  background: #f2f8f7;
  box-shadow: inset 3px 0 0 var(--auth-aqua);
}

.workspace-tool__icon {
  display: grid;
  width: 42px;
  height: 42px;
  color: #087f7c;
  background: #e0f2f0;
  border-radius: 9px;
  font-size: 1.25rem;
  place-items: center;
}

.workspace-tool__copy strong,
.workspace-tool__copy span {
  display: block;
}

.workspace-tool__copy {
  min-width: 0;
}

.workspace-tool strong {
  margin-bottom: 3px;
  font-size: 0.95rem;
  font-weight: 650;
}

.workspace-tool__copy > span {
  color: var(--auth-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.workspace-tool__action {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #007b79;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.workspace-tool--destination:hover .workspace-tool__action i {
  transform: translateX(2px);
}

@media (min-width: 1100px) {
  .workspace-tools--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workspace-tools--3 .workspace-tool {
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
  }

  .workspace-tools--3 .workspace-tool__action {
    grid-column: 2;
    justify-self: start;
  }
}

@media (min-width: 721px) and (max-width: 1099px) {
  .workspace-tools--3 > .workspace-tool:last-child {
    grid-column: 1 / -1;
  }
}

.workspace-request-summary .workspace-tools {
  display: block;
  background: transparent;
}

.workspace-request-summary .workspace-tool {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 0;
  padding: 17px 24px;
}

.workspace-request-summary .workspace-tool + .workspace-tool {
  border-top: 1px solid var(--auth-border);
}

.workspace-request-summary .workspace-tool .auth-button {
  min-width: 82px;
}

.workspace-empty {
  margin: 0;
  padding: 20px 26px;
  color: var(--auth-muted);
  border-top: 1px solid var(--auth-border);
}

.workspace-empty-state {
  padding: 38px;
}

.workspace-empty-state h2 {
  margin: 0;
  font-size: 1.4rem;
}

.workspace-empty-state > p:not(.auth-eyebrow) {
  margin: 10px 0 24px;
  color: var(--auth-muted);
}

@media (max-width: 900px) {
  .auth-entrance {
    grid-template-columns: minmax(260px, 0.7fr) minmax(400px, 1fr);
    width: min(820px, calc(100% - 32px));
    margin: 28px auto;
  }

  .auth-brand-panel {
    padding: 44px 34px 30px;
  }

  .auth-brand-panel h2 {
    font-size: 2.1rem;
  }

  .auth-card {
    padding: 40px 34px;
  }

  .account-shell {
    width: calc(100% - 32px);
  }
}

@media (max-width: 720px) {
  .auth-topbar,
  .account-topbar {
    min-height: 64px;
    padding: 12px 18px;
  }

  .auth-brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .auth-brand__name {
    font-size: 1.25rem;
  }

  .auth-topbar__link {
    font-size: 0.8rem;
  }

  .auth-entrance {
    display: block;
    width: calc(100% - 24px);
    min-height: 0;
    margin: 18px auto;
  }

  .auth-brand-panel {
    min-height: 160px;
    padding: 26px 26px 22px;
    border-right: 0;
    border-bottom: 4px solid var(--auth-aqua);
  }

  .auth-brand-panel h2 {
    font-size: 1.75rem;
  }

  .auth-brand-panel__content > p:last-child {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .auth-bowls-scene,
  .auth-brand-panel__footer,
  .auth-brand-panel::before,
  .auth-brand-panel::after {
    display: none;
  }

  .auth-card {
    width: 100%;
    padding: 32px 24px 36px;
  }

  .auth-heading h1,
  .auth-state h1,
  .account-content h1 {
    font-size: 1.65rem;
  }

  .auth-footer {
    width: calc(100% - 32px);
    padding-bottom: 18px;
  }

  .account-topbar__email {
    display: none;
  }

  .account-shell {
    display: block;
    width: calc(100% - 24px);
    min-height: 0;
    margin: 18px auto;
  }

  .account-nav {
    padding: 22px 18px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--auth-border);
  }

  .account-nav__intro {
    padding: 0 3px 16px;
  }

  .account-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

  .account-nav nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .account-nav__signout {
    display: none;
  }

  .account-content {
    padding: 30px 22px 38px;
  }

  .workspace-main {
    width: calc(100% - 24px);
    padding: 32px 0 48px;
  }

  .workspace-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }

  .workspace-heading .organization-heading__tools,
  .workspace-heading .auth-button {
    width: 100%;
  }

  .workspace-organization__header {
    padding: 21px 20px 17px;
  }

  .workspace-tools {
    grid-template-columns: 1fr;
  }

  .workspace-tool {
    padding: 16px 20px;
  }
}

@media (max-width: 430px) {
  .auth-topbar__link {
    max-width: 112px;
    text-align: right;
  }

  .auth-card {
    padding-right: 19px;
    padding-left: 19px;
  }

  .auth-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .auth-form__actions,
  .auth-button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-form__actions .auth-button,
  .auth-button-group .auth-button {
    width: 100%;
  }

  .account-topbar__actions a {
    max-width: 122px;
    text-align: right;
  }

  .account-profile-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .account-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-organization__header {
    display: block;
  }

  .workspace-organization__roles {
    max-width: none;
    width: fit-content;
    margin-top: 14px;
    text-align: left;
  }

  .workspace-tool {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 13px;
  }

  .workspace-tool__action {
    grid-column: 2;
    justify-self: start;
  }

  .workspace-request-summary .workspace-tool {
    grid-template-columns: 1fr;
  }

  .workspace-request-summary .workspace-tool .auth-button {
    width: 100%;
  }

  .workspace-empty-state {
    padding: 28px 22px;
  }
}

@media (min-width: 721px) and (max-height: 820px) {
  .auth-entrance {
    min-height: 0;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .auth-brand-panel {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .auth-bowls-scene {
    height: 140px;
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .auth-card {
    padding-top: 36px;
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .auth-button,
  .auth-form button,
  .account-content button,
  .account-nav a,
  .workspace-tool--destination,
  .workspace-tool__action i {
    transition:
      color 140ms ease,
      background-color 140ms ease,
      border-color 140ms ease,
      box-shadow 140ms ease,
      transform 140ms ease;
  }
}

/* Organization onboarding and administration */

.organization-stage {
  min-height: 100vh;
  background: #e8f0ef;
}

.organization-main {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 42px 0 72px;
}

.organization-main--account {
  width: min(100% - 32px, 980px);
}

.organization-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.organization-heading h1 {
  margin: 3px 0 5px;
  color: #102f37;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.08;
}

.organization-heading p {
  margin: 0;
  color: #5b7075;
}

.organization-heading__tools,
.form-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.organization-nav {
  display: flex;
  gap: 4px;
  margin: 0 0 24px;
  padding: 5px;
  overflow-x: auto;
  background: #d9e5e3;
  border: 1px solid #c4d4d1;
  border-radius: 8px;
}

.organization-nav a {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 5px;
  color: #315159;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.organization-nav a:hover,
.organization-nav a[aria-current="page"] {
  background: #ffffff;
  color: #006e6b;
}

.management-section {
  margin-bottom: 18px;
  padding: 25px;
  background: #ffffff;
  border: 1px solid #cbd9d7;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(14, 52, 59, 0.05);
}

.management-section--form {
  max-width: 760px;
}

.management-section details pre {
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.section-heading,
.site-domain-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 3px 0 0;
  color: #173840;
  font-size: 22px;
  line-height: 1.2;
}

.section-heading p,
.site-domain-group header span {
  margin: 4px 0 0;
  color: #61767b;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: #d6e1df;
  border: 1px solid #d6e1df;
  border-radius: 6px;
}

.summary-grid > div {
  min-width: 0;
  padding: 17px;
  background: #f7f9f8;
}

.summary-grid dt {
  margin-bottom: 5px;
  color: #64777c;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.summary-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #193940;
  font-weight: 750;
}

.data-list {
  border-top: 1px solid #d5e0de;
}

.data-row {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 2px;
  border-bottom: 1px solid #d5e0de;
}

.data-row--link {
  color: inherit;
  text-decoration: none;
}

.data-row--link:hover {
  background: #f4f8f7;
}

.data-row > div:first-child {
  min-width: 0;
}

.data-row strong,
.data-row span,
.data-row small,
.site-domain-group strong,
.site-domain-group span {
  display: block;
}

.data-row strong,
.site-domain-group strong {
  overflow-wrap: anywhere;
  color: #173840;
}

.data-row > div:first-child > span,
.data-row small,
.site-domain-group span {
  margin-top: 3px;
  color: #62757a;
  font-size: 13px;
}

.data-row small {
  color: #476269;
}

.organization-request-list {
  overflow: hidden;
  padding: 0;
}

.organization-request-list .data-list {
  border-top: 0;
}

.organization-request-list .data-row {
  padding: 17px 24px;
}

.organization-request-list .data-row:last-child {
  border-bottom: 0;
}

.organization-request-empty {
  display: grid;
  min-height: 220px;
  place-content: center;
  justify-items: center;
  padding: 42px 32px;
  text-align: center;
}

.organization-request-empty h2 {
  margin: 4px 0 0;
  color: #173840;
  font-size: 24px;
  line-height: 1.2;
}

.organization-request-empty > p:last-child {
  max-width: 610px;
  margin: 12px 0 0;
  color: #526a70;
  line-height: 1.55;
}

.status-label {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 5px 9px;
  background: #e5eeec;
  border: 1px solid #c6d7d4;
  border-radius: 5px;
  color: #315159;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-label--active,
.status-label--approved,
.status-label--accepted,
.status-label--verified {
  background: #e3f2e9;
  border-color: #b9d9c6;
  color: #176344;
}

.status-label--submitted,
.status-label--pending,
.status-label--in_review {
  background: #fff4d7;
  border-color: #e9d29b;
  color: #77520c;
}

.status-label--declined,
.status-label--revoked,
.status-label--disabled,
.status-label--expired,
.status-label--withdrawn {
  background: #f8e8e6;
  border-color: #e5c1bd;
  color: #8d2f29;
}

.text-link,
.text-button {
  color: #007b79;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button {
  padding: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.text-button--danger {
  color: #982f29;
}

.empty-copy {
  margin: 18px 0 0;
  color: #65777c;
}

.form-actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.auth-form ul[id$="_module_keys"],
.auth-form ul[id$="_role_keys"],
.auth-form ul[id$="_request_kind"] {
  display: grid;
  gap: 8px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.auth-form ul[id$="_request_kind"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form ul[id$="_module_keys"] label,
.auth-form ul[id$="_role_keys"] label,
.auth-form ul[id$="_request_kind"] label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #f5f8f7;
  border: 1px solid #cbd9d7;
  border-radius: 6px;
  color: #24464e;
  font-weight: 700;
}

.auth-form input[type="checkbox"],
.auth-form input[type="radio"] {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: #007b79;
}

.auth-form:has(input[name="access_level"][value="owner"]:checked)
  .auth-field:has(ul[id$="_role_keys"]) {
  display: none;
}

.auth-help,
.auth-error {
  margin: 6px 0 0;
  color: #66797e;
  font-size: 12px;
}

.auth-error {
  color: #9b3029;
  font-weight: 700;
}

.note-block,
.dns-record {
  margin-top: 18px;
  padding: 15px;
  background: #f3f7f6;
  border-left: 3px solid #14aaa5;
}

.note-block p {
  margin: 7px 0 0;
  color: #486269;
  white-space: pre-line;
}

.site-domain-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid #d5e0de;
}

.site-domain-group > header {
  min-width: min(100%, 410px);
  flex: 1 1 410px;
  margin: 0;
}

.dns-record {
  display: grid;
  gap: 6px;
  width: 100%;
}

.dns-record span {
  color: #527078;
  font-size: 11px;
  font-weight: 800;
}

.dns-record code {
  overflow-wrap: anywhere;
  color: #173840;
  font-size: 12px;
}

.compact-empty {
  min-height: 0;
  padding: 26px;
}

.invitation-summary > p {
  margin-top: 0;
  color: #405d64;
}

@media (max-width: 700px) {
  .account-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .account-topbar__actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .account-topbar__actions a {
    max-width: none;
    text-align: center;
  }

  .organization-main,
  .organization-main--account {
    width: min(100% - 22px, 1180px);
    padding: 26px 0 48px;
  }

  .organization-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .organization-nav a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .organization-heading,
  .section-heading,
  .site-domain-group > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .organization-heading__tools,
  .organization-heading__tools .auth-button,
  .section-heading > .auth-button {
    width: 100%;
  }

  .management-section {
    padding: 19px 16px;
  }

  .organization-request-list {
    padding: 0;
  }

  .organization-request-list .data-row {
    padding: 17px 18px;
  }

  .organization-request-empty {
    min-height: 190px;
    padding: 36px 22px;
  }

  .data-row,
  .data-row--actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .row-actions {
    width: 100%;
  }

  .auth-form ul[id$="_request_kind"] {
    grid-template-columns: 1fr;
  }
}
.enquiry-message {
  background: var(--auth-surface-muted, #f3f7f6);
  border-left: 4px solid var(--auth-accent, #087f7c);
  margin-top: 1.5rem;
  overflow-wrap: anywhere;
  padding: 1.25rem;
}
