:root {
  --color-bg: #f0efe9;
  --color-surface: #ffffff;
  --color-surface-tint: rgba(255, 255, 255, 0.78);
  --color-primary: #0f1923;
  --color-primary-soft: #334556;
  --color-amber: #e8a020;
  --color-energy: #e8a020;
  --color-natural-gas: #2f8b84;
  --color-metals: #4a90d9;
  --color-agri: #5ba85c;
  --color-macro: #8662d6;
  --color-cross: #7b8894;
  --color-border: #d1cec8;
  --color-subtext: #5e6b76;
  --color-up: #366646;
  --color-down: #b74e43;
  --color-signal-neutral: #d1cdc7;
  --color-signal-neutral-ink: #7d766f;
  --color-signal-above: #2d6a4f;
  --color-signal-well-above: #1b4332;
  --color-signal-below: #c0392b;
  --color-signal-well-below: #922b21;
  --nav-height: 52px;
  --filter-height: 52px;
  --shell-max: 1680px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-primary);
  background: var(--color-bg);
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

/* .sr-only promoted to shared/loading-states.css (loaded via site-shell.css). */

.filter-wrap.home-filter-wrap {
  z-index: 95;
  background: var(--color-bg);
}

.home-filter-bar-shell {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.home-filter-primary {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.home-filter-bar {
  min-height: var(--filter-height);
  align-items: center;
}

.home-sector-row {
  gap: 24px;
}

.home-sector-pill.is-selected,
.home-sector-pill.is-partial,
.home-sector-pill:hover {
  color: var(--filter-pill-color, var(--color-subtext));
}

.home-filter-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  padding-right: 28px;
}

.home-filter-actions:empty {
  display: none;
}

.home-filter-selection,
.home-filter-section-label,
.home-filter-collapsed-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subtext);
}

.home-filter-selection {
  white-space: nowrap;
}

.home-filter-reset-link,
.home-filter-collapse-button {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-subtext);
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease;
}

.home-filter-reset-link:hover:not(:disabled),
.home-filter-collapse-button:hover {
  color: var(--color-primary);
}

.home-filter-reset-link:disabled {
  opacity: 0.45;
  cursor: default;
}

.home-filter-layer {
  display: grid;
  gap: 16px;
}

.home-group-sections {
  gap: 16px 22px;
}

.home-group-section {
  gap: 10px;
}

.home-group-chip {
  font-weight: 600;
}

.home-group-chip.is-partial {
  border-style: dashed;
}

.home-filter-section {
  display: grid;
  gap: 10px;
}

.home-filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-filter-section-label,
.home-filter-collapsed-label {
  margin: 0;
}

.home-filter-section-copy {
  margin: 0;
  color: var(--color-subtext);
  font-size: 13px;
}

.home-filter-wrap.is-collapsed .filter-bar {
  min-height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

.home-filter-collapsed-copy {
  display: grid;
  gap: 6px;
}

.home-filter-summary-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-summary-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 25, 35, 0.06);
  font-size: 13px;
  line-height: 1;
}

.home-summary-pill.has-tone {
  color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--summary-accent) 28%, transparent);
  background: color-mix(in srgb, var(--summary-accent) 12%, white);
}

.home-filter-collapsed-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-right: 28px;
}

.page-shell {
  width: min(100%, calc(var(--shell-max) + 80px));
  max-width: 100%;
  margin: 0 auto;
  padding: 18px clamp(16px, 2vw, 40px) 84px;
  min-width: 0;
}

#dashboard-root,
#what-to-watch,
.dashboard-grid,
.dashboard-main,
.dashboard-sidebar,
.dashboard-module,
.module-card,
.module-header,
.module-body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.76fr) minmax(300px, 360px);
  gap: 14px 20px;
  align-items: start;
  min-width: 0;
}

.dashboard-main {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.dashboard-module {
  min-width: 0;
  max-width: 100%;
}

.dashboard-sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  min-width: 0;
  max-width: 100%;
}

.dashboard-grid.has-empty-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-grid.has-empty-sidebar .dashboard-main {
  grid-column: 1;
}

.dashboard-grid.has-empty-sidebar .dashboard-sidebar {
  display: none;
}

.dashboard-grid.has-empty-sidebar.is-layout-dragging {
  grid-template-columns: minmax(0, 1.76fr) minmax(300px, 360px);
}

.dashboard-grid.has-empty-sidebar.is-layout-dragging .dashboard-sidebar {
  display: flex;
  min-height: 76px;
}

.dashboard-grid.is-layout-dragging .dashboard-sidebar[data-layout-empty="true"]::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  border: 1px dashed currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
  color: var(--color-subtext);
  content: "Drop in Sidebar";
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-grid.is-layout-dragging .dashboard-sidebar[data-layout-drop-validity="valid"]::before {
  border-color: var(--color-amber);
}

.dashboard-grid.is-layout-dragging .dashboard-sidebar.has-layout-insertion-marker::before {
  display: none;
}

/* Desktop-only, registry-driven in-place layout editor. */
.dashboard-customiser {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.dashboard-customiser.is-active {
  margin-bottom: 10px;
}

.dashboard-layout-entry-button,
.dashboard-layout-reset,
.dashboard-layout-done,
.dashboard-hidden-toggle,
.dashboard-hidden-restore,
.dashboard-module-edit-button {
  appearance: none;
  border: 1px solid rgba(15, 25, 35, 0.24);
  border-radius: 3px;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

.dashboard-layout-entry-button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 30px;
  padding: 4px 8px;
  color: var(--color-subtext);
  font-size: 12px;
}

.dashboard-layout-entry-icon {
  width: 16px;
  height: 16px;
  overflow: visible;
  fill: var(--color-bg);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.25;
}

.dashboard-layout-entry-button:hover,
.dashboard-layout-reset:hover,
.dashboard-hidden-toggle:hover,
.dashboard-hidden-restore:hover,
.dashboard-module-edit-button:hover:not(:disabled) {
  border-color: rgba(15, 25, 35, 0.52);
  background: rgba(15, 25, 35, 0.045);
  color: var(--color-primary);
}

.dashboard-layout-toolbar {
  padding: 8px 10px;
  border-top: 1px solid rgba(15, 25, 35, 0.24);
  border-bottom: 1px solid rgba(15, 25, 35, 0.24);
  background: rgba(255, 255, 255, 0.35);
}

.dashboard-layout-toolbar-main,
.dashboard-layout-toolbar-actions,
.dashboard-hidden-tray,
.dashboard-module-edit,
.dashboard-module-edit-actions {
  display: flex;
  align-items: center;
}

.dashboard-layout-toolbar-main {
  justify-content: space-between;
  gap: 16px;
}

.dashboard-layout-toolbar-copy {
  display: flex;
  align-items: baseline;
  gap: 5px 12px;
  min-width: 0;
}

.dashboard-layout-toolbar-copy strong {
  font-size: 13px;
}

.dashboard-layout-toolbar-copy span,
.dashboard-module-edit-size {
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.dashboard-layout-toolbar-actions {
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.dashboard-layout-reset,
.dashboard-layout-done,
.dashboard-hidden-toggle,
.dashboard-hidden-restore {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 11px;
}

.dashboard-layout-done {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.dashboard-layout-done:hover {
  background: rgba(15, 25, 35, 0.88);
}

.dashboard-hidden-toggle::after {
  display: inline-block;
  margin-left: 5px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(-45deg);
}

.dashboard-hidden-toggle[aria-expanded="true"]::after {
  transform: translateY(-2px) rotate(45deg);
}

.dashboard-hidden-tray {
  order: 10;
  flex: 1 0 100%;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}

.dashboard-hidden-tray[hidden] {
  display: none;
}

.dashboard-hidden-restore {
  color: var(--color-subtext);
  font-weight: 500;
}

.dashboard-hidden-restore span {
  margin-left: 5px;
  color: var(--color-primary);
  font-weight: 600;
}

.dashboard-module-edit {
  gap: 7px;
  min-height: 36px;
  padding: 4px 6px;
  border: 1px solid rgba(15, 25, 35, 0.28);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 3px 0 var(--module-accent, var(--color-amber));
}

.dashboard-module.is-layout-editing > .module-card {
  border-radius: 0 0 var(--radius) var(--radius);
}

.dashboard-module.is-layout-editing > .module-card[inert] {
  pointer-events: none;
  user-select: none;
}

/* A data-empty module may hide itself during normal use. Keep its real card
   available as a layout target while editing; preference-hidden modules are
   removed from the DOM and are therefore unaffected. */
.dashboard-grid.is-customising .dashboard-module[hidden] {
  display: block !important;
}

.dashboard-layout-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 26px;
  border-radius: 2px;
  color: var(--color-subtext);
  cursor: grab;
}

.dashboard-layout-drag-handle:hover {
  background: rgba(15, 25, 35, 0.06);
  color: var(--color-primary);
}

.dashboard-layout-drag-handle:active {
  cursor: grabbing;
}

.dashboard-layout-drag-handle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dashboard-module-edit-size {
  flex: 0 0 auto;
  text-transform: uppercase;
}

.dashboard-module-edit-actions {
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 4px;
}

.dashboard-module-edit-button {
  min-height: 27px;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1;
}

.dashboard-module-edit-button--hide {
  color: var(--color-subtext);
}

.dashboard-module-edit-button:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

[data-layout-drop-region] {
  position: relative;
}

.dashboard-grid.is-layout-dragging [data-layout-drop-validity="valid"] {
  outline: 1px dashed rgba(232, 160, 32, 0.72);
  outline-offset: 5px;
}

.dashboard-grid.is-layout-dragging [data-layout-drop-validity="invalid"] {
  outline: 1px dashed rgba(107, 114, 128, 0.42);
  outline-offset: 5px;
}

.dashboard-module.is-dragging {
  opacity: 0.52;
}

.dashboard-layout-insertion-marker {
  position: absolute;
  z-index: 5;
  border-radius: 999px;
  background: var(--color-amber);
  box-shadow: 0 0 0 2px var(--color-bg);
  pointer-events: none;
}

.dashboard-layout-insertion-marker.is-horizontal {
  right: 0;
  left: 0;
  height: 3px;
  transform: translateY(-50%);
}

.dashboard-layout-insertion-marker.is-horizontal::after,
.dashboard-layout-insertion-marker.is-vertical::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-amber);
  box-shadow: 0 0 0 2px var(--color-bg);
  content: "";
}

.dashboard-layout-insertion-marker.is-horizontal::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dashboard-layout-insertion-marker.is-vertical {
  width: 3px;
  transform: translateX(-50%);
}

.dashboard-layout-insertion-marker.is-vertical::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dashboard-layout-insertion-marker.is-empty-region {
  position: relative;
  z-index: auto;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 70px;
  border: 1px dashed var(--color-amber);
  border-radius: var(--radius);
  background: rgba(232, 160, 32, 0.06);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-layout-entry-button:focus-visible,
.dashboard-layout-reset:focus-visible,
.dashboard-layout-done:focus-visible,
.dashboard-hidden-toggle:focus-visible,
.dashboard-hidden-restore:focus-visible,
.dashboard-module-edit-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.module-card {
  border: 1.5px solid var(--module-accent, var(--color-cross));
  border-radius: var(--radius);
  background: var(--color-surface);
  min-width: 0;
  max-width: 100%;
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px 10px;
}

.module-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--type-panel-title);
  line-height: 1.08;
  letter-spacing: 0;
}

.module-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-subtext);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease;
}

.module-link:hover {
  color: var(--color-primary);
}

.module-body {
  padding: 0 22px 20px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.module-loading,
.module-scope,
.module-note,
.module-empty-copy {
  margin: 0;
  color: var(--color-subtext);
  font-size: 13px;
}

.module-loading,
.module-scope,
.module-note {
  margin-bottom: 12px;
}

/* module-scope: meta label for scoped/filtered module content */
.module-scope {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.module-note {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 25, 35, 0.05);
}

/* Demand Pulse rows */

.demand-rows {
  display: flex;
  flex-direction: column;
}

.demand-row {
  display: grid;
  grid-template-columns: 3px 1fr auto;
  gap: 0 12px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--color-border);
  text-decoration: none;
  transition: opacity 120ms ease;
}

.demand-row:first-child {
  border-top: none;
  padding-top: 0;
}

.demand-row:last-child {
  padding-bottom: 0;
}

.demand-row:hover {
  opacity: 0.75;
}

.demand-bar {
  width: 3px;
  height: 32px;
  border-radius: 2px;
  background: var(--demand-accent, var(--color-amber));
  align-self: center;
}

.demand-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.demand-series {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demand-yoy {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-subtext);
}

.demand-yoy.up   { color: var(--color-up); }
.demand-yoy.down { color: var(--color-down); }
.demand-yoy.na   { color: var(--color-subtext); }

.demand-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.demand-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.demand-age {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  color: var(--color-subtext);
}

/* Weather Risk rows */

.weather-risk-list {
  display: grid;
}

.weather-risk-row {
  --weather-risk-accent: var(--color-border);
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 0 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
  transition: opacity 120ms ease;
}

.weather-risk-row:first-child {
  border-top: none;
  padding-top: 0;
}

.weather-risk-row:last-child {
  padding-bottom: 0;
}

.weather-risk-row:hover {
  opacity: 0.75;
}

.weather-risk-marker {
  width: 4px;
  height: 34px;
  border-radius: 3px;
  background: var(--weather-risk-accent);
}

.weather-risk-row[data-sector="energy"] {
  --weather-risk-accent: var(--color-energy);
}

.weather-risk-row[data-sector="metals"] {
  --weather-risk-accent: var(--color-metals);
}

.weather-risk-row[data-sector="agriculture"] {
  --weather-risk-accent: var(--color-agri);
}

.weather-risk-row[data-sector="cross-commodity"] {
  --weather-risk-accent: var(--color-cross);
}

.weather-risk-row[data-signal-family="river_logistics"][data-severity="elevated"] {
  --weather-risk-accent: var(--color-amber);
}

.weather-risk-row[data-signal-family="river_logistics"][data-severity="severe"] {
  --weather-risk-accent: var(--color-down);
}

.weather-risk-copy,
.weather-risk-values {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.weather-risk-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-risk-context {
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-risk-values {
  align-items: flex-end;
}

.weather-risk-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.weather-risk-delta {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  color: var(--color-subtext);
  white-space: nowrap;
}

.weather-risk-delta.is-up {
  color: var(--color-up);
}

.weather-risk-delta.is-down {
  color: var(--color-down);
}

.dashboard-module[data-layout-size="wide"] .demand-rows,
.dashboard-module[data-layout-size="wide"] .weather-risk-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.dashboard-module[data-layout-size="wide"] .demand-row:nth-child(-n + 2),
.dashboard-module[data-layout-size="wide"] .weather-risk-row:nth-child(-n + 2) {
  padding-top: 0;
  border-top: 0;
}

.module-empty-title {
  margin: 0 0 4px;
  font-weight: 600;
}

.price-strip {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 4px;
  touch-action: pan-y pinch-zoom;
}

.price-strip-track {
  display: flex;
  gap: 12px;
  padding-left: 2px;
  width: max-content;
  will-change: transform;
}

.price-tile {
  appearance: none;
  position: relative;
  --pointer-x: 50%;
  --pointer-y: 50%;
  flex: 0 0 196px;
  width: 196px;
  min-height: 236px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  border: 1px solid rgba(15, 25, 35, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.price-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(
      120px circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 255, 255, 0.84),
      rgba(232, 160, 32, 0.48) 44%,
      transparent 74%
    );
  opacity: 0;
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.price-tile::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.75) 45%, rgba(232, 160, 32, 0.42) 50%, transparent 60%);
  background-size: 220% 220%;
  opacity: 0;
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.price-tile:hover,
.price-tile:focus-visible {
  border-color: rgba(15, 25, 35, 0.18);
}

.price-tile:hover::before,
.price-tile:focus-visible::before {
  opacity: 0.88;
}

.price-tile:hover::after,
.price-tile:focus-visible::after {
  opacity: 0.92;
  animation: priceBorderShimmer 2.4s linear infinite;
}

@keyframes priceBorderShimmer {
  from {
    background-position: 200% 50%;
  }
  to {
    background-position: -20% 50%;
  }
}

.price-tile-head {
  align-self: start;
}

.price-tile-label {
  margin: 0 0 3px;
  color: var(--color-subtext);
  font-size: 12px;
}

.price-tile-title {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.15;
}

.price-as-of {
  margin: 0;
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.03em;
}

.price-tile-spacer {
  min-height: 12px;
}

.price-tile-body {
  display: grid;
  align-content: end;
  gap: 10px;
}

.price-value {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.34rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.price-move {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.price-tile.is-up .price-value,
.price-tile.is-up .price-move,
.price-tile.is-up .price-spark-wrap {
  color: var(--color-up);
}

.price-tile.is-down .price-value,
.price-tile.is-down .price-move,
.price-tile.is-down .price-spark-wrap {
  color: var(--color-down);
}

.price-spark-wrap {
  color: inherit;
}

.sparkline {
  width: 100%;
  height: auto;
  display: block;
}

.sparkline-line {
  stroke: currentColor;
  stroke-width: 2;
}

.sparkline-area {
  fill: currentColor;
  opacity: 0.12;
  stroke: none;
}

.price-source {
  margin: 0;
  color: var(--color-subtext);
  font-size: 11px;
}

.inventory-preview-shell {
  display: grid;
  gap: 0;
}

.inventory-preview-strip {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 4px;
  touch-action: pan-y pinch-zoom;
}

.inventory-preview-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

.price-strip.is-native-scroll,
.inventory-preview-strip.is-native-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.price-strip.is-native-scroll::-webkit-scrollbar,
.inventory-preview-strip.is-native-scroll::-webkit-scrollbar {
  display: none;
}

.price-strip.is-native-scroll .price-strip-track,
.inventory-preview-strip.is-native-scroll .inventory-preview-track {
  transform: none !important;
  will-change: auto;
}

.inventory-preview-card {
  appearance: none;
  position: relative;
  --pointer-x: 50%;
  --pointer-y: 50%;
  flex: 0 0 196px;
  width: 196px;
  min-height: 248px;
  padding: 16px 16px 14px 16px;
  border: 1px solid rgba(15, 25, 35, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  display: grid;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease;
  overflow: hidden;
  --inventory-signal-color: var(--color-signal-neutral-ink);
}

.inventory-preview-card.is-seasonal-range {
  --inventory-signal-color: var(--color-signal-neutral-ink);
}

.inventory-preview-card.is-above-seasonal {
  background: linear-gradient(160deg, rgba(45, 106, 79, 0.06) 0%, rgba(255, 255, 255, 0.98) 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  border-color: rgba(45, 106, 79, 0.18);
  --inventory-signal-color: var(--color-signal-above);
}

.inventory-preview-card.is-well-above-seasonal {
  background: linear-gradient(160deg, rgba(27, 67, 50, 0.08) 0%, rgba(255, 255, 255, 0.98) 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  border-color: rgba(27, 67, 50, 0.22);
  --inventory-signal-color: var(--color-signal-well-above);
}

.inventory-preview-card.is-below-seasonal {
  background: linear-gradient(160deg, rgba(192, 57, 43, 0.06) 0%, rgba(255, 255, 255, 0.98) 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  border-color: rgba(192, 57, 43, 0.18);
  --inventory-signal-color: var(--color-signal-below);
}

.inventory-preview-card.is-well-below-seasonal {
  background: linear-gradient(160deg, rgba(146, 43, 33, 0.08) 0%, rgba(255, 255, 255, 0.98) 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  border-color: rgba(146, 43, 33, 0.22);
  --inventory-signal-color: var(--color-signal-well-below);
}

.inventory-preview-card.is-above-seasonal:hover,
.inventory-preview-card.is-above-seasonal:focus-visible {
  border-color: rgba(45, 106, 79, 0.32);
}

.inventory-preview-card.is-well-above-seasonal:hover,
.inventory-preview-card.is-well-above-seasonal:focus-visible {
  border-color: rgba(27, 67, 50, 0.36);
}

.inventory-preview-card.is-below-seasonal:hover,
.inventory-preview-card.is-below-seasonal:focus-visible {
  border-color: rgba(192, 57, 43, 0.32);
}

.inventory-preview-card.is-well-below-seasonal:hover,
.inventory-preview-card.is-well-below-seasonal:focus-visible {
  border-color: rgba(146, 43, 33, 0.36);
}

.inventory-preview-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(
      120px circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 255, 255, 0.84),
      rgba(232, 160, 32, 0.48) 44%,
      transparent 74%
    );
  opacity: 0;
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.inventory-preview-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.75) 45%, rgba(232, 160, 32, 0.42) 50%, transparent 60%);
  background-size: 220% 220%;
  opacity: 0;
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.inventory-preview-card:hover,
.inventory-preview-card:focus-visible {
  border-color: rgba(15, 25, 35, 0.18);
}

.inventory-preview-card:hover::before,
.inventory-preview-card:focus-visible::before {
  opacity: 0.88;
}

.inventory-preview-card:hover::after,
.inventory-preview-card:focus-visible::after {
  opacity: 0.92;
  animation: priceBorderShimmer 2.4s linear infinite;
}

.inventory-preview-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.inventory-preview-group {
  margin: 0;
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inventory-preview-as-of {
  margin: 0;
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.03em;
}

.inventory-preview-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.24;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.inventory-preview-value {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.46rem;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.inventory-preview-change {
  display: grid;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.inventory-preview-change-line {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.inventory-preview-change-value {
  color: var(--color-primary);
}

.inventory-preview-change-label {
  color: var(--color-subtext);
}

.inventory-preview-signal {
  margin: 0;
  color: var(--inventory-signal-color);
  font-size: var(--type-meta);
  letter-spacing: 0.06em;
}

.inventory-preview-spark-wrap {
  margin-top: auto;
}

.inventory-preview-spark-wrap .sparkline {
  width: 100%;
  height: 40px;
}

.inventory-preview-spark-wrap .sparkline.is-up {
  color: var(--color-up);
}

.inventory-preview-spark-wrap .sparkline.is-down {
  color: var(--color-down);
}

.inventory-preview-spark-wrap .sparkline.is-neutral {
  color: var(--color-primary-soft);
}

.inventory-preview-dos {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  color: var(--color-subtext);
  margin: 0;
  padding: 0 0 4px;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.inventory-preview-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.inventory-preview-source {
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
  overflow-wrap: anywhere;
}

.headline-list {
  display: grid;
}

.headline-item {
  padding: 16px 0 15px;
  border-top: 1px solid rgba(15, 25, 35, 0.08);
}

.headline-item:first-child {
  border-top: 0;
  padding-top: 2px;
}

.headline-link {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.headline-link:hover {
  color: var(--color-amber);
}

.feed-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.feed-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-cat-dot.energy {
  background: var(--color-energy);
}

.feed-cat-dot.metals {
  background: var(--color-metals);
}

.feed-cat-dot.agri {
  background: var(--color-agri);
}

.feed-cat-dot.other {
  background: var(--color-border);
}

.feed-cat-label {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-subtext);
}

.feed-cat-dot.energy + .feed-cat-label { color: var(--color-energy); }
.feed-cat-dot.metals + .feed-cat-label { color: var(--color-metals); }
.feed-cat-dot.agri   + .feed-cat-label { color: var(--color-agri); }

.feed-cat-event {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtext);
}

.feed-cat-event::before {
  content: "·";
  margin-right: 6px;
  opacity: 0.5;
}

.feed-headline {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.feed-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-subtext);
  letter-spacing: 0.02em;
}

.feed-meta .sep {
  margin: 0 5px;
  opacity: 0.5;
}

.feed-time {
  white-space: nowrap;
}

.feed-time-exact,
.feed-time-invalid {
  opacity: 0.72;
}

.feed-time-exact {
  margin-left: 4px;
}

.feed-sent {
  font-weight: 500;
}

.feed-sent-label {
  color: var(--color-subtext);
  font-weight: 400;
}

.feed-sent.positive {
  color: var(--color-up);
}

.feed-sent.negative {
  color: var(--color-down);
}

.feed-sent.neutral {
  color: var(--color-primary);
}

.calendar-agenda {
  display: grid;
  gap: 10px;
}

.calendar-day-group {
  display: grid;
  gap: 6px;
}

.calendar-day-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-subtext);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hairline rule extending from the date label to the right edge */
.calendar-day-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.calendar-day-divider.is-today {
  color: var(--color-primary);
}

.calendar-day-items {
  display: grid;
  gap: 4px;
}

.calendar-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(15, 25, 35, 0.08);
}

.calendar-day-items .calendar-item:first-child {
  border-top: 0;
  padding-top: 4px;
}

.calendar-item-marker {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--marker-accent, var(--color-cross));
}

.calendar-item-title {
  margin: 0 0 3px;
  font-size: 0.97rem;
  line-height: 1.25;
}

/* Organiser (publisher name) — clearly secondary to title and time */
.calendar-item-organiser {
  margin: 0 0 4px;
  color: var(--color-subtext);
  font-size: 11px;
}

.calendar-item-related {
  margin: 0 0 5px;
}

.calendar-related-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 999px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.03em;
  color: var(--color-subtext);
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.calendar-related-chip:hover {
  border-color: var(--color-amber);
  background: rgba(232, 160, 32, 0.07);
  color: var(--color-primary);
}

.calendar-related-chip:focus-visible {
  outline: 2px solid var(--module-accent, var(--color-amber));
  outline-offset: 2px;
}

/* Release time — the most actionable data in this card */
.calendar-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.calendar-item-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 25, 35, 0.05);
  color: var(--color-subtext);
  transition: color 150ms ease, background-color 150ms ease;
}

.calendar-item-link:hover {
  color: var(--color-primary);
  background: rgba(15, 25, 35, 0.1);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px 24px;
  color: var(--color-subtext);
  font-size: 12px;
}

.footer-right {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-primary);
  background: var(--color-amber);
  color: var(--color-primary);
  border-radius: 20px;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(15, 25, 35, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 170ms ease, transform 170ms ease, background 150ms ease;
}

.to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top-btn:hover {
  background: #f0ab2d;
}

.filter-pill:focus-visible,
.filter-chip:focus-visible,
.home-group-chip:focus-visible,
.home-filter-reset-link:focus-visible,
.home-filter-collapse-button:focus-visible,
.module-link:focus-visible,
.demand-row:focus-visible,
.inventory-preview-card:focus-visible,
.price-tile:focus-visible,
.headline-link:focus-visible,
.calendar-item-link:focus-visible,
.weather-risk-row:focus-visible,
.site-tab:focus-visible,
.to-top-btn:focus-visible {
  outline: 2px solid rgba(15, 25, 35, 0.32);
  outline-offset: 2px;
}

.to-top-btn:focus-visible {
  outline-color: var(--color-primary);
}


@media (min-width: 1536px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.76fr) minmax(340px, 420px);
    gap: 14px 28px;
  }

  .dashboard-grid.has-empty-sidebar.is-layout-dragging {
    grid-template-columns: minmax(0, 1.76fr) minmax(340px, 420px);
  }
}

@media (max-width: 1220px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1;
    grid-row: auto;
    gap: 12px;
  }

  .dashboard-grid.has-empty-sidebar.is-layout-dragging {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-grid.has-empty-sidebar.is-layout-dragging .dashboard-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid.is-layout-dragging .dashboard-sidebar[data-layout-empty="true"]::before {
    grid-column: 1 / -1;
  }
}

@media (max-width: 930px) and (min-width: 861px) {
  .dashboard-layout-toolbar-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-layout-toolbar-actions {
    flex-basis: 100%;
  }
}

@media (max-width: 860px) {
  .dashboard-customiser,
  .dashboard-module-edit,
  .dashboard-layout-insertion-marker {
    display: none !important;
  }

  .home-filter-wrap::after {
    display: none;
  }

  .home-filter-primary::after {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 24px;
    height: 52px;
    content: "";
    background: linear-gradient(90deg, rgba(240, 239, 233, 0), var(--color-bg) 82%);
    pointer-events: none;
  }

  .home-filter-bar-shell {
    min-height: 52px;
  }

  .home-filter-bar {
    flex-wrap: nowrap;
    padding-right: 32px;
  }

  .home-filter-actions,
  .home-filter-collapsed-actions {
    gap: 4px;
    padding-right: 12px;
  }

  .home-filter-selection {
    max-width: 144px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-filter-reset-link:disabled {
    display: none;
  }

  .home-filter-reset-link,
  .home-filter-collapse-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 6px;
  }

  .home-filter-wrap.is-collapsed .filter-bar {
    min-height: 52px;
    padding-top: 4px;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }

  .home-filter-collapsed-copy,
  .home-filter-summary-pills {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .home-filter-collapsed-copy {
    gap: 8px;
  }

  .page-shell {
    padding: 16px clamp(16px, 3vw, 24px) 72px;
  }

  .dashboard-grid--phone {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .dashboard-module[data-module-id="headlines"] .headline-item:nth-child(n + 6) {
    display: none;
  }

  .price-strip,
  .inventory-preview-strip {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0 12px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .price-strip-track,
  .inventory-preview-track {
    will-change: auto;
    transform: none !important;
    padding-right: 12px;
  }

  .price-strip::-webkit-scrollbar,
  .inventory-preview-strip::-webkit-scrollbar {
    display: none;
  }

  .price-tile,
  .inventory-preview-card {
    scroll-snap-align: start;
  }

  .module-link {
    min-height: 44px;
  }

  .calendar-item-link {
    width: 44px;
    height: 44px;
  }

  [data-price-clone="true"],
  [data-inventory-clone="true"] {
    display: none;
  }

  .module-header,
  .module-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer {
    padding: 0 16px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top-btn {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 640px) {
  .home-filter-selection {
    display: none;
  }

  .page-shell {
    padding: 14px 16px calc(36px + env(safe-area-inset-bottom));
  }

  .dashboard-grid--phone {
    gap: 22px;
  }

  .module-card {
    border: 0;
    border-top: 2px solid var(--module-accent, var(--color-cross));
    border-radius: 0;
    background: transparent;
  }

  .module-header {
    min-width: 0;
    padding: 10px 0 7px;
  }

  .module-body {
    padding: 0 0 2px;
  }

  .headline-item {
    padding: 12px 0 11px;
  }

  .feed-headline {
    margin-bottom: 7px;
    font-size: 19px;
    line-height: 1.32;
  }

  .feed-meta {
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .demand-row,
  .weather-risk-row {
    min-height: 56px;
  }

  .demand-series,
  .weather-risk-title {
    font-size: 14px;
  }

  .price-strip {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .price-strip-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 44px);
    width: 100%;
    min-width: 0;
    will-change: auto;
    transform: none !important;
    gap: 10px;
    padding: 0 18px 0 0;
  }

  .price-strip::-webkit-scrollbar {
    display: none;
  }

  .price-tile {
    width: 100%;
    min-width: 0;
    min-height: 218px;
    height: 218px;
    padding: 13px;
    gap: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .price-tile::before,
  .price-tile::after {
    display: none;
  }

  .price-tile-title {
    font-size: 16px;
  }

  .price-value {
    font-size: 1.48rem;
  }

  .price-source,
  .price-as-of,
  .price-move {
    font-size: 12px;
  }

  .price-tile-spacer {
    min-height: 4px;
  }

  [data-price-clone="true"] {
    display: none;
  }

  .inventory-preview-strip {
    overflow: visible;
    touch-action: pan-y;
  }

  .inventory-preview-track {
    display: grid;
    width: 100%;
    min-width: 0;
    will-change: auto;
    transform: none !important;
    gap: 0;
    padding: 0;
  }

  .inventory-preview-card {
    grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
    grid-template-areas:
      "inventory-head inventory-value"
      "inventory-change inventory-change"
      "inventory-dos inventory-dos"
      "inventory-foot inventory-foot";
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 12px 0;
    gap: 7px 12px;
    border: 0;
    border-top: 1px solid rgba(15, 25, 35, 0.1);
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .inventory-preview-card:first-child {
    border-top: 0;
    padding-top: 2px;
  }

  .inventory-preview-card::before,
  .inventory-preview-card::after,
  .inventory-preview-spark-wrap {
    display: none;
  }

  .inventory-preview-card.is-seasonal-range,
  .inventory-preview-card.is-above-seasonal,
  .inventory-preview-card.is-well-above-seasonal,
  .inventory-preview-card.is-below-seasonal,
  .inventory-preview-card.is-well-below-seasonal {
    background: transparent;
    border-color: rgba(15, 25, 35, 0.1);
  }

  .inventory-preview-head {
    grid-area: inventory-head;
  }

  .inventory-preview-value {
    grid-area: inventory-value;
    align-self: center;
    justify-self: end;
    font-size: 1.2rem;
    text-align: right;
  }

  .inventory-preview-change {
    grid-area: inventory-change;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 12px;
  }

  .inventory-preview-change-line {
    flex-wrap: nowrap;
  }

  .inventory-preview-dos {
    grid-area: inventory-dos;
    padding: 0;
  }

  .inventory-preview-foot {
    grid-area: inventory-foot;
  }

  .inventory-preview-title {
    font-size: 16px;
    line-height: 1.28;
  }

  .inventory-preview-group,
  .inventory-preview-as-of,
  .inventory-preview-change,
  .inventory-preview-source,
  .inventory-preview-dos {
    font-size: 12px;
  }

  [data-inventory-clone="true"] {
    display: none;
  }

  .inventory-preview-card:nth-child(n + 6) {
    display: none;
  }

  .calendar-item {
    grid-template-columns: auto minmax(0, 1fr) 44px;
    gap: 10px;
    padding-block: 10px;
  }

  .calendar-item-title {
    font-size: 1rem;
    line-height: 1.32;
  }

  .weather-risk-row {
    grid-template-columns: 4px minmax(0, 1fr) auto;
    gap: 0 10px;
  }

  .weather-risk-context {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .to-top-btn {
    display: none;
  }
}

/* Mobile overview mode: compact segmented filter + single-open disclosures. */
.module-heading-copy {
  min-width: 0;
}

.module-title-link {
  color: inherit;
  text-decoration: none;
}

.module-title-arrow,
.module-collapsed-summary,
.module-toggle,
.price-scroll-cue {
  display: none;
}

.module-title-link:focus-visible,
.module-toggle:focus-visible,
.price-strip:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .home-filter-wrap {
    border-bottom-color: rgba(15, 25, 35, 0.28);
  }

  .home-filter-primary::after,
  .home-filter-wrap::after,
  .home-filter-actions,
  .home-filter-layer {
    display: none;
  }

  .home-filter-bar-shell,
  .home-filter-bar {
    min-height: 52px;
  }

  .home-filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 0;
    padding: 4px 16px;
    overflow: visible;
    touch-action: auto;
  }

  .home-filter-bar .filter-divider {
    display: none;
  }

  .home-sector-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .home-filter-bar .filter-pill {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 6px;
    border: 1px solid rgba(15, 25, 35, 0.42);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.32);
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
  }

  .home-filter-bar .filter-pill:hover,
  .home-filter-bar .home-sector-pill:hover {
    border-color: var(--color-primary);
    background: rgba(15, 25, 35, 0.06);
    color: var(--color-primary);
  }

  .home-filter-bar #sector-reset.is-selected,
  .home-filter-bar .home-sector-pill.is-selected,
  .home-filter-bar .home-sector-pill.is-partial {
    border-color: var(--color-primary);
    border-style: solid;
    background: var(--color-primary);
    color: #fff;
    box-shadow: inset 0 -3px var(--color-amber);
  }

  .home-sector-row .filter-pill {
    margin-left: -1px;
  }

  .page-shell {
    padding-top: 10px;
  }

  .dashboard-grid--phone {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(15, 25, 35, 0.38);
  }

  .dashboard-grid--phone .dashboard-module {
    border-bottom: 1px solid rgba(15, 25, 35, 0.38);
  }

  .dashboard-grid--phone .module-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dashboard-grid--phone .dashboard-module.is-expanded .module-card {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 3px 0 var(--module-accent, var(--color-amber));
  }

  .dashboard-grid--phone .module-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-items: stretch;
    gap: 0;
    min-height: 70px;
    padding: 0;
  }

  .dashboard-grid--phone .module-heading-copy {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    padding: 9px 14px 9px 12px;
  }

  .dashboard-grid--phone .module-title {
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
  }

  .dashboard-grid--phone .module-title-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-height: 44px;
  }

  .dashboard-grid--phone .module-title-link > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-grid--phone .module-title-arrow {
    display: block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
  }

  .dashboard-grid--phone .module-collapsed-summary {
    display: block;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--color-subtext);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-grid--phone .dashboard-module.is-expanded .module-collapsed-summary {
    display: none;
  }

  .dashboard-grid--phone .module-link {
    display: none;
  }

  .dashboard-grid--phone .module-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(15, 25, 35, 0.3);
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
  }

  .dashboard-grid--phone .module-toggle:hover {
    background: rgba(15, 25, 35, 0.05);
  }

  .module-toggle-chevron {
    display: block;
    width: 20px;
    height: 20px;
    transform: rotate(0deg);
    transition: transform 160ms ease;
  }

  .dashboard-module.is-expanded .module-toggle-chevron {
    transform: rotate(180deg);
  }

  .dashboard-grid--phone .module-body {
    padding: 12px 12px 18px;
    border-top: 1px solid rgba(15, 25, 35, 0.16);
    overflow: visible;
  }

  .dashboard-grid--phone .module-scope,
  .dashboard-grid--phone .module-note {
    margin-bottom: 9px;
  }

  .dashboard-grid--phone .price-obs-strip,
  .dashboard-grid--phone .inventory-obs-strip {
    display: none;
  }

  .dashboard-grid--phone .price-scroll-shell {
    position: relative;
    width: 100%;
    min-width: 0;
  }

  .dashboard-grid--phone .price-strip,
  .dashboard-grid--phone .price-strip.is-native-scroll {
    width: 100%;
    max-width: 100%;
    max-block-size: min(51svh, 420px);
    padding: 0 6px 22px 0;
    overflow-x: clip;
    overflow-y: auto;
    touch-action: pan-y pinch-zoom;
    scroll-snap-type: none;
    scrollbar-width: thin;
    scrollbar-color: var(--color-amber) rgba(15, 25, 35, 0.12);
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-grid--phone .price-strip::-webkit-scrollbar {
    display: block;
    width: 6px;
  }

  .dashboard-grid--phone .price-strip::-webkit-scrollbar-track {
    background: rgba(15, 25, 35, 0.1);
  }

  .dashboard-grid--phone .price-strip::-webkit-scrollbar-thumb {
    border-radius: 0;
    background: var(--color-amber);
  }

  .dashboard-grid--phone .price-scroll-cue {
    position: absolute;
    right: 8px;
    bottom: 0;
    z-index: 2;
    display: block;
    padding: 11px 2px 2px 24px;
    background: linear-gradient(90deg, transparent, var(--color-bg) 28%);
    color: var(--color-subtext);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
  }

  .dashboard-grid--phone .price-strip-track,
  .dashboard-grid--phone .price-strip.is-native-scroll .price-strip-track {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    gap: 0;
    padding: 0;
    transform: none !important;
  }

  .dashboard-grid--phone .price-tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(116px, 39%);
    grid-template-rows: auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 98px;
    height: auto;
    padding: 7px 4px;
    border: 0;
    border-top: 1px solid rgba(15, 25, 35, 0.14);
    border-radius: 0;
    background: transparent;
    overflow: visible;
    scroll-snap-align: none;
  }

  .dashboard-grid--phone .price-tile:first-child {
    border-top: 0;
  }

  .dashboard-grid--phone .price-tile:hover,
  .dashboard-grid--phone .price-tile:focus-visible {
    background: rgba(255, 255, 255, 0.52);
  }

  .dashboard-grid--phone .price-tile::before,
  .dashboard-grid--phone .price-tile::after,
  .dashboard-grid--phone .price-tile-spacer {
    display: none;
  }

  .dashboard-grid--phone .price-tile-head,
  .dashboard-grid--phone .price-tile-body {
    min-width: 0;
  }

  .dashboard-grid--phone .price-tile-title {
    margin-bottom: 4px;
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.2;
  }

  .dashboard-grid--phone .price-tile-label,
  .dashboard-grid--phone .price-as-of,
  .dashboard-grid--phone .price-source {
    font-size: 12px;
    line-height: 1.2;
  }

  .dashboard-grid--phone .price-tile-body {
    display: grid;
    align-content: center;
    gap: 1px;
  }

  .dashboard-grid--phone .price-value {
    font-size: 17px;
    line-height: 1.15;
  }

  .dashboard-grid--phone .price-move {
    gap: 6px;
    font-size: 12px;
    line-height: 1.2;
  }

  .dashboard-grid--phone .price-spark-wrap {
    width: 100%;
    min-width: 0;
    height: 24px;
    overflow: visible;
  }

  .dashboard-grid--phone .price-spark-wrap .sparkline {
    width: 100%;
    max-width: 100%;
    height: 24px;
    overflow: visible;
  }

  .dashboard-grid--phone .price-source {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-grid--phone .price-tile.is-unavailable {
    color: var(--color-subtext);
  }

  .dashboard-grid--phone .price-tile.is-unavailable .price-spark-wrap {
    opacity: 0.28;
  }

  .dashboard-grid--phone .headline-item:nth-child(n + 4),
  .dashboard-grid--phone .inventory-preview-card:nth-child(n + 5) {
    display: none;
  }

  .dashboard-grid--phone .headline-item {
    padding-block: 10px;
  }

  .dashboard-grid--phone .feed-headline {
    font-size: 18px;
    line-height: 1.3;
  }

  .dashboard-grid--phone .calendar-agenda,
  .dashboard-grid--phone .demand-rows,
  .dashboard-grid--phone .weather-risk-list {
    max-width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-toggle-chevron {
    transition: none;
  }
}

/* ── Latest observations strips ─────────────── */

.inventory-obs-strip,
.price-obs-strip {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 25, 35, 0.07);
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}

.inventory-obs-strip::after,
.price-obs-strip::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: calc(100% - 12px);
  background: linear-gradient(to right, transparent, var(--color-surface) 90%);
  pointer-events: none;
}

.inventory-obs-label,
.price-obs-label {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtext);
  flex-shrink: 0;
  margin-right: 12px;
}

.inventory-obs-scroll,
.price-obs-scroll {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  padding-right: 48px;
  cursor: grab;
}

.inventory-obs-scroll.is-dragging,
.price-obs-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.inventory-obs-scroll::-webkit-scrollbar,
.price-obs-scroll::-webkit-scrollbar {
  display: none;
}

.inventory-obs-item,
.price-obs-item {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: 0.02em;
  color: var(--color-subtext);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 150ms ease;
}

.inventory-obs-item:hover,
.price-obs-item:hover {
  color: var(--color-amber);
}

.inventory-obs-item:focus-visible,
.price-obs-item:focus-visible {
  outline: 2px solid var(--module-accent, var(--color-amber));
  outline-offset: 2px;
  border-radius: 2px;
}

.inventory-obs-sep,
.price-obs-sep {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  color: var(--color-border);
  margin: 0 8px;
  flex-shrink: 0;
}

/* What to Watch panel */

.wtw-panel {
  border: 1.5px solid var(--module-accent, var(--color-cross));
  border-radius: var(--radius);
  background: var(--color-surface);
  overflow: hidden;
}

.wtw-heading {
  margin: 0;
  padding: 14px 22px 10px;
  font-family: var(--font-serif);
  font-size: var(--type-panel-title);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-primary);
}

.wtw-strip {
  display: flex;
  border-top: 1px solid var(--color-border);
}

.wtw-card {
  flex: 1;
  min-width: 0;
  padding: 10px 14px 12px;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wtw-card:last-child {
  border-right: none;
}

.wtw-type-pill {
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 2px 7px;
  border-radius: 3px;
  color: #fff;
  background: var(--color-subtext);
  margin-bottom: 4px;
}

.wtw-type-pill[data-wtw-type="inventory"]   { background: #64748B; }
.wtw-type-pill[data-wtw-type="release"]     { background: #4338CA; }
.wtw-type-pill[data-wtw-type="demand"]      { background: #BE3535; }
.wtw-type-pill[data-wtw-type="weather"]     { background: var(--color-amber); color: var(--color-primary); }
.wtw-type-pill[data-wtw-type="positioning"] { background: #9B2C73; }

.wtw-card-title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wtw-card-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--color-subtext);
  line-height: 1.35;
}

.wtw-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-amber);
  text-decoration: none;
  transition: color 150ms ease;
}

.wtw-link:hover {
  color: var(--color-primary);
}

@media (max-width: 860px) {
  .wtw-strip {
    display: grid;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .wtw-card {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border-right: 0;
    border-top: 1px solid var(--color-border);
  }

  .wtw-card:first-child {
    border-top: 0;
  }

  .wtw-card-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .wtw-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-top: 4px;
  }
}

@media (max-width: 640px) {
  .wtw-panel {
    border: 0;
    border-top: 2px solid var(--module-accent, var(--color-cross));
    border-radius: 0;
    background: transparent;
  }

  .wtw-heading {
    padding: 10px 0 8px;
  }

  .wtw-card {
    padding: 12px 0 8px;
    gap: 5px;
  }

  .wtw-type-pill,
  .wtw-type-pill[data-wtw-type] {
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--color-subtext);
  }
}

/* ── Homepage module skeleton loaders ─────────────────────────────── */

/* Anti-flash: present immediately but invisible; fades in only after
   150ms, so cached/fast loads replace the body before it ever shows. */
.module-skeleton {
  opacity: 0;
  animation: skeletonReveal 200ms ease-out 150ms forwards;
}

.skeleton-strip {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 4px;
}

/* Mirrors .price-tile geometry (no layout jump on resolve). */
.skeleton-tile {
  flex: 0 0 196px;
  width: 196px;
  min-height: 236px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  border: 1px solid rgba(15, 25, 35, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 239, 0.92));
  overflow: hidden;
}

.skeleton-head,
.skeleton-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-change {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* .skeleton-bar, @keyframes skeletonShimmer/skeletonReveal, and reduced-motion
   override promoted to shared/loading-states.css (loaded via site-shell.css). */
.sk-label { width: 42%; height: 9px; }
.sk-title { width: 72%; height: 13px; }
.sk-asof  { width: 55%; height: 8px; }
.sk-value { width: 58%; height: 21px; }
.sk-chg-a { width: 34%; height: 11px; }
.sk-chg-b { width: 24%; height: 11px; }
.sk-pill  { width: 40%; height: 16px; border-radius: 8px; }
.sk-spark { width: 100%; height: 28px; border-radius: 6px; }
.sk-src   { width: 48%; height: 8px; }

/* ── Typography contract alignment ─────────────────────────────────────── */
:where(.home-filter-selection, .home-filter-section-label, .home-filter-collapsed-label, .home-filter-reset-link, .home-filter-collapse-button, .module-eyebrow, .module-kicker, .feed-cat-label, .feed-cat-event, .feed-meta, .price-obs-label, .price-obs-item, .inventory-obs-label, .inventory-obs-item, .inventory-preview-group, .inventory-preview-as-of, .inventory-preview-change, .inventory-preview-source, .inventory-preview-dos, .wtw-type-pill) {
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-meta);
}

:where(.module-title, .wtw-heading, .feed-headline, .inventory-preview-title) {
  font-family: var(--font-serif);
  letter-spacing: var(--tracking-none);
}

.module-title,
.wtw-heading {
  font-size: var(--type-panel-title);
  line-height: var(--leading-title);
}

.feed-headline,
.inventory-preview-title {
  font-size: var(--type-card-title);
  line-height: 1.35;
}

.inventory-preview-value {
  font-family: var(--font-serif);
  font-size: 1.46rem;
  line-height: 1.08;
  letter-spacing: var(--tracking-none);
  font-variant-numeric: tabular-nums;
}

:where(.module-subtitle, .module-copy, .home-filter-section-copy, .wtw-card-body, .wtw-link) {
  font-family: var(--font-sans);
  font-size: var(--type-body-small);
  line-height: var(--leading-body);
}

.wtw-card-title {
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  line-height: var(--leading-meta);
}

@media (max-width: 640px) {
  .module-title,
  .wtw-heading {
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .feed-headline {
    font-size: 19px;
    line-height: 1.32;
  }

  .inventory-preview-title {
    font-size: 16px;
    line-height: 1.28;
  }

  .inventory-preview-value {
    font-size: 1.2rem;
  }

  .inventory-preview-group,
  .inventory-preview-as-of,
  .inventory-preview-change,
  .inventory-preview-source,
  .inventory-preview-dos,
  .feed-meta,
  .price-obs-label,
  .price-obs-item,
  .inventory-obs-label,
  .inventory-obs-item,
  .wtw-type-pill {
    font-size: 12px;
  }

  .wtw-card-title,
  .wtw-card-body,
  .wtw-link {
    font-size: 14px;
    line-height: 1.45;
  }

  .inventory-obs-strip::after,
  .price-obs-strip::after {
    background: linear-gradient(to right, transparent, var(--color-bg) 90%);
  }

  .skeleton-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 44px);
    gap: 10px;
  }

  .skeleton-tile {
    width: 100%;
    min-width: 0;
    min-height: 218px;
    height: 218px;
    padding: 13px;
    border-radius: 8px;
  }
}
