/*
 * Regulation pages (boards Regulation and RegulationNL; openspec change regulation-pages-canvas, owner 2026-11-19).
 * The sections, heads, cards, tabs, key facts, Coming Up box, FAQ and closing band are library components (main.css).
 * This file only lays out the What Is section (text and key facts beside the checker box) and the knowledge-base
 * markup that sits inside the tab panels (filings as a plain timeline, tables, references). Tokens only.
 */
/* In layer components (theme inc/layers.php): after main.css component rules on ties, as when unlayered. */
@layer components {
/* What Is: the text and key facts, the GEN-BOX beside them from 1024 px. */
.reg-glance { display: grid; gap: var(--sp-40); align-items: start; }
.reg-glance__main, .reg-glance__side { min-width: 0; }
/* The side column, stacked: Verified by (CON-FEAT), Does It Apply to You? (GEN-BOX), the updates sign-up (owner 2026-11-20). */
.reg-glance__side { display: grid; gap: var(--sp-24); align-content: start; }
@media (min-width: 1025px) {
	.reg-glance--side { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-64); }
}
.co--reg .reg-prose { display: grid; gap: var(--sp-12); max-width: var(--measure); color: var(--ink-2);
	& p { margin: 0; }
}

/* A "show more" disclosure under cards or a list (requirements, differences, milestones, the country comparison). */
.co--reg :is(.reg-more, .kb-compare-more) { margin-top: var(--sp-24); border-top: 1px solid var(--c-border);
	& > summary { list-style: none; display: flex; justify-content: space-between; gap: var(--sp-16); padding: var(--sp-16) 0; font-weight: var(--fw-semibold); color: var(--c-link); cursor: pointer; }
	& > summary::-webkit-details-marker { display: none; }
	& > summary::after { content: "+"; color: var(--c-brand); }
	&[open] > summary::after { content: "−"; }
}

/* Tab panels: the knowledge-base sections without their own section. */
.co--reg .kb-panel { display: grid; gap: var(--sp-20); min-width: 0;
	& > h3 { margin: var(--sp-8) 0 0; }
}
.co--reg .kb-steps { list-style: none; margin: 0; padding: 0 0 0 var(--sp-18); border-left: 2px solid var(--c-divider); }
.co--reg .kb-step { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: var(--sp-4) var(--sp-16); padding: var(--sp-8) 0;
	& h3 { margin: 0; }
	& p { margin: 0; }
}
.co--reg .kb-step__when { font-weight: var(--fw-semibold); color: var(--accent-dk); }
.co--reg .kb-table thead th { background: var(--c-surface-alt); }
.co--reg .reg-ref { color: var(--ink-3); font-size: var(--fs-meta); }
.co--reg .kb-badge { color: var(--ink-3); text-transform: uppercase; letter-spacing: var(--ls-caps); font-size: var(--fs-label); }
.co--reg .kb-thr { padding-top: var(--sp-20); }
.co--reg .kb-tracker__line { margin: 0 0 var(--sp-16); max-width: var(--measure); color: var(--c-text-muted); }
@media (max-width: 640px) {
	.co--reg .kb-step { grid-template-columns: minmax(0, 1fr); }
}
}
