/* QLCAD / shared print-workshop primitives. No external font requests. */
@font-face {
  font-family:Inter;
  src:url('../assets/fonts/inter-latin.woff2') format('woff2');
  font-display:swap;
  font-weight:100 900
}
@font-face {
  font-family:'Source Han Serif';
  src:url('../assets/fonts/source-han-serif-subset.woff2') format('woff2');
  font-display:swap;
  font-weight:600
}
:root {
  /* Semantic reading scale: do not reduce functional copy at mobile breakpoints. */
  --text-decorative:11px;
  --text-copyright:12px;
  --text-badge:13px;
  --text-small:14px;
  --text-secondary:15px;
  --text-body:16px;
  --text-workflow:18px;
  --text-subtitle:18px;
  --leading-body:1.75;
  --leading-secondary:1.65;
  --bg:#F5F1E8;
  --paper:#FFFCF5;
  --ink:#262521;
  --text:var(--ink);
  --muted:#60594F;
  --brand:#D97728;
  --brand-deep:#974719;
  --sand:#DED2BC;
  --sand-light:#EDE6D8;
  --line:#B7AB96;
  --primary:var(--brand-deep);
  --stroke:var(--line);
  --serif:'Source Han Serif','Noto Serif SC','Songti SC',SimSun,Georgia,serif;
  --mono:'Cascadia Mono',Consolas,monospace;
  --body:Inter,'Microsoft YaHei','PingFang SC',sans-serif;
  color-scheme:light;
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:auto;
  scroll-padding-top:90px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:var(--text-body);
  line-height:var(--leading-body);
  -webkit-font-smoothing:antialiased
}
body:before {
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:20;
  opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.45' d='M0 0h160v160H0z'/%3E%3C/svg%3E")
}
h1,h2,h3,h4 {
  font-family:var(--serif);
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.035em
}
h1,h2,h3,p {
  margin-top:0
}
p {
  color:var(--muted)
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.55
}
img {
  max-width:100%;
  height:auto
}
svg {
  vertical-align:middle
}
a,button {
  -webkit-tap-highlight-color:transparent
}
[hidden] {
  display:none!important
}
:focus-visible {
  outline:3px solid var(--brand-deep);
  outline-offset:4px
}
::selection {
  background:var(--sand);
  color:var(--ink)
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:Georgia,serif;
  font-size:25px;
  letter-spacing:-1px;
  font-weight:700
}
.brand img {
  flex-shrink:0
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:44px;
  padding:11px 21px;
  border:1px solid var(--ink);
  border-radius:2px;
  font-family:var(--body);
  font-size:var(--text-secondary);
  font-weight:600;
  line-height:1.5;
  box-shadow:3px 3px 0 var(--sand);
  transition:transform .16s,box-shadow .16s;
  background:var(--paper);
  color:var(--ink)
}
.btn-primary {
  background:var(--brand);
  color:var(--ink);
  box-shadow:4px 4px 0 var(--ink)
}
.btn:hover {
  transform:translateY(-2px);
  box-shadow:5px 6px 0 var(--ink)
}
.btn:active {
  transform:translate(2px,2px);
  box-shadow:0 0 0 var(--ink)
}
.btn:disabled {
  transform:none
}
.btn-lg {
  padding:16px 23px;
  min-height:54px
}
.btn-sm {
  font-size:var(--text-secondary);
  padding:8px 14px;
  min-height:38px
}
.btn svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5
}
.full {
  width:100%
}
.eyebrow,.section-kicker,.section-label,.ticket-code {
  font-family:var(--mono);
  font-size:var(--text-decorative);
  letter-spacing:1.6px;
  color:var(--brand-deep)
}
.section-kicker {
  display:block;
  margin-bottom:18px
}
.text-link,.inline-link {
  border-bottom:1px solid var(--ink);
  padding-bottom:4px;
  font-size:var(--text-secondary)
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  padding:12px;
  background:var(--ink);
  color:var(--paper);
  z-index:200
}
.skip-link:focus {
  top:12px
}
input,select,textarea {
  max-width:100%;
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
  border-radius:2px;
  padding:11px 12px;
  accent-color:var(--brand-deep)
}
textarea {
  resize:vertical
}
input::placeholder,textarea::placeholder {
  color:var(--muted)
}
.form-message {
  font-size:var(--text-secondary);
  overflow-wrap:anywhere
}
.form-message.error {
  color:#9B321E
}
.form-message:empty {
  display:none
}
button:not(.btn) {
  transition:transform .16s
}
button:not(.btn):active {
  transform:translateY(1px)
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
  .btn:hover,.btn:active,button:not(.btn):active {
    transform:none
  }
}

/* Readable shared primitives, including dynamically rendered account/admin content. */
small { font-size:var(--text-small); line-height:var(--leading-secondary); }
.btn-sm { min-height:40px; }
button,input,select,textarea { line-height:1.5; }
