 :root {
     --color-bg: #0d1119;
     --color-bg-muted: #161b22;
     --color-surface: #1f242b;
     --color-border: #30363d;
     --color-border-muted: rgba(240, 246, 252, 0.1);
     --color-text: #c9d1d9;
     --color-text-muted: #8b949e;
     --color-accent: #2f81f7;
     --color-accent-muted: rgba(56, 139, 253, 0.4);
     --color-success: #3fb950;
     --color-danger: #f85149;
     --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
     --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
     --sidebar-width: 320px;
     --content-max: 1200px;
     --radius-md: 12px;
     --shadow-elevated: 0 8px 24px rgba(1, 4, 9, 0.65);
 }
 
 * {
     box-sizing: border-box;
 }
 
 html,
 body {
     margin: 0;
     padding: 0;
     /* background: var(--color-bg); */
     color: var(--color-text);
     font-family: var(--font-sans);
     line-height: 1.6;
     min-height: 100%;
 }
 
 img {
     max-width: 100%;
     height: auto;
     display: block;
 }
 
 a {
     color: var(--color-accent);
     text-decoration: none;
     transition: color 0.2s ease, opacity 0.2s ease;
 }
 
 a:hover,
 a:focus-visible {
     color: #58a6ff;
 }
 
 p,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     margin: 0 0 1rem;
 }
 
 ul,
 ol {
     margin: 0;
     padding: 0;
     list-style: none;
 }
 
 button {
     font-family: inherit;
     border: none;
     cursor: pointer;
 }

select {
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-muted);
    color: var(--color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    min-width: 140px;
}

select:focus-visible {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(47, 129, 247, 0.3);
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
 
 .page {
     display: flex;
     min-height: 100vh;
 }
 
 .sidebar {
     width: var(--sidebar-width);
     background: var(--color-bg-muted);
     border-right: 1px solid var(--color-border);
     padding: 2.5rem 2rem;
     position: sticky;
     top: 0;
     height: 100vh;
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }
 
 .sidebar__profile {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     gap: 1rem;
 }
 
 .sidebar__avatar {
     width: 120px;
     height: 120px;
     border-radius: 50%;
     border: 2px solid var(--color-border);
     box-shadow: var(--shadow-elevated);
 }
 
 .sidebar__name {
     font-size: 1.5rem;
     font-weight: 600;
 }
 
 .sidebar__username {
     font-size: 0.95rem;
     color: var(--color-text-muted);
 }
 
 .sidebar__meta {
     display: flex;
     justify-content: center;
     gap: 1.5rem;
     font-size: 0.9rem;
 }
 
 .sidebar__meta span {
     display: flex;
     align-items: center;
     gap: 0.35rem;
     color: var(--color-text-muted);
 }
 
.sidebar__meta svg {
    width: 16px;
    height: 16px;
}

.sidebar__organizations {
    margin-top: 0.5rem;
}

.sidebar__organizations-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.sidebar__organizations-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar__org-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: background-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.sidebar__org-item:hover {
    background: var(--color-accent-muted);
    transform: translateX(2px);
}

.sidebar__org-avatar {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.sidebar__org-name {
    font-size: 0.8rem;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar__org-role {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    padding: 0.1rem 0.3rem;
    background: rgba(56, 139, 253, 0.1);
    border: 1px solid rgba(56, 139, 253, 0.2);
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
 
 .sidebar__nav a {
     padding: 0.6rem 0.8rem;
     border-radius: 8px;
     color: var(--color-text);
     border: 1px solid transparent;
 }
 
 .sidebar__nav a:hover,
 .sidebar__nav a:focus-visible,
 .sidebar__nav a[aria-current="page"] {
     background: var(--color-accent-muted);
     border-color: var(--color-border);
 }
 
 .page__content {
     flex: 1;
     padding: 3rem;
     max-width: calc(100% - var(--sidebar-width));
 }
 
 .page__header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2.5rem;
 }
 
 .page__title {
     font-size: 2rem;
     font-weight: 600;
 }
 
 .card {
     background: var(--color-bg-muted);
     border: 1px solid var(--color-border);
     border-radius: var(--radius-md);
     padding: 1.5rem;
     box-shadow: 0 0 transparent;
     transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
 }
 
 .card:hover {
     transform: translateY(-2px);
     box-shadow: var(--shadow-elevated);
     border-color: var(--color-accent-muted);
 }
 
 .tag {
     display: inline-flex;
     align-items: center;
     gap: 0.35rem;
     padding: 0.15rem 0.65rem;
     border-radius: 999px;
     font-size: 0.75rem;
     background: rgba(56, 139, 253, 0.1);
     color: #58a6ff;
     border: 1px solid rgba(56, 139, 253, 0.2);
 }
 
 @media (max-width: 1024px) {
     :root {
         --sidebar-width: 280px;
     }
 
     .page__content {
         padding: 2rem;
     }
 }
 
 @media (max-width: 820px) {
     .page {
         flex-direction: column;
     }
 
     .sidebar {
         position: relative;
         width: 100%;
         height: auto;
         border-right: none;
         border-bottom: 1px solid var(--color-border);
         flex-direction: row;
         align-items: center;
         justify-content: space-between;
         padding: 1rem 1.5rem;
         gap: 1.5rem;
     }
 
     .sidebar__profile {
         flex-direction: row;
         text-align: left;
         gap: 1rem;
     }
 
     .sidebar__avatar {
         width: 64px;
         height: 64px;
     }
 
    .sidebar__organizations {
        display: none;
    }

    .sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .page__content {
        max-width: 100%;
    }
}
 
 @media (max-width: 520px) {
     .sidebar {
         flex-direction: column;
         align-items: flex-start;
         gap: 1rem;
     }
 
     .page__content {
         padding: 1.5rem;
     }
 }
