/* ===== ReckonWell Tool Theme ===== */

:root {
    --ink: #1a1a1a;
    --paper: #f8f6f1;
    --warm: #e8e4db;
    --accent: #c45d3e;
    --accent-light: #d4785e;
    --accent-glow: rgba(196, 93, 62, 0.12);
    --retire-color: #2d6a4f;
    --retire-light: #40916c;
    --retire-bg: rgba(45, 106, 79, 0.06);
    --well-color: #3a5a8c;
    --well-light: #5a7fad;
    --well-bg: rgba(58, 90, 140, 0.06);
    --muted: #8a8478;
    --divider: rgba(26, 26, 26, 0.08);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Outfit', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding: 0;
}

/* ===== NAV BAR ===== */
.rl-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(248, 246, 241, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider);
}

.rl-nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.rl-nav-logo span { color: var(--accent); }

.rl-breadcrumb {
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.rl-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rl-breadcrumb a:hover { color: var(--ink); }

.rl-breadcrumb .sep { color: var(--divider); }

/* ===== AUTH ===== */
.rl-auth {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rl-sign-in-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border: 1.5px solid var(--retire-color);
    border-radius: 100px;
    background: transparent;
    color: var(--retire-color);
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.rl-sign-in-btn:hover {
    background: var(--retire-color);
    color: white;
}

.rl-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rl-user-photo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--divider);
}

.rl-user-name {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rl-sign-out-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s ease;
}

.rl-sign-out-btn:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.rl-footer {
    text-align: center;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--divider);
}

.rl-footer-logo {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.rl-footer-logo span { color: var(--accent); }

.rl-footer-tagline {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* ===== TOOL CONTAINER ===== */
.rl-tool-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

.rl-tool-container.narrow { max-width: 900px; }

.rl-tool-container.wide { max-width: 1200px; }

/* ===== TOOL CARD ===== */
.rl-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 40px;
    border: 1px solid var(--divider);
}

/* ===== TOOL HEADER ===== */
.rl-tool-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--retire-color);
}

.rl-tool-header h1 {
    font-family: var(--serif);
    font-size: 1.85rem;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.rl-tool-header .subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ===== BACK LINK ===== */
.rl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--retire-color);
    text-decoration: none;
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.rl-back-link:hover { color: var(--retire-light); }

/* ===== FORM ELEMENTS ===== */
label {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--warm);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--sans);
    background: white;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--retire-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.input-group { margin-bottom: 1.5rem; }

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* ===== INFO SECTION ===== */
.rl-info {
    background: var(--retire-bg);
    border-left: 3px solid var(--retire-color);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.rl-info h2,
.rl-info h3 {
    color: var(--ink);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.rl-info p {
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

.rl-info p:last-child { margin-bottom: 0; }

/* ===== CALCULATOR SECTION ===== */
.rl-calculator {
    border: 1.5px solid var(--retire-color);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    background: white;
}

.rl-calculator h2 {
    color: var(--ink);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* ===== RESULTS ===== */
.rl-results { margin-top: 2rem; }

.rl-results h2 {
    color: var(--ink);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.rl-results > p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.result-card {
    background: white;
    border: 1.5px solid var(--retire-color);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

.result-card h3 {
    color: var(--retire-color);
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.result-card .amount {
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--serif);
}

.result-card .description {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* ===== PLAN SUMMARY ===== */
.rl-plan-summary {
    background: var(--paper);
    border: 1.5px solid var(--retire-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.rl-plan-summary h2 {
    color: var(--retire-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.rl-plan-summary p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.92rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.plan-item {
    background: white;
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.plan-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.plan-item strong {
    color: var(--retire-color);
    font-size: 1rem;
}

.plan-empty {
    color: var(--muted);
    font-size: 0.92rem;
}

.plan-empty a {
    color: var(--retire-color);
    font-weight: 500;
    text-decoration: none;
}

.plan-empty a:hover { text-decoration: underline; }

/* ===== GUIDELINES ===== */
.rl-guidelines {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1.5px solid var(--divider);
}

.rl-guidelines h2 {
    color: var(--ink);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.guideline-item {
    background: var(--paper);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid var(--retire-color);
    border-radius: 0 8px 8px 0;
}

.guideline-item strong {
    color: var(--retire-color);
    font-weight: 600;
}

.guideline-item p {
    color: var(--muted);
    margin-top: 0.25rem;
    line-height: 1.6;
    font-size: 0.92rem;
}

/* ===== COMPARISON / STAT ROWS ===== */
.rl-comparison {
    background: white;
    border: 1.5px solid var(--retire-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.rl-comparison h3 {
    color: var(--retire-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--divider);
}

.stat-row:last-child { border-bottom: none; }

.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-value {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 700;
}

.delta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--divider);
}

.delta-row:last-child { border-bottom: none; }

.delta-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.delta-value {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

.comparison-note {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.5rem;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.status-badge.above {
    background: rgba(45, 106, 79, 0.1);
    color: var(--retire-color);
}

.status-badge.on-track {
    background: rgba(58, 90, 140, 0.1);
    color: var(--well-color);
}

.status-badge.below {
    background: rgba(196, 93, 62, 0.1);
    color: var(--accent);
}

/* ===== BENCHMARK TABLE ===== */
.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.benchmark-table thead {
    background: var(--retire-color);
    color: white;
}

.benchmark-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
}

.benchmark-table th:first-child { border-radius: 8px 0 0 0; }
.benchmark-table th:last-child { border-radius: 0 8px 0 0; }

.benchmark-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--divider);
    font-size: 0.92rem;
}

.benchmark-table tbody tr:hover {
    background: var(--retire-bg);
}

/* ===== SOURCE NOTE ===== */
.source-note {
    background: var(--paper);
    border: 1px solid var(--divider);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline-container { margin: 2rem 0; }

.timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--retire-color);
    opacity: 0.3;
}

.timeline-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--retire-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 1rem;
    z-index: 1;
    text-align: center;
    line-height: 1.1;
}

.timeline-content {
    flex-grow: 1;
    background: white;
    border: 1.5px solid var(--retire-color);
    border-radius: 10px;
    padding: 1.25rem;
}

.timeline-content h3 {
    color: var(--retire-color);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

.timeline-content ul {
    margin-left: 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.timeline-content li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* ===== MILESTONE CARDS ===== */
.milestone-card {
    background: white;
    border-left: 4px solid var(--retire-color);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--divider);
    border-left: 4px solid var(--retire-color);
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.milestone-title {
    color: var(--retire-color);
    font-size: 1.15rem;
    font-weight: 700;
}

.milestone-badge {
    background: var(--retire-color);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

.milestone-badge.current { background: var(--accent); }
.milestone-badge.future { background: var(--retire-color); }
.milestone-badge.achieved { background: var(--retire-light); }

.milestone-details {
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.92rem;
}

.milestone-details li {
    margin-bottom: 0.4rem;
    list-style: none;
    padding-left: 1.25rem;
    position: relative;
}

.milestone-details li:before {
    content: "--";
    position: absolute;
    left: 0;
    color: var(--retire-color);
}

.milestone-warning {
    background: rgba(196, 93, 62, 0.06);
    border-left: 3px solid var(--accent);
    padding: 0.65rem 1rem;
    margin-top: 0.65rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.milestone-success {
    background: var(--retire-bg);
    border-left: 3px solid var(--retire-color);
    padding: 0.65rem 1rem;
    margin-top: 0.65rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ===== STRATEGY / WARNING SECTIONS ===== */
.rl-strategy {
    background: rgba(196, 93, 62, 0.04);
    border: 1.5px solid rgba(196, 93, 62, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.rl-strategy h2,
.rl-strategy h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.rl-strategy h2 { font-size: 1.2rem; }
.rl-strategy h3 { font-size: 1rem; margin-top: 1rem; }

.rl-strategy p, .rl-strategy li {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.rl-strategy ol, .rl-strategy ul { margin-left: 1.5rem; }

.rl-strategy li { margin-bottom: 0.5rem; }

.rl-warning {
    background: rgba(196, 93, 62, 0.04);
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.rl-warning h3 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.rl-warning p, .rl-warning li {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.rl-warning ul { margin-left: 1.25rem; margin-top: 0.5rem; }

.rl-warning li { margin-bottom: 0.4rem; }

/* ===== PERSONALIZED SECTION ===== */
.rl-personalized {
    background: var(--retire-bg);
    border: 1.5px solid var(--retire-color);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.rl-personalized h2 {
    color: var(--retire-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: var(--serif);
}

.no-data-message {
    text-align: center;
    color: var(--muted);
    padding: 1rem;
    font-size: 0.92rem;
}

.no-data-message a {
    color: var(--retire-color);
    font-weight: 500;
    text-decoration: none;
}

.no-data-message a:hover { text-decoration: underline; }

/* ===== RETIREMENT PROGRESS ===== */
.retirement-progress {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.retirement-progress h3 {
    color: var(--ink);
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.progress-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--divider);
}

.progress-stat:last-child { border-bottom: none; }

.progress-label {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.progress-value {
    color: var(--retire-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== STRATEGY RECOMMENDATION ===== */
.strategy-recommendation {
    background: rgba(196, 93, 62, 0.04);
    border: 1.5px solid rgba(196, 93, 62, 0.2);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.strategy-recommendation h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* ===== NEXT STEPS ===== */
.rl-next-steps {
    background: rgba(196, 93, 62, 0.04);
    border: 1.5px solid rgba(196, 93, 62, 0.15);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.rl-next-steps h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.rl-next-steps ul {
    margin-left: 1.25rem;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

/* ===== EDUCATIONAL DIVIDER ===== */
.educational-divider {
    border-top: 2px solid var(--divider);
    margin: 2.5rem 0 1.5rem 0;
    padding-top: 1.5rem;
}

.educational-divider h2 {
    color: var(--muted);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.35rem;
}

.educational-divider p {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    opacity: 0.7;
}

/* ===== COOKIE CONSENT BANNER ===== */
.rl-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ink);
    color: var(--paper);
    padding: 1.25rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: rlConsentSlideUp 0.3s ease;
}

.rl-consent-banner.rl-consent-hidden {
    animation: rlConsentSlideDown 0.3s ease forwards;
}

@keyframes rlConsentSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes rlConsentSlideDown {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

.rl-consent-content {
    max-width: 900px;
    margin: 0 auto;
}

.rl-consent-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: rgba(248, 246, 241, 0.85);
}

.rl-consent-content p strong {
    color: var(--paper);
    font-size: 0.95rem;
}

.rl-consent-content a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rl-consent-content a:hover {
    color: var(--paper);
}

.rl-consent-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.rl-consent-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.rl-consent-accept {
    background: var(--paper);
    color: var(--ink);
}

.rl-consent-accept:hover {
    background: white;
    transform: translateY(-1px);
}

.rl-consent-manage {
    background: transparent;
    color: var(--paper);
    border: 1.5px solid rgba(248, 246, 241, 0.3);
}

.rl-consent-manage:hover {
    border-color: var(--paper);
}

.rl-consent-toggle {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(248, 246, 241, 0.1);
    font-size: 0.88rem;
    cursor: pointer;
}

.rl-consent-toggle input {
    margin-right: 0.5rem;
    accent-color: var(--accent);
}

.rl-consent-toggle span {
    color: rgba(248, 246, 241, 0.85);
}

.rl-consent-desc {
    display: block;
    font-size: 0.78rem;
    color: rgba(248, 246, 241, 0.5);
    margin-top: 0.2rem;
    padding-left: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .rl-nav { padding: 0.75rem 1rem; gap: 1rem; }
    .rl-nav-logo { font-size: 1.1rem; }
    .rl-breadcrumb { font-size: 0.75rem; }
    .rl-user-name { display: none; }

    .rl-tool-container { padding: 70px 15px 30px; }

    .rl-card { padding: 25px 20px; border-radius: 10px; }

    .rl-tool-header h1 { font-size: 1.5rem; }

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

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

    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .benchmark-table { font-size: 0.85rem; }

    .benchmark-table th,
    .benchmark-table td { padding: 0.65rem 0.5rem; }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .timeline-item:not(:last-child)::after {
        left: 19px;
        top: 50px;
    }

    .timeline-content { padding: 1rem; }

    .milestone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .rl-breadcrumb { display: none; }
    .rl-tool-header h1 { font-size: 1.3rem; }
}
