/* V8.107 Cadastros — mesmo visual Inter azul/branco, limitado à própria tela */
.g88-cadastros-screen{max-width:1180px;margin:0 auto;font-family:Inter,'Segoe UI',Arial,sans-serif;color:#19334a}.g88-cadastros-screen[hidden]{display:none!important}.gc-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 25px}.gc-header h1{font-size:30px;font-weight:750;margin:0 0 7px}.gc-header p{font-size:14px;color:#6c8395;margin:0}.gc-primary{background:#1768d4!important;border:1px solid #1768d4!important;border-radius:10px;color:#fff!important;padding:12px 18px;font-weight:700;cursor:pointer;white-space:nowrap;min-height:43px}.gc-primary:hover{background:#0d5ac0!important}.gc-panel{background:#fff;border:1px solid #dbe6f0;border-radius:15px;box-shadow:0 3px 12px rgba(25,55,80,.035);padding:20px}.gc-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.gc-search{display:flex;align-items:center;gap:9px;border:1px solid #cfdce8;border-radius:10px;max-width:510px;min-width:220px;flex:1;background:#fff;padding:0 12px}.gc-search span{font-size:26px;color:#4d7391;line-height:40px}.gc-search input{font:inherit;border:0;outline:0;min-width:0;width:100%;padding:12px 0;color:#1e3c50}.gc-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.gc-toolbar-actions button,.gc-actions button{border:1px solid #cddfee;border-radius:9px;background:#f3f8fd;color:#1564b9;font-size:12px;font-weight:700;cursor:pointer;padding:9px 11px}.gc-count{font-size:12px;color:#667e90;margin:14px 0 10px}.gc-table-scroll{overflow-x:auto}.gc-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.gc-table th{background:#f0f5fa;color:#48657a;font-size:11px;letter-spacing:.025em;padding:13px 12px;white-space:nowrap}.gc-table td{padding:13px 12px;border-bottom:1px solid #e6edf2;vertical-align:middle}.gc-table td b{display:block;color:#203d53;font-weight:700}.gc-table td small{display:block;font-size:11px;color:#8195a4;margin-top:4px}.gc-actions{text-align:right;white-space:nowrap}.gc-actions button{margin:2px}.gc-actions .gc-delete{background:#fff6f6;border-color:#f3d6d7;color:#ba4550}.gc-empty{text-align:center;padding:50px 16px;display:flex;flex-direction:column;gap:8px;color:#6c8395}.gc-empty strong{color:#244c6a}.gc-warning{font-size:12px;line-height:1.55;color:#8a610f;background:#fff9e9;border:1px solid #f3dfac;border-radius:9px;padding:12px 14px;margin-top:22px}.gc-danger{color:#ab2131!important;background:#fff0f1;border:1px solid #f6c7cd;padding:9px 11px;border-radius:8px;font-size:12px}.gc-modal:not([hidden]){position:fixed;inset:0;z-index:16000;background:rgba(8,27,43,.55);display:flex;align-items:center;justify-content:center;padding:16px}.gc-dialog{background:#fff;border-radius:15px;box-shadow:0 20px 60px #10243855;width:min(660px,100%);max-height:92vh;overflow:auto}.gc-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e3eaf2}.gc-dialog-head h2{font-size:19px;margin:0}.gc-dialog-head button{border:0;background:#eef5fa;border-radius:8px;font-size:24px;color:#466173;width:36px;height:36px;cursor:pointer}.gc-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 22px}.gc-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#344e63}.gc-field input,.gc-field textarea,.gc-field select{box-sizing:border-box;background:#fff;color:#1d394c;border:1px solid #cbd9e5;border-radius:9px;padding:11px 12px;font:400 13px Inter,'Segoe UI',Arial,sans-serif;width:100%;min-height:42px}.gc-field textarea{resize:vertical}.gc-wide{grid-column:1/-1}.gc-footer{padding:16px 22px;border-top:1px solid #e3eaf2;display:flex;justify-content:flex-end;gap:10px}.gc-footer>button:first-child{border:1px solid #cbd9e5;background:#fff;color:#344e63;border-radius:9px;padding:10px 17px;cursor:pointer;font-weight:700}#gcFormError{margin:0 22px 14px}@media(max-width:740px){.gc-header{align-items:flex-start;flex-direction:column}.gc-header .gc-primary{width:100%}.gc-panel{padding:12px}.gc-toolbar-actions{width:100%}.gc-toolbar-actions button{flex:1}.gc-fields{grid-template-columns:1fr}.gc-wide{grid-column:auto}.gc-table{min-width:640px}.gc-header h1{font-size:25px}}

/* V8.108: os modais originais de Vendas são também usados em Cadastros. */
.g88-modal .g88-modal-card{max-height:min(92vh,850px);overflow-y:auto;font-family:Inter,'Segoe UI',Arial,sans-serif}
.g88-modal .g88-modal-card textarea.g88-input{width:100%;resize:vertical;min-height:70px}
.g88-modal .g88-modal-card select.g88-input{width:100%;background:#fff}
