:root{--bg: #f6f8fa;--panel: #ffffff;--border: #d0d7de;--text: #1f2328;--muted: #57606a;--accent: #0969da;--added-bg: #e6ffec;--removed-bg: #ffebe9;--header: #24292f;--pill: #ddf4ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:IBM Plex Sans,"Source Sans 3",Noto Sans JP,Hiragino Sans,Yu Gothic,sans-serif}.page{min-height:100vh}.repo-bar{background:var(--panel);border-bottom:1px solid var(--border);padding:14px 20px;display:flex;align-items:center;justify-content:space-between}.repo-title{font-size:18px;font-weight:600}.repo-title span{color:var(--accent)}.repo-actions{display:flex;gap:8px}.pr-tabs{display:flex;gap:4px;padding:0 20px;background:var(--panel);border-bottom:1px solid var(--border)}.tab{border:none;background:transparent;padding:12px 14px;cursor:pointer;color:var(--muted);font-weight:600}.tab.active{color:var(--text);border-bottom:2px solid var(--accent)}.page-body{padding:20px;max-width:1200px;margin:0 auto}.files-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.files-summary{display:flex;align-items:center;gap:10px}.pill{background:var(--pill);color:#0969da;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600}.stat{font-weight:600}.stat.added{color:#1a7f37}.stat.removed{color:#cf222e}.files-controls{display:flex;gap:8px}.seg{border:1px solid var(--border);background:var(--panel);color:var(--text);padding:6px 10px;border-radius:6px;font-weight:600;cursor:pointer}.seg.active{background:var(--accent);color:#fff;border-color:var(--accent)}.ghost{border:1px solid var(--border);background:var(--panel);padding:6px 10px;border-radius:6px;cursor:pointer;font-weight:600;color:var(--text)}.inputs{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:16px;margin-bottom:16px}.input-block{margin-bottom:12px}.label{font-weight:600;margin-bottom:6px}textarea{width:100%;min-height:160px;resize:vertical;border:1px solid var(--border);border-radius:8px;padding:10px;font-family:IBM Plex Mono,Source Code Pro,Noto Sans Mono CJK JP,monospace;font-size:13px;line-height:1.5}.hint{margin:0;color:var(--muted);font-size:12px}.file-card{background:var(--panel);border:1px solid var(--border);border-radius:8px;overflow:hidden}.file-header{padding:10px 12px;border-bottom:1px solid var(--border);background:#f6f8fa;display:flex;justify-content:space-between;align-items:center}.file-title{font-weight:600}.file-actions{display:flex;gap:8px}.modal-backdrop{position:fixed;inset:0;background:#1f232859;display:flex;align-items:center;justify-content:center;padding:24px;z-index:50}.modal{background:var(--panel);border:1px solid var(--border);border-radius:10px;width:min(900px,92vw);max-height:80vh;display:flex;flex-direction:column}.modal-header{padding:12px 16px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.modal-title{font-weight:600}.modal-body{margin:0;padding:16px;overflow:auto;font-family:IBM Plex Mono,Source Code Pro,Noto Sans Mono CJK JP,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap}.site-footer{margin:20px auto 32px;max-width:1200px;padding:0 20px;color:var(--muted);font-size:13px;text-align:right}.site-footer a{color:var(--accent);text-decoration:none}.site-footer a:hover{text-decoration:underline}.diff-wrap{padding:8px;overflow-x:auto}.diff-line{font-family:IBM Plex Mono,Source Code Pro,Noto Sans Mono CJK JP,monospace}.diff-table{width:100%;border-collapse:collapse;font-family:IBM Plex Mono,Source Code Pro,Noto Sans Mono CJK JP,monospace;font-size:13px}.diff-table td{padding:2px 8px;vertical-align:top;white-space:pre-wrap}.diff-table .line-no{width:44px;text-align:right;color:var(--muted);background:#f6f8fa;border-right:1px solid var(--border)}.diff-table.unified .line-no{width:48px}.diff-table .cell{width:50%}.diff-table.unified .cell{width:auto}.diff-table .row-added .cell,.diff-table .cell.added{background:var(--added-bg)}.diff-table .row-removed .cell,.diff-table .cell.removed{background:var(--removed-bg)}.diff-table .row-changed .cell{background:#fff8c5}.diff-table .cell.empty{background:#f6f8fa}.diff-table .prefix{display:inline-block;width:16px;color:var(--muted)}.diff-table .word-added{background:#acf2bd;border-radius:4px}.diff-table .word-removed{background:#ffcecb;border-radius:4px;text-decoration:line-through}.diff-table .word-plain{background:transparent}@media(max-width:880px){.files-header{flex-direction:column;align-items:flex-start;gap:12px}.repo-bar{flex-direction:column;align-items:flex-start;gap:10px}.files-controls{flex-wrap:wrap}}
