/* Clinical Knowledge landing – Forest / Butter Cream / Acid Lime / Cobalt theme (Nov 2026).
   Style only: structure, order and links are untouched. Loaded on /medical-school/library/clinical-knowledge/ only. */
:root{--ckt-forest:#1E3B2F;--ckt-forest2:#2C5442;--ckt-cream:#F3ECD6;--ckt-cream2:#FAF6EA;--ckt-card:#FFFDF6;--ckt-lime:#D6FF3D;--ckt-cobalt:#2F4FD8;--ckt-ink:#17231D;--ckt-mut:#5F6B63;--ckt-line:#E6DCBE;--ckt-hov:#F4F9DD}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ckt-cream:#101C16;--ckt-cream2:#14231B;--ckt-card:#182A21;--ckt-ink:#EDE8D6;--ckt-mut:#A9B3A5;--ckt-line:#2B4236;--ckt-hov:#1F3528}}
:root[data-theme="dark"]{--ckt-cream:#101C16;--ckt-cream2:#14231B;--ckt-card:#182A21;--ckt-ink:#EDE8D6;--ckt-mut:#A9B3A5;--ckt-line:#2B4236;--ckt-hov:#1F3528}

body:has(#libApp > .lb-hero){background:var(--ckt-cream)}

/* section bar */
body:has(#libApp > .lb-hero) .cksec{background:var(--ckt-cream2);border-bottom-color:var(--ckt-line)}
body:has(#libApp > .lb-hero) .cksec a{color:var(--ckt-ink)}
body:has(#libApp > .lb-hero) .cksec a[aria-current="page"]{background:var(--ckt-forest);color:var(--ckt-cream)}
body:has(#libApp > .lb-hero) .cksec .in>a.hub{color:var(--ckt-mut)}
body:has(#libApp > .lb-hero) .cksec .in>a.hub:hover{color:var(--ckt-forest);background:var(--ckt-hov)}

/* hero */
#libApp > .lb-hero{position:relative;overflow:hidden;background:var(--ckt-forest);color:#F3ECD6;border-radius:26px;padding:34px clamp(20px,4vw,44px) 30px;margin:22px 0 22px;box-shadow:0 30px 60px -42px rgba(30,59,47,.7)}
#libApp > .lb-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 1px 1px,rgba(243,236,214,.11) 1.4px,transparent 1.6px) 0 0/26px 26px;pointer-events:none}
#libApp > .lb-hero::after{content:"";position:absolute;right:-10px;top:26px;width:520px;height:150px;pointer-events:none;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 160' fill='none'%3E%3Cpath d='M0 100 H150 l14-22 12 22 H230 l10-70 14 120 12-74 10 24 H360 l14-18 14 18 H560' stroke='%23D6FF3D' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='470' cy='38' r='22' fill='%23D6FF3D'/%3E%3Ccircle cx='520' cy='70' r='8' fill='%23F3ECD6' opacity='.7'/%3E%3C/svg%3E") no-repeat right center/contain}
#libApp > .lb-hero > *{position:relative;z-index:1}
#libApp > .lb-hero .lb-logo{width:64px;height:64px;border-radius:18px;background:var(--ckt-lime);border:0;box-shadow:inset 0 -3px 0 rgba(0,0,0,.15)}
#libApp > .lb-hero .lb-logo svg{width:40px;height:40px}
#libApp > .lb-hero .lb-logo svg *{stroke:var(--ckt-forest)!important}
#libApp > .lb-hero .lb-logo svg circle{fill:var(--ckt-lime)!important}
#libApp > .lb-hero .eyebrow{display:table;margin:10px 0 0;background:rgba(214,255,61,.14);color:var(--ckt-lime);border-radius:999px;padding:5px 12px;font:700 11.5px/1.3 Sora,Figtree,system-ui,sans-serif;letter-spacing:.1em}
#libApp > .lb-hero h1{font:800 clamp(34px,5vw,54px)/1.05 Sora,Figtree,system-ui,sans-serif;letter-spacing:-.02em;color:#FFFDF6;margin:12px 0 10px}
#libApp > .lb-hero h1::after{content:"";display:block;width:84px;height:6px;border-radius:6px;background:var(--ckt-lime);margin-top:12px}
#libApp > .lb-hero .lb-intro{color:rgba(243,236,214,.84);font-size:16.5px;max-width:62ch}
#libApp > .lb-hero .og-stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 4px}
#libApp > .lb-hero .og-stats span{background:rgba(243,236,214,.09);border:1px solid rgba(243,236,214,.18);color:rgba(243,236,214,.85);border-radius:14px;padding:8px 14px;font:500 13.5px Figtree,system-ui,sans-serif}
#libApp > .lb-hero .og-stats b{font:800 18px Sora,Figtree,sans-serif;color:var(--ckt-lime);margin-right:4px}
#libApp > .lb-hero .lb-search input{background:#FFFDF6;color:#17231D;border:2px solid transparent;border-radius:14px;padding:13px 16px;font-size:15.5px}
#libApp > .lb-hero .lb-search input:focus{outline:none;border-color:var(--ckt-lime);box-shadow:0 0 0 4px rgba(214,255,61,.25)}
@media (max-width:760px){#libApp > .lb-hero::after{display:none}#libApp > .lb-hero{border-radius:20px;padding:26px 20px 24px;margin-top:16px}#libApp > .lb-hero .eyebrow{font-size:10.5px}}

/* column browser */
#libApp > .lb-hero ~ .mcol .mc-h{font:800 19px Sora,Figtree,system-ui,sans-serif;color:var(--ckt-forest);margin:2px 2px 10px}
:root[data-theme="dark"] #libApp > .lb-hero ~ .mcol .mc-h{color:var(--ckt-lime)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) #libApp > .lb-hero ~ .mcol .mc-h{color:var(--ckt-lime)}}
#libApp > .lb-hero ~ .mcol .mc ul{background:var(--ckt-card);border:1.5px solid var(--ckt-line);border-radius:20px;box-shadow:0 18px 36px -30px rgba(30,59,47,.55);padding:6px}
#libApp > .lb-hero ~ .mcol .mc li+li{border-top:0}
#libApp > .lb-hero ~ .mcol .mc button,#libApp > .lb-hero ~ .mcol .mc a{border-radius:14px;padding:11px 12px;color:var(--ckt-ink);font:600 15px Figtree,system-ui,sans-serif;position:relative;transition:background .15s,transform .15s}
#libApp > .lb-hero ~ .mcol .mc button:hover,#libApp > .lb-hero ~ .mcol .mc a:hover{background:var(--ckt-hov)}
#libApp > .lb-hero ~ .mcol .mc button.on{background:var(--ckt-forest);color:#FFFDF6;font-weight:700}
#libApp > .lb-hero ~ .mcol .mc button.on .mc-n{background:var(--ckt-lime);color:var(--ckt-forest)}
#libApp > .lb-hero ~ .mcol .mc button.on i{color:var(--ckt-lime)}
#libApp > .lb-hero ~ .mcol .mc-n{font:700 11px Figtree,system-ui,sans-serif;background:color-mix(in srgb,var(--ckt-forest) 8%,transparent);color:var(--ckt-mut);border-radius:999px;padding:3px 8px}
#libApp > .lb-hero ~ .mcol .mc button i{color:var(--ckt-forest2)}
#libApp > .lb-hero ~ .mcol .mc a{color:var(--ckt-cobalt)}
/* folder emoji -> coloured badge */
#libApp > .lb-hero ~ .mcol .mc button > span:first-child{font-size:0;flex:none;width:12px;height:12px;border-radius:4px;background:var(--b,var(--ckt-forest2));box-shadow:0 0 0 3px color-mix(in srgb,var(--b,var(--ckt-forest2)) 18%,transparent)}
/* first column: one colour + code per specialty (order unchanged) */
#libApp > .lb-hero ~ .mcol .mc:first-child button > span:first-child{width:38px;height:38px;border-radius:11px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;line-height:1}
#libApp > .lb-hero ~ .mcol .mc:first-child button > span:first-child::after{content:var(--t,"");display:block;font:800 13px/1 Sora,Figtree,sans-serif;color:#fff;letter-spacing:.02em}
#libApp > .lb-hero ~ .mcol .mc:first-child button{--b:#1E3B2F}
.mcol .mc:first-child li:nth-child(1) button{--b:#1E3B2F!important;--t:"IM"}
.mcol .mc:first-child li:nth-child(2) button{--b:#2747C4!important;--t:"SU"}
.mcol .mc:first-child li:nth-child(3) button{--b:#D9822B!important;--t:"PA"}
.mcol .mc:first-child li:nth-child(4) button{--b:#4338CA!important;--t:"OG"}
.mcol .mc:first-child li:nth-child(5) button{--b:#7A4FD0!important;--t:"NE"}
.mcol .mc:first-child li:nth-child(6) button{--b:#9B2C4A!important;--t:"PS"}
.mcol .mc:first-child li:nth-child(7) button{--b:#3B7D3A!important;--t:"FM"}
.mcol .mc:first-child li:nth-child(8) button{--b:#C2413B!important;--t:"EM"}
.mcol .mc:first-child li:nth-child(9) button{--b:#17806D!important;--t:"AN"}
.mcol .mc:first-child li:nth-child(10) button{--b:#2F6FD8!important;--t:"OP"}
.mcol .mc:first-child li:nth-child(11) button{--b:#B7791F!important;--t:"ENT"}
.mcol .mc:first-child li:nth-child(12) button{--b:#C2561F!important;--t:"DE"}
.mcol .mc:first-child li:nth-child(13) button{--b:#1F6E8C!important;--t:"UR"}
.mcol .mc:first-child li:nth-child(14) button{--b:#475467!important;--t:"RA"}
.mcol .mc:first-child li:nth-child(15) button{--b:#6B8E23!important;--t:"PH"}
.mcol .mc:first-child li:nth-child(16) button{--b:#8E44AD!important;--t:"GE"}
.mcol .mc:first-child li:nth-child(17) button{--b:#2C5442!important;--t:"EP"}
.mcol .mc:first-child li:nth-child(18) button{--b:#5B4636!important;--t:"LM"}
#libApp > .lb-hero ~ .mcol .mc:first-child li:nth-child(11) button > span:first-child::after{font-size:11px}
#libApp > .lb-hero ~ .mcol .mc:first-child button.on > span:first-child{box-shadow:0 0 0 3px var(--ckt-lime)}
