/* Devices imported without a real serial (owner decisions 2026-10-17):
   the editor's "keep a NOSERIAL- serial on purpose" control
   (lib/assets/views.js) and the "Same device?" card's side-by-side facts
   (lib/assets/same-device.js). Tokens only. */

/* The review table scrolls inside its card at phone width; the card never
   widens the page (min-width 0 lets the screen's layout shrink it). */
.ast-no-serial-review { min-width: 0; max-width: 100%; }
.ast-no-serial-scroll { overflow-x: auto; max-width: 100%; }
.ast-no-serial-review > summary { cursor: pointer; }
/* Fits the card at phone width: fixed columns, values wrap (no sideways scroll). */
/* min-width 0 beats app.css's phone rule (every table at least 560px, meant
   for tables inside a scroll wrapper): three short columns fit as they are. */
.ast-same-device-facts { margin: var(--sp-2) 0; width: 100%; min-width: 0; table-layout: fixed; }
.ast-same-device-facts th[scope="row"] { width: 28%; color: var(--text-2); font-weight: 500; text-align: left; }
.ast-same-device-facts th, .ast-same-device-facts td { white-space: normal; overflow-wrap: anywhere; }

.ast-keep-key {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: var(--sp-2) var(--sp-3);
}
.ast-keep-key > summary { cursor: pointer; color: var(--text-2); }
.ast-keep-key[open] > summary { margin-bottom: var(--sp-2); }
.ast-keep-key p { margin: 0 0 var(--sp-2); }
.ast-keep-key .ast-check { display: flex; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-2); }
