:root {
  color-scheme: dark;
  --bg: #102027;
  --deep: #0b171d;
  --panel: #152930;
  --panel2: #1b3037;
  --line: #294048;
  --muted: #93aab3;
  --text: #ecf2f2;
  --teal: #00afc8;
  --amber: #efb56e;
  --green: #78c7ae;
  --red: #f28e86;
  --row: 44px;
  font-family:
    Plain,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 10px 15px;
  border-radius: 7px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover {
  background: #203b44;
  border-color: #45626b;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #04232b;
  font-weight: 650;
}
button.primary:hover {
  background: #35c3d7;
}
button.ghost {
  background: transparent;
}
.icon {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  font-size: 20px;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
  font-weight: 550;
  line-height: 1.16;
  margin-bottom: 12px;
}
h2 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 17px;
  font-weight: 550;
}
p {
  line-height: 1.65;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 13px;
}
.wordmark {
  font-size: 36px;
  letter-spacing: -2.8px;
  font-weight: 650;
}
.wordmark span {
  font-size: 10px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 225px;
  background: var(--deep);
  border-right: 1px solid var(--line);
  padding: 30px 18px 14px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  color: var(--text);
  padding: 0 16px 30px;
  display: block;
}
.brand:hover {
  text-decoration: none;
}
.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 3.5px;
  margin-top: 4px;
  color: var(--muted);
}
.workspace {
  padding: 14px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 12px;
}
.workspace small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #21373e;
  border: 1px solid #385159;
  border-radius: 8px;
  font-size: 13px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #71909b;
  margin: 14px 14px 9px;
}
.nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a8bec6;
  background: transparent;
  border: 0;
  text-align: left;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
}
.nav:hover {
  text-decoration: none;
  background: #142a33;
}
.nav > span {
  font-size: 17px;
  width: 18px;
  color: #75929e;
}
.nav.active {
  background: #11343f;
  color: #79e1ed;
}
.nav.active > span {
  color: var(--teal);
}
.nav b {
  font-size: 10px;
  background: #2b4148;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 18px 3px 0;
  margin-top: 20px;
  font-size: 12px;
}
.user-row small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.user-row .icon {
  margin-left: auto;
  color: var(--muted);
}
main {
  margin-left: 225px;
  min-height: 100vh;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.topbar strong {
  font-weight: 450;
  color: #d0dfe4;
}
.topbar span:not(.online-dot) {
  margin: 0 8px;
}
.topbar-right {
  display: flex;
  align-items: center;
  font-size: 11px;
}
.online-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
#content {
  padding: 34px 38px 18px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}
.heading-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #35505a;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
  color: #b8cdd4;
}
.badge.teal {
  background: #0c343e;
  border-color: #145463;
  color: #73d9e7;
}
.badge.amber {
  background: #3b3024;
  border-color: #635039;
  color: var(--amber);
}
.badge.red {
  background: #40292a;
  border-color: #654143;
  color: var(--red);
}
.badge.green {
  color: var(--green);
  background: #153a34;
  border-color: #31574f;
}
.page-heading .badge {
  margin-left: 12px;
  vertical-align: middle;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  margin-bottom: 27px;
}
.metric {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border-right: 0;
}
.metric-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 12px;
}
.metric-value {
  font-size: 26px;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.metric-value small {
  font-size: 13px;
  letter-spacing: 0;
}
.metric-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.4;
}
.metric .progress {
  margin-top: 12px;
  width: 100%;
}
.progress {
  height: 3px;
  border-radius: 5px;
  background: #30444c;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--teal);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.toolbar .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.tab {
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.tab.active {
  border-color: var(--teal);
  color: var(--text);
}
input,
textarea,
select {
  background: var(--deep);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 6px;
  min-width: 0;
}
input[type="checkbox"] {
  accent-color: var(--teal);
}
select {
  cursor: pointer;
}
.search {
  width: 230px;
  font-size: 12px;
}
.toolbar select {
  font-size: 11px;
  padding: 9px 10px;
}
.toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.toggle button {
  font-size: 10px;
  border: 0;
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
}
.toggle button.active {
  background: #2a4149;
  color: var(--text);
}
.legend {
  display: flex;
  gap: 17px;
  color: var(--muted);
  font-size: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 2px;
  margin-right: 6px;
}
.legend .critical {
  background: var(--amber);
}
.legend .baseline {
  height: 2px;
  background: #8098a1;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #18313a;
  border: 1px solid #2a4854;
  color: #afcbd4;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 15px 0;
  font-size: 11px;
  line-height: 1.6;
}
.notice.amber {
  border-color: #61503c;
  background: #302c25;
  color: #e4c49c;
}
.notice p {
  margin: 0;
}
.gantt-shell {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #12252d;
}
.gantt-scroll {
  overflow: auto;
  max-height: calc(100vh - 390px);
  min-height: 320px;
  scrollbar-color: #425a64 #142830;
  position: relative;
}
.gantt-canvas {
  position: relative;
}
.gantt-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  height: 63px;
  background: #172c35;
  border-bottom: 1px solid #3a525c;
}
.gantt-corner {
  position: sticky;
  left: 0;
  width: 340px;
  flex-shrink: 0;
  background: #172c35;
  padding: 24px 18px;
  border-right: 1px solid #3a525c;
  font-size: 10px;
  color: #b1c8d1;
  letter-spacing: 0.5px;
  z-index: 14;
  display: flex;
  justify-content: space-between;
}
.gantt-time-head {
  position: relative;
}
.month {
  position: absolute;
  top: 10px;
  font-size: 11px;
  color: #e0eaed;
  border-left: 1px solid #35515b;
  padding-left: 10px;
  height: 18px;
}
.tick {
  position: absolute;
  top: 39px;
  font-size: 9px;
  color: #7e9ba7;
  border-left: 1px solid #30464f;
  padding-left: 6px;
}
.gantt-row {
  display: flex;
  height: var(--row);
  border-bottom: 1px solid #243a43;
  position: relative;
}
.gantt-row:hover {
  background: #1b333d;
}
.gantt-label {
  position: sticky;
  left: 0;
  width: 340px;
  flex-shrink: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  background: #142831;
  border-right: 1px solid #3a525c;
  min-width: 0;
}
.gantt-label button.task-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  padding: 0;
  background: none;
  font-size: 11px;
  text-align: left;
  border-radius: 0;
  flex: 1;
}
.task-code {
  font-size: 8px;
  color: #718e99;
  flex-shrink: 0;
  width: 43px;
  font-variant-numeric: tabular-nums;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #6e8a96;
  flex-shrink: 0;
}
.status-dot.active {
  background: var(--teal);
  border-color: var(--teal);
}
.status-dot.done {
  background: var(--green);
  border-color: var(--green);
}
.status-dot.blocked {
  background: var(--red);
  border-color: var(--red);
}
.gantt-label .assumed {
  font-size: 9px;
  color: #c0a67e;
  cursor: help;
}
.gantt-area {
  background: #20363f;
  height: 36px;
}
.gantt-area .gantt-label {
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 600;
  background: #20363f;
  color: #b9cdd5;
  width: 340px;
}
.gantt-track {
  position: relative;
  height: 100%;
}
.gantt-bar {
  position: absolute;
  top: 10px;
  height: 21px;
  border: 1px solid #00b7ce;
  border-radius: 4px;
  background: #087a8e;
  color: #dbfaff;
  min-width: 5px;
  padding: 0 8px;
  font-size: 9px;
  line-height: 19px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  z-index: 3;
  cursor: grab;
  touch-action: pan-y;
}
.gantt-bar:hover {
  background: #0995ab;
  border-color: #7aeeff;
}
.gantt-bar.critical {
  background: #9a713f;
  border-color: #d1a366;
  color: #fff3db;
}
.gantt-bar.done {
  background: #366858;
  border-color: #68b29a;
  color: #daf6ea;
}
.gantt-bar.optional {
  background: #405576;
  border-color: #6685b3;
}
.gantt-bar.blocked {
  background: #754440;
  border-color: #d37e75;
}
.gantt-bar.milestone {
  width: 12px !important;
  min-width: 12px;
  height: 12px;
  transform: rotate(45deg);
  padding: 0;
  top: 13px;
  border-radius: 1px;
  overflow: visible;
}
.milestone-name {
  position: absolute;
  top: 11px;
  font-size: 10px;
  color: #afc9d1;
  white-space: nowrap;
  pointer-events: none;
}
.baseline-line {
  position: absolute;
  top: 36px;
  height: 2px;
  background: #8299a2;
  opacity: 0.65;
  border-radius: 2px;
  min-width: 4px;
}
.forecast-line {
  position: absolute;
  top: 4px;
  height: 30px;
  border: 1px dashed #ec9c76;
  border-radius: 4px;
  opacity: 0.7;
  pointer-events: none;
}
.dependency-lines {
  position: absolute;
  top: 63px;
  left: 340px;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.dependency-lines path {
  fill: none;
  stroke: #537181;
  stroke-width: 1.2;
  opacity: 0.65;
}
.date-line {
  position: absolute;
  top: 63px;
  bottom: 0;
  width: 1px;
  background: #5a8d9b;
  pointer-events: none;
  z-index: 4;
}
.date-line.launch {
  background: var(--amber);
  border-left: 1px dashed var(--amber);
}
.date-line span {
  position: sticky;
  top: 64px;
  display: block;
  white-space: nowrap;
  font-size: 8px;
  color: #13242b;
  background: var(--amber);
  padding: 4px 7px;
  transform: translateX(-100%);
}
.gantt-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--panel);
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  min-height: 260px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.project-card:hover {
  border-color: #397587;
  background: #193139;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.project-symbol {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #0d3b47;
  display: grid;
  place-items: center;
  color: #54c7d8;
  font-size: 22px;
}
.project-card h2 {
  margin-bottom: 9px;
}
.project-card p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  margin: 18px 0 10px;
  font-size: 11px;
}
.card-milestone {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.5;
  color: var(--muted);
}
.card-milestone strong {
  font-weight: 450;
  color: #dbe8ec;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 29px 0 15px;
}
.section-title h2 {
  font-size: 16px;
  margin: 0;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 450;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: #1b3039;
  padding: 14px 16px;
  white-space: nowrap;
}
td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
tr:hover td {
  background: #193039;
}
td.title-cell {
  white-space: normal;
  min-width: 270px;
}
.title-cell button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font-size: 12px;
}
.title-cell small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}
.risk-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.risk-card h3 {
  line-height: 1.4;
  margin: 17px 0 11px;
}
.risk-card p {
  font-size: 12px;
  color: #b6cad1;
}
.risk-card button {
  margin-top: 13px;
  font-size: 11px;
}
.risk-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
}
.empty {
  padding: 65px 30px;
  text-align: center;
  border: 1px dashed #3b5560;
  border-radius: 10px;
  color: var(--muted);
}
.app-footer {
  padding: 20px 38px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #6d8a96;
}
.app-footer span {
  letter-spacing: 0.4px;
  font-size: 10px;
}
dialog {
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0;
  box-shadow: 0 20px 100px #0008;
}
dialog::backdrop {
  background: #020e14a8;
  backdrop-filter: blur(3px);
}
dialog.editor {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: 620px;
  max-width: 95vw;
  border-radius: 0;
  border-right: 0;
}
dialog.confirm {
  width: 560px;
  max-width: 94vw;
  border-radius: 12px;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 28px 21px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  margin-bottom: 8px;
}
.dialog-body {
  padding: 24px 28px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.dialog-actions .danger {
  margin-right: auto;
  color: var(--green);
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #abc3cd;
  margin-bottom: 18px;
}
label input,
label select,
label textarea {
  width: 100%;
  color: var(--text);
}
label textarea {
  resize: vertical;
  min-height: 75px;
  line-height: 1.5;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-hint {
  font-size: 10px;
  color: var(--muted);
  margin: -7px 0 17px;
  line-height: 1.6;
}
.form-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 7px 0 20px;
}
details {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}
summary {
  font-size: 12px;
  cursor: pointer;
  color: #bed4dc;
}
details select {
  margin-top: 14px;
  min-height: 190px;
  width: 100%;
  font-size: 11px;
}
details pre {
  overflow: auto;
  white-space: pre-wrap;
  font-size: 11px;
  color: #a7c4ce;
  max-height: 450px;
}
.error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.5;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  border: 1px solid #3b7780;
  background: #153d47;
  color: #d7f4f8;
  z-index: 100;
  border-radius: 8px;
  box-shadow: 0 10px 30px #0005;
  max-width: 90vw;
  font-size: 13px;
}
.toast.error {
  border-color: #a96a64;
  background: #432f2d;
  color: #ffe3dc;
}
.audit-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}
.audit-item h3 {
  font-size: 13px;
  margin: 8px 0;
}
.audit-item p {
  font-size: 12px;
  margin-bottom: 9px;
  color: #aac2cc;
}
.audit-item details {
  margin-top: 12px;
  margin-bottom: 0;
}
.token-output {
  background: var(--deep);
  border: 1px solid var(--teal);
  padding: 14px;
  overflow-wrap: anywhere;
  font: 12px monospace;
  line-height: 1.6;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-card {
  width: 360px;
  max-width: 85vw;
  margin: auto;
  padding: 50px 0;
}
.login-card .wordmark {
  font-size: 49px;
}
.login-card .eyebrow {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 64px;
}
.login-card h1 {
  font-size: 40px;
}
.login-card p.muted {
  font-size: 13px;
  margin-bottom: 30px;
}
.login-card small {
  display: block;
  text-align: center;
  font-size: 10px;
  margin-top: 20px;
}
.full {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.login-art {
  position: relative;
  overflow: hidden;
  background: #123b46;
}
.orbit {
  position: absolute;
  border: 1px solid #2b6471;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  top: 5%;
  left: 10%;
  transform: rotate(-35deg) scaleX(0.65);
}
.orbit.b {
  left: 23%;
  top: 7%;
  border-color: #357c89;
}
.orbit.c {
  left: 36%;
  top: 9%;
  border-color: #00afc8;
}
.login-caption {
  position: absolute;
  bottom: 12%;
  left: 12%;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -1px;
  color: #a4d1d8;
}
.login-caption span {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 23px;
  color: #67b7c6;
}
[hidden] {
  display: none !important;
}
.inline-check {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
  margin: 0;
  font-size: 11px;
}
.inline-check input {
  width: 14px;
}
.docs {
  max-width: 960px;
  margin: 60px auto;
  padding: 20px;
}
.docs code {
  color: #65d5e4;
}
.docs pre {
  overflow: auto;
  padding: 20px;
  background: var(--deep);
  border: 1px solid var(--line);
  line-height: 1.8;
  font-size: 12px;
}
.docs li {
  line-height: 1.8;
}
.api-panel {
  background: var(--panel);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 20px;
}
.api-panel p {
  color: var(--muted);
  font-size: 12px;
}
.api-panel form {
  max-width: 640px;
}
.change-list {
  max-height: 250px;
  overflow: auto;
  padding-left: 18px;
  line-height: 1.8;
  font-size: 12px;
}
.critical-text {
  color: var(--amber);
}
@media (min-width: 1700px) {
  #content {
    padding-left: 52px;
    padding-right: 52px;
  }
  .gantt-scroll {
    max-height: calc(100vh - 420px);
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding-left: 12px;
    padding-right: 12px;
  }
  main {
    margin-left: 190px;
  }
  .topbar {
    padding: 0 24px;
  }
  #content {
    padding: 28px 24px 15px;
  }
  .metric {
    padding: 17px 16px;
  }
  .metric-value {
    font-size: 23px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 29px;
  }
  .heading-actions {
    flex-direction: column;
  }
  .toolbar .right {
    margin-left: 0;
  }
  .search {
    width: 190px;
  }
  .topbar-right {
    font-size: 10px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    width: 66px;
    padding: 20px 6px;
  }
  .brand {
    padding: 0 3px 28px;
  }
  .brand .wordmark {
    font-size: 23px;
    letter-spacing: -2px;
  }
  .brand .wordmark span,
  .brand-sub,
  .workspace,
  .nav-label,
  .user-row > div,
  .user-row > .avatar {
    display: none;
  }
  .nav {
    font-size: 0;
    gap: 0;
    padding: 14px;
    justify-content: center;
  }
  .nav > span {
    font-size: 21px;
    width: auto;
  }
  .nav b {
    display: none;
  }
  .sidebar-bottom .nav {
    font-size: 0;
  }
  .user-row {
    justify-content: center;
  }
  .user-row .icon {
    margin: 0;
  }
  .project-only {
    margin-top: 20px;
  }
  main {
    margin-left: 66px;
  }
  .topbar {
    height: 55px;
    padding: 0 18px;
  }
  #content {
    padding: 25px 18px 14px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metric {
    padding: 15px;
  }
  .metric-value {
    font-size: 23px;
  }
  .page-heading {
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading .badge {
    margin: 8px 0 0;
  }
  .page-heading p {
    font-size: 11px;
  }
  .heading-actions button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .gantt-label,
  .gantt-corner,
  .gantt-area .gantt-label {
    width: 270px;
  }
  .gantt-label {
    padding: 0 12px;
  }
  .gantt-scroll {
    max-height: 560px;
  }
  .dependency-lines {
    left: 270px;
  }
  .app-footer {
    padding: 18px;
  }
  .app-footer span {
    display: none;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar select {
    max-width: 130px;
  }
  .legend {
    gap: 10px;
  }
  .login-art {
    display: none;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .form-grid {
    gap: 0 10px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .gantt-bottom {
    flex-wrap: wrap;
  }
  .topbar-right span:not(.online-dot) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
