:root{font:16px/1.35 "DM Sans","Segoe UI",system-ui,sans-serif;color:#244439;--ink:#254638;--paper:#fffdf1;--border:#ced7be}*{box-sizing:border-box}body{margin:0;background:#c2d3ae;overflow:hidden}button,input{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #d2963a;outline-offset:2px}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}#world{width:100vw;height:100dvh;display:block;touch-action:none}header{position:fixed;top:max(18px,env(safe-area-inset-top));left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;gap:8px}.brand,nav button,#status,#panel,.composer{background:rgba(255,253,239,.95);box-shadow:0 3px 17px #263f3820;border:1px solid #ffffff94}.brand{display:flex;align-items:center;gap:10px;border-radius:15px;padding:7px 14px 8px 8px}.brand img{width:41px;height:41px}.brand h1{font:600 25px/1.04 Georgia,"Times New Roman",serif;letter-spacing:-1.1px;margin:0}.brand span{font-size:12px;color:#526853;display:block;margin-top:2px}nav{display:flex;gap:7px;pointer-events:auto;align-items:center}nav button,#close{border-radius:12px;min-height:44px;padding:0 13px;font-weight:600}nav span{font-size:20px;vertical-align:-1px;margin-right:3px}#help,#close{width:44px;padding:0;font-size:19px}#help{border-radius:50%}#dock{position:fixed;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(540px,calc(100% - 28px));text-align:center;pointer-events:none}#status{display:inline-block;margin:0 0 9px;border-radius:30px;padding:5px 13px;color:#3f5746;font-size:14px;max-width:100%;line-height:1.35}.composer{pointer-events:auto;border-radius:20px;padding:11px 13px 8px;text-align:left}.commandrow,form{display:flex;align-items:center;gap:9px}form{flex:1;min-width:0}#prompt{border:0;min-width:0;flex:1;background:none;padding:9px 2px;outline-offset:-1px;font-size:17px}#prompt::placeholder{color:#576e5d}#mic,#send{display:grid;place-items:center;flex:none;border:none;width:46px;height:46px;border-radius:15px}#mic{background:var(--ink);color:#f3f8d9}#mic.recording{background:#ac493e;color:white}#send{width:44px;height:44px;background:#dfebd3;border-radius:50%}button svg{width:23px;height:23px}#chips{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin-top:6px;padding-top:6px;border-top:1px solid #dce2d0}#chips button{border:0;background:transparent;font-size:14px;white-space:nowrap;min-height:36px;padding:0 9px;border-radius:10px;color:#456247}#chips button:hover,.model:hover{background:#e2ead6}#panel{position:fixed;right:22px;top:82px;border-radius:19px;width:min(350px,calc(100vw - 28px));padding:16px;max-height:calc(100dvh - 275px);overflow:auto}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:8px}h2{font:600 24px Georgia,serif;margin:0}#close{border:0;background:#e8eddd}#panelBody{margin-top:10px;color:#4a6151}.model{width:100%;min-height:45px;text-align:left;background:none;border:0;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:6px 8px}.model small{color:#667655}#panelBody p{margin:8px 0 13px}#fatal{position:fixed;inset:25% 12% auto;background:var(--paper);padding:20px;border-radius:15px}button:hover{filter:brightness(1.035)}@media(max-width:560px){header{left:10px;right:10px;top:max(10px,env(safe-area-inset-top))}.brand{gap:6px;padding:6px 9px 6px 6px}.brand img{width:32px;height:32px}.brand h1{font-size:21px}nav{gap:4px}nav button{padding:0 9px;font-size:14px}#help{width:40px}#panel{top:67px;right:12px}#dock{bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 18px)}.composer{padding:8px 9px 5px}.commandrow,form{gap:6px}#prompt{font-size:16px}#chips button{min-height:44px}#status{font-size:13px;margin-bottom:6px}}@media(max-height:490px){#panel{max-height:calc(100dvh - 86px);z-index:2}#dock{bottom:6px}#status{margin-bottom:3px}.composer{padding:4px 9px}#chips{padding:0;margin-top:2px}header{top:7px}}
