/* Scoped to the register; the customer portal keeps its own layout. */
.hospital-register{--teal:#008fa5;--teal-dark:#006d7e;--ink:#24424d;--line:#d8e5e8;--panel:#fff}
.hospital-register .app{grid-template-columns:168px minmax(0,1fr);height:calc(100dvh - 32px);min-height:0}
.hospital-register .sidebar{height:calc(100dvh - 32px);min-height:0;padding:18px 12px}
.hospital-register .sidebar nav button{padding:10px 12px;min-height:43px;font-size:12px;gap:9px}
.hospital-register .sidebar .store-logo{padding:12px 7px!important}
.hospital-register .workspace{min-width:0;min-height:0;display:flex;flex-direction:column}
.hospital-register .topbar{position:relative;top:auto;display:grid;grid-template-columns:minmax(0,1fr) 142px;grid-template-rows:44px 36px;gap:6px 16px;height:106px;min-height:106px;padding:10px 16px;align-items:center}
.hospital-register .topbar>div:not(.utility-suite):not(.top-actions){grid-column:1;grid-row:1}
.hospital-register .topbar h2{font-size:24px}.hospital-register .topbar .eyebrow{font-size:9px;letter-spacing:1.6px;margin:0 0 3px}
.hospital-register .topbar .utility-suite{position:static!important;grid-column:2;grid-row:1/3;display:flex!important;flex-direction:column;width:142px;height:82px;min-height:0;margin:0;padding:7px;border:1px solid #d9e5e7;border-radius:10px;background:#fff;box-shadow:none;gap:6px}
.hospital-register .utility-suite .utility-controls{gap:6px}.hospital-register .utility-suite .utility-controls button{min-height:28px;height:28px;padding:3px 7px;font-size:10px;background:#214c5b;box-shadow:none}
.hospital-register .utility-brand img{width:108px;height:22px;object-fit:contain}.hospital-register .utility-brand small{font-size:6.5px;line-height:1.15}
.hospital-register .topbar .top-actions{grid-column:1;grid-row:2;display:flex;gap:6px;width:100%;padding:0;min-width:0}
.hospital-register .topbar .top-actions>button{height:34px;min-height:34px;flex:0 1 144px;width:auto;max-width:170px;padding:6px 9px;font-size:10px!important;font-weight:750;letter-spacing:0;line-height:1.15;border-radius:7px;box-shadow:none;white-space:nowrap}
.hospital-register .staff-chip{display:none!important}
.hospital-register .view{padding:12px 14px;min-height:0;overflow:auto}.hospital-register #view-pos.active{flex:1;display:flex}
.hospital-register #view-pos .pos-grid{width:100%;height:100%;min-height:0;grid-template-columns:minmax(0,1fr) 306px;grid-template-rows:minmax(0,1fr);gap:12px}
.hospital-register #view-pos .catalog-panel,.hospital-register #view-pos .sale-panel{height:100%!important;min-height:0!important;padding:12px;border-radius:12px;overflow:hidden}
.hospital-register #view-pos .catalog-panel{display:grid;grid-template-rows:40px auto minmax(0,1fr)!important;gap:10px}
.hospital-register .search-row{gap:6px;min-width:0}.hospital-register #product-search{min-height:40px;height:40px;font-size:14px;padding:8px 10px}.hospital-register #view-pos .search-row button{height:40px;min-height:40px;padding:7px 10px;font-size:11px;border-radius:8px}
.hospital-register #department-browser-screen{display:block!important;overflow:visible!important;padding:0}
.hospital-register #view-pos #department-buttons{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:42px!important;gap:6px!important;margin:0;min-height:0}
.hospital-register #view-pos #department-buttons button{display:flex!important;align-items:center;justify-content:center;height:42px!important;min-height:42px!important;padding:4px 6px!important;border:1px solid #d5e5e8!important;border-radius:7px!important;background:#edf5f7!important;color:#34545e!important;font-size:11px!important;font-weight:650!important;line-height:1.15!important;outline:none!important;box-shadow:none!important;text-shadow:none!important}
.hospital-register #view-pos #department-buttons button.active{background:#007f93!important;color:#fff!important;border-color:#007f93!important}.hospital-register #view-pos #department-buttons button:hover{border-color:#007f93!important}
.hospital-register #product-browser-screen,.hospital-register #product-browser-screen.categories-hidden{display:grid!important;grid-template-rows:36px minmax(0,1fr) 28px!important;gap:6px;min-height:0;overflow:hidden}
.hospital-register .browse-back-row{height:36px;display:flex;gap:8px;min-width:0;align-items:center;padding:0;margin:0}.hospital-register .browse-back-row>strong{font-size:15px;white-space:nowrap}.hospital-register #back-to-departments{padding:5px 8px;height:32px;min-height:32px;font-size:10px}.hospital-register #back-to-departments[hidden]{display:none}
.hospital-register #category-buttons{display:block!important;flex:1;min-width:0;margin:0 0 0 auto;height:auto;max-width:240px;overflow:visible}.hospital-register #category-buttons[hidden]{display:none!important}.hospital-register #category-buttons select{font-size:11px;border-radius:7px;height:34px;padding:6px 24px 6px 8px}
.hospital-register #view-pos #product-results{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:144px!important;gap:7px!important;min-height:0;height:auto!important;padding:2px 3px 5px!important;max-height:none!important}
.hospital-register #view-pos #product-results .product-card{height:144px!important;min-height:144px!important;padding:7px!important;gap:5px!important;border:1px solid #d7e3e6!important;border-left-width:1px!important;border-radius:9px!important;background:var(--panel);box-shadow:0 2px 5px #214c5b07;transform:none}
.hospital-register #view-pos #product-results .product-card:hover{border-color:#008fa5!important;background:#f2fafb}.hospital-register #view-pos #product-results .product-card:focus-visible,.hospital-register #department-buttons button:focus-visible{outline:3px solid #ef9b45!important;outline-offset:1px!important}
.hospital-register #view-pos .hospital-product-image{width:100%;height:64px!important;min-height:64px!important;flex:0 0 64px;object-fit:contain;background:#fbfaf7;border-radius:5px;margin:0!important}
.hospital-register #view-pos .product-card-name{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden!important;white-space:normal!important;font-size:10.8px!important;line-height:1.18!important;min-height:0!important;height:38px!important;max-height:38px!important;margin:0;text-align:left;font-weight:650}
.hospital-register #view-pos .product-card-meta{display:flex!important;justify-content:space-between;gap:2px;min-height:17px;margin-top:auto!important;flex-wrap:nowrap!important}.hospital-register #view-pos .product-card .price{font-size:13px!important;line-height:1;color:#00788b!important;white-space:nowrap}
.hospital-register .hospital-id-pill{font-size:8px;font-weight:800;color:#92304f;padding:2px;background:#ffedf3;border-radius:3px}.hospital-register #view-pos #product-results .hospital-restricted{border-color:#b65575!important}
.hospital-register .catalog-pager{font-size:10px;margin:0;padding:2px 0;min-height:26px}.hospital-register .catalog-pager button{padding:4px 9px;min-height:25px;font-size:10px}
.hospital-register .grocery-member-gate{display:grid;grid-template-columns:1fr;gap:6px}.hospital-register .grocery-member-gate .eyebrow{font-size:8px}.hospital-register .grocery-member-gate strong{font-size:14px}.hospital-register .grocery-member-gate small{font-size:10px}
.hospital-register .verification-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;min-width:0}.hospital-register .verification-actions button{min-height:34px;height:34px;font-size:9px;padding:5px 7px}
.hospital-register .sale-panel .cart{min-height:80px;margin:10px 0}.hospital-register .sale-panel .cart.empty{font-size:12px;text-align:center;padding:12px}.hospital-register .sale-panel .totals>div{font-size:12px}.hospital-register .sale-panel .totals .grand{font-size:23px}
.hospital-register .sale-panel .cart-line-copy>b{font-size:11px;white-space:normal;line-height:1.2}.hospital-register .sale-panel .cart-line-total{font-size:11px}
.hospital-register .grocery-tender-row{grid-template-columns:82px 1fr;gap:7px}.hospital-register .grocery-tender-row button{min-height:44px;height:44px;padding:6px 10px!important;font-size:11px}.hospital-register .grocery-tender-row #checkout-btn{font-size:13px!important}
.hospital-register .tender-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.hospital-register .tender-buttons button{min-height:43px;padding:8px 6px;font-size:12px;line-height:1.15}
.hospital-payment-note{padding:12px 0}.hospital-payment-note strong{display:block;font-size:18px}.hospital-payment-note p{font-size:14px;line-height:1.5}.hospital-payment-note small{color:#53727b}
.hospital-badge-heading{display:flex;align-items:center;gap:12px;margin:6px 0 18px}.hospital-badge-heading>span{font-size:35px;color:#00859a}.hospital-badge-heading strong,.hospital-badge-heading small{display:block}.hospital-badge-heading small{font-size:9px;color:#00859a;letter-spacing:1.5px;margin-top:4px}.hospital-badge-label{display:block;margin:10px 0;font-size:12px;font-weight:650}.hospital-badge-label input,.hospital-badge-label select{margin-top:6px}.hospital-badge-note{font-size:12px;line-height:1.5}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[data-theme="dark"] .hospital-register{--ink:#e7f1f3;--panel:#1e333c;--line:#36535d}html[data-theme="dark"] .hospital-register #view-pos #department-buttons button{background:#243f4a!important;color:#e0eef2!important;border-color:#42616b!important}html[data-theme="dark"] .hospital-register #view-pos #department-buttons button.active{background:#008398!important;color:#fff!important}html[data-theme="dark"] .hospital-register #view-pos .product-card .price{color:#81d5df!important}html[data-theme="dark"] .hospital-register .topbar .utility-suite{background:#203842}html[data-theme="dark"] .hospital-register #view-pos #product-results .product-card:hover{background:#284752}
@media(min-width:1400px){.hospital-register #view-pos .pos-grid{grid-template-columns:minmax(0,1fr) 330px}.hospital-register #view-pos #product-results{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(min-width:701px) and (max-width:1150px){.hospital-register .app{grid-template-columns:138px minmax(0,1fr)}.hospital-register .sidebar{padding:14px 8px}.hospital-register .sidebar nav button{font-size:10px;padding:10px 7px}.hospital-register #view-pos .pos-grid{grid-template-columns:minmax(0,1fr) 270px;gap:9px}.hospital-register #view-pos #product-results{grid-template-columns:repeat(4,minmax(0,1fr))!important}.hospital-register #view-pos #department-buttons button{font-size:9.5px!important}.hospital-register .topbar .top-actions>button{font-size:9px!important}.hospital-register .view{padding:9px}}
@media(max-width:700px){.hospital-register .hospital-demo-banner{padding:7px 12px;min-height:40px;height:40px;justify-content:center}.hospital-register .hospital-demo-banner .hospital-mobile-logo{width:210px;max-width:100%}.hospital-register .app{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 40px);padding-bottom:65px}.hospital-register .sidebar{position:fixed;top:auto;bottom:0;height:60px!important;min-height:60px!important;z-index:20;width:100%;padding:2px 5px;display:block}.hospital-register .sidebar .store-logo,.hospital-register .sidebar-foot{display:none!important}.hospital-register .sidebar nav{display:grid;grid-template-columns:repeat(6,1fr);gap:1px}.hospital-register #nav button{min-height:54px!important;height:54px!important;padding:4px 2px!important;font-size:9px!important}.hospital-register .topbar{height:106px!important;min-height:106px!important;grid-template-columns:minmax(0,1fr) 122px;padding:8px 10px;gap:6px 9px}.hospital-register .topbar h2{font-size:21px}.hospital-register .topbar .eyebrow{font-size:7px;letter-spacing:1px}.hospital-register .topbar .utility-suite{width:122px;height:79px;padding:5px;grid-column:2;grid-row:1/3}.hospital-register .utility-brand img{width:92px;height:20px}.hospital-register .utility-brand small{font-size:5.6px}.hospital-register .topbar .top-actions{grid-template-columns:repeat(2,1fr);display:grid;grid-row:2;gap:4px}.hospital-register .topbar .top-actions>button{height:25px;min-height:25px;padding:4px;font-size:8px!important;width:100%;max-width:none}.hospital-register .topbar{grid-template-rows:30px 54px}.hospital-register .view{padding:8px}.hospital-register #view-pos.active{display:block}.hospital-register #view-pos .pos-grid{display:grid;grid-template-columns:1fr;grid-template-rows:510px 420px;gap:10px;height:auto}.hospital-register #view-pos .catalog-panel{min-height:0!important;height:510px!important;grid-template-rows:38px auto minmax(0,1fr)!important;padding:9px;gap:8px}.hospital-register #view-pos .sale-panel{height:420px!important;min-height:0!important}.hospital-register #view-pos #department-buttons{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:38px!important;gap:4px!important}.hospital-register #view-pos #department-buttons button{height:38px!important;min-height:38px!important;font-size:10px!important}.hospital-register #view-pos #product-results{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:140px!important;gap:5px!important}.hospital-register #view-pos #product-results .product-card{height:140px!important;min-height:140px!important;padding:6px!important}.hospital-register .browse-back-row>strong{font-size:12px}.hospital-register #back-to-departments{font-size:8px;padding:4px 6px}.hospital-register #category-buttons{max-width:175px}.hospital-register #category-buttons select{font-size:9px;padding-left:5px}.hospital-register #product-search{font-size:11px}.hospital-register #view-pos .search-row button{font-size:10px;padding:5px 8px}.hospital-register .search-row .search-clear-button{min-width:45px}.hospital-register .tender-buttons button{font-size:10px;padding:8px 4px}}
