/* R16 support list and request form presentation; native behavior stays authoritative. */
.aztek-support-opening { display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:20px 28px; }
.aztek-support-opening > div { min-width:0; }
.aztek-support-opening h1 { margin-bottom:12px; }
.aztek-support-intro { margin:0;max-width:58ch;font-size:1.0625rem;line-height:1.6;color:var(--az-muted); }
.aztek-support-opening-actions { display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px; }
.aztek-support-opening-actions a { display:inline-flex;align-items:center;justify-content:center;min-height:46px;font-weight:600; }
.aztek-support-opening-actions .btn { padding:10px 18px;border-radius:5px; }
.aztek-support-list-link,.aztek-support-tools-link { text-decoration:underline;text-underline-offset:4px;padding:8px 0; }
#aztek-support-tools { scroll-margin-top:24px; }
#aztek-support-tools:focus-visible { outline:3px solid var(--az-mulberry);outline-offset:4px; }
.aztek-page-supportticketslist .aztek-table-region { padding:0!important;border-top:0; }
.aztek-request-list-intro { padding:18px 24px;background:var(--az-mulberry);color:#fff;border-radius:9px 9px 0 0; }
.aztek-page-supportticketslist .aztek-request-list-intro h2 { margin:0;font:600 1.25rem/1.4 "Source Sans 3",Arial,sans-serif;color:#fff!important; }
.aztek-request-list-intro p { margin:6px 0 0;font-size:.9375rem;line-height:1.5; }
.aztek-page-supportticketslist #tableTicketsList_wrapper { padding:20px; }
.aztek-page-supportticketslist #tableTicketsList thead th { color:var(--az-mulberry);font-size:.9375rem; }
.aztek-page-supportticketslist #tableTicketsList td { vertical-align:top;overflow-wrap:anywhere; }
.aztek-page-supportticketslist #tableTicketsList .ticket-number { display:block;font-size:.875rem;font-weight:400;color:var(--az-muted); }
.aztek-page-supportticketslist #tableTicketsList .ticket-subject { display:block;color:var(--az-mulberry);font-size:1.125rem;line-height:1.5;font-weight:600; }
.aztek-page-supportticketslist #tableTicketsList .ticket-subject.unread { font-weight:700; }
.aztek-page-supportticketslist #tableTicketsList .aztek-ticket-list-link { min-height:44px;padding:0; }
.aztek-ticket-list-link::after { content:attr(data-aztek-open);display:table;margin-top:12px;min-height:44px;padding:10px 14px;border:1px solid var(--az-mulberry);border-radius:5px;background:var(--az-mulberry);color:#fff;font:600 .9375rem/1.5 "Source Sans 3",Arial,sans-serif; }
.aztek-ticket-list-link:hover { text-decoration:none; }
.aztek-ticket-list-link:hover .ticket-subject { text-decoration:underline;text-underline-offset:4px; }
.aztek-ticket-list-link:focus-visible { outline:3px solid var(--az-mulberry);outline-offset:4px; }
.aztek-page-supportticketslist #tableTicketsList td .status { max-width:100%;white-space:normal;font-size:.875rem;line-height:1.4; }
.aztek-page-supportticketslist #tableTicketsList td:last-child { font-size:.9375rem;text-align:left!important; }
.aztek-page-supportticketslist #tableTicketsList { table-layout:fixed; }
.aztek-page-supportticketslist #tableTicketsList :is(th,td):nth-child(1) { width:17%!important; }
.aztek-page-supportticketslist #tableTicketsList :is(th,td):nth-child(2) { width:46%!important; }
.aztek-page-supportticketslist #tableTicketsList :is(th,td):nth-child(3) { width:17%!important; }
.aztek-page-supportticketslist #tableTicketsList :is(th,td):nth-child(4) { width:20%!important; }
.aztek-page-supportticketslist .aztek-scroll-hint { display:none; }
.aztek-page-supportticketslist .dataTables_filter input { width:min(100%,340px);font-size:1rem; }
.aztek-page-supportticketslist .dataTables_empty { padding:32px 20px!important; }
/* Native chooser links retain their exact destinations, names and descriptions. */
.aztek-page-supportticketsubmit-stepone .aztek-department-card > .card-body { padding:24px!important; }
.aztek-page-supportticketsubmit-stepone .aztek-department-card .mb-4 { border-bottom:1px solid var(--az-border);padding-bottom:20px; }
.aztek-page-supportticketsubmit-stepone .aztek-department-card .card-title { font:600 1.375rem/1.4 "Source Sans 3",Arial,sans-serif; }
.aztek-department-choice { border:1px solid var(--az-border);border-radius:8px;background:#fff;padding:0 20px 20px;margin-top:16px; }
.aztek-page-supportticketsubmit-stepone .aztek-department-choice p.h5 { margin:8px 0; }
.aztek-page-supportticketsubmit-stepone .aztek-department-choice p.h5 > a { display:flex;min-height:56px;font-weight:600;font-size:1.125rem;line-height:1.4;text-underline-offset:4px; }
.aztek-page-supportticketsubmit-stepone .aztek-department-choice p.h5 + .text-muted { padding-bottom:0;border:0;font-size:1rem;line-height:1.6; }
.aztek-department-choice:hover { background:#faf8f9;border-color:#9c818e; }
/* Same native form controls and ordering, grouped with semantic legends. */
.aztek-page-supportticketsubmit-steptwo .aztek-request-card > .card-body.extra-padding { padding:0!important; }
.aztek-request-intro { padding:20px 28px;background:var(--az-mulberry);border-radius:9px 9px 0 0;color:#fff; }
.aztek-page-supportticketsubmit-steptwo .aztek-request-intro .card-title { margin:0;color:#fff;font:600 1.25rem/1.4 "Source Sans 3",Arial,sans-serif; }
.aztek-request-card .alert { margin:24px 28px; }
.aztek-request-section { min-width:0;border:0;border-bottom:1px solid var(--az-border);margin:0;padding:24px 28px; }
.aztek-request-section legend { float:left;width:100%;margin:0 0 18px;padding:0;font:600 1.125rem/1.4 "Source Sans 3",Arial,sans-serif;color:var(--az-mulberry); }
.aztek-request-section > :is(.row,.form-group,.aztek-request-guidance) { clear:both; }
.aztek-request-section > .row { display:grid;grid-template-columns:minmax(0,1fr);gap:16px 24px;margin:0; }
.aztek-request-section > .row > [class*="col-"] { width:100%;max-width:100%;min-width:0;padding:0; }
.aztek-page-supportticketsubmit-steptwo .aztek-request-section .form-group { margin-bottom:20px; }
.aztek-page-supportticketsubmit-steptwo .aztek-request-section > .row > .form-group { margin-bottom:0; }
.aztek-request-section > .row { margin-bottom:20px; }
.aztek-request-section > .row:last-child,.aztek-page-supportticketsubmit-steptwo .aztek-request-section > .form-group:last-child { margin-bottom:0; }
.aztek-request-section :is(input,select,textarea) { max-width:100%;font-size:1rem; }
.aztek-request-section :is(input:not([type="file"]),select) { min-height:46px; }
.aztek-request-guidance { max-width:68ch;margin:0 0 20px;font-size:1rem;line-height:1.6;color:var(--az-muted); }
.aztek-request-customfields { padding:24px 28px 0; }
.aztek-request-customfields:empty { display:none; }
.aztek-request-customfields:not(:has(*)) { padding:0; }
.aztek-request-card #autoAnswerSuggestions { margin-inline:28px; }
.aztek-request-card .text-center.margin-bottom { padding:20px 28px 0; }
.aztek-request-card .text-center.margin-bottom:empty { display:none; }
.aztek-request-card .text-center.margin-bottom:not(:has(*)) { padding:0;margin:0; }
.aztek-request-customfields .form-group:last-child { margin-bottom:0; }
.aztek-page-supportticketsubmit-steptwo .aztek-request-actions { display:flex;align-items:center;flex-wrap:wrap;gap:10px;text-align:left!important;margin:24px 0 0;padding:20px 28px;border-top:1px solid var(--az-border);background:#faf8f9;border-radius:0 0 9px 9px; }
.aztek-request-actions :is(a,button) { display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:5px;padding:10px 18px;font-weight:600; }
.aztek-request-card .md-editor:not(.md-fullscreen-mode) #inputMessage { height:20rem;min-height:14rem;resize:vertical; }
@media(min-width:768px) {
 .aztek-request-contact > .row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .aztek-request-details > .row:has(#inputDepartment) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .aztek-request-details > .row:has(#inputRelatedService) { grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr) minmax(0,.7fr); }
}
@media(min-width:992px) {
 .aztek-detail-workspace:is(.aztek-page-supportticketslist,.aztek-page-supportticketsubmit-stepone,.aztek-page-supportticketsubmit-steptwo) .aztek-details-layout:has(> #aztek-support-tools) { display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;margin-inline:0;align-items:start; }
 .aztek-detail-workspace:is(.aztek-page-supportticketslist,.aztek-page-supportticketsubmit-stepone,.aztek-page-supportticketsubmit-steptwo) .aztek-details-layout > .primary-content,
 .aztek-detail-workspace #aztek-support-tools { width:100%;max-width:100%;min-width:0;padding-inline:0;flex:none; }
}
@media(max-width:767px) {
 .aztek-support-opening { align-items:flex-start;gap:16px; }
 .aztek-support-opening h1 { font-size:1.875rem; }
 .aztek-support-intro { font-size:1rem; }
 .aztek-page-supportticketslist #tableTicketsList_wrapper { padding:16px; }
 .aztek-page-supportticketslist .aztek-table-region #tableTicketsList { display:block;min-width:0;width:100%!important;border-collapse:separate;table-layout:fixed; }
 .aztek-page-supportticketslist #tableTicketsList thead,.aztek-page-supportticketslist #tableTicketsList tbody { display:block;width:100%; }
 .aztek-page-supportticketslist #tableTicketsList thead > tr { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:16px; }
 .aztek-page-supportticketslist #tableTicketsList thead th { min-width:0;width:auto!important;min-height:44px;height:auto;padding:8px 20px 8px 10px;border:1px solid var(--az-border);border-radius:5px;background-color:var(--az-pale);font-size:.875rem;line-height:1.35;white-space:normal; }
 .aztek-page-supportticketslist #tableTicketsList tbody > tr:not(.child):has(> td:nth-child(4)) { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;border:1px solid var(--az-border);border-radius:8px;margin-bottom:16px;padding:18px;background:#fff; }
 .aztek-page-supportticketslist #tableTicketsList tbody > tr:not(.child) > td { min-width:0;width:auto;padding:0;border:0; }
 .aztek-page-supportticketslist #tableTicketsList :is(thead th,tbody td):nth-child(n) { width:auto!important; }
 .aztek-page-supportticketslist #tableTicketsList tbody > tr:not(.child):has(> td:nth-child(4)) > td { display:block;font-size:.9375rem; }
 .aztek-page-supportticketslist #tableTicketsList tbody td::before { content:attr(data-label);display:block;margin-bottom:5px;color:var(--az-muted);font:600 .875rem/1.4 "Source Sans 3",Arial,sans-serif; }
 .aztek-page-supportticketslist #tableTicketsList tbody td:nth-child(2) { order:0;grid-column:1/-1; }
 .aztek-page-supportticketslist #tableTicketsList tbody td:nth-child(2)::before { display:none; }
 .aztek-page-supportticketslist #tableTicketsList tbody td:first-child { order:1;grid-column:1/-1; }
 .aztek-page-supportticketslist #tableTicketsList tbody td:nth-child(3) { order:2; }
 .aztek-page-supportticketslist #tableTicketsList tbody td:nth-child(4) { order:3; }
 .aztek-page-supportticketslist #tableTicketsList .ticket-subject { font-size:1.0625rem; }
 .aztek-page-supportticketslist .aztek-ticket-list-link::after { width:100%;text-align:center; }
 .aztek-page-supportticketslist #tableTicketsList tbody > tr:has(> td.dataTables_empty) { display:block;width:100%; }
 .aztek-page-supportticketslist #tableTicketsList td.dataTables_empty { display:block;width:100%!important;padding:28px 12px!important; }
 .aztek-page-supportticketslist #tableTicketsList td.dataTables_empty::before { display:none; }
 .aztek-page-supportticketslist .dataTables_filter input { width:100%; }
 .aztek-page-supportticketslist .dataTables_info { text-align:left;font-size:.875rem; }
 .aztek-request-list-intro { padding:16px 20px; }
 .aztek-request-intro { padding:18px 20px; }
 .aztek-request-section { padding:20px; }
 .aztek-request-customfields { padding:20px 20px 0; }
 .aztek-page-supportticketsubmit-steptwo .aztek-request-actions { padding:18px 20px; }
 .aztek-request-card .alert { margin:20px; }
 .aztek-request-card .md-editor:not(.md-fullscreen-mode) #inputMessage { height:16rem;min-height:12rem; }
 .aztek-request-card .md-editor .md-header.btn-toolbar { display:flex;flex-wrap:wrap;gap:6px; }
 .aztek-request-card .md-editor .md-header > .btn-group { display:contents; }
 .aztek-request-card .md-editor .md-header .btn { flex:0 1 auto;margin:0; }
}

/* P5 native Open Ticket CAPTCHA: retain its full 304px size and validation. */
.aztek-portal.aztek-page-supportticketsubmit-steptwo .aztek-request-card > .card-body.extra-padding { overflow:visible; }
.aztek-page-supportticketsubmit-steptwo .aztek-request-card .text-center.row.justify-content-center { margin-inline:0; }
@media (max-width:420px) {
 .aztek-page-supportticketsubmit-steptwo .aztek-request-card .text-center.row.justify-content-center {
  width:304px;max-width:none;margin-inline:calc((100% - 304px)/2);
 }
}
