:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #253345;
  background: #fbfffe;
  font-size: 14px;
  --blue: #094074;
  --orange: #ff7f11;
  --border: #dfe5eb;
  --muted: #677587;
  --surface: #f5f7f9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body.panel-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
*:focus-visible {
  outline: 3px solid #156ab2;
}
button {
  cursor: pointer;
  border: 1px solid var(--border);
  background: white;
  border-radius: 5px;
  padding: 9px 13px;
  color: var(--blue);
  font-weight: 600;
}
button:hover {
  background: #f0f4f7;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--blue);
}
.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #282b30;
}
.primary:hover {
  background: #ee7100;
}
.danger {
  color: #ab3030;
}
.small {
  font-size: 12px;
  padding: 5px 9px;
}
.quiet {
  border-color: transparent;
  background: transparent;
}
.skip {
  position: fixed;
  top: -60px;
  left: 10px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--blue);
  color: white;
  padding: 28px 16px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 28px;
  letter-spacing: 0.5px;
}
.brand-mark {
  width: 31px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #9bb1c7;
  font-size: 21px;
  font-weight: 700;
  border-left: 4px solid var(--orange);
}
.brand strong {
  font-size: 16px;
}
.brand small {
  display: block;
  font-size: 10px;
  color: #c1d0df;
  letter-spacing: 1.5px;
  margin-top: 3px;
}
.nav-caption {
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #b4c8db;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dbe6f0;
  text-decoration: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 13px;
}
.sidebar nav a:hover {
  background: #174d7d;
}
.sidebar nav a.active {
  background: #235681;
  color: white;
  border-left: 3px solid var(--orange);
  padding-left: 9px;
}
.nav-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
  opacity: 0.8;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #396489;
  padding: 18px 10px 0;
  font-size: 12px;
  line-height: 1.7;
  color: #c8d7e4;
}
.sidebar-bottom strong {
  color: white;
  display: block;
}
.sidebar-bottom button {
  color: white;
  margin-top: 8px;
  font-size: 12px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 77px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: white;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 6px;
}
.project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.demo {
  background: #fff2e4;
  color: #875013;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border: 1px solid #f4d6b8;
  border-radius: 3px;
}
.environment {
  font-size: 12px;
  padding: 7px;
  max-width: 165px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.timeline {
  padding: 14px 34px 16px;
  background: #f8fafb;
  border-bottom: 1px solid var(--border);
}
.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.timeline-title {
  display: flex;
  align-items: center;
}
.timeline-head strong {
  font-size: 11px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.timeline select,
.timeline input {
  font-size: 11px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: white;
}
.timeline-range {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 12px 0 8px;
}
.timeline-viewport {
  overflow: hidden;
  padding: 0 0 12px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  border-radius: 3px;
}
.timeline-canvas {
  position: relative;
  overflow: clip;
  padding: 8px 0 12px;
}
.timeline-canvas .timeline-track {
  height: 122px;
}
.timeline-ruler {
  border-top: 1px solid #cad5df;
  border-bottom: 1px solid #cad5df;
  background: #f1f5f8;
  color: var(--blue);
}
.ruler-months,
.ruler-days {
  display: flex;
}
.ruler-months {
  border-bottom: 1px solid #d9e2ea;
}
.ruler-months span {
  padding: 8px 7px;
  font-size: 11px;
  font-weight: 600;
  border-right: 1px solid #cad5df;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}
.ruler-day {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 10px;
  line-height: 25px;
  border-right: 1px solid #e0e6ed;
  font-variant-numeric: tabular-nums;
}
.weekend {
  background: #e8eef3;
}
.ruler-today {
  background: #fff0df;
  color: #8a4000;
  font-weight: 700;
  box-shadow: inset 0 -2px var(--orange);
}
.timeline-day-grid {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}
.timeline-day-grid span {
  flex: 1;
  min-width: 0;
  border-right: 1px solid #e4eaf0;
}
.timeline-day-grid .weekend {
  background: #edf1f580;
}
.type-milestone {
  --event-color: #094074;
  --event-bg: #e6eff8;
}
.type-meeting {
  --event-color: #156857;
  --event-bg: #e7f5ef;
}
.type-test {
  --event-color: #6d4491;
  --event-bg: #f1eafa;
}
.type-training {
  --event-color: #8b4d09;
  --event-bg: #fff0df;
}
.type-migration {
  --event-color: #9a3849;
  --event-bg: #fbecef;
}
.type-event {
  --event-color: #386576;
  --event-bg: #eaf3f7;
}
.timeline-legend {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.timeline-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--event-color);
}
.timeline-canvas .timeline-marker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--event-color);
  border-left-width: 3px;
  border-radius: 4px;
  background: var(--event-bg);
  color: var(--event-color);
  font-size: 11px;
  line-height: 16px;
}
.timeline-marker svg {
  flex-shrink: 0;
}
.timeline-canvas .phase-bar {
  overflow: visible;
  font-size: 10px;
}
.phase-label {
  position: absolute;
  left: 5px;
  top: 1px;
  width: max-content;
  white-space: nowrap;
  font-size: 10px;
}
.phase-label-end .phase-label {
  left: auto;
  right: 5px;
}
.timeline-canvas .timeline-marker {
  width: max-content;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.timeline-canvas .marker-start {
  transform: none;
}
.timeline-canvas .marker-end {
  transform: translateX(-100%);
}
.timeline-canvas .today-line {
  height: 130px;
}
.timeline-canvas .today-line span {
  top: 121px;
}
.timeline-viewport .phase-bar,
.timeline-viewport .timeline-marker {
  cursor: grab;
}
.timeline-viewport.is-dragging,
.timeline-viewport.is-dragging * {
  cursor: grabbing;
}
.timeline-track {
  height: 48px;
  position: relative;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #cad5df;
}
.phase-bar {
  height: 18px;
  position: absolute;
  top: 1px;
  background: #dce5ee;
  border-radius: 2px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
  padding: 1px 5px;
  border: 0;
  font-weight: 500;
  color: #254d70;
}
.phase-bar:nth-child(even) {
  background: #cbdbea;
}
.timeline-marker {
  position: absolute;
  top: 27px;
  transform: translateX(-50%);
  font-size: 10px;
  padding: 0 3px;
  white-space: nowrap;
  background: #f8fafb;
  border: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-marker.milestone {
  color: #094074;
}
.timeline-marker.event {
  color: #586b7a;
}
.today-line {
  position: absolute;
  left: 0;
  top: -7px;
  height: 56px;
  border-left: 2px solid var(--orange);
  pointer-events: none;
  z-index: 2;
}
.today-line span {
  position: absolute;
  top: 47px;
  left: 4px;
  font-size: 9px;
  color: #9b4a00;
  background: #f8fafb;
}
.timeline-note {
  font-size: 10px;
  color: var(--muted);
  margin: 11px 0 0;
}
.timeline-expanded {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.timeline-expanded button {
  font-size: 11px;
  text-align: left;
}
.timeline-expanded span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
main {
  padding: 30px 34px 40px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}
.page-head h1 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 0 0 7px;
  color: var(--blue);
  font-weight: 650;
}
.page-head p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
.page-head .primary {
  white-space: nowrap;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 26px;
  background: white;
}
.metric {
  padding: 21px 24px;
  text-align: left;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--border);
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  background: none;
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  color: var(--blue);
  font-size: 29px;
  margin: 10px 0 8px;
  letter-spacing: -1px;
}
.metric small {
  font-size: 11px;
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.progress {
  height: 4px;
  background: #e6ebef;
  border-radius: 4px;
  overflow: hidden;
  min-width: 70px;
}
.progress span {
  display: block;
  background: var(--blue);
  height: 100%;
}
.metric .progress {
  margin: 0 0 8px;
  width: 80%;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 26px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.section-title h2 {
  font-size: 15px;
  color: var(--blue);
  margin: 0;
}
.section-title button {
  font-size: 11px;
}
.attention-item {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 14px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.attention-item:hover,
.upcoming:hover {
  background: #f7f9fa;
}
.attention-item .accent {
  background: #ba5447;
  border-radius: 2px;
}
.attention-item .accent.warning {
  background: var(--orange);
}
.attention-item strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
}
.attention-item p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.attention-item button {
  align-self: center;
}
.date-meta {
  font-size: 11px;
  color: #9b3f31;
}
.upcoming {
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.date-block {
  width: 37px;
  text-align: center;
  color: var(--blue);
  font-size: 20px;
  flex-shrink: 0;
}
.date-block small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--muted);
}
.upcoming button {
  padding: 0;
  text-align: left;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  background: transparent;
}
.upcoming p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.count {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin-left: 8px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  margin-bottom: 20px;
}
.tabs button {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.tabs button.selected {
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  flex-wrap: wrap;
}
.toolbar input[type="search"] {
  width: 260px;
}
.toolbar input,
.toolbar select,
.toolbar button {
  border: 1px solid var(--border);
  background: white;
  border-radius: 4px;
  padding: 9px 11px;
  font-size: 12px;
  color: #4b596b;
}
.toolbar .result-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.filters-extra {
  padding: 14px;
  background: var(--surface);
  display: flex;
  gap: 15px;
  align-items: end;
  border: 1px solid var(--border);
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.filters-extra label {
  font-size: 11px;
  display: grid;
  gap: 6px;
}
.filters-extra input,
.filters-extra select {
  padding: 7px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.table-wrap {
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: auto;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  background: #f7f9fb;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 600;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
th button {
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  text-align: left;
}
td {
  padding: 16px 15px;
  border-bottom: 1px solid #e9edf1;
  vertical-align: middle;
  line-height: 1.5;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f9fbfc;
}
.record-link {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  line-height: 1.5;
  max-width: 340px;
}
.cell-sub {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8693a1;
}
.status.good {
  color: #257151;
}
.status.good::before {
  background: #257151;
}
.status.bad {
  color: #a83e35;
}
.status.bad::before {
  background: #a83e35;
}
.status.warn {
  color: #946018;
}
.status.warn::before {
  background: #b47521;
}
.status.blue {
  color: var(--blue);
}
.status.blue::before {
  background: #3872a5;
}
.muted {
  color: var(--muted);
}
.help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 13px;
}
.empty strong {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
}
.error-box {
  background: #fff3f0;
  border: 1px solid #e7b7af;
  color: #96372d;
  padding: 12px 15px;
  border-radius: 4px;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.6;
}
.success-box {
  background: #f0f8f2;
  border: 1px solid #b7d8bf;
  color: #25663b;
  padding: 12px;
  margin: 14px 0;
  border-radius: 4px;
}
.notice {
  background: #f5f8fb;
  border: 1px solid #d9e3ed;
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: #425b73;
  margin: 16px 0;
}
.gantt {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 5px;
}
.gantt-inner {
  min-width: 950px;
}
.gantt-header,
.gantt-row,
.gantt-phase {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.gantt-header {
  height: 42px;
  background: var(--surface);
  font-size: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.gantt-header > div:first-child,
.gantt-row > div:first-child,
.gantt-phase > div:first-child {
  padding: 12px 15px;
  border-right: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gantt-scale {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  position: relative;
}
.gantt-row {
  height: 58px;
  border-bottom: 1px solid #e9edf1;
}
.gantt-row:last-child {
  border: 0;
}
.gantt-phase {
  height: 32px;
  background: #f1f5f8;
  font-weight: 600;
  color: var(--blue);
  font-size: 11px;
}
.gantt-phase > div:first-child {
  padding: 8px 15px;
}
.gantt-track {
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(14.285% - 1px),
    #edf0f4 calc(14.285% - 1px),
    #edf0f4 14.285%
  );
}
.gantt-baseline {
  height: 3px;
  position: absolute;
  top: 41px;
  background: #acb7c3;
  min-width: 4px;
}
.gantt-bar {
  position: absolute;
  top: 16px;
  height: 17px;
  background: #dce5ee;
  border: 1px solid #b4cadf;
  border-radius: 3px;
  padding: 0;
  min-width: 7px;
  overflow: hidden;
}
.gantt-bar span {
  height: 100%;
  display: block;
  background: #5485ad;
  pointer-events: none;
}
.gantt-bar.blocked {
  border-color: #b65d50;
  background: #f3dcd6;
}
.gantt-bar.blocked span {
  background: #ba6b5e;
}
.gantt-diamond {
  position: absolute;
  top: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--blue);
  font-size: 19px;
  transform: translateX(-50%);
}
.gantt-now {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 2px solid var(--orange);
  pointer-events: none;
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  margin: 13px 0;
  flex-wrap: wrap;
}
.legend i {
  display: inline-block;
  width: 14px;
  height: 3px;
  background: #acb7c3;
  vertical-align: middle;
  margin-right: 5px;
}
.legend i.current {
  background: #5485ad;
  height: 8px;
}
.legend i.now {
  background: var(--orange);
  width: 2px;
  height: 10px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  min-width: 840px;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}
.week-day {
  border-right: 1px solid var(--border);
  min-height: 340px;
  background: white;
}
.week-day:last-child {
  border: 0;
}
.week-day h3 {
  font-size: 11px;
  margin: 0;
  padding: 13px;
  background: var(--surface);
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.week-day.today h3 {
  color: var(--blue);
  box-shadow: inset 0 -2px var(--orange);
}
.week-event {
  display: block;
  width: calc(100% - 14px);
  margin: 12px 7px;
  padding: 10px 8px;
  border: 1px solid #dce5ed;
  border-left: 3px solid var(--blue);
  text-align: left;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  background: #f5f8fa;
}
.week-event small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.week-empty {
  padding: 18px 10px;
  color: #8d99a7;
  font-size: 10px;
  text-align: center;
}
.settings-form {
  max-width: 660px;
}
.settings-section {
  margin-bottom: 28px;
}
.settings-section h2 {
  font-size: 15px;
  color: var(--blue);
  margin: 0 0 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #526174;
  align-content: start;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #cdd6df;
  border-radius: 4px;
  color: #253345;
  background: white;
  font-size: 12px;
  font-weight: 400;
}
.field textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}
.field input:disabled {
  background: #f0f3f5;
  color: #677587;
}
.field select[multiple] {
  min-height: 85px;
}
.field small {
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.check-label input {
  width: auto;
}
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.form-actions .danger {
  margin-left: auto;
}
.panel-overlay {
  position: fixed;
  inset: 0;
  background: #152e4666;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
}
.panel {
  width: min(660px, 100%);
  height: 100%;
  background: white;
  box-shadow: -10px 0 40px #102f4522;
  display: flex;
  flex-direction: column;
}
.panel-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.panel-head h2 {
  margin: 5px 0 0;
  font-size: 19px;
  color: var(--blue);
  line-height: 1.4;
}
.panel-head small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.panel-head button {
  padding: 5px 9px;
}
.panel-body {
  padding: 24px 26px;
  overflow: auto;
  flex: 1;
}
.panel .tabs {
  margin-bottom: 22px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.detail-grid dt {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 6px;
}
.detail-grid dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-grid .full {
  grid-column: 1/-1;
}
.panel-section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}
.panel-section h3 {
  font-size: 13px;
  color: var(--blue);
  margin-top: 0;
}
.history-item {
  border-left: 2px solid #dce5ed;
  padding: 0 0 20px 16px;
  font-size: 12px;
  line-height: 1.6;
}
.history-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.history-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 7px 0;
}
.round {
  border: 1px solid var(--border);
  padding: 15px;
  margin: 12px 0;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.8;
}
.round strong {
  color: var(--blue);
}
.round small {
  display: block;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #183e5b;
  color: white;
  padding: 13px 21px;
  border-radius: 5px;
  box-shadow: 0 5px 20px #122b4533;
  font-size: 12px;
  z-index: 60;
  max-width: 90vw;
  display: none;
}
#toast.visible {
  display: block;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-intro {
  background: var(--blue);
  padding: 12vh 10%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-intro .brand {
  padding: 0;
  margin-bottom: 70px;
}
.login-intro h1 {
  font-size: 37px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0 0 20px;
  max-width: 420px;
  font-weight: 600;
}
.login-intro p {
  font-size: 14px;
  color: #c6d7e6;
  line-height: 1.9;
  max-width: 370px;
}
.login-line {
  width: 45px;
  height: 4px;
  background: var(--orange);
  margin-bottom: 30px;
}
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form {
  width: 350px;
  max-width: 100%;
}
.login-form h2 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 8px;
}
.login-form > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.login-form .field {
  margin-bottom: 18px;
}
.login-form .primary {
  width: 100%;
  margin-top: 8px;
}
.login-form .notice {
  margin-top: 25px;
  font-size: 11px;
}
.loading {
  padding: 40px;
  color: var(--blue);
}
.mobile-menu {
  display: none;
}
.sync-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 5px;
}
.sync-info h2 {
  font-size: 16px;
  color: var(--blue);
  margin: 0 0 8px;
}
.sync-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.calendar-options {
  display: grid;
  gap: 15px;
  margin: 22px 0;
}
.readonly {
  padding: 9px 12px;
  background: #f5f7f9;
  color: var(--muted);
  font-size: 11px;
  border-radius: 4px;
}
.field-error {
  font-size: 12px;
  color: #a33d30;
  margin-top: 14px;
}
.schedule-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.schedule-note input {
  border: 1px solid var(--border);
  padding: 7px;
  border-radius: 4px;
  color: var(--blue);
}
.timeline-track {
  height: 68px;
}
.timeline-marker {
  top: 47px;
}
.today-line {
  height: 76px;
}
.today-line span {
  top: 67px;
}
@media (min-width: 1550px) {
  main {
    padding-top: 36px;
  }
  .overview-grid {
    gap: 36px;
  }
  .attention-item {
    padding: 23px 2px;
  }
  .upcoming {
    padding: 21px 0;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .topbar {
    padding: 0 24px;
  }
  main {
    padding: 25px 24px;
  }
  .timeline {
    padding-left: 24px;
    padding-right: 24px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .metrics .metric {
    padding: 18px;
  }
  .phase-bar {
    font-size: 9px;
  }
  .environment {
    max-width: 130px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    z-index: 20;
    width: 230px;
    transition: left 0.15s;
  }
  .shell.menu-open .sidebar {
    left: 0;
    box-shadow: 12px 0 30px #15314b44;
  }
  .mobile-menu {
    display: inline-block;
    padding: 5px 9px;
    margin-right: 8px;
  }
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 13px 16px;
    align-items: center;
  }
  .topbar .eyebrow {
    display: none;
  }
  .topbar .project-name {
    font-size: 12px;
    max-width: 190px;
    line-height: 1.6;
  }
  .top-actions {
    gap: 5px;
  }
  .top-actions .demo {
    display: none;
  }
  .environment {
    font-size: 10px;
    max-width: 120px;
    padding: 6px;
  }
  .timeline {
    padding: 12px 16px;
  }
  .timeline-head {
    align-items: flex-start;
  }
  .timeline-head strong {
    font-size: 9px;
  }
  .timeline-tools {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .timeline-tools input {
    max-width: 115px;
  }
  .timeline-tools button {
    font-size: 10px;
  }
  .timeline-marker {
    max-width: 90px;
    font-size: 9px;
  }
  .phase-bar {
    font-size: 8px;
    padding: 1px 2px;
  }
  .timeline-note {
    font-size: 9px;
  }
  main {
    padding: 23px 16px;
  }
  .page-head {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-head h1 {
    font-size: 22px;
  }
  .page-head p {
    max-width: 240px;
    font-size: 11px;
  }
  .page-head button.primary {
    font-size: 10px;
    padding: 9px;
  }
  .metrics {
    margin-bottom: 22px;
  }
  .metric {
    padding: 14px 11px !important;
    font-size: 10px;
  }
  .metric strong {
    font-size: 24px;
  }
  .metric small {
    font-size: 9px;
    line-height: 1.6;
  }
  .metric .progress {
    width: 100%;
  }
  .overview-grid {
    gap: 28px;
    display: block;
  }
  .overview-grid > section {
    margin-bottom: 28px;
  }
  .toolbar {
    gap: 7px;
  }
  .toolbar input[type="search"] {
    width: 100%;
    flex-basis: 100%;
  }
  .toolbar select {
    max-width: 150px;
    flex: 1;
  }
  .toolbar .result-count {
    font-size: 10px;
  }
  .table-wrap table {
    min-width: 640px;
  }
  .table-wrap td {
    padding: 14px 12px;
  }
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .field.full,
  .detail-grid .full {
    grid-column: auto;
  }
  .panel-body {
    padding: 22px 18px;
  }
  .panel-head {
    padding: 20px 18px;
  }
  .tabs {
    gap: 20px;
  }
  .tabs button {
    font-size: 11px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-intro {
    display: none;
  }
  .login-main {
    padding: 28px;
    min-height: 100vh;
  }
  .sync-info {
    align-items: flex-start;
    gap: 15px;
    padding: 17px;
    flex-direction: column;
  }
  .date-meta {
    font-size: 10px;
  }
  .attention-item {
    gap: 10px;
  }
  .attention-item strong {
    font-size: 12px;
  }
  .attention-item p {
    font-size: 10px;
  }
  .timeline-track {
    margin-top: 5px;
  }
  .settings-form {
    max-width: 100%;
  }
}

.term-version {
  border-top: 1px solid #dce3e9;
  padding: 10px 0;
  margin-top: 10px;
}
