body[data-role=professional][data-page=agenda] .demo,body[data-role=professional][data-page=agenda] .footnote{display:none}
body[data-role=professional][data-page=agenda] .workspace{background:#f6f7f2 url('assets/brand/bora-fundo-claro-v2.jpg') center top/100% 230px no-repeat}
body[data-role=professional][data-page=agenda] .topbar{background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:12px 20px 0;min-height:70px;position:relative}
body[data-role=professional][data-page=agenda] #content{padding:0;background:transparent;max-width:none}
.agenda-home{max-width:760px;margin:auto;padding:0 20px 95px;color:#19392d}
.agenda-hero{display:flex;justify-content:space-between;align-items:center;padding:20px 1px 24px}
.agenda-hero h1{font-size:34px;letter-spacing:-1.3px;line-height:1.1;margin:0;font-weight:750}.agenda-hero h1 span{color:#718b2d}
.agenda-hero p{margin:9px 0 0;font-size:13px;color:#54684d}
.agenda-options{position:relative;z-index:25}.agenda-options>summary{list-style:none;display:grid;place-items:center;cursor:pointer;width:44px;height:44px;border:1px solid #fff9;background:#ffffff78;border-radius:50%;font-size:25px;line-height:1;padding-bottom:10px;box-shadow:0 3px 15px #1b382b08}.agenda-options>summary::-webkit-details-marker{display:none}
.agenda-options-panel{position:absolute;right:0;top:52px;width:290px;padding:16px;background:white;border:1px solid #e1e7db;border-radius:20px;box-shadow:0 14px 45px #15382c26;max-height:65vh;overflow:auto}
.agenda-options-panel>button{display:block;background:none;border:0;text-align:left;width:100%;padding:14px 0;font-size:14px}.agenda-options-panel label{display:block;font-size:12px;margin:12px 0}.agenda-options-panel input,.agenda-options-panel select{width:100%;margin-top:8px}.agenda-options-panel>details>summary{font-size:12px;padding:14px 0}
.agenda-calendar{background:#ffffffed;border:1px solid #e8ebdf;border-radius:24px;padding:12px 10px 10px;box-shadow:0 5px 20px #30432604}
.agenda-month{display:flex;justify-content:space-between;align-items:center;padding:0 5px 9px;gap:4px}.agenda-month>strong{font-size:14px;text-transform:capitalize}.agenda-month>div{display:flex;align-items:center;gap:0}.agenda-month button{border:0;background:none;min-width:34px;min-height:44px;padding:0 6px;font-size:24px;color:#526a3e}.agenda-month button:first-child{font-size:11px;padding:0 10px}
.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.agenda-week button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:11px 0 8px;border:0;background:transparent;border-radius:16px;color:#778374;min-width:0}.agenda-week small{font-size:10px;text-transform:capitalize}.agenda-week strong{font-size:20px;font-weight:650;letter-spacing:-.5px;color:#294533}.agenda-week i{width:4px;height:4px;border-radius:50%;background:transparent}.agenda-week i.has-lessons{background:#7f9a4d}.agenda-week button[aria-pressed=true]{background:#d9fa60;color:#314c24}.agenda-week button[aria-pressed=true] strong{color:#19392b}.agenda-week button[aria-pressed=true] i.has-lessons{background:#33552b}
.agenda-list-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:27px 2px 18px}.agenda-list-head h2{font-size:17px;letter-spacing:-.4px;margin:0;text-transform:capitalize}.agenda-list-head>div>span{display:block;color:#839078;font-size:11px;margin-top:6px}.agenda-switch{display:flex;border:1px solid #e5e9df;background:#eef1e8;border-radius:11px;padding:3px}.agenda-switch button{border:0;border-radius:8px;background:transparent;color:#7b8771;font-size:11px;padding:10px;min-height:38px}.agenda-switch button[aria-pressed=true]{background:white;box-shadow:0 2px 6px #20361e0b;color:#29432e;font-weight:650}
.agenda-timeline{position:relative;display:grid;gap:12px}.agenda-timeline:before{content:'';position:absolute;left:58px;top:29px;bottom:55px;width:1px;background:#dce5d1}
.agenda-lesson{position:relative;display:grid;grid-template-columns:45px minmax(0,1fr) 12px;gap:24px;padding:18px 13px 18px 0;border:0;background:none;text-align:left;align-items:start;width:100%;color:#223e2e;border-radius:17px;min-height:123px}
.agenda-lesson-info{display:flex;flex-direction:column;min-width:0;gap:6px}.agenda-lesson-info>small{font-size:9px;letter-spacing:.8px;text-transform:uppercase;color:#728b53}.agenda-lesson-info>strong{font-size:19px;letter-spacing:-.5px;font-weight:650;overflow-wrap:anywhere}.agenda-lesson-info>span{font-size:12px;color:#6e7e62}.agenda-lesson-info>em{font-style:normal;font-size:11px;color:#849078;overflow-wrap:anywhere}.agenda-time{display:flex;flex-direction:column;gap:7px;padding-top:1px}.agenda-time strong{font-size:14px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.agenda-time small{font-size:10px;color:#95a08a}.agenda-dot{position:absolute;left:55px;top:23px;background:#91ac57;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #f6f7f2}.agenda-arrow{padding-top:30px;color:#96a18d;font-size:20px}.agenda-lesson.is-done{color:#77846c}.agenda-lesson.is-done .agenda-lesson-info>strong{color:#77846c}.agenda-lesson.is-done .agenda-dot{background:#c0ccb2}.agenda-lesson.is-cancelled{opacity:.6}.agenda-lesson:focus-visible,.agenda-week button:focus-visible,.agenda-add:focus-visible{outline:3px solid #799734;outline-offset:3px}
.agenda-days>section>h3{font-size:15px;text-transform:capitalize;padding-top:20px;border-top:1px solid #dfe6d6}.agenda-pending{margin-top:14px;background:#edf3df;border-radius:14px;padding:14px;font-size:12px}.agenda-pending{display:block;width:100%;text-align:left;border:1px solid #dce8c6;min-height:44px;cursor:pointer}.agenda-pending>span{float:right}.agenda-empty{padding:30px 15px;text-align:center;border:1px dashed #dce4d2;border-radius:20px}.agenda-empty strong{font-size:17px}.agenda-empty p{font-size:13px;color:#75826c}.agenda-note{font-size:10px;text-align:center;color:#939e87;margin-top:25px}
.agenda-add{position:fixed;right:22px;bottom:calc(92px + env(safe-area-inset-bottom,0px));height:54px;width:54px;display:grid;place-items:center;border-radius:50%;border:1px solid #fff;background:linear-gradient(135deg,#fcfff2eb,#e3f4bacc);box-shadow:0 5px 24px #1d392b21,inset 0 1px 3px #fff;backdrop-filter:blur(14px);color:#345829;z-index:21}.agenda-add svg{width:25px;height:25px}
@media(min-width:761px){.agenda-home{padding-top:5px}.agenda-hero h1{font-size:40px}.agenda-calendar{padding:15px 22px}.agenda-week button{padding:15px}.agenda-lesson{padding-top:22px;padding-bottom:22px}.agenda-add{bottom:30px;right:35px}.agenda-list-head{padding-top:30px}}
@media(max-width:350px){.agenda-home{padding-inline:15px}.agenda-hero h1{font-size:30px}.agenda-list-head h2{font-size:14px}.agenda-switch button{padding:8px}.agenda-week strong{font-size:18px}.agenda-lesson{gap:20px}.agenda-lesson-info>strong{font-size:17px}}
.agenda-calendar{background:#fff}.agenda-month>strong,.agenda-list-head h2,.agenda-days>section>h3{text-transform:none}.agenda-month>strong::first-letter,.agenda-list-head h2::first-letter,.agenda-days>section>h3::first-letter{text-transform:uppercase}.agenda-lesson-info>span{font-size:13px}.agenda-lesson-info>em{font-size:12px}.agenda-lesson.is-done .agenda-lesson-info>strong{color:#718064}
body[data-role=professional][data-page=agenda] #mobile-nav{background:#fff}.agenda-timeline{gap:6px}.agenda-lesson{min-height:110px;padding-top:14px;padding-bottom:14px}.agenda-lesson-info{gap:5px}.agenda-dot{top:19px}

.agenda-options-panel{max-width:calc(100vw - 40px);max-height:calc(100dvh - var(--safe-top,0px) - var(--safe-bottom,0px) - 180px)}
.agenda-hours{font-size:12px;color:#637354;margin:0 0 12px}.agenda-lesson-info .agenda-warning{font-size:12px;color:#815522}.agenda-filter-chip{border:1px solid #dbe6c7;background:#eef4e2;border-radius:12px;padding:10px 14px;min-height:44px;margin-bottom:12px;font-size:12px;color:#3e592a}
.agenda-week button:disabled,.agenda-month button:disabled{opacity:.4;cursor:default}.agenda-options-panel>button{min-height:44px}.agenda-switch button{min-height:44px}
body[data-role=professional][data-page=agenda]{padding-top:0;background:#f6f7f2}
body[data-role=professional][data-page=agenda] .topbar{top:0;padding-top:calc(12px + var(--safe-top));min-height:calc(70px + var(--safe-top))}
body[data-role=professional][data-page=agenda] .workspace{background-size:100% calc(230px + var(--safe-top))}
body[data-role=professional][data-page=agenda]::before{background:#f6f7f2 url('assets/brand/bora-fundo-claro-v2.jpg') center top/100% calc(230px + var(--safe-top)) no-repeat}
.agenda-add{right:calc(22px + var(--safe-right))}
@media(min-width:761px){.agenda-add{right:calc(35px + var(--safe-right))}}
/* Empty weekdays stay compact so the weekly view does not bury scheduled classes. */
.agenda-home.is-week .agenda-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:0;background:#eef2e8;border-radius:12px;text-align:left}
.agenda-home.is-week .agenda-empty>strong{display:none}.agenda-home.is-week .agenda-empty p{margin:0;font-size:12px}.agenda-home.is-week .agenda-empty button{min-height:44px;font-size:12px;flex-shrink:0}
