.dividend-summary{display:grid;gap:4px;margin:10px 0;padding:9px 11px;border:1px solid #b8c59d;border-radius:9px;background:#e9efd780;color:#5a7050;font:12px/1.35 'Segoe UI',sans-serif}.dividend-summary>b{font-size:12px}.dividend-summary small{font-size:10px;color:#83906c}.exchange-steps{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0}.exchange-steps b{padding:8px 15px;border:1px solid #c8ccb1;border-radius:8px;color:#929a7c;font:600 13px 'Segoe UI',sans-serif}.exchange-steps .active{color:#fdf8e6;background:#6b8976;border-color:#6b8976}
/* The phone ledger is a compact summary, with the detailed cards below it. */
.phone-ui #phone-assets{width:min(760px,calc(100vw - 16px))!important;left:8px!important;right:auto!important}
.phone-ui #phone-assets .phone-sheet-body{padding:6px 9px 10px!important}
.phone-ui #phone-assets .left-panel{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:8px!important;margin-bottom:8px!important}
.phone-ui #phone-assets .company-title{grid-column:1/-1;margin:0!important;min-height:30px;gap:8px}
.phone-ui #phone-assets .company-title .avatar{width:30px;height:30px}.phone-ui #phone-assets .company-title b{font-size:13px}.phone-ui #phone-assets .company-title small{font-size:10px}
.phone-ui #phone-assets .wallet{margin:0!important;padding:10px!important;display:flex;flex-direction:column;justify-content:center;min-height:100px}
.phone-ui #phone-assets .wallet>strong{font-size:25px!important;line-height:1.15;margin:5px 0!important}.phone-ui #phone-assets .wallet>small{font-size:8px!important;letter-spacing:1px}.phone-ui #phone-assets .wallet>div{padding:4px 0!important;margin:0!important;font-size:11px!important}.phone-ui #phone-assets .cash-change{min-height:20px;font-size:11px!important}.phone-ui #phone-assets .cash-change:empty{display:none}
.phone-ui #phone-assets .mini-stats{padding:8px!important;margin:0!important;gap:12px;align-items:center}.phone-ui #phone-assets .mini-stats b{font-size:16px!important}.phone-ui #phone-assets .mini-stats small{font-size:10px!important}
.phone-ui #phone-assets .bank-hud{padding:10px!important;margin:0!important;min-height:0!important}.phone-ui #phone-assets .bank-hud b{font-size:14px}.phone-ui #phone-assets .bank-hud small{font-size:10px}
.phone-ui #phone-assets #stocks-hud{grid-column:1/-1;padding:10px!important;margin:0!important}.phone-ui #phone-assets .stockdesk-value{margin:6px 0!important}.phone-ui #phone-assets .stockdesk-value strong{font-size:18px!important}.phone-ui #phone-assets .stockdesk-actions button{min-height:32px!important;font-size:11px!important;padding:6px 12px!important}.phone-ui #phone-assets .stockdesk-rule{font-size:10px;line-height:1.4;margin:6px 0}.phone-ui #phone-assets .stockdesk-quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.phone-ui #phone-assets .stockdesk-quotes[hidden]{display:none}.phone-ui #phone-assets .stockdesk-row{padding:6px!important;margin:0;gap:5px;display:block;border:1px solid #d6d7b9;border-radius:7px}.phone-ui #phone-assets .stockdesk-sector{font-size:10px;min-height:30px}.phone-ui #phone-assets .stockdesk-sector small{font-size:9px}.phone-ui #phone-assets .stockdesk-row-actions{display:flex;flex-direction:row!important;gap:5px;margin-top:5px}.phone-ui #phone-assets .stockdesk-row-actions button{min-height:28px!important;flex:1;font-size:10px!important}.phone-ui #phone-assets .dividend-summary{grid-template-columns:1fr 1fr;font-size:11px;padding:7px;margin:6px 0}.phone-ui #phone-assets .dividend-summary small{grid-column:1/-1}
.phone-ui #phone-assets #syndicates{grid-column:1/-1;margin:0!important;max-height:none!important}.phone-ui #phone-assets .syndicate-card{padding:8px!important;margin:4px 0}.phone-ui #phone-assets .portfolio-heading,.phone-ui #phone-assets #portfolio,.phone-ui #phone-assets .opponents-title,.phone-ui #phone-assets .autosave{display:none!important}
.phone-ui #phone-assets .owned-hand{padding:8px!important;margin:0!important}.phone-ui #phone-assets .owned-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-height:none!important}.phone-ui #phone-assets .owned-card{min-width:0!important;padding:9px!important;min-height:0!important}.phone-ui #phone-assets .owned-card h3{font-size:12px!important}.phone-ui #phone-assets .owned-card img{max-width:66px;max-height:68px}.phone-ui #phone-assets .owned-card .hand-income strong{font-size:15px!important}
/* All auction controls fit inside a short landscape viewport. */
.phone-ui .central-stage-layer[data-kind=auction] .central-stage-receipt{padding:10px!important;gap:5px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;box-sizing:border-box}
.phone-ui .central-stage-layer[data-kind=auction] .central-stage-status{font-size:8px!important;letter-spacing:1px!important;margin:0!important}
.phone-ui .central-stage-layer[data-kind=auction] .central-stage-receipt h2{font-size:20px!important;line-height:1.15!important;margin:2px 0 5px!important;overflow-wrap:anywhere}
.phone-ui .central-stage-layer[data-kind=auction] .central-stage-receipt>div:first-child>p{font-size:11px!important;line-height:1.3!important;margin:4px 0!important}
.phone-ui .auction-live-top{gap:6px!important;margin:0!important}.phone-ui .auction-live-price{padding-left:8px!important}.phone-ui .auction-live-price small{font-size:8px!important}.phone-ui .auction-live-price strong{font-size:25px!important;line-height:1.15!important}.phone-ui .auction-live-price>span{font-size:10px!important}.phone-ui .auction-live-calls{gap:4px!important}.phone-ui .auction-live-calls i{width:23px!important;height:23px!important;font:14px/23px Georgia,serif!important}.phone-ui .auction-live-calls b{display:none!important}.phone-ui .auction-live-time{height:3px!important;margin:7px 0!important}
.phone-ui .auction-live-entry{grid-template-columns:minmax(0,1fr) 52px!important;gap:5px!important;margin:0!important}.phone-ui .auction-live-entry label{font-size:10px!important;grid-column:1/-1!important;margin:0!important}.phone-ui .auction-live-entry input{height:32px!important;min-height:32px!important;padding:4px 8px!important;font:15px/1.2 'Segoe UI',sans-serif!important;margin:3px 0 0!important;width:100%!important;box-sizing:border-box}.phone-ui .auction-live-entry .auction-live-bid,.phone-ui .auction-live-entry .auction-live-pass{min-height:32px!important;height:32px!important;font:600 11px/1.15 'Segoe UI',sans-serif!important;padding:5px!important;border-radius:7px!important;white-space:normal!important}
.phone-ui .auction-live-bottom{gap:4px!important;margin-top:6px!important}.phone-ui .auction-live-bottom>span{font-size:9px!important;line-height:1.25!important}.phone-ui .auction-live-bottom>div{gap:4px!important}.phone-ui .auction-live-bottom button{min-width:0!important;min-height:30px!important;padding:3px!important;font:10px/1.2 'Segoe UI',sans-serif!important;white-space:nowrap!important}.phone-ui .auction-live-error{font-size:10px!important;line-height:1.3!important;margin:4px 0 0!important}.phone-ui .auction-live-error:empty{display:none}.phone-ui .central-stage-layer[data-kind=auction] .central-stage-bids{display:none!important}
.phone-ui #facility-dialog:has(.exchange-steps){padding:13px!important;width:min(680px,calc(100vw - 20px))!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important}.phone-ui #facility-dialog:has(.exchange-steps) h2{font-size:21px!important;margin:5px 0!important}.phone-ui .exchange-steps{margin:6px 0;gap:8px}.phone-ui .exchange-steps b{font-size:11px;padding:5px 10px}.phone-ui #facility-dialog .facility-intro{font-size:11px!important;line-height:1.4!important;margin:5px 0 8px!important}.phone-ui .exchange-sector-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}.phone-ui .exchange-sector-grid .sector-tile{padding:7px!important;display:flex;flex-direction:column;align-items:flex-start;min-width:0!important;min-height:0!important}.phone-ui .exchange-sector-grid .sector-tile b{font-size:11px!important;overflow-wrap:anywhere}.phone-ui .exchange-sector-grid .sector-tile strong{font-size:12px!important}.phone-ui .exchange-sector-grid .sector-symbol{display:none}.phone-ui #facility-dialog .finance-continue{min-height:35px!important;margin-top:9px!important;padding:8px!important;font-size:12px!important}
@media(max-width:520px){.phone-ui #phone-assets .stockdesk-quotes{grid-template-columns:1fr 1fr}.phone-ui #phone-assets .owned-cards{grid-template-columns:1fr 1fr!important}.phone-ui .exchange-sector-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

.phone-ui #phone-assets .left-panel{grid-template-areas:"title title" "wallet bank" "wallet stats" "stocks stocks" "syndicates syndicates"!important;grid-template-rows:auto auto auto auto auto}
.phone-ui #phone-assets .company-title{grid-area:title}.phone-ui #phone-assets .wallet{grid-area:wallet}.phone-ui #phone-assets .bank-hud{grid-area:bank;grid-column:2!important;min-height:48px!important;gap:3px!important}.phone-ui #phone-assets .mini-stats{grid-area:stats;min-height:36px!important}.phone-ui #phone-assets #stocks-hud{grid-area:stocks}.phone-ui #phone-assets #syndicates{grid-area:syndicates}
.phone-ui #phone-assets .stockdesk-row{min-height:0!important}.phone-ui #phone-assets .stockdesk-sector{min-height:27px!important}.phone-ui #phone-assets .stockdesk-row-actions button{height:28px!important}
.phone-ui #phone-assets .owned-card{height:150px!important}.phone-ui #phone-assets .hand-toolbar{min-height:30px!important}.phone-ui #phone-assets .hand-filter{min-height:28px!important;height:28px!important;padding:4px 9px!important}.phone-ui #phone-assets .owned-card .owned-card-top{min-height:20px}
