/* Clutch Lab — a complete browser-local experience, isolated from shared page styles. */
.lab-page {
  background:#f5f7fb
}

.lab-container {
  width:calc(100% - 64px);
  max-width:1320px;
  margin-inline:auto
}

.lab-intro {
  display:flex;
  justify-content:space-between;
  gap:48px;
  align-items:center;
  padding:48px 24px 44px
}

.lab-intro .eyebrow {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:11px;
  letter-spacing:.09em;
  margin-bottom:22px
}

.lab-wordmark {
  letter-spacing:.1em;
  color:#172b43
}

.lab-wordmark b {
  color:#245dd6
}

.lab-intro-divider {
  height:14px;
  width:1px;
  background:#bcc8d8
}

.lab-intro h1 {
  font-size:clamp(48px,5.2vw,76px);
  line-height:1.02;
  letter-spacing:-.065em
}

.lab-intro h1>span {
  color:#245dd6
}

.lab-intro-copy {
  max-width:350px;
  padding-top:32px
}

.lab-intro-copy>p {
  font-size:25px;
  line-height:1.25;
  letter-spacing:-.035em;
  color:#172b43;
  font-weight:600;
  margin-bottom:14px
}

.lab-intro-copy>span {
  font-size:15px;
  line-height:1.6;
  color:#62728a;
  display:block
}

.lab-jump {
  display:inline-flex;
  gap:50px;
  align-items:center;
  font-size:13px;
  font-weight:600;
  margin-top:18px
}

.lab-jump span {
  color:#245dd6;
  font-size:22px
}

.lab-stage {
  background:#101f35;
  color:#fff;
  border-radius:18px;
  padding:22px 24px 0;
  box-shadow:0 24px 70px -40px #19344f70;
  scroll-margin-top:20px;
  overflow:hidden
}

.lab-stage-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  letter-spacing:.13em;
  color:#a8b9d0;
  gap:20px
}

.lab-stage-top>div {
  display:flex;
  align-items:center;
  gap:10px
}

.lab-stage-top strong {
  font-size:10px;
  font-weight:550
}

.lab-stage-top>span {
  letter-spacing:.035em;
  font-size:11px
}

.lab-stage-top>span span {
  margin:0 12px;
  color:#576b86
}

.lab-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#72aaff;
  box-shadow:0 0 0 5px #3b73cb20
}

.lab-flow {
  display:flex;
  align-items:center;
  padding:29px 22px 30px;
  gap:16px;
  min-height:110px
}

.flow-node {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:125px;
  color:#879bb8
}

.flow-icon {
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:600;
  width:34px;
  height:34px;
  border:1px solid #3b4e68;
  border-radius:10px;
  flex-shrink:0;
  background:#1a2b43
}

.flow-node>div {
  display:flex;
  flex-direction:column
}

.flow-node strong {
  font-size:13px;
  font-weight:500
}

.flow-node small {
  font-size:10px;
  margin-top:2px;
  color:#8b9db6
}

.flow-node.is-current {
  color:#fff
}

.flow-node.is-current .flow-icon {
  background:#356eeb;
  border-color:#77a5ff;
  box-shadow:0 0 22px #3277fc40
}

.flow-node.is-done {
  color:#c4d8f6
}

.flow-node.is-done .flow-icon {
  background:#203d5d;
  border-color:#477bad;
  color:#b4d8ff
}

.flow-connector {
  height:1px;
  flex:1;
  min-width:12px;
  background:#354964;
  position:relative
}

.flow-connector:after {
  content:'';
  position:absolute;
  right:0;
  top:-2px;
  width:5px;
  height:5px;
  border-right:1px solid #627b9e;
  border-top:1px solid #627b9e;
  transform:rotate(45deg)
}

.lab-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 253px;
  gap:24px;
  align-items:stretch
}

.lab-app {
  min-width:0;
  background:#fff;
  color:#172b43;
  border-radius:11px;
  overflow:hidden;
  border:1px solid #e1e8f4;
  box-shadow:0 18px 35px #030d2025
}

.app-topbar {
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 19px;
  border-bottom:1px solid #e8edf4;
  background:#fafbfe;
  min-height:54px
}

.app-symbol {
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  background:#245dd6;
  color:white;
  font-size:13px;
  font-weight:700;
  border-radius:6px
}

.app-topbar strong {
  font-size:12px;
  font-weight:600
}

.app-topbar-label {
  margin-left:auto;
  font-size:8px;
  letter-spacing:.1em;
  color:#708197
}

.app-interior {
  display:grid;
  grid-template-columns:166px minmax(0,1fr);
  min-height:472px
}

.app-sidebar {
  padding:25px 12px 16px;
  background:#f8faff;
  border-right:1px solid #e8edf4;
  display:flex;
  flex-direction:column
}

.sidebar-label {
  font-size:8px;
  font-weight:600;
  letter-spacing:.1em;
  color:#788ba4;
  display:block
}

.app-sidebar>.sidebar-label {
  margin:0 9px 13px
}

.role-tabs {
  display:flex;
  flex-direction:column;
  gap:5px
}

.role-tabs button {
  display:flex;
  align-items:center;
  gap:11px;
  text-align:left;
  width:100%;
  border:0;
  border-radius:6px;
  padding:12px 10px;
  background:transparent;
  color:#61728a;
  font-size:12px;
  line-height:1.3
}

.role-tabs button small {
  display:block;
  margin-top:4px;
  font-size:9px;
  color:#74869e
}

.role-tabs button[aria-selected=true] {
  background:#e7efff;
  color:#245dd6
}

.role-tabs button[aria-selected=true] small {
  color:#5476ae
}

.role-glyph {
  font-size:20px;
  font-weight:400;
  width:17px;
  text-align:center
}

.sidebar-record {
  margin:27px 9px 0;
  padding-top:22px;
  border-top:1px solid #e1e8f2;
  display:flex;
  flex-direction:column;
  gap:4px
}

.sidebar-record strong {
  font-size:13px;
  margin-top:9px;
  letter-spacing:.03em
}

.sidebar-record>span:not(.sidebar-label):not(.record-state) {
  font-size:10px;
  line-height:1.5;
  color:#63758d
}

.record-state {
  font-size:9px;
  color:#245dd6;
  display:inline-block;
  margin-top:9px;
  padding:4px 7px;
  border:1px solid #d9e5fb;
  border-radius:4px;
  align-self:flex-start;
  background:#edf3ff;
  font-weight:600
}

.sidebar-bottom {
  margin:auto 9px 0;
  padding-top:42px;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  color:#6f829c
}

.linked-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#4c80d7
}

.app-main {
  min-width:0;
  padding:27px 28px 25px
}

.panel-eyebrow {
  font-size:9px;
  letter-spacing:.09em;
  color:#70829c;
  font-weight:600;
  margin-bottom:7px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}

.panel-heading h2 {
  font-size:25px;
  letter-spacing:-.04em;
  line-height:1.15
}

.panel-heading>p {
  font-size:12px;
  line-height:1.55;
  margin-top:7px;
  max-width:470px
}

.request-note {
  margin-top:20px;
  border-left:2px solid #9fbbef;
  padding:1px 0 1px 13px
}

.request-note p {
  font-size:12px;
  color:#435b78;
  line-height:1.7
}

.request-note span {
  display:block;
  font-size:9px;
  color:#7b8ba1;
  margin-top:7px
}

.lab-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:23px
}

.lab-field {
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0
}

.lab-field>span {
  font-size:10px;
  font-weight:600;
  color:#50637c
}

.lab-field select,.lab-field textarea {
  font:inherit;
  font-size:12px;
  color:#172b43;
  background:#fff;
  border:1px solid #d4deeb;
  border-radius:6px;
  min-height:39px;
  padding:8px 10px;
  width:100%;
  box-shadow:0 1px 2px #132c4e05
}

.lab-field textarea {
  resize:vertical;
  min-height:65px;
  line-height:1.5
}

.lab-field select:disabled {
  color:#5c7089;
  background:#f5f7fb;
  opacity:1
}

.lab-action-row {
  display:flex;
  align-items:center;
  gap:13px;
  flex-wrap:wrap;
  margin-top:19px
}

.lab-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  min-height:39px;
  padding:10px 15px;
  border:1px solid transparent;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  background:#245dd6;
  color:#fff;
  transition:background .15s,box-shadow .15s
}

.lab-button:hover:not(:disabled) {
  background:#174bbe;
  box-shadow:0 3px 9px #245dd626
}

.lab-button:disabled {
  background:#e8edf5;
  color:#657a96;
  border-color:#dce4ef;
  box-shadow:none
}

.lab-button-light {
  background:#fff;
  color:#245dd6;
  border-color:#d6e0ed
}

.lab-button-light:hover:not(:disabled) {
  background:#edf3ff;
  color:#174bbe
}

.lab-text-button {
  background:transparent;
  border:0;
  padding:7px 0;
  font-size:11px;
  font-weight:600;
  color:#245dd6;
  text-align:left
}

.action-hint {
  font-size:10px;
  color:#70829c;
  display:block;
  margin-top:10px;
  line-height:1.6
}

.panel-footnote {
  font-size:10px;
  line-height:1.6;
  margin-top:19px;
  padding-top:14px;
  border-top:1px solid #e8edf4;
  color:#6b7d94
}

.app-event {
  min-height:38px;
  padding:10px 15px;
  background:#f6f9fe;
  border-top:1px solid #e5ecf5;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  color:#667b97
}

.app-event .event-dot {
  width:5px;
  height:5px;
  background:#6592e4;
  border-radius:50%;
  flex-shrink:0
}

.event-marker {
  margin-left:auto;
  font-size:8px;
  white-space:nowrap;
  color:#7d90aa
}

.lab-config {
  padding:6px 0 0 0;
  color:white
}

.config-kicker {
  font-size:9px;
  letter-spacing:.12em;
  color:#a1b9df;
  display:flex;
  align-items:center;
  gap:9px
}

.config-kicker>span {
  font-size:23px;
  line-height:1;
  color:#8ab7ff
}

.lab-config h2 {
  font-size:27px;
  letter-spacing:-.04em;
  line-height:1.16;
  margin-top:15px
}

.lab-config>p {
  color:#aabbd1;
  font-size:12px;
  line-height:1.65;
  margin-top:11px;
  margin-bottom:25px
}

.rule-option {
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  padding:16px 0;
  border-top:1px solid #30425c;
  cursor:pointer
}

.rule-option>span:first-child {
  flex:1;
  min-width:0
}

.rule-option strong {
  font-size:12px;
  display:block;
  font-weight:550
}

.rule-option small {
  font-size:10px;
  color:#99acc6;
  display:block;
  margin-top:5px;
  line-height:1.5
}

.rule-option input {
  position:absolute;
  right:0;
  width:34px;
  height:22px;
  opacity:0;
  cursor:pointer;
  z-index:1
}

.switch {
  width:33px;
  height:19px;
  flex-shrink:0;
  background:#43516a;
  border:1px solid #607087;
  border-radius:20px;
  position:relative;
  transition:background .2s
}

.switch:after {
  content:'';
  position:absolute;
  top:3px;
  left:3px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#d3deef;
  transition:transform .2s,background .2s
}

.rule-option input:checked+.switch {
  background:#3679f5;
  border-color:#7cabff
}

.rule-option input:checked+.switch:after {
  transform:translateX(14px);
  background:#fff
}

.rule-option input:focus-visible+.switch {
  outline:3px solid #9ac2ff;
  outline-offset:5px
}

.config-feedback {
  font-size:10px;
  line-height:1.6;
  min-height:48px;
  padding:9px 0;
  color:#a8caff
}

.exception {
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #30425c
}

.exception .sidebar-label {
  color:#8da4c3
}

.exception>p {
  color:#aebdd2;
  font-size:11px;
  line-height:1.6;
  margin:8px 0 12px
}

.lab-button-dark {
  background:#20364f;
  color:#e2ecff;
  border:1px solid #405a7c;
  width:100%;
  justify-content:space-between
}

.lab-button-dark:disabled {
  background:transparent;
  color:#7388a4;
  border-color:#30455f
}

.lab-button-dark:hover:not(:disabled) {
  background:#2c4668
}

.exception>small {
  display:block;
  font-size:9px;
  color:#9bafca;
  line-height:1.5;
  margin-top:9px
}

.lab-stage-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 0 19px
}

.lab-stage-bottom p {
  font-size:10px;
  color:#91a5c1;
  line-height:1.6
}

.lab-stage-bottom strong {
  font-weight:500;
  color:#c5d4e8
}

.lab-tools {
  display:flex;
  align-items:center;
  gap:12px;
  color:#627692;
  flex-shrink:0
}

.lab-tools button {
  background:transparent;
  border:0;
  color:#c3d1e5;
  font-size:10px;
  padding:5px 0
}

.lab-tools button:hover {
  color:#fff
}

.lab-tools span {
  font-size:11px
}

.lab-stage :focus-visible {
  outline-color:#84b0ff
}

.lab-sr {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}

.lab-explainer {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:50px;
  padding:55px 24px 58px
}

.lab-explainer>div>span {
  color:#245dd6;
  font-size:10px;
  font-weight:600;
  letter-spacing:.08em
}

.lab-explainer h2 {
  font-size:20px;
  letter-spacing:-.025em;
  margin:13px 0 9px
}

.lab-explainer p {
  font-size:13px;
  color:#66768c;
  max-width:310px;
  line-height:1.75
}

.lab-brief {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  padding:48px 24px 85px;
  border-top:1px solid #dbe3ed
}

.lab-brief h2 {
  font-size:44px;
  letter-spacing:-.05em;
  line-height:1.07;
  margin:13px 0 20px
}

.lab-brief-intro>p:not(.eyebrow) {
  max-width:390px;
  font-size:14px
}

.lab-brief-intro>.button {
  margin-top:25px
}

.brief-sheet {
  background:#fff;
  border:1px solid #dce4ee;
  box-shadow:0 12px 35px #132a4610;
  padding:28px 30px;
  border-radius:3px;
  position:relative;
  align-self:center
}

.brief-sheet:before {
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:#245dd6
}

.brief-heading {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:.09em;
  color:#6b7d94
}

.brief-heading>span:last-child {
  font-size:20px;
  color:#245dd6
}

.brief-sheet h3 {
  font-size:21px;
  margin:15px 0 19px;
  max-width:280px
}

.brief-sheet ul {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px
}

.brief-sheet li {
  font-size:12px;
  color:#455d78;
  display:flex;
  gap:10px
}

.brief-sheet li:before {
  content:'✓';
  color:#245dd6
}

.brief-sheet>p {
  font-size:11px;
  line-height:1.65;
  margin-top:22px;
  padding-top:17px;
  border-top:1px solid #e1e7ef
}

.brief-actions {
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:9px
}

.brief-actions button {
  font-size:12px;
  background:transparent;
  border:0;
  padding:0
}

.brief-actions>span {
  font-size:10px;
  color:#607590
}

.lab-fallback {
  background:#fff;
  padding:40px;
  color:#172b43;
  border-radius:10px
}

.lab-fallback h2 {
  font-size:28px;
  margin-bottom:15px
}

.lab-fallback p {
  max-width:700px;
  font-size:15px
}

.lab-fallback a {
  text-decoration:underline;
  color:#245dd6
}

.state-callout {
  margin-top:18px;
  padding:12px 14px;
  border:1px solid #cddffb;
  border-radius:6px;
  background:#f0f6ff
}

.state-callout strong {
  font-size:12px;
  font-weight:600;
  display:block;
  color:#274f8a
}

.state-callout p {
  font-size:11px;
  color:#567095;
  line-height:1.6;
  margin-top:4px
}

.state-callout .lab-button {
  margin-top:12px
}

.state-callout.is-change {
  background:#fff9ef;
  border-color:#ecd9b6
}

.state-callout.is-change strong {
  color:#7e5e25
}

.state-callout.is-change p {
  color:#856e4d
}

.job-meta {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  font-size:10px;
  color:#637a96;
  padding:12px 0;
  border-bottom:1px solid #e6edf5;
  margin-top:13px
}

.job-meta strong {
  font-weight:550;
  color:#38536f
}

.job-meta i {
  font-style:normal;
  color:#b4c0cf
}

.checklist {
  display:flex;
  flex-direction:column;
  gap:0;
  margin:12px 0 16px
}

.work-check {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid #edf1f7;
  font-size:12px;
  color:#425a75;
  cursor:pointer
}

.work-check input {
  width:16px;
  height:16px;
  accent-color:#245dd6;
  margin:0
}

.work-check input:disabled {
  opacity:1
}

.work-check input:checked+span {
  color:#60758e
}

.check-photo {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px dashed #b8cceb;
  border-radius:6px;
  background:#f7faff;
  margin:4px 0 16px
}

.photo-mark {
  font-size:22px;
  color:#4974b5
}

.check-photo strong {
  display:block;
  font-size:11px
}

.check-photo p {
  font-size:9px;
  margin-top:4px;
  line-height:1.5
}

.check-photo button {
  margin-left:auto;
  flex-shrink:0
}

.sample-photo {
  width:68px;
  height:48px;
  flex-shrink:0;
  border:1px solid #d3e0f3;
  border-radius:4px;
  background:#e7eefb
}

.photo-description {
  font-size:10px;
  color:#547196
}

.record-summary {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:19px;
  padding:15px;
  background:#f5f8fd;
  border:1px solid #e0e8f3;
  border-radius:6px
}

.record-summary div {
  display:flex;
  flex-direction:column;
  gap:5px
}

.record-summary small {
  font-size:9px;
  color:#7386a1
}

.record-summary strong {
  font-size:11px;
  font-weight:600
}

.history {
  margin-top:20px;
  border-top:1px solid #e5ecf4;
  padding-top:13px
}

.history summary {
  cursor:pointer;
  font-size:11px;
  font-weight:600;
  color:#4a6384
}

.history ol {
  list-style:none;
  margin-top:12px;
  max-height:185px;
  overflow:auto;
  padding-right:8px
}

.history li {
  position:relative;
  margin-left:4px;
  padding:0 0 13px 15px;
  border-left:1px solid #d6e1ee;
  line-height:1.5
}

.history li:before {
  content:'';
  position:absolute;
  width:5px;
  height:5px;
  background:#81a5db;
  border-radius:50%;
  top:5px;
  left:-3px
}

.history strong {
  font-size:10px;
  display:block;
  font-weight:600
}

.history span {
  font-size:9px;
  display:block;
  color:#72859e
}

.review-notes {
  font-size:11px;
  color:#5b7090;
  margin-top:13px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.completion-symbol {
  width:42px;
  height:42px;
  border-radius:50%;
  background:#e7f0ff;
  color:#245dd6;
  display:grid;
  place-items:center;
  font-size:23px;
  margin-bottom:14px
}

.empty-panel {
  padding:30px 0
}

.empty-panel>span {
  display:block;
  font-size:40px;
  color:#8faacf;
  margin-bottom:20px
}

.empty-panel h3 {
  font-size:23px
}

.empty-panel p {
  font-size:13px;
  margin:12px 0 20px;
  max-width:310px
}

.lab-page .site-footer {
  background:white
}

.lab-motion-off * {
  scroll-behavior:auto!important;
  transition:none!important
}

.lab-motion-off .lab-app {
  transform:none!important
}

@media(min-width:1500px) {
  .lab-intro {
    padding-top:62px;
    padding-bottom:52px
  }

  .app-interior {
    min-height:490px
  }

  .lab-layout {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:30px
  }

  .app-main {
    padding:30px 35px
  }

  .app-sidebar {
    padding-top:28px
  }

}

@media(max-width:1100px) {
  .lab-container {
    width:calc(100% - 40px)
  }

  .lab-intro {
    padding:40px 8px
  }

  .lab-layout {
    grid-template-columns:minmax(0,1fr) 220px;
    gap:20px
  }

  .lab-stage {
    padding:18px 18px 0
  }

  .app-interior {
    grid-template-columns:135px minmax(0,1fr)
  }

  .app-main {
    padding:23px 20px
  }

  .role-tabs button {
    gap:7px;
    padding:11px 7px
  }

  .role-tabs button small {
    font-size:8px
  }

  .role-glyph {
    font-size:17px
  }

  .app-sidebar {
    padding-inline:8px
  }

  .sidebar-record {
    margin-inline:6px
  }

  .lab-config h2 {
    font-size:25px
  }

  .flow-node {
    min-width:110px
  }

  .flow-node small {
    font-size:9px
  }

  .lab-flow {
    padding-inline:8px;
    gap:10px
  }

  .lab-brief {
    gap:50px
  }

}

@media(max-width:900px) {
  .lab-intro h1 {
    font-size:58px
  }

  .lab-intro-copy {
    max-width:280px
  }

  .lab-intro-copy>p {
    font-size:22px
  }

  .lab-layout {
    grid-template-columns:1fr;
    gap:20px
  }

  .app-interior {
    grid-template-columns:160px minmax(0,1fr);
    min-height:425px
  }

  .app-main {
    padding:25px 30px
  }

  .lab-config {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 30px;
    padding:7px 10px 2px
  }

  .config-kicker {
    grid-column:1
  }

  .lab-config h2 {
    grid-column:1;
    margin-top:8px
  }

  .lab-config h2 br {
    display:none
  }

  .lab-config>p {
    grid-column:1;
    margin:8px 0 16px
  }

  .lab-config>p br {
    display:none
  }

  .rule-option {
    grid-column:1
  }

  .config-feedback {
    grid-column:1
  }

  .exception {
    grid-column:2;
    grid-row:1 / span 6;
    border-top:0;
    border-left:1px solid #30425c;
    padding:15px 0 0 27px;
    margin:0;
    align-self:center
  }

  .exception p {
    font-size:13px;
    max-width:220px;
    margin-bottom:17px
  }

  .exception>small {
    font-size:10px;
    max-width:220px
  }

  .flow-node {
    min-width:100px
  }

  .flow-node small {
    display:none
  }

  .lab-flow {
    min-height:94px;
    padding-block:24px
  }

  .lab-stage-bottom {
    padding-inline:10px
  }

  .lab-explainer {
    gap:30px;
    padding-inline:8px
  }

  .lab-explainer h2 {
    font-size:18px
  }

  .lab-brief {
    padding-inline:8px;
    gap:35px
  }

  .lab-brief h2 {
    font-size:38px
  }

  .brief-sheet {
    padding:22px
  }

  .lab-stage-top strong {
    font-size:9px
  }

}

@media(max-width:600px) {
  .lab-container {
    width:calc(100% - 24px)
  }

  .lab-intro {
    padding:31px 9px 27px;
    display:block
  }

  .lab-intro .eyebrow {
    font-size:8px;
    gap:10px;
    margin-bottom:19px
  }

  .lab-intro h1 {
    font-size:53px
  }

  .lab-intro-copy {
    max-width:none;
    padding-top:22px
  }

  .lab-intro-copy>p {
    font-size:18px;
    margin-bottom:9px
  }

  .lab-intro-copy>p br {
    display:none
  }

  .lab-intro-copy>span {
    font-size:13px;
    max-width:320px
  }

  .lab-jump {
    display:none
  }

  .lab-stage {
    padding:16px 10px 0;
    border-radius:12px
  }

  .lab-stage-top {
    padding:0 3px;
    gap:6px
  }

  .lab-stage-top strong {
    font-size:7px;
    letter-spacing:.07em
  }

  .lab-stage-top>span {
    font-size:8px
  }

  .lab-stage-top>span span {
    margin:0 4px
  }

  .lab-dot {
    width:4px;
    height:4px;
    box-shadow:0 0 0 3px #3b73cb20
  }

  .lab-stage-top>div {
    gap:8px
  }

  .lab-flow {
    padding:23px 3px;
    gap:6px;
    min-height:94px
  }

  .flow-node {
    min-width:0;
    gap:6px;
    flex-direction:column;
    align-items:center;
    text-align:center
  }

  .flow-icon {
    width:27px;
    height:27px;
    border-radius:8px;
    font-size:9px
  }

  .flow-node strong {
    font-size:9px
  }

  .flow-node small {
    display:none
  }

  .flow-connector {
    margin-bottom:20px;
    min-width:8px
  }

  .app-topbar {
    padding:12px 13px;
    gap:7px
  }

  .app-topbar strong {
    font-size:10px
  }

  .app-topbar-label {
    font-size:6px
  }

  .app-symbol {
    width:21px;
    height:21px;
    font-size:11px
  }

  .app-interior {
    display:block;
    min-height:0
  }

  .app-sidebar {
    padding:8px;
    background:#f8faff;
    border-right:0;
    border-bottom:1px solid #e2eaf5
  }

  .app-sidebar>.sidebar-label,.sidebar-record,.sidebar-bottom {
    display:none
  }

  .role-tabs {
    flex-direction:row;
    gap:4px
  }

  .role-tabs button {
    padding:9px 6px;
    justify-content:center;
    gap:6px;
    font-size:11px;
    min-height:38px
  }

  .role-tabs button small {
    display:none
  }

  .role-glyph {
    font-size:16px;
    width:14px
  }

  .app-main {
    padding:23px 17px 24px;
    min-height:430px
  }

  .panel-heading h2 {
    font-size:24px
  }

  .panel-heading>p {
    font-size:12px
  }

  .panel-eyebrow {
    font-size:8px
  }

  .lab-fields {
    gap:10px
  }

  .lab-field>span {
    font-size:10px
  }

  .lab-field select {
    font-size:11px;
    padding:9px 5px;
    min-height:42px
  }

  .lab-field textarea {
    font-size:16px
  }

  .lab-button {
    font-size:11px;
    min-height:43px;
    padding:10px 13px;
    gap:10px
  }

  .lab-text-button {
    min-height:40px
  }

  .request-note {
    margin-top:18px
  }

  .request-note p {
    font-size:12px
  }

  .app-event {
    font-size:8px;
    padding:10px 12px;
    min-height:41px
  }

  .event-marker {
    display:none
  }

  .lab-config {
    grid-template-columns:1fr;
    padding:9px 13px 0;
    gap:0
  }

  .config-kicker {
    margin-top:2px
  }

  .lab-config h2 {
    font-size:27px;
    margin-top:10px
  }

  .lab-config>p {
    font-size:12px;
    margin:8px 0 16px
  }

  .rule-option {
    padding:17px 0
  }

  .rule-option strong {
    font-size:13px
  }

  .rule-option small {
    font-size:11px
  }

  .rule-option input {
    width:44px;
    height:32px
  }

  .switch {
    width:38px;
    height:22px
  }

  .switch:after {
    width:14px;
    height:14px
  }

  .rule-option input:checked+.switch:after {
    transform:translateX(16px)
  }

  .config-feedback {
    min-height:42px;
    font-size:11px
  }

  .exception {
    grid-column:1;
    grid-row:auto;
    border-left:0;
    border-top:1px solid #30425c;
    margin-top:12px;
    padding:20px 0 0
  }

  .exception p {
    font-size:12px;
    max-width:none
  }

  .exception>small {
    max-width:none
  }

  .lab-stage-bottom {
    display:block;
    padding:22px 13px 15px
  }

  .lab-stage-bottom p {
    font-size:9px
  }

  .lab-tools {
    margin-top:9px;
    gap:15px
  }

  .lab-tools button {
    min-height:35px;
    font-size:11px
  }

  .lab-explainer {
    grid-template-columns:1fr;
    gap:27px;
    padding:36px 9px
  }

  .lab-explainer>div {
    display:grid;
    grid-template-columns:85px 1fr;
    gap:0 12px
  }

  .lab-explainer>div>span {
    grid-row:1 / 3;
    font-size:9px;
    line-height:1.6;
    padding-top:3px
  }

  .lab-explainer h2 {
    margin:0 0 7px;
    font-size:19px
  }

  .lab-explainer p {
    font-size:12px;
    grid-column:2
  }

  .lab-brief {
    grid-template-columns:1fr;
    gap:30px;
    padding:35px 9px 45px
  }

  .lab-brief h2 {
    font-size:40px
  }

  .brief-sheet {
    padding:25px
  }

  .lab-brief .eyebrow {
    font-size:9px
  }

  .lab-brief-intro>p:not(.eyebrow) {
    font-size:13px
  }

  .check-photo {
    padding:10px;
    gap:8px;
    flex-wrap:wrap
  }

  .check-photo button {
    margin-left:0
  }

  .sample-photo {
    width:60px;
    height:44px
  }

  .record-summary {
    padding:12px
  }

  .work-check {
    min-height:47px
  }

  .lab-fallback {
    padding:25px 17px
  }

  .lab-fallback h2 {
    font-size:24px
  }

  .lab-fallback p {
    font-size:13px
  }

}

@media(prefers-reduced-motion:reduce) {
  .lab-page * {
    scroll-behavior:auto!important;
    transition:none!important
  }

}

/* Readability pass: the application is a working surface, not miniature artwork. */
.lab-arrow {
  width:18px;
  height:18px;
  display:inline-block;
  vertical-align:middle;
  flex-shrink:0
}

.lab-arrow-down {
  transform:rotate(90deg)
}

.role-glyph svg {
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.3
}

.config-kicker>span {
  color:#8ab7ff;
  display:flex
}

.mobile-rules-jump {
  display:none
}

.lab-intro .eyebrow {
  line-height:1.5
}

.panel-heading>p,.request-note p {
  font-size:13px
}

.request-note span {
  font-size:10px
}

.role-tabs button {
  font-size:13px
}

.role-tabs button small {
  font-size:10px
}

.lab-field>span {
  font-size:11px
}

.lab-field select {
  font-size:13px;
  min-height:42px
}

.lab-button {
  font-size:12px;
  min-height:42px
}

.lab-text-button {
  font-size:12px
}

.work-check {
  font-size:13px
}

.job-meta {
  font-size:11px
}

.panel-footnote {
  font-size:11px
}

.app-event {
  font-size:10px
}

.record-summary strong {
  font-size:12px
}

.record-summary small {
  font-size:10px
}

.history summary {
  font-size:12px
}

.history strong {
  font-size:11px
}

.history span {
  font-size:10px
}

.rule-option strong {
  font-size:13px
}

.rule-option small {
  font-size:11px
}

.config-feedback {
  font-size:11px
}

.exception>p {
  font-size:12px
}

.exception>small {
  font-size:10px
}

.lab-stage-bottom p,.lab-tools button {
  font-size:11px
}

.state-callout strong {
  font-size:13px
}

.state-callout p {
  font-size:12px
}

.action-hint {
  font-size:11px
}

.check-photo strong {
  font-size:12px
}

.check-photo p {
  font-size:10px
}

.review-notes {
  font-size:12px
}

.app-topbar-label {
  font-size:9px
}

.empty-panel>span>.lab-arrow {
  width:38px;
  height:38px
}

.panel-heading h2 {
  max-width:490px
}

@media(max-width:1100px) and (min-width:901px) {
  .role-tabs button {
    font-size:12px
  }

  .role-tabs button small {
    font-size:9px
  }

  .lab-field select {
    font-size:11px
  }

  .lab-fields {
    grid-template-columns:1fr
  }

  .panel-heading h2 {
    font-size:24px
  }

}

@media(max-width:600px) {
  .mobile-rules-jump {
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#b6d2ff;
    font-size:11px;
    padding:12px 5px 0;
    text-decoration:underline;
    text-underline-offset:3px
  }

  .lab-flow {
    padding-top:18px
  }

  .role-tabs button {
    font-size:11px
  }

  .lab-field select {
    font-size:12px
  }

  .app-topbar-label {
    font-size:7px
  }

  .app-event {
    font-size:9px
  }

  .lab-stage-bottom p {
    font-size:10px
  }

  .panel-heading>p,.request-note p {
    font-size:12px
  }

  .lab-fields {
    grid-template-columns:1fr
  }

  .app-main {
    min-height:440px
  }

  .lab-config {
    scroll-margin-top:20px
  }

  .lab-config h2 {
    scroll-margin-top:20px
  }

  .lab-intro .eyebrow {
    font-size:8px
  }

  .lab-action-row {
    gap:8px
  }

  .lab-button {
    font-size:12px
  }

  .role-glyph svg {
    width:16px;
    height:16px
  }

}

.mobile-config-toggle,.mobile-config-done {
  display:none
}

@media(max-width:600px) {
  .lab-config {
    display:block;
    order:-1;
    padding:0 5px;
    background:#152942;
    border:1px solid #334d6d;
    border-radius:8px
  }

  .lab-layout {
    gap:12px
  }

  .mobile-config-toggle {
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    padding:13px 10px;
    min-height:58px;
    color:#eef5ff;
    background:none;
    border:0;
    text-align:left;
    font-size:12px;
    font-weight:600
  }

  .mobile-config-toggle small {
    display:block;
    font-size:10px;
    font-weight:400;
    color:#afc3df;
    margin-top:3px
  }

  .mobile-config-label {
    font-size:10px;
    color:#9fc5ff
  }

  .lab-config:not(.is-open)>*:not(.mobile-config-toggle) {
    display:none
  }

  .lab-config.is-open {
    padding:0 13px 14px
  }

  .lab-config.is-open .mobile-config-toggle {
    padding-inline:0;
    margin-bottom:12px;
    border-bottom:1px solid #334d6d
  }

  .lab-config.is-open .mobile-config-done {
    display:flex;
    margin-top:18px
  }

  .lab-config .exception {
    margin-top:10px
  }

  .lab-app {
    scroll-margin-top:12px
  }

}

.lab-motion-off *::before,.lab-motion-off *::after {
  transition:none!important;
  animation:none!important
}

@media(prefers-reduced-motion:reduce) {
  .lab-page *::before,.lab-page *::after {
    transition:none!important;
    animation:none!important
  }

}
