:root{--ink:#203c36;--muted:#7a837d;--paper:#f8f9f5;--mint:#cdf28c;--line:#e4e8df;--font-sans:"Leelawadee UI","Noto Sans Thai",Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0}button,input,a{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .16s,transform .16s}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,label:focus-within{outline-offset:4px;outline:3px solid #7eac4a}button:active:not(:disabled){transform:scale(.97)}.app-shell{width:min(1120px,100% - 64px);margin:0 auto}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:104px;display:flex}.brand{letter-spacing:-.6px;align-items:center;gap:11px;font-size:22px;font-weight:750;display:flex}.brand-icon{background:var(--ink);width:44px;height:44px;color:var(--mint);border-radius:13px;place-items:center;display:grid}.brand-light{font-weight:400}.brand small{letter-spacing:2.4px;color:var(--muted);margin-top:1px;font-size:8px;font-weight:500;display:block}.service-status{color:#63736a;align-items:center;gap:8px;font-size:11px;display:flex}.status-dot{background:#6ba34d;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #e8efdf}.status-dot.offline{background:#d39252;box-shadow:0 0 0 4px #f7e9da}.status-tag{letter-spacing:1px;background:#edf0e9;border-radius:5px;margin-left:14px;padding:5px 7px;font-size:9px;font-weight:700}.intro{justify-content:space-between;align-items:flex-end;padding:43px 0 32px;display:flex}.eyebrow{letter-spacing:.5px;color:#7b8675;align-items:center;gap:7px;margin-bottom:12px;font-size:11px;font-weight:600;display:flex}.eyebrow>span{background:#7e985d;border-radius:50%;width:5px;height:5px}h1{letter-spacing:-1.7px;margin:0;font-size:37px;font-weight:650;line-height:1.45}h1>span{color:#7c8c74}.intro p{color:var(--muted);margin:8px 0 0;font-size:13px}.intro-note{color:#78816e;align-items:center;gap:8px;padding-bottom:7px;font-size:11px;display:flex}.workspace{grid-template-columns:1.35fr 1fr;gap:22px;display:grid}.voice-panel{color:#fff;background:#203c36;border-radius:24px;flex-direction:column;min-width:0;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 32px #203c3608}.panel-top{z-index:1;justify-content:space-between;align-items:center;padding:25px 27px;display:flex;position:relative}.panel-top>span:first-child{color:#e2eadf;align-items:center;gap:7px;font-size:11px;display:flex}.tiny-dot{background:var(--mint);border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.step-label{letter-spacing:1.4px;color:#8fa49a;font-family:Arial,sans-serif;font-size:9px}.voice-stage{isolation:isolate;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:286px;padding:30px 20px 21px;display:flex;position:relative}.orbit{z-index:-1;pointer-events:none;border:1px solid #b2c5b80d;border-radius:50%;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.orbit-one{width:252px;height:252px}.orbit-two{width:350px;height:350px}.sound-bars{opacity:.23;z-index:-1;justify-content:space-between;align-items:center;gap:9px;width:265px;height:70px;display:flex;position:absolute;top:77px;left:50%;transform:translate(-50%)}.sound-bars i{background:#b5d89c;border-radius:5px;flex-shrink:0;width:3px;display:block}.mic-button{background:var(--mint);color:#244536;outline-offset:6px;border:8px solid #345246;border-radius:50%;outline:1px solid #567352;place-items:center;width:100px;height:100px;margin:7px 0 29px;display:grid;position:relative;box-shadow:0 0 60px #c0ed8c0c}.mic-button:hover:not(:disabled){background:#d9f6ab;transform:translateY(-2px)}.mic-button.active{background:#f6b7a3;border-color:#72554a;outline-color:#b78f7d}.mic-caption{margin:0;font-size:19px;font-weight:500;position:relative}.mic-hint{color:#a5b6a9;margin:10px 0 0;font-size:10px;position:relative}.is-recording .sound-bars i{opacity:1;animation:.65s ease-in-out infinite alternate wave}.is-recording .sound-bars{opacity:.7}.voice-bottom{background:#1d3731;padding:22px 27px 21px;position:relative}.voice-bottom>span{color:#8fa69a;margin-bottom:11px;font-size:10px;display:block}.sample-list{flex-wrap:wrap;gap:7px;display:flex}.sample-list button{color:#d7e4d5;background:#ffffff08;border:1px solid #ffffff13;border-radius:7px;align-items:center;gap:8px;padding:8px 10px;font-size:10px;display:flex}.sample-list button:hover{background:#ffffff16}.voice-foot{color:#92a89b;border-top:1px solid #ffffff0b;justify-content:space-between;align-items:center;gap:12px;margin-top:19px;padding-top:16px;font-size:9px;display:flex}.voice-foot>span{align-items:center;gap:6px;display:flex}.voice-foot .tiny-dot{background:#879f88;width:4px;height:4px}.upload{cursor:pointer;white-space:nowrap;align-items:center;gap:5px;display:flex;position:relative}.upload:hover{color:#fff}.upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.disabled{opacity:.4;pointer-events:none}.calculator-panel{border:1px solid var(--line);background:#fff;border-radius:24px;min-width:0;padding:21px 23px 23px}.calc-header{color:#6d786f;justify-content:space-between;align-items:center;font-size:11px;display:flex}.calc-header>span{align-items:center;gap:7px;display:flex}.icon-button{color:#869282;background:0 0;border:0;place-items:center;width:27px;height:27px;display:grid}.display{padding:17px 0 19px}.display>label{color:#9ba297;justify-content:space-between;font-size:10px;display:flex}.display>label span{color:#a0a59c;font-size:9px}.display textarea{letter-spacing:-.2px;width:100%;color:var(--ink);background:0 0;border:0;border-bottom:1px solid #0000;outline:none;margin-top:11px;padding:0 0 5px;font-size:16px;font-weight:500;display:block}.display textarea:focus{border-bottom-color:#9aba7f}.display textarea::placeholder{color:#b5bcb0;font-weight:400}.result-row{align-items:center;gap:12px;min-height:68px;margin-top:2px;display:flex}.equals-mark{color:#c2cebb;font-size:27px;font-weight:300}.result-row output{letter-spacing:-2px;overflow-wrap:anywhere;min-width:0;font-family:Arial,sans-serif;font-size:55px;font-weight:500;line-height:1.15}.result-row output.small-result{letter-spacing:-1px;font-size:31px}.copy-button{color:#8a9a7d;background:0 0;border:0;align-self:center;margin-left:auto;padding:6px}.result-meta{color:#98a08f;overflow-wrap:anywhere;justify-content:space-between;gap:10px;min-height:15px;font-size:9px;display:flex}.result-meta>span{color:#648349;white-space:nowrap}.keypad{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.key{height:45px;color:var(--ink);background:#f8f9f5;border:1px solid #f0f2eb;border-radius:10px;place-items:center;font-family:Arial,sans-serif;font-size:19px;display:grid}.key:hover:not(:disabled){background:#edf1e7}.key.utility{color:#899581;background:#fff;border-color:#ecefe6;font-size:14px}.key.operator{color:#647d4c;background:#edf2e6;border-color:#edf2e6;font-size:22px}.calculate-button{color:#34512a;background:#d4eead;border:0;border-radius:11px;justify-content:center;align-items:center;gap:12px;width:100%;margin-top:9px;padding:12px 20px;font-size:12px;font-weight:600;display:flex;position:relative}.calculate-button span{font-family:Arial,sans-serif;font-size:20px;font-weight:400;position:absolute;right:20px}.calculate-button:hover:not(:disabled){background:#c3e393}.error-message{color:#9d4f33;background:#fff3ed;border:1px solid #f3dfd0;border-radius:13px;align-items:center;gap:10px;margin-top:16px;padding:14px 17px;font-size:12px;display:flex}.error-message>span{border:1px solid #bf876e;border-radius:50%;flex-shrink:0;place-items:center;width:17px;height:17px;font-size:10px;display:grid}.error-message>button{color:inherit;background:0 0;border:0;margin-left:auto;font-size:20px}.history-panel{margin-top:30px}.history-title{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.history-title h2{align-items:center;gap:8px;margin:0;font-size:13px;font-weight:500;display:flex}.history-title h2>span{color:#94a086;background:#ecf0e6;border-radius:5px;margin-left:3px;padding:3px 6px;font-size:9px}.history-title small,.history-title button{color:#8c9686;font-size:10px}.history-title button{background:0 0;border:0;border-bottom:1px solid #d9e0d3;padding:1px 0}.empty-history{color:#7d8c72;background:#f0f3eb;border:1px dashed #d9e1ce;border-radius:14px;align-items:center;gap:14px;padding:20px 22px;font-size:12px;display:flex}.empty-icon{color:#94a681;background:#e8eedf;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.empty-history small{color:#a1a994;margin-top:5px;font-size:10px;display:block}.empty-history>svg{color:#b1bea3;margin-left:auto}.history-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.history-item{border:1px solid var(--line);text-align:left;background:#fff;border-radius:12px;align-items:center;gap:10px;min-width:0;padding:16px;font-family:Arial,Tahoma,sans-serif;display:flex}.history-item>span{color:#8c9786;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.history-item strong{color:#456136;white-space:nowrap;text-overflow:ellipsis;max-width:50%;margin-left:auto;font-size:16px;font-weight:500;overflow:hidden}.history-item>svg{color:#9dab8c;flex-shrink:0}.history-item:hover{background:#f0f4e8}footer{border-top:1px solid var(--line);color:#9aa28f;justify-content:space-between;gap:16px;margin:37px 0 25px;padding-top:20px;font-size:9px;display:flex}footer a{align-items:center;gap:4px;font-family:Arial,sans-serif;display:flex}footer strong{letter-spacing:-.5px;color:#7b8d6b;font-size:13px;font-weight:600}.footer-dot{color:#bcc6b2;margin:0 7px}.spinner{animation:1.1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes wave{to{transform:scaleY(.3)}}@media (width>=1400px){.app-shell{width:1120px}.intro{padding-top:52px}.voice-stage{min-height:310px}.key{height:49px}}@media (width<=850px){.app-shell{width:calc(100% - 40px)}h1{font-size:31px}.intro-note{display:none}.workspace{grid-template-columns:1.1fr 1fr;gap:15px}.panel-top{padding:22px 20px}.voice-bottom{padding:20px}.step-label{font-size:8px}.voice-foot{flex-wrap:wrap;gap:11px}.calculator-panel{padding:20px 17px}.history-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.app-shell{width:calc(100% - 32px)}.topbar{height:82px}.brand{gap:8px;font-size:19px}.brand-icon{border-radius:11px;width:37px;height:37px}.brand small{letter-spacing:1.7px;font-size:7px}.service-status{gap:6px;font-size:9px}.status-tag{display:none}.intro{padding:29px 0 23px}.eyebrow{margin-bottom:8px;font-size:10px}h1{letter-spacing:-1px;font-size:29px}.intro p{max-width:290px;font-size:11px;line-height:1.8}.workspace{grid-template-columns:1fr;gap:16px}.voice-panel,.calculator-panel{border-radius:20px}.panel-top{padding:21px 22px 14px}.voice-stage{min-height:245px;padding-top:22px;padding-bottom:27px}.sound-bars{top:57px}.mic-button{width:90px;height:90px;margin-bottom:24px}.mic-caption{font-size:18px}.mic-hint{font-size:10px}.orbit-one{width:230px;height:230px}.orbit-two{width:320px;height:320px}.voice-bottom{padding:18px 22px}.sample-list button{font-size:10px}.voice-foot{margin-top:15px;padding-top:13px;font-size:9px}.calculator-panel{padding:20px}.display{padding:17px 0 20px}.key{height:49px}.calculate-button{padding:15px}.history-panel{margin-top:26px}.history-list{grid-template-columns:1fr}.empty-history{padding:17px 15px;font-size:11px}.empty-history small{font-size:9px}.empty-icon{width:33px;height:36px}.history-title small{font-size:9px}footer{flex-wrap:wrap;margin-top:28px;line-height:1.8}footer>span:nth-child(2){display:none}footer>a{margin-left:auto}.error-message{font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.display textarea{resize:vertical;overflow-wrap:anywhere;min-height:58px;max-height:200px;line-height:1.6}.result-meta{max-height:50px;overflow:auto}.voice-stage .mic-hint{text-align:center;line-height:1.8}
