/* Design A3 — dense console */
.A3 { min-height: 100vh; background: var(--surface-2); color: var(--text); font-size: 13px; padding-bottom: 40px; }

.A3-top { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 20px; background: var(--page-bg); border-bottom: 1px solid var(--line); }
.A3-brand { display: flex; align-items: center; gap: 8px; flex: none; }
.A3-brand b { font-size: 14px; font-weight: 700; }
.A3-brand span { font-family: var(--display); font-size: 9px; letter-spacing: .24em; color: var(--accent); font-weight: 600; }
.A3-tabs { display: flex; gap: 2px; height: 100%; overflow-x: auto; scrollbar-width: none; }
.A3-tabs::-webkit-scrollbar { display: none; }
.A3-tab { display: flex; align-items: center; gap: 6px; padding: 0 11px; font-size: 12.5px; color: var(--text-soft); border-bottom: 2px solid transparent; white-space: nowrap; }
.A3-tab:hover { color: var(--text); }
.A3-tab.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.A3-tb { background: var(--accent); color: var(--brand-ink); font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; font-style: normal; }
.A3-tr { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.A3-ti { position: relative; color: var(--text-soft); padding: 6px; border-radius: 8px; } .A3-ti:hover { background: var(--surface); color: var(--text); }
.A3-ti.dot::after { content: ""; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.A3-toolbar { display: flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--page-bg); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.A3-tsearch { display: flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: var(--text-soft); }
.A3-tsearch input { border: none; background: none; outline: none; font-size: 12.5px; width: 200px; color: var(--text); }
.A3-tbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--page-bg); color: var(--text); font-size: 12.5px; padding: 7px 11px; border-radius: 8px; }
.A3-tbtn:hover { background: var(--surface); }
.A3-tbtn.ghost { color: var(--text-soft); }
.A3-spacer { flex: 1; }
.A3-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: var(--on-brand); font-size: 12.5px; font-weight: 600; padding: 8px 13px; border-radius: 8px; }
.A3-primary:hover { background: var(--brand-2); }

.A3-kstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.A3-kp { background: var(--page-bg); padding: 12px 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.A3-kl { font-size: 11.5px; color: var(--text-soft); }
.A3-kv { font-size: 20px; font-weight: 700; }
.A3-kd { font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 1px; }
.A3-kd.up { color: #1f9d57; } .A3-kd.dn { color: #d1493f; }

.A3-cols { display: grid; grid-template-columns: 1fr 322px; gap: 16px; padding: 16px 20px; align-items: start; }
.A3-tablecard { background: var(--page-bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.A3-tchd { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.A3-tchd h2 { font-size: 14px; font-weight: 700; } .A3-tchd em { font-style: normal; color: var(--text-soft); font-weight: 400; font-size: 12px; margin-left: 4px; }
.A3-tsort { font-size: 12px; color: var(--text-soft); display: inline-flex; align-items: center; gap: 3px; }
.A3-twrap { overflow-x: auto; }
.A3-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.A3-table thead th { position: sticky; top: 0; text-align: left; font-size: 11px; font-weight: 600; color: var(--text-soft); background: var(--surface); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.A3-table thead th span, .A3-table thead th svg { vertical-align: middle; }
.A3-table td { padding: 0 12px; height: 40px; border-bottom: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; }
.A3-table tbody tr:nth-child(even) { background: var(--surface); }
.A3-table tbody tr:hover { background: var(--brand-soft); }
.A3-ck { width: 34px; text-align: center; }
.A3-ck input { accent-color: var(--brand); width: 14px; height: 14px; }
.A3-cnm { font-weight: 600; }
.A3-mono { font-family: var(--mono); } .A3-mut { color: var(--text-soft); font-size: 11.5px; }
.A3-chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.A3-chip.ok { background: rgba(31,157,87,.13); color: #1f8a4c; }
.A3-chip.warn { background: var(--accent-soft); color: #9a6a12; }
.A3-chip.mute { background: var(--surface-2); color: var(--text-soft); }
.A3-more { color: var(--text-soft); padding: 4px; border-radius: 6px; } .A3-more:hover { background: var(--surface-2); color: var(--text); }
.A3-pag { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; font-size: 12px; color: var(--text-soft); }
.A3-pg { display: flex; gap: 3px; }
.A3-pgb { min-width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; color: var(--text); display: inline-grid; place-items: center; }
.A3-pgb:hover { background: var(--surface); } .A3-pgb.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); font-weight: 700; }

.A3-side { display: flex; flex-direction: column; gap: 16px; }
.A3-panel { background: var(--page-bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.A3-phd { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.A3-phd h3 { font-size: 13px; font-weight: 700; flex: 1; }
.A3-pc { background: rgba(209,73,63,.13); color: #c33; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; font-style: normal; }
.A3-plink { font-size: 11.5px; color: var(--brand); font-weight: 600; }
.A3-plist { list-style: none; }
.A3-plist li { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-bottom: 1px solid var(--line); }
.A3-plist li:last-child { border-bottom: none; }
.A3-qd { flex: none; font-size: 11px; color: var(--text-soft); }
.A3-qi { flex: 1; min-width: 0; line-height: 1.35; }
.A3-qi b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.A3-qi span { font-size: 10.5px; color: var(--text-soft); }
.A3-sdot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.A3-sdot.warn { background: #d1493f; } .A3-sdot.info { background: var(--brand); } .A3-sdot.done { background: var(--text-soft); opacity: .4; }
.A3-pri { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; }
.A3-pri.p高 { background: rgba(209,73,63,.13); color: #c33; }
.A3-pri.p中 { background: var(--accent-soft); color: #9a6a12; }
.A3-pri.p低 { background: var(--surface-2); color: var(--text-soft); }
.A3-foot { text-align: center; font-size: 11px; color: var(--text-soft); padding: 18px; }

@media (max-width: 1100px) { .A3-cols { grid-template-columns: 1fr; } .A3-side { flex-direction: row; } .A3-panel { flex: 1; } }
@media (max-width: 760px) {
  .A3-tabs { display: none; }
  .A3-side { flex-direction: column; }
  .A3-kstrip { grid-template-columns: 1fr 1fr; }
  .A3-tsearch input { width: 130px; }
}
