:root {
  color-scheme: light;
  --ink: #171719;
  --glass: rgba(255, 255, 255, .18);
  --blue: #0a84ff;
  --dock-size: 40px;
  --dock-icon-size: 40px;
  --dock-icon-width: 40px;
  --dock-icon-height: 40px;
  --dock-padding-x: 20px;
  --dock-padding-y: 10px;
  --dock-gap: 10px;
  --dock-group-gap: 18px;
  --dock-radius: 20px;
  --dock-divider-height: 35px;
  --dock-tooltip-offset: 14px;
  --dock-indicator-size: 4px;
  --dock-indicator-offset: 5px;
  --desktop-wallpaper-color: #fff;
  --desktop-wallpaper-image: url("../public/images/mainbkg-photo.jpg?v=lm-1");
  --desktop-wallpaper-image: image-set(
    url("../public/images/mainbkg-photo-desktop.webp?v=lm-1") type("image/webp"),
    url("../public/images/mainbkg-photo.jpg?v=lm-1") type("image/jpeg")
  );
  --desktop-folder-label-color: #fff;
  --desktop-folder-subtitle-color: rgba(255,255,255,.88);
  --desktop-folder-label-shadow: 0 1px 2px rgba(0,0,0,.72), 0 0 4px rgba(0,0,0,.26);
  --desktop-label-color: var(--desktop-folder-label-color);
  --desktop-label-secondary: var(--desktop-folder-subtitle-color);
  --motion-instant: 80ms;
  --motion-fast: 110ms;
  --motion-standard: 160ms;
  --motion-window: 190ms;
  --motion-ease-standard: cubic-bezier(.2,.8,.2,1);
  --motion-ease-out: cubic-bezier(.22,1,.36,1);
  --motion-ease-exit: cubic-bezier(.4,0,1,1);
  --native-focus-ring: rgba(10,132,255,.72);
  --native-glass-fill: rgba(244,242,244,.78);
  --native-glass-elevated-fill: rgba(247,245,247,.90);
  --native-glass-border: rgba(255,255,255,.56);
  --native-glass-highlight: rgba(255,255,255,.70);
  --native-glass-shadow: 0 8px 24px rgba(18,22,31,.14);
  --native-glass-backdrop: blur(22px) saturate(135%);
  /* The system bar is the quietest tier of the shared glass hierarchy. */
  --system-bar-glass-fill: rgba(248,248,247,.82);
  --system-bar-glass-glare: linear-gradient(180deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.045) 58%, rgba(255,255,255,0) 100%);
  --system-bar-glass-border: rgba(60,60,67,.13);
  --system-bar-glass-highlight: rgba(255,255,255,.46);
  --system-bar-glass-backdrop: blur(14px) saturate(112%) brightness(1.015);
  --system-bar-glass-fallback: rgba(248,248,247,.97);
}
* { box-sizing: border-box; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html, body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  color-scheme: light;
  background: #f5f5f7;
}
body {
  overflow: hidden;
  color: var(--ink);
  background: #e9d4f4;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a, input { color: inherit; font: inherit; }
button { border: 0; }
.system-bar {
  position: fixed;
  z-index: 2000;
  inset: 0 0 auto;
  height: 39px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(249, 247, 243, .92);
  border-bottom: 1px solid rgba(30, 30, 30, .14);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}
@media (min-width: 768px) {
  .system-bar {
    background:
      var(--system-bar-glass-glare),
      var(--system-bar-glass-fill);
    border-bottom-color: var(--system-bar-glass-border);
    box-shadow: inset 0 .5px 0 var(--system-bar-glass-highlight);
    backdrop-filter: var(--system-bar-glass-backdrop);
    -webkit-backdrop-filter: var(--system-bar-glass-backdrop);
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (min-width: 768px) {
    .system-bar {
      background: var(--system-bar-glass-fallback);
    }
  }
}
.brand { font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.desktop-hint, .status {
  margin: 0;
  font-size: 11px;
  font-weight: 520;
}
.status { font-size: 14px; }
.collections-control {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  white-space: nowrap;
}
.collections-menu-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.collections-trigger {
  position: relative;
  min-height: 28px;
  margin: 0;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 6px;
  background: transparent;
  cursor: default;
}
.collections-trigger::before {
  content: "";
  position: absolute;
  inset: -8px -4px;
}
.collections-trigger:hover,
.collections-trigger[aria-expanded="true"] { background: rgba(118,118,128,.10); }
.collections-trigger:focus-visible {
  outline: 2px solid rgba(10,132,255,.72);
  outline-offset: 1px;
}
.collections-chevron {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  display: block;
  flex: 0 0 auto;
  opacity: .75;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1);
}
.collections-chevron path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.collections-trigger[aria-expanded="true"] .collections-chevron { transform: rotate(180deg); }
.collections-helper {
  margin: 0;
  padding: 0;
  color: #77777c;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  cursor: default;
  user-select: none;
  white-space: nowrap;
}
.collections-helper:focus-visible {
  outline: 2px solid rgba(10,132,255,.72);
  outline-offset: 3px;
  border-radius: 3px;
}
.shining-text {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.shining-text-base {
  color: #77777c;
}
.shining-text-highlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  background-image: linear-gradient(110deg, transparent 35%, #fff 50%, transparent 65%);
  background-position: 140% 0;
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shining-text-sweep 5s ease-in-out infinite;
}
@keyframes shining-text-sweep {
  0% { background-position: 140% 0; }
  60%, 100% { background-position: -140% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shining-text-highlight { display: none; animation: none; }
}
.mobile-filter-helper { display: none; }
.collections-menu {
  position: absolute;
  z-index: 2200;
  top: calc(100% + 5px);
  right: 0;
  width: 240px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 58px);
  padding: 6px;
  overflow-y: auto;
  color: #1d1d1f;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.10);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  transform: translateY(-4px) scale(.98);
  transform-origin: top right;
  opacity: 0;
  animation: collections-menu-in 150ms cubic-bezier(.22,1,.36,1) forwards;
}
.collections-menu[hidden] { display: none; }
.collections-menu.is-closing {
  pointer-events: none;
  animation: collections-menu-out 110ms ease-out forwards;
}
.collections-menu-item {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px 9px 7px;
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  color: #1d1d1f;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
  text-align: left;
  cursor: default;
}
.collections-menu-item.is-active {
  color: #fff;
  background: #0a84ff;
}
.collections-menu-item:hover,
.collections-menu-item:focus-visible {
  color: #fff;
  background: #0a84ff;
  outline: none;
}
.collections-check {
  display: block;
  width: 18px;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  visibility: hidden;
}
.collections-check svg,
.collections-sheet-option > span:first-child svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.collections-menu-item.is-active .collections-check { visibility: visible; }
.collections-separator {
  height: 1px;
  margin: 5px 7px;
  background: rgba(60,60,67,.16);
}
@keyframes collections-menu-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes collections-menu-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-4px) scale(.98); }
}
.status { justify-self: end; display: flex; align-items: center; gap: 8px; }
/* The menu bar is one fixed-height line at every desktop width: below a
   roomy laptop the availability line is clipped, then dropped, so the bar
   never grows a second row on tablets and small laptops. */
@media (min-width: 768px) {
  .status { min-width: 0; }
  .status > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .collections-control { min-width: 0; }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .status { font-size: 12px; gap: 6px; }
  .status > span:first-child { display: none; }
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #30b15b; }
.desktop {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}
.desktop-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--desktop-wallpaper-color);
  background-image: var(--desktop-wallpaper-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.wallpaper-wordmark-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: visible;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
}
.wallpaper-wordmark-frame--desktop {
  width: max(100%, calc(100dvh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
}
.wallpaper-wordmark {
  position: absolute;
  left: 28.68%;
  top: 38.20%;
  width: 65.80%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.desktop-content {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding-top: 39px;
  overflow: hidden;
}
.window-layer {
  position: absolute;
  z-index: 20;
  inset: 0;
  pointer-events: none;
}
.project-layer { position: absolute; inset: 39px 0 0; }
.project-icon,
.desktop-folder {
  position: absolute;
  width: 112px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--desktop-label-color);
  background: transparent;
  cursor: default;
  touch-action: pan-y;
  text-align: center;
  user-select: none;
  transform: translate(-50%, -50%);
}
.project-icon:active { cursor: grabbing; }
.project-icon:focus-visible { outline: none; }
.project-icon:focus-visible .project-label {
  box-shadow: 0 0 0 2px rgba(10,132,255,.35);
}
.project-icon.is-filtering-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease-out;
}
.project-icon[hidden] { display: none; }
.project-folder,
.desktop-folder-icon {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(24,33,56,.18));
  pointer-events: none;
  touch-action: none;
}
.project-icon:hover .project-folder { filter: brightness(1.025) drop-shadow(0 5px 7px rgba(24,33,56,.18)); }
.project-label,
.desktop-folder-label {
  width: max-content;
  max-width: 108px;
  padding: 2px 4px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  text-align: center;
  text-shadow: none;
  pointer-events: none;
}
.project-label b,
.desktop-folder-title {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: var(--desktop-folder-label-color);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: var(--desktop-folder-label-shadow);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.project-label small,
.desktop-folder-subtitle {
  max-width: 100%;
  overflow: hidden;
  color: var(--desktop-label-secondary);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0,0,0,.72), 0 0 4px rgba(0,0,0,.24);
  white-space: nowrap;
}
@media (min-width: 761px) {
  .desktop .project-label b,
  .desktop .desktop-folder-title {
    text-shadow:
      0 1px 2px rgba(0,0,0,.86),
      0 0 5px rgba(0,0,0,.42),
      0 0 1px rgba(0,0,0,.56);
  }
  .desktop .project-label small,
  .desktop .desktop-folder-subtitle {
    text-shadow:
      0 1px 2px rgba(0,0,0,.82),
      0 0 5px rgba(0,0,0,.36);
  }
}
.project-icon.is-selected .project-label {
  padding: 3px 6px;
  border-radius: 5px;
  color: #fff;
  background: #0a84ff;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
  text-shadow: none;
}
.project-icon.is-selected:focus-visible .project-label {
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 0 0 2px rgba(10,132,255,.35);
}
.project-icon.is-selected .desktop-folder-title,
.project-icon.is-selected .desktop-folder-subtitle {
  color: #fff;
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .project-icon.is-filtering-out { transition-duration: 1ms; }
  .collections-menu,
  .collections-menu.is-closing { animation-duration: 1ms; }
}

@media (max-width: 767px) {
  .traffic-minimize,
  .dock-minimized-divider,
  .dock-minimized-windows,
  .minimized-window-transition {
    display: none !important;
  }
}
.dock {
  position: absolute;
  z-index: 1000;
  left: 50%;
  top: auto;
  bottom: max(50px, calc(env(safe-area-inset-bottom) + 20px));
  width: min-content;
  height: calc(var(--dock-icon-height) + (var(--dock-padding-y) * 2));
  min-height: calc(var(--dock-icon-height) + (var(--dock-padding-y) * 2));
  max-height: calc(var(--dock-icon-height) + (var(--dock-padding-y) * 2));
  padding: var(--dock-padding-y) var(--dock-padding-x);
  display: flex;
  flex: none;
  flex-flow: column;
  place-content: center flex-end;
  align-items: center;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: var(--dock-radius);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateX(-50%);
}
.dock::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -50px;
  right: -24px;
  bottom: -16px;
  left: -24px;
  pointer-events: auto;
}
.desktop:has(.project-window:not([hidden])) .dock::before {
  pointer-events: none;
}
.dock,
.mobile-dock {
  --dock-specular-x: 50%;
  --dock-specular-y: 0%;
  --dock-specular-opacity: 0;
  --dock-material-glare: radial-gradient(126% 128% at 18% -52%, rgba(255,255,255,.29) 0%, rgba(255,255,255,.08) 35%, rgba(255,255,255,0) 66%);
  --dock-material-fill: rgba(236,242,248,.055);
  --dock-material-border: rgba(255,255,255,.33);
  --dock-material-top-edge: rgba(255,255,255,.50);
  --dock-material-bottom-edge: rgba(30,38,49,.12);
}
.dock::after,
.mobile-dock::before {
  content: "";
  position: absolute;
  z-index: 0;
  border: 1px solid var(--dock-material-border);
  border-radius: inherit;
  background:
    radial-gradient(78% 210% at var(--dock-specular-x) var(--dock-specular-y), rgba(255,255,255,var(--dock-specular-opacity)) 0%, rgba(255,255,255,0) 66%),
    var(--dock-material-glare),
    linear-gradient(180deg, rgba(255,255,255,.115) 0%, rgba(255,255,255,.025) 49%, rgba(26,34,44,.042) 100%),
    var(--dock-material-fill);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 var(--dock-material-top-edge),
    inset 0 -1px 0 var(--dock-material-bottom-edge),
    inset 0 0 0 1px rgba(255,255,255,.085),
    0 8px 22px rgba(20,24,32,.13);
  backdrop-filter: blur(12px) saturate(122%) brightness(1.02) contrast(1.008);
  -webkit-backdrop-filter: blur(12px) saturate(122%) brightness(1.02) contrast(1.008);
  pointer-events: none;
  transition:
    border-color 140ms ease-out,
    box-shadow 160ms cubic-bezier(.22,1,.36,1),
    backdrop-filter 160ms cubic-bezier(.22,1,.36,1),
    -webkit-backdrop-filter 160ms cubic-bezier(.22,1,.36,1);
}
.dock::after {
  inset: 0;
  width: auto;
  height: 100%;
}
.dock.is-magnifying {
  --dock-specular-opacity: .095;
}
.dock.is-magnifying::after {
  border-color: rgba(255,255,255,.39);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.54),
    inset 0 -1px 0 rgba(30,38,49,.135),
    inset 0 0 0 1px rgba(255,255,255,.095),
    0 9px 24px rgba(20,24,32,.15);
  backdrop-filter: blur(12px) saturate(128%) brightness(1.022) contrast(1.008);
  -webkit-backdrop-filter: blur(12px) saturate(128%) brightness(1.022) contrast(1.008);
}
@media (prefers-reduced-transparency: reduce) {
  .dock::after,
  .mobile-dock::before {
    border-color: rgba(255,255,255,.74);
    background: rgba(242,246,251,.84);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.88),
      inset 0 -1px 0 rgba(60,60,67,.12),
      0 6px 18px rgba(24,24,30,.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .dock::after,
  .mobile-dock::before {
    border-color: rgba(255,255,255,.72);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.78),
      inset 0 -1px 0 rgba(60,60,67,.18),
      0 6px 18px rgba(24,24,30,.16);
  }
}
.dock.resizing { transition: none; }
.dock.resize-settling { transition: none; }
.dock.resizing::after,
.dock.resizing .dock-slot,
.dock.resizing .dock-divider,
.dock.resizing .dock-icon-scale,
.dock.resizing .dock-minimized-slot,
.dock.resizing .minimized-window-preview {
  transition: none !important;
}
.dock-track {
  position: relative;
  z-index: 2;
  width: auto;
  height: min-content;
  padding: 0;
  display: flex;
  flex: none;
  flex-flow: row;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: var(--dock-gap);
  overflow: visible;
}
.dock-group {
  position: relative;
  width: min-content;
  height: min-content;
  padding: 0;
  display: flex;
  flex: none;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  gap: var(--dock-gap);
  overflow: visible;
}
.dock-slot,
.settings-wrap {
  position: relative;
  width: calc(var(--dock-icon-width) + var(--dock-slot-extra, 0px));
  height: var(--dock-icon-height);
  flex: 0 0 calc(var(--dock-icon-width) + var(--dock-slot-extra, 0px));
  display: grid;
  place-items: center;
  overflow: visible;
  transform: translate3d(
    calc(var(--dock-x, 0px) + var(--dock-reorder-x, 0px)),
    calc(var(--dock-y, 0px) + var(--dock-reorder-y, 0px)),
    0
  );
  will-change: transform;
  touch-action: none;
}
.dock-slot.dragging {
  position: absolute;
  z-index: 100;
  left: var(--dock-drag-left);
  top: var(--dock-drag-top);
  width: var(--dock-icon-width);
  height: var(--dock-icon-height);
  pointer-events: none;
  transform: translate3d(var(--dock-drag-x, 0px), var(--dock-drag-y, 0px), 0);
  transition: none;
}
.dock-slot.dragging .dock-icon-scale {
  transform: scale(calc(1.08 * var(--dock-art-scale, 1)));
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.28));
}
.dock-slot.dragging .dock-label { display: none; }
.dock-placeholder {
  width: var(--dock-icon-width);
  height: var(--dock-icon-height);
  flex: 0 0 var(--dock-icon-width);
  visibility: hidden;
  pointer-events: none;
}
.dock[data-position="left"] .dock-placeholder,
.dock[data-position="right"] .dock-placeholder {
  flex-basis: var(--dock-icon-height);
}
.dock-slot.reorder-shifting {
  transition: transform 160ms cubic-bezier(.22, 1, .36, 1);
}
.dock-slot.drop-settling {
  transition: transform 140ms cubic-bezier(.22, 1, .36, 1);
}
.dock.reordering { cursor: grabbing; }
.dock.reordering .dock-track,
.dock.reordering .dock-group { overflow: visible; }
.dock.reordering .dock-slot:not(.dragging) { pointer-events: none; }
.dock-item {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  overflow: visible;
}
.dock.resetting .dock-slot,
.dock.resetting .dock-divider,
.dock.resetting .dock-icon-scale,
.dock.resetting .minimized-window-preview {
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}
.dock.resetting .dock-slot,
.dock.resetting .dock-divider,
.dock.resetting .dock-icon-scale {
  transition-property: width, height, flex-basis, transform;
}
.dock.resetting .minimized-window-preview { transition-property: transform, opacity; }
.dock-icon-scale {
  width: var(--dock-icon-width);
  height: var(--dock-icon-height);
  flex: 0 0 var(--dock-icon-width);
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: scale(calc(var(--dock-scale, 1) * var(--dock-press, 1) * var(--dock-art-scale, 1)));
  transform-origin: center bottom;
  will-change: transform;
}
.dock-app-icon {
  width: var(--dock-icon-size);
  height: var(--dock-icon-size);
  flex: 0 0 var(--dock-icon-size);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.dock-folder-icon {
  width: var(--dock-icon-size);
  height: var(--dock-icon-size);
  flex: 0 0 var(--dock-icon-size);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.dock-item.pressed .dock-icon-scale {
  transition: transform 90ms ease-out;
}
.dock-app-icon img,
.dock-folder-icon img,
.dock-thumbnail-glyph {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  overflow: visible;
  pointer-events: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.16));
}
.dock-app-icon img {
  object-fit: contain;
  clip-path: none;
}
.dock-app-icon[data-app="vision-bin"] img {
  translate: 0 5.5%;
}
.dock-folder-icon img {
  object-fit: contain;
  border-radius: 0;
  clip-path: none;
  transform: scale(1.04);
}
.dock-label {
  position: absolute;
  z-index: 1000;
  left: 50%;
  bottom: calc(100% + var(--dock-icon-extra, 0px) + var(--dock-tooltip-offset));
  width: max-content;
  min-width: 52px;
  max-width: 220px;
  height: 34px;
  min-height: 34px;
  padding: 3px 13px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateX(calc(-50% + var(--dock-label-shift, 0px))) translateY(3px);
  transition:
    opacity 90ms ease-out,
    transform 120ms cubic-bezier(.22, 1, .36, 1);
}
.dock-label-shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.10));
}
.dock-label-shape path {
  fill: rgba(244,246,249,.80);
  stroke: rgba(255,255,255,.38);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.dock-label-text {
  position: relative;
  z-index: 1;
  max-width: 198px;
  height: 18px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock-item > .dock-label { display: none; }
.dock-floating-label { z-index: 1100; }
.dock-floating-label.visible {
  opacity: 1;
  transform: translateX(calc(-50% + var(--dock-label-shift, 0px))) translateY(0);
  transition:
    opacity 90ms ease-out,
    transform 120ms cubic-bezier(.22, 1, .36, 1);
}
.dock-item.label-visible .dock-label,
.dock-item:focus-visible .dock-label {
  opacity: 1;
  transform: translateX(calc(-50% + var(--dock-label-shift, 0px))) translateY(0);
  transition:
    opacity 90ms ease-out,
    transform 120ms cubic-bezier(.22, 1, .36, 1);
}
.dock-item.running::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: var(--dock-indicator-size);
  height: var(--dock-indicator-size);
  border-radius: 50%;
  background: white;
  transform: translateX(-50%);
}
.dock-divider {
  position: relative;
  width: 1px;
  height: var(--dock-divider-height);
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 1px;
  /* The track contributes --dock-gap; the margin completes an 18px visual gap. */
  margin-inline: calc(var(--dock-group-gap) - var(--dock-gap));
  align-self: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.dock-divider::before {
  content: "";
  position: absolute;
  z-index: 10;
  inset: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(60,60,67,.34);
  box-shadow: 1px 0 0 rgba(255,255,255,.12);
  pointer-events: none;
}
.dock-resize-handle {
  position: relative;
  cursor: ns-resize;
  touch-action: none;
}
.dock-resize-handle::after {
  content: "";
  position: absolute;
  inset: -10px -12px;
}
.dock-resize-handle:hover::before,
.dock-resize-handle:focus-visible::before,
.dock.resizing .dock-resize-handle::before { background: rgba(60,60,67,.48); }
.dock-resize-handle:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: 4px; }
body.dock-resize-active,
body.dock-resize-active * { cursor: ns-resize !important; user-select: none !important; }

.dock[data-position="left"],
.dock[data-position="right"] {
  top: var(--dock-usable-center-y, calc(50% + 19.5px));
  bottom: auto;
  width: calc(var(--dock-icon-width) + (var(--dock-padding-y) * 2));
  min-width: calc(var(--dock-icon-width) + (var(--dock-padding-y) * 2));
  max-width: calc(var(--dock-icon-width) + (var(--dock-padding-y) * 2));
  height: min-content;
  min-height: 0;
  max-height: none;
  padding: var(--dock-padding-x) var(--dock-padding-y);
  transform: translateY(-50%);
}
.dock[data-position="left"] {
  left: max(20px, env(safe-area-inset-left));
  right: auto;
}
.dock[data-position="right"] {
  right: max(20px, env(safe-area-inset-right));
  left: auto;
}
.dock[data-position="left"]::before {
  inset: -24px -50px -24px -16px;
}
.dock[data-position="right"]::before {
  inset: -24px -16px -24px -50px;
}
.dock[data-position="left"]::after,
.dock[data-position="right"]::after {
  inset: 0;
  width: 100%;
  height: auto;
}
.dock[data-position="left"] .dock-track,
.dock[data-position="right"] .dock-track,
.dock[data-position="left"] .dock-group,
.dock[data-position="right"] .dock-group {
  width: min-content;
  height: auto;
  flex-flow: column;
  align-self: center;
}
.dock[data-position="left"] .dock-divider,
.dock[data-position="right"] .dock-divider {
  width: var(--dock-divider-height);
  height: 1px;
  flex: 0 0 1px;
  margin: calc(var(--dock-group-gap) - var(--dock-gap)) 0;
}
.dock[data-position="left"] .dock-divider::before,
.dock[data-position="right"] .dock-divider::before {
  box-shadow: 0 1px 0 rgba(255,255,255,.12);
}
.dock[data-position="left"] .dock-resize-handle,
.dock[data-position="right"] .dock-resize-handle { cursor: ew-resize; }
.dock[data-position="left"] .dock-resize-handle::after,
.dock[data-position="right"] .dock-resize-handle::after { inset: -12px -10px; }
body.dock-resize-active[data-dock-position="left"],
body.dock-resize-active[data-dock-position="left"] *,
body.dock-resize-active[data-dock-position="right"],
body.dock-resize-active[data-dock-position="right"] * { cursor: ew-resize !important; }
.dock[data-position="left"] .dock-item,
.dock[data-position="right"] .dock-item { align-items: center; }
.dock[data-position="left"] .dock-slot,
.dock[data-position="right"] .dock-slot,
.dock[data-position="left"] .settings-wrap,
.dock[data-position="right"] .settings-wrap {
  width: var(--dock-icon-width);
  height: calc(var(--dock-icon-height) + var(--dock-slot-extra, 0px));
  flex-basis: calc(var(--dock-icon-height) + var(--dock-slot-extra, 0px));
}
.dock[data-position="left"] .dock-icon-scale { transform-origin: left center; }
.dock[data-position="right"] .dock-icon-scale { transform-origin: right center; }
.dock[data-position="left"] .dock-item.running::before {
  top: 50%;
  right: 1px;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
}
.dock[data-position="right"] .dock-item.running::before {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 1px;
  transform: translateY(-50%);
}
.dock[data-position="left"] .settings-panel {
  right: auto;
  bottom: auto;
  left: calc(100% + 28px);
  top: 50%;
  transform: translateY(-50%);
}
.dock[data-position="right"] .settings-panel {
  right: calc(100% + 28px);
  bottom: auto;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}
.dock-minimized-windows {
  align-items: center;
  gap: var(--dock-gap);
}
.dock-minimized-windows[hidden] { display: none; }
.dock-minimized-slot {
  width: calc(var(--minimized-preview-width) + var(--dock-slot-extra, 0px));
  height: var(--minimized-preview-height);
  flex: 0 0 calc(var(--minimized-preview-width) + var(--dock-slot-extra, 0px));
  align-self: center;
  touch-action: auto;
}
.dock[data-position="left"] .dock-minimized-slot,
.dock[data-position="right"] .dock-minimized-slot {
  width: var(--minimized-preview-width);
  height: calc(var(--minimized-preview-height) + var(--dock-slot-extra, 0px));
  flex-basis: calc(var(--minimized-preview-height) + var(--dock-slot-extra, 0px));
}
.minimized-window-preview {
  position: relative;
  width: var(--minimized-preview-width);
  height: var(--minimized-preview-height);
  flex: 0 0 var(--minimized-preview-width);
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  align-self: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(var(--dock-scale, 1));
  transform-origin: center bottom;
  will-change: transform;
  transition: opacity 140ms ease-out;
}
.dock[data-position="left"] .minimized-window-preview { transform-origin: left center; }
.dock[data-position="right"] .minimized-window-preview { transform-origin: right center; }
.minimized-window-preview:hover,
.minimized-window-preview:focus-visible {
  border-color: transparent;
  box-shadow: none;
}
.minimized-window-preview:focus-visible {
  outline: 2px solid rgba(10,132,255,.72);
  outline-offset: 3px;
}
.minimized-window-preview.is-preparing,
.minimized-window-preview.is-arriving,
.minimized-window-preview.is-restoring {
  opacity: 0;
  pointer-events: none;
  transition: none !important;
}
.minimized-window-preview.is-handoff-visible {
  opacity: 1;
  visibility: visible;
  transition: none !important;
}
.minimized-window-snapshot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.minimized-window-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--default-window-width);
  height: var(--default-window-height);
  transform: scale(var(--minimized-window-scale));
  transform-origin: top left;
  image-rendering: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  filter: none;
  opacity: 1;
  pointer-events: none;
}
.minimized-window-snapshot-clone {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  image-rendering: auto !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  transform: none !important;
  pointer-events: none !important;
  user-select: none !important;
}
.minimized-window-snapshot-clone img,
.minimized-window-snapshot-clone svg,
.minimized-window-snapshot-clone canvas { image-rendering: auto !important; }
.minimized-window-snapshot-clone .resize-handle,
.minimized-window-snapshot-clone [data-resize-handle] { display: none !important; }
.minimized-window-titlebar {
  height: 9px;
  flex: 0 0 9px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(238,235,234,.94);
  border-bottom: 1px solid rgba(60,60,67,.14);
}
.minimized-window-titlebar i,
.minimized-window-transition-titlebar i {
  width: 3px;
  height: 3px;
  display: block;
  border-radius: 50%;
}
.minimized-window-titlebar i:nth-child(1),
.minimized-window-transition-titlebar i:nth-child(1) { background: #e06551; }
.minimized-window-titlebar i:nth-child(2),
.minimized-window-transition-titlebar i:nth-child(2) { background: #ecb944; }
.minimized-window-titlebar i:nth-child(3),
.minimized-window-transition-titlebar i:nth-child(3) { background: #62bb4b; }
.minimized-window-content {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--preview-color, #1d1d1f);
  background: var(--preview-background, #fff);
}
.minimized-project-title {
  max-width: 90%;
  overflow: hidden;
  font-size: clamp(7px, calc(var(--dock-icon-size) * .2), 13px);
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.minimized-notes-sidebar,
.minimized-notes-list,
.minimized-notes-page,
.minimized-messages-sidebar,
.minimized-messages-thread {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 3px;
  box-sizing: border-box;
}
.minimized-notes-sidebar { left: 0; width: 28%; background: #ececec; }
.minimized-notes-list { left: 28%; width: 31%; background: #f7f7f7; border-left: 1px solid rgba(60,60,67,.12); }
.minimized-notes-page { right: 0; width: 41%; background: #fff; border-left: 1px solid rgba(60,60,67,.12); }
.minimized-notes-sidebar i,
.minimized-notes-list i,
.minimized-notes-page i {
  height: 2px;
  display: block;
  border-radius: 2px;
  background: rgba(60,60,67,.28);
}
.minimized-notes-page b { width: 70%; height: 3px; margin-bottom: 2px; border-radius: 2px; background: rgba(29,29,31,.72); }
.minimized-photos-grid {
  position: absolute;
  inset: 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
}
.minimized-photos-grid i { background: hsl(calc(var(--tile) * 39deg) 72% 70%); }
.minimized-messages-sidebar { left: 0; width: 37%; background: #f2f2f7; }
.minimized-messages-thread { right: 0; width: 63%; align-items: flex-start; background: #fff; border-left: 1px solid rgba(60,60,67,.12); }
.minimized-messages-sidebar i { width: 100%; height: 5px; border-radius: 3px; background: rgba(60,60,67,.16); }
.minimized-messages-thread i { width: 76%; height: 6px; border-radius: 6px; background: #e9e9eb; }

.window-transition-layer {
  position: fixed;
  z-index: 2147480000;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.minimized-window-transition {
  position: absolute;
  z-index: 1;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  transform-origin: center center;
  pointer-events: none;
  will-change: transform, opacity, clip-path;
}
.minimized-window-transition.is-project-transition {
  transform-origin: top left;
  contain: paint;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity, clip-path;
}
.minimized-window-transition.is-project-transition > .minimized-window-snapshot-clone {
  contain: strict;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.minimized-window-transition.is-project-transition
  > .minimized-window-snapshot-clone.project-window--embedded {
  box-shadow: var(--project-window-shadow-active);
}
.minimized-window-transition.is-project-transition
  > .minimized-window-snapshot-clone.project-window--embedded
  > .window-bar {
  background:
    var(--project-titlebar-glare-active),
    var(--project-titlebar-static-fill-active);
  border-bottom-color: var(--project-titlebar-border-active);
  box-shadow: var(--project-titlebar-inner-shadow-active);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.minimized-window-transition-titlebar {
  position: relative;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #1d1d1f;
  background: rgba(238,235,234,.96);
  border-bottom: 1px solid rgba(60,60,67,.16);
}
.minimized-window-transition-titlebar > span {
  position: absolute;
  left: 12px;
  display: flex;
  gap: 8px;
}
.minimized-window-transition-titlebar i { width: 13px; height: 13px; }
.minimized-window-transition-titlebar b { max-width: 65%; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.minimized-window-transition-content {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--preview-color, #1d1d1f);
  background: var(--preview-background, #fff);
}
.minimized-window-transition .minimized-project-title {
  font-size: clamp(28px, 6vw, 82px);
}
.project-window.is-window-transitioning { pointer-events: none; }
html.project-window-view-transition-minimizing,
html.project-window-view-transition-restoring {
  view-transition-name: none;
}
::view-transition-group(*) {
  z-index: 2147480000;
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  animation-fill-mode: both;
}
::view-transition-image-pair(*) {
  isolation: isolate;
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  animation-fill-mode: both;
}
::view-transition-old(*),
::view-transition-new(*) {
  width: 100%;
  height: 100%;
  object-fit: fill;
  mix-blend-mode: normal;
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  animation-fill-mode: both;
}
.project-window-view-transition-minimizing::view-transition-old(*) {
  animation-name: project-window-transition-opaque;
}
.project-window-view-transition-minimizing::view-transition-new(*) {
  animation-name: project-window-transition-covered;
}
.project-window-view-transition-restoring::view-transition-old(*) {
  animation-name: project-window-transition-opaque;
}
.project-window-view-transition-restoring::view-transition-new(*) {
  animation-name: project-window-transition-covered;
}
@keyframes project-window-transition-opaque {
  from { opacity: 1; }
  to { opacity: 1; }
}
@keyframes project-window-transition-covered {
  from { opacity: 0; }
  to { opacity: 0; }
}
body.window-dock-transition-active .dock-floating-label,
body.window-dock-transition-active .dock-label {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}
body.window-dock-transition-active .dock-slot {
  --dock-scale: 1 !important;
  --dock-slot-extra: 0px !important;
  --dock-x: 0px !important;
  --dock-y: 0px !important;
  --dock-icon-extra: 0px !important;
}
@media (prefers-reduced-motion: reduce) {
  .dock-label,
  .dock-item.label-visible .dock-label,
  .dock-item:focus-visible .dock-label { transition: opacity 80ms linear; transform: translateX(calc(-50% + var(--dock-label-shift, 0px))); }
  .dock,
  .minimized-window-preview,
  .minimized-window-transition { animation: none !important; transition: none !important; }
}
.settings-wrap > .dock-item { width: 100%; height: 100%; }
.settings-panel {
  position: absolute;
  z-index: 1100;
  right: 0;
  bottom: calc(100% + 28px);
  width: min(430px, calc(100vw - 32px));
  padding: 16px;
  color: #1c1c1e;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(245,245,247,.88);
  box-shadow: 0 24px 70px rgba(28,22,45,.3);
  backdrop-filter: blur(34px) saturate(1.7);
  -webkit-backdrop-filter: blur(34px) saturate(1.7);
}
.settings-panel[hidden] { display: none; }
.settings-head, .setting-row { display: flex; align-items: center; justify-content: space-between; }
.settings-head { margin-bottom: 14px; }
.settings-head span { display: grid; }
.settings-head small { color: rgba(60,60,67,.62); font-size: 10px; }
.settings-head b { font-size: 17px; }
.settings-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(118,118,128,.16);
  cursor: pointer;
}
.settings-group {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(60,60,67,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.52);
}
.setting-row {
  min-height: 52px;
  padding: 10px 12px;
  gap: 18px;
  border-top: 1px solid rgba(60,60,67,.10);
  font-size: 12px;
}
.setting-row:first-child { border-top: 0; }
.setting-row > label { flex: 1 1 155px; font-weight: 500; }
.setting-row--slider { align-items: flex-start; }
.setting-slider-control { width: min(220px, 54%); min-width: 150px; }
.setting-range {
  --range-progress: 0%;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.setting-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, #0a84ff 0 var(--range-progress), rgba(120,120,128,.28) var(--range-progress) 100%);
}
.setting-range::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(120,120,128,.28); }
.setting-range::-moz-range-progress { height: 4px; border-radius: 999px; background: #0a84ff; }
.setting-range::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  appearance: none;
  -webkit-appearance: none;
  border: .5px solid rgba(60,60,67,.22);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.24);
}
.setting-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: .5px solid rgba(60,60,67,.22);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.24);
}
.setting-range:focus-visible { outline: 2px solid rgba(10,132,255,.72); outline-offset: 4px; border-radius: 4px; }
.setting-range-labels { margin-top: 3px; display: flex; justify-content: space-between; color: rgba(60,60,67,.58); font-size: 9px; }
.setting-range-labels--three span:nth-child(2) { margin-left: 12%; }
.setting-select {
  width: min(170px, 48%);
  height: 28px;
  padding: 0 30px 0 12px;
  color: #1d1d1f;
  border: .5px solid rgba(60,60,67,.20);
  border-radius: 7px;
  background-color: rgba(255,255,255,.72);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  font: 500 11px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.setting-select:focus-visible { outline: 2px solid rgba(10,132,255,.72); outline-offset: 2px; }
.setting-select-shell { display: none; }
@media (min-width: 768px) {
  .settings-group--position { overflow: visible; }
  .setting-select-native { display: none; }
  .setting-select-shell {
    position: relative;
    width: min(170px, 48%);
    display: block;
    flex: 0 0 auto;
    --setting-select-inline: 12px;
    --setting-select-check-width: 18px;
    --setting-select-column-gap: 4px;
  }
  .setting-select-trigger {
    width: 100%;
    height: 28px;
    padding: 0 var(--setting-select-inline);
    display: grid;
    grid-template-columns: minmax(0,1fr) 14px;
    align-items: center;
    column-gap: 10px;
    color: #1d1d1f;
    border: .5px solid rgba(60,60,67,.20);
    border-radius: 7px;
    background-color: rgba(255,255,255,.72);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    font: 500 11px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    text-align: left;
  }
  .setting-select-trigger > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .setting-select-trigger > img {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
    transition: transform 150ms cubic-bezier(.2,.8,.2,1);
  }
  .setting-select-trigger[aria-expanded="true"] > img { transform: rotate(180deg); }
  .setting-select-trigger:focus-visible { outline: 2px solid rgba(10,132,255,.72); outline-offset: 2px; }
  .setting-position-menu {
    position: absolute;
    z-index: 5;
    top: calc(100% + 5px);
    right: 0;
    width: 100%;
    padding: 5px var(--setting-select-inline);
    border: .5px solid rgba(60,60,67,.20);
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.26), transparent 48%),
      var(--floating-glass-elevated-fill, rgba(246,241,245,.90));
    box-shadow:
      0 10px 26px rgba(18,22,31,.18),
      inset 0 .5px 0 rgba(255,255,255,.72);
    backdrop-filter: var(--floating-glass-backdrop, blur(22px) saturate(135%));
    -webkit-backdrop-filter: var(--floating-glass-backdrop, blur(22px) saturate(135%));
  }
  .setting-position-menu[hidden] { display: none; }
  .setting-position-menu > button {
    width: 100%;
    min-height: 24px;
    padding: 0;
    display: grid;
    grid-template-columns: var(--setting-select-check-width) minmax(0,1fr);
    align-items: center;
    column-gap: var(--setting-select-column-gap);
    color: #1d1d1f;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font: 500 11px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    text-align: left;
  }
  .setting-position-menu > button:hover,
  .setting-position-menu > button:focus-visible { background: rgba(118,118,128,.10); }
  .setting-position-menu > button:focus-visible { outline: 2px solid rgba(10,132,255,.72); outline-offset: -2px; }
  .setting-position-check {
    width: var(--setting-select-check-width);
    visibility: hidden;
    color: #1d1d1f;
    font-weight: 700;
    text-align: center;
  }
  .setting-position-menu > button[aria-selected="true"] .setting-position-check { visibility: visible; }
}
@media (max-width: 520px) {
  .setting-row { align-items: stretch; flex-direction: column; gap: 8px; }
  .setting-row > label { flex-basis: auto; }
  .setting-slider-control,
  .setting-select { width: 100%; max-width: none; }
}
.project-window {
  position: fixed;
  pointer-events: auto;
  left: 50%;
  top: 50%;
  width: min(830px, calc(100vw - 80px));
  height: min(570px, calc(100dvh - 130px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 15px;
  color: #1d1d1f;
  background: #f6f3f2;
  box-shadow: 0 28px 90px rgba(22,17,38,.34);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transform: translate(calc(-50% + var(--window-x)), calc(-50% + var(--window-y)));
}
.project-window.maximized {
  top: 39px !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100dvh - 39px) !important;
  max-height: none;
  min-width: 0;
  border-width: 0;
  border-radius: 0;
  transform: none;
}
.project-window.native-app-window.maximized {
  top: var(--window-max-top, 51px) !important;
  right: auto !important;
  bottom: auto !important;
  left: var(--window-max-left, 16px) !important;
  width: var(--window-max-width, calc(100vw - 32px)) !important;
  height: var(--window-max-height, calc(100dvh - 83px)) !important;
  max-width: none;
  max-height: none;
  border-width: 1px;
  border-radius: var(--app-window-radius, 12px);
}
.project-window.is-active { z-index: 1001 !important; }
.project-window.dragging,
.project-window.is-resizing { z-index: 1002 !important; }
.project-window.is-resizing {
  cursor: default;
  user-select: none;
}
.project-window.is-resizing iframe {
  pointer-events: none;
}
.resize-handle {
  position: absolute;
  z-index: 30;
  display: block;
  background: transparent;
  touch-action: none;
  user-select: none;
}
.resize-handle--right {
  top: 8px;
  right: -4px;
  bottom: 8px;
  width: 12px;
  cursor: ew-resize;
}
.resize-handle--left {
  top: 8px;
  bottom: 8px;
  left: -4px;
  width: 12px;
  cursor: ew-resize;
}
.resize-handle--bottom {
  right: 8px;
  bottom: -4px;
  left: 8px;
  height: 12px;
  cursor: ns-resize;
}
.resize-handle--top {
  top: -4px;
  right: 8px;
  left: 8px;
  height: 12px;
  cursor: ns-resize;
}
.resize-handle--top-left,
.resize-handle--top-right,
.resize-handle--bottom-left,
.resize-handle--bottom-right {
  z-index: 31;
  width: 18px;
  height: 18px;
}
.resize-handle--top-left {
  top: -6px;
  left: -6px;
  cursor: nwse-resize;
}
.resize-handle--top-right {
  top: -6px;
  right: -6px;
  cursor: nesw-resize;
}
.resize-handle--bottom-left {
  bottom: -6px;
  left: -6px;
  cursor: nesw-resize;
}
.resize-handle--bottom-right {
  right: -6px;
  bottom: -6px;
  cursor: nwse-resize;
}
.project-window.maximized .resize-handle {
  display: none;
}
@media (pointer: coarse) {
  .resize-handle--left,
  .resize-handle--right {
    width: 18px;
  }
  .resize-handle--top,
  .resize-handle--bottom {
    height: 18px;
  }
  .resize-handle--top-left,
  .resize-handle--top-right,
  .resize-handle--bottom-left,
  .resize-handle--bottom-right {
    width: 24px;
    height: 24px;
  }
}
.window-bar {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  background: rgba(232,232,235,.86);
  border-bottom: 1px solid rgba(60,60,67,.16);
  cursor: grab;
  touch-action: none;
}
.window-bar:active { cursor: grabbing; }
.window-bar p { margin: 0; font-size: 12px; font-weight: 600; }
.window-year { justify-self: end; color: rgba(60,60,67,.65); font-size: 11px; }
.traffic { display: flex; gap: 8px; }
.traffic button {
  width: 13px;
  height: 13px;
  padding: 0;
  border-radius: 50%;
  color: transparent;
  cursor: pointer;
}
.traffic button:nth-child(1) { background: #e06551; }
.traffic button:nth-child(2) { background: #ecb944; }
.traffic button:nth-child(3) { background: #62bb4b; }
.browser-toolbar {
  height: 42px;
  padding: 6px 12px;
  display: grid;
  grid-template-columns: 80px minmax(160px, 1fr) 80px;
  align-items: center;
  gap: 12px;
  background: rgba(245,245,247,.9);
  border-bottom: 1px solid rgba(60,60,67,.13);
}
.browser-nav, .browser-actions { display: flex; gap: 14px; color: rgba(60,60,67,.6); }
.browser-actions { justify-content: flex-end; }
.address {
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(118,118,128,.12);
  font-size: 11px;
}
.project-content {
  height: calc(100% - 80px);
  display: grid;
  grid-template-columns: minmax(0, var(--split)) 9px minmax(245px, 1fr);
}
.project-art {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--soft));
}
.art-number { position: absolute; left: 22px; top: 18px; font-size: 12px; font-weight: 700; }
.art-word { z-index: 1; max-width: 80%; font-size: clamp(46px, 7vw, 88px); font-weight: 760; line-height: .8; letter-spacing: -.07em; text-align: center; }
.art-orbit { position: absolute; width: 300px; height: 300px; border: 2px solid rgba(255,255,255,.38); border-radius: 50%; transform: rotate(24deg) scaleY(.42); }
.pane-resizer { position: relative; cursor: col-resize; touch-action: none; }
.pane-resizer::before { content:""; position: absolute; inset: 0 4px; background: rgba(60,60,67,.2); }
.project-copy {
  padding: clamp(22px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(250,250,252,.95);
}
.eyebrow { margin: 0 0 5px; color: rgba(60,60,67,.65); font-size: 11px; }
.project-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .88; letter-spacing: -.06em; }
.summary { font-size: 15px; line-height: 1.45; }
.services { padding: 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.services li { padding: 5px 8px; border: 1px solid rgba(60,60,67,.2); border-radius: 99px; font-size: 10px; }
.view-case { width: 100%; padding: 13px; border-radius: 10px; color: white; background: var(--blue); cursor: pointer; }
.project-window {
  top: 0;
  left: 0;
  width: 40%;
  height: 60vh;
  max-height: 500px;
  min-width: 360px;
  padding: 0;
  display: flex;
  flex-flow: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  color: #171719;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 10px;
  background: #efebea;
  box-shadow: 1px 2px 3px rgba(0,0,0,.25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  -webkit-user-drag: none;
  user-select: none;
  touch-action: none;
  will-change: transform;
  cursor: grab;
  transform: none;
  font-family: sans-serif;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (corner-shape: superellipse(2)) {
  .project-window { corner-shape: superellipse(2); }
}
.project-window[hidden] {
  display: none !important;
}
.project-window.maximized { background: #efebea; }
.project-window.instagram-window {
  --window-titlebar-height: 38px;
  width: min(420px, 88vw);
  height: min(680px, 76vh);
  max-height: none;
  min-width: 0;
}
.project-window.project-window--embedded {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  resize: none;
}
.embedded-project {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  cursor: default;
  touch-action: auto;
  user-select: auto;
}
.embedded-project-frame {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: block;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 220ms ease;
}
.embedded-project-frame.is-loaded { opacity: 1; }
.embedded-project--parent-scroll {
  display: flex;
  flex-direction: column;
}
.project-content-scroll {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-color: rgba(60, 60, 67, 0.42) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.project-content-scroll::-webkit-scrollbar { width: 10px; }
.project-content-scroll::-webkit-scrollbar-track { background: transparent; }
.project-content-scroll::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.38);
  background-clip: padding-box;
}
.project-content-scroll:focus { outline: none; }
.project-content-scroll:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.72);
  outline-offset: -2px;
}
.project-content-scroll .project-document-host {
  width: 100%;
  min-height: 100%;
  flex: 0 0 auto;
}
.project-content-scroll-top {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(25, 25, 24, 0.18);
  border-radius: 999px;
  background: rgba(244, 242, 237, 0.9);
  box-shadow: 0 12px 34px rgba(25, 25, 24, 0.12);
  color: #191918;
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 240ms ease, visibility 240ms ease, transform 240ms ease, background-color 240ms ease;
}
.project-content-scroll-top > span:first-child {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.project-content-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.project-content-scroll-top:hover,
.project-content-scroll-top:focus-visible {
  border-color: #191918;
  background: #191918;
  color: #fbfaf7;
  outline: none;
}
.project-loading-state {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6e6e73;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.project-loading-state[hidden] { display: none; }
.project-loading-state.is-visible {
  visibility: visible;
  opacity: 1;
}
.project-loading-state.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.project-loading-state.is-error .loader-gooey-track { display: none; }
.loader-gooey-blobs {
  position: relative;
  min-width: 76px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e6e73;
}
.loader-gooey-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.loader-gooey-track {
  display: flex;
  gap: 4px;
}
.loader-gooey-blob {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
  border-radius: 50%;
  background: currentColor;
  animation: project-loader-gooey 1.5s ease-in-out infinite;
  will-change: transform;
}
.loader-gooey-blob:nth-child(2) { animation-delay: .2s; }
.loader-gooey-blob:nth-child(3) { animation-delay: .4s; }
.project-loading-title {
  margin: 6px 0 0;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.project-loading-label {
  margin: 0;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}
.project-loading-retry {
  min-width: 54px;
  height: 24px;
  margin-top: 4px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #007aff;
  font: 600 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  cursor: pointer;
}
.project-loading-retry:hover { background: #0874dc; }
.project-loading-retry:focus-visible { outline: 2px solid rgba(0,122,255,.35); outline-offset: 2px; }
@keyframes project-loader-gooey {
  0%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(15px) scale(1.2); }
  50% { transform: translateX(0) scale(1); }
  75% { transform: translateX(-15px) scale(1.2); }
}
@keyframes project-loader-pulse {
  0%, 100% { opacity: .48; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-gooey-blob {
    animation-name: project-loader-pulse;
    transform: none;
    will-change: opacity;
  }
}
.instagram-window-content {
  position: relative;
  width: 100%;
  height: calc(100% - var(--window-titlebar-height));
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  cursor: default;
  touch-action: pan-y;
  user-select: text;
  scrollbar-width: thin;
}
.instagram-embed-host {
  width: 100%;
  min-height: 100%;
  padding: 12px 8px 24px;
  display: grid;
  place-items: start center;
  background: #fff;
}
.instagram-embed-host .instagram-media,
.instagram-embed-host iframe {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
.instagram-loading,
.instagram-fallback {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 32px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: rgba(60,60,67,.72);
  background: #fff;
  font-size: 13px;
  text-align: center;
}
.instagram-loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid rgba(60,60,67,.16);
  border-top-color: rgba(60,60,67,.62);
  border-radius: 50%;
  animation: instagram-loading-spin .8s linear infinite;
}
.instagram-fallback[hidden],
.instagram-loading[hidden] { display: none; }
.instagram-fallback a {
  text-decoration: none;
}
@keyframes instagram-loading-spin {
  to { transform: rotate(360deg); }
}
.project-window.messages-window {
  min-width: min(560px, calc(100vw - 32px));
  min-height: min(400px, calc(100vh - 96px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #1d1d1f;
  background: #fff;
  color-scheme: light;
  cursor: default;
  container-type: inline-size;
  container-name: messages-window;
}
.messages-app {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 310px minmax(0,1fr);
  overflow: hidden;
  background: #fff;
}
.messages-sidebar {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f6f6f8;
  border-right: 1px solid rgba(60,60,67,.14);
}
.messages-search-wrap {
  flex: 0 0 auto;
  padding: 10px 10px 8px;
  border-bottom: 1px solid rgba(60,60,67,.1);
}
.messages-search {
  width: 100%;
  height: 28px;
  padding: 0 10px 0 28px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  color: #1d1d1f;
  background:
    linear-gradient(45deg, transparent 45%, rgba(60,60,67,.55) 46% 54%, transparent 55%) 13px 17px / 7px 7px no-repeat,
    radial-gradient(circle at 12px 11px, transparent 4px, rgba(60,60,67,.55) 4.5px 5.5px, transparent 6px),
    rgba(118,118,128,.12);
  font: 400 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.messages-search:focus { box-shadow: 0 0 0 2px rgba(10,132,255,.28); }
.messages-thread-list {
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px 0 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.messages-thread {
  width: calc(100% - 16px);
  min-height: 70px;
  margin: 4px 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  color: #1d1d1f;
  background: transparent;
  text-align: left;
  cursor: default;
}
.messages-thread:hover { background: rgba(0,0,0,.05); }
.messages-thread.is-selected { color: #fff; background: #0a84ff; }
.messages-thread:focus-visible { outline: 2px solid rgba(10,132,255,.72); outline-offset: -2px; }
.messages-thread-avatar,
.messages-contact-avatar {
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #dedee3;
}
.messages-thread-avatar { width: 46px; height: 46px; }
.messages-thread-copy { min-width: 0; display: block; }
.messages-thread-copy strong,
.messages-thread-copy span,
.messages-thread-copy p {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.messages-thread-copy strong { font-size: 12px; font-weight: 650; line-height: 1.2; }
.messages-thread-copy span { margin-top: 2px; color: rgba(60,60,67,.64); font-size: 10px; line-height: 1.2; }
.messages-thread-copy p { margin: 4px 0 0; color: rgba(60,60,67,.68); font-size: 11px; line-height: 1.25; }
.messages-thread.is-selected .messages-thread-copy span,
.messages-thread.is-selected .messages-thread-copy p { color: rgba(255,255,255,.78); }
.messages-thread[hidden] { display: none; }
.messages-no-results {
  margin: 28px 18px;
  color: rgba(60,60,67,.58);
  font-size: 11px;
  text-align: center;
}
.messages-no-results[hidden] { display: none; }
.messages-conversation {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.messages-conversation-header {
  flex: 0 0 64px;
  min-width: 0;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(60,60,67,.12);
  text-align: center;
}
.messages-contact-avatar { width: 40px; height: 40px; }
.messages-contact-copy { min-width: 0; }
.messages-contact-copy h2 {
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.messages-contact-copy span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(60,60,67,.6);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.messages-history {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 24px 28px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.messages-history-label {
  margin: 0 0 18px;
  color: rgba(60,60,67,.54);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}
.message-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.message-row {
  width: 100%;
  display: flex;
}
.message-row.is-incoming { justify-content: flex-start; }
.message-row + .message-row { margin-top: 8px; }
.message-bubble.is-incoming {
  position: relative;
  max-width: min(620px,74%);
  padding: 10px 14px;
  border-radius: 18px;
  color: #1d1d1f;
  background: #e9e9eb;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -.01em;
  white-space: pre-wrap;
  user-select: text;
}
.message-document-attachment {
  position: relative;
  width: min(520px,74%);
  display: block;
  overflow: hidden;
  color: #1d1d1f;
  background: #f2f2f4;
  border: 1px solid rgba(60,60,67,.20);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  box-sizing: border-box;
  text-decoration: none;
}
.message-bubble.is-incoming.has-native-tail,
.message-document-attachment.has-native-tail {
  border-radius: 0;
}
.message-document-attachment:hover { background: #ececef; }
.message-document-attachment:focus-visible { outline: 3px solid rgba(10,132,255,.34); outline-offset: 2px; }
.message-document-header {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 10px;
}
.message-document-header > span:last-child { min-width: 0; }
.message-document-header strong,
.message-document-header small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-document-header strong { font-size: 13px; font-weight: 600; }
.message-document-header small { margin-top: 2px; color: rgba(60,60,67,.6); font-size: 10px; }
.message-document-icon {
  width: 34px;
  height: 38px;
  display: grid;
  place-items: end center;
  padding-bottom: 4px;
  color: #fff;
  background: linear-gradient(180deg,#ff5a52,#e52b2b);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}
.message-document-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
  border-top: 1px solid rgba(60,60,67,.16);
  border-radius: 0 0 17px 5px;
}
.messages-readonly-footer {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(60,60,67,.55);
  background: rgba(248,248,250,.96);
  border-top: 1px solid rgba(60,60,67,.12);
  font-size: 11px;
}
@container messages-window (max-width: 700px) {
  .messages-app { grid-template-columns: 250px minmax(0,1fr); }
  .messages-history { padding-inline: 20px; }
  .message-bubble.is-incoming,
  .message-document-attachment { max-width: 88%; width: auto; }
}
@container messages-window (max-width: 590px) {
  .messages-app { grid-template-columns: 220px minmax(0,1fr); }
  .messages-thread { grid-template-columns: 40px minmax(0,1fr); padding: 8px; }
  .messages-thread-avatar { width: 40px; height: 40px; }
  .messages-history { padding: 18px 14px 24px; }
  .message-bubble.is-incoming,
  .message-document-attachment { max-width: 94%; width: auto; }
}
.project-window.photos-window {
  min-width: 240px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f5f5f7;
  cursor: default;
}
.photos-app {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #1c1c1e;
  background: #f5f5f7;
  touch-action: auto;
  user-select: none;
  container-type: inline-size;
  container-name: photos-app;
}
.photos-content-header {
  flex: 0 0 auto;
  min-height: 64px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.1);
  background: #f7f7f8;
}
.photos-content-header h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
.photos-content-header p {
  margin: 3px 0 0;
  color: rgba(60,60,67,.6);
  font-size: 11px;
}
.photos-scroll-area {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 6px;
  background: #f5f5f7;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.photos-mosaic {
  --photo-gap: 4px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--photo-gap);
}
.photos-row {
  width: 100%;
  display: flex;
  flex: 0 0 auto;
  gap: var(--photo-gap);
  overflow: hidden;
}
.photo-tile {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #fff;
  cursor: zoom-in;
  content-visibility: auto;
  contain-intrinsic-size: 180px;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease, filter 180ms ease;
  pointer-events: none;
}
.photo-tile.is-image-error,
.mobile-photo.is-image-error {
  position: relative;
  background: rgba(118, 118, 128, .10);
}
.photo-tile.is-image-error img,
.mobile-photo.is-image-error img { visibility: hidden; }
.photo-tile.is-image-error::after,
.mobile-photo.is-image-error::after {
  content: "Image unavailable";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  color: rgba(60, 60, 67, .60);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.photo-tile:hover img { transform: scale(1.015); }
.photo-tile:focus-visible {
  outline: 3px solid #0a84ff;
  outline-offset: -3px;
}
.photos-lightbox {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  background: rgba(18,18,20,.96);
  backdrop-filter: blur(22px) saturate(115%);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
}
.photos-lightbox[hidden] { display: none; }
.photos-lightbox-stage {
  position: absolute;
  inset: 64px 72px 28px;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photos-lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 16px 60px rgba(0,0,0,.34);
  user-select: none;
}
.photos-lightbox-close {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 5;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: transparent;
  cursor: default;
  touch-action: manipulation;
}
.photos-lightbox-close:hover { background: rgba(255,255,255,.12); }
.photos-lightbox-close:active { background: rgba(255,255,255,.18); }
.photos-lightbox-close:focus-visible,
.photos-lightbox-nav:focus-visible {
  outline: none;
  background: rgba(255,255,255,.12);
}
.photos-lightbox-close img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.photos-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  touch-action: manipulation;
}
.photos-lightbox-nav--previous { left: 14px; }
.photos-lightbox-nav--next { right: 14px; }
.photos-lightbox-nav img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
  pointer-events: none;
}
.photos-lightbox-nav:hover { background: rgba(255,255,255,.1); }
.photos-lightbox-nav:active { background: rgba(255,255,255,.16); }
.photos-lightbox-counter {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 5;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 500;
}
@container photos-app (max-width: 420px) {
  .photos-lightbox-stage { inset: 60px 58px 22px; }
  .photos-lightbox-nav--previous { left: 7px; }
  .photos-lightbox-nav--next { right: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-tile img { transition: none; }
}
.adobe-alert {
  position: fixed;
  z-index: 4;
  top: 36%;
  left: 46%;
  width: 350px;
  max-width: calc(100vw - 32px);
  height: min-content;
  padding: 0;
  display: flex;
  flex: none;
  flex-flow: column;
  place-content: center;
  align-items: center;
  gap: 0;
  overflow: hidden;
  color: #e4e4e4;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: #303030;
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  font-family: sans-serif;
  font-size: 12px;
  pointer-events: auto;
  -webkit-user-drag: none;
  -webkit-font-smoothing: inherit;
  cursor: grab;
  opacity: 1;
  transform: translate(-50%, -50%);
  user-select: none;
  touch-action: none;
  will-change: transform;
  outline: 0;
}
.adobe-alert.dragging {
  z-index: 1001 !important;
}
.adobe-alert.is-closing {
  pointer-events: none;
  animation: adobe-alert-close 140ms cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes adobe-alert-close {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.96); }
}
.adobe-alert-titlebar {
  --border-bottom-width: 1px;
  --border-color: #00000080;
  --border-left-width: 0px;
  --border-right-width: 0px;
  --border-style: solid;
  --border-top-width: 0px;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 24px;
  padding: 0;
  display: flex;
  flex: none;
  flex-flow: column;
  place-content: center;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  color: #c8c8c8;
  border-width:
    var(--border-top-width)
    var(--border-right-width)
    var(--border-bottom-width)
    var(--border-left-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  background-color: #303030;
  cursor: grab;
}
.adobe-alert-titlebar:active { cursor: grabbing; }
.adobe-alert-titlebar p {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
.adobe-alert-body {
  width: 100%;
  min-height: 116px;
  padding: 8px 20px 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon message"
    ". action";
  align-items: start;
  gap: 14px 18px;
  background: #303030;
}
.adobe-alert-icon {
  grid-area: icon;
  align-self: start;
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
}
.adobe-alert-message {
  grid-area: message;
  margin: 0;
  max-width: 330px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: pre-line;
}
.adobe-alert-dismiss {
  grid-area: action;
  justify-self: end;
  min-width: 118px;
  height: 30px;
  padding: 0 14px;
  color: #fff;
  border: 0;
  border-radius: 4px;
  background: #356bd8;
  box-shadow: inset 0 1px rgba(255,255,255,.13);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.adobe-alert-dismiss:hover { background: #4077e4; }
.adobe-alert-dismiss:focus-visible {
  outline: 2px solid rgba(116,164,255,.9);
  outline-offset: 2px;
}
.adobe-alert.right-click-alert {
  width: 390px;
}
.right-click-alert .adobe-alert-body {
  min-height: 138px;
  padding: 14px 18px 18px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px 18px;
}
.right-click-alert .adobe-alert-icon {
  width: 54px;
  height: 54px;
}
.right-click-alert .adobe-alert-copy {
  grid-area: message;
  align-self: start;
  min-width: 0;
}
.right-click-alert .adobe-alert-headline {
  margin: 0 0 8px;
  color: #f2f2f2;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.right-click-alert .adobe-alert-message {
  margin: 0;
  max-width: none;
  color: rgba(242,242,247,.88);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.42;
}
.right-click-alert .adobe-alert-dismiss {
  margin-top: 2px;
}
@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .right-click-alert { display: none; }
}
.project-window.notes-window {
  --notes-folders-width: 180px;
  --notes-list-width: 235px;
  --mac-accent: #0a84ff;
  min-width: min(600px, calc(100vw - 32px));
  min-height: min(400px, calc(100vh - 96px));
  max-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  resize: none;
  color: #1d1d1f;
  background: #f2f2f7;
  cursor: default;
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
.project-window.notes-window.maximized { max-height: none; }
.notes-titlebar .window-bar-main {
  position: relative;
}
.notes-sidebar-toggle {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 60px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(28,28,30,.88);
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
}
.notes-sidebar-toggle:hover {
  background: rgba(255,255,255,.72);
  box-shadow:
    0 4px 14px rgba(0,0,0,.06),
    inset 0 .5px 0 rgba(255,255,255,.9);
}
.notes-sidebar-toggle:active {
  background: rgba(0,0,0,.10);
  box-shadow: none;
}
.notes-sidebar-toggle:focus-visible {
  outline: 2px solid rgba(10,132,255,.72);
  outline-offset: 1px;
}
.notes-toolbar-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: none;
}
.notes-titlebar .notes-window-title {
  min-width: 0;
  margin-left: 31px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notes-toolbar-tooltip {
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: max-content;
  max-width: 220px;
  height: 28px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(28,28,30,.96);
  border: .5px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(247,247,247,.68));
  box-shadow:
    0 3px 8px rgba(0,0,0,.12),
    inset 0 .5px 0 rgba(255,255,255,.55);
  font: 400 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transform: translate(-50%, 3px);
  transition:
    opacity 90ms ease-out,
    transform 120ms cubic-bezier(.22,1,.36,1);
}
.notes-toolbar-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sf-icon {
  --sf-icon-size: 18px;
  width: var(--sf-icon-size);
  height: var(--sf-icon-size);
  display: block;
  flex: none;
  color: inherit;
  background: currentColor;
  -webkit-mask: var(--sf-icon) center / contain no-repeat;
  mask: var(--sf-icon) center / contain no-repeat;
}
.sf-icon.is-search,
.sf-icon.is-navigation { --sf-icon-size: 16px; }
.notes-folder-row:focus-visible,
.notes-document-row:focus-visible,
.notes-preview-row:focus-visible,
.notes-editor-back:focus-visible {
  outline: 2px solid rgba(10,132,255,.75);
  outline-offset: 1px;
}
.notes-split-view {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns:
    var(--notes-folders-width)
    7px
    var(--notes-list-width)
    7px
    minmax(0,1fr);
  overflow: hidden;
  color: #1d1d1f;
  transition: grid-template-columns 180ms ease;
}
.notes-folders-pane {
  grid-column: 1;
  min-width: 0;
  min-height: 0;
  padding: 6px 8px 14px;
  overflow-y: auto;
  background: #ececec;
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  transition:
    opacity 120ms ease,
    visibility 0s linear 0s;
}
.notes-folder-tree { width: 100%; }
.notes-folder-row,
.notes-document-row {
  width: 100%;
  min-height: 31px;
  display: grid;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  color: rgba(28,28,30,.92);
  background: transparent;
  font: 400 13px/1.2 inherit;
  text-align: left;
  cursor: default;
}
.notes-folder-row {
  grid-template-columns: 18px minmax(0,1fr) auto;
  padding: 3px 8px;
}
.notes-document-row {
  grid-template-columns: 18px minmax(0,1fr);
  padding: 4px 8px;
}
.notes-folder-row:hover { background: rgba(0,0,0,.06); }
.notes-document-row:hover { background: rgba(0,0,0,.06); }
.notes-folder-row.is-selected { color: #fff; background: var(--mac-accent); }
.notes-folder-children {
  margin-top: 4px;
  padding-left: 22px;
}
.notes-document-row.is-active { background: rgba(0,0,0,.10); }
.notes-sidebar-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  flex: 0 0 18px;
  pointer-events: none;
  user-select: none;
}
.notes-folder-row.is-selected .notes-sidebar-icon {
  filter: brightness(0) invert(1);
}
.notes-folder-count { font-size: 11px; color: rgba(60,60,67,.56); }
.notes-folder-row.is-selected .notes-folder-count { color: rgba(255,255,255,.82); }
.notes-list-pane {
  grid-column: 3;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  background: #f7f7f7;
}
.notes-list-header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 48px;
  padding: 10px 12px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  background: #f7f7f7;
  border-bottom: 1px solid rgba(60,60,67,.12);
}
.notes-list-header strong { font-size: 13px; font-weight: 600; }
.notes-list-header span { color: rgba(60,60,67,.55); font-size: 10px; }
.notes-preview-list { padding-bottom: 8px; }
.notes-preview-row {
  position: relative;
  width: calc(100% - 12px);
  min-height: 76px;
  margin: 6px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-content: start;
  gap: 3px 8px;
  border: 0;
  border-radius: 8px;
  color: rgba(28,28,30,.96);
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: default;
}
.notes-preview-row:hover { background: rgba(0,0,0,.055); }
.notes-preview-row.is-selected { background: rgba(0,0,0,.12); }
.notes-preview-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.notes-preview-row p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(60,60,67,.66);
  font-size: 11px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.notes-empty-state {
  min-height: 210px;
  padding: 52px 18px;
  display: grid;
  place-content: center;
  text-align: center;
}
.notes-empty-state strong { font-size: 14px; }
.notes-empty-state p { margin: 5px 0 0; color: rgba(60,60,67,.58); font-size: 11px; }

.gallery-data-state {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 32px;
  color: rgba(60, 60, 67, .62);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.gallery-data-state[hidden] { display: none; }
.gallery-data-state.is-error { color: rgba(60, 60, 67, .72); }
.notes-editor-pane {
  grid-column: 5;
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 34px 44px 64px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #1d1d1f;
  background: #fff;
  font-family: inherit;
  user-select: text;
  touch-action: pan-y;
  cursor: text;
}
.notes-editor-body {
  max-width: 720px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}
.notes-editor-title {
  margin: 0 0 18px;
  color: #1d1d1f;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}
.notes-editor-body p,
.notes-editor-body li { font: inherit; }
.notes-editor-body p { margin: 0 0 18px; }
.notes-editor-body h2 { margin: 26px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.notes-editor-body ul { margin: 8px 0 18px; padding-left: 22px; }
.notes-editor-body li { margin-bottom: 3px; }
.notes-editor-body a {
  color: #007aff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.notes-editor-body .notes-cv-link {
  display: inline-block;
  margin-top: 4px;
  color: #007aff;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
}
.notes-editor-body .notes-cv-link:hover { text-decoration: underline; }
.notes-editor-back {
  display: none;
  margin: -20px 0 18px -10px;
  padding: 5px 8px;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 6px;
  color: #007aff;
  background: transparent;
  font: 400 13px/1 inherit;
}
.notes-splitter {
  position: relative;
  z-index: 4;
  width: 7px;
  min-width: 7px;
  min-height: 0;
  cursor: col-resize;
  touch-action: none;
}
.notes-splitter::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 1px;
  background: rgba(0,0,0,.13);
}
.notes-splitter[data-splitter="folders"] { grid-column: 2; }
.notes-splitter[data-splitter="list"] { grid-column: 4; }
.notes-window.is-sidebar-collapsed .notes-split-view {
  grid-template-columns: 0 0 var(--notes-list-width) 7px minmax(0,1fr);
}
.notes-window.is-sidebar-collapsed .notes-folders-pane {
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity 120ms ease,
    visibility 0s linear 180ms;
}
.notes-window.is-sidebar-collapsed .notes-splitter[data-splitter="folders"] {
  opacity: 0;
  pointer-events: none;
}
.notes-window.list-collapsed .notes-split-view {
  grid-template-columns: var(--notes-folders-width) 7px 0 0 minmax(0,1fr);
}
.notes-window.list-collapsed .notes-list-pane,
.notes-window.list-collapsed .notes-splitter[data-splitter="list"] { display: none; }
.window-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  height: min-content;
  padding: 10px 10px 0;
  display: flex;
  flex: 0 0 auto;
  flex-flow: column;
  place-content: center flex-start;
  align-items: center;
  gap: 7px;
  overflow: visible;
  color: #1d1d1f;
  background: #f6f3f2;
  border-bottom: 0;
}
.window-bar-main {
  width: 100%;
  min-height: 13px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 17px;
}
.window-bar::after {
  content: "";
  position: static;
  width: 100%;
  height: 1px;
  flex: 0 0 1px;
  background: rgba(0,0,0,.25);
}
.window-bar p {
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
}
.window-year { display: none; }
.traffic {
  position: relative;
  align-items: center;
  gap: 7px;
}
.traffic-control {
  position: relative;
  width: 12px;
  height: 12px;
  min-width: 12px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  cursor: default;
}
.traffic-close { background: #e06551; }
.traffic-minimize { background: #ecb944; }
.traffic-expand { background: #62bb4b; }
.traffic-symbol {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transition: none;
}
.traffic:hover .traffic-symbol {
  opacity: 1;
}
.traffic-control:hover { filter: brightness(.96); }
.traffic-control:active { filter: brightness(.86); }
.traffic-control:focus-visible {
  outline: 2px solid rgba(0,122,255,.48);
  outline-offset: 2px;
}
.project-window:not(.is-active) .traffic-control {
  background: rgba(120,120,128,.28);
  filter: none;
}

/* Phase 2: shared Safari-style chrome for desktop case-study windows only. */
@media (min-width: 761px) {
  .project-window.project-window--embedded {
    --window-surface: rgba(255,255,255,.14);
    --project-titlebar-fill-active: rgba(238,238,241,.70);
    --project-titlebar-fill-inactive: rgba(238,238,241,.56);
    --project-titlebar-static-fill-active: rgba(238,238,241,.78);
    --project-titlebar-static-fill-inactive: rgba(238,238,241,.68);
    --project-titlebar-border-active: rgba(60,60,67,.18);
    --project-titlebar-border-inactive: rgba(60,60,67,.12);
    --project-titlebar-highlight-active: rgba(255,255,255,.70);
    --project-titlebar-highlight-inactive: rgba(255,255,255,.56);
    --project-titlebar-lower-edge-active: rgba(30,38,49,.055);
    --project-titlebar-lower-edge-inactive: rgba(30,38,49,.04);
    --project-titlebar-glare-active: linear-gradient(180deg, rgba(255,255,255,.31) 0%, rgba(255,255,255,.075) 48%, rgba(255,255,255,.018) 100%);
    --project-titlebar-glare-inactive: linear-gradient(180deg, rgba(255,255,255,.23), rgba(255,255,255,.025));
    --project-titlebar-backdrop-active: blur(16px) saturate(124%) brightness(1.012);
    --project-titlebar-backdrop-inactive: blur(16px) saturate(114%) brightness(1.01);
    --project-titlebar-inner-shadow-active:
      inset 0 1px 0 var(--project-titlebar-highlight-active),
      inset 0 -1px 0 var(--project-titlebar-lower-edge-active);
    --project-titlebar-inner-shadow-inactive:
      inset 0 1px 0 var(--project-titlebar-highlight-inactive),
      inset 0 -1px 0 var(--project-titlebar-lower-edge-inactive);
    --project-window-shadow-active:
      0 1px 2px rgba(0,0,0,.20),
      0 14px 38px rgba(18,22,31,.20),
      0 38px 84px rgba(18,22,31,.18);
    --project-window-shadow-inactive:
      0 1px 2px rgba(0,0,0,.11),
      0 11px 30px rgba(18,22,31,.12),
      0 28px 62px rgba(18,22,31,.08);
    --window-corner-radius: 12px;
    --window-titlebar-height: 38px;
    /* Project content clips itself concentrically below. Keeping the shell
       overflow visible lets resize handles live outside the iframe scrollbar. */
    overflow: visible;
    isolation: isolate;
    border: 0;
    border-radius: var(--window-corner-radius);
    color: #1d1d1f;
    /* The title bar and content viewport fully paint the window. Keeping an
       additional translucent shell fill behind their concentric radii creates
       a pale Chromium halo around every corner. */
    background: transparent;
    background-clip: border-box;
    box-shadow: var(--project-window-shadow-inactive);
    /* The title bar owns the project window's glass material. The base
       .project-window backdrop filter otherwise makes Chromium composite a
       second rounded backing surface beneath the iframe. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    scale: .986;
    translate: 0 5px;
    transform-origin: var(--window-origin-x, 50%) var(--window-origin-y, 50%);
    cursor: default;
    user-select: auto;
    transition:
      left 210ms cubic-bezier(.22,1,.36,1),
      top 210ms cubic-bezier(.22,1,.36,1),
      width 210ms cubic-bezier(.22,1,.36,1),
      height 210ms cubic-bezier(.22,1,.36,1),
      border-radius 210ms cubic-bezier(.22,1,.36,1),
      box-shadow 170ms cubic-bezier(.22,1,.36,1),
      background-color 150ms ease-out,
      opacity 140ms ease-out,
      scale 170ms cubic-bezier(.22,1,.36,1),
      translate 170ms cubic-bezier(.22,1,.36,1);
  }
  .project-window.project-window--embedded.is-open {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
  .project-window.project-window--embedded.is-refocusing {
    transform-origin: 50% 50%;
    animation: embedded-project-refocus 180ms cubic-bezier(.22,1,.36,1);
  }
  .project-window.project-window--embedded.is-positioning {
    transition: none;
  }
  .project-window.project-window--embedded.is-active {
    box-shadow: var(--project-window-shadow-active);
  }
  .project-window.project-window--embedded.is-closing {
    opacity: 0;
    scale: .989;
    translate: 0 4px;
    pointer-events: none;
  }
  .project-window.project-window--embedded.dragging,
  .project-window.project-window--embedded.is-resizing {
    transition: none;
    user-select: none;
  }
  .project-window.project-window--embedded.is-resize-committing {
    transition: none;
  }
  .project-window.project-window--embedded.dragging .embedded-project-frame,
  .project-window.project-window--embedded.is-resizing .embedded-project-frame {
    pointer-events: none;
  }
  .project-window.project-window--embedded.maximized {
    top: var(--window-max-top, 39px) !important;
    right: auto !important;
    bottom: auto !important;
    left: var(--window-max-left, 0px) !important;
    width: var(--window-max-width, 100%) !important;
    height: var(--window-max-height, calc(100dvh - 39px)) !important;
    border-width: 0;
    border-radius: var(--window-corner-radius);
  }
  .project-window.project-window--embedded > .window-bar {
    position: relative;
    z-index: 10;
    width: 100%;
    height: var(--window-titlebar-height);
    min-height: var(--window-titlebar-height);
    padding: 0 13px;
    display: flex;
    flex: 0 0 var(--window-titlebar-height);
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    border-radius: calc(var(--window-corner-radius) - 1px) calc(var(--window-corner-radius) - 1px) 0 0;
    color: #1d1d1f;
    background:
      var(--project-titlebar-glare-active),
      var(--project-titlebar-fill-active);
    border-bottom: 1px solid var(--project-titlebar-border-active);
    box-shadow: var(--project-titlebar-inner-shadow-active);
    backdrop-filter: var(--project-titlebar-backdrop-active);
    -webkit-backdrop-filter: var(--project-titlebar-backdrop-active);
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: background-color 150ms ease-out, color 150ms ease-out;
  }
  .project-window.project-window--embedded:not(.is-active) > .window-bar {
    color: rgba(29,29,31,.52);
    background:
      var(--project-titlebar-glare-inactive),
      var(--project-titlebar-fill-inactive);
    border-bottom-color: var(--project-titlebar-border-inactive);
    box-shadow: var(--project-titlebar-inner-shadow-inactive);
    backdrop-filter: var(--project-titlebar-backdrop-inactive);
    -webkit-backdrop-filter: var(--project-titlebar-backdrop-inactive);
  }
  .project-window.project-window--embedded.dragging > .window-bar { cursor: grabbing; }
  .project-window.project-window--embedded > .window-bar::after { display: none; }
  .project-window.project-window--embedded .window-bar-main {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 54px minmax(0,1fr) 54px;
    align-items: center;
    gap: 0;
  }
  .project-window.project-window--embedded .window-bar-main::after {
    content: "";
    width: 54px;
    height: 1px;
  }
  .project-window.project-window--embedded .window-bar p {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: inherit;
    font: 500 12px/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    letter-spacing: -.01em;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-self: stretch;
  }
  .project-window.project-window--embedded .traffic {
    width: 54px;
    gap: 7px;
    justify-self: start;
  }
  .project-window.project-window--embedded .embedded-project {
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 calc(var(--window-corner-radius) - 1px) calc(var(--window-corner-radius) - 1px);
    box-shadow: none;
    filter: none;
    outline: 0;
  }
  .project-window.project-window--embedded .embedded-project-frame {
    border: 0;
    outline: 0;
    box-shadow: none;
    filter: none;
    /* The viewport wrapper is the sole rounded clipping owner. A second
       rounded white iframe layer produces a pale antialiasing crescent in
       Chromium at the lower corners, especially over dark case studies. */
    border-radius: 0;
    color-scheme: light;
    background: #fff;
  }
  .project-window.project-window--embedded .project-loading-state {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,248,250,.97));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  }
  .project-window.project-window--embedded:focus,
  .project-window.project-window--embedded:focus-visible { outline: 0; }

  /* Keep project resizing physically separate from the iframe's native
     scrollbar. Straight-edge handles are five pixels wide and sit entirely
     outside the window boundary; corner handles only overlap the shell by two
     pixels so scrollbar thumbs remain directly draggable. */
  .project-window.project-window--embedded > .resize-handle--right {
    top: 8px;
    right: -5px;
    bottom: 8px;
    width: 5px;
  }
  .project-window.project-window--embedded > .resize-handle--left {
    top: 8px;
    bottom: 8px;
    left: -5px;
    width: 5px;
  }
  .project-window.project-window--embedded > .resize-handle--top {
    top: -5px;
    right: 8px;
    left: 8px;
    height: 5px;
  }
  .project-window.project-window--embedded > .resize-handle--bottom {
    right: 8px;
    bottom: -5px;
    left: 8px;
    height: 5px;
  }
  .project-window.project-window--embedded > .resize-handle--top-left,
  .project-window.project-window--embedded > .resize-handle--top-right,
  .project-window.project-window--embedded > .resize-handle--bottom-left,
  .project-window.project-window--embedded > .resize-handle--bottom-right {
    width: 10px;
    height: 10px;
  }
  .project-window.project-window--embedded > .resize-handle--top-left {
    top: -8px;
    left: -8px;
  }
  .project-window.project-window--embedded > .resize-handle--top-right {
    top: -8px;
    right: -8px;
  }
  .project-window.project-window--embedded > .resize-handle--bottom-left {
    bottom: -8px;
    left: -8px;
  }
  .project-window.project-window--embedded > .resize-handle--bottom-right {
    right: -8px;
    bottom: -8px;
  }

  @keyframes embedded-project-refocus {
    0%, 100% { scale: 1; }
    48% { scale: 1.006; }
  }
}

@media (min-width: 761px) and (prefers-reduced-transparency: reduce) {
  .project-window.project-window--embedded > .window-bar {
    background: #f0f0f3;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (min-width: 761px) and (prefers-contrast: more) {
  .project-window.project-window--embedded {
    border-color: rgba(60,60,67,.32);
  }
  .project-window.project-window--embedded > .window-bar {
    border-bottom-color: rgba(60,60,67,.32);
  }
}

@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  .project-window.project-window--embedded,
  .project-window.project-window--embedded.is-open,
  .project-window.project-window--embedded.is-closing,
  .project-window.project-window--embedded.is-refocusing {
    opacity: 1;
    scale: 1;
    translate: 0 0;
    animation: none;
    transition: none;
  }
}
.project-overview {
  height: auto;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  background: #efebea;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: default;
}
.project-overview-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: min-content;
  padding: 10px;
  display: flex;
  flex: 0 0 auto;
  flex-flow: column;
  place-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  overflow: hidden;
  background: #efebea;
}
.project-overview-inner > * {
  width: 100%;
  flex: 0 0 auto;
}
.project-overview::-webkit-scrollbar { display: none; }
.overview-head {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.overview-cover {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--soft));
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.06em;
}
.overview-title { display: grid; gap: 4px; }
.overview-title b { font-size: 13px; }
.overview-title span { color: #7a7a7a; font-size: 13px; font-weight: 500; }
.overview-description {
  padding: 10px 12px;
  color: #7a7a7a;
  background: white;
  border-block: 1px solid rgba(0,0,0,.12);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.overview-description p { margin: 0; }
.section-label {
  padding: 12px 14px 9px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}
.section-label::before {
  content: "⌄";
  height: auto;
  color: rgba(0,0,0,.28);
  background: transparent;
  font-size: 15px;
  line-height: 1;
}
.detail-grid {
  padding: 0 14px 14px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 5px 10px;
  font-size: 12px;
  line-height: 1.35;
}
.detail-grid dt { color: #7a7a7a; text-align: right; }
.detail-grid dd { margin: 0; }
.preview-stack { padding: 0 14px 14px; display: grid; gap: 8px; }
.preview-hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255,255,255,.35), transparent 18%),
    linear-gradient(145deg, var(--accent), var(--soft));
}
.preview-hero strong {
  max-width: 80%;
  font-size: clamp(54px, 12vw, 92px);
  line-height: .76;
  letter-spacing: -.08em;
  text-align: center;
}
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.88);
  border-radius: 10px;
  background: linear-gradient(var(--tile-angle, 45deg), var(--soft), var(--accent));
  font-size: 11px;
  font-weight: 700;
}
.preview-tile:nth-child(2) { --tile-angle: 145deg; }
.preview-tile:nth-child(3) { --tile-angle: 225deg; }
.credits-grid { padding-bottom: 14px; }
.overview-expand {
  margin: 0 14px 16px;
  width: calc(100% - 28px);
  padding: 9px 11px;
  color: #1c1c1e;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  cursor: pointer;
}
.mac-button {
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(25,25,25,.88);
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
  transition:
    background-color 100ms ease,
    border-color 100ms ease,
    box-shadow 100ms ease,
    opacity 100ms ease,
    transform 80ms ease;
}
.mac-button--plain {
  color: rgba(25,25,25,.88);
  background: transparent;
}
.mac-button--plain:hover { background: rgba(0,0,0,.07); }
.mac-button--plain:active { background: rgba(0,0,0,.12); }
.mac-button--bordered {
  color: rgba(20,20,20,.9);
  border: 1px solid rgba(0,0,0,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(235,235,235,.92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 1px 1px rgba(0,0,0,.05);
}
.mac-button--bordered:hover {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(230,230,230,.96));
}
.mac-button--bordered:active {
  background: rgba(215,215,215,.96);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}
.mac-button--prominent {
  color: #fff;
  border: 1px solid rgba(0,90,210,.65);
  background: #007aff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 1px 2px rgba(0,85,210,.18);
}
.mac-button--prominent:hover { background: #0a84ff; }
.mac-button--prominent:active { background: #006edc; }
.adobe-alert .adobe-alert-dismiss {
  width: auto;
  min-width: 0;
  min-height: 22px;
  height: 22px;
  /* Preserve the copy grid while resolving to an 18px bottom-right inset. */
  margin: 0 -2px 4px 0;
  padding: 5px 10px;
  border-color: rgba(0,80,175,.48);
  border-radius: 6px;
  background: #1677d2;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.adobe-alert .adobe-alert-dismiss:hover { background: #217fd8; }
.adobe-alert .adobe-alert-dismiss:active { background: #1268bb; }
.mac-button--glass {
  color: rgba(20,20,20,.9);
  border: 1px solid rgba(255,255,255,.38);
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.16));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 2px 7px rgba(0,0,0,.1);
  backdrop-filter: blur(18px) saturate(150%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(150%) brightness(1.05);
}
.mac-button--glass:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.43), rgba(255,255,255,.22));
}
.mac-button--glass:active {
  background: rgba(255,255,255,.2);
  transform: scale(.97);
}
.mac-button--glass-prominent {
  color: #fff;
  border: 1px solid rgba(130,195,255,.5);
  background: linear-gradient(180deg, rgba(10,132,255,.9), rgba(0,105,220,.84));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 3px 9px rgba(0,90,210,.22);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.mac-button--glass-prominent:hover {
  background: linear-gradient(180deg, rgba(35,145,255,.94), rgba(0,112,235,.9));
}
.mac-button--glass-prominent:active { transform: scale(.97); }
.mac-button--icon {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
}
.mac-button--icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mac-button--circle {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
}
.mac-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,.28);
}
.mac-button:disabled {
  opacity: .45;
  pointer-events: none;
}
.project-window.maximized .project-overview {
  width: min(920px, 100%);
  margin: auto;
  border-inline: 1px solid rgba(0,0,0,.12);
}

/* Phase 3: shared native desktop application framework. */
@media (min-width: 768px) {
  .desktop {
    --app-glass-fill: rgba(238,238,241,.72);
    --app-glass-fill-inactive: rgba(238,238,241,.60);
    --app-glass-border: rgba(60,60,67,.16);
    --app-glass-highlight: rgba(255,255,255,.72);
    --app-separator: rgba(60,60,67,.14);
    --app-focus-ring: rgba(10,132,255,.72);
    --app-window-radius: 12px;
    --app-shadow-active:
      0 1px 2px rgba(0,0,0,.18),
      0 14px 36px rgba(18,22,31,.19),
      0 34px 76px rgba(18,22,31,.16);
    --app-shadow-inactive:
      0 1px 2px rgba(0,0,0,.09),
      0 11px 28px rgba(18,22,31,.11),
      0 26px 58px rgba(18,22,31,.07);
  }

  .project-window.native-app-window {
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: var(--app-window-radius);
    background: #fff;
    box-shadow: var(--app-shadow-inactive);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    scale: .982;
    translate: 0 5px;
    transform-origin: var(--app-window-origin-x, 50%) var(--app-window-origin-y, 50%);
    transition:
      border-color 150ms ease-out,
      box-shadow 170ms cubic-bezier(.22,1,.36,1),
      opacity 160ms ease-out,
      scale 190ms cubic-bezier(.22,1,.36,1),
      translate 190ms cubic-bezier(.22,1,.36,1);
  }
  .project-window.native-app-window.is-open {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
  .project-window.native-app-window.is-positioning,
  .project-window.native-app-window.dragging,
  .project-window.native-app-window.is-resizing {
    transition: none;
  }
  .project-window.native-app-window.is-active {
    border-color: rgba(255,255,255,.66);
    box-shadow: var(--app-shadow-active);
  }
  .project-window.native-app-window.is-closing {
    opacity: 0;
    scale: .985;
    translate: 0 4px;
    pointer-events: none;
  }
  .project-window.native-app-window.is-refocusing {
    animation: native-app-refocus 180ms cubic-bezier(.22,1,.36,1);
  }

  .project-window.native-app-window > .window-bar {
    position: relative;
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    gap: 0;
    overflow: visible;
    color: #1d1d1f;
    background:
      linear-gradient(180deg, rgba(255,255,255,.26), transparent 48%),
      var(--app-glass-fill);
    border-bottom: 1px solid var(--app-glass-border);
    box-shadow: inset 0 .5px 0 var(--app-glass-highlight);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    transition:
      background-color 150ms ease-out,
      border-color 150ms ease-out,
      box-shadow 150ms ease-out,
      color 150ms ease-out;
  }
  .project-window.native-app-window > .window-bar::after { display: none; }
  .project-window.native-app-window > .window-bar .window-bar-main {
    min-height: 38px;
    gap: 17px;
  }
  .project-window.native-app-window > .window-bar p {
    margin: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
  }
  .project-window.native-app-window:not(.is-active) > .window-bar {
    color: rgba(60,60,67,.62);
    background:
      linear-gradient(180deg, rgba(255,255,255,.18), transparent 50%),
      var(--app-glass-fill-inactive);
    border-bottom-color: rgba(60,60,67,.12);
    box-shadow: inset 0 .5px 0 rgba(255,255,255,.52);
  }
  .project-window.native-app-window > .window-bar .traffic {
    flex: 0 0 auto;
    gap: 8px;
  }

  .native-app-window :is(button, input, select, a):focus-visible,
  .native-settings-surface :is(button, input, select, a):focus-visible {
    outline: 2px solid var(--app-focus-ring, rgba(10,132,255,.72));
    outline-offset: 2px;
  }
  .native-app-window :is(.notes-folder-row,.notes-document-row,.notes-preview-row,.messages-thread):focus-visible {
    outline-offset: -2px;
  }

  .native-app-window :is(.notes-folders-pane,.notes-list-pane,.notes-editor-pane,.messages-thread-list,.messages-history,.photos-scroll-area) {
    scrollbar-width: thin;
    scrollbar-color: rgba(60,60,67,.28) transparent;
  }

  .native-app-window.notes-window > .notes-titlebar .window-bar-main {
    width: 100%;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    display: grid;
    grid-template-columns: 52px 28px minmax(0,1fr) 28px;
    align-items: center;
    column-gap: 8px;
  }
  .native-app-window.notes-window > .notes-titlebar .window-bar-main::after {
    content: "";
    grid-column: 4;
    width: 28px;
    height: 28px;
    display: block;
    pointer-events: none;
  }
  .native-app-window.notes-window > .notes-titlebar .traffic {
    grid-column: 1;
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    justify-self: start;
  }
  .native-app-window.notes-window > .notes-titlebar .notes-sidebar-toggle {
    position: static;
    grid-column: 2;
    justify-self: start;
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    margin: 0;
    transform: none;
  }
.native-app-window.notes-window > .notes-titlebar .notes-window-title {
  grid-column: 3;
  width: 100%;
  min-width: 0;
  margin: 0;
  align-self: center;
  justify-self: stretch;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .native-app-window .notes-folders-pane {
    background: rgba(232,232,234,.94);
    border-right: 0;
    backdrop-filter: blur(18px) saturate(118%);
    -webkit-backdrop-filter: blur(18px) saturate(118%);
  }
  .native-app-window .notes-list-pane,
  .native-app-window .notes-list-header { background: #f7f7f8; }
  .native-app-window .notes-list-header,
  .native-app-window .messages-search-wrap,
  .native-app-window .messages-conversation-header,
  .native-app-window .messages-readonly-footer,
  .native-app-window .photos-content-header {
    border-color: var(--app-separator);
  }
  .native-app-window .notes-preview-row,
  .native-app-window .messages-thread {
    transition: background-color 110ms ease-out, color 110ms ease-out;
  }
  .native-app-window .notes-preview-row.is-selected { background: rgba(118,118,128,.16); }
  .native-app-window .notes-editor-pane { background: #fff; }

  .native-app-window .messages-sidebar {
    background: #f5f5f7;
    border-right-color: var(--app-separator);
  }
  .native-app-window .messages-search-wrap { padding: 9px 10px 8px; }
  .native-app-window .messages-search {
    height: 30px;
    border: .5px solid rgba(60,60,67,.10);
    background:
      linear-gradient(45deg, transparent 45%, rgba(60,60,67,.50) 46% 54%, transparent 55%) 13px 18px / 7px 7px no-repeat,
      radial-gradient(circle at 12px 12px, transparent 4px, rgba(60,60,67,.50) 4.5px 5.5px, transparent 6px),
      rgba(118,118,128,.11);
    box-shadow: inset 0 .5px rgba(255,255,255,.58);
  }
  .native-app-window .messages-search:focus {
    border-color: rgba(10,132,255,.46);
    box-shadow: 0 0 0 2px rgba(10,132,255,.20), inset 0 .5px rgba(255,255,255,.62);
  }
  .native-app-window .messages-thread { border-radius: 10px; }
  .native-app-window .messages-thread:hover { background: rgba(118,118,128,.10); }
  .native-app-window .messages-thread.is-selected { background: #0a84ff; }
  .native-app-window .messages-conversation-header { background: rgba(250,250,251,.94); }
  .native-app-window .messages-readonly-footer {
    color: rgba(60,60,67,.52);
    background: #f8f8fa;
  }

  .native-app-window .photos-content-header { background: #f7f7f8; }
  .native-app-window .photos-scroll-area { background: #f5f5f7; }
  .native-app-window .photo-tile {
    box-shadow: inset 0 0 0 .5px rgba(60,60,67,.08);
    transition: box-shadow 140ms ease-out;
  }
  .native-app-window .photo-tile:hover { box-shadow: inset 0 0 0 .5px rgba(60,60,67,.16); }

  .native-settings-surface {
    border-color: var(--floating-glass-border, rgba(255,255,255,.58));
    background:
      linear-gradient(180deg, rgba(255,255,255,.24), transparent 34%),
      var(--floating-glass-fill, rgba(240,238,241,.78));
    box-shadow:
      0 1px 2px rgba(0,0,0,.11),
      var(--floating-glass-shadow, 0 18px 54px rgba(18,22,31,.20)),
      inset 0 .5px 0 var(--floating-glass-highlight, rgba(255,255,255,.62));
    backdrop-filter: var(--floating-glass-backdrop, blur(22px) saturate(135%));
    -webkit-backdrop-filter: var(--floating-glass-backdrop, blur(22px) saturate(135%));
    opacity: 0;
    scale: .985;
    translate: 0 5px;
    transform-origin: 88% 100%;
    transition: opacity 140ms ease-out, scale 160ms cubic-bezier(.22,1,.36,1), translate 160ms cubic-bezier(.22,1,.36,1);
  }
  .native-settings-surface.is-open {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
  .native-settings-surface .settings-head { margin-bottom: 13px; }
  .native-settings-surface .settings-head small { font-size: 11px; letter-spacing: .01em; }
  .native-settings-surface .settings-head b { font-size: 18px; letter-spacing: -.015em; }
  .native-settings-surface .settings-group {
    border-color: rgba(60,60,67,.11);
    background: rgba(255,255,255,.56);
    box-shadow: inset 0 .5px rgba(255,255,255,.62);
  }
  .native-settings-surface .setting-row { border-top-color: var(--app-separator); }
  .native-settings-surface .settings-close:hover { background: rgba(118,118,128,.22); }

  @keyframes native-app-refocus {
    0% { scale: 1; }
    45% { scale: 1.006; }
    100% { scale: 1; }
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .project-window.native-app-window,
  .native-settings-surface {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 768px) and (prefers-contrast: more) {
  .project-window.native-app-window > .window-bar,
  .native-settings-surface { border-color: rgba(0,0,0,.42); }
  .native-app-window :is(.notes-list-header,.messages-search-wrap,.messages-conversation-header,.messages-readonly-footer,.photos-content-header) {
    border-color: rgba(0,0,0,.34);
  }
}

@media (min-width: 768px) and (prefers-reduced-transparency: reduce) {
  .project-window.native-app-window > .window-bar,
  .native-settings-surface {
    background: #f2f2f4;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Phase 4: shared desktop interaction and motion language. */
@media (min-width: 768px) {
  .desktop {
    --app-motion-instant: var(--motion-instant);
    --app-motion-fast: var(--motion-fast);
    --app-motion-standard: var(--motion-standard);
    --app-motion-window: var(--motion-window);
    --app-motion-ease: var(--motion-ease-standard);
    --app-motion-ease-out: var(--motion-ease-out);
    --app-control-hover: rgba(118,118,128,.10);
    --app-control-pressed: rgba(118,118,128,.17);
    --app-search-height: 30px;
    --app-search-radius: 8px;
  }

  .project-window.native-app-window {
    transition-duration:
      var(--app-motion-standard),
      var(--app-motion-standard),
      var(--app-motion-standard),
      var(--app-motion-window),
      var(--app-motion-window);
    transition-timing-function:
      ease-out,
      var(--app-motion-ease-out),
      ease-out,
      var(--app-motion-ease-out),
      var(--app-motion-ease-out);
  }

  .project-window.native-app-window > .window-bar,
  .native-settings-surface,
  .collections-menu,
  .notes-toolbar-tooltip {
    --floating-glass-fill: var(--native-glass-fill);
    --floating-glass-elevated-fill: var(--native-glass-elevated-fill);
    --floating-glass-border: var(--native-glass-border);
    --floating-glass-highlight: var(--native-glass-highlight);
    --floating-glass-shadow: var(--native-glass-shadow);
    --floating-glass-backdrop: var(--native-glass-backdrop);
  }

  .notes-toolbar-tooltip {
    border-color: var(--floating-glass-border);
    background:
      linear-gradient(180deg, rgba(255,255,255,.30), transparent 52%),
      var(--floating-glass-fill);
    box-shadow:
      var(--floating-glass-shadow),
      inset 0 .5px 0 var(--floating-glass-highlight);
    transition:
      opacity var(--app-motion-instant) ease-out,
      transform var(--app-motion-fast) var(--app-motion-ease-out);
  }

  .collections-menu {
    background:
      linear-gradient(180deg, rgba(255,255,255,.24), transparent 42%),
      var(--floating-glass-elevated-fill);
    border-color: var(--floating-glass-border);
    box-shadow:
      var(--floating-glass-shadow),
      inset 0 .5px 0 var(--floating-glass-highlight);
    backdrop-filter: var(--floating-glass-backdrop);
    -webkit-backdrop-filter: var(--floating-glass-backdrop);
  }

  .native-app-window :is(
    .notes-sidebar-toggle,
    .notes-folder-row,
    .notes-document-row,
    .notes-preview-row,
    .notes-editor-back,
    .messages-thread,
    .photo-tile,
    .photos-lightbox-close,
    .photos-lightbox-nav,
    .traffic-control,
    .mac-button
  ),
  .native-settings-surface :is(button, input, select),
  .collections-menu-item {
    transition-duration: var(--app-motion-fast);
    transition-timing-function: var(--app-motion-ease);
  }

  .native-app-window :is(
    .notes-sidebar-toggle,
    .notes-folder-row,
    .notes-document-row,
    .notes-preview-row,
    .notes-editor-back,
    .messages-thread,
    .photo-tile,
    .photos-lightbox-close,
    .photos-lightbox-nav,
    .mac-button
  ):active,
  .native-settings-surface button:active,
  .collections-menu-item:active {
    scale: .985;
  }

  .project-icon .desktop-folder-icon {
    transform-origin: center bottom;
    transition:
      transform var(--app-motion-fast) var(--app-motion-ease),
      filter var(--app-motion-standard) ease-out;
  }
  .project-icon:active .desktop-folder-icon { transform: translateY(1px) scale(.975); }

  .native-search-field,
  .native-app-window .messages-search {
    width: 100%;
    height: var(--app-search-height);
    padding: 0 10px 0 28px;
    border: .5px solid rgba(60,60,67,.10);
    border-radius: var(--app-search-radius);
    outline: 0;
    color: #1d1d1f;
    background:
      linear-gradient(45deg, transparent 45%, rgba(60,60,67,.50) 46% 54%, transparent 55%) 13px 18px / 7px 7px no-repeat,
      radial-gradient(circle at 12px 12px, transparent 4px, rgba(60,60,67,.50) 4.5px 5.5px, transparent 6px),
      rgba(118,118,128,.11);
    box-shadow: inset 0 .5px rgba(255,255,255,.58);
    font: 400 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    transition:
      border-color var(--app-motion-fast) ease-out,
      background-color var(--app-motion-fast) ease-out,
      box-shadow var(--app-motion-fast) ease-out;
  }
  .native-search-field::placeholder,
  .native-app-window .messages-search::placeholder {
    color: rgba(60,60,67,.56);
    opacity: 1;
  }
  .native-search-field:focus-visible,
  .native-app-window .messages-search:focus-visible {
    border-color: rgba(10,132,255,.46);
    outline: 0;
    box-shadow:
      0 0 0 2px rgba(10,132,255,.20),
      inset 0 .5px rgba(255,255,255,.62);
  }

  .native-app-window :is(button, input, select, a):focus-visible,
  .native-settings-surface :is(button, input, select, a):focus-visible,
  .collections-trigger:focus-visible,
  .collections-menu-item:focus-visible {
    outline: 2px solid var(--native-focus-ring);
    outline-offset: 2px;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .project-icon .desktop-folder-icon,
  .native-app-window :is(button, input, select, a, .photo-tile, .photo-tile img),
  .native-settings-surface :is(button, input, select, a),
  .collections-menu,
  .collections-menu-item,
  .notes-toolbar-tooltip {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

@media (min-width: 768px) and (prefers-reduced-transparency: reduce) {
  .system-bar {
    background: var(--system-bar-glass-fallback);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .notes-toolbar-tooltip,
  .collections-menu,
  .native-search-field,
  .native-app-window .messages-search {
    background-color: #f2f2f4;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (min-width: 768px) and (prefers-contrast: more) {
  .native-search-field,
  .native-app-window .messages-search,
  .notes-toolbar-tooltip,
  .collections-menu {
    border-color: rgba(0,0,0,.42);
  }
}

@media (min-width: 768px) and (forced-colors: active) {
  .native-app-window :is(button, input, select, a):focus-visible,
  .native-settings-surface :is(button, input, select, a):focus-visible,
  .collections-trigger:focus-visible,
  .collections-menu-item:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

.mobile,
.mobile-dock,
.mobile-app-window,
.collections-sheet,
.collections-sheet-backdrop { display: none; }
@media (max-width: 767px) {
  :root {
    --mobile-header-height: 56px;
    --mobile-dock-width: 72px;
    --mobile-dock-left: 18px;
    --desktop-wallpaper-image: url("../public/images/mainbkg-photo-mobile.jpg?v=lm-1");
    --desktop-wallpaper-image: image-set(
      url("../public/images/mainbkg-photo-mobile.webp?v=lm-1") type("image/webp"),
      url("../public/images/mainbkg-photo-mobile.jpg?v=lm-1") type("image/jpeg")
    );
  }
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--desktop-wallpaper-color);
    background-image: var(--desktop-wallpaper-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .desktop { display: none; }
  .system-bar {
    position: fixed;
    z-index: 400;
    inset: 0 0 auto;
    height: calc(var(--mobile-header-height) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(60,60,67,.12);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
  }
  .brand { font-size: 15px; }
  .status,
  .collections-helper { display: none; }
  .collections-control {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }
  .collections-trigger {
    min-height: 36px;
    padding: 0;
    justify-content: flex-end;
    gap: 0;
    color: #1d1d1f;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
  }
  .collections-trigger:hover,
  .collections-trigger[aria-expanded="true"] { background: transparent; }
  .collections-trigger:hover .mobile-filter-label { opacity: .76; }
  .collections-trigger:active { opacity: .62; }
  .mobile-filter-helper {
    display: inline;
    color: rgba(60,60,67,.58);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
  }
  .mobile-filter-helper-short { display: none; }
  .mobile-filter-label { margin-left: 16px; color: #1d1d1f; font-size: 15px; font-weight: 700; line-height: 1; transition: opacity 120ms ease; }
  .collections-chevron { width: 14px; height: 14px; margin-left: 8px; opacity: .75; }
  .collections-menu { display: none !important; }
  .mobile-desktop {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    padding: 0;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-bottom: calc(130px + env(safe-area-inset-bottom));
    background-color: var(--desktop-wallpaper-color);
    background-image: var(--desktop-wallpaper-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-wallpaper-wordmark-layer {
    display: none;
  }
  .wallpaper-wordmark-frame--mobile {
    width: max(100%, calc(100dvh * 9 / 16));
    height: max(100%, calc(100vw * 16 / 9));
  }
.wallpaper-wordmark-frame--mobile .wallpaper-wordmark {
  left: 25%;
  top: 42.5%;
  width: 100%;
}

@media (max-width: 360px) {
  .wallpaper-wordmark-frame--mobile .wallpaper-wordmark {
    left: 28.5%;
    width: 94%;
  }
}
  .mobile-project-grid {
    position: relative;
    z-index: 1;
    width: calc(100% - 126px);
    margin-left: 112px;
    padding: calc(var(--mobile-header-height) + env(safe-area-inset-top) + 32px) 12px 80px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: 20px;
    row-gap: 34px;
    align-items: start;
  }
  .mobile-project-folder {
    width: 100%;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--desktop-folder-label-color);
    background: transparent;
    text-align: center;
    touch-action: manipulation;
    transition: opacity 280ms ease-out, transform 280ms ease-out;
  }
  .mobile-project-folder[hidden] { display: none; }
  .mobile-project-folder.is-filtering-out { opacity: 0; transform: scale(.96); }
  .mobile-project-folder img {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
  }
  .mobile-project-folder span { width: min(126px,100%); max-width: 126px; display: grid; gap: 2px; }
  .mobile-project-folder b { display: -webkit-box; overflow: hidden; color: var(--desktop-folder-label-color); font-size: 12px; font-weight: 700; line-height: 1.05; text-shadow: var(--desktop-folder-label-shadow); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .mobile-project-folder small { overflow: hidden; color: var(--desktop-folder-subtitle-color); font-size: 10px; font-weight: 500; line-height: 1.1; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.66), 0 0 4px rgba(0,0,0,.22); white-space: nowrap; }
  .mobile-dock {
    --mobile-dock-icon-size: 42px;
    --mobile-dock-gap: 8px;
    --dock-material-glare: radial-gradient(178% 66% at -42% 7%, rgba(255,255,255,.29) 0%, rgba(255,255,255,.08) 35%, rgba(255,255,255,0) 66%);
    position: fixed;
    z-index: 300;
    left: var(--mobile-dock-left);
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: var(--mobile-dock-width);
    height: max-content;
    padding: 12px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid transparent;
    border-radius: 28px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    isolation: isolate;
    transition: opacity 160ms ease, visibility 160ms ease;
  }
  .mobile-dock::before {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .mobile-dock-list {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mobile-dock-gap);
  }
  .mobile-dock-item {
    --icon-optical-scale: 1;
    width: var(--mobile-dock-icon-size);
    height: var(--mobile-dock-icon-size);
    flex: 0 0 var(--mobile-dock-icon-size);
    padding: 0;
    margin: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    text-decoration: none;
    touch-action: manipulation;
  }
  .mobile-dock-icon,
  .mobile-dock-item svg { width: 100%; height: 100%; padding: 0; margin: 0; display: block; object-fit: contain; object-position: center; border: 0; border-radius: 0; background: transparent; pointer-events: none; transform: scale(var(--icon-optical-scale)); transform-origin: center; }
  .mobile-dock-item[data-app="vision-bin"] .mobile-dock-icon { translate: 0 5.5%; }
  .mobile-dock-divider { width: calc(var(--mobile-dock-icon-size,40px) - 6px); height: 1px; flex: 0 0 1px; margin: 1px 0; background: rgba(60,60,67,.18); }
  body.has-mobile-app-alert .mobile-desktop { overflow: hidden; }
  .mobile-app-alert-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.48);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }
  .mobile-app-alert-backdrop[hidden],
  .mobile-app-alert[hidden] { display: none; }
  body.has-mobile-app-alert .mobile-app-alert-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-app-alert {
    position: fixed;
    z-index: 2001;
    top: 50%;
    left: 50%;
    width: min(calc(100vw - 40px),310px);
    padding: 20px 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1d1d1f;
    text-align: center;
    border: 1px solid rgba(60,60,67,.10);
    border-radius: 18px;
    background: rgba(250,250,252,.98);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%,-47%) scale(.96);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
    color-scheme: light;
  }
  body.has-mobile-app-alert .mobile-app-alert {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) scale(1);
  }
  .mobile-app-alert-icon {
    width: 46px;
    height: 46px;
    margin: 0 0 12px;
    display: block;
    object-fit: contain;
    background: transparent;
  }
  .mobile-app-alert h2 {
    margin: 0 0 8px;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.18;
  }
  .mobile-app-alert-message {
    width: 100%;
    margin: 0 0 16px;
    color: rgba(28,28,30,.80);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
  }
  .mobile-app-alert-message p { margin: 0; }
  .mobile-app-alert-message p + p { margin-top: 8px; }
  .mobile-app-alert-dismiss {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #007aff;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-app-alert-dismiss:active { background: #0066d6; }
  .mobile-app-alert-dismiss:focus-visible { outline: 3px solid rgba(0,122,255,.32); outline-offset: 2px; }
  body.has-mobile-app-open .mobile-dock { opacity: 0; visibility: hidden; pointer-events: none; }
  .mobile-app-window {
    position: fixed;
    z-index: 600;
    top: calc(var(--mobile-header-height) + env(safe-area-inset-top));
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #1d1d1f;
    background: #fff;
  }
  .mobile-app-window[hidden] { display: none; }
  .mobile-window-bar {
    flex: 0 0 42px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 42px;
    align-items: center;
    padding: 0 6px;
    background: rgba(246,246,248,.96);
    border-bottom: 1px solid rgba(60,60,67,.12);
  }
  .mobile-window-bar p { margin: 0; overflow: hidden; font-size: 14px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-window-back { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; color: #007aff; background: transparent; border-radius: 50%; }
  .mobile-window-back span { font-size: 32px; font-weight: 300; line-height: 1; transform: translateY(-1px); }
  .mobile-app-content { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }
  .mobile-app-content iframe { width: 100%; height: 100%; display: block; border: 0; }
  .mobile-app-scroll { height: 100%; padding: 14px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .mobile-list-screen { display: grid; gap: 1px; background: rgba(60,60,67,.12); }
  .mobile-list-card { width: 100%; min-height: 72px; padding: 11px 14px; display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 12px; background: #fff; text-align: left; }
  .mobile-list-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
  .mobile-list-card strong,
  .mobile-list-card small { display: block; }
  .mobile-list-card strong { margin-bottom: 3px; font-size: 15px; }
  .mobile-list-card small { color: rgba(60,60,67,.62); font-size: 12px; line-height: 1.25; }
  .mobile-messages-screen {
    height: 100%;
    padding: 0;
    background: #fff;
  }
  .mobile-messages-search-wrap {
    padding: 10px 16px 8px;
    background: #fff;
  }
  .mobile-messages-search {
    min-height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #f1f1f3;
  }
  .mobile-messages-search img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: .56;
  }
  .mobile-messages-search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: #1d1d1f;
    background: transparent;
    border: 0;
    outline: 0;
    font: 16px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  }
  .mobile-messages-search input::placeholder { color: #8e8e93; opacity: 1; }
  .mobile-messages-list { width: 100%; background: #fff; }
  .mobile-message-row {
    position: relative;
    width: 100%;
    min-height: 96px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #1d1d1f;
    background: #fff;
    border: 0;
    border-radius: 0;
    text-align: left;
  }
  .mobile-message-row:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 84px;
    height: 1px;
    background: rgba(60,60,67,.14);
  }
  .mobile-message-row:active { background: rgba(118,118,128,.08); }
  .mobile-message-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
  }
  .mobile-message-row-content {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .mobile-message-name {
    overflow: hidden;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-message-role,
  .mobile-message-preview {
    overflow: hidden;
    color: #8e8e93;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
  }
  .mobile-message-role { text-overflow: ellipsis; white-space: nowrap; }
  .mobile-message-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .mobile-messages-empty {
    margin: 0;
    padding: 44px 20px;
    color: #8e8e93;
    font-size: 15px;
    text-align: center;
  }
  .mobile-app-content.is-notes-list { background: #f2f2f7; }
  .mobile-note-list.mobile-list-screen {
    display: block;
    padding: 22px 18px 24px;
    background: #f2f2f7;
  }
  .mobile-notes-section { width: 100%; }
  .mobile-notes-section-header {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1d1d1f;
    background: transparent;
    border: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
  }
  .mobile-notes-section-header img {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0) saturate(100%) invert(70%) sepia(95%) saturate(674%) hue-rotate(5deg) brightness(92%) contrast(101%);
    transition: transform 180ms ease;
  }
  .mobile-notes-section-header[aria-expanded="false"] img { transform: rotate(180deg); }
  .mobile-notes-group {
    max-height: 300px;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
    opacity: 1;
    transition: max-height 220ms ease, opacity 160ms ease, margin 220ms ease;
  }
  .mobile-notes-section.is-collapsed .mobile-notes-group {
    max-height: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-note-row {
    position: relative;
    width: 100%;
    min-height: 72px;
    padding: 11px 18px;
    display: grid;
    align-content: center;
    box-sizing: border-box;
    color: #1d1d1f;
    background: transparent;
    border: 0;
    text-align: left;
  }
  .mobile-note-row:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 18px;
    height: 1px;
    background: rgba(60,60,67,.12);
  }
  .mobile-note-row:active { background: rgba(118,118,128,.08); }
  .mobile-note-title {
    margin: 0;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
  }
  .mobile-note-preview {
    margin: 3px 0 0;
    overflow: hidden;
    color: #8e8e93;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-tool-notice { display: grid; place-content: center; justify-items: center; gap: 20px; color: #e4e4e4; background: #303030; text-align: center; }
  .mobile-tool-notice img { width: 64px; height: 64px; object-fit: contain; }
  .mobile-tool-notice p { max-width: 290px; margin: 0; font-size: 15px; line-height: 1.45; }
  .mobile-tool-notice button { min-height: 40px; padding: 0 18px; color: #fff; border-radius: 8px; background: #0a84ff; }
  .mobile-detail { min-height: 100%; padding: 24px 20px 48px; background: #fff; }
  .mobile-detail h1 { margin: 0 0 20px; font-size: clamp(28px, 8vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
  .mobile-detail h2 { margin: 28px 0 10px; font-size: 19px; }
  .mobile-detail p,
  .mobile-detail li { font-size: 17px; line-height: 1.55; }
  .mobile-messages-conversation { min-height: 100%; padding: 0; background: #fff; }
  .mobile-message-contact {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr);
    align-items: center;
    gap: 11px;
    background: rgba(248,248,250,.96);
    border-bottom: 1px solid rgba(60,60,67,.12);
  }
  .mobile-message-contact img { width: 44px; height: 44px; display: block; border-radius: 50%; object-fit: cover; object-position: center; }
  .mobile-message-contact strong,
  .mobile-message-contact small { display: block; }
  .mobile-message-contact strong { font-size: 15px; }
  .mobile-message-contact small { margin-top: 3px; color: rgba(60,60,67,.6); font-size: 11px; line-height: 1.25; }
  .mobile-message-history { padding: 18px 14px 34px; }
  .mobile-message-history .message-bubble.is-incoming,
  .mobile-message-history .message-document-attachment { max-width: 88%; width: auto; }
  .mobile-message-history .message-document-attachment { width: min(88%,420px); }
  .mobile-photos-grid {
    width: 100%;
    height: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 1px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-photo {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #eee;
    touch-action: manipulation;
  }
  .mobile-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }
  .mobile-photo-viewer { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: #111114; }
  .mobile-photo-viewer > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  .mobile-photo-nav { position: absolute; top: 50%; width: 42px; height: 54px; color: #fff; background: rgba(60,60,67,.55); border-radius: 12px; transform: translateY(-50%); font-size: 28px; }
  .mobile-photo-nav.previous { left: 8px; }
  .mobile-photo-nav.next { right: 8px; }
  .collections-sheet-backdrop {
    position: fixed;
    z-index: 800;
    inset: 0;
    display: block;
    background: rgba(0,0,0,.20);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
  }
  .collections-sheet-backdrop[hidden],
  .collections-sheet[hidden] { display: none; }
  .collections-sheet {
    position: fixed;
    z-index: 801;
    right: 6px;
    bottom: 6px;
    left: 6px;
    max-height: min(78dvh,640px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px 24px 18px 18px;
    background: rgba(250,250,252,.98);
    box-shadow: 0 -12px 50px rgba(0,0,0,.22);
    transform: translateY(calc(100% + 20px));
    transition: transform 320ms cubic-bezier(.22,1,.36,1);
    touch-action: pan-y;
  }
  .collections-sheet-backdrop.is-visible { opacity: 1; pointer-events: auto; }
  .collections-sheet.is-open { transform: translateY(0); }
  .collections-sheet.is-dragging { transition: none; }
  body.is-collections-open,
  body.is-dragging-collections-sheet { overflow: hidden; }
  body.is-dragging-collections-sheet { user-select: none; }
  .collections-sheet-handle { width: 68px; height: 7px; flex: 0 0 auto; margin: 12px auto 10px; border-radius: 999px; background: rgba(60,60,67,.28); touch-action: none; cursor: grab; }
  .collections-sheet.is-dragging .collections-sheet-handle { cursor: grabbing; }
  .collections-sheet-header { flex: 0 0 auto; padding: 8px 18px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(60,60,67,.12); touch-action: none; cursor: grab; }
  .collections-sheet-header h2 { margin: 0; font-size: 18px; font-weight: 700; }
  .collections-sheet-done { min-width: 44px; min-height: 44px; padding: 0; color: #007aff; background: transparent; font-size: 16px; font-weight: 600; }
  .collections-sheet-options { min-height: 0; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
  .collections-sheet-option { width: 100%; min-height: 48px; padding: 0 12px; display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: center; color: #1d1d1f; background: transparent; border-radius: 10px; font-size: 16px; text-align: left; }
  .collections-sheet-option > span:first-child { visibility: hidden; color: #007aff; font-weight: 700; }
  .collections-sheet-option.is-active > span:first-child { visibility: visible; }
  .collections-sheet-option.is-active { color: #fff; background: #007aff; }
  .collections-sheet-option.is-active > span:first-child { color: currentColor; }
  .collections-sheet-option:active { background: rgba(118,118,128,.12); }
  .collections-sheet-separator { height: 1px; margin: 5px 10px; background: rgba(60,60,67,.12); }
}
/* Seventeen icons are taller than a short phone screen, so the rail never
   runs under the menu bar: it scrolls inside the space that is left. */
@media (max-width: 767px) {
  .mobile-dock {
    max-height: calc(100dvh - var(--mobile-header-height, 56px) - 30px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .mobile-dock::-webkit-scrollbar { width: 0; height: 0; }
}
@media (max-width: 767px) and (max-height: 760px) {
  .mobile-dock { --mobile-dock-icon-size: 38px; --mobile-dock-gap: 6px; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 767px) and (max-height: 680px) {
  .mobile-dock { --mobile-dock-icon-size: 34px; --mobile-dock-gap: 5px; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 390px) {
  .mobile-filter-helper { font-size: 10px; }
  .mobile-filter-helper-long { display: none; }
  .mobile-filter-helper-short { display: inline; }
}
@media (hover: none) {
  .mobile-dock-item { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ── Services & Certificates panels ─────────────────────────────────────── */
.project-window.panel-window {
  min-width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  cursor: default;
}
.panel-window .window-bar-subtitle {
  margin-left: auto;
  color: rgba(60,60,67,.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.panel-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden auto;
  padding: 26px 30px 38px;
  background: #fff;
  color: #1d1d1f;
  container-type: inline-size;
  container-name: panel-app;
  user-select: text;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.panel-scroll-area:focus-visible { outline: none; }
.panel-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.55;
}
.panel-kicker {
  margin: 0 0 10px;
  color: rgba(60,60,67,.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.panel-intro h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.01em;
}
.panel-lede {
  margin: 0;
  max-width: 62ch;
  color: rgba(60,60,67,.82);
  font-size: 14px;
  line-height: 1.6;
}
.panel-section { margin-top: 34px; }
.panel-section-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}
.panel-section-note {
  margin: 0 0 14px;
  color: rgba(60,60,67,.66);
  font-size: 12.5px;
}
.panel-footnote {
  margin: 22px 0 0;
  color: rgba(60,60,67,.6);
  font-size: 12px;
}
.panel-cta {
  margin-top: 36px;
  padding: 22px;
  background: #f5f5f7;
  border: 1px solid rgba(60,60,67,.1);
  border-radius: 16px;
}
.panel-cta h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.25; }
.panel-cta p { margin: 0 0 16px; color: rgba(60,60,67,.78); }
.panel-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.panel-button {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(60,60,67,.18);
  border-radius: 999px;
  transition: background var(--motion-instant, 80ms) ease, border-color var(--motion-instant, 80ms) ease;
}
.panel-button:hover { background: rgba(0,0,0,.04); }
.panel-button--primary {
  color: #fff;
  background: #007aff;
  border-color: #007aff;
}
.panel-button--primary:hover { background: #0069df; border-color: #0069df; }

/* Services */
.service-problems {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.service-problems li {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: #f5f5f7;
  border-radius: 12px;
}
.service-problems span {
  color: rgba(60,60,67,.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding-top: 2px;
}
.service-problems p { margin: 0; color: rgba(60,60,67,.86); }
.service-group {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(60,60,67,.12);
}
.service-group-head { display: flex; gap: 16px; align-items: flex-start; }
.service-letter {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(180deg, #5ad2ff, #0a6cff);
  border-radius: 10px;
}
.service-kicker {
  margin: 0 0 4px;
  color: rgba(60,60,67,.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.service-group-head h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.service-blurb { margin: 0; max-width: 60ch; color: rgba(60,60,67,.82); }
.service-items {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.service-item {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(60,60,67,.14);
  border-radius: 14px;
}
.service-item h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.service-item p { margin: 0 0 10px; color: rgba(60,60,67,.76); font-size: 12.5px; line-height: 1.5; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags em {
  padding: 3px 8px;
  color: rgba(60,60,67,.7);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  background: #f1f1f4;
  border-radius: 999px;
}
.service-quote {
  margin: 18px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(10,132,255,.5);
}
.service-quote blockquote {
  margin: 0 0 6px;
  color: #1d1d1f;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.5;
}
.service-quote figcaption { color: rgba(60,60,67,.6); font-size: 11.5px; }
.service-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.service-step {
  padding: 14px 16px;
  background: #f5f5f7;
  border-radius: 14px;
}
.service-step span { color: rgba(60,60,67,.5); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.service-step h4 { margin: 6px 0 4px; font-size: 13.5px; font-weight: 650; }
.service-step p { margin: 0; color: rgba(60,60,67,.76); font-size: 12.5px; line-height: 1.5; }
.service-tools {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.service-tools li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(60,60,67,.14);
  border-radius: 12px;
}
.service-tools strong { font-size: 13px; font-weight: 650; }
.service-tools span { color: rgba(60,60,67,.66); font-size: 11.5px; }

/* Certificates */
.certificate-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.certificate-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 10px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(60,60,67,.14);
  border-radius: 14px;
  transition: background var(--motion-instant, 80ms) ease, border-color var(--motion-instant, 80ms) ease;
}
.certificate-card:hover { background: #fafafa; border-color: rgba(60,60,67,.28); }
.certificate-card:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
.certificate-thumb {
  width: 96px;
  height: 68px;
  display: block;
  overflow: hidden;
  background: #f1f1f4;
  border: 1px solid rgba(60,60,67,.1);
  border-radius: 8px;
}
.certificate-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.certificate-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.certificate-copy strong { font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.certificate-issuer { color: rgba(60,60,67,.66); font-size: 12px; }
.certificate-meta { display: flex; align-items: center; gap: 14px; }
.certificate-year { color: rgba(60,60,67,.5); font-size: 12px; font-variant-numeric: tabular-nums; }
.certificate-open { color: #007aff; font-size: 12px; font-weight: 600; white-space: nowrap; }

@container panel-app (max-width: 560px) {
  .panel-intro h2 { font-size: 22px; }
  .service-items,
  .service-steps,
  .service-tools { grid-template-columns: minmax(0, 1fr); }
  .certificate-card { grid-template-columns: 72px minmax(0, 1fr); row-gap: 8px; }
  .certificate-thumb { width: 72px; height: 54px; }
  .certificate-meta { grid-column: 2; }
}

/* Mobile screens reuse the same markup inside the mobile sheet. */
.mobile-detail.panel-mobile { padding-bottom: 40px; }
.panel-mobile .panel-body { max-width: none; font-size: 14px; }
.panel-mobile .panel-intro h2 { font-size: 23px; }
.panel-mobile .service-items,
.panel-mobile .service-steps,
.panel-mobile .service-tools { grid-template-columns: minmax(0, 1fr); }
.panel-mobile .certificate-card { grid-template-columns: 72px minmax(0, 1fr); row-gap: 8px; }
.panel-mobile .certificate-thumb { width: 72px; height: 54px; }
.panel-mobile .certificate-meta { grid-column: 2; }

/* Tool pop-up secondary link (Figma → product designs) */
.adobe-alert-actions {
  grid-area: action;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.adobe-alert-link {
  color: #9fc9ff;
  font-size: 10.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.adobe-alert-link:hover { color: #fff; text-decoration: underline; }
.adobe-alert-link:focus-visible { outline: 2px solid #9fc9ff; outline-offset: 2px; border-radius: 3px; }
.mobile-app-alert-link-row { margin-top: 4px; }
.mobile-app-alert-link {
  color: #007aff;
  font-weight: 600;
  text-decoration: none;
}
.mobile-app-alert-link:hover { text-decoration: underline; }

/* ── Document viewer (certificates + attachments) ───────────────────────── */
.document-viewer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  background: rgba(16,16,18,.88);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  animation: document-viewer-in 160ms cubic-bezier(.22,1,.36,1);
}
@keyframes document-viewer-in { from { opacity: 0; } to { opacity: 1; } }
.document-viewer-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(28,28,30,.72);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.document-viewer-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.document-viewer-copy strong { font-size: 13.5px; font-weight: 600; }
.document-viewer-copy span { color: rgba(255,255,255,.62); font-size: 11.5px; }
.document-viewer-actions { display: flex; align-items: center; gap: 10px; }
.document-viewer-count { color: rgba(255,255,255,.55); font-size: 11.5px; }
.document-viewer-zoom,
.document-viewer-download {
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  cursor: pointer;
}
.document-viewer-zoom:hover,
.document-viewer-download:hover { background: rgba(255,255,255,.2); }
.document-viewer-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  cursor: pointer;
}
.document-viewer-close img { width: 12px; height: 12px; filter: invert(1); }
.document-viewer-close:hover { background: rgba(255,255,255,.22); }
.document-viewer-stage {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 24px clamp(12px, 4vw, 48px) 48px;
  overscroll-behavior: contain;
}
.document-viewer-stage:focus-visible { outline: none; }
.document-viewer-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.document-viewer-page { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.document-viewer-page img {
  display: block;
  width: auto;
  max-width: min(100%, 1100px);
  max-height: calc(100dvh - 160px);
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.document-viewer.is-actual-size .document-viewer-page img {
  max-width: none;
  max-height: none;
  width: auto;
}
.document-viewer.is-actual-size .document-viewer-pages { align-items: flex-start; }
.document-viewer-page figcaption { color: rgba(255,255,255,.5); font-size: 11px; }
body.has-document-viewer { overflow: hidden; }
.certificate-card { cursor: zoom-in; }

/* Appearance control in System Settings */
.setting-appearance-options { display: flex; gap: 8px; }
.setting-appearance-option {
  flex: 1 1 0;
  min-width: 78px;
  height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 500;
  background: rgba(120,120,128,.12);
  border: 1px solid rgba(60,60,67,.14);
  border-radius: 9px;
  cursor: pointer;
}
.setting-appearance-option[aria-pressed="true"] {
  color: #fff;
  background: #007aff;
  border-color: #007aff;
}
.setting-appearance-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2);
}
.setting-appearance-option[data-appearance="light"] .setting-appearance-swatch { background: #fff; }
.setting-appearance-option[data-appearance="dark"] .setting-appearance-swatch { background: #1c1c1e; }

/* ── Vision Bin library ───────────────────────────────────────────────────
 * A pinboard of sites and tools. Cards flow in masonry columns; the chips
 * above filter by category and the search box filters by text.
 */
.project-window.library-window {
  min-width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fbfbfd;
  cursor: default;
}
.library-app {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fbfbfd;
  color: #1d1d1f;
}
.library-header {
  flex: 0 0 auto;
  padding: 20px 22px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.library-intro h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.library-intro p {
  max-width: 62ch;
  margin: 6px 0 0;
  color: rgba(60,60,67,.66);
  font-size: 13px;
  line-height: 1.45;
}
.library-search {
  flex: 0 1 240px;
  height: 32px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(120,120,128,.1);
  border: 1px solid rgba(60,60,67,.12);
  border-radius: 9px;
}
.library-search img { width: 13px; height: 13px; opacity: .5; }
.library-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.library-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.library-filters {
  flex: 0 0 auto;
  padding: 0 22px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.library-chip {
  height: 28px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 550;
  background: rgba(120,120,128,.1);
  border: 1px solid rgba(60,60,67,.1);
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.library-chip span { color: rgba(60,60,67,.5); font-size: 11px; font-variant-numeric: tabular-nums; }
.library-chip:hover { background: rgba(120,120,128,.18); }
.library-chip.is-active { color: #fff; background: #007aff; border-color: #007aff; }
.library-chip.is-active span { color: rgba(255,255,255,.72); }
.library-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  padding: 2px 22px 26px;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.library-scroll-area:focus-visible { outline: none; }
.library-grid {
  columns: 240px auto;
  column-gap: 16px;
}
.library-card {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  display: block;
  overflow: hidden;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(60,60,67,.1);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  break-inside: avoid;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.library-card[hidden] { display: none; }
.library-card:hover {
  transform: translateY(-2px);
  border-color: rgba(60,60,67,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.library-card:focus-visible { outline: 3px solid rgba(0,122,255,.4); outline-offset: 2px; }
.library-card-media {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  background: rgba(120,120,128,.1);
}
.library-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.library-card--image .library-card-media img { height: auto; object-fit: contain; }
.library-card-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--library-hue,210) 72% 58%), hsl(calc(var(--library-hue,210) + 38) 68% 46%));
}
.library-card-body {
  padding: 12px 13px 13px;
  display: grid;
  gap: 5px;
}
.library-card-title { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.library-card-caption { color: rgba(60,60,67,.66); font-size: 12px; }
.library-card-text { color: rgba(60,60,67,.72); font-size: 12.5px; line-height: 1.42; }
.library-card-meta {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.library-card-tag {
  padding: 2px 7px;
  color: #0b62c4;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  background: rgba(0,122,255,.1);
  border-radius: 999px;
}
.library-card-host { color: rgba(60,60,67,.45); font-size: 11px; }
.library-empty { margin: 30px 0; color: rgba(60,60,67,.55); font-size: 13px; text-align: center; }
.library-lightbox .photos-lightbox-stage img { max-height: 84vh; border-radius: 10px; }
@media (max-width: 767px) {
  .mobile-library { padding: 0; }
  .mobile-library .library-app { background: transparent; }
  .mobile-library .library-header { padding: 14px 14px 10px; }
  .mobile-library .library-intro h1 { font-size: 19px; }
  .mobile-library .library-filters { padding: 0 14px 12px; }
  .mobile-library .library-scroll-area { padding: 0 14px 20px; overflow: visible; }
  .mobile-library .library-grid { columns: 165px auto; column-gap: 12px; }
  .mobile-library .library-card { margin-bottom: 12px; border-radius: 12px; }
  .mobile-library .library-search { flex: 1 1 100%; }
}
