/* ============================================================================
   F05  REISSUE AN INSTALLER ORDER
   The reissue lines, button and form in the job's Installer order section,
   and the GST switch on an installer's contact card. Tokens only (app.css),
   so both themes work. No inline styles anywhere (the console's CSP).
   ============================================================================ */

.f05-band{margin:0 0 6px}
.f05-band .note{margin:0 0 6px;line-height:1.5}
/* "Switched off" is the one part of a queued reissue Adam cannot act on
   himself, so it is set apart from the rest of the note. */
.f05-off{display:inline-block;margin-top:4px;font-weight:600}
.f05-done,.f05-wait{margin:0 0 8px;line-height:1.5}
.f05-done b{color:var(--ink)}
.f05-wait{background:var(--panel-2);border-radius:4px;padding:6px 9px}
.f05-btns{margin:8px 0;flex-wrap:nowrap;align-items:center}

/* The form opens in place under the button. The console's .frm is
   display:flex, which would beat the hidden attribute, so hidden is said
   again here. */
.f05-frm{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;margin:0 0 12px}
.f05-frm[hidden]{display:none}
.f05-frm .x-note{margin:0}
.f05-rooms{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.f05-rooms label small{display:block;margin-top:2px}
.f05-frm .btnrow{margin-bottom:0}
/* A new kitchen count over Adam's limit will be held (fixed after review):
   set apart in the warning colour so it is read before Queue is pressed. */
.f05-frm .f05-holdwarn{border-left:3px solid var(--warn);padding:4px 0 4px 9px;line-height:1.5}
.f05-frm .f05-holdwarn[hidden]{display:none}
.f05-frm .f05-holdwarn b{color:var(--warn)}

/* The contact card's GST switch. */
.f05-gst{margin:4px 0 10px}
.f05-gst .x-note{margin:0 0 8px}
.f05-tick{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;min-height:32px}
.f05-tick input{width:18px;height:18px;margin:0}

@media(max-width:700px){
  .f05-rooms{grid-template-columns:1fr 1fr}
  .f05-btns .btn,.f05-frm .btnrow .btn{min-height:44px}
  #f05Open,#f05Undo,#f05Save{flex:1 1 auto}
  .f05-tick{min-height:44px}
}
