        body { font-family: 'Plus Jakarta Sans', sans-serif; }
        #dashboard-view { background: linear-gradient(180deg, #e9effa 0, #f3f6fb 380px); }
        .wave-front { animation: wave 16s linear infinite; }
        .wave-back { animation: wave 26s linear infinite reverse; }
        @keyframes wave { to { transform: translateX(-50%); } }
        @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
        #stats-row > div { border-left: 4px solid #1d4ed8; }
        #stats-row > div:nth-child(2) { border-left-color: #047857; }
        #stats-row > div:nth-child(3) { border-left-color: #f59e0b; }
        tbody tr:hover { background: #f8fafc; }
        .pf-bar { height: 8px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
        .pf-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg,#1d4ed8,#10b981); }
        .edit-tab-btn.active {
            background-color: #1d4ed8;
            color: #ffffff;
            border-color: #1d4ed8;
        }
        :focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }

        /* =========================================================
           PRINT STYLES (BUKU INDUK FORMAT S-4 • KERTAS F4 / FOLIO)
           ========================================================= */
        #print-container { display: none; }

        @media print {
            @page {
                size: 215mm 330mm;
                margin: 10mm 12mm;
            }
            @page landscape_page {
                size: 330mm 215mm;
                margin: 9mm 10mm;
            }
            body {
                background: #ffffff !important;
                color: #000000 !important;
                font-family: 'Times New Roman', Times, serif !important;
                margin: 0 !important;
                padding: 0 !important;
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }
            #app-footer, #login-view, #dashboard-view, #detail-modal, #edit-modal, #pass-modal, .no-print {
                display: none !important;
            }
            #print-container {
                display: block !important;
                width: 100%;
            }
            .s4-page {
                page-break-after: always;
                break-after: page;
                position: relative;
                width: 100%;
                box-sizing: border-box;
                font-size: 9.5pt;
                line-height: 1.28;
            }
            .s4-page:last-child {
                page-break-after: auto;
                break-after: auto;
            }
            .s4-landscape {
                page: landscape_page;
                font-size: 8pt;
                line-height: 1.18;
            }
            .s4-table {
                width: 100%;
                border-collapse: collapse;
                font-size: 8.5pt;
            }
            .s4-table th, .s4-table td {
                border: 1px solid #000000;
                padding: 3px 4px;
                vertical-align: middle;
            }
            .s4-landscape .s4-table {
                font-size: 7.2pt;
            }
            .s4-landscape .s4-table th, .s4-landscape .s4-table td {
                padding: 2px 2.5px;
            }
            .s4-box-group {
                display: inline-flex;
                vertical-align: middle;
            }
            .s4-box {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 14px;
                height: 16px;
                border: 1px solid #000000;
                margin-right: -1px;
                font-family: 'Courier New', monospace;
                font-size: 8.5pt;
                font-weight: bold;
            }
            .s4-photo-slot {
                width: 28mm;
                height: 36mm;
                border: 1px solid #000000;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                font-size: 7pt;
                overflow: hidden;
                margin-bottom: 5mm;
                position: relative;
            }
            .s4-photo-slot img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            .s4-dotted {
                border-bottom: 1px dotted #000000;
                display: inline-block;
                min-height: 13px;
                padding: 0 3px;
            }
        }
