.glm-report-page {
  margin: 0;
  background: radial-gradient(ellipse at 8% 0%, #d9eef8 0, transparent 38rem),
    radial-gradient(ellipse at 98% 14%, #ece1f8 0, transparent 34rem),
    radial-gradient(ellipse at 14% 69%, #e6f3e5 0, transparent 45rem), #fcfbf7;
  color: #132235;
  font: 17px/1.5 "Segoe UI", system-ui, sans-serif;
}
.glm-bench, .glm-bench * { box-sizing: border-box; }
.glm-bench { color: #132235; font-size: 16px; line-height: 1.5; min-width: 0; }
.glm-page { width: min(calc(100% - 2rem), 1296px); margin: 0 auto; padding: 28px 0 48px; }
.glm-bench h1, .glm-bench h2, .glm-bench h3, .glm-bench p { color: inherit; margin: 0; }
.glm-bench h1 { font-size: clamp(2.3rem, 5.25vw, 5rem); line-height: 1.03; letter-spacing: -.055em; }
.glm-bench h2 { font-size: clamp(1.3rem, 2.35vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
.glm-bench h3 { font-size: 18px; line-height: 1.25; font-weight: 800; }
.glm-bench p, .glm-bench ul { overflow-wrap: anywhere; }
.glm-bench ul { margin: 0; padding-inline-start: 1.4em; }
.glm-bench li + li { margin-top: .45em; }
.glm-hero {
  display: grid; gap: 12px; margin-bottom: 20px; padding: clamp(20px, 4.2vw, 56px);
  background: radial-gradient(ellipse at 4% 10%, #f6fcff 0, transparent 58%),
    radial-gradient(ellipse at 90% 5%, #eadcf6 0, transparent 55%),
    linear-gradient(115deg, #daf0fc, #e0f3e8 62%, #fff1d9);
  border: 1px solid #a8c3d4; border-radius: 26px; box-shadow: 0 14px 34px #18385613;
}
.glm-hero .glm-date { font-weight: 700; }
.glm-hero .glm-deck { font-size: clamp(1.25rem, 3vw, 1.85rem); font-weight: 750; }
.glm-hero p:last-child { max-width: 74ch; }
.glm-card { display: grid; gap: 14px; margin-top: 18px; padding: clamp(14px, 2.1vw, 26px); border: 1px solid #aebdc8; border-radius: 19px; background: #fffefa; min-width: 0; }
.glm-arm-grid, .glm-routing-grid { display: grid; gap: 10px; }
.glm-arm-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.glm-routing-grid { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.glm-arm, .glm-route, .glm-task-row, .glm-output { min-width: 0; border: 1px solid #b0bec9; border-radius: 14px; padding: 14px; display: grid; gap: 7px; align-content: start; overflow-wrap: anywhere; }
.glm-arm { background: linear-gradient(140deg, #e8f4fc, #f8fbf8); }
.glm-arm:nth-child(2) { background: linear-gradient(140deg,#e5f4e9,#f9fdf5); }
.glm-arm:nth-child(3) { background: linear-gradient(140deg,#f1e5fc,#fcf8fe); }
.glm-arm:nth-child(4) { background: linear-gradient(140deg,#fff0d9,#fffdf1); }
.glm-arm:nth-child(5) { background: linear-gradient(140deg,#f8e8ec,#fffaf7); }
.glm-arm > strong { font-size: clamp(1.42rem, 2.6vw, 2.25rem); letter-spacing: -.04em; }
.glm-controls { display: flex; gap: 7px; flex-wrap: wrap; align-items: end; min-width: 0; }
.glm-bench button, .glm-bench select, .glm-bench summary { font: inherit; color: #132235; }
.glm-bench button, .glm-bench select {
  min-height: 44px; max-width: 100%; border: 1px solid #8dabbc; border-radius: 9px;
  padding: 7px 12px; background: #f6fbfd; cursor: pointer; font-weight: 700;
}
.glm-bench button:hover, .glm-bench select:hover { background: #eef2fb; border-color: #284969; }
.glm-bench button[aria-pressed="true"] { background: #dceef9; border-color: #365d75; box-shadow: inset 0 -2px #42738b; }
.glm-bench :is(button, select, summary, pre):focus-visible { outline: 3px solid #185e83; outline-offset: 3px; }
.glm-bench summary { cursor: pointer; font-weight: 750; padding-block: 10px; }
.glm-bench details { min-width: 0; }
.glm-bench details[open] > * + * { margin-top: 10px; }
.glm-bars { display: grid; gap: 8px; }
.glm-bar-row { display: grid; grid-template-columns: minmax(0, 165px) minmax(0, 1fr) minmax(3rem, auto); gap: 12px; align-items: center; }
.glm-bar-row > span { font-variant-numeric: tabular-nums; text-align: right; }
.glm-track { height: 15px; border-radius: 12px; position: relative; background: #edf1f3; }
.glm-fill { display: block; height: 100%; border-radius: inherit; background: #78a9c3; transition: width .22s ease; }
.glm-glm54-low { background: #72a991; }
.glm-glm54-medium { background: #9a83bc; }
.glm-glm54-high { background: #c98e42; }
.glm-glm54-max { background: #ba8194; }
.glm-baseline { position: absolute; top: -3px; bottom: -3px; border-left: 2px dashed #132235; }
.glm-bench .glm-verdict, .glm-bench .glm-clock-result { padding: 10px 14px; border-radius: 10px; background: #fff0d5; font-weight: 750; }
.glm-bench .glm-clock-result { background: #e4f4ea; }
.glm-field { flex: 1 1 auto; min-width: 0; max-width: 300px; display: grid; gap: 5px; font-weight: 700; }
.glm-field select { width: 100%; }
.glm-clock { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.glm-bench .glm-hour { padding: 4px 0; background: #edf8ef; border-color: #789b86; }
.glm-bench .glm-hour.glm-peak { background: #ffefd3; border-color: #ab875e; }
.glm-bench .glm-hour[aria-pressed="true"] { outline: 2px solid #132235; outline-offset: -3px; box-shadow: none; }
.glm-task-row { background: #f9fbfd; }
.glm-task-cells { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.glm-task-cells button { font-size: 15px; text-align: left; }
.glm-route, .glm-output { background: #f6f4fc; }
.glm-provenance li { overflow-wrap: anywhere; }
.glm-bench .glm-dialog { color: #132235; background: #fcfbf7; width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border: 1px solid #8baabc; border-radius: 18px; padding: clamp(12px, 2vw, 24px); overflow: auto; }
.glm-dialog::backdrop { background: #13223580; }
.glm-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 12px; }
.glm-dialog .glm-controls + .glm-controls { margin-top: 10px; }
.glm-dialog [role="status"] { align-self: center; }
.glm-output-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.glm-output pre { margin: 0; padding: 10px; border-radius: 8px; background: #fffefa; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.45 ui-monospace, Consolas, monospace; user-select: text; max-height: min(410px, 46dvh); overflow: auto; }
@media (min-width: 1100px) {
  .glm-routing-grid { grid-template-columns: repeat(2, minmax(360px, 1fr)); }
}
@media (max-width: 940px) {
  .glm-arm-grid, .glm-task-cells { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 595px) {
  .glm-page { width: calc(100% - 24px); padding-top: 12px; }
  .glm-arm-grid, .glm-task-cells { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .glm-bar-row { grid-template-columns: minmax(100px, .95fr) minmax(0, 1fr) minmax(32px,auto); gap: 6px; }
  .glm-clock { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .glm-output-grid, .glm-routing-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { .glm-fill { transition: none; } }

/* Skip-to-content link (same rule as styles.css; this page does not load styles.css) */
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: #FFFFFF;
  color: #075985;
}

/* Keep the footer below the first viewport while the deferred report loads. */
#glm-report { min-block-size: 100vh; }
#glm-report:has(noscript p) { min-block-size: 0; }
