@font-face {
  font-family: "Oasis Song SC";
  src: url("/assets/fonts/OasisSongSC-Regular.subset.woff2?v=20260723-font1") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: block;
}

@font-face {
  font-family: "Oasis Song SC";
  src: url("/assets/fonts/OasisSongSC-SemiBold.subset.woff2?v=20260723-font1") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: "Oasis Song SC";
  src: url("/assets/fonts/OasisSongSC-Black.subset.woff2?v=20260723-font1") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: block;
}

:root {
  --oasis-ink: #0f172a;
  --oasis-ink-soft: #334155;
  --oasis-muted: #64748b;
  --oasis-line: #e2e8f0;
  --oasis-canvas: #f8faff;
  --oasis-surface: #ffffff;
  --oasis-green: #2563eb;
  --oasis-green-dark: #1d4ed8;
  --oasis-green-soft: #eff6ff;
  --navy: var(--oasis-ink);
  --blue: var(--oasis-green);
  --blue2: var(--oasis-green-soft);
  --green: var(--oasis-green);
  --green2: #dbeafe;
  --amber: #b45309;
  --amber2: #fffbeb;
  --red: #be123c;
  --red2: #fff1f2;
  --ink: var(--oasis-ink);
  --muted: var(--oasis-muted);
  --line: var(--oasis-line);
  --bg: var(--oasis-canvas);
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  --control-font-size: 13px;
  --control-label-size: 11px;
  --oasis-font-sans: "Oasis Song SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--oasis-canvas);
}

body,
button,
input,
select,
textarea {
  font-family: var(--oasis-font-sans);
}

body {
  margin: 0;
  color: var(--oasis-ink);
  background: var(--oasis-canvas);
  letter-spacing: 0.01em;
  font-synthesis: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--oasis-green-dark);
  background: rgba(37, 99, 235, 0.16);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.24);
  border-radius: 999px;
}

.site-header,
.top.oasis-header,
.admin-global-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1280px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.oasis-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  color: var(--oasis-ink);
  text-decoration: none;
  justify-self: start;
}

.oasis-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--oasis-ink);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.13);
  font-size: 18px;
  font-weight: 900;
}

.oasis-mark::after {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  content: "";
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 99px;
}

.brand-eyebrow,
.eyebrow {
  margin: 0;
  color: var(--oasis-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.oasis-brand strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.oasis-brand strong span {
  color: var(--oasis-green);
}

.global-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  background: rgba(241, 245, 249, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 13px;
  justify-self: center;
}

.global-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: var(--oasis-muted);
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: 160ms ease;
}

.global-tabs a > span:first-child {
  display: inline-grid;
  width: 15px;
  place-items: center;
  color: currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  opacity: 0.72;
}

.global-tabs a:hover {
  color: var(--oasis-ink);
  background: rgba(255, 255, 255, 0.7);
}

.global-tabs a.active-home {
  color: var(--oasis-green);
  background: #fff;
  border-color: rgba(226, 232, 240, 0.7);
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.06);
}

.global-tabs a.active-portal {
  color: #fff;
  background: var(--oasis-green);
  box-shadow: 0 5px 13px rgba(37, 99, 235, 0.18);
}

.global-tabs a.active-admin {
  color: #fff;
  background: var(--oasis-ink);
  box-shadow: 0 5px 13px rgba(15, 23, 42, 0.16);
}

.header-meta,
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-meta {
  justify-self: end;
}

.header-chip {
  padding: 7px 10px;
  color: var(--oasis-green-dark);
  background: var(--oasis-green-soft);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.lang {
  padding: 3px;
  background: #fff;
  border: 1px solid var(--oasis-line);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.lang button {
  padding: 6px 9px;
  color: var(--oasis-muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.lang button.active {
  color: #fff;
  background: var(--oasis-ink);
}

.landing-main {
  overflow: hidden;
}

.landing-hero {
  position: relative;
  border-bottom: 1px solid var(--oasis-line);
  background: #fff;
}

.landing-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--oasis-green);
}

.landing-hero-inner,
.landing-content {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.9fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding: 80px 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--oasis-green-dark);
  background: var(--oasis-green-soft);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.landing-title {
  max-width: 760px;
  margin: 20px 0 16px;
  color: var(--oasis-ink);
  font-size: clamp(40px, 5.3vw, 70px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.landing-title > span {
  display: block;
}

.landing-title em {
  color: var(--oasis-green);
  font-style: normal;
}

.landing-copy,
.section-copy {
  max-width: none;
  color: var(--oasis-ink-soft);
  font-size: 16px;
  line-height: 1.82;
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.action-link,
.btn,
.btn.primary,
.btn.success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 15px;
  color: var(--oasis-ink);
  background: #fff;
  border: 1px solid var(--oasis-line);
  border-radius: 9px;
  box-shadow: none;
  font-size: var(--control-label-size);
  font-weight: 900;
  text-decoration: none;
  transition: 150ms ease;
}

.action-link:hover,
.btn:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.action-link.primary,
.btn.primary,
.btn.success {
  color: #fff;
  background: var(--oasis-green);
  border-color: var(--oasis-green);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.16);
}

.action-link.dark {
  color: #fff;
  background: var(--oasis-ink);
  border-color: var(--oasis-ink);
}

.action-link.primary:hover,
.btn.primary:hover,
.btn.success:hover {
  background: var(--oasis-green-dark);
  border-color: var(--oasis-green-dark);
}

.action-link.small,
.btn.small {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.hero-stat {
  padding: 15px;
  background: #f8fafc;
  border: 1px solid var(--oasis-line);
  border-radius: 12px;
}

.hero-stat strong {
  display: block;
  color: var(--oasis-ink);
  font-size: 19px;
  font-weight: 900;
}

.hero-stat span {
  display: block;
  margin-top: 3px;
  color: var(--oasis-muted);
  font-size: 11px;
  line-height: 1.5;
}

.workflow-panel {
  padding: 26px;
  color: #fff;
  background: var(--oasis-ink);
  border: 1px solid #1e293b;
  border-radius: 18px;
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.18);
}

.workflow-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-panel h3 {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.workflow-panel .eyebrow {
  color: #93c5fd;
}

.live-chip {
  padding: 5px 8px;
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.workflow-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.workflow-item {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
}

.workflow-step {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.workflow-item b {
  display: block;
  font-size: 13px;
}

.workflow-item > div > span {
  display: block;
  margin-top: 3px;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.5;
}

.landing-content {
  padding: 68px 0 82px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading .eyebrow {
  color: var(--oasis-green);
}

.section-heading h2 {
  margin: 8px 0 10px;
  color: var(--oasis-ink);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.feature-cards,
.solution-cards,
.value-cards {
  display: grid;
  gap: 16px;
}

.feature-cards {
  grid-template-columns: repeat(3, 1fr);
}

.solution-cards {
  grid-template-columns: repeat(3, 1fr);
}

.value-cards {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.solution-card,
.value-card,
.card {
  background: #fff;
  border: 1px solid var(--oasis-line);
  border-radius: 16px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.025);
}

.feature-card {
  padding: 22px;
}

.feature-card .card-icon,
.solution-card .card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--oasis-green);
  background: var(--oasis-green-soft);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
}

.feature-card h3,
.solution-card h3,
.value-card h3 {
  margin: 16px 0 7px;
  color: var(--oasis-ink);
  font-size: 16px;
  font-weight: 900;
}

.feature-card p,
.solution-card p,
.value-card p {
  margin: 0;
  color: var(--oasis-muted);
  font-size: 12px;
  line-height: 1.7;
}

.solution-section {
  margin-top: 96px;
}

.retention-section {
  margin-top: 96px;
}

.solution-card {
  padding: 22px;
  background: #fff;
  border-radius: 16px;
}

.solution-card h3 {
  margin: 16px 0 7px;
  font-size: 16px;
}

.landing-footer {
  padding: 22px 24px;
  color: var(--oasis-muted);
  background: #fff;
  border-top: 1px solid var(--oasis-line);
  font-size: 12px;
  text-align: center;
}

.top.oasis-header {
  height: auto;
  background: rgba(255, 255, 255, 0.92);
}

.top.oasis-header .logo,
.admin-global-header .logo {
  display: contents;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 56px max(24px, calc((100vw - 1160px) / 2));
  background: #fff;
}

.hero > div:first-child {
  max-width: 620px;
}

.hero h2,
.admin-login h2 {
  color: var(--oasis-ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.hero p {
  color: var(--oasis-ink-soft);
}

.feature-grid .feature {
  padding: 14px;
  background: #f8fafc;
  border-color: var(--oasis-line);
  border-radius: 12px;
}

.feature b {
  color: var(--oasis-ink);
}

.tabs {
  gap: 3px;
  padding: 5px;
  background: #f1f5f9;
  border-bottom: 0;
}

.tabs button {
  color: var(--oasis-muted);
  border: 0;
  border-radius: 8px;
  font-size: 12px;
}

.tabs button.active {
  color: var(--oasis-green);
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.06);
}

.panel {
  padding: 26px;
}

.panel h3 {
  margin-top: 0;
  color: var(--oasis-ink);
  font-size: 19px;
  font-weight: 900;
}

.card {
  padding: 20px;
}

.field label {
  color: var(--oasis-ink-soft);
  font-size: var(--control-label-size);
  font-weight: 900;
}

.field input,
.field select,
.field textarea,
.toolbar input,
.toolbar select {
  color: var(--oasis-ink);
  background: #fff;
  border-color: #cbd5e1;
  border-radius: 8px;
  font-size: var(--control-font-size);
  outline: none;
  transition: 150ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: var(--oasis-green);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.notice {
  color: #854d0e;
  background: #fffbeb;
  border-color: #fde68a;
  border-radius: 10px;
}

.shell,
.admin-shell {
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar,
.admin-side {
  background: var(--oasis-ink);
}

.side-head {
  padding: 24px;
}

.sidebar .logo-mark,
.admin-side .logo-mark {
  background: var(--oasis-green);
}

.sidebar .logo h1,
.admin-side .logo h1 {
  font-size: 17px;
  font-weight: 900;
}

.sidebar .logo p,
.admin-side .logo p {
  color: #94a3b8;
}

.orgbox {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.nav {
  padding: 12px;
}

.nav button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 11px 12px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}

.nav-icon {
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #bfdbfe;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1;
}

.nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav button.active,
.nav button:hover,
.admin-side .nav button.active,
.admin-side .nav button:hover {
  color: #fff;
  background: var(--oasis-green);
}

.bar {
  height: 78px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.94);
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 12px;
  color: var(--oasis-ink);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.user-menu-name {
  display: block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 18px;
}

.user-menu-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: -3px 2px 0 2px;
  border-right: 1.5px solid var(--oasis-muted);
  border-bottom: 1.5px solid var(--oasis-muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.user-menu-trigger[aria-expanded="true"] .user-menu-caret {
  margin-top: 3px;
  transform: rotate(225deg);
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 210px;
  padding: 7px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.user-menu-panel[hidden] {
  display: none;
}

.user-menu-identity {
  display: grid;
  gap: 3px;
  padding: 8px 9px 10px;
  border-bottom: 1px solid #e5e7eb;
}

.user-menu-identity b {
  overflow: hidden;
  color: var(--oasis-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-identity span {
  overflow: hidden;
  color: var(--oasis-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-item {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  padding: 7px 9px;
  color: var(--oasis-ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}

.user-menu-item:hover {
  background: #f3f4f6;
}

.user-menu-item--danger {
  color: #be123c;
}

.user-menu-separator {
  height: 1px;
  margin: 5px 0;
  background: #e5e7eb;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.bar h2,
.pagehead h2 {
  color: var(--oasis-ink);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.content {
  padding: 28px;
}

.pagehead p {
  color: var(--oasis-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.grid4,
.grid3,
.grid2 {
  gap: 16px;
}

.big {
  color: var(--oasis-ink);
  font-weight: 900;
}

.metric {
  color: var(--oasis-ink-soft);
  border-color: #f1f5f9;
}

.tablewrap {
  border-color: var(--oasis-line);
  border-radius: 13px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.025);
}

th {
  color: var(--oasis-muted);
  background: #f8fafc;
}

td {
  border-color: #f1f5f9;
}

.code {
  color: var(--oasis-ink);
}

.audit-item.active,
.audit-item:hover {
  background: #f8fafc;
}

.requirement {
  background: #fff;
  border-left: 0;
}

.status-grid button.active {
  color: var(--oasis-ink);
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Keep the audit workspace neutral; blue remains reserved for navigation and actions. */
:is(.shell, .admin-shell) .workspace,
:is(.shell, .admin-shell) .content,
:is(.shell, .admin-shell) .view {
  background: #fff;
}

:is(.shell, .admin-shell) .content {
  min-height: calc(100vh - 78px);
  padding: 34px clamp(24px, 4vw, 64px) 56px;
}

:is(.shell, .admin-shell) .view {
  width: min(100%, 1240px);
  margin: 0 auto;
}

:is(.shell, .admin-shell) .pagehead {
  margin-bottom: 24px;
}

:is(.shell, .admin-shell) .grid4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

:is(.shell, .admin-shell) .grid2 {
  width: min(100%, 960px);
  margin: 20px auto 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:is(.shell, .admin-shell) .toolbar {
  width: min(100%, 1120px);
  margin: 0 auto 18px;
}

:is(.shell, .admin-shell) .tablewrap {
  width: 100%;
  margin: 0 auto;
}

:is(.shell, .admin-shell) .tablewrap table {
  min-width: 780px;
}

.shell #st .tablewrap th {
  padding: 13px 12px;
  color: var(--oasis-ink);
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
}

.shell #st .tablewrap td {
  vertical-align: middle;
}

.shell #st .tablewrap td:nth-child(1),
.shell #st .tablewrap td:nth-child(2),
.shell #st .tablewrap td:nth-child(3),
.shell #st .tablewrap td:nth-child(5),
.shell #st .tablewrap td:nth-child(6) {
  text-align: center;
}

.shell #vGap .tablewrap th,
.shell #vGap .tablewrap td,
.shell #vCapa .tablewrap th,
.shell #vCapa .tablewrap td {
  text-align: center;
  vertical-align: middle;
}

.shell .audit-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  width: min(100%, 1240px);
  margin: 0 auto;
  gap: 32px;
  align-items: start;
}

.shell .audit-list {
  position: sticky;
  top: 98px;
  height: calc(100vh - 188px);
  height: calc(100dvh - 188px);
  padding: 14px;
  overflow: auto;
  color: #172033;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.shell .card,
.shell .tablewrap,
.shell .toolbar {
  border-color: #e5e7eb;
}

.audit-directory-head {
  display: grid;
  gap: 6px;
  padding: 15px 14px 19px;
  color: #172033;
  border-bottom: 1px solid #dbeafe;
}

.audit-directory-head span {
  color: #1e3a5f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.audit-directory-head b {
  font-size: 17px;
}

.audit-directory-head small {
  color: #475569;
  font-size: 11px;
}

.audit-chapter {
  margin-top: 4px;
}

.audit-chapter:last-child {
  border-bottom: 0;
}

.audit-chapter-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 13px 11px;
  color: #172033;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.audit-chapter-trigger:hover,
.audit-chapter.is-open .audit-chapter-trigger {
  background: #eaf2ff;
}

.audit-chapter-code {
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.audit-chapter-title {
  overflow: hidden;
  color: #334155;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-chapter-progress {
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.audit-chapter-caret {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #1e3a5f;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1;
}

.audit-requirement-list {
  display: grid;
  gap: 4px;
  padding: 7px 0 10px 15px;
}

.audit-requirement-list[hidden] {
  display: none;
}

.audit-item {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 10px;
  color: #334155;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
}

.audit-item.active {
  color: #172033;
  background: #dbeafe;
}

.audit-item:hover {
  color: #172033;
  background: #eaf2ff;
}

.audit-item-code {
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.audit-item .badge {
  grid-column: 3;
  justify-self: end;
  color: #1e3a5f;
  background: #e2e8f0;
  padding: 4px 7px;
  font-size: 10px;
}

.audit-item.active .badge {
  color: #172033;
  background: #bfdbfe;
}

.shell .audit-list .audit-item.active,
.shell .audit-list .audit-item:hover {
  color: #172033;
  background: #dbeafe;
}

.shell .audit-list .audit-item:hover:not(.active) {
  background: #eaf2ff;
}

.shell .audit-form {
  width: min(100%, 760px);
  min-height: 560px;
  margin: 0 auto;
  border-color: #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.audit-standard-head,
.audit-evaluation {
  padding: 24px 28px !important;
}

.audit-standard-head {
  border-bottom: 1px solid #e2e8f0;
}

.audit-standard-head h3 {
  margin: 7px 0 0;
  color: var(--oasis-ink);
  font-size: 19px;
}

.audit-standard-summary {
  margin: 11px 0 0;
  color: var(--oasis-ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.audit-requirement-section {
  padding: 24px 28px;
  border-bottom: 1px solid #e2e8f0;
}

.audit-requirement-en {
  color: var(--oasis-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.8;
}

.audit-requirement-zh {
  margin-top: 18px;
  padding-top: 18px;
  color: var(--oasis-ink-soft);
  border-top: 1px solid #eef2f7;
  font-size: 13px;
  line-height: 1.8;
}

.shell .requirement,
.shell .requirement .en {
  color: var(--oasis-ink-soft);
  background: #fff;
  border-left: 0;
}

.shell .badge {
  color: var(--oasis-ink);
  background: #f3f4f6;
}

.shell .audit-list .audit-item .badge {
  color: #1e3a5f;
  background: #e2e8f0;
}

.shell .audit-list .audit-item.active .badge {
  color: #172033;
  background: #bfdbfe;
}

@media (max-width: 980px) {
  .shell .content {
    padding: 24px;
  }

  .shell .grid2 {
    width: 100%;
  }

  .shell .audit-layout {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shell .audit-list {
    position: static;
    height: 380px;
  }

  .shell .audit-form {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .shell .content {
    padding: 20px 14px 36px;
  }

  .shell .view,
  .shell .toolbar,
  .shell .grid2 {
    width: 100%;
  }

  .shell .grid4,
  .shell .grid2 {
    grid-template-columns: 1fr;
  }

  .shell .tablewrap table {
    min-width: 680px;
  }

  .shell .audit-list {
    height: 320px;
  }

  .audit-standard-head,
  .audit-evaluation,
  .audit-requirement-section {
    padding: 20px !important;
  }
}

.modal {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(3px);
}

.modal-card {
  border-radius: 16px;
  box-shadow: 0 30px 72px rgba(15, 23, 42, 0.24);
}

.modal-head {
  border-color: var(--oasis-line);
}

.toast {
  background: var(--oasis-ink);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.admin-login,
.applicant-login {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 5vw;
  min-height: calc(100vh - 76px);
  padding: 64px max(24px, calc((100vw - 1120px) / 2));
  background: #fff;
}

.admin-bg {
  background: var(--oasis-canvas);
}

.admin-shell .admin-side {
  top: 0;
  height: 100vh;
}

.admin-shell .content {
  min-height: calc(100vh - 78px);
}

.admin-shell .tablewrap th {
  padding: 13px 12px;
  color: var(--oasis-ink);
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
}

.admin-shell .tablewrap td {
  vertical-align: middle;
}

.admin-shell .tablewrap th:last-child,
.admin-shell .tablewrap td:last-child,
.admin-shell .tablewrap th:nth-child(4),
.admin-shell .tablewrap td:nth-child(4) {
  text-align: center;
}

/* Administrative application and organization lists use a fully centered grid. */
.admin-shell #vApplications .tablewrap th,
.admin-shell #vApplications .tablewrap td,
.admin-shell #vOrganizations .tablewrap th,
.admin-shell #vOrganizations .tablewrap td {
  text-align: center;
  vertical-align: middle;
}

/* Keep the audit trail dense and scannable while preserving the operator identity color. */
.admin-shell #vLogs .tablewrap th,
.admin-shell #vLogs .tablewrap td {
  text-align: center;
  vertical-align: middle;
}

.admin-shell #vLogs .tablewrap th,
.admin-shell #vLogs .tablewrap td:not(:nth-child(2)) {
  color: #111827;
}

.admin-login > div:first-child,
.applicant-login > div:first-child {
  max-width: 580px;
}

.admin-login .logo-mark {
  background: var(--oasis-ink);
}

.admin-login .card,
.applicant-login .card {
  padding: 28px;
  border-radius: 16px;
}

.applicant-login h2 {
  margin: 10px 0 14px;
  color: var(--oasis-ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.applicant-login .notice {
  margin-top: 24px;
}

.data-retention-login-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 15px;
  color: #16324f;
  background: #f3f8fd;
  border: 1px solid #cfe0f1;
  border-radius: 10px;
}

.data-retention-login-note > span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--oasis-ink);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.data-retention-login-note b {
  display: block;
  font-size: 13px;
}

.data-retention-login-note p {
  margin: 4px 0 0;
  color: #526b82;
  font-size: 12px;
  line-height: 1.65;
}

.retention-modal-intro {
  margin: 0;
  color: #526b82;
  font-size: 14px;
  line-height: 1.75;
}

.retention-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.applicant-login .notice a,
.applicant-application-link {
  color: var(--oasis-green);
  font-weight: 900;
  text-decoration: none;
}

.applicant-application-link {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.audit-item .badge {
  min-height: 20px;
  padding: 0 7px;
}

@media (max-width: 980px) {
  .site-header,
  .top.oasis-header,
  .admin-global-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
  }

  .oasis-brand {
    min-width: auto;
  }

  .global-tabs {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-shell .admin-side {
    position: static;
    height: auto;
  }

  .landing-hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .home-application-inner,
  .applicant-login {
    grid-template-columns: 1fr;
  }

  .feature-cards,
  .solution-cards {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .site-header,
  .top.oasis-header,
  .admin-global-header {
    padding: 10px 14px;
  }

  .global-tabs {
    width: 100%;
  }

  .global-tabs a {
    flex: 1;
    justify-content: center;
    padding: 9px 7px;
    font-size: 11px;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }

  .global-tabs a span {
    display: none;
  }

  .header-chip {
    display: none;
  }

  .landing-hero-inner,
  .landing-content,
  .home-application-inner {
    width: min(100% - 28px, 1280px);
  }

  .landing-title {
    font-size: 39px;
  }

  .hero-stat-grid,
  .feature-cards,
  .solution-cards,
  .value-cards {
    grid-template-columns: 1fr;
  }

  .home-application {
    padding: 56px 0;
  }

  .home-application-form {
    padding: 22px 18px;
  }

  .home-application-form .form-grid {
    grid-template-columns: 1fr;
  }

  .home-application-form .full {
    grid-column: auto;
  }

  .hero {
    padding: 36px 16px;
  }

  .shell,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .admin-side {
    display: none;
  }

  .content {
    padding: 18px 12px;
  }
}

/* Public organization application lives on the product home page. */
.home-application {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--oasis-line);
}

.home-application-inner {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.home-application-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.home-application-copy .eyebrow {
  color: var(--oasis-green);
}

.home-application-copy h2 {
  margin: 9px 0 13px;
  color: var(--oasis-ink);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.home-application-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--oasis-ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.home-application-note {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 14px 16px;
  color: var(--oasis-green-dark);
  background: var(--oasis-green-soft);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.65;
}

.home-application-form {
  width: 100%;
  margin: 34px auto 0;
  padding: 28px 30px;
  border-radius: 16px;
}

.form-required-note {
  margin: 0 0 22px;
  color: var(--oasis-muted);
  font-size: 11px;
  text-align: left;
}

.form-required-note em {
  color: #e11d48;
  font-style: normal;
}

.home-application-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-application-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.home-application-form .full {
  grid-column: 1 / -1;
}

.home-application-form .field label em {
  margin-left: 3px;
  color: #e11d48;
  font-size: 12px;
  font-style: normal;
}

.home-application-form .field input:not([type="file"]),
.home-application-form .field select,
.home-application-form .field textarea {
  min-height: 44px;
  padding: 11px 12px;
  color: var(--oasis-ink);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
  font-size: var(--control-font-size);
}

.home-application-form .field textarea {
  min-height: 96px;
  line-height: 1.6;
}

.home-application-form .field input:not([type="file"]),
.home-application-form .field select,
.home-application-form .field textarea {
  box-sizing: border-box;
  width: 100%;
}

.home-application-form .field input:not([type="file"]):hover,
.home-application-form .field select:hover,
.home-application-form .field textarea:hover {
  border-color: #94a3b8;
}

.home-application-form .field.is-invalid label {
  color: #be123c;
}

.home-application-form .field.is-invalid input:not([type="file"]),
.home-application-form .field.is-invalid select,
.home-application-form .field.is-invalid textarea {
  background: #fff7f8;
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.home-application-form .field.is-invalid .select-wrap::after {
  color: #e11d48;
}

.home-application-form input::placeholder,
.home-application-form textarea::placeholder {
  color: #94a3b8;
}

.form-submit {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  justify-content: space-between;
}

.form-submit b {
  font-size: 17px;
  line-height: 1;
}

.home-application-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--oasis-green-dark);
  font-size: 11px;
  line-height: 1.5;
}

.home-application-status.is-error {
  color: var(--red);
}

@media (max-width: 980px) {
  .home-application-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-application {
    padding: 56px 0;
  }

  .home-application-form {
    padding: 22px 18px;
  }

  .home-application-form .form-grid {
    grid-template-columns: 1fr;
  }

  .home-application-form .full {
    grid-column: auto;
  }
}

/* Applicant portal: service entry, form controls, and upload drop zone. */
.portal-hero {
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - 76px);
  gap: 5vw;
  align-items: center;
  padding: 64px max(24px, calc((100vw - 1120px) / 2));
  max-width: none;
  margin: 0;
}

.portal-intro {
  max-width: 580px;
}

.portal-hero.portal-hero--form {
  align-items: start;
}

.portal-kicker,
.panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--oasis-green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.portal-kicker {
  padding: 7px 10px;
  background: var(--oasis-green-soft);
  border: 1px solid #bfdbfe;
  border-radius: 7px;
}

.portal-kicker i {
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.13);
}

.portal-hero h2 {
  margin: 18px 0 14px;
}

.portal-hero > .portal-intro > p {
  max-width: 600px;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.portal-hero .feature-grid {
  gap: 10px;
  margin-top: 30px;
}

.portal-hero .feature-grid .feature {
  position: relative;
  min-height: 108px;
  padding: 17px 16px 15px;
  overflow: hidden;
  border-radius: 10px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.portal-hero .feature-grid .feature:hover {
  border-color: #bfdbfe;
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

.feature-index {
  display: block;
  margin-bottom: 10px;
  color: var(--oasis-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.portal-hero .feature b,
.portal-hero .feature .muted {
  position: relative;
  z-index: 1;
}

.portal-hero .feature b {
  margin-bottom: 4px;
  font-size: 13px;
}

.portal-access-card {
  width: 100%;
  max-width: none;
  justify-self: end;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.1);
}

.portal-access-card .tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  background: #f1f5f9;
}

.portal-access-card .tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 58px;
  padding: 9px 11px;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}

.portal-access-card .tabs button:not(.active):hover {
  color: var(--oasis-ink);
  background: rgba(255, 255, 255, 0.68);
}

.portal-access-card .tabs button.active {
  color: var(--oasis-green-dark);
}

.tab-code {
  display: block;
  margin-bottom: 4px;
  color: currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.58;
}

.portal-access-card .panel {
  padding: 29px 30px 26px;
}

.portal-panel-head {
  margin-bottom: 23px;
}

.portal-panel-head h3 {
  margin: 7px 0 6px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.portal-panel-head p {
  margin: 0;
  color: var(--oasis-muted);
  font-size: 12px;
  line-height: 1.65;
}

.portal-access-card .field {
  gap: 7px;
}

.portal-access-card .field-spaced {
  margin-top: 15px;
}

.portal-access-card .field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 17px;
}

.portal-access-card .field label em {
  margin-left: 3px;
  color: #e11d48;
  font-size: 13px;
  font-style: normal;
}

.portal-access-card .field input:not([type="file"]),
.portal-access-card .field select,
.portal-access-card .field textarea {
  min-height: 44px;
  padding: 11px 12px;
  border-color: #cbd5e1;
  border-radius: 8px;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
  font-size: var(--control-font-size);
}

.portal-access-card .field input:hover,
.portal-access-card .field select:hover,
.portal-access-card .field textarea:hover {
  border-color: #94a3b8;
}

.portal-access-card .field textarea {
  min-height: 92px;
  line-height: 1.6;
}

.portal-access-card .form-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.portal-access-card .form-grid .full {
  grid-column: auto;
}

.portal-access-card input::placeholder,
.portal-access-card textarea::placeholder {
  color: #94a3b8;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  content: none;
}

/* Use one centered arrow instead of browser- and font-dependent glyphs. */
select {
  cursor: pointer;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  -webkit-appearance: none;
  appearance: none;
}

select::-ms-expand {
  display: none;
}

.date-picker-control {
  position: relative;
  min-height: 42px;
}

.date-picker-control #fDue {
  height: 100%;
  padding-right: 42px;
  cursor: pointer;
  user-select: none;
}

.date-picker-native {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.date-picker-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 15px;
  pointer-events: none;
  border: 1.5px solid #64748b;
  border-radius: 3px;
  transform: translateY(-50%);
}

.date-picker-icon::before {
  position: absolute;
  top: 3px;
  right: -1.5px;
  left: -1.5px;
  height: 1.5px;
  content: "";
  background: #64748b;
}

.date-picker-icon::after {
  position: absolute;
  top: -3px;
  left: 3px;
  width: 7px;
  height: 3px;
  content: "";
  border-right: 1.5px solid #64748b;
  border-left: 1.5px solid #64748b;
}

.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;
}

.file-drop {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 96px !important;
  padding: 12px !important;
  color: var(--oasis-ink-soft) !important;
  cursor: pointer;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  transition: 150ms ease;
}

.file-drop:hover,
.file-drop.dragover {
  background: var(--oasis-green-soft);
  border-color: var(--oasis-green);
}

.file-drop-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--oasis-green);
  background: #dbeafe;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.file-drop b,
.file-drop small {
  display: block;
}

.file-drop b {
  color: var(--oasis-ink);
  font-size: 11px;
}

.file-drop small {
  margin-top: 3px;
  color: var(--oasis-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.file-drop-action {
  padding: 6px 8px;
  color: var(--oasis-green-dark);
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.portal-submit {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 15px;
  justify-content: space-between;
  border-radius: 9px;
}

.portal-submit b {
  font-size: 17px;
  line-height: 1;
  transition: transform 150ms ease;
}

.portal-submit:hover b {
  transform: translateX(3px);
}

.portal-footnote {
  margin: 14px 0 0;
  color: var(--oasis-muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1080px) {
  .portal-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    gap: 36px;
  }
}

@media (max-width: 920px) {
  .portal-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    max-width: 720px;
  }

  .portal-access-card {
    max-width: 620px;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .portal-hero {
    padding: 32px 16px 44px;
  }

  .portal-hero .feature-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }

  .portal-hero .feature-grid .feature {
    min-height: 102px;
    padding: 14px 12px;
  }

  .portal-access-card .panel {
    padding: 24px 18px 20px;
  }

  .portal-access-card .tabs button {
    min-height: 55px;
    padding: 8px 8px;
    font-size: 11px;
  }

  .portal-panel-head h3 {
    font-size: 19px;
  }

  .file-drop {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .file-drop-action {
    display: none;
  }
}

/* Organization account administration. */
.user-management-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.user-management-head .eyebrow {
  margin: 0 0 5px;
}

.user-management-head .muted {
  margin: 0;
}

.user-management-table td {
  vertical-align: middle;
}

.primary-account-mark {
  display: inline-block;
  margin: 5px 0 0;
  padding: 2px 6px;
  color: #1e3a8a;
  background: #dbeafe;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.user-actions {
  display: flex;
  min-width: 138px;
  justify-content: center;
  gap: 6px;
}

.user-menu-identity small {
  display: block;
  margin-top: 4px;
  color: #475569;
  font-size: 10px;
}

/* Compact hierarchy for the platform's organization-application review dialog. */
.modal-head #modalTitle {
  color: var(--oasis-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.application-review-summary {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(108px, 0.55fr);
  gap: 10px;
}

.application-review-summary .card {
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 9px;
  box-shadow: none;
}

.application-review-summary .card > span {
  display: block;
  color: var(--oasis-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
}

.application-review-summary .card h3 {
  margin: 4px 0 0;
  color: var(--oasis-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.application-review-status {
  display: flex;
  min-height: 40px;
  align-items: center;
}

.application-review-fields {
  gap: 10px;
  margin-top: 12px;
}

.application-review-fields .field {
  gap: 5px;
}

.application-review-fields .field label {
  color: var(--oasis-ink-soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.application-review-fields .field input,
.application-review-fields .field textarea {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--oasis-ink);
  font-size: 12px;
  line-height: 1.45;
}

.application-review-fields .field textarea {
  min-height: 72px;
}

.application-review-fields .field small {
  margin-top: 1px;
  font-size: 10px;
  line-height: 1.45;
}

.application-review-files {
  min-height: 24px;
  padding-top: 2px;
  color: var(--oasis-ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.application-review-actions {
  margin-top: 12px;
  justify-content: flex-end;
}

.application-review-actions .btn {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .application-review-summary {
    grid-template-columns: 1fr;
  }

  .user-management-head {
    align-items: stretch;
    flex-direction: column;
  }

  .user-management-head .btn {
    width: 100%;
  }
}
