/* assets/articles.css — Articles page */
.articles { max-width: 860px; margin: 0 auto; padding: 96px 18px 64px; color: #1f2230; line-height: 1.7; font-size: 1.05rem; }
.articles > h1 { font-size: 1.9rem; line-height: 1.25; margin-bottom: .3rem; }
.articles .lede { color: #5a5d6b !important; margin-bottom: 1.2rem; }

/* Tabs */
.tabbar { position: sticky; top: 64px; z-index: 50; background: #fff; border-bottom: 2px solid #ececf3;
    margin: 0 -18px 1.6rem; padding: 0 18px; }
.tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; padding: .85rem 1rem .75rem; font-weight: 600; font-size: .98rem; color: #5a5d6b !important;
    border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; border-radius: 8px 8px 0 0; }
.tab:hover { color: #4400ff !important; background: #f6f5ff; }
.tab[aria-selected="true"] { color: #4400ff !important; border-bottom-color: #4400ff; }
.tab:focus-visible { outline: 2px solid #4400ff; outline-offset: -2px; }
.tabpanel { padding: 0 !important; margin: 0; }
.tabpanel[hidden] { display: none; }

/* Article text */
.tabpanel h2.title { font-size: 1.7rem; line-height: 1.25; margin-bottom: .3rem; }
.updated { color: #5f5f6e !important; font-size: .9rem; margin-bottom: 1.4rem; }
.articles p, .articles li, .articles td, .articles em { color: #1f2230; }
article h2 { font-size: 1.4rem; margin: 2.1rem 0 .7rem; line-height: 1.3; }
article h3 { font-size: 1.13rem; margin: 1.5rem 0 .4rem; color: #4400ff; }
article p { margin-bottom: 1rem; }
article ul, article ol { margin: 0 0 1.1rem 1.3rem; }
article ul > li { list-style: disc outside !important; display: list-item; }
article ol > li { list-style: decimal outside !important; display: list-item; }
article li { margin-bottom: .45rem; padding-left: .2rem; }
article li ul { margin: .4rem 0 0 1.1rem; }
article li ul > li { list-style: circle outside !important; }
article a { color: #4400ff; text-decoration: underline; text-underline-offset: 2px; }
article strong { color: #11131c; }
.checklist { margin-left: 0 !important; }
.checklist > li { list-style: none !important; display: flex !important; gap: .6rem; align-items: flex-start; }
.checklist .box { flex: 0 0 18px; height: 18px; margin-top: .35rem; border: 2px solid #4400ff; border-radius: 4px; }
.checklist .ck { flex: 1; }
.table-wrap { overflow-x: auto; margin: .4rem 0 1.3rem; border: 1px solid #e4e4ee; border-radius: 10px; }
article table { border-collapse: collapse; width: 100%; font-size: .97rem; }
article th { background: #f4f4fb; text-align: left; font-weight: 600; }
article th, article td { padding: .6rem .8rem; border-bottom: 1px solid #ececf3; vertical-align: top; }
article tr:last-child td { border-bottom: 0; }
article h2#sources + ul { font-size: .9rem; }
.note { background: #f4f4fb; border-radius: 12px; padding: .9rem 1rem; font-size: .92rem; margin-top: 2rem; }
.next { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.next a { color: #4400ff; font-weight: 600; }
@media (max-width: 600px) {
    .articles { padding-top: 84px; font-size: 1rem; }
    .articles > h1 { font-size: 1.5rem; }
    .tab { padding: .75rem .8rem .65rem; font-size: .92rem; }
    .tabpanel h2.title { font-size: 1.4rem; }
    article h2 { font-size: 1.22rem; }
}
.notice.small { font-size: .9rem; }
