:root {
  --ink: #182e27;
  --forest: #193f33;
  --green: #2b5b43;
  --sub: #58665d;
  --paper: #fbfbf7;
  --line: #dce1d8;
  --soft: #f0f3e8;
  --yellow: #f4d36c;
  --danger: #974332;
  --body:
    "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.6 var(--body);
  background: var(--paper);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #ad872a;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
h1,
h2,
h3,
h4,
p,
dl,
dd,
fieldset {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
[data-i] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1152px, calc(100% - 80px));
  margin-inline: auto;
}
.top {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topinner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 790;
  letter-spacing: -0.025em;
  color: var(--forest);
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #f6dd85;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  transform: rotate(-5deg);
}
.main-nav {
  display: flex;
  align-self: stretch;
  gap: 30px;
  margin-left: 8px;
}
.main-nav a {
  display: flex;
  align-items: center;
  font-weight: 560;
  font-size: 14px;
  color: var(--sub);
  position: relative;
}
.main-nav a.active {
  color: var(--forest);
  font-weight: 720;
}
.main-nav a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1px;
  right: 1px;
  height: 3px;
  background: var(--green);
  border-radius: 3px 3px 0 0;
}
.admin-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sub);
  font-size: 14px;
}
.admin-link:hover,
.main-nav a:hover {
  color: var(--green);
}
.main {
  padding-top: 28px;
  padding-bottom: 45px;
}
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  background: #ebefde;
  border: 1px solid #d5ddc6;
  border-radius: 22px;
  overflow: hidden;
  min-height: 300px;
}
.hero-copy {
  padding: 40px 26px 40px 47px;
  z-index: 2;
  align-self: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 700 11px/1.5 var(--mono);
  letter-spacing: 0.17em;
  color: #425e43;
}
.mini-line {
  height: 2px;
  width: 25px;
  background: #688153;
}
.hero h1 {
  margin: 11px 0 14px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 780;
  color: #163e30;
  letter-spacing: -0.055em;
  line-height: 1.14;
}
.gold {
  color: #a48731;
}
.hero p {
  font-size: 15px;
  line-height: 1.8;
  color: #47604e;
}
.hero-stage {
  min-height: 279px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 22px 29px;
}
.grid-paper {
  position: absolute;
  inset: 0 -1px 0 -15%;
  z-index: -1;
  background-image:
    linear-gradient(90deg, #ebefde, transparent 30%),
    radial-gradient(ellipse at 59% 60%, transparent 25%, #ebefdeaa 85%),
    linear-gradient(#6c845c29 1px, transparent 1px),
    linear-gradient(90deg, #6c845c29 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    29px 29px,
    29px 29px;
}
.hero-stage:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 63%;
  height: 78%;
  top: 12%;
  left: 20%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #fcf3b094 10%,
    #f1ebbd62 55%,
    transparent 73%
  );
}
.stage-meta {
  align-self: flex-end;
  position: absolute;
  top: 17px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #516748;
  font-size: 12px;
  font-weight: 560;
}
.signal {
  height: 7px;
  width: 7px;
  background: #648155;
  border-radius: 50%;
}
.stage-center {
  position: relative;
  width: 100%;
  height: 214px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}
.stage-center img {
  position: relative;
  width: 79%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0px 5px 2px #42503318);
}
.stage-shadow {
  position: absolute;
  bottom: -2px;
  left: 22%;
  width: 56%;
  height: 13px;
  border-radius: 100%;
  background: radial-gradient(ellipse, #33452b38, transparent 73%);
  filter: blur(2px);
}
.stage-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f9faf0e8;
  border: 1px solid #c7cfbb;
  border-radius: 30px;
  padding: 3px;
  margin-top: 13px;
}
.stage-tools button {
  font-size: 12px;
  font-weight: 590;
  color: #4d604e;
  border-radius: 20px;
  padding: 3px 12px;
  min-height: 25px;
}
.stage-tools button[aria-pressed="true"] {
  background: var(--forest);
  color: white;
}
.workspace-head {
  margin: 30px 0 17px;
}
.eyebrow.muted {
  color: #6d7763;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.workspace-head h2 {
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -0.04em;
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.form-section {
  padding: 24px 26px 26px;
  margin-bottom: 16px;
}
.section-heading,
.summary-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.section-heading h3,
.summary-heading h3 {
  font-weight: 720;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.045em;
}
.section-heading small {
  margin-left: auto;
  color: var(--sub);
  font-size: 12px;
}
.step {
  font: 680 12px/26px var(--mono);
  color: #566b49;
  background: #eff2e5;
  border: 1px solid #e1e6d7;
  width: 28px;
  height: 26px;
  text-align: center;
  border-radius: 7px;
}
.photo-method { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.photo-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.photo-method-options small {
  display: block;
  margin-top: 3px;
  color: var(--sub);
  font-size: 12px;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(165px, 0.88fr) minmax(160px, 1fr);
  gap: 22px;
}
.upload-box {
  position: relative;
  border: 1.5px dashed #a8b59c;
  border-radius: 12px;
  background: #f5f7ef;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background 0.15s;
}
.upload-box:hover,
.upload-box.drag {
  background: #eaf0df;
  border-color: #658158;
}
.upload-box:focus-within {
  outline: 3px solid #aa8a3b;
  outline-offset: 3px;
}
.upload-box input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.upload-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}
.upload-icon {
  background: #e5ebdb;
  color: #436140;
  border-radius: 11px;
  padding: 9px;
  margin-bottom: 6px;
}
.upload-content strong {
  font-size: 15px;
}
.upload-content small,
.mini-pet small,
.hint {
  font-size: 13px;
  color: var(--sub);
}
.upload-box.full { border-style: solid; }
.photo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.photo-list li {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.photo-list img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: contain;
  border-radius: 6px;
  background: #f2f4ed;
}
.photo-list strong { display: block; font-size: 13px; margin-top: 5px; }
.photo-tools { display: flex; flex-wrap: wrap; gap: 0 8px; }
.photo-tools button, .photo-tools label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--sub);
  padding: 0;
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.photo-tools label { position: relative; }
.photo-tools label:focus-within { outline: 2px solid currentColor; }
.photo-tools input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.photo-workflow { color: var(--sub); font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
@media (max-width: 520px) {
  .photo-list { grid-template-columns: minmax(0, 1fr); }
  .photo-list li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 0 10px; }
  .photo-list img { grid-row: span 2; height: 66px; }
  .photo-tools { gap: 0 12px; }
  .photo-tools button, .photo-tools label { min-height: 40px; }
}
.profile-copy {
  align-self: center;
}
.field-label {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 670;
  margin-bottom: 8px;
}
.text-input,
textarea,
select {
  width: 100%;
  border: 1px solid #cdd5c8;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.5;
}
.text-input::placeholder,
textarea::placeholder {
  color: #859087;
}
.text-input:focus,
textarea:focus {
  border-color: #739268;
}
.photo-note {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--sub);
}
.photo-note svg {
  margin-top: 2px;
}
.photo-note p {
  font-size: 13px;
  line-height: 1.6;
}
.species-field, .action-group {
  min-width: 0;
  border: 0;
  padding: 0;
}
.species-field { margin-top: 12px; }
.species-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.species-options .choice {
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 4px 15px;
  font-size: 14px;
}
.species-options .choice::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: 1px solid #84947d;
  border-radius: 50%;
}
.species-options .choice:has(input:checked) { font-weight: 700; }
.species-options .choice:has(input:checked)::before {
  border-color: var(--forest);
  background: var(--forest);
  box-shadow: inset 0 0 0 2px #f1f5e9;
}
.species-hint, .feature-help {
  color: var(--sub);
  font-size: 13px;
}
.species-hint { margin-bottom: 12px; }
.action-group + .action-group { margin-top: 22px; }
.action-group legend {
  margin-bottom: 9px;
  padding: 0;
  font-weight: 680;
  font-size: 14px;
}
.feature-help {
  margin-top: 10px;
  border-left: 2px solid #b5c4a4;
  padding-left: 10px;
}
.preset-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14px;
}
.preset-filter select, .scope-field select { width: auto; min-width: 145px; }
.scope-field select { display: block; margin-top: 6px; }
.scope-label { color: var(--green); font-size: 12px; white-space: nowrap; }
.action-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.12s,
    background 0.12s;
  display: flex;
  color: var(--ink);
  background: #fff;
}
.choice:hover,
.radio-choice:hover {
  border-color: #8b9a82;
}
.choice:has(input:checked),
.radio-choice:has(input:checked) {
  border-color: #60815c;
  background: #f1f5e9;
  box-shadow: inset 0 0 0 0.5px #60815c;
}
.choice:focus-within,
.radio-choice:focus-within {
  outline: 3px solid #bda457;
  outline-offset: 2px;
}
.vis-check {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.tick {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #b9c2b4;
  border-radius: 5px;
  flex-shrink: 0;
  color: transparent;
  background: white;
}
.choice input:checked ~ .tick,
.radio-choice input:checked ~ .tick {
  color: #fff;
  border-color: var(--forest);
  background: var(--forest);
}
.action-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 9px;
  min-height: 85px;
}
.action-choice img {
  width: 60px;
  height: 52px;
  object-fit: contain;
}
.action-copy {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0 10px 0 5px;
}
.action-copy small {
  color: var(--sub);
  font-size: 12px;
  line-height: 1.45;
}
.action-toggle {
  padding: 4px 8px;
  color: var(--forest);
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.action-choice strong,
.feature-choice strong,
.radio-choice strong {
  font-weight: 620;
  font-size: 15px;
}
.action-choice .tick {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.feature-grid,
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.feature-choice {
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 14px;
}
.spaced {
  margin-top: 19px;
}
.platform-choice {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 120px;
  gap: 8px;
  padding: 12px 14px;
}
.platform-choice .tick {
  margin-left: auto;
}
.mode-grid {
  display: grid;
  gap: 9px;
}
.radio-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}
.radio-choice .tick {
  border-radius: 50%;
}
.radio-choice p {
  font-size: 13px;
  color: var(--sub);
}
.radio-choice:has(input:disabled) {
  opacity: 0.63;
  cursor: not-allowed;
}
.summary {
  padding: 23px;
  position: sticky;
  top: 15px;
}
.summary-heading {
  margin-bottom: 16px;
  gap: 8px;
}
.summary-heading h3 {
  font-size: 18px;
}
.summary-heading svg {
  color: #526e4a;
}
.mini-pet {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: #f3f5ec;
  border-radius: 9px;
}
.mini-pet strong,
.mini-pet small {
  display: block;
  word-break: break-word;
}
.mini-pet small {
  font-size: 12px;
}
.mini-image {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #e1e8d6;
  color: #798c69;
}
.mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  row-gap: 10px;
  font-size: 14px;
  padding: 19px 0;
}
.summary dt {
  color: var(--sub);
}
.summary dd {
  text-align: right;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.summary .price-lines {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  row-gap: 5px;
}
.price-row {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.price-row strong {
  font-size: 21px;
  color: var(--forest);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  min-height: 40px;
  padding: 8px 15px;
  font-weight: 625;
  font-size: 14px;
  text-align: center;
}
.btn.primary {
  background: var(--forest);
  color: white;
  border: 1px solid var(--forest);
}
.btn.primary:hover:not(:disabled) {
  background: #275842;
}
.btn.secondary {
  background: #fff;
  border: 1px solid #cbd4c5;
}
.btn.secondary:hover:not(:disabled) {
  background: #f1f4ea;
}
.btn.subtle {
  background: #e8eedf;
  border: 1px solid #d5dfcc;
}
.btn.full {
  width: 100%;
  min-height: 44px;
  font-size: 15px;
}
.btn.primary svg {
  color: #fae29a;
}
.summary-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--sub);
  text-align: center;
  margin-top: 10px;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 21px 30px;
  color: var(--sub);
  font-size: 12px;
}
.footer b {
  font-weight: 400;
  color: #809178;
}
.notice {
  padding: 12px 15px;
  margin: 10px 0 15px;
  border: 1px solid #d9e2d4;
  background: #f2f5ed;
  border-radius: 8px;
  line-height: 1.55;
  font-size: 14px;
}
.notice.danger {
  color: var(--danger);
  background: #fff3ed;
  border-color: #f2d0c5;
}
.notice.small {
  font-size: 13px;
  margin-top: 0;
}
.orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 13px 0 24px;
}
.orders-head h1,
.admin-title h1,
.login h1 {
  font-size: 34px;
  line-height: 1.35;
  color: var(--forest);
  letter-spacing: -0.04em;
}
.orders-head p,
.admin-title p,
.login p {
  color: var(--sub);
  font-size: 15px;
  margin-top: 5px;
}
.order-card {
  padding: 22px;
  margin-bottom: 14px;
}
.order-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order-avatar {
  background: #edf1e6;
  color: #6f875b;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.order-top h3 {
  font-size: 18px;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.order-id {
  font: 11px/1.6 var(--mono);
  color: var(--sub);
  overflow-wrap: anywhere;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  min-height: 24px;
  padding: 2px 9px;
  font-size: 12px !important;
  font-weight: 640;
  border: 1px solid #d9dfd3;
  background: #f2f4ec;
  color: #4b5f48;
  white-space: nowrap;
}
.pill.active,
.pill.queued {
  color: #806022;
  background: #fbf2ca;
  border-color: #eadeaf;
}
.pill.ready {
  background: #e2efde;
  color: #2f6037;
  border-color: #cfe3c9;
}
.pill.failed {
  background: #f9e5de;
  color: #8b4634;
  border-color: #eccbbf;
}
.order-tag {
  margin-left: auto;
}
.order-body {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.details-line,
.control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.details-line {
  font-size: 14px;
  color: var(--sub);
}
.progress-track {
  height: 5px;
  overflow: hidden;
  background: #e8ecdf;
  border-radius: 5px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #64815a;
}
.progress-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.progress-caption .percent {
  font: 12px/1.7 var(--mono);
  color: var(--sub);
}
.proof {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.proof img {
  max-width: 145px;
  height: 104px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: #f9faf6;
  background-image:
    linear-gradient(45deg, #e8ece3 25%, transparent 25%),
    linear-gradient(-45deg, #e8ece3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8ece3 75%),
    linear-gradient(-45deg, transparent 75%, #e8ece3 75%);
  background-size: 14px 14px;
  background-position:
    0 0,
    0 7px,
    7px -7px,
    -7px 0;
}
.empty {
  padding: 44px 16px;
  text-align: center;
}
.empty .empty-icon {
  display: inline-grid;
  place-items: center;
  background: #edf2e5;
  color: #6c825b;
  padding: 15px;
  border-radius: 21px;
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  margin: 5px 0 18px;
  color: var(--sub);
  font-size: 14px;
}
.orders-foot {
  font-size: 13px;
  color: var(--sub);
}
.order-message {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.login {
  width: min(460px, 100%);
  margin: 8vh auto 12vh;
  padding: 30px;
}
.login .login-icon {
  display: inline-flex;
  padding: 12px;
  background: #eaf0df;
  border-radius: 13px;
  color: var(--green);
  margin-bottom: 18px;
}
.login h1 {
  font-size: 28px;
}
.login form {
  margin-top: 24px;
}
.login .btn {
  margin-top: 20px;
}
.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 8px 0 24px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 197px minmax(0, 1fr);
  gap: 23px;
}
.admin-nav {
  align-self: start;
  position: sticky;
  top: 15px;
  padding: 8px;
  display: grid;
  gap: 3px;
}
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--sub);
}
.admin-nav button[aria-pressed="true"] {
  color: var(--forest);
  background: #eaf0df;
  font-weight: 690;
}
.admin-article {
  min-width: 0;
}
.admin-block {
  padding: 22px 24px;
  margin-bottom: 14px;
}
.admin-block h3,
.subhead h3 {
  font-size: 19px;
  font-weight: 690;
  line-height: 1.4;
}
.admin-block p.hint,
.subhead p,
.section-note {
  margin-top: 4px;
  color: var(--sub);
  font-size: 14px;
}
.admin-block .field-label {
  margin-top: 15px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-settings { overflow: hidden; }
.feature-setting {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
}
.feature-setting + .feature-setting { border-top: 1px solid var(--line); }
.feature-setting input { margin: 4px 0 0; accent-color: var(--forest); }
.feature-setting small { display: block; margin-top: 3px; color: var(--sub); font-size: 13px; }
.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0;
  font-size: 13px;
}
.toggle-line input {
  accent-color: var(--forest);
}
.subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.admin-block textarea {
  min-height: 80px;
  resize: vertical;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.admin-stat {
  padding: 14px 16px;
}
.admin-stat span {
  font-size: 13px;
  color: var(--sub);
  display: block;
}
.admin-stat strong {
  font-size: 24px;
  font-weight: 690;
  line-height: 1.3;
}
.preset {
  padding: 0;
  margin-bottom: 9px;
}
.preset summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 640;
  padding: 13px 17px;
  cursor: pointer;
}
.preset summary::-webkit-details-marker {
  display: none;
}
.preset summary small {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--sub);
}
.preset summary .pill {
  margin-left: auto;
}
.preset[open] summary {
  border-bottom: 1px solid var(--line);
}
.preset-body {
  padding: 0 18px 18px;
}
.admin-footer {
  margin: 2px 0 22px;
}
.filter-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.filter-bar label {
  font-size: 14px;
}
.filter-bar select {
  width: auto;
  font-size: 14px;
  padding: 6px 12px;
}
.admin-status {
  font-size: 13px;
  color: var(--sub);
}
.admin-notice {
  font-size: 14px;
}
.nospace {
  margin: 0;
}
.notice p + p {
  margin-top: 6px;
}
.pay-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.empty-mini {
  padding: 14px;
  color: var(--sub);
  font-size: 14px;
}
.client-note {
  color: var(--sub);
  font-size: 13px;
}
.admin-security {
  overflow-wrap: anywhere;
}
.loading {
  height: 70px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--sub);
  grid-column: 1/-1;
}
.order-card.highlight {
  border-color: #9aac83;
  box-shadow: 0 0 0 1px #a6b899;
}
.header-sub {
  font-size: 14px;
  color: var(--sub);
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
@media (min-width: 1380px) {
  .wrap {
    width: min(1240px, calc(100% - 100px));
  }
  .hero {
    min-height: 320px;
  }
  .hero-copy {
    padding-left: 52px;
  }
  .stage-center {
    height: 226px;
  }
  .work-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}
@media (max-width: 950px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .work-grid {
    grid-template-columns: minmax(0, 1fr) 252px;
    gap: 14px;
  }
  .summary {
    padding: 18px;
  }
  .form-section {
    padding: 20px;
  }
  .profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .action-choice {
    flex-direction: column;
    gap: 3px;
  }
  .hero-copy {
    padding-left: 30px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .admin-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 15px;
  }
  .admin-nav {
    padding: 5px;
  }
  .admin-nav button {
    padding: 8px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .topinner {
    gap: 18px;
    height: 59px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .main-nav {
    gap: 17px;
    margin: 0;
  }
  .main-nav a,
  .admin-link {
    font-size: 13px;
  }
  .admin-link {
    gap: 4px;
  }
  .main {
    padding-top: 16px;
  }
  .hero {
    grid-template-columns: 1fr 0.85fr;
    min-height: 227px;
    border-radius: 15px;
  }
  .hero-copy {
    padding: 24px 0 23px 22px;
  }
  .hero h1 {
    font-size: clamp(30px, 5.1vw, 39px);
  }
  .hero p {
    font-size: 13px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .hero-stage {
    min-height: 220px;
    padding: 27px 8px 19px;
  }
  .stage-center {
    height: 135px;
  }
  .stage-center img {
    width: 98%;
  }
  .stage-meta {
    top: 10px;
    right: 11px;
    font-size: 10px;
  }
  .stage-tools {
    margin-top: 9px;
  }
  .stage-tools button {
    font-size: 11px;
    padding: 2px 8px;
    min-height: 22px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .form-section {
    margin-bottom: 12px;
  }
  .workspace-head {
    margin: 21px 0 12px;
  }
  .workspace-head h2 {
    font-size: 25px;
  }
  .action-choice {
    flex-direction: row;
  }
  .summary-note {
    text-align: left;
  }
  .admin-layout {
    display: block;
  }
  .admin-nav {
    position: static;
    display: flex;
    overflow: auto;
    margin-bottom: 16px;
  }
  .admin-nav button {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }
  .admin-nav button svg {
    display: none;
  }
  .admin-block {
    padding: 17px;
  }
  .admin-title h1,
  .orders-head h1 {
    font-size: 28px;
  }
  .two-fields {
    gap: 8px;
  }
}
@media (max-width: 470px) {
  .topinner {
    gap: 12px;
  }
  .main-nav {
    gap: 12px;
  }
  .admin-link span:last-child {
    display: none;
  }
  .admin-link {
    padding: 8px;
  }
  .hero {
    grid-template-columns: 1fr 0.78fr;
  }
  .hero-copy {
    padding: 25px 0 23px 16px;
  }
  .hero .mini-line {
    width: 12px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero .wide-br {
    display: none;
  }
  .hero p {
    font-size: 12px;
    line-height: 1.6;
  }
  .stage-meta {
    font-size: 9px;
  }
  .stage-center {
    height: 113px;
  }
  .stage-tools button {
    padding: 2px 6px;
    font-size: 10px;
  }
  .hero-stage {
    min-height: 215px;
  }
  .form-section,
  .summary,
  .order-card {
    padding: 16px;
  }
  .profile-grid {
    grid-template-columns: 0.91fr 1fr;
    gap: 12px;
  }
  .upload-box {
    min-height: 137px;
  }
  .photo-note {
    margin-top: 8px;
  }
  .photo-note svg {
    display: none;
  }
  .action-choice {
    flex-direction: column;
    gap: 3px;
  }
  .section-heading {
    margin-bottom: 15px;
  }
  .section-heading h3 {
    font-size: 18px;
  }
  .feature-choice {
    font-size: 13px;
    padding: 7px 9px;
    gap: 5px;
  }
  .order-top {
    align-items: flex-start;
  }
  .order-avatar {
    display: none;
  }
  .admin-stats {
    gap: 7px;
  }
  .admin-stat {
    padding: 10px;
  }
  .two-fields {
    grid-template-columns: 1fr;
  }
  .admin-nav button {
    font-size: 13px;
    padding: 8px 5px;
  }
  .header-sub {
    display: none;
  }
  .admin-title {
    align-items: flex-end;
  }
  .login {
    padding: 22px;
  }
  .footer {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.notes-input {
  resize: vertical;
  min-height: 70px;
  font-size: 14px;
}
.preset .text-input,
.preset textarea {
  font-weight: 400;
  font-size: 14px;
  margin-top: 6px;
}
.discard-preset {
  margin-left: 10px;
}
dialog {
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  border-radius: 15px;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 12px 60px #173c2824;
}
dialog::backdrop {
  background: #18332656;
}
dialog h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
dialog p {
  color: var(--sub);
  white-space: pre-line;
  font-size: 14px;
}
.dialog-actions {
  justify-content: flex-end;
  margin-top: 20px;
}

@media (max-width: 540px) {
  .preset summary { flex-wrap: wrap; }
  .preset summary small { overflow-wrap: anywhere; }
}
