@charset "UTF-8";
:root {
  --ink: #182b30;
  --muted: #6c7a7c;
  --paper: #f4f6f5;
  --line: #e1e7e4;
  --white: #fff;
  --nav: #132d30;
  --lime: #d5f36a;
  --green: #14695a;
  --radius: 14px;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 12px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 18px;
}
h3 {
  font-size: 16px;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 12px;
  margin: 8px 0;
}
.block {
  display: block;
}
.eyebrow {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 1.5px;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  display: block;
  letter-spacing: 0;
  font-size: 10px;
  font-weight: 400;
  color: #a9bebe;
  margin-top: 3px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--nav);
  background: var(--lime);
  border-radius: 11px;
  font-size: 30px;
}
.sidebar {
  width: 248px;
  background: var(--nav);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 29px 18px 0;
  z-index: 20;
}
.sidebar .brand {
  margin: 0 10px 34px;
}
.sidebar nav {
  overflow-y: auto;
  flex: 1;
  padding-bottom: 24px;
  scrollbar-width: thin;
}
.sidebar nav a {
  display: block;
  color: #b9c9c8;
  padding: 10px 16px;
  margin: 2px 0;
  border-radius: 8px;
  font-size: 13px;
}
.sidebar nav a:hover,
.sidebar nav a.current {
  color: var(--lime);
  background: #244143;
  text-decoration: none;
}
.nav-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #829d9c;
  padding: 24px 16px 8px;
}
.sidebar footer {
  border-top: 1px solid #355053;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 4px;
  color: #e3ece8;
  min-height: 82px;
}
.sidebar footer > div {
  min-width: 0;
  flex: 1;
}
.sidebar footer strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
.sidebar footer small {
  color: #99aeac;
}
.avatar {
  display: grid;
  place-items: center;
  background: #38575a;
  border-radius: 50%;
  height: 32px;
  width: 32px;
}
.main-wrap {
  margin-left: 248px;
  min-height: 100vh;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #ffffffa8;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  padding: 0 12px;
  color: #c2cdca;
}
.environment {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
}
.environment:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #62a28a;
  border-radius: 50%;
  margin-right: 7px;
}
main#main {
  padding: 36px 38px;
  max-width: 1680px;
  margin: auto;
  min-height: calc(100vh - 134px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  font-size: 12px;
  min-height: 42px;
}
.button:hover {
  text-decoration: none;
  filter: brightness(0.97);
}
.primary {
  background: var(--green);
  color: white;
}
.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}
.ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}
.button-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 8px;
  color: inherit;
  font-size: 21px;
  line-height: 1;
}
.mobile-menu {
  display: none;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  margin-bottom: 12px;
}
.text-button {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--green);
  font-size: 12px;
}
.small {
  gap: 18px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.stat-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
a.stat-card:hover {
  text-decoration: none;
  border-color: #8caf9a;
}
.stat-card span {
  color: var(--muted);
  font-size: 12px;
}
.stat-card strong {
  display: block;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 12px 0;
}
.stat-card small {
  color: var(--muted);
}
.stat-card.highlight {
  background: var(--lime);
  border-color: var(--lime);
}
.highlight span,
.highlight small {
  color: #486026;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.padded {
  padding: 26px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > div > h2 {
  margin-bottom: 8px;
}
.section-heading > a {
  font-size: 12px;
}
.panel > .section-heading {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}
.padded > .section-heading {
  padding: 0;
  border: 0;
  margin-bottom: 20px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  padding: 14px 22px;
  background: #fafcfb;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #edf0ee;
  font-size: 12px;
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfdfb;
}
td a {
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 58px 24px;
  color: var(--muted);
}
.empty h3 {
  color: var(--ink);
  margin: 14px 0 8px;
}
.empty p {
  max-width: 440px;
  margin: 0 auto;
}
.empty-icon {
  display: grid;
  place-items: center;
  background: #eff4ec;
  color: #84a579;
  height: 50px;
  width: 50px;
  border-radius: 14px;
  margin: auto;
  font-size: 25px;
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  font-size: 10px;
  color: #657977;
  background: #eef3f1;
  border-radius: 6px;
  white-space: nowrap;
}
.green {
  color: #277b59;
  background: #eaf5ed;
}
.amber {
  color: #906620;
  background: #fcf2dc;
}
.count {
  margin-left: 12px;
  font-size: 17px;
  color: var(--muted);
  font-weight: 400;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  padding: 22px;
  flex-wrap: wrap;
}
.padded .toolbar {
  padding: 0;
}
.toolbar label {
  margin: 0;
}
.search-label {
  flex: 1;
  min-width: 200px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pagination .button {
  padding: 6px 12px;
  min-height: 32px;
}
.page-footer {
  height: 58px;
  padding: 14px 38px;
  color: #92a09a;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 18px;
}
label > span:first-child {
  display: block;
  margin-bottom: 7px;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8e1dc;
  background: white;
  border-radius: 7px;
  color: var(--ink);
  margin-top: 7px;
  min-height: 43px;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #14695a12;
}
input[readonly] {
  background: #f6f8f6;
  color: var(--muted);
}
textarea {
  resize: vertical;
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 1px 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.check > span:first-child {
  margin: 0;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  margin: 0 0 20px;
  min-width: 0;
}
legend {
  font-size: 12px;
  padding: 0 7px;
  font-weight: 600;
}
.form-panel {
  max-width: 900px;
}
.action-form {
  max-width: 740px;
}
.form-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 20px 0;
}
.finance-table td {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .finance-table,
  .finance-table tbody,
  .finance-table tr,
  .finance-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .finance-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .finance-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .finance-table td {
    padding: 5px 0;
    border: 0;
  }
  .finance-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 11px;
  }
}
.details-grid > div {
  min-width: 0;
}
.details-grid dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.details-grid dd {
  margin: 0;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
dd {
  margin: 4px 0 16px;
  overflow-wrap: anywhere;
}
dt {
  font-size: 11px;
  color: var(--muted);
}
.history-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 12px;
}
summary > span {
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.diff-grid > div,
.diff-grid pre {
  min-width: 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f8f5;
  border-radius: 8px;
  padding: 16px;
  font-size: 11px;
  max-height: 500px;
  overflow: auto;
}
code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.notice {
  border: 1px solid #d7e7cf;
  background: #f2f8ed;
  border-radius: 9px;
  color: #4c6940;
  font-size: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.action-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
}
.action-card h3 {
  margin: 14px 0 6px;
  font-size: 14px;
  line-height: 1.5;
}
.action-card h3 a {
  color: var(--ink);
}
.action-category {
  margin-bottom: 30px;
}
.action-category h2 {
  font-size: 16px;
}
.form-grid,
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}
.filter-grid .button {
  margin-bottom: 18px;
}
.permissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  margin-top: 14px;
}
.permission-category {
  margin-top: 24px;
}
.permission-category .check {
  margin: 6px 0;
}
.permission-category legend .check {
  align-items: center;
}
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.tag-list code {
  padding: 6px 10px;
  background: #f1f5f1;
  border-radius: 6px;
}
.truncate {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.success-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: #35652b;
  font-size: 25px;
  margin-bottom: 18px;
}
.error-panel {
  margin: 40px auto;
  max-width: 650px;
}
.auth-body {
  background: var(--nav);
  min-height: 100vh;
}
.auth-shell {
  max-width: 460px;
  margin: auto;
  padding: 70px 20px;
}
.auth-brand {
  margin-bottom: 38px;
  justify-content: center;
}
.auth-card {
  border-radius: 20px;
  background: var(--white);
  padding: 38px;
}
.auth-card h1 {
  font-size: 27px;
}
.auth-card > p {
  font-size: 12px;
  margin-bottom: 26px;
}
.wide {
  width: 100%;
}
.auth-card .alternative {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.alternative summary {
  color: var(--green);
  font-weight: 600;
}
.alternative form {
  margin-top: 20px;
}
.auth-card .text-link {
  margin-top: 20px;
}
.auth-shell .error-panel {
  background: white;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  width: min(680px, calc(100% - 32px));
  max-height: 85vh;
  color: var(--ink);
}
dialog::backdrop {
  background: #102b2aa3;
}
.registry-results {
  margin: 16px 0;
  max-height: 40vh;
  overflow: auto;
}
.registry-row {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.registry-row input:disabled + span {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
@media (min-width: 1500px) {
  .stats {
    gap: 24px;
  }
  .action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 220px;
  }
  .main-wrap {
    margin-left: 220px;
  }
  .topbar {
    padding: 0 24px;
  }
  main#main {
    padding: 28px 24px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-footer {
    padding: 14px 24px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 268px;
    transition: transform 0.2s;
  }
  .menu-open .sidebar {
    transform: translateX(0);
    box-shadow: 10px 0 50px #0005;
  }
  .main-wrap {
    margin-left: 0;
  }
  .mobile-menu {
    display: block;
  }
  .topbar {
    height: 62px;
    padding: 0 16px;
    gap: 12px;
  }
  .breadcrumb {
    flex: 1;
    font-size: 11px;
  }
  .environment {
    display: none;
  }
  main#main {
    padding: 25px 16px;
    min-height: calc(100vh - 120px);
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 22px;
  }
  .page-heading > .button {
    width: 100%;
  }
  .stats {
    gap: 12px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card strong {
    font-size: 31px;
    margin: 8px 0;
  }
  .panel {
    border-radius: 11px;
  }
  .padded {
    padding: 19px;
  }
  .panel > .section-heading {
    padding: 20px;
  }
  .action-grid,
  .permissions-grid,
  .form-grid,
  .filter-grid,
  .details-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .action-card {
    padding: 18px;
  }
  .button-row {
    width: 100%;
  }
  .button-row .button {
    flex: 1;
  }
  .toolbar {
    padding: 17px;
  }
  .toolbar .text-link {
    margin: 0;
  }
  .pagination {
    padding: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-footer {
    padding: 14px 16px;
    font-size: 9px;
  }
  .auth-shell {
    padding: 36px 18px;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .auth-brand {
    margin-bottom: 28px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .history-item summary > span {
    float: none;
    display: block;
    margin-top: 5px;
  }
  .form-footer {
    flex-wrap: wrap;
  }
  .form-footer .button {
    flex: 1;
  }
  .topbar .breadcrumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .count {
    font-size: 14px;
  }
}

.seat-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 320px;
  margin: 26px auto;
  padding: 24px 18px;
  border: 2px solid var(--line);
  border-radius: 38px 38px 18px 18px;
}
.seat {
  grid-row: var(--row);
  grid-column: var(--col);
  padding: 10px 3px;
  border: 1px solid #c9ded0;
  background: #f0f7ed;
  text-align: center;
  border-radius: 10px;
}
.seat strong {
  display: block;
  font-size: 16px;
}
.seat small {
  font-size: 8px;
  color: var(--muted);
}
.seat.occupied {
  background: #f5eedc;
  border-color: #e5d6ad;
}

.seat.r0 {
  grid-row: 1;
}
.seat.r1 {
  grid-row: 2;
}
.seat.r2 {
  grid-row: 3;
}
.seat.r3 {
  grid-row: 4;
}
.seat.r4 {
  grid-row: 5;
}
.seat.r5 {
  grid-row: 6;
}
.seat.c0 {
  grid-column: 1;
}
.seat.c1 {
  grid-column: 2;
}
.seat.c2 {
  grid-column: 3;
}
.seat.c3 {
  grid-column: 4;
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 20px;
}
.training-lesson {
  min-width: 0;
  margin-bottom: 0;
}
.training-lesson[data-satisfied='true'] {
  border-top: 3px solid var(--lime);
}
.training-lesson form {
  display: grid;
  gap: 16px;
}
.training-lesson input {
  width: 100%;
}
.training-environment {
  background: #ffe59a;
  color: #3d3216;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}

.fx-rate-value { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

.stock-links, .stock-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 24px; }
.stock-links a { padding: 10px 14px; border: 1px solid #dce2df; border-radius: 10px; background: #fff; }
.stock-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.stock-card { display: grid; gap: 12px; padding: 20px; border: 1px solid #dce2df; border-radius: 12px; }
.stock-card span { color: #68716e; }
.stock-instance-card { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: start; gap: 28px; }
.stock-label { margin: 0; text-align: center; }
.stock-label img { display: block; max-width: 100%; height: auto; margin: 0 auto 12px; background: white; }
.stock-label figcaption { display: grid; gap: 12px; }
.stock-id { display: block; overflow-wrap: anywhere; font-size: 12px; font-variant-numeric: tabular-nums; }
.sidebar-close { display: none; }
@media(max-width: 760px) { .sidebar-close { display: grid; position: absolute; right: 8px; top: 8px; color: #fff; width: 32px; height: 32px; } }
.stock-lookup { margin-bottom: 20px; }
.stock-lookup-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stock-lookup-controls input { min-width: 150px; flex: 1; }
.stock-entry { border: 1px solid #dce2df; border-radius: 12px; padding: 20px; margin: 20px 0; }
.stock-entry legend { padding: 0 8px; font-weight: 700; }
.stock-source { display: grid; gap: 8px; padding: 16px; margin: 12px 0; border: 1px solid #dce2df; border-radius: 10px; overflow-wrap: anywhere; }
.stock-source input[type="checkbox"] { width: 20px; height: 20px; }
@media(max-width: 700px) { .stock-instance-card { grid-template-columns: minmax(0,1fr); } .stock-filters { align-items: stretch; flex-direction: column; } .stock-label { max-width: 260px; margin: auto; } }
