@font-face {
  font-family: "TypoWriter";
  src: url("./assets/typo-writer-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CP Digital Mono";
  src: url("./assets/digital-7-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --ink-soft: #686660;
  --hairline: rgba(34, 32, 28, 0.12);
  --paper: #fbfaf7;
  --ground: #e8e5df;
  --warm-white: #f3f1ec;
  --blue: #0a66d8;
  --red: #bd2d23;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #fff;
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.experience {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(560px, 1fr) 118px;
  overflow: hidden;
  background: #fff;
}

.brand-mark {
  width: 24px;
  height: 19px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  display: grid;
  place-items: center;
}

.brand-mark i {
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.quiet-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  padding: 8px 13px;
  cursor: pointer;
}

.quiet-button:hover {
  background: rgba(255, 255, 255, 0.94);
}

.stage {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.intro-trigger {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
  padding: 0 24px 5vh;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.intro-trigger span {
  color: #56544f;
  font-size: clamp(.86rem, 1.1vw, 1rem);
  letter-spacing: -.01em;
  animation: introBreathe 2.6s ease-in-out infinite;
}

@keyframes introBreathe {
  0%, 100% { opacity: .48; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.experience[data-scene="intro"] .intro-trigger {
  opacity: 1;
  pointer-events: auto;
}

.card-envelope {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity .65s var(--ease);
}

.envelope-frame {
  position: absolute;
  width: min(40vw, 540px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url('./assets/chromapress-card-envelope-sprite.png');
  background-repeat: no-repeat;
  background-size: 200% 100%;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}

.envelope-back { z-index: 21; background-position: right center; }
.envelope-pocket { z-index: 23; background-position: right center; clip-path: inset(52% 0 0 0); }

.experience[data-scene="unboxing"] .envelope-back,
.experience[data-scene="unboxing"] .envelope-pocket { animation: envelopeDisappear .72s .18s ease both; }
.experience[data-scene="card"] .envelope-back,
.experience[data-scene="card"] .envelope-pocket,
.experience:not([data-scene="intro"]):not([data-scene="unboxing"]):not([data-scene="card"]) .envelope-frame { opacity: 0; }

@keyframes envelopeDisappear {
  from { opacity: 1; }
  to { opacity: 0; }
}

.mac {
  position: absolute;
  z-index: 14;
  width: min(68vw, 1020px);
  aspect-ratio: 1.63;
  left: 4%;
  top: 3%;
  opacity: 0;
  transform: translateY(30px) scale(.96);
  pointer-events: none;
  transition: transform 0.75s var(--ease), opacity 0.45s ease;
}

.mac-lid {
  position: absolute;
  inset: 0;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(145deg, #242423, #080808 55%, #353534);
  box-shadow:
    0 34px 70px rgba(42, 35, 26, 0.24),
    0 8px 18px rgba(42, 35, 26, 0.16);
}

.mac-camera {
  position: absolute;
  z-index: 2;
  width: 6px;
  height: 6px;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.mac-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 13px 13px 8px 8px;
  background: #f7f7f5;
  color: var(--ink);
}

.phone {
  position: absolute;
  z-index: 6;
  width: min(15.5vw, 228px);
  aspect-ratio: 0.49;
  right: 7.5%;
  top: 8%;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(145deg, #4d4c4a, #131313 48%, #5f5d59);
  box-shadow: 0 30px 65px rgba(42, 35, 26, 0.25);
  opacity: 0;
  transform: translateY(30px) scale(.96);
  pointer-events: none;
  transition: transform 0.75s var(--ease), opacity 0.45s ease;
}

.phone-island {
  position: absolute;
  z-index: 3;
  width: 36%;
  height: 20px;
  left: 32%;
  top: 15px;
  border-radius: 999px;
  background: #090909;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #efede7, #d9d6cf);
}

.phone.is-asleep .phone-screen {
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.4), transparent 25%),
    linear-gradient(155deg, #1f2425, #53605c 58%, #b8a27f);
}

.printer-zone {
  position: absolute;
  z-index: 8;
  width: min(22vw, 320px);
  height: min(46vh, 480px);
  left: 78%;
  bottom: 5%;
  pointer-events: none;
  transition: width .8s var(--ease), height .8s var(--ease), left .8s var(--ease), bottom .8s var(--ease), transform .8s var(--ease), filter .7s ease, opacity .7s ease;
}

.experience:is([data-scene="intro"], [data-scene="unboxing"], [data-scene="card"]) .printer-zone {
  width: min(47vw, 640px);
  height: min(84vh, 830px);
  left: 50%;
  bottom: 1%;
  transform: translateX(-50%);
  filter: blur(10px);
  opacity: .44;
}

.experience[data-scene="intro"] .printer-zone {
  animation: printerMaterialize 1.35s var(--ease) both;
}

@keyframes printerMaterialize {
  0% { opacity: 0; filter: blur(18px); transform: translateX(-50%) translateY(3%) scale(.96); }
  100% { opacity: .44; filter: blur(10px); transform: translateX(-50%) translateY(0) scale(1); }
}

.printer-image {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.status-led {
  position: absolute;
  z-index: 6;
  width: 7px;
  height: 7px;
  right: 20%;
  bottom: 18.5%;
  border-radius: 50%;
  background: #6d655c;
  box-shadow: 0 0 0 2px rgba(0,0,0,.1);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.status-led.white-solid,
.status-led.white-pulse {
  background: white;
  box-shadow: 0 0 9px 3px rgba(255,255,255,.88);
}

.status-led.red-pulse {
  background: #ff4a3d;
  box-shadow: 0 0 10px 3px rgba(255,66,53,.68);
}

.status-led.white-pulse,
.status-led.red-pulse {
  animation: ledPulse 1.8s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

.paper {
  position: absolute;
  z-index: 4;
  width: 42%;
  aspect-ratio: 8.5 / 11;
  left: 22.5%;
  top: 28%;
  padding: 5.5% 5%;
  overflow: hidden;
  background: rgba(255,255,255,.99);
  border: 1px solid rgba(54,48,40,.055);
  box-shadow: 0 6px 13px rgba(45,36,28,.1);
  clip-path: inset(100% 0 0 0);
  filter: saturate(.92) contrast(.99);
  transform: perspective(800px) skewX(4deg) rotateX(-7deg) rotateZ(-.2deg);
  transform-origin: top center;
  opacity: 0;
  transition: none;
}

.paper.is-printing {
  opacity: 1;
  animation: paperFeed 4.4s var(--ease) forwards;
}

.paper.is-presented {
  opacity: .9;
  clip-path: inset(0);
  transform: perspective(800px) skewX(4deg) rotateX(-7deg) rotateZ(-.2deg);
}

.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(108deg, rgba(255,255,255,.2), rgba(207,233,236,.07) 44%, transparent 62%, rgba(255,255,255,.14));
  pointer-events: none;
}

@keyframes paperFeed {
  0% { opacity: 0; clip-path: inset(100% 0 0 0); transform: perspective(800px) skewX(4deg) rotateX(-7deg) rotateZ(-.2deg) translateY(5%); }
  8% { opacity: .9; }
  100% { opacity: .9; clip-path: inset(0); transform: perspective(800px) skewX(4deg) rotateX(-7deg) rotateZ(-.2deg) translateY(0); }
}

.paper-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #272624;
  font-family: Georgia, "Times New Roman", serif;
}

.news-masthead {
  padding-bottom: 5%;
  border-bottom: 1px solid #292825;
  font: 700 clamp(8px, .8vw, 13px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
  text-align: center;
}

.paper-kicker {
  font: 600 9px/1.2 -apple-system, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #938779;
}

.paper-content strong {
  margin-top: 6%;
  font-size: clamp(10px, 1.15vw, 20px);
  line-height: .98;
  font-weight: 600;
}

.news-byline { margin-top: 5%; color: #77716a; font: 500 7px/1.2 -apple-system, sans-serif; }

.paper-rule {
  width: 100%;
  height: 1px;
  margin: 7% 0 6%;
  background: #b8b1a7;
}

.news-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 7px; }
.news-columns span { height: 2px; background: #cbc7bf; }
.physical-document-placeholder { padding: 5% 3%; }
.placeholder-masthead { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6%; border-bottom: 1px solid #d7d7d4; }
.placeholder-masthead i { width: 16%; height: 2px; border-radius: 2px; background: #a8aaa8; }
.placeholder-masthead i:first-child { width: 36%; height: 3px; background: #5f6260; }
.placeholder-title { display: grid; gap: 5px; margin-top: 10%; }
.placeholder-title i { width: 92%; height: 7px; border-radius: 1px; background: #4f5351; }
.placeholder-title i:last-child { width: 66%; }
.placeholder-byline { width: 31%; height: 2px; margin-top: 8%; border-radius: 2px; background: #aeb0ad; }
.placeholder-rule { width: 100%; height: 1px; margin: 8% 0 7%; background: #dedfdd; }
.placeholder-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 9%; row-gap: 5px; }
.placeholder-copy i { height: 2px; border-radius: 2px; background: #bfc1be; }
.placeholder-copy i.is-short { width: 68%; }

.start-card-wrap {
  position: absolute;
  z-index: 22;
  width: min(29vw, 425px);
  aspect-ratio: 1.48;
  left: 7.5%;
  bottom: 7.5%;
  perspective: 1200px;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}

.experience:is([data-scene="intro"], [data-scene="unboxing"], [data-scene="card"]) .start-card-wrap {
  width: min(31vw, 430px);
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}

.experience:is([data-scene="intro"], [data-scene="unboxing"]) .start-card-wrap {
  pointer-events: none;
}

.start-card-wrap.is-hidden {
  opacity: 0;
  transform: translateY(40px) scale(.94);
  pointer-events: none;
}

.start-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .75s var(--ease);
}

.start-card.is-flipped { transform: rotateY(180deg); }

.hardware-controls,
.stage-next {
  position: absolute;
  z-index: 34;
  right: 4%;
  bottom: 6%;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .3s ease, transform .45s var(--ease);
}

.hardware-controls.is-visible,
.stage-next.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hardware-controls button,
.stage-next {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20,20,20,.16);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 650;
}

.stage-next { bottom: 5%; }

.stage-reset {
  position: absolute;
  z-index: 55;
  top: 16px;
  right: 18px;
  padding: 5px 9px;
  background: rgba(242, 241, 237, .78);
  color: #77736d;
  font-size: .68rem;
  line-height: 1;
}

.stage-reset:hover { background: #eceae5; color: var(--ink); }

.card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(105,98,87,.13);
  border-radius: 7px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(96,89,78,.012) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(96,89,78,.008) 6px),
    #f0efeb;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.66),
    0 2px 0 #dedbd4,
    0 4px 0 #eeece7,
    0 24px 58px rgba(59,49,37,.14);
  backface-visibility: hidden;
}

.card-back { transform: rotateY(180deg); }
.card-eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.card-face h1 {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 540;
  letter-spacing: -.055em;
  line-height: .96;
}

.card-face p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.45;
}

.card-face > div:not(.card-footer) { width: 100%; }

.card-face strong,
.card-url {
  font-size: .94rem;
  font-weight: 620;
  letter-spacing: -.01em;
}

.card-url {
  border: 0;
  border-bottom: 1px solid rgba(29,29,31,.22);
  background: transparent;
  padding: 0 0 2px;
  cursor: pointer;
}

.card-secondary { max-width: 26ch; margin-left: auto !important; margin-right: auto !important; }
.card-footer { position: relative; width: 100%; display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 22px; }
.card-footer-back { align-items: center; justify-content: flex-start; }
.card-back p:not(.card-eyebrow) { font-size: .76rem; line-height: 1.38; }
.card-back .card-secondary { font-size: .69rem; }
.card-front .card-footer .card-link { width: max-content; }
.card-front .card-footer .card-link span { display: inline-block; margin-left: 3px; transition: transform .25s ease; }
.card-front .card-footer .card-link:hover span { transform: translateX(3px); }

.card-link,
.card-primary {
  border: 0;
  background: transparent;
  padding: 6px 0;
  cursor: pointer;
  font-size: .76rem;
  color: var(--ink-soft);
}

.card-link span { color: var(--ink); }
.card-primary {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 600;
}

.timeline-bar {
  position: relative;
  z-index: 35;
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 13px 28px;
  border-top: 1px solid rgba(29,29,31,.08);
  background: #fff;
}

.timeline-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: .76rem;
  letter-spacing: -.01em;
}

.timeline-copy p {
  margin: 0;
  font-size: .7rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

.journey-timeline { min-width: 0; display: grid; gap: 7px; }
.timeline-main { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.timeline-main::before { content: ""; position: absolute; height: 1px; left: 8.3%; width: var(--phase-progress); top: 12px; background: rgba(29,29,31,.18); transition: width .65s var(--ease); }
.timeline-main.is-direct::before { display: none; }
.timeline-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; border: 0; background: transparent; padding: 0; color: #8a8781; font-size: .64rem; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.timeline-step.is-future { opacity: 0; visibility: hidden; transform: translateY(5px); pointer-events: none; }
.timeline-step i { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(29,29,31,.16); border-radius: 50%; background: #fff; font-style: normal; font-size: .62rem; }
.timeline-step.is-complete i { background: #ece9e3; color: #343230; }
.timeline-step.is-current { color: var(--ink); font-weight: 650; }
.timeline-step.is-current i { border-color: var(--ink); background: var(--ink); color: white; box-shadow: 0 0 0 4px rgba(29,29,31,.07); }
.timeline-branch { width: fit-content; margin-left: 31%; display: flex; align-items: baseline; gap: 7px; padding: 1px 8px; border: 0; border-radius: 999px; background: transparent; color: #77736d; font-size: .64rem; }
.timeline-branch strong { color: #3d3b38; font-size: .66rem; }
.timeline-branch.is-current { background: #f0eee9; color: var(--ink); }
.timeline-branch.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.card-usb-action {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 650;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .25s ease, transform .35s var(--ease), visibility .25s;
}

.card-usb-action.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; cursor: pointer; }

.experience:is(
  [data-scene="download"],
  [data-scene="downloading"],
  [data-scene="downloaded"],
  [data-scene="installer"],
  [data-scene="installing"],
  [data-scene="installed"],
  [data-scene="launch"],
  [data-scene="connect"],
  [data-scene="found"],
  [data-scene="wifi"],
  [data-scene="ready"],
  [data-scene="workspace"],
  [data-scene="print"],
  [data-scene="printing"]
) .mac {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.phone {
  opacity: 0;
  transform: translateY(30px) scale(.96);
  pointer-events: none;
}

/* Mac surface */
.desktop {
  height: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 78%, rgba(236,161,112,.9), transparent 25%),
    radial-gradient(circle at 75% 25%, rgba(103,96,172,.85), transparent 31%),
    linear-gradient(135deg, #243061, #6b609b 52%, #d58674);
}

.desktop-menu {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: rgba(246,244,241,.75);
  backdrop-filter: blur(18px);
  font-size: 8px;
  color: #252525;
}

.desktop-menu span:first-child { font-weight: 700; }

.document-window,
.app-window,
.safari-window,
.finder-window,
.print-sheet {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: rgba(250,250,249,.97);
  box-shadow: 0 18px 50px rgba(18,18,18,.28);
}

.document-window { inset: 9% 14% 8% 10%; }
.app-window { inset: 7% 11% 8%; }
.safari-window { inset: 6% 7% 7%; }
.finder-window { inset: 9% 13% 9%; }

.window-titlebar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(242,242,240,.9);
}

.traffic { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.traffic:nth-child(2) { background: #ffbd2e; }
.traffic:nth-child(3) { background: #28c840; }
.window-title { margin-left: 7px; font-size: 8px; color: #6d6b68; }

.document-body { height: calc(100% - 30px); padding: 5% 15%; background: #e9e7e2; }
.document-page { height: 100%; padding: 6% 8%; overflow: hidden; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.12); font-family: Georgia, "Times New Roman", serif; }
.direct-article-window .document-body { display: grid; place-items: center; padding: 3.5% 18%; }
.direct-article-page { height: 100%; aspect-ratio: 8.5 / 11; overflow: hidden; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.12); }
.direct-article-page .student-article { width: 100%; height: 100%; }
.article-masthead { padding-bottom: 4%; border-bottom: 1px solid #282724; text-align: center; font-size: clamp(10px,1vw,16px); font-weight: 700; letter-spacing: -.035em; }
.document-page small { color: #a0886d; font-size: 7px; text-transform: uppercase; letter-spacing: .16em; }
.document-page h2 { margin: 4% 0 3%; font: 600 clamp(14px,1.6vw,25px)/.98 Georgia, serif; letter-spacing: -.04em; }
.article-dek { margin: 0 0 3%; max-width: 38ch; color: #66615a; font-size: clamp(7px,.65vw,10px); line-height: 1.35; }
.article-byline { padding: 2% 0; border-top: 1px solid #d0ccc5; border-bottom: 1px solid #d0ccc5; font: 600 7px/1 -apple-system, sans-serif; }
.article-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.article-columns p { margin: 5% 0 0; font-size: clamp(6px,.55vw,9px); line-height: 1.45; }
.doc-line { height: 3px; margin: 7px 0; background: #d2d0cb; border-radius: 3px; }
.doc-line.short { width: 65%; }

.centered-app {
  height: calc(100% - 30px);
  display: grid;
  place-items: center;
  padding: 8%;
  text-align: center;
}

.app-content { width: min(100%, 420px); }
.app-glyph {
  width: 54px;
  height: 42px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1.5px solid #282725;
  border-radius: 10px;
}
.app-glyph::after { content: ""; width: 34px; height: 3px; border-radius: 3px; background: #282725; }
.app-content h2 { margin: 0; font-size: clamp(19px,2.3vw,32px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.app-content > p { max-width: 34ch; margin: 13px auto 0; font-size: clamp(10px,.9vw,14px); line-height: 1.45; color: #73716c; }

.wait-pill,
.connection-pill {
  width: fit-content;
  margin: 22px auto 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eceae5;
  color: #6f6d68;
  font-size: 9px;
}

.wait-pill::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: ledPulse 1.8s infinite;
}

.check-list { width: min(100%, 260px); margin: 22px auto 0; display: grid; gap: 8px; text-align: left; }
.check-row { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #5f5d59; }
.check-row i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #282725; color: white; font-style: normal; font-size: 9px; }

.safari-toolbar { height: 34px; display: grid; grid-template-columns: 22px 22px 1fr 22px; align-items: center; gap: 6px; padding: 0 9px; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(245,245,243,.94); }
.safari-toolbar > button { border: 0; background: transparent; color: #77746e; padding: 0; font-size: 15px; }
.safari-address { height: 22px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 7px; background: rgba(0,0,0,.055); color: #56534e; font-size: 8px; }
.safari-address i { width: 5px; height: 6px; border: 1px solid #77746e; border-radius: 1px; }
.start-page { height: calc(100% - 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6%; text-align: center; background: #fbfaf7; }
.start-page-mark { margin-bottom: 12px; transform: scale(.8); }
.start-page-eyebrow { margin: 0 0 7px; color: #77746e; font-size: 8px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.start-page h2 { margin: 0; font-size: clamp(20px,2.4vw,35px); line-height: .98; letter-spacing: -.055em; font-weight: 560; }
.start-page > p:not(.start-page-eyebrow) { max-width: 31ch; margin: 12px 0 0; color: #74716c; font-size: 9px; line-height: 1.45; }
.start-page-button { margin-top: 17px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--ink); color: white; font-size: 9px; font-weight: 650; cursor: pointer; }
.start-page small { margin-top: 8px; color: #99958e; font-size: 7px; }
.start-page.is-muted { filter: saturate(.78); }

.download-popover { position: absolute; z-index: 5; width: 44%; min-width: 220px; right: 10px; top: 65px; padding: 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 13px; background: rgba(250,250,249,.97); box-shadow: 0 18px 44px rgba(0,0,0,.24); }
.download-popover-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 9px; }
.download-popover-title button { border: 0; background: transparent; color: var(--blue); font-size: 8px; }
.download-item { display: grid; grid-template-columns: 32px 1fr 16px; align-items: center; gap: 9px; padding: 11px 0 9px; }
.download-file { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: #ece9e2; font-size: 8px; font-weight: 700; }
.download-item strong, .download-item span { display: block; font-size: 8px; }
.download-item span { margin-top: 3px; color: #7a7771; }
.download-item > i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #2d2c2a; color: white; font-size: 8px; font-style: normal; }
.download-progress { height: 3px; margin-top: 6px; overflow: hidden; border-radius: 3px; background: #dedbd4; }
.download-progress i { display: block; height: 100%; background: var(--blue); animation: downloadApplication 1.8s linear both; }
@keyframes downloadApplication { from { width: 4%; } to { width: 100%; } }
.download-item.is-downloading > i { background: #e1ded8; color: #696660; }
.download-open { width: 100%; height: 28px; border: 0; border-radius: 7px; background: var(--blue); color: white; font-size: 8px; font-weight: 650; cursor: pointer; }

.finder-toolbar { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid rgba(0,0,0,.07); background: #f6f6f4; font-size: 9px; }
.finder-toolbar small { color: #8a8781; font-size: 7px; }
.installer-body { height: calc(100% - 66px); display: grid; grid-template-columns: 1fr 42px 1fr; grid-template-rows: 1fr auto auto; align-items: center; justify-items: center; padding: 8% 13%; background: #fbfaf7; }
.installer-item { display: grid; justify-items: center; gap: 8px; font-size: 9px; }
.application-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg,#f0ede6,#d5d0c5); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 6px 15px rgba(0,0,0,.12); }
.application-icon.small { width: 42px; height: 42px; border-radius: 11px; }
.application-icon.small .brand-mark { transform: scale(.78); }
.applications-icon { width: 58px; height: 58px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 13px; border-radius: 13px; background: linear-gradient(145deg,#83b7ee,#347fd2); }
.applications-icon i { width: 5px; border-radius: 3px; background: white; transform-origin: bottom; }
.applications-icon i:nth-child(1) { height: 25px; transform: rotate(28deg); }
.applications-icon i:nth-child(2) { height: 31px; }
.applications-icon i:nth-child(3) { height: 25px; transform: rotate(-28deg); }
.install-arrow { color: #aaa59d; font-size: 26px; }
.installer-body > p { grid-column: 1 / -1; margin: 0 0 4px; color: #77736d; font-size: 9px; }
.installer-body > .native-button { grid-column: 1 / -1; margin-top: 8px; }

.copy-dialog { margin: 11% auto 0; width: 68%; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; background: #f8f8f6; }
.copy-copy { flex: 1; }
.copy-copy strong, .copy-copy span { display: block; font-size: 9px; }
.copy-copy span { margin-top: 5px; color: #85817b; font-size: 8px; }
.copy-progress { height: 4px; margin-top: 9px; overflow: hidden; border-radius: 4px; background: #ddd9d2; }
.copy-progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--blue); }
.copy-progress.is-copying i { animation: copyApplication 1.8s linear both; }
@keyframes copyApplication { from { width: 6%; } to { width: 100%; } }
.install-complete { height: calc(100% - 30px); display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; }
.install-complete > i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #292826; color: white; font-size: 12px; font-style: normal; }
.install-complete h2 { margin: 10px 0 4px; font-size: 17px; letter-spacing: -.04em; }
.install-complete p { margin: 0; color: #77736d; font-size: 8px; }
.install-complete .application-icon { margin-top: 12px; }
.install-complete > strong { font-size: 9px; }
.applications-grid { display: grid; justify-items: center; gap: 8px; padding-top: 18%; font-size: 9px; }
.finder-window.is-dimmed { filter: brightness(.72); }
.system-dialog { position: absolute; z-index: 8; width: 47%; left: 50%; top: 50%; display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 18px; border: 1px solid rgba(0,0,0,.15); border-radius: 14px; background: rgba(249,249,248,.98); box-shadow: 0 24px 70px rgba(0,0,0,.35); transform: translate(-50%,-50%); }
.system-dialog h2 { margin: 1px 0 6px; font-size: 14px; letter-spacing: -.025em; }
.system-dialog p { margin: 0; color: #696660; font-size: 8px; line-height: 1.45; }
.system-dialog-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 7px; margin-top: 4px; }
.system-dialog-actions button { min-width: 65px; height: 28px; border: 0; border-radius: 7px; background: #e6e4df; font-size: 8px; cursor: pointer; }
.system-dialog-actions button:last-child { background: var(--blue); color: white; font-weight: 650; }

.wifi-form { width: min(100%, 310px); margin: 22px auto 0; text-align: left; }
.wifi-window .centered-app { padding: 3.5% 7%; }
.wifi-window .app-glyph { width: 42px; height: 33px; margin-bottom: 12px; border-radius: 8px; }
.wifi-window .app-glyph::after { width: 27px; }
.wifi-window .app-content h2 { font-size: clamp(17px, 1.9vw, 27px); }
.wifi-window .app-content > p { margin-top: 8px; }
.wifi-window .wifi-form { margin-top: 12px; }
.wifi-window .native-button { margin-top: 10px; }
.found-window .centered-app { padding: 3% 7%; }
.found-window .app-glyph { width: 42px; height: 33px; margin-bottom: 10px; border-radius: 8px; }
.found-window .app-glyph::after { width: 27px; }
.found-window .app-content h2 { font-size: clamp(17px, 1.9vw, 27px); }
.found-window .app-content > p { margin-top: 7px; }
.found-window .check-list { margin-top: 12px; gap: 5px; }
.found-window .native-button { margin-top: 11px; }
.field-label { display: block; margin-bottom: 5px; font-size: 8px; font-weight: 600; color: #5e5c58; }
.field-control { width: 100%; height: 34px; border: 1px solid rgba(0,0,0,.16); border-radius: 8px; background: white; padding: 0 10px; color: #272624; font-size: 10px; outline: none; }
.field-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,102,216,.14); }
.form-gap { height: 12px; }
.privacy-copy { margin: 9px 0 0; text-align: center; font-size: 8px; color: #8b8882; }

.native-button {
  min-width: 100px;
  height: 34px;
  margin-top: 18px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}
.native-button:disabled { opacity: .42; cursor: default; }

.ready-devices { display: flex; justify-content: center; gap: 12px; margin: 22px 0 0; }
.ready-device { width: 70px; padding: 10px 5px; border-radius: 12px; background: #eceae5; font-size: 8px; color: #64615c; }
.ready-device i { display: block; width: 24px; height: 18px; margin: 0 auto 7px; border: 1.5px solid #4d4b47; border-radius: 4px; }
.ready-device.phone-mini i { width: 12px; height: 21px; border-radius: 4px; }

.print-sheet {
  z-index: 6;
  width: 62%;
  height: 72%;
  left: 57%;
  top: 53%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 42% 58%;
}
.print-preview { padding: 7%; background: #d8d6d1; display: grid; place-items: center; }
.print-preview-page { width: 66%; max-height: 88%; aspect-ratio: .77; padding: 10%; background: white; box-shadow: 0 4px 15px rgba(0,0,0,.15); }
.print-preview-page.is-article { padding: 0; overflow: hidden; }
.print-preview-page.is-article .student-article { width: 100%; height: 100%; }
.print-controls { min-height: 0; display: grid; grid-template-rows: auto repeat(6,minmax(24px,1fr)) auto; padding: 7% 8%; background: #f8f8f6; }
.print-controls h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: -.03em; }
.print-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 9px; }
.print-row > * { min-width: 0; }
.print-row span:last-child { color: #66635f; }
.connection-badge { padding: 4px 7px; border-radius: 999px; background: #e7e5e0; font-size: 8px; color: #66635f; }
.print-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 10px; }
.print-actions button { height: 28px; min-width: 62px; border-radius: 7px; border: 0; font-size: 9px; cursor: pointer; }
.print-actions button:last-child { background: var(--blue); color: white; font-weight: 650; }

.progress-track { width: 100%; height: 4px; margin-top: 22px; overflow: hidden; border-radius: 3px; background: #e3e1dc; }
.progress-track i { display: block; height: 100%; width: 0; background: #2b2a28; border-radius: inherit; transition: width 4s linear; }
.progress-track.is-running i { width: 100%; }

.phone-content { height: 100%; padding: 21% 9% 8%; display: flex; flex-direction: column; }
.phone-time { margin: 0; text-align: center; font-size: 8px; font-weight: 600; }
.phone-card { margin-top: 18%; padding: 16px 13px; border: 1px solid rgba(0,0,0,.07); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 10px 25px rgba(48,41,32,.09); }
.phone-card small { font-size: 7px; color: #7c7871; }
.phone-card h3 { margin: 6px 0 7px; font-size: 14px; letter-spacing: -.04em; }
.phone-card p { margin: 0; font-size: 8px; line-height: 1.4; color: #716e68; }
.phone-printer { width: 48px; height: 30px; margin: 12px 0 4px; display: grid; place-items: center; border: 1px solid #383633; border-radius: 5px; }
.phone-printer::after { content: ""; width: 32px; height: 2px; background: #383633; border-radius: 2px; }
.phone-status { margin-top: auto; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.62); font-size: 8px; color: #5d5a55; }
.phone-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }

/* ChromaPress application */
.studio-window {
  position: absolute;
  inset: 2.5% 3% 3%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.13);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(18,18,18,.3);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.studio-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 3px;
  border-right: 1px solid #ededed;
  background: #fff;
}

.studio-brand {
  width: auto;
  height: 72px;
  color: #2d2d2b;
  font-size: 7.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .035em;
  text-align: center;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.studio-letter {
  display: inline-block;
  color: inherit;
  transition: color .16s ease;
}

.studio-color-word .studio-letter.is-color-near:nth-child(3n+1) { color: #00a9df; }
.studio-color-word .studio-letter.is-color-near:nth-child(3n+2) { color: #ec148c; }
.studio-color-word .studio-letter.is-color-near:nth-child(3n) { color: #e4bd00; }

.studio-rainbow-defs { position: absolute; }
.studio-brand { border: 0; background: transparent; padding: 0; font-family: inherit; cursor: pointer; }
.studio-rail-button:hover svg, .studio-rail-button.is-active:hover svg { stroke: url(#studioRainbow); }

.studio-destinations {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  transform: translate(-50%, -50%);
}

.studio-rail-button {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #242424;
  cursor: pointer;
}

.studio-rail-button:hover { background: #f7f7f7; }
.studio-rail-button.is-active { background: #f0f0f0; }
.studio-rail-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.studio-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 36px;
  background: #fff;
}

.studio-content.is-printer-view { grid-template-rows: minmax(0, 1fr); }

.studio-body { min-width: 0; min-height: 0; overflow: hidden; }

.studio-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid #ededed;
  background: #fff;
}

.studio-flow-spacer { grid-column: 1; }
.studio-flow-steps { grid-column: 2; display: flex; align-items: center; gap: 112px; }
.studio-flow-send { grid-column: 3; display: flex; justify-content: flex-end; padding-right: 12px; }
.studio-flow-send button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #2c2c2a; cursor: pointer; }
.studio-flow-send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.studio-flow-step {
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: #a0a0a0;
  font-size: 8.5px;
  letter-spacing: -.015em;
  cursor: pointer;
}

.studio-flow-step.is-active { color: #222; }
.studio-flow-step:disabled { cursor: default; }

.studio-import {
  position: relative;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px;
  background: #fff;
}

.studio-import-picker {
  position: absolute;
  z-index: 20;
  top: 14px;
  right: 14px;
  display: grid;
  justify-items: end;
}

.studio-import-trigger {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px 0 11px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
  color: #676767;
  font: 8px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.studio-import-trigger:hover, .studio-import-picker.is-open .studio-import-trigger { border-color: #bdbdbd; color: #252525; }
.studio-import-trigger span { display: inline-flex; }
.studio-import-trigger i { font: 15px/1 Arial, sans-serif; }

.studio-import-menu {
  width: 172px;
  margin-top: 6px;
  padding: 5px;
  display: none;
  border: 1px solid #dfdfdf;
  border-radius: 10px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 28px rgba(20,20,20,.11);
}

.studio-import-picker.is-open .studio-import-menu { display: grid; }
.studio-import-picker.is-busy { pointer-events: none; opacity: .35; }
.studio-import-menu > button {
  min-height: 43px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #2e2e2e;
  text-align: left;
  cursor: grab;
}
.studio-import-menu > button:hover { background: #f3f3f3; }
.studio-import-menu > button:active { cursor: grabbing; }
.studio-import-menu > button > span { display: grid; gap: 3px; min-width: 0; }
.studio-import-menu > button b { font-size: 8.5px; font-weight: 500; }
.studio-import-menu > button small { color: #909090; font-size: 7px; }

.studio-sample-icon {
  width: 28px;
  height: 31px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  color: #707070;
  font-style: normal;
  font-size: 10px;
}
.studio-sample-icon.is-article { align-content: center; gap: 3px; }
.studio-sample-icon.is-article b { width: 17px; height: 2px; background: #c8c8c8; }
.studio-sample-icon.is-article b:first-child { height: 5px; background: #292929; }
.studio-sample-icon.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-sample-icon.is-email { position: relative; overflow: visible; }
.studio-sample-icon.is-email em { position: absolute; right: -5px; bottom: -4px; width: 14px; height: 16px; display: grid; place-items: center; border: 1px solid #c9d7cc; border-radius: 2px; background: #e7f0e9; color: #3d7550; font-size: 5px; font-style: normal; font-weight: 700; }

.studio-drop-payload {
  position: absolute;
  z-index: 30;
  width: 78px;
  height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,20,20,.17);
  color: #5f5f5f;
  font-size: 6px;
  pointer-events: none;
  will-change: transform, opacity;
}
.studio-drop-payload.is-floating { position: fixed; z-index: 1000; }
.studio-drop-payload.is-email { width: 84px; }
.studio-drop-preview { width: 62px; aspect-ratio: 8.5 / 11; overflow: hidden; border: 1px solid #d9dad8; background: #fff; }
.studio-drop-payload.is-email .studio-drop-preview { width: 66px; }
.studio-drop-preview > .mock-page { width: 100%; height: 100%; box-shadow: none; }
.studio-drop-payload.is-photo .studio-drop-preview { width: 62px; }
.studio-drop-payload.is-photo .studio-drop-preview img { width: 100%; height: 100%; object-fit: cover; }

.drop-zone {
  width: min(92%, 560px);
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease;
}
.drop-zone:hover, .drop-zone.is-dragging { background: #fdfdfd; }
.drop-zone strong { color: #8b8b8b; font-size: 9px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }

.studio-ink-stage {
  position: relative;
  width: 190px;
  height: 150px;
  display: grid;
  place-items: center;
  overflow: visible;
  transition: transform .2s ease;
}

.drop-zone.is-dragging .studio-ink-stage, .drop-zone.is-receiving .studio-ink-stage { transform: scale(1.06); }
.drop-zone.is-receiving .studio-ink-pool { filter: saturate(1.16); }
.drop-zone.is-dropped .studio-ink-stage { transform: scale(.94); }
.studio-ink-plus { position: relative; z-index: 5; color: #fff; font-family: Arial, sans-serif; font-size: 28px; font-weight: 200; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.16); animation: studioInkPlus 2574ms ease infinite; }
.studio-ink-pool { position: absolute; z-index: 2; width: 68px; height: 58px; border-radius: 47% 53% 42% 58% / 55% 42% 58% 45%; opacity: .62; transform: scale(1.75); animation: studioInkColor 10296ms ease infinite, studioInkPool 2574ms cubic-bezier(.2,.7,.2,1) infinite; }
.studio-ink-drop { position: absolute; z-index: 3; left: 50%; top: 50%; width: var(--size); height: var(--size); border-radius: 50%; opacity: 0; transform: translate(-50%,-50%) scale(.2); animation: studioInkColor 10296ms ease infinite, studioInkDrop 2574ms cubic-bezier(.15,.75,.25,1) infinite; animation-delay: 0ms, var(--delay); }

@keyframes studioInkColor {
  0%, 20% { background-color: #00a9df; }
  25%, 45% { background-color: #ec148c; }
  50%, 70% { background-color: #f3cf22; }
  75%, 95% { background-color: #202020; }
  100% { background-color: #00a9df; }
}

@keyframes studioInkPool {
  0% { opacity: .15; transform: scale(.45) rotate(-8deg); }
  19% { opacity: .86; transform: scale(1.05) rotate(-5deg); }
  45% { opacity: .78; transform: scale(1.9) rotate(7deg); }
  79%, 100% { opacity: .62; transform: scale(1.75) rotate(11deg); }
}

@keyframes studioInkDrop {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.2); }
  20% { opacity: .9; }
  56% { opacity: .76; transform: translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1); }
  78%, 100% { opacity: 0; transform: translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(.72); }
}

@keyframes studioInkPlus { 0%, 79%, 100% { transform: scale(1); } 38% { transform: scale(.96); } }

.studio-workarea, .preview-workarea { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr); min-height: 0; }
.studio-workarea { grid-template-columns: minmax(0, 1fr) 220px; }
.canvas-area { min-width: 0; display: grid; grid-template-rows: 30px minmax(0, 1fr) 24px; background: #f1f0ed; }
.canvas-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #706c65; font-size: 7px; }
.canvas-toolbar button, .preview-toolbar button:first-child { border: 0; background: transparent; color: #66625c; font-size: 7px; cursor: pointer; }
.page-stage, .preview-stage { min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 10px; }
.canvas-caption { display: flex; justify-content: center; gap: 8px; color: #827e77; font-size: 6px; }
.canvas-caption b { color: #4b4843; }

.document-workarea { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 188px; background: #fff; }
.document-canvas { min-width: 0; min-height: 0; display: grid; grid-template-rows: 30px minmax(0,1fr) 25px; background: #fff; }
.document-toolbar { display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; color: #767878; font-size: 7px; }
.document-toolbar button { border: 0; background: transparent; color: #555859; font-size: 7px; cursor: pointer; }
.document-editor { min-width: 0; min-height: 0; display: grid; grid-template-columns: 54px minmax(0,1fr); }
.document-thumb-rail { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; overflow-y: auto; padding: 5px 6px; border-right: 1px solid #ededeb; scrollbar-width: none; }
.document-thumb-rail::-webkit-scrollbar { display: none; }
.document-configure-thumb { position: relative; flex: 0 0 auto; width: 36px; height: 47px; overflow: hidden; padding: 0; border: 1px solid #dedfdd; border-radius: 2px; background: #fff; cursor: pointer; }
.document-configure-thumb.is-active { border-color: #3f7770; box-shadow: 0 0 0 1px #3f7770; }
.document-configure-thumb > span { width: 100%; height: 100%; display: block; overflow: hidden; pointer-events: none; }
.document-configure-thumb .mock-page { width: 240px; height: 313px; transform: scale(.15); transform-origin: top left; pointer-events: none; }
.document-configure-thumb > b { position: absolute; right: 2px; bottom: 1px; min-width: 8px; padding: 1px; border-radius: 3px; background: rgba(255,255,255,.88); color: #676969; font-size: 4px; font-weight: 500; }
.document-page-stage { min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 5px 14px; background: #fff; }
.document-page-stage .output-sheet { max-height: 510px; box-shadow: 0 3px 11px rgba(0,0,0,.11); }
.document-caption { display: flex; align-items: center; justify-content: center; gap: 7px; color: #858787; font-size: 6px; }
.document-caption b { color: #4d4f50; }
.document-inspector { min-width: 0; min-height: 0; display: grid; grid-template-rows: 30px 26px minmax(0,1fr); overflow: hidden; border-left: 1px solid #dedfdf; background: #fff; }
.document-inspector-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid #dedfdf; color: #242526; font-size: 9px; font-weight: 500; }
.document-inspector-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid #e4e4e4; }
.document-inspector-tabs.is-2-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
.document-inspector-tabs button { position: relative; min-width: 0; padding: 0 2px; overflow: hidden; border: 0; background: #fff; color: #7a7c7d; font-size: 6.8px; text-overflow: ellipsis; cursor: pointer; }
.document-inspector-tabs button.is-active { color: #242424; }
.document-inspector-tabs button.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #242424; }
.document-inspector-body { min-width: 0; min-height: 0; overflow: auto; padding: 4px 8px 7px; scrollbar-width: thin; }
.document-settings-panel { display: none; }
.document-settings-panel.is-active { display: block; }
.document-settings-panel .setting-row { min-height: 29px; font-size: 7.4px; }
.document-settings-panel .setting-row.is-clean,
.document-settings-panel .setting-block.is-clean { border-bottom: 0; }
.document-settings-panel .setting-block > label { margin-bottom: 6px; font-size: 8px; }
.document-control-group { display: grid; }
.document-divider { width: 100%; height: 1px; margin: 8px 0; border: 0; background: #e5e5e2; }
.document-help { margin: 7px 0 0; color: #858788; font-size: 6.7px; line-height: 1.45; }
.email-format-section { display: grid; padding: 2px 0; background: #fff; }
.email-format-section > small { margin-bottom: 4px; color: #737677; font-size: 5px; font-weight: 650; letter-spacing: .11em; }
.email-format-section .attachment-card { margin: 3px 0; border: 0; background: #fff; }
.email-format-section .setting-row { min-height: 20px; }
.email-format-section .document-help { margin-top: 4px; }
.email-format-section .setting-segment { width: 100%; }
.email-format-section .setting-segment button { min-width: 0; min-height: 19px; padding: 0 3px; font-size: 5.4px; white-space: nowrap; }
.email-format-section .setting-block > label { margin-bottom: 3px; font-size: 6.2px; }
.email-format-section .attachment-card { grid-template-columns: 21px 1fr; gap: 5px; padding: 5px 6px; }
.email-format-section .attachment-card.is-interactive { grid-template-columns: 21px minmax(0,1fr) auto; }
.email-format-section .attachment-card > i { width: 20px; height: 22px; font-size: 6px; }
.email-format-section .attachment-card b { font-size: 6.6px; }
.email-format-section .attachment-card small { font-size: 4.8px; }
.email-format-section .mini-switch { width: 25px; height: 15px; }
.email-format-section .mini-switch i { width: 11px; height: 11px; }
.email-format-section .mini-switch.is-on i { transform: translateX(10px); }
.email-summary-editor { display: grid; gap: 2px; margin: 2px 0 3px; color: #66696a; font-size: 6px; }
.email-summary-editor textarea { width: 100%; min-height: 38px; resize: vertical; padding: 4px 6px; border: 1px solid #dfe2df; border-radius: 5px; background: #fff; color: #3e4140; font: 5.8px/1.3 -apple-system, BlinkMacSystemFont, sans-serif; outline: none; }
.email-summary-editor textarea:focus { border-color: #7ea8a2; box-shadow: 0 0 0 2px rgba(126,168,162,.12); }
.email-text-size { display: grid; grid-template-columns: auto 86px; align-items: center; gap: 7px; min-height: 24px; }
.email-text-size > label { margin: 0 !important; }
.email-text-size .setting-segment { height: 20px; }
.email-undo-button { justify-self: end; margin: -1px 0 2px; padding: 2px 0; border: 0; background: transparent; color: #47766e; font-size: 5.2px; cursor: pointer; }
.email-revision-block { display: grid; gap: 4px; margin-top: 4px; padding-top: 5px; border-top: 1px solid #e5e5e2; }
.email-revision-block > label { color: #66696a; font-size: 7px; }
.attachment-drop-target { transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.attachment-drop-target.is-receiving { border-color: #4f8179; background: #f1f7f5; transform: scale(1.02); }
.attachment-add-button { min-height: 22px; padding: 0 7px; border: 1px solid #cfd8d5; border-radius: 5px; background: #fff; color: #3e6963; font-size: 5.5px; white-space: nowrap; cursor: pointer; }
.attachment-text-button { padding: 3px; border: 0; background: transparent; color: #888b8a; font-size: 5.5px; cursor: pointer; }
.email-sheet-selector { display: grid; margin-top: 3px; padding-top: 4px; border-top: 1px solid #e5e5e2; }
.email-sheet-selector > label { margin-bottom: 2px; color: #66696a; font-size: 6.5px; }
.email-sheet-selector .setting-row { min-height: 18px; }
.email-sheet-selector .email-summary-toggle { margin-top: 4px; border-top: 1px solid #e5e5e2; }
.email-sheet-selector .mini-switch:disabled { opacity: .35; cursor: default; }
.email-table-item,.email-table-empty { min-height: 25px; display: flex; align-items: center; justify-content: space-between; gap: 6px; border-bottom: 1px solid #eceeec; color: #4f5351; font-size: 6px; }
.email-table-item span { min-width: 0; display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email-table-item span i { color: #217346; font-size: 8px; font-style: normal; }
.email-table-item button { width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #9b6a64; font-size: 10px; cursor: pointer; }
.email-table-empty { color: #898c8a; }
.email-table-empty button { padding: 2px 0; border: 0; background: transparent; color: #47766e; font-size: 5.5px; cursor: pointer; }
.attachment-warning { margin: 3px 0 1px; color: #a06a4d; font-size: 5.4px; line-height: 1.3; }
.email-attachment-drag { position: fixed; z-index: 100; width: 124px; height: 40px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid #cfd8d5; border-radius: 7px; background: rgba(255,255,255,.98); color: #444; box-shadow: 0 10px 24px rgba(0,0,0,.18); pointer-events: none; }
.email-attachment-drag > i { width: 25px; height: 28px; display: grid; place-items: center; border-radius: 3px; background: #217346; color: #fff; font-size: 8px; font-style: normal; font-weight: 700; }
.email-attachment-drag > span { display: grid; gap: 2px; }
.email-attachment-drag b { font-size: 7px; font-weight: 550; }
.email-attachment-drag small { color: #7e8280; font-size: 5px; }
.format-thread-button { width: 100%; min-height: 35px; display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 5px; margin-top: 2px; padding: 4px 6px; border: 0; border-radius: 6px; background: #eef3f2; color: #2f4d47; text-align: left; cursor: pointer; }
.format-thread-button > i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #4c766e; font-size: 7px; font-style: normal; }
.document-settings-panel .photo-section-divider { margin: 5px 0; }
.format-thread-button > span { min-width: 0; display: grid; gap: 1px; }
.format-thread-button b { font-size: 7px; font-weight: 600; }
.format-thread-button small { color: #72837f; font-size: 4.8px; }
.format-thread-button em { font-size: 12px; font-style: normal; font-weight: 300; }
.compact-setting { padding: 4px 0 !important; }
.document-stat { margin-top: 14px; display: flex; align-items: baseline; gap: 5px; color: #808283; }
.document-stat b { color: #242526; font-size: 18px; font-weight: 500; }
.document-stat span { font-size: 7px; }
.attachment-card { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 7px; padding: 8px; border: 1px solid #e1e3e1; border-radius: 7px; background: #fafbfa; }
.attachment-card > i { width: 25px; height: 29px; display: grid; place-items: center; border-radius: 3px; background: #e7f0e9; color: #3d7550; font-size: 8px; font-style: normal; font-weight: 700; }
.attachment-card span { min-width: 0; display: grid; gap: 2px; }
.attachment-card b { overflow: hidden; font-size: 7.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.attachment-card small { color: #8a8c8b; font-size: 5.7px; }

.output-sheet {
  height: 100%;
  max-height: 292px;
  aspect-ratio: 8.5 / 11;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  transition: aspect-ratio .35s var(--ease), padding .35s var(--ease), filter .3s ease;
}
.output-sheet.is-landscape { aspect-ratio: 11 / 8.5; }
.output-sheet.is-a4 { aspect-ratio: 210 / 297; }
.output-sheet.is-a4.is-landscape { aspect-ratio: 297 / 210; }
.output-sheet.is-photo-portrait { aspect-ratio: 3 / 4; }
.output-sheet.is-monochrome { filter: grayscale(1); }
.output-sheet.has-margins { padding: 5%; }
.output-sheet.is-fill-page .mock-page { transform: scale(1.06); }
.output-sheet.is-draft .mock-page { opacity: .72; }
.output-sheet.hide-backgrounds .capture-ad,
.output-sheet.hide-backgrounds .capture-brand,
.output-sheet.hide-backgrounds .mail-banner { background: #fff; color: #55514b; border: 1px solid #dedbd5; }
.n-up-grid { width: 100%; height: 100%; display: grid; gap: 4%; padding: 4%; background: #fff; }
.n-up-grid.n-up-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.n-up-grid.n-up-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.n-up-grid .mock-page { min-width: 0; min-height: 0; box-shadow: 0 0 0 1px #dedbd5; }

.mock-page { position: relative; width: 100%; height: 100%; overflow: hidden; background: white; color: #242321; font-family: Georgia, 'Times New Roman', serif; transform-origin: center; transition: transform .3s ease, filter .3s ease; }
.article-capture { padding: 4.5% 11% 7%; }
.capture-brand { margin: -1% -14% 3%; padding: 2.5% 5%; border-bottom: 1px solid #d9d6d0; color: #fff; background: #20506c; font-size: 9px; font-weight: 700; text-align: center; }
.capture-brand span { float: right; font: 500 5px/1 -apple-system, sans-serif; opacity: .78; }
.capture-ad { margin: 0 -2% 4%; display: grid; place-items: center; color: #746f67; font: 500 4px/1.4 -apple-system, sans-serif; letter-spacing: .08em; text-align: center; }
.capture-ad b { display: block; font-size: 8px; letter-spacing: 0; }
.color-ad { height: 16%; background: linear-gradient(110deg,#e1b76f,#7c3427 58%,#2e4f5d); color: #fff; }
.color-ad.small { height: 12%; }
.blank-ad { height: 18%; background: #f1f0ed; }
.capture-content { width: 76%; margin: 0 auto; position: relative; }
.capture-content > small { font: 700 4px/1 -apple-system, sans-serif; letter-spacing: .08em; }
.capture-content h2 { margin: 3% 0 2%; font-size: 15px; line-height: .98; letter-spacing: -.035em; }
.capture-content h3 { margin: 5% 0 2%; font-size: 9px; }
.capture-dek { color: #68645e; font-size: 6px !important; }
.capture-content p, .capture-content li { font-size: 5.3px; line-height: 1.46; }
.capture-byline { margin: 3% 0; padding-bottom: 2%; border-bottom: 1px solid #dedbd5; font: 600 4px/1 -apple-system, sans-serif; }
.rug-hero { height: 22%; margin: 3% 0; background: repeating-linear-gradient(45deg,#af5e3c 0 4px,#183b4b 4px 8px,#d2a76e 8px 12px); box-shadow: inset 0 0 0 8px #e6decf; }
.continuation { padding-top: 4%; }
.continuation .capture-content { margin-top: 3%; }
.side-promos { position: absolute; width: 28%; right: -34%; bottom: 6%; padding: 5%; border-top: 1px solid #ddd8d0; color: #6c6862; font: 5px/1.6 -apple-system, sans-serif; }
.poll-box, .comments-box { margin-top: 6%; padding: 5%; border: 1px solid #dedbd5; font: 6px/1.3 -apple-system, sans-serif; }
.poll-box span { width: 100%; margin-top: 3px; display: block; padding: 1px 2px; background: #efeeeb; font-size: 5px; text-align: left; }
.comments-box { color: #716d66; }
.footer-page { padding: 8% 10%; }
.footer-links { padding-bottom: 4%; border-bottom: 1px solid #ddd9d2; font: 5px/1.7 -apple-system, sans-serif; }
.loading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8%; }
.loading-grid i { height: 35px; background: #ecebe8; }
.clean-ending { height: 100%; display: grid; place-items: center; align-content: center; gap: 5px; color: #6e6a63; font: 7px/1.3 -apple-system, sans-serif; }
.ai-summary { display: grid; gap: 3px; margin: 3% 0; padding: 4%; border-radius: 5px; background: #edf3f7; color: #38576a; font: 5px/1.35 -apple-system, sans-serif; }

.student-article { padding: 5% 6%; font-family: Georgia, 'Times New Roman', serif; }
.student-source { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2.5%; border-bottom: 1px solid #313131; font: 700 5px/1 -apple-system, sans-serif; letter-spacing: .1em; }
.student-source span { color: #6f7475; font-weight: 500; }
.student-web-bar { display: grid; grid-template-columns: 1.35fr 1fr auto; align-items: center; gap: 5px; margin: -5% -6% 3%; padding: 2.5% 5%; border-bottom: 1px solid #ddd; color: #fff; background: #254d62; font: 600 4px/1 -apple-system, sans-serif; }
.student-web-bar b { font: 700 4.5px/1 Georgia, serif; letter-spacing: -.02em; }
.student-web-bar nav { opacity: .82; }
.student-web-bar span { justify-self: end; }
.student-article-body { position: relative; height: calc(100% - 7%); padding-top: 4%; }
.student-article.has-note-margin .student-article-body { width: 71%; }
.student-article.has-wide-margin .student-article-body { width: 64%; }
.student-article-body > small { font: 700 4px/1 -apple-system, sans-serif; letter-spacing: .09em; }
.student-article h2 { margin: 3% 0 2%; font-size: 15px; line-height: 1.03; letter-spacing: -.035em; }
.student-article h3 { margin: 4% 0 2%; font-size: 9px; line-height: 1.15; }
.student-article p,.student-article li { font-size: 5.35px; line-height: 1.5; }
.student-article ul,.student-article ol { padding-left: 10%; }
.student-dek { margin: 0 0 3%; color: #666b6c; font-size: 6.3px !important; line-height: 1.35 !important; }
.student-byline { margin: 3% 0; padding-bottom: 2.5%; border-bottom: 1px solid #dedfdd; font: 500 4px/1 -apple-system, sans-serif; }
.heat-island-graphic { position: relative; height: 18%; margin: 3% 0 5%; overflow: visible; background: linear-gradient(to bottom,#dbe7eb 0 48%,#d9d3c8 48%); }
.heat-island-graphic::before { content: ''; position: absolute; left: 0; bottom: 0; width: 38%; height: 52%; background: repeating-linear-gradient(90deg,#6a8c67 0 8px,#80a274 8px 12px); }
.heat-island-graphic::after { content: ''; position: absolute; right: 0; bottom: 0; width: 54%; height: 67%; background: repeating-linear-gradient(90deg,#b0a79b 0 12px,#817d78 12px 17px); }
.heat-island-graphic i { position: absolute; z-index: 2; left: 9%; top: 17%; width: 18%; height: 42%; border-radius: 50% 50% 42% 42%; background: #507d54; }
.heat-island-graphic span,.heat-island-graphic b,.heat-island-graphic em { position: absolute; z-index: 3; bottom: 5%; font: 500 4px/1 -apple-system, sans-serif; }
.heat-island-graphic span { left: 8%; color: #fff; }
.heat-island-graphic b { right: 15%; color: #fff; }
.heat-island-graphic em { right: 4%; top: 8%; bottom: auto; padding: 3px; border-radius: 50%; background: #d46143; color: #fff; font-style: normal; }
.heat-island-graphic figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 2px); color: #777; font: 3.5px/1.2 -apple-system, sans-serif; }
.student-summary { margin: 3% 0; padding: 3.5%; border-left: 2px solid #dcae36; background: #fbf5df; }
.student-summary b { font: 700 4px/1 -apple-system, sans-serif; letter-spacing: .08em; }
.student-summary p { margin: 2% 0 0; font-size: 5px; }
.student-article blockquote { margin: 5% 2%; padding: 4%; border-left: 2px solid #72919b; color: #4f6269; font-size: 6px; line-height: 1.45; }
.evidence-box { margin: 4% 0; padding: 4%; border: 1px solid #cbd3d4; background: #f5f8f8; }
.evidence-box b { font-size: 6px; }
.evidence-box ul { margin-bottom: 0; }
.student-article footer { display: flex; align-items: center; justify-content: space-between; margin-top: 5%; padding-top: 2%; border-top: 1px solid #ddd; color: #777; font: 4px/1 -apple-system, sans-serif; }
.student-article footer b { font-weight: 500; }
.student-inline-ad { position: relative; min-height: 48px; margin: 5% 0 4%; display: grid; align-content: center; padding: 6% 7% 5% 40%; overflow: hidden; background: linear-gradient(115deg,#e8bf52 0 34%,#173f53 34% 100%); color: #fff; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.student-inline-ad::before { content: ''; position: absolute; left: 8%; top: 21%; width: 22%; aspect-ratio: 1; border: 1.5px solid rgba(255,255,255,.92); border-radius: 50%; box-shadow: 9px 3px 0 -4px #e16355, -5px 7px 0 -4px #55a7aa; }
.student-inline-ad.ad-3 { background: linear-gradient(115deg,#cce3de 0 34%,#31544f 34% 100%); }
.student-inline-ad.ad-6 { background: linear-gradient(115deg,#d77d5f 0 34%,#392f4d 34% 100%); }
.student-inline-ad.ad-8 { background: linear-gradient(115deg,#88b7cc 0 34%,#243c58 34% 100%); }
.student-inline-ad small { position: absolute; right: 4px; top: 4px; color: rgba(255,255,255,.72); font: 3px/1 -apple-system, sans-serif; letter-spacing: .08em; }
.student-inline-ad b { font-size: 7px; line-height: 1.05; }
.student-inline-ad span { margin-top: 2px; color: rgba(255,255,255,.78); font-size: 3.5px; line-height: 1.2; }
.study-note-margin { position: absolute; top: 14%; right: 5%; bottom: 7%; width: 17%; display: flex; flex-direction: column; justify-content: space-between; padding-left: 5%; border-left: 1px solid #dedfdd; color: #85898a; }
.has-wide-margin .study-note-margin { width: 24%; }
.study-note-margin b { font: 600 4px/1 -apple-system, sans-serif; letter-spacing: .12em; }
.study-note-margin small { justify-self: end; padding-top: 3px; font: 4px/1 -apple-system, sans-serif; }
.article-edit-block { position: relative; }
.student-article.is-editing .article-edit-block { border-radius: 2px; outline: 1px dashed rgba(54,104,96,.28); outline-offset: 1px; }
.student-article.is-editing .article-edit-block:hover { background: rgba(71,118,110,.05); outline-color: rgba(54,104,96,.62); }
.article-block-remove { position: absolute; z-index: 6; width: 11px; height: 11px; right: -5px; top: -5px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #383b39; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); font: 8px/1 -apple-system, sans-serif; cursor: pointer; }
.article-edit-block.is-figure .article-block-remove { top: 0; }

.raw-email-page { padding: 6.5% 7% 7%; font-family: Arial, Helvetica, sans-serif; }
.raw-email-header { display: grid; grid-template-columns: minmax(0,1fr) 23px; gap: 8px; padding-bottom: 3%; border-bottom: 1px solid #979797; }
.raw-email-header dl { margin: 0; display: grid; gap: 1px; }
.raw-email-header dl div { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 4px; }
.raw-email-header dt { font-size: 4px; font-weight: 700; text-align: right; }
.raw-email-header dd { margin: 0; overflow: hidden; font-size: 4px; text-overflow: ellipsis; white-space: nowrap; }
.raw-email-header > i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #b9b9b9; color: #fff; font-size: 6px; font-style: normal; font-weight: 650; }
.raw-email-body { padding: 4% 3% 5%; }
.raw-email-body p { margin: 0 0 3%; font-size: 5.4px; line-height: 1.35; }
.raw-email-quote { margin: 2% 3%; padding: 3% 0 0 3%; border-top: 1px solid #4a4a4a; border-left: 1.5px solid currentColor; color: #4f56f0; }
.raw-email-quote.is-cyan { margin: 4% 0 0 3%; color: #00a5bd; }
.raw-quote-meta { display: grid; gap: 0; }
.raw-quote-meta p { margin: 0; font-size: 4.5px; line-height: 1.16; }
.raw-quote-body { padding: 3% 0 1%; }
.raw-quote-body p { margin: 0 0 3%; font-size: 5px; line-height: 1.32; }
.raw-email-quote .email-attachment { color: #252525; }
.raw-email-page > footer { position: absolute; right: 7%; bottom: 3%; color: #969696; font-size: 3.6px; }

.email-page { padding: 5% 7% 8%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.formatted-email-header { position: relative; padding-bottom: 4%; border-bottom: 1px solid #dfe1e0; }
.formatted-email-header small { color: #6e7472; font-size: 3.6px; font-weight: 700; letter-spacing: .1em; }
.formatted-email-header h2 { margin: 1.5% 0 1%; font-size: 11px; line-height: 1.05; letter-spacing: -.035em; }
.formatted-email-header p { margin: 0; color: #858989; font-size: 4px; }
.formatted-email-header em { position: absolute; top: 0; right: 0; color: #8b8e8f; font-size: 3.8px; font-style: normal; }
.email-thread-header { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 6px; padding-bottom: 3%; border-bottom: 1px solid #dfe1e0; }
.email-app-mark { display: grid; justify-items: center; gap: 1px; color: #737778; font-size: 3.7px; }
.email-app-mark i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; background: #e8eef5; color: #4d6f91; font-size: 7px; font-style: normal; font-weight: 700; }
.email-subject { min-width: 0; display: grid; gap: 1px; }
.email-subject small { color: #7d8182; font-size: 3.5px; font-weight: 650; letter-spacing: .09em; }
.email-subject b { overflow: hidden; font-size: 7.2px; font-weight: 650; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.email-subject span,.email-thread-header em { color: #8b8e8f; font-size: 3.8px; font-style: normal; }
.email-thread-header em { align-self: start; padding-top: 1px; }
.email-thread-summary { margin: 2.5% 0; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 5px; padding: 2.5% 0; border-top: 1px solid #dddeda; border-bottom: 1px solid #dddeda; }
.email-thread-summary b { color: #75601c; font-size: 3.6px; letter-spacing: .09em; }
.email-thread-summary p { margin: 0; color: #555957; font-size: 4.25px; line-height: 1.38; }
.email-message-list { display: grid; }
.email-page.is-formatted { padding: 5% 7% 7%; color: #292b2a; }
.email-page.is-formatted .formatted-email-header { padding-bottom: 2.8%; }
.email-page.is-formatted .formatted-email-header h2 { margin: 1.1% 0 .8%; font-size: 10px; }
.email-page.is-formatted .email-message-card { padding: 2.35% 0; border-bottom: .7px solid #dfe1df; }
.email-page.is-formatted.is-relaxed .email-message-card { padding: 3.6% 0; }
.email-page.is-formatted .email-message-card > header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.email-page.is-formatted .email-message-card > header b { font-size: 4.8px; font-weight: 650; }
.email-page.is-formatted .email-message-card > header time { padding: 0; color: #858987; font-size: 3.55px; }
.email-page.is-formatted .email-message-body { margin: 1.1% 0 0; }
.email-page.is-formatted .email-message-body p { margin: 0; font-size: 4.45px; line-height: 1.34; }
.email-page.is-formatted.text-small .email-message-body p { font-size: 3.85px; line-height: 1.31; }
.email-page.is-formatted.text-large .email-message-body p { font-size: 5.1px; line-height: 1.39; }
.email-page.is-formatted.text-small .email-message-card > header b { font-size: 4.25px; }
.email-page.is-formatted.text-large .email-message-card > header b { font-size: 5.3px; }
.email-page.is-formatted .email-message-card .email-attachment { margin: 2% 0 0; padding: 2%; background: #fff; }
.email-inline-attachment { width: max-content; max-width: 100%; margin-top: 1.5%; display: inline-flex; align-items: center; gap: 2px; color: #567564; font-size: 3.85px; line-height: 1; text-decoration: underline; text-decoration-color: #bdc9c1; text-underline-offset: 1px; }
.email-inline-attachment i { color: #64826f; font-size: 5px; font-style: normal; text-decoration: none; }
.email-message-card { padding: 3.2% 0; border-bottom: 1px solid #e4e5e3; }
.email-page.is-removing .email-message-card { position: relative; padding-right: 15px; }
.email-message-remove { position: absolute; z-index: 2; right: 0; top: 4px; width: 12px; height: 12px; display: grid; place-items: center; padding: 0; border: 1px solid #d5a7a3; border-radius: 50%; background: #fff; color: #a95f58; font-size: 7px; line-height: 1; cursor: pointer; }
.document-configure-thumb .email-message-remove,.page-thumb .email-message-remove { display: none; }
.email-message-card > header { display: grid; grid-template-columns: 17px minmax(0,1fr) auto; align-items: center; gap: 5px; }
.email-message-card > header > i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #eef0ef; color: #5e6462; font-size: 4.2px; font-style: normal; font-weight: 650; }
.email-message-card > header > div { min-width: 0; display: grid; gap: 1px; }
.email-message-card > header b { font-size: 5.2px; font-weight: 650; }
.email-message-card > header small,.email-message-card > header time,.email-recipient-line { color: #888c8d; font-size: 3.7px; }
.email-message-card > header time { align-self: start; padding-top: 2px; }
.email-recipient-line { margin: 1.5% 0 0 22px; }
.email-message-body { margin: 2% 0 0 22px; }
.email-message-body p { margin: 0 0 2%; font-size: 4.7px; line-height: 1.38; }
.email-message-card blockquote { margin: 2.2% 0 0 22px; padding: 2.3% 3%; border-left: 1px solid #c9cdca; background: #fafafa; color: #737778; }
.email-message-card blockquote b,.email-message-card blockquote small { display: block; font-size: 3.7px; line-height: 1.3; }
.email-message-card blockquote small { color: #929596; }
.email-message-card blockquote p { margin: 1.5% 0 0; font-size: 4px; line-height: 1.35; }
.email-message-card .email-attachment { margin: 2.5% 0 0 22px; }
.email-page.is-condensed .email-message-card { padding: 4.5% 0; }
.email-page.is-condensed .email-message-body p { font-size: 5.3px; line-height: 1.48; }
.email-page-footer { position: absolute; left: 7%; right: 7%; bottom: 3.5%; padding-top: 2%; border-top: 1px solid #ececea; color: #999c9c; font-size: 3.5px; }
.email-attachment { margin: 5% 0 1%; display: grid; grid-template-columns: 25px 1fr; align-items: center; gap: 6px; padding: 3%; border: 1px solid #dedfdd; border-radius: 4px; background: #fafafa; }
.email-attachment > i { width: 23px; height: 27px; display: grid; place-items: center; border-radius: 3px; background: #edf0ed; color: #657269; font-size: 6px; font-style: normal; font-weight: 700; }
.email-attachment.is-included > i { background: #dfeee2; color: #39704a; }
.email-attachment span { display: grid; gap: 2px; }
.email-attachment b { font-size: 5.5px; }
.email-attachment small { color: #858788; font-size: 4.2px; }
.revision-value { display: inline-flex; align-items: baseline; gap: 3px; }
.revision-value del { color: #a56e6e; }
.revision-value ins { color: #377151; font-weight: 700; text-decoration: none; }
.email-decision { margin-top: 4%; padding: 3%; border-left: 2px solid #4f8070; background: #f0f6f3; }
.email-decision b,.email-decision span { display: block; }
.email-decision b { color: #4f8070; font-size: 3.7px; letter-spacing: .1em; }
.email-decision span { margin-top: 2px; font-size: 4.4px; line-height: 1.35; }
.budget-sheet { padding: 7% 7% 8%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.budget-sheet .print-workbook-header { display: flex; align-items: end; justify-content: space-between; padding: 0 0 4%; border-bottom: 1.2px solid #2f3c35; }
.budget-sheet .print-workbook-header div { display: grid; gap: 2px; }
.budget-sheet .print-workbook-header b { color: #202623; font-size: 8px; font-weight: 650; letter-spacing: -.02em; }
.budget-sheet .print-workbook-header span,.budget-sheet .print-workbook-header em { color: #737b77; font-size: 3.8px; font-style: normal; }
.budget-sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.budget-sheet th,.budget-sheet td { padding: 3% 2%; border: 0; border-bottom: 1px solid #e0e4e1; font-size: 4.5px; line-height: 1.25; text-align: left; vertical-align: middle; }
.budget-sheet thead th { padding-top: 4%; padding-bottom: 2.2%; background: #fff; color: #6d7571; font-size: 3.7px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.budget-sheet .sheet-total td { padding-top: 3.5%; border-top: 1.2px solid #59635e; border-bottom: 0; background: #fff; font-weight: 650; }
.excel-sheet-note { margin: 5% 0; display: grid; gap: 2px; padding: 3%; border: 1px solid #d8dad8; font-size: 4.2px; }
.excel-sheet-note span { color: #777c79; }
.budget-sheet footer { position: absolute; left: 7%; right: 7%; bottom: 3.5%; color: #8a918d; font-size: 3.6px; }
.budget-sheet.is-budget-detail th,.budget-sheet.is-budget-detail td,
.budget-sheet.is-assumptions th,.budget-sheet.is-assumptions td { padding: 2.8% 1.7%; font-size: 4.15px; }
.budget-sheet.is-budget-detail { padding: 6.5% 7% 8%; }
.budget-sheet.is-budget-detail th,.budget-sheet.is-budget-detail td { padding: 2.15% 1%; font-size: 3.75px; line-height: 1.22; }
.budget-sheet.is-budget-detail thead th { padding-top: 3%; font-size: 3.1px; }
.budget-sheet.is-budget-detail th:nth-child(1),.budget-sheet.is-budget-detail td:nth-child(1) { width: 20%; }
.budget-sheet.is-budget-detail th:nth-child(2),.budget-sheet.is-budget-detail td:nth-child(2) { width: 31%; }
.budget-sheet.is-budget-detail th:nth-child(3),.budget-sheet.is-budget-detail td:nth-child(3) { width: 13%; }
.budget-sheet.is-budget-detail th:nth-child(4),.budget-sheet.is-budget-detail td:nth-child(4),.budget-sheet.is-budget-detail th:nth-child(5),.budget-sheet.is-budget-detail td:nth-child(5) { text-align: right; white-space: nowrap; }
.budget-sheet.is-budget-detail .sheet-total td { font-weight: 650; }
.excel-chart { height: 28%; margin: 3.5% 1.5% 0; display: grid; grid-template-rows: auto minmax(0,1fr); gap: 5px; padding: 3% 4% 2%; border: 1px solid #d7d9d7; background: #fff; }
.excel-chart > header { display: flex; align-items: center; justify-content: space-between; padding: 0; }
.excel-chart > header b { font-size: 4.5px; font-weight: 600; }
.excel-chart > header span { color: #7c817e; font-size: 3.2px; }
.excel-chart-bars { min-height: 0; display: grid; grid-template-columns: repeat(4,1fr); align-items: end; gap: 8%; border-bottom: 1px solid #999d9a; }
.excel-chart-bars div { height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto auto; justify-items: center; align-items: end; gap: 1px; }
.excel-chart-bars i { width: 52%; height: var(--value); align-self: end; background: #5b8f79; border-radius: 1px 1px 0 0; }
.excel-chart-bars span { font-size: 2.8px; line-height: 1; }
.excel-chart-bars b { color: #5f6461; font-size: 2.8px; font-weight: 500; line-height: 1; }
.budget-sheet.is-assumptions th:nth-child(2),.budget-sheet.is-assumptions td:nth-child(2) { width: 27%; }
.budget-sheet.is-assumptions th:nth-child(3),.budget-sheet.is-assumptions td:nth-child(3) { width: 43%; }
.assumption-notes { margin-top: 4%; display: grid; gap: 2px; padding: 3%; border: 1px solid #d8dad8; background: #f8faf8; font-size: 4.1px; line-height: 1.35; }
.assumption-notes span { color: #707572; }
.photo-page { display: grid; place-items: center; padding: 0; background: #fff; font-family: -apple-system, sans-serif; }
.photo-page img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-x,50%) var(--photo-y,50%); transform: scale(var(--photo-zoom,1)); filter: saturate(var(--photo-sat,1)) contrast(var(--photo-contrast,1)) sepia(var(--photo-sepia,0)) brightness(var(--photo-brightness,1)) grayscale(var(--photo-gray,0)); transition: filter .35s ease, object-fit .35s ease, transform .18s ease, object-position .18s ease; }
.photo-page.is-fit img { object-fit: contain; }
.photo-page.has-border { padding: 7%; }
.photo-page.is-draggable { cursor: grab; touch-action: none; }
.photo-page.is-draggable.is-dragging { cursor: grabbing; }
.photo-page.is-draggable img { pointer-events: none; user-select: none; -webkit-user-drag: none; }
.photo-crop-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right,transparent 24.82%,rgba(255,255,255,.66) 24.92% 25.08%,transparent 25.18% 49.82%,rgba(255,255,255,.66) 49.92% 50.08%,transparent 50.18% 74.82%,rgba(255,255,255,.66) 74.92% 75.08%,transparent 75.18%),linear-gradient(to bottom,transparent 33.14%,rgba(255,255,255,.66) 33.24% 33.42%,transparent 33.52% 66.48%,rgba(255,255,255,.66) 66.58% 66.76%,transparent 66.86%); }
.photo-size-label { position: absolute; right: 6px; bottom: 5px; padding: 2px 4px; border-radius: 4px; background: rgba(255,255,255,.75); color: #5f5b54; font-size: 5px; }

.photo-workarea { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 168px; background: #fff; }
.photo-canvas { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 28px 18px 10px; background: #fff; perspective: 1100px; }
.photo-replace { position: absolute; z-index: 3; right: 12px; top: 9px; padding: 4px 6px; border: 0; background: #fff; color: #555859; font-size: 8px; cursor: pointer; }
.photo-configure-stage { width: 100%; height: 100%; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto 34px; justify-items: center; align-items: center; gap: 7px; }
.photo-configure-card-wrap { position: relative; height: 100%; max-height: 374px; aspect-ratio: 3 / 4; align-self: center; }
.photo-configure-card { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(.18,.72,.18,1); }
.photo-configure-card.is-back { transform: rotateY(180deg); }
.photo-configure-face { position: absolute; inset: 0; overflow: hidden; border: 1px solid #deded9; background: #fff; backface-visibility: hidden; }
.photo-configure-face.is-front { pointer-events: auto; }
.photo-configure-face.is-back { transform: rotateY(180deg); pointer-events: none; }
.photo-configure-card.is-back .photo-configure-face.is-front { pointer-events: none; }
.photo-configure-card.is-back .photo-configure-face.is-back { pointer-events: auto; }
.photo-configure-face .output-sheet { width: 100%; height: 100%; max-height: none; box-shadow: none; }
.photo-summary { color: #747677; font-size: 7.5px; line-height: 1; text-align: center; }
.photo-copy-stack { position: relative; width: 46px; height: 34px; display: block; }
.photo-copy-thumb { position: absolute; left: 50%; top: 50%; z-index: var(--copy-layer); width: 28px; height: 35px; overflow: hidden; border: 1px solid #cfd1cf; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); transform: translate(calc(-50% + var(--copy-depth) * 3px), calc(-50% - var(--copy-depth) * 2px)); }
.photo-copy-thumb:last-of-type { border: 1.5px solid #397d75; }
.photo-copy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-copy-stack > b { position: absolute; z-index: 8; right: -3px; bottom: -4px; min-width: 16px; padding: 2px 4px; border-radius: 999px; background: #292a29; color: #fff; font-size: 6px; font-weight: 600; text-align: center; }

.photo-inspector { min-height: 0; display: grid; grid-template-rows: 36px 32px minmax(0,1fr); overflow: hidden; border-left: 1px solid #dedfdf; background: #fff; }
.photo-inspector-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid #dedfdf; color: #242526; font-size: 9px; font-weight: 500; }
.photo-inspector-tabs { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid #e4e4e4; }
.photo-inspector-tabs button { position: relative; padding: 0; border: 0; background: #fff; color: #7a7c7d; font-size: 7.5px; cursor: pointer; }
.photo-inspector-tabs button.is-active { color: #242424; }
.photo-inspector-tabs button.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #242424; }
.photo-inspector-body { min-height: 0; overflow: auto; padding: 9px 10px; scrollbar-width: thin; }
.photo-settings-panel { display: none; }
.photo-settings-panel.is-active { display: block; }
.photo-settings-panel .setting-row { min-height: 34px; font-size: 8px; }
.photo-settings-panel .setting-row.is-clean,
.photo-settings-panel .setting-block.is-clean { border-bottom: 0; }
.photo-settings-panel .setting-block { padding: 8px 0; }
.photo-settings-panel .setting-block > label { margin-bottom: 6px; font-size: 8px; }
.photo-control-group { display: grid; }
.photo-section-divider { width: 100%; height: 1px; margin: 8px 0; border: 0; background: #e5e5e2; }
.photo-position-hint { margin: 9px 0 0; color: #858788; font-size: 7.5px; text-align: center; }
.photo-range { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 8px 0 9px; color: #5f5f5f; font-size: 8px; }
.photo-range input { grid-column: 1 / -1; width: 100%; accent-color: #4c817b; }
.photo-range input:disabled { opacity: .35; }
.photo-back-field { display: grid; gap: 6px; padding-top: 8px; color: #6c6c6c; font-size: 8px; }
.photo-back-field input { height: 26px; padding: 0 7px; border: 1px solid #d8d8d8; border-radius: 6px; background: #fff; color: #262626; font-family: "CP Digital Mono", monospace; font-size: 8px; }
.photo-back-note { margin: 9px 0 0; color: #858788; font-family: "CP Digital Mono", monospace; font-size: 7.5px; line-height: 1.45; }
.photo-inspector .mini-switch { width: 25px; height: 15px; }
.photo-inspector .mini-switch i { width: 11px; height: 11px; }
.photo-inspector .mini-switch.is-on { background: #397d75; }
.photo-inspector .mini-switch.is-on i { transform: translateX(10px); }
.photo-inspector .setting-segment { padding: 0; overflow: hidden; border: 1px solid #d8d8d5; border-radius: 6px; background: #d8d8d5; }
.photo-inspector .setting-segment button { min-height: 28px; border-radius: 0; background: #fff; font-size: 7.5px; }
.photo-inspector .setting-segment button.is-selected { background: #e8e8e5; box-shadow: none; font-weight: 400; }
.photo-inspector .lut-choices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid #d8d8d5; border-radius: 6px; background: #d8d8d5; }
.photo-inspector .lut-choices button { min-width: 0; min-height: 28px; padding: 0 2px; overflow: hidden; border: 0; border-radius: 0; background: #fff; color: #777; font-size: 7px; text-overflow: ellipsis; cursor: pointer; }
.photo-inspector .lut-choices button.is-selected { background: #e8e8e5; color: #222; box-shadow: none; }
.lut-file-button { width: 100%; min-height: 27px; margin-top: 6px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; border: 1px solid #d8d8d5; border-radius: 6px; background: #fff; color: #666; font-size: 7.5px; cursor: pointer; }
.lut-file-button b { color: #858788; font-size: 6.5px; font-weight: 400; }
.lut-file-button.is-selected { border-color: #9eb9b5; background: #f4f8f7; color: #315e59; }
.custom-lut-name { min-width: 0; margin-top: 5px; overflow: hidden; color: #858788; font-size: 6.5px; text-overflow: ellipsis; white-space: nowrap; }
.lut-strength { padding-bottom: 0; }
.photo-print-specs { margin: 0; display: grid; gap: 0; }
.photo-print-specs div { min-height: 30px; display: flex; align-items: center; justify-content: space-between; }
.photo-print-specs dt,.photo-print-specs dd { margin: 0; font-size: 8px; font-weight: 400; }
.photo-print-specs dd { color: #737576; }
.photo-inspector .stepper button { width: 23px; height: 22px; }
.photo-inspector .stepper b { min-width: 20px; font-size: 8px; }

.photo-preview-workarea { height: 100%; min-height: 0; background: #fff; }
.photo-preview-stage { height: 100%; display: grid; place-items: center; overflow: hidden; padding: 18px; perspective: 1100px; }
.photo-preview-turner { position: relative; height: min(86%,330px); aspect-ratio: 3 / 4; padding: 0; border: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; transition: transform 1.55s cubic-bezier(.18,.72,.18,1); }
.photo-preview-turner.is-back { transform: rotateY(180deg); }
.photo-preview-face { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #deded9; backface-visibility: hidden; background: #fff; }
.photo-preview-face.is-back { transform: rotateY(180deg); }
.photo-preview-face .output-sheet { width: 100%; height: 100%; max-height: none; box-shadow: none; }
.photo-back-page { position: relative; width: 100%; height: 100%; background: #fff; color: #666; font-family: "CP Digital Mono", monospace; }
.photo-back-map { position: absolute; top: 18%; left: 50%; width: 58%; height: 31%; transform: translateX(-50%); }
.photo-back-map path,.photo-back-map line,.photo-back-map circle { fill: none; stroke: #777; stroke-width: .85; vector-effect: non-scaling-stroke; }
.photo-back-map .is-faint { opacity: .42; stroke-width: .55; }
.photo-back-map text { fill: #565656; font-family: "CP Digital Mono", monospace; font-size: 9px; }
.photo-back-meta { position: absolute; left: 50%; bottom: 5%; display: grid; justify-items: center; gap: 2px; color: #c86f2e; font-family: "CP Digital Mono", monospace; font-size: 7.5px; line-height: 1; text-align: center; letter-spacing: .035em; transform: translateX(-50%); white-space: nowrap; }
.photo-back-page.is-postcard { position: relative; padding: 0; }
.postcard-note { position: absolute; top: 43%; right: 7%; width: 32%; margin: 0; color: #7b756e; font-size: 7px; line-height: 1.55; text-align: center; }
.photo-location-stamp { position: absolute; top: 7%; right: 7%; width: 25%; display: grid; justify-items: center; padding: 3%; border: 1px solid #c86f2e; color: #c86f2e; text-align: center; }
.photo-location-stamp::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(200,111,46,.36); pointer-events: none; }
.postcard-map { width: 100%; height: 32px; }
.postcard-map path,.postcard-map line,.postcard-map circle { fill: none; stroke: #c86f2e; stroke-width: .8; vector-effect: non-scaling-stroke; }
.postcard-map .is-faint { opacity: .38; stroke-width: .5; }
.postcard-map text { display: none; }
.photo-location-stamp strong,.photo-location-stamp small { position: relative; z-index: 1; width: 100%; display: block; text-align: center; }
.photo-location-stamp strong { margin-top: 3px; font-size: 8px; font-weight: 400; letter-spacing: .08em; }
.photo-location-stamp small { margin-top: 3px; font-size: 5px; letter-spacing: .06em; }
.photo-back-page.is-postcard .photo-back-meta { left: 50%; right: auto; bottom: 7%; font-size: 6px; }

.studio-inspector { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; padding: 12px; border-left: 1px solid #dedbd5; background: #f7f7f5; }
.inspector-scroll { min-height: 0; overflow: auto; margin-top: 8px; padding: 0 9px; border: 1px solid #e4e1db; border-radius: 11px; background: #fff; }
.inspector-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid #e2dfd9; }
.inspector-heading small { color: #8a867f; font-size: 6px; }
.inspector-heading h3 { margin: 2px 0 0; font-size: 13px; letter-spacing: -.035em; }
.ready-dot { color: #69655f; font-size: 6px; }
.ready-dot::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #a9a59e; }
.setting-row { min-height: 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8e5df; font-size: 8px; }
.setting-block { padding: 8px 0; border-bottom: 1px solid #e8e5df; }
.setting-block > label { display: block; margin-bottom: 6px; color: #706c65; font-size: 7px; }
.setting-segment { display: flex; padding: 2px; border-radius: 7px; background: #eeece8; }
.setting-segment button { flex: 1; min-height: 23px; padding: 0 5px; border: 0; border-radius: 5px; background: transparent; color: #77736c; font-size: 6px; cursor: pointer; }
.setting-segment button.is-selected { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 650; }
.stepper { display: flex; align-items: center; overflow: hidden; border: 1px solid #d9d6d0; border-radius: 7px; background: #fff; }
.stepper button { width: 25px; height: 24px; border: 0; background: transparent; cursor: pointer; }
.stepper b { min-width: 22px; text-align: center; font-size: 7px; }
.mini-switch { width: 29px; height: 17px; padding: 2px; border: 0; border-radius: 999px; background: #d8d5cf; cursor: pointer; }
.mini-switch i { display: block; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.mini-switch.is-on { background: var(--blue); }
.mini-switch.is-on i { transform: translateX(12px); }
.advanced-settings { padding: 8px 0; border-bottom: 1px solid #e8e5df; font-size: 7px; }
.advanced-settings summary { cursor: pointer; font-weight: 650; }
.advanced-settings summary span { float: right; color: #8d8982; font-weight: 400; }
.advanced-settings > label { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: #69655f; }
.advanced-settings select { max-width: 90px; height: 23px; border: 1px solid #d9d5ce; border-radius: 6px; background: #fff; font-size: 6px; }
.advanced-settings .check-line { justify-content: flex-start; gap: 6px; }
.advanced-note { margin: 8px 0 0; color: #8c8881; font-size: 5.5px; line-height: 1.35; }
.strength-control { display: grid; grid-template-columns: 1fr auto; gap: 5px; padding: 9px 0; color: #6e6a63; font-size: 7px; }
.strength-control input { grid-column: 1 / -1; width: 100%; accent-color: var(--blue); }
.fixed-format { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid #e8e5df; }
.fixed-format span { color: #77736d; font-size: 7px; }
.fixed-format strong { grid-row: 1 / 3; grid-column: 2; font-size: 14px; letter-spacing: -.03em; }
.fixed-format small { color: #99958e; font-size: 5.5px; }
.studio-primary { width: 100%; min-height: 30px; margin-top: 9px; border: 0; border-radius: 8px; background: var(--blue); color: white; font-size: 8px; font-weight: 650; cursor: pointer; }

.preview-workarea { grid-template-columns: minmax(0, 1fr) 218px; background: #fff; }
.preview-main { min-width: 0; display: grid; grid-template-rows: 33px minmax(0,1fr) 27px; background: #fff; }
.preview-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; border-bottom: 1px solid #ededeb; background: #fff; color: #777b7b; font-size: 7px; }
.preview-toolbar button:first-child { justify-self: start; }
.preview-print { justify-self: end; min-width: 56px; height: 24px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font-size: 7px; font-weight: 650; cursor: pointer; }
.preview-stage .output-sheet { max-height: 290px; border: 1px solid #e2e2de; box-shadow: 0 5px 18px rgba(0,0,0,.08); transition: opacity .25s ease, transform .35s var(--ease); }
.preview-stage { perspective: 1100px; }
.duplex-turner { position: relative; height: 100%; max-height: 290px; aspect-ratio: 8.5 / 11; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.35,.7,.15,1); }
.duplex-turner:focus-visible { outline: 2px solid #7ea8a2; outline-offset: 5px; }
.duplex-turner.is-landscape { aspect-ratio: 11 / 8.5; }
.duplex-turner.is-a4 { aspect-ratio: 210 / 297; }
.duplex-turner.is-a4.is-landscape { aspect-ratio: 297 / 210; }
.duplex-turner.is-back { transform: rotateY(180deg); }
.duplex-face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; }
.duplex-face.is-back-face { transform: rotateY(180deg); }
.duplex-face .output-sheet { width: 100%; height: 100%; max-height: none; }
.duplex-blank { width: 100%; height: 100%; display: grid; place-items: center; border: 1px solid #e2e2de; background: #fff; color: #aaa69f; font-size: 7px; }
.preview-note { display: flex; justify-content: center; align-items: center; gap: 8px; color: #77736d; font-size: 6px; }
.preview-note button { padding: 2px 6px; border: 0; border-radius: 999px; background: #fff; color: #5f5b55; font-size: 6px; cursor: pointer; box-shadow: 0 0 0 1px #d7d4ce; }
.preview-sidebar { min-height: 0; overflow: auto; padding: 11px 12px; border-left: 1px solid #ededeb; background: #fff; }
.thumb-heading { display: flex; justify-content: space-between; margin-bottom: 10px; color: #777b7b; font-size: 7px; }
.thumb-heading b { color: #303232; font-size: 8px; font-weight: 500; }
.thumb-list { display: grid; gap: 12px; }
.sheet-side-pair { display: grid; gap: 5px; padding-bottom: 11px; border-bottom: 1px solid #ededeb; }
.sheet-side-pair:last-child { border-bottom: 0; }
.sheet-side-pair > header { display: flex; align-items: center; justify-content: space-between; color: #858888; font-size: 5.5px; }
.sheet-side-pair > header b { color: #555858; font-size: 6.5px; font-weight: 500; }
.sheet-side-pair > div,.single-page-thumbs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.page-thumb { position: relative; min-height: 84px; display: grid; place-items: start center; padding: 5px 5px 17px; border: 1px solid #e1e2df; border-radius: 5px; background: #fff; cursor: pointer; }
.page-thumb:hover { border-color: #aeb6b4; }
.page-thumb.is-active { border-color: #4b817a; box-shadow: 0 0 0 1px #4b817a; }
.page-thumb.is-blank { color: #aaa; cursor: default; }
.page-thumb > span { width: 42px; height: 55px; display: block; overflow: hidden; border: 1px solid #ededeb; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.page-thumb .mock-page { width: 240px; height: 314px; transform: scale(.175); transform-origin: top left; pointer-events: none; }
.page-thumb b { position: absolute; left: 5px; bottom: 4px; color: #626666; font-size: 5px; font-weight: 500; }
.page-thumb em { position: absolute; right: 5px; bottom: 4px; color: #8a8d8d; font-size: 5px; font-style: normal; }
.beautify-panel, .lut-panel { display: grid; gap: 6px; margin-bottom: 10px; padding: 9px; border-radius: 10px; background: #f0f4f7; }
.beautify-panel small, .lut-panel small { color: #668092; font-size: 5px; letter-spacing: .08em; }
.beautify-panel h4 { margin: 1px 0 3px; font-size: 9px; letter-spacing: -.025em; }
.beautify-panel label { display: flex; align-items: center; gap: 5px; color: #56524c; font-size: 6px; }
.beautify-panel input { accent-color: var(--blue); }
.lut-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.lut-choices button { min-height: 24px; border: 1px solid #ddd9d2; border-radius: 6px; background: #fff; color: #706c65; font-size: 6px; cursor: pointer; }
.lut-choices button.is-selected { border-color: var(--ink); color: var(--ink); font-weight: 650; }

.printer-settings-page { height: 100%; display: grid; grid-template-rows: 46px minmax(0,1fr); background: #fff; color: #2a2a28; }
.printer-settings-header { display: flex; align-items: center; justify-content: space-between; padding: 0 21px; border-bottom: 1px solid #dedfdf; }
.printer-settings-header > div { display: flex; align-items: center; gap: 8px; }
.printer-settings-header > div > span:last-child { display: grid; gap: 1px; }
.printer-settings-header b { font-size: 9px; font-weight: 500; }
.printer-settings-header small { color: #858888; font-size: 6.2px; }
.printer-settings-led { width: 6px; height: 6px; border-radius: 50%; background: #5a8966; box-shadow: 0 0 0 1px rgba(90,137,102,.18); }
.printer-settings-header nav { height: 100%; display: flex; align-items: stretch; gap: 30px; }
.printer-settings-header nav button { position: relative; padding: 0 2px; border: 0; background: transparent; color: #7a7c7d; font-size: 7.2px; cursor: pointer; }
.printer-settings-header nav button.is-active { color: #2c2c2a; }
.printer-settings-header nav button.is-active::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: #242424; }
.printer-settings-content { min-height: 0; overflow: auto; container-type: size; }
.printer-header-connection { color: #77746e; font-size: 6px; }
.printer-dashboard { padding: 0 21px 18px; background: #fff; }
.printer-dashboard-status { min-height: 59px; display: grid; grid-template-columns: 1.2fr repeat(3,1fr); align-items: center; border-bottom: 1px solid #eaeae7; }
.printer-dashboard-status > div { min-width: 0; display: grid; gap: 2px; padding: 0 13px; border-left: 1px solid #efefed; }
.printer-dashboard-status > div:first-child { padding-left: 0; border-left: 0; }
.printer-dashboard-status small { color: #9a9690; font-size: 4.8px; font-weight: 600; letter-spacing: .08em; }
.printer-dashboard-status b { overflow: hidden; color: #333330; font-size: 7.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.printer-dashboard-status span { color: #8b8781; font-size: 5.4px; }
.dashboard-ready { grid-template-columns: 17px minmax(0,1fr); align-items: center; }
.dashboard-ready > i { grid-row: 1 / 3; width: 15px; height: 15px; border: 1px solid #d9ddd8; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px #5a8966; }
.dashboard-ready > span { display: grid; gap: 2px; }
.dashboard-ready > span b { font-size: 8.5px; }
.printer-dashboard-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.printer-dashboard-column { min-width: 0; }
.printer-dashboard-section { padding: 17px 0; border-bottom: 0; }
.printer-dashboard-section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.printer-dashboard-section > header small { display: block; margin-bottom: 4px; color: #898b8b; font-size: 5.4px; font-weight: 600; letter-spacing: .09em; }
.printer-dashboard-section > header h3 { margin: 0; font-size: 10.5px; font-weight: 500; letter-spacing: -.025em; }
.printer-dashboard-section > header p { margin: 4px 0 0; color: #858888; font-size: 6px; }
.printer-dashboard-section > header > span { color: #5a8966; font-size: 6px; }
.printer-dashboard-color .ink-meter { min-height: 15px; }
.printer-dashboard-color .ink-meter > i { height: 2px; }
.printer-dashboard-defaults { border-bottom: 0; }
.dashboard-setting-row { min-height: 42px; display: grid; grid-template-columns: minmax(88px,1fr) 148px; align-items: center; gap: 12px; border-top: 0; color: #62605b; font-size: 7px; }
.dashboard-setting-row > span { display: grid; gap: 2px; }
.dashboard-setting-row > span b { color: #333330; font-size: 7.4px; font-weight: 500; }
.dashboard-setting-row > span small { color: #858888; font-size: 6px; line-height: 1.3; }
.dashboard-setting-row .setting-segment { width: 148px; padding: 1px; }
.dashboard-setting-row .setting-segment button { min-height: 20px; font-size: 5.3px; }
.dashboard-setting-row.is-switch { grid-template-columns: minmax(0,1fr) auto; }
.dashboard-setting-row .mini-switch { justify-self: end; }
.printer-dashboard-care > header > button { border: 0; background: transparent; color: #4e7771; font-size: 5.5px; cursor: pointer; }
.printer-dashboard-care > header > button:disabled { color: #aaa7a1; }
.printer-care-album { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: clamp(36px, 10cqh, 50px); margin: 0 10px; padding: 5px 0; border-top: 1px solid #e8e8e5; }
.printer-care-album > span:nth-child(2) { display: grid; gap: 3px; }
.printer-care-album b { color: #333330; font-size: 7.4px; font-weight: 500; }
.printer-care-album small { color: #858888; font-size: 5.8px; line-height: 1.3; }
.printer-care-album > button { padding: 4px 0; border: 0; background: transparent; color: #4e7771; font-size: 6.2px; cursor: pointer; }
.care-album-preview { position: relative; width: 34px; height: 27px; display: block; }
.care-album-preview img,.care-album-preview i { position: absolute; width: 25px; height: 20px; border: 1px solid #fff; border-radius: 3px; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.care-album-preview img { z-index: 3; left: 0; top: 1px; }
.care-album-preview i:nth-of-type(1) { z-index: 2; left: 5px; top: 4px; background: #d9e7e5; }
.care-album-preview i:nth-of-type(2) { z-index: 1; left: 9px; top: 7px; background: #eadfd0; }
.printer-default-bar { min-height: clamp(42px, 13cqh, 66px); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; border-bottom: 1px solid #dedfdf; }
.printer-default-bar label { min-width: 0; display: grid; gap: 5px; padding: 0 13px; border-left: 0; }
.printer-default-bar label:first-child { padding-left: 0; border-left: 0; }
.printer-default-bar small { color: #898b8b; font-size: 5.2px; font-weight: 600; letter-spacing: .08em; }
.printer-default-bar select { width: 100%; min-width: 0; padding: 0 15px 0 0; border: 0; border-radius: 0; background: transparent; color: #333330; font: inherit; font-size: 7.2px; font-weight: 500; cursor: pointer; }
.printer-default-bar select:focus-visible { outline: 1px solid #83a49f; outline-offset: 3px; }
/* Spacing tracks the available window height so the dashboard never scrolls. */
.printer-reorganized-columns { --dash-section: clamp(10px, 4.4cqh, 26px); --dash-group: clamp(7px, 3cqh, 18px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.printer-reorganized-column { min-width: 0; display: flex; flex-direction: column; gap: var(--dash-group); }
.printer-reorganized-column.is-care { padding-right: 2px; }
.printer-reorganized-column.is-status { padding-left: 28px; border-left: 1px solid #e5e5e2; }
.printer-reorganized-column .printer-dashboard-section { padding: var(--dash-section) 0 0; border-bottom: 0; }
.printer-section-heading { display: grid; gap: 3px; margin-bottom: clamp(8px, 3cqh, 14px); }
.printer-section-heading small { color: #898b8b; font-size: 5.4px; font-weight: 600; letter-spacing: .09em; }
.printer-section-heading h3 { margin: 0; color: #333330; font-size: 10.5px; font-weight: 500; letter-spacing: -.025em; }
.printer-section-heading p { margin: 0; color: #858888; font-size: 6px; line-height: 1.4; }
.printer-section-heading.is-simple { margin-bottom: clamp(6px, 2.2cqh, 12px); }
.printer-section-heading.is-simple h3 { font-weight: 700; }
/* Linked groups: one tinted surface, hairline dividers inside, open space between groups. */
.printer-care-linked,.printer-status-card { border-radius: 8px; background: #f7f7f5; }
.printer-care-linked { margin-top: var(--dash-group); }
.printer-care-linked-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(7px, 2.4cqh, 13px) 10px; }
.printer-care-linked-heading > span { display: grid; gap: 3px; }
.printer-care-linked-heading b { color: #333330; font-size: 8px; font-weight: 500; }
.printer-care-linked-heading small { color: #858888; font-size: 6px; line-height: 1.35; }
.printer-care-linked-heading .mini-switch { flex: 0 0 auto; }
.dashboard-setting-row.is-compact { min-height: clamp(30px, 9cqh, 44px); padding: 0 10px; border-radius: 8px; background: #f7f7f5; }
.dashboard-setting-row.is-compact > span b { font-size: 8px; }
.printer-refills { display: grid; margin: 0 10px; padding-top: clamp(6px, 2cqh, 11px); border-top: 1px solid #e8e8e5; }
.printer-refills-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2px; }
.printer-refills-heading b { color: #333330; font-size: 8px; font-weight: 700; }
.printer-refills-heading small { color: #898b8b; font-size: 5.7px; }
.printer-refill-row { min-height: clamp(27px, 8.4cqh, 42px); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
.printer-refill-row + .printer-refill-row { border-top: 1px solid #ececea; }
.printer-refill-row > span:first-child { display: grid; gap: 3px; }
.printer-refill-row b { color: #3e3d39; font-size: 7.2px; font-weight: 500; }
.printer-refill-row small { color: #858888; font-size: 5.6px; }
.printer-refill-row > span:last-child { display: flex; align-items: center; gap: 7px; }
.printer-refill-row button { padding: 2px 0; border: 0; background: transparent; color: #4e7771; font-size: 5.7px; cursor: pointer; white-space: nowrap; }
.printer-refill-row > em { color: #5a8966; font-size: 5.7px; font-style: normal; }
.printer-refills > p { margin: 0; color: #858888; font-size: 5.7px; line-height: 1.45; }
.printer-refill-account { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6px 12px; margin: 0 10px; padding: clamp(7px, 2.4cqh, 13px) 0; border-top: 1px solid #ececea; }
.printer-refill-account > span { display: grid; align-content: start; gap: 3px; }
.printer-refill-account small { color: #99958f; font-size: 4.8px; font-weight: 600; letter-spacing: .07em; }
.printer-refill-account b { color: #4b4945; font-size: 6px; font-weight: 500; line-height: 1.35; }
.printer-refill-account a { min-height: 24px; display: inline-grid; place-items: center; align-self: end; border-radius: 6px; background: #2f302e; color: #fff; font-size: 5.7px; text-decoration: none; }
.printer-refill-account p { align-self: end; margin: 0; color: #858888; font-size: 5.2px; line-height: 1.35; }
.printer-status-consolidated { padding-bottom: 0; }
.printer-status-consolidated > header > span { color: #5a8966; }
.printer-status-ink { padding: clamp(5px, 2cqh, 11px) 10px; border-top: 0; }
.printer-status-ink > small { display: block; margin-bottom: 7px; color: #898b8b; font-size: 5.2px; font-weight: 600; letter-spacing: .08em; }
.printer-status-ink .ink-meter { min-height: clamp(14px, 4.2cqh, 22px); font-size: 6.6px; }
.printer-status-ink .ink-meter > i { height: 3px; background: #e7e5e0; }
.printer-device-status .printer-status-media { display: grid; grid-template-columns: 1fr 1fr; min-height: 34px; border-top: 1px solid #efefed; }
.printer-status-media > span { display: grid; gap: 3px; align-content: center; }
.printer-status-media > span + span { padding-left: 12px; border-left: 1px solid #efefed; }
.printer-status-media small { color: #99958f; font-size: 4.6px; font-weight: 600; letter-spacing: .07em; }
.printer-status-media b { color: #4b4945; font-size: 6px; font-weight: 500; }
.printer-support-summary { padding-top: 0; }
.printer-support-entry { width: 100%; min-height: clamp(34px, 10cqh, 50px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-top: auto; padding: 0 10px; border: 0; border-radius: 7px; background: #f7f7f5; text-align: left; cursor: pointer; }
.printer-support-entry > span { display: grid; gap: 3px; }
.printer-support-entry b { color: #333330; font-size: 7.4px; font-weight: 500; }
.printer-support-entry small { color: #858888; font-size: 6px; }
.printer-support-entry em { color: #77736d; font-size: 10px; font-style: normal; }
.printer-settings-page .mini-switch { width: 25px; height: 15px; }
.printer-settings-page .mini-switch i { width: 11px; height: 11px; }
.printer-settings-page .mini-switch.is-on i { transform: translateX(10px); }

/* Diagnostics spacing also tracks window height so all five steps fit without scrolling. */
.printer-support-flow { width: min(78%,560px); min-height: 100%; margin: 0 auto; padding-top: clamp(10px, 4cqh, 20px); }
.printer-support-column { min-width: 0; }
.printer-troubleshoot-list { display: grid; gap: clamp(3px, 1cqh, 5px); margin: 0; padding: 0; list-style: none; }
.printer-troubleshoot-list > li { min-height: clamp(40px, 12cqh, 57px); display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: clamp(5px, 1.6cqh, 8px) 9px; border-radius: 8px; background: #f7f7f5; }
.printer-troubleshoot-list > li > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #777b7b; font-size: 6px; font-style: normal; }
.printer-troubleshoot-list > li > span { min-width: 0; display: grid; gap: 3px; }
.printer-troubleshoot-list b { color: #333330; font-size: 7.2px; font-weight: 500; }
.printer-troubleshoot-list small { color: #858888; font-size: 5.6px; line-height: 1.35; }
.printer-troubleshoot-list em { color: #5a8966; font-size: 5.5px; font-style: normal; }
.printer-troubleshoot-list button { min-width: 49px; min-height: 23px; padding: 0 7px; border: 1px solid #d8d8d5; border-radius: 6px; background: #fff; color: #4c4944; font-size: 5.5px; cursor: pointer; }
.printer-troubleshoot-list button.is-primary { border-color: #2f302e; background: #2f302e; color: #fff; }
.printer-troubleshoot-list button:disabled { color: #aaa7a1; cursor: default; }
.support-contact-step > div { display: flex; gap: 5px; }
.support-queue-status { display: grid; gap: 3px; margin-top: clamp(5px, 1.6cqh, 9px); padding: clamp(6px, 2cqh, 10px) 11px; border-radius: 8px; background: #eef4f1; }
.support-queue-status b { color: #355d57; font-size: 7px; font-weight: 500; }
.support-queue-status small { color: #6f817d; font-size: 5.6px; line-height: 1.4; }
.restart-symbol { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #efede8; color: #55514b; font-size: 16px; }

.printer-album-dialog { position: absolute; z-index: 15; width: min(50%,330px); left: 50%; top: 50%; overflow: hidden; border: 1px solid rgba(0,0,0,.14); border-radius: 14px; background: rgba(253,253,252,.99); box-shadow: 0 24px 65px rgba(0,0,0,.28); transform: translate(-50%,-50%); }
.printer-album-dialog > header { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 11px 12px; border-bottom: 1px solid #e5e2dc; }
.printer-album-dialog > header span { display: grid; gap: 2px; }
.printer-album-dialog h3 { margin: 0; font-size: 10px; font-weight: 500; }
.printer-album-dialog p { margin: 0; color: #8c8881; font-size: 5.5px; }
.printer-album-dialog > header button { border: 0; background: transparent; color: #77736d; font-size: 13px; cursor: pointer; }
.printer-album-list { display: grid; max-height: 220px; overflow: auto; padding: 5px 12px; }
.printer-album-list > button { display: grid; grid-template-columns: 35px 1fr 15px; align-items: center; gap: 8px; min-height: 43px; padding: 4px 0; border: 0; border-bottom: 1px solid #efede9; background: transparent; text-align: left; cursor: pointer; }
.printer-album-list > button > span:nth-child(2) { display: grid; gap: 2px; }
.printer-album-list b { font-size: 7px; font-weight: 500; }
.printer-album-list small { color: #8e8a83; font-size: 5.5px; }
.printer-album-list em { display: none; color: #4e7771; font-size: 8px; font-style: normal; }
.printer-album-list button.is-selected em { display: block; }
.album-mosaic { width: 32px; height: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 4px; background: #ece9e3; }
.album-mosaic i { background: #c9dedb; }
.album-mosaic i:nth-child(2) { background: #e8cfdc; }
.album-mosaic i:nth-child(3) { background: #eadf9b; }
.album-mosaic i:nth-child(4) { background: #d5d2cc; }
.printer-album-dialog > footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-top: 1px solid #e5e2dc; color: #77736d; font-size: 5.5px; }
.printer-album-dialog > footer button { min-width: 70px; min-height: 24px; border: 0; border-radius: 6px; background: #2f302e; color: #fff; font-size: 5.5px; cursor: pointer; }


.printer-overview-panel { min-height: 100%; display: grid; grid-template-columns: minmax(250px,1.12fr) minmax(220px,.88fr); }
.printer-product-card { min-width: 0; display: grid; grid-template-rows: auto minmax(0,1fr); padding: 22px 22px 14px; border-right: 1px solid #ededeb; }
.printer-product-status { display: flex; align-items: center; gap: 8px; }
.printer-product-status > i { width: 16px; height: 16px; border: 1px solid #d9ddd8; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px #5a8966; }
.printer-product-status span { display: grid; gap: 2px; }
.printer-product-status b { font-size: 11px; font-weight: 500; letter-spacing: -.025em; }
.printer-product-status small { color: #96928b; font-size: 6px; }
.printer-product-card img { width: 94%; height: 94%; max-height: 280px; align-self: center; justify-self: center; object-fit: contain; filter: drop-shadow(0 13px 16px rgba(35,27,19,.08)); }
.printer-overview-details { min-width: 0; padding: 13px 20px 18px; }
.printer-detail-group { padding: 10px 0 13px; border-bottom: 1px solid #efefed; }
.printer-detail-group:last-child { border-bottom: 0; }
.printer-detail-group > small { display: block; margin-bottom: 7px; color: #99958f; font-size: 5px; font-weight: 600; letter-spacing: .09em; }
.printer-detail-row { display: flex; align-items: center; justify-content: space-between; min-height: 22px; color: #72706b; font-size: 7px; }
.printer-detail-row b { color: #383836; font-weight: 500; }
.printer-paper-ready { display: flex; align-items: center; gap: 9px; min-height: 36px; }
.printer-media-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.printer-paper-ready.is-photo-media { padding-left: 9px; border-left: 1px solid #efefed; }
.printer-paper-ready.is-photo-media .paper-sheet-icon { height: 24px; aspect-ratio: 4 / 3; width: auto; }
.printer-paper-ready > span:last-child { display: grid; gap: 3px; }
.printer-paper-ready b { font-size: 8px; font-weight: 500; }
.printer-paper-ready em { color: #8d8983; font-size: 6px; font-style: normal; }
.paper-sheet-icon { position: relative; width: 22px; height: 29px; border: 1px solid #c9c6c0; border-radius: 2px; background: #fff; }
.paper-sheet-icon::before,.paper-sheet-icon::after { content: ""; position: absolute; height: 1px; left: 5px; right: 5px; background: #d8d5cf; }
.paper-sheet-icon::before { top: 10px; }
.paper-sheet-icon::after { top: 15px; }
.ink-meter { display: grid; grid-template-columns: 12px minmax(0,1fr) 25px; align-items: center; gap: 7px; min-height: 19px; font-size: 6px; }
.ink-meter > span { font-weight: 600; }
.ink-meter > i { height: 3px; overflow: hidden; border-radius: 999px; background: #eeece8; }
.ink-meter > i > b { display: block; width: var(--level); height: 100%; border-radius: inherit; background: #202326; }
.ink-meter:nth-of-type(1) > i > b { background: #08a9d7; }
.ink-meter:nth-of-type(2) > i > b { background: #e72b91; }
.ink-meter:nth-of-type(3) > i > b { background: #e5c920; }
.ink-meter em { color: #88857f; font-style: normal; text-align: right; }
.ink-health p { margin: 7px 0 0 19px; color: #8d8983; font-size: 5.5px; }

.printer-settings-list,.printer-care-panel { width: min(78%,560px); margin: 0 auto; padding: 23px 0; }
.printer-settings-list > header,.printer-care-panel > header { margin-bottom: 14px; }
.printer-settings-list h3,.printer-care-panel h3 { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: -.035em; }
.printer-settings-list header p,.printer-care-panel header p { max-width: 390px; margin: 5px 0 0; color: #85817a; font-size: 6.5px; line-height: 1.45; }
.printer-settings-list > section,.printer-care-list > section { display: grid; grid-template-columns: minmax(0,1fr) 178px; align-items: center; gap: 20px; min-height: 54px; border-top: 1px solid #ededeb; }
.printer-settings-list section > div:not(.setting-segment),.printer-care-list section > div { display: grid; gap: 3px; }
.printer-settings-list section b,.printer-care-list section b { font-size: 7.5px; font-weight: 500; }
.printer-settings-list section small,.printer-care-list section small { color: #918d86; font-size: 5.5px; line-height: 1.35; }
.printer-settings-list .setting-segment { width: 178px; }
.printer-settings-list .setting-segment button { min-height: 25px; font-size: 6px; }
.printer-settings-list .printer-switch-row,.printer-care-list > section { grid-template-columns: minmax(0,1fr) auto; }
.printer-settings-list .mini-switch,.printer-care-list .mini-switch { justify-self: end; }

.care-status-card { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 66px; padding: 0 0 13px; }
.care-status-card > div:nth-child(2) { display: grid; gap: 2px; }
.care-status-card small { color: #99958f; font-size: 5px; letter-spacing: .08em; }
.care-status-card b { font-size: 9px; font-weight: 500; }
.care-status-card span { color: #8d8983; font-size: 5.5px; }
.care-status-card > button,.printer-text-button { border: 0; background: transparent; color: #4e7771; font-size: 6px; cursor: pointer; }
.care-status-card > button:disabled { color: #aaa7a1; }
.care-status-orbit { position: relative; width: 30px; height: 30px; border: 1px solid #d8d5cf; border-radius: 50%; }
.care-status-orbit::before,.care-status-orbit::after,.care-status-orbit i { content: ""; position: absolute; border-radius: 50%; }
.care-status-orbit::before { width: 13px; height: 13px; left: 4px; top: 4px; background: #08a9d7; opacity: .82; }
.care-status-orbit::after { width: 12px; height: 12px; right: 3px; top: 6px; background: #e72b91; opacity: .78; }
.care-status-orbit i { width: 13px; height: 13px; left: 9px; bottom: 3px; background: #e5c920; opacity: .78; }
.care-status-orbit.is-running { animation: careSpin 1.1s linear infinite; }
@keyframes careSpin { to { transform: rotate(360deg); } }
.printer-care-list { border-bottom: 1px solid #ededeb; }
.printer-text-button { min-width: 45px; min-height: 24px; text-align: right; }

.job-toast { position: absolute; z-index: 10; left: 50%; bottom: 8%; display: flex; align-items: center; gap: 9px; min-width: 230px; padding: 11px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; background: rgba(252,252,251,.96); box-shadow: 0 14px 38px rgba(0,0,0,.22); transform: translateX(-50%); }
.job-toast > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #ece9e3; font-size: 8px; font-style: normal; }
.job-toast:not(.is-done) > i { border: 2px solid #d9d5ce; border-top-color: var(--blue); background: transparent; animation: jobSpin 1s linear infinite; }
.job-toast b, .job-toast span { display: block; font-size: 8px; }
.job-toast span { margin-top: 2px; color: #77736d; font-size: 6px; }
.job-toast > button { margin-left: auto; border: 0; background: transparent; color: var(--blue); font-size: 6px; font-weight: 650; cursor: pointer; }
@keyframes jobSpin { to { transform: rotate(360deg); } }

.duplex-refeed-dialog { position: absolute; z-index: 13; width: min(46%, 330px); left: 50%; top: 50%; display: grid; justify-items: stretch; gap: 8px; padding: 17px; border: 1px solid rgba(0,0,0,.14); border-radius: 15px; background: rgba(253,253,252,.985); box-shadow: 0 24px 65px rgba(0,0,0,.28); transform: translate(-50%,-50%); text-align: center; }
.duplex-refeed-dialog > small { color: #77736d; font-size: 5px; font-weight: 650; letter-spacing: .09em; }
.duplex-refeed-dialog h3 { margin: 0; font-size: 15px; letter-spacing: -.035em; }
.duplex-refeed-dialog p { max-width: 260px; margin: 0 auto 2px; color: #706c65; font-size: 7px; line-height: 1.45; }
.duplex-refeed-dialog > button { min-height: 29px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 7px; font-weight: 650; cursor: pointer; }
.duplex-refeed-meta { display: flex; justify-content: space-between; padding: 7px 1px 0; border-top: 1px solid #e5e2dc; color: #77736d; font-size: 6px; }
.duplex-refeed-graphic { height: 53px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #6f6c66; }
.duplex-refeed-graphic > b { font-size: 17px; font-weight: 400; transform: rotate(-18deg); }
.refeed-stack,.refeed-tray { position: relative; width: 42px; height: 34px; display: block; }
.refeed-stack i { position: absolute; width: 30px; height: 22px; left: 6px; border: 1px solid #bdb9b1; border-radius: 2px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.08); }
.refeed-stack i:nth-child(1) { top: 8px; transform: rotate(-3deg); }
.refeed-stack i:nth-child(2) { top: 5px; transform: rotate(2deg); }
.refeed-stack i:nth-child(3) { top: 2px; background: repeating-linear-gradient(to bottom,#fff 0 5px,#ddd9d2 5px 6px); }
.refeed-tray { border: 1px solid #aaa69f; border-top: 0; border-radius: 0 0 5px 5px; }
.refeed-tray::before { content: ""; position: absolute; width: 27px; height: 19px; left: 7px; top: -7px; border: 1px solid #c2beb7; border-radius: 2px; background: #fff; transform: rotate(3deg); }
.refeed-tray i { position: absolute; width: 4px; height: 4px; bottom: 5px; border-radius: 50%; background: #77736d; }
.refeed-tray i:first-child { left: 12px; }
.refeed-tray i:last-child { right: 12px; }

.maintenance-dialog { position: absolute; z-index: 12; width: 42%; left: 50%; top: 51%; display: grid; justify-items: stretch; gap: 7px; padding: 16px; border: 1px solid rgba(0,0,0,.14); border-radius: 14px; background: rgba(252,252,251,.98); box-shadow: 0 24px 65px rgba(0,0,0,.28); transform: translate(-50%,-50%); text-align: center; }
.maintenance-dialog .dialog-mark { width: 28px; height: 28px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: #efede8; }
.maintenance-dialog h3 { margin: 2px 0 0; font-size: 14px; letter-spacing: -.035em; }
.maintenance-dialog p { margin: 0 0 3px; color: #716d66; font-size: 7px; line-height: 1.4; }
.maintenance-dialog button { min-height: 27px; border: 0; border-radius: 7px; background: var(--blue); color: white; font-size: 7px; font-weight: 650; cursor: pointer; }
.maintenance-dialog button:nth-of-type(2) { background: #eceae5; color: var(--ink); }
.maintenance-dialog button.text-action { background: transparent; color: #77736d; }
.maintenance-dialog small { color: #96918a; font-size: 5px; line-height: 1.35; }

.system-permission-dialog { position: absolute; z-index: 14; width: 46%; left: 50%; top: 50%; display: grid; justify-items: center; gap: 7px; overflow: hidden; padding: 15px 15px 0; border: 1px solid rgba(0,0,0,.14); border-radius: 14px; background: rgba(252,252,251,.985); box-shadow: 0 24px 65px rgba(0,0,0,.28); transform: translate(-50%,-50%); text-align: center; }
.system-permission-dialog h3 { max-width: 260px; margin: 1px 0 0; font-size: 12px; line-height: 1.18; letter-spacing: -.025em; }
.system-permission-dialog p { max-width: 260px; margin: 0 0 5px; color: #716d66; font-size: 7px; line-height: 1.42; }
.permission-app-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #f3f1ec; color: #292927; font-size: 8px; font-weight: 650; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.permission-actions { width: calc(100% + 30px); display: grid; grid-template-columns: 1fr 1fr; margin-top: 2px; border-top: 1px solid #dedbd5; }
.permission-actions button { min-height: 31px; border: 0; border-right: 1px solid #dedbd5; background: transparent; color: var(--blue); font-size: 7px; cursor: pointer; }
.permission-actions button:last-child { border-right: 0; font-weight: 650; }
.permission-actions.is-stacked { grid-template-columns: 1fr; }
.permission-actions.is-stacked button { border-right: 0; border-bottom: 1px solid #dedbd5; }
.permission-actions.is-stacked button:last-child { border-bottom: 0; font-weight: 400; }
.photos-flower { position: relative; width: 28px; height: 28px; transform: rotate(45deg); }
.photos-flower i { position: absolute; width: 13px; height: 13px; border-radius: 9px 2px 9px 2px; }
.photos-flower i:nth-child(1) { left: 1px; top: 1px; background: #ef4e83; }
.photos-flower i:nth-child(2) { right: 1px; top: 1px; background: #f5bd3f; transform: rotate(90deg); }
.photos-flower i:nth-child(3) { right: 1px; bottom: 1px; background: #58b885; transform: rotate(180deg); }
.photos-flower i:nth-child(4) { left: 1px; bottom: 1px; background: #4b91e8; transform: rotate(270deg); }

.photos-picker-dialog { position: absolute; z-index: 14; width: 68%; height: 76%; left: 50%; top: 50%; display: grid; grid-template-rows: 38px 30px minmax(0,1fr) 34px; overflow: hidden; border: 1px solid rgba(0,0,0,.14); border-radius: 13px; background: #fff; box-shadow: 0 24px 65px rgba(0,0,0,.28); transform: translate(-50%,-50%); }
.photos-picker-dialog header { display: grid; grid-template-columns: 28px 1fr 24px; align-items: center; gap: 7px; padding: 4px 8px; border-bottom: 1px solid #e6e3de; }
.photos-picker-dialog header .photos-flower { width: 22px; height: 22px; transform: rotate(45deg) scale(.78); }
.photos-picker-dialog header h3,.photos-picker-dialog header p { margin: 0; }
.photos-picker-dialog header h3 { font-size: 9px; }
.photos-picker-dialog header p { color: #89857e; font-size: 5.5px; }
.photos-picker-dialog header > button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f0eeea; color: #65615a; font-size: 12px; cursor: pointer; }
.photos-picker-dialog > nav { display: flex; justify-content: center; align-items: end; gap: 24px; border-bottom: 1px solid #ece9e4; }
.photos-picker-dialog > nav button { height: 30px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #88837c; font-size: 7px; cursor: pointer; }
.photos-picker-dialog > nav button.is-active { border-bottom-color: #2e2d2a; color: #2e2d2a; }
.photos-picker-dialog > nav button:disabled { opacity: .34; cursor: default; }
.photos-picker-dialog > main { min-height: 0; overflow: auto; padding: 9px 12px; }
.maintenance-photo-grid { height: 100%; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 5px; }
.maintenance-photo-tile { position: relative; min-height: 0; overflow: hidden; padding: 0; border: 0; border-radius: 4px; background: #e9e6df; cursor: pointer; }
.maintenance-photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.maintenance-photo-tile.variant-2 img { object-position: 68% 42%; filter: saturate(.7) brightness(1.08); }
.maintenance-photo-tile.variant-3 img { object-position: 20% 55%; filter: sepia(.18); }
.maintenance-photo-tile.variant-4 img { object-position: 82% 64%; filter: saturate(.82) contrast(1.08); }
.maintenance-photo-tile.variant-5 img { object-position: 42% 25%; filter: grayscale(.72); }
.maintenance-photo-tile.variant-6 img { object-position: 70% 28%; filter: saturate(1.18); }
.maintenance-photo-tile i { position: absolute; right: 4px; top: 4px; width: 13px; height: 13px; display: none; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--blue); color: #fff; font-size: 6px; font-style: normal; }
.maintenance-photo-tile.is-selected { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--blue); }
.maintenance-photo-tile.is-selected i { display: grid; }
.photos-picker-help { margin: 7px 0 0; color: #8c8881; font-size: 5.5px; text-align: center; }
.automatic-photo-choice { max-width: 310px; margin: 15px auto 0; display: grid; gap: 10px; text-align: center; }
.automatic-photo-choice p { margin: 0; color: #5e5b56; font-size: 8px; line-height: 1.4; }
.automatic-photo-choice .setting-segment { padding: 1px; border: 1px solid #dad8d3; border-radius: 7px; }
.automatic-photo-choice .setting-segment button { min-height: 28px; font-size: 7px; }
.automatic-photo-choice small { color: #918d86; font-size: 5.5px; }
.photos-picker-dialog > footer { display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border-top: 1px solid #e6e3de; color: #77736d; font-size: 6px; }
.photos-picker-dialog > footer button { min-width: 66px; height: 23px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-size: 6.5px; font-weight: 650; cursor: pointer; }
.photos-picker-dialog > footer button:disabled { opacity: .35; cursor: default; }

.paper.is-photo { width: 34%; left: 26.5%; top: 34%; aspect-ratio: 3 / 4; padding: 2.5%; background: rgba(255,255,255,.82); }
.photo-paper-content { position: relative; width: 100%; height: 100%; overflow: hidden; }
.physical-photo { width: 100%; height: 100%; object-fit: cover; }
.developing-label { display: none; position: absolute; left: 50%; bottom: 4%; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.76); color: #625e57; font: 6px/1 -apple-system, sans-serif; transform: translateX(-50%); }
.paper.is-printing.has-lut .developing-label { display: block; animation: developingLabel 4.4s ease both; }
.paper.is-printing.has-lut .physical-photo { animation: photoDevelop 4.4s ease both; }
@keyframes photoDevelop { 0%, 15% { opacity: .08; filter: blur(5px) grayscale(1); } 65% { opacity: .72; filter: blur(1px) grayscale(.35); } 100% { opacity: 1; } }
@keyframes developingLabel { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

.print-preview-page.is-photo { padding: 5%; }
.print-preview-page.is-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .experience { grid-template-rows: minmax(700px, 1fr) auto; overflow: auto; }
  .stage { min-height: 700px; }
  .mac { width: 94vw; left: 3%; top: 2%; }
  .phone { width: 22vw; min-width: 126px; right: 5%; top: 41%; }
  .printer-zone { width: 28vw; height: 25vh; left: 69%; bottom: 6%; }
  .start-card-wrap { width: 48vw; min-width: 280px; left: 5%; bottom: 22%; }
  .experience:is([data-scene="intro"], [data-scene="unboxing"], [data-scene="card"]) .printer-zone { width: min(68vw, 570px); height: 68vh; left: 50%; }
  .experience:is([data-scene="intro"], [data-scene="unboxing"], [data-scene="card"]) .start-card-wrap { width: min(54vw, 410px); left: 50%; top: 47%; }
  .envelope-frame { width: min(62vw, 470px); }
  .timeline-bar { grid-template-columns: 1fr; padding: 12px 18px; }
  .journey-timeline { grid-column: 1 / -1; grid-row: 2; }
  .timeline-copy { min-width: 0; }
  .studio-workarea { grid-template-columns: minmax(0, 1fr) 205px; }
  .preview-workarea { grid-template-columns: minmax(0, 1fr) 190px; }
}

@media (max-width: 620px) {
  .experience { grid-template-rows: minmax(680px, 1fr) auto; }
  .stage { min-height: 680px; }
  .mac { width: 96vw; left: 2%; top: 1.5%; }
  .phone { width: 30vw; right: 5%; top: 35%; }
  .printer-zone { width: 32vw; height: 24vh; left: 65%; bottom: 7%; }
  .start-card-wrap { width: 78vw; left: 6%; bottom: 23%; }
  .experience:is([data-scene="intro"], [data-scene="unboxing"], [data-scene="card"]) .printer-zone { width: 88vw; height: 60vh; left: 50%; bottom: 0; }
  .experience:is([data-scene="intro"], [data-scene="unboxing"], [data-scene="card"]) .start-card-wrap { width: 82vw; left: 50%; top: 45%; }
  .envelope-frame { width: 88vw; top: 49%; }
  .card-face { padding: 24px; }
  .timeline-copy p { display: none; }
  .timeline-step span { font-size: .58rem; }
  .timeline-branch { margin-left: 0; }
  .studio-window { grid-template-columns: 50px minmax(0, 1fr); }
  .studio-rail { padding-inline: 4px; }
  .studio-brand { width: auto; height: 72px; font-size: 7px; }
  .studio-destinations { gap: 62px; }
  .studio-rail-button { width: 36px; height: 36px; }
  .studio-content { grid-template-rows: minmax(0, 1fr) 38px; }
  .studio-import { padding: 12px; }
  .studio-import-picker { top: 9px; right: 9px; }
  .studio-import-trigger span { display: none; }
  .studio-import-trigger { width: 29px; justify-content: center; padding: 0; }
  .drop-zone { width: 100%; min-height: 210px; gap: 5px; }
  .studio-ink-stage { width: 170px; height: 138px; transform: scale(.88); }
  .drop-zone strong { font-size: 8px; }
  .studio-workarea { grid-template-columns: minmax(0, 1fr) 180px; }
  .preview-workarea { grid-template-columns: minmax(0, 1fr) 170px; }
  .studio-inspector { padding: 10px; }
}

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

/* Password gate and welcome */
html.is-gated body { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; background: #fff; }
.gate[hidden], .gate [hidden] { display: none; }
.gate-panel { width: min(100%, 440px); display: grid; gap: 16px; justify-items: center; text-align: center; }
.gate-brand { margin: 0; color: var(--ink-soft); font-size: 13px; letter-spacing: .04em; }
.gate-copy { margin: 0; color: var(--ink-soft); font-size: 15px; }
.gate-input { width: min(100%, 280px); padding: 11px 14px; border: 1px solid var(--hairline); border-radius: 10px; font: inherit; font-size: 15px; text-align: center; background: #fff; color: var(--ink); }
.gate-input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.gate-error { margin: 0; color: var(--red); font-size: 13px; }
.gate-button { padding: 12px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.gate-button.is-quiet { background: #f1f0ed; color: var(--ink-soft); cursor: default; }
.gate-button small { margin-left: 6px; font-size: 11px; opacity: .8; }

/* Folded paper welcome */
.gate:has(.gate-sheet:not([hidden])) { background: radial-gradient(120% 90% at 50% 35%, #a9a9a9 0%, #969696 70%, #8a8a8a 100%); }
.gate-sheet {
  position: relative; display: grid; grid-template-rows: 234fr 224fr 237fr;
  height: min(80vh, 820px); aspect-ratio: 8.5 / 11; max-width: 80vw;
  background: #f1f1f1 url("./assets/folded-paper-thirds.jpg") center / 100% 100% no-repeat;
  box-shadow: 0 1px 1px rgba(0,0,0,.25), 0 18px 34px rgba(0,0,0,.28);
}
.gate-sheet[hidden] { display: none; }
.fold { position: relative; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 6% 9%; text-align: center; }
.fold-brand { margin: 0; color: #a2a4a8; font-size: clamp(12px, 1.6vh, 15px); letter-spacing: .06em; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 -1px 0 rgba(60,62,70,.28); }
.fold h1 { margin: 0; color: #3b3d42; font-size: clamp(18px, 3.1vh, 27px); font-weight: 500; line-height: 1.32; letter-spacing: -.01em; text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.emboss-button {
  position: relative; width: min(100%, 250px); padding: 15px 14px; border: 0; border-radius: 13px;
  background: transparent; color: #a0a2a7; font: inherit; font-size: clamp(11px, 1.55vh, 14px); font-weight: 500; cursor: pointer;
  text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 -1px 0 rgba(60,62,70,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 1px rgba(60,62,70,.16), 0 1px 0 rgba(255,255,255,.95), 0 -1px 1px rgba(60,62,70,.3), 1px 2px 2px rgba(60,62,70,.14);
  transition: color .16s ease, box-shadow .16s ease;
}
.emboss-button::before { content: ""; position: absolute; inset: 3px; border-radius: 10px; pointer-events: none; box-shadow: inset 0 1px 1px rgba(60,62,70,.22), inset 0 -1px 0 rgba(255,255,255,.85); }
.emboss-button:hover:not(:disabled) { color: #5b5d63; }
.emboss-button:active:not(:disabled) { box-shadow: inset 0 2px 3px rgba(60,62,70,.32), 0 1px 0 rgba(255,255,255,.95); }
.emboss-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.emboss-button.is-soon { color: #b9bbbf; cursor: default; }
.emboss-button small { display: block; margin-top: 3px; font-size: .8em; font-weight: 400; }

/* Welcome: hardwood desk, letterpress ink */
.gate-table { position: absolute; inset: 0; display: none; z-index: 0; }
.gate:has(.gate-sheet:not([hidden])) .gate-table { display: block; }
.gate:has(.gate-sheet:not([hidden])) { background: #a87b45; }
.gate-table { background:
    radial-gradient(65% 55% at 50% 42%, rgba(255,236,200,.18) 0%, rgba(255,236,200,0) 70%),
    radial-gradient(130% 110% at 50% 45%, rgba(0,0,0,0) 50%, rgba(50,28,8,.32) 100%),
    url("./assets/oak-table.jpg") center / cover; }
.gate-sheet { z-index: 1; border-radius: 1px;
  background-color: #f8f2e8; background-blend-mode: multiply;
  box-shadow:
    0 0 0 .5px rgba(90,65,35,.22),
    1px 1px 1px rgba(80,55,28,.3),
    3px 4px 5px rgba(80,55,28,.2),
    9px 12px 22px rgba(80,55,28,.14),
    18px 26px 48px rgba(80,55,28,.1); }
.gate-sheet::after { content: ""; position: absolute; inset: 0; border-radius: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,252,246,.34) 0%, rgba(255,252,246,.2) 45%, rgba(120,95,60,.05) 100%); }
.gate .fold-brand, .gate .fold h1 { mix-blend-mode: multiply; text-shadow: none; }
.gate .fold h1, .gate .fold-brand { color: #1c1a17; filter: url(#ink1); opacity: .88; }

/* Buttons: no outline, debossed label with an arrow */
.gate .emboss-button { width: auto; max-width: 100%; display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 8px; padding: 10px 6px; border-radius: 0; background: transparent; box-shadow: none; color: #8d8f94; letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 -1px 0 rgba(40,42,52,.4); }
.gate .emboss-button::before { display: none; }
.gate .emboss-button:not(.is-soon)::after { content: "\2192"; font-size: 1.15em; line-height: 1; transition: transform .2s ease; }
.gate .emboss-button:hover:not(:disabled) { color: #6c6e74; box-shadow: none; }
.gate .emboss-button:hover:not(:disabled)::after { transform: translateX(3px); }
.gate .emboss-button:active:not(:disabled) { box-shadow: none; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 -1px 0 rgba(40,42,52,.55); }
.gate .emboss-button.is-soon { color: #b3b5b9; }
.gate .emboss-button small { flex-basis: 100%; }
.fold-c { gap: 8px; }

/* Uniform type size, regular ink labels */
.gate .fold-brand, .gate .fold h1, .gate .emboss-button, .gate .emboss-button small { font-size: clamp(13px, 1.95vh, 16px); font-weight: 400; line-height: 1.45; letter-spacing: .005em; }
.gate .emboss-button small { font-size: .75em; }
.gate .fold h1 { max-width: 30ch; }
.gate .emboss-button { mix-blend-mode: multiply; text-shadow: none; color: #1c1a17; filter: url(#ink1); opacity: .88; font-weight: 400; }
.gate .emboss-button:hover:not(:disabled) { color: #000; }
.gate .emboss-button:active:not(:disabled) { text-shadow: none; }
.gate .emboss-button.is-soon { color: #1c1a17; opacity: .5; }
.gate .emboss-button small { font-size: .75em; font-style: italic; opacity: .8; }

/* Quick-start card: one type size, matching the welcome page */
.card-face { align-items: center; justify-content: space-between; text-align: center; }
.card-face .card-eyebrow, .card-face p, .card-face p:not(.card-eyebrow), .card-back p:not(.card-eyebrow), .card-url, .card-link, .card-face strong { font-size: .76rem; font-weight: 400; letter-spacing: .005em; line-height: 1.45; margin: 0; color: #1c1a17; }
.card-eyebrow { align-self: center; }
.card-face > div:not(.card-footer) { max-width: 27ch; }
.card-url { color: #1c1a17; border-bottom: 1px solid rgba(28,26,23,.4); }
.card-link { color: #1c1a17; opacity: .65; }

/* Password page: blank white, one input */
.gate-login { gap: 10px; }
.gate-login .gate-input { width: min(100%, 240px); padding: 10px 2px; border: 0; border-bottom: 1px solid #cfcfcf; border-radius: 0; background: transparent; font-size: 15px; text-align: center; }
.gate-login .gate-input:focus-visible { outline: 0; border-bottom-color: #1d1d1f; }
.gate-login .gate-error { font-size: 12px; color: #8a8a8a; }

/* Welcome: letter-size folded sheet on white */
.gate:has(.gate-sheet:not([hidden])) { background: #fff; padding: 0; }
.gate:has(.gate-sheet:not([hidden])) .gate-table { display: none; }
.gate .gate-sheet { position: relative; inset: auto; width: auto; height: min(90vh, 900px); aspect-ratio: 8.5 / 11; max-width: 94vw; border-radius: 1px; transform: none; background-size: 100% 100%;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.1); }
.gate .gate-sheet::after { border-radius: 1px; }

/* Quick-start card: large brand, readable text, left-aligned */
.card-face { align-items: center; justify-content: space-between; text-align: center; padding: clamp(22px, 2.6vw, 38px); }
.card-face .card-eyebrow { align-self: center; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; color: #1c1a17; }
.card-face p, .card-face p:not(.card-eyebrow), .card-back p:not(.card-eyebrow), .card-url, .card-link, .card-face strong { font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.4; }
.card-face > div:not(.card-footer) { max-width: none; }
.card-back > div:not(.card-footer) { max-width: 26ch; margin: 0 auto; }
.card-footer, .card-footer-back { justify-content: center; min-height: 0; }
.card-link { padding: 0; text-align: center; }
.card-face .card-link span { margin-right: 4px; }

/* Website and installer: plain white macOS */
.app-window, .safari-window, .finder-window { background: #fff; }
.window-titlebar { background: #f6f6f6; border-bottom: 1px solid #e6e6e6; }
.safari-toolbar { background: #fff; border-bottom: 1px solid #ececec; }
.start-page { background: #fff; gap: 14px; filter: none; }
.start-page.is-muted { filter: none; }
.start-page-mark { margin: 0; transform: scale(1); }
.start-page-eyebrow { margin: 0; color: #1d1d1f; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-transform: none; }
.start-page-button { margin-top: 6px; padding: 8px 18px; border-radius: 8px; background: var(--blue); font-size: 10px; font-weight: 600; }
.finder-toolbar { background: #fff; border-bottom: 1px solid #ececec; }
.installer-body { background: #fff; }
.centered-app { background: #fff; }
.system-dialog { background: #fff; }
.timeline-copy p { display: none; }

/* Buttons match the application: white, hairline, small radius */
.start-page-button, .native-button, .download-open, .system-dialog-actions button, .system-dialog-actions button:last-child {
  border: 1px solid #dedede; border-radius: 7px; background: #fff; color: #333; box-shadow: none; font-weight: 500; font-size: 9px; }
.start-page-button { padding: 8px 16px; font-size: 10px; }
.native-button { height: 30px; min-width: 96px; font-size: 9px; }
.start-page-button:hover, .native-button:hover:not(:disabled), .download-open:hover, .system-dialog-actions button:hover { border-color: #bdbdbd; color: #111; }
.native-button:disabled { opacity: .45; }

/* Setup screens: match the application */
.setup-window .centered-app { background: #fff; }
.setup-window .app-content h2 { font-size: 14px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: #1d1d1f; }
.setup-window .app-content > p { max-width: 36ch; margin: 6px auto 0; font-size: 9px; line-height: 1.45; color: #76787b; }
.setup-window .wait-pill { margin-top: 18px; padding: 0; background: transparent; color: #76787b; font-size: 9px; }
.setup-window .field-label { font-size: 8px; font-weight: 400; color: #76787b; }
.setup-window .field-control { height: 30px; border: 1px solid #dedede; border-radius: 7px; font-size: 9px; color: #333; }
.setup-window .field-control:focus { border-color: #bdbdbd; box-shadow: none; }
.wifi-window .app-content h2, .found-window .app-content h2 { font-size: 14px; }
.native-button.is-quiet { border-color: transparent; background: transparent; color: #76787b; }
.native-button.is-quiet:hover { color: #1d1d1f; border-color: transparent; }
.setup-window .wait-pill + .native-button { display: block; margin: 14px auto 0; }

.check-list { width: min(100%, 200px); gap: 11px; margin-top: 18px; }
.check-row { gap: 10px; font-size: 9px; color: #333; }
.check-mark { position: relative; width: 14px; height: 14px; flex: none; }
.check-mark i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #1d1d1f; color: #fff; font-size: 8px; opacity: 0; transform: scale(.6); animation: checkPop .3s var(--d) ease forwards; }
.check-spin { position: absolute; inset: 1px; border: 1.5px solid #dcdcdc; border-top-color: #555; border-radius: 50%; animation: checkSpin .7s linear infinite, checkHide .01s var(--d) forwards; }
.check-text { position: relative; display: block; height: 1.3em; flex: 1; }
.check-text em { position: absolute; left: 0; top: 0; font-style: normal; white-space: nowrap; }
.check-text .is-pending { color: #76787b; animation: checkHide .01s var(--d) forwards; }
.check-text .is-done { opacity: 0; animation: checkShow .3s var(--d) forwards; }
.check-actions { display: grid; justify-items: center; gap: 4px; margin-top: 16px; }
.check-continue { margin: 0; opacity: 0; pointer-events: none; animation: checkShow .4s 3.5s forwards, checkClick 0s 3.5s forwards; }
@keyframes checkSpin { to { transform: rotate(360deg); } }
@keyframes checkHide { to { opacity: 0; visibility: hidden; } }
@keyframes checkShow { to { opacity: 1; } }
@keyframes checkPop { to { opacity: 1; transform: scale(1); } }
@keyframes checkClick { to { pointer-events: auto; } }

.setup-window .studio-content { position: static; }
.setup-window .studio-body { height: 100%; }
.setup-window .centered-app { height: 100%; padding: 4% 7%; }
.setup-troubleshoot { position: absolute; top: 12px; right: 16px; z-index: 3; padding: 4px 2px; border: 0; background: transparent; color: #9a9ca0; font-size: 8px; cursor: pointer; }
.setup-troubleshoot:hover { color: #1d1d1f; }
.setup-window .wait-pill + .native-button { display: none; }

/* Quick-start card: uncoated cream stock, blind-embossed mark, small mono type */
.start-card .card-face {
  --card-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .33 0 0 0 0 .25 0 0 0 .38 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E");
  display: block; padding: 0; border: 0; border-radius: 3px; text-align: left;
  background: var(--card-grain), linear-gradient(160deg, #f4f3e8 0%, #eeede0 60%, #e8e7d8 100%);
  box-shadow: 0 0 0 .5px rgba(70,65,45,.18), 0 1px 1px rgba(60,55,40,.3), 0 10px 24px rgba(60,55,40,.18);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3b3a35; }
.start-card .card-face .card-emboss { position: absolute; left: 0; right: 0; top: 40%; transform: translateY(-50%); margin: 0; text-align: center;
  font-size: clamp(1.9rem, 3.1vw, 2.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: #eceadc;
  text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 -1px 1px rgba(90,85,60,.34), 1px 1px 1px rgba(255,255,255,.4); }
.start-card .card-face .card-emboss.is-small { font-size: clamp(1.15rem, 1.9vw, 1.7rem); }
.start-card .card-row { position: absolute; left: 7%; right: 7%; bottom: 9%; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.start-card .card-face .card-row p, .start-card .card-face .card-url, .start-card .card-face .card-link { margin: 0; padding: 0; border: 0; background: transparent; font: inherit; font-size: clamp(.62rem, .82vw, .76rem); line-height: 1.4; letter-spacing: 0; color: #3b3a35; text-align: left; opacity: 1; }
.start-card .card-face .card-url { border-bottom: 1px solid rgba(59,58,53,.45); cursor: pointer; }
.start-card .card-face .card-link { text-align: right; cursor: pointer; color: #6c6b63; }
.start-card .card-face .card-link:hover, .start-card .card-face .card-url:hover { color: #000; }
.start-card .card-face > .card-row { max-width: none; width: auto; margin: 0; left: 7%; right: 7%; }
.start-card .card-face .card-link { white-space: nowrap; }

/* Card refinements: lighter stock, raised mark, rough edges */
.start-card .card-face { background: none; box-shadow: none; }
.start-card .card-face::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--card-grain), linear-gradient(160deg, #fcfcf6 0%, #f8f8ef 60%, #f2f2e7 100%);
  filter: url(#paperEdge) drop-shadow(0 1px 1px rgba(60,55,40,.28)) drop-shadow(0 10px 18px rgba(60,55,40,.16)); }
.start-card .card-face .card-emboss, .start-card .card-face .card-row { z-index: 1; }
.start-card .card-face .card-emboss { color: #f8f8f0;
  text-shadow: -1px -1px 1px rgba(255,255,255,1), 1px 1px 1.5px rgba(95,90,65,.38), 2px 2px 3px rgba(95,90,65,.12); }

/* Embossed mark carries the card's own grain */
.start-card .card-face .card-emboss {
  background: var(--card-grain), linear-gradient(160deg, #f9f9f1 0%, #f5f5ea 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: -1px -1px 0 rgba(255,255,255,.7), 1px 1px 1px rgba(95,90,65,.2); }

/* Back of card: Plug in USB-C lives on the card, lower right */
.start-card .card-face .card-links { display: grid; justify-items: end; gap: 6px; }
.start-card .card-face .card-link-go { color: #3b3a35; }
.card-usb-action { display: none !important; }
