:root {
    --cs-shell-bg: #0b1220;
    --cs-map-port: #0d6efd;
    --cs-map-ship: #0f766e;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
}
.main-shell {
    flex: 1;
}
.hero-card {
    background: radial-gradient(circle at top right, rgba(13,110,253,0.18), transparent 40%), linear-gradient(135deg, #0f172a, #111827 60%, #1e293b);
    color: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.18);
}
.stat-card, .surface-card {
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 .5rem 1rem rgba(15,23,42,.05);
}
#worldMap,
.route-editor-map {
    width: 100%;
    min-height: 72vh;
    border-radius: 1rem;
    overflow: hidden;
}
.route-editor-map {
    min-height: 68vh;
}
.sidebar-menu .nav-link {
    border-radius: .75rem;
    color: #334155;
}
.sidebar-menu .nav-link.active,
.sidebar-menu .nav-link:hover {
    background: #0d6efd;
    color: #fff;
}
.table thead th {
    white-space: nowrap;
}
.badge-soft {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}
.utc-clock {
    line-height: 1.1;
}
.ship-class-thumb {
    width: 80px;
    height: 48px;
    object-fit: cover;
    border-radius: .65rem;
    border: 1px solid rgba(15,23,42,.08);
    background: #f8fafc;
}
.ship-class-thumb-lg {
    width: 140px;
    height: 84px;
    object-fit: cover;
    border-radius: .9rem;
    border: 1px solid rgba(15,23,42,.08);
    background: #f8fafc;
}
.map-marker {
    background: transparent;
    border: none;
}
.map-marker .marker-pin {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 .35rem .75rem rgba(15, 23, 42, .25);
    border: 2px solid rgba(255,255,255,.95);
}
.map-marker.port-marker .marker-pin {
    background: var(--cs-map-port);
}
.map-marker.ship-marker .marker-pin {
    background: var(--cs-map-ship);
}
.map-popup dl {
    margin: 0;
}
.map-popup dt {
    font-size: .72rem;
    text-transform: uppercase;
    color: #64748b;
}
.map-popup dd {
    margin-bottom: .5rem;
}
.route-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: .75rem;
}
.route-summary-grid .summary-item {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: .85rem;
    padding: .85rem 1rem;
    background: #fff;
}
.route-stop-meta {
    font-size: .8rem;
    color: #64748b;
}
.route-stop-sea {
    min-width: 85px;
}
.route-stop-transit {
    min-width: 95px;
}
