/* Keep operational labels readable on both the workstation and a phone. */
.nav-item>span:not(.nav-count){min-width:0}.metric-foot{flex-wrap:wrap;row-gap:4px}.card-label{flex-wrap:wrap}.metric-detail{height:auto;min-height:24px}.panel-heading{flex-wrap:wrap}.run-name select{max-width:100%}.run-name{flex:1}.run-chips{margin-left:12px}.model-details{grid-template-columns:minmax(0,1fr) auto}.model-details dd{overflow-wrap:anywhere}.chat-toolbar{flex-wrap:wrap}.hardware-row{gap:10px}.hardware-stats{grid-template-columns:1.2fr 1fr .8fr}.hardware-foot{flex-wrap:wrap}.history-meta{overflow-wrap:anywhere}
@media(max-width:1000px) and (min-width:701px){.nav-count{display:none}.nav-item{gap:8px;padding:10px 8px}.workspace{font-size:12px}.chart-panel .chart-legend{flex-wrap:wrap}}
@media(max-width:700px){.page-heading{flex-wrap:wrap;align-items:flex-start}.page-heading h1{font-size:27px}.run-chips{flex-shrink:0}.run-name{min-width:0}.run-name select{width:100%;max-width:190px!important;font-size:13px}.run-name label{font-size:12px}.chart-legend{gap:12px;flex-wrap:wrap}.config-grid{column-gap:18px}.hardware-row{gap:4px}.hardware-stats{column-gap:7px}.hardware-stats span{font-size:11px}.completion-banner .button{margin-left:41px}.model-switch button{font-size:13px}.chat-toolbar{gap:8px}.chat-welcome{min-height:350px}.chat-panel{min-height:630px}.prompt-examples{gap:6px}.composer-bottom{flex-wrap:wrap}.composer-bottom .button{margin-left:auto}.model-details,.last-inference dl{font-size:14px}.checkpoint-row small{margin-left:0}.history-content{padding:14px 8px}.nav-item.active span:not(.nav-count){max-width:90px}.breadcrumb{font-size:11px}.top-right{gap:10px}}
:root{--font:Arial,"Noto Sans CJK SC","Noto Sans CJK JP","Microsoft YaHei","PingFang SC",sans-serif;--muted:#a6b19e}
.card-label,.nav-item,.button,.field-label,.segmented button,.chart-legend,.hardware-row,.config-grid dt,.checkpoint-row,.model-details,.last-inference dl,summary,.model-status,.metric-detail,.metric-foot,.badge,.panel-heading p,.page-heading p,.completion-banner p,.chat-welcome p,.message-head,.message-meta,.prompt-examples button,.setting-note,.text-link{font-size:14px}
.tiny-label,.run-name label,.hardware-foot,.hardware-stats span,.metric-foot,.chart-bottom,.chart-legend>.chart-note,.composer-bottom>span,.chat-welcome small,.history-meta,.run-summary p,.topbar,.connection,.host-tag,.side-bottom,.side-model p,.hardware-row strong,.checkpoint-row small{font-size:12px}
.message-text,.message.user .message-text,#prompt,.page-heading p,.chat-welcome p{font-size:16px}
.metric-detail{font-size:12px}.hardware-stats strong{font-size:16px}.panel-heading p,.setting-note,.model-status{font-size:13px}
.config-grid dd{font-size:16px}.run-name select{font-size:16px}.gpu-reading>div{font-size:12px}.hardware-panel{min-height:380px}
@media(max-width:1200px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{padding:20px}.metric-foot{font-size:12px}.model-details,.last-inference dl{font-size:13px}}
@media(max-width:700px){.card-label,.button,.segmented button,.chart-legend,.badge,.field-label,.prompt-examples button,.config-grid dt,.checkpoint-row,.hardware-row,.completion-banner p,.text-link{font-size:14px}.metric-card{padding:16px 13px}.metric-foot{font-size:12px;flex-wrap:wrap;row-gap:4px}.metric-detail{font-size:12px}.page-heading p{font-size:14px}.tiny-label,.hardware-foot,.hardware-stats span,.chart-bottom{font-size:12px}.hardware-stats strong{font-size:14px}.hardware-panel{min-height:330px;column-gap:12px}.hardware-row{flex-wrap:wrap;gap:4px}.hardware-row strong{font-size:12px}.run-name select{font-size:14px;max-width:210px}.completion-banner{flex-wrap:wrap}.completion-banner h3{font-size:16px}.completion-banner .button{margin-left:41px;font-size:14px}.completion-banner>div:nth-child(2){flex-basis:calc(100% - 45px)}.model-switch button{font-size:13px}.chat-toolbar .button{font-size:13px}.chat-welcome small{font-size:12px}.composer-bottom>span{font-size:12px}.composer-bottom .button{font-size:14px}.prompt-examples button{font-size:13px}.config-grid{grid-template-columns:repeat(2,1fr)}.checkpoint-row{flex-wrap:wrap}.run-chips .badge{font-size:12px}.run-name select{max-width:190px}.metric-foot strong{margin-left:auto}}
@media(max-width:360px){.run-name select{max-width:160px}.page-heading{flex-wrap:wrap}.metric-grid{grid-template-columns:1fr}.metric-foot{font-size:14px}.hardware-panel{display:block}.hardware-panel .gpu-chart{margin-bottom:20px}.chat-toolbar{flex-wrap:wrap}.chat-welcome h2{font-size:20px}}
@media(max-width:700px){.hardware-panel{display:block;min-height:0}.hardware-panel .gpu-reading>div{display:block}.hardware-panel .gpu-chart{margin:12px 0 20px}.hardware-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hardware-stats strong{white-space:nowrap}.hardware-stats span{font-size:12px}.hardware-foot{margin-top:20px}}
