@font-face {
  font-family: Geist;
  src: url("/static/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Bricolage;
  src: url("/static/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #f6f1ea;
  --muted: #aea9ad;
  --line: #ffffff1c;
  --peach: #ffc09a;
  --panel: #202022;
  --ease: cubic-bezier(0.16, 0.84, 0.25, 1);
  font:
    16px Geist,
    system-ui,
    sans-serif;
  color: var(--paper);
  background: #141416;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 92% -8%, #332b2b, transparent 45rem), #141416;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.number,
.logo {
  font-family: Bricolage, Geist, sans-serif;
}
h1 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  font-weight: 650;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.04em;
  line-height: 1.18;
}
p {
  line-height: 1.55;
}
small,
.subtle,
.empty {
  color: var(--muted);
  line-height: 1.5;
}
small {
  font-size: 13px;
}
.empty {
  padding: 16px 0;
}
.missing {
  min-height: 90svh;
  display: grid;
  place-content: center;
  gap: 16px;
}
button,
a.button,
.task {
  font:
    530 14px Geist,
    system-ui,
    sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 9px;
  border: 1px solid #ffffff24;
  background: #2a292c;
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    border-color 0.16s,
    background 0.16s,
    box-shadow 0.2s;
}
button:hover:not(:disabled),
a.button:hover,
.task:hover {
  transform: translateY(-1px);
  border-color: #b19c8d;
  background: #353033;
}
button:active:not(:disabled),
a.button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button.primary {
  border-color: #ffdfbb;
  background: linear-gradient(155deg, #ffdab7, #f9b38b);
  color: #302016;
  box-shadow:
    inset 0 1px #fff7,
    0 2px 8px #0003;
  font-weight: 650;
}
button.primary:hover {
  background: #ffccab;
  box-shadow: 0 3px 24px #feb88525;
}
button.quiet {
  background: transparent;
  border-color: transparent;
  color: #c8c1bf;
}
button.danger {
  background: #352125;
  color: #ffbab3;
  border-color: #714249;
}
a,
.text-link {
  color: var(--peach);
}
.text-link {
  font-size: 14px;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 3px;
}
.logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: #f9f4ed;
  font-size: 30px;
  letter-spacing: -0.08em;
  line-height: 1;
}
.logo strong,
.logo span {
  font-weight: 750;
}
.logo span {
  color: var(--peach);
}
.logo i {
  display: block;
  width: 20px;
  height: 19px;
  margin-right: 10px;
  transform: skewX(-23deg);
  background: repeating-linear-gradient(
    90deg,
    var(--peach) 0 5px,
    transparent 5px 8px
  );
}
.shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 37px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 46px;
  background: linear-gradient(156deg, #222123, #181719 66%);
  border-right: 1px solid var(--line);
}
.sidebar > .logo {
  margin-left: 11px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 540;
  text-decoration: none;
  color: #bcb6b9;
  border-radius: 9px;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    color 0.18s;
}
.sidebar nav a:hover {
  color: white;
  background: #ffffff08;
}
.sidebar nav a.selected {
  color: var(--peach);
  background: linear-gradient(100deg, #efaa811c, #f9cabd08);
  border-color: #f2b38f29;
}
.selected:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: currentColor;
  margin-left: auto;
}
.nav-icon {
  width: 19px;
  text-align: center;
  font:
    18px "Segoe UI Symbol",
    sans-serif;
}
.side-foot {
  margin-top: auto;
  padding: 16px 8px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.side-foot button {
  justify-content: flex-start;
  padding-left: 0;
}
.workspace,
.owner-layout {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  padding: clamp(22px, 4.1vw, 68px);
}
.owner-layout {
  max-width: 1180px;
  display: grid;
  align-content: start;
  gap: 22px;
}
.top,
.line,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top,
.line {
  justify-content: space-between;
}
.top {
  margin-bottom: 27px;
}
.owner-layout > .top {
  margin: 0 0 6px;
}
.heading,
.content,
.editor,
.form,
.fold-body {
  display: grid;
  gap: 16px;
}
.actions {
  gap: 8px;
}
.box,
.fold,
dialog,
.auth-card {
  background: linear-gradient(142deg, #252427, #1c1c1f);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px #ffffff06,
    0 12px 28px #0002;
  border-radius: 16px;
}
.box {
  min-width: 0;
  padding: clamp(18px, 2vw, 30px);
  display: grid;
  align-content: start;
  gap: 14px;
}
.box > .primary,
.box > .quiet,
.box > button {
  justify-self: start;
}
.hero,
.auth-graphic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 84%, #73544e, transparent 45%),
    linear-gradient(115deg, #2c292e, #352c33 58%, #493b45);
  border: 1px solid #f5c5ac2d;
}
.hero {
  min-height: 228px;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 20px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  box-shadow:
    inset 0 1px #ffdfbd16,
    0 10px 32px #0002;
}
.hero h2,
.hero h1 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  overflow-wrap: anywhere;
}
.hero > :not(.sculpture) {
  position: relative;
  z-index: 1;
  max-width: 66%;
}
.hero .actions {
  margin-top: 5px;
}
.hero-url {
  font-size: 14px;
  color: #d0c4c4;
  overflow-wrap: anywhere;
}
.hero .status {
  color: #e4d4cd;
}
.hero .status:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peach);
  margin-right: 8px;
}
.hero:before,
.auth-graphic:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#ffdcc416 1px, transparent 1px),
    linear-gradient(90deg, #ffdcc416 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: linear-gradient(95deg, transparent 25%, #000);
}
.sculpture {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 13%);
}
.ribs {
  width: 270px;
  height: 205px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: orbit 11s ease-in-out infinite alternate;
}
.ribs i {
  position: absolute;
  left: calc(8px + var(--i) * 4px);
  top: calc(8px + var(--i) * 1.42px);
  width: 136px;
  height: 157px;
  border: 2px solid transparent;
  border-radius: 48% 51% 56% 42%;
  transform: rotate(calc(-57deg + var(--i) * 4.8deg)) skewX(-12deg);
  background: conic-gradient(
      from calc(10deg + var(--i) * 1deg),
      #ffc69b,
      #726375 48deg,
      #37313e 85deg,
      #dbbbbe 145deg,
      #fff3d7 178deg,
      #ae959b 218deg,
      #39303b 256deg,
      #bd8b7e 300deg,
      #ffc69b
    )
    border-box;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@keyframes orbit {
  from {
    transform: translate(-51%, -51%) rotate(-18deg) scale(0.97);
  }
  to {
    transform: translate(-48%, -49%) rotate(-4deg) scale(1.03);
  }
}
.totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.totals .box {
  position: relative;
  gap: 3px;
}
.totals h2 {
  font:
    530 15px Geist,
    sans-serif;
  color: #d1cbd0;
}
.number {
  font-size: 45px;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.mini-bars,
.chart {
  display: flex;
  align-items: end;
  gap: 3px;
}
.mini-bars {
  position: absolute;
  right: 20px;
  bottom: 28px;
  width: 38%;
  height: 37px;
}
.mini-bars i,
.chart i {
  flex: 1;
  height: max(2px, var(--height));
  min-width: 0;
  background: linear-gradient(#ffd3af, #ac796c);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: grow 0.55s var(--ease) both;
}
.totals > .box:nth-child(2) i {
  background: linear-gradient(#e2d5ff, #9684ac);
}
.chart {
  height: 150px;
  gap: 5px;
  background: repeating-linear-gradient(
    to top,
    #ffffff12 0 1px,
    transparent 1px 25%
  );
}
@keyframes grow {
  from {
    transform: scaleY(0.03);
  }
}
progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  accent-color: var(--peach);
}
progress::-webkit-progress-bar {
  background: #3b383c;
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #b48475, #ffd3a9);
}
.tasks,
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.task {
  justify-content: flex-start;
  background: #181719;
  border-color: #ffffff12;
}
.task span {
  color: var(--peach);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: start;
}
.preview {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #625657;
  border-radius: 17px;
  background: #211f22;
  box-shadow: 0 12px 30px #0004;
}
.preview-label {
  font-size: 13px;
  padding: 12px 16px;
  color: #dcd4d1;
}
.preview .scene {
  min-height: 460px;
  padding: 16px;
}
.mobile {
  display: none;
}
.themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.themes button {
  display: grid;
  justify-items: start;
  font-size: 13px;
  padding: 8px;
}
.themes button:before {
  content: "";
  width: 100%;
  height: 38px;
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 95% 12%, var(--glint), transparent 64%),
    linear-gradient(130deg, #17171c, var(--swatch));
}
.fold {
  overflow: hidden;
}
.fold summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.fold summary:after {
  content: "+";
  color: var(--peach);
}
.fold[open] summary:after {
  content: "−";
}
.fold-body {
  padding: 0 20px 22px;
}
.link-item,
.media-field {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: #d8d2d5;
}
.check {
  display: flex;
  gap: 9px;
  align-items: center;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  min-height: 42px;
  background: #151518;
  border: 1px solid #454146;
  border-radius: 8px;
  padding: 9px 12px;
}
textarea {
  min-height: 88px;
  resize: vertical;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0;
  border-color: #d3a68d;
  box-shadow: 0 0 0 3px #ffbe9122;
}
input[type="color"] {
  padding: 3px;
}
input[type="range"] {
  padding: 0;
  accent-color: var(--peach);
}
input[type="checkbox"] {
  accent-color: var(--peach);
  width: 18px;
  height: 18px;
}
input[type="file"] {
  font-size: 13px;
}
output {
  font: 12px monospace;
  color: #e6bfaa;
}
input::file-selector-button {
  color: var(--paper);
  border: 1px solid #5a5357;
  border-radius: 5px;
  background: #342e32;
  padding: 5px 8px;
  margin-right: 8px;
}
.member-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.identity {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-address {
  font-size: 14px;
  color: #ddd4cd;
}
.pill {
  font-size: 12px;
  padding: 4px 8px;
  background: #413632;
  color: #f2cfb8;
  border-radius: 6px;
}
.auth {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 20px;
  background:
    radial-gradient(ellipse at 16% 14%, #332c30, transparent 45%),
    radial-gradient(ellipse at 80% 85%, #322923, transparent 48%);
}
.auth-card {
  width: min(100%, 435px);
  overflow: hidden;
  box-shadow: 0 24px 90px #0006;
}
.auth-graphic {
  height: 112px;
  display: flex;
  align-items: center;
  padding: 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.auth-graphic .sculpture {
  width: 56%;
}
.auth-graphic .ribs {
  scale: 0.72;
  transform-origin: 0 0;
}
.auth-form {
  display: grid;
  gap: 21px;
  padding: 30px;
}
.auth-form h1 {
  font-size: 36px;
}
.auth-form .text-link {
  justify-self: start;
}
dialog {
  color: var(--paper);
  padding: 24px;
  width: min(470px, calc(100% - 28px));
  max-height: 90svh;
  overflow: auto;
}
dialog[open] {
  display: grid;
  gap: 17px;
}
dialog::backdrop {
  background: #08080bc9;
  backdrop-filter: blur(4px);
}
.toast:not(:empty) {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  color: #261d18;
  background: #ffe0c5;
  border-radius: 10px;
  box-shadow: 0 6px 24px #0007;
  font-size: 14px;
}
.toast.error:not(:empty) {
  background: #ffbcb2;
}
.content > *,
.auth-card,
.owner-layout > .hero,
dialog[open] {
  animation: arrive 0.38s var(--ease) backwards;
}
.content > :nth-child(2) {
  animation-delay: 35ms;
}
.content > :nth-child(3) {
  animation-delay: 70ms;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
}
@media (max-width: 780px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 17px 14px 10px;
    gap: 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .logo {
    margin-left: 2px;
    font-size: 26px;
  }
  .sidebar nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
  }
  .sidebar nav a {
    padding: 7px 10px;
    min-height: 37px;
    white-space: nowrap;
    font-size: 13px;
  }
  .selected:after,
  .nav-icon,
  .side-foot {
    display: none;
  }
  .workspace,
  .owner-layout {
    padding: 22px 14px;
  }
  .top {
    margin-bottom: 18px;
  }
  .top h1 {
    font-size: 36px;
  }
  .top .primary {
    padding-inline: 11px;
  }
  .hero {
    min-height: 195px;
    padding: 22px;
  }
  .hero h2,
  .hero h1 {
    font-size: 35px;
  }
  .hero > :not(.sculpture) {
    max-width: 76%;
  }
  .sculpture {
    width: 34%;
  }
  .ribs {
    scale: 0.78;
    transform-origin: 0 0;
  }
  .hero-url {
    font-size: 12px;
  }
  .totals {
    gap: 10px;
  }
  .totals .box {
    padding: 15px;
  }
  .number {
    font-size: 35px;
  }
  .mini-bars {
    width: 27%;
    right: 12px;
    bottom: 19px;
  }
  .tasks {
    grid-template-columns: 1fr;
  }
  .split {
    display: block;
  }
  .mobile {
    display: inline-flex;
    justify-self: start;
  }
  .preview {
    position: static;
  }
  .split:not(.show-preview) .preview,
  .split.show-preview .editor {
    display: none;
  }
  .member-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .member-row > .identity:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
  }
  .auth-form {
    padding: 24px;
  }
  .owner-layout .top .actions {
    gap: 3px;
  }
  .fields {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Account workspace */
.account-shell {
  --peach: #e5c0ee;
  --line: #ffffff0f;
  background: #0b0b0c;
  grid-template-columns: clamp(210px, 21vw, 285px) minmax(0, 1fr);
}
.account-shell .sidebar {
  background: #101011;
  border: 0;
  border-radius: 0 28px 28px 0;
  padding: 32px 18px 22px;
  gap: 24px;
}
.account-shell .logo {
  font-size: 27px;
}
.account-shell .logo i {
  background: repeating-linear-gradient(
    90deg,
    #be83ce 0 5px,
    transparent 5px 8px
  );
}
.account-shell .nav-label {
  font-size: 12px;
  color: #a59ba9;
  letter-spacing: 0.02em;
  border-top: 1px solid #222;
  padding: 22px 12px 0;
}
.account-shell nav a,
.side-control {
  border-radius: 14px;
  font-size: 15px;
  padding: 12px 16px;
  text-align: left;
  color: #dfdbe0;
}
.account-shell nav a.selected {
  background: #332036;
  border: 1px solid #513154;
  color: #f4e4f7;
}
.account-shell .selected:after {
  display: none;
}
.side-control {
  justify-content: start;
  background: transparent;
  border: 0;
}
.account-shell .workspace {
  max-width: 1500px;
  padding: clamp(20px, 3.5vw, 52px);
}
.account-shell .top {
  margin-bottom: 18px;
}
.account-shell .top h1,
.section-heading {
  font:
    600 clamp(20px, 2vw, 26px)/1.2 Geist,
    sans-serif;
  letter-spacing: -0.04em;
}
.account-shell .section-heading {
  margin: 18px 0 0;
  font-size: 20px;
}
.account-shell button.primary {
  background: #49264f;
  color: #f9e9fb;
  border-color: #714178;
  box-shadow: inset 0 1px #ffffff13;
}
.account-shell .box,
.account-shell .fold {
  background: #131314;
  border-color: #ffffff07;
  border-radius: 16px;
  box-shadow: none;
}
.account-shell .box h2 {
  font:
    620 18px/1.25 Geist,
    sans-serif;
  letter-spacing: -0.04em;
}
.account-shell .content {
  gap: 18px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.stat-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
  padding: 20px;
  border: 1px solid #533657;
  background: linear-gradient(125deg, #332035, #291b2c);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 #ffffff08;
}
.stat-card .line {
  font:
    560 15px Geist,
    sans-serif;
  color: #f4e9f6;
  margin-bottom: 10px;
}
.stat-symbol {
  font-size: 23px;
  line-height: 1;
  color: #c6b6c9;
}
.stat-card .number {
  font:
    650 clamp(21px, 2.3vw, 32px)/1.2 Geist,
    sans-serif;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}
.stat-card small {
  color: #baadbd;
  font-size: 13px;
}
.statistics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}
.action-stack {
  display: grid;
  gap: 14px;
}
.action-stack .button,
.action-stack button,
.account-shell .task {
  justify-content: flex-start;
  justify-self: stretch;
  min-height: 42px;
  color: #eee;
  background: #232324;
  border-color: #ffffff0c;
}
.account-shell .tasks {
  grid-template-columns: 1fr;
}
.account-shell .task span {
  color: #d9b3e5;
}
.account-shell progress {
  height: 12px;
  accent-color: #a764b1;
}
.account-shell progress::-webkit-progress-value {
  background: linear-gradient(90deg, #693a71, #a16caf);
}
.account-shell .chart i,
.account-shell .mini-bars i {
  background: linear-gradient(#c18cca, #73437c);
}
.account-shell .side-foot {
  margin-top: auto;
  background: #19191b;
  padding: 14px;
  border: 1px solid #ffffff09;
  border-radius: 14px;
}
.account-shell .preview {
  border-color: #4b4050;
}
.account-shell .theme-choices button,
.account-shell .themes button {
  background: #1c1b1e;
}
@media (min-width: 781px) and (max-width: 1279px) {
  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stat-card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 780px) {
  .account-shell {
    display: block;
  }
  .account-shell .sidebar {
    position: static;
    height: auto;
    border-radius: 0;
    padding: 17px 13px 10px;
    gap: 12px;
  }
  .account-shell .nav-label,
  .account-shell .side-foot {
    display: none;
  }
  .account-shell nav a,
  .side-control {
    font-size: 13px;
    padding: 7px 10px;
    white-space: nowrap;
  }
  .account-shell .workspace {
    padding: 20px 14px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card .line {
    font-size: 13px;
  }
  .statistics-grid {
    grid-template-columns: 1fr;
  }
  .account-shell .top h1 {
    font-size: 24px;
  }
}

.nav-search {
  position: relative;
}
.nav-search input[type="search"] {
  min-height: 40px;
  padding: 9px 54px 9px 12px;
  background: #151515;
  border: 1px solid #262327;
  border-radius: 12px;
  font-size: 13px;
}
.nav-search kbd {
  position: absolute;
  right: 9px;
  top: 11px;
  background: #232124;
  color: #aaa4ad;
  border-radius: 4px;
  padding: 2px 5px;
  font:
    10px Geist,
    sans-serif;
  pointer-events: none;
}
.account-shell nav .button {
  justify-content: flex-start;
  background: none;
}
.account-shell nav [hidden] {
  display: none;
}
.stat-card .number {
  font-size: clamp(21px, 1.95vw, 28px);
}
@media (max-width: 780px) {
  .nav-search {
    display: none;
  }
}

.layout-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.preset-thumb {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  text-align: left;
  font-size: 12px;
  padding: 8px;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: #171619;
  color: inherit;
  cursor: pointer;
  min-height: 96px;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}
.preset-thumb:before {
  content: "";
  height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff10, transparent 40%),
    radial-gradient(circle at 30% 55%, #fff3, transparent 28%),
    #0c0c10;
  border: 1px solid #ffffff10;
}
.preset-thumb[data-layout="Glass card"]:before {
  background:
    linear-gradient(160deg, #ffffff18, #ffffff05 45%, transparent),
    linear-gradient(135deg, #3a2a48, #151018);
}
.preset-thumb[data-layout="Portrait"]:before {
  background:
    radial-gradient(circle at 50% 42%, #fff2, transparent 22%),
    linear-gradient(180deg, #4a3a2f, #120e12 70%);
}
.preset-thumb.selected,
.preset-thumb:focus-visible {
  border-color: #efc2a8;
  outline: none;
  box-shadow: 0 0 0 1px #efc2a855;
}
.preset-thumb:hover {
  transform: translateY(-1px);
  background: #1d1c20;
}
.upload-progress {
  font-size: 12px;
  color: #cbbfc8;
  min-height: 1.2em;
}
.upload-progress.error {
  color: #ffb4a8;
}
.media-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.media-status {
  color: #9f959e;
  font-size: 12px;
}
label:has(input[type="range"]) {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
}
label:has(input[type="range"]) input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: #efc2a8;
}
label:has(input[type="range"]) output {
  font-variant-numeric: tabular-nums;
  color: #9f959e;
  font-size: 12px;
}
.preview-body {
  min-height: 520px;
  height: min(640px, calc(100svh - 140px));
  max-height: calc(100svh - 140px);
  overflow: hidden;
  background: #050506;
}
.preview .scene {
  min-height: 100%;
  height: 100%;
  max-height: none;
  padding: 16px;
}
.subtle {
  margin: 0;
  font-size: 13px;
  color: #9f959e;
  line-height: 1.45;
}
@media (max-width: 780px) {
  .layout-presets {
    grid-template-columns: 1fr;
  }
}
