@charset "UTF-8";
:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #e9eced;
  background: #101315;
  font-size: 14px;
  color-scheme: dark;
  --accent: #ff7348;
  --muted: #899397;
  --line: #2c3235;
  --panel: #191e21;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 11px 15px;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover,
.button:hover {
  filter: brightness(1.13);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: default;
  opacity: 0.4;
  filter: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.rail {
  width: 214px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 37px 20px;
  background: #14181a;
}
.wordmark {
  display: block;
  font-weight: 850;
  letter-spacing: 1px;
  font-size: 21px;
}
.logo {
  color: var(--accent);
  font-size: 30px;
  font-style: italic;
  letter-spacing: -8px;
  margin-right: 12px;
}
.wordmark-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 9px 0 0 39px;
}
.rail-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #677276;
  margin: 64px 14px 18px;
}
.nav {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px;
  font-size: 12px;
  color: #a1aaae;
  border-radius: 5px;
  margin: 6px 0;
}
.nav span {
  font-size: 18px;
}
.nav.active {
  background: #ff734813;
  color: #ff885f;
  border: 1px solid #ff73482a;
}
.nav:hover {
  background: #ffffff08;
}
.rail-bottom {
  position: absolute;
  bottom: 33px;
  left: 30px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #99a3a8;
}
.rail-bottom p {
  font-size: 11px;
  letter-spacing: 0;
  color: #5e6c73;
  margin: 10px 0 30px;
}
.version {
  font-size: 8px;
  color: #5e6c73;
}
.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #6e787c;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.orange {
  background: var(--accent);
}
.workspace {
  margin-left: 214px;
}
.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #79858b;
}
.topbar strong {
  color: #ccd3d6;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 11px;
}
.slash {
  margin: 0 16px;
  color: #455056;
}
.connection {
  display: flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0;
  font-size: 11px;
}
.connection i {
  width: 6px;
  height: 6px;
  background: #d49c58;
  border-radius: 50%;
}
.connection.connected i {
  background: #83c79c;
}
.connection.connected {
  color: #a0c8ad;
}
main {
  max-width: 1550px;
  margin: auto;
  padding: 35px 38px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
}
h1 {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1.1px;
  margin: 11px 0 8px;
}
h1 > span {
  color: var(--accent);
}
.page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.secondary {
  background: #202629;
  border-color: #394145;
  color: #d7dfe2;
}
.primary {
  background: var(--accent);
  color: #171c1e;
  border-color: var(--accent);
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}
.main-column,
.side-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 10px;
}
h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.1px;
}
.subtle {
  font-size: 10px;
  color: #8c989e;
  white-space: nowrap;
}
.separator {
  color: #526168;
  margin: 0 9px;
}
.preview {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #242b2e;
  background-image:
    linear-gradient(45deg, #ffffff02 25%, transparent 25%),
    linear-gradient(-45deg, #ffffff02 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ffffff02 75%),
    linear-gradient(-45deg, transparent 75%, #ffffff02 75%);
  background-size: 24px 24px;
  background-position:
    0 0,
    0 12px,
    12px -12px,
    -12px 0;
  margin: 0 12px;
  border: 1px solid #ffffff06;
  overflow: hidden;
}
.preview:before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid #ffffff0c;
  border-radius: 2px;
}
.preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
.preview-guide {
  position: absolute;
  inset: 38% 0 auto;
  text-align: center;
}
.preview-guide > span {
  font-size: 9px;
  letter-spacing: 3px;
  color: #69777d;
}
.preview-guide p {
  font-size: 11px;
  color: #59696f;
}
.preview-corner {
  position: absolute;
  top: 16px;
  left: 17px;
  font-size: 7px;
  letter-spacing: 1.8px;
  color: #66777f;
}
.preview-footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  font-size: 10px;
  color: #8c989e;
}
.checker-icon {
  display: inline-block;
  width: 11px;
  height: 11px;
  vertical-align: middle;
  margin-left: 6px;
  background: repeating-conic-gradient(#8c989e 0% 25%, transparent 0% 50%) 0
    0/6px 6px;
  border: 1px solid #8c989e;
}
.section-description {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #b3bcc0;
  cursor: pointer;
  position: relative;
}
.switch-label input {
  position: absolute;
  right: 0;
  opacity: 0;
  width: 32px;
  height: 22px;
  cursor: pointer;
}
.switch {
  height: 19px;
  width: 33px;
  border-radius: 20px;
  background: #414c52;
  padding: 3px;
  pointer-events: none;
}
.switch:before {
  content: "";
  display: block;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background: #c5ccd0;
  transition: transform 0.2s;
}
.switch-label input:checked + .switch {
  background: var(--accent);
}
.switch-label input:checked + .switch:before {
  transform: translateX(14px);
  background: #171c1e;
}
.switch-label input:focus-visible + .switch {
  outline: 2px solid white;
  outline-offset: 3px;
}
.transport-buttons {
  display: flex;
  gap: 10px;
  padding: 0 22px 20px;
}
.transport-buttons .primary {
  flex: 1;
  justify-content: space-between;
}
.transport-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 10px 22px;
  font-size: 10px;
  color: var(--muted);
  align-items: center;
}
.text-button {
  padding: 4px 0;
  color: #b5bfc4;
  font-size: 10px;
  background: none;
  border: 0;
  font-weight: 400;
}
.provider-message {
  font-size: 11px;
  color: #dca37e;
  padding: 0 22px;
  margin: 0 0 12px;
}
.provider-message:empty {
  display: none;
}
.tag {
  font-size: 8px;
  letter-spacing: 1px;
  color: #85939b;
  border: 1px solid #354148;
  padding: 5px 7px;
  border-radius: 3px;
  white-space: nowrap;
}
.manual-panel form {
  padding: 0 22px 20px;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.crew-fields {
  grid-template-columns: 92px 1fr 1fr;
}
.time-fields {
  grid-template-columns: 1.1fr 1fr 1fr;
  margin-top: 17px;
}
label {
  display: block;
  font-size: 10px;
  color: #c3ccd0;
  font-weight: 500;
}
label > span {
  font-size: 9px;
  color: #6f7f87;
  font-weight: 400;
  margin-left: 4px;
}
input {
  width: 100%;
  min-width: 0;
  display: block;
  background: #12181b;
  color: #e1e7e9;
  border: 1px solid #354047;
  border-radius: 4px;
  padding: 11px 12px;
  margin-top: 8px;
  font-size: 12px;
}
input::placeholder {
  color: #687a83;
}
small {
  font-size: 9px;
  color: #73838b;
  display: block;
  margin-top: 6px;
}
input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-footer {
  margin-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.form-footer > span {
  font-size: 9px;
  color: #7b8a92;
  max-width: 220px;
  line-height: 1.5;
}
.form-footer .primary {
  white-space: nowrap;
  font-size: 11px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 8px;
  color: #7e8e96;
  letter-spacing: 1.3px;
  font-weight: 500;
  padding: 0 22px 13px;
}
td {
  padding: 14px 22px;
  border-top: 1px solid #2c363c;
  font-size: 11px;
}
td:first-child {
  color: var(--accent);
  font-weight: 600;
}
td small {
  font-size: 9px;
  margin-top: 4px;
}
td:nth-child(4) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
td:last-child {
  text-align: right;
}
td .text-button {
  color: var(--accent);
}
.empty {
  text-align: center !important;
  padding: 28px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}
.settings-panel form {
  padding: 0 22px 23px;
}
.settings-panel label {
  margin-bottom: 17px;
}
.small-icon {
  font-size: 18px;
  color: #6e7d83;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 23px 0;
}
.mini-heading {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #8d9ba1;
  margin-bottom: 18px;
}
.input-unit {
  position: relative;
}
.input-unit input {
  padding-right: 44px;
  font-variant-numeric: tabular-nums;
}
.input-unit span {
  position: absolute;
  right: 13px;
  top: 12px;
  font-size: 10px;
  color: #6e818b;
}
.field-help {
  font-size: 10px;
  line-height: 1.7;
  color: #798b94;
  margin: 4px 0 20px;
}
.full {
  width: 100%;
  font-size: 10px;
}
.moblin-panel {
  padding: 23px 22px;
  background: linear-gradient(140deg, #222824, #191e21 70%);
}
.moblin-panel .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #a9b49a;
}
.moblin-panel h2 {
  font-size: 19px;
  margin-top: 13px;
  font-weight: 500;
}
.moblin-panel h2 span {
  float: right;
  color: #8c9a81;
}
.moblin-panel > p {
  font-size: 11px;
  line-height: 1.8;
  color: #92a0a7;
  margin: 15px 0;
}
.moblin-panel p strong {
  font-weight: 500;
  color: #c4cdd0;
}
.url-field {
  display: flex;
  border: 1px solid #3a4849;
  border-radius: 4px;
  overflow: hidden;
  background: #101819;
}
.url-field input {
  border: 0;
  background: transparent;
  margin: 0;
  font-size: 10px;
  color: #c3d2c7;
  padding: 12px 9px;
  border-radius: 0;
}
.url-field button {
  padding: 6px 10px;
  background: transparent;
  color: #a8bab0;
  border-radius: 0;
  border-left: 1px solid #3a4849;
  font-size: 18px;
}
.resolution {
  display: flex;
  gap: 23px;
  font-size: 9px;
  color: #7c8e93;
  padding: 15px 0;
  border-bottom: 1px solid #303b3c;
}
.resolution b {
  font-size: 10px;
  color: #c2ced1;
  font-weight: 500;
  margin-left: 8px;
}
.tip {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.tip > span {
  border: 1px solid #63746b;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  text-align: center;
  font-size: 10px;
  color: #8c9c91;
}
.tip p {
  margin: 0;
  color: #82958c;
  font-size: 10px;
  line-height: 1.6;
}
.storage-note {
  font-size: 10px;
  line-height: 1.7;
  color: #6c7d87;
  padding: 0 8px;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 9px;
  color: #566b75;
}
.page-footer > span:first-child {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.page-footer b {
  color: #8c6455;
  font-weight: 600;
  margin-left: 4px;
}
.notice {
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1px solid #648675;
  background: #20382c;
  border-radius: 5px;
  font-size: 12px;
}
.notice.error {
  background: #39251f;
  border-color: #9b5e45;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.login-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
}
.login-card {
  width: min(400px, 90vw);
  padding: 32px;
}
.login-card h1 {
  font-size: 25px;
}
.login-card label {
  margin: 24px 0;
}
.login-card .wordmark {
  margin-bottom: 35px;
}
.login-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
@media (min-width: 1550px) {
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 325px;
  }
}
@media (max-width: 1150px) {
  .rail {
    width: 180px;
    padding: 30px 14px;
  }
  .wordmark {
    font-size: 17px;
  }
  .rail-label {
    font-size: 8px;
  }
  .workspace {
    margin-left: 180px;
  }
  main {
    padding: 28px 24px 0;
  }
  .topbar {
    padding: 0 24px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 16px;
  }
  .panel-heading {
    padding: 17px;
  }
  .transport-buttons {
    padding: 0 17px 17px;
    flex-wrap: wrap;
  }
  .transport-buttons .primary {
    flex-basis: 100%;
  }
  .manual-panel form {
    padding: 0 17px 17px;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .crew-fields {
    grid-template-columns: 70px 1fr;
  }
  .crew-fields label:last-child {
    grid-column: 1/-1;
  }
  .time-fields {
    grid-template-columns: 1fr 1fr;
  }
  .time-fields label:first-child {
    grid-column: 1/-1;
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
  h1 {
    font-size: 27px;
  }
  .open-overlay {
    font-size: 10px;
    padding: 10px;
  }
}
@media (max-width: 850px) {
  .rail {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
  .topbar {
    height: 55px;
  }
}
@media (max-width: 650px) {
  main {
    padding: 24px 16px 0;
  }
  .topbar {
    padding: 0 16px;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .open-overlay {
    display: none;
  }
  .side-column {
    display: grid;
    grid-template-columns: 1fr;
  }
  .crew-fields {
    grid-template-columns: 75px 1fr;
  }
  .time-fields {
    grid-template-columns: 1fr 1fr;
  }
  .form-footer {
    align-items: stretch;
  }
  .form-footer > span {
    max-width: none;
  }
  .transport-buttons .primary {
    flex-basis: auto;
  }
  .preview-guide p {
    font-size: 9px;
  }
  .panel-heading {
    padding: 17px;
  }
  .tag {
    font-size: 7px;
  }
  .page-footer {
    gap: 10px;
  }
  .page-footer > span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.rally-controls {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 0 22px;
}
.rally-controls label:first-child {
  width: 140px;
  flex-shrink: 0;
}
.rally-controls label:nth-child(2) {
  flex: 1;
  min-width: 0;
}
select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px 9px;
  border: 1px solid #354047;
  border-radius: 4px;
  background: #12181b;
  color: #d8e1e5;
  font: inherit;
  font-size: 12px;
}
.rally-controls > button {
  height: 39px;
}
.catalog-help {
  margin: 12px 22px 18px;
  font-size: 10px;
  color: #7b8c94;
  line-height: 1.6;
}
.rally-panel details {
  border-top: 1px solid var(--line);
  padding: 15px 22px;
}
.rally-panel summary {
  cursor: pointer;
  font-size: 11px;
  color: #e49776;
  list-style: none;
}
.rally-panel form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.rally-panel form label:first-child {
  flex: 1;
  min-width: 170px;
}
.rally-panel form button {
  font-size: 10px;
}
@media (max-width: 1150px) {
  .rally-controls {
    flex-wrap: wrap;
  }
  .rally-controls label:nth-child(2) {
    min-width: 140px;
  }
  .rally-controls > button {
    margin-left: auto;
  }
}
.preview iframe {
  color-scheme: normal;
  background: transparent;
}

#ffsaForm, #rallygtForm { display: grid; gap: 10px; margin: 16px 0; }

.wordmark .brand-logo { width: 56px; height: 56px; object-fit: contain; vertical-align: middle; margin-right: 8px; border-radius: 5px; flex-shrink: 0; }
.rail .wordmark .brand-logo { display: block; width: 80px; height: 80px; margin: 0 0 12px; }
.login-card .wordmark .brand-logo { width: 72px; height: 72px; }

.top-five-panel { padding: 22px; }
.top-five-panel .panel-heading { padding: 0 0 18px; }
.top-five-controls { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.top-five-controls label { flex: 1; min-width: 190px; }
#topStatus { color: var(--muted); font-size: 13px; }
.top-five-panel .transport-buttons { padding: 18px 0; }

label[hidden] { display: none; }
.color-fields { display: flex; gap: 10px; align-items: center; }
.color-fields input[type="color"] { width: 52px; height: 40px; padding: 3px; flex-shrink: 0; cursor: pointer; }
.color-fields input[type="text"], #accentHex { min-width: 0; }
#logoFile { max-width: 100%; font-size: 11px; }
.branding-preview { --accent: #DD0A14; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; margin-bottom: 14px; background: #12191d; border-left: 4px solid var(--accent); color: var(--accent-text, #f09195); }
.branding-preview img { width: auto; max-width: 75%; height: 52px; object-fit: contain; }
.logo-reset { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; margin-bottom: 12px; font-size: 11px; }
.logo-reset img { width: 24px; height: 24px; object-fit: contain; }
