/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  background: #f5f8fc;
  color: #0b1f3a;
  font-family: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f8fc;
}

a {
  color: inherit;
}

.page-shell {
  max-width: none;
  width: min(calc(100% - 3rem), 1500px);
  margin: 0 auto;
  padding: 4rem 0;
}

.page-shell.narrow {
  max-width: none;
  width: min(calc(100% - 2rem), 560px);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand {
  color: #0b1f3a;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #27466f;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  text-decoration: none;
}

.nav-logout {
  background: #ffffff;
  border: 1px solid #bfd0e4;
  border-radius: 8px;
  color: #123b68;
  cursor: pointer;
  font: inherit;
  padding: 0.4rem 0.65rem;
}

.nav-session {
  border-left: 1px solid #dbe5f1;
  color: #55708f;
  display: inline-flex;
  font-size: 0.85rem;
  max-width: 240px;
  overflow: hidden;
  padding-left: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links a.active {
  background: #dceafe;
  color: #0b3a75;
}

.hero-card {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.08);
}

.hero-card.small {
  margin-top: 1.5rem;
}

.landing-hero h1 {
  max-width: 760px;
}

.hero-card p {
  color: #355579;
  line-height: 1.7;
  max-width: 760px;
}

.eyebrow {
  color: #1d5ea8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 1.5rem;
}

.review-card p {
  color: #355579;
  line-height: 1.6;
}

.card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.card-header h2 {
  margin-top: 0;
}

.linked-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

.inbox-panel {
  margin-top: 1.5rem;
}

.inbox-table {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  overflow: hidden;
}

.inbox-row {
  align-items: center;
  border-bottom: 1px solid #e6edf5;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  grid-template-columns: minmax(120px, 0.7fr) minmax(80px, 0.45fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(150px, 0.85fr) minmax(220px, 1.3fr);
  min-height: 64px;
  padding: 0.85rem 1rem;
}

.inbox-row:last-child {
  border-bottom: 0;
}

.inbox-header {
  background: #f5f9fd;
  color: #1d5ea8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 44px;
  text-transform: uppercase;
}

.inbox-link {
  color: #0b1f3a;
  text-decoration: none;
}

.inbox-link:hover {
  background: #f8fbfe;
}

.price {
  color: #0b1f3a;
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-grid {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 1.5rem;
}

.review-section {
  margin-top: 1.5rem;
}

.section-header,
.collapsible-section summary {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.section-header h2 {
  margin: 0;
}

.collapsible-section {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 1rem;
}

.collapsible-section summary {
  color: #0b1f3a;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 800;
}

.collapsible-section .grid {
  margin-top: 1rem;
}

.badge {
  background: #edf3fa;
  border: 1px solid #d1deeb;
  border-radius: 999px;
  color: #27466f;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
}

.badge.success {
  background: #e8f7ee;
  border-color: #b9e6c9;
  color: #126236;
}

.badge.warning {
  background: #fff3d8;
  border-color: #f3d28a;
  color: #7a4b00;
}

.badge.neutral {
  background: #f1f3f5;
  border-color: #d7dde3;
  color: #3f4a54;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 1.25rem;
}

.stat-card span {
  color: #355579;
  display: block;
  margin-bottom: 0.75rem;
}

.stat-card strong {
  color: #0b1f3a;
  font-size: 2rem;
}

.button-group,
.card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #2563eb;
  color: white;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

.button.compact {
  padding: 0.55rem 0.85rem;
}

.button.secondary {
  background: #ffffff;
  border-color: #bfd0e4;
  color: #123b68;
}

.button:hover {
  background: #1d4ed8;
}

.form {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.5rem;
}

.google-auth {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.google-button-container {
  min-height: 44px;
}

.auth-separator {
  align-items: center;
  color: #55708f;
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 1.25rem;
}

.auth-separator::before,
.auth-separator::after {
  background: #dbe5f1;
  content: '';
  height: 1px;
}

.stacked-fields {
  align-content: start;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.form label,
.stacked-fields label {
  color: #27466f;
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  min-width: 0;
}

.form input,
.form select,
.stacked-fields input,
.stacked-fields select,
.textarea {
  background: #ffffff;
  border: 1px solid #bfd0e4;
  border-radius: 8px;
  color: #0b1f3a;
  font: inherit;
  min-width: 0;
  padding: 0.85rem 1rem;
  width: 100%;
}

.form input,
.form select,
.stacked-fields input,
.stacked-fields select {
  height: 3.25rem;
  line-height: 1.2;
}

.inline-form {
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.inline-form label {
  align-self: stretch;
  grid-template-rows: 1.45rem 3.25rem;
}

.inline-form input,
.inline-form select {
  align-self: end;
}

.inline-form .button {
  align-self: end;
  height: 3.25rem;
  min-height: 3.25rem;
  min-width: 0;
  width: 100%;
}

.textarea {
  height: 3.25rem;
  line-height: 1.2;
  min-height: 3.25rem;
  resize: vertical;
  width: 100%;
}

.data-list {
  display: grid;
  grid-column-gap: 1.25rem;
  column-gap: 1.25rem;
  grid-row-gap: 0.7rem;
  row-gap: 0.7rem;
  grid-template-columns: minmax(140px, max-content) minmax(0, 1fr);
}

.data-list dt {
  color: #1d5ea8;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.data-list dd {
  color: #0b1f3a;
  margin: 0;
  min-width: 0;
}

.compact-list {
  grid-template-columns: minmax(150px, max-content) minmax(0, 1fr);
  margin: 0.75rem 0 0;
}

.review-reason {
  background: #fff7e6;
  border: 1px solid #f3d28a;
  border-radius: 8px;
  color: #7a4b00;
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
}

.application-review-list {
  grid-template-columns: minmax(170px, max-content) minmax(0, 1fr);
}

@media (max-width: 420px) {
  .data-list,
  .compact-list,
  .application-review-list {
    grid-template-columns: 1fr;
  }

  .data-list dd {
    margin-bottom: 0.4rem;
  }
}

.attachment-summary {
  border-top: 1px solid #dbe5f1;
  margin-top: 1rem;
  padding-top: 1rem;
}

.outbound-summary {
  border-top: 1px solid #dbe5f1;
  margin-top: 1rem;
  padding-top: 1rem;
}

.outbound-summary:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.email-body-preview {
  background: #f8fbfe;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  color: #0b1f3a;
  margin: 1rem 0 0;
  padding: 1rem;
  white-space: pre-wrap;
}

.attachment-summary p {
  margin: 0.25rem 0;
}

.document-presence-list {
  border-top: 1px solid #dbe5f1;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.application-list {
  border-top: 1px solid #dbe5f1;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.application-list h3 {
  font-size: 1rem;
  margin: 0;
}

.application-list-empty {
  border-top: 1px solid #dbe5f1;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.application-row {
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 1rem;
}

.application-row strong {
  color: #0b1f3a;
}

.application-row p {
  margin: 0.35rem 0 0;
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.attachment-list a {
  text-decoration: none;
}

.compact-actions {
  margin-top: 1rem;
}

.subsection {
  border-top: 1px solid #e3e9f2;
  margin-top: 1rem;
  padding-top: 1rem;
}

.subsection h3 {
  color: #0b1f3a;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.mini-list {
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  margin-top: 0.75rem;
  padding: 0.85rem;
}

.mini-list p {
  margin: 0;
}

.mini-list ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.mini-list li {
  color: #355579;
  margin-top: 0.35rem;
}

.manual-application-form {
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1.25rem;
  padding: 1rem;
}

.manual-application-form h3,
.manual-application-form .card-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.import-form {
  align-items: end;
  border-top: 1px solid #dbe5f1;
  grid-template-columns: minmax(min(100%, 360px), 1fr) minmax(180px, 240px);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.import-form .button {
  min-height: 3.25rem;
  width: 100%;
}

.import-result {
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  color: #355579;
  margin-top: 1rem;
  padding: 1rem;
}

.import-result ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.contract-preview {
  margin-top: 0.85rem;
}

.contract-preview summary {
  color: #1d5ea8;
  cursor: pointer;
  font-weight: 700;
}

.contract-preview pre {
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  color: #0b1f3a;
  font: 0.85rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0.75rem 0 0;
  max-height: 260px;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.token-box {
  background: #f8fbff;
  border: 1px solid #bfd0e4;
  border-radius: 8px;
  display: block;
  overflow-wrap: anywhere;
  padding: 1rem;
}

.policy-list {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.policy-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 420px);
  padding: 1.25rem;
}

.policy-row h2 {
  font-size: 1.1rem;
  margin: 0;
}

.policy-row .eyebrow {
  margin-bottom: 0.35rem;
}

.segmented-control {
  background: #eef4fb;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0.25rem;
}

.segmented-control button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #27466f;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.45rem;
}

.segmented-control button.active {
  background: #2563eb;
  color: #ffffff;
}

.segmented-control button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.muted {
  color: #55708f;
}

.error {
  color: #b42318;
  margin: 0;
}

.success-text {
  color: #126236;
  margin: 0;
}

@media (max-width: 680px) {
  .page-shell {
    padding: 2rem 0;
    width: min(calc(100% - 2rem), 1500px);
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .policy-row {
    grid-template-columns: 1fr;
  }

  .inbox-table {
    background: transparent;
    border: 0;
    display: grid;
    grid-gap: 0.75rem;
    gap: 0.75rem;
  }

  .inbox-header {
    display: none;
  }

  .inbox-row {
    background: #ffffff;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    gap: 0.45rem;
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

@media (min-width: 1600px) {
  .page-shell {
    width: min(calc(100% - 5rem), 1680px);
  }
}

