/* Shared layout, readable cards, recruiting and persistent contact access. */
body a.k14-outline{border:2px solid #e5332a!important;background:transparent!important;color:#fff!important}
body a.k14-outline:hover{background:#e5332a!important}
body .cta-banner :is(h1,h2,h3,h4),body .cta-banner :is(h1,h2,h3,h4) em{color:#fff!important}
body .cta-banner p{color:#fff!important;opacity:1}
body .cta-banner .btn-primary{background:#fff!important;color:#a91e18!important;border:2px solid #fff!important}
body .cta-banner .btn-primary:hover{background:#f6e6e4!important}
body .partner-grid,body .cert-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important;align-items:stretch}
body .partner-card{padding:30px!important;min-width:0;display:flex;flex-direction:column;align-items:flex-start;height:auto!important}
body .partner-card h3{font-size:25px!important;line-height:1.3!important;margin:18px 0 14px!important}
body .partner-card p{font-size:16px!important;line-height:1.7!important;flex:1;margin-bottom:24px}
body .partner-card,body .partner-card *,body .cert-card,body .cert-card *{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;white-space:normal!important}
body .cert-card{display:flex!important;flex-direction:column!important;gap:22px!important;padding:30px!important;min-width:0;height:auto!important;overflow:visible}
body .cert-card>div{min-width:0;max-width:100%}.cert-card h3{font-size:23px!important;line-height:1.35!important}.cert-card p{font-size:16px!important;line-height:1.7!important}
body .cert-card .c-icon{flex:0 0 auto!important;width:48px!important;height:48px!important}
.k14-smart-feature .sec-inner{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:center}
.k14-wordmark{display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;min-height:230px;padding:40px;border-left:3px solid #e5332a;background:#171717;color:#fff;text-decoration:none;overflow-wrap:normal}
.k14-wordmark span{font-size:38px;font-weight:800;letter-spacing:.14em}.k14-wordmark strong{font-size:clamp(19px,2.6vw,33px);font-weight:400;letter-spacing:.06em}.k14-wordmark small{font-size:16px;letter-spacing:.1em;margin-top:12px;color:#bbb}
body .k10-planning-partners .k8-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.k10-planning-partners .k10-partner-logo{width:220px;max-width:100%;height:90px;object-fit:contain;object-position:left center;background:#fff;padding:12px}
.k12-career .hero-inner{grid-template-columns:minmax(0,800px)!important}.k12-career .hero{min-height:78vh}.k12-career .hero-copy{max-width:800px}
.k14-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.k14-grid article{min-width:0;border:1px solid #393939;padding:30px;background:#181818}
.k14-label{display:block;font-size:12px!important;line-height:1.6!important;letter-spacing:.06em;text-transform:uppercase;color:#ccc;margin:0 0 14px}
.k14-grid h3{margin-top:0}.k14-grid p:last-child{margin-bottom:0}
.k14-workflow{list-style:none;padding:0;margin:36px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.k14-workflow li{border-top:1px solid #555;padding-top:24px;min-width:0}.k14-workflow li>span{color:#ff766e;font-size:32px;font-weight:700}.k14-workflow h3{font-size:23px!important;line-height:1.4!important;margin:24px 0 16px}
.k14-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:32px 0}.k14-team-grid article{background:#191919;min-width:0;border:1px solid #393939}.k14-team-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.k14-team-grid article>div{padding:24px}.k14-team-grid h3{font-size:22px!important;line-height:1.4!important}.k14-team-grid p{font-size:15px!important;line-height:1.7!important}
.k14-stories{margin-top:64px;padding-top:48px;border-top:1px solid #444}.k14-empty{padding:24px 28px;border-left:3px solid #e5332a;background:#211a19;margin:24px 0}.k14-empty p{margin:0}.k14-small{font-size:14px!important;line-height:1.7!important;color:#bbb!important}
.k14-assistant-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:64px;align-items:center}.k14-question-list{display:grid;gap:16px}.k14-question-list button{background:#171717;border:1px solid #555;color:#fff;text-align:left;padding:22px;font-size:16px;line-height:1.6;cursor:pointer}.k14-question-list button:hover{border-color:#e5332a}
.k14-dock{position:fixed;z-index:9000;right:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;padding:10px;background:#151515;border:1px solid #555;border-radius:12px;box-shadow:0 8px 32px #0008}
.k14-dock a,.k14-dock button{width:48px;height:48px;padding:11px;display:flex;justify-content:center;align-items:center;border:1px solid #e5332a;border-radius:7px;background:#151515;color:#fff;cursor:pointer;min-width:0}
.k14-dock button{background:#c72b23}.k14-dock svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.k14-dock a:hover{background:#9d241e}
.k14-dock :focus-visible,.k14-chat :focus-visible,.k14-question-list :focus-visible{outline:3px solid #ffb4aa;outline-offset:3px}
.k14-chat[hidden],.k14-chat-backdrop[hidden]{display:none!important}.k14-chat-backdrop{position:fixed;inset:0;background:#0009;z-index:9090}
.k14-chat{position:fixed;z-index:9100;right:96px;bottom:24px;width:min(460px,calc(100vw - 120px));height:min(680px,calc(100dvh - 48px));max-height:calc(100vh - 48px);background:#171717;border:1px solid #666;border-radius:14px;display:flex;flex-direction:column;color:#fff;box-shadow:0 20px 80px #0008;overflow:hidden}
.k14-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid #444}.k14-chat-header h2{font-size:21px!important;line-height:1.4!important;margin:0!important}.k14-chat-header p{font-size:12px!important;line-height:1.6!important;margin:6px 0 0!important;color:#bbb!important}
.k14-chat-close{width:44px;height:44px;flex:0 0 44px;border:1px solid #555;border-radius:5px;background:transparent;color:white;font-size:28px;cursor:pointer}
.k14-chat-log{padding:20px;flex:1;overflow:auto;overscroll-behavior:contain;min-height:100px}.k14-message{background:#242424;border-radius:8px;padding:15px 17px;margin-bottom:14px;overflow-wrap:anywhere}.k14-message p{font-size:15px!important;line-height:1.7!important;margin:0 0 10px!important}.k14-message p:last-child{margin-bottom:0!important}.k14-message strong{font-size:14px}.k14-message-user{margin-left:32px;background:#49302c}.k14-message a{color:#ffc6c0;text-decoration:underline;font-size:14px}
.k14-chat-suggestions{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px 14px}.k14-chat-suggestions button{font-size:13px;border:1px solid #666;color:#eee;background:#262626;min-height:36px;padding:8px 12px;border-radius:20px;cursor:pointer}
.k14-chat-form{padding:16px 20px 20px;border-top:1px solid #444}.k14-chat-form label{display:block;font-size:13px;margin-bottom:8px}.k14-chat-form>div{display:flex;gap:8px}.k14-chat-form input{min-width:0;width:100%;min-height:48px;background:#101010;border:1px solid #777;color:white;border-radius:5px;padding:12px;font-size:16px}.k14-chat-form button{min-height:48px;background:#ba241d;border:1px solid #ff7368;color:white;border-radius:5px;padding:10px 14px;font-weight:700;cursor:pointer}.k14-chat-form small{font-size:11px;color:#aaa;display:block;margin-top:10px;line-height:1.5}
@media(min-width:721px){body{padding-right:76px!important}.k14-dock{right:8px;padding:7px}.k14-dock a,.k14-dock button{width:44px;height:44px;padding:10px}}
@media(max-width:1050px){body .partner-grid,body .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.k14-team-grid,.k14-workflow{grid-template-columns:repeat(2,minmax(0,1fr))}.k14-assistant-intro,.k14-smart-feature .sec-inner{gap:32px}}
@media(max-width:720px){body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}body .partner-grid,body .cert-grid,body .k10-planning-partners .k8-detail-grid,.k14-grid,.k14-assistant-intro,.k14-smart-feature .sec-inner{grid-template-columns:1fr!important}body .partner-card,body .cert-card,.k14-grid article{padding:24px!important}.k14-workflow{gap:24px}.k14-workflow h3{font-size:20px!important}.k14-team-grid{gap:16px}.k14-team-grid article>div{padding:18px}.k14-team-grid h3{font-size:20px!important}.k14-wordmark{min-height:180px;padding:30px}.k14-dock{right:auto;left:50%;top:auto;bottom:max(8px,env(safe-area-inset-bottom,8px));transform:translateX(-50%);flex-direction:row;gap:16px;padding:8px 16px}.k14-chat{left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto;height:min(650px,calc(100dvh - 108px));max-height:calc(100dvh - 108px)}.k14-chat-header{padding:16px}.k14-chat-log{padding:16px}.k14-chat-form{padding:12px 16px}.k14-chat-suggestions{padding:0 16px 12px}.k14-chat-header p{max-width:240px}.k14-dock a,.k14-dock button{width:44px;height:44px}.k12-jump{justify-content:flex-start}}
@media(max-width:420px){.k14-team-grid,.k14-workflow{grid-template-columns:1fr}.k14-team-grid img{aspect-ratio:4/3;object-position:center 28%}.k14-chat-header p{font-size:11px!important}.k14-chat-log{padding:12px}.k14-chat-suggestions{gap:6px}.k14-chat-suggestions button{font-size:12px}.k14-chat-form small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.k14-chat *{scroll-behavior:auto!important;transition:none!important}}

.k14-admin-entry{max-width:1200px;margin:24px auto 0;padding:0 24px;text-align:left}.k14-admin-entry a{font-size:12px;color:#b6b6b6;text-decoration:underline;text-underline-offset:3px}

body :is(.sr-content,.newsletter,.hero-cta-box,.sidebar-cta,.strip,.hero-strip,.hero-tag-box) :is(h1,h2,h3,h4),body :is(.sr-content,.newsletter,.hero-cta-box,.sidebar-cta,.strip,.hero-strip,.hero-tag-box) :is(h1,h2,h3,h4) em{color:#fff!important}

/* Legacy controls are replaced by the global contact dock and click-to-load media. */
#chatbot,.cb-toggle,#cookieBanner{display:none!important}

/* Original partner logos, matching Smart Plan's layout and spacing. */
.kemb-smart-feature.k16-smart-integration{--partner-accent:#91c2f2;background:radial-gradient(ellipse at 12% 50%,rgba(28,95,170,.24),transparent 66%),linear-gradient(110deg,#111c2c,#10141c);border-block:0}
.kemb-smart-feature.k16-smart-lightning{--partner-accent:#ffe26c;background:radial-gradient(ellipse at 12% 50%,rgba(255,213,0,.15),transparent 66%),linear-gradient(110deg,#24200f,#171611);border-block:0}
.k16-smart-integration .eyebrow,.k16-smart-integration em,.k16-smart-lightning .eyebrow,.k16-smart-lightning em{color:var(--partner-accent)}
.k16-smart-integration .kemb-smart-brand,.k16-smart-lightning .kemb-smart-brand{border:0;background:none;min-width:0}
.k16-smart-integration .kemb-smart-logo,.k16-smart-lightning .kemb-smart-logo{width:100%;max-width:470px;height:auto;object-fit:contain;filter:none}
.k16-smart-integration .kemb-text-link,.k16-smart-lightning .kemb-text-link{border:0;color:var(--partner-accent)!important;text-decoration:none}
.k16-smart-integration .kemb-text-link:hover,.k16-smart-lightning .kemb-text-link:hover{text-decoration:underline;text-underline-offset:6px}
.k16-smart-integration a:focus-visible,.k16-smart-lightning a:focus-visible{outline:2px solid var(--partner-accent);outline-offset:6px}
