.transport-calculator-page {
    --transport-bg: #07111f;
    --transport-panel: rgba(10, 20, 35, 0.9);
    --transport-panel-solid: #0b1727;
    --transport-border: rgba(148, 163, 184, 0.18);
    --transport-muted: #91a6ba;
    --transport-text: #f8fafc;
    --transport-emerald: #34d399;
    --transport-sky: #38bdf8;
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 18px 76px;
    color: var(--transport-text);
}

.transport-calculator-page *,
.transport-calculator-page *::before,
.transport-calculator-page *::after {
    box-sizing: border-box;
}

.transport-hero,
.transport-mode-panel,
.transport-input-panel,
.transport-route-panel,
.transport-results-section,
.transport-basis {
    border: 1px solid var(--transport-border);
    border-radius: 12px;
    background: var(--transport-panel);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.transport-hero {
    position: relative;
    min-height: 310px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 46px 52px;
    background:
        linear-gradient(115deg, rgba(4, 17, 31, 0.98), rgba(8, 30, 48, 0.93)),
        radial-gradient(circle at 20% 20%, rgba(52, 211, 153, 0.2), transparent 38%);
}

.transport-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
    pointer-events: none;
}

.transport-hero__glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.24;
    pointer-events: none;
}

.transport-hero__glow--left {
    top: -130px;
    left: -100px;
    background: #10b981;
}

.transport-hero__glow--right {
    right: 40px;
    bottom: -180px;
    background: #0ea5e9;
}

.transport-hero__content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.transport-kicker,
.transport-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #92f7d3;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.transport-kicker {
    min-height: 34px;
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 7px;
    padding: 7px 12px;
    background: rgba(16, 185, 129, 0.09);
}

.transport-hero h1 {
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.transport-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: #bfd0df;
    font-size: 17px;
    line-height: 1.78;
}

.transport-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.transport-hero__facts span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.055);
    color: #9fb3c7;
    font-size: 13px;
}

.transport-hero__facts strong {
    color: #fff;
    font-size: 15px;
}

.transport-hero__visual {
    position: absolute;
    z-index: 1;
    right: 46px;
    bottom: 42px;
    width: min(24vw, 230px);
    height: 190px;
}

.transport-hero__visual img {
    position: absolute;
    image-rendering: pixelated;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.46));
}

.transport-hero__minecart {
    z-index: 2;
    top: 0;
    right: 20px;
    width: 170px;
    transform: rotate(4deg);
}

.transport-hero__rail {
    right: 6px;
    bottom: 0;
    width: 210px;
    transform: perspective(320px) rotateX(58deg) rotateZ(-4deg);
}

.transport-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(340px, 0.62fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.transport-mode-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 18px;
    padding: 24px 26px;
}

.transport-mode-panel__heading h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.transport-mode-panel__heading p {
    margin: 9px 0 0;
    color: #8298ad;
    font-size: 12px;
    line-height: 1.7;
}

.transport-mode-panel__body {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.transport-mode-select {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 9px;
    padding: 14px;
    background: rgba(2, 6, 23, 0.28);
}

.transport-mode-select > span {
    color: #92a8bc;
    font-size: 12px;
    font-weight: 800;
}

.transport-mode-select select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 8px;
    outline: none;
    padding: 0 11px;
    background: rgba(2, 6, 23, 0.72);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.transport-selected-mode-card {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(52, 211, 153, 0.22);
    border-radius: 9px;
    padding: 13px 15px;
    background: linear-gradient(120deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.07));
}

.transport-selected-mode-card > img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.transport-selected-mode-card > div span,
.transport-selected-mode-card p span {
    display: block;
    color: #8fa8b9;
    font-size: 10px;
    font-weight: 800;
}

.transport-selected-mode-card > div strong {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transport-selected-mode-card > div small {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #86a1b4;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transport-selected-mode-card p {
    min-width: 108px;
    margin: 0;
    border-left: 1px solid rgba(148, 163, 184, 0.14);
    padding-left: 14px;
    text-align: right;
}

.transport-selected-mode-card p strong {
    display: block;
    margin-top: 4px;
    color: #a8f4d8;
    font-size: 14px;
    font-weight: 950;
}

.transport-selected-mode-card p i {
    display: block;
    margin-top: 4px;
    color: #708ca0;
    font-size: 9px;
    font-style: normal;
}

.transport-input-panel,
.transport-route-panel,
.transport-results-section,
.transport-basis {
    padding: 26px;
}

.transport-route-panel {
    position: sticky;
    top: 86px;
}

.transport-panel-heading,
.transport-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.transport-panel-heading h2,
.transport-results-heading h2,
.transport-basis h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.transport-heading-actions {
    display: flex;
    gap: 8px;
}

.transport-icon-button,
.transport-copy-button {
    border: 1px solid var(--transport-border);
    background: rgba(255, 255, 255, 0.055);
    color: #cfe0f0;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.transport-icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.transport-copy-button {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
}

.transport-icon-button:hover,
.transport-copy-button:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.1);
    color: #fff;
}

.transport-point-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.transport-point-card {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    padding: 18px;
    background: rgba(2, 6, 23, 0.32);
}

.transport-point-card--emerald {
    box-shadow: inset 0 1px 0 rgba(52, 211, 153, 0.14);
}

.transport-point-card--sky {
    box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.14);
}

.transport-point-card legend {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 7px;
    color: #e8f2fb;
    font-size: 14px;
    font-weight: 900;
}

.transport-point-card__marker {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: linear-gradient(135deg, #34d399, #0ea5e9);
    color: #03131b;
    font-size: 12px;
    font-weight: 950;
}

.transport-paste-field,
.transport-axis-field,
.transport-settings-grid label {
    display: grid;
    gap: 7px;
}

.transport-paste-field {
    margin-top: 8px;
}

.transport-paste-field > span,
.transport-settings-grid label > span {
    color: #92a8bc;
    font-size: 12px;
    font-weight: 800;
}

.transport-paste-field input,
.transport-axis-field input,
.transport-settings-grid input,
.transport-settings-grid select,
.transport-search input {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.2);
    outline: none;
    background: rgba(2, 6, 23, 0.55);
    color: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.transport-paste-field input {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
}

.transport-paste-field input:focus,
.transport-axis-field input:focus,
.transport-settings-grid input:focus,
.transport-settings-grid select:focus,
.transport-search input:focus {
    border-color: rgba(56, 189, 248, 0.65);
    background: rgba(2, 6, 23, 0.78);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.09);
}

.transport-axis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.transport-axis-field span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    color: #6f879d;
    font-size: 10px;
}

.transport-axis-field strong {
    color: #c8d8e6;
    font-size: 12px;
}

.transport-axis-field input {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    padding: 0 9px;
    font-size: 14px;
    font-weight: 800;
}

.transport-axis-field input[aria-invalid="true"] {
    border-color: #fb7185;
}

.transport-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.transport-settings-grid.has-mode-setting {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transport-settings-grid > [hidden] {
    display: none;
}

.transport-settings-grid label {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 9px;
    padding: 13px;
    background: rgba(2, 6, 23, 0.27);
}

.transport-settings-grid input,
.transport-settings-grid select {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
}

.transport-settings-grid select {
    appearance: auto;
}

.transport-settings-grid small {
    color: #657d93;
    font-size: 10px;
    line-height: 1.5;
}

.transport-number-field {
    position: relative;
}

.transport-number-field input {
    padding-right: 48px;
}

.transport-number-field em {
    position: absolute;
    top: 50%;
    right: 9px;
    color: #70869b;
    font-size: 10px;
    font-style: normal;
    transform: translateY(-50%);
    pointer-events: none;
}

.transport-delta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.transport-delta-strip span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 7px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.035);
    color: #758ca1;
    font-size: 11px;
}

.transport-delta-strip strong {
    color: #cbd9e6;
}

.transport-direction-card {
    position: relative;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin-top: 22px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 10px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.09));
}

.transport-direction-card__label {
    color: #8eb0ac;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.transport-direction-card strong {
    margin-top: 8px;
    color: #fff;
    font-size: 27px;
    font-weight: 950;
}

.transport-direction-card__arrow {
    position: absolute;
    right: 20px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #80edce;
}

.transport-direction-card__arrow svg {
    width: 25px;
    height: 25px;
}

.transport-arrival-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    border: 1px solid rgba(250, 204, 21, 0.24);
    border-radius: 10px;
    padding: 14px;
    background: linear-gradient(120deg, rgba(250, 204, 21, 0.09), rgba(16, 185, 129, 0.08));
}

.transport-arrival-card > img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    image-rendering: pixelated;
}

.transport-arrival-card > div > span,
.transport-arrival-card p span {
    display: block;
    color: #8ea5b5;
    font-size: 10px;
    font-weight: 800;
}

.transport-arrival-card > div > span strong {
    color: #f5fbff;
}

.transport-arrival-card > div small {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #70889c;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transport-arrival-card p {
    margin: 0;
    text-align: right;
}

.transport-arrival-card p strong {
    display: block;
    margin-top: 4px;
    color: #fff3ad;
    font-size: 19px;
    font-weight: 950;
}

.transport-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.transport-metric-grid article {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 9px;
    padding: 14px;
    background: rgba(2, 6, 23, 0.3);
}

.transport-metric-grid span,
.transport-route-total span {
    display: block;
    color: #778ea3;
    font-size: 10px;
    font-weight: 800;
}

.transport-metric-grid strong {
    display: block;
    margin-top: 7px;
    overflow-wrap: anywhere;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
}

.transport-metric-grid small {
    display: block;
    margin-top: 4px;
    color: #5d7489;
    font-size: 9px;
}

.transport-route-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 9px;
    padding: 13px 14px;
    background: rgba(14, 165, 233, 0.07);
}

.transport-route-total strong {
    color: #a7e7ff;
    font-size: 13px;
}

.transport-results-section {
    margin-top: 18px;
}

.transport-results-heading p,
.transport-basis__heading p {
    margin: 9px 0 0;
    color: #8298ad;
    font-size: 13px;
    line-height: 1.7;
}

.transport-search {
    width: min(100%, 260px);
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    padding: 0 12px;
    background: rgba(2, 6, 23, 0.38);
    color: #71899f;
}

.transport-search input {
    width: 100%;
    height: 38px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
}

.transport-search input:focus {
    background: transparent;
    box-shadow: none;
}

.transport-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding-bottom: 14px;
}

.transport-filter-bar button {
    min-height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 7px;
    padding: 7px 13px;
    background: rgba(255, 255, 255, 0.035);
    color: #91a6ba;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.transport-filter-bar button.is-active {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.13);
    color: #d9fff3;
}

.transport-result-count {
    margin-left: auto;
    color: #71889d;
    font-size: 12px;
}

.transport-result-count strong {
    color: #d7e5f1;
}

.transport-fastest-card {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 10px;
    padding: 15px 18px;
    background: linear-gradient(120deg, rgba(250, 204, 21, 0.09), rgba(16, 185, 129, 0.08));
}

.transport-fastest-card__badge {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(250, 204, 21, 0.15);
    color: #fde047;
}

.transport-fastest-card > img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.transport-fastest-card > div:nth-of-type(2) span,
.transport-fastest-card p span {
    display: block;
    color: #8da1b3;
    font-size: 10px;
    font-weight: 800;
}

.transport-fastest-card > div:nth-of-type(2) strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 15px;
}

.transport-fastest-card > div:nth-of-type(2) small {
    display: block;
    margin-top: 3px;
    color: #d8b948;
    font-size: 11px;
}

.transport-fastest-card p {
    margin: 0;
    text-align: right;
}

.transport-fastest-card p strong {
    display: block;
    margin-top: 4px;
    color: #fff6b5;
    font-size: 20px;
    font-weight: 950;
}

.transport-result-table-head,
.transport-result-card {
    display: grid;
    grid-template-columns: 42px minmax(250px, 1.5fr) minmax(112px, 0.7fr) minmax(112px, 0.7fr) minmax(106px, 0.6fr) minmax(130px, 0.75fr);
    gap: 12px;
    align-items: center;
}

.transport-result-table-head {
    margin-top: 20px;
    padding: 0 15px 9px;
    color: #6d8398;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.transport-result-table-head span:first-child {
    text-align: center;
}

.transport-result-list {
    display: grid;
    gap: 7px;
}

.transport-result-card {
    position: relative;
    min-height: 76px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 9px;
    padding: 10px 15px;
    background: rgba(2, 6, 23, 0.28);
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.transport-result-card:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(6, 18, 33, 0.62);
}

.transport-result-card__rank {
    color: #647c92;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.transport-result-card:nth-child(-n + 3) .transport-result-card__rank {
    color: #facc15;
}

.transport-result-card__asset {
    position: absolute;
    left: 68px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.transport-result-card__asset img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    image-rendering: pixelated;
}

.transport-result-card__identity {
    min-width: 0;
    padding-left: 60px;
}

.transport-result-card__identity > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-result-card__identity strong {
    overflow: hidden;
    color: #edf5fc;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transport-result-card__identity span {
    flex: 0 0 auto;
    border-radius: 5px;
    padding: 3px 6px;
    background: rgba(56, 189, 248, 0.08);
    color: #7fcce9;
    font-size: 9px;
    font-weight: 850;
}

.transport-result-card__identity small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #698096;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transport-result-card__speed span,
.transport-result-card__distance span,
.transport-result-card__eta span {
    display: none;
}

.transport-result-card__speed strong,
.transport-result-card__distance strong {
    color: #b9cad9;
    font-size: 12px;
    font-weight: 800;
}

.transport-result-card__eta strong {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.transport-accuracy {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 6px;
    padding: 4px 7px;
    background: rgba(148, 163, 184, 0.07);
    color: #9fb0c1;
    font-size: 9px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.transport-accuracy--fixed {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(16, 185, 129, 0.1);
    color: #83ebcb;
}

.transport-accuracy--formula,
.transport-accuracy--derived {
    border-color: rgba(56, 189, 248, 0.22);
    background: rgba(14, 165, 233, 0.09);
    color: #8ad8f5;
}

.transport-accuracy--attribute,
.transport-accuracy--scenario,
.transport-accuracy--ideal {
    border-color: rgba(250, 204, 21, 0.21);
    background: rgba(250, 204, 21, 0.08);
    color: #e9cf67;
}

.transport-empty-state {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #70879b;
}

.transport-empty-state[hidden] {
    display: none;
}

.transport-empty-state strong {
    font-size: 13px;
}

.transport-basis {
    margin-top: 18px;
}

.transport-basis__heading {
    max-width: 840px;
}

.transport-basis__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.transport-basis__grid a,
.transport-basis__grid article {
    min-width: 0;
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 9px;
    padding: 15px;
    background: rgba(2, 6, 23, 0.3);
    color: #85d7f5;
    text-decoration: none;
}

.transport-basis__grid article {
    grid-template-columns: auto 1fr;
}

.transport-basis__grid strong,
.transport-basis__grid small {
    display: block;
}

.transport-basis__grid strong {
    color: #eaf4fc;
    font-size: 13px;
}

.transport-basis__grid small {
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: #748ba0;
    font-size: 10px;
    line-height: 1.5;
}

.transport-accuracy-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.11);
    padding-top: 14px;
}

.transport-accuracy-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6e859a;
    font-size: 10px;
}

.transport-toast {
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 28px;
    padding: 11px 16px;
    border: 1px solid rgba(52, 211, 153, 0.36);
    border-radius: 8px;
    background: #0b1e22;
    color: #bcffe9;
    font-size: 12px;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.transport-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
    .transport-mode-panel {
        grid-template-columns: 1fr;
    }

    .transport-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transport-result-table-head,
    .transport-result-card {
        grid-template-columns: 38px minmax(220px, 1.4fr) minmax(106px, 0.65fr) minmax(100px, 0.62fr) minmax(100px, 0.62fr) minmax(120px, 0.7fr);
        gap: 9px;
    }
}

@media (max-width: 940px) {
    .transport-workspace {
        grid-template-columns: 1fr;
    }

    .transport-route-panel {
        position: static;
    }

    .transport-hero__visual {
        opacity: 0.45;
    }

    .transport-result-table-head {
        display: none;
    }

    .transport-result-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
    }

    .transport-result-card {
        min-height: 190px;
        display: grid;
        grid-template-columns: 38px 1fr;
        grid-template-areas:
            "rank identity"
            "speed distance"
            "accuracy eta";
        gap: 12px;
        padding: 15px;
    }

    .transport-result-card__rank {
        grid-area: rank;
        align-self: start;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(148, 163, 184, 0.13);
        border-radius: 8px;
    }

    .transport-result-card__asset {
        top: 14px;
        left: 62px;
    }

    .transport-result-card__identity {
        grid-area: identity;
        align-self: start;
        min-height: 48px;
        padding-left: 55px;
    }

    .transport-result-card__speed {
        grid-area: speed;
    }

    .transport-result-card__distance {
        grid-area: distance;
    }

    .transport-result-card__accuracy {
        grid-area: accuracy;
        align-self: end;
    }

    .transport-result-card__eta {
        grid-area: eta;
        align-self: end;
        text-align: right;
    }

    .transport-result-card__speed span,
    .transport-result-card__distance span,
    .transport-result-card__eta span {
        display: block;
        margin-bottom: 5px;
        color: #657d93;
        font-size: 9px;
    }
}

@media (max-width: 720px) {
    .transport-calculator-page {
        padding: 22px 12px 56px;
    }

    .transport-hero {
        min-height: 340px;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .transport-hero h1 {
        font-size: 39px;
    }

    .transport-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .transport-hero__visual {
        right: -35px;
        bottom: -8px;
        width: 200px;
        transform: scale(0.72);
        transform-origin: bottom right;
    }

    .transport-input-panel,
    .transport-mode-panel,
    .transport-route-panel,
    .transport-results-section,
    .transport-basis {
        padding: 19px;
    }

    .transport-point-grid,
    .transport-mode-panel__body,
    .transport-basis__grid {
        grid-template-columns: 1fr;
    }

    .transport-results-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .transport-search {
        width: 100%;
    }

    .transport-result-list {
        grid-template-columns: 1fr;
    }

    .transport-fastest-card {
        grid-template-columns: auto auto 1fr;
    }

    .transport-fastest-card p {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
        padding-top: 10px;
        text-align: left;
    }

    .transport-fastest-card p strong {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .transport-kicker {
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .transport-hero h1 {
        font-size: 35px;
    }

    .transport-hero h1 span {
        white-space: nowrap;
    }

    .transport-panel-heading {
        align-items: flex-start;
    }

    .transport-panel-heading h2,
    .transport-results-heading h2,
    .transport-basis h2 {
        font-size: 21px;
    }

    .transport-axis-grid {
        gap: 6px;
    }

    .transport-settings-grid,
    .transport-metric-grid {
        grid-template-columns: 1fr;
    }

    .transport-settings-grid.has-mode-setting {
        grid-template-columns: 1fr;
    }

    .transport-selected-mode-card,
    .transport-arrival-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .transport-selected-mode-card p,
    .transport-arrival-card p {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        border-left: 0;
        padding: 9px 0 0;
        text-align: left;
    }

    .transport-selected-mode-card p strong,
    .transport-arrival-card p strong {
        margin-top: 0;
    }

    .transport-filter-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .transport-filter-bar button {
        padding-inline: 8px;
    }

    .transport-result-count {
        margin-left: 0;
        text-align: center;
    }

    .transport-accuracy-legend {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .transport-calculator-page *,
    .transport-calculator-page *::before,
    .transport-calculator-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
