
        .apr-container {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
        }

        /* ── Header Stats ── */
        .apr-header-card {
            background: linear-gradient(135deg, #059669, #10b981);
            border-radius: 1.25rem;
            padding: 1.5rem 2rem;
            color: white;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
        }
        .apr-header-info h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
        .apr-header-info p { font-size: 0.9rem; opacity: 0.9; margin-top: 0.25rem; }
        .apr-header-stat { text-align: right; }
        .apr-header-stat-val { font-size: 2.5rem; font-weight: 900; line-height: 1; }
        .apr-header-stat-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }

        /* ── Toolbar ── */
        .apr-toolbar {
            margin-bottom: 1.5rem;
        }
        .apr-search-wrap {
            position: relative;
            max-width: 500px;
        }
        .apr-search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 1.2rem;
            height: 1.2rem;
            color: #94a3b8;
        }
        .apr-search-input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.75rem;
            border-radius: 0.8rem;
            border: 1px solid #cbd5e1;
            background: #fff;
            color: #0f172a;
            font-size: 0.9rem;
            transition: all .2s;
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
        }
        .apr-search-input:focus { border-color: #10b981; outline: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, .15); }
        .dark .apr-search-input { background: #1e293b; border-color: #334155; color: #f8fafc; }

        /* ── PR List Table ── */
        .apr-list-table-wrap {
            border: 1px solid #e2e8f0;
            border-radius: 1rem;
            overflow: auto;
            background: #ffffff;
            box-shadow: 0 1px 4px rgba(15, 23, 42, .04);
        }

        .dark .apr-list-table-wrap {
            background: #1e293b;
            border-color: #334155;
        }

        .apr-list-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 860px;
        }

        .apr-list-table thead th {
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
            padding: 0.7rem 0.75rem;
            text-align: left;
            font-size: 0.78rem;
            font-weight: 800;
            color: #475569;
            text-transform: uppercase;
        }

        .dark .apr-list-table thead th {
            background: #0f172a;
            color: #94a3b8;
            border-bottom-color: #334155;
        }

        .apr-list-table tbody td {
            padding: 0.8rem 0.75rem;
            border-bottom: 1px solid #f1f5f9;
            font-size: 0.85rem;
            color: #334155;
            vertical-align: top;
        }

        .apr-list-table tbody tr:hover {
            background: #f8fafc;
        }

        .dark .apr-list-table tbody td {
            color: #cbd5e1;
            border-bottom-color: #334155;
        }

        .dark .apr-list-table tbody tr:hover {
            background: rgba(148, 163, 184, .08);
        }

        .apr-doc-no {
            font-weight: 800;
            color: #047857;
        }

        .dark .apr-doc-no {
            color: #6ee7b7;
        }

        .apr-action-col {
            text-align: center;
            white-space: nowrap;
        }

        .apr-status-badge {
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            padding: 0.2rem 0.65rem;
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.01em;
        }

        .apr-status-success {
            background: #ecfdf5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }

        .apr-status-warning {
            background: #fffbeb;
            color: #92400e;
            border: 1px solid #fde68a;
        }

        .apr-status-danger {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        .apr-status-info {
            background: #eff6ff;
            color: #1d4ed8;
            border: 1px solid #bfdbfe;
        }

        .apr-status-gray {
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #cbd5e1;
        }

        .apr-empty-inline {
            text-align: center;
            padding: 2rem;
            color: #64748b;
            font-weight: 600;
        }

        .dark .apr-empty-inline {
            color: #94a3b8;
        }

        .apr-action-btn {
            background: #f1f5f9;
            color: #475569;
            border: none;
            padding: 0.45rem 0.85rem;
            border-radius: 0.65rem;
            font-weight: 700;
            font-size: 0.78rem;
            cursor: pointer;
            transition: all .2s;
        }

        .apr-action-btn:hover {
            background: #e2e8f0;
            color: #1e293b;
        }

        .dark .apr-action-btn {
            background: #334155;
            color: #cbd5e1;
        }

        .dark .apr-action-btn:hover {
            background: #475569;
            color: #fff;
        }

        .apr-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .apr-row {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-left: 5px solid #10b981;
            border-radius: 1rem;
            padding: 1.25rem;
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 1.5rem;
            align-items: center;
            transition: all .2s;
            box-shadow: 0 1px 3px rgba(0,0,0,.05);
        }
        .apr-row:hover {
            transform: translateX(4px);
            box-shadow: 0 4px 12px rgba(0,0,0,.08);
            border-color: #10b981;
        }
        .dark .apr-row { background: #1e293b; border-color: #334155; }
        
        .apr-row-icon {
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 1rem;
            background: #ecfdf5;
            color: #10b981;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .dark .apr-row-icon { background: rgba(16, 185, 129, 0.1); }
        .apr-row-icon svg { width: 1.75rem; height: 1.75rem; }

        .apr-row-body { min-width: 0; }
        .apr-row-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
        .apr-pr-num { font-size: 1.1rem; font-weight: 800; color: #065f46; }
        .dark .apr-pr-num { color: #34d399; }
        .apr-badge {
            background: #d1fae5;
            color: #065f46;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
        }

        .apr-meta-grid { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
        .apr-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: #64748b; font-weight: 500; }
        .dark .apr-meta-item { color: #94a3b8; }
        .apr-meta-item svg { width: 1rem; height: 1rem; color: #94a3b8; }
        .apr-meta-val { color: #1e293b; font-weight: 700; }
        .dark .apr-meta-val { color: #f1f5f9; }

        .apr-action-btn {
            background: #f1f5f9;
            color: #475569;
            border: none;
            padding: 0.6rem 1rem;
            border-radius: 0.75rem;
            font-weight: 700;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            transition: all .2s;
        }
        .apr-action-btn:hover { background: #e2e8f0; color: #1e293b; }
        .dark .apr-action-btn { background: #334155; color: #cbd5e1; }
        .dark .apr-action-btn:hover { background: #475569; color: #fff; }

        /* ── Empty State ── */
        .apr-empty {
            text-align: center;
            padding: 4rem 2rem;
            background: #fff;
            border-radius: 1.25rem;
            border: 2px dashed #e2e8f0;
            color: #94a3b8;
        }
        .dark .apr-empty { background: #1e293b; border-color: #334155; }
        .apr-empty svg { width: 4rem; height: 4rem; margin-bottom: 1rem; opacity: 0.5; }
        .apr-empty h3 { font-size: 1.25rem; font-weight: 700; color: #475569; margin: 0; }
        .dark .apr-empty h3 { color: #cbd5e1; }

        /* ── Modal ── */
        .apr-modal-overlay {
            position: fixed; inset: 0; background: rgba(2,6,23,0.7); backdrop-filter: blur(6px);
            z-index: 9000; display: flex; align-items: flex-start; justify-content: center;
            padding: 2rem 1rem; overflow-y: auto;
        }
        .apr-modal {
            width: 100%; max-width: 95vw; background: #ffffff; border-radius: 1.25rem;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
            animation: aprSlideUp .3s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex; flex-direction: column;
        }
        @keyframes aprSlideUp { from { transform: translateY(2rem); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .dark .apr-modal { background: #0f172a; border: 1px solid #334155; }
        
        .apr-modal-header {
            padding: 1.25rem 1.5rem;
            background: linear-gradient(135deg, #065f46, #10b981);
            color: white; display: flex; justify-content: space-between; align-items: center;
            border-radius: 1.25rem 1.25rem 0 0;
        }
        .apr-modal-title { font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
        .apr-modal-title svg { width: 1.5rem; height: 1.5rem; color: #a7f3d0; }
        .apr-modal-close {
            background: rgba(255,255,255,.2); border: none; color: white;
            width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; cursor: pointer;
            display: flex; align-items: center; justify-content: center; transition: background .2s;
        }
        .apr-modal-close:hover { background: rgba(255,255,255,.3); }

        .apr-modal-body { padding: 1.5rem; background: #f8fafc; }
        .dark .apr-modal-body { background: #020617; }

        /* Info Grid in Modal */
        .apr-info-card {
            background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem; margin-bottom: 1.5rem;
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
        }
        .dark .apr-info-card { background: #1e293b; border-color: #334155; }
        .apr-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
        .apr-info-item { display: flex; flex-direction: column; gap: 0.25rem; }
        .apr-info-label { font-size: 0.75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
        .apr-info-val { font-size: 0.95rem; font-weight: 600; color: #0f172a; display: flex; align-items: center; gap: 0.4rem; }
        .dark .apr-info-label { color: #94a3b8; }
        .dark .apr-info-val { color: #f1f5f9; }

        /* Items Table in Modal */
        .apr-table-wrap {
            background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem;
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
        }
        .dark .apr-table-wrap { background: #1e293b; border-color: #334155; }
        .apr-table { width: 100%; border-collapse: collapse; text-align: left; }
        .apr-table th { background: #f1f5f9; padding: 0.75rem 1rem; font-size: 0.8rem; font-weight: 700; color: #475569; text-transform: uppercase; border-bottom: 1px solid #e2e8f0; }
        .apr-table td { padding: 0.85rem 1rem; font-size: 0.85rem; color: #1e293b; border-bottom: 1px solid #f1f5f9; font-weight: 500; }
        .dark .apr-table th { background: #0f172a; color: #94a3b8; border-color: #334155; }
        .dark .apr-table td { color: #cbd5e1; border-color: #334155; }

        .apr-modal-footer {
            padding: 1.25rem 1.5rem; background: #fff; border-top: 1px solid #e2e8f0;
            display: flex; justify-content: flex-end; gap: 1rem; border-radius: 0 0 1.25rem 1.25rem;
        }
        .dark .apr-modal-footer { background: #1e293b; border-color: #334155; }
        .apr-btn-cancel {
            padding: 0.65rem 1.25rem; border: 1px solid #cbd5e1; background: #fff; color: #475569;
            border-radius: 0.75rem; font-weight: 700; cursor: pointer; transition: all .2s;
        }
        .apr-btn-cancel:hover { background: #f1f5f9; }
        .dark .apr-btn-cancel { background: #0f172a; border-color: #475569; color: #cbd5e1; }
        .dark .apr-btn-cancel:hover { background: #334155; }
    

