 /* ═══════════════════════════════════════════════════════════
           CHECKIN CARDS - Front Desk
           ═══════════════════════════════════════════════════════════ */
        
        /* ── Student Cards Grid ── */
        .students-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 12px;
            padding: 4px 0;
        }
        
        /* ── Student Card ── */
        .student-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1rem 1.25rem;
            cursor: pointer;
            transition: all var(--t-med) var(--ease);
            position: relative;
        }
        
        .student-card:hover {
            border-color: var(--border-mid);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }
        
        .student-card.selected {
            border-color: var(--teal);
            box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.15);
        }
        
        /* ── Card Header (Avatar + Name) ── */
        .student-card .sc-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }
        
        .student-card .sc-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }
        
        .student-card .sc-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-1);
            line-height: 1.2;
        }
        
        .student-card .sc-adm {
            font-size: 11px;
            color: var(--text-3);
            font-family: var(--mono);
        }
        
        /* ── Status Badge (top-right) ── */
        .student-card .sc-status-badge {
            margin-left: auto;
            display: inline-block;
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            white-space: nowrap;
        }
        
        .student-card .sc-status-badge.paid {
            background: var(--green-bg);
            color: var(--green);
        }
        
        .student-card .sc-status-badge.partial {
            background: var(--amber-bg);
            color: var(--amber);
        }
        
        .student-card .sc-status-badge.unpaid {
            background: var(--red-bg);
            color: var(--red);
        }
        
        /* ── Card Details Grid ── */
        .student-card .sc-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px 12px;
            font-size: 11px;
            color: var(--text-2);
            margin-top: 6px;
            padding-top: 8px;
            border-top: 1px solid var(--border);
        }
        
        .student-card .sc-details span strong {
            color: var(--text-3);
            font-weight: 500;
        }
        
        /* ── Balance Styling ── */
        .sc-balance {
            font-family: var(--mono);
            font-weight: 600;
        }
        
        .sc-balance.positive {
            color: var(--amber);
        }
        
        .sc-balance.zero {
            color: var(--green);
        }
        
        /* ── Card Actions (Buttons) ── */
        .student-card .sc-actions {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--border);
        }
        
        .student-card .sc-actions button {
            flex: 1;
            padding: 5px 10px;
            border-radius: var(--radius);
            border: 1px solid var(--border-mid);
            background: var(--surface-2);
            color: var(--text-2);
            font-size: 10px;
            font-family: var(--font);
            cursor: pointer;
            transition: all var(--t-fast) var(--ease);
        }
        
        .student-card .sc-actions button:hover {
            background: var(--surface-3);
            color: var(--text-1);
        }
        
        .student-card .sc-actions button.pay-btn {
            background: var(--teal-bg);
            color: var(--teal);
            border-color: rgba(45, 212, 191, 0.2);
        }
        
        .student-card .sc-actions button.pay-btn:hover {
            background: var(--teal-dim);
            color: #fff;
        }
        
        .student-card .sc-actions button.view-btn {
            background: var(--blue-bg);
            color: var(--blue);
            border-color: rgba(96, 165, 250, 0.2);
        }
        
        .student-card .sc-actions button.view-btn:hover {
            background: var(--blue);
            color: #fff;
        }
        
        /* ── Loading State ── */
        .loading-spinner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 2rem;
            color: var(--text-3);
            font-size: 12px;
        }
        
        .loading-spinner .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid var(--surface-3);
            border-top: 2px solid var(--teal);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        
        /* ── Empty State ── */
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-3);
        }
        
        .empty-state .empty-icon {
            font-size: 48px;
            margin-bottom: 0.5rem;
        }
        
        .empty-state .empty-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-2);
            margin-bottom: 4px;
        }
        
        .empty-state .empty-sub {
            font-size: 12px;
        }
        
        /* ═══════════════════════════════════════════════════════════════
           FEE STATUS PILLS
           ═══════════════════════════════════════════════════════════════ */
        
        /* ── Base Pill Styles ── */
        .pill {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 10px;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 600;
            font-family: var(--font);
            border: 1px solid transparent;
            transition: all var(--t-fast) var(--ease);
            white-space: nowrap;
            line-height: 1.5;
        }
        
        .pill svg {
            width: 10px;
            height: 10px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.5;
            flex-shrink: 0;
        }
        
        /* ── Status: Paid ── */
        .pill-paid {
            background: var(--green-bg);
            color: var(--green);
            border-color: rgba(74, 222, 128, 0.2);
        }
        
        .pill-paid svg {
            stroke: var(--green);
        }
        
        /* ── Status: Partial ── */
        .pill-partial {
            background: var(--amber-bg);
            color: var(--amber);
            border-color: rgba(251, 191, 36, 0.2);
        }
        
        .pill-partial svg {
            stroke: var(--amber);
        }
        
        /* ── Status: Unpaid ── */
        .pill-unpaid {
            background: var(--red-bg);
            color: var(--red);
            border-color: rgba(248, 113, 113, 0.2);
        }
        
        .pill-unpaid svg {
            stroke: var(--red);
        }
        
        /* ── Status: Active ── */
        .pill-active {
            background: var(--green-bg);
            color: var(--green);
            border-color: rgba(74, 222, 128, 0.2);
        }
        
        /* ── Status: Inactive ── */
        .pill-inactive {
            background: var(--surface-3);
            color: var(--text-3);
            border-color: var(--border-mid);
        }
        
        /* ── Status: Default (for fee structures) ── */
        .pill-default {
            background: var(--amber-bg);
            color: var(--amber);
            border-color: rgba(251, 191, 36, 0.2);
            font-size: 8px;
            padding: 1px 8px;
        }
        
        /* ── Pill Sizes ── */
        .pill-sm {
            font-size: 8px;
            padding: 1px 8px;
            gap: 3px;
        }
        
        .pill-sm svg {
            width: 8px;
            height: 8px;
        }
        
        .pill-lg {
            font-size: 12px;
            padding: 4px 14px;
            gap: 6px;
        }
        
        .pill-lg svg {
            width: 12px;
            height: 12px;
        }
        
        /* ── With Icons ── */
        .pill-icon {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        .pill-icon svg {
            width: 10px;
            height: 10px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.5;
        }
        
        /* ── Dot Badge (for audit log) ── */
        .dot-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 10px;
            font-weight: 500;
            color: var(--text-2);
        }
        
        .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        
        .dot-green {
            background: var(--green);
        }
        
        .dot-gray {
            background: var(--text-3);
        }
        
        .dot-amber {
            background: var(--amber);
        }
        
        .dot-red {
            background: var(--red);
        }
        /* ═══════════════════════════════════════════════════════════
           MODALS - Complete Styles
           ═══════════════════════════════════════════════════════════ */
        
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        
        .modal-overlay.open {
            display: flex !important;
        }
        
        .modal-overlay.show {
            display: flex !important;
        }
        
        .modal {
            background: var(--surface);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            max-width: 550px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: modalSlideIn 0.25s var(--ease);
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.95) translateY(10px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        
        .modal-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-1);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        
        .modal-close {
            background: transparent;
            border: none;
            color: var(--text-3);
            font-size: 20px;
            cursor: pointer;
            padding: 0 8px;
            transition: color var(--t-fast) var(--ease);
            line-height: 1;
        }
        
        .modal-close:hover {
            color: var(--text-1);
        }
        
        /* ── Modal Form Styles ── */
        .modal .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        
        .modal .form-field {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .modal .form-field.full {
            grid-column: 1 / -1;
        }
        
        .modal .form-field label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: var(--text-3);
            font-weight: 600;
        }
        
        .modal .form-field label .req {
            color: var(--red);
        }
        
        .modal .form-field input,
        .modal .form-field select,
        .modal .form-field textarea {
            width: 100%;
            padding: 8px 12px;
            background: var(--surface-2);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            font-size: 12px;
            font-family: var(--font);
            color: var(--text-1);
            outline: none;
            transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
        }
        
        .modal .form-field input:focus,
        .modal .form-field select:focus,
        .modal .form-field textarea:focus {
            border-color: rgba(45, 212, 191, 0.4);
            box-shadow: var(--glow-ring-soft);
        }
        
        .modal .form-field select option {
            background: var(--surface-2);
            color: var(--text-1);
        }
        
        .modal .form-field input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: var(--teal);
            cursor: pointer;
            padding: 0;
        }
        
        .modal .form-submit {
            width: 100%;
            padding: 10px;
            margin-top: 1rem;
            background: var(--teal-dim);
            border: none;
            border-radius: var(--radius);
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: opacity var(--t-fast) var(--ease);
        }
        
        .modal .form-submit:hover {
            opacity: 0.88;
        }
        
        .modal .form-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .modal .form-submit svg {
            width: 14px;
            height: 14px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.5;
        }
        
        /* ── Responsive ── */
        @media (max-width: 768px) {
            .modal {
                max-width: 98vw;
                padding: 1rem;
            }
            
            .modal .form-grid {
                grid-template-columns: 1fr;
            }
            
            .modal .form-field.full {
                grid-column: 1;
            }
        }
        
        @media (max-width: 480px) {
            .modal {
                padding: 0.8rem;
                max-height: 95vh;
            }
        }
        
        
        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .students-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .students-grid {
                grid-template-columns: 1fr;
            }
            
            .student-card .sc-details {
                grid-template-columns: 1fr 1fr;
                font-size: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .student-card {
                padding: 0.8rem 1rem;
            }
            
            .student-card .sc-actions {
                flex-direction: column;
            }
            
            .student-card .sc-actions button {
                padding: 6px 10px;
            }
        }
 
 
         /* ── Loading ── */
        .loading-spinner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 2rem;
            color: var(--text-3);
            font-size: 12px;
        }
        .loading-spinner .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid var(--surface-3);
            border-top: 2px solid var(--teal);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        
        /* ── Empty State ── */
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-3);
        }
        .empty-state .empty-icon { font-size: 48px; margin-bottom: 0.5rem; }
        .empty-state .empty-title { font-size: 16px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
        .empty-state .empty-sub { font-size: 12px; }
 
         /* ── Responsive ── */
         @media (max-width: 768px) {
            /* .sidebar { display: none; }  ← already deleted */
            .main { padding: 1rem; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .students-grid { grid-template-columns: 1fr; }
            /* ↓ keep it horizontal, not vertical */
            .topbar { flex-direction: row; align-items: center; }
            .topbar-actions { flex-wrap: nowrap; }
        }
        
        /* ── Pagination Controls ── */
        #studentPagination {
            display: none;
            margin-top: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            padding: 0.75rem 1rem;
            background: var(--surface-2);
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }
        
        #studentPagination button:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        
        #studentPagination select {
            background: var(--surface-2);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            padding: 4px 8px;
            font-size: 11px;
            color: var(--text-1);
            outline: none;
            cursor: pointer;
        }
        
        @media (max-width: 768px) {
            #studentPagination {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }
            
            #studentPagination > div:last-child {
                justify-content: center;
                flex-wrap: wrap;
            }
        }
        
        /* ── Import/Export Page ── */
        #dropZone {
            transition: all 0.3s ease;
        }
        
        #dropZone.dragover {
            border-color: var(--teal);
            background: var(--teal-bg);
        }
        
        #fileInfo {
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .alert-warning {
            background: var(--amber-bg) !important;
            border-color: rgba(251, 191, 36, 0.2) !important;
            color: var(--amber) !important;
        }
        
        
        /* ═══════════════════════════════════════════════════════════
           INLINE PAYMENT PANEL (Quick Lookup cards)
           ═══════════════════════════════════════════════════════════ */
        
        .sc-pay-panel {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px dashed var(--border-mid);
            animation: scPaySlideIn 0.22s ease;
        }
        
        @keyframes scPaySlideIn {
            from { opacity: 0; transform: translateY(-6px); }
            to   { opacity: 1; transform: translateY(0);     }
        }
        
        .sc-pay-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            font-size: 11px;
            font-weight: 600;
            color: var(--teal);
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        
        .sc-pay-close {
            background: transparent;
            border: none;
            color: var(--text-3);
            font-size: 18px;
            cursor: pointer;
            padding: 0 6px;
            line-height: 1;
            transition: color 0.15s;
        }
        .sc-pay-close:hover { color: var(--text-1); }
        
        .sc-pay-body { display: flex; flex-direction: column; gap: 8px; }
        
        .sc-pay-summary {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            background: var(--surface-2);
            border-radius: var(--radius);
            padding: 8px 10px;
            font-size: 11px;
            margin-bottom: 2px;
        }
        .sc-pay-summary .lbl {
            display: block;
            font-size: 9px;
            color: var(--text-3);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 2px;
        }
        .sc-pay-summary .val { font-weight: 600; }
        
        .sc-pay-label {
            font-size: 10px;
            color: var(--text-3);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 600;
            margin-bottom: -4px;
        }
        .sc-pay-label .req { color: var(--red); }
        
        .sc-pay-input,
        .sc-pay-select {
            background: var(--surface-2);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            padding: 7px 10px;
            font-size: 12px;
            font-family: var(--font);
            color: var(--text-1);
            outline: none;
            transition: border-color 0.15s, box-shadow 0.15s;
        }
        .sc-pay-input:focus,
        .sc-pay-select:focus {
            border-color: rgba(45, 212, 191, 0.5);
            box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.1);
        }
        .sc-pay-input-full { width: 100%; }
        
        .sc-pay-input-group {
            display: flex;
            gap: 4px;
            align-items: stretch;
        }
        .sc-pay-prefix {
            display: inline-flex;
            align-items: center;
            background: var(--surface-3);
            border: 1px solid var(--border-mid);
            border-right: none;
            border-radius: var(--radius) 0 0 var(--radius);
            padding: 0 10px;
            font-size: 10px;
            font-family: var(--mono);
            color: var(--text-3);
            font-weight: 600;
        }
        .sc-pay-input-group .sc-pay-input {
            flex: 1;
            border-radius: 0;
            min-width: 0;
        }
        .sc-pay-quick {
            background: var(--surface-2);
            border: 1px solid var(--border-mid);
            border-radius: 0;
            padding: 0 10px;
            font-size: 10px;
            font-weight: 600;
            font-family: var(--font);
            color: var(--text-2);
            cursor: pointer;
            transition: all 0.15s;
        }
        .sc-pay-quick:hover {
            background: var(--teal-bg);
            color: var(--teal);
            border-color: rgba(45, 212, 191, 0.3);
        }
        .sc-pay-quick:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
        
        .sc-pay-alert {
            padding: 8px 12px;
            border-radius: var(--radius);
            font-size: 11px;
            line-height: 1.5;
            margin-top: 4px;
        }
        .sc-pay-alert.err {
            background: var(--red-bg);
            color: var(--red);
            border: 1px solid rgba(248, 113, 113, 0.25);
        }
        .sc-pay-alert.ok {
            background: var(--green-bg);
            color: var(--green);
            border: 1px solid rgba(74, 222, 128, 0.25);
        }
        
        .sc-pay-submit {
            width: 100%;
            padding: 9px 14px;
            margin-top: 4px;
            background: linear-gradient(135deg, var(--teal-dim), #0f766e);
            border: none;
            border-radius: var(--radius);
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            font-family: var(--font);
            transition: opacity 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .sc-pay-submit:hover { opacity: 0.9; }
        .sc-pay-submit:disabled { opacity: 0.5; cursor: not-allowed; }
        
        
        /* ═══════════════════════════════════════════════════════════
           SPONSORSHIP ALLOCATION TABLE
           ═══════════════════════════════════════════════════════════ */
        
        .alloc-toolbar {
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
            margin-bottom: 12px;
            padding: 10px 12px;
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }
        
        .alloc-toolbar .alloc-search {
            flex: 1 1 220px;
            min-width: 180px;
            background: var(--surface);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            padding: 7px 12px;
            font-size: 12px;
            font-family: var(--font);
            color: var(--text-1);
            outline: none;
        }
        .alloc-toolbar .alloc-search:focus {
            border-color: rgba(45, 212, 191, 0.45);
            box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.1);
        }
        
        .alloc-toolbar select {
            background: var(--surface);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            padding: 7px 12px;
            font-size: 11px;
            font-family: var(--font);
            color: var(--text-1);
            outline: none;
            cursor: pointer;
        }
        
        .alloc-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
        }
        .alloc-table th {
            text-align: left;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: var(--text-3);
            font-weight: 600;
            padding: 8px 10px;
            border-bottom: 1px solid var(--border);
            background: var(--surface-2);
            position: sticky;
            top: 0;
            z-index: 2;
        }
        .alloc-table td {
            padding: 8px 10px;
            border-bottom: 1px solid var(--border);
            color: var(--text-2);
            vertical-align: middle;
        }
        .alloc-table tr:hover td {
            background: var(--surface-2);
        }
        .alloc-table .mono { font-family: var(--mono); }
        .alloc-table .right { text-align: right; }
        .alloc-table .center { text-align: center; }
        
        .alloc-table .alloc-name {
            font-weight: 600;
            color: var(--text-1);
            line-height: 1.2;
        }
        .alloc-table .alloc-adm {
            font-size: 10px;
            color: var(--text-3);
            font-family: var(--mono);
        }
        
        .alloc-table .alloc-amount-input {
            width: 110px;
            background: var(--surface);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            padding: 5px 8px;
            font-size: 12px;
            font-family: var(--mono);
            color: var(--text-1);
            text-align: right;
            outline: none;
            transition: border-color 0.15s, box-shadow 0.15s;
        }
        .alloc-table .alloc-amount-input:focus {
            border-color: rgba(45, 212, 191, 0.5);
            box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.1);
        }
        .alloc-table .alloc-amount-input.over {
            border-color: var(--amber);
            box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.15);
        }
        
        .alloc-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 12px;
            padding: 12px;
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }
        
        .alloc-footer .alloc-summary {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 12px;
        }
        .alloc-footer .alloc-summary .lbl {
            display: block;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: var(--text-3);
            margin-bottom: 2px;
        }
        .alloc-footer .alloc-summary .val {
            font-family: var(--mono);
            font-weight: 600;
            font-size: 14px;
            color: var(--text-1);
        }
        .alloc-footer .alloc-summary .val.warn {
            color: var(--amber);
        }
        .alloc-footer .alloc-summary .val.ok {
            color: var(--green);
        }
        
        .alloc-bulk {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .alloc-bulk button {
            background: var(--surface);
            border: 1px solid var(--border-mid);
            border-radius: var(--radius);
            padding: 6px 12px;
            font-size: 11px;
            font-family: var(--font);
            color: var(--text-2);
            cursor: pointer;
            transition: all 0.15s;
        }
        .alloc-bulk button:hover {
            background: var(--surface-3);
            color: var(--text-1);
        }
        
        .alloc-empty {
            text-align: center;
            padding: 2rem 1rem;
            color: var(--text-3);
            font-size: 12px;
        }