@charset "UTF-8";

:root {
  --ink: #171b19;
  --ink-2: #262c28;
  --muted: #707873;
  --muted-2: #9aa19c;
  --paper: #f2f1ea;
  --paper-2: #e9e8df;
  --card: #fbfaf5;
  --line: #d9d9d0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --lime: #d9ff5b;
  --lime-dark: #93b51f;
  --coral: #ff795e;
  --amber: #f6b84a;
  --blue: #7c9ff2;
  --green: #2f8a61;
  --radius: 18px;
  --shadow: 0 22px 55px rgba(21, 26, 23, 0.09);
  --body-font: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --display-font: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
}

button,
.project-row,
.project-card {
  cursor: pointer;
}

svg {
  display: block;
}

svg path,
svg circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[hidden] {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 27px 18px 20px;
  color: #f8f8f0;
  background:
    radial-gradient(circle at 45% -10%, rgba(217, 255, 91, 0.12), transparent 28%),
    var(--ink);
}

.sidebar::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
}

.brand,
.profile-card,
.pulse-topline,
.metric-heading,
.panel-header,
.topbar,
.page-heading,
.project-toolbar,
.access-toolbar,
.security-score {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  z-index: 1;
  gap: 13px;
  padding: 0 8px 33px;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.brand-mark span {
  display: block;
  height: 60%;
  border-radius: 3px;
  background: var(--lime);
}

.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 78%; }

.brand strong {
  display: block;
  font-family: var(--display-font);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: #8e9690;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-list {
  position: relative;
  z-index: 1;
}

.nav-label {
  margin: 0 11px 10px;
  color: #717a74;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  margin: 3px 0;
  padding: 12px 13px;
  border-radius: 11px;
  color: #9aa29d;
  background: transparent;
  text-align: left;
  transition: 180ms ease;
}

.nav-item::before {
  position: absolute;
  left: -18px;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--lime);
  content: "";
  transition: 180ms ease;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.nav-item.is-active {
  color: var(--ink);
  background: var(--lime);
  font-weight: 650;
}

.nav-item.is-active::before { height: 23px; }

.nav-item svg {
  width: 18px;
  height: 18px;
}

.nav-item span { flex: 1; }

.nav-item b {
  display: grid;
  min-width: 22px;
  height: 20px;
  place-items: center;
  border-radius: 7px;
  color: #8c948f;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.nav-item.is-active b {
  color: var(--ink);
  background: rgba(23, 27, 25, 0.1);
}

.nav-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 255, 91, 0.08);
}

.sidebar-pulse {
  position: relative;
  z-index: 1;
  margin: auto 5px 18px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.pulse-topline {
  justify-content: space-between;
  font-size: 10px;
}

.pulse-topline span { color: #c6cbc8; }
.pulse-topline span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.pulse-topline b { color: var(--lime); }
.pulse-track { height: 3px; margin: 12px 0 9px; border-radius: 9px; background: #353b37; overflow: hidden; }
.pulse-track span { display: block; width: 92%; height: 100%; border-radius: inherit; background: var(--lime); }
.sidebar-pulse small { color: #737b76; font-size: 9px; line-height: 1.45; }

.profile-card {
  position: relative;
  z-index: 1;
  gap: 10px;
  padding: 13px 8px 0;
  border-top: 1px solid var(--line-dark);
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--card);
  border-radius: 50%;
  color: var(--ink);
  background: #d7ded9;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.avatar-owner { border-color: #303733; background: var(--lime); }
.profile-card div:nth-child(2) { flex: 1; }
.profile-card strong { display: block; font-size: 12px; }
.profile-card span { display: block; margin-top: 3px; color: #78807b; font-size: 9px; }
.profile-menu { padding: 8px 0; color: #717a74; background: transparent; letter-spacing: 2px; }

.main-content {
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 70px;
  justify-content: space-between;
  padding: 0 clamp(24px, 3vw, 48px);
  border-bottom: 1px solid rgba(27, 32, 29, 0.08);
  background: rgba(242, 241, 234, 0.88);
  backdrop-filter: blur(18px);
}

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.breadcrumb span { color: var(--muted-2); }
.breadcrumb strong { font-weight: 650; }
.breadcrumb svg { width: 12px; color: #a3aaa5; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.global-search { display: flex; width: 260px; height: 38px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.45); }
.global-search svg, .search-field svg { width: 16px; flex: 0 0 auto; color: #8c948f; }
.global-search input, .search-field input { width: 100%; border: 0; color: var(--ink); background: transparent; font-size: 11px; outline: 0; }
.global-search input::placeholder, .search-field input::placeholder { color: #9ba19d; }
kbd { padding: 2px 5px; border: 1px solid #d3d4cc; border-bottom-width: 2px; border-radius: 4px; color: #7f8681; background: #f7f6f0; font-family: inherit; font-size: 9px; white-space: nowrap; }

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
}

.icon-button:hover { background: rgba(25, 30, 27, 0.06); }
.icon-button svg { width: 18px; height: 18px; }
.notifications { position: relative; border: 1px solid var(--line); background: rgba(255,255,255,.4); }
.notifications span { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1px solid var(--paper); border-radius: 50%; background: var(--coral); }

.button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 650;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button svg { width: 15px; height: 15px; }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 5px 14px rgba(126, 154, 29, .16); }
.button-primary:hover { background: #e1ff7a; box-shadow: 0 8px 20px rgba(126, 154, 29, .2); }
.button-outline { border: 1px solid #bec2bd; background: transparent; }
.button-outline:hover { background: var(--card); }
.button-quiet { color: var(--muted); background: var(--paper-2); }

.mobile-menu,
.mobile-close { display: none; }

.page { display: none; }
.page.is-active { display: block; }
.page-inner { width: min(100%, 1500px); margin: 0 auto; padding: 41px clamp(24px, 3vw, 48px) 70px; }

.reveal { animation: reveal-in 560ms cubic-bezier(.2,.75,.25,1) both; animation-delay: var(--delay, 0ms); }
@keyframes reveal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; } }

.welcome-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 45px;
  align-items: end;
  margin-bottom: 34px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow > span:first-child { width: 16px; height: 2px; background: var(--lime-dark); }

h1, h2, h3, p { margin-top: 0; }
.welcome-row h1, .page-heading h1 {
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(38px, 4.4vw, 66px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: .94;
}

.welcome-row h1 em { color: #89908b; font-weight: 400; }
.welcome-note { position: relative; max-width: 390px; padding: 0 0 3px 48px; border-left: 1px solid #c9cbc4; }
.note-index { position: absolute; top: 0; left: 12px; color: #a2a8a4; font-family: var(--display-font); font-size: 12px; font-style: italic; }
.welcome-note p { margin: 0 0 12px; color: #555d58; font-family: var(--display-font); font-size: 16px; line-height: 1.45; }
.welcome-note button, .text-button, .access-callout button { padding: 0; color: var(--ink); background: transparent; font-size: 10px; font-weight: 700; }
.welcome-note button span, .text-button span, .access-callout button span { display: inline-block; margin-left: 5px; transition: transform 160ms ease; }
.welcome-note button:hover span, .text-button:hover span, .access-callout button:hover span { transform: translateX(4px); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.metric-card { position: relative; min-height: 155px; padding: 19px 20px 17px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.metric-heading { justify-content: space-between; color: var(--muted); font-size: 10px; }
.metric-heading > span { font-weight: 650; }
.metric-heading i { padding: 4px 6px; border-radius: 6px; font-size: 8px; font-style: normal; }
.trend-positive { color: #53701f; background: rgba(217,255,91,.5); }
.metric-heading svg { width: 16px; color: #9aa19d; }
.metric-value { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.metric-value strong { font-family: var(--display-font); font-size: 42px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.metric-value small { color: var(--muted-2); font-size: 11px; }
.metric-money strong { font-size: 37px; }
.metric-card > p { margin: 9px 0 0; color: var(--muted-2); font-size: 9px; }
.metric-card > p b { color: var(--green); }
.metric-dark { color: #fff; border-color: var(--ink); background: var(--ink); }
.metric-dark .metric-heading { color: #a7afaa; }
.metric-dark .metric-value small { color: #737c76; }
.mini-bars { position: absolute; right: 17px; bottom: 18px; left: 20px; display: flex; height: 34px; align-items: end; gap: 5px; }
.mini-bars span { flex: 1; border-radius: 2px 2px 0 0; background: #343b37; }
.mini-bars .current { background: var(--lime); }
.metric-track, .budget-scale { position: relative; height: 4px; margin-top: 19px; border-radius: 9px; background: #e3e3dc; }
.metric-track span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.budget-scale span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.budget-scale i { position: absolute; top: -3px; width: 2px; height: 10px; background: var(--ink); }
.metric-alert::after { position: absolute; right: -25px; bottom: -34px; width: 115px; height: 115px; border: 20px solid rgba(255,121,94,.07); border-radius: 50%; content: ""; }
.signal-dot { width: 7px; height: 7px; padding: 0 !important; border-radius: 50% !important; background: var(--coral); box-shadow: 0 0 0 5px rgba(255,121,94,.1); }
.risk-types { display: flex; gap: 12px; margin-top: 21px; color: var(--muted); font-size: 8px; }
.risk-types span { display: flex; align-items: center; gap: 4px; }
.risk-types i { width: 5px; height: 5px; border-radius: 50%; }
.risk-red { background: var(--coral); }.risk-amber { background: var(--amber); }.risk-blue { background: var(--blue); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 12px; margin-bottom: 12px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.portfolio-panel { min-height: 345px; padding: 22px 23px 18px; }
.panel-header { justify-content: space-between; gap: 18px; }
.panel-header > div:first-child { display: flex; align-items: center; gap: 10px; }
.panel-header h2 { margin: 0; font-family: var(--display-font); font-size: 20px; font-weight: 550; letter-spacing: -.025em; }
.section-number { color: #a1a7a2; font-family: var(--display-font); font-size: 10px; font-style: italic; }
.segmented-control { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--paper-2); }
.segmented-control button { padding: 6px 10px; border-radius: 6px; color: var(--muted); background: transparent; font-size: 8px; }
.segmented-control button.is-active { color: var(--ink); background: var(--card); box-shadow: 0 2px 7px rgba(27,33,29,.08); font-weight: 700; }

.portfolio-chart { display: flex; height: 220px; padding-top: 26px; }
.chart-y-axis { display: flex; width: 38px; flex-direction: column; justify-content: space-between; padding: 0 0 24px; color: #a2a7a3; font-size: 7px; }
.chart-stage { position: relative; flex: 1; }
.grid-lines, .horizontal-grid { position: absolute; inset: 0 0 24px; display: flex; flex-direction: column; justify-content: space-between; }
.grid-lines i, .horizontal-grid i { display: block; border-top: 1px solid #e4e4dd; }
.progress-line { position: absolute; inset: 0 0 24px; width: 100%; height: calc(100% - 24px); overflow: visible; }
.progress-line .line-area { fill: url(#chartFill); stroke: none; }
.progress-line .line-path { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.progress-line circle { fill: var(--card); stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.progress-line .current-point { fill: var(--lime); }
.chart-tooltip { position: absolute; top: -12px; right: -1px; display: flex; flex-direction: column; min-width: 55px; padding: 6px 8px; transform: translate(35%, -50%); border-radius: 7px; color: white; background: var(--ink); text-align: center; }
.chart-tooltip::after { position: absolute; bottom: -4px; left: 50%; width: 8px; height: 8px; transform: translateX(-50%) rotate(45deg); background: var(--ink); content: ""; }
.chart-tooltip b { position: relative; z-index: 1; font-size: 10px; }
.chart-tooltip span { position: relative; z-index: 1; color: #939b96; font-size: 7px; }
.chart-x-axis { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: #a1a6a2; font-size: 7px; }
.chart-legend { display: flex; align-items: center; gap: 16px; padding: 13px 0 0 38px; border-top: 1px solid #e4e4dd; color: #8b928d; font-size: 8px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { display: inline-block; width: 15px; height: 2px; }
.legend-lime { background: var(--ink); }.legend-gray { background: #cfd2ce; }.legend-dash { border-top: 1px dashed #aab0ac; }
.chart-legend strong { margin-left: auto; color: var(--green); font-size: 8px; }

.focus-panel { padding: 22px 19px 17px; }
.panel-header.compact { margin-bottom: 14px; }
.focus-count { padding: 5px 7px; border-radius: 6px; color: #ad523e; background: rgba(255,121,94,.12); font-size: 8px; font-weight: 700; }
.focus-list { margin: 0 -4px 12px; }
.focus-item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 12px 5px; border-bottom: 1px solid #e6e5df; background: transparent; text-align: left; transition: padding 160ms ease; }
.focus-item:hover { padding-right: 1px; padding-left: 9px; }
.focus-level { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border-radius: 8px; font-family: var(--display-font); font-size: 12px; font-weight: 700; }
.focus-level.critical { color: #b34f3b; background: #ffe0d9; }.focus-level.warning { color: #9a6d18; background: #fff0cc; }.focus-level.info { color: #4564a6; background: #e3e9fb; }
.focus-copy { flex: 1; }
.focus-copy b, .focus-copy small { display: block; }
.focus-copy b { font-size: 10px; }
.focus-copy small { margin-top: 3px; color: #919792; font-size: 8px; }
.focus-meta { color: #6f7772; font-size: 8px; }.focus-meta i { margin-left: 5px; font-size: 11px; font-style: normal; }
.focus-panel > .text-button { margin-top: 4px; }

.projects-snapshot { padding: 22px 23px 13px; }
.projects-snapshot .panel-header { margin-bottom: 14px; }
.project-table { width: 100%; }
.project-row { display: grid; grid-template-columns: minmax(190px, 1.4fr) minmax(160px, 1fr) 100px 105px 88px 20px; gap: 16px; align-items: center; min-height: 65px; padding: 9px 6px; border-top: 1px solid #e5e4dd; transition: background 160ms ease, padding 160ms ease; }
.project-row:hover { padding-right: 10px; padding-left: 10px; border-radius: 10px; background: var(--paper); }
.project-identity { display: flex; min-width: 0; align-items: center; gap: 11px; }
.project-monogram { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--ink); font-family: var(--display-font); font-size: 13px; font-weight: 650; background: var(--project-color, #d8ddd9); }
.project-identity strong, .project-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-identity strong { font-size: 10px; }.project-identity small { margin-top: 3px; color: #969c97; font-size: 8px; }
.row-progress { display: flex; align-items: center; gap: 8px; }
.row-progress > span { height: 4px; flex: 1; border-radius: 6px; background: #e2e3dc; overflow: hidden; }
.row-progress > span i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.row-progress b { width: 27px; color: #69716c; font-size: 8px; text-align: right; }
.status-pill { display: inline-flex; width: fit-content; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 7px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.status-pill::before { width: 5px; height: 5px; border-radius: 50%; content: ""; }
.status-green { color: #397453; background: #e2f3e9; }.status-green::before { background: #4aa26f; }
.status-amber { color: #8e651a; background: #fff0ca; }.status-amber::before { background: var(--amber); }
.status-red { color: #a64b38; background: #ffe0d9; }.status-red::before { background: var(--coral); }
.status-gray { color: #686e6a; background: #e8e9e5; }.status-gray::before { background: #9ca29e; }
.row-deadline { color: #747b76; font-size: 8px; }.row-deadline.urgent { color: #b44d39; font-weight: 700; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { width: 25px; height: 25px; margin-left: -7px; border-width: 2px; font-size: 7px; }.avatar-stack .avatar:first-child { margin-left: 0; }
.row-arrow { color: #9da39f; font-size: 15px; transition: transform 160ms ease; }.project-row:hover .row-arrow { transform: translateX(3px); color: var(--ink); }

.page-heading { justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.page-heading h1 { font-size: clamp(44px, 5vw, 68px); }
.heading-caption { margin: 13px 0 0; color: var(--muted); font-family: var(--display-font); font-size: 15px; }
.heading-stat { display: flex; align-items: center; gap: 12px; padding-left: 25px; border-left: 1px solid #c8cac3; }
.heading-stat strong { font-family: var(--display-font); font-size: 42px; font-weight: 500; line-height: 1; }
.heading-stat span { color: var(--muted); font-size: 9px; line-height: 1.4; text-transform: uppercase; }

.project-toolbar, .access-toolbar { gap: 12px; margin-bottom: 18px; }
.search-field { display: flex; width: 230px; height: 40px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.filter-tabs { display: flex; flex: 1; gap: 4px; }
.filter-tabs button { padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; font-size: 10px; }
.filter-tabs button span { margin-left: 4px; color: #a2a8a3; }
.filter-tabs button:hover { background: rgba(255,255,255,.4); }
.filter-tabs button.is-active { border-color: var(--line); color: var(--ink); background: var(--card); font-weight: 700; box-shadow: 0 4px 14px rgba(22,26,24,.04); }

.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.project-card { position: relative; min-height: 246px; padding: 19px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.project-card::after { position: absolute; top: -32px; right: -32px; width: 90px; height: 90px; border: 18px solid color-mix(in srgb, var(--project-color), transparent 55%); border-radius: 50%; opacity: .28; content: ""; }
.project-card:hover { z-index: 2; transform: translateY(-4px); border-color: #babdb7; box-shadow: var(--shadow); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card-top .project-monogram { width: 42px; height: 42px; font-size: 15px; }
.card-menu { position: relative; z-index: 1; padding: 3px 0 10px 15px; color: #969d98; background: transparent; letter-spacing: 2px; }
.project-card h3 { margin: 20px 0 4px; font-family: var(--display-font); font-size: 21px; font-weight: 550; letter-spacing: -.025em; }
.project-card > p { height: 32px; margin: 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.7; }
.card-meta { display: flex; justify-content: space-between; align-items: end; margin-top: 19px; }
.card-meta > div span, .card-meta > div b { display: block; }
.card-meta > div span { margin-bottom: 4px; color: #9ba19d; font-size: 8px; }.card-meta > div b { font-size: 10px; }
.card-progress { margin-top: 15px; }
.card-progress > div { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 8px; }.card-progress > div b { color: var(--ink); }
.card-progress > span { display: block; height: 5px; border-radius: 9px; background: #e3e3dc; overflow: hidden; }.card-progress > span i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.empty-state { padding: 80px 20px; color: var(--muted); text-align: center; }.empty-state > span { font-family: var(--display-font); font-size: 42px; }.empty-state h3 { margin: 10px 0 5px; color: var(--ink); font-family: var(--display-font); font-size: 22px; }.empty-state p { font-size: 11px; }

.analytics-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.analytics-summary article { padding: 18px 20px; border-right: 1px solid var(--line); }.analytics-summary article:last-child { border-right: 0; }
.analytics-summary span, .analytics-summary strong, .analytics-summary small { display: block; }
.analytics-summary span { color: var(--muted); font-size: 9px; }.analytics-summary strong { margin: 10px 0 6px; font-family: var(--display-font); font-size: 31px; font-weight: 500; line-height: 1; }.analytics-summary strong i { font-family: var(--body-font); font-size: 10px; font-style: normal; }.analytics-summary small { font-size: 8px; }.positive { color: var(--green); }.warning-text { color: #a36c12; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 12px; }
.velocity-panel, .load-panel, .budget-panel, .forecast-panel { min-height: 320px; padding: 22px 23px; }
.panel-caption { color: #979e99; font-size: 8px; }
.velocity-chart { display: flex; height: 230px; margin-top: 24px; }
.velocity-y { display: flex; width: 35px; flex-direction: column; justify-content: space-between; padding-bottom: 20px; color: #a1a7a2; font-size: 7px; }
.velocity-plot { position: relative; flex: 1; }.horizontal-grid { bottom: 20px; }.velocity-plot svg { position: absolute; inset: 0 0 20px; width: 100%; height: calc(100% - 20px); overflow: visible; }.velocity-plot path { fill: none; vector-effect: non-scaling-stroke; }.planned-line { stroke: #afb5b1; stroke-dasharray: 4 5; stroke-width: 1.2; }.actual-line { stroke: var(--ink); stroke-width: 2.2; }
.velocity-x { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: #a1a7a2; font-size: 7px; }
.load-list { margin-top: 28px; }.load-item { display: grid; grid-template-columns: 82px 1fr 34px; gap: 9px; align-items: center; margin-bottom: 18px; font-size: 9px; }.load-item > span { color: var(--muted); }.load-item > div { height: 5px; border-radius: 5px; background: #e2e3dc; overflow: hidden; }.load-item > div i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }.load-item b { font-size: 9px; text-align: right; }.load-item b.overload { color: #ac4c39; }
.resource-note { display: flex; gap: 8px; margin: 25px 0 0; padding: 12px; border-radius: 10px; color: #855f19; background: #fff2d5; font-size: 8px; line-height: 1.45; }.resource-note i { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--amber); font-style: normal; font-weight: 700; }
.budget-donut-wrap { display: flex; align-items: center; gap: 30px; margin-top: 36px; }.budget-donut { display: grid; width: 145px; height: 145px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--ink) 0 44%, var(--lime) 44% 69%, var(--coral) 69% 88%, #cbd0cc 88% 100%); }.budget-donut::before { position: absolute; width: 96px; height: 96px; border-radius: 50%; background: var(--card); content: ""; }.budget-donut > div { position: relative; z-index: 1; text-align: center; }.budget-donut strong, .budget-donut span { display: block; }.budget-donut strong { font-family: var(--display-font); font-size: 27px; font-weight: 500; }.budget-donut span { color: var(--muted); font-size: 7px; }
.donut-legend { display: flex; flex: 1; flex-direction: column; gap: 11px; }.donut-legend span { display: grid; grid-template-columns: 7px 1fr auto; gap: 7px; align-items: center; }.donut-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--c); }.donut-legend b { font-size: 8px; }.donut-legend em { color: var(--muted); font-size: 8px; font-style: normal; }
.forecast-panel > p { margin: 40px 0 25px; color: var(--muted); font-family: var(--display-font); font-size: 17px; line-height: 1.55; }.forecast-panel > p b { color: var(--ink); font-weight: 600; }.forecast-scale { position: relative; height: 8px; border-radius: 10px; background: #e2e3dc; }.forecast-scale span { display: block; width: 84%; height: 100%; border-radius: inherit; background: var(--lime-dark); }.forecast-scale i { position: absolute; top: -28px; left: 84%; transform: translateX(-50%); color: var(--green); font-size: 9px; font-style: normal; font-weight: 700; }.forecast-meta { display: flex; justify-content: space-between; margin-top: 20px; }.forecast-meta span { text-align: center; }.forecast-meta small, .forecast-meta b { display: block; }.forecast-meta small { color: #989e9a; font-size: 7px; }.forecast-meta b { margin-top: 4px; font-family: var(--display-font); font-size: 16px; font-weight: 500; }

.team-avatars-large { display: flex; align-items: center; }.team-avatars-large .avatar { width: 42px; height: 42px; margin-left: -9px; box-shadow: 0 0 0 2px var(--paper); }.team-avatars-large .avatar:first-child { margin-left: 0; }.team-avatars-large > span { display: grid; width: 42px; height: 42px; margin-left: -9px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; color: #fff; background: var(--ink); font-size: 10px; }
.av1 { background: #cbd9ff; }.av2 { background: #ffd0c6; }.av3 { background: #d9ff9d; }.av4 { background: #ffe09d; }.av5 { background: #d8c9f7; }.av6 { background: #aee6da; }
.team-top-grid { display: grid; grid-template-columns: 1.7fr .7fr; gap: 12px; margin-bottom: 12px; }.team-capacity { padding: 22px 23px; }.capacity-value { font-family: var(--display-font); font-size: 28px; font-weight: 500; }.capacity-days { display: flex; height: 190px; justify-content: space-around; gap: 18px; margin-top: 25px; padding: 0 15px; }.capacity-days > div { display: grid; grid-template-rows: 15px 1fr 15px; flex: 1; gap: 8px; text-align: center; }.capacity-days b, .capacity-days small { color: var(--muted); font-size: 8px; }.capacity-days span { position: relative; align-self: stretch; border-radius: 7px; background: var(--paper-2); overflow: hidden; }.capacity-days span i { position: absolute; right: 0; bottom: 0; left: 0; display: block; border-radius: 7px; background: #9da49f; }.capacity-days .today span i { background: var(--lime); }.capacity-days .today b, .capacity-days .today small { color: var(--ink); font-weight: 750; }
.team-note-panel { position: relative; padding: 29px; overflow: hidden; color: white; background: var(--ink); }.team-note-panel::after { position: absolute; right: -80px; bottom: -100px; width: 210px; height: 210px; border: 34px solid rgba(217,255,91,.12); border-radius: 50%; content: ""; }.team-note-panel .note-index { position: static; color: var(--lime); }.team-note-panel h2 { margin: 43px 0 12px; font-family: var(--display-font); font-size: 23px; font-weight: 500; }.team-note-panel p { position: relative; z-index: 1; color: #aeb5b1; font-family: var(--display-font); font-size: 15px; line-height: 1.55; }.team-note-panel p b { color: white; }.team-note-panel .text-button { position: absolute; z-index: 2; bottom: 27px; color: var(--lime); }
.team-directory { padding: 22px 23px 12px; }.search-field.small { width: 190px; height: 34px; }.team-table { margin-top: 14px; }.team-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(140px, 1fr) 1fr 90px 80px; gap: 15px; align-items: center; min-height: 62px; padding: 8px 6px; border-top: 1px solid #e4e4dd; }.team-person { display: flex; align-items: center; gap: 10px; }.team-person strong, .team-person small { display: block; }.team-person strong { font-size: 10px; }.team-person small { margin-top: 3px; color: var(--muted-2); font-size: 8px; }.team-role, .team-projects, .team-status { color: var(--muted); font-size: 9px; }.team-workload { display: flex; align-items: center; gap: 7px; }.team-workload span { height: 4px; flex: 1; border-radius: 5px; background: #e2e3dc; }.team-workload span i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }.team-workload b { width: 25px; font-size: 8px; }.team-status { display: flex; align-items: center; gap: 5px; }.team-status::before { width: 6px; height: 6px; border-radius: 50%; background: var(--green); content: ""; }

.security-score { gap: 12px; padding-left: 25px; border-left: 1px solid #c8cac3; }.security-score > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #476e2c; background: var(--lime); }.security-score svg { width: 21px; }.security-score strong, .security-score small { display: block; }.security-score strong { font-size: 10px; }.security-score small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.access-callout { display: flex; align-items: center; gap: 15px; margin-bottom: 17px; padding: 17px 20px; border: 1px solid #c4d28c; border-radius: 14px; background: rgba(217,255,91,.18); }.callout-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--lime); background: var(--ink); }.callout-icon svg { width: 21px; }.access-callout > div:nth-child(2) { flex: 1; }.access-callout strong { display: block; font-size: 10px; }.access-callout p { margin: 4px 0 0; color: #66705e; font-size: 9px; }.access-callout button { margin-left: auto; }
.access-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 12px; }.access-card { position: relative; min-height: 185px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform 180ms ease, box-shadow 180ms ease; }.access-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }.access-card-top { display: flex; align-items: flex-start; justify-content: space-between; }.app-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; color: white; background: var(--app-color); font-family: var(--display-font); font-size: 15px; font-weight: 650; }.app-health { display: flex; align-items: center; gap: 5px; color: var(--green); font-size: 7px; font-weight: 700; }.app-health::before { width: 6px; height: 6px; border-radius: 50%; background: #4ea676; content: ""; }.access-card h3 { margin: 16px 0 4px; font-family: var(--display-font); font-size: 19px; font-weight: 550; }.access-card > p { margin: 0; color: var(--muted); font-size: 8px; }.access-meta { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid #e4e4dd; }.access-meta span small, .access-meta span b { display: block; }.access-meta small { color: var(--muted-2); font-size: 7px; }.access-meta b { margin-top: 3px; font-size: 8px; }.access-open { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: var(--ink); background: var(--paper-2); }.access-open svg { width: 13px; }
.access-log { padding: 22px 23px 12px; }.log-list { margin-top: 14px; }.log-list > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; min-height: 56px; border-top: 1px solid #e4e4dd; }.log-list p { margin: 0; color: var(--muted); font-size: 9px; }.log-list p b { color: var(--ink); }.log-list time { color: var(--muted-2); font-size: 8px; }

.modal-backdrop, .drawer-backdrop, .command-palette { position: fixed; z-index: 100; inset: 0; visibility: hidden; opacity: 0; background: rgba(14,18,16,.52); backdrop-filter: blur(5px); transition: opacity 220ms ease, visibility 220ms ease; }
.modal-backdrop.is-open, .drawer-backdrop.is-open, .command-palette.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { display: grid; place-items: center; padding: 20px; }
.modal { width: min(610px, 100%); max-height: min(800px, calc(100vh - 40px)); padding: 25px; overflow: auto; border-radius: 20px; background: var(--card); box-shadow: 0 30px 90px rgba(0,0,0,.25); transform: translateY(15px) scale(.98); transition: transform 220ms ease; }.modal-backdrop.is-open .modal { transform: none; }.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }.modal-header > div { display: flex; align-items: center; gap: 10px; }.modal-header h2 { margin: 0; font-family: var(--display-font); font-size: 25px; font-weight: 550; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.field { display: block; }.field.full { margin-bottom: 14px; }.field > span { display: block; margin: 0 0 6px 2px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #f7f6f0; font-size: 11px; }.field input, .field select { height: 43px; padding: 0 12px; }.field textarea { padding: 11px 12px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus { border-color: #858d87; }.form-grid + .field { margin-top: 14px; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.drawer-backdrop { z-index: 80; }.project-drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(510px, 94vw); padding: 30px; overflow: auto; background: var(--card); box-shadow: -20px 0 65px rgba(0,0,0,.16); transform: translateX(102%); transition: transform 260ms cubic-bezier(.22,.78,.24,1); }.project-drawer.is-open { transform: none; }.drawer-close { position: absolute; z-index: 1; top: 20px; right: 20px; background: var(--paper-2); }.drawer-hero { position: relative; margin: -30px -30px 25px; padding: 70px 30px 29px; overflow: hidden; background: var(--project-color); }.drawer-hero::after { position: absolute; top: -65px; right: -60px; width: 190px; height: 190px; border: 34px solid rgba(255,255,255,.3); border-radius: 50%; content: ""; }.drawer-hero .status-pill { position: relative; z-index: 1; }.drawer-hero h2 { position: relative; z-index: 1; margin: 25px 0 7px; font-family: var(--display-font); font-size: 38px; font-weight: 500; letter-spacing: -.04em; }.drawer-hero p { position: relative; z-index: 1; max-width: 370px; margin: 0; color: rgba(23,27,25,.66); font-size: 10px; line-height: 1.55; }.drawer-section { padding: 21px 0; border-bottom: 1px solid var(--line); }.drawer-section h3 { margin: 0 0 15px; font-family: var(--display-font); font-size: 18px; font-weight: 550; }.drawer-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.drawer-kpis > div { padding: 13px; border-radius: 11px; background: var(--paper); }.drawer-kpis small, .drawer-kpis strong { display: block; }.drawer-kpis small { color: var(--muted); font-size: 7px; }.drawer-kpis strong { margin-top: 7px; font-family: var(--display-font); font-size: 17px; font-weight: 550; }.drawer-progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 9px; }.drawer-progress { height: 7px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }.drawer-progress span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }.milestone { display: grid; grid-template-columns: 18px 1fr auto; gap: 9px; align-items: center; margin-bottom: 13px; }.milestone > i { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 8px; font-style: normal; }.milestone.is-done > i { color: var(--ink); border-color: var(--lime); background: var(--lime); }.milestone b, .milestone small { display: block; }.milestone b { font-size: 9px; }.milestone small { margin-top: 3px; color: var(--muted); font-size: 7px; }.milestone time { color: var(--muted); font-size: 8px; }.drawer-team { display: flex; align-items: center; justify-content: space-between; }.drawer-team .avatar { width: 38px; height: 38px; }.drawer-team p { margin: 0; color: var(--muted); font-size: 9px; }.drawer-actions { display: flex; gap: 8px; padding-top: 22px; }.drawer-actions .button { flex: 1; }

.command-palette { z-index: 120; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 20px 20px; }.command-box { width: min(600px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: var(--card); box-shadow: 0 30px 100px rgba(0,0,0,.3); transform: translateY(-12px) scale(.98); transition: transform 200ms ease; }.command-palette.is-open .command-box { transform: none; }.command-box > label { display: flex; height: 59px; align-items: center; gap: 11px; padding: 0 17px; border-bottom: 1px solid var(--line); }.command-box label svg { width: 19px; color: var(--muted); }.command-box input { flex: 1; border: 0; background: transparent; outline: 0; font-family: var(--display-font); font-size: 17px; }.command-results { max-height: 350px; padding: 8px; overflow: auto; }.command-result { display: flex; width: 100%; align-items: center; gap: 11px; padding: 10px; border-radius: 10px; background: transparent; text-align: left; }.command-result:hover, .command-result.is-selected { background: var(--paper-2); }.command-result .project-monogram { width: 31px; height: 31px; }.command-result strong, .command-result small { display: block; }.command-result strong { font-size: 10px; }.command-result small { margin-top: 3px; color: var(--muted); font-size: 8px; }.command-result > span:nth-child(2) { flex: 1; }.command-result > em { color: var(--muted); font-size: 9px; font-style: normal; }.command-box footer { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); background: #f6f5ef; font-size: 8px; }.command-box footer span { display: flex; align-items: center; gap: 4px; }

.toast-region { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: flex; width: min(330px, calc(100vw - 40px)); flex-direction: column; gap: 8px; }.toast { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; background: var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.2); animation: toast-in 300ms ease both; }.toast.is-leaving { animation: toast-out 250ms ease both; }.toast > i { display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: 10px; font-style: normal; font-weight: 800; }.toast span { font-size: 9px; line-height: 1.4; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .access-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .global-search { width: 210px; }
  .project-row { grid-template-columns: minmax(180px,1.4fr) minmax(140px,1fr) 90px 90px 20px; }.project-row .avatar-stack { display:none; }
}

@media (max-width: 960px) {
  .sidebar { transform: translateX(-102%); transition: transform 220ms ease; }.sidebar.is-open { transform: none; }.sidebar-scrim { position: fixed; z-index: 35; inset: 0; visibility: hidden; opacity: 0; background: rgba(10,14,12,.5); transition: opacity 200ms ease, visibility 200ms ease; }.sidebar-scrim.is-open { visibility: visible; opacity: 1; }
  .main-content { margin-left: 0; }.mobile-menu, .mobile-close { display: grid; }.mobile-close { position: absolute; z-index: 3; top: 20px; right: 13px; color: #fff; }.topbar { gap: 12px; }.breadcrumb { margin-right: auto; }
  .overview-grid, .analytics-grid, .team-top-grid { grid-template-columns: 1fr; }.focus-panel { min-height: 280px; }.analytics-grid { grid-template-columns: 1fr 1fr; }.velocity-panel { grid-column: 1/-1; }.access-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .topbar { height: 61px; padding: 0 15px; }.global-search { display: none; }.topbar .button-primary { width: 38px; padding: 0; font-size: 0; }.topbar .button-primary svg { width: 17px; }.page-inner { padding: 28px 15px 55px; }.welcome-row { grid-template-columns: 1fr; gap: 24px; }.welcome-note { max-width: none; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric-card { min-height: 145px; padding: 16px; }.metric-value strong { font-size: 35px; }.overview-grid { display: block; }.portfolio-panel { margin-bottom: 12px; padding: 18px 14px; }.portfolio-chart { height: 190px; }.chart-legend { gap: 8px; padding-left: 0; }.chart-legend strong { display: none; }.focus-panel { margin-bottom: 12px; }.projects-snapshot { padding: 18px 14px 8px; }.project-row { grid-template-columns: minmax(150px,1fr) 75px 20px; gap: 8px; }.project-row .row-progress, .project-row .row-deadline, .project-row .avatar-stack { display: none; }
  .page-heading { align-items: flex-end; }.heading-caption { max-width: 330px; }.heading-stat { display: none; }.project-toolbar, .access-toolbar { flex-wrap: wrap; }.search-field { width: 100%; }.filter-tabs { order: 3; width: 100%; overflow-x: auto; }.filter-tabs button { flex: 0 0 auto; }.project-toolbar > .button { margin-left: auto; }.projects-grid, .analytics-grid, .access-grid { grid-template-columns: 1fr; }.velocity-panel { grid-column: auto; }.analytics-summary { grid-template-columns: 1fr 1fr; }.analytics-summary article:nth-child(2) { border-right:0; }.analytics-summary article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.budget-donut-wrap { justify-content: center; }.capacity-days { gap: 7px; padding: 0; }.team-directory { padding: 18px 14px; }.team-directory .panel-header { align-items:flex-start; flex-direction:column; }.team-row { grid-template-columns: 1fr 70px; }.team-row .team-role, .team-row .team-projects, .team-row .team-status { display:none; }.security-score { display:none; }.access-callout { align-items:flex-start; flex-wrap:wrap; }.access-callout button { margin-left:53px; }.access-toolbar > .button { margin-left:auto; }.log-list > div { grid-template-columns:32px 1fr; padding:9px 0; }.log-list time { grid-column:2; }.form-grid { grid-template-columns:1fr; }.project-drawer { padding:24px; }.drawer-hero { margin:-24px -24px 20px; padding:65px 24px 25px; }.drawer-kpis { grid-template-columns:1fr 1fr; }.command-box footer { display:none; }
}

@media (max-width: 460px) {
  .breadcrumb span, .breadcrumb svg { display:none; }.metric-grid { grid-template-columns:1fr; }.metric-card { min-height:137px; }.welcome-row h1 { font-size:43px; }.panel-header { align-items:flex-start; }.segmented-control { display:none; }.chart-tooltip { display:none; }.analytics-summary { grid-template-columns:1fr; }.analytics-summary article { border-right:0; border-bottom:1px solid var(--line); }.analytics-summary article:last-child { border-bottom:0; }.budget-donut-wrap { align-items:flex-start; gap:20px; }.budget-donut { width:120px; height:120px; }.budget-donut::before { width:78px; height:78px; }.team-note-panel { min-height:280px; }.team-avatars-large { display:none; }.access-callout button { margin-left:0; }.drawer-kpis { grid-template-columns:1fr; }.drawer-actions { flex-direction:column; }
}

/* ---------- Вход ---------- */
.login-screen { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: var(--paper); }
.login-screen.is-open { display: flex; }
.login-card { width: min(400px, 100%); padding: 34px 32px 30px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--card); box-shadow: var(--shadow); }
.login-brand { margin-bottom: 26px; }
.login-card h1 { margin: 0 0 8px; font-family: var(--display-font); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.login-card > p { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.login-card form { display: flex; flex-direction: column; gap: 14px; }
.login-card .button { justify-content: center; margin-top: 6px; padding: 13px 18px; }
.login-error { margin: 0; padding: 10px 13px; border-radius: 10px; color: #8c2f1c; background: rgba(255, 121, 94, 0.14); font-size: 11px; }

/* ---------- Синк-чип ---------- */
.sync-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); cursor: pointer; transition: border-color 160ms ease, color 160ms ease; }
.sync-chip:hover { border-color: var(--ink); color: var(--ink); }
.sync-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sync-chip b { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.sync-chip.is-syncing svg { animation: sync-spin 900ms linear infinite; }
.sync-chip.has-error { border-color: var(--coral); color: #b3492f; }
@keyframes sync-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .sync-chip b { display: none; } .sync-chip { padding: 0 11px; } }

/* ---------- Тосты-ошибки ---------- */
.toast.toast-error > i { color: #fff; background: var(--coral); }

/* ---------- Карточка проекта: дополнения ---------- */
.card-sync { color: var(--muted-2); font-size: 9px; letter-spacing: 0.02em; }
.milestone.task, .milestone.risk, .milestone.decision { width: 100%; text-align: left; background: none; cursor: pointer; }
.milestone.risk > i { background: rgba(255, 121, 94, 0.18); color: #b3492f; }
.milestone.risk.is-done > i { background: var(--paper-2); color: var(--muted); }
.milestone.decision > i { background: rgba(124, 159, 242, 0.2); color: #3d5fb8; }
.drawer-empty { margin: 4px 0 0; color: var(--muted-2); font-size: 11px; }
#drawer-progress-input { width: 100%; margin-top: 10px; accent-color: var(--lime-dark); }
.drawer-loading { display: grid; place-items: center; gap: 12px; padding: 90px 20px; color: var(--muted); font-size: 12px; }
.drawer-loading span { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: sync-spin 800ms linear infinite; }
.drawer-actions a.button { text-decoration: none; }

/* ---------- Доступы: здоровье ---------- */
.app-health.is-down { color: #b3492f; background: rgba(255, 121, 94, 0.16); }
a.access-open { display: grid; place-items: center; text-decoration: none; }

/* ---------- Состояние загрузки ---------- */
body.is-loading .page-inner { opacity: 0.55; pointer-events: none; transition: opacity 200ms ease; }
