.support-voice-panel[hidden],.support-voice-panel [hidden]{display:none!important}
.support-voice-panel{padding:4px 8px;border:1px solid #d5dfd3;border-radius:16px;background:#f2f5f1;color:#253a26;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:4px 8px;max-width:100%;width:100%;box-sizing:border-box}
.support-voice-status{grid-column:1;padding:4px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.support-voice-panel .support-voice-timeline{display:flex;grid-column:1;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0;direction:ltr}
.support-voice-timeline input{flex:1;min-width:0;width:100%;height:44px;margin:0;padding:0;accent-color:#476446;cursor:pointer}
.support-voice-time{flex:none;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.support-voice-panel .support-voice-delete{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;border-radius:50%;grid-column:2;color:#6c776b}
.support-voice-delete:hover{color:#b42318;background:#fff0ed}
.support-voice-timeline input:focus-visible{outline:2px solid #476446;outline-offset:2px;border-radius:8px}
.support-voice-panel>div,.support-tools{display:flex;gap:8px;flex-wrap:wrap}
.support-voice-panel button,.support-tools button,.support-mic-control{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #879686;border-radius:12px;background:#fff;color:#253a26;cursor:pointer;font:inherit}
.support-voice-panel button:disabled,.support-tools button:disabled{opacity:.5;cursor:wait}
.support-voice-panel audio,.support-voice-bubble audio{width:100%;max-width:320px}
.support-voice-bubble{display:flex;flex-direction:column;gap:6px;padding:10px 0;min-width:0}
.support-voice-bubble>span{font-size:13px}
.support-image img{display:block;width:100%;max-width:260px;max-height:280px;object-fit:contain;border-radius:14px;margin-block:8px}
.support-image-viewer{max-width:95vw;max-height:90dvh;border:0;padding:16px;border-radius:16px}
.support-image-viewer::backdrop{background:#000b}
.support-image-viewer img{max-width:85vw;max-height:80dvh;object-fit:contain}
.support-image-viewer button{display:block;min-width:44px;min-height:44px;font-size:24px}
.support-labeled-link{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.support-tools{margin-block:8px}
.support-link-preview{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-block:8px}
.support-link-preview input{min-height:44px;border:1px solid #879686;border-radius:8px;padding:6px;max-width:100%}
.support-link-dialog{width:min(520px,95vw);border:1px solid #879686;border-radius:16px;padding:20px;background:var(--color-white,#fff);color:#253a26}
.support-link-dialog::backdrop{background:#0008}
.support-link-dialog label{display:block;margin-block:12px}
.support-link-dialog input,.support-link-dialog select{display:block;width:100%;padding:10px;border:1px solid #879686;border-radius:8px;min-height:44px;box-sizing:border-box}
.support-product-results{max-height:45dvh;overflow:auto}
.support-product-results button{display:flex;align-items:center;gap:12px;width:100%;text-align:start;margin-block:8px}
.support-product-results img{width:48px;height:48px;object-fit:cover;border-radius:8px}
.ivy-chat .ivy-chat__composer{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;padding-top:10px;border-top:1px solid rgba(31,61,42,.08)}
.ivy-chat .ivy-chat__composer[hidden],.ivy-chat .support-voice-bubble[hidden]{display:none!important}
.ivy-chat__composer-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:8px;min-width:0}
.ivy-chat__input-wrap{display:flex;align-items:center;min-width:0;padding:2px;border:1px solid rgba(31,61,42,.16);border-radius:25px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.ivy-chat__input-wrap:focus-within{border-color:#668371;box-shadow:0 0 0 3px rgba(31,61,42,.07)}
.ivy-chat .ivy-chat__composer textarea{display:block;flex:1;width:100%;min-width:0;height:44px;min-height:44px;max-height:44px;box-sizing:border-box;margin:0;padding:11px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;resize:none;font:inherit;font-size:16px;line-height:22px;color:#1f3d2a;scrollbar-width:none}
.ivy-chat__composer textarea::-webkit-scrollbar{display:none}
.ivy-chat__composer textarea::placeholder{color:#92968e;font-size:14px}
.ivy-chat .ivy-chat__composer .support-mic-control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#476446;transition:background .15s ease,color .15s ease}
.ivy-chat .ivy-chat__send{width:48px;height:48px;border-radius:50%;background:#1f3d2a;box-shadow:0 2px 5px rgba(31,61,42,.12);transition:background .15s ease,opacity .15s ease}
.ivy-chat .ivy-chat__send:disabled{opacity:.45;cursor:default;box-shadow:none}
.ivy-chat__composer .support-mic-control:focus-visible,.ivy-chat__composer .ivy-chat__send:focus-visible{outline:2px solid #668371;outline-offset:3px}
.ivy-chat__composer .support-mic-control:active{background:#e4ece3}
@media(hover:hover){.ivy-chat__composer .support-mic-control:hover{background:#edf2ec;color:#1f3d2a}.ivy-chat .ivy-chat__send:not(:disabled):hover{background:#2b5037}}
@media(prefers-reduced-motion:reduce){.ivy-chat__input-wrap,.ivy-chat .ivy-chat__send,.ivy-chat .ivy-chat__composer .support-mic-control{transition:none}}
.dark .support-voice-panel,.dark .support-link-dialog{background:#1f2921;color:#f5f7f4}
.support-voice-panel button:focus-visible,.support-tools button:focus-visible,.support-link-dialog input:focus-visible{outline:2px solid #476446;outline-offset:3px}
.support-mic-btn{min-width:44px;min-height:44px}
.support-mic-control[data-recording-state="recording"],.support-mic-btn[data-recording-state="recording"]{color:#b42318;background:#fff0ed}
.support-mic-control:disabled,.support-mic-btn:disabled{opacity:.5;cursor:wait}
.ivy-chat .ivy-chat__composer .support-mic-control[data-recording-state="recording"]{color:#b42318;background:#fff0ed}
.support-voice-hint{font-size:12px;line-height:1.6;color:#476446;margin-block:4px}
.dark .support-voice-hint{color:#c6d8c4}

.support-page-context{font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin-block:8px;color:inherit}
.support-page-context a{text-decoration:underline;text-underline-offset:3px}
.support-rating-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;border:1px solid #879686;border-radius:20px;padding:24px;background:#fff;color:#253a26;font:inherit;line-height:1.7}
.support-rating-dialog::backdrop{background:#0008}
.support-rating-dialog h2{margin:0 0 8px;font-size:20px}
.support-rating-dialog fieldset{border:0;padding:0;margin:20px 0}
.support-rating-dialog legend{font-size:14px;margin-bottom:8px}
.support-rating-stars{display:flex;gap:8px;justify-content:space-between}
.support-rating-stars label{flex:1;position:relative;cursor:pointer;min-width:44px}
.support-rating-stars input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.support-rating-stars span{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:60px;border:1px solid #879686;border-radius:12px;gap:4px;pointer-events:none}
.support-rating-stars input:checked+span{background:#e4ece3;border-color:#476446;color:#253a26}
.support-rating-stars input:checked+span svg{fill:currentColor}
.support-rating-stars input:focus-visible+span{outline:2px solid #476446;outline-offset:3px}
.support-rating-actions{display:flex;flex-wrap:wrap;gap:8px}
.support-rating-actions button{min-height:44px;padding:10px 14px;border:1px solid #879686;border-radius:12px;font:inherit;cursor:pointer;background:#fff;color:#253a26}
.support-rating-actions [type=submit]{background:#253a26;color:#fff;flex:1}
.support-rating-actions button:disabled{opacity:.5;cursor:default}
.support-rating-actions button:focus-visible,.support-history-list button:focus-visible{outline:2px solid #476446;outline-offset:3px}
.support-rating-error{font-size:14px;min-height:24px;color:#b42318}
.support-chat-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-block:8px}
.support-chat-actions button,.support-chat-actions a,.support-history-list button{min-height:44px;padding:8px 12px;border:1px solid #879686;border-radius:12px;background:#fff;color:#253a26;font:inherit;font-size:13px;cursor:pointer;text-decoration:none;box-sizing:border-box}
.support-history-list button{display:block;width:100%;text-align:start;margin-block:8px}
.support-history-thread{max-height:45dvh;overflow:auto}
.dark .support-rating-dialog{background:#1f2921;color:#f5f7f4}
@media(max-width:360px){.support-rating-dialog{padding:16px}.support-rating-stars{gap:6px}.support-rating-stars span{min-height:56px}}
