* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #f4f6f8; color: #1d2733; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #12355b; color: #fff; }
nav a, nav .link { color: #fff; text-decoration: none; margin-left: 14px; }
.brand { margin-left: 0 !important; font-weight: 700; }
main { max-width: 960px; margin: 24px auto; padding: 0 16px; }
.card { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.narrow { max-width: 440px; margin: 0 auto 16px; }
.row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.prop { text-decoration: none; color: inherit; }
.prop:hover { outline: 2px solid #f0b429; }
label { display: block; margin-bottom: 12px; font-size: 14px; }
input, select, textarea { width: 100%; padding: 9px; margin-top: 4px; border: 1px solid #c8d0d8; border-radius: 6px; font: inherit; }
.tabs { display: flex; gap: 16px; margin-bottom: 12px; }
.tabs label { display: flex; align-items: center; gap: 6px; margin: 0; }
.tabs input { width: auto; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
button, .btn { display: inline-block; background: #12355b; color: #fff; border: 0; padding: 10px 16px; border-radius: 6px; cursor: pointer; text-decoration: none; font: inherit; }
.btn.secondary { background: #6b7c8f; }
.btn.google { background: #fff; color: #333; border: 1px solid #c8d0d8; width: 100%; text-align: center; }
button.danger { background: #c0392b; }
button.link { background: none; padding: 0; }
button.link.danger { color: #c0392b; }
.inline { display: inline; }
.divider { text-align: center; color: #8a96a3; margin: 14px 0; }
.muted { color: #6b7c8f; }
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.alert.error { background: #fde8e6; color: #8e2a1f; }
.alert.ok { background: #e3f6e8; color: #1e6b34; }
.chart-box { position: relative; height: 340px; }
.inline-label { display: flex; align-items: center; gap: 8px; margin: 0; }
.inline-label select { width: auto; margin: 0; }
.small { font-size: 13px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #eef1f4; }
