:root {
  color-scheme: light;
  --ink: #112021;
  --muted: #617071;
  --line: #d9dfda;
  --paper: #ffffff;
  --canvas: #f7f8f4;
  --mint: #59dfc5;
  --mint-deep: #0f786d;
  --service-mark-fill: #59dfc5;
  --service-mark-ink: #ffffff;
  --night: #0d1b1c;
  --yellow: #f2c84b;
  --focus: #005fcc;
  --danger: #a22620;
  --shadow: 0 22px 70px rgba(13, 27, 28, 0.10);
  --subscriber-sidebar-w: 248px;
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f8f7;
  --muted: #a6b7b4;
  --line: #29413e;
  --paper: #102321;
  --canvas: #071311;
  --mint: #67e3ca;
  --mint-deep: #79e8d3;
  --service-mark-fill: #67e3ca;
  --service-mark-ink: #ffffff;
  --focus: #87bfff;
  --danger: #ff918a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
}

html[data-theme="contrast"] {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #ffffff;
  --line: #ffffff;
  --paper: #000000;
  --canvas: #000000;
  --mint: #00ffd5;
  --mint-deep: #00ffd5;
  --service-mark-fill: #00ffd5;
  --service-mark-ink: #ffffff;
  --night: #000000;
  --yellow: #ffe600;
  --focus: #ffe600;
  --danger: #ff8d87;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

.session-pending .site-shell {display:none!important;}
#session-loading {display:none;}
.session-pending #session-loading {display:grid;place-content:center;min-height:100vh;padding:24px;text-align:center;color:var(--ink);background:var(--canvas);}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background:
    radial-gradient(circle at 84% 7%, rgba(89, 223, 197, 0.09), transparent 25rem),
    radial-gradient(circle at 7% 60%, rgba(242, 200, 75, 0.07), transparent 24rem),
    var(--canvas);
  transition: padding-left 0.2s ease;
}

body.has-session .site-shell {
  padding-left: var(--subscriber-sidebar-w);
}

.subscriber-sidebar {
  width: var(--subscriber-sidebar-w);
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  padding: 24px 17px 20px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 40px rgba(13, 27, 28, 0.04);
  transition: width 0.2s ease, transform 0.22s ease;
}

.sidebar-brand {
  width: 100%;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}

.sidebar-brand > img:not(.sidebar-brand-mark) {
  width: 188px;
  height: 62px;
  object-fit: contain;
}

.sidebar-brand-mark {
  display: none;
  width: 42px;
  height: 42px;
}

.sidebar-brand span {
  margin-top: -12px;
  padding-left: 49px;
  color: #345250;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.sidebar-collapse {
  position: absolute;
  top: 88px;
  right: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.sidebar-collapse:hover {
  color: var(--ink);
  border-color: var(--mint-deep);
}

.sidebar-collapse svg {
  width: 17px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.sidebar-resizer {
  width: 10px;
  position: absolute;
  inset: 0 -5px 0 auto;
  z-index: 4;
  cursor: ew-resize;
  touch-action: none;
}

.sidebar-resizer::after {
  content: "";
  width: 2px;
  position: absolute;
  inset: 0 auto 0 4px;
  background: transparent;
  transition: background 0.16s ease;
}

.sidebar-collapse:focus-visible,
.sidebar-resizer:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 36%, transparent);
  outline-offset: 2px;
}

.sidebar-resizer:hover::after,
.sidebar-resizer:focus-visible::after,
body.is-resizing-subscriber-sidebar .sidebar-resizer::after {
  background: var(--mint-deep);
}

body.is-resizing-subscriber-sidebar,
body.is-resizing-subscriber-sidebar * {
  cursor: ew-resize !important;
  user-select: none !important;
}

.subscriber-nav {
  margin-top: 50px;
  display: grid;
  gap: 5px;
}

.subscriber-nav-item {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.subscriber-nav-item:hover,
.subscriber-nav-item.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--mint) 9%, transparent);
}

.subscriber-nav-item.is-active {
  border-color: var(--line);
  box-shadow: inset 3px 0 var(--mint-deep);
}

.subscriber-nav-item svg {
  width: 19px;
  flex: 0 0 19px;
  fill: currentColor;
}

.subscriber-nav-item em {
  min-width: 22px;
  margin-left: auto;
  padding: 2px 6px;
  color: var(--muted);
  text-align: center;
  background: color-mix(in srgb, var(--mint) 10%, transparent);
  border-radius: 99px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-style: normal;
}

.subscriber-sidebar .header-context {
  width: 100%;
  margin: 28px 0 0;
  padding: 22px 0 0;
  display: grid;
  order: initial;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.subscriber-sidebar .context-field,
.subscriber-sidebar .context-field:last-of-type {
  min-width: 0;
  width: 100%;
}

.subscriber-sidebar .context-link {
  display: none;
}

.subscriber-sidebar .context-switch {
  width: 100%;
  margin-top: 0;
}

.subscriber-sidebar-foot {
  position: relative;
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.sidebar-theme {
  min-height: 58px;
  padding: 8px 10px;
  display: grid;
  gap: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sidebar-theme > span {
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-theme select {
  width: 100%;
  padding: 0 20px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.subscriber-sidebar .account-chip {
  width: 100%;
  justify-content: flex-start;
}

.subscriber-sidebar .account-menu {
  top: auto;
  right: auto;
  bottom: calc(100% + 10px);
  left: 0;
}

.subscriber-menu {
  width: 40px;
  height: 40px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.subscriber-menu span {
  width: 17px;
  height: 1px;
  background: currentColor;
}

body.has-session .brand-header {
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 20px 38px;
  justify-content: flex-end;
}

body.has-session .brand-header .brand {
  display: none;
}

body.subscriber-sidebar-collapsed {
  --subscriber-sidebar-w: 78px;
}

body.subscriber-sidebar-collapsed .subscriber-sidebar {
  padding-inline: 11px;
}

body.subscriber-sidebar-collapsed .sidebar-brand > img:not(.sidebar-brand-mark),
body.subscriber-sidebar-collapsed .sidebar-brand span,
body.subscriber-sidebar-collapsed .subscriber-nav-item span,
body.subscriber-sidebar-collapsed .subscriber-nav-item em,
body.subscriber-sidebar-collapsed .subscriber-sidebar .header-context,
body.subscriber-sidebar-collapsed .sidebar-theme,
body.subscriber-sidebar-collapsed .account-chip strong,
body.subscriber-sidebar-collapsed .account-chip em {
  display: none !important;
}

body.subscriber-sidebar-collapsed .sidebar-brand-mark {
  display: block;
}

body.subscriber-sidebar-collapsed .sidebar-collapse {
  top: 88px;
  right: 24px;
}

body.subscriber-sidebar-collapsed .sidebar-collapse svg {
  transform: rotate(180deg);
}

body.subscriber-sidebar-collapsed .subscriber-nav {
  margin-top: 50px;
}

body.subscriber-sidebar-collapsed .subscriber-nav-item {
  padding: 0;
  justify-content: center;
}

body.subscriber-sidebar-collapsed .subscriber-sidebar-foot {
  justify-items: center;
}

body.subscriber-sidebar-collapsed .account-chip {
  width: 52px;
  padding: 4px;
  justify-content: center;
}

body.subscriber-sidebar-collapsed .subscriber-sidebar .account-menu {
  width: 290px;
  left: 52px;
  bottom: 0;
}

body.subscriber-sidebar-collapsed .sidebar-resizer {
  display: none;
}

.brand-header {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 32, 33, 0.10);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand img {
  display: block;
  width: 188px;
  height: 62px;
  object-fit: contain;
}

.brand span {
  margin-top: -12px;
  padding-left: 49px;
  color: #345250;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.preview-label,
.eyebrow {
  margin: 0;
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-context {
  min-width: 0;
  margin-left: auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.context-field {
  min-width: 150px;
}

.context-field:last-of-type {
  min-width: 214px;
}

.context-field label,
.context-field strong {
  display: block;
}

.context-field label {
  margin: 0 0 4px 2px;
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.context-field select,
.context-field strong {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.context-field select {
  cursor: pointer;
}

.context-field strong {
  padding-right: 12px;
  display: flex;
  align-items: center;
}

.context-field select:focus-visible,
.context-switch:focus-visible,
.mobile-context:focus-visible,
.company-option:focus-visible {
  outline: 3px solid rgba(0, 95, 204, 0.32);
  outline-offset: 2px;
}

.context-link {
  margin-top: 15px;
  color: #9aa7a3;
  font-size: 19px;
}

.context-switch {
  min-height: 42px;
  margin-top: 15px;
  padding: 0 16px;
  color: #071312;
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.context-switch:disabled,
.button:disabled {
  color: #7c8885;
  background: #edf0ed;
  border-color: #d8ded9;
  cursor: not-allowed;
  transform: none;
}

.mobile-context {
  width: 100%;
  min-height: 52px;
  padding: 7px 12px;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  border: 1px solid #bbc8c1;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-context small,
.mobile-context strong {
  display: block;
}

.mobile-context small {
  margin-bottom: 3px;
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mobile-context strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-context-static {
  grid-template-columns: 1fr;
  cursor: default;
}

.account-chip {
  min-height: 44px;
  padding: 4px 12px 4px 5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.account-chip span,
.avatar {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
}

.account-chip span {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.account-chip strong {
  font-size: 13px;
}

.account-chip em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.account-menu-wrap {
  position: relative;
}

.account-menu {
  width: 290px;
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.account-menu-profile {
  padding: 16px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.account-menu-profile > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.account-menu-profile strong,
.account-menu-profile small {
  display: block;
}

.account-menu-profile strong {
  font-size: 14px;
}

.account-menu-profile small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.account-menu-theme {
  padding: 15px 16px 17px;
  border-bottom: 1px solid var(--line);
}

.account-menu-theme label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-menu-theme select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
}

.account-menu-theme option {
  color: var(--ink);
  background: var(--paper);
}

.account-menu-theme small {
  display: block;
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 11px;
}

.account-menu-action {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0 0 10px 10px;
  cursor: pointer;
  font-weight: 700;
}

.account-menu-action:hover {
  background: rgba(89, 223, 197, 0.10);
}

.account-menu-theme select:focus-visible,
.account-menu-action:focus-visible,
.account-chip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 36%, transparent);
  outline-offset: 2px;
}

.main {
  width: min(520px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 70px;
}

.auth-heading {
  text-align: center;
}

.auth-heading h1 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.auth-heading > p:last-child {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.auth-form,
.provider-list {
  display: grid;
  gap: 12px;
}

.auth-form {
  margin-top: 34px;
}

.auth-form input {
  min-height: 54px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
}

.auth-form .button,
.provider-list .provider-button {
  min-height: 54px;
  border-radius: 999px;
}

.auth-form .button-primary {
  background: #50d3bb;
  border-color: #50d3bb;
}

.auth-form .button-primary:hover {
  background: #43c9b0;
  border-color: #43c9b0;
}

input {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid #cbd3ce;
  border-radius: 8px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

input::placeholder {
  color: #788483;
}

input:hover {
  border-color: #99aaa3;
}

input:focus-visible {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(15, 120, 109, 0.15);
  background: var(--paper);
}

.field-error {
  min-height: 0;
  margin: -3px 2px 0;
  color: var(--danger);
  font-size: 13px;
}

.field-error:empty {
  display: none;
}

.button {
  min-height: 58px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbd3ce;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.button:hover {
  border-color: #82958d;
  transform: translateY(-1px);
}

.button:focus-visible,
.text-button:focus-visible,
.choice-card:focus-visible,
.back-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 95, 204, 0.32);
  outline-offset: 3px;
}

.button-primary {
  color: #071312;
  background: var(--mint);
  border-color: var(--mint);
}

.button-primary:hover {
  background: #48d3b8;
  border-color: #48d3b8;
}

.button-secondary {
  background: transparent;
}

.account-switch {
  margin: 23px 0;
  text-align: center;
  color: #344342;
}

.text-button,
.back-button {
  padding: 0;
  color: var(--mint-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.text-button {
  margin-left: 4px;
}

.text-button:hover,
.back-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 23px;
  color: #6f7c79;
  font-size: 12px;
  font-weight: 700;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.provider-button {
  position: relative;
  justify-content: center;
}

.provider-icon {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  fill: currentColor;
  font-size: 19px;
  font-weight: 800;
}

.google-icon,
.microsoft-icon {
  display: block;
}

.connection-note {
  max-width: 430px;
  margin: 18px auto 0;
  color: #71807d;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.demo-access {
  display: block;
  margin: 16px auto 0;
  padding: 7px 0;
  color: var(--mint-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-button {
  margin: 0 0 30px;
  font-size: 14px;
}

.choice-grid {
  margin: 32px 0 24px;
  display: grid;
  gap: 12px;
}

.choice-card {
  width: 100%;
  padding: 19px 20px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #cbd3ce;
  border-radius: 8px;
  cursor: pointer;
}

.choice-card.is-selected {
  background: #effbf7;
  border-color: var(--mint-deep);
  box-shadow: inset 3px 0 var(--mint-deep);
}

.choice-mark {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid #93a49c;
  border-radius: 50%;
}

.choice-card.is-selected .choice-mark {
  border: 5px solid var(--mint-deep);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.setup-form {
  display: grid;
  gap: 18px;
}

.setup-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 750;
}

.main.main--workspace {
  width: min(1120px, calc(100% - 48px));
  padding-top: 48px;
}

.main.main--company {
  width: min(820px, calc(100% - 48px));
  padding-top: 52px;
}

.ops-review-view {
  display: grid;
  gap: 24px;
  font-size: 15px;
}

.ops-review-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.ops-review-heading h1 {
  margin: 10px 0 10px;
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.ops-review-heading > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.ops-review-actions {
  display: flex;
  gap: 10px;
}

.ops-review-actions .button {
  white-space: nowrap;
}

.ops-review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--line);
}

.ops-review-metrics article {
  min-width: 0;
  padding: 22px;
  display: grid;
  gap: 5px;
}

.ops-review-metrics article + article {
  border-left: 1px solid var(--line);
}

.ops-review-metrics span {
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.ops-review-metrics strong {
  font-size: 2rem;
  line-height: 1;
}

.ops-review-metrics small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ops-review-panel {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ops-review-panel-heading {
  min-height: 86px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.ops-review-panel-heading h2 {
  margin: 5px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.ops-review-message {
  min-height: 42px;
  padding: 12px 22px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 82%, var(--mint));
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.ops-request-row {
  min-width: 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(190px, 1.2fr) minmax(120px, 0.75fr) minmax(145px, 0.8fr) auto;
  align-items: center;
  gap: 18px;
}

.ops-request-row + .ops-request-row {
  border-top: 1px solid var(--line);
}

.ops-request-row > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ops-request-row strong,
.ops-request-row span {
  overflow-wrap: anywhere;
}

.ops-request-row strong {
  font-size: 14px;
  line-height: 1.35;
}

.ops-request-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ops-status {
  width: fit-content;
  padding: 5px 9px;
  color: #7d5100;
  background: #fff6e4;
  border: 1px solid #ead4aa;
  border-radius: 999px;
}

.ops-status--trial,
.ops-status--active {
  color: #0b6555;
  background: #eaf8f4;
  border-color: #b9dfd5;
}

.ops-status--suspended,
.ops-status--cancelled,
.ops-status--expired {
  color: #8c3f36;
  background: #fff0ed;
  border-color: #e8c3bd;
}

.ops-request-empty {
  min-height: 150px;
  padding: 36px 22px;
  display: grid;
  place-content: center;
  gap: 7px;
  text-align: center;
}

.ops-request-empty span {
  color: var(--muted);
}

.ops-review-boundary {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--canvas) 72%, var(--mint));
  border-left: 4px solid var(--mint-deep);
  font-size: 14px;
  line-height: 1.5;
}

.ops-review-boundary span {
  color: var(--muted);
}

.ops-decision-card {
  width: min(620px, calc(100vw - 36px));
}

.ops-decision-summary {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.ops-decision-summary div {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 5px;
}

.ops-decision-summary div:nth-child(even) {
  border-left: 1px solid var(--line);
}

.ops-decision-summary div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.ops-decision-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ops-decision-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.ops-decision-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ops-decision-actions .button-secondary {
  color: #8c3f36;
  border-color: #d9aaa3;
}

.company-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.company-heading h1 {
  margin: 10px 0 10px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.company-heading > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.service-badge {
  min-height: 45px;
  padding: 5px 13px 5px 5px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #23423e;
  background: #eef8f5;
  border: 1px solid #c5e3db;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.service-badge span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: #063f39;
  background: var(--mint);
  border-radius: 4px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-weight: 800;
}

.company-choice-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.company-option {
  width: 100%;
  min-height: 92px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.company-option:hover {
  border-color: #9baca5;
}

.company-option[aria-checked="true"] {
  background: #effbf7;
  border-color: var(--mint-deep);
  box-shadow: inset 3px 0 var(--mint-deep);
}

.company-radio {
  width: 19px;
  height: 19px;
  border: 1px solid #8fa098;
  border-radius: 50%;
}

.company-option[aria-checked="true"] .company-radio {
  border: 5px solid var(--mint-deep);
}

.company-option strong,
.company-option span {
  display: block;
}

.company-option strong {
  font-size: 16px;
}

.company-option span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.company-option em {
  color: #49645f;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.company-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.company-actions .button {
  min-width: 230px;
}

.company-footnote {
  margin: 24px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.workspace-heading,
.active-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.workspace-heading h1,
.active-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.workspace-heading > div:first-child > p:last-child,
.active-hero > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.membership-count {
  min-width: 145px;
  padding: 0 0 8px 24px;
  border-left: 1px solid var(--line);
}

.membership-count strong,
.membership-count span {
  display: block;
}

.membership-count strong {
  font-size: 31px;
  line-height: 1;
}

.membership-count span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.workspace-safeguard {
  margin: 34px 0 20px;
  padding: 15px 18px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  background: #eef8f5;
  border-left: 3px solid var(--mint-deep);
  color: #344744;
  font-size: 14px;
}

.workspace-safeguard strong {
  color: var(--ink);
}

.organization-list {
  display: grid;
  gap: 18px;
}

.organization-group {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.organization-heading {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.organization-heading strong,
.organization-heading span {
  display: block;
}

.organization-heading strong {
  font-size: 17px;
}

.organization-heading span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.organization-heading > span {
  margin: 0;
  color: #43615d;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.workspace-row {
  min-height: 84px;
  padding: 14px 18px 14px 22px;
  display: grid;
  grid-template-columns: 44px minmax(180px, 1.4fr) minmax(150px, 0.8fr) minmax(145px, 0.75fr) auto;
  align-items: center;
  gap: 16px;
}

.workspace-row + .workspace-row {
  border-top: 1px solid #e7ebe7;
}

.service-mark,
.context-service-mark {
  display: grid;
  place-items: center;
  color: var(--service-mark-ink);
  background: var(--service-mark-fill);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-weight: 800;
}

.service-mark {
  width: 38px;
  height: 38px;
  border-radius: 4px;
}

.service-mark.is-mining,
.context-service-mark.is-mining {
  color: #4a3300;
  background: var(--yellow);
}

.workspace-primary strong,
.workspace-primary span,
.workspace-meta strong,
.workspace-meta span {
  display: block;
}

.workspace-primary strong,
.workspace-meta strong {
  font-size: 14px;
}

.workspace-primary span,
.workspace-meta span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.workspace-row .button {
  min-height: 43px;
  padding: 0 17px;
  font-size: 13px;
}

.profile-summary {
  margin-top: 22px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.profile-summary strong,
.profile-summary span {
  display: block;
}

.profile-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.profile-summary .button {
  min-height: 44px;
  font-size: 13px;
}

.active-toolbar {
  margin-bottom: 40px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.context-button {
  max-width: 620px;
  min-height: 58px;
  padding: 7px 14px 7px 7px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  border: 1px solid #bbc8c1;
  border-radius: 8px;
  cursor: pointer;
}

.context-service-mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
}

.context-button small,
.context-button strong {
  display: block;
}

.context-button small {
  margin-bottom: 3px;
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.context-button strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-toolbar > .button {
  min-height: 48px;
  font-size: 13px;
}

.isolation-seal {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 11px;
  background: #eef8f5;
  border: 1px solid #c5e3db;
}

.isolation-seal > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #052f2a;
  background: var(--mint);
  border-radius: 50%;
  font-weight: 900;
}

.isolation-seal strong,
.isolation-seal small {
  display: block;
}

.isolation-seal strong {
  font-size: 13px;
}

.isolation-seal small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.context-facts {
  margin: 34px 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
}

.context-facts > div {
  min-width: 0;
  padding: 18px 19px;
}

.context-facts > div + div {
  border-left: 1px solid var(--line);
}

.context-facts span,
.context-facts strong {
  display: block;
}

.context-facts span,
.context-key span {
  margin-bottom: 8px;
  color: #59716d;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.context-facts strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.workspace-content {
  min-height: 230px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 34px;
  background: var(--night);
  color: #f4fbf9;
}

.workspace-content h2 {
  max-width: 570px;
  margin: 12px 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.workspace-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #b7c8c5;
  font-size: 15px;
  line-height: 1.6;
}

.workspace-content .eyebrow {
  color: #73e4cf;
}

.context-key {
  min-width: 235px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--mint);
}

.context-key span {
  display: block;
  color: #8ccfc3;
}

.context-key code {
  color: #f4fbf9;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.trust-band {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 56px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 28px;
  color: #52625f;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 32, 33, 0.10);
}

.trust-band p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.trust-band strong {
  color: var(--ink);
}

.trust-band > span {
  align-self: stretch;
  background: var(--line);
}

footer {
  min-height: 170px;
  padding: 38px max(32px, calc((100% - 1180px) / 2));
  color: #f4fbf9;
  background: var(--night);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

footer a {
  color: #bdece3;
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 4px;
}

footer p {
  max-width: 760px;
  margin: 32px 0 0;
  color: #aec1be;
  font-size: 12px;
  line-height: 1.6;
}

dialog {
  width: min(510px, calc(100% - 32px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(7, 19, 18, 0.64);
  backdrop-filter: blur(3px);
}

.dialog-card {
  padding: 34px;
}

.dialog-card h2 {
  margin: 11px 0 12px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.dialog-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.workspace-dialog-card {
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
}

.dialog-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-heading-row h2 {
  margin-top: 11px;
}

.dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-workspace-list {
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.dialog-workspace-option {
  width: 100%;
  padding: 15px 2px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.dialog-workspace-option:hover {
  background: #f4f8f5;
}

.dialog-workspace-option[aria-current="true"] {
  color: #667471;
  cursor: default;
}

.dialog-workspace-option .service-mark {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.dialog-workspace-option strong,
.dialog-workspace-option span {
  display: block;
}

.dialog-workspace-option strong {
  font-size: 13px;
}

.dialog-workspace-option span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.dialog-workspace-option > em {
  color: var(--mint-deep);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.dialog-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dialog-actions .button {
  min-height: 48px;
}

.dialog-all-memberships {
  margin-top: 22px;
}

.procurement-console {
  margin-top: 28px;
}

.subscriber-console-heading {
  padding: 28px 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.subscriber-console-heading h2 {
  margin: 9px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.subscriber-console-heading > div > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.subscriber-console-heading .button {
  min-width: 150px;
  min-height: 48px;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
}

.console-metrics > div {
  min-width: 0;
  padding: 20px 22px;
}

.console-metrics > div + div {
  border-left: 1px solid var(--line);
}

.console-metrics span,
.console-metrics strong,
.console-metrics small {
  display: block;
}

.console-metrics span,
.tender-meta > span {
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.console-metrics strong {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
}

.console-metrics small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.tender-portfolio {
  margin-top: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tender-portfolio > header {
  padding: 21px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.tender-portfolio h3 {
  margin: 8px 0 0;
  font-size: 20px;
}

.scope-label {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tender-row {
  min-height: 106px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 96px minmax(250px, 1fr) 126px 130px auto;
  align-items: center;
  gap: 18px;
}

.tender-row + .tender-row,
#preview-tender-row:not(:empty) .tender-row {
  border-top: 1px solid var(--line);
}

.tender-empty {
  min-height: 132px;
  padding: 28px 22px;
  display: grid;
  place-content: center;
  gap: 7px;
  text-align: center;
}

.tender-empty span {
  color: var(--muted);
  font-size: 14px;
}

.tender-row-new {
  box-shadow: inset 3px 0 var(--mint);
}

.tender-reference strong,
.tender-reference span,
.tender-title strong,
.tender-title span,
.tender-meta strong,
.tender-meta small,
.tender-state small {
  display: block;
}

.tender-reference strong {
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
}

.tender-reference span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.tender-title strong {
  font-size: 14px;
  line-height: 1.35;
}

.tender-title span,
.tender-meta small,
.tender-state small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.tender-meta strong {
  margin-top: 7px;
  font-size: 12px;
}

.status-pill {
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.status-review {
  color: #8a5a08;
  background: #fff6df;
  border-color: #ead5a5;
}

.status-submitted {
  color: #08685e;
  background: #eaf9f5;
  border-color: #b9ded5;
}

.tender-row .button {
  min-height: 42px;
  padding: 0 15px;
  font-size: 12px;
}

.workflow-bridge {
  margin-top: 20px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 88%, var(--mint));
  border: 1px solid var(--line);
}

.workflow-bridge > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
}

.workflow-bridge > div > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #042f2a;
  background: var(--mint);
  border-radius: 50%;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 850;
}

.workflow-bridge p,
.workflow-bridge strong,
.workflow-bridge small {
  display: block;
  margin: 0;
}

.workflow-bridge strong {
  font-size: 12px;
}

.workflow-bridge small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.workflow-bridge i {
  height: 1px;
  background: var(--line);
}

.workflow-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.workflow-page-heading .back-button {
  margin-bottom: 30px;
}

.workflow-page-heading h1 {
  max-width: 820px;
  margin: 10px 0 10px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.workflow-page-heading > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.preview-status {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--mint-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.intake-progress {
  margin: 34px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
}

.intake-progress li {
  min-width: 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 11px;
  color: var(--muted);
}

.intake-progress li + li {
  border-left: 1px solid var(--line);
}

.intake-progress li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 850;
}

.intake-progress strong,
.intake-progress small {
  display: block;
}

.intake-progress strong {
  color: inherit;
  font-size: 13px;
}

.intake-progress small {
  margin-top: 3px;
  font-size: 10px;
}

.intake-progress li.is-active {
  color: var(--ink);
  box-shadow: inset 0 -3px var(--mint-deep);
}

.intake-progress li.is-active > span,
.intake-progress li.is-complete > span {
  color: #052f2a;
  background: var(--mint);
  border-color: var(--mint);
}

.intake-progress li.is-complete {
  color: var(--mint-deep);
}

.intake-form {
  display: grid;
}

.intake-card {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.intake-card-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.intake-card-heading h2,
.case-panel-heading h2 {
  margin: 8px 0 7px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.intake-card-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.field-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin: 0 0 8px 2px;
  font-size: 13px;
  font-weight: 750;
}

.field label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

textarea {
  width: 100%;
  padding: 15px 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  resize: vertical;
  line-height: 1.5;
}

textarea::placeholder {
  color: var(--muted);
}

textarea:focus-visible {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint-deep) 18%, transparent);
}

.file-drop {
  min-height: 190px;
  margin-top: 24px;
  padding: 28px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--ink);
  text-align: center;
  background: color-mix(in srgb, var(--paper) 90%, var(--mint));
  border: 1px dashed var(--mint-deep);
  cursor: pointer;
}

.file-drop input {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  opacity: 0;
}

.file-drop:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--focus) 36%, transparent);
  outline-offset: 3px;
}

.file-drop-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #052f2a;
  background: var(--mint);
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.file-drop strong,
.file-drop small {
  display: block;
}

.file-drop strong {
  margin-top: 12px;
  font-size: 15px;
}

.file-drop small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.selected-files {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.selected-files > p {
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  font-size: 13px;
}

.selected-file {
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
}

.selected-file > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #052f2a;
  background: var(--mint);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 8px;
  font-weight: 850;
}

.selected-file strong,
.selected-file small {
  display: block;
}

.selected-file strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.selected-file small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.selected-file button {
  color: var(--mint-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.preview-data-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.preview-data-note strong {
  color: var(--ink);
}

.data-boundary-notice {
  margin: 18px 0 0;
  padding: 15px 17px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 84%, var(--mint));
  border-left: 3px solid var(--mint-deep);
  font-size: 12px;
  line-height: 1.55;
}

.data-boundary-notice strong,
.data-boundary-notice p {
  display: block;
}

.data-boundary-notice strong {
  font-size: var(--portal-type-body, 1rem);
}

.data-boundary-notice p {
  margin: 5px 0 0;
  color: var(--muted);
}

.data-boundary-notice.compact {
  margin: 8px 0 2px;
}

.submission-attestations {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.submission-attestations legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 800;
}

.submission-attestations label,
.inline-attestation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.submission-attestations label + label {
  margin-top: 12px;
}

.submission-attestations input[type="checkbox"],
.inline-attestation input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  margin: 3px 0 0;
  appearance: auto;
  accent-color: var(--mint-deep);
}

.submission-attestations label > span,
.inline-attestation > span {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-summary {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.review-summary > div {
  min-width: 0;
  padding: 17px 18px;
}

.review-summary > div:nth-child(even) {
  border-left: 1px solid var(--line);
}

.review-summary > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.review-summary .review-files {
  grid-column: 1 / -1;
  border-left: 0;
}

.review-summary dt,
.case-facts dt {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.review-summary dd {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.review-summary dd span {
  display: block;
}

.review-summary dd span + span {
  margin-top: 5px;
}

.submission-notice {
  margin-top: 18px;
  padding: 15px 17px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 87%, var(--yellow));
  border-left: 3px solid var(--yellow);
  font-size: 12px;
  line-height: 1.5;
}

.submission-notice span {
  color: var(--muted);
}

.intake-error {
  margin: 12px 2px 0;
}

.intake-actions {
  padding: 18px 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.intake-actions .button {
  min-width: 180px;
  min-height: 48px;
}

.case-page-heading {
  align-items: center;
}

.case-page-heading .status-pill {
  min-height: 32px;
  padding: 0 13px;
}

.case-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 20px;
}

.case-main {
  display: grid;
  gap: 20px;
}

.case-panel,
.case-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
}

.case-panel {
  padding: 28px;
}

.case-panel-heading {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.case-panel-heading h2 {
  margin-bottom: 0;
}

.case-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-timeline li {
  min-height: 78px;
  padding: 15px 0;
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
}

.case-timeline li + li {
  border-top: 1px solid var(--line);
}

.case-timeline li > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: inherit;
  font-size: var(--portal-type-body, 1rem);
  font-weight: 900;
  line-height: 1;
}

.case-timeline li.is-complete > span,
.case-timeline li.is-active > span {
  color: #052f2a;
  background: var(--mint);
  border-color: var(--mint);
}

.case-timeline li.is-active {
  box-shadow: inset 3px 0 var(--mint-deep);
  padding-left: 13px;
}

.case-timeline strong,
.case-timeline small {
  display: block;
}

.case-timeline strong {
  font-size: 13px;
}

.case-timeline small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.case-timeline em {
  color: var(--muted);
  font-family: inherit;
  font-size: var(--portal-type-meta, .82rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.case-timeline .is-active em,
.case-timeline .is-complete em {
  color: var(--mint-deep);
}

.case-copy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.handoff-confirmation {
  margin-top: 20px;
  padding: 16px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 11px;
  background: color-mix(in srgb, var(--paper) 86%, var(--mint));
  border: 1px solid var(--line);
}

.handoff-confirmation > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #052f2a;
  background: var(--mint);
  border-radius: 50%;
  font-size: var(--portal-type-body, 1rem);
  line-height: 1;
  font-weight: 900;
}

.handoff-confirmation strong,
.handoff-confirmation small {
  display: block;
}

.handoff-confirmation strong {
  font-size: 12px;
}

.handoff-confirmation small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.case-sidebar > section {
  padding: 23px;
}

.case-sidebar > section + section {
  border-top: 1px solid var(--line);
}

.case-facts {
  margin: 16px 0 0;
}

.case-facts > div {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.case-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.case-documents {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.case-documents li {
  min-width: 0;
  padding: 9px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
}

.case-documents strong {
  overflow-wrap: anywhere;
  font-size: var(--portal-type-meta, .82rem);
  line-height: 1.35;
}

.case-documents li > span {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--portal-control-fill, #087f70);
  font-family:Consolas,"SFMono-Regular",monospace;
  font-size:11px;
  font-weight:850;
}

.case-documents a { overflow-wrap: anywhere; color: inherit; font-size: var(--portal-type-meta, .82rem); font-weight: 750; line-height: 1.4; text-underline-offset: 3px; }
.report-release-summary { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.report-release-summary > div { min-width: 0; padding: 14px; display: grid; gap: 5px; }
.report-release-summary > div + div { border-left: 1px solid var(--line); }
.report-release-summary span,
.report-request-history span { color: var(--mint-deep); font-family: inherit; font-size: var(--portal-type-meta, .82rem); font-weight: 700; line-height: 1.4; }
.report-release-summary strong { overflow-wrap: anywhere; font-size: 12px; }
.report-release-empty { margin-top: 20px; padding: 18px; border-left: 3px solid var(--yellow); background: color-mix(in srgb, var(--paper) 88%, var(--yellow)); }
.report-release-empty p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.report-package-list { margin-top: 18px; display: grid; gap: 8px; }
.report-package-list a { padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.report-package-list a:hover { border-color: var(--mint-deep); background: color-mix(in srgb, var(--paper) 94%, var(--mint)); }
.report-package-list a span { min-width: 0; display: grid; gap: 4px; }
.report-package-list a strong { overflow-wrap: anywhere; font-size: 13px; }
.report-package-list a small { color: var(--muted); font-size: 10px; }
.report-package-list a em { color: var(--mint-deep); font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
.report-request-form { margin-top: 24px; padding-top: 22px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.report-request-form h3 { margin: 0 0 6px; font-size: 16px; }
.report-request-form label { margin-top: 7px; font-size: 12px; font-weight: 750; }
.report-request-form select,
.report-request-form textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; }
.report-request-form .button { width: fit-content; margin-top: 8px; }
.clarification-panel { border-left: 4px solid var(--yellow); }
.clarification-request { margin: 0 0 20px; padding: 16px 18px; color: var(--ink); background: rgba(222, 160, 46, .1); border: 1px solid rgba(222, 160, 46, .3); line-height: 1.6; white-space: pre-wrap; }
.clarification-form { display: grid; gap: 9px; }
.clarification-form label { margin-top: 5px; font-size: 12px; font-weight: 750; }
.clarification-form label span { color: var(--muted); font-weight: 500; }
.clarification-form textarea,
.clarification-form input[type="file"] { width: 100%; box-sizing: border-box; padding: 11px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.clarification-form small { color: var(--muted); }
.clarification-form .button { width: fit-content; margin-top: 8px; }
.report-request-history { margin-top: 20px; display: grid; gap: 8px; }
.report-request-history article { padding: 14px; display: grid; gap: 5px; border: 1px solid var(--line); }
.report-request-history p { margin: 0; font-size: 12px; line-height: 1.5; }
.report-request-history small { color: var(--muted); font-size: 10px; }
.case-activity { margin: 16px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.case-activity li { display: grid; gap: 4px; }
.case-activity strong { font-size: 11px; line-height: 1.4; }
.case-activity small { color: var(--muted); font-size: 9px; line-height: 1.4; }

@media (max-width: 620px) {
  .report-release-summary { grid-template-columns: 1fr; }
  .report-release-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

html[data-theme="dark"] .site-shell {
  background:
    radial-gradient(circle at 84% 7%, rgba(103, 227, 202, 0.08), transparent 25rem),
    radial-gradient(circle at 7% 60%, rgba(242, 200, 75, 0.05), transparent 24rem),
    var(--canvas);
}

html[data-theme="contrast"] .site-shell {
  background: #000000;
}

html[data-theme="dark"] .brand-header,
html[data-theme="contrast"] .brand-header {
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .brand span,
html[data-theme="contrast"] .brand span {
  color: var(--ink);
}

html[data-theme="dark"] :is(input, .auth-form input, .button, .mobile-context, .account-chip, .choice-card, .company-option, .organization-group, .context-button, .trust-band, .ops-review-metrics, .ops-review-panel),
html[data-theme="contrast"] :is(input, .auth-form input, .button, .mobile-context, .account-chip, .choice-card, .company-option, .organization-group, .context-button, .trust-band, .ops-review-metrics, .ops-review-panel) {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

html[data-theme="dark"] :is(.button-primary, .context-switch),
html[data-theme="contrast"] :is(.button-primary, .context-switch) {
  color: #001310;
  background: var(--mint);
  border-color: var(--mint);
}

html[data-theme="dark"] :is(.button-primary, .context-switch):hover,
html[data-theme="contrast"] :is(.button-primary, .context-switch):hover {
  color: #001310;
  background: var(--mint);
  border-color: var(--ink);
}

html[data-theme="dark"] :is(.context-switch, .button):disabled,
html[data-theme="contrast"] :is(.context-switch, .button):disabled {
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 82%, var(--muted));
  border-color: var(--line);
}

html[data-theme="dark"] :is(input::placeholder, .account-switch, .divider, .connection-note),
html[data-theme="contrast"] :is(input::placeholder, .account-switch, .divider, .connection-note) {
  color: var(--muted);
}

html[data-theme="dark"] :is(input:hover, .button:hover, .mobile-context:hover, .account-chip:hover, .choice-card:hover, .company-option:hover, .context-button:hover),
html[data-theme="contrast"] :is(input:hover, .button:hover, .mobile-context:hover, .account-chip:hover, .choice-card:hover, .company-option:hover, .context-button:hover) {
  border-color: var(--mint-deep);
}

html[data-theme="dark"] :is(.choice-card.is-selected, .company-option[aria-checked="true"]),
html[data-theme="contrast"] :is(.choice-card.is-selected, .company-option[aria-checked="true"]) {
  background: color-mix(in srgb, var(--paper) 86%, var(--mint));
  border-color: var(--mint-deep);
}

html[data-theme="dark"] :is(.service-badge, .workspace-safeguard, .isolation-seal),
html[data-theme="contrast"] :is(.service-badge, .workspace-safeguard, .isolation-seal) {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

html[data-theme="dark"] .workspace-row + .workspace-row,
html[data-theme="contrast"] .workspace-row + .workspace-row {
  border-top-color: var(--line);
}

html[data-theme="dark"] :is(.organization-heading > span, .company-option em, .context-facts span, .context-key span),
html[data-theme="contrast"] :is(.organization-heading > span, .company-option em, .context-facts span, .context-key span) {
  color: var(--mint-deep);
}

html[data-theme="dark"] .dialog-workspace-option:hover,
html[data-theme="contrast"] .dialog-workspace-option:hover {
  background: color-mix(in srgb, var(--paper) 84%, var(--mint));
}

html[data-theme="dark"] .dialog-workspace-option[aria-current="true"],
html[data-theme="contrast"] .dialog-workspace-option[aria-current="true"] {
  color: var(--muted);
}

html[data-theme="dark"] .status-review {
  color: #ffd48d;
  background: #2c2110;
  border-color: #6c5120;
}

html[data-theme="dark"] .status-submitted {
  color: #9af3df;
  background: #102d28;
  border-color: #2e675d;
}

html[data-theme="contrast"] :is(.status-review, .status-submitted) {
  color: #000000;
  background: var(--yellow);
  border-color: #ffffff;
}

html[data-theme="contrast"] body {
  font-weight: 520;
}

html[data-theme="contrast"] :is(.brand-header, .account-menu, .context-facts, .organization-group, dialog, .trust-band) {
  border-width: 2px;
}

html[data-theme="contrast"] :is(button, input, select, a):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

html[data-theme="contrast"] .workspace-safeguard {
  border: 2px solid var(--line);
  border-left: 6px solid var(--mint);
}

html[data-theme="contrast"] .workspace-content {
  border: 2px solid var(--line);
}

html[data-theme="dark"] footer,
html[data-theme="contrast"] footer {
  color: #f4fbf9;
  background: #0d1b1c;
}

html[data-theme="dark"] footer a,
html[data-theme="contrast"] footer a {
  color: #bdece3;
}

html[data-theme="dark"] footer p,
html[data-theme="contrast"] footer p {
  color: #aec1be;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .brand-header {
    flex-wrap: wrap;
  }
}

@media (max-width: 1240px) {
  .has-session .preview-label {
    display: none;
  }
}

@media (max-width: 900px) {
  .ops-review-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .ops-review-metrics article:nth-child(3) {
    border-left: 0;
  }

  .ops-review-metrics article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .ops-request-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .ops-request-date,
  .ops-request-state {
    grid-row: 2;
  }

  .ops-request-row > .button {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .console-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .console-metrics > div:nth-child(odd) {
    border-left: 0;
  }

  .console-metrics > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .tender-row {
    grid-template-columns: 96px minmax(0, 1fr) auto;
  }

  .tender-meta,
  .tender-state {
    grid-column: 2;
  }

  .tender-row > .button {
    grid-column: 3;
    grid-row: 1 / 4;
  }

  .workflow-bridge {
    grid-template-columns: 1fr;
  }

  .workflow-bridge i {
    width: 1px;
    height: 18px;
    margin-left: 13px;
  }

  .case-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-session .site-shell {
    padding-left: 0;
  }

  .subscriber-sidebar {
    width: 268px;
    transform: translateX(-100%);
    box-shadow: 20px 0 80px rgba(0, 0, 0, 0.25);
  }

  .subscriber-sidebar.is-open {
    transform: none;
  }

  .sidebar-collapse,
  .sidebar-resizer {
    display: none;
  }

  body.has-session .brand-header {
    width: 100%;
    min-height: 76px;
    padding: 14px 18px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .subscriber-menu {
    display: flex;
  }
}

/* Operations Console parity for the signed-in subscriber experience */
body.has-session {
  --portal-type-page-title: clamp(1.65rem, 3vw, 2.45rem);
  --portal-type-section-title: clamp(1.25rem, 2vw, 1.8rem);
  --portal-type-subheading: 1.02rem;
  --portal-type-body: 17px;
  --portal-type-row-title: calc(.78rem + 2px);
  --portal-type-control: calc(.78rem + 2px);
  --portal-type-meta: calc(.69rem + 2px);
  --portal-type-label: calc(.72rem + 2px);
  --portal-control-fill: #087f70;
  --portal-control-fill-hover: #056458;
  --service-mark-fill: var(--portal-control-fill);
  --portal-surface-2: #f7f5f0;
  --portal-line-strong: #bdb7ab;
  --portal-hover: rgba(8, 127, 112, .075);
  --portal-panel-shadow: 0 18px 54px rgba(31, 41, 40, .075);
}

html[data-theme="light"] body.has-session {
  --ink: #1f2928;
  --muted: #65716f;
  --line: #ddd9d0;
  --paper: #ffffff;
  --canvas: #f3f1ec;
  --mint: #087f70;
  --mint-deep: #056458;
  --shadow: var(--portal-panel-shadow);
}

body.has-session .site-shell {
  background: var(--canvas);
}

body.has-session .subscriber-sidebar {
  background: color-mix(in srgb, var(--paper) 84%, var(--canvas));
  box-shadow: none;
}

body.has-session .brand-header {
  min-height: 92px;
  padding: 20px clamp(24px, 4vw, 58px);
  gap: clamp(18px, 2.2vw, 36px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom-color: var(--line);
}

.subscriber-page-identity {
  min-width: 220px;
  display: grid;
  gap: 5px;
}

.subscriber-page-identity[hidden] {
  display: none;
}

.subscriber-page-identity .section-kicker {
  margin: 0;
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: var(--portal-type-label);
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
}

.subscriber-page-identity h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  white-space: nowrap;
}

body.has-session .header-end {
  width: auto;
  flex: 0 1 auto;
  gap: clamp(10px, 1.2vw, 18px);
}

body.has-session .header-context {
  padding: 7px;
  gap: 7px;
  background: color-mix(in srgb, var(--canvas) 72%, var(--ink) 4%);
  border: 1px solid var(--portal-line-strong);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 75%, transparent);
}

body.has-session .context-field label {
  margin-left: 3px;
  color: var(--mint-deep);
  font-size: calc(.6rem + 2px);
  letter-spacing: .16em;
}

body.has-session .context-field select,
body.has-session .context-field strong,
body.has-session .mobile-context {
  min-height: 44px;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--portal-line-strong);
  border-radius: 7px;
  font-size: var(--portal-type-control);
}

.subscriber-private-badge {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: var(--portal-type-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.subscriber-private-badge[hidden] {
  display: none;
}

.subscriber-private-badge > span {
  width: 7px;
  height: 7px;
  background: #25794b;
  border-radius: 50%;
}

body.has-session .subscriber-utility-nav {
  padding-left: clamp(10px, 1.1vw, 18px);
  border-left: 1px solid var(--line);
}

body.has-session .subscriber-utility-nav a {
  font-size: var(--portal-type-control);
}

body.has-session .account-chip {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 5px;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

body.has-session .account-chip:hover,
body.has-session .account-chip[aria-expanded="true"] {
  background: color-mix(in srgb, var(--muted) 20%, transparent);
}

body.has-session .account-chip strong,
body.has-session .account-chip em {
  display: none;
}

body.has-session .account-chip span {
  width: 36px;
  height: 36px;
}

body.has-session .main,
body.has-session .main.main--workspace,
body.has-session .main.main--company {
  padding: clamp(28px, 4vw, 54px);
  color: var(--ink);
  font-size: var(--portal-type-body);
  line-height: 1.58;
}

body.has-session .main :is(.eyebrow, .preview-status, .status-pill, .privacy-status, .scope-label) {
  color: var(--mint-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: var(--portal-type-label);
  font-weight: 800;
  letter-spacing: .16em;
}

body.has-session .main :is(
  .workspace-heading > div:first-child > p:last-child,
  .active-hero > div:first-child > p:last-child,
  .company-heading > div:first-child > p:last-child,
  .workflow-page-heading > div > p:last-child,
  .subscriber-console-heading > div > p:last-child,
  .intake-card-heading > p:last-child,
  .case-copy,
  .privacy-panel > p
) {
  color: var(--muted);
  font-size: calc(var(--portal-type-body) + 2px);
  line-height: 1.58;
}

body.has-session .main :is(.workspace-heading h1, .active-hero h1, .company-heading h1, .workflow-page-heading h1) {
  font-size: var(--portal-type-page-title);
}

body.has-session .main :is(.subscriber-console-heading h2, .intake-card-heading h2, .case-panel-heading h2, .privacy-panel-heading h2) {
  font-size: var(--portal-type-section-title);
}

body.has-session .main :is(
  .company-option strong,
  .workspace-primary strong,
  .workspace-meta strong,
  .organization-heading strong,
  .tender-title strong,
  .tender-reference strong,
  .tender-meta strong,
  .case-timeline strong,
  .report-package-list a strong
) {
  font-size: var(--portal-type-row-title);
}

body.has-session .main :is(
  .company-option span,
  .workspace-primary span,
  .workspace-meta span,
  .organization-heading span,
  .tender-title span,
  .tender-meta small,
  .tender-state small,
  .case-timeline small,
  .report-package-list a small,
  .console-metrics small
) {
  font-size: var(--portal-type-meta);
}

body.has-session .button-primary,
body.has-session .context-switch {
  color: #ffffff;
  background: var(--portal-control-fill);
  border-color: var(--portal-control-fill);
  border-radius: 6px;
}

body.has-session .button-primary:hover,
body.has-session .context-switch:hover:not(:disabled) {
  color: #ffffff;
  background: var(--portal-control-fill-hover);
  border-color: var(--portal-control-fill-hover);
}

body.has-session :is(
  .organization-group,
  .subscriber-console-heading,
  .console-metrics,
  .tender-portfolio,
  .context-facts,
  .intake-card,
  .case-panel,
  .case-sidebar,
  .privacy-panel,
  .privacy-sidebar
) {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--portal-panel-shadow);
}

body.has-session .isolation-seal,
body.has-session .workspace-safeguard,
body.has-session .workflow-bridge {
  background: color-mix(in srgb, var(--paper) 90%, var(--mint));
  border-color: color-mix(in srgb, var(--line) 68%, var(--mint));
}

body.has-session :is(
  .isolation-seal > span,
  .workflow-bridge > div > span,
  .intake-progress li.is-active > span,
  .intake-progress li.is-complete > span,
  .case-timeline li.is-complete > span,
  .case-timeline li.is-active > span,
  .handoff-confirmation > span
) {
  color: #ffffff;
  background: var(--portal-control-fill);
  border-color: var(--portal-control-fill);
}

body.has-session .workflow-bridge strong,
body.has-session .isolation-seal strong {
  font-size: var(--portal-type-row-title);
}

body.has-session .workflow-bridge small,
body.has-session .isolation-seal small {
  font-size: var(--portal-type-meta);
}

/* MFA progresses in-place: animated verification, then icon-only result. */
body.auth-active .auth-form .button-primary[data-busy="true"]::after {
  display: none;
}

body.auth-active .auth-form .button-primary[data-verifying="true"] {
  gap: 10px;
}

.auth-processing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.auth-processing-dots i {
  width: 5px;
  height: 5px;
  display: block;
  background: currentColor;
  border-radius: 50%;
  animation: subscriber-auth-dot 1s ease-in-out infinite;
}

.auth-processing-dots i:nth-child(2) { animation-delay: .14s; }
.auth-processing-dots i:nth-child(3) { animation-delay: .28s; }

@keyframes subscriber-auth-dot {
  0%, 70%, 100% { opacity: .3; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

body.auth-active .auth-form .button-primary[data-feedback] {
  font-size: calc(var(--subscriber-auth-copy-size) + .35rem);
}

body.auth-active .connection-note:empty {
  min-height: 0;
  margin-top: 0;
}

@media (max-width: 1540px) {
  body.has-session .brand-header {
    padding-inline: 22px;
  }

  body.has-session .subscriber-utility-nav a:nth-child(3) {
    display: none;
  }
}

@media (max-width: 1260px) {
  .subscriber-page-identity {
    min-width: 190px;
  }

  body.has-session .subscriber-utility-nav a:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 900px) {
  .subscriber-page-identity h1 {
    font-size: 1.2rem;
  }

  .subscriber-page-identity .section-kicker {
    font-size: .7rem;
  }

  .subscriber-private-badge {
    display: none;
  }
}

@media (max-width: 760px) {
  .subscriber-page-identity {
    min-width: 0;
    flex: 1;
  }

  .subscriber-page-identity .section-kicker {
    display: none;
  }

  .subscriber-page-identity h1 {
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .brand-header {
    width: calc(100% - 36px);
    padding-top: 18px;
    align-items: flex-start;
  }

  .brand img {
    width: 151px;
    height: 52px;
  }

  .brand span {
    margin-top: -11px;
    padding-left: 40px;
    font-size: 7px;
  }

  .preview-label {
    max-width: 140px;
    margin-top: 11px;
    text-align: right;
    font-size: 9px;
    line-height: 1.5;
  }

  .header-end {
    gap: 10px;
  }

  .account-chip {
    padding-right: 5px;
  }

  .account-chip strong {
    display: none;
  }

  .main {
    padding: 47px 0 54px;
  }

  .main.main--workspace {
    width: calc(100% - 32px);
    padding-top: 34px;
  }

  .main.main--company {
    width: calc(100% - 32px);
    padding-top: 38px;
  }

  .ops-review-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ops-review-actions {
    width: 100%;
  }

  .ops-review-actions .button {
    flex: 1;
  }

  .ops-review-metrics {
    grid-template-columns: 1fr;
  }

  .ops-review-metrics article + article,
  .ops-review-metrics article:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ops-request-row {
    grid-template-columns: 1fr;
  }

  .ops-request-date,
  .ops-request-state,
  .ops-request-row > .button {
    grid-column: 1;
    grid-row: auto;
  }

  .ops-request-row > .button {
    width: 100%;
  }

  .ops-review-boundary,
  .ops-decision-summary {
    grid-template-columns: 1fr;
  }

  .ops-decision-summary div:nth-child(even) {
    border-left: 0;
  }

  .ops-decision-summary div + div {
    border-top: 1px solid var(--line);
  }

  .company-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-option {
    padding: 16px;
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .company-option em {
    grid-column: 2;
  }

  .company-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .company-actions .button {
    width: 100%;
  }

  .workspace-heading,
  .active-hero,
  .active-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .membership-count {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .membership-count strong,
  .membership-count span {
    display: inline;
  }

  .membership-count span {
    margin-left: 5px;
  }

  .workspace-safeguard {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-row {
    padding: 18px;
    grid-template-columns: 40px 1fr;
  }

  .workspace-row .workspace-meta,
  .workspace-row .button {
    grid-column: 2;
  }

  .workspace-row .button {
    justify-self: start;
  }

  .profile-summary {
    grid-template-columns: 48px 1fr;
  }

  .profile-summary .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .context-button {
    width: 100%;
  }

  .active-toolbar > .button {
    width: 100%;
  }

  .isolation-seal {
    width: 100%;
  }

  .context-facts {
    grid-template-columns: 1fr 1fr;
  }

  .context-facts > div + div {
    border-left: 0;
  }

  .context-facts > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .context-facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .workspace-content {
    padding: 27px 23px;
    grid-template-columns: 1fr;
  }

  .subscriber-console-heading,
  .workflow-page-heading {
    padding-left: 0;
    padding-right: 0;
    align-items: stretch;
    flex-direction: column;
  }

  .subscriber-console-heading {
    padding: 23px;
  }

  .subscriber-console-heading .button {
    width: 100%;
  }

  .console-metrics > div {
    padding: 17px;
  }

  .tender-portfolio > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tender-row {
    padding: 19px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .tender-reference,
  .tender-title,
  .tender-meta,
  .tender-state {
    grid-column: 1 / -1;
  }

  .tender-row > .button {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .workflow-page-heading .back-button {
    margin-bottom: 20px;
  }

  .workflow-page-heading .preview-status {
    align-self: flex-start;
  }

  .intake-progress li {
    padding: 13px 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
  }

  .intake-progress li > span {
    width: 28px;
    height: 28px;
  }

  .intake-progress small {
    display: none;
  }

  .intake-card,
  .case-panel {
    padding: 22px;
  }

  .field-grid,
  .review-summary {
    grid-template-columns: 1fr;
  }

  .field-wide,
  .review-summary .review-files {
    grid-column: 1;
  }

  .review-summary > div:nth-child(even) {
    border-left: 0;
  }

  .review-summary > div + div {
    border-top: 1px solid var(--line);
  }

  .submission-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .intake-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .intake-actions .button {
    width: 100%;
  }

  .case-page-heading {
    align-items: flex-start;
  }

  .case-timeline li {
    grid-template-columns: 32px 1fr;
  }

  .case-timeline em {
    grid-column: 2;
  }

  .context-key {
    min-width: 0;
  }

  .auth-heading h1 {
    font-size: 2.35rem;
  }

  .trust-band {
    margin-bottom: 40px;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .trust-band > span {
    height: 1px;
  }

  footer {
    min-height: 195px;
    padding: 34px 24px;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.privacy-view {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 64px;
}

.privacy-page-heading {
  padding-top: 44px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
}

.privacy-main {
  display: grid;
  gap: 20px;
}

.privacy-panel,
.privacy-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
}

.privacy-panel {
  padding: 28px;
}

.privacy-panel-heading {
  padding-bottom: 17px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.privacy-panel-heading h2 {
  margin: 5px 0 0;
  font-size: 1.55rem;
}

.privacy-panel > p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-sidebar section {
  padding: 24px;
}

.privacy-sidebar section + section {
  border-top: 1px solid var(--line);
}

.privacy-sidebar p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-context {
  margin: 13px 0 0;
}

.privacy-context div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.privacy-context dt,
.privacy-context dd {
  margin: 0;
}

.privacy-context dt {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-context dd {
  margin-top: 5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.privacy-request-form {
  display: grid;
  gap: 10px;
}

.privacy-request-form select,
.privacy-request-form textarea {
  width: 100%;
  border: 1px solid var(--portal-line-strong, var(--line));
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

.privacy-request-guidance {
  margin: 2px 0 8px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.privacy-request-form .button,
#privacy-export {
  justify-self: start;
}

.privacy-history-panel {
  margin-top: 20px;
}

.privacy-request-list {
  display: grid;
  gap: 12px;
}

.privacy-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.privacy-request-card strong,
.privacy-request-card span,
.privacy-request-card small {
  display: block;
}

.privacy-request-card span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.privacy-request-card small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.privacy-status {
  align-self: start;
  padding: 7px 10px;
  border: 1px solid var(--portal-line-strong, var(--line));
  border-radius: 999px;
  color: var(--mint-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .privacy-view {
    width: min(100% - 28px, 1180px);
  }

  .privacy-panel {
    padding: 22px;
  }

  .privacy-request-card {
    grid-template-columns: 1fr;
  }
}

/* Branded public identity entry */
body.auth-active {
  --subscriber-auth-copy-size: 1.08rem;
  --ink: #111918;
  --muted: #46514f;
  --line: #cfd5d2;
  --paper: #ffffff;
  --canvas: #ffffff;
  --mint: #48dfc8;
  --mint-deep: #0b8c7b;
  color: var(--ink);
  background: #ffffff;
}

body.auth-active .site-shell {
  position: relative;
  min-height: max(100vh, 980px);
  grid-template-rows: 1fr auto;
  background: #ffffff;
}

body.auth-active .brand-header,
body.auth-active footer {
  display: none;
}

body.auth-active .main {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: clamp(50px, 7vh, 86px) 0 62px;
}

.auth-view {
  display: grid;
  justify-items: stretch;
}

.auth-welcome {
  margin: 0;
  color: #42ad67;
  font-size: clamp(.88rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}

.subscriber-auth-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 40px), 520px);
  transform: translate(-50%, -50%);
}

.auth-brand-lockup {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #050b0b;
  text-decoration: none;
}

.auth-brand-lockup .auth-brand-mark {
  width: 91px;
  height: auto;
  display: block;
  object-fit: contain;
}

.auth-brand-lockup span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: clamp(1.55rem, 2.6vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1;
}

.auth-brand-lockup em {
  color: #45dfc5;
  font-style: normal;
  font-weight: 650;
}

body.auth-active .auth-heading h1 {
  margin: 68px 0 28px;
  font-size: clamp(1.8rem, 3.4vw, 2.08rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  text-align: center;
}

body.auth-active .auth-form {
  margin-top: 0;
  display: grid;
  gap: 0;
}

body.auth-active .auth-form input {
  min-height: 52px;
  padding: 0 20px;
  color: #111918;
  background: #ffffff;
  border: 1px solid #aeb5b2;
  border-radius: 999px;
  font-size: var(--subscriber-auth-copy-size);
}

body.auth-active .auth-form input::placeholder {
  color: #303736;
  opacity: 1;
}

body.auth-active .auth-form input:focus-visible {
  border-color: #0b8c7b;
  box-shadow: 0 0 0 3px rgba(11, 140, 123, .13);
}

.subscriber-secret-stage { display: grid; }
.subscriber-secret-stage[hidden] { display: none; }
.subscriber-selected-identity {
  min-height: 38px;
  margin: 0 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #303938;
  font-size: .86rem;
}
.subscriber-selected-identity span { overflow-wrap: anywhere; }
.subscriber-selected-identity button {
  padding: 4px 0;
  border: 0;
  color: #087d6d;
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.password-recovery-row {
  margin: 9px 16px 0;
  display: flex;
  justify-content: flex-end;
}
.password-recovery-row .text-button {
  padding: 3px 0;
  font-size: .86rem;
  font-weight: 600;
}
.password-recovery-row .text-button:disabled { cursor: not-allowed; opacity: .55; }
.password-reset-status {
  min-height: 1.35em;
  margin: 3px 16px 0;
  color: #53605d;
  font-size: .82rem;
  line-height: 1.4;
  text-align: right;
}
.password-reset-status:empty { min-height: 0; margin-top: 0; }
.subscriber-challenge-copy {
  margin: 0 16px 12px;
  color: #303938;
  font-size: .9rem;
  line-height: 1.45;
  text-align: center;
}
.subscriber-code-entry {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
body.auth-active .subscriber-code-entry > input {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 0;
  border-radius: 12px;
  font-size: 1.42rem;
  font-weight: 650;
  line-height: 1;
  text-align: center;
}
body.auth-active .auth-form .button-primary[data-busy="true"]::after {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, .48);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: subscriber-auth-spin .7s linear infinite;
}
@keyframes subscriber-auth-spin { to { transform: rotate(360deg); } }

.auth-field-help {
  margin: 5px 16px 0;
  color: #303938;
  font-size: .86rem;
  line-height: 1.4;
}

body.auth-active .field-error {
  margin: 7px 16px 0;
  font-size: .8rem;
}

body.auth-active .auth-form .button-primary {
  min-height: 54px;
  margin-top: 27px;
  color: #ffffff;
  background: #48dfc8;
  border-color: #48dfc8;
  border-radius: 999px;
  font-size: var(--subscriber-auth-copy-size);
  font-weight: 600;
}

body.auth-active .auth-form .button-primary:hover {
  background: #39ceb8;
  border-color: #39ceb8;
}

body.auth-active .connection-note {
  min-height: 18px;
  margin: 7px 0 0;
  color: #596562;
  font-size: .78rem;
}

body.auth-active .account-switch {
  margin: 11px 0 24px;
  font-size: .86rem;
}

body.auth-active .text-button {
  color: #297dcf;
  font-weight: 500;
}

body.auth-active .divider {
  margin: 0 0 24px;
  gap: 20px;
  color: #949b99;
  font-size: .92rem;
  font-weight: 800;
}

body.auth-active .provider-list {
  display: grid;
  gap: 14px;
}

body.auth-active .provider-list .provider-button {
  min-height: 52px;
  color: #111918;
  background: #ffffff;
  border: 1px solid #aeb5b2;
  border-radius: 999px;
  font-size: var(--subscriber-auth-copy-size);
  font-weight: 500;
}

body.auth-active .provider-list .provider-icon {
  position: static;
  left: auto;
}

body.auth-active .provider-list .provider-button:hover {
  border-color: #6f7d79;
  background: #f8faf9;
}

.identity-provider-note {
  margin: 27px 0 0;
  color: #384340;
  font-size: .82rem;
  line-height: 1.5;
  text-align: center;
}

body.auth-active .trust-band {
  width: min(1050px, calc(100% - 48px));
  margin: 0 auto 46px;
  padding: 0 20px;
  color: #3f4a48;
  background: transparent;
  border: 0;
  gap: 40px;
}

body.auth-active .trust-band p {
  font-size: var(--subscriber-auth-copy-size);
  line-height: 1.5;
}

body.auth-active .trust-band strong {
  color: #111918;
}

@media (max-width: 680px) {
  body.auth-active {
    --subscriber-auth-copy-size: 1rem;
  }

  body.auth-active .main {
    width: min(100% - 28px, 520px);
    padding-top: 34px;
  }

  body.auth-active .site-shell {
    min-height: 100vh;
  }

  .auth-welcome {
    margin-bottom: 0;
  }

  .subscriber-auth-card {
    position: static;
    width: 100%;
    margin-top: 56px;
    transform: none;
  }

  .auth-brand-lockup .auth-brand-mark {
    width: 82px;
    height: auto;
  }

  body.auth-active .auth-heading h1 {
    margin-top: 48px;
    font-size: 1.8rem;
  }

  body.auth-active .trust-band {
    width: min(100% - 28px, 520px);
    margin-bottom: 30px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  body.auth-active .trust-band > span {
    width: 100%;
    height: 1px;
  }
}

/* Unified signed-in application shell */
body.has-session {
  --portal-type-page-title: clamp(1.65rem, 3vw, 2.45rem);
  --portal-type-section-title: clamp(1.45rem, 2vw, 1.8rem);
  --portal-type-subheading: 1.02rem;
  --portal-type-body: 1rem;
  --portal-type-row-title: .92rem;
  --portal-type-control: .9rem;
  --portal-type-meta: .82rem;
  --portal-type-label: .76rem;
  scrollbar-gutter: stable;
}

body.has-session .brand-header {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 92px;
  padding: 12px clamp(20px, 2.6vw, 44px);
  gap: 16px;
  justify-content: flex-start;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

body.has-session .header-end {
  width: 100%;
  min-width: 0;
  margin-left: auto;
  gap: clamp(9px, 1.2vw, 18px);
  justify-content: flex-end;
}

body.has-session .header-context {
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  gap: 7px;
}

body.has-session .context-field {
  min-width: 126px;
}

body.has-session .context-field:last-of-type {
  min-width: 172px;
  max-width: 215px;
}

body.has-session .context-field select,
body.has-session .context-field strong {
  min-height: 44px;
  font-size: var(--portal-type-control);
}

body.has-session .context-switch {
  min-height: 44px;
  font-size: var(--portal-type-control);
}

.subscriber-utility-nav {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.2vw, 20px);
  white-space: nowrap;
}

.subscriber-utility-nav a {
  color: var(--muted);
  font-size: var(--portal-type-control);
  font-weight: 700;
  text-decoration: none;
}

.subscriber-utility-nav a:hover,
.subscriber-utility-nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notification-wrap {
  position: relative;
  flex: 0 0 auto;
}

.notification-button {
  width: 46px;
  height: 46px;
  padding: 0;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.notification-button:hover,
.notification-button[aria-expanded="true"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--muted) 18%, transparent);
}

.notification-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 36%, transparent);
  outline-offset: 2px;
}

.notification-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.notification-dot {
  width: 7px;
  height: 7px;
  position: absolute;
  top: 8px;
  right: 8px;
  background: #a06b18;
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.notification-panel {
  width: 250px;
  padding: 17px;
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.notification-panel strong {
  font-size: var(--portal-type-row-title);
}

.notification-panel p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: var(--portal-type-meta);
}

body.has-session .account-chip {
  min-height: 46px;
}

body.has-session .account-chip strong {
  font-size: var(--portal-type-control);
}

body.has-session .main,
body.has-session .main.main--workspace,
body.has-session .main.main--company {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px);
  font-size: var(--portal-type-body);
}

body.has-session .main > section:not([hidden]),
body.has-session .privacy-view {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.has-session .main h1 {
  font-size: var(--portal-type-page-title);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.has-session .main h2 {
  font-size: var(--portal-type-section-title);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

body.has-session .main h3,
body.has-session .main h4 {
  font-size: var(--portal-type-subheading);
  font-weight: 750;
  line-height: 1.3;
}

body.has-session .main p,
body.has-session .main li,
body.has-session .main dt,
body.has-session .main dd,
body.has-session .main label {
  font-size: var(--portal-type-body);
}

body.has-session .main :is(input, select, textarea, button, .button) {
  font-size: var(--portal-type-control);
}

body.has-session .main :is(.eyebrow, .preview-status, .status-pill, .privacy-status) {
  font-size: var(--portal-type-label);
}

body.has-session .main :is(small, .company-footnote, .workspace-meta span, .organization-heading > span) {
  font-size: var(--portal-type-meta);
}

body.has-session .main :is(.company-option strong, .workspace-primary strong, .tender-title strong, .report-package-card strong) {
  font-size: var(--portal-type-row-title);
}

body.auth-active .account-switch {
  font-size: var(--subscriber-auth-copy-size);
}

body.auth-active .auth-form .button-primary[data-feedback="success"] {
  color: #ffffff;
  background: #247a50;
  border-color: #247a50;
}

body.auth-active .auth-form .button-primary[data-feedback="error"] {
  color: #ffffff;
  background: #b33c35;
  border-color: #b33c35;
}

body.auth-active .auth-verification-feedback {
  min-height: 52px;
  display: grid;
  place-items: center;
  color: #247a50;
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1;
}

body.auth-active .auth-verification-feedback[hidden] { display: none; }
body.auth-active .auth-verification-feedback[data-tone="error"] { color: #b33c35; }

@media (max-width: 1500px) {
  body.has-session .brand-header {
    padding-inline: 20px;
  }

  body.has-session .header-end {
    gap: 9px;
  }

  .subscriber-utility-nav {
    gap: 11px;
  }
}

@media (max-width: 1180px) {
  body.has-session .header-context > :is(.context-field, .context-link, .context-switch) {
    display: none;
  }

  body.has-session .header-context .mobile-context:not([hidden]) {
    width: min(230px, 24vw);
    display: grid;
  }

  body.has-session .account-chip {
    padding-right: 5px;
  }

  body.has-session .account-chip strong,
  body.has-session .account-chip em {
    display: none;
  }
}

@media (max-width: 900px) {
  body.has-session .main,
  body.has-session .main.main--workspace,
  body.has-session .main.main--company {
    padding: 34px 26px 48px;
  }

  .subscriber-utility-nav a {
    font-size: .82rem;
  }
}

@media (max-width: 760px) {
  body.has-session .brand-header {
    position: sticky;
    gap: 8px;
  }

  body.has-session .header-end {
    width: auto;
    flex: 1;
  }

  body.has-session .header-context {
    display: none;
  }

  .subscriber-utility-nav a:nth-child(n + 2) {
    display: none;
  }

  body.has-session .main,
  body.has-session .main.main--workspace,
  body.has-session .main.main--company {
    padding: 28px 18px 42px;
  }
}

/* Final cascade guard: these parity rules intentionally follow legacy portal styles. */
body.has-session {
  --portal-type-page-title: clamp(1.65rem, 3vw, 2.45rem);
  --portal-type-section-title: clamp(1.25rem, 2vw, 1.8rem);
  --portal-type-subheading: 1.02rem;
  --portal-type-body: 17px;
  --portal-type-row-title: calc(.78rem + 2px);
  --portal-type-control: calc(.78rem + 2px);
  --portal-type-meta: calc(.69rem + 2px);
  --portal-type-label: calc(.72rem + 2px);
}

body.has-session .brand-header {
  min-height: 92px;
  padding: 20px clamp(24px, 4vw, 58px);
  gap: clamp(18px, 2.2vw, 36px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

body.has-session .header-end {
  width: auto;
  flex: 0 1 auto;
  gap: clamp(10px, 1.2vw, 18px);
}

body.has-session .header-context {
  padding: 7px;
  background: color-mix(in srgb, var(--canvas) 72%, var(--ink) 4%);
  border: 1px solid var(--portal-line-strong);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 75%, transparent);
}

body.has-session .subscriber-utility-nav a {
  font-size: var(--portal-type-control);
}

body.has-session .account-chip {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 5px;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

body.has-session .account-chip strong,
body.has-session .account-chip em {
  display: none;
}

body.has-session .main,
body.has-session .main.main--workspace,
body.has-session .main.main--company {
  padding: clamp(28px, 4vw, 54px);
  font-size: var(--portal-type-body);
  line-height: 1.58;
}

body.has-session .main :is(.eyebrow, .preview-status, .status-pill, .privacy-status, .scope-label) {
  font-size: var(--portal-type-label);
}

body.has-session .main :is(.workspace-heading h1, .active-hero h1, .company-heading h1, .workflow-page-heading h1) {
  font-size: var(--portal-type-page-title);
}

body.has-session .main :is(.subscriber-console-heading h2, .intake-card-heading h2, .case-panel-heading h2, .privacy-panel-heading h2) {
  font-size: var(--portal-type-section-title);
}

body.has-session .main :is(
  .workspace-heading > div:first-child > p:last-child,
  .active-hero > div:first-child > p:last-child,
  .company-heading > div:first-child > p:last-child,
  .workflow-page-heading > div > p:last-child,
  .subscriber-console-heading > div > p:last-child,
  .intake-card-heading > p:last-child,
  .case-copy,
  .privacy-panel > p
) {
  font-size: calc(var(--portal-type-body) + 2px);
  line-height: 1.58;
}

body.has-session .main :is(
  .company-option strong,
  .workspace-primary strong,
  .workspace-meta strong,
  .organization-heading strong,
  .tender-title strong,
  .tender-reference strong,
  .tender-meta strong,
  .case-timeline strong,
  .report-package-list a strong,
  .workflow-bridge strong,
  .isolation-seal strong
) {
  font-size: var(--portal-type-row-title);
}

body.has-session .main :is(
  small,
  .company-option span,
  .workspace-primary span,
  .workspace-meta span,
  .organization-heading span,
  .tender-title span,
  .tender-meta small,
  .tender-state small,
  .case-timeline small,
  .report-package-list a small,
  .console-metrics small,
  .workflow-bridge small,
  .isolation-seal small
) {
  font-size: var(--portal-type-meta);
}

body.auth-active .auth-form .button-primary[data-busy="true"]::after {
  display: none;
}

body.auth-active .connection-note:empty {
  min-height: 0;
  margin-top: 0;
}

@media (max-width: 1500px) {
  body.has-session .brand-header { padding-inline: 22px; }
}

@media (max-width: 760px) {
  body.has-session .header-end { width: auto; }
  body.has-session .main,
  body.has-session .main.main--workspace,
  body.has-session .main.main--company { padding: 28px 18px 42px; }
}

/* Consistent links and buttons in expanded and collapsed navigation. */
body.has-session .subscriber-nav .subscriber-nav-item { text-decoration:none; font-family:inherit; line-height:1.3; margin:0; }
body.has-session .subscriber-nav .subscriber-nav-item:hover { text-decoration:none; }
.subscriber-nav-divider { width:calc(100% - 16px); margin:8px auto; border:0; border-top:1px solid var(--line); }
body.has-session .subscriber-nav .subscriber-nav-item svg { height:19px; }

body.subscriber-sidebar-collapsed .sidebar-collapse {right:10px;}
html[data-theme=dark],html[data-theme=contrast] {color-scheme:dark;}
html[data-theme=light] {color-scheme:light;}
select option {background:var(--paper);color:var(--ink);}
a.account-menu-action {display:flex;align-items:center;text-decoration:none;}
.account-menu-action {color:var(--ink);}

/* Invitation entry shares the public sign-in design, with content-safe flow layout. */
body.invitation-page .site-shell { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.invitation-page .main { flex: 1; width: min(calc(100% - 40px), 1120px); padding: clamp(32px, 6vh, 64px) 0 48px; display: grid; }
body.invitation-page .auth-view { grid-template-rows: auto 1fr; gap: 36px; }
body.invitation-page .subscriber-auth-card { position: static; inset: auto; transform: none; width: min(100%, 520px); margin: 0 auto; align-self: center; padding: 20px 0; }
body.invitation-page .auth-heading h1 { margin: 42px 0 18px; }
.invitation-intro { margin: 0 0 24px; color: #46514f; line-height: 1.6; text-align: center; }
.invitation-feedback { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #cdded9; border-radius: 12px; color: #243b35; background: #f3f9f7; line-height: 1.55; overflow-wrap: anywhere; }
.invitation-feedback[data-state="error"] { color: #9b2525; border-color: #e9b6b6; background: #fff3f3; }
.invitation-feedback[data-state="success"] { color: #15563d; border-color: #acd9c5; background: #edf9f2; }
body.invitation-page .invitation-actions { display: grid; gap: 12px; }
body.invitation-page .pending-invitation { padding: 18px; border: 1px solid #aeb5b2; border-radius: 12px; text-align: left; }
body.invitation-page .pending-invitation h2 { margin: 0 0 10px; font-size: 20px; overflow-wrap: anywhere; }
body.invitation-page .pending-invitation p { margin: 0 0 16px; }
body.invitation-page .invitation-actions .button { width: 100%; min-height: 54px; margin: 0; border-radius: 999px; text-decoration: none; font-size: var(--subscriber-auth-copy-size); }
body.invitation-page .invitation-actions .button-primary { color: #102e29; }
body.invitation-page .invitation-actions .button-secondary { color: #111918; background: #fff; border: 1px solid #aeb5b2; }
body.invitation-page .invitation-actions .button-secondary:hover { background: #f8faf9; border-color: #6f7d79; }
body.invitation-page .invitation-actions :focus-visible { outline: 3px solid #087d6d; outline-offset: 4px; }
body.invitation-page .trust-band { margin-bottom: 32px; }
@media(max-width:680px) { body.invitation-page .main { width: calc(100% - 32px); padding: 28px 0 32px; } body.invitation-page .auth-view { gap: 24px; } body.invitation-page .subscriber-auth-card { padding: 8px 0; } body.invitation-page .auth-heading h1 { margin-top: 32px; } }

/* Keep controls and utility links aligned independently of page form styles. */
body.has-session .brand-header .header-context { align-items: flex-end; }
body.has-session .brand-header .context-field label { margin: 0 0 4px 3px; line-height: 1.2; }
body.has-session .brand-header .context-field :is(select,strong) { box-sizing: border-box; height: 44px; min-height: 44px; margin: 0; }
body.has-session .brand-header .context-switch { box-sizing: border-box; height: 44px; min-height: 44px; margin: 0; padding: 0 16px; align-self: flex-end; line-height: 1; }
body.has-session .brand-header .context-link { height: 44px; margin: 0; display: flex; align-items: center; }
body.has-session .brand-header .header-end { align-items: center; }
body.has-session .brand-header .subscriber-utility-nav { align-items: center; align-self: center; }
body.has-session .brand-header .subscriber-utility-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin: 0; padding-block: 0; line-height: 1.2; }

/* Keep browser autofill previews and focused identity text the same size. */
body.auth-active #subscriber-email,
body.auth-active #subscriber-email:focus,
body.auth-active #subscriber-email:-webkit-autofill,
body.auth-active #subscriber-email:autofill {
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
body.auth-active #subscriber-email::first-line {
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
@media(max-width:600px){
body.auth-active #subscriber-email, body.auth-active #subscriber-email:focus, body.auth-active #subscriber-email:-webkit-autofill, body.auth-active #subscriber-email:autofill, body.auth-active #subscriber-email::first-line {font-size:16px !important;}
}

#subscriber-registration-fields { display: grid; gap: 8px; margin-bottom: 16px; text-align: left; }
#subscriber-registration-fields[hidden] { display: none; }
#subscriber-registration-fields label { padding-left: 16px; font-size: .9rem; }
#subscriber-registration-fields input { width: 100%; margin-bottom: 8px; }
body.auth-active.auth-registration .subscriber-auth-card { position: static; inset: auto; transform: none; width: min(100%, 520px); margin: 48px auto 0; }
body.auth-active.auth-registration .auth-heading h1 { margin-top: 36px; }
body.auth-email-enrollment .subscriber-auth-card > :is(.account-switch, .divider, .provider-list, .identity-provider-note) { display: none; }
#subscriber-confirm-stage { margin-top: 16px; }
.password-guidance { margin: 8px 16px 0; font-size: .85rem; line-height: 1.5; }
.password-guidance[hidden] { display: none; }
.password-tip { position: relative; display: inline-block; }
#password-tip-button { padding: 2px 5px; border: 0; background: transparent; color: inherit; cursor: help; font-size: 1rem; }
#password-tip-button:focus-visible { outline: 2px solid #0b8c7b; border-radius: 4px; }
#password-tip-content { display: none; position: absolute; z-index: 10; bottom: 100%; right: 0; width: min(290px, 65vw); padding: 14px; border: 1px solid #aeb5b2; border-radius: 10px; background: #fff; color: #111918; box-shadow: 0 4px 18px #0002; font-size: .85rem; line-height: 1.5; }
.password-tip:hover #password-tip-content, .password-tip:focus-within #password-tip-content, .password-tip:has([aria-expanded="true"]) #password-tip-content { display: block; }
.password-guidance { position: relative; }
.password-tip { position: static; }
#password-tip-content { width: min(390px, calc(100vw - 64px)); text-align: left; }
#password-tip-content p { margin: 0 0 8px; font-size: inherit; line-height: 1.5; }
#password-tip-content p:last-child { margin-bottom: 0; }
#password-tip-content ul { margin: 0 0 10px; padding-left: 20px; list-style: disc; }
#password-tip-content li { margin: 3px 0; }

/* Organization setup shares the centered authentication branding. */
body.onboarding-active .brand-header { display: none; }
body.onboarding-active .main { padding-top: 48px; }
.onboarding-brand { margin-bottom: 32px; color: var(--ink); }
.onboarding-view .back-button { margin-bottom: 20px; }
#onboarding-title:focus { outline: none; }
.setup-services { min-width: 0; margin: 16px 0 20px; padding: 18px 18px 22px; border: 1px solid var(--muted); }
.setup-services legend { padding: 0 6px; font-size: 18px; font-weight: 400; }
.setup-form .setup-service { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 16px; margin: 8px 0 28px; cursor: pointer; }
.setup-form .setup-service:last-child { margin-bottom: 0; }
.setup-service input { width: 26px; height: 26px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--mint-deep); cursor: pointer; }
.setup-service strong { display: block; font-size: 22px; line-height: 1.25; }
.setup-service small { display: block; margin-top: 6px; font-size: 16px; font-weight: 400; line-height: 1.5; }
@media (max-width: 480px) { .setup-services { padding-inline: 14px; } .setup-form .setup-service { gap: 12px; } }

.onboarding-logo-badge { display: grid; place-items: center; padding: 10px 12px; background: #ddd; border-radius: 10px; isolation: isolate; }
.onboarding-logo-badge .auth-brand-mark { mix-blend-mode: multiply; }
#status-dialog .button-primary { color: #fff; background: #087f70; border-color: #087f70; }
#status-dialog .button-primary:hover { color: #fff; background: #066658; border-color: #066658; }

.organization-name-editor { margin-bottom: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; }
.organization-name-editor summary { cursor: pointer; font-weight: 700; }
.organization-name-editor form { display: grid; gap: 12px; max-width: 520px; margin-top: 18px; }
.organization-name-editor input { width: 100%; box-sizing: border-box; }
.organization-name-editor [role=status]:empty { display: none; }

/* Highlight each membership without moving the row or changing its click target. */
.organization-group .workspace-row { transition: background-color 150ms ease, box-shadow 150ms ease; }
.organization-group .workspace-row:hover,
.organization-group .workspace-row:focus-within { background-color: var(--hover, #e8f1ed); box-shadow: inset 3px 0 var(--accent, #087f70); }
@media (prefers-reduced-motion: reduce) { .organization-group .workspace-row { transition: none; } }

/* Shared close placement for every application dialog. */
dialog .dialog-close { position:absolute; top:10px; right:12px; width:32px; height:32px; padding:0; display:grid; place-items:center; border-radius:7px; }
dialog .dialog-heading-row, dialog .dialog-card > h2 { padding-right:32px; }

.membership-account-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }

/* Console footer matches Ops across all App pages and themes. */
.site-shell > footer.console-footer{width:100%;max-width:none;min-height:76px;margin:auto 0 0;padding:20px clamp(28px,4vw,54px);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.1);background:#0d1b1c;color:#fff;font-size:calc(.72rem + 2px);text-align:left}
.site-shell > footer.console-footer p{margin:0;max-width:none;color:#fff;font-size:inherit;line-height:1.6;text-align:left}
.site-shell > footer.console-footer nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;flex-shrink:0}
.site-shell > footer.console-footer a{color:#fff;font-size:inherit;font-weight:700;text-underline-offset:3px;white-space:nowrap}
.site-shell > footer.console-footer a:hover{color:#83e3ce}
.site-shell > footer.console-footer a:focus-visible{outline:2px solid #83e3ce;outline-offset:3px}
@media(max-width:1000px){.site-shell > footer.console-footer{flex-wrap:wrap}.site-shell > footer.console-footer nav{justify-content:flex-start}}

body.auth-active .site-shell > footer.console-footer{display:none}

.invitation-seat-costs{border:2px solid var(--mint-deep, #087f73);border-radius:8px;padding:18px;margin:20px 0;background:var(--paper, #fff);max-width:800px}.invitation-seat-costs h4{margin-top:0}.invitation-seat-costs [role="status"]{font-weight:700;line-height:1.6}

body.invitation-account-auth .account-switch,body.invitation-account-auth #subscriber-change-email{display:none!important}body.invitation-account-password .subscriber-auth-card > .divider{display:grid;margin-top:20px}body.invitation-account-password .subscriber-auth-card > .provider-list{display:grid}body.invitation-account-password .subscriber-auth-card > .identity-provider-note{display:block}
