/* © 2026 Cromulent, Inc. All Rights Reserved.
   place.css - a device card's "over time" and "where it lives" sections (place.js). Reads only the tokens and
   devices.css; orchid leads, the rest stay quiet. */

.pl-host { display: flex; flex-direction: column; gap: 14px; }
.pl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
.pl-windows { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.pl-win { font: inherit; font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.pl-win.on { color: var(--ink); border-color: color-mix(in srgb, var(--orchid) 60%, var(--line)); }
.pl-win:focus-visible { outline: 2px solid var(--orchid); outline-offset: 1px; }

.pl-signal { display: flex; flex-direction: column; gap: 4px; }
.pl-signal-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.pl-signal-head .dev-what { color: var(--ink-dim); }
.pl-latest { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.pl-range, .pl-readout { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.pl-readout { margin-left: auto; color: var(--orchid-light); }
.pl-chart { display: block; width: 100%; height: 56px; border-radius: 8px; background: var(--panel-2); touch-action: pan-y; }
.pl-line { fill: none; stroke: var(--orchid); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pl-band { fill: color-mix(in srgb, var(--orchid) 14%, transparent); stroke: none; }
.pl-chart circle { fill: var(--orchid); }
.pl-cursor { stroke: var(--ink-faint); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; }

.pl-placed { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.pl-photo { width: 132px; height: 132px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pl-facts { margin: 0; display: grid; gap: 6px; flex: 1 1 200px; min-width: 0; }
.pl-facts div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.pl-facts dt { font-family: var(--pixel); font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--ink-faint); }
.pl-facts dd { margin: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }

.pl-step { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.pl-say { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.pl-say b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.pl-spot { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-spot label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 140px; min-width: 0; }
.pl-spot span { font-family: var(--pixel); font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--ink-faint); }
.pl-spot input, .pl-name { font: inherit; font-family: var(--mono); font-size: 14px; color: var(--ink); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; min-width: 0; width: 100%; box-sizing: border-box; }
.pl-spot input:focus-visible, .pl-name:focus-visible { outline: 2px solid var(--orchid); outline-offset: 1px; }

.pl-past summary { cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }
.pl-past ul { margin: 8px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.pl-past a { color: var(--orchid); }
.pl-past-name { overflow-wrap: anywhere; }
