/* MAESTRO 運用ガイド 共通スタイル 段階バッジ: 設計=青 / 実装=黄 / 完成=緑 */ :root { --bg: #f8fafc; --surface: #ffffff; --text: #0f172a; --muted: #64748b; --border: #e2e8f0; --accent: #4f46e5; --code-bg: #0f172a; --code-text: #e2e8f0; --stage-design: #2563eb; --stage-impl: #d97706; --stage-done: #16a34a; } @media (prefers-color-scheme: dark) { :root { --bg: #0b1120; --surface: #111827; --text: #e2e8f0; --muted: #94a3b8; --border: #1f2937; --accent: #818cf8; --code-bg: #000; --code-text: #e5e7eb; } } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Noto Sans JP', Roboto, sans-serif; line-height: 1.75; font-size: 15px; } .wrap { max-width: 860px; margin: 0 auto; padding: 32px 24px 80px; } header.doc { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 32px; } .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; } .crumbs a { color: var(--accent); text-decoration: none; } .crumbs a:hover { text-decoration: underline; } h1 { font-size: 1.85rem; line-height: 1.3; margin: 6px 0 10px; letter-spacing: -0.01em; } h2 { font-size: 1.3rem; margin: 40px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); } h2:first-of-type { border-top: none; } h3 { font-size: 1.05rem; margin: 24px 0 8px; } p, li { color: var(--text); } .meta { color: var(--muted); font-size: 13px; margin-top: 8px; } .badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; color: #fff; vertical-align: middle; } .badge.design { background: var(--stage-design); } .badge.impl { background: var(--stage-impl); } .badge.done { background: var(--stage-done); } code { font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 0.88em; background: rgba(99,102,241,.12); color: var(--accent); padding: 1px 6px; border-radius: 5px; } pre { background: var(--code-bg); color: var(--code-text); padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 13px; line-height: 1.6; border: 1px solid var(--border); } pre code { background: none; color: inherit; padding: 0; } table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; } th, td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; } th { background: rgba(99,102,241,.08); font-weight: 600; } tr:nth-child(even) td { background: rgba(148,163,184,.06); } .note, .warn, .tip { border-left: 4px solid var(--accent); background: var(--surface); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 14px; } .warn { border-left-color: #dc2626; } .tip { border-left-color: var(--stage-done); } .note b, .warn b, .tip b { display: inline-block; margin-bottom: 2px; } .steps { counter-reset: step; list-style: none; padding-left: 0; } .steps > li { position: relative; padding-left: 42px; margin: 18px 0; } .steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; } a { color: var(--accent); } footer.doc { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }