/* Website migration page: plan checklist */
.mgc-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.mgc { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14, 24, 64, 0.6), rgba(7, 13, 36, 0.6)); overflow: hidden; }
.mgc-tabs { display: none; }
.mgc.is-tabbed .mgc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.mgc-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-align: left; border-bottom: 2px solid transparent; transition: color 0.3s, background 0.3s, border-color 0.3s; }
.mgc-tabs button b { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--dim); }
.mgc-tabs button[aria-selected="true"] { color: var(--text); background: rgba(var(--accent-rgb), 0.08); border-bottom-color: var(--accent); }
.mgc-tabs button[aria-selected="true"] b { color: var(--mint); }
.mgc-panel { display: grid; gap: 8px; padding: 18px; }
.mgc-panel[hidden] { display: none; }
.mgc-h { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin: 2px 2px 4px; }
.mgc.is-tabbed .mgc-h { display: none; }
.mgc-item { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 15.5px; line-height: 1.45; color: var(--muted); transition: border-color 0.3s, background 0.3s, color 0.3s; }
.mgc-item:hover { border-color: var(--line-2); color: var(--text); }
.mgc-item input { position: absolute; opacity: 0; pointer-events: none; }
.mgc-item span { position: relative; padding-left: 36px; }
.mgc-item span::before { content: ""; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); transition: background 0.3s, border-color 0.3s; }
.mgc-item span::after { content: ""; position: absolute; left: 8px; top: 3px; width: 6px; height: 11px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.35s var(--ease); }
.mgc-item:has(input:checked) { border-color: rgba(87, 242, 176, 0.5); background: rgba(87, 242, 176, 0.06); color: var(--text); }
.mgc-item input:checked + span::before { background: var(--mint); border-color: var(--mint); }
.mgc-item input:checked + span::after { transform: rotate(45deg) scale(1); }
.mgc-item input:focus-visible + span::before { outline: 2px solid var(--cyan); outline-offset: 2px; }
.mgc-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-top: 1px solid var(--line); background: rgba(5, 10, 28, 0.5); }
.mgc-ring { position: relative; width: 56px; height: 56px; flex: none; }
.mgc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mgc-track { fill: none; stroke: var(--line-2); stroke-width: 3; }
.mgc-fill { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 0.6s var(--ease); filter: drop-shadow(0 0 4px rgba(87, 242, 176, 0.6)); }
.mgc-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.mgc-msg { flex: 1; min-width: 180px; font-size: 14.5px; color: var(--muted); }
.mgc.is-complete .mgc-msg { color: var(--mint); }
html:not(.js) .mgc-foot { display: none; }
@media (max-width: 900px) { .mgc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .mgc-tabs button { padding: 12px 10px; font-size: 13px; }
  .mgc-item { font-size: 14.5px; padding: 12px 14px; }
}

/* ---------- day theme ---------- */
html[data-theme="light"] .mgc { background: #fff; box-shadow: 0 18px 44px -30px rgba(20, 40, 110, 0.35); }
html[data-theme="light"] .mgc-tabs button[aria-selected="true"] { background: rgba(var(--accent-rgb), 0.06); }
html[data-theme="light"] .mgc-item { background: var(--bg); }
html[data-theme="light"] .mgc-item:has(input:checked) { border-color: rgba(11, 149, 102, 0.45); background: rgba(11, 149, 102, 0.06); }
html[data-theme="light"] .mgc-item span::after { border-color: #fff; }
html[data-theme="light"] .mgc-foot { background: var(--bg); }
html[data-theme="light"] .mgc-fill { filter: none; }
