:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f2f5ff;
  background: #050a15;
  --lime: #d8f56a;
  --muted: #9eacc6;
  --line: #2a3650;
  --panel: #111d33;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--lime);
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.shell {
  max-width: 540px;
  margin: auto;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 100% 15%, #1a2b4c 0, transparent 55%), #0a1224;
  box-shadow: 0 0 80px #0007;
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
}
header {
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  background: #0b1427ee;
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 25px;
  color: #f1f5ff;
  letter-spacing: -0.8px;
}
.brand img {
  border-radius: 9px;
}
.badge {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
main {
  padding: 23px 20px;
}
.mode {
  padding: 8px 20px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #c8d9a8;
  background: #263522;
}
h1 {
  font-size: 31px;
  line-height: 1.13;
  letter-spacing: -1px;
  margin: 12px 0 16px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 10px 0 16px;
}
h3 {
  font-size: 17px;
  margin: 5px 0 12px;
}
p {
  line-height: 1.65;
  font-size: 14px;
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 1.6px;
  font-weight: 700;
}
.lime {
  color: var(--lime);
}
.muted,
.small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  margin: 16px 0;
}
.card.active {
  border-color: #8ba84a;
}
.card p:last-child {
  margin-bottom: 0;
}
.glow {
  background: linear-gradient(125deg, #253847, #15203a);
  border-color: #46583c;
}
.flex {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.flex.wrap {
  flex-wrap: wrap;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: block;
  margin: 13px 0;
}
.field > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #a6b5cd;
  font-weight: 600;
  margin-bottom: 7px;
  text-transform: uppercase;
}
input,
select,
textarea {
  display: block;
  border: 1px solid #34425f;
  border-radius: 10px;
  background: #19253e;
  color: #f2f5ff;
  width: 100%;
  padding: 13px 12px;
  min-height: 46px;
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #8290a8;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
select {
  appearance: auto;
}
button,
.button {
  border: 0;
  border-radius: 10px;
  padding: 13px 17px;
  background: var(--lime);
  color: #101b2d;
  font-weight: 750;
  font-size: 13px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.full {
  width: 100%;
}
.secondary {
  background: #25324b;
  color: #e3e9f6;
}
.ghost {
  background: transparent;
  color: var(--lime);
}
.danger {
  background: #492d3c;
  color: #ffd1d1;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}
.actions > * {
  flex: 1;
}
.price {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 12px 0;
}
.price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.toggle {
  display: flex;
  background: #19253e;
  border-radius: 11px;
  padding: 4px;
  margin: 16px 0;
}
.toggle button {
  flex: 1;
  background: transparent;
  color: var(--muted);
  padding: 9px;
}
.toggle .selected {
  background: var(--lime);
  color: #0b1427;
}
.notice {
  background: #24324b;
  border-left: 3px solid #d8f56a;
  padding: 13px 15px;
  border-radius: 8px;
  color: #d6def0;
  font-size: 12px;
  line-height: 1.7;
}
.status {
  display: inline-flex;
  font-size: 10px;
  letter-spacing: 0.7px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  background: #27394a;
  padding: 6px 10px;
  color: #d8f56a;
}
.status.cancelled,
.status.disabled {
  color: #ffb6b6;
  background: #432a3d;
}
.status.completed {
  background: #203e36;
}
.stat {
  font-size: 22px;
  font-weight: 800;
  color: #f4f7ff;
}
.meta {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 6px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 19px 0;
}
.route {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
}
.route .points {
  color: var(--lime);
  font-size: 17px;
  line-height: 2.7;
}
.route p {
  color: #e7edf8;
  font-size: 13px;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.route small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.route-visual {
  height: 145px;
  border: 1px solid #30445a;
  border-radius: 17px;
  position: relative;
  overflow: hidden;
  background: #16273a;
  margin: 19px 0;
}
.route-visual svg {
  width: 100%;
  height: 100%;
}
.route-visual span {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: #122239e8;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 10px;
  color: #aab9ce;
}
.empty {
  text-align: center;
  padding: 32px 20px;
}
.empty svg {
  width: 43px;
  height: 43px;
  color: var(--lime);
}
nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, 100%);
  z-index: 4;
  display: flex;
  background: #101b30f5;
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
}
nav:empty {
  display: none;
}
nav button {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: transparent;
  color: #96a5c0;
  padding: 5px 3px;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  min-height: 49px;
}
nav button.current {
  color: var(--lime);
}
svg.icon {
  height: 23px;
  width: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #d8f56a;
  color: #0b1427;
  max-width: min(490px, 90%);
  padding: 15px 18px;
  border-radius: 11px;
  font-size: 13px;
  box-shadow: 0 5px 30px #0007;
}
dialog {
  background: #111d33;
  border: 1px solid #3b4c69;
  border-radius: 20px;
  color: #f0f4ff;
  padding: 24px;
  width: min(490px, 94vw);
  max-height: 88dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #030917bd;
  backdrop-filter: blur(5px);
}
dialog > .secondary {
  margin-top: 13px;
}
.loading {
  text-align: center;
  padding: 50px 0;
  color: var(--muted);
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #283b4b;
  color: var(--lime);
  font-size: 20px;
  font-weight: 700;
}
.listline {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.listline:last-child {
  border-bottom: 0;
}
.break {
  overflow-wrap: anywhere;
}
.scrolltabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 17px 0;
}
.scrolltabs button {
  white-space: nowrap;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 15px 0;
}
.checkline input {
  width: 19px;
  min-height: 19px;
  margin-top: 2px;
}
#dialogContent .small {
  margin-top: 10px;
}
@media (min-width: 800px) {
  body {
    padding: 25px 0;
  }
  .shell {
    border: 1px solid #28344b;
    border-radius: 26px;
    overflow: clip;
  }
  header {
    border-radius: 25px 25px 0 0;
  }
  nav {
    border-radius: 15px 15px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
