/* ==========================================================================
   GLOBAL DESIGN SYSTEM & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f4f6f8;
}

.fm-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* ==========================================================================
   GLOBAL APPLICATION HEADER
   ========================================================================== */

.fm-header {
    display: flex;
    align-items: center;
    height: 64px;
    background-color: #0f172a;
    padding: 0 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid #1e293b;
}

.fm-header-logo {
    display: flex;
    align-items: center;
    margin-right: 12px;
    text-decoration: none !important;
}

.fm-header-wordmark {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-decoration: none !important;
}

.fm-header-wordmark span {
    color: #38bdf8;
    font-weight: 400;
}

.fm-header-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.fm-header-nav a {
    color: #94a3b8;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.fm-header-nav a:hover {
    color: #ffffff;
    background-color: #3f5d873b;
}

.fm-header-nav a.fm-logout {
    color: #ef4444;
}

.fm-header-nav a.fm-logout:hover {
    color: #f87171;
    background-color: #d47a7a80;
}

.fm-sep {
    width: 1px;
    height: 16px;
    background-color: #1e293b;
    margin: 0 16px;
}

/* ==========================================================================
   SIDEBAR & LAYOUT SHELL ARCHITECTURE
   ========================================================================== */

.fm-body {
    display: flex;
    flex: 1 0 auto;
    margin-top: 64px;
    position: relative;
    width: 100%;
}

#content-container.fm-main-col {
    transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fm-sidebar {
    width: 240px;
    background-color: #1e293b;
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 1020;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #334155;
    overflow-y: auto;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), padding 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fm-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #e3e4e6;
    border-radius: 6px;
    text-decoration: none !important;
    margin-bottom: 4px;
    transition: all 0.15s ease;
    font-size: 14px;
    font-weight: 500;
}

.fm-nav-item:hover {
    background-color: #0f172a;
    color: #ffffff;
}

.fm-nav-item.active {
    background-color: #334155;
    color: #38bdf8;
    font-weight: 600;
}

.fm-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.fm-nav-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fm-sidebar-divider {
    height: 1px;
    background-color: #334155;
    margin: 16px 16px;
}

.fm-sidebar-spacer {
    flex-grow: 1;
}

.fm-main-col {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fm-content {
    flex: 1 0 auto;
    padding: 30px;
    width: 100%;
}

/* ==========================================================================
   SIDEBAR COLLAPSED STATES & CONTROLS
   ========================================================================== */

#sidebar.collapsed {
    width: 75px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    align-items: center !important;
}

#sidebar.collapsed + #content-container.fm-main-col {
    margin-left: 75px !important;
}

#sidebar.collapsed .fm-nav-label,
#sidebar.collapsed .sidebar-toggle-btn span {
    display: none !important; 
}

#sidebar.collapsed .fm-nav-item {
    justify-content: center !important;
    width: 100% !important;
    padding: 14px 0 !important;
}

.toggle-chevron {
    transition: transform 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

#sidebar.collapsed .toggle-chevron {
    margin-left: 0;
    transform: rotate(180deg);
}

#sidebar.collapsed .fm-nav-item:not(:has(.fm-nav-icon))::before {
    display: block !important;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#sidebar.collapsed a[href*="simulator"]::before { content: "SIM"; }
#sidebar.collapsed a[href*="visualization"]::before { content: "VIS"; }
#sidebar.collapsed a[href*="pdt_space"]::before { content: "PDT"; }
#sidebar.collapsed a[href*="meshtool_launch"]::before { content: "MESH"; }
#sidebar.collapsed a[href*="history"]::before { content: "HIST"; }

.sidebar-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 14px 16px;
    width: calc(100% + 24px);
    margin: -24px -12px 16px -12px; 
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    outline: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

#sidebar.collapsed .sidebar-toggle-btn {
    justify-content: center;
    padding: 14px 0;
    width: calc(100% + 12px);
    margin: -24px -6px 16px -6px;
}

/* ==========================================================================
   BUTTON & LINK OVERRIDES
   ========================================================================== */

a.btn-primary {
    color: #ffffff !important;
}

.btn-primary {
    background-color: #134d84 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 500;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25) !important;
}

.fm-logout-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    margin: 0;
    font: inherit;
    cursor: pointer;
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.fm-logout-btn:hover {
    color: #f87171;
    text-decoration: none;
    background-color: #ef444430;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.fm-logout-btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-multi-line {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   DYNAMIC AUTHENTICATION FORMS & DJANGO INPUTS
   ========================================================================== */

.form-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #0894d1;
}

.django-field-wrapper input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.django-field-wrapper input:focus {
    background-color: #fff;
    border-color: #0894d1;
    color: #495057;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(8, 148, 209, 0.25);
}

.form-links a,
.login-links a {
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.form-links a:hover,
.login-links a:hover {
    color: #0672a1 !important;
}

/* ==========================================================================
   LEGACY PAGE BACKWARDS-COMPATIBILITY LAYER
   ========================================================================== */

.txt_container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    color: #334155;
}

.txt_container h1 {
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.txt_container h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 32px;
    margin-bottom: 12px;
}

.txt_container p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

.txt_container form.card {
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    margin-top: 24px;
}

.txt_container table.no_error {
    width: 100%;
    margin-bottom: 16px;
}

.txt_container table.no_error th {
    padding: 10px;
    text-align: left;
    vertical-align: middle;
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
    width: 35%;
}

.txt_container table.no_error td {
    padding: 10px;
    vertical-align: middle;
}

.txt_container table.no_error input[type="text"],
.txt_container table.no_error input[type="number"],
.txt_container table.no_error select {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #ffffff;
    color: #0f172a;
}

.figure_container {
    margin: 20px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
}

.tutorial_image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 10px;
}

.tutorial_image:last-child {
    margin-bottom: 0;
}

.figure_container iframe {
    max-width: 100%;
    border-radius: 4px;
}

.center_container {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
}

.center_container a {
    color: #0284c7;
    font-weight: 500;
    text-decoration: none;
}

.center_container a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER ARCHITECTURE
   ========================================================================== */

.fm-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 40px 40px 24px 40px;
    margin-top: auto;
    color: #475569;
}

.fm-footer h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 600;
}

.fm-footer-links {
    padding-left: 0;
    list-style: none;
}

.fm-footer-links li {
    margin-bottom: 10px;
}

.fm-footer-links a {
    color: #64748b;
    font-size: 14px;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.fm-footer-links a:hover {
    color: #0284c7;
}

.fm-footer-media .media h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

/* ==========================================================================
   GLOBAL FORM VALIDATION ERRORS
   ========================================================================== */

.fm-error-container {
    margin-top: 4px;
    margin-bottom: 8px;
}

.fm-error-text {
    display: block;
    color: #e85454; 
    background-color: #fef2f2;
    border-left: 3px solid #ef4444;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   FORM INPUT UNIT GROUPS
   ========================================================================== */

.style-unit-group {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 225px;
}

.style-unit-group input,
.style-unit-group select {
    width: 100%;
    min-width: 60px;
    flex: 1 1 auto;
}

.style-unit-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.style-unit-group .input-group-append .input-group-text,
.style-unit-group .input-group-text {
    min-width: 85px;
    justify-content: center;
    font-weight: 500;
    white-space: nowrap;
}

/* ==========================================================================
   SIMULATOR DYNAMIC FORM ROWS
   ========================================================================== */

.dynamic-form-row .row {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.dynamic-form-row .col-auto {
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
}

.custom-form-input-wrapper input,
.custom-form-input-wrapper select {
    width: 100% !important;
    max-width: 100% !important;
}

.style-power-group {
    width: 100%;
    max-width: 180px;
}

/* ==========================================================================
   VISUALIZATION CHOICE CARDS
   ========================================================================== */

.viz-choice-card {
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.viz-choice-card:hover {
    border-color: #0d6efd;
}

.viz-choice-card:has(input[type="radio"]:checked) {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.04);
}

.viz-choice-card:has(input[type="radio"]:checked) .title-text {
    color: #0d6efd;
}

.viz-choice-card .form-check-input {
    margin-top: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
    #sidebar:not(.collapsed) {
        width: 100% !important;
        z-index: 1040;
    }
    #sidebar:not(.collapsed) + #content-container.fm-main-col {
        margin-left: 75px !important;
    }
}

@media (max-width: 576px) {
    .responsive-nav-container {
        flex-direction: column-reverse !important;
        align-items: center !important;
        gap: 12px;
    }
    .responsive-nav-container .btn {
        width: 100% !important;
        margin: 0 !important;
        text-align: center;
    }
    .card {
        padding: 15px !important;
    }
    h1.display-4 {
        font-size: 2.2rem !important;
    }
    .dynamic-form-row .row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .dynamic-form-row .col-auto {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-top: 6px;
    }
    .style-unit-group {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   TOOLTIPS & INLINE INFO HELPERS
   ========================================================================== */

.info-helper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1.5px solid #0d6efd; 
    border-radius: 50%;
    color: #0d6efd; 
    font-size: 11px;
    font-weight: bold;
    cursor: help;
    transition: all 0.2s ease-in-out;
    user-select: none;
    vertical-align: middle;
}

.info-helper::before {
    content: "?";
}

.info-helper:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

.info-helper .helper-text {
    visibility: hidden;
    width: 400px; 
    background-color: #2c2c2c;
    color: #ffffff;
    text-align: left;
    border-radius: 6px;
    padding: 10px 14px;
    position: absolute;
    z-index: 1050;
    bottom: 125%; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 10pt;
    font-weight: normal;
    line-height: 1.4;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.info-helper .helper-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333333 transparent transparent transparent;
}

.info-helper:hover .helper-text {
    visibility: visible;
    opacity: 1;
}

.helper-table {
    width: 100%;
    margin-top: 8px;
    border-collapse: collapse;
    font-size: 9pt;
}

.helper-table th {
    border-bottom: 1px solid #555555;
    padding: 4px 6px;
    font-weight: bold;
    color: #a0c4ff; 
}

.helper-table td {
    border-bottom: 1px solid #444444;
    padding: 5px 6px;
    color: #e0e0e0;
}

.helper-table tr:last-child td {
    border-bottom: none; 
}
/* ==========================================================================
   PDT-SPACE STATUS PAGES (wait / running / finish / review-xml)
   ========================================================================== */

.fm-status-card {
    max-width: 600px;
    margin: 32px auto 0 auto;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 40px 32px;
    text-align: center;
}

.fm-status-spinner {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.fm-status-spinner-ring {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: fm-status-spin 0.9s linear infinite;
}

@keyframes fm-status-spin {
    to { transform: rotate(360deg); }
}

.fm-status-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.fm-status-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.fm-status-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.fm-status-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.fm-status-meta-label {
    font-weight: 600;
    color: #64748b;
}

.fm-status-meta-value {
    font-weight: 600;
    color: #0f172a;
}

.fm-progress-track {
    width: 100%;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 20px;
}

.fm-progress-fill {
    height: 100%;
    width: 0;
    background-color: #0284c7;
    background-image: linear-gradient(90deg, #0284c7, #38bdf8);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.fm-status-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    border-radius: 6px;
    border: 1px solid #0284c7;
    background-color: #134d84;
    color: #ffffff;
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.fm-status-btn:hover {
    background-color: #0369a1;
    border-color: #0369a1;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25);
}

.fm-status-note {
    font-size: 12px;
    color: #94a3b8;
    margin: 20px 0 0 0;
}

.fm-status-note a {
    color: #0284c7;
    text-decoration: none;
}

.fm-status-note a:hover {
    text-decoration: underline;
}

/* -- Review XML page -- */

.fm-xml-preview {
    text-align: left;
    max-width: 900px;
    width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    font-size: 12pt;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 20px;
    color: #1e293b;
}

.fm-xml-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 6px;
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid transparent;
}

.fm-xml-btn-ghost {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #334155 !important;
}

.fm-xml-btn-ghost:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b !important;
}

.fm-xml-btn-secondary {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155 !important;
}

.fm-xml-btn-secondary:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
    color: #1e293b !important;
}

.fm-xml-btn-primary {
    background-color: #134d84;
    border-color: #0284c7;
    color: #ffffff !important;
}

.fm-xml-btn-primary:hover {
    background-color: #0369a1;
    border-color: #0369a1;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25);
}

/* -- Finish page -- */

.fm-finish-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
}

.fm-finish-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.fm-finish-stat {
    flex: 1 1 180px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fm-finish-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.fm-finish-stat-value {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
}

.fm-finish-section {
    margin-bottom: 32px;
}

.fm-finish-content {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 16px;
    overflow-x: auto;
}

.fm-finish-time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.fm-finish-time-item {
    flex: 1 1 200px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fm-finish-time-value {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.fm-finish-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fm-finish-links li::before {
    content: "→";
    display: inline-block;
    width: 1.2em;
    color: #94a3b8;
}

.fm-finish-links a {
    color: #134d84;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fm-finish-links a:hover {
    text-decoration: underline;
}