:root{--bg:#fbf7f0;--surface:#fffdf9;--surface-muted:#f4ecdd;--text:#2b2a22;--text-muted:#8f8676;--border:#eadfcc;--accent:#2f5a43;--accent-text:#fff;--accent-soft:#eef3e6;--primary:#d8eac0;--primary-text:#2f4a38;--primary-border:#c5dca8;--gold:#a07a35;--flower-soft:#f3ead8;--flower-text:#7a5c24;--greenery-soft:#e6efdc;--greenery-text:#2f5a43;--danger-bg:#f9e6e1;--danger-text:#8a2c1f;--warning-bg:#f8eedb;--warning-text:#75531b;--radius:20px;--tab-bar-height:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Noto Sans Hebrew,Arial,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{background:var(--bg);-webkit-tap-highlight-color:transparent;margin:0}body.has-sheet{overflow:hidden}h1,h2,p{margin:0}button,select,input,textarea{font:inherit;color:inherit}button{border:1px solid var(--border);background:var(--surface);cursor:pointer;touch-action:manipulation;border-radius:14px;min-height:44px;padding:0 14px}button:disabled{opacity:.55;cursor:default}select,input:not([type=checkbox]),textarea{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:100%;min-height:44px;padding:8px 12px;font-size:17px}textarea{resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}ul{margin:0;padding:0;list-style:none}.muted{color:var(--text-muted)}.no-price,.unit-switch.no-price{color:var(--gold)}.small{font-size:14px}.app{max-width:640px;min-height:100dvh;padding:max(12px, env(safe-area-inset-top)) 16px calc(var(--tab-bar-height) + env(safe-area-inset-bottom) + 20px);margin:0 auto}.app-header{justify-content:space-between;align-items:center;gap:12px;padding-block:4px 12px;display:flex}.language-button{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--text-muted);cursor:pointer;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:0 12px;font-size:15px;display:inline-flex;position:relative}.language-button select{opacity:0;cursor:pointer;border:none;width:100%;height:100%;min-height:0;padding:0;font-size:16px;position:absolute;inset:0}.app-title{letter-spacing:-.3px;font-size:22px;font-weight:500}.app-main{touch-action:pan-y;flex-direction:column;gap:14px;display:flex;overflow-x:clip}.screen-slide{--slide-from:0}.slide-next{--slide-from:48px}.slide-prev,[dir=rtl] .slide-next{--slide-from:-48px}[dir=rtl] .slide-prev{--slide-from:48px}.slide-next,.slide-prev{animation:.18s ease-out slide-in}@keyframes slide-in{0%{transform:translateX(var(--slide-from));opacity:.4}}@media (prefers-reduced-motion:reduce){.slide-next,.slide-prev{animation:none}}.screen{flex-direction:column;gap:14px;display:flex}.tab-bar{inset-inline:0;z-index:10;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--border);background:var(--surface);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0}.tab-bar button{min-width:0;height:var(--tab-bar-height);color:var(--text-muted);background:0 0;border:none;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:0 2px;font-size:12px;display:flex}.tab-bar button:before{content:"";border-radius:50%;width:5px;height:5px}.tab-bar button[aria-current=page]:before{background:var(--gold)}.tab-bar button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.tab-bar button[aria-current=page]{color:var(--accent)}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:14px 16px}.card-title{color:var(--text-muted);margin-block-end:10px;font-size:14px;font-weight:500}.notice{background:var(--accent-soft);border-radius:16px;padding:12px 14px;font-size:15px}.notice-danger{background:var(--danger-bg);color:var(--danger-text)}.notice-warning{background:var(--warning-bg);color:var(--warning-text)}.update-banner{justify-content:space-between;align-items:center;gap:10px;display:flex}.primary-button{background:var(--primary);width:100%;min-height:50px;color:var(--primary-text);border:none;border-radius:999px;font-weight:500}.primary-button.compact{width:auto;min-height:44px}.danger-button{border-color:var(--danger-text);color:var(--danger-text);background:0 0}.link-button{min-height:36px;color:var(--accent);background:0 0;border:none;padding:0 4px;text-decoration:none}.icon-button{background:0 0;border:none;place-items:center;width:44px;padding:0;display:grid}.actions-row{flex-wrap:wrap;gap:8px;display:flex}.segmented{border:1px solid var(--border);background:var(--surface);border-radius:999px;gap:4px;padding:3px;display:flex}.segmented button{min-height:36px;color:var(--text-muted);background:0 0;border:none;border-radius:999px;flex:1;font-size:15px}.segmented button[aria-pressed=true]{background:var(--primary);color:var(--primary-text)}.search-input{font-size:17px}.search-bar{z-index:5;background:var(--bg);flex-direction:column;gap:8px;margin-block:-8px;padding-block:8px;display:flex;position:sticky;top:0}.search-results{min-height:100dvh}.sheet-body .search-bar{margin-block-start:-14px;padding-block-start:14px;top:-14px}.field{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--text-muted);font-size:14px}.field-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.checkbox{align-items:center;gap:10px;font-size:15px;display:flex}.checkbox input{width:22px;height:22px;accent-color:var(--accent)}.line-photo-button,.line-name-button{text-align:start;background:0 0;border:none;border-radius:0;min-height:0;padding:0}.line-photo-button{display:flex}.line-name-button{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.unit-switch{white-space:nowrap;min-height:0;color:var(--accent);text-align:start;background:0 0;border:none;align-self:flex-start;padding:0}.history{flex-direction:column;gap:4px;display:flex}.history-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.history-header .card-title{margin-block-end:0}.history-row{border:none;border-bottom:1px solid var(--border);text-align:start;background:0 0;border-radius:0;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:0;display:flex}.history-details{border-bottom:1px solid var(--border);flex-direction:column;gap:10px;padding:8px 0 12px;display:flex}.history-details li{justify-content:space-between;gap:12px;font-size:15px;display:flex}.unit-choice{grid-template-columns:1fr 1fr;gap:10px;display:grid}.unit-choice button{flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:72px;font-size:18px;font-weight:500;display:flex}.warning-text{color:var(--warning-text)}.chip{background:var(--warning-bg);min-height:34px;color:var(--warning-text);border:none;border-radius:999px;padding:0 12px;font-size:14px}.badge{background:var(--surface-muted);color:var(--text-muted);vertical-align:middle;border-radius:6px;margin-inline-start:6px;padding:1px 6px;font-size:11px;font-weight:500}.progress{width:100%;height:8px;accent-color:var(--accent)}.item-photo{-webkit-user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;object-fit:cover;background:var(--surface-muted);border-radius:12px;flex-shrink:0}.item-photo-small{width:44px;height:44px}.item-photo-medium{aspect-ratio:1;width:100%}.item-photo-large{aspect-ratio:1;width:100%;max-width:320px;margin-inline:auto}.item-photo-empty{place-items:center;font-weight:400;display:grid}.item-photo-empty.is-flower{background:var(--flower-soft);color:var(--flower-text)}.item-photo-empty.is-greenery{background:var(--greenery-soft);color:var(--greenery-text)}.item-photo-small{border-radius:50%}.item-photo-small.item-photo-empty{font-size:18px}.item-photo-medium.item-photo-empty{font-size:34px}.item-photo-large.item-photo-empty{font-size:64px}.sheet-backdrop{z-index:20;background:#00000073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:640px;max-height:calc(100dvh - max(24px, env(safe-area-inset-top)));background:var(--bg);border-radius:24px 24px 0 0;flex-direction:column;display:flex}.sheet.is-tall{height:calc(100dvh - max(24px, env(safe-area-inset-top)))}.sheet-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 8px 16px;display:flex}[dir=rtl] .sheet-header{padding:8px 16px 8px 8px}.sheet-header h2{font-size:18px;font-weight:500}.sheet-body{overscroll-behavior:contain;flex-direction:column;gap:12px;padding:14px 16px;display:flex;overflow-y:auto}.sheet-footer{padding:10px 16px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--border);gap:10px;display:flex}.sheet-footer button{border-radius:999px;flex:1}.pick-list,.price-list{flex-direction:column;display:flex}.pick-row,.price-row{border:none;border-bottom:1px solid var(--border);text-align:start;background:0 0;border-radius:0;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 4px;display:flex}.pick-name,.price-name,.line-name{flex-direction:column;flex:1;min-width:0;display:flex}.line-name>span:first-child,.price-name>span:first-child,.catalog-name{overflow-wrap:anywhere}.price-sale{font-variant-numeric:tabular-nums;white-space:nowrap}.welcome{border-color:var(--primary-border);flex-direction:column;gap:10px;display:flex}.welcome-title{font-size:18px;font-weight:500}.welcome-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.welcome-actions button{border-radius:999px;width:100%;min-height:48px}.speech-check,.check-result{flex-direction:column;gap:8px;display:flex}.check-heard{font-size:18px}.loading-line{text-align:center}.model-card{flex-direction:column;gap:10px;display:flex}.record-area{flex-direction:column;align-items:center;gap:6px;display:flex}.record-button{background:var(--primary);width:100%;min-height:62px;color:var(--primary-text);border:none;border-radius:999px;justify-content:center;align-items:center;gap:10px;font-size:18px;font-weight:500;display:flex}.record-button.is-recording{background:var(--danger-bg);color:var(--danger-text);animation:1.4s ease-in-out infinite recording}@keyframes recording{50%{opacity:.8}}@media (prefers-reduced-motion:reduce){.record-button.is-recording{animation:none}}.type-area{flex-direction:column;gap:8px;display:flex}.type-area button{width:100%}.unknown{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.empty-hint{text-align:center;padding:12px 4px}.bouquet-lines{grid-template-columns:auto minmax(0,1fr) auto auto;column-gap:6px;display:grid}.bouquet-line .item-photo-small{width:36px;height:36px;font-size:16px}.bouquet-line{grid-column:1/-1;grid-template-columns:subgrid;border-bottom:1px solid var(--border);align-items:center;min-height:62px;padding-block:8px;display:grid}.lump-line .line-name{grid-column:1/3}@supports not (grid-template-columns:subgrid){.bouquet-line{gap:8px;display:flex}}.stepper{align-items:center;gap:6px;display:flex}.stepper button{width:32px;height:32px;min-height:0;color:var(--text-muted);border-radius:50%;margin-block:4px;padding:0;font-size:18px;font-weight:300;line-height:1}.quantity{font-variant-numeric:tabular-nums;text-align:center;width:3ch;font-size:17px}.line-total{font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap}.total{color:var(--text-muted);justify-content:space-between;align-items:baseline;padding-block-start:14px;font-size:16px;display:flex}.total strong{color:var(--text);letter-spacing:-1px;font-variant-numeric:tabular-nums;font-size:44px;font-weight:300}.add-line-button{width:100%;color:var(--accent);background:0 0;border-style:dashed;margin-block-start:10px}.bouquet .notice{margin-block-start:10px}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.catalog-card{text-align:start;border-radius:18px;flex-direction:column;align-items:stretch;gap:6px;width:100%;height:100%;padding:8px;display:flex}.catalog-name{font-size:15px;line-height:1.3}.catalog-price{margin-top:auto;font-size:18px}.item-card-backdrop{z-index:20;padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));background:#00000073;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.item-card{overscroll-behavior:contain;background:var(--surface);border-radius:28px;flex-direction:column;width:100%;max-width:420px;max-height:100%;animation:.2s ease-out card-in;display:flex;overflow-y:auto;box-shadow:0 20px 60px #00000040}@keyframes card-in{0%{opacity:0;transform:scale(.94)}}@media (prefers-reduced-motion:reduce){.item-card{animation:none}}.item-card-photo{flex-shrink:0;position:relative}.item-card .item-photo-large{border-radius:0;max-width:none}.item-card .item-photo-empty{aspect-ratio:2}.item-card-close{top:12px;width:40px;min-height:40px;color:var(--text-muted);background:#fffdf9eb;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;inset-inline-end:12px}.item-card-body{flex-direction:column;padding:18px 20px 22px;display:flex}.item-card-name{letter-spacing:-.3px;font-size:26px;font-weight:500}.item-card-other{margin-top:4px;font-size:15px}.item-card-price{margin-block:16px 20px;font-size:16px}.item-card-amount{letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-size:38px;font-weight:300}.item-card-price.no-price{font-size:22px}.multiplier-row{gap:16px;display:flex}.multiplier-row label{flex:1;align-items:center;gap:8px;display:flex}.multiplier-row label span{white-space:nowrap}.editor-photo .item-photo-large{max-width:200px}.prices-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.prices-toolbar button{border-radius:16px;width:100%;min-height:56px;padding:4px 6px;font-size:14px;line-height:1.25}.multiplier-input{text-align:center;max-width:90px}.editor{flex-direction:column;gap:14px;display:flex}.editor fieldset{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:10px;margin:0;padding:12px;display:flex}.editor legend{color:var(--text-muted);padding-inline:4px;font-size:14px}.editor-photo{flex-direction:column;align-items:center;gap:10px;display:flex}.sale-preview{border-radius:var(--radius);background:var(--accent-soft);justify-content:space-between;align-items:baseline;padding:12px 14px;display:flex}.sale-preview strong{font-size:22px}.settings .card{flex-direction:column;gap:10px;display:flex}.settings .card-title{margin-block-end:0}.version{text-align:center}.speech-test{flex-direction:column;gap:16px;display:flex}.mic-area{flex-direction:column;align-items:center;gap:10px;padding-block:12px;display:flex}.mic-button{background:var(--accent);width:112px;height:112px;color:var(--accent-text);border:none;border-radius:50%;place-items:center;display:grid;position:relative}.mic-button.is-listening:after{content:"";border:3px solid var(--accent);border-radius:50%;animation:1.4s ease-out infinite pulse;position:absolute;inset:-10px}@keyframes pulse{0%{opacity:1;transform:scale(.92)}to{opacity:0;transform:scale(1.15)}}@media (prefers-reduced-motion:reduce){.mic-button.is-listening:after{animation:none}}.mic-status{color:var(--text-muted)}.card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.card-header .card-title{margin-block-end:0}.card-actions{flex-wrap:wrap;gap:6px;display:flex}.card-actions button{min-height:34px;padding:0 10px;font-size:14px}.interim-text{min-height:1.5em;font-size:20px}.results{flex-direction:column;gap:10px;margin-block-start:12px;display:flex}.result{border-block-end:1px solid var(--border);padding-block-end:10px}.result:last-child{border-block-end:none;padding-block-end:0}.result-main{font-size:18px}.confidence{color:var(--text-muted);margin-inline-start:8px;font-size:13px}details{margin-block-start:4px;font-size:15px}summary{color:var(--text-muted);cursor:pointer;font-size:13px}.alternatives{margin-block-start:4px;padding-inline-start:18px;list-style:outside}.try-list{flex-direction:column;gap:10px;font-size:14px;display:flex}.try-list li{flex-direction:column;display:flex}.try-example{text-align:start;unicode-bidi:plaintext;font-size:17px}.typed{margin-block:8px;font-size:18px;display:block}.log summary{font-size:14px}.log-body{flex-direction:column;align-items:flex-start;gap:8px;margin-block-start:8px;display:flex}.log-body pre{white-space:pre-wrap;word-break:break-word;text-align:left;align-self:stretch;max-height:240px;margin:0;font-family:ui-monospace,Menlo,monospace;font-size:12px;overflow:auto}
