/* Unified glass skin. Blur only on bounded chrome, never hundreds of product cards. */
/* Compatibility for separately deployed pages not yet using the component contract. */
body.liquid-page:not(.ui-system) button{color:#3d526d;background:linear-gradient(145deg,#fffffff0,#ebf0f8b3);border:1px solid #cfd7e4b8;border-radius:22px;font-weight:500;box-shadow:inset 0 1px #fff}
body.liquid-page:not(.ui-system) button.primary{color:#fff;background:linear-gradient(165deg,#477dbc,#3367a9);border-color:#376bad}
body.liquid-page:not(.ui-system) button:disabled{opacity:.55}
body.liquid-page:not(.ui-system) dialog{background:#f8f9fc;color:var(--ink);border:1px solid #fff;border-radius:28px;box-shadow:0 18px 60px #1e263629}
body.liquid-page:not(.ui-system) dialog::backdrop{background:#1e232e57;backdrop-filter:blur(3px)}
body.liquid-page{--ink:#24272d;--muted:#626873;--paper:#f2f3f6;--panel:#fff;--line:#dce0e7;--accent:#336bb1;--accent-bright:#336bb1;--danger:#a04e43;--glass-shadow:0 4px 18px rgba(38,45,65,.045);min-height:100vh;color:var(--ink);background:#f2f3f6;background-image:radial-gradient(ellipse at 8% 0,#e6eaf4 0,transparent 48%),radial-gradient(ellipse at 95% 45%,#eeebf3 0,transparent 48%);background-repeat:no-repeat;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
body.liquid-page header{position:sticky;top:10px;z-index:30;height:auto;min-height:58px;margin:10px auto 0;width:calc(100% - 32px);max-width:1100px;padding:10px 22px;border:1px solid #fff;border-radius:24px;color:var(--ink);background:#fafbfd;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(250,251,255,.72));box-shadow:var(--glass-shadow),inset 0 1px 0 #fff}
body.liquid-page .brand,body.liquid-page .apple-brand{color:var(--ink);text-decoration:none}
body.liquid-page .apple-wordmark{color:var(--ink);font-size:13px;font-weight:700;letter-spacing:1.6px;background:none;width:auto;height:auto;padding:0;white-space:nowrap}
body.liquid-page .apple-page-label{color:var(--muted);border-left:1px solid #d4d9e2;padding-left:14px;font-size:13px;font-weight:400;letter-spacing:0}
body.liquid-page header button{min-height:38px;padding:8px 15px;font-size:13px;white-space:nowrap}
body.liquid-page input,body.liquid-page select,body.liquid-page textarea{color:var(--ink);background:#fff;background:rgba(255,255,255,.76);border-color:#d7dde6;border-radius:14px;box-shadow:inset 0 1px 2px rgba(30,40,60,.025)}
body.liquid-page input::placeholder,body.liquid-page textarea::placeholder{color:#707783}
body.liquid-page input:focus,body.liquid-page select:focus,body.liquid-page textarea:focus,body.liquid-page :focus-visible{outline:2px solid #336bb1;outline-offset:3px}
body.liquid-page a{color:#2b62a3}body.liquid-page a.product-link{color:var(--ink)}
body.liquid-page h1,body.liquid-page h2,body.liquid-page h3{color:var(--ink);font-weight:600;letter-spacing:-.025em}
body.liquid-page .muted,body.liquid-page .subtle,body.liquid-page .caption,body.liquid-page .code,body.liquid-page .note,body.liquid-page .category,body.liquid-page dt,body.liquid-page footer{color:var(--muted)}
body.liquid-page .eyebrow{color:#647187}body.liquid-page .sku,body.liquid-page .stock{color:#3f6c63}
body.liquid-page .quantity{color:#2b62a3;background:#e8eff9;border-radius:12px;padding:3px 9px;font-weight:600}
body.liquid-page .item-note{color:#7c5e3d;background:none;border:0;padding:0;line-height:1.6;white-space:pre-wrap;overflow-wrap:break-word}
body.liquid-page .sku-content>.sku-note{color:#715982;font-size:inherit;margin:0;padding:0}
body.liquid-page .neg,body.liquid-page .danger{color:#a04e43}body.liquid-page .price{color:var(--ink)}
body.liquid-page .detail-link{font-size:12px;color:#2b62a3}
body.liquid-page .item,body.liquid-page .album,body.liquid-page .info,body.liquid-page .sku-section,body.page-catalog .product-grid .product-card,body.page-catalog .stat,body.page-billing section,body.page-billing .record-card,body.page-billing .customer-card,body.page-rfid .panel,body.page-rfid .stats>div,body.page-login .card{background:#fafbfd;background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(255,255,255,.63));border:1px solid rgba(255,255,255,.94);border-radius:24px;box-shadow:var(--glass-shadow),inset 0 1px 0 #fff}
body.liquid-page .sku-head{background:#edf0f6;color:var(--muted)}body.liquid-page .sku-row{border-color:#dfe4ec}
body.page-selection-share .item{content-visibility:auto;contain-intrinsic-size:220px}
body.liquid-page .image-dialog,body.liquid-page #photoDialog{max-height:94vh;max-height:94dvh}
body.liquid-page .dialog-close,body.liquid-page .close,body.liquid-page #closePhoto{background:#e9edf4;color:#566073;border:1px solid #fff;box-shadow:inset 0 1px 0 #fff;border-radius:50%}
body.liquid-page .toast,body.liquid-page #toast{background:#303947;color:#fff;border-radius:18px}
body.liquid-page #shareDialog,body.liquid-page #selectionListShareDialog{background:linear-gradient(135deg,#f8f9fc,#eeeff6)}
body.liquid-page #shareDialog .eyebrow,body.liquid-page #selectionListShareDialog .eyebrow,body.liquid-page .share-hint{color:var(--muted)}
body.liquid-page #shareDialog img,body.liquid-page #selectionListShareDialog img{border-radius:20px;box-shadow:var(--glass-shadow)}
/* Retain compact square cards and the folded mobile links. */
body.page-catalog header{max-width:1440px;min-height:60px}
body.page-catalog .topbar .brand-mark{display:block;background:none;width:auto;height:auto;color:var(--ink)}
body.page-catalog .topbar .brand>span:last-child{display:block}
body.page-catalog .topbar .brand b{color:var(--muted)}
body.page-catalog .topbar .actions>.button{color:#505b6a!important;background:rgba(255,255,255,.38);border-radius:20px}
body.page-catalog .topbar .actions>#syncBtn,body.page-catalog .topbar .actions>#loginBtn{background:#336bb1;color:#fff!important}
body.page-catalog .topbar .actions>.selection-list-button{background:#e9eff8}
body.page-catalog .category-pills button{color:#5b6471;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.85);padding:10px 17px}
body.page-catalog .category-pills button[aria-pressed=true]{background:#334052;color:#fff;border-color:#334052}
body.page-catalog .view-switcher{background:#e7ebf2;background:rgba(225,231,242,.6);border:1px solid #fff;box-shadow:inset 0 1px 0 #fff}
body.page-catalog .view-switcher button{background:transparent;border:0;box-shadow:none;color:#5b6471}
body.page-catalog .view-switcher button[aria-pressed=true]{background:#fff;color:#30445f;box-shadow:0 2px 6px rgba(38,45,65,.05)}
body.page-catalog .filters select{background:rgba(255,255,255,.5);border-color:#dce2eb}
body.page-catalog .product-grid .photo{background:rgba(255,255,255,.5)}
body.page-catalog .product-grid .product-card:hover{box-shadow:0 8px 24px rgba(35,45,66,.075);transform:translateY(-2px)}
body.page-catalog .product-grid .card-title{color:var(--ink)}
body.page-catalog .copy-product-name,body.page-catalog .selection-item-info>button{background:none;border:0;border-radius:0;box-shadow:none;color:var(--ink);font-weight:600}
body.page-catalog .copy-product-name:hover,body.page-catalog .selection-item-info>button:hover{background:none;color:#2b62a3}
body.page-catalog .selection-remove{background:none;border:0;box-shadow:none;color:#a04e43}
body.page-catalog .selection-drag-handle{border:0;border-radius:8px;box-shadow:none;background:#edf0f6;color:#6c788a}
body.page-catalog .selection-item-image,body.page-selection-share .item-image,body.page-product .photo-main{background:#fff;box-shadow:none}
body.page-catalog .product-grid .card-code,body.page-catalog .product-grid .card-variants{color:var(--muted)}
body.page-catalog .product-grid .card-footer{border-color:#e0e5ed}
body.page-catalog .product-grid .price b{color:var(--ink)}body.page-catalog .product-grid .card-stock .badge{color:#3f6c63}
body.page-catalog .product-grid .card-stock .badge.negative{color:#a04e43}
body.page-catalog .gallery{background:rgba(235,239,246,.6)}body.page-catalog .detail-info{background:rgba(255,255,255,.45)}
body.page-catalog .meta-item,body.page-catalog .detail-info td{border-color:#e1e5ec}
body.page-catalog .selection-product{background:rgba(255,255,255,.68);border:1px solid #fff;border-radius:22px;box-shadow:inset 0 1px 0 #fff}
body.page-catalog .selection-list-footer{background:#f6f8fc;background:rgba(246,248,252,.92);border-color:#e0e5ed}
body.page-catalog .selection-product [data-note=productNote]{color:#7c5e3d;background:#faf7f1;border-color:#e9e0d5}
body.page-catalog .selection-product [data-note=skuNote]{color:#715982;background:#f7f4fa;border-color:#e5dfea}
/* One segmented navigation per workspace, no redundant bottom bar. */
body.page-billing .work-tabs,body.page-rfid nav{background:#e8ecf3;background:linear-gradient(135deg,rgba(255,255,255,.6),rgba(227,233,245,.62));border:1px solid #fff;border-radius:25px;box-shadow:var(--glass-shadow);padding:5px}
body.page-billing .work-tabs button,body.page-rfid nav button{color:#5a6678;background:transparent;border:0;box-shadow:none}
body.page-billing .work-tabs button.active,body.page-rfid nav button.active{color:#2c4d76;background:rgba(255,255,255,.94);box-shadow:0 2px 7px rgba(38,45,65,.07)}
body.page-billing header>span{color:var(--muted)}body.page-billing .product{background:rgba(255,255,255,.65);border:1px solid #fff;border-radius:18px}
body.page-billing header{max-width:1132px}
body.page-billing .product:hover{background:#fff}
body.page-billing .records-filters>label{min-width:0}
body.page-billing .step,body.page-rfid .notice,body.page-rfid .liveCount:not(:empty){background:#e9eff8;color:#33639a}
body.page-billing .purchase-confirm-group{background:none;border:0;border-radius:0;box-shadow:none}
body.page-rfid header{max-width:1220px;min-height:58px;padding:12px 20px}
body.page-rfid .brand>div>span{display:none}body.page-rfid .connection,body.page-rfid .version{color:#5a6678;background:#e8edf5}
body.page-rfid .empty{background:rgba(255,255,255,.65);border-color:#e0e5ed}
body.page-rfid .stats strong{color:var(--ink)}body.page-rfid .stats>div:last-child strong{color:#7c5e3d}
body.page-login .card{padding:34px;box-shadow:0 12px 40px rgba(38,45,65,.065),inset 0 1px 0 #fff}
body.page-login .brand{color:#3d4c63;font-size:13px;letter-spacing:1.8px}body.page-login #error{color:#a04e43}
/* Returns stays a wide, globally scrolling table on phones. Column wrapping unchanged. */
body.page-returns header{max-width:1120px;height:52px;min-height:52px;padding:6px 16px;top:8px;margin-top:8px;width:calc(100% - 48px);border-radius:20px}
body.page-returns .topbar{color:var(--ink);background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(250,251,255,.72))}
body.page-returns header button{min-height:34px;font-size:13px;padding:6px 16px}
body.page-returns .toolbar,body.page-returns .filter-bar{background:#fafbfd;background:rgba(255,255,255,.67);border-color:#fff;box-shadow:none}
body.page-returns .toolbar{border-radius:20px 20px 0 0}
body.page-returns .filter-bar{border-radius:0 0 20px 20px;box-shadow:0 4px 18px rgba(38,45,65,.025)}
body.page-returns .search-box input{background:rgba(255,255,255,.78);border-color:#dce2eb;border-radius:20px}
body.page-returns .table-card{background:rgba(255,255,255,.74);border:1px solid #dce2eb;border-radius:18px;box-shadow:var(--glass-shadow)}
body.page-returns th{top:68px;background:#e9edf4;background:rgba(234,239,246,.97);color:#4b5b71;border-color:#d8e0ea;font-weight:600}
body.page-returns td{color:#2c333e;border-color:#e0e5ec}
body.page-returns tbody tr{background:rgba(255,255,255,.82)}body.page-returns tbody tr:nth-child(even){background:rgba(245,247,251,.85)}
body.page-returns .remark-cell{color:#596b7b}body.page-returns .clear-search{background:#e9eef6;color:#52627a}
body.page-returns .sync-meta strong,body.page-returns .count-block b{color:#415773}
body.page-returns .back-to-top{background:#f9fbff;border:1px solid #fff;color:#33639a;box-shadow:var(--glass-shadow);border-radius:22px}
body.page-returns .catalog-link{color:#52627a}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.liquid-page header,body.page-returns .topbar{background:linear-gradient(135deg,rgba(255,255,255,.68),rgba(248,250,255,.52));-webkit-backdrop-filter:blur(18px) saturate(115%);backdrop-filter:blur(18px) saturate(115%)}body.page-login .card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}}
@media(max-width:700px){body.liquid-page header{top:8px;margin-top:8px;width:calc(100% - 24px);min-height:54px;padding:10px 14px;border-radius:21px}body.liquid-page .apple-wordmark{font-size:11px;letter-spacing:1.2px}body.liquid-page .apple-page-label{font-size:11px;padding-left:10px}body.page-catalog header{min-height:54px}body.page-catalog #quickLinksToggle{background:rgba(255,255,255,.8);color:#52627a;border:1px solid #d8e0ea;border-radius:18px}body.page-catalog .topbar .brand>span:last-child{padding-left:10px}body.page-catalog .topbar .actions{background:transparent;border-top:1px solid #e0e5ed}body.page-catalog .product-grid .product-card,body.page-billing section,body.page-rfid .panel{border-radius:20px}body.page-rfid header{height:auto}body.page-login .card{padding:28px 24px}}
@media(max-width:900px){body.page-returns header{width:calc(100% - 24px);height:48px;min-height:48px}body.page-returns th{top:64px}}
@media(max-width:680px){body.page-billing .records-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-billing .records-pages{flex-wrap:wrap}body.page-billing .records-pages span{flex:1;min-width:100px;text-align:center}}
@media(max-width:360px){body.page-billing .records-filters{grid-template-columns:1fr}body.liquid-page header .apple-page-label{font-size:10px;padding-left:8px}body.liquid-page header button{font-size:12px;padding:7px 10px}}
@media(hover:hover) and (pointer:fine){body.page-returns tbody tr:hover{background:#eaf0f9}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.liquid-page header,body.page-returns .topbar,body.page-login .card{background:#f9fafc}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){body.liquid-page header,body.liquid-page .item,body.liquid-page .album,body.liquid-page .info,body.liquid-page .sku-section,body.page-catalog .product-grid .product-card,body.page-catalog .stat,body.page-billing section,body.page-rfid .panel,body.page-login .card,body.page-returns .toolbar,body.page-returns .filter-bar,body.page-returns .table-card{background:#fff;border-color:#d7dde6;-webkit-backdrop-filter:none;backdrop-filter:none}body.liquid-page button,body.liquid-page input,body.liquid-page select,body.liquid-page textarea{border-color:#a5afbe}}
@media(prefers-reduced-motion:reduce){body.liquid-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.page-catalog .product-grid .product-card:hover{transform:none}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){body.page-returns .topbar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
