:root {
    color-scheme: dark;
    --ink: #f7f3e9;
    --muted: rgba(247, 243, 233, 0.7);
    --line: rgba(247, 243, 233, 0.16);
    --coal: #141313;
    --ember: #ff6f3c;
    --teal: #36d1c4;
    --lime: #c8ef6b;
    --violet: #8b7cf6;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--coal);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

.login-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(255, 111, 60, 0.16), transparent 42%),
        linear-gradient(315deg, rgba(54, 209, 196, 0.16), transparent 38%),
        #151413;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-panel {
    width: min(100%, 430px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    background: rgba(20, 19, 19, 0.84);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.mini-label {
    margin: 0 0 12px;
    color: var(--lime);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.login-panel h1 {
    margin: 0;
    max-width: 9ch;
    font-size: clamp(2.2rem, 8vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.login-copy {
    margin: 22px 0 28px;
    color: var(--muted);
    line-height: 1.6;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(247, 243, 233, 0.78);
}

.login-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    font: inherit;
    outline: none;
}

.login-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(54, 209, 196, 0.16);
}

.login-form button,
.primary-action,
.secondary-action {
    border: 0;
    border-radius: var(--radius);
    min-height: 46px;
    padding: 0 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.login-form button,
.primary-action {
    display: inline-grid;
    place-items: center;
    background: var(--ink);
    color: #151413;
}

.secondary-action {
    background: rgba(247, 243, 233, 0.1);
    color: var(--ink);
    border: 1px solid var(--line);
}

.login-error {
    margin: 2px 0 4px;
    color: #ff9b8a;
    font-weight: 700;
}

.login-success {
    margin: 2px 0 4px;
    color: var(--lime);
    font-weight: 700;
}

.login-hint {
    margin: 18px 0 0;
    color: rgba(247, 243, 233, 0.56);
    font-size: 0.82rem;
}

.password-hint {
    margin: -6px 0 8px;
    color: rgba(247, 243, 233, 0.58);
    font-size: 0.82rem;
    line-height: 1.45;
}

.db-check-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.db-check-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(247, 243, 233, 0.12);
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.site-body {
    min-height: 100vh;
    overflow-x: hidden;
}

.topbar {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 12px clamp(18px, 4vw, 54px);
    border-bottom: 1px solid rgba(247, 243, 233, 0.12);
    background: rgba(20, 19, 19, 0.72);
    backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.logout-link {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ember);
    color: #1d1512;
}

.main-nav {
    gap: clamp(10px, 2vw, 28px);
    color: rgba(247, 243, 233, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
}

.main-nav a:hover,
.logout-link:hover {
    color: var(--ink);
}

.logout-link {
    justify-self: end;
    color: rgba(247, 243, 233, 0.68);
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    gap: clamp(24px, 5vw, 80px);
    padding: 112px clamp(18px, 5vw, 76px) 58px;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(20, 19, 19, 0.88), rgba(20, 19, 19, 0.44) 56%, rgba(20, 19, 19, 0.78)),
        url("../imagenes/portadas/p08.jpg") center / cover;
    filter: saturate(0.95);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28vh;
    z-index: -1;
    background: linear-gradient(0deg, var(--coal), transparent);
}

#memory-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.photo {
    position: absolute;
    width: clamp(150px, 19vw, 280px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(247, 243, 233, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
    opacity: 0.88;
    transform: rotate(var(--tilt));
}

.photo-one {
    --tilt: -7deg;
    right: 23vw;
    top: 15vh;
}

.photo-two {
    --tilt: 8deg;
    right: 8vw;
    top: 22vh;
}

.photo-three {
    --tilt: -3deg;
    right: 17vw;
    bottom: 10vh;
}

.hero-content {
    max-width: 860px;
}

.hero h1 {
    margin: 0;
    max-width: 9.8ch;
    font-size: clamp(3.2rem, 7.2vw, 7.2rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-copy {
    width: min(100%, 620px);
    margin: 26px 0 30px;
    color: rgba(247, 243, 233, 0.78);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    align-self: end;
    border: 1px solid rgba(247, 243, 233, 0.18);
    border-radius: var(--radius);
    padding: 22px;
    background: rgba(20, 19, 19, 0.58);
    backdrop-filter: blur(18px);
}

.panel-kicker {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-panel h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.hero-panel p {
    color: var(--muted);
    line-height: 1.5;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.signal-grid span {
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
    padding: 10px;
    color: rgba(247, 243, 233, 0.74);
    font-size: 0.82rem;
    font-weight: 800;
}

.section-intro {
    padding: 64px clamp(18px, 5vw, 76px) 22px;
}

.section-intro h2 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2rem, 5vw, 5.5rem);
    line-height: 0.96;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 0 clamp(18px, 5vw, 76px) 80px;
}

.topic-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(247, 243, 233, 0.13);
    border-radius: var(--radius);
    padding: 22px;
    background: #1d1b19;
}

.topic-card:hover {
    border-color: rgba(247, 243, 233, 0.34);
    transform: translateY(-3px);
    transition: transform 180ms ease, border-color 180ms ease;
}

.topic-card:nth-child(2) {
    background: #202522;
}

.topic-card:nth-child(3) {
    background: #251d1a;
}

.topic-card:nth-child(4) {
    background: #1b2026;
}

.topic-icon {
    margin-bottom: auto;
    color: var(--lime);
    font-weight: 800;
}

.topic-card h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.topic-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.52;
}

.page-body {
    background:
        linear-gradient(135deg, rgba(54, 209, 196, 0.1), transparent 32%),
        linear-gradient(315deg, rgba(255, 111, 60, 0.09), transparent 36%),
        var(--coal);
}

.travel-hero {
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 132px clamp(18px, 5vw, 76px) 62px;
    border-bottom: 1px solid rgba(247, 243, 233, 0.12);
    background:
        linear-gradient(90deg, rgba(20, 19, 19, 0.88), rgba(20, 19, 19, 0.5)),
        url("../imagenes/ciudades/hongkong/HONGKONG_bady-qb-c4XoMGxfsVU-unsplash.jpg") center / cover;
}

.trip-detail-hero {
    background:
        linear-gradient(90deg, rgba(20, 19, 19, 0.9), rgba(20, 19, 19, 0.46)),
        var(--trip-cover) center / cover;
}

.travel-hero h1,
.admin-header h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 7.6rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.travel-hero p:not(.mini-label),
.admin-header p:not(.mini-label):not(.admin-notice) {
    width: min(100%, 720px);
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.58;
}

.travel-sections {
    display: grid;
    gap: 1px;
}

.route-map-section {
    padding: 58px clamp(18px, 5vw, 76px) 68px;
    border-bottom: 1px solid rgba(247, 243, 233, 0.1);
    background:
        linear-gradient(135deg, rgba(50, 134, 110, 0.2), transparent 34%),
        #151413;
}

.route-map-section .section-intro.compact {
    padding: 0 0 24px;
}

.route-map-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 18px;
    align-items: stretch;
}

.route-map {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
    background: #d6dfd4;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.route-map .leaflet-container,
.route-map.leaflet-container {
    min-height: 430px;
    height: 100%;
    font: inherit;
}

.route-map .leaflet-control-zoom a {
    color: #151413;
}

.route-map-marker {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 3px solid #ffffff;
    border-radius: 50% 50% 50% 8px;
    fill: #151413;
    background: #151413;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
    transform: rotate(-45deg);
}

.route-map-marker span {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(45deg);
}

.route-map .leaflet-popup-content-wrapper,
.route-map .leaflet-popup-tip {
    border-radius: var(--radius);
    background: #ffffff;
    color: #151413;
}

.route-map .leaflet-popup-content {
    margin: 12px 14px;
}

.route-map .leaflet-popup-content strong {
    display: block;
    margin-bottom: 4px;
}

.route-map .leaflet-popup-content p {
    margin: 0;
    color: #5e6763;
}

.route-points {
    display: grid;
    align-content: start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.route-points li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(247, 243, 233, 0.12);
    border-radius: var(--radius);
    background: rgba(247, 243, 233, 0.06);
}

.route-points li > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7f3e9;
    color: #151413;
    font-weight: 900;
}

.route-points strong {
    display: block;
    color: var(--ink);
}

.route-points p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.trip-template-aurora {
    --trip-bg: #f4efe7;
    --trip-bg-2: #e3f3ee;
    --trip-ink: #17342c;
    --trip-muted: #68766f;
    --trip-surface: rgba(255, 255, 255, 0.78);
    --trip-line: rgba(26, 62, 52, 0.14);
    --trip-accent: #2e9b79;
    --trip-accent-2: #ff7a47;
}

.trip-template-atlas {
    --trip-bg: #f6f1e6;
    --trip-bg-2: #dbe6f4;
    --trip-ink: #263042;
    --trip-muted: #667086;
    --trip-surface: rgba(255, 255, 255, 0.82);
    --trip-line: rgba(41, 55, 78, 0.15);
    --trip-accent: #4968d8;
    --trip-accent-2: #d68f35;
}

.trip-template-costa {
    --trip-bg: #f8f4ea;
    --trip-bg-2: #cce9f3;
    --trip-ink: #173344;
    --trip-muted: #66737a;
    --trip-surface: rgba(255, 255, 255, 0.8);
    --trip-line: rgba(23, 73, 96, 0.14);
    --trip-accent: #0787a0;
    --trip-accent-2: #f06d4f;
}

.trip-template-postal {
    --trip-bg: #fff2e8;
    --trip-bg-2: #f9d7df;
    --trip-ink: #3b2430;
    --trip-muted: #806b72;
    --trip-surface: rgba(255, 255, 255, 0.78);
    --trip-line: rgba(92, 46, 64, 0.14);
    --trip-accent: #d94f72;
    --trip-accent-2: #469f76;
}

.trip-template-bruma {
    --trip-bg: #eef3ee;
    --trip-bg-2: #dce7e3;
    --trip-ink: #1f332f;
    --trip-muted: #687874;
    --trip-surface: rgba(255, 255, 255, 0.76);
    --trip-line: rgba(27, 57, 51, 0.13);
    --trip-accent: #6d8f7b;
    --trip-accent-2: #b26f48;
}

.trip-template-aurora,
.trip-template-atlas,
.trip-template-costa,
.trip-template-postal,
.trip-template-bruma {
    background:
        radial-gradient(circle at 12% 16%, color-mix(in srgb, var(--trip-accent) 18%, transparent), transparent 30%),
        radial-gradient(circle at 88% 24%, color-mix(in srgb, var(--trip-accent-2) 16%, transparent), transparent 28%),
        linear-gradient(135deg, var(--trip-bg), var(--trip-bg-2));
    color: var(--trip-ink);
}

.trip-template-aurora .topbar,
.trip-template-atlas .topbar,
.trip-template-costa .topbar,
.trip-template-postal .topbar,
.trip-template-bruma .topbar {
    border-bottom: 1px solid var(--trip-line);
    background: rgba(255, 255, 255, 0.74);
    color: var(--trip-ink);
    box-shadow: 0 16px 42px rgba(48, 56, 52, 0.08);
}

.trip-template-aurora .main-nav,
.trip-template-aurora .logout-link,
.trip-template-atlas .main-nav,
.trip-template-atlas .logout-link,
.trip-template-costa .main-nav,
.trip-template-costa .logout-link,
.trip-template-postal .main-nav,
.trip-template-postal .logout-link,
.trip-template-bruma .main-nav,
.trip-template-bruma .logout-link {
    color: var(--trip-muted);
}

.trip-template-aurora .brand-mark,
.trip-template-atlas .brand-mark,
.trip-template-costa .brand-mark,
.trip-template-postal .brand-mark,
.trip-template-bruma .brand-mark {
    background: var(--trip-accent);
    color: #ffffff;
}

.trip-template-aurora .trip-detail-hero,
.trip-template-atlas .trip-detail-hero,
.trip-template-costa .trip-detail-hero,
.trip-template-postal .trip-detail-hero,
.trip-template-bruma .trip-detail-hero {
    min-height: 82vh;
    border-bottom: 1px solid var(--trip-line);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7) 43%, rgba(255, 255, 255, 0.24)),
        var(--trip-cover) center / cover;
    color: var(--trip-ink);
}

.trip-template-aurora .travel-hero h1,
.trip-template-atlas .travel-hero h1,
.trip-template-costa .travel-hero h1,
.trip-template-postal .travel-hero h1,
.trip-template-bruma .travel-hero h1 {
    color: var(--trip-ink);
    text-shadow: none;
}

.trip-template-aurora .travel-hero p:not(.mini-label),
.trip-template-atlas .travel-hero p:not(.mini-label),
.trip-template-costa .travel-hero p:not(.mini-label),
.trip-template-postal .travel-hero p:not(.mini-label),
.trip-template-bruma .travel-hero p:not(.mini-label) {
    color: var(--trip-muted);
}

.trip-template-aurora .mini-label,
.trip-template-atlas .mini-label,
.trip-template-costa .mini-label,
.trip-template-postal .mini-label,
.trip-template-bruma .mini-label {
    color: var(--trip-accent);
}

.trip-template-aurora .primary-action,
.trip-template-atlas .primary-action,
.trip-template-costa .primary-action,
.trip-template-postal .primary-action,
.trip-template-bruma .primary-action {
    background: var(--trip-ink);
    color: #ffffff;
}

.trip-template-aurora .route-map-section,
.trip-template-atlas .route-map-section,
.trip-template-costa .route-map-section,
.trip-template-postal .route-map-section,
.trip-template-bruma .route-map-section {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--trip-accent) 12%, transparent), transparent 38%),
        var(--trip-bg);
    border-bottom: 1px solid var(--trip-line);
}

.trip-template-aurora .travel-section,
.trip-template-atlas .travel-section,
.trip-template-costa .travel-section,
.trip-template-postal .travel-section,
.trip-template-bruma .travel-section {
    margin: 22px clamp(18px, 5vw, 76px);
    overflow: hidden;
    border: 1px solid var(--trip-line);
    border-radius: 24px;
    background: var(--trip-surface);
    box-shadow: 0 22px 70px rgba(45, 52, 48, 0.08);
}

.trip-template-aurora .travel-copy h2,
.trip-template-atlas .travel-copy h2,
.trip-template-costa .travel-copy h2,
.trip-template-postal .travel-copy h2,
.trip-template-bruma .travel-copy h2 {
    color: var(--trip-ink);
}

.trip-template-aurora .travel-copy p,
.trip-template-atlas .travel-copy p,
.trip-template-costa .travel-copy p,
.trip-template-postal .travel-copy p,
.trip-template-bruma .travel-copy p {
    color: var(--trip-muted);
}

.trip-template-aurora .topic-icon,
.trip-template-atlas .topic-icon,
.trip-template-costa .topic-icon,
.trip-template-postal .topic-icon,
.trip-template-bruma .topic-icon {
    background: var(--trip-accent);
    color: #ffffff;
}

.trip-template-aurora .gallery-section,
.trip-template-atlas .gallery-section,
.trip-template-costa .gallery-section,
.trip-template-postal .gallery-section,
.trip-template-bruma .gallery-section {
    padding-top: 70px;
    background:
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28)),
        var(--trip-bg);
}

.trip-template-aurora .section-intro h2,
.trip-template-atlas .section-intro h2,
.trip-template-costa .section-intro h2,
.trip-template-postal .section-intro h2,
.trip-template-bruma .section-intro h2 {
    color: var(--trip-ink);
}

.trip-template-aurora .gallery-item,
.trip-template-atlas .gallery-item,
.trip-template-costa .gallery-item,
.trip-template-postal .gallery-item,
.trip-template-bruma .gallery-item {
    border: 1px solid var(--trip-line);
    box-shadow: 0 14px 40px rgba(45, 52, 48, 0.12);
}

.trip-template-aurora .route-points li,
.trip-template-atlas .route-points li,
.trip-template-costa .route-points li,
.trip-template-postal .route-points li,
.trip-template-bruma .route-points li {
    border-color: var(--trip-line);
    background: var(--trip-surface);
}

.trip-template-aurora .route-points li > span,
.trip-template-atlas .route-points li > span,
.trip-template-costa .route-points li > span,
.trip-template-postal .route-points li > span,
.trip-template-bruma .route-points li > span {
    background: var(--trip-accent);
    color: #ffffff;
}

.trip-template-aurora .route-points strong,
.trip-template-atlas .route-points strong,
.trip-template-costa .route-points strong,
.trip-template-postal .route-points strong,
.trip-template-bruma .route-points strong {
    color: var(--trip-ink);
}

.trip-template-aurora .route-points p,
.trip-template-atlas .route-points p,
.trip-template-costa .route-points p,
.trip-template-postal .route-points p,
.trip-template-bruma .route-points p {
    color: var(--trip-muted);
}

.trip-template-aurora .trip-feature-full,
.trip-template-atlas .trip-feature-full,
.trip-template-costa .trip-feature-full,
.trip-template-postal .trip-feature-full,
.trip-template-bruma .trip-feature-full {
    color: #ffffff;
    border-bottom: 1px solid var(--trip-line);
}

.trip-template-atlas .travel-section {
    border-radius: 8px;
}

.trip-template-costa .trip-detail-hero {
    background:
        linear-gradient(90deg, rgba(239, 250, 252, 0.95), rgba(239, 250, 252, 0.66) 43%, rgba(239, 250, 252, 0.2)),
        var(--trip-cover) center / cover;
}

.trip-template-postal .travel-section:nth-child(even) {
    transform: rotate(-0.4deg);
}

.trip-template-postal .travel-section:nth-child(odd) {
    transform: rotate(0.35deg);
}

.trip-template-bruma .travel-images img,
.trip-template-bruma .gallery-item {
    filter: saturate(0.88);
}

.travel-section {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: 72px clamp(18px, 5vw, 76px);
    border-bottom: 1px solid rgba(247, 243, 233, 0.1);
    background: #181716;
}

.travel-section.is-reversed {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.travel-section.is-reversed .travel-copy {
    order: 2;
}

.travel-copy h2 {
    margin: 18px 0;
    font-size: clamp(2rem, 4.6vw, 5rem);
    line-height: 0.96;
}

.travel-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.travel-images {
    min-height: 440px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 10px;
}

.travel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(247, 243, 233, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.travel-images img:nth-child(1) {
    grid-column: span 3;
    grid-row: span 3;
}

.travel-images img:nth-child(2) {
    grid-column: span 3;
    grid-row: span 2;
}

.travel-images img:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
}

.travel-images img:nth-child(n+4) {
    grid-column: span 2;
    grid-row: span 1;
}

.travel-images.count-1 img {
    grid-column: 1 / -1;
    grid-row: span 4;
}

.empty-state {
    padding: 92px clamp(18px, 5vw, 76px);
}

.empty-state h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
}

.empty-state p:not(.mini-label) {
    color: var(--muted);
}

.gallery-section {
    padding-bottom: 80px;
}

.trip-feature-full {
    min-height: 100vh;
    display: grid;
    align-items: end;
    padding: 92px clamp(18px, 5vw, 76px);
    background:
        linear-gradient(0deg, rgba(20, 19, 19, 0.76), rgba(20, 19, 19, 0.1) 48%, rgba(20, 19, 19, 0.58)),
        var(--feature-image) center / cover no-repeat;
    border-bottom: 1px solid rgba(247, 243, 233, 0.12);
}

.trip-feature-full div {
    width: min(100%, 760px);
}

.trip-feature-full h2 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.88;
}

.trip-feature-full p {
    color: rgba(247, 243, 233, 0.82);
    font-size: clamp(1rem, 1.8vw, 1.28rem);
    line-height: 1.62;
}

.section-intro.compact {
    padding-bottom: 34px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 clamp(18px, 5vw, 76px);
}

.trip-index {
    padding: 22px 0 88px;
}

.trip-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 clamp(18px, 5vw, 76px);
}

.trip-summary-card {
    min-height: 460px;
    display: grid;
    grid-template-rows: minmax(220px, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
    background: #1d1b19;
}

.trip-summary-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.trip-summary-card div {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.trip-summary-card h3,
.trip-summary-card p {
    margin: 0;
}

.trip-summary-card h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1;
}

.trip-summary-card p {
    color: var(--muted);
    line-height: 1.55;
}

.trip-summary-card span {
    color: var(--lime);
    font-size: 0.86rem;
    font-weight: 800;
}

.gallery-item {
    display: block;
    position: relative;
    min-height: 210px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(247, 243, 233, 0.12);
    background: #1d1b19;
}

.gallery-rating {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(20, 19, 19, 0.72);
    color: #ff8aa0;
    font-size: 0.86rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    align-items: center;
    padding: 28px 84px;
    background: rgba(8, 8, 8, 0.92);
}

.lightbox.is-open {
    display: grid;
}

.lightbox-open {
    overflow: hidden;
}

.lightbox-image {
    max-width: min(100%, 1180px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(247, 243, 233, 0.18);
    border-radius: 999px;
    background: rgba(247, 243, 233, 0.1);
    color: var(--ink);
    cursor: pointer;
}

.lightbox-close {
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
}

.lightbox-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    font-size: 2.8rem;
}

.lightbox-prev {
    left: 22px;
}

.lightbox-next {
    right: 22px;
}

.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    margin: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(247, 243, 233, 0.12);
    color: rgba(247, 243, 233, 0.8);
    font-weight: 800;
}

.lightbox-feedback {
    max-height: 86vh;
    display: grid;
    gap: 14px;
    align-self: center;
    overflow: auto;
    border: 1px solid rgba(247, 243, 233, 0.16);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(20, 19, 19, 0.92);
}

.lightbox-comment-form button {
    min-height: 42px;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: #151413;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.heart-rating {
    display: grid;
    gap: 8px;
}

.heart-rating p,
.rating-summary {
    margin: 0;
    color: rgba(247, 243, 233, 0.76);
    font-weight: 800;
}

.heart-rating-buttons {
    display: flex;
    gap: 4px;
}

.heart-rating-buttons button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 138, 160, 0.28);
    border-radius: 999px;
    background: rgba(255, 138, 160, 0.08);
    color: #ff8aa0;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.heart-rating-buttons button.is-selected {
    background: rgba(255, 138, 160, 0.2);
}

.lightbox-comment-form {
    display: grid;
    gap: 8px;
}

.lightbox-comment-form label {
    color: rgba(247, 243, 233, 0.72);
    font-size: 0.84rem;
    font-weight: 800;
}

.lightbox-comment-form textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid rgba(247, 243, 233, 0.16);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    font: inherit;
}

.lightbox-comments {
    display: grid;
    gap: 10px;
}

.lightbox-comments article {
    border-top: 1px solid rgba(247, 243, 233, 0.12);
    padding-top: 10px;
}

.lightbox-comments strong,
.lightbox-comments time {
    display: block;
}

.lightbox-comments time {
    color: rgba(247, 243, 233, 0.52);
    font-size: 0.78rem;
}

.lightbox-comments p,
.empty-comments,
.lightbox-message {
    margin: 6px 0 0;
    color: rgba(247, 243, 233, 0.72);
    line-height: 1.45;
}

.admin-shell {
    padding: 122px clamp(18px, 5vw, 76px) 80px;
}

.dashboard-shell {
    padding: 122px clamp(18px, 4vw, 54px) 80px;
}

.dashboard-header {
    margin-bottom: 28px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
}

.dashboard-header p:not(.mini-label):not(.admin-notice) {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
}

.trip-admin-list {
    display: grid;
    gap: 8px;
}

.trip-admin-list a {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
    padding: 13px;
    background: rgba(29, 27, 25, 0.72);
}

.trip-admin-list a.is-active {
    border-color: rgba(200, 239, 107, 0.5);
    background: rgba(200, 239, 107, 0.08);
}

.trip-admin-list span {
    font-weight: 800;
}

.trip-admin-list small {
    color: var(--muted);
    font-weight: 700;
}

.dashboard-main {
    display: grid;
    gap: 16px;
}

.selected-trip-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 14px;
}

.selected-trip-panel .admin-card:first-child {
    grid-row: span 2;
}

.create-trip-card {
    border-color: rgba(54, 209, 196, 0.28);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.form-grid label,
.admin-card > label {
    display: grid;
    gap: 8px;
}

.trip-cover-preview {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(247, 243, 233, 0.14);
}

.trip-cover-preview img {
    width: 100%;
    aspect-ratio: 16 / 8;
    display: block;
    object-fit: cover;
}

.delete-trip-form {
    justify-self: start;
}

.page-empty {
    min-height: 80vh;
    display: grid;
    align-content: center;
}

.feed-hero {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 132px clamp(18px, 5vw, 76px) 62px;
    border-bottom: 1px solid rgba(247, 243, 233, 0.12);
    background:
        linear-gradient(135deg, rgba(20, 19, 19, 0.88), rgba(20, 19, 19, 0.58)),
        radial-gradient(circle at 22% 22%, rgba(255, 111, 60, 0.28), transparent 32%),
        radial-gradient(circle at 78% 32%, rgba(54, 209, 196, 0.18), transparent 30%),
        #171615;
}

.feed-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.9;
}

.feed-hero p:not(.mini-label) {
    width: min(100%, 720px);
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.58;
}

.feed-list {
    display: grid;
    gap: 1px;
}

.feed-entry {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(22px, 5vw, 64px);
    align-items: start;
    padding: 64px clamp(18px, 5vw, 76px);
    border-bottom: 1px solid rgba(247, 243, 233, 0.1);
    background: rgba(24, 23, 22, 0.96);
}

.feed-entry-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 4.8rem);
    line-height: 0.95;
}

.feed-entry-copy p:not(.panel-kicker) {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.feed-entry-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.feed-entry-images a {
    display: block;
    min-height: 210px;
    overflow: hidden;
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
}

.feed-entry-images img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-header {
    margin-bottom: 34px;
}

.admin-notice {
    display: inline-flex;
    margin-top: 16px;
    border: 1px solid rgba(200, 239, 107, 0.35);
    border-radius: var(--radius);
    padding: 10px 12px;
    color: var(--lime);
    background: rgba(200, 239, 107, 0.08);
    font-weight: 800;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.admin-card,
.admin-row,
.admin-gallery-item {
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
    background: rgba(29, 27, 25, 0.86);
}

.admin-card {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.admin-card h2,
.admin-list h2 {
    margin: 0 0 8px;
}

.admin-card label {
    color: rgba(247, 243, 233, 0.72);
    font-size: 0.84rem;
    font-weight: 800;
}

.admin-help {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-card input,
.admin-card textarea,
.admin-card select,
.section-editor input,
.section-editor textarea {
    width: 100%;
    border: 1px solid rgba(247, 243, 233, 0.14);
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--ink);
    font: inherit;
}

.route-editor {
    display: grid;
    gap: 8px;
}

.route-editor-head,
.route-editor-row {
    display: grid;
    grid-template-columns: minmax(170px, 1.2fr) minmax(140px, 0.8fr) minmax(170px, 1fr) minmax(90px, 0.45fr);
    gap: 8px;
    align-items: center;
}

.route-editor-head {
    color: rgba(247, 243, 233, 0.58);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.route-location-status,
.route-row-remove {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--admin-line);
    border-radius: var(--radius);
    padding: 0 10px;
    color: var(--admin-muted);
    background: rgba(47, 138, 111, 0.05);
    font-size: 0.82rem;
    font-weight: 800;
}

.route-row-remove {
    cursor: pointer;
    color: #b94e35;
    background: #fff3ef;
    border-color: #ffd5c8;
    font: inherit;
}

.route-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.admin-card button.secondary-admin-button {
    background: #e5f4ee;
    color: var(--admin-green-dark);
    border: 1px solid #b6dece;
}

.admin-card button,
.section-editor button,
.danger-button {
    min-height: 42px;
    border: 0;
    border-radius: var(--radius);
    padding: 0 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-card button {
    background: var(--ink);
    color: #151413;
}

.section-editor button {
    background: var(--ink);
    color: #151413;
}

.admin-card .route-row-remove {
    background: #fff3ef;
    color: #b94e35;
    border: 1px solid #ffd5c8;
}

.editor-row {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.section-editor {
    display: grid;
    gap: 10px;
}

.section-editor label {
    color: rgba(247, 243, 233, 0.72);
    font-size: 0.84rem;
    font-weight: 800;
}

.section-photo-admin {
    display: grid;
    gap: 12px;
}

.compact-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.danger-button {
    background: rgba(255, 111, 60, 0.12);
    color: #ffb39b;
    border: 1px solid rgba(255, 111, 60, 0.28);
}

.admin-list {
    margin-top: 34px;
}

.admin-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    margin-top: 10px;
}

.admin-row h3,
.admin-row p {
    margin: 0;
}

.admin-row p {
    margin-top: 6px;
    color: var(--muted);
}

.admin-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.admin-gallery-item {
    display: grid;
    gap: 8px;
    padding: 8px;
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: calc(var(--radius) - 2px);
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        align-items: end;
        min-height: 96vh;
    }

    .hero-panel {
        max-width: 520px;
    }

    .photo-one {
        right: 34vw;
        top: 17vh;
    }

    .photo-two {
        right: 4vw;
        top: 20vh;
    }

    .photo-three {
        right: 12vw;
        bottom: 24vh;
    }

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

    .travel-section,
    .travel-section.is-reversed {
        grid-template-columns: 1fr;
    }

    .travel-section.is-reversed .travel-copy {
        order: 0;
    }

    .route-map-card {
        grid-template-columns: 1fr;
    }

    .route-editor-head {
        display: none;
    }

    .route-editor-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .dashboard-layout,
    .selected-trip-panel,
    .feed-entry {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }
}

@media (max-width: 620px) {
    .login-panel {
        padding: 26px;
    }

    .brand span:last-child {
        display: none;
    }

    .hero {
        min-height: 100vh;
        padding-top: 104px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .photo {
        width: 38vw;
        opacity: 0.48;
        filter: saturate(0.9) brightness(0.9);
    }

    .photo-one {
        right: 48vw;
        top: 15vh;
    }

    .photo-two {
        right: 6vw;
        top: 18vh;
    }

    .photo-three {
        display: none;
    }

    .hero-panel {
        padding: 18px;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .travel-hero {
        min-height: 78vh;
        padding-top: 104px;
    }

    .feed-hero {
        min-height: 72vh;
        padding-top: 104px;
    }

    .travel-hero h1,
    .admin-header h1,
    .feed-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .travel-section {
        min-height: auto;
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .travel-images {
        min-height: 330px;
    }

    .route-map-section {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .route-map,
    .route-map .leaflet-container,
    .route-map.leaflet-container {
        min-height: 280px;
    }

    .route-editor-row {
        grid-template-columns: 1fr;
        padding: 10px;
        border: 1px solid var(--admin-line);
        border-radius: var(--radius);
        background: rgba(47, 138, 111, 0.04);
    }

    .gallery-grid,
    .admin-gallery,
    .feed-entry-images {
        grid-template-columns: 1fr;
    }

    .admin-row {
        grid-template-columns: 1fr;
    }

    .trip-card-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .travel-images {
        grid-auto-rows: 92px;
    }

    .travel-images img:nth-child(1),
    .travel-images img:nth-child(2),
    .travel-images img:nth-child(3),
    .travel-images img:nth-child(n+4) {
        grid-column: span 3;
        grid-row: span 2;
    }
}

.admin-dashboard-body {
    --admin-green: #2f8a6f;
    --admin-green-dark: #28745f;
    --admin-mint: #d3eee4;
    --admin-bg: #eef2ef;
    --admin-card: #ffffff;
    --admin-ink: #20312c;
    --admin-muted: #6f7d78;
    --admin-line: #e1e8e4;
    background: var(--admin-mint);
    color: var(--admin-ink);
}

.admin-dashboard-body .topbar {
    position: fixed;
    inset: 14px auto 14px 14px;
    width: 220px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 26px 20px;
    border: 0;
    border-radius: 18px 0 0 18px;
    background: var(--admin-green);
    box-shadow: 0 18px 42px rgba(31, 79, 65, 0.26);
    backdrop-filter: none;
}

.admin-dashboard-body .brand {
    color: #ffffff;
    gap: 12px;
}

.admin-dashboard-body .brand-mark {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.admin-dashboard-body .main-nav {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.admin-dashboard-body .main-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 0 12px;
}

.admin-dashboard-body .main-nav a:hover,
.admin-dashboard-body .main-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.admin-dashboard-body .logout-link {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    min-height: 42px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--admin-green-dark);
    box-shadow: 0 10px 22px rgba(20, 60, 48, 0.12);
}

.admin-dashboard-body .dashboard-shell {
    min-height: calc(100vh - 28px);
    margin: 14px 14px 14px 234px;
    padding: 26px;
    border-radius: 0 18px 18px 0;
    background: var(--admin-bg);
    box-shadow: 0 18px 42px rgba(42, 70, 62, 0.28);
}

.admin-dashboard-body .dashboard-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-dashboard-body .dashboard-header::after {
    content: "Admin";
    display: inline-grid;
    place-items: center;
    min-width: 96px;
    min-height: 42px;
    border-radius: 999px;
    background: var(--admin-green);
    color: #ffffff;
    font-weight: 800;
}

.admin-dashboard-body .mini-label {
    color: var(--admin-green);
}

.admin-dashboard-body .dashboard-header h1 {
    color: var(--admin-ink);
    font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.admin-dashboard-body .dashboard-header p:not(.mini-label):not(.admin-notice) {
    color: var(--admin-muted);
}

.admin-dashboard-body .dashboard-layout {
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
}

.admin-dashboard-body .dashboard-sidebar {
    top: 26px;
}

.admin-dashboard-body .admin-card,
.admin-dashboard-body .admin-row,
.admin-dashboard-body .admin-gallery-item,
.admin-dashboard-body .trip-admin-list a {
    border: 1px solid var(--admin-line);
    background: var(--admin-card);
    color: var(--admin-ink);
    box-shadow: 0 12px 28px rgba(31, 58, 49, 0.06);
}

.admin-dashboard-body .admin-card,
.admin-dashboard-body .admin-row {
    border-radius: 16px;
}

.admin-dashboard-body .trip-admin-list a.is-active {
    border-color: rgba(47, 138, 111, 0.36);
    background: #e5f4ee;
}

.admin-dashboard-body .trip-admin-list small,
.admin-dashboard-body .admin-row p,
.admin-dashboard-body .section-photo-admin p {
    color: var(--admin-muted);
}

.admin-dashboard-body .admin-card label,
.admin-dashboard-body .section-editor label {
    color: var(--admin-muted);
}

.admin-dashboard-body .admin-card input,
.admin-dashboard-body .admin-card textarea,
.admin-dashboard-body .admin-card select,
.admin-dashboard-body .section-editor input,
.admin-dashboard-body .section-editor textarea {
    border-color: var(--admin-line);
    background: #f7faf8;
    color: var(--admin-ink);
}

.admin-dashboard-body .admin-card input:focus,
.admin-dashboard-body .admin-card textarea:focus,
.admin-dashboard-body .admin-card select:focus,
.admin-dashboard-body .section-editor input:focus,
.admin-dashboard-body .section-editor textarea:focus {
    outline: 0;
    border-color: rgba(47, 138, 111, 0.58);
    box-shadow: 0 0 0 3px rgba(47, 138, 111, 0.12);
}

.admin-dashboard-body .admin-card button,
.admin-dashboard-body .section-editor button {
    background: var(--admin-green);
    color: #ffffff;
}

.admin-dashboard-body .admin-card .route-row-remove {
    background: #fff3ef;
    color: #b94e35;
    border: 1px solid #ffd5c8;
}

.admin-dashboard-body .danger-button {
    background: #fff3ef;
    color: #b94e35;
    border-color: #ffd5c8;
}

.user-admin-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.user-actions button {
    min-height: 40px;
    border: 0;
    border-radius: var(--radius);
    padding: 0 12px;
    background: var(--admin-green);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-dashboard-body .selected-trip-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

.admin-dashboard-body .create-trip-card {
    border-color: rgba(47, 138, 111, 0.2);
}

.admin-dashboard-body .route-editor-card {
    grid-column: 1 / -1;
}

.admin-dashboard-body .route-editor-head {
    color: var(--admin-muted);
}

.admin-dashboard-body .admin-notice {
    color: var(--admin-green-dark);
    background: #e2f5ed;
    border-color: #b6dece;
}

@media (max-width: 980px) {
    .admin-dashboard-body .topbar {
        position: static;
        width: auto;
        margin: 12px;
        border-radius: 18px;
    }

    .admin-dashboard-body .dashboard-shell {
        margin: 12px;
        border-radius: 18px;
    }

    .admin-dashboard-body .dashboard-header {
        grid-template-columns: 1fr;
    }
}
