body{background:#020617}:root{color:#f8fafc;font-synthesis:none;text-rendering:optimizelegibility;--bg-night:#020617;--bg-night-2:#071225;--card-night:#0f172adb;--card-night-strong:#0f172af5;--card-inner-night:#02061759;--text-night:#f8fafc;--muted-night:#94a3b8;--subtle-night:#cbd5e1;--blue-text-night:#93c5fd;--border-night:#94a3b847;--border-night-strong:#94a3b86b;--primary-1:#38bdf8;--primary-2:#0ea5e9;--secondary-1:#2563eb;--secondary-2:#1d4ed8;--green-1:#22c55e;--green-2:#16a34a;--green-bg:#14532d73;--green-border:#22c55e85;--green-text:#86efac;--yellow-1:#f59e0b;--yellow-bg:#713f1280;--yellow-border:#fbbf2494;--yellow-text:#fde68a;--red-1:#ef4444;--red-2:#b91c1c;--red-bg:#7f1d1d9e;--red-border:#f87171a8;--red-text:#fecaca;--radius-card:26px;--radius-panel:20px;--radius-button:16px;--shadow-card:0 24px 80px #00000047;--shadow-blue:0 14px 32px #0ea5e942;--shadow-secondary:0 14px 32px #2563eb3d;background:#020617;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100vh;margin:0}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 0 0,#38bdf833,#0000 26rem),radial-gradient(circle at 100% 0,#2563eb2e,#0000 22rem),#020617;overflow-x:hidden}body.theme-night-body{background:radial-gradient(circle at 0 0,#38bdf833,#0000 26rem),radial-gradient(circle at 100% 0,#2563eb2e,#0000 22rem),#020617}body.theme-day-body{background:radial-gradient(circle at 0 0,#0ea5e92e,#0000 24rem),radial-gradient(circle at 100% 0,#22c55e24,#0000 22rem),#eaf4ff}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit}.app-shell{width:min(100%,860px);color:var(--text-night);margin:0 auto;padding:18px}.app-header{margin-bottom:18px}.app-header-with-controls{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.app-heading-block{min-width:0}.app-title{color:#f8fafc;letter-spacing:-.045em;text-wrap:balance;text-shadow:0 1px #ef44448c,0 10px 24px #00000038;margin:0;font-size:clamp(1.85rem,7vw,2.75rem);font-weight:1000;line-height:1.02}.app-version{letter-spacing:0;vertical-align:middle;color:#dbeafe;box-shadow:none;background:#1e40af94;border:1px solid #93c5fd61;border-radius:999px;align-items:center;margin-left:6px;padding:3px 8px;font-size:.72rem;line-height:1;display:inline-flex}.app-subtitle{color:#bfdbfe;margin-top:10px;font-size:.88rem;font-weight:850;line-height:1.3}.top-control-stack{flex-direction:column;flex:none;align-items:flex-end;gap:10px;display:flex}.theme-toggle-btn,.language-toggle-btn{color:#f8fafc;white-space:nowrap;background:#0f172ae6;border:1px solid #94a3b857;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 12px;font-size:.75rem;font-weight:1000;display:inline-flex}.theme-icon{font-size:.95rem;line-height:1}.app-main{gap:18px;display:grid}.card{border:1px solid var(--border-night);background:var(--card-night);border-radius:var(--radius-card);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#f8fafc;max-width:100%;padding:24px}.manual-card{padding:clamp(18px,4vw,28px)}.section-heading-row{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.card-title{color:#f8fafc;letter-spacing:-.02em;font-size:1.05rem;font-weight:1000}.card-subtitle{color:#94a3b8;margin-top:4px;font-size:.86rem;font-weight:750;line-height:1.35}.card-inner{background:#02061747;border:1px solid #94a3b83d;border-radius:22px;margin-top:16px;padding:16px}.hidden{display:none!important}.small{font-size:.82rem}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.muted{color:#94a3b8;line-height:1.5}.label{color:#93c5fd;letter-spacing:.14em;text-transform:uppercase;margin:14px 0 8px;font-size:.74rem;font-weight:1000}.quick-entry-row{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 12px;display:grid}.quick-entry-btn{color:#f8fafc;background:linear-gradient(#1e40afb8,#1d4ed8a3),#0f172ae6;border:1px solid #60a5fa5c;border-radius:17px;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:0 12px;font-size:.84rem;font-weight:1000;transition:transform .14s,border-color .14s,background .14s,box-shadow .14s;display:inline-flex;box-shadow:0 12px 26px #2563eb2e}.quick-entry-btn:hover:not(:disabled){border-color:#93c5fd94;transform:translateY(-1px);box-shadow:0 16px 32px #2563eb40}.quick-entry-icon{color:#dbeafe;background:#0f172a75;border:1px solid #bfdbfe3d;border-radius:999px;place-items:center;width:26px;height:26px;font-size:.95rem;line-height:1;display:inline-grid}.lookup-grid{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;display:grid}.input{color:#f8fafc;background:#0f172ae6;border:1px solid #94a3b861;border-radius:18px;outline:none;width:100%;min-width:0;min-height:58px;padding:0 16px;font-size:1.05rem;font-weight:900}.input::placeholder{color:#94a3b8c7}.input:focus{border-color:#38bdf8;box-shadow:0 0 0 4px #38bdf824}.input-needed-note{color:#fecaca;background:linear-gradient(135deg,#7f1d1d57,#0f172a8f),#0f172ac2;border:1px solid #f8717175;border-radius:16px;align-items:flex-start;gap:10px;margin-top:12px;padding:11px 12px;font-size:.84rem;font-weight:850;line-height:1.35;display:flex}.input-needed-note strong{color:#fff;font-weight:1000}.input-needed-dot{background:#ef4444;border-radius:999px;flex:none;width:9px;height:9px;margin-top:4px;box-shadow:0 0 0 4px #ef444429}.btn{border-radius:var(--radius-button);color:#f8fafc;white-space:nowrap;background:#0f172aeb;border:1px solid #94a3b857;min-height:48px;padding:0 16px;font-weight:1000;transition:transform .14s,box-shadow .14s,border-color .14s,background .14s}.btn:hover:not(:disabled),.theme-toggle-btn:hover:not(:disabled),.language-toggle-btn:hover:not(:disabled),.collapse-btn:hover:not(:disabled),.debug-toggle:hover:not(:disabled),.back-to-top:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:linear-gradient(180deg, var(--primary-1), var(--primary-2));color:#fff;box-shadow:var(--shadow-blue);border:0}.btn-secondary{background:linear-gradient(180deg, var(--secondary-1), var(--secondary-2));color:#fff;box-shadow:var(--shadow-secondary);border:0}.full{width:100%}.action-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.action-grid .btn{min-height:50px}.action-grid .btn-primary,.action-grid .btn-secondary{font-size:.88rem}.action-grid .btn:last-child:nth-child(odd){grid-column:1/-1}.pill-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.scan-result-pill{letter-spacing:.03em;white-space:nowrap;border:1px solid #94a3b852;border-radius:999px;justify-content:center;align-items:center;min-height:34px;padding:0 14px;font-size:.8rem;font-weight:1000;display:inline-flex}.scan-result-pill.valid{color:var(--green-text);background:#14532d66;border-color:#22c55e7a}.scan-result-pill.blocked{color:var(--yellow-text);background:#713f126b;border-color:#fbbf2480}.scan-result-pill.invalid{color:var(--red-text);background:#7f1d1d6b;border-color:#f8717180}.error{color:#fecaca;background:#7f1d1d66;border:1px solid #f8717185;border-radius:16px;margin-top:14px;padding:12px 14px;font-weight:850;line-height:1.4}.result-card{padding:20px}.result-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.result-heading-left{align-items:center;gap:10px;min-width:0;display:flex}.icon-stack-btn{color:#dbeafe;background:linear-gradient(#0f172afa,#1e293beb);border:1px solid #60a5fa52;border-radius:15px;flex:none;place-items:center;gap:2px;width:50px;min-height:44px;padding:5px 4px;font-size:.62rem;font-weight:1000;line-height:1;display:grid}.result-title-main{color:#f8fafc;font-size:.98rem;font-weight:1000}.result-title-sub{color:#94a3b8;margin-top:2px;font-size:.8rem;font-weight:800}.collapse-btn{color:#f8fafc;background:#0206176b;border:1px solid #94a3b852;border-radius:18px;width:100%;min-height:44px;margin:4px 0 8px;padding:0 14px;font-size:.86rem;font-weight:1000}.result-empty{padding:14px 2px 2px;font-size:.94rem}.result-summary{gap:14px;width:100%;margin-top:8px;display:grid}.result-summary.redesigned{gap:14px}.final-decision{border:1px solid #94a3b842;border-radius:20px;padding:16px 18px;font-weight:1000;line-height:1.25;box-shadow:inset 0 1px #ffffff14,0 12px 34px #0000002e}.final-decision strong{letter-spacing:.01em;font-size:clamp(1.02rem,4.7vw,1.34rem)}.final-decision .decision-reason{opacity:.96;margin-top:8px;font-size:.9rem;font-weight:850;line-height:1.35}.final-decision.danger{color:#fff;background:linear-gradient(135deg,#b91c1cfa,#7f1d1de0),#991b1b;border-color:#f87171b8}.final-decision.warning{color:#fff7ed;background:linear-gradient(135deg,#b45309f5,#713f12e0),#92400e;border-color:#fbbf24b3}.final-decision.ok{color:#f0fdf4;background:linear-gradient(135deg,#15803df5,#14532ddb),#166534;border-color:#4ade80a6}.result-decision-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.asset-name-status,.battery-tier{background:#0f172ab8;border:1px solid #94a3b847;border-radius:20px;min-width:0;padding:16px;position:relative;overflow:hidden}.asset-name-status:before,.battery-tier:before{content:"";background:#94a3b8b3;border-radius:20px 0 0 20px;width:7px;position:absolute;inset:0 auto 0 0}.asset-name-status .value{color:#f8fafc;letter-spacing:-.03em;overflow-wrap:anywhere;margin-top:7px;font-size:clamp(1.05rem,4.8vw,1.42rem);font-weight:1000}.asset-name-status .hint,.battery-tier-message{color:#e2e8f0;margin-top:7px;font-size:.88rem;font-weight:900;line-height:1.35}.asset-name-status.ok{background:linear-gradient(135deg,#14532d7a,#0f172ad1),#0f172ad1;border-color:#22c55e7a}.asset-name-status.ok:before{background:linear-gradient(#4ade80,#22c55e)}.asset-name-status.ok .value{color:#bbf7d0}.asset-name-status.danger{background:linear-gradient(135deg,#7f1d1d80,#0f172ad1),#0f172ad1;border-color:#f871718f}.asset-name-status.danger:before{background:linear-gradient(#fb7185,#ef4444)}.asset-name-status.danger .value{color:#fecaca}.battery-tier .label,.asset-name-status .label{color:#bfdbfe;letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:1000}.battery-percent{color:#f8fafc;letter-spacing:-.08em;margin-top:8px;font-size:clamp(2.5rem,12vw,4rem);font-weight:1000;line-height:.9}.battery-tier.IDEAL,.battery-tier.OK{background:linear-gradient(135deg,#14532d7a,#0f172ad1),#0f172ad1;border-color:#22c55e7a}.battery-tier.IDEAL:before,.battery-tier.OK:before{background:linear-gradient(#4ade80,#22c55e)}.battery-tier.CA_ONLY{background:linear-gradient(135deg,#713f1294,#0f172ad1),#0f172ad1;border-color:#fbbf248f}.battery-tier.CA_ONLY:before{background:linear-gradient(#fbbf24,#f59e0b)}.battery-tier.BLOCK{background:linear-gradient(135deg,#7f1d1d8c,#0f172ad1),#0f172ad1;border-color:#f871719e}.battery-tier.BLOCK:before{background:linear-gradient(#fb7185,#ef4444)}.battery-tier.BLOCK .battery-percent{color:#fecaca}.battery-tier.CA_ONLY .battery-percent{color:#fde68a}.battery-tier.UNKNOWN{background:#0f172ac2}.core-info{color:#e2e8f0;overflow-wrap:anywhere;background:#02061761;border:1px solid #94a3b842;border-radius:20px;gap:8px;padding:15px 16px;font-size:.9rem;line-height:1.35;display:grid}.core-info strong{color:#f8fafc;font-weight:1000}.compact-actions{margin-top:18px}.debug-card,.compact-debug-card{padding:18px}summary{list-style:none}summary::-webkit-details-marker{display:none}summary::marker{display:none}.debug-summary{cursor:pointer;color:#bfdbfe;outline:none;align-items:center;gap:8px;font-weight:1000;display:flex}.debug-summary:before{content:"▸";color:#bfdbfe;font-size:.82rem;display:inline-block;transform:translateY(-1px)}details[open]>.debug-summary:before{content:"▾"}.lookup-debug-section{margin-top:14px}.debug-toggle,.error-log-btn{color:#bfdbfe;background:#0f172ae6;border:1px solid #94a3b857;border-radius:999px;min-height:40px;padding:0 14px;font-size:.8rem;font-weight:1000}.debug-panel{max-width:100%;margin-top:12px;overflow:hidden}.debug-instruction,.compact-debug-instruction{color:#dbeafe;overflow-wrap:anywhere;background:#1e40af47;border:1px solid #60a5fa70;border-radius:16px;padding:12px 14px;font-weight:850;line-height:1.5}.debug-instruction a,.compact-debug-instruction a{color:#7dd3fc;font-weight:1000}.result-box,.compact-debug-box{color:#e2e8f0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:#020617;border:1px solid #94a3b83d;border-radius:18px;max-height:360px;margin-top:12px;padding:14px;font-size:.84rem;line-height:1.45;overflow:auto}.debug-actions,.compact-debug-actions{flex-wrap:wrap;gap:10px;margin:12px 0 0;display:flex}.debug-line{color:#e2e8f0;background:#0206176b;border:1px solid #94a3b84d;border-radius:14px;padding:12px}.debug-line.info{border-color:#60a5fa73}.debug-line.warn{border-color:#fbbf248c}.debug-line.error{border-color:#f871718c}.debug-line pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:12px}.scanner-backdrop{z-index:999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020617bd;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.scanner-modal{color:#f8fafc;background:#0f172af7;border:1px solid #94a3b847;border-radius:28px;width:min(720px,100%);max-height:92vh;padding:20px;overflow:auto;box-shadow:0 24px 80px #00000073}.confirm-modal{width:min(640px,100%)}.modal-header,.modal-header-row{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.modal-title{color:#f8fafc;letter-spacing:-.02em;font-size:1.22rem;font-weight:1000}.modal-subtitle{color:#94a3b8;margin-top:4px;font-size:.86rem;font-weight:750;line-height:1.35}.modal-close-btn{flex:none;min-width:90px}.toggle{color:#cbd5e1;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;margin-top:6px;font-weight:850;line-height:1.3;display:flex}.toggle input{accent-color:#38bdf8;flex:none;width:18px;height:18px}.scanner-video-wrap{aspect-ratio:4/3;background:#020617;border:1px solid #94a3b842;border-radius:24px;margin-top:16px;position:relative;overflow:hidden}.scanner-video{object-fit:cover;width:100%;height:100%;display:block}.scanner-target{pointer-events:none;border:2px solid #22c55ef5;border-radius:18px;height:74px;position:absolute;top:56%;left:10%;right:10%;transform:translateY(-50%);box-shadow:0 0 0 9999px #02061757,0 0 24px #22c55e38}.scanner-target:before,.scanner-target-line{content:"";background:#86efaccc;height:2px;position:absolute;top:50%;left:12px;right:12px}.scanner-target-icon{color:#bbf7d0d9;font-size:.84rem;line-height:1;position:absolute;top:8px;right:10px}.status{color:#bfdbfe;margin-top:12px;font-size:.92rem;font-weight:900;line-height:1.35}.detected{color:#e2e8f0;background:#02061752;border:1px solid #94a3b83d;border-radius:18px;margin-top:12px;padding:12px}.scanner-modal .btn-primary.full,.scanner-modal .btn-secondary.full{margin-top:14px}.barcode-reader-region{background:#020617;border:1px solid #94a3b847;border-radius:22px;width:100%;max-width:440px;min-height:260px;margin:14px auto 0;position:relative;overflow:hidden}.barcode-reader-region video{object-fit:cover!important;border-radius:22px!important;width:100%!important;height:auto!important;max-height:300px!important}.barcode-reader-region canvas{border-radius:22px!important}.barcode-reader-region img{display:none!important}.barcode-reader-region>div{border:0!important}.barcode-reader-region button,.barcode-reader-region select,.barcode-reader-region span{display:none!important}.barcode-reader-region div{box-shadow:none!important}.barcode-reader-region:before{content:"";z-index:4;pointer-events:none;background:#86eface6;width:72%;height:2px;animation:1.8s linear infinite scanLine;position:absolute;top:50%;left:50%;transform:translate(-50%)}@keyframes scanLine{0%{opacity:.38;transform:translate(-50%,-30px)}50%{opacity:1;transform:translate(-50%,30px)}to{opacity:.38;transform:translate(-50%,-30px)}}.barcode-reader-region:after{content:"";z-index:3;pointer-events:none;border:2px solid #22c55ef5;border-radius:14px;width:72%;height:72px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 9999px #02061773}.barcode-scan-instruction{color:#dbeafe;background:#1e40af38;border:1px solid #60a5fa59;border-radius:16px;margin-top:12px;padding:10px 12px;font-size:.86rem;font-weight:900;line-height:1.35}.scan-debug-panel{border-top:1px solid #94a3b833;margin-top:16px;padding-top:12px}.scan-debug-header{color:#60a5fa;margin-bottom:8px;font-size:.8rem;font-weight:900}.scan-debug-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.scan-debug-grid img{border:1px solid #94a3b833;border-radius:12px;width:100%}.back-to-top{z-index:950;color:#fff;background:#0f172ae6;border:1px solid #cbd5e199;border-radius:999px;min-height:46px;padding:0 14px;font-weight:1000;position:fixed;bottom:14px;right:14px;box-shadow:0 10px 28px #00000047}.app-shell.theme-day{color:#0f172a}.app-shell.theme-day .app-title,.app-shell.theme-day .card-title,.app-shell.theme-day .modal-title,.app-shell.theme-day .result-title-main{color:#0f172a;text-shadow:0 2px #fffffff2,0 12px 28px #0e74901f}.app-shell.theme-day .app-version{color:#075985;background:#dbeafeeb;border-color:#0e749038}.app-shell.theme-day .app-subtitle,.app-shell.theme-day .label,.app-shell.theme-day .asset-name-status .label,.app-shell.theme-day .battery-tier .label{color:#0369a1}.app-shell.theme-day .muted,.app-shell.theme-day .card-subtitle,.app-shell.theme-day .modal-subtitle{color:#475569}.app-shell.theme-day .card,.app-shell.theme-day .scanner-modal{color:#0f172a;background:#ffffffe6;border-color:#0e749038;box-shadow:0 22px 60px #0f172a1f}.app-shell.theme-day .input,.app-shell.theme-day .btn,.app-shell.theme-day .collapse-btn,.app-shell.theme-day .debug-toggle,.app-shell.theme-day .theme-toggle-btn,.app-shell.theme-day .language-toggle-btn{color:#0f172a;background:#fffffff2;border-color:#0e749040}.app-shell.theme-day .btn-primary{color:#fff;background:linear-gradient(#0ea5e9,#0284c7);border:0}.app-shell.theme-day .btn-secondary{color:#fff;background:linear-gradient(#2563eb,#1d4ed8);border:0}.app-shell.theme-day .quick-entry-btn{color:#fff;background:linear-gradient(#2563eb,#1d4ed8);border-color:#2563eb42}.app-shell.theme-day .quick-entry-icon{background:#ffffff29;border-color:#ffffff38}.app-shell.theme-day .input-needed-note{color:#991b1b;background:linear-gradient(135deg,#fee2e2f5,#ffffffeb);border-color:#dc26263d}.app-shell.theme-day .input-needed-note strong{color:#7f1d1d}.app-shell.theme-day .card-inner,.app-shell.theme-day .detected,.app-shell.theme-day .core-info,.app-shell.theme-day .result-box,.app-shell.theme-day .compact-debug-box{color:#0f172a;background:#f8fafcf0;border-color:#0e74902e}.app-shell.theme-day .core-info strong{color:#0f172a}.app-shell.theme-day .asset-name-status,.app-shell.theme-day .battery-tier{background:#f8fafcf2}.app-shell.theme-day .asset-name-status .hint,.app-shell.theme-day .battery-tier-message{color:#334155}.app-shell.theme-day .asset-name-status.ok{background:linear-gradient(135deg,#dcfce7f5,#ffffffeb)}.app-shell.theme-day .asset-name-status.ok .value{color:#15803d}.app-shell.theme-day .asset-name-status.danger{background:linear-gradient(135deg,#fee2e2f5,#ffffffeb)}.app-shell.theme-day .asset-name-status.danger .value{color:#b91c1c}.app-shell.theme-day .battery-tier.IDEAL,.app-shell.theme-day .battery-tier.OK{background:linear-gradient(135deg,#dcfce7f5,#ffffffeb)}.app-shell.theme-day .battery-tier.CA_ONLY{background:linear-gradient(135deg,#fef3c7fa,#ffffffeb)}.app-shell.theme-day .battery-tier.BLOCK{background:linear-gradient(135deg,#fee2e2fa,#ffffffeb)}.app-shell.theme-day .battery-tier .battery-percent{color:#0f172a}.app-shell.theme-day .battery-tier.BLOCK .battery-percent{color:#b91c1c}.app-shell.theme-day .battery-tier.CA_ONLY .battery-percent{color:#92400e}.app-shell.theme-day .debug-summary,.app-shell.theme-day .debug-summary:before{color:#0369a1}.app-shell.theme-day .debug-instruction,.app-shell.theme-day .compact-debug-instruction{color:#1e3a8a;background:#dbeafee6}.app-shell.theme-day .debug-instruction a,.app-shell.theme-day .compact-debug-instruction a{color:#0369a1}.app-shell.theme-day .scanner-video-wrap,.app-shell.theme-day .barcode-reader-region{background:#e2e8f0;border-color:#0e749038}.app-shell.theme-day .status{color:#075985}@media (width<=720px){.app-shell{padding:14px}.lookup-grid{grid-template-columns:1fr}.lookup-grid .btn{width:100%}.result-decision-grid{grid-template-columns:1fr}.battery-percent{font-size:clamp(2.8rem,16vw,4.2rem)}}@media (width<=560px){.app-shell{padding:12px 12px 82px}.app-header-with-controls{gap:10px}.app-title{font-size:clamp(1.8rem,9vw,2.35rem)}.app-subtitle{font-size:.86rem}.top-control-stack{gap:8px}.theme-toggle-btn,.language-toggle-btn{min-height:34px;padding:0 9px;font-size:.68rem}.card{border-radius:24px;padding:18px}.manual-card{padding:18px}.quick-entry-row{gap:8px}.quick-entry-btn{min-height:50px;padding:0 10px;font-size:.8rem}.quick-entry-icon{width:24px;height:24px;font-size:.88rem}.action-grid{grid-template-columns:1fr}.btn{width:100%}.input{min-height:62px;font-size:1rem}.input-needed-note{padding:10px 11px;font-size:.82rem}.result-card{padding:18px}.result-heading{align-items:flex-start}.result-heading-left{align-items:center}.icon-stack-btn{border-radius:15px;width:50px;min-height:42px;font-size:.62rem}.collapse-btn{min-height:42px}.final-decision{border-radius:18px;padding:14px 16px}.asset-name-status,.battery-tier,.core-info{border-radius:18px;padding:14px}.modal-header,.modal-header-row{flex-direction:column;align-items:stretch}.scanner-backdrop{align-items:stretch;padding:10px}.scanner-modal{border-radius:24px;max-height:96vh;padding:16px}.scanner-video-wrap{aspect-ratio:3/4}.scanner-target{height:70px;top:56%;left:9%;right:9%}.barcode-reader-region{max-width:100%;min-height:240px}.barcode-reader-region video{max-height:260px!important}.debug-actions,.compact-debug-actions{grid-template-columns:1fr;display:grid}.back-to-top{min-height:42px;font-size:.76rem;bottom:10px;right:10px}}@media (width<=390px){.app-shell{padding:10px 10px 78px}.app-title{letter-spacing:-.04em;font-size:clamp(1.55rem,8.6vw,2rem)}.app-version{margin-left:4px;padding:3px 7px;font-size:.64rem}.card,.manual-card{padding:16px}.quick-entry-row{gap:8px}.quick-entry-btn{min-height:48px;padding:0 9px;font-size:.78rem}.quick-entry-icon{width:24px;height:24px;font-size:.86rem}.input-needed-note{padding:10px 11px;font-size:.8rem}.final-decision strong{font-size:1rem}.asset-name-status .value{font-size:1.05rem}.battery-percent{font-size:3rem}.barcode-reader-region video{max-height:240px!important}}.shipment-status-card{border-left:4px solid var(--border-muted,#444);border-radius:.5rem;padding:.75rem 1rem}.shipment-status-card.ok{border-left-color:var(--color-ok,#22c55e);background:var(--bg-ok-subtle,#22c55e14)}.shipment-status-card.danger{border-left-color:var(--color-danger,#ef4444);background:var(--bg-danger-subtle,#ef444414)}.shipment-status-card.unknown{border-left-color:var(--color-warning,#f59e0b);background:var(--bg-warning-subtle,#f59e0b14)}.shipment-detail{opacity:.88;margin-top:.4rem;font-size:.82rem;line-height:1.5}.decision-detail{opacity:.85;margin-top:.3rem;font-size:.82rem}.asset-name-status.warning{border-left-color:var(--yellow-1);background:var(--yellow-bg);border:1px solid var(--yellow-border)}.asset-name-status.warning .hint{color:var(--yellow-text)}.asset-name-status.neutral{color:inherit;background:#0f172ab8;border:1px solid #94a3b859}.asset-name-status.neutral .label{color:#e2e8f0d9}.asset-name-status.neutral .value{color:#fff}.asset-name-status.neutral .hint{color:#e2e8f0d1}
