/* Ajustes de consistência e estabilidade da interface. */
html{scrollbar-gutter:stable}body>main:not([hidden]){view-transition-name:none}
.topbar{height:62px;min-height:62px;padding:0 clamp(18px,4vw,64px);gap:24px;background:#146b80;border-bottom:1px solid #ffffff1a;box-shadow:0 2px 8px #244b6010;position:relative;z-index:45;box-sizing:border-box}
.topbar .brand{font-size:23px;letter-spacing:-.65px;line-height:1.2;max-width:min(55vw,380px);min-width:0;gap:9px;color:#fff}.topbar .brand-mark{width:29px;height:29px;min-width:29px;border-radius:8px;background:#ffffff20;box-shadow:none;display:grid;place-items:center;font-size:22px}.topbar .brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:8px}.topbar .account{gap:10px;min-width:0}.topbar .account-name strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;font-size:12px}.topbar .account-name small{font-size:11px;color:#c8e8ef}.topbar .avatar{width:32px;height:32px;font-size:11px}.topbar .popover summary{border-radius:7px}.topbar .popover summary:hover{background:#ffffff15}
.agenda-actions-menu>.agenda-menu-toggle{display:grid;place-items:center;width:33px;height:33px;min-width:33px;padding:6px;border:1px solid #d4e4eb;background:#f5fafc;color:#276d80;border-radius:7px;line-height:1;transition:background .15s,border-color .15s;list-style:none}.agenda-menu-toggle svg{width:18px;height:18px;fill:currentColor;stroke:none}.agenda-actions-menu>.agenda-menu-toggle:hover,.agenda-actions-menu[open]>.agenda-menu-toggle{background:#e2f1f6;border-color:#99c2d0;color:#137b98}.agenda-actions-list{min-width:235px;border-color:#d7e6ed;box-shadow:0 8px 22px #28495720}.agenda-actions-list button{min-height:36px;padding:9px 12px;font-size:12px;line-height:1.4}.agenda-actions-list .danger-action{color:#ac4a4a;border-top:1px solid #edf2f5;margin-top:3px}.agenda-actions-list .danger-action:hover{background:#fff1f1;color:#a43838}.agenda-page .date-controls .icon-button{height:33px;width:33px;border-radius:7px}.agenda-page .date-controls .icon-button:hover{background:#edf6fa}.agenda-page .date-controls>.button.compact{min-height:33px}.agenda-page .view-toggle{height:33px;align-items:center}.agenda-page .view-toggle button{padding:4px 9px}.agenda-page .date-controls{gap:8px}.agenda-page .agenda-toolbar{border-radius:9px 9px 0 0}.agenda-page .agenda-footer{border-radius:0 0 9px 9px}
.profile-reference-content .interval-settings,.profile-reference-content .pricing-form{min-width:0}.profile-reference-tabs{gap:6px}.profile-reference-tabs .profile-tab{overflow-wrap:anywhere}.profile-reference-content .form-actions,.editor .form-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.module-filters select{max-width:100%}
@media(max-width:720px){.topbar{height:58px;min-height:58px;padding:0 14px;gap:12px}.topbar .brand{font-size:18px;max-width:calc(100vw - 150px)}.topbar .account{gap:6px}.topbar .account-name{display:none}.topbar .account-divider{display:none}.topbar .avatar{width:30px;height:30px}.agenda-actions-list{max-width:calc(100vw - 90px)}.agenda-page .date-controls{gap:6px}.profile-reference-tabs{gap:5px}}
@media print{html{scrollbar-gutter:auto}}
/* Mesma largura e alinhamento entre telas, sem saltos ao navegar. */
@media(min-width:721px){body:not(.auth-locked)>main:not(.editing-report){max-width:1280px;width:calc(100% - 110px);margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}}
