﻿:root {
  --navy: #10283f;
  --deep: #0b1d30;
  --cyan: #11a8bf;
  --paper: #f3f7f9;
  --line: #dbe5e9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--navy);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #07a7c6;
  outline-offset: 3px;
}
.app-wrapper {
  width: 100%;
  min-height: 100%;
  background: var(--paper);
}
.inner {
  max-width: 1240px;
  margin: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}
.mast {
  background: var(--deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.mast:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -160px;
  top: -220px;
  box-shadow:
    0 0 0 65px #ffffff08,
    0 0 0 135px #ffffff07;
  pointer-events: none;
}
.navlink {
  color: #d0e3ed;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.navlink:hover,
.navlink:focus-visible {
  color: white;
  border-color: #39d0df;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 11px;
  font-weight: 700;
}
.display,
.section-title {
  font-family: Fraunces, serif;
}
.display {
  line-height: 1.13;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 5px 22px #18334b08;
}
.metric {
  border-top: 3px solid var(--cyan);
}
.field {
  width: 100%;
  background: white;
  border: 1px solid #c6d6de;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--navy);
  min-height: 44px;
}
.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #40596b;
  margin-bottom: 6px;
}
.action {
  border: 0;
  background: #087f99;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  min-height: 44px;
}
.action:hover {
  background: #086a82;
}
.secondary {
  border: 1px solid #bad1da;
  background: white;
  color: #0b6079;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 700;
  min-height: 44px;
}
.secondary:hover {
  background: #eaf7fa;
}
.danger {
  color: #a12b36;
  border-color: #e9aab1;
}
.event-card {
  text-align: left;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px #18334b13;
}
.event-card.selected {
  border-color: #0b97af;
  box-shadow: 0 0 0 2px #0b97af2b;
}
.pill {
  display: inline-flex;
  border-radius: 100px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  background: #e4f6f5;
  color: #176b69;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  text-align: left;
}
th {
  background: #eaf2f5;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #466072;
  padding: 13px 15px;
  white-space: nowrap;
}
td {
  border-top: 1px solid #e6ecef;
  padding: 14px 15px;
  font-size: 13px;
  vertical-align: top;
}
.bar-track {
  height: 13px;
  background: #e6eef1;
  border-radius: 20px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 20px;
  transition: width 0.45s ease;
}
.preview {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #e7eff2;
}
.doc-icon {
  height: 150px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e5f2f5;
  color: #087f99;
  font-size: 42px;
  font-weight: 700;
}
.row-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #f8fbfc;
}
.thumb {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
[hidden] {
  display: none !important;
}
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
}
.auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #071522cc;
}
.auth-dialog {
  position: relative;
  width: min(100%, 390px);
  padding: 28px;
}
.auth-close {
  position: absolute;
  right: 18px;
  top: 18px;
  min-height: 36px;
  padding: 4px 11px;
  font-size: 20px;
  line-height: 1;
}
.auth-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
