body .als-core.als-portal-shell .als-qr{box-sizing:border-box;min-width:0;color:#fbe7c9;font-family:inherit}
body .als-core.als-portal-shell .als-qr label{display:block;color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;font-size:13px;font-weight:700;margin:12px 0;text-transform:uppercase}
body .als-core.als-portal-shell .als-qr :is(textarea,select){box-sizing:border-box;display:block;width:100%;max-width:100%;margin-top:7px;padding:11px;border:1px solid #a98655!important;border-radius:5px;background:#21150f!important;color:#fbe7c9!important;-webkit-text-fill-color:#fbe7c9!important;font-family:inherit;font-size:14px;line-height:1.5;resize:vertical}
body .als-core.als-portal-shell .als-qr textarea[readonly]{background:#302319!important;cursor:default}
body .als-core.als-portal-shell .als-qr :is(textarea,select):focus-visible{outline:2px solid #edc98b;outline-offset:2px}
body .als-core.als-portal-shell .als-qr-user-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}
body .als-core.als-portal-shell .als-qr-user{padding:14px;border:1px solid #a98655;border-radius:6px;background:#2b2217}
body .als-core.als-portal-shell .als-qr-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;grid-column:1/-1}
body .als-core.als-portal-shell .als-qr-answer[hidden],body .als-core.als-portal-shell .als-qr [hidden]{display:none!important}
body .als-core.als-portal-shell .als-qr-menu{margin-top:10px}
body .als-core.als-portal-shell .als-qr-menu>summary{width:100%;list-style:none}
body .als-core.als-portal-shell .als-qr-menu>summary::after{content:' ▾'}
body .als-core.als-portal-shell .als-qr-menu .als-sidebar-link{margin-top:8px;font-size:12px!important}
@media(max-width:750px){body .als-core.als-portal-shell .als-qr-split,body .als-core.als-portal-shell .als-qr-user-details{grid-template-columns:minmax(0,1fr)}}

body .als-core.als-portal-shell .als-qr-split>label{min-width:0;width:100%;box-sizing:border-box}
body .als-core.als-portal-shell .als-qr textarea[rows="1"]{height:44px!important;min-height:44px!important;resize:none}
body .als-core.als-portal-shell .als-qr-menu .als-sidebar-link{display:flex;width:100%;box-sizing:border-box}

/* v1.2.29: Court Case Query sortable headers (matches existing maroon-and-gold theme). */
body .als-core.als-admin-shell .als-qr-court-table th .als-qr-sort-link{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    width:100%;min-height:34px;padding:3px 2px;box-sizing:border-box;
    color:#edc98b!important;text-decoration:none!important;font:inherit!important;
    font-weight:700!important;white-space:nowrap;overflow-wrap:normal;
}
body .als-core.als-admin-shell .als-qr-court-table th .als-qr-sort-link:hover,
body .als-core.als-admin-shell .als-qr-court-table th .als-qr-sort-link:focus-visible{color:#fff!important;text-decoration:underline!important;text-underline-offset:3px}
body .als-core.als-admin-shell .als-qr-court-table th .als-qr-sort-link:focus-visible{outline:2px solid #edc98b;outline-offset:2px;border-radius:4px}
body .als-core.als-admin-shell .als-qr-court-table .als-qr-sort-arrow{display:inline-block;min-width:13px;font-size:14px;line-height:1;color:inherit}
body .als-core.als-admin-shell .als-qr-court-table .als-qr-slno{width:74px;min-width:65px;white-space:nowrap}

/* v1.2.30: matching gold-on-maroon sort controls for ALL query tables, no blue. */
html body .als-core.als-admin-shell .als-qr-sortable-table th .als-qr-sort-link{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:34px;box-sizing:border-box;padding:3px 2px;
  font:inherit!important;font-weight:700!important;
  color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;
  background:transparent!important;border:0!important;
  text-decoration:none!important;white-space:nowrap;overflow-wrap:normal;
}
html body .als-core.als-admin-shell .als-qr-sortable-table th .als-qr-sort-link:is(:hover,:focus-visible){
  background:#593222!important;color:#fff0ce!important;-webkit-text-fill-color:#fff0ce!important;
  text-decoration:underline!important;text-underline-offset:3px;
}
html body .als-core.als-admin-shell .als-qr-sortable-table th .als-qr-sort-link:focus-visible{outline:2px solid #edc98b;outline-offset:2px;border-radius:4px}
html body .als-core.als-admin-shell .als-qr-sortable-table .als-qr-sort-arrow{display:inline-block;min-width:13px;font-size:14px;line-height:1;color:inherit;-webkit-text-fill-color:inherit}
html body .als-core.als-admin-shell .als-qr-sortable-table .als-qr-slno{width:74px;min-width:65px;white-space:nowrap}


/* v1.2.31: harden the actual filter/sort controls against theme/global anchor
   :visited, :active, hover, focus and browser default blue rules. Admin ONLY. */
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link,
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link:link,
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link:visited {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  box-sizing:border-box!important;min-height:35px!important;padding:6px 9px!important;
  background:#342019!important;background-image:none!important;
  border:1px solid #b99758!important;border-radius:5px!important;
  color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;
  text-decoration:none!important;font:inherit!important;font-weight:700!important;
  box-shadow:none!important;outline-color:#edc98b!important;cursor:pointer!important;
}
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link:is(:hover,:focus,:focus-visible,:active),
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link.is-sorted {
  background:#593222!important;background-image:none!important;
  border-color:#edc98b!important;color:#fff0ce!important;
  -webkit-text-fill-color:#fff0ce!important;text-decoration:none!important;
  box-shadow:none!important;
}
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link:focus-visible {
  outline:2px solid #edc98b!important;outline-offset:2px!important;
}
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link .als-qr-sort-arrow {
  color:inherit!important;-webkit-text-fill-color:inherit!important;
  font-weight:900!important;font-size:15px!important;background:transparent!important;
}
html body .als-core.als-portal-shell.als-admin-shell .als-qr .als-qr-sortable-table th a.als-qr-sort-link :is(span,small,svg) {
  color:inherit!important;-webkit-text-fill-color:inherit!important;
}

/* v1.2.34: apply full website palette to the actual interactive sorting links,
   all four tables, across normal/visited/hover/keyboard/active/sorted states. */
html body .als-core.als-portal-shell.als-admin-shell .als-qr table.als-qr-sortable-table thead th a.als-qr-sort-link,
html body .als-core.als-portal-shell.als-admin-shell .als-qr table.als-qr-sortable-table thead th a.als-qr-sort-link:link,
html body .als-core.als-portal-shell.als-admin-shell .als-qr table.als-qr-sortable-table thead th a.als-qr-sort-link:visited{
 background:#302017!important;background-image:none!important;
 border:1px solid #d9b775!important;border-radius:5px!important;
 color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;
 text-decoration:none!important;box-shadow:none!important;outline-color:#edc98b!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-qr table.als-qr-sortable-table thead th a.als-qr-sort-link:is(:hover,:focus,:focus-visible,:active,.is-sorted){
 background:#593222!important;background-image:none!important;
 border-color:#edc98b!important;color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
 text-decoration:none!important;box-shadow:none!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-qr table.als-qr-sortable-table thead th a.als-qr-sort-link :is(span,small,svg,i){
 background:transparent!important;color:inherit!important;-webkit-text-fill-color:inherit!important
}

/* Feedback name links and the selected enquiry's submitted data only. */
html body .als-core.als-admin-shell a.als-qr-name-link{color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;text-decoration:underline!important;text-underline-offset:3px}
html body .als-core.als-admin-shell a.als-qr-name-link:hover,html body .als-core.als-admin-shell a.als-qr-name-link:focus-visible{color:#fff0cc!important;-webkit-text-fill-color:#fff0cc!important;background:#422d1d!important;outline-color:#edc98b}
html body .als-core.als-admin-shell #als-feedback-details h3{color:#edc98b!important;font-size:18px}
html body .als-core.als-admin-shell .als-qr-submission-details th{text-transform:uppercase}
html body .als-core.als-admin-shell .als-qr-submission-details td{white-space:normal;overflow-wrap:anywhere;min-width:110px}
html body .als-core.als-admin-shell .als-qr-submission-details td:last-child{min-width:260px;text-align:left}
