/* Clear, balanced actions. Compact layout is shared by every public page. */
.refined-header .header-actions { gap: 10px; }
.refined-header .header-actions > .request-open,
.refined-header .header-actions > .account-link {
  min-height: 46px; padding: 12px 19px; border-radius: 13px;
  font-size: 12px; line-height: 1.25; font-weight: 600; letter-spacing: 0;
}
.refined-header .header-actions > .request-open {
  color: #241c0c; background: linear-gradient(120deg,#f0d185,#dfb954);
  border: 1px solid #f5d89580; box-shadow: inset 0 1px 0 #fff5,0 4px 16px #d8ad4510;
  width: auto; white-space: nowrap;
}
.refined-header .header-actions > .account-link { border-color: #ffffff24; color: #eceef2; }
.refined-header .header-actions > .request-open:hover { background: linear-gradient(120deg,#f6dc9b,#e9c565); box-shadow: inset 0 1px 0 #fff5,0 5px 22px #d8ad4520; }
.refined-header .header-actions > .account-link:hover { border-color: #edc76665; color: #f0d185; }
@media (min-width: 941px) and (max-width: 1320px) {
  .header.refined-header { gap: 12px; }
  .refined-header .header-actions { gap: 8px; }
  .refined-header .header-actions > .request-open,.refined-header .header-actions > .account-link { padding: 11px 12px; font-size: 11px; min-height: 43px; }
  .refined-header .nav-links > a { padding-inline: 8px; }
}
@media (min-width: 941px) and (max-width: 1100px) {
  .refined-header .brand small { display: none; }
  .refined-header .brand { font-size: 20px; gap: 8px; }
  .refined-header .brand img { width: 33px; height: 33px; }
  .refined-header .nav-links > a { font-size: 10px; padding-inline: 6px; }
  .refined-header .header-actions > .request-open,.refined-header .header-actions > .account-link { padding-inline: 10px; font-size: 10px; }
  .header-socials > a { width: 28px; height: 30px; }
}
@media (max-width: 940px) {
  .refined-header .header-actions > .request-open,.refined-header .header-actions > .account-link { padding-inline: 15px; }
}
@media (max-width: 760px) {
  .refined-header .header-actions > .request-open,.refined-header .header-actions > .account-link { display: none; }
  .refined-header #navigation .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #ffffff10; }
  .refined-header #navigation .nav-mobile-actions .button { min-height: 48px; font-size: 12px; padding: 12px 8px; white-space: nowrap; }
}
@media (max-width: 370px) {
  .refined-header #navigation .nav-mobile-actions .button { font-size: 11px; }
}
.request-dialog {
  color: #edf0f4; background: #14181e; width: min(540px,calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid #d8ad4540; border-radius: 24px; box-shadow: 0 30px 120px #0009;
  overscroll-behavior: contain;
}
.request-dialog::backdrop { background: #07090dd9; backdrop-filter: blur(9px); }
.request-sheet { position: relative; padding: 34px; background: radial-gradient(ellipse at top left,#d8ad450c,transparent 60%); }
.request-close { position: absolute; right: 16px; top: 16px; height: 40px; width: 40px; border: 1px solid #ffffff12; background: #ffffff03; border-radius: 12px; color: #aab3bf; font: 26px/1 system-ui; cursor: pointer; }
.request-close:hover { background: #ffffff09; color: #f0d185; }
.request-sheet .eyebrow { font-size: 10px; padding-right: 30px; margin-bottom: 17px; }
.request-sheet h2 { margin: 0 0 15px; font-size: 37px; line-height: 1.12; letter-spacing: -1.3px; font-weight: 550; }
.request-sheet h2 span { color: #e6c26b; }
#request-description { font-size: 13px; line-height: 1.8; color: #a7b0be; margin: 0 0 24px; }
.request-fields { display: grid; gap: 17px; }
.request-fields label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #e1e5eb; }
.request-fields label > span { color: #8993a2; font-size: 10px; display: inline; margin-top: -4px; }
.request-fields input,.request-fields textarea { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #ffffff1a; background: #0e1217; color: #f1f2f5; border-radius: 11px; padding: 13px 14px; font: 14px/1.5 inherit; font-family: inherit; font-size: 14px; line-height: 1.5; outline-offset: 3px; }
.request-fields input { min-height: 47px; }
.request-fields textarea { resize: vertical; min-height: 80px; max-height: 220px; }
.request-fields input::placeholder,.request-fields textarea::placeholder { color: #778393; opacity: 1; }
.request-fields small { font-size: 10px; color: #8b97a8; }
.request-consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 21px; color: #a5afbd; font-size: 11px; line-height: 1.8; cursor: pointer; }
.request-consent input { flex: 0 0 auto; appearance: auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: #d8ad45; }
.request-consent a { color: #d7c084; text-decoration: underline; text-underline-offset: 3px; }
.request-status { font-size: 12px; line-height: 1.7; color: #efa996; margin: 13px 0; }
.request-status:empty { display: none; }
.request-submit { width: 100%; min-height: 49px; margin-top: 19px; justify-content: space-between; border-radius: 12px; font-size: 14px; }
.request-submit:disabled { opacity: .75; cursor: wait; transform: none; }
.request-preview { font-size: 10px; color: #b5a173; line-height: 1.7; margin: 14px 0 0; }
.request-success { text-align: center; padding-top: 12px; }
.request-success-mark { display: grid; place-items: center; margin: 0 auto 20px; width: 54px; height: 54px; border: 1px solid #d8ad4550; border-radius: 50%; background: #d8ad4510; color: #e6c26b; font-size: 26px; }
.request-success h3 { font-size: 24px; margin: 0 0 13px; }
.request-success p { color: #a7b0be; font-size: 14px; line-height: 1.8; }
.request-success .button { margin-top: 15px; }
.request-trap { position: absolute; left: -10000px; height: 1px; width: 1px; overflow: hidden; }
.request-dialog [hidden] { display: none !important; }
.request-dialog :focus-visible { outline: 2px solid #e6c26b; outline-offset: 3px; }
@media(max-width: 600px) {
  .request-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .request-sheet { padding: 28px 22px; }
  .request-sheet h2 { font-size: 32px; }
  .request-fields input,.request-fields textarea { font-size: 16px; }
  .request-close { right: 12px; top: 12px; }
}
@media(forced-colors:active) {
  .request-dialog,.request-fields input,.request-fields textarea,.request-close { border-color: ButtonText; }
}

/* Keep optional labels on the same line and the form comfortably compact. */
.request-sheet { padding-block: 28px; }
.request-sheet h2 { font-size: 32px; }
.request-fields { gap: 14px; }
.request-fields label { display: block; line-height: 1.6; }
.request-fields label > span { display: inline; margin-left: 4px; }
.request-fields input,.request-fields textarea { display: block; margin-top: 7px; }
.request-fields small { display: block; margin-top: 6px; }
.request-fields textarea { min-height: 66px; }
