*{box-sizing:border-box}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}#root{min-height:100vh}:root{--bg-gradient-start: #667eea;--bg-gradient-end: #764ba2;--card-bg: #ffffff;--text-primary: #1a202c;--text-secondary: #4a5568;--text-tertiary: #718096;--border-color: #e2e8f0;--hover-bg: #f7fafc;--input-bg: #ffffff;--input-border: #e2e8f0;--primary-color: #667eea;--primary-hover: #5568d3;--success-color: #48bb78;--error-color: #f56565;--ad-bg: #f7fafc;--ad-border: #cbd5e0;--shadow: rgba(0, 0, 0, .1);--shadow-strong: rgba(0, 0, 0, .2)}.dark-mode{--bg-gradient-start: #1a202c;--bg-gradient-end: #2d3748;--card-bg: #2d3748;--text-primary: #f7fafc;--text-secondary: #e2e8f0;--text-tertiary: #cbd5e0;--border-color: #4a5568;--hover-bg: #374151;--input-bg: #1a202c;--input-border: #4a5568;--primary-color: #818cf8;--primary-hover: #6366f1;--success-color: #34d399;--error-color: #f87171;--ad-bg: #374151;--ad-border: #4a5568;--shadow: rgba(0, 0, 0, .3);--shadow-strong: rgba(0, 0, 0, .5)}.app{min-height:100vh;background:linear-gradient(135deg,var(--bg-gradient-start) 0%,var(--bg-gradient-end) 100%);padding-bottom:2rem;transition:background .3s ease}.container{max-width:1200px;margin:0 auto;padding:2rem}.header{margin-bottom:2rem;padding:2rem;background:var(--card-bg);border-radius:16px;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.header-content{display:flex;justify-content:space-between;align-items:center;gap:2rem}.header h1{margin:0 0 .5rem;font-size:2.5rem;color:var(--text-primary);font-weight:700;transition:color .3s ease}.tagline{margin:0;color:var(--primary-color);font-size:1.1rem;font-weight:500;transition:color .3s ease}.theme-toggle{background:var(--primary-color);border:none;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;color:#fff;flex-shrink:0}.theme-toggle:hover{background:var(--primary-hover);transform:rotate(15deg) scale(1.05)}.theme-toggle svg{width:24px;height:24px}.mode-selector-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-bottom:2rem;background:var(--card-bg);padding:1.5rem;border-radius:12px;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.mode-btn-compact{padding:.75rem 1rem;border:2px solid var(--border-color);background:var(--card-bg);color:var(--text-secondary);border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;text-align:center}.mode-btn-compact:hover{border-color:var(--primary-color);color:var(--primary-color);transform:translateY(-2px);box-shadow:0 4px 8px var(--shadow)}.mode-btn-compact.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color);box-shadow:0 4px 12px #667eea4d}.mode-selector{display:flex;gap:1rem;margin-bottom:2rem;background:var(--card-bg);padding:1rem;border-radius:12px;box-shadow:0 4px 6px var(--shadow);flex-wrap:wrap;transition:all .3s ease}.mode-btn{flex:1;min-width:150px;padding:.75rem 1.5rem;border:2px solid var(--border-color);background:var(--card-bg);color:var(--text-secondary);border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.mode-btn:hover{border-color:var(--primary-color);color:var(--primary-color)}.mode-btn.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.calculator-description{background:var(--hover-bg);padding:1rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid var(--primary-color);transition:all .3s ease}.calculator-description p{margin:0;color:var(--text-secondary);font-size:.95rem;line-height:1.6}.main-content{display:grid;grid-template-columns:1fr 300px;gap:2rem;margin-bottom:2rem}.calculator-container{background:var(--card-bg);border-radius:16px;padding:2rem;box-shadow:0 10px 30px var(--shadow-strong);transition:all .3s ease}.form-group{margin-bottom:1.5rem;text-align:left}label{display:block;margin-bottom:.5rem;color:var(--text-primary);font-weight:600;font-size:.9rem;transition:color .3s ease}.input-field{width:100%;padding:.75rem 1rem;border:2px solid var(--input-border);border-radius:8px;font-size:1rem;transition:all .2s;background:var(--input-bg);color:var(--text-primary);box-sizing:border-box}.input-field:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}select.input-field{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d3748' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}.contract-info{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.75rem}.point-value-info{display:inline-block;color:var(--primary-color);font-size:.85rem;font-weight:600;background:var(--hover-bg);padding:.25rem .75rem;border-radius:4px;transition:all .3s ease}.conversion-info{display:block;margin-top:.5rem;color:var(--success-color);font-size:.85rem;font-weight:600;font-style:italic;transition:color .3s ease}.result-container{margin-top:2.5rem;padding-top:2rem;border-top:2px solid var(--border-color);transition:border-color .3s ease}.result-main{text-align:center;margin-bottom:2rem}.result-main h2{margin:0 0 1rem;font-size:1.2rem;color:var(--text-secondary);font-weight:600;transition:color .3s ease}.contracts-value{font-size:3.5rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem;line-height:1;transition:color .3s ease}.contracts-value.profit{color:var(--success-color)}.contracts-value.loss{color:var(--error-color)}.contracts-rounded{color:var(--text-tertiary);font-size:.9rem;transition:color .3s ease}.calculation-breakdown{background:var(--hover-bg);padding:1.5rem;border-radius:12px;margin-bottom:1rem;transition:all .3s ease}.calculation-breakdown h3{margin:0 0 1rem;font-size:1rem;color:var(--text-primary);font-weight:600;transition:color .3s ease}.breakdown-item{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid var(--border-color);font-size:.9rem;transition:border-color .3s ease}.breakdown-item:last-child{border-bottom:none}.breakdown-item span:first-child{color:var(--text-secondary);transition:color .3s ease}.breakdown-item span:last-child{color:var(--text-primary);font-weight:600;transition:color .3s ease}.save-btn{width:100%;padding:.75rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.save-btn:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.sidebar{display:flex;flex-direction:column;gap:1rem}.ad-zone{background:var(--ad-bg);border:2px dashed var(--ad-border);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--text-tertiary);font-weight:600;transition:all .3s ease}.ad-zone-header{margin-bottom:2rem;height:90px}.ad-zone-sidebar{height:600px;position:sticky;top:2rem}.ad-zone-footer{margin-top:2rem;height:90px}.ad-placeholder{padding:1rem}.presets-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.presets-section h2{margin:0 0 1.5rem;color:var(--text-primary);font-size:1.5rem;transition:color .3s ease}.presets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.preset-card{background:linear-gradient(135deg,#667eea,#764ba2);padding:1.5rem;border-radius:12px;cursor:pointer;transition:all .2s;color:#fff}.preset-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #667eea66}.preset-card h3{margin:0 0 .5rem;font-size:1.1rem}.preset-card p{margin:0;opacity:.9;font-size:.9rem}.toggle-sections{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.toggle-btn{flex:1;min-width:200px;padding:.75rem 1.5rem;background:var(--card-bg);color:var(--primary-color);border:2px solid var(--primary-color);border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.toggle-btn:hover{background:var(--primary-color);color:#fff}.history-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header h2{margin:0;color:var(--text-primary);font-size:1.5rem;transition:color .3s ease}.clear-btn{padding:.5rem 1rem;background:var(--error-color);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.clear-btn:hover{background:#e53e3e}.empty-state{text-align:center;color:var(--text-tertiary);padding:2rem;font-style:italic;transition:color .3s ease}.history-list{display:flex;flex-direction:column;gap:1rem}.history-item{background:var(--hover-bg);padding:1rem;border-radius:8px;border-left:4px solid var(--primary-color);transition:all .3s ease}.history-header{display:flex;gap:1rem;margin-bottom:.5rem;flex-wrap:wrap}.history-mode{background:var(--primary-color);color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:600;text-transform:capitalize}.history-contract{background:var(--border-color);color:var(--text-primary);padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:600;transition:all .3s ease}.history-time{color:var(--text-tertiary);font-size:.85rem;transition:color .3s ease}.history-details{color:var(--text-secondary);font-size:.9rem;font-family:monospace;transition:color .3s ease}.comparison-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.comparison-section h2{margin:0 0 .5rem;color:var(--text-primary);font-size:1.5rem;transition:color .3s ease}.section-description{color:var(--text-tertiary);margin-bottom:1.5rem;transition:color .3s ease}.comparison-table-wrapper{overflow-x:auto}.comparison-table{width:100%;border-collapse:collapse}.comparison-table th{background:var(--primary-color);color:#fff;padding:1rem;text-align:left;font-weight:600}.comparison-table td{padding:.75rem 1rem;border-bottom:1px solid var(--border-color);color:var(--text-primary);transition:all .3s ease}.comparison-table tr:hover{background:var(--hover-bg)}.education-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.education-section h2{margin:0 0 2rem;color:var(--text-primary);font-size:1.5rem;text-align:center;transition:color .3s ease}.education-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.education-card{background:var(--hover-bg);padding:1.5rem;border-radius:12px;border-left:4px solid var(--primary-color);transition:all .3s ease}.education-card h3{margin:0 0 1rem;color:var(--text-primary);font-size:1.1rem;transition:color .3s ease}.education-card p{color:var(--text-secondary);line-height:1.6;margin:0 0 .75rem;transition:color .3s ease}.education-card ul{margin:.5rem 0 0 1.25rem;color:var(--text-secondary)}.education-card li{margin-bottom:.5rem;line-height:1.6;transition:color .3s ease}.faq-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.faq-section h2{margin:0 0 1rem;color:var(--text-primary);font-size:1.8rem;text-align:center;transition:color .3s ease}.faq-section .section-description{text-align:center;color:var(--text-secondary);margin:0 0 2rem;font-size:1rem;transition:color .3s ease}.faq-grid{display:grid;gap:2rem}.faq-category{background:var(--hover-bg);padding:1.5rem;border-radius:12px;border-left:4px solid var(--primary-color);transition:all .3s ease}.faq-category h3{margin:0 0 1.5rem;color:var(--primary-color);font-size:1.3rem;font-weight:600;transition:color .3s ease}.faq-item{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.faq-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.faq-item h4{margin:0 0 .75rem;color:var(--text-primary);font-size:1.05rem;font-weight:600;line-height:1.4;transition:color .3s ease}.faq-item p{margin:0;color:var(--text-secondary);line-height:1.7;font-size:.95rem;transition:color .3s ease}.faq-item p strong{color:var(--text-primary);transition:color .3s ease}.glossary-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.glossary-section h2{margin:0 0 1rem;color:var(--text-primary);font-size:1.8rem;text-align:center;transition:color .3s ease}.glossary-section .section-description{text-align:center;color:var(--text-secondary);margin:0 0 2rem;font-size:1rem;transition:color .3s ease}.glossary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;max-height:600px;overflow-y:auto;padding:1rem;background:var(--hover-bg);border-radius:12px}.glossary-term{background:var(--card-bg);padding:1.25rem;border-radius:8px;border-left:3px solid var(--primary-color);transition:all .3s ease;box-shadow:0 2px 4px var(--shadow)}.glossary-term:hover{transform:translateY(-2px);box-shadow:0 4px 8px var(--shadow)}.glossary-term h4{margin:0 0 .5rem;color:var(--primary-color);font-size:1rem;font-weight:600;transition:color .3s ease}.glossary-term p{margin:0;color:var(--text-secondary);font-size:.9rem;line-height:1.6;transition:color .3s ease}.articles-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.articles-section h2{margin:0 0 1rem;color:var(--text-primary);font-size:1.8rem;text-align:center;transition:color .3s ease}.articles-section .section-description{text-align:center;color:var(--text-secondary);margin:0 0 2rem;font-size:1rem;transition:color .3s ease}.articles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.article-card{background:var(--hover-bg);padding:1.5rem;border-radius:12px;border-left:4px solid var(--primary-color);transition:all .3s ease;cursor:pointer;position:relative}.article-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px var(--shadow)}.article-badge{display:inline-block;background:var(--primary-color);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.5px}.article-card h3{margin:0 0 1rem;color:var(--text-primary);font-size:1.15rem;line-height:1.4;font-weight:600;transition:color .3s ease}.article-excerpt{color:var(--text-secondary);line-height:1.6;margin:0 0 1rem;font-size:.9rem;transition:color .3s ease}.article-meta{display:flex;gap:1rem;font-size:.85rem;color:var(--text-tertiary);padding-top:1rem;border-top:1px solid var(--border-color)}.article-meta span:first-child{font-weight:600}.article-full{max-width:900px;margin:0 auto}.back-to-articles-btn{background:var(--primary-color);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;margin-bottom:2rem;transition:all .3s ease}.back-to-articles-btn:hover{background:var(--primary-hover);transform:translate(-4px)}.article-content{background:var(--hover-bg);padding:2rem;border-radius:12px;line-height:1.8}.article-content h2{color:var(--text-primary);font-size:2rem;margin:0 0 1.5rem;transition:color .3s ease}.article-content h3{color:var(--text-primary);font-size:1.5rem;margin:2rem 0 1rem;transition:color .3s ease}.article-content h4{color:var(--text-primary);font-size:1.2rem;margin:1.5rem 0 .75rem;transition:color .3s ease}.article-content p{color:var(--text-secondary);margin:0 0 1.25rem;font-size:1.05rem;transition:color .3s ease}.article-content ul,.article-content ol{color:var(--text-secondary);margin:0 0 1.25rem 1.5rem;transition:color .3s ease}.article-content li{margin-bottom:.75rem;line-height:1.7}.article-content strong{color:var(--text-primary);font-weight:600;transition:color .3s ease}.resources-section{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.resources-section h2{margin:0 0 1rem;color:var(--text-primary);font-size:1.8rem;text-align:center;transition:color .3s ease}.resources-section .section-description{text-align:center;color:var(--text-secondary);margin:0 0 2rem;font-size:1rem;transition:color .3s ease}.resources-grid{display:grid;gap:2rem}.resource-category{background:var(--hover-bg);padding:1.5rem;border-radius:12px;border-left:4px solid var(--primary-color);transition:all .3s ease}.resource-category h3{margin:0 0 1.5rem;color:var(--primary-color);font-size:1.3rem;font-weight:600;transition:color .3s ease}.resource-list{display:grid;gap:1.25rem}.resource-item{background:var(--card-bg);padding:1rem;border-radius:8px;transition:all .3s ease;border:1px solid var(--border-color)}.resource-item:hover{transform:translate(4px);box-shadow:0 2px 8px var(--shadow)}.resource-item h4{margin:0 0 .5rem;color:var(--text-primary);font-size:1rem;font-weight:600;transition:color .3s ease}.resource-item p{margin:0;color:var(--text-secondary);font-size:.9rem;line-height:1.6;transition:color .3s ease}.resource-disclaimer{margin-top:2rem;padding:1.25rem;background:var(--hover-bg);border-radius:8px;border-left:4px solid var(--error-color);color:var(--text-secondary);font-size:.9rem;line-height:1.6;transition:all .3s ease}.resource-disclaimer strong{color:var(--text-primary);transition:color .3s ease}.seo-content{background:var(--card-bg);padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.seo-content h2{color:var(--text-primary);font-size:1.8rem;margin:0 0 1rem;transition:color .3s ease}.seo-content h3{color:var(--text-primary);font-size:1.3rem;margin:2rem 0 1rem;transition:color .3s ease}.seo-content p{color:var(--text-secondary);line-height:1.8;margin-bottom:1rem;transition:color .3s ease}.seo-content ul{margin:1rem 0 1rem 1.5rem;color:var(--text-secondary)}.seo-content li{margin-bottom:.75rem;line-height:1.6;transition:color .3s ease}.footer{background:var(--card-bg);padding:2rem;border-radius:16px;text-align:center;box-shadow:0 4px 6px var(--shadow);transition:all .3s ease}.footer p{margin:.5rem 0;color:var(--text-secondary);transition:color .3s ease}.disclaimer{font-size:.85rem;color:var(--text-tertiary);font-style:italic;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-color);transition:all .3s ease}@media(max-width:1024px){.main-content{grid-template-columns:1fr}.ad-zone-sidebar{height:250px;position:static}}@media(max-width:768px){.container{padding:1rem}.header-content{flex-direction:column;text-align:center}.header h1{font-size:1.8rem;line-height:1.3}.header p{font-size:.95rem;margin-top:.5rem}.mode-selector{flex-direction:column;gap:.75rem}.mode-btn{width:100%;min-height:48px;font-size:.95rem}.contracts-value{font-size:2.5rem}.presets-grid{grid-template-columns:1fr;gap:.75rem}.toggle-sections{flex-direction:column;gap:.75rem}.toggle-btn{width:100%;min-height:48px;font-size:.95rem}.education-grid{grid-template-columns:1fr}.comparison-table{font-size:.85rem;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.comparison-table th,.comparison-table td{padding:.5rem}input[type=text],input[type=number],select{font-size:16px!important;min-height:44px}.articles-grid{grid-template-columns:1fr;gap:1rem}.article-card{padding:1.25rem}.article-card h3{font-size:1.1rem;line-height:1.4}.article-excerpt{font-size:.9rem;line-height:1.5}.article-full{max-width:100%;padding:0}.back-to-articles-btn{position:sticky;top:0;z-index:100;width:100%;border-radius:0;margin-bottom:1rem;box-shadow:0 2px 8px #0000001a}.article-content{padding:1rem;font-size:1rem;line-height:1.7}.article-content h2{font-size:1.5rem;line-height:1.3;margin-bottom:1rem}.article-content h3{font-size:1.25rem;line-height:1.4;margin-top:1.5rem}.article-content h4{font-size:1.1rem;margin-top:1.25rem}.article-content p{font-size:1rem;margin-bottom:1rem}.article-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:.9rem}.article-content ul,.article-content ol{padding-left:1.25rem;margin-bottom:1rem}.article-content li{margin-bottom:.5rem;line-height:1.6}.calculator-card{padding:1.25rem}button{min-height:44px;font-size:.95rem}.primary-btn,.secondary-btn{min-height:48px;padding:.75rem 1.5rem}.form-group label{font-size:.95rem;margin-bottom:.5rem}.ad-zone{min-height:250px;margin:1rem 0}.section-description{font-size:.95rem;line-height:1.6}}@media(max-width:480px){.header h1{font-size:1.5rem}.contracts-value{font-size:2rem}.article-card{padding:1rem}.article-content{padding:.75rem}.article-content h2{font-size:1.3rem}.article-content h3{font-size:1.15rem}}
