:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --sidebar: #0e1016;
  --panel: #11141c;
  --panel-raised: #151822;
  --line: #20232e;
  --line-soft: #1b1e28;
  --text: #f0f0f5;
  --muted: #8b8e9d;
  --subtle: #606473;
  --purple: #9278ff;
  --purple-bright: #a38dff;
  --green: #4ed5a0;
  --cyan: #58c8ee;
  --orange: #e7a761;
  --red: #ef777f;
  --font: "DM Sans", sans-serif;
  --display: "Space Grotesk", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 360px; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { width: 244px; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 25px 15px 14px; background: var(--sidebar); border-right: 1px solid var(--line-soft); z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 30px; height: 30px; padding: 6px; border: 1px solid #554493; border-radius: 9px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-8deg); }
.brand-mark span { border-radius: 2px; background: #a18bff; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { opacity: .48; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font: 700 22px var(--display); letter-spacing: -.9px; }
.brand-copy small { margin-top: 5px; font-size: 8px; letter-spacing: 2.2px; color: var(--muted); font-weight: 700; }
.workspace-switcher { display: flex; align-items: center; gap: 10px; margin: 34px 0 27px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #12151c; }
.workspace-avatar { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; color: #d7cdff; font-weight: 700; background: linear-gradient(145deg, #44336f, #25213b); }
.workspace-copy, .profile-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.workspace-copy strong, .profile-copy strong { font-size: 11px; font-weight: 600; }
.workspace-copy span, .profile-copy small { color: var(--muted); font-size: 10px; }
.workspace-menu { margin-left: auto; font-size: 17px !important; color: var(--muted) !important; }
.nav-label { padding: 0 11px; margin: 0 0 9px; color: #666a79; font-size: 9px; font-weight: 700; letter-spacing: 1.15px; }
.nav-label-spaced { margin-top: 29px; }
.primary-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-link { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 11px; border: 0; border-radius: 7px; text-align: left; background: transparent; color: #a0a2af; font-size: 12px; transition: background .2s, color .2s; }
.nav-link:hover { background: #171923; color: var(--text); }
.nav-link.active { background: #1c192b; color: #c1b4ff; }
.nav-icon { width: 17px; color: #9295a3; text-align: center; font-size: 16px; }
.nav-link.active .nav-icon { color: var(--purple-bright); }
.nav-count { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: #242632; font-size: 10px; color: #b7b9c3; }
.nav-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px #4ed5a077; }
.sidebar-bottom { margin-top: auto; }
.usage-card { padding: 13px 12px 12px; border: 1px solid var(--line); border-radius: 9px; background: #12151c; }
.usage-title { display: flex; justify-content: space-between; font-size: 10px; color: #c3c4ce; }
.usage-title strong { color: #d5caff; font-size: 10px; }
.progress-track { height: 5px; margin: 11px 0 7px; border-radius: 8px; overflow: hidden; background: #282632; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #765be9, #aa90ff); }
.usage-card > small { color: var(--muted); font-size: 9px; }
.usage-link { display: flex; justify-content: space-between; width: 100%; margin-top: 12px; padding: 9px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: #b4a3ff; font-size: 10px; }
.profile-button { width: 100%; margin-top: 14px; padding: 12px 6px 2px; display: flex; align-items: center; gap: 9px; border: 0; border-top: 1px solid var(--line-soft); text-align: left; background: transparent; }
.avatar { width: 25px; height: 25px; display: inline-grid; flex: 0 0 auto; place-items: center; border: 2px solid var(--panel); border-radius: 50%; color: white; font-size: 8px; font-weight: 700; }
.avatar-user { width: 31px; height: 31px; font-size: 9px; }
.avatar-a { background: #795ccc; }.avatar-b { background: #2c8a83; }.avatar-c { background: #39495e; }.avatar-d { background: #b87845; }.avatar-e { background: #b55571; }.avatar-f { background: #5478ac; }
.profile-more { margin-left: auto; color: var(--muted); font-size: 18px; letter-spacing: 1px; }
.logout-button { width: 100%; margin-top: 8px; padding: 7px 10px 0 46px; display: flex; justify-content: space-between; border: 0; background: transparent; color: #858896; font-size: 9px; text-align: left; }
.logout-button:hover { color: #c3b4ff; }
.main-area { min-height: 100vh; margin-left: 244px; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 35px; border-bottom: 1px solid var(--line-soft); background: rgba(14,16,22,.86); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 11px; }
.breadcrumb b { color: #474a56; font-weight: 400; }.breadcrumb strong { color: #dadbe2; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 13px; }
.search-box { width: 206px; height: 33px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid #252833; border-radius: 6px; background: #12151b; color: #7f8290; }
.search-box > span { font-size: 18px; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.search-box input::placeholder { color: #747784; }
kbd { flex: 0 0 auto; padding: 3px 4px; border: 1px solid #30333e; border-radius: 4px; color: #7f8290; font: 9px var(--font); }
.icon-button { width: 30px; height: 30px; display: inline-grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #9699a6; font-size: 17px; }
.icon-button:hover { color: var(--text); background: #1a1d27; }
.notification-wrap { position: relative; }
.notification-button { position: relative; font-size: 17px; }
.notification-button i { position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border: 1px solid var(--sidebar); border-radius: 50%; background: var(--purple); }
.notification-popover { display: none; position: absolute; top: 39px; right: 0; width: 275px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #161923; box-shadow: 0 18px 45px #0008; z-index: 40; }
.notification-popover.open { display: block; }
.notification-popover > strong { display: block; margin-bottom: 12px; font: 600 14px var(--display); }
.notification-popover p { display: flex; gap: 9px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.notice-dot { width: 7px; height: 7px; margin-top: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }.notice-dot.amber { background: var(--orange); }
.notification-popover p span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 10px; }.notification-popover p small { color: var(--muted); font-size: 9px; }
.notification-popover > button { width: 100%; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: #c2b5ff; font-size: 10px; }
.help-button { padding: 8px 10px; border: 1px solid #292c38; border-radius: 6px; background: #141720; color: #c3c4ce; font-size: 10px; }.help-button span { margin-left: 5px; color: var(--muted); }
.mobile-menu { display: none; }
.content { max-width: 1570px; margin: auto; padding: 31px 35px 20px; }
.page-view { display: none; }.page-view.active { display: block; animation: appear .22s ease-out; }
@keyframes appear { from { opacity: .45; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; }
.eyebrow { margin: 0 0 9px; color: #777b89; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.live-pulse { width: 5px; height: 5px; display: inline-block; margin: 0 5px 1px 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px #4ed5a0aa; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 6px; font: 600 27px/1.2 var(--display); letter-spacing: -.75px; }
h1 > span { color: #b5a2ff; font-size: 18px; vertical-align: 3px; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 11px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.button { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 6px; font-size: 10px; font-weight: 600; transition: filter .2s, transform .2s; }
.button:hover { filter: brightness(1.13); transform: translateY(-1px); }
.button-primary { border-color: #947cff; background: linear-gradient(135deg, #9a80ff, #795fef); color: #fff; box-shadow: 0 3px 12px #8569ff22; }
.button-primary span { font-size: 15px; }
.button-secondary { border-color: var(--line); background: #171a23; color: #d5d5de; }
.select-control { height: 34px; padding: 0 29px 0 10px; border: 1px solid #272a35; border-radius: 6px; outline: none; appearance: none; background: #13161e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='m2 3.5 3 3 3-3' fill='none' stroke='%23888b99' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 10px center; color: #b8bac5; font-size: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 15px; }
.stat-card, .panel { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.stat-card { min-height: 111px; padding: 14px 15px 11px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; color: #a4a6b2; font-size: 10px; }
.stat-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; font-size: 13px; }
.violet { color: #b4a4ff; background: #29233d; }.cyan { color: #78d7f0; background: #1b2c36; }.green { color: #67dcb0; background: #1b302c; }.orange { color: #e7b379; background: #342a22; }
.stat-value { margin: 7px 0 5px; font: 600 25px/1 var(--display); letter-spacing: -.75px; }.stat-unit { margin-left: 2px; font-size: 15px; color: #c1c2cb; }
.stat-foot { display: flex; align-items: center; gap: 6px; color: #777a88; font-size: 9px; }.trend { font-weight: 600; }.positive { color: #55d5a1; }
.sparkline { margin-left: auto; font-size: 15px; letter-spacing: -2px; line-height: 1; }.purple { color: #9c83ff; }.blue { color: #5ec6ed; }.green-text { color: #52d1a0; }.orange-text { color: #d6a168; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .95fr); gap: 14px; margin-bottom: 15px; }
.panel { padding: 15px; }.activity-panel, .health-panel { min-height: 271px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.panel-heading h2 { margin: 0 0 4px; font: 600 13px var(--display); letter-spacing: -.1px; }.panel-heading p { margin: 0; color: #838694; font-size: 9px; }
.subtle-button { margin-top: -5px; font-size: 18px; }
.chart-legend { height: 37px; display: flex; align-items: center; gap: 14px; color: #8b8e9b; font-size: 9px; }
.chart-legend > span:not(.chart-total) { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; }.violet-bg { background: #9a80ff; }.muted-bg { background: #4a4d5b; }.amber-bg { background: #e6a858; }.red-bg { background: #e76d76; }
.chart-total { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }.chart-total strong { color: #e9e9ef; font: 600 17px var(--display); }.chart-total small { color: #777a88; font-size: 8px; }
.chart-wrap { height: 159px; position: relative; padding: 0 5px 17px 30px; }
.y-labels { position: absolute; top: 1px; bottom: 17px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: #686b79; font-size: 8px; }
.activity-chart { width: 100%; height: 137px; overflow: visible; }.grid-line { fill: none; stroke: #252833; stroke-dasharray: 3 4; stroke-width: 1; }.chart-area { fill: url(#chartFill); }.chart-line, .build-line { fill: none; stroke: #997cff; stroke-width: 2; vector-effect: non-scaling-stroke; }.build-line { stroke: #4c5060; stroke-width: 1.5; }.chart-point { fill: #b6a4ff; stroke: #251e3c; stroke-width: 3; }
.x-labels { position: absolute; right: 3px; bottom: 0; left: 30px; display: flex; justify-content: space-between; color: #686b79; font-size: 8px; }
.status-pill { width: fit-content; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #244036; border-radius: 20px; color: #65d6a8; background: #18251f; font-size: 9px; white-space: nowrap; }.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-building { color: #dfb065; border-color: #493b26; background: #2a241b; }.status-live { color: #63d4a3; border-color: #244036; background: #18251f; }
.health-list { margin-top: 13px; }.health-row { min-height: 43px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line-soft); }.health-row:last-child { border: 0; }
.health-mark { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #292c38; border-radius: 6px; color: #b7a5ff; background: #191a27; font-size: 12px; }
.health-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }.health-copy strong { font-size: 9px; font-weight: 500; }.health-copy small { color: #747785; font-size: 8px; }.health-value { color: #999ca8; font-size: 8px; }.health-indicator { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px #4ed5a066; }
.text-link { padding: 0; border: 0; background: transparent; color: #b5a2ff; font-size: 9px; font-weight: 500; }.text-link span { margin-left: 5px; font-size: 12px; }.health-panel > .text-link { margin: 11px 0 0 1px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 14px; }
.projects-panel, .activity-feed { min-height: 287px; }.projects-panel .panel-heading, .activity-feed .panel-heading { margin-bottom: 12px; align-items: center; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead th { height: 30px; border-bottom: 1px solid var(--line); color: #727583; font-size: 8px; font-weight: 600; letter-spacing: .45px; }
tbody td { height: 48px; border-bottom: 1px solid var(--line-soft); color: #bfc0ca; font-size: 9px; }tbody tr:last-child td { border-bottom: 0; }
td:first-child, th:first-child { padding-left: 3px; }td:last-child, th:last-child { text-align: right; padding-right: 3px; }
.project-name { display: flex; align-items: center; gap: 8px; }.project-logo { width: 25px; height: 25px; display: inline-grid; place-items: center; border: 1px solid #37304f; border-radius: 7px; font: 600 11px var(--display); }.logo-purple { color: #c1adff; background: #262037; }.logo-blue { color: #84d1ef; border-color: #233844; background: #182833; }.logo-orange { color: #eab87a; border-color: #463629; background: #2b231c; }.logo-green { color: #68d3a9; border-color: #274137; background: #192821; }
.project-name > span:last-child { display: flex; flex-direction: column; gap: 3px; }.project-name strong { color: #e0e0e7; font-size: 9px; font-weight: 600; }.project-name small { color: #737684; font-size: 8px; }.time-text { color: #9799a5; }
.avatar-stack { display: flex; align-items: center; padding-left: 5px; }.avatar-stack .avatar { width: 22px; height: 22px; margin-left: -5px; border-width: 2px; }
.row-menu { border: 0; background: transparent; color: #777a87; font-size: 15px; }.empty-state { padding: 26px; color: var(--muted); text-align: center; font-size: 11px; }
.feed-list { margin-top: 7px; }.feed-item { min-height: 49px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-soft); }.feed-avatar { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: 7px; font-weight: 700; }.feed-item > div { min-width: 0; flex: 1; }.feed-item p { margin: 0 0 4px; overflow: hidden; color: #b9bbc6; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.feed-item p strong { color: #e0e1e9; font-weight: 600; }.feed-item p b { color: #c5b7ff; font-weight: 500; }.feed-item small { color: #767987; font-size: 8px; }.feed-item small span { margin: 0 3px; }
.feed-check, .feed-merge, .feed-plus, .feed-settings { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 5px; background: #1b3029; color: #59d6a1; font-size: 10px; }.feed-merge { color: #8d78e4; background: #262238; }.feed-plus { color: #6dc5dd; background: #1c2a33; }.feed-settings { color: #d7a464; background: #30271f; font-size: 8px; }.feed-link { margin-top: 12px; }
.footer { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px 0; color: #676a77; font-size: 8px; }.footer > span:nth-child(2) { color: #7c9f8f; }.footer-dot, .online-dot { width: 5px; height: 5px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--green); vertical-align: 1px; }.footer a { color: #818492; text-decoration: none; }
.compact-stats { margin-bottom: 18px; }.compact-stats .stat-card { min-height: 104px; }.full-table-panel { min-height: 300px; }.full-table-panel .panel-heading { align-items: center; margin-bottom: 13px; }.table-actions { display: flex; gap: 8px; }
.team-summary { display: flex; gap: 22px; padding: 14px 16px; margin-bottom: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: #9b9eaa; font-size: 10px; }.team-summary b { margin-right: 4px; color: #ececf2; font: 600 15px var(--display); }.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }.team-card { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }.team-card-top { display: flex; justify-content: space-between; align-items: flex-start; }.team-avatar { width: 37px; height: 37px; display: grid; place-items: center; border: 2px solid #ffffff0d; border-radius: 11px; color: #fff; font-size: 11px; font-weight: 700; }.team-online { width: 7px; height: 7px; margin: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px #4ed5a088; }.team-card h3 { margin: 12px 0 3px; font: 600 12px var(--display); }.team-card p { margin: 0; color: var(--muted); font-size: 9px; }.team-card-bottom { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line-soft); color: #848795; font-size: 9px; }.role-pill { color: #bdadff; }
.analytics-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }.analytics-grid .panel { min-height: 275px; }.analytics-chart { height: 180px; margin-top: 26px; border-bottom: 1px solid #272a35; background: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, #242731 44px, transparent 45px); }.analytics-bars { height: 100%; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 12px; }.analytics-bars span { width: 5%; max-width: 20px; min-width: 7px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #9a80ff, #6751bf77); opacity: .85; }.result-summary { height: 210px; display: flex; align-items: center; justify-content: center; gap: 28px; }.donut-chart { width: 130px; height: 130px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#9177ff 0 85%, #e6a858 85% 92%, #e76d76 92% 100%); }.donut-chart > div { width: 99px; height: 99px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--panel); }.donut-chart strong { font: 600 20px var(--display); }.donut-chart small { margin-top: 3px; color: var(--muted); font-size: 9px; }.result-legend p { display: flex; align-items: center; gap: 7px; color: #9b9daa; font-size: 9px; }.result-legend b { margin-left: auto; padding-left: 12px; color: #e0e1e7; }
.settings-grid { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 14px; align-items: start; }.settings-nav { padding: 8px; display: flex; flex-direction: column; }.settings-tab { padding: 10px; border: 0; border-radius: 5px; text-align: left; background: transparent; color: #a5a7b3; font-size: 10px; }.settings-tab:hover { background: #191c26; }.settings-tab.active { background: #211d31; color: #c2b3ff; }.settings-content { padding: 22px; }.settings-content h2 { margin: 0 0 6px; font: 600 15px var(--display); }.settings-content > p { margin-bottom: 22px; color: var(--muted); font-size: 10px; }.form-label { display: block; margin: 0 0 15px; color: #c6c7d0; font-size: 10px; font-weight: 500; }.form-input { width: 100%; min-height: 36px; display: block; margin-top: 7px; padding: 9px 10px; border: 1px solid #2a2d39; border-radius: 6px; outline: 0; resize: vertical; background: #0f1118; color: #dedfe6; font-size: 10px; }.form-input:focus { border-color: #7661c5; }.url-input { display: flex; align-items: center; margin-top: 7px; padding-left: 10px; border: 1px solid #2a2d39; border-radius: 6px; background: #0f1118; color: #777b89; font-size: 10px; }.url-input .form-input { margin: 0; border: 0; }.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-soft); }.setting-row > div { display: flex; flex-direction: column; gap: 4px; }.setting-row strong { font-size: 10px; font-weight: 500; }.setting-row small { color: var(--muted); font-size: 9px; }.toggle { position: relative; width: 31px; height: 18px; }.toggle input { width: 0; height: 0; opacity: 0; }.toggle span { position: absolute; inset: 0; border-radius: 12px; background: #353844; cursor: pointer; transition: background .2s; }.toggle span::before { content: ""; position: absolute; width: 12px; height: 12px; top: 3px; left: 3px; border-radius: 50%; background: #d7d8df; transition: transform .2s; }.toggle input:checked + span { background: #765fe0; }.toggle input:checked + span::before { transform: translateX(13px); background: white; }
.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: #05060ab8; backdrop-filter: blur(5px); z-index: 50; }.modal-backdrop[hidden] { display: none; }.modal { width: min(100%, 410px); position: relative; padding: 28px; border: 1px solid #2c2d3b; border-radius: 13px; background: #141720; box-shadow: 0 25px 100px #0009; }.modal-close { position: absolute; top: 15px; right: 15px; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: #a5a7b2; font-size: 18px; }.modal-icon { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid #40365f; border-radius: 9px; background: #242039; color: #c3b4ff; }.modal h2 { margin: 0 0 6px; font: 600 19px var(--display); }.modal-copy { margin-bottom: 21px; color: var(--muted); font-size: 10px; line-height: 1.6; }.modal-submit { width: 100%; margin-top: 3px; }.modal-submit span { margin-left: auto; }
.toast { position: fixed; right: 25px; bottom: 22px; z-index: 80; padding: 11px 15px; border: 1px solid #34313f; border-radius: 7px; opacity: 0; transform: translateY(9px); pointer-events: none; background: #1b1d27; color: #e7e5ef; box-shadow: 0 10px 30px #0005; font-size: 11px; transition: .2s ease; }.toast.show { opacity: 1; transform: translateY(0); }
.auth-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow-y: auto; padding: 24px; background: radial-gradient(ellipse at 50% 30%, #211a39 0, #0d0f15 48%, #090a0f 100%); }
.auth-screen[hidden], [hidden] { display: none !important; }
.auth-card { width: min(100%, 410px); padding: 29px; border: 1px solid #2a2d39; border-radius: 13px; background: #13161e; box-shadow: 0 22px 80px #0008; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }.auth-brand > span:last-child { display: flex; flex-direction: column; }.auth-brand strong { font: 700 22px var(--display); letter-spacing: -.9px; }.auth-brand small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 2px; }
.auth-card h1 { margin-bottom: 8px; font-size: 23px; }.auth-description { margin-bottom: 19px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.owner-badge { display: flex; align-items: center; gap: 10px; padding: 10px; margin: 0 0 19px; border: 1px solid #312943; border-radius: 8px; background: #1a1725; }.owner-badge > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }.owner-badge strong { font-size: 10px; }.owner-badge small { color: #b7a5ff; font-size: 9px; }.owner-badge > b { color: #bba8ff; }
.password-hint { margin: -7px 0 15px; color: #828593; font-size: 9px; line-height: 1.5; }.auth-submit { width: 100%; min-height: 39px; margin-top: 3px; }.auth-submit span { margin-left: auto; }
.auth-error { margin: 13px 0 0; padding: 10px; border: 1px solid #633b42; border-radius: 6px; background: #2a1c22; color: #ffabb0; font-size: 10px; line-height: 1.5; }.auth-footer { margin: 20px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #7e818e; font-size: 9px; }.auth-footer .footer-dot { margin-right: 7px; }
body.light-mode .auth-screen { background: radial-gradient(ellipse at 50% 30%, #e8e2ff 0, #f4f5f8 55%, #eceef3 100%); }body.light-mode .auth-card { border-color: #e1e2e8; background: #fff; }body.light-mode .owner-badge { border-color: #e6e1f3; background: #f7f5ff; }
body.light-mode { color-scheme: light; --bg: #f4f5f8; --sidebar: #fff; --panel: #fff; --panel-raised: #f8f8fb; --line: #e4e5eb; --line-soft: #ececf1; --text: #242631; --muted: #777a88; --subtle: #8b8e9b; }
body.light-mode .sidebar, body.light-mode .topbar { background: var(--sidebar); }body.light-mode .workspace-switcher, body.light-mode .usage-card, body.light-mode .search-box, body.light-mode .select-control, body.light-mode .help-button, body.light-mode .button-secondary, body.light-mode .settings-tab.active { background-color: #f5f5f9; }body.light-mode .nav-link.active { background: #f0edff; }body.light-mode .stat-value, body.light-mode .project-name strong, body.light-mode .breadcrumb strong, body.light-mode .panel-heading h2 { color: #242631; }body.light-mode .form-input, body.light-mode .url-input { background: #fbfbfd; color: #242631; }body.light-mode .donut-chart > div { background: white; }
@media (max-width: 1180px) { .content { padding-right: 24px; padding-left: 24px; }.topbar { padding: 0 24px; }.sidebar { width: 220px; }.main-area { margin-left: 220px; }.stats-grid { gap: 10px; }.stat-card { padding: 13px 11px; }.dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(270px, .95fr); }.lower-grid { grid-template-columns: 1.35fr 1fr; gap: 10px; }.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sidebar { width: 68px; padding: 20px 10px 12px; }.brand { justify-content: center; padding: 0; }.brand-copy, .workspace-copy, .workspace-menu, .nav-label, .nav-link:not(.active) .nav-count, .nav-link .nav-count, .nav-link:not(.active) .nav-dot, .nav-link .nav-dot, .nav-link { font-size: 0; }.workspace-switcher { justify-content: center; padding: 8px 4px; margin: 28px 0 20px; }.primary-nav { align-items: center; }.nav-link { width: 43px; height: 42px; justify-content: center; gap: 0; padding: 0; font-size: 0; }.nav-icon { font-size: 17px; }.nav-label-spaced { display: none; }.sidebar-bottom { display: flex; flex-direction: column; align-items: center; }.usage-card { display: none; }.profile-button { justify-content: center; padding: 12px 0 0; }.profile-copy, .profile-more { display: none; }.main-area { margin-left: 68px; }.dashboard-grid { grid-template-columns: minmax(0, 1.45fr) minmax(245px, .95fr); }.lower-grid { grid-template-columns: 1fr; }.projects-panel, .activity-feed { min-height: auto; }.activity-feed { padding-bottom: 14px; }.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { body { min-width: 360px; }.sidebar { width: 250px; transform: translateX(-100%); transition: transform .22s; box-shadow: 15px 0 45px #0005; }.sidebar.mobile-open { transform: translateX(0); }.brand { justify-content: flex-start; padding: 0 10px; }.brand-copy, .workspace-copy, .workspace-menu, .nav-label, .profile-copy, .profile-more { display: initial; }.brand-copy { display: flex; }.workspace-switcher { justify-content: flex-start; padding: 10px; margin: 30px 0 24px; }.workspace-menu { margin-left: auto; }.primary-nav { align-items: stretch; }.nav-label { display: block; }.nav-link { width: 100%; height: 39px; justify-content: flex-start; gap: 11px; padding: 0 11px; font-size: 12px; }.nav-icon { width: 17px; }.nav-link .nav-count { margin-left: auto; font-size: 10px; }.nav-link .nav-dot { margin-left: auto; }.nav-label-spaced { display: block; }.sidebar-bottom { display: block; }.usage-card { display: block; }.profile-button { justify-content: flex-start; padding: 12px 6px 2px; }.profile-copy { display: flex; }.profile-more { display: block; }.main-area { margin: 0; }.topbar { height: 57px; padding: 0 15px; gap: 10px; }.mobile-menu { display: inline-grid; flex: 0 0 auto; }.breadcrumb { margin-right: auto; font-size: 10px; }.topbar-actions { gap: 5px; }.search-box { width: 34px; padding: 0 7px; border-color: transparent; background: transparent; }.search-box input, .search-box kbd { display: none; }.search-box:focus-within { width: 155px; border-color: var(--line); background: var(--panel); }.search-box:focus-within input { display: block; }.theme-toggle, .help-button { display: none; }.content { padding: 24px 15px 18px; }.page-heading { align-items: flex-start; gap: 15px; flex-direction: column; margin-bottom: 19px; }.page-heading > .button { align-self: stretch; }.heading-actions { width: 100%; }.heading-actions .select-control { flex: 1; }.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 11px; }.stat-card { min-height: 105px; padding: 12px 11px 10px; }.stat-value { font-size: 23px; }.stat-foot { flex-wrap: wrap; row-gap: 3px; font-size: 8px; }.sparkline { display: none; }.dashboard-grid, .lower-grid, .analytics-grid { grid-template-columns: 1fr; gap: 11px; margin-bottom: 11px; }.activity-panel, .health-panel { min-height: 0; }.chart-wrap { height: 154px; }.activity-chart { height: 132px; }.health-panel { padding-bottom: 14px; }.projects-panel { padding: 13px 11px; }.panel-heading h2 { font-size: 12px; }.projects-panel .panel-heading { align-items: flex-start; }.projects-panel .text-link { white-space: nowrap; }.footer { gap: 9px; flex-wrap: wrap; }.footer > span:nth-child(2) { order: 3; width: 100%; }.compact-stats .stat-card { min-height: 98px; }.table-actions { width: 100%; }.table-actions .select-control { flex: 1; }.full-table-panel .panel-heading { align-items: flex-start; flex-direction: column; }.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.team-card { padding: 12px; }.team-summary { gap: 12px; flex-wrap: wrap; }.settings-grid { grid-template-columns: 1fr; }.settings-nav { flex-direction: row; overflow-x: auto; }.settings-tab { flex: 0 0 auto; }.settings-content { padding: 16px; }.analytics-grid .panel { min-height: 250px; }.result-summary { gap: 15px; }.donut-chart { width: 112px; height: 112px; }.donut-chart > div { width: 85px; height: 85px; }.toast { right: 12px; bottom: 12px; left: 12px; text-align: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 900px) { .logout-button { display: none; } }
@media (max-width: 680px) { .logout-button { display: flex; } }
