@charset "UTF-8";
:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#1e2d3e;background:#f7f8f5;font-synthesis:none;--ink:#1e2d3e;--muted:#7a8490;--accent:#21594f;--line:#e6e9e3;--soft:#edf2eb;--danger:#b53f42}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #88bdad;outline-offset:3px}input,textarea,select{min-width:0}input{width:100%;border:1px solid #dce2da;border-radius:11px;background:#fff;padding:13px 14px;line-height:1.5;color:var(--ink)}input:focus{border-color:#80aa98;outline:2px solid #dceae0}label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg use{pointer-events:none}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.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}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:20px;letter-spacing:.02em}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;color:#dcf0de;background:#214e44;flex-shrink:0}.brand-mark svg{width:25px;height:25px;stroke-width:1.3}.eyebrow{color:#7c9585;letter-spacing:.16em;font-size:10px;font-weight:600}.icon-button{width:38px;height:38px;padding:9px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;border-radius:10px}.icon-button:hover{background:#eaf0e9}.text-button{border:0;background:none;color:#537065;padding:8px;font-size:12px}.primary-button,.secondary-button,.danger-button{border:0;border-radius:10px;min-height:44px;padding:12px 22px;font-size:14px;font-weight:600}.primary-button{color:#fff;background:var(--accent)}.primary-button:hover{background:#17483f}.secondary-button{background:#edf1eb;color:#48614f}.danger-button{color:#fff;background:var(--danger)}.form-error{color:var(--danger);background:#fbf0ee;border:1px solid #f1dbd7;border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.6}.mobile-only{display:none}.initial-loading{height:100vh;display:flex;flex-direction:column;gap:22px;align-items:center;justify-content:center;color:var(--muted);font-size:14px}.initial-loading .brand-mark{width:50px;height:50px}
.login-view{min-height:100dvh;display:grid;place-items:center;padding:48px 24px 80px;position:relative;overflow:hidden;background:#f6f8f3}.login-card{position:relative;z-index:1;width:100%;max-width:376px}.login-brand{margin-bottom:47px}.login-card .eyebrow{margin-bottom:14px}.login-card h1{font-size:43px;font-weight:600;letter-spacing:.015em;line-height:1.45;margin:0 0 15px}.login-intro{font-size:14px;line-height:1.9;color:#7c8790;margin:0 0 31px}.login-card label{margin-top:18px}.login-card input{background:#ffffffd9}.password-wrap{position:relative}.password-wrap input{padding-right:57px}.password-wrap .text-button{position:absolute;right:8px;top:8px}.login-card .primary-button{width:100%;display:flex;justify-content:space-between;align-items:center;margin-top:24px;min-height:48px}.login-card .primary-button span{font-size:20px;line-height:18px}.private-note{font-size:11px;display:flex;align-items:center;justify-content:center;gap:7px;color:#88958a;margin-top:20px}.private-note svg{width:13px;height:13px}.login-decoration{position:absolute;width:600px;height:600px;right:calc(50% - 600px);top:-180px;transform:rotate(-28deg);opacity:.58}.login-decoration span{position:absolute;border:1px solid #d8e3d3;width:100%;height:100%;border-radius:47%}.login-decoration span:nth-child(2){transform:rotate(30deg)}.login-decoration span:nth-child(3){transform:rotate(60deg)}.login-footer{position:absolute;bottom:24px;left:0;width:100%;text-align:center;font-size:12px;color:#718271}.login-footer span{margin-left:14px;color:#a2aaa0;font-size:11px}
.app-layout{display:grid;grid-template-columns:270px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{background:#f0f3ed;border-right:1px solid #e1e6dc;display:flex;flex-direction:column;min-height:0;padding:27px 19px 17px;z-index:20}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:0 6px 27px}.sidebar .brand{font-size:19px;gap:10px}.sidebar .brand-mark{width:35px;height:35px;border-radius:11px}.sidebar .brand-mark svg{width:24px;height:24px}.new-conversation{background:#fff;border:1px solid #dbe5d7;border-radius:11px;padding:13px 13px;display:flex;align-items:center;gap:8px;font-weight:600;font-size:13px;box-shadow:0 2px 3px #23342b03}.new-conversation:hover{border-color:#a7c1ac;background:#fcfdfa}.new-conversation svg{width:17px;height:17px}.new-conversation>span{margin-left:auto;color:#7f9781;font-size:17px;font-weight:400}.history-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8c978b;letter-spacing:.03em;padding:30px 10px 12px}.history-list{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;margin-right:-6px;padding-right:6px}.history-item{display:flex;width:100%;align-items:center;gap:10px;text-align:left;border:1px solid transparent;background:transparent;padding:12px 10px;border-radius:9px;margin-bottom:4px}.history-item:hover{background:#e7ede3}.history-item.selected{background:#e0e9db;border-color:#d9e4d3;color:#254b3b}.history-item svg{color:#8d9d88;width:16px;height:16px}.history-item.selected svg{color:#527a49}.history-item .history-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.5;max-width:164px}.history-item .busy-mark{width:6px;height:6px;border-radius:50%;background:#4c8f76;margin-left:auto;flex-shrink:0}.history-empty{font-size:12px;color:#9ba393;line-height:1.8;padding:9px 10px}.sidebar-bottom{border-top:1px solid #dde4d6;padding:17px 5px 0}.personal-label{display:flex;align-items:center;gap:10px;margin-bottom:12px}.avatar{width:30px;height:30px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px}.user-avatar{background:#e0e8d8;color:#4a6750}.personal-label strong{display:block;font-size:12px;max-width:160px;overflow:hidden;text-overflow:ellipsis;line-height:1.6}.personal-label div>span{display:block;color:#8e9a8c;font-size:10px;line-height:1.6}.account-actions{display:flex;align-items:center;gap:6px}.account-button{display:flex;align-items:center;gap:5px;font-size:11px;padding:8px 5px;border:0;background:none;color:#7b8a77;border-radius:6px}.account-button:hover{background:#e3ebdd;color:#30563d}.account-button svg{width:13px;height:13px}
.chat-main{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0;background:#fcfcfa}.chat-header{height:83px;flex-shrink:0;border-bottom:1px solid #edf0e9;display:flex;align-items:center;justify-content:space-between;padding:0 37px;position:relative;z-index:3;background:#fcfcfaf5;gap:14px}.header-start{display:flex;align-items:center;gap:6px;min-width:0}.header-titles{min-width:0}.header-eyebrow{display:block;color:#9da59f;font-size:10px;letter-spacing:.04em;margin-bottom:6px}.chat-header h1{font-size:15px;line-height:1.2;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:38vw}.header-end{display:flex;gap:12px;align-items:center}.model-select-wrap{margin:0;position:relative}.model-select-wrap::before{content:"";width:5px;height:5px;position:absolute;background:#66a58a;border-radius:50%;left:11px;top:50%;transform:translateY(-50%);pointer-events:none}.model-select-wrap select{color:#527061;background:#f2f5ef;border:1px solid #e0e7db;border-radius:8px;font-size:11px;padding:9px 22px 9px 22px;cursor:pointer;max-width:180px}.conversation-menu{position:absolute;right:34px;top:66px;background:#fff;box-shadow:0 10px 35px #1f342719;border:1px solid #e7ece3;border-radius:11px;padding:5px;min-width:152px;z-index:5}.conversation-menu button{border:0;background:none;display:flex;gap:9px;align-items:center;width:100%;text-align:left;font-size:12px;padding:11px;border-radius:6px}.conversation-menu button:hover{background:#f2f5ef}.conversation-menu svg{width:15px;height:15px}.danger-text{color:var(--danger)}.connection-banner{font-size:12px;line-height:1.7;padding:9px 28px;background:#fff5df;border-bottom:1px solid #f4e8c7;color:#9c712e;text-align:center;z-index:2}.chat-scroll{min-height:0;flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#d8dfd4 transparent;overscroll-behavior:contain}.welcome{max-width:740px;margin:auto;padding:39px 28px 48px;min-height:100%;display:flex;flex-direction:column;justify-content:center;text-align:center}.welcome-visual{position:relative;width:168px;height:144px;margin:0 auto 22px;display:grid;place-items:center}.welcome-symbol{background:#e7eee1;width:70px;height:70px;border-radius:23px;display:grid;place-items:center;transform:rotate(-9deg);color:#3d6b4b;box-shadow:inset 0 0 0 1px #dce7d5}.welcome-symbol svg{width:42px;height:42px;stroke-width:1.1;transform:rotate(9deg)}.welcome-orbit{position:absolute;width:149px;height:84px;border:1px solid #e1e7dc;border-radius:50%;transform:rotate(-25deg)}.orbit-two{transform:rotate(40deg);width:122px;height:116px}.orbit-point{position:absolute;width:7px;height:7px;border-radius:50%;background:#c5d5ba}.point-one{left:11px;top:68px}.point-two{right:17px;top:33px;width:5px;height:5px;background:#a4bca0}.welcome .eyebrow{font-size:9px;margin:0 0 17px;letter-spacing:.18em;color:#8c9b88}.welcome h2{font-size:30px;line-height:1.5;letter-spacing:.025em;font-weight:500;margin:0 0 11px}.welcome-description{font-size:13px;line-height:1.8;color:#8b959c;margin:0}.suggestions{margin:38px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.suggestions button{position:relative;text-align:left;background:#f9faf6;border:1px solid #e7ecdf;border-radius:12px;padding:17px 15px 17px;transition:background .15s,border-color .15s}.suggestions button:hover{background:#eff4e9;border-color:#cdddc3}.suggestion-number{display:block;color:#a3b09c;font-size:9px;letter-spacing:.08em;margin-bottom:13px}.suggestions strong{font-size:13px;font-weight:500;display:block;margin-bottom:7px}.suggestions button>span:last-of-type{color:#97a08f;font-size:10px;display:block;line-height:1.5}.suggestions b{position:absolute;top:15px;right:15px;color:#84987e;font-size:14px;font-weight:400}
.messages{max-width:850px;margin:0 auto;padding:28px 37px 37px}.message{margin:0 0 27px;display:flex;align-items:flex-start;gap:13px}.message-avatar{background:#e6eee0;color:#426148;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;margin-top:1px}.message-avatar svg{width:20px;height:20px;stroke-width:1.45}.message-main{min-width:0;flex:1}.message-meta{display:flex;gap:10px;align-items:center;min-height:26px;margin-bottom:7px}.message-name{font-size:11px;font-weight:600;color:#59715c}.message-time{font-size:9px;color:#b0b7ae}.message-content{font-size:14px;line-height:1.95;overflow-wrap:anywhere;word-break:break-word;color:#34414c}.message-content .prose{white-space:pre-wrap}.message-content strong{font-weight:650;color:#263b37}.message-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;background:#edf2e8;color:#50634b;border-radius:4px;padding:2px 4px}.message.user{justify-content:flex-end;margin-bottom:28px;margin-left:36px}.message.user .message-main{flex:0 1 auto;max-width:90%}.message.user .message-meta{justify-content:flex-end;margin-bottom:6px;min-height:18px}.message.user .message-name{color:#89998b}.message.user .message-content{background:#eaf0e3;border:1px solid #e1e9da;border-radius:15px 3px 15px 15px;padding:12px 17px;color:#3e5540;white-space:pre-wrap;font-size:13px}.message-actions{display:flex;align-items:center;gap:8px;margin-top:9px}.message-action{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:#9ba69b;padding:5px;border-radius:5px;font-size:10px}.message-action:hover{color:#42614b;background:#f0f4eb}.message-action svg{width:12px;height:12px}.code-block{margin:13px 0;background:#f1f4ed;border:1px solid #e2e9dc;border-radius:10px;overflow:hidden}.code-top{display:flex;justify-content:space-between;align-items:center;padding:5px 12px;background:#e9eee4;border-bottom:1px solid #e0e6da;font-family:ui-monospace,Consolas,monospace;font-size:10px;color:#8c9a83}.code-top .message-action{color:#7d8f75}.code-block pre{margin:0;padding:13px 16px;white-space:pre;overflow-x:auto;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;color:#395242}.message-status{font-size:12px;color:#7d8e7a;line-height:1.8;padding:4px 0;display:flex;align-items:center;gap:8px}.thinking-dot{width:6px;height:6px;border-radius:50%;background:#6f9b77;box-shadow:0 0 0 4px #eef4e9;flex-shrink:0}.message-error{font-size:12px;padding:11px 14px;background:#fcf1eb;border:1px solid #f0ded1;border-radius:9px;color:#a36c4e;line-height:1.8;margin-top:9px}.retry-button{border:1px solid #dce7d4;border-radius:8px;background:#f4f7ef;color:#527048;display:flex;gap:6px;align-items:center;padding:8px 12px;font-size:11px;margin-top:11px}.retry-button:hover{background:#e9f0e1}.retry-button svg{width:13px;height:13px}.scroll-bottom{position:absolute;bottom:158px;left:calc(50% - 18px);border:1px solid #dce5d4;border-radius:50%;background:#fff;box-shadow:0 3px 12px #1d302e0c;width:35px;height:35px;z-index:4;color:#637e56}.composer-region{max-width:850px;width:100%;margin:0 auto;padding:12px 37px 20px;flex-shrink:0;background:#fcfcfa}.composer{border:1px solid #dfe6d8;border-radius:17px;background:#fff;box-shadow:0 3px 15px #223c2c04;padding:16px 17px 11px;transition:border-color .15s}.composer:focus-within{border-color:#a6bda0;box-shadow:0 0 0 3px #ecf1e8}.composer textarea{border:0;outline:none!important;background:transparent;width:100%;display:block;resize:none;color:#2e4035;font-size:14px;line-height:1.7;max-height:160px;min-height:26px;padding:0 0 7px;overflow-y:auto}.composer textarea::placeholder{color:#a4ada0}.composer-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:8px}.composer-status{display:flex;align-items:center;gap:6px;font-size:10px;color:#a0ad9a;line-height:1.5}.status-dot{width:4px;height:4px;border-radius:50%;background:#8aab7a;flex-shrink:0}.composer-right{display:flex;align-items:center;gap:9px}.character-count{font-size:10px;color:#a2aa9c}.send-button{background:#345b44;color:#f5f9ef;display:grid;place-items:center;border-radius:10px;width:35px;height:35px;border:0}.send-button svg{width:18px;height:18px}.send-button:hover{background:#234c33}.send-button:disabled{background:#e2e8dc;color:#a2b09a;opacity:1}.stop-button{border:1px solid #dce5d5;background:#f2f6ec;border-radius:9px;padding:9px 11px;display:flex;align-items:center;gap:6px;font-size:10px;color:#5c7550}.stop-button>span{background:#6a815f;width:8px;height:8px;border-radius:2px}.composer-footnote{font-size:9px;color:#afb7aa;display:flex;gap:8px;align-items:center;justify-content:center;margin:11px 0 0;line-height:1.5}.footnote-divider{color:#c7cec0}.send-uncertain{background:#fff4dc;border:1px solid #f0e0b9;border-radius:10px;padding:9px 13px;margin-bottom:10px;font-size:11px;color:#99723f;line-height:1.7;display:flex;gap:10px;align-items:center;justify-content:space-between}.send-uncertain button{background:#fffaf0;border:1px solid #decda9;border-radius:6px;padding:6px 8px;white-space:nowrap;color:#8a673c;font-size:11px}
.app-dialog{border:1px solid #e0e7da;border-radius:16px;max-width:400px;width:calc(100% - 40px);padding:24px;color:var(--ink);background:#fdfefa;box-shadow:0 25px 80px #18312826}.app-dialog::backdrop{background:#25372f59;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin:-2px -7px 20px 0;gap:15px}.dialog-heading h2{font-size:18px;font-weight:600;margin:0}.dialog-heading .icon-button{color:#8b9a84}.app-dialog label{margin-top:18px;font-size:12px}.app-dialog p{font-size:13px;line-height:1.9;color:#83907d}.app-dialog .form-error{color:var(--danger)}.dialog-buttons{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.dialog-buttons button{font-size:12px;min-height:40px;padding:11px 17px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);border-radius:10px;background:#2a4439;box-shadow:0 6px 25px #122a2826;color:#f5f8f0;font-size:12px;line-height:1.6;padding:12px 19px;max-width:min(90vw,420px);z-index:100;text-align:center}
@media(min-width:1500px){.welcome{max-width:810px}.welcome h2{font-size:34px}.suggestions{gap:14px}.suggestions button{padding:20px}.welcome-visual{margin-bottom:32px}.messages,.composer-region{max-width:940px}}
@media(max-width:1000px){.app-layout{grid-template-columns:230px minmax(0,1fr)}.sidebar{padding:24px 14px 16px}.history-item .history-title{max-width:140px}.chat-header{padding:0 25px;height:76px}.messages{padding:25px}.composer-region{padding:10px 25px 18px}.suggestions{gap:7px}.suggestions button{padding:15px 11px}.suggestions button>span:last-of-type{font-size:9px}.welcome{padding-left:25px;padding-right:25px}.welcome h2{font-size:27px}.conversation-menu{right:24px}}
@media(max-width:700px){.mobile-only{display:inline-flex}.app-layout{display:flex;height:100dvh}.chat-main{width:100%;height:100%}.sidebar{position:fixed;top:0;bottom:0;left:0;width:min(300px,85vw);transform:translateX(-100%);transition:transform .2s ease;box-shadow:12px 0 40px #293b2d1a;padding:25px 19px 20px;padding-top:calc(25px + env(safe-area-inset-top))}.sidebar.is-open{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;border:0;background:#26372e66;z-index:19}.sidebar-brand{padding-left:5px;padding-bottom:24px}.history-item .history-title{max-width:204px}.sidebar-bottom{padding-bottom:env(safe-area-inset-bottom)}.chat-header{height:72px;padding:0 14px 0 10px;gap:6px;padding-top:env(safe-area-inset-top)}.header-eyebrow{font-size:9px;margin-bottom:5px}.chat-header h1{font-size:13px;max-width:38vw}.header-end{gap:4px}.model-select-wrap select{font-size:9px;padding:8px 15px 8px 18px;max-width:130px;border-radius:7px}.model-select-wrap::before{left:8px;width:4px;height:4px}.header-end>.icon-button{width:29px;padding:5px}.conversation-menu{right:14px;top:63px}.welcome{max-width:460px;padding:22px 24px 30px;justify-content:center;min-height:100%}.welcome-visual{width:135px;height:118px;margin-bottom:14px}.welcome-symbol{width:60px;height:60px;border-radius:20px}.welcome-symbol svg{width:35px;height:35px}.welcome-orbit{width:126px;height:72px}.orbit-two{width:105px;height:98px}.point-one{left:3px;top:53px}.point-two{right:3px;top:25px}.welcome .eyebrow{font-size:7px;letter-spacing:.16em;margin-bottom:13px}.welcome h2{font-size:25px;letter-spacing:.01em;margin-bottom:8px}.welcome-description{font-size:12px;line-height:1.8}.welcome-description .mobile-only{display:block}.suggestions{margin-top:28px;gap:8px;grid-template-columns:1fr;text-align:left}.suggestions button{padding:13px 15px;display:grid;grid-template-columns:25px 83px 1fr;align-items:center;gap:8px;min-height:51px;border-radius:10px}.suggestion-number{font-size:8px;margin:0}.suggestions strong{font-size:11px;margin:0}.suggestions button>span:last-of-type{font-size:9px;line-height:1.8}.suggestions b{top:16px;right:12px;font-size:12px}.messages{padding:22px 17px 22px}.message{gap:10px;margin-bottom:24px}.message-avatar{width:26px;height:26px;border-radius:8px}.message-avatar svg{width:18px;height:18px}.message-content{font-size:14px;line-height:1.9}.message.user{margin-left:18px;margin-bottom:25px}.message.user .message-main{max-width:93%}.message.user .message-content{padding:11px 14px;font-size:13px}.message-meta{margin-bottom:5px;min-height:23px}.message-time{font-size:8px}.message-name{font-size:10px}.composer-region{padding:8px 13px calc(11px + env(safe-area-inset-bottom));max-width:100%}.composer{padding:13px 14px 9px;border-radius:15px}.composer textarea{font-size:16px;line-height:1.6;padding-bottom:9px;max-height:130px}.composer-status{font-size:9px}.composer-footnote{font-size:8px;margin-top:8px;gap:7px}.send-button{width:33px;height:33px;border-radius:9px}.composer-toolbar{min-height:33px}.scroll-bottom{bottom:148px;width:32px;height:32px}.send-uncertain{font-size:10px;padding:8px 10px}.connection-banner{font-size:11px;padding:8px 16px}.login-card{max-width:344px}.login-brand{margin-bottom:40px}.login-card h1{font-size:37px}.login-view{padding:36px 31px 75px}.login-card input{font-size:16px}.login-intro{font-size:13px;margin-bottom:27px}.app-dialog input{font-size:16px}.app-dialog{padding:21px}.toast{bottom:calc(22px + env(safe-area-inset-bottom));font-size:12px}.code-block pre{font-size:11px;padding:11px 13px}}
@media(max-height:720px) and (max-width:700px){.welcome-visual{height:80px;transform:scale(.75);margin-top:-10px;margin-bottom:0}.welcome{padding-top:13px;padding-bottom:16px}.welcome h2{font-size:22px}.welcome .eyebrow{margin-bottom:8px}.suggestions{margin-top:20px;gap:6px}.suggestions button{min-height:43px;padding:10px 12px}.suggestions b{top:12px}.welcome-description{font-size:11px}.login-brand{margin-bottom:24px}.login-card h1{font-size:32px}.login-intro{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.composer-left,
.photo-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.composer-left {
  min-width: 0;
  flex-wrap: wrap;
  column-gap: 10px;
}

.photo-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 36px;
  padding: 5px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #486b56;
  font-size: 12px;
  white-space: nowrap;
}

.photo-button:hover:not(:disabled) { background: #edf3e8; }
.photo-button svg { width: 17px; height: 17px; }
.photo-button.mobile-only { display: none; }

.photo-preview {
  position: relative;
  width: fit-content;
  margin: 0 0 10px;
}

.photo-preview img {
  display: block;
  width: 108px;
  height: 82px;
  object-fit: contain;
  border: 1px solid #dfe6d8;
  border-radius: 10px;
  background: #eff3eb;
}

.photo-preview .icon-button {
  position: absolute;
  right: -13px;
  top: -9px;
  border: 1px solid #dfe6d8;
  background: #fff;
  color: #375244;
  border-radius: 50%;
}

.photo-preview .icon-button:hover:not(:disabled) { background: #edf3e8; }
.photo-preview .icon-button svg { width: 16px; height: 16px; }

.message-photo {
  display: block;
  width: min(250px, 100%);
  max-height: 260px;
  object-fit: contain;
  margin: 0 0 7px auto;
  border: 1px solid #dfe6d8;
  border-radius: 13px;
  background: #eff3eb;
}

@media (max-width: 700px) {
  .photo-button.mobile-only { display: inline-flex; }
  .photo-button { min-height: 44px; padding-inline: 6px; font-size: 11px; }
  .photo-preview .icon-button { width: 44px; height: 44px; }
  .chat-main:has(#photo-preview:not([hidden])) .scroll-bottom { bottom: 250px; }
}
