/* Fulfillment (couriers, documents, maintenance, settings, the order screens' voucher block): the markup's layout and type. */
.aieo-ff-note { margin: 0; font-size: 13px; color: var(--ra-muted-foreground, #646970); }
.aieo-ff-note:empty { display: none; }
.aieo-ff-note-sm { font-size: 11px; color: var(--ra-muted-foreground, #646970); }
.aieo-ff-sub { margin-top: 18px; }
.aieo-ff-manage { margin-inline-start: 8px; font-size: 12px; }
.aieo-ff-hint { margin-inline-start: 6px; }
.aieo-ff-gap { margin-inline-start: 8px; }
.aieo-ff-w-60 { width: 60px; }
.aieo-ff-w-80 { width: 80px; }
.aieo-ff-w-90 { width: 90px; }
.aieo-ff-w-100 { width: 100px; }
.aieo-ff-w-120 { width: 120px; }
.aieo-ff-w-160 { width: 160px; }
.aieo-ff-w-170 { width: 170px; }
.aieo-ff-wide { min-width: 360px; max-width: 100%; }
.aieo-ff-mid { min-width: 220px; }
.aieo-ff-fill { width: 100%; font-size: 12px; }
.aieo-ff-fill--sm { font-size: 11px; }
.aieo-ff-channel { margin-inline-start: 6px; }
.aieo-ff-tpl { font-size: 11px; word-break: break-all; }
.aieo-ff-range { font-size: 11px; color: var(--ra-muted-foreground, #94a3b8); }
.aieo-ff-doc-stack { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
/* A document already printed for the order: its button light green, after a print and after a reload alike. */
.aieo-ff-doc-stack .aieo-ff-print-doc.is-printed,
.aieo-ff-doc-stack .aieo-ff-print-doc.is-printed:hover {
	background: var(--ra-success-soft, #dcefdc);
	border-color: var(--ra-success, #7ad03a);
	color: var(--ra-success-foreground, #1d2327);
}
.aieo-ff-voucher-cell { display: flex; flex-direction: column; gap: 3px; }
.aieo-ff-voucher-line { display: flex; align-items: center; gap: 4px; font-size: 11px; line-height: 1.4; }
.aieo-ff-voucher-line code { font-size: 10px; }
.aieo-ff-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ra-muted-foreground, #6b7280); }
.aieo-ff-dot--ok { background: var(--ra-success, #15803d); }
.aieo-ff-dot--err { background: var(--ra-destructive, #b91c1c); }
/* A status line a script writes into: its tone is data-tone. */
[data-tone="err"] { color: var(--ra-destructive, #b91c1c); }
[data-tone="ok"] { color: var(--ra-success-foreground, #15803d); }
[data-tone="warn"] { color: var(--ra-warning-soft-foreground, #b45309); }
[data-tone="muted"] { color: var(--ra-muted-foreground, #646970); }
/* The add-tracking window on the order list. */
.aieo-ff-voucher-modal { position: fixed; inset: 0; z-index: 100000; align-items: center; justify-content: center; }
.aieo-ff-voucher-modal:not([hidden]) { display: flex; }
.aieo-ff-voucher-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.aieo-ff-voucher-modal__dialog { position: relative; background: var(--ra-card, #fff); border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); width: min(440px, 90vw); padding: 18px 20px; }
.aieo-ff-voucher-modal__title { margin: 0 0 12px; font-size: 16px; }
.aieo-ff-voucher-modal__lede { margin: 0 0 14px; }
.aieo-ff-voucher-modal__label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.aieo-ff-voucher-modal__field { width: 100%; margin-bottom: 12px; }
.aieo-ff-voucher-modal__field.is-code { font-family: monospace; }
.aieo-ff-voucher-modal__err { color: var(--ra-destructive, #b91c1c); font-size: 12px; margin-bottom: 10px; }
.aieo-ff-voucher-modal__actions { display: flex; gap: 8px; justify-content: flex-end; }
/* Time basis and the delivery-time bars. */
.aieo-ff-basis { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; }
.aieo-ff-dist { max-width: 640px; font-size: 13px; }
.aieo-ff-dist-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.aieo-ff-dist-row.is-empty { cursor: default; opacity: .5; }
.aieo-ff-dist-label { width: 120px; flex-shrink: 0; }
.aieo-ff-dist-track { flex: 1; background: var(--ra-muted, #f1f5f9); border-radius: 4px; height: 18px; position: relative; overflow: hidden; }
.aieo-ff-dist-fill { height: 100%; transition: opacity .15s; }
.aieo-ff-dist-figure { width: 140px; text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.aieo-ff-dist-figure span { color: var(--ra-muted-foreground, #64748b); font-size: 11px; }
/* A job's progress bar (the script sets the fill's width) and its error log. */
.aieo-ff-bar { background: var(--ra-muted, #e5e7eb); height: 14px; border-radius: 7px; overflow: hidden; max-width: 560px; }
.aieo-ff-bar--cell { max-width: none; }
.aieo-ff-bar__fill { background: var(--ra-primary, #2563eb); height: 100%; width: 0; transition: width .2s; }
.aieo-ff-bar__fill--done { background: var(--ra-success, #15803d); }
.aieo-ff-job-progress { margin-top: 8px; }
.aieo-ff-job-errors { max-height: 200px; overflow: auto; background: var(--ra-destructive-wash, #fef2f2); padding: 8px; font-size: 11px; border-radius: 4px; margin-top: 8px; }
.aieo-ff-job-status { font-size: 13px; margin-top: 8px; }
.aieo-ff-sweep { margin: 6px 0 10px; font-size: 12px; }
.aieo-ff-counter { font-size: 11px; color: var(--ra-muted-foreground, #6b7280); }
.aieo-ff-form-flat { margin: 0; }
.aieo-ff-line { margin: 8px 0; }
.aieo-ff-line label { margin-inline-end: 6px; }
.aieo-ff-fieldnote { font-size: 13px; color: var(--ra-muted-foreground, #646970); margin-top: 6px; }
