* { box-sizing: border-box; font-family: "Inter", "Segoe UI", system-ui, sans-serif; }
body { margin: 0; background: var(--bg); color: var(--text); }
header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; }
.wrap { max-width: 980px; margin: 0 auto; padding: 20px 24px; }
.main-panel { padding-top: 32px; }
.brand { font-weight: 700; font-size: 18px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
nav a { color: var(--text-muted); text-decoration: none; margin-left: 14px; font-weight: 600; font-size: 14px; position: relative; transition: color 0.2s ease; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
nav a.active, nav a:hover { color: var(--primary); }
nav a.active::after, nav a:hover::after { transform: scaleX(1); }
h1 { margin: 8px 0 8px; font-size: 28px; }
p { margin: 0; color: var(--text-muted); }
.dashboard { margin-top: 18px; }
.profile-actions { margin-top: 12px; }
.menu-section { margin-top: 32px; }
.profile-card { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #1f8b4c; color: #fff; display: grid; place-items: center; font-size: 20px; }
.profile-info { display: flex; flex-direction: column; gap: 4px; }
.profile-name { font-weight: 700; font-size: 16px; color: var(--text); }
.profile-email { font-size: 13px; color: var(--text-muted); }
.profile-role { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.role-badge { background: rgba(31, 139, 76, 0.16); color: #1f8b4c; border: 1px solid rgba(31, 139, 76, 0.35); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
a.card { background: var(--surface); border: 1px solid var(--border); padding: 16px; border-radius: 12px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--primary); }
a.card h3 { margin: 0 0 6px; }
a.card span { color: var(--primary); font-weight: 600; font-size: 13px; }
footer { margin-top: 32px; color: var(--text-muted); font-size: 12px; }
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
