.card.purchase-workspace{max-width:1500px}
.purchase-workspace #compras .po-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.purchase-workspace #compras .po-toolbar h2{font-size:22px;margin:0 auto 0 0}.purchase-workspace #compras button{width:auto;min-height:34px;padding:6px 10px;font-size:13px}.purchase-workspace #compras label{font-size:12px;margin:0}.purchase-workspace #compras input,.purchase-workspace #compras select{min-height:34px;padding:5px 8px;font-size:14px;margin:3px 0 0}.purchase-workspace #po-controls>p{font-size:12px;margin:5px 0}.purchase-workspace #po-controls .field-grid{gap:10px;margin:8px 0}.purchase-workspace #compras .po-period{display:flex;align-items:end;gap:6px;flex-wrap:wrap;margin:8px 0}.purchase-workspace #compras .po-period label{width:160px}.purchase-workspace #compras .po-calendar-grid{margin:8px 0;gap:5px}.purchase-workspace #compras .po-calendar-day{min-height:100px;padding:6px}.purchase-workspace #compras .po-calendar-day h3{margin-bottom:4px}.purchase-workspace #compras .po-event{width:100%;padding:6px;font-size:12px;min-height:34px;margin:4px 0}.purchase-workspace #compras .po-chip{font-size:11px;padding:2px 5px;margin:2px}
.card.purchase-workspace.po-focus{max-width:none;width:100%;margin:0;border-radius:0}.purchase-workspace.po-focus>header,.purchase-workspace.po-focus>footer,.purchase-workspace.po-focus #app-nav,.purchase-workspace.po-focus .screen-bar,.purchase-workspace.po-focus .content>.eyebrow{display:none!important}.purchase-workspace.po-focus>.content{padding:10px 12px}.purchase-workspace.po-focus #compras{max-width:none}body:has(.purchase-workspace.po-focus){padding:0}.purchase-workspace #po-controls[hidden]{display:none}
@media(max-width:600px){.purchase-workspace #compras .po-toolbar h2{font-size:19px;flex-basis:100%}.purchase-workspace #compras .po-period label{flex:1;min-width:120px}.purchase-workspace #compras .po-toolbar button{min-height:40px}.purchase-workspace.po-focus>.content{padding:8px}.purchase-workspace #compras .po-period button{min-height:40px}}
#compras{max-width:1500px;margin:auto}#compras nav{margin-bottom:18px}.po-order{background:#fff;border:1px solid #dbe2eb;border-radius:14px;padding:16px;margin:12px 0}.po-order>label{display:flex;align-items:center;gap:12px}.po-order input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.po-chip{display:inline-block;border-left:6px solid #667085;padding:3px 8px;background:#f0f3f8;color:#18283f;border-radius:5px;margin:3px;font-size:.82rem}.po-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:16px 0}.po-calendar-day{border:1px solid #dbe2eb;border-radius:10px;min-height:135px;padding:8px;background:#fff;min-width:0}.po-calendar-day h3{font-size:.85rem;margin:0 0 8px}.po-today{outline:2px solid #2864c8}.po-event{display:block;width:100%;text-align:left;font-size:.8rem;overflow-wrap:anywhere;margin:6px 0;padding:8px;background:#f6f8fc;border:1px solid #cdd7e4;border-radius:8px;color:#172b49}.po-event span,.po-event small{display:block}.po-dialog{width:min(850px,94vw);max-height:88dvh;overflow:auto;border:0;border-radius:18px;padding:24px;color:#172b49}.po-dialog::backdrop{background:#10254199}.po-dialog table{border-collapse:collapse;width:100%;font-size:.9rem}.po-dialog td,.po-dialog th{padding:9px;border-bottom:1px solid #dbe2eb;text-align:left}.po-dialog .session-actions{position:sticky;bottom:0;background:#fff;padding:12px 0}.po-category-row{display:flex;align-items:center;gap:10px;margin:10px 0}.po-category-row input[type=color]{width:64px;min-width:64px;padding:3px}.po-category-row input:not([type=color]){flex:1;min-width:0}#po-guard{grid-column:1/-1}#po-guard-fields{padding:12px;border:1px solid #cdd7e4;border-radius:12px}#po-guard-fields label{display:block}#po-guard-fields input[type=checkbox]{width:20px;height:20px}#po-no-date button{display:block;margin:8px 0}#po-calendar-panel{overflow-x:auto}@media(max-width:1000px){.po-calendar-grid{min-width:950px}.po-agenda{min-width:0}.po-calendar-day{min-height:110px}}@media(max-width:600px){.po-dialog{padding:14px}.po-dialog table{font-size:.8rem}.po-category-row{flex-wrap:wrap}.po-category-row button{width:100%}}
.purchase-workspace #compras .po-period>button{width:auto;flex:0 0 auto}.purchase-workspace #compras .po-period input,.purchase-workspace #compras .po-period select{font-size:14px;height:36px;min-height:34px;box-sizing:border-box}.purchase-workspace.po-focus .workspace-status{display:none}
.purchase-workspace #compras .po-week>.po-calendar-day{min-height:470px}.purchase-workspace #compras .po-agenda>.po-calendar-day{min-height:560px}.po-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.po-detail-facts dt{font-size:12px;color:#667085}.po-detail-facts dd{margin:3px 0;overflow-wrap:anywhere}.po-detail-table{overflow-x:auto}.po-detail-table table{min-width:1150px}.po-dialog:has(.po-detail-facts){width:min(1250px,96vw);max-height:92dvh}.po-detail-table td{white-space:nowrap}.po-detail-table tbody th{min-width:180px;font-weight:500}@media(max-width:600px){.po-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-workspace #compras .po-agenda>.po-calendar-day{min-height:440px}}
