/* Flutter RichInput: three 1.8-height lines + InputDecoration padding, 52px toolbar. */
.comment-composer.comment-composer-design{display:flex;flex-direction:column;min-height:0;max-height:inherit;margin:0;padding:0 0 env(safe-area-inset-bottom,0px);border:0;border-radius:12px 12px 0 0;background:#fff;color:#000;box-shadow:none;overflow:hidden}
.thread-compose[data-keyboard-open="true"] .comment-composer-design{padding-bottom:0}
.comment-composer-design .comment-input-region{display:flex;flex:0 1 auto;flex-direction:column;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.comment-composer-design :is(textarea,.comment-inline-editor){display:block;flex:0 1 auto;width:100%;height:125px;min-height:60px;max-height:200px;padding:20px 15px 18px;border:0;border-radius:0;background:transparent;color:inherit;font-family:inherit;font-size:16px;font-weight:400;line-height:1.8;resize:none;overflow-y:auto;overscroll-behavior:contain}
.comment-composer-design textarea[data-emoji-source]{display:none}
.comment-composer-design .comment-inline-editor{position:relative;white-space:pre-wrap;overflow-wrap:anywhere;outline:0;cursor:text}
.comment-composer-design .comment-inline-editor[data-empty="true"]::before{position:absolute;content:attr(data-placeholder);color:#bbb;pointer-events:none}
.comment-composer-design .comment-input-emoji{display:inline-block;width:1.15em;height:1.15em;max-width:none;margin:2px;vertical-align:middle;object-fit:contain;user-select:all;-webkit-user-drag:none}
.comment-composer-design textarea::placeholder{color:#bbb;opacity:1}
.comment-composer-design .comment-toolbar.comment-composer-footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px;height:53px;margin:0;padding:0 12px 0 8px;border:0;border-top:1px solid #9e9e9e33}
.comment-composer-design .comment-tools{flex-wrap:nowrap;gap:12px;min-width:0}
.comment-composer-design .comment-tools .comment-action{position:relative;display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#9e9e9e}
.comment-composer-design .comment-action::before{position:absolute;inset:4px;content:"";border-radius:50%}
.comment-composer-design .comment-action:is(:active,[aria-expanded="true"],[aria-pressed="true"])::before{background:#9e9e9e4d}
.comment-composer-design .comment-action:is([aria-expanded="true"],[aria-pressed="true"]){color:#000}
.comment-composer-design .comment-material-icon{position:relative;font-family:"OfferMaterial";font-size:22px;font-weight:400;font-style:normal;line-height:1;user-select:none}
.comment-composer-design .comment-submit{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0;border:0;background:transparent;font-size:14px;font-weight:400;line-height:20px;opacity:1}
.comment-composer-design [data-comment-submit-label]{padding:5px 15px;border-radius:20px;background:var(--g-primary,#0092ff);color:#fff}
.comment-composer-design .comment-submit:disabled{opacity:1;cursor:default}
.comment-composer-design .comment-submit:disabled [data-comment-submit-label]{background:#9e9e9e4d;color:#0000004d}
.comment-composer-design .comment-upload-button[hidden]{display:none}
.comment-composer-design .comment-image-preview{flex:none;flex-wrap:nowrap;gap:10px;min-height:0}
.comment-composer-design .comment-image-preview:not(:empty){height:75px;padding:0 20px 10px;overflow-x:auto;overscroll-behavior-x:contain}
.comment-composer-design .comment-image-preview figure{flex:0 0 65px;width:65px;height:65px}
.comment-composer-design .comment-image-preview img{border-radius:5px}
.comment-composer-design .comment-image-preview figure button{inset:0;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:5px;background:rgba(0,0,0,.5);color:#fff}
.comment-composer-design .comment-image-preview .comment-material-icon{font-size:20px}
.comment-composer-design .comment-image-preview .comment-image-add{position:static;inset:auto;display:grid;place-items:center;flex:0 0 65px;width:65px;height:65px;padding:0;border:0;border-radius:5px;background:#f1f4f8;color:#000}
.comment-composer-design .comment-image-add .comment-material-icon{font-size:24px}
.comment-composer-design :is(.comment-emoji-picker,.comment-mention-picker){flex:0 1 auto;min-height:0;height:var(--comment-panel-height,276px);max-height:max(100px,calc(var(--thread-compose-viewport-height,100dvh) - 190px));margin:0;padding:0 10px;border:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.comment-composer-design .comment-emoji-picker{grid-template-columns:repeat(var(--comment-emoji-columns,7),minmax(0,1fr));align-content:start;gap:6px}
.comment-composer-design .comment-emoji-picker button{aspect-ratio:1;min-width:0;border-radius:10px;padding:7px}
.comment-composer-design .comment-emoji-picker img{width:100%;height:100%;max-width:48px;max-height:48px;object-fit:contain}
.comment-composer-design .comment-mention-picker{display:flex;flex-direction:column;padding:10px 15px}
.comment-composer-design .comment-mention-picker[hidden]{display:none}
.comment-composer-design [data-mention-results]{min-height:0;flex:1;max-height:none}
.comment-composer-design :is(.comment-counter,.comment-result):not(:empty):not(.sr-only){flex:none;margin:0;padding:6px 15px;font-size:12px}
html[data-theme="dark"] .comment-composer-design{background:#222;color:#f6f6f6}
@media(max-width:359px){.comment-composer-design .comment-tools{gap:6px}}
