*{box-sizing:border-box}html{background:#f8fafc;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}.app{width:min(100% - 32px,900px);margin:0 auto;padding:64px 0}.header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:40px;display:flex}.header-actions{flex-shrink:0;align-items:flex-end;gap:12px;display:flex}.currency-selector{color:#64748b;flex-direction:column;gap:6px;font-size:.75rem;font-weight:700;display:flex}.currency-selector select{color:#0f172a;min-width:96px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.brand{letter-spacing:.16rem;color:#64748b;margin:0 0 12px;font-size:.75rem;font-weight:700}h1{color:#0f172a;margin:0;font-size:clamp(2.5rem,7vw,4.5rem);line-height:1}.subtitle{color:#475569;max-width:550px;margin-top:20px;font-size:1.1rem;line-height:1.6}.install-button{color:#0f172a;background:#fff;border:1px solid #0f172a;flex-shrink:0}.install-button:hover{color:#fff;background:#0f172a}.summary-grid{grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px;display:grid}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:center;min-height:150px;padding:26px;display:flex;box-shadow:0 8px 30px #0f172a0f}.summary-card p{color:#64748b;margin:0 0 10px;font-size:.88rem;font-weight:600}.summary-card strong{color:#0f172a;font-size:2rem}.summary-card span{color:#64748b;margin-top:8px}.primary-summary{background:#0f172a;border-color:#0f172a}.primary-summary p,.primary-summary span{color:#cbd5e1}.primary-summary strong{color:#fff}.card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:24px;padding:32px;overflow:hidden;box-shadow:0 8px 30px #0f172a0f}.card h2{color:#0f172a;margin-top:0}.section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.section-heading h2{margin-bottom:0}.section-eyebrow{letter-spacing:.14rem;color:#64748b;margin:0 0 7px;font-size:.7rem;font-weight:800}.form-note{color:#64748b;margin-top:-8px;margin-bottom:24px}.section-heading .form-note{margin-bottom:0}.stock-form input:focus,.stock-form select:focus,.currency-selector select:focus{border-color:#0f172a;outline:2px solid #0f172a1f}button{color:#fff;font:inherit;cursor:pointer;background:#0f172a;border:0;border-radius:8px;padding:12px 18px;font-weight:600}button:hover{background:#1e293b}button:disabled{cursor:not-allowed;opacity:.55}.company-result{color:#166534;margin:0;font-weight:600}.lookup-error{color:#b91c1c;margin:0}.forecast-chart{grid-template-columns:repeat(12,minmax(46px,1fr));gap:12px;min-width:680px;height:280px;padding-top:20px;display:grid}.forecast-column{text-align:center;grid-template-rows:28px 1fr 24px;gap:8px;min-width:0;display:grid}.forecast-value{text-overflow:ellipsis;white-space:nowrap;color:#475569;font-size:.72rem;font-weight:600;overflow:hidden}.forecast-bar-area{border-bottom:1px solid #cbd5e1;justify-content:center;align-items:flex-end;min-height:0;display:flex}.forecast-bar{background:#0f172a;border-radius:7px 7px 0 0;width:min(100%,42px);transition:height .18s}.forecast-column>span{color:#64748b;font-size:.78rem}.card:has(.forecast-chart){overflow-x:auto}.stock-row{border-bottom:1px solid #e2e8f0;grid-template-columns:1fr auto auto;align-items:center;gap:24px;padding:20px 0;display:grid}.stock-row p{color:#64748b;margin:6px 0 0}.stock-actions{gap:6px;display:flex}.edit-button,.remove-button{color:#64748b;background:0 0;padding:8px 12px}.backup-actions{flex-wrap:wrap;gap:12px;display:flex}.import-button{color:#334155;cursor:pointer;background:#e2e8f0;border-radius:8px;justify-content:center;align-items:center;padding:12px 18px;font-weight:600;display:inline-flex}.import-button:hover{background:#cbd5e1}.import-button input{display:none}.backup-success{color:#166534;margin:18px 0 0}.backup-error{color:#b91c1c;margin:18px 0 0}@media (width<=700px){.app{padding:40px 0}.header{flex-direction:column}.header-actions{align-items:stretch;width:100%}.currency-selector{flex:1}.currency-selector select,.install-button{width:100%}.summary-grid{grid-template-columns:1fr}.summary-card{min-height:130px}.card{padding:24px}.section-heading{flex-direction:column}.stock-form{grid-template-columns:1fr}.calendar-payment{grid-template-columns:80px 1fr;gap:10px}.calendar-payment span{grid-column:2}.stock-row{grid-template-columns:1fr auto}.stock-actions{grid-column:1/-1;justify-self:start}.backup-actions{flex-direction:column}.backup-actions button,.import-button{width:100%}}.watchlist-card{overflow:hidden}.watchlist-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.watchlist-heading h2{margin-bottom:8px}.watchlist-description{color:#64748b;max-width:580px;margin:0;line-height:1.6}.premium-badge{color:#4338ca;letter-spacing:.06rem;background:#eef2ff;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.72rem;font-weight:800}.watchlist-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;margin-bottom:18px;display:grid}.watchlist-form label{color:#334155;flex-direction:column;gap:8px;font-size:.9rem;font-weight:600;display:flex}.watchlist-form input{color:#0f172a;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:12px}.watchlist-form input:focus{border-color:#0f172a;outline:2px solid #0f172a1f}.watchlist-success,.watchlist-error{border-radius:8px;margin:0 0 18px;padding:12px 14px}.watchlist-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.watchlist-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.watchlist-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;flex-direction:column;gap:5px;padding:22px;display:flex}.watchlist-empty strong{color:#0f172a}.watchlist-empty span{color:#64748b}.watchlist-list{flex-direction:column;display:flex}.watchlist-item{border-bottom:1px solid #e2e8f0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 0;display:grid}.watchlist-item:last-child{border-bottom:0}.watchlist-symbol{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex;overflow:hidden}.watchlist-symbol img{object-fit:contain;width:100%;height:100%;padding:5px}.watchlist-symbol span{color:#475569;justify-content:center;align-items:center;width:100%;height:100%;font-size:.72rem;font-weight:800;display:flex}.watchlist-company{flex-direction:column;gap:3px;min-width:0;display:flex}.watchlist-company strong{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.watchlist-company>span{color:#64748b;font-size:.84rem;font-weight:700}.watchlist-company small{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.watchlist-remove{color:#64748b;background:0 0;padding:8px 12px}.watchlist-remove:hover{color:#b91c1c;background:#fef2f2}@media (width<=700px){.watchlist-heading{flex-direction:column}.watchlist-form{grid-template-columns:1fr}.watchlist-form button{width:100%}.watchlist-item{grid-template-columns:42px minmax(0,1fr);align-items:start;padding:16px 0}.watchlist-remove{grid-column:1/-1;width:100%;margin-top:2px}.watchlist-company strong,.watchlist-company small{white-space:normal}}.goal-card{position:relative}.goal-card-reached{background:linear-gradient(135deg,#f0fdf4bf,#fff 55%);border-color:#bbf7d0}.goal-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.goal-heading h2{margin-bottom:0}.goal-edit-button{color:#475569;background:#fff;border:1px solid #cbd5e1;flex-shrink:0;padding:9px 13px}.goal-edit-button:hover{color:#0f172a;background:#f8fafc;border-color:#0f172a}.goal-values{grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:26px;display:grid}.goal-values>div{flex-direction:column;gap:7px;display:flex}.goal-values span{color:#64748b;font-size:.85rem}.goal-values strong{color:#0f172a;font-size:clamp(1.5rem,5vw,2.1rem)}.goal-progress-track{background:#e2e8f0;border-radius:999px;height:15px;overflow:hidden}.goal-progress-bar{border-radius:inherit;background:#0f172a;min-width:0;height:100%;transition:width .25s}.goal-card-reached .goal-progress-bar{background:#15803d}.goal-progress-details{justify-content:space-between;align-items:center;gap:18px;margin-top:12px;display:flex}.goal-progress-details strong{color:#0f172a}.goal-progress-details span{text-align:right;color:#64748b}.goal-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;flex-direction:column;gap:4px;margin-top:22px;padding:16px 18px;display:flex}.goal-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;display:grid}.goal-form label{color:#334155;flex-direction:column;gap:8px;font-size:.9rem;font-weight:600;display:flex}.goal-form input{color:#0f172a;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:12px}.goal-form input:focus{border-color:#0f172a;outline:2px solid #0f172a1f}.goal-form-actions{gap:10px;display:flex}.goal-cancel-button{color:#334155;background:#e2e8f0}.goal-cancel-button:hover{background:#cbd5e1}@media (width<=700px){.goal-heading{flex-direction:column}.goal-edit-button{width:100%}.goal-values{grid-template-columns:1fr}.goal-progress-details{flex-direction:column;align-items:flex-start}.goal-progress-details span{text-align:left}.goal-form{grid-template-columns:1fr}.goal-form-actions{flex-direction:column}.goal-form-actions button{width:100%}}.calendar-list{gap:14px;display:grid}.calendar-month{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.calendar-month-header{background:#f8fafc;justify-content:space-between;align-items:center;gap:20px;padding:17px 20px;display:flex}.calendar-month-header h3{color:#0f172a;margin:0;font-size:1rem}.calendar-month-header span{color:#64748b;margin-top:4px;font-size:.8rem;display:block}.calendar-month-header>strong{color:#0f172a}.calendar-payments{flex-direction:column;display:flex}.calendar-payment{border-top:1px solid #e2e8f0;grid-template-columns:100px 1fr auto;align-items:center;gap:18px;padding:14px 20px;display:grid}.calendar-payment time{color:#64748b}.calendar-payment strong{color:#0f172a}.calendar-payment span{color:#0f172a;font-weight:700}.calendar-empty{color:#94a3b8;border-top:1px solid #e2e8f0;margin:0;padding:15px 20px}@media (width<=700px){.calendar-payment{grid-template-columns:80px 1fr;gap:10px}.calendar-payment span{grid-column:2}}.calendar-company{flex-direction:column;gap:2px;min-width:0;display:flex}.calendar-company strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.calendar-company small{color:#94a3b8}.calendar-company-wrap{align-items:center;gap:10px;min-width:0;display:flex}.calendar-company-logo{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:.7rem;font-weight:800;display:flex;overflow:hidden}.calendar-company-logo img{object-fit:contain;width:100%;height:100%;padding:5px}.health-reasons{border-top:1px solid #e8edf7;margin-top:1.5rem;padding-top:1.25rem}.health-reasons h4{color:#0f172a;margin:0 0 .75rem;font-size:.9rem}.health-reasons ul{margin:0 0 1.25rem;padding:0;list-style:none}.health-reasons li{color:#475569;margin-bottom:.55rem;font-size:.92rem;line-height:1.4}.health-reasons li:last-child{margin-bottom:0}.health-card{background:linear-gradient(#fff 0%,#f8fafc 100%);border:1px solid #e8edf5;border-radius:22px;margin-top:1.5rem;padding:1.75rem;box-shadow:0 14px 32px #0f172a14}.health-top{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem;display:flex}.health-eyebrow{color:#2563eb;letter-spacing:.14em;margin:0;font-size:.72rem;font-weight:700}.health-top h3{color:#0f172a;margin:.4rem 0 .5rem;font-size:1.45rem;line-height:1.2}.health-summary{color:#64748b;max-width:320px;margin:0;font-size:.93rem;line-height:1.55}.health-circle{color:#fff;background:linear-gradient(135deg,#22c55e,#15803d);border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:105px;height:105px;display:flex;box-shadow:0 16px 34px #22c55e59}.health-circle span{font-size:2.35rem;font-weight:700;line-height:1}.health-circle small{opacity:.9;margin-top:.2rem;font-size:.82rem}.health-bars{flex-direction:column;gap:.85rem;display:flex}.health-row{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:.85rem 0;display:flex}.health-row:last-child{border-bottom:none}.health-row span{color:#475569;font-weight:600}.health-row strong{color:#16a34a;font-size:1.05rem}.locked{text-align:center}.locked-icon{margin-bottom:1rem;font-size:3rem}.locked h3{color:#0f172a;margin:.5rem 0;font-size:1.5rem}.locked-description{color:#64748b;max-width:340px;margin:0 auto 1.8rem;line-height:1.65}.unlock-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:999px;padding:.95rem 1.8rem;font-size:.95rem;font-weight:700;transition:all .2s}.unlock-button:hover{transform:translateY(-2px);box-shadow:0 12px 28px #2563eb47}.unlock-button:active{transform:translateY(0)}@media (width<=700px){.health-top{text-align:center;flex-direction:column;align-items:center}.health-summary{max-width:100%}.health-circle{margin-top:.5rem}}.dividend-risk-card{background:linear-gradient(#fff,#f8fafc);border:1px solid #dbe4ef;border-radius:18px;gap:1.4rem;margin-top:16px;padding:1.5rem;display:grid}.dividend-risk-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.dividend-risk-eyebrow{color:#2563eb;letter-spacing:.12em;margin:0;font-size:.72rem;font-weight:800}.dividend-risk-header h3{color:#0f172a;margin:.4rem 0 .5rem;font-size:1.35rem}.dividend-risk-header p:last-child{color:#64748b;max-width:620px;margin:0;line-height:1.6}.dividend-risk-score{color:#fff;text-align:center;background:linear-gradient(135deg,#0f172a,#334155);border-radius:50%;flex-shrink:0;place-content:center;width:96px;height:96px;display:grid}.dividend-risk-score strong{font-size:2rem;line-height:1}.dividend-risk-score span{opacity:.8;margin-top:3px;font-size:.8rem}.dividend-risk-metrics{gap:.9rem;display:grid}.dividend-risk-metric>div:first-child{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.4rem;display:flex}.dividend-risk-metric span{color:#475569;font-weight:700}.dividend-risk-metric strong{color:#0f172a}.dividend-risk-track{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.dividend-risk-track span{border-radius:inherit;background:linear-gradient(90deg,#22c55e,#15803d);height:100%;display:block}.dividend-risk-reasons{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.dividend-risk-reasons>div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1rem}.dividend-risk-reasons h4{color:#0f172a;margin:0 0 .75rem}.dividend-risk-reasons ul{margin:0;padding:0;list-style:none}.dividend-risk-reasons li,.dividend-risk-reasons p{color:#64748b;margin:0 0 .55rem;line-height:1.5}.dividend-risk-reasons li:last-child,.dividend-risk-reasons p:last-child{margin-bottom:0}@media (width<=700px){.dividend-risk-header{flex-direction:column}.dividend-risk-reasons{grid-template-columns:1fr}}.dividend-history-card{background:linear-gradient(#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:18px;gap:1.25rem;margin-top:1.5rem;padding:1.5rem;display:grid}.dividend-history-header{justify-content:space-between;align-items:flex-start;gap:1.25rem;display:flex}.dividend-history-eyebrow{color:#2563eb;letter-spacing:.12em;margin:0;font-size:.72rem;font-weight:800}.dividend-history-header h3{color:#0f172a;margin:.4rem 0 .45rem;font-size:1.15rem}.dividend-history-header p:last-child{color:#64748b;margin:0;font-size:.88rem;line-height:1.5}.dividend-history-badge{color:#92400e;background:#fef3c7;border-radius:999px;flex-shrink:0;padding:.55rem .75rem;font-size:.75rem;font-weight:800}.dividend-history-badge.neutral{color:#475569;background:#e2e8f0}.dividend-history-list{display:grid}.dividend-history-row{border-bottom:1px solid #e2e8f0;grid-template-columns:70px minmax(0,1fr) 28px;align-items:center;gap:.75rem;padding:.72rem 0;display:grid}.dividend-history-row:last-child{border-bottom:0}.dividend-history-row strong{color:#0f172a}.dividend-history-row>span{color:#334155;font-weight:700}.dividend-history-row small{color:#16a34a;text-align:right;font-weight:900}@media (width<=700px){.dividend-history-header{flex-direction:column}}.empty-message{color:#64748b;margin-bottom:0}.portfolio-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem;display:flex}.portfolio-heading h2{margin:.3rem 0 0}.portfolio-count{color:#475569;background:#f1f5f9;border-radius:999px;padding:.45rem .7rem;font-size:.82rem;font-weight:700}.stock-list{flex-direction:column;display:flex}.stock-row{border-bottom:1px solid #e2e8f0;padding:22px 0}.stock-row:last-child{border-bottom:0}.stock-main-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:24px;display:grid}.portfolio-company-block{align-items:flex-start;gap:14px;min-width:0;display:flex}.portfolio-company-details{min-width:0}.portfolio-company-details>strong{color:#0f172a;font-size:1rem;display:block}.portfolio-ticker{letter-spacing:.04rem;margin:3px 0 0;font-size:.82rem;font-weight:700;color:#94a3b8!important}.portfolio-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 18px;margin-top:10px;display:grid}.portfolio-meta-grid p{color:#64748b;margin:0;font-size:.9rem;line-height:1.4}.portfolio-logo{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:.75rem;font-weight:800;display:flex;overflow:hidden}.portfolio-logo img{object-fit:contain;width:100%;height:100%;padding:6px}.stock-income{text-align:right;flex-direction:column;display:flex}.stock-income strong{color:#0f172a}.stock-income span{color:#64748b;margin-top:4px;font-size:.85rem}.stock-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.analysis-button,.edit-button,.remove-button{cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 12px;font-weight:700}.analysis-button{color:#fff;background:#0f172a}.analysis-button:hover{background:#1e293b}.edit-button{color:#64748b}.edit-button:hover{color:#0f172a;background:#f1f5f9}.remove-button{color:#64748b}.remove-button:hover{color:#b91c1c;background:#fef2f2}.stock-analysis-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;margin-top:18px;padding:18px}.stock-analysis-panel .health-card,.stock-analysis-panel .dividend-history-card{margin-top:0}.stock-analysis-panel .dividend-history-card{margin-top:16px}@media (width<=900px){.stock-main-row{grid-template-columns:minmax(0,1fr) auto}.stock-actions{grid-column:1/-1;justify-content:flex-start;padding-left:66px}}@media (width<=700px){.portfolio-heading{align-items:flex-start}.stock-main-row,.portfolio-meta-grid{grid-template-columns:1fr}.stock-income{text-align:left;padding-left:66px}.stock-actions{padding-left:66px}.analysis-button{width:100%}.stock-analysis-panel{padding:12px}}.stock-form-card{padding:0}.stock-form-toggle{color:#0f172a;text-align:left;background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:22px 26px;display:flex}.stock-form-toggle:hover{background:#f8fafc}.stock-form-toggle:disabled{cursor:default;opacity:1}.stock-form-toggle-open{border-bottom:1px solid #e2e8f0;border-radius:16px 16px 0 0}.stock-form-toggle-main{align-items:center;gap:12px;font-size:1.08rem;font-weight:700;display:inline-flex}.stock-form-toggle-icon{color:#fff;background:#0f172a;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;font-size:1.2rem;line-height:1;display:inline-flex}.stock-form-content{padding:26px}.form-note{color:#64748b;margin:0 0 24px}.stock-counter{color:#475569;background:#f1f5f9;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.78rem;font-weight:700}.limit-message{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;flex-direction:column;gap:4px;margin-bottom:22px;padding:16px 18px;display:flex}.limit-message span{font-size:.9rem}.stock-form{grid-template-columns:repeat(3,1fr);align-items:end;gap:16px;display:grid}.stock-form label{color:#334155;flex-direction:column;gap:8px;font-size:.9rem;font-weight:600;display:flex}.stock-form input,.stock-form select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:12px}.stock-form input:focus,.stock-form select:focus{border-color:#0f172a;outline:2px solid #0f172a1f}.company-result,.lookup-error{grid-column:1/-1;margin:0}.company-result{color:#166534;font-weight:600}.lookup-error{color:#b91c1c}.form-actions{grid-column:1/-1;gap:12px;display:flex}.cancel-button{color:#334155;background:#e2e8f0}.cancel-button:hover{background:#cbd5e1}@media (width<=700px){.stock-form-toggle{flex-direction:column;align-items:flex-start}.stock-form-content{padding:22px}.stock-form{grid-template-columns:1fr}}.upcoming-payments-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.upcoming-payments-heading h2{margin-bottom:0}.upcoming-payments-count{color:#475569;background:#f1f5f9;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.78rem;font-weight:700}.upcoming-payments-list{flex-direction:column;display:flex}.upcoming-payment{border-bottom:1px solid #e2e8f0;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:20px;padding:18px 0;display:grid}.upcoming-payment:last-child{border-bottom:0}.payment-timing{align-items:center;gap:9px;font-size:.82rem;display:inline-flex}.payment-timing-dot{background:currentColor;border-radius:999px;flex-shrink:0;width:10px;height:10px}.payment-timing-now{color:#15803d}.payment-timing-soon{color:#a16207}.payment-timing-later{color:#64748b}.payment-company{flex-direction:column;gap:4px;min-width:0;display:flex}.payment-company strong{color:#0f172a}.payment-company span{color:#64748b}.payment-amount{text-align:right;flex-direction:column;gap:4px;display:flex}.payment-amount strong{color:#0f172a}.payment-amount span{color:#64748b;font-size:.8rem}.upcoming-payments-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;flex-direction:column;gap:5px;padding:22px;display:flex}.upcoming-payments-empty strong{color:#0f172a}.upcoming-payments-empty span{color:#64748b}@media (width<=700px){.upcoming-payments-heading{flex-direction:column}.upcoming-payment{grid-template-columns:1fr auto}.payment-timing{grid-column:1/-1}}.payment-company-wrap{align-items:center;gap:12px;min-width:0;display:flex}.payment-company-logo{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:.72rem;font-weight:800;display:flex;overflow:hidden}.payment-company-logo img{object-fit:contain;width:100%;height:100%;padding:5px}.ex-dividend-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.ex-dividend-heading h2{margin-bottom:8px}.ex-dividend-heading p:last-child{color:#64748b;max-width:580px;margin:0;line-height:1.6}.ex-dividend-count{color:#475569;background:#f1f5f9;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.78rem;font-weight:700}.ex-dividend-list{flex-direction:column;display:flex}.ex-dividend-item{border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(120px,1fr) minmax(125px,auto) minmax(125px,auto) auto;align-items:center;gap:20px;padding:18px 0;display:grid}.ex-dividend-item:last-child{border-bottom:0}.ex-dividend-company,.ex-dividend-date{flex-direction:column;gap:4px;display:flex}.ex-dividend-company strong,.ex-dividend-date strong{color:#0f172a}.ex-dividend-company span,.ex-dividend-date span{color:#64748b;font-size:.82rem}.ex-dividend-status{white-space:nowrap;border-radius:999px;padding:7px 10px;font-size:.75rem;font-weight:800}.ex-status-upcoming{color:#1d4ed8;background:#eff6ff}.ex-status-soon{color:#a16207;background:#fffbeb}.ex-status-today{color:#15803d;background:#f0fdf4}.ex-status-passed{color:#64748b;background:#f1f5f9}.ex-dividend-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;flex-direction:column;gap:5px;padding:22px;display:flex}.ex-dividend-empty strong{color:#0f172a}.ex-dividend-empty span{color:#64748b}.ex-dividend-note{color:#94a3b8;border-top:1px solid #e2e8f0;margin:22px 0 0;padding-top:18px;font-size:.82rem;line-height:1.6}@media (width<=700px){.ex-dividend-heading{flex-direction:column}.ex-dividend-item{grid-template-columns:1fr 1fr}.ex-dividend-company,.ex-dividend-status{grid-column:1/-1}.ex-dividend-status{justify-self:start}}.ex-dividend-ticker{letter-spacing:.04rem;font-weight:700;color:#94a3b8!important}.ex-dividend-company-wrap{align-items:center;gap:12px;min-width:0;display:flex}.ex-dividend-company-logo{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:.72rem;font-weight:800;display:flex;overflow:hidden}.ex-dividend-company-logo img{object-fit:contain;width:100%;height:100%;padding:5px}.premium-card{color:#fff;background:linear-gradient(135deg,#0f172a 0%,#172554 100%);border-color:#cbd5e1}.premium-card h2{color:#fff;margin-bottom:10px}.premium-card .section-eyebrow{color:#93c5fd}.premium-card-content{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.premium-card-description{color:#cbd5e1;max-width:590px;margin:0;line-height:1.6}.premium-card-badge{letter-spacing:.08rem;color:#fff;background:#ffffff1a;border:1px solid #ffffff2e;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.7rem;font-weight:800}.premium-benefits{grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0;display:grid}.premium-benefits>div{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:12px;gap:11px;padding:16px;display:flex}.premium-benefits p{flex-direction:column;gap:4px;margin:0;display:flex}.premium-benefits strong{color:#fff}.premium-benefits p span{color:#cbd5e1;font-size:.83rem}.premium-check{color:#1d4ed8;background:#dbeafe;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-weight:800;display:flex}.premium-card-footer{border-top:1px solid #ffffff1f;justify-content:space-between;align-items:center;gap:20px;padding-top:22px;display:flex}.premium-card-footer>div{flex-direction:column;gap:4px;display:flex}.premium-card-footer strong{color:#fff}.premium-card-footer span{color:#cbd5e1;font-size:.85rem}.premium-card-footer button{color:#0f172a;background:#fff}.premium-card-footer button:disabled{cursor:default;opacity:.9}@media (width<=700px){.premium-card-content,.premium-card-footer{flex-direction:column;align-items:flex-start}.premium-benefits{grid-template-columns:1fr}.premium-card-footer button{width:100%}}.csv-import-card{gap:1.25rem;display:grid}.csv-import-heading{justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.csv-import-heading h2{margin:.35rem 0 .6rem}.csv-import-heading p:last-child{color:#64748b;max-width:680px;margin:0;line-height:1.6}.csv-format{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;gap:.45rem;padding:1rem 1.1rem;display:grid}.csv-format code{color:#0f172a;background:#e2e8f0;border-radius:8px;width:fit-content;padding:.35rem .55rem;font-size:.88rem}.csv-format span{color:#64748b;font-size:.9rem}.csv-import-button{color:#fff;cursor:pointer;background:#0f172a;border-radius:10px;justify-content:center;align-items:center;width:fit-content;padding:.9rem 1.25rem;font-weight:700;display:inline-flex}.csv-import-button input{display:none}.csv-import-progress,.csv-import-success,.csv-import-error{margin:0;font-weight:600}.csv-import-progress{color:#475569}.csv-import-success{color:#15803d}.csv-import-error{color:#b91c1c}@media (width<=700px){.csv-import-heading{flex-direction:column}.csv-import-button{width:100%}}.portfolio-health-card{border-color:#cbd5e1;gap:1.25rem;display:grid}.portfolio-health-summary{justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.portfolio-health-summary h2{margin:.35rem 0 .55rem}.portfolio-health-description,.portfolio-health-error{max-width:680px;margin:0;line-height:1.6}.portfolio-health-description{color:#64748b}.portfolio-health-error{color:#b91c1c}.portfolio-health-score{color:#fff;text-align:center;background:linear-gradient(135deg,#16a34a,#166534);border-radius:50%;flex-shrink:0;place-content:center;width:112px;height:112px;display:grid;box-shadow:0 16px 36px #16a34a40}.portfolio-health-score strong{font-size:2rem;line-height:1}.portfolio-health-score>span{opacity:.85;margin-top:2px;font-size:.78rem}.portfolio-health-score small{margin-top:5px;font-size:.75rem;font-weight:800}.portfolio-health-toggle{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.9rem 1rem;display:flex}.portfolio-health-toggle strong{color:#0f172a}.portfolio-health-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.portfolio-health-column{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:1rem}.portfolio-health-column h3{color:#0f172a;margin:0 0 .8rem;font-size:1rem}.portfolio-health-position{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 0;display:flex}.portfolio-health-position:last-child{border-bottom:0}.portfolio-health-position>div{flex-direction:column;gap:2px;min-width:0;display:flex}.portfolio-health-position span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;overflow:hidden}.portfolio-health-position b{color:#16a34a;font-size:1.05rem}.portfolio-health-empty{color:#64748b;margin:0;line-height:1.5}@media (width<=700px){.portfolio-health-summary{flex-direction:column;align-items:flex-start}.portfolio-health-details{grid-template-columns:1fr}.portfolio-health-toggle{flex-direction:column;align-items:flex-start}}.opportunities-card{gap:1.25rem;display:grid}.opportunities-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.opportunities-header h2{margin:.35rem 0 .55rem}.opportunities-header p:last-child{color:#64748b;max-width:680px;margin:0;line-height:1.6}.opportunities-status,.opportunities-error{margin:0;font-weight:600}.opportunities-status{color:#64748b}.opportunities-error{color:#b91c1c}.opportunities-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.opportunities-overview>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;gap:.2rem;padding:1rem;display:grid}.opportunities-overview strong{color:#0f172a;font-size:1.35rem}.opportunities-overview span{color:#64748b;font-size:.85rem}.opportunities-toggle{color:#fff;cursor:pointer;text-align:left;background:#0f172a;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.9rem 1rem;display:flex}.opportunities-toggle strong{flex-shrink:0}.opportunities-list{display:grid}.opportunity-item{border-bottom:1px solid #e2e8f0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem 0;display:grid}.opportunity-item:last-child{border-bottom:0}.opportunity-symbol{color:#475569;background:#e2e8f0;border-radius:12px;place-content:center;width:44px;height:44px;font-size:.75rem;font-weight:900;display:grid}.opportunity-increase .opportunity-symbol{color:#166534;background:#dcfce7}.opportunity-cut .opportunity-symbol{color:#991b1b;background:#fee2e2}.opportunity-main{min-width:0}.opportunity-main>div{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.opportunity-main p{color:#334155;margin:.35rem 0 .25rem;font-weight:700}.opportunity-main small{color:#64748b}.opportunity-type{color:#475569;background:#f1f5f9;border-radius:999px;padding:.25rem .45rem;font-size:.72rem;font-weight:800}.opportunity-increase .opportunity-type{color:#166534;background:#dcfce7}.opportunity-cut .opportunity-type{color:#991b1b;background:#fee2e2}.opportunity-change{text-align:right;flex-direction:column;display:flex}.opportunity-change strong{color:#0f172a;font-size:1.05rem}.opportunity-increase .opportunity-change strong{color:#15803d}.opportunity-cut .opportunity-change strong{color:#b91c1c}.opportunity-change span{color:#64748b;margin-top:.25rem;font-size:.8rem}@media (width<=700px){.opportunities-header{flex-direction:column}.opportunities-overview{grid-template-columns:1fr}.opportunities-toggle{flex-direction:column;align-items:flex-start}.opportunity-item{grid-template-columns:auto minmax(0,1fr)}.opportunity-change{text-align:left;grid-column:2}}.ai-summary-card{background:radial-gradient(circle at 100% 0,#2563eb1a,#0000 34%),#fff;border-color:#cbd5e1;gap:1.2rem;display:grid;overflow:hidden}.ai-summary-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.ai-summary-header h2{margin:.35rem 0 .55rem}.ai-summary-header>div>strong{color:#0f172a;margin-bottom:.35rem;font-size:1.1rem;display:block}.ai-summary-header p:last-child{color:#64748b;max-width:700px;margin:0;line-height:1.6}.ai-summary-badge{color:#fff;letter-spacing:.08em;background:#0f172a;border-radius:16px;flex-shrink:0;place-content:center;width:52px;height:52px;font-size:.82rem;font-weight:900;display:grid}.ai-summary-toggle{color:#475569;cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #dbe4ef;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.9rem 1rem;display:flex}.ai-summary-toggle strong{color:#0f172a}.ai-summary-content{gap:1rem;display:grid}.ai-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.ai-summary-section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1rem}.ai-summary-section h3{color:#0f172a;margin:0 0 .8rem;font-size:1rem}.ai-summary-section ul{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.ai-summary-section li,.ai-summary-section p{color:#64748b;margin:0;line-height:1.5}.ai-summary-action{color:#fff;background:#0f172a;border-radius:14px;gap:.35rem;padding:1rem;display:grid}.ai-summary-action span{color:#93c5fd;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:800}.ai-summary-action strong{line-height:1.5}.ai-summary-note{color:#94a3b8;margin:0;font-size:.78rem}@media (width<=700px){.ai-summary-header{flex-direction:column}.ai-summary-grid{grid-template-columns:1fr}.ai-summary-toggle{flex-direction:column;align-items:flex-start}}.diversification-card{gap:1.2rem;display:grid}.diversification-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.diversification-header h2{margin:.35rem 0 .5rem}.diversification-header>div:first-child>strong{color:#0f172a;margin-bottom:.35rem;font-size:1.08rem;display:block}.diversification-header p{color:#64748b;max-width:700px;margin:0;line-height:1.6}.diversification-error{color:#b91c1c!important}.diversification-score{color:#fff;text-align:center;background:linear-gradient(135deg,#2563eb,#1e3a8a);border-radius:50%;flex-shrink:0;place-content:center;width:96px;height:96px;display:grid}.diversification-score strong{font-size:1.9rem;line-height:1}.diversification-score span{opacity:.8;margin-top:3px;font-size:.78rem}.diversification-toggle{color:#475569;cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.9rem 1rem;display:flex}.diversification-toggle strong{color:#0f172a}.diversification-details{gap:1rem;display:grid}.diversification-grid,.diversification-insights{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.diversification-section,.diversification-insights>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:1rem}.diversification-section h3,.diversification-insights h3{color:#0f172a;margin:0 0 .85rem;font-size:1rem}.diversification-list{gap:.75rem;display:grid}.diversification-row>div:first-child{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.35rem;display:flex}.diversification-row span{color:#475569;text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.diversification-row strong{color:#0f172a;font-size:.85rem}.diversification-track{background:#e2e8f0;border-radius:999px;height:7px;overflow:hidden}.diversification-track span{border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#1d4ed8);height:100%;display:block}.diversification-insights ul{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.diversification-insights li,.diversification-insights p{color:#64748b;margin:0;line-height:1.5}@media (width<=700px){.diversification-header{flex-direction:column}.diversification-grid,.diversification-insights{grid-template-columns:1fr}.diversification-toggle{flex-direction:column;align-items:flex-start}}
