/* © 2026 Cromulent, Inc. All Rights Reserved.
   fleet.css - the fleet tools on the devices page (fleet.js): a row's share and history panel, the devices shared
   with you, and the admin's defaults, archived and adopt sections. Reads only the tokens and devices.css; orchid leads. */

#dev-fleet { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
#dev-fleet:empty { display: none; }

.fl-panel { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: var(--panel-2); min-width: 0; }
.fl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fl-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.fl-list .btn { padding: 4px 10px; font-size: 12px; }
.fl-who { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.fl-what { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.fl-log li { align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.fl-log li:last-child { border-bottom: 0; padding-bottom: 0; }

.fl-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fl-share select, .fl-share input { font: inherit; font-size: 13.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 6px 10px; min-width: 0; max-width: 100%; box-sizing: border-box; }
.fl-share input { font-family: var(--mono); width: 130px; }
.fl-share select:focus-visible, .fl-share input:focus-visible { outline: 2px solid var(--orchid); outline-offset: 1px; }

.fl-h { margin: 0; font-size: 17px; color: var(--orchid); }
.fl-kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.fl-kind { display: inline-flex; align-items: baseline; gap: 6px; font: inherit; font-family: var(--mono); font-size: 12px; color: var(--ink-dim);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.fl-kind.on { color: var(--ink); border-color: color-mix(in srgb, var(--orchid) 60%, var(--line)); }
.fl-kind:focus-visible { outline: 2px solid var(--orchid); outline-offset: 1px; }
.fl-editor { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fl-say:empty { display: none; }

@media (max-width: 560px) {
  .fl-log .dev-when { display: inline; }      /* devices.css hides a row's "added" time on a phone; a history keeps its times */
  .fl-share input, .fl-share select { flex: 1 1 140px; }
  .fl-what { flex-basis: 100%; }
}
