:root {
  color-scheme: light;
  --surface: #fff;
  --canvas: #f5f7fb;
  --ink: #19263b;
  --muted: #62728a;
  --line: #e5eaf2;
  --accent: #16836c;
  --accent-strong: #096b56;
  --accent-soft: #e4f5ef;
  --nav: #14243b;
  --nav-strong: #101e33;
  --sidebar-width: 232px;
  --topbar-height: 70px;
  --radius: 14px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-size: 1rem; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #2b9f87; outline-offset: 3px; }
[hidden] { display: none !important; }
svg { flex: 0 0 auto; vertical-align: middle; }

.workspace-shell { min-height: 100vh; }
.workspace-main { min-width: 0; margin-left: var(--sidebar-width); }
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  padding: 26px 16px 18px;
  background: linear-gradient(162deg, var(--nav) 0%, var(--nav-strong) 100%);
  color: #e8eef7;
}
.sidebar-backdrop { display: none; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 1px 8px; }
.brand strong { display: block; color: #fff; font-size: 1.3rem; font-weight: 750; letter-spacing: .065em; line-height: 1.15; }
.brand span { display: block; margin-top: 4px; color: #b0bdd0; font-size: .73rem; font-weight: 500; letter-spacing: .045em; }
.brand-mark {
  display: grid;
  flex: 0 0 40px;
  grid-template: repeat(2, 7px) / repeat(2, 7px);
  place-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid #52c4a9;
  border-radius: 11px;
  background: linear-gradient(145deg, #52cead, #249a7f);
  box-shadow: 0 5px 14px #071c274a;
}
.brand-mark i { display: block; width: 7px; height: 7px; border-radius: 1.5px; background: #f1fff9; }
.brand-mark i:nth-child(2) { opacity: .65; transform: translate(1.5px, -1.5px); }
.sidebar nav { flex: 1 1 auto; overflow-y: auto; margin: 39px -5px 16px; padding: 0 5px; }
.nav-group + .nav-group { margin-top: 30px; }
.nav-label { padding: 0 11px; color: #9daec6; font-size: .76rem; font-weight: 600; letter-spacing: .075em; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #c6d2e4;
  font-size: .92rem;
  line-height: 1.2;
  transition: background .15s ease, color .15s ease;
}
.nav-label + .nav-link { margin-top: 10px; }
.nav-link:hover { background: #ffffff0d; color: #fff; }
.nav-link.active { border-color: #72d8bb28; color: #b7ffe7; background: #2e866747; font-weight: 670; }
.nav-link.active::before { position: absolute; inset: 10px auto 10px -1px; width: 3px; border-radius: 2px; background: #66eac0; content: ''; }
.nav-link svg { color: #9aafc7; }
.nav-link.active svg { color: #7ce9c4; }
.nav-counter { min-width: 22px; margin-left: auto; padding: 3px 5px; border-radius: 7px; background: #2d465c; color: #e9f3ff; font-size: .75rem; text-align: center; }
.sidebar-bottom { position: relative; margin-top: auto; padding-top: 14px; border-top: 1px solid #ffffff18; }
.sidebar-account {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #edf4fd;
  text-align: left;
}
.sidebar-account:hover { background: #ffffff0b; }
.sidebar-account > span:nth-child(2) { flex: 1; min-width: 0; }
.sidebar-account strong, .sidebar-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account strong { font-size: .88rem; }
.sidebar-account small { color: #aebed2; font-size: .73rem; }
.sidebar-account svg { color: #aebed2; }

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  min-height: var(--topbar-height);
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.topbar-left, .topbar-actions, .top-crumb { display: flex; align-items: center; min-width: 0; }
.topbar-left { gap: 12px; }
.topbar-actions { position: relative; gap: 15px; }
.top-crumb { gap: 10px; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.top-crumb strong { overflow: hidden; color: var(--ink); font-weight: 650; text-overflow: ellipsis; }
.top-crumb a:hover { color: var(--accent-strong); }
.top-crumb svg { color: #97a4b7; }
.mobile-nav { display: none !important; }
.topbar-divider { width: 1px; height: 26px; background: var(--line); }
.topbar-account { display: grid; align-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.icon-button {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #586a83;
}
.icon-button:hover { background: #edf2f7; color: var(--ink); }
.global-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: clamp(150px, 18vw, 235px);
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafd;
  color: var(--muted);
  font-size: .875rem;
  text-align: left;
}
.global-search:hover { border-color: #bac9dc; background: #f2f6fa; }
.global-search kbd { margin-left: auto; padding: 0 6px; border: 1px solid #dce4ef; border-radius: 4px; background: #fff; color: #6e7f96; font-size: .75rem; }
.notification-wrap { position: relative; }
.notification-dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #d96a3f; }
.notification-popover, .account-popover {
  position: absolute;
  z-index: 25;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px #17263d24;
}
.notification-popover { top: calc(100% + 12px); right: 0; width: max-content; min-width: 222px; padding: 14px; }
.notification-popover h2 { margin-bottom: 6px; font-size: .95rem; }
.notification-popover p { color: var(--muted); font-size: .875rem; }
.notification-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-strong); font-size: .875rem; }
.account-popover { right: 0; bottom: calc(100% + 5px); left: 0; max-height: min(440px, 70vh); overflow: auto; padding: 6px; }
.account-popover.top-account-popover { top: calc(100% + 12px); right: 0; bottom: auto; left: auto; width: 215px; }
.account-option { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 41px; padding: 6px; border: 0; border-radius: 7px; background: transparent; text-align: left; }
.account-option:disabled, .account-option:hover { background: #edf5f4; }
.account-option .avatar { width: 29px; height: 29px; flex-basis: 29px; font-size: .75rem; }
.account-option > span:nth-child(2) { flex: 1; min-width: 0; }
.account-option strong, .account-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-option strong, .account-option > span { font-size: .875rem; }
.account-option small { color: var(--muted); font-size: .73rem; }
.account-option > svg { color: var(--accent); }
.popover-label { padding: 5px 7px 8px; color: var(--muted); font-size: .78rem; }

.page-content { max-width: 1555px; min-width: 0; margin: 0 auto; padding: 28px 30px 40px; outline: none; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.page-title { color: var(--ink); font-size: clamp(1.67rem, 2.4vw, 2rem); font-weight: 760; letter-spacing: -.035em; line-height: 1.2; }
.page-subtitle { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.today-label { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: #52647e; font-size: .86rem; }
.today-label svg { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 185px;
  margin-bottom: 20px;
  border: 1px solid #1f6260;
  border-radius: 15px;
  background: linear-gradient(107deg, #163f3f 8%, #1a5952 60%, #23786a 100%);
  color: #f4fffb;
}
.hero-content { position: relative; z-index: 1; padding: 26px 30px; }
.hero h2 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.26; }
.hero p { margin-top: 8px; color: #d7ede9; font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  display: grid;
  width: min(44%, 480px);
  place-items: center;
  overflow: hidden;
  background-image: radial-gradient(circle at center, #bbfee8 1px, transparent 1px), radial-gradient(ellipse at 60% 50%, #96f0d250, transparent 62%);
  background-size: 17px 17px, auto;
  mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
  opacity: .88;
}
.hero-orbit { position: absolute; inset: 50% auto auto 56%; width: var(--orbit-width); height: var(--orbit-height); transform: translate(-50%, -50%) rotate(-29deg); border: 1px solid #bcffe878; border-radius: 50%; }
.orbit-large { --orbit-width: 335px; --orbit-height: 158px; }
.orbit-medium { --orbit-width: 265px; --orbit-height: 124px; }
.orbit-small { --orbit-width: 191px; --orbit-height: 88px; }
.hero-node { position: absolute; width: 8px; height: 8px; border: 2px solid #ddfff1aa; border-radius: 50%; background: #66dec0; box-shadow: 0 0 18px #b8ffe6; }
.node-one { top: 23%; left: 73%; }
.node-two { bottom: 24%; left: 29%; }
.node-three { top: 32%; left: 92%; }
.hero-center {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  transform: translateX(19%) rotate(-8deg);
  border: 1px solid #9bf0d6a6;
  border-radius: 18px;
  background: #c8ffeb28;
  color: #dcfff3;
  box-shadow: 0 0 45px #b5ffe96b, inset 0 0 24px #d5ffed26;
  backdrop-filter: blur(4px);
}

.button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.button:disabled { opacity: .62; }
.button-primary { border-color: #13795f; background: var(--accent); color: #fff; }
.button-primary:hover:not(:disabled) { background: var(--accent-strong); }
.button-secondary { border-color: #dbe4ef; background: #fff; color: #3c4e67; }
.button-secondary:hover:not(:disabled) { border-color: #b4c6d8; background: #f6f9fc; }
.button-small { min-height: 33px; padding: 6px 10px; font-size: .81rem; }
.hero-primary { border-color: #dbf9ed; background: #e9fff6; color: #145b4a; }
.hero-primary:hover { background: #c9f9e6; }
.hero-secondary { border-color: #a1dcca88; background: #ffffff0d; color: #f4fffb; }
.hero-secondary:hover { background: #ffffff25; }

.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 2px 4px #28415e04; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 19px; }
.stat-card { display: flex; align-items: center; gap: 13px; min-height: 85px; padding: 15px; text-align: left; transition: box-shadow .15s ease, border-color .15s ease; }
.stat-card:hover { border-color: #bbd8d1; box-shadow: 0 4px 14px #28415e12; }
.stat-icon, .project-mark, .avatar { display: inline-grid; flex: 0 0 auto; place-items: center; background: var(--tone-bg, #e9eff6); color: var(--tone, #45617f); }
.stat-icon { width: 43px; height: 43px; border-radius: 11px; }
.project-mark { width: 37px; height: 37px; border-radius: 9px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; font-size: .83rem; font-weight: 700; }
.tone-green { --tone: #147760; --tone-bg: #e3f4ee; }
.tone-blue { --tone: #365faf; --tone-bg: #e8effe; }
.tone-amber { --tone: #935a13; --tone-bg: #fcf1de; }
.tone-purple { --tone: #6e4abe; --tone-bg: #efe9fb; }
.tone-rose { --tone: #a34465; --tone-bg: #fcebf1; }
.tone-slate { --tone: #53667f; --tone-bg: #eaf0f6; }
.stat-text { min-width: 0; }
.stat-text small { display: block; margin-bottom: 1px; overflow: hidden; color: var(--muted); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.stat-text strong { display: block; color: #1a2a42; font-size: 1.69rem; font-weight: 750; line-height: 1.08; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; background: var(--tone-bg); color: var(--tone); font-size: .8rem; font-weight: 630; line-height: 1.25; white-space: nowrap; }
.badge::before { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ''; }
.muted { color: var(--muted); }

.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(246px, .39fr); gap: 17px; align-items: start; }
.dashboard-aside { display: grid; min-width: 0; gap: 13px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 57px; padding: 14px 16px; }
.panel-heading h2 { color: #1d2b41; font-size: 1.04rem; font-weight: 730; line-height: 1.35; }
.panel-heading p { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.panel-heading-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; background: #eef3f9; color: #526987; }
.table-scroll { overflow-x: auto; }
.project-table { width: 100%; min-width: 605px; border-collapse: collapse; text-align: left; }
.project-table th { padding: 9px 10px; border-block: 1px solid #edf1f6; background: #f8fafc; color: #596b83; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.project-table th:first-child, .project-table td:first-child { padding-left: 16px; }
.project-table th:last-child, .project-table td:last-child { padding-right: 16px; }
.project-table td { min-height: 56px; padding: 10px; border-bottom: 1px solid #edf1f6; color: #41536a; font-size: .84rem; }
.project-table tr:last-child td { border-bottom: 0; }
.project-table tbody tr:hover { background: #f9fcfb; }
.project-link { display: flex; align-items: center; gap: 8px; min-width: 0; }
.project-link > span:last-child { min-width: 0; }
.project-link strong, .project-link small { display: block; }
.project-link strong { color: #23344b; font-size: .88rem; font-weight: 670; line-height: 1.35; }
.project-link:hover strong { color: var(--accent-strong); }
.project-link small { margin-top: 2px; color: var(--muted); font-size: .75rem; line-height: 1.3; }
.table-person { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.table-person .avatar { width: 24px; height: 24px; font-size: .71rem; }
.table-date { white-space: nowrap; }
.table-progress { display: flex; align-items: center; gap: 6px; min-width: 86px; font-variant-numeric: tabular-nums; }
.table-progress progress { flex: 1 1 0; width: 48px; height: 6px; overflow: hidden; appearance: none; border: 0; border-radius: 6px; background: #e9edf4; color: var(--accent); }
.table-progress progress::-webkit-progress-bar { border-radius: 6px; background: #e9edf4; }
.table-progress progress::-webkit-progress-value { border-radius: 6px; background: #36a889; }
.table-progress progress::-moz-progress-bar { border-radius: 6px; background: #36a889; }
.table-progress span { min-width: 34px; color: #364c62; font-size: .77rem; text-align: right; }
.deadline-list { padding: 0 15px 7px; }
.deadline-row { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 7px 0; border-top: 1px solid #edf1f6; }
.deadline-row:hover strong { color: var(--accent-strong); }
.deadline-date { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 6px 7px; border-radius: 7px; background: #f0f5f9; color: #45607f; font-size: .76rem; white-space: nowrap; }
.deadline-text { display: grid; min-width: 0; }
.deadline-text strong { overflow: hidden; color: #2b3c55; font-size: .84rem; font-weight: 670; text-overflow: ellipsis; white-space: nowrap; }
.deadline-text small { color: var(--muted); font-size: .76rem; }
.deadline-text small.due-soon { color: #92580b; font-weight: 600; }
.panel-empty { padding: 0 0 13px; color: var(--muted); font-size: .875rem; }
.bounty-callout { display: flex; align-items: center; gap: 10px; padding: 11px; }
.bounty-callout:hover { border-color: #e5d2a9; }
.bounty-callout > span:nth-child(2) { flex: 1; min-width: 0; }
.bounty-callout strong, .bounty-callout small { display: block; }
.bounty-callout strong { color: #263850; font-size: .88rem; }
.bounty-callout small { color: var(--muted); font-size: .76rem; }
.bounty-callout > svg { color: #70809a; }
.bounty-callout .stat-icon { width: 37px; height: 37px; border-radius: 9px; }

.project-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; }
.project-filters .search-input { flex: 1 1 245px; max-width: 390px; }
.search-input { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 0 10px; border: 1px solid #dce5f0; border-radius: 8px; background: #fff; color: var(--muted); }
.search-input:focus-within { outline: 2px solid #9dd8ca; outline-offset: 1px; }
.search-input input { width: 100%; min-width: 0; padding: 7px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .88rem; }
.search-input input:focus-visible { outline: 0; }
.select-wrap { position: relative; display: inline-block; }
.select-wrap select { display: block; min-height: 39px; padding: 7px 31px 7px 10px; appearance: none; border: 1px solid #dce5f0; border-radius: 8px; background: #fff; color: #40546e; font-size: .875rem; }
.select-wrap > svg { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); color: #687b94; pointer-events: none; }
.empty-state { display: grid; justify-items: center; gap: 7px; padding: 32px 16px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); }
.empty-state p { font-size: .88rem; }

.modal { width: min(100% - 24px, 530px); max-height: min(100% - 24px, 760px); margin: auto; padding: 0; border: 1px solid #e1e8f2; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 18px 85px #14274054; }
.modal::backdrop { background: #111e32a0; backdrop-filter: blur(2px); }
.modal-form { display: flex; flex-direction: column; max-height: inherit; }
.modal-header, .modal-footer { display: flex; flex-shrink: 0; align-items: center; gap: 8px; padding: 12px 18px; }
.modal-header { justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 1.12rem; }
.modal-body { min-height: 0; overflow: auto; padding: 16px 18px; }
.modal-footer { justify-content: flex-end; border-top: 1px solid var(--line); }
.field { display: grid; gap: 5px; margin-bottom: 13px; color: #354a63; font-size: .885rem; font-weight: 650; }
.input { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #dbe5ef; border-radius: 8px; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 400; }
.form-error { margin: 5px 0; color: #b0413d; font-size: .87rem; }
.search-results { display: grid; gap: 3px; margin-top: 12px; }
.search-result { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.search-result:hover { background: var(--canvas); }
.search-result > span:nth-child(2) { flex: 1; min-width: 0; }
.search-result strong, .search-result small { display: block; }
.search-result strong { font-size: .86rem; }
.search-result small { color: var(--muted); font-size: .76rem; }
.search-result > svg { color: var(--muted); }
.search-empty { padding: 8px; }

.toast-area { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(375px, 100% - 36px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; justify-self: end; min-width: 125px; padding: 10px 14px; border: 1px solid #bfe4d8; border-radius: 10px; background: #f6fffc; color: #136854; box-shadow: 0 6px 18px #12234222; font-size: .89rem; }
.toast-error { border-color: #efd3cb; background: #fff8f6; color: #9b3c36; }
.login-screen, .loading-screen { display: grid; min-height: 100svh; place-content: center; padding: 16px; }
.login-screen { background: radial-gradient(ellipse at 78% 16%, #d4eee8, transparent 42%), var(--canvas); }
.login-card { width: min(100vw - 32px, 405px); padding: 25px; box-shadow: 0 14px 36px #20385512; }
.login-brand { display: inline-flex; margin-bottom: 22px; padding: 0; }
.login-brand strong { color: var(--ink); }
.login-brand span { color: var(--muted); }
.login-card h1 { margin-bottom: 15px; color: var(--ink); font-size: 1.55rem; }
.login-card > .muted { margin-bottom: 14px; }
.login-card .button { width: 100%; }
.login-notice { margin-bottom: 14px; padding: 9px 11px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-strong); font-size: .9rem; }
.activation-card { width: min(100vw - 32px, 450px); }
.activation-account, .activation-identity dd { overflow-wrap: anywhere; }
.activation-identity { display: grid; gap: 7px; margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: var(--canvas); font-size: .9rem; }
.activation-identity > div { display: grid; grid-template-columns: 4.75em minmax(0, 1fr); gap: 10px; }
.activation-identity dt { color: var(--muted); }
.activation-identity dd { margin: 0; font-weight: 600; }
.activation-password-help { margin: -8px 0 13px; font-size: .875rem; }
.activation-actions { display: grid; gap: 8px; margin-top: 16px; }
.loading-screen { grid-auto-flow: column; align-items: center; gap: 10px; background: var(--canvas); color: var(--muted); }
.spinner { width: 20px; height: 20px; border: 2px solid #d2e6e0; border-top-color: var(--accent); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1190px) {
  .dashboard-columns { grid-template-columns: minmax(0, 1fr); }
  .dashboard-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

@media (max-width: 850px) {
  :root { --sidebar-width: 215px; --topbar-height: 62px; }
  .topbar, .page-content { padding-left: 20px; padding-right: 20px; }
  .stat-card { gap: 9px; padding: 11px; }
  .stat-icon { width: 39px; height: 39px; }
  .stat-grid { gap: 10px; }
}

@media (max-width: 720px) {
  .workspace-main { margin-left: 0; }
  .sidebar { visibility: hidden; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar-open .sidebar { visibility: visible; transform: translateX(0); }
  .sidebar-backdrop { position: fixed; z-index: 19; inset: 0; padding: 0; border: 0; background: #0e1b2b89; }
  .sidebar-open .sidebar-backdrop { display: block; }
  .mobile-nav { display: inline-grid !important; }
  .topbar { gap: 8px; padding-inline: 12px; }
  .topbar-left { gap: 4px; }
  .topbar-actions { gap: 8px; }
  .topbar-divider { display: none; }
  .global-search { justify-content: center; width: 36px; padding: 0; }
  .global-search span, .global-search kbd { display: none; }
  .top-crumb { gap: 5px; }
  .top-crumb > span:first-child { display: none; }
  .top-crumb > span:first-child + svg { display: none; }
  .page-content { padding: 20px 12px 26px; }
  .hero-content { padding: 21px 17px; }
  .hero-art { width: 52%; opacity: .65; }
}

@media (max-width: 480px) {
  .page-header { align-items: flex-start; gap: 10px; }
  .page-subtitle { font-size: .85rem; }
  .today-label { max-width: 151px; padding: 6px 7px; font-size: .74rem; }
  .today-label svg { width: 14px; height: 14px; }
  .hero { min-height: 166px; }
  .hero-art { width: 48%; opacity: .5; }
  .hero-center { width: 61px; height: 61px; }
  .hero-center svg { width: 29px; height: 29px; }
  .hero p { font-size: .84rem; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-height: 70px; }
  .dashboard-aside { grid-template-columns: minmax(0, 1fr); }
  .project-filters { padding: 10px; }
  .panel-heading { padding-inline: 11px; }
  .table-progress { min-width: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
