/* Telangana Pension — Yearly Statement (mobile-first) */

:root {
    --yp-primary: #7a0c0c;
    --yp-primary-dark: #5c0808;
    --yp-accent: #2e7d32;
    --yp-accent-hover: #1b5e20;
    --yp-bg: #f4f6f8;
    --yp-card: #ffffff;
    --yp-border: #e2e6ea;
    --yp-text: #1a1a1a;
    --yp-muted: #5f6368;
    --yp-radius: 12px;
    --yp-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.main-inner {
    background: var(--yp-bg);
    margin: 0;
    padding: 0 0 88px;
    font-family: 'Poppins', sans-serif;
    color: var(--yp-text);
}

fieldset {
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

.ad-wrap {
    max-width: 640px;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow: visible;
    box-sizing: border-box;
}
.yearly-form-card .ad-wrap,
.yearly-statement .ad-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.yearly-form-card .ad-wrap {
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
.ad-wrap:empty,
.ad-wrap.is-ad-empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}
.yearly-form-card .yearly-form-actions {
    position: relative;
    z-index: 5;
}

@media print {
    .ad-wrap, .adsbygoogle { display: none !important; }
}

/* Site header — logo + quick links */
.yearly-site-header {
    max-width: 640px;
    margin: 0 auto 12px;
    padding: 10px 12px 14px;
    background: var(--yp-card);
    border-bottom: 3px solid var(--yp-primary);
    box-shadow: var(--yp-shadow);
    box-sizing: border-box;
    position: relative;
    z-index: 50;
}
.yearly-site-logo {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent 0%, #d4af37 20%, #f5d76e 50%, #d4af37 80%, transparent 100%) 1;
}
.yearly-site-logo img {
    display: block;
    width: 100%;
    max-width: 420px;
    max-height: 72px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
}
.yearly-nav-btn i {
    margin-right: 6px;
    opacity: 0.95;
}
.yearly-site-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.yearly-nav-btn {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #fff;
    line-height: 1.3;
    transition: opacity 0.2s, transform 0.1s;
    box-sizing: border-box;
}
.yearly-nav-btn:hover {
    opacity: 0.92;
    color: #fff;
}
.yearly-nav-btn:active {
    transform: scale(0.98);
}
.yearly-nav-payslip {
    background: var(--yp-primary);
}
.yearly-nav-whatsapp {
    background: #2e7d32;
}
.yearly-nav-telegram {
    background: #1565c0;
}
.yearly-nav-ehs {
    background: #06145f;
}
@media (min-width: 520px) {
    .yearly-site-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .yearly-nav-btn {
        flex: 1 1 30%;
        min-width: 140px;
    }
}

.content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Page hero (form step only — form card styles unchanged) */
.page-hero {
    max-width: 640px;
    margin: 0 auto 12px;
    padding: 18px 16px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
    border: 1px solid #ecd9d9;
    border-top: 4px solid var(--yp-primary);
    border-radius: var(--yp-radius);
    box-shadow: 0 3px 16px rgba(122, 12, 12, 0.07);
    box-sizing: border-box;
}
.page-hero-tag {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--yp-primary);
    background: #fef5f5;
    border: 1px solid #f0d0d0;
    border-radius: 999px;
}
.page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 4.5vw, 1.38rem);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: -0.01em;
    color: #3d0808;
}
.page-hero-lead {
    margin: 0 auto;
    max-width: 540px;
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    font-weight: 400;
}
.ad-wrap-form {
    margin: 0;
}
/* SEO content block */
.yearly-seo-content {
    max-width: 560px;
    margin: 20px auto 8px;
    padding: 16px 14px;
    background: #fff;
    border: 1px solid var(--yp-border);
    border-radius: var(--yp-radius);
    text-align: left;
    box-sizing: border-box;
}
.yearly-seo-content h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--yp-primary);
    text-align: center;
}
.yearly-seo-content h3 {
    margin: 14px 0 8px;
    font-size: 0.95rem;
    color: var(--yp-primary-dark);
}
.yearly-seo-content p,
.yearly-seo-content li {
    font-size: 13px;
    line-height: 1.55;
    color: var(--yp-text);
}
.yearly-seo-content ol {
    margin: 0 0 10px;
    padding-left: 1.25rem;
}
.yearly-seo-content li {
    margin-bottom: 6px;
}
.yearly-seo-note {
    margin: 12px 0 0 !important;
    padding-top: 10px;
    border-top: 1px solid var(--yp-border);
    font-size: 12px !important;
    color: var(--yp-muted) !important;
}
.yearly-seo-content a {
    color: #1565c0;
    font-weight: 600;
}

/* ShareThis bar above content */
.yearly-share-wrap {
    max-width: 520px;
    margin: 16px auto 8px;
    text-align: center;
}
.sharethis-inline-share-buttons,
.st-inline-share-buttons {
    z-index: 40 !important;
}
/* Statement page: no page-wide horizontal scroll; only table scrolls */
.content:has(.yearly-result-wrap) {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Alerts */
.yearly-alert {
    max-width: 520px;
    margin: 12px auto;
    padding: 12px 16px;
    border-radius: var(--yp-radius);
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
}
.yearly-alert-error {
    color: #b71c1c;
    background: #ffebee;
    border: 1px solid #ffcdd2;
}
.yearly-alert-title {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}
.yearly-alert-hint {
    margin: 8px 0 0;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.45;
    color: #8d1a1a;
    opacity: 0.95;
}
.yearly-trust-line {
    margin: 14px 0 0;
    padding: 11px 13px;
    font-size: 12px;
    line-height: 1.55;
    color: #555;
    text-align: center;
    background: #f9fdf9;
    border: 1px solid #d8ead8;
    border-radius: 10px;
}
.yearly-trust-line i {
    color: var(--yp-accent);
    margin-right: 4px;
}
.yearly-btn-loading {
    opacity: 0.88;
    cursor: wait;
}

/* Form & OTP cards */
.yearly-page-center {
    display: flex;
    justify-content: center;
    padding: 4px 12px 16px;
}
.yearly-form-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: var(--yp-radius);
    box-shadow: 0 6px 28px rgba(122, 12, 12, 0.09);
    border: 1px solid #ead8d8;
    border-top: 4px solid var(--yp-primary);
    padding: 0 0 22px;
    box-sizing: border-box;
    overflow: hidden;
}
.yearly-form-card.yearly-form-card-main {
    overflow: hidden;
}
.yearly-form-top {
    padding: 22px 22px 16px;
    text-align: center;
    background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
    border-bottom: 1px solid #f3e4e4;
}
.yearly-form-top-plain {
    padding-top: 20px;
}
.yearly-form-top-plain h2 {
    margin-bottom: 8px;
}
.yearly-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff 0%, #fef2f2 100%);
    color: var(--yp-primary);
    font-size: 22px;
    border: 2px solid #f0d4d4;
    box-shadow: 0 4px 12px rgba(122, 12, 12, 0.1);
}
.yearly-form-card h2,
.yearly-form-card h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d0808;
    text-align: center;
    letter-spacing: -0.01em;
}
.yearly-form-card .yearly-form-lead {
    text-align: center;
    font-size: 13px;
    color: var(--yp-muted);
    margin: 0;
    line-height: 1.5;
}
.yearly-submit-form {
    padding: 20px 22px 0;
}
.yearly-form-card .yearly-pen-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: linear-gradient(90deg, #fef8f8 0%, #fff 100%);
    border: 1px solid #ecd9d9;
    border-left: 4px solid var(--yp-primary);
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 22px 4px;
    font-size: 14px;
    color: var(--yp-text);
}
.yearly-form-card .yearly-pen-badge > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--yp-primary);
    color: #fff;
    font-size: 14px;
}
.yearly-pen-badge-text strong {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}
.yearly-form-card .yearly-pen-badge span {
    display: block;
    font-size: 12px;
    color: var(--yp-muted);
    font-weight: 500;
}
.yearly-field {
    margin-bottom: 16px;
}
.yearly-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5c0808;
    margin-bottom: 8px;
}
.yearly-field label i {
    color: var(--yp-primary);
    font-size: 12px;
    opacity: 0.85;
}
.yearly-field input,
.yearly-field select {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    color: var(--yp-text);
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.yearly-field input::placeholder {
    color: #aaa;
    letter-spacing: 0.06em;
}
.yearly-field input:focus,
.yearly-field select:focus {
    outline: none;
    border-color: var(--yp-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(122, 12, 12, 0.1);
}
.yearly-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a0c0c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #fafafa;
    padding-right: 38px;
}
.yearly-field select:focus {
    background-color: #fff;
}
.yearly-form-actions {
    margin-top: 8px;
    padding-top: 4px;
}
.yearly-form-actions .yearly-btn {
    width: 100%;
    min-height: 50px;
    border-radius: 10px;
    font-size: 16px;
    letter-spacing: 0.02em;
}
.yearly-form-card .yearly-trust-line {
    margin: 16px 22px 0;
}
.yearly-link-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    margin: 14px 22px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--yp-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.yearly-link-cancel:hover {
    color: var(--yp-primary);
}

/* Buttons */
.yearly-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.1s;
    box-sizing: border-box;
}
.yearly-btn:active {
    transform: scale(0.98);
}
.yearly-btn-primary {
    background: linear-gradient(180deg, #339653 0%, var(--yp-accent) 55%, #256b2c 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.35);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}
.yearly-btn-primary:hover {
    background: linear-gradient(180deg, var(--yp-accent) 0%, var(--yp-accent-hover) 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}
.yearly-btn-primary i {
    font-size: 14px;
}
.yearly-btn-secondary {
    background: #6d4c41;
    color: #fff;
}
.yearly-btn-outline {
    background: #fff;
    color: var(--yp-primary);
    border: 2px solid var(--yp-primary);
}

/* Page footer — IFMIS disclaimer (no database version) */
.yearly-page-footer {
    max-width: 560px;
    margin: 20px auto 12px;
    padding: 10px 14px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    box-sizing: border-box;
}
.yearly-page-footer-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #616161;
    text-align: center;
}
.yearly-page-footer-text a {
    color: #1565c0;
    font-weight: 600;
}
.yearly-page-footer-help {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid #e8e8e8;
    font-size: 11px;
    line-height: 1.45;
    color: #757575;
    text-align: center;
    font-style: italic;
}

/* Statement container */
.yearly-result-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 10px 24px;
    box-sizing: border-box;
    overflow-x: visible;
}
@media (max-width: 767px) {
    .yearly-page-center {
        width: 100%;
        max-width: 100vw;
        padding: 4px 8px 16px;
        box-sizing: border-box;
    }
    .yearly-form-card .ad-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    .yearly-form-card .yearly-form-actions {
        position: relative;
        z-index: 5;
        margin-top: 0;
    }
    .yearly-form-card .ad-wrap .adsbygoogle,
    .yearly-form-card .ad-wrap iframe {
        max-width: 100% !important;
    }
    .yearly-result-wrap {
        padding: 8px 4px 20px;
        width: 100%;
        max-width: 100vw;
    }
    .yearly-statement {
        border-radius: 8px;
        margin: 0 auto;
    }
    .yearly-statement-body {
        padding: 12px 10px !important;
    }
    .yearly-info-row {
        padding: 13px 12px;
    }
    .yearly-info-value {
        font-size: 16px !important;
    }
    .yearly-stat-card {
        padding: 14px 12px;
    }
    .yearly-stat-value {
        font-size: 14px;
    }
    .yearly-table-scroll {
        overflow-x: scroll !important;
    }
    .yearly-table-scroll::-webkit-scrollbar {
        height: 16px;
    }
}
.yearly-statement {
    background: var(--yp-card);
    border-radius: var(--yp-radius);
    box-shadow: var(--yp-shadow);
    overflow: hidden;
    border: 1px solid var(--yp-border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.yearly-statement-banner {
    background: linear-gradient(135deg, var(--yp-primary) 0%, var(--yp-primary-dark) 100%);
    color: #fff;
    padding: 18px 16px;
    text-align: center;
}
.yearly-statement-banner .yearly-title {
    margin: 0;
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.yearly-statement-banner .yearly-subtitle {
    margin: 8px 0 0;
    font-size: clamp(0.8rem, 3.2vw, 0.95rem);
    opacity: 0.95;
    font-weight: 500;
}
.yearly-statement-body {
    padding: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Pensioner info — one card, label + value on same row */
.yearly-info-card {
    background: #faf8f6;
    border: 1px solid var(--yp-border);
    border-radius: 10px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.yearly-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--yp-border);
}
.yearly-info-row:last-child {
    border-bottom: none;
}
.yearly-info-label {
    flex: 0 0 auto;
    max-width: 42%;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5f6368 !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: left;
}
.yearly-info-value {
    flex: 1 1 auto;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.35;
    text-align: right;
    word-break: break-word;
}
@media (min-width: 600px) {
    .yearly-info-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .yearly-info-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-bottom: none;
        border-right: 1px solid var(--yp-border);
        padding: 14px 12px;
        gap: 6px;
    }
    .yearly-info-row:last-child {
        border-right: none;
    }
    .yearly-info-label {
        max-width: 100%;
        text-align: center;
    }
    .yearly-info-value {
        text-align: center;
    }
}

/* Yearly summary cards — label + amount on one row */
.yearly-summary-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    .yearly-summary-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
@media (min-width: 1024px) {
    .yearly-summary-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.yearly-stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--yp-border);
    border-radius: 10px;
    padding: 11px 14px;
    border-left: 4px solid #9e9e9e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
}
.yearly-stat-card.yearly-stat-gross {
    border-left-color: #1565c0;
    background: linear-gradient(90deg, #e3f2fd 0%, #fff 28%);
}
.yearly-stat-card.yearly-stat-net,
.yearly-stat-card.yearly-stat-featured {
    border-left-color: var(--yp-accent);
    background: linear-gradient(90deg, #e8f5e9 0%, #fff 32%);
    border-width: 1px;
    border-left-width: 5px;
}
.yearly-stat-card.yearly-stat-arr {
    border-left-color: #ef6c00;
    background: linear-gradient(90deg, #fff3e0 0%, #fff 28%);
}
.yearly-stat-card.yearly-stat-basic {
    border-left-color: #6d4c41;
    background: linear-gradient(90deg, #efebe9 0%, #fff 28%);
}
.yearly-stat-card.yearly-stat-dr {
    border-left-color: #7b1fa2;
    background: linear-gradient(90deg, #f3e5f5 0%, #fff 28%);
}
.yearly-stat-card.yearly-stat-cvp {
    border-left-color: #c62828;
    background: linear-gradient(90deg, #ffebee 0%, #fff 28%);
}
.yearly-stat-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    line-height: 1.25;
}
.yearly-stat-label-short {
    display: inline;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    letter-spacing: 0.02em;
}
.yearly-stat-label-full {
    display: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--yp-muted);
}
@media (min-width: 768px) {
    .yearly-stat-label-short {
        display: none;
    }
    .yearly-stat-label-full {
        display: inline;
    }
}
.yearly-stat-value {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
    line-height: 1.2;
}
.yearly-stat-featured .yearly-stat-value {
    color: var(--yp-accent-hover);
    font-size: 15px;
}

/* Table section — ONLY this area scrolls horizontally */
.yearly-table-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.yearly-scroll-hint {
    display: block;
    font-size: 12px;
    color: var(--yp-muted);
    text-align: center;
    margin: 0 0 8px;
    padding: 8px 10px;
    background: #fff8e1;
    border-radius: 6px;
    border: 1px dashed #ffe082;
    width: 100%;
    box-sizing: border-box;
}
.yearly-table-wrap {
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}
.yearly-table-scroll {
    display: block;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 2px solid var(--yp-border);
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--yp-primary) #d0d0d0;
    background: #fafafa;
    padding-bottom: 2px;
}
/* Visible horizontal scrollbar (Chrome, Safari, Edge) */
.yearly-table-scroll::-webkit-scrollbar {
    height: 14px;
    -webkit-appearance: none;
}
.yearly-table-scroll::-webkit-scrollbar-track {
    background: #e8eaed;
    border-radius: 0 0 8px 8px;
    margin: 0 2px;
}
.yearly-table-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--yp-primary) 0%, var(--yp-primary-dark) 100%);
    border-radius: 8px;
    border: 2px solid #e8eaed;
    min-width: 48px;
}
.yearly-table-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--yp-primary-dark);
}
.yearly-statement table.yearly-data-table {
    width: max-content;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 12px;
    margin: 0;
}
.yearly-statement table.yearly-data-table,
.yearly-statement table.yearly-data-table th,
.yearly-statement table.yearly-data-table td {
    border: 1px solid var(--yp-border) !important;
}
.yearly-data-table thead th {
    background: var(--yp-primary-dark);
    color: #fff;
    padding: 10px 8px;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
    border: 1px solid #4a0606;
    position: sticky;
    top: 0;
    z-index: 2;
}
.yearly-data-table thead th:first-child {
    left: 0;
    z-index: 3;
}
.yearly-data-table tbody td {
    border: 1px solid var(--yp-border);
    padding: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--yp-text);
    background: #fff;
}
.yearly-data-table tbody tr:nth-child(even) td {
    background: #f9fafb;
}
.yearly-data-table tbody td:first-child {
    position: sticky;
    left: 0;
    background: inherit;
    z-index: 1;
    font-weight: 700;
    color: var(--yp-primary);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}
.yearly-data-table tbody tr:nth-child(even) td:first-child {
    background: #f9fafb;
}
.yearly-data-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.yearly-data-table .paid-tag {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--yp-muted);
    margin-top: 2px;
}
.yearly-data-table tfoot .yearly-total-row td,
.yearly-data-table tfoot .yearly-total-row td:first-child {
    background: #fff8e1 !important;
    border-top: 2px solid var(--yp-primary);
    padding: 10px 8px;
    font-weight: 800;
}
.yearly-data-table tfoot .yearly-words-row td {
    background: #f5f5f5 !important;
    padding: 10px 12px;
    text-align: left;
}
.yearly-total-words {
    font-size: 12px;
    line-height: 1.45;
    color: #333;
}
.yearly-total-net {
    font-size: 14px !important;
    color: var(--yp-accent) !important;
    background: #e8f5e9 !important;
}

.yearly-note {
    font-size: 12px;
    color: var(--yp-muted);
    text-align: center;
    margin: 14px 0 0;
    line-height: 1.45;
}
.yearly-print-tip {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
}
.yearly-print-tip i {
    color: #f57c00;
    margin-right: 4px;
}
.yearly-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--yp-border);
}
@media (min-width: 400px) {
    .yearly-actions {
        flex-direction: row;
        justify-content: center;
    }
    .yearly-actions .yearly-btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (min-width: 768px) {
    .yearly-statement-body {
        padding: 20px;
    }
    .yearly-scroll-hint {
        display: none;
    }
}

/* Print / Save as PDF — fit 15 columns without clipping left/right */
@media print {
    @page {
        size: A4 landscape;
        margin-top: 4mm;
        margin-bottom: 4mm;
        margin-left: 5mm;
        margin-right: 5mm;
    }
    html, body, body.main-inner {
        background: #fff !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .yearly-result-wrap {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
    .content,
    .content:has(.yearly-result-wrap),
    .yearly-statement,
    .yearly-statement-body,
    .yearly-table-section,
    .yearly-table-wrap,
    .yearly-table-scroll,
    fieldset,
    center {
        overflow: visible !important;
        max-width: none !important;
        width: 100% !important;
        display: block !important;
    }
    .yearly-site-header,
    .page-hero,
    .yearly-seo-content,
    .yearly-actions,
    .yearly-print-tip,
    .yearly-page-footer,
    .yearly-scroll-hint,
    .yearly-summary-cards,
    .yearly-note,
    .yearly-share-wrap,
    .ad-wrap,
    .adsbygoogle,
    .sharethis-inline-share-buttons,
    .st-inline-share-buttons,
    fieldset > h2,
    script {
        display: none !important;
    }
    #yearly-statement-print {
        box-shadow: none;
        border: none;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 1mm !important;
    }
    .yearly-statement-banner {
        background: #7a0c0c !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 7px 10px !important;
    }
    .yearly-statement-banner .yearly-title {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
    .yearly-statement-banner .yearly-subtitle {
        margin: 3px 0 0 !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    .yearly-statement-body {
        padding: 6px 0 0 !important;
    }
    .yearly-info-card {
        display: flex !important;
        flex-direction: row !important;
        margin: 0 0 6px !important;
    }
    .yearly-info-row {
        flex: 1 1 50% !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 5px 8px !important;
        border-bottom: none !important;
        border-right: 1px solid #ccc !important;
        gap: 4px !important;
    }
    .yearly-info-row:last-child {
        border-right: none !important;
    }
    .yearly-info-label {
        font-size: 10px !important;
        max-width: 45% !important;
    }
    .yearly-info-value {
        font-size: 11px !important;
        font-weight: 700 !important;
        text-align: right !important;
    }
    .yearly-table-section,
    .yearly-table-wrap {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .yearly-table-scroll {
        overflow: visible !important;
        border: none !important;
        padding: 0 !important;
    }
    .yearly-statement table.yearly-data-table {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
        border: 1px solid #000 !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }
    .yearly-statement table.yearly-data-table th,
    .yearly-statement table.yearly-data-table td {
        border: 1px solid #333 !important;
        box-shadow: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    .yearly-statement table.yearly-data-table th:not(:first-child),
    .yearly-statement table.yearly-data-table td.num {
        word-wrap: break-word !important;
        overflow-wrap: anywhere !important;
    }
    .yearly-data-table thead th {
        padding: 5px 2px !important;
        font-size: 7.5px !important;
        line-height: 1.2 !important;
        background: #7a0c0c !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        font-weight: 700 !important;
        white-space: normal !important;
        hyphens: auto;
    }
    .yearly-data-table thead th:first-child,
    .yearly-data-table tbody td.month-cell,
    .yearly-data-table tbody td:first-child {
        width: 12% !important;
        min-width: 12% !important;
        max-width: 12% !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        overflow-wrap: normal !important;
        word-break: keep-all !important;
        text-align: center !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        color: #3d0808 !important;
        padding: 8px 4px !important;
    }
    .yearly-data-table tbody td,
    .yearly-data-table thead th {
        position: static !important;
        left: auto !important;
        padding: 8px 3px !important;
        font-size: 9px !important;
        line-height: 1.35 !important;
        background: #fff !important;
        color: #000 !important;
    }
    .yearly-data-table tbody tr:nth-child(even) td {
        background: #f7f7f7 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .yearly-data-table td.num {
        padding: 8px 2px !important;
        white-space: normal !important;
        font-size: 8.5px !important;
        font-variant-numeric: tabular-nums;
        text-align: right !important;
    }
    .yearly-data-table .paid-tag {
        display: none !important;
    }
    .yearly-data-table tfoot .yearly-total-row td {
        font-size: 9px !important;
        padding: 8px 3px !important;
        line-height: 1.3 !important;
        background: #fff8e1 !important;
        font-weight: 700 !important;
        border-top: 2px solid #000 !important;
        white-space: normal !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .yearly-data-table tfoot .yearly-words-row td {
        font-size: 9px !important;
        padding: 8px 5px !important;
        line-height: 1.35 !important;
        background: #f5f5f5 !important;
        border: 1px solid #333 !important;
        white-space: normal !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .yearly-data-table tfoot .yearly-total-net {
        color: #1b5e20 !important;
        font-weight: 800 !important;
    }
    .yearly-total-words {
        font-size: 10px !important;
        line-height: 1.35 !important;
    }
}
