.header{background:var(--card,#fff);border-bottom:1px solid var(--border,#e2e8f0);padding:1rem 0;position:sticky;top:0;z-index:100}.header-content{justify-content:space-between;margin:0 auto;max-width:1100px;padding:0 1.5rem}.header-content,.logo{align-items:center;display:flex}.logo{color:var(--text,#1e293b);gap:.5rem;text-decoration:none}.logo-icon{align-items:center;background:var(--primary,#6366f1);border-radius:8px;color:#fff;display:flex;font-size:1.25rem;font-weight:700;height:36px;justify-content:center;width:36px}.logo-text{font-size:1.1rem;font-weight:600}.breadcrumb{align-items:center;display:flex;font-size:.85rem;gap:.5rem}.breadcrumb a{color:var(--muted,#64748b);text-decoration:none;transition:color .2s}.breadcrumb a:hover{color:var(--primary,#6366f1)}.breadcrumb-separator{color:var(--border,#e2e8f0)}.main{padding:2rem 0}.main>.container{margin:0 auto;max-width:1100px;padding:0 1.5rem}.tool-title{color:var(--text,#1e293b);font-size:2rem;font-weight:700;margin-bottom:.5rem}.tool-subtitle{color:var(--muted,#64748b);font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.calculator-grid{align-items:start;display:grid;gap:2rem;grid-template-columns:380px 1fr;margin-bottom:2rem}@media (max-width:1024px){.calculator-grid{gap:1.5rem;grid-template-columns:1fr}}.input-panel{background:var(--card,#fff);border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:1.5rem;position:sticky;top:100px}@media (max-width:1024px){.input-panel{position:static}}.panel-title{border-bottom:2px solid var(--primary,#6366f1);color:var(--text,#1e293b);font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;padding-bottom:.75rem}.form-group{margin-bottom:1.25rem}.form-group:last-child{margin-bottom:0}.form-group label{color:var(--text,#1e293b);display:block;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.form-group input,.form-group select{background:var(--bg,#f8fafc);border:1px solid var(--border,#e2e8f0);border-radius:8px;color:var(--text,#1e293b);font-size:1rem;padding:.75rem 1rem;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus,.form-group select:focus{background:#fff;border-color:var(--primary,#6366f1);box-shadow:0 0 0 3px #6366f11a;outline:none}.form-group small{color:var(--muted,#64748b);display:block;font-size:.8rem;margin-top:.35rem}.results-panel{background:var(--card,#fff);border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}#result-container{margin-bottom:1rem}.result-disclaimer{background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;color:#92400e;font-size:.85rem;line-height:1.6;margin:1rem 0;padding:1rem}.privacy-notice{background:#ecfdf5;border:1px solid #10b981;border-radius:8px;color:#065f46;font-size:.85rem;margin:1rem 0;padding:.75rem 1rem}.chart-container{margin-top:1.5rem}.chart-container h3{color:var(--text,#1e293b);font-size:1.1rem;margin-bottom:1rem}.chart-wrapper{height:300px;position:relative}.chart-wrapper canvas{height:100%!important;width:100%!important}.how-to-use{background:var(--card,#fff);border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-top:2rem;padding:2rem}.how-to-use h2{color:var(--text,#1e293b);font-size:1.5rem;margin-bottom:1rem}.how-to-use ol{margin:0;padding-left:1.5rem}.how-to-use li{color:var(--text,#1e293b);line-height:1.7;margin-bottom:.75rem}.how-to-use li strong{color:var(--primary,#6366f1)}.formula-section{background:var(--card,#fff);border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-top:2rem;padding:2rem}.formula-section h2{color:var(--text,#1e293b);font-size:1.5rem;margin-bottom:1rem}.formula-box{background:var(--bg,#f8fafc);border-radius:8px;padding:1.5rem}.formula-box p{line-height:1.7;margin-bottom:1rem}.formula{background:#1e293b;border-radius:8px;color:#e2e8f0;font-family:Courier New,Consolas,monospace;font-size:1.1rem;margin:1rem 0;overflow-x:auto;padding:1rem 1.5rem;text-align:center}.formula-box ul{margin:1rem 0;padding-left:1.5rem}.formula-box li{line-height:1.6;margin-bottom:.5rem}.why-section{background:var(--card,#fff);border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-top:2rem;padding:2rem}.why-section h2{color:var(--text,#1e293b);font-size:1.5rem;margin-bottom:1rem}.why-section h3{color:var(--text,#1e293b);font-size:1.1rem;margin:1.5rem 0 .75rem}.why-section p{color:var(--text,#1e293b);line-height:1.8;margin-bottom:1rem}.why-section ul{margin:1rem 0;padding-left:1.5rem}.why-section li{line-height:1.7;margin-bottom:.5rem}.faq-section{background:var(--card,#fff);border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-top:2rem;padding:2rem}.faq-section h2{color:var(--text,#1e293b);font-size:1.5rem;margin-bottom:1.5rem}.faq-item{border-bottom:1px solid var(--border,#e2e8f0);padding:1.25rem 0}.faq-item:first-of-type{padding-top:0}.faq-item:last-child{border-bottom:none;padding-bottom:0}.faq-question{color:var(--text,#1e293b);font-size:1rem;font-weight:600;margin-bottom:.5rem}.faq-answer{color:var(--muted,#64748b);line-height:1.7;margin:0}.faq-item.interactive .faq-question{align-items:center;cursor:pointer;display:flex;justify-content:space-between}.faq-item.interactive .faq-question:after{color:var(--muted,#64748b);content:"+";font-size:1.25rem;transition:transform .2s}.faq-item.interactive.open .faq-question:after{transform:rotate(45deg)}.faq-item.interactive .faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}.faq-item.interactive.open .faq-answer{max-height:500px}.related-tools{margin-top:2rem}.related-tools h2{color:var(--text,#1e293b);font-size:1.5rem;margin-bottom:1rem}.related-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.related-card{background:var(--card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:12px;color:var(--text,#1e293b);padding:1.25rem;text-decoration:none;transition:all .2s ease}.related-card:hover{border-color:var(--primary,#6366f1);box-shadow:0 4px 12px #6366f126;transform:translateY(-2px)}.related-card h3{color:var(--text,#1e293b);font-size:1rem;margin-bottom:.5rem}.related-card p{color:var(--muted,#64748b);font-size:.85rem;line-height:1.5;margin:0}.footer{background:var(--card,#fff);border-top:1px solid var(--border,#e2e8f0);margin-top:3rem;padding:2rem 0;text-align:center}.footer>.container{margin:0 auto;max-width:1100px;padding:0 1.5rem}.footer p{color:var(--muted,#64748b);font-size:.9rem;margin-bottom:1rem}.footer-links{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center}.footer-links a{color:var(--muted,#64748b);font-size:.9rem;text-decoration:none;transition:color .2s}.footer-links a:hover{color:var(--primary,#6366f1)}@media (max-width:768px){.header-content{flex-direction:column;gap:1rem}.breadcrumb{flex-wrap:wrap;font-size:.8rem;justify-content:center}.tool-title{font-size:1.5rem}.tool-subtitle{font-size:1rem}.faq-section,.formula-section,.how-to-use,.why-section{padding:1.5rem}.formula{font-size:.95rem;padding:.75rem 1rem}.related-grid{grid-template-columns:1fr}.footer-links{flex-direction:column;gap:1rem}}@media (max-width:480px){.header-content,.main>.container{padding:0 1rem}.faq-section h2,.formula-section h2,.how-to-use h2,.related-tools h2,.tool-title,.why-section h2{font-size:1.25rem}}@media print{.footer,.header,.related-tools{display:none}.main{padding:0}.faq-section,.formula-section,.how-to-use,.why-section{border:1px solid #e2e8f0;box-shadow:none;break-inside:avoid}}
