@import url("/scripts/variables.css");

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-size: 13px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: var(--sidebar); display: flex; flex-direction: column; padding: 18px 12px 12px; background: var(--surface); border-right: 1px solid var(--border-soft); transition: transform .22s ease; }
.brand { display: flex; align-items: center; gap: 10px; padding: 5px 9px 20px; font-weight: 700; letter-spacing: -.35px; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #211b35; background: linear-gradient(145deg, #d2c4ff, #967aff); box-shadow: 0 3px 14px rgba(154,131,255,.22); font-size: 15px; }
.brand-name { font-size: 14px; }
.workspace-switch { display: flex; align-items: center; gap: 9px; padding: 9px; margin: 0 1px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); text-align: left; cursor: pointer; }
.workspace-avatar { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #de9b79; color: #251a15; font-weight: 750; }
.workspace-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.chevron { color: var(--subtle); font-size: 12px; }
.nav-group { margin: 0 0 16px; }
.nav-label { padding: 0 10px 7px; color: var(--subtle); font-size: 10px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.nav-link { min-height: 34px; display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin: 1px 0; color: var(--muted); border-radius: 7px; transition: color .15s, background .15s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-hover); }
.nav-link.active { font-weight: 570; }
.nav-icon { width: 17px; text-align: center; color: var(--subtle); font-size: 14px; }
.nav-link.active .nav-icon { color: var(--accent); }
.nav-count { margin-left: auto; color: var(--subtle); font-size: 11px; }
.sidebar-spacer { flex: 1; }
.user-menu { display: flex; align-items: center; gap: 9px; padding: 10px 7px 2px; border-top: 1px solid var(--border-soft); }
.user-avatar { width: 29px; height: 29px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #7663a7; color: white; font-size: 11px; font-weight: 700; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-details { min-width: 0; flex: 1; }
.user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; }
.user-email { overflow: hidden; margin-top: 3px; color: var(--subtle); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.icon-button { width: 31px; height: 31px; display: inline-grid; place-items: center; padding: 0; color: var(--muted); border: 1px solid transparent; border-radius: 7px; background: transparent; cursor: pointer; }
.icon-button:hover { color: var(--text); border-color: var(--border); background: var(--surface-hover); }
.main { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 10; height: var(--topbar); display: flex; align-items: center; gap: 15px; padding: 0 35px; border-bottom: 1px solid var(--border-soft); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); }
.breadcrumbs { min-width: 0; flex: 1; color: var(--muted); font-size: 12px; }
.breadcrumbs strong { color: var(--text); font-weight: 550; }
.search-trigger { width: min(260px, 30vw); display: flex; align-items: center; gap: 9px; padding: 8px 10px; color: var(--subtle); border: 1px solid var(--border); border-radius: 7px; background: var(--surface); text-align: left; cursor: pointer; }
.search-trigger kbd { margin-left: auto; padding: 2px 5px; color: var(--subtle); border: 1px solid var(--border); border-radius: 4px; font-size: 10px; }
.top-actions { display: flex; align-items: center; gap: 7px; }
.content { width: min(1220px, 100%); margin: 0 auto; padding: 37px 38px 60px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
h1 { margin: 0; font-size: clamp(22px, 3vw, 28px); font-weight: 650; letter-spacing: -.8px; }
h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
h3 { margin: 0; font-size: 13px; font-weight: 580; }
.page-description { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; color: var(--text); border: 1px solid var(--border); border-radius: 7px; background: var(--surface); cursor: pointer; transition: .15s ease; }
.button:hover { background: var(--surface-hover); border-color: color-mix(in srgb, var(--border) 60%, var(--muted)); }
.button.primary { color: #211b35; border-color: transparent; background: var(--accent); font-weight: 630; }
.button.primary:hover { background: var(--accent-strong); }
.button.danger { color: var(--red); }
.button.small { min-height: 29px; padding: 0 9px; font-size: 11px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.subnav { display: flex; align-items: center; gap: 18px; overflow-x: auto; margin: -8px 0 19px; border-bottom: 1px solid var(--border-soft); }
.subnav-link { flex: 0 0 auto; padding: 9px 1px 10px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 11px; }
.subnav-link:hover, .subnav-link.active { color: var(--text); }
.subnav-link.active { border-bottom-color: var(--accent); }
.toolbar select, .field input, .field select, .field textarea, .search-input { width: 100%; min-height: 37px; padding: 8px 10px; color: var(--text); border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.toolbar select { width: auto; min-width: 115px; min-height: 32px; padding: 5px 8px; color: var(--muted); font-size: 11px; }
.table-wrap, .panel { border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--surface); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 11px 13px; color: var(--subtle); border-bottom: 1px solid var(--border-soft); text-align: left; font-size: 10px; font-weight: 600; }
td { padding: 11px 13px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--surface-hover) 50%, transparent); }
.task-title { font-weight: 540; }
.task-id { margin-right: 8px; color: var(--subtle); font-size: 10px; }
.priority, .status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; color: var(--muted); border-radius: 5px; background: var(--surface-hover); font-size: 10px; }
.priority.urgent, .priority.high { color: var(--red); background: rgba(239,137,137,.11); }
.priority.medium { color: var(--yellow); background: rgba(232,187,115,.1); }
.priority.low { color: var(--blue); background: rgba(121,184,237,.1); }
.status-pill.done, .status-pill.completed { color: var(--green); background: rgba(120,201,161,.1); }
.status-pill.in_progress, .status-pill.active { color: var(--accent); background: var(--accent-soft); }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0 0 22px; }
.stat-card { padding: 16px; border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--surface); }
.stat-label { color: var(--muted); font-size: 11px; }
.stat-value { margin: 12px 0 5px; font-size: 27px; font-weight: 660; letter-spacing: -1px; }
.stat-hint { color: var(--subtle); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr); gap: 15px; }
.panel { min-width: 0; padding: 17px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.panel-head a { color: var(--accent); font-size: 11px; }
.project-list, .activity-list { display: grid; gap: 2px; }
.project-row, .activity-row { display: flex; align-items: center; gap: 10px; padding: 10px 7px; border-radius: 7px; }
.project-row:hover, .activity-row:hover { background: var(--surface-hover); }
.project-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 3px; background: var(--accent); }
.project-info { min-width: 0; flex: 1; }
.project-name { overflow: hidden; font-weight: 530; text-overflow: ellipsis; white-space: nowrap; }
.project-meta { margin-top: 4px; color: var(--subtle); font-size: 10px; }
.activity-mark { width: 25px; height: 25px; display: grid; flex: 0 0 auto; place-items: center; color: var(--accent); border-radius: 50%; background: var(--accent-soft); }
.activity-summary { font-size: 11px; line-height: 1.45; }
.activity-time { margin-top: 4px; color: var(--subtle); font-size: 10px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.board-column { min-width: 190px; padding: 10px; border: 1px solid var(--border-soft); border-radius: 10px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.column-head { display: flex; align-items: center; gap: 7px; padding: 4px 2px 12px; font-size: 11px; font-weight: 600; }
.column-count { margin-left: auto; color: var(--subtle); font-size: 10px; }
.task-card { padding: 12px; margin: 0 0 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: grab; }
.task-card:hover { border-color: #48434f; transform: translateY(-1px); }
.task-card-title { margin: 7px 0 11px; line-height: 1.4; font-size: 11px; }
.task-card-foot { display: flex; justify-content: space-between; color: var(--subtle); font-size: 10px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(85px, 1fr)); overflow-x: auto; border: 1px solid var(--border-soft); border-radius: 10px; }
.calendar-day { min-height: 120px; padding: 9px; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-heading { min-height: auto; color: var(--subtle); font-size: 10px; }
.calendar-date { margin-bottom: 9px; font-size: 11px; }
.calendar-task { display: block; overflow: hidden; padding: 5px 6px; margin-bottom: 5px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; cursor: pointer; }
.empty { padding: 37px 20px; color: var(--muted); text-align: center; line-height: 1.6; }
.empty strong { display: block; margin-bottom: 6px; color: var(--text); font-weight: 560; }
.empty .button { margin-top: 13px; }
.empty-icon { margin-bottom: 12px; color: var(--accent); font-size: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 11px; }
.field textarea { min-height: 82px; resize: vertical; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.62); animation: fade-in .16s ease; }
.modal { width: min(520px, 100%); max-height: min(88vh, 760px); overflow-y: auto; padding: 20px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); animation: rise-in .18s ease; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 8px; }
.toast { max-width: min(380px, calc(100vw - 40px)); padding: 12px 15px; color: var(--text); border: 1px solid var(--border); border-radius: 9px; background: var(--surface-raised); box-shadow: var(--shadow); animation: rise-in .18s ease; }
.toast.error { border-color: color-mix(in srgb, var(--red) 55%, var(--border)); }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: linear-gradient(110deg, rgba(10,13,23,.92), rgba(11,12,23,.65)), url("/assets/images/login-background.png") center / cover fixed, var(--bg); }
.auth-card { width: min(430px, 100%); padding: 31px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card .brand { padding: 0; margin: 0 0 27px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.auth-card h1 { font-size: 24px; }
.auth-card p { color: var(--muted); line-height: 1.6; }
.auth-card .button { width: 100%; min-height: 42px; margin-top: 13px; }
.auth-footnote { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-soft); color: var(--subtle); font-size: 10px; line-height: 1.55; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border-soft); }
.settings-row:last-child { border-bottom: 0; }
.settings-title { font-weight: 550; }
.settings-description { margin-top: 4px; color: var(--muted); font-size: 11px; }
.mobile-menu { display: none; }
.search-dialog { width: min(620px, 100%); }
.search-input { min-height: 45px; font-size: 14px; }
.search-results { max-height: 55vh; overflow-y: auto; margin-top: 12px; }
.search-result { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 7px; cursor: pointer; }
.search-result:hover { background: var(--surface-hover); }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; text-align: center; }
.error-code { color: var(--accent); font-size: 64px; font-weight: 700; letter-spacing: -4px; }
.landing { --landing-ink: #f0eff6; --landing-muted: #9b99a7; --landing-line: rgba(255,255,255,.09); min-height: 100vh; overflow: hidden; color: var(--landing-ink); background: #0d0d12; }
.landing a { text-decoration: none; }
.landing-nav { position: relative; z-index: 2; width: min(1240px, calc(100% - 72px)); height: 78px; display: flex; align-items: center; margin: 0 auto; border-bottom: 1px solid var(--landing-line); }
.landing-brand { display: inline-flex; align-items: center; gap: 10px; color: #f4f2fa; font-size: 13px; font-weight: 700; letter-spacing: -.2px; }
.landing-brand > span:last-child > span { color: #a7a1b6; font-weight: 500; }
.landing-mark { width: 31px; height: 31px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #17151f; }
.landing-mark img { width: 41px; height: 41px; object-fit: contain; }
.landing-links { display: flex; align-items: center; gap: 31px; margin: 0 auto; }
.landing-links a, .landing-signin { color: #a6a3af; font-size: 11px; transition: color .18s; }
.landing-links a:hover, .landing-signin:hover { color: #fff; }
.landing-nav-actions { display: flex; align-items: center; gap: 22px; }
.landing-nav .button { min-height: 34px; padding: 0 11px; font-size: 10px; }
.landing .button.primary { color: #15111f; background: #c3afff; box-shadow: 0 4px 22px rgba(163,128,255,.16); }
.landing .button.primary:hover { background: #d0c1ff; }
.landing-hero { position: relative; width: min(1240px, calc(100% - 72px)); min-height: 622px; display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: 24px; margin: 0 auto; padding: 66px 0 64px; }
.landing-hero::before { position: absolute; z-index: 0; top: 6%; right: 5%; width: 720px; height: 520px; border-radius: 50%; background: radial-gradient(ellipse, rgba(124,86,210,.14), transparent 70%); content: ""; pointer-events: none; }
.landing-hero-copy { position: relative; z-index: 1; padding: 0 0 8px 7px; }
.landing-overline { display: flex; align-items: center; gap: 8px; margin: 0 0 17px; color: #a99abf; font-size: 9px; font-weight: 650; letter-spacing: .14em; }
.landing-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #a894ff; box-shadow: 0 0 11px rgba(168,148,255,.8); }
.landing-hero h1 { margin: 0; font-size: clamp(42px, 5.2vw, 66px); font-weight: 590; line-height: 1.09; letter-spacing: -.065em; }
.landing-hero h1 span, .landing-section-heading h2 span, .landing-private h2 span, .landing-bottom-cta h2 span { color: #b9a5ff; }
.landing-lead { max-width: 410px; margin: 20px 0 0; color: #aaa8b3; font-size: 13px; line-height: 1.85; }
.landing-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 27px; }
.landing-cta { min-height: 42px !important; padding: 0 16px !important; font-size: 11px !important; }
.landing-text-link { display: inline-flex; align-items: center; gap: 8px; color: #d4c9f6; font-size: 11px; font-weight: 540; transition: gap .17s, color .17s; }
.landing-text-link:hover { gap: 12px; color: #fff; }
.landing-assurance { display: flex; align-items: center; gap: 7px; margin-top: 22px; color: #777583; font-size: 10px; }
.landing-assurance span { color: #a894ff; font-size: 12px; }
.landing-alert { max-width: 410px; padding: 10px 12px; margin-top: 15px; color: #ffc1c1; border: 1px solid rgba(239,137,137,.27); border-radius: 7px; background: rgba(101,39,48,.23); font-size: 11px; line-height: 1.5; }
.landing-preview { position: relative; z-index: 1; min-width: 0; padding: 23px 0 25px 7px; perspective: 1200px; }
.preview-glow { position: absolute; inset: 9% 5% 4% 9%; border-radius: 40%; background: radial-gradient(ellipse, rgba(148,104,241,.22), transparent 69%); filter: blur(25px); }
.preview-window { position: relative; display: grid; grid-template-columns: 144px minmax(0, 1fr); min-height: 368px; overflow: hidden; border: 1px solid rgba(217,204,255,.18); border-radius: 11px; background: #121217; box-shadow: 0 28px 85px rgba(0,0,0,.52), 0 0 48px rgba(139,100,255,.11); transform: rotateY(-5deg) rotateX(1deg); }
.preview-sidebar { position: relative; padding: 13px 9px 9px; border-right: 1px solid rgba(255,255,255,.055); background: #101014; }
.preview-brand { display: flex; align-items: center; gap: 6px; margin: 1px 0 13px 3px; color: #d9d5e2; font-size: 9px; font-weight: 650; }
.preview-symbol { color: #b7a0ff; font-size: 14px; }
.preview-workspace { height: 29px; display: flex; align-items: center; gap: 6px; padding: 0 6px; border: 1px solid rgba(255,255,255,.09); border-radius: 5px; color: #c7c3d0; font-size: 8px; }
.preview-workspace-mark { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; background: #da9b7a; color: #271910; font-weight: 700; }
.preview-caret { margin-left: auto; color: #777482; }
.preview-nav-label { margin: 15px 0 5px 5px; color: #696774; font-size: 6px; letter-spacing: .09em; }
.preview-nav-item { height: 25px; display: flex; align-items: center; gap: 7px; padding: 0 6px; color: #888694; border-radius: 4px; font-size: 7px; }
.preview-nav-item > span:first-child { width: 11px; color: #9087a7; font-size: 9px; text-align: center; }
.preview-nav-item.preview-selected { color: #ded8ea; background: rgba(255,255,255,.075); }
.preview-nav-item.preview-selected > span:first-child { color: #baa7ff; }
.preview-nav-count { margin-left: auto; color: #807d89; }
.preview-mini-user { position: absolute; right: 9px; bottom: 10px; left: 9px; display: flex; align-items: center; gap: 6px; padding-top: 8px; color: #a6a2ad; border-top: 1px solid rgba(255,255,255,.07); font-size: 7px; }
.preview-user-avatar { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #7663a7; color: #fff; }
.preview-main { min-width: 0; background: radial-gradient(ellipse at 40% -25%, rgba(115,90,169,.08), transparent 60%), #141419; }
.preview-topbar { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0 12px; color: #777582; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 6px; }
.preview-topbar b { color: #c4c0cd; font-weight: 520; }
.preview-search { padding: 5px 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; }
.preview-search kbd, .feature-search-demo kbd { margin-left: 10px; padding: 2px 3px; color: #888593; border: 1px solid rgba(255,255,255,.12); border-radius: 3px; font-size: 6px; }
.preview-content { padding: 17px 14px; }
.preview-greeting { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.preview-greeting > div > span { color: #86828e; font-size: 6px; letter-spacing: .12em; }
.preview-greeting h2 { margin-top: 5px; font-size: 15px; font-weight: 570; letter-spacing: -.5px; }
.preview-greeting h2 span { color: #b8a3ff; font-size: 10px; }
.preview-greeting p { margin: 4px 0 0; color: #87848f; font-size: 7px; }
.preview-new { flex: 0 0 auto; padding: 6px 7px; color: #211b35; border-radius: 4px; background: #bca8ff; font-size: 6px; font-weight: 650; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 15px; }
.preview-stats > div { min-width: 0; padding: 9px 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 5px; background: rgba(255,255,255,.018); }
.preview-stats span, .preview-stats small { display: block; overflow: hidden; color: #888590; font-size: 5px; text-overflow: ellipsis; white-space: nowrap; }
.preview-stats b { display: block; margin: 7px 0 3px; color: #efedf4; font-size: 17px; font-weight: 560; letter-spacing: -.6px; }
.preview-stats small { color: #777480; font-size: 6px; }
.preview-lower { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7px; margin-top: 9px; }
.preview-panel { min-width: 0; padding: 9px 8px 5px; border: 1px solid rgba(255,255,255,.07); border-radius: 5px; }
.preview-panel-heading { display: flex; justify-content: space-between; margin-bottom: 7px; color: #d0ccd6; font-size: 7px; font-weight: 560; }
.preview-panel-heading > span { color: #ab96f4; font-size: 5px; font-weight: 450; }
.preview-project { min-width: 0; height: 32px; display: flex; align-items: center; gap: 6px; border-top: 1px solid rgba(255,255,255,.045); }
.preview-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 3px; background: #b39bff; }
.preview-dot.violet { background: #b29aff; }
.preview-dot.blue { background: #73b2ec; }
.preview-dot.green { background: #6fb99a; }
.preview-project > span:nth-child(2), .preview-deadline > span:last-child { min-width: 0; flex: 1; }
.preview-project b, .preview-project small, .preview-deadline b, .preview-deadline small { display: block; overflow: hidden; color: #c9c5d0; font-size: 6px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.preview-project small, .preview-deadline small { margin-top: 3px; color: #817e8b; font-size: 5px; }
.preview-progress { width: 34px; height: 3px; overflow: hidden; border-radius: 4px; background: #302d38; }
.preview-progress i { height: 100%; display: block; border-radius: inherit; background: #a993ff; }
.preview-deadline { display: flex; align-items: center; gap: 6px; min-height: 32px; border-top: 1px solid rgba(255,255,255,.045); }
.preview-calendar-icon { width: 18px; height: 20px; display: grid; place-items: center; color: #bba8ff; border: 1px solid rgba(185,165,255,.28); border-radius: 4px; font-size: 7px; }
.preview-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 11px; color: #d9d6e1; border: 1px solid rgba(221,211,255,.16); border-radius: 7px; background: rgba(28,26,37,.9); box-shadow: 0 8px 28px rgba(0,0,0,.28); backdrop-filter: blur(10px); font-size: 8px; }
.preview-float-top { top: 5px; right: -15px; }
.preview-float-top > span { width: 17px; height: 17px; display: grid; place-items: center; color: #a9ebc4; border-radius: 50%; background: rgba(105,188,139,.13); font-size: 9px; }
.preview-float-bottom { right: 4px; bottom: 3px; }
.preview-avatar-stack { display: flex; padding-left: 3px; }
.preview-avatar-stack i { width: 17px; height: 17px; display: grid; place-items: center; margin-left: -3px; color: #fff; border: 1px solid #1b1921; border-radius: 50%; background: #7562a6; font-size: 6px; font-style: normal; }
.preview-avatar-stack i:nth-child(2) { background: #547e82; }
.preview-avatar-stack i:nth-child(3) { background: #aa745a; }
.landing-proof { width: min(1040px, calc(100% - 72px)); min-height: 72px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 0 auto; color: #aaa6b3; border-top: 1px solid var(--landing-line); border-bottom: 1px solid var(--landing-line); }
.landing-proof > span { color: #706d7a; font-size: 8px; letter-spacing: .12em; }
.landing-proof b { color: #a39fac; font-size: 9px; font-weight: 480; }
.landing-proof > i { width: 3px; height: 3px; border-radius: 50%; background: #8872c2; }
.landing-features { width: min(1050px, calc(100% - 48px)); padding: 112px 0 101px; margin: 0 auto; }
.landing-section-heading { max-width: 540px; margin-bottom: 32px; }
.landing-section-heading .landing-overline { margin-bottom: 14px; }
.landing-section-heading h2, .landing-private h2, .landing-bottom-cta h2 { margin: 0; font-size: clamp(31px, 4vw, 43px); font-weight: 570; line-height: 1.17; letter-spacing: -.055em; }
.landing-section-heading > p:last-child, .landing-private > div:last-child > p:not(.landing-overline), .landing-bottom-cta > p:not(.landing-overline) { color: #96939f; font-size: 12px; line-height: 1.8; }
.landing-section-heading > p:last-child { max-width: 390px; margin-top: 12px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-card { min-width: 0; min-height: 213px; padding: 19px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: linear-gradient(145deg, rgba(255,255,255,.032), rgba(255,255,255,.012)); }
.feature-card h3 { margin-top: 13px; color: #e6e2eb; font-size: 13px; font-weight: 570; }
.feature-card > p { max-width: 430px; margin: 7px 0 0; color: #96939f; font-size: 10px; line-height: 1.7; }
.feature-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; font-size: 13px; }
.feature-purple { color: #bdaaff; background: rgba(177,151,255,.12); }
.feature-blue { color: #86c5f5; background: rgba(111,176,232,.12); }
.feature-green { color: #8ad2ac; background: rgba(105,197,146,.12); }
.feature-orange { color: #e6b17b; background: rgba(231,170,111,.12); }
.feature-project-list { max-width: 460px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.feature-project-list > div { min-height: 29px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.04); }
.feature-project-list b { flex: 1; color: #b9b5c1; font-size: 8px; font-weight: 480; }
.feature-project-list > div > span:last-child { color: #8e899b; font-size: 7px; }
.feature-task { max-width: 470px; min-height: 37px; display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 5px; background: rgba(8,8,11,.19); }
.feature-task > span:nth-child(2) { min-width: 0; flex: 1; }
.feature-task b, .feature-task small { display: block; overflow: hidden; color: #c8c4d0; font-size: 8px; font-weight: 470; text-overflow: ellipsis; white-space: nowrap; }
.feature-task small { margin-top: 3px; color: #817d89; font-size: 6px; letter-spacing: .04em; }
.feature-task-check, .feature-task-empty { width: 12px; height: 12px; display: grid; flex: 0 0 auto; place-items: center; color: #91d5ae; border: 1px solid rgba(130,204,158,.45); border-radius: 4px; font-size: 8px; }
.feature-task-empty { border-color: rgba(255,255,255,.17); }
.feature-priority { padding: 4px 6px; color: #e9b774; border-radius: 4px; background: rgba(232,187,115,.1); font-size: 7px; }
.feature-view-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.feature-view-chips span { padding: 6px 8px; color: #9995a2; border: 1px solid rgba(255,255,255,.07); border-radius: 5px; font-size: 7px; }
.feature-view-chips .selected { color: #cdbfff; border-color: rgba(183,158,255,.26); background: rgba(165,136,255,.1); }
.feature-search-demo { display: flex; align-items: center; gap: 8px; margin-top: 17px; padding: 8px 9px; color: #a795e0; border: 1px solid rgba(255,255,255,.09); border-radius: 5px; background: rgba(9,9,13,.3); font-size: 10px; }
.feature-search-demo > span { flex: 1; color: #85818f; font-size: 8px; }
.landing-private { width: min(940px, calc(100% - 48px)); display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 70px; padding: 37px 0 86px; margin: 0 auto; border-top: 1px solid var(--landing-line); }
.private-orbit { position: relative; width: 185px; height: 185px; display: grid; place-items: center; margin: auto; border: 1px solid rgba(193,173,255,.13); border-radius: 50%; box-shadow: inset 0 0 35px rgba(153,116,255,.035), 0 0 52px rgba(153,116,255,.05); }
.private-orbit::before, .private-orbit::after { position: absolute; inset: 18px; border: 1px solid rgba(193,173,255,.12); border-radius: 50%; content: ""; }
.private-orbit::after { inset: 40px; border-color: rgba(193,173,255,.14); }
.private-core { z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; color: #20192d; border-radius: 17px; background: linear-gradient(145deg, #d2c0ff, #967aff); box-shadow: 0 0 34px rgba(177,143,255,.28); font-size: 28px; }
.private-orbit-dot { position: absolute; z-index: 2; width: 9px; height: 9px; border: 2px solid #0d0d12; border-radius: 50%; background: #b49dff; box-shadow: 0 0 12px rgba(181,157,255,.75); }
.dot-one { top: 17px; right: 43px; }
.dot-two { bottom: 22px; left: 35px; background: #79c9a1; }
.dot-three { top: 82px; right: -5px; background: #79b8ed; }
.landing-private .landing-overline { margin-bottom: 12px; }
.landing-private h2 { font-size: 32px; }
.landing-private > div:last-child > p:not(.landing-overline) { max-width: 540px; margin: 13px 0 17px; font-size: 11px; }
.landing-bottom-cta { position: relative; overflow: hidden; padding: 64px 20px 70px; border-top: 1px solid var(--landing-line); background: radial-gradient(ellipse at 50% 130%, rgba(144,111,224,.19), transparent 65%), #101015; text-align: center; }
.landing-bottom-spark { display: block; margin-bottom: 12px; color: #b9a2ff; font-size: 21px; }
.landing-bottom-cta .landing-overline { justify-content: center; margin-bottom: 12px; }
.landing-bottom-cta h2 { font-size: clamp(32px, 4vw, 43px); }
.landing-bottom-cta > p:not(.landing-overline) { max-width: 400px; margin: 12px auto 19px; font-size: 11px; }
.landing-footer { width: min(1180px, calc(100% - 48px)); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 auto; }
.landing-footer > span, .landing-footer > a:not(.landing-brand), .landing-footer > small { color: #777480; font-size: 8px; }
.landing-footer > a:not(.landing-brand):hover { color: #d2c3ff; }
.landing-footer .landing-brand { font-size: 10px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  :root { --sidebar: 220px; }
  .content { padding: 30px 24px 48px; }
  .topbar { padding: 0 24px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-hero { grid-template-columns: .8fr 1.2fr; gap: 4px; }
  .preview-window { grid-template-columns: 118px minmax(0, 1fr); }
  .preview-content { padding: 14px 10px; }
  .landing-private { gap: 38px; }
}
@media (max-width: 720px) {
  :root { --sidebar: 248px; --topbar: 58px; }
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar { gap: 9px; padding: 0 14px; }
  .mobile-menu { display: inline-grid; }
  .breadcrumbs { font-size: 11px; }
  .search-trigger { width: auto; padding: 8px; }
  .search-trigger .search-label, .search-trigger kbd, .top-actions .optional { display: none; }
  .content { padding: 25px 15px 40px; }
  .page-head { align-items: center; }
  .page-description { max-width: 44ch; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stat-grid { gap: 9px; }
  .stat-card { padding: 13px; }
  .stat-value { font-size: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .landing-nav { width: calc(100% - 32px); height: 65px; }
  .landing-links { display: none; }
  .landing-nav-actions { gap: 13px; margin-left: auto; }
  .landing-nav .button { min-height: 32px; padding: 0 9px; }
  .landing-hero { width: calc(100% - 36px); min-height: auto; grid-template-columns: 1fr; gap: 15px; padding: 68px 0 41px; }
  .landing-hero-copy { padding: 0; }
  .landing-hero h1 { font-size: clamp(43px, 11vw, 61px); }
  .landing-lead { max-width: 470px; font-size: 12px; }
  .landing-preview { margin: 0 -7px; padding: 27px 4px 25px; }
  .preview-window { grid-template-columns: 105px minmax(0, 1fr); min-height: 340px; transform: none; }
  .preview-topbar { padding: 0 7px; }
  .preview-content { padding: 13px 8px; }
  .preview-stats { gap: 4px; }
  .preview-stats > div { padding: 7px 5px; }
  .preview-lower { grid-template-columns: 1fr; }
  .preview-activity { display: none; }
  .preview-float-top { right: 0; }
  .preview-float-bottom { right: 0; }
  .landing-proof { width: calc(100% - 36px); min-height: 91px; gap: 9px 12px; padding: 13px 4px; }
  .landing-proof > span { width: 100%; text-align: center; }
  .landing-proof b { font-size: 8px; }
  .landing-features { width: calc(100% - 36px); padding: 74px 0 66px; }
  .landing-section-heading h2, .landing-private h2, .landing-bottom-cta h2 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; padding: 17px; }
  .landing-private { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 25px; padding: 36px 0 60px; text-align: center; }
  .private-orbit { width: 145px; height: 145px; }
  .private-core { width: 53px; height: 53px; }
  .landing-private .landing-overline { justify-content: center; }
  .landing-private > div:last-child > p:not(.landing-overline) { margin-right: auto; margin-left: auto; }
  .landing-private .landing-text-link { justify-content: center; }
  .landing-bottom-cta { padding: 53px 17px 58px; }
  .landing-footer { justify-content: center; padding: 20px 0; text-align: center; }
  .landing-footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.asset-icon { width: 16px; height: 16px; display: inline-block; flex: 0 0 auto; filter: brightness(0) invert(1); opacity: .68; }
.nav-icon { width: 17px; display: inline-grid; place-items: center; }
.nav-link.active .asset-icon { filter: invert(76%) sepia(19%) saturate(1134%) hue-rotate(212deg) brightness(102%) contrast(101%); opacity: 1; }
.search-trigger > .asset-icon { width: 14px; height: 14px; opacity: .62; }
.button > .asset-icon { width: 13px; height: 13px; filter: brightness(0); opacity: .72; }
.preview-brand > .asset-icon { width: 11px; height: 11px; filter: invert(76%) sepia(19%) saturate(1134%) hue-rotate(212deg) brightness(102%) contrast(101%); opacity: 1; }
.preview-nav-item > .asset-icon { width: 10px; height: 10px; margin-right: 1px; opacity: .62; }
.preview-nav-item.preview-selected > .asset-icon { filter: invert(76%) sepia(19%) saturate(1134%) hue-rotate(212deg) brightness(102%) contrast(101%); opacity: 1; }
.feature-icon > .asset-icon { width: 15px; height: 15px; opacity: .9; }
.feature-task-check > .asset-icon { width: 8px; height: 8px; filter: invert(77%) sepia(24%) saturate(565%) hue-rotate(87deg) brightness(94%) contrast(87%); opacity: 1; }
.feature-view-chips span { display: inline-flex; align-items: center; gap: 4px; }
.feature-view-chips .asset-icon { width: 9px; height: 9px; opacity: .7; }
.feature-view-chips .selected .asset-icon, .feature-search-demo > .asset-icon, .private-core > .asset-icon { filter: invert(76%) sepia(19%) saturate(1134%) hue-rotate(212deg) brightness(102%) contrast(101%); opacity: 1; }
.feature-search-demo > .asset-icon { width: 12px; height: 12px; }
.private-core > .asset-icon { width: 30px; height: 30px; }
