.procurement-kanban-view{min-width:0;color:#f5f9ff;background:radial-gradient(circle at 82% 0,rgba(37,112,178,.22),transparent 38%),linear-gradient(145deg,#06192d,#092844 68%,#06182a);min-height:100%;padding:24px}
#view-procurementKanban{margin:-24px;min-height:calc(100vh - 68px)}
.procurement-kanban-board{cursor:grab;scroll-behavior:smooth;overscroll-behavior-inline:contain}
.procurement-kanban-board.is-mouse-dragging{cursor:grabbing;scroll-behavior:auto;user-select:none}
.procurement-kanban-board button,.procurement-kanban-board a{cursor:pointer}
.procurement-kanban-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 30px;border:1px solid rgba(87,166,226,.48);border-left:6px solid #ffae19;border-radius:18px;background:linear-gradient(120deg,rgba(7,35,63,.95),rgba(16,58,93,.86));box-shadow:0 18px 38px rgba(0,0,0,.2)}
.procurement-kanban-hero p{margin:0 0 8px;color:#ffb52b;font-size:.76rem;font-weight:800;letter-spacing:.16em}
.procurement-kanban-hero h1{margin:0;font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.05}
.procurement-kanban-hero span:not(.procurement-kanban-mode){display:block;margin-top:10px;color:#bed3e8}
.procurement-kanban-mode{flex:none;padding:10px 15px;border:1px solid #4986b5;border-radius:12px;color:#bfe2ff;font-weight:700}
.procurement-kanban-toolbar{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(150px,.65fr) minmax(160px,.8fr) auto;gap:12px;align-items:end;margin:18px 0;padding:16px;border:1px solid rgba(87,166,226,.42);border-radius:16px;background:rgba(8,40,68,.9)}
.procurement-kanban-supplier .procurement-kanban-toolbar{grid-template-columns:minmax(220px,1fr) auto}
.procurement-kanban-toolbar label{display:grid;gap:6px;color:#dceafa;font-weight:700;font-size:.78rem}
.procurement-kanban-toolbar input,.procurement-kanban-toolbar select{min-height:42px;border:1px solid #497da7;border-radius:9px;background:#0c3354;color:#fff;padding:0 12px}
.procurement-kanban-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}
.procurement-kanban-status{margin:8px 2px 12px;color:#a9c5dd;font-size:.82rem}
.procurement-kanban-board{display:grid;grid-auto-flow:column;grid-auto-columns:286px;gap:12px;align-items:start;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 2px 18px;scrollbar-color:#3b7ca9 #071a2d}
.procurement-kanban-column{min-height:510px;border:1px solid rgba(76,137,182,.48);border-radius:14px;background:rgba(6,31,54,.88);overflow:hidden}
.procurement-kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;background:linear-gradient(135deg,#0e4770,#102e51);border-bottom:2px solid #4b8bb8}
.procurement-kanban-column>header h2{margin:0;color:#fff;font-size:.92rem}.procurement-kanban-column>header span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#315d83;color:#fff;font-size:.75rem;font-weight:800}
.procurement-column-approvals>header,.procurement-column-quotation>header{border-color:#ffad17}.procurement-column-finance>header,.procurement-column-paid>header{border-color:#39c491}.procurement-column-done>header,.procurement-column-archived>header{border-color:#7a91a5}
.procurement-kanban-list{display:grid;gap:10px;padding:10px}.procurement-kanban-empty{margin:12px 4px;color:#7f9db8;font-size:.78rem;text-align:center}
.procurement-kanban-card{display:grid;width:100%;min-height:170px;padding:13px;text-align:left;color:#f7fbff;border:1px solid #325f83;border-radius:12px;background:linear-gradient(145deg,#102f4d,#0b223a);box-shadow:0 8px 18px rgba(0,0,0,.17);cursor:pointer;transition:transform .16s ease,border-color .16s ease}
.procurement-kanban-card:hover,.procurement-kanban-card:focus-visible{transform:translateY(-2px);border-color:#ffae19;outline:none}.procurement-card-top{display:flex;justify-content:space-between;gap:8px;align-items:start}.procurement-card-top>strong{font-size:.74rem;color:#b9d7ef}.procurement-kanban-card>b{margin-top:9px;font-size:.9rem;line-height:1.3}.procurement-kanban-card p{margin:7px 0;color:#a9c3da;font-size:.76rem;line-height:1.4}.procurement-kanban-card small{align-self:end;color:#b7d3e8;font-size:.72rem}.procurement-kanban-card time{margin-top:8px;color:#7799b6;font-size:.68rem}
.procurement-priority{padding:3px 7px;border-radius:999px;border:1px solid #5d8bb0;font-size:.62rem;font-weight:800}.priority-crítico{color:#ff928b;border-color:#e94b42}.priority-urgente{color:#ffbd60;border-color:#df8a20}.priority-importante{color:#ffe282;border-color:#d9ad2d}.priority-planejado{color:#8dd6ff;border-color:#399bd1}
.procurement-kanban-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;color:#f6fbff;border:1px solid #4383b3;border-top:4px solid #ffae19;border-radius:16px;background:#082641;box-shadow:0 24px 70px rgba(0,0,0,.55)}.procurement-kanban-dialog::backdrop{background:rgba(0,12,25,.72)}
.procurement-kanban-dialog header,.procurement-kanban-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #315d7e}.procurement-kanban-dialog footer{justify-content:flex-end;border-top:1px solid #315d7e;border-bottom:0}.procurement-kanban-dialog header small{color:#ffb52b;font-weight:800;letter-spacing:.12em}.procurement-kanban-dialog header h2{margin:4px 0 0;color:#fff;font-weight:800;text-shadow:0 1px 12px rgba(0,0,0,.35)}.procurement-kanban-dialog header [data-pk-close]{width:38px;height:38px;border:1px solid #4b7da0;border-radius:9px;background:#113d5e;color:#fff;font-size:1.5rem}.procurement-kanban-dialog>div>section{padding:20px}.procurement-kanban-dialog section h3{margin-top:0}.procurement-kanban-dialog dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.procurement-kanban-dialog dl div{padding:11px;border:1px solid #315e7f;border-radius:9px;background:#0b304f}.procurement-kanban-dialog dt{font-size:.68rem;color:#89aac4}.procurement-kanban-dialog dd{margin:4px 0 0;font-weight:700}
.procurement-payment-progress{display:grid;gap:8px;margin:18px 0}.procurement-payment-progress progress{width:100%;accent-color:#30bd8e}.procurement-installments{display:grid;gap:8px;padding:0;list-style:none}.procurement-installments li{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #315e7f;border-radius:10px;background:#0b304f}.procurement-installments li span{display:grid;gap:4px}.procurement-installments a{color:#72c8ff;font-weight:700}
.procurement-request-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.procurement-request-types button{display:grid;grid-template-columns:1fr auto;gap:5px;padding:16px;text-align:left;color:#f4f9ff;border:1px solid #3d7198;border-radius:12px;background:#0d3555}.procurement-request-types button:hover:not(:disabled){border-color:#ffae19}.procurement-request-types button strong,.procurement-request-types button small{grid-column:1}.procurement-request-types button span{grid-row:1/3;grid-column:2;align-self:center;font-size:1.4rem}.procurement-request-types button em{grid-column:1/3;color:#91aabd;font-size:.72rem}.procurement-request-types button:disabled{opacity:.5}
@media(max-width:820px){.procurement-kanban-view{padding:14px}#view-procurementKanban{margin:-16px}.procurement-kanban-hero{align-items:flex-start;flex-direction:column}.procurement-kanban-toolbar{grid-template-columns:1fr}.procurement-kanban-actions{justify-content:stretch}.procurement-kanban-actions button{flex:1}.procurement-kanban-board{grid-auto-columns:min(84vw,286px)}.procurement-request-types,.procurement-kanban-dialog dl{grid-template-columns:1fr}.procurement-installments li{flex-direction:column}}
.procurement-marketplace-badge{display:inline-flex;align-items:center;align-self:flex-start;margin-top:6px;padding:4px 8px;border:1px solid #f1c40f;border-radius:999px;background:#ffe600;color:#332800;font-size:10px;font-style:normal;font-weight:850;letter-spacing:.03em}
.procurement-column-marketplace>header{background:linear-gradient(135deg,#4a4300,#756900)}
.procurement-column-marketplace{border-color:#a89a22}

/* O detalhe do Kanban compartilha o padrão lateral de Meus pedidos. */
.procurement-kanban-dialog:not(.procurement-new-request){position:fixed;inset:0 0 0 auto;width:min(760px,56vw);max-width:100%;height:100dvh;max-height:none;margin:0;padding:0;border-width:0 0 0 1px;border-top:4px solid #ffae19;border-radius:18px 0 0 18px;overflow:auto;transform:translateX(102%);opacity:0;transition:transform .22s ease,opacity .16s ease}
.procurement-kanban-dialog:not(.procurement-new-request)[open]{transform:translateX(0);opacity:1}
.procurement-kanban-dialog:not(.procurement-new-request)>div{min-height:100%;display:flex;flex-direction:column}
.procurement-kanban-dialog:not(.procurement-new-request)>div>section{flex:1;overflow:auto}
body:has(.procurement-kanban-dialog:not(.procurement-new-request)[open]) .procurement-kanban-board{filter:saturate(.78);transition:filter .18s ease}
@media(max-width:900px){.procurement-kanban-dialog:not(.procurement-new-request){width:100vw;border-left:0;border-radius:0}}
