/* sv_helpdesk — Styles front */

.svhd-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.svhd-form-wrap--oza {
  max-width: 900px;
}

.svhd-form-header {
  max-width: none;
  margin: 0 0 var(--space-lg, 1.5rem);
  padding: 0 0 var(--space-md, 1rem);
  border-bottom: 1px solid rgba(61, 61, 61, 0.1);
}

body#module-sv_helpdesk-form .svhd-form-wrap {
  width: 100%;
  max-width: 1120px;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
}

body#module-sv_helpdesk-form .svhd-form-wrap--oza,
body#module-sv_helpdesk-form .svhd-contact-form,
body#module-sv_helpdesk-form .svhd-contact-form .svhd-form,
body#module-sv_helpdesk-form .svhd-contact-form .form-fields {
  width: 100%;
  max-width: 1120px;
}

body#module-sv_helpdesk-form .svhd-contact-form .form-fields {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body#module-sv_helpdesk-form .svhd-contact-form .form-group.row > [class*='col-'] {
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
}

body#module-sv_helpdesk-form .svhd-contact-form :is(.form-control, input[type="email"], select, textarea),
body#module-sv_helpdesk-form .svhd-contact-form .bootstrap-filestyle {
  width: 100%;
  max-width: none;
}

@media (max-width: 767px) {
  body#module-sv_helpdesk-form .svhd-form-wrap,
  body#module-sv_helpdesk-form .svhd-form-wrap--oza,
  body#module-sv_helpdesk-form .svhd-contact-form,
  body#module-sv_helpdesk-form .svhd-contact-form .svhd-form,
  body#module-sv_helpdesk-form .svhd-contact-form .form-fields,
  body#module-sv_helpdesk-form .svhd-contact-form .form-group.row > [class*='col-'],
  body#module-sv_helpdesk-form .svhd-contact-form :is(.form-control, input[type="email"], select, textarea),
  body#module-sv_helpdesk-form .svhd-contact-form .bootstrap-filestyle {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.svhd-form-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs, .5rem);
  width: max-content;
  margin-bottom: var(--space-md, 1rem);
  color: var(--color-primary-dark, #c47a0e);
  font-size: var(--font-size-sm, .875rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.svhd-form-back:hover,
.svhd-form-back:focus-visible {
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

.svhd-form-back:hover span,
.svhd-form-back:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svhd-form-back .oza-icon {
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

body#module-sv_helpdesk-form #main > .page-header.svhd-form-header h1,
body#module-sv_helpdesk-form .page-header.svhd-form-header h1 {
  margin: 0 0 6px;
  color: var(--color-text, #333);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.12;
}

.svhd-form-header .oza-account-intro {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.svhd-form-header .oza-account-intro p {
  margin: 0;
  color: var(--color-text-light, #666);
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.6;
}

/* Integration OZA commune aux formulaires helpdesk. */
.svhd-contact-form .svhd-form {
  display: block;
}

.svhd-contact-form {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.svhd-contact-form .form-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}

.svhd-contact-form .form-fields .form-group {
  margin-bottom: 0;
}

.svhd-contact-form .form-group.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 0;
  margin-right: 0;
  margin-left: 0;
}

.svhd-contact-form [class*='col-'],
.svhd-contact-form [class*='offset-'],
.svhd-contact-form .form-control-label,
.svhd-contact-form .form-control-comment {
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  flex: initial;
}

.svhd-contact-form fieldset.form-group {
  min-width: 0;
  padding: 0;
  border: 0;
}

.svhd-contact-form fieldset.form-group legend.form-control-label {
  margin-bottom: 0;
}

.svhd-contact-form h3,
.svhd-contact-form .form-group.row:has(h3) {
  display: none;
}

.svhd-contact-form .svhd-intro {
  margin-top: 0;
  margin-bottom: 20px;
}

.svhd-contact-form .svhd-intro > :first-child {
  margin-top: 0;
}

.svhd-contact-form .svhd-intro > :last-child {
  margin-bottom: 0;
}

.svhd-contact-form .form-control-label {
  padding-top: 0;
  color: #202020;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0;
}

.svhd-contact-form .oza-contact-label-note {
  color: rgba(61, 61, 61, 0.5);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: lowercase;
  white-space: nowrap;
}

.svhd-contact-form :is(.form-control, input[type="email"], select, textarea) {
  border: 1px solid rgba(61, 61, 61, 0.13);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text);
  font-size: 0.94rem;
  box-shadow: none;
}

.svhd-contact-form :is(.form-control, input[type="email"], select) {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
}

.svhd-contact-form textarea.form-control {
  min-height: 132px;
  padding: 12px 14px;
  line-height: 1.5;
}

.svhd-contact-form .form-control::placeholder,
.svhd-contact-form textarea::placeholder,
.svhd-contact-form input::placeholder {
  color: rgba(61, 61, 61, 0.42);
}

.svhd-contact-form :is(.form-control, input, select, textarea):focus {
  border-color: rgba(245, 149, 29, 0.7);
  box-shadow: 0 0 0 2px rgba(245, 149, 29, 0.11);
}

.svhd-contact-form input[type="file"],
.svhd-reply-form input[type="file"] {
  position: absolute;
  clip: rect(0 0 0 0);
}

.svhd-contact-form .bootstrap-filestyle,
.svhd-reply-form .bootstrap-filestyle {
  position: relative;
  display: block;
  width: 100%;
}

.svhd-contact-form .bootstrap-filestyle > .form-control,
.svhd-reply-form .bootstrap-filestyle > .form-control {
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(61, 61, 61, 0.13);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  color: rgba(61, 61, 61, 0.72);
  font-size: 0.94rem;
  opacity: 1;
  cursor: pointer;
}

.svhd-contact-form .bootstrap-filestyle > .form-control::placeholder,
.svhd-reply-form .bootstrap-filestyle > .form-control::placeholder {
  color: rgba(61, 61, 61, 0.42);
}

.svhd-contact-form .bootstrap-filestyle .group-span-filestyle,
.svhd-reply-form .bootstrap-filestyle .group-span-filestyle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  cursor: pointer;
}

.svhd-contact-form .bootstrap-filestyle .group-span-filestyle label,
.svhd-reply-form .bootstrap-filestyle .group-span-filestyle label {
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  box-shadow: none;
  cursor: pointer;
}

.svhd-contact-form .bootstrap-filestyle .group-span-filestyle label *,
.svhd-reply-form .bootstrap-filestyle .group-span-filestyle label * {
  display: none;
}

.svhd-file-collapse {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  text-align: left;
}

.svhd-file-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  margin-right: auto;
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #202020;
  font: inherit;
  font-size: var(--font-size-sm, .875rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  align-self: start;
  box-shadow: none;
}

.svhd-file-toggle > span:first-child {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.svhd-file-toggle__icon {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

.svhd-file-toggle:hover,
.svhd-file-toggle:focus-visible {
  color: var(--color-primary-accessible, #c47a0e);
  background: transparent;
  box-shadow: none;
}

.svhd-file-toggle__chevron {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
  transition: transform 160ms ease;
}

.svhd-file-collapse.is-open .svhd-file-toggle__chevron {
  transform: rotate(180deg);
}

.svhd-file-panel[hidden] {
  display: none;
}

.svhd-file-panel {
  display: grid;
  gap: 8px;
  width: 100%;
}

.svhd-file-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  color: #333333;
  font-size: .82rem;
  line-height: 1.35;
}

.svhd-file-selection[hidden] {
  display: none;
}

.svhd-file-selection [data-svhd-file-name] {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.svhd-file-selection [data-svhd-file-clear] {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary-accessible, #c47a0e);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #cfd3d8;
  box-shadow: none;
}

.svhd-file-selection [data-svhd-file-clear]:hover,
.svhd-file-selection [data-svhd-file-clear]:focus-visible {
  text-decoration-color: var(--color-primary-accessible, #c47a0e);
  background: transparent;
}

.svhd-file-help {
  margin: 6px 0 0;
  color: rgba(61, 61, 61, 0.5);
  font-size: .78rem;
  line-height: 1.35;
}

.svhd-contact-form .svhd-choice-list {
  display: grid;
  gap: .55rem;
}

.svhd-contact-form .svhd-radio-label,
.svhd-contact-form .svhd-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin: 0;
  color: var(--color-text, #333);
  font-size: .94rem;
  font-weight: 500;
}

.svhd-contact-form .svhd-radio-label input,
.svhd-contact-form .svhd-checkbox-label input {
  flex: 0 0 auto;
}

.svhd-contact-form .svhd-field-error,
.svhd-contact-form .svhd-js-error {
  display: block;
  margin-top: .35rem;
  color: var(--color-error, #e74c3c);
  font-size: .84rem;
}

.svhd-contact-form .form-footer {
  justify-content: flex-end;
  max-width: none;
  margin-top: 0;
  padding-top: 0;
  padding-left: 0;
  border-top: 0;
  text-align: right;
}

.svhd-contact-form .btn-primary {
  width: auto;
  min-width: 174px;
  min-height: 48px;
  margin-top: 0;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f59b24 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
}

.svhd-contact-form .btn-primary:hover,
.svhd-contact-form .btn-primary:focus-visible {
  background: linear-gradient(180deg, var(--color-primary) 0%, #bf710d 100%);
  color: #fff;
}

.svhd-contact-form .form-footer .btn-primary {
  margin-top: 20px;
}

body#contact .contact-form.svhd-contact-form .form-footer {
  margin-top: 0;
}

body#contact .contact-form.svhd-contact-form .form-footer .btn-primary {
  margin-top: 20px;
}

.svhd-view-wrap,
.svhd-tickets-wrap {
  padding: 0 0 3rem;
}

/* Supprime le cadre card hérité de page.tpl sur les pages module helpdesk */
body.module-sv_helpdesk #content.card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* ---- Messages de retour ---- */
.svhd-success {
  display: grid;
  gap: var(--space-md, 1rem);
  width: 100%;
  color: var(--color-text, #333);
}

.svhd-success__header {
  display: grid;
  gap: 8px;
}

.svhd-success__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf3ef;
  color: #4f6f5d;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
}

.svhd-success h2 {
  margin: 0;
  color: var(--color-text, #333);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.svhd-success__meta {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px;
  width: max-content;
  margin: 0;
  padding: 10px 14px;
  background: rgba(61, 61, 61, 0.035);
}

.svhd-success__meta dt,
.svhd-success__meta dd {
  margin: 0;
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.3;
}

.svhd-success__meta dt {
  color: rgba(61, 61, 61, 0.58);
  font-weight: 600;
}

.svhd-success__meta dd {
  color: var(--color-text, #333);
  font-weight: 700;
}

.svhd-success__content {
  color: var(--color-text-light, #666);
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.6;
}

.svhd-success__content > :first-child {
  margin-top: 0;
}

.svhd-success__content > :last-child {
  margin-bottom: 0;
}

.svhd-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm, .5rem);
  margin-top: 20px;
}

.svhd-success__actions .btn.btn-primary {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm, 4px);
  background: linear-gradient(180deg, #f59b24 0%, var(--color-primary-dark, #c47a0e) 100%);
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
}

.svhd-success__actions .btn.btn-primary:hover,
.svhd-success__actions .btn.btn-primary:focus-visible {
  background: linear-gradient(180deg, var(--color-primary, #f5951d) 0%, #bf710d 100%);
  color: #fff;
}

.svhd-errors {
  background: #fce8e8;
  border: 1px solid #c0392b;
  border-radius: 4px;
  padding: 1rem 1.5rem;
  color: #7b1c1c;
  margin-bottom: 1.5rem;
}
.svhd-errors ul { margin: 0; padding-left: 1.25rem; }

/* ---- Formulaire ---- */
.svhd-form,
.svhd-reply-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.svhd-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.svhd-row .svhd-field { flex: 1 1 220px; }

.svhd-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: .3rem;
}
.svhd-field label {
  font-weight: 600;
  font-size: .9rem;
}
.svhd-field input[type="text"],
.svhd-field input[type="email"],
.svhd-field select,
.svhd-field textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: .5rem .7rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.svhd-field textarea { resize: vertical; min-height: 120px; }
.svhd-field input:focus,
.svhd-field select:focus,
.svhd-field textarea:focus {
  outline: 2px solid #0073bb;
  outline-offset: 1px;
}
.svhd-hint { color: #666; font-size: .8rem; margin-top: .2rem; }

/* Honeypot */
.svhd-hp { display: none !important; }

.svhd-submit { margin-top: .5rem; }
.svhd-submit--row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.svhd-btn { min-height: 44px; padding: .6rem 1.5rem; font-size: 1rem; cursor: pointer; }
.svhd-btn--close { color: #555; border-color: #ccc; }

/* ---- Page vue demande ---- */
.svhd-view-header {
  max-width: none;
  margin: 0 0 var(--space-lg, 1.5rem);
  padding: 0 0 var(--space-md, 1rem);
  border-bottom: 1px solid rgba(61, 61, 61, 0.1);
}

.svhd-view-header__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs, .5rem);
  width: max-content;
  margin-bottom: var(--space-md, 1rem);
  color: var(--color-primary-dark, #c47a0e);
  font-size: var(--font-size-sm, .875rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.svhd-view-header__back:hover,
.svhd-view-header__back:focus-visible {
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

.svhd-view-header__back:hover span,
.svhd-view-header__back:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svhd-view-header__back .oza-icon {
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

.svhd-view-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg, 1.5rem);
  align-items: end;
}

.svhd-view-heading__main {
  min-width: 0;
}

.svhd-view-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
}

.svhd-view-header h1 {
  margin: 0;
  color: var(--color-text, #333);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.12;
}

body#module-sv_helpdesk-view #main > .page-header.svhd-view-header h1,
body#module-sv_helpdesk-view .page-header.svhd-view-header h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.12;
}

.svhd-ticket-summary {
  display: grid;
  gap: 6px;
  max-width: 780px;
  margin: 0;
}

.svhd-ticket-summary > div {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.svhd-ticket-summary dt,
.svhd-ticket-summary dd {
  margin: 0;
  line-height: 1.3;
}

.svhd-ticket-summary dt {
  color: var(--color-text, #333);
  font-size: .78rem;
  font-weight: 800;
}

.svhd-ticket-summary dd {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: rgba(61, 61, 61, 0.72);
  font-size: .8rem;
}

.svhd-ticket-summary__ref {
  color: var(--color-text, #333);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.25;
}

.svhd-view-heading__actions {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  justify-content: flex-end;
}

.svhd-view-heading__actions .btn.svhd-view-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: var(--radius-sm, 4px);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.svhd-view-heading__actions .btn.svhd-view-action--reply {
  min-width: 150px;
  border: 0;
  background: linear-gradient(180deg, #f59b24 0%, var(--color-primary-dark, #c47a0e) 100%);
  color: #fff;
  box-shadow: none;
}

.svhd-view-heading__actions .btn.svhd-view-action--reply:hover,
.svhd-view-heading__actions .btn.svhd-view-action--reply:focus-visible {
  background: linear-gradient(180deg, var(--color-primary, #f5951d) 0%, #bf710d 100%);
  color: #fff;
  text-decoration: none;
}

.svhd-view-heading__actions .btn.svhd-view-action--reply.is-masking {
  border: 1px solid rgba(245, 149, 29, 0.78);
  background: #fff;
  color: var(--color-primary-accessible, #a96509);
}

.svhd-view-heading__actions .btn.svhd-view-action--reply.is-masking:hover,
.svhd-view-heading__actions .btn.svhd-view-action--reply.is-masking:focus-visible {
  border-color: var(--color-primary, #f5951d);
  background: rgba(245, 149, 29, 0.06);
  color: var(--color-primary-accessible, #a96509);
}

.svhd-view-heading__actions .btn.svhd-view-action--close {
  border: 1px solid rgba(61, 61, 61, 0.18);
  background: #fff;
  color: var(--color-text, #333);
  box-shadow: none;
   min-width: 150px;
}

.svhd-view-heading__actions .btn.svhd-view-action--close:hover,
.svhd-view-heading__actions .btn.svhd-view-action--close:focus-visible {
  border-color: rgba(217, 111, 0, 0.5);
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

/* ---- Conversation ---- */
.svhd-conversation {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: var(--space-xl, 2rem);
}

.svhd-msg {
  display: flex;
  min-width: 0;
  width: 70%;
  max-width: 70%;
  align-self: flex-start;
}

.svhd-msg--employee {
  align-self: flex-end;
}

.svhd-msg__bubble {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(61, 61, 61, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.035);
}

.svhd-msg--employee .svhd-msg__bubble {
  background: #fffaf4;
}

.svhd-msg-head {
  min-width: 0;
  max-width: 100%;
  margin-bottom: var(--space-md, 16px);
  padding-bottom: var(--space-md, 16px);
  border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.svhd-msg-head .svhd-msg-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "author attachments" "date date";
  gap: var(--space-xs, 4px) var(--space-sm, 8px);
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-size: .8rem;
  list-style: none;
}

.svhd-msg-attachment-details { min-width: 0; max-width: 100%; }
.svhd-msg-attachment-details > summary { cursor: pointer; }
.svhd-msg-attachment-details > summary::-webkit-details-marker { display: none; }
.svhd-msg-attachment-details:not([open]) > .svhd-attachments,
.svhd-msg-attachment-details:not([open]) > .svhd-msg-attachment-title { display: none; }
.svhd-msg-attachment-title {
  margin: 12px 0 0;
  color: #5a5a5a;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}

.svhd-msg-author {
  grid-area: author;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text, #333);
  font-weight: 600;
  line-height: 1.25;
}

.svhd-msg-date {
  color: rgba(61, 61, 61, 0.52);
  font-size: .78rem;
  white-space: nowrap;
  grid-area: date;
  justify-self: start;
}

.svhd-msg-attachment-summary {
  grid-area: attachments;
  justify-self: end;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--color-info, #2980b9);
  font-weight: 400;
  text-decoration: none;
}

.svhd-msg-attachment-summary > span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.svhd-msg-attachment-details > summary:focus-visible,
.svhd-att-link:focus-visible,
.svhd-attachments:focus-visible {
  outline: 2px solid var(--color-primary, #f5951d);
  outline-offset: 3px;
}

.svhd-msg-body {
  color: #5a5a5a;
  font-size: .94rem;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}

.svhd-msg-body--html p {
  margin: 0 0 .5em;
}

.svhd-msg-body p:last-child {
  margin-bottom: 0;
}

.svhd-msg-body > :first-child {
  margin-top: 0;
}

.svhd-msg-body a {
  color: #333333;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #cfd3d8;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.svhd-msg-body a:hover,
.svhd-msg-body a:focus-visible {
  color: var(--color-primary-accessible, #c47a0e);
  text-decoration-color: var(--color-primary-accessible, #c47a0e);
}

.svhd-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--space-sm, 8px) 0 0;
  scroll-margin-top: calc(var(--header-height, 56px) + 16px);
  list-style: none;
}

.svhd-attachments > li {
  display: flex;
  min-width: 0;
  max-width: min(100%, 20rem);
}

.svhd-att-link {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  padding: 5px 9px;
  border: 1px solid rgba(61, 61, 61, 0.12);
  border-radius: var(--radius-sm, 4px);
  background: rgba(61, 61, 61, 0.035);
  color: var(--color-text, #333);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

.svhd-att-link:hover,
.svhd-att-link:focus-visible {
  border-color: rgba(245, 149, 29, 0.5);
  background: rgba(245, 149, 29, 0.06);
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

.svhd-att-link .oza-icon {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 15px;
  line-height: 1;
}

.svhd-att-link .svhd-att-name {
  flex: 1 1 auto;
  display: block;
  max-width: 16ch;
  font-weight: 400;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.svhd-att-link small {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .svhd-msg-head .svhd-msg-header {
    min-height: 0;
    column-gap: var(--space-md, 16px);
  }
  .svhd-att-link .svhd-att-name { max-width: 24ch; }
}

.svhd-fo-attachments { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
.svhd-fo-attachments [hidden] { display: none; }
.svhd-draft-attachments-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.svhd-draft-attachments-header > label { min-width: 0; max-width: 100%; margin: 0; overflow-wrap: anywhere; }
.svhd-attachment-picker { flex: 0 0 auto; max-width: 100%; margin-left: auto; white-space: normal; }
.svhd-fo-attachments input[type="file"] { max-width: 100%; }
.svhd-draft-attachments { display: flex; flex-direction: column; align-items: flex-start; box-sizing: border-box; width: 100%; min-width: 0; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.svhd-draft-attachments > li { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; max-width: 400px; min-width: 0; padding: 8px 10px; border: 1px solid var(--color-border, #e0e0e0); border-radius: var(--radius-sm, 6px); background: var(--color-bg-alt, #f7f7f7); }
.svhd-draft-attachments > li > span { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 400; }
.svhd-draft-attachment-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.svhd-fo-attachments .btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--color-border, #e0e0e0); border-radius: var(--radius-sm, 6px); background: var(--color-bg, #fff); color: var(--color-text, #333); font-size: .8rem; font-weight: 400; text-transform: none; line-height: 1.3; letter-spacing: normal; }
.svhd-fo-attachments .btn:focus-visible { outline: 2px solid var(--color-primary, #f5951d); outline-offset: 2px; }

@media (max-width: 767px) {
  .svhd-fo-attachments .svhd-draft-attachments > li > span { max-width: 14ch; }
  .svhd-fo-attachments .svhd-draft-attachment-actions { margin-left: auto; }
}

.svhd-reply-form .svhd-file-panel,
.svhd-reply-form input[type="file"],
.svhd-reply-form .bootstrap-filestyle {
  min-width: 0;
  max-width: 100%;
}

/* ---- Ticket clos ---- */
.svhd-closed-notice {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(98, 102, 106, 0.55);
  background: #f1f2f3;
  color: #62666a;
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.5;
}

/* ---- Bloc réponse ---- */
.svhd-reply-wrap[hidden] {
  display: none;
}

.svhd-reply-backdrop,
.svhd-reply-sheet__handle,
.svhd-reply-sheet__close {
  display: none !important;
}

.svhd-reply-wrap {
  position: relative;
  display: block;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 380ms cubic-bezier(.22, 1, .36, 1),
    margin-bottom 320ms ease,
    opacity 240ms ease;
}

.svhd-reply-wrap.is-open {
  margin-top: calc(-1 * var(--space-lg, 24px));
  margin-bottom: 28px;
  opacity: 1;
}

.svhd-reply-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-md, 1rem);
  padding: 22px 24px 26px;
  border-bottom: 1px solid rgba(61, 61, 61, 0.1);
  background: #fbfbfb;
}

.svhd-reply-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.svhd-reply-title {
  margin: 0;
  color: var(--color-text, #333);
  font-size: 1.15rem;
  line-height: 1.25;
}

.svhd-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-md, 1rem);
  max-width: 1120px;
}

.svhd-reply-form .svhd-field {
  gap: 7px;
  justify-items: start;
  text-align: left;
}

.svhd-reply-form .svhd-field label {
  color: var(--color-text, #333);
  font-size: var(--font-size-sm, .875rem);
}

.svhd-reply-form .svhd-field label span {
  color: rgba(61, 61, 61, 0.5);
  font-size: .78rem;
  font-weight: 500;
  text-transform: none;
}

.svhd-reply-form textarea,
.svhd-reply-form input[type="file"] {
  border: 1px solid rgba(61, 61, 61, 0.13);
  border-radius: 0;
  background: #fff;
  color: var(--color-text, #333);
  font-size: .94rem;
  box-shadow: none;
}

.svhd-reply-form textarea {
  min-height: 118px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.svhd-reply-form textarea:focus,
.svhd-reply-form input[type="file"]:focus {
  border-color: rgba(245, 149, 29, 0.7);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(245, 149, 29, 0.11);
}

.svhd-reply-form input[type="file"] {
  min-height: 44px;
  padding: 10px 12px;
}

.svhd-reply-form .svhd-submit {
  margin-top: 4px;
}

.svhd-reply-form .svhd-btn {
  min-width: 150px;
  min-height: 45px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-sm, 4px);
  background: linear-gradient(180deg, #f59b24 0%, var(--color-primary-dark, #c47a0e) 100%);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
}

.svhd-reply-form .svhd-btn:hover,
.svhd-reply-form .svhd-btn:focus-visible {
  background: linear-gradient(180deg, var(--color-primary, #f5951d) 0%, #bf710d 100%);
  color: #fff;
}

/* ---- Modale clôture ---- */
.svhd-close-dialog[hidden] {
  display: none;
}

.svhd-close-dialog {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.svhd-close-dialog__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(17, 17, 17, 0.32);
}

.svhd-close-dialog__panel {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 390px);
  padding: 24px 24px 20px;
  border: 1px solid rgba(61, 61, 61, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.2);
}

.svhd-close-dialog__handle {
  display: none;
}

.svhd-close-dialog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  background: rgba(245, 149, 29, 0.1);
  color: var(--color-primary-accessible, #a96509);
}

.svhd-close-dialog__icon .oza-icon {
  font-size: 18px;
}

.svhd-close-dialog__x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(61, 61, 61, 0.08);
  border-radius: 50%;
  background: #fff;
  color: rgba(61, 61, 61, 0.58);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06);
  cursor: pointer;
}

.svhd-close-dialog__x:hover,
.svhd-close-dialog__x:focus-visible {
  background: rgba(61, 61, 61, 0.09);
  color: var(--color-text, #333);
}

.svhd-close-dialog__x .oza-icon {
  font-size: 19px;
}

.svhd-close-dialog h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 42px 8px 0;
  color: rgba(34, 34, 34, 0.96);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.svhd-close-dialog p {
  margin: 0;
  color: rgba(61, 61, 61, 0.62);
  font-size: .9rem;
  line-height: 1.55;
}

.svhd-close-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.svhd-close-dialog__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

.svhd-close-dialog__cancel {
  border: 1px solid rgba(61, 61, 61, 0.14);
  background: #fff;
  color: rgba(61, 61, 61, 0.7);
}

.svhd-close-dialog__actions .btn.svhd-close-dialog__confirm {
  border: 1px solid rgba(245, 149, 29, 0.78);
  background: #fff;
  color: var(--color-primary-accessible, #a96509);
}

.svhd-close-dialog__actions .btn.svhd-close-dialog__confirm:hover,
.svhd-close-dialog__actions .btn.svhd-close-dialog__confirm:focus-visible {
  border-color: var(--color-primary, #f5951d);
  background: rgba(245, 149, 29, 0.06);
  color: var(--color-primary-accessible, #a96509);
}

body.svhd-close-open {
  overflow: hidden;
}

.svhd-preview-dialog[hidden] {
  display: none;
}

.svhd-preview-dialog {
  position: fixed;
  inset: 0;
  z-index: 2110;
  display: grid;
  place-items: center;
  padding: 22px;
}

.svhd-preview-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.78);
}

.svhd-preview-dialog__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 980px);
  max-height: min(88vh, 820px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.svhd-preview-dialog__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-md, 1rem);
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(61, 61, 61, 0.08);
}

.svhd-preview-dialog__header h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--color-text, #333);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.svhd-preview-dialog__actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.svhd-preview-dialog__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(245, 149, 29, 0.42);
  border-radius: var(--radius-sm, 4px);
  color: var(--color-primary-accessible, #a96509);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.svhd-preview-dialog__download:hover,
.svhd-preview-dialog__download:focus-visible {
  border-color: var(--color-primary, #f5951d);
  background: rgba(245, 149, 29, 0.06);
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

.svhd-preview-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(61, 61, 61, 0.045);
  color: rgba(61, 61, 61, 0.62);
  cursor: pointer;
}

.svhd-preview-dialog__close:hover,
.svhd-preview-dialog__close:focus-visible {
  background: rgba(61, 61, 61, 0.09);
  color: var(--color-text, #333);
}

.svhd-preview-dialog__close .oza-icon {
  font-size: 20px;
}

.svhd-preview-dialog__body {
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: auto;
  background: #111;
}

.svhd-preview-dialog__body img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 64px);
  object-fit: contain;
}

.svhd-preview-dialog__body iframe {
  display: block;
  width: 100%;
  height: min(76vh, 720px);
  border: 0;
  background: #fff;
}

body.svhd-preview-open {
  overflow: hidden;
}

/* ---- Liste tickets client ---- */
body#module-sv_helpdesk-tickets {
  --svhd-tickets-grid: minmax(145px, 0.42fr) minmax(220px, 0.78fr) 200px minmax(120px, 0.36fr) 140px;
}

.svhd-tickets-header {
  margin: 0;
  padding: 0;
  border: 0;
}

.svhd-tickets-header__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs, .5rem);
  width: max-content;
  margin-bottom: var(--space-md, 1rem);
  color: var(--color-primary-dark, #c47a0e);
  font-size: var(--font-size-sm, .875rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.svhd-tickets-header__back:hover,
.svhd-tickets-header__back:focus-visible {
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

.svhd-tickets-header__back:hover span,
.svhd-tickets-header__back:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svhd-tickets-header__back .oza-icon {
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

.svhd-tickets-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg, 1.5rem);
  align-items: center;
  margin-bottom: var(--space-md, 1rem);
  padding-bottom: var(--space-md, 1rem);
  border-bottom: 1px solid rgba(61, 61, 61, 0.1);
}

.svhd-tickets-heading__text {
  min-width: 0;
}

.svhd-tickets-header h1 {
  margin: 0 0 6px;
  color: var(--color-text, #333);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.12;
}

body#module-sv_helpdesk-tickets #main > .page-header.svhd-tickets-header h1,
body#module-sv_helpdesk-tickets .page-header.svhd-tickets-header h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.12;
}

body#module-sv_helpdesk-tickets #main > .page-header.svhd-tickets-header,
body#module-sv_helpdesk-tickets .page-header.svhd-tickets-header {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.svhd-tickets-header .oza-account-intro {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.svhd-tickets-header .oza-account-intro p {
  max-width: 780px;
  margin: 0;
  color: var(--color-text-light, #666);
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.6;
}

.svhd-tickets-new.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 var(--space-lg, 1.5rem);
  border: 0;
  border-radius: var(--radius-sm, 4px);
  background: linear-gradient(180deg, #f59b24 0%, var(--color-primary-dark, #c47a0e) 100%);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
}

.svhd-tickets-new.btn.btn-primary:hover,
.svhd-tickets-new.btn.btn-primary:focus-visible {
  background: linear-gradient(180deg, var(--color-primary, #f5951d) 0%, #bf710d 100%);
  color: #fff;
  text-decoration: none;
}

.svhd-tickets-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}

.svhd-tickets-row {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(61, 61, 61, 0.08);
  list-style: none;
}

.svhd-tickets-line {
  display: grid;
  grid-template-columns: var(--svhd-tickets-grid);
  column-gap: var(--space-lg, 1.5rem);
  align-items: center;
  min-height: 60px;
  padding: 12px var(--space-md, 1rem);
  color: var(--color-text, #333);
  transition: background var(--transition, 200ms ease);
}

@media (min-width: 768px) {
  body#module-sv_helpdesk-tickets .oza-account-orders-table__row > .svhd-tickets-line,
  body#module-sv_helpdesk-tickets .oza-history-orders-head > .svhd-tickets-line {
    grid-template-columns: var(--svhd-tickets-grid);
    column-gap: var(--space-lg, 1.5rem);
    padding-right: var(--space-md, 1rem);
    padding-left: var(--space-md, 1rem);
  }
}

.svhd-tickets-row:not(.svhd-tickets-row--head) .svhd-tickets-line:hover {
  background: rgba(245, 149, 29, 0.035);
}

.svhd-tickets-row--customer-waiting > .svhd-tickets-line {
  border-left: 2px solid var(--color-primary, #f5951d);
}

.svhd-tickets-line--link {
  text-decoration: none;
}

.svhd-tickets-line--link:hover,
.svhd-tickets-line--link:focus-visible {
  color: var(--color-text, #333);
  text-decoration: none;
}

.svhd-tickets-line--link:focus-visible {
  outline: 2px solid rgba(245, 149, 29, 0.55);
  outline-offset: 2px;
}

.svhd-tickets-row--head {
  display: block;
  border-bottom: 0;
  color: rgb(61 61 61 / 0.35);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.svhd-tickets-row--head .svhd-tickets-line {
  min-height: 0;
  padding: 0 var(--space-md, 1rem) 4px;
  color: inherit;
  background: transparent;
}

.svhd-tickets-row--head .svhd-tickets-ref,
.svhd-tickets-row--head .svhd-tickets-subject,
.svhd-tickets-row--head .svhd-tickets-status,
.svhd-tickets-row--head .svhd-tickets-status-cell,
.svhd-tickets-row--head .svhd-tickets-date,
.svhd-tickets-row--head .svhd-tickets-action {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
}

.svhd-tickets-row--head .svhd-tickets-line:hover {
  background: transparent;
}

.svhd-tickets-ref {
  display: grid;
  align-self: center;
  min-width: 0;
  color: var(--color-text, #333);
  font-size: var(--font-size-sm, .875rem);
  font-weight: 700;
  line-height: 1.3;
}

.svhd-tickets-subject {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: rgba(61, 61, 61, 0.78);
  font-size: var(--font-size-sm, .875rem);
  font-weight: 500;
  line-height: 1.25;
}

.svhd-tickets-subject-title,
.svhd-tickets-subject-excerpt {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.svhd-tickets-subject-title {
  color: rgba(34, 34, 34, 0.86);
  font-weight: 600;
}

.svhd-tickets-subject-excerpt {
  color: rgba(61, 61, 61, 0.56);
  font-size: .8rem;
  font-weight: 400;
}

.svhd-tickets-subject-prefix {
  font-weight: 600;
}

.svhd-tickets-status-cell {
  display: grid;
  align-items: center;
  justify-items: start;
  min-width: 0;
}

.svhd-tickets-status,
.svhd-tickets-date {
  min-width: 0;
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.3;
}

.svhd-tickets-date {
  justify-self: start;
  text-align: left;
  color: rgba(61, 61, 61, 0.6);
  white-space: nowrap;
}

.svhd-tickets-action {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  justify-self: end;
  color: var(--color-text, #333);
  font-size: var(--font-size-sm, .875rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition, 200ms ease);
}

.svhd-tickets-action:hover,
.svhd-tickets-action:focus-visible,
.svhd-tickets-line--link:hover .svhd-tickets-action,
.svhd-tickets-line--link:focus-visible .svhd-tickets-action {
  color: var(--color-primary-accessible, #a96509);
  text-decoration: none;
}

.svhd-tickets-action .oza-icon {
  color: var(--color-primary-accessible, #a96509);
  font-size: 18px;
  line-height: 1;
}

.svhd-tickets-empty {
  display: grid;
  justify-items: start;
  gap: var(--space-md, 1rem);
  padding: var(--space-xl, 2rem) 0;
  color: var(--color-text-light, #666);
}

.svhd-tickets-empty p {
  margin: 0;
  font-size: var(--font-size-sm, .875rem);
  line-height: 1.6;
}

.svhd-tickets-actions { margin-bottom: 1.5rem; }

.svhd-tickets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.svhd-tickets-table thead th {
  padding: .75rem 1rem;
  border-bottom: 2px solid #e0e0e0;
  text-align: left;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}
.svhd-tickets-table tbody td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.svhd-tickets-table tbody tr:hover { background: #f8f8f8; }

.svhd-ticket--unread .svhd-ticket-ref { font-weight: 700; color: #0073bb; }

.svhd-status-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.svhd-status-support {
  background: #edf3ef;
  color: #4f6f5d;
}
.svhd-status-customer {
  background: #fff1df;
  color: #d96f00;
}
.svhd-status-closed {
  background: #f1f2f3;
  color: #62666a;
}

.svhd-ticket-date { color: #888; white-space: nowrap; }
.svhd-empty { color: #888; font-style: italic; margin-bottom: 1rem; }

/* ---- Badge non lu (Mon compte) ---- */
.svhd-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 .35rem;
  background: #c0392b;
  color: #fff;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  margin-left: .35rem;
}

/* ---- Bloc contexte commande (formulaire orderticket) ---- */
.svhd-order-context {
  background: #f0f4ff;
  border: 1px solid #c0cfe8;
  border-radius: 4px;
  padding: .9rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: .93rem;
  color: #2c3e6b;
}
.svhd-order-context strong { font-weight: 700; }

/* Champs lecture seule */
.svhd-field--readonly {
  flex-direction: row;
  align-items: baseline;
  gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px dashed #e0e0e0;
}
.svhd-field--readonly:last-of-type { border-bottom: none; }
.svhd-readonly-label {
  font-weight: 600;
  font-size: .88rem;
  color: #555;
  min-width: 9rem;
  flex-shrink: 0;
}
.svhd-readonly-value {
  font-size: .95rem;
  color: #222;
  word-break: break-word;
}

/* ---- Bouton "Contacter le support" (hook displayOrderDetail) ---- */
.svhd-order-support-block {
  margin-top: 1.25rem;
}
.svhd-order-support-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1.4rem;
  font-size: .95rem;
}
.svhd-order-support-btn .oza-icon {
  font-size: 1.2rem;
  vertical-align: middle;
}

/* ---- Questions produits ---- */
.svhdpq-summary {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  color: rgba(51, 51, 51, 0.82);
  font-size: var(--font-size-xs);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}
.svhdpq-summary:hover {
  color: #f5951d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.svhdpq {
  --svhdpq-border: rgba(61, 61, 61, .14);
  --svhdpq-muted: #6b7280;
  --svhdpq-ink: #333;
  --svhdpq-accent: #f5951d;
  padding: .35rem 24px .2rem;
}
.svhdpq-feedback {
  margin-bottom: .8rem;
  border-radius: 3px;
}
.svhdpq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
  border: 0;
}
.svhdpq-list--preview .svhdpq-item:nth-child(n+3) {
  display: none;
}
.svhdpq-item {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #fff;
}
.svhdpq-item + .svhdpq-item {
  padding-top: 1rem;
}
.svhdpq-item + .svhdpq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: .9rem;
  right: 2rem;
  height: 1px;
  background: rgba(61, 61, 61, .08);
}
.svhdpq-item__header {
  margin-bottom: 0.15rem;
  color: #8b95a1;
  font-size: .76rem;
  font-weight: 400;
  line-height: 1.3;
}
.svhdpq-meta {
  color: inherit;
}
.svhdpq-question {
  margin: 0 0 .9rem;
  color: var(--svhdpq-ink);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  font-weight: 600;
   color: #5c5c5c;
}
.svhdpq-answer {
  border-left: 2px solid rgba(245, 149, 29, .72);
  margin-top: .15rem;
  padding: .65rem 0 .18rem .88rem;
  background: linear-gradient(90deg, rgba(245, 149, 29, .045), rgba(245, 149, 29, 0) 68%);
  color: var(--svhdpq-ink);
}
.svhdpq-answer--preview {
  position: relative;
  padding-bottom: .55rem;
}
.svhdpq-answer__label {
  display: block;
  margin-bottom: .45rem;
  color: #3d3d3d;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.svhdpq-answer__body {
  color: #444;
  font-size: 13px;
  line-height: 1.58;
  word-break: break-word;
}
.svhdpq-answer--preview.is-truncated:not(.is-expanded) .svhdpq-answer__body {
  position: relative;
  max-height: 3.16em;
  overflow: hidden;
}
.svhdpq-full-panel .svhdpq-answer--preview.is-mobile-truncated:not(.is-expanded) .svhdpq-answer__body {
  position: relative;
  max-height: 3.16em;
  overflow: hidden;
}
.svhdpq-answer--preview.is-truncated:not(.is-expanded) .svhdpq-answer__body::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.6rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0), #fffaf4);
}
.svhdpq-full-panel .svhdpq-answer--preview.is-mobile-truncated:not(.is-expanded) .svhdpq-answer__body::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.6rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0), #fffaf4);
}
.svhdpq-answer__body p { margin: 0 0 .5rem; }
.svhdpq-answer__body a:not(.btn):not([class*="btn"]):not([class*="button"]):not([role="button"]) {
  color: #252a31;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #cfd3d8;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
.svhdpq-answer__body a:not(.btn):not([class*="btn"]):not([class*="button"]):not([role="button"]):hover,
.svhdpq-answer__body a:not(.btn):not([class*="btn"]):not([class*="button"]):not([role="button"]):focus-visible {
  color: #c47a0e;
  text-decoration-color: #c47a0e;
}
.svhdpq-answer__more,
.svhdpq-all-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c47a0e;
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: .5px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.svhdpq-all-toggle {
  font-weight: 600;
}
.svhdpq-answer__more {
  margin-top: .55rem;
  text-decoration: none;
}
.svhdpq-answer__more[hidden] {
  display: none;
}
.svhdpq-answer__more {
  display: none;
}
.svhdpq-answer--preview.is-truncated .svhdpq-answer__more {
  display: inline-flex;
}
.svhdpq-full-panel .svhdpq-answer--preview.is-mobile-truncated .svhdpq-answer__more {
  display: inline-flex;
}
.svhdpq-all-toggle--before-prompt {
  margin-top: .75rem;
  margin-bottom: -.15rem;
}
.svhdpq-all-toggle:hover,
.svhdpq-all-toggle:focus-visible,
.svhdpq-answer__more:hover,
.svhdpq-answer__more:focus-visible {
  color: #a96509;
}
.svhdpq-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  margin-bottom: .35rem;
  padding: .34rem 0 .5rem;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.svhdpq-prompt--after-list {
  position: relative;
  margin-top: .7rem;
  padding-top: 1.45rem;
}
.svhdpq-prompt--after-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: .9rem;
  right: 2rem;
  height: 1px;
  background: rgba(61, 61, 61, .08);
}
.svhdpq-prompt__copy {
  min-width: 0;
}
.svhdpq-prompt__title {
  margin: 0;
  color: var(--svhdpq-ink);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.35;
}
.svhdpq-prompt--after-list .svhdpq-prompt__title {
  color: #444;
  font-size: .9rem;
  font-weight: 600;
}
.svhdpq-prompt--after-list {
  flex-wrap: wrap;
}
.svhdpq-prompt__text {
  margin: .12rem 0 0;
  color: var(--svhdpq-muted);
  font-size: .75rem;
  line-height: 1.45;
}
.svhdpq-toggle,
.svhdpq-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.svhdpq-toggle,
.svhdpq .svhdpq-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 33px;
  height: 33px;
  max-width: none;
  padding: .6rem .82rem .5rem .82rem;
  border-radius: 3px;
  background: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color .18s ease, transform .18s ease;
}
.svhdpq-prompt > .svhdpq-toggle {
  margin-right: 20px;
}
.svhdpq--form-open .svhdpq-prompt > .svhdpq-toggle {
  display: none;
}
.svhdpq-toggle:hover,
.svhdpq-toggle:focus,
.svhdpq .svhdpq-submit:hover,
.svhdpq .svhdpq-submit:focus {
  background: #f5951d !important;
  border-color: #f5951d !important;
  color: #fff !important;
  text-decoration: none;
}
.svhdpq-toggle:active {
  transform: translateY(1px);
}
.svhdpq-form-wrap {
  margin-top: .6rem;
}
.svhdpq--interactive .svhdpq-form-wrap {
  display: none;
}
.svhdpq--interactive .svhdpq-form-wrap.is-open {
  display: block;
  animation: svhdpqFadeIn .18s ease-out;
}
.svhdpq-form-card,
.svhdpq-login {
  border: 0;
  border-radius: 0;
  padding: .75rem .85rem .85rem;
  background: #f8f8f7;
}
.svhdpq-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}
.svhdpq-form-title {
  margin: 0;
  color: var(--svhdpq-ink);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.svhdpq-close {
  color: var(--svhdpq-muted);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.svhdpq-close:hover,
.svhdpq-close:focus {
  color: var(--svhdpq-ink);
}
.svhdpq-form {
  display: flex;
  flex-direction: column;
  gap: .58rem;
  padding: 10px 20px 5px;
}
.svhdpq-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.svhdpq-field label {
  margin-bottom: .18rem;
  color: #333;
  font-size: .76rem;
  font-weight: 600;
}
.svhd-field.svhdpq-field input,
.svhd-field.svhdpq-field textarea {
  width: 100%;
  border: 1px solid rgba(61, 61, 61, .2);
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-size: 13px;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.svhd-field.svhdpq-field input::placeholder,
.svhd-field.svhdpq-field textarea::placeholder {
  font-size: 12px;
}
.svhd-field.svhdpq-field input {
  height: 38px;
  min-height: 38px;
  padding: .18rem .5rem;
  line-height: 1.2;
}
.svhd-field.svhdpq-field textarea {
  min-height: 66px;
  padding: .42rem .5rem;
  resize: vertical;
}
.svhdpq-field input:focus,
.svhdpq-field textarea:focus {
  border-color: rgba(245, 149, 29, .72);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(245, 149, 29, .12);
}
.svhdpq-field .svhd-hint {
  display: block;
  margin-top: .2rem;
  color: var(--svhdpq-muted);
  font-size: .7rem;
  line-height: 1.35;
}
.svhdpq-form .svhd-field-error {
  display: none;
  color: #e74c3c;
  font-size: .8rem;
  margin-top: .25rem;
}
.svhdpq-form .svhd-field-error.is-visible {
  display: block;
}
.svhdpq-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 10px;
}
.svhdpq-privacy-note {
  min-width: 0;
  margin: 0;
  color: var(--svhdpq-muted);
  font-size: .76rem;
  line-height: 1.45;
}
.svhdpq-privacy-note span {
  display: block;
}
.svhdpq-privacy-note a {
  color: #252a31;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #cfd3d8;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
.svhdpq-privacy-note a:hover,
.svhdpq-privacy-note a:focus {
  color: #c47a0e;
  text-decoration-color: #c47a0e;
}
.svhdpq .svhdpq-submit {
  align-self: flex-end;
}
.svhdpq-login {
  margin: 0;
}
.svhdpq-login p {
  margin: 0 0 .75rem;
  color: var(--svhdpq-muted);
  font-size: .92rem;
}

.svhdpq-full-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(18, 22, 27, .42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.svhdpq-full-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.svhdpq-full-panel {
  position: fixed;
  z-index: 1081;
  right: 0;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(540px, calc(100vw - 32px));
  height: 100dvh;
  background: #fff;
  box-shadow: -18px 0 48px rgba(18, 22, 27, .18);
  transform: translateX(100%);
  transition: transform .24s ease;
}
.svhdpq-full-panel.is-open {
  transform: translateX(0);
}
.svhdpq-full-panel__header,
.svhdpq-full-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(61, 61, 61, .09);
}
.svhdpq-full-panel__footer {
  border-top: 1px solid rgba(61, 61, 61, .09);
  border-bottom: 0;
}
.svhdpq-full-panel__title {
  margin: 0;
  color: var(--svhdpq-ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.svhdpq-full-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(61, 61, 61, .1);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.svhdpq-full-panel__body {
  min-height: 0;
  padding: 20px 22px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.svhdpq-list--full {
  margin-bottom: 0;
}
body.svhdpq-full-open {
  overflow: hidden;
}

@keyframes svhdpqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .svhdpq-list--preview .svhdpq-item:nth-child(3) {
    display: block;
  }
  .svhdpq-list--preview .svhdpq-item:nth-child(n+4) {
    display: none;
  }
  .svhdpq-all-toggle--mobile-only {
    display: none;
  }
  .svhdpq-answer--preview.is-mobile-truncated:not(.is-truncated) .svhdpq-answer__more {
    display: none;
  }
  .svhdpq-full-panel .svhdpq-answer--preview.is-mobile-truncated:not(.is-truncated) .svhdpq-answer__more {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .svhdpq {
    padding: 0 6px;
  }
  .svhdpq-prompt {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
    padding: .36rem 0 .62rem;
  }
  .svhdpq-toggle,
  .svhdpq-submit {
    width: 100%;
    max-width: none;
  }
  .svhdpq-actions {
    align-items: stretch;
    flex-direction: column;
    gap: .75rem;
  }
  .svhdpq-prompt > .svhdpq-toggle {
    margin-right: 0;
  }
  .svhdpq-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .svhdpq-list {
    gap: 1.15rem;
  }
  .svhdpq-item + .svhdpq-item {
    padding-top: 1.05rem;
  }
  .svhdpq-question {
    margin-bottom: .65rem;
    font-size: 14px;
    line-height: 1.45;
  }
  .svhdpq-answer {
    padding-top: .52rem;
    padding-left: .72rem;
  }
  .svhdpq-answer--preview.is-truncated:not(.is-expanded) .svhdpq-answer__body {
    max-height: 4.35em;
  }
  .svhdpq-answer--preview.is-mobile-truncated:not(.is-expanded) .svhdpq-answer__body {
    position: relative;
    max-height: 4.35em;
    overflow: hidden;
  }
  .svhdpq-answer--preview.is-mobile-truncated:not(.is-expanded) .svhdpq-answer__body::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1.6rem;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0), #fffaf4);
  }
  .svhdpq-answer--preview.is-mobile-truncated .svhdpq-answer__more {
    display: inline-flex;
  }
  .svhdpq-prompt--after-list {
    align-items: stretch;
    margin-top: 1.15rem;
    margin-bottom: 0;
    padding-top: 1.45rem;
    padding-bottom: .62rem;
  }
  .svhdpq-full-panel {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: auto;
    max-height: 88dvh;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 44px rgba(18, 22, 27, .18);
    transform: translateY(100%);
  }
  .svhdpq-full-panel.is-open {
    transform: translateY(0);
  }
  .svhdpq-full-panel__header {
    position: relative;
    padding: 20px 16px 10px;
  }
  .svhdpq-full-panel__header::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: var(--oza-bottom-sheet-handle-width, 55px);
    height: var(--oza-bottom-sheet-handle-height, 4px);
    border-radius: 999px;
    background: var(--oza-bottom-sheet-handle-background, rgba(61, 61, 61, .14));
    transform: translateX(-50%);
  }
  .svhdpq-full-panel__body {
    padding: 16px;
  }
  .svhdpq-full-panel__footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .svhdpq-form {
    padding: 0;
  }
  .svhd-row { flex-direction: column; }
  .svhd-view-header {
    margin-bottom: 18px;
  }
  .svhd-view-header__back {
    margin-bottom: 14px;
  }
  .svhd-view-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .svhd-view-heading__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }
  .svhd-view-action {
    width: 100%;
    min-height: 48px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .svhd-view-heading__actions .svhd-view-action--close {
    order: -1;
  }
  body#module-sv_helpdesk-view .svhd-view-wrap {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
  body#module-sv_helpdesk-view .svhd-view-heading__actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    gap: 10px;
    align-items: center;
    width: 100%;
    height: calc(55px + env(safe-area-inset-bottom, 0px));
    min-height: 0;
    padding: 0 16px env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(61, 61, 61, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 22px rgba(17, 17, 17, 0.08);
  }
  body.svhd-reply-open#module-sv_helpdesk-view .svhd-view-heading__actions {
    display: none;
  }
  body.svhd-reply-open#module-sv_helpdesk-view {
    overflow: hidden;
  }
  body#module-sv_helpdesk-view .svhd-reply-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1031;
    display: block !important;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(17, 17, 17, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition, 200ms ease);
  }
  body.svhd-reply-open#module-sv_helpdesk-view .svhd-reply-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  body#module-sv_helpdesk-view .svhd-reply-wrap {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1032;
    width: 100%;
    height: auto;
    max-height: 85vh;
    min-height: 0;
    margin: 0;
    padding: 34px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 14px 14px 0 0;
    background: #fff;
    box-shadow: 0 -18px 46px rgba(17, 17, 17, 0.18);
    opacity: 1;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 260ms ease, visibility 260ms ease;
  }
  body#module-sv_helpdesk-view .svhd-reply-wrap.is-open {
    margin-top: 0;
    margin-bottom: 0;
    visibility: visible;
    transform: translateY(0);
  }
  body#module-sv_helpdesk-view .svhd-reply-wrap.is-dragging {
    transition: none;
  }
  body#module-sv_helpdesk-view .svhd-reply-inner {
    max-height: calc(85vh - 52px - env(safe-area-inset-bottom, 0px));
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body#module-sv_helpdesk-view .svhd-reply-form textarea {
    min-height: 148px;
    font-size: var(--font-size-sm, .875rem);
  }
  body#module-sv_helpdesk-view .svhd-reply-sheet__handle {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    display: block !important;
    width: 48px;
    height: 24px;
    transform: translateX(-50%);
    touch-action: none;
    user-select: none;
  }
  body#module-sv_helpdesk-view .svhd-reply-sheet__handle::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: var(--oza-bottom-sheet-handle-width, 55px);
    height: var(--oza-bottom-sheet-handle-height, 4px);
    border-radius: 999px;
    background: var(--oza-bottom-sheet-handle-background, rgba(61, 61, 61, 0.14));
    transform: translateX(-50%);
  }
  body#module-sv_helpdesk-view .svhd-reply-sheet__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(61, 61, 61, 0.08);
    border-radius: 999px;
    background: #fff;
    color: rgba(61, 61, 61, 0.72);
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
  }
  body#module-sv_helpdesk-view .svhd-reply-sheet__close .oza-icon {
    font-size: 19px;
  }
  .svhd-view-title-row {
    display: grid;
    gap: 8px;
    justify-items: start;
  }
  .svhd-ticket-summary > div {
    display: grid;
    gap: 2px;
  }
  .svhd-conversation {
    gap: 14px;
    margin-bottom: 28px;
  }
  .svhd-msg {
    width: 90%;
    max-width: 90%;
    align-self: flex-start;
  }
  .svhd-msg--employee {
    align-self: flex-end;
  }
  .svhd-msg__bubble {
    padding: 12px;
    border-radius: 6px;
  }
  .svhd-msg-header {
    flex-direction: column;
    gap: 3px;
    margin-bottom: 7px;
  }
  .svhd-msg-date {
    white-space: normal;
  }
  .svhd-reply-form .svhd-btn {
    width: 100%;
  }
  .svhd-close-dialog {
    align-items: end;
    justify-items: stretch;
    padding: 0;
  }
  .svhd-close-dialog__panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 36px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 46px rgba(17, 17, 17, 0.18);
  }
  .svhd-close-dialog__handle {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    display: block;
    width: 58px;
    height: 28px;
    transform: translateX(-50%);
  }
  .svhd-close-dialog__handle::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: var(--oza-bottom-sheet-handle-width, 55px);
    height: var(--oza-bottom-sheet-handle-height, 4px);
    border-radius: 999px;
    background: var(--oza-bottom-sheet-handle-background-strong, rgba(61, 61, 61, 0.16));
    transform: translateX(-50%);
  }
  .svhd-close-dialog__x {
    top: 14px;
    right: 14px;
  }
  .svhd-close-dialog__actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .svhd-close-dialog__confirm {
    order: -1;
  }
  .svhd-preview-dialog {
    align-items: end;
    padding: 0;
  }
  .svhd-preview-dialog__panel {
    width: 100%;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
  }
  .svhd-preview-dialog__header {
    padding: 18px 14px 12px;
  }
  .svhd-preview-dialog__body {
    min-height: 240px;
  }
  .svhd-preview-dialog__body img {
    max-height: calc(92dvh - 68px);
  }
  .svhd-preview-dialog__body iframe {
    height: calc(92dvh - 68px);
  }
  .svhd-tickets-header {
    padding-bottom: 0;
  }
  .svhd-tickets-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 0;
  }
  .svhd-tickets-new.btn.btn-primary {
    justify-self: stretch;
    width: 100%;
  }
  .svhd-tickets-list {
    gap: 0;
    margin-top: 14px;
    border-top: 1px solid rgba(61, 61, 61, 0.08);
  }
  .svhd-tickets-row {
    border-bottom: 1px solid rgba(61, 61, 61, 0.08);
  }
  .svhd-tickets-row--head {
    display: none;
  }
  .svhd-tickets-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "ref status"
      "subject action"
      "date action";
    gap: 4px 10px;
    align-items: center;
    min-height: 0;
    padding: 15px 0 15px 12px;
    border: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .svhd-tickets-row--customer-waiting > .svhd-tickets-line {
    padding-left: 10px;
    border-left: 2px solid var(--color-primary, #f5951d);
  }
  .svhd-tickets-ref {
    grid-area: ref;
    font-size: .78rem;
    line-height: 1.2;
  }
  .svhd-tickets-subject {
    grid-area: subject;
    font-size: .8rem;
    line-height: 1.2;
  }
  .svhd-tickets-status-cell {
    grid-area: status;
    justify-self: end;
  }
  .svhd-tickets-list .svhd-status-badge {
    padding: 2px 7px;
    font-size: .66rem;
    line-height: 1.2;
  }
  .svhd-tickets-date {
    grid-area: date;
    align-self: center;
    font-size: .72rem;
    line-height: 1.2;
  }
  .svhd-tickets-action {
    grid-area: action;
    align-self: end;
    font-size: .72rem;
    line-height: 1.2;
  }
  .svhd-tickets-table thead { display: none; }
  .svhd-tickets-table tbody td {
    display: block;
    padding: .4rem 0;
    border: none;
  }
  .svhd-tickets-table tbody tr {
    display: block;
    border-bottom: 1px solid #e0e0e0;
    padding: .75rem 0;
  }
}
