/* KlitaPlus 5.1.0 • Nova interface independente e mobile-first, inspiração lilás/ciano. */
#kp5-shell {--kp5-purple:#4631b6;--kp5-purple2:#5a4be1;--kp5-deep:#1c1e4a;--kp5-ink:#171b3b;--kp5-muted:#65718e;--kp5-stroke:#e5e9f4;position:fixed;inset:0;z-index:2147483100;overflow-x:hidden;overflow-y:auto;background:#eff3fc;color:var(--kp5-ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
#kp5-shell[hidden],#kp5-launch[hidden]{display:none!important}#kp5-shell *,#kp5-shell *::before,#kp5-shell *::after{box-sizing:border-box}
#kp5-shell button,#kp5-shell input,#kp5-shell textarea,#kp5-shell select{font:inherit}#kp5-shell button{cursor:pointer}#kp5-shell button:disabled{opacity:.5;cursor:progress}#kp5-shell .sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#kp5-shell button:focus-visible,#kp5-shell select:focus-visible,#kp5-shell input:focus-visible,#kp5-shell textarea:focus-visible,#kp5-launch:focus-visible{outline:3px solid #36c7f7;outline-offset:3px}
#kp5-launch{position:fixed;z-index:2147483102;bottom:calc(22px + env(safe-area-inset-bottom));right:20px;border:0;border-radius:100px;padding:13px 21px;background:var(--kp5-purple,#4631b6);color:white;font:700 14px system-ui;box-shadow:0 10px 28px #2b208e50}
#kp5-shell .kp5-wrap{max-width:990px;margin:auto;padding:0 22px calc(116px + env(safe-area-inset-bottom))}#kp5-shell .kp5-main{padding-top:9px}
#kp5-shell .kp5-icon{display:inline-block;flex:none;vertical-align:middle}#kp5-shell .kp5-top{height:78px;position:sticky;top:0;z-index:11;background:rgba(239,243,252,.94);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);display:flex;align-items:center;gap:12px}#kp5-shell .kp5-top-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto}#kp5-shell .kp5-wordmark{font-size:24px;font-weight:900;color:#1d2253;letter-spacing:-.05em}#kp5-shell .kp5-wordmark span{color:#6047d7}#kp5-shell .kp5-square{position:relative;display:grid;place-items:center;width:44px;height:44px;background:#fff;border:1px solid #e1e7f2;color:#2b2a68;border-radius:15px;box-shadow:0 4px 12px #1d246313}#kp5-shell .kp5-avatar{border-radius:50%;background:linear-gradient(145deg,#fff,#e0eafa)}#kp5-shell .kp5-lang select{max-width:103px;height:42px;border:1px solid #dfe5f1;padding:0 7px;border-radius:13px;color:#382b9a;font-size:12px;font-weight:800;background:#fff}#kp5-shell .kp5-badge{position:absolute;right:-5px;top:-5px;min-width:20px;height:20px;padding:0 4px;border-radius:99px;background:#ed384a;color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}#kp5-shell .kp5-dot{position:absolute;right:3px;top:3px;width:9px;height:9px;border-radius:50%;background:#f29a3f}
#kp5-shell .kp5-hero{position:relative;isolation:isolate;min-height:380px;border-radius:38px;background:radial-gradient(circle at 82% 17%,#6b63ed 0,transparent 35%),linear-gradient(138deg,#242285,#543bd0 61%,#5d47e7);overflow:hidden;color:#fff;padding:26px;box-shadow:0 22px 43px #3f2fa02c}#kp5-shell .kp5-hero-glow{position:absolute;inset:-90px -30px auto auto;width:310px;height:310px;border:1px solid #ffffff22;border-radius:50%;box-shadow:0 0 0 45px #ffffff08,0 0 0 92px #ffffff09,0 0 0 141px #ffffff08;pointer-events:none}#kp5-shell .kp5-art{position:relative;z-index:1;height:207px;width:100%;border-radius:26px;background:linear-gradient(145deg,#ffffff15,#ffffff00),url('images/kp51-hero-art.svg') center center/contain no-repeat}#kp5-shell .kp5-hero-text{z-index:2;position:relative;max-width:570px}#kp5-shell .kp5-eyebrow{font:700 11px system-ui;letter-spacing:.18em;color:#aeeaff}#kp5-shell .kp5-hero h1{font-size:clamp(29px,6vw,48px);line-height:1.07;font-weight:850;letter-spacing:-.045em;margin:9px 0 10px;color:#fff}#kp5-shell .kp5-hero p{font-size:16px;color:#e1e4ff;margin:0;line-height:1.5}
#kp5-shell .kp5-section{margin-top:24px}#kp5-shell .kp5-section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 3px 12px}#kp5-shell .kp5-section-heading h2{margin:0;font-size:21px;color:#222158}#kp5-shell .kp5-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#kp5-shell .kp5-shortcut{border:1px solid #e3e9f5;background:#fff;min-height:123px;text-align:start;border-radius:25px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;box-shadow:0 7px 21px #27357d0e;color:#211c57;transition:transform .15s,box-shadow .15s}#kp5-shell .kp5-shortcut:hover,#kp5-shell .kp5-category:hover{transform:translateY(-2px);box-shadow:0 13px 26px #3b348723}#kp5-shell .kp5-short-icon{height:43px;width:43px;display:grid;place-items:center;background:#ece9ff;color:#5438c9;border-radius:14px}#kp5-shell .kp5-shortcut strong{font-size:17px;line-height:1.18;margin-top:7px}#kp5-shell .kp5-shortcut>.kp5-icon:last-child{margin-inline-start:auto;margin-top:-20px;color:#7a79ac}
#kp5-shell .kp5-panel{border:1px solid var(--kp5-stroke);border-radius:25px;background:#fff;padding:20px;margin-bottom:16px;box-shadow:0 5px 19px #282d7310}#kp5-shell .kp5-panel h2{font-size:20px;margin:0 0 13px;color:#27265e}#kp5-shell .kp5-alert-preview{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#e6e6ff}#kp5-shell .kp5-alert-preview p{margin:4px 0;color:#525786}#kp5-shell .kp5-mini-primary,#kp5-shell .kp5-primary{border:0;border-radius:16px;padding:13px 20px;background:#503dc3;color:white;font-weight:800;line-height:1.2;box-shadow:0 7px 15px #5140bf29}#kp5-shell .kp5-mini-primary{font-size:13px;max-width:48%}#kp5-shell .kp5-section .kp5-service{border:1px solid var(--kp5-stroke);border-radius:24px}
#kp5-shell .kp5-viewtitle{margin:20px 3px 22px}#kp5-shell .kp5-viewtitle h1{font-size:clamp(27px,4.7vw,37px);line-height:1.15;letter-spacing:-.03em;margin:0;color:#222158}#kp5-shell .kp5-viewtitle p{margin:7px 0 0;color:var(--kp5-muted)}#kp5-shell .kp5-input{display:block;width:100%;border:1px solid #d7def0;border-radius:15px;padding:12px 14px;min-height:48px;color:#1b2850;background:white;margin:7px 0 14px;outline-offset:2px}#kp5-shell .kp5-textarea{resize:vertical;min-height:130px}#kp5-shell .kp5-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}#kp5-shell .kp5-category{display:flex;flex-direction:column;align-items:flex-start;text-align:start;padding:19px;gap:7px;background:#fff;border:1px solid var(--kp5-stroke);border-radius:24px;min-height:145px;color:#29215b;box-shadow:0 6px 22px #2924670a}#kp5-shell .kp5-category>.kp5-icon{width:46px;height:46px;padding:10px;background:#eae7ff;border-radius:16px;color:#543bd3}#kp5-shell .kp5-category strong{font-size:18px}#kp5-shell .kp5-category small{font-size:12px;color:#6c7492}#kp5-shell .kp5-back{background:none;border:0;display:flex;align-items:center;gap:6px;margin:9px 0 10px;color:#4c38b7;font-weight:800}
#kp5-shell .kp5-services-list{padding:4px 16px}#kp5-shell .kp5-service{display:flex;width:100%;align-items:center;gap:15px;min-height:80px;padding:13px;text-align:start;background:#fff;border:0;border-bottom:1px solid #e7eaf4;color:#242154}#kp5-shell .kp5-service:last-child{border-bottom:0}#kp5-shell .kp5-service-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:16px;background:#eeeaff;color:#533ac8}#kp5-shell .kp5-service-copy{display:flex;flex:1;flex-direction:column;gap:3px}#kp5-shell .kp5-service strong{flex:1;font-size:16px}#kp5-shell .kp5-service-copy strong{flex:none}#kp5-shell .kp5-service-copy small{color:#6d7392;font-size:13px}#kp5-shell .kp5-service>.kp5-icon:last-child{color:#807fa6}
#kp5-shell .kp5-tabs{display:flex;gap:7px;margin-bottom:18px}#kp5-shell .kp5-tabs button{border:1px solid #dce2f0;border-radius:100px;padding:9px 17px;background:white;color:#49369c;font-weight:700}#kp5-shell .kp5-tabs .on{background:#4b38c1;color:#fff}#kp5-shell .kp5-muted{color:#69748d;font-size:14px}#kp5-shell .kp5-event{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 0;border-bottom:1px solid #edf0f6}#kp5-shell .kp5-event>div:first-child{flex:1;min-width:160px}#kp5-shell .kp5-event strong{font-size:15px;color:#1d2253}#kp5-shell .kp5-event small{display:block;margin-top:3px;color:#69748d}#kp5-shell .kp5-event p{margin:5px 0 0;color:#4d5977;font-size:14px}#kp5-shell .kp5-event-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}#kp5-shell .kp5-event-actions button,#kp5-shell .kp5-minor{border:1px solid #d9dcf0;padding:9px 12px;border-radius:12px;color:#5136bf;font-weight:750;background:#f7f7ff}#kp5-shell .kp5-small-select{max-width:160px;border:1px solid #dedaf4;padding:9px;border-radius:11px;background:#f8f7ff;color:#412c9b}#kp5-shell .kp5-new-form{margin-top:16px}#kp5-shell .kp5-new-form summary{cursor:pointer;list-style:none;color:#523ac2;font-weight:800;padding:10px 0}#kp5-shell .kp5-new-form summary::before{content:'+ ';font-size:20px;margin-inline-end:7px}#kp5-shell label{display:block;font-weight:650;font-size:14px;color:#36345c;margin-top:12px}#kp5-shell label.kp5-checkbox{display:flex;align-items:center;gap:9px;margin-bottom:15px}#kp5-shell .kp5-checkbox input{width:18px;height:18px}#kp5-shell .kp5-loginbox{text-align:center;padding:32px}#kp5-shell .kp5-loginbox>.kp5-icon{color:#5035c7}#kp5-shell .kp5-loginbox p{color:#646e91}
#kp5-shell .kp5-topic{padding:17px 0;border-bottom:1px solid #e7eafa}#kp5-shell .kp5-topic button{border:0;background:none;padding:0;text-align:start;color:#34228c;font-size:17px}#kp5-shell .kp5-topic p{margin:7px 0;color:#485675;white-space:normal;overflow-wrap:anywhere}#kp5-shell .kp5-topic small{color:#6e7791}#kp5-shell .kp5-notice{width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:start;padding:15px;border:0;border-bottom:1px solid #e6e9f4;background:transparent;color:#27215a}#kp5-shell .kp5-notice small{margin-top:4px;color:#7180a2}#kp5-shell .kp5-mini-event{padding:8px 0;border-bottom:1px solid #e4e7f1;font-size:14px}#kp5-shell .kp5-toast{position:fixed;bottom:calc(94px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);z-index:100;background:#171d45;color:#fff;padding:13px 20px;border-radius:15px;box-shadow:0 12px 27px #10163a55}
#kp5-shell .kp5-navbar{display:flex;align-items:center;justify-content:space-around;position:fixed;z-index:20;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 30px),580px);height:69px;background:linear-gradient(130deg,#33268c,#4432ad);border:1px solid #ffffff20;border-radius:24px;box-shadow:0 16px 33px #29217c48;padding:5px}#kp5-shell .kp5-navbar button{background:none;border:0;display:flex;align-items:center;flex-direction:column;gap:2px;min-width:67px;padding:7px;color:#dcd7fa;border-radius:16px}#kp5-shell .kp5-navbar button.active{background:#ffffff24;color:white}#kp5-shell .kp5-navbar span{font-size:11px;font-weight:680}
#kp5-shell[dir='rtl'] .kp5-service,#kp5-shell[dir='rtl'] .kp5-shortcut,#kp5-shell[dir='rtl'] .kp5-category,#kp5-shell[dir='rtl'] .kp5-topic button{direction:rtl;text-align:right}#kp5-shell[dir='rtl'] .kp5-event-actions{justify-content:flex-start}
@media(min-width:730px){#kp5-shell .kp5-wrap{padding-inline:34px}#kp5-shell .kp5-hero{min-height:390px;display:flex;align-items:center;flex-direction:row-reverse}#kp5-shell .kp5-hero .kp5-art{height:330px;width:48%;background-size:contain}#kp5-shell .kp5-hero-text{flex:1;padding-left:20px}#kp5-shell .kp5-shortcuts{grid-template-columns:repeat(4,1fr)}#kp5-shell .kp5-category-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:430px){#kp5-shell .kp5-wrap{padding-inline:13px}#kp5-shell .kp5-top{gap:8px}#kp5-shell .kp5-wordmark{font-size:20px}#kp5-shell .kp5-square{width:38px;height:39px;border-radius:12px}#kp5-shell .kp5-lang select{max-width:60px;font-size:11px}#kp5-shell .kp5-top-actions{gap:5px}#kp5-shell .kp5-hero{min-height:350px;padding:19px;border-radius:29px}#kp5-shell .kp5-art{height:190px}#kp5-shell .kp5-hero h1{font-size:29px}#kp5-shell .kp5-shortcut{padding:14px;min-height:125px}#kp5-shell .kp5-shortcut strong{font-size:15px}#kp5-shell .kp5-panel{padding:15px}#kp5-shell .kp5-alert-preview{flex-direction:column;align-items:flex-start}#kp5-shell .kp5-mini-primary{max-width:none}}
@media(prefers-reduced-motion:reduce){#kp5-shell .kp5-shortcut,#kp5-shell .kp5-category{transition:none}}

/* Linha da Vida legada: espelho seguro da Agenda do mesmo usuário */
.kp51-family-personal-block{padding:16px;border:1px solid #dedcf7;background:#f7f6ff;border-radius:18px;margin:12px 0 20px;color:#25235b}
.kp51-family-personal-block h3{margin:0 0 5px;color:#352aa7}
.kp51-family-personal-block>p{margin:0 0 10px;font-size:13px;color:#696390}
.kp51-family-event{padding:10px 0;border-bottom:1px solid #e5e2fc;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.kp51-family-event b{flex:1;min-width:150px}
.kp51-family-event small{color:#5c56a4}
.kp51-family-event p{width:100%;margin:0;color:#585b7d}
.kp51-family-personal-block>.kp4-btn{margin-top:13px}
