/* Ticket work has one primary surface: conversation above a full-width composer. */
.gx .panes .center{min-width:0;min-height:0;background:var(--sheet);overflow:hidden}
.gx .panes.s-off{--sw:0px}.gx .panes.s-off>.side{visibility:hidden;overflow:hidden;border:0}
.gx .thread{padding:20px 28px;gap:0;background:var(--sheet);min-height:100px}
.gx .thread>*{max-width:none;margin-left:0;margin-right:0}
.gx .thread>:first-child{margin-top:0}
.gx .thread .entry{margin-bottom:24px}.gx .entry .msg{max-width:none;border-radius:10px;border:1px solid var(--rule-soft);box-shadow:none;line-height:1.65;padding:16px 18px}
.gx .dock{padding:12px 28px 20px;background:var(--sheet);border-top:1px solid var(--rule-soft);min-width:0}
.gx .dock>*{max-width:none;width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
.gx .composer{border:1px solid var(--rule);border-radius:12px;box-shadow:0 2px 8px #11182705;background:var(--sheet)}
.gx .composer:focus-within{border-color:var(--sign);box-shadow:0 0 0 3px var(--sign-wash)}
.gx .composer .editor{min-height:136px;max-height:32vh;padding:18px 20px;font-size:14px;line-height:1.7}
.gx .composer .ct{padding:10px 16px 0}.gx .composer .cf{padding:12px 16px;border-top:1px solid var(--rule-soft);background:var(--sheet-2)}
.gx .ticket-utility{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:8px 28px;border-bottom:1px solid var(--rule-soft);background:var(--sheet)}
.gx .ticket-utility .ticket-work-time{display:flex;align-items:center;gap:7px;margin:0;padding:0;border:0;background:none;font-size:11px;color:var(--ink-3)}
.gx .ticket-utility .ticket-work-time b{font-size:11px;font-weight:400;color:var(--ink-3)}
.gx .ticket-utility .ticket-presence{padding:0;margin:0;font-size:11px;color:var(--ink-2)}.gx .ticket-presence:empty{display:none}
.gx .conversation-options{position:relative;margin-left:auto;font-size:12px}.gx .conversation-options>summary{cursor:pointer;list-style:none;border:1px solid var(--rule);border-radius:6px;padding:5px 9px;color:var(--ink-2)}
.gx .conversation-options>summary::after{content:'';display:inline-block;width:1em;height:1em;vertical-align:-.125em;background:currentColor;mask:var(--gd-icon-chevron-down) center/contain no-repeat;margin-left:7px}
.gx .conversation-options>div{position:absolute;right:0;top:calc(100% + 6px);z-index:20;background:var(--sheet);border:1px solid var(--rule);border-radius:10px;box-shadow:0 12px 32px #1118271a;width:250px;max-width:calc(100vw - 32px);padding:12px;display:grid;gap:10px}
.gx .conversation-options .layout-sw{padding:0;display:grid;justify-content:stretch;gap:8px}.gx .conversation-options .layout-sw .seg{display:flex}.gx .conversation-options .layout-sw button{flex:1;min-height:36px}
.gx .ch-main{align-items:flex-start}.gx .ch .req{font-size:12px}
.gx .calm-ticket-facts{gap:16px}.gx .calm-ticket-facts>div,.gx .calm-ticket-facts>button{display:flex;gap:7px;align-items:center}.gx .calm-ticket-facts b{font-size:12px;font-weight:600}
@media(min-width:901px){.gx .panes .side{width:320px;min-width:0}.gx .panes:not(.s-off){--sw:320px}.gx .ch{padding:16px 28px 6px}.gx .ch .ch-main{padding:12px 0}.gx .ch .ch-top{font-size:11px}.gx .ch h2{font-size:23px;line-height:1.3}}
@media(max-width:900px){.gx .thread{padding:16px}.gx .dock{padding:10px 12px 14px}.gx .composer .editor{min-height:112px;max-height:28dvh;padding:14px}.gx .ticket-utility{padding:6px 16px}.gx .ticket-utility .ticket-work-time{max-width:65%;overflow-wrap:anywhere}.gx .conversation-options>summary{min-height:36px;display:flex;align-items:center}.gx .conversation-options .layout-sw button{min-height:44px}.gx .panes .center{overflow:auto}.gx .panes.s-off>.side{display:none}}
@media(prefers-reduced-motion:reduce){.gx .composer{transition:none}}

.gx .composer .reply-tools{margin:0;padding:0;border-top:1px solid var(--rule-soft);border-radius:0;background:var(--sheet)}
.gx .composer .reply-tools>summary{margin:0;padding:7px 16px;min-height:28px;box-sizing:border-box;font-size:11px}
.gx .composer .reply-tools[open]>div{padding:12px 16px;max-height:180px;overflow:auto}
@media(min-width:901px){
 .gx .ch{padding:8px 24px 0}.gx .ch .ch-top{min-height:24px;padding:0;font-size:11px}
 .gx .ch .ch-main{padding:8px 0 6px;gap:8px}.gx .ch h2{font-size:21px}.gx .ch .req{margin-top:5px}
 .gx .ch .facts2{padding:6px 0;margin:0;min-height:28px}.gx .ch .facts2>div,.gx .ch .facts2>button{padding:0}
 .gx .ticket-utility{padding:5px 24px;min-height:30px;box-sizing:border-box}.gx .conversation-options>summary{padding:4px 8px}
 .gx .dock{padding:10px 24px 14px;flex-shrink:0}.gx .thread{padding:18px 24px;min-height:60px}
 .gx .composer .ct{min-height:38px;padding:0 12px;align-items:center}.gx .composer .ct>button{white-space:nowrap;min-height:38px;padding:8px 12px}
 .gx .composer .editor{min-height:80px;height:clamp(80px,18dvh,160px);max-height:26dvh;padding:14px 16px}
 .gx .composer .cf{padding:8px 12px;min-height:44px;box-sizing:border-box}.gx .composer .cf .note{font-size:10px}
}
@media(min-width:901px) and (max-height:700px){.gx .composer .editor{height:80px}.gx .ch .req{margin-top:2px}.gx .ch .ch-main{padding:4px 0}.gx .ch h2{font-size:19px}}

@media(min-width:901px){
 .gx .ch .calm-ticket-facts>:is(div,button){flex-direction:row;align-items:center;gap:7px}
 .gx .ch .calm-ticket-facts{padding:3px 0;min-height:30px}.gx .ch .calm-context>summary{padding:4px 8px;min-height:26px}
 .gx .ch .req :is(.rq,.orgl){min-height:26px;padding:3px 8px}.gx .ch .ch-main{padding:6px 0}
 .gx .composer .editor{height:clamp(88px,13dvh,128px);resize:vertical}
 .gx .ticket-utility{padding:3px 24px;min-height:30px}
}
