/* Painted hardware and paper; the screen and directory remain live HTML. */
.workspace-chapter { padding-top: 65px; }
.has-camera .workspace-chapter { z-index: 2; margin-top: calc(clamp(200px,27svh,270px) * -1); background: linear-gradient(180deg,transparent,var(--paper) 155px); }
.workspace-chapter .workspace-depth-heading { position: relative; z-index: 0; width: 100%; max-width: none; height: 240px; text-align: left; pointer-events: none; transform: translate3d(var(--workspace-title-x,0px),var(--workspace-title-y,0px),0); }
.workspace-depth-heading .eyebrow { justify-content: flex-start; margin: 0 0 25px max(6vw,24px); }
.workspace-depth-heading h2 { font-size: clamp(76px,9.1vw,160px); line-height: 1.06; font-weight: 500; letter-spacing: -.075em; color: #bb9fabb3; }
.workspace-depth-heading h2 > span { display: block; white-space: nowrap; margin-left: 5vw; }
.workspace-depth-heading h2 > span + span { margin-left: 25vw; margin-top: 9px; }
.workspace-depth-heading h2 em { color: #ad7e939c; }
.workspace-canvas.container { margin-top: -65px; padding: 0 0 100px; perspective: 1800px; }
.workspace-canvas .product-reel { position: relative; width: 100%; max-width: 1120px; aspect-ratio: 1586 / 992; margin: 0 auto 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: translate3d(calc(var(--tablet-x,0px) + var(--intent-x,0px)),calc(var(--tablet-y,0px) + var(--intent-y,0px)),0) rotateX(calc(var(--tablet-tilt,0deg) + var(--intent-rx,0deg))) rotateY(var(--intent-ry,0deg)) rotateZ(var(--tablet-angle,-1.5deg)); }
.tablet-frame { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 28px 30px #836b8433); }
.tablet-frame > img { display: block; width: 100%; height: 100%; }
.workspace-canvas .product-viewport { position: absolute; z-index: 1; inset: 12.4% 9.8% 12.3%; border-radius: 2% / 3.4%; overflow: auto; background: #eee3e2; scrollbar-width: thin; }
.workspace-canvas .saki-real-stage { min-height: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.workspace-canvas .saki-real-viewport { min-height: 0; overflow: auto; }
.workspace-sticky { position: absolute; z-index: 5; width: 340px; aspect-ratio: 1; right: -12px; bottom: 42px; pointer-events: none; transform: translate3d(var(--sticky-x,0px),var(--sticky-y,0px),0) rotate(var(--sticky-angle,-4deg)); transform-origin: 70% 15%; }
.workspace-sticky-paper { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 16px 15px #83654d26); pointer-events: none; }
.workspace-sticky-content { position: absolute; inset: 26% 12% 13%; }
.workspace-sticky-heading { display: flex; justify-content: space-between; align-items: baseline; color: #8a6d67; font-size: 13px; letter-spacing: .06em; padding-bottom: 14px; border-bottom: 1px solid #ae87723b; }
.workspace-sticky-heading > span { font: 7px/1.5 ui-monospace,monospace; color: #b19881; letter-spacing: .1em; }
.workspace-sticky .workspace-views { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 9px; }
.workspace-sticky .workspace-views > button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 44px; padding: 9px 0; text-align: left; font-size: 12px; line-height: 1.6; color: #917b70; pointer-events: auto; }
.workspace-sticky .workspace-views > button::after { left: 29px; bottom: 6px; right: 7px; background: #ac708177; }
.workspace-sticky .workspace-views > button[aria-selected="true"] { color: #9d566c; }
.sticky-index { font: italic 13px/1 Georgia,serif; color: #b68a85; }
.workspace-sticky .workspace-views.has-directory-ink { position: relative; }
.workspace-sticky .workspace-views.has-directory-ink > button::after { display: none; }
.workspace-directory-ink { position: absolute; left: 29px; top: 0; height: 1px; width: var(--directory-ink-width,0px); background: #ac708177; pointer-events: none; transform: translateY(var(--directory-ink-y,0px)); transition: transform .22s cubic-bezier(.2,.65,.3,1),width .22s cubic-bezier(.2,.65,.3,1); }
.motion-reduced .workspace-directory-ink { transition: none; }
@media (prefers-reduced-motion:reduce) { html:not(.motion-standard) .workspace-directory-ink { transition: none; } }
@media (max-width:719px) { .has-camera .workspace-chapter { margin-top: -18svh; background: linear-gradient(180deg,transparent,var(--paper) 100px); } }
@media (max-width:1199px) {
  .workspace-canvas.container { width: calc(100% - 64px); padding-bottom: 120px; }
  .workspace-sticky { right: -8px; width: 310px; }
  .workspace-sticky .workspace-views > button { font-size: 11px; }
}
@media (max-width:719px) {
  .workspace-chapter { padding-top: 45px; }
  .workspace-chapter .workspace-depth-heading { height: 170px; }
  .workspace-depth-heading .eyebrow { margin-left: 24px; margin-bottom: 22px; }
  .workspace-depth-heading h2 { font-size: clamp(42px,12vw,70px); }
  .workspace-depth-heading h2 > span { margin-left: 7vw; }
  .workspace-depth-heading h2 > span + span { margin-left: 10vw; }
  .workspace-canvas.container { width: calc(100% - 12px); margin-top: -55px; padding-top: 0; padding-bottom: 160px; }
  .workspace-canvas .product-reel { aspect-ratio: 1086 / 1448; }
  .workspace-canvas .product-viewport { inset: 10.2% 13.5% 9.9% 13.5%; border-radius: 3% / 2%; }
  .workspace-canvas .saki-real-header { padding-inline: 8px; gap: 6px; }
  .workspace-canvas .saki-real-breadcrumb { min-width: 0; font-size: 9px; }
  .workspace-canvas .saki-real-viewport { padding: 0 6px 10px; }
  .workspace-canvas .saki-real-pane,.workspace-canvas .saki-dash-main { min-width: 0; }
  .workspace-canvas .saki-dash-layout { min-width: 0; grid-template-columns: minmax(0,1fr); }
  .workspace-canvas .saki-dash-main { padding: 12px 9px; }
  .workspace-canvas .dashboard-greeting-sentence { font-size: 15px; line-height: 1.5; }
  .workspace-canvas .dashboard-input-context-row { flex-wrap: wrap; }
  .workspace-canvas .dashboard-hero-context-btn { font-size: 11px; }
  .workspace-canvas .dashboard-liquid-input { padding: 10px 9px; border-radius: 18px; }
  .workspace-canvas .dashboard-input-toolbar,.workspace-canvas .dashboard-toolbar-left { flex-wrap: wrap; gap: 6px; }
  .workspace-canvas .dashboard-toolbar-left { min-width: 0; }
  .workspace-canvas .dashboard-model-btn,.workspace-canvas .dashboard-mode-btn,.workspace-canvas .dashboard-permission-btn { font-size: 9px; white-space: nowrap; }
  .workspace-sticky { width: 285px; right: 0; bottom: 12px; }
  .workspace-sticky-heading { font-size: 12px; padding-bottom: 10px; }
  .workspace-sticky .workspace-views > button { font-size: 11px; gap: 9px; }
  .workspace-notes { padding-top: 10px; }
}
.motion-reduced .workspace-canvas .product-reel { transform: none; }
.motion-reduced .workspace-sticky { transform: rotate(-4deg); }
.motion-reduced .workspace-chapter .workspace-depth-heading { transform: none; }
