:root {
  --ink: #25241f;
  --muted: #68655d;
  --muted-dark: #59574f;
  --paper: #f4f1eb;
  --paper-deep: #ebe6dd;
  --card: #fbfaf7;
  --white: #ffffff;
  --sage: #5d654e;
  --sage-deep: #414936;
  --sage-soft: #dfe3d8;
  --terracotta: #bd7b55;
  --gold: #c7a675;
  --line: rgba(37, 36, 31, 0.1);
  --shadow-soft: 0 18px 55px rgba(54, 47, 37, 0.11);
  --shadow-card: 0 10px 30px rgba(54, 47, 37, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.82), transparent 32%),
    radial-gradient(circle at 88% 88%, rgba(114, 120, 93, 0.2), transparent 29%),
    #d8d1c5;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(189, 123, 85, 0.38);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}

#icon-sparkles path {
  fill: currentColor;
  stroke: none;
}

.desktop-ambient {
  position: fixed;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  pointer-events: none;
}

.desktop-ambient-one {
  top: -12vw;
  left: -7vw;
  width: 31vw;
  height: 31vw;
}

.desktop-ambient-two {
  right: -5vw;
  bottom: -10vw;
  width: 28vw;
  height: 28vw;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: clip;
  background: var(--paper);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: max(14px, env(safe-area-inset-top)) 20px 10px;
  background: linear-gradient(to bottom, rgba(244, 241, 235, 0.97) 68%, rgba(244, 241, 235, 0));
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 4px;
  background: transparent;
}

.brand-symbol {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50% 50% 50% 12px;
  background: var(--sage-deep);
  color: #f7f1e8;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1;
  transform: rotate(-8deg);
}

.brand-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.avatar {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(37, 36, 31, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
}

.icon-button .icon {
  width: 19px;
  height: 19px;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  background: var(--terracotta);
}

.notification-dot[hidden] {
  display: none;
}

.notification-button[aria-expanded="true"] {
  border-color: rgba(189, 123, 85, 0.28);
  background: rgba(255, 255, 255, 0.94);
  color: var(--terracotta);
  box-shadow: 0 9px 24px rgba(54, 47, 37, 0.12);
}

.notification-menu {
  position: absolute;
  z-index: 42;
  top: calc(100% - 4px);
  right: 16px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(470px, calc(100svh - 104px));
  padding: 17px;
  overflow-y: auto;
  border: 1px solid rgba(37, 36, 31, 0.11);
  border-radius: 22px 22px 22px 8px;
  background:
    radial-gradient(circle at 92% 2%, rgba(199, 166, 117, 0.16), transparent 28%),
    rgba(251, 250, 247, 0.98);
  box-shadow: 0 24px 55px rgba(45, 40, 33, 0.2);
  backdrop-filter: blur(22px);
  animation: notification-menu-in 220ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

.notification-menu[hidden] {
  display: none;
}

@keyframes notification-menu-in {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notification-menu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 1px 2px 12px;
  border-bottom: 1px solid var(--line);
}

.notification-menu-head .section-kicker {
  display: block;
  color: var(--terracotta);
  font-size: 7px;
}

.notification-menu-head h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.55px;
}

.notification-read-all {
  min-height: 32px;
  padding: 5px 0 5px 8px;
  background: transparent;
  color: var(--sage-deep);
  font-size: 8.5px;
  font-weight: 800;
}

.notification-read-all[hidden] {
  display: none;
}

.notification-menu-summary {
  padding: 11px 2px 7px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notification-list {
  display: grid;
  gap: 7px;
}

.notification-list[hidden] {
  display: none;
}

.notification-item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 38px 1fr 14px;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid rgba(37, 36, 31, 0.07);
  border-radius: 16px 16px 16px 6px;
  background: rgba(244, 241, 235, 0.58);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.notification-item:hover {
  border-color: rgba(189, 123, 85, 0.22);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.notification-item.is-unread {
  border-color: rgba(189, 123, 85, 0.2);
  background: rgba(245, 231, 218, 0.68);
}

.notification-item.is-unread::after {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
}

.notification-item-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px 13px 13px 5px;
  background: var(--sage-deep);
  color: #f0d7ad;
  font-family: var(--serif);
  font-size: 17px;
}

.notification-item-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.notification-item-copy strong {
  padding-right: 8px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.notification-item-copy small {
  overflow: hidden;
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-item-copy time {
  color: rgba(104, 101, 93, 0.78);
  font-size: 7.8px;
  font-weight: 700;
}

.notification-item-arrow {
  color: var(--sage);
  font-family: var(--serif);
  font-size: 22px;
}

.notification-empty {
  display: grid;
  min-height: 185px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 24px 20px;
  text-align: center;
}

.notification-empty[hidden] {
  display: none;
}

.notification-empty-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
  place-items: center;
  border: 1px solid rgba(65, 73, 54, 0.1);
  border-radius: 18px 18px 18px 7px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.notification-empty-icon .icon {
  width: 20px;
  height: 20px;
}

.notification-empty strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.notification-empty p {
  max-width: 210px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.avatar {
  background: #cdb293;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.avatar::before {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: inherit;
  content: "";
}

.views {
  padding: 0 20px 124px;
}

.view {
  animation: view-in 430ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.view[hidden] {
  display: none;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 15px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.eyebrow-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage-deep);
  font-size: 10.5px;
}

.eyebrow-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d8c69;
  box-shadow: 0 0 0 4px rgba(125, 140, 105, 0.13);
}

.hero-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 31px 31px 31px 9px;
  background: #37382f;
  color: #fff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 19, 15, 0.26) 0%, rgba(18, 19, 15, 0.02) 32%, rgba(18, 19, 15, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 19, 15, 0.16), transparent 62%);
}

.hero-topline {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(31, 33, 27, 0.32);
  backdrop-filter: blur(12px);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.glass-pill .icon {
  width: 13px;
  height: 13px;
  color: #ead3a7;
}

.hero-count {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  opacity: 0.8;
}

.hero-copy {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.hero-copy h1 {
  max-width: 335px;
  font-family: var(--serif);
  font-size: clamp(39px, 10.5vw, 47px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -2.4px;
  text-wrap: balance;
}

.hero-copy h1 em {
  color: #e7cda8;
  font-weight: 400;
}

.hero-copy p {
  max-width: 320px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 12.5px;
  line-height: 1.55;
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 9px 8px 18px;
  border-radius: 17px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(29, 36, 24, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:active {
  transform: scale(0.985);
}

.hero-button {
  justify-content: space-between;
  min-height: 58px;
  margin-top: 18px;
  padding-left: 21px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(249, 248, 244, 0.95);
  color: var(--ink);
  box-shadow: none;
}

.button-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--sage-deep);
  color: #fff;
}

.button-icon .icon {
  width: 17px;
  height: 17px;
}

.section-block {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2,
.studio-heading h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -0.8px;
}

.section-kicker {
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.compact-heading {
  align-items: center;
}

.time-pill,
.optional-label {
  flex: none;
  padding: 7px 10px;
  border: 1px solid rgba(37, 36, 31, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted-dark);
  font-size: 10.5px;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.process-item {
  position: relative;
  min-height: 139px;
  padding: 14px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(37, 36, 31, 0.075);
  border-radius: 20px 20px 20px 7px;
  background: rgba(255, 255, 255, 0.58);
}

.featured-process {
  background: var(--sage-deep);
  color: #fff;
}

.process-number {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(37, 36, 31, 0.35);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}

.featured-process .process-number {
  color: rgba(255, 255, 255, 0.45);
}

.process-icon {
  display: grid;
  width: 35px;
  height: 35px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 11px;
  background: #e7e5dd;
  color: var(--sage-deep);
}

.featured-process .process-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #e8d3ad;
}

.process-icon .icon {
  width: 16px;
  height: 16px;
}

.process-item h3 {
  font-size: 12px;
  line-height: 1.25;
}

.process-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.featured-process p {
  color: rgba(255, 255, 255, 0.58);
}

.text-button {
  flex: none;
  min-height: 44px;
  padding: 8px 0;
  background: transparent;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(65, 73, 54, 0.28);
  text-underline-offset: 4px;
}

.style-scroller {
  display: grid;
  grid-auto-columns: 143px;
  grid-auto-flow: column;
  gap: 11px;
  margin-right: -20px;
  padding-right: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.style-scroller::-webkit-scrollbar {
  display: none;
}

.style-card {
  position: relative;
  height: 192px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 23px 23px 23px 8px;
  background: #777;
  color: #fff;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease;
}

.style-card:active {
  transform: scale(0.98);
}

.style-card.is-selected {
  border-color: var(--terracotta);
}

.style-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.style-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 23, 19, 0.74), transparent 62%);
}

.style-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(246, 240, 230, 0.88);
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.style-title {
  position: absolute;
  right: 12px;
  bottom: 13px;
  left: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 550;
  line-height: 0.95;
  letter-spacing: -0.4px;
}

.style-select {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
}

.style-card.is-selected .style-select {
  display: grid;
}

.style-select .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.round-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.round-arrow .icon {
  width: 16px;
  height: 16px;
}

.compare-card {
  --compare-position: 52%;
  --compare-width: 390px;
  position: relative;
  height: 265px;
  overflow: hidden;
  border-radius: 26px 26px 26px 8px;
  background: #c4bbaa;
  box-shadow: var(--shadow-card);
}

.compare-image,
.compare-after,
.compare-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-before {
  filter: grayscale(0.75) saturate(0.55) brightness(0.88);
}

.compare-after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--compare-position);
  overflow: hidden;
}

.compare-after img {
  width: var(--compare-width);
  max-width: none;
  object-position: center;
}

.compare-label {
  position: absolute;
  top: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 31, 27, 0.48);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-label-before {
  left: 13px;
}

.compare-label-after {
  right: 13px;
  background: rgba(246, 242, 233, 0.88);
  color: var(--ink);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 2px;
  background: rgba(255, 255, 255, 0.88);
  transform: translateX(-1px);
  pointer-events: none;
}

.compare-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(65, 73, 54, 0.88);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 31, 27, 0.22);
  transform: translate(-50%, -50%);
}

.compare-line b {
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.project-meta {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 2px 0;
}

.project-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta strong {
  font-size: 11px;
}

.mini-palette {
  display: flex;
  align-items: center;
}

.mini-palette i {
  width: 16px;
  height: 16px;
  margin-left: -3px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--swatch);
}

.mini-palette i:first-child {
  margin-left: 0;
}

.project-date {
  color: var(--muted);
  font-size: 10px;
}

.page-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 1px 18px;
}

.page-title-row h1,
.profile-intro h1 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -1.7px;
}

.step-indicator {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.studio-prep-indicator {
  width: auto;
  min-width: 66px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-track {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 5px;
  height: 3px;
  margin-bottom: 28px;
}

.step-track span,
.step-track i {
  border-radius: 999px;
  background: #dcd7ce;
}

.step-track span {
  background: var(--sage-deep);
}

.studio-section {
  margin-top: 30px;
}

.studio-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 15px;
}

.studio-number {
  display: grid;
  width: 29px;
  height: 29px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
}

.studio-heading h2 {
  margin-top: 0;
}

.studio-heading p {
  max-width: 310px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.upload-zone {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 212px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px dashed rgba(65, 73, 54, 0.36);
  border-radius: 27px 27px 27px 8px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.86), rgba(239, 235, 226, 0.68)),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(65, 73, 54, 0.02) 10px, rgba(65, 73, 54, 0.02) 20px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.upload-zone > :not(.upload-preview) {
  position: relative;
  z-index: 2;
}

.upload-preview {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-zone.has-image::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 29, 23, 0.25), rgba(25, 29, 23, 0.76));
  content: "";
}

.upload-zone.has-image {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.upload-zone.has-image > span:not(.upload-visual),
.upload-zone.has-image em {
  color: rgba(255, 255, 255, 0.78);
}

.upload-zone.has-image .upload-visual {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(9px);
}

.upload-visual {
  position: relative;
  display: grid;
  width: 61px;
  height: 61px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50% 50% 50% 18px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.upload-visual::after {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(65, 73, 54, 0.17);
  border-radius: inherit;
  content: "";
}

.upload-visual .icon {
  width: 23px;
  height: 23px;
}

.upload-zone strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 550;
}

.upload-zone > span:not(.upload-visual) {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 11.5px;
}

.upload-zone em {
  margin-top: 10px;
  color: #9a968d;
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.03em;
}

.regional-edit-entry {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(65, 73, 54, 0.12);
  border-radius: 20px 20px 20px 7px;
  background:
    radial-gradient(circle at 0 0, rgba(199, 166, 117, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.57);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.regional-edit-entry.has-marks {
  border-color: rgba(189, 123, 85, 0.3);
  background:
    radial-gradient(circle at 0 0, rgba(189, 123, 85, 0.15), transparent 38%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 25px rgba(54, 47, 37, 0.07);
}

.regional-edit-entry-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px 14px 14px 5px;
  background: var(--sage-deep);
  color: #e8cd9b;
}

.regional-edit-entry-icon .icon {
  width: 17px;
  height: 17px;
}

.regional-edit-entry-copy {
  min-width: 0;
}

.regional-edit-entry-copy > span {
  display: block;
  color: var(--terracotta);
  font-size: 6.7px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.regional-edit-entry-copy > strong {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.12;
}

.regional-edit-entry-copy > p {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8.2px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.regional-edit-colors {
  display: flex;
  gap: 3px;
  margin-top: 7px;
}

.regional-edit-colors i {
  width: 13px;
  height: 4px;
  border-radius: 999px;
  background: var(--marker);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.regional-edit-open {
  display: grid;
  width: 82px;
  min-height: 54px;
  grid-template-columns: 1fr 14px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 2px 3px;
  padding: 8px 8px 8px 10px;
  border-radius: 15px 15px 15px 5px;
  background: var(--sage-deep);
  color: #fff;
  text-align: left;
}

.regional-edit-open > span {
  overflow: hidden;
  font-size: 8.3px;
  font-weight: 850;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.regional-edit-open > small {
  overflow: hidden;
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.58);
  font-size: 6.7px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.regional-edit-open .icon {
  width: 12px;
  height: 12px;
  color: #e7ca95;
}

.regional-edit-open:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.38;
}

.room-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.room-option {
  position: relative;
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px 17px 17px 6px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted-dark);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.room-option::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(65, 73, 54, 0.2);
  border-radius: 50%;
  content: "";
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.room-option:active {
  transform: scale(0.975);
}

.room-option.is-selected {
  border-color: rgba(65, 73, 54, 0.6);
  background: var(--sage-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 52, 37, 0.14);
}

.room-option.is-selected::after {
  border-color: #e6c992;
  background: #e6c992;
  box-shadow: 0 0 0 3px rgba(230, 201, 146, 0.14);
}

.room-option strong {
  max-width: 78px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.room-icon-wrap {
  display: grid;
  width: 60px;
  height: 51px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 36, 31, 0.06);
  border-radius: 15px 15px 15px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 5px 13px rgba(54, 47, 37, 0.06);
  transition: background 180ms ease, transform 180ms ease;
}

.room-option:nth-child(1) .room-icon-wrap {
  background: #f3e1d5;
}

.room-option:nth-child(2) .room-icon-wrap {
  background: #e2e7dc;
}

.room-option:nth-child(3) .room-icon-wrap {
  background: #f2e6cc;
}

.room-option:nth-child(4) .room-icon-wrap {
  background: #e9dfd5;
}

.room-option.is-selected .room-icon-wrap {
  background: #f7f1e7;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(24, 28, 20, 0.22), inset 0 1px 0 #fff;
}

.room-illustration {
  display: block;
  width: 56px;
  height: 48px;
  overflow: visible;
}

.studio-flow-roadmap {
  display: grid;
  grid-template-columns: 1fr 17px 1fr 17px 1fr;
  align-items: center;
  gap: 4px;
  margin-top: 31px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 7px;
  background: rgba(255, 255, 255, 0.52);
}

.studio-flow-roadmap > span {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--muted);
  text-align: center;
}

.studio-flow-roadmap > span b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 8px;
  font-style: italic;
}

.studio-flow-roadmap > span em {
  font-size: 7.5px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.15;
}

.studio-flow-roadmap > span.is-next {
  color: var(--sage-deep);
}

.studio-flow-roadmap > span.is-next b {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: #fff;
}

.studio-flow-roadmap > i {
  height: 1px;
  background: #d3cec4;
}

.studio-continue-button {
  min-height: 66px;
  justify-content: flex-start;
  margin-top: 11px;
  padding: 9px 14px 9px 16px;
}

.studio-continue-button > span,
.studio-continue-button small,
.studio-continue-button strong {
  display: block;
}

.studio-continue-button > span {
  text-align: left;
}

.studio-continue-button small {
  color: #e6c992;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.studio-continue-button strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.studio-continue-button > em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
}

.studio-continue-button > .icon {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  color: #e6c992;
}

.studio-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.studio-style-option {
  position: relative;
  padding: 7px 7px 12px;
  border: 1px solid transparent;
  border-radius: 22px 22px 22px 8px;
  background: rgba(255, 255, 255, 0.58);
  text-align: left;
}

.studio-style-option.is-selected {
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.studio-style-option img {
  width: 100%;
  height: 117px;
  object-fit: cover;
  border-radius: 16px 16px 16px 5px;
}

.studio-style-option strong,
.studio-style-option small {
  display: block;
  padding: 0 5px;
}

.studio-style-option strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.studio-style-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.option-check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: none;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
}

.studio-style-option.is-selected .option-check {
  display: grid;
}

.option-check .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.compact-studio-section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.palette-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.palette-option {
  position: relative;
  display: flex;
  min-height: 81px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  padding: 10px 5px 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.54);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.palette-option:active {
  transform: scale(0.975);
}

.palette-option.is-selected {
  border-color: var(--sage-deep);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--sage-deep);
}

.palette-option.is-selected::after {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  content: "✓";
  font-size: 9px;
  font-weight: 850;
}

.palette-option i {
  width: 23px;
  height: 23px;
  margin-left: -4px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--color);
}

.palette-option i:first-child {
  margin-left: 0;
}

.palette-option span {
  width: 100%;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 700;
}

.palette-customizer {
  margin-top: 11px;
  padding: 15px;
  border: 1px solid rgba(65, 73, 54, 0.13);
  border-radius: 22px 22px 22px 8px;
  background:
    radial-gradient(circle at 105% -10%, rgba(189, 123, 85, 0.1), transparent 39%),
    #e9e5dc;
}

.palette-customizer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(37, 36, 31, 0.08);
}

.palette-customizer-head > span,
.palette-customizer-head small,
.palette-customizer-head strong {
  display: block;
}

.palette-customizer-head small {
  color: var(--terracotta);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.palette-customizer-head strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.palette-customizer-head button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(65, 73, 54, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--sage-deep);
  font-size: 8.5px;
  font-weight: 750;
}

.palette-color-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.palette-color-control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
}

.palette-color-orb {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 50% 17px;
  background: var(--editable-color);
  box-shadow: 0 7px 16px rgba(54, 47, 37, 0.12), inset 0 0 0 1px rgba(37, 36, 31, 0.08);
  transition: background 120ms linear, transform 160ms ease;
}

.palette-color-control:active .palette-color-orb {
  transform: scale(0.96);
}

.palette-color-control:focus-within .palette-color-orb {
  outline: 3px solid rgba(189, 123, 85, 0.36);
  outline-offset: 3px;
}

.palette-color-orb input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.palette-color-orb > i {
  position: absolute;
  z-index: 1;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 2px solid #e9e5dc;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 450;
  line-height: 1;
}

.palette-color-control > strong {
  margin-top: 8px;
  font-size: 9.5px;
  font-weight: 750;
}

.palette-color-control > small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.palette-customizer > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.4;
}

.palette-customizer > p > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--terracotta);
}

.palette-customizer > p .icon {
  width: 12px;
  height: 12px;
}

.preference-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

.preference-row {
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 15px;
  background: transparent;
  text-align: left;
}

.preference-row + .preference-row {
  border-top: 1px solid var(--line);
}

.preference-row span,
.preference-row strong,
.preference-row small {
  display: block;
}

.preference-row strong {
  font-size: 12px;
}

.preference-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.switch {
  position: relative;
  width: 39px;
  height: 23px;
  flex: none;
  border-radius: 999px;
  background: #d3cfc7;
  transition: background 180ms ease;
}

.switch b {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(37, 36, 31, 0.18);
  transition: transform 180ms ease;
}

.preference-row.is-on .switch {
  background: var(--sage-deep);
}

.preference-row.is-on .switch b {
  transform: translateX(16px);
}

.generate-button {
  min-height: 59px;
  margin-top: 28px;
}

.generate-button > span {
  margin-left: auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 9.5px;
}

.generate-button > .icon {
  width: 16px;
  height: 16px;
  color: #ead2a7;
}

.demo-note {
  margin-top: 10px;
  color: #99948b;
  font-size: 9.5px;
  line-height: 1.4;
  text-align: center;
}

.inspiration-title-row {
  align-items: center;
}

.filter-lines {
  display: flex;
  width: 18px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.filter-lines i {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.filter-lines i:nth-child(2) {
  width: 12px;
}

.filter-lines i:nth-child(3) {
  width: 7px;
}

.inspiration-chips {
  display: flex;
  gap: 7px;
  margin: 4px -20px 20px 0;
  padding-right: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.inspiration-chips::-webkit-scrollbar {
  display: none;
}

.inspiration-chips button {
  min-height: 44px;
  flex: none;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted-dark);
  font-size: 10.5px;
  font-weight: 700;
}

.inspiration-chips button.is-selected {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: #fff;
}

.masonry-grid {
  display: grid;
  grid-auto-rows: 78px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.inspiration-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 24px 8px;
  background: #cbc2b3;
}

.inspiration-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 25, 21, 0.75), transparent 58%);
  content: "";
  pointer-events: none;
}

.card-tall {
  grid-row: span 4;
}

.card-short {
  grid-row: span 3;
}

.card-wide {
  grid-row: span 3;
  grid-column: span 2;
}

.inspiration-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heart-button {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(24, 25, 21, 0.24);
  color: #fff;
  backdrop-filter: blur(9px);
}

.heart-button.is-liked {
  background: #f5eee5;
  color: var(--terracotta);
}

.heart-button.is-liked .icon {
  fill: currentColor;
}

.heart-button .icon {
  width: 15px;
  height: 15px;
}

.inspiration-caption {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 13px;
  left: 13px;
  color: #fff;
}

.inspiration-caption span,
.inspiration-caption strong {
  display: block;
}

.inspiration-caption span {
  margin-bottom: 4px;
  color: #dfc8a2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inspiration-caption strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.05;
}

.editorial-card {
  margin-top: 24px;
  padding: 25px 22px;
  border-radius: 26px 26px 26px 8px;
  background: var(--sage-deep);
  color: #fff;
}

.editorial-card h2 {
  max-width: 300px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.7px;
}

.editorial-card button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  padding: 0;
  background: transparent;
  color: #e4d1af;
  font-size: 10.5px;
  font-weight: 700;
}

.editorial-card button .icon {
  width: 14px;
  height: 14px;
}

.gallery-section {
  margin-top: 35px;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.gallery-heading h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.8px;
}

.gallery-count {
  flex: none;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.palette-story-scroller {
  display: grid;
  grid-auto-columns: 181px;
  grid-auto-flow: column;
  gap: 10px;
  margin-right: -20px;
  padding: 1px 20px 5px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.palette-story-scroller::-webkit-scrollbar {
  display: none;
}

.palette-story {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(37, 36, 31, 0.08);
  border-radius: 23px 23px 23px 8px;
  color: var(--ink);
  scroll-snap-align: start;
  text-align: left;
}

.palette-story::after {
  position: absolute;
  top: -45px;
  right: -35px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  content: "";
}

.palette-story-sage { background: #e3e3d9; }
.palette-story-earth { background: #dbc6b1; }
.palette-story-mono { background: #dcdcd7; }
.palette-story-sun { background: #eee1c8; }

.palette-story-number {
  position: absolute;
  top: 14px;
  left: 15px;
  color: rgba(37, 36, 31, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.palette-story-swatches {
  position: absolute;
  top: 17px;
  right: 15px;
  display: flex;
  flex-direction: row-reverse;
}

.palette-story-swatches i {
  width: 32px;
  height: 32px;
  margin-left: -9px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(37, 36, 31, 0.08);
}

.palette-story-sage i:nth-child(1) { background: #66705a; }
.palette-story-sage i:nth-child(2) { background: #aa7657; }
.palette-story-sage i:nth-child(3) { background: #efe7d8; }
.palette-story-earth i:nth-child(1) { background: #493d32; }
.palette-story-earth i:nth-child(2) { background: #9a6044; }
.palette-story-earth i:nth-child(3) { background: #e3d0ba; }
.palette-story-mono i:nth-child(1) { background: #2c302d; }
.palette-story-mono i:nth-child(2) { background: #91918a; }
.palette-story-mono i:nth-child(3) { background: #efefe9; }
.palette-story-sun i:nth-child(1) { background: #747a64; }
.palette-story-sun i:nth-child(2) { background: #c29b62; }
.palette-story-sun i:nth-child(3) { background: #f3e8ce; }

.palette-story strong,
.palette-story small {
  display: block;
}

.palette-story strong {
  max-width: 145px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.palette-story small {
  margin-top: 6px;
  color: var(--muted-dark);
  font-size: 10px;
  line-height: 1.3;
}

.curated-feature {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px 28px 28px 9px;
  background: #292b26;
  color: #fff;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.curated-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
}

.curated-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(24, 25, 21, 0.05) 25%, rgba(24, 25, 21, 0.86) 100%);
}

.curated-index {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.curated-index i {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.curated-copy {
  position: absolute;
  right: 20px;
  bottom: 21px;
  left: 20px;
}

.curated-copy > span {
  color: #e4cba0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.curated-copy h3 {
  max-width: 325px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -1px;
}

.curated-copy p {
  max-width: 315px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.5;
}

.curated-copy button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}

.curated-copy button .icon {
  width: 15px;
  height: 15px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.material-card {
  position: relative;
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(37, 36, 31, 0.09);
  border-radius: 22px 22px 22px 8px;
  text-align: left;
}

.material-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  content: "";
}

.material-card::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to top, rgba(30, 29, 25, 0.58), transparent);
  content: "";
}

.material-oak {
  background: #bd9062;
  color: #fff;
}

.material-oak::before {
  background: repeating-linear-gradient(94deg, transparent 0 14px, rgba(73, 43, 23, 0.2) 15px 17px, transparent 18px 32px);
}

.material-linen {
  background: #d9d0bf;
  color: #fff;
}

.material-linen::before {
  background:
    repeating-linear-gradient(0deg, rgba(90, 79, 64, 0.12) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px 5px);
}

.material-stone {
  background: #c9b99d;
  color: #fff;
}

.material-stone::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.34) 0 4px, transparent 5px),
    radial-gradient(circle at 73% 63%, rgba(103, 80, 54, 0.2) 0 3px, transparent 4px),
    linear-gradient(115deg, transparent 42%, rgba(105, 83, 59, 0.18) 43% 45%, transparent 46%);
}

.material-brass {
  background: linear-gradient(135deg, #5c4930, #b9955f 48%, #695135);
  color: #fff;
}

.material-brass::before {
  background: linear-gradient(105deg, transparent 35%, rgba(255, 244, 209, 0.28) 48%, transparent 61%);
}

.material-code,
.material-card strong,
.material-card small {
  position: relative;
  z-index: 2;
}

.material-code {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(35, 34, 29, 0.2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.material-card strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.material-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9.5px;
}

.room-story-list {
  display: grid;
  gap: 10px;
}

.room-story-card {
  display: grid;
  width: 100%;
  min-height: 123px;
  grid-template-columns: 102px 1fr 32px;
  align-items: center;
  gap: 13px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 23px 23px 23px 8px;
  background: rgba(255, 255, 255, 0.56);
  text-align: left;
}

.room-story-card > img {
  width: 102px;
  height: 107px;
  object-fit: cover;
  border-radius: 17px 17px 17px 5px;
}

.room-story-copy small,
.room-story-copy strong,
.room-story-copy em {
  display: block;
}

.room-story-copy small {
  color: var(--terracotta);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-story-copy strong {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.room-story-copy em {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.35;
}

.room-story-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.room-story-arrow .icon {
  width: 14px;
  height: 14px;
}

.designer-note {
  position: relative;
  margin-top: 36px;
  padding: 28px 22px 22px;
  overflow: hidden;
  border-radius: 28px 28px 28px 9px;
  background: #e6e0d4;
}

.designer-note::after {
  position: absolute;
  top: -80px;
  right: -75px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(65, 73, 54, 0.09);
  border-radius: 50%;
  content: "";
}

.designer-note-mark {
  position: absolute;
  top: 8px;
  right: 18px;
  color: rgba(189, 123, 85, 0.32);
  font-family: var(--serif);
  font-size: 76px;
  line-height: 1;
}

.designer-note blockquote {
  position: relative;
  z-index: 1;
  margin: 14px 0 22px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.designer-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 17px;
  border-top: 1px solid rgba(37, 36, 31, 0.1);
}

.designer-rules span + span {
  padding-left: 13px;
  border-left: 1px solid rgba(37, 36, 31, 0.1);
}

.designer-rules strong,
.designer-rules small {
  display: block;
}

.designer-rules strong {
  font-size: 11px;
}

.designer-rules small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
}

.mini-inspiration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-inspiration-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 23px 23px 23px 8px;
  background: #b8b1a4;
}

.mini-inspiration-card::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(to top, rgba(25, 25, 21, 0.78), transparent);
  content: "";
}

.mini-inspiration-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-inspiration-card:nth-child(1) > img { object-position: 20% center; transform: scale(1.08); }
.mini-inspiration-card:nth-child(2) > img { object-position: 60% center; transform: scale(1.06); }
.mini-inspiration-card:nth-child(3) > img { object-position: 42% center; transform: scale(1.06); }
.mini-inspiration-card:nth-child(4) > img { object-position: 78% center; transform: scale(1.08); }

.mini-inspiration-card > button {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(25, 25, 21, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.mini-inspiration-card > button.is-liked {
  background: #f5eee5;
  color: var(--terracotta);
}

.mini-inspiration-card > button.is-liked .icon {
  fill: currentColor;
}

.mini-inspiration-card > button .icon {
  width: 15px;
  height: 15px;
}

.mini-inspiration-card > span {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 13px;
  left: 13px;
  color: #fff;
}

.mini-inspiration-card small,
.mini-inspiration-card strong {
  display: block;
}

.mini-inspiration-card small {
  color: #dfc8a2;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-inspiration-card strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 550;
}

.gallery-cta {
  display: flex;
  margin-top: 38px;
  flex-direction: column;
  align-items: center;
  padding: 29px 22px 23px;
  border: 1px solid rgba(65, 73, 54, 0.11);
  border-radius: 28px 28px 28px 9px;
  background: linear-gradient(145deg, #eee8dd, #e2e3d8);
  text-align: center;
}

.gallery-cta-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50% 50% 50% 15px;
  background: var(--sage-deep);
  color: #e7cfa6;
  transform: rotate(-7deg);
}

.gallery-cta-icon .icon {
  width: 19px;
  height: 19px;
  transform: rotate(7deg);
}

.gallery-cta h2 {
  max-width: 300px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.9px;
}

.gallery-cta p {
  max-width: 290px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.gallery-cta .primary-button {
  margin-top: 18px;
}

.gallery-cta .primary-button .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.app-shell.is-premium-view .app-header,
.app-shell.is-premium-view .bottom-navigation {
  display: none;
}

.app-shell.is-premium-view .views {
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: max(38px, env(safe-area-inset-bottom));
}

.premium-view {
  padding-top: 2px;
}

.premium-topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 26;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin-bottom: 16px;
  padding: 5px 0;
  background: rgba(244, 241, 235, 0.93);
  backdrop-filter: blur(15px);
}

.premium-back {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.premium-back .icon {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}

.premium-topbar > div span,
.premium-topbar > div strong {
  display: block;
}

.premium-topbar > div strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.secure-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(65, 73, 54, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--sage-deep);
  font-size: 9px;
  font-weight: 800;
}

.secure-pill .icon {
  width: 13px;
  height: 13px;
}

.premium-plan-intro {
  position: relative;
  display: grid;
  min-height: 122px;
  grid-template-columns: 1fr 64px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 14px;
  padding: 13px 17px 11px;
  overflow: hidden;
  border-radius: 25px 25px 25px 8px;
  background:
    radial-gradient(circle at 89% 7%, rgba(229, 200, 145, 0.23), transparent 33%),
    #3f4735;
  color: #fff;
  box-shadow: 0 15px 36px rgba(48, 56, 40, 0.16);
}

.premium-plan-intro::before {
  position: absolute;
  top: -57px;
  right: -39px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.premium-plan-intro-copy {
  position: relative;
  z-index: 1;
}

.premium-plan-intro-copy .section-kicker {
  color: #e5c891;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.premium-plan-intro h1 {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 550;
  line-height: 0.95;
  letter-spacing: -1.1px;
}

.premium-plan-emblem {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
}

.premium-plan-emblem > i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50% 50% 50% 20px;
  transform: rotate(9deg);
}

.premium-plan-emblem > span {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid rgba(229, 200, 145, 0.27);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5c891;
  backdrop-filter: blur(8px);
}

.premium-plan-emblem .icon {
  width: 18px;
  height: 18px;
}

.premium-plan-emblem > b {
  position: absolute;
  right: 0;
  bottom: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #3f4735;
  border-radius: 50%;
  background: #dfc28e;
  color: #40382d;
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
}

.premium-quick-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-quick-benefits > span {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
}

.premium-quick-benefits > span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-quick-benefits .icon {
  width: 12px;
  height: 12px;
  flex: none;
  color: #e5c891;
}

.purchase-tabs {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4px;
  margin-top: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #e8e4dc;
}

.purchase-tabs button {
  min-height: 45px;
  padding: 0 10px;
  border-radius: 13px;
  background: transparent;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 750;
}

.purchase-tabs button.is-selected {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 15px rgba(54, 47, 37, 0.08);
}

[data-premium-panel][hidden] {
  display: none;
}

.premium-section {
  margin-top: 31px;
}

.premium-section-heading {
  margin-bottom: 14px;
}

.premium-billing-section {
  margin-top: 13px;
}

.billing-inline-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 7px;
}

.billing-inline-label strong {
  font-size: 9.5px;
  font-weight: 800;
}

.billing-inline-label span {
  color: var(--sage-deep);
  font-size: 8.5px;
  font-weight: 700;
}

.billing-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.billing-toggle button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 750;
}

.billing-toggle button span {
  padding: 4px 6px;
  border-radius: 999px;
  background: #dfe4d7;
  color: var(--sage-deep);
  font-size: 9.5px;
}

.billing-toggle button.is-selected {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: #fff;
}

.billing-toggle button.is-selected span {
  background: rgba(255, 255, 255, 0.12);
  color: #e5c891;
}

.plan-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.plan-stack .premium-section-heading {
  margin-bottom: 3px;
}

.premium-plan-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.premium-plan-heading h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.premium-plan-heading .gallery-count {
  font-size: 8px;
}

.premium-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.premium-action {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 148px;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 8px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.premium-action::after {
  position: absolute;
  top: -38px;
  right: -43px;
  width: 112px;
  height: 112px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.08;
}

.premium-action:active {
  transform: scale(0.985);
}

.premium-action-payment {
  border-color: rgba(65, 73, 54, 0.66);
  background:
    radial-gradient(circle at 110% -15%, rgba(229, 200, 145, 0.2), transparent 40%),
    var(--sage-deep);
  color: #fff;
  box-shadow: 0 14px 30px rgba(45, 52, 37, 0.14);
}

.premium-action-compare {
  background:
    radial-gradient(circle at 104% 0, rgba(189, 123, 85, 0.11), transparent 40%),
    rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.premium-action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #e5c891;
}

.premium-action-compare .premium-action-icon {
  background: #ece4d8;
  color: var(--terracotta);
}

.premium-action-icon .icon {
  width: 17px;
  height: 17px;
}

.premium-action-copy {
  display: block;
  margin-top: auto;
  padding-top: 17px;
}

.premium-action-copy small,
.premium-action-copy strong,
.premium-action-copy em {
  display: block;
}

.premium-action-copy small {
  margin-bottom: 4px;
  color: #ddc38f;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.premium-action-compare .premium-action-copy small {
  color: var(--terracotta);
}

.premium-action-copy strong {
  max-width: 116px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05;
}

.premium-action-copy em {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-style: normal;
  line-height: 1.3;
}

.premium-action-compare .premium-action-copy em {
  color: var(--muted);
}

.premium-action-arrow {
  position: absolute;
  right: 13px;
  bottom: 14px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.premium-action-compare .premium-action-arrow {
  background: var(--paper-deep);
  color: var(--sage-deep);
}

.premium-action-arrow .icon {
  width: 13px;
  height: 13px;
}

.premium-action-grid .premium-action {
  min-height: 88px;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border-radius: 20px 20px 20px 7px;
}

.premium-action-grid .premium-action-copy {
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
}

.premium-action-grid .premium-action-copy strong {
  max-width: none;
  font-size: 19px;
}

.premium-action-grid .premium-action-copy em {
  max-width: none;
  font-size: 9px;
}

.premium-action-grid .premium-action-arrow {
  position: static;
  width: 31px;
  height: 31px;
  flex: none;
  margin-left: auto;
}

.premium-action-grid .premium-action-payment .premium-action-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-action-grid .premium-action-compare {
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 17px 17px 17px 6px;
  box-shadow: none;
}

.premium-action-grid .premium-action-compare .premium-action-icon {
  width: 36px;
  height: 36px;
  flex: none;
}

.premium-action-grid .premium-action-compare .premium-action-copy strong {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
}

.premium-action-grid .premium-action-compare .premium-action-copy em {
  margin-top: 3px;
  font-size: 8.5px;
}

.premium-action-grid .premium-action-compare .premium-action-arrow {
  width: 28px;
  height: 28px;
}

.premium-details-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(65, 73, 54, 0.12);
  border-radius: 25px 25px 25px 8px;
  background:
    radial-gradient(circle at 103% -5%, rgba(189, 123, 85, 0.12), transparent 35%),
    #e8e4db;
}

.premium-details-copy .section-kicker {
  color: var(--terracotta);
}

.premium-details-copy h2 {
  max-width: 280px;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 550;
  line-height: 0.98;
  letter-spacing: -0.8px;
}

.premium-details-copy p {
  max-width: 315px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.premium-detail-list {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.premium-detail-list > span {
  display: grid;
  min-height: 54px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 10px;
  padding: 9px 11px;
  border: 1px solid rgba(37, 36, 31, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.5);
}

.premium-detail-list .icon {
  width: 15px;
  height: 15px;
  grid-row: 1 / 3;
  justify-self: center;
  color: var(--terracotta);
}

.premium-detail-list b {
  align-self: end;
  font-size: 9.5px;
}

.premium-detail-list small {
  align-self: start;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
}

.pack-section {
  margin-top: 18px;
}

.subscription-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 314px;
  padding: 19px 13px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px 25px 25px 8px;
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.subscription-card:active {
  transform: scale(0.99);
}

.subscription-card.is-selected {
  border-color: var(--sage-deep);
  background:
    radial-gradient(circle at 105% -5%, rgba(229, 200, 145, 0.18), transparent 34%),
    var(--sage-deep);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.subscription-recommended {
  position: absolute;
  top: 0;
  right: 12px;
  padding: 6px 8px;
  border-radius: 0 0 10px 10px;
  background: #d9bd88;
  color: #3f392f;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.subscription-radio,
.pack-radio {
  position: absolute;
  top: 16px;
  right: 13px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(37, 36, 31, 0.18);
  border-radius: 50%;
}

.subscription-card.has-recommendation .subscription-radio {
  top: 38px;
}

.subscription-radio i,
.pack-radio i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: transparent;
}

.subscription-card.is-selected .subscription-radio {
  border-color: rgba(255, 255, 255, 0.56);
}

.subscription-card.is-selected .subscription-radio i,
.credit-pack.is-selected .pack-radio i {
  background: #dfc28e;
}

.subscription-main {
  display: block;
  padding-right: 25px;
}

.subscription-name small,
.subscription-name strong,
.subscription-price strong,
.subscription-price small {
  display: block;
}

.subscription-name small {
  margin-bottom: 3px;
  color: var(--terracotta);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.subscription-card.is-selected .subscription-name small {
  color: #dfc28e;
}

.subscription-name strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.subscription-price {
  margin-top: 14px;
  text-align: left;
}

.subscription-price strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.subscription-price small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.subscription-card.is-selected .subscription-price small {
  color: rgba(255, 255, 255, 0.72);
}

.subscription-credit {
  display: block;
  margin-top: 12px;
  padding: 9px 8px;
  border-radius: 12px;
  background: rgba(65, 73, 54, 0.07);
  color: var(--sage-deep);
  font-size: 9px;
  line-height: 1.3;
  font-weight: 700;
}

.subscription-credit b {
  font-family: var(--serif);
  font-size: 15px;
}

.subscription-card.is-selected .subscription-credit {
  background: rgba(255, 255, 255, 0.08);
  color: #e9d6b2;
}

.subscription-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 13px;
}

.subscription-features > span {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.3;
}

.subscription-card.is-selected .subscription-features > span {
  color: rgba(255, 255, 255, 0.7);
}

.subscription-features .icon {
  width: 11px;
  height: 11px;
  flex: none;
  color: var(--terracotta);
  stroke-width: 2.3;
}

.subscription-card.is-selected .subscription-features .icon {
  color: #dfc28e;
}

.plan-comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.56);
}

.plan-comparison > div {
  display: grid;
  min-height: 49px;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
}

.plan-comparison > div + div {
  border-top: 1px solid var(--line);
}

.plan-comparison span,
.plan-comparison b,
.plan-comparison strong {
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.plan-comparison span {
  color: var(--muted-dark);
  font-weight: 650;
  text-align: left;
}

.comparison-head {
  background: #e9e5dc;
}

.comparison-head strong {
  color: var(--sage-deep);
}

.comparison-check .icon {
  width: 14px;
  height: 14px;
  color: var(--terracotta);
  stroke-width: 2.4;
}

.pack-intro {
  margin: -3px 0 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.credit-pack-grid {
  display: grid;
  grid-auto-columns: 155px;
  grid-auto-flow: column;
  gap: 9px;
  margin-right: -20px;
  padding: 1px 20px 5px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.credit-pack-grid::-webkit-scrollbar {
  display: none;
}

.credit-pack {
  position: relative;
  display: flex;
  min-height: 208px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 23px 23px 23px 8px;
  background: rgba(255, 255, 255, 0.57);
  scroll-snap-align: start;
  text-align: left;
}

.credit-pack.is-selected {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: #fff;
}

.credit-pack .pack-radio {
  top: 14px;
  right: 14px;
}

.credit-pack.is-selected .pack-radio {
  border-color: rgba(255, 255, 255, 0.5);
}

.pack-popular {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #dfc28e;
  color: #42392c;
  font-size: 7.5px;
  font-weight: 850;
  text-transform: uppercase;
}

.credit-pack > small {
  color: var(--terracotta);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.credit-pack.is-selected > small {
  color: #dfc28e;
}

.credit-pack > strong {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 550;
  line-height: 0.85;
}

.credit-pack > .pack-unit {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
}

.credit-pack.is-selected > .pack-unit {
  color: rgba(255, 255, 255, 0.72);
}

.credit-pack > em {
  margin-top: 16px;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.pack-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 15px;
  background: #e6e2d9;
  color: var(--muted-dark);
}

.pack-notice .icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--terracotta);
}

.pack-notice span,
.pack-notice strong {
  display: block;
}

.pack-notice span {
  font-size: 9.5px;
  line-height: 1.45;
}

.pack-notice strong {
  margin-bottom: 2px;
  color: var(--ink);
}

.premium-pack-payment {
  min-height: 91px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 15px 16px;
}

.premium-pack-payment .premium-action-copy {
  margin-top: 0;
  padding: 0 30px 0 0;
}

.premium-pack-payment .premium-action-copy strong {
  max-width: none;
}

.premium-pack-payment .premium-action-arrow {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.payment-section {
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.saved-payment-card {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(65, 73, 54, 0.24);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.62);
  text-align: left;
}

.payment-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--sage-deep);
  color: #e5c891;
}

.payment-card-icon .icon {
  width: 19px;
  height: 19px;
}

.saved-payment-card strong,
.saved-payment-card small {
  display: block;
}

.saved-payment-card strong {
  font-size: 11px;
}

.saved-payment-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

.payment-selected {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
}

.payment-selected .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.order-summary {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.58);
}

.order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.order-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.order-product {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.order-product-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #e3e5da;
  color: var(--sage-deep);
}

.order-product-icon .icon {
  width: 18px;
  height: 18px;
}

.order-product > span strong,
.order-product > span small {
  display: block;
}

.order-product > span strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.order-product > span small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.order-product > strong {
  font-family: var(--serif);
  font-size: 17px;
}

.order-row,
.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-row {
  padding-top: 13px;
  color: var(--muted-dark);
  font-size: 11.5px;
}

.order-row[hidden] {
  display: none;
}

.order-discount {
  color: #73805f;
}

.order-total {
  margin-top: 14px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 750;
}

.order-total strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.premium-assurance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.premium-assurance span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted-dark);
  font-size: 10.5px;
  font-weight: 700;
}

.premium-assurance .icon {
  width: 14px;
  height: 14px;
  color: var(--sage-deep);
}

.premium-legal {
  padding: 17px 12px 7px;
  color: var(--muted);
  text-align: center;
}

.premium-legal p {
  font-size: 11.5px;
  line-height: 1.5;
}

.premium-legal button {
  min-height: 44px;
  padding: 0 8px;
  background: transparent;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-button {
  min-height: 61px;
  justify-content: flex-start;
  padding: 8px 13px;
}

.checkout-button > span,
.checkout-button > span small,
.checkout-button > span strong {
  display: block;
}

.checkout-button > span {
  min-width: 83px;
  text-align: left;
}

.checkout-button > span small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.checkout-button > span strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.checkout-button > b {
  margin-left: auto;
  font-size: 11px;
}

.checkout-button > .icon {
  width: 16px;
  height: 16px;
  margin-left: 7px;
}

.profile-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 1px 24px;
}

.profile-avatar {
  position: relative;
  display: grid;
  width: 67px;
  height: 67px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(65, 73, 54, 0.18);
  border-radius: 50% 50% 50% 18px;
  background: #cdb293;
  color: #fff;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
}

.profile-avatar::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: inherit;
  content: "";
}

.profile-avatar i {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: #7a8a67;
}

.profile-intro h1 {
  font-size: 32px;
}

.profile-intro p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.membership-card {
  position: relative;
  padding: 21px;
  overflow: hidden;
  border-radius: 27px 27px 27px 9px;
  background:
    radial-gradient(circle at 110% -10%, rgba(230, 203, 162, 0.24), transparent 42%),
    var(--sage-deep);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.membership-card::after {
  position: absolute;
  top: -65px;
  right: -58px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.membership-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.membership-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #e7cfa6;
}

.membership-icon .icon {
  width: 18px;
  height: 18px;
}

.membership-badge {
  padding: 6px 9px;
  border: 1px solid rgba(231, 207, 166, 0.25);
  border-radius: 999px;
  color: #e7cfa6;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.membership-card h2 {
  max-width: 310px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.8px;
}

.membership-card p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.credit-track {
  height: 4px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.credit-track span {
  display: block;
  width: 66.666%;
  height: 100%;
  border-radius: inherit;
  background: #dcc398;
}

.credit-copy {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9.5px;
}

.credit-copy strong {
  color: #e7cfa6;
  font-weight: 700;
}

.membership-card button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  background: transparent;
  color: #fff;
  min-height: 44px;
  font-size: 10.5px;
  font-weight: 700;
}

.membership-card button .icon {
  width: 14px;
  height: 14px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  padding: 17px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
}

.profile-stats > div {
  text-align: center;
}

.profile-stats > div + div {
  border-left: 1px solid var(--line);
}

.profile-stats strong,
.profile-stats span {
  display: block;
}

.profile-stats strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 550;
}

.profile-stats span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.profile-history {
  margin-top: 28px;
  scroll-margin-top: 95px;
}

.profile-history .section-heading {
  margin-bottom: 12px;
}

.history-state {
  padding: 23px 18px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}

.history-state[hidden] {
  display: none;
}

.history-list {
  display: grid;
  gap: 9px;
}

.history-card {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 79px 1fr 18px;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 7px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease;
}

.history-card:active {
  transform: scale(0.985);
}

.history-image {
  display: grid;
  width: 79px;
  height: 66px;
  overflow: hidden;
  place-items: center;
  border-radius: 13px 13px 13px 5px;
  background: linear-gradient(135deg, #ded8cc, #f0ece4);
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-image.is-unavailable::after {
  color: var(--muted);
  font-size: 9px;
  content: "Görsel";
}

.history-copy,
.history-copy strong,
.history-copy small {
  display: block;
}

.history-copy strong {
  font-size: 11.5px;
  line-height: 1.35;
}

.history-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.history-card > b {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.profile-menu {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
}

.profile-menu > button {
  display: grid;
  width: 100%;
  min-height: 70px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  background: transparent;
  text-align: left;
}

.profile-menu > button + button {
  border-top: 1px solid var(--line);
}

.menu-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #ebe7de;
  color: var(--sage-deep);
}

.menu-icon .icon {
  width: 17px;
  height: 17px;
}

.profile-menu strong,
.profile-menu small {
  display: block;
}

.profile-menu strong {
  font-size: 12px;
}

.profile-menu small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.menu-chevron {
  width: 15px;
  height: 15px;
  color: #aaa69d;
}

.version-copy {
  margin-top: 22px;
  color: #a29e95;
  font-size: 9px;
  text-align: center;
}

.bottom-navigation {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 50%;
  display: grid;
  width: min(100%, 430px);
  min-height: calc(76px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 11px 8px max(9px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(37, 36, 31, 0.08);
  background: rgba(249, 247, 242, 0.92);
  box-shadow: 0 -12px 35px rgba(49, 44, 37, 0.07);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.nav-item,
.nav-create {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px;
  background: transparent;
  color: #89857c;
  min-height: 50px;
  font-size: 9px;
  font-weight: 650;
}

.nav-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 29px;
  place-items: center;
}

.nav-icon .icon {
  width: 19px;
  height: 19px;
}

.nav-item.is-active {
  color: var(--sage-deep);
}

.nav-item.is-active .nav-icon::after {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
}

.nav-create {
  position: relative;
  margin-top: -29px;
  color: var(--sage-deep);
}

.nav-create > span {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 5px solid var(--paper);
  border-radius: 50% 50% 50% 18px;
  background: var(--sage-deep);
  color: #e7cfa6;
  box-shadow: 0 10px 24px rgba(39, 47, 33, 0.25);
  transform: rotate(-7deg);
}

.nav-create > span .icon {
  width: 21px;
  height: 21px;
  transform: rotate(7deg);
}

.nav-create em {
  margin-top: 2px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  width: min(calc(100% - 36px), 394px);
  min-height: 49px;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(38, 40, 33, 0.94);
  color: #fff;
  box-shadow: 0 14px 35px rgba(28, 28, 24, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: #e7cfa6;
}

.toast span {
  font-size: 11px;
  line-height: 1.35;
}

.annotation-modal {
  position: fixed;
  z-index: 109;
  inset: 0;
  width: min(100%, 430px);
  margin: 0 auto;
}

.annotation-modal[hidden] {
  display: none;
}

.annotation-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(20, 22, 18, 0.72);
  backdrop-filter: blur(7px);
  animation: fade-in 200ms ease both;
}

.annotation-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: min(96svh, 900px);
  max-height: 96svh;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-bottom: 0;
  border-radius: 31px 31px 0 0;
  background:
    radial-gradient(circle at 92% 0, rgba(22, 139, 255, 0.08), transparent 22%),
    radial-gradient(circle at 0 16%, rgba(255, 59, 48, 0.07), transparent 23%),
    var(--paper);
  box-shadow: 0 -28px 75px rgba(18, 20, 16, 0.34);
  animation: sheet-up 380ms cubic-bezier(0.16, 0.78, 0.24, 1) both;
}

.annotation-handle {
  width: 39px;
  height: 4px;
  flex: none;
  margin: 10px auto 7px;
  border-radius: 999px;
  background: #cec9bf;
}

.annotation-header {
  display: grid;
  flex: none;
  grid-template-columns: 40px 1fr 38px;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 13px;
  border-bottom: 1px solid var(--line);
}

.annotation-header-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px 14px 14px 5px;
  background: var(--sage-deep);
  color: #e8cc98;
}

.annotation-header-mark .icon {
  width: 17px;
  height: 17px;
}

.annotation-header .section-kicker {
  display: block;
  color: var(--terracotta);
  font-size: 7px;
}

.annotation-header h2 {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.45px;
}

.annotation-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted-dark);
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
}

.annotation-content {
  flex: 1;
  min-height: 0;
  padding: 15px 18px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.annotation-content::-webkit-scrollbar {
  display: none;
}

.annotation-intro {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 17px 17px 17px 6px;
  background: var(--sage-deep);
  color: #fff;
}

.annotation-intro strong {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.annotation-intro p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 8.5px;
  line-height: 1.45;
}

.annotation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.annotation-action {
  display: grid;
  min-width: 0;
  min-height: 57px;
  grid-template-columns: 13px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 255, 255, 0.55);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.annotation-action:active {
  transform: scale(0.985);
}

.annotation-action.is-selected {
  border-color: color-mix(in srgb, var(--marker) 58%, transparent);
  background: color-mix(in srgb, var(--marker) 8%, #fff);
  box-shadow: inset 3px 0 0 var(--marker), 0 8px 20px rgba(50, 45, 38, 0.06);
}

.annotation-action > i {
  width: 12px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: var(--marker);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--marker) 38%, transparent);
}

.annotation-action > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.annotation-action strong {
  font-size: 8.8px;
  font-weight: 850;
  line-height: 1.18;
}

.annotation-action small {
  overflow: hidden;
  color: var(--muted);
  font-size: 6.8px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.annotation-eraser-action {
  grid-column: 1 / -1;
  min-height: 49px;
  grid-template-columns: 34px minmax(0, 1fr);
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(48, 51, 45, 0.055), transparent 55%),
    rgba(255, 255, 255, 0.62);
}

.annotation-eraser-action > i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(48, 51, 45, 0.18);
  border-radius: 10px 10px 10px 4px;
  background:
    linear-gradient(45deg, #ddd8cf 25%, transparent 25%, transparent 75%, #ddd8cf 75%),
    linear-gradient(45deg, #ddd8cf 25%, #f8f5ef 25%, #f8f5ef 75%, #ddd8cf 75%);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
  color: #30332d;
  box-shadow: none;
}

.annotation-eraser-action > i .icon {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.84);
}

.annotation-eraser-action.is-selected {
  border-color: rgba(48, 51, 45, 0.55);
  background: rgba(48, 51, 45, 0.09);
  box-shadow: inset 3px 0 0 #30332d, 0 8px 20px rgba(50, 45, 38, 0.06);
}

.annotation-canvas-shell {
  position: relative;
  width: 100%;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 23px 23px 23px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent),
    #24271f;
  box-shadow: 0 14px 34px rgba(35, 32, 27, 0.16);
  isolation: isolate;
}

.annotation-canvas-shell > img,
.annotation-canvas-shell > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.annotation-canvas-shell > img {
  z-index: 0;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.annotation-canvas-shell > canvas {
  z-index: 1;
  cursor: crosshair;
  touch-action: none;
}

.annotation-canvas-shell.is-erasing > canvas {
  cursor: cell;
}

.annotation-canvas-hint {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: 205px;
  place-items: center;
  gap: 3px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px 16px 16px 6px;
  background: rgba(25, 28, 22, 0.72);
  color: #fff;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(9px);
}

.annotation-canvas-hint[hidden] {
  display: none;
}

.annotation-canvas-hint > span {
  color: #e8cb98;
  font-family: var(--serif);
  font-size: 18px;
}

.annotation-canvas-hint strong {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
}

.annotation-canvas-hint small {
  color: rgba(255, 255, 255, 0.61);
  font-size: 7.5px;
}

.annotation-tools {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.annotation-tool-buttons {
  display: flex;
  gap: 5px;
}

.annotation-tool-buttons button {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #e5e0d7;
  color: var(--sage-deep);
  font-size: 7.5px;
  font-weight: 850;
}

.annotation-tool-buttons button:disabled {
  cursor: default;
  opacity: 0.34;
}

.annotation-brush-control {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.annotation-brush-control > span {
  display: flex;
  justify-content: space-between;
  color: var(--muted-dark);
  font-size: 7px;
  font-weight: 750;
}

.annotation-brush-control > span > i {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.annotation-brush-control b {
  color: var(--terracotta);
}

.annotation-brush-control input {
  width: 100%;
  height: 16px;
  margin: 0;
  accent-color: var(--terracotta);
}

.annotation-live-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 10px;
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 15px 15px 15px 5px;
  background: #e7e3da;
}

.annotation-live-summary > span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.annotation-live-summary > strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--sage-deep);
  font-size: 8.5px;
}

.annotation-live-summary > strong i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marker);
}

.annotation-live-summary > strong i.is-eraser {
  border: 1px solid rgba(48, 51, 45, 0.24);
  background:
    linear-gradient(45deg, #c9c5bc 25%, transparent 25%, transparent 75%, #c9c5bc 75%),
    #f7f4ee;
  background-size: 4px 4px;
}

.annotation-live-summary > em {
  grid-column: 1 / -1;
  color: var(--muted-dark);
  font-size: 8px;
  font-style: normal;
}

.annotation-footer {
  flex: none;
  padding: 10px 18px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.95);
  box-shadow: 0 -10px 25px rgba(54, 47, 37, 0.05);
  backdrop-filter: blur(14px);
}

.annotation-footer > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 7.5px;
  line-height: 1.35;
  text-align: center;
}

.annotation-apply {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  text-align: left;
}

.annotation-apply > span {
  display: grid;
  gap: 2px;
}

.annotation-apply small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.annotation-apply strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.annotation-apply .icon {
  width: 16px;
  height: 16px;
  color: #e7ca95;
}

.refinement-modal {
  z-index: 190;
}

.refinement-sheet {
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.07), transparent 24%),
    radial-gradient(circle at 0 15%, rgba(255, 59, 48, 0.065), transparent 22%),
    var(--paper);
}

.refinement-sheet .annotation-header-mark {
  background: #3d4939;
}

.refinement-intro {
  background:
    radial-gradient(circle at 100% 0, rgba(229, 200, 145, 0.16), transparent 38%),
    #354032;
}

.refinement-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.refinement-region {
  display: grid;
  min-width: 0;
  min-height: 57px;
  grid-template-columns: 13px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 255, 255, 0.58);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.refinement-region:last-child {
  grid-column: 1 / -1;
}

.refinement-region:active {
  transform: scale(0.985);
}

.refinement-region.is-selected {
  border-color: color-mix(in srgb, var(--marker) 58%, transparent);
  background: color-mix(in srgb, var(--marker) 8%, #fff);
  box-shadow: inset 3px 0 0 var(--marker), 0 8px 20px rgba(50, 45, 38, 0.06);
}

.refinement-region.has-marks {
  box-shadow: inset 3px 0 0 var(--marker), 0 0 0 2px color-mix(in srgb, var(--marker) 13%, transparent);
}

.refinement-region > i {
  width: 12px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: var(--marker);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--marker) 36%, transparent);
}

.refinement-region > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.refinement-region strong {
  font-size: 8.8px;
  font-weight: 850;
}

.refinement-region small {
  overflow: hidden;
  color: var(--muted);
  font-size: 6.8px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refinement-region.has-comment small {
  color: var(--sage-deep);
  font-weight: 750;
}

.refinement-region > b {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

.refinement-canvas-shell {
  min-height: 215px;
}

.refinement-sheet .annotation-tools {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.refinement-tool-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.refinement-tool-buttons button {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.refinement-tool-buttons button.is-selected {
  background: var(--sage-deep);
  color: #fff;
}

.refinement-tool-buttons .icon {
  width: 12px;
  height: 12px;
}

.refinement-live-summary > strong i {
  background: var(--marker);
}

.refinement-footer .annotation-apply:disabled {
  cursor: default;
  opacity: 0.48;
}

.refinement-comment-modal {
  position: fixed;
  z-index: 210;
  inset: 0;
  width: min(100%, 430px);
  margin: 0 auto;
}

.refinement-comment-modal[hidden] {
  display: none;
}

.refinement-comment-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(18, 20, 16, 0.68);
  backdrop-filter: blur(8px);
  animation: fade-in 180ms ease both;
}

.refinement-comment-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 20px max(20px, env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 0;
  border-radius: 29px 29px 0 0;
  background:
    radial-gradient(circle at 94% 0, color-mix(in srgb, var(--active-marker, #FF3B30) 10%, transparent), transparent 35%),
    var(--paper);
  box-shadow: 0 -24px 65px rgba(19, 20, 17, 0.3);
  animation: sheet-up 300ms cubic-bezier(0.16, 0.78, 0.24, 1) both;
}

.refinement-comment-sheet .modal-handle {
  margin-bottom: 13px;
}

.refinement-comment-sheet > header {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.refinement-comment-color {
  display: block;
  width: 39px;
  height: 39px;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--marker);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--marker) 42%, transparent), 0 7px 16px rgba(31, 28, 24, 0.12);
}

.refinement-comment-sheet header > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.refinement-comment-sheet header small {
  color: var(--terracotta);
  font-size: 6.8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.refinement-comment-sheet h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.08;
}

.refinement-comment-sheet header button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted-dark);
  font-family: Arial, sans-serif;
  font-size: 22px;
}

.refinement-comment-sheet > label {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.refinement-comment-sheet > label > span {
  color: var(--sage-deep);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.refinement-comment-sheet textarea {
  width: 100%;
  min-height: 128px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid rgba(65, 73, 54, 0.18);
  border-radius: 17px 17px 17px 6px;
  outline: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
}

.refinement-comment-sheet textarea:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(65, 73, 54, 0.08);
}

.refinement-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 2px 0;
  color: var(--muted);
  font-size: 7.5px;
}

.refinement-comment-meta strong {
  flex: none;
  color: var(--sage-deep);
}

.refinement-comment-actions {
  display: grid;
  grid-template-columns: 0.72fr 1.5fr;
  gap: 8px;
  margin-top: 14px;
}

.refinement-comment-actions button {
  min-height: 48px;
  border-radius: 14px;
  background: #e5e0d7;
  color: var(--sage-deep);
  font-size: 8.5px;
  font-weight: 850;
}

.refinement-comment-actions button:last-child {
  background: var(--sage-deep);
  color: #fff;
  box-shadow: 0 10px 22px rgba(45, 52, 37, 0.16);
}

.design-flow-modal {
  position: fixed;
  z-index: 108;
  inset: 0;
  width: min(100%, 430px);
  margin: 0 auto;
}

.design-flow-modal[hidden],
.design-flow-step[hidden] {
  display: none;
}

.design-flow-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(25, 27, 22, 0.64);
  backdrop-filter: blur(6px);
  animation: fade-in 200ms ease both;
}

.design-flow-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: min(94svh, 820px);
  max-height: 94svh;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-bottom: 0;
  border-radius: 31px 31px 0 0;
  background:
    radial-gradient(circle at 88% 0, rgba(199, 166, 117, 0.12), transparent 25%),
    var(--paper);
  box-shadow: 0 -26px 70px rgba(22, 24, 19, 0.3);
  animation: sheet-up 380ms cubic-bezier(0.16, 0.78, 0.24, 1) both;
}

.design-flow-handle {
  width: 39px;
  height: 4px;
  flex: none;
  margin: 10px auto 8px;
  border-radius: 999px;
  background: #cec9bf;
}

.design-flow-header {
  display: grid;
  flex: none;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 10px;
  padding: 7px 20px 14px;
  text-align: center;
}

.design-flow-header .section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--terracotta);
  font-size: 8px;
}

.design-flow-header h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.55px;
}

.design-flow-back,
.design-flow-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted-dark);
}

.design-flow-back {
  transition: opacity 160ms ease, transform 160ms ease;
}

.design-flow-back:active:not(:disabled) {
  transform: scale(0.94);
}

.design-flow-back:disabled {
  opacity: 0.25;
  cursor: default;
}

.design-flow-back .icon {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.design-flow-close {
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
}

.design-flow-progress {
  height: 3px;
  flex: none;
  margin: 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9d4cb;
}

.design-flow-progress > span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage-deep), #7f896c);
  transition: width 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.design-flow-content {
  flex: 1;
  min-height: 0;
  padding: 17px 20px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.design-flow-content::-webkit-scrollbar {
  display: none;
}

.design-flow-step {
  animation: flow-step-in 240ms ease both;
}

@keyframes flow-step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

.design-flow-intro {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 19px 19px 19px 7px;
  background: var(--sage-deep);
  color: #fff;
}

.design-flow-intro > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: #e5c891;
}

.design-flow-intro .icon {
  width: 17px;
  height: 17px;
}

.design-flow-intro strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.design-flow-intro p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 9.5px;
  line-height: 1.45;
}

.design-flow-intro-palette {
  background: #6e594a;
}

.design-flow-intro-final {
  background: #4e5945;
}

.style-collection-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 10px;
}

.style-collection-meta > span {
  max-width: 265px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.style-collection-meta > strong {
  flex: none;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e6e1d8;
  color: var(--sage-deep);
  font-size: 8px;
  font-weight: 800;
}

.flow-style-grid .studio-style-option {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.flow-style-grid .studio-style-option:active {
  transform: scale(0.985);
}

.flow-style-grid .style-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.25fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 9px;
  align-items: center;
  padding-bottom: 7px;
}

.flow-style-grid .style-featured img {
  height: 125px;
  grid-row: 1 / 3;
}

.flow-style-grid .style-featured strong {
  align-self: end;
  margin-top: 0;
  padding-left: 3px;
  font-size: 18px;
}

.flow-style-grid .style-featured small {
  align-self: start;
  padding-left: 3px;
  line-height: 1.4;
}

.flow-preference-list {
  background: rgba(255, 255, 255, 0.62);
}

.flow-preference-list .preference-row {
  min-height: 68px;
}

.floor-decision-card {
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(93, 76, 56, 0.18);
  border-radius: 22px 22px 22px 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(183, 135, 91, 0.18), transparent 42%),
    linear-gradient(145deg, #f5eee4, #ebe2d4);
  box-shadow: 0 10px 24px rgba(74, 58, 41, 0.08);
}

.floor-decision-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 15px 11px;
}

.floor-decision-heading > span,
.floor-decision-heading small,
.floor-decision-heading strong {
  display: block;
}

.floor-decision-icon {
  display: grid !important;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(120, 82, 51, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.6);
  color: #8c5f3f;
}

.floor-decision-icon .icon {
  width: 20px;
  height: 20px;
}

.floor-decision-heading small {
  color: #9a6948;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.floor-decision-heading strong {
  margin-top: 3px;
  color: #332b24;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.floor-decision-heading > em {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #796552;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floor-change-toggle {
  min-height: 70px;
  border-top: 1px solid rgba(93, 76, 56, 0.12);
  background: rgba(255, 255, 255, 0.43);
  transition: background 180ms ease;
}

.floor-change-toggle.is-on {
  background: rgba(224, 232, 216, 0.7);
}

.floor-change-copy {
  min-width: 0;
}

.floor-change-copy small {
  max-width: 255px;
  line-height: 1.35;
}

.floor-toggle-control {
  display: flex !important;
  flex: none;
  align-items: center;
  gap: 8px;
}

.floor-toggle-control > em {
  min-width: 36px;
  color: #776d62;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.floor-change-toggle.is-on .floor-toggle-control > em {
  color: var(--sage-deep);
}

.flow-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 3px 8px;
}

.flow-section-title > span {
  color: var(--sage-deep);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.flow-section-title > small {
  color: var(--muted);
  font-size: 8px;
}

.design-note-card {
  margin-top: 13px;
  padding: 15px;
  border: 1px solid rgba(65, 73, 54, 0.14);
  border-radius: 21px 21px 21px 8px;
  background: rgba(255, 255, 255, 0.62);
}

.design-note-card label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.design-note-card label strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.design-note-card label em {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted-dark);
  font-size: 7.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.design-note-card label > small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.design-note-card textarea {
  display: block;
  width: 100%;
  min-height: 112px;
  margin-top: 12px;
  padding: 13px;
  resize: vertical;
  border: 1px solid rgba(37, 36, 31, 0.1);
  border-radius: 15px 15px 15px 6px;
  outline: 0;
  background: #f4f1eb;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.55;
}

.design-note-card textarea::placeholder {
  color: #98948b;
}

.design-note-card textarea:focus {
  border-color: rgba(65, 73, 54, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(65, 73, 54, 0.07);
}

.design-note-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 8px;
}

.design-note-meta strong {
  flex: none;
  color: var(--sage-deep);
  font-size: 8.5px;
}

.design-note-meta b {
  font-weight: 800;
}

.note-suggestions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.note-suggestions::-webkit-scrollbar {
  display: none;
}

.note-suggestions button {
  min-height: 35px;
  flex: none;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--sage-deep);
  font-size: 8.5px;
  font-weight: 750;
}

.design-flow-footer {
  display: grid;
  flex: none;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 20px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.94);
  box-shadow: 0 -12px 28px rgba(54, 47, 37, 0.06);
  backdrop-filter: blur(16px);
}

.design-flow-dots {
  display: flex;
  gap: 5px;
}

.design-flow-dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #cbc6bd;
  transition: width 180ms ease, background 180ms ease;
}

.design-flow-dots i.is-active {
  width: 17px;
  background: var(--sage-deep);
}

.design-flow-next {
  min-height: 55px;
  justify-content: space-between;
  padding-right: 15px;
  padding-left: 18px;
}

.design-flow-next .icon {
  width: 16px;
  height: 16px;
  color: #e6c992;
}

.design-flow-next.is-final {
  background: linear-gradient(135deg, var(--sage-deep), #5b654d);
}

.premium-modal {
  position: fixed;
  z-index: 105;
  inset: 0;
  width: min(100%, 430px);
  margin: 0 auto;
}

.premium-modal[hidden],
.premium-modal-panel[hidden] {
  display: none;
}

.premium-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(25, 27, 22, 0.63);
  backdrop-filter: blur(6px);
  animation: fade-in 200ms ease both;
}

.premium-modal-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 94svh;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-bottom: 0;
  border-radius: 31px 31px 0 0;
  background:
    radial-gradient(circle at 90% 0, rgba(199, 166, 117, 0.12), transparent 25%),
    var(--paper);
  box-shadow: 0 -26px 70px rgba(22, 24, 19, 0.3);
  scrollbar-width: none;
  animation: sheet-up 380ms cubic-bezier(0.16, 0.78, 0.24, 1) both;
}

.premium-modal-sheet::-webkit-scrollbar {
  display: none;
}

.premium-modal-handle {
  width: 39px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #cec9bf;
}

.premium-modal-header {
  display: grid;
  grid-template-columns: 45px 1fr 35px;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.premium-modal-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 15px 15px 15px 6px;
  background: var(--sage-deep);
  color: #e5c891;
  box-shadow: 0 8px 18px rgba(45, 52, 37, 0.14);
}

.premium-modal-mark .icon {
  width: 19px;
  height: 19px;
}

.premium-modal-header .section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--terracotta);
  font-size: 8px;
}

.premium-modal-header h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.55px;
}

.premium-modal-close {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted-dark);
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.premium-modal-panel {
  padding-top: 18px;
}

.checkout-selection-note {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 15px;
  overflow: hidden;
  border-radius: 20px 20px 20px 7px;
  background:
    radial-gradient(circle at 108% -20%, rgba(229, 200, 145, 0.24), transparent 45%),
    var(--sage-deep);
  color: #fff;
}

.checkout-selection-note > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: #e5c891;
}

.checkout-selection-note .icon {
  width: 17px;
  height: 17px;
}

.checkout-selection-note small,
.checkout-selection-note strong,
.checkout-selection-note p {
  display: block;
}

.checkout-selection-note small {
  color: #e5c891;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.checkout-selection-note strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.checkout-selection-note p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9.5px;
  line-height: 1.4;
}

.modal-payment-section {
  margin-top: 23px;
  padding-top: 0;
  border-top: 0;
}

.modal-payment-section .premium-section-heading {
  align-items: end;
  margin-bottom: 11px;
}

.modal-payment-section h3,
.modal-comparison-section h3,
.modal-order-summary h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.08;
}

.payment-method-options {
  display: grid;
  gap: 8px;
}

.premium-modal .saved-payment-card {
  min-height: 74px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.54);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.premium-modal .saved-payment-card:active {
  transform: scale(0.99);
}

.premium-modal .saved-payment-card.is-selected {
  border-color: rgba(65, 73, 54, 0.54);
  background: #fff;
  box-shadow: 0 8px 23px rgba(54, 47, 37, 0.07);
}

.premium-modal .saved-payment-card > span:nth-child(2) small,
.premium-modal .saved-payment-card > span:nth-child(2) strong,
.premium-modal .saved-payment-card > span:nth-child(2) em {
  display: block;
}

.premium-modal .saved-payment-card > span:nth-child(2) small {
  margin: 0 0 3px;
  color: var(--terracotta);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.premium-modal .saved-payment-card > span:nth-child(2) strong {
  font-size: 11.5px;
}

.premium-modal .saved-payment-card > span:nth-child(2) em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.premium-modal .saved-payment-card:not(.is-selected) .payment-selected {
  border: 1px solid rgba(37, 36, 31, 0.16);
  background: transparent;
  color: transparent;
}

.payment-card-icon-dark {
  background: #171814;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.add-payment-method {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  padding: 0 8px;
  background: transparent;
  color: var(--sage-deep);
  font-size: 10.5px;
  font-weight: 750;
}

.add-payment-method > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(65, 73, 54, 0.23);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 400;
}

.modal-order-summary {
  margin-top: 13px;
  background: rgba(255, 255, 255, 0.62);
}

.modal-order-summary .order-heading > span {
  padding: 5px 7px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.modal-assurance span {
  display: grid;
  min-height: 64px;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto auto;
  justify-content: start;
  gap: 1px 7px;
  padding: 10px;
  text-align: left;
}

.modal-assurance .icon {
  grid-row: 1 / 3;
  align-self: center;
}

.modal-assurance b,
.modal-assurance small {
  display: block;
}

.modal-assurance b {
  align-self: end;
  color: var(--ink);
  font-size: 9.5px;
}

.modal-assurance small {
  align-self: start;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
}

.modal-checkout-button {
  width: 100%;
  margin-top: 15px;
  box-shadow: 0 13px 26px rgba(45, 52, 37, 0.19);
}

.modal-legal {
  padding-bottom: 0;
}

.compare-modal-intro > p {
  max-width: 345px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.compare-plan-spotlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.compare-spotlight {
  min-height: 154px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 21px 21px 21px 7px;
  background: rgba(255, 255, 255, 0.6);
}

.compare-spotlight-plus {
  border-color: var(--sage-deep);
  background:
    radial-gradient(circle at 110% 0, rgba(229, 200, 145, 0.2), transparent 41%),
    var(--sage-deep);
  color: #fff;
}

.compare-spotlight > span {
  color: var(--terracotta);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.compare-spotlight-plus > span {
  color: #e5c891;
}

.compare-spotlight h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.compare-spotlight > strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 550;
}

.compare-spotlight > strong small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.compare-spotlight-plus > strong small {
  color: rgba(255, 255, 255, 0.54);
}

.compare-spotlight p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.compare-spotlight-plus p {
  color: rgba(255, 255, 255, 0.6);
}

.modal-comparison-section {
  margin-top: 23px;
}

.compare-modal-panel .plan-comparison {
  background: rgba(255, 255, 255, 0.65);
}

.compare-modal-panel .plan-comparison > div {
  min-height: 48px;
  padding-right: 7px;
  padding-left: 7px;
}

.compare-modal-button {
  width: 100%;
  margin-top: 17px;
}

.compare-modal-button .icon {
  width: 15px;
  height: 15px;
  margin-left: 8px;
}

.compare-modal-footnote {
  margin: 10px 7px 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
  text-align: center;
}

.concept-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: min(100%, 430px);
  margin: 0 auto;
}

.concept-modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(28, 28, 24, 0.55);
  backdrop-filter: blur(4px);
  animation: fade-in 200ms ease both;
}

.modal-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 88svh;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 31px 31px 0 0;
  background: var(--paper);
  box-shadow: 0 -24px 60px rgba(28, 28, 24, 0.22);
  animation: sheet-up 360ms cubic-bezier(0.16, 0.78, 0.24, 1) both;
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
}

.modal-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 17px;
  border-radius: 999px;
  background: #d2cdc4;
}

.prompt-output-sheet {
  display: flex;
  height: min(92svh, 780px);
  max-height: 92svh;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 2%, rgba(199, 166, 117, 0.14), transparent 23%),
    var(--paper);
}

.prompt-output-sheet .modal-handle {
  flex: none;
  margin-bottom: 12px;
}

.prompt-output-header {
  display: grid;
  flex: none;
  grid-template-columns: 44px 1fr 36px;
  align-items: center;
  gap: 11px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.prompt-output-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px 14px 14px 6px;
  background: var(--sage-deep);
  color: #e6c992;
  box-shadow: 0 8px 18px rgba(45, 52, 37, 0.15);
}

.prompt-output-mark .icon {
  width: 17px;
  height: 17px;
}

.prompt-output-header .section-kicker {
  display: block;
  color: var(--terracotta);
  font-size: 7.5px;
}

.prompt-output-header h2 {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.5px;
}

.prompt-output-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted-dark);
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.prompt-output-field {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  margin-top: 15px;
}

.prompt-output-field > span,
.prompt-output-field > small {
  display: block;
}

.prompt-output-field > span {
  color: var(--sage-deep);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.prompt-output-field > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.prompt-output-field textarea {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 260px;
  margin-top: 10px;
  padding: 15px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 18px 7px;
  outline: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 200, 145, 0.08), transparent 24%),
    #30362b;
  color: #f4f0e7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10.5px;
  line-height: 1.58;
  caret-color: #e6c992;
  scrollbar-color: rgba(230, 201, 146, 0.4) transparent;
}

.prompt-output-field textarea:focus {
  border-color: rgba(230, 201, 146, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 201, 146, 0.08);
}

.prompt-copy-button {
  min-height: 55px;
  flex: none;
  margin-top: 11px;
}

.prompt-copy-button .icon {
  width: 15px;
  height: 15px;
  color: #e6c992;
  stroke-width: 2.4;
}

.prompt-edit-button {
  min-height: 41px;
  flex: none;
  background: transparent;
  color: var(--sage-deep);
  font-size: 9.5px;
  font-weight: 750;
}

.result-output-sheet {
  display: flex;
  max-height: 92svh;
  flex-direction: column;
  overflow-y: auto;
  background:
    radial-gradient(circle at 92% 2%, rgba(199, 166, 117, 0.14), transparent 23%),
    var(--paper);
}

.result-output-header {
  display: grid;
  flex: none;
  grid-template-columns: 44px 1fr 36px;
  align-items: center;
  gap: 11px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.result-output-header .section-kicker {
  display: block;
  color: var(--terracotta);
  font-size: 7.5px;
}

.result-output-header h2 {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.5px;
}

.result-stage {
  position: relative;
  display: grid;
  min-height: 330px;
  margin-top: 15px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 8px;
  background:
    radial-gradient(circle at 50% 35%, rgba(199, 166, 117, 0.19), transparent 33%),
    #e8e2d8;
}

.result-stage > img {
  width: 100%;
  max-height: 58svh;
  object-fit: contain;
  cursor: zoom-in;
}

.result-stage > img:focus-visible {
  outline: 3px solid rgba(229, 200, 145, 0.9);
  outline-offset: -4px;
}

.result-expand-chip {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(31, 35, 28, 0.82);
  color: #fff;
  font-size: 8px;
  font-weight: 850;
  box-shadow: 0 7px 18px rgba(20, 22, 18, 0.25);
  backdrop-filter: blur(10px);
}

.result-expand-chip .icon {
  width: 13px;
  height: 13px;
  color: #e7ca95;
}

.result-expand-chip[hidden],
.result-media-actions[hidden] {
  display: none;
}

.result-loading,
.result-error {
  display: flex;
  max-width: 270px;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 30px 20px;
  text-align: center;
}

.result-loading {
  width: 100%;
  max-width: 315px;
  gap: 12px;
}

.result-loading[hidden],
.result-error[hidden],
.result-stage > img[hidden] {
  display: none;
}

.result-loading strong,
.result-error strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.08;
}

.result-loading small,
.result-error span {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.result-visual {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 3px;
  place-items: center;
}

.result-visual::before {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(189, 123, 85, 0.09);
  box-shadow: 0 0 0 12px rgba(199, 166, 117, 0.06);
  content: "";
  animation: result-aura 2.1s ease-in-out infinite;
}

.result-spinner {
  position: absolute;
  inset: 0;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(65, 73, 54, 0.14);
  border-top-color: var(--terracotta);
  border-right-color: rgba(199, 166, 117, 0.7);
  border-radius: 50%;
  animation: result-spin 1.2s linear infinite;
}

.result-visual .icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  color: var(--sage-deep);
  animation: result-sparkle 1.8s ease-in-out infinite;
}

.result-progress-copy {
  display: grid;
  min-height: 55px;
  align-content: start;
  gap: 5px;
}

.result-progress-copy small {
  min-height: 32px;
}

.result-progress {
  display: grid;
  width: 100%;
  gap: 7px;
}

.result-progress-track {
  position: relative;
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(65, 73, 54, 0.11);
}

.result-progress-track i {
  position: relative;
  display: block;
  width: 7%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage-deep), var(--terracotta), var(--gold));
  transition: width 1.25s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.result-progress-track i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.7) 48%, transparent 68%);
  content: "";
  transform: translateX(-100%);
  animation: result-progress-shimmer 1.8s ease-in-out infinite;
}

.result-progress > span:last-child {
  color: var(--sage-deep);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-loading .result-symbolic-note {
  max-width: 250px;
  color: rgba(104, 101, 93, 0.78);
  font-size: 8px;
  line-height: 1.45;
}

@keyframes result-spin {
  to { transform: rotate(360deg); }
}

@keyframes result-aura {
  50% { transform: scale(1.08); opacity: 0.7; }
}

@keyframes result-sparkle {
  50% { transform: scale(1.12) rotate(5deg); color: var(--terracotta); }
}

@keyframes result-progress-shimmer {
  to { transform: translateX(100%); }
}

.result-error::before {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: rgba(178, 91, 68, 0.12);
  color: var(--terracotta);
  font-size: 23px;
  font-weight: 700;
  content: "!";
}

.result-meta {
  margin: 11px 4px 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
  text-align: center;
}

.result-media-actions {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr;
  gap: 7px;
  margin-top: 11px;
}

.result-media-actions button {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--sage-deep);
  font-size: 7.5px;
  font-weight: 850;
}

.result-media-actions button:first-child {
  background: var(--sage-deep);
  color: #fff;
}

.result-media-actions button:disabled,
.result-viewer-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.result-media-actions .icon {
  width: 13px;
  height: 13px;
  color: var(--terracotta);
}

.result-media-actions button:first-child .icon {
  color: #e7ca95;
}

.result-refine-button {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(65, 73, 54, 0.18);
  border-radius: 17px 17px 17px 6px;
  background:
    radial-gradient(circle at 100% 0, rgba(198, 154, 99, 0.2), transparent 40%),
    rgba(255, 255, 255, 0.68);
  color: var(--sage-deep);
  text-align: left;
  box-shadow: 0 8px 20px rgba(45, 52, 37, 0.06);
}

.result-refine-button[hidden] {
  display: none;
}

.result-refine-button:active:not(:disabled) {
  transform: scale(0.99);
}

.result-refine-button:disabled {
  opacity: 0.48;
}

.result-refine-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px 13px 13px 5px;
  background: var(--sage-deep);
  color: #e7ca95;
}

.result-refine-icon .icon {
  width: 17px;
  height: 17px;
}

.result-refine-button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.result-refine-button small {
  color: var(--terracotta);
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.result-refine-button strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.result-refine-button > em {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8e2d7;
  color: var(--sage-deep);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.result-primary-button {
  min-height: 55px;
  flex: none;
  margin-top: 13px;
}

.result-primary-button .icon {
  width: 15px;
  height: 15px;
  color: #e6c992;
}

.result-primary-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.result-viewer-modal {
  position: fixed;
  z-index: 180;
  inset: 0;
  width: 100%;
  height: 100svh;
}

.result-viewer-modal[hidden] {
  display: none;
}

.result-viewer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 35%, rgba(199, 166, 117, 0.12), transparent 38%),
    rgba(17, 19, 16, 0.97);
  backdrop-filter: blur(16px);
  animation: fade-in 180ms ease both;
}

.result-viewer-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  color: #fff;
  animation: fade-in 220ms ease both;
}

.result-viewer-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(16px, env(safe-area-inset-top)) 18px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(20, 22, 18, 0.52);
  backdrop-filter: blur(14px);
}

.result-viewer-header > span {
  display: grid;
  gap: 2px;
}

.result-viewer-header small {
  color: #d9ba83;
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.result-viewer-header strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.result-viewer-header button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
}

.result-viewer-canvas {
  display: grid;
  flex: 1;
  min-height: 0;
  place-items: center;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
}

.result-viewer-canvas img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.42);
  user-select: none;
  -webkit-user-drag: none;
}

.result-viewer-actions {
  display: grid;
  flex: none;
  grid-template-columns: 1.35fr 1fr;
  gap: 9px;
  padding: 12px 14px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(20, 22, 18, 0.72);
  backdrop-filter: blur(15px);
}

.result-viewer-actions button {
  display: grid;
  min-width: 0;
  min-height: 54px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px 16px 16px 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
}

.result-viewer-actions .result-viewer-download {
  border-color: rgba(215, 186, 131, 0.28);
  background: #4b5540;
}

.result-viewer-actions .icon {
  width: 20px;
  height: 20px;
  color: #e7ca95;
}

.result-viewer-actions span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.result-viewer-actions small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.48);
  font-size: 5.7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-viewer-actions strong {
  font-size: 9px;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 600px) {
  body {
    padding: 24px 0;
  }

  .app-shell {
    min-height: calc(100svh - 48px);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 36px;
    box-shadow: 0 38px 100px rgba(47, 42, 35, 0.2);
  }

  .app-header {
    top: 24px;
    border-radius: 36px 36px 0 0;
  }

  .bottom-navigation {
    bottom: 24px;
    border-radius: 0 0 36px 36px;
  }

  .concept-modal,
  .annotation-modal,
  .design-flow-modal,
  .premium-modal {
    inset: 24px 0;
    height: calc(100svh - 48px);
  }

  .modal-backdrop,
  .annotation-backdrop,
  .design-flow-backdrop,
  .premium-modal-backdrop {
    border-radius: 36px;
  }

  .modal-sheet,
  .annotation-sheet,
  .design-flow-sheet,
  .premium-modal-sheet {
    border-radius: 31px 31px 36px 36px;
  }

  .toast {
    bottom: 116px;
  }

  .premium-topbar {
    top: 24px;
  }
}

@media (max-width: 360px) {
  .views {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hero-copy h1 {
    font-size: 37px;
  }

  .process-grid {
    gap: 5px;
  }

  .process-item {
    padding-right: 9px;
    padding-left: 9px;
  }

  .room-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-option {
    min-height: 106px;
  }

  .style-scroller,
  .inspiration-chips,
  .palette-story-scroller,
  .credit-pack-grid {
    margin-right: -15px;
    padding-right: 15px;
  }

  .premium-plan-intro {
    min-height: 120px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .premium-quick-benefits > span {
    gap: 4px;
    font-size: 7.5px;
  }

  .subscription-features {
    grid-template-columns: 1fr;
  }

  .subscription-main {
    gap: 10px;
  }

  .subscription-price strong {
    font-size: 20px;
  }

  .premium-action {
    min-height: 145px;
    padding: 13px;
  }

  .premium-action-copy strong {
    max-width: 105px;
    font-size: 16.5px;
  }

  .premium-action-copy em {
    max-width: 84px;
  }

  .premium-pack-payment .premium-action-copy strong,
  .premium-pack-payment .premium-action-copy em {
    max-width: none;
  }

  .premium-modal-sheet {
    padding-right: 15px;
    padding-left: 15px;
  }

  .plan-comparison span,
  .plan-comparison b,
  .plan-comparison strong {
    font-size: 9.5px;
  }

  .room-story-card {
    grid-template-columns: 88px 1fr 28px;
    gap: 9px;
  }

  .room-story-card > img {
    width: 88px;
  }

}

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