:root{--navy:#111;--navy-2:#262626;--navy-3:#2e2e2e;--red:#d70000;--brick:#b52f26;--ground:#f5f5f5;--line:#e2e2e2;--line-2:#efefef;--tile:#eee;--muted:#555;--muted-2:#444;--blue:#111;--ok-bg:#e3f2e9;--ok-fg:#1b6b41;--reorder-bg:#fbf2cc;--reorder-fg:#6e5400;--low-bg:#fcebd9;--low-fg:#8f4700;--out-bg:#fbe5e3;--out-fg:#a8231d;--info-bg:#eee;--info-fg:#111;--radius:16px;color:var(--navy);background:var(--ground);font-family:Inter,Noto Sans JP,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}h1,h2,h3{margin:0;font-family:Archivo,Inter,sans-serif}a{color:var(--info-fg)}button{font-family:inherit}.mono{font-family:JetBrains Mono,monospace}.muted{color:var(--muted)}.small{font-size:13px}.right{text-align:right}.row{flex-wrap:wrap;align-items:flex-start;gap:16px;display:flex}.grow{flex:360px;min-width:0}.grow-2{flex:2 560px;min-width:0}.stack{flex-direction:column;gap:12px;display:flex}.inline{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.shell{flex-wrap:wrap;min-height:100vh;display:flex}.sidebar{background:var(--navy);color:#fff;flex-direction:column;flex:240px;gap:24px;max-width:280px;padding:24px 16px;display:flex}.brand{background:#fff;border-radius:12px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.brand img{object-fit:contain;object-position:left;width:110px;height:32px}.brand span{color:var(--red);letter-spacing:.06em;font-size:11px;font-weight:700}.sidebar nav{flex-direction:column;gap:2px;display:flex}.nav-link{color:#ccc;border-left:4px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;min-height:42px;padding:0 12px 0 16px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.nav-link:hover{background:var(--navy-2);color:#fff}.nav-link.active{background:var(--navy-3);color:#fff;border-left-color:var(--red);font-weight:700}.badge{border-radius:10px;justify-content:center;align-items:center;min-width:22px;height:20px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.badge-alerts{background:var(--red);color:#fff}.badge-reviews{color:var(--navy);background:#f5d76e}.me{background:var(--navy-2);border-radius:12px;align-items:center;gap:10px;margin-top:auto;padding:12px;display:flex}.avatar{background:var(--red);color:#fff;border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:800;display:inline-flex}.me-text{flex-direction:column;flex:1;min-width:0;display:flex}.me-text small{color:#ccc;text-transform:capitalize}.link-light{color:#fff;cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:600;text-decoration:underline}.menu-toggle{display:none}.content{flex-direction:column;flex:999 560px;gap:20px;min-width:0;padding:28px clamp(16px,3vw,36px) 40px;display:flex}@media (width<=820px){.sidebar{gap:12px;max-width:none;padding:12px 16px}.sidebar nav,.sidebar .me{display:none}.sidebar.open nav,.sidebar.open .me{display:flex}.menu-toggle{background:var(--navy-2);color:#fff;border:0;border-radius:10px;height:40px;font-weight:700;display:block}}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.page-header h1{font-size:30px;font-weight:800}.page-header p{margin:4px 0 0;font-size:14px}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.card{border-radius:var(--radius);background:#fff;flex-direction:column;gap:14px;min-width:0;padding:20px;display:flex}.card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.card-head h2{font-size:17px;font-weight:700}.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.stat{background:#fff;border-radius:14px;flex-direction:column;gap:6px;padding:16px;display:flex}.stat span{color:var(--muted);font-size:13px;font-weight:600}.stat strong{font-family:Archivo,Inter,sans-serif;font-size:28px;font-weight:800}.stat-low{background:var(--low-bg);color:var(--low-fg)}.stat-low span{color:var(--low-fg)}.stat-out{background:var(--out-bg);color:var(--out-fg)}.stat-out span{color:var(--out-fg)}.stat-reorder{background:var(--reorder-bg);color:var(--reorder-fg)}.stat-reorder span{color:var(--reorder-fg)}.stat-info{background:var(--info-bg);color:var(--info-fg)}.stat-info span{color:var(--info-fg)}.btn{white-space:nowrap;cursor:pointer;border:0;border-radius:10px;align-items:center;gap:6px;height:40px;padding:0 14px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--red);color:#fff}.btn-dark{background:var(--navy);color:#fff}.btn-ghost{color:var(--navy);background:#fff;border:1px solid #d4d4d4}.btn-danger{color:var(--out-fg);background:#fff;border:1px solid #e8b4af}.btn-sm{height:32px;padding:0 10px;font-size:12px}.btn-lg{height:50px;padding:0 22px;font-size:15px}.icon-btn{background:var(--ground);width:36px;height:36px;color:var(--navy);cursor:pointer;border:0;border-radius:18px;font-size:14px}input,select,textarea{color:var(--navy);background:#fff;border:1px solid #d4d4d4;border-radius:10px;height:40px;padding:0 12px;font-family:inherit;font-size:14px}textarea{height:auto;padding:10px 12px}input:focus,select:focus,textarea:focus{outline:2px solid var(--navy);outline-offset:-1px}input.invalid,select.invalid{border:2px solid var(--red);background:#fff6f5}label.field{flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.check{align-items:center;gap:8px;font-size:14px;display:flex}.check input{width:18px;height:18px;accent-color:var(--navy);padding:0}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{height:34px;color:var(--navy);cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:999px;padding:0 12px;font-size:13px;font-weight:600}.chip-on{background:var(--navy);border-color:var(--navy);color:#fff}.segmented{background:var(--tile);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.segmented button{height:34px;color:var(--muted-2);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 12px;font-weight:600}.segmented button.on{color:var(--navy);background:#fff}.switch{cursor:pointer;background:#bbb;border:0;border-radius:14px;flex-shrink:0;width:48px;height:28px;padding:3px;display:flex}.switch[aria-checked=true]{background:var(--navy);justify-content:flex-end}.switch span{background:#fff;border-radius:11px;width:22px;height:22px}.setting-row{border-bottom:1px solid var(--line-2);align-items:center;gap:12px;padding:12px 0;display:flex}.setting-row>div{flex-direction:column;flex:1;gap:2px;display:flex}.setting-row small{color:var(--muted)}.pill{white-space:nowrap;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-block}.pill-ok{background:var(--ok-bg);color:var(--ok-fg)}.pill-reorder{background:var(--reorder-bg);color:var(--reorder-fg)}.pill-low{background:var(--low-bg);color:var(--low-fg)}.pill-out{background:var(--out-bg);color:var(--out-fg)}.pill-info{background:var(--info-bg);color:var(--info-fg)}.pill-neutral{background:var(--tile);color:var(--muted-2)}.banner{border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;font-size:13px;font-weight:600;display:flex}.banner-error{background:var(--out-bg);color:#8e1f18}.banner-warn{color:var(--reorder-fg);background:#fff8e6;border:1px solid #f0d9a8}.banner-ok{background:var(--ok-bg);color:var(--ok-fg)}.banner-info{background:var(--info-bg);color:var(--info-fg)}.table-wrap{border:1px solid var(--line-2);border-radius:12px;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{background:var(--ground);text-align:left;color:var(--muted-2);white-space:nowrap;padding:10px 12px;font-weight:700}td{border-top:1px solid var(--line-2);vertical-align:middle;padding:12px}tr.clickable{cursor:pointer}tr.clickable:hover,tr.selected{background:#f3f3f3}td .sub{color:var(--muted);font-size:12px;display:block}tfoot td{border-top:2px solid var(--navy);background:var(--ground);font-weight:700}.pager{justify-content:flex-end;align-items:center;gap:8px;display:flex}.chart{border-bottom:1px solid #d4d4d4;align-items:flex-end;gap:4px;height:200px;padding:0 4px;display:flex;position:relative}.chart .grid{border-top:1px dashed var(--line-2);position:absolute;left:0;right:0}.chart .col{cursor:default;border-radius:6px;flex:1;justify-content:center;align-items:flex-end;gap:2px;height:100%;display:flex}.chart .col:hover{background:#f3f3f3}.chart .bar{border-radius:4px 4px 0 0;width:40%;max-width:16px;min-height:2px}.chart-labels{gap:4px;padding:0 4px;display:flex}.chart-labels span{text-align:center;color:var(--muted);flex:1;font-family:JetBrains Mono,monospace;font-size:11px;overflow:hidden}.legend{gap:16px;font-size:13px;font-weight:600;display:flex}.legend i{vertical-align:-1px;border-radius:3px;width:12px;height:12px;margin-right:6px;display:inline-block}.hbar{background:var(--line-2);border-radius:5px;height:10px}.hbar span{background:var(--blue);border-radius:5px;height:100%;display:block}.board{align-items:flex-start;gap:14px;padding-bottom:6px;display:flex;overflow-x:auto}.column{background:var(--tile);border-radius:14px;flex-direction:column;flex:1 0 250px;gap:10px;min-width:250px;padding:12px;display:flex}.column-head{justify-content:space-between;align-items:center;padding:2px 4px;font-size:14px;font-weight:700;display:flex}.order-card{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:8px;padding:14px;display:flex}.modal-backdrop{z-index:50;background:#0009;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;box-shadow:0 24px 64px #00000059}.modal-head{justify-content:space-between;gap:14px;padding:24px 28px 0;display:flex}.modal-head h2{font-size:22px;font-weight:800}.modal-head p{margin:4px 0 0;font-size:14px}.modal-body{flex-direction:column;gap:16px;padding:20px 28px;display:flex}.modal-foot{border-top:1px solid var(--line-2);justify-content:space-between;gap:10px;padding:18px 28px;display:flex}.steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.steps li{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.steps li:before{content:"";background:var(--tile);border-radius:2px;height:4px}.steps li.done{color:var(--navy)}.steps li.done:before{background:var(--red)}.pw-box{border:2px solid var(--navy);border-radius:12px;align-items:center;gap:4px;height:56px;padding:0 6px 0 16px;display:flex}.pw-box code{letter-spacing:.06em;white-space:nowrap;flex:1;font-family:JetBrains Mono,monospace;font-size:18px;font-weight:700;overflow:hidden}.toasts{z-index:60;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:20px;right:20px}.toast{background:var(--navy);color:#fff;border-radius:12px;padding:12px 16px;font-size:14px;font-weight:600;box-shadow:0 8px 24px #0003}.toast-error{background:var(--brick)}.spinner{border:3px solid var(--tile);border-top-color:var(--navy);border-radius:50%;width:28px;height:28px;margin:24px auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty{text-align:center;color:var(--muted);padding:28px}.list-row{border-bottom:1px solid var(--line-2);align-items:center;gap:12px;padding:10px 0;display:flex}.list-row:last-child{border-bottom:0}.queue-item{text-align:left;border:2px solid var(--line-2);cursor:pointer;width:100%;color:var(--navy);background:#fff;border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.queue-item.on{border-color:var(--red);background:#fff6f5}.login{background:#fff;flex-wrap:wrap;min-height:100vh;display:flex}.login-brand{background:var(--navy);color:#fff;flex-direction:column;flex:480px;gap:32px;padding:56px clamp(24px,5vw,72px);display:flex}.login-brand h1{max-width:520px;font-size:clamp(34px,4vw,52px);font-weight:800;line-height:1.05}.login-brand p{color:#ccc;max-width:520px;margin:0;font-size:17px;line-height:1.55}.login-form{flex:480px;justify-content:center;align-items:center;padding:56px 24px;display:flex}.login-form form{flex-direction:column;gap:18px;width:100%;max-width:420px;display:flex}.login-form input{height:50px}.lang-switch{background:var(--tile);border-radius:10px;align-self:flex-start;gap:2px;padding:3px;display:inline-flex}.lang-switch button{min-width:38px;height:28px;color:var(--muted-2);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 8px;font-size:12px;font-weight:700}.lang-switch button.on{color:var(--navy);background:#fff}.lang-switch-dark{background:#ffffff14;margin:10px 14px 4px}.lang-switch-dark button{color:#bbb}.lang-switch-dark button.on{background:var(--red);color:#fff}.plain-list{margin:0;padding:0;list-style:none}.plain-list li{border-bottom:1px solid var(--line);padding:8px 10px}.plain-list li:last-child{border-bottom:0}.link{color:var(--navy);cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:600}.link:hover{text-decoration:underline}
