.start-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--bg);
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-color: var(--border) transparent;
}
body.home-open > .topbar,
body.home-open > .workspace {
  visibility: hidden;
}
.home-header {
  height: 88px;
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 36px;
  border-bottom: 1px solid var(--border);
}
.home-header nav,
.home-header > div {
  display: flex;
  align-items: center;
  gap: 23px;
}
.home-header nav button {
  font-size: 12px;
  color: var(--muted);
}
.home-header nav button:hover {
  color: var(--text);
}
.home-header .brand {
  font-size: 24px;
}
.home-header .brand img {
  width: 32px;
  height: 32px;
}
.home-free {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.secondary {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  gap: 8px;
}
.secondary:hover {
  background: var(--hover);
  border-color: var(--faint);
}
.secondary svg {
  width: 15px;
  height: 15px;
}
.full-width {
  width: 100%;
}
.home-content {
  max-width: 1280px;
  margin: auto;
  padding: 0 36px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 418px;
  padding: 35px 0 26px;
  gap: 35px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--faint);
  font-weight: 600;
}
.hero-copy h1 {
  font-size: 65px;
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -3.6px;
  margin: 19px 0;
}
.hero-copy h1 span {
  color: #ad92fb;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 395px;
}
.hero-buttons {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.hero-buttons button {
  height: 41px;
  padding: 0 18px;
  font-size: 12px;
}
.hero-reassurance {
  font-size: 9px;
  color: var(--faint);
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero-reassurance svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}
.hero-reassurance span {
  color: var(--border);
}
.hero-gallery {
  height: 340px;
  position: relative;
  margin-right: 12px;
}
.hero-print {
  position: absolute;
  padding: 0;
  box-shadow: 0 15px 40px #0005;
  border: 5px solid #f6f0e4;
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.2s;
}
.hero-print canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-print:nth-child(1) {
  width: 195px;
  left: 0;
  top: 87px;
  transform: rotate(-10deg);
  z-index: 1;
}
.hero-print:nth-child(2) {
  width: 151px;
  left: 170px;
  top: 5px;
  transform: rotate(6deg);
  z-index: 2;
}
.hero-print:nth-child(3) {
  width: 173px;
  right: 0;
  top: 145px;
  transform: rotate(12deg);
  z-index: 3;
}
.hero-print:hover {
  transform: translateY(-7px) rotate(0deg);
}
.hero-caption {
  position: absolute;
  left: 5%;
  right: 0;
  bottom: -2px;
  text-align: center;
  color: var(--muted);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2px;
}
.start-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding: 10px 0 43px;
}
.start-options > button {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: left;
  justify-content: flex-start;
  gap: 14px;
}
.start-options > button:hover {
  border-color: var(--accent);
  background: var(--elevated);
}
.start-options > button > svg {
  margin-left: auto;
  width: 15px;
  color: var(--faint);
}
.start-options strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.start-options small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.task-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  flex-shrink: 0;
}
.task-icon svg {
  width: 19px;
  height: 19px;
}
.mint {
  color: #a2cdb7;
  background: #243a33;
}
.violet {
  color: #b99cff;
  background: #33294b;
}
.peach {
  color: #e2b293;
  background: #423129;
}
.home-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.home-section-title h2 {
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 500;
  margin-top: 10px;
}
.home-search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 13px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 7px;
  width: 270px;
  height: 38px;
  color: var(--faint);
}
.home-search input {
  padding: 9px 0;
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 11px;
}
.home-search svg {
  width: 15px;
}
.category-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.category-chips button {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 20px;
  font-size: 10px;
  padding: 7px 12px;
  color: var(--muted);
  white-space: nowrap;
}
.category-chips button.active {
  background: var(--accent-soft);
  border-color: #9174da66;
  color: var(--accent);
}
.category-chips button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.home-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px 18px;
}
.home-occasions {
  padding: 24px 0 42px;
}
.home-occasions h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 10px 0;
}
.home-occasions > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.occasion-card {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  text-align: left;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}
.occasion-card:hover,
.occasion-card[aria-pressed="true"] {
  background: var(--elevated);
  border-color: var(--accent);
}
.occasion-art {
  width: 65px;
  height: 76px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
}
.occasion-art canvas {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.occasion-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.occasion-copy strong { font-size: 13px; font-weight: 600; }
.occasion-copy small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.occasion-copy > span { color: var(--accent); font-size: 9px; }
.template-result-count { color: var(--muted); font-size: 10px; margin: -4px 0 20px; }
@media (max-width: 1050px) {
  .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .home-occasions { padding: 12px 0 30px; }
  .home-occasions h2 { font-size: 26px; }
  .occasion-grid { gap: 9px; }
  .occasion-card { display: block; padding: 9px; }
  .occasion-art { width: 100%; height: 94px; margin-bottom: 12px; }
  .occasion-art canvas { width: auto; height: 100%; }
  .occasion-copy { gap: 6px; }
  .occasion-copy small { min-height: 30px; }
}
.design-card {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  text-align: left;
}
.design-art {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  transition: border-color 0.2s;
}
.design-art canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.home-design .design-art {
  background: #222126;
}
.home-design .design-art canvas {
  max-height: 100%;
  object-fit: contain;
  padding: 0;
}
.design-card:hover .design-art {
  border-color: var(--accent);
}
.free-tag {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #2b4739;
  background: #e4f2e5;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: 3px;
  padding: 4px 5px;
  line-height: 1;
}
.design-use {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #16151ddb;
  backdrop-filter: blur(7px);
  padding: 11px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.2s;
}
.design-use svg {
  width: 14px;
  height: 14px;
}
.design-card:hover .design-use,
.design-card:focus-visible .design-use {
  transform: translateY(0);
}
.video-tag {
  position: absolute;
  left: 9px;
  top: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: white;
  background: #1119;
  border-radius: 3px;
  padding: 3px 5px;
}
.video-tag svg {
  width: 10px;
  height: 10px;
}
.design-info strong {
  display: block;
  font-size: 12px;
  margin: 11px 0 5px;
  font-weight: 500;
}
.design-info small {
  font-size: 10px;
  color: var(--faint);
}
.home-how {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 35px;
  border-top: 1px solid var(--border);
  padding: 43px 0;
  margin-top: 50px;
}
.home-how h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-top: 12px;
}
.home-how > div > span:not(.eyebrow) {
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
}
.home-how h3 {
  margin: 13px 0 9px;
  font-size: 12px;
}
.home-how p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.home-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 25px 0;
  color: var(--faint);
  font-size: 10px;
  gap: 20px;
}
.home-footer > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.home-footer a,
.home-footer button {
  color: var(--muted);
  font-size: 10px;
  padding: 0;
}
.home-footer a:hover,
.home-footer button:hover {
  color: var(--accent);
}
.quick-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 15px 0;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-actions > button {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 10px;
  gap: 6px;
  color: #b9b9c5;
  white-space: nowrap;
}
.quick-actions > button:hover {
  border-color: var(--accent);
  color: var(--text);
}
.quick-actions svg {
  width: 13px;
  height: 13px;
}
.quick-actions > .easy-toggle {
  margin-left: auto;
  color: var(--accent);
  background: var(--accent-soft);
  border-color: #7356b548;
}
.easy-toggle svg {
  width: 10px;
}
.easy-mode .inspector-tabs {
  gap: 28px;
}
.easy-mode .prop-section {
  padding: 18px;
}
.easy-section-title {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 10px;
}
.easy-explainer {
  font-size: 10px;
  line-height: 1.7;
  color: var(--faint);
  margin: 7px 0 15px;
}
.easy-range {
  margin: 18px 0 22px;
}
.easy-range label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
}
.easy-range output {
  font-size: 10px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.easy-range input {
  width: 100%;
  height: 4px;
}
.easy-range input::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
}
.easy-mode .secondary {
  height: 35px;
  font-size: 10px;
}
.easy-mode .prop-row {
  font-size: 11px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.easy-mode .prop-row select {
  font-size: 10px;
  width: 130px;
}
.easy-mode textarea {
  font-size: 13px;
  min-height: 86px;
  margin-top: 3px;
  background: var(--bg);
}
.selection-kind {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 15px;
}
.selection-kind svg {
  width: 14px;
  height: 14px;
}
.asset-name {
  display: block;
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.easy-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--faint);
  line-height: 1.6;
  margin-top: 16px;
}
.easy-tip svg {
  width: 12px;
  flex-shrink: 0;
}
.easy-align {
  display: flex;
  gap: 5px;
  margin: 12px 0;
}
.easy-align button {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 10px;
  padding: 7px;
}
.easy-align button.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.selected-asset-preview {
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--bg);
  padding: 10px;
}
.selected-asset-preview img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}
.easy-empty {
  text-align: center;
  padding: 30px 19px;
}
.easy-empty > svg {
  color: var(--accent);
  width: 28px;
  height: 28px;
  margin: 10px;
}
.easy-empty h3 {
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.easy-empty p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 13px 0 20px;
}
.easy-empty > button {
  margin-bottom: 9px;
}
.template-library-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 10px;
}
.template-library-grid .design-info strong {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 7px;
}
.template-library-grid .design-info small {
  font-size: 8px;
}
.template-library-grid .free-tag {
  font-size: 6px;
  padding: 3px;
  top: 5px;
  right: 5px;
}
.template-library-grid .video-tag {
  display: none;
}
.template-library-grid .design-use {
  font-size: 8px;
  padding: 7px 5px;
}
.template-library-grid .design-use svg {
  width: 10px;
  height: 10px;
}
.template-library-grid .design-art {
  border-radius: 5px;
}
.asset-panel .category-chips {
  gap: 5px;
  margin-bottom: 16px;
}
.asset-panel .category-chips button {
  font-size: 9px;
  padding: 5px 9px;
}
.asset-panel .panel-description {
  font-size: 11px;
  line-height: 1.8;
}
.insert-switch {
  display: flex;
  background: var(--bg);
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 14px;
}
.insert-switch button {
  width: 50%;
  padding: 7px 2px;
  font-size: 9px;
  color: var(--muted);
  border-radius: 3px;
  line-height: 1.3;
}
.insert-switch button.active {
  background: var(--elevated);
  color: var(--text);
}
.photo-library-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.photo-library-item {
  display: block;
  width: 100%;
  position: relative;
  padding: 0;
  aspect-ratio: 0.85;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}
.photo-library-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-library-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: #111a;
  padding: 7px 6px;
  font-size: 8px;
  color: white;
  opacity: 0;
}
.photo-library-item:hover span,
.photo-library-item:focus-visible span {
  opacity: 1;
}
.photo-library-item span svg {
  width: 11px;
  height: 11px;
}
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sticker-item {
  aspect-ratio: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
}
.sticker-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.15s;
}
.sticker-card { position: relative; min-width: 0; }
.sticker-card .sticker-item { width: 100%; padding: 15px 12px 12px; }
.sticker-favourite {
  position: absolute; top: 3px; right: 3px; width: 23px; height: 23px;
  padding: 4px; border-radius: 5px; color: var(--muted); background: var(--panel);
}
.sticker-favourite svg { width: 13px; height: 13px; }
.sticker-favourite.active { color: var(--accent); }
.sticker-favourite.active svg { fill: var(--accent-soft); }
.sticker-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; margin: 6px 2px 5px; }
.sticker-tabs { display: flex; padding: 3px; gap: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; margin-bottom: 15px; }
.sticker-tabs button { flex: 1; padding: 8px 4px; font-size: 10px; border-radius: 4px; color: var(--muted); }
.sticker-tabs button.active { background: var(--accent-soft); color: var(--accent); }
.sticker-category select { max-width: 160px; }
.sticker-result-count { color: var(--muted); font-size: 10px; margin: 16px 0 12px; }
.sticker-empty { grid-column: 1 / -1; color: var(--muted); font-size: 11px; padding: 20px 0; line-height: 1.7; }
.photo-action-row { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.photo-action-row .secondary { padding: 9px 10px; }
.photo-strength { margin: 20px 0; }
.photo-tool-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.photo-tool-section h3 { font-weight: 550; margin: 0 0 16px; font-size: 12px; }
.photo-more { margin-top: 20px; }
.filter-button canvas { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 7px; border: 2px solid transparent; }
.filter-button.active canvas { border-color: var(--accent); }
.filter-button small { display: block; color: var(--faint); font-size: 8px; margin-top: 4px; }
#comparePhoto { touch-action: none; user-select: none; }
.sticker-item:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.sticker-item:hover img {
  transform: scale(1.13) rotate(-5deg);
}
.library-credit {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--faint);
  line-height: 1.8;
  margin: 20px 0 10px;
  flex-wrap: wrap;
}
.library-credit svg {
  width: 11px;
  height: 11px;
}
.library-credit a {
  font-size: 9px;
}
.template-modal-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.template-modal-preview canvas {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.template-modal-name {
  font-size: 17px;
  font-weight: 500;
  margin-top: 17px;
}
.template-details {
  font-size: 11px;
  color: var(--muted);
  position: relative;
  margin-top: 7px !important;
  margin-bottom: 10px !important;
  line-height: 1.8;
}
.template-details .free-tag {
  position: static;
  display: inline-block;
  margin-left: 9px;
  vertical-align: middle;
}
.guide-step {
  display: flex;
  gap: 15px;
  margin: 3px 0 24px;
}
.guide-step > span {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
}
.guide-step h3 {
  font-size: 13px;
  margin: 4px 0 8px;
  font-weight: 550;
}
.guide-step p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 7px 0;
}
.guide-step .quiet-button {
  margin-left: -7px;
}
.dialog-body .guide-step + p {
  margin-bottom: 0;
}
.resize-handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border: 2px solid white;
  background: var(--accent-strong);
  border-radius: 50%;
  pointer-events: auto;
  padding: 0;
  touch-action: none;
  cursor: nwse-resize;
  box-shadow: 0 0 0 1px var(--accent);
}
.resize-handle:before {
  content: "";
  position: absolute;
  inset: -9px;
}
.canvas-selection {
  overflow: visible;
}
.canvas-selection:after {
  display: none;
}
.export-credit-note {
  border-top: 1px solid var(--border);
  margin-top: 17px;
  padding-top: 12px;
}
.export-credit-note p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.export-credit-note button {
  padding-left: 0;
}
.library-empty {
  grid-column: 1/-1;
  padding: 50px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 8px;
}
.library-empty > svg {
  width: 25px;
  height: 25px;
  margin: 10px;
}
.library-empty h3 {
  font-size: 16px;
  margin: 8px;
}
.library-empty p {
  font-size: 12px;
  line-height: 2;
}
.home-header .quiet-button {
  font-size: 10px;
}
.home-header .secondary {
  font-size: 11px;
}
.credit-page {
  max-width: 850px;
  margin: 50px auto;
  padding: 0 25px;
  overflow: auto;
}
.credit-page h1 {
  font-size: 35px;
  letter-spacing: -1.3px;
  margin: 25px 0;
}
.credit-page h2 {
  font-size: 22px;
  margin: 35px 0 15px;
}
.credit-page p,
.credit-page li {
  line-height: 1.9;
  color: var(--muted);
  font-size: 13px;
}
.credit-page li {
  margin-bottom: 10px;
}
.credit-page strong {
  color: var(--text);
}
.credit-page footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  margin-top: 30px;
}
.credit-page small {
  color: var(--faint);
}
@media (min-width: 1600px) {
  .home-hero {
    min-height: 460px;
  }
  .hero-copy h1 {
    font-size: 72px;
  }
  .hero-gallery {
    height: 365px;
  }
  .hero-print:nth-child(1) {
    width: 225px;
  }
  .hero-print:nth-child(2) {
    width: 175px;
    left: 190px;
  }
  .hero-print:nth-child(3) {
    width: 185px;
  }
  .home-templates {
    padding-top: 10px;
  }
}
@media (max-width: 1180px) {
  .home-header {
    padding: 0 28px;
  }
  .home-header nav {
    gap: 15px;
  }
  .home-header > div {
    gap: 12px;
  }
  .home-free {
    display: none;
  }
  .home-content {
    padding: 0 30px;
  }
  .home-hero {
    gap: 20px;
    min-height: 380px;
  }
  .hero-copy h1 {
    font-size: 56px;
    letter-spacing: -2.9px;
  }
  .hero-gallery {
    height: 300px;
  }
  .hero-print:nth-child(1) {
    width: 160px;
    left: 0;
    top: 85px;
  }
  .hero-print:nth-child(2) {
    width: 132px;
    left: 130px;
    top: 9px;
  }
  .hero-print:nth-child(3) {
    width: 146px;
    top: 139px;
    right: 0;
  }
  .hero-caption {
    font-size: 12px;
    bottom: -4px;
  }
  .start-options {
    gap: 10px;
  }
  .start-options > button {
    padding: 14px 12px;
    gap: 10px;
  }
  .start-options small {
    font-size: 9px;
  }
  .quick-actions {
    gap: 4px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .quick-actions > button {
    font-size: 9px;
    padding: 6px 7px;
    gap: 4px;
  }
  .quick-actions svg {
    width: 12px;
  }
  .quick-actions > .easy-toggle {
    font-size: 8px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .easy-mode .prop-section {
    padding: 15px;
  }
  .easy-mode .prop-row select {
    width: 115px;
  }
  .home-how {
    gap: 24px;
  }
  .home-how h2 {
    font-size: 21px;
  }
}
@media (max-width: 950px) {
  .home-header nav {
    display: none;
  }
  .home-hero {
    grid-template-columns: 1.05fr 1fr;
  }
  .hero-copy h1 {
    font-size: 50px;
    letter-spacing: -2.5px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-gallery {
    margin-right: 0;
    height: 280px;
  }
  .hero-print:nth-child(1) {
    width: 140px;
    top: 65px;
  }
  .hero-print:nth-child(2) {
    width: 112px;
    left: 105px;
    top: 10px;
  }
  .hero-print:nth-child(3) {
    width: 125px;
    top: 140px;
    right: 0;
  }
  .hero-reassurance {
    font-size: 8px;
    gap: 6px;
    line-height: 1.8;
  }
  .hero-buttons button {
    font-size: 11px;
    padding: 0 12px;
  }
  .start-options > button > svg {
    display: none;
  }
  .start-options .task-icon {
    width: 31px;
    height: 31px;
    border-radius: 7px;
  }
  .start-options strong {
    font-size: 11px;
  }
  .start-options small {
    font-size: 8px;
  }
  .home-template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 13px;
  }
  .home-how {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .home-how > div:first-child {
    grid-column: 1/-1;
  }
  .home-footer {
    flex-direction: column;
    gap: 15px;
  }
  .quick-actions {
    padding-top: 9px;
  }
  .quick-actions > .easy-toggle {
    margin-left: auto;
  }
  .quick-actions > button {
    font-size: 10px;
    padding: 7px 9px;
  }
}
@media (max-width: 700px) {
  .home-header {
    height: 70px;
    padding: 0 20px;
    gap: 12px;
  }
  .home-header .brand {
    font-size: 21px;
    gap: 8px;
  }
  .home-header .brand img {
    width: 28px;
    height: 28px;
  }
  .home-header #openSavedProject {
    display: none;
  }
  .home-header .secondary {
    font-size: 10px;
    padding: 8px 10px;
  }
  .home-content {
    padding: 0 22px;
  }
  .home-hero {
    padding: 31px 0 20px;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1 {
    font-size: 54px;
    margin: 15px 0;
    letter-spacing: -2.8px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero-copy > p {
    max-width: 330px;
    margin: auto;
    font-size: 12px;
  }
  .hero-buttons {
    justify-content: center;
    margin-top: 22px;
  }
  .hero-buttons button {
    height: 40px;
    font-size: 11px;
    padding: 0 18px;
  }
  .hero-reassurance {
    justify-content: center;
    font-size: 8px;
    margin-top: 16px;
  }
  .hero-gallery {
    height: 230px;
    width: 340px;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-print:nth-child(1) {
    width: 134px;
    top: 44px;
    left: 5px;
  }
  .hero-print:nth-child(2) {
    width: 103px;
    top: 4px;
    left: 122px;
  }
  .hero-print:nth-child(3) {
    width: 120px;
    top: 93px;
    right: 0;
  }
  .hero-caption {
    font-size: 11px;
    bottom: 1px;
  }
  .hero-print {
    border-width: 4px;
  }
  .start-options {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 0 34px;
  }
  .start-options > button {
    padding: 12px 14px;
    gap: 13px;
  }
  .start-options strong {
    font-size: 12px;
  }
  .start-options small {
    font-size: 10px;
    margin-top: 4px;
  }
  .start-options .task-icon {
    width: 35px;
    height: 35px;
  }
  .start-options > button > svg {
    display: block;
    margin-right: 3px;
  }
  .home-section-title {
    display: block;
    margin-bottom: 17px;
  }
  .home-section-title h2 {
    font-size: 24px;
    margin-top: 9px;
  }
  .home-search {
    width: 100%;
    margin-top: 17px;
    height: 38px;
  }
  .home-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .home-templates .category-chips {
    gap: 6px;
  }
  .home-templates .category-chips button {
    font-size: 9px;
    padding: 6px 10px;
  }
  .design-info strong {
    font-size: 11px;
    line-height: 1.4;
    margin: 9px 0 4px;
  }
  .design-info small {
    font-size: 9px;
  }
  .home-how {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
    padding-top: 30px;
  }
  .home-how > div:not(:first-child) {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 10px;
  }
  .home-how > div > span:not(.eyebrow) {
    grid-column: 1;
    grid-row: 1/3;
    font-size: 18px;
    margin-top: 0;
  }
  .home-how h3 {
    grid-column: 2;
    margin: 0 0 5px;
  }
  .home-how p {
    grid-column: 2;
    margin: 0;
  }
  .home-how h2 {
    font-size: 25px;
    max-width: 270px;
  }
  .home-footer {
    font-size: 9px;
    padding: 20px 0;
  }
  .home-footer > div {
    gap: 15px;
    flex-wrap: wrap;
  }
  .home-footer > div > span {
    width: 100%;
    font-size: 9px;
  }
  .quick-actions {
    padding: 9px 9px 1px;
    gap: 5px;
    min-height: 39px;
  }
  .quick-actions > button {
    font-size: 9px;
    padding: 7px 8px;
    gap: 4px;
  }
  .quick-actions > .easy-toggle {
    position: sticky;
    right: -1px;
    z-index: 1;
    box-shadow: -7px 0 10px var(--bg);
  }
  .quick-actions [data-quick="filters"] {
    display: none;
  }
  .quick-actions svg {
    width: 12px;
    height: 12px;
  }
  .easy-mode .inspector.mobile-open {
    width: 245px;
  }
  .template-modal-preview {
    height: 230px;
  }
  .dialog-body .guide-step {
    gap: 11px;
  }
  .guide-step p {
    font-size: 11px;
  }
  .resize-handle {
    width: 16px;
    height: 16px;
    right: -8px;
    bottom: -8px;
  }
  .canvas-meta {
    padding-top: 7px;
  }
  .home-header #resumeProject > svg {
    width: 12px;
  }
}
.photo-holder-bar { display:flex;align-items:center;gap:10px;padding:8px 24px 2px;flex-shrink:0;min-width:0;font-size:11px; }
.holder-bar-title { display:flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap; }
.holder-bar-title svg { width:14px;height:14px; }
.holder-bar-title small { color:var(--accent);font-size:10px; }
.holder-slot-list { display:flex;gap:5px;overflow-x:auto;min-width:0; }
.holder-slot-list button { display:flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid var(--border);background:var(--elevated);border-radius:6px;padding:6px 8px;font-size:10px; }
.holder-slot-list button.active { border-color:var(--accent); }
.holder-slot-list svg { width:11px;height:11px; }
.holder-filled-dot { width:5px;height:5px;border-radius:50%;background:var(--green); }
#addPhotoHolder { display:flex;align-items:center;gap:4px;white-space:nowrap;margin-left:auto;font-size:10px;padding:5px; }
#addPhotoHolder svg { width:12px;height:12px; }
.photo-holder-actions { position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden; }
.photo-holder-actions[hidden] { display:none; }
.holder-canvas-button { position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:5px;pointer-events:auto;padding:8px 11px;font-size:11px;line-height:1.3;white-space:nowrap;border-radius:7px;background:#fff;color:#4f3c68;box-shadow:0 2px 12px #33224720;border:1px solid #bcb0cb; }
.holder-canvas-button svg { width:14px;height:14px; }
.holder-replace { padding:4px 7px;font-size:9px;opacity:.88; }
.holder-replace svg { width:11px;height:11px; }
.holder-canvas-button:focus-visible { outline:3px solid var(--accent);outline-offset:3px; }
.holder-picker-heading { font-size:13px;margin:22px 0 12px; }
.holder-picker-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }
.holder-picker-grid button { aspect-ratio:1;border:1px solid var(--border);border-radius:8px;overflow:hidden;padding:0;background:var(--elevated); }
.holder-picker-grid img { width:100%;height:100%;object-fit:cover; }
.holder-presets { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px; }
.holder-presets button { padding:15px;border:1px solid var(--border);border-radius:10px;background:var(--elevated); }
.holder-presets strong { display:block;font-size:12px;margin-top:12px; }
.holder-preset-art { display:flex;align-items:center;justify-content:center;height:65px;gap:5px; }
.holder-preset-art i { display:block;background:#d7c7eb;border:2px dashed #a68bbf;width:85px;height:60px; }
.holder-preset-art.rounded i { border-radius:12px; }
.holder-preset-art.circle i { width:60px;border-radius:50%; }
.holder-preset-art.collage i { width:43px;border-radius:5px; }
.drop-overlay { pointer-events:none; }
.drop-overlay.over-holder { background:#35254b80; }
@media(max-width:700px) {
  .photo-holder-bar { padding:6px 12px 0;gap:7px;flex-wrap:wrap; }
  .holder-bar-title { font-size:10px; }
  .holder-slot-list { max-width:calc(100% - 100px); }
  .holder-bar-title small { display:none; }
  .holder-canvas-button { padding:5px 7px;font-size:9px; }
  .holder-replace span { display:none; }
  .holder-replace { padding:4px; }
}
@media (max-height: 740px) and (min-width: 701px) {
  .quick-actions {
    padding-top: 7px;
  }
  .quick-actions > button {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .canvas-meta {
    padding-top: 8px;
  }
  .easy-mode .editor-toolbar {
    height: 49px;
  }
  .easy-mode .preview-controls {
    height: 47px;
  }
  .home-hero {
    min-height: 362px;
    padding-top: 25px;
    padding-bottom: 20px;
  }
  .hero-gallery {
    height: 300px;
  }
  .home-header {
    height: 77px;
  }
  .home-hero .hero-copy h1 {
    font-size: 57px;
  }
  .start-options {
    padding-bottom: 32px;
  }
}
