/* Shared KAPASITI palette and compact controls; preserves hidden access gates. */
:root{--bg:#f6f5f0!important;--paper:#fff!important;--ink:#252820!important;--muted:#777b70!important;--line:#e6e7df!important;--green:#364b38!important;--lime:#d7ed87!important;--navy:#364b38!important;--navy2:#364b38!important;--card:#fff!important;--c18-ink:#252820!important;--c18-muted:#777b70!important;--c18-bg:#f6f5f0!important;--c18-card:#fff!important;--c18-accent:#364b38!important;--c18-soft:#ecefdf!important}
html,body{background:#f6f5f0!important;color:#252820!important;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important;margin:0!important}
body{accent-color:#364b38}
html body.kap-unified-r8 :where(header,.topbar,.top-bar,.public-header,.owner-header,.toolbar){background:#f6f5f0!important;color:#252820!important;border:0!important;box-shadow:none!important}
html body.kap-unified-r8 :where(.card,.panel,.auth-card,.auth-wrap,.account-card,.c18-card,.checkout-step,.checkout-summary,.stat,.stats-card,.module-card,.course-card,.program-card,.programme-card,.path,.owner-card){border:0!important;box-shadow:none!important;border-radius:0!important}
html body.kap-unified-r8 :where(h1,h2,h3,h4){color:inherit;overflow-wrap:break-word}
html body.kap-unified-r8 :where(button,.btn,.cta,.c18-btn,.c18-tab){font-family:inherit!important;min-height:44px;max-width:100%;border-radius:8px!important;box-shadow:none!important}
html body.kap-unified-r8 :where(button.primary,.btn-primary,.cta,.c18-btn.primary){background:#364b38!important;color:white!important;border:0!important}
html body.kap-unified-r8 :where(input:not([type=checkbox]):not([type=radio]),select,textarea){font-family:inherit!important;font-size:16px!important;border:1px solid #ced3c5!important;border-radius:7px!important;background:#fff!important;color:#252820!important;max-width:100%;box-sizing:border-box}
html body.kap-unified-r8 :where(a){text-underline-offset:3px}
html body.kap-unified-r8 :where(button,a,input,select,textarea):focus-visible{outline:3px solid #76963b!important;outline-offset:3px}
html body.kap-unified-r8 :where(table){max-width:100%}
.auth-wrap{padding:22px 16px!important;background:#f6f5f0!important}.auth-card{max-width:520px!important;margin:0 auto!important;padding:22px!important;background:white!important}.auth-card h1{font-size:28px!important;line-height:1.2!important}.auth-card p{font-size:14px!important;line-height:1.5!important}.auth-card label{font-size:13px!important;margin-top:14px!important}.auth-card input{min-height:44px!important}.auth-card button{font-size:14px!important;padding:10px 16px!important}
.kap-auth-methods{padding:16px 0!important;margin:0 0 18px!important}.kap-auth-methods h2{font-size:16px!important;margin:0 0 12px!important}.kap-auth-methods button{display:block!important;width:100%!important;margin:0 0 8px!important;min-height:44px!important;background:#ecefdf!important;color:#252820!important;border:0!important;font-size:14px!important;font-weight:600!important}.kap-auth-methods button:disabled{opacity:.55!important;cursor:not-allowed!important}.kap-auth-methods [data-passkey]{background:#364b38!important;color:white!important}.kap-auth-note,.kap-auth-status{font-size:12px!important;line-height:1.5!important}.kap-auth-status{color:#364b38!important;font-weight:600}.kap-social-buttons{display:grid;grid-template-columns:1fr;gap:0}
@media(max-width:760px){html body.kap-unified-r8 :where(main,.main,.shell,.c18-shell,.owner-shell){max-width:100%!important;box-sizing:border-box}html body.kap-unified-r8 :where(.auth-wrap){padding:12px 0!important}.auth-card{padding:20px 16px!important;width:100%!important}html body.kap-unified-r8 :where(header,.topbar,.public-header){padding:12px 16px!important}html body.kap-unified-r8 :where(.card,.panel,.c18-card){padding:16px!important}html body.kap-unified-r8 :where(h1){font-size:clamp(24px,7vw,32px);line-height:1.15}html body.kap-unified-r8 :where(.tools,.actions,.account-links){flex-wrap:wrap}html body.kap-unified-r8 :where(.hero){border-radius:0!important}}
@media print{html,body{background:white!important;color:black!important}.kap-auth-methods{display:none!important}}

html body.kap-unified-r8 .auth-wrap .auth-card{border:0!important;border-radius:0!important;box-shadow:none!important}html body.kap-unified-r8 .auth-card>small{color:#777b70!important;background:transparent!important}html body.kap-unified-r8 .auth-card>small:before{display:none!important}

html body.kap-unified-r8{background:#f6f5f0!important;color:#252820!important}html body.kap-unified-r8 .auth-card{border-radius:0!important}

html body.kap-unified-r8 #r41OwnerGate{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:24px 20px!important;margin:16px auto!important;color:#252820!important}html body.kap-unified-r8 #r41OwnerGate>strong{display:block!important;margin:12px 0!important}html body.kap-unified-r8 #r41OwnerGate h1{font-size:28px!important}html body.kap-unified-r8 #r41OwnerGate button{background:#ecefdf!important;color:#364b38!important;border:0!important}

:root{--cream:#f6f5f0!important;--mist:#f6f5f0!important;--sun:#d7ed87!important;--silver:#e6e7df!important}html body.kap-unified-r8:has(#content){background:#f6f5f0!important}html body.kap-unified-r8:has(#content) header{background:#f6f5f0!important;border:0!important;box-shadow:none!important}html body.kap-unified-r8:has(#content) .hero{background:#364b38!important;color:white!important;border:0!important;border-radius:0!important;box-shadow:none!important}html body.kap-unified-r8:has(#content) .hero :is(h1,h2,p){color:inherit!important}html body.kap-unified-r8:has(#content) .card{border:0!important;border-radius:0!important;box-shadow:none!important}html body.kap-unified-r8 .learner-shell{background:#f6f5f0!important}
