/* PatchPilot Docs - shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: #0B1120; color: #e2e8f0; line-height: 1.7; }
.container { max-width: 920px; margin: 0 auto; padding: 56px 24px; }
.logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.logo a { text-decoration: none; color: #22d3ee; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.crumbs { color: #475569; font-size: 0.85rem; margin-bottom: 28px; }
.crumbs a { color: #64748b; }
h1 { font-size: 2.1rem; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; letter-spacing: -0.02em; }
.meta { color: #64748b; font-size: 0.88rem; margin-bottom: 36px; }
h2 { font-size: 1.3rem; font-weight: 600; color: #f1f5f9; margin: 36px 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-weight: 600; color: #f1f5f9; margin: 26px 0 10px; }
p { color: #94a3b8; margin-bottom: 14px; }
ul, ol { color: #94a3b8; padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 6px; }
a { color: #22d3ee; text-decoration: none; }
a:hover { text-decoration: underline; }
.card { background: rgba(15,23,42,0.6); backdrop-filter: blur(16px); border: 1px solid rgba(34,211,238,0.08); border-radius: 12px; padding: 28px 32px; margin-bottom: 20px; }
.tip { background: rgba(34,211,238,0.06); border-left: 3px solid #22d3ee; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0; color: #cbd5e1; font-size: 0.93rem; }
.warn { background: rgba(251,191,36,0.06); border-left: 3px solid #fbbf24; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0; color: #fde68a; font-size: 0.93rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; background: rgba(34,211,238,0.08); color: #67e8f9; padding: 2px 6px; border-radius: 4px; font-size: 0.88em; }
pre { background: #050816; border: 1px solid rgba(34,211,238,0.12); border-radius: 8px; padding: 16px 18px; margin: 14px 0 22px; overflow-x: auto; font-size: 0.88rem; line-height: 1.55; }
pre code { background: transparent; color: #cbd5e1; padding: 0; font-size: inherit; }
table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 0.92rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); color: #cbd5e1; }
th { color: #f1f5f9; background: rgba(34,211,238,0.06); font-weight: 600; }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.docs-grid a.tile { display: block; background: rgba(15,23,42,0.6); border: 1px solid rgba(34,211,238,0.08); border-radius: 12px; padding: 22px; text-decoration: none; transition: all 0.15s; }
.docs-grid a.tile:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-2px); text-decoration: none; }
.docs-grid .tile-title { color: #f1f5f9; font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.docs-grid .tile-desc { color: #94a3b8; font-size: 0.9rem; }
.docs-grid .tile-tag { color: #22d3ee; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 8px; }
footer { text-align: center; color: #475569; font-size: 0.85rem; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); }
footer a { margin: 0 6px; }
.next-prev { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; }
.next-prev a { background: rgba(15,23,42,0.6); border: 1px solid rgba(34,211,238,0.12); border-radius: 8px; padding: 12px 16px; flex: 1; color: #cbd5e1; }
.next-prev a:hover { border-color: rgba(34,211,238,0.4); text-decoration: none; }
.next-prev .label { display: block; color: #64748b; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 720px) { h1 { font-size: 1.7rem; } .container { padding: 36px 16px; } .card { padding: 22px; } }
