.layout{flex-direction:column;min-height:100vh;display:flex}.navbar{background:#fff;border-bottom:1px solid #e5e7eb;padding:0;position:relative}.navbar-content{justify-content:space-between;align-items:center;padding:15px 20px;display:flex}.navbar-brand a{color:#1f2937;font-size:20px;font-weight:700;text-decoration:none}.navbar-brand-text{font-size:18px}.navbar-links{flex-wrap:nowrap;align-items:center;gap:15px;display:flex}.navbar-links a{color:#6b7280;white-space:nowrap;font-size:14px;font-weight:500;text-decoration:none;transition:color .2s}.navbar-links a:hover{color:#2563eb}.navbar-user{align-items:center;gap:12px;display:flex}.navbar-username{color:#6b7280;font-size:14px}.navbar-settings-link{color:#6b7280;border-radius:4px;justify-content:center;align-items:center;padding:6px;transition:color .2s,background-color .2s;display:flex}.navbar-settings-link:hover{color:#2563eb;background-color:#f3f4f6}.btn-sm{padding:6px 12px;font-size:14px}.main-content{flex:1;padding:20px}.navbar-hamburger{cursor:pointer;background:0 0;border:none;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;padding:10px;transition:background-color .2s;display:none}.navbar-hamburger:hover{background-color:#f3f4f6}.hamburger-line{background-color:#374151;border-radius:2px;width:22px;height:2px;transition:transform .3s,opacity .3s}.hamburger-line.open:first-child{transform:translateY(7px)rotate(45deg)}.hamburger-line.open:nth-child(2){opacity:0}.hamburger-line.open:nth-child(3){transform:translateY(-7px)rotate(-45deg)}.navbar-mobile-menu{background:#fff;border-top:1px solid #e5e7eb;flex-direction:column;max-height:0;padding:0;transition:max-height .3s ease-out,padding .3s ease-out;display:none;overflow:hidden}.navbar-mobile-menu.open{max-height:calc(100vh - 60px);padding:8px 0;overflow-y:auto}.navbar-mobile-menu a{color:#374151;padding:14px 20px;font-size:15px;font-weight:500;text-decoration:none;transition:background-color .2s,color .2s;display:block}.navbar-mobile-menu a:hover{background-color:#f3f4f6}.navbar-mobile-menu a.active{color:#2563eb;background-color:#eff6ff}.navbar-mobile-divider{background-color:#e5e7eb;height:1px;margin:8px 20px}@media (width<=900px){.navbar-hamburger{order:2;display:flex}.navbar-links-desktop{display:none}.navbar-mobile-menu{display:flex}.navbar-brand{order:1}.navbar-user{order:3;gap:8px}.navbar-username{display:none}.navbar-content{padding:12px 16px}}@media (width<=480px){.navbar-brand-text{display:none}.navbar-content{padding:10px 12px}.main-content{padding:12px}}.login-page{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:12px;width:100%;max-width:400px;padding:40px;box-shadow:0 10px 25px #0003}.login-card h1{color:#1f2937;text-align:center;margin-bottom:5px;font-size:28px;font-weight:700}.login-card h2{color:#6b7280;text-align:center;margin-bottom:30px;font-size:18px;font-weight:500}.btn-block{width:100%;margin-top:10px}.score-entry-form{background:#fff;border-radius:8px;padding:24px;box-shadow:0 2px 8px #0000001a}.score-entry-form h3{color:#1f2937;margin-bottom:20px}.form-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;display:grid}.score-entry-section{background:#f9fafb;border-radius:6px;margin:20px 0;padding:20px}.score-entry-section h4{color:#374151;margin-bottom:15px;font-size:16px}.score-entry-hint{color:#6b7280;margin-bottom:15px;font-size:14px}.form-hint{color:#6b7280;margin-top:4px;font-size:12px;display:block}.time-input{padding:12px;font-size:20px;font-weight:600}.dnf-group{flex-direction:column;justify-content:center;display:flex}.checkbox-label{cursor:pointer;align-items:center;gap:8px;font-weight:500;display:flex}.checkbox-label input[type=checkbox]{cursor:pointer;width:18px;height:18px}.dnf-indicator{color:#92400e;background:#fef3c7;border-left:3px solid #f59e0b;border-radius:4px;margin-top:8px;padding:8px;font-size:13px}.ring-count-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:15px;margin-bottom:20px;display:grid}.ring-input{text-align:center;padding:12px;font-size:24px;font-weight:600}.calculated-field{background:#e0e7ff;border-radius:6px;padding:10px}.calculated-field .form-label{margin-bottom:5px;font-size:12px}.calculated-value{text-align:center;color:#3730a3;font-size:24px;font-weight:700}.score-summary{background:#fff;border:2px solid #e5e7eb;border-radius:6px;gap:30px;padding:15px;display:flex}.summary-item{flex-direction:column;gap:5px;display:flex}.summary-item span{color:#6b7280;font-size:13px}.summary-item strong{color:#1f2937;font-size:20px}.summary-item strong.error{color:#dc2626}.form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:20px;display:flex}textarea.form-input{resize:vertical;min-height:60px}.service-pistol-targets{gap:2rem;display:flex}@media (width<=768px){.service-pistol-targets{flex-direction:column;gap:1.5rem}.ring-input{min-height:50px;padding:14px;font-size:28px}.score-entry-section{padding:16px}.score-summary{flex-direction:column;gap:15px}}@media (width<=1024px){.ring-input{min-height:48px;font-size:26px}.time-input{min-height:48px;font-size:24px}.checkbox-label input[type=checkbox]{width:24px;height:24px}}.score-entry-section .btn-secondary{color:#fff;cursor:pointer;background:#4b5563;border:none;border-radius:6px;justify-content:center;align-items:center;transition:background .2s;display:flex}.score-entry-section .btn-secondary:hover:not(:disabled){background:#374151}.score-entry-section .btn-secondary:active:not(:disabled){background:#1f2937;transform:scale(.95)}.score-entry-section .btn-secondary:disabled{color:#9ca3af;cursor:not-allowed;background:#d1d5db}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h3{color:#1f2937;margin:0;font-size:18px}.modal-close{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:28px;transition:background .2s;display:flex}.modal-close:hover{color:#1f2937;background:#f3f4f6}.modal-content form{padding:24px}@media (width<=768px){.modal-content{border-radius:0;max-width:100%;max-height:100vh}.modal-overlay{padding:0}}.leaderboard{background:#fff;border-radius:8px;padding:24px;box-shadow:0 2px 4px #0000001a}.leaderboard h2{color:#1f2937;margin-bottom:24px}.leaderboard-empty{text-align:center;color:#6b7280;padding:40px}.division-leaderboard{margin-bottom:32px}.division-leaderboard:last-child{margin-bottom:0}.division-leaderboard h3{color:#374151;border-bottom:2px solid #e5e7eb;margin-bottom:12px;padding-bottom:8px;font-size:18px}.leaderboard-table{margin-top:12px}.rank-col{text-align:center;width:80px}.rank-badge{color:#374151;background:#f3f4f6;border-radius:50%;width:36px;height:36px;font-size:16px;font-weight:700;line-height:36px;display:inline-block}.rank-1 .rank-badge{color:#78350f;background:linear-gradient(135deg,gold 0%,#ffed4e 100%);box-shadow:0 2px 4px #ffd70066}.rank-2 .rank-badge{color:#1f2937;background:linear-gradient(135deg,silver 0%,#e8e8e8 100%);box-shadow:0 2px 4px #c0c0c066}.rank-3 .rank-badge{color:#78350f;background:linear-gradient(135deg,#cd7f32 0%,#e6a157 100%);box-shadow:0 2px 4px #cd7f3266}.shooter-name{color:#1f2937;font-weight:600}.score-details{color:#6b7280;font-family:Courier New,monospace}.admin-panel-header{text-align:center;margin-bottom:40px}.admin-panel-header h1{color:#1f2937;margin:0 0 10px;font-size:32px}.admin-panel-header .subtitle{color:#6b7280;margin:0;font-size:16px}.admin-cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:30px;display:grid}.admin-card{cursor:pointer;text-align:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:32px 24px;transition:all .2s}.admin-card:hover{border-color:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #2563eb1a}.admin-card-icon{margin-bottom:16px;font-size:48px}.admin-card h3{color:#1f2937;margin:0 0 8px;font-size:20px;font-weight:600}.admin-card p{color:#6b7280;margin:0;font-size:14px;line-height:1.5}@media (width<=768px){.admin-cards{grid-template-columns:1fr}}.health-container{padding:0}.health-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.health-header h2{color:#1f2937;margin:0 0 5px;font-size:20px}.health-timestamp{color:#6b7280;margin:0;font-size:13px}.health-overview{margin-bottom:20px}.health-status-badge{color:#fff;border-radius:6px;padding:10px 20px;font-size:14px;font-weight:600;display:inline-block}.health-checks{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;display:grid}.health-check-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.health-check-header{align-items:center;gap:10px;margin-bottom:10px;display:flex}.health-check-header h3{color:#1f2937;margin:0;font-size:16px}.status-indicator{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:16px;font-weight:700;display:flex}.health-check-message{color:#6b7280;margin:10px 0;font-size:14px}.health-stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-top:15px;display:grid}.stat-item{flex-direction:column;gap:5px;display:flex}.stat-label{color:#6b7280;font-size:12px;font-weight:500}.stat-value{color:#1f2937;font-size:18px;font-weight:600}.progress-bar{background:#e5e7eb;border-radius:4px;width:100%;height:8px;margin-top:15px;overflow:hidden}.progress-fill{border-radius:4px;height:100%;transition:width .3s}.error{color:#dc2626;background:#fee;border:1px solid #fcc;border-radius:6px;padding:15px}.backups-container{padding:0}.backups-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.backups-header h2{color:#1f2937;margin:0 0 5px;font-size:20px}.backups-subtitle{color:#6b7280;margin:0;font-size:13px}.error-message{color:#dc2626;background:#fee;border:1px solid #fcc;border-radius:6px;margin-bottom:20px;padding:15px}.empty-state{text-align:center;color:#6b7280;background:#f9fafb;border:1px dashed #d1d5db;border-radius:8px;padding:40px 20px}.backups-list{flex-direction:column;gap:15px;display:flex}.backup-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:20px;padding:20px;display:flex}.backup-info h3{color:#1f2937;margin:0 0 8px;font-family:monospace;font-size:16px}.backup-meta{color:#6b7280;gap:10px;font-size:13px;display:flex}.backup-actions{flex-shrink:0;gap:10px;display:flex}.btn-warning{color:#fff;background-color:#f59e0b}.btn-warning:hover:not(:disabled){background-color:#d97706}.dialog-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:8px;width:90%;max-width:500px;padding:30px;box-shadow:0 10px 25px #0003}.dialog h3{color:#1f2937;margin:0 0 15px;font-size:20px}.dialog p{color:#4b5563;margin:0 0 20px;line-height:1.5}.dialog-warning{color:#92400e;background:#fef3c7;border:1px solid #fbbf24;border-radius:6px;padding:12px;font-weight:500}.dialog-actions{justify-content:flex-end;gap:10px;display:flex}@media (width<=768px){.backups-header{flex-direction:column;align-items:flex-start;gap:15px}.backup-card{flex-direction:column;align-items:flex-start}.backup-actions{justify-content:flex-start;width:100%}}.security-settings-header{margin-bottom:30px}.security-settings-header h1{color:#1f2937;margin:0 0 10px}.security-settings-header .subtitle{color:#6b7280;margin:0;font-size:16px}.twofa-status{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.alert{border-radius:8px;margin-bottom:20px;padding:15px}.alert-error{color:#dc2626;background-color:#fee2e2;border:1px solid #fca5a5}.alert-success{color:#059669;background-color:#d1fae5;border:1px solid #6ee7b7}.alert-warning{color:#d97706;background-color:#fef3c7;border:1px solid #fcd34d}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}#root{min-height:100vh}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}.container{max-width:1200px;margin:0 auto;padding:20px}.card{background:#fff;border-radius:8px;margin-bottom:20px;padding:20px;box-shadow:0 2px 4px #0000001a}.btn{border:none;border-radius:4px;padding:10px 20px;font-weight:500;transition:all .2s}.btn-primary{color:#fff;background:#2563eb}.btn-primary:hover{background:#1d4ed8}.btn-secondary{color:#fff;background:#6b7280}.btn-secondary:hover{background:#4b5563}.btn-danger{color:#fff;background:#dc2626}.btn-danger:hover{background:#b91c1c}.btn-success{color:#fff;background:#16a34a}.btn-success:hover{background:#15803d}.form-group{margin-bottom:15px}.form-label{color:#374151;margin-bottom:5px;font-weight:500;display:block}.form-input,.form-select{border:1px solid #d1d5db;border-radius:4px;width:100%;padding:8px 12px;font-size:14px}.form-input:focus,.form-select:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.error-message{color:#dc2626;margin-top:5px;font-size:14px}.table{border-collapse:collapse;width:100%}.table th,.table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:12px}.table th{background:#f9fafb;font-weight:600}.table tbody tr:hover{background:#f9fafb}.table-responsive{-webkit-overflow-scrolling:touch;margin:0 -4px;padding:0 4px;position:relative;overflow-x:auto}.table-responsive:after{content:"";pointer-events:none;opacity:0;background:linear-gradient(90deg,#0000,#ffffffe6);width:30px;transition:opacity .2s;position:absolute;top:0;bottom:0;right:0}.table-responsive.has-scroll:after{opacity:1}.loading{justify-content:center;align-items:center;padding:40px;display:flex}.spinner{border:3px solid #f3f3f3;border-top-color:#2563eb;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=1024px){.btn{min-height:44px;padding:12px 24px;font-size:16px}.btn-sm{min-height:38px;padding:8px 16px;font-size:14px}.form-input,.form-select{min-height:44px;padding:10px 14px;font-size:16px}.form-label{margin-bottom:6px;font-size:15px}.card{padding:16px}.table th,.table td{padding:10px 8px;font-size:14px}.table-compact th,.table-compact td{padding:8px 6px;font-size:13px}}@media (width<=768px){.form-actions{gap:12px;margin-top:20px;display:flex}.form-actions .btn{flex:1}}@media (width<=640px){.container{padding:12px}.card{margin-bottom:12px;padding:12px}.form-actions{flex-direction:column;gap:10px;display:flex}.form-actions .btn{width:100%}}.filter-grid{gap:15px;display:grid}.filter-grid-2{grid-template-columns:2fr 1fr}.filter-grid-3{grid-template-columns:2fr 1fr 1fr}.form-grid{gap:15px;display:grid}.form-grid-2{grid-template-columns:1fr 1fr}.form-grid-3{grid-template-columns:1fr 1fr 1fr}.action-buttons{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.action-buttons-primary{flex-wrap:wrap;gap:10px;display:flex}.action-buttons-secondary{flex-wrap:wrap;gap:10px;margin-left:auto;display:flex}@media (width<=768px){.filter-grid-2,.filter-grid-3,.form-grid-2{grid-template-columns:1fr}.form-grid-3{grid-template-columns:1fr 1fr}.action-buttons{flex-direction:column}.action-buttons-primary,.action-buttons-secondary{flex-wrap:wrap;width:100%}.action-buttons-secondary{margin-top:10px;margin-left:0}}@media (width<=480px){.form-grid-3{grid-template-columns:1fr}.action-buttons-primary .btn,.action-buttons-secondary .btn{flex:auto;min-width:120px}}
