.search-results:empty { display: none; }

.brand-word,
.login-wordmark {
  display: inline-block;
  width: 126px;
  height: 36px;
  background: url('/static/haitian-logo.png') center / contain no-repeat;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
}

.login-brand .login-wordmark {
  width: 232px;
  height: 66px;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .brand-word { width: 106px; height: 30px; }
  .login-brand .login-wordmark { width: 190px; height: 54px; }
}

.collapsible-panel { padding: 0; }
.collapsible-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.collapsible-panel summary::-webkit-details-marker { display: none; }
.collapsible-panel[open] summary { border-bottom: 1px solid var(--border); }
.collapsible-panel form { padding: 20px; }

.timeline-future .timeline-dot { border-color: #cbd5df; }
.timeline-future strong { color: var(--text-secondary); font-weight: 650; }

.section-title { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:16px; }
.section-title h2 { margin:2px 0 0; }
.section-title .eyebrow { margin-bottom:2px; }
.stage-grid { display:grid; grid-template-columns:repeat(5, minmax(175px, 1fr)); gap:12px; overflow-x:auto; }
.stage-card { min-width:175px; padding:14px; border:1px solid var(--border); border-radius:12px; background:var(--surface-raised, #fff); }
.stage-card h3 { margin:0 0 8px; font-size:14px; }
.stage-card .form-stack { margin-top:12px; gap:8px; }
.inline-tag { display:inline-block; padding:2px 7px; margin:1px 3px 1px 0; border-radius:999px; background:#e8f0fb; color:var(--brand-primary); font-size:12px; white-space:nowrap; }
.compact-form { margin-top:14px; }
.sub-form { margin-top:16px; padding-top:12px; border-top:1px solid var(--border); }
.sub-form summary { color:var(--brand-primary); cursor:pointer; font-weight:700; margin-bottom:14px; }
.attachment-list { list-style:none; padding:0; margin:0; }
.attachment-list li { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:11px 0; border-bottom:1px solid var(--border); }
.attachment-list li:last-child { border-bottom:0; }
.empty-inline { color:var(--text-secondary); margin:12px 0; }
.badge.draft { background:#eef2f7; color:#526579; }
.badge.submitted { background:#fff3d6; color:#8a5a00; }
.badge.returned { background:#fde7e7; color:#a03737; }
.badge.confirmed { background:#e3f5ed; color:#1d7453; }

@media (max-width: 1100px) { .stage-grid { grid-template-columns:repeat(3, minmax(185px, 1fr)); } }

@media (max-width: 820px) {
  .section-title { display:block; }
  .stage-grid { grid-template-columns:repeat(5, minmax(190px, 1fr)); }
  .attachment-list li { align-items:flex-start; }
  .mobile-nav[open] .mobile-nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 42px;
    padding: 10px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(26, 43, 63, .10);
  }
}
