.qr-modal-overlay{position:fixed;inset:0;background:var(--theme-overlay);display:flex;align-items:center;justify-content:center;z-index:var(--z-popover);backdrop-filter:blur(4px);isolation:isolate;animation:qrOverlayFadeIn .2s ease-out}@keyframes qrOverlayFadeIn{0%{opacity:0}to{opacity:1}}.qr-modal{background:var(--theme-bg-page);border-radius:16px;box-shadow:0 20px 60px #0003;width:90%;max-width:600px;max-height:90vh;overflow:auto;animation:qrModalSlideUp .25s cubic-bezier(.34,1.56,.64,1)}@keyframes qrModalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.qr-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:none;background:var(--modal-header-bg);color:var(--modal-header-color);border-radius:16px 16px 0 0}.qr-modal-header h2{display:flex;align-items:center;gap:12px;margin:0;font-size:22px;font-weight:600;color:var(--modal-header-color)}.qr-close-button{background:var(--close-btn-bg);border:1px solid var(--close-btn-border);padding:8px;cursor:pointer;border-radius:var(--close-btn-radius);display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast);color:var(--close-btn-color)}.qr-close-button:hover{background:var(--close-btn-hover-bg);border-color:var(--close-btn-hover-border)}.qr-modal-content{padding:32px 24px;display:flex;flex-direction:column;align-items:center;gap:24px}.qr-code-container{background:var(--theme-bg-card);padding:20px;border-radius:12px;box-shadow:0 4px 12px #0000001a;border:2px solid var(--theme-border-medium)}.qr-code-container canvas{display:block;border-radius:8px}.qr-info{width:100%;text-align:center}.qr-info h3{margin:0 0 8px;font-size:20px;font-weight:600;color:var(--theme-text-heading)}.qr-description{margin:0 0 20px;color:var(--theme-text-gray);line-height:1.6;font-size:15px}.qr-url-section{margin:20px 0;padding:16px;background:var(--theme-bg-secondary);border-radius:8px;border:1px solid var(--theme-border-medium)}.qr-url-section label{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--theme-text-gray);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.qr-url-display{padding:10px 12px;background:var(--theme-bg-card);border-radius:6px;border:1px solid var(--theme-border-muted);font-family:Monaco,Menlo,monospace;font-size:13px;color:var(--theme-info);word-break:break-all}.qr-legend{margin-top:24px;padding:20px;background:linear-gradient(135deg,var(--theme-info-bg) 0%,var(--theme-info-bg) 100%);border-radius:12px;border:1px solid var(--theme-info-border);text-align:left}.qr-legend h4{margin:0 0 12px;font-size:16px;font-weight:600;color:var(--theme-info-dark);display:flex;align-items:center;gap:8px}.qr-legend ul{margin:0;padding:0;list-style:none}.qr-legend li{padding:6px 0;color:var(--theme-info-dark);font-size:14px;display:flex;align-items:center;gap:8px}.qr-modal-footer{padding:20px 24px;border-top:1px solid var(--theme-border-medium);display:flex;justify-content:center;gap:12px}.print-button{display:flex;align-items:center;gap:8px;padding:var(--btn-padding);background:var(--btn-primary-bg);color:var(--btn-primary-color);border:none;border-radius:var(--btn-radius);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);box-shadow:var(--btn-primary-shadow)}.print-button:hover{transform:translateY(-1px);box-shadow:var(--btn-primary-hover-shadow)}@media print{.qr-modal-overlay{background:var(--theme-bg-card)}.qr-modal{box-shadow:none;max-width:100%;border-radius:0}.no-print{display:none!important}.qr-modal-content{padding:40px}.qr-code-container{margin-bottom:30px}.qr-legend{page-break-before:avoid}}@media (max-width: 640px){.qr-modal{width:95%;max-height:95vh}.qr-modal-header{padding:16px}.qr-modal-content{padding:24px 16px}.qr-code-container canvas{width:250px;height:250px}.qr-legend{padding:16px}}.confirm-dialog-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:var(--z-toast);backdrop-filter:blur(4px);animation:confirmFadeIn .15s ease}@keyframes confirmFadeIn{0%{opacity:0}to{opacity:1}}.confirm-dialog{background:var(--theme-bg-page);border-radius:16px;padding:24px 28px;max-width:420px;width:90%;max-height:85vh;overflow-y:auto;box-shadow:0 20px 60px #0003;animation:confirmSlideIn .25s cubic-bezier(.34,1.56,.64,1)}@keyframes confirmSlideIn{0%{transform:translateY(30px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.confirm-dialog-message{font-size:15px;color:var(--theme-text-heading);margin:0 0 20px;line-height:1.5;white-space:pre-line}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.confirm-dialog-btn{padding:var(--btn-padding);border:none;border-radius:var(--btn-radius);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition)}.confirm-dialog-btn.confirm-no{background:var(--btn-secondary-bg);color:var(--btn-secondary-color)}.confirm-dialog-btn.confirm-no:hover{background:var(--btn-secondary-hover-bg)}.confirm-dialog-btn.confirm-yes{background:var(--btn-primary-bg);color:var(--btn-primary-color);box-shadow:var(--btn-primary-shadow)}.confirm-dialog-btn.confirm-yes:hover{box-shadow:var(--btn-primary-hover-shadow);transform:translateY(-1px)}.unsaved-changes-dialog{text-align:center}.unsaved-icon{font-size:2rem;margin-bottom:8px}.unsaved-actions{flex-wrap:wrap;justify-content:center;gap:8px}.confirm-dialog-btn.confirm-discard{background:var(--btn-danger-filled-bg, var(--theme-danger));color:var(--btn-danger-filled-color, white)}.confirm-dialog-btn.confirm-discard:hover{background:var(--theme-danger-dark, var(--theme-danger-dark));transform:translateY(-1px)}@media (max-width: 480px){.confirm-dialog{padding:18px 20px;max-width:95%;border-radius:12px}.confirm-dialog-message{font-size:14px}.confirm-dialog-actions{flex-direction:column}.confirm-dialog-btn{width:100%;justify-content:center}}[data-theme=dark] .confirm-dialog-message{color:var(--theme-text-primary)}.overdue-intervention-modal-overlay{position:fixed;inset:0;background-color:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:var(--z-popover);animation:oiFadeIn .2s ease-out;backdrop-filter:blur(4px);isolation:isolate}@keyframes oiFadeIn{0%{opacity:0}to{opacity:1}}.overdue-intervention-modal{background:var(--theme-bg-page);border-radius:16px;width:90%;max-width:500px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0003;animation:oiSlideUp .25s cubic-bezier(.34,1.56,.64,1)}@keyframes oiSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.overdue-intervention-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:var(--theme-danger-gradient);color:var(--theme-text-inverse);border-radius:var(--modal-header-border-radius)}.overdue-intervention-modal-header h2{font-size:20px;font-weight:600;margin:0}.close-button{background:var(--close-btn-bg);border:1px solid var(--close-btn-border);color:var(--close-btn-color);cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:var(--close-btn-radius);transition:all var(--transition-fast)}.close-button:hover{background:var(--close-btn-hover-bg);border-color:var(--close-btn-hover-border)}.overdue-intervention-modal-content{padding:24px;overflow-y:auto;flex:1;min-height:0}.overdue-intervention-modal-content::-webkit-scrollbar{width:var(--scrollbar-width-thin)}.overdue-intervention-modal-content::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:var(--scrollbar-radius);margin:8px 0}.overdue-intervention-modal-content::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:var(--scrollbar-radius)}.overdue-intervention-modal-content::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.intervention-info{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--theme-border-medium)}.intervention-info h3{font-size:18px;font-weight:600;margin:0 0 12px;color:var(--theme-bg-dark)}.intervention-description{color:var(--theme-text-subtle);font-size:15px;margin:0 0 8px;line-height:1.5}.intervention-dates{color:var(--theme-text-gray);font-size:14px;margin:0;font-style:italic}.overdue-intervention-modal .action-buttons{display:flex;flex-direction:column;gap:12px;padding:16px 24px;border-top:1px solid var(--theme-border-medium);background:var(--theme-bg-secondary);border-radius:0 0 16px 16px;flex-shrink:0}.action-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border:2px solid;border-radius:var(--btn-radius);font-size:15px;font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);background:var(--theme-bg-card)}.action-button.completed{border-color:var(--theme-success);color:var(--theme-success)}.action-button.completed:hover{background:var(--theme-success);color:var(--theme-text-inverse);transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.action-button.not-completed{border-color:var(--theme-danger);color:var(--theme-danger)}.action-button.not-completed:hover{background:var(--theme-danger);color:var(--theme-text-inverse);transform:translateY(-2px);box-shadow:0 4px 12px #ef44444d}.action-button.reschedule{border-color:var(--btn-warning-color, var(--theme-warning-dark));color:var(--btn-warning-color, var(--theme-warning-dark))}.action-button.reschedule:hover{background:var(--btn-warning-color, var(--theme-warning-dark));color:var(--theme-text-inverse);transform:translateY(-2px);box-shadow:0 4px 12px #d977064d}.action-button.pending{border-color:var(--theme-primary-light);color:var(--theme-primary-light)}.action-button.pending:hover{background:var(--theme-primary-light);color:var(--theme-text-inverse);transform:translateY(-2px);box-shadow:var(--btn-primary-hover-shadow)}.reason-input-container{display:flex;flex-direction:column;gap:12px}.reason-input-container label{font-weight:500;color:var(--theme-text-body);font-size:14px}.reason-input-container textarea{padding:12px;border:2px solid var(--theme-border);border-radius:var(--btn-radius);font-size:14px;font-family:inherit;resize:vertical;transition:border-color .2s}.reason-input-container textarea:focus{outline:none;border-color:var(--focus-border, var(--theme-border-focus));box-shadow:var(--focus-ring)}.reason-actions{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px;border-top:1px solid var(--theme-border-medium);background:var(--theme-bg-secondary);border-radius:0 0 16px 16px;flex-shrink:0}.overdue-intervention-modal .cancel-button,.overdue-intervention-modal .confirm-button{height:40px;padding:0 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;box-sizing:border-box}.overdue-intervention-modal .cancel-button{background:var(--btn-secondary-bg);color:var(--btn-secondary-color)}.overdue-intervention-modal .cancel-button:hover{background:var(--btn-secondary-hover-bg)}.overdue-intervention-modal .confirm-button{background:var(--btn-danger-filled-bg);color:var(--btn-danger-filled-color)}.overdue-intervention-modal .confirm-button:hover{background:var(--theme-danger-dark);box-shadow:0 4px 12px #ef44444d}@media (max-width: 600px){.overdue-intervention-modal{width:95%;max-height:90vh}.overdue-intervention-modal-header{padding:16px 20px}.overdue-intervention-modal-content{padding:20px}.action-button{padding:12px 16px;font-size:14px}}.user-menu-overlay{position:fixed;inset:0;z-index:999}.user-menu-dropdown{position:absolute;top:50px;right:0;background:var(--theme-bg-card, white);border-radius:8px;box-shadow:0 4px 20px #00000026;overflow:hidden;min-width:200px;z-index:var(--z-overlay);border:1px solid var(--theme-border, var(--theme-border-medium))}.user-menu-header{padding:12px 16px;border-bottom:1px solid var(--theme-border, var(--theme-border-medium));background:var(--theme-bg-secondary, var(--theme-bg-secondary));display:flex;align-items:center;gap:12px}.user-menu-header .user-menu-name{font-weight:600;color:var(--theme-text-body, var(--theme-bg-dark))}.user-menu-header .user-menu-role{font-size:12px;color:var(--theme-text-secondary, var(--theme-text-gray));margin-top:2px}.user-menu-btn{width:100%;padding:12px 16px;border:none;background:var(--theme-bg-card, white);text-align:left;cursor:pointer;font-size:14px;color:var(--theme-text-body, var(--theme-text-body));transition:background .2s;display:flex;align-items:center;gap:10px}.user-menu-btn:hover{background:var(--theme-bg-secondary, var(--theme-bg-secondary))}.user-menu-btn.danger{color:var(--theme-danger-dark);font-weight:500}.user-menu-btn.danger:hover{background:var(--theme-danger-bg)}[data-theme=dark] .user-menu-btn.danger:hover{background:#dc262626}.user-menu-cancel{width:100%;padding:12px 16px;border:none;border-top:1px solid var(--theme-border, var(--theme-border-medium));background:var(--theme-bg-secondary, var(--theme-bg-secondary));text-align:center;cursor:pointer;font-size:13px;color:var(--theme-text-secondary, var(--theme-text-gray));transition:background .2s}.user-menu-cancel:hover{background:var(--theme-bg-tertiary, var(--theme-bg-tertiary))}.vehicle-slide-panel.open{width:400px;min-width:400px}.vdp-slide-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--modal-header-bg);color:var(--modal-header-color);flex-shrink:0;gap:10px}.vdp-slide-title-row{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.vdp-slide-color{width:8px;height:36px;border-radius:4px;flex-shrink:0;box-shadow:0 1px 4px #00000026,inset 0 1px #ffffff4d}.vdp-slide-title-info{min-width:0}.vdp-slide-name{font-size:15px;font-weight:700;color:var(--theme-text-inverse);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vdp-slide-badges{display:flex;gap:6px;margin-top:3px;flex-wrap:wrap}.vdp-slide-badge{padding:2px 10px;border-radius:20px;font-size:11px;font-weight:700;background:#fff3;color:var(--theme-text-inverse);text-transform:uppercase;letter-spacing:.3px}.vdp-slide-reg{font-family:SF Mono,Fira Code,monospace;letter-spacing:1px;background:#ffffff26;border:1px solid rgba(255,255,255,.25)}.vdp-slide-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:16px}.vdp-slide-body::-webkit-scrollbar{width:var(--scrollbar-width-thin)}.vdp-slide-body::-webkit-scrollbar-track{background:var(--scrollbar-track)}.vdp-slide-body::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:var(--scrollbar-radius)}.vdp-section{margin-bottom:16px}.vdp-photo-block{margin-bottom:12px;border-radius:10px;overflow:hidden;border:1px solid var(--theme-border);background:var(--theme-bg-card)}.vdp-photo{width:100%;height:auto;display:block;max-height:180px;object-fit:cover}.vdp-avatar{padding:12px;max-height:120px;object-fit:contain}.vdp-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vdp-info-item{display:flex;flex-direction:column;gap:2px}.vdp-info-item.vdp-full-width{grid-column:1 / -1}.vdp-info-label{font-size:10px;color:var(--theme-text-muted);font-weight:600;text-transform:uppercase;letter-spacing:.4px;display:block}.vdp-info-value{font-size:13px;color:var(--theme-text-dark)}.vdp-km-card{margin-top:10px;background:linear-gradient(135deg,var(--theme-info-bg) 0%,var(--theme-info-bg-strong) 60%,var(--theme-bg-indigo-light) 100%);border:1px solid var(--theme-info-border);border-radius:10px;padding:10px 14px}.vdp-km-label{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--theme-info);text-transform:uppercase;letter-spacing:.4px}.vdp-km-value{font-size:20px;font-weight:700;color:var(--theme-text-dark);margin-top:2px}.vdp-km-meta{display:flex;gap:12px;margin-top:4px;flex-wrap:wrap}.vdp-km-meta span{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--theme-text-subtle);font-weight:500}.vdp-actions{display:flex;gap:6px;flex-wrap:wrap}.vdp-action-btn{flex:1;min-width:80px;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 10px;border:none;border-radius:8px;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;color:var(--theme-text-inverse)}.vdp-action-btn:hover{transform:translateY(-1px)}.vdp-schedule{background:linear-gradient(135deg,var(--theme-success-alt) 0%,var(--theme-success-dark) 100%)}.vdp-schedule:hover{box-shadow:0 3px 8px #10b98166}.vdp-request{background:var(--theme-gradient)}.vdp-request:hover{box-shadow:0 3px 8px #667eea66}.vdp-km-ctrl{background:linear-gradient(135deg,var(--theme-info) 0%,#1d4ed8 100%)}.vdp-km-ctrl:hover{box-shadow:0 3px 8px #3b82f666}.vdp-breakdown{background:linear-gradient(135deg,var(--theme-warning) 0%,var(--theme-danger-dark) 100%)}.vdp-breakdown:hover{box-shadow:0 3px 8px #dc262666}.vdp-ct-list{display:flex;flex-direction:column;gap:8px}.vdp-ct-item{background:var(--theme-bg-card);border:1px solid var(--theme-border);border-radius:10px;padding:10px 12px}.vdp-ct-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.vdp-ct-type{font-weight:600;font-size:13px;color:var(--theme-text-heading)}.vdp-ct-badge{padding:2px 10px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}.vdp-ct-badge.deadline-expired{background:var(--theme-danger-bg);color:var(--theme-danger-text);animation:pulse-red 2s ease-in-out infinite}.vdp-ct-badge.deadline-warning{background:var(--theme-warning-bg);color:var(--theme-warning-text)}.vdp-ct-badge.deadline-ok{background:var(--btn-success-bg);color:var(--theme-success-text)}@keyframes pulse-red{0%,to{opacity:1}50%{opacity:.7}}.vdp-ct-dates{display:flex;flex-direction:column;gap:2px}.vdp-ct-dates span{font-size:12px;color:var(--theme-text-gray)}.vdp-intervention-list{display:flex;flex-direction:column;gap:8px}.vdp-intervention-item{background:var(--theme-bg-card);border:1px solid var(--theme-border);border-radius:10px;padding:10px 12px;border-left:3px solid var(--theme-border);transition:all .2s}.vdp-intervention-item.status-planned,.vdp-intervention-item.status-scheduled{border-left-color:var(--theme-info);background:linear-gradient(to right,var(--theme-info-bg),var(--theme-bg-card))}.vdp-intervention-item.status-completed,.vdp-intervention-item.status-COMPLETED{border-left-color:var(--theme-success-alt);background:linear-gradient(to right,var(--theme-success-bg),var(--theme-bg-card))}.vdp-intervention-item.status-reported{border-left-color:var(--theme-danger);background:linear-gradient(to right,var(--theme-danger-bg),var(--theme-bg-card))}.vdp-intervention-item.status-pending,.vdp-intervention-item.status-PENDING{border-left-color:var(--theme-primary-light);background:linear-gradient(to right,var(--theme-purple-bg),var(--theme-bg-card))}.vdp-intervention-item.status-in-progress,.vdp-intervention-item.status-in_progress,.vdp-intervention-item.status-IN_PROGRESS{border-left-color:var(--theme-warning);background:linear-gradient(to right,var(--theme-warning-bg),var(--theme-bg-card))}.vdp-intervention-item.status-cancelled{border-left-color:var(--theme-text-gray)}.vdp-intervention-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}.vdp-intervention-type{font-weight:600;font-size:13px;color:var(--theme-text-heading)}.vdp-status-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}.vdp-status-badge.status-planned{background:var(--theme-info-bg-strong);color:var(--theme-info-dark)}.vdp-status-badge.status-in-progress{background:var(--theme-warning-bg);color:var(--theme-warning-text)}.vdp-status-badge.status-completed{background:var(--btn-success-bg);color:var(--theme-success-text)}.vdp-status-badge.status-pending{background:var(--theme-purple-bg);color:var(--theme-primary-dark)}.vdp-status-badge.status-reported{background:var(--theme-danger-bg);color:var(--theme-danger-text)}.vdp-status-badge.status-cancelled{background:var(--theme-bg-tertiary);color:var(--theme-text-subtle)}.vdp-status-badge.status-rescheduled{background:var(--theme-warning-bg);color:#9a3412}.vdp-intervention-date{font-size:11px;color:var(--theme-text-gray);margin-bottom:4px}.vdp-intervention-desc{font-size:12px;color:var(--theme-text-subtle);line-height:1.4;margin-bottom:6px}.vdp-intervention-tags{display:flex;gap:6px;flex-wrap:wrap}.vdp-tag{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:20px;font-size:11px;font-weight:700}.vdp-tag-km{background:var(--theme-info-bg);color:var(--theme-info-text);border:1px solid var(--theme-info-border)}.vdp-tag-cost{background:var(--theme-success-bg);color:#15803d;border:1px solid var(--theme-success-border)}.vdp-tag-garage{background:var(--theme-bg-page);color:var(--theme-text-subtle);border:1px solid var(--theme-border)}.vdp-empty{text-align:center;padding:20px;color:var(--theme-text-muted);font-size:12px;background:var(--theme-bg-secondary);border-radius:8px;border:1px dashed var(--theme-border-muted);margin:0}.vdp-slide-footer{padding:12px 16px;border-top:1px solid var(--theme-border);flex-shrink:0;background:var(--theme-bg-card)}.vdp-slide-open-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px;border:none;border-radius:8px;background:var(--theme-gradient);color:var(--theme-text-inverse);font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.vdp-slide-open-btn:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}@media (max-width: 900px){.vehicle-slide-panel.open{width:340px;min-width:340px}}@media (max-width: 700px){.vehicle-slide-panel.open{width:100%;min-width:100%;position:absolute;top:0;right:0;bottom:0;z-index:50}}.access-request-modal{background:var(--theme-bg-page);border-radius:16px;width:90%;max-width:500px;max-height:90dvh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0003;position:relative;z-index:1;animation:arModalSlideUp .25s cubic-bezier(.34,1.56,.64,1)}@keyframes arModalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.access-request-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:none;background:var(--modal-header-bg);color:var(--modal-header-color);border-radius:var(--modal-header-border-radius)}.access-request-header h2{margin:0;font-size:1.5rem;font-weight:700}.access-request-content{padding:1.5rem;overflow-y:auto;flex:1;min-height:0}.access-request-description{color:var(--theme-text-gray);line-height:1.6;margin-bottom:1.5rem;background:var(--theme-bg-secondary);padding:1rem;border-radius:8px;border-left:4px solid var(--theme-primary)}.access-request-modal .form-group{margin-bottom:12px}.access-request-modal .form-group label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:var(--theme-text-muted);margin-bottom:6px;font-size:10px;text-transform:uppercase;letter-spacing:.4px}.access-request-modal .form-group input{width:100%;padding:8px 10px;border:1px solid var(--theme-border);border-radius:7px;font-size:13px;color:var(--theme-text-dark);background:var(--theme-bg-card);transition:border-color .15s;font-family:inherit}.access-request-modal .form-group input:focus{outline:none;border-color:var(--theme-primary-light);box-shadow:var(--focus-ring)}.error-message{background:var(--theme-danger-bg);color:var(--theme-danger-dark);padding:.75rem;border-radius:8px;margin-bottom:1rem;font-size:.9rem;border-left:4px solid var(--theme-danger-dark)}.access-request-modal .form-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--theme-border)}.btn-primary,.btn-secondary{padding:var(--btn-padding);border:none;border-radius:var(--btn-radius);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);display:flex;align-items:center;gap:.5rem;font-size:var(--btn-font-size)}.access-request-modal .btn-primary{background:var(--btn-primary-bg);color:var(--btn-primary-color);box-shadow:var(--btn-primary-shadow)}.access-request-modal .btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--btn-primary-hover-shadow)}.access-request-modal .btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:var(--btn-secondary-bg);color:var(--btn-secondary-color);border:var(--btn-secondary-border)}.access-request-header-success{background:linear-gradient(135deg,var(--theme-success-alt) 0%,var(--theme-success-dark) 100%)}.access-request-header-pending{background:linear-gradient(135deg,var(--theme-warning) 0%,var(--theme-warning-dark) 100%)}.success-banner{display:flex;align-items:flex-start;gap:12px;background:var(--theme-success-bg);border:1px solid var(--btn-success-hover-bg);border-left:4px solid var(--theme-success-alt);border-radius:8px;padding:1rem;margin-bottom:1.5rem;color:var(--theme-success-text)}.success-banner svg{flex-shrink:0;margin-top:2px}.success-banner p{margin:4px 0 0;font-size:.9rem;color:var(--theme-success-text)}.pending-banner{text-align:center;padding:2rem 1rem}.pending-banner svg{color:var(--theme-warning);margin-bottom:1rem}.pending-banner h3{color:var(--theme-text-heading);margin:0 0 .75rem;font-size:1.2rem}.pending-banner p{color:var(--theme-text-gray);line-height:1.6;margin:0 0 1rem}.pending-email-info{display:inline-flex;align-items:center;gap:8px;background:var(--theme-bg-tertiary);padding:8px 16px;border-radius:20px;font-weight:500;color:var(--theme-text-body)}.input-disabled{background:var(--theme-bg-secondary)!important;color:var(--theme-text-gray)!important;cursor:not-allowed}@media (max-width: 640px){.access-request-modal{width:100%;max-width:100%;max-height:100dvh;border-radius:0}.access-request-header{border-radius:0}}.btn-secondary:hover{background:var(--btn-secondary-hover-bg)}.login-overlay{position:fixed;inset:0;background:var(--theme-gradient);display:flex;align-items:center;justify-content:center;z-index:var(--z-tooltip)}.login-container{background:var(--theme-bg-card);border-radius:16px;padding:40px;width:90%;max-width:400px;box-shadow:0 20px 60px #0000004d;position:relative;z-index:1}.login-header{text-align:center;margin-bottom:30px}.login-header h1{font-size:24px;color:var(--theme-bg-dark);margin:0 0 10px}.login-header p{font-size:16px;color:var(--theme-text-gray);margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.login-form .form-group{display:flex;flex-direction:column;gap:8px}.login-form .form-group label{font-size:14px;font-weight:600;color:var(--theme-text-body)}.login-form .form-group input{padding:12px 16px;border:2px solid var(--theme-border-medium);border-radius:8px;font-size:16px;transition:all .2s}.login-form .form-group input:focus{outline:none;border-color:var(--theme-primary);box-shadow:var(--focus-ring)}.error-message{background:var(--theme-danger-bg);border:1px solid var(--theme-danger);color:var(--theme-danger-dark);padding:12px;border-radius:8px;font-size:14px}.login-button{background:var(--btn-primary-bg);color:var(--btn-primary-color);border:none;padding:14px;border-radius:var(--btn-radius);font-size:16px;font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);box-shadow:var(--btn-primary-shadow)}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--btn-primary-hover-shadow)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed}.toggle-button{background:transparent;color:var(--theme-primary);border:none;padding:10px;font-size:var(--btn-font-size);cursor:pointer;text-decoration:underline}.toggle-button:hover{color:var(--theme-primary-dark)}.access-request-button{background:transparent;border:2px dashed var(--theme-border);color:var(--theme-text-secondary);cursor:pointer;font-size:.85rem;padding:.75rem;border-radius:var(--btn-radius);margin-top:.5rem;transition:var(--btn-transition);font-weight:var(--btn-font-weight);width:100%}.forgot-password-link{background:none;border:none;color:var(--theme-primary);cursor:pointer;font-size:.85rem;padding:4px 0;text-decoration:none;text-align:right;transition:color .2s;width:100%}.forgot-password-link:hover{color:var(--theme-primary-dark);text-decoration:underline}.access-request-button:hover{border-color:var(--theme-primary);color:var(--theme-primary);background:var(--theme-bg-hover)}@media (max-width: 480px){.login-container{padding:24px;width:95%}.login-header h1{font-size:20px}.login-header p{font-size:14px}.access-request-button{font-size:.875rem;padding:.875rem;border-width:2px;margin-top:.75rem}}.login-overlay{position:fixed;inset:0;background:var(--theme-overlay);display:flex;align-items:center;justify-content:center;z-index:var(--z-tooltip);isolation:isolate}.login-modal-content{background:var(--theme-bg-card);border-radius:12px;position:relative;z-index:1;width:90%;max-width:500px;box-shadow:0 20px 60px #0000004d}.session-conflict-modal .modal-header{padding:24px 24px 16px;border-bottom:none;background:var(--theme-danger-gradient);border-radius:16px 16px 0 0}.session-conflict-modal .modal-header h3{margin:0;font-size:18px;color:var(--theme-text-inverse)}.session-conflict-modal .modal-body{padding:24px}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.login-form .btn-secondary{padding:var(--btn-padding);border:var(--btn-secondary-border);border-radius:var(--btn-radius);background:var(--theme-bg-card);color:var(--btn-secondary-color);cursor:pointer;font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);transition:var(--btn-transition)}.login-form .btn-secondary:hover:not(:disabled){background:var(--btn-secondary-hover-bg);border-color:var(--theme-text-muted)}.login-form .btn-primary{padding:var(--btn-padding);border:none;border-radius:var(--btn-radius);background:var(--btn-primary-bg);color:var(--btn-primary-color);cursor:pointer;font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);transition:var(--btn-transition);box-shadow:var(--btn-primary-shadow)}.login-form .btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--btn-primary-hover-shadow)}.login-form .btn-primary:disabled,.login-form .btn-secondary:disabled{opacity:.6;cursor:not-allowed;transform:none}.app{display:flex;flex-direction:column;background:transparent;height:100%;overflow:hidden}#main-content{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}.app.loading{justify-content:center;align-items:center}.loading-container{text-align:center}.loading-spinner{width:50px;height:50px;border:5px solid var(--theme-bg-tertiary);border-top-color:var(--theme-primary);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.loading-container p{color:var(--theme-text-gray);font-size:1rem;font-weight:500}.loading-overlay{position:fixed;inset:0;background:var(--theme-overlay);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:9999;backdrop-filter:blur(4px);isolation:isolate}.loading-overlay p{color:var(--theme-text-inverse);margin-top:1rem;font-size:.95rem;font-weight:500}.loading-overlay .loading-spinner{border-color:#fff3;border-top-color:#fff}.header{background:var(--theme-bg-card-translucent, rgba(255, 255, 255, .95));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--theme-border);padding:.75rem 2rem;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;position:sticky;top:0;z-index:200;flex-shrink:0}.header-content{max-width:100%;display:flex;justify-content:space-between;align-items:center;gap:2rem;min-height:64px;flex-wrap:wrap}.header-title-container{display:flex;align-items:center;gap:1rem;height:100%}.header-logo-area{width:calc(250px - 2rem);display:flex;align-items:center;justify-content:space-between;flex-shrink:0;height:100%;margin-left:-10px;padding-right:.5rem}.header-logo{height:100%;max-height:64px;width:auto;object-fit:contain}.help-trigger-btn{background:linear-gradient(135deg,var(--theme-bg-hover),var(--theme-purple-bg, #f5f3ff));border:1px solid var(--theme-bg-indigo-lighter);color:var(--theme-indigo);padding:.3rem .65rem;border-radius:.5rem;display:flex;align-items:center;gap:.35rem;cursor:pointer;transition:all .2s;flex-shrink:0;font-size:.75rem;font-weight:600;letter-spacing:.02em;white-space:nowrap}.help-trigger-btn:hover{background:linear-gradient(135deg,var(--theme-bg-indigo-light),var(--theme-purple-bg));color:var(--theme-primary-dark);border-color:#a5b4fc;transform:translateY(-1px);box-shadow:0 2px 8px #6366f133}.theme-toggle-btn{background:var(--theme-bg-tertiary, var(--theme-bg-tertiary));border:1px solid var(--theme-border-medium, var(--theme-border-medium));color:var(--theme-text-secondary, var(--theme-text-secondary));padding:.35rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0}.theme-toggle-btn:hover{background:var(--theme-bg-hover, var(--theme-bg-hover));color:var(--theme-warning, var(--theme-warning));border-color:var(--theme-border-muted, var(--theme-border-muted));transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}[data-theme=dark] .theme-toggle-btn:hover{color:var(--theme-warning)}.header-title-container .module-tabs{display:flex;background:var(--theme-border-light);padding:.3rem;border-radius:.625rem;gap:.25rem}.header-title-container .module-tab{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.25rem;border:1px solid transparent;background:transparent;border-radius:.5rem;cursor:pointer;font-weight:600;font-size:1.05rem;color:var(--theme-text-secondary);transition:all .2s;white-space:nowrap}.header-title-container .module-tab:hover{background:var(--theme-border);color:var(--theme-text-dark)}.header-title-container .module-tab.active{background:var(--theme-bg-card);color:var(--theme-info);box-shadow:0 1px 4px #0000001a;border-color:var(--theme-border)}.maintenance-notifications{display:flex;gap:.75rem;align-items:center;animation:fadeIn .3s ease-out}.notification-badge{padding:.625rem 1.125rem;border-radius:12px;font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:.5rem;animation:pulse 2s infinite;box-shadow:0 4px 6px -1px #00000014,0 2px 4px -1px #0000000a;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}.notification-badge svg{flex-shrink:0}.notification-badge:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.notification-badge.immobilized{background:var(--theme-danger-bg);color:var(--theme-danger-dark);border:2px solid var(--btn-danger-hover-bg)}.notification-badge.immobilized:hover{background:var(--btn-danger-bg);border-color:var(--theme-danger-border)}.notification-badge.reported{background:var(--theme-warning-bg);color:var(--theme-warning-dark);border:2px solid var(--theme-warning-border)}.notification-badge.reported:hover{background:var(--btn-warning-bg);border-color:#fcd34d}.notification-badge.scheduled{background:var(--theme-info-bg);color:var(--theme-info-dark);border:2px solid var(--theme-info-border)}.notification-badge.scheduled:hover{background:var(--theme-info-bg-strong);border-color:var(--theme-info-border)}.notification-badge.pending{background:var(--theme-purple-bg);color:var(--theme-primary-hover);border:2px solid var(--theme-purple-bg-strong)}.notification-badge.pending:hover{background:var(--theme-purple-bg-strong);border-color:var(--theme-purple-accent)}.notification-badge.conflict{background:var(--theme-danger-bg);color:var(--theme-danger-text-alt);border:2px solid var(--theme-danger-border)}.notification-badge.conflict:hover{background:var(--btn-danger-bg);border-color:#f87171}.notification-badge.unified{position:relative;padding:0;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0003;animation:pulse 2s infinite;cursor:pointer;transition:all .2s}.notification-badge.unified.has-overdue{background:linear-gradient(135deg,var(--theme-danger-dark),#b91c1c);color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3);animation:pulse-overdue 2s ease-in-out infinite}@keyframes pulse-overdue{0%,to{box-shadow:0 2px 8px #dc262666;transform:scale(1)}50%{box-shadow:0 2px 16px #dc2626cc;transform:scale(1.05)}}.notification-badge.unified.has-critical{background:linear-gradient(135deg,var(--theme-danger-dark),#991b1b);color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3)}.notification-badge.unified.has-conflict{background:linear-gradient(135deg,var(--theme-warning),var(--theme-warning-dark));color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3)}.notification-badge.unified.has-reported{background:linear-gradient(135deg,var(--theme-danger),var(--theme-danger-dark));color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3);animation:pulse-reported 2s ease-in-out infinite}@keyframes pulse-reported{0%,to{box-shadow:0 2px 8px #ef444466;transform:scale(1)}50%{box-shadow:0 2px 14px #ef4444b3;transform:scale(1.04)}}.notification-badge.unified.has-pending{background:linear-gradient(135deg,var(--theme-primary-hover),#6d28d9);color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3)}.notification-badge.unified.has-scheduled{background:linear-gradient(135deg,var(--theme-info-dark),#1d4ed8);color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3)}.notification-badge.unified.requests-badge{background:linear-gradient(135deg,var(--theme-success-alt),#059669);color:var(--theme-text-inverse);border:2px solid rgba(255,255,255,.3);animation:none}.notification-badge.unified.requests-badge:hover{transform:scale(1.1);box-shadow:0 4px 12px #10b98166}.notification-badge.unified:hover{transform:scale(1.1);box-shadow:0 4px 12px #0000004d}.notification-count{position:absolute;top:-4px;right:-4px;background:var(--theme-bg-card);color:var(--theme-bg-dark);font-weight:700;font-size:.625rem;min-width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0003;border:2px solid currentColor;padding:0 3px}.notification-alert-badge{position:absolute;bottom:-2px;left:-2px;background:#fbbf24;color:var(--theme-warning-text-alt);width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003;border:2px solid var(--theme-bg-card);animation:bounce 1s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.notifications-popup-overlay{position:fixed;inset:0;background:var(--theme-overlay);display:flex;align-items:flex-start;justify-content:center;z-index:1000;padding-top:100px;animation:fadeIn .2s ease-out}.notifications-popup{background:var(--theme-bg-card);border-radius:12px;width:100%;max-width:600px;max-height:70vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.notifications-popup-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:2px solid var(--theme-border-medium)}.notifications-popup-header h3{margin:0;font-size:1.25rem;color:var(--theme-text-heading);display:flex;align-items:center;gap:.5rem}.notifications-popup-header h3 .popup-icon{color:var(--theme-primary-dark)}.close-popup-button{background:none;border:none;font-size:24px;cursor:pointer;color:var(--theme-text-gray);padding:4px 8px;transition:all .2s;line-height:1}.close-popup-button:hover{color:var(--theme-text-heading);transform:scale(1.1)}.notifications-popup-content{padding:16px;overflow-y:auto;flex:1}.no-notifications{text-align:center;color:var(--theme-text-gray);padding:40px 20px;margin:0}.notification-section{margin-bottom:24px}.notification-section:last-child{margin-bottom:0}.notification-section-title{font-size:1rem;font-weight:700;color:var(--theme-text-heading);margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid var(--theme-border-medium);display:flex;align-items:center;gap:8px}.notification-section-title .section-count{background:var(--theme-primary-dark);color:var(--theme-text-inverse);font-size:.7rem;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;margin-left:4px}.notifications-list{display:flex;flex-direction:column;gap:12px}.notification-item{background:var(--theme-bg-secondary);border:2px solid var(--theme-border-medium);border-radius:8px;padding:16px;cursor:pointer;transition:all .2s}.notification-item:hover{border-color:var(--theme-info);background:var(--theme-info-bg);transform:translate(4px)}.notification-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.notification-vehicle-name{font-weight:700;font-size:1rem;color:var(--theme-text-heading);display:flex;align-items:center;gap:.375rem}.notification-vehicle-name .inline-icon{flex-shrink:0;color:var(--theme-danger-dark)}.notification-status{font-size:.75rem;padding:4px 8px;border-radius:4px;font-weight:600}.notification-status.reported,.notification-status{background:var(--theme-danger-bg);color:var(--theme-danger-dark)}.notification-status.scheduled{background:var(--theme-info-bg);color:var(--theme-info-dark)}.notification-status.pending{background:var(--theme-purple-bg);color:var(--theme-primary-hover)}.notification-status.in-progress{background:var(--btn-warning-bg);color:var(--theme-warning-dark)}.notification-status.overdue{background:var(--btn-danger-bg);color:var(--theme-danger-dark);font-weight:700;animation:pulse-status 2s ease-in-out infinite}@keyframes pulse-status{0%,to{background:var(--btn-danger-bg)}50%{background:var(--btn-danger-hover-bg)}}.notification-status.conflict{background:var(--theme-danger-bg);color:var(--theme-danger-text-alt)}.notification-item.has-conflict{border-left:4px solid #b91c1c;background:var(--theme-danger-bg)}.notification-item.overdue{border-left:4px solid var(--theme-danger-dark);background:var(--theme-danger-bg);cursor:pointer}.notification-item.overdue:hover{background:var(--btn-danger-bg);border-left-color:var(--theme-danger-text-alt)}.notification-item.reported{border-left:4px solid var(--theme-danger);background:var(--theme-danger-bg)}.notification-item.pending{border-left:4px solid var(--theme-primary-light);background:var(--theme-purple-bg)}.notification-item.reservation-request{border-left:4px solid var(--theme-warning);background:var(--theme-warning-bg)}.notification-item.reservation-request:hover{background:var(--btn-warning-bg);border-color:var(--theme-warning)}.notification-actions{display:flex;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--theme-border-medium)}.notification-actions.reject-form{flex-direction:column}.reject-reason-input{width:100%;padding:8px 10px;border:1px solid var(--theme-border-muted);border-radius:6px;font-size:.8rem;resize:none;font-family:inherit}.reject-reason-input:focus{outline:none;border-color:var(--theme-danger);box-shadow:0 0 0 2px #ef444426}.reject-form-buttons{display:flex;gap:8px}.notif-action-btn{display:flex;align-items:center;gap:4px;padding:6px 12px;border:none;border-radius:6px;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s;white-space:nowrap}.notif-action-btn.create-intervention{background:var(--theme-info);color:var(--theme-text-inverse);flex:1}.notif-action-btn.create-intervention:hover{background:var(--theme-info-dark)}.notif-action-btn.approve{background:var(--theme-success-alt);color:var(--theme-text-inverse);flex:1}.notif-action-btn.approve:hover{background:#059669}.notif-action-btn.reject{background:var(--theme-danger);color:var(--theme-text-inverse);flex:1}.notif-action-btn.reject:hover{background:var(--theme-danger-dark)}.notif-action-btn.confirm-reject{background:var(--theme-danger);color:var(--theme-text-inverse);flex:1}.notif-action-btn.confirm-reject:hover{background:var(--theme-danger-dark)}.notif-action-btn.confirm-reject:disabled{background:var(--theme-border-muted);color:var(--theme-text-muted);cursor:not-allowed}.notif-action-btn.dismiss{background:var(--theme-bg-tertiary);color:var(--theme-text-gray)}.notif-action-btn.dismiss:hover{background:var(--theme-border-medium)}.notification-item.expanded{border-color:var(--theme-info);background:var(--theme-info-bg)}.notification-requester{display:flex;align-items:center;gap:4px;font-size:.75rem;color:var(--theme-text-gray);margin-top:4px;font-style:italic}.notification-request-details{display:flex;align-items:center;gap:12px;margin-top:6px;flex-wrap:wrap}.notification-requester-line{display:flex;align-items:center;gap:.35rem;margin-top:.25rem;font-size:.78rem;color:var(--theme-text-gray)}.notification-requester-line strong{color:var(--theme-text-body)}.request-period-info{display:flex;align-items:center;gap:.375rem;margin-top:.375rem;padding:.375rem .5rem;background:var(--theme-info-bg);border:1px solid var(--theme-info-border);border-radius:.375rem;font-size:.78rem;color:var(--theme-info-text);flex-wrap:wrap}.request-period-icon{flex-shrink:0;color:var(--theme-info)}.request-period-dates{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}.request-period-dates strong{font-weight:600;text-transform:capitalize}.request-period-tag{font-size:.65rem;padding:.1rem .35rem;border-radius:.2rem;background:var(--theme-info-bg-strong);color:var(--theme-info-text);font-weight:600;white-space:nowrap}.request-period-arrow{color:var(--theme-text-gray);font-weight:600}.request-conflicts-box{margin-top:.375rem;padding:.375rem .5rem;background:var(--theme-danger-bg);border:1px solid var(--btn-danger-hover-bg);border-left:3px solid var(--theme-danger);border-radius:.375rem;font-size:.75rem}.request-conflicts-title{display:flex;align-items:center;gap:.25rem;color:var(--theme-danger-text-alt);font-weight:700;margin-bottom:.25rem}.request-conflict-item{display:flex;align-items:center;gap:.5rem;padding:.15rem 0;color:var(--theme-text-body)}.conflict-client{font-weight:600;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conflict-dates{font-size:.7rem;color:var(--theme-text-gray);font-weight:500}.conflict-more{display:block;font-size:.7rem;color:var(--theme-text-muted);font-style:italic;margin-top:.125rem}.notification-item.reservation-request.has-conflict{border-left:3px solid var(--theme-danger);background:var(--theme-danger-bg)}.notification-status.conflict{background:var(--btn-danger-bg)!important;color:var(--theme-danger-text-alt)!important;font-weight:700}.conflict-warning-text{margin:8px 0;color:var(--theme-danger-text-alt);font-size:.8rem;font-weight:600;display:flex;align-items:center;gap:4px}.notification-description{margin:8px 0;color:var(--theme-text-body);font-size:.875rem}.notification-date{display:inline-block;font-size:.75rem;color:var(--theme-info-dark);font-weight:600;background:var(--theme-info-bg);padding:2px 8px;border-radius:4px;margin-right:8px}.notification-date.overdue-date{color:var(--theme-danger-dark);background:var(--btn-danger-bg);font-weight:700}.notification-registration{display:inline-block;font-family:monospace;font-size:.75rem;color:var(--theme-primary-light);font-weight:600;background:var(--theme-bg-tertiary);padding:2px 8px;border-radius:4px}.header-controls{display:flex;gap:1rem;align-items:center;flex-wrap:nowrap;flex:1;min-width:0}.view-selector{display:flex;gap:4px;background:var(--theme-border-light);padding:3px;border-radius:8px;flex-shrink:0}.view-button{display:flex;align-items:center;gap:4px;padding:5px 10px;border:none;border-radius:6px;background:transparent;color:var(--theme-text-secondary);font-size:12px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.view-button:hover{background:var(--theme-border);color:var(--theme-text-dark)}.view-button.active{background:var(--theme-gradient);color:var(--theme-text-inverse);box-shadow:var(--btn-primary-shadow)}.date-navigation{display:flex;gap:.5rem;align-items:center;flex:1}.nav-button{padding:.5rem 1rem;border:1px solid var(--theme-border-medium);background:var(--theme-bg-card);border-radius:.375rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;white-space:nowrap;gap:.375rem;font-size:.9375rem;width:auto;min-width:auto}.nav-button:hover{background:var(--theme-bg-secondary);border-color:var(--theme-border-muted)}.nav-button svg:only-child{margin:0}.nav-button:has(svg:only-child){padding:.5rem;width:40px;height:40px}.date-navigation .nav-button.today-highlight{background:linear-gradient(135deg,var(--theme-info) 0%,var(--theme-info-dark) 100%)!important;color:var(--theme-text-inverse)!important;border-color:var(--theme-info)!important;font-weight:600!important;min-width:150px!important;width:auto!important;padding:.5rem 1.5rem!important;white-space:nowrap!important}.date-navigation .nav-button.today-highlight:hover{background:linear-gradient(135deg,var(--theme-info-dark) 0%,#1d4ed8 100%)!important;border-color:var(--theme-info-dark)!important}.current-date{font-weight:600;color:var(--theme-bg-dark);min-width:200px;text-align:center;font-size:1rem}.current-date.clickable{cursor:pointer;padding:.5rem 1rem;border-radius:.375rem;transition:all .2s;border:1px solid var(--theme-border-medium);background:var(--theme-bg-card);color:var(--theme-info);height:40px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.current-date.clickable:hover{background:var(--theme-bg-secondary);border-color:var(--theme-border-muted);color:var(--theme-info-dark)}.current-date.clickable:hover{background:var(--theme-bg-hover);color:var(--theme-primary)}.new-affaire-button{display:flex;align-items:center;gap:.4rem;padding:.45rem .9rem;background:linear-gradient(135deg,var(--theme-warning),var(--theme-warning-dark));color:var(--theme-text-inverse);border:none;border-radius:.5rem;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .2s;white-space:nowrap;box-shadow:0 2px 8px #f59e0b4d}.new-affaire-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b66;background:linear-gradient(135deg,#fbbf24,var(--theme-warning))}.new-affaire-button svg{flex-shrink:0}.msg-toggle-button{position:relative;padding:.5rem;background:var(--theme-gradient-alt);color:var(--theme-text-inverse);border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;box-shadow:0 2px 6px #6366f14d}.msg-toggle-button:hover{transform:scale(1.1);box-shadow:0 4px 12px #6366f166}.msg-toggle-badge{position:absolute;top:-4px;right:-4px;background:var(--theme-danger);color:var(--theme-text-inverse);font-size:.65rem;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid var(--theme-bg-card);animation:badge-pulse 2s ease-in-out infinite}@keyframes badge-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.msg-toast{position:fixed;bottom:24px;right:24px;background:var(--theme-gradient-alt);color:var(--theme-text-inverse);padding:12px 18px;border-radius:12px;display:flex;align-items:center;gap:10px;box-shadow:0 8px 25px #6366f166;cursor:pointer;z-index:9000;animation:toast-slide-in .4s cubic-bezier(.22,1,.36,1);font-size:.9rem;font-weight:500;max-width:340px;transition:transform .2s,box-shadow .2s}.msg-toast:hover{transform:translateY(-2px);box-shadow:0 12px 30px #6366f180}@keyframes toast-slide-in{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.msg-toast-icon{font-size:1.3rem;flex-shrink:0}.msg-toast-text{flex:1}.msg-toast-close{background:none;border:none;color:#ffffffb3;font-size:1.2rem;cursor:pointer;padding:0 2px;line-height:1;transition:color .2s;flex-shrink:0}.msg-toast-close:hover{color:var(--theme-text-inverse)}.pwa-install-banner{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 16px;background:var(--theme-gradient-alt);color:var(--theme-text-inverse);font-size:.85rem;animation:slideDown .3s ease}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.pwa-install-btn{background:var(--theme-bg-card);color:var(--theme-indigo);border:none;padding:4px 14px;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .15s}.pwa-install-btn:hover{transform:scale(1.05)}.pwa-dismiss-btn{background:none;border:none;color:#ffffffb3;cursor:pointer;font-size:1rem;padding:2px}.pwa-dismiss-btn:hover{color:var(--theme-text-inverse)}.qr-button{padding:.5rem;background:var(--theme-success-alt);color:var(--theme-text-inverse);border:none;border-radius:.375rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:40px;height:40px}.qr-button:hover{background:#059669;transform:scale(1.05)}.management-button{padding:.5rem 1rem;background:var(--theme-info);color:var(--theme-text-inverse);border:none;border-radius:.375rem;cursor:pointer;font-weight:500;display:flex;align-items:center;gap:.5rem;transition:all .2s}.management-button:hover{background:var(--theme-info-dark)}.settings-button{padding:.5rem 1rem;background:var(--theme-text-gray);color:var(--theme-text-inverse);border:none;border-radius:.375rem;cursor:pointer;font-weight:500;display:flex;align-items:center;gap:.5rem;transition:all .2s}.settings-button:hover{background:#4b5563}.personnel-panel--main{flex:1;overflow:auto;padding:0}.reset-button{padding:.5rem 1rem;background:var(--theme-warning);color:var(--theme-text-inverse);border:none;border-radius:.375rem;cursor:pointer;font-weight:500;display:flex;align-items:center;gap:.5rem;transition:all .2s}.reset-button:hover{background:var(--theme-warning-dark);transform:rotate(180deg)}.calendar-with-vehicle-panel{display:flex;flex:1;min-height:0;overflow:hidden}.calendar-container{flex:1;overflow:auto;display:flex;flex-direction:column;min-height:0}.calendar{background:var(--theme-bg-card);border-radius:0;box-shadow:0 1px 3px #0000001a;overflow:hidden}.calendar-grid{display:grid;overflow-x:auto}.calendar-header{display:contents}.calendar-header-cell{padding:1rem;background:var(--theme-bg-secondary);border-bottom:2px solid var(--theme-border-medium);border-right:1px solid var(--theme-border-medium);font-weight:600;color:var(--theme-text-body);text-align:center;position:sticky;top:0;z-index:10}.calendar-header-cell:first-child{position:sticky;left:0;z-index:20;background:var(--theme-bg-secondary)}.vehicle-row{display:contents}.vehicle-cell{padding:1rem;background:var(--theme-bg-card);border-bottom:1px solid var(--theme-border-medium);border-right:1px solid var(--theme-border-medium);font-weight:600;color:var(--theme-bg-dark);position:sticky;left:0;z-index:5;display:flex;align-items:center;gap:.5rem}.vehicle-color{width:1rem;height:1rem;border-radius:.25rem}.user-badge{position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;background:var(--theme-gradient);color:var(--theme-text-inverse);font-size:9px;font-weight:600;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--theme-bg-card);box-shadow:0 1px 3px #0003;z-index:2;pointer-events:none}.reservation-delete-btn{position:absolute;top:50%;right:4px;transform:translateY(-50%);width:18px;height:18px;border-radius:4px;background:#ef444426;color:var(--theme-danger);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:3;pointer-events:all;opacity:0;transition:opacity .15s,background .15s}.reservation:hover .reservation-delete-btn{opacity:1}.reservation-delete-btn:hover{background:#ef44444d;color:var(--theme-danger-dark)}.reservation-content-wrapper{position:relative;width:100%;height:100%}.reservation-content-wrapper:hover .emag-tooltip{opacity:1!important;visibility:visible!important}.header-right-actions{display:flex;gap:6px;align-items:center;flex-shrink:0;margin-left:auto}.header-notification-badges{display:flex;gap:6px;align-items:center;margin-right:8px}@media (max-width: 1024px){.header{padding:.75rem 1rem}.header-content{gap:1rem}.header-title-container .module-tab{font-size:.9rem;padding:.5rem 1rem}.header-logo{max-height:48px}.maintenance-notifications{gap:.5rem;flex-wrap:wrap}.notification-badge{padding:.5rem .875rem;font-size:.8125rem}.header-controls{gap:.75rem}.current-date{min-width:150px;font-size:.875rem}.date-navigation{max-width:none}}@media (max-width: 768px){.header{padding:.5rem .75rem}.header-content{flex-direction:column;align-items:stretch;gap:.5rem}.header-title-container{justify-content:center;flex-wrap:wrap;gap:.5rem}.header-logo-area{width:auto}.header-title-container .module-tab{font-size:.85rem;padding:.45rem .875rem}.header-logo{max-height:40px}.maintenance-notifications{justify-content:center;flex-wrap:wrap}.notification-badge{font-size:.75rem;padding:.4rem .75rem}.notification-badge svg{width:16px;height:16px}.header-controls{justify-content:center;flex-wrap:wrap;gap:.5rem}.view-selector{order:-1;width:100%;justify-content:center}.date-navigation{width:100%;max-width:none;justify-content:center}.current-date{min-width:auto;flex:1;font-size:.8125rem}.management-button,.settings-button,.qr-button{padding:.5rem .875rem}.management-button,.settings-button{font-size:.875rem}.module-tabs{width:100%;justify-content:center;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.module-tabs::-webkit-scrollbar{display:none}.header-title-container .module-tab{padding:.5rem .9rem;font-size:.95rem;gap:.4rem}.header-right-actions{justify-content:center;flex-wrap:wrap;width:100%}.header-notification-badges{margin-right:4px}.new-affaire-button span{display:none}.new-affaire-button{width:36px;height:36px;padding:0;justify-content:center;border-radius:50%}.help-trigger-btn span{display:none}}@media (max-width: 480px){.header{padding:.5rem}.header-title-container .module-tab{font-size:.8rem;padding:.4rem .75rem}.header-title-container .module-tab span{display:none}.header-title-container .module-tab{gap:0}.header-logo{max-height:32px}.notification-badge{font-size:.6875rem;padding:.375rem .625rem;gap:.375rem}.view-button{padding:4px 8px;font-size:11px}.current-date{font-size:.75rem}.nav-button{padding:.4rem .75rem;font-size:.8125rem}.nav-button:has(svg:only-child){padding:.4rem}.date-navigation .nav-button.today-highlight{min-width:95px}.management-button,.settings-button{font-size:.8125rem;padding:.5rem .75rem}.qr-button{width:36px;height:36px}.header-notification-badges{margin-right:2px;gap:4px}.notification-badge.unified{width:34px;height:34px}}[data-theme=dark] .module-tab.active{background:var(--theme-bg-card);color:var(--theme-primary);box-shadow:0 1px 4px #0000004d}[data-theme=dark] .notification-count{background:var(--theme-bg-card);color:var(--theme-text-primary)}[data-theme=dark] .notifications-popup{background:var(--theme-bg-card);box-shadow:0 20px 60px #00000080}[data-theme=dark] .nav-button{background:var(--theme-bg-card);border-color:var(--theme-border);color:var(--theme-text-primary)}[data-theme=dark] .nav-button:hover{background:var(--theme-bg-tertiary)}[data-theme=dark] .current-date.clickable{background:var(--theme-bg-card);border-color:var(--theme-border);color:var(--theme-primary)}[data-theme=dark] .current-date.clickable:hover{background:var(--theme-bg-tertiary);border-color:var(--theme-border-muted)}[data-theme=dark] .notification-item.reservation-request.has-conflict{background:var(--theme-danger-bg);border-left-color:var(--theme-danger)}[data-theme=dark] .notification-status.conflict{background:var(--theme-danger-bg)!important;color:var(--theme-danger)!important}[data-theme=dark] .pwa-install-btn{background:var(--theme-bg-card);color:var(--theme-primary)}[data-theme=dark] .calendar{background:var(--theme-bg-card);box-shadow:0 1px 3px #0000004d}[data-theme=dark] .vehicle-cell{background:var(--theme-bg-card);border-bottom-color:var(--theme-border);border-right-color:var(--theme-border);color:var(--theme-text-primary)}.modal-drag-handle{cursor:grab!important;user-select:none;-webkit-user-select:none}.modal-drag-handle:active,.modal-dragging .modal-drag-handle{cursor:grabbing!important}.modal-dragging{opacity:.92;box-shadow:0 12px 40px #00000059!important;transition:none!important;z-index:100001!important}.modal-resizing{transition:none!important;z-index:100001!important}.modal-draggable-enhanced{position:relative}.modal-draggable-enhanced>[class$=-body],.modal-draggable-enhanced>.modal-body,.modal-draggable-enhanced>.pdf-export-body,.modal-draggable-enhanced>.etm-body,.modal-draggable-enhanced>.tem-body{overflow-y:auto;overflow-x:hidden}.modal-resize-handle{position:absolute;z-index:10;opacity:0;transition:opacity .2s ease}.modal-draggable-enhanced:hover .modal-resize-handle{opacity:1}.modal-resize-se{bottom:-3px;right:-3px;width:16px;height:16px;cursor:se-resize}.modal-resize-se:after{content:"";position:absolute;bottom:3px;right:3px;width:8px;height:8px;border-right:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-bottom:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-radius:0 0 2px}.modal-resize-sw{bottom:-3px;left:-3px;width:16px;height:16px;cursor:sw-resize}.modal-resize-sw:after{content:"";position:absolute;bottom:3px;left:3px;width:8px;height:8px;border-left:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-bottom:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-radius:0 0 0 2px}.modal-resize-ne{top:-3px;right:-3px;width:16px;height:16px;cursor:ne-resize}.modal-resize-ne:after{content:"";position:absolute;top:3px;right:3px;width:8px;height:8px;border-right:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-top:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-radius:0 2px 0 0}.modal-resize-nw{top:-3px;left:-3px;width:16px;height:16px;cursor:nw-resize}.modal-resize-nw:after{content:"";position:absolute;top:3px;left:3px;width:8px;height:8px;border-left:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-top:2px solid var(--drag-handle-color, rgba(120, 120, 120, .6));border-radius:2px 0 0}.modal-resize-n{top:-3px;left:16px;right:16px;height:6px;cursor:n-resize}.modal-resize-s{bottom:-3px;left:16px;right:16px;height:6px;cursor:s-resize}.modal-resize-e{top:16px;bottom:16px;right:-3px;width:6px;cursor:e-resize}.modal-resize-w{top:16px;bottom:16px;left:-3px;width:6px;cursor:w-resize}.modal-resize-n:hover,.modal-resize-s:hover{background:linear-gradient(to bottom,transparent,var(--drag-handle-color, rgba(100, 149, 237, .3)),transparent)}.modal-resize-e:hover,.modal-resize-w:hover{background:linear-gradient(to right,transparent,var(--drag-handle-color, rgba(100, 149, 237, .3)),transparent)}.modal-resize-se:hover:after,.modal-resize-sw:hover:after,.modal-resize-ne:hover:after,.modal-resize-nw:hover:after{border-color:var(--drag-handle-hover, rgba(100, 149, 237, .9))}.modal-drag-handle:before{content:"⠿";position:absolute;left:50%;top:2px;transform:translate(-50%);font-size:12px;color:var(--drag-handle-color, rgba(120, 120, 120, .4));pointer-events:none;letter-spacing:2px;opacity:0;transition:opacity .2s ease}.modal-drag-handle:hover:before{opacity:1}[data-theme=dark]{--drag-handle-color: rgba(180, 180, 180, .5);--drag-handle-hover: rgba(100, 180, 255, .9)}[data-theme=light],:root{--drag-handle-color: rgba(100, 100, 100, .4);--drag-handle-hover: rgba(60, 120, 220, .9)}.modal-draggable-enhanced{display:flex;flex-direction:column}.modal-draggable-enhanced[style*=height]>[class$=-body],.modal-draggable-enhanced[style*=height]>.modal-body{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.modal-draggable-enhanced:not(.modal-dragging):not(.modal-resizing){transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease}.modal-grip-bar{width:100%;height:14px;min-height:14px;display:flex;align-items:center;justify-content:center;cursor:grab;background:transparent;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;flex-shrink:0;position:relative}.modal-grip-bar:before{content:"";width:32px;height:4px;border-radius:2px;background:var(--drag-handle-color, rgba(120, 120, 120, .35));transition:background .2s ease,width .2s ease}.modal-grip-bar:hover:before{background:var(--drag-handle-hover, rgba(100, 149, 237, .8));width:48px}:root{--theme-primary: #667eea;--theme-secondary: #764ba2;--theme-primary-dark: #5b21b6;--theme-primary-hover: #7c3aed;--theme-primary-light: #8b5cf6;--theme-accent: #a855f7;--theme-indigo: #6366f1;--theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--theme-gradient-reverse: linear-gradient(135deg, #764ba2 0%, #667eea 100%);--theme-gradient-subtle: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);--theme-gradient-alt: linear-gradient(135deg, #6366f1, #8b5cf6);--theme-danger: #ef4444;--theme-danger-dark: #dc2626;--theme-danger-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);--theme-success: #22c55e;--theme-success-dark: #16a34a;--theme-text-primary: #1e293b;--theme-text-secondary: #64748b;--theme-text-muted: #94a3b8;--theme-text-heading: #111827;--theme-text-dark: #334155;--theme-text-body: #374151;--theme-text-subtle: #475569;--theme-text-gray: #6b7280;--theme-text-inverse: #ffffff;--theme-bg-secondary: #f9fafb;--theme-bg-tertiary: #f3f4f6;--theme-bg-dark: #1f2937;--theme-bg-darker: #111827;--theme-border-medium: #e5e7eb;--theme-border-muted: #d1d5db;--theme-info: #3b82f6;--theme-info-dark: #2563eb;--theme-info-bg: #eff6ff;--theme-info-bg-strong: #dbeafe;--theme-info-border: #bfdbfe;--theme-info-text: #1d4ed8;--theme-info-text-alt: #4338ca;--theme-warning: #f59e0b;--theme-warning-dark: #d97706;--theme-warning-bg: #fffbeb;--theme-warning-text: #92400e;--theme-warning-text-alt: #78350f;--theme-warning-border: #fed7aa;--theme-success-alt: #10b981;--theme-success-bg: #f0fdf4;--theme-success-bg-strong: #dcfce7;--theme-success-border: #86efac;--theme-success-text: #065f46;--theme-success-text-alt: #166534;--theme-danger-bg: #fef2f2;--theme-danger-border: #fca5a5;--theme-danger-text: #991b1b;--theme-danger-text-alt: #b91c1c;--theme-orange-bg: #fff7ed;--theme-orange-text: #9a3412;--theme-purple-bg: #faf5ff;--theme-purple-bg-strong: #ddd6fe;--theme-purple-border: #d8b4fe;--theme-purple-accent: #c4b5fd;--theme-purple-text: #6d28d9;--theme-border: #e2e8f0;--theme-border-light: #f1f5f9;--theme-border-focus: #8b5cf6;--theme-bg-page: #f8fafc;--theme-bg-card: white;--theme-bg-card-translucent: rgba(255, 255, 255, .95);--theme-bg-muted: #cbd5e1;--theme-bg-hover: #eef2ff;--theme-bg-indigo-light: #e0e7ff;--theme-bg-indigo-lighter: #c7d2fe;--theme-overlay: rgba(15, 23, 42, .5);--theme-overlay-dark: rgba(0, 0, 0, .6);--modal-header-bg: var(--theme-gradient);--modal-header-color: white;--modal-header-border-radius: 16px 16px 0 0;--close-btn-bg: rgba(255, 255, 255, .15);--close-btn-border: rgba(255, 255, 255, .25);--close-btn-color: white;--close-btn-hover-bg: rgba(255, 255, 255, .3);--close-btn-hover-border: rgba(255, 255, 255, .4);--close-btn-radius: 8px;--close-btn-size: 36px;--btn-radius: 8px;--btn-font-size: 14px;--btn-font-weight: 600;--btn-padding: 10px 20px;--btn-height: 40px;--btn-transition: all .2s ease;--btn-primary-bg: var(--theme-gradient);--btn-primary-color: white;--btn-primary-shadow: 0 2px 8px rgba(102, 126, 234, .3);--btn-primary-hover-shadow: 0 4px 12px rgba(102, 126, 234, .4);--btn-secondary-bg: #f3f4f6;--btn-secondary-color: #374151;--btn-secondary-border: 1px solid #e5e7eb;--btn-secondary-hover-bg: #e5e7eb;--btn-secondary-hover-border-color: #d1d5db;--btn-danger-bg: #fee2e2;--btn-danger-color: #dc2626;--btn-danger-border: 2px solid #fca5a5;--btn-danger-hover-bg: #fecaca;--btn-danger-filled-bg: #ef4444;--btn-danger-filled-color: white;--btn-success-bg: #d1fae5;--btn-success-color: #059669;--btn-success-border: 2px solid #86efac;--btn-success-hover-bg: #a7f3d0;--btn-success-gradient: linear-gradient(135deg, #10b981, #059669);--btn-warning-bg: #fef3c7;--btn-warning-color: #d97706;--btn-warning-border: 2px solid #fde68a;--btn-warning-hover-bg: #fde68a;--shadow-modal: 0 20px 60px rgba(0, 0, 0, .25);--shadow-card: 0 2px 8px rgba(0, 0, 0, .08);--shadow-hover: 0 4px 16px rgba(102, 126, 234, .2);--focus-ring: 0 0 0 3px rgba(102, 126, 234, .15);--focus-border: var(--theme-border-focus);--transition-fast: .15s ease;--transition-normal: .2s ease;--transition-smooth: .3s cubic-bezier(.4, 0, .2, 1);--bg-primary: var(--theme-bg-card);--bg-secondary: var(--theme-bg-secondary);--bg-tertiary: var(--theme-bg-tertiary);--bg-card-dark: var(--theme-bg-dark);--bg-hover: var(--theme-bg-hover);--hover-bg: var(--theme-bg-hover);--text-primary: var(--theme-text-primary);--text-primary-dark: var(--theme-text-heading);--text-secondary: var(--theme-text-secondary);--text-secondary-dark: var(--theme-text-dark);--text-tertiary: var(--theme-text-muted);--border-color: var(--theme-border);--border-light: var(--theme-border-light);--border-dark: var(--theme-border-medium);--border-primary: var(--theme-primary);--primary: var(--theme-primary);--primary-color: var(--theme-primary);--sec-bg: transparent;--sec-border: var(--theme-border);--sec-color: var(--theme-info);--sec-text: var(--theme-text-primary);--space-0: 0;--space-px: 1px;--space-0-5: 2px;--space-1: 4px;--space-1-5: 6px;--space-2: 8px;--space-2-5: 10px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--radius-xs: 4px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-2xl: 20px;--radius-full: 9999px;--font-2xs: .65rem;--font-xs: .72rem;--font-sm: .8rem;--font-base: .875rem;--font-md: 1rem;--font-lg: 1.125rem;--font-xl: 1.25rem;--font-2xl: 1.5rem;--font-3xl: 1.875rem;--leading-tight: 1.25;--leading-snug: 1.375;--leading-normal: 1.5;--leading-relaxed: 1.625;--weight-normal: 400;--weight-medium: 500;--weight-semibold: 600;--weight-bold: 700;--z-base: 1;--z-dropdown: 100;--z-sticky: 200;--z-overlay: 1000;--z-modal: 2000;--z-popover: 3000;--z-toast: 5000;--z-tooltip: 9999;--shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);--shadow-md: 0 4px 12px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--shadow-xl: 0 12px 40px rgba(0, 0, 0, .15);--scrollbar-width: 8px;--scrollbar-width-thin: 6px;--scrollbar-radius: 10px;--scrollbar-bg: transparent;--scrollbar-track: var(--theme-border-light);--scrollbar-thumb: var(--theme-bg-muted);--scrollbar-thumb-hover: var(--theme-text-muted);--table-header-bg: var(--theme-bg-tertiary);--table-header-color: var(--theme-text-secondary);--table-header-font-size: var(--font-xs);--table-header-font-weight: var(--weight-semibold);--table-header-padding: var(--space-2) var(--space-3);--table-row-bg: var(--theme-bg-card);--table-row-hover: var(--theme-bg-hover);--table-row-stripe: var(--theme-bg-secondary);--table-border: var(--theme-border);--table-border-light: var(--theme-border-light);--table-cell-padding: var(--space-2) var(--space-3);--table-radius: var(--radius-lg);--card-bg: var(--theme-bg-card);--card-border: var(--theme-border);--card-radius: var(--radius-lg);--card-shadow: var(--shadow-card);--card-padding: var(--space-4);--panel-header-padding: var(--space-4) var(--space-5);--panel-body-padding: var(--space-5);--section-header-gap: var(--space-2)}[data-theme=dark]{--theme-primary: #818cf8;--theme-secondary: #a78bfa;--theme-primary-dark: #7c3aed;--theme-primary-hover: #a78bfa;--theme-primary-light: #c4b5fd;--theme-accent: #c084fc;--theme-indigo: #818cf8;--shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);--shadow-md: 0 4px 12px rgba(0, 0, 0, .4);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .5);--shadow-xl: 0 12px 40px rgba(0, 0, 0, .6);--scrollbar-track: rgba(255, 255, 255, .05);--scrollbar-thumb: rgba(255, 255, 255, .15);--scrollbar-thumb-hover: rgba(255, 255, 255, .3);--table-row-stripe: var(--theme-bg-tertiary);--theme-gradient: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);--theme-gradient-reverse: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);--theme-gradient-subtle: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);--theme-gradient-alt: linear-gradient(135deg, #818cf8, #a78bfa);--theme-danger: #f87171;--theme-danger-dark: #ef4444;--theme-danger-bg: #451a1a;--theme-danger-border: #991b1b;--theme-danger-text: #fca5a5;--theme-danger-text-alt: #f87171;--theme-orange-bg: #431407;--theme-orange-text: #fdba74;--theme-purple-bg: #2e1065;--theme-purple-bg-strong: #3b0764;--theme-purple-border: #581c87;--theme-purple-accent: #7c3aed;--theme-purple-text: #a78bfa;--theme-success: #4ade80;--theme-success-dark: #22c55e;--theme-success-alt: #34d399;--theme-success-bg: #14261a;--theme-success-bg-strong: #14532d;--theme-success-border: #166534;--theme-success-text: #86efac;--theme-success-text-alt: #4ade80;--theme-text-primary: #f1f5f9;--theme-text-secondary: #94a3b8;--theme-text-muted: #64748b;--theme-text-heading: #f8fafc;--theme-text-dark: #e2e8f0;--theme-text-body: #cbd5e1;--theme-text-subtle: #94a3b8;--theme-text-gray: #9ca3af;--theme-text-inverse: #0f172a;--theme-border: #334155;--theme-border-light: #1e293b;--theme-border-medium: #374151;--theme-border-muted: #4b5563;--theme-border-focus: #a78bfa;--theme-bg-page: #0f172a;--theme-bg-card: #1e293b;--theme-bg-muted: #475569;--theme-bg-secondary: #1e293b;--theme-bg-tertiary: #334155;--theme-bg-hover: #2d3554;--theme-bg-dark: #0f172a;--theme-bg-darker: #020617;--theme-bg-indigo-light: #1e1b4b;--theme-bg-indigo-lighter: #312e81;--theme-bg-card-translucent: rgba(30, 41, 59, .95);--theme-info: #60a5fa;--theme-info-dark: #3b82f6;--theme-info-bg: #172554;--theme-info-bg-strong: #1e3a5f;--theme-info-border: #1e40af;--theme-info-text: #93c5fd;--theme-info-text-alt: #60a5fa;--theme-warning: #fbbf24;--theme-warning-dark: #f59e0b;--theme-warning-bg: #451a03;--theme-warning-text: #fde68a;--theme-warning-text-alt: #fbbf24;--theme-warning-border: #92400e;--theme-overlay: rgba(0, 0, 0, .7);--theme-overlay-dark: rgba(0, 0, 0, .8);--btn-secondary-bg: #334155;--btn-secondary-color: #e2e8f0;--btn-secondary-border: 1px solid #475569;--btn-secondary-hover-bg: #475569;--btn-secondary-hover-border-color: #64748b;--btn-danger-bg: #451a1a;--btn-danger-color: #f87171;--btn-danger-border: 2px solid #991b1b;--btn-danger-hover-bg: #7f1d1d;--btn-success-bg: #14261a;--btn-success-color: #4ade80;--btn-success-border: 2px solid #166534;--btn-success-hover-bg: #166534;--btn-warning-bg: #451a03;--btn-warning-color: #fbbf24;--btn-warning-border: 2px solid #92400e;--btn-warning-hover-bg: #78350f;--shadow-modal: 0 20px 60px rgba(0, 0, 0, .5);--shadow-card: 0 2px 8px rgba(0, 0, 0, .3);--shadow-hover: 0 4px 16px rgba(99, 102, 241, .3);--focus-ring: 0 0 0 3px rgba(129, 140, 248, .25);color-scheme:dark}.theme-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:var(--modal-header-bg);color:var(--modal-header-color);border-radius:var(--modal-header-border-radius);gap:12px}.theme-modal-header h2,.theme-modal-header h3{margin:0;font-weight:700;color:var(--modal-header-color)}.theme-modal-header h2{font-size:20px}.theme-modal-header h3{font-size:16px}.theme-close-btn{display:flex;align-items:center;justify-content:center;width:var(--close-btn-size);height:var(--close-btn-size);border-radius:var(--close-btn-radius);border:1px solid var(--close-btn-border);background:var(--close-btn-bg);color:var(--close-btn-color);cursor:pointer;transition:all var(--transition-fast);padding:0;flex-shrink:0}.theme-close-btn:hover{background:var(--close-btn-hover-bg);border-color:var(--close-btn-hover-border)}.theme-overlay{position:fixed;inset:0;background:var(--theme-overlay-dark);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000}.theme-modal{background:var(--theme-bg-card);border-radius:16px;box-shadow:var(--shadow-modal);max-height:90vh;display:flex;flex-direction:column;animation:themeModalSlideUp .3s cubic-bezier(.34,1.56,.64,1);overflow:hidden}@keyframes themeModalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.theme-btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:var(--btn-padding);border:none;border-radius:var(--btn-radius);background:var(--btn-primary-bg);color:var(--btn-primary-color);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);box-shadow:var(--btn-primary-shadow);height:var(--btn-height)}.theme-btn-primary:hover{box-shadow:var(--btn-primary-hover-shadow);transform:translateY(-1px)}.theme-btn-primary:active{transform:translateY(0)}.theme-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:var(--btn-padding);border:var(--btn-secondary-border);border-radius:var(--btn-radius);background:var(--btn-secondary-bg);color:var(--btn-secondary-color);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);height:var(--btn-height)}.theme-btn-secondary:hover{background:var(--btn-secondary-hover-bg);border-color:var(--btn-secondary-hover-border-color)}.theme-btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:var(--btn-padding);border:var(--btn-danger-border);border-radius:var(--btn-radius);background:var(--btn-danger-bg);color:var(--btn-danger-color);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);height:var(--btn-height)}.theme-btn-danger:hover{background:var(--btn-danger-hover-bg)}.theme-btn-danger.filled{background:var(--btn-danger-filled-bg, #ef4444);color:var(--btn-danger-filled-color, white);border:none;box-shadow:0 2px 8px #ef44444d}.theme-btn-danger.filled:hover{opacity:.9}.theme-btn-success{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:var(--btn-padding);border:var(--btn-success-border);border-radius:var(--btn-radius);background:var(--btn-success-bg);color:var(--btn-success-color);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);height:var(--btn-height)}.theme-btn-success:hover{background:var(--btn-success-hover-bg)}.theme-btn-warning{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:var(--btn-padding);border:var(--btn-warning-border);border-radius:var(--btn-radius);background:var(--btn-warning-bg);color:var(--btn-warning-color);font-size:var(--btn-font-size);font-weight:var(--btn-font-weight);cursor:pointer;transition:var(--btn-transition);height:var(--btn-height)}.theme-btn-warning:hover{background:var(--btn-warning-hover-bg)}.theme-btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:1px solid transparent;border-radius:var(--btn-radius);background:transparent;color:var(--theme-text-secondary);font-size:var(--btn-font-size);font-weight:500;cursor:pointer;transition:var(--btn-transition)}.theme-btn-ghost:hover{background:var(--theme-bg-hover);color:var(--theme-text-primary)}.theme-btn-ghost.active{background:var(--theme-primary);color:var(--theme-text-inverse)}.theme-btn-sm,.theme-btn-primary.theme-btn-sm,.theme-btn-secondary.theme-btn-sm,.theme-btn-danger.theme-btn-sm,.theme-btn-success.theme-btn-sm,.theme-btn-warning.theme-btn-sm,.theme-btn-ghost.theme-btn-sm{padding:6px 12px;font-size:.8rem;height:32px;gap:5px}.theme-btn-xs,.theme-btn-primary.theme-btn-xs,.theme-btn-secondary.theme-btn-xs,.theme-btn-danger.theme-btn-xs,.theme-btn-ghost.theme-btn-xs{padding:4px 8px;font-size:.72rem;height:26px;gap:4px}.theme-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--theme-border);border-radius:var(--btn-radius);background:var(--theme-bg-card);color:var(--theme-text-secondary);cursor:pointer;transition:var(--btn-transition);flex-shrink:0}.theme-btn-icon:hover{background:var(--theme-bg-hover);color:var(--theme-text-primary);border-color:var(--theme-border-medium)}.theme-btn-icon.danger:hover{background:var(--btn-danger-bg);color:var(--btn-danger-color);border-color:var(--theme-danger)}.theme-btn-icon.sm{width:26px;height:26px}.theme-btn-icon.lg{width:38px;height:38px}.emag-tooltip{position:fixed;background:#111827f2;color:#fff;padding:10px 14px;border-radius:8px;font-size:12px;line-height:1.5;min-width:180px;max-width:320px;box-shadow:0 8px 24px #00000040;z-index:99999;pointer-events:none;white-space:normal;text-align:left;transform:translate(-50%,-100%);margin-top:-8px;animation:tooltipFadeIn .15s ease-out}.emag-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#111827f2}.emag-tooltip .tooltip-row{display:flex;margin-bottom:4px;line-height:1.4}.emag-tooltip .tooltip-row:last-child{margin-bottom:0}.emag-tooltip .tooltip-label{font-weight:600;margin-right:8px;min-width:65px;color:#9ca3af;white-space:nowrap}.emag-tooltip .tooltip-value{color:#fff;flex:1}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(-50%,calc(-100% + 4px))}to{opacity:1;transform:translate(-50%,-100%)}}[data-emag-tooltip]{position:relative}[data-emag-tooltip]:before{content:attr(data-emag-tooltip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#111827f2;color:#fff;font-size:11px;font-weight:600;white-space:nowrap;padding:5px 10px;border-radius:6px;z-index:100;pointer-events:none;box-shadow:0 2px 8px #0000002e;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease}[data-emag-tooltip]:after{content:"";position:absolute;bottom:calc(100% + 2px);left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:#111827f2;z-index:100;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease}[data-emag-tooltip]:hover:before,[data-emag-tooltip]:hover:after{opacity:1;visibility:visible}.theme-btn-primary:active,.theme-btn-secondary:active{transform:scale(.97)}@keyframes overlayIn{0%{opacity:0}to{opacity:1}}@keyframes overlayOut{0%{opacity:1}to{opacity:0}}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.8}}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.shared-slide-panel,.personnel-slide-panel,.affaire-slide-panel,.eq-slide-panel,.vehicle-slide-panel{width:0;min-width:0;overflow:hidden;background:var(--theme-bg-page);border-left:0px solid var(--theme-border);display:flex;flex-direction:column;flex-shrink:0;transition:width .35s cubic-bezier(.4,0,.2,1),min-width .35s cubic-bezier(.4,0,.2,1),border-left-width .35s cubic-bezier(.4,0,.2,1),opacity .3s ease;opacity:0;border-radius:10px 0 0 10px}.shared-slide-panel>*,.personnel-slide-panel>*,.affaire-slide-panel>*,.eq-slide-panel>*,.vehicle-slide-panel>*{transform:translate(60px);opacity:0;transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .25s ease}.shared-slide-panel.open,.personnel-slide-panel.open,.affaire-slide-panel.open,.eq-slide-panel.open,.vehicle-slide-panel.open{border-left:1px solid var(--theme-border);opacity:1;box-shadow:-2px 0 12px #0000000f}.shared-slide-panel.open>*,.personnel-slide-panel.open>*,.affaire-slide-panel.open>*,.eq-slide-panel.open>*,.vehicle-slide-panel.open>*{transform:translate(0);opacity:1;transition:transform .4s cubic-bezier(.16,1,.3,1),opacity .35s ease .05s}.shared-slide-panel.closing,.personnel-slide-panel.closing,.affaire-slide-panel.closing,.eq-slide-panel.closing,.vehicle-slide-panel.closing{width:0;min-width:0;border-left:0px solid var(--theme-border);opacity:0}.shared-slide-panel.closing>*,.personnel-slide-panel.closing>*,.affaire-slide-panel.closing>*,.eq-slide-panel.closing>*,.vehicle-slide-panel.closing>*{transform:translate(60px);opacity:0;transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .2s ease}.shared-close-btn,.dialog-close,.vehicle-details-modal .modal-header .close-button,.personnel-edit-modal .close-button,.eq-dialog-close,.intervention-modal .close-button{display:flex;align-items:center;justify-content:center;width:var(--close-btn-size);height:var(--close-btn-size);border-radius:var(--close-btn-radius);border:1px solid var(--close-btn-border);background:var(--close-btn-bg);color:var(--close-btn-color);cursor:pointer;transition:all var(--transition-fast)}.shared-close-btn:hover,.dialog-close:hover,.vehicle-details-modal .modal-header .close-button:hover,.personnel-edit-modal .close-button:hover,.eq-dialog-close:hover,.intervention-modal .close-button:hover{background:var(--close-btn-hover-bg);border-color:var(--close-btn-hover-border)}.shared-section-title,.pdp-section-title,.detail-section-title,.vehicle-details-modal .info-section h3,.vdp-section-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--theme-primary-dark);margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid var(--theme-bg-indigo-light);text-transform:uppercase;letter-spacing:.3px}.shared-section-title svg,.pdp-section-title svg,.detail-section-title svg,.vehicle-details-modal .info-section h3 svg,.vdp-section-title svg{color:var(--theme-primary)}.shared-overlay,.vd-overlay,.help-overlay,.prefs-overlay,.bl-import-overlay,.display-dialog-overlay,.mr-overlay,.eq-modal-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center}.skip-link{position:absolute;top:-100%;left:16px;z-index:var(--z-tooltip);padding:8px 16px;background:var(--theme-primary);color:#fff;border-radius:var(--radius-md);font-weight:var(--weight-semibold);text-decoration:none;transition:top .2s}.skip-link:focus{top:8px}[data-palette=flat-pastel]{--theme-primary: #7b8fb2;--theme-secondary: #a08db8;--theme-primary-dark: #5a6d8a;--theme-primary-hover: #8fa3c6;--theme-primary-light: #b3c2d9;--theme-accent: #d4849a;--theme-indigo: #7b8fb2;--theme-gradient: linear-gradient(135deg, #7b8fb2 0%, #a08db8 100%);--theme-gradient-reverse: linear-gradient(135deg, #a08db8 0%, #7b8fb2 100%);--theme-gradient-subtle: linear-gradient(135deg, #eef1f6 0%, #f3eef8 100%);--theme-gradient-alt: linear-gradient(135deg, #7b8fb2, #d4849a);--theme-bg-page: #f6f2ed;--theme-bg-card: #fffdfb;--theme-bg-card-translucent: rgba(255, 253, 251, .95);--theme-bg-secondary: #f0ece6;--theme-bg-tertiary: #e8e3db;--theme-bg-hover: #ede8f4;--theme-bg-muted: #c4bdb4;--theme-bg-indigo-light: #e0e5f0;--theme-bg-indigo-lighter: #c8d0e5;--theme-text-primary: #2d3142;--theme-text-secondary: #6b6e7b;--theme-text-muted: #9a9da8;--theme-text-heading: #1f2232;--theme-text-dark: #3d4055;--theme-text-body: #4a4d5e;--theme-text-subtle: #5c5f70;--theme-text-gray: #7d808e;--theme-border: #ddd8d0;--theme-border-light: #ece8e2;--theme-border-medium: #d4cfc7;--theme-border-muted: #c8c2b9;--theme-border-focus: #a08db8;--theme-purple-bg: #f0ebf5;--theme-purple-bg-strong: #ddd4ea;--theme-purple-border: #c4b5d9;--theme-purple-accent: #b3a0cd;--theme-purple-text: #6b5a85;--theme-orange-bg: #fdf0e6;--theme-orange-text: #8a5028;--theme-overlay: rgba(45, 49, 66, .45);--theme-overlay-dark: rgba(31, 34, 50, .6);--btn-primary-bg: var(--theme-gradient);--btn-primary-shadow: 0 2px 8px rgba(123, 143, 178, .3);--btn-primary-hover-shadow: 0 4px 12px rgba(123, 143, 178, .4);--btn-secondary-bg: #e8e3db;--btn-secondary-color: #4a4d5e;--btn-secondary-border: 1px solid #ddd8d0;--btn-secondary-hover-bg: #ddd8d0;--shadow-modal: 0 20px 60px rgba(45, 49, 66, .18);--shadow-card: 0 2px 8px rgba(45, 49, 66, .06);--shadow-hover: 0 4px 16px rgba(123, 143, 178, .2);--focus-ring: 0 0 0 3px rgba(160, 141, 184, .2)}[data-palette=flat-pastel][data-theme=dark]{--theme-primary: #99aed0;--theme-secondary: #bca8d4;--theme-primary-dark: #7b8fb2;--theme-primary-hover: #b3c2d9;--theme-primary-light: #cdd6e6;--theme-accent: #e0a0b2;--theme-indigo: #99aed0;--theme-gradient: linear-gradient(135deg, #4a5d7a 0%, #5e4d72 100%);--theme-gradient-reverse: linear-gradient(135deg, #5e4d72 0%, #4a5d7a 100%);--theme-gradient-subtle: linear-gradient(135deg, #1e2130 0%, #251e30 100%);--theme-gradient-alt: linear-gradient(135deg, #6b80a6, #9e7bb5);--theme-bg-page: #151820;--theme-bg-card: #1e2230;--theme-bg-card-translucent: rgba(30, 34, 48, .95);--theme-bg-secondary: #1e2230;--theme-bg-tertiary: #2a2e3e;--theme-bg-hover: #2d3348;--theme-bg-muted: #4a4f62;--theme-bg-indigo-light: #1e2240;--theme-bg-indigo-lighter: #2a2e50;--theme-text-primary: #e8e4df;--theme-text-secondary: #9a9da8;--theme-text-muted: #6b6e7b;--theme-text-heading: #f0ece8;--theme-text-dark: #d5d0c9;--theme-text-body: #bfbab2;--theme-text-subtle: #8a8d9a;--theme-text-gray: #7d808e;--theme-border: #2e3242;--theme-border-light: #1e2230;--theme-border-medium: #353948;--theme-border-muted: #424657;--theme-border-focus: #bca8d4;--theme-purple-bg: #251e30;--theme-purple-bg-strong: #302640;--theme-purple-border: #4a3d60;--theme-purple-accent: #7c60a0;--theme-purple-text: #bca8d4;--theme-orange-bg: #2e1a0a;--theme-orange-text: #e0a060;--theme-overlay: rgba(0, 0, 0, .65);--theme-overlay-dark: rgba(0, 0, 0, .8);--btn-secondary-bg: #2a2e3e;--btn-secondary-color: #d5d0c9;--btn-secondary-border: 1px solid #353948;--btn-secondary-hover-bg: #353948;--shadow-modal: 0 20px 60px rgba(0, 0, 0, .45);--shadow-card: 0 2px 8px rgba(0, 0, 0, .25);--shadow-hover: 0 4px 16px rgba(99, 110, 140, .25);--focus-ring: 0 0 0 3px rgba(188, 168, 212, .2)}[data-palette=flat-material]{--theme-primary: #1976d2;--theme-secondary: #455a64;--theme-primary-dark: #1565c0;--theme-primary-hover: #1e88e5;--theme-primary-light: #42a5f5;--theme-accent: #ff6d00;--theme-indigo: #3949ab;--theme-gradient: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);--theme-gradient-reverse: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);--theme-gradient-subtle: linear-gradient(135deg, #e3f2fd 0%, #e8eaf6 100%);--theme-gradient-alt: linear-gradient(135deg, #1976d2, #3949ab);--theme-bg-page: #fafafa;--theme-bg-card: #ffffff;--theme-bg-card-translucent: rgba(255, 255, 255, .96);--theme-bg-secondary: #f5f5f5;--theme-bg-tertiary: #eeeeee;--theme-bg-hover: #e3f2fd;--theme-bg-muted: #bdbdbd;--theme-bg-indigo-light: #e8eaf6;--theme-bg-indigo-lighter: #c5cae9;--theme-text-primary: #212121;--theme-text-secondary: #616161;--theme-text-muted: #9e9e9e;--theme-text-heading: #0d0d0d;--theme-text-dark: #37474f;--theme-text-body: #424242;--theme-text-subtle: #546e7a;--theme-text-gray: #757575;--theme-border: #e0e0e0;--theme-border-light: #f5f5f5;--theme-border-medium: #bdbdbd;--theme-border-muted: #d6d6d6;--theme-border-focus: #1976d2;--theme-purple-bg: #ede7f6;--theme-purple-bg-strong: #d1c4e9;--theme-purple-border: #b39ddb;--theme-purple-accent: #9575cd;--theme-purple-text: #4527a0;--theme-orange-bg: #fff3e0;--theme-orange-text: #e65100;--theme-overlay: rgba(0, 0, 0, .5);--theme-overlay-dark: rgba(0, 0, 0, .6);--btn-primary-bg: var(--theme-gradient);--btn-primary-shadow: 0 2px 4px rgba(25, 118, 210, .3);--btn-primary-hover-shadow: 0 4px 8px rgba(25, 118, 210, .4);--btn-secondary-bg: #eeeeee;--btn-secondary-color: #424242;--btn-secondary-border: 1px solid #e0e0e0;--btn-secondary-hover-bg: #e0e0e0;--shadow-modal: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);--shadow-card: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);--shadow-hover: 0 4px 12px rgba(25, 118, 210, .15);--focus-ring: 0 0 0 3px rgba(25, 118, 210, .2)}[data-palette=flat-material][data-theme=dark]{--theme-primary: #64b5f6;--theme-secondary: #90a4ae;--theme-primary-dark: #42a5f5;--theme-primary-hover: #90caf9;--theme-primary-light: #bbdefb;--theme-accent: #ffab40;--theme-indigo: #7986cb;--theme-gradient: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);--theme-gradient-reverse: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);--theme-gradient-subtle: linear-gradient(135deg, #0d1b3e 0%, #0d1040 100%);--theme-gradient-alt: linear-gradient(135deg, #1565c0, #283593);--theme-bg-page: #121212;--theme-bg-card: #1e1e1e;--theme-bg-card-translucent: rgba(30, 30, 30, .96);--theme-bg-secondary: #1e1e1e;--theme-bg-tertiary: #2c2c2c;--theme-bg-hover: #1a2740;--theme-bg-muted: #616161;--theme-bg-dark: #121212;--theme-bg-darker: #000000;--theme-bg-indigo-light: #1a1a3e;--theme-bg-indigo-lighter: #283050;--theme-text-primary: #e0e0e0;--theme-text-secondary: #9e9e9e;--theme-text-muted: #616161;--theme-text-heading: #f5f5f5;--theme-text-dark: #bdbdbd;--theme-text-body: #b0b0b0;--theme-text-subtle: #9e9e9e;--theme-text-gray: #858585;--theme-border: #333333;--theme-border-light: #1e1e1e;--theme-border-medium: #424242;--theme-border-muted: #505050;--theme-border-focus: #64b5f6;--theme-purple-bg: #1a0e30;--theme-purple-bg-strong: #2a1848;--theme-purple-border: #4527a0;--theme-purple-accent: #7c4dff;--theme-purple-text: #b388ff;--theme-orange-bg: #3e1800;--theme-orange-text: #ffab40;--theme-overlay: rgba(0, 0, 0, .7);--theme-overlay-dark: rgba(0, 0, 0, .85);--btn-secondary-bg: #2c2c2c;--btn-secondary-color: #bdbdbd;--btn-secondary-border: 1px solid #424242;--btn-secondary-hover-bg: #424242;--shadow-modal: 0 11px 15px -7px rgba(0,0,0,.4), 0 24px 38px 3px rgba(0,0,0,.3);--shadow-card: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);--shadow-hover: 0 4px 12px rgba(100, 181, 246, .2);--focus-ring: 0 0 0 3px rgba(100, 181, 246, .25)}[data-palette=flat-minimal]{--theme-primary: #37474f;--theme-secondary: #78909c;--theme-primary-dark: #263238;--theme-primary-hover: #455a64;--theme-primary-light: #90a4ae;--theme-accent: #d32f2f;--theme-indigo: #546e7a;--theme-gradient: linear-gradient(135deg, #37474f 0%, #455a64 100%);--theme-gradient-reverse: linear-gradient(135deg, #455a64 0%, #37474f 100%);--theme-gradient-subtle: linear-gradient(135deg, #f5f5f5 0%, #eceff1 100%);--theme-gradient-alt: linear-gradient(135deg, #37474f, #546e7a);--theme-bg-page: #f5f5f5;--theme-bg-card: #ffffff;--theme-bg-card-translucent: rgba(255, 255, 255, .96);--theme-bg-secondary: #fafafa;--theme-bg-tertiary: #f0f0f0;--theme-bg-hover: #eceff1;--theme-bg-muted: #b0bec5;--theme-bg-indigo-light: #eceff1;--theme-bg-indigo-lighter: #cfd8dc;--theme-text-primary: #263238;--theme-text-secondary: #546e7a;--theme-text-muted: #90a4ae;--theme-text-heading: #1b262c;--theme-text-dark: #37474f;--theme-text-body: #455a64;--theme-text-subtle: #607d8b;--theme-text-gray: #78909c;--theme-border: #e0e0e0;--theme-border-light: #f5f5f5;--theme-border-medium: #cfd8dc;--theme-border-muted: #b0bec5;--theme-border-focus: #37474f;--theme-purple-bg: #eceff1;--theme-purple-bg-strong: #cfd8dc;--theme-purple-border: #b0bec5;--theme-purple-accent: #78909c;--theme-purple-text: #37474f;--theme-orange-bg: #fff3e0;--theme-orange-text: #bf360c;--theme-overlay: rgba(38, 50, 56, .5);--theme-overlay-dark: rgba(27, 38, 44, .65);--btn-primary-bg: var(--theme-gradient);--btn-primary-shadow: 0 2px 6px rgba(55, 71, 79, .25);--btn-primary-hover-shadow: 0 4px 10px rgba(55, 71, 79, .35);--btn-secondary-bg: #f0f0f0;--btn-secondary-color: #455a64;--btn-secondary-border: 1px solid #e0e0e0;--btn-secondary-hover-bg: #e0e0e0;--shadow-modal: 0 16px 48px rgba(0, 0, 0, .12);--shadow-card: 0 1px 4px rgba(0, 0, 0, .06);--shadow-hover: 0 4px 12px rgba(55, 71, 79, .12);--focus-ring: 0 0 0 3px rgba(55, 71, 79, .15)}[data-palette=flat-minimal][data-theme=dark]{--theme-primary: #b0bec5;--theme-secondary: #78909c;--theme-primary-dark: #90a4ae;--theme-primary-hover: #cfd8dc;--theme-primary-light: #eceff1;--theme-accent: #ef5350;--theme-indigo: #90a4ae;--theme-gradient: linear-gradient(135deg, #1a2327 0%, #263238 100%);--theme-gradient-reverse: linear-gradient(135deg, #263238 0%, #1a2327 100%);--theme-gradient-subtle: linear-gradient(135deg, #0a0e10 0%, #111819 100%);--theme-gradient-alt: linear-gradient(135deg, #37474f, #546e7a);--theme-bg-page: #0a0a0a;--theme-bg-card: #141414;--theme-bg-card-translucent: rgba(20, 20, 20, .96);--theme-bg-secondary: #141414;--theme-bg-tertiary: #212121;--theme-bg-hover: #1e272c;--theme-bg-muted: #546e7a;--theme-bg-dark: #0a0a0a;--theme-bg-darker: #000000;--theme-bg-indigo-light: #182025;--theme-bg-indigo-lighter: #263238;--theme-text-primary: #eceff1;--theme-text-secondary: #90a4ae;--theme-text-muted: #546e7a;--theme-text-heading: #ffffff;--theme-text-dark: #cfd8dc;--theme-text-body: #b0bec5;--theme-text-subtle: #78909c;--theme-text-gray: #78909c;--theme-border: #2a2a2a;--theme-border-light: #141414;--theme-border-medium: #333333;--theme-border-muted: #444444;--theme-border-focus: #b0bec5;--theme-purple-bg: #1a1d20;--theme-purple-bg-strong: #263035;--theme-purple-border: #37474f;--theme-purple-accent: #607d8b;--theme-purple-text: #b0bec5;--theme-orange-bg: #2a1500;--theme-orange-text: #ff8a65;--theme-overlay: rgba(0, 0, 0, .75);--theme-overlay-dark: rgba(0, 0, 0, .85);--btn-secondary-bg: #212121;--btn-secondary-color: #cfd8dc;--btn-secondary-border: 1px solid #333333;--btn-secondary-hover-bg: #333333;--shadow-modal: 0 16px 48px rgba(0, 0, 0, .5);--shadow-card: 0 1px 4px rgba(0, 0, 0, .4);--shadow-hover: 0 4px 12px rgba(176, 190, 197, .1);--focus-ring: 0 0 0 3px rgba(176, 190, 197, .2)}[data-palette=flat-neon-soft]{--theme-primary: #00acc1;--theme-secondary: #7b1fa2;--theme-primary-dark: #00838f;--theme-primary-hover: #26c6da;--theme-primary-light: #4dd0e1;--theme-accent: #76ff03;--theme-indigo: #5c6bc0;--theme-gradient: linear-gradient(135deg, #00acc1 0%, #7b1fa2 100%);--theme-gradient-reverse: linear-gradient(135deg, #7b1fa2 0%, #00acc1 100%);--theme-gradient-subtle: linear-gradient(135deg, #e0f7fa 0%, #f3e5f5 100%);--theme-gradient-alt: linear-gradient(135deg, #00acc1, #5c6bc0);--theme-bg-page: #f2f8fa;--theme-bg-card: #ffffff;--theme-bg-card-translucent: rgba(255, 255, 255, .95);--theme-bg-secondary: #ecf5f7;--theme-bg-tertiary: #e0eef2;--theme-bg-hover: #e0f7fa;--theme-bg-muted: #b2ccd2;--theme-bg-indigo-light: #e8eaf6;--theme-bg-indigo-lighter: #c5cae9;--theme-text-primary: #1a2332;--theme-text-secondary: #546068;--theme-text-muted: #8da0a6;--theme-text-heading: #0d1520;--theme-text-dark: #2c3e46;--theme-text-body: #3e525a;--theme-text-subtle: #546e78;--theme-text-gray: #6e8890;--theme-border: #d6e4e8;--theme-border-light: #ecf5f7;--theme-border-medium: #c0d4da;--theme-border-muted: #aec2c8;--theme-border-focus: #00acc1;--theme-purple-bg: #f3e5f5;--theme-purple-bg-strong: #e1bee7;--theme-purple-border: #ce93d8;--theme-purple-accent: #ab47bc;--theme-purple-text: #6a1b9a;--theme-orange-bg: #fff3e0;--theme-orange-text: #e65100;--theme-overlay: rgba(26, 35, 50, .5);--theme-overlay-dark: rgba(13, 21, 32, .65);--btn-primary-bg: var(--theme-gradient);--btn-primary-shadow: 0 2px 8px rgba(0, 172, 193, .3);--btn-primary-hover-shadow: 0 4px 12px rgba(0, 172, 193, .4);--btn-secondary-bg: #e0eef2;--btn-secondary-color: #3e525a;--btn-secondary-border: 1px solid #d6e4e8;--btn-secondary-hover-bg: #d6e4e8;--shadow-modal: 0 20px 60px rgba(0, 100, 120, .15);--shadow-card: 0 2px 8px rgba(0, 100, 120, .06);--shadow-hover: 0 4px 16px rgba(0, 172, 193, .18);--focus-ring: 0 0 0 3px rgba(0, 172, 193, .2)}[data-palette=flat-neon-soft][data-theme=dark]{--theme-primary: #4dd0e1;--theme-secondary: #ce93d8;--theme-primary-dark: #26c6da;--theme-primary-hover: #80deea;--theme-primary-light: #b2ebf2;--theme-accent: #b9f6ca;--theme-indigo: #7986cb;--theme-gradient: linear-gradient(135deg, #006064 0%, #4a148c 100%);--theme-gradient-reverse: linear-gradient(135deg, #4a148c 0%, #006064 100%);--theme-gradient-subtle: linear-gradient(135deg, #0a1c1e 0%, #1a0a2a 100%);--theme-gradient-alt: linear-gradient(135deg, #00838f, #4527a0);--theme-bg-page: #0d1117;--theme-bg-card: #161b22;--theme-bg-card-translucent: rgba(22, 27, 34, .95);--theme-bg-secondary: #161b22;--theme-bg-tertiary: #21262d;--theme-bg-hover: #0e2628;--theme-bg-muted: #48535e;--theme-bg-dark: #0d1117;--theme-bg-darker: #010409;--theme-bg-indigo-light: #14172e;--theme-bg-indigo-lighter: #1f2345;--theme-text-primary: #e6edf3;--theme-text-secondary: #8b949e;--theme-text-muted: #545d68;--theme-text-heading: #f0f6fc;--theme-text-dark: #c9d1d9;--theme-text-body: #a8b2bc;--theme-text-subtle: #768390;--theme-text-gray: #6e7681;--theme-border: #30363d;--theme-border-light: #161b22;--theme-border-medium: #3b434b;--theme-border-muted: #484f58;--theme-border-focus: #4dd0e1;--theme-purple-bg: #1a0a2a;--theme-purple-bg-strong: #2a1445;--theme-purple-border: #6a1b9a;--theme-purple-accent: #9c27b0;--theme-purple-text: #ce93d8;--theme-orange-bg: #3e1800;--theme-orange-text: #ffab40;--theme-overlay: rgba(0, 0, 0, .7);--theme-overlay-dark: rgba(0, 0, 0, .85);--btn-secondary-bg: #21262d;--btn-secondary-color: #c9d1d9;--btn-secondary-border: 1px solid #30363d;--btn-secondary-hover-bg: #30363d;--shadow-modal: 0 20px 60px rgba(0, 0, 0, .5);--shadow-card: 0 2px 8px rgba(0, 0, 0, .35);--shadow-hover: 0 4px 16px rgba(77, 208, 225, .15);--focus-ring: 0 0 0 3px rgba(77, 208, 225, .2)}[data-palette=flat-warm]{--theme-primary: #bf6530;--theme-secondary: #795548;--theme-primary-dark: #a5541e;--theme-primary-hover: #d4782f;--theme-primary-light: #e8a060;--theme-accent: #c0a030;--theme-indigo: #a1887f;--theme-gradient: linear-gradient(135deg, #bf6530 0%, #795548 100%);--theme-gradient-reverse: linear-gradient(135deg, #795548 0%, #bf6530 100%);--theme-gradient-subtle: linear-gradient(135deg, #fdf0e4 0%, #f5ece6 100%);--theme-gradient-alt: linear-gradient(135deg, #bf6530, #a1887f);--theme-bg-page: #faf6f1;--theme-bg-card: #fffdfb;--theme-bg-card-translucent: rgba(255, 253, 251, .96);--theme-bg-secondary: #f5ece4;--theme-bg-tertiary: #ede2d7;--theme-bg-hover: #fdf0e4;--theme-bg-muted: #c4b5a4;--theme-bg-indigo-light: #efebe6;--theme-bg-indigo-lighter: #e0d5c8;--theme-text-primary: #3e2723;--theme-text-secondary: #6d4c41;--theme-text-muted: #a1887f;--theme-text-heading: #2c1a14;--theme-text-dark: #4e342e;--theme-text-body: #5d4037;--theme-text-subtle: #6d4c41;--theme-text-gray: #8d6e63;--theme-border: #e0d5c8;--theme-border-light: #f0e8df;--theme-border-medium: #d2c4b4;--theme-border-muted: #c4b5a4;--theme-border-focus: #bf6530;--theme-purple-bg: #f5ece6;--theme-purple-bg-strong: #e0d5c8;--theme-purple-border: #c4b5a4;--theme-purple-accent: #a1887f;--theme-purple-text: #5d4037;--theme-orange-bg: #fdf0e4;--theme-orange-text: #a5541e;--theme-info: #2196f3;--theme-info-bg: #e3f2fd;--theme-info-border: #90caf9;--theme-info-text: #0d47a1;--theme-overlay: rgba(62, 39, 35, .5);--theme-overlay-dark: rgba(44, 26, 20, .65);--btn-primary-bg: var(--theme-gradient);--btn-primary-shadow: 0 2px 8px rgba(191, 101, 48, .3);--btn-primary-hover-shadow: 0 4px 12px rgba(191, 101, 48, .4);--btn-secondary-bg: #ede2d7;--btn-secondary-color: #5d4037;--btn-secondary-border: 1px solid #e0d5c8;--btn-secondary-hover-bg: #e0d5c8;--shadow-modal: 0 20px 60px rgba(62, 39, 35, .18);--shadow-card: 0 2px 8px rgba(62, 39, 35, .06);--shadow-hover: 0 4px 16px rgba(191, 101, 48, .18);--focus-ring: 0 0 0 3px rgba(191, 101, 48, .18)}[data-palette=flat-warm][data-theme=dark]{--theme-primary: #e09060;--theme-secondary: #a1887f;--theme-primary-dark: #bf6530;--theme-primary-hover: #eaa878;--theme-primary-light: #f0c090;--theme-accent: #d4b640;--theme-indigo: #bcaaa4;--theme-gradient: linear-gradient(135deg, #6d3a1e 0%, #4e342e 100%);--theme-gradient-reverse: linear-gradient(135deg, #4e342e 0%, #6d3a1e 100%);--theme-gradient-subtle: linear-gradient(135deg, #1c140e 0%, #1a1210 100%);--theme-gradient-alt: linear-gradient(135deg, #8d5524, #6d4c41);--theme-bg-page: #1a1410;--theme-bg-card: #251e18;--theme-bg-card-translucent: rgba(37, 30, 24, .96);--theme-bg-secondary: #251e18;--theme-bg-tertiary: #342a22;--theme-bg-hover: #3a2a1e;--theme-bg-muted: #5d5045;--theme-bg-dark: #1a1410;--theme-bg-darker: #0e0a06;--theme-bg-indigo-light: #2a2018;--theme-bg-indigo-lighter: #3a2e22;--theme-text-primary: #efebe7;--theme-text-secondary: #a8998c;--theme-text-muted: #6d5f54;--theme-text-heading: #f5f0eb;--theme-text-dark: #d4c4b6;--theme-text-body: #bfb0a2;--theme-text-subtle: #8d7e72;--theme-text-gray: #8d7e72;--theme-border: #3e352e;--theme-border-light: #251e18;--theme-border-medium: #4a4038;--theme-border-muted: #5a4e44;--theme-border-focus: #e09060;--theme-purple-bg: #2a2018;--theme-purple-bg-strong: #3a2e22;--theme-purple-border: #5d4037;--theme-purple-accent: #8d6e63;--theme-purple-text: #bcaaa4;--theme-orange-bg: #3e2010;--theme-orange-text: #eaa878;--theme-info: #64b5f6;--theme-info-bg: #0c2340;--theme-info-border: #1565c0;--theme-info-text: #90caf9;--theme-overlay: rgba(0, 0, 0, .65);--theme-overlay-dark: rgba(0, 0, 0, .8);--btn-secondary-bg: #342a22;--btn-secondary-color: #d4c4b6;--btn-secondary-border: 1px solid #4a4038;--btn-secondary-hover-bg: #4a4038;--shadow-modal: 0 20px 60px rgba(0, 0, 0, .45);--shadow-card: 0 2px 8px rgba(0, 0, 0, .3);--shadow-hover: 0 4px 16px rgba(224, 144, 96, .15);--focus-ring: 0 0 0 3px rgba(224, 144, 96, .2)}[data-palette=flat-cold]{--theme-primary: #0277bd;--theme-secondary: #455a64;--theme-primary-dark: #01579b;--theme-primary-hover: #0288d1;--theme-primary-light: #29b6f6;--theme-accent: #00bcd4;--theme-indigo: #0277bd;--theme-gradient: linear-gradient(135deg, #0277bd 0%, #01579b 100%);--theme-gradient-reverse: linear-gradient(135deg, #01579b 0%, #0277bd 100%);--theme-gradient-subtle: linear-gradient(135deg, #e1f5fe 0%, #e0f2f1 100%);--theme-gradient-alt: linear-gradient(135deg, #0277bd, #00838f);--theme-bg-page: #f0f5f8;--theme-bg-card: #ffffff;--theme-bg-card-translucent: rgba(255, 255, 255, .96);--theme-bg-secondary: #eaf0f4;--theme-bg-tertiary: #dde6ec;--theme-bg-hover: #e1f5fe;--theme-bg-muted: #aabcc6;--theme-bg-indigo-light: #e1f5fe;--theme-bg-indigo-lighter: #b3e5fc;--theme-text-primary: #1c313a;--theme-text-secondary: #4d6670;--theme-text-muted: #8da4ae;--theme-text-heading: #102028;--theme-text-dark: #2c4650;--theme-text-body: #3d565f;--theme-text-subtle: #547480;--theme-text-gray: #6d8892;--theme-border: #d4e1e8;--theme-border-light: #eaf0f4;--theme-border-medium: #bcccd4;--theme-border-muted: #aabcc6;--theme-border-focus: #0277bd;--theme-purple-bg: #e1f5fe;--theme-purple-bg-strong: #b3e5fc;--theme-purple-border: #81d4fa;--theme-purple-accent: #29b6f6;--theme-purple-text: #01579b;--theme-orange-bg: #fff3e0;--theme-orange-text: #e65100;--theme-overlay: rgba(28, 49, 58, .5);--theme-overlay-dark: rgba(16, 32, 40, .65);--btn-primary-bg: var(--theme-gradient);--btn-primary-shadow: 0 2px 8px rgba(2, 119, 189, .3);--btn-primary-hover-shadow: 0 4px 12px rgba(2, 119, 189, .4);--btn-secondary-bg: #dde6ec;--btn-secondary-color: #3d565f;--btn-secondary-border: 1px solid #d4e1e8;--btn-secondary-hover-bg: #d4e1e8;--shadow-modal: 0 20px 60px rgba(28, 49, 58, .15);--shadow-card: 0 2px 8px rgba(28, 49, 58, .06);--shadow-hover: 0 4px 16px rgba(2, 119, 189, .15);--focus-ring: 0 0 0 3px rgba(2, 119, 189, .18)}[data-palette=flat-cold][data-theme=dark]{--theme-primary: #4fc3f7;--theme-secondary: #78909c;--theme-primary-dark: #29b6f6;--theme-primary-hover: #81d4fa;--theme-primary-light: #b3e5fc;--theme-accent: #4dd0e1;--theme-indigo: #4fc3f7;--theme-gradient: linear-gradient(135deg, #01579b 0%, #002f6c 100%);--theme-gradient-reverse: linear-gradient(135deg, #002f6c 0%, #01579b 100%);--theme-gradient-subtle: linear-gradient(135deg, #051c2e 0%, #041828 100%);--theme-gradient-alt: linear-gradient(135deg, #0277bd, #00695c);--theme-bg-page: #0a1929;--theme-bg-card: #132f4c;--theme-bg-card-translucent: rgba(19, 47, 76, .96);--theme-bg-secondary: #132f4c;--theme-bg-tertiary: #1a3a5c;--theme-bg-hover: #0e3550;--theme-bg-muted: #4a6378;--theme-bg-dark: #0a1929;--theme-bg-darker: #04111f;--theme-bg-indigo-light: #0d2540;--theme-bg-indigo-lighter: #143858;--theme-text-primary: #d7e3ed;--theme-text-secondary: #8ca8be;--theme-text-muted: #5a7a90;--theme-text-heading: #e8f0f6;--theme-text-dark: #bccfd9;--theme-text-body: #a0b8c8;--theme-text-subtle: #7296aa;--theme-text-gray: #6d8a9c;--theme-border: #1e3a5c;--theme-border-light: #132f4c;--theme-border-medium: #265078;--theme-border-muted: #2e5882;--theme-border-focus: #4fc3f7;--theme-purple-bg: #0d2540;--theme-purple-bg-strong: #143858;--theme-purple-border: #1e5a80;--theme-purple-accent: #29b6f6;--theme-purple-text: #81d4fa;--theme-orange-bg: #2a1800;--theme-orange-text: #ffab40;--theme-overlay: rgba(0, 0, 0, .7);--theme-overlay-dark: rgba(0, 0, 0, .85);--btn-secondary-bg: #1a3a5c;--btn-secondary-color: #bccfd9;--btn-secondary-border: 1px solid #265078;--btn-secondary-hover-bg: #265078;--shadow-modal: 0 20px 60px rgba(0, 0, 0, .45);--shadow-card: 0 2px 8px rgba(0, 0, 0, .3);--shadow-hover: 0 4px 16px rgba(79, 195, 247, .12);--focus-ring: 0 0 0 3px rgba(79, 195, 247, .2)}[data-palette=vscode-light]{--theme-primary: #0078d4;--theme-secondary: #005a9e;--theme-primary-dark: #005a9e;--theme-primary-hover: #106ebe;--theme-primary-light: #c8e1ff;--theme-accent: #e8ab53;--theme-indigo: #0078d4;--theme-gradient: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);--theme-gradient-reverse: linear-gradient(135deg, #005a9e 0%, #0078d4 100%);--theme-gradient-subtle: linear-gradient(135deg, #f3f3f3 0%, #ececec 100%);--theme-gradient-alt: linear-gradient(135deg, #0078d4, #e8ab53);--theme-bg-page: #f3f3f3;--theme-bg-card: #ffffff;--theme-bg-card-translucent: rgba(255, 255, 255, .97);--theme-bg-secondary: #f3f3f3;--theme-bg-tertiary: #e8e8e8;--theme-bg-hover: #e8e8e8;--theme-bg-muted: #c5c5c5;--theme-bg-indigo-light: #dceaff;--theme-bg-indigo-lighter: #c8e1ff;--theme-text-primary: #1e1e1e;--theme-text-secondary: #616161;--theme-text-muted: #858585;--theme-text-heading: #1e1e1e;--theme-text-dark: #333333;--theme-text-body: #3b3b3b;--theme-text-subtle: #6e6e6e;--theme-text-gray: #858585;--theme-border: #e5e5e5;--theme-border-light: #f0f0f0;--theme-border-medium: #d4d4d4;--theme-border-muted: #cccccc;--theme-border-focus: #0078d4;--theme-purple-bg: #dceaff;--theme-purple-bg-strong: #b4d6ff;--theme-purple-border: #80b8ff;--theme-purple-accent: #3794ff;--theme-purple-text: #005a9e;--theme-orange-bg: #fff8e1;--theme-orange-text: #795518;--theme-overlay: rgba(30, 30, 30, .4);--theme-overlay-dark: rgba(0, 0, 0, .55);--btn-primary-bg: #0078d4;--btn-primary-shadow: 0 1px 4px rgba(0, 120, 212, .3);--btn-primary-hover-shadow: 0 2px 8px rgba(0, 120, 212, .4);--btn-secondary-bg: #e5e5e5;--btn-secondary-color: #3b3b3b;--btn-secondary-border: 1px solid #d4d4d4;--btn-secondary-hover-bg: #d4d4d4;--shadow-modal: 0 8px 30px rgba(0, 0, 0, .12);--shadow-card: 0 1px 4px rgba(0, 0, 0, .06);--shadow-hover: 0 2px 8px rgba(0, 120, 212, .15);--focus-ring: 0 0 0 2px rgba(0, 120, 212, .25);--vscode-keyword: #0000ff;--vscode-string: #a31515;--vscode-number: #098658;--vscode-function: #795e26;--vscode-type: #267f99;--vscode-comment: #008000;--vscode-variable: #001080;--vscode-property: #001080;--vscode-operator: #000000;--vscode-error: #e51400;--vscode-warning: #bf8803;--vscode-info: #1a85ff;--vscode-success: #388a34;--vscode-added: #81b88b;--vscode-deleted: #c74e39;--vscode-modified: #66afe0;--vscode-badge-bg: #0078d4;--vscode-badge-fg: #ffffff;--vscode-tab-active-bg: #ffffff;--vscode-tab-inactive-bg: #ececec;--vscode-tab-border: #f3f3f3;--vscode-panel-bg: #ffffff;--vscode-panel-border: #e5e5e5;--vscode-sidebar-bg: #f3f3f3;--vscode-activitybar-bg: #2c2c2c;--vscode-activitybar-fg: #ffffff;--vscode-statusbar-bg: #007acc;--vscode-statusbar-fg: #ffffff;--vscode-titlebar-bg: #dddddd;--vscode-titlebar-fg: #333333;--vscode-input-bg: #ffffff;--vscode-input-fg: #616161;--vscode-input-border: #cecece;--vscode-input-focus-border: #0078d4;--vscode-scrollbar: rgba(100, 100, 100, .2);--vscode-scrollbar-hover: rgba(100, 100, 100, .4)}[data-palette=vscode-dark][data-theme=dark],[data-palette=vscode-dark]{--theme-primary: #0078d4;--theme-secondary: #3794ff;--theme-primary-dark: #005a9e;--theme-primary-hover: #1a8cff;--theme-primary-light: #264f78;--theme-accent: #dcdcaa;--theme-indigo: #569cd6;--theme-gradient: linear-gradient(135deg, #0078d4 0%, #264f78 100%);--theme-gradient-reverse: linear-gradient(135deg, #264f78 0%, #0078d4 100%);--theme-gradient-subtle: linear-gradient(135deg, #1e1e1e 0%, #252526 100%);--theme-gradient-alt: linear-gradient(135deg, #264f78, #4ec9b0);--theme-bg-page: #1e1e1e;--theme-bg-card: #252526;--theme-bg-card-translucent: rgba(37, 37, 38, .97);--theme-bg-secondary: #252526;--theme-bg-tertiary: #2d2d30;--theme-bg-hover: #2a2d2e;--theme-bg-muted: #3c3c3c;--theme-bg-indigo-light: #1b2838;--theme-bg-indigo-lighter: #264f78;--theme-text-primary: #d4d4d4;--theme-text-secondary: #cccccc;--theme-text-muted: #808080;--theme-text-heading: #e2e2e2;--theme-text-dark: #d4d4d4;--theme-text-body: #cccccc;--theme-text-subtle: #9e9e9e;--theme-text-gray: #808080;--theme-border: #3c3c3c;--theme-border-light: #2d2d30;--theme-border-medium: #474747;--theme-border-muted: #404040;--theme-border-focus: #007fd4;--theme-purple-bg: #1b2838;--theme-purple-bg-strong: #264f78;--theme-purple-border: #3c6ea0;--theme-purple-accent: #3794ff;--theme-purple-text: #9cdcfe;--theme-orange-bg: #352a1e;--theme-orange-text: #e8ab53;--theme-overlay: rgba(0, 0, 0, .5);--theme-overlay-dark: rgba(0, 0, 0, .7);--btn-primary-bg: #0078d4;--btn-primary-shadow: 0 1px 4px rgba(0, 120, 212, .35);--btn-primary-hover-shadow: 0 2px 8px rgba(0, 120, 212, .5);--btn-secondary-bg: #3c3c3c;--btn-secondary-color: #cccccc;--btn-secondary-border: 1px solid #474747;--btn-secondary-hover-bg: #474747;--shadow-modal: 0 8px 30px rgba(0, 0, 0, .4);--shadow-card: 0 1px 4px rgba(0, 0, 0, .2);--shadow-hover: 0 2px 8px rgba(0, 120, 212, .2);--focus-ring: 0 0 0 2px rgba(0, 127, 212, .3);--vscode-keyword: #569cd6;--vscode-string: #ce9178;--vscode-number: #b5cea8;--vscode-function: #dcdcaa;--vscode-type: #4ec9b0;--vscode-comment: #6a9955;--vscode-variable: #9cdcfe;--vscode-property: #9cdcfe;--vscode-operator: #d4d4d4;--vscode-error: #f14c4c;--vscode-warning: #cca700;--vscode-info: #3794ff;--vscode-success: #89d185;--vscode-added: #587c0c;--vscode-deleted: #94151b;--vscode-modified: #569cd6;--vscode-badge-bg: #007acc;--vscode-badge-fg: #ffffff;--vscode-tab-active-bg: #1e1e1e;--vscode-tab-inactive-bg: #2d2d30;--vscode-tab-border: #252526;--vscode-panel-bg: #1e1e1e;--vscode-panel-border: #3c3c3c;--vscode-sidebar-bg: #252526;--vscode-activitybar-bg: #333333;--vscode-activitybar-fg: #ffffff;--vscode-statusbar-bg: #007acc;--vscode-statusbar-fg: #ffffff;--vscode-titlebar-bg: #3c3c3c;--vscode-titlebar-fg: #cccccc;--vscode-input-bg: #3c3c3c;--vscode-input-fg: #cccccc;--vscode-input-border: #3c3c3c;--vscode-input-focus-border: #007fd4;--vscode-scrollbar: rgba(121, 121, 121, .3);--vscode-scrollbar-hover: rgba(121, 121, 121, .5)}[data-palette=vscode-dark][data-theme=light]{--theme-bg-page: #1e1e1e;--theme-bg-card: #252526;--theme-bg-card-translucent: rgba(37, 37, 38, .97);--theme-bg-secondary: #252526;--theme-bg-tertiary: #2d2d30;--theme-bg-hover: #2a2d2e;--theme-bg-muted: #3c3c3c;--theme-text-primary: #d4d4d4;--theme-text-secondary: #cccccc;--theme-text-muted: #808080;--theme-text-heading: #e2e2e2;--theme-text-dark: #d4d4d4;--theme-text-body: #cccccc;--theme-text-subtle: #9e9e9e;--theme-text-gray: #808080;--theme-border: #3c3c3c;--theme-border-light: #2d2d30;--theme-border-medium: #474747;--theme-border-muted: #404040;--theme-overlay: rgba(0, 0, 0, .5);--theme-overlay-dark: rgba(0, 0, 0, .7);--shadow-modal: 0 8px 30px rgba(0, 0, 0, .4);--shadow-card: 0 1px 4px rgba(0, 0, 0, .2);--btn-secondary-bg: #3c3c3c;--btn-secondary-color: #cccccc;--btn-secondary-border: 1px solid #474747;--btn-secondary-hover-bg: #474747}[data-palette=vscode-light][data-theme=dark]{--theme-bg-page: #f3f3f3;--theme-bg-card: #ffffff;--theme-bg-card-translucent: rgba(255, 255, 255, .97);--theme-bg-secondary: #f3f3f3;--theme-bg-tertiary: #e8e8e8;--theme-bg-hover: #e8e8e8;--theme-bg-muted: #c5c5c5;--theme-text-primary: #1e1e1e;--theme-text-secondary: #616161;--theme-text-muted: #858585;--theme-text-heading: #1e1e1e;--theme-text-dark: #333333;--theme-text-body: #3b3b3b;--theme-text-subtle: #6e6e6e;--theme-text-gray: #858585;--theme-border: #e5e5e5;--theme-border-light: #f0f0f0;--theme-border-medium: #d4d4d4;--theme-border-muted: #cccccc;--theme-overlay: rgba(30, 30, 30, .4);--theme-overlay-dark: rgba(0, 0, 0, .55);--shadow-modal: 0 8px 30px rgba(0, 0, 0, .12);--shadow-card: 0 1px 4px rgba(0, 0, 0, .06);--btn-secondary-bg: #e5e5e5;--btn-secondary-color: #3b3b3b;--btn-secondary-border: 1px solid #d4d4d4;--btn-secondary-hover-bg: #d4d4d4}[data-palette^=vscode] .vsc-statusbar{background:var(--vscode-statusbar-bg);color:var(--vscode-statusbar-fg);font-size:12px;padding:2px 10px;display:flex;align-items:center;gap:12px}[data-palette^=vscode] .vsc-activitybar{background:var(--vscode-activitybar-bg);color:var(--vscode-activitybar-fg);width:48px;display:flex;flex-direction:column;align-items:center;padding:8px 0;gap:4px}[data-palette^=vscode] .vsc-activitybar-item{width:48px;height:48px;display:flex;align-items:center;justify-content:center;opacity:.6;cursor:pointer;transition:opacity .15s}[data-palette^=vscode] .vsc-activitybar-item:hover,[data-palette^=vscode] .vsc-activitybar-item.active{opacity:1}[data-palette^=vscode] .vsc-activitybar-item.active{border-left:2px solid var(--vscode-statusbar-bg)}[data-palette^=vscode] .vsc-badge{background:var(--vscode-badge-bg);color:var(--vscode-badge-fg);font-size:11px;font-weight:600;min-width:18px;height:18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}[data-palette^=vscode] .vsc-tabs{display:flex;background:var(--vscode-tab-inactive-bg);border-bottom:1px solid var(--vscode-panel-border)}[data-palette^=vscode] .vsc-tab{padding:8px 16px;font-size:13px;cursor:pointer;border:none;background:transparent;color:var(--theme-text-muted);border-bottom:2px solid transparent;transition:all .15s}[data-palette^=vscode] .vsc-tab:hover{color:var(--theme-text-primary)}[data-palette^=vscode] .vsc-tab.active{background:var(--vscode-tab-active-bg);color:var(--theme-text-primary);border-bottom-color:var(--vscode-statusbar-bg)}[data-palette^=vscode] .vsc-input{background:var(--vscode-input-bg);color:var(--vscode-input-fg);border:1px solid var(--vscode-input-border);padding:4px 8px;font-size:13px;font-family:inherit;outline:none;transition:border-color .15s}[data-palette^=vscode] .vsc-input:focus{border-color:var(--vscode-input-focus-border)}[data-palette^=vscode] .vsc-minimap-bar{width:4px;border-radius:2px;background:var(--vscode-scrollbar)}[data-palette^=vscode] .vsc-minimap-bar:hover{background:var(--vscode-scrollbar-hover)}[data-palette^=vscode] .vsc-breadcrumb{display:flex;align-items:center;gap:4px;padding:4px 12px;font-size:12px;color:var(--theme-text-muted);background:var(--vscode-tab-active-bg);border-bottom:1px solid var(--vscode-panel-border)}[data-palette^=vscode] .vsc-breadcrumb-sep:after{content:"›";color:var(--theme-text-gray);margin:0 2px}[data-palette^=vscode] .vsc-breadcrumb-item{cursor:pointer;transition:color .15s}[data-palette^=vscode] .vsc-breadcrumb-item:hover{color:var(--theme-text-primary)}[data-palette^=vscode] .vsc-status-error{color:var(--vscode-error)}[data-palette^=vscode] .vsc-status-warning{color:var(--vscode-warning)}[data-palette^=vscode] .vsc-status-info{color:var(--vscode-info)}[data-palette^=vscode] .vsc-status-success{color:var(--vscode-success)}[data-palette^=vscode] ::-webkit-scrollbar{width:10px;height:10px}[data-palette^=vscode] ::-webkit-scrollbar-track{background:transparent}[data-palette^=vscode] ::-webkit-scrollbar-thumb{background:var(--vscode-scrollbar);border-radius:5px}[data-palette^=vscode] ::-webkit-scrollbar-thumb:hover{background:var(--vscode-scrollbar-hover)}*{margin:0;padding:0;box-sizing:border-box}button,a,select,label[for],input[type=checkbox],input[type=radio],input[type=submit],input[type=button],input[type=reset],input[type=file],input[type=date],[role=button],[role=tab],[role=link],[tabindex]:not([tabindex="-1"]),.clickable,.sortable{cursor:pointer}input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=tel],input[type=number],textarea,[contenteditable=true]{cursor:text}input[readonly],input[disabled],textarea[readonly],textarea[disabled],select[disabled],button[disabled]{cursor:default}html,body{height:100%;height:100dvh;overflow:hidden}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--theme-bg-page);background-attachment:fixed;overscroll-behavior:contain}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{height:100%;overflow:hidden}::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}::-webkit-scrollbar-track{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:var(--scrollbar-radius);border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:padding-box}.modal-content::-webkit-scrollbar,.dialog-content::-webkit-scrollbar,[class*=modal]::-webkit-scrollbar,[class*=dialog]::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.modal-content::-webkit-scrollbar-track,.dialog-content::-webkit-scrollbar-track,[class*=modal]::-webkit-scrollbar-track,[class*=dialog]::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:var(--scrollbar-radius);margin:4px 0}.modal-content::-webkit-scrollbar-thumb,.dialog-content::-webkit-scrollbar-thumb,[class*=modal]::-webkit-scrollbar-thumb,[class*=dialog]::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:var(--scrollbar-radius);border:2px solid var(--scrollbar-track);background-clip:padding-box}.modal-content::-webkit-scrollbar-thumb:hover,.dialog-content::-webkit-scrollbar-thumb:hover,[class*=modal]::-webkit-scrollbar-thumb:hover,[class*=dialog]::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);border:2px solid var(--scrollbar-track);background-clip:padding-box}.modal-form,.dialog-content,[class*=modal-body],[class*=dialog-body]{padding-right:4px!important;scroll-padding:8px;overflow-y:auto;overflow-x:hidden}.modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;backdrop-filter:blur(4px);isolation:isolate;animation:overlayFadeIn .2s ease-out}.modal-content{animation:fadeIn .2s ease-out}
