:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background:#0a0a0f;color:#e5e5e5}.trade-list{display:flex;flex-direction:column;gap:.5rem}.trade-card{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;overflow:hidden;transition:border-color .2s}.trade-card:hover{border-color:#3a3a4e}.trade-card.has-error{border-color:#7f1d1d}.trade-card.expanded{border-color:#3b82f6}.trade-header{display:flex;align-items:center;padding:1rem;cursor:pointer;gap:1rem}.trade-time{font-size:.875rem;color:#888;min-width:100px}.trade-signal{display:flex;gap:.5rem}.badge{padding:.25rem .625rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.badge-long{background:#22c55e26;color:#4ade80}.badge-short{background:#ef444426;color:#f87171}.badge-hold{background:#9ca3af26;color:#9ca3af}.badge-error{background:#ef444426;color:#f87171}.badge-unknown{background:#9ca3af1a;color:#6b7280}.badge-executed{border:1px solid currentColor}.trade-metrics{display:flex;gap:1rem;margin-left:auto;font-size:.8rem}.trade-metrics span{color:#666}.fidelity{font-weight:500}.fidelity-high{color:#4ade80!important}.fidelity-medium{color:#fbbf24!important}.fidelity-low{color:#f87171!important}.expand-icon{color:#666;font-size:1.25rem;font-weight:300;margin-left:.5rem}.trade-details{padding:0 1rem 1rem;border-top:1px solid #2a2a3e}.error-content{padding:1rem;color:#f87171;font-size:.875rem}.detail-section{padding:1rem 0;border-bottom:1px solid #1a1a24}.detail-section:last-child{border-bottom:none}.detail-section h4{margin:0 0 .75rem;font-size:.75rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.05em}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem}.detail-grid label{display:block;font-size:.7rem;color:#666;margin-bottom:.25rem;text-transform:uppercase}.detail-grid span{font-size:.9rem;color:#e5e5e5}.reasoning{font-size:.875rem;line-height:1.6;color:#aaa;margin:0}.detail-section code{font-family:SF Mono,Monaco,monospace;font-size:.8rem;background:#0a0a0f;padding:.25rem .5rem;border-radius:4px;color:#60a5fa}@media(max-width:768px){.trade-header{flex-wrap:wrap;padding:.75rem;gap:.5rem}.trade-time{font-size:.8rem;min-width:auto}.trade-metrics{width:100%;margin-left:0;margin-top:.5rem;flex-wrap:wrap;gap:.75rem}.trade-metrics span{font-size:.75rem}.expand-icon{position:absolute;right:.75rem;top:.75rem}.trade-card{position:relative}.badge{font-size:.7rem;padding:.2rem .5rem}}@media(max-width:480px){.trade-header{padding:.6rem;gap:.4rem}.trade-time{font-size:.75rem}.trade-signal{gap:.3rem}.badge{font-size:.65rem;padding:.15rem .4rem}.trade-metrics{gap:.5rem}.trade-metrics span{font-size:.7rem}.trade-details{padding:0 .6rem .6rem}.detail-section{padding:.75rem 0}.detail-section h4{font-size:.7rem;margin-bottom:.5rem}.detail-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.detail-grid label{font-size:.65rem}.detail-grid span{font-size:.8rem}.reasoning{font-size:.8rem;line-height:1.5}}.live-equity-chart{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;overflow:hidden}.live-equity-chart.loading,.live-equity-chart.error,.live-equity-chart.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;color:#888}.live-equity-chart.error button{margin-top:.5rem;padding:.4rem .8rem;background:#60a5fa;color:#fff;border:none;border-radius:4px;cursor:pointer}.live-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px;background:#2a2a3e;border-bottom:1px solid #2a2a3e}.live-summary .summary-item{display:flex;padding:.75rem 1rem;background:#16161f}.live-summary .summary-content{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}.live-summary .summary-header{display:flex;justify-content:space-between;align-items:baseline}.live-summary .label{font-size:.65rem;color:#666;text-transform:uppercase;letter-spacing:.03em}.live-summary .adjusted-badge{color:#60a5fa;margin-left:2px;font-size:.7rem;cursor:help}.live-summary .change{font-size:.7rem}.live-summary .change.positive{color:#4ade80}.live-summary .change.negative{color:#f87171}.live-summary .value{font-size:.85rem;color:#e5e5e5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-summary .value.portfolio{color:#60a5fa;font-weight:600}.live-summary .value.btc{color:#f59e0b;font-weight:600}.live-summary .value.positive{color:#4ade80;font-weight:600}.live-summary .value.negative{color:#f87171;font-weight:600}.chart-container{padding:1rem;background:#16161f}.chart-container:focus,.chart-container *:focus,.recharts-wrapper:focus,.recharts-surface:focus{outline:none;box-shadow:none}.live-tooltip{background:#16161ff2;border:1px solid #2a2a3e;border-radius:6px;padding:.6rem;font-size:.8rem}.live-tooltip p{margin:.2rem 0}.live-tooltip .tooltip-time{color:#666;font-size:.75rem;border-bottom:1px solid #2a2a3e;padding-bottom:.3rem;margin-bottom:.3rem}.live-tooltip .positive{color:#4ade80}.live-tooltip .negative{color:#f87171}.chart-footer{display:flex;justify-content:space-between;padding:.5rem 1rem;font-size:.7rem;color:#555;border-top:1px solid #2a2a3e}@media(max-width:768px){.live-summary{grid-template-columns:repeat(4,1fr)}.live-summary .summary-item{padding:.6rem .75rem}.live-summary .label{font-size:.6rem}.live-summary .value{font-size:.75rem}.live-summary .change{font-size:.65rem}}@media(max-width:480px){.live-summary{grid-template-columns:repeat(2,1fr)}.live-summary .summary-item{padding:.5rem .6rem}.live-summary .label{font-size:.55rem}.live-summary .value{font-size:.7rem}}.forecast-chart{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;overflow:hidden}.accuracy-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px;background:#2a2a3e;border-bottom:1px solid #2a2a3e}.accuracy-item{display:flex;flex-direction:column;padding:.75rem 1rem;background:#16161f}.accuracy-content{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.15rem}.accuracy-label{font-size:.65rem;color:#666;text-transform:uppercase;letter-spacing:.03em}.accuracy-value{font-size:.85rem;font-weight:600;color:#e5e5e5;font-variant-numeric:tabular-nums}.accuracy-value.positive{color:#4ade80}.accuracy-value.negative{color:#f87171}.accuracy-detail{font-size:.65rem;color:#555}.forecast-chart .chart-container{padding:1rem;background:#16161f}.chart-placeholder{height:250px;display:flex;align-items:center;justify-content:center;background:#16161f;border:1px solid #2a2a3e;border-radius:8px;color:#666}.forecast-tooltip{background:#1a1a24;border:1px solid #2a2a3e;border-radius:6px;padding:.75rem 1rem;box-shadow:0 4px 12px #0000004d}.forecast-tooltip p{margin:.25rem 0;font-size:.85rem;color:#ccc}.forecast-tooltip .tooltip-time{margin-bottom:.5rem;font-size:.8rem;color:#888}.forecast-tooltip .tooltip-forecast strong.positive{color:#4ade80}.forecast-tooltip .tooltip-forecast strong.negative{color:#f87171}.forecast-tooltip .tooltip-fidelity strong.high{color:#4ade80}.forecast-tooltip .tooltip-fidelity strong.low,.forecast-tooltip .tooltip-actual strong.positive,.forecast-tooltip .tooltip-actual strong.negative{color:#f59e0b}.forecast-tooltip .tooltip-accuracy strong.correct{color:#4ade80}.forecast-tooltip .tooltip-accuracy strong.wrong{color:#f87171}.forecast-tooltip .tooltip-signal strong.positive{color:#4ade80}.forecast-tooltip .tooltip-signal strong.negative{color:#f87171}.forecast-tooltip .tooltip-executed-badge{display:inline-block;margin-left:.5rem;padding:.1rem .4rem;background:#4ade8033;border:1px solid #4ade80;border-radius:3px;font-size:.65rem;color:#4ade80;font-weight:600;text-transform:uppercase}.forecast-tooltip .tooltip-price{color:#888;font-size:.8rem}.forecast-tooltip .tooltip-price strong{color:#e5e5e5}.forecast-tooltip .tooltip-pending strong{color:#888}.forecast-tooltip .tooltip-result strong.correct{color:#4ade80}.forecast-tooltip .tooltip-result strong.wrong{color:#f87171}.forecast-tooltip .tooltip-result-detail{font-size:.75rem;color:#666}.forecast-tooltip .tooltip-fidelity-note{font-size:.7rem;color:#f59e0b}.forecast-tooltip .tooltip-executed{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #2a2a3e;color:#4ade80;font-weight:600}.forecast-legend{display:flex;justify-content:center;gap:1.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #2a2a3e}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#888}.legend-item .dot{width:10px;height:10px;border-radius:50%}.legend-item .dot.executed-long{background:#4ade80;border:2px solid #fff}.legend-item .dot.executed-short{background:#f87171;border:2px solid #fff}.legend-item .dot.hold{background:#60a5fa}.forecast-chart .recharts-legend-item-text{color:#888!important;font-size:.75rem}.forecast-chart .chart-container:focus,.forecast-chart .chart-container *:focus,.forecast-chart .recharts-wrapper:focus,.forecast-chart .recharts-surface:focus{outline:none;box-shadow:none}@media(max-width:768px){.forecast-chart .chart-container{padding:.75rem}.accuracy-summary{grid-template-columns:repeat(4,1fr)}.accuracy-item{padding:.6rem .75rem}.accuracy-label{font-size:.6rem}.accuracy-value{font-size:.75rem}.accuracy-detail{font-size:.6rem}.forecast-legend{gap:1rem;flex-wrap:wrap}.legend-item{font-size:.7rem}}@media(max-width:480px){.forecast-chart .chart-container{padding:.5rem}.accuracy-summary{grid-template-columns:repeat(2,1fr)}.accuracy-item{padding:.5rem .6rem}.accuracy-label{font-size:.55rem}.accuracy-value{font-size:.7rem}.accuracy-detail{font-size:.55rem}.forecast-legend{gap:.75rem}}.status-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px;background:#2a2a3e;border-bottom:1px solid #2a2a3e}.status-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#16161f}.status-indicator{width:10px;height:10px;border-radius:50%;flex-shrink:0;animation:pulse 2s infinite}.status-active{background:#4ade80;box-shadow:0 0 8px #4ade8080}.status-ready{background:#3b82f6;box-shadow:0 0 8px #3b82f680}.status-waiting{background:#fbbf24;box-shadow:0 0 8px #fbbf2480}.status-unknown{background:#6b7280}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.status-content{display:flex;flex-direction:column;gap:.15rem;min-width:0}.status-label{font-size:.65rem;color:#666;text-transform:uppercase;letter-spacing:.03em}.status-value{font-size:.85rem;color:#e5e5e5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-value.highlight{color:#4ade80}.status-value.btc-price{color:#f59e0b;font-weight:600}.status-value.portfolio-value{color:#60a5fa;font-weight:600}.status-item.countdown{background:linear-gradient(135deg,#1a1a2e,#16161f);border-left:2px solid #8b5cf6}.status-value.countdown-value{color:#8b5cf6;font-weight:700;font-family:Courier New,monospace;font-size:.9rem}@media(max-width:768px){.status-bar{grid-template-columns:repeat(4,1fr)}.status-item{padding:.6rem .75rem;gap:.5rem}.status-indicator{width:8px;height:8px}.status-label{font-size:.6rem}.status-value{font-size:.75rem}}@media(max-width:480px){.status-bar{grid-template-columns:repeat(2,1fr)}.status-item{padding:.5rem .6rem;gap:.4rem}.status-indicator{width:6px;height:6px}.status-label{font-size:.55rem}.status-value{font-size:.7rem}}.metrics-panel{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;padding:1rem}.metrics-placeholder{padding:3rem;text-align:center;color:#666}.metrics-placeholder .sub{font-size:.85rem;margin-top:.5rem;color:#555}.metrics-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.metrics-table-container{background:#1a1a24;border-radius:6px;overflow:hidden}.metrics-table-container h3{margin:0;padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.05em;background:#16161f;border-bottom:1px solid #2a2a3e}.metrics-table{width:100%;border-collapse:collapse}.metrics-table tbody tr{border-bottom:1px solid #2a2a3e}.metrics-table tbody tr:last-child{border-bottom:none}.metrics-table tbody tr:hover{background:#222230}.metrics-table tbody tr[title]{cursor:help}.metrics-table td{padding:.6rem 1rem;font-size:.85rem}.metrics-table .metric-label{color:#888}.metrics-table .metric-value{text-align:right;font-weight:500;color:#e5e5e5;font-variant-numeric:tabular-nums}.metrics-table tr.positive .metric-value{color:#4ade80}.metrics-table tr.negative .metric-value{color:#f87171}.metrics-table tr.neutral .metric-value{color:#888}@media(max-width:768px){.metrics-tables{grid-template-columns:1fr}.metrics-table td{padding:.5rem .75rem;font-size:.8rem}}@media(max-width:480px){.metrics-panel{padding:.75rem}.metrics-table-container h3{padding:.6rem .75rem;font-size:.7rem}.metrics-table td{padding:.5rem;font-size:.75rem}.metrics-table .metric-label{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.metrics-footnote{margin-top:1rem;padding:.5rem 1rem;font-size:.75rem;color:#666;text-align:center;border-top:1px solid #2a2a3e}.operations-panel{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;padding:1rem}.operations-panel.loading{display:flex;align-items:center;justify-content:center;min-height:150px;color:#666;font-size:.85rem}.ops-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.ops-card{background:#1a1a24;border-radius:6px;overflow:hidden}.ops-card h4{margin:0;padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.05em;background:#16161f;border-bottom:1px solid #2a2a3e}.ops-content{padding:0}.ops-row{display:flex;justify-content:space-between;align-items:center;padding:.6rem 1rem;border-bottom:1px solid #2a2a3e}.ops-row:last-child{border-bottom:none}.ops-row:hover{background:#222230}.ops-label{font-size:.85rem;color:#888}.ops-value{font-size:.85rem;font-weight:500;color:#e5e5e5;font-variant-numeric:tabular-nums}.ops-value.positive{color:#4ade80}.ops-value.negative{color:#f87171}.ops-value.highlight{color:#60a5fa}.ops-error{padding:1rem;font-size:.85rem;color:#666;font-style:italic}.ops-na{padding:.75rem 1rem .25rem;font-size:.9rem;color:#888;font-weight:500}.ops-explain{padding:.25rem 1rem .75rem;font-size:.75rem;color:#555;margin:0;line-height:1.4}.ops-note{padding:.6rem 1rem;font-size:.75rem;color:#666;line-height:1.4;background:#16161f;border-top:1px solid #2a2a3e}@media(max-width:1024px){.ops-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.ops-grid{grid-template-columns:1fr}.ops-row{padding:.5rem .75rem}.ops-label,.ops-value{font-size:.8rem}.ops-card h4{padding:.6rem .75rem}.ops-note{padding:.5rem .75rem;font-size:.7rem}}@media(max-width:480px){.operations-panel{padding:.75rem}.ops-grid{gap:.75rem}.ops-card h4{font-size:.7rem;padding:.5rem}.ops-row{padding:.5rem}.ops-label,.ops-value{font-size:.75rem}.ops-note{padding:.5rem;font-size:.65rem}.ops-error{padding:.75rem .5rem;font-size:.75rem}}.capital-panel{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;padding:1rem}.capital-panel.loading{display:flex;align-items:center;justify-content:center;min-height:150px;color:#666;font-size:.85rem}.capital-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.capital-card{background:#1a1a24;border-radius:6px;overflow:hidden}.capital-card h4{margin:0;padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.05em;background:#16161f;border-bottom:1px solid #2a2a3e}.capital-content{padding:0}.capital-row{display:flex;justify-content:space-between;align-items:center;padding:.6rem 1rem;border-bottom:1px solid #2a2a3e}.capital-row:last-child{border-bottom:none}.capital-row.highlight{background:#1e1e2a}.capital-label{font-size:.85rem;color:#888}.capital-value{font-size:.85rem;font-weight:500;color:#e5e5e5;font-variant-numeric:tabular-nums}.capital-value.positive{color:#4ade80}.capital-value.negative{color:#f87171}.capital-not-init{padding:1rem;text-align:center}.capital-not-init p{margin:0;color:#888;font-size:.85rem}.capital-not-init .hint{margin-top:.5rem;font-size:.75rem;color:#666}.capital-card.actions .capital-content{padding:1rem}.action-type-selector{display:flex;gap:.5rem;margin-bottom:1rem}.type-btn{flex:1;padding:.5rem;font-size:.75rem;font-weight:500;background:#16161f;border:1px solid #2a2a3e;border-radius:4px;color:#888;cursor:pointer;transition:all .2s}.type-btn:hover{border-color:#4a4a5e;color:#e5e5e5}.type-btn.active{background:#2a2a3e;border-color:#60a5fa;color:#60a5fa}.form-row{margin-bottom:.75rem}.form-row label{display:block;font-size:.75rem;color:#888;margin-bottom:.25rem}.form-row input{width:100%;padding:.5rem;font-size:.85rem;background:#16161f;border:1px solid #2a2a3e;border-radius:4px;color:#e5e5e5;box-sizing:border-box}.form-row input:focus{outline:none;border-color:#60a5fa}.form-row input::placeholder{color:#555}.submit-btn{width:100%;padding:.6rem;font-size:.85rem;font-weight:500;background:#60a5fa;border:none;border-radius:4px;color:#fff;cursor:pointer;transition:background .2s}.submit-btn:hover{background:#3b82f6}.message{margin-top:.75rem;padding:.5rem;font-size:.75rem;border-radius:4px;text-align:center}.message.success{background:#4ade801a;color:#4ade80;border:1px solid rgba(74,222,128,.3)}.message.error{background:#f871711a;color:#f87171;border:1px solid rgba(248,113,113,.3)}.capital-note{margin-top:1rem;padding:.75rem 1rem;font-size:.75rem;color:#666;background:#1a1a24;border-radius:6px;line-height:1.5}.capital-note strong{color:#888}@media(max-width:768px){.capital-grid{grid-template-columns:1fr}.capital-row{padding:.5rem .75rem}.capital-label,.capital-value{font-size:.8rem}}@media(max-width:480px){.capital-panel{padding:.75rem}.capital-grid{gap:.75rem}.capital-card h4{font-size:.7rem;padding:.5rem}.action-type-selector{flex-direction:column}.type-btn{padding:.6rem}}.learning-panel{background:#16161f;border:1px solid #2a2a3e;border-radius:8px;overflow:hidden}.learning-panel.loading,.learning-panel.error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;color:#888;font-size:.85rem}.learning-panel.error .error-detail{font-size:.75rem;color:#666;margin-top:.25rem}.learning-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:1px;background:#2a2a3e;border-bottom:1px solid #2a2a3e}.learning-summary .summary-item{display:flex;padding:.75rem 1rem;background:#16161f}.learning-summary .summary-content{display:flex;flex-direction:column;gap:.15rem}.learning-summary .label{font-size:.65rem;color:#666;text-transform:uppercase;letter-spacing:.03em}.learning-summary .value{font-size:.85rem;font-weight:600;color:#e5e5e5}.learning-summary .value.highlight{color:#60a5fa}.learning-summary .value.novel{color:#a78bfa}.learning-summary .value.pending{color:#fbbf24}.memory-types{padding:.75rem 1rem;border-bottom:1px solid #2a2a3e}.memory-types h4{margin:0 0 .5rem;font-size:.7rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.03em}.types-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}.type-item{display:flex;flex-direction:column;align-items:center;text-align:center}.type-label{font-size:.6rem;color:#888;font-weight:500}.type-count{font-size:1rem;font-weight:700;margin:.15rem 0}.type-count.oatmeal{color:#4ade80}.type-count.novelty{color:#a78bfa}.type-count.pain{color:#f87171}.type-count.risk{color:#fbbf24}.type-desc{font-size:.55rem;color:#555}.pending-section{padding:.75rem 1rem;border-bottom:1px solid #2a2a3e}.pending-section h4{margin:0 0 .5rem;font-size:.7rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.03em}.pending-list{display:flex;flex-direction:column;gap:.4rem}.pending-item{display:flex;justify-content:space-between;align-items:center;padding:.4rem .6rem;background:#1a1a24;border-radius:4px}.pending-item.novel{border-left:2px solid #a78bfa}.pending-info{display:flex;align-items:center;gap:.5rem}.pending-info .signal{font-size:.7rem;font-weight:600;padding:.15rem .4rem;border-radius:3px}.pending-info .signal.long{background:#4ade8033;color:#4ade80}.pending-info .signal.short{background:#f8717133;color:#f87171}.pending-info .signal.neutral{background:#8883;color:#888}.pending-info .novel-badge{font-size:.6rem;font-weight:600;padding:.1rem .3rem;background:#a78bfa33;color:#a78bfa;border-radius:2px}.pending-due{font-size:.7rem;color:#888}.events-section{padding:.75rem 1rem}.events-section h4{margin:0 0 .5rem;font-size:.7rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.03em}.events-list{display:flex;flex-direction:column;gap:.4rem}.event-item{display:flex;align-items:center;gap:.5rem;padding:.3rem 0;border-bottom:1px solid #1a1a24}.event-item:last-child{border-bottom:none}.event-icon{font-size:.8rem}.event-content{flex:1;display:flex;align-items:center;gap:.5rem}.event-type{font-size:.75rem;color:#888;text-transform:capitalize}.event-outcome{font-size:.7rem;font-weight:600}.event-outcome.positive{color:#4ade80}.event-outcome.negative{color:#f87171}.event-memory-type{font-size:.6rem;font-weight:500;padding:.1rem .25rem;border-radius:2px}.event-memory-type.oatmeal{background:#4ade8033;color:#4ade80}.event-memory-type.novelty{background:#a78bfa33;color:#a78bfa}.event-memory-type.pain{background:#f8717133;color:#f87171}.event-memory-type.risk{background:#fbbf2433;color:#fbbf24}.event-time{font-size:.65rem;color:#555}@media(max-width:768px){.learning-summary{grid-template-columns:repeat(4,1fr)}.learning-summary .summary-item{padding:.6rem .75rem}.learning-summary .label{font-size:.6rem}.learning-summary .value{font-size:.75rem}.types-grid{grid-template-columns:repeat(4,1fr)}.type-count{font-size:.85rem}}@media(max-width:480px){.learning-summary{grid-template-columns:repeat(2,1fr)}.learning-summary .summary-item{padding:.5rem .6rem}.types-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.pending-section,.events-section,.memory-types{padding:.6rem .75rem}}.dashboard{min-height:100vh;background:#0a0a0f}.dashboard-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#16161f;border-bottom:1px solid #2a2a3e}.header-left{display:flex;align-items:baseline;gap:.75rem}.header-left h1{margin:0;font-size:1.5rem;color:#fff}.header-left .version{font-size:.75rem;color:#888;background:#2a2a3e;padding:.25rem .5rem;border-radius:4px}.header-right{display:flex;align-items:center;gap:1rem}.last-update{font-size:.75rem;color:#666}.refresh-btn,.logout-btn{padding:.5rem 1rem;border:1px solid #2a2a3e;border-radius:6px;background:transparent;color:#888;font-size:.875rem;cursor:pointer;transition:all .2s}.refresh-btn:hover{border-color:#3b82f6;color:#3b82f6}.logout-btn:hover{border-color:#ef4444;color:#ef4444}.chart-section,.metrics-section,.ops-section,.learning-section,.capital-section,.trades-section{padding:1rem 1.5rem}.chart-section h2,.metrics-section h2,.ops-section h2,.learning-section h2,.capital-section h2,.trades-section h2{margin:0 0 1rem;font-size:1rem;font-weight:500;color:#888}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-header h2{margin:0}.total-stats{font-size:.75rem;color:#666;font-weight:400}.date-filter{padding:.5rem 1rem;border:1px solid #2a2a3e;border-radius:6px;background:#16161f;color:#ccc;font-size:.875rem;cursor:pointer;transition:all .2s}.date-filter:hover{border-color:#3b82f6}.date-filter:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.loading{display:flex;align-items:center;justify-content:center;min-height:200px;color:#666;font-size:.9rem}.error-message{display:flex;align-items:center;justify-content:center;min-height:200px;color:#f87171;font-size:.9rem}@media(max-width:768px){.dashboard-header{flex-direction:column;gap:1rem;padding:1rem}.header-left{width:100%;justify-content:center}.header-left h1{font-size:1.25rem}.header-right{width:100%;justify-content:center}.last-update{display:none}.chart-section,.metrics-section,.ops-section,.learning-section,.capital-section,.trades-section{padding:1rem}.chart-section h2,.metrics-section h2,.ops-section h2,.learning-section h2,.capital-section h2,.trades-section h2{font-size:.9rem}}@media(max-width:480px){.dashboard-header{padding:.75rem}.header-left h1{font-size:1.1rem}.header-left .version{font-size:.65rem;padding:.2rem .4rem}.refresh-btn,.logout-btn{padding:.4rem .75rem;font-size:.8rem}.chart-section,.metrics-section,.ops-section,.learning-section,.capital-section,.trades-section{padding:.75rem}.chart-section h2,.metrics-section h2,.ops-section h2,.learning-section h2,.capital-section h2,.trades-section h2{font-size:.85rem;margin-bottom:.75rem}}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#0a0a0f;color:#e5e5e5;min-height:100vh}#root{min-height:100vh}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#0a0a0f,#1a1a2e)}.login-box{background:#16161f;padding:3rem;border-radius:12px;border:1px solid #2a2a3e;text-align:center;max-width:400px;width:90%}.login-box h1{margin:0 0 .5rem;font-size:2rem;color:#fff}.login-box .subtitle{margin:0 0 2rem;color:#888;font-size:.9rem}.login-box form{display:flex;flex-direction:column;gap:1rem}.login-box input{padding:.875rem 1rem;border:1px solid #2a2a3e;border-radius:8px;background:#0a0a0f;color:#fff;font-size:1rem;outline:none;transition:border-color .2s}.login-box input:focus{border-color:#60a5fa}.login-box button{padding:.875rem 1.5rem;border:none;border-radius:8px;background:#3b82f6;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.login-box button:hover{background:#2563eb}.login-box .error{color:#ef4444;margin:.5rem 0 0;font-size:.875rem}.loading,.error-message{display:flex;align-items:center;justify-content:center;height:200px;font-size:1.1rem;color:#888}.error-message{color:#ef4444}@media(max-width:480px){.login-box{padding:2rem 1.5rem}.login-box h1{font-size:1.5rem}.login-box .subtitle{font-size:.8rem;margin-bottom:1.5rem}.login-box input,.login-box button{padding:.75rem;font-size:.9rem}}
