/* Shared screen theme and layout. Print and export retain their module styles. */
@media screen {
  body.ls-page-shell {
    --ls-theme-bg:#101b2c;
    --ls-theme-panel:#1a2a40;
    --ls-theme-input:#122238;
    --ls-theme-ice:#82d9f2;
    --ls-theme-hover:#b3eafa;
    --ls-theme-text:#edf6ff;
    --ls-theme-muted:#b5c6d9;
    --ls-theme-line:#3c546f;
    --ls-theme-control-line:#64809f;
    --ls-theme-active:#203a53;
    --ls-theme-ink:var(--ls-theme-bg);
    --bg:var(--ls-theme-bg);
    --panel:var(--ls-theme-panel);
    --lime:var(--ls-theme-ice);
    --text:var(--ls-theme-text);
    --muted:var(--ls-theme-muted);
    --line:var(--ls-theme-line);
    --engineering-cyan:var(--ls-theme-ice);
    --engineering-panel:var(--ls-theme-panel);
    --engineering-low:var(--ls-theme-input);
    --engineering-line:var(--ls-theme-line);
    --clay-base:var(--bg);
    --clay-raised:var(--panel);
    --clay-low:var(--engineering-low);
    --clay-edge:var(--line);
    --clay-accent:var(--lime);
    --clay-text:var(--text);
    --clay-muted:var(--muted);
    --clay-radius:8px;
    --clay-button-radius:5px;
    --clay-raised-shadow:none;
    --clay-control-shadow:none;
    --clay-inset-shadow:none;
    --insp-muted:var(--ls-theme-muted);
    --insp-line:var(--ls-theme-line);
    --insp-lime:var(--ls-theme-ice);
    background:var(--bg);
    color:var(--text);
    font-size:16px;
    line-height:1.7;
    -webkit-text-size-adjust:100%;
  }

  /* A stable, compact navigation frame with a clear current location. */
  body.ls-page-shell>.site-header.ls-site-header {
    background:#101b2cf5;
    border-bottom:1px solid var(--line);
    box-shadow:0 6px 20px #0002;
    backdrop-filter:blur(14px);
  }
  body.ls-page-shell>.ls-site-header>.ls-desktop-nav {
    min-width:0;
    gap:clamp(2px,.7vw,11px);
  }
  body.ls-page-shell>.ls-site-header>.ls-desktop-nav>a {
    min-height:44px;
    padding:10px 12px;
    border:1px solid transparent;
    border-radius:4px;
    background:transparent;
    color:var(--ls-theme-muted);
    font-size:13px;
    line-height:1.4;
    white-space:nowrap;
    box-shadow:none;
  }
  body.ls-page-shell>.ls-site-header>.ls-desktop-nav>a:is(:hover,.is-active,[aria-current="page"]) {
    color:var(--lime);
    background:var(--ls-theme-active);
    border-color:var(--ls-theme-line);
    box-shadow:none;
  }
  body.ls-page-shell>.ls-site-header>.ls-header-contact {
    min-height:46px;
    padding-inline:17px;
    border:1px solid var(--lime);
    border-radius:4px;
    background:var(--lime);
    color:var(--ls-theme-ink);
    box-shadow:none;
    font-size:13px;
    font-weight:700;
  }
  body.ls-page-shell>.ls-site-header>.ls-header-contact:hover {
    border-color:var(--ls-theme-hover);
    background:var(--ls-theme-hover);
  }
  body.ls-page-shell>.racing-deck {
    --race-lime:var(--ls-theme-ice);
    border-top-color:var(--ls-theme-ice);
    border-bottom-color:var(--ls-theme-line);
    background:var(--ls-theme-bg);
    box-shadow:none;
  }
  body.ls-page-shell>.racing-deck .racing-belt {
    --race-color:var(--ls-theme-ice);
    background:var(--ls-theme-input);
  }
  body.ls-page-shell>.racing-deck .racing-belt-term {text-shadow:none}
  body.ls-page-shell>.racing-deck .racing-belt-sweep {
    background:linear-gradient(110deg,transparent,#82d9f219,transparent);
    opacity:.45;
  }
  body.ls-page-shell>.racing-deck .racing-belt-rail {
    background:repeating-linear-gradient(120deg,transparent 0 10px,#82d9f244 10px 12px,transparent 12px 22px);
  }
  body.ls-page-shell>.racing-deck .racing-belt-badge {
    background:var(--ls-theme-ice);
    color:var(--ls-theme-ink);
    box-shadow:none;
  }
  body.ls-page-shell>.ls-site-header .brand-wordmark,
  body.ls-page-shell>footer :is(.brand-logo,.brand-wordmark) {
    --ls-theme-logo-filter:hue-rotate(139deg) saturate(.9) brightness(.96);
    filter:var(--ls-theme-logo-filter);
  }
  body.ls-page-shell>.ls-site-header .brand:is(:hover,:focus-visible,:active) .brand-wordmark {
    filter:var(--ls-theme-logo-filter) drop-shadow(0 0 5px #82d9f255);
  }

  /* Flat metal-like surfaces keep the technical content in the foreground. */
  body.ls-page-shell main :is(.ls-workspace-card,.tool-workspace,.hub-note,.hub-entry,.alp-card,.alp-mode-link,.alp-spec-card,.heli-form-card,.heli-model-card,.rh-section,.rh-results,.rs-panel,.rs-model-card,.rs-library-selection,.insp-card,.insp-sharing,.insp-review-condition,.services-card,.services-hero__rail,.services-resources,.services-sectors,.crew-card,.crew-filters,.crew-process,.crew-coverage,.crew-document-note,.crew-empty,.contact-intro,.enquiry-panel) {
    border-color:var(--engineering-line);
    border-radius:8px;
    background:var(--engineering-panel);
    box-shadow:none;
  }
  body.ls-page-shell main :is(.ls-workspace-card,.services-card,.crew-card):hover {
    border-color:var(--ls-theme-control-line);
    transform:none;
  }
  body.ls-page-shell main :is(.ls-workspace-card__icon,.alp-step,.insp-step) {
    border-color:var(--ls-theme-line);
    border-radius:4px;
    background:var(--ls-theme-active);
    color:var(--engineering-cyan);
    box-shadow:none;
  }
  body.ls-page-shell main :is(.output-panel,.alp-results,.heli-results,.rs-metrics,.rh-mass-totals) {
    background:var(--engineering-low);
    border-color:var(--engineering-line);
    border-radius:6px;
    box-shadow:none;
  }
  body.ls-page-shell main :is(.alp-viewer,.heli-viewer,.rs-scene-card,.exp-articulation-workspace) {
    border-color:var(--engineering-line);
    border-radius:8px;
    box-shadow:none;
  }
  body.ls-page-shell main .rh-result-row {border-radius:4px}
  body.ls-page-shell :is(.insp-dialog,.crew-dialog,.rh-dialog,.alp-pdf-dialog,.crew-dialog-panel) {
    border-radius:8px;
    border-color:var(--ls-theme-control-line);
    background:var(--ls-theme-panel);
    box-shadow:0 24px 70px #0009;
  }

  /* Prose has one comfortable reading size. Eyebrows, figures and model labels
     retain their module-specific sizes and never inherit a blanket p rule. */
  body.ls-page-shell main :is(.hp-hero-lead,.hp-service>p,.hp-tool>p,.hp-profile-copy>p:not(.hp-kicker),.hp-enquiry-bottom>p,.services-hero__intro,.services-card>p,.services-sectors__intro,.services-section-heading>p,.crew-hero-description,.crew-directory-heading>p,.crew-document-note>p:not(.crew-eyebrow),.crew-owner-copy,.crew-enquiry-intro,.hub-intro p:not(.eyebrow),.hub-entry p,.tool-heading p:not(.eyebrow),.contact-intro>p:not(.eyebrow),.contact>div>p:not(.eyebrow),.plan-hero p:not(.eyebrow),.rs-lede) {
    font-size:16px;
    line-height:1.75;
    color:var(--muted);
  }
  body.ls-page-shell .hp-section-head>p:last-child,
  body.ls-page-shell .hp-profile-detail,
  body.ls-page-shell .alp-hero p:not(.alp-eyebrow),
  body.ls-page-shell .inspection-site .insp-intro>div>p:last-child,
  body.ls-page-shell.inspection-site .insp-intro>div>p:last-child {
    font-size:16px;
    line-height:1.75;
    color:var(--muted);
  }
  body.ls-page-shell .seo-page>:is(p,ul,ol),
  body.ls-page-shell .seo-page>section:not(.hub-layout) :is(p,li),
  body.ls-page-shell .reference-region :is(p,li) {
    font-size:16px;
    line-height:1.8;
  }
  body.ls-page-shell main :is(.alp-help,.alp-scope,.heli-help,.rs-help,.rs-model-description,.rs-limits,.rh-scope-note,.insp-note,.insp-card-heading p,.insp-equipment-preview p:last-child,.insp-completion,.insp-review span,.insp-evidence-policy,.crew-process li p,.crew-process li strong,.crew-card p,.crew-enquiry-fine,.method p,.method a,.report p,.calculation-provenance p,.fine,.draft-note p) {
    font-size:14px;
    line-height:1.75;
  }
  body.ls-page-shell main :is(.alp-main label,.heli-form-card label,.insp-field,.rs-field,.rs-field label,.rh-inputs label,.form-grid label,.crew-filters label,.crew-enquiry-grid label,.calculation-provenance label,.plan-fields label) {
    font-size:14px;
    line-height:1.55;
    color:var(--ls-theme-text);
  }
  body.ls-page-shell main :is(.insp-check-label,.insp-check-section>legend,.insp-review span) {
    font-size:14px;
    line-height:1.65;
  }
  body.ls-page-shell main :is(.tool-choice strong,.ls-workspace-card__description,.services-card>a,.services-card__links>a,.services-resources a,.crew-text-link,.crew-clear,.crew-card .crew-button) {
    font-size:14px;
    line-height:1.55;
  }
  body.ls-page-shell main :is(.tool-choice span,.result-row span,.alp-share-metric span,.alp-share-metric small,.rs-metric-label,.rs-metrics dt,.services-tags>li,.crew-results-meta>span,.crew-results-meta p) {
    font-size:13px;
    line-height:1.6;
  }
  body.ls-page-shell main :is(.services-hero__lead,.crew-hero-lead) {
    font-size:clamp(19px,1.7vw,23px);
    line-height:1.55;
  }
  body.ls-page-shell main :is(.method,.report,.draft-note,.reference-note,.services-card,.crew-card) :is(p,li) {
    overflow-wrap:break-word;
  }

  /* Inputs remain recognisable and unit/result information stays adjacent. */
  body.ls-page-shell main :is(.alp-card,.heli-form-card,.insp-card,.rs-controls,.rs-fields,.rh-inputs,.tool-columns,.form-grid,.crew-filters,.crew-enquiry-grid,.lp-report-settings,.report,.calculation-provenance,.plan-fields) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="color"]),select,textarea):not([aria-invalid="true"]),
  body.ls-page-shell main :is(#tool-search,.calculation-provenance input) {
    min-height:48px;
    border:1px solid var(--ls-theme-control-line);
    border-radius:5px;
    background:var(--ls-theme-input);
    box-shadow:none;
    color:var(--ls-theme-text);
    font-size:16px;
    line-height:1.5;
    color-scheme:dark;
  }
  body.ls-page-shell main :is(input,select,textarea)::placeholder {color:var(--ls-theme-muted);opacity:1}
  body.ls-page-shell main :is(input,select,textarea):focus-visible {
    outline:2px solid var(--engineering-cyan);
    outline-offset:3px;
  }
  body.ls-page-shell main :is(.button,.alp-button,.insp-button,.rs-button,.crew-button,.alp-orbit-button,.alp-mode-link,.tool-choice,.exp-pose-actions button,.heli-button-group button,.heli-camera-toolbar button,.rs-view-tools button,.calculation-diagram button,.filters button):not(:is(.is-error,.is-warning,.is-danger,.insp-button--whatsapp)) {
    min-height:46px;
    border-radius:5px;
    border-color:var(--ls-theme-control-line);
    box-shadow:none;
    font-size:13px;
    line-height:1.5;
    transition:border-color .18s ease,background-color .18s ease,color .18s ease;
  }
  body.ls-page-shell main :is(.button,.alp-button,.insp-button,.rs-button,.crew-button):not(:is(.secondary,.rs-button-secondary,.insp-button--secondary,.insp-button--quiet,.is-error,.is-warning,.is-danger,.insp-button--whatsapp)) {
    border-color:var(--lime);
    background:var(--lime);
    color:var(--ls-theme-ink);
  }
  body.ls-page-shell main :is(.button,.alp-button,.insp-button,.rs-button,.crew-button):not(:is(.secondary,.rs-button-secondary,.insp-button--secondary,.insp-button--quiet,.is-error,.is-warning,.is-danger,.insp-button--whatsapp)):hover:not(:disabled) {
    border-color:var(--ls-theme-hover);
    background:var(--ls-theme-hover);
    color:var(--ls-theme-ink);
  }
  body.ls-page-shell main :is(.button.secondary,.alp-button.secondary,.insp-button--secondary,.insp-button--quiet,.rs-button-secondary,.tool-choice,.alp-orbit-button,.exp-pose-actions button,.heli-button-group button,.heli-camera-toolbar button,.rs-view-tools button,.calculation-diagram button,.filters button) {
    background:var(--ls-theme-panel);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell main :is(.tool-choice,.rs-model-card,.alp-orbit-button,.exp-pose-actions button,.heli-button-group button,.heli-camera-toolbar button,.rs-view-tools button,.calculation-diagram button,.filters button):is([aria-current="true"],[aria-pressed="true"],.is-active) {
    border-color:var(--engineering-cyan);
    background:var(--ls-theme-active);
    color:var(--ls-theme-hover);
    box-shadow:inset 3px 0 var(--engineering-cyan);
  }
  body.ls-page-shell :is(a,button,input,select,textarea,summary):focus-visible {
    outline:2px solid var(--engineering-cyan);
    outline-offset:4px;
  }
  body.ls-page-shell main :is(.button,.alp-button,.insp-button,.rs-button,.crew-button,.tool-choice):disabled {
    opacity:.48;
    cursor:not-allowed;
  }
  body.ls-page-shell main :is(.alp-card,.insp-card,.services-card,.crew-card,.tool-workspace,.rs-panel,.heli-form-card) :is(h2,h3) {
    text-shadow:none;
  }
  body.ls-page-shell main .services-sectors {padding-inline:clamp(20px,3vw,36px)}
  body.ls-page-shell main .services-resources {padding:25px clamp(20px,3vw,36px);margin-top:22px}
  body.ls-page-shell main .services-hero__rail {border:0;border-radius:0;background:none;box-shadow:none}
  body.ls-page-shell>footer {
    border-top-color:var(--line);
    background:var(--ls-theme-bg);
    color:var(--ls-theme-muted);
    font-size:13px;
    line-height:1.7;
  }

  @media (min-width:761px) and (max-width:1180px) {
    body.ls-page-shell>.site-header.ls-site-header {
      grid-template-columns:minmax(150px,180px) minmax(0,1fr) auto;
      gap:12px;
      min-height:84px;
      padding:17px 5%;
    }
    body.ls-page-shell>.ls-site-header>.ls-header-tagline {display:none}
    body.ls-page-shell>.ls-site-header>.ls-desktop-nav {grid-column:2;grid-row:1;gap:2px;min-height:44px}
    body.ls-page-shell>.ls-site-header>.ls-desktop-nav>a {padding-inline:8px;font-size:12px}
    body.ls-page-shell>.ls-site-header>.ls-header-contact {grid-column:3;grid-row:1;padding-inline:12px;font-size:12px}
  }
  @media (max-width:760px) {
    body.ls-page-shell {--ls-dock-height:64px}
    body.ls-page-shell>.site-header.ls-site-header {
      background:var(--ls-theme-bg);
      box-shadow:none;
      backdrop-filter:none;
    }
    body.ls-page-shell>.ls-mobile-nav {
      --lime:var(--ls-theme-ice);
      min-height:calc(64px + env(safe-area-inset-bottom));
      border-top:1px solid var(--ls-theme-line);
      border-radius:0;
      background:#101b2cf7;
      box-shadow:0 -4px 20px #0003;
      color:var(--ls-theme-muted);
    }
    body.ls-page-shell>.ls-mobile-nav .ls-mobile-nav__item {
      min-height:64px;
      padding:7px 2px;
      gap:6px;
      border-radius:0;
      font-size:11px;
      line-height:1.2;
    }
    body.ls-page-shell>.ls-mobile-nav .ls-mobile-nav__icon {border-radius:0}
    body.ls-page-shell>.ls-mobile-nav .ls-mobile-nav__item:is(.is-active,[aria-current="page"]) .ls-mobile-nav__icon {
      border-radius:3px;
      background:#82d9f215;
      box-shadow:0 0 0 5px #82d9f215;
      color:var(--lime);
    }
    body.ls-page-shell>.ls-mobile-nav .ls-mobile-nav__item:active {background:#82d9f215}
    body.ls-page-shell .ls-plans-panel {
      background:var(--ls-theme-panel);
      border-color:var(--ls-theme-control-line);
      color:var(--ls-theme-text);
    }
    body.ls-page-shell>a.mobile-contact:not(.ls-cta-ready),
    body.ls-page-shell>a.mobile-contact.ls-cta-ready {
      border:1px solid var(--ls-theme-control-line);
      border-radius:5px;
      background:var(--ls-theme-panel);
      color:var(--lime);
      box-shadow:none;
    }
    body.ls-page-shell.crew-site.ls-navigation-site.ls-mobile-nav-ready>.crew-shortlist-bar {
      border-radius:6px;
      border-color:var(--ls-theme-control-line);
      background:#1a2a40f7;
      box-shadow:0 -5px 20px #0003;
    }
    body.ls-page-shell main :is(.ls-workspace-card,.alp-card,.insp-card,.rs-panel,.heli-form-card,.services-card,.crew-card) {border-radius:6px}
    body.ls-page-shell main .services-card {padding:24px 21px}
    body.ls-page-shell main .services-tags>li {padding:8px 11px}
    body.ls-page-shell main :is(.crew-process,.crew-filters) {padding:22px 18px}
    body.ls-page-shell main .crew-process li {gap:13px}
    body.ls-page-shell main .crew-coverage {flex-wrap:wrap;gap:10px 16px}
    body.ls-page-shell main .crew-coverage b {margin-left:0;padding-left:0;border-left:0}
    body.ls-page-shell main .insp-status-option span {font-size:11px}
    body.ls-page-shell main :is(.alp-actions,.insp-export-actions,.rs-export-actions,.report .actions) {gap:10px}
    body.ls-page-shell main :is(.alp-actions,.insp-export-actions,.rs-export-actions,.report .actions)>* {min-width:0;max-width:100%}
  }
  @media (max-width:420px) {
    body.ls-page-shell>.ls-mobile-nav .ls-mobile-nav__item {font-size:10px}
    body.ls-page-shell main .crew-filters {grid-template-columns:minmax(0,1fr)}
    body.ls-page-shell main .alp-actions {grid-template-columns:minmax(0,1fr)}
  }
  @media (prefers-reduced-motion:reduce) {
    body.ls-page-shell main :is(.button,.alp-button,.insp-button,.rs-button,.crew-button,.tool-choice),
    body.ls-page-shell>.ls-site-header>.ls-desktop-nav>a {transition:none}
  }
}

@media screen and (max-width:760px) {
  body.inspection-site.ls-page-shell .insp-picker>label[for="inspection-category"],
  body.inspection-site.ls-page-shell .insp-picker>#inspection-category {grid-column:1/-1}
  body.inspection-site.ls-page-shell .insp-picker>label[for="inspection-category"] {margin-bottom:8px}
}

@media screen {
  body.ls-page-shell.ls-home-page .hp-home {
    --hp-cyan: var(--ls-theme-ice);
    --hp-border: var(--ls-theme-line);
    --hp-muted: var(--ls-theme-muted);
    background: var(--ls-theme-bg);
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-hero.hp-studio-experience.re-hero {
    background: var(--ls-theme-bg);
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.ls-home-page .re-hero > .hp-hero-atmosphere {
    background: radial-gradient(ellipse at 80% 40%, #82d9f218, transparent 60%), var(--ls-theme-bg);
  }

  body.ls-page-shell.ls-home-page .hp-home .re-hero h1#hp-title span,
  body.ls-page-shell.ls-home-page .hp-home :is(.hp-kicker, .hp-card-top, .hp-tool-index, .hp-work-type, .hp-inbound-sector),
  body.ls-page-shell.ls-home-page .hp-home :is(.hp-inline-link, .hp-inline-link > span, .hp-text-link > span, .hp-crew-link > span, .hp-more-link b),
  body.ls-page-shell.ls-home-page .hp-home .hp-enquiry h2 span,
  body.ls-page-shell.ls-home-page .hp-home .re-coverage > span {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-live-dot {
    background: var(--ls-theme-ice);
    box-shadow: 0 0 0 5px #82d9f21a;
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-hero-lead, .hp-service-copy p, .hp-tool p, .hp-work-note, .hp-inbound-projects p:not(.hp-inbound-sector), .hp-more-link span, .hp-enquiry-bottom p),
  body.ls-page-shell.ls-home-page .hp-home :is(.hp-section-head, .hp-profile-copy) h2 > span,
  body.ls-page-shell.ls-home-page .hp-home .hp-profile-copy > p:not(.hp-kicker),
  body.ls-page-shell.ls-home-page .hp-home .hp-inbound-whatsapp span {
    color: var(--ls-theme-muted);
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-inbound-whatsapp a, .hp-inbound-proof a, .hp-inbound-proof-head h2, .hp-service h3, .re-coverage strong) {
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-inbound-whatsapp a, .hp-inbound-proof a):is(:hover, :focus-visible) {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-button--primary {
    background: var(--ls-theme-ice);
    border-color: var(--ls-theme-ice);
    color: var(--ls-theme-ink);
    box-shadow: none;
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-button--primary:is(:hover, :focus-visible) {
    background: var(--ls-theme-hover);
    border-color: var(--ls-theme-hover);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-button--line {
    background: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-text);
    box-shadow: none;
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-button--line:is(:hover, :focus-visible) {
    background: var(--ls-theme-input);
    border-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-service, .hp-tool, .hp-more-link, .hp-inbound-projects li, .hp-enquiry) {
    background: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-text);
    box-shadow: none;
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-tool {
    border-color: var(--ls-theme-line) !important;
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-service, .hp-tool, .hp-more-link):is(:hover, :focus-visible) {
    background: var(--ls-theme-input);
    border-color: var(--ls-theme-ice);
    box-shadow: none;
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-tool:is(:hover, :focus-visible) {
    border-color: var(--ls-theme-ice) !important;
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-more-link, .hp-crew-link) {
    color: var(--ls-theme-ice) !important;
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-service .hp-service-icon, .hp-tool svg) {
    background: var(--ls-theme-input);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-ice);
    stroke: var(--ls-theme-ice);
    box-shadow: none;
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-card-top > span:last-child, .hp-drawing-preview > span) {
    background: var(--ls-theme-input);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-ice);
    box-shadow: none;
  }

  body.ls-page-shell.ls-home-page .hp-home :is(.hp-profile, .hp-portrait, .hp-drawing-preview, .re-coverage, .hp-tool .hp-inline-link, .hp-enquiry-orbit),
  body.ls-page-shell.ls-home-page .hp-home .hp-enquiry-orbit::after {
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-portrait {
    background: var(--ls-theme-panel);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-portrait::after {
    background: linear-gradient(transparent, #101b2ced);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-portrait :is(span, i) {
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-home-page .hp-home .hp-enquiry-orbit {
    box-shadow: 0 0 0 80px #82d9f20a, 0 0 0 160px #82d9f208;
  }

  /* Theme the viewer frame and controls independently of the rooftop scene. */
  body.ls-page-shell.ls-home-page .hp-home .re-hero > .hp-hero-art.hp-studio-stage.hp-tandem-stage.hp-tactical-stage {
    --hp-tactical-border: var(--ls-theme-line);
    --hp-tactical-muted: var(--ls-theme-muted);
    border-color: var(--ls-theme-line);
    background: var(--ls-theme-panel);
  }

  body.ls-page-shell.ls-home-page .hp-tactical-stage :is(.hp-tandem-heading, .hp-tactical-console) {
    background: var(--ls-theme-panel);
  }

  body.ls-page-shell.ls-home-page .hp-tactical-stage :is(.hp-tactical-kicker, .hp-visual-caption strong) {
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-home-page .hp-tactical-stage :is(.hp-tactical-now, .hp-tactical-view) {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.ls-home-page .hp-tactical-stage .hp-tactical-sim {
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-muted);
  }

  body.ls-page-shell.ls-home-page .hp-tactical-stage .hp-tactical-phases li {
    background: var(--ls-theme-input);
    color: var(--ls-theme-muted);
  }

  body.ls-page-shell.ls-home-page .hp-tactical-stage .hp-tactical-phases li[data-active="true"] {
    background: var(--ls-theme-ice);
    border-color: var(--ls-theme-ice);
    color: var(--ls-theme-ink);
  }

  body.ls-page-shell.ls-contact-page .contact {
    background: var(--ls-theme-bg);
  }

  body.ls-page-shell.ls-contact-page .contact-intro.cinematic-heading[data-cinematic="contact"] {
    --cinematic-veil: linear-gradient(90deg, #101b2cf5 0%, #101b2cdb 42%, #101b2cc7 100%),
      linear-gradient(0deg, #101b2cd9, transparent 78%);
    background-color: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.ls-contact-page .contact h1 em,
  body.ls-page-shell.ls-contact-page .contact-page-breadcrumb a,
  body.ls-page-shell.ls-contact-page .crew-options > summary span {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.ls-contact-page .contact-intro > p:not(.eyebrow):not(.contact-number),
  body.ls-page-shell.ls-contact-page :is(.contact-page-breadcrumb, .contact-intent p, .enquiry-heading b, .enquiry-panel .fine) {
    color: var(--ls-theme-muted);
  }

  body.ls-page-shell.ls-contact-page .contact-intro > .contact-number,
  body.ls-page-shell.ls-contact-page .enquiry-panel label {
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-contact-page :is(.contact-intent, .enquiry-panel, .crew-options, #brief-panel) {
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.ls-contact-page .sample-enquiry-note {
    background: var(--ls-theme-input);
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-contact-page #brief-panel button.secondary {
    background: var(--ls-theme-input);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.ls-contact-page #brief-panel button.secondary:is(:hover, :focus-visible) {
    border-color: var(--ls-theme-ice);
  }
}

/* Visitor content on Services, Crew and Sample Lifting Plans. */
@media screen {
  body.ls-page-shell.services-page {
    --cyan: var(--ls-theme-ice);
  }

  body.ls-page-shell:is(.services-page, .plan-library-site) main :is(.services-hero, .pf-hero, .pf-enquiry) {
    background-color: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
    border-left-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.services-page main :is(.services-card, .services-sectors, .services-resources) {
    background: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.services-page main .services-card:hover {
    border-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.services-page main .services-tags > li {
    background: var(--ls-theme-input);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.services-page main :is(.services-card > a, .services-card__links > a, .services-resources a) {
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.services-page main :is(.services-card > a, .services-card__links > a, .services-resources a):hover {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.service-landing main :is(.service-contact-card, .service-contents, .service-deliverables > article, .service-coverage, .service-malay, .service-next > nav) {
    background: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.service-landing main :is(.service-eyebrow, .service-deliverables > article > span, .service-process > li > span, .service-faq summary > span, .service-section :is(p, li) > a) {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.plan-library-site main .plan-library-card {
    background: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.plan-library-site main :is(.plan-library-preview, .plan-library-facts, .plan-library-facts > div + div) {
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.plan-library-site main .plan-library-badge {
    background: var(--ls-theme-ice);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-ink);
  }

  body.ls-page-shell.plan-library-site main :is(.plan-library-copy > p:not(.pf-kicker), .plan-library-facts dt) {
    color: var(--ls-theme-muted);
  }

  body.ls-page-shell.plan-library-site main .plan-library-facts dd {
    color: var(--ls-theme-text);
  }

  /* Crew's page stylesheet loads after the shared engineering stylesheet. */
  body.ls-page-shell.crew-site :is(.crew-process, .crew-owner, .crew-coverage, .crew-filters, .crew-empty, .crew-card, .crew-dialog, .crew-dialog-header, .crew-dialog-panel) {
    background: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.crew-site .cinematic-heading[data-cinematic] {
    background-color: var(--ls-theme-panel);
    border-color: var(--ls-theme-line);
    border-left-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site .cinematic-heading .crew-eyebrow {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site .cinematic-visual-label::before {
    background-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site :is(.crew-document-note, .crew-experience, .crew-experience-list article, .crew-work-samples, .crew-owner-region, .crew-process-note, .crew-card-actions, .crew-enquiry-result) {
    border-color: var(--ls-theme-line);
  }

  body.ls-page-shell.crew-site :is(.crew-tag, .crew-profile-section, .crew-profile-document, .crew-document, .crew-profile-certificate, .crew-profile-skills li, .crew-dialog-tabs, .crew-enquiry-selection) {
    background-color: var(--ls-theme-input);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.crew-site .crew-enquiry-selection {
    border-left-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site .crew-card:hover {
    border-color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site .crew-card > .crew-card-photo.crew-card-initials {
    background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--ls-theme-panel) 90%, var(--ls-theme-ice)), var(--ls-theme-input) 75%);
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site :is(.crew-clear > span, .crew-shortlist-heading > span, .crew-shortlist-list .crew-shortlist-remove) {
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site .crew-empty-symbol [stroke="#c7ff2e"] {
    stroke: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site .crew-card .crew-card-actions:not(.crew-card-contact) > a {
    background-color: var(--ls-theme-ice);
    border-color: var(--ls-theme-ice);
    color: var(--ls-theme-ink);
  }

  body.ls-page-shell.crew-site .crew-card .crew-card-actions:not(.crew-card-contact) > a:hover {
    background-color: var(--ls-theme-hover);
    border-color: var(--ls-theme-hover);
  }

  body.ls-page-shell.crew-site .crew-card .crew-card-actions > button:not([aria-pressed="true"]),
  body.ls-page-shell.crew-site .crew-card .crew-card-contact > a,
  body.ls-page-shell.crew-site .crew-dialog-panel .crew-profile-contact-actions > a,
  body.ls-page-shell.crew-site .crew-dialog-panel > button[data-crew-action] {
    background-color: var(--ls-theme-input);
    border-color: var(--ls-theme-line);
    color: var(--ls-theme-text);
  }

  body.ls-page-shell.crew-site .crew-card .crew-card-actions > button:not([aria-pressed="true"]):hover,
  body.ls-page-shell.crew-site .crew-card .crew-card-contact > a:hover,
  body.ls-page-shell.crew-site .crew-dialog-panel .crew-profile-contact-actions > a:hover,
  body.ls-page-shell.crew-site .crew-dialog-panel > button[data-crew-action]:hover {
    border-color: var(--ls-theme-ice);
    color: var(--ls-theme-ice);
  }

  body.ls-page-shell.crew-site #crew-message-whatsapp {
    background-color: var(--ls-theme-ice);
    border-color: var(--ls-theme-ice);
    color: var(--ls-theme-ink);
  }

  body.ls-page-shell.crew-site #crew-message-whatsapp:hover {
    background-color: var(--ls-theme-hover);
    border-color: var(--ls-theme-hover);
  }
}

/* Tools directory, calculator forms and planning workspaces. */
@media screen {
  body.ls-page-shell.engineering-tools-page {
    --eh-bg:var(--ls-theme-bg);
    --eh-panel:var(--ls-theme-panel);
    --eh-line:var(--ls-theme-line);
    --eh-text:var(--ls-theme-text);
    --eh-muted:var(--ls-theme-muted);
    --eh-lime:var(--ls-theme-ice);
    --eh-cyan:var(--ls-theme-ice);
  }

  body.ls-page-shell.engineering-tools-page :is(.tools-hub,.tools-workspace-nav) {
    --hub-surface:var(--ls-theme-panel);
    --hub-surface-hover:#233951;
    --hub-border:var(--ls-theme-line);
    --hub-text:var(--ls-theme-text);
    --hub-muted:var(--ls-theme-muted);
    --hub-accent:var(--ls-theme-ice);
    --hub-focus:var(--ls-theme-ice);
  }
  body.ls-page-shell.engineering-tools-page .tools-hub .tools-hub__shortcut--primary {
    background:#20394E;
  }
  body.ls-page-shell.engineering-tools-page .tools-hub :is(.tools-hub__shortcut,.tools-hub__row):is(:hover,:focus-visible) {
    background:var(--hub-surface-hover);
    border-color:var(--ls-theme-ice);
  }
  body.ls-page-shell.engineering-tools-page .tools-hub :is(.tools-hub__icon,.tools-hub__arrow) {
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell.engineering-tools-page .tools-hub .tools-hub__search-field input {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.engineering-tools-page .tools-hub .tools-hub__filters button[aria-pressed="true"] {
    background:var(--ls-theme-ice);
    border-color:var(--ls-theme-ice);
    color:var(--ls-theme-ink);
  }

  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main :is(.tool-workspace,.ls-workspace-card,.hub-entry,.eh-calculator-note) {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main :is(.output-panel,.tool-choice,.calculation-context,.calculation-diagram,.seo-page code) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main :is(.tool-choice[aria-current="true"],.calculation-diagram button[aria-pressed="true"]) {
    background:#24445A;
    border-color:var(--ls-theme-ice);
    color:var(--ls-theme-hover);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main :is(.tool-heading,.method,.report,.result-row,.calculation-provenance,.calculation-working,.calculation-references,.calculation-references li) {
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main :is(.result-row strong,.method code,.calculation-references a,.ls-workspace-card__icon,.ls-workspace-card__arrow,#report-status) {
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell main #download-calculation-pdf {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-ice);
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell main #download-calculation-pdf:hover:not(:disabled) {
    background:var(--ls-theme-ice);
    color:var(--ls-theme-ink);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main #download-calculation-pdf {
    border-color:var(--ls-theme-ice);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main :is(.calculation-field-note,.calculation-context-note,.calculation-diagram p,.calculation-working li,.result-row span,.back-link) {
    color:var(--ls-theme-muted);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main .calculation-method-note {
    background:#20364B;
    border-left-color:var(--ls-theme-ice);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell:is(.engineering-tools-page,[data-default-tool]) main .calculation-diagram input[type="range"] {
    accent-color:var(--ls-theme-ice);
  }
  body.ls-page-shell :is(#guide,.engineering-tools-page main,.plan-main) .reference-region {
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell :is(#guide,.engineering-tools-page main,.plan-main) .reference-tabs button {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell :is(#guide,.engineering-tools-page main,.plan-main) .reference-tabs button[aria-selected="true"] {
    background:var(--ls-theme-ice);
    border-color:var(--ls-theme-ice);
    color:var(--ls-theme-ink);
  }

  /* Rigging Studio uses a WebGL canvas and a separate paper PDF preview. */
  body.ls-page-shell.rigging-studio-site {
    --rs-bg:var(--ls-theme-bg);
    --rs-panel:var(--ls-theme-panel);
    --rs-border:var(--ls-theme-line);
    --rs-muted:var(--ls-theme-muted);
    --rs-lime:var(--ls-theme-ice);
    --rs-cyan:var(--ls-theme-ice);
    background:var(--rs-bg);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell.rigging-studio-site :is(.rs-library,.rs-scene-card,.rs-panel,.rh-workspace,.rh-section,.rh-dialog) {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell.rigging-studio-site :is(.rs-model-card,.rs-library-selection,.rs-model-description,.rs-arrangement-note,.rs-metric,.rs-limits,.rh-scope-note,.rh-case-tools,.rh-sling,.rh-component,.rh-mass-totals>div,.rh-results) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.rigging-studio-site :is(.rs-model-card small,.rs-model-description,.rs-arrangement-note,.rs-limits,.rh-scope-note,.rh-results p,.rh-results li,.rh-result-row dt):not(.is-error,.is-warning,.is-alert) {
    color:var(--ls-theme-muted);
  }
  body.ls-page-shell.rigging-studio-site :is(.rs-mode,.rs-model-count,.rs-panel-heading>span) {
    background:#213B50;
    border-color:#567A93;
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell.rigging-studio-site .rs-model-card[aria-pressed="true"] {
    background:#24445A;
    border-color:var(--ls-theme-ice);
    box-shadow:inset 0 0 0 1px #82D9F240;
  }
  body.ls-page-shell.rigging-studio-site .rs-model-card[aria-pressed="true"] strong {
    color:var(--ls-theme-hover);
  }
  body.ls-page-shell.rigging-studio-site .rs-model-card[aria-pressed="true"] small {
    color:var(--ls-theme-muted);
  }
  body.ls-page-shell.rigging-studio-site .rs-view-tools button[aria-pressed="true"] {
    background:var(--ls-theme-ice);
    color:var(--ls-theme-ink);
  }
  body.ls-page-shell.rigging-studio-site .rs-view-tools button[aria-pressed="true"]:hover {
    background:var(--ls-theme-hover);
    color:var(--ls-theme-ink);
  }
  body.ls-page-shell.rigging-studio-site .rs-viewport {
    background:radial-gradient(ellipse at 50% 55%, #203A52, var(--ls-theme-bg) 75%);
  }
  body.ls-page-shell.rigging-studio-site .rs-legend-hook {
    background:#c7ff34;
  }
  body.ls-page-shell.rigging-studio-site .rs-3d-label.is-hook {
    border-color:#b9ed5480;
    color:#c7ff34;
  }
  body.ls-page-shell.rigging-studio-site .rh-result-row:not([data-state="rating-exceeded"],[data-state="unsupported"]) {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.rigging-studio-site :is(.rh-jump a,.rh-plan-link) {
    border-bottom-color:var(--ls-theme-line);
  }

  body.ls-page-shell.advanced-lift-site :is(.alp-main,.heli-main) {
    color:var(--ls-theme-text);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-eyebrow,.alp-hero h1 em,.alp-mini-state span,.alp-share-metric strong,.alp-breadcrumb a,.alp-text-button,#ex-model-source a,#ex-references a,.exp-pose-sliders output,.exp-pose-dimensions summary) {
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-scope,.alp-sidebar,.alp-entry,.alp-detail,.alp-mini-state,.alp-share-metric,.alp-review-item,.alp-shared-link,.alp-orbit-controls,.alp-crane-picker__card,.alp-pdf-dialog,.exp-pose,.heli-picker,.heli-check-record,.heli-obstacle,.heli-metric) {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-help,.alp-scope,.alp-mini-state small,.alp-breadcrumb,.alp-share-metric span,.alp-share-metric small,.alp-orbit-help,.heli-view-footnote,.heli-gesture-help,.heli-metric span,.heli-metric small,.heli-final-note) {
    color:var(--ls-theme-muted);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-mode button,.alp-mode .alp-mode-link,.alp-view-toolbar button,.alp-example-toolbar button,.exp-mode a,.heli-section-nav a) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-mode button,.alp-view-toolbar button,.alp-example-toolbar button,.alp-orbit-button,.heli-button-group button)[aria-pressed="true"],
  body.ls-page-shell.advanced-lift-site :is(.exp-mode a,.heli-section-nav a)[aria-current] {
    background:#24445A;
    border-color:var(--ls-theme-ice);
    color:var(--ls-theme-hover);
    box-shadow:inset 3px 0 var(--ls-theme-ice);
  }
  body.ls-page-shell.advanced-lift-site .alp-mode .alp-mode-link:is(:hover,:focus-visible) {
    border-color:var(--ls-theme-ice);
    color:var(--ls-theme-hover);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-step,.alp-tag,.alp-orbit-button[data-orbit="toggle"]) {
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-main th,.heli-results th) {
    background:var(--ls-theme-input);
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell.advanced-lift-site :is(.alp-check input,.exp-pose-bucket input,.exp-pose-sliders input[type="range"]) {
    accent-color:var(--ls-theme-ice);
  }
  body.ls-page-shell.helicopter-site {
    --heli-panel:var(--ls-theme-panel);
    --heli-ink:var(--ls-theme-bg);
    --heli-line:var(--ls-theme-line);
    --heli-muted:var(--ls-theme-muted);
    --heli-lime:var(--ls-theme-ice);
    --heli-cyan:var(--ls-theme-ice);
    background:var(--ls-theme-bg);
  }
  body.ls-page-shell.helicopter-site :is(.heli-viewer,.heli-section-nav) {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
  }

  body.ls-page-shell :is(.plan-main,.alp-main,.rs-main) .lp-report-settings,
  body.ls-page-shell .plan-pdf-dialog {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell :is(.plan-main,.alp-main,.rs-main) :is(.lp-report-logo,.lp-report-sheets) {
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell :is(.plan-main,.alp-main,.rs-main) :is(.lp-report-logo button,.lp-report-file button) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell .plan-pdf-dialog a {
    color:var(--ls-theme-ice);
  }

  body.ls-page-shell.drawing-library-site {
    --dr-bg:var(--ls-theme-bg);
    --dr-panel:var(--ls-theme-panel);
    --dr-line:var(--ls-theme-line);
    --dr-muted:var(--ls-theme-muted);
    --dr-text:var(--ls-theme-text);
    --dr-lime:var(--ls-theme-ice);
  }
  body.ls-page-shell.drawing-library-site :is(.drawing-card,.drawing-suite-links a,.drawing-button--quiet) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.drawing-library-site :is(.drawing-filter,.drawing-tag,.drawing-button--secondary) {
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.drawing-library-site :is(.drawing-card:hover,.drawing-card.is-selected,.drawing-filter[aria-pressed="true"]) {
    border-color:var(--ls-theme-ice);
  }
  body.ls-page-shell.drawing-library-site .drawing-main :is(input:not([type="checkbox"]),select) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
  }

  body.ls-page-shell.toolbox-site {
    --tb-ink:var(--ls-theme-bg);
    --tb-panel:var(--ls-theme-panel);
    --tb-line:var(--ls-theme-line);
    --tb-muted:var(--ls-theme-muted);
    --tb-lime:var(--ls-theme-ice);
    background:var(--ls-theme-bg);
  }
  body.ls-page-shell.toolbox-site :is(.tb-card,.tb-intro-mark,.tb-dialog) {
    background:var(--ls-theme-panel);
    border-color:var(--ls-theme-line);
  }
  body.ls-page-shell.toolbox-site :is(.tb-attendee,.tb-review,.tb-field input,.tb-field textarea,.tb-field select,.tb-attendance-actions input,.tb-attendee input:not([type="checkbox"])) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell.toolbox-site .tb-button:not(.tb-button--secondary,.tb-button--quiet):hover {
    background:var(--ls-theme-hover);
  }
  body.ls-page-shell.toolbox-site .tb-state.is-reviewed {
    background:#c4ff29;
    border-color:#c4ff29;
    color:#12200b;
  }

  body.ls-page-shell.sd-site {
    --sd-bg:var(--ls-theme-bg);
    --sd-panel:var(--ls-theme-panel);
    --sd-line:var(--ls-theme-line);
    --sd-muted:var(--ls-theme-muted);
    --sd-text:var(--ls-theme-text);
    --sd-cyan:var(--ls-theme-ice);
    --sd-lime:var(--ls-theme-ice);
  }
  body.ls-page-shell.sd-site :is(.sd-toolbar,.sd-check-card,.sd-immediate-row,.sd-action-card,.sd-attendee,.sd-photo,.sd-logo-card,.sd-secondary,.sd-outline nav a,.sd-notice,.sd-upload,.sd-field input,.sd-field select,.sd-field textarea) {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell.sd-site .sd-status[data-released="true"] {
    background:#192919;
    border-color:#c7ff2e;
    color:#c7ff2e;
  }

  body.ls-page-shell.asme-site {
    --asme-line:var(--ls-theme-line);
    --asme-soft:var(--ls-theme-muted);
    --asme-panel:var(--ls-theme-panel);
  }
  body.ls-page-shell.asme-site :is(.asme-intro,.asme-filters input,.asme-filters select,.asme-filters button,.asme-file-actions a:not(:first-child)),
  body.ls-page-shell #guide .asme-guide-promo {
    background:var(--ls-theme-input);
    border-color:var(--ls-theme-line);
    color:var(--ls-theme-text);
  }
  body.ls-page-shell #guide .asme-guide-promo .eyebrow {
    color:var(--ls-theme-ice);
  }
  body.ls-page-shell.asme-site .asme-file-actions a:first-child:hover {
    background:var(--ls-theme-hover);
  }
}

@media screen {
  body.inspection-site.ls-page-shell {
    --insp-bg: var(--ls-theme-bg);
    --insp-panel: var(--ls-theme-panel);
    --insp-line: var(--ls-theme-line);
    --insp-muted: var(--ls-theme-muted);
    --insp-lime: var(--ls-theme-ice);
    --insp-white: var(--ls-theme-text);
  }

  body.inspection-site.ls-page-shell :is(.insp-card, .insp-sharing, .insp-dialog) {
    background: var(--insp-panel);
    border-color: var(--insp-line);
  }

  body.inspection-site.ls-page-shell .insp-step {
    background: var(--ls-theme-input);
    border-color: var(--insp-line);
    color: var(--insp-lime);
  }

  body.inspection-site .insp-record-state:not(.is-complete) {
    background: var(--ls-theme-input);
    border-color: var(--insp-line);
    color: var(--insp-lime);
  }

  body.inspection-site.ls-page-shell :is(
    .insp-picker > label, .insp-field, .insp-check-label, .insp-review span,
    .insp-photo-title
  ),
  body.inspection-site #inspection-main .insp-disclosure > summary {
    color: var(--insp-white);
  }

  body.inspection-site :is(.insp-item-number, .insp-completion) {
    color: var(--insp-muted);
  }

  body.inspection-site :is(
    .insp-camera-help, .insp-upload,
    .insp-photo-view, .insp-review-standard, .insp-review-evidence-policy,
    .insp-evidence-policy, .insp-retention-notice, .insp-standard-reference,
    .insp-review, .insp-export, .insp-review-loading
  ),
  body.inspection-site #inspection-main :is(.insp-disclosure, .insp-counts span),
  body.inspection-site.ls-page-shell .insp-review-condition {
    background: var(--ls-theme-input);
    border-color: var(--insp-line);
  }

  body.inspection-site :is(.insp-camera-help, .insp-retention-notice, .insp-review-evidence-policy) {
    border-left-color: var(--insp-lime);
  }

  body.inspection-site .insp-retention-notice {
    color: var(--insp-white);
  }

  body.inspection-site :is(.insp-standard-reference h3, .insp-item-reference) {
    color: var(--insp-lime);
  }

  body.inspection-site :is(
    .insp-notice, .insp-credit-mark, .insp-check-row, .insp-defect,
    .insp-share-history, .insp-review-checklist li, .insp-review-reference-source,
    .insp-photo-view[open] > summary, .insp-signature canvas, .insp-dialog iframe
  ) {
    border-color: var(--insp-line);
  }

  body.inspection-site .insp-review-checklist p {
    border-left-color: var(--insp-line);
  }

  body.inspection-site .insp-review-checklist .insp-review-item-reference {
    border-left-color: var(--insp-lime);
    color: var(--insp-lime);
  }

  body.inspection-site .insp-review-checklist .insp-review-evidence-count:not(.insp-review-evidence-missing) {
    color: var(--insp-muted);
  }

  body.inspection-site .insp-item-evidence-state:not(.is-missing, .is-error) {
    color: var(--insp-muted);
  }

  body.inspection-site .insp-status-option input:not(:checked) + span {
    border-color: var(--insp-line);
    color: var(--insp-white);
  }

  body.inspection-site .insp-result-label[data-result=""] {
    background: var(--ls-theme-input);
    border-color: var(--insp-line);
    color: var(--insp-muted);
  }

  body.inspection-site #inspection-main .insp-record-nav a {
    background: var(--ls-theme-input);
    color: var(--insp-white);
  }

  body.inspection-site #inspection-main .insp-record-nav a:is(:hover, :focus-visible) {
    border-color: var(--ls-theme-hover);
    color: var(--ls-theme-hover);
  }

  body.inspection-site #inspection-main .insp-item-photo-actions :is(.insp-item-camera, .insp-item-upload) {
    border-color: var(--insp-line);
  }

  body.inspection-site .insp-item-upload {
    border-color: var(--insp-line);
  }

  body.inspection-site input[type="file"]::file-selector-button {
    background: var(--insp-panel);
    border-color: var(--insp-line);
    color: var(--insp-white);
  }

  body.inspection-site input[type="file"]:not(:disabled)::file-selector-button:hover {
    border-color: var(--ls-theme-hover);
    color: var(--ls-theme-hover);
  }

  body.inspection-site :is(
    .insp-equipment-preview img, .insp-photo > img, .insp-review-photo-grid img,
    .insp-signature canvas, .insp-review-signatures img, .insp-dialog iframe
  ) {
    background-color: var(--ls-theme-text);
  }
}
