:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172a32; background: #f3f7f5; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; padding: 1.5rem; }
button, input, select, textarea { font: inherit; }
a { color: #086348; }
.support-shell { width: min(100%, 760px); margin: 0 auto; }
.support-header { padding: 1rem .25rem 1.5rem; }
.support-header a { font-size: .88rem; font-weight: 700; }
.support-header h1 { margin: 1rem 0 .4rem; color: #0b3d2e; font-size: clamp(1.7rem, 5vw, 2.4rem); }
.support-header p, .help { color: #60756b; line-height: 1.55; }
.support-card { margin-bottom: 1.25rem; padding: clamp(1rem, 4vw, 1.6rem); border: 1px solid #dfeae4; border-radius: 18px; background: #fff; box-shadow: 0 10px 32px #0b3d2e08; }
.support-card h2 { margin: 0 0 1rem; color: #0b3d2e; font-size: 1.2rem; }
#ticketForm, .track-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
#ticketForm label { grid-column: span 1; }
#ticketForm label:has(textarea), #ticketForm label:has(input[type="file"]), #ticketForm .message, #ticketForm button { grid-column: 1 / -1; }
label { display: grid; gap: .4rem; color: #30483d; font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; min-width: 0; padding: .7rem .75rem; border: 1px solid #cddcd4; border-radius: 9px; color: #172a32; background: #fff; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #a7f3d0; outline-offset: 2px; }
input[type="file"] { padding: .55rem; }
button { min-height: 44px; padding: .7rem 1rem; border: 0; border-radius: 9px; color: #fff; background: #086348; font-weight: 750; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
.help { display: block; font-size: .78rem; font-weight: 400; }
.message { min-height: 1.25rem; margin: 0; color: #a7342e; font-size: .88rem; }
.receipt { margin-top: 1rem; padding: 1rem; border: 1px solid #a8d7bd; border-radius: 10px; background: #eff9f3; color: #173e30; overflow-wrap: anywhere; }
.receipt strong, .receipt code { font-size: 1.05rem; }
.track-form { align-items: end; }
.ticket-detail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e4ebe7; }
.ticket-detail h3 { margin: 0 0 .5rem; color: #0b3d2e; }
.ticket-detail p { white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-message { margin: .7rem 0; padding: .75rem; border-radius: 8px; background: #f3f7f5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-message small { display: block; margin-bottom: .35rem; color: #60756b; }
.ticket-reply { display: grid; gap: .7rem; margin-top: 1rem; }
.file-list { display: grid; gap: .4rem; padding-left: 1.2rem; }
@media (max-width: 600px) {
  body { padding: .75rem; }
  #ticketForm, .track-form { grid-template-columns: 1fr; }
  #ticketForm label { grid-column: 1 / -1; }
  .track-form button { width: 100%; }
}
