@charset "UTF-8";
/* A quiet, editorial interface. All assets stay on your own server. */
:root {
  --paper: #f6f5f0;
  --white: #fffefa;
  --ink: #263b33;
  --green: #244b3f;
  --green-dark: #18392e;
  --muted: #858a7f;
  --line: #e6e8de;
  --gold: #a38c5f;
  --soft: #edf1e9;
  --error: #a44236;
  --radius: 16px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button svg,
span svg {
  display: block;
  flex: none;
}
button {
  color: inherit;
}
input,
textarea,
select {
  min-width: 0;
}
input,
textarea {
  width: 100%;
  border: 1px solid #e1e5db;
  background: #fdfdf9;
  border-radius: 10px;
  padding: 14px 15px;
  outline: none;
  color: var(--ink);
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
input::placeholder,
textarea::placeholder {
  color: #a0a398;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #789080;
  box-shadow: 0 0 0 3px #244b3f0c;
}
textarea {
  resize: vertical;
  line-height: 1.9;
  min-height: 145px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green);
}
:focus-visible {
  outline: 2px solid #658476;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.site-header {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 48px 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.brand-symbol {
  display: grid;
  place-items: center;
  background: var(--green);
  width: 43px;
  height: 45px;
  border-radius: 13px 13px 13px 3px;
  font-family: "Songti SC", SimSun, serif;
  color: #f2f1e5;
  font-weight: 400;
  font-size: 23px;
}
.brand-caption {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 5px;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #818779;
  letter-spacing: 1px;
}
.header-note i {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #728970;
}
.public-layout {
  max-width: 1224px;
  margin: 28px auto 0;
  padding: 0 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 68px;
  align-items: start;
}
.intro {
  position: sticky;
  top: 38px;
  padding: 38px 0 0 10px;
}
.eyebrow {
  font-size: 9px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2.2px;
  margin: 0 0 20px;
  line-height: 1.8;
}
.intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 1.6px;
}
.short-line {
  width: 22px;
  height: 1px;
  background: var(--gold);
}
h1 {
  font-size: 48px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 20px;
}
.serif {
  font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  font-weight: 600;
}
.intro-copy {
  font-size: 13px;
  line-height: 2.25;
  color: #7a8173;
  letter-spacing: 0.3px;
  margin: 0;
}
.orbit-art {
  position: relative;
  height: 286px;
  max-width: 390px;
  margin: 22px 0 12px;
}
.orbit {
  border: 1px solid #dde2d5;
  border-radius: 50%;
  position: absolute;
  left: 25px;
  top: 28px;
  width: 310px;
  height: 225px;
  transform: rotate(-22deg);
}
.orbit-two {
  transform: rotate(35deg);
  width: 260px;
  height: 244px;
  left: 53px;
  top: 15px;
  border-color: #e5e7de;
}
.orbit-dot {
  position: absolute;
  left: 36px;
  top: 183px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9bfaa;
}
.art-ticket {
  position: absolute;
  left: 99px;
  top: 26px;
  width: 177px;
  height: 222px;
  background: #e8ecdf;
  border: 1px solid #dfe5d5;
  box-shadow: 14px 20px 40px #304a3310;
  transform: rotate(-9deg);
  padding: 22px 19px;
  color: #485d44;
  border-radius: 4px;
}
.art-top {
  font-size: 7px;
  letter-spacing: 1.4px;
}
.art-check {
  display: block;
  margin: 17px 0 9px;
  font-size: 24px;
  line-height: 1;
}
.art-title {
  font-family: "Songti SC", SimSun, serif;
  display: block;
  font-size: 26px;
  letter-spacing: 3px;
  line-height: 1.5;
}
.ticket-dash {
  border-top: 1px dashed #b7c1aa;
  margin: 18px -19px 12px;
  position: relative;
}
.ticket-dash:before,
.ticket-dash:after {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--paper);
  top: -7px;
}
.ticket-dash:before {
  left: -7px;
}
.ticket-dash:after {
  right: -7px;
}
.art-bottom {
  font-size: 6px;
  letter-spacing: 1px;
}
.art-spark {
  position: absolute;
  left: 298px;
  top: 53px;
  font-size: 37px;
  color: #a99569;
}
.friendly-note {
  border-top: 1px solid var(--line);
  padding: 23px 0 0;
  display: flex;
  gap: 13px;
  max-width: 385px;
}
.friendly-note > span {
  color: var(--gold);
  padding-top: 1px;
}
.friendly-note strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
}
.friendly-note p {
  font-size: 11px;
  line-height: 2;
  color: var(--muted);
  margin: 7px 0 0;
}
.intro-bottom {
  max-width: 385px;
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  color: #9ba08e;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.intro-bottom span:first-child {
  font-size: 8px;
  letter-spacing: 1px;
}
.request-panel {
  background: var(--white);
  border: 1px solid #e5e7dc;
  border-radius: 20px;
  padding: 32px 34px;
  box-shadow: 0 12px 50px #283e2d04;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.panel-heading .eyebrow {
  margin: 0 0 8px;
  font-size: 8px;
  letter-spacing: 1.7px;
}
h2 {
  font-size: 21px;
  letter-spacing: 0.4px;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}
.panel-number {
  font-size: 10px;
  letter-spacing: 1px;
  color: #a5ab9a;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.form-section {
  border: 0;
  padding: 0;
  margin: 26px 0 0;
  min-inline-size: 0;
}
.form-section legend {
  padding: 0;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step {
  font-size: 10px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-right: 1px;
}
.required {
  color: var(--gold);
  font-size: 12px;
}
.section-caption {
  margin: 8px 0 15px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.category-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 15px 12px;
  cursor: pointer;
  min-height: 73px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.category-card:hover {
  border-color: #a8b5a1;
  background: #f6f7f0;
}
.category-card.selected {
  border-color: #5c7c65;
  background: #f0f3ea;
}
.category-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.category-card:focus-within {
  outline: 2px solid #7d9581;
  outline-offset: 2px;
}
.category-icon {
  color: #789070;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.category-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.category-copy strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.category-copy small {
  font-size: 9px;
  color: #959b8b;
  letter-spacing: 0.15px;
  white-space: nowrap;
}
.radio-dot {
  height: 12px;
  width: 12px;
  margin-left: auto;
  border: 1px solid #d7ddcf;
  flex-shrink: 0;
  border-radius: 50%;
}
.selected .radio-dot {
  border: 4px solid #54765c;
  background: white;
}
.category-hint {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #f4f5ef;
  border-radius: 8px;
  margin: 17px 0;
  color: #87917c;
  align-items: flex-start;
}
.category-hint svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.category-hint p {
  font-size: 10px;
  line-height: 1.9;
  margin: 0;
}
.field-label {
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin: 0 0 9px;
  letter-spacing: 0.2px;
}
form input:not([type="radio"]):not([type="checkbox"]),
form textarea {
  font-size: 12px;
}
.field-help {
  font-size: 10px;
  line-height: 1.8;
  color: #9a9f91;
  margin: 8px 0 17px;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 19px;
}
.counter {
  font-size: 9px;
  color: #9fa592;
  font-variant-numeric: tabular-nums;
}
.upload-label {
  margin-top: 18px;
}
.optional {
  font-size: 9px;
  color: #9ca28e;
  font-weight: 400;
  margin-left: 6px;
}
.upload-zone {
  border: 1px dashed #cbd3bf;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.upload-zone:hover {
  background: #f3f5ec;
}
.upload-icon {
  color: #809374;
}
.upload-zone strong {
  font-size: 11px;
  font-weight: 400;
  display: block;
}
.upload-zone small {
  display: block;
  font-size: 9px;
  color: #a1a78f;
  margin-top: 7px;
  line-height: 1.6;
}
.upload-plus {
  margin-left: auto;
  color: #9aa78b;
  font-size: 24px;
  font-weight: 300;
}
.visually-hidden {
  position: absolute !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.upload-zone:has(+ input:focus-visible) {
  outline: 2px solid #789080;
  outline-offset: 3px;
}
.image-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.image-preview {
  margin-top: 12px;
  position: relative;
  height: 80px;
  width: 80px;
}
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.remove-image {
  position: absolute;
  top: -5px;
  right: -5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 4px;
  box-shadow: 0 2px 8px #0001;
}
.remove-image svg {
  width: 13px;
  height: 13px;
}
.field-error {
  font-size: 11px;
  color: var(--error);
  line-height: 1.7;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 28px;
}
.contact-section legend {
  float: left;
  margin-bottom: 0;
}
.contact-section .section-caption {
  clear: both;
  padding-top: 8px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.9;
  color: #969d8a;
  cursor: pointer;
}
.consent input {
  width: 13px;
  height: 13px;
  margin: 3px 0 0;
  flex: none;
}
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit-row {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.submit-assurance {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #9ba38c;
}
.submit-assurance svg {
  width: 12px;
  height: 12px;
}
.button {
  min-height: 46px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9px;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    transform 0.18s;
  letter-spacing: 0.5px;
}
.button svg {
  width: 17px;
  height: 17px;
}
.primary {
  background: var(--green);
  color: #f8f8ed;
}
.primary:hover {
  background: var(--green-dark);
}
.primary:active {
  transform: translateY(1px);
}
.secondary {
  background: #f4f5ef;
  border-color: var(--line);
  color: var(--green);
}
.secondary:hover {
  background: #e9eee2;
}
.notice {
  font-size: 12px;
  line-height: 1.9;
  border-radius: 8px;
  padding: 12px 15px;
  margin: 20px 0;
  background: #f3f4ee;
}
.error {
  color: var(--error);
  background: #fcf0ec;
  border: 1px solid #f1d7cf;
}
.site-footer {
  max-width: 1224px;
  margin: 5px auto 0;
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  color: #9aa18d;
  letter-spacing: 0.5px;
}
.site-footer a:hover {
  color: var(--green);
}
.toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: #25493fee;
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  box-shadow: 0 8px 28px #0002;
  z-index: 100;
  font-size: 12px;
  text-align: center;
  width: max-content;
  max-width: calc(100% - 40px);
}
.success-panel {
  text-align: center;
  padding: 70px 0 40px;
  outline: none;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 28px;
  background: #eaf0e3;
  color: #52734c;
  border-radius: 50%;
}
.success-icon svg {
  width: 28px;
  height: 28px;
}
.success-panel h2 {
  font-family: "Songti SC", SimSun, serif;
  font-size: 30px;
}
.success-panel > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 2.1;
  color: var(--muted);
  margin: 17px 0;
}
.receipt {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 20px 12px;
  margin: 28px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.receipt > span {
  font-size: 10px;
  color: var(--muted);
}
.receipt strong {
  font-size: 15px;
  letter-spacing: 1px;
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
}
.text-button {
  background: none;
  border: 0;
  color: #647e5f;
  font-size: 11px;
  padding: 6px;
}
.success-panel .button {
  margin-top: 20px;
}
/* The private desk shares the same visual language. */
.admin-header {
  max-width: 1440px;
}
.admin-shell {
  max-width: 1280px;
  margin: 30px auto 60px;
  padding: 0 32px;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-top h1 {
  font-size: 32px;
  margin: 0;
  line-height: 1.6;
}
.admin-top p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 8px 0 0;
}
.admin-top .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}
.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.admin-actions .text-button {
  min-height: 44px;
  padding: 8px 12px;
}
.login-wrap {
  max-width: 420px;
  margin: 7vh auto 70px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 15px 55px #244b3f06;
}
.login-wrap h1 {
  font-size: 29px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.login-wrap > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.login-wrap .eyebrow {
  color: var(--gold);
  font-size: 9px;
}
.login-wrap .field-label {
  margin-top: 24px;
}
.login-wrap .button {
  width: 100%;
  margin-top: 26px;
}
.login-mark {
  margin-bottom: 30px;
}
.login-foot {
  text-align: center;
  margin-top: 27px !important;
  font-size: 10px !important;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.stat-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
}
.stat-card:first-child {
  background: var(--green);
  color: #f4f5e9;
  border-color: var(--green);
}
.stat-card span {
  font-size: 11px;
  color: var(--muted);
}
.stat-card:first-child span {
  color: #b4c6af;
}
.stat-card strong {
  font-size: 32px;
  font-weight: 400;
  display: block;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}
.stat-card small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
.stat-card:first-child small {
  color: #b4c6af;
}
.workspace {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.toolbar {
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search-wrap svg {
  position: absolute;
  top: 14px;
  left: 13px;
  width: 17px;
  height: 17px;
  color: #929e88;
}
.search-wrap input {
  padding-left: 40px;
  font-size: 12px;
  height: 45px;
}
.toolbar select {
  font-size: 12px;
  padding: 12px 28px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fdfdf9;
  color: var(--ink);
  outline: none;
  height: 45px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 11px;
}
.icon-button svg {
  width: 19px;
  height: 19px;
}
.ticket-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.ticket-table th {
  padding: 13px 20px;
  font-size: 10px;
  color: #939a86;
  background: #f6f7f1;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.ticket-table td {
  padding: 21px 20px;
  border-top: 1px solid #edf0e5;
  vertical-align: middle;
}
.ticket-table tbody tr {
  cursor: pointer;
  transition: background 0.15s;
}
.ticket-table tbody tr:hover {
  background: #f8f9f3;
}
.table-sub {
  display: block;
  color: #9ba28f;
  font-size: 10px;
  margin-top: 7px;
  letter-spacing: 0.3px;
}
.ticket-title {
  font-weight: 500;
  display: block;
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 10px;
  white-space: nowrap;
  background: #f1eee2;
  color: #94804c;
}
.status-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-processing {
  background: #e9efed;
  color: #658479;
}
.status-resolved {
  background: #ebf1e5;
  color: #728c59;
}
.status-declined {
  background: #efefea;
  color: #939988;
}
.table-footer {
  border-top: 1px solid var(--line);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  gap: 15px;
}
.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pagination button {
  background: none;
  border: 1px solid var(--line);
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 6px;
  min-height: 34px;
}
.pagination button:disabled {
  cursor: default;
  opacity: 0.4;
}
.empty-state {
  text-align: center;
  padding: 68px 24px;
  color: var(--muted);
}
.empty-state > span {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  color: #9dad8f;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
}
.empty-state p {
  font-size: 12px;
  line-height: 1.9;
}
.admin-tip {
  font-size: 10px;
  color: #9da38f;
  margin: 20px 0;
  line-height: 1.9;
}
.detail-dialog {
  border: none;
  padding: 0;
  border-radius: 18px;
  background: var(--white);
  width: min(650px, calc(100% - 32px));
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 30px 80px #122c3526;
}
.detail-dialog::backdrop {
  background: #1d302c66;
  backdrop-filter: blur(5px);
}
.dialog-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
}
.dialog-header h2 {
  font-size: 16px;
}
.dialog-content {
  padding: 27px 28px;
}
.detail-id {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.detail-title {
  font-size: 23px;
  line-height: 1.6;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.detail-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.detail-description {
  font-size: 13px;
  line-height: 2.1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f6ef;
  padding: 18px;
  border-radius: 10px;
  margin: 24px 0;
}
.detail-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
}
.detail-contact span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.detail-contact a {
  color: #537447;
}
.detail-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.detail-images a {
  display: block;
  flex-shrink: 0;
}
.detail-images img {
  height: 95px;
  width: 95px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.detail-form {
  padding-top: 4px;
}
.detail-form select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 9px;
  background: #fcfcf7;
  color: var(--ink);
  font-size: 13px;
}
.detail-form .field-label {
  margin-top: 22px;
}
.detail-form textarea {
  font-size: 12px;
  min-height: 110px;
}
.detail-form .submit-row {
  margin-top: 20px;
  padding-top: 0;
  border: 0;
}
.danger-button {
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: #ad7863;
  font-size: 11px;
}
.history {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.history h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 15px;
}
.history-item {
  border-left: 1px solid #dfe5d5;
  margin-left: 4px;
  padding: 0 0 20px 17px;
  position: relative;
  font-size: 11px;
}
.history-item:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a3b297;
  position: absolute;
  left: -3.5px;
  top: 4px;
}
.history-item > span {
  color: var(--muted);
  font-size: 10px;
  margin-left: 10px;
}
.history-item p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  color: #89917e;
}
.password-dialog {
  max-width: 450px;
}
.password-dialog .field-label {
  margin-top: 20px;
}
.password-dialog .button {
  margin-top: 22px;
  width: 100%;
}
@media (min-width: 1500px) {
  .public-layout {
    margin-top: 46px;
  }
}
@media (max-width: 1300px) {
  .public-layout,
  .site-footer {
    margin-left: 48px;
    margin-right: 48px;
  }
  .public-layout {
    gap: 44px;
  }
  h1 {
    font-size: 42px;
  }
  .request-panel {
    padding: 28px;
  }
  .category-card {
    gap: 8px;
    padding: 14px 10px;
  }
  .category-copy small {
    font-size: 8px;
  }
  .radio-dot {
    width: 10px;
    height: 10px;
  }
  .selected .radio-dot {
    border-width: 3px;
  }
}
@media (max-width: 1020px) {
  .public-layout {
    gap: 28px;
    margin-left: 32px;
    margin-right: 32px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }
  .site-footer {
    margin-left: 32px;
    margin-right: 32px;
  }
  h1 {
    font-size: 34px;
  }
  .intro-copy {
    font-size: 12px;
  }
  .intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .orbit-art {
    transform: scale(0.86);
    transform-origin: left center;
    margin-right: -50px;
  }
  .friendly-note p {
    font-size: 10px;
  }
  .intro-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .request-panel {
    padding: 26px 22px;
  }
  h2 {
    font-size: 19px;
  }
  .panel-number {
    font-size: 8px;
  }
  .category-card {
    padding: 13px 9px;
    gap: 8px;
  }
  .category-icon svg {
    width: 19px;
    height: 19px;
  }
  .category-copy strong {
    font-size: 11px;
  }
  .category-copy small {
    font-size: 8px;
    letter-spacing: 0;
  }
  .radio-dot {
    display: none;
  }
  .submit-assurance {
    font-size: 8px;
  }
  .submit-button {
    gap: 10px;
    padding: 12px 17px;
  }
  .ticket-table th,
  .ticket-table td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .ticket-title {
    max-width: 235px;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 22px 22px 18px;
  }
  .brand {
    font-size: 16px;
    gap: 10px;
  }
  .brand-symbol {
    width: 37px;
    height: 39px;
    border-radius: 11px 11px 11px 3px;
    font-size: 21px;
  }
  .brand-caption {
    font-size: 7px;
    letter-spacing: 1.5px;
    margin-top: 5px;
  }
  .header-note {
    font-size: 9px;
    letter-spacing: 0;
    gap: 6px;
  }
  .header-note i {
    width: 5px;
    height: 5px;
  }
  .public-layout {
    display: block;
    margin: 0;
    padding: 0 18px 20px;
  }
  .intro {
    position: relative;
    top: auto;
    padding: 24px 6px 0;
    overflow: hidden;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-bottom: 17px;
    gap: 8px;
  }
  .short-line {
    width: 16px;
  }
  h1 {
    font-size: 34px;
    line-height: 1.6;
    letter-spacing: 1.3px;
    margin: 0 0 13px;
  }
  .intro-copy {
    font-size: 11px;
    line-height: 2.1;
    max-width: 260px;
    position: relative;
    z-index: 1;
  }
  .orbit-art {
    position: absolute;
    right: -42px;
    top: 56px;
    width: 210px;
    height: 240px;
    margin: 0;
    transform: scale(0.62);
    transform-origin: right top;
    opacity: 0.85;
  }
  .orbit {
    left: 0;
  }
  .orbit-two {
    left: 20px;
  }
  .art-ticket {
    left: 55px;
  }
  .art-spark {
    left: 246px;
  }
  .orbit-dot {
    left: -3px;
  }
  .intro h1 {
    position: relative;
    z-index: 1;
  }
  .friendly-note {
    border-top: none;
    background: #ecefe4;
    border-radius: 10px;
    padding: 12px 13px;
    margin-top: 25px;
    max-width: none;
    gap: 9px;
  }
  .friendly-note > span svg {
    width: 16px;
    height: 16px;
  }
  .friendly-note strong {
    font-size: 10px;
  }
  .friendly-note p {
    font-size: 9px;
    line-height: 1.9;
    margin-top: 4px;
  }
  .intro-bottom {
    display: none;
  }
  .request-panel {
    margin-top: 23px;
    padding: 24px 20px;
    border-radius: 16px;
  }
  .panel-heading {
    padding-bottom: 21px;
  }
  .panel-heading .eyebrow {
    font-size: 7px;
    margin-bottom: 6px;
  }
  h2 {
    font-size: 18px;
  }
  .panel-number {
    font-size: 8px;
  }
  .form-section {
    margin-top: 23px;
  }
  .form-section legend {
    font-size: 12px;
  }
  .section-caption {
    font-size: 10px;
    margin-top: 7px;
    margin-bottom: 14px;
  }
  .category-grid {
    gap: 9px;
  }
  .category-card {
    padding: 15px 10px;
    gap: 9px;
    min-height: 74px;
  }
  .category-icon svg {
    width: 20px;
    height: 20px;
  }
  .category-copy strong {
    font-size: 11px;
  }
  .category-copy small {
    font-size: 8px;
  }
  .radio-dot {
    display: none;
  }
  .category-card.selected:after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 4px;
    height: 4px;
    background: #66845c;
    border-radius: 50%;
  }
  .category-hint {
    padding: 10px;
    margin: 15px 0;
  }
  .category-hint p {
    font-size: 9px;
  }
  .field-label {
    font-size: 11px;
  }
  form input:not([type="radio"]):not([type="checkbox"]),
  form textarea {
    font-size: 16px;
    letter-spacing: 0;
  }
  form input::placeholder,
  form textarea::placeholder {
    font-size: 12px;
  }
  input,
  textarea {
    padding: 13px 12px;
  }
  .field-help {
    font-size: 9px;
  }
  .upload-zone {
    padding: 19px 12px;
    gap: 10px;
  }
  .upload-zone strong {
    font-size: 10px;
  }
  .upload-zone small {
    font-size: 8px;
  }
  .upload-icon svg {
    width: 20px;
    height: 20px;
  }
  .contact-section {
    padding-top: 23px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .consent {
    font-size: 9px;
    line-height: 2.1;
    margin-top: 20px;
    gap: 8px;
  }
  .consent input {
    width: 14px;
    height: 14px;
  }
  .submit-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
  }
  .submit-button {
    width: 100%;
    min-height: 49px;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: 12px;
  }
  .submit-assurance {
    font-size: 9px;
  }
  .site-footer {
    margin: 0 24px;
    padding: 18px 0 max(24px, env(safe-area-inset-bottom));
    font-size: 8px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-footer > span:nth-child(2) {
    display: none;
  }
  .success-panel {
    padding: 47px 0 25px;
  }
  .success-panel h2 {
    font-size: 27px;
  }
  .success-panel > p:not(.eyebrow) {
    font-size: 11px;
  }
  .receipt strong {
    font-size: 12px;
    letter-spacing: 0.2px;
  }
  .admin-shell {
    padding: 0 18px;
    margin-top: 15px;
  }
  .admin-top {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .admin-top h1 {
    font-size: 26px;
  }
  .admin-top p {
    font-size: 10px;
  }
  .admin-top .eyebrow {
    font-size: 8px;
  }
  .admin-actions {
    gap: 2px;
    flex-direction: column;
    align-items: flex-end;
  }
  .admin-actions .text-button {
    font-size: 10px;
    min-height: 30px;
    padding: 4px 7px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 19px;
  }
  .stat-card {
    padding: 18px;
    border-radius: 12px;
  }
  .stat-card strong {
    font-size: 27px;
    margin-top: 9px;
  }
  .stat-card span {
    font-size: 10px;
  }
  .toolbar {
    padding: 14px;
    gap: 9px;
  }
  .search-wrap {
    flex-basis: 100%;
    min-width: 0;
  }
  .toolbar select {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    padding-left: 9px;
  }
  .toolbar .icon-button {
    flex: none;
  }
  .ticket-table thead {
    display: none;
  }
  .ticket-table,
  .ticket-table tbody,
  .ticket-table tr,
  .ticket-table td {
    display: block;
  }
  .ticket-table tr {
    padding: 18px 16px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 11px 7px;
  }
  .ticket-table td {
    padding: 0;
    border: 0;
    font-size: 11px;
  }
  .ticket-table td:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .ticket-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    font-size: 10px;
    color: var(--muted);
  }
  .ticket-table td:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: var(--muted);
  }
  .ticket-table td:nth-child(3) .table-sub {
    margin: 0;
    font-size: 10px;
  }
  .ticket-table td:nth-child(4) {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }
  .ticket-table td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    font-size: 9px;
    color: var(--muted);
    text-align: right;
  }
  .ticket-title {
    max-width: 220px;
    font-size: 12px;
    line-height: 1.6;
  }
  .table-sub {
    font-size: 8px;
    letter-spacing: 0;
    margin-top: 5px;
  }
  .status-badge {
    font-size: 9px;
    padding: 5px 8px;
  }
  .table-footer {
    padding: 15px;
    font-size: 10px;
  }
  .pagination {
    gap: 8px;
  }
  .pagination button {
    font-size: 10px;
    padding: 6px 9px;
  }
  .admin-tip {
    font-size: 9px;
  }
  .login-wrap {
    margin: 45px 20px 60px;
    padding: 27px 25px;
  }
  .login-wrap h1 {
    font-size: 27px;
  }
  .detail-dialog {
    max-height: 93dvh;
    border-radius: 16px;
    width: calc(100% - 20px);
  }
  .dialog-header {
    padding: 17px 20px;
  }
  .dialog-content {
    padding: 22px 20px;
  }
  .detail-title {
    font-size: 21px;
  }
  .detail-id {
    font-size: 9px;
  }
  .detail-description {
    font-size: 12px;
    padding: 15px;
  }
  .detail-form .submit-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
  .detail-form .button {
    font-size: 11px;
  }
  .detail-images img {
    height: 80px;
    width: 80px;
  }
  .detail-form textarea {
    font-size: 16px;
  }
  .admin-header .header-note {
    display: none;
  }
}
@media (max-width: 370px) {
  .public-layout {
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-note {
    font-size: 8px;
  }
  .request-panel {
    padding: 22px 16px;
  }
  .category-card {
    gap: 7px;
    padding: 13px 8px;
  }
  .category-icon svg {
    width: 17px;
    height: 17px;
  }
  .category-copy strong {
    font-size: 10px;
  }
  .category-copy small {
    font-size: 7px;
  }
  .intro-copy {
    max-width: 220px;
    font-size: 10px;
  }
  .orbit-art {
    right: -62px;
    opacity: 0.65;
  }
  .panel-number {
    font-size: 7px;
  }
  h2 {
    font-size: 17px;
  }
  .ticket-title {
    max-width: 180px;
  }
}
.preview-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 110px;
  padding: 30px;
}
.preview-stage aside > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
  margin: 25px 0;
}
.preview-stage h1 {
  font-size: 43px;
}
.phone-frame {
  display: block;
  width: 390px;
  height: 844px;
  flex: none;
  border: 0;
  border-radius: 24px;
  box-shadow:
    0 0 0 8px #fff,
    0 20px 65px #244b3f1a;
  background: var(--paper);
}
@media (max-width: 900px) {
  .preview-stage {
    gap: 35px;
  }
  .preview-stage h1 {
    font-size: 30px;
  }
  .preview-stage aside {
    max-width: 200px;
  }
}
@media (max-width: 650px) {
  .preview-stage {
    padding: 0;
    display: block;
  }
  .preview-stage aside {
    display: none;
  }
  .phone-frame {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: 100dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (min-width: 371px) and (max-width: 760px) {
  .intro-copy {
    font-size: 12px;
  }
  .friendly-note strong {
    font-size: 11px;
  }
  .friendly-note p {
    font-size: 10px;
  }
  .category-copy strong {
    font-size: 12px;
  }
  .category-copy small {
    font-size: 9px;
  }
  .category-hint p {
    font-size: 11px;
  }
  .section-caption {
    font-size: 11px;
  }
  .field-label {
    font-size: 12px;
  }
  .field-help {
    font-size: 10px;
  }
  .upload-zone strong {
    font-size: 12px;
  }
  .upload-zone small {
    font-size: 10px;
  }
  .consent {
    font-size: 11px;
  }
  .submit-assurance {
    font-size: 10px;
  }
}

.preview-stage aside select {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 20px;
}
.preview-stage aside .button {
  margin-top: 8px;
}
.phone-frame.size-320 {
  width: 320px;
}
.phone-frame.size-375 {
  width: 375px;
}
.phone-frame.size-390 {
  width: 390px;
}
.phone-frame.size-430 {
  width: 430px;
}
@media (max-width: 650px) {
  .phone-frame.size-320,
  .phone-frame.size-375,
  .phone-frame.size-390,
  .phone-frame.size-430 {
    width: 100%;
  }
}

@media (max-width: 370px) {
  .intro h1 {
    font-size: 28px;
  }
  .category-copy strong {
    font-size: 11px;
  }
  .category-copy small {
    font-size: 9px;
    white-space: normal;
    line-height: 1.5;
  }
  .category-card {
    align-items: flex-start;
  }
  .category-icon {
    margin-top: 2px;
  }
  .consent,
  .category-hint p {
    font-size: 10px;
  }
}
