:root {
  --desktop: #008080;
  --silver: #c0c0c0;
  --silver-light: #dfdfdf;
  --silver-mid: #d4d0c8;
  --silver-dark: #808080;
  --chrome-black: #000000;
  --navy: #000080;
  --navy-2: #1084d0;
  --title-inactive-1: #808080;
  --title-inactive-2: #b5b5b5;
  --ink: #000000;
  --muted: #4d4d4d;
  --tooltip: #ffffe1;
  --input: #000080;
  --cached: #6a3a9e;
  --output: #b0521e;
  --good: #007800;
  --good-soft: #e4f4e4;
  --warn: #7a5800;
  --warn-soft: #fff2c8;
  --bad: #b42318;
  --bad-soft: #ffe6e2;
  font-family: Tahoma, "MS Sans Serif", "Segoe UI", "Liberation Sans", sans-serif;
  font-size: 11px;
  color: var(--ink);
  background: var(--desktop);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--desktop);
  color: var(--ink);
  font: 11px/1.4 Tahoma, "MS Sans Serif", "Segoe UI", "Liberation Sans", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--navy);
}

:focus-visible {
  outline: 2px dotted #000;
  outline-offset: 1px;
}

/* ---------------------------------------------------------------- bevels */

.raised-panel {
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  background: var(--silver);
}

.inset-panel {
  border: 1px solid;
  border-color: var(--silver-dark) #fff #fff var(--silver-dark);
  box-shadow: inset 1px 1px 0 var(--chrome-black), inset -1px -1px 0 var(--silver-light);
  background: #fff;
}

.classic-button {
  min-height: 23px;
  padding: 3px 12px;
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  border-radius: 0;
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  color: var(--ink);
  cursor: pointer;
  font: 11px/1.2 Tahoma, "MS Sans Serif", sans-serif;
}

.classic-button:hover {
  background: #c8c8c8;
}

.classic-button:active,
.classic-button[aria-expanded="true"] {
  padding: 4px 11px 2px 13px;
  border-color: var(--chrome-black) var(--silver-light) var(--silver-light) var(--chrome-black);
  box-shadow: inset 1px 1px 0 var(--silver-dark);
}

.classic-button:disabled {
  color: var(--silver-dark);
  cursor: wait;
  text-shadow: 1px 1px 0 #fff;
}

.classic-button--primary {
  font-weight: 700;
  outline: 1px solid #000;
  outline-offset: -5px;
}

.classic-button--primary:focus-visible {
  outline: 2px dotted #000;
  outline-offset: 1px;
}

/* ------------------------------------------------------------- skip link */

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 4px;
  left: 4px;
  padding: 6px 10px;
  transform: translateY(-300%);
  border: 1px solid #000;
  background: var(--tooltip);
  color: #000;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------- desktop */

.desktop {
  width: min(1500px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 14px 46px 104px;
}

.desktop-icons {
  position: fixed;
  top: 16px;
  display: grid;
  width: 80px;
  margin-left: -94px;
  gap: 20px;
}

.desk-icon {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0 #000;
}

.desk-icon:focus-visible {
  outline: 1px dotted #fff;
}

.desk-icon__art {
  width: 32px;
  height: 32px;
}

.desk-icon__art--computer {
  background:
    linear-gradient(var(--navy), var(--navy)) 5px 7px/22px 12px no-repeat,
    linear-gradient(var(--silver-light), var(--silver-light)) 2px 4px/28px 18px no-repeat,
    linear-gradient(var(--silver-dark), var(--silver-dark)) 10px 24px/12px 3px no-repeat,
    linear-gradient(var(--silver), var(--silver)) 6px 27px/20px 4px no-repeat;
}

.desk-icon__art--folder {
  background:
    linear-gradient(#f6e29a, #e0b830) 1px 5px/14px 6px no-repeat,
    linear-gradient(#f6d878, #d8a824) 1px 8px/30px 20px no-repeat;
}

.desk-icon__art--globe {
  border-radius: 50%;
  background: radial-gradient(circle at 11px 10px, #9cd4ff 0 4px, #1668c8 5px 15px, #063a80 16px);
}

.desk-icon__art--doc {
  border: 1px solid #444;
  background:
    linear-gradient(#9c9c9c, #9c9c9c) 7px 7px/14px 2px no-repeat,
    linear-gradient(#9c9c9c, #9c9c9c) 7px 12px/16px 2px no-repeat,
    linear-gradient(#9c9c9c, #9c9c9c) 7px 17px/12px 2px no-repeat,
    linear-gradient(#9c9c9c, #9c9c9c) 7px 22px/15px 2px no-repeat,
    #fff;
}

/* ------------------------------------------------------------ app window */

.app-window {
  width: 100%;
  padding: 2px;
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 var(--silver-dark),
    4px 4px 0 rgba(0, 0, 0, 0.3);
}

.title-bar {
  display: flex;
  min-height: 22px;
  padding: 1px 2px 1px 5px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.title-bar__name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.title-bar__name > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-bar__icon {
  display: grid;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #fff;
  background: var(--desktop);
  font-size: 10px;
  font-weight: 700;
}

.window-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
}

.window-controls__button {
  display: grid;
  width: 16px;
  height: 14px;
  place-items: center;
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  color: #000;
  font: 700 9px/1 Tahoma, sans-serif;
}

/* -------------------------------------------------------------- menu bar */

.menu-bar {
  display: flex;
  padding: 2px 0;
  align-items: center;
}

.menu-bar a {
  padding: 3px 8px;
  color: var(--ink);
  text-decoration: none;
}

.menu-bar a span {
  text-decoration: underline;
}

.menu-bar a:hover {
  background: var(--navy);
  color: #fff;
}

/* --------------------------------------------------------------- toolbar */

.explorer-toolbar {
  display: flex;
  padding: 3px 4px;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid var(--silver-dark);
  box-shadow: 0 1px 0 #fff;
}

.tool-button {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font: 11px/1.2 Tahoma, "MS Sans Serif", sans-serif;
  text-decoration: none;
}

.tool-button:hover {
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
}

.tool-button:active {
  border-color: var(--chrome-black) var(--silver-light) var(--silver-light) var(--chrome-black);
  box-shadow: inset 1px 1px 0 var(--silver-dark);
}

.tool-button:disabled {
  color: var(--silver-dark);
  cursor: wait;
}

.tool-button.is-disabled {
  color: var(--silver-dark);
  text-shadow: 1px 1px 0 #fff;
  pointer-events: none;
}

.tool-glyph {
  font-size: 13px;
  line-height: 1;
}

.toolbar-divider {
  width: 2px;
  height: 20px;
  margin: 0 4px;
  border-left: 1px solid var(--silver-dark);
  border-right: 1px solid #fff;
}

/* ----------------------------------------------------------- address bar */

.address-row {
  display: flex;
  padding: 3px 4px 5px;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--silver-dark);
  box-shadow: 0 1px 0 #fff;
}

.address-label u {
  text-decoration: underline;
}

.address-field {
  display: flex;
  min-width: 0;
  height: 22px;
  padding: 2px 6px;
  flex: 1;
  align-items: center;
  overflow: hidden;
}

.address-field code {
  overflow: hidden;
  font: 11px/1.2 Tahoma, "MS Sans Serif", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-go {
  min-height: 22px;
  padding: 2px 12px;
}

/* ----------------------------------------------------------------- intro */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  padding: 14px 16px 14px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--silver-dark);
  background: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 4px;
  color: #006a55;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.eyebrow span {
  color: #19a264;
  font-size: 9px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.intro__lede {
  max-width: 560px;
  margin-bottom: 8px;
  color: #333;
  font-size: 11px;
  line-height: 1.5;
}

.hero-verification {
  display: flex;
  min-height: 16px;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.hero-verification__mark {
  display: inline-grid;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  font: 700 9px/1 Tahoma, sans-serif;
}

.hero-verification.is-good {
  color: var(--good);
}

.hero-verification.is-warn,
.hero-verification.is-pending {
  color: var(--warn);
}

.hero-verification.is-bad {
  color: var(--bad);
}

.hero-api {
  min-width: 0;
  padding: 1px;
}

.hero-api__title h2 {
  margin: 0;
  font-size: 11px;
}

.hero-api__body {
  margin: 2px;
  padding: 6px;
  background: var(--silver);
}

.hero-code {
  overflow: auto;
  margin: 0;
  padding: 7px 8px;
  background: #000;
  color: #c0c0c0;
  font: 10px/1.55 "Liberation Mono", Consolas, "Courier New", monospace;
  tab-size: 2;
  white-space: pre;
}

.copy-status {
  min-height: 12px;
  margin: 4px 0 0;
  color: var(--good);
  font-size: 10px;
  font-weight: 700;
}

.hero-copy-status {
  min-height: 0;
  margin: 0;
}

.hero-copy-status:not(:empty) {
  min-height: 12px;
  margin-top: 4px;
}

.title-copy-button {
  padding: 1px 8px 2px;
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  color: var(--ink);
  cursor: pointer;
  font: 10px/1.3 Tahoma, sans-serif;
}

.title-copy-button:active {
  border-color: var(--chrome-black) var(--silver-light) var(--silver-light) var(--chrome-black);
  box-shadow: inset 1px 1px 0 var(--silver-dark);
}

.title-copy-button:disabled {
  color: var(--silver-dark);
}

/* ---------------------------------------------------------- explorer body */

.explorer {
  padding: 4px;
  background: var(--silver);
}

.explorer-split {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.tree-panel {
  width: 218px;
  flex: 0 0 auto;
  padding: 4px 2px;
  overflow: hidden;
}

.tree-caption {
  margin: 0 0 2px;
  padding: 2px 6px 3px;
  border-bottom: 1px solid var(--silver-mid);
  color: var(--muted);
  font-weight: 700;
}

.provider-pills {
  display: grid;
  gap: 0;
}

.provider-pill {
  display: flex;
  min-height: 20px;
  padding: 2px 6px;
  align-items: baseline;
  gap: 5px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font: 11px/1.3 Tahoma, "MS Sans Serif", sans-serif;
  text-align: left;
}

.provider-pill::before {
  content: "📁";
  flex: 0 0 auto;
  font-size: 10px;
}

.provider-pill:hover {
  text-decoration: underline;
}

.provider-pill.is-active {
  background: var(--navy);
  color: #fff;
  outline: 1px dotted #ffff00;
  outline-offset: -1px;
}

.provider-pill__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-pill__count {
  color: var(--silver-dark);
  font-size: 10px;
}

.provider-pill.is-active .provider-pill__count {
  color: #b8ccf0;
}

.list-panel {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

/* -------------------------------------------------------------- filter bar */

.filter-bar {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(220px, 1.4fr) auto;
  padding: 6px 8px;
  align-items: start;
  gap: 8px;
  border: 1px solid;
  border-color: var(--silver-dark) #fff #fff var(--silver-dark);
  background: var(--silver);
}

.field {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.field label {
  color: var(--ink);
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  height: 22px;
  padding: 2px 6px;
  border: 1px solid;
  border-color: var(--silver-dark) #fff #fff var(--silver-dark);
  border-radius: 0;
  background: #fff;
  box-shadow: inset 1px 1px 0 var(--chrome-black), inset -1px -1px 0 var(--silver-light);
  color: var(--ink);
  font-size: 11px;
}

.field input::placeholder {
  color: var(--silver-dark);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  display: grid;
  width: 16px;
  place-items: center;
  content: "▼";
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff;
  color: #000;
  font-size: 7px;
  pointer-events: none;
}

.field select {
  padding-right: 24px;
  appearance: none;
}

.field-hint {
  min-height: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.filter-bar > .classic-button--primary {
  margin-top: 15px;
  align-self: start;
}

/* ---------------------------------------------------------- result summary */

.result-summary {
  display: flex;
  padding: 0 2px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.result-summary h2 {
  margin-bottom: 1px;
  font-size: 13px;
}

.result-summary p {
  margin: 0;
  color: var(--muted);
}

.price-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.sort-control select {
  min-height: 22px;
  padding: 2px 6px;
  border: 1px solid;
  border-color: var(--silver-dark) #fff #fff var(--silver-dark);
  border-radius: 0;
  background: #fff;
  box-shadow: inset 1px 1px 0 var(--chrome-black), inset -1px -1px 0 var(--silver-light);
  color: var(--ink);
  font-size: 11px;
  font-weight: 400;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.legend-dot--input {
  background: var(--input);
}

.legend-dot--cached {
  background: var(--cached);
}

.legend-dot--output {
  background: var(--output);
}

.mode-explainer {
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #000;
  background: var(--tooltip);
  color: #333;
  line-height: 1.45;
}

.mode-explainer strong {
  color: #000;
}

/* ---------------------------------------------------------------- notices */

.notice {
  display: flex;
  min-height: 64px;
  padding: 10px 12px;
  align-items: center;
  gap: 12px;
  border: 1px solid;
  border-color: var(--silver-dark) #fff #fff var(--silver-dark);
  background: #fff;
  color: var(--ink);
}

.notice[hidden] {
  display: none;
}

.notice--error {
  background: var(--bad-soft);
}

.notice > span:first-child {
  flex: 0 0 auto;
  font-size: 18px;
}

.notice div {
  display: grid;
  gap: 2px;
}

.notice div > span {
  color: var(--muted);
}

.hourglass {
  animation: quarter-turn 1.6s steps(1, end) infinite;
}

@keyframes quarter-turn {
  50% {
    transform: rotate(180deg);
  }
}

/* ------------------------------------------------------------- price table */

.table-frame {
  overflow: auto;
  max-height: min(68vh, 860px);
  background: #fff;
}

.table-frame::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.table-frame::-webkit-scrollbar-track {
  background: var(--silver-mid);
}

.table-frame::-webkit-scrollbar-thumb {
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
}

.table-frame::-webkit-scrollbar-corner {
  background: var(--silver);
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}

.price-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 4px 8px;
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  color: var(--ink);
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.price-table th.price-heading--input {
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark), inset 0 3px 0 var(--input);
}

.price-table th.price-heading--cached {
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark), inset 0 3px 0 var(--cached);
}

.price-table th.price-heading--output {
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark), inset 0 3px 0 var(--output);
}

.price-table th.is-sortable {
  padding: 0;
}

.column-sort {
  display: block;
  width: 100%;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  white-space: nowrap;
}

.column-sort:active {
  transform: translate(1px, 1px);
}

.price-table th:has(.column-sort:active) {
  border-color: var(--chrome-black) var(--silver-light) var(--silver-light) var(--chrome-black);
  box-shadow: inset 1px 1px 0 var(--silver-dark);
}

.price-table th[aria-sort="ascending"] .column-sort::after {
  content: " ▴";
  font-size: 8px;
}

.price-table th[aria-sort="descending"] .column-sort::after {
  content: " ▾";
  font-size: 8px;
}

.price-table .mode-group-heading {
  position: static;
  padding: 4px 8px;
  border: 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid var(--chrome-black);
  background: var(--navy);
  box-shadow: none;
  color: #fff;
  font-weight: 700;
}

.mode-group-heading > span {
  display: inline-block;
}

.mode-group-name {
  font-weight: 700;
}

.mode-group-count {
  margin-left: 8px;
  color: #9cc0ff;
  font-size: 10px;
  font-weight: 400;
}

.price-table td {
  padding: 5px 8px;
  border-bottom: 1px solid #e4e4e4;
  border-right: 1px solid #efefef;
  vertical-align: top;
}

.price-table td:last-child {
  border-right: 0;
}

.price-table tr:nth-child(even) td {
  background: #f4f4f4;
}

.price-table tr:hover td {
  background: #e6ecf6;
}

.price-table tr.is-model-group-start td {
  border-top: 1px solid var(--silver-dark);
}

.model-cell {
  min-width: 210px;
}

.provider-name {
  display: flex;
  margin-bottom: 3px;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.provider-mark {
  display: grid;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  place-items: center;
  background: #146bb3;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.tone-1 {
  background: #7a4bac;
}

.tone-2 {
  background: #19745e;
}

.tone-3 {
  background: #b6582f;
}

.tone-4 {
  background: #37539a;
}

.tone-5 {
  background: #9a3569;
}

.model-name {
  display: block;
  max-width: 300px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.model-resolution {
  display: block;
  max-width: 300px;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font: 10px/1.35 "Liberation Mono", Consolas, monospace;
}

.variant-note {
  display: inline-flex;
  margin-top: 3px;
  padding: 1px 4px;
  border: 1px solid #9aa8b4;
  background: #eef2f6;
  color: #33475a;
  font-size: 9px;
  line-height: 1.3;
}

.condition-stack {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.condition-badge {
  display: inline-flex;
  padding: 1px 5px;
  border: 1px solid #8a9198;
  background: #eceff1;
  color: #2e3942;
  font-size: 10px;
  font-weight: 700;
}

.condition-badge--standard {
  border-color: #56789a;
  background: #dcebf8;
  color: #123c60;
}

.condition-badge--batch {
  border-color: #8a68a8;
  background: #ece2f4;
  color: #45256a;
}

.condition-badge--flex,
.condition-badge--priority,
.condition-badge--fast {
  border-color: #a8842e;
  background: #f8ecc8;
  color: #5c3e00;
}

.condition-muted {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.condition-expiry {
  color: #7a3c00;
  font-weight: 700;
}

.rate-cell {
  min-width: 118px;
  text-align: right;
}

.rate-amount {
  display: block;
  font: 700 11px/1.25 "Liberation Mono", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rate-basis {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.rate-missing {
  color: var(--silver-dark);
}

.supplemental-rate {
  display: block;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dotted #aab2b8;
}

.supplemental-rate__label,
.supplemental-rate__amount {
  display: block;
}

.supplemental-rate__label {
  margin-bottom: 1px;
  color: #4a3a60;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.supplemental-rate--storage .supplemental-rate__label {
  color: #2e4a5c;
}

.supplemental-rate__amount {
  font: 700 10px/1.25 "Liberation Mono", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.verification-cell {
  min-width: 92px;
}

.verification-badge {
  display: inline-flex;
  padding: 1px 5px;
  align-items: center;
  gap: 4px;
  border: 1px solid #5c9c74;
  background: var(--good-soft);
  color: #085c30;
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}

.verification-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #12a15a;
}

.verification-badge.is-warn {
  border-color: #c09a44;
  background: var(--warn-soft);
  color: #6a4c00;
}

.verification-badge.is-warn::before {
  background: #d79513;
}

.verification-badge.is-bad {
  border-color: #cc8880;
  background: var(--bad-soft);
  color: #8d2118;
}

.verification-badge.is-bad::before {
  background: var(--bad);
}

.evidence-cell {
  min-width: 130px;
}

.evidence-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--navy);
  font-weight: 700;
}

.evidence-link::after {
  content: "↗";
  text-decoration: none;
}

.snapshot-hash {
  display: block;
  max-width: 150px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font: 9px/1.3 "Liberation Mono", Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  padding: 32px 16px;
  background: #fff;
  text-align: center;
}

.empty-state__icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font: 700 18px/1 Tahoma, sans-serif;
}

.empty-state h3 {
  margin-bottom: 3px;
  font-size: 12px;
}

.empty-state p {
  margin-bottom: 10px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- api docs */

.api-docs {
  padding: 10px 8px 12px;
  background: var(--silver);
  border-top: 1px solid #fff;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.api-docs__heading {
  padding: 2px 2px 8px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 14px;
}

.section-kicker {
  margin-bottom: 2px;
  color: var(--muted);
}

.api-docs__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: start;
  gap: 8px;
}

.api-panel {
  min-width: 0;
  padding: 1px;
}

.utility-window__title {
  display: flex;
  min-height: 18px;
  margin: 1px;
  padding: 2px 6px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
}

.utility-window__title h2,
.utility-window__title h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
}

.utility-window__title span {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-panel__body {
  margin: 1px;
  padding: 8px;
  background: var(--silver);
}

.api-response {
  margin-top: 8px;
}

.code-block {
  overflow: auto;
  max-height: 300px;
  margin: 0;
  padding: 8px 10px;
  background: #000;
  color: #c0c0c0;
  font: 10px/1.55 "Liberation Mono", Consolas, monospace;
  tab-size: 2;
  white-space: pre;
}

.code-block--response {
  max-height: 380px;
}

.api-note {
  margin: 6px 0 0;
  color: #3d3d3d;
  font-size: 10px;
  line-height: 1.45;
}

.api-note code,
.api-params code {
  padding: 0 3px;
  background: #fff;
  border: 1px solid var(--silver-mid);
  color: #23394a;
  font: 10px/1.3 "Liberation Mono", Consolas, monospace;
}

.api-params-wrap {
  overflow-x: auto;
}

.api-params {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #333;
  font-size: 10px;
  line-height: 1.4;
}

.api-params th,
.api-params td {
  padding: 4px 6px;
  border-bottom: 1px solid #e0e4e2;
  vertical-align: top;
  text-align: left;
}

.api-params thead th {
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  color: var(--ink);
  font-weight: 400;
}

.api-params tbody th {
  white-space: nowrap;
}

.clipboard-fallback {
  position: fixed;
  top: -1000px;
  left: -1000px;
}

/* -------------------------------------------------------------- lower grid */

.lower-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(230px, 0.7fr) minmax(260px, 0.85fr);
  padding: 0 8px 10px;
  gap: 8px;
  background: var(--silver);
}

.utility-window {
  min-width: 0;
  padding: 1px;
}

.utility-window__body {
  margin: 1px;
  padding: 8px;
  background: #fff;
}

.dataset-status-body {
  padding: 5px;
}

.dataset-card {
  margin: 0;
  padding: 4px 6px;
  background: #fff;
  font-size: 11px;
}

.dataset-card > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 4px 2px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dotted #b6b6b6;
}

.dataset-card > div:last-child {
  border-bottom: 0;
}

.dataset-card dt {
  color: var(--muted);
  font-weight: 700;
}

.dataset-card dd {
  overflow: hidden;
  margin: 0;
  font: 700 10px/1.4 "Liberation Mono", Consolas, monospace;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dataset-card dd:first-letter {
  text-transform: uppercase;
}

.status-light,
.tray-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  background: #979797;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.55);
}

.status-light--good,
.tray-status.is-good {
  background: #18b418;
}

.status-light--warn,
.tray-status.is-warn {
  background: #e0a418;
}

.status-light--bad,
.tray-status.is-bad {
  background: #dc3428;
}

.status-light--pending {
  background: #b1b1b1;
}

.dataset-refresh-detail {
  margin: 5px 0 0;
  padding: 5px 7px;
  border: 1px solid #000;
  background: var(--tooltip);
  color: #333;
  font-size: 10px;
  line-height: 1.4;
}

.dataset-refresh-detail.is-good {
  border-color: #3c7c50;
  background: var(--good-soft);
  color: #085c30;
}

.dataset-refresh-detail.is-warn,
.dataset-refresh-detail.is-pending {
  border-color: #a8842e;
  background: var(--warn-soft);
  color: #5c4400;
}

.dataset-refresh-detail.is-bad {
  border-color: #b05048;
  background: var(--bad-soft);
  color: #8d2118;
}

.source-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  padding: 4px 2px;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid #ececec;
  font-size: 11px;
}

.source-list li:last-child {
  border-bottom: 0;
}

.source-name {
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--good);
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}

.source-state::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
}

.source-state.is-warn {
  color: var(--warn);
}

.source-state.is-bad {
  color: var(--bad);
}

.source-detail {
  grid-column: 1 / -1;
  color: #6e4b45;
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.source-list__placeholder {
  display: block !important;
  color: var(--muted);
}

.methodology-copy {
  color: #333;
  font-size: 11px;
  line-height: 1.5;
}

.methodology-copy p {
  margin-bottom: 6px;
}

.methodology-copy ul {
  margin: 0;
  padding-left: 16px;
}

.methodology-copy li + li {
  margin-top: 3px;
}

/* -------------------------------------------------------------- status bar */

.window-status-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 14px;
  margin-top: 2px;
  gap: 2px;
  font-size: 10px;
}

.window-status-bar span {
  min-width: 0;
  padding: 2px 7px 3px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--silver-dark) #fff #fff var(--silver-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-status-bar .status-grip {
  padding: 0;
  border-color: transparent;
  background:
    linear-gradient(135deg,
      transparent 0 4px, #fff 4px 5px, var(--silver-dark) 5px 7px,
      transparent 7px 8px, #fff 8px 9px, var(--silver-dark) 9px 11px,
      transparent 11px 12px, #fff 12px 13px, var(--silver-dark) 13px 15px,
      transparent 15px);
}

/* ----------------------------------------------------------------- taskbar */

.taskbar {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 30px;
  padding: 2px 3px;
  align-items: stretch;
  gap: 4px;
  border-top: 1px solid #fff;
  background: var(--silver);
  box-shadow: 0 -1px 0 var(--silver-dark);
}

.start-button {
  display: flex;
  min-height: 0;
  padding: 1px 8px;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

.start-mark {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 5px);
  transform: skewY(-8deg);
  gap: 1px;
}

.start-mark i:nth-child(1) {
  background: #e00000;
}

.start-mark i:nth-child(2) {
  background: #00a000;
}

.start-mark i:nth-child(3) {
  background: #0000a0;
}

.start-mark i:nth-child(4) {
  background: #f0c000;
}

.taskbar-divider {
  width: 2px;
  margin: 2px 1px;
  border-left: 1px solid var(--silver-dark);
  border-right: 1px solid #fff;
}

.task-button {
  display: flex;
  width: min(240px, 36vw);
  min-width: 0;
  padding: 1px 8px;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  background: #d8d8d8;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-button span {
  display: grid;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #fff;
  background: var(--desktop);
  color: #fff;
  font-size: 9px;
}

.taskbar-tray {
  display: flex;
  min-width: 108px;
  margin-left: auto;
  padding: 1px 8px;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--ink);
  font-size: 10px;
}

.tray-clippy {
  display: grid;
  width: 18px;
  height: 18px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}

.tray-clippy:hover {
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
}

.tray-status {
  margin-right: 0;
}

/* -------------------------------------------------------------- start menu */

.start-menu {
  position: fixed;
  z-index: 110;
  bottom: 32px;
  left: 3px;
  display: grid;
  grid-template-columns: 24px minmax(215px, 1fr);
  padding: 2px;
  background: var(--silver);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.45);
}

.start-menu[hidden] {
  display: none;
}

.start-menu__rail {
  display: flex;
  padding: 6px 2px;
  flex-direction: column-reverse;
  align-items: center;
  background: linear-gradient(#0a246a, #3a6ea5);
  color: #b8c8e0;
  font: 700 12px/1 Tahoma, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.start-menu__rail span {
  color: #fff;
}

.start-menu nav {
  padding: 1px;
}

.start-menu a {
  display: flex;
  padding: 6px 8px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.start-menu a > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #666;
  background: #fff;
  color: var(--navy);
  font: 700 11px/1 Tahoma, sans-serif;
}

.start-menu__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.start-menu a:hover,
.start-menu a:focus-visible {
  background: var(--navy);
  color: #fff;
  outline-offset: -2px;
}

.start-menu hr {
  height: 2px;
  margin: 2px 4px;
  border: 0;
  border-top: 1px solid var(--silver-dark);
  border-bottom: 1px solid #fff;
}

/* ------------------------------------------------------------------ clippy */

.clippy {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 44px;
  width: min(260px, calc(100vw - 32px));
}

.clippy[hidden] {
  display: none;
}

.clippy-balloon {
  position: relative;
  padding: 9px 24px 9px 11px;
  border: 1px solid #000;
  border-radius: 7px;
  background: var(--tooltip);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.clippy-balloon::after {
  position: absolute;
  right: 36px;
  bottom: -9px;
  width: 0;
  height: 0;
  content: "";
  border-top: 9px solid var(--tooltip);
  border-left: 9px solid transparent;
  filter: drop-shadow(0 1px 0 #000) drop-shadow(-1px 0 0 #000);
}

.clippy-text {
  margin: 0;
  color: #000;
  line-height: 1.45;
}

.clippy-text b {
  display: block;
  margin-bottom: 2px;
}

.clippy-options {
  display: grid;
  margin-top: 7px;
  gap: 3px;
}

.clippy-option {
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
  font: 11px/1.35 Tahoma, "MS Sans Serif", sans-serif;
  text-align: left;
  text-decoration: underline;
}

.clippy-dismiss {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 15px;
  height: 14px;
  padding: 0;
  place-items: center;
  border: 1px solid;
  border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
  background: var(--silver);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  cursor: pointer;
  font: 700 9px/1 Tahoma, sans-serif;
}

.clippy-figure {
  position: relative;
  width: 46px;
  height: 60px;
  margin: 10px 24px 0 auto;
}

.clippy-figure::before {
  position: absolute;
  inset: 0 10px;
  content: "";
  border: 5px solid #8aa4c8;
  border-radius: 20px / 26px;
}

.clippy-figure::after {
  position: absolute;
  inset: 14px 18px 6px;
  content: "";
  border: 5px solid #a8bcd8;
  border-top-color: transparent;
  border-radius: 14px / 18px;
}

.clippy-eyes {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 11px;
  display: flex;
  gap: 6px;
}

.clippy-eyes i {
  position: relative;
  display: block;
  width: 7px;
  height: 10px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
}

.clippy-eyes i::after {
  position: absolute;
  bottom: 1px;
  left: 2px;
  width: 3px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #000;
}

.clippy-brow {
  position: absolute;
  top: 0;
  left: 10px;
  width: 22px;
  height: 2px;
  background: #6a84a8;
  transform: rotate(-4deg);
}

/* ---------------------------------------------------------------- noscript */

.noscript-message {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 50%;
  padding: 8px 12px;
  transform: translateX(-50%);
  border: 1px solid #000;
  background: var(--tooltip);
  font-weight: 700;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .desktop {
    padding-left: 14px;
  }

  .desktop-icons {
    display: none;
  }
}

@media (max-width: 960px) {
  .intro {
    grid-template-columns: 1fr;
  }

  .explorer-split {
    flex-direction: column;
  }

  .tree-panel {
    width: 100%;
    padding: 4px;
  }

  .provider-pills {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 2px;
  }

  .provider-pill {
    flex: 0 0 auto;
    border: 1px solid;
    border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
    background: var(--silver);
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark);
  }

  .provider-pill.is-active {
    border-color: var(--chrome-black) var(--silver-light) var(--silver-light) var(--chrome-black);
    box-shadow: inset 1px 1px 0 var(--silver-dark);
  }

  .api-docs__grid {
    grid-template-columns: 1fr;
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .desktop {
    padding: 0 0 40px;
  }

  .app-window {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .menu-bar,
  .explorer-toolbar {
    overflow-x: auto;
  }

  .address-row {
    display: none;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-bar > .classic-button--primary {
    width: 100%;
    margin-top: 0;
  }

  .result-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-tools {
    width: 100%;
    align-items: flex-start;
  }

  .sort-control {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-control select {
    width: 100%;
  }

  .table-frame {
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
  }

  .price-table .mode-group-row {
    display: block;
    margin: 10px 0 4px;
  }

  .price-table .mode-group-row:first-child {
    margin-top: 0;
  }

  .price-table .mode-group-heading {
    display: block;
    width: 100%;
  }

  .price-table tr {
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid;
    border-color: var(--silver-light) var(--chrome-black) var(--chrome-black) var(--silver-light);
    background: #fff;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-dark), 2px 2px 0 rgba(0, 0, 0, 0.25);
  }

  .price-table td,
  .price-table tr:nth-child(even) td {
    display: grid;
    grid-template-columns: minmax(84px, 0.38fr) minmax(0, 0.62fr);
    min-width: 0;
    padding: 6px 8px;
    align-items: start;
    gap: 8px;
    border-right: 0;
    background: #fff;
  }

  .price-table tr:hover td {
    background: #fff;
  }

  .price-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .price-table .model-cell {
    grid-template-columns: 1fr;
    background: #ececec !important;
  }

  .price-table .model-cell::before {
    display: none;
  }

  .rate-cell {
    text-align: left;
  }

  .condition-stack,
  .rate-cell,
  .verification-cell,
  .evidence-cell {
    min-width: 0;
  }

  .window-status-bar {
    grid-template-columns: minmax(0, 1fr) auto 14px;
  }

  .window-status-bar span:nth-child(3) {
    display: none;
  }

  .clippy {
    right: 8px;
    bottom: 38px;
    width: min(230px, calc(100vw - 16px));
  }

  .taskbar-tray {
    min-width: 84px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 18px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-button {
    flex: 1 1 auto;
    width: auto;
  }

  .taskbar-tray {
    min-width: auto;
  }

  .tray-status {
    display: none;
  }

  .start-menu {
    right: 3px;
    grid-template-columns: 24px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hourglass {
    animation: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #2c2c2c;
  }

  .price-table td {
    border-bottom-color: #8a8a8a;
  }
}
