/* Comprovantes V4.3 · estúdio verde metálico · no impacta otros módulos */
.cmp-screen{font-family:Inter,Manrope,Arial,sans-serif;color:#123d2e;line-height:1.5}
.cmp-screen-top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.cmp-screen-top h2{font-size:clamp(22px,3vw,31px);margin:0 0 5px;letter-spacing:-.04em;color:#064835}
.cmp-screen-top p,.cmp-screen p{font-size:14px;color:#476a5a;line-height:1.55;margin:5px 0 0}
.cmp-screen button,.cmp-screen a{font:700 13px Inter,Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 12px;border-radius:11px;border:1px solid #add6bd;color:#0b6344;background:#fff;cursor:pointer;text-decoration:none;white-space:normal;min-height:37px;transition:background .18s,transform .18s}
.cmp-screen button:hover:not(:disabled),.cmp-screen a:hover{background:#e1f8e9;transform:translateY(-1px)}
.cmp-screen .cmp-main,.cmp-dialog .cmp-main{background:linear-gradient(125deg,#08734f,#0bb979);color:#fff;border:1px solid #36d19a;box-shadow:inset 0 1px 1px #ffffff75,0 8px 17px #03634224}
.cmp-screen button:disabled,.cmp-dialog button:disabled{opacity:.45;cursor:not-allowed}
.cmp-section{border:1px solid #c6e1d2;border-radius:18px;background:linear-gradient(145deg,#fff,#f3faf6);padding:20px;margin:18px 0;box-shadow:0 7px 21px #0f583008}
.cmp-section h3{font-size:19px;letter-spacing:-.025em;color:#0c513c;margin:0 0 10px}
.cmp-model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(214px,1fr));gap:13px}
.cmp-model-card{border:1px solid #c3e1cd;background:#fff;padding:16px;border-radius:15px;display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:0 4px 10px #025c2610}
.cmp-model-icon{font-size:24px;color:#10a16a}.cmp-model-meta{display:grid;gap:5px}
.cmp-model-meta strong{font-size:15px;color:#0d503b}.cmp-model-meta small{font-size:11px;color:#648475}
.cmp-pill{align-self:flex-start;display:inline-flex;background:#def9e7;color:#03623c;padding:3px 9px;border-radius:99px;font-size:11px;font-weight:800}
.cmp-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cmp-model-card .cmp-actions{margin-top:auto}
.cmp-tip{font-size:12px!important;background:#e9f7ed;padding:10px 13px;border-radius:10px;margin-top:13px!important}
.cmp-acad-box{background:linear-gradient(120deg,#e8f7f0,#fff);border-color:#91d3b1}
.cmp-acad-box>button{margin:12px 0}
.cmp-table-wrap{overflow:auto;max-height:460px;border:1px solid #d1e9dd;border-radius:12px}
.cmp-table{width:100%;min-width:820px;border-collapse:collapse;font-size:12px;color:#1a4537}
.cmp-table th,.cmp-table td{padding:12px 9px;text-align:left;border-bottom:1px solid #e2efe7;vertical-align:middle}
.cmp-table th{background:#ecf8f1;position:sticky;top:0;font-weight:800}
.cmp-table tr:hover td,.cmp-table .cmp-active-row td{background:#eef9f2}
.cmp-quick-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.cmp-quick-controls label{display:grid;font-size:12px;font-weight:750;gap:6px;min-width:200px}
.cmp-quick-controls select{border:1px solid #c3ded0;border-radius:9px;padding:10px;font:14px Inter,Arial}
.cmp-preview-wrap{background:repeating-linear-gradient(45deg,#e4eee7 0 12px,#eaf3ed 12px 24px);border-radius:12px;padding:22px;max-height:650px;overflow:auto;display:flex;justify-content:center;align-items:flex-start}
.cmp-loading{padding:30px;text-align:center}
body.cmp-modal-open{overflow:hidden}
.cmp-modal-root{position:fixed;inset:0;z-index:9999999;background:rgba(1,27,17,.83);padding:1.6vh 1.5vw;display:flex;align-items:center;justify-content:center;font-family:Inter,Arial,sans-serif;color:#123d2e}
.cmp-dialog{width:min(1480px,100%);height:96vh;max-height:1100px;display:flex;flex-direction:column;overflow:hidden;background:#f2f8f4;border:1px solid #7cba9c;border-radius:21px;box-shadow:0 35px 70px #00150b88}
.cmp-modal-head{padding:15px 21px;background:linear-gradient(108deg,#033326,#087954 85%,#17b881);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.cmp-modal-head b{display:block;font-size:19px}.cmp-modal-head small{display:block;color:#d4ffe3;font-size:12px;margin-top:4px}
.cmp-modal-head button{background:#ffffff24;border:1px solid #ffffff66;border-radius:9px;color:#fff;cursor:pointer;font-size:20px;min-width:38px;min-height:36px}
.cmp-modal-columns{flex:1;min-height:0;display:grid;grid-template-columns:minmax(280px,1.04fr) minmax(320px,.96fr)}
.cmp-left{min-width:0;min-height:0;display:flex;flex-direction:column;padding:18px;background:#e6f2eb}
.cmp-preview-top{display:flex;justify-content:space-between;gap:10px;color:#0c6247;padding-bottom:13px;font-size:13px}
.cmp-preview-top span{border-radius:30px;padding:3px 8px;background:#d3ebde;font-size:11px;font-weight:750}
.cmp-preview-scroll{min-height:0;flex:1;border:1px solid #c2d6c8;border-radius:13px;overflow:auto;padding:22px 10px;background:repeating-linear-gradient(-45deg,#e3e9e5 0 14px,#edf1ed 14px 28px);display:flex;align-items:flex-start;justify-content:center}
.cmp-preview-scroll .cmp-paper{flex-shrink:0;max-width:none}
.cmp-right{min-height:0;overflow:auto;padding:18px;display:grid;gap:15px;align-content:start}
.cmp-panel{background:#fff;border:1px solid #c9e4d5;border-radius:15px;padding:18px;min-width:0}
.cmp-panel h3{color:#0b5a40;font-size:16px;margin:0 0 13px}
.cmp-dialog button{font:750 12px Inter,Arial;min-height:35px;padding:9px 12px;border-radius:9px;cursor:pointer;border:1px solid #b9d9c7;background:#edf9f1;color:#0a6240}
.cmp-dialog button:hover:not(:disabled){background:#d8f3e2}
.cmp-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cmp-field{display:grid;gap:6px;min-width:0}.cmp-field span{font-size:12px;color:#365e4d;font-weight:750}
.cmp-field input:not([type=file]):not([type=range]),.cmp-field select,.cmp-field textarea{width:100%;box-sizing:border-box;min-height:38px;padding:9px 10px;border-radius:9px;border:1px solid #bcdac7;background:#fbfefc;color:#113d2e;font:14px Inter,Arial;max-width:100%}
.cmp-field input[type=file]{font-size:12px;width:100%}.cmp-field input[type=range]{width:100%}
.cmp-field input[type=color]{padding:4px!important;height:38px}.cmp-span{grid-column:1/-1}
.cmp-check{display:flex;align-items:center;gap:8px;color:#315b49;font-size:13px;font-weight:720}
.cmp-check input{width:16px;height:16px;accent-color:#0b8254}
.cmp-prop-actions{margin-top:14px}.cmp-danger{background:#ffeded!important;color:#a32121!important;border-color:#f7c2c2!important}
.cmp-modal-foot{padding:12px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex-shrink:0;border-top:1px solid #c4dfcb;background:#fff}
.cmp-modal-foot span{font-size:11px;color:#567666;max-width:460px}.cmp-modal-foot .cmp-actions{margin-left:auto}
@media(max-width:830px){.cmp-modal-root{padding:0}.cmp-dialog{border-radius:0;height:100dvh;max-height:none}.cmp-modal-columns{display:flex;flex-direction:column;overflow:auto}.cmp-left{flex:none;min-height:350px;height:45vh;padding:12px}.cmp-right{overflow:visible;padding:12px}.cmp-modal-foot{padding:9px}.cmp-modal-foot span{display:none}.cmp-modal-foot .cmp-actions{width:100%;justify-content:center}.cmp-modal-foot button{font-size:11px;padding:8px 7px}}
@media(max-width:440px){.cmp-editor-grid{grid-template-columns:1fr 1fr;gap:8px}.cmp-dialog .cmp-panel{padding:12px}.cmp-modal-head b{font-size:15px}.cmp-modal-head small{font-size:10px}.cmp-screen .cmp-section{padding:12px}}
