/* Independent order component. Uses the incumbent account tokens; no global selectors. */
.yx-device-summary { margin-block: 28px; color: var(--ink, #1D242A); min-width: 0; }
.yx-device-summary * { box-sizing: border-box; }
.yx-device-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.yx-device-intro, .yx-device-empty, .yx-device-scope, .yx-device-record-note { margin: 0; color: var(--muted, #5E666D); font-size: 14px; line-height: 1.65; max-width: 72ch; }
.yx-device-empty { margin-top: 12px; }
.yx-device-list { list-style: none; padding: 0; margin: 20px 0 0; }
.yx-device-row { border-top: 1px solid var(--line, #D6DCE0); padding: 20px 0; }
.yx-device-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.yx-device-name { font-size: 16px; font-weight: 600; line-height: 1.5; margin: 0; }
.yx-device-status { font-size: 14px; }
.yx-device-freshness { margin: 4px 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted, #5E666D); }
.yx-device-facts { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(150px, 1fr) minmax(160px, 1.2fr); gap: 16px 28px; margin: 0; }
.yx-device-facts > div { min-width: 0; }
.yx-device-facts dt { font-size: 13px; line-height: 1.5; color: var(--muted, #5E666D); }
.yx-device-facts dd { margin: 4px 0 0; font-size: 15px; line-height: 1.65; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.yx-device-meter { display: block; width: 100%; max-width: 240px; height: 5px; border: 0; border-radius: 0; margin-top: 10px; background: var(--ground, #E8E7E4); color: var(--ink, #1D242A); appearance: none; }
.yx-device-meter::-webkit-progress-bar { background: var(--ground, #E8E7E4); }
.yx-device-meter::-webkit-progress-value { background: var(--ink, #1D242A); }
.yx-device-meter::-moz-progress-bar { background: var(--ink, #1D242A); }
.yx-device-record-note { margin-top: 16px; }
.yx-device-layers { margin-top: 12px; font-size: 14px; }
.yx-device-layers summary { display: list-item; width: fit-content; min-height: 44px; padding: 10px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.yx-device-layers summary:hover { color: var(--accent, #2346D8); }
.yx-device-layers summary:focus-visible { outline: 2px solid var(--accent, #2346D8); outline-offset: 2px; }
.yx-device-layers p { margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.yx-device-scope { padding-top: 8px; font-size: 13px; }
.yx-device-summary ::selection { background: var(--ink, #1D242A); color: var(--white, #FFFFFF); }
@media (max-width: 699px) {
  .yx-device-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; }
  .yx-device-updated { grid-column: 1 / -1; }
}
@media (max-width: 379px) {
  .yx-device-title { font-size: 18px; }
  .yx-device-facts { grid-template-columns: minmax(0, 1fr); }
}
