:root{font-family:Segoe UI,Arial,sans-serif;color:#233c36;background:#f2f5f3;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:7px;font-weight:600;padding:10px 14px}button:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:2px solid #27735a;outline-offset:2px}header{height:70px;padding:0 28px;background:white;border-bottom:1px solid #dce6df;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:27px;font-family:Georgia,serif;color:#316855;letter-spacing:-.6px}.wordmark small{display:block;font:9px Segoe UI,sans-serif;letter-spacing:2px;color:#6d8378;margin-top:2px}.header-right{display:flex;align-items:center;gap:20px}.preview-tag{font-size:11px;color:#88734b;background:#faf4e7;padding:5px 9px;border-radius:5px}.plain{background:transparent;color:#527163;font-size:12px}.daily{margin:16px 28px 0;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#6b8477}h1{font-size:23px;margin:5px 0;font-weight:650;letter-spacing:-.5px}h1 span{font-size:13px;letter-spacing:0;font-weight:500;color:#4e7861;margin-left:9px}.daily p{font-size:12px;color:#657c70;margin:5px 0}.daily button,.primary{background:#27664f;color:white}.daily button{padding:14px 20px}.daily button span{margin-left:20px}main{display:grid;grid-template-columns:minmax(600px,1fr) 300px;gap:18px;padding:14px 28px 0}.roster,.panel{background:white;border:1px solid #dce6df;border-radius:10px;overflow:hidden}.roster-top{display:flex;align-items:center;padding:0 16px;height:48px;gap:8px}.roster-top h1{font-size:16px}.roster-top h1 span{background:#eef4ef;padding:2px 6px;border-radius:4px;font-size:11px}.roster-top input{margin-left:auto;width:200px;padding:7px 10px;border:1px solid #dbe4dd;border-radius:6px;font-size:12px}table{border-collapse:collapse;width:100%;table-layout:fixed}th{height:30px;background:#f6f8f6;font-size:10px;color:#718479;text-align:left;font-weight:600}td,th{padding:0 16px}td{height:26px;border-top:1px solid #edf1ed;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}td:nth-child(2){color:#718176;font-size:11px}td:nth-child(n+3){font-variant-numeric:tabular-nums}td:nth-child(4){color:#5e7468}tbody tr{cursor:pointer}tbody tr:hover{background:#f4f8f4}tbody tr.selected{background:#e7f2eb}tbody tr.selected td:first-child{box-shadow:inset 3px 0 #37795b;font-weight:600}.roster-foot{height:30px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;font-size:10px;color:#809184;border-top:1px solid #e1e9e2}.panel{padding:18px;align-self:start}.panel h2{font-size:21px;margin:8px 0 4px;letter-spacing:-.5px}#brand-text{color:#76887b;font-size:12px;margin:0 0 18px}.switch{display:flex;background:#edf3ee;padding:3px;border-radius:7px}.switch button{flex:1;background:transparent;font-size:11px;padding:9px 5px;color:#688073}.switch .chosen{background:white;color:#275f46;box-shadow:0 1px 4px #26472b14}.help{font-size:12px;line-height:1.5;color:#768378;margin:15px 0}label{display:block;font-size:11px;color:#526e5d;margin-top:12px}select,input[type=date]{width:100%;border:1px solid #dae3dc;padding:9px;border-radius:6px;background:white;color:#395c47;margin-top:5px;font-size:12px}.quantity-control{display:flex;border:1px solid #dae3dc;border-radius:6px;overflow:hidden;height:40px;margin-top:6px}.quantity-control input{width:100%;min-width:0;text-align:center;border:0;font-size:20px;color:#2c5c44}.quantity-control button{background:#f3f7f1;border-radius:0;color:#3c6b4b}.primary{width:100%;margin-top:18px;font-size:12px}.pending{font-size:10px;line-height:1.5;color:#998555;margin-top:12px}.secondary-actions{border-top:1px solid #e4ebe3;margin-top:16px;padding-top:9px;display:flex;justify-content:space-between}.return-note{padding:12px;background:#edf5ed;margin-top:12px;font-size:13px}.return-note small{display:block;margin-top:4px;font-size:10px;color:#6b816d}footer{display:flex;align-items:center;padding:6px 28px;font-size:10px;color:#879582}footer span{margin-left:auto}dialog{border:1px solid #dae5dc;border-radius:10px;width:560px;max-height:80vh;padding:24px;color:#375843}dialog::backdrop{background:#12251b55}.dialog-title{display:flex;align-items:center;justify-content:space-between}.dialog-title h2{font-size:19px}#dialog-body{font-size:13px;line-height:1.7}.source-row{padding:5px;border-bottom:1px solid #edf1ed}[hidden]{display:none!important}@media(max-height:780px){header{height:58px}.daily{margin-top:10px}h1{font-size:21px}main{padding-top:10px}td{height:23px}.roster-top{height:42px}.panel{padding:15px}.panel h2{font-size:19px}#brand-text{margin-bottom:12px}.help{margin:10px 0}.secondary-actions{margin-top:10px}footer{padding-top:4px}}@media(min-width:1600px){main,.daily,footer{max-width:1600px;margin-left:auto;margin-right:auto}}
.brand{display:flex;align-items:center;gap:20px}.bv-logo{width:180px;height:59px;object-fit:contain}.app-title{border-left:1px solid #dce6df;padding-left:20px;font-size:14px;font-weight:600}@media(max-height:780px){.bv-logo{width:152px;height:50px}}
/* Palette read from csibemviver.com.br: ação 01/02/03 and base 01. */
:root{--bv-primary:#00a190;--bv-dark:#046b60;--bv-yellow:#fce45e;--bv-cream:#fffdf2;color:#303640;background:var(--bv-cream)}
header{background:var(--bv-cream)}.app-title{color:var(--bv-dark)}.eyebrow,h1 span{color:var(--bv-dark)}.daily button,.primary{background:var(--bv-dark)}.daily button:hover,.primary:hover{background:#00584f}.switch{background:#e5f4f0}.switch .chosen{color:var(--bv-dark)}tbody tr.selected{background:#e5f4ef}tbody tr.selected td:first-child{box-shadow:inset 3px 0 var(--bv-primary)}tbody tr:hover{background:#f2f9f6}.preview-tag{background:#fff8d4;color:#68591b}.daily{border-left:4px solid var(--bv-yellow);padding-left:14px}.plain{color:var(--bv-dark)}.status-tag{font-size:9px;color:#756517;background:#fff8d4;padding:2px 4px;border-radius:3px}.roster-top #status{width:90px;padding:6px;font-size:11px;margin:0 0 0 auto}.roster-top #search{margin-left:0;width:170px}#discharge-reason{width:100%;padding:10px;border:1px solid #dce6df;border-radius:6px;margin-top:5px}
.entry-details{font-size:11px;color:#545a66;margin-top:12px}.entry-details summary{cursor:pointer}.entry-details input{width:100%;border:1px solid #e1e5e8;border-radius:5px;padding:6px;margin-top:4px}.secondary-actions .plain{padding:6px;font-size:11px}.header-right{gap:10px}
.negative{color:#aa3636;font-weight:700}.catalog-list{max-height:260px;overflow:auto;margin-top:18px}.source-row{display:flex;justify-content:space-between;align-items:center;gap:8px}dialog input{width:100%;padding:8px;border:1px solid #dce6df;border-radius:5px;margin-top:5px}.panel #brand-text{line-height:1.5;max-height:68px;overflow:auto}#visible-count{font-size:10px}
col:nth-child(1){width:35%}col:nth-child(2){width:23%}col:nth-child(3),col:nth-child(4){width:13%}col:nth-child(5){width:16%}
.cancel-button{display:block;margin-top:16px;background:#a33434;color:white;padding:10px 15px;border-radius:7px}.cancel-button:hover{background:#852727}
td:nth-child(3){white-space:normal;font-size:11px;line-height:1.4}tr:has(td:nth-child(3) br) td{height:34px}
