/* Shared controls used only by the standalone Labs. */
.section-pad {
  padding: 82px 6%;
}
.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.07em;
}
.section-kicker > :last-child {
  color: #6b7f92;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: 11px/1.5 var(--mono);
  text-align: left;
}
.text-link > span {
  font: 20px var(--sans);
}
.text-link:hover {
  color: #3174a7;
}
.lab {
  background: #0c1623;
  color: #e4edf5;
}
.lab .section-kicker {
  color: #a9ceea;
}
.lab .section-kicker > :last-child {
  color: #91aabe;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #acd2bb;
  display: inline-block;
}
.lab .section-heading h2 em {
  color: #91b8d6;
}
.lab .section-heading > p {
  color: #9dafc0;
}
.lab-shell {
  border: 1px solid #395167;
  background: #111e2e;
}
.lab-tabs {
  display: flex;
  border-bottom: 1px solid #395167;
}
.lab-tabs button {
  flex: 1;
  background: #0c1623;
  color: #9dafc1;
  border: 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  font: 12px var(--mono);
}
.lab-tabs button + button {
  border-left: 1px solid #395167;
}
.lab-tabs button[aria-selected="true"] {
  background: #a6d6ff;
  color: #102f48;
}
.lab-tabs button > span {
  font-size: 10px;
  opacity: 0.7;
}
.lab-tabs button > b {
  font-size: 18px;
  font-weight: 400;
  margin-left: auto;
}
.lab-tabs button:hover:not([aria-selected="true"]) {
  background: #192a3c;
  color: #d5e7f7;
}
.lab-panel {
  padding: 30px;
}
.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.demo-heading .mono {
  color: #8faabe;
  font-size: 9px;
}
.demo-heading h3 {
  font-size: 29px;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-top: 10px;
}
.lab .quiet-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #adbfce;
  font: 10px/1.5 var(--mono);
  padding: 10px 0;
}
.lab .quiet-button:hover {
  color: #fff;
}
.owner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b2c4d3;
  white-space: nowrap;
}
.owner-avatar {
  border: 1px solid #46627b;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 8px var(--mono);
}
.desk-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  gap: 20px;
  border-block: 1px solid #31465b;
  padding: 24px 0;
  margin: 26px 0;
}
.desk-metrics div {
  display: grid;
  gap: 9px;
  border-right: 1px solid #31465b;
}
.desk-metrics div > span {
  font: 10px var(--mono);
  color: #9eb2c5;
}
.desk-metrics b {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #b7ddfa;
}
.desk-metrics p {
  font-size: 12px;
  line-height: 1.8;
  color: #9eb2c5;
  align-self: center;
}
.desk-toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 22px;
}
.search-label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  border: 1px solid #425a70;
  padding: 0 14px;
  background: #0b1522;
}
.search-label svg {
  width: 17px;
  height: 17px;
  stroke: #9eb2c5;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.search-label input {
  padding: 13px 0;
  min-width: 0;
  width: 100%;
  border: 0;
  background: none;
  color: #e6eff8;
  font-size: 12px;
}
.search-label input::placeholder {
  color: #93a9bd;
}
.search-label:focus-within {
  outline: 2px solid #a6d6ff;
  outline-offset: 2px;
}
.search-label input:focus-visible {
  outline: none;
}
.status-select select {
  height: 100%;
  border: 1px solid #425a70;
  padding: 0 30px 0 15px;
  background: #0b1522;
  color: #c2d1df;
  font: 10px var(--mono);
  border-radius: 0;
}
.desk-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
.desk-table th {
  font: 9px/1.5 var(--mono);
  color: #93abc1;
  padding: 0 12px 12px;
  font-weight: 400;
}
.desk-table td {
  border-top: 1px solid #2e4358;
  padding: 15px 12px;
  font-size: 12px;
}
.desk-table th:first-child,
.desk-table td:first-child {
  padding-left: 0;
}
.desk-table th:last-child,
.desk-table td:last-child {
  padding-right: 0;
  text-align: right;
}
.request-name {
  display: block;
  color: #e4edf5;
  font-weight: 400;
  font-size: 13px;
}
.request-team {
  display: block;
  color: #8fa7bc;
  font: 9px/1.5 var(--mono);
  margin-top: 5px;
}
.request-badge {
  display: inline-block;
  font: 9px/1.5 var(--mono);
  padding: 6px 9px;
  white-space: nowrap;
  border: 1px solid #4e6478;
  color: #b4c9dc;
}
.request-badge.progress {
  background: #18354e;
  border-color: #3e6688;
  color: #b3d9f6;
}
.request-badge.complete {
  background: #183530;
  border-color: #3e6458;
  color: #b8dccb;
}
.request-open {
  background: none;
  border: 1px solid #3e556b;
  color: #b8d6ef;
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.request-open:hover {
  background: #a6d6ff;
  color: #0c1623;
}
.demo-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #31465b;
  font: 9px/1.8 var(--mono);
  color: #8fa7bd;
}
.empty-state {
  padding: 40px 15px;
  text-align: center;
}
.empty-state b {
  font-weight: 400;
  font-size: 22px;
}
.empty-state p {
  margin: 10px 0;
  color: #9eb2c5;
  font-size: 13px;
}
.empty-state .text-link {
  color: #a6d6ff;
}
.planner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  padding: 28px 0 10px;
}
.planner-inputs,
.planner-result {
  min-width: 0;
}
.planner-inputs > p {
  font-size: 13px;
  line-height: 1.8;
  color: #a7bbce;
  margin-bottom: 27px;
  max-width: 360px;
}
.planner-inputs label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #cfdfed;
  margin: 25px 0 12px;
}
.planner-inputs output {
  font: 11px var(--mono);
  color: #b4dcff;
}
.planner-inputs input[type="range"] {
  width: 100%;
  accent-color: #a6d6ff;
  cursor: pointer;
  height: 20px;
  margin: 0;
}
.planner-inputs .planner-assumption {
  font: 9px/1.8 var(--mono);
  color: #8fa7bd;
  margin: 25px 0 0;
}
.planner-result {
  background: #172b3e;
  border: 1px solid #3c5871;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.planner-result > .mono {
  color: #adc8df;
  font-size: 9px;
}
.saved-time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 30px;
  color: #b4dcff;
}
.saved-time strong {
  font-weight: 400;
  font-size: clamp(54px, 6vw, 82px);
  letter-spacing: -0.07em;
  line-height: 1;
}
.saved-time > span {
  font-size: 20px;
  color: #9fbbd0;
}
.comparison-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 10px/1.5 var(--mono);
  margin-bottom: 9px;
  color: #c3d7e8;
}
.comparison-row b {
  font-weight: 400;
}
.comparison-track {
  width: 100%;
  height: 13px;
  margin-bottom: 19px;
  background: #0e1c2b;
}
.comparison-bar {
  height: 100%;
}
.comparison-bar.before {
  width: 100%;
  background: #69849b;
}
.comparison-bar.after {
  width: 40%;
  background: #add7c2;
  transition: width 0.2s;
}
.no-script {
  padding: 20px 0;
  font-size: 14px;
}
@media (min-width: 1800px) {
.section-pad {
    padding-inline: max(6%, calc((100vw - 1550px) / 2));
  }
}
@media (max-width: 1200px) {
.section-pad {
    padding: 65px 5%;
  }
.planner-grid {
    gap: 30px;
  }
}
@media (max-width: 850px) {
.desk-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
.desk-metrics > p {
    display: none;
  }
.desk-metrics div:last-of-type {
    border: 0;
  }
.lab-panel {
    padding: 24px;
  }
.planner-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
  }
.planner-result {
    padding: 24px;
  }
}
@media (max-width: 650px) {
.section-pad {
    padding: 53px 24px;
  }
.section-kicker {
    font-size: 8px;
    gap: 20px;
  }
.section-kicker > :last-child {
    text-align: right;
    max-width: 150px;
  }
.lab-tabs button {
    font-size: 10px;
    padding: 18px 13px;
    gap: 9px;
    line-height: 1.5;
  }
.lab-tabs button > b {
    display: none;
  }
.lab-panel {
    padding: 22px 15px;
  }
.demo-heading {
    align-items: flex-start;
    gap: 14px;
  }
.demo-heading h3 {
    font-size: 25px;
  }
.demo-heading .mono {
    font-size: 7px;
  }
.demo-heading .quiet-button {
    font-size: 8px;
    white-space: nowrap;
    padding-top: 1px;
  }
.desk-metrics {
    gap: 12px;
    padding: 20px 0;
    margin: 22px 0;
  }
.desk-metrics div > span {
    font-size: 8px;
  }
.desk-metrics b {
    font-size: 28px;
  }
.desk-toolbar {
    flex-direction: column;
    gap: 12px;
  }
.status-select select {
    width: 100%;
    padding: 12px;
  }
.search-label input {
    font-size: 11px;
  }
.desk-table th {
    font-size: 8px;
    padding-inline: 7px;
  }
.desk-table td {
    padding: 15px 7px;
  }
.desk-table th:nth-child(2),
  .desk-table td:nth-child(2) {
    display: none;
  }
.demo-footer {
    font-size: 8px;
    flex-direction: column;
    gap: 5px;
  }
.planner-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
.planner-inputs > p {
    font-size: 12px;
  }
.planner-result {
    padding: 25px;
  }
.saved-time strong {
    font-size: clamp(52px, 18vw, 70px);
  }
}
@media (max-width: 360px) {
.section-pad {
    padding-inline: 18px;
  }
.section-kicker {
    font-size: 7px;
  }
.lab-tabs button {
    font-size: 9px;
    padding-inline: 10px;
  }
.demo-heading h3 {
    font-size: 22px;
  }
.lab-panel {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
.comparison-bar.after {
    transition: none;
  }
}
