html, body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; margin: 0; color: #1f2937; background: #f8fafc; }
a { color: #0f766e; }
.page { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: #0f172a; color: #e2e8f0; padding: 1rem; }
.sidebar .brand-block { font-weight: 700; margin-bottom: 1rem; letter-spacing: .05em; }
.sidebar nav { display: flex; flex-direction: column; gap: .25rem; }
.sidebar nav a { color: #cbd5e1; padding: .5rem .75rem; border-radius: .375rem; text-decoration: none; }
.sidebar nav a:hover, .sidebar nav a.active { background: #1e293b; color: #fff; }
main { flex: 1; display: flex; flex-direction: column; }
.top-row { height: 3rem; display: flex; align-items: center; border-bottom: 1px solid #e5e7eb; background: #fff; }
.brand { font-weight: 600; }
.content { padding: 1.5rem; }
h1 { font-size: 1.5rem; margin: 0 0 1rem 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; padding: 1rem; }
.card .title { color: #64748b; font-size: .875rem; margin-bottom: .5rem; }
.card .value { font-size: 1.75rem; font-weight: 700; }

.toolbar { display: flex; gap: .5rem; margin: 1rem 0; }
.toolbar input, .toolbar select { padding: .375rem .5rem; border: 1px solid #cbd5e1; border-radius: .375rem; }
.toolbar button { padding: .375rem .75rem; background: #0f766e; color: #fff; border: 0; border-radius: .375rem; cursor: pointer; }

table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; overflow: hidden; }
th, td { padding: .5rem .75rem; border-bottom: 1px solid #f1f5f9; text-align: left; font-size: .9rem; }
th { background: #f8fafc; color: #475569; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.pager { margin-top: .5rem; color: #64748b; font-size: .875rem; }