/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --ink: #1c1916;
  --muted: #6d645c;
  --line: #e3d9ce;
  --paper: #fbf8f4;
  --studio: #e7e0d6;
  --pine: #1c3d32;
  --pine-ink: #f6f1ea;
  color: var(--ink);
  background: var(--studio);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
}

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

button { cursor: pointer; }

h1, h2, p { margin: 0; }

.studio {
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
  height: 100vh;
}

.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.panel-body {
  flex: 1 1;
  overflow: auto;
  padding: 28px 22px 12px;
}

.intro h1 {
  margin: 8px 0 10px;
  font-family: "Source Serif 4", Palatino, "Palatino Linotype", serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.intro p:last-child, .fine { color: var(--muted); line-height: 1.45; }

.kicker {
  color: var(--pine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel section { margin-top: 28px; }

.panel h2 { font-size: 15px; font-weight: 600; }

.pane-switch { display: none; padding: 16px 22px 0; }

.choices, .swatches {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 12px;
}

.choices { grid-template-columns: repeat(3, 1fr); }

.choice, .swatch, .check, .submit, .text-button, .pane-switch button {
  border: 1px solid var(--line);
  background: white;
}

.choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  text-align: left;
}

.choice strong { font-size: 14px; }
.choice span { color: var(--muted); font-size: 12px; line-height: 1.35; }

.choice[aria-pressed="true"], .swatch[aria-pressed="true"] {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--pine-ink);
}

.choice[aria-pressed="true"] span { color: #d9d0c4; }

.wire {
  display: block;
  width: 100%;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: #efe7dc;
  position: relative;
  overflow: hidden;
}

.wire-a::before, .wire-b::before, .wire-c::before {
  content: "";
  position: absolute;
  background: #1c3d32;
}

.wire-a::before { left: 22%; right: 22%; top: 12px; height: 8px; border-radius: 4px; }
.wire-a::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 6px; height: 8px;
  border-radius: 3px;
  background: #d9cbb8;
}
.wire-b::before { left: 0; top: 0; bottom: 0; width: 42%; }
.wire-c::before { left: 8px; right: 8px; top: 8px; height: 10px; border-radius: 3px; }
.wire-c::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 6px; height: 12px;
  background: linear-gradient(#c4a574, #c4a574) 0 0 / 30% 100%,
    linear-gradient(#c4a574, #c4a574) 50% 0 / 30% 100%,
    linear-gradient(#c4a574, #c4a574) 100% 0 / 30% 100%;
  background-repeat: no-repeat;
}

.swatches { grid-template-columns: repeat(2, 1fr); }

.swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
}

.custom-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px 12px;
  gap: 8px 12px;
  margin-top: 14px;
}

.custom-colors p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.color-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.color-field input[type="color"] {
  width: 36px;
  height: 32px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.dots { display: flex; }
.dots i, .browser-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgb(0 0 0 / 12%);
}
.dots i + i { margin-left: -4px; }

.photo-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.photo-row .field { margin-top: 0; }

.photo-thumb,
.photo-empty {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}

.photo-thumb { object-fit: cover; }

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.field span { font-size: 13px; color: var(--muted); }
.hint { font-size: 12px; }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.field textarea { resize: vertical; }

.section-head, .domain-row { display: flex; align-items: flex-end; gap: 8px; }
.section-head { justify-content: space-between; }
.grow { flex: 1 1; }
.tld { width: 128px; }

.section-list {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.block-switch {
  position: relative;
  display: flex;
  cursor: pointer;
}

.block-switch:has(input:disabled) { cursor: default; }

.block-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.block-open {
  display: flex;
  flex: 1 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.block-open:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; border-radius: 6px; }

.chevron {
  flex: none;
  width: 8px;
  height: 8px;
  margin: 0 4px 4px 0;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.block[data-open="true"] .chevron { margin-bottom: -4px; transform: rotate(-135deg); }
.block[data-off="true"] .section-text strong { color: var(--muted); }

.block-body {
  padding: 2px 14px 16px;
  border-top: 1px solid var(--line);
}

.block-body > .hint:first-child { margin: 12px 0 0; }
.block-body .list-item { background: var(--paper); }
.block-body .list-item .field input,
.block-body .list-item .field textarea { background: white; }

.switch {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #d8cfc3;
  transition: background 0.15s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
  transition: transform 0.15s;
}

.block-switch input:checked + .switch { background: var(--pine); }
.block-switch input:checked + .switch::after { transform: translateX(16px); }
.block-switch input:disabled + .switch { opacity: 0.45; }
.block-switch input:focus-visible + .switch { outline: 2px solid var(--pine); outline-offset: 2px; }

.section-text { display: flex; flex-direction: column; line-height: 1.3; }
.section-text strong { font-size: 14px; }
.section-text span { color: var(--muted); font-size: 12px; }

.list-editor { margin-top: 14px; }
.list-editor h3 { margin: 0; font-size: 14px; font-weight: 600; }

.list-item {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.list-item .field:first-of-type { margin-top: 8px; }
.list-item .field input, .list-item .field textarea { background: var(--paper); }

.list-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.add-button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed #c9bcab;
  border-radius: 12px;
  background: transparent;
  color: var(--pine);
  font-size: 14px;
  font-weight: 600;
}

.notice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6ecd9;
  color: #6b4e1f;
  font-size: 13px;
  line-height: 1.4;
}

.text-button {
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
}

.check {
  height: 46px;
  margin-bottom: 1px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.check:disabled { opacity: 0.55; cursor: wait; }

.domain-preview, .domain-error, .domain-result, .form-error, .fine { margin-top: 8px; }
.domain-preview { color: var(--muted); font-size: 13px; }
.domain-error, .form-error { color: #8d2f24; }
.domain-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
}
.domain-result.ok { background: #e7f0ea; }
.domain-result.taken { background: #f8e8e4; color: #6e2c24; }

.submit-bar {
  flex: none;
  padding: 14px 22px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--pine);
  color: var(--pine-ink);
  font-weight: 600;
}

.submit:disabled { opacity: 0.6; }

.status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #efe8dc;
  font-size: 14px;
  line-height: 1.4;
}

.status-done { background: #e7f0ea; }
.status-failed { background: #f8e8e4; }

.preview {
  min-width: 0;
  min-height: 0;
  padding: 18px;
}

.browser {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 50px rgb(40 28 16 / 12%);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f3eee7;
  border-bottom: 1px solid var(--line);
}

.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; background: #d3c6b6; border: 0; }

.browser-url {
  flex: 1 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-viewport { flex: 1 1; overflow: auto; background: white; }
.browser-scale { overflow: hidden; }
.browser-canvas { width: 1280px; transform-origin: top left; }

@media (max-width: 960px) {
  .studio { display: block; height: auto; }
  .panel { border-right: 0; }
  .preview { height: 72vh; padding: 12px; }
  .pane-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 8px;
    gap: 8px;
    margin-top: 18px;
  }
  .pane-switch button { padding: 10px; border-radius: 999px; }
  .pane-switch button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
  .studio[data-pane="form"] .preview { display: none; }
  .studio[data-pane="preview"] .panel-body,
  .studio[data-pane="preview"] .submit-bar { display: none; }
  .choices { grid-template-columns: 1fr; }
}

.domain-modes { display: grid; grid-gap: 8px; gap: 8px; }
.domain-modes label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 14px;
}
.domain-note { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.gate, .admin {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.gate h1, .admin h1 {
  margin: 8px 0 12px;
  font-family: "Source Serif 4", Palatino, serif;
  font-size: 40px;
  font-weight: 500;
}
.gate p, .admin p { line-height: 1.45; }
.gate a, .admin-actions a { color: var(--pine); }
.gate-form { max-width: 420px; margin-top: 20px; }
.admin-head, .admin-actions, .invite-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-actions form { margin: 0; }
.admin section { margin-top: 32px; }
.invite-form { align-items: flex-end; margin-top: 12px; }
.invite-form .field { margin-top: 0; }
.invite-list, .order-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-gap: 10px; gap: 10px; }
.invite-list li, .order-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.invite-list li, .order-list li > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.order-list .submit { width: auto; margin-top: 12px; }

