@font-face{font-family:Geist;src:url('/static/fonts/geist-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--ink:#19312e;--muted:#63716c;--line:#dbe2dd;--paper:#f4f6f2;--green:#226e54;--shadow:0 12px 32px #19312e06;font-family:Geist,-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #64a78d;outline-offset:3px}.skip-link{position:fixed;left:16px;top:-80px;padding:14px;background:white;z-index:9}.skip-link:focus{top:12px}.site-header{height:92px;padding:0 6vw;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-size:17px;font-weight:700}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:12px;font-size:25px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:500;margin-top:3px;letter-spacing:.08em}.permission-pill{font-size:12px;padding:9px 13px;background:#eef5ef;border:1px solid #dbe9df;border-radius:50px;color:#34644f}.permission-pill span{font-size:8px;margin-right:5px}main{max-width:1280px;padding:56px 40px 72px;margin:auto}.intro{margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:.15em;color:#5c7e6b;font-weight:650;margin:0 0 15px}.intro h1{font-size:clamp(29px,4vw,42px);letter-spacing:-.035em;line-height:1.45;font-weight:650;margin:0 0 14px}.intro>p:last-child{font-size:14px;color:var(--muted);line-height:1.9;margin:0}.mobile-break{display:none}.message{font-size:14px;line-height:1.7;padding:15px 18px;margin:0 0 24px;border:1px solid var(--line);border-radius:12px;background:white}.message[data-tone=error]{background:#fff5f1;border-color:#e5c7ba;color:#883e29}.workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.product-panel{padding:26px}.entry-panel{padding:28px;position:sticky;top:24px}.section-heading{display:flex;gap:13px;align-items:center;margin-bottom:24px}.step{width:30px;height:30px;display:grid;place-items:center;border:1px solid #b8c9be;border-radius:50%;font-size:13px;color:#54745e;flex-shrink:0}.section-heading h2{font-size:18px;font-weight:650;letter-spacing:-.025em;margin:0}.section-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.search-wrap{display:flex;align-items:center;border:1px solid var(--line);background:#f8faf7;border-radius:11px;padding:0 13px;gap:8px;margin-bottom:18px}.search-wrap span{font-size:28px;color:#73857b}.search-wrap input{border:0;background:transparent;width:100%;height:48px;outline-offset:0;font-size:14px;padding:0}.product-list{display:grid;gap:8px;max-height:540px;overflow:auto;padding:3px;scrollbar-width:thin;scrollbar-color:#c0cec3 transparent}.product-option{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid transparent;background:white;border-radius:12px;width:100%;text-align:left;color:var(--ink);min-height:76px;transition:background .15s,border-color .15s}.product-option:hover{background:#f5f8f3}.product-option[aria-pressed=true]{background:#eff6ef;border-color:#aac6b3}.product-image{width:48px;height:48px;object-fit:contain;border-radius:7px;background:white;flex-shrink:0}.product-image.placeholder{display:grid;place-items:center;background:#f1f4ef;color:#adbbae;font-size:24px}.product-name{font-size:13px;font-weight:550;line-height:1.65;overflow-wrap:anywhere}.selected-indicator{margin-left:auto;color:var(--green);padding-left:8px;font-size:17px}.selection-placeholder{min-height:295px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px dashed #d7e0d7;border-radius:13px;color:var(--muted);font-size:13px}.selection-placeholder>span{font-size:48px;color:#c4d3c6;line-height:1}.selected-product{display:flex;gap:16px;align-items:center;background:#f5f8f3;border-radius:12px;padding:17px;margin-bottom:26px}.selected-product .product-image{width:62px;height:62px}.selected-product .product-name{font-size:14px}.entry-panel label,.enrollment label{display:block;font-weight:600;font-size:13px;margin-bottom:10px}.entry-panel input[type=date],.enrollment input{width:100%;min-width:0;height:54px;padding:12px 14px;border:1px solid #b6c6bb;border-radius:10px;background:white;color:var(--ink);font-size:17px;appearance:none}.field-help{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0 28px}.primary{background:var(--ink);color:#fff;border:0;border-radius:11px;width:100%;padding:17px 18px;display:flex;justify-content:space-between;align-items:center;font-weight:550;font-size:14px;min-height:54px}.primary:hover{background:#2a4e46}.entry-note{font-size:11px;color:var(--muted);text-align:center;margin:15px 0 0}.empty{text-align:center;padding:45px 8px;color:var(--muted);font-size:13px;line-height:1.9}.success{text-align:center;padding:18px 0 6px}.success-icon{display:grid;place-items:center;width:60px;height:60px;background:#eaf4eb;border-radius:50%;color:var(--green);font-size:28px;margin:0 auto 20px}.success h3{font-size:18px;margin:0 0 20px}.success p{font-size:13px;line-height:1.8;margin:0 0 12px;overflow-wrap:anywhere}.success strong{display:block;font-size:26px;font-weight:550;margin-bottom:30px}.secondary{border:1px solid var(--line);background:white;color:var(--ink);padding:14px 18px;border-radius:10px;font-size:14px;min-height:48px}.enrollment{max-width:860px;padding:36px;display:grid;grid-template-columns:1fr 1fr;gap:40px}.enrollment h2{font-size:23px;margin:20px 0 12px}.enrollment p{font-size:13px;line-height:1.9;color:var(--muted)}.section-tag{font-size:11px;color:#376449;padding:6px 10px;border:1px solid #d8e5d8;border-radius:30px}.enrollment input{font-size:14px;margin-bottom:20px}.enrollment button{margin-top:6px}footer{max-width:1200px;border-top:1px solid var(--line);margin:0 auto;padding:24px 0 32px;display:flex;justify-content:space-between;gap:18px;font-size:11px;color:var(--muted)}footer p{margin:0}
@media(max-width:900px){main{padding:40px 24px 48px}.workspace{gap:16px;grid-template-columns:minmax(0,1fr) minmax(300px,1fr)}.product-panel,.entry-panel{padding:20px}footer{margin:0 24px}.site-header{padding:0 24px;height:80px}}
@media(max-width:700px){main{padding:32px 16px 44px}.site-header{padding:0 18px;height:76px}.brand{font-size:15px}.brand-mark{width:34px;height:34px;font-size:22px}.permission-pill{font-size:10px;padding:8px 10px}.intro{margin-bottom:24px}.intro h1{font-size:31px}.intro>p:last-child{font-size:13px;max-width:30em}.mobile-break{display:block}.workspace{grid-template-columns:1fr;gap:18px}.panel{border-radius:16px}.product-panel,.entry-panel{padding:21px}.product-list{max-height:290px}.entry-panel{position:static}.section-heading{margin-bottom:20px}.selection-placeholder{min-height:170px}.product-option{min-height:68px;padding:10px}.product-image{width:43px;height:43px}.product-name{font-size:12px}.entry-panel input[type=date]{font-size:18px}.enrollment{padding:24px;grid-template-columns:1fr;gap:18px}.enrollment h2{margin-top:14px}footer{margin:0 18px;flex-direction:column;gap:15px}.success strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.count-panel{margin-top:30px;padding-top:28px;border-top:1px solid var(--line)}.count-heading h3{font-size:18px;font-weight:600;margin:18px 0 10px}.count-heading .field-help{margin:8px 0 16px}.pack-reference{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f8faf7;font-size:12px;line-height:1.8;color:var(--muted)}.count-fields{display:flex;gap:12px;margin-top:20px}.count-fields label{flex:1;min-width:0}.count-fields input{display:block;margin-top:9px;width:100%;min-width:0;min-height:52px;padding:12px;border:1px solid #b6c6bb;border-radius:10px;background:white;color:var(--ink);font-size:18px;text-align:right}.count-status{font-size:13px;line-height:1.8;color:var(--green);margin:14px 0 0}.count-status[data-tone=error]{color:#883e29}.count-status:empty{display:none}
/* Own-device history is distinct from the warehouse ledger. */
.history-panel{grid-column:1/-1;padding:28px}.history-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.history-header .eyebrow{margin-bottom:10px}.history-header h2{font-size:21px;margin:0 0 9px;font-weight:650;letter-spacing:-.025em}.history-help,.history-privacy{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.history-privacy{padding:14px 16px;background:#f5f8f3;border-radius:10px;margin:20px 0}.history-actions{display:flex;gap:8px;flex-shrink:0}.history-actions .secondary{font-size:12px;padding:11px 14px}.history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.history-record{border:1px solid var(--line);border-radius:13px;padding:20px;min-width:0}.history-record-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.history-kind{font-size:10px;background:#edf4ee;color:#376449;border-radius:6px;padding:5px 8px;white-space:nowrap}.history-record time{font-size:10px;color:var(--muted)}.history-record h3{font-size:13px;line-height:1.8;font-weight:550;margin:15px 0 12px;overflow-wrap:anywhere}.history-value{display:block;font-size:20px;font-weight:600;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.history-detail,.history-updated{font-size:11px;line-height:1.8;color:var(--muted);margin:8px 0 0}.history-updated{color:var(--green)}.history-correct{margin-top:18px;font-size:12px;min-height:42px;padding:10px 14px}.history-status{font-size:13px;line-height:1.8;color:var(--muted);margin:16px 0}.history-status:empty{display:none}.history-status[data-tone=error]{color:#883e29}.history-more{display:block;margin:22px auto 0;min-width:180px}.edit-mode{border:1px solid #ccd9e2;background:#eef4f7;color:#375568;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.8;margin:0 0 18px}.text-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:12px;line-height:1.8;color:var(--green);min-height:44px;padding:12px 2px}.success-actions{display:flex;align-items:center;flex-direction:column;gap:5px}.entry-panel:has(.count-panel:not([hidden])){position:static}
@media(max-width:900px){.history-header{flex-direction:column;gap:17px}.history-panel{padding:22px}.history-record{padding:18px}}
@media(max-width:700px){.history-list{grid-template-columns:1fr}.history-panel{padding:21px}.history-header h2{font-size:19px}.history-actions{width:100%}.history-actions button{flex:1}.history-record-heading{gap:8px}.history-value{font-size:20px}}

.workspace-toolbar{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:16px}.workspace-toolbar>span{font-size:12px;color:var(--muted)}.workspace-toolbar .secondary{font-size:12px;padding:11px 16px;min-height:44px}.history-panel{scroll-margin-top:20px}@media(max-width:700px){.workspace-toolbar{align-items:stretch;gap:9px;flex-direction:column}.workspace-toolbar>span{font-size:11px}.workspace-toolbar .secondary{text-align:left}}
