.dashboard { max-width: 1400px; }
.dash-heading,.dash-tools,.dash-actions,.dash-row,.dash-pagination,.dash-badges { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.dash-heading h1 { font-size:30px; letter-spacing:-.8px; line-height:1.3; overflow-wrap:anywhere; }
.dash-eyebrow { color:var(--ab-muted); font-size:10px; font-weight:700; letter-spacing:.14em; margin-bottom:8px; }
.dash-nav { display:flex; gap:8px; flex-wrap:wrap; margin:26px 0; padding-bottom:12px; border-bottom:1px solid var(--ab-border-md); }
.dash-nav a { text-decoration:none; padding:9px 15px; border-radius:8px; color:var(--ab-muted); font-weight:600; }
.dash-nav a[aria-current],.dash-nav a:hover { background:#e5efe7; color:var(--ab-dark); }
.dash-intro { margin:16px 0 24px; color:var(--ab-muted); }
.dash-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin-bottom:24px; }
.dash-metric { background:white; border:1px solid var(--ab-border); border-radius:12px; padding:20px; }
.dash-metric span { color:var(--ab-muted); font-size:12px; display:block; }
.dash-metric strong { display:block; font-size:32px; font-weight:600; line-height:1.4; color:var(--ab-dark); margin-top:6px; }
.dash-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.dashboard .card { margin-bottom:20px; padding:24px; min-width:0; }
.dashboard h2 { font-size:17px; }
.dash-row { padding:12px 0; text-decoration:none; border-bottom:1px solid var(--ab-border); }
.dash-row span,.dash-row time { color:var(--ab-muted); font-size:12px; }
.dash-empty { padding:28px 0; color:var(--ab-muted); }
.dash-tools { align-items:flex-end; margin-bottom:20px; }
.dash-filters { display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.dash-tools .dash-filters { margin:0; }
.dash-filters label { font-size:12px; color:var(--ab-muted); font-weight:600; }
.dash-filters .form-input { margin-top:5px; min-width:125px; }
.dash-table-wrap { overflow-x:auto; }
.dashboard .dash-table-wrap.card { padding:0; }
.dash-table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
.dash-table th { padding:14px 20px; background:#edf3ee; color:var(--ab-muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; }
.dash-table td { padding:18px 20px; border-top:1px solid var(--ab-border); overflow-wrap:anywhere; min-width:110px; }
.dash-table a { font-weight:600; text-decoration:none; }
.dash-table a:hover { text-decoration:underline; }
.dash-pagination { color:var(--ab-muted); font-size:12px; }
.dash-actions { justify-content:flex-start; margin:12px 0; }
.dash-form { max-width:760px; }
.dash-form p { margin-bottom:20px; }
.dash-form label { display:block; font-weight:600; margin-bottom:6px; }
.dash-form input:not([type=checkbox]):not([type=hidden]),.dash-form textarea,.dash-form select { width:100%; padding:10px 12px; border:1px solid var(--ab-border-md); border-radius:8px; background:white; font:inherit; }
.dash-form .helptext { display:block; font-size:12px; color:var(--ab-muted); margin-top:6px; }
.errorlist { color:var(--red-err); padding-left:20px; margin:8px 0; }
.dash-pill { background:#e5efe7; color:var(--ab-dark); padding:5px 12px; border-radius:20px; font-size:12px; font-weight:600; }
.dash-badges { justify-content:flex-start; }
.dash-details { display:grid; grid-template-columns:130px 1fr; gap:10px; margin-top:16px; }
.dash-details dt { color:var(--ab-muted); }.dash-details dd { overflow-wrap:anywhere; }
.dash-note { white-space:pre-wrap; overflow-wrap:anywhere; margin:20px 0; }
.dash-warning { color:#92400e; font-size:12px; }
.dash-event { border-bottom:1px solid var(--ab-border); padding:12px 0; overflow-wrap:anywhere; }
.dash-event .dash-row { border:0; padding:0; }.dash-event time { font-size:11px; color:var(--ab-muted); }
.dash-event summary { cursor:pointer; color:var(--ab-dark); margin-top:8px; font-size:12px; }
.dash-event dl { font-size:12px; padding:12px; background:var(--ab-bg); }.dash-event dt { font-weight:700; }.dash-event dd { margin-bottom:8px; white-space:pre-wrap; }
.account-page { max-width:500px; margin:8vh auto; padding:20px; }.account-page h1 { font-size:24px; margin:20px 0; }
.account-brand { display:flex; align-items:center; gap:12px; font-size:20px; font-weight:700; text-decoration:none; }
@media(max-width:760px) { .dash-grid { grid-template-columns:1fr; gap:0; }.dash-heading h1 { font-size:25px; }.dash-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.dash-metric { padding:16px; }.dash-filters label { flex:1 1 140px; min-width:0; }.dash-filters input,.dash-filters select { width:100%; }.dashboard .card { padding:18px; }.dash-details { grid-template-columns:1fr; gap:3px; }.dash-details dd { margin-bottom:10px; }.dash-nav a { padding:8px 10px; }.dash-table td { padding:14px; }.dash-heading>.btn { font-size:12px; } }

.dash-nav .inquiry-tab { display: inline-flex; align-items: center; gap: 8px; }
.dash-inquiry-badge { display: inline-block; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: #b42318; }

.dash-table .needs-attention td { background: #fffaf0; }
.dash-table .needs-attention td:first-child { box-shadow: inset 3px 0 #b17b0b; }
.dash-table .needs-attention td:nth-child(4) { color: #78520b; font-weight: 700; }

@media(max-width:760px) { .dash-form input:not([type=checkbox]),.dash-form select,.dash-form textarea { font-size:16px; } .dash-nav a { min-height:44px; display:inline-flex; align-items:center; } .dash-actions a:not(.btn) { display:inline-flex; align-items:center; min-height:44px; } }
