#shipping-sheet-body.sheet-grid-mode td[data-grid-row]{position:relative;cursor:cell;outline:none;vertical-align:middle;padding-top:2px!important;padding-bottom:2px!important}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-editor{display:none!important}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-value{display:block;min-height:17px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:pre;color:inherit;font:inherit;line-height:1.35;pointer-events:none}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-selected{box-shadow:inset 0 0 0 9999px #3c89d218}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-active{outline:2px solid #3279bf;outline-offset:-2px;z-index:2}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-editing{z-index:4;background:#fff!important;overflow:visible}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-editing .sheet-cell-editor{display:block!important;width:100%;min-height:24px!important;max-height:180px;padding:2px 0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;resize:none;overflow:auto;font:inherit;color:inherit}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-editing .sheet-cell-value{display:none}
#shipping-sheet-body.sheet-grid-mode td:has(input.sheet-cell-editor[type=number]) .sheet-cell-value{display:inline}
#shipping-sheet-body.sheet-grid-mode td:has(input.sheet-cell-editor[type=number])>small{display:inline;margin-left:4px}
#shipping-sheet-body.sheet-grid-mode .sheet-accounting-document input{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#shipping-sheet-body.sheet-grid-mode .sheet-accounting-document input:focus{outline:1px solid #3279bf!important}
#shipping-sheet-body.sheet-grid-mode .sheet-product strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media print{#shipping-sheet-body.sheet-grid-mode .sheet-cell-selected{box-shadow:none}#shipping-sheet-body.sheet-grid-mode .sheet-cell-active{outline:none}}
#shipping-sheet-body.sheet-grid-mode .sheet-number{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shipping-sheet-body.sheet-grid-mode .sheet-number small{display:inline;margin-left:5px;white-space:nowrap}
#shipping-sheet-body.sheet-grid-mode td.sheet-note{padding-right:64px!important}
#shipping-sheet-body.sheet-grid-mode td.sheet-note>[data-line-files]{position:absolute;right:30px;top:50%;transform:translateY(-50%)}
#shipping-sheet-body.sheet-grid-mode td.sheet-note>[data-remove-line]{position:absolute;right:4px;top:50%;transform:translateY(-50%);float:none}
/* One-line rows, matching the receipt journal. Editing may expand temporarily. */
#shipping-sheet-body.sheet-grid-mode tr[data-plan-line],#shipping-sheet-body.sheet-grid-mode tr[data-plan-line]>td{height:28px!important;min-height:0!important}
#shipping-sheet-body.sheet-grid-mode .sheet-cell-value,#shipping-sheet-body.sheet-grid-mode .sheet-readonly{white-space:nowrap;max-height:18px;overflow:hidden;text-overflow:ellipsis}
#shipping-sheet-body.sheet-grid-mode .sheet-product{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shipping-sheet-body.sheet-grid-mode .sheet-product>strong,#shipping-sheet-body.sheet-grid-mode .sheet-product>.sheet-warning{display:inline;white-space:nowrap;margin-top:0}
#shipping-sheet-body.sheet-grid-mode td.sheet-note>.sheet-accounting-document{display:inline-flex;flex-direction:row;align-items:center;gap:0;margin:0;width:90px;max-width:90px;vertical-align:middle}
#shipping-sheet-body.sheet-grid-mode td.sheet-note>.sheet-accounting-document>span{display:none}
#shipping-sheet-body.sheet-grid-mode td.sheet-note>.sheet-accounting-document input{display:inline-block!important;width:90px;min-width:0;height:22px!important;min-height:22px!important;padding:1px 0!important;margin:0!important}
#shipping-sheet-body.sheet-grid-mode td.sheet-note>.sheet-accounting-document strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shipping-sheet-body.sheet-grid-mode td.sheet-note:has(.sheet-accounting-document)>.sheet-cell-value{display:inline-block;max-width:calc(100% - 96px);vertical-align:middle;margin-left:4px}
#shipping-sheet-body.sheet-grid-mode td.sheet-note:has(.sheet-accounting-document) .sheet-cell-editor{max-width:calc(100% - 96px)}
#shipping-sheet-body.sheet-grid-mode td.sheet-cell-editing{height:auto!important}
/* The column names stay above scrolling date bars and data rows. */
@media screen{
 #shipping-sheet-body:not(.sheet-compact)>thead>tr>th{position:sticky!important;top:var(--prouz-table-head-offset,0px)!important;z-index:60!important;background:#eaf0f7;box-shadow:inset 0 -1px #bfcede}
 #shipping-sheet-body>.sheet-day th{position:sticky!important;top:calc(var(--prouz-table-head-offset,0px) + var(--shipping-column-header-height,0px))!important;z-index:50!important;background:#b77aa0}
}

#shipping-sheet-body:not(.sheet-compact) tr[data-plan-line] td,#shipping-sheet-body:not(.sheet-compact) tr[data-plan-line] td :is(strong,b,span,small,input,textarea){font-weight:400!important}
#shipping-sheet-body:not(.sheet-compact) .sheet-invoice-heading strong{font-weight:700!important}
/* A fixed handle lane shared by invoice headings and item rows. */
@media screen{
 #shipping-sheet-body:not(.sheet-compact) tr[data-plan-line]>td:first-child{padding:2px 5px!important;vertical-align:middle;text-align:left}
 #shipping-sheet-body:not(.sheet-compact) .sheet-invoice-heading>td{padding:2px 5px!important}
 #shipping-sheet-body:not(.sheet-compact) .sheet-invoice-heading>td>div{left:5px;gap:10px;min-height:24px}
 #shipping-sheet-body:not(.sheet-compact) .sheet-drag{box-sizing:border-box;flex:0 0 22px;width:22px!important;min-width:22px!important;max-width:22px!important;height:24px!important;min-height:24px!important;max-height:24px!important;padding:0!important;margin:0!important;vertical-align:middle;transform:none!important;transition:none!important}
}
