:root{color:#1e293b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,sans-serif;background:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:20px;line-height:1.2}h1,h2{margin-bottom:0}h2{font-size:18px}h3{font-size:15px;margin-bottom:10px}.app-shell{min-height:100vh;background:#f8fafc}.topbar{background:linear-gradient(105deg,#f0f9ff,#ecfeff 55%,#fff7ed);border-bottom:1px solid #bae6fd;box-shadow:0 6px 18px rgba(14,116,144,.1);color:#0f3b56;gap:18px;justify-content:space-between;min-height:72px;padding:14px 28px;position:sticky;top:0;z-index:20}.brand-lockup,.topbar{align-items:center;display:flex}.brand-lockup{gap:12px;min-width:0}.brand-logo{background:#ffffff;border-radius:10px;flex:0 0 auto;height:52px;object-fit:contain;padding:3px 7px;width:68px}.home-brand-logo{background:transparent;border-radius:0;object-fit:contain;padding:0}.eyebrow{color:#39728f;font-size:12px;font-weight:700;letter-spacing:0;margin:0 0 3px}.api-pill{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#cbd5e1;font-size:13px;padding:8px 12px;white-space:nowrap}.topbar-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.user-chip{align-items:end;display:grid;gap:2px;text-align:right}.user-chip strong{font-size:14px}.user-chip span{color:#52748a;font-size:12px}.logout-button,.theme-toggle{align-items:center;background:#ffffff;border:1px solid #bae6fd;border-radius:8px;color:#0f172a;display:inline-flex;font-weight:800;gap:7px;min-height:40px;padding:9px 12px}.header-icon-button,.theme-toggle{justify-content:center;min-width:40px;padding:9px;width:40px}.collection-page{display:grid;gap:16px;padding:18px}.favorite-page-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.favorite-page-card{align-items:center;border:1px solid #dbe4f0;border-radius:10px;display:grid;gap:12px;grid-template-columns:58px minmax(0,1fr);min-width:0;padding:12px}.favorite-page-card .shortcut-actions{grid-column:1/-1;justify-content:flex-end;width:100%}.favorite-page-copy{display:grid;gap:4px;min-width:0}.favorite-page-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.favorite-page-copy span{color:#64748b;font-size:12px}.cart-page{align-content:start;margin:0;max-width:none;min-height:calc(100vh - 122px);width:100%}.cart-page-header{align-items:start;display:flex;gap:16px;justify-content:space-between}.cart-page-header .section-heading{margin-bottom:6px}.cart-page-header p{color:#64748b;margin:0}.cart-page .cart-group{gap:0}.cart-page-item{align-items:center;border-bottom:1px solid #e2e8f0;display:grid;gap:18px;grid-template-columns:88px minmax(260px,1fr) 130px 140px 76px;min-width:0;padding:18px 10px}.cart-page-item:first-child{border-top:1px solid #e2e8f0}.cart-page-product-image{border-radius:8px;height:88px;width:88px}.cart-page-item-copy{display:grid;gap:4px;min-width:0}.cart-page-item-copy strong{color:#075985;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-page-item-copy span,.cart-page-price span{color:#64748b;font-size:12px}.cart-page-item-copy .cart-page-code{color:#64748b;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cart-page-price{display:grid;gap:3px}.cart-page-price strong{color:#0f172a;font-size:22px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.cart-page-quantity{min-width:0;width:140px}.cart-page-remove{align-items:center;background:transparent;border:0;color:#dc2626;display:inline-flex;font-size:13px;font-weight:800;gap:5px;justify-self:end;padding:8px 0}.cart-page-remove:focus-visible,.cart-page-remove:hover{color:#991b1b;text-decoration:underline}.system-features-panel{min-height:360px}.system-feature-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.system-feature-button{align-items:center;background:#ffffff;border:1px solid #dbe4f0;border-radius:10px;color:#0f172a;display:flex;gap:14px;min-height:86px;padding:16px;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.system-feature-button>svg{color:#2563eb;flex:0 0 auto}.system-feature-button span{display:grid;gap:4px}.system-feature-button strong{font-size:15px}.system-feature-button small{color:#64748b;font-size:12px;line-height:1.5}.system-feature-button:focus-visible,.system-feature-button:hover{border-color:#2563eb;box-shadow:0 10px 24px rgba(37,99,235,.12);transform:translateY(-1px)}.app-layout{--sidebar-column-width:250px;display:grid;gap:18px;grid-template-columns:var(--sidebar-column-width) minmax(0,1fr);min-height:calc(100vh - 72px);padding:22px 28px 28px;transition:grid-template-columns .18s ease}.app-layout.sidebar-collapsed{--sidebar-column-width:76px}.app-layout.work-layout{padding-right:92px}.announcement-stage,.panel,.sidebar{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 24px rgba(15,23,42,.06)}.sidebar{align-self:start;display:grid;gap:16px;padding:16px;position:sticky;top:94px}.section-heading,.sidebar-title{align-items:center;color:#0f172a;display:flex;gap:9px}.sidebar-title{border-bottom:1px solid #e2e8f0;font-size:15px;font-weight:800;justify-content:flex-start;padding-bottom:12px}.sidebar-title-main{align-items:center;display:flex;gap:9px;min-width:0}.collapse-button{align-items:center;background:#ffffff;border:1px solid #e2e8f0;border-radius:8px;color:#475569;display:inline-flex;height:34px;justify-content:center;margin-left:5px;padding:0;width:34px}.side-nav{display:grid;gap:9px}.side-nav-item{align-items:center;background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;color:#334155;display:grid;gap:10px;grid-template-columns:34px 1fr auto;min-height:62px;padding:10px;text-align:left;transition:border-color .16s ease,background .16s ease,color .16s ease}.side-nav-item:hover{background:#f8fafc;border-color:#bfdbfe}.side-nav-item.active{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.side-icon{align-items:center;background:#f1f5f9;border-radius:9px;display:flex;height:34px;justify-content:center;width:34px}.side-nav-item.active .side-icon{background:#dbeafe}.side-nav-item.nav-home .side-icon{background:#eef2ff;color:#4f46e5}.side-nav-item.nav-products .side-icon{background:#dbeafe;color:#2563eb}.side-nav-item.nav-favorites .side-icon{background:#fef3c7;color:#d97706}.side-nav-item.nav-cart .side-icon{background:#ccfbf1;color:#0f766e}.side-nav-item.nav-orderExceptions .side-icon{background:#ffe4e6;color:#e11d48}.side-nav-item.nav-orders .side-icon{background:#f3e8ff;color:#9333ea}.side-nav-item.nav-lookup .side-icon{background:#dcfce7;color:#15803d}.side-nav-item.nav-systemFeatures .side-icon{background:#e0e7ff;color:#4338ca}.side-copy{display:grid;gap:2px;min-width:0}.side-copy strong{font-size:14px}.side-copy small{color:#64748b;font-size:12px}.side-count{align-items:center;background:#f1f5f9;border-radius:999px;color:#475569;display:flex;font-size:12px;font-weight:800;justify-content:center;min-width:26px;padding:3px 7px}.sidebar-metrics{border-top:1px solid #e2e8f0;display:grid;gap:8px;padding-top:14px}.sidebar-metrics div{align-items:center;display:flex;justify-content:space-between}.sidebar-metrics span{color:#64748b;font-size:13px}.sidebar-metrics strong{color:#0f172a}.sidebar-collapsed .sidebar{padding:12px 16px}.sidebar-collapsed .sidebar-title{border-bottom:0;justify-content:flex-start;padding-bottom:0}.sidebar-collapsed .collapse-button{margin-left:5px}.sidebar-collapsed .side-copy,.sidebar-collapsed .sidebar-metrics,.sidebar-collapsed .sidebar-title-main{display:none}.sidebar-collapsed .side-nav-item{gap:0;grid-template-columns:1fr;justify-items:center;min-height:54px;padding:8px 6px;position:relative}.sidebar-collapsed .side-count{position:absolute;right:-3px;top:-5px;min-width:20px;padding:2px 6px}.announcement-stage{align-self:start;min-height:520px;padding:18px}.section-heading{border-bottom:1px solid #e2e8f0;margin-bottom:16px;padding-bottom:12px}.section-heading.with-actions{justify-content:space-between}.section-heading.with-actions>div{align-items:center;display:flex;gap:9px}.category-switcher,.new-order-actions{display:flex;flex-wrap:wrap;gap:8px}.new-order-actions .icon-button.active{background:#2563eb;border-color:#2563eb;color:#ffffff;box-shadow:0 8px 18px rgba(37,99,235,.22)}.new-order-actions .icon-button.active svg{color:#dbeafe}.api-context-strip{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#475569;display:flex;gap:10px;justify-content:space-between;margin-bottom:12px;padding:10px 12px}.api-context-strip strong{color:#0f172a}.api-context-strip span{color:#2563eb;font-size:13px;font-weight:800}.category-switcher{margin-bottom:14px}.category-option{align-items:center;background:#ffffff;border:1px solid #cbd5e1;border-radius:999px;color:#334155;display:inline-flex;font-weight:800;gap:7px;min-height:38px;padding:8px 12px}.category-option.active{background:#eff6ff;border-color:#2563eb;color:#1d4ed8}.announcement-list,.stack{display:grid;gap:10px}.announcement{border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:8px;padding:14px}.announcement div{display:flex;gap:10px;justify-content:space-between}.announcement strong{color:#0f172a;font-size:15px}.announcement p{color:#475569;line-height:1.65;margin-bottom:0}.result-card span,.submitted span,time{color:#64748b;font-size:13px}.content-area,.workspace-panel{min-width:0}.content-area{align-self:start;width:100%}.home-layout .content-area{display:flex;justify-content:center}.home-layout .announcement-stage{max-width:760px;width:100%}.panel,.work-layout .panel{width:100%}.panel{min-width:0;padding:18px}.lookup-form,.toolbar{align-items:end;display:grid;gap:12px;grid-template-columns:1fr 130px 130px auto;margin-bottom:16px}.product-toolbar{align-items:end;display:grid;gap:12px;grid-template-columns:auto minmax(160px,1fr) minmax(150px,190px) auto auto;margin-bottom:8px}.product-toolbar .product-toolbar-kind-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:40px;margin:0;overflow:hidden;padding:3px;width:208px}.product-toolbar .product-toolbar-kind-tabs button{min-height:32px;padding:4px 10px;white-space:nowrap}.product-toolbar .product-toolbar-kind-tabs button.active{box-shadow:none}.product-toolbar .product-toolbar-kind-tabs .medicine-kind-tab{letter-spacing:.5em;text-indent:.5em}.product-keyword-control>span{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.product-category-row{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start;margin-bottom:12px;min-height:36px}.product-category-row .otc-category-browser{border-bottom:0;margin:2px 0 0}.product-category-row .otc-category-tabs{padding-bottom:4px;padding-left:0;padding-right:0}.product-category-row .otc-category-tab>button,.product-category-row .otc-category-tabs>button{min-height:32px;padding-bottom:4px;padding-top:4px}.product-result-count{color:#64748b;flex:0 0 auto;font-size:13px;font-weight:700;margin-left:auto;white-space:nowrap}.product-sort-control select{min-width:0;width:100%}.product-kind-tabs{align-items:center;background:#f8fafc;border:1px solid #dbe4f0;border-radius:8px;display:inline-flex;gap:4px;margin:4px 0 14px;padding:4px}.product-kind-tabs button{background:transparent;border:0;border-radius:6px;color:#334155;font-size:15px;font-weight:800;min-height:38px;padding:8px 18px}.product-kind-tabs button.active{background:#2563eb;color:#ffffff;box-shadow:0 8px 20px rgba(37,99,235,.18)}.product-shortcuts{border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:14px;margin:0 0 14px;padding:12px}.product-shortcuts h3{color:#0f172a;font-size:15px;margin:0 0 8px}.shortcut-strip{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.shortcut-card{border:1px solid #dbe4f0;border-radius:8px;display:grid;gap:6px;min-width:0;padding:10px}.shortcut-card span{color:#64748b;font-size:12px}.shortcut-card strong{color:#0f172a;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shortcut-actions{align-items:center;display:flex;gap:8px}.shortcut-actions .icon-button.primary{flex:1 1 auto}.shortcut-empty{text-align:left}.view-toggle{border:1px solid #cbd5e1;border-radius:8px;min-height:40px;overflow:hidden}.view-toggle,.view-toggle button{align-items:center;display:inline-flex}.view-toggle button{background:#ffffff;border:0;color:#475569;height:38px;justify-content:center;width:40px}.view-toggle button+button{border-left:1px solid #cbd5e1}.view-toggle button.active{background:#eff6ff;color:#1d4ed8}.product-meta{align-items:center;color:#64748b;display:flex;gap:12px;justify-content:space-between;margin:10px 0 14px}.product-meta>div{align-items:center;display:flex;gap:10px}.otc-category-browser{border-bottom:1px solid #e2e8f0;margin:2px -16px 16px;position:relative;z-index:5}.otc-category-tabs{align-items:center;background:#ffffff;display:flex;flex-wrap:wrap;gap:0;padding:0 16px 10px}.otc-category-tab{flex:0 0 auto;position:relative}.otc-category-tab>button,.otc-category-tabs>button{background:transparent;border:0;border-right:1px solid #dbe4f0;color:#0f172a;flex:0 0 auto;font-size:15px;min-height:40px;padding:8px 18px}.otc-category-tab:last-child>button,.otc-category-tabs>button:last-child{border-right:0}.otc-category-tab>button.active,.otc-category-tabs>button.active{color:#2563eb;font-weight:900}.otc-category-tab>button:hover,.otc-category-tabs>button:hover{background:#eff6ff;color:#1d4ed8}.otc-category-menu{background:#ffffff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 18px 40px rgba(15,23,42,.18);display:none;gap:0;left:0;max-height:420px;overflow:auto;padding:12px 22px;position:absolute;top:calc(100% - 1px);width:min(320px,80vw);z-index:20;scrollbar-color:#94a3b8 #eef2f7;scrollbar-width:thin}.otc-category-menu::-webkit-scrollbar{width:9px}.otc-category-menu::-webkit-scrollbar-track{background:#eef2f7;border-radius:999px}.otc-category-menu::-webkit-scrollbar-thumb{background:#94a3b8;border:2px solid #eef2f7;border-radius:999px}.otc-category-menu::-webkit-scrollbar-thumb:hover{background:#64748b}.otc-category-tab:focus-within .otc-category-menu,.otc-category-tab:hover .otc-category-menu{display:grid}.otc-category-tab.menu-suppressed .otc-category-menu{display:none}.otc-category-menu button{background:transparent;border:0;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:15px;min-height:44px;padding:10px 4px;text-align:left}.otc-category-menu button.active{color:#2563eb;font-weight:900}.otc-category-menu button:hover{background:#eff6ff;color:#1d4ed8}.otc-category-menu button.child{color:#334155;font-size:13px;min-height:34px;padding:7px 10px 7px 16px}.otc-category-tab:last-child .otc-category-menu{left:auto;max-width:calc(100vw - 32px);right:0}.otc-subcategory-group{display:grid;margin:8px 0 0;padding-left:8px}.otc-subcategory-group>button:not(.child){background:#e8eef6;border:0;border-radius:5px;color:#0f172a;font-size:14px;font-weight:850;min-height:36px;padding:8px 10px}.otc-category-menu button.active{background:#dbeafe}.product-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}.keyword-input-wrap{align-items:center;display:flex;position:relative}.keyword-input-wrap input{padding-right:76px;width:100%}.keyword-input-actions{align-items:center;display:flex;gap:2px;position:absolute;right:8px}.keyword-input-actions button{align-items:center;background:transparent;border:0;border-radius:999px;color:#64748b;display:inline-flex;height:28px;justify-content:center;width:28px}.keyword-input-actions button:hover{background:#e2e8f0;color:#0f172a}.keyword-input-actions .keyword-favorite-filter.active{background:#fef3c7;color:#b45309}.keyword-input-actions .keyword-favorite-filter.active svg{fill:currentColor}.product-card{--product-card-padding:12px;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:10px;min-width:0;overflow:hidden;padding:var(--product-card-padding)}.product-card-actions,.product-card-data,.product-card-main,.product-card>*{max-width:100%;min-width:0;width:100%}.product-card-main,.product-list-main{background:transparent;border:0;color:inherit;min-width:0;padding:0;text-align:left}.product-card-main{display:grid;gap:8px}.product-card-main strong,.product-list-main strong{color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-item span,.product-card-main span,.product-list-main span{color:#64748b;font-size:12px}.product-en-name{display:block;min-height:1.2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-en-name-placeholder{visibility:hidden}.product-code-line{align-items:baseline;display:inline-flex;gap:6px}.product-tags{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.product-tags .product-tag{border:1px solid transparent;border-radius:999px;display:inline-flex;font-size:12px;font-weight:800;line-height:1;padding:5px 8px;width:fit-content}.product-tags .product-tag.controlled-drug{background:#fff1f2;border-color:#fecdd3;color:#be123c}.product-tags .product-tag.cold-product{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.instant-tooltip{position:relative}.global-tooltip{background:#0f172a;border-radius:6px;box-shadow:0 10px 24px rgba(15,23,42,.2);color:#ffffff;font-size:12px;font-weight:700;line-height:1.45;max-width:min(360px,80vw);padding:7px 9px;pointer-events:none;position:fixed;white-space:normal;width:max-content;z-index:1000}.product-code-line b{color:#475569;font-weight:700}.cart-page-product-image,.cart-product-image,.product-image-placeholder,.product-modal-image,.product-thumb{align-items:center;background:#f1f5f9;border:1px dashed #cbd5e1;color:#94a3b8;display:flex;font-size:13px;font-weight:800;justify-content:center;overflow:hidden}.cart-page-product-image.has-image,.cart-product-image.has-image,.product-image-placeholder.has-image,.product-modal-image.has-image,.product-thumb.has-image{background:#ffffff;border-style:solid}.cart-page-product-image img,.cart-product-image img,.product-image-placeholder img,.product-modal-image img,.product-thumb img{display:block;height:100%;object-fit:cover;width:100%}.product-image-pending{display:grid;line-height:1.25;text-align:center;white-space:nowrap}.product-thumb.has-hover-preview{cursor:zoom-in}.product-image-hover-preview{align-items:center;background:#ffffff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 18px 45px rgba(15,23,42,.24);display:flex;height:min(300px,50vh);justify-content:center;padding:8px;pointer-events:none;position:fixed;width:min(300px,40vw);z-index:1000}.product-image-hover-preview img{display:block;height:100%;max-height:100%;max-width:100%;object-fit:contain;width:100%}.product-image-placeholder{aspect-ratio:1.15;border-radius:8px;width:100%}.product-card-data{align-items:center;display:flex;justify-content:space-between}.product-option-selector{align-items:center;display:grid;gap:6px;grid-template-columns:auto minmax(0,1fr);min-width:0}.product-option-selector span{color:#475569;font-size:12px;font-weight:700;white-space:nowrap}.product-option-selector select{min-width:0;padding:7px 9px}.product-card-actions{align-items:center;display:flex;gap:6px}.quantity-stepper{align-items:center;border:1px solid #cbd5e1;border-radius:8px;display:grid;grid-template-columns:32px minmax(54px,1fr) 32px;min-width:118px;overflow:hidden}.product-card-actions .quantity-stepper{flex:1 1 auto;grid-template-columns:30px minmax(0,1fr) 30px;min-width:0}.product-card-actions .quantity-stepper button{min-width:30px;width:30px}.quantity-stepper button{background:#f8fafc;border:0;color:#334155;font-size:16px;font-weight:900;height:36px}.quantity-stepper input{appearance:textfield;-moz-appearance:textfield;border:0;border-left:1px solid #cbd5e1;border-radius:0;border-right:1px solid #cbd5e1;min-height:36px;padding:6px;text-align:center}.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.modal-quantity-stepper{margin-right:0;grid-template-columns:30px minmax(44px,1fr) 30px;min-width:0;width:112px}.modal-quantity-stepper button{height:32px}.modal-quantity-stepper input{min-height:32px;padding:4px}.add-cart-icon-button{justify-content:center}.add-cart-icon-button,.favorite-button{flex:0 0 38px;min-height:38px;padding:0;width:38px}.favorite-button{color:#64748b}.favorite-button.active{background:#fef3c7;border-color:#f59e0b;color:#b45309}.favorite-button.active svg{fill:currentColor}.product-list{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(680px,100%),1fr))}.product-list-row{align-items:center;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:12px;grid-template-columns:minmax(220px,1fr) auto 38px minmax(90px,110px) 38px;grid-template-rows:repeat(2,minmax(40px,auto));min-width:0;padding:10px}.product-list-row>.product-list-main{grid-column:1;grid-row:1/3}.product-list-row>span{grid-column:2;grid-row:1}.product-list-row>.numeric-cell{grid-column:4;grid-row:1;justify-self:end}.product-list-row>.product-option-selector{grid-column:2;grid-row:2}.product-list-row>.favorite-button{grid-column:3;grid-row:2}.product-list-row>.quantity-stepper{grid-column:4;grid-row:2;min-width:0;width:100%}.product-list-row>.add-cart-icon-button{grid-column:5;grid-row:2}.product-list-main{align-items:center;display:grid;gap:10px;grid-template-columns:58px minmax(0,1fr)}.product-list-text{display:grid;gap:4px;min-width:0}.product-thumb{border-radius:8px;height:58px;width:58px}.cart-item{align-items:center;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:8px;grid-template-columns:48px minmax(0,1fr) 112px 40px;padding:9px 10px}.cart-item div{display:grid;gap:3px;min-width:0}.cart-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-quantity-stepper{grid-template-columns:28px minmax(0,1fr) 28px;height:26px;min-width:0;width:112px}.cart-quantity-stepper button{font-size:14px;height:24px}.cart-quantity-stepper input{height:24px;min-height:24px;padding:0 3px}.cart-item .cart-item-purchase{align-items:stretch;display:grid;gap:2px;height:40px;justify-items:end}.cart-item .cart-item-subtotal{font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:12px;text-align:right;width:100%}.cart-item>.icon-only{justify-self:end;width:40px}.product-footer-controls{align-items:center;display:flex;gap:6px;justify-content:flex-end;margin-top:18px}.product-footer-controls>strong{align-items:center;display:inline-flex;font-size:16px;min-height:34px;padding:0 4px}.page-size-control{align-items:center;display:flex;font-size:13px;gap:6px}.page-size-control select{font-size:13px;height:34px;min-height:34px;padding:0 24px 0 10px;width:68px}.product-footer-controls .pagination-button{font-size:14px;min-height:34px;padding:0 10px}.floating-cart{bottom:96px;display:grid;gap:12px;justify-items:end;position:fixed;right:24px;z-index:40}.floating-cart-button{align-items:center;background:#2563eb;border:0;border-radius:999px;box-shadow:0 18px 36px rgba(37,99,235,.28);color:#ffffff;display:inline-flex;font-weight:900;gap:0;min-height:54px;min-width:54px;overflow:visible;padding:0 15px;position:relative;transition:gap .16s ease,max-width .16s ease,padding .16s ease}.floating-cart-button span{display:inline-block;max-width:0;opacity:0;overflow:hidden;transition:max-width .16s ease,opacity .12s ease;white-space:nowrap}.floating-cart-button:focus-visible span,.floating-cart-button:hover span{max-width:72px;opacity:1}.cart-product-image{border-radius:7px;height:48px;width:48px}.floating-cart-button:focus-visible,.floating-cart-button:hover{gap:8px}.floating-cart-button strong{align-items:center;background:#ffffff;border:2px solid #2563eb;border-radius:999px;color:#1d4ed8;display:inline-flex;font-size:12px;justify-content:center;min-height:24px;min-width:24px;padding:2px 6px;position:absolute;right:-4px;top:-6px}.floating-cart-card{animation:toast-in .18s ease-out;background:#ffffff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 22px 55px rgba(15,23,42,.18);display:grid;gap:12px;max-height:min(620px,calc(100vh - 110px));overflow:auto;padding:14px;width:min(480px,calc(100vw - 32px))}.floating-cart-header{align-items:start;display:flex;gap:12px;justify-content:space-between}.floating-cart-header-actions{align-items:center;display:flex;gap:6px}.floating-cart-toolbar{align-items:center;display:flex;gap:8px}.floating-cart-toolbar-actions{display:flex;flex:0 0 auto;margin-left:auto}.floating-cart-tabs{flex:1 1 auto;padding:2px}.floating-cart-tabs button{min-height:28px}.cart-group h4,.floating-cart-header h3{margin:0}.floating-cart-header span{color:#64748b;font-size:13px}.cart-tabs{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px}.cart-tabs button{align-items:center;background:transparent;border:0;border-radius:6px;color:#475569;display:inline-flex;font-weight:900;gap:6px;justify-content:center;min-height:34px}.cart-tabs button:hover{background:#e2e8f0;color:#0f172a}.cart-tabs button.active{background:#2563eb;color:#ffffff}.cart-tabs span{background:rgba(255,255,255,.8);border-radius:999px;color:#2563eb;font-size:11px;min-width:20px;padding:2px 6px}.cart-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:8px;padding:10px 12px}.cart-summary-breakdown{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));position:relative}.cart-summary-breakdown:before{background:#e2e8f0;bottom:0;content:"";left:50%;position:absolute;top:0;width:1px}.cart-summary span{align-items:center;color:#64748b;display:flex;font-size:13px;font-weight:800;justify-content:space-between}.cart-summary-breakdown>span:nth-child(odd){padding-right:14px}.cart-summary-breakdown>span:nth-child(2n){padding-left:14px}.cart-summary strong{color:#0f172a;font-size:15px}.cart-summary .cart-summary-total{border-top:1px solid #e2e8f0;grid-column:1/-1;padding-top:8px}.cart-summary .cart-summary-total strong{font-size:16px}.cart-summary .cart-summary-total+.cart-summary-total{border-top:0;padding-top:0}.cart-group{display:grid;gap:8px}.cart-submit-button{width:100%}.floating-cart-footer{align-items:center;display:flex;gap:8px;justify-content:space-between}.floating-cart-footer .floating-cart-clear{background:#dc2626;border-color:#dc2626;color:#ffffff}.floating-cart-footer .floating-cart-clear:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.floating-cart-footer .floating-cart-clear-placeholder{visibility:hidden}.floating-cart-footer .cart-submit-button{min-width:150px;width:auto}.toast-card{animation:notification-in .18s ease-out,notification-out .32s ease-in 3.2s forwards;background:#2563eb;border:2px solid rgba(255,255,255,.9);border-radius:12px;box-shadow:0 16px 38px rgba(37,99,235,.42),0 0 0 4px rgba(255,255,255,.2);color:#ffffff;font-size:15px;font-weight:900;left:50%;max-width:min(420px,calc(100vw - 32px));padding:14px 20px;position:fixed;text-align:center;top:20px;transform:translateX(-50%);width:max-content;z-index:1000}.login-brand{align-items:center;display:flex;gap:14px}.login-brand .brand-logo{border:0;box-shadow:none;height:64px;width:84px}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{to{opacity:0;transform:translateY(8px)}}@keyframes notification-in{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}@keyframes notification-out{to{opacity:0;pointer-events:none;transform:translate(-50%,-10px)}}label{color:#475569;display:grid;gap:6px;font-size:13px;font-weight:700}input,select,textarea{background:#ffffff;border:1px solid #cbd5e1;border-radius:8px;color:#1e293b;min-height:40px;padding:9px 10px;width:100%}textarea{min-height:76px;resize:vertical}.detail-data-input{min-height:180px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace}.danger-button,.icon-button,.icon-only,.primary-button{align-items:center;background:#ffffff;border:1px solid #cbd5e1;border-radius:8px;color:#334155;display:inline-flex;font-weight:800;gap:7px;justify-content:center;min-height:40px;padding:9px 12px}.icon-only{aspect-ratio:1;min-height:34px;padding:0;width:34px}.primary-button{background:#2563eb;border-color:#2563eb;color:#ffffff}.danger-button{background:#b42318;border-color:#b42318;color:#ffffff}.primary-button:disabled{cursor:not-allowed;opacity:.55}.primary{background:#2563eb;border-color:#2563eb;color:#ffffff}.success{background:#16a34a;border-color:#16a34a;color:#ffffff}button:disabled{cursor:not-allowed;opacity:.5}.danger{color:#b42318}.notice{animation:notification-in .18s ease-out,notification-out .32s ease-in 3.2s forwards;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;box-shadow:0 16px 38px rgba(15,23,42,.24),0 0 0 3px rgba(255,255,255,.72);color:#1d4ed8;left:50%;margin:0;max-width:min(560px,calc(100vw - 32px));padding:10px 12px;position:fixed;text-align:center;top:20px;transform:translateX(-50%);width:max-content;z-index:1000}.notice.error{background:#fff1f0;border-color:#ffd2cc;color:#b42318}.notice.success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.notice.warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.notice code{display:block;font-size:13px;margin-top:8px;overflow-wrap:anywhere}.checkbox-label{align-items:center;flex-direction:row;gap:8px}.checkbox-label input{width:auto}.exception-toolbar{align-items:end;display:grid;gap:12px;grid-template-columns:minmax(260px,1fr) 180px;margin:14px 0 16px}.exception-detail-row td{background:#f8fafc;padding:12px}.exception-summary-row{cursor:pointer}.exception-summary-row:focus-visible td{outline:2px solid #2563eb;outline-offset:-2px}.exception-detail-list{display:grid;gap:8px}.exception-detail-header,.exception-detail-item{align-items:center;display:grid;gap:10px;grid-template-columns:150px 90px 90px minmax(220px,1fr) 130px}.exception-detail-header{color:#64748b;font-size:12px;font-weight:900;padding:0 10px}.exception-detail-item{background:#ffffff;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.exception-detail-header>*,.exception-detail-item>*{min-width:0}.exception-detail-header span,.exception-detail-item>span,.exception-detail-item>strong{text-align:center}.exception-detail-item>span:nth-child(4){text-align:left}.status-pill{border-radius:999px;display:inline-flex;font-size:12px;font-weight:900;justify-content:center;justify-self:center;min-width:64px;padding:4px 8px;text-align:center}.status-pill.warning{background:#fffbeb;color:#92400e}.status-pill.success{background:#dcfce7;color:#166534}.status-pill.danger{background:#fee2e2;color:#991b1b}.exception-checkbox{display:flex;font-size:13px;font-weight:800;justify-content:center;justify-self:stretch;width:100%}.order-success-panel{display:grid;gap:18px}.order-success-hero{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#166534;display:grid;gap:16px;grid-template-columns:auto 1fr;padding:18px}.order-success-hero h2,.order-success-hero p{margin:0}.order-success-hero h2{color:#14532d;font-size:24px}.order-success-list{display:grid;gap:12px}.order-success-card{border:1px solid #dbe4f0;border-radius:8px;display:grid;gap:8px;padding:14px}.order-success-card div span,.order-success-card>span{color:#64748b;font-size:13px}.order-success-card strong{color:#0f172a;font-size:20px}.order-success-card div{display:flex;flex-wrap:wrap;gap:12px}.order-success-card b{color:#0f172a;margin-left:4px}.success-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.empty,.empty-cell{color:#94a3b8;margin-bottom:0;text-align:center}.empty-state{align-items:center;color:#94a3b8;display:grid;gap:10px;justify-items:center;padding:80px 18px}.product-empty-state{border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;margin-top:14px;padding:48px 18px;text-align:center}.product-empty-state strong{color:#0f172a;font-size:18px}.product-empty-state span{max-width:520px}.table-wrap{overflow:auto}table{border-collapse:collapse;min-width:800px;width:100%}td,th{border-bottom:1px solid #e2e8f0;font-size:14px;padding:11px 10px;text-align:left;vertical-align:middle}th{color:#64748b;font-size:12px;text-transform:uppercase}.numeric-cell{text-align:right;white-space:nowrap}.status-heading{gap:5px}.status-heading,.status-help-icon{align-items:center;display:inline-flex}.status-help-icon{color:#64748b;cursor:help}.status-help-icon:focus,.status-help-icon:hover{color:#2563eb}.order-layout{display:grid;gap:18px;grid-template-columns:250px minmax(0,1fr)}.draft-list{border-right:1px solid #e2e8f0;min-width:0;padding-right:16px}.order-form{min-width:0;width:100%}.draft{align-items:center;border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:8px;grid-template-columns:1fr auto;margin-bottom:10px;padding:10px}.draft-load{background:transparent;border:0;color:inherit;display:grid;gap:3px;min-width:0;padding:0;text-align:left}.draft-load:hover strong{color:#1d4ed8}.draft.active{border-color:#2563eb;box-shadow:inset 3px 0 0 #2563eb}.draft span{color:#64748b;display:block;font-size:12px;margin-top:3px}.form-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.prescription-flat-grid{align-items:end;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:10px 14px;grid-template-columns:repeat(12,minmax(0,1fr));margin-top:12px;padding:12px}.prescription-flat-grid label{gap:3px}.field-label-with-hint{align-items:center;display:flex;flex-wrap:wrap;gap:4px 8px;min-width:0}.field-label-with-hint .field-hint{display:inline;margin:0}.prescription-row-primary{grid-column:span 4}.prescription-row-secondary{grid-column:span 3}.prescription-flat-grid input,.prescription-flat-grid select{background:transparent;border-color:transparent transparent #94a3b8;border-radius:0;min-height:32px;padding:4px 2px}.prescription-flat-grid input:focus,.prescription-flat-grid select:focus{background:#ffffff;border-color:transparent transparent #2563eb;box-shadow:none}.diagnosis-field{grid-column:span 2}.diagnosis-control{align-items:center;display:grid;gap:8px;grid-template-columns:25% minmax(0,1fr)}.diagnosis-control input{width:100%}.refill-pair-field{grid-column:auto}.refill-pair-control{align-items:center;display:grid;gap:6px;grid-template-columns:66px auto 66px;max-width:152px}.refill-pair-control strong{color:#64748b;line-height:1}.refill-pair-control:has(input:disabled) input{background:#e2e8f0;border-color:transparent transparent #cbd5e1;color:#94a3b8;opacity:1}.refill-pair-control:has(input:disabled) input::placeholder{color:#94a3b8}.refill-pair-control:has(input:disabled) strong{color:#cbd5e1}.refill-pair-field:has(input:disabled)>span{color:#94a3b8}.field-hint{color:#475569;display:block;font-size:12px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-hint.error{color:#b42318}.field-hint.warning{color:#92400e}.prescription-span-2{grid-column:span 2}.order-type-field{border:0;color:#475569;display:grid;font-size:13px;font-weight:700;gap:6px;margin:0;padding:0}.order-type-options{display:flex;flex-wrap:wrap;gap:8px}.order-type-radio{align-items:center;border:1px solid #cbd5e1;border-radius:8px;display:flex;font-weight:900;gap:8px;justify-content:center;min-height:34px;padding:6px 10px;width:fit-content}.order-type-radio input{accent-color:currentColor;min-height:auto;width:auto}.order-type-radio.purchase{color:#166534}.order-type-radio.purchase.active{background:#dcfce7;border-color:#22c55e}.order-type-radio.return{color:#991b1b}.order-type-radio.return.active{background:#fee2e2;border-color:#ef4444}.wide-field{margin-top:12px}.form-actions,.items-heading{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:16px}.item-list{display:grid;gap:10px;margin-top:10px;min-width:0;overflow-x:auto;padding-bottom:2px}.item-row{display:grid;gap:8px;justify-items:stretch}.item-row>*{min-width:0}.item-row.store{--item-grid-columns:15ch minmax(160px,1.25fr) 72px 64px 72px 78px 86px minmax(100px,1fr) auto;min-width:940px}.item-row.prescription,.item-row.store{grid-template-columns:var(--item-grid-columns)}.item-row.prescription{--item-grid-columns:15ch minmax(170px,1.25fr) 72px 16ch 64px 72px 78px 78px 86px minmax(100px,1fr) auto;min-width:1220px}.item-row-header{align-items:center;color:#64748b;font-size:12px;font-weight:900;padding:0 0 2px}.item-row-header span{display:block;padding-left:0;text-align:center;width:100%}.item-row input:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#64748b;cursor:not-allowed}.product-code-lookup-field{min-width:0;position:relative}.product-code-lookup-field input{width:100%}.product-code-options{background:#ffffff;border:1px solid #bfdbfe;border-radius:8px;display:grid;gap:4px;max-height:min(420px,calc(100vh - 260px));min-width:0;overflow-y:auto;padding:6px;width:100%}.product-code-options-title{color:#64748b;font-size:12px;font-weight:800;padding:4px 8px 6px}.product-code-options button{background:transparent;border:0;border-radius:6px;color:#0f172a;cursor:pointer;display:grid;gap:2px;justify-items:start;padding:8px;text-align:left}.product-code-options button strong{font-size:13px}.product-code-options button span{color:#475569;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.product-code-options button.active,.product-code-options button:hover{background:#eff6ff;color:#1d4ed8}.form-actions{border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:flex-end;padding-top:14px}.order-summary{align-items:center;display:flex;gap:16px;margin-right:auto}.form-action-buttons{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.draft-save-button{background:#f8e7bd;border-color:#e4c67d;color:#6b4e16}.draft-save-button:focus-visible,.draft-save-button:hover{background:#f3d991;border-color:#d5ad4e}.order-summary strong{color:#0f172a;font-size:14px}.lookup-form{grid-template-columns:minmax(260px,1fr) auto}.order-search-form{align-items:end;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.order-search-form button{justify-self:end;min-width:110px}.order-lookup-layout{align-items:start;display:grid;gap:18px;grid-template-columns:minmax(280px,320px) minmax(0,1fr)}.order-search-detail,.order-search-results-list{min-width:0}.order-search-results-list{display:grid;gap:14px}.order-search-result-list{display:grid;gap:10px;max-height:max(260px,min(620px,calc(100vh - 310px)));overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-gutter:stable}.order-search-result{border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;display:grid;gap:8px;padding:10px}.order-search-result.active,.order-search-result:hover{background:#eff6ff;border-color:#93c5fd}.order-search-result-customer-status,.order-search-result-header,.order-search-result-person-time{align-items:start;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto}.order-search-result-header>strong{color:#0f172a;font-size:16px;overflow-wrap:anywhere}.order-search-result-customer>span,.order-search-result-header>span,.order-search-result-person>span,.order-search-result-summary>span,.order-search-result-time>span{color:#64748b;font-size:12px}.order-search-result-header>span{overflow-wrap:anywhere;text-align:right}.order-search-result-customer,.order-search-result-person,.order-search-result-status,.order-search-result-summary,.order-search-result-time{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.order-search-result-customer>strong,.order-search-result-person>strong,.order-search-result-status>strong,.order-search-result-summary>span>strong,.order-search-result-time>strong{color:#0f172a;font-size:13px;overflow-wrap:anywhere}.order-search-result-status{justify-content:flex-end}.order-search-result-summary{gap:14px;justify-content:flex-end}.order-search-result-summary>span{display:inline-flex;gap:5px}.selectable-row{cursor:pointer}.selectable-row.active td,.selectable-row:hover td{background:#eff6ff}.order-detail-card{margin-top:14px}.order-detail-card>div:first-child{align-items:center;display:flex;gap:10px;justify-content:space-between}.detail-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}.order-detail-items{display:grid;gap:10px;margin-top:10px}.order-detail-items h3{color:#0f172a;font-size:15px}.order-messages{border-top:1px solid #e2e8f0;display:grid;gap:10px;margin-top:14px;padding-top:14px}.order-messages h3{color:#0f172a;font-size:15px}.discussion-heading,.discussion-heading>div,.discussion-status-actions,.proposal-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.discussion-status{border-radius:999px;font-size:12px;font-weight:700;padding:4px 9px}.discussion-status.AwaitingPharmacy{background:#fff7ed;color:#c2410c}.discussion-status.AwaitingWarehouse{background:#eff6ff;color:#1d4ed8}.discussion-status.Resolved{background:#ecfdf5;color:#047857}.discussion-status.Closed,.discussion-status.missing{background:#f1f5f9;color:#475569}.order-message-list{display:grid;gap:8px}.order-message{border:1px solid #dbe4f0;border-radius:8px;display:grid;gap:6px;padding:10px 12px}.order-message.staff{background:#eff6ff;border-color:#bfdbfe}.order-message.customer{background:#f8fafc}.order-message.system{background:#fefce8;border-color:#fde68a}.order-message div{align-items:center;display:flex;gap:8px;justify-content:space-between}.order-message strong{color:#0f172a}.order-message span{color:#64748b;font-size:12px}.order-message p{color:#1e293b;margin:0;white-space:pre-wrap}.order-message-form{align-items:end;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto}.substitution-form,.substitution-list{border-top:1px solid #e2e8f0;display:grid;gap:10px;padding-top:12px}.substitution-card{align-items:center;background:#f8fafc;border:1px solid #dbe4f0;border-radius:10px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;padding:12px}.proposal-actions,.substitution-card>p{grid-column:1/-1;margin:0}.substitution-summary{display:grid;gap:3px}.proposal-status,.substitution-summary span{color:#64748b;font-size:12px}.substitution-arrow{color:#2563eb;font-size:20px;font-weight:800}.proposal-status{border-radius:999px;background:#e2e8f0;font-weight:700;padding:4px 8px}.proposal-status.pending{background:#fff7ed;color:#c2410c}.proposal-status.accepted,.proposal-status.modified{background:#ecfdf5;color:#047857}.proposal-status.rejected{background:#fef2f2;color:#b91c1c}.proposal-actions{justify-content:flex-start}.proposal-actions input{max-width:130px}.substitution-form{grid-template-columns:repeat(4,minmax(0,1fr))}.substitution-form .substitution-note,.substitution-form h4{grid-column:1/-1}.substitution-form label{display:grid;gap:5px}.substitution-form label>span{color:#475569;font-size:12px;font-weight:700}.discussion-status-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;padding-top:12px}.detail-table-wrap table{min-width:900px}.detail-total-row td{color:#0f172a;font-weight:900}.result-card,.submitted{border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:5px;margin-bottom:12px;padding:12px}.spin{animation:spin .9s linear infinite}.modal-backdrop{align-items:center;background:rgba(15,23,42,.38);display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:50}.confirm-card{gap:16px;max-width:420px}.confirm-card,.product-code-dialog{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 24px 70px rgba(15,23,42,.24);display:grid;padding:22px;width:100%}.product-code-dialog{gap:14px;max-height:min(720px,calc(100vh - 40px));max-width:620px;overflow:hidden}.product-code-dialog:focus{outline:none}.product-code-dialog-hint{color:#64748b;font-size:13px;margin:4px 0 0}.product-modal{max-width:760px}.order-edit-modal,.product-modal{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 24px 70px rgba(15,23,42,.24);display:grid;gap:16px;max-height:min(760px,calc(100vh - 40px));overflow:auto;padding:22px;width:100%}.order-edit-modal{max-width:1120px}.order-edit-items{display:grid;gap:8px;min-width:0}.order-edit-row{align-items:center;display:grid;gap:8px;grid-template-columns:150px minmax(220px,1fr) 110px 90px 120px}.order-edit-row.prescription{grid-template-columns:150px minmax(220px,1fr) 96px 16ch 84px 84px 110px}.order-edit-row-header{color:#64748b;font-size:12px;font-weight:800;padding:0 2px}.order-edit-summary-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:12px;justify-content:flex-end;margin-top:4px;padding:12px}.order-edit-summary-row span{color:#64748b;font-size:13px;font-weight:800}.order-edit-summary-row strong{color:#0f172a;font-size:16px;min-width:72px;text-align:right}.modal-title-row{align-items:start;display:flex;gap:12px;justify-content:space-between}.product-modal-layout{display:grid;gap:16px;grid-template-columns:240px minmax(0,1fr)}.product-modal-image{aspect-ratio:1;border-radius:8px}.product-modal-image-button{background:transparent;border:0;border-radius:8px;display:block;padding:0;width:100%}.product-modal-image-wrap{display:grid;gap:7px}.product-image-zoom-hint{color:#64748b;font-size:12px;margin:0;text-align:center}.product-modal-image-button:disabled{cursor:default;opacity:1}.product-modal-image-button:not(:disabled):focus-visible .product-modal-image,.product-modal-image-button:not(:disabled):hover .product-modal-image{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.16)}.image-lightbox-backdrop{align-items:center;background:rgba(2,6,23,.82);display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:90}.image-lightbox{align-items:flex-end;display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 48px);max-width:calc(100vw - 48px)}.image-lightbox>img{background:#ffffff;border-radius:8px;display:block;height:auto;max-height:calc(100vh - 102px);max-width:calc(100vw - 48px);object-fit:contain;width:auto}.product-modal-actions{align-items:center}.product-modal-actions .icon-only,.product-modal-actions .modal-quantity-stepper{height:38px;min-height:38px}.product-modal-actions .icon-only{flex:0 0 38px;width:38px}.add-cart-icon-button.primary{background:transparent;border-color:#2563eb;color:#2563eb}.add-cart-icon-button.primary:focus-visible:not(:disabled),.add-cart-icon-button.primary:hover:not(:disabled){background:#eff6ff;border-color:#1d4ed8;color:#1d4ed8}.product-modal-actions .modal-quantity-stepper button{height:36px}.product-modal-actions .modal-quantity-stepper input{height:36px;min-height:36px}.product-detail-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-grid span{color:#64748b;display:grid;gap:4px;font-size:12px}.product-detail-grid strong{color:#0f172a;font-size:14px;overflow-wrap:anywhere}.product-detail-wide{grid-column:1/-1}.product-modal-en-name{color:#64748b;font-size:13px;margin:4px 0 0}.confirm-card .eyebrow{color:#2563eb}.confirm-card p{color:#475569;line-height:1.65;margin:0}.confirm-card .confirm-warning{color:#dc2626;font-weight:900}.cart-price-update-notice{background:#fff7ed;border:1px solid #fdba74;border-radius:8px;color:#9a3412;cursor:pointer;font:inherit;font-size:13px;padding:8px 10px;text-align:left;width:100%}.cart-price-change-list{border:1px solid #e2e8f0;border-radius:8px;display:grid;max-height:220px;overflow:auto}.cart-price-change-list div{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;gap:12px;justify-content:space-between;padding:10px}.cart-price-change-list div:last-child{border-bottom:0}.cart-price-change-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-price-change-list span{color:#9a3412;flex:none;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cart-confirm-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:8px;padding:12px}.cart-confirm-summary span{align-items:center;color:#64748b;display:flex;font-size:13px;font-weight:800;justify-content:space-between}.cart-confirm-summary strong{color:#0f172a;font-size:16px}.confirm-actions{display:flex;gap:10px;justify-content:flex-end}.login-shell{align-items:center;background:linear-gradient(rgba(15,23,42,.72),rgba(15,23,42,.72)),url(https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1800&q=80);background-position:50%;background-size:cover;display:grid;min-height:100vh;padding:24px}.admin-shell{background:#f8fafc;min-height:100vh}.admin-topbar{align-items:center;background:#0f172a;color:#ffffff;display:flex;justify-content:space-between;min-height:72px;padding:14px 28px}.admin-topbar-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.admin-layout{grid-template-columns:1fr}.admin-layout,.admin-order-layout{display:grid;gap:18px;padding:22px 28px 28px}.admin-order-search-form{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.admin-order-search-form .admin-form-actions{align-items:end}.product-status-checkboxes{align-items:center;align-self:end;display:flex;gap:14px;min-height:42px}.product-status-checkboxes .checkbox-field{align-items:center;color:#334155;display:flex;font-size:13px;font-weight:800;gap:6px}.product-status-checkboxes input{height:16px;width:16px}.admin-flash-notice{align-items:center;display:flex;justify-content:space-between}.admin-flash-notice button{background:transparent;border:0;color:inherit;cursor:pointer;font-size:20px;line-height:1;padding:2px 6px}.admin-order-detail-panel,.analytics-metrics{display:grid;gap:14px}.analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.analytics-metric{background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 24px rgba(15,23,42,.06);display:grid;gap:8px;padding:16px}.analytics-metric span{color:#64748b;font-size:13px;font-weight:800}.analytics-metric strong{color:#0f172a;font-size:28px}.admin-analytics-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(360px,1fr))}.system-status-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.system-status-card{border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:10px;padding:14px}.system-status-card>div{align-items:center;display:flex;gap:10px;justify-content:space-between}.system-status-card h2{color:#0f172a;font-size:16px}.system-status-card p,.system-status-detail{color:#334155;margin:0}.system-status-detail{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;max-height:220px;overflow:auto;padding:10px}.system-log-message{max-width:520px;white-space:pre-wrap;word-break:break-word}.diagnostic-flags{display:flex;flex-wrap:wrap;gap:4px}.product-issue-metrics{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.product-issue-metric{align-items:center;background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;color:#334155;display:grid;gap:2px 12px;grid-template-columns:minmax(0,1fr) auto;padding:12px 16px;text-decoration:none;transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.product-issue-metric span{font-size:13px;font-weight:900}.product-issue-metric strong{color:#dc2626;font-size:26px;grid-row:span 2}.product-issue-metric small{color:#94a3b8;font-size:11px}.product-issue-metric.active,.product-issue-metric:focus-visible,.product-issue-metric:hover{border-color:#2563eb;box-shadow:0 8px 20px rgba(37,99,235,.12);outline:none;transform:translateY(-1px)}.product-operations-table{min-width:960px}.product-operations-table td,.product-operations-table th{padding-block:8px;vertical-align:middle}.product-compact-identity{display:grid;gap:2px;max-width:430px;min-width:280px}.product-compact-identity>span{color:#64748b;font-size:11px;font-weight:800}.product-compact-identity>strong{color:#0f172a;font-size:13px}.product-compact-identity>small{color:#334155;line-height:1.35}.product-compact-values{min-width:120px}.product-compact-values span{color:#64748b;display:flex;font-size:11px;gap:8px;justify-content:space-between}.product-compact-values strong{color:#0f172a;font-size:12px}.product-compact-status{max-width:230px;min-width:150px}.product-compact-status .status-badge{font-size:10px;padding:3px 7px}.product-compact-image{align-items:center;display:grid;gap:8px;grid-template-columns:52px minmax(76px,1fr);min-width:145px}.product-compact-image img,.product-compact-image>span{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;display:flex;height:44px;justify-content:center;object-fit:cover;width:52px}.product-compact-image>span{color:#94a3b8;font-size:11px;font-weight:800}.product-compact-image small{color:#64748b;font-size:11px;font-weight:800}.product-operations-cell{min-width:86px}.product-operations-details>summary{background:#ffffff;border:1px solid #cbd5e1;border-radius:7px;color:#334155;cursor:pointer;font-size:12px;font-weight:900;list-style:none;padding:7px 12px;text-align:center;width:fit-content}.product-operations-details>summary::-webkit-details-marker{display:none}.product-operations-details[open]>summary{background:#eff6ff;border-color:#2563eb;color:#1d4ed8;margin-bottom:10px}.product-operations-details .product-override-manager{background:#f8fafc;border:1px solid #dbe3ee;border-radius:10px;padding:12px;width:min(560px,70vw)}.product-pagination{align-items:center;display:flex;gap:12px;justify-content:center;padding-top:16px}.product-pagination>span{color:#64748b;font-size:12px;font-weight:800}.product-pagination .disabled{opacity:.45;pointer-events:none}.product-override-form{display:grid;gap:8px;min-width:360px}.product-override-form label{display:grid;gap:4px}.product-override-form label span{color:#64748b;font-size:12px;font-weight:800}.product-override-form .checkbox-field{align-items:center;display:flex;gap:8px}.product-override-form .checkbox-field input{height:auto;width:auto}.system-hints{color:#334155;display:grid;gap:8px}.system-hints p{margin:0}.admin-form{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.admin-form-actions{align-items:end;display:flex;justify-content:flex-end;padding-top:4px}.admin-inline-actions{display:grid;gap:8px;min-width:240px}.admin-reset-password-form{display:grid;gap:8px;grid-template-columns:minmax(120px,1fr) auto}.admin-user-edit-row td{background:#f8fafc}.admin-user-edit-form{align-items:end;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.account-admin-layout,.login-audit-layout{margin:0 auto;max-width:1680px;width:100%}.account-admin-layout{max-width:1400px}.account-admin-layout>.account-overview{margin:0 auto;max-width:1230px;width:100%}.account-management-workspace{align-items:start;grid-template-columns:220px minmax(0,990px);justify-content:center}.account-management-main,.account-management-workspace{display:grid;gap:14px;min-width:0}.account-directory-toolbar{align-items:center;background:#ffffff;border:1px solid #dbe4f0;border-radius:10px;display:flex;gap:16px;justify-content:space-between;padding:11px 14px}.account-directory-toolbar>div{display:grid;gap:2px}.account-directory-toolbar strong{color:#0f172a;font-size:14px}.account-directory-toolbar span{color:#64748b;font-size:11px}.create-user-button{flex:0 0 auto}.account-admin-notice{margin:0}.account-hierarchy-sidebar{max-height:calc(100vh - 116px);overflow:auto;padding:14px;position:sticky;top:18px}.account-hierarchy-sidebar .section-heading{padding-bottom:9px}.account-hierarchy-group,.account-hierarchy-group>div,.account-hierarchy-sidebar nav{display:grid}.account-hierarchy-sidebar nav{gap:8px}.account-hierarchy-group{border-bottom:1px solid #e2e8f0;gap:3px;padding-bottom:8px}.account-hierarchy-group:last-child{border-bottom:0;padding-bottom:0}.account-hierarchy-group a{align-items:center;border-radius:6px;color:#334155;display:flex;font-size:12px;gap:8px;justify-content:space-between;min-width:0;padding:6px 7px}.account-hierarchy-group>a{color:#0f172a;font-size:13px;font-weight:850}.account-hierarchy-group>div a{padding-left:18px}.account-hierarchy-group a:focus-visible,.account-hierarchy-group a:hover{background:#eff6ff;color:#1d4ed8;outline:none}.account-hierarchy-group a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-hierarchy-group a strong{align-items:center;background:#e2e8f0;border-radius:999px;color:#475569;display:inline-flex;flex:0 0 auto;font-size:10px;justify-content:center;min-width:22px;padding:3px 6px}.account-overview{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.account-overview article{background:#ffffff;border:1px solid #dbe4f0;border-radius:10px;display:grid;gap:3px;grid-template-columns:minmax(0,1fr) auto;padding:14px 16px}.account-overview span{color:#475569;font-size:13px;font-weight:800}.account-overview strong{color:#1d4ed8;font-size:26px;grid-row:span 2}.account-overview small{color:#94a3b8;font-size:11px}.account-organization-list,.account-role-list{display:grid;gap:10px}.account-organization{border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;scroll-margin-top:16px}.account-organization>summary{align-items:center;background:#eff6ff;cursor:pointer;display:flex;gap:16px;justify-content:space-between;list-style:none;padding:14px 16px}.account-edit-details>summary::-webkit-details-marker,.account-organization>summary::-webkit-details-marker{display:none}.account-organization>summary:before{color:#2563eb;content:"＋";font-size:18px;font-weight:900}.account-organization[open]>summary:before{content:"－"}.account-organization-identity{display:grid;gap:3px;margin-right:auto}.account-organization-identity strong{color:#0f172a;font-size:16px}.account-organization code,.account-role-group code{color:#64748b;font-family:inherit;font-size:11px;font-weight:700}.account-organization-metrics{display:flex;gap:8px}.account-organization-metrics span,.account-role-group>header>span{background:#dbeafe;border-radius:999px;color:#1d4ed8;font-size:12px;font-weight:800;padding:5px 9px;white-space:nowrap}.account-role-list{padding:12px}.account-role-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;display:grid;gap:9px;padding:11px;scroll-margin-top:16px}.account-role-group>header{align-items:center;display:flex;justify-content:space-between}.account-role-group>header>div{display:grid;gap:2px}.account-role-group>header strong{color:#0f172a;font-size:14px}.account-card-grid{display:grid;gap:9px;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),360px));justify-content:start}.admin-account-card{background:#ffffff;border:1px solid #dbe4f0;border-radius:9px;display:grid;gap:9px;padding:11px}.admin-account-card>header{align-items:start;display:flex;gap:12px;justify-content:space-between}.admin-account-card>header>div{display:grid;gap:3px;min-width:0}.admin-account-card>header strong{color:#0f172a;font-size:15px}.admin-account-card>header span:not(.status-badge){color:#64748b;font-size:12px}.admin-account-card dl{display:grid;gap:7px;margin:0}.admin-account-card dl>div{display:grid;gap:10px;grid-template-columns:72px minmax(0,1fr)}.admin-account-card dt{color:#64748b;font-size:12px}.admin-account-card dd{color:#1e293b;font-size:12px;margin:0;min-width:0;overflow-wrap:anywhere;text-align:right}.account-edit-details{border-block:1px solid #e2e8f0;padding:9px 0}.account-edit-details>summary{color:#2563eb;cursor:pointer;font-size:12px;font-weight:850;list-style:none}.account-edit-details>summary:after{content:"展開";float:right}.account-edit-details[open]>summary:after{content:"收合"}.account-edit-details .admin-user-edit-form{grid-template-columns:1fr;padding-top:12px}.account-card-actions{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto}.account-card-actions>form:last-child,.account-card-actions>form:last-child button{width:100%}.login-audit-heading{align-items:end;display:flex;justify-content:space-between}.audit-filter{background:#f1f5f9;border:1px solid #dbe4f0;border-radius:8px;display:flex;padding:3px}.audit-filter a{border-radius:6px;color:#475569;font-size:13px;font-weight:800;padding:7px 14px}.audit-filter a.active{background:#2563eb;color:#ffffff}.login-audit-table{min-width:920px}.audit-user-agent{color:#64748b;font-size:11px;max-width:420px;overflow-wrap:anywhere}.password-input-wrap{display:block;min-width:0;position:relative;width:100%}.password-input-wrap input{padding-right:42px;width:100%}.password-input-wrap>button{align-items:center;background:transparent;border:0;border-radius:6px;color:#64748b;display:inline-flex;height:32px;justify-content:center;padding:0;position:absolute;right:5px;top:50%;transform:translateY(-50%);width:32px}.password-input-wrap>button:focus-visible,.password-input-wrap>button:hover{background:#e2e8f0;color:#1d4ed8;outline:none}.admin-dialog-backdrop{z-index:100}.create-user-dialog{max-width:680px}.create-user-dialog>header{align-items:center;display:flex;justify-content:space-between}.create-user-dialog>header .eyebrow{color:#64748b}.create-user-form{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.create-user-form>label,.organization-picker-field{display:grid;gap:6px}.create-user-form>label>span,.organization-picker-field>span{color:#334155;font-size:13px;font-weight:800}.organization-picker-field{grid-column:1/-1}.organization-search-input{align-items:center;display:flex;position:relative}.organization-search-input>svg{color:#64748b;left:12px;pointer-events:none;position:absolute}.organization-search-input input{padding-left:36px;width:100%}.organization-search-results{border:1px solid #cbd5e1;border-radius:8px;display:grid;max-height:210px;overflow:auto;padding:4px}.organization-search-results button{align-items:center;background:transparent;border:0;border-radius:6px;display:flex;gap:12px;justify-content:space-between;padding:8px 10px;text-align:left}.organization-search-results button:focus-visible,.organization-search-results button:hover{background:#eff6ff;outline:none}.organization-search-results strong{color:#0f172a;font-size:13px}.organization-search-results span{color:#64748b;font-size:11px}.organization-search-results p{color:#64748b;font-size:12px;margin:0;padding:12px;text-align:center}.selected-organization{align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;display:grid;gap:3px 10px;grid-template-columns:auto minmax(0,1fr) auto;padding:9px 11px}.selected-organization>span{color:#64748b;font-size:11px;grid-column:1}.selected-organization>strong{color:#0f172a;font-size:13px;grid-column:2;grid-row:1/3}.selected-organization>code{color:#475569;font-family:inherit;font-size:11px;grid-column:1}.selected-organization>button{background:transparent;border:0;color:#2563eb;font-size:12px;font-weight:800;grid-column:3;grid-row:1/3}.create-user-form>footer{border-top:1px solid #e2e8f0;display:flex;gap:8px;grid-column:1/-1;justify-content:flex-end;padding-top:14px}.muted-line{color:#64748b;display:block;font-size:12px;margin-top:4px}.status-badge{border-radius:999px;display:inline-flex;font-size:12px;font-weight:800;padding:4px 9px}.status-badge.active{background:#dcfce7;color:#166534}.status-badge.disabled{background:#fee2e2;color:#991b1b}.login-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 24px 64px rgba(15,23,42,.24);display:grid;gap:22px;margin:0 auto;max-width:420px;padding:28px;width:100%}.login-card .eyebrow{color:#2563eb}.login-card h1{color:#0f172a;font-size:24px}.login-hint{color:#64748b;line-height:1.6;margin:8px 0 0}.login-form{display:grid;gap:14px}.login-error{background:#fff1f0;border:1px solid #ffd2cc;border-radius:8px;color:#b42318;font-size:14px;margin:0;padding:10px 12px}.text-button{background:transparent;border:0;color:#475569;font-weight:800;padding:0}.app-shell.dark-mode{background:#0b1120;color:#e5e7eb;color-scheme:dark}.app-shell.dark-mode .topbar{background:#020617;box-shadow:0 8px 24px rgba(0,0,0,.34)}.app-shell.dark-mode .logout-button,.app-shell.dark-mode .theme-toggle{background:#1e293b;border-color:#334155;color:#e5e7eb}.app-shell.dark-mode .logout-button:hover,.app-shell.dark-mode .theme-toggle:hover{background:#273449}.app-shell.dark-mode .product-tags .product-tag.controlled-drug{background:#4c0519;border-color:#9f1239;color:#fecdd3}.app-shell.dark-mode .product-tags .product-tag.cold-product{background:#172554;border-color:#1d4ed8;color:#bfdbfe}.app-shell.dark-mode .cart-item span,.app-shell.dark-mode .draft span,.app-shell.dark-mode .eyebrow,.app-shell.dark-mode .field-hint,.app-shell.dark-mode .floating-cart-header span,.app-shell.dark-mode .item-row-header,.app-shell.dark-mode .order-edit-row-header,.app-shell.dark-mode .order-edit-summary-row span,.app-shell.dark-mode .product-card-main span,.app-shell.dark-mode .product-detail-grid span,.app-shell.dark-mode .product-list-main span,.app-shell.dark-mode .product-meta,.app-shell.dark-mode .result-card span,.app-shell.dark-mode .side-copy small,.app-shell.dark-mode .side-count,.app-shell.dark-mode .submitted span,.app-shell.dark-mode .user-chip span,.app-shell.dark-mode label,.app-shell.dark-mode th,.app-shell.dark-mode time{color:#94a3b8}.app-shell.dark-mode .admin-user-edit-row td,.app-shell.dark-mode .announcement,.app-shell.dark-mode .announcement-stage,.app-shell.dark-mode .cart-item,.app-shell.dark-mode .cart-page-item,.app-shell.dark-mode .confirm-card,.app-shell.dark-mode .draft,.app-shell.dark-mode .favorite-page-card,.app-shell.dark-mode .floating-cart-card,.app-shell.dark-mode .order-edit-modal,.app-shell.dark-mode .order-search-result,.app-shell.dark-mode .order-success-card,.app-shell.dark-mode .otc-category-menu,.app-shell.dark-mode .panel,.app-shell.dark-mode .product-card,.app-shell.dark-mode .product-code-dialog,.app-shell.dark-mode .product-empty-state,.app-shell.dark-mode .product-list-row,.app-shell.dark-mode .product-modal,.app-shell.dark-mode .product-shortcuts,.app-shell.dark-mode .result-card,.app-shell.dark-mode .shortcut-card,.app-shell.dark-mode .sidebar,.app-shell.dark-mode .submitted,.app-shell.dark-mode .system-feature-button{background:#111827;border-color:#334155;color:#e5e7eb}.app-shell.dark-mode .system-feature-button small{color:#94a3b8}.app-shell.dark-mode .system-feature-button:focus-visible,.app-shell.dark-mode .system-feature-button:hover{background:#172554;border-color:#3b82f6}.app-shell.dark-mode .draft-list,.app-shell.dark-mode .form-actions,.app-shell.dark-mode .otc-category-browser,.app-shell.dark-mode .otc-category-menu button,.app-shell.dark-mode .quantity-stepper input,.app-shell.dark-mode .section-heading,.app-shell.dark-mode .sidebar-metrics,.app-shell.dark-mode .sidebar-title,.app-shell.dark-mode .view-toggle button+button,.app-shell.dark-mode td,.app-shell.dark-mode th{border-color:#334155}.app-shell.dark-mode .api-context-strip,.app-shell.dark-mode .cart-confirm-summary,.app-shell.dark-mode .cart-summary,.app-shell.dark-mode .cart-tabs,.app-shell.dark-mode .category-option,.app-shell.dark-mode .collapse-button,.app-shell.dark-mode .icon-button,.app-shell.dark-mode .icon-only,.app-shell.dark-mode .order-edit-summary-row,.app-shell.dark-mode .order-success-hero,.app-shell.dark-mode .otc-category-tabs,.app-shell.dark-mode .prescription-flat-grid,.app-shell.dark-mode .product-kind-tabs,.app-shell.dark-mode .quantity-stepper,.app-shell.dark-mode .quantity-stepper button,.app-shell.dark-mode .side-nav-item,.app-shell.dark-mode .view-toggle button{background:#0f172a;border-color:#334155;color:#cbd5e1}.app-shell.dark-mode .cart-summary .cart-summary-total{border-color:#334155}.app-shell.dark-mode .cart-summary-breakdown:before{background:#334155}.app-shell.dark-mode .cart-tabs button:hover,.app-shell.dark-mode .category-option.active,.app-shell.dark-mode .order-search-result.active,.app-shell.dark-mode .order-search-result:hover,.app-shell.dark-mode .product-kind-tabs button.active,.app-shell.dark-mode .selectable-row.active td,.app-shell.dark-mode .selectable-row:hover td,.app-shell.dark-mode .side-nav-item:hover,.app-shell.dark-mode .view-toggle button.active{background:#1e293b;border-color:#3b82f6;color:#93c5fd}.app-shell.dark-mode .cart-tabs button.active,.app-shell.dark-mode .draft.active,.app-shell.dark-mode .side-nav-item.active{background:#172554;border-color:#3b82f6;color:#bfdbfe}.app-shell.dark-mode .new-order-actions .icon-button.active{background:#2563eb;border-color:#60a5fa;color:#ffffff}.app-shell.dark-mode .order-search-result-customer>span,.app-shell.dark-mode .order-search-result-header>span,.app-shell.dark-mode .order-search-result-person>span,.app-shell.dark-mode .order-search-result-summary>span,.app-shell.dark-mode .order-search-result-time>span{color:#94a3b8}.app-shell.dark-mode .order-search-result-customer>strong,.app-shell.dark-mode .order-search-result-header>strong,.app-shell.dark-mode .order-search-result-person>strong,.app-shell.dark-mode .order-search-result-status>strong,.app-shell.dark-mode .order-search-result-summary>span>strong,.app-shell.dark-mode .order-search-result-time>strong{color:#e5e7eb}.app-shell.dark-mode .cart-page-product-image,.app-shell.dark-mode .cart-product-image,.app-shell.dark-mode .item-row input:disabled,.app-shell.dark-mode .product-image-placeholder,.app-shell.dark-mode .product-modal-image,.app-shell.dark-mode .product-thumb,.app-shell.dark-mode .refill-pair-control:has(input:disabled) input,.app-shell.dark-mode .side-count,.app-shell.dark-mode .side-icon{background:#1e293b;border-color:#334155;color:#94a3b8}.app-shell.dark-mode .product-code-options{background:#0f172a;border-color:#334155;box-shadow:0 18px 42px rgba(0,0,0,.45)}.app-shell.dark-mode .product-code-dialog-hint,.app-shell.dark-mode .product-code-options button span,.app-shell.dark-mode .product-code-options-title{color:#94a3b8}.app-shell.dark-mode .product-code-options button{color:#e2e8f0}.app-shell.dark-mode .product-code-options button.active,.app-shell.dark-mode .product-code-options button:hover{background:#172554;color:#93c5fd}.app-shell.dark-mode .draft-save-button{background:#4a3511;border-color:#a16207;color:#fde68a}.app-shell.dark-mode .draft-save-button:focus-visible,.app-shell.dark-mode .draft-save-button:hover{background:#5f430f;border-color:#ca8a04}.app-shell.dark-mode input,.app-shell.dark-mode select,.app-shell.dark-mode textarea{background:#0b1120;border-color:#475569;color:#e5e7eb}.app-shell.dark-mode input::placeholder,.app-shell.dark-mode textarea::placeholder{color:#64748b}.app-shell.dark-mode input:disabled,.app-shell.dark-mode select:disabled,.app-shell.dark-mode textarea:disabled{background:#1e293b;border-color:#334155;color:#94a3b8;opacity:1}.app-shell.dark-mode .prescription-flat-grid input,.app-shell.dark-mode .prescription-flat-grid select{background:transparent;border-color:transparent transparent #475569}.app-shell.dark-mode .prescription-flat-grid input:focus,.app-shell.dark-mode .prescription-flat-grid select:focus{background:#0b1120;border-color:transparent transparent #60a5fa}.app-shell.dark-mode .announcement strong,.app-shell.dark-mode .api-context-strip strong,.app-shell.dark-mode .cart-confirm-summary strong,.app-shell.dark-mode .cart-item strong,.app-shell.dark-mode .cart-page-item-copy strong,.app-shell.dark-mode .cart-page-price strong,.app-shell.dark-mode .cart-summary strong,.app-shell.dark-mode .detail-total-row td,.app-shell.dark-mode .favorite-page-copy strong,.app-shell.dark-mode .order-detail-items h3,.app-shell.dark-mode .order-edit-summary-row strong,.app-shell.dark-mode .order-message strong,.app-shell.dark-mode .order-messages h3,.app-shell.dark-mode .order-success-card b,.app-shell.dark-mode .order-success-card strong,.app-shell.dark-mode .order-success-hero h2,.app-shell.dark-mode .order-summary strong,.app-shell.dark-mode .product-card-main strong,.app-shell.dark-mode .product-code-line b,.app-shell.dark-mode .product-detail-grid strong,.app-shell.dark-mode .product-empty-state strong,.app-shell.dark-mode .product-list-main strong,.app-shell.dark-mode .product-shortcuts h3,.app-shell.dark-mode .section-heading,.app-shell.dark-mode .shortcut-card strong,.app-shell.dark-mode .sidebar-metrics strong,.app-shell.dark-mode .sidebar-title,.app-shell.dark-mode .system-status-card h2{color:#f8fafc}.app-shell.dark-mode .announcement p,.app-shell.dark-mode .cart-page-header p,.app-shell.dark-mode .cart-page-item-copy span,.app-shell.dark-mode .cart-page-price span,.app-shell.dark-mode .confirm-card p,.app-shell.dark-mode .favorite-page-copy span,.app-shell.dark-mode .order-success-card div span,.app-shell.dark-mode .order-success-card>span,.app-shell.dark-mode .order-success-hero p,.app-shell.dark-mode .product-empty-state span,.app-shell.dark-mode .product-image-zoom-hint,.app-shell.dark-mode .product-modal-en-name,.app-shell.dark-mode .shortcut-card span,.app-shell.dark-mode .text-button{color:#cbd5e1}.app-shell.dark-mode .confirm-card .confirm-warning{color:#f87171}.app-shell.dark-mode .favorite-button.active{background:#451a03;border-color:#f59e0b;color:#fbbf24}.app-shell.dark-mode .cart-tabs button,.app-shell.dark-mode .otc-category-menu button,.app-shell.dark-mode .otc-category-tab>button,.app-shell.dark-mode .otc-category-tabs>button,.app-shell.dark-mode .product-kind-tabs button{color:#cbd5e1}.app-shell.dark-mode .api-context-strip span,.app-shell.dark-mode .cart-tabs button.active span,.app-shell.dark-mode .otc-category-menu button.active,.app-shell.dark-mode .otc-category-tab>button.active,.app-shell.dark-mode .otc-category-tabs>button.active,.app-shell.dark-mode .status-help-icon:focus,.app-shell.dark-mode .status-help-icon:hover{color:#60a5fa}.app-shell.dark-mode .keyword-input-wrap button:hover,.app-shell.dark-mode .otc-category-menu button:hover,.app-shell.dark-mode .otc-category-tab>button:hover,.app-shell.dark-mode .otc-category-tabs>button:hover{background:#1e293b;color:#93c5fd}.app-shell.dark-mode .otc-category-menu button.child{color:#94a3b8}.app-shell.dark-mode .side-nav-item.nav-home .side-icon{background:#312e81;color:#c7d2fe}.app-shell.dark-mode .side-nav-item.nav-products .side-icon{background:#1e3a8a;color:#93c5fd}.app-shell.dark-mode .side-nav-item.nav-favorites .side-icon{background:#78350f;color:#fde68a}.app-shell.dark-mode .side-nav-item.nav-cart .side-icon{background:#134e4a;color:#99f6e4}.app-shell.dark-mode .side-nav-item.nav-orderExceptions .side-icon{background:#881337;color:#fecdd3}.app-shell.dark-mode .side-nav-item.nav-orders .side-icon{background:#581c87;color:#e9d5ff}.app-shell.dark-mode .side-nav-item.nav-lookup .side-icon{background:#14532d;color:#bbf7d0}.app-shell.dark-mode .side-nav-item.nav-systemFeatures .side-icon{background:#3730a3;color:#c7d2fe}.app-shell.dark-mode .add-cart-icon-button.primary{background:transparent;border-color:#60a5fa;color:#60a5fa}.app-shell.dark-mode .add-cart-icon-button.primary:focus-visible:not(:disabled),.app-shell.dark-mode .add-cart-icon-button.primary:hover:not(:disabled){background:#172554;border-color:#93c5fd;color:#93c5fd}.app-shell.dark-mode .otc-subcategory-group>button:not(.child){background:#263449;color:#e2e8f0}.app-shell.dark-mode .otc-category-menu button.active{background:#1e3a8a}.app-shell.dark-mode .otc-category-menu{box-shadow:0 22px 52px rgba(0,0,0,.38);scrollbar-color:#64748b #1e293b}.app-shell.dark-mode .otc-category-menu::-webkit-scrollbar-track{background:#1e293b}.app-shell.dark-mode .otc-category-menu::-webkit-scrollbar-thumb{background:#64748b;border-color:#1e293b}.app-shell.dark-mode .otc-category-menu::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app-shell.dark-mode .notice{background:#172554;border-color:#1d4ed8;color:#bfdbfe}.app-shell.dark-mode .field-hint.error,.app-shell.dark-mode .notice.error{color:#fca5a5}.app-shell.dark-mode .field-hint.warning{color:#fde68a}.app-shell.dark-mode .notice.error{background:#450a0a;border-color:#7f1d1d}.app-shell.dark-mode .notice.success{background:#052e16;border-color:#166534;color:#bbf7d0}.app-shell.dark-mode .notice.warning{background:#451a03;border-color:#92400e;color:#fde68a}.app-shell.dark-mode .exception-detail-row td{background:#0f172a}.app-shell.dark-mode .exception-detail-item{background:#111827;border-color:#334155}.app-shell.dark-mode .order-message,.app-shell.dark-mode .order-messages{border-color:#334155}.app-shell.dark-mode .order-message.staff{background:#172554;border-color:#1d4ed8}.app-shell.dark-mode .order-message.customer{background:#0f172a}.app-shell.dark-mode .order-message.system{background:#422006;border-color:#854d0e}.app-shell.dark-mode .discussion-status-actions,.app-shell.dark-mode .substitution-form,.app-shell.dark-mode .substitution-list{border-color:#334155}.app-shell.dark-mode .substitution-card{background:#0f172a;border-color:#334155}.app-shell.dark-mode .substitution-form label>span{color:#cbd5e1}.app-shell.dark-mode .order-message p{color:#e5e7eb}.app-shell.dark-mode .toast-card{background:#f8fafc;color:#0f172a}.app-shell.dark-mode .modal-backdrop{background:rgba(2,6,23,.68)}.app-shell.dark-mode{background:#1b2a3a;color:#f1f5f9}.app-shell.dark-mode .topbar{background:linear-gradient(105deg,#243b53,#285066 58%,#37566b);border-bottom-color:#5d8298;box-shadow:0 6px 20px rgba(15,35,50,.24);color:#f8fafc}.app-shell.dark-mode .topbar .user-chip strong,.app-shell.dark-mode .topbar h1{color:#f8fafc}.app-shell.dark-mode .topbar .eyebrow,.app-shell.dark-mode .topbar .user-chip span{color:#d7e5ef}.app-shell.dark-mode .product-result-count{color:#d7e5ef;font-weight:800}.app-shell.dark-mode .admin-user-edit-row td,.app-shell.dark-mode .announcement,.app-shell.dark-mode .announcement-stage,.app-shell.dark-mode .cart-item,.app-shell.dark-mode .cart-page-item,.app-shell.dark-mode .confirm-card,.app-shell.dark-mode .draft,.app-shell.dark-mode .favorite-page-card,.app-shell.dark-mode .floating-cart-card,.app-shell.dark-mode .order-edit-modal,.app-shell.dark-mode .order-search-result,.app-shell.dark-mode .order-success-card,.app-shell.dark-mode .otc-category-menu,.app-shell.dark-mode .panel,.app-shell.dark-mode .product-card,.app-shell.dark-mode .product-code-dialog,.app-shell.dark-mode .product-empty-state,.app-shell.dark-mode .product-list-row,.app-shell.dark-mode .product-modal,.app-shell.dark-mode .product-shortcuts,.app-shell.dark-mode .result-card,.app-shell.dark-mode .shortcut-card,.app-shell.dark-mode .sidebar,.app-shell.dark-mode .submitted,.app-shell.dark-mode .system-feature-button{background:#26384d;border-color:#50677e}.app-shell.dark-mode .api-context-strip,.app-shell.dark-mode .cart-confirm-summary,.app-shell.dark-mode .cart-summary,.app-shell.dark-mode .cart-tabs,.app-shell.dark-mode .category-option,.app-shell.dark-mode .collapse-button,.app-shell.dark-mode .icon-button,.app-shell.dark-mode .icon-only,.app-shell.dark-mode .order-edit-summary-row,.app-shell.dark-mode .order-success-hero,.app-shell.dark-mode .otc-category-tabs,.app-shell.dark-mode .prescription-flat-grid,.app-shell.dark-mode .product-kind-tabs,.app-shell.dark-mode .quantity-stepper,.app-shell.dark-mode .quantity-stepper button,.app-shell.dark-mode .side-nav-item,.app-shell.dark-mode .view-toggle button{background:#30445a;border-color:#587087;color:#e2eaf2}.app-shell.dark-mode .exception-detail-row td,.app-shell.dark-mode .order-message.customer,.app-shell.dark-mode .product-code-options,.app-shell.dark-mode .substitution-card,.app-shell.dark-mode input,.app-shell.dark-mode select,.app-shell.dark-mode textarea{background:#223348;border-color:#617a91;color:#f1f5f9}.app-shell.dark-mode .cart-summary .cart-summary-total,.app-shell.dark-mode .draft-list,.app-shell.dark-mode .form-actions,.app-shell.dark-mode .otc-category-browser,.app-shell.dark-mode .otc-category-menu button,.app-shell.dark-mode .quantity-stepper input,.app-shell.dark-mode .section-heading,.app-shell.dark-mode .sidebar-metrics,.app-shell.dark-mode .sidebar-title,.app-shell.dark-mode .view-toggle button+button,.app-shell.dark-mode td,.app-shell.dark-mode th{border-color:#50677e}.app-shell.dark-mode .cart-summary-breakdown:before{background:#50677e}.app-shell.dark-mode .cart-item span,.app-shell.dark-mode .draft span,.app-shell.dark-mode .eyebrow,.app-shell.dark-mode .field-hint,.app-shell.dark-mode .floating-cart-header span,.app-shell.dark-mode .item-row-header,.app-shell.dark-mode .order-edit-row-header,.app-shell.dark-mode .order-edit-summary-row span,.app-shell.dark-mode .product-card-main span,.app-shell.dark-mode .product-detail-grid span,.app-shell.dark-mode .product-list-main span,.app-shell.dark-mode .product-meta,.app-shell.dark-mode .result-card span,.app-shell.dark-mode .side-copy small,.app-shell.dark-mode .side-count,.app-shell.dark-mode .submitted span,.app-shell.dark-mode .user-chip span,.app-shell.dark-mode label,.app-shell.dark-mode th,.app-shell.dark-mode time{color:#bfd0df}.app-shell.dark-mode .logout-button,.app-shell.dark-mode .theme-toggle{background:#385069;border-color:#688198;color:#f8fafc}.app-shell.dark-mode .keyword-input-wrap button:hover,.app-shell.dark-mode .logout-button:hover,.app-shell.dark-mode .otc-category-menu button:hover,.app-shell.dark-mode .otc-category-tab>button:hover,.app-shell.dark-mode .otc-category-tabs>button:hover,.app-shell.dark-mode .side-nav-item:hover,.app-shell.dark-mode .theme-toggle:hover{background:#3b526a}.app-shell.dark-mode .cart-tabs button.active,.app-shell.dark-mode .category-option.active,.app-shell.dark-mode .draft.active,.app-shell.dark-mode .product-kind-tabs button.active,.app-shell.dark-mode .side-nav-item.active,.app-shell.dark-mode .view-toggle button.active{background:#315483;border-color:#72a7e8;color:#eff6ff}.app-shell.dark-mode .cart-page-product-image,.app-shell.dark-mode .cart-product-image,.app-shell.dark-mode .product-image-placeholder,.app-shell.dark-mode .product-modal-image,.app-shell.dark-mode .product-thumb,.app-shell.dark-mode input:disabled,.app-shell.dark-mode select:disabled,.app-shell.dark-mode textarea:disabled{background:#344b62;border-color:#587087;color:#c7d5e2}@keyframes spin{to{transform:rotate(1turn)}}@media (max-width:1320px){.app-layout{--sidebar-column-width:240px}.app-layout.sidebar-collapsed{--sidebar-column-width:76px}.order-layout{grid-template-columns:250px minmax(0,1fr)}.draft-list{border-bottom:0;border-right:1px solid #e2e8f0;padding-bottom:0;padding-right:16px}}@media (max-width:1050px){.app-layout{grid-template-columns:1fr}.sidebar{position:static}.side-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.announcement-stage{min-height:auto}.app-layout.sidebar-collapsed{grid-template-columns:1fr}.sidebar-collapsed .sidebar{padding:12px}.sidebar-collapsed .side-nav{grid-template-columns:repeat(4,54px)}.account-management-workspace{grid-template-columns:1fr}.account-hierarchy-sidebar{max-height:none;position:static}.account-hierarchy-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.topbar{align-items:start;flex-direction:column;padding:14px 16px}.api-pill{white-space:normal}.topbar-actions,.user-chip{justify-content:start;text-align:left}.app-layout{padding:16px}.app-layout.work-layout{padding-right:16px}.admin-topbar{align-items:start;flex-direction:column;gap:12px;padding:14px 16px}.admin-layout{grid-template-columns:1fr;padding:16px}.account-organization>summary,.login-audit-heading{align-items:stretch;flex-direction:column}.account-organization-metrics,.audit-filter{width:100%}.account-organization-metrics>span,.audit-filter a{flex:1 1;text-align:center}.account-card-actions{grid-template-columns:1fr}.account-directory-toolbar{align-items:stretch;flex-direction:column}.create-user-button{width:100%}.create-user-form{grid-template-columns:1fr}.create-user-form>footer,.create-user-form>label,.organization-picker-field{grid-column:1}.account-hierarchy-sidebar nav,.admin-reset-password-form{grid-template-columns:1fr}.admin-order-layout{padding:16px}.product-issue-metrics{grid-template-columns:1fr}.product-operations-details .product-override-manager{width:620px}.exception-toolbar,.form-grid,.item-row,.item-row.prescription,.item-row.store,.lookup-form,.order-lookup-layout,.order-search-form,.prescription-flat-grid,.product-toolbar,.side-nav,.toolbar{grid-template-columns:1fr}.order-search-form button{justify-self:stretch;width:100%}.product-search-action>button{width:100%}.prescription-span-2{grid-column:auto}.diagnosis-control{grid-template-columns:1fr}.diagnosis-field,.prescription-row-primary,.prescription-row-secondary,.refill-pair-field{grid-column:auto}.refill-pair-control{max-width:100%}.item-row .icon-only{width:100%}.exception-detail-header,.exception-detail-item{grid-template-columns:1fr}.modal-title-row,.product-meta,.product-meta>div{align-items:stretch;flex-direction:column}.cart-item,.order-edit-row,.order-message-form,.product-detail-grid,.product-list-row,.product-modal-layout,.substitution-card,.substitution-form{grid-template-columns:1fr}.product-list-row{grid-template-rows:none}.product-list-row>*{grid-column:auto;grid-row:auto}.order-edit-summary-row{align-items:flex-end;flex-direction:column}.product-footer-controls{align-items:stretch;flex-direction:column}.page-size-control,.page-size-control select,.product-list-row .icon-button{width:100%}.floating-cart{bottom:92px;right:16px}.toast-card{max-width:calc(100vw - 32px);top:12px}.favorite-page-card{grid-template-columns:58px minmax(0,1fr)}.favorite-page-grid{grid-template-columns:minmax(0,1fr)}.favorite-page-card .shortcut-actions{grid-column:1/-1}.cart-page-item{gap:10px 14px;grid-template-areas:"image copy" "image price" "quantity quantity" "remove remove";grid-template-columns:72px minmax(0,1fr);padding:16px 4px}.cart-page-product-image{grid-area:image;height:72px;width:72px}.cart-page-item-copy{grid-area:copy}.cart-page-price{grid-area:price}.cart-page-quantity{grid-area:quantity;width:100%}.cart-page-remove{grid-area:remove}}.organization-user-chip{min-width:0}.organization-switcher{align-items:center;display:flex;gap:6px}.organization-switcher select{background:transparent;border:0;color:inherit;cursor:pointer;font-size:13px;font-weight:800;max-width:330px;min-width:0;outline:none}.organization-admin-layout,.organization-card-list{display:grid;gap:18px}.organization-form{grid-template-columns:repeat(3,minmax(0,1fr))}.organization-note-field{grid-column:1/-1}.organization-note-field textarea{resize:vertical}.organization-edit-form{border-top:1px solid #e2e8f0;padding:18px}.organization-edit-meta{align-items:center;color:#64748b;display:flex;font-size:12px;gap:16px}.user-organization-memberships{border:1px solid #dbeafe;border-radius:10px;display:grid;gap:10px;grid-column:1/-1;margin:0;padding:12px}.user-organization-memberships legend{color:#334155;font-size:12px;font-weight:800;padding:0 6px}.user-organization-membership{align-items:end;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:10px;grid-template-columns:minmax(190px,1.4fr) repeat(2,minmax(130px,1fr)) auto;padding:10px}.default-organization-choice,.user-organization-check{align-items:center;display:flex!important;flex-direction:row!important;gap:8px}.default-organization-choice input,.user-organization-check input{width:auto!important}.user-organization-check span{display:grid;gap:2px}.user-organization-check code{color:#64748b;font-size:11px}@media (max-width:900px){.organization-form,.user-organization-membership{grid-template-columns:1fr}.organization-user-chip{min-width:0}}.product-override-manager{display:grid;gap:10px;min-width:420px}.admin-product-image-preview{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:8px;grid-template-columns:92px minmax(0,1fr);min-height:92px;overflow:hidden;padding:8px}.admin-product-image-preview img{background:#ffffff;border-radius:6px;height:76px;object-fit:cover;width:92px}.admin-product-image-preview>span{align-items:center;color:#94a3b8;display:flex;font-size:12px;font-weight:800;height:76px;justify-content:center;width:92px}.admin-product-image-preview small{color:#64748b;font-weight:800}.product-image-upload-form,.product-license-mapping-form,.product-license-remove-form{align-items:end;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto}.product-image-upload-form label,.product-license-mapping-form label{display:grid;gap:4px}.product-image-upload-form label span,.product-license-mapping-form label span,.product-license-remove-form span{color:#64748b;font-size:12px;font-weight:800}.product-image-history{border-top:1px solid #e2e8f0;padding-top:8px}.product-image-history summary{color:#475569;cursor:pointer;font-size:12px;font-weight:800}.product-image-history>div{display:grid;gap:8px;margin-top:8px}.product-image-history article{align-items:center;display:grid;gap:8px;grid-template-columns:54px minmax(0,1fr) auto}.product-image-history article img{background:#ffffff;border:1px solid #e2e8f0;border-radius:6px;height:44px;object-fit:cover;width:54px}.product-image-history article span,.product-image-history article strong{color:#64748b;font-size:11px}.api-admin-layout{margin:0 auto;max-width:1480px;width:100%}.api-admin-hero{align-items:center;background:linear-gradient(120deg,#eff6ff,#ffffff 55%,#f0fdf4);border:1px solid #bfdbfe;border-radius:12px;display:flex;gap:18px;justify-content:space-between;padding:18px 20px}.api-admin-hero>div{align-items:center;display:flex;gap:14px}.api-admin-hero h2,.api-admin-hero p,.api-admin-note p,.api-client-form-section h3,.api-client-form-section p,.api-secret-result p{margin:0}.api-admin-hero h2{color:#0f172a;font-size:18px}.api-admin-hero p{color:#475569;font-size:13px;margin-top:4px}.api-admin-icon{align-items:center;background:#2563eb;border-radius:10px;color:#ffffff;display:flex;height:44px;justify-content:center;width:44px}.admin-topbar-actions .logout-button,.api-admin-hero .primary-button,.api-log-filter-panel .secondary-button,.api-log-search-button{align-items:center;display:inline-flex;gap:7px;justify-content:center;text-decoration:none}.api-log-overview,.api-overview{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.api-log-overview article,.api-overview article{background:#ffffff;border:1px solid #dbe4f0;border-radius:10px;display:grid;gap:3px;grid-template-columns:minmax(0,1fr) auto;padding:14px 16px}.api-log-overview span,.api-overview span{color:#475569;font-size:13px;font-weight:800}.api-log-overview strong,.api-overview strong{color:#1d4ed8;font-size:28px;grid-row:span 2}.api-log-overview strong.success{color:#15803d}.api-log-overview strong.danger{color:#dc2626}.api-log-overview small,.api-overview small{color:#94a3b8;font-size:11px}.api-secret-result{align-items:start;background:#fffbeb;border:1px solid #fbbf24;border-radius:10px;color:#92400e;display:grid;gap:12px;grid-template-columns:auto minmax(0,1fr);padding:16px}.api-secret-result>div{display:grid;gap:6px}.api-secret-result code{background:#ffffff;border:1px dashed #d97706;border-radius:7px;color:#78350f;display:block;font-size:13px;overflow-wrap:anywhere;padding:10px 12px;-webkit-user-select:all;user-select:all}.api-client-panel{padding:0;overflow:hidden}.api-client-panel>.section-heading{padding:18px 20px}.api-result-count{background:#eff6ff;border-radius:999px;color:#1d4ed8;font-size:12px;font-weight:800;padding:6px 10px}.api-client-list{border-top:1px solid #e2e8f0;display:grid}.api-client-card{border-bottom:1px solid #e2e8f0}.api-client-card:last-child{border-bottom:0}.api-client-card>summary{align-items:center;cursor:pointer;display:grid;gap:16px;grid-template-columns:10px minmax(190px,1.4fr) minmax(130px,.8fr) minmax(170px,1fr) auto 70px;list-style:none;padding:16px 20px;transition:background-color .12s ease}.api-client-card>summary::-webkit-details-marker{display:none}.api-client-card>summary:hover,.api-client-card[open]>summary{background:#f8fafc}.api-client-card[open]>summary{border-bottom:1px solid #dbe4f0}.api-client-state-dot{background:#94a3b8;border-radius:999px;height:9px;width:9px}.api-client-state-dot.active{background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.api-client-state-dot.disabled{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.api-client-identity,.api-client-summary-item{display:grid;gap:3px;min-width:0}.api-client-identity strong{color:#0f172a;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.api-client-identity code,.api-log-request code{color:#64748b;font-size:11px;overflow-wrap:anywhere}.api-client-summary-item small{color:#94a3b8;font-size:10px;font-weight:800;text-transform:uppercase}.api-client-summary-item strong{color:#334155;font-size:12px}.api-client-summary-badges{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.status-badge.warning{background:#fef3c7;color:#92400e}.api-client-expand-label:after{color:#2563eb;content:"設定";font-size:12px;font-weight:850}.api-client-expand-label:before{color:#2563eb;content:"＋";font-size:16px;font-weight:900;margin-right:5px}.api-client-card[open] .api-client-expand-label:after{content:"收合"}.api-client-card[open] .api-client-expand-label:before{content:"－"}.api-client-editor{background:#f8fafc;display:grid;gap:14px;padding:18px 20px 20px 46px}.api-client-form{background:#ffffff;border:1px solid #dbe4f0;border-radius:10px;display:grid;overflow:hidden}.api-client-form-section{border-bottom:1px solid #e2e8f0;display:grid;gap:16px;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);padding:18px}.api-client-form-section>header{align-items:start;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr)}.api-client-form-section>header>span{align-items:center;background:#dbeafe;border-radius:999px;color:#1d4ed8;display:flex;font-size:12px;font-weight:900;height:25px;justify-content:center;width:25px}.api-client-form-section h3{color:#0f172a;font-size:14px}.api-client-form-section p{color:#64748b;font-size:12px;line-height:1.5;margin-top:3px}.api-client-access-grid,.api-client-form-grid{align-items:start;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.api-client-access-grid>label:not(.api-switch-field),.api-client-form-grid>label:not(.api-switch-field),.api-log-filter>label{display:grid;gap:5px}.api-client-access-grid label>span,.api-client-form-grid label>span,.api-log-filter label>span{color:#475569;font-size:12px;font-weight:800}.api-client-access-grid label>small,.api-client-form-grid label>small{color:#94a3b8;font-size:10px;line-height:1.4}.api-switch-field{align-items:start;background:#f8fafc;border:1px solid #dbe4f0;border-radius:8px;display:flex;gap:10px;min-height:42px;padding:10px 12px}.api-switch-field>input{height:17px;margin-top:1px;width:17px}.api-switch-field>span{display:grid;gap:2px}.api-switch-field strong{color:#334155;font-size:12px}.api-switch-field small{color:#64748b;font-size:10px;line-height:1.45}.api-access-all-field{border-color:#fbbf24;grid-column:1/-1}.api-client-save-bar{align-items:center;background:#eff6ff;display:flex;gap:16px;justify-content:space-between;padding:14px 18px}.api-client-save-bar>span{color:#1e40af;font-size:12px;font-weight:700}.api-danger-zone{align-items:center;background:#fff7ed;border:1px solid #fed7aa;border-radius:9px;display:flex;gap:16px;justify-content:space-between;padding:13px 14px}.api-danger-zone>div{align-items:center;color:#c2410c;display:flex;gap:10px}.api-danger-zone span{display:grid;gap:2px}.api-danger-zone strong{color:#9a3412;font-size:12px}.api-danger-zone small{color:#c2410c;font-size:10px}.api-admin-note{align-items:start;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;color:#475569;display:flex;gap:10px;padding:14px 16px}.api-admin-note>div{display:grid;gap:3px}.api-admin-note strong{color:#334155;font-size:13px}.api-admin-note p{font-size:12px;line-height:1.55}.api-log-filter{align-items:end;display:grid;gap:12px;grid-template-columns:minmax(150px,.8fr) 120px minmax(220px,1.4fr) 120px 120px minmax(170px,1fr) auto}.api-log-search-button{min-height:42px;white-space:nowrap}.api-log-table{min-width:980px}.api-log-table td,.api-log-table th{vertical-align:middle}.api-log-error-row td{background:#fffafa}.api-log-time{color:#475569;font-size:12px;white-space:nowrap}.api-log-request{align-items:center;display:flex;gap:9px;min-width:280px}.api-log-request code{color:#334155;font-size:12px}.api-method-badge{border-radius:5px;display:inline-flex;flex:0 0 auto;font-size:10px;font-weight:900;justify-content:center;min-width:45px;padding:4px 6px}.api-method-badge.method-get{background:#dbeafe;color:#1d4ed8}.api-method-badge.method-post{background:#dcfce7;color:#166534}.api-method-badge.method-patch,.api-method-badge.method-put{background:#fef3c7;color:#92400e}.api-method-badge.method-delete{background:#fee2e2;color:#991b1b}.api-status-code{border-radius:6px;display:inline-flex;font-size:12px;font-weight:900;min-width:42px;padding:5px 7px;justify-content:center}.api-status-code.success{background:#dcfce7;color:#166534}.api-status-code.error{background:#fee2e2;color:#991b1b}.api-log-error-message{color:#b91c1c;font-size:12px;max-width:360px;overflow-wrap:anywhere}.api-log-body-cell{display:grid;gap:6px;min-width:220px}.api-log-body>summary{color:#2563eb;cursor:pointer;font-size:11px;font-weight:800}.api-log-body pre{background:#0f172a;border-radius:7px;color:#e2e8f0;font-size:10px;margin:6px 0 0;max-height:220px;max-width:460px;overflow:auto;padding:9px;white-space:pre-wrap;word-break:break-word}@media (max-width:1100px){.api-log-overview,.api-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.api-client-card>summary{grid-template-columns:10px minmax(170px,1.4fr) minmax(120px,1fr) auto 70px}.api-client-summary-item:nth-of-type(4){display:none}.api-log-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.api-admin-hero,.api-client-save-bar,.api-danger-zone{align-items:stretch;flex-direction:column}.api-admin-hero>div{align-items:flex-start}.api-admin-hero .primary-button,.api-client-save-bar .primary-button,.api-danger-zone .danger-button{width:100%}.api-client-access-grid,.api-client-form-grid,.api-log-filter,.api-log-overview,.api-overview{grid-template-columns:1fr}.api-client-panel>.section-heading{align-items:flex-start;gap:10px}.api-client-card>summary{gap:10px;grid-template-columns:10px minmax(0,1fr) auto;padding:14px}.api-client-summary-badges,.api-client-summary-item{display:none}.api-client-editor{padding:12px}.api-client-form-section{grid-template-columns:1fr;padding:14px}.api-log-search-button{width:100%}}