:root {
    --app-primary: #1D4ED8;
    --app-primary-dark: #1E3A8A;
    --app-accent: #F97316;
    --app-accent-light: #FB923C;
    --app-gray: #6B7280;
    --app-surface-dark: #0F172A;
    --app-bg: #f4f8fb;
    --bs-primary: #1D4ED8;
    --bs-secondary: #6B7280;
    --bs-success: #1D4ED8;
    --bs-info: #1E3A8A;
    --bs-warning: #FB923C;
    --bs-danger: #F97316;
    --bs-dark: #0F172A;
    --bs-primary-rgb: 29, 78, 216;
    --bs-secondary-rgb: 107, 114, 128;
    --bs-success-rgb: 29, 78, 216;
    --bs-info-rgb: 30, 58, 138;
    --bs-warning-rgb: 251, 146, 60;
    --bs-danger-rgb: 249, 115, 22;
    --bs-dark-rgb: 15, 23, 42;
    --bs-link-color: #1D4ED8;
    --bs-link-hover-color: #1E3A8A;
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    color: #111827;
    background: radial-gradient(circle at top left, #eef2ff, #f8fbff 45%, #f8fafc);
    min-height: 100vh;
}

.app-nav {
    background: linear-gradient(90deg, var(--app-surface-dark), var(--app-primary-dark));
}

.navbar-brand {
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

.app-logo {
    display: inline-block;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #fff;
}

.app-logo-nav {
    width: 34px;
    height: 34px;
}

.app-logo-login {
    width: 52px;
    height: 52px;
    border-color: #dbe4f2;
}

.app-logo-login-top {
    width: 240px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-color: #cbd9ef;
    border-radius: 10px;
}

.login-slogan {
    font-size: 0.98rem;
    color: #4b5563;
    font-weight: 500;
}

.login-brand-block {
    padding-top: 18px;
    padding-bottom: 14px;
}

.login-tabs {
    margin-top: 10px;
    margin-bottom: 18px;
}

.login-tabs .nav-link {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

.login-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(29, 78, 216, 0.2), transparent 38%),
        radial-gradient(circle at 92% 84%, rgba(249, 115, 22, 0.16), transparent 36%),
        linear-gradient(140deg, #eef2ff 0%, #f7faff 48%, #fff7ef 100%);
}

.login-shell {
    max-width: 980px;
}

.login-wrap {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dbe7f7;
    background: #fff;
}

.login-visual {
    position: relative;
    min-height: 640px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.9)),
        url("images/logo.jpg") center/cover no-repeat;
}

.login-visual-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 26%, rgba(251, 146, 60, 0.42), transparent 40%);
}

.login-visual-content {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    padding: 28px 24px;
    color: #fff;
}

.login-visual-content p {
    color: rgba(255, 255, 255, 0.88);
}

.login-visual-logo {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
    background: #fff;
}

.login-card {
    padding: 30px 28px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.google-g-logo {
    width: 18px;
    height: 18px;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .login-shell {
        max-width: 760px;
    }

    .login-wrap {
        border-radius: 14px;
    }

    .login-card {
        padding: 24px 16px;
    }
}

h1, h2, h3, h4, h5, h6,
.fw-semibold,
.fw-bold {
    font-weight: 700 !important;
}

.form-label,
.card-header .small,
.trip-tabs-nav .nav-link,
.btn {
    font-weight: 500;
}

.stat-card {
    border: 0;
    box-shadow: 0 10px 25px rgba(18, 46, 77, 0.08);
}

.card {
    border-radius: 0.8rem;
}

.trip-active-header {
    border: 1px solid #dbe8f5;
    background: linear-gradient(180deg, #f7fbff 0%, #f3f8fd 100%);
    border-radius: 12px;
    padding: 14px;
}

.trip-active-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--app-primary-dark);
    line-height: 1.25;
}

.trip-active-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.trip-active-map-wrap {
    width: 100%;
}

.trip-active-map-frame {
    width: 100%;
    height: 240px;
    border: 1px solid #cfe2f5;
    border-radius: 10px;
    display: block;
    background: #f5f8fb;
}

.trip-active-summary {
    border-top: 1px dashed #cddff1;
    padding-top: 10px;
}

.trip-narrative-text {
    font-size: 1.02rem;
    line-height: 1.55;
    color: #1f3347;
}

.price-compare-compact .card-header h5 {
    font-size: 1rem;
}

.price-compare-compact .card-body {
    font-size: 0.86rem;
}

.price-compare-compact .form-label {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.price-compare-compact .form-control,
.price-compare-compact .form-select {
    font-size: 0.8rem;
    padding: 0.3rem 0.45rem;
    min-height: 30px;
}

.price-compare-compact .btn {
    font-size: 0.76rem;
    padding: 0.28rem 0.45rem;
}

.price-compare-compact .btn-sm {
    font-size: 0.72rem;
    padding: 0.22rem 0.38rem;
}

.price-compare-compact .border.rounded.p-3,
.price-compare-compact .border.rounded.p-2 {
    padding: 0.6rem !important;
}

.price-compare-compact .row.g-2 {
    --bs-gutter-y: 0.35rem;
    --bs-gutter-x: 0.45rem;
}

.price-compare-compact .pc-inline-row {
    overflow-x: auto;
}

.price-compare-compact .pc-grid {
    display: grid;
    grid-template-columns: 30px 46px 210px 78px 94px 58px 74px 74px;
    gap: 0.25rem;
    align-items: center;
    min-width: 760px;
}

.price-compare-compact .pc-grid-row .form-control,
.price-compare-compact .pc-grid-row .form-select {
    min-width: 0;
    width: 100%;
}

.price-compare-compact .pc-grid-row .btn {
    width: 30px;
    min-width: 30px;
    padding-left: 0;
    padding-right: 0;
}

.price-compare-compact .pc-inline-head {
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-bottom: 0.1rem;
    border-bottom: 1px dashed #d8e2ed;
}

.price-compare-compact .pc-head-cell {
    display: block;
    color: #3e4b59;
    text-align: left;
}

.price-compare-compact .pc-head-empty {
    color: transparent;
}

.price-compare-compact .pc-row-extra .form-control {
    font-size: 0.82rem;
}

.price-compare-compact .pc-row-extra .form-label {
    font-size: 0.69rem;
    color: #516274;
    margin-bottom: 0.15rem;
}

.price-compare-compact .pc-row-actions .btn {
    width: auto;
    min-width: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.price-compare-compact .pc-group-title-input {
    font-size: 1.08rem;
    font-weight: 700;
}

.price-compare-compact .pc-row-title {
    font-size: 0.84rem;
}

.price-compare-group-map {
    width: 100%;
    height: 240px;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    background: #f5f8fb;
}

.price-compare-ai-text {
    background: #f5f9ff;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    padding: 10px;
    white-space: pre-wrap;
    font-size: 0.9rem;
    line-height: 1.35;
}

.price-compare-ai-result {
    min-height: 180px;
}

.price-compare-ai-result.is-empty .price-compare-ai-text::before {
    content: "La recomendación de IA va a aparecer acá.";
    color: #6c7b8a;
    font-style: italic;
}

.list-group-item {
    border-left: 0;
    border-right: 0;
}

.btn-primary {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-primary:hover {
    background-color: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
}

.btn-outline-primary {
    color: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff;
    background-color: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-secondary {
    background-color: var(--app-gray);
    border-color: var(--app-gray);
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #4b5563;
    border-color: #4b5563;
    color: #fff;
}

.btn-outline-secondary {
    color: var(--app-gray);
    border-color: var(--app-gray);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    color: #fff;
    background-color: var(--app-gray);
    border-color: var(--app-gray);
}

.btn-success {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
    color: #fff;
}

.btn-outline-success {
    color: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    color: #fff;
    background-color: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-danger {
    background-color: var(--app-accent);
    border-color: var(--app-accent);
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: var(--app-accent-light);
    border-color: var(--app-accent-light);
    color: #fff;
}

.btn-outline-danger {
    color: var(--app-accent);
    border-color: var(--app-accent);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    color: #fff;
    background-color: var(--app-accent);
    border-color: var(--app-accent);
}

.btn-warning {
    background-color: var(--app-accent);
    border-color: var(--app-accent);
    color: #fff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: var(--app-accent-light);
    border-color: var(--app-accent-light);
    color: #fff;
}

.btn-info {
    background-color: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
    color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: var(--app-surface-dark);
    border-color: var(--app-surface-dark);
    color: #fff;
}

.btn-outline-info {
    color: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    color: #fff;
    background-color: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
}

.text-success {
    color: var(--app-primary) !important;
}

.text-danger {
    color: var(--app-accent) !important;
}

.alert-success {
    color: var(--app-primary-dark);
    background-color: #eaf1ff;
    border-color: #cfe0ff;
}

.alert-danger {
    color: #9a3412;
    background-color: #fff4ec;
    border-color: #ffd9bf;
}

.alert-warning {
    color: #9a3412;
    background-color: #fff6ee;
    border-color: #ffe0c7;
}

.badge.bg-success {
    background-color: var(--app-primary) !important;
}

.badge.bg-danger {
    background-color: var(--app-accent) !important;
}

.dropzone {
    border: 2px dashed #8eb5d6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #f8fbff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropzone:hover,
.dropzone.is-dragging {
    border-color: var(--app-primary);
    background: #eef6ff;
}

.dropzone-text-paste {
    border: 1px dashed #b5cbe0;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    min-height: 44px;
    text-align: left;
    color: #6c757d;
    cursor: text;
}

.dropzone-text-paste:focus {
    outline: none;
    border-color: var(--app-primary);
    box-shadow: 0 0 0 0.12rem rgba(29, 78, 216, 0.2);
    color: #212529;
}

.map-picker {
    width: 100%;
    height: 250px;
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f8fb;
}

.doc-kind-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #eaf4ff;
    color: var(--app-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid #cfe2f5;
}

.doc-file-item {
    position: relative;
}

.doc-file-item .doc-kind-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.doc-file-item h6,
.doc-file-item .small,
.doc-file-item p {
    padding-right: 72px;
}

.file-meta-row {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.timeline-wrap {
    position: relative;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 16px 0;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 46px;
    bottom: 0;
    width: 2px;
    background: #d6e4f2;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eaf4ff;
    color: var(--app-primary);
    border: 1px solid #cfe2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.72rem;
    flex: 0 0 40px;
    z-index: 1;
}

.timeline-content {
    min-width: 0;
    flex: 1 1 auto;
}

.timeline-date-main {
    font-size: 1.08rem;
    line-height: 1.25;
    color: #1f2937;
}

.timeline-date-main a {
    text-decoration-thickness: 1px;
}

.trip-tabs-nav .nav-link {
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    white-space: nowrap;
    justify-content: center;
    width: 100%;
    font-size: clamp(0.78rem, 0.98vw, 0.95rem);
    padding: 0.58rem 0.34rem;
}

.trip-tabs-nav .nav-link:hover,
.trip-tabs-nav .nav-link:focus {
    color: #4b5563;
}

.trip-tabs-nav .nav-link.active {
    color: #111827;
    font-weight: 700;
}

.trip-tabs-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    white-space: normal;
}

.trip-tabs-nav .nav-item {
    min-width: 0;
}

.trip-tabs-nav .tab-icon {
    font-size: 1rem;
    line-height: 1;
}

.trip-tabs-nav .tab-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1220px) {
    .trip-tabs-nav .tab-count {
        display: none;
    }

    .trip-tabs-nav .nav-link {
        font-size: clamp(0.74rem, 0.92vw, 0.88rem);
    }
}

.mini-map-wrap {
    max-width: 320px;
}

.mini-map-frame {
    width: 100%;
    height: 120px;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    display: block;
    background: #f5f8fb;
}

.mini-map-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.8rem;
    text-decoration: none;
}

.timeline-map-wrap {
    max-width: none;
    width: 100%;
    min-width: 100%;
}

.timeline-map-wrap .mini-map-frame {
    height: 240px;
}

.timeline-route-map {
    width: 100%;
    height: 240px;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    background: #f5f8fb;
}

.timeline-drive-gallery {
    width: 100%;
}

.timeline-photo-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 4px;
}

.timeline-photo-item {
    flex: 0 0 auto;
    width: 132px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #d7e3ef;
    overflow: hidden;
    background: #f5f8fb;
    display: block;
}

.timeline-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-web-photo-item {
    height: auto;
    text-decoration: none;
    color: inherit;
}

.timeline-web-photo-caption {
    font-size: 0.68rem;
    line-height: 1.2;
    padding: 4px 6px 6px;
    color: #475569;
    background: #fff;
    border-top: 1px solid #d7e3ef;
}

.timeline-web-photo-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.timeline-web-photo-source {
    font-size: 0.66rem;
    color: #64748b;
}

.activity-chip-list {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.activity-chip {
    white-space: nowrap;
    cursor: grab;
}

.activity-chip.is-dragging {
    opacity: 0.65;
}

.activity-chip-home {
    border-color: #f59e0b;
    color: #92400e;
    background: #fffbeb;
}

.activity-chip-home:hover {
    border-color: #d97706;
    color: #7c2d12;
    background: #fef3c7;
}

.upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.38);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.upload-overlay.is-visible {
    display: flex;
}

.upload-overlay-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    width: min(560px, 100%);
    padding: 20px 22px;
    text-align: center;
}

.upload-overlay-file {
    font-weight: 600;
    color: var(--app-primary);
    word-break: break-word;
}

.checklist-list .list-group-item {
    border-left: 0;
    border-right: 0;
}

.checklist-item.is-done .checklist-content {
    opacity: 0.85;
}

.checklist-actions {
    flex-wrap: nowrap;
}

.checklist-item {
    transition: background-color 0.15s ease;
}

.checklist-item.is-dragging {
    opacity: 0.75;
    background: #f4f8ff;
}

.checklist-drag-handle {
    width: 36px;
    min-width: 36px;
    height: 34px;
    line-height: 1;
    cursor: grab;
    padding: 0;
}

.checklist-drag-handle:active {
    cursor: grabbing;
}

.checklist-action-btn {
    min-width: 98px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.today-event-row {
    width: 100%;
}

.today-event-main {
    min-width: 0;
    flex: 1 1 auto;
}

.today-event-main .mini-map-frame {
    width: 100%;
    max-width: 100%;
}

.today-transport-actions {
    flex-wrap: wrap;
}

.today-inline-map-btn {
    flex: 0 0 auto;
}

.destination-badge {
    font-size: 0.78rem;
    font-weight: 500;
}

.destination-row {
    background: #f8fbff;
}

.destination-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    z-index: 2000;
    background: #fff;
    border: 1px solid #d7e3ef;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(13, 61, 97, 0.16);
    max-height: 220px;
    overflow-y: auto;
}

.destination-suggestion-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    background: transparent;
    text-align: left;
    padding: 8px 10px;
    font-size: 0.85rem;
}

.destination-suggestion-item:last-child {
    border-bottom: 0;
}

.destination-suggestion-item:hover {
    background: #f1f7ff;
}

.trip-destination-rows-scroll {
    max-height: 52vh;
    overflow-y: auto;
    padding-right: 2px;
    padding-bottom: 120px;
}

.trip-destination-suggestions-spacer {
    height: 88px;
}

.trip-destination-suggestions {
    position: static;
    margin-top: 6px;
    box-shadow: 0 6px 16px rgba(13, 61, 97, 0.12);
    max-height: 180px;
}

.ai-ask-answer {
    background: #f5f9ff;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    padding: 12px;
    white-space: pre-wrap;
    line-height: 1.35;
    font-size: 0.94rem;
}

.ai-chat-thread {
    min-height: 120px;
    max-height: 44vh;
    overflow-y: auto;
    background: #f8fafc;
    border: 1px solid #e3ebf3;
    border-radius: 10px;
    padding: 10px;
}

.ai-chat-msg {
    margin-bottom: 10px;
}

.ai-chat-msg:last-child {
    margin-bottom: 0;
}

.ai-chat-msg-label {
    font-size: 0.72rem;
    color: #637a93;
    margin-bottom: 2px;
}

.ai-chat-bubble {
    border-radius: 10px;
    padding: 8px 10px;
    white-space: pre-wrap;
    line-height: 1.35;
    font-size: 0.92rem;
}

.ai-chat-msg-user .ai-chat-bubble {
    background: #e8f1ff;
    border: 1px solid #c6dcff;
}

.ai-chat-msg-assistant .ai-chat-bubble {
    background: #f3f7fc;
    border: 1px solid #d7e3ef;
}

:root {
    --trip-row-height: 560px;
}

@media (min-width: 992px) {
    [data-current-trip-panel] {
        position: sticky;
        top: 56px;
        z-index: 12;
        max-height: calc(100vh - 84px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body[data-trip-header-expanded="1"] [data-current-trip-panel] {
        position: static;
        top: 0;
        max-height: none;
        overflow: visible;
    }

    [data-current-trip-panel] #trip-active-panel-collapse {
        min-height: 0;
        overflow: hidden;
    }

    [data-current-trip-panel] #trip-active-panel-collapse .card-body {
        overflow-y: auto;
        min-height: 0;
    }

    .trip-right-col {
        position: sticky;
        top: 56px;
        max-height: var(--trip-row-height);
        overflow-y: auto;
    }

    .trip-main-col {
        max-height: var(--trip-row-height);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .trip-tabs-nav {
        flex: 0 0 auto;
        position: sticky;
        top: 0;
        z-index: 5;
        background: #fff;
        padding-top: 2px;
    }

    #tripTabsContent {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
    }

    body[data-trip-header-expanded="1"] .trip-main-col,
    body[data-trip-header-expanded="1"] .trip-right-col {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    body[data-trip-header-expanded="1"] .trip-main-col {
        display: block;
    }

    body[data-trip-header-expanded="1"] .trip-tabs-nav {
        position: static;
        top: auto;
    }

    body[data-trip-header-expanded="1"] #tripTabsContent {
        overflow: visible;
        min-height: auto;
        max-height: none;
        padding-right: 0;
    }

    body[data-trip-header-expanded="1"] [data-current-trip-panel] #trip-active-panel-collapse {
        overflow: visible;
    }

    body[data-trip-header-expanded="1"] [data-current-trip-panel] #trip-active-panel-collapse .card-body {
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    .trip-tabs-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .trip-tabs-nav .tab-label {
        display: none;
    }

    .trip-tabs-nav .nav-link {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
        min-width: 0;
        justify-content: center;
    }

    .trip-tabs-nav .tab-icon {
        font-size: 1.12rem;
    }

    .today-event-row {
        flex-direction: column;
        align-items: stretch;
    }

    .today-inline-map-btn {
        align-self: flex-start;
    }

    .trip-destination-suggestions-spacer {
        height: 112px;
    }
}

.timeline-item.timeline-item-focus {
    outline: 2px solid rgba(23, 73, 132, 0.35);
    border-radius: 12px;
    background: rgba(23, 73, 132, 0.06);
    transition: background-color .4s ease, outline-color .4s ease;
}
