/* GitHub sync (public/modules/github.js) */
.gh-card { padding: 22px; }
.gh-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.gh-head h2 { margin: 0 0 2px; }
.gh-head .hint { margin: 0; }
.gh-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--chip-bg); color: var(--ink); }
.gh-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gh-who { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.gh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.gh-steps { margin: 0 0 12px; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--ink-muted); display: flex; flex-direction: column; gap: 4px; }
.gh-steps a { color: var(--ink); font-weight: 600; }
.gh-form { display: flex; gap: 8px; flex-wrap: wrap; }
.gh-form .input { flex: 1 1 240px; min-width: 0; font-family: var(--mono); font-size: 13px; }
.gh-fine { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-faint); }
.pm-dlg.gh-dlg { max-width: 520px; }
.gh-as { margin: -4px 0 4px; font-size: 13px; color: var(--ink-muted); }
.gh-pick { position: relative; }
.gh-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow: auto; z-index: 60; }
.gh-opt { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font: inherit; font-size: 13.5px; }
.gh-opt span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-priv { font-size: 11px; font-weight: 600; color: var(--ink-faint); padding: 2px 7px; border-radius: 999px; background: var(--chip-bg); }
.gh-new { color: var(--accent-text); font-weight: 600; }
.gh-auto { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-top: 4px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); }
.gh-auto > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gh-auto b { font-size: 14px; } .gh-auto span { font-size: 12.5px; color: var(--ink-muted); }
.gh-switch { flex-shrink: 0; position: relative; width: 42px; height: 24px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: background .18s; }
.gh-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
.gh-switch[aria-checked="true"] { background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); }
.gh-switch[aria-checked="true"]::after { transform: translateX(18px); }
.gh-switch:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.gh-last { margin: 2px 0 0; font-size: 13px; color: var(--ink-muted); }
.gh-last a { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .gh-switch, .gh-switch::after { transition: none; } }
