:root{color:#16343b;font-synthesis:none;text-rendering:geometricprecision;--marine-950:#082f38;--marine-900:#0b3f49;--marine-800:#115462;--marine-700:#176b78;--marine-100:#dceceb;--ivory:#f7f5ef;--paper:#fffefa;--ink:#16343b;--muted:#6f8589;--line:#d7e0dd;--copper:#bb6b3a;--sage:#5d8976;--danger:#a94b4b;background:#e8eeec;font-family:Avenir Next,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{-webkit-font-smoothing:antialiased;background:radial-gradient(circle at 86% 8%,#bb6b3a1f,#0000 28rem),#e8eeec;min-height:100vh}button,a{font:inherit}button{border:0}.admin-login{place-items:center;min-height:100vh;padding:24px;display:grid}.admin-login-card{background:var(--paper);border-top:5px solid var(--marine-800);gap:24px;width:min(100%,420px);padding:40px;display:grid;box-shadow:0 20px 60px #082f3812}.admin-login-brand{color:var(--marine-700);letter-spacing:.12em}.admin-login-card h1{margin:0 0 8px;font-size:32px}.admin-login-card label{gap:8px;display:grid}.admin-login-card input{border:1px solid var(--line);width:100%;font:inherit;padding:12px}.admin-login-card input:focus-visible{outline:2px solid var(--marine-700);outline-offset:2px}.admin-login-card button{background:var(--marine-800);color:var(--paper);cursor:pointer;padding:13px}.admin-login-card [role=alert],.admin-session-bar [role=alert]{color:var(--danger)}.admin-login-card button:disabled{opacity:.6;cursor:wait}.admin-session-bar{background:var(--paper);justify-content:flex-end;align-items:center;gap:16px;padding:8px 24px;display:flex}.admin-session-bar button{cursor:pointer;color:var(--marine-800);background:var(--marine-100);padding:8px 12px}.boot-stage{align-content:center;place-items:center;gap:28px;min-height:100vh;padding:32px;display:grid}.brand-mark{background:var(--marine-800);border:1px solid #ffffff52;border-radius:13px;flex:0 0 42px;width:42px;height:42px;position:relative;overflow:hidden}.brand-mark span{border:3px solid #d8e9db;border-radius:50%;display:block;position:absolute}.brand-mark span:first-child{width:25px;height:25px;top:-3px;left:-5px}.brand-mark span:last-child{border-color:#d1a078;width:25px;height:25px;bottom:-3px;right:-5px}.state-panel{text-align:center;background:#fffefadb;border:1px solid #082f3814;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:18px;width:min(680px,100%);min-height:260px;padding:54px;display:flex;box-shadow:0 18px 55px #082f3814}.state-panel strong{font-size:18px;font-weight:600}.loading-orbit{border:1px solid var(--line);border-radius:50%;width:42px;height:42px;padding:5px;animation:1.2s linear infinite orbit}.loading-orbit span{background:var(--copper);border-radius:50%;width:9px;height:9px;display:block}@keyframes orbit{to{transform:rotate(360deg)}}.skeleton-lines{gap:9px;width:min(320px,100%);display:grid}.skeleton-lines i{background:#e5eae7;border-radius:10px;height:8px}.skeleton-lines i:nth-child(2){width:78%}.skeleton-lines i:nth-child(3){width:54%}.state-glyph{width:42px;height:42px;color:var(--danger);border:1px solid #a94b4b47;border-radius:50%;place-items:center;font-size:22px;font-weight:600;display:grid}.outline-button{border:1px solid var(--marine-700);min-width:112px;min-height:42px;color:var(--marine-800);cursor:pointer;background:0 0;border-radius:2px;justify-content:center;align-items:center;padding:0 18px;display:inline-flex}.outline-button:hover{background:var(--marine-100)}.primary-button,.quiet-button,.table-action,.icon-button{cursor:pointer;border-radius:2px;justify-content:center;align-items:center;display:inline-flex}.primary-button{color:#fff;background:var(--marine-800);min-height:44px;padding:0 20px;font-size:12px;font-weight:500}.primary-button:hover{background:var(--marine-700)}.quiet-button{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#f3f5f2;padding:0 20px;font-size:12px}.primary-button:disabled,.quiet-button:disabled,.table-action:disabled{cursor:wait;opacity:.55}.compact-button{min-height:36px;padding:0 15px}.page-toolbar{align-items:center;gap:10px;display:flex}.toolbar-help-button{gap:7px}.toolbar-help-button svg{width:15px;height:15px}.write-chip{color:#356957;white-space:nowrap;background:#e0eee7;border-radius:30px;justify-content:center;align-items:center;min-height:30px;padding:0 12px;font-size:11px;display:inline-flex}.admin-shell{grid-template-columns:252px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{z-index:30;background:linear-gradient(155deg, #ffffff0a, transparent 32%), var(--marine-950);color:#f5f7f3;flex-direction:column;height:100vh;display:flex;position:sticky;top:0;overflow:hidden}.sidebar:after{content:"";pointer-events:none;border:1px solid #d1a0782e;border-radius:50%;width:220px;height:220px;position:absolute;bottom:-80px;right:-105px}.sidebar-brand{border-bottom:1px solid #ffffff14;align-items:center;gap:13px;min-height:108px;padding:28px 24px;display:flex}.sidebar-brand strong,.sidebar-brand span{display:block}.sidebar-brand strong{letter-spacing:.08em;margin-bottom:3px;font-size:17px;font-weight:600}.sidebar-brand span{color:#9cb3b5;letter-spacing:.2em;font-size:12px}.sidebar nav{scrollbar-width:thin;scrollbar-color:#fff3 transparent;flex:1;min-height:0;padding:18px 12px;overflow-y:auto}.sidebar nav a{color:#b6c7c8;border-radius:2px;grid-template-columns:25px 28px minmax(0,1fr);align-items:center;gap:7px;min-height:46px;padding:0 12px;text-decoration:none;transition:background .16s,color .16s;display:grid;position:relative}.sidebar nav a:before{content:"";background:0 0;width:3px;height:22px;position:absolute;left:-12px}.sidebar nav a:hover{color:#fff;background:#ffffff0a}.sidebar nav a.active{color:#fff;background:#ffffff13}.sidebar nav a.active:before{background:var(--copper)}.nav-number{color:#67868a;font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.nav-glyph{border:1px solid #ffffff24;border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;display:grid}.sidebar nav a.active .nav-glyph{color:#f3c29d;border-color:#f3c29d75}.sidebar nav strong{font-size:13px;font-weight:500}.sidebar-footer{border-top:1px solid #ffffff14;align-items:center;gap:10px;min-height:76px;padding:18px 24px;display:flex}.sidebar-footer strong,.sidebar-footer span{display:block}.sidebar-footer strong{color:#dbe4e2;font-size:12px;font-weight:500}.sidebar-footer div span{color:#7d989b;margin-top:3px;font-size:10px}.online-dot{background:#77ae92;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #77ae921f}.shell-main{min-width:0}.topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f7f5efeb;border-bottom:1px solid #082f381a;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:0 34px;display:flex;position:sticky;top:0}.menu-button{cursor:pointer;background:0 0;border-radius:2px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:42px;height:42px;display:none}.menu-button span{background:var(--marine-900);width:18px;height:1px}.hospital-identity span,.hospital-identity strong{display:block}.hospital-identity span{color:var(--muted);letter-spacing:.16em;margin-bottom:3px;font-size:10px}.hospital-identity strong{font-size:14px;font-weight:550}.operator-identity{align-items:center;gap:10px;display:flex}.operator-identity>span{color:var(--muted);font-size:12px}.operator-identity strong{color:#f7f5ef;background:var(--marine-800);border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;font-weight:500;display:grid}.content-stage{min-height:calc(100vh - 72px);padding:42px clamp(24px,4vw,64px) 70px}.page-stack{width:min(1280px,100%);margin:0 auto}.module-subnav{background:#ffffff9e;border:1px solid #082f3817;border-radius:3px;align-items:center;min-height:48px;margin-bottom:24px;padding:5px 6px;display:flex;box-shadow:0 10px 30px #082f3809}.module-subnav>div{align-items:center;gap:4px;display:flex}.module-subnav a{color:#607678;border-radius:2px;justify-content:center;align-items:center;min-height:36px;padding:0 16px;font-size:12px;font-weight:450;text-decoration:none;transition:color .16s,background .16s;display:inline-flex;position:relative}.module-subnav a:hover{color:var(--marine-900);background:#0855620e}.module-subnav a.active{color:var(--marine-900);background:#e4efec;font-weight:560}.module-subnav a.active:after{content:"";background:var(--copper);height:2px;position:absolute;bottom:2px;left:12px;right:12px}.page-heading{justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:30px;display:flex}.page-heading h1{color:var(--marine-950);letter-spacing:-.045em;margin:6px 0 0;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:clamp(30px,3.2vw,46px);font-weight:600}.page-heading p{color:var(--muted);margin:9px 0 0;font-size:13px}.page-kicker{color:var(--copper);letter-spacing:.16em;font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.read-only-chip{color:#52716f;white-space:nowrap;background:#ffffff80;border:1px solid #b8c9c5;border-radius:30px;justify-content:center;align-items:center;min-height:30px;padding:0 12px;font-size:11px;display:inline-flex}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.metric-card{background:var(--paper);border:1px solid #082f3817;border-radius:3px;min-height:150px;padding:22px;position:relative;overflow:hidden}.metric-card:after{content:"";opacity:.22;border:1px solid;border-radius:50%;width:74px;height:74px;position:absolute;top:-36px;right:-36px}.metric-card>span,.metric-card>strong,.metric-card>small{display:block}.metric-card>span{color:var(--muted);margin-bottom:18px;font-size:12px}.metric-card>strong{color:var(--marine-950);letter-spacing:-.04em;font-family:Avenir Next,SF Pro Display,sans-serif;font-size:clamp(27px,2.7vw,38px);font-weight:500}.metric-card>small{color:var(--muted);margin-top:10px;font-size:11px}.metric-teal{color:var(--marine-700)}.metric-copper{color:var(--copper)}.metric-sage{color:var(--sage)}.metric-ink{color:#596a6c}.overview-grid{grid-template-columns:minmax(280px,.78fr) minmax(500px,1.4fr);gap:18px;display:grid}.surface-card{background:var(--paper);border:1px solid #082f3817;border-radius:3px}.section-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:0 22px;display:flex}.section-heading>div{align-items:center;gap:10px;display:flex}.section-heading h2{margin:0;font-size:15px;font-weight:550}.section-heading>span,.section-heading a{color:var(--muted);font-size:11px;text-decoration:none}.section-number{color:var(--copper);font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.watch-list{margin:0;padding:0;list-style:none}.watch-list li{border-bottom:1px solid #e6ece9;justify-content:space-between;align-items:center;gap:14px;min-height:82px;padding:0 22px;display:flex}.watch-list li:last-child{border-bottom:0}.watch-list strong,.watch-list div span{display:block}.watch-list strong{margin-bottom:6px;font-size:13px;font-weight:550}.watch-list div span{color:var(--muted);font-size:11px}.recent-orders article{border-bottom:1px solid #e6ece9;grid-template-columns:minmax(170px,1.4fr) minmax(80px,.75fr) 78px 70px;align-items:center;gap:12px;min-height:82px;padding:0 22px;display:grid}.recent-orders article:last-child{border-bottom:0}.recent-order-main strong,.recent-order-main span{display:block}.recent-order-main strong{font-size:12px;font-weight:600}.recent-order-main span{color:var(--muted);margin-top:5px;font-size:11px}.mono-value{color:#526b70;font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.order-amount{text-align:right;font-size:12px;font-weight:550}.status-pill{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;width:fit-content;min-height:24px;padding:0 9px;font-size:10px;line-height:1;display:inline-flex}.status-success{color:#356957;background:#e4f0ea}.status-attention{color:#945425;background:#f6e8d9}.status-danger{color:#913f3f;background:#f5e1e1}.status-neutral{color:#52696e;background:#e8edeb}.table-card{overflow:hidden}.table-scroll{overflow-x:auto}.table-filters{border-bottom:1px solid #e6ece9;flex-wrap:wrap;align-items:end;gap:16px;padding:20px;display:flex}.table-filters label{color:#29484f;gap:6px;font-size:13px;display:grid}.table-search{flex:1;min-width:180px}.table-filters input,.table-filters select{color:#29484f;min-height:40px;font:inherit;background:#fffefa;border:1px solid #c8d5d2;padding:8px 12px}.table-result-count{color:#52696e;padding-bottom:10px;font-size:13px}.table-cell-text{white-space:normal;overflow-wrap:anywhere;min-width:112px;max-width:240px;line-height:1.6}.table-scroll td{padding-top:12px;padding-bottom:12px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;white-space:nowrap;padding:0 12px}.table-scroll td:first-child{min-width:110px}th{color:#71858a;letter-spacing:.04em;background:#f0f3f0;height:54px;font-size:12px;font-weight:500}td{color:#29484f;border-top:1px solid #e6ece9;height:66px;font-weight:400}.row-actions{z-index:1;background:#fffefa;width:112px;min-width:112px;position:sticky;right:0;box-shadow:-8px 0 12px -12px #0c3a4166}.action-column{z-index:2;text-align:center;background:#f0f3f0;width:112px;min-width:112px;position:sticky;right:0;box-shadow:-8px 0 12px -12px #0c3a4159}.row-actions-wide,.action-column-wide{width:236px;min-width:236px}.row-actions>div,.row-actions{white-space:nowrap}.table-action{min-height:36px;color:var(--marine-800);background:0 0;border:1px solid #c8d5d2;padding:0 10px;font-size:12px}.table-action+.table-action{margin-left:6px}.table-action:hover{border-color:var(--marine-700);background:var(--marine-100)}.row-action-label{color:var(--muted);text-align:center;font-size:10px;display:block}.sales-source-actions{justify-content:center;align-items:center;gap:8px;display:flex}.source-icon-action{width:34px;height:34px;color:var(--marine-800);cursor:pointer;background:#fff;border:1px solid #cad7d3;border-radius:8px;justify-content:center;align-items:center;transition:color .16s,border-color .16s,background .16s;display:inline-flex}.source-icon-action svg{stroke-width:1.8px;width:16px;height:16px}.source-icon-action:hover{border-color:var(--marine-700);background:var(--marine-100)}.source-icon-action:disabled{cursor:wait;opacity:.48}tbody tr:first-child td{border-top:0}tbody tr:hover{background:#fbfbf7}.align-right{text-align:right}.empty-state{min-height:320px;color:var(--muted);align-content:center;place-items:center;gap:12px;display:grid}.empty-state span{font-size:40px;font-weight:200}.empty-state strong{font-size:13px;font-weight:500}.sidebar-scrim{display:none}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#051f2494;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{background:var(--paper);border:1px solid #ffffff1f;border-radius:4px;width:min(480px,100%);max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 28px 80px #051f2447}.modal-card-wide{width:min(860px,100%)}.modal-card>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:92px;padding:20px 24px;display:flex}.modal-card>header span{color:var(--copper);letter-spacing:.16em;font-family:SFMono-Regular,Consolas,monospace;font-size:9px}.modal-card>header h2{margin:6px 0 0;font-family:Songti SC,STSong,serif;font-size:26px;font-weight:600}.icon-button{width:38px;height:38px;color:var(--muted);background:#eef2ef;flex:0 0 38px;font-size:23px;font-weight:300}.admin-form{gap:16px;padding:24px;display:grid}.taxonomy-form{gap:18px}.admin-form-section{background:#fbfcf9;border:1px solid #dce5e1;border-radius:6px;gap:14px;padding:18px;display:grid}.admin-form-section>header{border-bottom:1px solid #e4ebe8;align-items:center;gap:10px;min-height:28px;padding-bottom:10px;display:flex}.admin-form-section>header span{color:var(--copper);letter-spacing:.12em;font-family:SFMono-Regular,Consolas,monospace;font-size:9px}.admin-form-section>header h3{color:var(--marine-950);margin:0;font-size:14px;font-weight:550}.product-commerce-grid{grid-template-columns:minmax(180px,1.4fr) repeat(2,minmax(120px,.8fr))}.product-service-field{background:#fff}.taxonomy-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.taxonomy-field{background:#fbfcf9;border:1px solid #cbd7d4;border-radius:6px;min-width:0;margin:0;padding:14px}.taxonomy-field legend{color:var(--ink);align-items:center;gap:8px;padding:0 5px;font-size:12px;font-weight:500;display:flex}.taxonomy-field legend small{min-width:20px;min-height:20px;color:var(--marine-800);background:var(--marine-100);border-radius:20px;justify-content:center;align-items:center;font-size:9px;font-weight:500;display:inline-flex}.taxonomy-field>input{background:#fff;min-height:38px;margin-bottom:10px}.taxonomy-selection,.taxonomy-options{flex-wrap:wrap;gap:7px;display:flex}.taxonomy-selection{border-bottom:1px solid #e2e9e6;margin-bottom:10px;padding-bottom:10px}.taxonomy-selection button,.taxonomy-options button{color:#49666b;cursor:pointer;background:#fff;border:1px solid #d0dcd8;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:0 10px;font-size:10px;font-weight:400;line-height:1;display:inline-flex}.taxonomy-selection button{color:var(--marine-800);background:#eaf3f0;border-color:#a8c5bd}.taxonomy-selection button span{color:#718c8b;font-size:14px;line-height:1}.taxonomy-options{overscroll-behavior:contain;scrollbar-width:thin;max-height:96px;overflow-y:auto}.taxonomy-options button:hover,.taxonomy-options button.is-selected{border-color:var(--marine-700);color:var(--marine-900);background:var(--marine-100)}.generated-code-note{background:#f4f7f4;border:1px dashed #bfd0cb;border-radius:4px;justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:0 14px;display:flex}.generated-code-note span{color:var(--muted);font-size:11px}.generated-code-note strong{color:var(--marine-800);font-size:12px;font-weight:500}.source-action-sheet{gap:10px;padding:24px;display:grid}.source-action-sheet>button{border:1px solid var(--line);min-height:70px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:6px;grid-template-columns:38px 1fr;align-items:center;gap:14px;padding:12px 16px;display:grid}.source-action-sheet>button:hover{background:#f5f8f5;border-color:#a8c2bb}.source-action-sheet>button>svg{width:22px;height:22px;color:var(--marine-700);stroke-width:1.7px;justify-self:center}.source-action-sheet>button>span{gap:4px;display:grid}.source-action-sheet strong{font-size:13px;font-weight:500}.source-action-sheet small{color:var(--muted);font-size:11px}.source-action-sheet .danger-action,.source-action-sheet .danger-action>svg{color:var(--danger)}.lifecycle-help{gap:16px;padding:24px;display:grid}.lifecycle-intro{border-left:3px solid var(--copper);background:#f5f4ee;gap:5px;padding:14px 16px;display:grid}.lifecycle-intro strong{font-size:13px;font-weight:500}.lifecycle-intro span{color:var(--muted);font-size:11px;line-height:1.6}.lifecycle-grid{gap:10px;display:grid}.lifecycle-grid article{border:1px solid var(--line);border-radius:6px;grid-template-columns:38px 1fr;gap:14px;padding:14px;display:grid}.lifecycle-icon{width:36px;height:36px;color:var(--marine-700);background:var(--marine-100);border-radius:50%;place-items:center;display:grid}.lifecycle-icon svg{stroke-width:1.8px;width:17px;height:17px}.lifecycle-grid article>div{gap:5px;display:grid}.lifecycle-grid article header{border:0;align-items:center;gap:8px;min-height:auto;padding:0;display:flex}.lifecycle-grid article header strong{font-size:12px;font-weight:500}.lifecycle-grid article header span{color:var(--marine-700);background:#edf4f1;border-radius:20px;padding:2px 7px;font-size:9px}.lifecycle-grid p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.delete-qr-confirm{grid-template-columns:52px 1fr;align-items:start;gap:16px;padding:26px 24px 18px;display:grid}.danger-symbol{width:48px;height:48px;color:var(--danger);background:#f7e9e7;border-radius:50%;place-items:center;display:grid}.danger-symbol svg{stroke-width:1.8px;width:21px;height:21px}.delete-qr-confirm strong{font-size:15px;font-weight:500}.delete-qr-confirm p{color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.65}.modal-footer-actions{border-top:1px solid var(--line);padding:16px 24px 24px}.danger-button{color:#fff;background:var(--danger);cursor:pointer;border-radius:2px;justify-content:center;align-items:center;min-height:44px;padding:0 20px;font-size:12px;display:inline-flex}.danger-button:hover{background:#8f3f3f}.danger-button:disabled{cursor:wait;opacity:.55}.admin-form label>span,.form-object>span{color:var(--muted);margin-bottom:7px;font-size:11px;display:block}.admin-form input,.admin-form select,.admin-form textarea{width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cbd7d4;border-radius:2px;outline:none;padding:0 12px;font-size:13px}.admin-form textarea{resize:vertical;padding-top:11px;padding-bottom:11px;line-height:1.6}.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{border-color:var(--marine-700);box-shadow:0 0 0 3px #176b7817}.form-object{border-left:3px solid var(--copper);background:#f2f4f1;padding:12px 14px}.form-object strong{font-size:13px;font-weight:550}.sku-manager{gap:16px;padding:22px;display:grid}.sku-manager__header,.sku-manager__row{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.sku-manager__header{justify-content:space-between}.sku-manager__list{gap:10px;display:grid}.sku-manager__row{border:1px solid var(--line);background:#fbfcf9;padding:14px}.sku-manager__row strong{flex:150px}.sku-manager__row span{color:var(--muted);white-space:nowrap}.form-hint{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.form-error{border-left:3px solid var(--danger);color:#8c4343;background:#f6e8e6;margin:0;padding:11px 12px;font-size:11px}.page-action-error{width:min(100%,560px);margin-top:12px}.form-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.qr-preview{gap:0;display:grid}.qr-preview-state{min-height:310px;color:var(--muted);align-content:center;place-items:center;gap:14px;padding:30px;display:grid}.qr-preview-state .form-error{width:100%}.loading-mark{border:2px solid var(--marine-100);border-top-color:var(--copper);border-radius:50%;width:30px;height:30px;animation:.9s linear infinite orbit}.qr-preview-sheet{background:linear-gradient(145deg, #dceceb99, transparent 44%), var(--paper);padding:20px 24px}.qr-preview-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.qr-preview-heading h3{color:var(--ink);margin:9px 0 0;font-family:Songti SC,STSong,serif;font-size:22px;font-weight:600}.qr-code-kind,.status-chip{min-height:24px;color:var(--marine-800);background:var(--marine-100);border-radius:999px;justify-content:center;align-items:center;padding:0 9px;font-size:10px;font-weight:550;display:inline-flex}.qr-code-kind.is-test{color:#8a512f;background:#f4e5d8}.status-chip{color:#3f6b59;background:#e2efe8}.qr-preview-image{aspect-ratio:1;border:1px solid var(--line);background:#fff;width:min(248px,72vw);margin:14px auto;padding:10px;box-shadow:0 14px 35px #082f3814}.qr-preview-image img{object-fit:contain;width:100%;height:100%;display:block}.qr-preview-details{background:var(--line);border:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(100px,.55fr);gap:1px;margin:0;display:grid}.qr-preview-details div{background:#fffefaf5;min-width:0;padding:11px 12px}.qr-preview-details dt{color:var(--muted);margin-bottom:5px;font-size:10px}.qr-preview-details dd{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:550}.qr-preview-note{color:#8a512f;text-align:center;margin:12px 0 0;font-size:10px}.qr-preview-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:13px 24px 15px;display:flex}.toast{z-index:90;color:#fff;background:var(--marine-800);border-radius:2px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-size:12px;display:inline-flex;position:fixed;bottom:24px;right:24px;box-shadow:0 16px 40px #051f2438}.toast-error{background:var(--danger)}@media (width<=980px){.admin-shell{grid-template-columns:minmax(0,1fr)}.shell-main{grid-column:1}.sidebar{width:252px;transition:transform .18s;position:fixed;left:0;transform:translate(-102%)}.sidebar-open{transform:translate(0)}.sidebar-scrim{z-index:25;background:#07202573;display:block;position:fixed;inset:0}.menu-button{display:flex}.topbar{padding:0 22px}.hospital-identity{flex:1}.overview-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.topbar{min-height:64px;padding:0 14px}.operator-identity>span{display:none}.content-stage{min-height:calc(100vh - 64px);padding:28px 14px 48px}.module-subnav{scrollbar-width:none;align-items:stretch;gap:6px;margin-bottom:18px;padding:6px;overflow-x:auto}.module-subnav::-webkit-scrollbar{display:none}.module-subnav>div{min-width:max-content}.module-subnav a{min-height:44px;padding:0 14px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:32px}.read-only-chip{min-height:26px;padding:0 9px;font-size:9px}.metric-grid{gap:8px}.metric-card{min-height:126px;padding:17px}.metric-card>span{margin-bottom:14px}.metric-card>strong{font-size:25px}.section-heading{min-height:64px;padding:0 16px}.watch-list li{min-height:72px;padding:0 16px}.recent-orders article{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;min-height:92px;padding:12px 16px}.mono-value{text-align:right}.order-amount{text-align:left}th,td{padding:0 15px}.table-card--catalog .table-scroll{overflow-x:visible}.table-card--catalog table,.table-card--catalog tbody,.table-card--catalog tr{width:100%;display:block}.table-card--catalog thead{display:none}.table-card--catalog tbody{padding:12px}.table-card--catalog tr{border:1px solid var(--line);background:#fffefa;margin-bottom:10px;padding:12px}.table-card--catalog tr:last-child{margin-bottom:0}.table-card--catalog td,.table-card--catalog td:first-child{white-space:normal;text-align:right;border:0;justify-content:space-between;align-items:start;width:100%;min-width:0;max-width:none;height:auto;padding:6px 0;display:flex}.table-card--catalog td:before{content:attr(data-label);color:var(--muted);text-align:left;flex:none;margin-right:12px;font-size:12px}.table-card--catalog td.row-actions{border-top:1px solid var(--line);box-shadow:none;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin-top:8px;padding-top:12px}.table-card--catalog td.row-actions:before{display:none}.table-card--catalog td.row-actions .table-action+.table-action{margin-left:0}.modal-backdrop{align-items:end;padding:0}.modal-card{border-radius:8px 8px 0 0;width:100%;max-height:88vh}.taxonomy-levels{grid-template-columns:1fr}.taxonomy-options{max-height:76px}.toast{bottom:14px;right:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{body *{visibility:hidden!important}.qr-preview-sheet,.qr-preview-sheet *{visibility:visible!important}.qr-preview-sheet{background:#fff;width:100%;padding:18mm;position:fixed;inset:0}.qr-preview-image{width:76mm;box-shadow:none;margin:10mm auto}}.mutation-fields{border:0;min-width:0;margin:0}.admin-form>.mutation-fields{gap:inherit;padding:0;display:grid}.modal-action-error{margin:0 24px 18px}.table-pagination,.table-pagination label,.pagination-actions{align-items:center;gap:12px;display:flex}.table-pagination{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;padding:16px 20px;font-size:13px}.table-pagination select{border:1px solid var(--line);min-height:36px;color:inherit;font:inherit;background:#fff;border-radius:4px;padding:6px 10px}.invoice-queue{margin-bottom:24px;padding:24px}.invoice-queue .card-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.invoice-queue h2{margin:0;font-size:20px}.invoice-queue td{height:64px}.product-image-field{border:1px solid var(--line,#dce5e2);border-radius:12px;gap:12px;padding:16px;display:grid}.product-image-heading{justify-content:space-between;gap:12px;display:flex}.product-image-heading span{color:#52675e;font-size:12px}.product-image-picker{gap:8px;display:grid}.product-image-previews{flex-wrap:wrap;gap:12px;display:flex}.product-image-previews>div{gap:6px;width:104px;display:grid}.product-image-previews img{object-fit:contain;background:#f6f8f7;border-radius:8px;width:104px;height:104px}.product-image-previews button{min-height:32px}.product-image-field [role=alert]{color:#a33627}.order-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;display:grid}.order-detail-summary dt{color:var(--muted,#667085);font-size:12px}.order-detail-summary dd{overflow-wrap:anywhere;margin:4px 0 0}.detail-table-scroll{max-height:420px;overflow:auto}.detail-table{border-collapse:collapse;width:100%;font-size:13px}.detail-table th,.detail-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e5e9eb;padding:12px 10px}.detail-table td:last-child{white-space:normal;min-width:100px}.merchant-funds{border:1px solid var(--line);background:var(--paper);border-radius:14px;min-width:0;margin:0 0 18px;padding:18px}.merchant-funds-heading,.merchant-funds-kicker{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 10px;display:flex}.merchant-funds-heading{margin-bottom:12px}.merchant-funds-heading h2{margin:0;font-size:18px}.merchant-funds-heading a{color:var(--marine-800);text-underline-offset:3px;font-size:13px}.merchant-funds-actions{flex-wrap:wrap;align-items:center;gap:8px 13px;display:flex}.merchant-funds-actions button{border:1px solid var(--line);color:var(--marine-950);cursor:pointer;background:#f6faf8;border-radius:5px;padding:5px 9px;font-size:12px}.merchant-funds-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:10px;display:grid}.merchant-funds-panel{border:1px solid var(--line);background:#f8faf8;border-radius:10px;min-width:0;padding:14px}.merchant-funds-balance{background:#eaf4f2;border-color:#a8ceca}.merchant-funds-kicker h3{margin:0;font-size:14px}.merchant-funds-kicker span{color:var(--marine-900);background:var(--marine-100);border-radius:4px;padding:2px 6px;font-size:11px}.merchant-funds-kicker span[data-status=SYNC_ERROR],.merchant-funds-kicker span[data-status=RETURNED]{color:#7c3b2f;background:#f7e8df}.merchant-funds-amount{color:var(--marine-950);overflow-wrap:anywhere;margin-top:7px;font-size:clamp(23px,3vw,32px);line-height:1.2;display:block}.merchant-funds-time{color:#3e5b60;margin:5px 0 0;font-size:12px}.merchant-funds-panel dl{grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:6px 10px;margin:9px 0 0;font-size:12px;display:grid}.merchant-funds-panel dt{color:#3e5b60}.merchant-funds-panel dd{text-align:end;overflow-wrap:anywhere;margin:0;font-weight:650}.merchant-funds-amount,.merchant-funds-panel dd,.merchant-funds-time{font-variant-numeric:tabular-nums}.merchant-funds-help{color:#3e5b60;margin-top:10px;font-size:12px}.merchant-funds-help summary{cursor:pointer}.merchant-funds-help p{margin:6px 0 0;line-height:1.6}.export-filters{background:#fff;border:1px solid #e5e9eb;border-radius:14px;flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:16px;padding:18px;display:flex}.export-filters label{gap:7px;font-size:12px;display:grid}.export-filters input{border:1px solid #d7dfe3;border-radius:8px;padding:9px 12px}.export-filters button{background:#fff;border:1px solid #d7dfe3;border-radius:8px;padding:9px 12px}@media (width<=600px){.order-detail-summary{grid-template-columns:1fr}.export-filters label{flex:1;min-width:140px}}
