/* UPSC CSE Syllabus 2026-2027 — page-scoped styles */
.cse-page{--navy:#0f2a4a;--blue:#1a56db;--gold:#d4a017;--red:#990000;--ink:#263544;--muted:#5b6775;--line:#dce3ea;background:#f7f8fb;color:var(--ink);font-family:Arial,Helvetica,sans-serif}.cse-page *{box-sizing:border-box}.cse-container{width:min(1220px,calc(100% - 32px));margin-inline:auto}
.cse-hero{position:relative;overflow:hidden;padding:50px 0;background:linear-gradient(135deg,#0f2a4a 0%,#1a365d 60%,#1e3a8a 100%);color:#fff}.cse-hero:after{content:"";position:absolute;right:-110px;bottom:-220px;width:470px;height:470px;border:80px solid rgba(255,255,255,.055);border-radius:50%}.cse-hero .cse-container{position:relative;z-index:1;width:min(1400px,calc(100% - 48px))}.cse-hero-inner{max-width:1060px}.cse-hero-badge{display:inline-block;margin-bottom:17px;padding:7px 12px;border-radius:999px;background:var(--gold);color:var(--navy)!important;font-size:.74rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.cse-hero-title{margin:0 0 24px;color:#fff!important;font-size:clamp(2rem,3.5vw,3.25rem);font-weight:850;line-height:1.12;letter-spacing:-.025em}.cse-hero-action{padding-top:3px}.cse-hero-action a,.cse-sidebar-card>div:first-child a{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:9px;background:var(--gold);color:var(--navy)!important;font-size:.9rem;font-weight:850;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.16)}.cse-hero-action a:hover{background:#f0b62b;transform:translateY(-1px)}.fa-file-pdf:before{content:"⇩";display:grid;place-items:center;width:25px;height:25px;border-radius:6px;background:rgba(153,0,0,.1);color:var(--red);font-style:normal;font-weight:900}
.cse-main{padding-top:42px;padding-bottom:68px}.cse-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.85fr);gap:30px;align-items:start}.cse-content{display:grid;gap:28px;min-width:0}.cse-section{padding:30px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 25px rgba(15,42,74,.055)}.cse-section h2{display:flex;align-items:center;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #e8edf1;color:var(--navy)!important;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.3}.cse-section h2 i{display:inline-grid;flex:0 0 34px;width:34px;height:34px;margin-right:11px;place-items:center;border-radius:9px;background:#fff5d8;color:var(--gold);font-style:normal}.cse-section h2 i:before{content:"◆";font-size:.75rem}.cse-section .fa-calendar-alt:before{content:"▣"}.cse-section .fa-edit:before{content:"✎"}.cse-section .fa-file-alt:before{content:"▤"}.cse-section .fa-user-tie:before{content:"♙"}.cse-section .fa-lightbulb:before{content:"✦"}.cse-section p{color:#465463!important;font-size:.98rem;line-height:1.75}.cse-section h3,.cse-section h4,.cse-section h5{color:var(--navy)!important;line-height:1.4}.cse-section h3{margin:24px 0 12px;font-size:1.22rem}.cse-section h4{margin:21px 0 10px;font-size:1.05rem}.cse-section h5{margin:0 0 8px;font-size:.92rem}
.cse-page .grid{display:grid;gap:10px}.cse-page .flex{display:flex}.cse-page .flex-wrap{flex-wrap:wrap}.cse-page .items-center{align-items:center}.cse-page .items-start{align-items:flex-start}.cse-page .justify-between{justify-content:space-between}.cse-page .justify-center{justify-content:center}.cse-page .overflow-x-auto{overflow-x:auto}.cse-page .bg-slate-50,.cse-page [class~="bg-slate-50/50"]{background:#f8fafc}.cse-page .bg-brand-light{background:#f8fafc}.cse-page .bg-white{background:#fff}.cse-page .rounded-xl{border-radius:14px}.cse-page .rounded-lg{border-radius:10px}.cse-page .border{border:1px solid var(--line)}.cse-page .space-y-4>*>*+.cse-page .space-y-4>*{margin-top:0}.cse-page .space-y-4>*+*,.cse-page .space-y-6>*+*{margin-top:14px}
#overview>div:last-child{display:grid;gap:12px}#overview>div:last-child>div{padding:18px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}#overview>div:last-child h3{margin:0 0 5px;font-size:1rem}#overview>div:last-child p{margin:0;font-size:.86rem}
.cse-section table{width:100%;min-width:620px;border-collapse:collapse;background:#fff}.cse-section table th,.cse-section table td{padding:12px 14px;border-bottom:1px solid #e3e8ed;text-align:left;vertical-align:top;line-height:1.45}.cse-section table thead{background:var(--navy);color:#fff}.cse-section table th{color:#fff!important;font-size:.78rem;text-transform:uppercase;letter-spacing:.035em}.cse-section table tbody tr:nth-child(even){background:#f8fafc}.cse-section table tbody tr:last-child td{border-bottom:0}.cse-section table td{color:#3f4c59;font-size:.86rem}
#prelims>div.space-y-6>div.space-y-4>div{padding:17px;border:1px solid var(--line);border-radius:11px;background:#f8fafc}#prelims ul,#interview ul{margin:9px 0 0;padding-left:19px}#prelims li,#interview li{margin:5px 0;color:#475563;font-size:.84rem;line-height:1.55}#prelims [class~="md:grid-cols-2"]{grid-template-columns:repeat(2,minmax(0,1fr))}#prelims [class~="sm:grid-cols-2"]{grid-template-columns:repeat(2,minmax(0,1fr))}#prelims .fa-check-circle:before{content:"✓";margin-right:7px;color:#138447;font-style:normal;font-weight:900}
#mains>div.grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}#mains>div.grid>div{padding:17px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}#mains>div.grid h4{margin:0 0 7px}.cse-page .bg-brand-navy{background:var(--navy);color:#fff}.cse-page .bg-brand-navy p,.cse-page .bg-brand-navy h2,.cse-page .bg-brand-navy h3,.cse-page .bg-brand-navy h4{color:#fff!important}
#interview>div{padding:18px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}#interview>div+div{margin-top:15px}
#faqs>div>div{padding:14px 0;border-bottom:1px solid var(--line)}#faqs>div>div:last-child{border-bottom:0}#faqs h3{margin:0 0 5px;font-size:.94rem}#faqs p{margin:0;font-size:.86rem}
.cse-sidebar-card{position:sticky;top:18px;padding:21px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(15,42,74,.07)}.cse-sidebar-card>div:first-child{margin-bottom:20px}.cse-sidebar-card>div:first-child a{width:100%;background:var(--red);color:#fff!important;font-size:.78rem;text-transform:uppercase}.cse-sidebar-card>div:first-child .fa-file-pdf:before{background:rgba(255,255,255,.13);color:#fff}.cse-sidebar-card h3{margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid var(--line);color:var(--navy)!important}.cse-sidebar-card ul{margin:0;padding:0;list-style:none}.cse-sidebar-card li+li{margin-top:4px}.cse-sidebar-card li a{display:block;padding:9px;border-radius:7px;color:#4b5967!important;font-size:.83rem;font-weight:650;text-decoration:none}.cse-sidebar-card li a:hover{background:#f3f6f9;color:var(--blue)!important}.cse-sidebar-card .fa-chevron-right:before{content:"›";margin-right:7px;color:var(--gold);font-style:normal;font-weight:900}
@media(min-width:701px){.cse-page [class~="sm:grid-cols-2"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.cse-layout{grid-template-columns:minmax(0,1fr)}.cse-content,.cse-sidebar,.cse-section{min-width:0;max-width:100%}.cse-sidebar{order:-1}.cse-sidebar-card{position:static}.cse-sidebar-card ul{display:flex;gap:4px;overflow-x:auto}.cse-sidebar-card li{flex:0 0 auto;margin:0!important}.cse-sidebar-card li a{white-space:nowrap}.cse-sidebar-card>div:first-child{display:none}}
@media(max-width:700px){.cse-container,.cse-hero .cse-container{width:min(100% - 24px,1220px)}.cse-hero{padding:36px 0}.cse-hero-title{font-size:2rem}.cse-main{padding-top:25px}.cse-content{gap:20px}.cse-section{padding:21px;border-radius:14px}.cse-section h2{font-size:1.4rem}.cse-section table{min-width:570px}#prelims [class~="md:grid-cols-2"],#prelims [class~="sm:grid-cols-2"],#mains>div.grid{grid-template-columns:1fr}.cse-hero-action a{width:100%}}

/* Faithful, page-isolated rendering of the utility classes used by UPSC Final.html. */
.cse-page{font-family:Inter,Manrope,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.5}.cse-page :where(h1,h2,h3,h4,h5,p,ul,li,table){font-family:inherit}.cse-section p{margin-top:0}.cse-page .inline-flex{display:inline-flex}.cse-page .block{display:block}.cse-page .bg-slate-100{background:#f1f5f9}.cse-page .rounded{border-radius:4px}.cse-page .border-b{border-bottom:1px solid var(--line)}.cse-page .border-l-4{border-left:4px solid var(--gold)}.cse-page .shadow-sm{box-shadow:0 1px 2px rgba(15,23,42,.05)}.cse-page .shadow-md{box-shadow:0 4px 6px rgba(15,23,42,.1)}
.cse-page .space-y-1>*+*{margin-top:4px}.cse-page .space-y-1\.5>*+*{margin-top:6px}.cse-page .space-y-2>*+*{margin-top:8px}.cse-page .space-y-4>*+*{margin-top:16px}.cse-page .space-y-6>*+*{margin-top:24px}
.cse-page .p-2{padding:8px}.cse-page .p-2\.5{padding:10px}.cse-page .p-4{padding:16px}.cse-page .p-5{padding:20px}.cse-page .px-4{padding-left:16px;padding-right:16px}.cse-page .px-5{padding-left:20px;padding-right:20px}.cse-page .px-6{padding-left:24px;padding-right:24px}.cse-page .py-2{padding-top:8px;padding-bottom:8px}.cse-page .py-2\.5{padding-top:10px;padding-bottom:10px}.cse-page .py-3{padding-top:12px;padding-bottom:12px}.cse-page .py-3\.5{padding-top:14px;padding-bottom:14px}.cse-page .pb-2{padding-bottom:8px}.cse-page .pb-3{padding-bottom:12px}.cse-page .pl-3{padding-left:12px}.cse-page .mt-6{margin-top:24px}.cse-page .mt-8{margin-top:32px}.cse-page .mb-1{margin-bottom:4px}.cse-page .mb-2{margin-bottom:8px}.cse-page .mb-3{margin-bottom:12px}.cse-page .mb-4{margin-bottom:16px}.cse-page .mb-6{margin-bottom:24px}.cse-page .mb-8{margin-bottom:32px}.cse-page .mr-2{margin-right:8px}.cse-page .mr-2\.5{margin-right:10px}.cse-page .mr-3{margin-right:12px}
.cse-page .text-xs{font-size:.75rem!important;line-height:1.5}.cse-page .text-sm{font-size:.875rem!important;line-height:1.5}.cse-page .text-base{font-size:1rem!important}.cse-page .text-lg{font-size:1.125rem!important}.cse-page .text-xl{font-size:1.25rem!important}.cse-page .text-2xl{font-size:1.5rem!important}.cse-page .font-medium{font-weight:500!important}.cse-page .font-semibold{font-weight:600!important}.cse-page .font-bold{font-weight:700!important}.cse-page .font-extrabold{font-weight:800!important}.cse-page .leading-relaxed{line-height:1.625!important}.cse-page .text-left{text-align:left}.cse-page .text-center{text-align:center}.cse-page .uppercase{text-transform:uppercase}.cse-page .tracking-wider{letter-spacing:.05em}.cse-page .text-brand-navy{color:var(--navy)!important}.cse-page .text-brand-blue{color:var(--blue)!important}.cse-page .text-brand-red{color:var(--red)!important}.cse-page .text-brand-gold{color:var(--gold)!important}.cse-page .text-slate-900{color:#0f172a!important}.cse-page .text-slate-700{color:#334155!important}.cse-page .text-slate-600{color:#475569!important}.cse-page .text-slate-500{color:#64748b!important}.cse-page .text-slate-200{color:#e2e8f0!important}.cse-page .text-white{color:#fff!important}.cse-page .text-emerald-600{color:#059669!important}
.cse-section table{border-collapse:separate;border-spacing:0;overflow:hidden}.cse-section table th,.cse-section table td{padding:12px 16px}.cse-section table thead.bg-slate-100{background:#f1f5f9}.cse-section table thead.bg-slate-100 th{color:var(--navy)!important}.cse-section table.text-xs td,.cse-section table.text-xs th{font-size:.75rem!important}
#prelims ul.list-disc,#interview ul.list-disc{margin:8px 0 0;padding-left:20px;list-style:disc outside!important}#prelims ul.list-disc>li,#interview ul.list-disc>li{display:list-item!important;margin:4px 0;padding:0!important;border:0!important;background:transparent!important;list-style:disc outside!important;color:#334155;font-size:.75rem;line-height:1.5}#prelims ul.grid:not(.list-disc),#interview ul.grid:not(.list-disc){margin:0 0 12px;padding:0;list-style:none!important}#prelims ul.grid:not(.list-disc)>li,#interview ul.grid:not(.list-disc)>li{display:flex!important;align-items:center;min-height:41px;margin:0!important;padding:10px!important;border:1px solid #e2e8f0!important;border-radius:4px;background:#fff!important;list-style:none!important;color:#334155;font-size:.75rem;line-height:1.4}#prelims ul.grid:not(.list-disc)>li:before,#interview ul.grid:not(.list-disc)>li:before{content:none!important}#prelims .fa-check-circle{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;margin-right:8px;font-style:normal}#prelims .fa-check-circle:before{content:"✓";margin:0;color:#059669;font-style:normal;font-size:1rem;font-weight:900}
.cse-section .fa-layer-group:before{content:"▰"}.cse-section .fa-question-circle:before{content:"?"}.cse-sidebar-card .fa-compass:before{content:"✥"}.cse-page .fa-check:before{content:"✓";color:#059669;font-style:normal;font-weight:900}.cse-page .fa-check{font-style:normal}
@media(max-width:700px){.cse-page .text-2xl{font-size:1.35rem!important}.cse-section table th,.cse-section table td{padding:10px 12px}}
