:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #17231e; background: #edf3ef; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top right, #d2f1df, transparent 34rem), #edf3ef; }
main { width: min(1100px, calc(100% - 32px)); margin: 48px auto; }
header, .section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
h1 { margin: 6px 0 28px; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.06em; }
h2 { margin: 0 0 18px; }
.eyebrow { color: #087443; font-weight: 800; letter-spacing: .14em; font-size: .72rem; }
.panel { background: rgba(255,255,255,.9); border: 1px solid #d5e1da; border-radius: 18px; padding: 22px; margin: 16px 0; box-shadow: 0 16px 45px rgba(27, 57, 42, .07); }
form { display: grid; grid-template-columns: repeat(4, 1fr) auto auto; gap: 12px; align-items: end; }
label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; color: #52625a; }
input, select, button { font: inherit; border-radius: 10px; border: 1px solid #c6d4cc; padding: 11px 12px; }
button { cursor: pointer; border: 0; background: #087443; color: white; font-weight: 750; }
button.secondary { background: #e6eee9; color: #244337; }
button.danger { background: #fff0ed; color: #a52c22; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 8px; border-bottom: 1px solid #e3ebe6; }
th { color: #67766e; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
td small { display: block; color: #6b7871; margin-top: 3px; }
.actions { text-align: right; white-space: nowrap; }
.actions button { margin-left: 6px; padding: 8px 10px; }
.badge, .pill { display: inline-block; border-radius: 999px; padding: 6px 9px; font-size: .75rem; font-weight: 800; }
.badge.lead { background: #fff3c9; color: #785d00; } .badge.active, .pill.online { background: #d7f6e5; color: #08653d; } .badge.inactive, .pill.offline { background: #e9edeb; color: #59655f; }
.stream ol { margin: 0; padding-left: 24px; color: #506159; }
.empty { text-align: center; color: #78857e; padding: 34px; }
#message { color: #a52c22; min-height: 1.2em; }
@media (max-width: 850px) { form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { main { margin: 24px auto; } header, .section-title { align-items: flex-start; } form { grid-template-columns: 1fr; } .table-wrap { overflow-x: auto; } }
