/* Device access remains usable without horizontal page scrolling. */
.devices-view .content{max-width:none;padding-inline:clamp(16px,2.5vw,48px)}
.devices-card{container-type:inline-size}
.devices-card .card-head{flex-wrap:wrap;align-items:flex-start}
.devices-card .card-head>div{flex:1 1 260px;min-width:0}
.devices-card .card-head p{font-size:12px;overflow-wrap:anywhere}
.devices-card .table-wrap{overflow:visible}
.devices-table{table-layout:fixed;white-space:normal;width:100%;font-size:12px}
.devices-table th,.devices-table td{padding:14px 10px;overflow-wrap:anywhere;vertical-align:top}
.devices-table th:first-child{width:21%}
.devices-table th:nth-child(2){width:13%}
.devices-table th:nth-child(3){width:12%}
.devices-table th:nth-child(4){width:10%}
.devices-table th:nth-child(5){width:14%}
.devices-table th:nth-child(6){width:6%}
.devices-table th:nth-child(7){width:7%}
.devices-table th:nth-child(8){width:9%}
.devices-table th:nth-child(9){width:8%}
.devices-table td small{display:block}
.devices-table td p{margin:7px 0}
.device-primary-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.device-primary-actions button{padding:9px 10px;min-height:36px;white-space:normal}
@container(max-width:1150px){
 .devices-table,.devices-table tbody{display:block}
 .devices-table thead{display:none}
 .devices-table tbody{padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .devices-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;align-content:start;border:1px solid var(--border);border-radius:10px;padding:8px 14px;background:#fff;min-width:0}
 .devices-table td{display:block;width:100%;padding:8px 0;border:0}
 .devices-table td:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
 .devices-table td:first-child{grid-column:1/-1;border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:6px}
 .devices-table td:first-child:before{display:none}
}
@container(max-width:620px){.devices-table tbody{grid-template-columns:minmax(0,1fr)}.devices-table tr{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){
 .devices-view .topbar{height:auto;min-height:55px;flex-wrap:wrap;gap:10px;padding-block:10px}
 .devices-view .top-actions{flex-wrap:wrap}
 .devices-view .page-heading{flex-wrap:wrap;gap:12px}
 .devices-view .heading-actions{margin-top:0}
}
