@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/_a/dm-sans.9fea608a94.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/_a/bricolage-grotesque.a79fdb52d4.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Wordmark';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/_a/nunito-wordmark.53ce73d781.woff2') format('woff2');
  unicode-range: U+002E,U+0045,U+005A,U+0061,U+0067,U+0069,U+006D,U+0070;
}
:root {
  --ink: #263e38;
  --muted: #526760;
  --jade: #23594c;
  --mint: #c8ead4;
  --peach: #ffbb94;
  --paper: #f6f8f2;
  --line: #cdd7cb;
  --white: #fffefa;
  --focus: #437bb8;
  --gold: #efd99b;
  --danger: #924637;
  --sage: color-mix(in srgb, var(--jade) 64%, var(--mint));
  --active: color-mix(in srgb, var(--mint) 69%, var(--white));
  --soft: color-mix(in srgb, var(--line) 45%, var(--paper));
  --wash: color-mix(in srgb, var(--mint) 27%, var(--white));
  --cream: color-mix(in srgb, var(--gold) 50%, var(--white));
  --blush: color-mix(in srgb, var(--peach) 40%, var(--white));
  --leaf-tape: color-mix(in srgb, var(--mint) 84%, transparent);
  --gold-tape: color-mix(in srgb, var(--gold) 80%, transparent);
  --drop-wash: color-mix(in srgb, var(--wash) 94%, transparent);
  --panel-shadow: rgb(38 62 56 / 21%);
  --shade: rgb(38 62 56 / 7%);
  --scrim: rgb(38 62 56 / 25%);
  --shadow: 0 3px 0 rgb(38 62 56 / 5%), 0 7px 20px rgb(38 62 56 / 6%);
  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  font:
    16px/1.5 'DM Sans',
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--white);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  cursor: pointer;
  background: transparent;
}
button:disabled {
  opacity: 0.36;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.icon-bank {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.skip-link {
  position: fixed;
  top: 5px;
  left: 12px;
  z-index: 30;
  transform: translateY(-150%);
  background: var(--jade);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
}
.studio {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 475px;
}
.site-bar {
  min-height: 68px;
  height: 68px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(16px, 2.45vw, 44px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 28px/1 var(--display);
  letter-spacing: -1.45px;
  white-space: nowrap;
}
.brand > svg {
  height: 40px;
  width: 40px;
}
.brand-end {
  color: var(--sage);
}
.bar-actions,
.history,
.guide-link,
.button,
.entry-actions,
.section-label,
.text-link,
.doc-chip,
.shortcut-link,
.action-strip,
.action-strip button {
  display: flex;
  align-items: center;
}
.bar-actions {
  gap: 22px;
}
.history {
  gap: 3px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 36px;
  border-radius: 9px;
}
.icon-button:hover:enabled,
.guide-link:hover {
  background: var(--wash);
}
.history .icon {
  width: 18px;
}
.guide-link {
  gap: 8px;
  font-weight: 650;
  font-size: 14px;
  padding: 7px 4px;
  border-radius: 6px;
}
.guide-link .icon {
  width: 18px;
}
.button {
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 720;
  font-size: 15px;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.button:active:enabled {
  transform: translateY(1px);
}
.button.primary {
  color: white;
  background: var(--jade);
  border: 1px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.button.primary:hover {
  background: var(--ink);
}
.button.dark {
  color: var(--white);
  background: var(--jade);
  border: 1px solid var(--ink);
}
.button.dark:hover {
  background: var(--ink);
}
.button.soft {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(36, 64, 42, 0.07);
}
.button.soft:hover {
  background: var(--wash);
}
.export-main {
  min-height: 39px;
  border-radius: 10px;
  padding: 0 15px;
  font-size: 14px;
}
.export-main .icon {
  width: 17px;
}
.desk {
  position: relative;
  isolation: isolate;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(color-mix(in srgb,var(--sage) 29%,transparent) .8px, transparent 1.05px),
    radial-gradient(ellipse at 100% 4%, color-mix(in srgb,var(--peach) 24%,transparent), transparent 48%),
    radial-gradient(ellipse at 6% 100%, color-mix(in srgb,var(--gold) 25%,transparent), transparent 44%),
    linear-gradient(140deg, color-mix(in srgb,var(--mint) 55%,var(--paper)), var(--paper) 49%, color-mix(in srgb,var(--mint) 41%,var(--white)));
  background-position: var(--grid-origin,0 0), center, center, center;
  background-size: var(--grid-step,20px) var(--grid-step,20px), 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}
.viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  outline-offset: -3px !important;
}
.viewport:focus:not(:focus-visible) {
  outline: none;
}
.viewport.is-hand,
.viewport.is-space {
  cursor: grab;
}
.viewport.is-panning {
  cursor: grabbing;
}
.world {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  --inv: 1;
}
.marquee, .selection-frame {
  position: absolute;
  pointer-events: none;
}
.marquee {
  z-index: 3;
  background: color-mix(in srgb,var(--mint) 32%,transparent);
  border: 1px solid var(--jade);
  border-radius: 2px;
}
.selection-wash {
  position: absolute;
  cursor: move;
}
.selection-wash::before {
  content: '';
  position: absolute;
  inset: calc(-7px * var(--inv));
  border-radius: calc(5px * var(--inv));
  --weave: color-mix(in srgb,var(--sage) 11%,transparent);
  background-color: var(--white);
  background-image: linear-gradient(90deg,var(--weave) 50%,transparent 50%), linear-gradient(var(--weave) 50%,transparent 50%);
  background-size: calc(20px * var(--inv)) calc(20px * var(--inv));
  box-shadow: 0 0 0 calc(1px * var(--inv)) color-mix(in srgb,var(--jade) 43%,var(--white));
}
.world[data-selection-surface=paper] .selection-wash::before {
  background: color-mix(in srgb,var(--gold) 5%,var(--white));
}
.selection-frame { z-index: 2147483647; }
.selection-frame::before {
  content: '';
  position: absolute;
  inset: calc(-8px * var(--inv));
  border: calc(2px * var(--inv)) solid var(--jade);
  border-radius: calc(4px * var(--inv));
  --corner: #000 calc(12px * var(--inv)), transparent 0;
  mask: radial-gradient(circle at top left,var(--corner)), radial-gradient(circle at top right,var(--corner)),
        radial-gradient(circle at bottom left,var(--corner)), radial-gradient(circle at bottom right,var(--corner));
}
.selection-caption {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) scale(var(--inv)) translateY(12px);
  transform-origin: top center;
  border-radius: 6px;
  background: var(--jade);
  color: white;
  white-space: nowrap;
  padding: 2px 8px;
  font: 650 12px/1.6 'DM Sans', sans-serif;
  pointer-events: auto;
  cursor: move;
}
.selection-caption strong { font-weight: 750; }
.selection-caption span { border-inline-start: 1px solid #ffffff65; padding-inline-start: 7px; }
.desk[data-pictures=true] .world:has(.selection-frame:not([hidden])) .piece[data-kind=image]:not(.is-selected) > canvas {
  filter: saturate(.7) contrast(.92) brightness(1.04);
}
.world:has(.selection-frame:not([hidden])) .piece.is-selected::before {
  content: '✓';
  position: absolute;
  z-index: 1;
  top: calc(3px * var(--inv));
  left: calc(3px * var(--inv));
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  transform: scale(var(--inv));
  transform-origin: top left;
  border: 1.5px solid white;
  border-radius: 50%;
  background: var(--jade);
  color: white;
  font: 750 12px/1 'DM Sans', sans-serif;
  pointer-events: none;
}
.piece.is-reordering { z-index: 2147483646 !important; opacity: .78; }
.piece.is-drop-target { outline: calc(4px * var(--inv)) dashed var(--jade); outline-offset: calc(2px * var(--inv)); }
.snap-guide { position: absolute; pointer-events: none; background: var(--jade); opacity: .75; }
.snap-guide.vertical { top: 0; bottom: 0; width: 1px; }
.snap-guide.horizontal { left: 0; right: 0; height: 1px; }
.context-menu {
  position: absolute;
  z-index: 12;
  display: grid;
  min-width: 175px;
  max-height: 90%;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.context-menu button {
  padding: 7px 12px;
  text-align: left;
  border-radius: 7px;
  font-size: 13px;
}
.context-menu button:is(:hover,:focus-visible) { background: var(--active); }
.piece {
  position: absolute;
  touch-action: none;
  cursor: move;
}
:is(.is-hand,.is-space,.is-panning) :is(.piece,.selection-wash,.selection-caption) {
  cursor: inherit;
}
.piece canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.piece.is-selected::after {
  content: '';
  position: absolute;
  inset: 0;
  outline: calc(2px * var(--inv)) solid var(--sage);
  pointer-events: none;
}
.piece .piece-name {
  position: absolute;
  bottom: 100%;
  left: 0;
  transform: scale(var(--inv));
  transform-origin: bottom left;
  white-space: nowrap;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--jade);
  color: white;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px 5px 0 0;
  font-size: 12px;
  pointer-events: none;
}
.piece .handle {
  position: absolute;
  width: calc(12px * var(--inv));
  height: calc(12px * var(--inv));
  border: calc(2px * var(--inv)) solid var(--sage);
  border-radius: calc(3px * var(--inv));
  background: white;
  padding: 0;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.piece .handle::before {
  content: '';
  position: absolute;
  inset: calc(-5px * var(--inv));
}
.handle[data-corner='nw'] {
  left: 0;
  top: 0;
  cursor: nwse-resize;
}
.handle[data-corner='ne'] {
  left: 100%;
  top: 0;
  cursor: nesw-resize;
}
.handle[data-corner='sw'] {
  left: 0;
  top: 100%;
  cursor: nesw-resize;
}
.handle[data-corner='se'] {
  left: 100%;
  top: 100%;
  cursor: nwse-resize;
}
.doc-chip,
.tool-rail,
.zoom-bar,
.action-strip,
.shortcut-link {
  position: absolute;
  z-index: 3;
}
.doc-chip {
  top: 22px;
  left: 25px;
  gap: 9px;
  font-size: 13px;
}
.doc-chip strong {
  font-weight: 680;
}
.doc-chip .icon {
  height: 20px;
  width: 20px;
}
.counter {
  color: var(--muted);
  padding-left: 9px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}
.tool-rail,
.zoom-bar,
.action-strip,
.shortcut-link {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tool-rail {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 17px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.tool-rail button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: relative;
}
.tool-rail button:hover,
.zoom-bar button:hover,
.action-strip button:hover,
.shortcut-link:hover {
  background: var(--wash);
}
.tool-rail button[aria-pressed='true'] {
  background: var(--active);
  color: var(--jade);
}
.tool-rail button .icon {
  width: 23px;
  height: 23px;
}
.tool-rail i {
  height: 1px;
  width: 23px;
  background: var(--line);
  margin: 2px 0;
}
.tool-rail [data-tip]:is(:hover, :focus-visible)::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 13px);
  padding: 5px 9px;
  color: white;
  background: var(--ink);
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.welcome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.welcome-center {
  text-align: center;
  position: relative;
  margin-top: -26px;
  max-width: min(710px, 54vw);
}
.welcome-art { display: flex; align-items: center; justify-content: center; margin-bottom: 17px; }
.camera-button { display: block; flex: none; padding: 0; border-radius: 20%; }
.camera-body { display: block; position: relative; transform-origin: 50% 76%; }
.camera-art {
  width: auto;
  max-width: clamp(128px, 15.6vw, 199px);
  height: auto;
  max-height: 22vh;
  display: block;
  filter: drop-shadow(0 7px 4px rgba(42, 67, 48, 0.065));
}
.camera-body::after {
  content: ''; position: absolute; left: 17%; top: 18.5%; width: 12%; height: 6.8%;
  border-radius: 28%; background: var(--cream); box-shadow: 0 0 9px 3px var(--gold);
  opacity: 0; pointer-events: none;
}
.desk:has(> .drop-screen:not([hidden])) .camera-body::after { opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .camera-body {
    animation: ez-camera-bob 4.8s ease-in-out infinite;
    transition: translate 220ms ease-out, rotate 220ms ease-out, scale 160ms ease-out;
  }
  .camera-body::after { transition: opacity 180ms ease; }
  @keyframes ez-camera-bob {
    0%, 56%, 100% { transform: none; }
    21% { transform: translateY(-5px) rotate(-2.5deg); }
    39% { transform: translateY(-1px) rotate(1deg); }
  }
  @media (hover: hover) {
    .camera-button:hover .camera-body { translate: 0 -4px; rotate: -4deg; }
  }
  .camera-button:focus-visible .camera-body { translate: 0 -4px; rotate: -4deg; }
  .camera-button:active .camera-body { scale: .96; }
  .desk:has(> .drop-screen:not([hidden])) .camera-body { translate: 0 -9px; rotate: 5deg; scale: 1.05; }
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.welcome .drop-title {
  display: block;
  font: 750 clamp(34px, 3.9vw, 57px) / 1.06 var(--display);
  letter-spacing: -0.048em;
  color: var(--ink);
}
.welcome-heading { position: relative; }
.import-formats {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 550;
  line-height: 1.45;
}
.drop-prompt { display: none; position: absolute; inset: 0; place-items: center; color: var(--jade); font: 720 clamp(21px,3.2vw,35px)/1.12 var(--display); }
.desk:has(> .drop-screen:not([hidden])) .welcome-heading > :first-child { visibility: hidden; }
.desk:has(> .drop-screen:not([hidden])) .drop-prompt { display: grid; }
.welcome-center .import-privacy {
  margin: 12px auto 0; color: var(--muted);
  font-size: 12px; font-weight: 550; line-height: 1.45;
}
.import-privacy .icon { width: 15px; height: 15px; margin-inline-end: 4px; vertical-align: -3px; fill: var(--mint); }
.action-strip button[aria-pressed='true'] {
  background: var(--active);
}
.entry-actions {
  justify-content: center;
  gap: 10px;
  margin: 23px 0 15px;
}
.sample-faces { display: inline-flex; align-items: center; padding-left: 2px; }
.sample-faces img {
  width: 25px;
  height: 25px;
  border: 2px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
}
.sample-faces img + img { margin-left: -9px; }
.mini-print { display: none; }
@media (max-width: 760px) and (min-height: 500px) {
  .welcome-art { display: flex; gap: clamp(9px, 3vw, 19px); align-items: center; justify-content: center; margin-bottom: 15px; }
  .welcome-art .mini-print {
    display: block;
    flex: 0 0 clamp(57px, 17vw, 81px);
    padding: 4px 4px 5px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: var(--shadow);
    transform: translateY(10px) rotate(-10deg);
  }
  .mini-print:last-child { transform: translateY(-9px) rotate(9deg); }
  .mini-print img { width: 100%; height: auto; display: block; }
  .mini-print span { display: block; font: 650 12px/1.1 var(--display); margin-top: 4px; }
  .entry-actions .sample-faces { display: none; }
}
.welcome button {
  pointer-events: auto;
}
kbd {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  padding: 0 5px;
  border-radius: 5px;
  font:
    600 12px/1.55 'DM Sans',
    sans-serif;
  color: var(--muted);
}
.sample-print {
  position: absolute;
  width: clamp(114px, 12.3vw, 192px);
  padding: 8px 8px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow:
    0 5px 9px rgba(35, 52, 36, 0.09),
    0 15px 27px rgba(35, 52, 36, 0.055);
  transition: transform 0.18s;
}
.sample-print::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 32%;
  height: 21px;
  width: 38%;
  background: var(--gold-tape);
  transform: rotate(-4deg);
  clip-path: polygon(2% 5%, 100% 0, 98% 24%, 100% 44%, 97% 68%, 100% 94%, 0 100%, 3% 67%, 0 50%, 3% 24%);
}
.sample-print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}
.sample-print span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 0;
  font: 650 clamp(12px, 1vw, 14px) / 1.2 var(--display);
  letter-spacing: -0.02em;
}
.sample-print b {
  font: 500 14px/1.1 system-ui;
  color: var(--muted);
}
.print-bunny {
  left: clamp(104px, 16%, 350px);
  top: 47%;
  transform: rotate(-10deg);
}
.print-bear {
  right: clamp(80px, 14%, 320px);
  top: 24%;
  transform: rotate(10deg);
}
.print-bear::before {
  background: var(--leaf-tape);
  transform: rotate(5deg);
}
.print-bunny:hover {
  transform: rotate(-6deg) translateY(-3px);
}
.print-bear:hover {
  transform: rotate(6deg) translateY(-3px);
}
.zoom-bar {
  left: 24px;
  bottom: 23px;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 11px;
}
.zoom-bar button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 30px;
  border-radius: 6px;
  padding: 0;
}
.zoom-bar .icon {
  width: 15px;
  height: 15px;
}
.zoom-bar .zoom-value {
  width: 44px;
  font-size: 12px;
  font-weight: 670;
  font-variant-numeric: tabular-nums;
}
.zoom-bar i {
  background: var(--line);
  width: 1px;
  height: 20px;
  margin: 0 3px;
}
.shortcut-link {
  right: 24px;
  bottom: 24px;
  gap: 6px;
  font-size: 12px;
  font-weight: 640;
  border-radius: 10px;
  padding: 8px 10px;
}
.shortcut-link .icon {
  width: 17px;
  height: 17px;
}
.action-strip {
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  border-radius: 10px;
  padding: 3px 5px 3px 10px;
  gap: 6px;
  font-size: 12px;
}
.action-strip > span {
  white-space: nowrap;
}
.action-strip button {
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 6px;
  border-radius: 6px;
}
.action-strip .icon {
  width: 15px;
  height: 15px;
}
.notice {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  text-align: center;
  max-width: min(86%, 540px);
  font-size: 13px;
}
.notice:not(:empty),
.no-js {
  background: var(--ink);
  color: white;
  padding: 8px 15px;
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.notice-shutter {
  display: inline-block; position: relative; width: 19px; height: 14px; margin-inline-end: 7px;
  vertical-align: -2px; border-radius: 4px; background: var(--mint);
}
.notice-shutter::before { content: ''; position: absolute; left: 3px; top: -2px; width: 6px; height: 4px; border-radius: 2px; background: var(--mint); }
.notice-shutter::after {
  content: ''; position: absolute; left: 6px; top: 3px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--ink); border: 1px solid var(--white);
}
@media (prefers-reduced-motion: no-preference) {
  .notice-shutter::after { animation: ez-shutter 420ms ease-in-out; }
  @keyframes ez-shutter { 38% { transform: scaleY(.15); } }
}
.no-js {
  position: absolute;
  z-index: 6;
  bottom: 80px;
  left: 12px;
}
.drop-screen {
  position: absolute;
  inset: 9px;
  display: grid;
  place-items: center;
  border: 3px dashed var(--sage);
  background: var(--drop-wash);
  z-index: 8;
  pointer-events: none;
  border-radius: 18px;
  font: 750 28px var(--display);
}
.desk[data-populated=false] .drop-screen { background: transparent; }
.desk[data-populated=false] .drop-screen > span { display: none; }
.guide {
  max-width: 1180px;
  margin: auto;
  padding: 88px 42px 72px;
}
.guide-intro,
.guide-faq {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
}
.guide-feature figcaption { color: var(--muted); margin: 10px 1px 0; font-size: 13px; line-height: 1.45; }
.guide-tools { margin: 52px 0; }
.guide-tools h2 { font-size: clamp(26px, 3.4vw, 42px); }
.guide-tools dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 20px; margin: 22px 0 0; }
.guide-tools dl > div { border-top: 2px solid var(--line); padding-top: 11px; }
.guide-tools dt { font-weight: 730; }
.guide-tools dd { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.section-label {
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  margin-bottom: 15px;
}
.section-label .icon {
  width: 19px;
}
.guide h2,
.text-page h1 {
  font: 780 clamp(34px, 4.4vw, 59px) / 1.01 var(--display);
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.guide-intro > p,
.guide-feature p,
.guide-faq details p,
.text-page p,
.text-page li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.guide-intro > p {
  max-width: 45ch;
}
.guide-feature {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: clamp(30px, 5vw, 73px);
  align-items: center;
  margin-top: 48px;
}
.guide-feature.reverse {
  grid-template-columns: 1fr 1.15fr;
  margin: 64px 0;
}
.guide-feature.reverse figure {
  order: 2;
}
.guide-feature figure {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(14px, 2.4vw, 30px);
}
.guide-feature.reverse figure {
  background: var(--blush);
  border-color: var(--line);
}
.guide-feature figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shade);
}
.guide-opening {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4.5vw, 58px);
}
.guide > .guide-opening { margin-top: 0; }
.guide-opening h2 em { display: block; color: var(--jade); font-style: normal; }
.guide-opening p { max-width: 45ch; }
.guide-opening p strong { color: var(--ink); font-weight: 700; }
.guide-opening .button { margin-top: 21px; min-height: 44px; width: fit-content; }
.guide-opening figure {
  position: relative;
  padding: clamp(8px, 1vw, 14px);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.guide-opening figure::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 42%;
  width: 16%;
  height: 14px;
  background: var(--leaf-tape);
  transform: rotate(-3deg);
  pointer-events: none;
}
.guide-opening figcaption { margin: 9px 3px 1px; }
.guide-grid-help { margin-top: 24px; padding-block: 3px; border-block: 1px solid var(--line); }
.guide-grid-help summary { width: fit-content; padding: 12px 0; color: var(--jade); font-weight: 700; cursor: pointer; }
.guide-grid-help p { max-width: 75ch; margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: var(--wash);
  margin-bottom: 14px;
}
.feature-icon.peach {
  background: var(--blush);
}
.feature-icon .icon {
  width: 24px;
  height: 24px;
}
.guide h3,
.text-page h2 {
  font: 740 clamp(23px, 2.5vw, 33px) / 1.13 var(--display);
  letter-spacing: -0.045em;
}
.guide-feature p,
.text-page p {
  margin-top: 13px;
}
.text-link,
.back-link {
  font-weight: 700;
  color: var(--jade);
  font-size: 14px;
}
.text-link {
  gap: 6px;
  margin-top: 17px;
  width: fit-content;
}
.text-link .icon {
  width: 16px;
}
.text-link:hover,
.site-foot nav a:hover,
.back-link:hover,
.text-page p a:hover {
  text-decoration: underline;
}
.guide-faq {
  border-top: 1px solid var(--line);
  padding-top: 50px;
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
}
.guide-faq h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}
.guide-faq details {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.guide-faq details:first-child {
  padding-top: 0;
}
.guide-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 680;
}
.guide-faq summary::-webkit-details-marker {
  display: none;
}
.guide-faq summary span {
  color: var(--sage);
  font-size: 21px;
  font-weight: 500;
}
.guide-faq details[open] summary span {
  transform: rotate(45deg);
}
.guide-faq details p {
  margin-top: 9px;
  font-size: 15px;
}
.site-foot {
  border-top: 1px solid var(--line);
  padding: 23px max(24px, calc((100% - 1096px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site-foot .brand {
  font-size: 22px;
  gap: 5px;
}
.site-foot .brand svg {
  width: 31px;
  height: 31px;
}
.site-foot nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.text-page {
  max-width: 770px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  min-height: 72vh;
}
.text-page h1 {
  margin: 24px 0 16px;
}
.text-page h2 {
  margin-top: 33px;
}
.text-page a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-page p.lead {
  font-size: 19px;
}
.panel {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 0;
  width: min(435px, calc(100vw - 24px));
  max-height: calc(100dvh - 26px);
  box-shadow: 0 16px 60px var(--panel-shadow);
  overflow: auto;
}
.panel::backdrop {
  background: var(--scrim);
}
.panel.is-wide {
  width: min(576px, calc(100vw - 24px));
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px 10px;
}
.panel-head h2 {
  font: 750 25px/1.14 var(--display);
  letter-spacing: -0.045em;
}
.panel-head .icon {
  width: 18px;
}
.panel-body {
  padding: 0 20px 19px;
}
.panel-note:not(:empty) {
  margin: 0 20px 18px;
  padding: 8px 10px;
  background: var(--cream);
  border-radius: 8px;
  font-size: 13px;
}
.panel-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 5px 0 12px;
}
.panel-body .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
}
.panel-body input:not([type='checkbox']):not([type='color']):not([type='range']),
.panel-body select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 14px;
}
.field-row {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
.field-row > * {
  flex: 1;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.panel input[type='checkbox'],
.panel input[type='range'] {
  accent-color: var(--jade);
}
.panel input[type='color'] {
  width: 100%;
  min-height: 36px;
  padding: 1px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
}
.segments {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.segments button,
.op-grid button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 620;
  padding: 7px 12px;
}
.segments button[aria-pressed='true'] {
  background: var(--active);
  border-color: var(--sage);
}
.panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.panel-actions .button {
  min-height: 40px;
  font-size: 14px;
  padding: 0 15px;
}
.panel-actions .icon {
  width: 17px;
}
.op-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.op-grid button {
  text-align: left;
  min-height: 38px;
}
.op-grid button:hover {
  background: var(--wash);
}
.op-grid .delete {
  color: var(--danger);
}
.preview-bed {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: repeating-conic-gradient(var(--soft) 0 25%, var(--paper) 0 50%) 0 0/15px 15px;
  display: grid;
  place-items: center;
  min-height: 80px;
  padding: 10px;
}
.preview-bed canvas {
  display: block;
  max-width: 100%;
  max-height: 175px;
  object-fit: contain;
}
.shortcut-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  font-size: 14px;
  align-items: center;
}
.shortcut-list > span:nth-child(even) {
  text-align: right;
}
@media (min-width: 1800px) {
  .print-bunny {
    left: 24%;
  }
  .print-bear {
    right: 23%;
  }
}
@media (max-width: 1040px) {
  .print-bunny {
    left: 12%;
  }
  .print-bear {
    right: 9%;
  }
  .welcome .drop-title {
    font-size: clamp(34px, 4.3vw, 46px);
  }
  .guide-intro,
  .guide-faq {
    gap: 32px;
  }
}
@media (max-width: 760px) {
  .site-bar {
    height: 57px;
    min-height: 57px;
  }
  .bar-actions {
    gap: 10px;
  }
  .history {
    padding-right: 8px;
  }
  .brand {
    font-size: 24px;
    gap: 4px;
  }
  .brand > svg {
    width: 34px;
    height: 34px;
  }
  .guide-link span,
  .shortcut-link span {
    display: none;
  }
  .guide-link {
    padding: 8px;
  }
  .export-main {
    min-height: 36px;
    padding: 0 11px;
  }
  .sample-print {
    display: none;
  }
  .welcome-center {
    max-width: min(490px, 78%);
    margin-top: -12px;
  }
  .camera-art {
    max-width: 150px;
  }
  .tool-rail {
    left: 12px;
  }
  .doc-chip {
    left: 16px;
    top: 16px;
  }
  .zoom-bar {
    left: 14px;
    bottom: 74px;
  }
  .shortcut-link {
    right: 15px;
    bottom: 76px;
  }
  .guide {
    padding: 58px 24px;
  }
  .guide-intro,
  .guide-feature,
  .guide-feature.reverse,
  .guide-faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-feature.reverse figure {
    order: 0;
  }
  .guide-feature.reverse {
    margin: 38px 0;
  }
  .guide-feature {
    margin-top: 32px;
  }
  .guide-feature figure {
    max-width: 640px;
  }
  .guide-intro > p {
    max-width: 65ch;
  }
  .guide h2 br {
    display: none;
  }
  .site-foot {
    padding: 18px 20px;
  }
}
@media (max-width: 560px) {
  .studio {
    min-height: 460px;
  }
  .site-bar {
    padding: 0 12px;
  }
  .bar-actions {
    gap: 6px;
  }
  .history {
    gap: 0;
    padding-right: 5px;
  }
  .history .icon-button {
    width: 29px;
  }
  .desk {
    --grid-step: 17px;
  }
  .doc-chip {
    top: 13px;
    left: 14px;
    gap: 5px;
  }
  .doc-chip .icon {
    width: 17px;
  }
  .counter {
    padding-left: 5px;
  }
  .tool-rail {
    top: 51px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    border-radius: 12px;
    padding: 3px;
    gap: 1px;
  }
  .tool-rail button {
    width: 34px;
    height: 33px;
    border-radius: 8px;
  }
  .tool-rail button .icon {
    width: 19px;
    height: 19px;
  }
  .tool-rail i {
    height: 17px;
    width: 1px;
    margin: 0 3px;
  }
  .tool-rail [data-tip]:is(:hover, :focus-visible)::after {
    display: none;
  }
  .welcome-center {
    margin-top: 2px;
    max-width: calc(100% - 26px);
    width: 410px;
  }
  .camera-art {
    max-width: clamp(110px, 32vw, 148px);
    max-height: 18vh;
  }
  .welcome .drop-title {
    font-size: clamp(31px, 8.8vw, 45px);
  }
  .entry-actions {
    margin: 16px 0 10px;
    gap: 8px;
  }
  .entry-actions .button {
    min-height: 43px;
    font-size: 14px;
    padding: 0 16px;
  }
  .zoom-bar {
    bottom: 67px;
    left: 13px;
  }
  .shortcut-link {
    bottom: 68px;
    right: 13px;
  }
  .notice {
    bottom: 112px;
  }
  .action-strip {
    top: 98px;
    max-width: calc(100% - 12px);
    gap: 2px;
    padding: 3px;
    white-space: nowrap;
  }
  .guide {
    padding: 44px 18px;
  }
  .guide-intro .section-label {
    margin-bottom: 10px;
  }
  .site-foot {
    align-items: flex-start;
  }
  .site-foot nav {
    gap: 10px;
    font-size: 12px;
    padding-top: 7px;
  }
  .panel-head {
    padding: 13px 14px 6px;
  }
  .panel-body {
    padding: 0 14px 14px;
  }
  .field-row {
    gap: 6px;
  }
}
@media (max-height: 640px) {
  .camera-art {
    max-height: 17vh;
  }
  .welcome-art { margin-bottom: 7px; }
  .entry-actions {
    margin: 12px 0 8px;
  }
  .tool-rail {
    gap: 1px;
  }
  .tool-rail button {
    height: 31px;
  }
  .welcome-center {
    margin-top: -5px;
  }
  .guide-feature figure {
    padding: 14px;
  }
}
@media (max-width: 560px) and (max-height: 640px) {
  .camera-art {
    max-height: 11vh;
  }
  .welcome-center {
    margin-top: 10px;
  }
  .zoom-bar,
  .shortcut-link {
    bottom: 55px;
  }
  .tool-rail {
    top: 43px;
  }
  .action-strip {
    top: 84px;
  }
}
.welcome {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 560px) {
  .welcome-center {
    width: min(410px, calc(100vw - 26px));
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .site-bar {
    gap: 4px;
    padding: 0 8px;
  }
  .site-bar .brand {
    gap: 2px;
    font-size: 20px;
    letter-spacing: -1px;
  }
  .site-bar .brand > svg {
    width: 27px;
    height: 27px;
  }
  .bar-actions {
    gap: 3px;
  }
  .history {
    padding-right: 2px;
  }
  .history .icon-button {
    width: 24px;
  }
  .guide-link {
    padding: 5px;
  }
  .export-main {
    min-height: 33px;
    padding: 0 8px;
    font-size: 12px;
    gap: 4px;
  }
  .zoom-bar,
  .shortcut-link {
    bottom: 67px;
  }
  .entry-actions .button {
    padding: 0 12px;
  }
}
@media (min-width: 761px) and (max-width: 820px) {
  .sample-print {
    display: none;
  }
  .zoom-bar,
  .shortcut-link {
    bottom: 85px;
  }
}
@media (min-width: 561px) and (max-height: 490px) {
  .studio {
    min-height: 0;
  }
  .site-bar {
    height: 45px;
    min-height: 45px;
  }
  .site-bar .brand {
    font-size: 23px;
  }
  .site-bar .brand > svg {
    width: 31px;
    height: 31px;
  }
  .doc-chip {
    top: 9px;
  }
  .welcome-center {
    margin-top: -8px;
  }
  .camera-art {
    max-height: 14vh;
  }
  .welcome-art { margin-bottom: 3px; }
  .welcome .drop-title {
    font-size: 30px;
  }
  .entry-actions {
    margin: 8px 0 4px;
  }
  .entry-actions .button {
    min-height: 34px;
    font-size: 13px;
  }
  .tool-rail {
    left: 8px;
    padding: 3px;
  }
  .tool-rail button {
    width: 28px;
    height: 26px;
  }
  .tool-rail button .icon {
    width: 17px;
    height: 17px;
  }
  .zoom-bar {
    left: 9px;
    bottom: 9px;
  }
  .zoom-bar button {
    width: 22px;
    height: 22px;
  }
  .zoom-bar .zoom-value {
    width: 35px;
  }
  .shortcut-link {
    bottom: 9px;
    right: 9px;
  }
  .shortcut-link span,
  .sample-print {
    display: none;
  }
  .action-strip {
    top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (min-width: 561px) and (max-width: 730px) {
  .action-strip { top: 43px; }
}

.desk { --ins-width: clamp(268px,22vw,310px); --ins-space: calc(var(--ins-width) + 32px); }
.doc-chip { padding: 4px 7px; border-radius: 8px; }
.doc-chip:hover { background: var(--white); }
.doc-chip small { font-size: 12px; color: var(--muted); font-weight: 500; }
.tools-trigger { display: inline-flex; }
.inspector {
  position: absolute; right: 16px; top: 66px; bottom: 18px; z-index: 4;
  width: var(--ins-width); display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.inspector-tabs { flex: none; display: flex; gap: 5px; align-items: center; padding: 0 0 8px; margin: 11px 14px 0; border-bottom: 1px solid var(--line); }
.inspector-tabs [role=tab] { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 35px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--white); font: 750 14px/1.2 var(--display); }
.inspector-tabs [role=tab][aria-selected=true] { background: var(--jade); color: white; border-color: var(--jade); }
.inspector-tabs [data-inspect-tab=batch][aria-selected=true] { background: var(--blush); color: var(--ink); border-color: color-mix(in srgb,var(--peach) 62%,var(--line)); }
.inspector-tabs .sheet-close { margin-inline-start: 3px; border-radius: 50%; color: var(--muted); background: var(--soft); }
.inspector-tabs .icon,.phone-inspect .icon,.inspector-content .icon { width: 18px; height: 18px; flex: none; }
.inspector-content { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #becdc1 transparent; padding: 0 15px 16px; }
.ins-title { margin: 18px 0 9px; font: 720 16px/1.2 var(--display); letter-spacing: -.025em; }
.ins-title:not(:first-child) { border-top: 1px solid var(--line); padding-top: 15px; }
.inspector-content > .ins-title:first-child { margin-top: 12px; }
.ins-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.ins-grid > button,.ins-export button,.inspector-content > button:not(.ins-more) {
  border: 1px solid var(--line); border-radius: 9px; background: var(--white); gap: 6px;
  display: flex; align-items: center; padding: 8px; font-size: 12px; font-weight: 650; text-align: left; line-height: 1.35;
}
.ins-grid > button:hover,.ins-pills button:hover,.inspector-content > button:hover { background: var(--wash); }
.tool-results small { display: block; font-weight: 470; color: var(--muted); }
.ins-size { display: flex; gap: 6px; align-items: flex-end; }
.ins-size label,.ins-field { display: block; min-width: 0; flex: 1; font-size: 12px; font-weight: 650; color: var(--muted); }
.ins-size input,.ins-size select { width: 100%; border: 1px solid var(--line); padding: 6px 8px; font-size: 13px; border-radius: 7px; background: var(--white); color: var(--ink); }
.ins-size [data-lock] { width: 29px; height: 31px; border-radius: 7px; }
.ins-size [aria-pressed=true],.ins-pills [aria-pressed=true],.action-strip [data-layout][aria-pressed=true] { background: var(--active); color: var(--jade); }
.ins-pills { display: flex; gap: 4px; flex-wrap: wrap; margin: 7px 0 0; }
.ins-pills button { flex: 1; padding: 5px 3px; min-width: 0; font: 650 12px/1.45 'DM Sans',sans-serif; white-space: nowrap; border: 1px solid var(--line); border-radius: 7px; }
.ins-field { margin: 9px 0 4px; } .ins-field output { float: right; } .ins-field input { display: block; width: 100%; accent-color: var(--jade); }
.ins-hint,.ins-estimate,.ins-object { color: var(--muted); font-size: 12px; line-height: 1.5; padding-top: 5px; }
.ins-object { padding: 0 0 9px; }
.ins-output { margin-top: 9px; }
.ins-export { display: flex; gap: 6px; margin: 7px 0 4px; }
.ins-export button { flex: 1; justify-content: center; }
.ins-export button:last-child,.action-strip .strip-download { background: var(--jade); color: white; border-color: var(--jade); }
.ins-export button:last-child:hover,.action-strip .strip-download:hover { background: #174739; }
.inspector .format-pills,.batch-studio .format-pills { display: flex; flex-wrap: nowrap; gap: 3px; padding: 3px; border-radius: 10px; background: var(--soft); }
.inspector .format-pills > button,.batch-studio .format-pills > button { flex: 1; min-width: 0; min-height: 32px; padding: 4px 2px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 720 12px/1.2 'DM Sans',sans-serif; }
.inspector .format-pills > button[aria-pressed=true],.batch-studio .format-pills > button[aria-pressed=true] { background: var(--jade); color: white; }
:is(.inspector,.batch-studio) input[type=range] { appearance: none; padding: 0; height: 23px; border: 0; background: transparent; cursor: pointer; }
:is(.inspector,.batch-studio) input[type=range]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(to right,var(--sage) var(--range-fill,0%),var(--line) var(--range-fill,0%)); }
:is(.inspector,.batch-studio) input[type=range]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; margin-top: -5px; border: 3px solid var(--jade); border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px var(--shade); }
:is(.inspector,.batch-studio) input[type=range]::-moz-range-track { height: 5px; border-radius: 5px; background: var(--line); }
:is(.inspector,.batch-studio) input[type=range]::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--sage); }
:is(.inspector,.batch-studio) input[type=range]::-moz-range-thumb { width: 10px; height: 10px; border: 3px solid var(--jade); background: var(--white); border-radius: 50%; }
@media (forced-colors:active) { :is(.inspector,.batch-studio) input[type=range] { appearance: auto; } }
.ins-more { font-size: 12px; padding: 4px 0; color: var(--jade); text-decoration: underline; text-underline-offset: 3px; }
.inspector-content > button[data-action^=board-] { margin-bottom: 6px; width: 100%; }
.desk[data-cropping] :is(.inspector,.action-strip,.touch-dock,.phone-inspect,.touch-help) { display: none !important; }
.piece.is-cropping { z-index: 2147483647 !important; clip-path: none !important; }
.piece.is-cropping canvas { border-radius: 0 !important; }
.piece.is-cropping::after,.piece.is-cropping > :is(.handle,.piece-name) { display: none; }

.crop-surface { position: absolute; z-index: 1; cursor: crosshair; touch-action: none; --inv: 1; }
.crop-surface::before {
  content: ''; position: absolute; inset: 0; background: rgb(24 37 30 / 54%); pointer-events: none;
  clip-path: polygon(evenodd, 0 0,100% 0,100% 100%,0 100%,0 0,
    var(--crop-left) var(--crop-top),var(--crop-right) var(--crop-top),var(--crop-right) var(--crop-bottom),
    var(--crop-left) var(--crop-bottom),var(--crop-left) var(--crop-top));
}
.crop-frame {
  position: absolute; left: var(--crop-left); top: var(--crop-top); right: calc(100% - var(--crop-right)); bottom: calc(100% - var(--crop-bottom));
  outline: 1px solid white; box-shadow: 0 0 0 2px rgb(25 50 42 / 50%); cursor: move;
}
.crop-frame::before,.crop-frame::after { content: ''; position: absolute; pointer-events: none; }
.crop-frame::before { inset: 0 33.333%; border-inline: 1px solid rgb(255 255 255 / 70%); }
.crop-frame::after { inset: 33.333% 0; border-block: 1px solid rgb(255 255 255 / 70%); }
.crop-frame .handle {
  position: absolute; z-index: 1; width: 10px; height: 10px; transform: translate(-50%,-50%); background: white;
  border: 1.5px solid var(--jade); border-radius: 2px;
}
.crop-frame .handle::before { content: ''; position: absolute; inset: -6px; }
.crop-dimensions {
  position: absolute; left: 50%; top: calc(100% + 11px); transform: translateX(-50%); padding: 3px 8px;
  color: white; background: var(--ink); border-radius: 8px; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none;
}
.viewport:is(.is-hand,.is-space,.is-panning) :is(.crop-surface,.crop-frame,.crop-frame .handle) { cursor: inherit; }

.crop-controls {
  position: absolute; z-index: 8; bottom: max(12px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 16px);
}
.crop-toolbar {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 5px;
  background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow);
}
.crop-ratios { flex-wrap: nowrap; gap: 3px; margin: 0; }
.crop-toolbar button { min-height: 38px; padding: 5px 10px; white-space: nowrap; }
.crop-ratios button[aria-pressed=true] { color: white; border-color: var(--jade); background: var(--jade); }
.crop-size-toggle { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; color: var(--jade); font-size: 13px; font-weight: 650; }
.crop-size-toggle .icon { width: 16px; height: 16px; }
.crop-size-toggle[aria-expanded=true] { background: var(--active); }
.crop-picker {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; padding: 12px; width: min(440px,calc(100vw - 20px));
  max-height: min(55dvh,460px); overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--sage); border-radius: 14px; background: var(--white); box-shadow: 0 8px 30px var(--panel-shadow);
}
.crop-picker .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; font-weight: 650; }
.crop-picker input,.crop-picker select { width: 100%; min-width: 0; height: 36px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.crop-fields { flex: none; padding-top: 5px; border-top: 1px solid var(--line); font-size: 13px; }
.crop-fields summary { width: fit-content; padding: 3px 0; cursor: pointer; color: var(--jade); }
.crop-fields .field-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 6px 0 0; }
.crop-results { overflow: auto; overscroll-behavior: contain; min-height: 0; }
.crop-results h3 { font: 700 13px/1.3 'DM Sans',sans-serif; color: var(--muted); margin: 10px 0 5px; }
.crop-results section:first-child h3 { margin-top: 1px; }
.crop-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.crop-cards button { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: center; gap: 6px; text-align: left; padding: 7px; border: 1px solid var(--line); border-radius: 8px; font: 650 13px/1.25 'DM Sans',sans-serif; }
.crop-cards button:hover, .crop-cards button[aria-pressed=true] { border-color: var(--jade); background: var(--wash); }
.crop-cards i { display: block; justify-self: center; border: 1.5px solid var(--jade); border-radius: 3px; background: var(--mint); }
.crop-cards small { display: block; color: var(--muted); font-size: 12px; font-weight: 450; }
@media (max-width:600px) {
  .crop-toolbar { flex-wrap: wrap; gap: 4px; }
  .crop-ratios { flex-basis: 100%; justify-content: center; }
  .crop-ratios button { flex: 1; padding-inline: 5px; min-height: 34px; }
  .crop-toolbar > button { flex: 1; justify-content: center; min-height: 36px; }
}
.tool-search { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; }
.tool-search input { border: 0; padding: 5px 0; width: 100%; min-width: 0; background: transparent; }
.tool-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 12px; }
.tool-results button { display: flex; text-align: left; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 9px; font-size: 13px; }
.tool-results button:hover { background: var(--wash); }.tool-results .icon { flex: none; }
.sheet-close,.phone-inspect { display: none; }
.handle[data-corner=n],.handle[data-corner=s] { left: 50%; width: calc(18px * var(--inv)); height: calc(8px * var(--inv)); cursor: ns-resize; }
.handle[data-corner=n] { top: 0; }.handle[data-corner=s] { top: 100%; }
.handle[data-corner=w],.handle[data-corner=e] { top: 50%; width: calc(8px * var(--inv)); height: calc(18px * var(--inv)); cursor: ew-resize; }
.handle[data-corner=w] { left: 0; }.handle[data-corner=e] { left: 100%; }
.mirror-x { transform: scaleX(-1); }.icon.turn { transform: rotate(90deg); }
.guide-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 48px 0; }
.phone-guide { display: grid; grid-template-columns: minmax(145px,220px) minmax(0,430px); justify-content: center; align-items: center; gap: clamp(22px,6vw,82px); padding: clamp(20px,3vw,38px); margin: 45px 0; border: 1px solid var(--line); border-radius: 20px; background: var(--wash); }
.phone-guide figure { width: 100%; }.phone-guide img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.phone-guide h3 { font: 720 clamp(24px,3vw,36px)/1.1 var(--display); letter-spacing: -.032em; }
.phone-guide p { margin: 12px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.guide-paths a { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--white); }
.guide-paths img { display: block; width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; object-position: center 30%; border-bottom: 1px solid var(--line); }
.guide-paths a > div { padding: 16px 19px; }.guide-paths h3 { font: 720 23px/1.1 var(--display); letter-spacing: -.025em; }
.guide-paths p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.guide-paths span { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--jade); }
.guide-paths .icon { width: 15px; height: 15px; }
.action-strip { top: auto; bottom: 18px; border-radius: 15px; gap: 2px; padding: 5px; white-space: nowrap; max-width: calc(100% - 18px); overflow-x: auto; scrollbar-width: thin; }
.action-strip button { min-height: 36px; padding: 6px 7px; gap: 5px; border-radius: 9px; flex: 0 0 auto; }
.action-strip .icon { width: 17px; height: 17px; }.action-strip [data-action=multi] { color: var(--muted); font-size: 12px; }
.action-strip [data-action=multi] .icon { width: 12px; }
.action-strip .strip-download { padding-inline: 12px; }
.action-strip .group-action { font-size: 12px; }
@media (min-width:840px) {
  .desk[data-selection=none] { --ins-space: 0px; }
  .welcome { inset-inline: 62px; }
  .welcome-center { max-width: min(82%,570px); margin-top: -12px; }
  .welcome .drop-title { font-size: clamp(34px,3.3vw,53px); }
  .print-bunny { left: 5%; top: 48%; }.print-bear { right: 4%; top: 22%; }
  .sample-print { width: clamp(92px,10vw,155px); }
  .action-strip,.notice { left: calc((100% - var(--ins-space) + 30px)/2); }
  .action-strip { max-width: calc(100% - var(--ins-space) - 20px); }
  .shortcut-link { left: 20px; right: auto; bottom: 23px; }
  .desk[data-populated=true] .shortcut-link { display: none; }
}
@media (min-width:840px) and (max-width:1120px) {
  .welcome > .sample-print { display: none; }
  .welcome-art { display: flex; gap: 12px; align-items: center; justify-content: center; }
  .welcome-art .mini-print { display: grid; background: var(--white); border: 1px solid var(--line); padding: 3px; box-shadow: var(--shadow); font-size: 12px; transform: rotate(-6deg); }
  .welcome-art .mini-print:last-child { transform: rotate(7deg); }
  .welcome-art .mini-print img { width: 55px; height: 55px; }
  .action-strip [data-action=multi] span { font-size: 0; } .action-strip [data-action=multi] span::first-letter { font-size: 12px; }
}
@media (max-width:839px) {
  .desk { --sheet-height: min(55%,455px); }
  .inspector { display: none; top: auto; left: 50%; right: auto; bottom: 7px; width: min(470px,calc(100% - 12px)); height: var(--sheet-height); transform: translateX(-50%); z-index: 8; }
  .desk.sheet-open .inspector { display: flex; }
  .desk.sheet-open .viewport { bottom: calc(var(--sheet-height) + 8px); }
  .desk.sheet-open :is(.tool-rail,.welcome,.zoom-bar,.action-strip,.phone-inspect) { visibility: hidden; }
  .desk.sheet-open .notice { bottom: calc(var(--sheet-height) + 11px); }
  .sheet-close { display: grid; place-items: center; width: 33px; height: 33px; }
  .phone-inspect { position: absolute; z-index: 3; right: 12px; bottom: 70px; display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
  .phone-inspect button { display: flex; align-items: center; gap: 4px; padding: 5px 7px; font-size: 12px; font-weight: 650; border-radius: 7px; }
  .phone-inspect button:last-child { background: var(--wash); }
  .shortcut-link { display: none; }
  .zoom-bar { bottom: 70px; }
  .desk .action-strip { top: auto; bottom: 10px; max-width: calc(100% - 12px); width: max-content; flex-wrap: wrap; justify-content: center; overflow: visible; }
  .desk:has(.action-strip:not([hidden])) :is(.zoom-bar,.phone-inspect) { bottom: calc(var(--strip-height,80px) + 20px); }
  .doc-chip small { max-width: 13ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tool-rail { gap: 0; }
}
@media (max-width:560px) {
  .site-bar { gap: 3px; padding: 0 9px; }
  .guide-paths { grid-template-columns: 1fr; gap: 12px; }
  .phone-guide { grid-template-columns: 1fr; }
  .phone-guide figure { max-width: 220px; margin-inline: auto; }
  .site-bar .brand { font-size: 22px; gap: 3px; } .site-bar .brand > svg { width: 31px; height: 31px; }
  .bar-actions { gap: 4px; } .bar-actions .guide-link:not(.tools-trigger) { display: none; }
  .bar-actions .tools-trigger { font-size: 12px; gap: 3px; padding: 4px; } .tools-trigger .icon { width: 16px; }
  .history { border: 0; padding: 0; }.history .icon-button { width: 25px; }
  .export-main { font-size: 12px; padding: 0 8px; min-height: 33px; gap: 4px; }
  .doc-chip small { display: none; }
  .desk .action-strip { padding: 4px; gap: 1px; max-width: calc(100% - 12px); width: max-content; flex-wrap: wrap; justify-content: center; overflow: visible; }
  .action-strip button { padding: 5px 6px; min-height: 36px; }
  .action-strip [data-action=multi] { width: 27px; justify-content: center; }
  .action-strip [data-action=multi] span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .action-strip .strip-download { padding-inline: 10px; }
  .desk:has(.action-strip:not([hidden])) :is(.zoom-bar,.phone-inspect) { bottom: calc(var(--strip-height,80px) + 20px); }
  .desk:has(.action-strip:not([hidden])) .notice { bottom: 150px; }
  .action-strip .strip-download span,.action-strip [data-action=copy] span { display: none; }
  .tool-results { grid-template-columns: 1fr; }
  .site-foot nav { flex-wrap: wrap; }
}
@media (max-width:365px) {
  .bar-actions .tools-trigger { font-size: 0; gap: 0; width: 26px; justify-content: center; }
  .site-bar .brand { font-size: 20px; }.site-bar .brand > svg { width: 26px; }
  .tool-rail button { width: 30px; }
}

.studio > .site-bar {
  position: absolute; inset: max(12px,env(safe-area-inset-top)) 16px auto;
  height: auto; min-height: 0; padding: 0; align-items: flex-start;
  background: transparent; border: 0; pointer-events: none;
}
.studio > .site-bar > * { pointer-events: auto; }
.canvas-brand,.studio .bar-actions,.selection-prompt {
  background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow);
}
.canvas-brand {
  flex: none; display: inline-flex; align-items: center; padding: 5px; text-align: left;
}
.canvas-mark { display: block; width: 42px; height: 42px; flex: none; transition: transform 220ms ease; }
.canvas-brand:active .canvas-mark { transform: rotate(-7deg) scale(.94); }
.brand-fold {
  display: flex; align-items: center; overflow: hidden; max-width: 13rem; margin-inline-start: 6px; opacity: 1;
  transition: max-width 240ms ease, margin-inline-start 240ms ease, opacity 160ms ease;
}
.brand-copy { display: grid; white-space: nowrap; gap: 1px; padding-inline-start: 1px; }
.brand-wordmark {
  font: 900 27px/1.02 'Nunito Wordmark',var(--display);
  letter-spacing: -.045em;
  color: #aa4965;
}
.brand-initials {
  display: inline-block;
  color: var(--jade);
  transform: rotate(-3deg);
  transform-origin: right bottom;
}
.brand-domain {
  margin-inline-start: .06em;
  font-size: .72em;
  letter-spacing: -.025em;
  color: #547264;
}
.brand-copy small { font: 550 12px/1.25 'DM Sans',sans-serif; color: var(--muted); }
.brand-copy em { color: var(--jade); }
.brand-fold .icon { width: 13px; height: 13px; margin: 0 5px 0 6px; color: var(--muted); transform: rotate(90deg); }
.canvas-brand[aria-expanded=false] .brand-fold { max-width: 0; margin-inline-start: 0; opacity: 0; }
.canvas-brand:hover { border-color: var(--sage); }
.studio .bar-actions { padding: 4px; gap: 6px; }
.studio .bar-actions .doc-chip,.studio .bar-actions .zoom-bar { position: static; box-shadow: none; transform: none; }
.studio .bar-actions .doc-chip { height: 36px; font-size: 13px; padding: 0 8px; gap: 6px; }
.studio .bar-actions .doc-chip small:empty { display: none; }
.studio:has(.desk[data-populated=false]) .doc-chip :is(.counter,small) { display: none; }
.studio:has(.desk[data-populated=false]) .bar-actions .zoom-bar,
.studio:has(.desk[data-populated=false]) .bar-actions .history:not(:has(button:enabled)) { display: none; }
.studio .bar-actions .doc-chip:hover { background: var(--wash); }
.studio .bar-actions .history { border: 0; padding: 0; gap: 0; }
.studio .bar-actions .zoom-bar { background: transparent; border: 0; border-inline: 1px solid var(--line); border-radius: 0; padding: 0 5px; }
.studio .bar-actions .guide-link { padding: 6px; }
.studio .bar-actions .export-main { min-height: 36px; }
.desk .inspector { animation: ez-selection-in 150ms ease-out; }
@keyframes ez-selection-in { from { opacity: .5; } to { opacity: 1; } }
.selection-prompt {
  display: flex; align-items: center; gap: 8px; position: absolute; z-index: 3;
  left: 50%; bottom: 18px; transform: translateX(-50%); padding: 4px 5px 4px 12px;
  color: var(--muted); font-size: 13px; white-space: nowrap;
}
.selection-prompt .icon { width: 16px; height: 16px; }
.selection-prompt button { padding: 7px 10px; background: var(--wash); color: var(--jade); border-radius: 9px; font-weight: 650; }
.selection-prompt button:hover { background: var(--active); }
@media (min-width:840px) { .desk .inspector { top: 74px; } }
@media (min-width:840px) and (max-width:1180px) {
  .desk:not(.sheet-open,[data-dock-mode]):has(.action-strip:not([hidden])) .inspector { bottom: calc(var(--strip-height) + 27px); }
  .desk .action-strip { left: 50%; max-width: calc(100% - 24px); }
  .studio .bar-actions .guide-link:not(.tools-trigger) span { display: none; }
}
@media (max-width:1190px) { .studio .bar-actions .doc-chip :is(.counter,small) { display: none; } }
@media (max-width:839px) {
  .studio > .site-bar { inset-inline: 10px; }
  .studio .bar-actions { gap: 2px; }
  .studio .bar-actions .doc-chip strong { display: none; }
  .studio .bar-actions .doc-chip { padding-inline: 6px; }
  .selection-prompt { bottom: 14px; }
}
@media (min-width:601px) and (max-width:839px) {
  .studio .bar-actions .guide-link:not(.tools-trigger) span { display: none; }
  .studio .bar-actions .zoom-bar { padding-inline: 2px; }
}
@media (min-width:601px) and (max-width:960px) {
  .studio .canvas-mark { width: 34px; height: 36px; }
  .studio .brand-wordmark { font-size: 24px; }
  .studio .brand-fold .icon { width: 11px; margin: 0 2px; }
  .studio .bar-actions .doc-chip strong { display: none; }
}
@media (min-width:601px) and (max-width:680px), (min-width:840px) and (max-width:920px) {
  .studio .bar-actions .export-main { width: 36px; font-size: 0; padding: 0; gap: 0; }
}
@media (min-width:601px) and (max-width:680px) {
  .studio:has(.desk[data-populated=true]) .brand-copy small { display: none; }
}
@media (prefers-reduced-motion:reduce) { .desk .inspector { animation: none; } }
