/* ============================================================
   WhichDay.net — Shared Stylesheet
   All pages link this file. Page-specific styles remain inline.
   ============================================================ */

:root {
            --primary-color: #1a73e8;
            --text-color: #333333;
            --bg-color: #f4f6f8;
            --border-color: #cccccc;
            --accent-blue: #2980b9;
            --card-shadow: 0 4px 6px rgba(0,0,0,0.05);
            --accent-orange: #e67e22;
            --accent-green: #2ecc71;
            
            /* Custom color palettes for grid items */
            --color-mortgage-buy: #1a73e8;
            --color-mortgage-refi: #2980b9;
            --color-bank: #2ecc71;
            --color-credit: #9b59b6;
            --color-insurance: #e74c3c;
            --color-car-loan: #34495e;
        }
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-color);
            color: var(--text-color);
        }
        .container {
            max-width: 1050px;
            margin: 0 auto;
            padding: 15px;
        }
        header {
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 12px;
            margin-bottom: 15px;
        }
        
        .logo-container {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            user-select: none;
            font-family: 'Inter', sans-serif;
            text-decoration: none;
        }
        .logo-box {
            width: 36px;
            height: 36px;
            background-color: #2563eb;
            color: #ffffff;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 18px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
            transition: transform 0.2s ease-in-out;
        }
        .logo-container:hover .logo-box {
            transform: rotate(6deg);
        }
        .logo-text-group {
            display: flex;
            flex-direction: column;
        }
        .logo-title {
            font-size: 24px;
            font-weight: 900;
            color: #2563eb;
            margin: 0;
            line-height: 1;
            letter-spacing: -0.025em;
        }
        .logo-dot-net {
            color: #1e293b;
            font-weight: 700;
        }
        .logo-subtitle {
            font-size: 11px;
            font-weight: 600;
            color: #64748b;
            margin: 4px 0 0 0;
            text-transform: lowercase;
            font-style: italic;
            letter-spacing: 0.05em;
        }

        .main-layout {
            display: grid;
            grid-template-columns: 2.2fr 1fr;
            gap: 15px;
        }
        @media (max-width: 768px) {
            .main-layout { grid-template-columns: 1fr; }
        }
        .calculator-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            padding: 25px;
            margin-bottom: 15px;
        }
        @media (max-width: 480px) {
            .calculator-card { padding: 15px; }
        }
        .page-title {
            font-family: 'Inter', sans-serif;
            font-size: 22px;
            font-weight: 900;
            margin-top: 0;
            margin-bottom: 2px !important;
            color: #2563eb;
            letter-spacing: -0.025em;
        }
        
        .page-description {
            font-size: 15px;
            color: #4a4a4a;
            margin-top: 2px;
            margin-bottom: 15px;
            line-height: 1.5;
            letter-spacing: -0.1px;
        }
        @media (max-width: 480px) {
            .page-description { font-size: 14px; margin-bottom: 12px; margin-top: 2px; }
        }
        .page-description .focus-text {
            font-weight: 500;
            color: #111111;
        }
        .page-description .seo-keyword {
            color: var(--primary-color);
            font-weight: 600;
            border-bottom: 1px dashed var(--primary-color);
            padding-bottom: 1px;
            white-space: nowrap;
        }

        .date-banner-container {
            text-align: center;
            padding: 0px 10px;
            margin-bottom: 5px;
        }
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        .today-meta-line {
            font-size: 13.5px;
            color: #475569;
            margin: 6px 0 0;
        }
        .today-countdowns {
            display: flex;
            gap: 8px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 10px;
        }
        .today-chip {
            font-size: 12.5px;
            font-weight: 600;
            color: #1e3c72;
            background: #eaf2ff;
            border: 1px solid #cfe0ff;
            border-radius: 999px;
            padding: 4px 12px;
            white-space: nowrap;
        }
        .today-reminder-cta {
            display: inline-block;
            margin-top: 10px;
            background: none;
            border: none;
            color: #1a73e8;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
        }
        .today-reminder-cta:hover { text-decoration: underline; }
        #today-date-string {
            font-size: 22px;
            font-weight: 900;
            letter-spacing: -0.5px;
            margin: 0;
            text-transform: uppercase;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            background-image: linear-gradient(90deg, #1e3c72, #1a73e8, #4f9bf0, #1a73e8, #1e3c72);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: today-shimmer 5s linear infinite;
        }
        .date-banner-container { animation: today-rise 0.5s ease both; }
        .today-special { margin-bottom: 4px; }
        .today-special-emoji { display: block; font-size: 20px; letter-spacing: 4px; line-height: 1.1; }
        .today-special-label {
            font-family: Arial, sans-serif;
            font-size: 11px;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        @keyframes today-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
        @keyframes today-rise { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: translateY(0); } }
        @media (prefers-reduced-motion: reduce) {
            #today-date-string, .date-banner-container { animation: none; }
        }
        @media (max-width: 480px) {
            #today-date-string { font-size: 17px; }
        }

        .weather-widget-container {
            text-align: center;
            margin: 5px 0 12px 0;
            padding: 8px;
            background: #f1f2f6;
            border-top: 3px solid var(--primary-color);
        }
        #weather-text {
            font-size: 14px;
            font-weight: bold;
            color: #34495e;
            display: block;
            margin-bottom: 2px;
        }
        #weather-recommendation {
            margin: 0;
            font-size: 12.5px;
            color: #555;
            font-style: italic;
            line-height: 1.25;
        }

        .special-day-trigger {
            background: linear-gradient(135deg, #ff9f43, var(--accent-orange));
            color: #000000;
            padding: 12px;
            text-align: center;
            font-weight: bold;
            font-size: 15px;
            border-radius: 4px;
            cursor: pointer;
            margin: 12px 0;
            box-shadow: 0 4px 6px rgba(230, 126, 34, 0.2);
            transition: transform 0.2s;
        }
        @media (max-width: 480px) {
            .special-day-trigger { font-size: 13px; padding: 10px; margin: 10px 0; }
        }
        .special-day-trigger:hover {
            transform: scale(1.01);
        }
        .collapsible-form-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease;
            background: #fcfcfc;
            border: 0 dashed #bdc3c7;
            box-sizing: border-box;
        }
        .collapsible-form-panel.open {
            max-height: 2000px;
            border-width: 1px;
            padding: 15px;
            margin-bottom: 25px;
        }
        .panel-title {
            font-size: 14px;
            text-transform: uppercase;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 12px;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
            letter-spacing: -0.1px;
        }

        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            font-size: 13px;
        }
        .form-group select, .form-group input {
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
            border: 1px solid var(--border-color);
            font-size: 16px;
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        @media (max-width: 480px) {
            .form-row { grid-template-columns: 1fr; }
        }

        .assistant-note {
            font-size: 12px;
            color: #666;
            background: #e8ecef;
            padding: 10px;
            border-left: 3px solid var(--accent-orange);
            margin-bottom: 15px;
            line-height: 1.4;
        }

        button.btn-calculate {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 14px 20px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            text-transform: uppercase;
            margin-top: 10px;
        }

        .reminders-list-section {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px dashed #bdc3c7;
            display: none;
        }
        .reminders-list-section h4 {
            margin: 0 0 10px 0;
            font-size: 14px;
            text-transform: uppercase;
            color: #2c3e50;
        }
        .reminder-item {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-left: 4px solid var(--primary-color);
            padding: 10px 12px;
            margin-bottom: 8px;
            border-radius: 4px;
            font-size: 13px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .section-separator-title {
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            font-weight: 900;
            text-transform: uppercase;
            color: #1e293b;
            margin: 18px 0 12px 0;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 6px;
            letter-spacing: -0.025em;
            text-align: center;
        }
        @media (max-width: 480px) {
            .section-separator-title { font-size: 15px; margin: 14px 0 10px 0; }
        }

        .grid-menu {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 15px;
            margin-top: 5px;
        }
        .menu-link {
            text-decoration: none;
            color: inherit;
        }
        .menu-box {
            border: 1px solid #e0e0e0;
            padding: 18px;
            cursor: pointer;
            background: #ffffff;
            transition: transform 0.2s, box-shadow 0.2s;
            height: 100%;
            box-sizing: border-box;
            border-radius: 4px;
            box-shadow: var(--card-shadow);
        }
        .menu-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }
        .menu-box strong {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            font-weight: 900;
            letter-spacing: -0.025em;
            display: inline-block;
            margin-bottom: 8px;
            white-space: nowrap;
        }
        .menu-box span {
            font-size: 13px;
            color: #555;
            line-height: 1.5;
            display: block;
        }

        /* Distinct color configurations for each grid link */
        .link-mortgage-buy .menu-box { border-left: 5px solid var(--color-mortgage-buy); }
        .link-mortgage-buy strong { color: var(--color-mortgage-buy); }
        
        .link-mortgage-refi .menu-box { border-left: 5px solid var(--color-mortgage-refi); }
        .link-mortgage-refi strong { color: var(--color-mortgage-refi); }
        
        .link-bank .menu-box { border-left: 5px solid var(--color-bank); }
        .link-bank strong { color: var(--color-bank); }
        
        .link-credit .menu-box { border-left: 5px solid var(--color-credit); }
        .link-credit strong { color: var(--color-credit); }
        
        .link-insurance .menu-box { border-left: 5px solid var(--color-insurance); }
        .link-insurance strong { color: var(--color-insurance); }
        
        .link-car-loan .menu-box { border-left: 5px solid var(--color-car-loan); }
        .link-car-loan strong { color: var(--color-car-loan); }

        .seo-content-section {
            margin-top: 35px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }
        .seo-content-section h3 {
            font-size: 16px;
            color: #222;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        .seo-content-section p {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .adsense-sidebar {
            background: #ffffff;
            border: 1px solid var(--border-color);
            padding: 20px;
            text-align: center;
            min-height: 500px;
            align-self: start;
        }
        .internal-sidebar-banner {
            border: 1px solid #e0e0e0;
            background: #fafafa;
            padding: 20px 15px;
            text-align: center;
            border-radius: 4px;
        }
        .internal-sidebar-banner h4 {
            margin: 0 0 10px 0;
            color: var(--primary-color);
            font-size: 15px;
            text-transform: uppercase;
        }
        .internal-sidebar-banner p {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
            margin-bottom: 15px;
        }
        
        footer {
            margin-top: 40px;
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
            text-align: center;
            color: #666;
            font-size: 13px;
        }
        .footer-links {
            margin-bottom: 15px;
        }
        .footer-links a {
            color: #1a73e8;
            text-decoration: none;
            margin: 0 10px;
            font-weight: bold;
        }
        .footer-links a:hover {
            text-decoration: underline;
        }
        .disclaimer-text {
            font-size: 12px;
            color: #777;
            line-height: 1.6;
            max-width: 900px;
            margin: 0 auto;
        }

/* ============================================================
   Shared: Live Rate Banner (all calculator pages)
   ============================================================ */
.live-rate-banner {
    background: #e8f4fd;
    border: 1px solid #b3d7ff;
    border-left: 4px solid var(--primary-color);
    padding: 9px 14px;
    font-size: 12.5px;
    color: #1a4a7a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 3px;
}
.live-rate-banner .live-dot {
    width: 8px; height: 8px;
    background: #27ae60;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ============================================================
   Shared: Rate Compare Row (used by which-insurance.html's
   premium range table)
   ============================================================ */
.rate-compare-row {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 13.5px;
}
.rate-compare-row:first-child {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
    color: #6b7280;
    border-bottom: 2px solid #ddd;
}
.rate-compare-row.current-tier {
    background: #f0f7ff;
    border-left: 3px solid var(--primary-color);
}
.rate-compare-row .tier-rate {
    font-weight: bold;
    color: var(--primary-color);
}
@media (max-width: 480px) {
    .rate-compare-row { grid-template-columns: 1fr 1fr; font-size: 12.5px; }
}

/* ============================================================
   Shared: Results Box (mortgage, car, refinance)
   ============================================================ */
.results-box {
    margin-top: 25px;
    padding: 20px;
    background-color: #f0f7ff;
    border: 1px solid #b3d7ff;
    display: none;
}
.results-box h3 {
    margin-top: 0;
    color: #0056b3;
    font-size: 18px;
    text-transform: uppercase;
}
.result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ced4da;
    font-size: 15px;
}
.result-row:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: #2b579a;
    background-color: #e1f0ff;
    padding: 10px;
    margin-top: 5px;
}

/* ============================================================
   Shared: Results Section (bank, credit)
   ============================================================ */
.results-section { margin-top: 25px; display: none; }
.results-section h3 {
    margin-top: 0;
    font-size: 18px;
    color: #222;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
    text-transform: uppercase;
}

/* ============================================================
   Shared: Tips Block (all calculator pages)
   ============================================================ */
.tips-container { margin-top: 30px; border-top: 2px dashed #ddd; padding-top: 20px; }
.tips-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.tip-card {
    background: #fdfefe;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.tip-header { font-weight: bold; color: var(--accent-orange); font-size: 14px; margin: 0 0 6px 0; }
.tip-body { font-size: 13px; color: #555; line-height: 1.5; }

/* ============================================================
   Shared: Credit Alert / Optimization Tip
   ============================================================ */
.credit-alert {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 12px;
    font-size: 13px;
    margin-top: 15px;
    display: none;
    line-height: 1.4;
}

/* ============================================================
   Shared: House Ad (Phase 1 filler shown in ad slots)
   ============================================================ */
.house-ad {
    display: block;
    text-decoration: none;
    border: 1px dashed #ddd;
    background: #fafafa;
    padding: 18px 14px;
    border-radius: 4px;
}
.house-ad-eyebrow { font-size: 10px; letter-spacing: 1px; color: #6b7280; margin-bottom: 6px; text-transform: uppercase; }
.house-ad-title { font-weight: bold; color: #2c3e50; font-size: 14px; margin-bottom: 4px; }
.house-ad-body { font-size: 12.5px; color: #777; line-height: 1.4; }

/* ============================================================
   Shared: Inline Ad Slot (second ad slot, shown after results —
   separate from the always-visible sidebar slot)
   ============================================================ */
.ad-slot-inline {
    margin: 22px 0;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    text-align: center;
    min-height: 120px;
}

/* ============================================================
   Shared: Partner Offer Cards (5-partner block on every calculator)
   ============================================================ */
.partner-section { margin-top: 25px; }
.partner-disclosure {
    font-size: 12px;
    color: #6b5300;
    background: #fffaf0;
    border: 1px solid #f2e2b8;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 14px;
    line-height: 1.5;
}
.partner-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    padding: 16px 18px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 15px;
}
@media (max-width: 480px) {
    .partner-card { grid-template-columns: 1fr; text-align: left; }
}
.partner-info { display: flex; gap: 12px; align-items: flex-start; }
.partner-rank {
    flex-shrink: 0;
    background: #eef4ff;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 3px;
    margin-top: 2px;
}
.partner-name { font-weight: bold; font-size: 15.5px; color: #111; }
.partner-match-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #0f5bc4;
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
}
.partner-tagline { font-size: 12px; color: var(--primary-color); font-weight: 600; margin: 2px 0 4px 0; }
.partner-blurb { font-size: 12.5px; color: #666; line-height: 1.4; }
.btn-partner {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 11px 18px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}
.btn-partner:hover { background-color: #0f5bc4; }

.partner-match-note {
    font-size: 12.5px;
    color: #1a4a7a;
    background: #eef6ff;
    border: 1px solid #d0e6ff;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 12px;
}
.partner-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.partner-highlight-tag {
    background: #f0fdf4;
    color: #1e8e3e;
    border: 1px solid #cdeed9;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}
.partner-trust { font-size: 11.5px; color: #777; margin-top: 6px; }
.partner-facts {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e5e5e5;
    flex-wrap: wrap;
}
.partner-fact { display: flex; flex-direction: column; }
.partner-fact-label { font-size: 10.5px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.3px; }
.partner-fact-value { font-size: 14px; color: #1a1a1a; font-weight: 700; }
.partner-info-note {
    font-size: 11.5px;
    color: #6b7280;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px 12px;
    margin-top: 10px;
    line-height: 1.5;
}
.partner-info-note a { color: #777; }

/* ============================================================
   Shared: Gift Suggestion Links (homepage reminder tool)
   ============================================================ */
.gift-links-title { font-size: 12.5px; font-weight: bold; color: #2c3e50; margin-bottom: 8px; }
.gift-links-row { display: flex; gap: 8px; flex-wrap: wrap; }
.gift-link-btn {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 7px 12px;
    border-radius: 20px;
}
.gift-link-btn:hover { background: var(--primary-color); color: #fff; }

/* ============================================================
   Shared: Field Tooltips ("?" hover/tap help on form labels)
   ============================================================ */
.field-label-row { display: flex; align-items: center; gap: 5px; }
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #d8e3f0;
    color: #3a5a80;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
    position: relative;
    flex-shrink: 0;
}
.tooltip-icon .tooltip-bubble {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    max-width: 70vw;
    background: #2c3e50;
    color: #fff;
    font-size: 11.5px;
    font-weight: normal;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 5px;
    z-index: 20;
    text-align: left;
}
.tooltip-icon:hover .tooltip-bubble,
.tooltip-icon:focus .tooltip-bubble { display: block; }
@media (max-width: 480px) {
    .tooltip-icon .tooltip-bubble { left: 0; transform: none; }
}

/* ============================================================
   Shared: Deep Content Block ("How This Works" — SEO/education)
   ============================================================ */
.deep-content { margin-top: 30px; border-top: 2px dashed #ddd; padding-top: 20px; }
.deep-content h2 { font-size: 17px; color: var(--primary-color); text-transform: uppercase; margin: 0 0 10px 0; }
.deep-content h3 { font-size: 14.5px; color: #2c3e50; margin: 18px 0 6px 0; }
.deep-content p { font-size: 13.5px; color: #555; line-height: 1.65; margin: 0 0 10px 0; }
.deep-content ul, .deep-content ol { margin: 0 0 12px 22px; padding: 0; }
.deep-content li { font-size: 13.5px; color: #555; line-height: 1.6; margin-bottom: 6px; }
.deep-content a { color: var(--primary-color); font-weight: 600; }
.deep-content-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 14px 0; }
@media (max-width: 600px) { .deep-content-pros-cons { grid-template-columns: 1fr; } }
.deep-content-pros, .deep-content-cons { border-radius: 6px; padding: 12px 14px; }
.deep-content-pros { background: #f0fdf4; border: 1px solid #cdeed9; }
.deep-content-cons { background: #fdf3f0; border: 1px solid #f3dcd5; }
.deep-content-pros strong, .deep-content-cons strong { display: block; margin-bottom: 6px; font-size: 12.5px; }

/* ============================================================
   Shared: Amortization Table
   ============================================================ */
.amort-toggle { display: flex; gap: 8px; margin: 14px 0 10px 0; }
.amort-toggle button {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
}
.amort-toggle button.active { background: var(--primary-color); color: #fff; }
.amort-table-wrap { max-height: 340px; overflow-y: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e2e8f0; border-radius: 6px; }
.amort-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 12.5px; }
.amort-table th {
    position: sticky; top: 0;
    background: #f7f9fa;
    text-align: right;
    padding: 8px 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    border-bottom: 1px solid #e2e8f0;
}
.amort-table th:first-child, .amort-table td:first-child { text-align: left; }
.amort-table td { text-align: right; padding: 7px 10px; border-bottom: 1px solid #f0f0f0; color: #333; }
.amort-table tr:nth-child(even) { background: #fafbfc; }

/* ============================================================
   Shared: Print Button + Print Styles
   ============================================================ */
.btn-print {
    background: #fff;
    border: 1px solid #ccc;
    color: #444;
    font-size: 12.5px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-print:hover { background: #f5f5f5; }
@media print {
    header, footer, .adsense-sidebar, .partner-section, .live-rate-banner,
    .btn-print, .btn-calculate, .btn-match, form, .deep-content, .tips-container { display: none !important; }
    .container { max-width: 100% !important; }
    .main-layout { display: block !important; }
    body { color: #000; }
}
