/* Port Map table and layout rules for every switch (legacy and product-linked),
   loaded with the shell. Moved out of netdoc.html (modularization ratchet). */
/* Phone: the network list, the switch and the trace rail stack (no 170px-wide centre). */
@media(max-width:760px){.pm-shell3,.pm-shell3.pm-nav-min,.pm-shell3.pm-rail-min,.pm-shell3.pm-nav-min.pm-rail-min{grid-template-columns:minmax(0,1fr)}.pm-tbl .pm-tbl-q{width:100%;min-width:0;box-sizing:border-box}.pm-tbl-count{margin-left:0;white-space:normal}.pm-tbl-row1>*,.pm-tbl-row2>*{min-width:0;max-width:100%}.pm-tbl-spacer{display:none}.pm-tbl-toolbar{grid-template-columns:minmax(0,1fr)}.pm-tbl-bulk .ub-field-group{min-width:0;flex:1 1 120px}}
.pm-tbl-table .pm-tbl-c-sel{padding-left:4px;padding-right:4px;text-align:center}
.pm-tbl-table .pm-tbl-c-sel input[type=checkbox]{width:18px;height:18px;margin:0}
/* Phone: the row checkbox keeps its 44px touch target, so its column grows to hold it. */
@media(max-width:760px){#pm-tbl .pm-tbl-table col[data-col="sel"]{width:54px!important}}
.pm-tbl-port{width:100%;min-width:46px;box-sizing:border-box;font-weight:700;color:var(--g)}
/* Device Ports tab: a linked device whose product declares no ports. */
.dp-noports{margin:6px 0;padding:10px 12px;border:1px solid var(--o);border-left-width:3px;border-radius:6px;background:var(--s1)}
.dp-noports-t{font-weight:600;font-size:12px;color:var(--o)}
.dp-noports-d{font-size:12px;color:var(--t2);margin-top:2px}
.dp-noports-a{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
body[data-ui="b"] .dp-noports{border-color:var(--ub-warning,var(--o));background:var(--ub-surface);border-radius:var(--ub-radius-sm)}
body[data-ui="b"] .dp-noports-t{color:var(--ub-warning,var(--o))}
body[data-ui="b"] .dp-noports-d{color:var(--ub-text-muted)}
.dp-noinlets{margin:6px 0;padding:8px 10px;border:1px dashed var(--b2);border-radius:6px;font-size:12px;color:var(--t2)}
body[data-ui="b"] .dp-noinlets{border-color:var(--ub-border-strong);color:var(--ub-text-muted)}
