.toastify-container{position:fixed;top:1.25rem;right:1.25rem;z-index:999999;display:flex;flex-direction:column;gap:.75rem;max-width:420px;width:calc(100vw - 2.5rem);pointer-events:none}.toastify-item{position:relative;display:flex;align-items:flex-start;gap:.85rem;padding:.95rem 1.15rem 1.15rem;background:#fff;border-radius:12px;box-shadow:0 10px 25px -5px #0f172a1f,0 8px 10px -6px #0f172a14,0 0 0 1px #e2e8f0e6;pointer-events:auto;overflow:hidden;animation:toastSlideIn .28s cubic-bezier(.16,1,.3,1) forwards;transition:transform .2s ease,opacity .2s ease;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}@keyframes toastSlideIn{0%{opacity:0;transform:translate(100%) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}.toastify-icon-wrap{flex-shrink:0;margin-top:.1rem}.toastify-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800}.toastify-icon-error{background:#fee2e2;color:#dc2626;border:1px solid #fca5a5}.toastify-icon-success{background:#dcfce7;color:#16a34a;border:1px solid #86efac}.toastify-icon-warning{font-size:.95rem}.toastify-icon-info{background:#e0f2fe;color:#0284c7;border:1px solid #7dd3fc}.toastify-content{flex:1;min-width:0}.toastify-title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.2rem}.toastify-error .toastify-title{color:#dc2626}.toastify-success .toastify-title{color:#16a34a}.toastify-warning .toastify-title{color:#d97706}.toastify-info .toastify-title{color:#0284c7}.toastify-message{font-size:.88rem;font-weight:500;line-height:1.45;color:#1e293b;word-break:break-word}.toastify-close-btn{background:transparent;border:none;color:#94a3b8;font-size:.85rem;font-weight:700;cursor:pointer;padding:.2rem;line-height:1;border-radius:4px;transition:all .15s ease;flex-shrink:0}.toastify-close-btn:hover{color:#0f172a;background:#f1f5f9}.toastify-progress{position:absolute;bottom:0;left:0;height:3px;width:100%;animation:toastProgress linear forwards}.toastify-error .toastify-progress{background:#ef4444}.toastify-success .toastify-progress{background:#10b981}.toastify-warning .toastify-progress{background:#f59e0b}.toastify-info .toastify-progress{background:#0ea5e9}@keyframes toastProgress{0%{width:100%}to{width:0%}}.share-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#0f172aa6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:.75rem;overflow:hidden;animation:shareFadeIn .2s ease-out}.share-modal-container{width:100%;max-width:480px;background:#fff;border-radius:16px;box-shadow:0 24px 48px -12px #0f172a47,0 0 0 1px #e2e8f0e6;padding:1.15rem 1.25rem;margin:auto;animation:shareScaleIn .25s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;gap:.65rem;max-height:94vh;max-height:calc(100dvh - 1.5rem);overflow:hidden;box-sizing:border-box}@keyframes shareFadeIn{0%{opacity:0}to{opacity:1}}@keyframes shareScaleIn{0%{opacity:0;transform:scale(.94) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.share-modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f5f9;padding-bottom:.5rem}.share-modal-title-group{display:flex;align-items:center;gap:.65rem}.share-title-icon{font-size:1.35rem;line-height:1}.share-modal-title{font-size:1.12rem;font-weight:800;color:#0f172a;margin:0;letter-spacing:-.01em}.share-modal-badge{display:inline-block;font-size:.74rem;font-weight:700;color:#4f46e5;background:#eef2ff;border:1px solid #c7d2fe;padding:.12rem .5rem;border-radius:9999px;margin-top:.15rem}.share-modal-close-btn{background:#f1f5f9;border:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#64748b;cursor:pointer;transition:all .15s ease}.share-modal-close-btn:hover{background:#e2e8f0;color:#0f172a;transform:rotate(90deg)}.share-highlight-card{background:linear-gradient(135deg,#0f172a,#1e293b);border-radius:12px;padding:.85rem 1.05rem;color:#fff;box-shadow:0 8px 20px -6px #0f172a66;box-sizing:border-box;overflow:hidden}.share-highlight-top{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.55rem;width:100%;min-width:0}.share-highlight-bill-to{flex:1 1 auto;min-width:0;overflow:hidden}.share-highlight-label{display:block;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:.15rem}.share-highlight-customer{font-size:.98rem;font-weight:700;color:#f8fafc;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.share-highlight-amount-box{flex:0 0 auto;text-align:right;max-width:60%;min-width:0;overflow:hidden}.share-highlight-amount{font-size:1.22rem;font-weight:800;color:#34d399;letter-spacing:-.01em;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.share-highlight-meta{display:flex;align-items:center;gap:.7rem;border-top:1px solid rgba(255,255,255,.12);padding-top:.45rem;font-size:.75rem;color:#cbd5e1;flex-wrap:wrap}.share-meta-item{display:flex;align-items:center;gap:.3rem}.share-status-pill{margin-left:auto;font-size:.72rem;font-weight:700;padding:.15rem .55rem;border-radius:9999px;text-transform:uppercase}.pill-sent{background:#10b981;color:#fff}.pill-ready{background:#3b82f6;color:#fff}.share-mode-tabs{display:flex;background:#f1f5f9;padding:.2rem;border-radius:8px;gap:.2rem}.share-tab-btn{flex:1;border:none;background:transparent;padding:.45rem .65rem;border-radius:6px;font-size:.8rem;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;gap:.35rem}.share-tab-btn.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0000001a}.share-channels-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.55rem}.share-btn{display:flex;align-items:center;gap:.65rem;padding:.6rem .85rem;border-radius:10px;border:none;color:#fff;cursor:pointer;text-decoration:none;text-align:left;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 3px 8px #00000014}.share-btn:hover{transform:translateY(-1px);box-shadow:0 6px 12px #00000024}.share-btn:active{transform:translateY(0)}.share-btn:disabled{opacity:.7;cursor:wait;transform:none}.share-btn-icon{font-size:1.4rem;line-height:1;flex-shrink:0}.share-btn-text{display:flex;flex-direction:column}.share-btn-text strong{font-size:.88rem;font-weight:700;line-height:1.2}.share-btn-text span{font-size:.72rem;opacity:.88;line-height:1.2}.share-btn-whatsapp{background:linear-gradient(135deg,#25d366,#128c7e)}.share-btn-telegram{background:linear-gradient(135deg,#08c,#0077b5)}.share-btn-email{background:linear-gradient(135deg,#ea4335,#d93025)}.share-btn-system{background:linear-gradient(135deg,#4f46e5,#3730a3)}.share-qr-container{display:flex;justify-content:center;padding:.5rem 0}.share-qr-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.25rem;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;max-width:280px}.share-qr-image{width:170px;height:170px;border-radius:8px;background:#fff;padding:8px;box-shadow:0 4px 10px #0000000f;margin-bottom:.75rem}.share-qr-caption{font-size:.78rem;color:#64748b;margin:0;line-height:1.4}.share-link-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.65rem .85rem}.share-link-label{display:flex;align-items:center;justify-content:space-between;font-size:.74rem;font-weight:700;color:#475569;margin-bottom:.35rem}.share-link-lan-badge{font-size:.68rem;font-weight:600;color:#059669;background:#d1fae5;padding:.1rem .4rem;border-radius:9999px}.share-link-input-group{display:flex;gap:.4rem}.share-link-input-field{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.78rem;padding:.45rem .65rem;background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#1e293b;outline:none}.share-link-input-field:focus{border-color:#6366f1}.btn-share-copy{padding:.45rem .85rem;background:#0f172a;color:#fff;border:none;border-radius:8px;font-size:.78rem;font-weight:700;cursor:pointer;white-space:nowrap;transition:all .15s ease}.btn-share-copy:hover{background:#1e293b}.btn-share-copy.copied{background:#059669}.share-link-hint{font-size:.7rem;color:#94a3b8;margin:.25rem 0 0;line-height:1.3}.share-modal-footer{display:flex;justify-content:flex-end;border-top:1px solid #f1f5f9;padding-top:.5rem}.btn-share-done{padding:.45rem 1.25rem;background:#f1f5f9;color:#334155;border:1px solid #cbd5e1;border-radius:8px;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .15s ease}.btn-share-done:hover{background:#e2e8f0;color:#0f172a}@media (max-width: 480px){.share-channels-grid{grid-template-columns:1fr}}html[data-theme=dark] .share-modal-container,body.dark-mode .share-modal-container{background:#111827!important;border:1px solid #1e293b!important;box-shadow:0 24px 48px -12px #000000b3,0 0 0 1px #ffffff0f!important;color:#f8fafc!important}html[data-theme=dark] .share-modal-header,body.dark-mode .share-modal-header{border-bottom-color:#1e293b!important}html[data-theme=dark] .share-modal-title,body.dark-mode .share-modal-title{color:#f8fafc!important}html[data-theme=dark] .share-modal-close-btn,body.dark-mode .share-modal-close-btn{background:#1e293b!important;color:#94a3b8!important}html[data-theme=dark] .share-modal-close-btn:hover,body.dark-mode .share-modal-close-btn:hover{background:#334155!important;color:#f8fafc!important}html[data-theme=dark] .share-mode-tabs,body.dark-mode .share-mode-tabs{background:#0f172a!important;border:1px solid #1e293b!important}html[data-theme=dark] .share-tab-btn,body.dark-mode .share-tab-btn{color:#94a3b8!important}html[data-theme=dark] .share-tab-btn.active,body.dark-mode .share-tab-btn.active{background:#1e293b!important;color:#f8fafc!important;box-shadow:0 1px 3px #0006!important}html[data-theme=dark] .share-qr-card,body.dark-mode .share-qr-card{background:#0f172a!important;border-color:#334155!important}html[data-theme=dark] .share-qr-caption,body.dark-mode .share-qr-caption{color:#94a3b8!important}html[data-theme=dark] .share-link-section,body.dark-mode .share-link-section{background:#0f172a!important;border-color:#1e293b!important}html[data-theme=dark] .share-link-label,body.dark-mode .share-link-label{color:#cbd5e1!important}html[data-theme=dark] .share-link-input-field,body.dark-mode .share-link-input-field{background:#1e293b!important;border-color:#334155!important;color:#f8fafc!important}html[data-theme=dark] .share-link-input-field:focus,body.dark-mode .share-link-input-field:focus{border-color:#818cf8!important}html[data-theme=dark] .btn-share-copy,body.dark-mode .btn-share-copy{background:#1e293b!important;border:1px solid #334155!important;color:#f8fafc!important}html[data-theme=dark] .btn-share-copy:hover,body.dark-mode .btn-share-copy:hover{background:#334155!important;border-color:#475569!important}html[data-theme=dark] .btn-share-copy.copied,body.dark-mode .btn-share-copy.copied{background:#059669!important;border-color:#059669!important;color:#fff!important}html[data-theme=dark] .share-link-hint,body.dark-mode .share-link-hint{color:#94a3b8!important}html[data-theme=dark] .share-modal-footer,body.dark-mode .share-modal-footer{border-top-color:#1e293b!important}html[data-theme=dark] .btn-share-done,body.dark-mode .btn-share-done{background:#1e293b!important;border-color:#334155!important;color:#f8fafc!important}html[data-theme=dark] .btn-share-done:hover,body.dark-mode .btn-share-done:hover{background:#334155!important;border-color:#475569!important;color:#fff!important}.admin-container{max-width:1540px;width:100%;margin:0 auto;padding:24px 24px 60px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#1e293b;box-sizing:border-box}.admin-notice-banner{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-radius:8px;font-size:14px;font-weight:500;margin-bottom:20px;box-shadow:0 2px 4px #0000000d;animation:slideDown .25s ease-out}.notice-success{background-color:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.notice-error{background-color:#fef2f2;color:#991b1b;border:1px solid #fecaca}.notice-close-btn{background:transparent;border:none;font-size:16px;cursor:pointer;color:inherit;opacity:.6;padding:0 4px}.notice-close-btn:hover{opacity:1}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.admin-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.admin-title{font-size:26px;font-weight:800;color:#0f172a;margin:0 0 4px;letter-spacing:-.02em}.admin-header-title-box{display:flex;flex-direction:column}.admin-console-pill{display:inline-flex;align-items:center;gap:7px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;padding:4px 11px;border-radius:9999px;font-size:11.5px;font-weight:700;margin-bottom:8px;width:fit-content;letter-spacing:.02em}.admin-subtitle{font-size:14px;color:#64748b;margin:0}.admin-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn-header-refresh,.btn-header-pwd,.btn-header-theme,.btn-header-export{display:inline-flex;align-items:center;gap:7px;background:#fff;color:#334155;border:1px solid #cbd5e1;font-weight:600;font-size:13.5px;padding:9px 16px;border-radius:9px;cursor:pointer;transition:all .16s ease;box-shadow:0 1px 2px #0000000a}.btn-header-refresh:hover:not(:disabled),.btn-header-pwd:hover,.btn-header-theme:hover,.btn-header-export:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a;transform:translateY(-1px);box-shadow:0 3px 8px #0000000f}.btn-header-refresh:disabled{opacity:.65;cursor:not-allowed}.refresh-icon.spinning{animation:adminSpin .8s linear infinite}@keyframes adminSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-create-invoice{display:inline-flex;align-items:center;gap:7px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;font-weight:700;font-size:13.5px;padding:9px 18px;border-radius:9px;cursor:pointer;box-shadow:0 2px 6px #10b98140,0 1px 2px #10b98126;transition:all .16s ease}.btn-create-invoice:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 5px 14px #10b98159;transform:translateY(-1px)}.btn-secondary{background:#fff;color:#334155;border:1px solid #cbd5e1;font-weight:600;font-size:14px;padding:9px 16px;border-radius:8px;cursor:pointer;transition:all .15s ease}.btn-secondary:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.admin-session-badge{display:flex;align-items:center;gap:8px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;padding:6px 12px;border-radius:9999px;font-size:13px;font-weight:600}.admin-pulse-dot{width:8px;height:8px;background:#22c55e;border-radius:50%;box-shadow:0 0 #22c55eb3;animation:adminPulse 1.8s infinite}@keyframes adminPulse{0%{transform:scale(.95);box-shadow:0 0 #22c55eb3}70%{transform:scale(1);box-shadow:0 0 0 6px #22c55e00}to{transform:scale(.95);box-shadow:0 0 #22c55e00}}.btn-admin-logout{display:flex;align-items:center;gap:6px;background:#fff;color:#dc2626;border:1px solid #fecaca;font-weight:600;font-size:13px;padding:8px 14px;border-radius:8px;cursor:pointer;transition:all .15s ease}.btn-admin-logout:hover{background:#fef2f2;border-color:#f87171;color:#b91c1c;box-shadow:0 2px 6px #dc26261f}.admin-metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:24px;width:100%}.metric-card{position:relative;overflow:hidden;border-radius:14px;border:1px solid #e2e8f0;background:#fff;padding:16px 18px 14px;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:126px;box-shadow:0 1px 3px #0f172a0a,0 4px 12px -2px #0f172a08;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px -4px #0f172a14;border-color:#cbd5e1}.metric-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3.5px;background:#cbd5e1}.metric-card-blue:before{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.metric-card-emerald:before{background:linear-gradient(90deg,#059669,#34d399)}.metric-card-indigo:before{background:linear-gradient(90deg,#6366f1,#818cf8)}.metric-card-amber:before{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.metric-card-purple:before{background:linear-gradient(90deg,#a855f7,#c084fc)}.metric-header-row{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0}.metric-label{font-size:.72rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.metric-icon-box{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.bg-blue-100{background-color:#dbeafe}.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}.bg-emerald-100{background-color:#d1fae5}.text-emerald-600{color:#059669}.text-emerald-700{color:#047857}.bg-indigo-100{background-color:#e0e7ff}.text-indigo-600{color:#4f46e5}.bg-amber-100{background-color:#fef3c7}.text-amber-600{color:#d97706}.text-amber-700{color:#b45309}.bg-purple-100{background-color:#f3e8ff}.text-purple-600{color:#9333ea}.text-purple-700{color:#7e22ce}.metric-value-container{width:100%;min-width:0;display:flex;align-items:baseline;overflow-x:auto;overflow-y:hidden;white-space:nowrap;margin:6px 0;padding-bottom:2px}.metric-value-container::-webkit-scrollbar{height:3px}.metric-value-container::-webkit-scrollbar-track{background:transparent}.metric-value-container::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:3px}.metric-value-container::-webkit-scrollbar-thumb:hover{background:#64748bb3}.metric-value-container::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}.metric-value{font-size:1.38rem;font-weight:800;color:#0f172a;letter-spacing:-.025em;line-height:1.2;white-space:nowrap;display:inline-block;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.metric-value-long{font-size:1.15rem!important}.metric-value-xl{font-size:.96rem!important}.metric-value-xxl{font-size:.84rem!important}.metric-value-muted{font-size:.82rem;font-weight:600;color:#94a3b8}.metric-subtext-row{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-width:0;margin-top:auto}.metric-subtext{font-size:.735rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.metric-compact-tag{font-size:.68rem;font-weight:700;padding:1px 6px;border-radius:6px;border:1px solid;white-space:nowrap;flex-shrink:0;line-height:1.4}.bg-emerald-50{background-color:#ecfdf5}.border-emerald-200{border-color:#a7f3d0}.bg-amber-50{background-color:#fffbeb}.border-amber-200{border-color:#fde68a}.bg-blue-50{background-color:#eff6ff}.border-blue-200{border-color:#bfdbfe}.bg-purple-50{background-color:#faf5ff}.border-purple-200{border-color:#e9d5ff}.admin-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px 18px;margin-bottom:20px}.admin-search-wrapper{position:relative;flex:1;min-width:260px;max-width:500px}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;color:#94a3b8;pointer-events:none}.admin-search-input{width:100%;padding:9px 36px;font-size:14px;border:1px solid #cbd5e1;border-radius:6px;outline:none;transition:border-color .15s ease,box-shadow .15s ease;background:#f8fafc}.admin-search-input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.search-clear-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:12px;padding:4px}.search-clear-btn:hover{color:#475569}.admin-filter-group{display:flex;align-items:center;gap:8px}.status-pill-group{display:inline-flex;align-items:center;gap:4px;background:#f1f5f9;padding:4px;border-radius:10px;border:1px solid #e2e8f0}.status-filter-pill{background:transparent;border:none;color:#64748b;font-size:13px;font-weight:600;padding:6px 12px;border-radius:7px;cursor:pointer;transition:all .16s ease;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.status-filter-pill:hover{color:#0f172a;background:#ffffffb3}.status-filter-pill.active{background:#fff;color:#0f172a;font-weight:700;box-shadow:0 1px 4px #00000014,0 1px 2px #0000000a}.pill-count-chip{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 6px;font-size:11px;font-weight:700;border-radius:9999px;background:#64748b1f;color:#64748b;line-height:1;transition:all .16s ease}.status-filter-pill.active .pill-count-chip{background:#0f172a;color:#fff}.status-pill-icon{font-size:13px}.filter-label{font-size:13px;font-weight:600;color:#475569}.admin-filter-select{padding:8px 12px;font-size:13px;font-weight:500;border:1px solid #cbd5e1;border-radius:6px;background-color:#fff;color:#334155;outline:none;cursor:pointer}.admin-filter-select:focus{border-color:#3b82f6}.admin-toolbar-right-actions{display:flex;align-items:center;gap:10px}.btn-toolbar-export-csv{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#059669;border:1.5px solid #a7f3d0;font-weight:600;font-size:13px;padding:8px 14px;border-radius:8px;cursor:pointer;transition:all .16s ease;box-shadow:0 1px 2px #10b98114;white-space:nowrap}.btn-toolbar-export-csv:hover{background:#ecfdf5;border-color:#34d399;color:#047857;transform:translateY(-1px);box-shadow:0 3px 8px #10b98126}.admin-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.table-responsive{width:100%;max-height:calc(100vh - 240px);min-height:400px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f1f5f9}.table-responsive::-webkit-scrollbar{height:8px;width:8px}.table-responsive::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.table-responsive::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.table-responsive::-webkit-scrollbar-thumb:hover{background:#94a3b8}.admin-invoices-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;font-size:13px;text-align:left;table-layout:fixed;background-color:#fff}.admin-invoices-table thead{position:sticky;top:0;z-index:10;background-color:#0f172a}.admin-invoices-table thead tr{background-color:#0f172a}.admin-invoices-table th{position:sticky;top:0;z-index:10;background-color:#0f172a;color:#f8fafc;padding:13px 12px;font-weight:700;letter-spacing:.04em;white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:11.5px;text-transform:uppercase;border-bottom:1px solid #1e293b;box-shadow:0 1px 2px #0000001f;box-sizing:border-box}.admin-invoices-table thead tr:first-child th:first-child{border-top-left-radius:11px}.admin-invoices-table thead tr:first-child th:last-child{border-top-right-radius:11px}.admin-invoices-table th.cursor-pointer{cursor:pointer;transition:background-color .15s ease,color .15s ease}.admin-invoices-table th.cursor-pointer:hover{background-color:#1e293b;color:#fff}.th-content-wrapper{display:inline-flex;align-items:center;gap:6px}.th-content-right{justify-content:flex-end;width:100%}.th-sort-icon{display:inline-flex;align-items:center;justify-content:center;font-size:10.5px;opacity:.35;transition:opacity .15s ease,transform .15s ease,color .15s ease}.th-sort-icon.active{opacity:1;color:#38bdf8;font-weight:800;text-shadow:0 0 6px rgba(56,189,248,.4)}.th-sorted{background-color:#1e293b!important}.th-inv-num{width:100px}.th-date{width:105px}.th-customer{width:180px}.th-amount{width:125px}.th-balance{width:120px}.th-status{width:95px;text-align:center}.th-actions{width:355px;text-align:center}.admin-invoices-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background-color .14s ease,box-shadow .14s ease;background-color:#fff}.admin-invoices-table tbody tr:hover{background-color:#f8fafc;box-shadow:inset 3px 0 #3b82f6}.admin-invoices-table td{padding:10px;vertical-align:middle;box-sizing:border-box;border-bottom:1px solid #f1f5f9}.td-inv-number{max-width:0;overflow:hidden;white-space:nowrap}.inv-badge{display:inline-block;font-weight:700;color:#0f172a;background:#f1f5f9;padding:3px 8px;border-radius:4px;border:1px solid #e2e8f0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.inv-po-tag{display:block;font-size:11px;color:#64748b;margin-top:2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.td-date{white-space:nowrap;overflow:hidden}.date-main{color:#1e293b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.date-due{font-size:11px;color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-customer{max-width:0;overflow:hidden}.cust-name{font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.cust-email{font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.td-amount{max-width:0;overflow:hidden;white-space:nowrap}.amount-value{display:block;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-variant-numeric:tabular-nums;line-height:1.3}.amount-value-sm{font-size:11.5px!important}.currency-tag{font-size:10px;font-weight:600;color:#94a3b8;letter-spacing:.05em;margin-top:1px}.td-balance{max-width:0;overflow:hidden;white-space:nowrap}.balance-due-pill{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-variant-numeric:tabular-nums}.balance-value-sm{font-size:11.5px!important}.balance-paid-pill{display:inline-block;padding:2px 8px;font-size:11px;font-weight:700;color:#059669;background:#ecfdf5;border-radius:12px}.td-status{text-align:center;white-space:nowrap}.status-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 10px;border-radius:9999px;font-size:11.5px;font-weight:700;white-space:nowrap;letter-spacing:.02em;box-shadow:0 1px 2px #00000008}.badge-sent{background-color:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.badge-ready{background-color:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.td-actions{text-align:center;white-space:nowrap}.action-buttons-group{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:nowrap;width:100%}.btn-action{border:1px solid #cbd5e1;background:#fff;padding:4.5px 7.5px;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .15s cubic-bezier(.4,0,.2,1);display:inline-flex;align-items:center;gap:3.5px;line-height:1.3;box-shadow:0 1px 2px #0000000a}.btn-action:hover{transform:translateY(-1px);box-shadow:0 3px 6px -1px #00000014,0 2px 4px -2px #0000000d}.btn-action:active{transform:translateY(0)}.btn-view{color:#0f172a;background:#fff;border-color:#cbd5e1}.btn-view:hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.btn-download{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.btn-download:hover{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.btn-share{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.btn-share:hover{background:#d1fae5;border-color:#6ee7b7;color:#047857}.btn-email{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.btn-email:hover{background:#ede9fe;border-color:#c4b5fd;color:#6d28d9}.btn-edit{color:#b45309;background:#fffbeb;border-color:#fde68a}.btn-edit:hover{background:#fef3c7;border-color:#fcd34d;color:#92400e}.btn-delete{color:#dc2626;border-color:#fecaca;background:#fff;padding:5px 8px}.btn-delete:hover{background:#fef2f2;border-color:#ef4444;color:#b91c1c}.admin-table-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 18px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:12.5px;color:#64748b}.table-footer-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.footer-count-badge{font-weight:500;color:#475569}.footer-count-badge strong{color:#0f172a;font-weight:700}.footer-filter-tag{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:2px 8px;font-size:11.5px;color:#334155;box-shadow:0 1px 2px #00000008}.table-footer-right{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.footer-stat-group{display:inline-flex;align-items:center;gap:6px}.footer-stat-label{font-size:12px;font-weight:500;color:#64748b}.footer-stat-value{font-size:13px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}.footer-stat-due{color:#d97706}.admin-table-loading,.admin-empty-state,.admin-table-error{padding:60px 20px;text-align:center;color:#64748b}.spinner{width:36px;height:36px;border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 16px}@keyframes spin{to{transform:rotate(360deg)}}.empty-icon{font-size:40px;margin-bottom:12px}.admin-empty-state h3{font-size:18px;color:#0f172a;margin:0 0 6px}.admin-empty-state p{font-size:14px;color:#64748b;max-width:400px;margin:0 auto 16px}.modal-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;height:100dvh;background-color:#0f172a8c;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;padding:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-card{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0003,0 8px 10px -6px #0000001a;width:100%;overflow:hidden;max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);margin:auto 0;display:flex;flex-direction:column;overflow-wrap:anywhere;word-break:break-word;box-sizing:border-box}.modal-view-detail{max-width:820px}.modal-share-card{max-width:480px}.modal-delete-card{max-width:440px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e2e8f0;background-color:#f8fafc}.modal-title{font-size:18px;font-weight:700;color:#0f172a;margin:0;overflow-wrap:anywhere;word-break:break-word}.modal-subtitle{font-size:12px;color:#64748b;display:block;margin-top:2px;overflow-wrap:anywhere;word-break:break-word}.modal-close-btn{background:transparent;border:none;font-size:18px;color:#64748b;cursor:pointer;padding:4px}.modal-close-btn:hover{color:#0f172a}.modal-body-scroll{padding:24px;overflow-y:auto;flex:1}.modal-footer{padding:14px 24px;border-top:1px solid #e2e8f0;background-color:#f8fafc;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.modal-footer-left,.modal-footer-right{display:flex;align-items:center;gap:8px}.modal-view-detail-redesign{max-width:920px;width:95%;background:#fff;border-radius:18px;border:1px solid #e2e8f0;box-shadow:0 25px 50px -12px #0f172a40,0 0 0 1px #0000000d;animation:modalViewPopIn .25s cubic-bezier(.16,1,.3,1);overflow:hidden;position:relative;display:flex;flex-direction:column;max-height:90vh;max-height:calc(100dvh - 2rem);margin:auto 0}@keyframes modalViewPopIn{0%{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-top-accent-line{height:4px;width:100%;background:linear-gradient(90deg,#4f46e5,#06b6d4,#10b981);flex-shrink:0}.view-modal-header{padding:18px 26px;background:#fff;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.view-modal-header-left{display:flex;align-items:center;gap:14px}.view-modal-badge-icon{width:46px;height:46px;border-radius:12px;background:#eef2ff;border:1px solid #c7d2fe;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.view-modal-logo-container{width:50px;height:50px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;padding:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.view-modal-logo-img{max-width:100%;max-height:100%;object-fit:contain}.view-modal-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.view-modal-num-badge{font-size:13px;font-weight:700;color:#4f46e5;background:#eef2ff;border:1px solid #c7d2fe;padding:3px 9px;border-radius:6px;font-family:monospace}.view-modal-meta-row{display:flex;align-items:center;gap:12px;margin-top:4px;flex-wrap:wrap}.view-meta-chip{font-size:12px;color:#64748b}.view-meta-chip strong{color:#334155}.view-modal-close{width:34px;height:34px;border-radius:50%;border:1px solid #e2e8f0;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:14px;color:#64748b;cursor:pointer;transition:all .15s ease;flex-shrink:0}.view-modal-close:hover{background:#f1f5f9;color:#0f172a;transform:scale(1.05)}.view-modal-body{padding:22px 26px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#f8fafc;flex:1}.view-dispatch-alert{display:flex;align-items:center;gap:10px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:10px;padding:10px 14px;font-size:13px;margin-bottom:18px}.view-highlights-grid{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:16px;margin-bottom:20px}.view-highlight-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;box-shadow:0 1px 3px #00000008;display:flex;flex-direction:column;min-width:0;overflow:hidden}.view-card-header{display:flex;align-items:center;gap:7px;margin-bottom:10px}.view-card-icon{font-size:14px}.view-card-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.view-client-name{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 4px;word-break:break-word;overflow-wrap:anywhere}.view-client-email{margin-bottom:8px;word-break:break-all;overflow-wrap:anywhere}.view-email-link{font-size:12.5px;color:#2563eb;text-decoration:none;font-weight:500;word-break:break-all;overflow-wrap:anywhere}.view-email-link:hover{text-decoration:underline}.view-address-box{margin-top:6px;background:#f8fafc;padding:7px 10px;border-radius:8px;border:1px solid #f1f5f9}.address-label{display:block;font-size:10.5px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;margin-bottom:2px}.address-text{font-size:12px;color:#475569;line-height:1.4;margin:0;white-space:pre-line;word-break:break-word;overflow-wrap:anywhere}.view-sender-content{margin-bottom:12px}.view-sender-text{font-size:13px;color:#334155;line-height:1.45;margin:0;word-break:break-word;overflow-wrap:anywhere}.view-terms-mini-list{margin-top:auto;border-top:1px solid #f1f5f9;padding-top:10px;display:flex;flex-direction:column;gap:5px}.view-mini-item{display:flex;justify-content:space-between;font-size:12px}.mini-label{color:#64748b}.mini-value{font-weight:600;color:#0f172a}.view-card-financial{background:linear-gradient(135deg,#f0fdf4,#e0f2fe);border-color:#bbf7d0;position:relative;overflow:hidden}.view-card-financial:after{content:"";position:absolute;top:-20px;right:-20px;width:90px;height:90px;background:radial-gradient(circle,rgba(16,185,129,.15) 0%,transparent 70%);pointer-events:none}.financial-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#047857;display:block}.financial-amount{font-size:24px;font-weight:800;color:#0f172a;margin:2px 0 10px;letter-spacing:-.02em;word-break:break-word;overflow-wrap:anywhere}.financial-amount-sm{font-size:18px!important}.view-financial-breakdown-compact{background:#ffffffbf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:8px;border:1px solid rgba(255,255,255,.8);padding:8px 12px;display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.financial-compact-row{display:flex;justify-content:space-between;font-size:12px;color:#475569}.financial-compact-row.balance-row{border-top:1px dashed #cbd5e1;padding-top:5px;font-weight:600}.view-financial-status-badge{margin-top:auto}.paid-full-badge{display:inline-flex;align-items:center;gap:5px;background:#dcfce7;color:#15803d;font-size:12px;font-weight:700;padding:4px 10px;border-radius:9999px;border:1px solid #86efac}.balance-pending-badge{display:inline-flex;align-items:center;gap:5px;background:#fef3c7;color:#b45309;font-size:12px;font-weight:700;padding:4px 10px;border-radius:9999px;border:1px solid #fde68a}.view-items-section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;margin-bottom:20px;box-shadow:0 1px 3px #00000008}.view-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title-group{display:flex;align-items:center;gap:7px}.section-icon{font-size:15px}.items-count-tag{font-size:11px;font-weight:700;color:#4f46e5;background:#eef2ff;border:1px solid #c7d2fe;padding:2px 8px;border-radius:9999px}.view-table-wrapper{overflow-x:auto;border-radius:10px;border:1px solid #e2e8f0}.view-items-table{width:100%;border-collapse:collapse;font-size:13px}.view-items-table th{background:#f8fafc;color:#475569;font-weight:700;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;padding:10px 14px;border-bottom:1px solid #e2e8f0}.view-items-table td{padding:11px 14px;border-bottom:1px solid #f1f5f9;color:#1e293b}.view-items-table tbody tr:last-child td{border-bottom:none}.view-items-table tbody tr:hover{background:#f8fafc}.view-items-table .th-num,.view-items-table .td-num{width:44px;text-align:center;color:#94a3b8}.view-items-table .th-desc,.view-items-table .td-desc{min-width:200px}.item-description-text{font-weight:500;line-height:1.4;white-space:pre-line;word-break:break-word;overflow-wrap:anywhere}.view-items-table .th-qty,.view-items-table .td-qty{width:70px}.view-items-table .th-rate,.view-items-table .td-rate{width:120px;font-variant-numeric:tabular-nums}.view-items-table .th-amount,.view-items-table .td-amount{width:130px;color:#0f172a;font-variant-numeric:tabular-nums}.view-items-empty{padding:14px;background:#f8fafc;border-radius:8px;color:#64748b;font-style:italic;font-size:13px}.view-bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.view-notes-col{display:flex;flex-direction:column}.view-note-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;box-shadow:0 1px 3px #00000008}.note-card-header{display:flex;align-items:center;gap:6px;margin-bottom:6px}.note-icon{font-size:14px}.note-title{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.note-body{font-size:12.5px;color:#334155;line-height:1.45;margin:0;white-space:pre-line}.view-note-empty{display:flex;align-items:center;gap:8px;background:#f8fafc}.view-receipt-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 20px;box-shadow:0 1px 3px #00000008}.receipt-header{display:flex;align-items:center;gap:7px;margin-bottom:12px;border-bottom:1px solid #f1f5f9;padding-bottom:8px}.receipt-icon{font-size:14px}.receipt-title{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.receipt-body{display:flex;flex-direction:column;gap:6px}.view-total-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#475569;padding:3px 0}.view-total-row .row-label{color:#475569!important;font-weight:500;font-size:13px}.view-total-row .row-val{color:#1e293b!important;font-weight:600;font-size:13.5px}.view-grand-total-highlight{display:flex!important;justify-content:space-between!important;align-items:center!important;background:linear-gradient(135deg,#f0f7ff,#e0f2fe)!important;border:1.5px solid #bfdbfe!important;border-radius:12px!important;padding:12px 16px!important;margin:10px 0!important;box-shadow:0 4px 12px -2px #2563eb1a,0 2px 4px -1px #2563eb0f!important;box-sizing:border-box!important;width:100%!important;transition:all .2s ease!important}.view-grand-total-highlight:hover{border-color:#93c5fd!important;box-shadow:0 6px 16px -2px #2563eb29!important;transform:translateY(-1px)}.view-grand-total-label{font-size:14.5px!important;font-weight:800!important;color:#0f172a!important;letter-spacing:-.01em;line-height:1.3}.view-grand-total-val{font-size:18px!important;font-weight:800!important;color:#1d4ed8!important;letter-spacing:-.02em;line-height:1.3}.paid-row{font-size:13px;padding-top:4px}.paid-row .row-val{color:#059669!important;font-weight:700!important}.balance-row{font-size:13.5px;padding-top:2px}.balance-row .row-label{font-weight:700!important;color:#1e293b!important}.view-modal-footer{padding:14px 24px;background:#fff;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex-shrink:0}.btn-modal-action{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border-radius:9px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease;border:1px solid}.btn-modal-action:hover{transform:translateY(-1px);box-shadow:0 3px 8px #00000014}.btn-modal-download{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.btn-modal-download:hover{background:#dbeafe}.btn-modal-share{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.btn-modal-share:hover{background:#d1fae5}.btn-modal-email{background:#f5f3ff;border-color:#ddd6fe;color:#7c3aed}.btn-modal-email:hover{background:#ede9fe}.btn-modal-edit{background:#f8fafc;border-color:#cbd5e1;color:#334155}.btn-modal-edit:hover{background:#f1f5f9;color:#0f172a}.btn-modal-close{padding:8px 16px;border-radius:9px}@media (max-width: 768px){.view-highlights-grid,.view-bottom-grid{grid-template-columns:1fr}.modal-view-detail-redesign{max-height:95vh}.view-modal-header{padding:14px 18px}.view-modal-body{padding:16px 18px}}.share-channel-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:all .15s ease}.share-channel-btn:hover{transform:translateY(-1px)}.share-whatsapp{background-color:#25d366;color:#fff}.share-whatsapp:hover{background-color:#20bd5a}.share-telegram{background-color:#08c;color:#fff}.share-telegram:hover{background-color:#0077b5}.share-email{background-color:#ea4335;color:#fff}.share-email:hover{background-color:#d93025}.share-system{background-color:#0f172a;color:#fff}.share-system:hover{background-color:#1e293b}.share-link-input{flex:1;padding:9px 12px;font-size:13px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#334155}.btn-copy-link{background:#0f172a;color:#fff;border:none;border-radius:6px;padding:9px 16px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color .15s ease}.btn-copy-link:hover{background:#1e293b}.btn-copy-link.copied{background:#059669}.btn-danger-confirm{background:#dc2626;color:#fff;border:none;padding:9px 16px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer}.btn-danger-confirm:hover{background:#b91c1c}.modal-password-card{max-width:500px;width:100%;max-height:90vh;max-height:calc(100dvh - 2rem);margin:auto 0;border-radius:20px;overflow:hidden;box-shadow:0 25px 60px -12px #0f172a59,0 0 0 1px #e2e8f0e6;background:#fff;animation:pwdModalPop .28s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column}@keyframes pwdModalPop{0%{opacity:0;transform:scale(.94) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-password-card form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.pwd-top-accent{height:4px;width:100%;background:linear-gradient(90deg,#4f46e5,#7c3aed,#ec4899);flex-shrink:0}.pwd-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1.25rem 1.75rem 1rem;background:linear-gradient(180deg,#f8fafc,#fff);border-bottom:1px solid #f1f5f9;position:relative;flex-shrink:0}.pwd-header-content{display:flex;align-items:center;gap:14px}.pwd-shield-badge{width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);border:1px solid #c7d2fe;color:#4f46e5;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #6366f126;flex-shrink:0}.pwd-header-text h3{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.pwd-header-text p{margin:2px 0 0;font-size:.815rem;color:#64748b;line-height:1.35}.pwd-close-btn{background:transparent;border:none;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#94a3b8;cursor:pointer;transition:all .15s ease;font-size:1.1rem}.pwd-close-btn:hover{background:#f1f5f9;color:#0f172a}.pwd-tabs-wrapper{padding:1rem 1.75rem .25rem;flex-shrink:0}.pwd-segmented-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;padding:4px;border-radius:12px;gap:4px;border:1px solid #e2e8f0}.pwd-tab-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border-radius:9px;font-size:.84rem;font-weight:600;color:#64748b;background:transparent;border:none;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.pwd-tab-btn:hover:not(.active){color:#334155}.pwd-tab-btn.active{background:#fff;color:#4f46e5;box-shadow:0 2px 8px #0f172a14,0 1px 2px #0f172a0a}.pwd-form-body{padding:1.15rem 1.75rem;display:flex;flex-direction:column;gap:1rem;overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain}.pwd-form-body::-webkit-scrollbar{width:6px}.pwd-form-body::-webkit-scrollbar-track{background:#f8fafc}.pwd-form-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.pwd-form-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.pwd-error-banner{display:flex;align-items:flex-start;gap:10px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:10px 14px;color:#991b1b;font-size:.835rem;font-weight:500;animation:pwdShake .3s ease-in-out}@keyframes pwdShake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.pwd-field-group{display:flex;flex-direction:column;gap:5px}.pwd-field-header{display:flex;align-items:center;justify-content:space-between}.pwd-field-header label{font-size:.825rem;font-weight:600;color:#334155;letter-spacing:.01em}.pwd-input-wrap{position:relative;display:flex;align-items:center}.pwd-input-icon-left{position:absolute;left:12px;color:#94a3b8;display:flex;align-items:center;justify-content:center;pointer-events:none}.pwd-input{width:100%;padding:9px 38px;border:1px solid #cbd5e1;border-radius:9px;font-size:.9rem;color:#0f172a;background:#f8fafc;transition:all .15s ease;box-sizing:border-box}.pwd-input:focus{outline:none;background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f124}.pwd-eye-toggle{position:absolute;right:10px;background:transparent;border:none;color:#94a3b8;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:color .15s ease}.pwd-eye-toggle:hover{color:#475569}.pwd-strength-wrap{display:flex;flex-direction:column;gap:4px;margin-top:3px}.pwd-strength-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;height:4px}.pwd-bar{height:100%;background:#e2e8f0;border-radius:2px;transition:background-color .25s ease}.pwd-strength-text{font-size:.75rem;font-weight:500;color:#64748b;display:flex;justify-content:space-between;align-items:center}.pwd-match-indicator{font-size:.765rem;font-weight:600;display:flex;align-items:center;gap:4px;margin-top:2px}.pwd-match-indicator.match{color:#059669}.pwd-match-indicator.mismatch{color:#dc2626}.pwd-email-row{display:flex;gap:8px}.pwd-email-row .pwd-input-wrap{flex:1}.pwd-send-code-btn{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border:1px solid #c7d2fe;color:#4f46e5;font-size:.8rem;font-weight:600;padding:0 14px;border-radius:9px;cursor:pointer;white-space:nowrap;transition:all .15s ease;display:flex;align-items:center;gap:6px}.pwd-send-code-btn:hover:not(:disabled){background:linear-gradient(135deg,#e0e7ff,#c7d2fe);transform:translateY(-1px)}.pwd-send-code-btn:disabled{opacity:.65;cursor:not-allowed;background:#f1f5f9;border-color:#cbd5e1;color:#94a3b8}.pwd-otp-input{font-family:JetBrains Mono,SF Mono,Monaco,Menlo,Consolas,monospace!important;letter-spacing:.35em!important;font-size:1.15rem!important;text-align:center!important;padding-left:12px!important;padding-right:12px!important;font-weight:700!important;color:#1e1b4b!important}.pwd-otp-input::placeholder{font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,Roboto,sans-serif!important;letter-spacing:normal!important;font-size:.88rem!important;font-weight:500!important;color:#94a3b8!important}.pwd-info-tip{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:9px;padding:8px 12px;font-size:.8rem;color:#166534;display:flex;align-items:flex-start;gap:8px;line-height:1.4}.pwd-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:1rem 1.75rem;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0;z-index:2}.btn-pwd-cancel{padding:9px 18px;background:#fff;border:1px solid #cbd5e1;border-radius:9px;font-size:.875rem;font-weight:600;color:#475569;cursor:pointer;transition:all .15s ease}.btn-pwd-cancel:hover{background:#f1f5f9;color:#1e293b}.btn-pwd-submit{padding:9px 20px;background:linear-gradient(135deg,#4f46e5,#6366f1);border:1px solid #4338ca;border-radius:9px;font-size:.875rem;font-weight:600;color:#fff;cursor:pointer;box-shadow:0 4px 12px #6366f140;transition:all .15s ease;display:flex;align-items:center;gap:8px}.btn-pwd-submit:hover:not(:disabled){background:linear-gradient(135deg,#4338ca,#4f46e5);box-shadow:0 6px 16px #6366f159;transform:translateY(-1px)}.btn-pwd-submit:active:not(:disabled){transform:translateY(0)}.btn-pwd-submit:disabled{opacity:.65;cursor:not-allowed}.btn-header-refresh{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #cbd5e1;color:#334155;font-weight:600;padding:8px 14px;border-radius:9px;font-size:.835rem;cursor:pointer;transition:all .18s ease;box-shadow:0 1px 2px #0f172a0d}.btn-header-refresh:hover:not(:disabled){background:#f8fafc;border-color:#3b82f6;color:#2563eb;box-shadow:0 2px 8px #2563eb1f;transform:translateY(-1px)}.btn-header-refresh:disabled{opacity:.7;cursor:not-allowed}.refresh-icon.spinning{animation:spin .8s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-header-pwd{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #cbd5e1;color:#334155;font-weight:600;padding:8px 14px;border-radius:9px;font-size:.835rem;cursor:pointer;transition:all .18s ease;box-shadow:0 1px 2px #0f172a0d}.btn-header-pwd:hover{background:#f8fafc;border-color:#6366f1;color:#4f46e5;box-shadow:0 2px 8px #6366f11f;transform:translateY(-1px)}.btn-header-team{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #cbd5e1;color:#334155;font-weight:600;padding:8px 14px;border-radius:9px;font-size:.835rem;cursor:pointer;transition:all .18s ease;box-shadow:0 1px 2px #0f172a0d}.btn-header-team:hover{background:#fdf4ff;border-color:#a855f7;color:#9333ea;box-shadow:0 2px 8px #a855f726;transform:translateY(-1px)}.admin-table-row:hover{background-color:#f8fafc!important}.action-buttons-group{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:nowrap}.btn-action{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s ease;white-space:nowrap;border:1px solid transparent}.btn-action:hover{transform:translateY(-1px)}.btn-view{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.btn-view:hover{background:#e2e8f0;color:#0f172a}.btn-download{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.btn-download:hover{background:#dbeafe}.btn-share{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}.btn-share:hover{background:#dcfce7}.btn-email{background:#fdf4ff;color:#a21caf;border-color:#f5d0fe}.btn-email:hover{background:#fae8ff}.btn-edit{background:#fffbeb;color:#b45309;border-color:#fde68a}.btn-edit:hover{background:#fef3c7}.btn-delete{background:#fef2f2;color:#b91c1c;border-color:#fecaca;padding:5px 8px}.btn-delete:hover{background:#fee2e2;border-color:#f87171;color:#991b1b}.pwd-input-readonly{background-color:#f1f5f9!important;color:#475569!important;border-color:#e2e8f0!important;cursor:not-allowed!important;-webkit-user-select:none!important;user-select:none!important}.pwd-locked-tag{font-size:.72rem;font-weight:600;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;padding:2px 7px;border-radius:6px;letter-spacing:.02em}.pwd-edit-tag{font-size:.72rem;font-weight:700;color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;padding:2px 8px;border-radius:9999px;letter-spacing:.02em;display:inline-flex;align-items:center;gap:3px}.pwd-verified-banner{display:flex;align-items:center;justify-content:space-between;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:12px 16px;color:#065f46}.verified-check{width:28px;height:28px;border-radius:50%;background:#059669;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex-shrink:0}.verified-title{font-weight:700;font-size:.88rem;color:#065f46}.verified-email{font-size:.8rem;color:#047857;margin-top:1px}@media (max-width: 1024px){.admin-container{padding:20px 20px 40px}.admin-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-card{padding:14px 16px}.metric-value{font-size:1.25rem}}@media (max-width: 768px){.admin-container{padding:14px 12px 36px}.admin-header{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px}.admin-title{font-size:22px}.admin-header-actions{flex-wrap:wrap;gap:8px;width:100%}.admin-header-actions>button,.admin-header-actions>.admin-session-badge{flex:1 1 auto;justify-content:center;font-size:12px;padding:8px 12px}.admin-controls{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:16px}.admin-search-box{width:100%;max-width:100%}.admin-filter-group{width:100%;justify-content:space-between}.admin-filter-select{flex:1}.admin-metrics-grid{grid-template-columns:repeat(2,1fr);gap:10px}.admin-invoices-table{min-width:780px}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:8px}.modal-card{width:95vw!important;max-width:95vw!important;margin:0 auto;max-height:92vh}.modal-password-card{width:95vw!important;max-width:480px!important}.pwd-modal-header,.pwd-tabs-wrapper,.pwd-form-body,.pwd-modal-footer{padding-left:1.15rem;padding-right:1.15rem}}@media (max-width: 480px){.admin-metrics-grid{grid-template-columns:1fr;gap:8px}.metric-card{padding:12px 14px}.admin-title{font-size:19px}.pwd-tab-btn{font-size:.76rem;padding:6px 8px}.pwd-modal-header{padding-top:1rem;padding-bottom:.75rem}.pwd-header-text h3{font-size:1rem}}.team-modal-card{max-width:620px!important;width:95vw!important;max-height:90vh!important;max-height:calc(100dvh - 2rem)!important;margin:auto 0;display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.team-modal-content{padding:1.5rem 1.75rem;overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1}.team-section{display:flex;flex-direction:column;gap:12px}.team-section-title{font-size:.92rem;font-weight:700;color:#1e293b;letter-spacing:-.01em;margin:0;display:flex;align-items:center;gap:8px}.team-accounts-list{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow-y:auto;padding-right:4px}.team-accounts-list::-webkit-scrollbar{width:4px}.team-accounts-list::-webkit-scrollbar-track{background:transparent}.team-accounts-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.team-account-item{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;transition:all .15s ease}.team-account-item:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 2px 6px #0000000a}.team-account-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.team-account-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.team-account-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.team-account-name{font-size:.88rem;font-weight:700;color:#0f172a}.role-badge{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 8px;border-radius:9999px;display:inline-block}.role-super-admin,.role-super_admin{background:#f5f3ff;color:#6d28d9;border:1px solid #ddd6fe}.role-admin{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.role-manager{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.team-account-meta{font-size:.775rem;color:#64748b;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.meta-sep{opacity:.4}.btn-edit-admin{background:#fff;border:1px solid #cbd5e1;color:#4338ca;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;transition:all .15s ease;flex-shrink:0}.btn-edit-admin:hover{background:#eef2ff;border-color:#6366f1;color:#4f46e5;transform:scale(1.05)}.btn-delete-admin{background:#fff;border:1px solid #fecaca;color:#dc2626;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;transition:all .15s ease;flex-shrink:0}.btn-delete-admin:hover{background:#fef2f2;border-color:#ef4444;transform:scale(1.05)}.add-admin-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.team-field-group{display:flex;flex-direction:column;gap:4px}.team-field-group label{font-size:.76rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.03em}.team-field-group select.pwd-input{cursor:pointer}.team-form-actions{display:flex;justify-content:flex-end;margin-top:4px}.btn-add-admin{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#4f46e5,#6366f1);border:1px solid #4338ca;color:#fff;font-weight:600;font-size:.85rem;padding:9px 18px;border-radius:9px;cursor:pointer;box-shadow:0 2px 6px #4f46e540;transition:all .15s ease}.btn-add-admin:hover{background:linear-gradient(135deg,#4338ca,#4f46e5);box-shadow:0 4px 12px #4f46e559;transform:translateY(-1px)}@media (max-width: 640px){.form-grid-2{grid-template-columns:1fr;gap:10px}.team-modal-content{padding:1.15rem}.team-account-item{padding:8px 10px}.btn-add-admin{width:100%;justify-content:center}}html[data-theme=dark] .admin-container,html[data-theme=dark] .admin-title{color:#f8fafc}html[data-theme=dark] .admin-subtitle{color:#94a3b8}html[data-theme=dark] .admin-console-pill{background:#10b9811f;border-color:#10b98147;color:#34d399}html[data-theme=dark] .btn-header-refresh,html[data-theme=dark] .btn-header-pwd,html[data-theme=dark] .btn-header-theme,html[data-theme=dark] .btn-header-export,html[data-theme=dark] .btn-secondary{background:#131b2e;border-color:#26334d;color:#f8fafc}html[data-theme=dark] .btn-header-refresh:hover:not(:disabled),html[data-theme=dark] .btn-header-pwd:hover,html[data-theme=dark] .btn-header-theme:hover,html[data-theme=dark] .btn-header-export:hover,html[data-theme=dark] .btn-secondary:hover{background:#1c2842;border-color:#3b4d70;color:#fff}html[data-theme=dark] .btn-toolbar-export-csv{background:#10b9811f;border-color:#10b98159;color:#34d399;box-shadow:none}html[data-theme=dark] .btn-toolbar-export-csv:hover{background:#10b98138;border-color:#34d399;color:#6ee7b7}html[data-theme=dark] .btn-admin-logout{background:#131b2e;border-color:#ef44444d;color:#f87171}html[data-theme=dark] .btn-admin-logout:hover{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}html[data-theme=dark] .metric-card{background:#131b2e!important;border-color:#26334d!important}html[data-theme=dark] .metric-card:hover{border-color:#3b4d70!important}html[data-theme=dark] .metric-label{color:#94a3b8!important}html[data-theme=dark] .metric-value{color:#f8fafc!important}html[data-theme=dark] .metric-subtext{color:#64748b!important}html[data-theme=dark] .admin-toolbar{background:#131b2e!important;border-color:#26334d!important}html[data-theme=dark] .admin-search-input{background:#0f172a!important;border-color:#26334d!important;color:#f8fafc!important}html[data-theme=dark] .admin-search-input:focus{border-color:#6366f1!important;box-shadow:0 0 0 3px #6366f140!important}html[data-theme=dark] .status-pill-group{background:#0f172a;border-color:#26334d}html[data-theme=dark] .status-filter-pill{color:#94a3b8}html[data-theme=dark] .status-filter-pill:hover{color:#f8fafc;background:#1a243a}html[data-theme=dark] .status-filter-pill.active{background:#1e293b;color:#f8fafc;box-shadow:0 1px 3px #00000080}html[data-theme=dark] .admin-table-card{background:#131b2e!important;border-color:#26334d!important}html[data-theme=dark] .admin-invoices-table thead,html[data-theme=dark] .admin-invoices-table thead tr{background-color:#0c1220!important}html[data-theme=dark] .admin-invoices-table th{background-color:#0c1220!important;color:#94a3b8!important;border-bottom:1px solid #26334d!important;box-shadow:0 1px 2px #0006}html[data-theme=dark] .admin-invoices-table tbody tr{border-bottom-color:#26334d!important}html[data-theme=dark] .admin-invoices-table tbody tr:hover{background-color:#162036!important}html[data-theme=dark] .inv-badge{background:#1e293b!important;border-color:#334155!important;color:#f8fafc!important}html[data-theme=dark] .cust-name{color:#f8fafc!important}html[data-theme=dark] .date-main{color:#e2e8f0!important}html[data-theme=dark] .amount-value{color:#f8fafc!important}html[data-theme=dark] .btn-action:hover{background:#27354f;border-color:#475569;color:#fff}html[data-theme=dark] .btn-view:hover{background:#243048}html[data-theme=dark] .btn-download{background:#2563eb26;border-color:#2563eb59;color:#60a5fa}html[data-theme=dark] .btn-download:hover{background:#2563eb47}html[data-theme=dark] .btn-share:hover{background:#10b98147}html[data-theme=dark] .btn-email{background:#9333ea26;border-color:#9333ea59;color:#c084fc}html[data-theme=dark] .btn-email:hover{background:#9333ea47}html[data-theme=dark] .btn-delete{background:#ef44441f;border-color:#ef44444d;color:#f87171}html[data-theme=dark] .btn-delete:hover{background:#ef444440;border-color:#ef4444}html[data-theme=dark] .modal-view-detail-redesign{background:#131b2e!important;border-color:#26334d!important;box-shadow:0 25px 50px -12px #000000b3,0 0 0 1px #ffffff0d!important}html[data-theme=dark] .view-modal-header{background:#131b2e!important;border-bottom-color:#26334d!important}html[data-theme=dark] .view-modal-badge-icon,html[data-theme=dark] .view-modal-logo-container{background:#1e293b!important;border-color:#334155!important}html[data-theme=dark] .view-modal-close{background:#1e293b!important;border-color:#334155!important;color:#94a3b8!important}html[data-theme=dark] .view-modal-close:hover{background:#243048!important;color:#f8fafc!important}html[data-theme=dark] .view-modal-body{background:#090d16!important}html[data-theme=dark] .view-highlight-card,html[data-theme=dark] .view-items-section,html[data-theme=dark] .view-note-card,html[data-theme=dark] .view-receipt-card{background:#131b2e!important;border-color:#26334d!important;box-shadow:0 2px 8px #0000004d!important}html[data-theme=dark] .view-client-name,html[data-theme=dark] .financial-amount,html[data-theme=dark] .receipt-title,html[data-theme=dark] .note-title,html[data-theme=dark] .detail-section-title{color:#f8fafc!important}html[data-theme=dark] .view-sender-text,html[data-theme=dark] .note-body,html[data-theme=dark] .address-text{color:#cbd5e1!important}html[data-theme=dark] .view-address-box{background:#0f172a!important;border-color:#26334d!important}html[data-theme=dark] .view-card-financial{background:linear-gradient(135deg,#10b9811a,#06b6d414)!important;border-color:#10b9814d!important}html[data-theme=dark] .view-financial-breakdown-compact{background:#0f172aa6!important;border-color:#26334d!important}html[data-theme=dark] .view-table-wrapper{border-color:#26334d!important}html[data-theme=dark] .view-items-table th{background:#0f172a!important;color:#94a3b8!important;border-bottom-color:#26334d!important}html[data-theme=dark] .view-items-table td{border-bottom-color:#26334d!important;color:#e2e8f0!important}html[data-theme=dark] .view-items-table tbody tr:hover{background:#1a243a!important}html[data-theme=dark] .view-total-row,html[data-theme=dark] .view-total-row .row-label{color:#94a3b8!important}html[data-theme=dark] .view-total-row .row-val{color:#f1f5f9!important}html[data-theme=dark] .view-grand-total-highlight{background:linear-gradient(135deg,#1e3a8a73,#2563eb40)!important;border-color:#60a5fa66!important;box-shadow:0 4px 16px #0006!important}html[data-theme=dark] .view-grand-total-highlight:hover{border-color:#60a5fa99!important}html[data-theme=dark] .view-grand-total-label{color:#f8fafc!important}html[data-theme=dark] .view-grand-total-val{color:#60a5fa!important}html[data-theme=dark] .paid-row .row-val{color:#34d399!important}html[data-theme=dark] .balance-row .row-label{color:#cbd5e1!important}html[data-theme=dark] .view-modal-footer{background:#131b2e!important;border-top-color:#26334d!important}html[data-theme=dark] .btn-modal-download{background:#2563eb26!important;border-color:#2563eb59!important;color:#60a5fa!important}html[data-theme=dark] .btn-modal-download:hover{background:#2563eb47!important}html[data-theme=dark] .btn-modal-share{background:#10b98126!important;border-color:#10b98159!important;color:#34d399!important}html[data-theme=dark] .btn-modal-share:hover{background:#10b98147!important}html[data-theme=dark] .btn-modal-email{background:#9333ea26!important;border-color:#9333ea59!important;color:#c084fc!important}html[data-theme=dark] .btn-modal-email:hover{background:#9333ea47!important}html[data-theme=dark] .btn-modal-edit{background:#1e293b!important;border-color:#334155!important;color:#e2e8f0!important}html[data-theme=dark] .btn-modal-edit:hover{background:#243048!important;color:#fff!important}html[data-theme=dark] .pwd-edit-tag{background:#10b98126!important;border-color:#10b9814d!important;color:#34d399!important}.table-loading-bar-top{height:2.5px;width:100%;background:linear-gradient(90deg,#10b981,#3b82f6,#8b5cf6,#10b981);background-size:200% 100%;animation:tableLoadingBarAnim 1.8s ease-in-out infinite}@keyframes tableLoadingBarAnim{0%{background-position:100% 0}to{background-position:-100% 0}}.skeleton-table-row{border-bottom:1px solid #f1f5f9;background-color:#fff}.skeleton-item{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:skeletonShimmer 1.5s ease-in-out infinite;border-radius:4px}@keyframes skeletonShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.sk-badge{height:22px;border-radius:5px;width:75px}.sk-main{height:14px;border-radius:4px}.sk-sub{height:10px;border-radius:3px;opacity:.7}.sk-pill{height:22px;border-radius:9999px}.sk-btn,.sk-btn-icon{height:26px;border-radius:6px}.skeleton-actions-group{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:nowrap}html[data-theme=dark] .table-loading-bar-top{background:linear-gradient(90deg,#059669,#2563eb,#7c3aed,#059669);background-size:200% 100%}html[data-theme=dark] .skeleton-table-row{border-bottom:1px solid #1e293b;background-color:#0f172a}html[data-theme=dark] .skeleton-item{background:linear-gradient(90deg,#1e293b 25%,#334155,#1e293b 75%);background-size:200% 100%}html[data-theme=dark] .admin-table-card{background:#0f172a;border-color:#334155;box-shadow:0 4px 16px #0006}html[data-theme=dark] .table-responsive{background-color:#0f172a;scrollbar-color:#334155 #0f172a}html[data-theme=dark] .table-responsive::-webkit-scrollbar-track{background:#0f172a}html[data-theme=dark] .table-responsive::-webkit-scrollbar-thumb{background:#334155}html[data-theme=dark] .table-responsive::-webkit-scrollbar-thumb:hover{background:#475569}html[data-theme=dark] .admin-invoices-table{background-color:#0f172a}html[data-theme=dark] .admin-invoices-table thead,html[data-theme=dark] .admin-invoices-table thead tr{background-color:#020617}html[data-theme=dark] .admin-invoices-table th{background-color:#020617;color:#94a3b8;border-bottom:1px solid #334155}html[data-theme=dark] .admin-invoices-table th.cursor-pointer:hover{background-color:#0f172a;color:#fff}html[data-theme=dark] .admin-invoices-table tbody tr{border-bottom:1px solid #1e293b;background-color:#0f172a}html[data-theme=dark] .admin-invoices-table tbody tr:hover{background-color:#1e293b}html[data-theme=dark] .admin-invoices-table td{border-bottom:1px solid #1e293b}html[data-theme=dark] .inv-badge{background:#1e293b;border-color:#334155;color:#f1f5f9}html[data-theme=dark] .date-main{color:#f1f5f9}html[data-theme=dark] .cust-name,html[data-theme=dark] .amount-value{color:#f8fafc}html[data-theme=dark] .currency-tag{color:#94a3b8}html[data-theme=dark] .balance-due-pill{background:#f59e0b26;border-color:#f59e0b59;color:#fbbf24}html[data-theme=dark] .balance-paid-pill{background:#10b98126;border-color:#10b98159;color:#34d399}html[data-theme=dark] .btn-action{background:#1e293b;border-color:#334155;color:#e2e8f0}html[data-theme=dark] .btn-view{color:#e2e8f0;border-color:#334155}html[data-theme=dark] .btn-view:hover{background:#334155;border-color:#475569;color:#fff}html[data-theme=dark] .btn-download{background:#3b82f626;border-color:#3b82f659;color:#60a5fa}html[data-theme=dark] .btn-download:hover{background:#3b82f640;border-color:#3b82f680;color:#93c5fd}html[data-theme=dark] .btn-share{background:#10b98126;border-color:#10b98159;color:#34d399}html[data-theme=dark] .btn-share:hover{background:#10b98140;border-color:#10b98180;color:#6ee7b7}html[data-theme=dark] .btn-email{background:#8b5cf626;border-color:#8b5cf659;color:#a78bfa}html[data-theme=dark] .btn-email:hover{background:#8b5cf640;border-color:#8b5cf680;color:#c4b5fd}html[data-theme=dark] .btn-edit{background:#f59e0b26;border-color:#f59e0b59;color:#fbbf24}html[data-theme=dark] .btn-edit:hover{background:#f59e0b40;border-color:#f59e0b80;color:#fde68a}html[data-theme=dark] .btn-delete{background:#ef44441a;border-color:#ef44444d;color:#f87171}html[data-theme=dark] .btn-delete:hover{background:#ef444433;border-color:#ef444480;color:#fca5a5}html[data-theme=dark] .modal-card,body.dark-mode .modal-card{background:#111827!important;border:1px solid #1e293b!important;color:#f8fafc!important;box-shadow:0 25px 50px -12px #000000b3,0 0 0 1px #ffffff0d!important}html[data-theme=dark] .modal-header,body.dark-mode .modal-header{background-color:#0f172a!important;border-bottom-color:#1e293b!important}html[data-theme=dark] .modal-title,body.dark-mode .modal-title{color:#f8fafc!important}html[data-theme=dark] .modal-subtitle,body.dark-mode .modal-subtitle,html[data-theme=dark] .modal-close-btn,body.dark-mode .modal-close-btn{color:#94a3b8!important}html[data-theme=dark] .modal-close-btn:hover,body.dark-mode .modal-close-btn:hover{color:#f8fafc!important}html[data-theme=dark] .modal-footer,body.dark-mode .modal-footer{background-color:#0f172a!important;border-top-color:#1e293b!important}html[data-theme=dark] .modal-delete-card,body.dark-mode .modal-delete-card{background:#111827!important;border:1px solid #1e293b!important}html[data-theme=dark] .modal-delete-card p.text-gray-600,body.dark-mode .modal-delete-card p.text-gray-600{color:#cbd5e1!important}html[data-theme=dark] .modal-delete-card strong,body.dark-mode .modal-delete-card strong{color:#f8fafc!important}html[data-theme=dark] .modal-password-card,body.dark-mode .modal-password-card{background:#111827!important;border:1px solid #1e293b!important;box-shadow:0 25px 60px -12px #000000b3,0 0 0 1px #ffffff0f!important}html[data-theme=dark] .pwd-modal-header,body.dark-mode .pwd-modal-header{background:#0f172a!important;border-bottom-color:#1e293b!important}html[data-theme=dark] .pwd-header-text h3,body.dark-mode .pwd-header-text h3{color:#f8fafc!important}html[data-theme=dark] .pwd-header-text p,body.dark-mode .pwd-header-text p{color:#94a3b8!important}html[data-theme=dark] .pwd-shield-badge,body.dark-mode .pwd-shield-badge{background:#6366f126!important;border-color:#6366f159!important;color:#818cf8!important}html[data-theme=dark] .pwd-close-btn,body.dark-mode .pwd-close-btn{color:#94a3b8!important}html[data-theme=dark] .pwd-close-btn:hover,body.dark-mode .pwd-close-btn:hover{background:#1e293b!important;color:#f8fafc!important}html[data-theme=dark] .pwd-tabs-wrapper,body.dark-mode .pwd-tabs-wrapper{background:#0f172a!important;border-bottom-color:#1e293b!important}html[data-theme=dark] .pwd-tab-btn,body.dark-mode .pwd-tab-btn{color:#94a3b8!important}html[data-theme=dark] .pwd-tab-btn.active,body.dark-mode .pwd-tab-btn.active{color:#818cf8!important;border-bottom-color:#818cf8!important}html[data-theme=dark] .pwd-form-body,body.dark-mode .pwd-form-body{background:#111827!important}html[data-theme=dark] .pwd-input-group label,body.dark-mode .pwd-input-group label{color:#cbd5e1!important}html[data-theme=dark] .pwd-input-field,body.dark-mode .pwd-input-field{background:#1e293b!important;border-color:#334155!important;color:#f8fafc!important}html[data-theme=dark] .pwd-input-field:focus,body.dark-mode .pwd-input-field:focus{border-color:#818cf8!important}html[data-theme=dark] .pwd-toggle-btn,body.dark-mode .pwd-toggle-btn{color:#94a3b8!important}html[data-theme=dark] .pwd-toggle-btn:hover,body.dark-mode .pwd-toggle-btn:hover{color:#f8fafc!important}html[data-theme=dark] .pwd-req-list,body.dark-mode .pwd-req-list{background:#0f172a!important;border-color:#1e293b!important}html[data-theme=dark] .pwd-req-item,body.dark-mode .pwd-req-item{color:#94a3b8!important}html[data-theme=dark] .pwd-req-item.valid,body.dark-mode .pwd-req-item.valid{color:#34d399!important}html[data-theme=dark] .pwd-modal-footer,body.dark-mode .pwd-modal-footer{background:#0f172a!important;border-top-color:#1e293b!important}html[data-theme=dark] .admin-empty-state h3,body.dark-mode .admin-empty-state h3{color:#f8fafc!important}html[data-theme=dark] .admin-empty-state p,body.dark-mode .admin-empty-state p{color:#94a3b8!important}html[data-theme=dark] .pill-count-chip,body.dark-mode .pill-count-chip{background:#ffffff1f;color:#cbd5e1}html[data-theme=dark] .status-filter-pill.active .pill-count-chip,body.dark-mode .status-filter-pill.active .pill-count-chip{background:#3b82f6;color:#fff}html[data-theme=dark] .th-sorted,body.dark-mode .th-sorted{background-color:#1e293b!important}html[data-theme=dark] .th-sort-icon.active,body.dark-mode .th-sort-icon.active{color:#60a5fa;text-shadow:0 0 8px rgba(96,165,250,.5)}html[data-theme=dark] .admin-invoices-table tbody tr:hover,body.dark-mode .admin-invoices-table tbody tr:hover{background-color:#162036!important;box-shadow:inset 3px 0 #60a5fa}html[data-theme=dark] .admin-table-footer,body.dark-mode .admin-table-footer{background:#0c1220!important;border-top-color:#26334d!important;color:#94a3b8!important}html[data-theme=dark] .footer-count-badge,body.dark-mode .footer-count-badge{color:#94a3b8!important}html[data-theme=dark] .footer-count-badge strong,body.dark-mode .footer-count-badge strong{color:#f8fafc!important}html[data-theme=dark] .footer-filter-tag,body.dark-mode .footer-filter-tag{background:#131b2e!important;border-color:#26334d!important;color:#cbd5e1!important}html[data-theme=dark] .footer-stat-label,body.dark-mode .footer-stat-label{color:#64748b!important}html[data-theme=dark] .footer-stat-value,body.dark-mode .footer-stat-value{color:#f8fafc!important}html[data-theme=dark] .footer-stat-due,body.dark-mode .footer-stat-due{color:#fbbf24!important}.admin-cyber-page{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;height:100dvh;z-index:9999;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;transition:background-color .3s ease,color .3s ease;animation:cyberFadeIn .25s ease-out}@keyframes cyberFadeIn{0%{opacity:0;transform:scale(.995)}to{opacity:1;transform:scale(1)}}.admin-cyber-page.dark-theme{background-color:#011326;background:radial-gradient(ellipse 90% 70% at 50% 0%,#032b49 0%,transparent 65%),radial-gradient(circle 700px at 80% 85%,#013545 0%,transparent 70%),linear-gradient(135deg,#011939,#020f21,#010a17);color:#f8fafc}.admin-cyber-page.light-theme{background-color:#fff;background:radial-gradient(900px 550px at 85% 8%,rgba(209,250,229,.5),transparent 60%),radial-gradient(850px 480px at 60% 95%,rgba(167,243,208,.4),transparent 55%),linear-gradient(135deg,#fff,#f7fdfa,#effaf5);color:#0f172a}.cyber-ambient-bg{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:1}.ambient-glow{position:absolute;border-radius:50%;pointer-events:none;filter:blur(80px)}.ambient-glow.top-center{width:600px;height:350px;top:-100px;left:28%}.dark-theme .ambient-glow.top-center{background:radial-gradient(circle,rgba(0,223,162,.18) 0%,transparent 70%)}.light-theme .ambient-glow.top-center{background:radial-gradient(circle,rgba(52,211,153,.2) 0%,transparent 70%)}.ambient-glow.center-right{width:500px;height:500px;top:20%;right:-80px}.dark-theme .ambient-glow.center-right{background:radial-gradient(circle,rgba(0,180,216,.14) 0%,transparent 70%)}.light-theme .ambient-glow.center-right{background:radial-gradient(circle,rgba(16,185,129,.12) 0%,transparent 70%)}.ambient-glow.bottom-left{width:450px;height:350px;bottom:-60px;left:4%}.dark-theme .ambient-glow.bottom-left{background:radial-gradient(circle,rgba(0,223,162,.2) 0%,transparent 70%)}.light-theme .ambient-glow.bottom-left{background:radial-gradient(circle,rgba(52,211,153,.22) 0%,transparent 70%)}.cyber-ribbons-svg{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cyber-dot-matrix{position:absolute;display:grid;grid-template-columns:repeat(4,5px);grid-template-rows:repeat(4,5px);gap:8px;pointer-events:none;z-index:2}.matrix-left{bottom:28px;left:36px}.matrix-right{bottom:28px;right:42px}.dot-node{width:5px;height:5px;border-radius:50%;transition:all .3s ease}.dark-theme .dot-node{background:#00dfa2;opacity:.6;box-shadow:0 0 6px #00dfa2d9}.light-theme .dot-node{background:#10b981;opacity:.55;box-shadow:0 0 4px #10b98180}.cyber-topbar{position:absolute;top:0;left:0;right:0;height:64px;padding:0 clamp(1.2rem,3.5vw,3rem);display:flex;align-items:center;justify-content:flex-end;z-index:30;pointer-events:none}.topbar-theme-toggle{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;border-radius:9999px;padding:7px 16px;font-size:13px;font-weight:500;cursor:pointer;transition:all .18s ease}.dark-theme .topbar-theme-toggle{background:#071b38;border:1px solid rgba(255,255,255,.18);color:#f8fafc;box-shadow:0 2px 10px #0000004d}.dark-theme .topbar-theme-toggle:hover{background:#0b2a52;border-color:#00dfa280;box-shadow:0 0 12px #00dfa240}.light-theme .topbar-theme-toggle{background:#fff;border:1px solid #e2e8f0;color:#334155;box-shadow:0 1px 4px #0000000d}.light-theme .topbar-theme-toggle:hover{border-color:#cbd5e1;background:#f8fafc;box-shadow:0 3px 10px #00000014}.theme-pill-icon{font-size:14px}.theme-pill-text{font-weight:500;letter-spacing:-.01em}.cyber-content-container{flex:1;width:100%;height:100%;max-width:1540px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:1.5rem clamp(1.2rem,3.5vw,3.5rem);gap:clamp(1.5rem,3vw,3.8rem);box-sizing:border-box;position:relative;z-index:10;overflow:hidden}.cyber-showcase-panel{flex:1.28;height:100%;max-height:calc(100vh - 40px);display:flex;flex-direction:column;justify-content:space-between;padding:1.2rem 0;box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none}.cyber-brand-header{display:flex;align-items:center;gap:14px;margin-bottom:clamp(26px,3.8vh,46px);padding-top:6px}.cyber-brand-hexagon{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;transition:all .25s ease}.dark-theme .cyber-brand-hexagon{background:#00dfa224;color:#00dfa2;box-shadow:0 0 16px #00dfa259;border:1px solid rgba(0,223,162,.45)}.light-theme .cyber-brand-hexagon{background:#ecfdf5;color:#10b981;box-shadow:0 2px 10px #10b98129}.cyber-brand-titles{display:flex;flex-direction:column;line-height:1.25}.cyber-brand-main{font-size:20px;font-weight:700;letter-spacing:-.01em}.dark-theme .cyber-brand-main{color:#f8fafc}.light-theme .cyber-brand-main{color:#0f172a}.cyber-brand-sub{font-size:12.5px;font-weight:500;letter-spacing:.02em}.dark-theme .cyber-brand-sub{color:#94a3b8}.light-theme .cyber-brand-sub{color:#64748b}.cyber-heading-block{margin-top:0;margin-bottom:clamp(14px,2vh,24px)}.cyber-title{margin:0 0 10px;font-size:clamp(34px,3.4vw,48px);font-weight:800;letter-spacing:-.03em;line-height:1.1}.dark-theme .cyber-title{color:#fff}.light-theme .cyber-title{color:#0f172a}.title-highlight{font-weight:800}.dark-theme .title-highlight{color:#00dfa2;text-shadow:0 0 18px rgba(0,223,162,.45)}.light-theme .title-highlight{color:#0d9488;background:linear-gradient(135deg,#0d9488,#10b981);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.cyber-subtitle{margin:0;font-size:clamp(13.5px,1.15vw,15.5px);line-height:1.45;max-width:500px}.dark-theme .cyber-subtitle{color:#94a3b8}.light-theme .cyber-subtitle{color:#64748b}.cyber-showcase-stage{flex:1;display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin:4px 0 0;position:relative}.cyber-features-col{flex:0 0 240px;display:flex;flex-direction:column;gap:clamp(14px,2.2vh,22px);z-index:5;margin-top:clamp(6px,1.2vh,16px)}.cyber-feature-card{display:flex;align-items:flex-start;gap:12px}.feature-bubble{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s ease,box-shadow .2s ease}.dark-theme .feature-bubble{background:#00dfa224;color:#00dfa2;border:1px solid rgba(0,223,162,.3);box-shadow:0 0 12px #00dfa233}.light-theme .feature-bubble{background:#d1fae5;color:#059669;box-shadow:0 3px 10px #10b98129}.cyber-feature-card:hover .feature-bubble{transform:scale(1.08)}.feature-text-wrap{display:flex;flex-direction:column;line-height:1.25}.feature-heading{margin:0 0 2px;font-size:14.5px;font-weight:700}.dark-theme .feature-heading{color:#f8fafc}.light-theme .feature-heading{color:#0f172a}.feature-summary{margin:0;font-size:12px;line-height:1.35}.dark-theme .feature-summary{color:#94a3b8}.light-theme .feature-summary{color:#64748b}.cyber-pedestal-stage{flex:1;height:100%;max-height:380px;display:flex;align-items:center;justify-content:center;align-self:center;position:relative;overflow:visible}.pedestal-scene-svg{width:100%;height:100%;max-width:460px;max-height:380px;display:block;filter:drop-shadow(0 14px 30px rgba(0,0,0,.3))}.hologram-card{transition:transform .3s ease}.card-tl{animation:floatCard1 5s ease-in-out infinite alternate}.card-tr{animation:floatCard2 6s ease-in-out infinite alternate-reverse}.card-ml{animation:floatCard3 5.5s ease-in-out infinite alternate}.card-mr{animation:floatCard4 6.5s ease-in-out infinite alternate-reverse}@keyframes floatCard1{0%{transform:translateY(0) rotate(0)}to{transform:translateY(-7px) rotate(-1.5deg)}}@keyframes floatCard2{0%{transform:translateY(0) rotate(0)}to{transform:translateY(-8px) rotate(2deg)}}@keyframes floatCard3{0%{transform:translateY(0) rotate(0)}to{transform:translateY(-6px) rotate(1deg)}}@keyframes floatCard4{0%{transform:translateY(0) rotate(0)}to{transform:translateY(-7px) rotate(-2deg)}}.pedestal-shield-group{animation:shieldPulse 4s ease-in-out infinite alternate;transform-origin:230px 160px}@keyframes shieldPulse{0%{transform:scale(.98)}to{transform:scale(1.02)}}.cyber-auth-panel{flex:.95;height:100%;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;position:relative;z-index:10}.cyber-auth-glass-card{width:100%;max-width:425px;border-radius:24px;padding:clamp(1.4rem,2.5vw,2rem) clamp(1.4rem,2.5vw,2.2rem);display:flex;flex-direction:column;align-items:center;box-sizing:border-box;position:relative;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:all .3s ease}.dark-theme .cyber-auth-glass-card{background:#071b38c7;border:1.5px solid rgba(56,189,248,.25);box-shadow:0 24px 60px -10px #000000a6,0 0 35px #00dfa21a}.light-theme .cyber-auth-glass-card{background:#fff;border:1px solid rgba(226,232,240,.95);box-shadow:0 24px 60px -12px #10b98124,0 10px 25px -8px #0f172a0f}.cyber-top-badge-container{position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.cyber-badge-radial-glow{position:absolute;width:70px;height:70px;border-radius:50%;filter:blur(14px);pointer-events:none}.dark-theme .cyber-badge-radial-glow{background:radial-gradient(circle,rgba(0,223,162,.5) 0%,transparent 70%)}.light-theme .cyber-badge-radial-glow{background:radial-gradient(circle,rgba(16,185,129,.3) 0%,transparent 70%)}.cyber-badge-circle{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;z-index:2;transition:all .2s ease}.dark-theme .cyber-badge-circle{background:#061e3d;border:1.5px solid #00dfa2;color:#00dfa2;box-shadow:0 0 16px #00dfa266}.light-theme .cyber-badge-circle{background:#ecfdf5;border:1.5px solid #10b981;color:#10b981;box-shadow:0 4px 14px #10b98129}.cyber-card-title{margin:0 0 6px;font-size:24px;font-weight:700;letter-spacing:-.02em;text-align:center}.dark-theme .cyber-card-title{color:#f8fafc}.light-theme .cyber-card-title{color:#0f172a}.cyber-card-subtitle{margin:0 0 22px;font-size:13.5px;line-height:1.45;text-align:center;max-width:360px}.dark-theme .cyber-card-subtitle{color:#94a3b8}.light-theme .cyber-card-subtitle{color:#64748b}.cyber-alert{width:100%;padding:10px 12px;border-radius:8px;font-size:12.5px;margin-bottom:14px;display:flex;align-items:center}.cyber-alert.error{background:#ef444426;border:1px solid rgba(239,68,68,.4);color:#f87171;animation:shakeAlert .3s ease}@keyframes shakeAlert{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.cyber-alert.success{background:#00dfa226;border:1px solid rgba(0,223,162,.4);color:#00dfa2}.cyber-form-body{width:100%;display:flex;flex-direction:column;gap:16px}.cyber-field-group{width:100%;display:flex;flex-direction:column;gap:6px}.cyber-field-label-row{display:flex;align-items:center;justify-content:space-between;width:100%}.cyber-field-label{font-size:13px;font-weight:600}.dark-theme .cyber-field-label{color:#cbd5e1}.light-theme .cyber-field-label{color:#1e293b}.cyber-forgot-link{background:none;border:none;padding:0;font-size:12.5px;font-weight:500;cursor:pointer;transition:color .15s ease}.dark-theme .cyber-forgot-link{color:#00dfa2}.dark-theme .cyber-forgot-link:hover{color:#38bdf8;text-decoration:underline}.light-theme .cyber-forgot-link{color:#10b981}.light-theme .cyber-forgot-link:hover{color:#059669;text-decoration:underline}.cyber-input-wrapper{width:100%;height:46px;display:flex;align-items:center;border-radius:10px;padding:0 14px;box-sizing:border-box;transition:all .2s ease}.dark-theme .cyber-input-wrapper{background:#041126;border:1.2px solid rgba(56,189,248,.28)}.dark-theme .cyber-input-wrapper:focus-within{border-color:#00dfa2;box-shadow:0 0 12px #00dfa259}.light-theme .cyber-input-wrapper{background:#fff;border:1.2px solid #e2e8f0}.light-theme .cyber-input-wrapper:focus-within{border-color:#10b981;box-shadow:0 0 0 3px #10b98124}.cyber-input-icon{display:flex;align-items:center;justify-content:center;margin-right:10px;flex-shrink:0}.dark-theme .cyber-input-icon{color:#64748b}.light-theme .cyber-input-icon{color:#94a3b8}.cyber-text-input{flex:1;border:none;background:transparent;outline:none;font-size:14px;width:100%;font-family:inherit}.dark-theme .cyber-text-input{color:#f8fafc}.dark-theme .cyber-text-input::placeholder{color:#64748b}.light-theme .cyber-text-input{color:#0f172a}.light-theme .cyber-text-input::placeholder{color:#94a3b8}.cyber-eye-btn{background:none;border:none;padding:0 0 0 8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.dark-theme .cyber-eye-btn{color:#64748b}.dark-theme .cyber-eye-btn:hover{color:#00dfa2}.light-theme .cyber-eye-btn{color:#94a3b8}.light-theme .cyber-eye-btn:hover{color:#475569}.cyber-login-btn{width:100%;height:48px;margin-top:6px;border:none;border-radius:10px;color:#fff;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .2s ease}.dark-theme .cyber-login-btn{background:linear-gradient(135deg,#00dfa2,#00c5a0);box-shadow:0 6px 20px #00dfa261}.dark-theme .cyber-login-btn:hover:not(:disabled){background:linear-gradient(135deg,#00f0ad,#00dfa2);box-shadow:0 8px 25px #00dfa28c;transform:translateY(-1px)}.light-theme .cyber-login-btn{background:#10b981;box-shadow:0 4px 14px #10b98152}.light-theme .cyber-login-btn:hover:not(:disabled){background:#059669;box-shadow:0 6px 18px #10b9816b;transform:translateY(-1px)}.cyber-login-btn:active:not(:disabled){transform:translateY(0)}.cyber-login-btn:disabled{opacity:.65;cursor:not-allowed}.login-arrow-icon{flex-shrink:0}.cyber-btn-spinner-wrap{display:inline-flex;align-items:center;gap:8px}.cyber-spinner{width:16px;height:16px;border:2.2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:cyberSpin .7s linear infinite;display:inline-block}.cyber-spinner.green{border-color:#00dfa240;border-top-color:#00dfa2}@keyframes cyberSpin{to{transform:rotate(360deg)}}.cyber-return-action-btn{width:100%;height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font-size:13.5px;font-weight:500;cursor:pointer;transition:all .2s ease;margin-top:4px;border:1px solid transparent;background:transparent}.dark-theme .cyber-return-action-btn{color:#94a3b8;background:#04112673;border-color:#38bdf82e}.dark-theme .cyber-return-action-btn:hover{color:#00dfa2;background:#00dfa217;border-color:#00dfa266;box-shadow:0 0 14px #00dfa22e;transform:translateY(-1px)}.light-theme .cyber-return-action-btn{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.light-theme .cyber-return-action-btn:hover{color:#059669;background:#ecfdf5;border-color:#10b981;box-shadow:0 2px 8px #10b9811f;transform:translateY(-1px)}.action-return-arrow{font-size:15px;transition:transform .2s ease}.cyber-return-action-btn:hover .action-return-arrow{transform:translate(-3px)}.cyber-secondary-link-btn{width:100%;background:none;border:none;padding:8px;font-size:13px;cursor:pointer;text-align:center;transition:all .18s ease}.dark-theme .cyber-secondary-link-btn{color:#94a3b8}.dark-theme .cyber-secondary-link-btn:hover{color:#00dfa2}.light-theme .cyber-secondary-link-btn{color:#64748b}.light-theme .cyber-secondary-link-btn:hover{color:#10b981}.cyber-authenticator-view{width:100%;display:flex;flex-direction:column;gap:14px}.cyber-verified-badge{display:flex;align-items:center;justify-content:space-between;width:100%;border-radius:8px;padding:7px 12px;font-size:12.5px}.dark-theme .cyber-verified-badge{background:#00dfa21f;border:1px solid rgba(0,223,162,.35);color:#00dfa2}.light-theme .cyber-verified-badge{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}.badge-check{font-weight:700;margin-right:4px}.badge-edit-btn{background:none;border:none;font-weight:600;font-size:12px;cursor:pointer;text-decoration:underline;padding:0}.dark-theme .badge-edit-btn{color:#38bdf8}.light-theme .badge-edit-btn{color:#059669}.cyber-qr-box{display:flex;align-items:center;gap:14px;border-radius:12px;padding:10px 12px}.dark-theme .cyber-qr-box{background:#041126;border:1px solid rgba(56,189,248,.25)}.light-theme .cyber-qr-box{background:#f8fafc;border:1px solid #e2e8f0}.cyber-qr-frame{width:102px;height:102px;flex-shrink:0;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center}.dark-theme .cyber-qr-frame{border:1px solid #00dfa2;box-shadow:0 0 14px #00dfa240}.light-theme .cyber-qr-frame{border:1px solid #cbd5e1;box-shadow:0 2px 6px #0000000a}.cyber-qr-img{width:96px;height:96px;object-fit:contain;display:block}.qr-loading-spinner,.qr-failed-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;text-align:center}.qr-retry-action{background:#00dfa2;color:#011939;border:none;border-radius:4px;padding:2px 8px;font-size:10px;font-weight:700;cursor:pointer}.cyber-qr-meta{display:flex;flex-direction:column;gap:6px;font-size:12px}.dark-theme .cyber-qr-meta{color:#cbd5e1}.light-theme .cyber-qr-meta{color:#334155}.qr-step-guide{display:flex;align-items:flex-start;gap:6px;line-height:1.35}.guide-badge{width:16px;height:16px;border-radius:50%;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}.dark-theme .guide-badge{background:#00dfa2;color:#011939}.light-theme .guide-badge{background:#10b981;color:#fff}.cyber-key-pill{display:flex;align-items:center;gap:6px;border-radius:6px;padding:2px 6px;margin-top:2px}.dark-theme .cyber-key-pill{background:#061e3d;border:1px solid rgba(56,189,248,.3)}.light-theme .cyber-key-pill{background:#fff;border:1px solid #e2e8f0}.key-label{font-size:10.5px;font-weight:600;opacity:.8}.key-mono{font-family:monospace;font-size:11px;flex:1}.dark-theme .key-mono{color:#00dfa2}.light-theme .key-mono{color:#0f172a}.key-copy-btn{background:none;border:none;cursor:pointer;font-size:12px;padding:2px}.cyber-pin-text-input{letter-spacing:.28em;font-weight:700;font-size:18px;text-align:center}.cyber-attempts-warning{font-size:12px;color:#f59e0b;text-align:center;font-weight:500}@media (max-width: 1366px){.cyber-content-container{gap:2rem;padding:1.2rem 2rem}.pedestal-scene-svg{max-width:400px;max-height:330px}.cyber-features-col{flex:0 0 205px;gap:12px}}@media (max-width: 1023px){.admin-cyber-page{overflow-y:auto}.cyber-topbar{position:relative;height:56px}.cyber-content-container{flex-direction:column;height:auto;min-height:calc(100vh - 56px);padding:1.5rem 1.5rem 3rem;overflow-y:visible}.cyber-showcase-panel{flex:none;width:100%;max-width:600px;height:auto;max-height:none;padding:0 0 1.5rem}.cyber-showcase-stage{flex-direction:column;gap:2rem}.cyber-features-col{flex:none;width:100%}.cyber-pedestal-stage{width:100%;min-height:300px}.cyber-auth-panel{flex:none;width:100%;max-width:440px;justify-content:center}}@media (max-width: 540px){.cyber-content-container{padding:1rem 1rem 2.5rem}.cyber-title{font-size:28px}.pedestal-scene-svg{transform:scale(.9)}.cyber-auth-glass-card{padding:1.5rem 1.2rem}}:root{--nav-height: 68px}html{box-sizing:border-box;scroll-behavior:smooth;scroll-padding-top:var(--nav-height);-webkit-text-size-adjust:100%}*,*:before,*:after{box-sizing:inherit}html,body{margin:0;padding:0;width:100%;max-width:100%;overflow-x:hidden;transition:background-color .2s ease,color .2s ease}body{background:#f8fafc;color:#0f172a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;min-height:100dvh}#root{min-width:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.app-root-container{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;position:relative;width:100%}.app-content{flex:1;width:100%;min-width:0;display:flex;flex-direction:column;position:relative;padding-top:var(--nav-height);box-sizing:border-box}.app-content.no-nav,.app-root-container.admin-mode .app-content,.app-root-container.auth-only-page .app-content{padding-top:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#0000000a}::-webkit-scrollbar-thumb{background:#64748b59;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#64748b8c}.app-nav{position:fixed;top:0;left:0;right:0;width:100%;height:var(--nav-height);min-height:var(--nav-height);max-height:var(--nav-height);z-index:1000;display:flex;justify-content:space-between;align-items:center;padding:0 2rem;background:#ffffffd9;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid rgba(226,232,240,.8);box-shadow:0 4px 20px -2px #0f172a0d;flex-wrap:nowrap;gap:1.25rem;box-sizing:border-box;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}.app-nav-left{display:flex;align-items:center;gap:1.75rem;flex-shrink:0}.app-nav-brand{display:flex;align-items:center;gap:.85rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .18s cubic-bezier(.16,1,.3,1),opacity .18s ease}.app-nav-brand:hover{transform:translateY(-1px);opacity:.95}.app-brand-badge{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#10b981,#06b6d4);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 4px 14px #10b98159;flex-shrink:0;transition:transform .2s ease,box-shadow .2s ease}.app-nav-brand:hover .app-brand-badge{transform:scale(1.05) rotate(-2deg);box-shadow:0 6px 18px #10b98173}.app-brand-svg{width:20px;height:20px}.app-brand-text{display:flex;align-items:center;gap:.55rem}.app-title{font-size:1.18rem;font-weight:800;color:#0f172a;letter-spacing:-.025em}.app-nav-route-indicator{display:flex;align-items:center;gap:.65rem}.nav-route-divider{color:#cbd5e1;font-size:1.1rem;font-weight:300;-webkit-user-select:none;user-select:none}.nav-route-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .75rem;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9999px;font-size:.78rem;font-weight:700;color:#334155;letter-spacing:-.01em;transition:all .2s ease}.nav-route-dot{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 #10b98199;animation:navPulse 2s infinite;flex-shrink:0}@keyframes navPulse{0%{transform:scale(.95);box-shadow:0 0 #10b98199}70%{transform:scale(1.15);box-shadow:0 0 0 5px #10b98100}to{transform:scale(.95);box-shadow:0 0 #10b98100}}.nav-route-icon{font-size:.85rem;line-height:1}.nav-route-name{white-space:nowrap}.btn-nav-return-home{display:inline-flex;align-items:center;gap:.45rem;background:#fff;border:1px solid #cbd5e1;color:#334155;padding:.4rem .85rem;border-radius:9999px;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 3px #0000000a;white-space:nowrap}.btn-nav-return-home:hover{background:#f8fafc;border-color:#6366f1;color:#4f46e5;box-shadow:0 2px 8px #6366f12e;transform:translateY(-1px)}.btn-nav-return-home:active{transform:translateY(0)}.nav-return-icon{font-size:.9rem;font-weight:700;transition:transform .15s ease}.btn-nav-return-home:hover .nav-return-icon{transform:translate(-2px)}.nav-return-label{font-size:inherit}.nav-tabs{display:flex;align-items:center;gap:.35rem;background:#f1f5f9;padding:.25rem;border-radius:10px;border:1px solid #e2e8f0}.nav-tab{display:inline-flex;align-items:center;gap:.45rem;background:transparent;border:none;color:#64748b;padding:.48rem .95rem;border-radius:8px;font-size:.86rem;font-weight:600;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;transition:all .16s ease}.nav-tab:hover{color:#0f172a;background:#ffffffb3}.nav-tab.active{background:#fff;color:#0f172a;font-weight:700;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a}.nav-tab-icon{font-size:.95rem;line-height:1}.nav-tab-label{font-size:inherit}.app-nav-right{display:flex;align-items:center;gap:.85rem}.btn-admin-portal-trigger{display:flex;align-items:center;gap:.45rem;background:#fff;border:1px solid #cbd5e1;color:#334155;padding:.5rem 1rem;border-radius:9999px;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #00000008}.btn-admin-portal-trigger:hover{background:#f8fafc;border-color:#6366f1;color:#4f46e5;box-shadow:0 2px 8px #6366f126;transform:translateY(-1px)}.app-nav-auth-box{display:flex;align-items:center;gap:.65rem;flex-shrink:0}.nav-admin-chip{display:inline-flex;align-items:center;gap:.5rem;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;padding:.42rem .85rem;border-radius:9999px;font-size:.82rem;font-weight:600;white-space:nowrap;box-shadow:0 1px 2px #00000008;-webkit-user-select:none;user-select:none}.nav-admin-chip-content{display:inline-flex;align-items:center;gap:.25rem}.nav-admin-chip-prefix{font-weight:700;color:#15803d}.nav-admin-chip-name{font-weight:700;color:#0f172a}.nav-admin-chip-role{color:#166534;font-weight:600}.nav-pulse-dot{width:7px;height:7px;background:#22c55e;border-radius:50%;animation:adminPulse 1.8s infinite;flex-shrink:0}@keyframes adminPulse{0%{transform:scale(.95);opacity:.8}50%{transform:scale(1.3);opacity:1;box-shadow:0 0 8px #22c55e99}to{transform:scale(.95);opacity:.8}}.btn-nav-logout{display:inline-flex;align-items:center;gap:.4rem;background:#fff;color:#dc2626;border:1px solid #fecaca;padding:.45rem .9rem;border-radius:9999px;font-size:.82rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .15s ease;box-shadow:0 1px 2px #00000008}.btn-nav-logout:hover{background:#fef2f2;border-color:#f87171;color:#b91c1c;transform:translateY(-1px);box-shadow:0 2px 6px #dc26261f}.btn-logout-icon{font-size:.92rem;line-height:1}.btn-logout-text{font-size:inherit}.custom-lang-container{position:relative;-webkit-user-select:none;user-select:none}.custom-lang-trigger{display:flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #cbd5e1;color:#1e293b;padding:.48rem .85rem;border-radius:9999px;font-size:.84rem;font-weight:600;cursor:pointer;outline:none;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px #00000008}.custom-lang-trigger:hover,.custom-lang-trigger.open{border-color:#6366f1;color:#4f46e5;background-color:#f8fafc;box-shadow:0 2px 8px #6366f11f}.custom-lang-flag{font-size:1.15rem;line-height:1}.custom-lang-label{font-weight:600;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-lang-chevron{font-size:.65rem;color:#64748b;transition:transform .2s ease}.custom-lang-trigger.open .custom-lang-chevron{transform:rotate(180deg)}.custom-lang-popover{position:absolute;top:calc(100% + 8px);width:300px;max-width:min(320px,calc(100vw - 24px));box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 10px 30px -5px #0000001f,0 0 0 1px #0000000a;z-index:1000;overflow:hidden;animation:popoverFadeIn .2s cubic-bezier(.16,1,.3,1)}.custom-lang-popover.popover-align-right{right:0;left:auto}.custom-lang-popover.popover-align-left{left:0;right:auto}@keyframes popoverFadeIn{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.custom-lang-search-box{position:relative;display:flex;align-items:center;padding:.65rem .75rem;border-bottom:1px solid #f1f5f9;background:#f8fafc}.custom-lang-search-icon{font-size:.85rem;margin-right:.45rem;opacity:.6}.custom-lang-search-input{flex:1;border:none;background:transparent;font-size:.84rem;color:#0f172a;outline:none;font-family:inherit}.custom-lang-search-input::placeholder{color:#94a3b8}.custom-lang-clear-search{background:transparent;border:none;color:#94a3b8;font-size:.8rem;cursor:pointer;padding:.2rem;border-radius:4px}.custom-lang-clear-search:hover{color:#0f172a}.custom-lang-menu-list{max-height:280px;overflow-y:auto;padding:.4rem}.custom-lang-item{display:flex;align-items:center;gap:.65rem;padding:.55rem .65rem;border-radius:8px;cursor:pointer;transition:all .15s ease}.custom-lang-item:hover{background:#f1f5f9}.custom-lang-item.selected{background:#eef2ff}.lang-item-flag{font-size:1.25rem;line-height:1;flex-shrink:0}.lang-item-info{flex:1;display:flex;flex-direction:column;line-height:1.2}.lang-item-native{font-size:.86rem;font-weight:700;color:#0f172a}.lang-item-english{font-size:.73rem;color:#64748b;margin-top:.1rem}.custom-lang-item.selected .lang-item-native{color:#4338ca}.lang-item-check{font-size:.95rem;font-weight:800;color:#4f46e5}.custom-lang-empty{padding:1.5rem;text-align:center;color:#94a3b8;font-size:.85rem}.segmented-theme-switch{position:relative;display:flex;align-items:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9999px;padding:3px;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px 2px #0000000a}.theme-switch-slider{position:absolute;top:3px;bottom:3px;width:calc(50% - 3px);border-radius:9999px;background:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000000f;transition:transform .25s cubic-bezier(.4,0,.2,1),background .25s ease;pointer-events:none}.theme-switch-slider.light{transform:translate(0)}.theme-switch-slider.dark{transform:translate(100%)}.theme-segment-btn{position:relative;z-index:1;display:flex;align-items:center;gap:.35rem;border:none;background:transparent;color:#64748b;padding:.35rem .75rem;border-radius:9999px;font-size:.8rem;font-weight:600;cursor:pointer;outline:none;transition:color .2s ease}.theme-segment-btn.active{color:#0f172a;font-weight:700}.theme-segment-icon{font-size:.95rem;line-height:1}.app-loading{padding:4rem 2rem;text-align:center;color:#64748b;font-size:1rem}html[data-theme=dark],body.dark-mode,html[data-theme=dark] body{background-color:#090d16!important;color:#f8fafc!important}html[data-theme=dark] ::-webkit-scrollbar-track{background:#090d16}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#26334d}html[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#3b4d70}html[data-theme=dark] .app-nav{background:#0b0f19e6!important;border-bottom:1px solid #1e293b!important;box-shadow:0 4px 20px #00000080!important}html[data-theme=dark] .app-title{color:#f8fafc!important}html[data-theme=dark] .nav-route-divider{color:#334155!important}html[data-theme=dark] .nav-route-pill{background:#131b2e!important;border-color:#26334d!important;color:#e2e8f0!important}html[data-theme=dark] .btn-nav-return-home{background:#131b2e!important;border-color:#26334d!important;color:#cbd5e1!important;box-shadow:0 1px 3px #0003!important}html[data-theme=dark] .btn-nav-return-home:hover{background:#1e293b!important;border-color:#818cf8!important;color:#c7d2fe!important;box-shadow:0 2px 10px #818cf840!important}html[data-theme=dark] .nav-tabs{background:#0f172a!important;border-color:#334155!important}html[data-theme=dark] .nav-tab{color:#94a3b8!important}html[data-theme=dark] .nav-tab:hover{color:#f8fafc!important;background:#33415566!important}html[data-theme=dark] .nav-tab.active{background:#334155!important;color:#f8fafc!important;box-shadow:0 1px 4px #0000004d!important}html[data-theme=dark] .custom-lang-trigger{background:#1e293b!important;border-color:#334155!important;color:#f8fafc!important}html[data-theme=dark] .custom-lang-trigger:hover,html[data-theme=dark] .custom-lang-trigger.open{border-color:#818cf8!important;background:#243048!important;box-shadow:0 2px 12px #818cf833!important}html[data-theme=dark] .custom-lang-popover{background:#131b2e!important;border-color:#26334d!important;box-shadow:0 12px 36px #0009,0 0 0 1px #ffffff0d!important}html[data-theme=dark] .custom-lang-search-box{background:#0f172a!important;border-bottom-color:#26334d!important}html[data-theme=dark] .custom-lang-search-input{color:#f8fafc!important}html[data-theme=dark] .custom-lang-search-input::placeholder{color:#64748b!important}html[data-theme=dark] .custom-lang-item:hover{background:#1e293b!important}html[data-theme=dark] .custom-lang-item.selected{background:#1e1b4b!important}html[data-theme=dark] .lang-item-native{color:#f8fafc!important}html[data-theme=dark] .lang-item-english{color:#94a3b8!important}html[data-theme=dark] .custom-lang-item.selected .lang-item-native{color:#a5b4fc!important}html[data-theme=dark] .lang-item-check{color:#818cf8!important}html[data-theme=dark] .segmented-theme-switch{background:#0f172a!important;border-color:#334155!important}html[data-theme=dark] .theme-switch-slider{background:#334155!important;box-shadow:0 2px 8px #0006!important}html[data-theme=dark] .theme-segment-btn{color:#94a3b8!important}html[data-theme=dark] .theme-segment-btn.active{color:#f8fafc!important}html[data-theme=dark] .btn-admin-portal-trigger{background:#1e293b!important;border-color:#334155!important;color:#e2e8f0!important}html[data-theme=dark] .btn-admin-portal-trigger:hover{background:#273549!important;border-color:#818cf8!important;color:#c7d2fe!important}html[data-theme=dark] .nav-admin-chip{background:#22c55e1f!important;border-color:#22c55e4d!important;color:#4ade80!important}html[data-theme=dark] .nav-admin-chip-prefix,html[data-theme=dark] .nav-admin-chip-role{color:#4ade80!important}html[data-theme=dark] .nav-admin-chip-name{color:#f8fafc!important}html[data-theme=dark] .btn-nav-logout{background:#1e293b!important;border-color:#7f1d1d!important;color:#f87171!important}html[data-theme=dark] .btn-nav-logout:hover{background:#450a0a!important;color:#fca5a5!important}html[data-theme=dark] .invoice-page-container,body.dark-mode .invoice-page-container{--canvas-bg: #090d16 !important;--surface: #111827 !important;--surface-subtle: #111827 !important;--surface-alt: #0c1220 !important;--border: #1e293b !important;--border-strong: #334155 !important;--border-focus: #10b981 !important;--text-main: #f8fafc !important;--text-secondary: #cbd5e1 !important;--text-muted: #94a3b8 !important;--text-faint: #64748b !important;--shadow-sheet: 0 16px 48px rgba(0, 0, 0, .6), 0 0 0 1px rgba(38, 51, 77, .9) !important;background-color:#090d16!important;background-image:radial-gradient(at 15% 15%,rgba(16,185,129,.08) 0px,transparent 55%),radial-gradient(at 85% 10%,rgba(6,182,212,.08) 0px,transparent 55%),radial-gradient(at 50% 90%,rgba(99,102,241,.05) 0px,transparent 55%)!important;color:#f8fafc!important}html[data-theme=dark] .invoice-sheet,body.dark-mode .invoice-sheet{background:#111827!important;border-color:#1e293b!important;color:#f8fafc!important}html[data-theme=dark] .invoice-title-heading,body.dark-mode .invoice-title-heading{color:#f8fafc!important}html[data-theme=dark] .invoice-title-heading:hover,body.dark-mode .invoice-title-heading:hover{background:#1e293b!important;color:#34d399!important}html[data-theme=dark] .btn-title-dropdown,body.dark-mode .btn-title-dropdown{background:#1e293b!important;border-color:#334155!important}html[data-theme=dark] .dropdown-caret,body.dark-mode .dropdown-caret{color:#cbd5e1!important}html[data-theme=dark] .title-input-edit,body.dark-mode .title-input-edit{background:#0c1220!important;color:#f8fafc!important;border-color:#10b981!important}html[data-theme=dark] .title-presets-menu,body.dark-mode .title-presets-menu{background:#111827!important;border-color:#1e293b!important;box-shadow:0 12px 28px -4px #0009!important}html[data-theme=dark] .presets-menu-header,body.dark-mode .presets-menu-header{border-bottom-color:#1e293b!important;color:#94a3b8!important}html[data-theme=dark] .preset-item,body.dark-mode .preset-item{color:#f8fafc!important}html[data-theme=dark] .preset-item:hover,body.dark-mode .preset-item.active{background:#1e293b!important;color:#34d399!important}html[data-theme=dark] .success-sheet h2,body.dark-mode .success-sheet h2{color:#f8fafc!important}html[data-theme=dark] .success-sheet p,body.dark-mode .success-sheet p{color:#94a3b8!important}html[data-theme=dark] .invoice-edit-banner{background:#111827!important;border-color:#1d4ed8!important}html[data-theme=dark] .invoice-edit-info{color:#93c5fd!important}html[data-theme=dark] .btn-edit-cancel{background:#090d16!important;color:#93c5fd!important;border-color:#3b82f6!important}html[data-theme=dark] .sidebar-action-card,html[data-theme=dark] .sidebar-settings-card{background:#111827!important;border-color:#1e293b!important;box-shadow:0 6px 18px #00000059!important}html[data-theme=dark] .settings-header-toggle{background:#0f172a!important;border-bottom-color:#1e293b!important;color:#f8fafc!important}html[data-theme=dark] .setting-group label{color:#94a3b8!important}html[data-theme=dark] .setting-select,html[data-theme=dark] .setting-input{background-color:#0c1220!important;color:#f8fafc!important;border-color:#26334d!important}html[data-theme=dark] .setting-select option{background-color:#0c1220!important;color:#f8fafc!important}html[data-theme=dark] .btn-download-link,html[data-theme=dark] .btn-share-link,html[data-theme=dark] .btn-cancel-action{background:#0c1220!important;border-color:#26334d!important;color:#f8fafc!important}html[data-theme=dark] .btn-download-link:hover,html[data-theme=dark] .btn-share-link:hover,html[data-theme=dark] .btn-cancel-action:hover{background:#1e293b!important;border-color:#475569!important}html[data-theme=dark] .invoice-sheet input:not([type=checkbox]),html[data-theme=dark] .invoice-sheet textarea,html[data-theme=dark] .invoice-sheet select{background-color:#0c1220!important;color:#f8fafc!important;border-color:#26334d!important}html[data-theme=dark] .invoice-sheet input:focus,html[data-theme=dark] .invoice-sheet textarea:focus,html[data-theme=dark] .invoice-sheet select:focus{background-color:#070a12!important;border-color:#10b981!important;box-shadow:0 0 0 3px #10b98140!important}html[data-theme=dark] .table-responsive-wrapper{border-color:#1e293b!important}html[data-theme=dark] .navy-table-header{background:#0f172a!important;border-bottom-color:#1e293b!important;border-top-color:#1e293b!important;color:#94a3b8!important}html[data-theme=dark] .table-body{border-color:#1e293b!important;background:#111827!important}html[data-theme=dark] .table-row{border-bottom-color:#1e293b!important;background:#111827!important}html[data-theme=dark] .table-row:hover{background:#162032!important}html[data-theme=dark] .btn-add-line-item{background:#0c1220!important;border-color:#1e293b!important;color:#34d399!important}html[data-theme=dark] .btn-add-line-item:hover{background:#131b2e!important;border-color:#10b981!important}html[data-theme=dark] .meta-card,html[data-theme=dark] .client-card,html[data-theme=dark] .shipping-card{background:#0f172a!important;border-color:#1e293b!important}html[data-theme=dark] .number-box-row{background:#0c1220!important;border-color:#26334d!important}html[data-theme=dark] .number-prefix-badge{background:#0f172a!important;border-right-color:#26334d!important}html[data-theme=dark] .number-label-input,html[data-theme=dark] .number-value-input{color:#f8fafc!important}html[data-theme=dark] .totals-summary-card{background:#0f172a!important;border-color:#1e293b!important}html[data-theme=dark] .total-row{border-color:#1e293b!important}html[data-theme=dark] .total-label{color:#94a3b8!important}html[data-theme=dark] .total-label.bold,html[data-theme=dark] .total-val{color:#f8fafc!important}html[data-theme=dark] .grand-total-row{background:linear-gradient(135deg,#064e3b,#065f46)!important;box-shadow:0 4px 20px #10b9814d!important}html[data-theme=dark] .grand-total-val{color:#a7f3d0!important}html[data-theme=dark] .balance-val{color:#f87171!important}html[data-theme=dark] .balance-val.paid-full{color:#34d399!important}html[data-theme=dark] .notes-card,html[data-theme=dark] .terms-card{background:#0c1220!important;border-color:#26334d!important}html[data-theme=dark] .section-label-subtle{color:#94a3b8!important}html[data-theme=dark] .char-count{color:#64748b!important}html[data-theme=dark] .logo-upload-dropzone,html[data-theme=dark] .logo-upload-box{background:#0c1220!important;border-color:#26334d!important}html[data-theme=dark] .logo-upload-dropzone:hover,html[data-theme=dark] .logo-upload-box:hover{background:#131b2e!important;border-color:#10b981!important}html[data-theme=dark] .btn-action-chip{background:#0c1220!important;border-color:#26334d!important;color:#94a3b8!important}html[data-theme=dark] .btn-action-chip:hover{background:#131b2e!important;color:#f8fafc!important;border-color:#3b4d70!important}html[data-theme=dark] .currency-prefix,html[data-theme=dark] .tax-unit{background:#131b2e!important;border-color:#26334d!important;color:#94a3b8!important}html[data-theme=dark] .btn-remove-row{background:#0c1220!important;border-color:#26334d!important;color:#94a3b8!important}html[data-theme=dark] .btn-remove-row:hover:not(:disabled){background:#450a0a!important;border-color:#7f1d1d!important;color:#f87171!important}html[data-theme=dark] .admin-container,html[data-theme=dark] .admin-title{color:#f8fafc!important}html[data-theme=dark] .stat-card,html[data-theme=dark] .metric-card,html[data-theme=dark] .admin-table-container,html[data-theme=dark] .admin-table-card,html[data-theme=dark] .admin-toolbar,html[data-theme=dark] .admin-filter-bar,html[data-theme=dark] .admin-search-wrapper input,html[data-theme=dark] .admin-filter-select{background:#131b2e!important;border-color:#26334d!important;color:#f8fafc!important}html[data-theme=dark] .admin-table th,html[data-theme=dark] .admin-invoices-table th{background:#0c1220!important;border-color:#26334d!important;color:#94a3b8!important}html[data-theme=dark] .admin-table td,html[data-theme=dark] .admin-invoices-table td{border-color:#26334d!important;color:#e2e8f0!important}html[data-theme=dark] .admin-table tr:hover td,html[data-theme=dark] .admin-invoices-table tr:hover td{background:#1a243a!important}html[data-theme=dark] .stat-card-label,html[data-theme=dark] .metric-label{color:#94a3b8!important}html[data-theme=dark] .stat-card-value{color:#f8fafc!important}html[data-theme=dark] .admin-modal,html[data-theme=dark] .admin-modal-card,html[data-theme=dark] .share-modal,html[data-theme=dark] .share-modal-container{background:#131b2e!important;border-color:#26334d!important;color:#f8fafc!important;box-shadow:0 16px 48px #000000b3!important}html[data-theme=dark] .share-modal-title{color:#f8fafc!important}html[data-theme=dark] .share-modal-desc{color:#94a3b8!important}html[data-theme=dark] .share-copy-input{background:#0c1220!important;border-color:#26334d!important;color:#f8fafc!important}@media (max-width: 900px){:root{--nav-height: 64px}.app-nav{padding:.6rem 1.25rem;gap:.75rem}.app-nav-left{gap:.85rem}}@media (max-width: 680px){:root{--nav-height: 58px}.app-nav{padding:.5rem .85rem;gap:.5rem}.app-title{font-size:1.02rem}.app-brand-icon{width:34px;height:34px;font-size:1.3rem}.app-version-badge{display:none}.nav-tabs{gap:2px;padding:2px}.nav-tab{padding:.38rem .65rem;font-size:.8rem}.custom-lang-label{max-width:60px}.nav-admin-chip{padding:.35rem .65rem;font-size:.78rem}.btn-nav-logout{padding:.38rem .65rem;font-size:.78rem}.btn-admin-portal-trigger{padding:.45rem .75rem;font-size:.8rem}.nav-return-label{display:none}.btn-nav-return-home{padding:.35rem .6rem}}@media (max-width: 520px){:root{--nav-height: 54px}.app-nav{padding:.45rem .55rem;gap:.35rem}.nav-route-name{display:none}.nav-route-pill{padding:.22rem .45rem}.app-brand-icon{width:30px;height:30px;font-size:1.15rem;border-radius:8px}.app-title{font-size:.94rem}.app-version-badge,.custom-lang-label,.theme-segment-text{display:none}.theme-segment-btn{padding:4px 6px;font-size:.78rem}.nav-admin-chip-role{display:none}.nav-admin-chip{padding:.3rem .55rem;font-size:.76rem}.btn-nav-logout{padding:.32rem .55rem;font-size:.76rem}.btn-admin-portal-trigger{padding:.38rem .6rem;font-size:.78rem}.nav-tab{padding:.35rem .5rem;font-size:.76rem}.custom-lang-popover{width:min(290px,calc(100vw - 16px))}}@media (max-width: 400px){.app-nav{padding:.35rem .4rem;gap:.25rem}.app-title,.nav-admin-chip-prefix,.nav-tab-label{display:none}.nav-tab{padding:.35rem .45rem;font-size:.92rem}.btn-logout-text{display:none}.btn-nav-logout{padding:.32rem .45rem}}.invoice-loader-container{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4.5rem 1.5rem 4rem;margin:2.5rem auto;max-width:580px;width:90%;text-align:center;overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(16,185,129,.08),transparent 70%);border:1px solid rgba(226,232,240,.85);border-radius:24px;box-shadow:0 1px 3px #00000005,0 12px 32px -4px #0f172a0f,0 24px 60px -12px #0f172a14;animation:invLoaderFadeIn .3s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@keyframes invLoaderFadeIn{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.invoice-loader-glow{position:absolute;top:20%;left:50%;transform:translate(-50%,-50%);width:260px;height:260px;background:radial-gradient(circle,rgba(16,185,129,.22) 0%,rgba(6,182,212,.15) 50%,transparent 70%);filter:blur(32px);pointer-events:none;z-index:1}.invoice-loader-orb{position:relative;width:88px;height:88px;margin-bottom:1.25rem;display:flex;align-items:center;justify-content:center;z-index:2}.inv-orb-ring-outer{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px dashed rgba(16,185,129,.35);border-top-color:#10b981;border-right-color:#06b6d4;animation:invSpinOuter 6s linear infinite}.inv-orb-ring-inner{position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:50%;border:2px solid transparent;border-bottom-color:#10b981;border-left-color:#34d399;animation:invSpinInner 3s cubic-bezier(.68,-.55,.27,1.55) infinite reverse}.inv-orb-pulse{position:absolute;top:12px;right:12px;bottom:12px;left:12px;border-radius:50%;background:#10b9811f;animation:invPulse 2s ease-in-out infinite alternate}@keyframes invSpinOuter{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes invSpinInner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes invPulse{0%{transform:scale(.92);opacity:.6}to{transform:scale(1.08);opacity:1}}.inv-emblem{position:relative;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#fff,#ecfdf5);border:1.5px solid #a7f3d0;box-shadow:0 4px 12px #10b98140,inset 0 1px 2px #fffc;display:flex;align-items:center;justify-content:center;color:#059669}.inv-emblem-svg{width:26px;height:26px;animation:invEmblemFloat 2.5s ease-in-out infinite alternate}@keyframes invEmblemFloat{0%{transform:translateY(-1px) scale(.98)}to{transform:translateY(2px) scale(1.02)}}.inv-pulse-dot{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 2px #fff;animation:invDotPing 1.8s infinite}@keyframes invDotPing{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.3)}}.inv-badge-pill{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .85rem;border-radius:9999px;background:#10b9811a;border:1px solid rgba(16,185,129,.28);margin-bottom:.9rem;z-index:2}.inv-badge-dot{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 6px #10b981}.inv-badge-text{font-size:.76rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#059669}.inv-loader-title{font-size:1.25rem;font-weight:800;color:#0f172a;letter-spacing:-.02em;margin:0 0 .4rem;z-index:2}.inv-loader-subtitle{font-size:.85rem;color:#64748b;margin:0 0 1.5rem;max-width:400px;line-height:1.5;z-index:2}.inv-progress-track{width:240px;height:4px;background:#e2e8f0;border-radius:9999px;overflow:hidden;position:relative;margin-bottom:1.75rem;z-index:2}.inv-progress-bar{position:absolute;top:0;left:0;bottom:0;width:50%;background:linear-gradient(90deg,#10b981,#06b6d4);border-radius:9999px;animation:invProgressMove 1.4s ease-in-out infinite alternate}@keyframes invProgressMove{0%{left:0%;width:30%}to{left:60%;width:40%}}.inv-skeleton-preview{width:100%;max-width:400px;display:flex;flex-direction:column;gap:.65rem;opacity:.6;z-index:2}.inv-skeleton-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;border-bottom:1px dashed rgba(226,232,240,.7)}.inv-sk-item{height:8px;border-radius:4px;background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9,#e2e8f0 75%);background-size:200% 100%;animation:invShimmer 1.5s infinite}.w-16{width:4rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-32{width:8rem}.w-40{width:10rem}@keyframes invShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}html[data-theme=dark] .invoice-loader-container{background:#111827!important;border-color:#1e293b!important;box-shadow:0 16px 48px #0009!important}html[data-theme=dark] .inv-emblem{background:linear-gradient(135deg,#131b2e,#064e3b)!important;border-color:#10b981!important;color:#34d399!important}html[data-theme=dark] .inv-pulse-dot{box-shadow:0 0 0 2px #111827!important}html[data-theme=dark] .inv-badge-pill{background:#10b98126!important;border-color:#10b98159!important}html[data-theme=dark] .inv-badge-text{color:#34d399!important}html[data-theme=dark] .inv-loader-title{color:#f8fafc!important}html[data-theme=dark] .inv-loader-subtitle{color:#94a3b8!important}html[data-theme=dark] .inv-progress-track{background:#1e293b!important}html[data-theme=dark] .inv-skeleton-row{border-bottom-color:#1e293bb3!important}html[data-theme=dark] .inv-sk-item{background:linear-gradient(90deg,#1e293b 25%,#26334d,#1e293b 75%)!important;background-size:200% 100%!important}
