/* UX 2026 — Pimenta de Cheiro: carrossel, permissões e manual contextual */
.home-banner-arrow{
 font-size:0!important;line-height:0!important;display:flex!important;
 align-items:center!important;justify-content:center!important;
 padding:0!important;text-align:center!important;box-sizing:border-box!important;
}
.home-banner-arrow::before{
 content:"";display:block!important;width:10px;height:10px;
 border:solid currentColor;border-width:2.5px 2.5px 0 0;
 flex:0 0 10px;transform:translateX(-2px) rotate(45deg);box-sizing:border-box;
}
.home-banner-arrow.prev::before{transform:translateX(2px) rotate(-135deg)}
.home-banner-arrow.next::before{transform:translateX(-2px) rotate(45deg)}
@media(max-width:720px){
 .home-banner-arrow::before{width:9px;height:9px;flex-basis:9px;border-width:2px 2px 0 0}
}
.pa-users-page,.pa-manual-page{max-width:1350px;margin:auto}
.pa-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:12px 0 18px}
.pa-stats article{padding:16px;border:1px solid #e9e1de;background:#fff;border-radius:13px;display:grid;gap:5px}
.pa-stats b{font-size:26px;color:#292325;letter-spacing:-.04em}
.pa-stats span{font-size:11px;color:#756a6d}
.pa-help,.pa-context-help{border:1px solid #e4e1dd;border-radius:12px;background:#fffaf8;margin:0 0 17px;overflow:hidden}
.pa-help summary,.pa-context-help>summary{list-style:none;cursor:pointer;display:flex;gap:8px;align-items:center;padding:13px 15px;font-size:12px;color:#7a333e;font-weight:830}
.pa-help summary::-webkit-details-marker,.pa-context-help summary::-webkit-details-marker{display:none}
.pa-help[open] summary,.pa-context-help[open]>summary{border-bottom:1px solid #f0e2dd}
.pa-help p{padding:0 16px 14px;margin:0;font-size:12px;line-height:1.65;color:#514849}
.pa-user-create{padding:22px!important}
.pa-user-create h2,.pa-user-roster h2{margin:0 0 12px;font-size:19px}
.pa-presets{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:15px 0}
.pa-presets>span{font-weight:800;font-size:12px;color:#4b4142;margin-right:5px}
.pa-presets button{min-height:35px;padding:8px 11px;border-radius:9px;background:#faf7f5;border:1px solid #ddd1cf;color:#685057;font-weight:750;font-size:11px}
.pa-presets button:hover{border-color:#9c4151;color:#932938}
.pa-access-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:4px 0 19px;align-items:start}
.pa-access-group{min-width:0;background:#fff;border:1px solid #e8e0de;border-radius:13px;overflow:hidden}
.pa-access-group>header{padding:11px 14px;background:#faf7f6;display:flex;gap:10px;justify-content:space-between;align-items:center;border-bottom:1px solid #ede4e1}
.pa-access-group>header>div:first-child{display:grid;gap:4px;min-width:0}
.pa-access-group>header strong{font-size:12px;color:#3a2f33}
.pa-access-group>header small{font-size:10px;color:#827476}
.pa-access-group>header>div:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.pa-access-group>header button{padding:7px 8px;border:1px solid #e5dbd7;border-radius:7px;color:#654d55;background:#fff;font-size:10px;font-weight:700}
.pa-access-rows{max-height:390px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.pa-access-row{display:flex;gap:11px;padding:11px 13px;align-items:flex-start;cursor:pointer;border-bottom:1px solid #f4efeb}
.pa-access-row:last-child{border:0}
.pa-access-row:hover{background:#fffaf9}
.pa-access-row input{accent-color:#ac293a!important;width:18px!important;height:18px!important;flex:0 0 18px;margin-top:1px}
.pa-access-row span{display:grid;gap:5px}
.pa-access-row b{font-size:12px;color:#393034}
.pa-access-row small{font-size:10px;color:#736768;line-height:1.5}
.pa-operation-scope{border:1px solid #e5dddb;border-radius:12px;margin:6px 0 17px;padding:14px}
.pa-operation-scope legend{padding:0 8px;font-weight:850;font-size:12px;color:#5b454d}
.pa-operation-scope p{margin:0 0 13px;font-size:11px;color:#74686b}
.pa-operation-scope>div{display:flex;flex-wrap:wrap;gap:8px}
.pa-operation-scope label{display:flex;gap:8px;align-items:center;padding:9px 11px;background:#faf7f5;border:1px solid #e5ddda;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}
.pa-operation-scope input{accent-color:#ac293a!important;width:17px!important;height:17px!important}
.pa-operation-scope>button{margin-top:12px;border:0;background:transparent;text-decoration:underline;color:#a22336;font-size:11px}
.pa-search-label{display:grid;gap:7px;margin:8px 0 18px;font-size:12px;color:#51474b;font-weight:750}
.pa-search-label input,.pa-guide-search input{border:1px solid #e2d7d5;border-radius:10px;padding:12px;font-size:13px;width:100%;box-sizing:border-box}
.pa-user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pa-user-list article{min-width:0;padding:15px;border:1px solid #e8dedb;border-radius:12px;display:grid;gap:12px;background:#fff}
.pa-user-primary{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
.pa-user-primary>div{display:grid;gap:5px;min-width:0}
.pa-user-primary b{font-size:14px;overflow-wrap:anywhere}
.pa-user-primary small{color:#8a7a7c;font-size:11px}
.pa-active,.pa-inactive{padding:6px 9px;border-radius:99px;font-size:10px;font-weight:750}
.pa-active{background:#e9f8ef;color:#216e47}.pa-inactive{background:#fff0f0;color:#a02b36}
.pa-user-list article>p{margin:0;font-size:11px;color:#77696d}
.pa-user-list article>p em{color:#a76431;font-style:normal;font-weight:800}
.pa-user-list details{border:1px solid #eee5e2;border-radius:9px;padding:8px 12px}
.pa-user-list details summary{cursor:pointer;font-size:11px;font-weight:750}
.pa-user-list details>small{font-size:10px;color:#766b6e;line-height:1.6}
.pa-rights-summary{padding-top:10px;display:grid;gap:10px}
.pa-rights-summary>div strong{font-size:11px;color:#6a303b}
.pa-rights-summary p{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}
.pa-rights-summary span{display:inline-flex;background:#f5efee;padding:5px 8px;border-radius:7px;font-size:10px;color:#614f54}
.pa-user-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pa-user-actions>button{min-height:38px;border-radius:9px;background:#a82438;color:#fff;border:1px solid #a82438;padding:8px 13px;font-size:11px;font-weight:800}
.pa-user-actions label{display:flex;gap:7px;align-items:center;font-size:11px;color:#5e5558}
.pa-edit-dialog{width:min(1020px,96vw)!important;max-height:min(92dvh,940px)!important;overflow-y:auto!important;overscroll-behavior:contain!important}
.pa-edit-dialog>header{display:flex;justify-content:space-between;gap:10px}
.pa-edit-dialog>header p{font-size:11px;color:#77696b}
.pa-edit-dialog>label{display:grid;gap:5px;margin:12px 0;font-size:12px;font-weight:750}
.pa-edit-dialog>label>input{min-height:40px;width:100%;border:1px solid #ded3d0;border-radius:9px;padding:10px;box-sizing:border-box}
.pa-edit-dialog>footer{position:sticky;bottom:0;background:#fff;z-index:1;padding-top:12px;display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #efe7e3}
.pa-legacy-note{background:#fff5e7;color:#815b29;border:1px solid #e8cf9b;padding:10px 13px;font-size:11px;border-radius:9px}
.pa-context-help{margin:0 0 19px;background:#fff;max-width:100%}
.pa-context-help>summary{color:#4b3d40;flex-wrap:wrap}
.pa-context-help>summary::before{content:"?";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f9e9ea;color:#ac293a}
.pa-context-help>summary>span{font-weight:500;color:#7d6e70;font-size:11px;line-height:1.45}
.pa-context-body{display:grid;gap:13px;padding:15px}
.pa-context-body>p{margin:0;font-size:12px;line-height:1.55}
.pa-context-body>div{min-width:0}
.pa-context-body strong{font-size:12px}
.pa-context-body dl,.pa-manual-body dl{display:grid;grid-template-columns:minmax(90px,160px) minmax(0,1fr);gap:9px 14px;margin:12px 0}
.pa-context-body dt,.pa-manual-body dt{font-size:11px;font-weight:800;color:#51363c}
.pa-context-body dd,.pa-manual-body dd{margin:0;font-size:11px;line-height:1.55;color:#665e60}
.pa-context-body ol,.pa-manual-body ol{margin:9px 0;padding-left:22px;font-size:11px;line-height:1.9;color:#655c5e}
.pa-guide-warning{background:#fff7e9;color:#785a2f;border:1px solid #eedbb7;border-radius:9px;padding:10px 12px!important;margin:4px 0!important;font-size:11px!important;line-height:1.5!important}
.pa-context-body>button,.pa-manual-body>button{justify-self:start;background:#a82438;color:#fff;border:0;border-radius:8px;padding:9px 14px;font-size:11px;font-weight:800}
.pa-manual-intro{padding:18px;background:#fff7f5;border:1px solid #eadbd7;border-radius:13px}
.pa-manual-intro strong{font-size:15px;color:#362e2f}
.pa-manual-intro ol{margin:12px 0;padding-left:23px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 30px;font-size:12px;line-height:1.6}
.pa-manual-intro p{font-size:11px;color:#726368;line-height:1.5}
.pa-guide-search{display:grid;gap:8px;margin:17px 0;font-weight:800;font-size:12px}
.pa-manual-list{display:grid;gap:10px}
.pa-manual-card{border:1px solid #e8dedb;background:#fff;border-radius:12px;overflow:hidden}
.pa-manual-card[hidden]{display:none!important}
.pa-manual-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:14px 17px;gap:12px;cursor:pointer}
.pa-manual-card>summary::-webkit-details-marker{display:none}
.pa-manual-card>summary span:first-child{display:grid;gap:5px}
.pa-manual-card>summary strong{font-size:13px;color:#40353a}
.pa-manual-card>summary small{font-size:11px;color:#7c7070;line-height:1.4}
.pa-manual-card[open]>summary{background:#fff7f5;border-bottom:1px solid #e9dedb}
.pa-manual-body{padding:17px}
.pa-manual-body h4{font-size:12px;margin:10px 0;color:#4f3439}
@media(max-width:890px){.pa-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pa-access-matrix,.pa-user-list,.pa-manual-intro ol{grid-template-columns:1fr}}
@media(max-width:590px){.pa-user-create{padding:12px!important}.pa-access-group>header{align-items:flex-start;flex-wrap:wrap}.pa-access-group>header>div:last-child{justify-content:flex-start}.pa-edit-dialog{width:100vw!important;max-height:94dvh!important;padding:12px!important}.pa-context-body dl,.pa-manual-body dl{grid-template-columns:1fr;gap:5px}.pa-context-body dd,.pa-manual-body dd{margin-bottom:8px}.pa-manual-card>summary{padding:12px}.pa-manual-intro{padding:12px}}
