.home-page {
  max-width: 820px;
  margin: 0 auto;
}

.assistant-hero {
  margin-top: 14px;
  text-align: center;
}

.assistant-spark,
.assistant-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 99px;
  background: linear-gradient(135deg, #2ba9e0, #2a3f9e);
  color: #fff;
  box-shadow: 0 4px 18px rgba(42, 63, 158, 0.25);
}

.assistant-spark {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  font-size: 22px;
}

.assistant-hero h1 {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.assistant-hero p {
  margin: 5px 0 0;
  color: var(--muted);
}

.ask-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 18px;
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 16px var(--shadow-blue);
}

.ask-icon {
  color: var(--blue);
  font-size: 16px;
}

.ask-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 15px;
}

.ask-bar input::placeholder {
  color: var(--muted-light);
}

.ask-bar button {
  border: 0;
  border-radius: 9px;
  padding: 7px 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.ask-bar button:hover {
  background: var(--blue-dark);
}

.filter-chips,
.metadata-chips,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chips {
  justify-content: center;
  margin-top: 10px;
}

.filter-chips button,
.metadata-chips span {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: #5a6577;
  font-size: 12.5px;
}

.filter-chips button {
  padding: 4px 12px;
}

.filter-chips button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-chips .chip-add {
  border-style: dashed;
  border-color: #9cc4e2;
  color: var(--blue);
}

.drop-zone {
  margin-top: 18px;
  padding: 26px;
  border: 1.5px dashed #b9c4d2;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.drop-zone:hover {
  border-color: var(--blue);
  background: var(--surface-soft);
}

.drop-zone.is-dragging {
  border-color: var(--blue);
  background: var(--surface-soft);
}

.drop-icon {
  font-size: 22px;
}

.drop-zone h2 {
  margin: 4px 0 0;
  font-size: 15px;
}

.drop-zone p {
  margin: 2px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 12.5px;
}

.section-label {
  margin-top: 26px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.assistant-card {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.assistant-card + .assistant-card {
  margin-top: 12px;
}

.assistant-card-icon {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.assistant-card-body {
  flex: 1;
  min-width: 0;
}

.assistant-card h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  font-size: 13.5px;
}

.timeline-list p {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0;
}

.timeline-list strong {
  min-width: 64px;
  font-weight: 700;
  white-space: nowrap;
}

.button-row {
  margin-top: 12px;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.document-list div {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 13px;
}

.document-list div > span:nth-child(2) {
  flex: 1;
  min-width: 160px;
}

.document-list strong {
  font-size: 12px;
  font-weight: 600;
}

.tag {
  min-width: 70px;
  border-radius: 99px;
  padding: 2px 9px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.tag.invoice {
  background: var(--green-soft);
  color: var(--green);
}

.tag.po {
  background: var(--blue-soft);
  color: var(--blue);
}

.tag.receipt {
  background: #eef1f5;
  color: #5a6577;
}

.tag.contract {
  background: var(--amber-soft);
  color: #8a5a10;
}

.warning {
  color: var(--amber);
}

.success {
  color: var(--green);
}

.info {
  color: var(--blue);
}

.metadata-chips {
  margin-top: 8px;
}

.metadata-chips span {
  padding: 3px 11px;
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
}

.notice {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #f4dfbd;
  border-radius: 10px;
  background: #fffaf2;
  color: #5a6577;
  font-size: 13px;
}

@media (max-width: 620px) {
  .ask-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .ask-bar input {
    width: 100%;
  }

  .assistant-card {
    padding: 14px;
  }

  .timeline-list p {
    display: block;
  }

  .timeline-list strong {
    display: block;
    margin-bottom: 2px;
  }
}

.mockup-page {
  width: 100%;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 6px;
}

.calendar-cell {
  min-height: 58px;
  border: 1px solid #f2f4f7;
  border-radius: 8px;
  padding: 5px 6px;
  background: #fff;
}

.calendar-cell.is-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-cell.is-today {
  border-color: var(--blue);
  background: #f2f8fd;
}

.calendar-cell.has-events:not(.is-today) {
  border-color: var(--line);
}

.calendar-day {
  color: #3c4655;
  font-size: 12px;
}

.calendar-cell.is-today .calendar-day {
  color: var(--blue);
  font-weight: 700;
}

.calendar-event {
  overflow: hidden;
  margin-top: 3px;
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 10.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event.is-contract {
  background: var(--amber-soft);
  color: var(--amber);
}

.calendar-event.is-invoice {
  background: var(--blue-soft);
  color: var(--blue);
}

.calendar-event.is-other {
  background: #eef1f5;
  color: #5a6577;
}