.th-root{z-index:100;background:#f8faff;flex-direction:column;width:100%;display:flex;position:fixed;inset:0;overflow:hidden}.th-header{background:#fff;border-bottom:1px solid #eef2f8;flex-shrink:0;justify-content:flex-start;align-items:center;gap:1rem;padding:.875rem 1.25rem;display:flex}.th-back-btn{color:#1a1e2b;background:#f8faff;border:1px solid #eef2f8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;font-size:.9rem;text-decoration:none;transition:all .2s;display:flex}.th-back-btn:active{transform:scale(.9)}.th-title{color:#1a1e2b;letter-spacing:-.0125rem;flex:1;margin:0;font-size:1.05rem;font-weight:800}.th-content{padding:1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom,1.25rem)) 1.25rem;background:#f8faff;flex-direction:column;flex:1;gap:1.25rem;min-height:0;display:flex}.th-list-container{scrollbar-width:none;-ms-overflow-style:none;background:#fff;border:1px solid #eef2f8;border-radius:1.25rem;flex:1;min-height:0;overflow-y:auto;box-shadow:0 .25rem 1.25rem #00000005}.th-list-container::-webkit-scrollbar{display:none}.th-item{border-bottom:1px solid #eef2f8;justify-content:space-between;align-items:center;padding:1rem 1.25rem;transition:background .2s;display:flex}.th-item:last-child{border-bottom:none}.th-item:active{background:#f8faff}.th-info{align-items:center;gap:1rem;display:flex}.th-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2.625rem;height:2.625rem;font-size:1.15rem;display:flex}.th-icon.deposit{color:#2c8e5a;background:#2c8e5a1a}.th-icon.withdrawal{color:#475569;background:#f1f5f9}.th-details{flex-direction:column;gap:2px;display:flex}.th-type{color:#1a1e2b;margin:0;font-size:1.02rem;font-weight:700}.th-date{color:#8f9bb3;margin:0;font-size:.78rem;font-weight:500}.th-amount-status{flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.th-amount{letter-spacing:-.0188rem;white-space:nowrap;font-size:1.05rem;font-weight:800}.th-amount.deposit{color:#2c8e5a}.th-amount.withdrawal{color:#1a1e2b}.th-status-badge{text-transform:capitalize;align-items:center;gap:.375rem;font-size:.75rem;font-weight:700;display:flex}.th-status-badge .status-dot{border-radius:50%;width:.375rem;height:.375rem}.th-status-badge.pending{color:#d97706}.th-status-badge.pending .status-dot{background:#d97706}.th-status-badge.approved{color:#16a34a}.th-status-badge.approved .status-dot{background:#16a34a}.th-status-badge.rejected{color:#dc2626}.th-status-badge.rejected .status-dot{background:#dc2626}.th-empty{text-align:center;background:#fff;border:1px dashed #e2e8f0;border-radius:1.25rem;padding:3.75rem 1.25rem}.th-empty i{color:#cbd5e1;margin-bottom:1rem;font-size:3rem}.th-empty p{color:#8f9bb3;margin:0;font-size:.95rem;font-weight:500}body.dark .th-root,body.dark .th-content{background:#121212}body.dark .th-header{background:#1e1e1e;border-bottom-color:#333}body.dark .th-list-container{box-shadow:none;background:#1e1e1e;border-color:#3a3a3a}body.dark .th-item{border-bottom-color:#333}body.dark .th-item:active{background:#2a2a2a}body.dark .th-type,body.dark .th-title{color:#f5f5f5}body.dark .th-date{color:#888}body.dark .th-amount.withdrawal{color:#f5f5f5}body.dark .th-icon.deposit{color:#4ade80;background:#2c8e5a26}body.dark .th-amount.deposit{color:#4ade80}body.dark .th-icon.withdrawal{color:#cbd5e1;background:#2a2a2a}body.dark .th-back-btn{color:#f5f5f5;background:#2a2a2a;border-color:#3a3a3a}body.dark .th-empty{background:#1e1e1e;border-color:#3a3a3a}body.dark .th-status-badge.pending{color:#fbbf24}body.dark .th-status-badge.pending .status-dot{background:#fbbf24}body.dark .th-status-badge.approved{color:#4ade80}body.dark .th-status-badge.approved .status-dot{background:#4ade80}body.dark .th-status-badge.rejected{color:#f87171}body.dark .th-status-badge.rejected .status-dot{background:#f87171}body.black .th-root,body.black .th-content,body.black .th-header,body.black .th-empty,body.black .th-list-container{background:#000;border-color:#111}body.black .th-item{border-bottom-color:#111}body.black .th-item:active{background:#111}body.black .th-icon.withdrawal{color:#94a3b8;background:#111}body.black .th-back-btn{background:#111;border-color:#222}.th-filters{flex-wrap:wrap;gap:.5rem;display:flex}.th-filter-chip{cursor:pointer;color:#6b728e;white-space:nowrap;background:#fff;border:1.5px solid #e2e8f0;border-radius:3.125rem;align-items:center;gap:.375rem;padding:.5rem 1rem;font-size:.8rem;font-weight:700;transition:background .15s,color .15s,border-color .15s,box-shadow .15s;display:inline-flex}.th-filter-chip:hover{background:#f0f3f8;border-color:#cbd5e1}.th-filter-chip.active{color:#fff;background:#1a1e2b;border-color:#1a1e2b;box-shadow:0 2px .5rem #1a1e2b33}.th-filter-chip.deposit.active{color:#16a34a;background:#f0fdf4;border-color:#16a34a;box-shadow:0 2px .5rem #16a34a26}.th-filter-chip.withdrawal.active{color:#334155;background:#f1f5f9;border-color:#94a3b8;box-shadow:0 2px .5rem #64748b26}.th-filter-chip.pending.active{color:#d97706;background:#fffbeb;border-color:#d97706;box-shadow:0 2px .5rem #d9770626}body.dark .th-filter-chip{color:#888;background:#1e1e1e;border-color:#3a3a3a}body.dark .th-filter-chip:hover{background:#2a2a2a}body.dark .th-filter-chip.active{color:#121212;background:#f0f0f0;border-color:#f0f0f0}body.dark .th-filter-chip.deposit.active{color:#4ade80;background:#16a34a26;border-color:#4ade80}body.dark .th-filter-chip.withdrawal.active{color:#cbd5e1;background:#2a2a2a;border-color:#475569}body.dark .th-filter-chip.pending.active{color:#fbbf24;background:#d977061f;border-color:#fbbf24}body.black .th-filter-chip{color:#555;background:#0a0a0a;border-color:#1a1a1a}body.black .th-filter-chip:hover{background:#111}body.black .th-filter-chip.active{color:#000;background:#f5f5f5;border-color:#f5f5f5}body.black .th-filter-chip.deposit.active{color:#4ade80;background:#16a34a1a;border-color:#4ade80}body.black .th-filter-chip.pending.active{color:#fbbf24;background:#d977061a;border-color:#fbbf24}.th-status-badge.cancelled_by_user,.th-status-badge.cancelled-by-user{color:#94a3b8}.th-status-badge.cancelled_by_user .status-dot,.th-status-badge.cancelled-by-user .status-dot{background:#94a3b8}.th-icon.cancelled{color:#94a3b8!important;background:#f1f5f9!important}.th-amount.cancelled{text-decoration:line-through;color:#94a3b8!important}.th-status-row{justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.th-edit-btn{color:#2c8e5a;cursor:pointer;white-space:nowrap;background:0 0;border:1.5px solid #2c8e5a;border-radius:.5rem;align-items:center;gap:.3125rem;padding:.25rem .625rem;font-size:.72rem;font-weight:700;transition:background .15s,color .15s;display:inline-flex}.th-edit-btn:hover{color:#fff;background:#2c8e5a}.th-modal-overlay{-webkit-backdrop-filter:blur(.375rem);backdrop-filter:blur(.375rem);z-index:1000;opacity:0;visibility:hidden;background:#0f14238c;transition:opacity .25s,visibility .25s;position:fixed;inset:0}.th-modal-overlay.open{opacity:1;visibility:visible}.th-modal{z-index:1001;opacity:0;visibility:hidden;background:#fff;border-radius:1.5rem;width:min(30rem,100vw - 2rem);transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .25s,visibility .25s;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-48%)scale(.96);box-shadow:0 1.5rem 4rem #0000002e}.th-modal.open{opacity:1;visibility:visible;transform:translate(-50%,-50%)scale(1)}@media (max-width:40rem){.th-modal{border-radius:1.5rem 1.5rem 0 0;width:100%;top:auto;bottom:0;left:0;transform:translateY(100%)}.th-modal.open{opacity:1;visibility:visible;transform:translateY(0)}}.th-modal-header{border-bottom:1px solid #eef2f8;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:1.25rem 1.5rem 1rem;display:flex}.th-modal-header h3{color:#1a1e2b;margin:0 0 .1875rem;font-size:1.05rem;font-weight:800}.th-modal-sub{color:#8f9bb3;margin:0;font-size:.78rem}.th-modal-close{color:#1a1e2b;cursor:pointer;background:#f8faff;border:1px solid #eef2f8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.85rem;display:flex}.th-modal-body{flex-direction:column;gap:.875rem;max-height:72vh;padding:1.25rem 1.5rem 1.5rem;display:flex;overflow-y:auto}.th-form-group{flex-direction:column;gap:.375rem;display:flex}.th-form-group label{color:#8f9bb3;text-transform:uppercase;letter-spacing:.0375rem;font-size:.7rem;font-weight:700}.th-form-group input{color:#1a1e2b;box-sizing:border-box;background:#f8faff;border:1.5px solid #e2e8f0;border-radius:.75rem;padding:.75rem .875rem;font-family:inherit;font-size:.925rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.th-form-group input:focus{background:#fff;border-color:#2c8e5a;outline:none;box-shadow:0 0 0 .1875rem #2c8e5a1a}.th-edit-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:.75rem;align-items:center;gap:.5rem;padding:.625rem .875rem;font-size:.85rem;font-weight:600;display:flex}.th-modal-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:.75rem;align-items:flex-start;gap:.5rem;padding:.625rem .875rem;font-size:.8rem;line-height:1.5;display:flex}.th-modal-notice i{flex-shrink:0;margin-top:2px}.th-save-btn{color:#fff;cursor:pointer;background:#2c8e5a;border:none;border-radius:.875rem;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.875rem;font-size:.95rem;font-weight:800;transition:background .15s;display:flex;box-shadow:0 .25rem .875rem #2c8e5a47}.th-save-btn:hover{background:#237a4b}.th-save-btn:disabled{opacity:.65;cursor:not-allowed}body.dark .th-modal{background:#1e1e1e}body.dark .th-modal-header{border-bottom-color:#333}body.dark .th-modal-header h3{color:#f0f0f0}body.dark .th-modal-close{color:#f0f0f0;background:#2a2a2a;border-color:#3a3a3a}body.dark .th-form-group label{color:#666}body.dark .th-form-group input{color:#f0f0f0;background:#2a2a2a;border-color:#3a3a3a}body.dark .th-form-group input:focus{background:#2a2a2a;border-color:#2c8e5a}body.dark .th-modal-notice{color:#fde68a;background:#92400e26;border-color:#fde68a33}body.dark .th-edit-error{color:#f87171;background:#dc26261f;border-color:#fecaca33}body.dark .th-icon.cancelled{color:#475569!important;background:#2a2a2a!important}body.dark .th-status-badge.cancelled_by_user,body.dark .th-status-badge.cancelled-by-user{color:#475569}body.dark .th-status-badge.cancelled_by_user .status-dot,body.dark .th-status-badge.cancelled-by-user .status-dot{background:#475569}body.black .th-modal,body.black .th-modal-header{background:#000;border-color:#111}body.black .th-form-group input{color:#f5f5f5;background:#111;border-color:#1a1a1a}body.black .th-modal-close{background:#111;border-color:#1a1a1a}body.blue .th-root,body.blue .th-content,body.blue .th-header,body.blue .th-empty,body.blue .th-list-container{background:#0b141e;border-color:#131c27}body.blue .th-item{border-bottom-color:#131c27}body.blue .th-item:active{background:#131c27}body.blue .th-icon.withdrawal{color:#94a3b8;background:#131c27}body.blue .th-back-btn{background:#131c27;border-color:#1c2a3a}body.blue .th-filter-chip{color:#555;background:#131c27;border-color:#131c27}body.blue .th-filter-chip:hover{background:#131c27}body.blue .th-filter-chip.active{color:#0b141e;background:#f5f5f5;border-color:#f5f5f5}body.blue .th-filter-chip.deposit.active{color:#4ade80;background:#16a34a1a;border-color:#4ade80}body.blue .th-filter-chip.pending.active{color:#fbbf24;background:#d977061a;border-color:#fbbf24}body.blue .th-modal,body.blue .th-modal-header{background:#0b141e;border-color:#131c27}body.blue .th-form-group input{color:#f5f5f5;background:#131c27;border-color:#131c27}body.blue .th-modal-close{background:#131c27;border-color:#131c27}
