/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  --navy: #0b1f2a;
  --navy-soft: #12323f;
  --ink: #13272f;
  --muted: #63747b;
  --line: #d8e0e2;
  --line-soft: #e9eef0;
  --surface: #ffffff;
  --canvas: #f5f7f7;
  --accent: #087d73;
  --accent-dark: #05685f;
  --accent-soft: #e5f4f1;
  --danger: #b4233c;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { color: var(--accent-dark); }

.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Authentication */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(370px, 42%) 1fr;
  background: var(--surface);
}

.auth-story {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px clamp(36px, 5vw, 76px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 76%, rgba(49, 192, 169, .18), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .08), transparent 28%),
    linear-gradient(145deg, #0c2632 0%, #071a24 64%, #06141c 100%);
}

.auth-story::before,
.auth-story::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(119, 201, 187, .12);
  border-radius: 50%;
}

.auth-story::before {
  width: 460px;
  height: 460px;
  right: -260px;
  top: 16%;
}

.auth-story::after {
  width: 320px;
  height: 320px;
  right: -190px;
  top: calc(16% + 70px);
}

.wordmark,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.wordmark-light { color: #fff; position: relative; z-index: 1; }
.wordmark-light:hover { color: #fff; }

.wordmark-mark,
.loading-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #062027;
  background: #65d1bf;
  font-weight: 850;
  letter-spacing: 0;
}

.story-copy {
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.story-copy .eyebrow { color: #74d4c5; }

.story-copy h1 {
  max-width: 500px;
  margin: 17px 0 20px;
  color: #fff;
  font-size: clamp(2.35rem, 4.2vw, 4.5rem);
  font-weight: 640;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.story-copy > p {
  max-width: 470px;
  margin: 0;
  color: #a9bdc4;
  font-size: 1rem;
  line-height: 1.72;
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.story-points span {
  padding: 9px 12px;
  border: 1px solid rgba(155, 216, 206, .18);
  border-radius: 7px;
  color: #c9d8dc;
  background: rgba(255, 255, 255, .035);
  font-size: .76rem;
}

.story-foot {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #79909a;
  font-size: .72rem;
  letter-spacing: .035em;
}

.auth-panel {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 54px clamp(30px, 6vw, 96px);
  background: #fff;
}

.auth-form-wrap { width: min(740px, 100%); }
.signin-wrap { width: min(460px, 100%); }
.mobile-brand { display: none; }

.auth-heading { margin-bottom: 27px; }

.auth-heading h2 {
  margin: 9px 0 8px;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 680;
  letter-spacing: -.045em;
}

.auth-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4px;
  gap: 4px;
  margin-bottom: 25px;
  padding: 4px;
  border-radius: 9px;
  background: #edf2f2;
}

.account-tabs button {
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  color: #607177;
  background: transparent;
  font-size: .84rem;
  font-weight: 650;
}

.account-tabs button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 38, 47, .08);
}

.auth-form { display: grid; grid-gap: 19px; gap: 19px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px 18px;
  gap: 16px 18px;
}

.field {
  min-width: 0;
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  color: #253940;
  font-size: .78rem;
  font-weight: 650;
}

.field > span:first-child,
.field-label-row { min-height: 17px; }

.field em {
  margin-left: 4px;
  color: #8a989d;
  font-size: .67rem;
  font-style: normal;
  font-weight: 500;
}

.field small {
  margin-top: -2px;
  color: #87959a;
  font-size: .68rem;
  font-weight: 450;
}

.field input,
.global-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: .86rem;
  transition: border-color .16s, box-shadow .16s;
}

.field input::placeholder { color: #9ba7ab; }

.field input:focus {
  border-color: #48a99f;
  box-shadow: 0 0 0 3px rgba(8, 125, 115, .1);
}

.form-span { grid-column: 1 / -1; }

.password-field { position: relative; display: block; }
.password-field input { padding-right: 58px; }

.text-action {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 5px 6px;
  color: var(--accent);
  background: transparent;
  font-size: .7rem;
  font-weight: 700;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
}

.field-label-row a { font-size: .7rem; font-weight: 600; }

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5d6f75;
  font-size: .72rem;
  line-height: 1.5;
}

.check-field input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.form-error {
  margin: -3px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  color: #8f2034;
  background: #fff3f5;
  font-size: .76rem;
  line-height: 1.45;
}

.primary-button,
.signout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
}

.primary-button {
  min-height: 45px;
  padding: 11px 17px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 7px 18px rgba(8, 125, 115, .17);
  font-size: .85rem;
  transition: background .16s, transform .16s;
}

.primary-button:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.primary-button span { margin-left: auto; font-size: 1rem; }

.auth-switch {
  margin: 21px 0 0;
  color: #78888d;
  text-align: center;
  font-size: .78rem;
}

.auth-switch a { font-weight: 700; }

.secure-note {
  margin: 30px 0 0;
  color: #9aa6aa;
  text-align: center;
  font-size: .68rem;
}

.signal-card {
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 13px 16px;
  border: 1px solid rgba(126, 203, 191, .17);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
}

.signal-card div { display: grid; grid-gap: 3px; gap: 3px; }
.signal-card strong { color: #dce9eb; font-size: .78rem; }
.signal-card small { color: #78929a; font-size: .68rem; }

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58ceb8;
  box-shadow: 0 0 0 5px rgba(88, 206, 184, .1);
}

/* Workspace */
.workspace {
  min-height: 100vh;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
}

.workspace-header {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  color: #fff;
  background: #161d26;
  border-bottom: 1px solid #0f1419;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.proton-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.proton-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #0b1218;
  background: #ff9900;
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.proton-word {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

/* Organisation switcher (Supabase-style schema picker) */
.org-switcher {
  position: relative;
  z-index: 40;
}

.org-switcher-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  max-width: 260px;
  padding: 5px 10px;
  border: 1px solid #3d4854;
  border-radius: 6px;
  color: #e8edf2;
  background: #1f2733;
  cursor: pointer;
  text-align: left;
}

.org-switcher-trigger:hover {
  border-color: #5a6776;
  background: #252f3d;
}

.org-switcher-label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex: 1 1;
  overflow: hidden;
}

.org-switcher-label em {
  color: #8b97a5;
  font-style: normal;
  font-size: .68rem;
  flex-shrink: 0;
}

.org-switcher-label strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 650;
}

.org-switcher-chevron {
  color: #8b97a5;
  font-size: .7rem;
  line-height: 1;
}

.org-switcher-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: min(320px, 88vw);
  display: grid;
  grid-template-rows: auto minmax(0, 280px) auto;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  color: #1a2330;
  overflow: hidden;
}

.org-switcher-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px;
  padding: 0 10px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #f8fafc;
}

.org-switcher-search > span {
  color: #7a8796;
  font-size: .95rem;
}

.org-switcher-search input {
  flex: 1 1;
  min-width: 0;
  border: 0;
  padding: 9px 0;
  color: #1a2330;
  background: transparent;
  font-size: .8rem;
}

.org-switcher-search input::placeholder {
  color: #8b97a5;
}

.org-switcher-list {
  overflow: auto;
  padding: 4px;
}

.org-switcher-empty {
  margin: 0;
  padding: 16px 12px;
  color: #6b7785;
  font-size: .78rem;
  text-align: center;
}

.org-switcher-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.org-switcher-item:hover,
.org-switcher-item:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.org-switcher-item span:first-child {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-width: 0;
}

.org-switcher-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 600;
}

.org-switcher-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7785;
  font-size: .68rem;
}

.org-switcher-check {
  color: #16a34a;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.org-switcher-footer {
  border-top: 1px solid #e8edf2;
  padding: 4px;
}

.org-switcher-create {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: #1a2330;
  background: transparent;
  font-size: .8rem;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.org-switcher-create:hover {
  background: #f1f5f9;
}

.org-switcher-create span {
  color: #16a34a;
  font-weight: 700;
}

.org-switcher-inline-error {
  margin: 0;
  padding: 6px 12px 2px;
  color: #b42318;
  font-size: .72rem;
}

.org-switcher-create-form {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 8px;
}

.org-switcher-create-form input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  color: #1a2330;
  background: #fff;
  font-size: .78rem;
}

.org-switcher-create-actions {
  display: flex;
  gap: 6px;
}

.org-switcher-create-actions button {
  flex: 1 1;
  padding: 8px 10px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #f8fafc;
  color: #1a2330;
  font-size: .75rem;
  cursor: pointer;
}

.org-switcher-create-actions button[type='submit'] {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
  font-weight: 600;
}

.global-search {
  max-width: 520px;
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid #3d4854;
  border-radius: 4px;
  background: #232f3e;
}

.global-search > span { color: #8ba0a7; font-size: 1.05rem; }

.global-search input {
  min-width: 0;
  border: 0;
  padding: 7px 0;
  color: #dce6e8;
  background: transparent;
  font-size: .76rem;
}

.global-search input::placeholder { color: #708890; }
.global-search kbd { color: #6f8991; font: 600 .62rem inherit; white-space: nowrap; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  color: #b8c8cc;
  background: transparent;
  font-size: .85rem;
  cursor: default;
  opacity: 0.7;
}

.header-icon-btn:not(:disabled) {
  cursor: pointer;
  opacity: 1;
}

.header-icon-btn:not(:disabled):hover {
  background: #2a3544;
  color: #fff;
}

.user-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 5px;
  padding-left: 12px;
  border-left: 1px solid #2b4650;
}

.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #daf1ed;
  background: #24505b;
  font-size: .68rem;
  font-weight: 750;
}

.user-copy { display: grid; grid-gap: 1px; gap: 1px; max-width: 150px; }
.user-copy strong,
.user-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-copy strong { color: #ecf3f4; font-size: .7rem; }
.user-copy small { color: #789098; font-size: .59rem; }

.signout-button {
  margin-left: 4px;
  padding: 8px 10px;
  border: 1px solid #36515a;
  color: #b8c8cc;
  background: transparent;
  font-size: .66rem;
}

.workspace-layout {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  transition: grid-template-columns 0.2s ease;
  align-items: stretch;
}

.workspace-layout > .workspace-content,
.workspace-layout > .su-page {
  min-height: 0;
  height: 100%;
}

.workspace-layout.is-nav-closed {
  grid-template-columns: minmax(0, 1fr);
}

.workspace-layout.is-nav-closed .workspace-nav {
  display: none;
}

.nav-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-content: center;
  grid-gap: 4px;
  gap: 4px;
  padding: 0;
  border: 1px solid #3d4854;
  border-radius: 6px;
  background: #1f2733;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #dce6e8;
}

.workspace-nav {
  padding: 28px 15px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.nav-caption {
  display: block;
  margin: 0 11px 9px;
  color: #9aa7ab;
  font-size: .6rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-section + .nav-section {
  margin-top: 28px;
}

.nav-empty {
  margin: 8px 10px;
  color: #8a9a9f;
  font-size: .68rem;
  line-height: 1.45;
}

.nav-empty code {
  font-size: .62rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 3px 0;
  padding: 10px 11px;
  border-radius: 7px;
  color: #5f7076;
  font-size: .75rem;
  font-weight: 560;
}

.nav-item span { width: 16px; color: #8b999e; text-align: center; }
.nav-item:hover { color: var(--ink); background: #f1f5f5; }
.nav-item.active { color: var(--accent-dark); background: var(--accent-soft); font-weight: 700; }
.nav-item.active span { color: var(--accent); }

/* Status pages ? match Stitch Executive Azure (content only; no design chrome) */
.su-page {
  --su-bg: #f7f9ff;
  --su-ink: #181c20;
  --su-muted: #414754;
  --su-outline: #c1c6d6;
  --su-line: #dfe3e8;
  --su-white: #ffffff;
  --su-low: #f1f4fa;
  --su-high: #e5e8ee;
  --su-blue: #005bbf;
  --su-blue-btn: #0069cb;
  --su-blue-btn-hover: #0054a3;
  --su-blue-soft: #e8f1fc;
  --su-teal: #008673;
  --su-error: #ba1a1a;
  --su-error-bg: #ffdad6;
  --su-secondary: #465f89;
  font-family: Inter, system-ui, sans-serif;
  color: var(--su-ink);
  background: var(--su-bg);
}

.su-page.su-page-fill {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

main.workspace > .su-page-fill {
  min-height: 100vh;
  height: auto;
}

.su-stage {
  flex: 1 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
}

.su-stage-center,
.su-stage-404 {
  max-width: none;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vh, 48px) clamp(20px, 4vw, 48px);
}

.su-stage-404 {
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}

.su-page-title {
  margin: 0 0 20px;
}

.su-page-title h1 {
  margin: 0 0 6px;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--su-ink);
}

.su-page-title p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--su-muted);
}

.su-panel {
  position: relative;
  background: var(--su-white);
  border: 1px solid var(--su-outline);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 39, 64, 0.04);
  overflow: hidden;
}

.su-panel-build {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.su-panel-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 42%, rgba(26, 115, 232, 0.1), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(0, 91, 191, 0.06), transparent 36%);
}

.su-panel-body {
  position: relative;
  z-index: 1;
  flex: 1 1;
}

.su-build-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 48px 56px;
}

.su-illus {
  position: relative;
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #a8b0bf;
}

.su-illus-soft {
  position: absolute;
  width: 168px;
  height: 168px;
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.1);
}

.su-illus-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: suSpin 10s linear infinite;
}

.su-gear {
  position: absolute;
  display: block;
}

.su-gear-a {
  width: 92px;
  height: 92px;
  color: #1a73e8;
  animation: suSpin 8s linear infinite;
  transform-origin: center;
  z-index: 2;
}

.su-gear-b {
  width: 58px;
  height: 58px;
  color: #008673;
  left: 58%;
  top: 58%;
  animation: suSpinRev 12s linear infinite;
  transform-origin: center;
  z-index: 3;
}

@keyframes suSpin {
  to { transform: rotate(360deg); }
}
@keyframes suSpinRev {
  to { transform: rotate(-360deg); }
}

.su-panel-copy {
  flex: 1 1 320px;
  max-width: 520px;
}

.su-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--su-outline);
  background: var(--su-high);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--su-muted);
}

.su-pill i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1a73e8;
  flex-shrink: 0;
}

.su-panel-copy h2 {
  margin: 0 0 12px;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--su-ink);
}

.su-panel-copy > p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 28px;
  color: var(--su-muted);
}

.su-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.su-status-box {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--su-line);
  background: var(--su-bg);
}

.su-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.su-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--su-ink);
}

.su-status-row em {
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a73e8;
}

.su-status-ok {
  color: var(--su-teal);
  flex-shrink: 0;
}

.su-meter {
  height: 6px;
  border-radius: 999px;
  background: var(--su-high);
  overflow: hidden;
}

.su-meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.su-meter-done {
  width: 100%;
  background: var(--su-teal);
}

.su-meter-live {
  background: #1a73e8;
  position: relative;
  overflow: hidden;
}

.su-meter-live::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: suShine 1.8s linear infinite;
}

@keyframes suShine {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}

.su-panel-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--su-outline);
  background: var(--su-low);
  color: var(--su-muted);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.su-panel-foot p { margin: 0; }
.su-panel-foot strong { color: var(--su-ink); font-weight: 700; }

/* ?? 403 ?? */
.su-bg-soft {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(at 0% 0%, rgba(12, 135, 235, 0.1), transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 105, 203, 0.06), transparent 50%);
}

.su-panel-access {
  width: min(100%, 64rem);
  padding: 40px 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(247,249,255,0.9));
  box-shadow: 0 18px 40px rgba(7, 37, 74, 0.07);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 1;
}

.su-access-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.su-access-icon {
  position: relative;
  flex-shrink: 0;
}

.su-access-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: rgba(12, 135, 235, 0.2);
  filter: blur(14px);
}

.su-access-icon-tile {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid #b9ddfe;
  background: linear-gradient(145deg, #f0f7ff, #e0effe);
  color: #0069cb;
  transform: rotate(3deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.su-access-copy {
  flex: 1 1;
  min-width: 0;
}

.su-err-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 218, 214, 0.55);
  border: 1px solid var(--su-error-bg);
  color: var(--su-error);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.su-access-copy h1 {
  margin: 0 0 12px;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.su-access-copy > p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 24px;
  color: var(--su-muted);
}

.su-access-request {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(193, 198, 214, 0.55);
  background: rgba(241, 244, 250, 0.7);
  color: #0069cb;
}

.su-access-request strong {
  display: block;
  margin-bottom: 4px;
  color: var(--su-ink);
  font-size: 16px;
}

.su-access-request span {
  display: block;
  margin-bottom: 12px;
  color: var(--su-muted);
  font-size: 14px;
  line-height: 20px;
}

.su-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.su-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.su-btn:active { transform: scale(0.98); }

.su-btn-solid {
  color: #fff;
  background: var(--su-blue-btn);
  box-shadow: 0 6px 14px rgba(0, 105, 203, 0.2);
}
.su-btn-solid:hover { background: var(--su-blue-btn-hover); }

.su-btn-line {
  color: var(--su-ink);
  border: 1px solid var(--su-outline);
  background: var(--su-white);
}
.su-btn-line:hover { background: var(--su-low); }

.su-btn-text {
  color: var(--su-blue-btn);
  background: transparent;
}
.su-btn-text:hover { background: #f0f7ff; }

/* ?? 404 ?? */
.su-bg-404 {
  display: none;
}

.su-panel-404 {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  border-radius: 32px;
  padding: 48px 56px;
  border: 1px solid var(--su-outline);
  background: var(--su-white);
  box-shadow: 0 12px 32px rgba(15, 39, 64, 0.06);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  z-index: 1;
}

.su-404-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-gap: 28px;
  gap: 28px;
  align-items: start;
  justify-content: space-between;
}

.su-oops {
  margin: 4px 0 2px;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: clamp(72px, 10vw, 100px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--su-blue);
}

.su-404-main h1 {
  margin: 0 0 12px;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--su-ink);
}

.su-404-lead {
  margin: 0 0 20px;
  max-width: 34rem;
  font-size: 18px;
  line-height: 28px;
  color: var(--su-muted);
}

.su-help-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 28rem;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(26, 115, 232, 0.18);
  background: rgba(232, 241, 252, 0.7);
  color: #1a73e8;
}

.su-help-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--su-ink);
  font-size: 16px;
}

.su-help-box span {
  color: var(--su-muted);
  font-size: 14px;
  line-height: 20px;
}

.su-qlinks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  width: max-content;
  max-width: 240px;
}

.su-qlinks h2 {
  margin: 0 0 6px;
  padding: 4px 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--su-muted);
}

.su-qlinks a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  color: var(--su-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

.su-qlinks a:hover {
  background: var(--su-low);
}

.su-qlink-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--su-low);
  color: #5f6b7a;
  flex-shrink: 0;
}

.su-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 72rem;
  margin: 24px auto 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--su-outline);
  background: var(--su-white);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  color: var(--su-blue);
  font-size: 14px;
}

.su-strip p {
  margin: 0;
  color: var(--su-muted);
}

.su-strip a {
  color: var(--su-blue);
  font-weight: 700;
  text-decoration: none;
}
.su-strip a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .su-build-body {
    padding: 32px 24px;
    gap: 32px;
  }
  .su-panel-copy h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .su-status-grid { grid-template-columns: 1fr; }
  .su-404-layout { grid-template-columns: 1fr; gap: 28px; }
  .su-panel-404 { padding: 32px 24px; border-radius: 24px; }
  .su-access-layout { flex-direction: column; align-items: center; text-align: center; }
  .su-access-request { text-align: left; }
  .su-btn-row { justify-content: center; }
}

@media (max-width: 560px) {
  .su-stage { padding: 20px 16px 28px; }
  .su-page-title h1 { font-size: 28px; line-height: 36px; }
  .su-illus { width: 180px; height: 180px; }
  .su-gear-a { width: 72px; height: 72px; }
  .su-gear-b { width: 44px; height: 44px; }
  .su-btn-row .su-btn { width: 100%; }
  .su-access-request .su-btn { width: 100%; }
}

.route-decode {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.route-decode-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: baseline;
  font-size: .74rem;
}

.route-decode-row span {
  color: var(--muted);
  font-weight: 650;
}

.route-decode-row code,
.data-table code,
.org-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  color: var(--accent-dark);
}

.page-body {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.stat-card,
.org-card,
.data-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.stat-card {
  padding: 18px 18px 16px;
}

.stat-card .metric-value {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
  letter-spacing: -.04em;
}

.data-panel {
  padding: 20px 20px 8px;
}

.data-panel-head {
  margin-bottom: 14px;
}

.toolbar-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.users-toolbar-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.create-user-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fafbfc;
}

.create-user-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.create-user-form label span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.create-user-form input,
.create-user-form select {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font-size: .78rem;
}

.create-user-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .create-user-form {
    grid-template-columns: 1fr;
  }
}

.status-filter {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-width: 150px;
}

.status-filter span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-filter select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font-size: .78rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 650;
}

.status-pill.is-active {
  color: #166534;
  background: #dcfce7;
}

.status-pill.is-inactive {
  color: #9a3412;
  background: #ffedd5;
}

.table-action {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font-size: .72rem;
  cursor: pointer;
}

.table-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.table-action.is-primary {
  border-color: #166534;
  background: #166534;
  color: #fff;
}

.data-panel-head h2,
.org-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

.data-panel-head p,
.org-card p,
.muted-copy {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .76rem;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.org-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  padding-bottom: 12px;
}

.org-card {
  padding: 16px;
}

@media (max-width: 900px) {
  .stat-row { grid-template-columns: 1fr; }
  .route-decode-row { grid-template-columns: 1fr; gap: 2px; }
}

.workspace-content {
  min-width: 0;
  padding: 42px clamp(30px, 4vw, 64px) 70px;
}

.workspace-content.su-page-fill {
  padding: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.content-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.content-head h1 {
  margin: 8px 0 7px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -.045em;
}

.content-head p {
  margin: 0;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.55;
}

.card-kicker {
  color: #88999e;
  font-size: .64rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric-value {
  margin: 7px 0 7px;
  color: var(--ink);
  font-size: 1.65rem;
  letter-spacing: -.04em;
}

.loading-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--navy);
}

.loading-card { display: grid; justify-items: center; grid-gap: 12px; gap: 12px; color: #9eb2b8; font-size: .75rem; }
.loading-card p { margin: 0; }

@media (max-width: 1050px) {
  .auth-page { grid-template-columns: minmax(320px, 36%) 1fr; }
  .auth-story { padding: 38px 32px; }
  .story-copy h1 { font-size: 2.7rem; }
  .user-copy { display: none; }
}

@media (max-width: 800px) {
  .auth-page { display: block; }
  .auth-story { display: none; }
  .auth-panel { min-height: 100vh; display: block; padding: 28px 22px 44px; }
  .mobile-brand { display: flex; margin-bottom: 42px; }
  .auth-form-wrap { margin: auto; }
  .workspace-header { padding: 0 10px; gap: 10px; }
  .proton-word,
  .global-search,
  .header-icon-btn,
  .signout-button { display: none; }
  .org-switcher-trigger { min-width: 140px; max-width: 180px; }
  .workspace-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .workspace-layout.is-nav-closed { grid-template-columns: minmax(0, 1fr); }
  .workspace-nav { padding: 20px 10px; }
  .nav-caption { display: block; }
  .nav-item { justify-content: flex-start; padding: 10px 11px; font-size: .72rem; }
  .nav-item span { width: 16px; font-size: inherit; }
  .workspace-content { padding: 32px 22px 55px; }
}

@media (max-width: 590px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-span { grid-column: auto; }
  .auth-heading h2 { font-size: 1.8rem; }
  .content-head { align-items: flex-start; flex-direction: column; }
  .workspace-layout { display: grid; grid-template-columns: 1fr; }
  .workspace-layout.is-nav-open .workspace-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }
  .workspace-layout.is-nav-closed .workspace-nav {
    display: none;
  }
  .nav-caption { display: none; }
  .nav-section { display: contents; }
  .nav-item { font-size: .72rem; }
  .workspace-content { padding: 28px 16px 50px; }
  .user-summary { border-left: 0; padding-left: 0; }
  .header-actions { gap: 2px; }
}



