/* Compact controls share one baseline; narrower screens wrap without clipping. */
#content .filters66{display:flex!important;align-items:flex-end;gap:10px;flex-wrap:nowrap;margin:14px 0 18px;min-width:0}
#content .filters66>label{display:flex;flex-direction:column;gap:6px;margin:0!important;min-width:0;flex:1;font-size:.85rem}
#content .filters66>label:first-child{flex:1.55}
#content .filters66 input:not([type=hidden]),#content .filters66 select,#content .filters66>button{height:40px!important;min-height:40px!important;padding:7px 10px!important;margin:0!important;font-size:.85rem!important;border-radius:7px;box-sizing:border-box;min-width:0}
#content .filters66>button{width:auto!important;flex:0 0 auto;white-space:nowrap}
#content .filters66 input[type=hidden]{display:none!important}
.month-picker65{display:flex;gap:6px;min-width:0;width:100%}.month-picker65 select{min-width:0!important;width:0!important;flex:1!important}.month-picker65 select:first-child{flex:1.4!important}
.date-control66{display:flex;align-items:stretch;min-width:0;width:100%;gap:0}.date-control66>input{flex:1;min-width:0!important;width:0!important;border-radius:7px 0 0 7px!important;margin:0!important}.date-control66>.calendar-trigger66{width:36px!important;min-width:36px!important;flex:0 0 36px;padding:4px!important;margin:0!important;border-radius:0 7px 7px 0!important;font-size:20px!important}
#content .commission-footer66{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}
#content .commission-footer66 button{width:auto!important;margin:0!important;min-height:36px!important;height:36px;padding:6px 12px!important;font-size:.85rem!important;white-space:nowrap;border-radius:7px}
#content .commission-footer66 strong{margin:0 8px!important;font-size:.9rem;line-height:36px;white-space:nowrap;font-variant-numeric:tabular-nums}
#content .commission-footer66 button:last-child{margin-left:auto!important}
.commissions-table66 .grid28{overflow-x:auto}.commissions-table66 table{min-width:1030px!important;table-layout:auto!important}
.commissions-table66 th,.commissions-table66 td{padding:10px 8px!important;vertical-align:middle!important;word-break:normal!important;overflow-wrap:normal!important;font-size:.82rem!important}
.commissions-table66 th:first-child,.commissions-table66 td:first-child{width:54px!important;min-width:54px;text-align:center!important}
.commissions-table66 td:nth-child(3){white-space:nowrap!important;min-width:88px}
.commissions-table66 td:nth-child(6),.commissions-table66 td:nth-child(7),.commissions-table66 td:nth-child(9){white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.commissions-table66 .selection-cell66 input[type=checkbox]{display:inline-block!important;position:static!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;vertical-align:middle;accent-color:var(--brand)}
.commissions-table66 td.actions28{display:table-cell!important;min-width:135px}.commissions-table66 td.actions28 button{margin:0!important;padding:7px 10px!important;min-height:34px!important;height:auto!important;font-size:.8rem!important;white-space:nowrap}
dialog.payment-dialog66[open]{width:min(720px,calc(100vw - 28px))!important;max-width:720px!important;height:fit-content!important;min-height:0!important;max-height:90dvh!important;padding:0!important;border-radius:14px;overflow:auto}
.payment-dialog66 .dialog-head{padding:16px 20px!important;align-items:center!important}.payment-dialog66 .dialog-head h2{font-size:1.2rem!important;line-height:1.3;margin:0!important}.payment-dialog66 .dialog-head button{padding:8px 12px!important;min-height:36px!important;height:36px!important;font-size:.85rem!important}
.payment-dialog66 .dialog-body{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 16px!important;padding:16px 20px!important;overflow:visible!important;max-height:none!important}
.payment-dialog66 .dialog-body>p,.payment-dialog66 .dialog-body>input[type=file]{grid-column:1/-1;margin:0!important;font-size:.85rem!important}
.payment-dialog66 .dialog-body>label{margin:0!important;display:flex;flex-direction:column;gap:5px;min-width:0;font-size:.9rem}
.payment-dialog66 .dialog-body input:not([type=file]),.payment-dialog66 .dialog-body select{height:40px!important;min-height:40px!important;margin:0!important;padding:7px 10px!important;box-sizing:border-box;font-size:.9rem!important}
.payment-dialog66 .dialog-actions{padding:12px 20px!important;gap:8px!important;margin:0!important}.payment-dialog66 .dialog-actions button{width:auto!important;height:38px!important;min-height:38px!important;padding:8px 16px!important;font-size:.9rem!important}
.payment-dialog66 .form-error:empty{display:none}
dialog.calendar66[open]{display:block!important;width:330px!important;max-width:calc(100vw - 24px)!important;height:fit-content!important;min-height:0!important;max-height:90dvh!important;overflow:auto;padding:16px!important;border:1px solid #cbd5e1;border-radius:12px;background:white;color:var(--ink);box-sizing:border-box}
.calendar66 h3{font-size:1rem!important;margin:0 0 12px!important}.calendar-head66{display:flex;gap:5px;align-items:center}.calendar-head66 select{min-width:0!important;padding:5px!important;height:34px!important;font-size:.85rem!important;margin:0!important;width:0!important;flex:1}.calendar-head66 select:first-of-type{flex:1.5}
.calendar66 button{margin:0!important;padding:4px!important;min-height:32px!important;height:32px!important;font-size:.85rem!important;width:auto!important;border-radius:6px}
.calendar-head66 button{width:28px!important;flex:0 0 28px}.calendar-grid66{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:12px 0}.calendar-weekday66{text-align:center;font-size:.75rem}.calendar-grid66 button[aria-pressed=true]{background:var(--brand)!important;color:white!important}.calendar-foot66{display:flex;justify-content:flex-end;gap:8px}.calendar-foot66 button{padding:4px 10px!important}
@media(max-width:1150px){#content .filters66{flex-wrap:wrap}#content .filters66>label{flex:1 1 160px}#content .filters66>label:first-child{flex:1 1 230px}}
@media(max-width:600px){#content .filters66>label,#content .filters66>label:first-child{flex:1 1 calc(50% - 10px)}#content .filters66>label:first-child{flex-basis:100%}#content .filters66>button{flex:1 1 auto}#content .commission-footer66 strong{order:-1;flex-basis:100%;margin:0!important}#content .commission-footer66 button:last-child{margin-left:0!important}.payment-dialog66 .dialog-body{grid-template-columns:1fr!important}.payment-dialog66 .dialog-head{padding:14px!important}.payment-dialog66 .dialog-body{padding:14px!important}.payment-dialog66 .dialog-head h2{font-size:1.05rem!important}}
