.internal-supplies-page{--supply:#b83f7d;--supply-soft:#fff0f7;--supply-blue:#6797e9;display:grid;gap:18px}
.supply-tabs{display:flex;gap:8px;padding:7px;background:rgba(255,255,255,.82);border:1px solid #efd5e3;border-radius:18px;box-shadow:0 8px 24px rgba(105,49,78,.07);overflow-x:auto;scrollbar-width:none}
.supply-tabs::-webkit-scrollbar{display:none}.supply-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:max-content;padding:11px 15px;border:0;border-radius:13px;background:transparent;color:#745767;font-weight:750}.supply-tabs button i{font-style:normal;font-size:17px}.supply-tabs button.active{color:#fff;background:linear-gradient(135deg,#d84f91,#a93a75);box-shadow:0 7px 17px rgba(184,63,125,.25)}
.supply-content{display:grid;gap:18px}.supply-loading{padding:34px;text-align:center;color:#7d6672}.supply-kpis,.supply-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.supply-kpis article,.supply-report-summary article{position:relative;display:grid;gap:5px;min-height:138px;padding:20px;border:1px solid #efdbe5;border-radius:18px;background:linear-gradient(145deg,#fff,#fff8fb);box-shadow:0 9px 25px rgba(97,46,72,.07);overflow:hidden}.supply-kpis article>i{position:absolute;right:16px;top:14px;font-style:normal;font-size:26px;filter:saturate(.85)}.supply-kpis small,.supply-report-summary small{font-size:10px;font-weight:850;letter-spacing:.09em;color:#8b687a}.supply-kpis b,.supply-report-summary b{font-size:29px;line-height:1;color:#5f3d50}.supply-kpis span,.supply-report-summary span{font-size:12px;color:#927888}.supply-kpis .attention{border-color:#efc1c1;background:linear-gradient(145deg,#fff,#fff4f3)}.receiver-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.supply-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.supply-section{padding:20px}.supply-chart{display:grid;gap:14px}.supply-chart>div{display:grid;gap:7px}.supply-chart span{display:flex;justify-content:space-between;gap:10px}.supply-chart span small{color:#866b79}.supply-chart>div>i{height:9px;border-radius:99px;background:#f5e4ec;overflow:hidden}.supply-chart em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e768a5,#739de6)}.supply-alerts{display:grid;gap:10px}.supply-alerts article{display:flex;align-items:center;gap:10px;padding:11px;background:#fff7f7;border:1px solid #f2dada;border-radius:13px}.supply-alerts article>i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e36d73;color:#fff;font-style:normal;font-weight:900}.supply-alerts span{display:grid}.supply-alerts small{color:#8c737f}.supply-ok{padding:18px;border-radius:14px;background:#f1fbf6;color:#347556;text-align:center;font-weight:750}.supply-guidance{font-size:15px;line-height:1.7;color:#735a68}
.supply-request-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:18px}.supply-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.supply-product{display:grid;grid-template-columns:60px minmax(0,1fr);gap:13px;padding:16px;border:1px solid #ecd8e2;border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(91,43,67,.055);cursor:pointer;transition:.18s ease}.supply-product:hover{transform:translateY(-2px);border-color:#dfa8c2}.supply-product.is-selected{border-color:#d75c96;background:linear-gradient(145deg,#fff,#fff1f7);box-shadow:0 9px 24px rgba(184,63,125,.13)}.supply-product-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:linear-gradient(145deg,#ffe5f1,#eef4ff);font-size:27px;overflow:hidden}.supply-product-icon img{width:100%;height:100%;object-fit:cover}.supply-product small{font-size:9px;letter-spacing:.08em;color:#9a7488}.supply-product h3{margin:4px 0;font-size:16px;color:#58384a}.supply-product p{margin:0;color:#8a7280;font-size:12px;line-height:1.4}.supply-select-button{grid-column:1/-1;padding:9px;border:1px solid #e8cbd9;border-radius:11px;background:#fff;color:#af3e76;font-weight:800}.is-selected .supply-select-button{background:#bd477f;color:#fff;border-color:#bd477f}.supply-summary{position:sticky;top:18px;display:grid;gap:11px;padding:20px}.supply-summary>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed #ead6e0}.supply-summary>div b{font-size:11px;color:#b13e77}.supply-summary label{display:grid;gap:5px}.supply-no-quantity{padding:11px;border-radius:12px;background:#f6f9ff;color:#63718a;font-size:12px;line-height:1.5}
.supply-list,.receipt-list{display:grid;gap:11px}.supply-request,.receipt-card{display:grid;grid-template-columns:130px minmax(170px,1fr) 130px 145px auto;align-items:center;gap:15px;padding:16px 18px;border:1px solid #ead8e1;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(87,42,64,.05);cursor:pointer;transition:.16s ease}.supply-request:hover,.receipt-card:hover{transform:translateY(-1px);border-color:#daa3bd}.supply-request>div,.receipt-card>div{display:grid;gap:3px}.supply-request small,.receipt-card small{font-size:9px;letter-spacing:.07em;color:#9a7a8a}.supply-request b,.receipt-card b{color:#5f4051}.priority-urgent{color:#c43c46!important}.priority-important{color:#d28421!important}.priority-normal{color:#567dbb!important}.receipt-card{grid-template-columns:54px minmax(190px,1fr) 90px 130px auto}.receipt-symbol{display:grid!important;place-items:center;width:47px;height:47px;border-radius:14px;background:#fff0f7;font-size:24px}.receipt-card.is-cancelled{opacity:.64}
.supply-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border:1px solid #ead6e0;border-radius:18px;background:linear-gradient(135deg,#fff,#fff4f9);box-shadow:0 8px 24px rgba(90,42,65,.06)}.supply-receipt-head h2{margin:3px 0 5px;color:#5b394c}.supply-receipt-head span{color:#876d7b;font-size:13px}.supply-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.supply-catalog>article{display:grid;grid-template-columns:58px 1fr;gap:13px;padding:17px}.supply-catalog h3{margin:5px 0}.supply-catalog p{color:#876f7d;font-size:12px}.supply-catalog dl{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.supply-catalog dl div{padding:10px;border-radius:11px;background:#fff6fa}.supply-catalog dt{font-size:9px;color:#987687}.supply-catalog dd{margin:3px 0 0;font-weight:800;color:#634457}.supply-catalog button{grid-column:1/-1}
.supply-filters{display:flex;align-items:end;gap:12px;padding:16px}.supply-filters label{display:grid;gap:5px}.supply-table{width:100%;border-collapse:collapse}.supply-table th,.supply-table td{padding:13px 12px;border-bottom:1px solid #efe1e8;text-align:left}.supply-table th{font-size:10px;letter-spacing:.07em;color:#886777;background:#fff8fb}.supply-table td{font-size:13px;color:#634d59}.supply-table td:first-child{display:grid}.supply-table td small{color:#9b8390}.supply-table tbody tr:hover{background:#fffbfd}
.price-history-table{min-width:1120px}.price-variation{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800}.price-variation.up{color:#a23c58;background:#fff0f4}.price-variation.down{color:#247458;background:#eaf8f1}.price-variation.stable{color:#75636d;background:#f3eef1}
.permanent-delete{margin-top:16px;border-color:#b4233f!important;background:#fff1f4!important;color:#9d1733!important}.permanent-delete:hover{background:#b4233f!important;color:#fff!important}.permanent-delete-note{display:block;margin-top:7px;text-align:center;color:#9a6d78;font-size:11px;line-height:1.45}
.supply-modal{max-width:760px}.compact-modal{max-width:480px}.supply-detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:16px}.supply-detail-meta>span{display:grid;gap:5px;padding:11px;border-radius:12px;background:#fff5f9}.supply-detail-meta small{font-size:9px;color:#967486;letter-spacing:.07em}.supply-detail-items{display:grid;gap:8px}.supply-detail-items article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:12px;border:1px solid #eddae4;border-radius:12px}.supply-detail-items article>div{display:grid}.supply-detail-items small{color:#927887}.request-item-state{padding:7px 9px;border-radius:99px;font-size:11px;font-weight:800}.request-item-state.bought{background:#edf9f2;color:#357052}.request-item-state.waiting{background:#fff6e8;color:#9a671e}.supply-note,.linked-receipts{display:grid;gap:6px;margin-top:13px;padding:13px;border-radius:12px;background:#fff6fa}.supply-note small,.linked-receipts>small{font-size:9px;letter-spacing:.08em;color:#966f82}.supply-note p{margin:0}.linked-receipts span{font-size:12px;color:#6f5663}.supply-actions{flex-wrap:wrap}.supply-approval-list{display:grid;gap:9px;margin-bottom:14px}.supply-approval-list article{display:grid;grid-template-columns:minmax(0,1fr) 130px 1fr;gap:10px;padding:12px;border:1px solid #ead7e1;border-radius:13px}.supply-approval-list article>div,.supply-approval-list label{display:grid;gap:4px}
.receipt-upload{max-width:570px}.receipt-drop{display:grid;place-items:center;gap:8px;padding:28px;border:2px dashed #dfa9c3;border-radius:18px;background:#fff7fb;text-align:center;cursor:pointer}.receipt-drop input{position:absolute;width:1px;height:1px;opacity:0}.receipt-drop i{font-style:normal;font-size:38px}.receipt-drop span{font-size:12px;color:#907581}.receipt-ai-info{display:flex;gap:12px;padding:14px;margin:14px 0;border-radius:14px;background:linear-gradient(135deg,#f3f6ff,#fff2f8)}.receipt-ai-info>i{font-style:normal;font-size:24px}.receipt-ai-info p{display:grid;gap:4px;margin:0}.receipt-ai-info span{font-size:12px;color:#6f6e82}.receipt-review{max-width:930px;max-height:92vh;overflow:auto}.receipt-warnings{display:grid;gap:4px;padding:12px;margin-bottom:13px;border-radius:12px;background:#fff6e5;color:#8b621c}.receipt-warnings span{font-size:12px}.receipt-link-banner{padding:12px;margin-bottom:13px;border-radius:12px;background:#eef6ff;color:#4d678a;font-weight:750}.receipt-main-fields{margin-bottom:17px}.receipt-date-alert{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;margin:-5px 0 17px;border:1px solid #efbd55;border-radius:13px;background:#fff7df;color:#76510b;font-size:13px;font-weight:700;line-height:1.45}.receipt-date-alert[hidden]{display:none}.receipt-date-alert i{font-style:normal;font-size:20px}.receipt-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.receipt-review-head h3{margin:3px 0 0}.receipt-review-item{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:13px;margin:10px 0;border:1px solid #ead7e1;border-radius:14px;background:#fffcfd}.receipt-review-item label{display:grid;gap:4px}.receipt-review-item .wide{grid-column:span 2}.receipt-review-item .danger{align-self:end}.receipt-auto-create-note,.receipt-cost-note{padding:11px;margin:10px 0;border-radius:11px;background:#f5f7fc;color:#697186;font-size:12px}.receipt-cost-note{text-align:right;background:#fff6fa;color:#8a6a7b}
@media(max-width:1100px){.supply-kpis,.supply-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.receiver-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.supply-request-layout{grid-template-columns:minmax(0,1fr) 300px}.supply-product-grid{grid-template-columns:1fr}.supply-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.supply-request{grid-template-columns:110px minmax(150px,1fr) 110px auto}.supply-request>div:nth-child(4){display:none}.receipt-review-item{grid-template-columns:repeat(2,minmax(0,1fr))}}
.supply-catalog-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.supply-catalog-actions button{grid-column:auto;width:100%}
@media(max-width:720px){.internal-supplies-page{gap:12px}.supply-tabs{margin-inline:-4px;padding:5px;border-radius:14px}.supply-tabs button{padding:9px 11px;font-size:11px}.supply-tabs button i{font-size:18px}.supply-kpis,.supply-report-summary,.receiver-kpis{grid-template-columns:1fr 1fr;gap:9px}.supply-kpis article,.supply-report-summary article{min-height:112px;padding:14px}.supply-kpis b,.supply-report-summary b{font-size:23px}.supply-grid{grid-template-columns:1fr}.supply-request-layout{grid-template-columns:1fr}.supply-summary{position:static;order:-1}.supply-product{grid-template-columns:50px minmax(0,1fr);padding:13px}.supply-product-icon{width:49px;height:49px}.supply-request,.receipt-card{grid-template-columns:1fr auto;gap:9px;padding:13px}.supply-request>div:first-child,.receipt-card>.receipt-symbol{display:none!important}.supply-request>div:nth-child(3),.supply-request>div:nth-child(4),.receipt-card>div:nth-child(3){display:none}.supply-request>.badge,.receipt-card>.badge{grid-column:2;grid-row:1}.supply-receipt-head{align-items:stretch;flex-direction:column;padding:16px}.supply-receipt-head button{width:100%}.supply-catalog{grid-template-columns:1fr}.supply-filters{display:grid;grid-template-columns:1fr 1fr}.supply-filters button{width:100%}.supply-detail-meta{grid-template-columns:1fr}.supply-detail-items article{grid-template-columns:1fr}.supply-approval-list article{grid-template-columns:1fr}.receipt-review{width:calc(100vw - 18px);padding:15px}.receipt-review-item{grid-template-columns:1fr}.receipt-review-item .wide{grid-column:span 1}.receipt-review-head{align-items:stretch;flex-direction:column}.receipt-review-head button{width:100%}.receipt-main-fields{grid-template-columns:1fr}.supply-table{min-width:680px}}
@media print{html.internal-supplies-printing .sidebar,html.internal-supplies-printing .topbar,html.internal-supplies-printing .page-head .head-actions,html.internal-supplies-printing .supply-tabs,html.internal-supplies-printing .supply-filters,html.internal-supplies-printing body>#modal,html.internal-supplies-printing body>#toast{display:none!important}html.internal-supplies-printing .content{margin:0!important;width:100%!important}html.internal-supplies-printing .internal-supplies-page{display:block}html.internal-supplies-printing .supply-report-summary{grid-template-columns:repeat(4,1fr);margin-bottom:16px}html.internal-supplies-printing .supply-table{font-size:8px;min-width:0!important;width:100%!important}html.internal-supplies-printing .supply-table th,html.internal-supplies-printing .supply-table td{padding:5px}html.internal-supplies-printing .card{box-shadow:none!important}}
/* Fotos do catálogo interno e das solicitações */
.internal-product-photo{display:grid;grid-template-columns:92px minmax(0,1fr);gap:16px;align-items:center;margin:18px 0;padding:14px;border:1px solid #ecd8e2;border-radius:16px;background:linear-gradient(135deg,#fffafd,#f7f9ff)}
.internal-product-photo>div{display:grid;place-items:center;width:92px;height:92px;overflow:hidden;border:1px solid #efdce5;border-radius:15px;background:#fff;font-size:34px}
.internal-product-photo>div img{width:100%;height:100%;object-fit:cover}
.internal-product-photo>label{display:grid;gap:7px;color:#62525c;font-size:10px}
.internal-product-photo>label small{color:#8a7280;font-size:9px}
.internal-product-photo .internal-remove-photo{grid-column:2;color:#a64957}
.supply-detail-items article{grid-template-columns:48px minmax(0,1fr) auto!important}
.supply-detail-photo{width:46px;height:46px;border:1px solid #efdce5;border-radius:11px;object-fit:cover}
.supply-detail-photo-fallback{display:grid;place-items:center;background:#fff6fa;font-size:21px}
@media(max-width:720px){.internal-product-photo{grid-template-columns:72px minmax(0,1fr);gap:12px}.internal-product-photo>div{width:72px;height:72px}.internal-product-photo .internal-remove-photo{grid-column:1/-1}}
.supply-detail-items article.has-resolution{grid-template-columns:48px minmax(0,1fr) minmax(150px,auto)!important}.request-item-resolution{display:grid;justify-items:end;gap:7px}.request-item-link-button{padding:6px 9px;border:1px solid #91b4e7;border-radius:10px;background:#f1f6ff;color:#356cae;font-size:.66rem;font-weight:850;cursor:pointer}.request-item-link-button:hover,.request-item-link-button:focus-visible{background:#e7f0ff;outline:2px solid rgba(70,119,186,.15);outline-offset:2px}.request-item-match-note{display:block;margin-top:5px;color:#4679b7;font-size:.66rem;font-style:normal;line-height:1.25}.supply-match-modal{max-width:720px;max-height:94vh;overflow:auto}.supply-match-target{display:grid;gap:5px;margin-bottom:14px;padding:14px 16px;border:1px solid #e8cddb;border-radius:16px;background:linear-gradient(135deg,#fff3f8,#f2f7ff)}.supply-match-target small{color:#a54474;font-size:.63rem;font-weight:900;letter-spacing:.09em}.supply-match-target b{color:#493640;font:700 1.15rem Georgia,serif}.supply-match-target span{color:#7e6c75;font-size:.75rem}.supply-match-options{display:grid;gap:9px;max-height:310px;overflow:auto;padding:2px}.supply-match-option{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;padding:12px 13px;border:1px solid #ecd7e1;border-radius:14px;background:#fff;cursor:pointer;transition:.16s ease}.supply-match-option:has(input:checked){border-color:#6f9edc;background:#f3f7ff;box-shadow:0 0 0 2px rgba(79,132,202,.12)}.supply-match-option input{width:18px;height:18px;margin-top:2px;accent-color:#4e83ca}.supply-match-option span{display:grid;gap:4px;min-width:0}.supply-match-option b{color:#493640;font-size:.84rem}.supply-match-option small{color:#76636d;font-size:.7rem}.supply-match-option em{color:#4474ad;font-size:.66rem;font-style:normal}.supply-match-empty{padding:18px;border:1px dashed #d9c8d0;border-radius:14px;background:#faf8f9;color:#796a71;font-size:.78rem;text-align:center}.supply-match-reason{display:grid;gap:6px;margin-top:14px;color:#725d68;font-size:.72rem;font-weight:800}.supply-match-reason textarea{min-height:76px}.supply-match-reason small{color:#8c7a83;font-size:.64rem;font-weight:500}
@media(max-width:640px){.supply-detail-items article.has-resolution{grid-template-columns:44px minmax(0,1fr)!important}.request-item-resolution{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;justify-items:start;width:100%;padding-top:8px;border-top:1px solid #f1e2e9}.request-item-link-button{justify-self:end}.supply-match-modal{width:calc(100vw - 18px);padding:16px}.supply-match-options{max-height:36vh}.supply-match-modal .form-actions{display:grid;grid-template-columns:1fr}.supply-match-modal .form-actions button{width:100%}}
