:root {
  --control-border: #71877c;
  --radius: 5px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.5 var(--body-font);
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--pine);
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(34px, 4.2vw, 60px);
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
}
h3 {
  font-size: 20px;
}
a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
input[type="submit"],
summary {
  cursor: pointer;
}
button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
img {
  max-width: 100%;
  display: block;
}
button,
a,
input,
select,
textarea {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--pine);
}
.layout-bar,
.workspace {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 35px;
}
.layout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.masthead .layout-bar {
  min-height: 86px;
}
.brand {
  display: block;
}
.brand img {
  width: clamp(155px, 16vw, 210px);
  height: auto;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  font-weight: 500;
}
.masthead nav > a {
  text-decoration: none;
}
.masthead nav > a:not(.button):hover {
  text-decoration: underline;
}
.masthead nav form {
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  background: var(--pine);
  color: var(--white);
  border: 1px solid var(--pine);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover,
.button:active {
  background: var(--deep-pine);
}
.button.small {
  padding: 10px 17px;
  min-height: 40px;
  font-size: 15px;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--control-border);
}
.button.secondary:hover {
  background: var(--line);
}
.text-button {
  background: none;
  border: 0;
  color: var(--pine);
  padding: 8px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.danger {
  color: var(--pine);
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pine);
  margin-right: 8px;
  vertical-align: middle;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading :is(h1, h2, h3, p) {
  margin-bottom: 0;
}
.listing-price {
  font: 700 1.7rem/1.15 var(--body-font);
  margin: 0 0 6px;
}
.site-footer {
  padding-block: 45px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.site-footer .brand img {
  width: 155px;
}
.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}
.workspace {
  padding-block: 50px 80px;
  min-height: 60vh;
}
.workspace.narrow {
  max-width: 870px;
}
.workspace.wide {
  max-width: 1600px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.page-heading h1 {
  font-size: clamp(33px, 4vw, 52px);
}
.page-heading p {
  margin-bottom: 8px;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.6;
  display: block;
}
.panel {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 28px;
}
.panel h3 {
  font-size: 20px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stack.compact {
  gap: 12px;
}
.stack > .button,
.stack > input[type="submit"] {
  align-self: flex-start;
}
.grow {
  flex: 1;
  min-width: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.actions form {
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin: 32px 0 45px;
}
.stats > div {
  padding: 25px 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stats > div:last-child {
  border: 0;
}
.stats strong {
  font-size: 37px;
  font-weight: 500;
  line-height: 1.3;
}
.stats span,
.stats a {
  font-size: 12px;
  color: var(--muted);
}
.listing-row {
  display: flex;
  gap: 25px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.listing-row h3 {
  margin: 12px 0 6px;
}
.listing-row p {
  font-size: 12px;
  margin-bottom: 10px;
}
.listing-row .stack > a:not(.button) {
  font-size: 12px;
}
.listing-thumbnail {
  width: 190px;
  height: 160px;
  flex-shrink: 0;
  background: var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.listing-thumbnail img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.listing-thumbnail > span {
  font-size: 65px;
  color: var(--muted);
}
.badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  padding: 5px 8px;
  background: var(--line);
  display: inline-block;
  color: var(--muted);
}
.badge.published {
  color: var(--pine);
  background: var(--sage);
}
.notice-box {
  padding: 18px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.notice-box p {
  margin: 4px 0;
  font-size: 13px;
}
.empty-state {
  text-align: center;
  border: 1px dashed var(--line);
  padding: 55px 25px;
  border-radius: var(--radius);
}
.empty-state > span {
  display: block;
  font-size: 52px;
  color: var(--muted);
  margin-bottom: 16px;
}
.empty-state p {
  color: var(--muted);
  max-width: 450px;
  margin: 0 auto 25px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
}
.auth-card {
  max-width: 500px;
  margin: 65px auto 85px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.auth-card h1 {
  font-size: 37px;
}
.auth-card .stack {
  margin-top: 30px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 25px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 7px;
}
input:not([type="submit"]):not([type="hidden"]),
select,
textarea {
  display: block;
  width: 100%;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--control-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
}
textarea {
  resize: vertical;
  min-height: 70px;
}
input[type="file"] {
  font-size: 12px !important;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
}
.asset-panel img {
  border-radius: 6px;
  max-height: 220px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 20px;
}
.asset-panel .text-button {
  margin-top: 15px;
}
.studio-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
}
.studio-sidebar .panel {
  padding: 24px;
}
.preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  margin-bottom: 22px;
}
.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  background: var(--white);
  font-size: 0.875rem;
}
.preview-toolbar button {
  background: var(--paper);
  border: 0;
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--ink);
  font-size: inherit;
}
.preview-toolbar button[aria-pressed="true"] {
  background: var(--sage);
  color: var(--pine);
  font-weight: 700;
}
.preview-panel iframe {
  display: block;
  height: 700px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  background: var(--white);
  transition: width 0.2s;
}
.revision-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.revision-row:last-child {
  border-bottom: 0;
}
.revision-row p {
  margin: 3px 0;
  font-size: 12px;
}
.revision-row small {
  font-size: 10px;
}
.inline-form {
  display: flex;
  gap: 15px;
  align-items: end;
}
.domain-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  font-size: 13px;
}
.dns-record {
  font-size: 11px;
  overflow-wrap: anywhere;
  padding: 15px;
  background: var(--paper);
}
.dns-record dd {
  margin-left: 0;
  margin-bottom: 10px;
}
code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.question {
  font-size: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.prose {
  line-height: 1.85;
}
.ai-wait {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 25px 0;
}
.ai-wait p {
  margin: 0;
}
.ai-wait .live-dot {
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.conversation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 15px;
}
.conversation-row h3 {
  margin: 8px 0;
}
.conversation-row p {
  margin: 0;
  font-size: 12px;
}
.conversation-row:hover {
  border-color: var(--pine);
}
.message {
  padding: 20px;
  background: var(--paper);
  border-radius: 8px;
  margin-bottom: 18px;
}
.message.seller {
  background: var(--paper);
  margin-left: 25px;
}
.message.buyer {
  margin-right: 25px;
}
.message-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}
.message-heading time {
  color: var(--muted);
  font-size: 10px;
}
.message p:last-child {
  margin: 0;
}
.message-thread > form {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.showing {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.showing h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 14px 0;
}
.inset {
  padding-top: 20px;
}
details summary {
  font-size: 14px;
  font-weight: 600;
}
.flash {
  padding: 16px 5.5vw;
  background: var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.flash.alert {
  background: #fbefeb;
  border-color: #b46a56;
  color: #833c2f;
}
.large-icon {
  font-size: 45px;
}
.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  display: block;
  padding: 15px;
  background: var(--white);
}
.domain-row h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .masthead nav {
    gap: 17px;
  }
  .studio-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .editor-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
@media (max-width: 760px) {
  .layout-bar,
  .workspace {
    padding-inline: 6vw;
  }
  .masthead .layout-bar {
    min-height: 72px;
    padding-block: 16px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .masthead nav {
    justify-content: flex-start;
    gap: 12px;
    font-size: 15px;
    flex-wrap: wrap;
  }
  .masthead nav .button {
    padding: 9px 12px;
  }
  .brand img {
    width: 160px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .site-footer {
    padding-block: 30px;
  }
  .site-footer .layout-bar {
    display: block;
  }
  .site-footer p {
    margin-top: 20px;
  }
  .workspace {
    padding-block: 35px 50px;
  }
  .workspace h1 {
    font-size: 36px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .stats {
    margin: 20px 0 30px;
  }
  .stats > div {
    padding: 18px 12px;
  }
  .stats strong {
    font-size: 28px;
  }
  .stats span,
  .stats a {
    font-size: 10px;
  }
  .listing-row {
    flex-wrap: wrap;
    gap: 17px;
    padding: 18px;
  }
  .listing-thumbnail {
    width: 100%;
    height: 210px;
  }
  .listing-row > .stack {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  .auth-card {
    margin: 35px 6vw;
    padding: 28px 24px;
  }
  .auth-card h1 {
    font-size: 32px;
  }
  .editor-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .studio-sidebar {
    order: 1;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    padding: 22px;
  }
  .notice-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .preview-panel iframe {
    height: 500px;
  }
  .preview-toolbar {
    gap: 8px;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .message {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px;
  }
  .message-heading {
    flex-wrap: wrap;
    gap: 6px;
  }
  .studio-sidebar .panel {
    padding: 22px;
  }
  .form-grid > div {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.faq-editor {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 15px;
}
.faq-editor label {
  margin: 0;
}
.faq-editor .text-button {
  align-self: flex-start;
}
.publication-status {
  display: block;
}
