input,select,textarea{font-size:16px!important;-webkit-text-size-adjust:100%}body{margin:0;font-family:Inter,-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}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}@media(min-width:1025px){body{overflow:hidden;height:100vh}#root{height:100vh;overflow:hidden}}.purchase-mode-selector{margin-bottom:2rem}.purchase-mode-selector h3{font-size:1.125rem;font-weight:600;color:#2c3e50;margin-bottom:1rem;text-align:center}.mode-options{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.mode-option{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem 1rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;align-items:center;gap:.75rem;position:relative;overflow:hidden}.mode-option:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--mode-color);transform:scaleX(0);transition:transform .3s ease}.mode-option:hover{transform:translateY(-4px);box-shadow:0 10px 25px -5px #0000001a;border-color:var(--mode-color)}.mode-option:hover:before{transform:scaleX(1)}.mode-option.selected{border-color:var(--mode-color);background:linear-gradient(to bottom,rgba(var(--mode-color-rgb),.05),#fff);box-shadow:0 4px 12px #00000014}.mode-option.selected:before{transform:scaleX(1)}.mode-icon{width:48px;height:48px;border-radius:12px;background:var(--mode-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;transition:transform .3s ease}.mode-option:hover .mode-icon,.mode-option.selected .mode-icon{transform:scale(1.1)}.mode-info{display:flex;flex-direction:column;align-items:center;gap:.25rem}.mode-title{font-weight:600;font-size:1rem;color:#2c3e50}.mode-subtitle{font-size:.75rem;color:#6b7280}@media(max-width:768px){.mode-options{grid-template-columns:1fr;gap:.75rem}.mode-option{flex-direction:row;justify-content:flex-start;padding:1rem}.mode-icon{width:40px;height:40px;font-size:1.25rem}.mode-info{align-items:flex-start}}.financial-form{display:flex;flex-direction:column}@media(min-width:1025px){.financial-form{height:100%;overflow:hidden}}.form-content{flex:1;padding-right:.25rem}@media(min-width:1025px){.form-content{overflow-y:auto;overflow-x:hidden}}.form-content::-webkit-scrollbar{width:6px}.form-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.form-content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.form-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}.animate-fade-in{animation:fadeIn .4s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.form-footer{padding-top:.75rem;border-top:1px solid #e5e7eb;background:#f8f9fa;margin-top:auto}.form-section{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:.875rem;margin-bottom:.75rem}.form-section:last-of-type{margin-bottom:0}.form-section h2{margin:0 0 .625rem;color:#2c3e50;font-size:.875rem;font-weight:600}.form-group{margin-bottom:.625rem}.form-group:last-child{margin-bottom:0}.form-group label{display:block;margin-bottom:.3rem;color:#4b5563;font-weight:500;font-size:.75rem}.form-group input[type=text],.form-group input[type=number],.form-group input[type=date]{width:100%;padding:.5rem .625rem;background:#f9fafb;border:1px solid #d1d5db;border-radius:4px;font-size:.8125rem;color:#1f2937;transition:all .2s;font-family:Inter,sans-serif}.form-group input::placeholder{color:#9ca3af}.form-group input:focus{outline:none;border-color:#6b7280;background:#fff}.form-group input.error{border-color:#dc2626;background:#fef2f2}.error-message{display:block;color:#dc2626;font-size:.75rem;margin-top:.25rem}.form-group small{display:block;color:#6b7280;font-size:.6875rem;margin-top:.2rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.checkbox-group{display:flex;gap:.75rem;margin-top:.4rem}.checkbox-label{display:flex;align-items:center;gap:.3rem;cursor:pointer;font-weight:400;color:#4b5563;font-size:.75rem}.checkbox-label input[type=checkbox]{width:14px;height:14px;cursor:pointer;accent-color:#6b7280}.submit-button{width:100%;padding:.75rem 1.25rem;background:#2c3e50;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.75rem;font-family:Inter,sans-serif}.submit-button:hover{background:#1a252f}.submit-button:active{transform:scale(.98)}@media(max-width:1024px){.form-section h2{position:relative;margin-top:.75rem;border-top:1px solid #e5e7eb;padding-top:.75rem}.form-section{padding:.75rem}}@media(max-width:768px){.form-row{grid-template-columns:1fr;gap:.5rem}.checkbox-group{flex-direction:column;gap:.4rem}.form-section h2{font-size:.8125rem}.form-section{padding:.625rem;margin-bottom:.5rem}}.tooltip-icon{display:inline-block;position:relative;margin-left:.375rem;cursor:help;font-size:.875rem;opacity:.7;transition:opacity .2s}.tooltip-icon:hover{opacity:1}.tooltip-text{visibility:hidden;opacity:0;position:absolute;left:50%;bottom:100%;transform:translate(-50%);margin-bottom:.5rem;background-color:#1f2937;color:#fff;padding:.5rem .75rem;border-radius:6px;font-size:.75rem;font-weight:400;white-space:normal;width:220px;text-align:left;z-index:1000;line-height:1.4;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transition:opacity .2s,visibility .2s;pointer-events:none}.tooltip-text:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#1f2937}.tooltip-icon:hover .tooltip-text{visibility:visible;opacity:1}.result-display{flex:1;overflow-y:auto;overflow-x:hidden;padding-right:.5rem;animation:slideIn .5s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.result-display::-webkit-scrollbar{width:4px}.result-display::-webkit-scrollbar-track{background:transparent}.result-display::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:2px}.result-header{text-align:center;margin-bottom:1rem;position:relative}.result-header h2{color:#2c3e50;margin-bottom:.35rem;font-size:1rem;font-weight:600}.goal-summary{color:#6b7280;font-size:.8125rem;margin-bottom:.75rem}.export-button{background:#10b981;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:Inter,sans-serif;display:inline-flex;align-items:center;gap:.375rem}.export-button:hover{background:#059669;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.export-button:active{transform:translateY(0)}.warnings-section{margin-bottom:1rem;animation:fadeIn .4s ease-out .2s both}.warning-item{background:#fef3c7;border-left:3px solid #f59e0b;padding:.75rem .875rem;margin-bottom:.625rem;border-radius:4px;color:#92400e;font-size:.8125rem;display:flex;align-items:center;gap:.5rem;animation:slideInLeft .3s ease-out}.warning-item svg{flex-shrink:0}@keyframes slideInLeft{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.result-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;margin-bottom:1rem;animation:fadeIn .4s ease-out .3s both}.result-row{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #f3f4f6;animation:fadeIn .3s ease-out both}.result-row:nth-child(1){animation-delay:.4s}.result-row:nth-child(2){animation-delay:.45s}.result-row:nth-child(3){animation-delay:.5s}.result-row:nth-child(4){animation-delay:.55s}.result-row:nth-child(5){animation-delay:.6s}.result-row:nth-child(6){animation-delay:.65s}.result-row:nth-child(7){animation-delay:.7s}.result-row:nth-child(8){animation-delay:.75s}.result-row.highlight{background:#f9fafb;margin:0 -1.25rem;padding:.75rem 1.25rem;border-radius:6px}.result-row:last-child{border-bottom:none;padding-bottom:0}.result-row:first-child{padding-top:0}.result-label{color:#4b5563;font-weight:500;font-size:.8125rem}.result-value{font-weight:600;font-size:.9375rem;display:flex;align-items:center;gap:.375rem}.result-value.positive{color:#059669}.result-value.negative{color:#dc2626}.result-value.warning{color:#f59e0b}.result-value.highlight-value{color:#2c3e50;font-size:1.125rem}.badge{padding:.375rem .75rem;border-radius:4px;font-size:.8125rem;font-weight:500;display:inline-flex;align-items:center;gap:.375rem}.badge svg{font-size:.875rem}.badge-success{background:#d1fae5;color:#065f46}.badge-warning{background:#fef3c7;color:#92400e}.badge-info{background:#dbeafe;color:#1e40af}.impact-warning{background:#fee2e2;border:1px solid #fecaca;color:#991b1b;padding:.875rem;border-radius:6px;margin-top:.875rem;font-size:.8125rem;display:flex;align-items:center;gap:.5rem;animation:pulse 2s ease-in-out infinite}.impact-warning svg{flex-shrink:0}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.recommendation-section{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;margin-bottom:1rem;animation:fadeIn .4s ease-out .8s both}.recommendation-section h3{margin:0 0 .75rem;color:#2c3e50;font-size:.9375rem;font-weight:600}.recommendation-text p{margin-bottom:.75rem;line-height:1.6;white-space:pre-line;color:#4b5563;font-size:.8125rem}.recommendation-text p:last-child{margin-bottom:0}.strategies-section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;margin-bottom:1rem;animation:fadeIn .4s ease-out .9s both}.strategies-section h3{color:#2c3e50;margin:0 0 .75rem;font-size:.9375rem;font-weight:600}.strategies-list{list-style:none;padding:0;margin:0}.strategy-item{padding:.625rem .875rem;margin-bottom:.5rem;background:#f9fafb;border-left:3px solid #10b981;border-radius:4px;color:#374151;font-size:.8125rem;line-height:1.5;animation:slideInLeft .3s ease-out both}.strategy-item:nth-child(1){animation-delay:1s}.strategy-item:nth-child(2){animation-delay:1.05s}.strategy-item:nth-child(3){animation-delay:1.1s}.strategy-item:nth-child(4){animation-delay:1.15s}.strategy-item:nth-child(5){animation-delay:1.2s}.strategy-item:nth-child(6){animation-delay:1.25s}.strategy-item:last-child{margin-bottom:0}.tips-section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;animation:fadeIn .4s ease-out 1s both}.tips-section h3{color:#2c3e50;margin:0 0 .75rem;font-size:.9375rem;font-weight:600}.tips-section ul{list-style:none;padding:0;margin:0}.tips-section li{padding:.5rem 0 .5rem 1.25rem;position:relative;color:#4b5563;line-height:1.6;font-size:.8125rem}.tips-section li:before{content:"•";position:absolute;left:0;color:#6b7280;font-weight:700}.reset-section{text-align:center;margin-top:0;padding-top:1rem}.reset-button{padding:.75rem 1.5rem;background:#fff;color:#2c3e50;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:Inter,sans-serif;width:100%}.reset-button:hover{background:#f9fafb;border-color:#9ca3af}@media(max-width:1024px){.result-card,.recommendation-section,.tips-section{padding:1rem}}@media(max-width:768px){.result-row{flex-direction:column;align-items:flex-start;gap:.25rem;padding:.5rem 0}.result-header h2{font-size:.9375rem}.goal-summary{font-size:.75rem}}*{margin:0;padding:0;box-sizing:border-box}.app{height:100vh;display:grid;grid-template-rows:auto 1fr auto;background:#f8f9fa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(min-width:1025px){.app{overflow:hidden}}.app-header{text-align:center;padding:1.5rem 1rem;background:#fff;border-bottom:1px solid #e5e7eb}.app-header h1{font-size:1.5rem;margin-bottom:.25rem;color:#2c3e50;font-weight:700;letter-spacing:-.01em}.app-subtitle{font-size:.875rem;color:#6b7280;font-weight:400}.app-main{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;padding:1.5rem;background:#f8f9fa}@media(min-width:1025px){.app-main{overflow:hidden}}.form-container,.result-container{display:flex;flex-direction:column;height:100%}@media(min-width:1025px){.form-container,.result-container{overflow:hidden}}.result-wrapper{display:flex;flex-direction:column;height:100%;animation:slideInRight .5s ease-out}@keyframes slideInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem;color:#6b7280}.loading-spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top:3px solid #2c3e50;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container p{font-size:.875rem;margin:0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:2rem;color:#9ca3af}.empty-state h3{font-size:1.125rem;color:#6b7280;margin:0 0 .5rem;font-weight:600}.empty-state p{font-size:.875rem;margin:0;max-width:300px;line-height:1.5}.reset-section{padding:1rem 0 0;border-top:1px solid #e5e7eb;margin-top:auto}.app-footer{background:#fff;border-top:1px solid #e5e7eb;color:#6b7280;padding:.75rem 1rem;text-align:center;font-size:.75rem}.app-footer p{margin:.25rem 0;line-height:1.4}.privacy-note{font-size:.7rem;color:#9ca3af}@media(max-width:1024px){.app-main{grid-template-columns:1fr;gap:1rem;padding:1rem;overflow-y:auto}.form-container,.result-container{height:auto;min-height:auto}.empty-state{min-height:200px;height:auto}.app-header h1{font-size:1.25rem}.app-subtitle{font-size:.8rem}}@media(max-width:1024px){.app{height:auto;min-height:100vh;overflow:visible}.app-main{grid-template-columns:1fr;overflow:visible;height:auto}.form-container,.result-container{height:auto;overflow:visible}}@media(max-width:768px){.app-header{padding:1rem}.app-main{padding:.75rem;gap:.75rem}.app-footer{padding:.5rem;font-size:.7rem}.empty-state h3{font-size:1rem}.empty-state p{font-size:.8125rem}.feedback-button{bottom:1rem;right:1rem;padding:.75rem 1rem;font-size:.875rem;gap:.5rem}.feedback-button span{display:none}}.feedback-button{position:fixed;bottom:2rem;right:2rem;background:#10b981;color:#fff;border:none;padding:1rem 1.5rem;border-radius:50px;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:0 4px 12px #10b9814d;transition:all .3s ease;display:flex;align-items:center;gap:.625rem;text-decoration:none;font-family:Inter,sans-serif;z-index:1000}.feedback-button:hover{background:#059669;transform:translateY(-2px);box-shadow:0 6px 16px #10b98166}.feedback-button:active{transform:translateY(0)}.feedback-button svg{font-size:1.25rem;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}
