/* Handwritten Tow Sheet 1: screen-only workflow plus detached print treatment. */
.save-anyway-actions .handwritten-print-action{color:#fff;background:#184d7c;border-color:#6da6d3}
.save-anyway-actions .handwritten-print-action:hover,.save-anyway-actions .handwritten-print-action:focus-visible{background:#22669e}
.handwritten-options-card{width:min(510px,calc(100vw - 44px));padding:24px;color:#e8f1f8;background:linear-gradient(160deg,#092746,#061a31);border:1px solid rgba(139,188,225,.38);border-radius:14px;box-shadow:0 24px 60px rgba(0,8,20,.55)}
.handwritten-options-card h2{margin:3px 0 7px;font-size:24px;line-height:1.1}.handwritten-options-card>p{margin:0 0 18px;color:#bfd1df;line-height:1.5}
.handwritten-defaults-option{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;color:#edf6fc;background:rgba(22,67,104,.56);border:1px solid rgba(139,188,225,.3);border-radius:10px;cursor:pointer}
.handwritten-defaults-option input{flex:0 0 auto;width:19px;height:19px;margin:2px 0 0;accent-color:#2d94dd}.handwritten-defaults-option span{display:grid;gap:3px}.handwritten-defaults-option strong{font-size:14px}.handwritten-defaults-option small{color:#b9cddd;line-height:1.4}
.handwritten-options-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.handwritten-options-actions button{min-width:125px;min-height:38px;padding:8px 14px;color:#e8f1f8;background:transparent;border:1px solid rgba(174,207,234,.42);border-radius:8px;font-weight:800;cursor:pointer}.handwritten-options-actions .primary{color:#fff;background:#b7192a;border-color:#ed6976}
.handwritten-circle-line{align-items:center}
.handwritten-circle-options{display:flex;min-width:0;align-items:center;justify-content:flex-start;align-self:center;gap:12px;width:100%;height:auto;box-sizing:border-box;padding:0 0 0 18px;color:#17365d;font:400 14.5px/1.12 Arial,sans-serif;border:0;white-space:nowrap}
.handwritten-circle-choice{display:inline-flex;align-items:center;gap:4px}.handwritten-circle-choice::before{content:"";display:inline-block;flex:0 0 auto;width:9px;height:9px;box-sizing:border-box;border:1px solid #17365d;border-radius:50%}
.handwritten-expiration-line{opacity:1!important}.handwritten-expiration-line label,.handwritten-expiration-line .field-icon,.handwritten-expiration-line .field{color:#112d50!important;opacity:1!important}.handwritten-expiration-line .field{border-bottom-color:#7f8da1!important}
.handwritten-time-line label::after{content:none!important;display:none!important}.handwritten-time-line .time-field{box-shadow:none!important;border-bottom:1px solid #7f8da1!important;background:transparent!important}
.handwritten-fuel-line{min-height:22px!important;align-items:center!important}.handwritten-fuel-line>label{padding-top:0}.handwritten-fuel-control{display:flex;align-self:stretch;align-items:center;gap:18px;min-width:0;width:100%;color:#17365d;font:400 14.5px/1.12 Arial,sans-serif}.handwritten-checkbox-options{display:flex;align-items:center;gap:16px;min-width:0;flex:0 0 auto}.handwritten-checkbox-choice{display:inline-flex;align-items:center;gap:5px}.handwritten-checkbox-choice::before{content:"";display:inline-block;flex:0 0 auto;width:10px;height:10px;box-sizing:border-box;border:1px solid #17365d}.handwritten-fuel-quantity{display:flex;align-self:stretch;align-items:center;gap:7px;min-width:92px;flex:1 1 auto}.handwritten-fuel-quantity-label{font-size:14.5px}.handwritten-fuel-quantity-line{display:block;align-self:flex-end;min-width:64px;flex:1 1 auto;margin:0;border-bottom:1px solid #7f8da1;transform:none}
.handwritten-print-sheet .summary strong,.handwritten-print-sheet .summary .total span:last-child{align-self:flex-end;margin-bottom:3px;padding-top:0;padding-bottom:1px}
.handwritten-print-sheet .note-editor-shell{background:repeating-linear-gradient(to bottom,transparent 0,transparent 18px,#7f8da1 19px,#fff 20px)}
.handwritten-print-sheet .note-editor-shell::before{content:"";position:absolute;z-index:3;top:0;right:0;left:0;height:1px;background:#7f8da1;pointer-events:none}
.handwritten-additional-row>span{display:block;min-width:0;height:19px;border-bottom:1px solid rgba(83,105,134,.7)}
.handwritten-additional-row>span+span{padding-left:7px;border-left:1px solid rgba(118,139,164,.42)}
.handwritten-print-sheet .footer{color:#51677f}

@media print{
  .handwritten-print-sheet[data-notes-lines="4"]{--notes-line-count:4;--notes-print-height:83.3px}
  .handwritten-print-sheet .handwritten-circle-options{display:flex!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .handwritten-print-sheet .handwritten-checkbox-options,.handwritten-print-sheet .handwritten-fuel-quantity{display:flex!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.handwritten-print-sheet .handwritten-fuel-quantity-line{flex:1 1 auto}
  .handwritten-print-sheet .handwritten-additional-row{display:grid!important;grid-template-columns:minmax(0,1fr) 105px 124px 106px;min-height:28px;padding:3px 0 3px 6px;border-bottom:1px solid rgba(83,105,134,.42)}
  .handwritten-print-sheet .additional-charge-table{display:block!important}
  .handwritten-print-sheet .additional-charge-table.is-empty{display:block!important}
  .handwritten-print-sheet .additional-charge-head{grid-template-columns:minmax(0,1fr) 105px 124px 106px!important}
  .handwritten-print-sheet .additional-column-heading{display:block!important}
  .handwritten-print-sheet.handwritten-grayscale{filter:grayscale(1)}
}
