/*
 Theme Name: Astra Child
 Theme URI: https://www.usefulsomething.com/astra-child
 Description: Astra Child Theme
 Author: freddy
 Author URI: https://www.usefulsomething.com
 Template: astra
 Version: 1.0.0
 Text Domain: astra-child
*/

#spa-batch-submit.spa-batch-submit-disabled,
#spa-batch-submit:disabled {
  background: #dcdcde !important;
  border-color: #c3c4c7 !important;
  color: #787c82 !important;
  cursor: not-allowed !important;
  opacity: 0.72;
}

#spa-batch-dropzone.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

#spa-batch-account {
  margin: 0 0 16px;
}

#spa-batch-account.is-login-required {
  display: none;
}

#spa-coordinate-tool.su-convert-is-batch #spa-batch-account.is-login-required {
  align-items: center;
  background: #eaf2f6;
  border-left: 4px solid #2d6688;
  border-radius: 0 6px 6px 0;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 0 18px;
  padding: 18px 22px;
}

#spa-batch-account .su-batch-login-copy {
  min-width: 0;
}

#spa-batch-account .su-batch-login-copy h2 {
  color: #193449;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}

#spa-batch-account .su-batch-login-copy p {
  color: #526779;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

#spa-coordinate-tool #spa-batch-account .su-batch-login-action {
  align-items: center;
  background: #2d6688;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  text-decoration: none;
}

#spa-coordinate-tool #spa-batch-account .su-batch-login-action:hover {
  background: #245470;
  color: #fff;
}

#spa-coordinate-tool #spa-batch-account .su-batch-login-action:focus-visible {
  outline: 2px solid #193449;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #spa-coordinate-tool.su-convert-is-batch #spa-batch-account.is-login-required {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  #spa-coordinate-tool #spa-batch-account .su-batch-login-action {
    width: 100%;
  }
}

#spa-batch-jobs {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.spa-batch-job {
  align-items: center;
  border-bottom: 1px solid #dcdcde;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.spa-batch-job > span {
  flex: 1 1 240px;
}

/* Front-end membership entry points. */
.main-header-menu .usefulsomething-member-nav-item > a {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.main-header-menu .usefulsomething-member-login > a {
  color: inherit;
}

.main-header-menu .usefulsomething-member-register > a {
  background: #2271b1;
  border-radius: 4px;
  color: #fff;
  line-height: 1;
  padding: 10px 14px;
}

.main-header-menu .usefulsomething-member-register > a:hover,
.main-header-menu .usefulsomething-member-register > a:focus {
  background: #135e96;
  color: #fff;
}

.usefulsomething-member-account-link {
  max-width: 188px;
}

.usefulsomething-member-avatar {
  align-items: center;
  background: #2271b1;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  line-height: 1;
  min-width: 28px;
}

.usefulsomething-member-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usefulsomething-member-page {
  margin: 0 auto;
  max-width: 560px;
}

.usefulsomething-member-page .pms-form,
.usefulsomething-member-page .pms-login-form {
  max-width: none;
}

#pms_register-form .pms-user-login-field {
  display: none;
}

.usefulsomething-member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.usefulsomething-phone-login-pending {
  border-top: 1px solid #dcdcde;
  color: #50575e;
  font-size: 14px;
  margin-top: 28px;
  padding-top: 20px;
}

/*
 * WordPress loads more than one jQuery UI theme on this page. One theme makes
 * dialog content shrink to its min-content width despite the dialog wrapper
 * having the configured width. Keep CRS picker content pinned to that wrapper.
 */
.ui-dialog > #crs-dialog.ui-dialog-content,
.ui-dialog > #spa-batch-crs-dialog.ui-dialog-content {
  box-sizing: border-box;
  display: block;
  max-width: none;
  min-width: 0;
  width: 100% !important;
}

.ui-dialog .su-crs-dialog-layout,
.ui-dialog .su-crs-dialog-results,
.ui-dialog .su-crs-preview,
.ui-dialog .su-crs-result-scroller {
  box-sizing: border-box;
  min-width: 0;
}

.ui-dialog .su-crs-dialog-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  width: 100%;
}

.ui-dialog .su-crs-dialog-search {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(160px, 0.62fr) minmax(0, 1fr) auto;
  margin-bottom: 10px;
}

.ui-dialog .su-crs-dialog-search input,
.ui-dialog .su-crs-dialog-search select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.ui-dialog .su-crs-result-scroller {
  border: 1px solid #d5dde4;
  max-height: 365px;
  overflow: auto;
}

.ui-dialog .su-crs-result-scroller table {
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
  width: 100%;
}

.ui-dialog .su-crs-result-scroller th,
.ui-dialog .su-crs-result-scroller td {
  border-bottom: 1px solid #e8edf1;
  overflow-wrap: anywhere;
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
}

.ui-dialog .su-crs-result-scroller th {
  background: #f6f8fa;
  position: sticky;
  top: 0;
  z-index: 1;
}

.ui-dialog .su-crs-result-scroller th:first-child { width: 15%; }
.ui-dialog .su-crs-result-scroller th:nth-child(2) { width: 32%; }
.ui-dialog #spa-batch-crs-dialog .su-crs-result-scroller th:nth-child(3) { width: 17%; }

.ui-dialog .su-crs-result-scroller tbody tr {
  cursor: pointer;
}

.ui-dialog .su-crs-result-scroller tbody tr:hover,
.ui-dialog .su-crs-result-scroller tbody tr:focus,
.ui-dialog .su-crs-result-scroller tbody tr.su-crs-result-selected {
  background: #e8f2fa;
  outline: none;
}

.ui-dialog .su-crs-result-scroller tbody tr.su-crs-result-selected td:first-child {
  box-shadow: inset 3px 0 0 #267b9e;
  color: #123f54;
  font-weight: 700;
}

.ui-dialog .su-crs-preview {
  background: #f8fafb;
  border: 1px solid #d5dde4;
  padding: 14px;
}

.ui-dialog .su-crs-preview__eyebrow {
  color: #52626e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.ui-dialog .su-crs-preview__map {
  aspect-ratio: 2 / 1;
  background: #e7f1f5;
  border: 1px solid #c6d5df;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ui-dialog .su-crs-preview__world {
  display: block;
  filter: invert(20%) sepia(15%) saturate(653%) hue-rotate(158deg) brightness(93%) contrast(86%);
  height: 100%;
  object-fit: fill;
  opacity: 0.34;
  width: 100%;
}

.ui-dialog .su-crs-preview__extent-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.ui-dialog .su-crs-preview__extent {
  background: rgba(27, 124, 159, 0.34);
  border: 2px solid #0d5c7a;
  box-sizing: border-box;
  min-height: 4px;
  min-width: 4px;
  position: absolute;
}

.ui-dialog .su-crs-preview__details {
  color: #31414c;
  font-size: 13px;
  line-height: 1.48;
  margin-top: 12px;
}

.ui-dialog .su-crs-preview__details strong,
.ui-dialog .su-crs-preview__details span {
  display: block;
}

.ui-dialog .su-crs-preview__details strong { color: #193449; }
.ui-dialog .su-crs-preview__details span,
.ui-dialog .su-crs-preview__muted { color: #697780; font-size: 12px; }
.ui-dialog .su-crs-preview__details p { margin: 8px 0; }
.ui-dialog .su-crs-preview__details dl { display: grid; gap: 5px; margin: 9px 0 0; }
.ui-dialog .su-crs-preview__details dl div { display: flex; justify-content: space-between; gap: 8px; }
.ui-dialog .su-crs-preview__details dt { color: #697780; }
.ui-dialog .su-crs-preview__details dd { font-weight: 600; margin: 0; text-align: right; }
.ui-dialog .su-crs-preview__attribution { color: #81909a; font-size: 11px; margin: 12px 0 0; }

.ui-dialog .su-crs-dialog-actions {
  align-items: center;
  border-top: 1px solid #dfe6ea;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 13px;
}

.ui-dialog .su-crs-dialog-actions > div { display: flex; gap: 8px; }
.ui-dialog .su-crs-dialog-hint { color: #697780; font-size: 12px; margin: 0; }
.ui-dialog .su-crs-dialog-actions .button[disabled] { cursor: not-allowed; opacity: 0.45; }

@media (max-width: 760px) {
  .ui-dialog .su-crs-dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .ui-dialog .su-crs-preview { order: -1; }
  .ui-dialog .su-crs-preview__map { max-height: 190px; }
  .ui-dialog .su-crs-result-scroller { max-height: 265px; }
  .ui-dialog .su-crs-result-scroller table { min-width: 640px; table-layout: auto; }
  .ui-dialog .su-crs-dialog-search { grid-template-columns: minmax(0, 1fr) auto; }
  .ui-dialog .su-crs-dialog-search select { grid-column: 1 / -1; }
  .ui-dialog .su-crs-dialog-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 921px) {
  .main-header-menu .usefulsomething-member-register > a {
    background: transparent;
    color: inherit;
    padding: 0;
  }
}

/* Homepage V3: intentionally scoped to the front page so the conversion SPA
 * and membership plugin continue to use their existing UI and behavior. */
body.home {
  background: #fff;
  color: #193449;
}

body.home .site-header,
body.home .site-footer {
  display: none;
}

body.home .site-content,
body.home .site-content > .ast-container,
body.home #primary {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

body.home .site-content > .ast-container {
  display: block;
}

/* Application V3: conversion and membership pages. The CRS and transformer
 * dialogs deliberately keep their existing markup and behaviour. */
body.su-app-page {
  background: #f8fafc;
  color: #193449;
}

body.su-app-page .site-header,
body.su-app-page .site-footer {
  display: none;
}

body.su-app-page .site-content,
body.su-app-page .site-content > .ast-container,
body.su-app-page #primary,
body.su-app-page .site-main,
body.su-app-page article,
body.su-app-page .entry-content {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

body.su-app-page #primary {
  flex: 0 0 100% !important;
}

/* These custom page templates place the shell directly in Astra's flex
 * container, rather than inside the normal #primary article wrapper. */
body.su-app-page .site-content > .ast-container > .su-app-shell {
  display: block;
  flex: 0 0 100%;
  width: 100%;
}

body.su-app-page .entry-content > p:empty,
body.su-app-page .entry-content > br {
  display: none;
}

.su-app-shell {
  min-height: 100vh;
}

.su-app-container {
  margin: 0 auto;
  max-width: 1248px;
  padding-left: 24px;
  padding-right: 24px;
}

.su-app-header {
  background: #fff;
  border-bottom: 1px solid #edf1f4;
}

.su-app-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 80px;
}

.su-app-brand,
.su-app-brand:visited {
  color: #193449;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.su-app-nav {
  align-items: center;
  display: flex;
  gap: 43px;
}

.su-language-selector {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  margin: 0;
}

.su-language-selector__flag {
  border: 1px solid #d7e2e9;
  border-radius: 50%;
  display: block;
  flex: 0 0 20px;
  height: 20px;
  object-fit: cover;
  width: 20px;
}

.su-language-selector select {
  appearance: auto;
  background: #fff;
  border: 1px solid #d7e2e9;
  border-radius: 4px;
  color: #25455d;
  cursor: pointer;
  font-size: 13px;
  height: 36px;
  line-height: 1.2;
  margin: 0;
  max-width: 128px;
  padding: 5px 26px 5px 9px;
}

.su-language-selector select:focus {
  border-color: #285c7b;
  box-shadow: 0 0 0 1px #285c7b;
  outline: 0;
}

.su-home__language-mobile {
  display: none;
}

.su-app-nav a,
.su-app-nav a:visited {
  color: #25455d;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.su-app-nav a:hover,
.su-app-nav a:focus {
  color: #285c7b;
}

.su-app-nav .su-app-nav__action {
  align-items: center;
  border: 1px solid #d7e2e9;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  min-width: 136px;
  padding: 8px 18px;
}

.su-app-nav .su-app-nav__action:hover,
.su-app-nav .su-app-nav__action:focus {
  background: #edf3f7;
  border-color: #b9cad5;
}

.su-app-footer {
  background: #fff;
  border-top: 1px solid #dce6ed;
}

.su-app-footer__inner {
  align-items: center;
  color: #526779;
  display: flex;
  font-size: 13px;
  gap: 24px;
  justify-content: space-between;
  min-height: 108px;
}

.su-app-footer strong {
  color: #193449;
  font-size: 16px;
}

.su-app-footer nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.su-app-footer a,
.su-app-footer a:visited {
  color: #526779;
  text-decoration: none;
}

.su-app-footer a:hover,
.su-app-footer a:focus {
  color: #285c7b;
}

.su-app-breadcrumb {
  color: #526779;
  display: flex;
  font-size: 14px;
  gap: 8px;
  padding-top: 28px;
}

.su-app-breadcrumb a,
.su-app-breadcrumb a:visited {
  color: #526779;
  text-decoration: none;
}

.su-app-breadcrumb a:hover,
.su-app-breadcrumb a:focus {
  color: #285c7b;
  text-decoration: underline;
}

/* Conversion pages */
.su-convert-main {
  min-height: calc(100vh - 188px);
  padding: 0 0 34px;
}

.su-convert-intro {
  padding: 22px 0 25px;
}

.su-convert-intro h1,
.su-member-heading h1 {
  color: #193449;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
  margin: 0;
}

.su-convert-intro p,
.su-member-heading p {
  color: #526779;
  font-size: 16px;
  line-height: 1.55;
  margin: 10px 0 0;
}

.su-convert-tabs {
  display: flex;
  gap: 12px;
  margin-top: 21px;
}

.su-convert-tabs button {
  background: #fff;
  border: 1px solid #d5e0e8;
  border-radius: 6px;
  color: #285c7b;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  min-height: 43px;
  min-width: 140px;
  padding: 8px 20px;
}

.su-convert-tabs button[aria-pressed="true"] {
  background: #2d6688;
  border-color: #2d6688;
  color: #fff;
}

#spa-coordinate-tool {
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

#spa-coordinate-tool > nav {
  display: none !important;
}

#spa-single-conversion > div:first-child,
#spa-batch-conversion > div:first-child {
  align-items: stretch !important;
  background: #fff;
  border: 1px solid #d7e2e9;
  border-radius: 7px;
  display: grid !important;
  gap: 26px !important;
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr) !important;
  padding: 26px !important;
}

#spa-single-conversion .input-form-container,
#spa-single-conversion .output-form-container,
#spa-batch-conversion > div:first-child > div:not(:nth-child(2)) {
  min-width: 0;
}

#spa-single-conversion .input-form-container > label:first-child,
#spa-single-conversion .output-form-container > label:first-child,
#spa-batch-conversion > div:first-child > div > label:first-child {
  color: #193449;
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 13px;
}

#input-system-display,
#output-system-display,
#spa-batch-source-display,
#spa-batch-target-display {
  align-items: center;
  background: #fff;
  border: 1px solid #cfdee7;
  border-radius: 7px;
  color: #193449;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.4;
  margin: 0 0 8px !important;
  min-height: 77px !important;
  padding: 14px 18px;
}

#input-system-display::after,
#output-system-display::after,
#spa-batch-source-display::after,
#spa-batch-target-display::after {
  color: #6b8294;
  content: "坐标系";
  font-size: 12px;
  font-weight: 400;
  margin-left: 12px;
}

#spa-single-conversion p,
#spa-batch-conversion p {
  margin: 0 0 10px;
}

#spa-single-conversion > div[style*="display:flex"] > br,
#spa-batch-conversion > div[style*="display:flex"] > br {
  display: none;
}

#spa-single-conversion .button,
#spa-batch-conversion .button,
.su-member-card input[type="submit"],
.su-member-card .pms-form-submit {
  background: #fff;
  border: 1px solid #d2e0e9;
  border-radius: 6px;
  box-shadow: none;
  color: #285c7b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 8px 19px;
  text-shadow: none;
}

#spa-single-conversion .input-choose-button,
#spa-single-conversion .output-choose-button,
#spa-batch-source-choose,
#spa-batch-target-choose {
  float: right;
  margin-top: -69px;
  position: relative;
  z-index: 1;
}

#spa-single-conversion > div:first-child > div:nth-child(2),
#spa-batch-conversion > div:first-child > div:nth-child(2) {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 0 !important;
}

#spa-single-conversion .online-switch-button,
#spa-batch-swap {
  border-radius: 7px;
  font-size: 20px;
  height: 44px;
  padding: 0;
  width: 60px;
}

#spa-single-conversion > div:first-child > div:nth-child(2)::after,
#spa-batch-conversion > div:first-child > div:nth-child(2)::after {
  color: #526779;
  content: attr(data-swap-label);
  font-size: 12px;
  white-space: nowrap;
}

#spa-single-conversion label[for="spa-input-first"],
#spa-single-conversion label[for="spa-input-second"],
#spa-single-conversion label[for="spa-output-first"],
#spa-single-conversion label[for="spa-output-second"] {
  color: #526779;
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 30px;
}

#spa-single-conversion .spa-coordinate-field {
  background: #fff;
  border: 1px solid #cfdee7;
  border-radius: 6px;
  box-sizing: border-box;
  color: #193449;
  font-size: 16px;
  height: 52px;
  margin-top: 8px;
  padding: 10px 14px;
  width: 100%;
}

#spa-single-conversion .output-form-container .spa-coordinate-field {
  background: #edf3f7;
}

#spa-single-conversion .format-switch-button,
#spa-single-conversion .format-switch-button-output {
  float: right;
  margin-top: 18px;
}

#coordinate-sign-hint {
  clear: both;
  color: #526779 !important;
  font-size: 13px !important;
  padding-top: 16px;
}

#spa-single-conversion > div[style*="display:flex"],
#spa-batch-conversion > div[style*="display:flex"] {
  align-items: stretch !important;
  background: #edf4f8;
  border: 1px solid #d4e2eb;
  border-radius: 7px;
  display: grid !important;
  gap: 15px !important;
  grid-template-columns: 1fr auto;
  margin: 24px 0 !important;
  padding: 20px 22px;
}

#spa-single-conversion .transformers-button,
#spa-batch-transformer {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 188px;
}

#transformer-selected-desc,
#spa-batch-transformer-status {
  color: #193449 !important;
  font-size: 16px;
  grid-column: 1;
  margin: 0 !important;
}

#spa-single-conversion > div[style*="display:flex"]::before,
#spa-batch-conversion > div[style*="display:flex"]::before {
  color: #193449;
  content: attr(data-transformer-label);
  font-size: 16px;
  font-weight: 700;
  grid-column: 1;
}

#spa-single-conversion > div[style*="display:flex"] .online-submit-button {
  background: #2d6688;
  border-color: #2d6688;
  color: #fff;
  grid-column: 2;
  grid-row: 3;
  min-width: 231px;
}

#spa-batch-dropzone {
  align-items: center;
  background: #f6f9fb !important;
  border: 1px dashed #b7cad7 !important;
  border-radius: 7px;
  color: #193449;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  min-height: 210px;
  padding: 28px !important;
}

#spa-batch-dropzone::before {
  align-items: center;
  background: #edf4f8;
  border-radius: 8px;
  color: #2d6688;
  content: "↑";
  display: flex;
  font-size: 26px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  margin-bottom: 12px;
  width: 46px;
}

#spa-batch-dropzone strong {
  font-size: 18px;
}

#spa-batch-dropzone span {
  color: #526779 !important;
  margin-top: 6px;
}

#spa-batch-dropzone::after {
  background: #2d6688;
  border-radius: 6px;
  color: #fff;
  content: attr(data-upload-button-label);
  font-size: 14px;
  font-weight: 700;
  margin-top: 17px;
  padding: 10px 58px;
}

#spa-batch-dropzone.is-dragover {
  background: #edf4f8 !important;
  border-color: #2d6688 !important;
}

#spa-batch-upload-heading {
  margin: 28px 0 20px;
}

#spa-batch-upload-heading h2 {
  color: #193449;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
}

#spa-batch-upload-heading p {
  color: #526779;
  font-size: 15px;
  margin: 0;
}

#spa-batch-files:empty {
  min-height: 44px;
}

#spa-batch-submit {
  background: #2d6688 !important;
  border-color: #2d6688 !important;
  color: #fff !important;
  float: right;
  margin: 18px 0 18px auto !important;
  min-width: 250px;
}

#spa-batch-output-options,
.spa-batch-map-card {
  background: #fff;
  border-color: #d7e2e9 !important;
  border-radius: 7px;
}

.su-coordinate-note {
  border-top: 1px solid #d7e2e9;
  color: #526779;
  margin-top: 25px;
  padding: 23px 0 4px;
}

.su-coordinate-note h2 {
  color: #193449;
  font-size: 16px;
  margin: 0 0 10px;
}

.su-coordinate-note p {
  font-size: 14px;
  margin: 0;
}

.su-coordinate-note p + p,
.su-coordinate-note details {
  margin-top: 10px;
}

.su-coordinate-note summary {
  cursor: pointer;
  font-size: 14px;
}

.su-coordinate-note details p {
  margin-top: 6px;
}

/* Member pages */
.su-member-main {
  min-height: calc(100vh - 188px);
  padding: 40px 0;
}

.su-auth-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(320px, .82fr) minmax(480px, 1.18fr);
  margin: 0 auto;
  max-width: 1248px;
}

.su-auth-visual {
  background-color: #dceaf1;
  background-image: linear-gradient(180deg, rgba(244, 249, 252, .78), rgba(218, 237, 246, .56)), url("assets/hero-landscape.png");
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  color: #193449;
  display: flex;
  flex-direction: column;
  min-height: 624px;
  padding: 40px 36px;
}

.su-auth-visual__eyebrow {
  color: #285c7b;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

.su-auth-visual h2 {
  color: #193449;
  font-size: 34px;
  line-height: 1.42;
  margin: 64px 0 0;
}

.su-auth-visual__caption {
  font-size: 15px;
  margin: auto 0 0;
}

.su-member-card {
  background: #fff;
  border: 1px solid #d7e2e9;
  border-radius: 7px;
}

.su-member-card--auth {
  min-height: 624px;
  padding: 43px 55px;
}

.su-member-card h1 {
  color: #193449;
  font-size: 32px;
  line-height: 1.25;
  margin: 0;
}

.su-member-card__intro {
  color: #526779;
  font-size: 15px;
  margin: 16px 0 34px;
}

.su-member-card .usefulsomething-member-page {
  margin: 0;
  max-width: none;
}

.su-member-card--auth .usefulsomething-member-page > p:first-child,
.su-member-card--auth #pms_recover_password_form > p:first-of-type {
  display: none;
}

.su-member-card .pms-form,
.su-member-card .pms-form ul,
.su-member-card .pms-form li,
.su-member-card .pms-form p {
  list-style: none;
  margin: 0;
  padding: 0;
}

.su-member-card .pms-form .pms-field,
.su-member-card .pms-form .login-username,
.su-member-card .pms-form .login-password {
  margin-bottom: 22px;
}

.su-member-card .pms-form label {
  color: #526779;
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}

.su-member-card .pms-form input[type="text"],
.su-member-card .pms-form input[type="email"],
.su-member-card .pms-form input[type="password"] {
  background: #fff;
  border: 1px solid #cfdee7;
  border-radius: 6px;
  box-sizing: border-box;
  color: #193449;
  font-size: 16px;
  height: 53px;
  padding: 10px 14px;
  width: 100%;
}

.su-member-card .pms-form .pms-account-section-wrapper {
  display: grid;
  gap: 0 24px;
  grid-template-columns: 1fr 1fr;
}

.su-member-card .pms-form .pms-user-email-field,
.su-member-card .pms-form .pms-pass1-field,
.su-member-card .pms-form .pms-pass2-field {
  grid-column: 1 / -1;
}

.su-member-card .pms-form .login-remember {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 5px 0 24px;
}

.su-member-card .pms-form .login-remember label {
  color: #25455d;
  margin: 0;
}

.su-member-card .pms-form input[type="checkbox"] {
  accent-color: #2d6688;
  height: 18px;
  margin: 0;
  width: 18px;
}

.su-member-card .pms-form .login-submit,
.su-member-card .pms-form > input[type="submit"],
.su-member-card .pms-form .pms-form-submit {
  margin-top: 8px;
  width: 100%;
}

.su-member-card input[type="submit"],
.su-member-card .pms-form-submit {
  background: #2d6688 !important;
  border-color: #2d6688 !important;
  color: #fff !important;
  height: 50px;
  width: 100%;
}

.su-member-card .usefulsomething-member-links {
  border-top: 1px solid #dce6ed;
  gap: 14px 22px;
  margin-top: 32px;
  padding-top: 26px;
}

.su-member-card .usefulsomething-member-links a,
.su-member-card .usefulsomething-member-links a:visited {
  color: #285c7b;
  text-decoration: none;
}

.su-member-card .usefulsomething-phone-login-pending {
  display: none;
}

.su-member-heading {
  padding: 22px 0 36px;
}

.su-member-card--content {
  min-height: 348px;
  padding: 38px;
}

.su-plans-pending {
  align-items: flex-start;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  min-height: 270px;
}

.su-plans-pending__badge {
  background: #edf4f8;
  border-radius: 999px;
  color: #285c7b;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 30px;
  padding: 7px 22px;
}

.su-plans-pending h2 {
  color: #193449;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 14px;
}

.su-plans-pending > p:not(.su-plan-actions) {
  color: #526779;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.su-plan-actions {
  display: flex;
  gap: 16px;
  margin: 34px 0 0;
}

.su-plan-actions a,
.su-plan-actions a:visited {
  align-items: center;
  border: 1px solid #d2e0e9;
  border-radius: 6px;
  color: #285c7b;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 43px;
  padding: 8px 28px;
  text-decoration: none;
}

.su-plan-actions .su-plan-actions__primary {
  background: #2d6688;
  border-color: #2d6688;
  color: #fff;
}

.su-plan-actions a:hover,
.su-plan-actions a:focus {
  background: #edf4f8;
}

.su-plan-actions .su-plan-actions__primary:hover,
.su-plan-actions .su-plan-actions__primary:focus {
  background: #234f6a;
  color: #fff;
}

@media (max-width: 921px) {
  .su-app-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .su-app-header__inner {
    min-height: 66px;
  }

  .su-app-brand {
    font-size: 17px;
  }

  .su-app-nav {
    gap: 15px;
  }

  .su-app-nav .su-language-selector select {
    max-width: 108px;
  }

  .su-app-nav a:not(.su-app-nav__action):not(:last-of-type) {
    display: none;
  }

  .su-app-nav .su-app-nav__action {
    min-height: 38px;
    min-width: auto;
    padding: 7px 12px;
  }

  .su-convert-intro h1,
  .su-member-heading h1 {
    font-size: 29px;
  }

  #spa-single-conversion > div:first-child,
  #spa-batch-conversion > div:first-child {
    gap: 16px !important;
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  #spa-single-conversion > div:first-child > div:nth-child(2),
  #spa-batch-conversion > div:first-child > div:nth-child(2) {
    flex-direction: row;
    grid-row: auto;
    order: 2;
  }

  #spa-single-conversion .output-form-container,
  #spa-batch-conversion > div:first-child > div:nth-child(3) {
    order: 3;
  }

  #spa-single-conversion .input-choose-button,
  #spa-single-conversion .output-choose-button,
  #spa-batch-source-choose,
  #spa-batch-target-choose {
    margin-top: -69px;
  }

  #spa-single-conversion > div[style*="display:flex"],
  #spa-batch-conversion > div[style*="display:flex"] {
    grid-template-columns: 1fr;
  }

  #spa-single-conversion .transformers-button,
  #spa-batch-transformer,
  #spa-single-conversion > div[style*="display:flex"] .online-submit-button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  #spa-batch-submit {
    float: none;
    width: 100%;
  }

  .su-auth-layout {
    grid-template-columns: 1fr;
  }

  .su-auth-visual {
    min-height: 260px;
    padding: 28px;
  }

  .su-auth-visual h2 {
    font-size: 26px;
    margin-top: 34px;
  }

  .su-member-card--auth {
    min-height: 0;
    padding: 30px 24px;
  }

  .su-member-card .pms-form .pms-account-section-wrapper {
    display: block;
  }

  .su-app-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    min-height: 180px;
  }

  .su-app-footer nav {
    gap: 20px;
    margin-left: 0;
  }

  .su-plan-actions {
    flex-direction: column;
  }
}

.su-home {
  --su-blue: #285c7b;
  --su-ink: #193449;
  --su-muted: #526779;
  --su-border: #d5e1e9;
  --su-mist: #f8fafc;
  --su-card-mist: #edf3f7;
  background: #fff;
  color: var(--su-ink);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.5;
}

.su-home *,
.su-home *::before,
.su-home *::after {
  box-sizing: border-box;
}

.su-home a {
  color: inherit;
  text-decoration: none;
}

.su-home a:focus-visible {
  outline: 3px solid #6ba4c8;
  outline-offset: 3px;
}

.su-home__container {
  margin: 0 auto;
  max-width: 1248px;
  width: calc(100% - 48px);
}

.su-home__header {
  background: #fff;
  height: 80px;
}

.su-home__header-inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.su-home__brand,
.su-home__footer-brand {
  color: var(--su-ink);
  font-size: 21px;
  font-weight: 700;
}

.su-home__nav {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 42px;
}

.su-home__nav a,
.su-home__text-link,
.su-home__tool-card > a,
.su-home__desktop-directory-link,
.su-home__mobile-directory-link,
.su-home__footer-links a {
  color: var(--su-muted);
}

.su-home__nav a:hover,
.su-home__text-link:hover,
.su-home__tool-card > a:hover,
.su-home__desktop-directory-link:hover,
.su-home__mobile-directory-link:hover,
.su-home__footer-links a:hover {
  color: var(--su-blue);
}

.su-home__nav .su-home__register {
  border: 1px solid var(--su-border);
  border-radius: 5px;
  color: var(--su-blue);
  font-weight: 700;
  padding: 12px 38px;
}

.su-home__mobile-tools {
  display: none;
}

.su-home__hero {
  background: linear-gradient(90deg, rgba(248, 250, 252, .94) 0%, rgba(248, 250, 252, .66) 37%, rgba(237, 243, 247, .10) 69%), url("assets/hero-landscape.png") center 52% / cover no-repeat;
  min-height: 514px;
}

.su-home__hero-inner {
  min-height: 514px;
  padding-top: 56px;
  position: relative;
}

.su-home__eyebrow,
.su-home__section-label {
  color: var(--su-blue);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.su-home__hero h1 {
  color: var(--su-ink);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 42px 0 31px;
}

.su-home__intro {
  color: var(--su-ink);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.su-home__hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
}

.su-home__button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 35px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.su-home__button--primary {
  background: var(--su-blue);
  color: #fff;
}

.su-home__button--primary:hover {
  background: #1d4d6a;
  color: #fff;
}

.su-home__button--secondary {
  background: rgba(255, 255, 255, .96);
  border-color: var(--su-border);
  color: var(--su-blue);
}

.su-home__button--secondary:hover {
  background: #f6fafc;
  border-color: #a7c4d5;
  color: #1d4d6a;
}

.su-home__hero-caption {
  bottom: 36px;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  letter-spacing: .02em;
  margin: 0;
  position: absolute;
  right: 0;
}

.su-home__tools {
  background: var(--su-mist);
  padding: 43px 0 32px;
}

.su-home__section-heading,
.su-home__account-inner,
.su-home__directory,
.su-home__footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.su-home__section-heading h2,
.su-home__account h2 {
  color: var(--su-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 0;
}

.su-home__desktop-directory-link,
.su-home__mobile-directory-link,
.su-home__tool-card > a,
.su-home__text-link {
  font-size: 14px;
  font-weight: 700;
}

.su-home__tool-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 23px;
}

.su-home__tool-card {
  background: #fff;
  border: 1px solid var(--su-border);
  border-radius: 8px;
  min-height: 258px;
  padding: 28px;
}

.su-home__tool-topline {
  align-items: center;
  color: var(--su-muted);
  display: flex;
  font-size: 12px;
  gap: 16px;
}

.su-home__tool-icon {
  border: 2px solid var(--su-blue);
  border-radius: 5px;
  display: inline-block;
  height: 40px;
  position: relative;
  width: 40px;
}

.su-home__tool-icon--single::before,
.su-home__tool-icon--single::after {
  background: var(--su-blue);
  content: "";
  left: 9px;
  position: absolute;
  top: 18px;
  width: 18px;
  height: 2px;
}

.su-home__tool-icon--single::after {
  left: 18px;
  top: 9px;
  height: 18px;
  width: 2px;
}

.su-home__tool-icon--single {
  background: radial-gradient(circle at center, var(--su-blue) 0 4px, transparent 4px);
}

.su-home__tool-icon--batch::before {
  background: var(--su-blue);
  box-shadow: 0 7px 0 var(--su-blue), 0 14px 0 var(--su-blue);
  content: "";
  height: 2px;
  left: 9px;
  position: absolute;
  top: 11px;
  width: 21px;
}

.su-home__tool-card h3,
.su-home__directory h3 {
  color: var(--su-ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 26px 0 9px;
}

.su-home__tool-card p,
.su-home__directory p,
.su-home__account p,
.su-home__footer p {
  color: var(--su-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.su-home__tool-card .su-home__tool-meta {
  font-size: 13px;
  margin-top: 7px;
}

.su-home__tool-card > a {
  display: inline-block;
  margin-top: 6px;
}

.su-home__directory {
  background: var(--su-card-mist);
  border-radius: 8px;
  margin-top: 32px;
  min-height: 108px;
  padding: 17px 28px;
}

.su-home__directory h3 {
  font-size: 20px;
  margin: 0 0 6px;
}

.su-home__directory .su-home__button {
  min-width: 208px;
}

.su-home__mobile-directory-link {
  display: none;
}

.su-home__account {
  background: #fff;
  border-bottom: 1px solid var(--su-border);
  padding: 25px 0 32px;
}

.su-home__account h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.su-home__account-actions {
  align-items: center;
  display: flex;
  gap: 25px;
}

.su-home__account-actions .su-home__button {
  min-width: 140px;
}

.su-home__footer {
  background: #fff;
  padding: 29px 0;
}

.su-home__footer-brand {
  font-size: 17px;
}

.su-home__footer p {
  font-size: 13px;
  margin-top: 9px;
}

.su-home__footer-links {
  align-items: center;
  display: grid;
  gap: 8px 29px;
  grid-template-columns: repeat(3, auto);
  justify-items: end;
}

.su-home__footer-links a,
.su-home__footer-links small {
  color: var(--su-muted);
  font-size: 13px;
}

.su-home__footer-links small {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .su-home__container {
    width: calc(100% - 48px);
  }

  .su-home__header {
    height: 72px;
  }

  .su-home__brand {
    font-size: 17px;
  }

  .su-home__nav {
    display: none;
  }

  .su-home__header-inner {
    gap: 10px;
  }

  .su-home__language-mobile {
    display: inline-flex;
    margin-left: auto;
  }

  .su-home__language-mobile select {
    max-width: 104px;
  }

  .su-home__mobile-tools {
    color: var(--su-blue);
    display: inline-block;
    font-size: 13px;
  }

  .su-home__hero {
    background-image: linear-gradient(180deg, rgba(248, 250, 252, .88) 0%, rgba(248, 250, 252, .54) 42%, rgba(237, 243, 247, .14) 100%), url("assets/hero-landscape.png");
    background-position: 54% center;
    min-height: 586px;
  }

  .su-home__hero-inner {
    min-height: 586px;
    padding-top: 40px;
  }

  .su-home__eyebrow {
    font-size: 12px;
  }

  .su-home__eyebrow span {
    display: none;
  }

  .su-home__eyebrow::after {
    content: "";
  }

  .su-home__hero h1 {
    font-size: 36px;
    line-height: 1.4;
    margin: 33px 0 36px;
  }

  .su-home__intro {
    font-size: 16px;
    line-height: 1.6;
  }

  .su-home__hero-actions {
    display: grid;
    gap: 16px;
    margin-top: 48px;
  }

  .su-home__hero-actions .su-home__button {
    width: 100%;
  }

  .su-home__hero-caption {
    bottom: 30px;
    font-size: 11px;
    left: 0;
    right: auto;
  }

  .su-home__tools {
    padding: 35px 0 24px;
  }

  .su-home__section-heading {
    display: block;
  }

  .su-home__section-heading h2 {
    font-size: 28px;
    margin-top: 10px;
  }

  .su-home__desktop-directory-link {
    display: none;
  }

  .su-home__tool-grid {
    gap: 18px;
    grid-template-columns: 1fr;
    margin-top: 27px;
  }

  .su-home__tool-card {
    min-height: 281px;
    padding: 27px;
  }

  .su-home__tool-card h3 {
    font-size: 25px;
    margin-top: 27px;
  }

  .su-home__tool-card p {
    line-height: 1.55;
  }

  .su-home__tool-card .su-home__tool-meta {
    margin-top: 31px;
  }

  .su-home__desktop-break {
    display: none;
  }

  .su-home__mobile-directory-link {
    display: inline-block;
    margin-top: 21px;
  }

  .su-home__directory {
    align-items: flex-start;
    display: block;
    margin-top: 18px;
    min-height: 194px;
    padding: 22px;
  }

  .su-home__directory h3 {
    font-size: 21px;
    margin-bottom: 11px;
  }

  .su-home__directory p {
    max-width: 250px;
  }

  .su-home__directory .su-home__button {
    background: transparent;
    border: 0;
    justify-content: flex-start;
    margin-top: 24px;
    min-height: auto;
    padding: 0;
  }

  .su-home__account {
    padding: 29px 0 24px;
  }

  .su-home__account-inner {
    align-items: stretch;
    display: block;
  }

  .su-home__account h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .su-home__account-actions {
    border-top: 0;
    gap: 25px;
    margin-top: 28px;
  }

  .su-home__account-actions .su-home__button {
    min-width: 178px;
  }

  .su-home__footer {
    padding: 26px 0 22px;
  }

  .su-home__footer-inner {
    align-items: flex-start;
    display: block;
  }

  .su-home__footer p {
    display: none;
  }

  .su-home__footer-links {
    gap: 24px 0;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    margin-top: 30px;
  }

  .su-home__footer-links a:first-child {
    display: none;
  }

  .su-home__footer-links small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .su-app-header__inner {
    gap: 12px;
  }

  .su-app-nav {
    margin-left: auto;
  }

  .su-app-nav .su-app-nav__action {
    display: none;
  }

  .su-app-nav .su-language-selector select {
    max-width: 112px;
  }
}
