:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#293d35;background:#f7f7f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100dvh}button,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:8px;background:#314f41;color:#fff;padding:11px 18px;font-size:13px;font-weight:600}button:hover{filter:brightness(.93)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #b08c45;outline-offset:3px}.secondary{background:transparent;color:#314f41;border:1px solid #cad2c8}.quiet{background:transparent;color:#5a6d61;padding:8px 0;text-align:left}.muted{font-size:13px;line-height:1.8;color:#768277}aside{width:265px;flex-shrink:0;background:#eef0e8;border-right:1px solid #dfe3d8;padding:38px 25px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0}.brand{font-family:Georgia,serif;font-size:25px;color:#314f41;text-decoration:none;display:flex;align-items:center;gap:12px}.mark{font-family:system-ui;font-size:38px;line-height:1}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:#7b887a;margin:22px 0 32px}aside h2{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#7d897e;margin:36px 0 12px}nav{overflow:auto;flex:1}nav button{display:block;width:100%;text-align:left;background:transparent;color:#5f6d60;font-weight:400;line-height:1.5;margin:3px 0;padding:10px}nav button.active{background:#dfe6da;color:#294c39}.sidebar-bottom{margin-top:24px}.sidebar-bottom p{font-family:Georgia,serif;font-style:italic;font-size:15px;color:#7b897c;line-height:1.65;margin:20px 0 0}main{min-width:0;flex:1;display:flex;flex-direction:column;height:100dvh;overflow:auto}header{padding:25px 44px;border-bottom:1px solid #e5e8df;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:85px;font-size:12px;color:#758376}.live-dot{display:inline-block;background:#93a58c;width:6px;height:6px;border-radius:50%;margin-right:9px}#welcome{max-width:700px;width:100%;margin:48px auto 16px;padding:0 35px}#welcome .eyebrow{margin:0 0 18px}h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(44px,5vw,66px);line-height:1.08;letter-spacing:-1.5px;margin:0 0 20px}h1 em{font-weight:400;color:#66815f}.intro{color:#74816f;line-height:1.7;font-size:15px}.questions{border-left:1px solid #cad4c2;padding-left:24px;margin:25px 0}.questions p{font-family:Georgia,serif;font-size:18px;color:#4d614b}.questions span{font:10px system-ui;color:#97a18e;margin-right:17px}#messages{width:100%;max-width:800px;margin:0 auto;padding:20px 40px;flex:1}.message{margin:0 0 24px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.message .label{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8a9585;margin-bottom:6px}.message.user{background:#eaf0e3;padding:15px 20px;border-radius:12px;margin-left:55px}.message.assistant{padding-right:45px}.message.failed{color:#9a5845;font-size:13px}.composer-wrap{position:sticky;bottom:0;background:linear-gradient(transparent,#f7f7f2 12%);padding:22px 40px 20px;width:100%;max-width:820px;align-self:center;margin-top:auto}#notice{font-size:12px;line-height:1.5;color:#7b8675;margin:0 0 10px;min-height:18px}#notice.error{color:#a44332}form{display:flex;align-items:flex-end;background:#fff;border:1px solid #dce2d5;border-radius:13px;padding:13px;box-shadow:0 4px 20px #263d3210}textarea{resize:none;border:0;background:transparent;width:100%;padding:5px 8px;color:#314b3c;line-height:1.6;font-size:14px;min-height:52px;max-height:160px}textarea:focus{outline:none}#send{font-size:20px;padding:7px 14px;border-radius:9px}.composer-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#96a08f;padding:10px 2px 0}dialog{border:1px solid #dce2d5;border-radius:14px;padding:26px;max-width:520px;width:calc(100% - 32px);color:#314b3c;background:#f7f7f2}dialog::backdrop{background:#17241c66}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-family:Georgia,serif;font-weight:400;font-size:25px}.memory-item{padding:15px 0;border-bottom:1px solid #dce2d5;display:flex;justify-content:space-between;gap:20px;font-size:14px;line-height:1.6}#clear-memory{margin-top:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:760px){aside{width:190px;padding:25px 15px}.brand{font-size:21px}header{padding:20px}#welcome{padding:0 24px;margin-top:35px}#messages{padding:15px 24px}.composer-wrap{padding:20px}.composer-footer span:last-child{display:none}}@media(max-width:520px){body{display:block}aside{position:relative;width:100%;height:auto;padding:16px 20px;display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}aside .eyebrow,aside h2,.sidebar-bottom p{display:none}.brand{margin-right:auto}.mark{font-size:28px}#new{font-size:11px;padding:9px}nav{width:100%;flex-basis:100%;display:flex;max-height:80px;gap:5px}nav:empty{display:none}nav button{min-width:140px;font-size:11px;width:auto}.sidebar-bottom{margin:0}.sidebar-bottom button{font-size:11px}main{height:auto;min-height:80dvh}header{min-height:65px;padding:12px 20px}header div{font-size:10px}#welcome{margin-top:28px}h1{font-size:48px}#messages{min-height:100px}.message.user{margin-left:20px}.message.assistant{padding-right:0}.composer-wrap{position:sticky;padding:14px 18px;background:#f7f7f2}}

#terms-document{max-height:35dvh;overflow:auto;padding:12px;border:1px solid #cad2c8;font-size:14px;line-height:1.6}#terms-document h3{font-size:16px}#terms-form{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-top:18px}#terms-form label{font-size:14px;line-height:1.6}#terms-form select{font:inherit;margin-left:8px}#terms-error{color:#a44332;font-size:13px}
