/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* RailDiary global layout styles live in wwwroot/app.css. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Bootstrap navigation is styled in wwwroot/app.css. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-dd5a67voaj],
.components-reconnect-repeated-attempt-visible[b-dd5a67voaj],
.components-reconnect-failed-visible[b-dd5a67voaj],
.components-pause-visible[b-dd5a67voaj],
.components-resume-failed-visible[b-dd5a67voaj],
.components-rejoining-animation[b-dd5a67voaj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-retrying[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-failed[b-dd5a67voaj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-dd5a67voaj] {
    display: block;
}


#components-reconnect-modal[b-dd5a67voaj] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-dd5a67voaj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-dd5a67voaj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-dd5a67voaj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-dd5a67voaj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-dd5a67voaj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-dd5a67voaj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-dd5a67voaj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-dd5a67voaj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-dd5a67voaj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-dd5a67voaj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-dd5a67voaj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-dd5a67voaj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-dd5a67voaj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-dd5a67voaj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-dd5a67voaj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-dd5a67voaj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-dd5a67voaj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-dd5a67voaj {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Handbook.razor.rz.scp.css */
.rd-handbook-page[b-voyszcp4yx] {
    max-width: 1060px;
    margin: 0 auto;
    color: var(--rd-text);
}

.rd-handbook-header[b-voyszcp4yx] {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.rd-handbook-header h1[b-voyszcp4yx] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.18;
    margin-bottom: .55rem;
}

.rd-handbook-header > p:not(.rd-eyebrow)[b-voyszcp4yx] {
    color: var(--rd-muted);
    margin-bottom: 1rem;
}

.rd-handbook-version[b-voyszcp4yx] {
    font-size: .82rem;
    font-weight: 600;
    color: var(--rd-muted);
    padding-right: .75rem;
}

.rd-handbook-content[b-voyszcp4yx] {
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: 14px;
    padding: clamp(1.25rem, 3.5vw, 2.5rem);
    line-height: 1.7;
    font-size: .96rem;
    overflow-wrap: break-word;
}

.rd-handbook-content[b-voyszcp4yx]  h1,
.rd-handbook-content[b-voyszcp4yx]  h2,
.rd-handbook-content[b-voyszcp4yx]  h3,
.rd-handbook-content[b-voyszcp4yx]  h4 {
    color: var(--rd-text);
    font-weight: 700;
    scroll-margin-top: 2rem;
    line-height: 1.3;
}

.rd-handbook-content[b-voyszcp4yx]  h1 {
    font-size: 1.65rem;
    margin: 0 0 .95rem;
}

.rd-handbook-content[b-voyszcp4yx]  h2 {
    font-size: 1.38rem;
    margin: 2.35rem 0 1rem;
    border-bottom: 1px solid var(--rd-border);
    padding-bottom: .55rem;
}

.rd-handbook-content[b-voyszcp4yx]  h3 {
    font-size: 1.09rem;
    margin: 1.6rem 0 .7rem;
}

.rd-handbook-content[b-voyszcp4yx]  p,
.rd-handbook-content[b-voyszcp4yx]  ul,
.rd-handbook-content[b-voyszcp4yx]  ol {
    margin-bottom: 1rem;
}

.rd-handbook-content[b-voyszcp4yx]  li + li {
    margin-top: .25rem;
}

.rd-handbook-content[b-voyszcp4yx]  a {
    color: var(--rd-accent-strong);
    text-underline-offset: .2em;
}

.rd-handbook-content[b-voyszcp4yx]  strong {
    color: var(--rd-text);
}

.rd-handbook-content[b-voyszcp4yx]  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.1rem 0 1.4rem;
    font-size: .88rem;
    display: block;
    overflow-x: auto;
}

.rd-handbook-content[b-voyszcp4yx]  th,
.rd-handbook-content[b-voyszcp4yx]  td {
    padding: .65rem .8rem;
    text-align: left;
    vertical-align: top;
    border: 1px solid var(--rd-border);
}

.rd-handbook-content[b-voyszcp4yx]  th {
    background: var(--rd-success-bg);
    font-weight: 700;
}

.rd-handbook-content[b-voyszcp4yx]  code {
    padding: .1rem .3rem;
    border-radius: .25rem;
    background: var(--rd-canvas);
    color: var(--rd-text);
    font-size: .9em;
}

.rd-handbook-content[b-voyszcp4yx]  pre {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--rd-border);
    border-radius: .6rem;
    padding: 1rem;
    background: var(--rd-canvas);
    color: var(--rd-text);
}

.rd-handbook-content[b-voyszcp4yx]  pre code {
    background: transparent;
    padding: 0;
}

.rd-handbook-content[b-voyszcp4yx]  blockquote {
    padding: .4rem 1rem;
    border-left: 3px solid var(--rd-accent);
    background: var(--rd-success-bg);
    border-radius: .25rem;
}
/* /Components/Pages/TimelineWorkbench.razor.rz.scp.css */
.timeline-workbench[b-ytjwzkco6i] {
    --timeline-line: #dce3e8;
}

.timeline-workbench .timeline-column-heads[b-ytjwzkco6i],
.timeline-workbench .timeline-compare-row[b-ytjwzkco6i] {
    display: grid;
    grid-template-columns: minmax(230px, 38%) minmax(0, 62%);
    gap: 1rem;
}

.timeline-workbench .timeline-column-heads[b-ytjwzkco6i] {
    font-weight: 650;
    border-bottom: 2px solid var(--timeline-line);
    padding: .65rem 0;
    color: var(--bs-body-color, #20312c);
}

.timeline-workbench .timeline-compare-row[b-ytjwzkco6i] {
    padding: .9rem 0;
    border-bottom: 1px solid var(--timeline-line);
    align-items: start;
}

.timeline-workbench .timeline-source-card[b-ytjwzkco6i],
.timeline-workbench .timeline-match-card[b-ytjwzkco6i] {
    border: 1px solid var(--timeline-line);
    border-radius: .65rem;
    padding: 1rem;
    min-width: 0;
    background: var(--bs-body-bg, #fff);
    overflow-wrap: anywhere;
}

.timeline-workbench .timeline-source-card[b-ytjwzkco6i] {
    border-left: 4px solid var(--bs-secondary-color, #83928c);
    position: sticky;
    top: 5rem;
}

.timeline-workbench .timeline-match-column[b-ytjwzkco6i] {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    min-width: 0;
}

.timeline-workbench .timeline-observation[b-ytjwzkco6i] {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: auto;
    gap: .25rem;
}
.timeline-workbench .timeline-observation > div:not(.timeline-down-arrow)[b-ytjwzkco6i] {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}
.timeline-workbench .timeline-observation span[b-ytjwzkco6i] {
    color: var(--bs-secondary-color, #6d7570);
    font-variant-numeric: tabular-nums;
    min-width: 3.3rem;
}
.timeline-workbench .timeline-down-arrow[b-ytjwzkco6i] {
    padding-left: .85rem;
    color: var(--bs-secondary-color, #6d7570);
}
.timeline-workbench .timeline-edit-panel[b-ytjwzkco6i] {
    padding: .9rem;
    border-radius: .45rem;
    background: var(--bs-tertiary-bg, #f2f6f4);
}
.timeline-workbench .timeline-match-card .table[b-ytjwzkco6i] {
    font-size: .85rem;
}
.timeline-workbench .timeline-match-card .table th[b-ytjwzkco6i] {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .timeline-workbench .timeline-column-heads[b-ytjwzkco6i] {
        display: none;
    }
    .timeline-workbench .timeline-compare-row[b-ytjwzkco6i] {
        display: block;
    }
    .timeline-workbench .timeline-source-card[b-ytjwzkco6i] {
        position: static;
        margin-bottom: .65rem;
    }
}

/* Shared compact train/GTFS selection table. Bootstrap's default
   light table palette must not override dark-mode foreground colors. */
.timeline-workbench .timeline-candidates-scroll[b-ytjwzkco6i] {
    max-height: 18rem;
    overflow-y: auto;
}
.timeline-workbench .timeline-candidates-table[b-ytjwzkco6i] {
    font-size: .78rem;
    line-height: 1.15;
    --bs-table-bg: transparent;
    --bs-table-color: var(--bs-body-color);
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-hover-bg: var(--bs-tertiary-bg);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-striped-color: var(--bs-body-color);
}
.timeline-workbench .timeline-candidates-table thead[b-ytjwzkco6i] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bs-tertiary-bg);
}
.timeline-workbench .timeline-candidates-table th[b-ytjwzkco6i],
.timeline-workbench .timeline-candidates-table td[b-ytjwzkco6i] {
    padding: .2rem .3rem;
    color: var(--bs-body-color);
    vertical-align: middle;
}
.timeline-workbench .timeline-candidates-table th[b-ytjwzkco6i] {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color) !important;
}
.timeline-workbench .timeline-candidates-table td[b-ytjwzkco6i] {
    background: transparent;
}
.timeline-workbench .timeline-candidates-table tr.table-success[b-ytjwzkco6i] {
    --bs-table-bg: var(--bs-success-bg-subtle);
    --bs-table-color: var(--bs-success-text-emphasis);
}
.timeline-workbench .timeline-candidates-table tr.table-success td[b-ytjwzkco6i] {
    background: var(--bs-success-bg-subtle);
    color: var(--bs-success-text-emphasis);
}
.timeline-workbench .timeline-candidates-table tr.table-success .text-secondary[b-ytjwzkco6i] {
    color: var(--bs-success-text-emphasis) !important;
    opacity: .8;
}
.timeline-workbench .timeline-candidates-table input[type="radio"][b-ytjwzkco6i] {
    margin: 0;
}

/* Read-only map of original Google points, not matched train geometry. */
.timeline-workbench .timeline-google-map[b-ytjwzkco6i] {
    width: 100%;
    height: 210px;
    margin-top: .9rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    background: var(--bs-tertiary-bg);
    overflow: hidden;
    isolation: isolate;
}
.timeline-workbench .timeline-google-map .leaflet-container[b-ytjwzkco6i] { border-radius: inherit; }
