/* GCSE computing (D, 30 Nov 2026): the analysis pages at /gcse-computing/, in the public pages' look (cn.css).
   subject-content-comparison/: one tab per topic, the current content beside the draft, a blank cell where one has nothing. */
.gc-head { padding-top: 48px; padding-bottom: 20px; }
.gc-head h1 { font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-variation-settings: "opsz" 96; margin: 0 0 14px; max-width: 20em; }
.gc-src { color: var(--muted); font-size: 15px; margin: 0; }
.gc-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 59px; background: var(--bg); z-index: 5; }
.gc-tabs a { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 6px 10px; border-radius: 8px; border: 1px solid transparent; }
.gc-tabs a:hover { color: var(--ink); text-decoration: none; background: var(--panel); border-color: var(--line); }
.gc-tabs a[aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.gc-panel { padding: 28px 0 8px; scroll-margin-top: 130px; }
.gc-panel h2 { font-weight: 600; font-size: 24px; letter-spacing: -0.015em; margin: 0 0 14px; }
.gc-tabbed .gc-panel[hidden] { display: none; }
.gc-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; line-height: 1.5; }
.gc-table th { text-align: left; font-weight: 600; font-size: 14px; padding: 12px 16px; background: var(--grey); border-bottom: 1px solid var(--line-strong); width: 50%; }
.gc-table td { vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
.gc-table th + th, .gc-table td + td { border-left: 1px solid var(--line); }
.gc-table tbody tr:first-child td { border-top: 0; }
.gc-table ul { margin: 6px 0 0; padding-left: 18px; }
.gc-table li { margin: 0 0 6px; }
.gc-h { margin: 0; font-weight: 600; }
.gc-note { color: var(--muted); font-size: 14px; margin: 28px 0 56px; }
@media (max-width: 640px) {
  .gc-tabs { position: static; }
  .gc-table { font-size: 14px; }
  .gc-table th, .gc-table td { padding: 10px 10px; }
}
/* The Overview tab: the summary in the same panel as the comparison, a section a row, its name in the first column. */
.gc-intro { color: var(--muted); font-size: 15px; margin: 0 0 14px; max-width: 60em; }
.gc-intro p { margin: 0; }
.gc-over th { width: 22%; vertical-align: top; background: var(--panel); border-bottom: 0; border-top: 1px solid var(--line); font-size: 15px; }
.gc-over tr:first-child th { border-top: 0; }
.gc-over td { border-left: 1px solid var(--line); }
.gc-over p { margin: 0 0 8px; }
.gc-over ul { margin: 0 0 8px; }
.gc-over td > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .gc-over th { width: 30%; } }
/* The line under the Comparison table: whose list it is. */
.gc-under { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 60em; }
/* The Removed and New tabs: a narrow Topic column, then the wording. */
.gc-three th:first-child, .gc-two th:first-child { width: 16%; }
.gc-three th { width: 42%; }
.gc-two th { width: 84%; }
@media (max-width: 640px) { .gc-three th:first-child, .gc-two th:first-child { width: 24%; } .gc-three th { width: 38%; } .gc-two th { width: 76%; } }
/* Two rows of tabs (D, 30 Nov 2026): a top panel a tab, and in Core and Routes a second, quieter row of their own. */
.gc-top { padding: 28px 0 8px; scroll-margin-top: 130px; }
.gc-top > h2 { font-weight: 600; font-size: 24px; letter-spacing: -0.015em; margin: 0 0 14px; }
.gc-tabbed .gc-top[hidden] { display: none; }
.gc-top .gc-panel { padding: 18px 0 8px; }
.gc-panel h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 0 0 12px; }
.gc-panel h4 { font-weight: 600; font-size: 16px; margin: 22px 0 10px; }
.gc-panel h4:first-of-type { margin-top: 0; }
.gc-subtabs { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid var(--line); }
.gc-subtabs a { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.gc-subtabs a:hover { color: var(--ink); text-decoration: none; }
.gc-subtabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
/* With the tabs working, a panel's heading only repeats its tab, so it is not shown; with no script it labels the panel. */
.gc-tabbed .gc-top > h2, .gc-tabbed .gc-panel > h3 { display: none; }
.gc-tabbed .gc-top { padding-top: 20px; }
/* Core's and Routes' explanation above their sub-tabs; Routes' summary beside DfE's wording; Progress 8's stacked tables. */
.gc-top > .gc-intro { color: var(--ink); font-size: 15.5px; margin: 0 0 18px; }
.gc-top > .gc-intro p { margin: 0 0 8px; }
.gc-top > .gc-intro ul { margin: 0 0 8px; padding-left: 20px; }
.gc-block { margin: 0 0 20px; }
.gc-block h4 { font-weight: 600; font-size: 16px; margin: 0 0 10px; }
.gc-pair th:first-child { width: 34%; }
.gc-panel > p { margin: 0 0 12px; }
/* The core and Routes' tabs: DfE's words, then the explanation, in one panel (D, 30 Nov 2026). */
.gc-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: 15px; line-height: 1.5; }
.gc-box p { margin: 0 0 10px; }
.gc-box ul { margin: 0 0 10px; padding-left: 20px; }
.gc-box li { margin: 0 0 6px; }
.gc-box > :last-child { margin-bottom: 0; }
/* DfE's own words in a panel: the source as a small label above, the words at reading size. */
.gc-box .gc-q { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 16px; }
.gc-box .gc-k { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 2px; }
/* The Overview's table of the qualification: the core, then the two routes side by side (D, 30 Nov 2026). */
.gc-spec { margin: 0 0 20px; }
.gc-spec thead th { width: 28%; vertical-align: top; }
.gc-spec thead th:first-child { width: 16%; }
.gc-spec thead th span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.gc-spec tbody th { text-align: left; vertical-align: top; font-weight: 600; font-size: 14px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--panel); }
.gc-spec tbody tr:first-child th { border-top: 0; }
.gc-spec tbody td { border-left: 1px solid var(--line); }
.gc-spec ul { margin: 0; padding-left: 18px; }
.gc-spec li { margin: 0 0 4px; }
/* Progress 8: the panels and tables stacked with room between. */
.gc-top > .gc-box { margin: 0 0 20px; }
/* Progress 8's two tables: no head row, the first column as narrow as its words. */
.gc-p8 { table-layout: auto; }
.gc-p8 td:first-child { width: 1%; white-space: nowrap; font-weight: 600; }
.gc-p8 tbody tr:first-child td { border-top: 0; }
/* Core's topic tabs: the sentence on what changed, and the group rows inside the table (D, 30 Nov 2026). */
.gc-lead { font-size: 15.5px; margin: 0 0 14px; max-width: 60em; }
.gc-table tr.gc-g th { text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--panel); padding: 18px 16px 6px; border-top: 2px solid var(--line-strong); }
.gc-table tbody tr.gc-g:first-child th { border-top: 0; }
.gc-table tr.gc-g + tr td { border-top: 0; }
/* The group tabs inside a topic tab: a small segmented row above the one table showing. */
.gc-grouptabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.gc-grouptabs button { font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 12px; cursor: pointer; }
.gc-grouptabs button:hover { color: var(--ink); }
.gc-grouptabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.gc-grp[hidden] { display: none; }
/* Core's opening sentences: every panel the height of the longest, four lines, so the buttons under it never move. */
.gc-leadbox .gc-box { min-height: 124px; }
/* The Overview table on a phone: it keeps its columns and scrolls sideways inside its own box (fact check, 30 Nov 2026). */
.gc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; }
.gc-scroll .gc-spec { margin: 0; }
@media (max-width: 640px) { .gc-spec { min-width: 620px; } }
