:root {
  color-scheme: light;
  --page: #ffffff;
  --sidebar: #f7f7f5;
  --soft: #f6f5f3;
  --hover: #efeeeb;
  --text: #2f3437;
  --muted: #6f6e69;
  --faint: #9b9a97;
  --line: #e6e4df;
  --line-strong: #d8d5ce;
  --yellow: #f4e8c7;
  --green: #dce9df;
  --blue: #dce7f3;
  --red: #f2ded8;
  --purple: #e8def0;
  --tag-text: #4f4a40;
  font-family: NotionInter, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--page);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 8px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: #2f3437;
}

.brand p,
.brand span,
.eyebrow,
.quiet-note p,
.event-body h3,
.event-body p,
.review-item h3,
.review-item p,
.page-summary {
  margin: 0;
}

.brand p {
  font-size: 14px;
  font-weight: 650;
}

.brand span,
.quiet-note p,
.source,
.command-copy p,
.integration-list p,
.rituals span,
.event-meta,
.focus-list span,
.review-item p,
.page-summary {
  color: var(--muted);
}

.brand span,
.source,
.quiet-note p {
  font-size: 12px;
}

.version-note {
  margin-top: 8px;
  color: var(--faint);
}

.nav-list {
  display: grid;
  gap: 2px;
}

.nav-list button {
  width: 100%;
  min-height: 31px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  padding: 0 10px;
}

.nav-list button.active,
.nav-list button:hover {
  color: var(--text);
  background: var(--hover);
}

.sync-panel,
.quiet-note {
  padding: 8px;
  border-top: 1px solid var(--line);
}

.panel-title,
.source,
.section-heading,
.command-form,
.chips,
.event,
.review-item,
.rituals div,
.page-tags,
.database-head {
  display: flex;
  align-items: center;
}

.panel-title,
.section-heading {
  justify-content: space-between;
  gap: 16px;
}

.panel-title {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.source {
  gap: 8px;
  min-height: 28px;
  padding: 0 4px;
  border-radius: 5px;
}

.source:hover {
  background: var(--hover);
}

.source span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c49a45;
}

.source.connected span {
  background: #5b8f69;
}

.workspace {
  width: min(1126px, 100%);
  padding: 42px 72px 72px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

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

.title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: #5f4b2f;
  font-size: 22px;
  font-weight: 700;
  background: var(--yellow);
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 743px;
  margin: 4px 0 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 14px;
}

.page-summary {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.page-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.page-tags {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
}

.page-tags span,
.badge,
.event-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  color: var(--tag-text);
  font-size: 12px;
  font-weight: 540;
}

.page-tags span:nth-child(1),
.event-pill.work,
.badge.live {
  background: var(--blue);
}

.page-tags span:nth-child(2),
.event-pill.health,
.badge.planned {
  background: var(--yellow);
}

.page-tags span:nth-child(3),
.event-pill.life {
  background: var(--green);
}

.page-property {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.page-property span {
  color: var(--muted);
  font-size: 12px;
}

.page-property strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 650;
}

.command-center {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 980px;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.command-preview {
  grid-column: 2;
}

.preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview-card.pending {
  background: #fbf7ea;
}

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

.preview-card p {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 560;
}

.preview-card span {
  color: var(--muted);
  font-size: 12px;
}

.preview-card button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: #fff;
  background: var(--text);
  white-space: nowrap;
}

.command-copy p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.5;
}

.command-form {
  gap: 8px;
}

.command-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 11px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.command-form input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 2px rgba(47, 52, 55, 0.08);
}

.command-form button,
.chips button,
.view-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  white-space: nowrap;
}

.command-form button {
  padding: 0 13px;
  color: #fff;
  background: var(--text);
}

.command-form button:hover {
  background: #1f2325;
}

.chips {
  grid-column: 2;
  gap: 6px;
  flex-wrap: wrap;
}

.chips button {
  padding: 0 10px;
  color: var(--tag-text);
  background: #fff;
  border: 1px solid var(--line);
}

.chips button:hover {
  background: var(--hover);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}

.timeline-section,
.focus-card,
.review-card,
.integration-board,
.ritual-board,
.todo-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-section,
.focus-card,
.review-card,
.integration-board,
.ritual-board,
.todo-board {
  padding: 16px;
}

.section-heading {
  min-height: 36px;
}

.section-heading.compact h2 {
  font-size: 16px;
}

.section-heading.compact span {
  color: var(--muted);
  font-size: 12px;
}

.view-toggle {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--sidebar);
}

.view-toggle button {
  min-width: 44px;
  color: var(--muted);
  background: transparent;
}

.view-toggle button.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.08);
}

.database-head {
  display: grid;
  grid-template-columns: 74px 62px minmax(220px, 1fr) 112px 82px 74px;
  gap: 12px;
  margin-top: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.database-head[hidden] {
  display: none;
}

.timeline {
  display: grid;
}

.empty-state {
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.event {
  display: grid;
  grid-template-columns: 74px 62px minmax(220px, 1fr) 112px 82px 74px;
  gap: 12px;
  min-height: 54px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.event:hover {
  background: linear-gradient(90deg, rgba(246, 245, 243, 0.9), rgba(246, 245, 243, 0));
}

.event-date,
.event-time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.event-body {
  min-width: 0;
}

.event-body h3 {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 540;
}

.event-meta,
.event-source,
.event-reminder,
.event-review {
  color: var(--muted);
  font-size: 12px;
}

.event-source,
.event-reminder,
.event-review {
  display: flex;
  align-items: center;
}

.week-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.week-day,
.month-day {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.week-day {
  min-height: 172px;
  padding: 10px;
}

.week-day.today,
.month-day.today {
  border-color: var(--line-strong);
  background: var(--soft);
}

.week-day-head {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.week-day-head strong,
.month-title {
  font-size: 13px;
  font-weight: 650;
}

.week-day-head span,
.calendar-empty {
  color: var(--muted);
  font-size: 12px;
}

.week-day-events,
.month-day-events {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.compact-event {
  display: grid;
  gap: 3px;
  padding: 7px;
  border-radius: 6px;
  background: var(--soft);
}

.compact-event span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.compact-event strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.35;
}

.calendar-empty {
  margin: 0;
}

.month-board {
  margin-top: 14px;
}

.month-title {
  margin-bottom: 10px;
}

.month-weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.month-weekdays {
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

.month-day {
  min-height: 104px;
  padding: 7px;
}

.month-day.muted {
  color: var(--faint);
  background: #fbfbfa;
}

.month-day-number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.month-day-events span {
  overflow: hidden;
  padding: 4px 5px;
  border-radius: 5px;
  color: var(--tag-text);
  background: var(--blue);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.month-day-events span.life {
  background: var(--green);
}

.month-day-events span.health {
  background: var(--yellow);
}

.month-day-events em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.right-column {
  display: grid;
  gap: 18px;
}

.focus-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.focus-list li {
  padding: 10px;
  border-radius: 6px;
  background: var(--soft);
}

.focus-list strong,
.focus-list span {
  display: block;
}

.focus-list strong {
  font-size: 14px;
  font-weight: 560;
}

.focus-list span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.reviews {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.review-item {
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border-radius: 6px;
  background: var(--soft);
}

.review-item::before {
  content: "";
  width: 8px;
  min-width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #b35b45;
}

.review-item.pending::before {
  background: #c49a45;
}

.empty-state.compact {
  padding: 8px 0;
  font-size: 12px;
}

.review-item h3 {
  font-size: 13px;
  font-weight: 560;
}

.review-item p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  margin-top: 28px;
}

.integration-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.integration-list article {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.integration-list article:hover {
  background: var(--soft);
}

.integration-list h3 {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 650;
}

.badge.live {
  background: var(--green);
}

.badge.planned {
  background: var(--yellow);
}

.consulting-board {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.project-card {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.project-card:hover {
  background: var(--soft);
}

.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.project-code {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
  background: var(--blue);
}

.project-card:nth-child(2) .project-code,
.project-card:nth-child(5) .project-code {
  background: var(--green);
}

.project-card:nth-child(3) .project-code,
.project-card:nth-child(6) .project-code {
  background: var(--yellow);
}

.project-name {
  min-width: 0;
}

.project-name strong,
.project-next strong,
.todo-item strong {
  display: block;
  font-size: 13px;
  font-weight: 620;
}

.project-name span,
.project-focus,
.project-next span,
.todo-item span,
.todo-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.project-focus,
.project-next {
  margin: 0;
}

.project-next {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.project-status {
  min-height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  color: var(--tag-text);
  font-size: 11px;
  font-weight: 560;
  background: var(--soft);
  white-space: nowrap;
}

.todo-board {
  grid-column: 2;
}

.todo-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.todo-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 6px;
  background: var(--soft);
}

.todo-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.todo-project {
  min-height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  color: var(--tag-text);
  font-size: 11px;
  font-weight: 650;
  background: var(--blue);
}

.todo-item p {
  margin: 0;
}

.rituals {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.rituals div {
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border-radius: 6px;
  background: var(--soft);
}

.rituals strong {
  min-width: 44px;
  font-size: 14px;
  font-weight: 560;
}

.rituals span {
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .sync-panel,
  .quiet-note {
    grid-column: span 2;
  }

  .workspace {
    padding: 42px 30px 56px;
  }

  .topbar,
  .dashboard-grid,
  .bottom-grid,
  .command-center {
    grid-template-columns: 1fr;
  }

  .page-property {
    justify-items: start;
    align-content: center;
    min-height: auto;
    padding: 12px;
  }

  .chips {
    grid-column: auto;
  }

  .command-preview {
    grid-column: auto;
  }

  .todo-board {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  body {
    background: var(--soft);
  }

  .rail,
  .workspace {
    padding: 14px;
  }

  .command-form,
  .integration-list,
  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-shell {
    min-height: auto;
  }

  .rail {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(247, 247, 245, 0.96);
    backdrop-filter: blur(12px);
  }

  .brand {
    min-height: 32px;
    padding: 0;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    font-size: 12px;
  }

  .brand span {
    display: none;
  }

  .sync-panel,
  .quiet-note {
    display: none;
  }

  .nav-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-list button {
    flex: 0 0 auto;
    width: auto;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
  }

  .workspace {
    width: 100%;
    padding: 16px 12px 40px;
  }

  .topbar {
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
    border-bottom: 0;
  }

  h1 {
    margin-top: 2px;
    font-size: 26px;
    line-height: 32px;
  }

  .page-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 18px;
  }

  .title-row {
    gap: 10px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .page-meta-row {
    gap: 10px;
    margin-top: 8px;
  }

  .page-summary {
    font-size: 13px;
  }

  .page-tags {
    gap: 6px;
  }

  .page-tags span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
  }

  .page-property {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
  }

  .page-property strong {
    font-size: 20px;
  }

  .command-center,
  .timeline-section,
  .focus-card,
  .review-card,
  .integration-board,
  .ritual-board {
    border-radius: 8px;
    background: #fff;
  }

  .command-center {
    gap: 10px;
    padding: 12px;
    margin-bottom: 12px;
  }

  .command-copy {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
  }

  .command-copy h2 {
    font-size: 17px;
  }

  .command-copy p {
    font-size: 12px;
    text-align: right;
  }

  .command-form {
    gap: 8px;
  }

  .command-form input {
    min-height: 42px;
    padding: 0 10px;
    font-size: 15px;
  }

  .command-form button {
    min-height: 40px;
  }

  .chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chips button {
    flex: 0 0 auto;
    min-height: 30px;
    font-size: 12px;
  }

  .preview-card {
    display: grid;
    gap: 10px;
  }

  .preview-card button {
    width: 100%;
  }

  .database-head {
    display: none;
  }

  .dashboard-grid,
  .right-column,
  .bottom-grid {
    gap: 12px;
  }

  .timeline-section,
  .focus-card,
  .review-card,
  .integration-board,
  .ritual-board {
    padding: 12px;
  }

  .section-heading {
    min-height: 30px;
  }

  .section-heading .eyebrow {
    display: none;
  }

  .section-heading h2 {
    font-size: 18px;
  }

  .view-toggle {
    width: 100%;
    margin-top: 8px;
  }

  .timeline {
    gap: 8px;
    margin-top: 10px;
  }

  .event {
    position: relative;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 6px 10px;
    min-height: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 15, 15, 0.03);
  }

  .event:hover {
    background: #fff;
  }

  .event-date,
  .event-time {
    grid-column: 1;
    font-size: 12px;
    line-height: 1.2;
  }

  .event-date {
    align-self: end;
  }

  .event-time {
    align-self: start;
    color: var(--text);
    font-size: 16px;
  }

  .event-body {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .event-body h3 {
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
  }

  .event-pill {
    min-height: 22px;
    font-size: 11px;
  }

  .event-source,
  .event-reminder,
  .event-review {
    grid-column: 2;
    align-items: center;
    min-height: 0;
    font-size: 11px;
    line-height: 1.4;
  }

  .event-source::before {
    content: "来源 ";
    color: var(--faint);
  }

  .event-reminder::before {
    content: "提醒 ";
    color: var(--faint);
  }

  .event-review::before {
    content: "复盘 ";
    color: var(--faint);
  }

  .week-board {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .week-day {
    min-height: auto;
    padding: 10px;
  }

  .week-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .month-board {
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .month-title {
    position: sticky;
    left: 0;
  }

  .month-weekdays,
  .month-grid {
    min-width: 680px;
  }

  .month-day {
    min-height: 96px;
  }

  .todo-list,
  .reviews,
  .rituals {
    margin-top: 10px;
  }

  .todo-item,
  .review-item,
  .rituals div {
    padding: 10px;
  }

  .todo-item-top {
    align-items: flex-start;
  }

  .todo-item strong,
  .review-item h3 {
    font-size: 14px;
    line-height: 1.4;
  }

  .bottom-grid {
    margin-top: 12px;
  }

  .integration-list {
    gap: 8px;
  }

  .integration-list article {
    min-height: auto;
    padding: 12px;
  }

  .integration-list h3 {
    margin-top: 8px;
  }

  .consulting-board {
    margin-top: 14px;
    padding-top: 12px;
  }

  .project-grid {
    gap: 8px;
  }

  .project-card {
    min-height: auto;
    gap: 8px;
    padding: 10px;
  }

  .project-code {
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .rituals div {
    display: grid;
    gap: 4px;
  }

  .rituals span {
    text-align: left;
  }
}
