:root {
  --primary: #0B5CAD;
  --accent: #F6C343;
  --text: #1F2937;
  --muted: #6B7280;
  --bg-soft: #EFF6FF;
  --white: #FFFFFF;
  --border: #DCE7F5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-soft);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

input {
  font: inherit;
}

img,
svg,
video {
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.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;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  display: inline-grid;
  min-width: 56px;
  height: 44px;
  padding: 4px 8px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0;
}

.brand__logo:has(.brand__logo-image) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand__logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 36px;
  background: transparent;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 700;
}

.brand__agency {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.875rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.nav-link--active {
  background: var(--bg-soft);
  color: var(--primary);
}

a.nav-link:hover,
a.nav-link:focus {
  color: var(--primary);
  outline: none;
}

a.nav-link:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible,
.search-bar input:focus-visible,
.login-form input:focus-visible,
.login-options a:focus-visible,
.back-home:focus-visible {
  outline: 3px solid rgba(11, 92, 173, 0.28);
  outline-offset: 3px;
}

.nav-link--disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--primary);
}

.mobile-nav {
  display: none;
}

.site-main {
  min-height: calc(100vh - 156px);
}

.hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 9vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero__text {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.125rem;
}

.search-bar {
  display: flex;
  align-items: center;
  max-width: 680px;
  margin-top: 32px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(11, 92, 173, 0.1);
}

.search-bar input {
  width: 100%;
  min-height: 48px;
  border: 0;
  padding: 0 14px;
  color: var(--text);
  background: transparent;
}

.search-bar input:focus {
  outline: none;
}

.search-bar .button {
  margin-top: 0;
  flex: 0 0 auto;
}

.section {
  padding: clamp(2.625rem, 6vw, 3.5rem) 0;
  background: var(--white);
}

.section--soft {
  background: var(--bg-soft);
}

.section h2 {
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 20px;
  margin-top: 24px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(13.75rem, 26vw, 15.625rem);
  padding: clamp(1.25rem, 3vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.quick-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
}

.quick-card p {
  margin-top: 12px;
  color: var(--muted);
}

.public-empty-state {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.faq-section,
.contact-section {
  display: grid;
  gap: clamp(1rem, 3vw, 1.375rem);
  scroll-margin-top: 96px;
}

.faq-section > div:first-child,
.contact-section > div:first-child {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.faq-section > div:first-child p,
.contact-section > div:first-child p {
  max-width: 620px;
  color: var(--muted);
}

.faq-section .public-empty-state,
.contact-section .public-empty-state {
  display: grid;
  gap: 6px;
  margin-top: 0;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border-style: dashed;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
  color: var(--text);
}

.faq-section .public-empty-state p,
.contact-section .public-empty-state p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list--page {
  margin-top: 24px;
}

.faq-page {
  width: min(100% - 2rem, 72rem);
}

.faq-page__header {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.faq-page__header p {
  color: var(--muted);
}

.faq-item {
  display: grid;
  gap: 10px;
  padding: clamp(1rem, 3vw, 1.25rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.faq-item h2,
.faq-item h3 {
  color: var(--primary);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.faq-item p {
  color: var(--muted);
  line-height: 1.7;
}

.faq-accordion {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-accordion__item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.faq-accordion__item--open {
  border-color: rgba(11, 92, 173, 0.28);
}

.faq-accordion__heading {
  margin: 0;
}

.faq-accordion__button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
}

.faq-accordion__button:hover,
.faq-accordion__button:focus-visible {
  color: var(--primary);
  outline: none;
}

.faq-accordion__button:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(11, 92, 173, 0.16);
}

.faq-accordion__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 900;
  line-height: 1;
}

.faq-accordion__panel {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-accordion__panel p {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 12px;
}

.contact-details article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.contact-details span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-details p {
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: #084D91;
}

.button--secondary {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
}

.button--secondary:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 16px;
  margin-top: 24px;
}

.step {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.step__number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
}

.step h3 {
  font-size: 1.05rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 640px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.cta .button {
  margin-top: 0;
  background: var(--accent);
  color: var(--text);
  flex: 0 0 auto;
}

.cta .button:hover {
  background: #EAB532;
}

.login-page {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}

.login-section {
  padding: clamp(2.25rem, 7vw, 4rem) 0;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(min(100%, 22.5rem), 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.login-info,
.login-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
}

.login-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--primary);
  color: var(--white);
}

.login-info__label {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.login-info h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.login-info__agency {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 700;
}

.login-info__description {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
}

.login-info__points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  list-style: none;
}

.login-info__points li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.92);
}

.login-info__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent);
}

.login-card {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.login-card__header {
  margin-bottom: 24px;
}

.login-card__header h2 {
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1.2;
}

.login-card__header p {
  margin-top: 8px;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 18px;
}

.role-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}

.role-selector legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 700;
}

.role-selector label {
  cursor: pointer;
}

.role-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-selector span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-weight: 700;
}

.role-selector input:checked + span {
  border-color: var(--primary);
  background: var(--bg-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.role-selector input:focus-visible + span {
  outline: 3px solid rgba(11, 92, 173, 0.28);
  outline-offset: 3px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--text);
  font-weight: 700;
}

.field-label {
  color: var(--text);
  font-weight: 700;
}

.field-helper {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-field input:focus {
  border-color: var(--primary);
  outline: none;
}

.form-page {
  max-width: min(100%, 56.25rem);
}

.form-page__header {
  margin-bottom: 24px;
}

.form-page__header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.form-page__header p:last-child {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
}

.public-form-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
}

.track-card {
  display: grid;
  gap: 18px;
}

.track-method-control {
  max-width: 24rem;
}

.track-panel {
  display: grid;
  gap: 14px;
}

.track-panel[hidden] {
  display: none;
}

.track-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.track-form .button {
  margin-top: 0;
}

.track-card .button {
  min-height: 44px;
  padding: 10px 16px;
}

.track-card .form-field {
  gap: 6px;
}

.track-card .form-field label {
  font-size: 0.95rem;
}

.track-card .public-empty-state {
  margin-top: 0;
  padding: 14px 16px;
}

.track-alternative {
  gap: 16px;
}

.ticket-access-list {
  display: grid;
  gap: 12px;
}

.ticket-access-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.ticket-access-item span:first-child {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.ticket-access-item strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--primary);
  font-size: 1rem;
}

.ticket-access-item p {
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.ticket-access-item .button {
  margin-top: 0;
  white-space: nowrap;
}

.track-result {
  display: grid;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.track-result__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.track-result__header span:first-child,
.track-detail-list dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.track-result__header strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--primary);
  font-size: clamp(1.25rem, 4vw, 1.7rem);
}

.public-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.public-status-pill--new {
  background: #EFF6FF;
  color: #0B5CAD;
}

.public-status-pill--verified {
  background: #ECFDF5;
  color: #047857;
}

.public-status-pill--in-progress {
  background: #FFF7ED;
  color: #C2410C;
}

.public-status-pill--resolved {
  background: #F0FDF4;
  color: #15803D;
}

.public-status-pill--rejected {
  background: #FFF5F5;
  color: #B91C1C;
}

.public-status-pill--closed {
  background: #F3F4F6;
  color: #374151;
}

.track-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.track-detail-list div {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.track-detail-list dd {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.track-message {
  border: 1px solid #BFE8D0;
  border-radius: 8px;
  background: #F0FDF4;
  padding: 12px 14px;
}

.track-message p {
  color: var(--text);
  font-weight: 700;
}

.ticket-responses {
  display: grid;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.ticket-responses__header {
  display: grid;
  gap: 6px;
}

.ticket-responses__header h2 {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.25;
}

.ticket-responses__header p {
  color: var(--muted);
}

.ticket-response-list {
  display: grid;
  gap: 12px;
}

.ticket-response-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.ticket-response-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket-response-meta strong {
  color: var(--primary);
}

.ticket-response-meta span {
  overflow-wrap: anywhere;
  text-align: right;
}

.ticket-response-message {
  min-width: 0;
  color: var(--text);
}

.ticket-response-message p {
  overflow-wrap: anywhere;
  white-space: normal;
}

.ticket-response-empty {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 700;
}

.ticket-success-card {
  display: grid;
  gap: 16px;
  border: 1px solid #BFE8D0;
  border-radius: 12px;
  background: #F0FDF4;
  padding: clamp(24px, 5vw, 40px);
  text-align: center;
}

.ticket-success-card h2 {
  color: var(--primary);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.ticket-success-card p {
  color: var(--muted);
}

.ticket-number-box {
  display: grid;
  gap: 6px;
  justify-self: center;
  min-width: min(100%, 320px);
  padding: 16px 18px;
  border: 1px solid #86D39F;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}

.ticket-number-box span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ticket-number-box strong {
  color: var(--primary);
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  letter-spacing: 0;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.success-actions .button {
  flex: 1 1 12rem;
}

.public-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 20px;
}

.public-form .form-field--full,
.public-form .form-note,
.public-form .button,
.public-form-card .public-empty-state {
  grid-column: 1 / -1;
}

.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.simple-editor {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.editor-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.editor-toolbar button[data-editor-action="bold"] {
  font-weight: 900;
}

.editor-toolbar button[data-editor-action="italic"] {
  font-style: italic;
}

.editor-toolbar button:hover,
.editor-toolbar button:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}

.editor-toolbar button:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.18);
}

.simple-editor textarea {
  border: 0;
  border-radius: 0;
}

.simple-editor:focus-within {
  border-color: var(--primary);
}

.form-field select {
  min-height: 52px;
  padding: 0 16px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.form-field textarea {
  min-height: 160px;
  padding: 14px 16px;
  resize: vertical;
}

.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  outline: none;
}

.attachment-dropzone {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 1.625rem);
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}

.attachment-dropzone__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 800;
}

.attachment-dropzone strong {
  color: var(--text);
}

.attachment-dropzone--ready {
  border-color: var(--primary);
  background: #F0FDF4;
}

.attachment-dropzone small {
  max-width: 620px;
}

.attachment-dropzone input[type="file"] {
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}

.selected-files {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.selected-files p {
  font-weight: 700;
}

.selected-files__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.selected-files ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.selected-files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-soft);
}

.selected-files__name {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  color: var(--text);
}

.selected-files__meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.selected-files__notice {
  color: #9F1C1C;
  font-size: 0.92rem;
}

.selected-files strong {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 0.9rem;
}

.selected-files__clear,
.selected-files__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--primary);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.selected-files__clear {
  padding: 7px 10px;
}

.selected-files__remove {
  padding: 6px 9px;
}

.selected-files__clear:hover,
.selected-files__clear:focus-visible,
.selected-files__remove:hover,
.selected-files__remove:focus-visible {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.14);
}

.selected-files--warning {
  border-color: #F3C5C5;
  background: #FFF5F5;
  color: #9F1C1C;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.login-options a,
.back-home {
  color: var(--primary);
  font-weight: 700;
}

.login-submit {
  width: 100%;
  margin-top: 2px;
}

.login-status {
  min-height: 22px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.back-home {
  justify-self: center;
}

.site-footer {
  background: var(--primary);
  color: var(--white);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.footer__inner span {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 760px) {
  .header__inner {
    width: min(100% - 1.25rem, 70rem);
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand__logo {
    min-width: 50px;
    height: 40px;
    padding: 4px 7px;
    font-size: 0.92rem;
  }

  .brand__logo-image {
    max-width: 96px;
    max-height: 32px;
  }

  .brand__name {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .brand__agency {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
  }

  .menu-toggle span {
    margin: 0;
  }

  .menu-toggle span + span {
    margin-top: 4px;
  }

  /* Public navbar mobile polish */
  .mobile-nav {
    width: min(100% - 1.25rem, 70rem);
    margin-inline: auto;
    border-top: 1px solid var(--border);
    background: var(--white);
    padding: 10px 0 14px;
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .mobile-nav .nav-link {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 10px 12px;
    text-align: left;
  }

  .hero {
    padding: 3rem 0 2.25rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 12vw, 2.6rem);
  }

  .search-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
  }

  .section {
    padding: 42px 0;
  }

  .quick-card {
    min-height: 220px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .login-section {
    padding: 36px 0;
  }

  .login-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .login-info,
  .login-card {
    padding: 24px;
  }

  .login-info h1 {
    font-size: 2.25rem;
  }

  .role-selector {
    grid-template-columns: 1fr;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .track-form,
  .track-detail-list,
  .ticket-access-item {
    grid-template-columns: 1fr;
  }

  .track-form .button,
  .ticket-access-item .button {
    width: 100%;
  }

  .track-result__header {
    flex-direction: column;
  }

  .ticket-response-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ticket-response-meta span {
    text-align: left;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .brand {
    max-width: 100%;
  }

  .desktop-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .desktop-nav .nav-link {
    min-height: 42px;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, 70rem);
  }

  .brand {
    gap: 0.625rem;
  }

  .brand__logo {
    min-width: 46px;
    height: 38px;
    padding: 4px 6px;
    font-size: 0.84rem;
  }

  .brand__logo-image {
    max-width: 82px;
    max-height: 30px;
  }

  .public-form-card,
  .login-info,
  .login-card,
  .cta {
    border-radius: 8px;
  }

  .success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .success-actions .button {
    width: 100%;
  }

  .selected-files li {
    align-items: flex-start;
    flex-direction: column;
  }
}
