/* Ticket components inherit the shared dashboard shell and atmosphere. */
html body #ticket-app-shell .ticket-metrics article{background:var(--nc-card,#161011ed)!important;border:1px solid var(--nc-border,#ffffff1c)!important;border-radius:18px!important}
html body #ticket-app-shell .ticket-row{background:#161011!important;border-color:#ffffff10!important;border-radius:12px!important}
html body #ticket-app-shell .ticket-row:hover{border-color:#e8415944!important;background:#1b111a!important}
html body #ticket-app-shell .ticket-pro-head>div:first-child{flex:1;min-width:0}
html body #ticket-app-shell .ticket-pro-head>div:last-child{width:auto}

/* Ticket navigation and setup actions share one compact, readable control system. */
html body #ticket-app-shell :is(.module-guide-pages,.module-setup-steps,.tools-actions){display:flex;flex-wrap:wrap;align-items:center;gap:10px}
html body #ticket-app-shell .module-guide-pages{width:fit-content;max-width:100%;padding:5px;border:1px solid #ffffff16;border-radius:15px;background:#140d0ee8;box-shadow:0 4px 16px #0002}
html body #ticket-app-shell :is(.module-guide-pages a,.module-setup-steps a,.module-setup-steps button,.tools-actions a){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px!important;height:auto!important;padding:10px 16px!important;box-sizing:border-box;border:1px solid #ffffff20!important;border-radius:11px!important;background:linear-gradient(180deg,#2b2022,#1f1617)!important;color:#e9e5ed!important;font-size:13px!important;font-weight:600;text-decoration:none!important;line-height:1.4;box-shadow:inset 0 1px #ffffff08,0 2px 4px #0002;transition:background .15s,border-color .15s,box-shadow .15s}
html body #ticket-app-shell .module-guide-pages a{border-color:transparent!important;background:transparent!important;box-shadow:none}
html body #ticket-app-shell .module-guide-pages a[aria-current=page],html body #ticket-app-shell .tools-actions a:first-child{background:linear-gradient(180deg,#9e293a,#79202d)!important;border-color:#e5586c66!important;color:#fff!important;box-shadow:inset 0 1px #ffffff18,0 3px 10px #5b101b33}
html body #ticket-app-shell :is(.module-guide-pages a,.module-setup-steps a,.module-setup-steps button,.tools-actions a):hover{background:#30212c!important;border-color:#ed6e805c!important;color:#fff!important;box-shadow:0 0 0 3px #e94f6510}
html body #ticket-app-shell :is(.module-guide-pages a,.module-setup-steps a,.module-setup-steps button,.tools-actions a):focus-visible{outline:3px solid #f39da9!important;outline-offset:3px}
html body #ticket-app-shell .module-setup-check{padding-top:18px;margin-top:18px;border-top:1px solid #ffffff12}
html body #ticket-app-shell .module-setup-note{flex-basis:100%;margin:12px 0 0;color:#b4a9b9;font-size:12px;line-height:1.6}
html body #ticket-app-shell .tools-actions{margin:20px 0}
html body #ticket-app-shell :is(.nc-supporting-view,.ticket-saved-replies)>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:16px 20px;list-style:none;border-radius:14px;color:#eee8f0;font-size:14px;font-weight:600;cursor:pointer;background:linear-gradient(110deg,#1d1720b3,#171011);transition:background .15s}
html body #ticket-app-shell :is(.nc-supporting-view,.ticket-saved-replies)>summary::-webkit-details-marker{display:none}
html body #ticket-app-shell :is(.nc-supporting-view,.ticket-saved-replies)>summary::after{content:'⌄';display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #ffffff1c;border-radius:8px;color:#df9ba5;background:#ffffff04;font-size:17px}
html body #ticket-app-shell :is(.nc-supporting-view,.ticket-saved-replies)[open]>summary::after{content:'⌃'}
html body #ticket-app-shell :is(.nc-supporting-view,.ticket-saved-replies)>summary:hover{background:#251b26}
html body #ticket-app-shell :is(.nc-supporting-view,.ticket-saved-replies)>summary:focus-visible{outline:3px solid #f39da9;outline-offset:3px}
@media(max-width:600px){html body #ticket-app-shell :is(.module-setup-steps,.tools-actions)>*{flex:1 1 145px}html body #ticket-app-shell .module-guide-pages{width:100%}html body #ticket-app-shell .module-guide-pages a{flex:1;padding:10px 12px!important}}
@media(prefers-reduced-motion:reduce){html body #ticket-app-shell :is(.module-guide-pages a,.module-setup-steps a,.module-setup-steps button,.tools-actions a){transition:none}}
