:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}body{color:#f0f6fc;background:#0d1117;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.app{max-width:1200px;margin:0 auto;padding:40px 24px 80px}.header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.header h1{margin:0;font-size:2.5rem}.header p{color:#8b949e;margin:8px 0 0}.header-actions{flex-wrap:wrap;gap:10px;display:flex}.refresh-button,.submit-button{color:#fff;background:#238636;border:0;border-radius:8px;padding:11px 18px}.secondary-button{color:#fff;background:#21262d;border:1px solid #30363d;border-radius:8px;padding:11px 18px}button:disabled{opacity:.55;cursor:default}.error,.success{border-radius:8px;margin-bottom:20px;padding:14px 16px}.error{color:#ffb3b8;background:#3d1519}.success{color:#56d364;background:#122a18}.portfolio-summary{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px;display:grid}.summary-card{background:#161b22;border:1px solid #30363d;border-radius:12px;padding:18px}.summary-card span{color:#8b949e;margin-bottom:7px;font-size:.85rem;display:block}.summary-card strong{font-size:1.45rem}.stock-form-section{background:#161b22;border:1px solid #30363d;border-radius:14px;margin-bottom:30px;padding:22px}.section-heading{justify-content:space-between;align-items:start;margin-bottom:20px;display:flex}.section-heading h2{margin:0}.section-heading p{color:#8b949e;margin:6px 0 0}.text-button{color:#58a6ff;background:0 0;border:0}.stock-form{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.stock-form label{color:#c9d1d9;flex-direction:column;gap:7px;font-size:.9rem;display:flex}.stock-form input,.stock-form textarea{color:#f0f6fc;background:#0d1117;border:1px solid #30363d;border-radius:7px;outline:none;width:100%;padding:11px 12px}.stock-form input:focus,.stock-form textarea:focus{border-color:#58a6ff}.notes-field{grid-column:span 2}.checkbox-label{justify-content:center}.checkbox-label input{width:auto}.submit-button{align-self:end}.stock-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;display:grid}.stock-card{background:#161b22;border:1px solid #30363d;border-radius:14px;padding:22px}.stock-heading{justify-content:space-between;gap:16px;display:flex}.stock-heading h2{margin:0;font-size:1.6rem}.stock-heading span{color:#8b949e;font-size:.9rem}.badge{white-space:nowrap;background:#30363d;border-radius:20px;height:fit-content;padding:5px 9px}.badge.active{color:#fff;background:#1f6f37}.current-price{margin:28px 0}.current-price span{color:#8b949e;margin-bottom:4px;font-size:.9rem;display:block}.current-price strong{font-size:2rem}.stats{grid-template-columns:1fr 1fr;gap:18px;display:grid}.stats div{flex-direction:column;display:flex}.stats span{color:#8b949e;font-size:.85rem}.stats strong{margin-top:3px}.positive{color:#3fb950}.negative{color:#f85149}.triggered{color:#e3b341;background:#332701;border-radius:8px;margin-top:20px;padding:10px}.notes{color:#8b949e;border-top:1px solid #30363d;margin:18px 0 0;padding-top:16px}.card-actions{gap:10px;margin-top:20px;display:flex}.edit-button,.delete-button{border-radius:7px;flex:1;padding:9px}.edit-button{color:#f0f6fc;background:#21262d;border:1px solid #30363d}.delete-button{color:#f85149;background:0 0;border:1px solid #f85149}.empty{text-align:center;color:#8b949e;padding:40px}@media (width<=800px){.header{flex-direction:column;align-items:flex-start}.portfolio-summary{grid-template-columns:repeat(2,1fr)}.stock-form{grid-template-columns:1fr}.notes-field{grid-column:span 1}}@media (width<=480px){.portfolio-summary{grid-template-columns:1fr}.header-actions{width:100%}.header-actions button{flex:1}.stats{grid-template-columns:1fr 1fr}}.auth-loading{color:#8b949e;place-items:center;min-height:100vh;display:grid}.public-page{max-width:1200px;margin:0 auto;padding:30px 24px 80px}.public-nav{justify-content:space-between;align-items:center;margin-bottom:100px;display:flex}.brand,.auth-brand{color:#f0f6fc;font-size:1.4rem;font-weight:700;text-decoration:none}.public-nav>div{align-items:center;gap:12px;display:flex}.nav-link{color:#c9d1d9;padding:10px 14px;text-decoration:none}.primary-link,.hero-primary{color:#fff;background:#238636;border-radius:8px;padding:11px 18px;text-decoration:none;display:inline-block}.hero{max-width:780px;padding-bottom:100px}.eyebrow{color:#3fb950;letter-spacing:.12em;font-size:.8rem;font-weight:700}.hero h1{margin:12px 0 20px;font-size:clamp(2.7rem,7vw,5.5rem);line-height:1}.hero-copy{color:#8b949e;max-width:650px;font-size:1.15rem;line-height:1.7}.hero-actions{gap:12px;margin-top:30px;display:flex}.hero-secondary{color:#f0f6fc;background:#161b22;border:1px solid #30363d;border-radius:8px;padding:11px 18px;text-decoration:none;display:inline-block}.market-preview{border-top:1px solid #30363d;padding-top:40px}.market-preview h2{margin-top:6px}.market-placeholder{color:#8b949e;text-align:center;border:1px dashed #30363d;border-radius:12px;margin-top:30px;padding:30px}.auth-page{flex-direction:column;align-items:center;min-height:100vh;padding:40px 20px;display:flex}.auth-brand{margin-bottom:50px}.auth-card{background:#161b22;border:1px solid #30363d;border-radius:16px;width:100%;max-width:430px;padding:30px}.auth-card h1{margin:0}.auth-card>p{color:#8b949e;margin-bottom:26px}.auth-form{flex-direction:column;gap:18px;display:flex}.auth-form label{color:#c9d1d9;flex-direction:column;gap:7px;display:flex}.auth-form input{color:#f0f6fc;background:#0d1117;border:1px solid #30363d;border-radius:8px;outline:none;padding:12px}.auth-form input:focus{border-color:#58a6ff}.auth-submit{color:#fff;background:#238636;border:0;border-radius:8px;padding:12px}.password-help{color:#8b949e}.auth-switch{text-align:center;color:#8b949e}.auth-switch a{color:#58a6ff}.session-bar{color:#8b949e;justify-content:flex-end;align-items:center;gap:14px;max-width:1200px;margin:0 auto;padding:14px 24px 0;font-size:.9rem;display:flex}.session-bar button{color:#f0f6fc;background:#21262d;border:1px solid #30363d;border-radius:7px;padding:7px 12px}@media (width<=600px){.public-nav{margin-bottom:60px}.hero{padding-bottom:70px}.hero-actions{flex-direction:column}.hero-primary,.hero-secondary{text-align:center}.session-bar{justify-content:space-between}}.market-section{border-top:1px solid #30363d;padding-top:48px;padding-bottom:80px}.market-section-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.market-section-header h2{margin:6px 0;font-size:2rem}.market-description{color:#8b949e;margin:0}.market-refresh-button{color:#f0f6fc;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;padding:9px 16px}.market-refresh-button:hover{background:#21262d}.market-refresh-button:disabled{opacity:.6;cursor:default}.market-table-wrapper{background:#0d1117;border:1px solid #30363d;border-radius:12px;width:100%;overflow-x:auto}.market-table{border-collapse:collapse;width:100%;min-width:850px}.market-table th{text-align:left;color:#8b949e;text-transform:uppercase;letter-spacing:.06em;background:#161b22;border-bottom:1px solid #30363d;padding:14px 16px;font-size:.75rem}.market-table td{color:#c9d1d9;border-bottom:1px solid #21262d;padding:16px}.market-table tbody tr:last-child td{border-bottom:none}.market-table tbody tr:hover{background:#161b22}.market-rank{width:50px;color:#8b949e!important}.market-company{flex-direction:column;gap:4px;min-width:200px;display:flex}.market-company strong{color:#f0f6fc;font-size:1rem}.market-company span{color:#8b949e;white-space:nowrap;text-overflow:ellipsis;max-width:260px;font-size:.82rem;overflow:hidden}.market-positive{font-weight:600;color:#3fb950!important}.gain-badge{color:#3fb950;background:#3fb9501a;border:1px solid #3fb95059;border-radius:999px;padding:5px 9px;font-weight:700;display:inline-block}.market-exchange{color:#8b949e!important}.market-disclaimer{color:#6e7681;margin-top:14px;font-size:.8rem}.market-error{color:#f85149;background:#f8514914;border:1px solid #da3633;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:14px 16px;display:flex}.market-error button{color:#f0f6fc;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:7px 12px}.market-empty{color:#8b949e;text-align:center;border:1px dashed #30363d;border-radius:12px;padding:50px}.market-loading{flex-direction:column;gap:10px;display:flex}.market-loading-row{background:#161b22;border:1px solid #21262d;border-radius:8px;height:62px;animation:1.3s ease-in-out infinite market-pulse}@keyframes market-pulse{0%,to{opacity:.45}50%{opacity:1}}.public-cta{background:#161b22;border:1px solid #30363d;border-radius:16px;justify-content:space-between;align-items:center;gap:30px;margin-bottom:80px;padding:40px;display:flex}.public-cta h2{margin:6px 0 12px}.public-cta p{color:#8b949e;max-width:650px;margin-bottom:0}@media (width<=700px){.market-section-header{flex-direction:column;align-items:flex-start}.market-refresh-button{width:100%}.public-cta{flex-direction:column;align-items:stretch}.public-cta .hero-primary{text-align:center}}.ticker-search-field{position:relative}.ticker-search-results{z-index:50;background:#161b22;border:1px solid #30363d;border-radius:10px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden;box-shadow:0 14px 35px #00000059}.ticker-search-result{color:#f0f6fc;text-align:left;background:0 0;border:0;border-bottom:1px solid #30363d;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:12px 14px;display:flex}.ticker-search-result:last-child{border-bottom:0}.ticker-search-result:hover{background:#21262d}.ticker-search-result>div{flex-direction:column;gap:3px;min-width:0;display:flex}.ticker-search-result strong{color:#58a6ff;font-size:.95rem}.ticker-search-result span{color:#c9d1d9;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.ticker-search-result small{color:#8b949e;flex-shrink:0}.ticker-search-status{color:#8b949e;pointer-events:none;font-size:.75rem;position:absolute;top:34px;right:10px}.dashboard-user{font-size:.85rem;color:#6e7681!important;margin-top:6px!important}.dashboard-user strong{color:#c9d1d9;font-weight:600}.logout-button{color:#f85149;background:0 0;border:1px solid #f85149;border-radius:8px;padding:11px 18px}.logout-button:hover:not(:disabled){background:#f8514914}.alert-badge-button{color:#c9d1d9;border:0;font-size:.9rem}.alert-badge-button.active{color:#fff}.ticker-search-field>label{color:#c9d1d9;flex-direction:column;gap:7px;font-size:.9rem;display:flex}.ticker-search-field>label input{color:#f0f6fc;background:#0d1117;border:1px solid #30363d;border-radius:7px;outline:none;width:100%;padding:11px 12px}.ticker-search-field>label input:focus{border-color:#58a6ff}@media (width<=480px){.logout-button{flex:1}}.stock-statuses{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.market-status{white-space:nowrap;border-radius:20px;height:fit-content;padding:5px 9px;font-size:.82rem;font-weight:600}.market-status.open{color:#3fb950;background:#3fb9501f;border:1px solid #3fb95059}.market-status.closed{color:#8b949e;background:#21262d;border:1px solid #30363d}.last-updated{color:#6e7681;margin-top:7px;font-size:.78rem;display:block}@media (width<=480px){.stock-statuses{flex-direction:column;align-items:flex-end}}
