/* GL 2.8.91: presentation only. Shared geometry across both palettes. */
body.glw-v5.glw-colorful{--cw-bg:#f7f6f2;--cw-paper:#fffefa;--cw-text:#263547;--cw-muted:#536276;--cw-line:#d7dde4;--cw-peach:#ffe0cd;--cw-mint:#d6efdf;--cw-purple:#e7dff9;--cw-rose:#f8dae7;--cw-sky:#d9ebfa;--cw-gold:#f6e8b8;--cw-green:#225b4d;--cw-highlight:#ffffffc0;--cw-shadow:#35425813;background:var(--cw-bg)!important;color:var(--cw-text)!important;--sw-bg:var(--cw-bg)!important;--sw-surface:var(--cw-paper)!important;--sw-text:var(--cw-text)!important;--sw-muted:var(--cw-muted)!important;--sw-line:var(--cw-line)!important;--sw-sage:var(--cw-mint)!important;--sw-primary:var(--cw-green)!important}
html:not(.light) body.glw-v5.glw-colorful{--cw-bg:#17232d;--cw-paper:#21313f;--cw-text:#f0f4f8;--cw-muted:#c0cbd7;--cw-line:#485869;--cw-peach:#543b32;--cw-mint:#24483d;--cw-purple:#413953;--cw-rose:#513547;--cw-sky:#2b4358;--cw-gold:#4d4530;--cw-green:#b0e5d2;--cw-highlight:#ffffff18;--cw-shadow:#00000028}
html body.glw-v5.glw-colorful :is(.card,.landing-work-card,.admin-home-card,.hub-work-card){color:var(--cw-text)!important;border-color:var(--cw-line)!important}
html body.glw-v5.glw-colorful :is(.card,.hub-work-card){background:var(--cw-paper)!important}
html body.glw-v5.glw-colorful :is(h1,h2,h3,h4,.value,.admin-home-count){color:var(--cw-text)!important}
html body.glw-v5.glw-colorful :is(.subtitle,.crumb,.admin-home-copy,.card p,.card small,.landing-work-copy p){color:var(--cw-muted)!important}
html body.glw-v5.glw-colorful :is(.main,.section,.footer){color:var(--cw-text)}
html body.glw-v5.glw-colorful :is(.main,.hero-v5){background:var(--cw-bg)!important}
html body.glw-v5.glw-colorful .hero-v5{border-color:var(--cw-line)!important;box-shadow:none!important}
html body.glw-v5.glw-colorful .hero-glow{opacity:.12!important}
html body.glw-v5.glw-colorful .hero-benefit-points,html body.glw-v5.glw-colorful .home-hero-urdu{color:var(--cw-text)!important}
html body.glw-v5.glw-colorful .home-hero-copy h1 .gradient{background:none!important;-webkit-text-fill-color:var(--cw-green)!important;color:var(--cw-green)!important}
html body.glw-v5.glw-colorful .landing-work-card{background:var(--cw-peach)!important;border-radius:27px!important;overflow:hidden;box-shadow:inset 2px 3px 7px var(--cw-highlight),inset -3px -4px 8px #3542580b,5px 9px 19px var(--cw-shadow)!important}
html body.glw-v5.glw-colorful .landing-work-card[data-work=low]{background:var(--cw-mint)!important}
html body.glw-v5.glw-colorful .landing-work-card[data-work=puzzle]{background:var(--cw-purple)!important}
html body.glw-v5.glw-colorful .landing-work-photo{background:transparent!important;aspect-ratio:16/9!important}
html body.glw-v5.glw-colorful .landing-work-photo img{width:100%!important;height:100%!important;object-fit:contain!important;aspect-ratio:16/9!important}
html body.glw-v5.glw-colorful .landing-work-copy{background:transparent!important}
html body.glw-v5.glw-colorful .home-steps>.card{background:transparent!important;box-shadow:none!important;border:0!important;border-top:1px solid var(--cw-line)!important;border-radius:0!important}
html body.glw-v5.glw-colorful .collaboration-invite :is(.card,.collab-card){background:var(--cw-rose)!important}
html body.glw-v5.glw-colorful .admin-home-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
html body.glw-v5.glw-colorful .admin-home-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;padding:24px!important;background:var(--cw-peach)!important;border:1px solid var(--cw-highlight)!important;border-radius:25px!important;box-shadow:inset 3px 3px 7px var(--cw-highlight),inset -3px -4px 8px #3542580c,5px 9px 19px var(--cw-shadow)!important}
html body.glw-v5.glw-colorful .admin-home-card:nth-child(2){background:var(--cw-gold)!important}
html body.glw-v5.glw-colorful .admin-home-card:nth-child(3){background:var(--cw-sky)!important}
html body.glw-v5.glw-colorful .admin-home-card:nth-child(4){background:var(--cw-mint)!important}
html body.glw-v5.glw-colorful .admin-home-card:nth-child(5){background:var(--cw-purple)!important}
html body.glw-v5.glw-colorful .admin-home-card:nth-child(6){background:var(--cw-rose)!important}
html body.glw-v5.glw-colorful .grid.g4{gap:16px!important;border:0!important}
html body.glw-v5.glw-colorful .grid.g4>.card{border:1px solid var(--cw-highlight)!important;border-radius:22px!important;background:var(--cw-mint)!important;padding:22px!important;box-shadow:inset 2px 3px 5px var(--cw-highlight),4px 7px 15px var(--cw-shadow)!important}
html body.glw-v5.glw-colorful .grid.g4>.card:nth-child(2){background:var(--cw-peach)!important}
html body.glw-v5.glw-colorful .grid.g4>.card:nth-child(3){background:var(--cw-purple)!important}
html body.glw-v5.glw-colorful .grid.g4>.card:nth-child(4){background:var(--cw-gold)!important}
html body.glw-v5.glw-colorful .auth-intro{background:var(--cw-mint)!important;color:var(--cw-text)!important}
html body.glw-v5.glw-colorful .auth-card{background:var(--cw-purple)!important;border-radius:28px!important;box-shadow:inset 3px 3px 7px var(--cw-highlight),6px 12px 24px var(--cw-shadow)!important}
html body.glw-v5.glw-colorful :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background:var(--cw-paper)!important;color:var(--cw-text)!important;border-color:var(--cw-line)!important}
html body.glw-v5.glw-colorful :is(input,textarea)::placeholder{color:var(--cw-muted)!important;opacity:1}
html body.glw-v5.glw-colorful :is(th,td){border-color:var(--cw-line)!important;color:var(--cw-text)!important}
html body.glw-v5.glw-colorful th{background:var(--cw-paper)!important;color:var(--cw-muted)!important}
html body.glw-v5.glw-colorful .btn:not(.primary):not(.danger){color:var(--cw-text)!important;background:var(--cw-paper)!important;border-color:var(--cw-line)!important}
/* Glass navigation retains existing links, staff grants and keyboard order. */
html body.glw-v5.glw-colorful .landing-nav{border:1px solid var(--cw-highlight)!important;border-radius:28px!important;background:color-mix(in srgb,var(--cw-paper) 90%,transparent)!important;backdrop-filter:blur(18px) saturate(130%);box-shadow:inset 0 1px 2px var(--cw-highlight),0 8px 25px var(--cw-shadow)!important;margin:16px auto!important;width:calc(100% - 32px)!important;max-width:1280px!important}
html body.glw-v5.glw-colorful .landing-nav nav>a{color:var(--cw-text)!important;border-radius:18px;padding:12px;transition:background .22s ease,box-shadow .22s ease}
html body.glw-v5.glw-colorful .landing-nav nav>a:hover{background:var(--cw-mint)!important;box-shadow:inset 0 1px 2px var(--cw-highlight)}
html body.glw-v5.glw-colorful .sidebar .nav a.active{background:var(--cw-mint)!important;color:var(--cw-text)!important;box-shadow:inset 0 2px 3px var(--cw-highlight),0 3px 10px var(--cw-shadow)!important;border-bottom:2px solid var(--cw-green)!important}
html body.glw-v5.glw-colorful .sidebar .nav a{transition:background .22s ease;min-height:44px!important}
html body.glw-v5.glw-colorful .mobilebar{border:1px solid var(--cw-highlight)!important;border-radius:25px!important;background:color-mix(in srgb,var(--cw-paper) 92%,transparent)!important;backdrop-filter:blur(18px);box-shadow:inset 0 1px 2px var(--cw-highlight),0 8px 30px var(--cw-shadow)!important;left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;width:auto!important;gap:4px!important}
html body.glw-v5.glw-colorful .mobilebar :is(a,button){color:var(--cw-text)!important;border-radius:18px!important;min-height:44px!important}
html body.glw-v5.glw-colorful .mobilebar :is(a.active,a[aria-current=page]){background:var(--cw-mint)!important;box-shadow:inset 0 2px 3px var(--cw-highlight),0 3px 8px var(--cw-shadow)!important;border-bottom:2px solid var(--cw-green)!important}
html body.glw-v5.glw-colorful :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--cw-green)!important;outline-offset:3px!important}
@supports not (background:color-mix(in srgb,white 90%,transparent)){html body.glw-v5.glw-colorful :is(.landing-nav,.mobilebar){background:var(--cw-paper)!important}}
@media(max-width:1000px){html body.glw-v5.glw-colorful .admin-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){html body.glw-v5.glw-colorful .admin-home-grid{grid-template-columns:1fr!important}html body.glw-v5.glw-colorful .landing-nav{margin:8px auto!important;width:calc(100% - 16px)!important;border-radius:22px!important}html body.glw-v5.glw-colorful .mobilebar{overflow-x:auto!important;justify-content:flex-start!important}html body.glw-v5.glw-colorful .mobilebar>*{flex:1 0 auto;max-width:none!important}html body.glw-v5.glw-colorful .main{padding-bottom:125px!important}}
@media(prefers-reduced-motion:reduce){html body.glw-v5.glw-colorful :is(.landing-nav nav>a,.sidebar .nav a){transition:none!important}}
