@font-face {
  font-family: Doerak;
  src: local("Inter"), local("Aptos"), local("Segoe UI");
}
* {
  box-sizing: border-box;
}
:root {
  font-family:
    Doerak,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #193448;
  background: #f4f7f8;
  font-synthesis: none;
  --navy: #102e42;
  --teal: #148d87;
  --muted: #758590;
  --line: #e4eaed;
  --red: #bd4a4b;
  --green: #258265;
  --orange: #b77823;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: var(--teal);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  left: 260px;
  top: -60px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.boot-message {
  padding: 40px;
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}
.sidebar {
  background: var(--navy);
  color: #d4e2eb;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  z-index: 30;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 35px;
  color: white;
  text-decoration: none;
}
.brand-symbol {
  width: 43px;
  height: 43px;
  background: #1f485b;
  border: 1px solid #356071;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #80d6cf;
}
.brand-symbol .icon {
  width: 30px;
  height: 30px;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.brand-sub {
  font-size: 10px;
  display: block;
  font-weight: 500;
  letter-spacing: 1.7px;
  color: #90abba;
  margin-top: 5px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #7995a6;
  font-weight: 700;
  padding: 0 15px;
  margin: 6px 0 12px;
}
.nav-links {
  display: grid;
  gap: 4px;
  margin-bottom: 26px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b5c8d4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 7px;
  min-height: 44px;
}
.nav-link .icon {
  width: 18px;
  height: 18px;
  color: #89a9b9;
}
.nav-link:hover {
  background: #1b3d51;
}
.nav-link.active {
  background: #215163;
  color: #fff;
}
.nav-link.active .icon {
  color: #65d2c7;
}
.nav-count {
  margin-left: auto;
  background: #355d6b;
  color: white;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.local-storage {
  padding: 15px 13px;
  border: 1px solid #305063;
  background: #17394d;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.7;
  color: #9eb8c6;
}
.local-storage strong {
  color: #d3e6ee;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #61c7a6;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 10px 0;
}
.avatar {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #31586a;
  color: #c9e6e9;
  font-size: 12px;
  font-weight: 700;
}
.sidebar-footer strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
}
.sidebar-footer small {
  font-size: 10px;
  color: #87a4b5;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 20px;
  background: #fff;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #83919a;
  white-space: nowrap;
}
.breadcrumb strong {
  color: #334e60;
  font-weight: 500;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.search-wrap {
  position: relative;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #84969f;
}
.search-box input {
  width: 192px;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 12px;
  outline-offset: 0;
}
.search-results {
  position: absolute;
  z-index: 20;
  right: 0;
  top: 45px;
  width: 350px;
  background: white;
  box-shadow: 0 12px 40px #17394d24;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  max-height: 400px;
  overflow: auto;
}
.search-results[hidden] {
  display: none;
}
.search-results button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 12px;
  border-radius: 6px;
}
.search-results button:hover {
  background: #f0f7f6;
}
.search-results small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.connection {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #687d88;
  white-space: nowrap;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  color: #68808d;
}
.icon-button:hover {
  background: #edf5f5;
  color: var(--teal);
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 35px 38px 28px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #8a9ba3;
  margin: 0 0 8px;
  text-transform: uppercase;
}
h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 0 0 8px;
  line-height: 1.15;
}
p {
  line-height: 1.65;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 650;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.button {
  border: 1px solid var(--line);
  background: #fff;
  color: #365362;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 550;
  min-height: 42px;
  white-space: nowrap;
}
.button:hover {
  background: #edf4f5;
}
.button.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 3px 7px #148d8716;
}
.button.primary:hover {
  background: #0d7b76;
}
.button.danger {
  background: #b84949;
  color: white;
  border-color: #b84949;
}
.button.small {
  font-size: 11px;
  min-height: 32px;
  padding: 7px 10px;
}
.button.ghost {
  border: 0;
  background: transparent;
  color: var(--teal);
  padding: 4px 0;
  min-height: 32px;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #173e53;
  color: #fff;
  min-height: 210px;
  padding: 30px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 570px;
  height: 400px;
  border: 1px solid #42708666;
  border-radius: 50%;
  z-index: -1;
  box-shadow:
    0 0 0 35px #42708620,
    0 0 0 70px #42708615;
}
.hero-copy {
  width: 53%;
  z-index: 1;
}
.hero .eyebrow {
  color: #8fbdc8;
  letter-spacing: 2px;
  font-size: 9px;
}
.hero h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 8px 0 10px;
}
.hero p {
  font-size: 12px;
  color: #b0cbd7;
  margin: 0 0 20px;
  max-width: 380px;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.hero .button {
  color: #d8f6f1;
  background: #2c5b68;
  border-color: #477983;
  font-size: 11px;
  min-height: 34px;
  padding: 8px 12px;
}
.hero-meta {
  color: #b4ced8;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-meta .icon {
  width: 14px;
  height: 14px;
}
.boat-illustration {
  position: absolute;
  right: 2%;
  bottom: 7px;
  width: 47%;
  height: 194px;
  opacity: 0.97;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 19px 20px;
  position: relative;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #708592;
  margin-bottom: 17px;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eaf6f3;
  color: #4a9885;
}
.stat-icon.orange {
  color: #b58342;
  background: #fff6e8;
}
.stat-icon.blue {
  color: #528ba8;
  background: #edf5fa;
}
.stat-icon.red {
  color: #c17171;
  background: #fcf0ef;
}
.stat-icon .icon {
  width: 17px;
  height: 17px;
}
.stat-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.stat-value small {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 4px;
  color: #94a1a7;
}
.stat-note {
  font-size: 10px;
  color: #8b9aa3;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.card-head {
  padding: 21px 23px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-head .subtitle {
  font-size: 10px;
  margin-top: 5px;
}
.card-body {
  padding: 0 23px 23px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 9px;
  letter-spacing: 0.8px;
  font-weight: 550;
  text-transform: uppercase;
  color: #8c9ca5;
  background: #fbfcfd;
  padding: 12px 18px;
  border-top: 1px solid #edf1f3;
  border-bottom: 1px solid #edf1f3;
  white-space: nowrap;
}
td {
  padding: 17px 18px;
  border-bottom: 1px solid #edf1f3;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.row-main {
  display: flex;
  align-items: center;
  gap: 11px;
}
.row-symbol {
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  background: #f2f6f8;
  color: #6b8898;
  border-radius: 8px;
  flex-shrink: 0;
}
.row-symbol .icon {
  width: 16px;
  height: 16px;
}
.row-title {
  color: #2c4657;
  font-size: 12px;
  font-weight: 550;
  background: none;
  border: 0;
  text-align: left;
  padding: 0;
  line-height: 1.5;
}
.row-title:hover {
  color: var(--teal);
  text-decoration: underline;
}
.row-sub {
  font-size: 10px;
  color: #8d9ba4;
  margin-top: 3px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  font-weight: 500;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.muted {
  background: #f0f4f6;
  color: #788b98;
}
.badge.green {
  background: #eaf6f0;
  color: #358268;
}
.badge.red {
  background: #fff0ee;
  color: #b9504f;
}
.badge.orange {
  background: #fff5e5;
  color: #aa762f;
}
.badge.blue {
  background: #ebf4fa;
  color: #467fa0;
}
.priority {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #7a8a94;
}
.priority.high {
  color: #b8534f;
}
.priority .icon {
  width: 13px;
  height: 13px;
}
.table-footer {
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #8a9ba5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.empty {
  padding: 33px 22px;
  text-align: center;
  color: #84959f;
  font-size: 12px;
  line-height: 1.7;
}
.empty .icon {
  width: 30px;
  height: 30px;
  color: #a6bac4;
  display: block;
  margin: 0 auto 12px;
}
.empty strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #476374;
  margin-bottom: 4px;
}
.empty .button {
  margin-top: 14px;
}
.cost-amount {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
}
.cost-label {
  font-size: 10px;
  color: #8b9ca4;
  margin-top: 5px;
}
.chart {
  width: 100%;
  height: auto;
  display: block;
  max-height: 190px;
}
.chart text {
  font-family: inherit;
  font-size: 9px;
  fill: #8c9ca4;
}
.chart line {
  stroke: #edf1f2;
  stroke-dasharray: 3 4;
}
.legend {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.legend-row {
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #7a8e9b;
  gap: 8px;
}
.legend-row .amount {
  margin-left: auto;
  color: #4f6776;
  font-weight: 500;
}
.legend-square {
  width: 7px;
  height: 7px;
  background: #359e95;
  border-radius: 2px;
}
.legend-square.c1 {
  background: #5b8ca6;
}
.legend-square.c2 {
  background: #d7ad6f;
}
.legend-square.c3 {
  background: #abb7bf;
}
.recent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.recent-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.recent-check {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #eaf6f0;
  color: #4a9477;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.recent-check .icon {
  width: 15px;
  height: 15px;
}
.recent-item p {
  margin: 4px 0 0;
  font-size: 10px;
  color: #8a9ca5;
}
.tip {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  background: #eaf3f3;
  border: 1px solid #dcebea;
  border-radius: 9px;
  color: #5a7b80;
  font-size: 11px;
  line-height: 1.7;
}
.tip .icon {
  color: #569c99;
  margin-top: 2px;
}
.tip strong {
  display: block;
  color: #365f66;
  font-weight: 600;
  margin-bottom: 3px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8b9aa4;
  font-size: 10px;
  margin-top: 27px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer .icon {
  width: 12px;
  height: 12px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 19px;
}
.toolbar label {
  font-size: 11px;
  color: #718793;
  display: flex;
  align-items: center;
  gap: 7px;
}
.toolbar input,
.toolbar select {
  padding: 9px 10px;
  background: white;
  border: 1px solid #dae3e8;
  border-radius: 6px;
  font-size: 12px;
  color: #425f71;
  max-width: 220px;
}
.toolbar .spacer {
  flex: 1;
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.component-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.component-card .row-symbol {
  margin-bottom: 17px;
  width: 38px;
  height: 38px;
  background: #ecf5f4;
  color: #51968f;
}
.component-card h3 {
  line-height: 1.5;
}
.component-card p {
  color: #6e8795;
  font-size: 12px;
  margin: 10px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.component-card .verification {
  font-size: 10px;
  color: #b88032;
  background: #fff7e9;
  padding: 5px 7px;
  border-radius: 4px;
  margin: 0 0 12px;
}
.component-card .actions {
  margin-top: auto;
  padding-top: 12px;
  width: 100%;
}
.section-title {
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.overview-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 25px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.overview-panel h2 {
  margin-bottom: 6px;
}
.meter {
  font-size: 35px;
  letter-spacing: -1px;
  color: #174e61;
}
.meter small {
  font-size: 13px;
  letter-spacing: 0;
  color: #879ba7;
}
.overview-panel p {
  font-size: 12px;
  color: #8195a2;
  margin: 5px 0 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.detail-item dt {
  font-size: 10px;
  color: #869ba6;
  margin-bottom: 7px;
}
.detail-item dd {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-item.full {
  grid-column: 1/-1;
}
.detail-section {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.detail-section h3 {
  margin: 0 0 12px;
}
.record-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.document-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.document-preview {
  height: 110px;
  border-radius: 7px;
  background: #f0f5f6;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  overflow: hidden;
  color: #799aa6;
}
.document-preview .icon {
  height: 36px;
  width: 36px;
}
.document-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.document-card h3 {
  overflow-wrap: anywhere;
}
.document-card .row-sub {
  margin: 8px 0 16px;
  line-height: 1.7;
}
.document-card .actions {
  margin-top: auto;
  flex-wrap: wrap;
}
.notice {
  font-size: 12px;
  line-height: 1.7;
  padding: 15px 18px;
  background: #eef5f7;
  border: 1px solid #dce9ed;
  border-radius: 7px;
  color: #577885;
  margin-bottom: 20px;
}
.notice.warning {
  background: #fff8e9;
  border-color: #efdfbb;
  color: #977342;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.settings-grid .card-body {
  padding-top: 4px;
}
.settings-grid p,
.help-content p,
.help-content li {
  font-size: 13px;
  line-height: 1.8;
  color: #6d8491;
}
.settings-grid .button {
  margin: 5px 7px 8px 0;
}
.help-content {
  max-width: 850px;
  padding: 25px;
}
.help-content h2 {
  margin: 20px 0 12px;
}
.help-content h2:first-child {
  margin-top: 0;
}
.help-content ul {
  padding-left: 22px;
}
.help-content a {
  overflow-wrap: anywhere;
}
dialog {
  border: 1px solid #dce5e9;
  border-radius: 13px;
  padding: 0;
  width: min(670px, calc(100vw - 28px));
  max-height: 90dvh;
  color: #244658;
  box-shadow: 0 20px 90px #0e2b4a40;
}
dialog::backdrop {
  background: #09263877;
  backdrop-filter: blur(3px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  font-size: 19px;
  margin: 3px 0;
}
.modal-header p {
  margin: 6px 0 0;
  font-size: 11px;
  color: #8497a2;
}
.modal-content {
  padding: 23px 25px;
}
.modal-footer {
  border-top: 1px solid var(--line);
  padding: 17px 25px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fbfcfd;
  position: sticky;
  bottom: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 12px;
  color: #4d697a;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d8e2e8;
  border-radius: 6px;
  background: white;
  color: #254657;
  padding: 10px 12px;
  font-size: 13px;
  min-height: 42px;
}
.field textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #51b8b2;
  outline-offset: 1px;
}
.field small {
  color: #889da8;
  font-size: 10px;
  line-height: 1.6;
}
.field input[type="file"] {
  font-size: 11px;
  padding: 8px;
}
.form-error {
  color: #b64949;
  background: #fff1ef;
  border: 1px solid #f3d9d4;
  padding: 11px 13px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
.modal-copy {
  font-size: 13px;
  line-height: 1.8;
  color: #718894;
}
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.photo-pair figure {
  margin: 0;
}
.photo-pair img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #f2f6f7;
  border-radius: 6px;
}
.photo-pair figcaption {
  font-size: 11px;
  color: #7a939f;
  margin-top: 8px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 122px);
  transform: translateX(-50%);
  z-index: 100;
  background: #143f50;
  color: white;
  box-shadow: 0 8px 35px #153d5040;
  border-radius: 8px;
  padding: 13px 21px;
  font-size: 12px;
  max-width: calc(100vw - 30px);
  display: none;
  line-height: 1.6;
}
#toast.show {
  display: block;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.month-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 120px;
}
.month-card.current {
  border-color: #64aaa5;
}
.month-card h3 {
  font-size: 12px;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.month-card button {
  display: block;
  width: 100%;
  border: 0;
  background: #f1f6f6;
  border-radius: 4px;
  text-align: left;
  font-size: 10px;
  color: #567782;
  padding: 7px 8px;
  margin: 4px 0;
  line-height: 1.5;
}
.month-card .muted {
  font-size: 10px;
  color: #a0afb7;
}
.calendar-toggle {
  margin-left: auto;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: white;
}
.view-toggle button {
  border: 0;
  padding: 7px 10px;
  border-radius: 4px;
  background: none;
  color: #899ca6;
  font-size: 11px;
}
.view-toggle button.active {
  background: #eaf4f3;
  color: #268b83;
}
.category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #688290;
}
.category-title .icon {
  width: 17px;
  height: 17px;
}
.inline-link {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  border: 0;
  padding: 0;
  background: transparent;
}
.inline-link:hover {
  text-decoration: underline;
}
.muted {
  color: #879ba6;
}
.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;
}
progress {
  width: 100%;
  height: 7px;
  border: 0;
  display: block;
  margin: 12px 0 8px;
  appearance: none;
}
progress::-webkit-progress-bar {
  background: #edf3f4;
  border-radius: 4px;
}
progress::-webkit-progress-value {
  background: #62aea5;
  border-radius: 4px;
}
.strong-number {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.file-detail-image {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  background: #f2f7f8;
  border-radius: 8px;
  margin-bottom: 20px;
}
.inline-meta {
  font-size: 11px;
  color: #8097a4;
  line-height: 1.9;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.data-grid .empty {
  grid-column: 1/-1;
}
.loading {
  opacity: 0.7;
}
.menu-scrim {
  display: none;
}
.offline-dot {
  background: #daae62;
}
.form-section {
  grid-column: 1/-1;
  font-size: 11px;
  color: #8b9ea8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 7px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.year-select {
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  color: #7b8d97;
  padding: 5px 7px;
  max-width: 82px;
}
.attachment-list {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #d8e2e8;
  border-radius: 6px;
  padding: 12px;
}
.attachment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}
.field .attachment-option input {
  min-height: 20px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--teal);
}
[hidden] {
  display: none !important;
}
main:focus {
  outline: none;
}
.table-wrap {
  position: relative;
  max-width: 100%;
}
.notice-spaced {
  margin-top: 20px;
}
.section-title {
  flex-wrap: wrap;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 1.3px;
}
.brand-name {
  font-size: 19px;
}
@media (min-width: 1500px) {
  main {
    padding-top: 40px;
  }
  .hero {
    min-height: 230px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .stat {
    padding: 23px;
  }
  .hero-copy {
    width: 50%;
  }
  .boat-illustration {
    height: 215px;
  }
  .stat-value {
    font-size: 32px;
  }
}
@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 216px minmax(0, 1fr);
  }
  .sidebar {
    width: 216px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    padding-left: 8px;
    gap: 9px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-symbol {
    height: 37px;
    width: 37px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .nav-link {
    font-size: 12px;
  }
  .topbar {
    padding: 0 26px;
  }
  .topbar-right {
    gap: 15px;
  }
  main {
    padding: 28px 26px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
    gap: 17px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 15px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-value {
    font-size: 25px;
  }
  .hero {
    padding: 26px;
  }
  .hero-copy {
    width: 58%;
  }
  .hero h2 {
    font-size: 24px;
  }
  .boat-illustration {
    right: -2%;
    width: 46%;
    opacity: 0.8;
  }
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
  .row-symbol {
    display: none;
  }
  .card-head {
    padding-left: 18px;
    padding-right: 18px;
  }
  .card-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  #toast {
    left: calc(50% + 108px);
  }
}
@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > .stack {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .dashboard-grid > .stack > .tip {
    grid-column: 1/-1;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .topbar-right {
    margin-left: auto;
  }
  .hero-copy {
    width: 60%;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .calendar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.18s ease;
    width: 244px;
  }
  .layout.menu-open .sidebar {
    transform: translateX(0);
  }
  .layout.menu-open .menu-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 29;
    background: #102e4288;
    border: 0;
    width: 100%;
    height: 100%;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 66px;
    padding: 0 20px;
    gap: 12px;
  }
  .topbar-right {
    gap: 14px;
    width: 100%;
    justify-content: flex-end;
  }
  .search-box input {
    width: 150px;
  }
  .connection {
    font-size: 10px;
  }
  .search-results {
    right: -45px;
    width: min(350px, calc(100vw - 36px));
  }
  main {
    padding: 25px 20px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .button {
    font-size: 0;
    padding: 11px;
    gap: 0;
    min-width: 40px;
  }
  .page-heading .button .icon {
    width: 19px;
    height: 19px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .subtitle {
    font-size: 11px;
  }
  .hero {
    min-height: 225px;
    padding: 24px;
    align-items: flex-start;
  }
  .hero-copy {
    width: 69%;
  }
  .hero h2 {
    font-size: 22px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-meta {
    display: none;
  }
  .boat-illustration {
    right: -32px;
    bottom: 7px;
    width: 52%;
    height: 140px;
    opacity: 0.65;
  }
  .hero:after {
    right: -230px;
  }
  .hero-links {
    position: relative;
    z-index: 2;
  }
  .stats {
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 15px 14px;
  }
  .stat-top {
    font-size: 10px;
    gap: 3px;
  }
  .stat-icon {
    height: 25px;
    width: 25px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-note {
    font-size: 9px;
    line-height: 1.6;
  }
  .dashboard-grid > .stack {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > .stack > .tip {
    grid-column: auto;
  }
  .card-head {
    padding: 18px;
  }
  .card-head h2 {
    font-size: 14px;
  }
  .card-body {
    padding: 0 18px 20px;
  }
  .data-grid {
    gap: 12px;
  }
  .component-card {
    padding: 17px;
  }
  .component-card h3 {
    font-size: 12px;
  }
  .component-card p {
    font-size: 11px;
  }
  .component-card .verification {
    font-size: 9px;
  }
  .component-card .button {
    font-size: 10px;
    padding: 7px;
  }
  .overview-panel {
    padding: 20px;
    align-items: flex-start;
  }
  .overview-panel .actions {
    justify-content: flex-end;
  }
  .overview-panel h2 {
    font-size: 14px;
  }
  .overview-panel p {
    font-size: 10px;
  }
  .meter {
    font-size: 29px;
  }
  .toolbar {
    gap: 9px;
  }
  .toolbar input,
  .toolbar select {
    max-width: 180px;
    font-size: 11px;
  }
  .toolbar label {
    font-size: 10px;
  }
  .footer {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer span:last-child {
    display: none;
  }
  #toast {
    left: 50%;
  }
  .modal-header {
    padding: 20px;
  }
  .modal-content {
    padding: 20px;
  }
  .modal-footer {
    padding: 15px 20px;
  }
  .form-grid {
    gap: 14px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skip-link {
    left: 60px;
  }
  .help-content {
    padding: 20px;
  }
  .document-card {
    padding: 15px;
  }
  .document-card h3 {
    font-size: 12px;
  }
  .document-card .button {
    font-size: 10px;
    padding: 7px;
  }
  .photo-pair img {
    height: 130px;
  }
}
@media (max-width: 420px) {
  main {
    padding: 23px 14px;
  }
  .topbar {
    padding: 0 14px;
  }
  .topbar-right {
    gap: 10px;
  }
  .search-box input {
    width: 125px;
  }
  .topbar-right > .icon-button {
    display: none;
  }
  .hero {
    padding: 22px;
    min-height: 230px;
  }
  .hero-copy {
    width: 78%;
  }
  .hero h2 {
    font-size: 21px;
  }
  .hero p {
    max-width: 245px;
  }
  .boat-illustration {
    width: 54%;
    right: -30px;
    height: 120px;
  }
  .hero-links .button {
    font-size: 10px;
  }
  .stat-value {
    font-size: 23px;
  }
  .stat-note {
    font-size: 8px;
  }
  .data-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full,
  .form-section {
    grid-column: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-item.full {
    grid-column: auto;
  }
  .overview-panel {
    flex-wrap: wrap;
    gap: 16px;
  }
  .overview-panel .actions {
    justify-content: flex-start;
  }
  .search-results {
    right: -60px;
  }
  .connection {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .page-heading > .actions,
  .button,
  .icon-button,
  .footer {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .workspace {
    display: block;
  }
  main {
    padding: 0;
  }
  .hero {
    color: #123;
    background: #eee;
  }
  .hero p,
  .hero .eyebrow {
    color: #456;
  }
  .card,
  .stat {
    break-inside: avoid;
  }
  .dashboard-grid {
    display: block;
  }
  .stack {
    margin-top: 20px;
  }
}
