.market-page{max-width:1200px;margin:0 auto;padding:2rem}.market-page h1{margin-bottom:1.5rem}.portfolio-summary{background:var(--color-panel);border:2px solid var(--color-border);border-radius:12px;padding:2rem;margin-bottom:2rem}.portfolio-total .label{font-size:.9rem;color:var(--color-muted);margin-bottom:.5rem}.portfolio-total .value{font-size:2.5rem;font-weight:700;color:var(--color-accent)}.market-headline{background:var(--color-panel);border-left:4px solid var(--color-accent);padding:1.5rem;margin-bottom:2rem;border-radius:8px}.market-headline h3{margin-bottom:.5rem}.portfolio-headline{background:var(--color-panel);border-left:4px solid var(--color-accent);padding:1.5rem;margin-bottom:2rem;border-radius:8px}.portfolio-headline h3{margin-bottom:.5rem;color:var(--color-body)}.portfolio-headline p{color:var(--color-body);line-height:1.6}.assets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin:3rem 0}.asset-card{background:var(--color-lower);border-radius:1rem;padding:2rem;text-align:center}.asset-card .asset-icon{font-size:4rem;margin-bottom:1rem}.asset-card h3{margin:1rem 0;font-size:2rem}.asset-card .asset-price{font-size:1.8rem;font-weight:700;margin-bottom:1.5rem}.asset-card .asset-info{font-size:1.6rem;margin:2rem 0;text-align:left}.asset-card .asset-info>div{padding:.5rem 0}.cash-card{background:var(--color-panel)}.cash-card .cash-balance{font-size:3rem;font-weight:700;color:var(--color-primary);margin:2rem 0}.gain{color:var(--color-success)}.loss{color:var(--color-error)}.asset-detail{max-width:1e3px;margin:0 auto;padding:2rem}.asset-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem}.asset-icon-large{font-size:4rem}.asset-header h1{margin:0}.current-value{font-size:1.2rem;color:var(--color-muted);margin-top:.5rem}.asset-holdings-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.holdings-box{background:var(--color-panel);border:2px solid var(--color-border);border-radius:12px;padding:1.5rem;text-align:center}.holdings-box .label{font-size:.9rem;color:var(--color-muted);margin-bottom:.5rem}.holdings-box .amount{font-size:1.8rem;font-weight:700;color:var(--color-accent);margin-bottom:.25rem}.holdings-box .value{font-size:1rem;color:var(--color-muted)}.asset-chart-container{background:var(--color-panel);border:2px solid var(--color-border);border-radius:12px;padding:1.5rem;margin-bottom:2rem}.asset-chart{width:100%;height:auto}.chart-placeholder{text-align:center;padding:3rem;color:var(--color-muted)}.trading-interface{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.trade-box{background:var(--color-panel);border:2px solid var(--color-border);border-radius:12px;padding:1.5rem}.trade-box h3{margin-bottom:1rem}.buy-box{border-color:#10b981}.sell-box{border-color:#ef4444}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:700;color:var(--color-body)}.form-group input{width:100%;padding:.75rem;border:2px solid var(--color-border);border-radius:8px;background:var(--color-background);color:var(--color-body);font-size:1rem}.helper-text{font-size:.85rem;color:var(--color-muted);margin-top:.5rem}.btn{width:100%;padding:.75rem;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:opacity .2s}.btn:hover:not(:disabled){opacity:.9}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#10b981;color:#fff}.btn-secondary{background:#ef4444;color:#fff}.transaction-history{margin-top:2rem}.transaction-history h3{margin-bottom:1rem}.transactions-table{width:100%;border-collapse:collapse;background:var(--color-panel);border-radius:8px;overflow:hidden}.transactions-table th,.transactions-table td{padding:.75rem;text-align:left;border-bottom:1px solid var(--color-border)}.transactions-table th{background:var(--color-background);font-weight:700;color:var(--color-muted)}.transactions-table tr:last-child td{border-bottom:none}.tx-type{font-weight:700}.tx-buy .tx-type{color:#10b981}.tx-sell .tx-type{color:#ef4444}.no-transactions{text-align:center;padding:2rem;color:var(--color-muted);background:var(--color-panel);border-radius:8px}@media(max-width:768px){.market-page,.asset-detail{padding:1rem}.assets-grid{grid-template-columns:1fr}.portfolio-total .value{font-size:2rem}.asset-header{flex-direction:column;text-align:center}.trading-interface{grid-template-columns:1fr}}