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