/* SFDASUPPORT_V1_START */

.support-hero{
  padding-top:86px;
  padding-bottom:70px;
}
.support-hero h1,
.support-admin h1{
  max-width:900px;
}
.support-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}

.support-browser{
  padding-top:70px;
}
.support-search{
  display:flex;
  gap:10px;
  margin:34px 0;
  align-items:center;
}
.support-search input{
  flex:1;
  min-width:180px;
  height:50px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#111922;
  color:var(--text);
  padding:0 16px;
  outline:none;
  font:inherit;
}
.support-search input:focus{
  border-color:#7898b8;
  box-shadow:0 0 0 3px rgba(120,152,184,.12);
}

.support-layout{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.support-categories{
  position:sticky;
  top:24px;
  display:grid;
  gap:7px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(20,28,37,.78);
  backdrop-filter:blur(12px);
}
.support-categories a{
  min-height:44px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border-radius:13px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}
.support-categories a:hover,
.support-categories a.active{
  color:#fff;
  background:rgba(116,143,174,.16);
}
.support-categories a.active{
  box-shadow:inset 0 0 0 1px rgba(149,177,205,.18);
}

.support-faq-list{
  display:grid;
  gap:12px;
}
.support-faq{
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  overflow:hidden;
}
.support-faq summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 22px;
  font-weight:750;
}
.support-faq summary::-webkit-details-marker{
  display:none;
}
.support-faq summary::after{
  content:"+";
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:9px;
  color:#a9bed2;
  font-size:18px;
}
.support-faq[open] summary::after{
  content:"–";
}
.support-faq summary span{
  display:block;
}
.support-faq summary small{
  margin-left:auto;
  color:#91a6ba;
  font-size:11px;
  white-space:nowrap;
  font-weight:700;
}
.support-faq-answer{
  padding:0 22px 20px;
  color:var(--muted);
  line-height:1.72;
  border-top:1px solid rgba(255,255,255,.055);
}
.support-faq-answer p{
  margin:18px 0 0;
}

.support-empty{
  padding:28px;
  border:1px dashed rgba(255,255,255,.14);
  border-radius:20px;
  color:var(--muted);
}
.support-empty strong{
  display:block;
  color:#fff;
  margin-bottom:8px;
}
.support-empty p{
  line-height:1.65;
}

.support-contact{
  margin-top:35px;
  margin-bottom:70px;
  padding:62px;
  border:1px solid var(--line);
  border-radius:32px;
  background:
    radial-gradient(circle at 90% 0%,rgba(116,143,174,.20),transparent 38%),
    linear-gradient(145deg,#17222c,#111921);
}
.support-contact .section-head{
  margin-bottom:34px;
}

.support-form{
  display:grid;
  gap:20px;
}
.support-form.compact{
  gap:16px;
}
.support-form label{
  display:grid;
  gap:8px;
  color:#dce5ed;
  font-size:13px;
  font-weight:700;
}
.support-form input[type="text"],
.support-form input[type="email"],
.support-form input[type="password"],
.support-form input[type="number"],
.support-form input:not([type]),
.support-form select,
.support-form textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:#101820;
  color:#fff;
  padding:0 14px;
  font:inherit;
  outline:none;
}
.support-form input[type="text"],
.support-form input[type="email"],
.support-form input[type="password"],
.support-form input[type="number"],
.support-form input:not([type]),
.support-form select{
  min-height:50px;
}
.support-form textarea{
  padding:14px;
  resize:vertical;
  line-height:1.55;
}
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus{
  border-color:#7898b8;
  box-shadow:0 0 0 3px rgba(120,152,184,.12);
}
.support-form select{
  appearance:auto;
}
.support-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.support-request-types{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.support-choice{
  display:block !important;
  cursor:pointer;
}
.support-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.support-choice span{
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.025);
  transition:.18s ease;
}
.support-choice strong{
  color:#fff;
  font-size:15px;
}
.support-choice small{
  color:var(--muted);
  line-height:1.45;
  font-weight:500;
}
.support-choice input:checked + span{
  border-color:rgba(147,174,201,.58);
  background:rgba(116,143,174,.15);
  box-shadow:0 0 0 3px rgba(116,143,174,.07);
}

.support-honeypot{
  position:absolute !important;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.support-privacy-check{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:flex-start;
  gap:10px !important;
  color:var(--muted) !important;
  font-weight:500 !important;
  line-height:1.5;
}
.support-privacy-check input{
  width:18px;
  height:18px;
  flex:0 0 auto;
  margin-top:1px;
}
.support-privacy-check a{
  color:#c8daeb;
  text-decoration:underline;
  text-underline-offset:2px;
}
.support-form-footer{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.support-direct-mail{
  color:var(--muted);
  font-size:13px;
}
.support-direct-mail a{
  color:#dce7f1;
}

.support-message{
  margin:0 0 22px;
  padding:16px 18px;
  border-radius:14px;
  border:1px solid var(--line);
  display:flex;
  gap:7px;
  flex-direction:column;
}
.support-message.success{
  background:rgba(64,145,116,.12);
  border-color:rgba(90,190,151,.25);
  color:#d8f3e6;
}
.support-message.error{
  background:rgba(169,67,67,.12);
  border-color:rgba(220,104,104,.25);
  color:#ffdede;
}

.support-admin-login{
  min-height:680px;
  display:grid;
  place-items:center;
}
.support-admin-login-card{
  width:min(100%,540px);
  padding:36px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(145deg,#18232e,#10171f);
  box-shadow:var(--shadow);
}
.support-admin-login-card h1{
  font-size:clamp(42px,6vw,66px);
  margin-top:10px;
}
.support-admin-login-card .lead{
  margin-bottom:26px;
}

.support-admin{
  padding-top:78px;
}
.support-admin-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
}
.support-admin-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.support-status-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:36px;
}
.support-status-grid article{
  min-height:120px;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}
.support-status-grid span,
.support-status-grid small{
  color:var(--muted);
  font-size:12px;
  word-break:break-all;
}
.support-status-grid strong.ok{
  color:#9fe0c1;
}
.support-status-grid strong.warn{
  color:#f0c98d;
}

.support-admin-section{
  margin-top:58px;
}
.support-admin-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}
.support-admin-section-head h2{
  margin-top:6px;
}
.support-count{
  min-width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(116,143,174,.14);
  border:1px solid var(--line);
  font-weight:800;
}

.support-admin-list{
  display:grid;
  gap:8px;
}
.support-request-row{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  padding:17px 19px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.022);
}
.support-request-row:hover{
  background:rgba(255,255,255,.045);
}
.support-request-row > div{
  display:grid;
  gap:5px;
}
.support-request-row > div:last-child{
  justify-items:end;
}
.support-request-row span,
.support-request-row small{
  color:var(--muted);
  font-size:12px;
}

.support-status{
  display:inline-flex;
  width:max-content;
  align-items:center;
  min-height:26px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:10px !important;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.support-status.new{
  color:#d8e9fa;
  background:rgba(116,143,174,.12);
}
.support-status.answered{
  color:#bce8d2;
  background:rgba(64,145,116,.12);
}
.support-status.closed{
  color:#b2bbc4;
  background:rgba(255,255,255,.035);
}

.support-admin-faq-grid{
  display:grid;
  grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);
  gap:22px;
  align-items:start;
}
.support-new-faq,
.support-request-detail .support-form,
.support-faq-editor{
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.025);
}
.support-new-faq h3,
.support-request-detail h2{
  margin:0 0 8px;
}
.support-faq-admin-list{
  display:grid;
  gap:10px;
}
.support-faq-admin-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}
.support-faq-admin-row > div:first-child{
  display:grid;
  gap:5px;
}
.support-faq-admin-row small{
  color:var(--muted);
}
.support-row-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.support-row-actions form{
  margin:0;
}

.support-request-columns{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:30px 0 22px;
}
.support-request-message{
  min-height:220px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.024);
}
.support-language-label{
  display:block;
  margin-bottom:13px;
  color:#9fb4c9;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.support-request-message p{
  margin:0;
  color:#d3dce5;
  line-height:1.68;
  white-space:pre-wrap;
}
.support-admin-note{
  color:var(--muted);
  line-height:1.55;
}
.support-request-footer-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}

.support-faq-editor{
  margin-top:28px;
}
.support-translation-editor{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.support-translation-editor fieldset{
  display:grid;
  gap:16px;
  margin:0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
}
.support-translation-editor legend{
  padding:0 8px;
  color:#b9c9d8;
  font-weight:800;
}

@media(max-width:900px){
  .support-layout,
  .support-admin-faq-grid,
  .support-request-columns,
  .support-translation-editor{
    grid-template-columns:1fr;
  }

  .support-categories{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .support-request-types,
  .support-status-grid{
    grid-template-columns:1fr;
  }

  .support-admin-heading{
    flex-direction:column;
  }
}

@media(max-width:620px){
  .support-contact{
    padding:34px 22px;
  }

  .support-search{
    align-items:stretch;
    flex-direction:column;
  }

  .support-form-grid,
  .support-categories{
    grid-template-columns:1fr;
  }

  .support-faq summary{
    align-items:flex-start;
    padding:18px;
  }

  .support-faq summary small{
    display:none;
  }

  .support-request-row,
  .support-faq-admin-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .support-request-row > div:last-child{
    justify-items:start;
  }

  .support-row-actions{
    width:100%;
    flex-wrap:wrap;
  }
}


.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  position:relative;
  z-index:2;
}
.contact-actions .btn-ghost{
  border-color:rgba(255,255,255,.28);
  color:#fff;
  background:rgba(255,255,255,.06);
}

/* SFDASUPPORT_V1_END */

/* SFDASUPPORT_NOJUMP_V1_START */
.support-browser{
  scroll-margin-top:24px;
}

.support-contact{
  scroll-margin-top:24px;
}

.support-faq-list{
  min-height:150px;
  transition:opacity .12s ease;
}

.support-faq-list.is-loading{
  opacity:.48;
  pointer-events:none;
}

@media(prefers-reduced-motion:reduce){
  .support-faq-list{
    transition:none;
  }
}
/* SFDASUPPORT_NOJUMP_V1_END */

/* SFDASUPPORT_CONTACT_MODES_V2_START */
.support-mode-field[hidden]{
  display:none !important;
}

.support-field-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.support-field-label-row small{
  color:#91a6ba;
  font-size:11px;
  font-weight:650;
}

.support-request-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:24px 0 30px;
}

.support-request-meta article{
  min-height:86px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:15px 17px;
  border:1px solid var(--line);
  border-radius:15px;
  background:rgba(255,255,255,.025);
}

.support-request-meta span{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.support-request-meta strong{
  color:#f4f7fa;
  font-size:13px;
  overflow-wrap:anywhere;
}

.support-request-error-text{
  margin:0 0 28px;
  padding:18px 20px;
  border:1px solid rgba(214,128,128,.18);
  border-radius:17px;
  background:rgba(161,69,69,.08);
}

.support-request-error-text span{
  display:block;
  margin-bottom:8px;
  color:#d7a7a7;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.support-request-error-text pre{
  margin:0;
  color:#f3dede;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:inherit;
  line-height:1.55;
}

@media(max-width:900px){
  .support-request-meta{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .support-request-meta{
    grid-template-columns:1fr;
  }
}
/* SFDASUPPORT_CONTACT_MODES_V2_END */

/* SFDASUPPORT_PRIVACY_MODAL_V1_START */
.support-privacy-modal[hidden]{
  display:none !important;
}

.support-privacy-modal{
  position:fixed;
  z-index:10000;
  inset:0;
  display:grid;
  place-items:center;
  padding:16px;
  opacity:0;
  transition:opacity .14s ease;
}

.support-privacy-modal.is-open{
  opacity:1;
}

.support-privacy-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,7,12,.78);
  backdrop-filter:blur(7px);
}

.support-privacy-modal-dialog{
  position:relative;
  z-index:1;
  width:min(1120px,calc(100vw - 32px));
  max-height:calc(100vh - 32px);
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  border:1px solid rgba(147,181,213,.28);
  border-radius:24px;
  background:#111a23;
  box-shadow:0 28px 80px rgba(0,0,0,.48);
  outline:none;
}

.support-privacy-modal-header,
.support-privacy-modal-footer{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 22px;
  background:rgba(17,26,35,.96);
}

.support-privacy-modal-header{
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.support-privacy-modal-header h2{
  margin:0;
  color:#f4f7fa;
  font-size:20px;
}

.support-privacy-modal-close{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.025);
  color:#c7d3df;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}

.support-privacy-modal-close:hover,
.support-privacy-modal-close:focus-visible{
  color:#fff;
  border-color:rgba(147,181,213,.55);
  background:rgba(255,255,255,.07);
  outline:none;
}

.support-privacy-modal-content{
  min-height:0;
  overflow:auto;
  padding:22px;
  overscroll-behavior:contain;
}

.support-privacy-modal-content .privacy-page{
  margin:0;
  padding:0;
}

.support-privacy-modal-content .privacy-page > .eyebrow,
.support-privacy-modal-content .privacy-page > h1{
  display:none;
}

.support-privacy-modal-content .privacy-grid{
  margin-top:0;
}

.support-privacy-modal-footer{
  justify-content:flex-end;
  border-top:1px solid var(--line);
}

.support-privacy-loading,
.support-privacy-load-error{
  min-height:180px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  color:var(--muted);
  text-align:center;
}

@media(max-width:700px){
  .support-privacy-modal{
    padding:8px;
  }

  .support-privacy-modal-dialog{
    width:calc(100vw - 16px);
    max-height:calc(100vh - 16px);
    border-radius:18px;
  }

  .support-privacy-modal-header,
  .support-privacy-modal-footer,
  .support-privacy-modal-content{
    padding:15px;
  }

  .support-privacy-modal-footer .btn{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .support-privacy-modal{
    transition:none;
  }
}
/* SFDASUPPORT_PRIVACY_MODAL_V1_END */
