.sf-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.sf-tools button{min-height:44px}.sf-resize{display:flex!important;align-items:center;gap:8px;font-weight:400!important}.sf-resize input{width:auto!important;flex:none}.sf-file-hint,.sf-voice-note{font-size:13px;line-height:1.5}.sf-draft-file{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid var(--line,#ccd2de);padding:10px;border-radius:8px;margin:8px 0}.sf-file{display:flex;align-items:center;gap:10px;min-width:0;white-space:normal}.sf-file>span:last-child{min-width:0;overflow-wrap:anywhere}.sf-file img{display:block;max-width:80px;max-height:80px;object-fit:contain;border-radius:4px}.sf-file small{display:block;line-height:1.45}.sf-draft-file button{flex:none}.sf-message .sf-file{margin-top:12px}.sf-message>a{display:block;margin-top:10px;white-space:normal;font-size:13px}.sf-tools #sf-mic[aria-pressed=true]{outline:3px solid var(--theme-link,var(--teal,#1265d8));outline-offset:2px}.sf-file a,.sf-message>a{color:var(--accent,#1265d8);text-decoration:underline}.sf-message{overflow-wrap:anywhere}.sf-voice-note{margin-bottom:0}@media(max-width:480px){.sf-tools button{flex:1 1 44%;white-space:normal}.sf-draft-file{align-items:flex-start;gap:6px}.sf-file img{max-width:56px;max-height:64px}.sf-draft-file button{padding:8px}.sf-shell{padding:12px}.sf-shell .c-head{flex-wrap:wrap}} 

.sf-message{padding:16px 18px;border:1px solid var(--line,#dce3ed);border-radius:12px;background:#f7f9fc;margin:14px 0;font-size:14px;line-height:1.65;max-width:100%;min-width:0}.sf-message[data-role=user]{background:#edf3fc}.sf-message>small{display:block;color:var(--muted,#607086);font-size:12px;margin-bottom:9px}.sf-message .sf-body{white-space:normal;overflow-wrap:anywhere}.sf-message .sf-plain{white-space:pre-wrap}.sf-body p{margin:0 0 12px}.sf-body p:last-child{margin-bottom:0}.sf-body h2,.sf-body h3,.sf-body h4{font-size:1.2em;line-height:1.35;margin:20px 0 10px}.sf-body h2:first-child,.sf-body h3:first-child,.sf-body h4:first-child{margin-top:0}.sf-body h3{font-size:1.1em}.sf-body h4{font-size:1em}.sf-body ul,.sf-body ol{padding-left:25px;margin:10px 0 14px}.sf-body li{margin:5px 0}.sf-body a{color:var(--accent,#1265d8);text-decoration:underline}.sf-body pre{max-width:100%;overflow:auto;padding:14px;background:#edf0f5;border-radius:8px;white-space:pre}.sf-body code{font-family:Consolas,monospace;font-size:.92em;background:#edf0f5;padding:1px 4px;border-radius:3px}.sf-body blockquote{margin:12px 0;padding-left:14px;border-left:3px solid #a6b9ce;color:#485d73}.sf-table-wrap{max-width:100%;overflow:auto;margin:14px 0}.sf-body table{width:100%;border-collapse:collapse;font-size:.95em}.sf-body th,.sf-body td{border:1px solid #dce3ed;padding:9px 12px;text-align:left;vertical-align:top}.sf-body th{background:#edf2f8;font-weight:600}.sf-body hr{border:0;border-top:1px solid #dce3ed;margin:18px 0}@media(max-width:480px){.sf-message{padding:12px;font-size:14px}.sf-body th,.sf-body td{padding:7px 9px}}
