.login-form select,.cash-form select {width:100%;min-width:0;height:44px;border:1px solid var(--line);border-radius:6px;padding:0 10px;background:var(--white,#fff);color:var(--ink);font:inherit;}
.login-panel{color:#17334b;}.login-panel h1,.login-panel .brand h2,.login-panel .brand strong{color:#17334b;}
.login-panel select,.login-panel #loginPassword{color:#17334b;background:#fff;}
#setPinForm,.dispatch-form {display:grid;gap:16px;}#setPinError,#dispatchError{color:#bc2525;}[data-theme="dark"] #setPinError,[data-theme="dark"] #dispatchError{color:#ff9292;}
.dispatch-form {border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:18px;}
.dispatch-form label {display:grid;gap:8px;color:var(--muted);font-size:13px;font-weight:600;}
.dispatch-form input,.dispatch-form select,#employeeMealForm select{width:100%;min-width:0;height:44px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--white,#fff);color:var(--ink);}
.dispatch-form .form-grid{grid-template-columns:1fr 1fr;}
.delivery-kitchen-note {padding:16px;background:#62c3b920;border-radius:10px;line-height:1.6;}
.delivery-actions{display:flex;gap:10px;flex-wrap:wrap;}
#ticketMethodRow{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1;}#ticketMethodRow button{padding:10px 14px;border:1px solid var(--line);border-radius:6px;}#ticketMethodRow button.active{border-color:var(--teal);color:var(--teal);}
@media(max-width:600px){.dispatch-form{padding:14px;}.dispatch-form .form-grid{grid-template-columns:1fr;}.delivery-actions>*{flex:1;}}

/* Delivery surfaces follow the selected theme, including the address panel. */
.delivery-card{background:var(--white);color:var(--ink);}
.delivery-detail-address{background:var(--paper);color:var(--ink);border:1px solid var(--line);}
.delivery-detail-address strong{color:var(--ink);font-size:16px;line-height:1.5;overflow-wrap:anywhere;}
.delivery-card .order-id,.delivery-card-main strong{color:var(--ink);}
.delivery-detail-line>span{min-width:0;overflow-wrap:anywhere;}
.thermal-ticket .comanda-heading{font-size:18px;}
.thermal-ticket .comanda-folio{font-size:20px;}
.thermal-ticket .comanda-customer{width:100%;text-align:left;font-weight:700;line-height:1.5;overflow-wrap:anywhere;}
.thermal-ticket .comanda-address{margin-top:6px;}
.thermal-ticket .comanda-item{padding:8px 0;border-bottom:1px solid #000;}
.thermal-ticket .comanda-item>span{width:100%;max-width:none;overflow-wrap:anywhere;}
.thermal-ticket .option-summary{display:block;margin-top:4px;line-height:1.5;}
@media print{
  #ticketModalBackdrop,#ticketModalBackdrop *{color:#000!important;opacity:1!important;filter:none!important;backdrop-filter:none!important;text-shadow:none!important;box-shadow:none!important;transform:none!important;}
  #ticketModalBackdrop .thermal-ticket{font-family:Arial,Helvetica,sans-serif!important;background:#fff!important;font-size:12pt!important;font-weight:700!important;line-height:1.45!important;}
  #ticketModalBackdrop .thermal-ticket small,#ticketModalBackdrop .thermal-ticket .option-summary{font-size:11pt!important;font-weight:700!important;}
  #ticketModalBackdrop .thermal-ticket .ticket-line{font-size:12pt!important;font-weight:700!important;}
  #ticketModalBackdrop .comanda-heading,#ticketModalBackdrop .comanda-folio{font-size:15pt!important;}
  #ticketModalBackdrop .ticket-preview-wrap,#ticketModalBackdrop .ticket-modal{overflow:visible!important;max-height:none!important;}
}
#deliveryPaymentNotice{grid-column:1/-1;margin:0;line-height:1.5}.dispatch-total{line-height:1.6}
