/* ALTEC POS Assistant: isolated styles, independent of Themify section transforms. */
#apc-root{--apc-navy:#081c31;--apc-panel:#0c263e;--apc-line:#294b65;--apc-cyan:#65d8f1;position:fixed;right:24px;bottom:80px;z-index:99950;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.6;color:#edf7ff;text-align:left;letter-spacing:normal;text-transform:none;max-width:calc(var(--apc-view-width,100vw) - 32px);isolation:isolate}
#apc-root *,#apc-root *::before,#apc-root *::after{box-sizing:border-box}
#apc-root [hidden]{display:none!important}
#apc-root button,#apc-root input,#apc-root a{font:inherit;letter-spacing:normal;text-transform:none}
#apc-root button{cursor:pointer;margin:0;min-width:0;box-shadow:none;float:none;appearance:none}
#apc-root button:focus-visible,#apc-root a:focus-visible,#apc-root input:focus-visible{outline:3px solid #8eeaff!important;outline-offset:3px}
#apc-root #apc-launcher{display:inline-flex;align-items:center;gap:9px;min-height:50px;padding:11px 18px;border:1px solid #64cfe8;border-radius:99px;background:#0b4764;color:#fff;font-size:14px;font-weight:750;line-height:1.3;box-shadow:0 6px 24px #0005;transition:background .18s ease,transform .18s ease}
#apc-root #apc-launcher:hover{background:#10607d;transform:translateY(-2px)}
#apc-root svg{display:block;flex:none;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#apc-root #apc-panel{width:410px;max-width:calc(var(--apc-view-width,100vw) - 32px);height:min(640px,calc(var(--apc-view-height,100dvh) - 160px));min-height:260px;display:flex;flex-direction:column;overflow:hidden;background:var(--apc-navy);border:1px solid #36617b;border-radius:22px;box-shadow:0 22px 75px #0009;overscroll-behavior:contain}
#apc-root .apc-header{display:flex;gap:12px;align-items:center;padding:18px 18px 14px;background:linear-gradient(125deg,#103853,#091e35);border-bottom:1px solid var(--apc-line);flex-shrink:0}
#apc-root .apc-mark{width:40px;height:40px;display:grid;place-items:center;background:#0e5270;border:1px solid #428ca6;border-radius:13px;color:#9aeaff}
#apc-root .apc-heading{flex:1;min-width:0}
#apc-root #apc-title{margin:0;color:#fff;font-size:17px;font-weight:750;line-height:1.35}
#apc-root #apc-status{margin:3px 0 0;color:#b9d5e5;font-size:11px;line-height:1.5}
#apc-root #apc-close{display:grid;place-items:center;width:36px;height:36px;padding:7px;color:#d8ecf8;border:1px solid #41617a;border-radius:10px;background:#12334d}
#apc-root .apc-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 17px;border-bottom:1px solid #18394f;background:#0b2238;flex-shrink:0}
#apc-root .apc-tools button{border:0;border-radius:6px;background:transparent;color:#9ed9ed;padding:5px 0;font-size:12px;line-height:1.4;text-align:left}
#apc-root .apc-tools button:hover{color:#fff;text-decoration:underline}
#apc-root .apc-tools button:disabled{opacity:.5;cursor:default;text-decoration:none}
#apc-root #apc-log{flex:1;min-height:70px;overflow-y:auto;padding:18px 16px 8px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3b647e #091d30;touch-action:pan-y}
#apc-root .apc-message{margin:0 0 13px;max-width:96%;width:fit-content;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 14px;border:1px solid #26465d;border-radius:3px 15px 15px 15px;background:#102b43;color:#edf7ff;font-size:14px;line-height:1.75}
#apc-root .apc-message-user{margin-left:auto;background:#164966;border-color:#307390;border-radius:15px 3px 15px 15px;color:#fff}
#apc-root .apc-message-system{padding:8px 3px;background:transparent;border:0;color:#adc8d9;font-size:12px}
#apc-root #apc-actions{padding:4px 16px 12px;display:flex;gap:7px;flex-wrap:wrap;max-height:175px;overflow-y:auto;flex-shrink:0;overscroll-behavior:contain}
#apc-root .apc-chip{padding:7px 11px;min-height:36px;border:1px solid #315975;border-radius:10px;color:#d8f3ff;background:#102e47;font-size:12px;line-height:1.45;text-align:left;transition:background .15s ease}
#apc-root .apc-chip:hover{background:#194663;border-color:#65bad3}
#apc-root .apc-language{font-size:16px;padding:12px 14px;flex:1;min-width:94px;text-align:center;border-color:#47728b}
#apc-root #apc-form{display:flex;gap:8px;padding:11px 16px 7px;flex-shrink:0;border-top:1px solid #26475e;background:#0b2137}
#apc-root #apc-input{display:block;margin:0!important;padding:10px 11px!important;min-width:0;max-width:none;width:100%;height:44px;border:1px solid #3a5f78!important;border-radius:10px!important;background:#061a2b!important;color:#fff!important;font-size:16px!important;line-height:1.4!important;box-shadow:none!important}
#apc-root #apc-input::placeholder{color:#9dbacc;opacity:1}
#apc-root #apc-send{display:grid;place-items:center;padding:10px;min-width:44px;height:44px;border:1px solid #7bdcf1;border-radius:10px;background:#62d3eb;color:#042336}
#apc-root #apc-send:hover{background:#99eaff}
#apc-root #apc-input:disabled,#apc-root #apc-send:disabled{opacity:.55;cursor:default}
#apc-root #apc-privacy{font-size:10px;line-height:1.5;color:#a5bfd0;padding:0 16px 10px;margin:0;background:#0b2137;flex-shrink:0}
#apc-root #apc-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;margin:0;border-top:1px solid #31516a;background:#0a3d35;color:#b8ffda;text-decoration:none;font-size:12px;font-weight:650;line-height:1.5;flex-shrink:0;text-align:center}
#apc-root #apc-whatsapp:hover{background:#0c5143;color:#fff}
#apc-root #apc-whatsapp svg{width:17px;height:17px}
#apc-root .apc-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#apc-root.apc-open #apc-panel{animation:apc-reveal .2s ease-out both}
#apc-root.apc-compact{gap:0}
#apc-root.apc-compact #apc-panel{height:calc(var(--apc-view-height,100dvh) - var(--apc-top-inset,0px) - 16px);min-height:200px}
#apc-root.apc-compact #apc-launcher{display:none}
#apc-root.apc-compact .apc-header{padding:8px 14px}
#apc-root.apc-compact .apc-mark{width:30px;height:30px;border-radius:9px}
#apc-root.apc-compact #apc-title{font-size:14px}
#apc-root.apc-compact #apc-status{display:none}
#apc-root.apc-compact #apc-close{width:30px;height:30px}
#apc-root.apc-compact #apc-log{min-height:35px;padding-top:8px}
#apc-root.apc-compact #apc-actions{max-height:55px;min-height:0;flex-shrink:1;padding-bottom:6px}
#apc-root.apc-compact #apc-privacy{max-height:34px;overflow:auto;padding-bottom:5px}
#apc-root.apc-compact #apc-whatsapp{font-size:11px;padding:8px 12px}
@keyframes apc-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#apc-root{right:16px;bottom:76px}#apc-root #apc-panel{width:calc(var(--apc-view-width,100vw) - 32px);height:min(620px,calc(var(--apc-view-height,100dvh) - 155px));border-radius:18px}#apc-root #apc-launcher{min-height:48px;padding:10px 15px}#apc-root .apc-header{padding:14px}#apc-root .apc-message{font-size:14px}#apc-root #apc-actions{max-height:140px}}
@media(max-width:680px){body.admin-bar #apc-root{bottom:136px}body.admin-bar #apc-root:not(.apc-compact) #apc-panel{height:min(620px,calc(var(--apc-view-height,100dvh) - 248px))}}
body:has(#mobile-menu.sidemenu-on) #apc-root{visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){#apc-root *,#apc-root *::before,#apc-root *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body.am-motion-paused #apc-root *,body:has(.aac-pause[aria-pressed="true"]) #apc-root *,body:has(.am-motion-toggle[aria-pressed="true"]) #apc-root *{animation:none!important;transition:none!important}
body.themify_builder_active #apc-root,html.tb_builder_active #apc-root{display:none!important}
@media print{#apc-root{display:none!important}}
