:root {
  --ink: #173437;
  --teal: #145b60;
  --muted: #6c7f7c;
  --line: #dce5df;
  --bg: #f4f6f2;
  --mint: #def2e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 11px 18px;
  font: 600 14px/1.4 system-ui;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #103f43;
  text-decoration: none;
}
.secondary,
.quiet {
  background: white;
  color: var(--teal);
}
.secondary:hover,
.quiet:hover {
  background: var(--mint);
}
.quiet {
  border-color: transparent;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header form {
  margin: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.7px;
}
.brand b {
  background: var(--teal);
  color: var(--mint);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 24px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  padding: 3px 5px;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  max-width: 1800px;
  margin: auto;
}
.shell.public {
  display: block;
  max-width: 1280px;
}
aside {
  background: #fafbf8;
  border-right: 1px solid var(--line);
  padding: 24px 15px;
  min-height: calc(100vh - 78px);
}
aside details {
  margin-bottom: 24px;
}
aside summary {
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
  padding: 0 10px 10px;
  cursor: pointer;
}
aside nav {
  display: grid;
  gap: 3px;
}
aside nav a {
  font-size: 13px;
  color: #4e6763;
  border-radius: 7px;
  padding: 8px 10px;
}
aside nav a:hover,
aside nav a.active {
  background: var(--mint);
  text-decoration: none;
  color: var(--ink);
}
aside nav a.active {
  font-weight: 700;
}
main {
  padding: 34px 40px;
  min-width: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -1.4px;
  margin-bottom: 28px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}
h3 {
  font-size: 16px;
}
p {
  margin-bottom: 16px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--teal);
  margin-bottom: 14px;
}
.page-title {
  padding-bottom: 5px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 22px;
  min-width: 0;
  box-shadow: 0 4px 30px #2b4c4005;
}
.card > p:last-child {
  margin-bottom: 0;
}
.notice {
  background: #edf7ef;
  border: 1px solid #d4e5d9;
  border-radius: 9px;
  padding: 16px;
  font-size: 13px;
  margin: 18px 0;
}
.muted,
small {
  color: var(--muted);
  font-size: 12px;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stats article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px;
  min-width: 0;
}
.stats small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  min-height: 34px;
}
.stats strong {
  display: block;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.standalone {
  margin: 0 12px 20px 0;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  background: #f4f7f2;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td {
  overflow-wrap: anywhere;
  min-width: 90px;
}
.empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #405b55;
  margin-bottom: 18px;
}
input,
textarea,
select {
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid #cbdad1;
  border-radius: 7px;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  padding: 11px 12px;
  min-height: 44px;
  margin-top: 7px;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  accent-color: var(--teal);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.55;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #8abdb2;
  outline-offset: 1px;
}
.fields {
  max-width: 900px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  border-top: 4px solid var(--teal);
}
.price-card h2 {
  font-size: 34px;
}
.price-card li {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 55px 0 70px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -2.8px;
  line-height: 1.08;
}
.lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}
.hero .actions {
  margin: 28px 0;
}
.hero-card {
  background: #e6edde;
  border-radius: 24px;
  padding: 30px;
  transform: rotate(1deg);
}
.hero-card > a {
  display: flex;
  gap: 16px;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 18px;
  margin: 12px 0;
  transform: rotate(-1deg);
  color: var(--ink);
}
.hero-card > a > b {
  background: #edf4e9;
  border-radius: 8px;
  padding: 10px;
  color: var(--teal);
  min-width: 45px;
  text-align: center;
}
.hero-card > a > span {
  flex: 1;
}
.hero-card small {
  display: block;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding: 30px;
}
.auth-grid > section:first-child {
  padding-top: 45px;
}
.auth-grid .card {
  padding: 32px;
}
.auth-grid form + p {
  margin-top: 20px;
}
.prose {
  max-width: 850px;
  margin: auto;
  line-height: 1.85;
}
.prose h2 {
  margin-top: 26px;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
footer span {
  margin-right: auto;
}
.qr-result img {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 18px 0;
}
#qr-reader {
  max-width: 440px;
  margin-top: 20px;
  overflow: hidden;
}
#qr-reader video {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  main {
    padding: 28px;
  }
  .request-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 25px;
  }
  .auth-grid {
    gap: 30px;
    padding: 15px;
  }
}
@media (max-width: 780px) {
  header {
    height: 66px;
    padding: 0 14px;
    gap: 8px;
  }
  .brand {
    font-size: 18px;
  }
  .brand b {
    font-size: 19px;
  }
  .brand small {
    display: none;
  }
  header nav {
    gap: 8px;
    font-size: 11px;
  }
  header button,
  header .button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .shell {
    display: block;
  }
  aside {
    min-height: auto;
    padding: 12px 15px;
    border: 0;
  }
  aside details {
    margin-bottom: 10px;
  }
  aside summary {
    padding: 0 0 7px;
  }
  aside nav {
    display: flex;
    overflow-x: auto;
  }
  aside nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }
  main {
    padding: 22px 16px;
  }
  .card {
    padding: 20px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stats article {
    padding: 17px;
  }
  .stats strong {
    font-size: 25px;
  }
  .hero,
  .auth-grid {
    grid-template-columns: 1fr;
    padding: 24px 0;
    gap: 20px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-card {
    padding: 23px;
  }
  .auth-grid > section:first-child {
    padding-top: 0;
  }
  .auth-grid .card {
    padding: 24px;
  }
  .hero + .stats {
    grid-template-columns: 1fr;
  }
  .request-grid {
    gap: 0;
  }
  h1 {
    font-size: 29px;
  }
}
@media print {
  header,
  aside,
  footer,
  form,
  .button,
  button {
    display: none !important;
  }
  .shell {
    display: block;
  }
  main {
    padding: 0;
  }
  .card {
    box-shadow: none;
    break-inside: avoid;
  }
  body {
    background: white;
  }
}
