:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #172033; background: #f4f6fa; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 36px auto; }
header, .section-title, .tenant-heading, .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h1, h2, h3, p { margin-top: 0; }
.grid { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(440px, 1.5fr); gap: 20px; align-items: start; }
.card, .tenant { background: white; border: 1px solid #dfe4ee; border-radius: 12px; box-shadow: 0 5px 20px rgb(28 39 60 / 7%); padding: 22px; }
.narrow { max-width: 420px; margin: 12vh auto 0; }
.tenant { box-shadow: none; }
.tenant-list { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; margin-bottom: 14px; }
input, select { width: 100%; border: 1px solid #bbc4d4; border-radius: 7px; padding: 10px 11px; font: inherit; background: white; }
button { border: 0; border-radius: 7px; padding: 10px 14px; background: #2456d6; color: white; font: inherit; font-weight: 700; cursor: pointer; }
button.secondary { background: #e9edf5; color: #27334c; }
button:disabled { opacity: .55; cursor: wait; }
.muted { color: #657087; }
.error { color: #b42318; font-size: 14px; }
.hidden { display: none !important; }
.status { border-radius: 999px; padding: 5px 9px; background: #e9f8ef; color: #16713c; font-size: 12px; font-weight: 800; }
.webhook { overflow-wrap: anywhere; padding: 10px; background: #f5f7fb; border-radius: 7px; font-family: ui-monospace, monospace; font-size: 12px; }
details { margin-top: 12px; border-top: 1px solid #e4e8f0; padding-top: 12px; }
summary { cursor: pointer; font-weight: 750; margin-bottom: 14px; }
.compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.compact-grid .actions, .compact-grid .error { grid-column: 1 / -1; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } .compact-grid { grid-template-columns: 1fr; } }
