/* Ticket card and menu geometry follows the supplied production screenshots. */
.hrt-ticket-subtabs{display:flex;background:#f2f3f5;border-radius:6px;padding:3px;margin:4px 0 28px;width:max-content;max-width:100%}
.hrt-ticket-subtabs>button{border:0;background:transparent;padding:5px 10px;color:#40516b;border-radius:4px;font-size:12px;white-space:nowrap}
.hrt-ticket-subtabs>button.active{background:white;color:#f60;box-shadow:0 1px 4px #00000010}
.hrt-new-ticket{width:100%;height:32px;margin-bottom:20px;justify-content:center;background:#fff}
.hrt-ticket-card{position:relative;background:#fafafa;border:1px solid #eee;border-radius:6px;padding:12px;margin:0 0 16px;color:#25364f;font-size:12px}
.hrt-ticket-card-heading{display:flex;gap:6px;align-items:center;min-width:0}
.hrt-ticket-subject{flex:1;min-width:0;text-align:left;border:0;background:none;padding:0;font:inherit;font-size:13px;color:#15263d;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hrt-ticket-more-wrap{position:relative;flex-shrink:0}
.hrt-ticket-more-wrap>.icon-button{width:24px;height:24px;color:#aaa;padding:5px;border-radius:4px}
.hrt-ticket-more-wrap>.icon-button:hover,.hrt-ticket-more-wrap>.icon-button[aria-expanded=true]{background:#f1f2f5;color:#f60}
.hrt-ticket-more-wrap .icon{width:14px;height:14px}
.hrt-ticket-created{color:#96a0b2;font-size:11px;margin:6px 0 12px;line-height:20px}
.hrt-ticket-created>span{background:#ffe8bf;color:#ca9b4c;border-radius:8px;padding:3px 5px}
.hrt-ticket-card dl{display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;margin:0}
.hrt-ticket-card dt{color:#96a0b2;margin:0;line-height:17px}
.hrt-ticket-card dd{margin:0;line-height:17px;overflow-wrap:anywhere}
.hrt-ticket-menu{position:absolute;z-index:100;top:27px;right:0;min-width:88px;background:white;padding:5px;border-radius:8px;box-shadow:0 4px 18px #0002}
.hrt-ticket-menu>button{display:block;width:100%;border:0;background:none;padding:7px 10px;text-align:left;color:#444;white-space:nowrap;font:inherit;border-radius:4px}
.hrt-ticket-menu>button:hover{background:#f5f5f5}
.ticket-title-tools .hrt-translation{display:inline-flex}
.ticket-title-tools .hrt-menu{right:0}
.ticket-title-row>h1{flex:1}
.ticket-history-card{margin-bottom:16px}
.ticket-main .hrt-ticket-card{margin:0}
.ticket-main .hrt-ticket-created{font-size:12px}
.ticket-main .ticket-fields-scroll:has(.hrt-ticket-card){padding:8px 16px 24px}
@media(max-width:1300px){.ticket-title-tools .hrt-translate-settings>span:first-child:not(.hrt-chevron){max-width:110px;overflow:hidden;text-overflow:ellipsis}.ticket-title-tools .hrt-submenu{width:220px}.ticket-title-tools .hrt-display-menu{width:180px}}
