.agent-gate>.agent-access-form{margin-top:28px}.agent-access-form button:disabled{opacity:.65}.agent-gate>.gate-back-link{margin-top:23px}
body.chat-open{overflow:hidden}.chat-screen{position:fixed;left:50%;transform:translateX(-50%);top:var(--chat-top,0px);width:100%;max-width:500px;height:var(--chat-height,100dvh);background:#f1f4ed;display:flex;flex-direction:column;z-index:40;overflow:hidden}
.chat-header{display:flex;align-items:center;gap:9px;padding:13px 13px 12px;background:#fff;border-bottom:1px solid #e6eddd;flex-shrink:0}.chat-header-avatar{width:39px;height:39px;flex-shrink:0}.chat-header>div{min-width:0}.chat-header h1{font-size:15px;font-weight:600;color:#526b42}.chat-header small{display:block;font-size:9px;color:#8d9d7e;margin-top:5px}.chat-exit{display:flex;align-items:center;gap:3px;margin-left:auto;flex-shrink:0;color:#63854b;background:#eff5e7;border:1px solid #dbe8cc;border-radius:18px;padding:9px 10px;font-size:10px}.chat-exit .icon{width:12px;height:12px}
.chat-retention{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 10px;background:#f8efd9;color:#96743c;flex-shrink:0;border-bottom:1px solid #eddfc1;flex-wrap:wrap}.chat-retention>.icon{width:16px;height:16px}.chat-retention strong{font-size:12px;font-weight:600}.chat-retention>span{font-size:9px;color:#b59c72}.chat-idle-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;background:#e7efdd;color:#7c9468;font-size:10px;flex-shrink:0;border-bottom:1px solid #dfe8d2}.chat-idle-bar>b{font-size:12px;letter-spacing:1px;flex-shrink:0;font-variant-numeric:tabular-nums}.chat-idle-bar.ending{background:#f8e5d7;color:#a7774a}
.chat-message-list{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:18px 13px 21px;scrollbar-width:thin;scrollbar-color:#d6e0cc transparent}.chat-day{text-align:center;font-size:9px;color:#a0ae94;margin:5px 0 18px}.chat-message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:18px}.chat-message.mine{align-items:flex-end}.chat-message-label{font-size:9px;color:#9eae90;margin:0 5px 5px}.chat-bubble{font-size:14px;line-height:1.8;color:#53644a;white-space:pre-wrap;overflow-wrap:anywhere;max-width:85%;padding:11px 13px;border-radius:3px 13px 13px 13px;background:#fff;border:1px solid #e4ebdc}.chat-message.mine>.chat-bubble{background:#e0edce;border-color:#d3e3c0;border-radius:13px 3px 13px 13px;color:#4c673d}.chat-message time{font-size:8px;color:#aab69d;margin:5px 5px 0}.chat-empty{text-align:center;padding:48px 10px 26px}.chat-empty>span{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:auto;border-radius:18px;background:#e5eddb;color:#98af82}.chat-empty>span>.icon{width:30px;height:30px;stroke-width:1.2}.chat-empty h2{font-size:17px;color:#7b9466;font-weight:500;margin-top:19px}.chat-empty p{font-size:11px;line-height:1.9;color:#a0ae92;margin-top:11px}.chat-empty>small{display:block;font-size:9px;color:#b0bba5;line-height:1.9;margin-top:13px}.chat-compose{padding:11px 13px calc(12px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #dfe9d3;flex-shrink:0}.chat-compose-reminder{display:flex;align-items:center;justify-content:space-between;font-size:9px;gap:6px;color:#a8b398;margin:0 1px 9px}.chat-compose-reminder b{color:#ad8746;font-weight:500;font-size:10px}.chat-compose textarea{width:100%;min-height:74px;max-height:150px;resize:none;padding:11px 12px;border:1px solid #dce5d2;border-radius:10px;outline:none;background:#f8faf4;color:#4e6741;font-size:16px;line-height:1.6}.chat-compose textarea::placeholder{color:#a5b497;font-size:13px}.chat-compose textarea:focus{border-color:#a5bd90;box-shadow:0 0 0 2px #eff5e9}.chat-compose textarea:disabled{opacity:.65}.chat-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.chat-compose-footer>span{font-size:9px;color:#8fa07e;line-height:1.7;min-width:0;overflow-wrap:anywhere}.chat-compose-footer>button{display:flex;align-items:center;gap:5px;background:#3b8754;color:white;border-radius:17px;padding:9px 17px;font-size:11px;flex-shrink:0}.chat-compose-footer>button .icon{width:12px;height:12px}.chat-compose-footer>button:disabled{opacity:.5}.chat-new-messages{position:absolute;right:14px;bottom:calc(182px + env(safe-area-inset-bottom));padding:8px 12px;color:#6e8a58;background:#fff;border:1px solid #d8e4ca;box-shadow:0 3px 12px #70835916;border-radius:18px;font-size:10px}.chat-privacy-cover{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef3e6;color:#819b6c}.chat-privacy-cover>span .icon{width:45px;height:45px;stroke-width:1.2}.chat-privacy-cover h2{font-size:21px;font-weight:500;margin-top:22px}.chat-privacy-cover p{font-size:11px;color:#a4b694;margin-top:12px}
@media(max-width:359px){.chat-header{padding:11px 10px}.chat-header-avatar{width:34px;height:34px}.chat-header h1{font-size:14px}.chat-exit{font-size:9px;padding:8px}.chat-retention{gap:4px;padding:9px 8px}.chat-retention strong{font-size:11px}.chat-retention>span{font-size:8px}.chat-idle-bar{font-size:9px;padding:9px 10px}.chat-bubble{font-size:13px}.chat-compose-reminder{font-size:8px}.chat-compose-reminder b{font-size:9px}}
