.thread{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.thread .cl-btn{white-space:nowrap}.thread__head{height:auto;min-height:var(--size-header);align-items:center;column-gap:var(--space-12);row-gap:var(--space-4);padding-block:var(--space-8);flex-wrap:nowrap}.thread__head:has(.thread__confirm){flex-wrap:wrap}:is(.thread__actions:has(.thread__confirm),.thread__hold:has(.thread__confirm)){flex-wrap:wrap;flex:100%}.thread__back{flex:none;margin-inline-start:calc(-1 * var(--space-8))}@media (width>=1024px){.thread__back{display:none}}.thread__who{flex:0 auto;min-width:0;display:grid}.thread__title{text-overflow:ellipsis;white-space:nowrap;margin:0;display:block;overflow:hidden}.thread__head>.cl-avatar{flex:none}.thread__mark{border-radius:var(--radius-full);display:block}.thread__meta{align-items:center;gap:var(--space-8);min-width:0;font-size:var(--text-meta-size);line-height:var(--text-meta-line);font-weight:var(--text-meta-weight);color:var(--text-secondary);flex:1 1 0;display:flex}.thread__channel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.thread__actions{justify-content:flex-end;align-items:center;gap:var(--space-8);flex-wrap:nowrap;flex:none;min-width:0;margin-inline-start:auto;display:flex}.thread__hold{align-items:center;gap:var(--space-8);flex-wrap:nowrap;display:flex}.thread__confirm{gap:var(--space-8);padding:var(--space-12);border-radius:var(--radius-md);background:var(--warning-subtle);flex:100%;display:grid}.thread__confirm p{font-size:var(--text-body-size);line-height:var(--text-body-line);color:var(--text-primary);margin:0}.thread__confirm-actions{gap:var(--space-8);flex-wrap:wrap;display:flex}.thread__top{gap:var(--space-8);padding:var(--space-8) var(--space-16) 0;border-bottom:1px solid var(--border-subtle);flex:none;max-height:45vh;display:grid;overflow-y:auto}.thread__top>:last-child{margin-block-end:var(--space-8)}.thread .cl-alert{grid-template-columns:16px minmax(0,1fr)}.thread .cl-alert__actions{justify-self:start;gap:var(--space-8);margin-top:var(--space-8);flex-wrap:wrap;grid-column:2;display:flex}.thread .cl-alert__body p{margin:0}.thread .cl-alert__body p+p{margin-top:var(--space-4)}.thread__quiet{font-size:var(--text-meta-size);line-height:var(--text-meta-line);font-weight:var(--text-meta-weight);color:var(--text-secondary);margin:0}.thread__panels{gap:var(--space-4) var(--space-8);flex-wrap:wrap;display:flex}.thread__panel{align-items:center;gap:var(--space-8);min-height:var(--size-control-sm);padding-inline:var(--space-8);border-radius:var(--radius-sm);cursor:pointer;font:inherit;color:var(--text-secondary);background:0 0;border:0;flex:none;font-size:13px;font-weight:600;line-height:20px;display:inline-flex}.thread__panel:after{content:"";border-block-end:1.5px solid;border-inline-end:1.5px solid;width:6px;height:6px;transform:rotate(-45deg)}.thread__panel:hover,.thread__panel[aria-expanded=true]{background:var(--surface-hover);color:var(--text-primary)}.thread__panel:focus-visible{outline:2px solid var(--focus);outline-offset:var(--space-2)}.thread__panel-body{gap:var(--space-12);display:grid}.thread__form{gap:var(--space-8);min-width:0;display:grid}.thread__form fieldset{gap:var(--space-8);border:0;min-width:0;margin:0;padding:0;display:grid}.thread__form legend{font-size:var(--text-label-size);line-height:var(--text-label-line);font-weight:var(--text-label-weight);color:var(--text-primary);margin-block-end:var(--space-4);padding:0}.thread__form-actions{gap:var(--space-8);flex-wrap:wrap;display:flex}.thread__notes{display:grid}.thread__notes .cl-msg{padding-inline:var(--space-8)}.thread__notes .cl-msg__body p{white-space:pre-wrap}.thread__activity{gap:var(--space-8);margin:0;padding:0;list-style:none;display:grid}.thread__activity p{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px}.thread__scroll{overscroll-behavior:contain;flex-direction:column;flex:1;min-height:8rem;display:flex;overflow-y:auto}.thread__content{flex:none;margin-block-start:auto}.thread__new{pointer-events:none;height:0;z-index:var(--z-sticky);justify-content:center;align-items:flex-end;display:flex;position:sticky;inset-block-end:var(--space-12);overflow:visible}.thread__new>.cl-btn{pointer-events:auto;box-shadow:var(--shadow-overlay);animation:cl-rise-in var(--dur-slide) var(--ease-out) both}.thread__new--composer{display:none}.thread .cl-msg__body p{white-space:pre-wrap}.thread .cl-system{padding-inline:var(--space-24);text-align:center;justify-content:center}.thread .cl-msg__head{flex-wrap:wrap}.thread .cl-msg__who{white-space:nowrap}.thread .cl-msg__meta{white-space:normal;flex-wrap:wrap;row-gap:0}.thread__save{font-size:var(--text-meta-size);color:var(--text-secondary);text-decoration:underline}.thread__delivery{align-items:center;gap:var(--space-4);flex-wrap:wrap;display:inline-flex}.thread__delivery--failed{color:var(--danger);font-weight:600}.thread__delivery--failed .cl-icon{color:var(--danger)}.thread__earlier,.thread__empty{padding:var(--space-8) var(--space-24);text-align:center;font-size:var(--text-meta-size);line-height:var(--text-meta-line);color:var(--text-muted);margin:0}.thread__reading{margin:var(--space-4) 0 0;color:var(--text-secondary);font-size:13px;line-height:20px}.thread__reading-heading{font-size:var(--text-meta-size);line-height:var(--text-meta-line);color:var(--text-muted)}.thread__state{padding:var(--space-8) var(--space-16)}.thread__skeleton{gap:var(--space-16);padding:var(--space-16) var(--space-24);display:grid}.thread__skeleton-row{grid-template-columns:var(--size-avatar-md) minmax(0, 1fr);column-gap:var(--space-12);display:grid}.thread__foot{flex:none;display:grid}.thread__dock{flex:none;max-height:45vh;display:grid;overflow-y:auto}.thread__dock .cl-proposal--docked{row-gap:var(--space-8);flex-wrap:wrap}.thread__dock .cl-proposal--docked .cl-proposal__title{white-space:normal;overflow:visible}.thread__expiry{font-size:var(--text-meta-size);line-height:var(--text-meta-line);font-weight:var(--text-meta-weight);color:var(--text-muted);white-space:nowrap;margin-inline-start:var(--space-8)}.thread__expiry:focus-visible{outline:2px solid var(--focus);outline-offset:var(--space-2);border-radius:var(--radius-sm)}.thread__edit{gap:var(--space-8);flex:100%;display:grid}.thread__edit textarea{resize:vertical;max-height:30vh}.thread__edit-actions{gap:var(--space-8);flex-wrap:wrap;display:flex}.thread__words{white-space:pre-wrap;overflow-wrap:anywhere;max-height:30vh;border-inline-start:2px solid var(--ai-border);color:var(--text-primary);flex:100%;margin:0;padding-inline-start:var(--space-12);font-size:13px;line-height:20px;overflow-y:auto}.thread__dock .cl-effects,.thread__dock .queue__status,.thread__dock .queue__after,.thread__dock .cl-proposal__actions{flex:100%}.proposal__photo{flex:100%;margin:0}.proposal__photo .thread__photo{max-height:12rem;margin-top:0}.thread__reply{gap:var(--space-8);flex:none;display:grid}.thread__reply>.cl-alert{margin-inline:var(--space-16)}.thread__reply .cl-composer{border-top:1px solid var(--border)}.thread__reply .cl-composer__bar{gap:var(--space-8);flex-wrap:wrap}.thread__hint{font-size:var(--text-meta-size);line-height:var(--text-meta-line);color:var(--text-muted)}.thread__take-hint{padding:var(--space-4) var(--space-16) var(--space-8);margin:0}.thread__payment{display:inline-flex}.thread__attachment{align-items:center;gap:var(--space-8);padding-inline:var(--space-16);min-width:0;display:flex}.thread__attachment .cl-attach{min-width:0;margin-top:0}.thread__attachment-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thread__photo{margin-top:var(--space-8);border-radius:var(--radius-sm);max-width:min(100%,16rem);max-height:16rem;box-shadow:inset 0 0 0 1px var(--border);object-fit:cover;display:block}.thread__payment>.cl-alert{z-index:var(--z-dropdown);width:max-content;max-width:18rem;position:absolute;inset-block-end:calc(100% + var(--space-4));inset-inline-start:0}.thread__template{margin-inline:var(--space-16);padding:var(--space-12);gap:var(--space-8);border-radius:var(--radius-md);background:var(--surface-secondary);max-height:50vh;box-shadow:inset 0 0 0 1px var(--border);display:grid;overflow-y:auto}.thread__template-title{font-size:var(--text-section-size);line-height:var(--text-section-line);font-weight:var(--text-section-weight);margin:0}.thread__template-title:focus{outline:none}.thread__template-form,.thread__template-loading{gap:var(--space-8);display:grid}.thread__template-text{gap:var(--space-2);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px;display:grid}.thread__template-label{font-size:var(--text-meta-size);line-height:var(--text-meta-line);color:var(--text-muted)}.thread__quote{border-inline-start:2px solid var(--border-strong);padding-inline-start:var(--space-8)}.thread__template-actions{gap:var(--space-8);flex-wrap:wrap;justify-content:flex-end;display:flex}@media (width<=767px){.thread{overflow-y:auto}.thread__top{max-height:none;overflow:visible}.thread__scroll{flex:1 0 auto;overflow:visible}.thread__head{background:var(--surface);z-index:var(--z-sticky);position:sticky;inset-block-start:0}.thread__template{max-height:none;overflow:visible}.thread__reply:has(.thread__template){position:static}.thread__foot{display:contents}.thread__reply{background:var(--surface);z-index:var(--z-sticky);padding-block-start:var(--space-8);position:sticky;inset-block-end:0}.thread__new--list{display:none}.thread__new--composer{height:auto;display:flex;position:absolute;inset-block-end:calc(100% + var(--space-8));inset-inline:0}}@media (width<=767px),(pointer:coarse){.thread .cl-btn{--h:var(--size-touch)}.thread__panel,.thread .cl-menu__item{min-height:var(--size-touch)}}@media (width<=767px){.thread__head--phone{align-items:center;gap:var(--space-8);height:auto;min-height:0;padding-block:var(--space-4);padding-inline:var(--space-8) var(--space-8);flex-wrap:nowrap}.thread__head--phone .thread__back{margin-inline-start:0}.thread__head--phone .thread__who{flex:1 1 0;min-width:0}.thread__head--phone .thread__title{white-space:nowrap}.thread__head--phone .thread__actions{gap:var(--space-4);flex-wrap:nowrap;flex:none}.thread__head--phone .thread__hold{gap:var(--space-4);flex-wrap:nowrap}.thread__head--phone .thread__hold .cl-badge{flex:none}.thread__channel-line{overflow-wrap:anywhere}.thread__head--phone:has(.thread__confirm){flex-wrap:wrap}:is(.thread__head--phone .thread__actions:has(.thread__confirm),.thread__head--phone .thread__hold:has(.thread__confirm)){flex-wrap:wrap;flex:100%}.thread__head--phone .cl-menu--popup{width:max-content;max-inline-size:calc(100vw - var(--space-32))}.thread__head--phone .cl-menu--popup button{white-space:normal;text-align:start}}.thread__deal{font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.thread .thread__order .cl-alert__actions{flex-wrap:nowrap;grid-area:1/3;justify-self:end;margin-top:0}.proposal-row{align-items:center;gap:var(--space-4) var(--space-8);padding:var(--space-8) var(--space-12) var(--space-8) var(--space-16);background:var(--surface-secondary);border-top:1px dashed var(--ai-border);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"mark toggle""words approve";min-width:0;display:grid}.proposal-row .cl-badge{grid-area:mark;justify-self:start}.proposal-row__words{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-primary);grid-area:words;font-size:13px;line-height:20px;overflow:hidden}.proposal-row .cl-btn{grid-area:approve}.proposal-row__toggle{width:var(--size-touch);height:var(--size-touch);margin:calc(-1 * var(--space-8)) calc(-1 * var(--space-4)) calc(-1 * var(--space-8)) 0;border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;background:0 0;border:0;grid-area:toggle;justify-content:center;justify-self:end;align-items:center;padding:0;display:inline-flex}.proposal-row__toggle:hover{background:var(--surface-hover);color:var(--text-primary)}.proposal-row__toggle:focus-visible{outline:2px solid var(--focus);outline-offset:var(--space-2)}.thread__presence{align-items:center;gap:var(--space-8);padding-block:var(--space-8);display:flex}
