.order-chat{min-width:0;color:var(--black-color);flex-direction:column;gap:14px;display:flex}.order-chat--customer{background:var(--white-color);outline:var(--outline-params);outline-offset:-1px;--order-chat-list-max:520px;border-radius:32px;align-self:stretch;width:100%;max-width:1240px;margin:0 auto;padding:24px 32px}.order-chat--customer .order-chat__head h3{font-size:18px}.order-chat--staff{--order-chat-list-max:440px}.order-chat__head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.order-chat__heading{flex-direction:column;gap:4px;min-width:0;display:flex}.order-chat__heading h3{color:var(--black-color);margin:0;font-size:15px;font-weight:600;line-height:1.3}.order-chat__heading p{color:var(--text-60);margin:0;font-size:14px;font-weight:500;line-height:1.4}.order-chat__count{background:var(--accent-soft);min-width:26px;height:26px;color:var(--text-60);border-radius:64px;flex-shrink:0;justify-content:center;align-items:center;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.order-chat__list{min-height:220px;max-height:var(--order-chat-list-max);overscroll-behavior:contain;background:var(--bg-color);outline:var(--outline-params);outline-offset:-1px;scrollbar-width:thin;scrollbar-color:var(--outline-color) #0000;border-radius:20px;flex-direction:column;padding:14px;display:flex;overflow-y:auto}.order-chat__items{flex-direction:column;min-width:0;display:flex}.order-chat__state{text-align:center;min-height:180px;color:var(--text-40);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:24px 16px;font-size:14px;font-weight:500;display:flex}.order-chat__state strong{color:var(--black-color);font-size:15px;font-weight:600}.order-chat__state.is-error{color:var(--danger-color)}.order-chat__empty-icon{background:var(--accent-soft);width:56px;height:56px;color:var(--text-40);border-radius:50%;justify-content:center;align-items:center;margin-bottom:6px;display:flex}.order-chat__retry{background:var(--white-color);outline:var(--outline-params);outline-offset:-1px;font:inherit;color:var(--black-color);cursor:pointer;transition:var(--transition-hover);border:none;border-radius:64px;padding:6px 14px;font-size:13px;font-weight:600}.order-chat__retry:hover{opacity:var(--opacity-hover)}.order-chat__day{justify-content:center;margin:12px 0 6px;display:flex}.order-chat__day span{background:var(--white-color);outline:var(--outline-params);outline-offset:-1px;color:var(--text-60);white-space:nowrap;border-radius:64px;align-items:center;padding:5px 12px;font-size:12px;font-weight:600;line-height:14px;display:inline-flex}.order-chat__day:first-child{margin-top:0}.order-chat__msg{align-items:flex-end;gap:10px;margin-top:2px;display:flex}.order-chat__msg.is-first{margin-top:12px}.order-chat__msg.is-mine{flex-direction:row-reverse}.order-chat__msg.is-editing .order-chat__body,.order-chat__msg.is-editing .order-chat__row{width:100%;max-width:100%}.order-chat__msg:hover .order-chat__more,.order-chat__msg.is-menu-open .order-chat__more{opacity:1}.order-chat__avatar{flex-shrink:0;width:32px;height:32px}.order-chat__avatar img{object-fit:cover;background:var(--accent-soft);border-radius:10px;width:100%;height:100%;display:block}.order-chat__body{flex-direction:column;gap:4px;min-width:0;max-width:min(78%,640px);display:flex}.is-mine .order-chat__body{align-items:flex-end}.order-chat__meta{flex-wrap:wrap;align-items:center;gap:6px;padding-left:4px;display:flex}.order-chat__name{color:var(--black-color);font-size:13px;font-weight:600}.order-chat__role{background:var(--accent-soft);color:var(--text-60);border-radius:64px;padding:2px 8px;font-size:11px;font-weight:500}.order-chat__role.is-customer{background:var(--info-soft);color:var(--info-color)}.order-chat__row{align-items:center;gap:4px;max-width:100%;display:flex}.is-mine .order-chat__row{flex-direction:row-reverse}.order-chat__bubble{background:var(--white-color);outline:var(--outline-params);outline-offset:-1px;min-width:0;max-width:100%;color:var(--black-color);overflow-wrap:anywhere;border-radius:18px;padding:10px 14px 8px;font-size:14px;line-height:1.5;position:relative}.is-other.is-last .order-chat__bubble{border-bottom-left-radius:6px}.is-mine .order-chat__bubble{background:var(--button-default);color:var(--button-default-text);outline:none}.is-mine.is-last .order-chat__bubble{border-bottom-right-radius:6px}.is-internal .order-chat__bubble{background:var(--warning-soft);color:var(--black-color);outline:1px solid var(--warning-soft)}.order-chat__bubble.is-editing{background:var(--white-color);width:100%;color:var(--black-color);outline:var(--outline-params);outline-offset:-1px;padding:12px}.order-chat__lock{color:var(--warning-color);align-items:center;gap:5px;margin-bottom:4px;font-size:11px;font-weight:600;display:inline-flex}.order-chat__lock svg{width:12px;height:12px}.order-chat__text{font-size:14px;line-height:1.5}.order-chat__grid{gap:4px;margin-top:8px;display:grid}.order-chat__grid.is-1{grid-template-columns:minmax(0,320px)}.order-chat__grid.is-1 .order-chat__image img{aspect-ratio:auto;width:auto;max-width:100%;max-height:360px}.order-chat__grid.is-2,.order-chat__grid.is-4{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,360px)}.order-chat__grid.is-3,.order-chat__grid.is-many{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,420px)}.order-chat__image{background:var(--accent-soft);cursor:zoom-in;transition:var(--transition-hover);border:none;border-radius:12px;padding:0;display:block;overflow:hidden}.order-chat__image img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.order-chat__image:hover{opacity:var(--opacity-hover)}.order-chat__stamp{color:var(--text-40);justify-content:flex-end;align-items:center;gap:6px;margin-top:4px;font-size:11px;font-weight:500;line-height:1;display:flex}.is-mine .order-chat__stamp{color:inherit;opacity:.6}.order-chat__edited{font-style:italic}.order-chat__more{width:28px;height:28px;color:var(--text-40);cursor:pointer;opacity:0;transition:var(--transition-hover);background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.order-chat__more:hover{background:var(--accent-soft);color:var(--black-color)}@media (hover:none){.order-chat__more{opacity:1}}.order-chat__menu{z-index:1300;background:var(--white-color);min-width:168px;color:var(--black-color);outline:var(--outline-params);outline-offset:-1px;border-radius:16px;flex-direction:column;padding:6px;animation:.16s order-chat-menu-in;display:flex;position:fixed;box-shadow:0 12px 32px #00000024}.order-chat__menu.is-top{animation-name:order-chat-menu-in-up}.order-chat__menu.is-measuring{visibility:hidden}.order-chat__menu-item{width:100%;font:inherit;color:inherit;text-align:left;white-space:nowrap;cursor:pointer;transition:var(--transition-hover);background:0 0;border:none;border-radius:10px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;font-weight:600;line-height:16px;display:flex}.order-chat__menu-item svg{width:15px;height:15px;color:var(--text-60);flex-shrink:0}.order-chat__menu-item:hover{background:var(--accent-soft)}.order-chat__menu-item.is-danger{color:var(--danger-color)}.order-chat__menu-item.is-danger svg{color:inherit}.order-chat__menu-item.is-danger:hover{background:var(--danger-soft)}.order-chat__confirm{border-top:1px solid var(--outline-color);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding-top:10px;font-size:13px;font-weight:600;display:flex}.is-mine .order-chat__confirm{border-top-color:color-mix(in srgb, currentColor 20%, transparent)}.order-chat__confirm-actions{gap:6px;display:flex}.order-chat__confirm-btn{background:var(--accent-soft);font:inherit;color:inherit;cursor:pointer;transition:var(--transition-hover);border:none;border-radius:64px;padding:6px 12px;font-size:12px;font-weight:600}.is-mine .order-chat__confirm-btn{background:color-mix(in srgb, currentColor 14%, transparent)}.order-chat__confirm-btn.is-danger{background:var(--danger-color);color:var(--white-text)}.order-chat__confirm-btn:hover{opacity:var(--opacity-hover)}.order-chat__confirm-btn:disabled{opacity:var(--opacity-disabled);cursor:default}@media (max-width:768px){.order-chat{gap:12px}.order-chat--customer{--order-chat-list-max:60vh;border-radius:24px;padding:20px}.order-chat--staff{--order-chat-list-max:55vh}.order-chat__list{border-radius:16px;padding:10px}.order-chat__avatar{width:28px;height:28px}.order-chat__body{max-width:88%}.order-chat__bubble{padding:9px 12px 7px;font-size:14px}.order-chat__grid.is-2,.order-chat__grid.is-3,.order-chat__grid.is-4,.order-chat__grid.is-many{width:100%}}.chat-markup p{margin:0}.chat-markup p+p,.chat-markup p+blockquote,.chat-markup p+ul,.chat-markup p+pre{margin-top:8px}.chat-markup blockquote{border-left:3px solid var(--outline-color);opacity:.8;margin:4px 0;padding:2px 0 2px 10px}.is-mine .chat-markup blockquote{border-left-color:color-mix(in srgb, currentColor 35%, transparent)}.chat-markup ul{margin:4px 0;padding-left:20px}.chat-markup li+li{margin-top:2px}.chat-markup code,.chat-markup pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.chat-markup code{background:color-mix(in srgb, currentColor 10%, transparent);border-radius:6px;padding:1px 5px}.chat-markup pre{background:color-mix(in srgb, currentColor 8%, transparent);white-space:pre;border-radius:12px;margin:6px 0;padding:10px 12px;overflow-x:auto}.chat-markup pre code{background:0 0;padding:0}.chat-markup a{color:inherit;text-underline-offset:2px;transition:var(--transition-hover);text-decoration:underline}.chat-markup a:hover{opacity:var(--opacity-hover)}.chat-markup u{text-underline-offset:2px}.chat-markup img{border-radius:12px;max-width:100%;max-height:320px;margin:6px 0;display:block}.chat-markup__spoiler{background:color-mix(in srgb, currentColor 14%, transparent);-webkit-box-decoration-break:clone;box-decoration-break:clone;cursor:pointer;transition:var(--transition-hover);-webkit-user-select:none;user-select:none;border-radius:6px;padding:1px 6px;display:inline}.chat-markup__spoiler-text{filter:blur(5px);opacity:.75;transition:filter .2s,opacity .2s}.chat-markup__spoiler:hover{background:color-mix(in srgb, currentColor 22%, transparent)}.chat-markup__spoiler.is-open{background:color-mix(in srgb, currentColor 8%, transparent);cursor:text;-webkit-user-select:auto;user-select:auto}.chat-markup__spoiler.is-open .chat-markup__spoiler-text{filter:none;opacity:1}@keyframes order-chat-menu-in{0%{opacity:0;transform:translateY(-4px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes order-chat-menu-in-up{0%{opacity:0;transform:translateY(4px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.order-chat-composer{flex-direction:column;gap:8px;min-width:0;display:flex;position:relative}.order-chat-composer textarea{background:0 0}.order-chat-composer__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.order-chat-composer__tools{scrollbar-width:none;align-items:center;gap:2px;max-width:100%;display:flex;overflow-x:auto}.order-chat-composer__tools::-webkit-scrollbar{display:none}.order-chat-composer__tool{width:30px;height:30px;font:inherit;color:var(--text-60);cursor:pointer;transition:var(--transition-hover);background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.order-chat-composer__tool svg{width:15px;height:15px}.order-chat-composer__tool.is-italic span{font-family:Georgia,Times New Roman,serif;font-style:italic}.order-chat-composer__tool.is-underline span{text-underline-offset:2px;text-decoration:underline}.order-chat-composer__tool.is-strike span{text-decoration:line-through}.order-chat-composer__tool:hover{background:var(--accent-soft);color:var(--black-color)}.order-chat-composer__visibility{background:var(--accent-soft);border-radius:64px;gap:2px;padding:3px;display:inline-flex}.order-chat-composer__visibility-btn{font:inherit;color:var(--text-60);cursor:pointer;white-space:nowrap;transition:var(--transition-hover);background:0 0;border:none;border-radius:64px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex}.order-chat-composer__visibility-btn svg{width:13px;height:13px}.order-chat-composer__visibility-btn:hover{color:var(--black-color)}.order-chat-composer__visibility-btn.is-active{background:var(--white-color);color:var(--black-color);box-shadow:0 1px 4px #00000014}.order-chat-composer__visibility-btn.is-internal.is-active{background:var(--warning-soft);color:var(--warning-color);box-shadow:none}.order-chat-composer__field{background:var(--white-color);outline:var(--outline-params);outline-offset:-1px;transition:var(--transition-hover);border-radius:24px;align-items:flex-end;gap:8px;padding:6px 6px 6px 16px;display:flex;position:relative}.order-chat-composer__field:focus-within{outline-color:var(--black-color)}.is-internal .order-chat-composer__field{background:var(--warning-soft);outline-color:#0000}.is-internal .order-chat-composer__field:focus-within{outline-color:var(--warning-color)}.is-edit .order-chat-composer__field{background:var(--bg-light-color)}.order-chat-composer__textarea{resize:none;min-width:0;height:auto;min-height:40px;max-height:220px;font:inherit;color:var(--black-color);scrollbar-width:thin;background:0 0;border:none;border-radius:0;outline:none;flex:1;padding:10px 0;font-size:14px;line-height:1.5;overflow-y:auto}.order-chat-composer__textarea::placeholder{color:var(--text-40)}.order-chat-composer__textarea:disabled{opacity:var(--opacity-disabled)}.order-chat-composer__side{flex-shrink:0;align-items:center;gap:4px;display:flex}.order-chat-composer__attach,.order-chat-composer__send{cursor:pointer;width:40px;height:40px;transition:var(--transition-hover);border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.order-chat-composer__attach svg,.order-chat-composer__send svg{width:17px;height:17px}.order-chat-composer__attach:disabled,.order-chat-composer__send:disabled{opacity:.35;cursor:default}.order-chat-composer__attach{color:var(--text-60);background:0 0}.order-chat-composer__attach:not(:disabled):hover{background:var(--accent-soft);color:var(--black-color)}.order-chat-composer__send{background:var(--button-default);color:var(--button-default-text)}.order-chat-composer__send.is-internal{background:var(--warning-color);color:var(--white-color)}.order-chat-composer__send:not(:disabled):hover{opacity:var(--opacity-hover)}.order-chat-composer__spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite order-chat-spin}.order-chat-composer__drop{border:2px dashed var(--text-40);background:var(--bg-color);color:var(--text-60);pointer-events:none;border-radius:24px;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex;position:absolute;inset:0}.order-chat-composer__pending{flex-wrap:wrap;gap:8px;display:flex}.order-chat-composer__thumb{background:var(--accent-soft);outline:var(--outline-params);outline-offset:-1px;border-radius:14px;width:68px;height:68px;position:relative;overflow:hidden}.order-chat-composer__thumb img{object-fit:cover;width:100%;height:100%;transition:var(--transition-hover);display:block}.order-chat-composer__thumb.is-uploading img{opacity:.5}.order-chat-composer__thumb.is-error{outline:1px solid var(--danger-color)}.order-chat-composer__progress{background:var(--outline-color);border-radius:4px;height:4px;position:absolute;bottom:6px;left:6px;right:6px;overflow:hidden}.order-chat-composer__progress span{background:var(--black-color);border-radius:4px;height:100%;transition:width .2s;display:block}.order-chat-composer__thumb-error{background:var(--danger-color);width:18px;height:18px;color:var(--white-text);border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex;position:absolute;bottom:6px;left:6px}.order-chat-composer__thumb-remove{background:var(--white-color);width:22px;height:22px;color:var(--black-color);outline:var(--outline-params);outline-offset:-1px;cursor:pointer;transition:var(--transition-hover);border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:4px;right:4px}.order-chat-composer__thumb-remove svg{width:11px;height:11px}.order-chat-composer__thumb-remove:hover{opacity:var(--opacity-hover)}.order-chat-composer__error{background:var(--danger-soft);color:var(--danger-color);border-radius:12px;padding:8px 14px;font-size:13px;font-weight:500}.order-chat-composer__hint{color:var(--text-30);padding-left:4px;font-size:11px;font-weight:500}.order-chat-composer__edit-actions{justify-content:flex-end;gap:8px;display:flex}.order-chat-composer__edit-actions .btn{margin:0!important}@media (max-width:768px){.order-chat-composer__toolbar{flex-direction:column;align-items:stretch}.order-chat-composer__visibility{width:100%}.order-chat-composer__visibility-btn{flex:1;justify-content:center}.order-chat-composer__field{border-radius:22px;padding:4px 4px 4px 14px}.order-chat-composer__attach,.order-chat-composer__send{width:38px;height:38px}.order-chat-composer__hint{display:none}.order-chat-composer__edit-actions .btn{flex:1}}.order-chat-lightbox{z-index:1300;color:var(--white-text);background:#000000e0;flex-direction:column;animation:.15s ease-out order-chat-fade;display:flex;position:fixed;inset:0}.order-chat-lightbox__bar{padding:14px 20px;padding-top:calc(14px + env(safe-area-inset-top));justify-content:space-between;align-items:center;gap:12px;display:flex}.order-chat-lightbox__name{min-width:0;color:var(--text-80-white);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:10px;font-size:14px;font-weight:500;display:flex;overflow:hidden}.order-chat-lightbox__counter{background:#ffffff1f;border-radius:64px;padding:2px 8px;font-size:12px;font-weight:600}.order-chat-lightbox__actions{flex-shrink:0;gap:6px;display:flex}.order-chat-lightbox__btn,.order-chat-lightbox__nav{color:var(--white-text);cursor:pointer;transition:var(--transition-hover);background:#ffffff1f;border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.order-chat-lightbox__btn:hover,.order-chat-lightbox__nav:hover{background:#ffffff38}.order-chat-lightbox__btn{width:38px;height:38px}.order-chat-lightbox__btn svg{width:17px;height:17px}.order-chat-lightbox__stage{flex:1;justify-content:center;align-items:center;min-height:0;padding:0 72px 24px;display:flex;position:relative}.order-chat-lightbox__image{object-fit:contain;cursor:default;border-radius:10px;max-width:100%;max-height:100%}.order-chat-lightbox__nav{width:46px;height:46px;position:absolute;top:50%;transform:translateY(-50%)}.order-chat-lightbox__nav svg{width:20px;height:20px}.order-chat-lightbox__nav.is-prev{left:16px}.order-chat-lightbox__nav.is-next{right:16px}@media (max-width:768px){.order-chat-lightbox__stage{padding:0 12px 24px}.order-chat-lightbox__nav{width:40px;height:40px;top:auto;bottom:16px;transform:none}.order-chat-lightbox__nav.is-prev{left:16px}.order-chat-lightbox__nav.is-next{right:16px}.order-chat-lightbox__image{align-self:flex-start;max-height:calc(100% - 56px)}}@keyframes order-chat-spin{to{transform:rotate(360deg)}}@keyframes order-chat-fade{0%{opacity:0}to{opacity:1}}
