/* v565 — layout profissional SOMENTE da página de Mensalistas.
   Não modifica a navegação original dos pátios nem pagamentos do sistema. */
#content.pj565-monthly>.section-title{align-items:center;gap:22px;margin:2px 0 18px}
#content.pj565-monthly>.section-title h1{color:#092e58;font-size:clamp(24px,2vw,30px);margin:0 0 4px}
#content.pj565-monthly>.section-title .hint{color:#687e9b;margin:0;font-size:13px}
#content.pj565-monthly .monthly-top-actions button{min-height:42px;border-radius:10px;font-size:12px;padding:9px 14px}
#content.pj565-monthly .monthly-top-actions #new{background:linear-gradient(135deg,#257ef5,#0752df);color:white;box-shadow:0 5px 13px #1267eb25}
#content.pj565-monthly .pj565-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:13px 0 23px}
#content.pj565-monthly .pj565-stat{display:flex;align-items:center;gap:14px;min-width:0;padding:16px 18px;border:1px solid #deebf9;border-radius:15px;background:#fff;box-shadow:0 5px 15px #184b8210;color:#506987}
#content.pj565-monthly .pj565-stat-icon{display:grid;place-items:center;flex:none;width:47px;height:47px;color:#1668df;background:#e9f3ff;border-radius:13px}
#content.pj565-monthly .pj565-stat>div{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;line-height:1.3}
#content.pj565-monthly .pj565-stat strong{font-size:26px;line-height:1.1;color:#0b2d57;font-weight:850}
#content.pj565-monthly .monthly-list-card{padding:15px 16px 12px!important;border:1px solid #d9e7f6!important;border-radius:17px!important;background:#fff!important;box-shadow:0 9px 27px #1a4d8e10!important;min-width:0}
#content.pj565-monthly .monthly-list-title{padding:5px 4px 12px;margin-bottom:0;gap:12px;align-items:center}
#content.pj565-monthly .monthly-list-title h2{font-size:18px;color:#0d3565;margin:0}
#content.pj565-monthly .monthly-bulk-actions{gap:10px}
#content.pj565-monthly .monthly-bulk-actions #delete-monthly-selected{min-height:36px;border-radius:9px;padding:8px 12px;font-size:12px;background:#bf232d;color:white}
#content.pj565-monthly .monthly-bulk-actions #delete-monthly-selected:disabled{color:#8b9aad;background:#e8eef5;opacity:1}
#content.pj565-monthly .pj565-filters{display:grid;grid-template-columns:minmax(250px,1.8fr) repeat(3,minmax(130px,.8fr));gap:10px;align-items:center;margin:6px 1px 16px}
#content.pj565-monthly .pj565-filters label{margin:0;display:block;min-width:0}
#content.pj565-monthly .pj565-filters input,#content.pj565-monthly .pj565-filters select{width:100%;height:44px;min-height:44px;border:1px solid #d1e2f4!important;border-radius:10px!important;background:#fafdff!important;color:#234a72!important;padding:9px 12px!important;font-size:12px!important;font-weight:550!important;box-shadow:none!important}
#content.pj565-monthly .pj565-filters :is(input,select):focus-visible{outline:2px solid #79b7fa!important;outline-offset:1px!important}
#content.pj565-monthly .monthly-list-card .scroll{max-width:100%;overflow-x:auto!important;border:1px solid #dceafa;border-radius:12px}
#content.pj565-monthly .monthly-list-card table{width:100%;min-width:1110px;border-collapse:collapse;table-layout:fixed;background:#fff;margin:0;font-size:12px}
#content.pj565-monthly .monthly-list-card thead th{position:relative;background:#f1f7ff!important;color:#22456c!important;font-size:11px!important;letter-spacing:.04em;text-transform:uppercase;padding:14px 10px!important;line-height:1.3;white-space:nowrap;border-bottom:1px solid #d9e7f6!important}
#content.pj565-monthly .monthly-list-card thead th:nth-child(1){width:42px}
#content.pj565-monthly .monthly-list-card thead th:nth-child(2){width:14%}
#content.pj565-monthly .monthly-list-card thead th:nth-child(3){width:24%}
#content.pj565-monthly .monthly-list-card thead th:nth-child(4){width:7%}
#content.pj565-monthly .monthly-list-card thead th:nth-child(5){width:9%}
#content.pj565-monthly .monthly-list-card thead th:nth-child(6){width:10%}
#content.pj565-monthly .monthly-list-card thead th:nth-child(7){width:11%}
#content.pj565-monthly .monthly-list-card thead th:nth-child(8){width:25%}
#content.pj565-monthly .monthly-list-card tbody tr{background:#fff}
#content.pj565-monthly .monthly-list-card tbody tr:nth-child(even){background:#f9fcff}
#content.pj565-monthly .monthly-list-card tbody tr:hover{background:#f2f8ff}
#content.pj565-monthly .monthly-list-card tbody td{padding:16px 10px!important;border-bottom:1px solid #e0eafa!important;color:#1f395a!important;vertical-align:middle;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#content.pj565-monthly .monthly-list-card tbody tr:last-child td{border-bottom:0!important}
#content.pj565-monthly .monthly-list-card tbody tr[hidden]{display:none!important}
#content.pj565-monthly .monthly-list-card td:nth-child(2){font-weight:750;color:#15375e!important}
#content.pj565-monthly .monthly-list-card td:nth-child(5){font-weight:650}
#content.pj565-monthly .monthly-list-card td:nth-child(6){font-weight:750;color:#0b3571!important}
#content.pj565-monthly .monthly-vehicle-list-cell{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
#content.pj565-monthly .monthly-vehicle-chip{gap:3px;background:#eff6ff;border:1px solid #deebff;border-radius:9px;padding:8px 10px;max-width:100%;font-size:12px}
#content.pj565-monthly .monthly-vehicle-chip strong{font-size:12px;letter-spacing:.01em;color:#11375e}
#content.pj565-monthly .monthly-vehicle-chip small{font-size:10px;line-height:1.4;color:#57718e;white-space:normal;overflow-wrap:anywhere}
#content.pj565-monthly .monthly-status-badge{display:block;width:max-content;max-width:100%;margin-top:6px;font-size:10px;font-weight:800;padding:4px 8px;border-radius:99px;white-space:nowrap}
#content.pj565-monthly td.pj565-cell-actions{padding:13px 10px!important}
#content.pj565-monthly .pj565-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;width:100%;min-width:0}
#content.pj565-monthly .pj565-actions-main{display:grid;grid-template-columns:minmax(96px,.9fr) minmax(138px,1.5fr);gap:7px;align-items:center}
#content.pj565-monthly .pj565-actions-main>button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:38px!important;margin:0!important;padding:7px 9px!important;border-radius:9px!important;font-size:11.5px!important;line-height:1.2!important;font-weight:720!important;white-space:normal!important;text-align:center}
#content.pj565-monthly .pj565-actions-main .pj365-view{background:#f1f7ff!important;color:#1254b6!important;border:1px solid #bad7ff!important;box-shadow:none!important}
#content.pj565-monthly .pj565-actions-main .monthly-receive-btn{background:linear-gradient(135deg,#2776ec,#0751d7)!important;color:#fff!important;border:1px solid #1668eb!important;box-shadow:0 4px 11px #1851ad19!important}
#content.pj565-monthly .pj565-actions-secondary{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:0;row-gap:5px}
#content.pj565-monthly .pj565-actions-secondary>button{background:transparent!important;color:#1661bb!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:5px 7px!important;min-height:27px!important;height:auto!important;min-width:0!important;font-size:10.5px!important;line-height:1.25!important;font-weight:650!important;white-space:nowrap}
#content.pj565-monthly .pj565-actions-secondary>button+button{border-left:1px solid #d9e4f1!important}
#content.pj565-monthly .pj565-actions-secondary>button:is([data-delete-monthly],[data-monthly-car-delete]){color:#c34149!important}
#content.pj565-monthly .pj565-actions-secondary>button:hover{color:#0748a2!important;text-decoration:underline}
#content.pj565-monthly .pj565-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding:4px 4px 1px;color:#5b7593;font-size:12px}
#content.pj565-monthly .pj565-pager{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
#content.pj565-monthly .pj565-page-size{display:flex;align-items:center;flex-direction:row;gap:8px;margin:0;color:#657e9b;font-size:11px;white-space:nowrap}
#content.pj565-monthly .pj565-page-size select{width:auto;min-height:33px;padding:5px 9px;border:1px solid #d5e5f5;border-radius:8px;background:#fff;color:#173d6b}
#content.pj565-monthly .pj565-page-nav{display:flex;align-items:center;gap:5px}
#content.pj565-monthly .pj565-page-nav button{min-width:32px;min-height:32px;padding:4px 9px;border:1px solid #d5e5f6;border-radius:8px;background:#fff;color:#245b98;font-weight:650;box-shadow:none}
#content.pj565-monthly .pj565-page-nav button.pj565-page-active{color:#fff;background:#165de0;border-color:#165de0}
#content.pj565-monthly .pj565-page-nav button:disabled{opacity:.4}
#content.pj565-monthly .pj565-empty{margin:10px 2px;color:#677e9a;font-size:13px}
#content.pj565-monthly .pj565-plan-settings{margin:4px 0 18px;border:1px solid #dceaf8;border-radius:12px;background:#fff}
#content.pj565-monthly .pj565-plan-settings>summary{cursor:pointer;padding:14px 17px;font-size:13px;color:#1c5b9b;font-weight:720;list-style-position:inside}
#content.pj565-monthly .pj565-plan-settings>.monthly-plans-card{margin:0;border:0;border-top:1px solid #e4edf8;box-shadow:none}
@media (min-width:651px){
 #content.pj565-monthly .monthly-list-card table{display:table!important}
 #content.pj565-monthly .monthly-list-card thead{display:table-header-group!important}
 #content.pj565-monthly .monthly-list-card thead tr{display:table-row!important}
 #content.pj565-monthly .monthly-list-card thead th{display:table-cell!important}
 #content.pj565-monthly .monthly-list-card tbody{display:table-row-group!important}
 #content.pj565-monthly .monthly-list-card tbody tr:not([hidden]){display:table-row!important}
 #content.pj565-monthly .monthly-list-card tbody td{display:table-cell!important}
}
@media (max-width:1170px){
 #content.pj565-monthly .pj565-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 #content.pj565-monthly .pj565-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 #content.pj565-monthly .pj565-search-label{grid-column:1/-1}
}
@media (max-width:650px){
 #content.pj565-monthly .pj565-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #content.pj565-monthly .pj565-stat{padding:11px 9px;gap:9px;box-shadow:none}
 #content.pj565-monthly .pj565-stat-icon{width:37px;height:37px}
 #content.pj565-monthly .pj565-stat>div{font-size:10px}
 #content.pj565-monthly .pj565-stat strong{font-size:20px}
 #content.pj565-monthly .pj565-filters{display:grid;grid-template-columns:1fr;gap:8px}
 #content.pj565-monthly .pj565-search-label{grid-column:auto}
 #content.pj565-monthly .monthly-list-card{padding:12px!important}
 #content.pj565-monthly .monthly-list-card .scroll{overflow:visible!important;border:0}
 #content.pj565-monthly .monthly-list-card table{display:block!important;min-width:0!important}
 #content.pj565-monthly .monthly-list-card tbody tr[hidden]{display:none!important}
 #content.pj565-monthly .monthly-list-card tbody td{padding:10px 0!important;line-height:1.45!important}
 #content.pj565-monthly td.pj565-cell-actions{display:block!important;padding:10px 0!important}
 #content.pj565-monthly .pj565-actions-main{grid-template-columns:1fr 1fr}
 #content.pj565-monthly .pj565-actions-secondary{gap:4px}
 #content.pj565-monthly .pj565-actions-secondary>button{padding:8px!important;font-size:12px!important}
 #content.pj565-monthly .pj565-bottom{flex-direction:column;align-items:stretch}
 #content.pj565-monthly .pj565-pager{justify-content:space-between}
}
