.dg-theme-toggle{position:fixed;left:18px;bottom:18px;z-index:1050;border:1px solid #c6d6ce;border-radius:24px;background:#fff;color:#17482e;padding:10px 18px;font:inherit;font-size:13px;box-shadow:0 4px 16px #0002}.dg-theme-toggle:focus-visible{outline:3px solid #975dd0;outline-offset:3px}
:root[data-theme=dark]{color-scheme:dark;color:#edf3fa;background:#0d1520;--surface:#162232;--surface-soft:#111c2a;--surface-raised:#223247;--text:#edf3fa;--secondary:#b5c4d7;--accent:#79e0b5;--accent-soft:#173a32;--focus:#c5acff;--line:#34455a;--muted:#b5c4d7;--teal:#79e0b5;--teal-light:#173a32;--blue:#c5acff;--purple:#c5acff;--green:#79e0b5;--red:#ffabb3;--orange:#f8d291}
[data-theme=dark] body,[data-theme=dark] .app-shell,[data-theme=dark] .boot{background:#0d1520;color:var(--text)}
[data-theme=dark] .topbar,[data-theme=dark] .panel,[data-theme=dark] .stat-card,[data-theme=dark] .login-card,[data-theme=dark] .modal,[data-theme=dark] .modal-card,[data-theme=dark] .modal-content,[data-theme=dark] .modal-head,[data-theme=dark] .transfer-stat,[data-theme=dark] .creator-card,[data-theme=dark] .oudat-dialog{background:var(--surface);color:var(--text);border-color:var(--line);box-shadow:0 4px 18px #0001}
[data-theme=dark] .modal::backdrop{background:#030916b3}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:var(--surface-soft);color:var(--text);border-color:#50627a}
[data-theme=dark] input:focus,[data-theme=dark] textarea:focus,[data-theme=dark] select:focus{border-color:var(--accent);outline-color:var(--accent);box-shadow:0 0 0 3px #79e0b51a}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#9eb0c8;opacity:1}
[data-theme=dark] .field>span{color:#d0deee}
[data-theme=dark] .button{background:var(--surface-raised);color:var(--text);border-color:#4b5f79}
[data-theme=dark] .button:hover:not(:disabled){background:#2d425b;border-color:#7e97b3}
[data-theme=dark] .button.primary,[data-theme=dark] .button.success{background:#79e0b5;color:#102b23;border-color:#79e0b5;font-weight:600}
[data-theme=dark] .button.primary:hover:not(:disabled),[data-theme=dark] .button.success:hover:not(:disabled){background:#a0edcf;border-color:#a0edcf}
[data-theme=dark] .button.danger-outline,[data-theme=dark] .button.ghost-danger,[data-theme=dark] .danger-text{color:#ffabb3;border-color:#a15c6a}
[data-theme=dark] .button.danger{background:#9b354c;color:#fff;border-color:#c6576b}
[data-theme=dark] .text-button,[data-theme=dark] a{color:#a7d9ff}
[data-theme=dark] .muted,[data-theme=dark] .field>small,[data-theme=dark] .field-hint,[data-theme=dark] .app-footer,[data-theme=dark] .page-heading p,[data-theme=dark] .panel-heading p,[data-theme=dark] .stat-card .stat-top>span:first-child,[data-theme=dark] .stat-card>span,[data-theme=dark] .stat-card>p,[data-theme=dark] .stat-card>strong small,[data-theme=dark] .detail-cell small,[data-theme=dark] .detail-amount small{color:var(--secondary)}
[data-theme=dark] .stat-card>strong,[data-theme=dark] .transfer-stat strong{color:var(--text)}
[data-theme=dark] .stat-card.green>strong{color:#79e0b5}[data-theme=dark] .stat-card.red>strong{color:#ffabb3}[data-theme=dark] .stat-card.red{border-color:#725062}
[data-theme=dark] .stat-icon,[data-theme=dark] .stat-card:nth-child(even) .stat-icon{background:#30294d;color:#d6c3ff}[data-theme=dark] .stat-card.green .stat-icon{background:#173a32;color:#79e0b5}[data-theme=dark] .stat-card.red .stat-icon{background:#432737;color:#ffabb3}
[data-theme=dark] .table-wrap,[data-theme=dark] table,[data-theme=dark] tbody tr,[data-theme=dark] td{background:var(--surface);color:var(--text);border-color:var(--line)}
[data-theme=dark] th,[data-theme=dark] thead,[data-theme=dark] .filter-panel,[data-theme=dark] .tabs,[data-theme=dark] .detail-summary{background:var(--surface-soft);color:#d0deee;border-color:var(--line)}
[data-theme=dark] .tabs button{color:var(--secondary)}[data-theme=dark] .tabs button.active{color:#d6c3ff}[data-theme=dark] .tabs button.active:after{background:#c5acff}
[data-theme=dark] tbody tr:hover,[data-theme=dark] .notification-row:hover{background:var(--surface-raised)}
[data-theme=dark] .payment-record,[data-theme=dark] .notification-row,[data-theme=dark] .notification-item,[data-theme=dark] .detail-cell,[data-theme=dark] .backup-location,[data-theme=dark] .empty-state{background:var(--surface);color:var(--text);border-color:var(--line)}
[data-theme=dark] .ticket-message,[data-theme=dark] .ticket-row{color:var(--text)}[data-theme=dark] .ticket-message-meta,[data-theme=dark] .ticket-row-meta{color:var(--secondary)}
[data-theme=dark] .ticket-priority.normal,[data-theme=dark] .ticket-status{background:var(--surface-raised);color:var(--secondary)}[data-theme=dark] .ticket-status.open{background:var(--accent-soft);color:var(--accent)}[data-theme=dark] .ticket-priority.high{background:#44361f;color:#ffdaa0}[data-theme=dark] .ticket-priority.urgent{background:#472637;color:#ffb8c5}[data-theme=dark] .ticket-unread{background:#79e0b5;color:#102b23}
[data-theme=dark] .notification-row.unread,[data-theme=dark] .notification-item.unread{background:#173a32;border-color:#36705c}
[data-theme=dark] .info-box,[data-theme=dark] .fixed-destination,[data-theme=dark] .success-box{background:#173a32;color:#b5f4d7;border-color:#36705c}
[data-theme=dark] .warning-box,[data-theme=dark] .connection-warning{background:#44361f;color:#ffdaa0;border-color:#846a3d}
[data-theme=dark] .error-box{background:#472637;color:#ffb8c5;border-color:#98556c}
[data-theme=dark] .login-page{background:radial-gradient(ellipse at top right,#1d3e36,#0d1520 70%)}[data-theme=dark] .login-card .brand-subtitle{color:#d6c3ff}
[data-theme=dark] .sidebar{background:#101c2a;border-left:1px solid var(--line)}[data-theme=dark] .sidebar nav button,[data-theme=dark] .sidebar-bottom>button{color:#cbd8e8}[data-theme=dark] .sidebar nav button:hover,[data-theme=dark] .sidebar-bottom>button:hover{background:#223247}[data-theme=dark] .sidebar nav button.active{background:#27344a;color:#fff}[data-theme=dark] .sidebar nav button.active svg{color:#79e0b5}[data-theme=dark] .sidebar nav button.active:before{background:#79e0b5}[data-theme=dark] .sidebar-label{color:#a9bed3}
[data-theme=dark] .dg-theme-toggle{background:#223247;color:var(--text);border-color:#4b5f79}[data-theme=dark] .creator-locked{background:#0d1520;color:var(--text)}
.brand-wordmark,.login-wordmark{background:#fff;border-radius:12px;padding:8px}.workspace-icon img{object-fit:contain}.receipt-grid{display:flex;flex-wrap:wrap;gap:16px}.receipt-grid figure{margin:0;max-width:200px;overflow-wrap:anywhere}.receipt-grid img{background:white;border-radius:8px;border:1px solid var(--line)}.panel .check{display:flex;align-items:center;gap:8px;padding:8px}.panel .check input{width:auto}
img[src*="dgtraz-logo"]{border-radius:20px;transition:filter .18s ease}[data-theme=dark] img[src*="dgtraz-logo"]{filter:invert(1) hue-rotate(180deg)}[data-theme=dark] .workspace-icon,[data-theme=dark] .brand{background:#162232;box-shadow:none;border-color:#34455a}
@media print{.dg-theme-toggle{display:none}:root[data-theme=dark]{color:#000;background:#fff}}
@media(max-width:600px){.dg-theme-toggle{left:10px;bottom:10px;padding:8px 12px}}
[data-theme=dark] .icon-button,[data-theme=dark] .breadcrumb,[data-theme=dark] .top-user small,[data-theme=dark] .today,[data-theme=dark] .next-actor,[data-theme=dark] .refund-table td>small,[data-theme=dark] .report-note,[data-theme=dark] .timeline small,[data-theme=dark] .notice small,[data-theme=dark] .transfer-stat span,[data-theme=dark] .transfer-pagination span,[data-theme=dark] .login-card>p,[data-theme=dark] .login-help,[data-theme=dark] .login-footer{color:var(--secondary)}
[data-theme=dark] .icon-button:hover:not(:disabled){background:var(--surface-raised)}[data-theme=dark] .notification-button,[data-theme=dark] .pagination .icon-button{border-color:var(--line)}[data-theme=dark] .breadcrumb strong{color:var(--accent)}[data-theme=dark] .avatar{background:var(--accent-soft);color:var(--accent);border-color:#36705c}
[data-theme=dark] .search-field{background:var(--surface-soft);border-color:#50627a;color:var(--secondary)}[data-theme=dark] .search-field input{background:transparent}
[data-theme=dark] .status-NEW,[data-theme=dark] .status-CANCELLED{background:#293749;color:#cfdbeb}[data-theme=dark] .status-WAITING_FOR_CARD,[data-theme=dark] .status-NEEDS_CORRECTION{background:#44361f;color:#ffdaa0}[data-theme=dark] .status-SENT_TO_FINANCE,[data-theme=dark] .status-READY_FOR_FINANCE{background:#203850;color:#a7d9ff}[data-theme=dark] .status-PAYMENT_IN_PROGRESS{background:#193b45;color:#a0e5ef}[data-theme=dark] .status-PAID{background:#173a32;color:#79e0b5}[data-theme=dark] .status-PAYMENT_FAILED{background:#472637;color:#ffb8c5}
[data-theme=dark] .notice{background:var(--surface);border-color:var(--line)}[data-theme=dark] .notice.unread{background:#173a32}[data-theme=dark] .notice-icon,[data-theme=dark] .notice.unread .notice-icon{background:#223e50;color:#a7d9ff}
[data-theme=dark] .access-profile{background:var(--surface-soft);border-color:var(--line)}[data-theme=dark] .access-profile strong{color:var(--accent)}[data-theme=dark] .access-profile p{color:var(--secondary)}[data-theme=dark] .access-chip,[data-theme=dark] .nav-count{background:#392d54;color:#d6c3ff}[data-theme=dark] .button.selected{background:#392d54;color:#d6c3ff;border-color:#9573c2}
[data-theme=dark] .timeline li:not(:last-child):before{background:var(--line)}[data-theme=dark] .timeline-marker{background:#8da5c0;border-color:#223247}[data-theme=dark] .timeline-marker.green{background:#79e0b5;border-color:#173a32}
[data-theme=dark] .empty,[data-theme=dark] .empty p,[data-theme=dark] .loading{color:var(--secondary)}[data-theme=dark] .empty h3{color:var(--text)}[data-theme=dark] .empty svg{color:#a7d9ff}
[data-theme=dark] .search{background:var(--surface-soft);color:var(--secondary);border-color:#50627a}[data-theme=dark] .search button{color:var(--secondary)}[data-theme=dark] .search input{background:transparent}[data-theme=dark] .search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #79e0b51a}
