/* TRATO 1.2.1 */
.t121-commissions{margin:20px 0;padding:17px;background:#10263a;border:1px solid #31546e;border-radius:13px}
.t121-commissions h3{margin:0 0 7px}.t121-commissions>.muted{font-size:13px;line-height:1.5}
.t121-rate{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #244257;margin:0}
.t121-rate>span:first-child{font-weight:700;color:#f4f9fc}.t121-rate small{display:block;font-size:12px;font-weight:400;color:#adc0d1}
.t121-rate-input{display:flex;align-items:center;gap:8px;width:113px;flex-shrink:0;color:#ff9c49}.t121-rate-input input{text-align:right;min-height:40px;padding:7px;max-width:85px}
.t121-report-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:22px;padding:20px 23px;border:1px solid #31536e;border-radius:13px;background:#102439}
.t121-report-actions strong{display:block;font-size:17px}.t121-report-actions small{display:block;color:#b9cada;margin-top:5px}
.t121-pdf-action,.t121-pdf-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:45px;border-radius:9px;padding:11px 16px;text-decoration:none;font-weight:700}
.t121-pdf-action{background:#ff7f18;color:#0d1620}.t121-pdf-secondary{border:1px solid #466581;color:#f2f8fa}
.t121-sectionhead{display:flex;justify-content:space-between;gap:14px}.t121-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 26px}
.t121-stats>div{padding:17px;border:1px solid #31546e;border-radius:12px;background:#112b42}.t121-stats span{display:block;color:#c0d3e4;font-size:13px}.t121-stats strong{display:block;font-size:clamp(20px,2vw,29px);color:#ffad65;margin-top:9px}.t121-pay{color:#ffad65}
.t121-commission-panel h3{margin:30px 0 15px}.t121-commission-panel .tablewrap{margin-bottom:15px}
.t121-admin-sidebar{padding:26px 13px;position:sticky;top:0;align-self:start;height:100vh;overflow:auto}
.t121-admin-shell{grid-template-columns:230px minmax(0,1fr)}.t121-admin-sidebar .brand{margin-left:10px;font-size:21px}
.t121-admin-sidebar nav{margin-top:10px;gap:6px}.t121-admin-sidebar nav button{padding:11px 13px}
.t121-admin-tag{background:#102b42;border:1px solid #315875;border-radius:11px;margin:23px 0 18px;padding:14px;color:#9ab8d0;font-size:11px;letter-spacing:.5px}
.t121-admin-tag strong{color:#fff;font-size:15px;letter-spacing:0}.t121-nav-title{font-size:10px;letter-spacing:1.4px;color:#73bfff;margin:0 13px}.t121-admin-tagline{color:#c2d2dd;font-weight:400}
.t121-admin-stat{min-width:0}.t121-admin-shell .panel{margin-top:22px}.t121-admin-shell .grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.t121-theme-choice{display:flex;gap:12px;flex-wrap:wrap}.t121-theme-choice button{flex:1;min-width:150px;min-height:60px}
.t121-preview{padding:18px;border:1px solid #315875;margin-top:20px;border-radius:12px}
:root[data-trato-theme="light"]{--bg:#f2f7fc;--panel:#fff;--panel2:#eaf2f9;--line:#b9cddd;--text:#0c253b;--muted:#526a7c;--orange:#e76b07;color-scheme:light}
:root[data-trato-theme="light"] .sidebar{background:#e7eff8}:root[data-trato-theme="light"] .topbar{background:#fff}
:root[data-trato-theme="light"] input,:root[data-trato-theme="light"] select,:root[data-trato-theme="light"] textarea{background:#fff;color:#172d42}
:root[data-trato-theme="light"] .t121-admin-tag,:root[data-trato-theme="light"] .t121-commissions,:root[data-trato-theme="light"] .t121-report-actions{background:#f0f5fa}
:root[data-trato-theme="light"] .t121-admin-tag strong,:root[data-trato-theme="light"] .t121-rate>span:first-child,:root[data-trato-theme="light"] .t121-report-actions strong{color:#102c43}
:root[data-trato-theme="light"] .t121-stats>div{background:#f2f7fc}:root[data-trato-theme="light"] .t121-stats strong{color:#c35c0d}
@media(max-width:800px){.t121-admin-shell{grid-template-columns:1fr}.t121-admin-sidebar{height:auto;position:static;padding:12px}.t121-admin-sidebar>.brand,.t121-admin-sidebar>.muted,.t121-admin-sidebar>.t121-admin-tag,.t121-admin-sidebar>.t121-nav-title{display:none}.t121-admin-sidebar nav{display:flex;overflow:auto;margin:0;gap:4px;max-width:100vw}.t121-admin-sidebar nav button{white-space:nowrap}.t121-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.t121-report-actions{padding:15px}.t121-report-actions .actions,.t121-report-actions a{width:100%}.t121-stats{grid-template-columns:1fr}.t121-rate{align-items:flex-start}}

/* TRATO 1.3.9 — habilitação e comissão na mesma linha, também no celular. */
.t139-service-row{align-items:center;gap:12px}
.t139-service-pick{display:flex;align-items:center;gap:13px;min-width:0;flex:1;cursor:pointer}
.t139-service-pick input[type=checkbox]{width:22px;height:22px;min-width:22px;accent-color:#ff8319;cursor:pointer}
.t139-service-pick strong{display:block;color:var(--text,#fff);font-size:14px}
.t139-service-pick small{display:block;font-size:12px;color:var(--muted,#b9cfdf);font-weight:400}
.t139-service-row .t121-rate-input{width:auto;min-width:140px;display:flex;gap:7px;justify-content:flex-end;font-size:13px}
.t139-commission-label{color:var(--muted,#b9cfdf);font-size:12px}
@media(max-width:550px){.t139-service-row{align-items:flex-start;flex-wrap:wrap}.t139-service-row .t121-rate-input{margin-left:35px;justify-content:flex-start;width:calc(100% - 35px)}.t139-service-pick{flex-basis:100%}}
