:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,sans-serif}*{box-sizing:border-box}body{color:#0f172a;background:#f8fafc;margin:0}.login{flex-direction:column;gap:10px;max-width:360px;margin:18vh auto;padding:0 20px;display:flex}.login h1{margin:0;font-size:28px}.login .sub{color:#64748b;margin:0 0 16px;font-size:14px}.login input{background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:13px 14px;font-size:16px}.login button{color:#fff;background:#2563eb;border:0;border-radius:10px;padding:13px;font-size:16px;font-weight:700}.login button:disabled{background:#94a3b8}.error{color:#b91c1c;margin:0;font-size:13px}.pad{padding:20px}.order,.catalog{padding-bottom:96px}header{z-index:10;color:#fff;padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top,0px));background:#1f2937;position:sticky;top:0}header .store{opacity:.75;font-size:12px}header .cutoff{margin-top:2px;font-size:17px;font-weight:700}header .link{color:#cbd5e1;background:0 0;border:0;margin-top:6px;padding:0;font-size:12px}header .bar{justify-content:space-between;align-items:center;gap:10px;display:flex}header .ctx{flex:1;min-width:0}header .actions{flex:none;align-items:center;gap:6px;display:flex}header .btn2{color:#fff;min-height:44px;font:inherit;background:0 0;border:1px solid #ffffff59;border-radius:10px;padding:0 12px;font-size:13px;font-weight:600}header .iconbtn{color:#fff;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}header .iconbtn:active,header .btn2:active{background:#ffffff1f}.link{font:inherit;color:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.banner{border-radius:8px;margin:12px 16px;padding:10px 12px;font-size:13px}.banner .link{margin-left:6px;font-weight:600}.banner.ok{color:#166534;background:#dcfce7}.lines{margin:12px 16px;padding:0;list-style:none}.lines li{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:11px 12px;display:flex}.lines li.on{border-color:#93c5fd}.name{font-size:14px;font-weight:600}.sub{color:#64748b;margin-top:2px;font-size:11.5px}.qty{align-items:center;gap:8px;display:flex}.qty b{text-align:center;min-width:34px;font-size:16px}.qty button{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:11px;width:44px;height:44px;font-size:19px}.qty button:disabled{opacity:.4}.qtyfixed{text-align:center;min-width:34px;font-size:16px}.addmore{color:#2563eb;background:#fff;border:1px dashed #93c5fd;border-radius:10px;width:calc(100% - 32px);margin:0 16px 16px;padding:12px;font-weight:600;display:block}.cta{z-index:10;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));color:#fff;background:#2563eb;border:0;font-size:16px;font-weight:700;position:fixed;bottom:0;left:0;right:0}.cta:disabled{background:#94a3b8}.search{border:1px solid #cbd5e1;border-radius:10px;width:calc(100% - 32px);margin:12px 16px;padding:11px 12px;font-size:16px;display:block}.chips{flex-wrap:wrap;gap:6px;margin:0 16px 8px;display:flex}.chips button{color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:5px 11px;font-size:12px}.chips button.on{color:#fff;background:#2563eb;border-color:#2563eb}.add{color:#2563eb;background:#fff;border:1px solid #2563eb;border-radius:8px;padding:6px 13px;font-size:12px}.add:disabled{color:#94a3b8;border-color:#cbd5e1}.lines li{flex-direction:column;align-items:stretch}.lines li .row{justify-content:space-between;align-items:center;gap:10px;display:flex}.lines li .meta{text-align:left;min-width:0;min-height:44px;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;padding:0;display:flex}.lines li .meta .name,.lines li .meta .sub{display:block}.group{margin:0 0 4px}.group+.group{margin-top:6px}.group-head{font-size:inherit;font-weight:inherit;margin:0}.group-head button{width:100%;min-height:44px;font:inherit;color:#475569;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:6px 16px;font-size:13px;font-weight:700;display:flex}.group-head .label{flex:none}.group-head .count{font-variant-numeric:tabular-nums;font-size:13px}.group-head .subcount{color:#64748b;font-size:11.5px;font-weight:500}.group-head .chev{color:#94a3b8;margin-left:auto;transition:transform .15s}.group.collapsed .chev{transform:rotate(-90deg)}.group .lines{margin-top:0}.group.recommended .count{color:#166534}.group.low_confidence .count{color:#92400e}.lines li.open{border-color:#2563eb}.badge{border-radius:999px;padding:1px 7px;font-size:11px;font-weight:600;display:inline-block}.badge.recommended{color:#166534;background:#dcfce7}.badge.low_confidence{color:#92400e;background:#fef3c7}.badge.zero_suggested{color:#075985;background:#e0f2fe}.badge.no_basis{color:#64748b;background:#f1f5f9}.banner.warn{color:#991b1b;background:#fee2e2}.banner.info{color:#075985;background:#e0f2fe}.notice{color:#3730a3;background:#eef2ff;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;margin:12px 16px 0;padding:10px 12px;font-size:13px;display:flex}.notice .link{color:#3730a3;font-weight:600}.detail{border-top:1px dashed #e5e7eb;margin-top:10px;padding-top:10px;font-size:12.5px}.detail .why{color:#1f2937;margin:0 0 8px;font-weight:600}.detail dl{grid-template-columns:auto 1fr;gap:4px 12px;margin:0;display:grid}.detail dt{color:#64748b}.detail dd{margin:0}.detail dd small,.detail em{color:#94a3b8;font-style:normal}.detail .stock{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.detail .stock form{align-items:center;gap:6px;display:flex}.detail .stock input{border:1px solid #cbd5e1;border-radius:6px;width:72px;padding:6px 8px;font-size:15px}.detail .stock button[type=submit]{color:#fff;background:#2563eb;border:0;border-radius:6px;padding:6px 12px;font-weight:600}header .links{align-items:center;gap:14px;margin-top:6px;display:flex}header .links .link{margin-top:0}.history{padding-bottom:32px}.history header .store{opacity:1;margin-top:4px;font-size:15px;font-weight:700}.history .lines li{padding:0}.history .lines li .row{text-align:left;width:100%;font:inherit;color:inherit;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.history .lines li .row .meta{flex:1}.pill{border-radius:999px;flex:none;padding:3px 9px;font-size:11.5px;font-weight:600}.pill.done{color:#166534;background:#dcfce7}.pill.progress{color:#075985;background:#e0f2fe}.pill.warn{color:#991b1b;background:#fee2e2}.banner.done{color:#166534;background:#dcfce7}.banner.progress{color:#075985;background:#e0f2fe}.empty{color:#64748b;font-size:13.5px}.hint{color:#94a3b8;padding-top:0;font-size:12px}.sectiontitle{color:#475569;margin:18px 16px 8px;font-size:13px}.timeline{margin:0 16px;padding:0;list-style:none}.timeline li{border-left:2px solid #e5e7eb;padding:0 0 14px 20px;position:relative}.timeline li:last-child{border-left-color:#0000;padding-bottom:0}.timeline li:before{content:"";background:#fff;border:2px solid #cbd5e1;border-radius:50%;width:10px;height:10px;position:absolute;top:3px;left:-6px}.timeline li.done{border-left-color:#93c5fd}.timeline li.done:before{background:#2563eb;border-color:#2563eb}.timeline .what{color:#94a3b8;font-size:13.5px;font-weight:600}.timeline li.done .what{color:#0f172a}.timeline .when{color:#94a3b8;font-size:11.5px;display:block}.timeline .note{color:#991b1b;margin-top:4px;font-size:12.5px;display:block}.qtytable{border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:calc(100% - 32px);margin:0 16px}.qtytable th{color:#64748b;text-align:left;border-bottom:1px solid #e5e7eb;padding:8px 10px;font-size:11.5px;font-weight:600}.qtytable td{border-bottom:1px solid #f1f5f9;padding:9px 10px;font-size:13.5px}.qtytable tr:last-child td{border-bottom:0}.qtytable .n{text-align:right}.qtytable td.n{font-variant-numeric:tabular-nums}.sheet-scrim{z-index:40;background:#0f172a73;position:fixed;inset:0}.sheet{z-index:41;max-height:74dvh;padding:0 16px calc(16px + env(safe-area-inset-bottom,0px));background:#fff;border-radius:20px 20px 0 0;flex-direction:column;animation:.18s ease-out sheet-up;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 28px #0f172a2e}@keyframes sheet-up{0%{opacity:.6;transform:translateY(24px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.sheet{animation:none}}.sheet:focus{outline:none}.sheet-handle{touch-action:none;flex:none;justify-content:center;align-items:center;height:44px;display:flex}.sheet-handle .grab{background:#cbd5e1;border-radius:999px;width:38px;height:4px}.sheet-close{color:#64748b;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex;position:absolute;top:8px;right:8px}.sheet-head{align-items:baseline;gap:8px;padding-right:44px;display:flex}.sheet-head h2{margin:0}.sheet-sub{color:#64748b;margin:4px 0 0;font-size:12.5px}.sheet-body{-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow-y:auto}.sheet .detail{border-top:0;margin-top:10px;padding-top:0;font-size:14.5px}.sheet .detail .why{color:#334155;margin:0 0 6px;font-size:14px}.sheet .detail dl{gap:9px 12px;margin-top:10px}.sheet .detail dd{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.sheet .detail dd em,.sheet .detail dd small{font-weight:400}.sheet .detail .stock{border-top:1px solid #f1f5f9;margin-top:14px;padding-top:12px}.sheet .detail .stock .link{color:#2563eb;min-height:44px;font-weight:600}.sheet .detail .stock input{min-height:44px}.sheet .detail .stock button[type=submit]{min-height:44px;padding:0 14px}.spark{margin:8px 0 0;display:block}.sheet .identity{color:#475569;margin:0 0 10px;font-size:14px}.sheet .menu{flex-direction:column;gap:8px;display:flex}.sheet .menu-item{min-height:48px;font:inherit;color:#0f172a;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:0 14px;font-size:15px;font-weight:600}.sheet .menu-item.danger{color:#b91c1c}.sheet h2{margin:0 0 6px;font-size:17px}.sheet .items,.sheet-body{overscroll-behavior:contain}.sheet .summary{color:#475569;margin:0 0 8px;font-size:13.5px}.sheet .onbehalf-note{color:#92400e;background:#fef3c7;border-radius:8px;margin:0 0 10px;padding:8px 10px;font-size:13px;font-weight:600}.sheet .breakdown{color:#64748b;margin:0 0 10px;font-size:12.5px}.sheet .items{border-top:1px solid #f1f5f9;flex:1;min-height:0;margin:0 0 14px;padding:4px 0 0;list-style:none;overflow-y:auto}.sheet .items li{border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:10px;padding:9px 0;font-size:13.5px;display:flex}.sheet .items .qty{font-variant-numeric:tabular-nums;color:#334155}.sheet .error{color:#991b1b;margin:0 0 10px;font-size:13px}.sheet .actions{flex:none;gap:8px;display:flex}.sheet .actions button{border:0;border-radius:10px;flex:1;padding:13px;font-size:15px;font-weight:700}.sheet .actions .cancel{color:#334155;background:#f1f5f9}.sheet .actions .confirm{color:#fff;background:#2563eb}.sheet .actions .confirm:disabled{background:#94a3b8}.sheet .actions .cancel:disabled{color:#94a3b8}.qtytable td.confirmed,.qtytable td.delivered{color:#475569}.login .modes{gap:6px;margin-bottom:4px;display:flex}.login .modes button{color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex:1;padding:11px;font-size:14px;font-weight:600}.login .modes button.on{color:#fff;background:#1f2937;border-color:#1f2937}header:has(.onbehalf){background:#78350f}header .onbehalf{color:#fde68a;margin-bottom:4px;font-size:13px;font-weight:700}.picker{padding-bottom:32px}.picker header .store{font-size:12px}.stores{margin:0 16px;padding:0;list-style:none}.stores li{margin-bottom:8px}.stores button{text-align:left;width:100%;min-height:56px;font:inherit;color:inherit;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;display:flex}.stores button:active{border-color:#2563eb}.refreshed{color:#24406e;background:#f1f6ff;border:1px solid #cfe0ff;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 2px;padding:8px 10px;font-size:13px;display:flex}.refreshed .txt{flex:auto;min-width:0}.refreshed b{font-weight:700}.refreshed i{margin-left:4px;font-style:normal;font-weight:700}.refreshed .when{color:#5b7196;margin-top:2px;font-size:12px;display:block}.refreshed button{color:#fff;cursor:pointer;background:#2f6fe0;border:1px solid #2f6fe0;border-radius:8px;flex:none;padding:6px 12px;font-size:13px;font-weight:600}.refreshed button:disabled{opacity:.5;cursor:default}
