.mr-theme .pos-panel{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;color:var(--mr-text);overflow-x:clip}
.mr-theme .pos-panel>*{min-width:0}
.mr-theme .pos-tabs-page,.mr-theme .pos-saved{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:24px}
.mr-theme .pos-tabs-page>*,.mr-theme .pos-saved>*{min-width:0}
.mr-theme .pos-panel p{margin:0;line-height:1.6}
.mr-theme .pos-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.mr-theme .pos-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.mr-theme .pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}
.mr-theme .pos-panel .table-wrap{box-sizing:border-box;max-height:520px;max-width:100%;border:1px solid var(--mr-border);border-radius:var(--mr-radius-md)}
.mr-theme .pos-panel .table{min-width:1320px;font-size:13px}
.mr-theme .pos-panel th{position:sticky;top:0;background:var(--mr-surface);z-index:1}
.mr-theme .pos-panel td{padding:10px 12px;vertical-align:top}
.mr-theme .pos-panel th button{font:inherit;color:inherit;background:none;border:0;min-height:44px;cursor:pointer;text-align:inherit}
.mr-theme .pos-panel small{display:block;color:var(--mr-text-2);line-height:1.5}
.mr-theme .pos-insight{padding:16px;border:1px solid var(--mr-border);border-radius:var(--mr-radius-md);display:grid;gap:12px;background:var(--mr-surface)}
.mr-theme .pos-skeleton{display:block;height:120px;width:100%}
.mr-theme .pos-panel .tabs{flex-wrap:wrap}
.mr-theme .pos-panel .tab[aria-pressed="true"],.mr-theme .pos-tabs-page>.tabs .tab[aria-pressed="true"]{background:var(--mr-accent-soft);color:var(--mr-accent-text);border-color:var(--mr-accent-line)}
.mr-theme .pos-panel .modal{max-width:680px}
.mr-theme .pos-panel .modal-body{display:grid;gap:12px;overflow-wrap:anywhere}
.mr-theme .pos-history{padding:12px;border:1px solid var(--mr-border);border-radius:var(--mr-radius-sm);display:grid;gap:8px}
@media(max-width:1100px){.mr-theme .pos-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.mr-theme .pos-filters{grid-template-columns:minmax(0,1fr)}.mr-theme .pos-panel .btn{white-space:normal}.mr-theme .pos-row>*{max-width:100%}}
/* O toast da base usa a camada superior; esta correção local contém seu tamanho no celular. */
body:has(.pos-panel) .mr-theme .mr-toasts{width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px);box-sizing:border-box}
body:has(.pos-panel) .mr-theme .toast{max-width:100%;box-sizing:border-box}
