/* Stable compact controls and keyboard-aware dialogs. */
body.navigating149 #main{opacity:.55;pointer-events:none}body.navigating149{cursor:progress}
body[data-interface=customer] #main.customer-catalog148 .catalog-search148{display:flex!important;flex-direction:row!important;align-items:center!important;height:44px!important;min-height:44px!important;overflow:visible!important}
body[data-interface=customer] #main.customer-catalog148 .catalog-mode148{width:94px!important;position:relative!important;flex:none!important;height:100%!important}
body[data-interface=customer] #main.customer-catalog148 #modeButton{display:flex!important;gap:9px!important;align-items:center!important;padding:0 9px!important;background:transparent!important;color:#214351!important;border:0!important;min-height:0!important;height:100%!important}
body[data-interface=customer] #main.customer-catalog148 .catalog-triangle148{font-size:15px!important;line-height:1!important}
body[data-interface=customer] #main.customer-catalog148 #modeOptions{z-index:60!important;top:calc(100% + 5px)!important;left:0!important;display:block;max-height:160px;overflow:auto}
body[data-interface=customer] #main.customer-catalog148 #modeOptions[hidden]{display:none!important}
body[data-interface=customer] #main.customer-catalog148 #modeOptions button{color:#28596f!important;background:#f8fcff!important;display:block!important;height:37px!important;border-radius:0!important;border:0!important;border-bottom:1px solid #deebf1!important;width:100%!important;min-height:0!important}
body[data-interface=customer] #main.customer-catalog148 #search{flex:1!important;width:0!important;min-width:0!important;margin:0!important;height:40px!important}
body[data-interface=customer] #main.customer-catalog148 #clear{position:static!important;width:32px!important;min-width:32px!important;background:transparent!important;color:#52859b!important;height:36px!important;padding:0!important;flex:none!important}
body[data-interface=customer] #main.customer-catalog148 .medicine148{background:#f5fbfe!important;color:#214351!important;display:flex!important;flex-direction:row!important;text-align:left!important;gap:8px!important;align-items:center!important}
body[data-interface=customer] #main.customer-catalog148 .medicine-info148{display:flex!important;flex-direction:column!important;min-width:0!important;flex:1!important}
body[data-interface=customer] #main.customer-catalog148 .medicine-stock148{align-self:flex-start!important;color:#22677e!important;background:linear-gradient(120deg,#b1dcdcb0,#effafc30)!important}
body[data-interface=customer] #main.customer-catalog148 .medicine-stock148.unavailable148{color:#73838b!important;background:linear-gradient(120deg,#d5dfe69e,#f7fafb20)!important}
header #accountButton,header #notificationButton{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body[data-interface=admin] header #brand{display:flex;align-items:center;justify-content:center;gap:5px}body[data-interface=admin] header .crescent{width:34px;height:40px}body[data-interface=admin] header #back{border:0;background:transparent;display:flex;align-items:center;gap:4px}body[data-interface=admin] header #back svg{width:20px;height:22px}body[data-interface=admin] header #accountButton svg{width:25px;height:25px}
.workspace-dropdown .menu-row svg{color:#368b99;filter:drop-shadow(0 1px 1px #9ad7d885)}
:root{--dialog-height149:100dvh;--dialog-top149:0px}
dialog{position:fixed!important;inset:auto!important;top:calc(var(--dialog-top149) + 10px)!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;width:min(380px,94vw)!important;max-height:calc(var(--dialog-height149) - 20px)!important;overflow-y:auto!important;overscroll-behavior:contain;padding:22px 17px 16px!important;border-radius:17px!important;scroll-padding:12px!important}
dialog h1,dialog h2{font-size:18px!important;line-height:1.25;margin:5px 24px 9px 0!important}dialog label{margin:8px 0;font-size:12px}dialog input,dialog textarea,dialog select{font-size:16px!important;padding:9px!important}dialog textarea{height:58px;min-height:44px}dialog .dialog-x{position:absolute;top:5px;right:7px;width:29px;height:29px;min-height:0;padding:0;border:0;background:transparent;color:#2a7a9d;font-size:25px}dialog .total{font-size:18px;margin:14px 0}dialog .row,dialog .cart-row{padding:8px 0}dialog .cart-row small{display:block}dialog .cart-row .stepper button{padding:4px 8px;min-height:30px}dialog .cart-row .grow{min-width:0;font-size:12px}dialog .cart-row .remove-line{padding:5px;min-width:26px}dialog .cart-row .remove-line svg{width:18px;height:18px}
.product149{text-align:center}.product-photo149{width:98px;height:98px;position:relative;margin:0 auto 9px;display:grid;place-items:center;border-radius:12px;background:#e7f2f7}.product-photo149 .photo{position:absolute;width:88px!important;height:88px!important;object-fit:contain;margin:0!important}.product-photo149 .medicine-watermark{font-size:9px;color:#91acb8;display:grid;place-items:center}.product149 h2{margin:4px 0 3px!important;font-size:17px!important}.product149 p{font-size:12px;margin:5px 0}.product149 .company-detail{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.price149{display:block;font-size:22px;margin:9px 0}.product149 .detail-stock148{display:inline-block;margin:7px 0 0;padding:4px 12px}.product-stepper149{display:flex;justify-content:center;margin:10px 0;align-items:center;gap:15px}.product-stepper149 button{min-height:31px;padding:4px 11px}.short-note149{color:#6d8490;font-size:11px!important}
.purchase-types{display:flex;gap:8px;margin:10px 0}.purchase-types button{flex:1;min-height:35px;padding:7px 9px!important;border:1px solid #aacdd8!important;border-radius:10px!important;background:linear-gradient(125deg,#c5e4e6b3,#edf8fc61)!important;color:#3e7486!important;font-size:12px!important;box-shadow:inset 0 1px #fff}.purchase-types button[aria-pressed=true]{background:linear-gradient(125deg,#73b8c9ba,#c6e8e796)!important;border-color:#64a4ba!important;color:#195d79!important}.purchase-types button:disabled{opacity:.35}
.submit149{display:block;width:100%;margin:10px auto 0;min-height:37px;padding:8px 12px;background:linear-gradient(125deg,#9bced7,#d4e9ed)!important;color:#185b74!important;border:1px solid #95bdce!important;border-radius:10px}.submit149:active{background:#83c2cd!important}.empty149{text-align:center;padding:15px 0}.empty149 h2{margin:0!important}
.request-options149{display:grid;grid-template-columns:1fr 1fr;gap:9px}.request-options149 button,.photo-actions149 label{background:linear-gradient(125deg,#b0dcded1,#e9f7fb86);border:1px solid #a8ced9;border-radius:12px;color:#266c84;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:14px 6px;font-size:12px}.request-options149 svg,.photo-actions149 svg{width:26px;height:26px}.photo-actions149{display:flex;gap:10px}.photo-actions149 label{position:relative;flex:1;cursor:pointer;overflow:hidden}.photo-actions149 input{position:absolute;inset:0;opacity:0;cursor:pointer}.request-form149 #requestPreview{display:block;width:80px;height:75px;object-fit:contain;margin:5px auto}.request-form149 #requestPreview[hidden]{display:none}.source-image149{max-width:100%;max-height:65dvh;object-fit:contain}.source149{padding:9px 0;border-bottom:1px solid #d3e6ef}.order-search149{display:flex;align-items:center;gap:0;border:1px solid #b1cedc;background:#f7fbfd;border-radius:12px;margin:8px 0 14px;position:relative}.order-mode149{position:relative;flex:none}.order-mode149>button{border:0;background:transparent;color:#246885;padding:10px;display:flex;gap:9px;font-size:13px}.order-mode149:after{position:absolute;content:'';right:0;top:10px;bottom:10px;width:1px;background:#a8cbd8}#orderModes149{position:absolute;top:100%;left:0;z-index:10;background:#f7fbfd;border:1px solid #b1cedc;border-radius:10px;padding:4px;min-width:115px}#orderModes149 button{display:block;width:100%;background:transparent;color:#246885;border:0;text-align:left;font-size:13px}#orderQuery149{border:0;background:transparent;min-width:0;flex:1;padding:9px;font-size:16px}#clearOrder149{border:0;background:transparent;color:#52859b;padding:8px 12px;font-size:23px}.source149 button{margin-left:8px}.source149 p{margin:5px 0;font-size:12px}
