.pin-headline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-headline .slot-name {
  flex: 0 1 auto;
  min-width: 0;
  padding-right: 0;
}
.pin-period {
  flex: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html[data-frame="v2"] .pin-period {
  font-size: var(--text-small);
  line-height: var(--leading-ui);
  letter-spacing: normal;
  color: var(--paper-3);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .records .pin-headline {
  padding-right: 38px;
}
.pin-plot-body {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
  min-width: 0;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .pin-plot {
  flex: 1 1 0;
  min-height: 0;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]) .pin-plot-body {position: relative;}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]) .pin-plot-body .spark.pin-chart {
  min-height:0; height:100%; max-height:100%; min-width:0;
}
.pin-stat-caption {
  margin-left: 6px;
}
html[data-frame="v2"] .pin-stat-caption {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--paper-2);
  letter-spacing: normal;
}
.pin-value-axis {
  flex: 0 0 auto;
  min-width: 30px;
  padding: 0 6px 0 0;
  display: flex;
  flex-direction: column;
}
.pin-value-axis > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}
.pin-value-axis i {
  font-style: normal;
  white-space: nowrap;
}
html[data-frame="v2"] .pin-value-axis i {
  font: var(--weight-medium) var(--text-tick)/var(--leading-tight) var(--font-figure);
  color: var(--paper-3);
}
.pin-plot-rule {
  stroke-width: 0.65;
  stroke-dasharray: 2 3;
  vector-effect: non-scaling-stroke;
}
html[data-frame="v2"] .pin-plot-rule {
  stroke: var(--chart-grid);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-plot .spark.pin-chart {
  width: 0;
  height: 100%;
  flex: 1 1 0;
  min-width: 0;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example)
  .enlarged.records:not([data-span$="x1"])
  .slot-note:not(.showing-point) {
  display: none;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) > .pin-slot {
  flex-direction: column;
  gap: 3px;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .slot-info {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  max-width: none;
  grid-template-areas: "heading primary";
  align-items: center;
  flex: none;
  gap: 6px;
  padding-right: 33px;
  box-sizing: border-box;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .pin-headline {
  grid-area: heading;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 0;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .slot-value {
  grid-area: primary;
  margin: 0;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .slot-value {
  font-size: var(--figure-medium);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example)
  .enlarged:not([data-span$="x1"]):not(.records)
  .slot-note:not(.showing-point) {
  display: none;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .pin-plot {
  padding: 2px 11px 2px 0;
  gap: 4px;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]):not(.records) .pin-plot-range {
  margin-left: 35px;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]) .pin-plot-key {
  column-gap: 11px;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .enlarged:not([data-span$="x1"]) .pin-plot-key {
  font-size: var(--text-tick);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-wrapper.enlarged .pin-minirow {
  min-height: 14px;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-wrapper.enlarged .pin-minirow {
  font-size: var(--text-small);
  line-height: var(--leading-ui);
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-wrapper.enlarged .pin-table-head {
  font-size: var(--text-tick);
  line-height: var(--leading-ui);
}
@media (max-height: 750px) {
  :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-wrapper.enlarged .pin-minirow {
  min-height: 12px;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-wrapper.enlarged .pin-minirow {
  line-height: var(--leading-ui);
}
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) .pin-minirow .pin-row-art { display:flex; align-items:center; gap:6px; min-width:0; height:31px; }
.pin-row-art img,.pin-row-art > i {
  display: inline-block;
  flex: none;
  width: 23px;
  height: 27px;
  object-fit: contain;
}
html[data-frame="v2"] .pin-row-art img,
html[data-frame="v2"] .pin-row-art > i {
  border-radius: var(--radius-mark);
  background: var(--well);
}

/* Component-defined pin layouts share type and alignment at each span. */
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .slot-value,
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .pin-minirow > b,
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .pin-record-head strong {
  font-variant-numeric: lining-nums tabular-nums;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .pin-record-head {
  display: inline-block;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .pin-record-head {
  color: var(--paper-2);
  font-size: var(--text-small);
  line-height: var(--leading-ui);
  font-weight: var(--weight-medium);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .pin-record-head strong {
  margin-right: 3px;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view] .pin-record-head strong {
  color: var(--paper);
  font-size: var(--text-small);
  font-weight: var(--weight-strong);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="metric"].enlarged .pin-slot .slot-info {
  width: 100%; max-width: none; align-self:stretch; flex:1; min-height:0;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="metric"].enlarged:not([data-span$="x1"]) .pin-slot .slot-value {
  margin-top: 5px;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="metric"].enlarged:not([data-span$="x1"]) .pin-slot .slot-value {
  font-size: var(--figure-medium);
  line-height: var(--leading-tight);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="metric"] .pin-stat-caption,
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="trend"] .pin-stat-caption {
  display: inline-block;
  font-family: inherit;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="metric"] .pin-stat-caption,
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="trend"] .pin-stat-caption {
  line-height: var(--leading-tight);
  font-weight: var(--weight-medium);
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="trend"][data-span="1x1"] .pin-plot {
  flex: 0 1 32%; align-self:stretch; padding:11px 0 0;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="trend"][data-span="1x1"] .pin-plot-range {
  display:none;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view="trend"][data-span="1x1"] .pin-plot-body {
  min-height:18px; max-height:25px;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view].enlarged.records[data-span$="x1"] .slot-note {
  display:none;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view].enlarged.records[data-span$="x1"]:has(.pin-pages) .pin-minitable {
  margin-right:90px;
}
:is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view].enlarged.records .pin-table-head {
  text-transform: none;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header, .component-pin-example) [data-pin-view].enlarged.records .pin-table-head {
  font-family: var(--font-ui);
  font-weight: var(--weight-medium);
  letter-spacing: normal;
  color: var(--paper-2);
}

.component-pin-example {
  --pin-unit:66px;
  width:min(100%, calc(var(--span-w) * 300px + (var(--span-w) - 1) * 6px));
  height:calc(var(--span-h) * var(--pin-unit) + (var(--span-h) - 1) * 6px);
  min-width:0;
}
.component-pin-example .pin-wrapper {height:100%;position:relative;}
.component-pin-example .pin-wrapper > .pin-slot {width:100%;cursor:default;}
.component-pin-example .pin-minirow {cursor:default;}
.component-pin-example .pin-minirow:hover {text-decoration:none;}
@media (max-height:750px) {
  .component-pin-example {--pin-unit:57px;}
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view] .slot-name {
  font-size: var(--text-small);
  font-weight: var(--weight-strong);
  color: var(--paper);
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-minirow,
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-minirow > span,
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-minirow > b {
  font-size: var(--text-small);
  line-height: var(--leading-ui);
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-table-head,
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-plot-key {
  font-size: var(--text-tick);
  line-height: var(--leading-ui);
}
:is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view] .slot-note {
  font-variant-numeric: tabular-nums;
}
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view] .slot-note {
  font-size: var(--text-small);
}
@media(max-height:750px) {
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-minirow,
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-minirow > span,
html[data-frame="v2"] :is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].enlarged .pin-minirow > b {
  font-size: var(--text-small);
  line-height: var(--leading-ui);
}
}

:is(:where(html:not([data-frame="v2"])) #map-header,.component-pin-example) [data-pin-view].records[data-span^="1x"] :is(.pin-table-head,.pin-minirow) {
  grid-template-columns: minmax(0,.85fr) repeat(var(--read-cols,1),minmax(0,1fr));
}

/* Expanded wells keep plot and record targets from the saved component. */
html[data-frame="v2"] :is(#slots, .om-dashboard-wells) .pin-plot-rule {
  stroke: var(--chart-grid);
}
html[data-frame="v2"] .om-dashboard-wells .pin-plot {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  block-size: 100%;
  min-block-size: 0;
  min-inline-size: 0;
}
html[data-frame="v2"] .om-dashboard-wells .pin-plot-body {
  flex: 1;
  overflow: hidden;
}
html[data-frame="v2"] .om-dashboard-wells .pin-plot-body .spark {
  flex: 1;
  inline-size: 0;
  block-size: 100%;
  min-block-size: 0;
  max-block-size: none;
}
html[data-frame="v2"] .om-dashboard-wells .pin-value-axis {
  min-inline-size: var(--space-8);
  padding-inline-end: var(--space-2);
}
html[data-frame="v2"] .om-dashboard-wells :is(.pin-value-axis i, .pin-plot-range) {
  color: var(--paper-3);
  font: var(--weight-medium) var(--text-tick)/var(--leading-tight) var(--font-figure);
  font-variant-numeric: tabular-nums;
}
html[data-frame="v2"] .om-dashboard-wells .pin-plot-key {
  color: var(--paper-2);
  font: var(--weight-medium) var(--text-tick)/var(--leading-ui) var(--font-ui);
}
html[data-frame="v2"] .om-dashboard-wells .pin-plot-axis {
  stroke: var(--chart-axis);
}
html[data-frame="v2"] .om-dashboard-wells .pin-table-head {
  color: var(--paper-2);
  border-block-end: 1px solid var(--rule-strong);
  font: var(--weight-medium) var(--text-small)/var(--leading-ui) var(--font-ui);
  letter-spacing: normal;
}
html[data-frame="v2"] .om-dashboard-wells :is(.pin-minirow, .pin-flow-source, .pin-flow-outcomes) {
  color: var(--paper);
  font: var(--weight-regular) var(--text-small)/var(--leading-ui) var(--font-ui);
}
html[data-frame="v2"] .om-dashboard-wells :is(.pin-minirow, .pin-flow-source) > b {
  font: var(--weight-medium) var(--figure-dense)/var(--leading-tight) var(--font-figure);
  font-variant-numeric: tabular-nums;
}
html[data-frame="v2"] .om-dashboard-wells .pin-row-art :is(img, i) {
  border-radius: var(--radius-mark);
  background-color: var(--well);
}
html[data-frame="v2"] .om-dashboard-wells .pin-flow-outcomes > span {
  border-inline-start-color: var(--mark-context);
}
/* A flow row names its source and outcome but has no assigned identity slot.
   Its dot and ribbon share one emphasis colour across sorting and paging. */
html[data-frame="v2"] .om-dashboard-wells .pin-flow-source i {
  display: none;
}
html[data-frame="v2"] .om-dashboard-wells .pin-flow-source::before {
  content: "";
  flex: none;
  inline-size: var(--space-1);
  block-size: var(--space-1);
  border-radius: var(--radius-pill);
  background: var(--lamp-mark);
}
html[data-frame="v2"] .om-dashboard-wells .pin-flow g[data-mini-row] path:first-child {
  stroke: var(--lamp-mark);
}
html[data-frame="v2"] #slots .om-component-chart > [data-component-figure] > .spark {
  display: block;
  inline-size: 100%;
  block-size: var(--control-m);
  max-inline-size: none;
  margin: 0;
}
html[data-frame="v2"] #frame-page .om-dashboard-wells .om-pin-content {
  position: absolute;
  inset: 0;
  min-block-size: 0;
}
html[data-frame="v2"] .om-dashboard-wells .om-component-chart {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-block-size: 0;
}
html[data-frame="v2"] .om-dashboard-wells .om-component-chart [data-component-figure] {
  flex: 1 1 0;
  block-size: auto;
  min-block-size: 0;
}
html[data-frame="v2"] #frame-page .om-dashboard-wells [data-span$="x1"] .om-component[data-size="card"] {
  gap: var(--space-1);
}
html[data-frame="v2"] .om-dashboard-wells [data-span$="x1"] .om-component-heading {
  block-size: var(--control-s);
}
html[data-frame="v2"] .om-dashboard-wells [data-span$="x1"] .om-component-sources {
  padding-block-start: var(--space-1);
}
html[data-frame="v2"] .om-dashboard-wells .pin-plot .spark {
  max-inline-size: none;
  margin: 0;
}

/* D83: the dashboard preview uses whole rows at the tile's type size. */
html[data-frame="v2"] .om-dashboard-wells :is(.pin-minirow,.pin-table-head) {
  min-block-size: 26px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) repeat(var(--read-cols,1),minmax(0,1fr));
  gap: var(--space-2);
}
html[data-frame="v2"] .om-dashboard-wells .pin-minirow > :is(span,b) {
  color: var(--paper); opacity: 1;
  font-size: var(--text-small);
}
html[data-frame="v2"] .om-dashboard-wells .pin-minitable { margin: 0; }
/* A qualified tile keeps the measure beside its figure, including when the
   comparison wraps. All three saved component forms share the same rows. */
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(.om-qualifier) .om-reading-amount { grid-column:1; }
html[data-frame="v2"] #slots .om-component[data-size="tile"] .om-qualifier { grid-row:2; grid-column:2 / -1; justify-self:end; text-align:end; }
/* om-2rhwo (4): every drawn tile keeps its title. Content taller than the band (a narrow tile at six or seven, its
   figure and what it leaves out side by side) is centred only while it fits, then starts at the title (safe), and the
   figure never breaks across lines. */
html[data-frame="v2"] #slots .om-component[data-size="tile"] { align-content: safe center; }
html[data-frame="v2"] #slots .om-component[data-size="tile"] .om-reading-amount { white-space: nowrap; }
/* om-lc7yq (4): the band's figures on one baseline, whatever a tile's title lines, the door in its heading, the 'as of'
   tag beside its figure or its figure's size (the profit figure sat 8 px lower than its neighbours): the title at the
   top, the comparison line at the foot, and the figure's row ends on the figure's own baseline (text-box trims what
   hangs below each part of it), so in every tile the baseline stands at one height above the foot. */
/* No gap between the rows: the figure's row keeps the room under its baseline as its own padding, so a title of two lines
   with a door beside it still fits the band without pushing the figure down. */
html[data-frame="v2"] #slots .om-component[data-size="tile"] { grid-template-rows: auto 1fr auto; row-gap: 0; }
html[data-frame="v2"] #slots .om-component[data-size="tile"] > .om-component-heading { align-self: start; }
html[data-frame="v2"] #slots .om-component[data-size="tile"] .om-reading-amount { align-self: end; padding-block-end: calc(2 * var(--space-1)); }
html[data-frame="v2"] #slots .om-component[data-size="tile"] .om-reading-amount > * { text-box: trim-end text alphabetic; }
html[data-frame="v2"] #slots .om-component[data-size="tile"] > :is(.om-component-chart, .om-qualifier) { align-self: end; }
/* om-vc1ek: two columns only while what it leaves out is shown; words that gave way (pin-tray.js) give the state line the width. */
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(.om-qualifier[data-leaves-out]:not([data-gave-way])) { grid-template-columns: fit-content(62%) minmax(0,1fr) auto; }
/* om-5wtki (3): a band tile drawing its line gives the words beside its figure way to it, whenever the line arrives (the
   tray's measure ran before a line drawn later and the two overlapped); the figure's hover says them (pin-tray.js). */
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(.om-component-chart .spark) .om-qualifier[data-leaves-out] { display:none; }

/* om-jl12e (the owner, 20 Nov: 'these charts are pretty small ... on demo store they look nicer/bigger'): a band tile
   drawing its line is its figure WITH its shape, as on the older strip. The figure keeps its own width (max-content); the
   line takes ALL the rest of the tile's width (pin-tray.js shortens a figure that would leave it less than
   --strip-chart-least; a tile too narrow even then narrows its line, never pushes it out of the tile) and the whole height between the title and the comparison line, about twice the old 30 px. The
   comparison line runs under the figure across the tile; the source marks sit in the line's lower right corner, and the
   line keeps --figure-floor clear above its foot (chart-forms sparkline) so they never cover a point of it. A second
   figure is on the comparison line (anatomy.js), so the line keeps the width beside the figure. The two :has() keep this
   rule above the qualifier's and the state door's columns (om-vc1ek, om-5wtki), which it replaces for a tile with a line. */
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark):has(> .om-component-heading) {
  --strip-chart-least: 96px;
  grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--space-4);
}
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark) .om-reading-amount { grid-row: 2; grid-column: 1; }
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark) > .om-component-chart {
  grid-row: 2; grid-column: 2; align-self: stretch; justify-self: stretch; display: flex; flex-direction: column;
  inline-size: auto; max-inline-size: none; min-inline-size: 0; min-block-size: 0; padding-block-start: var(--space-1);
}
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark) > .om-component-chart > [data-component-figure] {
  flex: 1 1 0; min-block-size: 0; block-size: auto;
}
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark) > .om-component-chart > [data-component-figure] > .spark { block-size: 100%; }
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark):has(> .om-component-sources) > .om-component-chart > [data-component-figure] { --figure-floor: 17px; }
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark) > .om-component-sources {
  grid-row: 2; grid-column: 2; align-self: end; justify-self: end; position: relative; z-index: 1;
}
html[data-frame="v2"] #slots .om-component[data-size="tile"]:has(> .om-component-chart .spark) :is(.om-change, .om-state-copy) { grid-column: 1 / -1; }

/* The dashboard table shares the headline's left edge. Intrinsic tracks keep
   every numeric column aligned without spreading a short table across a tile. */
html[data-frame="v2"] .om-dashboard-wells .records .om-component-chart {
  inline-size: 100%; margin-inline: 0; flex: 1; min-block-size: 0;
}
html[data-frame="v2"] .om-dashboard-wells .pin-minitable {
  grid-template-columns: max-content repeat(var(--read-cols,1),max-content);
  justify-content: start; column-gap: var(--space-4); row-gap: 1px;
}
html[data-frame="v2"] .om-dashboard-wells :is(.pin-minirow,.pin-table-head) {
  grid-column: 1 / -1; grid-template-columns: subgrid;
  column-gap: var(--space-4); block-size: 26px; min-block-size: 26px;
}
html[data-frame="v2"] .om-dashboard-wells :is(.pin-minirow,.pin-table-head) > :not(:first-child) { text-align: end; }
html[data-frame="v2"] .om-dashboard-wells .pin-records-more {
  grid-column: 1 / -1; color: var(--paper-3); font-size: var(--text-small); line-height: 18px;
}

/* om-eyu49 slice 3 (the owner, 19 Nov: 'why dont all relevant widgets ... show the bigger line charts'): a well with a
   line is the strip's tile grown up. Wide (two columns or more): its figure and words at the left, its line (the earlier
   period faint behind it) filling the rest of the well's height at the right. Narrow: stacked, the line taking the height
   the words leave. Before, a card's chart kept the canvas card's 276 px and took only what the words left over. */
html[data-frame="v2"] .om-dashboard-wells .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr) auto; align-content: stretch;
}
html[data-frame="v2"] .om-dashboard-wells .om-component[data-size="card"] > .om-component-chart:has(.pin-plot) {
  grid-row: 4; inline-size: auto; margin-inline: 0; min-block-size: 72px; block-size: 100%; align-self: stretch;
}
html[data-frame="v2"] .om-dashboard-wells .om-component[data-size="card"] > .om-component-chart:has(.pin-plot) [data-component-figure] { block-size: 100%; }
html[data-frame="v2"] .om-dashboard-wells .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) > .om-component-sources { grid-row: 5; }
html[data-frame="v2"] .om-dashboard-wells .pin-wrapper.enlarged .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) {
  grid-template-columns: minmax(176px, 30%) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; column-gap: var(--space-5, 20px);
}
html[data-frame="v2"] .om-dashboard-wells .pin-wrapper.enlarged .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) > * { grid-column: 1; }
html[data-frame="v2"] .om-dashboard-wells .pin-wrapper.enlarged .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) > .om-component-heading { grid-column: 1 / -1; grid-row: 1; }
html[data-frame="v2"] .om-dashboard-wells .pin-wrapper.enlarged .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) > .om-component-chart { grid-column: 2; grid-row: 2 / 4; }
html[data-frame="v2"] .om-dashboard-wells .pin-wrapper.enlarged .om-component[data-size="card"]:has(> .om-component-chart .pin-plot) > .om-component-sources { grid-column: 1 / -1; grid-row: 4; }
/* om-eyu49 slice 3: a well's switch, quiet in its top right beside the open mark: what it shows, then Group by. */
html[data-frame="v2"] .om-dashboard-wells .pin-well-views {
  position: absolute; inset-block-start: var(--space-3); inset-inline-end: calc(var(--space-3) + 28px); z-index: 1;
  display: flex; gap: var(--space-2); align-items: center;
}
html[data-frame="v2"] .om-dashboard-wells .pin-well-seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius-control); overflow: hidden; }
html[data-frame="v2"] .om-dashboard-wells .pin-well-seg button {
  appearance: none; border: 0; background: transparent; color: var(--paper-3); padding: 1px var(--space-2);
  font: var(--weight-medium) var(--text-tick)/var(--leading-ui) var(--font-ui); cursor: pointer;
}
html[data-frame="v2"] .om-dashboard-wells .pin-well-seg button + button { border-inline-start: 1px solid var(--rule); }
html[data-frame="v2"] .om-dashboard-wells .pin-well-seg button:is(:hover, :focus-visible) { color: var(--paper); background: var(--wash-hover); }
html[data-frame="v2"] .om-dashboard-wells .pin-well-seg button[aria-pressed="true"] { color: var(--paper); background: var(--selection); }
/* A narrow well has no room for a switch beside its title: Group by alone, under the title's line. */
/* (narrow wells: the container rules below) */

/* om-eyu49 slice 4: a tile's own menu (the date menu's look: --table, --raise-3, rows of --control-m, the lamp wash on
   the row under the hand), and its quiet control, out of sight at rest (rule 2) and shown with the tile's hover wash. */
.pin-tile-menu {
  position: fixed; z-index: var(--z-tip, 60); display: grid; gap: 0; min-width: min(var(--menu-width), calc(100vw - 16px));
  padding: var(--space-1); border: 1px solid var(--rule-strong); border-radius: var(--radius-control);
  background: var(--table); color: var(--paper); box-shadow: var(--raise-3); font: var(--text-ui)/var(--leading-ui) var(--font-ui);
}
.pin-tile-menu-head { padding: var(--space-1) var(--space-2); color: var(--paper-3); font: var(--weight-medium) var(--text-small)/var(--leading-ui) var(--font-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-tile-menu [role="menuitem"] {
  min-height: var(--control-m); text-align: start; padding: 0 var(--space-2); margin: 0; border: 0; border-radius: var(--radius-control);
  background: transparent; color: var(--paper-2); font: var(--text-ui)/var(--leading-ui) var(--font-ui); cursor: pointer;
}
.pin-tile-menu [role="menuitem"]:is(:hover, :focus-visible, :focus) { color: var(--lamp-ink); background: var(--lamp-wash); outline: none; }
.pin-tile-menu [data-tile-action="edit"] { border-top: 1px solid var(--rule); border-radius: 0 0 var(--radius-control) var(--radius-control); }
.pin-wrapper > .pin-tile-more {
  position: absolute; inset-block-start: var(--space-1); inset-inline-end: var(--space-1); z-index: 2;
  display: grid; place-items: center; inline-size: 24px; block-size: 20px; padding: 0; margin: 0;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-control); background: var(--table); color: var(--paper-2);
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity var(--dur-quick, 120ms) var(--ease-out, ease-out);
}
.pin-wrapper:is(:hover, :focus-within, [data-menu-open]) > .pin-tile-more { opacity: 1; pointer-events: auto; }
.pin-wrapper > .pin-tile-more:is(:hover, :focus-visible) { color: var(--paper); }
#pin-tray .pin-wrapper:is(:hover, [data-menu-open]) { background: var(--wash-hover); }
/* In a well the open mark keeps the corner: the control sits left of it, the well's switch left of that. */
html[data-frame="v2"] .om-dashboard-wells .pin-wrapper > .pin-tile-more { inset-block-start: calc(var(--space-3) - 1px); inset-inline-end: calc(var(--space-3) + 26px); }
html[data-frame="v2"] .om-dashboard-wells .pin-well-views { inset-inline-end: calc(var(--space-3) + 56px); }
/* A well's switch never covers its title: under 600 px a well keeps Group by alone, under 380 px no switch (its card,
   one click away, keeps every view). */
html[data-frame="v2"] .om-dashboard-wells > .pin-wrapper { container: om-well / inline-size; }
@container om-well (max-width: 600px) { html[data-frame="v2"] .om-dashboard-wells .pin-well-views .pin-well-seg:not(:last-child) { display: none; } }
@container om-well (max-width: 380px) { html[data-frame="v2"] .om-dashboard-wells .pin-well-views { display: none; } }
/* A well's caption wraps rather than ending in an ellipsis (the Director on BUILD 2: no ellipsis anywhere). */
html[data-frame="v2"] .om-dashboard-wells .om-reading .om-qualifier { white-space: normal; text-overflow: clip; overflow: visible; text-wrap: pretty; }
/* On the strip the control takes the heading's end on hover: a state chip ('Needs costs') moves aside, never under it. */
#pin-tray .pin-wrapper:is(:hover, :focus-within, [data-menu-open]) .om-component-heading { padding-inline-end: 26px; }
/* A well's words column wraps its comparison and captions rather than cutting them (the sample's 'compared with the
   prior 7 days' ended in an ellipsis once the line took the well's right side). The figure itself stays on one line. */
html[data-frame="v2"] .om-dashboard-wells .om-reading :is(.om-change, .om-reading-label, .om-matched, .slot-note) { white-space: normal; text-overflow: clip; overflow: visible; text-wrap: pretty; }
