/* Agent workspace refresh; independent of the generated desk.css. */
:root{--ground:#f5f7fa;--sheet:#fff;--sheet-2:#f8fafc;--rule:#dfe5ed;--rule-soft:#edf0f5;--ink:#182536;--ink-2:#3d4d61;--ink-3:#66768b;--ink-4:#8390a2;--sign:#216b59;--sign-ink:#fff;--sign-wash:#e8f3ef}
:root[data-theme=dark]{--ground:#111a23;--sheet:#18232e;--sheet-2:#202e3b;--rule:#344353;--rule-soft:#293847;--ink:#e9eff5;--ink-2:#c4cfda;--ink-3:#a0afbf;--ink-4:#8294a7;--sign:#79cbb0;--sign-ink:#10241d;--sign-wash:#233f37}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--ground:#111a23;--sheet:#18232e;--sheet-2:#202e3b;--rule:#344353;--rule-soft:#293847;--ink:#e9eff5;--ink-2:#c4cfda;--ink-3:#a0afbf;--ink-4:#8294a7;--sign:#79cbb0;--sign-ink:#10241d;--sign-wash:#233f37}}
.app.gxroot{grid-template-columns:200px minmax(0,1fr)}
.gx .rail{background:#152b30;color:#d8e5e5;padding:24px 12px 14px;border:0}.gx .rail .brand{color:#fff;margin-bottom:28px;padding:0 8px;gap:9px;font-size:18px;letter-spacing:-.5px}.gx .rail .brand svg{color:#87d6bc}
.gx .nav-section{display:block;padding:8px 12px;margin:4px 0;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.4px;color:#9cb6b8}
.gx .rail a{min-height:43px;padding:10px 12px;border-radius:7px;margin-bottom:4px;color:#c5d5d8;font-size:14px;gap:12px}.gx .rail a:hover{background:#233e43;color:#fff}.gx .rail a[aria-current=page]{background:#2c504e;color:#fff;box-shadow:inset 3px 0 #8fdcbd}.gx .rail a .n{background:#3c615b;color:#c7f5de;border-radius:5px}
.gx .rail .ws,.gx .rail .demo,.gx .rail .who span{color:#a5bfc0}.gx .rail .ws b,.gx .rail .who b{color:#f0f7f5}.gx .rail .me{border-color:#355055;gap:6px;flex-wrap:wrap}.gx .rail .me .av{background:#315751;color:#c6f1de}.gx .rail .theme,.gx .rail .signout{color:#b6cccc}
.gx #deskTop{height:72px;padding:0 28px;gap:20px}.gx #deskTop h1{font-size:22px;letter-spacing:-.5px}.gx #deskTop .search{border-radius:8px;background:var(--sheet-2);max-width:390px;height:36px}
.gx .split{grid-template-columns:210px minmax(0,1fr)}.gx .split.v-off{grid-template-columns:44px minmax(0,1fr)}.gx .vpane{background:var(--sheet-2);padding:8px 12px 20px;border-color:var(--rule-soft)}.gx .vp-h{height:46px}.gx .vrow{border-radius:6px;padding:9px 8px;font-size:13px;margin:2px 0}.gx .vrow[aria-current=true]{background:var(--sign-wash);color:var(--sign);box-shadow:none}.gx .vrow .cnt{background:transparent;font-weight:600}.gx .vpane .sub{font-size:10px;letter-spacing:1px;padding-top:24px}
.gx .tabs{height:44px;background:var(--sheet-2);border-color:var(--rule-soft);padding-top:5px}.gx .tab{border-radius:6px 6px 0 0;font-size:12px;max-width:230px}.gx .tab[aria-selected=true]{background:var(--sheet);color:var(--sign);box-shadow:inset 0 -2px var(--sign)}.gx #dAllOpen{background:var(--sheet)}
.gx .queue-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 28px 24px}.gx .queue-eyebrow{color:var(--sign);font-size:10px;font-weight:700;letter-spacing:1.6px}.gx .queue-heading h2{font-size:27px;letter-spacing:-.7px;font-weight:600;margin:6px 0;line-height:1.2}.gx .queue-heading p{margin:0;font-size:14px;color:var(--ink-3)}.gx .queue-total{display:flex;align-items:center;gap:10px;color:var(--ink-3);font-size:12px;max-width:140px}.gx .queue-total b{font-size:36px;font-weight:600;color:var(--ink);letter-spacing:-1px}
.gx .queue-filters{display:flex;flex-wrap:wrap;gap:8px;padding:0 28px 24px}.gx .queue-filters button{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--rule);border-radius:7px;font-size:13px;color:var(--ink-2)}.gx .queue-filters button:hover{background:var(--sheet-2)}.gx .queue-filters button[aria-pressed=true]{background:var(--sign-wash);border-color:var(--sign);color:var(--sign);font-weight:600}.gx .queue-filters button span{background:var(--sheet-2);border-radius:4px;padding:0 5px;font-size:11px}
.gx .queue-toolbar{display:flex;align-items:center;gap:16px;padding:16px 28px;border-top:1px solid var(--rule-soft)}.gx .queue-search{display:flex;align-items:center;gap:8px;border:1px solid var(--rule);border-radius:7px;padding:0 10px;height:36px;width:250px;color:var(--ink-3)}.gx .queue-search input{width:100%;min-width:0;background:transparent;border:0;color:var(--ink);font:inherit;outline:0}.gx .queue-search:focus-within{outline:2px solid var(--sign);outline-offset:2px}.gx #queueResult{color:var(--ink-3);font-size:12px;white-space:nowrap}.gx .queue-sort{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-3);white-space:nowrap}.gx .queue-sort select{background:var(--sheet);border:1px solid var(--rule);border-radius:6px;padding:8px;font:inherit;color:var(--ink)}
.gx .queue-table-wrap{overflow:auto}.gx .ticket-table{table-layout:fixed;min-width:850px;width:100%}.gx .ticket-table th{background:var(--sheet-2);font-size:11px;font-weight:600;color:var(--ink-3);padding:12px 16px;text-transform:none;letter-spacing:0;text-align:left}.gx .ticket-table th:first-child{width:34%;padding-left:28px}.gx .ticket-table th:nth-child(2){width:20%}.gx .ticket-table th:nth-child(3),.gx .ticket-table th:nth-child(4){width:10%}.gx .ticket-table th:nth-child(5){width:15%}.gx .ticket-table td{padding:17px 16px;border-bottom:1px solid var(--rule-soft);font-size:13px;vertical-align:middle;overflow-wrap:anywhere}.gx .ticket-table td:first-child{padding-left:28px}.gx .ticket-table tr:hover td{background:var(--sheet-2)}
.gx .ticket-id{font:10px var(--code);color:var(--ink-3);margin-right:8px}.gx .ticket-subject{display:block;text-align:left;font-size:14px;font-weight:600;line-height:1.4;margin:3px 0;color:var(--ink)}.gx .ticket-subject:hover{color:var(--sign);text-decoration:underline}.gx .ticket-secondary{display:block;font-size:11px;color:var(--ink-3);line-height:1.5;margin-top:3px}.gx .requester-cell{display:flex;align-items:center;gap:9px}.gx .requester-cell b{font-weight:500}.gx .requester-cell small{display:block;color:var(--ink-3);font-size:11px}.gx .person-mark{width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;background:var(--sign-wash);color:var(--sign);font-size:10px;font-weight:700;border-radius:10px}
.gx .queue-status{display:inline-flex;gap:6px;align-items:center;font-size:11px;white-space:nowrap}.gx .queue-status::before{content:'';height:6px;width:6px;border-radius:50%;background:var(--ink-4)}.gx .queue-status.s-open::before{background:#407bb8}.gx .queue-status.s-pending::before{background:#b48022}.gx .acu-sq{min-width:0;height:22px;border-radius:5px;font-size:11px}.gx .acu-sq.u{background:#fce9e8;color:#a32925}.gx .acu-sq.h{background:#fff0e6;color:#9d521e}.gx .acu-sq.m{background:#edf1f7;color:#52657b}.gx .acu-sq.l{background:#eaf4ed;color:#39734d}.gx .queue-empty{padding:55px 20px;text-align:center;color:var(--ink-3)}.gx .queue-empty b{color:var(--ink);font-size:17px}
.gx .ch{background:var(--sheet);padding-left:26px;padding-right:26px}.gx .ch h2{font-size:24px;font-weight:600;letter-spacing:-.5px;text-wrap:initial}.gx .ch-main{padding-bottom:14px;gap:14px}.gx .ch-id{flex-basis:320px}.gx .facts2{gap:12px 28px;padding-bottom:14px}.gx .facts2 b{font-size:14px}.gx .facts2 span{font-size:11px}.gx .stp,.gx .asn{border-radius:6px;height:34px;font-size:13px}.gx .center{background:var(--sheet-2)}.gx .thread{padding:26px}.gx .thread>:first-child{margin-top:0}.gx .entry{margin-bottom:24px}.gx .entry .h{font-size:11px;margin-bottom:8px}.gx .entry .h b{font-size:13px}.gx .entry .msg{border-radius:9px;box-shadow:0 2px 5px #18253604;padding:18px 20px;font-size:14px;line-height:1.7;max-width:none}
.gx .dock{padding:12px 24px 20px}.gx .composer{border-radius:10px;box-shadow:0 3px 14px #18253608;overflow:hidden}.gx .composer.ai{border-style:solid;border-color:var(--rule)}.gx .composer .ct{padding:4px 12px 0}.gx .editor{min-height:110px;font-size:14px}.gx .cf{padding:12px;background:var(--sheet-2)}.gx .btn{border-radius:6px}.gx .btn.sign{box-shadow:0 1px 2px #0001}.gx .side{border-color:var(--rule-soft)}.gx .side-body{padding:20px}.gx .side .blk{padding-bottom:20px;margin-bottom:20px}.gx .side-h{min-height:48px}.gx .box-h h2{font-size:17px}.gx .item{padding:16px}.gx .item[aria-selected=true]{background:var(--sign-wash)}.gx .keys{font-size:10px}
@media(max-width:1150px){.app.gxroot{grid-template-columns:170px minmax(0,1fr)}.gx .rail .brand{font-size:15px}.gx .queue-heading{padding:24px 20px}.gx .queue-toolbar{padding:14px 20px;flex-wrap:wrap}.gx .queue-filters{padding-left:20px;padding-right:20px}.gx .queue-heading h2{font-size:23px}}
@media(max-width:760px){.app.gxroot{grid-template-columns:64px minmax(0,1fr)}.gx .rail{padding:18px 8px}.gx .rail .brand{padding:0 8px}.gx .rail .brand span,.gx .rail a span,.gx .rail a .n,.gx .nav-section,.gx .rail .ws,.gx .rail .demo,.gx .rail .who{display:none}.gx .rail a{justify-content:center;padding:11px}.gx .rail .me{justify-content:center}.gx #deskTop{padding:0 16px;height:62px;gap:8px}.gx #deskTop .seg{display:none}.gx #deskTop .search{flex:1;min-width:120px}.gx .queue-total{display:none}.gx .queue-sort{margin-left:0}.gx .queue-heading h2{font-size:21px}.gx .ch{padding-left:16px;padding-right:16px}.gx .ch h2{font-size:20px}.gx .queue-search{width:100%}.gx .queue-toolbar{gap:12px}.gx .cf{flex-wrap:wrap}.gx .cf .next{display:none}}
@media(prefers-reduced-motion:reduce){.gx *,.gx *::before,.gx *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.gx table.board.ticket-table{margin:0 0 30px;border:0;border-top:1px solid var(--rule-soft);border-radius:0;width:100%}
.gx .queue-table-wrap{flex:1;min-height:0}
@media(max-width:760px){.gx .rail .brand{font-size:0}.gx .rail .brand svg{width:28px;height:28px;flex-shrink:0}.gx .search input{font-size:12px}}
.gx .ticket-table tr:focus-visible{outline:2px solid var(--sign);outline-offset:-2px}.gx .ticket-table tr:focus-visible td{background:var(--sign-wash)}
.new-ticket{width:min(680px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid var(--rule);border-radius:12px;background:var(--sheet);color:var(--ink);padding:26px;box-shadow:0 20px 80px #0003}.new-ticket::backdrop{background:#10242c80;backdrop-filter:blur(3px)}.new-ticket header{display:flex;justify-content:space-between;gap:20px;align-items:center}.new-ticket h2{margin:4px 0;font-size:25px}.new-ticket p{color:var(--ink-3);line-height:1.6}.new-ticket label{display:flex;flex-direction:column;gap:6px;margin:15px 0;font-size:13px;font-weight:600}.new-ticket input,.new-ticket select,.new-ticket textarea{width:100%;min-width:0;border:1px solid var(--rule);border-radius:6px;padding:10px;font:inherit;color:var(--ink);background:var(--sheet);resize:vertical}.new-ticket .nt-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.new-ticket footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.new-ticket #ntError{font-size:13px;color:#b33b36}@media(max-width:700px){.new-ticket .nt-fields{grid-template-columns:1fr;gap:0}.gx #deskTop{height:auto;min-height:72px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.gx #deskTop .search{max-width:100%}}

/* Authenticator sign-in shares the existing login card and theme. */
.gx #loginMfa{max-height:calc(100dvh - 100px);overflow:auto}.gx #loginMfa img{display:block;max-width:100%;height:auto;margin:16px auto;background:white}.gx #loginMfa pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--sheet-2);color:var(--ink);padding:12px;border-radius:7px}.gx #loginMfa .login-field{display:flex;flex-direction:column;gap:8px}

/* Native ticket conflict review follows the global light/dark theme tokens. */
.gd-ticket-conflict{box-sizing:border-box;max-width:760px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--rule);border-radius:12px;background:var(--sheet);color:var(--ink);font:400 15px/1.5 var(--ui);box-shadow:var(--shadow)}
.gd-ticket-conflict::backdrop{background:rgba(8,14,18,.55)}
.gd-ticket-conflict h2{font-size:20px;margin:0 0 12px}.gd-ticket-conflict h3{font-size:16px}
.gd-ticket-conflict button{font:600 14px var(--ui);padding:10px 14px;border:1px solid var(--rule);border-radius:6px;background:var(--sheet-2);color:var(--ink);cursor:pointer}.gd-ticket-conflict [data-review]{background:var(--sign);color:var(--sign-ink)}
.gd-ticket-conflict button:focus-visible{outline:2px solid var(--sign);outline-offset:3px}.gd-ticket-conflict [data-error]{color:var(--a1)}.gd-ticket-conflict button:disabled{opacity:.65;cursor:wait}

.gd-ticket-conflict dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px 20px;padding:14px;background:var(--sheet-2);border-radius:6px}.gd-ticket-conflict dt{font-weight:600}.gd-ticket-conflict dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.gd-ticket-conflict dd ul{margin:0;padding-left:18px}.gd-ticket-conflict [data-attempt]{user-select:text}

.gx .ticket-presence{margin:0;padding:7px 18px;border-bottom:1px solid var(--rule-soft);color:var(--ink-3);font-size:13px;background:var(--sheet-2);overflow-wrap:anywhere}

/* Saved replies use the desk theme in both light/dark modes, outside Settings. */
.gd-saved-replies .setup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.gd-saved-replies .setup-box{border:1px solid var(--rule);border-radius:8px;padding:16px;margin:16px 0;background:var(--sheet-2);overflow-wrap:anywhere}
.gd-saved-replies label{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:600}
.gd-saved-replies input:not([type=checkbox]),.gd-saved-replies textarea,.gd-saved-replies select{box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;border:1px solid var(--rule);border-radius:6px;background:var(--sheet);color:var(--ink);font:400 14px/1.5 var(--ui)}
.gd-saved-replies textarea{resize:vertical;min-height:140px}
.gd-saved-replies label.sr-checkbox{display:flex;align-items:center;gap:8px;font-weight:400}
.gd-saved-replies input[type=checkbox]{accent-color:var(--sign)}
.gd-saved-replies button{margin:4px 6px 4px 0}.gd-saved-replies button.sign{background:var(--sign);color:var(--sign-ink)}
.gd-saved-replies pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:35vh;overflow:auto;padding:12px;border:1px solid var(--rule);border-radius:6px;background:var(--sheet);font:400 14px/1.6 var(--ui)}
.gd-saved-replies [role=alert]{color:var(--a1)}.gd-saved-replies small{color:var(--ink-2)}
@media(max-width:600px){.gd-saved-replies .setup-fields{grid-template-columns:minmax(0,1fr)}}

/* Ticket subject: edited in place. A rounded box the width of the subject column marks it as clickable.
   It reaches 9px past the column on the left to line the text up, but stays 3px inside on the right so its
   3px focus glow ends at the column edge instead of under the Status control beside it. */
.gx .ch .ch-id>h2.subj{display:block;margin:0 3px 0 -9px;padding:3px 8px;border:1px solid transparent;border-radius:10px;transition:border-color .15s,background-color .15s,box-shadow .15s}.gx .ch .ch-id>h2.subj[data-edit-subject]{cursor:text}.gx .ch .ch-id>h2.subj[data-edit-subject]:hover,.gx .ch .ch-id>h2.subj[data-edit-subject]:focus-within{border-color:var(--rule);background:var(--sheet-2)}.gx .ch .ch-id>h2.subj[data-edit-subject]:has(.subj-text:focus-visible),.gx .ch .ch-id>h2.subj[data-edit-subject].editing{border-color:var(--sign);background:var(--sheet);box-shadow:0 0 0 3px var(--sign-wash)}.gx .ch h2.subj .subj-text{font:inherit;letter-spacing:inherit;color:inherit;text-wrap:inherit;background:none;border:0;padding:0;margin:0;text-align:left;cursor:inherit;outline:none}.gx .ch h2.subj .subj-input{display:block;box-sizing:border-box;width:100%;min-width:0;font:inherit;letter-spacing:inherit;color:inherit;background:transparent;border:0;padding:0;margin:0;outline:none}/* The rounded box is the focus indicator, so the global focus ring would double it. */.gx .ch .ch-id>h2.subj :is(.subj-text,.subj-input):is(:focus,:focus-visible),#appShell .gx .ch .ch-id>h2.subj :is(.subj-text,.subj-input):is(:focus,:focus-visible){outline:none;box-shadow:none}.gx .ch .subj-msg{margin:4px 0 0;font-size:12px;color:var(--ink-2)}.gx .ch .subj-msg.err{color:var(--critical)}@media(hover:none){.gx .ch .ch-id>h2.subj[data-edit-subject]{border-color:var(--rule-soft)}}

/* Queue selection keeps the ticket column wide and the checkbox target separate. */
.gx .queue-bulk{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 28px;border-top:1px solid var(--rule-soft)}
.gx .queue-bulk small{color:var(--ink-3)}
.gx .ticket-table th.queue-select,.gx .ticket-table td.queue-select{width:48px;padding:12px;text-align:center}
.gx .ticket-table th:nth-child(2){width:32%}.gx .ticket-table th:nth-child(3){width:19%}.gx .ticket-table th:nth-child(4),.gx .ticket-table th:nth-child(5){width:10%}.gx .ticket-table th:nth-child(6){width:15%}
.gx .ticket-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--sign);cursor:pointer}
.gd-queue-editor .queue-edit-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.gd-queue-editor label{display:flex;flex-direction:column;gap:5px}.gd-queue-editor select,.gd-queue-editor textarea{font:inherit;color:inherit;background:var(--sheet,#fff);border:1px solid var(--rule,#ccc);border-radius:6px;padding:8px}
.gd-queue-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.gd-queue-editor li{margin:8px 0}
.gd-queue-editor [data-review]{background:transparent;color:var(--ink)}

.gd-playbook-action pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--sheet-2);padding:14px;border-radius:6px;font:inherit}
