.selecao-dado-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.selecao-dado-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:90vw;width:720px;max-height:85vh;display:flex;flex-direction:column}.selecao-dado-modal-header{padding:1rem 1.25rem;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.selecao-dado-modal-header h3{margin:0;font-size:1.1rem;color:#333}.selecao-dado-modal-close{background:none;border:none;font-size:1.5rem;line-height:1;color:#666;cursor:pointer;padding:.25rem}.selecao-dado-modal-close:hover{color:#333}.selecao-dado-modal-body{padding:1rem 1.25rem;overflow:auto;flex:1;min-height:0}.selecao-dado-modal-loading,.selecao-dado-modal-error{text-align:center;padding:2rem;color:#666}.selecao-dado-modal-error{color:#c33}.selecao-dado-search{margin-bottom:1rem}.selecao-dado-search input{width:100%;padding:.5rem .75rem;border:1px solid #ccc;border-radius:6px;font-size:.95rem}.selecao-dado-search input:focus{outline:none;border-color:#06c;box-shadow:0 0 0 2px #06c3}.selecao-dado-table-wrap{overflow:auto;max-height:60vh;border:1px solid #e0e0e0;border-radius:6px}.selecao-dado-table{width:100%;border-collapse:collapse;font-size:.9rem}.selecao-dado-table th{background:#f5f5f5;padding:.6rem .75rem;text-align:left;font-weight:600;color:#444;position:sticky;top:0;z-index:1}.selecao-dado-table td{padding:.5rem .75rem;border-bottom:1px solid #eee}.selecao-dado-table tbody tr{cursor:pointer;transition:background .15s}.selecao-dado-table tbody tr:hover{background:#e8f4fc}.selecao-dado-table tbody tr:active{background:#cce5f7}.selecao-dado-modal-footer{padding:.75rem 1.25rem;border-top:1px solid #e0e0e0;flex-shrink:0;text-align:right}.selecao-dado-modal-footer button{padding:.5rem 1rem;border-radius:6px;border:1px solid #ccc;background:#f5f5f5;cursor:pointer;font-size:.9rem}.selecao-dado-modal-footer button:hover{background:#e8e8e8}.selecao-dado-empty{padding:2rem;text-align:center;color:#888}.toast-container{position:fixed;top:1rem;right:1rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem;pointer-events:none}.toast{position:relative;pointer-events:auto;min-width:280px;max-width:420px;padding:1rem 2.25rem 1rem 1.25rem;border-radius:8px;box-shadow:0 4px 12px #00000026;animation:toast-slide-in .3s ease-out;color:#fff;font-size:.9375rem;line-height:1.4}.toast__close{position:absolute;top:.5rem;right:.5rem;width:1.75rem;height:1.75rem;padding:0;border:none;background:#ffffff40;color:#fff;font-size:1.25rem;line-height:1;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.toast__close:hover{background:#fff6}.toast--success{background:linear-gradient(135deg,#2e7d32,#1b5e20);border:1px solid rgba(255,255,255,.2)}.toast--error{background:linear-gradient(135deg,#c62828,#b71c1c);border:1px solid rgba(255,255,255,.2)}.toast__title{font-weight:600;margin-bottom:.25rem}.toast__message{opacity:.95}@keyframes toast-slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.login-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#0d7a3a,#2d6b3f);padding:2rem}.login-card{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;width:100%;max-width:450px;padding:2.5rem;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{color:#0d7a3a;font-size:2rem;margin-bottom:.5rem;font-weight:700}.login-header p{color:#2d6b3f;font-size:1rem;font-weight:500}.login-header .login-sub{font-size:.9rem;color:#666;margin-top:.25rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.login-error{background:#fee;border:2px solid #fcc;color:#c33;padding:.75rem 1rem;border-radius:6px;font-size:.9rem;text-align:center}.form-group label{font-weight:600;color:#555;font-size:.9rem}.form-group input,.form-group select{padding:.875rem;border:2px solid #ddd;border-radius:6px;font-size:1rem;transition:all .3s;font-family:inherit}.form-group input:focus,.form-group select:focus{outline:none;border-color:#0d7a3a;box-shadow:0 0 0 3px #0d7a3a1a}.form-group input:disabled,.form-group select:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.7}.form-help{font-size:.8rem;color:#777;margin-top:.25rem;font-style:italic}.login-button{background:#fc0;color:#0d7a3a;border:none;padding:1rem;border-radius:6px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;margin-top:.5rem}.login-button:hover:not(:disabled){background:#ffd633;transform:translateY(-2px);box-shadow:0 4px 12px #fc06}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.login-footer{margin-top:1.5rem;text-align:center;padding-top:1.5rem;border-top:1px solid #eee}.login-footer p{font-size:.85rem;color:#999;margin:0}.app{height:100vh;min-height:100vh;display:flex;flex-direction:column;overflow:hidden}.app-header{background:linear-gradient(135deg,#0d7a3a,#2d6b3f);color:#fff;padding:.75rem 1.25rem;box-shadow:0 2px 10px #0000001a;flex-shrink:0}.header-top{display:flex;justify-content:space-between;align-items:center;gap:2rem}.header-top>div:first-child{flex:1}.app-header h1{font-size:1.5rem;margin-bottom:.15rem;text-align:left}.app-header p{font-size:.85rem;opacity:.9;text-align:left}.user-info-section{display:flex;align-items:center;gap:1.5rem;flex-shrink:0}.user-info{display:flex;align-items:center;gap:.5rem;background:#fff3;padding:.5rem 1rem;border-radius:6px;border:1px solid rgba(255,255,255,.3)}.user-label{font-size:.9rem;opacity:.9;font-weight:500}.user-name{font-size:1rem;font-weight:600;color:#fff}.logout-button{background:#fc0;color:#0d7a3a;border:2px solid #FFCC00;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s;white-space:nowrap}.logout-button:hover{background:#ffd633;border-color:#ffd633;transform:translateY(-1px);box-shadow:0 2px 8px #ffcc004d}.app-main{flex:1;min-height:0;padding:.75rem 1rem;width:100%;overflow:hidden}.content-wrapper{display:flex;flex-direction:row;gap:1rem;height:100%;min-height:0;overflow:hidden}@media (max-width: 968px){.content-wrapper{flex-direction:column}}.form-section{background:#fff;padding:1rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.form-section .solicitacao-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.form-layout-row{display:flex;flex-direction:row;gap:1rem;flex:1;min-height:0;overflow:hidden}.form-fields-left{flex:0 0 auto;width:200px;min-width:180px;overflow-y:auto;overflow-x:hidden}.form-fields-left .form-section-header{display:flex;flex-direction:column;gap:.6rem;padding:.75rem;background:#f5f5f5;border-radius:8px}.form-fields-left .form-section-header.empresa-filial-section{padding:.4rem .5rem;gap:.25rem;background:#f8f8f8;border-radius:6px}.form-fields-left .empresa-filial-loading-msg{margin:0;color:#666;font-size:.7rem}.empresa-filial-row{display:flex;gap:.5rem;align-items:flex-end}.form-fields-left .form-section-header .form-group label{font-size:.8rem}.form-fields-left .empresa-filial-section .form-group label{font-size:.7rem;color:#555}.form-items-right{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}.items-panel{background:#fff;border:1px solid #e8e8e8;border-radius:8px;padding:1rem;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.items-panel-submit{display:flex;align-items:center;gap:.75rem;flex-shrink:0;flex-wrap:wrap}.empresa-filial-inline{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.empresa-filial-inline .empresa-filial-loading-msg{margin:0;color:#666;font-size:.7rem}.empresa-filial-inline .empresa-filial-row{display:flex;gap:.5rem;align-items:flex-end}.empresa-filial-inline .form-group label{font-size:.85rem;color:#555}.items-panel-submit-right{display:flex;align-items:center;gap:.75rem;margin-left:auto}.items-panel-submit-msg{color:#c33;margin:0;font-size:.9rem}.items-panel .tabs{flex-shrink:0}.items-panel .form-scroll-area,.form-section .solicitacao-form .form-scroll-area{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.list-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #eee}.actions button{background:#0d7a3a;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .3s}.actions button:hover{background:#2d6b3f}.actions button:disabled{background:#ccc;cursor:not-allowed}.total-value{font-size:1.2rem;font-weight:700;color:#0d7a3a}.product-form{display:flex;flex-direction:column;gap:1rem}.product-form h2{margin-bottom:1rem;color:#333}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#555}.form-group input,.form-group textarea{padding:.75rem;border:2px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .3s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#0d7a3a;box-shadow:0 0 0 3px #0d7a3a1a}.form-group textarea{resize:vertical;min-height:100px}.form-field-with-select{display:flex;gap:.5rem;align-items:stretch}.form-field-with-select input{flex:1;min-width:0}.btn-selecionar-dado{flex-shrink:0;padding:.5rem .75rem;background:#0d7a3a;color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;white-space:nowrap}.btn-selecionar-dado:hover{background:#0a5f2d}.input-selecionar{cursor:pointer;background-color:#fff}.input-selecionar:focus{outline:none;border-color:#0d7a3a}.product-form button{background:#0d7a3a;color:#fff;border:none;padding:1rem;border-radius:6px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background .3s;margin-top:.5rem}.product-form button:hover{background:#2d6b3f}.product-list h2{margin-bottom:1.5rem;color:#333}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.product-card{border:2px solid #eee;border-radius:8px;padding:1.5rem;transition:transform .2s,box-shadow .2s;background:#fafafa}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0d7a3a33;border-color:#0d7a3a}.product-card h3{color:#333;margin-bottom:.75rem;font-size:1.3rem}.product-card .description{color:#666;margin-bottom:1rem;line-height:1.5}.product-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;font-size:.9rem;color:#777}.product-card .price{font-size:1.5rem;font-weight:700;color:#0d7a3a;margin-top:1rem;padding-top:1rem;border-top:2px solid #eee}.loading-container,.error-container,.empty-container{text-align:center;padding:3rem;color:#666}.error-container{background:#fee;border:2px solid #fcc;border-radius:8px;color:#c33}.error-message{margin-bottom:1rem;font-weight:600}.error-container button{background:#c33;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer}.error-container button:hover{background:#a22}.response-section{background:#fff;padding:1rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;flex:2;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden}.solicitacao-form{display:flex;flex-direction:column;gap:.75rem}.solicitacao-form h2{margin:0 0 .5rem;font-size:1.15rem;color:#333;border-bottom:2px solid #0d7a3a;padding-bottom:.4rem;flex-shrink:0}.form-section-header{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem .75rem;padding:.6rem .8rem;background:#f9f9f9;border-radius:6px;flex-shrink:0}@media (max-width: 900px){.form-layout-row{flex-direction:column}.form-fields-left{width:100%;min-width:0}.form-fields-left .form-section-header:not(.empresa-filial-section){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.empresa-filial-row{max-width:10rem}}.form-section-header .form-group{gap:.25rem}.form-section-header .form-group label{font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.form-section-header .form-group input{padding:.4rem .5rem;font-size:.85rem}.empresa-filial-field{flex:1;min-width:150px;gap:.15rem}.empresa-filial-field .empresa-filial-select{width:100%;max-width:10.5rem;padding:.25rem .35rem;font-size:.8rem;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;transition:border-color .2s}.empresa-filial-select:focus{outline:none;border-color:#0d7a3a;box-shadow:0 0 0 1px #0d7a3a33}.empresa-filial-select:disabled{background:#f0f0f0;cursor:not-allowed}.tabs{display:flex;gap:.5rem;border-bottom:2px solid #eee;margin-bottom:.5rem;flex-shrink:0}.tabs button{background:transparent;border:none;padding:.5rem 1rem;cursor:pointer;font-size:.9rem;color:#666;border-bottom:3px solid transparent;transition:all .3s}.tabs button:hover{color:#0d7a3a;background:#f5f5f5}.tabs button.active{color:#0d7a3a;border-bottom-color:#0d7a3a;font-weight:600}.items-section{display:flex;flex-direction:column;gap:.75rem;flex:1;min-height:0}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;flex-shrink:0}.section-header h3{color:#333;margin:0;font-size:1rem}.btn-add{background:#0d7a3a;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .3s}.btn-add:hover{background:#2d6b3f}.item-card{border:2px solid #e0e0e0;border-radius:8px;padding:.75rem 1rem;background:#fafafa;transition:border-color .3s;flex-shrink:0}.item-card:hover{border-color:#0d7a3a}.item-card-collapsible{padding:0;overflow:hidden}.item-card-collapsible .item-header-toggle{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:.6rem .75rem;-webkit-user-select:none;user-select:none;transition:background .2s}.item-card-collapsible .item-header-toggle:hover{background:#f0f0f0}.item-card-collapsible .item-header-toggle .item-summary{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-card-collapsible .item-header-toggle .item-chevron{flex-shrink:0;font-size:.7rem;color:#0d7a3a}.item-card-collapsible .item-fields{padding:.75rem 1rem;border-top:1px solid #e8e8e8;background:#fafafa}.item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #ddd}.item-header h4{margin:0;color:#333}.btn-remove{background:#dc3545;color:#fff;border:none;padding:.4rem .8rem;border-radius:6px;cursor:pointer;font-size:.85rem;transition:background .3s}.btn-remove:hover{background:#c82333}.item-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem .75rem}.item-fields .form-group{gap:.2rem}.item-fields .form-group label{font-size:.75rem}.item-fields .form-group input{padding:.35rem .5rem;font-size:.85rem}.item-fields .form-group--error label{color:#b91c1c;font-weight:700}.item-fields .form-group--error input,.item-fields .form-group--error textarea{border-color:#b91c1c;background-color:#fef2f2;box-shadow:0 0 0 1px #b91c1c}.item-fields .form-group--error input:focus,.item-fields .form-group--error textarea:focus{border-color:#b91c1c;box-shadow:0 0 0 2px #b91c1c40}.item-fields .form-group-observacao{grid-column:1 / -1}.item-fields .form-group-observacao textarea{min-height:100px;resize:vertical;padding:.5rem .75rem;font-size:.9rem}.form-error{background:#fef2f2;border:2px solid #fecaca;color:#b91c1c;padding:1rem 1.25rem;border-radius:8px;margin-bottom:1rem;max-height:180px;display:flex;flex-direction:column;overflow:hidden}.form-error__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.form-error__header strong{font-size:1rem}.form-error__close{flex-shrink:0;background:#b91c1c;color:#fff;border:none;padding:.4rem .75rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.form-error__close:hover{background:#991b1b}.form-error__list{margin:0;padding-left:1.25rem;list-style:disc;line-height:1.5;font-size:.9rem;max-height:180px;overflow-y:auto;flex-shrink:1}.form-error__list li{margin-bottom:.25rem}.form-error__list li:last-child{margin-bottom:0}.btn-submit{background:#0d7a3a;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s;margin-top:.5rem;flex-shrink:0}.btn-submit:hover:not(:disabled){background:#2d6b3f}.btn-submit:disabled{background:#ccc;cursor:not-allowed}.response-container{padding:1.5rem;border-radius:8px;margin-bottom:1rem}.response-container.success{background:#e6f5eb;border:2px solid #0d7a3a;color:#0a4d1a}.response-container.error{background:#f8d7da;border:2px solid #f5c6cb;color:#721c24}.response-container h3{margin-top:0;margin-bottom:1rem}.response-details{margin:1rem 0}.response-details p{margin:.5rem 0}.retorno-list{margin-top:1rem;padding:1rem;background:#ffffff80;border-radius:6px}.retorno-list h4{margin-top:0;margin-bottom:.75rem}.retorno-item{margin:.75rem 0;padding:.75rem;background:#ffffffb3;border-radius:4px}.retorno-item ul{margin:.5rem 0 0 1.5rem;padding:0}.retorno-item li{margin:.25rem 0}.response-actions{display:flex;gap:1rem;margin-top:1rem}.response-container button,.response-actions button{background:#0d7a3a;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .3s}.response-container button:hover,.response-actions button:hover{background:#2d6b3f}.btn-view-errors{background:#dc3545!important}.btn-view-errors:hover{background:#c82333!important}.response-container.error button{background:#dc3545}.response-container.error button:hover{background:#c82333}.async-notice{background:#fff9e6;border:2px solid #FFCC00;border-radius:6px;padding:1rem;margin-bottom:1rem;color:#2d6b3f}.async-notice p{margin:0;font-size:.95rem;line-height:1.5}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333}#root{height:100%;overflow:hidden}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
