/* Docs & Wikis page — extends styles.css (tokens + shell already defined there) */

.docs-page { max-width: 980px; }

.docs-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
/* .lede's shared default (styles.css) caps at 640px for the homepage
   greeting's readable line length -- too narrow here. */
.docs-header .lede { font-size: 14px; margin-bottom: 8px; max-width: none; }

.docs-section { margin-top: 32px; }
.docs-section:first-of-type { margin-top: 24px; }

.docs-section-head { margin-bottom: 16px; }
.docs-section-head h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
.docs-section-sub {
  font-size: 13px;
  color: var(--muted-2);
  margin: 0;
}

.docs-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.docs-link-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 18px;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.docs-link-card:hover {
  border-color: #c9b8f5;
  box-shadow: 0 10px 24px rgba(36,17,84,0.10);
  transform: translateY(-2px);
  color: inherit;
}

.docs-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.docs-icon-drive { background: #e9f3ff; color: #1a73e8; }
.docs-icon-confluence { background: #eaf2ff; color: #2563eb; }
.docs-icon-desk { background: #efe7fb; color: var(--violet-dark); }

.docs-link-body { flex-grow: 1; min-width: 0; }
.docs-link-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.docs-link-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.docs-link-arrow {
  color: var(--muted-2);
  flex-shrink: 0;
  margin-top: 3px;
}

.docs-source-note {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.6;
  border-top: 1px solid var(--card-border);
  margin-top: 36px;
  padding-top: 20px;
}
.docs-source-note code {
  background: var(--cream);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .docs-link-grid { grid-template-columns: 1fr; }
  .export-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Export section — cards ported over from the page this used to be
   (export.html), just re-homed as the first section here. */

.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.export-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.export-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #efe7fb;
  color: var(--violet-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.export-card-icon svg { width: 15px; height: 15px; }

.export-card h3 {
  font-size: 13px;
  font-weight: 700;
}

.export-card p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.export-card button {
  margin-top: 6px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--violet);
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background .15s ease;
}
.export-card button:hover:not(:disabled) { background: var(--violet-dark); }
.export-card button:disabled {
  background: var(--card-border);
  color: var(--muted-2);
  cursor: default;
}

.export-card-status {
  font-size: 12px;
  color: var(--muted-2);
  min-height: 16px;
}
