
/* Cendekia PWA r7 — compact header, swipe cards, mobile nav, chat & install */
.cn-header{isolation:isolate}
.scn-install-menu{font:700 13px "DM Sans",sans-serif;padding:12px 6px;cursor:pointer;text-align:left;color:#087b98;background:none;border:0}
.scn-swipe-hint{display:none}
.scn-chat-desktop-launcher{position:fixed;right:22px;bottom:22px;z-index:205;display:flex;align-items:center;gap:9px;color:white;background:linear-gradient(135deg,#0884a0,#12b9ac);padding:12px 18px;border:0;border-radius:99px;font-weight:800;box-shadow:0 10px 28px rgba(4,112,134,.25);cursor:pointer}
.scn-chat-desktop-launcher svg{width:22px;height:22px}
.scn-chat-backdrop{position:fixed;inset:0;z-index:209;background:rgba(4,42,57,.32);opacity:0;pointer-events:none;transition:opacity .2s}
.scn-chat-backdrop.open{opacity:1;pointer-events:auto}
.scn-chat-sheet{position:fixed;z-index:210;right:22px;bottom:20px;width:min(380px,calc(100vw - 32px));height:min(620px,calc(100dvh - 46px));background:white;box-shadow:0 18px 55px rgba(0,33,46,.25);border-radius:22px;overflow:hidden;display:none;flex-direction:column}
.scn-chat-sheet.open{display:flex}
.scn-chat-head{display:flex;align-items:center;gap:11px;padding:13px 16px;background:linear-gradient(110deg,#087b98,#15b7a9);color:#fff;min-height:76px}
.scn-chat-logo{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:rgba(255,255,255,.19);border-radius:12px;font-size:15px;font-weight:900}
.scn-chat-head>div:nth-child(2){flex:1;min-width:0}.scn-chat-head strong,.scn-chat-head small{display:block}.scn-chat-head strong{font-size:14px}.scn-chat-head small{font-size:10px;color:#e5ffff;margin-top:4px;line-height:1.3}
.scn-chat-head button{background:transparent;border:0;color:white;font-size:27px;cursor:pointer;align-self:flex-start;line-height:1}
.scn-chat-identity{padding:20px;overflow-y:auto;flex:1;min-height:0}
.scn-chat-identity[hidden],.scn-chat-conversation[hidden]{display:none!important}
.scn-chat-identity h3{margin:0 0 7px;color:#075d7a;font:800 21px Manrope,sans-serif}
.scn-chat-identity>p{font-size:12px;color:#56727c;line-height:1.65;margin:0 0 16px}
.scn-chat-identity>label{display:block;margin-bottom:13px;font-size:12px;font-weight:800;color:#224d57}
.scn-chat-identity input:not([type=checkbox]){display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #c8e2e5;border-radius:11px;background:#fff;color:#15323f;font-size:14px}
.scn-chat-identity .scn-chat-check{display:flex;align-items:flex-start;gap:9px;font-weight:500;line-height:1.5;font-size:11px}
.scn-chat-check input{flex:0 0 auto;margin-top:2px}
.scn-chat-main-button{width:100%;padding:13px;border:0;border-radius:12px;background:#0aa8aa;color:white;font-weight:800;cursor:pointer}
#scnChatError{color:#a02020;font-size:12px;margin-top:9px}
.scn-chat-conversation{display:flex;flex:1;min-height:0;flex-direction:column}
.scn-chat-messages{display:flex;flex:1;min-height:0;flex-direction:column;gap:10px;padding:15px;overflow-y:auto;background:#f4fbfc}
.scn-chat-bubble{border-radius:15px;padding:11px 13px;font-size:13px;line-height:1.6;max-width:90%;overflow-wrap:anywhere}
.scn-chat-bubble.bot{background:white;border:1px solid #d7eced;color:#24515b;align-self:flex-start;border-top-left-radius:5px}
.scn-chat-bubble.user{background:#0b9eaa;color:white;align-self:flex-end;border-top-right-radius:5px}
.scn-chat-quick{display:flex;gap:7px;overflow-x:auto;padding:11px 13px;flex:0 0 auto}
.scn-chat-quick button{white-space:nowrap;border:1px solid #c8e2e4;border-radius:99px;background:#edfaf9;color:#087c89;padding:7px 10px;font-size:12px;font-weight:750;cursor:pointer}
.scn-chat-compose{display:flex;gap:8px;padding:11px 12px;border-top:1px solid #deeeee;flex:0 0 auto}
.scn-chat-compose input{min-width:0;flex:1;border:1px solid #c9e2e4;border-radius:11px;padding:11px;font-size:13px}
.scn-chat-compose button{flex:0 0 42px;border:0;border-radius:10px;background:#0a9eac;color:white;font-size:20px;cursor:pointer}
.scn-chat-disclaimer{font-size:10px;color:#687f85;text-align:center;padding:0 10px 9px}
.scn-install-prompt{position:fixed;z-index:205;display:none;align-items:center;gap:11px;left:50%;bottom:88px;width:min(410px,calc(100vw - 24px));transform:translateX(-50%) translateY(12px);padding:15px 14px 14px;background:#fff;border:1px solid #cde9e7;border-radius:18px;box-shadow:0 16px 45px rgba(4,69,87,.2)}
.scn-install-prompt.show{display:flex;transform:translateX(-50%) translateY(0)}
.scn-install-icon{width:39px;height:39px;flex:0 0 39px;border-radius:11px;background:#0ba1a8;color:#fff;display:grid;place-items:center;font-weight:900;font-size:14px}
.scn-install-copy{flex:1;min-width:0}.scn-install-copy strong,.scn-install-copy small{display:block}.scn-install-copy strong{font-size:13px;color:#075d7a}.scn-install-copy small{font-size:11px;color:#597783;line-height:1.3;margin-top:3px}
.scn-install-action{border:0;border-radius:10px;padding:10px 13px;color:#fff;background:#0aa6a5;font-size:12px;font-weight:800;cursor:pointer}
.scn-install-close{position:absolute;right:5px;top:-18px;width:27px;height:27px;border:0;border-radius:99px;background:#e3f7f4;color:#075d7a;font-size:19px;cursor:pointer}
.scn-install-overlay{display:none;position:fixed;z-index:230;inset:0;padding:20px;background:rgba(1,39,49,.55);align-items:center;justify-content:center}
.scn-install-overlay.open{display:flex}
.scn-install-card{position:relative;background:#fff;border-radius:20px;padding:26px;width:min(100%,420px);box-shadow:0 25px 70px rgba(3,30,40,.22)}
.scn-install-card h3{font:800 21px Manrope,sans-serif;color:#075d7a;margin:16px 0 8px}
.scn-install-card p{color:#496d78;font-size:13px;line-height:1.6}
.scn-install-steps{border-radius:13px;background:#effbf9;padding:10px 15px;margin:15px 0}
.scn-install-steps p{font-size:12px;margin:7px 0}
.scn-install-card #scnInstallGotIt{border:0;border-radius:11px;background:#0aa6a5;color:#fff;padding:12px 16px;font-weight:800;cursor:pointer;width:100%}
.scn-install-help-close{position:absolute;top:13px;right:13px;border:0;background:none;font-size:24px;color:#496d78;cursor:pointer}
@media(max-width:920px){
 .cn-header{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;min-height:68px}
 .cn-brand{order:1;flex:1 1 auto;min-width:0!important;margin:0!important;width:auto!important}
 .cn-toggle{order:2;display:flex!important;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:0!important;margin:0!important;line-height:1}
 .cn-header-actions{order:3;display:flex!important;flex:0 0 auto!important;align-items:center;gap:0!important;margin:0!important}
 .cn-header-actions .cn-header-cta{display:none!important}
 .cn-header-actions .cn-login{display:flex!important;align-items:center;justify-content:center;white-space:nowrap}
 .cn-nav{order:4;position:absolute;left:0;right:0;top:100%;margin:0!important}
}
@media(max-width:700px){
 body{padding-bottom:calc(77px + env(safe-area-inset-bottom))}
 .cn-header{padding:8px 13px!important;gap:6px!important;min-height:64px!important}
 .cn-brand{flex:1 1 auto!important;gap:7px!important;min-width:0!important}
 .cn-brand img{width:36px!important;height:36px!important;flex:0 0 36px}
 .cn-brand span{min-width:0}
 .cn-brand strong{font-size:12px!important;white-space:nowrap}
 .cn-brand small{font-size:8px!important}
 .cn-toggle{order:2!important;flex:0 0 32px!important;width:32px!important;height:32px!important;font-size:24px!important}
 .cn-header-actions{order:3!important;flex:0 0 auto!important;gap:0!important}
 .cn-header-actions .cn-login{font-size:10px!important;padding:9px 10px!important;min-height:35px!important}
 .cn-nav{top:100%!important;z-index:30!important;max-height:calc(100dvh - 145px);overflow-y:auto}
 .cn-bottom{display:flex!important;align-items:stretch!important;justify-content:space-around!important;min-height:64px;padding:9px 2px max(9px,env(safe-area-inset-bottom))!important;gap:0}
 .cn-bottom>a,.cn-bottom>button{display:flex!important;align-items:center;justify-content:center;flex-direction:column;flex:1 1 20%;width:20%;min-width:0;padding:0 1px;gap:3px;color:#517078;border:0;background:transparent;text-align:center;font-family:inherit;font-size:10px!important;font-weight:750!important;line-height:1.2;cursor:pointer;text-decoration:none}
 .cn-bottom svg{width:21px;height:21px;stroke:currentColor;flex:0 0 21px}
 .cn-bottom>a.active,.cn-bottom>a.active svg{color:#078e99!important}
 .cn-bottom .scn-bottom-chat{color:#517078}
 .scn-chat-desktop-launcher{display:none!important}
 .scn-chat-sheet{right:8px;left:8px;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;max-width:none;height:min(630px,calc(100dvh - 95px));border-radius:19px}
 .scn-chat-open{overflow:hidden}
 .scn-swipe-hint{display:block;color:#078c8e;font-size:11px;margin-top:9px;font-weight:800}
 .cn-cards.cn-cols-3,.cn-cards.cn-cols-4,.cn-features,.cn-steps{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-padding-inline:4px;gap:13px!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:14px}
 .cn-cards.cn-cols-3::-webkit-scrollbar,.cn-cards.cn-cols-4::-webkit-scrollbar,.cn-features::-webkit-scrollbar,.cn-steps::-webkit-scrollbar{display:none}
 .cn-cards .cn-card{flex:0 0 min(80vw,298px)!important;width:min(80vw,298px)!important;min-width:0;scroll-snap-align:start}
 .cn-features{padding:25px 20px!important}
 .cn-features article{flex:0 0 min(74vw,275px)!important;min-width:0;scroll-snap-align:start}
 .cn-steps article{flex:0 0 min(75vw,285px)!important;min-width:0;scroll-snap-align:start}
 .cn-section .cn-cards{padding-right:20px;margin-right:-20px}
 .scn-install-prompt{bottom:calc(78px + env(safe-area-inset-bottom))}
}
@media(display-mode:standalone){
 .scn-chat-desktop-launcher{display:none!important}
 .cn-bottom{display:flex}
}

/* r8: override legacy mobile nav span typography */
@media(max-width:700px){
 .cn-bottom>a>span,.cn-bottom>button>span{font-size:10px!important;line-height:1.2!important;color:inherit!important;font-weight:750!important}
 .cn-bottom>a>svg,.cn-bottom>button>svg{width:21px!important;height:21px!important;color:inherit!important}
 .cn-bottom>a.active>span{color:#078e99!important}
}

/* r10 - no install action in website header; popup remains */
#scnInstallMenu{display:none!important}
