        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--hii-font-sans);
            background: #FAFAF7;
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(31,41,55,0.10);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #4A6741 0%, #5A7A48 100%);
            color: white;
            padding: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .header h1 {
            font-size: 28px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logout-btn {
            padding: 10px 20px;
            background: rgba(255,255,255,0.2);
            border: 2px solid white;
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        .logout-btn:hover {
            background: white;
            color: #4A6741;
        }

        .header-actions {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .secondary-btn {
            padding: 10px 20px;
            background: rgba(255,255,255,0.14);
            border: 2px solid rgba(255,255,255,0.85);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .secondary-btn:hover {
            background: white;
            color: #4A6741;
        }
        
        .tabs {
            display: flex;
            background: #f5f5f5;
            padding: 0 30px;
            gap: 10px;
        }
        
        .tab {
            padding: 15px 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            color: #666;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
        }
        
        .tab.active {
            color: #4A6741;
            border-bottom-color: #4A6741;
        }
        
        .tab:hover {
            color: #4A6741;
        }

        .tab.summit-tab {
            margin-left: auto;
            color: #B57A2E;
            border-bottom-color: transparent;
        }
        .tab.summit-tab.active {
            color: #B57A2E;
            border-bottom-color: #B57A2E;
        }
        .tab.summit-tab:hover {
            color: #B57A2E;
        }

        .summit-section { display:none; }
        .summit-section.active { display:block; }
        .summit-table { width:100%; border-collapse:collapse; margin-top:16px; }
        .summit-table th, .summit-table td { padding:10px 12px; text-align:left; border-bottom:1px solid #eee; font-size:13px; }
        .summit-table th { background:#f8f6f0; color:#6b6256; font-weight:600; }
        .summit-table tr:hover { background:#fffdf7; }
        .summit-badge { display:inline-block; padding:3px 10px; border-radius:3px; font-size:11px; font-weight:600; }
        .summit-badge.pending { background:#fff3cd; color:#856404; }
        .summit-badge.confirmed { background:#d4edda; color:#155724; }
        .summit-badge.refunded { background:#f8d7da; color:#721c24; }
        .summit-badge.cancelled { background:#e2e3e5; color:#383d41; }
        .summit-badge.unpaid { background:#fff3cd; color:#856404; }
        .summit-badge.paid { background:#d4edda; color:#155724; }
        .summit-badge.refunded-pay { background:#f8d7da; color:#721c24; }
        .summit-toolbar { display:flex; gap:10px; margin-bottom:16px; align-items:center; flex-wrap:wrap; }
        .summit-toolbar select, .summit-toolbar button { padding:8px 14px; border:1px solid #ddd; border-radius:5px; font-size:13px; cursor:pointer; }
        .summit-toolbar .btn-export { background:#4A6741; color:#fff; border:none; }
        .summit-toolbar .btn-export:hover { background:#3A5232; }
        .summit-toolbar .btn-refresh { background:#f0f0f0; }
        .summit-action-btn { padding:5px 10px; border:none; border-radius:4px; font-size:12px; cursor:pointer; margin-right:4px; }
        .summit-action-btn.pay { background:#4A6741; color:#fff; }
        .summit-action-btn.pay:hover { background:#3A5232; }
        .summit-action-btn.refund { background:#dc3545; color:#fff; }
        .summit-action-btn.refund:hover { background:#c82333; }
        .summit-action-btn.view { background:#6c757d; color:#fff; }
        .summit-action-btn.view:hover { background:#5a6268; }
        .summit-modal-detail { font-size:13px; line-height:1.8; }
        .summit-modal-detail .detail-row { display:flex; border-bottom:1px solid #eee; padding:6px 0; }
        .summit-modal-detail .detail-label { width:140px; color:#6b6256; font-weight:600; flex-shrink:0; }
        .summit-modal-detail .detail-val { flex:1; }

        .content {
            padding: 30px;
        }
        
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: linear-gradient(135deg, #4A6741 0%, #3A5232 100%);
            color: white;
            padding: 25px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .stat-card.pending {
            background: linear-gradient(135deg, #D4956A 0%, #B57A2E 100%);
        }
        
        .stat-card.approved {
            background: linear-gradient(135deg, #4A6741 0%, #5A7A48 100%);
        }
        
        .stat-card.rejected {
            background: linear-gradient(135deg, #B8543D 0%, #8f3f2c 100%);
        }
        
        .stat-icon {
            font-size: 40px;
            opacity: 0.8;
        }
        
        .stat-info h3 {
            font-size: 32px;
            margin-bottom: 5px;
        }
        
        .stat-info p {
            opacity: 0.9;
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .panel {
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            padding: 22px;
        }

        .panel h2 {
            font-size: 20px;
            color: #4A6741;
            margin-bottom: 16px;
        }

        .mini-stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .mini-stat {
            background: linear-gradient(135deg, #f8fbf8 0%, #eef8ef 100%);
            border: 1px solid #d9ecd9;
            border-radius: 12px;
            padding: 16px;
        }

        .mini-stat-label {
            font-size: 13px;
            color: #5f6b63;
            margin-bottom: 8px;
        }

        .mini-stat-value {
            font-size: 26px;
            font-weight: 700;
            color: #3A5232;
        }

        .mini-stat-sub {
            font-size: 12px;
            color: #667;
            margin-top: 6px;
        }

        .service-list,
        .country-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .service-item,
        .country-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8f9fa;
            border-radius: 10px;
            padding: 12px 14px;
        }

        .service-meta {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .service-url,
        .muted-text {
            font-size: 12px;
            color: #777;
        }

        .service-badge {
            border-radius: 999px;
            padding: 6px 10px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .service-badge.healthy {
            background: #d4edda;
            color: #155724;
        }

        .service-badge.degraded {
            background: #fff3cd;
            color: #856404;
        }

        .service-badge.unreachable {
            background: #f8d7da;
            color: #721c24;
        }

        .knowledge-panel {
            margin-bottom: 30px;
        }

        .knowledge-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 16px;
        }

        .knowledge-toolbar {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .panel-btn {
            border: 1px solid #4A6741;
            background: #fff;
            color: #4A6741;
            border-radius: 8px;
            padding: 10px 16px;
            font-weight: 700;
            cursor: pointer;
        }

        .panel-btn.primary {
            background: #4A6741;
            color: #fff;
        }

        .knowledge-meta {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 16px;
            font-size: 13px;
            color: #667;
        }

        .knowledge-status {
            font-weight: 700;
        }

        .knowledge-status.success {
            color: #1f7a38;
        }

        .knowledge-status.error {
            color: #8f3f2c;
        }

        .knowledge-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .knowledge-field {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .knowledge-field-span {
            grid-column: 1 / -1;
        }

        .knowledge-field label {
            font-weight: 700;
            color: #4A6741;
        }

        .knowledge-field input,
        .knowledge-field textarea {
            width: 100%;
            border: 1px solid #d9e4d9;
            border-radius: 10px;
            padding: 12px 14px;
            font: inherit;
            background: #fcfefc;
        }

        .knowledge-field textarea {
            min-height: 140px;
            resize: vertical;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        thead {
            background: #4A6741;
            color: white;
        }
        
        th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
        }
        
        td {
            padding: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        tr:hover {
            background: #f9f9f9;
        }
        
        .status-badge {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            display: inline-block;
        }
        
        .status-pending {
            background: #fff3cd;
            color: #856404;
        }
        
        .status-approved {
            background: #d4edda;
            color: #155724;
        }
        
        .status-rejected {
            background: #f8d7da;
            color: #721c24;
        }
        
        .btn {
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            margin: 0 5px;
        }
        
        .btn-approve {
            background: #4A6741;
            color: white;
        }
        
        .btn-approve:hover {
            background: #3A5232;
            transform: translateY(-2px);
        }
        
        .btn-reject {
            background: #B8543D;
            color: white;
        }
        
        .btn-reject:hover {
            background: #8f3f2c;
            transform: translateY(-2px);
        }
        
        .btn-view {
            background: #4A6F8A;
            color: white;
        }
        
        .btn-view:hover {
            background: #3A5A6F;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }
        
        .empty {
            text-align: center;
            padding: 60px;
            color: #999;
        }
        
        .empty i {
            font-size: 60px;
            margin-bottom: 20px;
            opacity: 0.3;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            padding: 30px;
            border-radius: 15px;
            max-width: 900px;
            width: 90%;
            max-height: 85vh;
            overflow-y: auto;
        }
        .summit-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:16px; }
        .summit-detail-grid .full { grid-column:1/-1; }
        .summit-detail-section h4 { font-size:13px; color:#4A6741; margin:0 0 8px; padding-bottom:4px; border-bottom:1px solid #e0e0e0; text-transform:uppercase; letter-spacing:.5px; }
        .summit-status-flow { display:flex; gap:4px; align-items:center; flex-wrap:wrap; margin-bottom:16px; }
        .summit-status-flow .step { padding:4px 10px; border-radius:999px; font-size:12px; font-weight:600; }
        .summit-status-flow .step.done { background:#d4edda; color:#155724; }
        .summit-status-flow .step.pending { background:#fff3cd; color:#856404; }
        .summit-status-flow .arrow { color:#999; }
        .summit-file-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; background:#e4ead4; border:1px solid #a6bc7b; border-radius:8px; color:#17372b; font-weight:600; font-size:13px; cursor:pointer; transition:all .2s; border:none; }
        .summit-file-btn:hover { background:#a6bc7b; }
        .summit-file-btn.disabled { opacity:.4; pointer-events:none; }
        .summit-action-bar { margin-top:16px; padding-top:16px; border-top:2px solid #eee; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
        .summit-action-bar select, .summit-action-bar input { padding:8px 12px; border:1px solid #ddd; border-radius:6px; font-size:13px; }
        .summit-action-bar button { padding:8px 16px; border:none; border-radius:6px; font-weight:600; cursor:pointer; font-size:13px; }
        .summit-btn-save { background:#4A6741; color:#fff; }
        .summit-btn-save:hover { background:#3A5232; }
        .summit-btn-notify { background:#b86e25; color:#fff; }
        .summit-btn-notify:hover { background:#d4872e; }
        .summit-btn-confirm { background:#2563eb; color:#fff; }
        .summit-btn-confirm:hover { background:#1d4ed8; }
        .summit-btn-delete { background:#dc3545; color:#fff; }
        .summit-btn-delete:hover { background:#8f3f2c; }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
        }
        
        .detail-row {
            margin: 15px 0;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 8px;
        }
        
        .detail-label {
            font-weight: bold;
            color: #4A6741;
            margin-bottom: 5px;
        }

        @media (max-width: 960px) {
            .dashboard-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .mini-stats {
                grid-template-columns: 1fr;
            }

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

            .summit-detail-grid {
                grid-template-columns: 1fr;
            }

            .header {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }

            .user-info,
            .header-actions,
            .knowledge-header {
                flex-wrap: wrap;
            }

            .content {
                padding: 16px;
            }

            body {
                padding: 8px;
            }

            .container {
                border-radius: 10px;
            }

            .header {
                padding: 20px;
            }

            .header h1 {
                font-size: 22px;
            }

            .tabs {
                padding: 0 12px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                flex-wrap: nowrap;
            }

            .tab {
                padding: 12px 16px;
                white-space: nowrap;
                flex-shrink: 0;
            }

            .tab.summit-tab {
                margin-left: 0;
            }

            /* Responsive tables: horizontal scroll while keeping column alignment.
               display:block on table + overflow-x:auto creates the scroll container;
               display:table on thead/tbody restores normal table layout inside it. */
            table,
            .summit-table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                white-space: nowrap;
                border-radius: 10px;
            }

            table thead,
            table tbody,
            .summit-table thead,
            .summit-table tbody {
                display: table;
                width: 100%;
            }

            .summit-toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .summit-toolbar > * {
                width: 100%;
            }

            .summit-toolbar span {
                margin-left: 0 !important;
                text-align: center;
            }

            .summit-toolbar select, .summit-toolbar button {
                font-size: 16px;
            }

            .modal-content {
                padding: 20px;
                width: 94%;
                max-height: 90vh;
            }

            .summit-detail-grid,
            .knowledge-grid {
                gap: 12px;
            }
        }

        /* ====== File Explorer ====== */
        .files-layout { display: flex; gap: 16px; margin: 20px; }
        .files-sidebar { width: 220px; flex-shrink: 0; background: #f8f6f0; border-radius: 12px; padding: 12px; }
        .files-sidebar-header { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #6b6256; margin: 8px 8px 6px; }
        .files-sidebar-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: none; background: none; border-radius: 8px; cursor: pointer; font-size: 14px; color: #4a4a4a; transition: all .15s; }
        .files-sidebar-item:hover { background: rgba(74,103,65,0.08); }
        .files-sidebar-item.active { background: var(--hii-primary); color: #fff; font-weight: 600; }
        .files-sidebar-item.sub { padding-left: 28px; font-size: 13px; color: #6b6256; }
        .files-count { margin-left: auto; font-size: 12px; opacity: .7; }
        .files-main { flex: 1; min-width: 0; }
        .files-stats-bar { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; color: #6b6256; }
        .files-stats-bar .stat-pill { background: #f0ede5; border-radius: 999px; padding: 4px 12px; }
        .files-pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 16px; }
        .files-pagination button { padding: 6px 14px; border: 1px solid #d4c9b8; border-radius: 6px; background: #fff; cursor: pointer; font-size: 13px; }
        .files-pagination button.active { background: var(--hii-primary); color: #fff; border-color: var(--hii-primary); }
        .files-pagination button:disabled { opacity: .4; cursor: default; }
        .file-icon { font-size: 18px; }
        .file-icon.pdf { color: #B8543D; }
        .file-icon.img { color: #4A6F8A; }
        .file-icon.gis { color: #9CAF88; }
        .file-icon.doc { color: #4A6741; }

        @media (max-width: 768px) {
            .files-layout { flex-direction: column; }
            .files-sidebar { width: 100%; }
        }

        @media (max-width: 480px) {
            .stat-card {
                padding: 18px;
                gap: 14px;
            }

            .stat-icon {
                font-size: 28px;
            }

            .stat-info h3 {
                font-size: 24px;
            }

            .mini-stat-value {
                font-size: 22px;
            }
        }
