:root {
  --paper: #ffffff;
  --surface: #f4f5f7;
  --ink: #15161d;
  --muted: #60646c;
  --line: #d8dce2;
  --soft-line: #e7e9ee;
  --green: #1ab932;
  --green-soft: #ddf3e1;
  --red-soft: #ffe0de;
  --red: #f32b2c;
  --gold-soft: #f3f4f6;
  --blue-soft: #eee8ff;
  --focus: #4700ff;
  --blue: #4700ff;
  --radius: 4px;
  --radius-large: 6px;
  --text-xl: 20px;
  --text-lg: 16px;
  --text-md: 14px;
  --text-sm: 12px;
  --text-xs: 11px;
  --page-pad: clamp(14px, 4vw, 42px);
  --content-max: none;
  --shadow-soft: 0 1px 2px rgba(21, 22, 29, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-md);
  line-height: 1.35;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button,
select,
input {
  font: inherit;
}

.top {
  padding: 10px clamp(18px, 4vw, 42px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.top-copy h1 {
  margin: 5px 0 5px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.eyebrow {
  margin: 0;
  color: #677154;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-strip,
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-strip span,
.legend span,
.meta-row span,
.timeline-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 5px;
  padding: 5px 9px;
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
}

.legend i {
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 99px;
}

.planning-overview {
  order: 4;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 16px var(--page-pad) 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.planning-overview::-webkit-scrollbar {
  height: 10px;
}

.planning-overview::-webkit-scrollbar-track {
  background: var(--soft-line);
}

.planning-overview::-webkit-scrollbar-thumb {
  background: #b9c0cc;
  border-radius: 999px;
}

.planning-title {
  min-width: 836px;
  margin-bottom: 8px;
}

.planning-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.planning-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.planning-overview .section-heading {
  min-width: 1120px;
  margin-top: 0;
}

.planning-overview .section-heading p,
.planning-overview .legend span {
  color: var(--muted);
}

.planning-board {
  position: relative;
  min-width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
}

.timeline-axis .planning-board {
  border-bottom: 0;
}

.project-lanes .planning-board {
  border-top: 0;
}

.quarter-axis,
.month-axis {
  display: grid;
  grid-template-columns: repeat(var(--month-count), var(--month-width));
  margin-left: 116px;
}

.quarter-axis span,
.month-axis span {
  min-height: 24px;
  border-left: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.quarter-axis span {
  background: #eef0f4;
  text-align: left;
}

.timeline-stage {
  position: relative;
  min-height: var(--stage-height);
  margin-left: 116px;
  background:
    repeating-linear-gradient(
      to right,
      #e1e4ea 0,
      #e1e4ea 1px,
      transparent 1px,
      transparent var(--month-width)
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 38px,
      rgba(17, 17, 17, 0.05) 38px,
      rgba(17, 17, 17, 0.05) 39px
    );
}

.timeline-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #4c7bd9;
  z-index: 3;
}

.timeline-today::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #4c7bd9;
}

.timeline-row-label {
  position: absolute;
  left: -116px;
  width: 104px;
  height: 22px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.timeline-row-label.undated-label {
  color: var(--muted);
}

.timeline-item-block {
  position: absolute;
  min-width: 92px;
  height: 30px;
  overflow: hidden;
  border: 0;
  border-left: 4px solid var(--lane-color);
  border-radius: 4px;
  background: var(--block-bg);
  color: #20211f;
  cursor: pointer;
  text-align: left;
  z-index: 2;
}

.timeline-item-block.milestone {
  width: 96px;
  min-width: 68px;
  background: #eef0f4;
  color: var(--ink);
}

.timeline-item-block.point-event {
  width: 36px;
  min-width: 36px;
  overflow: visible;
  border-left-width: 4px;
  background: var(--paper);
}

.timeline-item-block.undated {
  border-left-color: #777;
  background: #f3f4f6;
  color: #151515;
  opacity: 0.9;
}

.timeline-item-block.milestone::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #aeb4ad;
}

.timeline-item-block.point-event::before {
  left: 9px;
  top: 9px;
}

.timeline-item-block.active {
  outline: 2px solid rgba(71, 0, 255, 0.28);
  outline-offset: 2px;
}

.timeline-item-block strong,
.timeline-item-block span {
  display: block;
  overflow: hidden;
  padding: 0 7px 0 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-item-block em {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 18px;
  height: 14px;
  border-radius: 99px;
  background: rgba(32, 33, 31, 0.18);
  color: inherit;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.timeline-item-block.milestone strong,
.timeline-item-block.milestone span {
  padding-left: 24px;
}

.timeline-item-block.point-event strong,
.timeline-item-block.point-event span {
  width: 124px;
  padding-left: 28px;
  text-shadow: 0 1px 0 var(--paper);
}

.timeline-item-block.point-event em {
  right: auto;
  left: 16px;
}

.timeline-item-block strong {
  padding-top: 3px;
  padding-right: 28px;
  font-size: 11px;
}

.timeline-item-block span {
  display: block;
  margin-top: 0;
  color: inherit;
  font-size: 10px;
  opacity: 0.78;
}

.undated-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--paper);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.sync-audit-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--paper);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.sync-audit-panel[hidden] {
  display: none;
}

.sync-audit-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.2;
}

.sync-audit-panel p {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.sync-audit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.sync-audit-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 8px 9px;
  text-decoration: none;
}

.sync-audit-card strong,
.sync-audit-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-audit-card strong {
  font-size: var(--text-sm);
}

.sync-audit-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--text-xs);
}

.undated-panel[hidden] {
  display: none;
}

.undated-panel h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.2;
}

.undated-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.undated-empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.undated-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 8px 9px;
  text-align: left;
  cursor: pointer;
}

.undated-result {
  min-width: 0;
}

.undated-result .accordion-detail {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.undated-card strong,
.undated-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.undated-card strong {
  font-size: var(--text-sm);
}

.undated-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--text-xs);
}

.undated-card em {
  min-width: 24px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 800;
  padding: 4px 6px;
  text-align: center;
}

.info-priority {
  order: 3;
  padding: 16px var(--page-pad) 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.info-priority .section-heading {
  margin: 0 0 8px;
  align-items: center;
}

.info-priority h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.priority-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.priority-list > * {
  flex: 0 0 220px;
}

.priority-card {
  min-height: 38px;
}

.priority-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 9px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.priority-card strong,
.priority-card span {
  display: block;
}

.priority-card strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priority-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.priority-card em {
  min-width: 24px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  padding: 4px 6px;
  text-align: center;
}

.filter-bar {
  order: 1;
  padding: 10px clamp(18px, 4vw, 42px) 8px;
  background: var(--paper);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.filters {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 10px;
  align-self: start;
  max-width: 1180px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.filter-heading strong {
  display: block;
}

.filter-heading strong {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1;
}

.filter-heading span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 6px;
  background: #20211f;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
}

.form-button:hover {
  background: #3a3d35;
}

.filters label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.filter-field {
  min-width: 0;
}

.filter-field small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.filters select {
  width: 100%;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #c9c0ae;
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.search-box input {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #c9c0ae;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 16px;
}

.search-box span {
  min-width: 42px;
  border-radius: 6px;
  background: var(--green-soft);
  color: #2f4c1d;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 8px;
  text-align: center;
}

.field-summary article {
  min-width: 0;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.field-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.workspace {
  order: 2;
  display: block;
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 42px) 10px;
  background: var(--paper);
  border-bottom: 0;
}

.workspace[hidden],
.detail[hidden] {
  display: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 4px 0 8px;
}

.section-heading h2,
.detail h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.icon-button {
  width: auto;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
}

.result-actions {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin: 0 0 6px;
  pointer-events: none;
}

.result-actions .icon-button {
  pointer-events: auto;
}

.timeline-list {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-empty {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
}

.search-empty strong {
  font-size: 15px;
}

.search-empty span {
  color: var(--muted);
  font-size: 14px;
}

.timeline-result {
  border-bottom: 1px solid var(--soft-line);
}

.timeline-result:last-child {
  border-bottom: 0;
}

.timeline-item {
  display: grid;
  width: 100%;
  grid-template-columns: 120px minmax(0, 1fr) 132px;
  gap: 14px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.timeline-item:hover,
.timeline-item.active {
  background: #e8f0df;
}

.date strong,
.date span,
.timeline-title span {
  display: block;
}

.date strong {
  font-size: 13px;
}

.date span,
.timeline-title span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.timeline-title strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.timeline-meta {
  margin-top: 4px;
  color: #677154;
  font-size: 12px;
  font-weight: 700;
}

.completion {
  align-self: center;
}

.completion div,
.progress-block div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.progress-track {
  display: block;
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e3e6ec;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--green);
}

.accordion-detail {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border-top: 1px solid var(--soft-line);
}

.accordion-head h3 {
  margin: 0;
  font-size: 17px;
}

.accordion-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.accordion-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: start;
}

.field-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--surface);
}

.field-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.field-group-heading strong,
.field-group summary {
  font-size: 13px;
  font-weight: 800;
}

.field-group-heading span {
  min-width: 26px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 7px;
  text-align: center;
}

.field-group-filled {
  grid-column: 1 / 2;
  padding-top: 7px;
}

.field-group summary {
  cursor: pointer;
  color: var(--muted);
}

.accordion-progress {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

.accordion-fields {
  margin-top: 4px;
  columns: 1;
}

.accordion-fields .field-row {
  break-inside: avoid;
  padding: 6px 0;
}

.detail {
  display: none;
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.visual-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(109, 141, 82, 0.2), rgba(216, 231, 234, 0.8)),
    var(--blue-soft);
}

.calendar-card {
  display: grid;
  place-items: center;
  width: 58px;
  height: 54px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(32, 33, 31, 0.12);
}

.calendar-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.calendar-card strong {
  font-size: 24px;
}

.signal-lines {
  display: grid;
  gap: 7px;
  width: 54%;
}

.signal-lines span {
  height: 8px;
  border-radius: 99px;
  background: rgba(32, 33, 31, 0.16);
}

.signal-lines span:nth-child(2) {
  width: 78%;
}

.signal-lines span:nth-child(3) {
  width: 55%;
}

.detail .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.progress-block,
.field-summary {
  margin-top: 12px;
}

.field-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fields {
  margin-top: 12px;
  border-top: 1px solid var(--soft-line);
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--soft-line);
}

.field-row strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.field-row span {
  flex: 0 0 auto;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
}

.field-row .done {
  background: var(--green-soft);
  color: #2f4c1d;
}

.field-row .missing {
  background: var(--red-soft);
  color: var(--red);
}

.empty {
  padding: 24px;
  color: var(--muted);
}

/* Consistent visual system */
.filter-heading strong {
  font-size: var(--text-xl);
  line-height: 1.15;
}

.planning-title h2,
.section-heading h2,
.detail h2,
.timeline-title strong,
.accordion-head h3,
.search-empty strong {
  font-size: var(--text-lg);
  line-height: 1.2;
}

.form-button,
.search-box span,
.search-empty span,
.section-heading p,
.completion div,
.progress-block div:first-child {
  font-size: var(--text-md);
}

.filter-heading span,
.planning-title p,
.info-priority h2,
.date strong,
.date span,
.timeline-title span,
.timeline-meta,
.field-group-heading strong,
.field-group summary,
.accordion-head p,
.field-row strong,
.field-row span,
.timeline-row-label,
.quarter-axis span,
.month-axis span,
.priority-card strong,
.field-summary span {
  font-size: var(--text-sm);
}

.priority-card span,
.priority-card em,
.timeline-item-block strong,
.timeline-item-block span,
.timeline-item-block em {
  font-size: var(--text-xs);
}

.filter-heading span,
.planning-title p,
.date span,
.timeline-title span,
.search-empty span,
.accordion-head p,
.field-group summary,
.priority-card span,
.field-summary span,
.timeline-row-label,
.quarter-axis span,
.month-axis span {
  color: var(--muted);
}

.timeline-meta,
.eyebrow {
  color: var(--green);
}

.timeline-today,
.timeline-today::before {
  background: var(--focus);
}

.form-button {
  background: var(--ink);
}

.form-button:hover {
  background: #2b2c33;
}

.timeline-list,
.field-summary article,
.detail,
.visual-panel {
  border-radius: var(--radius-large);
}

.filters,
.timeline-list,
.planning-board,
.priority-card,
.field-group {
  box-shadow: var(--shadow-soft);
}

.form-button,
.search-box input,
.search-box span,
.icon-button,
.priority-card,
.field-group,
.accordion-progress,
.timeline-item-block,
.field-row span,
.status-strip span,
.legend span,
.meta-row span,
.timeline-tags span {
  border-radius: var(--radius);
}

.filter-bar,
.workspace {
  background: var(--paper);
}

.info-priority,
.planning-overview {
  background: var(--surface);
}

.timeline-item:hover,
.timeline-item.active {
  background: var(--green-soft);
}

.progress-track {
  background: var(--soft-line);
}

.priority-list {
  gap: 8px;
}

.priority-list > * {
  flex: 1 1 240px;
  max-width: none;
}

.timeline-item {
  grid-template-columns: 120px minmax(0, 1fr) 120px;
}

/* Unified search card */
.filter-bar {
  padding: 12px var(--page-pad) 0;
  background: var(--surface);
}

.filters {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  padding: 10px 12px;
}

.workspace {
  width: calc(100% - (var(--page-pad) * 2));
  margin: 0 var(--page-pad);
  padding: 10px 0 12px;
  background: var(--surface);
}

.result-actions {
  margin: 0;
  padding: 0 12px 6px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.timeline-list {
  border-top: 1px solid var(--line);
  border-radius: var(--radius-large);
}

.search-empty {
  gap: 2px;
  padding: 10px 12px 12px;
}

.search-empty strong {
  font-size: var(--text-md);
}

.search-empty span {
  font-size: var(--text-sm);
}

.info-priority h2 {
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.search-box input:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(71, 0, 255, 0.16);
  outline-offset: 0;
}

.info-priority {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  background: var(--surface);
}

.info-priority > .section-heading,
.info-priority > .priority-list {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.planning-overview {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.planning-title,
.timeline-axis,
.project-lanes {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.planning-title {
  min-width: 0;
}

.planning-board {
  min-width: 100%;
}

.info-priority h2,
.planning-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 980px) {
  .filters {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .form-button {
    width: 100%;
  }

  .top,
  .workspace {
    grid-template-columns: 1fr;
  }

  .detail {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad: 12px;
  }

  .filter-bar {
    position: static;
    padding-top: 10px;
  }

  .filters {
    padding: 10px;
  }

  .filter-heading strong {
    font-size: 18px;
  }

  .search-box {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .search-box span {
    justify-self: start;
    min-width: 0;
    padding: 5px 8px;
  }

  .result-actions {
    padding: 0 10px 6px;
  }

  .priority-list {
    padding-bottom: 8px;
  }

  .priority-list > * {
    flex: 0 0 82vw;
  }

  .top,
  .workspace {
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
  }

  .completion {
    width: 100%;
  }

  .accordion-body {
    grid-template-columns: 1fr;
  }

  .planning-overview {
    padding-top: 12px;
    overflow-x: auto;
  }

  .planning-title {
    width: 100%;
  }

  .planning-board {
    min-width: 760px;
  }

  .field-summary {
    grid-template-columns: 1fr;
  }
}
