/* Apollos printer settings: bounded sheet, compact sections and explicit device state. */
.food-bt-dialog{box-sizing:border-box;border:1px solid #ece5e8;outline:none;border-radius:24px;padding:0;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;background:#fff;color:#28252b;font-family:var(--fluxo-font-ui,Inter,sans-serif);font-size:14px;line-height:1.45;box-shadow:0 24px 80px #29162540;overflow:hidden}
.food-bt-dialog[open]{display:flex;flex-direction:column}.food-bt-dialog *{box-sizing:border-box}.food-bt-dialog::backdrop{background:#19131d80;backdrop-filter:blur(5px)}
.food-bt-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid #eee8eb;flex-shrink:0;background:#fff}
.food-bt-dialog>header span{font-size:10px;letter-spacing:.14em;font-weight:750;color:#ad153c}.food-bt-dialog h2{font-size:21px;line-height:1.25;font-weight:750;letter-spacing:-.03em;margin:5px 0 0}.food-bt-dialog h3{font-size:15px;line-height:1.35;font-weight:700;letter-spacing:-.015em;margin:0}
.food-bt-dialog button{min-height:44px;border:1px solid #e7dfe3;border-radius:12px;background:#fff;padding:9px 12px;font:inherit;font-size:13px;line-height:1.3;font-weight:650;cursor:pointer;color:inherit}.food-bt-dialog>header button{font-size:27px;border-radius:50%;width:44px;flex-shrink:0;padding:0;background:#faf8f9}.food-bt-dialog button:disabled{color:#a09a9d;background:#faf9fa;border-color:#eee9ec;cursor:default}.food-bt-dialog button:focus-visible,.food-bt-dialog summary:focus-visible{outline:3px solid #d5194d80;outline-offset:2px}
.food-bt-dialog .fbt-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 22px 22px;scrollbar-width:thin}.food-bt-dialog .fbt-device{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:15px;border-radius:16px;background:#fcf7f9;border:1px solid #f1e5ea}.food-bt-dialog .fbt-symbol{width:42px;height:44px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#b31640;box-shadow:0 2px 8px #57233809}.food-bt-dialog .fbt-symbol svg{width:26px;height:26px}.food-bt-dialog .fbt-device-copy{min-width:0}.food-bt-dialog .fbt-device h3{overflow-wrap:anywhere}.food-bt-dialog .fbt-device p{font-size:11px;margin:5px 0 0;color:#756b71}.food-bt-dialog .fbt-device p span{padding:0 3px}.food-bt-dialog .fbt-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;background:#eee9ec;color:#6d6269;border-radius:20px;padding:5px 8px;white-space:nowrap}.food-bt-dialog .fbt-badge>span{width:5px;height:5px;border-radius:50%;background:currentColor}.food-bt-dialog .fbt-badge.is-active{color:#206b4f;background:#e5f4ec}
.food-bt-dialog .fbt-status{font-size:12px;color:#6d6068;margin:9px 2px 17px;overflow-wrap:anywhere}.food-bt-dialog .fbt-section-label{font-size:10px;letter-spacing:.12em;font-weight:750;color:#8a7b83;margin:0 0 9px}.food-bt-dialog .fbt-note{font-size:12px;color:#736770;background:#f7f6f7;padding:12px 14px;border-radius:12px;line-height:1.5}.food-bt-dialog .fbt-note strong{display:block;font-size:13px;color:#41383e}.food-bt-dialog .fbt-note p{margin:4px 0 0}.food-bt-dialog .fbt-help{font-size:12px;color:#6e626a}.food-bt-dialog summary{cursor:pointer;padding:8px 0;min-height:36px}.food-bt-dialog ol{padding-left:19px;margin:5px 0 12px;line-height:1.65}.food-bt-dialog .fbt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 18px}
.food-bt-dialog .fbt-automation{padding:16px;border:1px solid #eae2e6;border-radius:16px}.food-bt-dialog .fbt-auto{display:flex;align-items:center;justify-content:space-between;gap:12px}.food-bt-dialog .fbt-auto p{font-size:12px;margin:4px 0 0;color:#7d6e76}.food-bt-dialog .fbt-primary{background:#bc153f;color:#fff;border-color:#bc153f;min-width:76px}.food-bt-dialog .fbt-primary:disabled{color:#a1858f;background:#f4e9ed;border-color:#f4e9ed}.food-bt-dialog .fbt-channels{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.food-bt-dialog .fbt-channels span{font-size:10px;line-height:1.4;color:#7a5464;padding:4px 8px;background:#faf3f6;border-radius:6px}.food-bt-dialog .fbt-operating{font-size:11px;line-height:1.5;color:#7b7077;margin:12px 0 0;padding-top:12px;border-top:1px solid #eee8eb}
.food-bt-dialog .fbt-queue{margin-top:20px}.food-bt-dialog .fbt-queue-title{display:flex;gap:8px;align-items:center}.food-bt-dialog .fbt-queue-title>span{font-size:11px;color:#7a6e75;background:#f4f1f3;border-radius:6px;padding:3px 7px;white-space:nowrap}.food-bt-dialog .fbt-queue-title button{margin-left:auto;font-size:11px;min-height:44px;padding:8px 10px}.food-bt-dialog .fbt-empty{display:flex;gap:10px;align-items:center;background:#faf9fa;border:1px dashed #e9e2e6;border-radius:12px;padding:15px 12px;margin-top:12px}.food-bt-dialog .fbt-empty>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#eee9ec;border-radius:50%;color:#8a7882}.food-bt-dialog .fbt-empty strong{font-size:12px;font-weight:650}.food-bt-dialog .fbt-empty p{font-size:11px;color:#83767e;margin:3px 0 0;line-height:1.5}.food-bt-dialog .fbt-job{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #f0e9ed}.food-bt-dialog .fbt-job strong{font-size:13px}.food-bt-dialog .fbt-job small{display:block;margin-top:4px;font-size:12px;color:#786a72}.food-bt-dialog .fbt-job button{font-size:11px;padding:7px;min-height:44px}.food-bt-dialog .fbt-warning{color:#8e5315;background:#fff6e8;padding:12px;border-radius:12px;font-size:12px}
@media(max-width:420px){.food-bt-dialog>header{padding:17px 18px}.food-bt-dialog h2{font-size:20px}.food-bt-dialog .fbt-body{padding:16px 16px 20px}.food-bt-dialog .fbt-device{padding:12px;column-gap:9px}.food-bt-dialog .fbt-device h3{font-size:14px}.food-bt-dialog .fbt-device p{font-size:10px}.food-bt-dialog .fbt-badge{grid-column:2;margin-top:-5px;justify-self:start}.food-bt-dialog .fbt-actions button{font-size:12px}.food-bt-dialog .fbt-job{align-items:flex-start;flex-wrap:wrap}.food-bt-dialog .fbt-automation{padding:13px}.food-bt-dialog .fbt-auto h3{font-size:14px}}

.fbt-settings-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#fff;border:1px solid #eee3e7;border-radius:16px}.fbt-settings-card strong{font-size:16px}.fbt-settings-card p{margin:5px 0 0;color:#746970;font-size:13px}.fbt-settings-card button{display:flex;gap:12px;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:12px;padding:12px 16px;background:#b91136;color:#fff;font:inherit;font-weight:650;cursor:pointer}.fbt-settings-card button:focus-visible{outline:3px solid #e2164a80;outline-offset:3px}@media(max-width:480px){.fbt-settings-card{align-items:stretch;flex-direction:column}.fbt-settings-card button{width:100%}}

/* Compact connection controls and a read-only receipt viewer. */
.food-bt-dialog{width:min(560px,calc(100% - 24px));color:#28252b}
.food-bt-dialog>header{padding:18px 20px;gap:10px}
.food-bt-dialog>header>div{min-width:0}.food-bt-dialog h2{font-size:20px;overflow-wrap:anywhere}
.food-bt-dialog>header span,.food-bt-dialog .fbt-symbol{color:var(--food-ui-action,#b52220)}
.food-bt-dialog .fbt-body{padding:18px 20px 22px}
.food-bt-dialog .fbt-device{grid-template-columns:38px minmax(0,1fr);padding:12px;background:var(--food-ui-surface,#fff8f6);border-color:var(--food-ui-border,#efdfdb)}
.food-bt-dialog .fbt-symbol{width:38px;height:38px;box-shadow:none}.food-bt-dialog .fbt-symbol svg{width:23px;height:23px}
.food-bt-dialog .fbt-device h3{font-size:15px}.food-bt-dialog .fbt-device p{font-size:11px;margin-top:3px}
.food-bt-dialog .fbt-remote{font-size:12px;color:#796e71;margin:10px 2px 16px}
.food-bt-dialog .fbt-actions{margin:12px 0 4px}.food-bt-dialog .fbt-connect{margin-bottom:14px}
.food-bt-dialog .fbt-automation{padding:14px}.food-bt-dialog .fbt-auto h3{font-size:14px}
.food-bt-dialog .fbt-auto .fbt-badge{margin-top:7px;font-size:11px;grid-column:auto}
.food-bt-dialog .fbt-primary{background:var(--food-ui-action,#b52220);border-color:var(--food-ui-action,#b52220)}
.food-bt-dialog .fbt-primary:disabled{color:#a1858f;background:#f4e9ed;border-color:#f4e9ed}
.food-bt-dialog .fbt-channels span{background:var(--food-ui-surface,#fff8f6);color:#79655f}
.food-bt-dialog .fbt-operating{padding-top:6px;margin-top:10px}.food-bt-dialog .fbt-operating summary{min-height:36px;font-size:11px}.food-bt-dialog .fbt-operating p{margin:3px 0 6px}
.food-bt-dialog .fbt-job{flex-wrap:nowrap;align-items:center;padding:14px 0;gap:10px}.food-bt-dialog .fbt-job-copy{min-width:0}.food-bt-dialog .fbt-job strong{overflow-wrap:anywhere;font-size:13px}.food-bt-dialog .fbt-job small{font-size:11px;margin-top:3px}.food-bt-dialog .fbt-job time{display:block;color:#92868b;font-size:10px;margin-top:3px}.food-bt-dialog .fbt-job button{flex-shrink:0;font-size:11px;padding:8px 10px;white-space:nowrap;color:var(--food-ui-action,#b52220)}
.food-bt-dialog .fbt-job .is-warning{color:#995b18}
.food-bt-dialog .fbt-preview{background:#faf8f7}.food-bt-dialog .fbt-preview-meta{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:11px;color:#716363}.food-bt-dialog .fbt-preview-note{font-size:12px;line-height:1.5;color:#776b67;margin:10px 0 16px}
.food-bt-dialog .fbt-paper{background:#fff;border:1px solid #e9e1dd;border-radius:4px;padding:18px 12px;box-shadow:0 4px 16px #48302208;max-width:340px;margin:auto}
.food-bt-dialog .fbt-paper pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55;letter-spacing:0;margin:0 auto;width:32ch;max-width:100%;color:#292523}
.food-bt-dialog .fbt-footer{flex-shrink:0;border-top:1px solid #eee6e2;background:#fff;padding:12px 20px}.food-bt-dialog .fbt-footer button{width:100%}.food-bt-dialog .fbt-review{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.food-bt-dialog .fbt-review button{flex:1;font-size:12px}
.food-bt-dialog .fbt-preview-message{font-size:13px;color:#776b67;min-height:100px}
@media(max-width:360px){.food-bt-dialog>header,.food-bt-dialog .fbt-body{padding:15px}.food-bt-dialog h2{font-size:18px}.food-bt-dialog .fbt-job button{padding:8px;font-size:10px}.food-bt-dialog .fbt-paper{padding:14px 8px}.food-bt-dialog .fbt-paper pre{font-size:11px}}
