.seo-content{max-width:1000px;margin:0;padding:0;line-height:1.6}.seo-content .content-header,.faq-seo .content-header{justify-content:flex-start;align-items:flex-start;margin-bottom:0;padding-bottom:0}.seo-header-content{display:flex;align-items:flex-start;gap:10px;width:100%}.seo-title-icon{color:#3b82f6;flex-shrink:0;margin-top:2px;width:20px;height:20px}.password-generator.dark .seo-title-icon{color:#60a5fa}.seo-h1{font-size:18px;font-weight:600;margin:0 0 20px!important;line-height:1.3;color:#111827;letter-spacing:-.3px;flex:1}.seo-content .content-header{margin-bottom:0;padding-bottom:0}.password-generator.dark .seo-h1{color:#f9fafb}.seo-section{margin-bottom:12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:12px}.password-generator.dark .seo-section{background:#1e293b;border-color:#334155}.seo-section-header{display:flex;align-items:center;gap:10px}.seo-section-header .seo-icon-wrapper{margin-top:1px}.seo-icon-wrapper{width:32px;height:32px;border-radius:6px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#3b82f6}.password-generator.dark .seo-icon-wrapper{background:#334155;color:#60a5fa}.seo-icon{width:18px;height:18px}.seo-h2{font-size:15px;font-weight:600;margin:0;line-height:1.3;color:#111827;letter-spacing:-.3px;flex:1}.password-generator.dark .seo-h2{color:#f9fafb}.seo-paragraph{font-size:13px;margin:0;color:#475569;line-height:1.6;text-align:left}.password-generator.dark .seo-paragraph{color:#cbd5e1}@media(max-width:768px){.seo-title-icon{width:18px;height:18px}.seo-h1{font-size:16px}.seo-section{padding:10px;margin-bottom:10px;gap:10px}.seo-section-header{gap:8px}.seo-icon-wrapper{width:28px;height:28px}.seo-icon{width:16px;height:16px}.seo-h2{font-size:14px}.seo-paragraph{font-size:12px}}.faq-seo{max-width:1000px;margin:0;padding:0}.tab-content:has(.faq-seo){margin-top:24px}.faq-header-content{display:flex;align-items:flex-start;gap:10px;width:100%}.faq-title-icon{color:#3b82f6;flex-shrink:0;margin-top:2px;width:20px;height:20px}.password-generator.dark .faq-title-icon{color:#60a5fa}.faq-title{font-size:18px;font-weight:600;margin:0 0 20px!important;color:#111827;letter-spacing:-.3px;line-height:1.3;flex:1}.password-generator.dark .faq-title{color:#f9fafb}.faq-seo .content-header{margin-bottom:0;padding-bottom:0}.faq-list{display:flex;flex-direction:column;gap:12px}.faq-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;transition:border-color .3s ease}.faq-item.open{border-color:#3b82f6}.password-generator.dark .faq-item{background:#1e293b;border-color:#334155}.password-generator.dark .faq-item.open{border-color:#60a5fa}.faq-question-btn{width:100%;padding:12px;background:transparent;border:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;text-align:left;transition:background .2s ease}.faq-question-btn:hover{background:#f9fafb}.password-generator.dark .faq-question-btn:hover{background:#334155}.faq-question-content{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.faq-question-content .faq-icon{margin-top:1px}.faq-icon{color:#3b82f6;flex-shrink:0}.password-generator.dark .faq-icon{color:#60a5fa}.faq-question{font-size:13px;font-weight:600;margin:0;color:#111827;line-height:1.4;letter-spacing:-.2px;flex:1}.password-generator.dark .faq-question{color:#f9fafb}.faq-chevron{color:#6b7280;flex-shrink:0;transition:transform .35s ease-in-out}.faq-item.open .faq-chevron{transform:rotate(180deg)}.password-generator.dark .faq-chevron{color:#9ca3af}.faq-answer{font-size:14px;line-height:1.75;color:#374151;margin:0;max-height:0;overflow:hidden;transition:max-height .35s ease-in-out,padding .35s ease-in-out,opacity .3s ease-in-out;padding:0 20px;opacity:0;box-sizing:border-box}.faq-answer.open{padding:8px 20px 20px;margin-top:0;opacity:1;max-height:2000px;transition:max-height .4s ease-out,padding .4s ease-out,opacity .35s ease-out;box-sizing:border-box}.password-generator.dark .faq-answer{color:#e5e7eb}.faq-answer p{margin:0;padding:0}@media(max-width:768px){.faq-title{font-size:16px}.faq-title-icon{width:18px;height:18px}.faq-question-btn{padding:10px;gap:8px}.faq-icon{width:16px;height:16px}.faq-question{font-size:12px}.faq-answer{font-size:13px;line-height:1.7;padding:0 16px}.faq-answer.open{padding:6px 16px 16px}.faq-chevron{width:16px;height:16px}.tab-content:has(.faq-seo){margin-top:16px}}.password-generator{height:100vh;display:flex;background:#f8fafc;overflow:hidden;transition:background .3s ease}.password-generator.dark{background:#0f172a}.sidebar{width:33.333%;min-width:400px;max-width:500px;flex-shrink:0;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden}.password-generator.dark .sidebar{background:#1e293b;border-right-color:#334155}.sidebar-header{padding:14px 18px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;background:linear-gradient(135deg,#f8fafc,#fff)}.password-generator.dark .sidebar-header{background:linear-gradient(135deg,#1e293b,#0f172a)}.password-generator.dark .sidebar-header{border-bottom-color:#334155}.logo{display:flex;align-items:center;gap:8px}.logo svg{width:20px;height:20px;color:#3b82f6;flex-shrink:0}.logo-text{margin:0;font-size:15px;font-weight:600;color:#111827;letter-spacing:-.3px}.dark .logo-text{color:#f9fafb}h1{margin:0;font-size:15px;font-weight:600;color:#111827;letter-spacing:-.3px}.password-generator.dark h1{color:#f9fafb}.theme-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#f3f4f6;border:none;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .theme-btn{background:#334155;color:#9ca3af}.theme-btn:hover{background:#e5e7eb;color:#111827}.password-generator.dark .theme-btn:hover{background:#475569;color:#f9fafb}.sidebar-nav{padding:10px 16px;border-bottom:1px solid #e2e8f0;display:flex;flex-direction:row;gap:6px;justify-content:space-around;background:#fafbfc;flex-shrink:0}.password-generator.dark .sidebar-nav{background:#1a202c}.password-generator.dark .sidebar-nav{border-bottom-color:#334155}.nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 10px;background:transparent;border:none;border-radius:6px;cursor:pointer;color:#6b7280;font-size:11px;font-weight:500;transition:background .2s ease,color .2s ease,transform .2s ease;text-align:center;position:relative;flex:1;min-width:0;overflow:visible}.nav-item .nav-badge{position:absolute;top:6px;right:6px}.nav-item svg{width:18px;height:18px}.nav-item>span:not(.nav-badge){font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.password-generator.dark .nav-item{color:#9ca3af}.nav-item:hover{background:#f3f4f6;color:#111827;transform:translateY(-2px);border-radius:6px}.password-generator.dark .nav-item:hover{background:#334155;color:#f9fafb;border-radius:6px}.nav-item.active{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;font-weight:600;box-shadow:0 4px 8px #3b82f626;border-radius:6px}.nav-item.active:active,.nav-item.active:focus,button.nav-item.active:active{border-radius:6px!important;background:linear-gradient(135deg,#dbeafe,#bfdbfe)!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.password-generator.dark .nav-item.active{background:linear-gradient(135deg,#1e3a8a,#1e40af);color:#93c5fd;border-radius:6px}.password-generator.dark .nav-item.active:active,.password-generator.dark .nav-item.active:focus,.password-generator.dark button.nav-item.active:active{border-radius:6px!important;background:linear-gradient(135deg,#1e3a8a,#1e40af)!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.nav-item svg{width:18px;height:18px;flex-shrink:0}.theme-btn svg{width:18px;height:18px}.action-btn svg{width:18px;height:18px}.header-btn svg{width:16px;height:16px;flex-shrink:0}.history-copy svg{width:14px;height:14px}.stat-icon svg{width:20px;height:20px}.nav-badge{position:absolute;top:6px;right:6px;background:#ef4444;color:#fff;border-radius:50%;font-size:9px;font-weight:700;font-variant-numeric:tabular-nums;width:18px;height:18px;min-width:18px;max-width:18px;display:inline-flex;align-items:center;justify-content:center;text-align:center;box-shadow:0 2px 4px #0003;line-height:1;z-index:10;pointer-events:none;box-sizing:border-box;padding:0;margin:0;overflow:hidden;white-space:nowrap}.nav-item.active .nav-badge{background:#dc2626}.sidebar-settings{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.settings-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 16px;display:flex;flex-direction:column;gap:12px}.sidebar-footer{flex-shrink:0;padding:12px 16px;border-top:1px solid #e2e8f0;background:#fafbfc}.password-generator.dark .sidebar-footer{background:#1a202c}.password-generator.dark .sidebar-footer{border-top-color:#334155;background:#1e293b}.sidebar-settings h3{margin:0 0 8px;font-size:11px;font-weight:700;color:#111827;text-transform:uppercase;letter-spacing:.5px;padding-bottom:6px;border-bottom:1px solid #e5e7eb}.password-generator.dark .sidebar-settings h3{color:#f9fafb;border-bottom-color:#334155}.password-generator.dark .sidebar-settings h3{color:#9ca3af}.setting-group{display:flex;flex-direction:column;gap:8px;background:#fafbfc;padding:10px 12px;border-radius:6px;border:1px solid #e5e7eb}.password-generator.dark .setting-group{background:#1a202c;border-color:#334155}.preset-selector{display:flex;flex-direction:column;gap:6px}.preset-list{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;max-height:none;overflow:visible;padding-right:0}.preset-list::-webkit-scrollbar{width:6px}.preset-list::-webkit-scrollbar-track{background:transparent}.preset-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.password-generator.dark .preset-list::-webkit-scrollbar-thumb{background:#475569}.preset-item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;font-size:11px;text-align:center;color:#475569;width:100%;font-family:inherit;min-height:34px;position:relative;line-height:1.3}.preset-item:hover{border-color:#3b82f6;background:#f1f5f9;transform:translateY(-2px);box-shadow:0 4px 8px #3b82f61a;border-radius:5px}.password-generator.dark .preset-item{background:#1e293b;border-color:#334155;color:#cbd5e1}.password-generator.dark .preset-item:hover{background:#334155;border-color:#475569;border-radius:5px}.preset-item.active{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6;border-width:2px;color:#1e40af;font-weight:600;box-shadow:0 2px 6px #3b82f626;border-radius:5px}.preset-item.active:active,.preset-item.active:focus,button.preset-item.active:active{border-radius:5px!important;background:linear-gradient(135deg,#dbeafe,#bfdbfe)!important;border-color:#3b82f6!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.password-generator.dark .preset-item.active{background:#1e3a8a;border-color:#3b82f6;color:#93c5fd;border-radius:5px}.password-generator.dark .preset-item.active:active,.password-generator.dark .preset-item.active:focus,.password-generator.dark button.preset-item.active:active{border-radius:5px!important;background:#1e3a8a!important;border-color:#3b82f6!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.preset-name{flex:1;font-weight:500;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.preset-check{position:absolute;top:2px;right:2px;color:#3b82f6;font-weight:700;font-size:9px;background:#fff;width:14px;height:14px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px #0000001a}.password-generator.dark .preset-check{background:#1e293b;color:#60a5fa}.setting-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.setting-label{font-size:11px;font-weight:600;color:#111827;margin-bottom:6px;display:block}.password-generator.dark .setting-label{color:#f9fafb}.password-generator.dark .setting-label{color:#d1d5db}.setting-row label{font-size:13px;font-weight:500;color:#374151;cursor:pointer}.password-generator.dark .setting-row label{color:#d1d5db}.setting-value{font-size:13px;font-weight:600;color:#3b82f6;font-variant-numeric:tabular-nums}.slider{width:100%;height:5px;border-radius:3px;background:#e5e7eb;outline:none;-webkit-appearance:none;appearance:none;cursor:pointer;transition:background .2s ease;margin:4px 0}.password-generator.dark .slider{background:#334155}.slider:hover{background:#d1d5db}.password-generator.dark .slider:hover{background:#475569}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#3b82f6;cursor:pointer;transition:all .2s ease;border:2px solid #ffffff;box-shadow:0 1px 3px #0000001a}.password-generator.dark .slider::-webkit-slider-thumb{border-color:#1e293b}.slider::-webkit-slider-thumb:hover{transform:scale(1.15);background:#2563eb}.slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#3b82f6;cursor:pointer;border:2px solid #ffffff;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.password-generator.dark .slider::-moz-range-thumb{border-color:#1e293b}.slider::-moz-range-thumb:hover{transform:scale(1.15);background:#2563eb}.checkbox-list{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.checkbox-item{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #e5e7eb;border-radius:5px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;background:#fff}.password-generator.dark .checkbox-item{background:#1e293b}.password-generator.dark .checkbox-item{border-color:#334155}.checkbox-item:hover{border-color:#3b82f6;background:#f9fafb}.password-generator.dark .checkbox-item:hover{background:#334155;border-color:#3b82f6}.checkbox-item input[type=checkbox]{width:14px;height:14px;cursor:pointer;accent-color:#3b82f6;flex-shrink:0;margin:0}.checkbox-item span{font-size:11px;font-weight:400;color:#374151;line-height:1.3}.password-generator.dark .checkbox-item span{color:#d1d5db}.generate-btn{width:100%;padding:9px 14px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 2px 6px #3b82f640}.generate-btn svg{width:15px;height:15px}.generate-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f659}.generate-btn:active{transform:translateY(0)}.generate-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.generate-btn:disabled:hover{background:#3b82f6;transform:none}.error-message{margin-top:6px;font-size:12px;color:#dc2626;text-align:center}.password-generator.dark .error-message{color:#f87171}.error-banner{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:13px;margin-bottom:16px}.password-generator.dark .error-banner{background:#7f1d1d;border-color:#991b1b;color:#f87171}.error-close{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;background:transparent;border:none;border-radius:4px;cursor:pointer;color:inherit;opacity:.7;transition:all .2s ease;flex-shrink:0}.error-close:hover{opacity:1;background:#0000001a}.password-generator.dark .error-close:hover{background:#ffffff1a}.error-close svg{width:16px;height:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.main-content{flex:1;min-width:0;overflow-y:auto;display:flex;flex-direction:column;position:relative}.quick-actions-bar{display:none}.app-footer{margin-top:32px;padding:0 16px 16px;display:flex;align-items:center;justify-content:center}.footer-content{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;color:#6b7280}.password-generator.dark .footer-content{background:#1e293b;border-color:#334155;color:#9ca3af}.copyright{font-size:12px;color:#6b7280;white-space:nowrap}.password-generator.dark .copyright{color:#9ca3af}.legal-link{font-size:12px;color:#3b82f6;background:none;border:none;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px;transition:color .2s ease}.password-generator.dark .legal-link{color:#60a5fa}.legal-link:hover{color:#2563eb}.password-generator.dark .legal-link:hover{color:#93c5fd}.legal-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .2s ease}.password-generator.dark .legal-modal-overlay{background:#000000b3}.legal-modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:800px;width:100%;max-height:85vh;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .3s ease}.password-generator.dark .legal-modal-content{background:#1e293b;border:1px solid #334155}.legal-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.password-generator.dark .legal-modal-header{border-bottom-color:#334155}.legal-modal-title{margin:0;font-size:20px;font-weight:600;color:#111827}.password-generator.dark .legal-modal-title{color:#f9fafb}.legal-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:none;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .legal-modal-close{color:#9ca3af}.legal-modal-close:hover{background:#f3f4f6;color:#111827}.password-generator.dark .legal-modal-close:hover{background:#334155;color:#f9fafb}.legal-modal-close svg{width:20px;height:20px}.legal-modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:24px}.legal-modal-text{color:#374151;font-size:14px;line-height:1.6}.password-generator.dark .legal-modal-text{color:#d1d5db}.legal-modal-text h3{font-size:16px;font-weight:600;color:#111827;margin:24px 0 12px}.password-generator.dark .legal-modal-text h3{color:#f9fafb}.legal-modal-text h3:first-child{margin-top:0}.legal-modal-text p{margin:0 0 16px}.legal-modal-text p:last-child{margin-bottom:0}.legal-modal-text ul{margin:0 0 16px;padding-left:20px}.legal-modal-text li{margin-bottom:8px}.legal-modal-text strong{font-weight:600;color:#111827}.password-generator.dark .legal-modal-text strong{color:#f9fafb}.legal-modal-text a{color:#3b82f6;text-decoration:underline;text-underline-offset:2px;transition:color .2s ease}.password-generator.dark .legal-modal-text a{color:#60a5fa}.legal-modal-text a:hover{color:#2563eb}.password-generator.dark .legal-modal-text a:hover{color:#93c5fd}.bottom-nav,.mobile-header,.settings-drawer{display:none}.tab-content{flex:1;padding:16px;display:flex;flex-direction:column;gap:12px;max-width:1000px;width:100%;margin:0 auto}.content-header{display:flex;justify-content:space-between;align-items:center}.content-header h2{margin:0;font-size:16px;font-weight:600;color:#111827;letter-spacing:-.3px}.password-generator.dark .content-header h2{color:#f9fafb}.header-actions{display:flex;gap:8px}.header-btn{display:flex;align-items:center;gap:5px;padding:5px 10px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;color:#374151;font-size:11px;font-weight:500;transition:all .2s ease}.password-generator.dark .header-btn{background:#1e293b;border-color:#334155;color:#d1d5db}.header-btn:hover{background:#f9fafb;border-color:#d1d5db}.password-generator.dark .header-btn:hover{background:#334155;border-color:#475569}.header-btn.danger{color:#dc2626}.header-btn.danger:hover{background:#fef2f2;border-color:#fecaca}.password-generator.dark .header-btn.danger{color:#f87171}.password-generator.dark .header-btn.danger:hover{background:#7f1d1d;border-color:#991b1b}.password-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:12px}.password-generator.dark .password-card{background:#1e293b;border-color:#334155}.password-display{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f9fafb;border:2px solid #e5e7eb;border-radius:6px;transition:all .2s ease}.password-generator.dark .password-display{background:#0f172a;border-color:#334155}.password-display:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.password-input{flex:1;border:none;background:transparent;font-size:13px;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,Courier New,monospace;color:#111827;letter-spacing:.05em;font-weight:500;outline:none}.password-generator.dark .password-input{color:#f9fafb}.password-input::placeholder{color:#9ca3af;letter-spacing:normal;font-weight:400}.password-input-wrapper{position:relative;flex:1;display:flex;align-items:center}.password-input.generating{opacity:.7}.password-input:disabled{cursor:wait}.generating-indicator{position:absolute;right:8px;display:flex;align-items:center;pointer-events:none}.generating-indicator svg{width:16px;height:16px;color:#3b82f6}.password-generator.dark .generating-indicator svg{color:#60a5fa}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.password-actions{display:flex;gap:6px}.action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .action-btn{border-color:#334155;color:#9ca3af}.action-btn:hover:not(:disabled):not(.copied){background:#f3f4f6;border-color:#d1d5db;color:#111827}.password-generator.dark .action-btn:hover:not(:disabled):not(.copied){background:#334155;border-color:#475569;color:#f9fafb}.action-btn:disabled{opacity:.4;cursor:not-allowed}.action-btn.copied{color:#10b981;border-color:#10b981;background:#10b9811a}.password-generator.dark .action-btn.copied{color:#34d399;border-color:#34d399;background:#34d39926}.action-btn.generating{opacity:.7;cursor:wait}.password-analysis{padding-top:12px;border-top:1px solid #e5e7eb}.password-generator.dark .password-analysis{border-top-color:#334155}.analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.analysis-card{display:flex;flex-direction:column;gap:5px;padding:10px;background:#f9fafb;border-radius:6px}.password-generator.dark .analysis-card{background:#0f172a}.analysis-label{font-size:11px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.password-generator.dark .analysis-label{color:#9ca3af}.analysis-value{font-size:14px;font-weight:600;color:#111827;font-variant-numeric:tabular-nums}.password-generator.dark .analysis-value{color:#f9fafb}.strength-indicator{display:flex;align-items:center;gap:10px}.strength-bar{flex:1;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.password-generator.dark .strength-bar{background:#334155}.strength-fill{height:100%;transition:all .4s ease;border-radius:4px}.strength-text{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;min-width:70px;text-align:right}.security-warning-banner{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#fef3c7;border:1px solid #fbbf24;border-radius:6px;margin-bottom:16px}.password-generator.dark .security-warning-banner{background:#78350f;border-color:#f59e0b}.security-warning-banner svg{width:20px;height:20px;color:#d97706;flex-shrink:0;margin-top:2px}.password-generator.dark .security-warning-banner svg{color:#fbbf24}.security-warning-content{flex:1;display:flex;flex-direction:column;gap:4px}.security-warning-content strong{font-size:13px;font-weight:600;color:#92400e}.password-generator.dark .security-warning-content strong{color:#fcd34d}.security-warning-content p{margin:0;font-size:12px;line-height:1.5;color:#78350f}.password-generator.dark .security-warning-content p{color:#fde68a}.history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.empty-state{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;gap:12px;color:#9ca3af}.password-generator.dark .empty-state{color:#6b7280}.empty-state svg{opacity:.5}.empty-state h3{margin:0;font-size:16px;font-weight:600;color:#6b7280}.password-generator.dark .empty-state h3{color:#9ca3af}.empty-state p{margin:0;font-size:13px;color:#9ca3af}.password-generator.dark .empty-state p{color:#6b7280}.history-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:10px;display:flex;flex-direction:column;gap:8px;transition:all .2s ease}.password-generator.dark .history-card{background:#1e293b;border-color:#334155}.history-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.history-password{font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,Courier New,monospace;font-size:11px;color:#111827;letter-spacing:.04em;word-break:break-all;line-height:1.4}.password-generator.dark .history-password{color:#f9fafb}.history-meta{display:flex;justify-content:space-between;align-items:center;padding-top:10px;border-top:1px solid #e5e7eb}.password-generator.dark .history-meta{border-top-color:#334155}.history-length{font-size:12px;color:#6b7280;font-variant-numeric:tabular-nums}.password-generator.dark .history-length{color:#9ca3af}.history-copy{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .history-copy{border-color:#334155;color:#9ca3af}.history-copy:hover:not(.copied){background:#f3f4f6;border-color:#d1d5db;color:#111827}.password-generator.dark .history-copy:hover:not(.copied){background:#334155;border-color:#475569;color:#f9fafb}.history-copy.copied{color:#10b981;border-color:#10b981;background:#10b9811a}.password-generator.dark .history-copy.copied{color:#34d399;border-color:#34d399;background:#34d39926}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:12px;display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;transition:all .2s ease}.password-generator.dark .stat-card{background:#1e293b;border-color:#334155}.stat-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.stat-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#eff6ff;border-radius:6px;color:#3b82f6}.password-generator.dark .stat-icon{background:#1e3a5f;color:#60a5fa}.stat-value{font-size:22px;font-weight:700;color:#111827;font-variant-numeric:tabular-nums;letter-spacing:-.3px}.password-generator.dark .stat-value{color:#f9fafb}.stat-label{font-size:12px;font-weight:500;color:#6b7280}.password-generator.dark .stat-label{color:#9ca3af}.settings-scroll,.main-content{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.password-generator.dark .settings-scroll,.password-generator.dark .main-content{scrollbar-color:#475569 transparent}.settings-scroll::-webkit-scrollbar,.main-content::-webkit-scrollbar{width:8px}.settings-scroll::-webkit-scrollbar-track,.main-content::-webkit-scrollbar-track{background:transparent}.settings-scroll::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.password-generator.dark .settings-scroll::-webkit-scrollbar-thumb,.password-generator.dark .main-content::-webkit-scrollbar-thumb{background:#475569}.settings-scroll::-webkit-scrollbar-thumb:hover,.main-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}@media(max-width:1400px){.sidebar{width:35%;min-width:380px}}@media(max-width:1200px){.sidebar{width:40%;min-width:360px}.preset-list,.checkbox-list{grid-template-columns:1fr}}@media(max-width:1024px){.password-generator{flex-direction:column;height:100vh;overflow:hidden;position:relative}.sidebar:not(.mobile-sidebar){display:none}.mobile-header{display:block;position:fixed;top:0;left:0;right:0;z-index:50;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.password-generator.dark .mobile-header{background:#1e293b;border-bottom-color:#334155}.mobile-header-content{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;height:56px}.mobile-header .logo{display:flex;align-items:center;gap:8px}.mobile-header .logo svg{width:20px;height:20px;color:#3b82f6}.mobile-header h1{margin:0;font-size:16px;font-weight:600;color:#111827}.password-generator.dark .mobile-header h1{color:#f9fafb}.mobile-header-actions{display:flex;align-items:center;gap:8px}.settings-toggle-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:#f3f4f6;border:none;border-radius:8px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .settings-toggle-btn{background:#334155;color:#9ca3af}.settings-toggle-btn:hover{background:#e5e7eb;color:#111827}.password-generator.dark .settings-toggle-btn:hover{background:#475569;color:#f9fafb}.settings-toggle-btn svg{width:20px;height:20px}.mobile-header .theme-btn{width:36px;height:36px}.settings-drawer{display:block;position:fixed;inset:0;z-index:200;pointer-events:none;opacity:0;transition:opacity .3s ease}.settings-drawer.open{pointer-events:auto;opacity:1}.settings-drawer-overlay{position:absolute;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.password-generator.dark .settings-drawer-overlay{background:#000000b3}.settings-drawer-content{position:absolute;bottom:0;left:0;right:0;background:#fff;border-radius:20px 20px 0 0;max-height:90vh;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:0 -4px 20px #00000026;overflow:hidden}.password-generator.dark .settings-drawer-content{background:#1e293b}.settings-drawer.open .settings-drawer-content{transform:translateY(0)}.settings-drawer-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e2e8f0;flex-shrink:0;position:sticky;top:0;background:#fff;z-index:10}.password-generator.dark .settings-drawer-header{border-bottom-color:#334155;background:#1e293b}.settings-drawer-header h2{margin:0;font-size:16px;font-weight:600;color:#111827}.password-generator.dark .settings-drawer-header h2{color:#f9fafb}.settings-drawer-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#f3f4f6;border:none;border-radius:8px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .settings-drawer-close{background:#334155;color:#9ca3af}.settings-drawer-close:hover{background:#e5e7eb;color:#111827}.password-generator.dark .settings-drawer-close:hover{background:#475569;color:#f9fafb}.settings-drawer-close svg{width:18px;height:18px}.settings-drawer-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0}.settings-drawer-body .mobile-sidebar{width:100%;border:none;background:transparent;display:flex;flex-direction:column;height:100%}.settings-drawer-body .sidebar-settings{flex:1;overflow-y:visible}.settings-drawer-body .settings-scroll{padding:12px;display:flex;flex-direction:column;gap:12px}.settings-drawer-body .settings-scroll h3{display:none}.settings-drawer-body .preset-list{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;max-height:none;overflow:visible;padding-right:0}.settings-drawer-body .preset-item{padding:8px 6px;min-height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;border:1px solid #e5e7eb;border-radius:8px;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;font-size:10px;font-weight:500}.password-generator.dark .settings-drawer-body .preset-item{background:transparent;border-color:#334155;color:#cbd5e1}.settings-drawer-body .preset-item:hover{border-color:#3b82f6;background:#f8fafc;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f626;border-radius:8px}.password-generator.dark .settings-drawer-body .preset-item:hover{background:#3341554d;border-color:#475569}.settings-drawer-body .preset-item.active{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6;border-width:1px;color:#1e40af;font-weight:600;border-radius:8px;box-shadow:0 2px 6px #3b82f61f}.settings-drawer-body .preset-item.active:active,.settings-drawer-body .preset-item.active:focus,.settings-drawer-body button.preset-item.active:active{border-radius:8px!important;background:linear-gradient(135deg,#dbeafe,#bfdbfe)!important;border-color:#3b82f6!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.password-generator.dark .settings-drawer-body .preset-item.active{background:linear-gradient(135deg,#1e3a8a,#1e40af);border-color:#3b82f6;color:#93c5fd;border-radius:8px}.password-generator.dark .settings-drawer-body .preset-item.active:active,.password-generator.dark .settings-drawer-body .preset-item.active:focus,.password-generator.dark .settings-drawer-body button.preset-item.active:active{border-radius:8px!important;background:linear-gradient(135deg,#1e3a8a,#1e40af)!important;border-color:#3b82f6!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.settings-drawer-body .setting-group:has(.slider){background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px;margin:0}.password-generator.dark .settings-drawer-body .setting-group:has(.slider){background:#1e293b;border-color:#334155}.settings-drawer-body .setting-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.settings-drawer-body .setting-row label{font-size:11px;font-weight:600;color:#111827}.password-generator.dark .settings-drawer-body .setting-row label{color:#f9fafb}.settings-drawer-body .setting-value{font-size:14px;font-weight:700;color:#3b82f6}.password-generator.dark .settings-drawer-body .setting-value{color:#60a5fa}.settings-drawer-body .slider{width:100%;height:4px;margin:4px 0}.settings-drawer-body .setting-group:has(.checkbox-list){background:transparent;border:none;padding:0;margin:0}.settings-drawer-body .setting-label{font-size:10px;font-weight:700;color:#111827;margin-bottom:6px;padding:0;border:none;text-transform:uppercase;letter-spacing:.5px}.password-generator.dark .settings-drawer-body .setting-label{color:#f9fafb}.settings-drawer-body .checkbox-list{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.settings-drawer-body .checkbox-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;min-height:44px;text-align:center}.password-generator.dark .settings-drawer-body .checkbox-item{background:#1e293b;border-color:#334155}.settings-drawer-body .checkbox-item:hover{border-color:#3b82f6;background:#f8fafc;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f61a}.password-generator.dark .settings-drawer-body .checkbox-item:hover{background:#334155;border-color:#475569}.settings-drawer-body .checkbox-item input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#3b82f6;flex-shrink:0;margin:0}.settings-drawer-body .checkbox-item:has(input:checked){background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6;border-width:1px;color:#1e40af;font-weight:600}.password-generator.dark .settings-drawer-body .checkbox-item:has(input:checked){background:linear-gradient(135deg,#1e3a8a,#1e40af);border-color:#3b82f6;color:#93c5fd}.settings-drawer-body .checkbox-item span{font-size:9px;font-weight:500;color:#374151;line-height:1.2}.password-generator.dark .settings-drawer-body .checkbox-item span{color:#d1d5db}.settings-drawer-body .checkbox-item:has(input:checked) span{color:#1e40af;font-weight:600}.password-generator.dark .settings-drawer-body .checkbox-item:has(input:checked) span{color:#93c5fd}.settings-drawer-body .setting-group:has(.checkbox-list):last-of-type .checkbox-list{grid-template-columns:1fr;gap:6px}.settings-drawer-body .setting-group:has(.checkbox-list):last-of-type .checkbox-item{flex-direction:row;justify-content:space-between;align-items:center;padding:8px 10px;min-height:36px;text-align:left}.settings-drawer-body .setting-group:has(.checkbox-list):last-of-type .checkbox-item span{font-size:11px;flex:1;text-align:left}.settings-drawer-body .setting-group:has(.checkbox-list):last-of-type .checkbox-item input[type=checkbox]{width:16px;height:16px;order:2}.settings-drawer-body .setting-group{background:transparent;border:none;padding:0;margin:0;gap:0}.settings-drawer-body .preset-selector{gap:12px}.settings-drawer-body .settings-scroll>*{margin-bottom:0}.settings-drawer-body .sidebar-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e2e8f0;padding:16px 20px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.password-generator.dark .settings-drawer-body .sidebar-footer{background:#1e293b;border-top-color:#334155}.main-content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-top:56px;padding-bottom:calc(64px + env(safe-area-inset-bottom))}.password-generator:has(.quick-actions-bar) .main-content{padding-bottom:calc(144px + env(safe-area-inset-bottom))}.tab-content{padding:16px;gap:12px}.quick-actions-bar{display:flex;position:fixed;bottom:64px;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom));z-index:90;box-shadow:0 -2px 8px #0000000d;gap:8px;align-items:center}.password-generator.dark .quick-actions-bar{background:#1e293b;border-top-color:#334155}.quick-presets{display:flex;gap:6px;flex:1;min-width:0}.quick-preset-btn{flex:1;padding:8px 10px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;color:#374151;font-size:11px;font-weight:500;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;white-space:nowrap;text-align:center;min-width:0}.password-generator.dark .quick-preset-btn{background:#334155;border-color:#475569;color:#d1d5db}.quick-preset-btn:hover{background:#e5e7eb;border-color:#d1d5db;color:#111827;transform:translateY(-1px);border-radius:8px}.password-generator.dark .quick-preset-btn:hover{background:#475569;border-color:#64748b;color:#f9fafb}.quick-preset-btn:active,.quick-preset-btn:focus,button.quick-preset-btn:active{transform:translateY(0)!important;border-radius:8px!important;background:#d1d5db!important;border-color:#9ca3af!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.password-generator.dark .quick-preset-btn:active,.password-generator.dark .quick-preset-btn:focus,.password-generator.dark button.quick-preset-btn:active{background:#475569!important;border-color:#64748b!important;border-radius:8px!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.quick-generate-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:13px;font-weight:600;transition:background .2s ease,transform .2s ease,box-shadow .2s ease;box-shadow:0 2px 6px #3b82f64d;flex-shrink:0;min-width:100px}.quick-generate-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666;border-radius:10px}.quick-generate-btn:active:not(:disabled),.quick-generate-btn:focus:not(:disabled),button.quick-generate-btn:active:not(:disabled){transform:translateY(0)!important;border-radius:10px!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.quick-generate-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.quick-generate-btn svg{width:16px;height:16px}.quick-more-btn{display:flex;align-items:center;justify-content:center;gap:4px;padding:10px 12px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;color:#374151;font-size:12px;font-weight:500;transition:background .2s ease,border-color .2s ease,color .2s ease;flex-shrink:0}.password-generator.dark .quick-more-btn{background:#334155;border-color:#475569;color:#d1d5db}.quick-more-btn:hover{background:#e5e7eb;border-color:#d1d5db;color:#111827;border-radius:8px}.password-generator.dark .quick-more-btn:hover{background:#475569;border-color:#64748b;color:#f9fafb;border-radius:8px}.quick-more-btn:active,.quick-more-btn:focus,button.quick-more-btn:active{transform:translateY(0)!important;border-radius:8px!important;background:#d1d5db!important;border-color:#9ca3af!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.password-generator.dark .quick-more-btn:active,.password-generator.dark .quick-more-btn:focus,.password-generator.dark button.quick-more-btn:active{background:#475569!important;border-color:#64748b!important;border-radius:8px!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.quick-more-btn svg{width:14px;height:14px}.app-footer{margin-top:24px;padding:0 12px 12px}.footer-content{padding:10px 12px}.legal-modal-overlay{padding:0;align-items:flex-end}.legal-modal-content{max-width:100%;width:100%;max-height:100vh;height:100vh;border-radius:0;animation:slideUpMobile .3s ease}.legal-modal-header{padding:16px 20px}.legal-modal-body{padding:20px}@keyframes slideUpMobile{0%{transform:translateY(100%)}to{transform:translateY(0)}}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;padding:8px 0;padding-bottom:max(8px,env(safe-area-inset-bottom));z-index:100;box-shadow:0 -2px 10px #0000000d;flex-direction:row;justify-content:space-around;align-items:center;height:64px;max-height:64px}.password-generator.dark .bottom-nav{background:#1e293b;border-top-color:#334155;box-shadow:0 -2px 10px #0000004d}.bottom-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 12px;background:transparent;border:none;border-radius:8px;cursor:pointer;color:#6b7280;font-size:10px;font-weight:500;transition:background .2s ease,color .2s ease;text-align:center;position:relative;flex:1;min-width:0;height:100%;max-width:120px}.password-generator.dark .bottom-nav .nav-item{color:#9ca3af}.bottom-nav .nav-item svg{width:20px;height:20px;flex-shrink:0}.bottom-nav .nav-item>span:not(.nav-badge){font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;line-height:1.2}.bottom-nav .nav-item .nav-badge{position:absolute;top:4px;right:8px;background:#ef4444;color:#fff;border-radius:50%;font-size:9px;font-weight:700;width:16px;height:16px;min-width:16px;max-width:16px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003;z-index:10}.bottom-nav .nav-item.active .nav-badge{background:#dc2626}.bottom-nav .nav-item:hover{background:#f3f4f6;color:#111827;border-radius:8px}.password-generator.dark .bottom-nav .nav-item:hover{background:#334155;color:#f9fafb;border-radius:8px}.bottom-nav .nav-item.active{background:#eff6ff;color:#3b82f6;font-weight:600;border-radius:8px}.bottom-nav .nav-item.active:active,.bottom-nav .nav-item.active:focus,.bottom-nav button.nav-item.active:active{border-radius:8px!important;background:#eff6ff!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}.password-generator.dark .bottom-nav .nav-item.active{background:#1e3a5f;color:#60a5fa;border-radius:8px}.password-generator.dark .bottom-nav .nav-item.active:active,.password-generator.dark .bottom-nav .nav-item.active:focus,.password-generator.dark .bottom-nav button.nav-item.active:active{border-radius:8px!important;background:#1e3a5f!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}}@media(max-width:768px){.sidebar{overflow-y:auto;display:flex;flex-direction:column;flex-shrink:0}.sidebar-settings{overflow-y:visible}.preset-list,.checkbox-list{grid-template-columns:repeat(2,1fr)}.password-display{flex-wrap:wrap}.password-actions{width:100%;justify-content:flex-end;margin-top:8px}.analysis-grid{grid-template-columns:repeat(2,1fr);gap:6px}.history-grid{grid-template-columns:1fr;gap:8px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:8px}}@media(max-width:640px){.tab-content{padding:12px;gap:10px}.main-content:has(+.quick-actions-bar) .tab-content{padding-bottom:0}.content-header{flex-direction:column;align-items:flex-start;gap:10px}.content-header h2{font-size:14px}.header-actions{width:100%;flex-wrap:wrap;gap:6px}.header-btn{flex:1;min-width:calc(50% - 3px);justify-content:center;padding:6px 8px;font-size:10px}.password-card{padding:10px;gap:10px}.password-display{padding:8px 10px}.password-input{font-size:12px}.action-btn{width:28px;height:28px}.action-btn svg{width:14px;height:14px}.analysis-grid{grid-template-columns:1fr;gap:6px}.analysis-card{padding:8px}.analysis-value{font-size:13px}.history-grid{grid-template-columns:1fr;gap:8px}.history-card{padding:8px}.history-password{font-size:10px}.stats-grid{grid-template-columns:1fr;gap:8px}.stat-card{padding:10px}.stat-value{font-size:20px}.stat-icon{width:28px;height:28px}.sidebar-header{padding:10px 12px}.logo svg{width:18px;height:18px}h1{font-size:13px}.theme-btn{width:28px;height:28px}.settings-scroll{padding:8px 10px;gap:10px}.setting-group{padding:8px 10px}.generate-btn{padding:8px 12px;font-size:12px}.preset-list{grid-template-columns:1fr;gap:4px}.preset-item{padding:5px 6px;font-size:10px;min-height:30px}.checkbox-list{grid-template-columns:1fr;gap:4px}.checkbox-item{padding:5px 6px}.checkbox-item span{font-size:10px}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .2s ease}.password-generator.dark .modal-overlay{background:#000000b3}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:8px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:500px;width:100%;max-height:90vh;overflow:auto;animation:slideUp .3s ease}.password-generator.dark .modal-content{background:#1e293b;border:1px solid #334155}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #e5e7eb}.password-generator.dark .modal-header{border-bottom-color:#334155}.modal-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fef3c7;color:#d97706;flex-shrink:0}.password-generator.dark .modal-icon{background:#78350f;color:#fbbf24}.modal-content.danger .modal-icon{background:#fee2e2;color:#dc2626}.password-generator.dark .modal-content.danger .modal-icon{background:#7f1d1d;color:#f87171}.modal-icon svg{width:20px;height:20px}.modal-title{flex:1;margin:0;font-size:18px;font-weight:600;color:#111827}.password-generator.dark .modal-title{color:#f9fafb}.modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:none;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s ease}.password-generator.dark .modal-close{color:#9ca3af}.modal-close:hover{background:#f3f4f6;color:#111827}.password-generator.dark .modal-close:hover{background:#334155;color:#f9fafb}.modal-body{padding:20px}.modal-message{margin:0;font-size:14px;line-height:1.6;color:#374151}.password-generator.dark .modal-message{color:#d1d5db}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #e5e7eb}.password-generator.dark .modal-footer{border-top-color:#334155}.modal-btn{padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.modal-btn.cancel{background:#fff;border-color:#e5e7eb;color:#374151}.password-generator.dark .modal-btn.cancel{background:#1e293b;border-color:#334155;color:#d1d5db}.modal-btn.cancel:hover{background:#f9fafb;border-color:#d1d5db}.password-generator.dark .modal-btn.cancel:hover{background:#334155;border-color:#475569}.modal-btn.danger{background:#dc2626;color:#fff}.modal-btn.danger:hover{background:#b91c1c}.modal-btn:focus{outline:none;box-shadow:0 0 0 3px #3b82f64d}@media(max-width:640px){.modal-overlay{padding:10px}.modal-content{max-width:100%}.modal-header{padding:12px 16px}.modal-body{padding:16px}.modal-footer{padding:12px 16px;flex-direction:column-reverse}.modal-btn{width:100%}}*{margin:0;padding:0;box-sizing:border-box}.error-boundary{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:var(--bg-primary, #f5f5f5)}.error-boundary-content{max-width:600px;text-align:center;background:#fff;padding:3rem;border-radius:12px;box-shadow:0 4px 6px #0000001a}.error-icon{color:#ef4444;margin-bottom:1.5rem}.error-boundary-content h1{font-size:1.75rem;margin-bottom:1rem;color:#1f2937}.error-boundary-content p{color:#6b7280;margin-bottom:2rem;line-height:1.6}.error-details{margin:2rem 0;text-align:left;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.error-details summary{cursor:pointer;font-weight:600;color:#374151;margin-bottom:.5rem}.error-stack{font-family:Courier New,monospace;font-size:.875rem;color:#dc2626;white-space:pre-wrap;word-break:break-all;overflow-x:auto;margin-top:.5rem}.error-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.error-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.error-btn.primary{background:#3b82f6;color:#fff}.error-btn.primary:hover{background:#2563eb}.error-btn.secondary{background:#e5e7eb;color:#374151}.error-btn.secondary:hover{background:#d1d5db}.dark .error-boundary{background:var(--bg-primary, #1f2937)}.dark .error-boundary-content{background:#374151;color:#f9fafb}.dark .error-boundary-content h1{color:#f9fafb}.dark .error-boundary-content p{color:#d1d5db}.dark .error-details{background:#4b5563;border-color:#6b7280}.dark .error-details summary{color:#f9fafb}.dark .error-btn.secondary{background:#4b5563;color:#f9fafb}.dark .error-btn.secondary:hover{background:#6b7280}button{-webkit-tap-highlight-color:transparent;outline:none}button:active{outline:none}body{font-family:-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:#fafbfc;color:#202124;line-height:1.5}#root{width:100%;height:100vh;overflow:hidden}
