/* Customer ticket centre, "My tickets". Two screens: a single-column card list, and a ticket page
   (conversation + details column). 1024-1279: details become a drawer. */
.enduser-editorial[data-tc-view=list],
.enduser-editorial[data-tc-view=detail]{height:100vh;height:100dvh;overflow:hidden;background:#fff}
.enduser-editorial[data-tc-view=list] .support-header,
.enduser-editorial[data-tc-view=detail] .support-header{background:rgba(255,255,255,.88);border-bottom:1px solid rgba(201,207,203,.72);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%)}
.enduser-editorial[data-tc-view=list] .support-header>div:first-child,
.enduser-editorial[data-tc-view=detail] .support-header>div:first-child{max-width:none;width:min(calc(100% - 48px),1760px);border-bottom:0}
.enduser-editorial[data-tc-view=list] .support-header>div:first-child>div,
.enduser-editorial[data-tc-view=detail] .support-header>div:first-child>div{height:64px}
.enduser-editorial[data-tc-view=list]>footer,
.enduser-editorial[data-tc-view=detail]>footer{display:none}
.enduser-editorial[data-tc-view=list]>header,
.enduser-editorial[data-tc-view=detail]>header{flex:0 0 auto}
.enduser-editorial[data-tc-view=list] #page-head,
.enduser-editorial[data-tc-view=detail] #page-head,
.enduser-editorial[data-tc-view=list] .tc-seg,
.enduser-editorial[data-tc-view=detail] .tc-seg{display:none!important}
.enduser-editorial[data-tc-view=list] main.tc-shell,
.enduser-editorial[data-tc-view=detail] main.tc-shell{flex:1 1 0;min-height:0;max-width:none;width:100%;margin:0;padding:0;display:flex;flex-direction:column;justify-content:flex-start}

.enduser-editorial .tc-inbox-workspace{--tc-blue:#0057a6;--tc-blue-h:#003d7a;--tc-blue-p:#003166;--tc-blue-soft:#e8f1f8;--tc-ink:#242726;--tc-muted:#5f6761;--tc-faint:#8a918c;--tc-line:#e3e6e4;--tc-line-s:#cfd4d1;--tc-alt:#f6f7f6;--tc-hover:#f1f3f2;--tc-amber:#b45309;--tc-amber-bg:#fef3c7;--tc-hdr:65px;
 display:grid;grid-template-columns:minmax(0,1fr);flex:1 1 0;min-height:0;height:auto;background:#fff;border:0;border-radius:0;box-shadow:none;overflow:hidden;color:var(--tc-ink);font:400 15px/1.5 var(--tvt-font-sans)}
.enduser-editorial .tc-inbox-workspace.hidden-section{display:none!important}
.enduser-editorial .tc-inbox-workspace svg.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.enduser-editorial .tc-inbox-workspace button{font:inherit;color:inherit}
.enduser-editorial .tc-inbox-workspace :focus-visible{outline:2px solid var(--tc-blue);outline-offset:2px;border-radius:6px}

/* buttons */
.enduser-editorial .tc-inbox-workspace .tcb{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px;border-radius:8px;border:1px solid var(--tc-line-s);background:#fff;color:var(--tc-ink);font-size:14px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .12s,border-color .12s}
.enduser-editorial .tc-inbox-workspace .tcb:hover{background:var(--tc-hover);border-color:#b9c0bc}
.enduser-editorial .tc-inbox-workspace .tcb:active{background:#e8ebe9}
.enduser-editorial .tc-inbox-workspace .tcb.primary{background:var(--tc-blue);border-color:var(--tc-blue);color:#fff}
.enduser-editorial .tc-inbox-workspace .tcb.primary:hover{background:var(--tc-blue-h);border-color:var(--tc-blue-h)}
.enduser-editorial .tc-inbox-workspace .tcb.primary:active{background:var(--tc-blue-p)}
.enduser-editorial .tc-inbox-workspace .tcb.sm{height:32px;padding:0 12px}
.enduser-editorial .tc-inbox-workspace .tcb.icon{width:36px;padding:0}
.enduser-editorial .tc-inbox-workspace .tcb.icon[aria-pressed=true]{background:var(--tc-blue-soft);border-color:#b7d1e6;color:var(--tc-blue)}
.enduser-editorial .tc-inbox-workspace .tcb:disabled{opacity:.45;cursor:not-allowed}
.enduser-editorial .tc-inbox-workspace .tcb.hidden-section{display:none!important}

/* ---- list page ---- */
.enduser-editorial[data-tc-view=list] #view-detail,
.enduser-editorial[data-tc-view=detail] #view-list{display:none!important}
.enduser-editorial .tc-inbox-queue{display:block;min-width:0;min-height:0;overflow-y:auto;background:#fff;-webkit-overflow-scrolling:touch}
.enduser-editorial .tc-list-page{width:100%;max-width:720px;margin:0 auto;padding:20px 16px 32px}
.enduser-editorial .tc-list-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-bottom:16px}
.enduser-editorial .tc-list-title{margin:0;font-size:28px;font-weight:700;line-height:1.15;letter-spacing:-.02em;color:var(--tvt-color-text)}
.enduser-editorial .tc-inbox-workspace .tc-newreq{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px 0 10px;border:0;border-radius:999px;background:linear-gradient(180deg,color-mix(in srgb,var(--tvt-color-primary) 88%,#fff),var(--tvt-color-primary));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 6px 16px -6px color-mix(in srgb,var(--tvt-color-primary) 55%,transparent);color:#fff;font:600 15px/1 var(--tvt-font-sans);letter-spacing:-.01em;white-space:nowrap;cursor:pointer;transition:transform .15s,box-shadow .15s}
.enduser-editorial .tc-inbox-workspace .tc-newreq-chip{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.18);transition:background .15s}
.enduser-editorial .tc-inbox-workspace .tc-newreq-chip svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease-out}
.enduser-editorial .tc-inbox-workspace .tc-newreq:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 22px -6px color-mix(in srgb,var(--tvt-color-primary) 65%,transparent)}
.enduser-editorial .tc-inbox-workspace .tc-newreq:hover .tc-newreq-chip{background:rgba(255,255,255,.26)}
.enduser-editorial .tc-inbox-workspace .tc-newreq:hover .tc-newreq-chip svg{transform:rotate(90deg)}
.enduser-editorial .tc-inbox-workspace .tc-newreq:active{transform:translateY(0) scale(.98);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 8px -4px color-mix(in srgb,var(--tvt-color-primary) 55%,transparent)}
.enduser-editorial .tc-inbox-workspace .tc-newreq:focus-visible{outline:2px solid var(--tvt-color-primary);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.enduser-editorial .tc-inbox-workspace .tc-newreq,.enduser-editorial .tc-inbox-workspace .tc-newreq-chip svg{transition:none}.enduser-editorial .tc-inbox-workspace .tc-newreq:hover,.enduser-editorial .tc-inbox-workspace .tc-newreq:active{transform:none}.enduser-editorial .tc-inbox-workspace .tc-newreq:hover .tc-newreq-chip svg{transform:none}}
.enduser-editorial .tc-inbox-queue.is-empty .tc-list-head .tc-newreq{display:none}
.enduser-editorial .tc-cards{display:flex;flex-direction:column;gap:8px}
.enduser-editorial .tc-card{--card-bg:var(--tvt-color-bg-surface);display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"ico title" "ico status" "ico meta";column-gap:12px;row-gap:0;align-items:center;width:100%;min-height:44px;margin:0;text-align:left;padding:12px 14px;border:1px solid var(--tvt-color-border);border-radius:12px;background:var(--card-bg);color:var(--tvt-color-text);cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.enduser-editorial .tc-card:hover{border-color:var(--tvt-color-border-strong);transform:translateY(-1px);box-shadow:0 6px 18px rgba(17,24,39,.08)}
.enduser-editorial .tc-card:active{transform:none;box-shadow:none}
.enduser-editorial .tc-card:focus-visible{outline-offset:2px;border-radius:12px}
.enduser-editorial .tc-card-ico{grid-area:ico;position:relative;width:40px;height:40px;border-radius:10px;background:var(--tvt-color-primary-tint);color:var(--tvt-color-primary);display:grid;place-items:center;align-self:start}
.enduser-editorial .tc-card-ico svg.i{width:20px;height:20px}
.enduser-editorial .tc-card-title{grid-area:title;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px;font-weight:600;line-height:22px;overflow-wrap:anywhere}
.enduser-editorial .tc-card-meta{grid-area:meta;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:20px;color:var(--tvt-color-text-secondary)}
.enduser-editorial .tc-card-time{display:none;grid-area:time;justify-self:end;white-space:nowrap;font-size:12px;line-height:20px;color:var(--tvt-color-text-muted)}
.enduser-editorial .tc-card-status{grid-area:status;display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:500;line-height:20px;color:var(--tvt-color-text)}
.enduser-editorial .tc-card-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--tvt-color-text-muted)}
.enduser-editorial .tc-card.st-progress .tc-card-dot{background:var(--tvt-color-primary)}
.enduser-editorial .tc-card.st-resolved .tc-card-dot{background:var(--tvt-color-success)}
.enduser-editorial .tc-card.st-awaiting .tc-card-dot{background:var(--tvt-color-warning)}
.enduser-editorial .tc-card.st-awaiting .tc-card-status{color:var(--tc-amber)}
.enduser-editorial .tc-card.st-awaiting{--card-bg:var(--tvt-color-warning-tint);border-color:var(--tvt-color-warning-border);border-color:color-mix(in srgb,var(--tvt-color-warning) 45%,transparent)}
.enduser-editorial .tc-card.st-awaiting .tc-card-ico{background:var(--tvt-color-bg-surface)}
.enduser-editorial .tc-card-unread{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--tvt-color-primary);box-shadow:0 0 0 2px var(--card-bg)}
.enduser-editorial .tc-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.enduser-editorial .tc-empty-state{display:flex;flex-direction:column;align-items:center;gap:20px;padding:40px 0 0;text-align:center}
.enduser-editorial .tc-empty-state.hidden-section{display:none!important}
.enduser-editorial .tc-empty-state h2{margin:0;max-width:15em;font-size:22px;font-weight:600;line-height:1.3;color:var(--tvt-color-text)}
.enduser-editorial .tc-empty-state svg:not(.i){max-width:100%;height:auto}
.enduser-editorial .tc-empty-state .a-soft{fill:var(--tvt-color-primary-tint)}
.enduser-editorial .tc-empty-state .a-line{fill:var(--tvt-color-bg-surface);stroke:var(--tvt-color-primary)}
.enduser-editorial .tc-empty-state .a-stroke{stroke:var(--tvt-color-primary)}
.enduser-editorial .tc-empty-state .a-fill{fill:var(--tvt-color-primary)}
.enduser-editorial .tc-empty-state .a-amber{fill:var(--tvt-color-warning)}
.enduser-editorial .tc-empty-state .a-green{fill:var(--tvt-color-success)}
.enduser-editorial .tc-list-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}
.enduser-editorial .tc-list-pager:empty{display:none}
.enduser-editorial .tc-inbox-workspace .tc-list-pager .tcb{height:44px;padding:0 18px}
.enduser-editorial .tc-list-pager .tc-pager-n{font-size:14px;color:var(--tvt-color-text-secondary)}
@media(min-width:640px){
 .enduser-editorial .tc-list-title{font-size:32px}
 .enduser-editorial .tc-list-page{padding-top:28px}
 .enduser-editorial .tc-card{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"ico title status" "ico meta time";padding:12px 16px}
 .enduser-editorial .tc-card-title{display:block;white-space:nowrap;text-overflow:ellipsis}
 .enduser-editorial .tc-card-status{justify-self:end;white-space:nowrap}
 .enduser-editorial .tc-card-time{display:block}
 .enduser-editorial .tc-card-ago{display:none}
}
@media(prefers-reduced-motion:reduce){.enduser-editorial .tc-card{transition:none}.enduser-editorial .tc-card:hover{transform:none}}

/* ---- conversation column ---- */
.enduser-editorial .tc-inbox-detail{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}
.enduser-editorial .tc-inbox-body{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 320px;flex:1 1 auto;min-height:0;height:100%}
.enduser-editorial .tc-inbox-body.hidden-section{display:none!important}
.enduser-editorial .tc-inbox-body.is-loading .tc-inbox-head-left,.enduser-editorial .tc-inbox-body.is-loading .tc-inbox-head-actions,.enduser-editorial .tc-inbox-body.is-loading .tc-inbox-chat,.enduser-editorial .tc-inbox-body.is-loading .tc-details{visibility:hidden}
.enduser-editorial .tc-inbox-body.is-drawer-collapsed{grid-template-columns:minmax(0,1fr)}
.enduser-editorial .tc-inbox-body.is-drawer-collapsed .tc-details{display:none}
.enduser-editorial .tc-inbox-main{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;background:#fff}
.enduser-editorial .tc-inbox-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:16px 24px;border-bottom:1px solid var(--tc-line);flex:none}
.enduser-editorial .tc-inbox-workspace .tcb.tc-mobile-back{width:44px;height:44px;flex:none}
.enduser-editorial .tc-inbox-head-left{flex:1 1 260px;min-width:0}
.enduser-editorial .tc-inbox-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.enduser-editorial .tc-inbox-head .tc-detail-h1{margin:0;font:600 21px/28px var(--tvt-font-sans);letter-spacing:0;color:var(--tc-ink);overflow-wrap:anywhere;text-wrap:wrap}
.enduser-editorial .tc-inbox-head .tc-st{border:1px solid var(--tc-line-s);border-radius:12px;padding:1px 10px;font-weight:500;color:var(--tc-ink)}
.enduser-editorial .tc-inbox-head .tc-st.awaiting{border-color:#f3d58a;color:var(--tc-amber);background:var(--tc-amber-bg)}
.enduser-editorial .tc-inbox-head .tc-detail-meta{display:block;margin:2px 0 0;font-size:13px;line-height:1.5;color:var(--tc-muted)}
.enduser-editorial .tc-inbox-head-actions{display:flex;gap:8px;margin-left:auto}

.enduser-editorial .tc-inbox-chat{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;height:auto!important}
.enduser-editorial .tc-inbox-chat>.tc-group-b{flex:1 1 auto;min-height:0;padding:0!important;display:flex;flex-direction:column;overflow:hidden}
.enduser-editorial .tc-inbox-chat #thread-fade{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden;height:auto}
.enduser-editorial .tc-inbox-chat #thread-fade::before,.enduser-editorial .tc-inbox-chat #thread-fade::after{display:none}
.enduser-editorial .tc-inbox-chat #comments-timeline{flex:1 1 auto;min-height:0;height:auto!important;max-height:none!important;overflow-y:auto;overflow-x:hidden;overflow-anchor:none;overscroll-behavior-y:contain;padding:24px 24px 16px;gap:0;display:block}
.enduser-editorial .tc-inbox-chat #comments-timeline>*{max-width:760px;margin-left:auto;margin-right:auto}
.enduser-editorial #thread-new-replies{position:absolute;right:24px;bottom:12px;z-index:2;padding:6px 14px;border:0;border-radius:999px;background:#0057a6;color:#fff;font:500 13px/1.4 var(--tvt-font-sans);box-shadow:0 4px 14px rgba(0,87,166,.28);cursor:pointer}
.enduser-editorial #thread-new-replies[hidden]{display:none}

.enduser-editorial #comments-timeline .tc-sep{display:flex;align-items:center;gap:12px;margin:24px 0 16px;font-size:12px;font-weight:500;line-height:1.4;color:var(--tc-faint)}
.enduser-editorial #comments-timeline .tc-sep::before,.enduser-editorial #comments-timeline .tc-sep::after{content:"";flex:1;height:1px;background:var(--tc-line)}
.enduser-editorial #comments-timeline .tc-msg:first-child>.tc-sep:first-child{margin-top:0}
.enduser-editorial #comments-timeline .tc-sep.t{justify-content:center;margin:16px 0 8px}
.enduser-editorial #comments-timeline .tc-sep.t::before,.enduser-editorial #comments-timeline .tc-sep.t::after{display:none}
.enduser-editorial #comments-timeline .tc-ev{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px;line-height:1.4;color:var(--tc-faint)}
.enduser-editorial #comments-timeline .tc-ev::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--tc-line-s);margin:0 3px;flex:none}
.enduser-editorial #comments-timeline .tc-msg{min-width:0}
.enduser-editorial #comments-timeline .tc-msg.is-first{margin-top:16px}
.enduser-editorial #comments-timeline .tc-msg.is-cont{margin-top:4px}
.enduser-editorial #comments-timeline .tc-msg:first-child{margin-top:0}
.enduser-editorial #comments-timeline .tc-msg.is-ev{margin-top:0}
.enduser-editorial #comments-timeline .tvt-bubble-row{display:flex;align-items:flex-start;gap:12px;min-width:0}
.enduser-editorial #comments-timeline .tvt-bubble-row--mine{justify-content:flex-end}
.enduser-editorial #comments-timeline .tvt-bubble-row--theirs{justify-content:flex-start}
.enduser-editorial #comments-timeline .tvt-bubble-row--recalled{justify-content:center}
.enduser-editorial #comments-timeline .tc-avatar{flex:0 0 32px;width:32px;height:32px;margin-top:2px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--tc-blue-soft)}
.enduser-editorial #comments-timeline .tc-avatar img{width:21px;height:auto;display:block}
.enduser-editorial #comments-timeline .tc-avatar-gap{flex:0 0 32px;width:32px}
.enduser-editorial #comments-timeline .tvt-bubble-group{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:calc(100% - 44px)}
.enduser-editorial #comments-timeline .tvt-bubble-row--mine .tvt-bubble-group{align-items:flex-end;max-width:85%}
.enduser-editorial #comments-timeline .tvt-bubble-row--theirs .tvt-bubble-group{align-items:flex-start}
.enduser-editorial #comments-timeline .tvt-bubble-head{display:block;margin:0 0 2px;font-size:13px;line-height:1.5;color:var(--tc-muted)}
.enduser-editorial #comments-timeline .tvt-bubble-head b{font-weight:600;color:var(--tc-ink)}
.enduser-editorial #comments-timeline .tvt-bubble-head span{color:var(--tc-faint)}
.enduser-editorial #comments-timeline .tc-msg-stack{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%}
.enduser-editorial #comments-timeline .tvt-bubble-row--mine .tc-msg-stack{align-items:flex-end}
.enduser-editorial #comments-timeline .tvt-bubble-row--theirs .tc-msg-stack{align-items:flex-start}
.enduser-editorial #comments-timeline .tvt-bubble{width:fit-content;min-width:44px;max-width:100%;padding:8px 14px;border:0;box-shadow:none;border-radius:16px;font:400 15px/1.5 var(--tvt-font-sans);overflow-wrap:anywhere;white-space:normal;text-align:left}
.enduser-editorial #comments-timeline .tvt-bubble--theirs{background:var(--tc-hover);color:var(--tc-ink)}
.enduser-editorial #comments-timeline .tvt-bubble--mine{background:var(--tc-blue);color:#fff}
.enduser-editorial #comments-timeline .tvt-bubble .ticket-markdown{white-space:pre-wrap}
.enduser-editorial #comments-timeline .tc-msg-media{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%}
.enduser-editorial #comments-timeline .tvt-bubble-row--mine .tc-msg-media{align-items:flex-end}
.enduser-editorial #comments-timeline .tvt-bubble-row--theirs .tc-msg-media{align-items:flex-start}
.enduser-editorial #comments-timeline .tc-pic{display:block;max-width:320px;padding:0;border:1px solid var(--tc-line);border-radius:12px;overflow:hidden;background:#fff;cursor:zoom-in;transition:filter .12s}
.enduser-editorial #comments-timeline .tc-pic:hover{filter:brightness(.96)}
.enduser-editorial #comments-timeline .tc-pic img{display:block;width:100%;height:auto;max-width:100%}
.enduser-editorial #comments-timeline .tc-fcard{display:flex;align-items:center;gap:12px;width:300px;max-width:100%;padding:10px 12px;border:1px solid var(--tc-line-s);border-radius:12px;background:#fff;color:var(--tc-ink);text-decoration:none;text-align:left}
.enduser-editorial #comments-timeline .tc-fcard:hover{background:var(--tc-alt)}
.enduser-editorial .tc-fcard .fi,.enduser-editorial .tc-arow .th{width:40px;height:40px;border-radius:8px;background:var(--tc-blue-soft);color:var(--tc-blue);display:grid;place-items:center;flex:none;overflow:hidden}
.enduser-editorial .tc-fcard .fn,.enduser-editorial .tc-arow .fn,.enduser-editorial .tc-chip .fn{flex:1;min-width:0;display:block}
.enduser-editorial .tc-fcard .fn b,.enduser-editorial .tc-arow .fn b,.enduser-editorial .tc-chip .fn b{display:block;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.enduser-editorial .tc-fcard .fn span,.enduser-editorial .tc-arow .fn span,.enduser-editorial .tc-chip .fn span{display:block;font-size:12px;line-height:1.4;color:var(--tc-muted)}
.enduser-editorial .tc-fcard .dl,.enduser-editorial .tc-arow .dl{flex:none;color:var(--tc-muted);display:grid;place-items:center;width:32px;height:32px;border-radius:6px}
.enduser-editorial .tc-fcard:hover .dl,.enduser-editorial .tc-arow:hover .dl{color:var(--tc-blue)}
.enduser-editorial #comments-timeline .tc-recalled{display:flex;justify-content:center;max-width:100%;padding:2px 8px;border:0;border-radius:0;background:none;color:var(--tc-faint);font-size:13px;line-height:1.4;text-align:center}
.enduser-editorial #comments-timeline .tc-message-enter{animation:tc-message-arrive 220ms ease-out both}
@keyframes tc-message-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes tc-message-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.enduser-editorial #comments-timeline .tc-message-enter{animation:tc-message-fade 160ms ease-out both}}

/* composer */
.enduser-editorial .tc-cwrap{flex:none;padding:8px 24px 16px;background:#fff}
.enduser-editorial .tc-cwrap.hidden-section{display:none!important}
.enduser-editorial .tc-comp{max-width:760px;margin:0 auto;border:1px solid var(--tc-line-s);border-radius:14px;background:#fff;padding:8px;transition:border-color .12s,box-shadow .12s}
.enduser-editorial .tc-comp:hover{border-color:#b9c0bc}
.enduser-editorial .tc-comp:focus-within{border-color:var(--tc-blue);box-shadow:0 0 0 3px rgba(0,87,166,.15)}
.enduser-editorial .tc-comp.is-drag{border-color:var(--tc-blue);background:#f2f7fc}
.enduser-editorial .tc-chips{padding:0 0 8px}
.enduser-editorial .tc-chips.hidden-section{display:none!important}
.enduser-editorial .tc-chips-row{display:flex;flex-wrap:wrap;gap:8px;max-height:112px;overflow-y:auto}
.enduser-editorial .tc-chip{display:flex;align-items:center;gap:8px;max-width:100%;padding:6px 6px 6px 8px;border:1px solid var(--tc-line);border-radius:10px;background:var(--tc-alt);font-size:13px}
.enduser-editorial .tc-chip>svg{color:var(--tc-blue)}
.enduser-editorial .tc-chip .fn{max-width:200px}
.enduser-editorial .tc-chip .fn b{font-size:13px}
.enduser-editorial .tc-chip button{width:24px;height:24px;border:0;border-radius:6px;background:none;display:grid;place-items:center;color:var(--tc-muted);cursor:pointer}
.enduser-editorial .tc-chip button:hover{background:var(--tc-line)}
.enduser-editorial .tc-crow{display:flex;align-items:flex-end;gap:8px}
.enduser-editorial .tc-comp textarea{flex:1;min-width:0;width:auto;height:34px;max-height:132px;border:0;border-radius:0;resize:none;background:transparent;padding:6px 4px;line-height:22px;font:400 15px/22px var(--tvt-font-sans);color:var(--tc-ink);display:block;overflow-y:auto;box-shadow:none;outline:none;min-height:34px}
.enduser-editorial .tc-comp textarea::placeholder{color:var(--tc-faint)}
.enduser-editorial .tc-comp textarea:focus,.enduser-editorial .tc-comp textarea:focus-visible{outline:none;box-shadow:none}
.enduser-editorial .tc-comp .ib{width:36px;height:36px;border:0;border-radius:8px;background:none;display:grid;place-items:center;color:var(--tc-muted);flex:none;padding:0;cursor:pointer;transition:background .12s,color .12s}
.enduser-editorial .tc-comp .ib:hover{background:var(--tc-hover);color:var(--tc-ink)}
.enduser-editorial .tc-comp .ib:active{background:var(--tc-line)}
.enduser-editorial .tc-comp .ib.send{background:var(--tc-blue);color:#fff;border-radius:50%}
.enduser-editorial .tc-comp .ib.send:hover{background:var(--tc-blue-h);color:#fff}
.enduser-editorial .tc-comp .ib.send:active{background:var(--tc-blue-p)}
.enduser-editorial .tc-comp .ib.send.is-empty{background:#e3e6e4;color:#a2a8a4}
.enduser-editorial .tc-comp .ib.send:disabled{cursor:not-allowed}
.enduser-editorial .tc-closed-bar{max-width:760px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid var(--tc-line);border-radius:14px;background:var(--tc-alt);font-size:14px;color:var(--tc-muted)}

/* ---- details column ---- */
.enduser-editorial .tc-details{min-height:0;overflow-y:auto;border-left:1px solid var(--tc-line);background:#fff;padding:0;position:static;display:block}
.enduser-editorial .tc-dsec{padding:20px 24px;border-bottom:1px solid var(--tc-line);margin:0;border-radius:0;box-shadow:none;background:transparent}
.enduser-editorial .tc-dsec:last-child{border-bottom:0}
.enduser-editorial .tc-dsec.hidden-section{display:none!important}
.enduser-editorial .tc-dsec h3{margin:0 0 12px;font-size:13px;font-weight:600;line-height:1.4;color:var(--tc-muted)}
.enduser-editorial .tc-details .tc-desc{margin:0;font-size:14px;line-height:22px;color:var(--tc-ink);white-space:pre-wrap;overflow-wrap:anywhere}
.enduser-editorial .tc-details .tc-desc.is-clamped{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.enduser-editorial .tc-desc-toggle{display:block;margin-top:8px;padding:0;border:0;background:none;font-size:13px;font-weight:500;color:var(--tc-blue);cursor:pointer}
.enduser-editorial .tc-desc-toggle:hover{color:var(--tc-blue-h);text-decoration:underline}
.enduser-editorial .tc-dl{margin:0;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 20px;font-size:14px}
.enduser-editorial .tc-dl dt{color:var(--tc-muted);white-space:nowrap}
.enduser-editorial .tc-dl dd{margin:0;overflow-wrap:anywhere;color:var(--tc-ink)}
.enduser-editorial .tc-dl dd a{color:var(--tc-blue);text-decoration:none}
.enduser-editorial .tc-dl dd a:hover{text-decoration:underline}
.enduser-editorial .tc-dl dd img.tc-pic{width:96px;height:64px;object-fit:cover;border-radius:8px;cursor:zoom-in}
.enduser-editorial .tc-arow{display:flex;align-items:center;gap:12px;width:calc(100% + 16px);margin:0 -8px;padding:8px;border:0;border-radius:8px;background:none;text-align:left;cursor:pointer;color:var(--tc-ink);text-decoration:none}
.enduser-editorial .tc-arow:hover{background:var(--tc-alt)}
.enduser-editorial .tc-arow .th img{width:100%;height:100%;object-fit:cover;display:block}
.enduser-editorial .tc-arow .dl{color:var(--tc-faint)}
.enduser-editorial .tc-details .tc-key{margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.enduser-editorial .tc-details .tc-key-v{font-size:28px;line-height:36px;letter-spacing:.08em}
.enduser-editorial .tc-details .tc-key--danger .tc-key-v{font-size:14px;line-height:22px;letter-spacing:normal}
.enduser-editorial .tc-details #satisfaction-rating-container .tc-group-h{display:none}
.enduser-editorial .tc-details .tc-srow{padding:0 0 12px;border:0}
.enduser-editorial .tc-details .tc-star svg{width:22px;height:22px}
.enduser-editorial .tc-details .tc-group-n{font-size:12px;color:var(--tc-muted)}
.enduser-editorial .tc-scrim{display:none}

/* ---- overlays ---- */
.tc-ov{position:fixed;inset:0;z-index:3500;display:grid;place-items:center;padding:16px;background:rgba(20,24,22,.55);font:400 15px/1.5 var(--tvt-font-sans)}
.tc-ov[hidden]{display:none}
.tc-ov.lb{background:rgba(15,18,16,.82)}
.tc-ov.lb img{max-width:min(92vw,1100px);max-height:84vh;border-radius:8px;background:#fff;display:block}
.tc-ov.lb .x{position:absolute;top:16px;right:16px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center;cursor:pointer}
.tc-ov.lb .x:hover{background:rgba(255,255,255,.26)}
.tc-ov svg.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.tc-ov :focus-visible{outline:2px solid #0057a6;outline-offset:2px;border-radius:6px}
.tc-ov.lb :focus-visible{outline-color:#fff}
.tc-dlg{background:#fff;border-radius:14px;padding:24px;width:min(400px,100%);box-shadow:0 12px 32px rgba(0,0,0,.18);color:#242726}
.tc-dlg h4{margin:0 0 4px;font-size:18px;font-weight:600;line-height:1.4}
.tc-dlg p{margin:0 0 20px;font-size:14px;color:#5f6761}
.tc-dlg .bt{display:flex;justify-content:flex-end;gap:8px}
.tc-dlg .tcb{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border-radius:8px;border:1px solid #cfd4d1;background:#fff;color:#242726;font:500 14px/1 var(--tvt-font-sans);cursor:pointer}
.tc-dlg .tcb:hover{background:#f1f3f2;border-color:#b9c0bc}
.tc-dlg .tcb.primary{background:#0057a6;border-color:#0057a6;color:#fff}
.tc-dlg .tcb.primary:hover{background:#003d7a;border-color:#003d7a}
.tc-undo{position:fixed;left:50%;bottom:40px;transform:translate(-50%,16px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:16px;background:#242726;color:#fff;font:400 14px/1.4 var(--tvt-font-sans);padding:10px 12px 10px 16px;border-radius:10px;z-index:3600;transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px)}
.tc-undo.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.tc-undo button{border:0;background:none;color:#9cc7ee;font:600 14px/1.4 var(--tvt-font-sans);padding:4px 8px;border-radius:6px;cursor:pointer}
.tc-undo button:hover{background:rgba(255,255,255,.12)}
.tc-undo button:focus-visible{outline-color:#fff}
@media(prefers-reduced-motion:reduce){.tc-undo{transition:none}}

/* ---- responsive ---- */
@media(max-width:1279px){
 .enduser-editorial .tc-inbox-body,.enduser-editorial .tc-inbox-body.is-drawer-collapsed{grid-template-columns:minmax(0,1fr)}
 .enduser-editorial .tc-inbox-body .tc-details,.enduser-editorial .tc-inbox-body.is-drawer-collapsed .tc-details{display:block;position:fixed;top:var(--tc-hdr,65px);bottom:0;right:0;width:340px;max-width:100vw;z-index:30;border-left:1px solid var(--tc-line);box-shadow:-8px 0 24px rgba(0,0,0,.08);transform:translateX(100%);visibility:hidden;transition:transform .22s,visibility 0s .22s}
 .enduser-editorial .tc-inbox-body.is-drawer-open .tc-details{transform:none;visibility:visible;transition:transform .22s}
 .enduser-editorial .tc-inbox-body.is-drawer-open .tc-scrim{display:block;position:fixed;inset:var(--tc-hdr,65px) 0 0 0;background:rgba(20,24,22,.25);z-index:20}
}
@media(max-width:1023px){
 .enduser-editorial .tc-inbox-head{padding-left:16px;padding-right:16px}
 .enduser-editorial .tc-inbox-chat #comments-timeline{padding-left:16px;padding-right:16px}
 .enduser-editorial .tc-cwrap{padding:8px 16px 12px}
}
@media(max-width:759px){
 .enduser-editorial .tc-inbox-head{padding:12px 16px}
 .enduser-editorial .tc-inbox-head .tc-mobile-back{order:1}
 .enduser-editorial .tc-inbox-head-actions{order:2}
 .enduser-editorial .tc-inbox-head-left{flex:1 1 100%;order:3}
 .enduser-editorial .tc-inbox-head .tc-detail-h1{font-size:18px;line-height:24px}
 .enduser-editorial .tc-inbox-body .tc-details{width:100vw}
 .enduser-editorial .tc-inbox-chat #comments-timeline{padding:16px 16px 8px}
 .enduser-editorial #comments-timeline .tvt-bubble-row{gap:8px}
 .enduser-editorial .tc-comp textarea{font-size:16px}
}
