@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--type-body:1rem;--type-note:.875rem;--type-label:1.0625rem;--type-control:1.1875rem;--type-action:1.125rem;--type-section:var(--type-control);--type-page:2.0625rem;--type-total:2.375rem;--type-row-title:clamp(1.125rem,2.1vw,1.5rem);--type-row-amount:clamp(1.375rem,2.7vw,1.875rem)}.review-document-context{border:1px solid var(--line);overflow-wrap:anywhere;background:#f5f8fc;border-radius:12px;padding:16px}.review-document-context dl{grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr));gap:12px;margin:12px 0 0;display:grid}.review-document-context dt{color:var(--muted);font-size:var(--type-note)}.review-document-context dd{margin:2px 0 0;font-weight:700}.review-document-filename{grid-column:1/-1}@media (min-width:1400px){:root{--type-total:2.625rem}}@media (max-width:760px){:root{--type-total:1.875rem;--type-page:1.8125rem}}.inventory-save-success{font-size:1.5em;font-weight:700}:root{--font-size-min:.75rem;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--blue:#2158d5;--text:#202a38;--muted:#596575;--line:#e3e8ef;--bg:#f5f7fa}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:Arial,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif;font-size:var(--type-body);margin:0;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #2158d5}button{border:0}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1{font-size:var(--type-page);letter-spacing:-.04em;font-weight:750;line-height:1.3}h2{font-size:var(--type-section);letter-spacing:-.02em;font-weight:700}small{font-size:var(--type-note)}::selection{background:#c9dcff}.app-shell{min-height:100dvh}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;width:232px;padding:34px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.04em;align-items:center;gap:11px;font-size:1.5625rem;font-weight:750;display:flex}.brand small{font-size:var(--font-size-min);letter-spacing:.06em;color:var(--muted);margin-top:2px;font-weight:500;display:block}.brand-mark{background:var(--blue);color:#fff;border-radius:12px;place-items:center;width:43px;height:43px;display:grid}.workspace-name{background:#f6f8fb;border-radius:9px;margin:35px 0 25px;padding:12px 10px;font-size:.9375rem;font-weight:700}.workspace-name span{font-size:var(--font-size-min);color:var(--muted);margin-top:4px;font-weight:400;display:block}.sidebar nav{flex-direction:column;gap:6px;display:flex}.sidebar nav button{color:var(--muted);text-align:left;background:0 0;border-radius:10px;align-items:center;gap:13px;min-height:50px;padding:13px 14px;font-weight:600;display:flex}.sidebar nav button.active{color:var(--blue);background:#edf3ff}.nav-count{color:#624409;background:#f4d991;border-radius:6px;margin-left:auto;padding:1px 7px;font-size:.875rem}.sidebar-note{color:var(--muted);margin-top:auto;font-size:.875rem}.sidebar-note small{font-size:var(--font-size-min);margin-top:7px;display:block}.dot{background:var(--blue);border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.main-shell{margin-left:232px}.topbar{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:18px;height:77px;padding:0 45px;display:flex}.topbar-label{color:var(--muted);font-size:.875rem}.demo-tag{border:1px solid var(--line);font-size:var(--font-size-min);color:var(--muted);border-radius:6px;margin-left:auto;padding:4px 9px}.avatar{color:#42536b;background:#eaf0f7;border-radius:50%;place-items:center;width:32px;height:32px;font-size:.875rem;display:grid}.mobile-brand{display:none}.demo-banner{color:#3d5272;font-size:var(--font-size-min);background:#edf3fb;border-bottom:1px solid #dae4f1;padding:9px 45px}.content{max-width:1120px;margin:auto;padding:36px 45px 22px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;display:flex}.eyebrow{color:var(--muted);font-size:var(--font-size-min);letter-spacing:.15em;margin-bottom:8px;font-weight:700}.subtle{font-size:var(--type-note);color:var(--muted);line-height:1.8}.date-label{align-self:flex-end;padding-bottom:4px}.card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:24px}.review-banner{text-align:left;color:#62460f;background:#fff7e4;border:1px solid #f1dfb2;border-radius:14px;align-items:center;gap:18px;width:100%;margin-bottom:23px;padding:23px 25px;display:flex}.review-banner>svg{margin-left:auto}.review-banner h2{font-size:var(--type-section)}.review-banner h2 strong{margin-left:7px;font-size:1.6875rem}.review-banner h2 small{font-size:.9375rem}.review-banner p{font-size:var(--type-note);color:#705723;margin-top:3px}.review-badge{border:1px solid #dcc18a;border-radius:50%;place-items:center;width:43px;height:43px;font-size:1.75rem;font-weight:600;display:grid}.all-clear{color:#236540;background:#edf8f0;border-color:#c9e4d1}.all-clear p{color:#236540}.all-clear .review-badge{border-color:#8dc6a0}.metric-grid{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px;display:grid}.metric{padding:24px 26px}.metric-label{font-size:var(--type-label);color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.metric-label svg{color:#66778c}.metric>strong{font-size:var(--type-total);letter-spacing:-.04em;font-weight:700}.metric>strong small{margin-left:8px;font-size:1rem;font-weight:500}.metric p{font-size:var(--type-note);color:var(--muted);margin-top:5px}.recent{padding:0;overflow:hidden}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.recent .section-heading{border-bottom:1px solid var(--line);margin-bottom:0;padding:23px 25px}.text-button{color:var(--blue);font-size:var(--type-note);background:0 0;justify-content:center;align-items:center;gap:4px;min-height:48px;padding:8px;display:inline-flex}.slip-row{text-align:left;background:#fff;border-bottom:1px solid #eef1f5;align-items:center;gap:16px;width:100%;padding:19px 25px;display:flex}.slip-row:last-child{border-bottom:0}.slip-row:hover,.product-row:hover{background:#f9fbff}.document-icon{color:#687c95;background:#f1f4f8;border-radius:8px;flex-shrink:0;place-items:center;width:38px;height:42px;display:grid}.slip-name{flex:1}.slip-name strong{font-size:var(--type-row-title)}.slip-name small{font-size:var(--font-size-min);color:var(--muted);margin-top:4px;display:block}.slip-value{text-align:right}.slip-value strong{font-size:var(--type-row-amount);margin-bottom:4px;display:block}.chip{font-size:var(--font-size-min);white-space:nowrap;border-radius:5px;padding:3px 8px;font-weight:650;display:inline-flex}.chip.review{color:#755208;background:#fff2cd}.chip.confirmed{color:#276840;background:#e8f5ec}.chip.error{color:#a42a28;background:#ffe9e8}.capture-callout{justify-content:space-between;align-items:center;gap:20px;margin-top:25px;padding:25px 0;display:flex}.capture-callout h2{font-size:var(--type-section)}.capture-callout p{font-size:var(--type-note);color:var(--muted);margin-top:5px}.button{min-height:48px;font-size:var(--type-action);white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:13px 20px;font-weight:650;display:inline-flex}.primary{background:var(--blue);color:#fff}.primary:hover{background:#194ab9}.secondary{color:var(--text);background:#fff;border:1px solid #cfd8e4}.secondary:hover{background:#f0f5fd}.full{width:100%}.content-footer{border-top:1px solid var(--line);font-size:var(--font-size-min);color:var(--muted);align-items:center;gap:12px;margin-top:35px;padding-top:18px;font-weight:700;display:flex}.content-footer span{font-weight:400}.content-footer small{font-size:var(--font-size-min);margin-left:auto;font-weight:400}.bottom-nav{display:none}.search-bar{height:50px;color:var(--muted);background:#fff;border:1px solid #d6dee9;border-radius:10px;align-items:center;gap:12px;margin-bottom:20px;padding:0 15px;display:flex}.search-bar input{width:100%;min-width:0;height:100%;color:var(--text);background:0 0;border:0;outline:none}.filter-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.category-tabs{flex-wrap:wrap;gap:6px;display:flex}.category-tabs button{min-height:48px;color:var(--muted);font-size:var(--type-action);background:0 0;border-radius:7px;padding:8px 14px}.category-tabs button.selected{color:var(--blue);background:#e7efff;font-weight:700}.filter-row select{border:1px solid var(--line);font-size:var(--type-control);color:var(--muted);background:#fff;border-radius:8px;min-height:48px;padding:12px 8px}.product-list{padding:0;overflow:hidden}.table-heading{border-bottom:1px solid var(--line);color:var(--muted);font-size:var(--font-size-min);background:#fbfcfe;justify-content:space-between;padding:14px 24px;display:flex}.product-row{text-align:left;border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:14px;width:100%;padding:20px 24px;display:flex}.product-row:last-child{border-bottom:0}.product-symbol{color:#647b9a;background:#edf2f8;border-radius:13px;place-items:center;width:80px;height:80px;display:grid}.product-symbol.small{border-radius:9px;flex-shrink:0;width:45px;height:48px}.product-name{flex:1}.product-name strong{font-size:var(--type-row-title)}.product-name strong span{font-size:var(--font-size-min);color:var(--muted);font-weight:400}.product-name small{color:var(--muted);font-size:var(--font-size-min);margin-top:5px;display:block}.product-price{text-align:right}.product-price strong{font-size:var(--type-row-amount)}.product-price small{font-size:var(--font-size-min);color:var(--muted);display:block}.product-price.increased strong{color:#8b610a}.product-list+.subtle{margin-top:16px}.empty-list{text-align:center;color:var(--muted);padding:40px}.back-button{min-height:48px;color:var(--muted);font-size:var(--type-note);background:0 0;align-items:center;gap:5px;margin-bottom:15px;display:flex}.product-detail{max-width:800px}.product-hero{align-items:center;gap:20px;margin-bottom:28px;display:flex}.product-hero p{color:var(--muted);font-size:var(--type-body);margin-top:9px}.pill{color:#526174;font-size:var(--font-size-min);background:#eef2f7;border-radius:5px;padding:5px 9px;display:inline-flex}.cost-grid{background:#f8fafc;border-radius:10px;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px;padding:25px;display:grid}.cost-grid strong{font-size:var(--type-total);margin:5px 0 10px;display:block}.cost-grid strong small{font-size:.875rem}.cost-grid .empty-value{color:var(--muted);font-size:1.5rem}.history-row{border-bottom:1px solid var(--line);font-size:var(--type-body);justify-content:space-between;align-items:center;gap:10px;padding:16px 0;display:flex}.history-row small{color:var(--muted);margin-top:3px;display:block}.detail-note{font-size:var(--type-body);color:var(--muted);margin:22px 0}.product-detail>.button{margin-top:25px}.menu-grid{flex-direction:column;gap:18px;display:flex}.menu-card{text-align:left;align-items:center;gap:20px;min-height:110px;display:flex}.menu-icon{width:53px;height:53px;color:var(--blue);background:#edf3ff;border-radius:12px;place-items:center;display:grid}.menu-card>span:nth-child(2){flex:1}.menu-card strong{font-size:var(--type-section);display:block}.menu-card small{color:var(--muted);margin-top:6px;display:block}.info-box{color:#445974;font-size:var(--type-body);background:#edf3fb;border:1px solid #dce5f0;border-radius:10px;margin-top:20px;padding:18px;line-height:1.8}.menu-grid .info-box{margin-top:0}.capture-empty{text-align:center;max-width:600px;margin:auto;padding:45px 35px}.camera-orbit{width:110px;height:110px;color:var(--blue);background:#ecf2ff;border-radius:30px;place-items:center;margin:0 auto 25px;display:grid}.capture-empty h2{font-size:var(--type-section)}.capture-empty>p{color:var(--muted);margin:15px 0 27px;line-height:1.9}.capture-empty .button+.button{margin-top:12px}.capture-empty p.subtle{font-size:var(--type-note);margin-bottom:0}.pages-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.page-thumbnail{border:1px solid var(--line);background:#f8fafc;border-radius:10px;overflow:hidden}.page-thumbnail>img{object-fit:contain;background:#e9edf3;width:100%;height:180px}.page-thumbnail p{font-size:var(--type-note);white-space:nowrap;text-overflow:ellipsis;padding:10px;overflow:hidden}.page-thumbnail>.text-button{margin:0 8px 7px}.pdf-thumbnail{color:#536987;background:#edf2f8;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:180px;display:flex}.capture-actions{gap:15px;margin-top:20px;display:flex}.capture-actions>.button{flex:1}.field{font-size:var(--type-label);flex-direction:column;gap:7px;margin-bottom:18px;font-weight:600;display:flex}.field :is(input:not([type=checkbox],[type=radio]),select,textarea),.search-bar input{font-size:var(--type-control)}.field input,.field select{width:100%;min-height:48px;color:var(--text);background:#fff;border:1px solid #cfd8e4;border-radius:8px;min-width:0;padding:10px 12px}.field.compact{font-size:var(--type-label);margin:0 10px 4px}.review-grid{grid-template-columns:1fr 1fr;align-items:start;gap:25px;display:grid}.paper-preview{text-align:center;background:#e9edf2;border-radius:14px;min-height:425px;padding:35px 22px}.paper{text-align:left;min-height:325px;font-size:var(--type-body);background:#fff;margin-bottom:15px;padding:32px 24px;line-height:2;box-shadow:0 5px 20px #24364b0c}.paper-title{text-align:center;letter-spacing:.25em;margin-bottom:25px;font-size:1.5625rem;font-weight:700}.paper hr{border:0;border-top:1px solid #b8c2ce;margin:20px 0}.paper-line{font-size:var(--font-size-min);padding:10px 7px}.highlighted{background:#fff4cc;border:1px solid #e4ce81}.paper-total{text-align:right;margin:18px 0}.review-card h2{font-size:var(--type-section);margin:15px 0}.warning-box{color:#745313;font-size:var(--type-body);background:#fff5db;border-radius:8px;margin-bottom:24px;padding:13px;line-height:1.8}.quantity-stepper{gap:8px;display:flex}.quantity-stepper button{min-width:48px;min-height:48px;color:var(--text);background:#edf2f9;border-radius:8px;font-size:1.5rem}.quantity-stepper input{text-align:center}.calculation{font-size:var(--type-body);color:var(--muted);background:#f4f7fb;border-radius:8px;flex-direction:column;gap:6px;margin:20px 0;padding:15px;display:flex}.calculation strong{color:var(--text);font-size:var(--type-row-amount)}.review-card>.subtle{margin-top:12px}.supplier-details{border-top:1px solid var(--line)}.supplier-details summary{cursor:pointer;align-items:center;gap:12px;min-height:75px;padding:15px 0;font-size:.9375rem;display:flex}.supplier-details summary span{color:var(--muted);font-size:var(--font-size-min);margin-left:auto}.supplier-details summary b{font-size:var(--type-row-amount);margin-left:10px}.supplier-slips{padding:5px 15px 20px}.inline-form{align-items:flex-end;gap:15px;margin-top:20px;display:flex}.inline-form .field{flex:1;margin:0}.month-label{font-size:var(--type-label);align-items:center;gap:10px;margin-bottom:22px;font-weight:700;display:flex}.stock-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 0;display:flex}.stock-row label{flex:1}.stock-row label strong{font-size:var(--type-label);display:block}.stock-row label small{color:var(--muted)}.stock-row input{width:110px;min-height:48px;font-size:var(--type-control);border:1px solid #cfd8e4;border-radius:7px;padding:9px}.stock-row>span{width:20px;color:var(--muted);font-size:.875rem}.export-actions{flex-wrap:wrap;gap:12px;margin-top:22px;display:flex}.month-label~.card{margin-bottom:20px}.radio-row{cursor:pointer;align-items:center;gap:13px;min-height:65px;padding:20px 0;display:flex}.radio-row input{width:20px;height:20px;accent-color:var(--blue)}.radio-row strong{font-size:var(--type-label)}.radio-row small{color:var(--muted);margin-top:4px;display:block}.divider{border-top:1px solid var(--line);margin:8px 0}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:15px;min-height:65px;padding:20px 0;display:flex}.switch-row strong{font-size:var(--type-label)}.switch-row small{color:var(--muted);margin-top:4px;display:block}.switch-row input{width:28px;height:28px;accent-color:var(--blue)}.thresholds{font-size:var(--type-note);background:#f7f9fc;border-radius:8px;margin-top:10px;padding:18px}.thresholds p{margin-bottom:13px;font-weight:700}.thresholds div{justify-content:space-between;padding:5px 0;display:flex}.settings-card{margin-bottom:20px}.connection-row{border-bottom:1px solid var(--line);font-size:var(--type-body);align-items:center;gap:10px;padding:17px 0;display:flex}.connection-row small{color:var(--muted);margin-left:auto}.connection-row+.button{margin-top:22px}.body-text{color:var(--muted);line-height:1.8;font-size:var(--type-body)}.toast{color:#fff;z-index:80;font-size:var(--type-note);background:#243246;border-radius:12px;align-items:center;gap:15px;width:max-content;max-width:calc(100% - 30px);padding:12px 18px;display:flex;position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%);box-shadow:0 8px 30px #18294026}.toast button{color:#fff;background:0 0;min-width:48px;min-height:48px;font-weight:700}.toast button:nth-child(2):not(:last-child){color:#c6ddff;white-space:nowrap}.modal-overlay{z-index:70;background:#14263c66;justify-content:center;align-items:center;padding:25px;display:flex;position:fixed;inset:0;overflow:auto}.modal{width:100%;max-width:480px;max-height:calc(100dvh - 50px);padding:25px;overflow:auto}.icon-button{background:#f1f5fa;border-radius:10px;width:48px;height:48px;font-size:1.5rem}.form-grid{grid-template-columns:1fr 1fr;gap:0 15px;display:grid}.modal .subtle{margin-top:15px}@media (min-width:1400px){.content{padding-top:45px}.slip-row{padding-top:21px;padding-bottom:21px}}@media (max-width:1050px){.sidebar{width:200px;padding:28px 16px}.main-shell{margin-left:200px}.topbar{padding:0 28px}.demo-banner{padding-left:28px;padding-right:28px}.content{padding:28px}.capture-callout{flex-direction:column;align-items:flex-start}.review-grid{gap:16px}.paper-preview,.paper{padding:25px 15px}}@media (max-width:760px){.sidebar{display:none}.main-shell{margin-left:0}.topbar{gap:12px;height:65px;padding:0 20px}.mobile-brand{letter-spacing:-.04em;font-size:1.4375rem;font-weight:750;display:block}.topbar-label{display:none}.demo-tag{font-size:var(--font-size-min)}.demo-banner{font-size:var(--font-size-min);padding:10px 20px;line-height:1.7}.content{padding:26px 20px 110px}.page-heading{align-items:flex-start;margin-bottom:22px}h1{font-size:var(--type-page)}.eyebrow{font-size:var(--font-size-min)}.date-label{display:none}.review-banner{gap:13px;margin-bottom:17px;padding:20px 18px}.review-banner h2{font-size:var(--type-section)}.review-banner p{font-size:var(--type-note)}.review-badge{flex-shrink:0;width:36px;height:36px;font-size:1.5rem}.metric-grid{gap:12px;margin-bottom:20px}.metric{padding:20px 16px}.metric-label{font-size:var(--type-label)}.metric-label svg{display:none}.metric>strong small{margin-left:5px;font-size:.875rem}.metric p{font-size:var(--type-note);line-height:1.7}.card{border-radius:12px}.recent .section-heading{padding:16px 17px}.section-heading h2{font-size:var(--type-section)}.section-heading .text-button{font-size:var(--type-note);padding:5px}.slip-row{gap:11px;padding:17px}.document-icon{width:32px;height:38px}.slip-name strong{font-size:var(--type-row-title)}.slip-name small{font-size:var(--font-size-min)}.slip-value strong{font-size:var(--type-row-amount)}.slip-row>svg{display:none}.chip{font-size:var(--font-size-min)}.capture-callout{gap:17px;margin-top:6px;padding:22px 0}.capture-callout .button{width:100%}.content-footer{gap:8px;margin-top:25px}.content-footer span{font-size:var(--font-size-min)}.content-footer small{display:none}.bottom-nav{border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:50;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffffa;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-height:53px;color:var(--muted);font-size:var(--font-size-min);background:0 0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-weight:600;display:flex}.bottom-nav button.active{color:var(--blue);background:#edf3ff}.bottom-nav .capture-nav svg{background:var(--blue);color:#fff;box-sizing:content-box;border-radius:8px;margin-top:-4px;padding:5px}.page-heading .button{font-size:var(--type-action);padding:10px 12px}.page-heading .button svg{width:17px}.filter-row{flex-direction:column;align-items:flex-start;gap:12px}.category-tabs{flex-wrap:nowrap;gap:3px;width:100%;overflow:auto}.category-tabs button{white-space:nowrap;padding:8px 13px}.filter-row select{align-self:flex-end}.product-row{gap:10px;padding:17px 14px}.product-symbol.small{width:35px;height:42px}.product-name strong{font-size:var(--type-row-title)}.product-name strong span{font-size:var(--font-size-min);margin-top:2px;display:block}.product-name small{font-size:var(--font-size-min)}.product-price strong{font-size:var(--type-row-amount)}.product-price small{font-size:var(--font-size-min)}.product-row>svg{display:none}.table-heading{font-size:var(--font-size-min);padding:14px}.product-detail{padding:20px}.cost-grid{gap:15px;padding:18px 15px}.cost-grid strong{font-size:var(--type-total)}.cost-grid .empty-value{font-size:1.3125rem}.product-hero{gap:15px}.product-symbol{width:65px;height:65px}.menu-card{gap:15px;min-height:98px;padding:20px}.menu-card strong{font-size:var(--type-section)}.menu-card small{font-size:var(--font-size-min)}.menu-icon{width:44px;height:44px}.capture-empty{padding:35px 20px}.capture-empty h2{font-size:var(--type-section)}.capture-empty>p{font-size:var(--type-body)}.pages-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-thumbnail>img,.pdf-thumbnail{height:150px}.capture-actions{gap:10px}.capture-actions .button{font-size:var(--type-action);padding:12px}.review-grid{flex-direction:column;display:flex}.paper-preview{width:100%;min-height:0;padding:20px}.paper{min-height:230px;font-size:var(--type-body);padding:20px;line-height:1.6}.paper-title{margin-bottom:16px;font-size:1.375rem}.paper hr{margin:12px 0}.review-card{width:100%;padding:22px}.review-card h2{font-size:var(--type-section)}.inline-form{flex-direction:column;align-items:stretch;padding:20px}.supplier-details summary{gap:9px}.supplier-details summary strong{font-size:var(--type-row-title)}.supplier-details summary b{font-size:var(--type-row-amount);margin-left:0}.supplier-details summary svg{width:18px}.supplier-slips{padding-left:0;padding-right:0}.supplier-slips .history-row{font-size:var(--type-note)}.stock-row input{width:85px}.export-actions{flex-direction:column}.toast{bottom:calc(85px + env(safe-area-inset-bottom));font-size:var(--type-note);gap:8px;padding:10px 14px;left:50%}.modal-overlay{padding:15px}.modal{max-height:calc(100dvh - 30px);padding:20px}.modal .field input,.field select,.field input,.stock-row input{font-size:var(--type-control)}.form-grid{gap:0 12px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.month-label{flex-wrap:wrap}.month-label input{max-width:185px;min-height:48px;font-size:var(--type-control);color:var(--text);background:#fff;border:1px solid #cfd8e4;border-radius:8px;padding:8px 12px;font-weight:500}.product-heading-actions{align-items:center;gap:10px;display:flex}.supplier-filter{max-width:340px;margin-bottom:17px}.filter-step-label{font-size:var(--type-label);margin-bottom:7px;font-weight:600}.price-filters{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;display:grid}.price-filters .field{margin-bottom:0}.price-list{padding:0;overflow:hidden}.price-edit-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex}.price-edit-row:last-child{border-bottom:0}.price-edit-name{min-width:0}.price-edit-name strong{font-size:var(--type-row-title)}.price-edit-name strong span{color:var(--muted);font-size:var(--font-size-min);font-weight:400}.price-edit-name small{font-size:var(--font-size-min);color:var(--muted);margin-top:5px;display:block}.price-edit-controls{flex-shrink:0;align-items:center;gap:12px;display:flex}.price-input-label{color:var(--muted);background:#fff;border:1px solid #cfd8e4;border-radius:8px;align-items:center;gap:8px;min-height:48px;padding:0 12px;display:flex}.price-input-label input{text-align:right;width:115px;min-height:46px;color:var(--text);font-size:var(--type-control);background:0 0;border:0}.price-input-label small{white-space:nowrap;font-size:var(--font-size-min)}.price-edit-controls .button{padding:12px 17px}.price-edit-controls .button:disabled{color:#596575;background:#edf1f6}.product-list-note{margin-top:16px}.price-input-label:focus-within{outline:2px solid var(--blue);outline-offset:2px}@media (max-width:760px){.product-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}.product-heading-actions .button{min-height:48px;font-size:var(--type-action);padding:10px}.product-heading-actions .button svg{display:none}.supplier-filter{max-width:none}.price-filters{gap:12px}.price-filters select{font-size:var(--type-control)}.price-edit-row{flex-direction:column;align-items:stretch;gap:12px;padding:17px 14px}.price-edit-controls{justify-content:space-between;gap:12px}.price-input-label{flex:1}.price-input-label input{width:100%;min-width:0}.price-edit-name strong{font-size:var(--type-row-title)}.price-edit-name small{font-size:var(--font-size-min)}.price-edit-controls .button{min-width:75px}.product-heading-actions{max-width:190px}}.stocktake-list{margin-top:14px}.stocktake-row{border-bottom:1px solid var(--line);align-items:center;gap:18px;padding:17px 0;display:flex}.stocktake-product{flex:1;min-width:0}.stocktake-product strong{font-size:var(--type-row-title)}.stocktake-product strong span{color:var(--muted);font-size:var(--font-size-min);font-weight:400}.stocktake-product small{font-size:var(--font-size-min);color:var(--muted);margin-top:5px;display:block}.stocktake-entry{align-items:center;gap:10px;display:flex}.stocktake-entry input{width:95px;min-height:48px;font-size:var(--type-control);text-align:right;border:1px solid #cfd8e4;border-radius:8px;padding:10px}.stocktake-entry>span{color:var(--muted);min-width:16px;font-size:.875rem}.stocktake-value{text-align:right;min-width:100px;font-size:var(--type-row-amount)}.stocktake-subtotal{font-size:var(--type-label);background:#edf3ff;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;padding:20px;display:flex}.stocktake-subtotal small{font-size:var(--font-size-min);color:var(--muted);margin-top:5px;display:block}.stocktake-subtotal>strong{font-size:var(--type-total);color:var(--blue);white-space:nowrap}.stocktake-note{margin-top:15px}.stock-photo-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.stock-photo-previews{margin-top:20px}@media (max-width:760px){.stocktake-row{flex-direction:column;align-items:stretch;gap:12px}.stocktake-product strong{font-size:var(--type-row-title)}.stocktake-entry input{flex:1;min-width:0;max-width:180px}.stocktake-value{min-width:85px;margin-left:auto}.stocktake-subtotal{font-size:var(--type-label);padding:17px 14px}.stocktake-subtotal>strong{font-size:var(--type-total)}.stock-photo-actions .button{font-size:var(--type-action);flex:1;padding:12px}.stock-filters{gap:10px}}.login-page{background:#f5f7fa;place-items:center;min-height:100dvh;padding:28px 20px;display:grid}.login-card{max-width:560px;padding:36px}.login-card .brand{margin-bottom:36px}.login-card h1{margin-bottom:18px}.login-card>.body-text{margin-bottom:25px}.login-card>.subtle{margin-top:20px}.button:disabled{opacity:.6;cursor:not-allowed}.connection-alert{background:#fff8e7;margin-bottom:24px}.connection-alert>p{margin-top:14px;line-height:1.8}.settings-card>.body-text{padding:20px 0}.stocktake-card{margin-top:22px}.login-card .warning-box{margin-top:20px}.connection-row>a{margin-left:auto}.workspace-name span,.connection-row small{overflow-wrap:anywhere}.membership-register-form{grid-template-columns:1fr;gap:16px;margin-top:8px;display:grid}.membership-register-form .field{min-width:0;margin:0}.membership-register-form .field input{width:100%;min-width:0;overflow-x:auto}.membership-register-form .button{white-space:normal;width:100%;min-height:48px;margin-top:4px;line-height:1.45}@media (max-width:760px){.login-card{padding:28px 23px}.connection-alert .stock-photo-actions{flex-direction:column}.connection-alert .button{white-space:normal}.connection-row{flex-wrap:wrap}.connection-row small{max-width:100%}}.capture-item-status{padding:10px}.page-thumbnail p.capture-item-error{white-space:normal;color:#a42a28;font-size:var(--type-note);padding:10px;line-height:1.7}.live-product-row{flex-wrap:wrap}.cost-editor{flex-basis:100%}.cost-editor .card{width:100%;margin-top:12px}.stocktake-card>.card{margin:12px 0;padding:16px}.stocktake-card input[type=number]{max-width:220px}.product-list{background:0 0;border:0;flex-direction:column;gap:12px;padding:0;display:flex;overflow:visible}.product-card-stack{flex-direction:column;gap:0;min-width:0;display:flex}.product-card{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden}.product-card-summary{cursor:pointer;text-align:left;width:100%}.product-card-summary:hover,.product-card.is-open .product-card-summary{background:#f9fbff}.product-card .product-row{background:0 0;border-bottom:0;width:100%}.product-card .product-row:hover{background:0 0}.product-delivery-history{border-top:1px solid var(--line);min-width:0;padding:12px 16px 16px}.product-delivery-history>.card{background:0 0;border:0;border-radius:0;margin:0;padding:0}.product-delivery-history .delivery-item-ledger{background:0 0}.ledger-group{border-top:1px solid var(--border,#dfe4e8);overflow-wrap:anywhere;margin:16px 0;padding:20px 0}.ledger-group>summary{cursor:pointer;line-height:1.5;list-style:none}.ledger-supplier-heading{padding-right:26px;display:block;position:relative}.ledger-supplier-heading:after{content:"▾";position:absolute;top:0;right:0}.ledger-group[open] .ledger-supplier-heading:after{content:"▴"}.ledger-group>summary::-webkit-details-marker{display:none}.ledger-group>summary strong{font-size:var(--type-row-title)}.ledger-group>summary small{color:var(--muted);margin-top:4px;font-size:1rem;display:block}.ledger-group form{margin-top:16px}.ledger-group textarea{max-width:100%;min-height:80px;font:inherit;border:1px solid #dfe4e8;border-radius:8px;padding:12px}.ledger-card .ledger-money-row,.ledger-money-row{border:1px solid var(--line,#dfe4e8);box-sizing:border-box;background:#f5f8fc;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;margin:12px 0 0;padding:14px;display:grid}.ledger-card .ledger-money-block,.ledger-money-block{overflow-wrap:normal;word-break:keep-all;width:100%;min-width:0;display:block}.ledger-card .ledger-money-label,.ledger-money-label{font-size:var(--type-label);color:var(--muted);overflow-wrap:anywhere;word-break:normal;margin-bottom:8px;font-weight:600;display:block}.ledger-card .ledger-money-value,.ledger-money-value{width:100%;font-size:var(--type-total);letter-spacing:-.03em;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;word-wrap:normal;-webkit-text-size-adjust:100%;font-weight:700;line-height:1.2;display:block;overflow-x:auto}.ledger-card .ledger-money-value.amount-difference,.ledger-money-value.amount-difference{color:#c62828}.ledger-card .ledger-money-row .ledger-money-value{font-size:var(--type-row-amount)}.ledger-month-total{margin:20px 0}@media (max-width:520px){.ledger-card .ledger-money-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-card .ledger-money-row .ledger-money-label{font-size:var(--type-note)}}.ledger-amount-compare{border:1px solid var(--line,#dfe4e8);background:#f5f8fc;border-radius:8px;gap:8px;margin:12px 0;padding:12px 14px;display:grid}.ledger-amount-compare p{margin:0}.invoice-cover-capture{margin:16px 0 20px}.invoice-copy-diff-list{flex-direction:column;gap:16px;max-height:min(60vh,640px);margin-top:16px;display:flex;overflow:auto}.invoice-copy-diff-item{border:1px solid var(--line,#dfe4e8);background:#fff;border-radius:12px;padding:18px 16px}.invoice-copy-diff-slip{margin:0 0 12px;font-size:1.125rem;font-weight:700}.invoice-copy-diff-compare{grid-template-columns:5.5em 6.5em minmax(0,1fr);align-items:baseline;gap:6px 10px;margin:0;display:grid}.invoice-copy-diff-compare .date{white-space:nowrap;grid-row:1/span 2;font-weight:700}.invoice-copy-diff-compare .label{color:var(--muted)}.invoice-copy-diff-compare .money{font-size:var(--type-row-amount);white-space:nowrap;font-weight:700}.invoice-copy-diff-summary{margin:14px 0 0;font-size:1.0625rem;font-weight:700;line-height:1.6}.invoice-copy-diff-summary.amount-difference{color:#c62828}.invoice-copy-diff-choices{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.invoice-copy-diff-choices .button{border:1px solid var(--line,#dfe4e8)}.invoice-copy-diff-choices .button[aria-pressed=true]{color:var(--blue);background:#edf3ff;border-color:#b8cef8;font-weight:700}@media (max-width:640px){.ledger-money-row{gap:14px;padding:14px}.ledger-money-value{font-size:var(--type-total)}}.product-photo{flex-direction:column;flex:0 0 96px;align-items:center;gap:8px;min-width:0;max-width:120px;display:flex}.product-photo-frame{box-sizing:border-box;border:1px solid var(--line);cursor:pointer;appearance:none;width:80px;height:80px;color:inherit;font:inherit;background:#f5f7fa;border-radius:8px;place-items:center;margin:0;padding:0;display:grid;overflow:hidden}.product-photo-frame:disabled{opacity:.6;cursor:not-allowed}.product-photo-frame img{object-fit:contain;width:100%;height:100%;display:block}.product-photo-blank{width:100%;height:100%;display:block}.product-photo-action{font-size:var(--font-size-min);text-align:center;white-space:nowrap;padding:0}.product-photo small[role=alert]{text-align:center;overflow-wrap:anywhere;display:block}.shelf-choice{align-items:center;gap:8px;padding:6px 0;display:flex}.shelf-choice input{width:auto}.supplier-stock-totals{padding:16px 0}@media (max-width:640px){.live-product-row{flex-wrap:wrap;gap:12px}.product-photo{flex-basis:88px}.ledger-group summary strong{display:inline-block}}.invoice-difference{color:#9b3608;font-weight:700}.amount-difference{color:#c62828;font-weight:700}.question-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;display:flex}.question-queue{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.question-queue .button{font-size:var(--type-action);text-align:left;white-space:normal}.question-heading{overflow-wrap:anywhere;background:#f0f5ff;border:1px solid #d7e4ff;border-radius:12px;margin:16px 0;padding:18px}.question-heading h2{margin:6px 0 10px}.question-product{margin-top:12px}.question-product span{margin-top:5px;font-size:.875rem;display:block}.question-choices{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.question-choices button{white-space:normal;text-align:left}.question-footer{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.question-heading.new-product-pop{background:linear-gradient(#eef6ff 0%,#f7fbff 100%);border-color:#9ec0f5;box-shadow:0 10px 28px #2158d514}.question-heading.new-product-pop .eyebrow{color:var(--blue);letter-spacing:.14em}.question-heading.new-product-pop h2,.focused-review .question-heading.new-product-pop h2{font-size:var(--type-section)}[hidden]{display:none!important}.review-totals{background:#f5f7fa;border-radius:10px;grid-template-columns:1fr auto;gap:8px;padding:16px;display:grid}.review-totals dd{margin:0;font-weight:700}.focused-review .question-toolbar{gap:6px;margin:8px 0;font-size:.875rem}.focused-review .question-heading{margin:12px 0;padding:14px}.focused-review .question-heading h2{font-size:var(--type-section)}.focused-review .question-heading p{font-size:var(--type-body)}.focused-review fieldset{border:0;margin:10px 0;padding:0}.focused-review .question-footer{margin-top:14px}.delivery-filters{align-items:flex-end;gap:22px;margin-bottom:16px;display:flex}.delivery-filters>.field{flex:1;min-width:200px}.delivery-month{align-items:flex-end;gap:8px;display:flex}.delivery-filters .field{margin-bottom:0}.delivery-month .button{padding:8px 16px;font-size:1.625rem}.delivery-metrics{margin-top:20px}.delivery-supplier-list{flex-direction:column;gap:12px;min-width:0;display:flex}.delivery-supplier.card{padding:0;overflow:hidden}.delivery-supplier>summary{cursor:pointer;flex-direction:column;gap:10px;padding:18px 20px 12px;font-size:1rem;list-style:none;display:flex}.delivery-supplier>summary::-webkit-details-marker{display:none}.delivery-supplier-main{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.delivery-expand-hint{color:var(--muted);align-self:center;font-size:.75rem;line-height:1;transition:transform .15s;display:block}.delivery-supplier[open]>summary .delivery-expand-hint{transform:rotate(180deg)}.delivery-supplier summary small,.delivery-slip small{color:var(--muted);font-size:var(--font-size-min);margin-top:5px;display:block}.delivery-amount{text-align:right;flex-shrink:0}.delivery-day{background:#f8fafc;border-radius:8px;margin:0 20px 12px;padding:0 16px}.delivery-day .history-row>span{text-align:right}.delivery-slip{font-size:var(--type-body);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.delivery-slip>span:last-child{text-align:right}.delivery-slip a{display:block}.delivery-supplier>p{padding:0 20px 16px}.undated-slips{flex-direction:column;gap:12px;margin:16px 0;display:flex}.undated-slip-row{align-items:flex-start;gap:16px}.undated-slip-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}@media (max-width:760px){.production-shell .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.delivery-filters{flex-direction:column;align-items:stretch;gap:16px}.delivery-month{width:100%}.delivery-month .field{flex:1;min-width:0}.delivery-metrics{grid-template-columns:1fr}.delivery-supplier>summary{padding:16px 16px 10px;font-size:.9375rem}.delivery-supplier-main{min-width:0}.delivery-supplier-name{overflow-wrap:anywhere;min-width:0}.delivery-day{margin-inline:16px;padding:0 10px}.delivery-supplier>p{padding-inline:16px}}.capture-page{flex-direction:column;gap:20px;min-width:0;display:flex}.capture-page>.card,.capture-page>.info-box{width:100%;margin:0}.capture-page>.capture-empty{max-width:none}@media (max-width:760px){.production-shell .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.production-shell .bottom-nav button{min-height:48px;font-size:var(--font-size-min);white-space:normal;padding:4px 2px;line-height:1.4}.production-shell .content{padding-bottom:160px}}.production-shell .sidebar{overflow-y:auto}.production-shell .sidebar-note{padding-top:20px}.capture-guide-entry{justify-content:flex-end;display:flex}.capture-guide-entry .text-button{text-underline-offset:4px;text-decoration:underline}.capture-guide{border:1px solid var(--line);background:var(--bg);width:calc(100% - 40px);max-width:820px;max-height:calc(100dvh - 48px);color:var(--text);overscroll-behavior:contain;border-radius:16px;margin:auto;padding:0}.capture-guide::backdrop{background:#14263c88}.capture-guide-header{border-bottom:1px solid var(--line);z-index:1;background:#fff;align-items:center;gap:14px;padding:20px 26px;display:flex;position:sticky;top:0}.capture-guide-header .brand-mark{border-radius:12px;width:42px;height:42px;font-size:1.875rem}.capture-guide-header small{font-size:var(--font-size-min);letter-spacing:.12em;color:var(--muted)}.capture-guide-header h2{font-size:var(--type-section);margin-top:3px}.capture-guide-header .icon-button{flex-shrink:0;margin-left:auto}.capture-guide-body{padding:26px}.guide-switch{background:#e7edf6;border-radius:10px;grid-template-columns:1fr 1fr;gap:6px;margin:22px 0;padding:5px;display:grid}.guide-switch button{min-height:48px;color:var(--muted);font-size:var(--type-action);background:0 0;border-radius:7px;font-weight:650}.guide-switch button[aria-pressed=true]{color:var(--blue);background:#fff;box-shadow:0 1px 4px #24364b14}.guide-intro{background:#edf3ff;border:1px solid #d7e3fc;border-radius:12px;margin-bottom:20px;padding:24px}.guide-intro h3{font-size:var(--type-section);margin:8px 0 12px;line-height:1.5}.guide-intro p:last-child,.guide-tip>p{color:var(--muted);font-size:1rem;line-height:1.9}.guide-tip{border:1px solid var(--line);background:#fff;border-radius:12px;margin:20px 0;padding:24px}.guide-tip h3{font-size:var(--type-section);align-items:flex-start;gap:12px;margin-bottom:12px;line-height:1.6;display:flex}.guide-tip h3>span{background:var(--blue);color:#fff;border-radius:8px;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:.9375rem;display:grid}.guide-comparison{grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid}.guide-comparison figure{border:1px solid var(--line);background:#fff;border-radius:10px;margin:0;overflow:hidden}.guide-comparison svg,.guide-comparison img{width:100%;height:auto;display:block}.guide-comparison figcaption{font-size:var(--type-note);padding:12px;line-height:1.6}.guide-comparison figcaption b{margin-right:4px}.guide-good figcaption{color:#276840;background:#e8f5ec}.guide-bad figcaption{color:#a42a28;background:#ffe9e8}.guide-note{border-left:3px solid var(--blue);font-size:var(--type-note);background:#fff;padding:16px;line-height:1.8}.guide-check{border:1px solid var(--line);background:#fff;border-radius:12px;margin:24px 0;padding:24px}.guide-check h3{margin-bottom:14px}.guide-check label{min-height:52px;font-size:var(--type-label);border-top:1px solid var(--line);cursor:pointer;align-items:center;gap:12px;padding:12px 0;line-height:1.6;display:flex}.guide-check input{width:20px;height:20px;accent-color:var(--blue);flex-shrink:0}.capture-guide button:focus-visible,.guide-check input:focus-visible{outline-offset:3px;outline:3px solid #2158d5}@media (max-width:600px){.capture-guide{width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.capture-guide-header{padding:14px 16px}.capture-guide-body,.guide-intro,.guide-tip,.guide-check{padding:18px 16px}.guide-intro h3,.guide-tip h3{font-size:var(--type-section)}.guide-comparison{gap:8px}.guide-comparison figcaption{font-size:var(--type-note);padding:9px}}.slip-history{flex-direction:column;gap:20px;display:flex}.slip-history>.info-box,.slip-history>.warning-box,.slip-history>.field,.slip-history>.card{margin:0}.slip-history>.info-box small{margin-top:8px;line-height:1.8;display:block}.slip-history .warning-box{flex-direction:column;gap:12px;margin-bottom:0;display:flex}.slip-history-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:4px;display:flex}.slip-history-actions .button{white-space:normal;text-align:center;line-height:1.6}.slip-history-item{flex-direction:column;gap:14px;display:flex}.slip-history-item>p{font-size:var(--type-body);line-height:1.8}.slip-history-item>.button,.slip-history-item>.text-button{align-self:flex-start}.slip-history-item form{flex-direction:column;gap:16px;margin-top:12px;display:flex}.slip-history-item form .field{margin:0}.slip-history .empty-list{padding:24px 12px}@media (max-width:600px){.slip-history{gap:18px}.slip-history-actions{flex-direction:column;align-items:stretch;gap:10px}.slip-history-actions .button{width:100%}}.inventory-sheet{flex-direction:column;gap:24px;display:flex}.inventory-sheet .stocktake-subtotal{margin:0}.inventory-filters{border:1px solid var(--line);background:#f5f8fc;border-radius:12px;padding:20px}.inventory-filters .price-filters{margin:16px 0 0}.inventory-filters .field{margin:0}.inventory-filters input{font-size:var(--type-control)}.inventory-entries{background:0 0;border:0;border-radius:0;flex-direction:column;gap:12px;display:flex;overflow:visible}.inventory-entries:empty{display:none}.inventory-entry{border:1px solid var(--line);background:#fff;border-radius:15px;justify-content:space-between;align-items:center;gap:24px;padding:20px;display:flex}.inventory-entry:last-child{border:1px solid var(--line)}.inventory-entry:nth-child(2n){background:#fff}.inventory-product{overflow-wrap:anywhere;min-width:0}.inventory-product strong{font-size:var(--type-row-title)}.inventory-product small{color:var(--muted);margin-top:6px;line-height:1.6;display:block}.inventory-product .text-button{font-size:var(--type-note);padding:8px 0}.inventory-quantity{flex:0 0 180px;margin:0}.inventory-quantity>div{align-items:center;gap:10px;display:flex}.inventory-quantity input{font-size:var(--type-control);text-align:right;min-width:0}.inventory-quantity span{white-space:nowrap}.inventory-sheet>.stock-photo-actions,.inventory-sheet>.warning-box,.inventory-sheet>details{margin:0}.inventory-sheet h3 small{color:var(--muted);font-size:.875rem;font-weight:400}.ai-settings{flex-direction:column;gap:18px;display:flex}.ai-settings form{flex-direction:column;gap:16px;display:flex}.ai-settings .field,.ai-settings .stock-photo-actions{margin:0}.supplier-list{flex-direction:column;gap:16px;display:flex}.supplier-list>h2{margin:0}.supplier-cards{flex-direction:column;gap:12px;display:flex}@media (max-width:600px){.inventory-entry{flex-direction:column;align-items:stretch;gap:16px;padding:16px}.inventory-quantity{flex:auto}.inventory-quantity>div{max-width:230px}.inventory-filters{padding:16px}.inventory-sheet{gap:20px}}.production-shell .content,.production-shell .delivery-results{flex-direction:column;gap:24px;min-width:0;display:flex}.production-shell .content>*,.production-shell .delivery-results>*{min-width:0;margin-top:0;margin-bottom:0}.production-shell .card>:is(h2,h3)+:is(p,.subtle){margin-top:8px}.production-shell .ledger-card>.subtle+.price-filters,.production-shell .ledger-group>.card{margin-top:16px}.ledger-group>.invoice-cover-warning{margin-top:20px}.invoice-copy-capture>.invoice-copy-heading,.invoice-copy-mail>.invoice-copy-heading{font-size:var(--type-row-title);overflow-wrap:anywhere;font-weight:750;line-height:1.35}.invoice-copy-capture>.invoice-copy-heading{margin-bottom:12px}.invoice-copy-mail>.invoice-copy-mail-count{font-size:var(--type-label);margin-top:8px;font-weight:700}.production-shell .capture-page>.capture-actions{margin-top:0}.production-shell .form-stack{flex-direction:column;gap:16px;display:flex}.production-shell .form-stack>:is(.field,.info-box,.warning-box,.card,p,h3),.production-shell .form-stack .form-grid>.field{margin-top:0;margin-bottom:0}.production-shell .form-stack>.button{white-space:normal;align-self:flex-start;max-width:100%}.production-shell .form-stack>.form-grid{row-gap:16px}.production-shell .settings-card>:is(h2,h3):not(:first-child){margin-top:28px}.production-shell .settings-card>form,.production-shell .settings-card>details{margin-top:20px}.production-shell .settings-card>.subtle+.field,.production-shell .settings-card>.settings-note+.field{margin-top:16px}.production-shell .settings-card>details[open]>:not(summary){margin-top:12px}.settings-note{background:0 0;border:0;margin:0;padding:0}.settings-note>summary{cursor:pointer;color:var(--muted);font-size:var(--type-note);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;line-height:1.6;list-style:none;display:flex}.settings-note>summary::-webkit-details-marker{display:none}.settings-note-label{overflow-wrap:anywhere;min-width:0}.settings-note-hint{flex-shrink:0;font-size:.75rem;line-height:1;transition:transform .15s}.settings-note[open]>summary .settings-note-hint{transform:rotate(180deg)}.settings-note-body{color:var(--muted);font-size:var(--type-note);padding:0 0 4px;line-height:1.8}.settings-note-body>p{margin:0}.settings-note-body>p+p{margin-top:10px}.production-shell .ai-settings>.settings-note,.production-shell .ai-settings form>.settings-note,.production-shell .smaregi-settings-card>.settings-note,.production-shell .backup-settings-card>.settings-note,.production-shell .settings-card>.settings-note{margin-top:8px}.production-shell .backup-settings-card>.settings-note+.connection-row,.production-shell .backup-settings-card>.settings-note+.button{margin-top:16px}.production-shell .shelf-scan>:not(summary):not(.shelf-choice){margin-top:16px;margin-bottom:0}.production-shell .shelf-scan .form-stack>label:not(.field){align-items:flex-start;gap:10px;line-height:1.8;display:flex}.production-shell .shelf-scan .form-stack input[type=checkbox]{flex-shrink:0;margin-top:5px}@media (max-width:760px){.production-shell .content,.production-shell .delivery-results{gap:20px}}.production-shell .backup-settings-card>.button{white-space:normal;max-width:100%;margin-top:20px}.delivery-view-switch{flex-wrap:wrap;gap:8px;display:flex}.delivery-view-switch button{border:1px solid var(--line);min-height:48px;color:var(--muted);background:#fff;border-radius:9px;padding:12px 20px}.delivery-view-switch button[aria-pressed=true]{color:var(--blue);background:#edf3ff;border-color:#b8cef8;font-weight:700}.delivery-item-ledger{flex-direction:column;gap:20px;min-width:0;display:flex}.delivery-item-ledger>.price-filters,.delivery-item-ledger>.stock-photo-actions{margin:0}.delivery-item-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.delivery-item-list{flex-direction:column;gap:16px;display:flex}.delivery-item{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;gap:12px;padding:20px;display:flex}.delivery-item-title{justify-content:space-between;gap:16px;display:flex}.delivery-item-name{font-size:var(--type-row-title);margin:0;font-weight:750;line-height:1.35}.delivery-item-supplier{font-size:var(--type-label);margin:4px 0;font-weight:700}.delivery-item-title>strong{text-align:right;white-space:nowrap}.delivery-item-title small{color:var(--muted);font-size:var(--font-size-min);font-weight:400;display:block}.delivery-item-facts{background:#f5f8fc;border-radius:9px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:16px;display:grid}.delivery-item-facts dt{font-size:var(--font-size-min);color:var(--muted)}.delivery-item-facts dd{font-size:var(--type-body);margin:6px 0 0}.delivery-item>.text-button{align-self:flex-start}@media (max-width:760px){.delivery-item-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-item{padding:16px}.delivery-item-title{flex-direction:column;gap:8px}.delivery-item-title>strong{text-align:left}.delivery-item-toolbar .button{white-space:normal}.product-delivery-history{padding:12px}.product-card .product-row{padding:16px}}.production-shell .smaregi-settings-card{flex-direction:column;gap:16px;display:flex}.production-shell .smaregi-settings-card>:is(p,.capture-actions,.form-stack){margin:0}.production-shell .smaregi-settings-card h2{padding-bottom:0}.public-info-links{font-size:var(--type-note);color:#596575;flex-wrap:wrap;gap:14px;margin-top:18px;display:flex}.public-info-links a{text-decoration:underline}.public-info-footer{flex-wrap:wrap;gap:12px}.public-info-footer .public-info-links{flex-basis:100%;margin-top:0}.save-success-status,.info-box.save-success-status{font-size:1.5em;font-weight:700}.app-help-link{white-space:nowrap;color:var(--blue);text-underline-offset:3px;flex-shrink:0;font-weight:700;text-decoration:underline}@media (max-width:400px){.topbar{flex-wrap:wrap;gap:0 8px;height:auto;min-height:65px;padding:4px 12px}.topbar .text-button{padding-inline:4px}.settings-card .capture-actions{flex-wrap:wrap}.settings-card .capture-actions .button{white-space:normal;overflow-wrap:anywhere;min-width:0}}.brand .stockflow-brand-mark{object-fit:contain;background:0 0;display:block}.inventory-summary-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.inventory-summary-table th,.inventory-summary-table td{border-bottom:1px solid var(--line);text-align:right;padding:12px 8px}.inventory-summary-table th:first-child{text-align:left;overflow-wrap:anywhere}.inventory-summary-table td{white-space:nowrap}.delivery-filters{--delivery-month-inset:12px;--delivery-filter-height:3.25rem}.delivery-month{padding:var(--delivery-month-inset);background:#edf3ff;border:1px solid #b8cef8;border-radius:12px}.delivery-month .field{color:var(--blue)}.delivery-filters .field,.delivery-input-check .field{font-size:var(--type-label)}.delivery-filters .field input,.delivery-filters .field select,.delivery-input-check .field input[type=date]{font-size:var(--type-control);font-weight:700}.delivery-month .button,.delivery-month input,.delivery-filters>.field select{height:var(--delivery-filter-height);min-height:var(--delivery-filter-height)}.delivery-month .button{padding-block:0}@media (min-width:761px){.delivery-filters>.field{padding-bottom:calc(var(--delivery-month-inset) + 1px)}}.delivery-input-counts{font-size:var(--type-label);flex-wrap:wrap;gap:8px 20px;margin-bottom:12px;display:flex}.delivery-input-counts .delivery-unapproved{color:#854d0e}.delivery-results .delivery-metrics{align-items:stretch}.delivery-results .delivery-metrics .metric-label{font-size:var(--type-label);font-weight:700}.delivery-view-switch button{font-size:var(--type-action);flex:140px;font-weight:700}.delivery-view-switch button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}.delivery-supplier-name{overflow-wrap:anywhere;min-width:0}.delivery-supplier-name>strong{font-size:var(--type-row-title)}.delivery-amount{overflow-wrap:anywhere;flex-shrink:1;min-width:0}.delivery-gross-amount{flex-wrap:wrap;justify-content:flex-end;align-items:baseline;column-gap:.35em;display:flex}.delivery-gross-amount strong{font-size:var(--type-row-amount)}.delivery-supplier summary .delivery-gross-amount small{margin-top:0}.delivery-amount .delivery-net-amount{font-size:var(--type-body);font-weight:600}.delivery-metrics .metric .delivery-unapproved,.delivery-supplier summary .delivery-unapproved{color:#854d0e;font-weight:700}@media (max-width:400px){.delivery-filters{--delivery-month-inset:8px}.delivery-month{gap:6px}.delivery-month .button{padding-inline:10px}.delivery-supplier-main{gap:10px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
