:root{color:#18202c;font-synthesis:none;text-rendering:optimizelegibility;--yellow:#ffd34d;--ink:#18202c;--muted:#596371;--border:#d4d9df;--surface:#fff;--amber:#b26b00;--teal:#008b88;background:#f4f5f6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:400;line-height:1.45}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,input,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #8d6500}[hidden]{display:none!important}main{max-width:500px;padding:26px 20px calc(104px + env(safe-area-inset-bottom));margin:0 auto}h1,h2,h3,p{margin:0}h1{letter-spacing:-.045em;font-size:28px;font-weight:750;line-height:1.2}h2{letter-spacing:-.025em;font-size:20px;line-height:1.3}p{line-height:1.5}.icon{vertical-align:middle;flex:none;width:24px;height:24px;display:inline-block}button{background:var(--yellow);min-height:48px;color:var(--ink);touch-action:manipulation;border:1px solid #d7b43d;border-radius:10px;padding:12px 16px;font-weight:650}button:disabled{opacity:.45}button.secondary{border-color:var(--border);color:var(--ink);background:#fff}button.danger{color:#fff;background:#a12d25;border-color:#a12d25}button.danger-text{color:#a12d25;background:#fff;border-color:#e7c7c5}.actions{gap:10px;display:flex}.actions>*{flex:1;min-width:0}.full-width,.save-action{width:100%}.save-action{background:linear-gradient(120deg,#ffdd64,#ffd12e);border-color:#efc338}.text-button{color:#0863b9;background:0 0;border:0;min-height:44px;padding:6px 0;font-size:14px;font-weight:500}.app-chrome{grid-template-columns:54px minmax(0,1fr);align-items:center;column-gap:12px;margin-bottom:30px;display:grid}.brand-icon{border-radius:12px;grid-area:1/1/span 2;width:54px;height:54px}.app-chrome h1{grid-column:2;align-self:end;font-size:20px}.offline-location{grid-column:2;align-self:start}.connection-status{color:#39444e;text-align:left;background:0 0;border:0;align-items:center;gap:7px;min-height:22px;padding:2px 0;font-size:12px;font-weight:400;line-height:1.4;display:flex}.status-dot{background:#b26b00;border-radius:50%;flex:none;width:8px;height:8px}.connection-status.ready .status-dot{background:#19824d}.concealed{display:none}.view-summary .app-chrome,.view-history .app-chrome,.view-settings .app-chrome{margin:14px 0 16px;display:block}.view-summary .app-chrome h1,.view-history .app-chrome h1,.view-settings .app-chrome h1{font-size:28px}.home-heading{letter-spacing:-.035em;margin:0 0 17px;font-size:24px}.home-actions{flex-direction:column;gap:12px;display:flex}.action-card{text-align:left;border-radius:14px;align-items:center;gap:16px;width:100%;min-height:94px;padding:16px;display:flex}.action-card>span{flex:1;min-width:0}.action-card strong{letter-spacing:-.035em;font-size:23px;font-weight:720;line-height:1.2;display:block}.action-card small{margin-top:5px;font-size:13px;font-weight:400;line-height:1.35;display:block}.action-card>.icon:first-child{stroke-width:1.7px;width:43px;height:43px}.action-card>.icon:last-child{width:18px;height:18px}.use-card{background:linear-gradient(110deg,#ffdc60,#ffd644);border-color:#e5ba29}.use-card>.icon:first-child{fill:#37434c;color:#37434c}.use-card>.icon:first-child path{stroke:#ffdf6c}.restock-card{background:#fff;border-color:#bcc5ce}.balance-link{text-align:left;background:#fff;border:1px solid #e0e3e7;border-radius:12px;align-items:center;gap:12px;width:100%;min-height:60px;margin-top:16px;padding:14px;display:flex}.balance-link span{flex:1;font-size:13px}.balance-link>.icon:last-child{width:17px;height:17px}.recent-section{margin-top:24px}.section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.section-heading h2{font-size:19px}.section-heading .text-button{min-height:32px}.activity-list{border:1px solid var(--border);background:#fff;border-radius:13px;overflow:hidden}.activity-row{text-align:left;background:#fff;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:76px;padding:13px 14px;display:flex}.activity-row+.activity-row{border-top:1px solid #e8ebee}.activity-copy{min-width:0;display:block}.activity-copy strong{overflow-wrap:anywhere;font-size:17px;display:block}.activity-copy>span{color:var(--muted);margin-top:2px;font-size:12px;font-weight:400;display:block}.signed{letter-spacing:-.025em;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:26px;font-weight:750;line-height:1.1}.negative{color:var(--amber)}.positive{color:var(--teal)}.activity-row .signed{font-size:23px}.empty-recent{border:1px solid var(--border);color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:12px;padding:20px;font-size:14px;display:flex}.view-nav{z-index:20;width:100%;max-width:500px;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #dce1e6;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.view-nav button{background:0 0;border:0;justify-content:center;align-items:stretch;min-width:0;min-height:58px;padding:0 4px;font-size:11px;font-weight:450;display:flex}.nav-highlight{border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;padding:5px 2px;display:flex}.view-nav [aria-current=page] .nav-highlight{background:#fff0b6}.view-nav .icon{width:23px;height:23px}.view-nav [aria-current=page] .icon{stroke-width:2.1px}.view-nav [aria-current=page] .icon path{fill:none}.view-nav [aria-current=page] .icon.home{fill:currentColor}.screen-subtitle{color:#4f5965;margin:-6px 0 20px;font-size:15px}.search-field{margin:0 0 18px;position:relative}.search-field>.icon{color:#596371;width:21px;height:21px;position:absolute;top:50%;left:15px;transform:translateY(-50%)}.search-field input{background:#eceff1;border:1px solid #d9dee5;border-radius:11px;width:100%;min-height:51px;margin:0;padding:14px 12px 14px 45px;font-size:15px;font-weight:400}.search-field input::placeholder{color:#626c78;opacity:1}.balance-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.balance-row{text-align:left;background:#fff;border:1px solid #e0e3e7;border-radius:13px;align-items:center;gap:14px;width:100%;min-height:94px;padding:15px;display:flex}.balance-row>span{flex:1;min-width:0}.balance-row>span strong{letter-spacing:-.025em;overflow-wrap:anywhere;font-size:21px;line-height:1.3;display:block}.balance-row small{color:var(--muted);margin-top:5px;font-size:12px;font-weight:400;display:block}.balance-row .signed{font-size:36px}.balance-row>.icon{width:16px;height:16px}.quiet-info{color:var(--muted);align-items:center;gap:10px;margin-top:23px;font-size:12px;display:flex}.quiet-info .icon{width:20px;height:20px}.empty-state{text-align:center;color:var(--muted);padding:38px 18px}.empty-state>.icon{width:36px;height:36px;margin-bottom:12px}.empty-state h2{color:var(--ink);margin-bottom:7px;font-size:19px}.empty-state p{font-size:14px}.segmented{background:#eaedef;border:1px solid #dce1e6;border-radius:11px;gap:4px;padding:3px;display:flex}.segmented button{color:#47515f;background:0 0;border:0;border-radius:8px;flex:1;min-width:0;min-height:35px;padding:6px 9px;font-size:14px;font-weight:450}.segmented button[aria-pressed=true]{color:#18202c;opacity:1;background:linear-gradient(110deg,#ffe16c,#ffda4b);font-weight:550}.history-filters{margin:0 0 18px}.usage-panel{border:1px solid var(--border);background:#fff;border-radius:12px;margin-bottom:22px;padding:0 14px;overflow:hidden}.usage-panel>summary{align-items:center;gap:13px;padding:14px 0;list-style:none;display:flex}.usage-panel>summary::-webkit-details-marker{display:none}.usage-panel>summary>.icon{color:#4b5563}.usage-panel>summary>span:nth-child(2){flex:1;min-width:0}.usage-panel strong{font-size:17px;display:block}.usage-panel small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.disclosure-chevron{font-size:23px}.usage-panel[open] .disclosure-chevron{transform:rotate(180deg)}.usage-panel p{color:var(--muted);margin-bottom:12px;font-size:13px}.usage-panel table{border-collapse:collapse;table-layout:fixed;width:100%;margin-bottom:14px}.usage-panel th,.usage-panel td{text-align:left;overflow-wrap:anywhere;border-bottom:1px solid #e4e8ed;padding:10px 5px;font-size:13px}.usage-panel th:last-child,.usage-panel td:last-child{text-align:right;width:80px}.day-heading{color:#4c5562;margin:24px 0 9px;font-size:18px}.history-list{margin:0;padding:0;list-style:none}.history-entry{overflow-wrap:anywhere;background:#fff;border:1px solid #dce1e6;border-bottom:0;padding:0 13px}.history-days>div:last-child .history-entry{border-bottom:1px solid #dce1e6;border-radius:0 0 12px 12px}.history-days>div:has(.day-heading) .history-entry{border-radius:12px 12px 0 0}.history-days>div:has(+div .day-heading) .history-entry{border-bottom:1px solid #dce1e6;border-radius:0 0 12px 12px}.history-days>div:has(.day-heading):has(+div .day-heading) .history-entry{border-radius:12px}.history-days>div:has(.day-heading):last-child .history-entry{border-radius:12px}.entry-line{align-items:center;gap:8px;min-height:69px;display:flex}.entry-copy{flex:1;min-width:0}.entry-part{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.entry-part strong{letter-spacing:-.025em;overflow-wrap:anywhere;min-width:0;font-size:17px}.action-tag{border-radius:5px;padding:2px 7px;font-size:11px;font-weight:450;line-height:1.3}.action-tag.used{color:#865000;background:#ffe7ad}.action-tag.restocked{color:#006e68;background:#d6f0eb}time{color:var(--muted);margin-top:2px;font-size:12px;display:block}.entry-line>.signed{font-size:23px}.entry-menu-button{letter-spacing:1px;background:0 0;border:0;min-width:38px;min-height:44px;padding:0;font-size:14px}.entry-options{padding:8px 0 15px}.entry-options details{color:var(--muted);margin-top:8px;font-size:13px}.history-editor{border:0;min-width:0;padding:0}.history-editor legend{margin:5px 0;font-size:17px;font-weight:650}.history-management{text-align:left;margin:22px 0 0;font-size:14px}.history-management>summary{color:#0863b9;text-align:center;cursor:pointer;padding:12px;list-style:none}.history-management>summary::-webkit-details-marker{display:none}.history-management p{color:var(--muted);margin:8px 0 14px;font-size:13px}.history-management button{width:100%}.note{color:var(--muted);margin:12px 0;font-size:12px;line-height:1.5}.notice,.error-banner{background:#fff0cf;border-radius:10px;margin:14px 0;padding:14px;font-size:14px}.error-banner{color:#873d00}.error-banner button{margin-top:10px}summary{cursor:pointer}.raw{overflow-wrap:anywhere}.task-header.app-chrome{grid-template-columns:44px 1fr 44px;gap:6px;margin:0 0 18px;display:grid}.task-header.app-chrome h1{text-align:center;grid-column:2;align-self:center;font-size:21px}.back-button{background:0 0;border:0;width:44px;min-height:44px;padding:8px}.task-header .offline-location{display:none}.scan-mode{margin-bottom:12px}.preview{aspect-ratio:16/9;background:#283039;border-radius:12px;width:100%;margin-bottom:12px;position:relative;overflow:hidden}.preview video,.preview .captured-frame{object-fit:contain;width:100%;height:100%;display:block}.camera-placeholder{color:#fff;place-items:center;display:grid;position:absolute;inset:0}.scan-guide{border:3px solid var(--yellow);pointer-events:none;border-radius:8px;position:absolute;inset:20% 10%}.batch-guide{inset:5%}.capture-notice{z-index:1;color:#155b36;overflow-wrap:anywhere;background:#d8f4e4;border-radius:10px;padding:14px;font-weight:750;position:absolute;bottom:12px;left:12px;right:12px}.capture-notice small{margin-top:4px;font-size:12px;display:block}.capture-result,.receipt{color:#174f34;background:#d8f0e4;border-radius:11px;margin:10px 0 14px;padding:12px 14px;font-size:14px;font-weight:550}.capture-result{align-items:center;gap:10px;display:flex}.capture-result .icon{fill:#168640;color:#fff}.receipt .icon{margin-right:8px}.receipt .actions{margin-top:12px}.result,.settings-card{border:1px solid var(--border);background:#fff;border-radius:13px;min-width:0;margin:14px 0;padding:16px}.result h2{margin:0 0 14px;font-size:20px}.result p{color:var(--muted);font-size:13px}label{color:#5b6572;margin:10px 0 5px;font-size:14px;font-weight:450;display:block}input{width:100%;min-width:0;min-height:48px;font:inherit;color:var(--ink);background:#fff;border:1px solid #c8d0d8;border-radius:8px;margin:5px 0 14px;padding:10px 12px;font-size:16px;display:block}input[type=file]{padding:10px 6px;font-size:13px}#part{font-size:18px;font-weight:650}.quantity{align-items:center;gap:9px;margin:5px 0 14px;display:flex}.quantity button{background:#edf0f2;border:1px solid #d6dce1;flex:none;width:54px;height:48px;min-height:48px;padding:0;font-size:25px;font-weight:400}.quantity input{text-align:center;appearance:textfield;flex:1;width:80px;min-height:48px;margin:0;font-size:21px;font-weight:650}.quantity input::-webkit-inner-spin-button{appearance:none}.entry-help{color:var(--muted);margin-top:12px;font-size:12px}.entry-help summary{font-size:12px}.entry-help p{margin-top:8px}.status{color:var(--muted);margin:12px 0;font-size:13px;line-height:1.5}.alternate-entry{width:100%;min-height:40px;font-size:14px;display:block}.cancel{color:#5f6771;width:100%;margin-top:10px;font-size:13px;display:block}.task-controls>.result{margin-top:0}.suggestions{background:#fff4d3;border-radius:8px;margin-bottom:12px;padding:12px}.suggestions button{width:100%;margin-top:6px}.batch-panel h2{margin:12px 0}.batch-panel>p{margin:12px 0;font-size:13px}.batch-candidates{overflow-wrap:anywhere;padding-left:20px;font-size:14px}.batch-review{border:0;min-width:0;padding:0}.batch-review legend{font-size:18px;font-weight:650}.batch-review>p{color:var(--muted);margin:10px 0;font-size:13px}.batch-review .result{padding:14px}.batch-review h3{font-size:17px}.batch-actions{margin-top:12px}.batch-panel>button.cancel{background:var(--yellow);color:var(--ink);border:1px solid #d7b43d}.view-settings .offline-location{margin-top:20px}.offline-tools{margin-bottom:18px}.offline-panel,.update-instructions{border:1px solid var(--border);background:#fff;border-radius:12px;padding:12px 15px;font-size:14px}.offline-panel summary,.update-instructions summary{font-weight:600;line-height:1.5}.offline-panel p,.update-instructions p{color:var(--muted);margin:10px 0;font-size:13px}.offline-panel{background:#fff7db}.update-check{width:100%;margin:12px 0}.offline-tools>p{margin:8px 0;font-size:13px}.update-instructions ol{color:var(--muted);padding-left:20px;font-size:13px}.update-instructions li{margin-bottom:9px}.settings-card h2{margin-bottom:10px}.settings-card p{color:var(--muted);font-size:14px}.view-settings>.settings-card{margin-top:18px}.view-settings section[aria-label=Settings]>.result h2{font-size:20px}.view-settings .result>button{width:100%;margin-top:12px}.view-settings .result>p{margin:10px 0}.rescan{width:100%;margin-top:10px}@media (width<=359px){main{padding-inline:15px}.action-card{gap:12px;padding:14px}.action-card strong{font-size:21px}.action-card small{font-size:12px}.action-card>.icon:first-child{width:36px;height:36px}.entry-part{gap:4px}.entry-part strong{font-size:15px}.entry-line{gap:3px}.entry-menu-button{min-width:32px}.balance-row{gap:9px}.balance-row>span strong{font-size:18px}.balance-row .signed{font-size:29px}.view-nav{padding-inline:4px}}@media (orientation:landscape) and (width>=600px){main.task-active{max-width:none;padding:12px max(16px,env(safe-area-inset-right)) 105px max(16px,env(safe-area-inset-left));grid-template-columns:minmax(0,35%) minmax(0,1fr);align-items:start;column-gap:20px;display:grid}.task-active>.app-chrome{grid-area:1/1}.task-active>.home-view:not([hidden]){display:contents}.task-active .scan-mode{grid-area:2/1}.task-active .task-controls{grid-area:3/1;min-width:0}.task-active .preview:not([hidden]){top:max(12px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:calc((100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)) - 20px)*.65);height:calc(100dvh - 100px - env(safe-area-inset-bottom));aspect-ratio:auto;margin:0;position:fixed}.task-active .view-nav{max-width:none}.task-active .result{padding:12px}.task-active .task-header h1{font-size:19px}.task-active .note{font-size:11px}.task-active .back-button{width:40px}.task-active .scan-mode button{padding:6px;font-size:12px}.task-active .app-chrome{margin-bottom:10px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.task-controls>.review-card{margin-bottom:4px}.home-view>.status{margin:0}.balance-card{background:#fff;border:1px solid #e0e3e7;border-radius:13px}.balance-card-line{align-items:center;gap:8px;padding-right:12px;display:flex}.balance-card .balance-row{border:0;flex:1;min-width:0}.balance-card .signed{font-size:clamp(22px,7vw,36px)}button.quick-restock{background:#fff5ce;border-color:#ead17c;flex:none;min-height:44px;padding:8px 10px;font-size:13px}.restock-verify{border-top:1px solid #e0e3e7;padding:10px 15px 15px}.restock-verify label{font-weight:650}.invoice-reference{overflow-wrap:anywhere;margin-top:4px}.invoice-reference .text-button+.text-button{margin-left:16px}.invoice-reference input{margin-bottom:0}.invoice-reference p:not(.note){margin-top:10px;font-size:13px}.invoice-reference-summary{align-items:center;gap:12px;display:flex}.invoice-reference-summary p:not(.note){flex:1;min-width:0;margin-top:0}.invoice-reference-summary .text-button+.text-button{margin-left:0}.history-invoice{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.history-entry:has(.history-invoice) .entry-copy{padding-block:8px}
