/* v0.15.16 Agenda: escopo exclusivo da aba administrativa. */
#pp-root .pp16-agenda {color:#354b36;font-size:16px;max-width:1280px;margin:0 auto 28px;}
#pp-root .pp16-agenda *,#pp-root .pp16-agenda *::before,#pp-root .pp16-agenda *::after{box-sizing:border-box}
#pp-root .pp16-agenda [hidden]{display:none!important}
#pp-root .pp16-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:6px 0 18px}
#pp-root .pp16-toolbar button,#pp-root .pp16-calendar-nav button,#pp-root .pp16-menu-choices button{font:inherit;cursor:pointer}
#pp-root .pp16-view-switch{display:flex;gap:3px;padding:4px;border:1px solid #d8dfd2;background:#f5f6f0;border-radius:11px;}
#pp-root .pp16-view-switch button{min-height:41px;padding:7px 18px;color:#4e634b;background:transparent;border:0;border-radius:8px;font-weight:650;font-size:15px}
#pp-root .pp16-view-switch button.is-active{color:#fff;background:#3e4b33;box-shadow:0 2px 5px #1d2e2022}
#pp-root .pp16-actions{display:flex;gap:9px;flex-wrap:wrap}
#pp-root .pp16-secondary,#pp-root .pp16-primary-link,#pp-root .pp16-save{min-height:44px;padding:11px 16px;border-radius:10px;white-space:normal;text-align:center;font-weight:650;font-size:15px;border:1px solid #c4d0be;background:#fff;color:#3d533d;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
#pp-root .pp16-actions [data-pp16-open="new-menu"]{background:#3e4b33;color:#fff;border-color:#3e4b33}
#pp-root .pp16-calendar-and-day{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:16px;align-items:start}
#pp-root .pp16-calendar,#pp-root .pp16-day-view{min-width:0;background:#fff;border:1px solid #dbe1d6;border-radius:17px;padding:clamp(15px,2vw,23px);box-shadow:0 2px 12px #26352108}
#pp-root .pp16-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 0 18px}
#pp-root .pp16-calendar-nav h2{font-size:19px;line-height:1.3;margin:0;text-align:center;color:#364a38;font-weight:700}
#pp-root .pp16-calendar-nav button{width:38px;height:38px;border:1px solid #d7e0d3;border-radius:10px;background:#f7f8f4;color:#3e4b33;font-size:24px;line-height:1;flex:none}
#pp-root .pp16-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;min-width:0}
#pp-root .pp16-day{position:relative;min-height:79px;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;border-radius:10px;border:1px solid transparent;background:#f3f6ef;color:#344934;padding:6px 2px;cursor:pointer;font-size:16px}
#pp-root .pp16-day small{font-size:12px;color:#586a56;line-height:1.1}
#pp-root .pp16-day strong{font-size:17px;font-weight:750;line-height:1.2}
#pp-root .pp16-day.is-today{border-color:#8b9f80}
#pp-root .pp16-day.is-selected{background:#3e4b33;color:#fff;border-color:#3e4b33}
#pp-root .pp16-day.is-selected small{color:#e7f0dd}
#pp-root .pp16-day.is-other{opacity:.48}
#pp-root .pp16-dot{height:6px;width:6px;display:block;border-radius:50%;background:#b68a49;flex:none}
#pp-root .pp16-dot-entry{background:#7d9f75}#pp-root .pp16-dot-exit{background:#ca815f}#pp-root .pp16-dot-clean{background:#d3a248}#pp-root .pp16-dot-issue{background:#c16b57}
#pp-root .pp16-days.is-month{gap:4px}
#pp-root .pp16-days.is-month .pp16-day{min-height:43px;gap:3px}
#pp-root .pp16-days.is-month .pp16-day strong{font-size:14px}
#pp-root .pp16-days.is-month .pp16-dot{height:4px;width:4px}
#pp-root .pp16-weekday{text-align:center;font-size:11px;font-weight:750;padding:2px;color:#70806e}
#pp-root .pp16-calendar-hint{font-size:13px;line-height:1.45;margin:15px 1px 0;color:#70806e}
#pp-root .pp16-day-heading{padding-bottom:12px;border-bottom:1px solid #e4e7df;margin-bottom:14px}
#pp-root .pp16-day-heading h2{font-size:21px;line-height:1.35;margin:0 0 5px;color:#314832}
#pp-root .pp16-day-heading p{margin:0;font-size:14px;color:#70816b}
#pp-root .pp16-day-events{display:grid;gap:9px}
#pp-root .pp16-event{width:100%;min-width:0;display:flex;align-items:center;text-align:left;gap:12px;padding:13px;border:1px solid #e3e8de;border-radius:11px;background:#fbfcf9;cursor:pointer;color:#3e4b33;font:inherit;min-height:65px}
#pp-root .pp16-event:hover{background:#f1f5ed;border-color:#c3d3bc}
#pp-root .pp16-event-icon{display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:10px;background:#e6eddf;font-size:20px;color:#3e5b3a}
#pp-root .pp16-event-exit .pp16-event-icon{background:#f8e9df;color:#98583c}
#pp-root .pp16-event-clean .pp16-event-icon{background:#f9edd7;color:#916d28}
#pp-root .pp16-event-issue .pp16-event-icon{background:#f4e7de;color:#8d5846}
#pp-root .pp16-event-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
#pp-root .pp16-event-text strong{font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
#pp-root .pp16-event-text small{font-size:13px;color:#667760;line-height:1.3;overflow-wrap:anywhere}
#pp-root .pp16-event-arrow{font-size:23px;color:#72846c}
#pp-root .pp16-empty{background:#f7f8f4;border-radius:12px;padding:28px 16px;text-align:center;color:#3e4b33}
#pp-root .pp16-empty p{margin:7px 0 0;color:#6c7c65;font-size:14px}
#pp-root .pp16-occupied{margin-top:11px;border-top:1px solid #e3e8df;padding-top:13px;display:grid;gap:8px}
#pp-root .pp16-occupied>small{font-weight:700;color:#73836e}
#pp-root .pp16-occupied .pp16-event{padding:9px 12px;min-height:50px}
#pp-root .pp16-warning,#pp-root .pp16-alert{background:#fff1d9;border:1px solid #e6c991;border-radius:11px;padding:12px 15px;color:#765522;font-size:14px;line-height:1.5;margin-top:12px}
#pp-root .pp16-warning strong{display:block;margin-bottom:4px}#pp-root .pp16-warning p{margin:0}
#pp-root .pp16-dialog-root{position:fixed;z-index:2147482001;inset:0;display:grid;place-items:center;padding:20px;}
#pp-root .pp16-backdrop{position:absolute;inset:0;background:rgba(14,23,16,.55)}
#pp-root .pp16-modal{position:relative;width:min(100%,620px);max-height:min(88dvh,820px);overflow-y:auto;overscroll-behavior:contain;background:#fffdf9;box-shadow:0 20px 85px #09170855;border-radius:17px;padding:clamp(18px,3vw,28px);outline:none;color:#3e4b33}
#pp-root .pp16-modal-top{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:17px}
#pp-root .pp16-modal-top h2{font-size:23px;margin:0;color:#364a37}
#pp-root .pp16-modal-top button{border:1px solid #cdd6c9;border-radius:50%;font-size:27px;line-height:1;width:43px;height:43px;flex:none;background:#fff;color:#3e4b33;cursor:pointer}
#pp-root .pp16-detail-lead{font-weight:720;font-size:18px;margin:0 0 10px}
#pp-root .pp16-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
#pp-root .pp16-facts div{background:#f2f5ee;padding:12px;border-radius:9px}
#pp-root .pp16-facts dt{font-size:12px;color:#70806b}#pp-root .pp16-facts dd{margin:5px 0 0;font-weight:700;font-size:15px}
#pp-root .pp16-primary-link,#pp-root .pp16-save{background:#3e4b33;color:#fff;border-color:#3e4b33}
#pp-root .pp16-service-form{display:grid;gap:15px}
#pp-root .pp16-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#pp-root .pp16-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#425643;font-size:14px;font-weight:650}
#pp-root .pp16-field input,#pp-root .pp16-field select,#pp-root .pp16-field textarea{width:100%;max-width:100%;min-height:44px;padding:10px;border:1px solid #cad4c6;border-radius:9px;background:#fff;color:#334632;font-size:16px;font-weight:400;line-height:1.3;box-sizing:border-box}
#pp-root .pp16-field textarea{min-height:78px}
#pp-root .pp16-extras{border:1px solid #e0e6db;border-radius:10px;padding:12px}
#pp-root .pp16-extras summary{cursor:pointer;font-weight:700;font-size:14px}
#pp-root .pp16-extras[open]{display:grid;gap:13px}
#pp-root .pp16-form-actions{display:flex;justify-content:flex-end;margin-top:6px}
#pp-root .pp16-message{background:#f3f7f0;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:10px}
#pp-root .pp16-message a{font-weight:700;color:#336239}
#pp-root .pp16-message label{font-weight:500;font-size:14px;display:flex;align-items:flex-start;gap:9px}
#pp-root .pp16-message input{width:18px;height:18px;flex:none}
#pp-root .pp16-menu-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
#pp-root .pp16-menu-choices button{background:#f4f7f1;border:1px solid #d5e0d0;min-height:60px;border-radius:11px;color:#3e4b33;font-weight:700;padding:10px}
#pp-root .pp16-muted{font-size:13px;line-height:1.5;color:#71806d}
#pp-root .pp16-agenda button:focus-visible,#pp-root .pp16-agenda a:focus-visible,#pp-root .pp16-agenda input:focus-visible,#pp-root .pp16-agenda select:focus-visible{outline:3px solid #bc9b58;outline-offset:2px}
body.pp16-dialog-open{overflow:hidden}
@media(max-width:1000px){#pp-root .pp16-calendar-and-day{grid-template-columns:1fr}#pp-root .pp16-calendar-hint{margin-top:8px}#pp-root .pp16-calendar,#pp-root .pp16-day-view{padding:18px}}
@media(max-width:600px){#pp-root .pp16-agenda{font-size:15px}#pp-root .pp16-toolbar{gap:10px}#pp-root .pp16-toolbar .pp16-actions{width:100%}#pp-root .pp16-toolbar .pp16-actions button{flex:1;padding:10px 8px}#pp-root .pp16-view-switch{width:100%}#pp-root .pp16-view-switch button{flex:1}#pp-root .pp16-calendar,#pp-root .pp16-day-view{padding:15px 11px;border-radius:13px}#pp-root .pp16-day{min-height:66px;padding:5px 1px}#pp-root .pp16-day strong{font-size:15px}#pp-root .pp16-day small{font-size:10px}#pp-root .pp16-calendar-nav h2{font-size:16px}#pp-root .pp16-calendar-nav button{width:34px;height:38px}#pp-root .pp16-calendar-hint{font-size:12px}#pp-root .pp16-day-heading h2{font-size:19px}#pp-root .pp16-dialog-root{padding:0;place-items:end center}#pp-root .pp16-modal{width:100%;max-height:93dvh;border-radius:18px 18px 0 0;padding:22px 17px 26px}#pp-root .pp16-form-grid{grid-template-columns:1fr}#pp-root .pp16-facts{grid-template-columns:1fr 1fr}#pp-root .pp16-menu-choices{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#pp-root .pp16-agenda *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
