.dashboard-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;align-items:stretch}
.dashboard-four .market-cards{display:contents}
.dashboard-four .portfolio{display:flex;flex-direction:column;margin:0;padding:16px 18px;min-width:0;gap:8px}
.dashboard-four .portfolio>div{border:0;padding:0}
.dashboard-four .portfolio>div:first-child{margin-bottom:4px}
.dashboard-four .portfolio>div:not(:first-child){display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;border-top:1px solid var(--border);padding-top:8px}
.dashboard-four .portfolio>div:not(:first-child) strong{font-size:18px;margin:0}
.dashboard-four .portfolio>div:not(:first-child) .money-value{width:100%;font-size:14px;margin:0;text-align:right}
.dashboard-four .portfolio small{font-size:10px;letter-spacing:1px}
.dashboard-four .market-card{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;padding:16px 18px;margin:0}
.dashboard-four .market-card>span{font-size:11px}
.dashboard-four .market-card strong{margin:12px 0 4px}
.dashboard-four .market-card strong small{display:block;margin-top:7px;line-height:1.4}
.dashboard-four .market-card em{margin-top:auto;padding-top:12px;line-height:1.6}
.spin-entry{min-width:0}.table-scroll{overflow:visible;min-width:0}
.number-pad{min-width:0;width:100%;grid-template-columns:minmax(24px,.85fr) repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,42px);gap:3px}
.number-pad button{min-width:0;width:100%;padding:2px 0;font-size:14px;letter-spacing:0}
@media(max-width:759px){.dashboard-four{gap:5px}.dashboard-four .portfolio,.dashboard-four .market-card{padding:10px 6px}.dashboard-four .portfolio strong,.dashboard-four .market-card strong{font-size:22px}.dashboard-four .portfolio small,.dashboard-four .market-card>span{font-size:9px;letter-spacing:0}.dashboard-four .market-card strong small{font-size:9px;letter-spacing:0}.dashboard-four .money-value{font-size:14px}.dashboard-four .market-card em{font-size:10px;overflow-wrap:anywhere}.dashboard-four .portfolio>div:not(:first-child) strong{font-size:14px}.dashboard-four .portfolio>div:not(:first-child) .money-value{font-size:11px}.number-pad{grid-template-columns:minmax(20px,.85fr) repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,38px);gap:2px}.number-pad button{font-size:12px}}
