*{box-sizing:border-box} :root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;color:#111d2e;background:#f7faf7;line-height:1.5;color-scheme:light;--green:#087843;--green-dark:#056134;--muted:#526173;--border:#dbe3e2}body{margin:0}main{max-width:620px;margin:0 auto;padding:22px 20px 32px;background:#fff;min-height:100dvh}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.4rem,8vw,3.6rem);letter-spacing:-.055em;line-height:1.1;margin-bottom:22px}h2{font-size:1.85rem;line-height:1.15;letter-spacing:-.035em;margin:0 0 10px}h3{font-size:1rem}p{margin-bottom:14px}.app-header{display:flex;align-items:center;gap:9px;font-weight:750;letter-spacing:-.02em;font-size:1.05rem;margin-bottom:32px}.brand-icon{color:var(--green);font-size:1.5rem}.demo-badge{margin-left:auto;font-size:.6rem;letter-spacing:.1em;color:#69786e;background:#f0f4ef;padding:3px 7px;border-radius:5px}.eyebrow{color:var(--green);font-size:.68rem;letter-spacing:.13em;font-weight:750;margin-bottom:12px}.lead,.intro{color:var(--muted)}.lead{margin-bottom:20px}.intro{font-size:1.12rem;line-height:1.6}.start-screen{text-align:center;padding:15px 0 30px}.hero-symbol{width:142px;height:142px;background:linear-gradient(145deg,#ecf8ed,#d8efdf);border-radius:50%;margin:0 auto 28px;display:grid;place-items:center}.hero-symbol svg{width:90px;height:90px;fill:none;stroke:var(--green);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.start-screen .primary{margin-top:26px}.start-steps{display:flex;justify-content:center;gap:20px;font-size:.78rem;color:var(--muted);margin:24px 0}.start-steps b{display:block;margin:auto auto 5px;background:#edf6ee;border-radius:50%;height:27px;width:27px;line-height:27px;color:var(--green)}button,input,select,textarea{font:inherit;color:inherit}button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin:9px 0;background:white;cursor:pointer;font-weight:680;line-height:1.3}button.primary{color:white;background:linear-gradient(110deg,#07884b,#006c3c);border-color:transparent;box-shadow:0 3px 9px #006c3c12}button.primary:hover{background:var(--green-dark)}button.secondary{color:#526173;border-color:#a6b3bc;background:#fff}button:disabled{cursor:default;background:#edf0ef!important;color:#75817c;border-color:#dbe3e2;box-shadow:none}.text-button{border:0;color:var(--green);background:transparent}.danger-text{border:0;color:#aa3333;background:transparent;font-size:.87rem}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #1695c9;outline-offset:3px}label{display:block;font-size:.86rem;font-weight:650;margin-bottom:5px}input,select,textarea{width:100%;min-width:0;min-height:49px;border:1px solid #aab8c5;border-radius:9px;background:#fff;padding:10px 12px;margin:0 0 16px}textarea{display:block;resize:vertical}#note{min-height:210px;background:#f6f8f7;border-color:#d3dcda;line-height:1.65}.small{font-size:.78rem;color:var(--muted)}.notice{font-size:.78rem;color:var(--muted);padding:10px 12px;background:#f2f7f3;border:1px solid #e0ebe2;border-radius:9px;margin:14px 0}.info-note{font-size:.78rem;padding:12px 14px;border:1px solid #dce7e2;border-radius:11px;background:#f5f8f6;color:var(--muted)}.warning,[role=alert]{font-size:.85rem;padding:12px 14px;background:#fff7e7;border:1px solid #f1dbac;border-radius:10px;color:#775019}.demo-notice{display:inline-block;background:#fff1d3;color:#805b19;border-radius:20px;padding:6px 12px;font-size:.72rem}.microphone-panel{position:sticky;top:0;z-index:2;background:#fffffff5;backdrop-filter:blur(10px);padding:8px 0 12px;margin-bottom:18px;border-bottom:1px solid #ecf0eb}#microphone{min-height:70px;font-size:1.1rem;margin:0;border-radius:14px}.microphone-panel button[data-tone=ready]{background:var(--green);color:white;border-color:var(--green)}button[data-tone=listening]:not(:disabled){background:#bd3335!important;border-color:#bd3335;color:white;box-shadow:0 0 0 5px #bd333511}button[data-tone=waiting]:not(:disabled){background:#e8eded!important;color:#526173}#speech-state{font-size:.75rem;color:var(--muted);margin:7px 0 0;text-align:center}#live-indicator,#correction-live{display:flex;align-items:center;justify-content:center;gap:8px;color:#b72a31;font-size:.8rem;font-weight:700;margin:10px 0 0}.live-dot{width:10px;height:10px;border-radius:50%;background:#bd3335;animation:pulse 1.4s infinite;flex-shrink:0}#interim,#correction-interim{max-height:4em;overflow-y:auto;margin:7px 0 0}#interim:empty,#correction-interim:empty{display:none}#extract-status,#correction-status{font-size:.85rem;color:var(--green);padding:12px;background:#edf7ef;border-radius:9px}details{margin:12px 0}summary{cursor:pointer;color:var(--muted);font-size:.8rem;min-height:44px;display:list-item;padding:10px 0}.original{white-space:pre-wrap}.address-details{border-bottom:1px solid var(--border);padding-bottom:4px;margin-bottom:22px}.room-group{margin:22px 0}.room-heading{display:flex;align-items:center;gap:7px;background:linear-gradient(90deg,#e9eeed,#f4f6f5);border-radius:8px;font-size:.8rem;letter-spacing:.04em;padding:7px 10px;margin:0;font-weight:750;text-transform:uppercase}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.room-heading .icon{width:16px;height:16px}.product-row{display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:start;gap:10px;padding:15px 2px;border-bottom:1px solid #e5eae8}.product-row>.icon{margin-top:3px;color:#23594e;width:26px;height:26px}.product-line{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.product-name{font-size:1rem;line-height:1.35;font-weight:730;letter-spacing:-.015em;min-width:0}.quantity{font-size:.82rem;font-weight:730;color:#145b32;background:#e5f5e5;border-radius:20px;padding:1px 9px;white-space:nowrap;line-height:1.5}.quantity.missing{background:#fff0cc;color:#805008}.product-parameters{font-size:.88rem;line-height:1.5;color:#394a5d;margin:4px 0 0;font-weight:450}.product-issue{font-size:.73rem;color:#91561a;margin:5px 0 0}.edit-row{width:auto;min-width:44px;min-height:44px;padding:5px 3px;margin:-7px 0 0;border:0;border-radius:7px;font-size:.75rem;font-weight:550;color:#33495b;gap:4px}.edit-row .icon{width:15px;height:15px}.empty-list{color:var(--muted);padding:20px 0;font-size:.9rem}.current-product{background:linear-gradient(110deg,#f2faf2,#f7fbf5);border:1px solid #c6e6ca;border-radius:14px;padding:17px;margin:24px 0 18px}.current-product .eyebrow{font-size:.73rem;letter-spacing:0;color:#394a5d;margin:0 0 6px}.current-product .product-name{font-size:1.15rem}.current-product .room-name{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--muted);margin:8px 0 0}.current-product .room-name .icon{width:16px;height:16px}.correction-panel>button{min-height:57px}.correction-panel>.small{text-align:center}.correction-panel textarea{min-height:80px;font-size:.9rem}#correction-text-details{font-size:.8rem}#correction-text-details summary{text-align:center}.divider{display:flex;align-items:center;gap:12px;font-size:.83rem;font-weight:650;color:#66758a;margin:23px 0 18px}.divider::before,.divider::after{content:'';height:1px;background:var(--border);flex:1}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}#edit-parameters{min-height:80px}.check-label{display:flex;gap:9px;align-items:flex-start;font-size:.8rem;font-weight:500}.check-label input{width:20px;height:20px;min-height:0;flex-shrink:0;margin:2px 0;accent-color:var(--green)}#editor-review p{font-size:.8rem}.result-row{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:10px;align-items:start;padding:18px 0;border-bottom:1px solid var(--border)}.result-row>.icon{color:#23594e;margin-top:3px}.result-row h3{font-size:.95rem;margin:0;font-weight:700}.result-row p{margin:4px 0 0;font-size:.78rem;color:var(--muted)}.result-row .amount{font-size:.92rem;font-weight:750;text-align:right;white-space:nowrap}.result-row .unpriced{color:#9b661e;white-space:normal;max-width:100px;font-size:.75rem}.summary{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#e6f4e7;color:#124d2b;border-radius:13px;padding:20px;margin:24px 0 14px}.summary h3{margin:0;font-size:1rem;max-width:50%}#total{font-size:1.55rem;font-weight:800;letter-spacing:-.03em;margin:0;text-align:right}.app-footer{text-align:center;color:#89928e;font-size:.64rem;margin-top:34px}main,section,p,article,div{overflow-wrap:anywhere}[hidden]{display:none!important}@keyframes pulse{50%{opacity:.35;transform:scale(.8)}}@media(min-width:700px){main{margin:28px auto;border:1px solid #e0e8e1;border-radius:24px;padding:30px 34px;min-height:calc(100dvh - 56px)}.app-header{margin-bottom:38px}.product-row{padding:18px 3px}.product-parameters{font-size:.91rem}}@media(max-width:380px){main{padding:18px 14px}.product-row{gap:7px;grid-template-columns:23px minmax(0,1fr) auto}.product-name{font-size:.95rem}.edit-row{font-size:.7rem;gap:3px}.quantity{font-size:.76rem}.product-parameters{font-size:.85rem}.summary{padding:16px}#total{font-size:1.35rem}}@media(prefers-reduced-motion:reduce){.live-dot{animation:none}}

.home-button{margin:0 0 0 auto;width:auto;min-height:38px;padding:7px 10px;font-size:.74rem;border:0;background:#f0f6f0;color:var(--green);border-radius:8px}.app-header .demo-badge{margin-left:0}.append-button{color:var(--green);border:1px solid #b8dac1;background:#f1f8f1;margin:20px 0 8px;gap:8px}.append-button::before{content:'+';font-size:1.3rem;line-height:1}#append-microphone{min-height:66px;font-size:1.07rem}#append-live{display:flex;align-items:center;justify-content:center;gap:8px;color:#b72a31;font-size:.8rem;font-weight:700;margin:10px 0 0}#append-interim{max-height:4em;overflow-y:auto;margin:7px 0 0}#append-interim:empty{display:none}#append-status{font-size:.85rem;color:var(--green);padding:12px;background:#edf7ef;border-radius:9px}#append-note{min-height:150px}#resume-help{margin-top:10px}.start-screen #resume{margin-top:10px}

#home[hidden]+.demo-badge{margin-left:auto}

.login-form{text-align:left;max-width:360px;margin:28px auto 18px}.login-form .primary{margin-top:5px}.start-screen #start{min-height:72px;font-size:1.13rem}.start-screen #quotes-open{min-height:48px;font-size:.9rem}.start-screen #resume{border:0;font-size:.85rem;min-height:42px;margin-top:16px}.saved-quote{display:grid;grid-template-columns:minmax(0,1fr) 58px;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding:12px 0}.saved-quote-open{text-align:left;justify-content:flex-start;word-break:break-word;font-size:.88rem;margin:0;border:0;background:#f3f8f4}.saved-quote>.danger-text{padding:8px 0;font-size:.8rem}button.amend-button{background:#fff0df;border-color:#e0a668;color:#8c430c}button.amend-button:hover{background:#ffe4c5}#save-quote-status{padding:12px;color:#775019;background:#fff7e7;border-radius:9px}.processing-screen{position:fixed;inset:0;z-index:1000;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px}.processing-screen h2{font-size:clamp(1.8rem,7vw,3rem);letter-spacing:-.025em;margin-bottom:18px}.processing-screen p{font-size:1.15rem;color:var(--muted)}button[data-tone=listening]:not(:disabled){animation:mic-pulse 1.4s ease-in-out infinite}@keyframes mic-pulse{50%{box-shadow:0 0 0 10px #bd33351c;filter:brightness(1.12)}}@media(prefers-reduced-motion:reduce){button[data-tone=listening]:not(:disabled){animation:none}}
