:root {
  --ink:#20384f;
  --ink-soft:#536d84;
  --muted:#74899b;
  --brand:#347db7;
  --brand-deep:#246591;
  --brand-pale:#e9f4fb;
  --lavender:#b5a5c4;
  --paper:#fff;
  --canvas:#f3f7fb;
  --line:#dce6ef;
  --shadow:0 12px 35px #20384f08
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  color:var(--ink);
  background:radial-gradient(circle at 4% 18%,#e6f0f7 0,transparent 27%),linear-gradient(180deg,#f8fbfd,var(--canvas));
  font:14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:100vh
}

button,input,select {
  font:inherit
}

a {
  color:var(--brand-deep);
  text-decoration:none
}

a:hover {
  color:var(--brand)
}

button {
  cursor:pointer;
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  font-weight:600;
  font-size:12px;
  padding:10px 15px;
  transition:background .18s,border-color .18s,transform .18s
}

button:hover {
  background:var(--brand-pale);
  border-color:#bfd7e8
}

button:disabled {
  cursor:default;
  opacity:.45
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #347db75c;
  outline-offset:4px
}

[hidden] {
  display:none!important
}

button.primary {
  color:#fff;
  background:var(--brand);
  border-color:var(--brand);
  box-shadow:0 6px 16px #347db725
}

button.primary:hover {
  background:var(--brand-deep)
}

main {
  max-width:1370px;
  padding:0 25px;
  margin:auto
}

.intro {
  padding:34px 2px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between
}

.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  font-weight:750;
  color:var(--brand-deep)
}

h1 {
  font-size:clamp(30px,3.4vw,47px);
  letter-spacing:-1.8px;
  line-height:1.22;
  margin:8px 0 10px;
  font-weight:650
}

h1 em {
  font-family:Georgia,serif;
  font-weight:400;
  color:#4b8fbf
}

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

.chapter {
  display:flex;
  align-items:center;
  gap:16px
}

.chapter>span {
  font:58px Georgia,serif;
  color:#bdcfe0
}

.chapter small {
  font-size:9px;
  letter-spacing:2px;
  line-height:1.8;
  color:#849bae
}

.workspace {
  display:grid;
  grid-template-columns:minmax(0,1fr) 318px;
  gap:22px;
  align-items:start
}

.studio,.controls {
  background:white;
  border:1px solid var(--line);
  border-radius:21px;
  box-shadow:var(--shadow);
  overflow:hidden
}

.studio-head {
  padding:20px 23px 17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #eaf0f5
}

h2 {
  font-size:18px;
  letter-spacing:-.4px;
  font-weight:650;
  line-height:1.4;
  margin:3px 0 0
}

.status {
  border:1px solid #d9e6ef;
  color:#6888a3;
  background:#f5f9fc;
  border-radius:999px;
  padding:5px 10px;
  font-size:10px;
  white-space:nowrap
}

.status.running {
  color:#7c67a3;
  background:#f3effa;
  border-color:#e1d6ef
}

.viewbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:13px 19px 0
}

.segmented {
  display:flex;
  padding:3px;
  border-radius:999px;
  background:#f0f5f9;
  gap:2px
}

.segmented button {
  background:transparent;
  color:#7d91a3;
  border:0;
  padding:6px 12px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}

.segmented button[aria-pressed=true] {
  background:#fff;
  color:var(--brand-deep);
  box-shadow:0 2px 6px #20384f0d
}

.text-button {
  background:transparent;
  border:0;
  color:#6b8ba5;
  font-size:11px;
  padding:7px 5px;
  font-weight:500
}

.text-button:hover {
  background:transparent;
  color:var(--brand-deep)
}

.text-button span {
  margin-left:6px
}

.scene {
  position:relative;
  overflow:hidden;
  background:linear-gradient(#fff,#f8fbfd)
}

#process {
  display:block;
  width:100%;
  height:auto
}

#process text {
  font-family:inherit
}

#face-view {
  min-height:400px;
  padding:24px 24px 18px;
  text-align:center
}

.face-controls {
  display:inline-flex;
  margin-bottom:10px
}

#face-view svg {
  display:block;
  max-width:640px;
  width:100%;
  margin:auto
}

#face-caption {
  font-size:12px;
  color:var(--muted);
  margin:0
}

.story {
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:#edf5fc;
  border-block:1px solid #dceaf5;
  padding:16px 23px;
  min-height:108px
}

.story>span {
  font:31px Georgia,serif;
  color:#a0bfd8;
  min-width:37px;
  line-height:1.1;
  padding-top:2px
}

.story h3 {
  font-size:13px;
  line-height:1.5;
  margin:0;
  font-weight:650
}

.story p {
  font-size:12px;
  line-height:1.7;
  color:#64829b;
  margin:3px 0 0;
  max-width:650px
}

.playback {
  display:flex;
  gap:9px;
  align-items:center;
  padding:17px 21px 10px
}

.playback #run {
  min-width:122px
}

#play-icon {
  font-size:10px;
  margin-right:5px
}

.speed-control {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:var(--muted)
}

select {
  background:#f7fafc;
  color:var(--ink-soft);
  border:1px solid var(--line);
  border-radius:8px;
  padding:5px 8px;
  font-size:11px
}

.timeline {
  display:flex;
  align-items:center;
  gap:17px;
  padding:2px 23px 17px
}

.timeline input {
  width:100%;
  min-width:0;
  accent-color:var(--brand);
  height:4px;
  cursor:pointer
}

.timeline>span {
  font-size:10px;
  color:var(--muted);
  min-width:46px;
  text-align:right;
  font-variant-numeric:tabular-nums
}

.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line)
}

.steps button {
  border:0;
  border-radius:0;
  border-right:1px solid var(--line);
  font-size:10px;
  padding:11px 4px;
  color:var(--muted);
  font-weight:500
}

.steps button:last-child {
  border-right:0
}

.steps b {
  font-size:9px;
  opacity:.65;
  margin-right:5px;
  font-weight:500
}

.steps .active {
  background:#edf6fc;
  color:var(--brand-deep);
  box-shadow:inset 0 2px var(--brand)
}

.controls {
  padding:20px
}

.control-heading {
  display:flex;
  align-items:center;
  justify-content:space-between
}

.control-heading h2 {
  font-size:17px
}

.small-tag {
  font-size:8px;
  font-weight:700;
  letter-spacing:1.2px;
  color:#96a8b8
}

.ink-face-preview {
  position:relative;
  margin:16px 0 20px;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:linear-gradient(135deg,#f7fbff,#edf5fb);
  overflow:hidden;
  text-align:center
}

.ink-face-preview svg {
  display:block;
  width:185px;
  max-width:100%;
  height:119px;
  margin:0 auto
}

.ink-face-preview>span {
  display:block;
  font-size:9px;
  color:#87a0b5;
  padding:0 0 9px
}

.controls fieldset {
  border:0;
  padding:0;
  margin:0 0 21px;
  min-width:0
}

.controls legend {
  font-size:11px;
  font-weight:650;
  margin-bottom:10px;
  line-height:1.6
}

.choice {
  display:flex;
  gap:6px
}

.choice button {
  flex:1;
  font-size:11px;
  border-radius:9px;
  padding:8px
}

.choice button[aria-pressed=true] {
  color:var(--brand-deep);
  border-color:#a9cbe3;
  background:var(--brand-pale)
}

.face-choice {
  display:flex;
  flex-direction:column;
  gap:7px
}

.face-choice button {
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:12px 11px;
  border-radius:11px;
  font-size:11px;
  font-weight:650
}

.face-choice button small {
  display:block;
  font-size:9px;
  font-weight:400;
  margin-top:3px;
  color:var(--muted)
}

.face-choice button[aria-pressed=true] {
  background:#eff7fd;
  border-color:#a9cbe3
}

.contact-icon {
  display:block;
  width:25px;
  height:25px;
  flex:0 0 25px;
  background:linear-gradient(#a6c4db 0 39%,#fff 40% 51%,#c8e4f8 52% 100%);
  border:1px solid #a6c4db;
  border-radius:5px;
  position:relative
}

.contact-icon:after {
  content:"";
  position:absolute;
  width:13px;
  height:3px;
  left:5px;
  background:#334d61;
  top:12px
}

.contact-icon.back:after {
  top:20px
}

.choice-dot {
  width:11px;
  height:11px;
  border:1px solid #c1d0dc;
  border-radius:50%;
  margin-left:auto;
  flex:0 0 11px
}

.face-choice button[aria-pressed=true] .choice-dot {
  border:3px solid var(--brand);
  background:#fff
}

.contact-summary {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:10px;
  color:#63859d;
  margin:-5px 0 14px
}

.indicator {
  height:6px;
  width:6px;
  background:#71a395;
  border-radius:50%;
  flex-shrink:0
}

.contact-summary.poor .indicator {
  background:#c5a06f
}

.contact-summary.poor {
  color:#9b7a50
}

.contact-detail {
  border-block:1px solid #e6edf4;
  padding:10px 0
}

.contact-detail summary {
  display:flex;
  justify-content:space-between;
  list-style:none;
  cursor:pointer;
  color:#6d8ba3;
  font-size:10px
}

.contact-detail summary::-webkit-details-marker {
  display:none
}

.contact-detail[open] summary>span {
  transform:rotate(45deg)
}

.contact-detail svg {
  width:100%;
  display:block
}

.contact-detail p {
  color:var(--muted);
  font-size:9px;
  margin:4px 0 0;
  line-height:1.7
}

.try-heading {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin:22px 0 8px
}

.try-heading h3 {
  font-size:12px;
  font-weight:650;
  margin:0
}

.try-heading>span {
  font-size:9px;
  color:#93a7b7
}

.presets {
  display:flex;
  flex-direction:column;
  gap:2px
}

.presets button {
  display:flex;
  align-items:center;
  gap:11px;
  border:0;
  border-radius:9px;
  padding:9px 7px;
  background:transparent;
  text-align:left;
  font-size:11px;
  font-weight:500
}

.presets button:hover {
  background:#f3f8fc
}

.presets button>span:first-child {
  color:#9ab7cd;
  font:19px Georgia,serif
}

.presets button small {
  display:block;
  font-size:9px;
  color:#8da2b3;
  margin-top:2px;
  font-weight:400
}

.presets button>span:last-child {
  margin-left:auto;
  color:#9ab4c8
}

.outcome {
  display:flex;
  align-items:center;
  gap:25px;
  padding:23px 26px;
  background:#eef7fa;
  border:1px solid #d3e6ef;
  border-radius:18px;
  margin-top:22px
}

.result-heading {
  flex:1
}

.result-heading h2 {
  font-size:20px;
  margin-top:5px
}

.result-heading p {
  font-size:12px;
  color:#6a869c;
  line-height:1.7;
  margin:7px 0 0
}

.result-checks {
  display:flex;
  gap:28px;
  flex-shrink:0
}

.result-checks>div {
  display:flex;
  flex-direction:column;
  gap:4px
}

.result-checks span {
  font-size:10px;
  color:#829aab
}

.result-checks strong {
  font-size:12px;
  font-weight:600
}

.outcome>button {
  font-size:11px;
  flex-shrink:0
}

.trials {
  margin-top:35px
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px
}

.section-heading h2 {
  font-size:20px;
  margin-top:4px
}

.trial-list {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px
}

.empty-trials {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:17px;
  border:1px dashed #cedeea;
  border-radius:15px;
  padding:21px 25px;
  color:#90a8ba
}

.empty-trials>span {
  font-size:26px;
  line-height:1
}

.empty-trials p {
  font-size:12px;
  margin:0;
  color:#7793a9
}

.empty-trials small {
  display:block;
  font-size:10px;
  color:#91a8ba;
  margin-top:2px
}

.trial-card {
  border:1px solid var(--line);
  border-radius:14px;
  padding:15px;
  background:#fff
}

.trial-card .trial-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#6f8ba1
}

.trial-card .trial-title>span {
  font-size:9px;
  color:#9cafbd
}

.trial-card svg {
  display:block;
  width:100%;
  height:100px;
  background:#f8fbfe;
  border-radius:6px;
  margin:10px 0
}

.trial-card .trial-meta {
  font-size:10px;
  color:#839bac
}

.trial-card .trial-meta b {
  font-weight:500;
  color:#496d86
}

.trial-card button {
  font-size:9px;
  padding:5px 9px;
  margin-top:10px;
  color:#60839f
}

.watch-notes {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  margin:35px 3px
}

.watch-notes article {
  display:flex;
  gap:15px
}

.watch-notes article>span {
  font:25px Georgia,serif;
  color:#acc2d5
}

.watch-notes h3 {
  font-size:13px;
  margin:0 0 5px;
  font-weight:600
}

.watch-notes p {
  font-size:11px;
  color:#7d95a8;
  line-height:1.8;
  margin:0
}

.model-note {
  border-top:1px solid var(--line);
  padding:17px 2px;
  color:#8198aa;
  font-size:11px
}

.model-note summary {
  cursor:pointer;
  color:#65849d
}

.model-note p {
  max-width:1060px;
  line-height:1.8
}

#wash-streams.active path {
  animation:water-flow .7s linear infinite
}

#uv-rays.active path {
  animation:uv-flow 1s linear infinite
}

@keyframes water-flow {
  to {
    stroke-dashoffset:-40
  }
}

@keyframes uv-flow {
  to {
    stroke-dashoffset:32
  }
}

@media(min-width:1500px) {
  main {
    padding:0
  }
  .workspace {
    grid-template-columns:minmax(0,1fr) 330px
  }
}

@media(max-width:1100px) {
  .workspace {
    grid-template-columns:minmax(0,1fr) 290px;
    gap:16px
  }
  .controls {
    padding:17px
  }
  .studio-head {
    padding:17px
  }
  .studio-head h2 {
    font-size:16px
  }
  .outcome {
    flex-wrap:wrap
  }
  .result-heading {
    flex-basis:60%
  }
  .story {
    min-height:123px
  }
  .trial-list {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}

@media(max-width:850px) {
  .workspace {
    grid-template-columns:minmax(0,1fr)
  }
  .controls {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0 25px
  }
  .control-heading {
    grid-column:1/-1
  }
  .ink-face-preview {
    grid-column:1;
    grid-row:2/4;
    margin:14px 0 18px;
    display:grid;
    place-content:center
  }
  .ink-face-preview svg {
    width:215px;
    height:137px
  }
  .controls fieldset {
    grid-column:2;
    margin-top:12px;
    margin-bottom:0
  }
  .controls fieldset+fieldset {
    grid-row:3
  }
  .contact-summary {
    grid-column:1;
    margin:0 0 10px
  }
  .contact-detail {
    grid-column:1;
    grid-row:5/7
  }
  .try-heading {
    grid-column:2;
    grid-row:4;
    margin:13px 0 6px
  }
  .presets {
    grid-column:2;
    grid-row:5/7
  }
  .contact-detail svg {
    max-height:180px
  }
  .chapter {
    display:none
  }
  .story {
    min-height:105px
  }
  .watch-notes {
    gap:20px
  }
  .trial-list {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .result-checks {
    gap:20px
  }
  .intro {
    padding-top:28px
  }
}

@media(max-width:580px) {
  main {
    padding:0 13px
  }
  .site-header {
    padding:12px 15px;
    min-height:67px;
    gap:12px
  }
  .brand-mark {
    width:33px;
    height:33px;
    border-radius:11px
  }
  .brand-name {
    font-size:11px
  }
  .brand-section,.brand-slash,.hub-link,.desktop-label {
    display:none
  }
  .mobile-label {
    display:inline
  }
  .site-header nav {
    font-size:11px
  }
  .site-brand {
    gap:8px
  }
  .intro {
    padding:26px 2px 23px
  }
  .intro p {
    font-size:12px
  }
  .intro .eyebrow {
    font-size:9px
  }
  h1 {
    font-size:33px;
    letter-spacing:-1.3px
  }
  .studio,.controls {
    border-radius:16px
  }
  .studio-head {
    padding:16px 15px;
    align-items:flex-start
  }
  .studio-head h2 {
    font-size:14px;
    max-width:205px
  }
  .studio-head .eyebrow {
    font-size:8px
  }
  .status {
    font-size:8px;
    padding:5px 8px;
    margin-top:3px
  }
  .viewbar {
    padding:11px 11px 0
  }
  .segmented button {
    font-size:10px;
    padding:6px 10px
  }
  .text-button {
    font-size:9px
  }
  #process {
    min-height:290px
  }
  .story {
    padding:15px;
    gap:11px;
    min-height:125px
  }
  .story>span {
    font-size:26px;
    min-width:29px
  }
  .story h3 {
    font-size:12px
  }
  .story p {
    font-size:11px
  }
  .playback {
    padding:14px 13px 10px;
    gap:7px
  }
  .playback button {
    font-size:10px;
    padding:9px 12px
  }
  .playback #run {
    min-width:108px
  }
  .speed-control {
    font-size:10px;
    gap:5px
  }
  .speed-control select {
    font-size:10px;
    padding:5px
  }
  .timeline {
    padding:2px 15px 16px
  }
  .steps button {
    font-size:9px;
    padding:10px 2px
  }
  .steps b {
    display:none
  }
  .controls {
    display:block;
    padding:18px
  }
  .control-heading h2 {
    font-size:17px
  }
  .ink-face-preview {
    margin:14px 0 18px;
    display:block
  }
  .ink-face-preview svg {
    width:210px;
    height:134px
  }
  .controls fieldset {
    margin:0 0 20px
  }
  .controls legend {
    font-size:12px
  }
  .choice button {
    font-size:12px;
    padding:9px
  }
  .face-choice button {
    font-size:12px;
    padding:12px
  }
  .face-choice button small {
    font-size:10px
  }
  .contact-summary {
    font-size:11px;
    margin:0 0 15px
  }
  .contact-detail summary {
    font-size:11px
  }
  .contact-detail svg {
    max-height:200px
  }
  .try-heading {
    margin-top:22px
  }
  .presets button {
    font-size:12px;
    padding:11px 8px
  }
  .presets button small {
    font-size:10px
  }
  .try-heading>span {
    font-size:10px
  }
  .outcome {
    padding:20px;
    gap:20px
  }
  .result-heading {
    flex-basis:100%
  }
  .result-heading h2 {
    font-size:19px
  }
  .result-checks {
    width:100%;
    gap:34px
  }
  .outcome>button {
    width:100%;
    text-align:left
  }
  .trial-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .trial-card {
    padding:12px
  }
  .trial-card svg {
    height:85px
  }
  .section-heading h2 {
    font-size:18px
  }
  .section-heading .eyebrow {
    font-size:9px
  }
  .watch-notes {
    grid-template-columns:1fr;
    gap:20px;
    margin:27px 3px
  }
  .watch-notes p {
    font-size:12px
  }
  .watch-notes article>span {
    font-size:26px
  }
  .watch-notes h3 {
    font-size:13px
  }
  #face-view {
    min-height:290px;
    padding:20px 10px
  }
  #face-caption {
    font-size:11px
  }
  .face-controls button {
    font-size:10px
  }
  .empty-trials {
    padding:20px 16px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
}

@media(max-width:580px) {
  #process {
    min-height:0
  }
  #layer-labels {
    font-size:26px
  }
  #scene-footnote,#machine text,#film-layer text {
    display:none
  }
  #wash-scene>g:last-of-type text:first-child,#print-stage-label {
    font-size:25px
  }
  #wash-scene>g:last-of-type text:last-child {
    display:none
  }
}

.ink-face-preview {
  padding:11px 10px 12px;
  overflow:visible
}

.film-surfaces {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px
}

.film-surface {
  min-width:0;
  border:1px solid #dce7ef;
  border-radius:9px;
  background:#ffffffa8;
  padding:8px 5px 7px;
  transition:border-color .25s,background .25s,box-shadow .25s
}

.film-surface.is-top {
  border-color:#96bad6;
  background:#fff;
  box-shadow:0 0 0 1px #b5d0e442
}

.surface-name {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-size:11px;
  font-weight:650;
  color:#506f87
}

.surface-name i {
  width:7px;
  height:7px;
  border-radius:50%;
  flex:0 0 7px
}

.ink-key {
  background:#c7a064
}

.plastic-key {
  background:#9bc9e8
}

.ink-face-preview .film-surface svg {
  width:100%;
  height:auto;
  margin:0
}

.surface-detail {
  display:block;
  font-size:8px;
  color:#8097a9;
  white-space:nowrap
}

.film-surface strong {
  display:block;
  color:#7894a9;
  font-size:9px;
  font-weight:500;
  margin-top:5px
}

.film-surface.is-top strong {
  color:var(--brand-deep)
}

.film-edge-view {
  margin:11px 0 0
}

.film-edge-view>span {
  font-size:8px;
  letter-spacing:.3px;
  color:#8ba3b6
}

.ink-face-preview .film-edge-view svg {
  display:block;
  width:100%;
  height:auto;
  margin:0
}

.film-edge-view svg text {
  font-family:inherit
}

#flip-film {
  width:100%;
  padding:7px 10px;
  font-size:10px;
  border-radius:8px;
  color:var(--brand-deep);
  background:#fff;
  border-color:#cbdfea
}

#flip-film span {
  margin-left:6px
}

.surface-note {
  font-size:9px;
  line-height:1.65;
  color:#7792a7;
  text-align:left;
  margin:9px 0 0
}

.film-face-tab text {
  display:block
}

@media(min-width:581px) and (max-width:850px) {
  .ink-face-preview {
    display:block;
    align-self:start
  }
  .surface-detail {
    font-size:9px
  }
}

@media(max-width:580px) {
  .ink-face-preview {
    padding:12px
  }
  .surface-name {
    font-size:12px
  }
  .surface-detail {
    font-size:9px
  }
  .film-surface strong {
    font-size:10px
  }
  #flip-film {
    font-size:12px;
    padding:9px 10px
  }
  .surface-note {
    font-size:10px
  }
  .film-edge-view>span {
    font-size:9px
  }
  #film-layer .film-face-tab text {
    display:block;
    font-size:17px
  }
}

.exposure-key {
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  padding:13px 22px;
  background:#f3f1fa;
  border-top:1px solid #e1dbed;
  color:#6b7395;
  font-size:11px
}

.exposure-key>span {
  display:flex;
  gap:7px;
  align-items:center
}

.exposure-key i {
  width:10px;
  height:10px;
  border-radius:3px;
  flex-shrink:0
}

.hardened-key {
  background:#527cab
}

.protected-key {
  background:#c9dfef;
  border:1px solid #aac4db
}

.exposure-meter {
  width:100%;
  height:4px;
  border-radius:4px;
  background:#e0dbea;
  overflow:hidden
}

.exposure-meter>span {
  display:block;
  height:100%;
  background:#9a86c1
}

.scene.exposing {
  background:linear-gradient(#f7f4fc,#f0edf9)
}

.scene.exposing #bulbs {
  filter:drop-shadow(0 0 10px #ae87e0)
}

.wash-inspection {
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  padding:12px 20px;
  border-top:1px solid #e2edf5;
  background:#f8fbfe;
  font-size:11px;
  color:#7791a7
}

.detail-loss-option {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#63849e;
  margin:8px 0;
  cursor:pointer
}

.detail-loss-option input {
  accent-color:var(--brand);
  margin:0
}

.detail-loss-option:has(input:disabled) {
  opacity:.55;
  cursor:default
}

@media(min-width:581px) and (max-width:850px) {
  .contact-detail {
    grid-column:1;
    grid-row:4/7
  }
  .try-heading {
    grid-row:4
  }
}

@media(max-width:580px) {
  .exposure-key {
    padding:12px 14px;
    font-size:10px;
    gap:8px
  }
  .wash-inspection {
    padding:12px 14px;
    gap:8px
  }
  .wash-inspection .segmented {
    width:100%
  }
  .wash-inspection button {
    flex:1
  }
}

#wash-tool {
  pointer-events:none
}

#wash-profile-label {
  font-size:13px;
  fill:#8aa0b3
}

@media(max-width:580px) {
  #wash-profile-label {
    font-size:20px
  }
  #wash-side-label {
    font-size:25px
  }
}

.scene .wash-inspection {
  position:absolute;
  top:12px;
  left:50%;
  transform:translateX(-50%);
  padding:0;
  border:0;
  background:transparent;
  flex-wrap:nowrap;
  white-space:nowrap;
  z-index:1
}

.scene .wash-inspection .segmented {
  background:#edf4f9e8;
  border:1px solid #dce6ef
}

.scene .wash-inspection button {
  padding:6px 12px
}

@media(max-width:580px) {
  .scene .wash-inspection {
    top:4px
  }
  .scene .wash-inspection button {
    padding:4px 9px;
    font-size:10px
  }
  #frame-label {
    font-size:19px
  }
}

#flip-film {
  margin-top:10px
}

.controls fieldset.ink-face-preview {
  margin:16px 0 0;
  padding:10px;
  border:1px solid #dce7ef;
  border-radius:12px;
  background:#f3f8fc
}

.ink-face-preview legend {
  padding:0 4px
}

.film-surfaces .film-surface {
  border-radius:9px;
  text-align:center;
  white-space:normal;
  font-weight:400
}

.film-surfaces .film-surface:hover {
  background:#fff;
  border-color:#96bad6
}

.film-surface.is-top {
  box-shadow:0 0 0 1px #96bad6
}

.film-surface.is-top .surface-name:after {
  content:"✓";
  color:var(--brand)
}

.controls .ink-face-preview+fieldset {
  margin-top:18px
}

.machine-choice {
  margin-bottom:20px!important
}

.machine-choice select {
  width:100%;
  padding:9px;
  font-size:11px
}

#top-rays.active {
  animation:uv-flow .8s linear infinite
}

/* Keep navigation compact on phones without changing shared branding. */
.site-header nav.site-nav {
  gap: 6px;
}

.site-header nav.site-nav a {
  font-size: 12px;
  font-weight: 700;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header nav.site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .site-header nav.site-nav a {
    font-size: 11px;
    padding: 7px 10px;
    white-space: nowrap;
  }
}
