[hidden] { display: none !important; }

.admin-body { min-height: 100vh; background: var(--site-bg); }
.admin-header { background: var(--site-surface); border-bottom: 1px solid var(--site-border); }
.admin-header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-back { color: var(--site-muted); font-size: 13px; font-weight: 700; }
.admin-back:hover { color: var(--site-accent); }
.admin-main { padding-top: 56px; padding-bottom: 72px; }
.admin-login { width: min(100%, 460px); margin: 40px auto; padding: 36px; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: calc(var(--site-radius) * 1.2); box-shadow: 0 22px 60px rgba(20,33,61,.07); }
.admin-login h1, .admin-title-row h1 { margin: 12px 0; color: var(--site-fg); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
.admin-login > p:not(.eyebrow), .admin-title-row p:not(.eyebrow) { color: var(--site-muted); font-size: 14px; line-height: 1.8; }
.admin-login form { display: grid; gap: 10px; margin-top: 26px; }
.admin-login label { color: #445168; font-size: 13px; font-weight: 700; }
.admin-login input { width: 100%; padding: 13px 14px; color: var(--site-fg); background: #fbfaf6; border: 1px solid #d9d6cf; border-radius: 11px; outline: none; }
.admin-login input:focus { border-color: var(--site-accent); box-shadow: 0 0 0 4px rgba(232,93,42,.1); }
.admin-login .button { margin-top: 8px; border: 0; }
.admin-login .button:disabled { cursor: wait; opacity: .65; }
.admin-login input:read-only { cursor: wait; }
.admin-error { padding: 12px 14px; color: #8b3524; background: #fff0ea; border: 1px solid #f0c4b5; border-radius: 10px; font-size: 13px; }
.admin-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.admin-title-row h1 { margin-bottom: 4px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-actions .button { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.admin-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-toolbar label { display: grid; gap: 7px; color: #445168; font-size: 12px; font-weight: 700; }
.admin-toolbar select { min-width: 180px; padding: 11px 14px; color: var(--site-fg); background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 10px; }
.admin-toolbar .button { min-height: 42px; font-size: 13px; }
.admin-table-wrap { overflow-x: auto; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 14px; }
.admin-table { width: 100%; min-width: 980px; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 15px 16px; color: #667188; background: #f8f6f1; border-bottom: 1px solid var(--site-border); font-size: 11px; letter-spacing: .04em; }
.admin-table td { padding: 16px; color: #35425a; border-bottom: 1px solid #ece8e0; font-size: 13px; line-height: 1.6; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td:nth-child(1) { min-width: 150px; color: var(--site-muted); font-size: 12px; }
.admin-table td:nth-child(2) { min-width: 90px; font-weight: 750; color: var(--site-fg); }
.admin-table td:nth-child(3) { min-width: 130px; }
.admin-table td:nth-child(4) { min-width: 120px; white-space: nowrap; }
.admin-table td:nth-child(5) { min-width: 110px; white-space: nowrap; }
.admin-table td:nth-child(6) { min-width: 220px; max-width: 320px; white-space: pre-line; }
.admin-status { padding: 6px 10px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 750; outline: none; }
.admin-status.new { color: #8b3524; background: #fff0ea; }
.admin-status.contacted { color: #315b8a; background: #eaf1fb; }
.admin-status.scheduled { color: #245c47; background: #eaf4ee; }
.admin-status.closed { color: #667188; background: #eceff3; }
.admin-empty { padding: 48px 20px; color: var(--site-muted); text-align: center; font-size: 14px; }
.admin-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; color: var(--site-muted); font-size: 12px; }
.admin-pagination .button { min-height: 38px; padding-inline: 14px; font-size: 12px; }
.admin-pagination .button:disabled { cursor: default; opacity: .4; transform: none; }

@media (max-width: 760px) {
  .admin-main { padding-top: 34px; }
  .admin-login { margin-top: 10px; padding: 26px; }
  .admin-title-row { align-items: start; flex-direction: column; gap: 18px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-toolbar select { width: 100%; }
}
