@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Roboto+Condensed:wght@400;500;600&display=swap");

:root {
  --sw-navy: #040525;
  --sw-blue: #08A5ED;
  --sw-blue-dark: #0079c4;
  --sw-sky: #08a5ed;
  --sw-muted: #43528c;
  --sw-border: #d5e1eb;
  --sw-surface: #fff;
  --sw-soft: #eaf8ff;
  --sw-font-display: "Barlow Condensed", Impact, sans-serif;
  --sw-font-body: "Roboto Condensed", Arial, sans-serif;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  src: url(../../default/fonts/Lato/Lato-Hairline.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  src: url(../../default/fonts/Lato/Lato-Light.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url(../../default/fonts/Lato/Lato-Regular.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url(../../default/fonts/Lato/Lato-Bold.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: url(../../default/fonts/Lato/Lato-Black.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 100;
  src: url(../../default/fonts/Lato/Lato-HairlineItalic.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 300;
  src: url(../../default/fonts/Lato/Lato-LightItalic.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url(../../default/fonts/Lato/Lato-Italic.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  src: url(../../default/fonts/Lato/Lato-BoldItalic.ttf);
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 900;
  src: url(../../default/fonts/Lato/Lato-BlackItalic.ttf);
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url(../../default/fonts/OpenSans/OpenSans-Regular.ttf);
}

@font-face {
  font-family: "Helvetica";
  font-style: normal;
  font-weight: 400;
  src: url(../../default/fonts/Helvetica/Helvetica.ttf);
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400;
  src: url(../../default/fonts/Quicksand/Quicksand_light.otf);
}

@font-face {
  font-family: "Impact";
  font-style: normal;
  font-weight: 400;
  src: url(../../default/fonts/Impact/Impact.ttf);
}

/************************************** classes *****************************************/
iframe[name="google_conversion_frame"] {
  height: 0 !important;
  width: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  margin-top: -13px;
  float: left;
}

.row-flex {
  display: flex;
  flex-wrap: wrap;
}

.row-flex:before {
  padding: 0;
  margin: 0;
  display: block;
  content: "";
}

.btn-sm {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.hint-box {
  padding: 8px;
  background-color: rgba(255, 249, 111, 0.24);
  color: #00a4d6;
  margin-bottom: 20px;
}

.striped-rows .row {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-top: 1px solid lightgray;
}

.striped-rows .row div:first-child,
.striped-rows .row div:last-child {
  padding: 0;
}

.striped-rows .row:first-child {
  border-top: none;
  padding-top: 0;
}

.bounce {
  -webkit-animation: bounce 2s infinite;
  -moz-animation: bounce 2s infinite;
  -ms-animation: bounce 2s infinite;
  -o-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

blockquote {
  text-align: left;
  border: none;
  font-style: italic;
  padding: 0;
}

blockquote .quote {
  width: 50px;
}

blockquote .quote i {
  color: rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  font-size: 20px;
}

blockquote p {
  margin-left: 50px;
  font-size: 15px;
  text-align: left;
}

blockquote p.source {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

a {
  cursor: pointer;
}

.gold-bar:after {
  background-color: #df9e13;
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
}

.bg-our-primary {
  background-color: #08A5ED !important;
}

.bg-our-secondary {
  background-color: #f7d1cc !important;
}

.bg-our-gold {
  background-color: #df9e13 !important;
}

.text-our-primary {
  color: #00a4d6 !important;
}

.text-our-secondary {
  color: #f7d1cc !important;
}

.text-our-gold {
  color: #df9e13 !important;
}

.list-our-primary li {
  color: #00a4d6 !important;
}

.list-our-secondary li {
  color: #f7d1cc !important;
}

.list-our-gold li {
  color: #df9e13 !important;
}

.btn-primary {
  background: #08A5ED linear-gradient(180deg, #08A5ED, #08A5ED) repeat-x;
  border-color: #08A5ED;
}

.btn-primary:hover {
  background: #08A5ED linear-gradient(180deg, #08A5ED, #08A5ED) repeat-x;
  border-color: #08A5ED;
}

.btn-secondary {
  background: #f7d1cc linear-gradient(180deg, #f8d8d4, #f7d1cc) repeat-x;
  border-color: #f7d1cc;
}

.btn-secondary:hover {
  background: #f2b3ab linear-gradient(180deg, #f1bcb5, #f2b3ab) repeat-x;
  border-color: #f0a9a0;
}

.btn-gold {
  background: #ca8c04 linear-gradient(180deg, #d29d2a, #ca8c04) repeat-x;
  border-color: #ca8c04;
}

.btn-gold:hover {
  background: #a47203 linear-gradient(180deg, #af8426, #a47203) repeat-x;
  border-color: #986903;
}

.btn-group-xs>.btn,
.btn-xs {
  padding: 0.25rem 0.4rem;
  font-size: 0.875rem;
  line-height: 0.5;
  border-radius: 0.2rem;
}

.panel-primary {
  border-color: #08A5ED;
}

.panel-primary .panel-heading {
  border-color: #08A5ED;
  background: #08A5ED linear-gradient(180deg, #08A5ED, #08A5ED) repeat-x;
}

.panel-primary .panel-heading+.panel-collapse>.panel-body {
  border-top-color: #08A5ED;
}

.panel-secondary {
  border-color: #08A5ED;
}

.panel-secondary .panel-heading {
  border-color: #08A5ED;
  background: #f7d1cc linear-gradient(180deg, #f8d8d4, #f7d1cc) repeat-x;
}

.panel-secondary .panel-heading+.panel-collapse>.panel-body {
  border-top-color: #f7d1cc;
}

ul.list-style-none {
  list-style: none;
}

img {
  opacity: 1;
  transition: opacity 0.3s;
}

img[data-src] {
  opacity: 0;
}

a:hover,
a:focus {
  text-decoration: none;
}

@-webkit-keyframes heartbeat {
  0% {
    -webkit-transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.7);
  }

  100% {
    -webkit-transform: scale(1);
  }
}

.red {
  color: #ce3a1e !important;
}

.green {
  color: #5cb85c !important;
}

.gold {
  color: #ffd01b !important;
}

.beat {
  -webkit-animation-name: heartbeat;
  -webkit-animation-duration: 200ms;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-iteration-count: 3;
  -webkit-animation-timing-function: linear;
  color: #d43f3a !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.margin-top-lg {
  margin-top: 50px !important;
}

.margin-bottom-lg {
  margin-bottom: 50px !important;
}

.margin-10 {
  margin: 10px !important;
}

.margin-bottom-10 {
  margin-bottom: 10px !important;
}

.margin-top-10 {
  margin-top: 10px !important;
}

.margin-left-10 {
  margin-left: 10px !important;
}

.margin-right-10 {
  margin-right: 10px !important;
}

.margin-20 {
  margin: 20px !important;
}

.margin-bottom {
  margin-bottom: 15px !important;
}

.margin-bottom-20 {
  margin-bottom: 20px !important;
}

.margin-bottom-30 {
  margin-bottom: 30px !important;
}

.margin-top-20 {
  margin-top: 20px !important;
}

.margin-left-20 {
  margin-left: 20px !important;
}

.margin-right-20 {
  margin-right: 20px !important;
}

.margin-top {
  margin-top: 15px !important;
}

.margin-top-lg {
  margin-top: 40px !important;
}

.no-margin {
  margin: 0 !important;
}

.no-margin-top {
  margin-top: 0 !important;
}

.no-margin-right {
  margin-right: 0 !important;
}

.no-margin-bottom {
  margin-bottom: 0 !important;
}

.no-margin-left {
  margin-left: 0 !important;
}

.padding-left {
  margin-left: 15px !important;
}

.padding-5 {
  padding: 5px !important;
}

.padding-10 {
  padding: 10px !important;
}

.padding-bottom-10 {
  padding-bottom: 10px !important;
}

.padding-top-10 {
  padding-top: 10px !important;
}

.padding-left-10 {
  padding-left: 10px !important;
}

.padding-right-10 {
  padding-right: 10px !important;
}

.no-padding {
  padding: 0 !important;
}

.no-padding-top {
  padding-top: 0 !important;
}

.no-padding-right {
  padding-right: 0 !important;
}

.no-padding-bottom {
  padding-bottom: 0 !important;
}

.no-padding-left {
  padding-left: 0 !important;
}

.margin-right {
  margin-right: 15px;
}

.hr-spacer {
  height: 1px;
  background-color: #d4d4d4;
}

.text-left {
  text-align: left !important;
}

.no-padding {
  padding: 0;
}

.no-left-padding {
  padding-left: 0;
}

.page-alert {
  position: fixed;
  top: 80px;
  right: 100px;
  z-index: 99999;
  box-shadow: 0 0 23px 5px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  line-height: 20px;
  padding: 15px 20px;
}

.page-alert button.close {
  margin-left: 15px;
}

.hint {
  background: #fff;
  color: #000;
  padding: 8px 10px;
  position: relative;
  font-size: 14px;
  line-height: 14px;
  margin: 0;
  border-radius: 3px;
  line-height: 20px;
}

.hint.hint-left {
  margin-left: 6px;
}

.hint.hint-left:after {
  display: block;
  position: absolute;
  background: transparent;
  border: 6px solid transparent;
  border-right-color: #08A5ED;
  top: 50%;
  margin-top: -6px;
  right: 100%;
  content: "";
  width: 0;
  height: 0;
}

.hint.hint-right:after {
  display: block;
  position: absolute;
  background: transparent;
  border: 6px solid transparent;
  border-left-color: #08A5ED;
  top: 50%;
  margin-top: -6px;
  right: -12px;
  content: "";
  width: 0;
  height: 0;
}

.input-error {
  color: #ce3a1e;
}

.hint-red {
  background-color: #7f302f;
  color: #fff;
}

.hint-blue {
  background-color: #08A5ED;
  color: #fff;
}

.navbar-default .navbar-nav>li.upgrade>a>span {
  color: #c97b15;
  height: 100%;
  background-color: gold;
  font-weight: bold;
  border-radius: 5px;
  padding: 10px;
  display: inline !important;
}

select.select {
  -webkit-appearance: button;
  -webkit-border-radius: 2px;
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-padding-end: 20px;
  -webkit-padding-start: 2px;
  -webkit-user-select: none;
  background-image:
    url(../img/15xvbd5.png),
    -webkit-linear-gradient(#fff, #fff 20%, #f9f9f9);
  background-position: right center;
  background-repeat: no-repeat;
  border: 1px solid #ccc;
  color: #555;
  margin: 0px;
  overflow: hidden;
  padding: 4px 4px;
  padding-right: 38px;
  padding-left: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 0;
  outline: none;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

select.select option {
  cursor: pointer;
}

select.select:focus {
  border: 1px solid #ccc;
  outline: none;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.btn-edit {
  margin: 0px 5px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: 0;
  opacity: 0.5;
  border-width: 1px;
  display: inline;
  outline: none;
}

.btn-edit .btn-txt {
  opacity: 0;
}

.btn-edit.active,
.btn-edit:hover {
  border-color: #ccc;
  opacity: 1;
  cursor: pointer;
  background: #efefef;
  background: linear-gradient(#fff, #ebebeb);
  color: #3f4752;
}

.btn-edit.active .btn-txt,
.btn-edit:hover .btn-txt {
  opacity: 1;
}

.btn-edit.active {
  background: linear-gradient(#ebebeb, #fff);
}

p {
  font-family: Lato, sans-serif;
  font-size: 15px;
  line-height: 20px;
  color: #336b87;
  margin-bottom: 10px;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 20px 0;
}

.center {
  text-align: center !important;
}

.margin-top-0 {
  margin-top: 0;
}

/************************************** bootsrap overrides *******************************/
.tab-content {
  padding: 0px;
}

.pagination {
  margin: 0;
}

.navbar {
  margin-bottom: 0;
}

.navbar .navbar-brand {
  height: 40px;
  padding: 0;
  margin: 0;
  margin-top: 6px;
  max-width: 50%;
}

.navbar .navbar-brand img {
  max-height: 100%;
}

.navbar .mainMenu {
  margin-top: 4px;
}

.navbar .mainMenu li>a {
  color: #777;
  text-transform: uppercase;
}

.navbar .mainMenu li>a:hover,
.navbar .mainMenu li>a:focus,
.navbar .mainMenu li#signin>a {
  background-color: #ef3a61 !important;
  color: #fff;
}

.div {
  position: relative;
  height: 21px;
  overflow: hidden;
}

.div hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

.div::after {
  content: attr(data-title);
  top: 0px;
  left: 15px;
  position: absolute;
  background-color: #fff;
  padding: 0 10px;
  font-size: 13px;
}

/************************************** main layout **************************************/
html,
body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  overflow: -moz-scrollbars-vertical;
  overflow-y: scroll;
}

body {
  background-color: #f9f9f9;
  color: #2a3132;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

body.modal-open {
  padding-right: 0 !important;
}

/* FORCE FOOTER TO BOTTOM OF PAGE */
.layout {
  position: relative;
  min-height: 100%;
}

.layout .page {
  padding: 0;
  padding-top: 50px;
  padding-bottom: 144px;
}

.layout .footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 144px;
}

.section {
  margin: 0 auto;
  width: 100%;
  float: left;
  display: block;
  height: auto;
  position: relative;
  padding: 10px 0 30px 0;
}

.section.section-slim {
  padding: 15px 0;
}

.section.color1 {
  background-color: #fff;
}

.section.color1 h1,
.section.color1 h2,
.section.color1 p {
  color: #777;
}

.section.color2 {
  background-color: #eee;
}

.section.color3 {
  background-color: #08A5ED;
}

.section.subheader {
  position: relative;
  /* min-height: 75px; */
  padding-top: 5px;
  padding-bottom: 5px;
  position: relative;
  background-color: #08A5ED;
}

.section.subheader.sthin {
  padding: 12px;
}

.section.subheader h1 {
  text-align: left;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 45px;
  margin: 0;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.section.subheader h1 a {
  color: #fff;
  text-decoration: none;
}

.section.subheader h1 a:hover {
  color: #f1f1f1;
}

.section.subheader h1 a:hover span {
  color: #fff;
}

.section.subheader h1 span {
  letter-spacing: 0em;
  font-weight: bold;
  text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.25);
}

.section.subheader .navbar-nav li a {
  color: #fff !important;
  padding-top: 12px;
  padding-bottom: 10px;
}

.footer {
  font-size: 13px;
  background-color: #333;
}

.footer .footer-top {
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer .footer-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .footer-top ul li {
  margin: 0;
  padding: 4px 0;
}

.footer .footer-top ul li a {
  text-decoration: none;
  line-height: 13px;
  font-size: 13px;
  color: #fff;
  -webkit-transition: all 0.5s all ease;
  -moz-transition: all 0.5s all ease;
  -o-transition: all 0.5s all ease;
  -ms-transition: all 0.5s all ease;
  transition: all 0.5s all ease;
}

.footer .footer-top ul li a:hover {
  color: #027bef;
}

.footer .footer-bottom {
  background-color: #333;
  border-top: 1px solid #555;
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer .footer-bottom .copy {
  margin: 0;
  line-height: 30px;
  color: #f1f1f1;
}

.footer .footer-bottom .social ul {
  list-style-type: none;
  margin: 0;
  margin-right: 20px;
  padding: 0;
}

.footer .footer-bottom .social ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.footer .footer-bottom .social ul li a {
  display: block;
  color: #8c8d91;
  margin-left: 12px;
}

.footer .footer-bottom .social ul li a i {
  line-height: 30px;
  font-size: 1.2em;
}

.footer .footer-bottom .social ul li a:hover {
  color: #fff;
}

/************************************** landing page styles **************************************/
ul.vids {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.vids li {
  display: inline-block;
  margin-right: 15px;
  overflow: hidden;
  text-align: center;
}

ul.vids li .thumbnail {
  border: 0;
  box-shadow: none;
}

ul.vids li img {
  width: 310px;
  height: auto;
}

ul.vids li a {
  cursor: pointer;
  text-decoration: none;
}

ul.vids li:last-child {
  margin-right: 0;
}

.card.card-thin {
  padding: 15px;
}

.card.card-clean {
  background-color: transparent;
  border: 0;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
  margin: 0;
  padding: 0;
}

#main-profile .nav-pills>li>a {
  border-radius: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: #ddd;
  color: #00a4d6;
  margin-bottom: -1px;
}

#main-profile .nav-pills>li.active>a {
  border-bottom-color: #fff;
}

#main-profile .tab-content {
  background-color: #fff;
}

.feature-list {
  margin: 0;
  padding: 0;
  text-align: center;
  margin-top: 50px;
}

.feature-list .feature {
  display: inline-block;
  vertical-align: top;
  width: 250px;
  margin: 0 20px;
  text-align: center;
}

.feature-list .feature .icon {
  width: 150px;
  height: 150px;
  border: 2px solid #454545;
  border-radius: 75px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.feature-list .feature .icon i {
  margin-top: 30px;
  font-size: 80px;
  color: #333;
  text-align: center;
}

.feature-list .feature .info {
  padding: 15px 0;
  color: #333;
  font-size: 15px;
}

/************************************** main page styles **************************************/
h1,
h2 {
  font-family: "Lato", sans-serif;
  color: #763626;
  text-align: center;
  font-size: 36px;
  line-height: 36px;
  font-weight: 300;
  margin: 0px 0 15px 0;
  letter-spacing: 2px;
}

h2 {
  font-size: 32px;
  line-height: 32px;
}

.panel:last-child {
  margin-bottom: 0;
}

.lifted:before {
  content: "";
  background: url(../img/lifted_paper.png) no-repeat center top;
  position: absolute;
  top: 0;
  height: 18px;
  left: 0;
  right: 0;
}

.sunken:after {
  content: "";
  background: url(../img/lifted_paper.png) no-repeat center top;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  position: absolute;
  bottom: 0;
  height: 18px;
  left: 0;
  right: 0;
}

.lifted.lindent:before {
  top: 5px;
}

.sunken.sindent:after {
  bottom: 5px;
}

/************************************** subheader ********************************************/
.subheader h1 {
  white-space: nowrap;
}

/**************************************  page *******************************************/
.thumbnail {
  padding: 3px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.thumbnail .caption {
  font-size: 15px;
  padding-top: 12px;
  color: #8ab459;
  text-decoration: none;
}

.thumbnail:hover .caption {
  color: #bae489;
}

@-webkit-keyframes bounce {
  0% {
    -webkit-transform: translateY(-100%);
    opacity: 0;
  }

  5% {
    -webkit-transform: translateY(-100%);
    opacity: 0;
  }

  15% {
    -webkit-transform: translateY(0);
    padding-bottom: 5px;
  }

  30% {
    -webkit-transform: translateY(-50%);
  }

  40% {
    -webkit-transform: translateY(0%);
    padding-bottom: 6px;
  }

  50% {
    -webkit-transform: translateY(-30%);
  }

  70% {
    -webkit-transform: translateY(0%);
    padding-bottom: 7px;
  }

  80% {
    -webkit-transform: translateY(-15%);
  }

  90% {
    -webkit-transform: translateY(0%);
    padding-bottom: 8px;
  }

  95% {
    -webkit-transform: translateY(-10%);
  }

  97% {
    -webkit-transform: translateY(0%);
    padding-bottom: 9px;
  }

  99% {
    -webkit-transform: translateY(-5%);
  }

  100% {
    -webkit-transform: translateY(0);
    padding-bottom: 9px;
    opacity: 1;
  }
}

/* Mozilla Firefox 15 below */
@-moz-keyframes bounce {
  0% {
    -moz-transform: translateY(-100%);
    opacity: 0;
  }

  5% {
    -moz-transform: translateY(-100%);
    opacity: 0;
  }

  15% {
    -moz-transform: translateY(0);
    padding-bottom: 5px;
  }

  30% {
    -moz-transform: translateY(-50%);
  }

  40% {
    -moz-transform: translateY(0%);
    padding-bottom: 6px;
  }

  50% {
    -moz-transform: translateY(-30%);
  }

  70% {
    -moz-transform: translateY(0%);
    padding-bottom: 7px;
  }

  80% {
    -moz-transform: translateY(-15%);
  }

  90% {
    -moz-transform: translateY(0%);
    padding-bottom: 8px;
  }

  95% {
    -moz-transform: translateY(-10%);
  }

  97% {
    -moz-transform: translateY(0%);
    padding-bottom: 9px;
  }

  99% {
    -moz-transform: translateY(-5%);
  }

  100% {
    -moz-transform: translateY(0);
    padding-bottom: 9px;
    opacity: 1;
  }
}

/* Opera 12.0 */
@-o-keyframes bounce {
  0% {
    -o-transform: translateY(-100%);
    opacity: 0;
  }

  5% {
    -o-transform: translateY(-100%);
    opacity: 0;
  }

  15% {
    -o-transform: translateY(0);
    padding-bottom: 5px;
  }

  30% {
    -o-transform: translateY(-50%);
  }

  40% {
    -o-transform: translateY(0%);
    padding-bottom: 6px;
  }

  50% {
    -o-transform: translateY(-30%);
  }

  70% {
    -o-transform: translateY(0%);
    padding-bottom: 7px;
  }

  80% {
    -o-transform: translateY(-15%);
  }

  90% {
    -o-transform: translateY(0%);
    padding-bottom: 8px;
  }

  95% {
    -o-transform: translateY(-10%);
  }

  97% {
    -o-transform: translateY(0%);
    padding-bottom: 9px;
  }

  99% {
    -o-transform: translateY(-5%);
  }

  100% {
    -o-transform: translateY(0);
    padding-bottom: 9px;
    opacity: 1;
  }
}

/* W3, Opera 12+, Firefox 16+ */
@keyframes bounce {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  5% {
    transform: translateY(-100%);
    opacity: 0;
  }

  15% {
    transform: translateY(0);
    padding-bottom: 5px;
  }

  30% {
    transform: translateY(-50%);
  }

  40% {
    transform: translateY(0%);
    padding-bottom: 6px;
  }

  50% {
    transform: translateY(-30%);
  }

  70% {
    transform: translateY(0%);
    padding-bottom: 7px;
  }

  80% {
    transform: translateY(-15%);
  }

  90% {
    transform: translateY(0%);
    padding-bottom: 8px;
  }

  95% {
    transform: translateY(-7%);
  }

  97% {
    transform: translateY(0%);
    padding-bottom: 9px;
  }

  99% {
    transform: translateY(-3%);
  }

  100% {
    transform: translateY(0);
    padding-bottom: 9px;
    opacity: 1;
  }
}

/************************************** signin page  ******************************************/
form[name="signin"] .form-group:last-child,
form[name="signup"] .form-group:last-child,
form[name="reset"] .form-group:last-child {
  margin-bottom: 0;
}

form[name="signup"] .dob {
  display: flex;
  justify-content: space-evenly;
}

form[name="signup"] .dob .form-group {
  margin-bottom: 0;
}

.forgot {
  margin-top: 10px;
}

.forgot a {
  font-size: 0.9em;
}

.intro {
  margin-bottom: 20px;
}

.intro p {
  font-size: 0.9em;
  text-align: center;
}

.outro {
  margin-top: 20px;
}

.outro p {
  font-size: 0.8em;
}

.outro p span {
  color: #666;
}

/************************************** signup stages  ******************************************/
.plus {
  font-size: 26px;
  color: #ccc;
  border: 2px dashed #dee2e6;
  padding: 40px;
  padding-top: 65px;
  height: 160px;
}

.title {
  color: red;
  font-weight: bold;
}

.sub-title {
  color: #6e60aa;
}

.search_box {
  display: none;
  background: #ced4da;
  padding-left: 35px;
}

.form-control-feedback {
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}

.btn_div button {
  font-size: 20px;
  padding: 7px;
}

.new-header {
  height: fit-content;
}

.profile-card {
  height: fit-content;
}

.bs-wizard {
  margin-top: 8px;
  justify-content: center;
}

.bs-wizard>.bs-wizard-step.offset-3 {
  margin-left: 0;
}

.bs-wizard>.bs-wizard-step {
  padding: 0;
  position: relative;
}

.bs-wizard>.bs-wizard-step .bs-wizard-stepnum {
  color: #595959;
  font-size: 16px;
  margin-bottom: 5px;
}

.bs-wizard>.bs-wizard-step .bs-wizard-info {
  color: #999;
  font-size: 14px;
}

.bs-wizard>.bs-wizard-step>.bs-wizard-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  display: block;
  background: #fbe8aa;
  top: 24px;
  left: 50%;
  margin-top: -15px;
  margin-left: -15px;
  border-radius: 50%;
}

.bs-wizard>.bs-wizard-step>.bs-wizard-dot:after {
  content: " ";
  width: 14px;
  height: 14px;
  background: #fbe8aa;
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: 8px;
}

.bs-wizard>.bs-wizard-step>.bs-wizard-dot.dot-darker:after {
  background: #f5f7fa;
}

.bs-wizard>.bs-wizard-step>.progress {
  position: relative;
  border-radius: 0px;
  height: 8px;
  box-shadow: none;
  margin: 20px 0;
}

.bs-wizard>.bs-wizard-step>.progress>.progress-bar {
  width: 0px;
  box-shadow: none;
  background: #fbe8aa;
}

.bs-wizard>.bs-wizard-step.complete>.progress>.progress-bar {
  width: 100%;
}

.bs-wizard>.bs-wizard-step.active>.progress>.progress-bar {
  width: 50%;
}

.bs-wizard>.bs-wizard-step:first-child.active>.progress>.progress-bar {
  width: 0%;
}

.bs-wizard>.bs-wizard-step:last-child.active>.progress>.progress-bar {
  width: 100%;
}

.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot {
  background-color: #f5f5f5;
}

.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot:after {
  opacity: 0;
}

.bs-wizard>.bs-wizard-step:first-child>.progress {
  left: 50%;
  width: 50%;
}

.bs-wizard>.bs-wizard-step:last-child>.progress {
  width: 50%;
}

.bs-wizard>.bs-wizard-step.disabled a.bs-wizard-dot {
  pointer-events: none;
}

/************************************** profile edit page  ******************************************/
.notificationMenu {
  width: 300px;
}

.notificationMenu .notification {
  padding: 6px 12px;
}

.notificationMenu .notification.unread {
  background-color: #f6f6f6;
}

form.save .form-group:last-child {
  margin-bottom: 0;
}

.datalist {
  display: none;
  position: absolute;
  z-index: 100;
  top: 46px;
  box-sizing: border-box;
  min-width: 260px;
  border: 1px solid #c4c7cc;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  text-align: left;
}

.datalist .scroll {
  overflow: hidden;
  overflow-y: scroll;
  max-height: 300px;
}

.datalist .scroll .options {
  width: 100%;
  padding: 5px 0;
  margin: 0;
}

.datalist .scroll .options .option {
  position: relative;
  padding: 8px 10px;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  text-overflow: ellipsis;
  font:
    1em/1 Arial,
    sans-serif;
}

.datalist .scroll .options .option:hover {
  background-color: #eee;
}

.datalist .helper {
  background-color: #e7e8e9;
  border-top: 1px solid #d4d4d4;
  color: #999;
  font-size: 0.8em;
  padding: 4px 8px;
  text-align: center;
}

.datalist:before {
  position: absolute;
  top: -6px;
  left: 10px;
  width: 10px;
  height: 10px;
  content: "";
  border: 1px solid #c4c7cc;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-radius: 100% 0 0 0;
  background: #fff;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.profile-image {
  position: relative;
  padding: 0px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: auto;
}

.profile-image .actions {
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0;
}

.profile-image:hover .actions {
  opacity: 1;
}

.profile-image .top-overlay {
  position: absolute;
  top: 1px;
  left: 5px;
}

.profile-image .bottom-overlay {
  position: absolute;
  bottom: 5px;
  left: 5px;
}

ul.profileLinks {
  list-style-type: none;
  padding: 0px;
  margin-top: 0px;
}

ul.profileLinks li {
  padding: 4px 8px;
  border-bottom: 1px solid #d1d1d1;
}

ul.profileLinks li:last-child {
  border-bottom: 0px;
}

ul.list {
  list-style-type: none;
  padding: 0px;
  margin-top: 0px;
}

ul.list li {
  padding: 4px 8px;
}

ul.list li:last-child {
  border-bottom: 0px;
}

ul.list-arrows li:before {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f178";
  display: inline-block;
  padding-right: 5px;
}

.askQuestion {
  position: relative;
  margin-bottom: 10px;
}

ul.questions {
  list-style-type: none;
  padding: 0;
  margin: 0;
  word-break: break-all;
}

ul.questions>li {
  margin: 0;
  padding: 10px 10px;
  border-bottom: 1px solid #d1d1d1;
}

ul.questions>li .tools {
  margin-top: 5px;
}

ul.questions>li .tools ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

ul.questions>li .tools ul li {
  display: inline;
  margin: 0;
  margin-right: 6px;
  padding: 0;
}

ul.questions>li .tools ul li a {
  text-decoration: none;
  cursor: pointer;
}

ul.questions>li .tools ul li:last-child {
  margin-right: 0;
}

ul.questions>li .tools ul li[name="saveQuestion"],
ul.questions>li .tools ul li[name="cancelQuestion"] {
  display: none;
}

ul.questions>li .question {
  margin-bottom: 6px;
  color: #ce3a1e;
}

ul.questions>li .answer-wrapper {
  font-style: italic;
  margin-bottom: 0;
  margin-top: 10px;
}

ul.questions>li .answer-wrapper .answer-question {
  display: none;
}

ul.questions>li .answer-wrapper .answer-question textarea {
  padding: 0px;
  margin-bottom: 0px;
  border-radius: 0px;
  border: 0px solid #ddd;
  background-color: #fff;
  color: gray;
  display: block;
  width: 100%;
  height: 100px;
  outline: none;
  resize: none;
  line-height: 22px;
  height: 80px;
  background-color: #f1f2f3;
}

ul.questions>li .qtime {
  font-size: 13px;
  margin-top: 8px;
}

ul.questions>li .qtime .asked {
  margin-right: 5px;
}

ul.questions>li:last-child {
  border-bottom: 0;
}

ul.questions>li.editing .answer-wrapper .answer {
  display: none;
}

ul.questions>li.editing .answer-wrapper .answer-question {
  display: block;
}

ul.questions>li.editing .tools ul li[name="saveQuestion"],
ul.questions>li.editing .tools ul li[name="cancelQuestion"] {
  display: inline;
}

ul.questions>li.editing .tools ul li[name="editQuestion"],
ul.questions>li.editing .tools ul li[name="deleteQuestion"] {
  display: none;
}

.paginationBox {
  margin-top: 15px;
  text-align: center;
  height: 29px;
}

.profile-photos {
  position: relative;
  margin-bottom: -15px;
}

.profile {
  margin-bottom: 15px;
}

.profile .profile-section:last-child {
  margin-bottom: 0;
}

.profile .profile-section {
  margin-bottom: 20px;
}

.profile .profile-section .profile-section-head h2 {
  font-size: 18px;
  display: inline-block;
  margin-top: 0;
  padding: 1px 0 2px;
  color: #00a4d6;
}

.profile .profile-section .profile-section-view {
  opacity: 1;
  display: block;
}

.profile .profile-section .profile-section-edit {
  opacity: 0;
  display: none;
  position: relative;
  margin: 15px -30px 0 -30px;
  padding: 30px;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  background-color: #fafafa;
}

.profile .profile-section .profile-section-edit form .form-group {
  margin-bottom: 8px;
}

.profile .profile-section .profile-section-edit form .form-group:last-child {
  margin: 0;
}

.profile .profile-section .profile-section-edit:before {
  position: absolute;
  top: -10px;
  margin-left: 25px;
  width: 20px;
  height: 20px;
  content: "";
  border: 1px solid #ededed;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-radius: 100% 0 0 0;
  background-color: #fafafa;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.profile .profile-section.editing .profile-section-view {
  opacity: 0;
  display: none;
}

.profile .profile-section.editing .profile-section-edit {
  opacity: 1;
  display: block;
}

.profile .profile-section.editing .profile-section-edit textarea {
  min-height: 150px;
}

.profile-clean-edit .profile-section-edit {
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid #ededed !important;
  background-color: #fff !important;
}

.profile-clean-edit .profile-section-edit:before {
  background-color: #fff !important;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

ul.savedSearches {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.savedSearches li {
  padding: 5px 0px;
}

ul.savedSearches li a.strong {
  font-weight: 700;
}

ul.searchFields {
  list-style: none;
  padding: 0;
}

ul.searchFields li {
  background-color: #fff;
}

ul.searchFields li .searchFieldHeader {
  display: block;
  padding: 8px 10px;
  color: #00a4d6;
  cursor: pointer;
}

ul.searchFields li .searchFieldBody {
  padding-left: 20px;
  padding-right: 10px;
  display: block;
}

ul.searchFields li .searchFieldBody:last-child {
  padding-bottom: 5px;
}

ul.searchFields li .searchFieldEdit {
  border-left: 2px solid #08A5ED;
  padding-left: 10px;
  padding-right: 10px;
  display: none;
}

ul.searchFields li .searchFieldEdit:last-child {
  padding-bottom: 5px;
}

ul.searchFields li .caret {
  border-top: 4px solid transparent;
  border-left: 4px solid;
  border-right: none;
  border-bottom: 4px solid transparent;
}

ul.searchFields li:hover .searchFieldHeader {
  color: #00a4d6;
  padding-left: 9px;
  border-left: 1px solid #08A5ED;
}

ul.searchFields li.active .searchFieldHeader {
  border-left: 2px solid #08A5ED;
  padding-left: 8px;
  font-weight: 700;
  color: #00a4d6;
}

ul.searchFields li.active .searchFieldBody {
  display: none;
}

ul.searchFields li.active .searchFieldEdit {
  display: block;
}

ul.searchFields li.active .caret {
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-bottom: none;
}

.card-table {
  margin: 0;
}

.card-table tr:first-child td,
.card-table tr:first-child th {
  border-top: 0;
}

.card-tab {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.p_table .p_title {
  width: 100%;
  color: #aaadb2;
}

.p_table .p_value {
  width: auto;
  margin-bottom: 14px;
}

.p_table.inline div {
  position: relative;
}

.p_table.inline div .p_title {
  width: 150px;
}

.p_table.inline div .p_value {
  margin-left: 120px;
  margin-bottom: 0;
}

.p_table.inline div .p_value span {
  font-style: italic;
  color: #aaadb2;
}

.p_table.inline div .p_match {
  width: 18px;
  position: absolute;
  right: 0;
  top: 0;
  color: silver;
}

/************************************** image upload page  ******************************************/
ul.myalbums {
  list-style-type: none;
  padding: 0px;
  text-align: left;
  margin: 0px;
}

ul.myalbums li {
  position: relative;
  display: inline-block;
  margin: 0 18px 18px 0;
  padding: 1px;
  background-color: #f1f1f1;
  border: 1px solid #d4d4d4;
  vertical-align: top;
}

ul.myalbums li a {
  display: block;
  font-size: 16px;
  line-height: 30px;
  text-decoration: none;
}

ul.myalbums li a:hover {
  cursor: pointer;
}

ul.myalbums li .img-container {
  width: 180px;
  height: 180px;
  overflow: hidden;
}

ul.myalbums li .img-container img {
  width: 180px;
  height: 180px;
}

ul.myalbums li .info {
  height: 30px;
  font-size: 14px;
  line-height: 30px;
  padding: 0 8px;
}

ul.myalbums li .actions {
  height: 30px;
  background-color: #fff;
  margin-top: 1px;
}

ul.myalbums li .actions div {
  width: 45px;
  text-align: center;
}

ul.myalbums li .actions div a {
  display: block;
  font-size: 16px;
  line-height: 30px;
  text-decoration: none;
}

ul.myalbums li .actions div a:hover {
  background-color: #f1f2f3;
  cursor: pointer;
  text-decoration: none;
}

ul.myalbums li .actions div a.main {
  color: #3c763d;
}

ul.myalbums li .actions div a.delete {
  color: #a94442;
}

ul.myalbums li .actions div a.privacy {
  color: #eb9316;
}

ul.myalbums li:nth-child(3n) {
  margin-right: 0px;
}

.photo-count,
.album-count {
  margin-bottom: 20px;
  font-size: 14px;
}

ul.myphotos {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  text-align: left;
  /*
	li:nth-child(6n) {
		margin-right: 0px;
	}
*/
}

ul.myphotos li {
  position: relative;
  display: inline-block;
  margin: 0 18px 18px 0;
  background-color: #f1f1f1;
  vertical-align: top;
}

ul.myphotos li .img-container {
  margin: 0 auto;
  width: 134px;
  max-height: 134px;
  overflow: hidden;
}

ul.myphotos li .img-container img {
  width: 100%;
  height: auto;
}

ul.myphotos li .img-container .img-overlay {
  position: absolute;
  top: 0;
  left: 0px;
  color: white;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px;
  width: 100%;
  text-align: center;
}

ul.myphotos li .info {
  height: 30px;
  font-size: 14px;
  line-height: 30px;
  font-style: italic;
  padding: 0 8px;
}

ul.myvideos {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

ul.myvideos li {
  position: relative;
  margin: 0;
}

.vid-container video {
  width: 100% !important;
  height: auto !important;
}

ul.myphotos .actions,
ul.myvideos .actions {
  position: relative;
  padding: 5px;
}

ul.press-images .img-container img {
  width: 134px;
  height: 89px;
  object-fit: contain;
  object-position: center;
}

.photo_box_heading .uploadPhoto {
  font-size: 13px;
  color: #797979;
  cursor: pointer;
}

.photo_box_heading .uploadPhoto:hover {
  color: #000;
}

.profile-left-column {
  width: 300px;
}

.profile-right-column {
  margin-left: 320px;
}

.profile-right-column .username {
  margin: 0;
  margin-left: 15px;
  font-size: 37px;
  line-height: 37px;
  color: #ce3a1e;
}

.corner-ribbon {
  width: 200px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  line-height: 20px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Custom styles */
.corner-ribbon.sticky {
  position: fixed;
}

.corner-ribbon.shadow {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* Different positions */
.corner-ribbon.top-left {
  top: 15px;
  left: -70px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.corner-ribbon.top-right {
  top: 15px;
  right: -70px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left {
  top: auto;
  bottom: 25px;
  left: -50px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right {
  top: auto;
  right: -50px;
  bottom: 25px;
  left: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Colors */
.corner-ribbon.white {
  background: #f0f0f0;
  color: #555;
}

.corner-ribbon.black {
  background: #333;
}

.corner-ribbon.grey {
  background: #999;
}

.corner-ribbon.blue {
  background: #08A5ED;
}

.corner-ribbon.green {
  background: #2c7;
}

.corner-ribbon.turquoise {
  background: #1b9;
}

.corner-ribbon.purple {
  background: #95b;
}

.corner-ribbon.red {
  background: #e43;
}

.corner-ribbon.orange {
  background: gold;
  color: #c97b15;
}

.corner-ribbon.yellow {
  background: #ec0;
}

.user-column {
  vertical-align: top;
  font-size: 12px;
  line-height: 1.5;
}

.user-card {
  width: 100%;
  margin: 0;
  padding: 10px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.user-card:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
}

.user-card.premium-card:before {
  background-color: #df9e13;
}

.user-card:last-child {
  border: 0;
}

.user-card a {
  text-decoration: none;
}

.user-card .profile-image {
  float: left;
  width: 108px;
  height: 108px;
  border-radius: 0;
  border: 0;
}

.user-card .info-container {
  height: 108px;
  margin-left: 108px;
  overflow: hidden;
  margin: 0px;
  display: block;
  padding: 10px 15px;
  vertical-align: top;
  font-size: 18px;
  line-height: 22px;
  color: #777;
  word-wrap: break-word;
  width: auto;
}

.user-card .info-container .username {
  margin: 0;
  margin-bottom: 6px;
  line-height: 1em;
}

.user-card .info-container .username a {
  color: #535a5e;
  text-decoration: none;
  font-size: 0.7em;
}

.user-card .info-container .location {
  font-size: 15px;
  margin-bottom: 4px;
}

.user-card .info-container .tagline {
  font-size: 15px;
  font-style: italic;
}

.user-card .info-container .requests {
  margin-top: 25px;
  font-size: 15px;
}

.user-card .info-container .requests a {
  font-size: 13px;
  font-weight: bold;
}

.user-card .info-container .lastLogin {
  position: absolute;
  right: 15px;
  top: 5px;
  font-size: 11px;
}

.user-card .info-container .compatibility {
  font-size: 11px;
  font-weight: bold;
}

.user-card .info-container .favourite {
  position: absolute;
  right: 15px;
  top: 30px;
  font-size: 15px;
}

.user-card .info-container .invite {
  position: absolute;
  right: 40px;
  top: 30px;
  font-size: 15px;
}

.qabox {
  position: relative;
  width: 100%;
  background-color: #fff;
  min-height: 50px;
}

.qabox .loader,
.qabox .complete {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  text-align: center;
  background-color: #fff;
  font-size: 18px;
  line-height: 20px;
  padding-top: 10px;
}

.qabox .complete {
  display: none;
}

.qabox .question {
  font-size: 15px;
  font-weight: bold;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
}

.qabox .answers {
  margin-bottom: 15px;
  text-align: center;
}

.qabox .qanda-answer,
.qabox .qanda-next,
.qabox .qanda-skip2 {
  margin-left: 5px;
}

.qabox .qanda-reset {
  cursor: pointer;
}

.qabox.display ul.questions {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.qabox.display ul.questions li {
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f2f3;
}

.qabox.display ul.questions li .question {
  font-size: 15px;
  font-weight: bold;
  color: #666;
  text-align: left;
  margin-bottom: 15px;
}

.qabox.display ul.questions li .answer {
  margin-bottom: 15px;
  text-align: left;
  margin-right: 20px;
  font-size: 15px;
}

.qabox.display ul.questions li .choices {
  color: #ccc;
  font-size: 14px;
}

.qabox.display ul.questions li .choices span {
  color: #ec0;
  font-size: 18px;
}

.qabox.display ul.questions li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.qabox.display ul.questions li:last-child .answer {
  margin-bottom: 0;
}

.advmc {
  font-size: 13px;
  text-indent: 5px;
  padding: 0;
  padding-left: 15px;
}

.advmc label {
  font-weight: normal;
}

.advmc input {
  position: absolute;
  left: -6px;
}

ul.advsearches {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

ul.advsearches li {
  margin-bottom: 6px;
}

ul.advsearches li:last-child {
  margin-bottom: 0;
}

.profile-header .tagline {
  position: relative;
  text-align: center;
  height: 67px;
}

.profile-header .tagline .tagline-view span[name="tagline"] {
  font-size: 17px;
  line-height: 67px;
  position: relative;
  margin: 0;
  font-style: italic;
  color: #ffffff;
}

.profile-header .tagline .btn-edit i {
  color: #ca8c04;
}

.profile-header .tagline .btn-edit .btn-txt {
  opacity: 1;
  color: #ca8c04;
}

.profile-header .tagline .tagline-edit {
  display: none;
  width: 100%;
  padding-top: 15px;
  overflow: hidden;
  position: relative;
  border-collapse: separate;
}

.profile-header .tagline .tagline-edit input {
  display: table-cell;
  background: #ffffff;
  /* Old browsers */
  border: 1px solid #e1e2e3;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  color: #333;
  font-style: italic;
  margin: 0px;
  overflow: hidden;
  padding: 0px 14px;
  width: 100%;
  height: 38px;
  line-height: 38px;
  font-size: 18px;
  outline: none;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.profile-header .tagline .tagline-edit span {
  display: table-cell;
  background: #ffffff;
  border: 1px solid #e1e2e3;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border-left: 0;
  color: #333;
  font-style: italic;
  margin: 0px;
  overflow: hidden;
  padding: 0px 14px;
  width: 10%;
  height: 36px;
  line-height: 36px;
  font-size: 18px;
  margin-left: -5px;
  cursor: pointer;
  outline: none;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.profile-header .tagline.editing .tagline-view {
  display: none;
}

.profile-header .tagline.editing .tagline-edit {
  display: table;
}

ul.testimonials {
  list-style-type: none;
  padding: 0;
  margin: 0;
  word-break: break-all;
}

ul.testimonials>li {
  margin: 0;
  padding: 10px 10px;
  border-bottom: 1px solid #d1d1d1;
}

ul.testimonials>li .t-tools {
  margin-top: 5px;
}

ul.testimonials>li .t-tools ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

ul.testimonials>li .t-tools ul li {
  display: inline;
  margin: 0;
  margin-right: 6px;
  padding: 0;
}

ul.testimonials>li .t-tools ul li a {
  text-decoration: none;
  cursor: pointer;
}

ul.testimonials>li .t-tools ul li:last-child {
  margin-right: 0;
}

ul.testimonials>li .t-tools ul li[name="saveQuestion"],
ul.testimonials>li .t-tools ul li[name="cancelQuestion"] {
  display: none;
}

ul.testimonials>li .t-header {
  margin-bottom: 6px;
  color: #ce3a1e;
}

ul.testimonials>li .t-answer-wrapper {
  font-style: italic;
  margin: 0;
}

ul.testimonials>li .t-details {
  font-size: 13px;
  margin-top: 8px;
}

ul.testimonials>li .t-details span {
  color: #ce3a1e;
}

ul.testimonials>li .t-details .t-by {
  margin-right: 5px;
}

ul.testimonials>li:last-child {
  border-bottom: 0;
}

.quicklinks {
  margin-bottom: 15px;
}

.quicklinks a {
  text-decoration: none;
}

.paymentoptions {
  display: none;
}

.sub {
  display: none;
}

.plan {
  position: relative;
  border: 1px solid #08A5ED;
  min-height: 100px;
  background: #fff;
  border-radius: 4px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.plan .head {
  padding: 12px 16px;
  background: #08A5ED;
  color: #fff;
}

.plan .head h1,
.plan .head h2,
.plan .head h3 {
  padding: 0;
  margin: 0;
  font-weight: 500;
  color: #fff;
}

.plan .price {
  margin: 0 auto;
  margin-bottom: 10px;
  width: 80%;
}

.plan .price h3 {
  margin: 15px 0;
  font-size: 62px;
  vertical-align: middle;
  line-height: 1;
}

.plan .price h3 span.symbol {
  font-size: 32px;
  vertical-align: bottom;
  position: relative;
  margin-bottom: 4px;
  display: inline-block;
}

.plan .price h3 span.pm {
  font-size: 22px;
  vertical-align: bottom;
  position: relative;
  margin-bottom: 4px;
  display: inline-block;
}

.plan .price p {
  text-align: center;
  margin-bottom: 10px;
  font-size: 15px;
}

.plan .btn {
  margin-bottom: 15px;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 500;
}

div.selectBox {
  position: relative;
  display: inline-block;
  height: 30px;
  width: 200px;
  background-image:
    url(../img/15xvbd5.png),
    -webkit-linear-gradient(#fff, #fff 20%, #f9f9f9);
  background-position: right center;
  background-repeat: no-repeat;
  background-color: white;
  border: 1px solid #ccc;
  color: #555;
  margin: 0px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 0;
}

div.selectBox span.selectedOption {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0 42px 0 10px;
  line-height: 28px;
  z-index: 1;
}

div.selectBox div.selectOptions {
  position: absolute;
  bottom: 29px;
  left: -1px;
  width: 200px;
  border: 1px solid #ccc;
  border-bottom: 0;
  overflow: hidden;
  background-color: #fff;
  display: none;
}

div.selectBox div.selectOptions span.selectOption a {
  display: block;
  line-height: 20px;
  padding: 5px 10px;
  color: #333;
  text-decoration: none;
}

div.selectBox div.selectOptions span.selectOption a:hover {
  background: #f1f1f1;
}

div.selectBox.selectBox-sm {
  width: 100px;
}

div.selectBox.selectBox-sm div.selectOptions {
  width: 100px;
}

div.selectBox.selectBox-down div.selectOptions {
  top: 29px;
  bottom: auto;
  z-index: 999;
  border-top: 0;
  border-bottom: 1px solid #ccc;
}

/* adjust body when menu is open */
body.slide-active {
  overflow-x: hidden;
}

/*first child of #page-content so it doesn't shift around*/
.no-margin-top {
  margin-top: 0px !important;
}

/*wrap the entire page content but not nav inside this div if not a fixed top, don't add any top padding */
#page-content {
  position: relative;
  padding-top: 70px;
  left: 0;
}

#page-content.slide-active {
  padding-top: 0;
}

.navbar-default {
  background-color: #fff !important;
}

/* put toggle bars on the left :: not using button */
#slide-nav .navbar-toggle {
  cursor: pointer;
  position: relative;
  line-height: 0;
  float: left;
  margin: 0;
  margin-right: 15px;
  width: 30px;
  height: 40px;
  padding: 10px 0 0 0;
  border: 0;
  background: transparent;
}

/* icon bar prettyup - optional */
#slide-nav .navbar-toggle>.icon-bar {
  width: 100%;
  display: block;
  height: 3px;
  margin: 5px 0 0 0;
}

#slide-nav .navbar-toggle.slide-active .icon-bar {
  background: #a4b9be;
}

.navbar-header {
  position: relative;
}

/* un fix the navbar when active so that all the menu items are accessible */
.navbar.navbar-fixed-top.slide-active {
  position: relative;
}

#slide-nav .navbar-nav li span {
  display: none;
}

/* screw writing importants and shit, just stick it in max width since these classes are not shared between sizes */
@media (max-width: 767px) {
  #slide-nav .navbar-nav li span {
    display: inline;
  }

  #slide-nav .container {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
  }

  #slide-nav .navbar-header {
    padding: 0 15px;
  }

  #slide-nav .navbar.slide-active {
    position: absolute;
    width: 80%;
    top: -1px;
    z-index: 1001;
  }

  #slide-nav #slidemenu {
    background: #fff;
    left: -100%;
    width: 80%;
    min-width: 0;
    position: absolute;
    padding-left: 15px;
    z-index: 998;
    top: 0px;
    margin: 0;
  }

  #slide-nav #slidemenu .navbar-nav {
    min-width: 0;
    width: 100%;
    margin: 0;
  }

  #slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
    min-width: 0;
    width: 80%;
    white-space: normal;
  }

  #slide-nav {
    border-top: 0;
  }

  #slide-nav.navbar-inverse #slidemenu {
    background: #333;
  }

  /* this is behind the navigation but the navigation is not inside it so that the navigation is accessible and scrolls*/
  #navbar-height-col {
    position: fixed;
    top: 0;
    height: 100%;
    bottom: 0;
    width: 80%;
    left: -80%;
    background: #fff;
    z-index: 997;
  }

  #navbar-height-col.inverse {
    background: #333;
    z-index: 997;
    border: 0;
  }

  #slide-nav .navbar-form {
    width: 100%;
    margin: 8px 0;
    text-align: center;
    overflow: hidden;
    /*fast clearfixer*/
  }

  #slide-nav .navbar-form .form-control {
    text-align: center;
  }

  #slide-nav .navbar-form .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  #page-content {
    left: 0 !important;
  }

  .navbar.navbar-fixed-top.slide-active {
    position: fixed;
  }

  .navbar-header {
    left: 0 !important;
  }
}

h2.photo_box_title {
  font-size: 18px;
  display: inline-block;
  padding: 1px 0 2px;
  color: #00a4d6;
}

.photo_box {
  margin: 0px -30px 15px -30px;
  position: relative;
  height: 120px;
  background-color: #f9f9f9;
}

.photo_box .photo_box_overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 9999;
  text-align: center;
}

.photo_box .photo_box_overlay .gp {
  position: relative;
  color: #fff;
}

.photo_box .photo_box_overlay .gp a {
  display: block;
  font-size: 18px;
  height: 90px;
  color: #ffd01b;
  margin: 0 auto;
  margin-top: 15px;
  width: 60%;
  padding: 20px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.photo_box .photo_box_overlay .gp a:hover {
  text-decoration: none;
  background-color: black;
}

.photo_box ul.photo_box_slider {
  list-style: none outside none;
  padding: 0;
  margin: 0;
}

.photo_box ul.photo_box_slider li {
  width: 120px;
  height: 120px;
  padding: 0;
  margin: 0;
  text-align: center;
}

.photo_box .photo_box_count {
  position: absolute;
  top: 5px;
  right: 5px;
}

.profile-actions {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.profile-actions li {
  display: block;
  margin-right: 5px;
  padding-right: 5px;
  border-right: 1px solid #fff;
}

.profile-actions li a {
  color: #000;
  cursor: pointer;
}

.profile-data {
  margin-top: 20px;
}

.pro-username {
  font-family: "Lato", sans-serif;
  color: #f7d1cc;
  font-size: 42px;
  line-height: 80px;
  font-weight: 600;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
}

.pro-vip {
  font-size: 12px;
  line-height: 22px;
  color: #ca8c04;
}

.pro-tagline {
  font-size: 17px;
  line-height: 67px;
  position: relative;
  margin: 0;
  text-align: center;
  font-style: italic;
  color: #ffffff;
}

.pro-title {
  font-weight: bold;
  margin-bottom: 4px;
  color: #ffffff;
}

.pro-value {
  color: #ffffff;
}

ul.nav-links {
  list-style: none;
  padding: 0;
  display: block;
}

ul.nav-links li a {
  display: block;
  padding: 8px 20px;
  background-color: #fff;
  color: #00a4d6;
}

ul.nav-links li:hover a {
  padding-left: 19px;
  color: #00a4d6;
  border-left: 1px solid #08A5ED;
}

ul.nav-links li.active a {
  padding-left: 18px;
  font-weight: 700;
  color: #00a4d6;
  border-left: 2px solid #08A5ED;
}

ul.headlines {
  list-style-type: none;
  padding: 0;
}

ul.headlines li {
  margin-bottom: 10px;
}

ul.headlines li p {
  margin-bottom: 0px;
}

.readmore {
  cursor: pointer;
}

.readmore span {
  opacity: 0.5;
  color: #333;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  margin-left: 15px;
}

.readmore:hover span {
  opacity: 1;
}

.snippet {
  margin-top: 10px;
  display: none;
}

blockquote footer:before,
blockquote small:before,
blockquote .small:before {
  content: none;
}

ul.facts {
  list-style-type: none;
  padding: 0;
}

ul.facts li {
  margin-bottom: 0px;
}

ul.faq {
  list-style-type: none;
}

ul.faq li {
  margin-bottom: 15px;
}

ul.faq li strong {
  margin-bottom: 15px;
  display: block;
}

form.toggle .ios-toggle>input:checked+label::before,
.public-private-toggle .ios-toggle>input:checked+label::before,
form.toggle .ios-toggle>input:active+label::before,
.public-private-toggle .ios-toggle>input:active+label::before {
  width: 60%;
  left: 20%;
  top: 30%;
  height: 40%;
  opacity: 0;
}

form.toggle,
.public-private-toggle {
  display: inline-block;
  margin-bottom: 20px;
}

form.toggle span.pl,
.public-private-toggle span.pl {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: normal;
}

form.toggle .ios-toggle,
.public-private-toggle .ios-toggle {
  position: relative;
  display: inline-block;
  width: 1.7em;
  height: 1em;
  margin: auto;
  border-radius: 1em;
  background: #ccc;
  vertical-align: middle;
  margin: 0 5px;
  cursor: pointer;
  white-space: nowrap;
}

form.toggle .ios-toggle>input,
.public-private-toggle .ios-toggle>input {
  appearance: none;
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

form.toggle .ios-toggle>input:checked+label,
.public-private-toggle .ios-toggle>input:checked+label {
  background: #519251;
}

form.toggle .ios-toggle>input:checked+label::after,
.public-private-toggle .ios-toggle>input:checked+label::after {
  right: 0;
  left: 0.7em;
}

form.toggle .ios-toggle>input:active+label::after,
.public-private-toggle .ios-toggle>input:active+label::after {
  right: 0.5em;
  left: 0;
}

form.toggle .ios-toggle>input:active:checked+label::after,
.public-private-toggle .ios-toggle>input:active:checked+label::after {
  right: 0;
  left: 0.5em;
}

form.toggle .ios-toggle>label,
.public-private-toggle .ios-toggle>label {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1em;
  font-size: 11px;
  font-weight: normal;
  text-indent: 30px;
  transition: background 0.125s;
}

form.toggle .ios-toggle>label::before,
form.toggle .ios-toggle>label::after,
.public-private-toggle .ios-toggle>label::before,
.public-private-toggle .ios-toggle>label::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 1em;
  border-radius: inherit;
  transition: all 0.2s;
  font-size: 15px;
}

form.toggle .ios-toggle>label::before,
.public-private-toggle .ios-toggle>label::before {
  background: #ca7474;
  width: 100%;
}

form.toggle .ios-toggle>label::after,
.public-private-toggle .ios-toggle>label::after {
  background: #fff;
  transform: scale(1.1);
  right: 0.7em;
  box-shadow:
    0 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -1em 1em -1em rgba(0, 0, 0, 0.1);
}

.dashboard-button {
  font-size: 15px;
  text-align: center;
  line-height: 1em;
  margin: 0.5em 0;
}

.dashboard-button b {
  white-space: nowrap;
}

.question {
  font-size: 1.5em;
}

.compare-table td:nth-child(2) {
  background-color: rgba(255, 249, 111, 0.24);
}

.compare-table td:nth-child(3) {
  background-color: rgba(255, 249, 111, 0.48);
}

/* ---------------------------------------------------------------------- */
/*	Version 1200px
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/*	Version 1200px
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/*	Version 992px
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/*	Mobile Version 768px
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/*	Mobile Version 600px
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/*	Mobile Version 320px
/* ---------------------------------------------------------------------- */
@media handheld,
only screen and (max-width: 400px) {
  .navbar-brand {
    width: 200px;
  }

  h2 {
    font-size: 22px;
    line-height: 24px;
  }

  p {
    font-size: 14px;
    line-height: 19px;
  }
}

/* SecondWife sign-in design */
.layout:has(.sw-signin)>.navbar,
.layout:has(.sw-signin)>.footer {
  display: none;
}

.layout:has(.sw-signin)>.page {
  padding: 0;
}

.sw-signin {
  min-height: 100vh;
  padding: 0;
  background: #eaf9fc;
  color: #040525;
  font-family: Lato, "Open Sans", Arial, sans-serif;
}

.sw-signin__card {
  width: 100%;
  min-height: 100vh;
  background: #fff;
  box-shadow: 0 8px 28px rgba(21, 81, 102, 0.1);
}

.sw-signin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cfe2f1;
  padding: 24px max(40px, calc((100% - 1280px) / 2));
}

.sw-signin__logo {
  color: #08a5ed;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2.8px;
  line-height: 1;
  text-decoration: none;
}

.sw-signin__logo small {
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -1px;
}

.sw-signin__join {
  border: 2px solid #08A5ED;
  border-radius: 8px;
  color: #009fec;
  font-size: 17px;
  font-weight: 700;
  padding: 10px 24px;
  text-decoration: none;
}

.sw-signin__content {
  min-height: 690px;
  padding: 34px 25px 28px;
  background: linear-gradient(90deg, #fff, #fbfdff 50%, #fff);
}

.sw-signin__heading {
  text-align: center;
}

.sw-signin__heading h1 {
  color: #040525;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -3.1px;
  line-height: 1;
  margin: 0;
}

.sw-signin__heading em {
  color: #09a7ed;
  font-style: normal;
}

.sw-signin__heading p {
  color: #43528c;
  font-size: 26px;
  line-height: 1.1;
  margin: 8px 0 24px;
}

.sw-signin__form-card {
  width: 584px;
  max-width: 100%;
  margin: 25px auto 0;
  border: 1px solid #cbddea;
  border-radius: 9px;
  background: #fff;
  padding: 23px;
}

.sw-signin__field {
  margin-bottom: 15px;
}

.sw-signin__field label {
  color: #060626;
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.sw-signin__field .form-control {
  height: 40px;
  border: 1px solid #c0cede;
  border-radius: 7px;
  box-shadow: none;
  color: #33426e;
}

.sw-signin__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #52628d;
  font-size: 14px;
  margin: 4px 0 20px;
}

.sw-signin__options a,
.sw-signin__new a {
  color: #009fec;
  font-weight: 700;
}

.sw-signin__submit {
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: #1c9e32;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin-top: 1px;
  padding: 13px;
}

.sw-signin__submit:hover {
  background: #15872a;
}

.sw-signin__new {
  color: #52628d;
  font-size: 14px;
  margin: 13px 0 0;
  text-align: center;
}

.sw-signin__error {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 7px;
  color: #664d03;
  margin-bottom: 15px;
  padding: 10px;
}

.sw-signin__footer {
  border-top: 1px solid #cfe2f1;
}

.sw-signin__links {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  max-width: 1280px;
  margin: auto;
  padding: 16px 52px 18px;
}

.sw-signin__links nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sw-signin__links h2 {
  color: #070725;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin: 0 0 3px;
  text-align: left;
}

.sw-signin__links a {
  color: #43528c;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.sw-signin__powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #eff8fc;
  color: #43528c;
  font-size: 14px;
  padding: 9px;
  text-align: center;
}

.sw-signin__powered a {
  color: #08a5ed;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 700px) {
  .sw-signin__header {
    padding: 16px 19px;
  }

  .sw-signin__logo {
    font-size: 29px;
    letter-spacing: -2px;
  }

  .sw-signin__join {
    font-size: 14px;
    padding: 7px 15px;
  }

  .sw-signin__content {
    min-height: 0;
    padding: 20px 19px 22px;
  }

  .sw-signin__heading h1 {
    font-size: 39px;
    letter-spacing: -2.2px;
  }

  .sw-signin__heading p {
    font-size: 18px;
    margin: 5px 0 18px;
  }

  .sw-signin__form-card {
    border: 0;
    margin-top: 17px;
    padding: 0;
  }

  .sw-signin__field {
    margin-bottom: 13px;
  }

  .sw-signin__links {
    gap: 18px;
    padding: 16px 20px;
  }

  .sw-signin__links h2 {
    font-size: 15px;
  }

  .sw-signin__links a {
    font-size: 13px;
  }

  .sw-signin__powered {
    font-size: 13px;
  }

  .sw-signin__powered a {
    font-size: 15px;
  }
}

/* SecondWife signup design */
.layout:has(.sw-signup)>.navbar,
.layout:has(.sw-signup)>.footer {
  display: none;
}

.layout:has(.sw-signup)>.page {
  padding: 0;
}

.sw-signup {
  min-height: 100vh;
  padding: 0;
  background: #eaf9fc;
  color: #040525;
  font-family: Lato, "Open Sans", Arial, sans-serif;
}

.sw-signup__card {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(21, 81, 102, 0.1);
}

.sw-signup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cfe2f1;
  padding: 24px max(40px, calc((100% - 1280px) / 2));
}

.sw-signup__logo {
  color: #08a5ed;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2.8px;
  line-height: 1;
  text-decoration: none;
}

.sw-signup__logo small {
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -1px;
}

.sw-signup__signin {
  border: 2px solid #08A5ED;
  border-radius: 8px;
  color: #009fec;
  font-size: 17px;
  font-weight: 700;
  padding: 10px 24px;
  text-decoration: none;
}

.sw-signup__content {
  min-height: 690px;
  padding: 34px 25px 28px;
  background: linear-gradient(90deg, #fff, #fbfdff 50%, #fff);
}

.sw-signup__heading {
  text-align: center;
}

.sw-signup__heading h1 {
  color: #040525;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -3.1px;
  line-height: 1;
  margin: 0;
}

.sw-signup__heading h1 em {
  color: #09a7ed;
  font-style: normal;
}

.sw-signup__heading p {
  color: #43528c;
  font-size: 26px;
  line-height: 1.1;
  margin: 8px 0;
}

.sw-signup__heading span {
  color: #43528c;
  font-size: 19px;
}

.sw-signup__form-card {
  width: 584px;
  max-width: 100%;
  margin: 25px auto 0;
  border: 1px solid #cbddea;
  border-radius: 9px;
  background: #fff;
  padding: 23px;
}

.sw-signup__field {
  border: 0;
  margin: 0 0 15px;
  padding: 0;
}

.sw-signup__field label,
.sw-signup__field legend {
  color: #060626;
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 6px;
  padding: 0;
}

.sw-signup__field .form-control {
  border: 1px solid #c0cede;
  border-radius: 7px;
  box-shadow: none;
  color: #33426e;
  height: 40px;
}

.sw-signup__field small {
  color: #5c6d99;
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.sw-signup__genders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sw-signup__genders label {
  align-items: center;
  border: 1px solid #c0cede;
  border-radius: 7px;
  color: #354578;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0;
  padding: 11px;
  font-weight: 700;
}

.sw-signup__genders input {
  position: absolute;
  opacity: 0;
}

.sw-signup__genders label:has(input:checked) {
  background: #eefaff;
  border: 2px solid #08A5ED;
  padding: 10px;
}

.sw-signup__genders span {
  color: #09a7ed;
  font-size: 20px;
  line-height: 1;
}

.sw-signup__dob {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.9fr;
  gap: 14px;
}

.sw-signup__dob .form-control {
  appearance: none;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #08A5ED 50%),
    linear-gradient(135deg, #08A5ED 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 17px,
    calc(100% - 11px) 17px;
  background-repeat: no-repeat;
  background-size:
    5px 5px,
    5px 5px;
  border: 1px solid #c0cede;
  border-radius: 7px;
  color: #354578;
  cursor: pointer;
  font-weight: 700;
  height: 42px;
  padding: 0 34px 0 13px;
}

.sw-signup__dob .form-control:focus {
  border-color: #08A5ED;
  box-shadow: 0 0 0 3px rgba(9, 167, 237, 0.14);
  outline: 0;
}

.sw-signup__submit {
  border: 0;
  border-radius: 7px;
  background: #1c9e32;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin-top: 1px;
  padding: 13px;
  width: 100%;
}

.sw-signup__submit:hover {
  background: #15872a;
}

.sw-signup__legal,
.sw-signup__existing {
  color: #52628d;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.sw-signup__legal {
  margin: 15px 0 0;
}

.sw-signup__legal a,
.sw-signup__existing a {
  color: #009fec;
  font-weight: 700;
}

.sw-signup__existing {
  margin: 13px 0 0;
}

.sw-signup__error {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 7px;
  color: #664d03;
  margin-bottom: 15px;
  padding: 10px;
}

.sw-signup__footer {
  border-top: 1px solid #cfe2f1;
}

.sw-signup__links {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  max-width: 1280px;
  margin: auto;
  padding: 16px 52px 18px;
}

.sw-signup__links nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sw-signup__links h2 {
  color: #070725;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin: 0 0 3px;
  text-align: left;
}

.sw-signup__links a {
  color: #43528c;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.sw-signup__powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #eff8fc;
  color: #43528c;
  font-size: 14px;
  padding: 9px;
  text-align: center;
}

.sw-signup__powered a {
  color: #08a5ed;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 700px) {
  .sw-signup__header {
    padding: 16px 19px;
  }

  .sw-signup__logo {
    font-size: 29px;
    letter-spacing: -2px;
  }

  .sw-signup__signin {
    font-size: 14px;
    padding: 7px 15px;
  }

  .sw-signup__content {
    min-height: 0;
    padding: 20px 19px 22px;
  }

  .sw-signup__heading h1 {
    font-size: 39px;
    letter-spacing: -2.2px;
  }

  .sw-signup__heading p {
    font-size: 18px;
    margin: 5px 0;
  }

  .sw-signup__heading span {
    font-size: 14px;
  }

  .sw-signup__form-card {
    border: 0;
    margin-top: 17px;
    padding: 0;
  }

  .sw-signup__field {
    margin-bottom: 13px;
  }

  .sw-signup__genders {
    gap: 10px;
  }

  .sw-signup__genders label {
    gap: 8px;
    padding: 9px;
    font-size: 14px;
  }

  .sw-signup__genders label:has(input:checked) {
    padding: 8px;
  }

  .sw-signup__dob {
    gap: 8px;
  }

  .sw-signup__dob .form-control {
    background-position:
      calc(100% - 15px) 16px,
      calc(100% - 10px) 16px;
    height: 40px;
    padding-left: 10px;
  }

  .sw-signup__links {
    gap: 18px;
    padding: 16px 20px;
  }

  .sw-signup__links h2 {
    font-size: 15px;
  }

  .sw-signup__links a {
    font-size: 13px;
  }

  .sw-signup__powered {
    font-size: 13px;
  }

  .sw-signup__powered a {
    font-size: 15px;
  }
}

/* Simple signup control refinements */
.sw-signup__genders span {
  color: #040525 !important;
}

.sw-signup__genders label:has(input:checked) {
  background: #fff !important;
  border-color: #040525 !important;
  color: #040525 !important;
}

.sw-signup__dob .form-control {
  appearance: auto !important;
  background-image: none !important;
  background-position: initial !important;
  background-size: initial !important;
  color: #354578 !important;
  font-weight: 600 !important;
  padding: 0 12px !important;
}

select.form-control.select {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  background-image: none !important;
  background-position: initial !important;
  background-size: initial !important;
  padding-right: 12px !important;
}

/* Keep sign-in flat and aligned with the simple splash-page design. */
.sw-signin {
  min-height: 100vh;
  background: #fff;
  color: #040525;
  font-family: Lato, "Open Sans", Arial, sans-serif;
}

.sw-signin__card {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  box-shadow: none;
}

.sw-signin__brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sw-signin__brand>span {
  color: #43528c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sw-signin__header {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid #d9e8f2;
  background: #fff;
}

.sw-signin__content {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 42px 25px 46px;
  background: #fff;
}

.sw-signin__content-inner {
  width: min(100%, 540px);
  margin: 0 auto;
}

.sw-signin__eyebrow {
  margin: 0 0 9px !important;
  color: #09a7ed !important;
  font-size: 14px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sw-signin__heading h1 {
  color: #040525;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.sw-signin__heading em {
  color: #09a7ed;
  font-style: normal;
}

.sw-signin__heading p:not(.sw-signin__eyebrow) {
  color: #43528c;
  font-size: 18px;
  line-height: 1.35;
  margin: 10px auto 0;
  max-width: 440px;
  text-align: center;
}

.sw-signin__form-card {
  margin-top: 24px;
  border-color: #d9e8f2;
  border-radius: 7px;
  box-shadow: none;
  padding: 25px;
}

.sw-signin__field {
  margin-bottom: 15px;
}

.sw-signin__field label {
  color: #060626;
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.sw-signin__field .form-control {
  height: 46px;
  border: 1px solid #c0cede;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  color: #33426e;
  padding: 10px 13px;
}

.sw-signin__field .form-control:focus {
  border-color: #08A5ED;
  box-shadow: none;
  outline: 0;
}

.sw-signin__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #52628d;
  font-size: 14px;
  margin: 4px 0 20px;
}

.sw-signin__options label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.sw-signin__options input {
  accent-color: #09a7ed;
}

.sw-signin__options a,
.sw-signin__new a {
  color: #009fec;
  font-weight: 700;
}

.sw-signin__submit {
  background: #08A5ED;
  box-shadow: none;
  transform: none;
}

.sw-signin__submit:hover,
.sw-signin__submit:focus-visible {
  background: #08A5ED;
  box-shadow: none;
  transform: none;
}

.sw-signin__join:hover,
.sw-signin__join:focus-visible {
  background: #fff;
  color: #009fec;
  transform: none;
}

.sw-signin__new {
  color: #52628d;
  font-size: 14px;
  margin: 13px 0 0;
  text-align: center;
}

.sw-signin__note {
  margin: 17px 0 0 !important;
  color: #52628d !important;
  font-size: 14px !important;
  font-weight: 700;
  text-align: center;
}

.sw-signin__note span {
  color: #09a7ed;
  padding: 0 5px;
}

.sw-signin__footer {
  margin-top: auto;
  border-top: 1px solid #d9e8f2;
  background: #fff;
}

.sw-signin__links {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  align-items: start;
  gap: 40px;
  max-width: 1050px;
  margin: auto;
  padding: 22px 0;
}

.sw-signin__links nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sw-signin__links h2 {
  color: #070725;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin: 0 0 3px;
  text-align: left;
}

.sw-signin__links a {
  color: #43528c;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.sw-signin__links a:hover,
.sw-signin__links a:focus-visible {
  color: #009fec;
  text-decoration: underline;
}

.sw-signin__footer-logo {
  align-self: start;
  color: #08a5ed !important;
  font-size: 28px !important;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1;
  text-decoration: none;
}

.sw-signin__footer-logo small {
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -0.7px;
}

.sw-signin__powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #eff8fc;
  color: #43528c;
  font-size: 14px;
  padding: 9px;
  text-align: center;
}

.sw-signin__powered a {
  color: #08a5ed;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 700px) {
  .sw-signin__header {
    width: auto;
    margin: 0;
    padding: 16px 19px;
  }

  .sw-signin__brand>span {
    font-size: 11px;
  }

  .sw-signin__content {
    min-height: 0;
    padding: 30px 19px 34px;
  }

  .sw-signin__heading h1 {
    font-size: 38px;
  }

  .sw-signin__form-card {
    border: 1px solid #d9e8f2;
    padding: 20px;
  }

  .sw-signin__links {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 18px 20px;
  }

  .sw-signin__footer-logo {
    grid-column: 1/-1;
  }

  .sw-signin__options {
    align-items: flex-start;
    gap: 10px;
  }

  .sw-signin__options a {
    text-align: right;
  }

  .sw-signin__powered {
    font-size: 13px;
  }

  .sw-signin__powered a {
    font-size: 15px;
  }
}

/* Sign-in uses the same visual language as the splash page. */
.sw-signin,
.sw-signin__field .form-control,
.sw-signin__options,
.sw-signin__new,
.sw-signin__note,
.sw-signin__links a,
.sw-signin__powered {
  font-family: "Roboto Condensed", Arial, sans-serif;
}

.sw-signin__header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid #cadff0;
}

.sw-signin__logo,
.sw-signin__footer-logo,
.sw-signin__heading h1,
.sw-signin__links h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
}

.sw-signin__logo {
  color: #040525;
  font-size: clamp(31px, 3.25vw, 45px);
  font-weight: 700;
  letter-spacing: -1.4px;
}

.sw-signin__logo small {
  color: #08a5ed;
  font: inherit;
  letter-spacing: inherit;
}

.sw-signin__brand>span {
  color: #43528c;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.sw-signin__join {
  min-width: 102px;
  padding: 9px 16px;
  border: 1px solid #08A5ED;
  border-radius: 5px;
  color: #008fe0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.sw-signin__content {
  display: grid;
  flex: 1;
  min-height: 540px;
  padding: 42px 24px;
  background: #fff;
  place-items: center;
}

.sw-signin__content-inner {
  width: min(100%, 520px);
}

.sw-signin__eyebrow {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: 600;
}

.sw-signin__heading h1 {
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -1px;
}

.sw-signin__heading p:not(.sw-signin__eyebrow) {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
}

.sw-signin__form-card {
  border: 1px solid #d5e1eb;
  border-radius: 8px;
  padding: 24px;
}

.sw-signin__field label {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: 600;
}

.sw-signin__field .form-control {
  border-color: #d5e1eb;
  border-radius: 6px;
}

.sw-signin__submit {
  border-radius: 8px;
  background: #08A5ED;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.sw-signin__submit:hover,
.sw-signin__submit:focus-visible {
  background: #08A5ED;
}

.sw-signin__options a,
.sw-signin__new a {
  color: #078fe4;
  font-weight: 600;
}

.sw-signin__note {
  font-weight: 400;
}

.sw-signin__note span {
  color: #5f6067;
}

.sw-signin__footer {
  border-top-color: #d5e1eb;
}

.sw-signin__links {
  box-sizing: border-box;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  padding: 28px 0;
}

.sw-signin__footer-logo {
  color: #040525 !important;
  font-size: 32px !important;
  font-weight: 700;
  letter-spacing: -1.8px;
}

.sw-signin__footer-logo small {
  color: #08a5ed;
}

.sw-signin__links h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

.sw-signin__links a {
  font-size: 16px;
}

.sw-signin__powered {
  flex-direction: row;
  justify-content: space-between;
  padding: 13px max(24px, calc((100% - 1200px) / 2)) 12px;
  border-top: 1px solid #d5e1eb;
  background: #fff;
  color: #43528c;
  text-align: left;
}

.sw-signin__powered a {
  color: #43528c;
  font-size: inherit;
  font-weight: 400;
}

.sw-signin__links .sw-signin__footer-logo:hover,
.sw-signin__links .sw-signin__footer-logo:focus-visible {
  color: #040525 !important;
  text-decoration: none;
}

.sw-signin__links .sw-signin__footer-logo:hover small,
.sw-signin__links .sw-signin__footer-logo:focus-visible small {
  color: #08a5ed;
}

.sw-signin__logo:hover,
.sw-signin__logo:focus-visible {
  color: #040525;
  text-decoration: none;
}

.sw-signin__logo:hover small,
.sw-signin__logo:focus-visible small {
  color: #08a5ed;
}

/* Signup uses the same clean layout and typography as the SecondWife sign-in page. */
.sw-signup,
.sw-signup__field .form-control,
.sw-signup__genders,
.sw-signup__legal,
.sw-signup__existing,
.sw-signup__links a,
.sw-signup__powered {
  font-family: "Roboto Condensed", Arial, sans-serif;
}

.sw-signup {
  min-height: 100vh;
  padding: 0;
  background: #fff;
  color: #040525;
}

.sw-signup__card {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  box-shadow: none;
}

.sw-signup__header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid #cadff0;
}

.sw-signup__logo,
.sw-signup__footer-logo,
.sw-signup__heading h1,
.sw-signup__links h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
}

.sw-signup__logo {
  color: #040525;
  font-size: clamp(31px, 3.25vw, 45px);
  font-weight: 700;
  letter-spacing: -1.4px;
}

.sw-signup__logo small {
  color: #08a5ed;
  font: inherit;
  letter-spacing: inherit;
}

.sw-signup__signin {
  min-width: 102px;
  padding: 9px 16px;
  border: 1px solid #08A5ED;
  border-radius: 5px;
  color: #008fe0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.sw-signup__signin:hover,
.sw-signup__signin:focus-visible {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
  text-decoration: none;
}

.sw-signup__content {
  display: grid;
  flex: 1;
  min-height: 650px;
  padding: 42px 24px;
  background: #fff;
  place-items: center;
}

.sw-signup__content-inner {
  width: min(100%, 520px);
}

.sw-signup__heading {
  text-align: center;
}

.sw-signup__eyebrow {
  margin: 0 0 4px;
  color: #008fe0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.sw-signup__heading h1 {
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 0.95;
}

.sw-signup__heading h1 em {
  color: #08a5ed;
  font-style: normal;
}

.sw-signup__heading p {
  margin: 9px 0 0;
  color: #43528c;
  font-size: 17px;
  line-height: 1.3;
}

.sw-signup__form-card {
  box-sizing: border-box;
  width: 100%;
  margin: 24px auto 0;
  border: 1px solid #d5e1eb;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.sw-signup__field {
  margin: 0 0 15px;
}

.sw-signup__field label,
.sw-signup__field legend {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.sw-signup__field .form-control,
.sw-signup__dob .form-control {
  border-color: #d5e1eb;
  border-radius: 5px;
  color: #1e315d;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  height: 42px;
}

.sw-signup__field .form-control:focus {
  border-color: #08A5ED;
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.13);
  outline: 0;
}

.sw-signup__field small {
  color: #5c6d99;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 13px;
}

.sw-signup__genders {
  gap: 10px;
}

.sw-signup__genders label {
  border-color: #d5e1eb;
  border-radius: 5px;
  color: #1e315d;
  font-size: 16px;
  font-weight: 500;
  padding: 10px;
}

.sw-signup__genders label:has(input:checked) {
  background: #fff !important;
  border: 2px solid #040525 !important;
  color: #040525 !important;
  padding: 9px;
}

.sw-signup__genders span {
  color: #040525 !important;
}

.sw-signup__dob {
  gap: 10px;
}

.sw-signup__dob .form-control {
  border-color: #d5e1eb;
  box-shadow: none;
  color: #1e315d !important;
  font-weight: 400 !important;
}

.sw-signup__submit {
  border-radius: 5px;
  background: #08A5ED;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 12px;
}

.sw-signup__submit:hover,
.sw-signup__submit:focus-visible {
  background: #08A5ED;
}

.sw-signup__legal,
.sw-signup__existing {
  color: #52628d;
  font-size: 13px;
}

.sw-signup__legal a,
.sw-signup__existing a {
  color: #008fe0;
  font-weight: 600;
}

.sw-signup__error {
  border-radius: 5px;
  font-family: "Roboto Condensed", Arial, sans-serif;
}

.sw-signup__footer {
  margin-top: auto;
  border-top: 1px solid #d5e1eb;
  background: #fff;
}

.sw-signup__links {
  box-sizing: border-box;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  padding: 28px 0;
}

.sw-signup__links nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sw-signup__footer-logo {
  align-self: start;
  color: #040525 !important;
  font-size: 32px !important;
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1;
  text-decoration: none;
}

.sw-signup__footer-logo small {
  color: #08a5ed;
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -0.7px;
}

.sw-signup__links h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

.sw-signup__links a {
  color: #43528c;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

.sw-signup__links a:hover,
.sw-signup__links a:focus-visible {
  color: #009fec;
  text-decoration: underline;
}

.sw-signup__powered {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #fff;
  border-top: 1px solid #d5e1eb;
  color: #43528c;
  font-size: 14px;
  padding: 13px max(24px, calc((100% - 1200px) / 2)) 12px;
  text-align: left;
}

.sw-signup__powered a {
  color: #43528c;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: inherit;
  font-weight: 400;
}

.sw-signup__logo:hover,
.sw-signup__logo:focus-visible,
.sw-signup__footer-logo:hover,
.sw-signup__footer-logo:focus-visible {
  color: #040525;
  text-decoration: none;
}

.sw-signup__logo:hover small,
.sw-signup__logo:focus-visible small,
.sw-signup__footer-logo:hover small,
.sw-signup__footer-logo:focus-visible small {
  color: #08a5ed;
}

.sw-signup__links .sw-signup__footer-logo:hover,
.sw-signup__links .sw-signup__footer-logo:focus-visible {
  color: #040525 !important;
  text-decoration: none;
}

.sw-signup__links .sw-signup__footer-logo:hover small,
.sw-signup__links .sw-signup__footer-logo:focus-visible small {
  color: #08a5ed;
}

@media (max-width: 800px) {
  .sw-signup__header {
    min-height: 72px;
    padding: 0 20px;
  }

  .sw-signup__signin {
    min-width: auto;
    font-size: 15px;
    padding: 8px 14px;
  }

  .sw-signup__content {
    display: block;
    flex: 0;
    min-height: 0;
    padding: 32px 20px;
  }

  .sw-signup__content-inner {
    width: 100%;
  }

  .sw-signup__heading h1 {
    font-size: 42px;
  }

  .sw-signup__form-card {
    margin-top: 22px;
    padding: 20px;
  }

  .sw-signup__links {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    width: calc(100% - 40px);
    padding: 28px 0 22px;
    text-align: center;
  }

  .sw-signup__footer-logo {
    grid-column: 1/-1;
    justify-self: center;
  }

  .sw-signup__links nav {
    align-items: center;
  }

  .sw-signup__powered {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 20px 18px;
    font-size: 13px;
    text-align: center;
  }
}

@media (max-width: 800px) {
  .sw-signin__header {
    min-height: 72px;
    padding: 0 20px;
  }

  .sw-signin__logo {
    font-size: 31px;
  }

  .sw-signin__join {
    min-width: 76px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .sw-signin__content {
    display: block;
    flex: 0;
    min-height: 0;
    padding: 32px 20px;
  }

  .sw-signin__form-card {
    padding: 20px;
  }

  .sw-signin__links {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    width: calc(100% - 40px);
    padding: 28px 0 22px;
    text-align: center;
  }

  .sw-signin__footer-logo {
    grid-column: 1/-1;
    justify-self: center;
  }

  .sw-signin__links nav {
    align-items: center;
  }

  .sw-signin__powered {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 20px 18px;
    font-size: 13px;
    text-align: center;
  }
}

/* Shared compact public footer link bar. */
.sw-signin__links,
.sw-signup__links {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
  padding: 22px 0;
}

.sw-signin__links nav,
.sw-signup__links nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.sw-signin__links nav a,
.sw-signup__links nav a {
  padding: 0 14px;
  border-right: 1px solid #8da0b8;
  color: #43528c;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}

.sw-signin__links nav a:last-child,
.sw-signup__links nav a:last-child {
  border-right: 0;
}

.sw-signin__links nav a:hover,
.sw-signin__links nav a:focus-visible,
.sw-signup__links nav a:hover,
.sw-signup__links nav a:focus-visible {
  color: #008fe0;
  text-decoration: none;
}

@media (max-width: 800px) {

  .sw-signin__links,
  .sw-signup__links {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
    text-align: center;
  }

  .sw-signin__footer-logo,
  .sw-signup__footer-logo {
    grid-column: auto;
  }

  .sw-signin__links nav,
  .sw-signup__links nav {
    justify-content: center;
    row-gap: 10px;
  }

  .sw-signin__links nav a,
  .sw-signup__links nav a {
    padding: 0 9px;
    font-size: 13px;
  }
}

/* Exact footer composition: centred legal links, account deletion below, then copyright. */
.sw-signin__footer,
.sw-signup__footer {
  margin-top: auto;
  border-top: 0;
  background: linear-gradient(105deg, #dff7ff, #a9daf2);
}

.sw-signin__links,
.sw-signup__links {
  display: block;
  width: 100%;
  max-width: none;
  padding: 27px 20px 17px;
  text-align: center;
}

.sw-signin__footer-logo,
.sw-signup__footer-logo {
  display: none;
}

.sw-signin__links nav,
.sw-signup__links nav {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.sw-signin__links nav a,
.sw-signup__links nav a {
  padding: 0 15px;
  border-right: 1px solid rgba(4, 5, 37, 0.45);
  color: #040525;
  font-size: 16px;
  line-height: 1.1;
}

.sw-signin__links nav a:last-child,
.sw-signup__links nav a:last-child {
  flex-basis: 100%;
  margin-top: 11px;
  border-right: 0;
}

.sw-signin__links nav a:hover,
.sw-signin__links nav a:focus-visible,
.sw-signup__links nav a:hover,
.sw-signup__links nav a:focus-visible {
  color: #0079c4;
  text-decoration: none;
}

.sw-signin__powered,
.sw-signup__powered {
  display: block;
  padding: 10px 20px 24px;
  border: 0;
  background: transparent;
  color: #040525;
  font-size: 16px;
  text-align: center;
}

@media (max-width: 800px) {

  .sw-signin__links,
  .sw-signup__links {
    padding: 24px 16px 15px;
  }

  .sw-signin__links nav a,
  .sw-signup__links nav a {
    padding: 0 9px;
    font-size: 14px;
  }

  .sw-signin__powered,
  .sw-signup__powered {
    padding: 10px 16px 20px;
    font-size: 14px;
  }
}

/* Sign-in uses the exact same SecondWife design tokens as the splash page. */
.sw-signin {
  min-height: 100vh;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-signin__card {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--sw-surface);
  box-shadow: none;
}

.sw-signin__header {
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 1024px) / 2));
  border-bottom: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-signin__logo,
.sw-signin__heading h1 {
  font-family: var(--sw-font-display);
}

.sw-signin__logo {
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
}

.sw-signin__logo small {
  color: var(--sw-sky);
}

.sw-signin__join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 92px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  color: var(--sw-blue);
  font-family: var(--sw-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.sw-signin__join:hover,
.sw-signin__join:focus-visible {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  color: #fff;
  text-decoration: none;
}

.sw-signin__content {
  min-height: 0;
  padding: 52px 24px 56px;
  background: var(--sw-surface);
}

.sw-signin__content-inner {
  width: min(100%, 500px);
}

.sw-signin__eyebrow {
  color: var(--sw-blue);
  font-family: var(--sw-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.sw-signin__heading h1 {
  color: var(--sw-navy);
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
}

.sw-signin__heading h1 em {
  color: var(--sw-sky);
  font-style: normal;
}

.sw-signin__heading p:not(.sw-signin__eyebrow) {
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 18px;
}

.sw-signin__form-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  background: var(--sw-surface);
  padding: 24px;
}

.sw-signin__field label {
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-weight: 600;
}

.sw-signin__field .form-control {
  border-color: var(--sw-border);
  border-radius: 5px;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-signin__field .form-control:focus {
  border-color: var(--sw-sky);
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.13);
  outline: 0;
}

.sw-signin__submit {
  border-radius: 5px;
  background: var(--sw-blue);
  font-family: var(--sw-font-body);
  font-size: 18px;
  font-weight: 600;
}

.sw-signin__submit:hover,
.sw-signin__submit:focus-visible {
  background: var(--sw-sky);
}

.sw-signin__options a,
.sw-signin__new a {
  color: var(--sw-blue);
  font-weight: 600;
}

.sw-signin__footer {
  margin-top: auto;
  border-top: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-signin__links {
  display: block;
  width: 100%;
  max-width: none;
  padding: 14px 20px 10px;
  background: var(--sw-surface);
  text-align: center;
}

.sw-signin__footer-logo {
  display: none;
}

.sw-signin__links nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: none;
  margin: 0 auto;
}

.sw-signin__links nav a {
  padding: 0 10px;
  border-right: 1px solid #8da0b8;
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.sw-signin__links nav a:last-child {
  flex-basis: auto;
  margin-top: 0;
  border-right: 0;
}

.sw-signin__links nav a:hover,
.sw-signin__links nav a:focus-visible {
  color: var(--sw-blue);
  text-decoration: none;
}

.sw-signin__powered {
  display: block;
  padding: 0 20px 13px;
  border: 0;
  background: var(--sw-surface);
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 800px) {
  .sw-signin__header {
    min-height: 68px;
    padding: 0 20px;
  }

  .sw-signin__logo {
    font-size: 30px;
  }

  .sw-signin__join {
    min-width: 74px;
    min-height: auto;
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-signin__content {
    display: grid;
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 28px 20px;
    place-items: center;
  }

  .sw-signin__content-inner {
    width: min(100%, 500px);
    min-width: 0;
  }

  .sw-signin__heading h1 {
    font-size: 42px;
  }

  .sw-signin__form-card {
    box-sizing: border-box;
    max-width: 100%;
    padding: 20px;
  }

  .sw-signin__links {
    padding: 18px 16px 9px;
  }

  .sw-signin__links nav {
    row-gap: 9px;
  }

  .sw-signin__links nav a {
    padding: 0 8px;
    font-size: 13px;
  }

  .sw-signin__powered {
    padding: 0 16px 16px;
    font-size: 12px;
  }
}

/* Signup shares the same splash/sign-in system while preserving its longer form. */
.sw-signup {
  min-height: 100vh;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-signup__card {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--sw-surface);
  box-shadow: none;
}

.sw-signup__header {
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 1024px) / 2));
  border-bottom: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-signup__logo,
.sw-signup__heading h1 {
  font-family: var(--sw-font-display);
}

.sw-signup__logo {
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
}

.sw-signup__logo small {
  color: var(--sw-sky);
}

.sw-signup__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 92px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  color: var(--sw-blue);
  font-family: var(--sw-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.sw-signup__signin:hover,
.sw-signup__signin:focus-visible {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  color: #fff;
  text-decoration: none;
}

.sw-signup__content {
  display: grid;
  flex: 1;
  min-height: 0;
  padding: 48px 24px;
  place-items: center;
}

.sw-signup__content-inner {
  width: min(100%, 500px);
}

.sw-signup__eyebrow {
  color: #09a7ed !important;
  font-family: var(--sw-font-body);
  font-weight: 600;
}

.sw-signup__heading h1 {
  color: var(--sw-navy);
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 700;
}

.sw-signup__heading h1 em {
  color: var(--sw-sky);
}

.sw-signup__heading p {
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
}

.sw-signup__form-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border-color: var(--sw-border);
  border-radius: 8px;
  padding: 24px;
}

.sw-signup__field label,
.sw-signup__field legend {
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-weight: 600;
}

.sw-signup__field .form-control,
.sw-signup__dob .form-control {
  border-color: var(--sw-border);
  border-radius: 5px;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-signup__field .form-control:focus,
.sw-signup__dob .form-control:focus {
  border-color: var(--sw-sky);
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.13);
  outline: 0;
}

.sw-signup__genders label {
  border-color: var(--sw-border);
  color: var(--sw-navy);
}

.sw-signup__genders label:has(input:checked) {
  border-color: var(--sw-navy) !important;
}

.sw-signup__submit {
  border-radius: 5px;
  background: var(--sw-blue);
  font-family: var(--sw-font-body);
  font-size: 18px;
  font-weight: 600;
}

.sw-signup__submit:hover,
.sw-signup__submit:focus-visible {
  background: var(--sw-sky);
}

.sw-signup__legal a,
.sw-signup__existing a {
  color: var(--sw-blue);
}

.sw-signup__footer {
  margin-top: auto;
  border-top: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-signup__links {
  display: block;
  width: 100%;
  max-width: none;
  padding: 14px 20px 10px;
  background: var(--sw-surface);
  text-align: center;
}

.sw-signup__footer-logo {
  display: none;
}

.sw-signup__links nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: none;
  margin: 0 auto;
}

.sw-signup__links nav a {
  padding: 0 10px;
  border-right: 1px solid #8da0b8;
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.sw-signup__links nav a:last-child {
  flex-basis: auto;
  margin-top: 0;
  border-right: 0;
}

.sw-signup__links nav a:hover,
.sw-signup__links nav a:focus-visible {
  color: var(--sw-blue);
  text-decoration: none;
}

.sw-signup__powered {
  display: block;
  padding: 0 20px 13px;
  border: 0;
  background: var(--sw-surface);
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 800px) {
  .sw-signup__header {
    min-height: 68px;
    padding: 0 20px;
  }

  .sw-signup__logo {
    font-size: 30px;
  }

  .sw-signup__signin {
    min-width: 74px;
    min-height: auto;
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-signup__content {
    display: block;
    min-width: 0;
    padding: 32px 20px;
  }

  .sw-signup__content-inner {
    width: 100%;
    min-width: 0;
  }

  .sw-signup__heading h1 {
    font-size: 42px;
  }

  .sw-signup__form-card {
    box-sizing: border-box;
    max-width: 100%;
    padding: 20px;
  }

  .sw-signup__links {
    padding: 18px 16px 9px;
  }

  .sw-signup__links nav {
    row-gap: 9px;
  }

  .sw-signup__links nav a {
    padding: 0 8px;
    font-size: 13px;
  }

  .sw-signup__powered {
    padding: 0 16px 16px;
    font-size: 12px;
  }
}

/* About page follows the same public SecondWife design system. */
body:has(.sw-about) .layout>.navbar,
body:has(.sw-about) .layout>.footer {
  display: none;
}

body:has(.sw-about) .layout>.page {
  padding: 0;
}

.sw-about {
  min-height: 100vh;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-about__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 1024px) / 2));
  border-bottom: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-about__logo,
.sw-about__hero h1,
.sw-about__article h2,
.sw-about__article h3 {
  font-family: var(--sw-font-display);
}

.sw-about__logo {
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
  text-decoration: none;
}

.sw-about__logo small {
  color: var(--sw-sky);
  font: inherit;
  letter-spacing: inherit;
}

.sw-about__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 92px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  color: var(--sw-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.sw-about__signin:hover,
.sw-about__signin:focus-visible {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  color: #fff;
  text-decoration: none;
}

.sw-about__hero {
  box-sizing: border-box;
  padding: 28px 24px;
  background: var(--sw-surface);
}

.sw-about__hero>div {
  width: min(100%, 1024px);
  margin: 0 auto;
}

.sw-about__hero h1 {
  margin: 0;
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1;
}

.sw-about__content {
  box-sizing: border-box;
  width: min(100% - 48px, 1024px);
  margin: 0 auto;
  padding: 0 0 40px;
}

.sw-about__article {
  box-sizing: border-box;
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  background: var(--sw-surface);
  padding: clamp(24px, 4vw, 48px);
  font-size: 17px;
  line-height: 1.62;
}

.sw-about__article h2 {
  margin: 34px 0 10px;
  color: var(--sw-navy);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.sw-about__article h3 {
  margin: 34px 0 10px;
  color: var(--sw-navy);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.sw-about__article h2:first-child {
  margin-top: 0;
}

.sw-about__article h3:first-child {
  margin-top: 0;
}

.sw-about__article p {
  margin: 0 0 15px;
  color: var(--sw-muted);
}

.sw-about__article a {
  color: var(--sw-blue);
  font-weight: 600;
}

.sw-about__article ul,
.sw-about__article ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--sw-muted);
}

.sw-about__article li {
  margin: 5px 0;
}

.sw-about__article blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--sw-sky);
  border-radius: 0 7px 7px 0;
  background: var(--sw-soft);
}

.sw-about__article blockquote p {
  margin: 0 0 8px;
  color: var(--sw-navy);
}

.sw-about__article blockquote .source {
  margin: 0;
  color: var(--sw-muted);
  font-weight: 600;
}

.sw-about__article .quote {
  display: none;
}

.sw-about__article address {
  margin: 0 0 15px;
  color: var(--sw-muted);
  font-style: normal;
  line-height: 1.62;
}

.sw-about__footer {
  padding: 14px 20px 13px;
  border-top: 1px solid var(--sw-border);
  background: var(--sw-surface);
  color: var(--sw-muted);
  font-size: 13px;
  text-align: center;
}

.sw-about__footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}

.sw-about__footer nav a {
  padding: 0 10px;
  border-right: 1px solid #8da0b8;
  color: var(--sw-muted);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.sw-about__footer nav a:last-child {
  border-right: 0;
}

.sw-about__footer nav a:hover,
.sw-about__footer nav a:focus-visible {
  color: var(--sw-blue);
}

.sw-about__footer p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 800px) {
  .sw-about__header {
    min-height: 68px;
    padding: 0 20px;
  }

  .sw-about__logo {
    font-size: 30px;
  }

  .sw-about__signin {
    min-width: 74px;
    min-height: auto;
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-about__content {
    width: calc(100% - 40px);
    padding: 0 0 36px;
  }

  .sw-about__article {
    padding: 22px 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  .sw-about__article h2 {
    margin-top: 29px;
    font-size: 28px;
  }

  .sw-about__article h3 {
    margin-top: 29px;
    font-size: 28px;
  }

  .sw-about__article blockquote {
    padding: 17px 18px;
  }

  .sw-about__footer {
    padding: 14px 16px;
  }

  .sw-about__footer nav {
    row-gap: 9px;
  }

  .sw-about__footer nav a {
    padding: 0 8px;
    font-size: 13px;
  }
}

/* Child Protection uses the same simple public-page design as About. */
body:has(.sw-policy) .layout>.navbar,
body:has(.sw-policy) .layout>.footer {
  display: none;
}

body:has(.sw-policy) .layout>.page {
  padding: 0;
}

.sw-policy {
  min-height: 100vh;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-policy__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 1024px) / 2));
  border-bottom: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-policy__logo,
.sw-policy__hero h1,
.sw-policy__article h4 {
  font-family: var(--sw-font-display);
}

.sw-policy__logo {
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
  text-decoration: none;
}

.sw-policy__logo small {
  color: var(--sw-sky);
  font: inherit;
  letter-spacing: inherit;
}

.sw-policy__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 92px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  color: var(--sw-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.sw-policy__signin:hover,
.sw-policy__signin:focus-visible {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  color: #fff;
  text-decoration: none;
}

.sw-policy__hero {
  box-sizing: border-box;
  padding: 28px 24px;
  background: var(--sw-surface);
}

.sw-policy__hero>div {
  width: min(100%, 1024px);
  margin: 0 auto;
}

.sw-policy__hero h1 {
  margin: 0;
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1;
}

.sw-policy__content {
  box-sizing: border-box;
  width: min(100% - 48px, 1024px);
  margin: 0 auto;
  padding: 0 0 40px;
}

.sw-policy__article {
  box-sizing: border-box;
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  background: var(--sw-surface);
  padding: clamp(24px, 4vw, 48px);
  color: var(--sw-muted);
  font-size: 17px;
  line-height: 1.62;
}

.sw-policy__article h4 {
  margin: 34px 0 10px;
  color: var(--sw-navy);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.sw-policy__article h4:first-child {
  margin-top: 0;
}

.sw-policy__article p {
  margin: 0 0 15px;
  color: var(--sw-muted);
}

.sw-policy__article p.text-dark {
  color: var(--sw-muted) !important;
}

.sw-policy__article strong,
.sw-about__article strong {
  color: var(--sw-navy);
  font-weight: 600;
}

.sw-policy__article a {
  color: var(--sw-blue);
  font-weight: 600;
}

.sw-policy__article ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.sw-policy__article li {
  margin: 5px 0;
}

.sw-policy__article hr {
  margin: 25px 0;
  border: 0;
  border-top: 1px solid var(--sw-border);
}

.sw-policy__footer {
  padding: 14px 20px 13px;
  border-top: 1px solid var(--sw-border);
  background: var(--sw-surface);
  color: var(--sw-muted);
  font-size: 13px;
  text-align: center;
}

.sw-policy__footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}

.sw-policy__footer nav a {
  padding: 0 10px;
  border-right: 1px solid #8da0b8;
  color: var(--sw-muted);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.sw-policy__footer nav a:last-child {
  border-right: 0;
}

.sw-policy__footer nav a:hover,
.sw-policy__footer nav a:focus-visible {
  color: var(--sw-blue);
}

.sw-policy__footer p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 800px) {
  .sw-policy__header {
    min-height: 68px;
    padding: 0 20px;
  }

  .sw-policy__logo {
    font-size: 30px;
  }

  .sw-policy__signin {
    min-width: 74px;
    min-height: auto;
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-policy__content {
    width: calc(100% - 40px);
    padding: 0 0 36px;
  }

  .sw-policy__article {
    padding: 22px 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  .sw-policy__article h4 {
    margin-top: 29px;
    font-size: 28px;
  }

  .sw-policy__footer {
    padding: 14px 16px;
  }

  .sw-policy__footer nav {
    row-gap: 9px;
  }

  .sw-policy__footer nav a {
    padding: 0 8px;
    font-size: 13px;
  }
}

/* Contact follows the same clear, simple public-page system as About and Child Protection. */
body:has(.sw-contact) .layout>.navbar,
body:has(.sw-contact) .layout>.footer {
  display: none;
}

body:has(.sw-contact) .layout>.page {
  padding: 0;
}

.sw-contact {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-contact__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 1024px) / 2));
  border-bottom: 1px solid var(--sw-border);
  background: var(--sw-surface);
}

.sw-contact__logo,
.sw-contact__hero h1,
.sw-contact__intro h2 {
  font-family: var(--sw-font-display);
}

.sw-contact__logo {
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
  text-decoration: none;
}

.sw-contact__logo small {
  color: var(--sw-sky);
  font: inherit;
  letter-spacing: inherit;
}

.sw-contact__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 92px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  color: var(--sw-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.sw-contact__signin:hover,
.sw-contact__signin:focus-visible {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  color: #fff;
  text-decoration: none;
}

.sw-contact__hero {
  box-sizing: border-box;
  padding: 28px 24px;
  background: var(--sw-surface);
}

.sw-contact__hero>div {
  width: min(100%, 1024px);
  margin: 0 auto;
}

.sw-contact__hero h1 {
  margin: 0;
  color: var(--sw-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1;
}

.sw-contact__content {
  box-sizing: border-box;
  flex: 1;
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 0 0 64px;
}

.sw-contact__card {
  box-sizing: border-box;
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  background: var(--sw-surface);
  padding: clamp(24px, 4vw, 44px);
}

.sw-contact__intro {
  margin: 0 0 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--sw-border);
  text-align: center;
}

.sw-contact__intro p {
  margin: 0 0 12px;
  color: var(--sw-muted);
  font-size: 17px;
  line-height: 1.55;
}

.sw-contact__email {
  color: var(--sw-blue);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
}

.sw-contact__email:hover,
.sw-contact__email:focus-visible {
  color: var(--sw-blue-dark);
  text-decoration: underline;
}

.sw-contact__form {
  min-width: 0;
}

.sw-contact__field {
  margin: 0 0 16px;
}

.sw-contact__field label {
  display: block;
  margin-bottom: 6px;
  color: var(--sw-navy);
  font-size: 16px;
  font-weight: 600;
}

.sw-contact__field input,
.sw-contact__field select,
.sw-contact__field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--sw-border);
  border-radius: 5px;
  background: #fff;
  color: var(--sw-navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  padding: 10px 12px;
}

.sw-contact__field textarea {
  min-height: 126px;
  resize: vertical;
}

.sw-contact__field input:focus,
.sw-contact__field select:focus,
.sw-contact__field textarea:focus {
  border-color: var(--sw-sky);
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.13);
  outline: 0;
}

.sw-contact__captcha {
  display: grid;
  grid-template-columns: auto auto auto auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: var(--sw-navy);
  font-size: 18px;
  font-weight: 600;
}

.sw-contact__captcha input {
  min-width: 0;
}

.sw-contact__form button {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: var(--sw-blue);
  color: #fff;
  cursor: pointer;
  font: 600 18px var(--sw-font-body);
  padding: 12px 16px;
}

.sw-contact__form button:hover,
.sw-contact__form button:focus-visible {
  background: var(--sw-sky);
  outline: 0;
}

.sw-contact__notice {
  margin: 0 0 16px;
  border-radius: 5px;
  padding: 11px 13px;
  font-size: 15px;
  line-height: 1.4;
}

.sw-contact__notice--error {
  border: 1px solid #f1c0c5;
  background: #fff0f1;
  color: #9a2630;
}

.sw-contact__notice--success {
  border: 1px solid #b9ddca;
  background: #effaf3;
  color: #176a3b;
}

.sw-contact__footer {
  margin-top: auto;
  padding: 14px 20px 13px;
  border-top: 1px solid var(--sw-border);
  background: var(--sw-surface);
  color: var(--sw-muted);
  font-size: 13px;
  text-align: center;
}

.sw-contact__footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}

.sw-contact__footer nav a {
  padding: 0 10px;
  border-right: 1px solid #8da0b8;
  color: var(--sw-muted);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.sw-contact__footer nav a:last-child {
  border-right: 0;
}

.sw-contact__footer nav a:hover,
.sw-contact__footer nav a:focus-visible {
  color: var(--sw-blue);
}

.sw-contact__footer p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 800px) {
  .sw-contact__header {
    min-height: 68px;
    padding: 0 20px;
  }

  .sw-contact__logo {
    font-size: 30px;
  }

  .sw-contact__signin {
    min-width: 74px;
    min-height: auto;
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-contact__content {
    width: calc(100% - 40px);
    padding: 0 0 48px;
  }

  .sw-contact__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px 20px;
  }

  .sw-contact__intro h2 {
    font-size: 28px;
  }

  .sw-contact__intro p {
    font-size: 16px;
  }

  .sw-contact__footer {
    padding: 14px 16px;
  }

  .sw-contact__footer nav {
    row-gap: 9px;
  }

  .sw-contact__footer nav a {
    padding: 0 8px;
    font-size: 13px;
  }
}

/* Contact form sits in the same simple card used across the public pages. */
.sw-contact__identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sw-contact__field {
  margin: 0 0 20px;
}

.sw-contact__field label {
  margin-bottom: 8px;
}

.sw-contact__field input,
.sw-contact__field select,
.sw-contact__field textarea {
  border-color: #cbddea;
  border-radius: 5px;
  padding: 11px 14px;
}

.sw-contact__field textarea {
  min-height: 130px;
}

.sw-contact__captcha {
  gap: 10px;
  max-width: 100%;
}

.sw-contact__captcha input:not([type="hidden"]) {
  max-width: 200px;
}

@media (max-width: 800px) {
  .sw-contact__content {
    width: calc(100% - 40px);
    padding: 0 0 48px;
  }

  .sw-contact__card {
    padding: 22px 20px;
  }

  .sw-contact__intro {
    margin-bottom: 24px;
    padding-bottom: 22px;
  }

  .sw-contact__intro p {
    font-size: 16px;
  }

  .sw-contact__email {
    font-size: 17px;
  }

  .sw-contact__identity {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sw-contact__field {
    margin-bottom: 18px;
  }
}

/* Sign-in reuses the splash header and footer around a simple form panel. */
.sw-signin {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 17px;
  line-height: 1.4;
}

.sw-signin *,
.sw-signin *::before,
.sw-signin *::after {
  box-sizing: border-box;
}

.sw-signin :where(p) {
  margin: 0;
  font-family: inherit;
  color: inherit;
}

.sw-signin a {
  text-decoration: none;
}

.sw-signin a:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 3px;
}

.sw-auth__wrap {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
}

.sw-auth__top {
  background: var(--sw-surface);
  border-bottom: 1px solid var(--sw-border);
}

.sw-auth__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.sw-auth__brand {
  font-family: var(--sw-font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1;
  color: var(--sw-navy);
  white-space: nowrap;
}

.sw-auth__brand small {
  font: inherit;
  letter-spacing: inherit;
  color: var(--sw-sky);
}

.sw-auth__join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  background: transparent;
  color: var(--sw-blue-dark);
  font-family: var(--sw-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.sw-auth__join:hover,
.sw-auth__join:focus-visible {
  background: var(--sw-blue);
  border-color: var(--sw-blue);
  color: #fff;
  text-decoration: none;
}

.sw-auth__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 72px;
  background: #f4fbff;
}

.sw-auth__panel {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 34px 34px 30px;
  border: 1px solid var(--sw-border);
  border-radius: 10px;
  background: var(--sw-surface);
  text-align: center;
}

.sw-auth__rule {
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 auto 16px;
  background: var(--sw-blue);
}

.sw-auth__eyebrow {
  margin: 0 0 9px !important;
  color: var(--sw-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.sw-auth__title {
  margin: 0;
  font-family: var(--sw-font-display);
  font-size: clamp(30px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.4px;
  color: var(--sw-navy);
  text-align: center;
}

.sw-auth__title em {
  font-style: normal;
  color: var(--sw-sky);
}

.sw-auth__lead {
  margin: 8px 0 26px !important;
  color: var(--sw-muted);
  font-size: 16px;
  line-height: 1.45;
}

.sw-auth__form {
  text-align: left;
}

.sw-auth__field {
  margin: 0 0 16px;
}

.sw-auth__field label {
  display: block;
  margin: 0 0 6px;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 600;
}

.sw-auth__field .form-control {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  border: 1px solid var(--sw-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 16px;
  padding: 10px 13px;
}

.sw-auth__field .form-control:focus {
  border-color: var(--sw-sky);
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.13);
  outline: 0;
}

.sw-auth__password {
  position: relative;
}

.sw-auth__password .form-control {
  padding-right: 46px;
}

.sw-auth__eye {
  position: absolute;
  top: 50%;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--sw-muted);
  cursor: pointer;
}

.sw-auth__eye:hover,
.sw-auth__eye:focus-visible {
  color: var(--sw-blue-dark);
  outline: 0;
}

.sw-auth__eye svg {
  width: 20px;
  height: 20px;
}

.sw-auth__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 18px;
  color: var(--sw-muted);
  font-size: 14px;
  line-height: 1.3;
}

.sw-auth__options label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-weight: 400;
}

.sw-auth__options input {
  accent-color: var(--sw-sky);
}

.sw-auth__options a {
  color: var(--sw-blue-dark);
  font-weight: 600;
}

.sw-auth__submit {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: var(--sw-blue);
  color: #fff;
  cursor: pointer;
  font-family: var(--sw-font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 16px;
  transition: background 0.15s;
}

.sw-auth__submit:hover,
.sw-auth__submit:focus-visible {
  background: var(--sw-sky);
  outline: 0;
}

.sw-auth__legal {
  margin: 16px 0 0 !important;
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.sw-auth__legal a {
  color: var(--sw-blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.sw-auth__error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #f1c0c5;
  border-radius: 5px;
  background: #fff0f1;
  color: #9a2630;
  font-size: 14px;
  line-height: 1.4;
}

.sw-auth__new {
  margin: 20px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid var(--sw-border);
  color: var(--sw-muted);
  font-size: 14px;
  text-align: center;
}

.sw-auth__new a {
  color: var(--sw-blue-dark);
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .sw-auth__top-inner {
    min-height: 64px;
  }

  .sw-auth__brand {
    font-size: 30px;
    letter-spacing: -1.2px;
  }

  .sw-auth__join {
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-auth__body {
    padding: 32px 20px 48px;
  }

  .sw-auth__panel {
    padding: 26px 20px 24px;
  }

  .sw-auth__title {
    font-size: 28px;
  }

  .sw-auth__lead {
    font-size: 15px;
    margin-bottom: 22px !important;
  }

  .sw-auth__body {
    align-items: flex-start;
  }
}

/* Signup reuses the same splash header, centred panel and shared footer as sign-in. */
.sw-signup {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 17px;
  line-height: 1.4;
}

.sw-signup *,
.sw-signup *::before,
.sw-signup *::after {
  box-sizing: border-box;
}

.sw-signup :where(p) {
  margin: 0;
  font-family: inherit;
  color: inherit;
}

.sw-signup a {
  text-decoration: none;
}

.sw-signup a:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 3px;
}

fieldset.sw-auth__field {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}

.sw-auth__field legend {
  display: block;
  margin: 0 0 6px;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 600;
}

.sw-auth__hint {
  display: block;
  margin: 6px 0 0;
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 12px;
  line-height: 1.35;
}

.sw-auth__choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sw-auth__choice label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  margin: 0;
  border: 1px solid var(--sw-border);
  border-radius: 5px;
  background: #fff;
  color: var(--sw-navy);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

.sw-auth__choice label:hover {
  border-color: var(--sw-sky);
}

.sw-auth__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sw-auth__choice label:has(input:checked) {
  border-color: var(--sw-sky);
  background: var(--sw-soft);
  color: var(--sw-blue-dark);
}

.sw-auth__choice label:has(input:checked) .fa {
  color: var(--sw-blue-dark);
}

.sw-auth__choice .fa {
  color: var(--sw-muted);
}

.sw-auth__dob {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 10px;
}

.sw-auth__dob select {
  min-width: 0;
  appearance: auto;
}

/* Verify email follows the same splash header, centred panel and shared footer. */
.layout:has(.sw-verify)>.navbar,
.layout:has(.sw-verify)>.footer {
  display: none;
}

.layout:has(.sw-verify)>.page {
  padding: 0;
}

.sw-verify {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 17px;
  line-height: 1.4;
}

.sw-verify *,
.sw-verify *::before,
.sw-verify *::after {
  box-sizing: border-box;
}

.sw-verify :where(p) {
  margin: 0;
  font-family: inherit;
  color: inherit;
}

.sw-verify a {
  text-decoration: none;
}

.sw-verify a:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 3px;
}

.sw-verify__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--sw-soft);
  color: var(--sw-blue);
}

.sw-verify__icon svg {
  width: 27px;
  height: 27px;
}

.sw-verify__row {
  display: flex;
  gap: 10px;
}

.sw-verify__row .form-control {
  flex: 1;
  min-width: 0;
  text-align: center;
  letter-spacing: 4px;
  font-size: 19px;
  font-weight: 600;
}

.sw-verify__row .sw-auth__submit {
  width: auto;
  padding: 13px 26px;
  white-space: nowrap;
}

.sw-verify__resend {
  margin: 20px 0 0;
  padding-top: 4px;
  text-align: center;
}

.sw-verify__resend p {
  margin: 0 0 12px;
  color: var(--sw-muted);
  font-size: 14px;
  line-height: 1.45;
}

.sw-verify__resend-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  background: transparent;
  color: var(--sw-blue-dark);
  cursor: pointer;
  font-family: var(--sw-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 18px;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.sw-verify__resend-btn:hover,
.sw-verify__resend-btn:focus-visible {
  background: var(--sw-blue);
  border-color: var(--sw-blue);
  color: #fff;
  outline: 0;
}

@media (max-width: 575.98px) {
  .sw-verify__row {
    flex-direction: column;
  }

  .sw-verify__row .sw-auth__submit {
    width: 100%;
  }
}

/* Complete-signup wizard shares the auth page shell around the existing profile elements. */
.layout:has(.sw-complete)>.navbar,
.layout:has(.sw-complete)>.footer {
  display: none;
}

.layout:has(.sw-complete)>.page {
  padding: 0;
}

.sw-complete {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 17px;
  line-height: 1.4;
}

.sw-complete *,
.sw-complete *::before,
.sw-complete *::after {
  box-sizing: border-box;
}

.sw-complete :where(p) {
  margin: 0;
  font-family: inherit;
  color: inherit;
}

.sw-complete a {
  text-decoration: none;
}

.sw-complete a:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 3px;
}

.sw-complete .sw-auth__panel {
  width: min(100%, 560px);
}

.sw-complete--wide .sw-auth__body {
  align-items: flex-start;
}

.sw-complete--wide .sw-auth__panel {
  width: min(100%, 860px);
  text-align: left;
}

.sw-complete--wide .sw-auth__lead {
  text-align: center;
}

.sw-steps {
  position: relative;
  display: flex;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.sw-steps::before {
  content: "";
  position: absolute;
  top: 8px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--sw-border);
}

.sw-steps__step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  color: var(--sw-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.sw-steps__dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 8px;
  border: 2px solid var(--sw-border);
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.sw-steps__step--done {
  color: var(--sw-navy);
}

.sw-steps__step--done .sw-steps__dot {
  border-color: var(--sw-sky);
  background: var(--sw-soft);
}

.sw-steps__step--current {
  color: var(--sw-navy);
  font-weight: 700;
}

.sw-steps__step--current .sw-steps__dot {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  box-shadow: 0 0 0 4px rgba(7, 143, 228, 0.15);
}

.sw-complete__hints {
  list-style: none;
  margin: 7px 0 0;
  padding: 0;
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.sw-complete__hints li {
  position: relative;
  padding-left: 14px;
}

.sw-complete__hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 2px;
  background: var(--sw-sky);
}

.sw-complete__next {
  display: table;
  width: auto;
  min-width: 190px;
  margin: 24px auto 0;
  padding: 13px 34px;
}

.sw-complete__content {
  margin-top: 6px;
}

.sw-complete__content h3 {
  margin: 22px 0 10px;
  font-family: var(--sw-font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--sw-navy);
}

/* Complete-signup step 2: card the shared profile sections, scoped so the member profile page is untouched. */
.sw-complete__content .profile {
  margin: 0;
}

.sw-complete__content .profile .profile-section {
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  background: #fff;
  margin: 0 0 12px;
  padding: 16px 20px;
}

.sw-complete__content .profile .profile-section:last-child {
  margin-bottom: 0;
}

.sw-complete__content .profile .profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sw-complete__content .profile .profile-section-head h2 {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--sw-navy);
}

.sw-complete__content .btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 13px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  background: transparent;
  opacity: 1;
  color: var(--sw-blue-dark);
  font-family: var(--sw-font-body);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.sw-complete__content .btn-edit .btn-txt {
  opacity: 1;
}

.sw-complete__content .btn-edit.active,
.sw-complete__content .btn-edit:hover {
  border-color: var(--sw-blue);
  background: var(--sw-blue);
  color: #fff;
  cursor: pointer;
}

.sw-complete__content .profile .profile-section-view {
  margin-top: 10px;
}

.sw-complete__content .p_table .p_title {
  color: var(--sw-muted);
  font-size: 14px;
  font-weight: 600;
}

.sw-complete__content .p_table .p_value {
  margin: 3px 0 14px;
  color: var(--sw-navy);
  font-size: 15px;
  line-height: 1.5;
}

.sw-complete__content .p_table.inline div .p_title {
  float: left;
  width: 170px;
  margin-bottom: 11px;
  color: var(--sw-muted);
  font-size: 14px;
  font-weight: 600;
}

.sw-complete__content .p_table.inline div .p_value {
  margin-left: 170px;
  margin-bottom: 11px;
  color: var(--sw-navy);
  font-size: 15px;
  line-height: 1.4;
}

.sw-complete__content .p_table.inline div .p_value span {
  color: var(--sw-muted);
  font-style: italic;
}

.sw-complete__content .profile .profile-section-edit {
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--sw-border);
  border-radius: 7px;
  background: var(--sw-soft);
}

.sw-complete__content .profile .profile-section-edit:before {
  display: none;
}

.sw-complete__content .profile .profile-section-edit form .form-group {
  margin-bottom: 14px;
}

.sw-complete__content .profile .profile-section.editing .profile-section-edit textarea {
  min-height: 120px;
}

.sw-complete__content label {
  font-family: var(--sw-font-body);
  font-weight: 600;
  color: var(--sw-navy);
  font-size: 14px;
}

.sw-complete__content .form-control {
  border: 1px solid var(--sw-border);
  border-radius: 5px;
  box-shadow: none;
  background: #fff;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 15px;
  padding: 9px 12px;
}

.sw-complete__content .form-control:focus {
  border-color: var(--sw-sky);
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.13);
  outline: 0;
}

.sw-complete__content .btn-success,
.sw-complete__content .btn-primary {
  border: 0;
  border-radius: 5px;
  background: var(--sw-blue);
  color: #fff;
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 24px;
  text-transform: none;
}

.sw-complete__content .btn-success:hover,
.sw-complete__content .btn-primary:hover {
  background: var(--sw-sky);
  color: #fff;
}

/* Complete-signup step 3: card the shared album element, scoped so member albums are untouched. */
.sw-complete__content .sw-album {
  position: relative;
  margin: 0 0 16px;
  padding: 18px 20px 20px;
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  background: #fff;
}

.sw-complete__content .sw-album:last-child {
  margin-bottom: 0;
}

.sw-complete__content .sw-album>h3 {
  margin: 0 0 14px;
  font-family: var(--sw-font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1;
  color: var(--sw-navy);
}

.sw-complete__content .sw-album hr.no-margin-top {
  display: none;
}

.sw-complete__content .photo_box_heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 14px;
}

@media (min-width: 576px) {
  .sw-complete__content .photo_box_heading {
    position: absolute;
    top: 13px;
    right: 18px;
    margin: 0;
  }
}

.sw-complete__content .photo_box_heading h2.photo_box_title {
  display: none;
}

.sw-complete__content .photo_box_heading .uploadPhoto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--sw-sky);
  border-radius: 5px;
  background: transparent;
  color: var(--sw-blue-dark);
  cursor: pointer;
  font-family: var(--sw-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.sw-complete__content .photo_box_heading .uploadPhoto:hover,
.sw-complete__content .photo_box_heading .uploadPhoto:focus-visible {
  background: var(--sw-blue);
  border-color: var(--sw-blue);
  color: #fff;
  outline: 0;
}

.sw-complete__content .photo_box_heading .uploadPhoto .fa {
  font-size: 12px;
}

.sw-complete__content .photo_box_heading .uploadPhoto.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sw-complete__content .photo_box_heading .uploadPhoto.disabled:hover {
  background: transparent;
  border-color: var(--sw-sky);
  color: var(--sw-blue-dark);
}

.sw-complete__content .public-private-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.2;
}

.sw-complete__content .public-private-toggle .ios-toggle {
  overflow: hidden;
  background: #dbe9f4;
}

.sw-complete__content .public-private-toggle .ios-toggle>label {
  text-indent: -9999px;
}

.sw-complete__content .public-private-toggle .ios-toggle>label::before {
  background: #c5d8e8;
}

.sw-complete__content .public-private-toggle .ios-toggle>input:checked+label {
  background: var(--sw-blue);
}

.sw-complete__content .public-private-toggle .ios-toggle:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(8, 165, 237, 0.2);
}

.sw-complete__content .public-private-toggle::after {
  content: "Private";
  color: var(--sw-muted);
  font-size: 13px;
  font-weight: 600;
}

.sw-complete__content .public-private-toggle:has(input:checked)::after {
  content: "Public";
  color: var(--sw-blue-dark);
}

.sw-complete__content ul.myphotos {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.sw-complete__content ul.myphotos li {
  position: relative;
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  vertical-align: top;
}

.sw-complete__content ul.myphotos li .img-container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--sw-soft);
}

.sw-complete__content ul.myphotos li .img-container a {
  display: block;
  width: 100%;
  height: 100%;
}

.sw-complete__content ul.myphotos li .img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
}

.sw-complete__content ul.myphotos li .img-container .img-overlay {
  top: 8px;
  left: 8px;
  width: auto;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(4, 5, 37, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.sw-complete__content ul.myphotos li:hover {
  border-color: #bcdcef;
}

.sw-complete__content ul.myphotos:not(:has(li)),
.sw-complete__content ul.myvideos:not(:has(li)) {
  grid-template-columns: 1fr;
}

.sw-complete__content ul.myphotos:not(:has(li))::before {
  content: "No photos yet. Use Add Photo to upload your first picture.";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px;
  border: 1px dashed #bcd9ea;
  border-radius: 8px;
  background: var(--sw-soft);
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.sw-complete__content ul.myvideos:not(:has(li))::before {
  content: "No videos yet. Add a short video biography to stand out.";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px;
  border: 1px dashed #bcd9ea;
  border-radius: 8px;
  background: var(--sw-soft);
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.sw-complete__content ul.myphotos .actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 6px;
  border-top: 1px solid var(--sw-border);
  background: #fbfdff;
}

.sw-complete__content ul.myphotos .actions .btn-group {
  display: flex;
  gap: 4px;
}

.sw-complete__content ul.myphotos .actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--sw-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: var(--sw-muted);
  font-size: 12px;
  line-height: 1;
  text-shadow: none;
}

.sw-complete__content ul.myphotos .actions .btn:hover {
  border-color: var(--sw-sky);
  background: var(--sw-soft);
  color: var(--sw-blue-dark);
}

.sw-complete__content ul.myphotos .actions .defaultPhoto {
  color: var(--sw-blue);
}

.sw-complete__content ul.myphotos .actions .deletePhoto {
  color: #b3261e;
}

.sw-complete__content ul.myphotos .actions .deletePhoto:hover {
  border-color: #f0bdb8;
  background: #fff0ef;
  color: #8f1d17;
}

.sw-complete__content ul.myvideos {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sw-complete__content ul.myvideos li {
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.sw-complete__content ul.myvideos .vid-container {
  background: var(--sw-navy);
  line-height: 0;
}

.sw-complete__content ul.myvideos .vid-container video {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  background: var(--sw-navy);
}

.sw-complete__content ul.myvideos .actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px;
  border-top: 1px solid var(--sw-border);
  background: #fbfdff;
}

.sw-complete__content ul.myvideos .actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--sw-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: var(--sw-muted);
  font-size: 12px;
  line-height: 1;
  text-shadow: none;
}

.sw-complete__content ul.myvideos .actions .deletePhoto {
  color: #b3261e;
}

.sw-complete__content ul.myvideos .actions .deletePhoto:hover {
  border-color: #f0bdb8;
  background: #fff0ef;
  color: #8f1d17;
}

.sw-complete__content ul.myvideos .actions .btn-warning {
  color: #a86a00;
  border-color: #f0d9ac;
  background: #fff8ec;
}

.sw-complete__content .hint-box {
  margin: 16px 0 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid #cfe8f7;
  border-left: 3px solid var(--sw-sky);
  border-radius: 7px;
  background: var(--sw-soft);
  color: var(--sw-navy);
  font-size: 13px;
  line-height: 1.55;
}

.sw-complete__content .hint-box p {
  margin: 0 0 8px;
  color: var(--sw-navy);
  font-size: 13px;
  line-height: 1.55;
}

.sw-complete__content .hint-box p:last-child {
  margin-bottom: 0;
}

.sw-complete__content .hint-box b,
.sw-complete__content .hint-box strong {
  color: var(--sw-blue-dark);
  font-weight: 700;
}

.sw-complete__content .hint-box a {
  color: var(--sw-blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 575.98px) {
  .sw-complete__content .sw-album {
    padding: 14px 14px 16px;
    border-radius: 8px;
  }

  .sw-complete__content .sw-album>h3 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .sw-complete__content ul.myphotos {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 10px;
  }

  .sw-complete__content ul.myphotos .actions {
    gap: 3px;
    padding: 5px;
  }

  .sw-complete__content ul.myphotos .actions .btn {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .sw-complete__content .hint-box {
    padding: 11px 12px 11px 14px;
  }

  .sw-complete__content .hint-box p {
    font-size: 12.5px;
  }
}

/* Shared page footer, matching the splash footer. */
.sw-pagefoot {
  margin-top: auto;
  padding: 38px 0 24px;
  border-top: 1px solid var(--sw-border);
  background: var(--sw-surface);
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
}

.sw-pagefoot *,
.sw-pagefoot *::before,
.sw-pagefoot *::after {
  box-sizing: border-box;
}

.sw-pagefoot a {
  text-decoration: none;
}

.sw-pagefoot a:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 3px;
}

.sw-pagefoot__wrap {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
}

.sw-pagefoot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}

.sw-pagefoot__brand {
  font-family: var(--sw-font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1;
  color: var(--sw-navy);
  white-space: nowrap;
}

.sw-pagefoot__brand small {
  font: inherit;
  letter-spacing: inherit;
  color: var(--sw-blue-dark);
}

.sw-pagefoot__links {
  display: flex;
  flex-wrap: wrap;
}

.sw-pagefoot__links a {
  padding: 0 14px;
  border-right: 1px solid var(--sw-border);
  color: var(--sw-navy);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.sw-pagefoot__links a:last-child {
  border-right: 0;
}

.sw-pagefoot__links a:hover,
.sw-pagefoot__links a:focus-visible {
  color: var(--sw-blue-dark);
  text-decoration: none;
}

.sw-pagefoot__bottom {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--sw-border);
  color: var(--sw-muted);
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .sw-pagefoot__top {
    justify-content: center;
    text-align: center;
  }

  .sw-pagefoot__links {
    justify-content: center;
  }

  .sw-pagefoot__bottom {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .sw-pagefoot__wrap {
    width: calc(100% - 40px);
  }

  .sw-pagefoot {
    padding: 34px 0 22px;
  }

  .sw-pagefoot__brand {
    font-size: 28px;
  }

  .sw-pagefoot__links a {
    padding: 0 10px;
    font-size: 13px;
  }

  .sw-pagefoot__bottom {
    margin-top: 22px;
    font-size: 13px;
  }
}

/* SecondWife profile completion page */
.sw-incomplete {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f3faff;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 16px;
  line-height: 1.6;
}

.sw-incomplete *,
.sw-incomplete *::before,
.sw-incomplete *::after {
  box-sizing: border-box;
}

.sw-incomplete a {
  text-decoration: none;
}

.sw-incomplete a:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 4px;
}

.sw-incomplete__body {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: 48px 0 64px;
  flex: 1;
}

.sw-incomplete__main {
  min-width: 0;
}

.sw-incomplete__intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.sw-incomplete__eyebrow {
  margin: 0 0 12px;
  color: var(--sw-blue-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.sw-incomplete__intro h1 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: clamp(36px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.6px;
  text-align: left;
}

.sw-incomplete__intro h1 em {
  font-style: normal;
  color: var(--sw-blue);
}

.sw-incomplete__intro>p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--sw-muted);
  font-size: 17px;
  line-height: 1.6;
}

.sw-incomplete__grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.sw-incomplete__summary {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.sw-incomplete__summary .hint-box {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 24px !important;
  border: 1px solid var(--sw-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sw-muted);
  box-shadow: 0 4px 18px rgba(4, 5, 37, 0.025);
}

.sw-incomplete__summary .hint-box>p {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--sw-muted);
}

.sw-incomplete__summary .hint-box>p:first-child {
  margin-bottom: 12px;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
}

.sw-incomplete__summary .progress {
  height: 22px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--sw-soft);
}

.sw-incomplete__summary .progress-bar {
  background: var(--sw-blue);
  font-family: var(--sw-font-body);
  font-size: 13px;
  font-weight: 600;
  min-width: 28px;
}

.sw-incomplete__summary .striped-rows {
  padding: 0;
}

.sw-incomplete__summary .striped-rows>.row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #e7eff5;
  background: transparent;
  font-size: 14px;
  line-height: 1.4;
}

.sw-incomplete__summary .striped-rows>.row:first-child {
  border-top: 0;
  padding-top: 4px;
}

.sw-incomplete__summary .striped-rows>.row:last-child {
  padding-bottom: 0;
}

.sw-incomplete__summary .striped-rows>.row>div {
  padding: 0;
  min-width: 0;
}

.sw-incomplete__summary .striped-rows>.row>.col {
  flex: 1;
}

.sw-incomplete__summary .striped-rows>.row>.col-auto.flex-grow-1 {
  flex: 1;
}

.sw-incomplete__summary .striped-rows>.row>.col-3 {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.sw-incomplete__summary .striped-rows .fa {
  font-size: 21px;
}

.sw-incomplete__summary .striped-rows p {
  color: var(--sw-navy);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  white-space: normal !important;
}

.sw-incomplete__summary .striped-rows small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--sw-muted);
}

.sw-incomplete__summary .striped-rows .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 76px;
  min-height: 36px;
  height: auto;
  padding: 7px 11px;
  border: 1px solid var(--sw-blue);
  border-radius: 5px;
  background: var(--sw-blue);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.sw-incomplete__summary .striped-rows .btn:hover {
  background: var(--sw-sky);
  border-color: var(--sw-blue-dark);
}

.sw-incomplete__details {
  padding: 28px 30px;
  border: 1px solid var(--sw-border);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}

.sw-incomplete__details p,
.sw-incomplete__details li {
  font-family: inherit;
  color: var(--sw-muted);
  font-size: 15px;
  line-height: 1.65;
}

.sw-incomplete__details p {
  margin: 0 0 14px;
}

.sw-incomplete__details p:last-child {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--sw-sky);
  border-radius: 4px;
  background: var(--sw-soft);
  color: var(--sw-navy);
}

.sw-incomplete__details h2 {
  margin: 25px 0 10px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--sw-navy);
  line-height: 1.2;
  text-align: left;
}

.sw-incomplete__details ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.sw-incomplete__details li {
  margin-bottom: 7px;
  padding-left: 3px;
}

.sw-incomplete__details li::marker {
  color: var(--sw-blue);
}

.sw-incomplete__details b {
  color: var(--sw-navy);
  font-weight: 600;
}

.sw-incomplete__details a {
  color: var(--sw-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .sw-incomplete__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sw-incomplete__body {
    padding-top: 32px;
  }

  .sw-incomplete__intro {
    margin-bottom: 26px;
  }
}

@media (max-width: 480px) {
  .sw-incomplete__body {
    width: calc(100% - 32px);
    padding: 28px 0 36px;
  }

  .sw-incomplete__summary .hint-box {
    padding: 20px !important;
  }

  .sw-incomplete__details {
    padding: 22px 20px;
  }

  .sw-incomplete__intro h1 {
    font-size: 36px;
  }

  .sw-incomplete__intro>p:last-child {
    font-size: 16px;
  }

  .sw-incomplete__summary .striped-rows>.row {
    gap: 8px;
  }

  .sw-incomplete__summary .striped-rows .btn {
    min-width: 67px;
    padding: 7px 9px;
  }
}

/* SecondWife identity verification */
.sw-trust-panel {
  width: min(100% - 40px, 640px);
  margin: 0 auto;
  padding: 44px 0 56px;
  flex: 1;
  text-align: center;
}

.sw-trust-eyebrow {
  margin: 0 0 10px;
  color: var(--sw-blue-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sw-trust-panel h1 {
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--sw-navy);
}

.sw-trust-panel h1 em {
  font-style: normal;
  color: var(--sw-blue);
}

.sw-trust-intro {
  margin: 0 0 26px;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sw-muted);
}

.sw-trust-card {
  padding: 28px 32px;
  border: 1px solid var(--sw-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(4, 5, 37, 0.025);
}

.sw-trust-card h2 {
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--sw-navy);
}

.sw-trust-card p {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sw-muted);
}

.sw-trust-instructions {
  margin: 20px 0 24px;
  padding: 20px 16px 4px;
  border: 1px solid #dcecf7;
  border-radius: 8px;
  background: #f3faff;
}

.sw-trust-instructions img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 18px;
}

.sw-trust-instructions p {
  max-width: 360px;
  margin: 0 auto 16px;
  color: var(--sw-navy);
}

.sw-trust-card form {
  text-align: left;
}

.sw-trust-file-label {
  display: block;
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sw-navy);
}

.sw-trust-file-input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 10px;
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  background: #fff;
  color: var(--sw-muted);
  font-family: inherit;
  font-size: 14px;
}

.sw-trust-file-input::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: var(--sw-soft);
  color: var(--sw-blue-dark);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sw-trust-file-input:focus-visible {
  outline: 2px solid var(--sw-sky);
  outline-offset: 3px;
}

.sw-trust-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--sw-blue);
  border-radius: 6px;
  background: var(--sw-blue);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.sw-trust-button:hover,
.sw-trust-button:focus-visible {
  background: var(--sw-sky);
  border-color: var(--sw-blue-dark);
  color: #fff;
}

.sw-trust-card .sw-trust-privacy-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--sw-muted);
}

.sw-trust-card .sw-trust-benefit {
  padding: 12px;
  border-radius: 6px;
  background: var(--sw-soft);
  color: var(--sw-blue-dark);
  font-size: 14px;
}

.sw-trust-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid #efc7c7;
  border-radius: 6px;
  background: #fff3f3;
  color: #9b2929;
  text-align: left;
  font-size: 15px;
}

.sw-trust-status-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e8f7ef;
  color: #21834d;
  font-size: 28px;
}

.sw-trust-secondary-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--sw-blue-dark);
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .sw-trust-panel {
    padding: 28px 0 36px;
  }

  .sw-trust-panel h1 {
    font-size: 38px;
  }

  .sw-trust-intro {
    font-size: 16px;
  }

  .sw-trust-card {
    padding: 24px 20px;
  }

  .sw-trust-instructions img {
    width: 150px;
  }

  .sw-trust-card h2 {
    font-size: 25px;
  }
}

/* SecondWife questionnaire */
.sw-survey-panel {
  width: min(100% - 40px, 780px);
  margin: 0 auto;
  padding: 36px 0 48px;
  flex: 1;
}

.sw-survey-intro {
  margin: 0 0 24px;
  text-align: center;
}

.sw-survey-intro h1 {
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--sw-navy);
}

.sw-survey-intro h1 em {
  font-style: normal;
  color: var(--sw-blue);
}

.sw-survey-intro>p:last-child {
  margin: 0;
  color: var(--sw-muted);
  font-family: inherit;
  font-size: 16px;
}

.sw-survey .header {
  margin-bottom: 18px;
}

.sw-survey .header-top,
.sw-survey .header-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--sw-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.sw-survey .header-top span:first-child {
  font-weight: 600;
  color: var(--sw-navy);
}

.sw-survey .header-labels {
  margin: 6px 0 0;
  font-size: 12px;
}

.sw-survey .progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #dceaf4;
}

.sw-survey .progress-fill {
  height: 100%;
  background: var(--sw-blue) !important;
}

.sw-survey .card {
  padding: 28px;
  border: 1px solid var(--sw-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(4, 5, 37, 0.025);
}

.sw-survey h1.question {
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--sw-navy);
  text-align: left;
}

.sw-survey h1.question small {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--sw-font-body);
  color: var(--sw-muted) !important;
  font-size: 14px !important;
  font-weight: 400;
}

.sw-survey .binary-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.sw-survey .checkbox-grid {
  grid-template-columns: 1fr;
}

.sw-survey .option-box,
.sw-survey .small-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  background: #fff;
  color: var(--sw-navy);
  font-family: var(--sw-font-body);
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}

.sw-survey .option-box:hover,
.sw-survey .small-option:hover {
  border-color: var(--sw-blue);
  background: #f6fbff;
}

.sw-survey .option-box:has(input:checked),
.sw-survey .small-option:has(input:checked) {
  border-color: var(--sw-blue);
  background: var(--sw-soft);
  box-shadow: 0 0 0 1px var(--sw-blue);
}

.sw-survey input[type="radio"],
.sw-survey input[type="checkbox"] {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--sw-blue);
  cursor: pointer;
}

.sw-survey input:focus-visible {
  outline: 2px solid var(--sw-blue);
  outline-offset: 4px;
}

.sw-survey .custom-radio {
  display: none;
}

.sw-survey .importance-section {
  margin-top: 4px;
  padding: 20px;
  border: 1px solid #dcecf7;
  border-radius: 8px;
  background: #f3faff !important;
}

.sw-survey .importance-title {
  margin: 0 0 14px;
  font-family: var(--sw-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sw-navy);
}

.sw-survey .importance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sw-survey .small-option {
  padding: 11px 12px;
  font-size: 14px;
}

.sw-survey .comments-section p {
  font-family: inherit;
  color: var(--sw-muted);
  font-size: 14px !important;
}

.sw-survey .comments-section input {
  margin-bottom: 20px;
  font-family: inherit;
  color: var(--sw-navy);
  border-color: var(--sw-border) !important;
  box-shadow: none;
}

.sw-survey .footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.sw-survey .footer-actions .btn {
  min-width: 90px;
  padding: 9px 18px;
  border: 1px solid var(--sw-blue) !important;
  border-radius: 5px;
  background: #fff;
  color: var(--sw-blue-dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
}

.sw-survey .footer-actions .btn:hover {
  background: var(--sw-blue);
  color: #fff;
}

@media (max-width: 540px) {
  .sw-survey-panel {
    padding: 28px 0 36px;
  }

  .sw-survey-intro h1 {
    font-size: 36px;
  }

  .sw-survey .card {
    padding: 22px 18px;
  }

  .sw-survey h1.question {
    font-size: 26px;
  }

  .sw-survey .binary-options,
  .sw-survey .importance-grid {
    grid-template-columns: 1fr;
  }

  .sw-survey .importance-section {
    padding: 16px;
  }

  .sw-survey .option-box {
    font-size: 15px;
  }
}

/* SecondWife member dashboard */
.sw-dashboard__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 12px 0;
}

.sw-dashboard__account>.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  float: none !important;
  margin: 0;
}

.sw-dashboard__account .nav-link {
  padding: 8px 9px;
  color: var(--sw-muted);
  font-family: var(--sw-font-body);
  font-size: 14px;
  white-space: nowrap;
}

.sw-dashboard__account .nav-link:hover {
  color: var(--sw-blue-dark);
  background: var(--sw-soft);
  border-radius: 5px;
}

.sw-dashboard__account .upgrade .nav-link {
  border: 1px solid var(--sw-blue);
  border-radius: 5px;
  background: var(--sw-blue);
  color: #fff;
}

.sw-dashboard__account .dropdown-menu {
  min-width: 260px;
  max-width: min(90vw, 360px);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(4, 5, 37, 0.1);
  font-size: 14px;
  z-index: 1000;
}

.sw-dashboard__account .notification {
  padding: 10px 14px;
  color: var(--sw-navy);
  white-space: normal;
}

.sw-dashboard>.subheader {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid var(--sw-border);
  color: var(--sw-navy);
}

.sw-dashboard>.subheader .container,
.sw-dashboard__content>.container {
  width: min(100% - 48px, 1080px);
  max-width: none;
  padding: 0;
}

.sw-dashboard>.subheader h1 {
  margin: 0;
  padding: 0;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.sw-dashboard>.subheader .nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.sw-dashboard>.subheader .nav-link {
  padding: 7px 9px;
  border-radius: 5px;
  color: var(--sw-muted);
  font-family: inherit;
  font-size: 14px;
}

.sw-dashboard>.subheader .nav-link:hover {
  background: var(--sw-soft);
  color: var(--sw-blue-dark);
}

.sw-dashboard__content {
  flex: 1;
  padding: 32px 0 48px;
}

.sw-dashboard__content>.container>.row {
  margin: 0 -12px;
}

.sw-dashboard__content>.container>.row>aside,
.sw-dashboard__content>.container>.row>div {
  padding: 0 12px;
}

.sw-dashboard__content .card {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--sw-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 15px rgba(4, 5, 37, 0.025);
}

.sw-dashboard__content .card-header {
  padding: 15px 18px;
  border-bottom: 1px solid #e7eff5;
  background: #fff;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}

.sw-dashboard__content .card-header b {
  font-weight: 600;
}

.sw-dashboard__content .card-header>.fa {
  margin-right: 7px;
  font-size: 16px;
  color: var(--sw-blue);
}

.sw-dashboard__content .card-body {
  padding: 18px;
}

.sw-dashboard__content .card .card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sw-dashboard__content p {
  color: var(--sw-muted);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
}

.sw-dashboard__content a {
  color: var(--sw-blue-dark);
}

.sw-dashboard__content a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sw-dashboard__content .hint-box {
  margin: 0;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: var(--sw-soft);
  color: var(--sw-navy);
}

.sw-dashboard__content .hint-box b {
  color: var(--sw-blue-dark);
}

.sw-dashboard__content .list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sw-dashboard__content .list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e7eff5;
}

.sw-dashboard__content .list li:last-child {
  border: 0;
}

.sw-dashboard__content .list li::before {
  display: none;
}

.sw-dashboard__content .list li a {
  display: block;
  padding: 10px 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--sw-muted);
}

.sw-dashboard__content .list li:first-child a {
  padding-top: 0;
}

.sw-dashboard__content .list li:last-child a {
  padding-bottom: 0;
}

.sw-dashboard__content .list li a:hover {
  color: var(--sw-blue-dark);
}

.sw-dashboard__heading {
  margin: 0 0 22px;
}

.sw-dashboard__heading .sw-incomplete__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--sw-blue-dark);
}

.sw-dashboard__heading h2 {
  margin: 0 0 8px;
  padding: 0;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.sw-dashboard__heading h2 em {
  color: var(--sw-blue);
  font-style: normal;
}

.sw-dashboard__heading>p:last-child {
  margin: 0;
}

.sw-dashboard__content .profile-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: var(--sw-soft);
}

.sw-dashboard__content .profile-image>a {
  display: block;
  width: 100%;
  height: 100%;
}

.sw-dashboard__content .profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-dashboard__content .top-overlay,
.sw-dashboard__content .bottom-overlay {
  position: absolute;
  left: 7px;
  right: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
}

.sw-dashboard__content .top-overlay {
  top: 7px;
}

.sw-dashboard__content .bottom-overlay {
  bottom: 7px;
}

.sw-dashboard__content .badge {
  padding: 5px 7px;
  border-radius: 4px;
  background: rgba(4, 5, 37, 0.76);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
}

.sw-dashboard__content .info-container {
  padding: 12px 0 0;
  text-align: left;
}

.sw-dashboard__content .info-container>a {
  font-family: var(--sw-font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--sw-navy);
  overflow-wrap: anywhere;
}

.sw-dashboard__content .location {
  margin-top: 3px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sw-muted);
  overflow-wrap: anywhere;
}

.sw-dashboard__content .tagline {
  margin-top: 6px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sw-muted);
  overflow-wrap: anywhere;
}

.sw-dashboard__sidebar .card-body>.row {
  align-items: center;
  margin-bottom: 14px;
}

.sw-dashboard__sidebar .card-body>.row .col-3 {
  position: relative;
}

.sw-dashboard__sidebar .card-body>.row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.sw-dashboard__sidebar .card-body>.row a {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.sw-dashboard__sidebar .card-body>p:last-child {
  margin: 12px 0 0;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .sw-dashboard__top-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .sw-dashboard__account {
    width: 100%;
  }

  .sw-dashboard__account .nav-link {
    font-size: 13px;
  }

  .sw-dashboard>.subheader .row>div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sw-dashboard>.subheader .nav {
    float: none !important;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .sw-dashboard__content>.container>.row {
    display: flex;
    flex-direction: column;
  }

  .sw-dashboard__content>.container>.row>aside,
  .sw-dashboard__content>.container>.row>div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .sw-dashboard__sidebar {
    order: 2;
    margin-top: 12px;
  }

  .sw-dashboard__content .col-md-8 .card-body>.row>.col-12 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  .sw-dashboard__top-inner {
    width: calc(100% - 32px);
  }

  .sw-dashboard__account>.nav {
    gap: 0;
  }

  .sw-dashboard__account .nav-link {
    padding: 7px 8px;
  }

  .sw-dashboard>.subheader .container,
  .sw-dashboard__content>.container {
    width: calc(100% - 32px);
  }

  .sw-dashboard>.subheader .d-none {
    display: block !important;
  }

  .sw-dashboard>.subheader .nav-link {
    font-size: 13px;
    padding: 7px;
  }

  .sw-dashboard__content {
    padding-top: 24px;
  }

  .sw-dashboard__content .card-body {
    padding: 14px;
  }

  .sw-dashboard__content .col-md-8 .card-body>.row {
    margin: 0 -7px;
  }

  .sw-dashboard__content .col-md-8 .card-body>.row>.col-12 {
    padding: 0 7px;
  }

  .sw-dashboard__content .info-container>a {
    font-size: 19px;
  }

  .sw-dashboard__content .badge {
    font-size: 10px;
    padding: 4px;
  }

  .sw-dashboard__heading h2 {
    font-size: 34px;
  }
}

.sw-dashboard>.section.subheader .navbar-nav li a {
  color: var(--sw-muted) !important;
}

.sw-dashboard>.section.subheader .navbar-nav li a:hover {
  color: var(--sw-blue-dark) !important;
}

.sw-dashboard__heading h2 {
  text-align: left;
}

/* Dashboard color refresh: presentation only. */
.sw-dashboard {
  background: #e8eff8;
  background-image:
    radial-gradient(ellipse at 100% 15%, #d9e5ff 0, transparent 48%),
    radial-gradient(ellipse at 0 75%, #d8eff1 0, transparent 50%);
}

.sw-dashboard>.sw-auth__top {
  background: #101d39;
  border-bottom: 1px solid #283956;
}

.sw-dashboard .sw-auth__brand {
  color: #fff;
}

.sw-dashboard .sw-auth__brand small {
  color: #56c9ff;
}

.sw-dashboard__account .nav-link {
  color: #d5e1f4;
}

.sw-dashboard__account .nav-link:hover {
  background: #233756;
  color: #fff;
}

.sw-dashboard__account .upgrade .nav-link {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
  box-shadow: 0 4px 12px #0002;
}

.sw-dashboard>.subheader {
  background: #dce7f6;
  border-bottom: 1px solid #c6d7eb;
}

.sw-dashboard>.subheader h1 {
  text-transform: none;
  color: #162b50;
}

.sw-dashboard>.section.subheader .navbar-nav li a {
  color: #29466e !important;
  background: #ffffff70;
  border: 1px solid #c3d5eb;
  padding: 8px 11px;
  border-radius: 20px;
}

.sw-dashboard>.section.subheader .navbar-nav li a:hover {
  background: #fff;
  color: #0079c4 !important;
  border-color: #82bae0;
}

.sw-dashboard__heading {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 14px;
  background: linear-gradient(115deg, #122442, #234777);
  box-shadow: 0 10px 24px #172e5118;
}

.sw-dashboard__heading::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 28px solid #ffffff08;
  border-radius: 50%;
  right: -45px;
  top: -60px;
  pointer-events: none;
}

.sw-dashboard__heading .sw-incomplete__eyebrow {
  color: #91d8ff;
}

.sw-dashboard__heading h2 {
  color: #fff;
  font-size: 40px;
}

.sw-dashboard__heading h2 em {
  color: #72d3ff;
}

.sw-dashboard__heading>p:last-child {
  color: #c7d9f0;
}

.sw-dashboard__content .card {
  border-color: #c9d8eb;
  border-radius: 12px;
  box-shadow: 0 5px 18px #233e6310;
}

.sw-dashboard__content .card-header {
  background: #eef2fd;
  border-bottom-color: #dce3f3;
  color: #28345e;
}

.sw-dashboard__content .card-header>.fa {
  color: #596ba8;
}

.sw-dashboard__sidebar .card:has(a[href*="sort=online"]) {
  background: #183456;
  border-color: #183456;
}

.sw-dashboard__sidebar .card:has(a[href*="sort=online"]) .card-header {
  background: #132b49;
  border-color: #304b6d;
  color: #fff;
}

.sw-dashboard__sidebar .card:has(a[href*="sort=online"]) .card-header>.fa {
  color: #77d2ff;
}

.sw-dashboard__sidebar .card:has(a[href*="sort=online"]) .list li {
  border-color: #34506f;
}

.sw-dashboard__sidebar .card:has(a[href*="sort=online"]) .list a {
  color: #e0edff;
  padding: 11px 12px;
  border-radius: 6px;
}

.sw-dashboard__sidebar .card:has(a[href*="sort=online"]) .list a:hover {
  background: #294e77;
  color: #fff;
  text-decoration: none;
}

.sw-dashboard__content .hint-box {
  background: #d7edf7;
  color: #1e4964;
  border-left: 4px solid #08A5ED;
  text-align: left !important;
}

.sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-header {
  background: #e2f0ed;
  color: #205850;
}

.sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-header>.fa {
  color: #298675;
}

.sw-dashboard__content .col-md-8>.row>.col-12>.card,
.sw-dashboard__content .col-md-8>.row>.col-12>.card>.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.sw-dashboard__content .col-md-8 .card-body {
  padding: 0;
}

.sw-dashboard__content .col-md-8 .card-body>.row {
  margin: 0 -8px;
}

.sw-dashboard__content .col-md-8 .card-body>.row>.col-12 {
  padding: 0 8px;
}

.sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20 {
  height: calc(100% - 20px);
  padding: 10px 10px 15px;
  border: 1px solid #cddbeb;
  border-radius: 12px;
  background: #fafdff;
  box-shadow: 0 4px 14px #203b6210;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #203b6220;
}

.sw-dashboard__content .profile-image {
  border-radius: 8px;
  background: #dce6f3;
}

.sw-dashboard__content .info-container {
  padding: 12px 3px 0;
}

.sw-dashboard__content .info-container>a {
  color: #19375b;
}

.sw-dashboard__content .tagline {
  padding-top: 8px;
  border-top: 1px solid #e1e9f3;
  font-size: 12px;
}

.sw-dashboard>.sw-pagefoot {
  background: #e0e9f5;
  border-top-color: #c6d6e8;
}

@media (max-width: 575px) {
  .sw-dashboard__heading {
    padding: 22px 20px;
  }

  .sw-dashboard__heading h2 {
    font-size: 34px;
  }

  .sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20 {
    padding: 7px 7px 12px;
  }

  .sw-dashboard>.section.subheader .navbar-nav li a {
    font-size: 12px;
    padding: 7px 9px;
  }

  .sw-dashboard__content .info-container>a {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20 {
    transition: none;
  }

  .sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20:hover {
    transform: none;
  }
}

/* Curated dashboard layout, scoped to SecondWife only. */
.sw-dashboard--curated {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  background: #f4faff;
  min-height: 100vh;
}

.sw-dashboard--curated * {
  border-radius: 0 !important;
}

.sw-dashboard--curated .sw-dashrail {
  grid-column: 1;
  grid-row: 1/4;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 12px;
  min-height: 100vh;
  background: linear-gradient(135deg, #101f3d, #0c294a);
  color: #fff;
}

.sw-dashboard--curated .sw-dashrail>.sw-auth__brand {
  font-size: 29px;
  letter-spacing: -1px;
  padding: 0 6px;
  margin: 0 0 6px;
  color: #fff;
}

.sw-dashboard--curated .sw-dashrail nav {
  display: grid;
  gap: 7px;
}

.sw-dashboard--curated .sw-dashrail nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 12px;
  color: #e8f2ff;
  font-size: 16px;
  line-height: 1.35;
}

.sw-dashboard--curated .sw-dashrail nav a:hover {
  background: #ffffff13;
  text-decoration: none;
}

.sw-dashboard--curated .sw-dashrail nav .is-active {
  background: #08A5ED;
  color: #fff;
  box-shadow: 0 6px 16px #00172c40;
}

.sw-dashboard--curated .sw-dashrail nav i {
  width: 23px;
  text-align: center;
  font-size: 21px;
}

.sw-dashboard--curated .sw-dashrail .sw-dashrail__bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #ffffff24;
}

.sw-dashboard--curated>.sw-auth__top {
  grid-column: 2;
  grid-row: 1;
  background: #fff;
  border-bottom: 1px solid #dbe6f1;
}

.sw-dashboard--curated .sw-dashboard__top-inner {
  width: auto;
  min-height: 70px;
  margin: 0;
  padding: 12px 26px;
  flex-wrap: nowrap;
}

.sw-dashboard--curated .sw-dash-title {
  margin: 0;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--sw-navy);
  text-transform: uppercase;
}

.sw-dashboard--curated .sw-dashboard__account {
  width: auto;
}

.sw-dashboard--curated .sw-dashboard__account .nav-link {
  color: var(--sw-muted);
}

.sw-dashboard--curated .sw-dashboard__account .nav-link:hover {
  background: var(--sw-soft);
  color: var(--sw-blue-dark);
}

.sw-dashboard--curated .sw-dashboard__account .upgrade .nav-link {
  background: #08A5ED;
  color: #fff;
}

.sw-dashboard--curated .sw-dashboard__account .nav-item:not(.dropdown):has(a[href*="/user/"]),
.sw-dashboard--curated .sw-dashboard__account .nav-item:has(a[href*="/settings"]),
.sw-dashboard--curated .sw-dashboard__account .nav-item:has(a[href*="/signout"]),
.sw-dashboard--curated .sw-dashboard__account .nav-item:has(a[href*="/trustedmember"]),
.sw-dashboard--curated .sw-dashboard__account .nav-item:has(a[href*="/interests"]),
.sw-dashboard--curated .sw-dashboard__account .nav-item:has(a[href*="/search"]),
.sw-dashboard--curated .sw-dashboard__account .nav-item:has(a[href*="/requests"]) {
  display: none !important;
}

.sw-dashboard--curated>.sw-dashboard__content {
  grid-column: 2;
  grid-row: 2;
  padding: 0;
  background: linear-gradient(110deg, #f8fcff, #eff8ff);
}

.sw-dashboard--curated .sw-dashboard__content>.container {
  width: 100%;
  padding: 0;
}

.sw-dashboard--curated .sw-dashboard__content>.container>.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  margin: 0;
  gap: 0;
  align-items: start;
}

.sw-dashboard--curated .sw-dashboard__content>.container>.row>.col-md-8 {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  width: 100%;
  padding: 28px 24px;
  min-width: 0;
}

.sw-dashboard--curated .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
  grid-column: 2;
  grid-row: 1;
  order: 0;
  max-width: none;
  width: 100%;
  min-width: 0;
  align-self: stretch;
  margin: 0;
  padding: 22px 14px;
  background: #eaf5ff;
  border-left: 1px solid #e0edf8;
}

.sw-dashboard--curated .sw-dashboard__heading {
  margin: 0 0 22px;
  padding: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.sw-dashboard--curated .sw-dashboard__heading::after {
  display: none;
}

.sw-dashboard--curated .sw-dashboard__heading h2 {
  color: var(--sw-navy);
  font-size: 44px;
  text-align: left;
}

.sw-dashboard--curated .sw-dashboard__heading h2 em {
  color: #079cf0;
}

.sw-dashboard--curated .sw-dashboard__heading .sw-incomplete__eyebrow {
  color: #078fd8;
}

.sw-dashboard--curated .sw-dashboard__heading>p:last-child {
  color: var(--sw-muted);
  font-size: 17px;
}

.sw-dashboard--curated .sw-dash-searches {
  margin: 0 0 24px;
}

.sw-dashboard--curated .sw-dash-searches h3 {
  margin: 0 0 12px;
  padding: 0;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}

.sw-dashboard--curated .sw-dash-searches .list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.sw-dashboard--curated .sw-dash-searches .list li {
  border: 0;
}

.sw-dashboard--curated .sw-dash-searches .list li a {
  display: block;
  padding: 8px 12px;
  border: 1px solid #cddfeb;
  background: #fff;
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.4;
}

.sw-dashboard--curated .sw-dash-searches .list li:first-child a {
  padding: 8px 12px;
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-dashboard--curated .sw-dash-searches .list li a:hover {
  background: #e1f3ff;
  color: #0079c4;
  text-decoration: none;
}

.sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row>.col-12 {
  width: 100%;
  max-width: none;
  padding: 0;
  height: auto !important;
}

.sw-dashboard--curated .sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20 {
  height: 100%;
  margin: 0;
  padding: 8px 8px 14px;
  border: 1px solid #d7e6f4;
  background: #fff;
  box-shadow: 0 3px 10px #19345206;
}

.sw-dashboard--curated .sw-dashboard__content .profile-image {
  aspect-ratio: 1.16;
  background: #eef8ff;
}

.sw-dashboard--curated .sw-dashboard__content .profile-image img {
  object-fit: cover;
}

.sw-dashboard--curated .sw-dashboard__content .info-container {
  text-align: center;
  padding: 12px 2px 0;
}

.sw-dashboard--curated .sw-dashboard__content .info-container>a {
  font-size: 21px;
  font-weight: 700;
  color: var(--sw-navy);
}

.sw-dashboard--curated .sw-dashboard__content .location {
  font-size: 13px;
  line-height: 1.4;
}

.sw-dashboard--curated .sw-dashboard__content .tagline {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
  min-height: 40px;
}

.sw-dashboard--curated .sw-dashboard__content .top-overlay {
  justify-content: center;
}

.sw-dashboard--curated .sw-dashboard__content .badge {
  background: #152347e8;
}

.sw-dashboard--curated .sw-dashboard__sidebar .card {
  margin: 0 0 18px;
  border: 1px solid #d5e5f3;
  box-shadow: none;
  background: #fff;
}

.sw-dashboard--curated .sw-dashboard__sidebar .card-header {
  padding: 16px 12px;
  background: #fff;
  border-bottom: 1px solid #e5eef6;
  font-size: 21px;
  color: var(--sw-navy);
}

.sw-dashboard--curated .sw-dashboard__sidebar .card-header>.fa {
  color: #079cf0;
}

.sw-dashboard--curated .sw-dashboard__sidebar .card-body {
  padding: 18px 14px;
}

.sw-dashboard--curated .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-header {
  background: #fff;
  color: var(--sw-navy);
}

.sw-dashboard--curated .sw-dash-empty {
  padding: 18px 0;
  text-align: center;
  color: #b3c5da;
}

.sw-dashboard--curated .sw-dash-empty>i {
  display: block;
  margin-bottom: 20px;
  font-size: 54px;
}

.sw-dashboard--curated .sw-dash-empty p {
  font-size: 13px;
}

.sw-dashboard--curated .sw-dashboard__sidebar .hint-box {
  font-size: 14px;
  padding: 14px;
  background: #e1f3fc;
}

.sw-dashboard--curated>.sw-pagefoot {
  grid-column: 2;
  grid-row: 3;
  background: #fff;
  border-top: 1px solid #dce7f2;
  padding: 26px 24px 20px;
}

.sw-dashboard--curated .sw-pagefoot__wrap {
  width: 100%;
}

.sw-dashboard--curated .sw-pagefoot__brand {
  font-size: 30px;
}

.sw-dashboard--curated .sw-pagefoot__links a {
  font-size: 13px;
  padding: 0 10px;
}

@media (min-width: 1500px) {
  .sw-dashboard--curated {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.col-md-8 {
    padding: 32px;
  }

  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1150px) {
  .sw-dashboard--curated {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .sw-dashboard--curated .sw-dashrail>.sw-auth__brand {
    font-size: 26px;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.col-md-8 {
    padding: 24px 16px;
  }

  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sw-dashboard--curated .sw-dashboard__content>.container>.row {
    grid-template-columns: 1fr;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 16px;
    border-top: 1px solid #dce7f2;
    border-left: 0;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card {
    margin: 0;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card:has(.hint-box) {
    grid-column: 1/-1;
  }
}

@media (max-width: 600px) {
  .sw-dashboard--curated {
    display: flex;
    flex-direction: column;
  }

  .sw-dashboard--curated .sw-dashrail {
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }

  .sw-dashboard--curated .sw-dashrail>.sw-auth__brand {
    font-size: 29px;
  }

  .sw-dashboard--curated .sw-dashrail nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .sw-dashboard--curated .sw-dashrail nav a {
    padding: 8px 9px;
    gap: 7px;
    font-size: 13px;
  }

  .sw-dashboard--curated .sw-dashrail nav i {
    width: 16px;
    font-size: 16px;
  }

  .sw-dashboard--curated .sw-dashrail .sw-dashrail__bottom {
    margin: 0;
    padding: 10px 0 0;
  }

  .sw-dashboard--curated .sw-dashboard__top-inner {
    width: 100%;
    padding: 12px 16px;
    gap: 8px;
  }

  .sw-dashboard--curated .sw-dash-title {
    font-size: 24px;
  }

  .sw-dashboard--curated .sw-dashboard__account .nav-link {
    padding: 7px;
    font-size: 12px;
  }

  .sw-dashboard--curated .sw-dashboard__account .d-inline {
    display: none !important;
  }

  .sw-dashboard--curated .sw-dashboard__heading h2 {
    font-size: 36px;
  }

  .sw-dashboard--curated .sw-dashboard__heading>p:last-child {
    font-size: 15px;
  }

  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
    gap: 10px;
  }

  .sw-dashboard--curated .sw-dashboard__content .info-container>a {
    font-size: 19px;
  }

  .sw-dashboard--curated .sw-dashboard__content .location,
  .sw-dashboard--curated .sw-dashboard__content .tagline {
    font-size: 12px;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-template-columns: 1fr;
  }

  .sw-dashboard--curated>.sw-pagefoot {
    padding: 24px 16px;
  }
}

.sw-dashboard--curated .sw-dash-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 10px 2px 0;
  margin-top: 10px;
  border-top: 1px solid #e0ebf5;
}

.sw-dashboard--curated .sw-dash-stats .badge {
  padding: 0;
  background: transparent;
  color: #193457;
  font-size: 12px;
  white-space: nowrap;
}

.sw-dashboard--curated .sw-dash-stats .fa-map-marker {
  color: #079cf0;
}

.sw-dashboard--curated .sw-dashboard__sidebar .col-3>div {
  position: relative;
  overflow: hidden;
}

.sw-dashboard--curated .sw-dashboard__sidebar .card-header {
  font-size: 20px;
  line-height: 1.3;
}

.sw-dashboard--curated .sw-dashboard__content .tagline {
  border: 0;
  padding-top: 0;
  min-height: 38px;
}

@media (max-width: 600px) {
  .sw-dashboard--curated .sw-dash-stats .badge {
    font-size: 10px;
  }

  .sw-dashboard--curated .sw-dashboard__content .top-overlay .badge {
    font-size: 10px;
  }
}

.sw-dashboard--curated .corner-ribbon.sticky {
  position: absolute !important;
}

/* White editorial gallery dashboard. */
.sw-dashboard--editorial {
  display: flex;
  flex-direction: column;
  background: #f1f9ff;
  background-image: none;
  min-height: 100vh;
}

.sw-dashboard--editorial * {
  border-radius: 0 !important;
}

.sw-dashboard--editorial>.sw-auth__top {
  background: #fff;
  border-bottom: 1px solid #dce7f3;
}

.sw-dashboard--editorial .sw-auth__brand {
  color: var(--sw-navy);
}

.sw-dashboard--editorial .sw-auth__brand small {
  color: #079cf0;
}

.sw-dashboard--editorial .sw-dashboard__top-inner {
  width: min(100% - 48px, 1200px);
  min-height: 76px;
  flex-wrap: nowrap;
  margin: auto;
  padding: 12px 0;
}

.sw-dashboard--editorial .sw-dashboard__account {
  width: auto;
}

.sw-dashboard--editorial .sw-dashboard__account>.nav {
  flex-direction: row;
  justify-content: flex-end;
}

.sw-dashboard--editorial .sw-dashboard__account .nav-link {
  color: var(--sw-navy);
  font-size: 14px;
}

.sw-dashboard--editorial .sw-dashboard__account .nav-link:hover {
  background: #eaf8ff;
  color: #078fd8;
}

.sw-dashboard--editorial .sw-dashboard__account .upgrade .nav-link {
  background: #08A5ED;
  color: #fff;
}

.sw-dashboard--editorial>.subheader {
  padding: 13px 0;
  background: #0b2146;
  border-bottom: 0;
}

.sw-dashboard--editorial>.subheader .container,
.sw-dashboard--editorial .sw-dashboard__content>.container {
  width: min(100% - 48px, 1200px);
}

.sw-dashboard--editorial>.subheader h1 {
  color: #fff;
  font-size: 29px;
  text-transform: uppercase;
}

.sw-dashboard--editorial>.section.subheader .navbar-nav li a {
  padding: 6px 10px;
  background: transparent;
  border: 0;
  color: #fff !important;
  font-size: 14px;
}

.sw-dashboard--editorial>.section.subheader .navbar-nav li a:hover {
  background: #ffffff15;
  color: #85d7ff !important;
}

.sw-dashboard--editorial .sw-dashboard__content {
  padding: 28px 0 40px;
}

.sw-dashboard--editorial .sw-dashboard__content>.container>.row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px 16px;
  margin: 0;
  align-items: stretch;
}

.sw-dashboard--editorial .sw-dashboard__content>.container>.row>.col-md-8 {
  display: contents;
}

.sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  order: 0;
}

.sw-dashboard--editorial .sw-dashboard__heading {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid #dce9f6;
  box-shadow: none;
  align-self: stretch;
}

.sw-dashboard--editorial .sw-dashboard__heading::after {
  display: none;
}

.sw-dashboard--editorial .sw-dashboard__heading .sw-incomplete__eyebrow {
  color: #079cf0;
}

.sw-dashboard--editorial .sw-dashboard__heading h2 {
  margin: 8px 0 14px;
  color: var(--sw-navy);
  font-size: 50px;
  text-align: left;
}

.sw-dashboard--editorial .sw-dashboard__heading h2 em {
  color: #079cf0;
}

.sw-dashboard--editorial .sw-dashboard__heading>p:last-child {
  color: var(--sw-muted);
  font-size: 17px;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card {
  margin: 0;
  border: 1px solid #dce9f6;
  box-shadow: none;
  background: #fff;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-header,
.sw-dashboard--editorial .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-header {
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid #e4edf6;
  color: var(--sw-navy);
  font-size: 23px;
  line-height: 1.3;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-header>.fa,
.sw-dashboard--editorial .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-header>.fa {
  color: #079cf0;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body {
  padding: 14px 18px;
}

.sw-dashboard--editorial .sw-dash-empty {
  text-align: center;
  padding: 0;
}

.sw-dashboard--editorial .sw-dash-empty>i {
  display: none;
}

.sw-dashboard--editorial .sw-dash-empty p {
  margin: 0;
  font-size: 14px;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .hint-box {
  padding: 14px 18px;
  background: #e4f4ff;
}

.sw-dashboard--editorial .sw-dash-searches {
  grid-column: 1/-1;
  grid-row: 2;
  padding: 20px 22px;
  border: 1px solid #dce9f6;
  background: #fff;
}

.sw-dashboard--editorial .sw-dash-searches h3 {
  margin: 0 0 16px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 28px;
  letter-spacing: 0;
  color: var(--sw-navy);
  font-weight: 700;
}

.sw-dashboard--editorial .sw-dash-searches .list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sw-dashboard--editorial .sw-dash-searches .list li {
  border: 0;
}

.sw-dashboard--editorial .sw-dash-searches .list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 110px;
  padding: 16px 10px;
  border: 1px solid #dce9f6;
  background: #f5faff;
  color: var(--sw-navy);
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.sw-dashboard--editorial .sw-dash-searches .list li:first-child a {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-dashboard--editorial .sw-dash-searches .list li a::before {
  font: 32px/1 FontAwesome;
  content: "\f002";
  color: #079cf0;
}

.sw-dashboard--editorial .sw-dash-searches .list li:first-child a::before {
  color: #fff;
}

.sw-dashboard--editorial .sw-dash-searches .list li:nth-child(2) a::before {
  content: "\f006";
}

.sw-dashboard--editorial .sw-dash-searches .list li:nth-child(3) a::before {
  content: "\f234";
}

.sw-dashboard--editorial .sw-dash-searches .list li:nth-child(4) a::before {
  content: "\f041";
}

.sw-dashboard--editorial .sw-dash-searches .list li:nth-child(5) a::before {
  content: "\f06d";
}

.sw-dashboard--editorial .sw-dash-searches .list li a:hover {
  background: #e1f3ff;
  color: #0079c4;
  border-color: #8fc9ee;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8>.row {
  grid-column: 1/-1;
  grid-row: 3;
  margin: 0;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8>.row>.col-12 {
  padding: 0;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body {
  padding: 0;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row>.col-12 {
  width: 100%;
  max-width: none;
  padding: 0;
  height: auto !important;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20 {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 9px;
  border: 1px solid #dce9f6;
  background: #fff;
  box-shadow: none;
}

.sw-dashboard--editorial .sw-dashboard__content .profile-image {
  aspect-ratio: 1.32;
  background: #eef8ff;
  flex-shrink: 0;
}

.sw-dashboard--editorial .sw-dashboard__content .profile-image img {
  object-fit: cover;
}

.sw-dashboard--editorial .sw-dashboard__content .top-overlay {
  justify-content: space-between;
  flex-wrap: nowrap;
  top: 6px;
  left: 5px;
  right: 5px;
}

.sw-dashboard--editorial .sw-dashboard__content .badge {
  background: #162344e8;
  font-size: 11px;
  padding: 4px 5px;
}

.sw-dashboard--editorial .sw-dashboard__content .info-container {
  padding: 12px 3px 0;
  text-align: left;
}

.sw-dashboard--editorial .sw-dashboard__content .info-container>a {
  font-size: 22px;
  line-height: 1.15;
  color: var(--sw-navy);
}

.sw-dashboard--editorial .sw-dashboard__content .location {
  font-size: 14px;
  line-height: 1.35;
}

.sw-dashboard--editorial .sw-dashboard__content .tagline {
  margin-top: 5px;
  padding: 0;
  border: 0;
  font-size: 14px;
  line-height: 1.4;
  min-height: 38px;
}

.sw-dashboard--editorial .sw-dash-stats {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: auto;
  padding: 12px 5px 4px;
}

.sw-dashboard--editorial .sw-dash-stats .badge {
  padding: 0;
  background: none;
  color: #243d65;
  font-size: 13px;
}

.sw-dashboard--editorial .corner-ribbon.sticky {
  position: absolute !important;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .col-3>div {
  position: relative;
  overflow: hidden;
}

.sw-dashboard--editorial>.sw-pagefoot {
  background: #fff;
  border-top: 1px solid #dce9f6;
}

.sw-dashboard--editorial .sw-pagefoot__wrap {
  width: min(100% - 48px, 1200px);
}

@media (max-width: 1000px) {
  .sw-dashboard--editorial .sw-dashboard__top-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .sw-dashboard--editorial .sw-dashboard__account {
    width: 100%;
  }

  .sw-dashboard--editorial .sw-dashboard__account>.nav {
    justify-content: flex-start;
  }

  .sw-dashboard--editorial>.subheader .row>div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sw-dashboard--editorial .sw-dashboard__heading h2 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .sw-dashboard--editorial .sw-dashboard__content>.container>.row {
    grid-template-columns: 1fr;
  }

  .sw-dashboard--editorial .sw-dashboard__heading {
    grid-column: 1;
    grid-row: 1;
  }

  .sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: 1fr 1fr;
  }

  .sw-dashboard--editorial .sw-dashboard__sidebar .card:has(.hint-box) {
    grid-column: 1/-1;
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-dashboard--editorial .sw-dash-searches .list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sw-dashboard--editorial .sw-dash-searches .list li a {
    min-height: 95px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .sw-dashboard--editorial .sw-dashboard__top-inner,
  .sw-dashboard--editorial>.subheader .container,
  .sw-dashboard--editorial .sw-dashboard__content>.container,
  .sw-dashboard--editorial .sw-pagefoot__wrap {
    width: calc(100% - 32px);
  }

  .sw-dashboard--editorial .sw-dashboard__heading {
    padding: 22px 18px;
  }

  .sw-dashboard--editorial .sw-dashboard__heading h2 {
    font-size: 38px;
  }

  .sw-dashboard--editorial .sw-dash-searches {
    padding: 18px 14px;
  }

  .sw-dashboard--editorial .sw-dash-searches .list {
    gap: 8px;
  }

  .sw-dashboard--editorial .sw-dash-searches .list li a {
    padding: 12px 4px;
    font-size: 13px;
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
    gap: 10px;
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .col-md-4>.margin-bottom-20 {
    padding: 6px;
  }

  .sw-dashboard--editorial .sw-dashboard__content .info-container>a {
    font-size: 19px;
  }

  .sw-dashboard--editorial .sw-dashboard__content .location,
  .sw-dashboard--editorial .sw-dashboard__content .tagline {
    font-size: 12px;
  }

  .sw-dashboard--editorial .sw-dashboard__content .badge {
    font-size: 9px;
    padding: 3px;
  }

  .sw-dashboard--editorial .sw-dash-stats .badge {
    font-size: 11px;
  }

  .sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-template-columns: 1fr;
  }

  .sw-dashboard--editorial .sw-dashboard__account .nav-link {
    font-size: 12px;
    padding: 7px;
  }
}

.sw-dashboard--editorial .sw-dashboard__heading {
  align-self: start;
  min-height: 220px;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body>.row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body>.row>.col-3 {
  flex: 0 0 32px;
  max-width: 32px;
  padding: 0;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body>.row>.col-9 {
  flex: 1;
  max-width: none;
  padding: 0;
  min-width: 0;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body>.row img {
  width: 32px;
  height: 38px;
  object-fit: cover;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body>.row a {
  font-size: 13px;
  line-height: 1.2;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .location {
  font-size: 11px;
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card-body>p:last-child {
  grid-column: 1/-1;
  margin: 0;
}

@media (max-width: 480px) {
  .sw-dashboard--editorial .sw-dashboard__heading {
    min-height: 0;
  }
}

/* Keep saved and recently viewed panels in a compact right sidebar. */
.sw-dashboard--editorial .sw-dashboard__content>.container>.row {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
}

.sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
  grid-column: 2;
  grid-row: 1/4;
  align-self: start;
}

.sw-dashboard--editorial .sw-dashboard__heading {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  padding: 24px;
}

.sw-dashboard--editorial .sw-dash-searches {
  grid-column: 1;
  grid-row: 2;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8>.row {
  grid-column: 1;
  grid-row: 3;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sw-dashboard--editorial .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-body {
  grid-template-columns: 1fr;
}

.sw-dashboard--editorial .sw-dash-searches .list {
  gap: 8px;
}

.sw-dashboard--editorial .sw-dash-searches .list li a {
  font-size: 14px;
  padding: 14px 6px;
  min-height: 100px;
}

@media (min-width: 1500px) {

  .sw-dashboard--editorial .sw-dashboard__content>.container,
  .sw-dashboard--editorial>.subheader .container,
  .sw-dashboard--editorial .sw-dashboard__top-inner,
  .sw-dashboard--editorial .sw-pagefoot__wrap {
    max-width: 1440px;
    width: calc(100% - 64px);
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) and (min-width: 768px) {
  .sw-dashboard--editorial .sw-dashboard__content>.container>.row {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-dashboard--editorial .sw-dash-searches .list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sw-dashboard--editorial .sw-dashboard__content>.container>.row {
    grid-template-columns: 1fr;
  }

  .sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: 1fr 1fr;
  }

  .sw-dashboard--editorial .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-dashboard--editorial .sw-dash-searches .list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-template-columns: 1fr;
  }

  .sw-dashboard--editorial .sw-dash-searches .list li a {
    font-size: 13px;
  }

  .sw-dashboard--editorial .sw-dashboard__heading {
    padding: 22px 18px;
  }
}

/* Compact gallery heading and search shortcuts in one toolbar. */
.sw-dashboard--editorial .sw-dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
}

.sw-dashboard--editorial .sw-dash-toolbar h2 {
  margin: 0;
  font-size: 30px;
  white-space: nowrap;
}

.sw-dashboard--editorial .sw-dash-toolbar .sw-dash-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  flex: 1;
  justify-content: flex-end;
}

.sw-dashboard--editorial .sw-dash-searches__label {
  font-size: 12px;
  color: var(--sw-muted);
  white-space: nowrap;
}

.sw-dashboard--editorial .sw-dash-toolbar .sw-dash-searches .list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.sw-dashboard--editorial .sw-dash-toolbar .sw-dash-searches .list li a {
  display: block;
  min-height: 0;
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.sw-dashboard--editorial .sw-dash-toolbar .sw-dash-searches .list li a::before {
  display: none;
}

.sw-dashboard--editorial .sw-dashboard__content .col-md-8>.row {
  grid-row: 2;
}

.sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
  grid-row: 1/3;
}

@media (max-width: 767px) {
  .sw-dashboard--editorial .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-row: 3;
  }

  .sw-dashboard--editorial .sw-dash-toolbar .sw-dash-searches {
    justify-content: flex-start;
    flex-basis: 100%;
  }

  .sw-dashboard--editorial .sw-dash-toolbar {
    gap: 10px;
    padding: 14px;
  }
}

/* Mobile dashboard drawer and visible saved/recent panels. */
.sw-dash-mobile-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-dash-menu-toggle,
.sw-dash-menu-close,
.sw-dash-menu-backdrop {
  display: none;
}

@media (max-width: 767px) {
  .sw-dashboard--curated {
    display: flex;
    flex-direction: column;
  }

  .sw-dashboard--curated .sw-dash-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid #ccdeef;
    background: #f1f8ff;
    color: #13375e;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
  }

  .sw-dashboard--curated .sw-dashrail {
    position: fixed;
    z-index: 1101;
    inset: 0 auto 0 0;
    width: min(290px, 85vw);
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 16px;
    gap: 22px;
    visibility: hidden;
    transform: translateX(-100%);
    transition:
      transform 0.2s ease,
      visibility 0.2s;
    background: #102442;
    box-shadow: 8px 0 30px #0003;
  }

  .sw-dashboard--curated.sw-menu-open .sw-dashrail {
    visibility: visible;
    transform: translateX(0);
  }

  .sw-dashboard--curated .sw-dashrail>.sw-auth__brand {
    font-size: 29px;
    padding: 0 32px 0 0;
  }

  .sw-dashboard--curated .sw-dashrail nav {
    display: grid;
    gap: 7px;
  }

  .sw-dashboard--curated .sw-dashrail nav a {
    padding: 13px 12px;
    gap: 13px;
    font-size: 16px;
  }

  .sw-dashboard--curated .sw-dashrail nav i {
    font-size: 21px;
    width: 23px;
  }

  .sw-dashboard--curated .sw-dashrail .sw-dashrail__bottom {
    margin-top: auto;
    padding-top: 18px;
  }

  .sw-dashboard--curated .sw-dash-menu-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff40;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .sw-dashboard--curated .sw-dash-menu-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    z-index: 1100;
    inset: 0;
    width: 100%;
    height: 100dvh;
    border: 0;
    background: #06152c99;
    cursor: pointer;
  }

  .sw-dashboard--curated .sw-dashboard__top-inner {
    width: 100%;
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .sw-dashboard--curated .sw-dashboard__account {
    margin-left: auto;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.col-md-8 {
    display: contents;
  }

  .sw-dashboard--curated .sw-dashboard__heading {
    grid-row: 1;
    grid-column: 1;
    margin: 22px 16px 0;
  }

  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-row: 2;
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 18px 16px 0;
    border: 0;
    background: transparent;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card {
    min-width: 0;
    margin: 0;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card-header {
    font-size: 19px;
    padding: 12px 10px;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card-body {
    padding: 12px 10px;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card:has(.hint-box) {
    grid-column: 1/-1;
  }

  .sw-dashboard--curated .sw-dash-empty {
    padding: 8px 0;
  }

  .sw-dashboard--curated .sw-dash-empty>i {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .sw-dashboard--curated .sw-dash-empty p {
    font-size: 12px;
  }

  .sw-dashboard--curated .sw-dash-searches {
    grid-row: 3;
    grid-column: 1;
    margin: 18px 16px;
  }

  .sw-dashboard--curated .sw-dashboard__content .col-md-8>.row {
    grid-row: 4;
    grid-column: 1;
    margin: 0 16px 24px;
  }

  .sw-dashboard--curated .sw-dashboard__content .col-md-8>.row>.col-12 {
    padding: 0;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card-body>.row {
    margin-bottom: 10px;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card-body>.row>.col-3 {
    display: none;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card-body>.row>.col-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .card-body>.row a {
    font-size: 12px;
  }

  .sw-dashboard--curated .sw-dashboard__sidebar .location {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .sw-dashboard--curated .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-dashboard--curated .sw-dashrail {
    transition: none;
  }
}

/* Consistent member-card proportions and aligned details. */
.sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
  align-items: stretch;
}

.sw-dashboard--curated .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  margin: 0;
  border: 1px solid #d4e3f1;
  background: #fff;
  box-shadow: 0 3px 12px #17385708;
}

.sw-dashboard--curated .sw-member-card .profile-image {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  margin: 0;
  overflow: hidden;
  background: #edf6ff;
}

.sw-dashboard--curated .sw-member-card .profile-image>a {
  display: block;
  width: 100%;
  height: 100%;
}

.sw-dashboard--curated .sw-member-card .profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sw-dashboard--curated .sw-member-card .info-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 3px 12px;
  text-align: left;
  min-width: 0;
}

.sw-dashboard--curated .sw-member-card .info-container>a {
  display: block;
  min-height: 2.4em;
  font-family: var(--sw-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  color: #112a4b;
}

.sw-dashboard--curated .sw-member-card .location {
  min-height: 2.8em;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #526783;
  overflow-wrap: anywhere;
}

.sw-dashboard--curated .sw-dashboard__content .sw-member-card .tagline {
  min-height: 2.8em;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #62728a;
  overflow-wrap: anywhere;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  margin-top: auto;
  padding: 11px 3px 3px;
  border-top: 1px solid #e0eaf4;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .badge {
  padding: 0;
  background: none;
  color: #254464;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .fa {
  margin-right: 3px;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .fa-map-marker {
  color: #079cf0;
}

.sw-dashboard--curated .sw-member-card .top-overlay {
  top: 8px;
  left: 8px;
  right: 8px;
  justify-content: center;
}

.sw-dashboard--curated .sw-member-card .top-overlay .badge {
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card {
    padding: 7px;
  }

  .sw-dashboard--curated .sw-member-card .info-container {
    padding: 11px 2px 10px;
    gap: 6px;
  }

  .sw-dashboard--curated .sw-member-card .info-container>a {
    font-size: 20px;
  }

  .sw-dashboard--curated .sw-member-card .location,
  .sw-dashboard--curated .sw-dashboard__content .sw-member-card .tagline {
    font-size: 12px;
  }

  .sw-dashboard--curated .sw-member-card .sw-dash-stats {
    gap: 4px;
    padding: 10px 1px 3px;
  }

  .sw-dashboard--curated .sw-member-card .sw-dash-stats .badge {
    font-size: 10px;
  }

  .sw-dashboard--curated .sw-member-card .sw-dash-stats .fa {
    margin-right: 1px;
  }
}

/* Flat, square member cards with compact information and stat labels. */
.sw-dashboard--curated .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card,
.sw-dashboard--curated .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card:hover {
  padding: 8px;
  border: 1px solid #d1dfed;
  background: #fff;
  box-shadow: none;
  transform: none;
  transition: none;
  border-radius: 0 !important;
}

.sw-dashboard--curated .sw-member-card .profile-image {
  aspect-ratio: 1;
  box-shadow: none;
  border: 0;
  border-radius: 0 !important;
}

.sw-dashboard--curated .sw-member-card .top-overlay {
  top: 7px;
  right: 7px;
  left: 7px;
  justify-content: flex-end;
}

.sw-dashboard--curated .sw-member-card .top-overlay .badge {
  padding: 5px 7px;
  background: #142d4c;
  color: #fff;
  border: 0;
  box-shadow: none;
  font-weight: 500;
}

.sw-dashboard--curated .sw-member-card .info-container {
  padding: 12px 2px 10px;
  gap: 6px;
  text-align: left;
}

.sw-dashboard--curated .sw-member-card .info-container>a {
  min-height: 2.4em;
  font-family: var(--sw-font-body);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  color: #102846;
}

.sw-dashboard--curated .sw-member-card .location {
  min-height: 2.7em;
  font-size: 13px;
  line-height: 1.35;
  color: #526780;
}

.sw-dashboard--curated .sw-dashboard__content .sw-member-card .tagline {
  min-height: 2.8em;
  font-size: 13px;
  line-height: 1.4;
  color: #344d68;
}

.sw-dashboard--curated .sw-member-card .tagline i {
  font-style: normal;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  padding: 0 2px 3px;
  border: 0;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-distance {
  grid-column: 1/-1;
  justify-self: start;
  padding: 6px 8px;
  background: #08A5ED;
  color: #fff;
  font-family: var(--sw-font-body);
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
  text-align: left;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-distance .fa {
  color: #fff;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-count {
  display: block;
  padding: 7px 4px;
  background: #edf3f9;
  color: #203d5d;
  font-family: var(--sw-font-body);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

.sw-dashboard--curated .sw-member-card .corner-ribbon {
  box-shadow: none !important;
}

@media (max-width: 600px) {
  .sw-dashboard--curated .sw-member-card .info-container>a {
    font-size: 17px;
  }

  .sw-dashboard--curated .sw-member-card .sw-dash-stats {
    gap: 5px;
  }

  .sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-count,
  .sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-distance {
    font-size: 11px;
  }
}

/* Compact member gallery without reserved blank space between details. */
.sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.sw-dashboard--curated .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card {
  height: auto;
  min-height: 0;
  padding: 7px;
}

.sw-dashboard--curated .sw-member-card .profile-image {
  aspect-ratio: 1.2;
  max-height: 190px;
}

.sw-dashboard--curated .sw-member-card .info-container {
  padding: 9px 2px 8px;
  gap: 4px;
}

.sw-dashboard--curated .sw-member-card .info-container>a {
  min-height: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.sw-dashboard--curated .sw-member-card .location {
  min-height: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.sw-dashboard--curated .sw-dashboard__content .sw-member-card .tagline {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.35;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats {
  margin-top: 0;
  padding: 2px 2px 1px;
  gap: 5px;
  min-height: 0;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-distance {
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.25;
}

.sw-dashboard--curated .sw-member-card .sw-dash-stats .sw-member-count {
  padding: 5px 3px;
  font-size: 11px;
  line-height: 1.2;
}

.sw-dashboard--curated .sw-member-card .top-overlay .badge {
  padding: 4px 5px;
  font-size: 10px;
}

@media (min-width: 1500px) {
  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sw-dashboard--curated .sw-dashboard__content .col-md-8 .card-body>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-dashboard--curated .sw-member-card .profile-image {
    max-height: none;
    aspect-ratio: 1.15;
  }
}

.sw-dashboard--curated .sw-member-pagination {
  margin: 22px 0 4px;
}

.sw-dashboard--curated .sw-member-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.sw-dashboard--curated .sw-member-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #caddec;
  background: #fff;
  color: #16689d;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1;
  border-radius: 0;
  text-decoration: none;
}

.sw-dashboard--curated .sw-member-pagination .active .page-link {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-dashboard--curated .sw-member-pagination .disabled .page-link {
  color: #9aabba;
  background: #eef4f8;
  pointer-events: none;
}

.sw-dashboard--curated .sw-member-pagination .page-link:hover {
  border-color: #08A5ED;
}

/* SecondWife search: retain the shared form and result-card behavior. */
.sw-search>.sw-search__content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 26px 22px 36px;
  background: #f3faff;
}

.sw-search__content>.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sw-search__content>.container>.row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  align-items: start;
}

.sw-search__content>.container>.row>.col-12 {
  width: 100%;
  max-width: none;
  padding: 0;
  min-width: 0;
}

.sw-search .sw-search-filters {
  padding: 0;
  border: 1px solid #d4e3ef;
  background: #fff;
}

.sw-search-filters>summary {
  display: none;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 600;
  color: #183657;
  cursor: pointer;
}

.sw-search-filters .searchFields {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.sw-search .searchFields>li,
.sw-search #filter-menu>li {
  margin: 0;
  border-bottom: 1px solid #e2ecf5;
  background: #fff;
}

.sw-search .searchFieldHeader {
  padding: 13px 15px;
  background: #edf5fc;
  color: #183657;
  font-family: var(--sw-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sw-search .searchFieldBody {
  padding: 8px 15px;
  color: #526b89;
  font-family: var(--sw-font-body);
  font-size: 13px;
}

.sw-search .searchFieldEdit {
  padding: 12px 14px;
  color: #334e6c;
  font-family: var(--sw-font-body);
  font-size: 13px;
}

.sw-search .searchFieldEdit .col-12 {
  padding: 0;
}

.sw-search .savedSearches {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-search .savedSearches li {
  padding: 8px 0;
  border-bottom: 1px solid #e5eef5;
  font-size: 13px;
}

.sw-search a {
  color: #007ec7;
}

.sw-search .form-control {
  font-family: var(--sw-font-body);
  font-size: 14px;
  border: 1px solid #cbddeb;
  min-height: 36px;
  height: auto;
  background-color: #fff;
  color: #284565;
  box-shadow: none;
}

.sw-search .form-control:focus {
  border-color: #08A5ED;
  outline: 2px solid #078fe426;
}

.sw-search .btn-success {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-search .btn-dark {
  background: #183757;
  border-color: #183757;
  color: #fff;
}

.sw-search .btn {
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.sw-search input[type="checkbox"] {
  accent-color: #078fe4;
}

.sw-search .searchFields>.checkbox {
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  color: #334e6c;
}

.sw-search .searchFields>.checkbox label {
  margin: 0;
  cursor: pointer;
}

.sw-search .searchFields>select {
  width: calc(100% - 28px);
  margin: 8px 14px 14px;
}

.sw-search .searchFields>.form-group {
  margin: 0;
  padding: 0 10px 14px;
}

.sw-search .filter-label {
  display: block;
  background: #e7f2fc;
  color: #1c4266;
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 600;
}

.sw-search .searchFields .hint-box {
  margin: 0;
  padding: 12px 14px;
  background: #edf7ff;
  color: #4b6685;
  border: 0;
  font-size: 13px;
  line-height: 1.45;
}

.sw-search-filters>.card {
  margin: 0;
  border: 0;
  border-top: 1px solid #d4e3ef;
  box-shadow: none;
}

.sw-search-filters .card-header {
  padding: 13px 15px;
  background: #edf5fc;
  color: #183657;
  font-family: var(--sw-font-display);
  font-size: 22px;
  border-bottom: 1px solid #dce8f2;
}

.sw-search-filters .card-body {
  padding: 14px;
}

.sw-search-filters .list {
  margin: 0;
  padding-left: 16px;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.8;
}

.sw-search-intro {
  margin: 0 0 20px;
}

.sw-search-intro>p {
  margin: 0 0 7px;
  color: #078fd8;
  font-family: var(--sw-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.sw-search-intro h2 {
  margin: 0;
  padding: 0;
  color: var(--sw-navy);
  font-family: var(--sw-font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: left;
}

.sw-search-intro h2 em {
  color: #079cf0;
  font-style: normal;
}

.sw-search-results>.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  align-items: start;
}

.sw-search-results>.row>.col-12 {
  padding: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.sw-search .user-card {
  position: relative;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid #d2e2ef;
  background: #fff;
  color: #2c4764;
  box-shadow: none;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

.sw-search .user-card.premium-card {
  border-top: 3px solid #08A5ED;
  background: #fff;
}

.sw-search .user-card .form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.sw-search .user-card .form-row>.col-4,
.sw-search .user-card .form-row>.col-8 {
  padding: 0;
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  min-width: 0;
}

.sw-search .user-card .col-4>a,
.sw-search .user-card .col-4>a>div {
  display: block;
  position: relative;
  aspect-ratio: 1.2;
  overflow: hidden;
  background: #edf6ff;
}

.sw-search .user-card .col-4 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-search .user-card .col-8>a b {
  font-size: 18px;
  font-weight: 600;
  color: #102b4a;
  overflow-wrap: anywhere;
}

.sw-search .user-card .col-8 {
  padding: 0 3px 5px !important;
  overflow-wrap: anywhere;
}

.sw-search .user-card .col-8>i:not(.fa) {
  display: inline;
  font-size: 13px;
  font-style: normal;
  color: #536980;
}

.sw-search .user-card small {
  font-size: 12px;
  line-height: 1.4;
  color: #526b86;
}

.sw-search .user-card small b {
  font-weight: 400;
}

.sw-search .user-card .fa-check-circle.green {
  color: #17834d !important;
  font-size: 17px;
  vertical-align: middle;
}

.sw-search .user-card .badge {
  display: inline-block;
  margin: 6px 2px 0 0;
  padding: 6px 7px;
  background: #edf3fa;
  color: #203e60;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  vertical-align: middle;
}

.sw-search .user-card .badge a {
  color: inherit;
  cursor: pointer;
}

.sw-search .user-card .badge-danger {
  background: #fff0f0;
  color: #a52a2a;
}

.sw-search .user-card .corner-ribbon.sticky {
  position: absolute !important;
  box-shadow: none !important;
}

.sw-search .paginationBox {
  margin: 24px 0 0;
}

.sw-search .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sw-search .page-link {
  border: 1px solid #cbddeb;
  background: #fff;
  color: #1679b2;
  font-family: var(--sw-font-body);
  font-size: 14px;
  min-width: 34px;
  text-align: center;
}

.sw-search .page-item.active .page-link {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-search .page-item.disabled .page-link {
  color: #96a9bc;
  background: #edf4fa;
}

@media (min-width: 1350px) {
  .sw-search-results>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .sw-search__content>.container>.row {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
  }

  .sw-search>.sw-search__content {
    padding: 22px 16px;
  }

  .sw-search .user-card .badge {
    padding: 5px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .sw-search>.sw-search__content {
    padding: 20px 16px;
  }

  .sw-search__content>.container>.row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sw-search-filters>summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
  }

  .sw-search-filters>summary::after {
    content: "+";
  }

  .sw-search-filters[open]>summary::after {
    content: "\2212";
  }

  .sw-search .user-card .col-8>a b {
    font-size: 17px;
  }

  .sw-search-intro h2 {
    font-size: 32px;
  }
}

@media (max-width: 380px) {
  .sw-search-results>.row {
    grid-template-columns: 1fr;
  }
}

.sw-search .sw-search-legend {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #45627a;
}

.sw-search .sw-search-legend .fa {
  color: #17834d;
  margin-right: 4px;
}

.sw-search .user-card.premium-card {
  border: 1px solid #d2e2ef;
  border-top: 3px solid #08A5ED;
}

.sw-search .user-card .col-4>a {
  aspect-ratio: 1.2;
  max-height: 190px;
}

.sw-search .user-card .col-4>a>div {
  aspect-ratio: auto;
  height: 100%;
}

@media (min-width: 1100px) {
  .sw-search-results>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .sw-search-results>.row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sw-search .user-card::before {
  display: none;
}

.sw-search .user-card.premium-card::before {
  display: block;
  content: "\2605  Premium";
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: auto;
  left: auto;
  width: auto;
  padding: 4px 6px;
  background: #142d4c;
  color: #fff;
  font-family: var(--sw-font-body);
  font-size: 10px;
  line-height: 1.3;
  z-index: 2;
}

/* Search card alignment: fill photo width and keep premium within the photo. */
.sw-search-results>.row {
  align-items: stretch;
}

.sw-search-results>.row>.col-12 {
  display: flex;
  min-width: 0;
}

.sw-search .user-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 8px;
  border: 1px solid #d2e2ef;
}

.sw-search .user-card.premium-card {
  border: 1px solid #d2e2ef;
}

.sw-search .user-card .form-row {
  width: 100%;
  height: 100%;
  gap: 9px;
}

.sw-search .user-card .form-row>.col-4 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  margin: 0;
}

.sw-search .user-card .col-4>a {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.15;
  max-height: none;
  overflow: hidden;
}

.sw-search .user-card .col-4>a>div {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.sw-search .user-card .col-4 img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.sw-search .user-card .form-row>.col-8 {
  width: 100%;
  max-width: 100%;
  flex: 1 0 auto;
  line-height: 1.5;
  padding: 0 2px 4px !important;
}

.sw-search .user-card.premium-card::before {
  top: 15px;
  right: 15px;
  left: auto;
  bottom: auto;
  width: auto;
  max-width: calc(100% - 30px);
  padding: 4px 6px;
  background: #142d4c;
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
  z-index: 3;
  pointer-events: none;
}

.sw-search .user-card .corner-ribbon {
  z-index: 2;
}

.sw-search .user-card .col-8>a b {
  font-size: 17px;
  line-height: 1.25;
}

.sw-search .user-card small {
  display: inline-block;
  line-height: 1.5;
  margin: 3px 0;
}

@media (max-width: 767px) {
  .sw-search .user-card .col-4>a {
    aspect-ratio: 1.05;
  }

  .sw-search .user-card .col-8>a b {
    font-size: 16px;
  }

  .sw-search .user-card .col-8 {
    font-size: 13px;
  }

  .sw-search .user-card.premium-card::before {
    top: 13px;
    right: 13px;
    font-size: 9px;
  }
}

/* Match search gallery sizing and footer to the dashboard. */
.sw-search .sw-search-results>.row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.sw-search .user-card {
  height: auto;
  min-height: 0;
  padding: 7px;
  box-shadow: none;
}

.sw-search .user-card .form-row {
  height: auto;
  gap: 8px;
}

.sw-search .user-card .col-4>a {
  aspect-ratio: 1.2;
  max-height: 190px;
}

.sw-search .user-card .col-4>a>div {
  width: 100%;
  height: 100%;
}

.sw-search .user-card .col-8 {
  font-size: 12px;
  line-height: 1.35;
}

.sw-search .user-card .col-8>a b {
  font-size: 17px;
  line-height: 1.2;
}

.sw-search .user-card .col-8>i:not(.fa) {
  font-size: 12px;
  line-height: 1.35;
}

.sw-search .user-card small {
  font-size: 11px;
  line-height: 1.35;
  margin: 2px 0;
}

.sw-search .user-card .badge {
  padding: 5px 4px;
  font-size: 11px;
  margin-top: 5px;
}

.sw-search>.sw-pagefoot {
  grid-column: 2;
  grid-row: 3;
  background: #fff;
  border-top: 1px solid #dce7f2;
  padding: 26px 24px 20px;
  color: var(--sw-navy);
}

.sw-search .sw-pagefoot__wrap {
  width: 100%;
  margin: 0 auto;
}

.sw-search .sw-pagefoot__brand {
  font-size: 30px;
  color: var(--sw-navy);
}

.sw-search .sw-pagefoot__brand small {
  color: var(--sw-blue-dark);
}

.sw-search .sw-pagefoot__links a {
  font-size: 13px;
  padding: 0 10px;
  color: var(--sw-navy);
}

.sw-search .sw-pagefoot__links a:hover {
  color: var(--sw-blue-dark);
}

@media (min-width: 1500px) {
  .sw-search .sw-search-results>.row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .sw-search .sw-search-results>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sw-search .sw-search-results>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-search .user-card .col-4>a {
    max-height: none;
    aspect-ratio: 1.15;
  }

  .sw-search>.sw-pagefoot {
    padding: 24px 16px;
  }

  .sw-search .user-card .col-8>a b {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .sw-search .sw-search-results>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Search status badges: stacked, flat, and based on existing status classes. */
.sw-search .user-card .col-4 .corner-ribbon.sticky {
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  transform: none !important;
  background: #e4f4ff !important;
  color: #075d96 !important;
  border: 1px solid #9dcced;
  font-family: var(--sw-font-body);
  font-size: 10px !important;
  font-weight: 600;
  line-height: 1.3 !important;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0;
  box-shadow: none !important;
  text-shadow: none !important;
  z-index: 2;
}

.sw-search .user-card.premium-card .col-4 .corner-ribbon.sticky {
  top: 35px !important;
}

.sw-search .user-card .corner-ribbon::before,
.sw-search .user-card .corner-ribbon::after {
  display: none !important;
}

.sw-search .user-card .fa-check-circle.green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto !important;
  min-height: 20px;
  margin: 0 4px 5px 0;
  padding: 3px 5px;
  background: #e7f5ee;
  border: 1px solid #b7dfca;
  color: #177146 !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
  vertical-align: middle;
  white-space: nowrap;
}

.sw-search .user-card .fa-check-circle.green::after {
  content: "Verified";
  font-family: var(--sw-font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
}

@media (max-width: 767px) {
  .sw-search .user-card .col-4 .corner-ribbon.sticky {
    top: 5px !important;
    right: 5px !important;
    font-size: 9px !important;
    padding: 3px 5px !important;
  }

  .sw-search .user-card.premium-card .col-4 .corner-ribbon.sticky {
    top: 31px !important;
  }

  .sw-search .user-card .fa-check-circle.green {
    font-size: 10px;
    padding: 3px 4px;
  }

  .sw-search .user-card .fa-check-circle.green::after {
    font-size: 10px;
  }
}

/* Matching status labels, neatly stacked within the member photo. */
.sw-search .user-card.premium-card::before {
  top: 14px;
  right: 14px;
  min-width: 68px;
  padding: 5px 7px;
  box-sizing: border-box;
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.sw-search .user-card .col-4 .corner-ribbon.sticky {
  top: 6px !important;
  right: 6px !important;
  min-width: 68px !important;
  padding: 5px 7px !important;
  box-sizing: border-box;
  background: #08A5ED !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.sw-search .user-card.premium-card .col-4 .corner-ribbon.sticky {
  top: 32px !important;
}

@media (max-width: 767px) {
  .sw-search .user-card.premium-card::before {
    top: 13px;
    right: 13px;
    min-width: 60px;
    padding: 4px 6px;
    font-size: 9px;
  }

  .sw-search .user-card .col-4 .corner-ribbon.sticky {
    top: 5px !important;
    right: 5px !important;
    min-width: 60px !important;
    padding: 4px 6px !important;
    font-size: 9px !important;
  }

  .sw-search .user-card.premium-card .col-4 .corner-ribbon.sticky {
    top: 28px !important;
  }
}

/* Interests shares the search gallery and preserves all existing filters. */
.sw-interests .nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #d4e3ef;
  background: #fff;
}

.sw-interests .nav-links li {
  margin: 0;
  border-bottom: 1px solid #e1ecf5;
}

.sw-interests .nav-links li:last-child {
  border-bottom: 0;
}

.sw-interests .nav-links li a {
  display: block;
  padding: 13px 15px;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.4;
  color: #34516d;
  text-decoration: none;
}

.sw-interests .nav-links li.active a {
  background: #08A5ED;
  color: #fff;
  font-weight: 600;
}

.sw-interests .nav-links li:not(.active) a:hover {
  background: #eaf6ff;
  color: #0079c4;
}

.sw-interests .hint {
  padding: 24px;
  border: 1px solid #d5e4f0;
  background: #fff;
  color: #49627e;
  font-family: var(--sw-font-body);
  font-size: 15px;
}

.sw-interests .sw-search-results>.row:has(> .col-12 > .hint) {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .sw-interests .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
  }

  .sw-interests .nav-links li {
    border: 0;
  }

  .sw-interests .nav-links li a {
    padding: 8px 10px;
    border: 1px solid #d3e3f0;
    font-size: 13px;
  }
}

/* Private-album request management, using the existing request actions. */
.sw-requests .sw-search-results>.row {
  display: block;
  margin: 0;
}

.sw-requests .sw-search-results>.row>.col-12 {
  display: block;
  padding: 0;
}

.sw-requests .sw-search-results>.row>.sw-request-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sw-requests .hint-box {
  padding: 15px 18px;
  margin: 0 0 20px;
  border: 1px solid #cfe5f4;
  border-left: 3px solid #08A5ED;
  background: #e9f6ff;
  color: #365671;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.5;
}

.sw-requests .user-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  height: auto;
  align-items: start;
  overflow: hidden;
}

.sw-requests .user-card>a {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #edf6ff;
}

.sw-requests .user-card>a>div {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sw-requests .user-card>a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-requests .user-card .info-container {
  padding: 0;
  min-width: 0;
}

.sw-requests .username {
  margin: 0 0 9px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.sw-requests .username a {
  color: #163554;
}

.sw-requests .requests {
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4b6580;
}

.sw-requests .requests>a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin: 8px 6px 0 0;
  padding: 6px 10px;
  border: 1px solid #cbddeb;
  color: #1b4d73;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}

.sw-requests .requests>a.green {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff !important;
}

.sw-requests .requests>a.red {
  background: #fff3f3;
  border-color: #edcece;
  color: #a23232 !important;
}

.sw-requests .requests>a:hover {
  filter: brightness(0.96);
}

.sw-requests .user-card.premium-card::before {
  display: none;
}

.sw-requests .user-card.premium-card {
  border-top: 3px solid #08A5ED;
}

.sw-requests .user-card .corner-ribbon.sticky {
  position: absolute !important;
  box-shadow: none !important;
}

@media (max-width: 1100px) {
  .sw-requests .sw-search-results>.row>.sw-request-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sw-requests .user-card {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 12px;
    gap: 12px;
  }

  .sw-requests .username {
    font-size: 22px;
  }

  .sw-requests .hint-box {
    padding: 13px 14px;
    font-size: 14px;
  }
}

/* SecondWife profile presentation; shared profile behavior remains intact. */
.sw-profile>.sw-profile__content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  background: #f3faff;
  color: #173653;
}

.sw-profile__content>.section {
  padding: 24px;
}

.sw-profile__content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sw-profile__content>.profile-header {
  margin: 0;
  padding: 28px 24px;
  background: #e7f3fe;
  border-bottom: 1px solid #d2e4f3;
  color: #173653;
}

.sw-profile .profile-header>.container>.row {
  align-items: center;
}

.sw-profile .profile-header .col-md-3>div {
  position: relative;
  max-width: 220px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #dceaf6;
}

.sw-profile .profile-header #profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-profile .profile-header .corner-ribbon.sticky {
  position: absolute !important;
  box-shadow: none !important;
}

.sw-profile .pro-username {
  margin: 0 0 14px;
  color: #102847;
  font-family: var(--sw-font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sw-profile .pro-vip {
  margin: 0 0 8px 12px;
  padding: 6px 10px;
  background: #132e4e;
  color: #fff;
  border: 0;
  font-family: var(--sw-font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: none;
}

.sw-profile .profile-header .tagline {
  height: auto;
  min-height: 0;
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid #cddfed;
  border-left: 3px solid #08A5ED;
  background: #f8fcff;
  box-shadow: none;
  text-align: left;
}

.sw-profile .profile-header .tagline::before,
.sw-profile .profile-header .tagline::after {
  display: none;
}

.sw-profile .profile-header .tagline .tagline-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sw-profile .profile-header .tagline .tagline-view span[name="tagline"] {
  font-family: var(--sw-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: #3b5774;
  font-style: normal;
}

.sw-profile .profile-header .tagline .tagline-edit {
  position: static;
  height: auto;
}

.sw-profile .profile-header .tagline .tagline-edit input {
  max-width: calc(100% - 42px);
  padding: 9px 12px;
  background: #fff;
  color: #193b5e;
  border: 1px solid #c6dbed;
  font-family: var(--sw-font-body);
  font-size: 15px;
}

.sw-profile .profile-header .tagline .btn-edit i,
.sw-profile .profile-header .tagline .btn-edit .btn-txt {
  color: #0786cd;
}

.sw-profile .profile-data {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.sw-profile .profile-data>.row {
  margin: 0 -6px;
}

.sw-profile .profile-data>.row>div {
  padding: 0 6px;
}

.sw-profile .pro-title {
  margin: 0;
  padding: 11px 12px 4px;
  background: #fff;
  color: #5b718a;
  font-family: var(--sw-font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.sw-profile .pro-value {
  padding: 0 12px 12px;
  background: #fff;
  color: #173a5c;
  font-family: var(--sw-font-body);
  font-size: 16px;
  line-height: 1.4;
}

.sw-profile .pro-value a {
  color: #007ec7;
}

.sw-profile .pro-value .green {
  color: #17834d !important;
}

.sw-profile .profile-actions {
  margin: 0;
  padding: 10px 14px;
  list-style: none;
  border: 1px solid #d4e3ef;
  background: #fff;
}

.sw-profile .profile-actions li {
  margin: 0;
  padding: 0;
}

.sw-profile .profile-actions li a {
  display: block;
  padding: 10px 0;
  color: #166591;
  font-family: var(--sw-font-body);
  font-size: 14px;
  cursor: pointer;
}

.sw-profile .profile-actions li a:hover {
  color: #078fe4;
}

.sw-profile .profile-section {
  margin: 0 0 16px;
  border: 1px solid #d4e3ef;
  background: #fff;
  box-shadow: none;
}

.sw-profile .profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  background: #edf5fc;
  border-bottom: 1px solid #dce8f2;
}

.sw-profile .profile-section-head h2 {
  margin: 0;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  color: #173653;
  letter-spacing: 0;
  text-align: left;
}

.sw-profile .profile-section-view {
  padding: 15px;
  color: #455f7a;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.sw-profile .profile-section-view p {
  font-family: inherit;
  color: inherit;
  line-height: 1.6;
}

.sw-profile .profile-section-edit {
  font-family: var(--sw-font-body);
  font-size: 14px;
  color: #3d5771;
  background: #fff;
  box-shadow: none;
}

.sw-profile .btn-edit {
  padding: 5px 8px;
  border: 1px solid #c6dfef;
  background: #fff;
  color: #087fc0;
  font-family: var(--sw-font-body);
  font-size: 12px;
  cursor: pointer;
}

.sw-profile .form-control {
  border: 1px solid #caddec;
  background-color: #fff;
  color: #244562;
  font-family: var(--sw-font-body);
  font-size: 14px;
  box-shadow: none;
}

.sw-profile .btn {
  font-family: var(--sw-font-body);
  font-size: 14px;
}

.sw-profile .btn-success,
.sw-profile .btn-primary {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-profile #profileTab {
  gap: 6px;
  border-bottom: 1px solid #ccdfee;
  flex-wrap: wrap;
}

.sw-profile #profileTab .nav-link {
  padding: 11px 18px;
  border: 1px solid #d4e3ef;
  background: #eaf4fc;
  color: #385a7b;
  font-family: var(--sw-font-body);
  font-size: 15px;
}

.sw-profile #profileTab .nav-link.active {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-profile .card-tab {
  margin: 0;
  border: 1px solid #d4e3ef;
  border-top: 0;
  background: #fff;
  box-shadow: none;
}

.sw-profile .card-tab>.card-body {
  padding: 20px;
}

.sw-profile .card-tab .profile-section {
  border: 0;
  margin-bottom: 18px;
}

.sw-profile .card-tab h3 {
  font-family: var(--sw-font-display);
  font-size: 26px;
  color: #173653;
  text-align: left;
  letter-spacing: 0;
}

.sw-profile .hint-box {
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid #cfe4f3;
  background: #eaf6ff;
  color: #3d5f7d;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.5;
}

.sw-profile .progress {
  background: #dceaf6;
}

.sw-profile .progress-bar {
  background: #08A5ED;
}

.sw-profile .admin-tools {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 24px 24px;
  max-width: 100%;
}

.sw-profile .admin-tools .card {
  border: 1px solid #d4e3ef;
  box-shadow: none;
}

.sw-profile .admin-tools .table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 1000px) {
  .sw-profile .pro-username {
    font-size: 30px;
  }

  .sw-profile .pro-value {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .sw-profile>.sw-profile__content {
    width: 100%;
  }

  .sw-profile__content>.section {
    padding: 20px 16px;
  }

  .sw-profile__content>.profile-header {
    padding: 22px 16px;
  }

  .sw-profile .profile-header .col-md-3>div {
    width: 160px;
    margin: 0 auto 20px;
  }

  .sw-profile .pro-username {
    font-size: 30px;
  }

  .sw-profile .profile-data>.row {
    row-gap: 10px;
  }

  .sw-profile .card-tab>.card-body {
    padding: 15px;
  }

  .sw-profile #profileTab .nav-link {
    padding: 9px 14px;
  }

  .sw-profile .admin-tools {
    margin: 0 16px 20px;
  }
}

/* Profile refresh: a distinct navy hero and cleaner information panels. */
.sw-profile__content>.profile-header {
  position: relative;
  margin: 24px 24px 0;
  padding: 28px;
  background: #132b49 !important;
  border: 0 !important;
  color: #fff;
}

.sw-profile .profile-header>.container>.row {
  align-items: stretch;
}

.sw-profile .profile-header .col-md-3 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-profile .profile-header .col-md-3>div {
  width: 100%;
  max-width: 210px;
  border: 6px solid #ffffff15;
  background: #223e60;
  aspect-ratio: 1;
}

.sw-profile .profile-header .col-md-9 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.sw-profile .pro-username {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.15;
  color: #fff;
}

.sw-profile .pro-vip {
  padding: 7px 11px;
  border: 1px solid #08A5ED;
  background: #08A5ED;
  color: #fff;
  letter-spacing: 0.3px;
}

.sw-profile .profile-header .tagline {
  margin: 0 0 22px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #ffffff20;
  background: transparent;
}

.sw-profile .profile-header .tagline .tagline-view span[name="tagline"] {
  color: #d6e5f5;
  font-size: 17px;
}

.sw-profile .profile-header .tagline .btn-edit {
  border-color: #54718f;
  background: #254465;
  color: #fff;
}

.sw-profile .profile-header .tagline .btn-edit i,
.sw-profile .profile-header .tagline .btn-edit .btn-txt {
  color: #9bdcff;
}

.sw-profile .pro-title {
  padding: 12px 14px 5px;
  background: #25415f;
  color: #a9c6df;
  font-size: 11px;
  letter-spacing: 1px;
}

.sw-profile .pro-value {
  padding: 0 14px 13px;
  background: #25415f;
  color: #fff;
  font-size: 17px;
  min-height: 38px;
}

.sw-profile .pro-value a {
  color: #79d4ff;
}

.sw-profile .pro-value .green {
  color: #81e0ae !important;
}

.sw-profile .profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #d4e3ef;
}

.sw-profile .profile-actions li:has(a) {
  min-width: 0;
}

.sw-profile .profile-actions li:not(:has(a)) {
  display: none;
}

.sw-profile .profile-actions li a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  background: #edf6ff;
  border: 1px solid #d6e7f5;
  color: #214e73;
  font-size: 13px;
  line-height: 1.35;
  height: 100%;
}

.sw-profile .profile-actions li:first-child {
  grid-column: 1/-1;
}

.sw-profile .profile-actions li:first-child a {
  justify-content: center;
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.sw-profile .profile-actions li a:hover {
  background: #e0effc;
  color: #007ac1;
  text-decoration: none;
}

.sw-profile .profile-actions li:first-child a:hover {
  background: #08A5ED;
  color: #fff;
}

.sw-profile .profile-section {
  border: 1px solid #d7e4ef;
  margin-bottom: 14px;
}

.sw-profile .profile-section-head {
  padding: 15px 16px;
  background: #fff;
  border: 0;
  border-bottom: 2px solid #e8f1f9;
}

.sw-profile .profile-section-head h2 {
  font-size: 26px;
  color: #153859;
}

.sw-profile .profile-section-head h2::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 20px;
  background: #08A5ED;
  margin-right: 10px;
  vertical-align: -1px;
}

.sw-profile .profile-section-view {
  padding: 16px;
}

.sw-profile .p_table.inline>.clearfix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
}

.sw-profile .p_table.inline>.clearfix:last-child {
  border-bottom: 0;
}

.sw-profile .p_table .p_title {
  float: none !important;
  color: #6b7f94;
  font-size: 12px;
  font-weight: 500;
}

.sw-profile .p_table .p_value {
  margin: 0;
  color: #234563;
  font-size: 14px;
}

.sw-profile #profileTab {
  gap: 0;
  padding: 5px;
  background: #dfedf9;
  border: 1px solid #d0e2f1;
}

.sw-profile #profileTab .nav-item {
  flex: 1;
  text-align: center;
}

.sw-profile #profileTab .nav-link {
  border: 0;
  background: transparent;
  color: #3c5e7c;
  font-size: 16px;
  font-weight: 600;
}

.sw-profile #profileTab .nav-link.active {
  background: #fff;
  color: #0786cd;
  border-bottom: 3px solid #08A5ED;
}

.sw-profile .card-tab {
  border: 1px solid #d0e2f1;
  border-top: 0;
}

.sw-profile .card-tab>.card-body {
  padding: 22px;
}

.sw-profile .card-tab .profile-section {
  padding: 0 0 12px;
  border-bottom: 1px solid #e0ebf5;
}

.sw-profile .card-tab .profile-section-head {
  padding: 12px 0;
  background: transparent;
}

.sw-profile .card-tab .profile-section-view {
  padding: 16px 0;
}

.sw-profile .card-tab .p_table:not(.inline)>.clearfix {
  margin: 0 0 18px;
}

.sw-profile .card-tab .p_table:not(.inline) .p_title {
  margin-bottom: 7px;
  color: #0784c7;
  font-size: 14px;
  font-weight: 600;
}

.sw-profile .card-tab .p_table:not(.inline) .p_value {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .sw-profile .pro-username {
    font-size: 34px;
  }

  .sw-profile .profile-actions {
    grid-template-columns: 1fr;
  }

  .sw-profile .profile-actions li:first-child {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .sw-profile__content>.profile-header {
    margin: 16px 16px 0;
    padding: 22px 18px;
  }

  .sw-profile .profile-header .col-md-3>div {
    max-width: 165px;
    margin: 0 auto 20px;
  }

  .sw-profile .pro-username {
    font-size: 32px;
  }

  .sw-profile .pro-vip {
    font-size: 11px;
    padding: 6px 8px;
  }

  .sw-profile .profile-header .tagline .tagline-view span[name="tagline"] {
    font-size: 15px;
  }

  .sw-profile .profile-data>.row {
    row-gap: 8px;
  }

  .sw-profile .pro-value {
    font-size: 15px;
  }

  .sw-profile .profile-actions {
    grid-template-columns: 1fr 1fr;
  }

  .sw-profile .profile-actions li:first-child {
    grid-column: 1/-1;
  }

  .sw-profile .card-tab>.card-body {
    padding: 16px;
  }
}

/* Simple, readable profile with light surfaces. */
.sw-profile__content>.profile-header {
  margin: 20px 24px 0;
  padding: 24px;
  background: #fff !important;
  border: 1px solid #d9e5ef !important;
  color: #183653;
}

.sw-profile .profile-header .col-md-3>div {
  max-width: 180px;
  border: 0;
  background: #edf6fc;
}

.sw-profile .pro-username {
  margin: 0 0 12px;
  font-size: 34px;
  color: #112b48;
}

.sw-profile .pro-vip {
  padding: 5px 9px;
  border: 1px solid #cce1f1;
  background: #edf7ff;
  color: #087cba;
  font-size: 12px;
  letter-spacing: 0;
}

.sw-profile .profile-header .tagline {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.sw-profile .profile-header .tagline .tagline-view span[name="tagline"] {
  font-size: 16px;
  color: #536a81;
  line-height: 1.6;
}

.sw-profile .profile-header .tagline .btn-edit {
  border-color: #d1e3ef;
  background: #fff;
  color: #0784c7;
}

.sw-profile .profile-header .tagline .btn-edit i,
.sw-profile .profile-header .tagline .btn-edit .btn-txt {
  color: #0784c7;
}

.sw-profile .pro-title {
  padding: 10px 12px 4px;
  background: #f4f8fc;
  color: #718399;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.sw-profile .pro-value {
  padding: 0 12px 10px;
  min-height: 32px;
  background: #f4f8fc;
  color: #244561;
  font-size: 15px;
}

.sw-profile .pro-value a {
  color: #0784c7;
}

.sw-profile .pro-value .green {
  color: #17834d !important;
}

.sw-profile .profile-section-head {
  padding: 13px 16px;
  border-bottom: 1px solid #e7eef5;
  background: #fff;
}

.sw-profile .profile-section-head h2 {
  font-size: 23px;
  font-weight: 600;
  color: #25445f;
}

.sw-profile .profile-section-head h2::before {
  display: none;
}

.sw-profile .profile-section-view {
  padding: 14px 16px;
}

.sw-profile .profile-actions {
  display: block;
  padding: 5px 15px;
  background: #fff;
}

.sw-profile .profile-actions li a {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  background: transparent;
  color: #315875;
  font-size: 14px;
}

.sw-profile .profile-actions li:last-child a {
  border-bottom: 0;
}

.sw-profile .profile-actions li:first-child a {
  justify-content: flex-start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  color: #0784c7;
  font-size: 14px;
  font-weight: 500;
}

.sw-profile .profile-actions li a:hover,
.sw-profile .profile-actions li:first-child a:hover {
  background: transparent;
  color: #006fae;
}

.sw-profile #profileTab {
  padding: 0;
  gap: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d2e3f0;
}

.sw-profile #profileTab .nav-item {
  flex: 0 0 auto;
}

.sw-profile #profileTab .nav-link {
  padding: 12px 22px;
  background: transparent;
  color: #64788e;
  font-size: 15px;
  font-weight: 500;
}

.sw-profile #profileTab .nav-link.active {
  background: #fff;
  color: #0784c7;
  border-bottom: 2px solid #08A5ED;
}

.sw-profile .card-tab>.card-body {
  padding: 20px;
}

.sw-profile .card-tab .profile-section-head {
  padding: 8px 0 12px;
}

.sw-profile .card-tab .p_table:not(.inline) .p_title {
  color: #3a5873;
  font-size: 14px;
  font-weight: 600;
}

.sw-profile .card-tab .p_table:not(.inline) .p_value {
  color: #536a80;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .sw-profile__content>.profile-header {
    margin: 16px 16px 0;
    padding: 20px 16px;
  }

  .sw-profile .profile-header .col-md-3>div {
    max-width: 145px;
  }

  .sw-profile .pro-username {
    font-size: 29px;
  }

  .sw-profile .pro-value {
    font-size: 14px;
  }

  .sw-profile .profile-actions {
    display: block;
  }

  .sw-profile #profileTab .nav-link {
    padding: 11px 17px;
  }

  .sw-profile .card-tab>.card-body {
    padding: 16px;
  }
}

/* Profile lower layout: contained columns and consistent completion panels. */
.sw-profile {
  max-width: 100%;
  min-width: 0;
}

.sw-profile>.sw-auth__top,
.sw-profile>.sw-pagefoot,
.sw-profile__content {
  min-width: 0;
  max-width: 100%;
}

.sw-profile .sw-dashboard__top-inner {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.sw-profile .sw-dashboard__account {
  min-width: 0;
}

.sw-profile .sw-dashboard__account>.nav {
  flex-wrap: wrap;
}

.sw-profile__content>.section-slim {
  padding: 22px 24px 30px;
}

.sw-profile__content>.section-slim>.container>.row {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  align-items: start;
}

.sw-profile__content>.section-slim>.container>.row>.col-12 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

.sw-profile__content>.section-slim>.container>.row>.col-md-4>.row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.sw-profile__content>.section-slim>.container>.row>.col-md-4>.row>.col-12 {
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

.sw-profile .profile-clean-edit>.profile {
  margin: 0;
}

.sw-profile .profile-clean-edit .profile-section {
  margin-bottom: 14px;
}

.sw-profile #main-profile,
.sw-profile #profileTabContent,
.sw-profile .tab-pane,
.sw-profile .card-body {
  min-width: 0;
  max-width: 100%;
}

.sw-profile .profile-section {
  min-width: 0;
  max-width: 100%;
}

.sw-profile .profile-section-view,
.sw-profile .profile-section-edit {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sw-profile__content>.section-slim .hint-box.col-12 {
  width: 100%;
  margin: 0;
  padding: 17px !important;
  background: #fff;
  border: 1px solid #d6e4ef;
}

.sw-profile__content>.section-slim .hint-box>p {
  margin: 0 0 9px;
  font-family: var(--sw-font-body);
  color: #4d6680;
  font-size: 14px;
  line-height: 1.4;
}

.sw-profile__content>.section-slim .hint-box>p:first-child {
  color: #1c3c59;
  font-family: var(--sw-font-display);
  font-size: 22px;
  font-weight: 600;
}

.sw-profile__content>.section-slim .hint-box .progress {
  height: 18px;
  margin: 12px 0 0;
}

.sw-profile__content>.section-slim .hint-box .striped-rows {
  width: 100%;
  padding: 0;
}

.sw-profile__content>.section-slim .hint-box .striped-rows>.row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid #e9eff5;
  background: transparent;
  align-items: center;
  font-size: 12px;
}

.sw-profile__content>.section-slim .hint-box .striped-rows>.row:first-child {
  border: 0;
}

.sw-profile__content>.section-slim .hint-box .striped-rows>.row>div {
  padding: 0;
  min-width: 0;
}

.sw-profile__content>.section-slim .hint-box .striped-rows>.row>.col {
  flex: 1 1 110px;
}

.sw-profile__content>.section-slim .hint-box .striped-rows>.row>.col-3 {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.sw-profile__content>.section-slim .hint-box .striped-rows p {
  font-family: var(--sw-font-body);
  font-size: 13px;
  color: #34536f;
  white-space: normal !important;
  line-height: 1.3;
}

.sw-profile__content>.section-slim .hint-box .striped-rows small {
  font-size: 11px;
  line-height: 1.3;
}

.sw-profile__content>.section-slim .hint-box .striped-rows .fa-2x {
  font-size: 19px;
}

.sw-profile__content>.section-slim .hint-box .striped-rows .btn {
  padding: 6px 9px;
  min-height: 30px;
  height: auto;
  font-size: 12px;
  line-height: 1.3;
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-profile .p_table.inline>.clearfix {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
}

.sw-profile .p_table .p_title,
.sw-profile .p_table .p_value {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sw-profile #profileTab {
  margin: 0;
}

.sw-profile .card-tab>.card-body {
  padding: 20px 22px;
}

.sw-profile .card-tab .profile-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.sw-profile .card-tab .p_table:not(.inline)>.clearfix {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid #edf2f7;
}

.sw-profile .card-tab .p_table:not(.inline)>.clearfix:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border: 0;
}

@media (max-width: 1000px) {
  .sw-profile__content>.section-slim>.container>.row {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .sw-profile__content>.section-slim {
    padding: 18px 16px 24px;
  }

  .sw-profile__content>.section-slim>.container>.row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .sw-profile .card-tab>.card-body {
    padding: 16px;
  }
}

/* Contain the profile hero within the available screen width. */
.sw-profile__content>.profile-header {
  width: auto !important;
  max-width: calc(100% - 48px);
  box-sizing: border-box;
}

.sw-profile .profile-header>.container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sw-profile .profile-header>.container>.row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  width: 100%;
  min-width: 0;
  align-items: center;
}

.sw-profile .profile-header>.container>.row>.col-12 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

.sw-profile .profile-header .col-md-3>div {
  width: 100%;
  max-width: 180px;
  margin: 0;
}

.sw-profile .profile-header .col-md-9>.clearfix,
.sw-profile .profile-header .col-md-9>.clearfix>div,
.sw-profile .profile-data {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sw-profile .pro-username {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sw-profile .profile-header .tagline,
.sw-profile .profile-header .tagline-view {
  max-width: 100%;
  min-width: 0;
}

.sw-profile .profile-header .tagline-view span[name="tagline"] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sw-profile .profile-header .tagline-view .btn-edit {
  flex: 0 0 auto;
}

.sw-profile .profile-data>.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  width: 100%;
}

.sw-profile .profile-data>.row>div {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  background: #f4f8fc;
}

.sw-profile .pro-title,
.sw-profile .pro-value {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
  .sw-profile .profile-header>.container>.row {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
  }

  .sw-profile .profile-data>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sw-profile__content>.profile-header {
    max-width: calc(100% - 32px);
  }

  .sw-profile .profile-header>.container>.row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sw-profile .profile-header .col-md-3>div {
    width: 145px;
    max-width: 100%;
    margin: 0 auto;
  }

  .sw-profile .profile-data>.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Correct legacy fixed label widths and use the main column for details. */
.sw-profile__content>.profile-header {
  display: block !important;
  float: none !important;
  width: calc(100% - 48px) !important;
  max-width: none !important;
  min-width: 0;
  margin: 20px 24px 0;
  box-sizing: border-box;
}

.sw-profile .profile-header>.container {
  display: block;
  width: 100% !important;
  max-width: none !important;
}

.sw-profile .p_table.inline div .p_title {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.sw-profile .p_table.inline div .p_value {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: left;
}

.sw-profile .p_table.inline>.clearfix {
  display: grid;
  grid-template-columns: minmax(90px, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
  padding: 9px 0;
  align-items: start;
}

.sw-profile .p_table.inline .p_match {
  position: static;
  grid-column: 2;
  justify-self: end;
}

.sw-profile #main-profile+.profile-clean-edit {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-top: 18px;
}

.sw-profile #main-profile+.profile-clean-edit>.profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.sw-profile #main-profile+.profile-clean-edit .profile-section {
  margin: 0;
  min-width: 0;
}

.sw-profile #main-profile+.profile-clean-edit .profile-section[data-area="location"] {
  grid-column: 1/-1;
}

@media (max-width: 1100px) {
  .sw-profile #main-profile+.profile-clean-edit>.profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sw-profile__content>.profile-header {
    width: calc(100% - 32px) !important;
    margin: 16px 16px 0;
  }

  .sw-profile #main-profile+.profile-clean-edit>.profile {
    grid-template-columns: 1fr;
  }

  .sw-profile .p_table.inline>.clearfix {
    grid-template-columns: minmax(100px, 0.85fr) minmax(0, 1.15fr);
  }
}

/* Aligned tagline editor and compact media tabs. */
.sw-profile .profile-header .tagline.editing .tagline-view {
  display: none;
}

.sw-profile .profile-header .tagline .tagline-edit {
  display: none;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: 100%;
}

.sw-profile .profile-header .tagline.editing .tagline-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.sw-profile .profile-header .tagline .tagline-edit input {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cbddeb;
  background: #fff;
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
  box-sizing: border-box;
}

.sw-profile .profile-header .tagline .tagline-edit span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid #08A5ED;
  background: #08A5ED;
  color: #fff;
  font-size: 15px;
  font-style: normal;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
}

.sw-profile .profile-header .tagline .tagline-edit span:hover {
  background: #08A5ED;
  border-color: #08A5ED;
}

.sw-profile .profile-header .tagline .tagline-view {
  min-height: 32px;
  align-items: center;
}

.sw-profile .profile-header .tagline .btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .sw-profile .profile-header .tagline.editing .tagline-edit {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 6px;
  }

  .sw-profile .profile-header .tagline .tagline-edit input,
  .sw-profile .profile-header .tagline .tagline-edit span {
    height: 36px;
  }

  .sw-profile .profile-header .tagline .tagline-edit span {
    width: 36px;
  }
}

/* Readable photo/video guidance text without heavy heading typography. */
.sw-profile #tab-photos .hint-box,
.sw-profile #tab-videos .hint-box {
  padding: 12px 15px;
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: #46627c;
}

.sw-profile #tab-photos .hint-box p,
.sw-profile #tab-videos .hint-box p,
.sw-profile #tab-photos .hint-box b,
.sw-profile #tab-videos .hint-box b,
.sw-profile #tab-photos .hint-box strong,
.sw-profile #tab-videos .hint-box strong {
  margin: 0 0 7px;
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: #46627c;
}

.sw-profile #tab-photos .hint-box p:last-child,
.sw-profile #tab-videos .hint-box p:last-child {
  margin-bottom: 0;
}

.sw-profile #tab-photos .hint-box a,
.sw-profile #tab-videos .hint-box a {
  font-size: inherit;
  font-weight: 500;
  color: #0784c7;
}

/* Keep profile attributes in the left sidebar and make edit controls visible. */
.sw-profile .profile-clean-edit {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.sw-profile .profile-clean-edit>.profile {
  display: block;
  margin: 0;
}

.sw-profile .profile-clean-edit .profile-section {
  margin: 0 0 14px;
}

.sw-profile .profile-clean-edit .p_table.inline>.clearfix {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 0;
}

.sw-profile .profile-clean-edit .p_table.inline div .p_title {
  font-size: 12px;
  color: #73859a;
}

.sw-profile .profile-clean-edit .p_table.inline div .p_value {
  font-size: 14px;
  line-height: 1.4;
  color: #2b4966;
}

.sw-profile .btn-edit,
.sw-profile .profile-header .tagline .btn-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #08A5ED;
  background: #08A5ED;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}

.sw-profile .btn-edit i,
.sw-profile .btn-edit .btn-txt,
.sw-profile .profile-header .tagline .btn-edit i,
.sw-profile .profile-header .tagline .btn-edit .btn-txt {
  color: #fff;
  opacity: 1;
}

.sw-profile .btn-edit:hover,
.sw-profile .profile-header .tagline .btn-edit:hover {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-profile .btn-edit:focus-visible {
  outline: 2px solid #075d96;
  outline-offset: 3px;
}

/* SecondWife upgrade: shared pricing and payment components, themed presentation. */
.sw-upgrade>.sw-upgrade__content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 28px 24px 38px;
  background: #f3faff;
  color: #244560;
}

.sw-upgrade__content>.subheader {
  display: none;
}

.sw-upgrade__intro {
  margin: 0 0 24px;
}

.sw-upgrade__intro>p {
  margin: 0 0 8px;
  color: #078bd5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.sw-upgrade__intro h2 {
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: #122d4b;
  text-align: left;
}

.sw-upgrade__intro h2 em {
  font-style: normal;
  color: #078fe4;
}

.sw-upgrade__intro>span {
  font-size: 16px;
  color: #5b7289;
}

.sw-upgrade__content>.section {
  padding: 0;
}

.sw-upgrade__content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sw-upgrade__content .container>.row {
  margin: 0 -9px;
}

.sw-upgrade__content .container>.row>[class*="col-"] {
  padding-left: 9px;
  padding-right: 9px;
  min-width: 0;
}

.sw-upgrade .card {
  border: 1px solid #d3e3ef;
  background: #fff;
  box-shadow: none;
  margin-bottom: 18px;
}

.sw-upgrade .card-header {
  padding: 14px 17px;
  background: #edf5fc;
  border-bottom: 1px solid #d9e6f1;
  color: #173958;
  font-family: var(--sw-font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}

.sw-upgrade .card-header a {
  color: #1371a8;
  font-family: var(--sw-font-body);
  font-size: 16px;
  font-weight: 500;
}

.sw-upgrade .card-body {
  padding: 18px;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #48627c;
}

.sw-upgrade .plan {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid #cddfeb;
  background: #fff;
  box-shadow: none;
  color: #244560;
}

.sw-upgrade .plan:has(.price > strong) {
  border: 2px solid #08A5ED;
}

.sw-upgrade .plan .head {
  padding: 15px 12px;
  background: #edf6fd;
  border-bottom: 1px solid #d8e8f4;
}

.sw-upgrade .plan .head h2,
.sw-upgrade .plan .head h3 {
  margin: 0;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #193958 !important;
  text-align: center;
}

.sw-upgrade .plan .price {
  padding: 22px 15px 18px;
  text-align: center;
  background: #fff;
}

.sw-upgrade .plan .price h3 {
  margin: 0 0 12px;
  padding: 0;
  color: #123c61;
  font-family: var(--sw-font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.sw-upgrade .plan .price .symbol {
  font-size: 24px;
  vertical-align: top;
  line-height: 1.5;
  margin-right: 2px;
}

.sw-upgrade .plan .price .pm {
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
  color: #687f95;
}

.sw-upgrade .plan .price p {
  margin: 0 0 15px;
  color: #526e87;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.5;
}

.sw-upgrade .plan .price>a,
.sw-upgrade .plan .price>strong>a {
  display: block;
  padding: 9px 14px;
  border: 1px solid #08A5ED;
  background: #f0f8ff;
  color: #087fbe;
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.sw-upgrade .plan .price>strong>a {
  background: #08A5ED;
  color: #fff;
}

.sw-upgrade .plan .price a:hover {
  background: #08A5ED;
  color: #fff;
}

.sw-upgrade .features {
  margin: 0;
  color: #3f5a74;
  font-family: var(--sw-font-body);
  font-size: 14px;
}

.sw-upgrade .features thead th {
  padding: 15px 16px;
  background: #edf5fc;
  border: 0;
  color: #193b59;
  font-family: var(--sw-font-display);
  font-size: 24px;
  font-weight: 600;
}

.sw-upgrade .features td {
  padding: 12px 15px;
  border-top: 1px solid #e4edf5;
  line-height: 1.5;
}

.sw-upgrade .features td:last-child {
  width: 42px;
  text-align: center;
}

.sw-upgrade .features.table-striped tbody tr:nth-of-type(odd) {
  background: #f8fbfe;
}

.sw-upgrade .green {
  color: #198653 !important;
}

.sw-upgrade .hint-box {
  margin: 0;
  padding: 16px;
  border: 1px solid #d3e5f2;
  background: #eaf6ff;
  color: #546c84;
  font-family: var(--sw-font-body);
  line-height: 1.6;
}

.sw-upgrade .hint-box small {
  font-size: 13px;
  font-weight: 400;
}

.sw-upgrade__content a {
  color: #087fc0;
}

.sw-upgrade .btn {
  padding: 10px 14px;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  box-shadow: none;
}

.sw-upgrade .btn-success,
.sw-upgrade .btn-primary {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-upgrade .btn-success:hover,
.sw-upgrade .btn-primary:hover {
  background: #08A5ED;
  border-color: #08A5ED;
}

.sw-upgrade .form-control {
  padding: 8px 10px;
  border: 1px solid #cbddec;
  background: #fff;
  color: #345570;
  font-family: var(--sw-font-body);
  font-size: 14px;
}

.sw-upgrade .selectBox {
  font-family: var(--sw-font-body);
  font-size: 14px;
  background: #fff;
  border: 1px solid #cbddec;
  color: #345570;
}

.sw-upgrade .selectOptions {
  z-index: 20;
  background: #fff;
  border: 1px solid #cbddec;
}

.sw-upgrade #accordion {
  min-width: 0;
}

.sw-upgrade #accordion form {
  min-width: 0;
  max-width: 100%;
}

.sw-upgrade .card-body .offset-1 {
  margin-left: 0;
  flex: 1;
  max-width: none;
}

.sw-upgrade .card-body .col-3:has(.text-right) {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

.sw-upgrade .corner-ribbon {
  box-shadow: none !important;
  font-family: var(--sw-font-body);
  font-size: 11px;
}

.sw-upgrade .sw-dashboard__account .upgrade .nav-link {
  background: #08A5ED;
  color: #fff;
}

@media (max-width: 1000px) {
  .sw-upgrade__content .container>.row>.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sw-upgrade__content .container>.row>.col-md-6:last-child {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .sw-upgrade>.sw-upgrade__content {
    padding: 22px 16px 30px;
  }

  .sw-upgrade__intro h2 {
    font-size: 32px;
  }

  .sw-upgrade .plan .head h2 {
    font-size: 23px;
  }

  .sw-upgrade .plan .price h3 {
    font-size: 36px;
  }

  .sw-upgrade__content .col-md-6>.row:first-child>.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .sw-upgrade .plan .price {
    padding: 18px 10px;
  }

  .sw-upgrade .card-body {
    padding: 15px;
  }

  .sw-upgrade .plan .price p {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .sw-upgrade__content .col-md-6>.row:first-child>.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.sw-upgrade .cardy {
  margin-bottom: 18px;
  border: 1px solid #d3e3ef;
  background: #fff;
  box-shadow: none;
}

.sw-upgrade .cardy .card-body {
  padding: 18px;
}

/* SecondWife inbox and conversation: preserve existing messaging components. */
.sw-messages>.sw-messages__content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 26px 24px 36px;
  background: #f3faff;
  color: #34516b;
}

.sw-messages__content>.subheader {
  display: none;
}

.sw-messages__content>.section {
  padding: 0;
}

.sw-messages__content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sw-messages__content .container>.row {
  margin: 0 -9px;
}

.sw-messages__content .container>.row>[class*="col-"] {
  padding-left: 9px;
  padding-right: 9px;
  min-width: 0;
}

.sw-messages .nav-links {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid #d3e3ef;
  background: #fff;
  list-style: none;
}

.sw-messages .nav-links li {
  display: block;
  margin: 0;
  border-bottom: 1px solid #e4edf5;
}

.sw-messages .nav-links li:last-child {
  border-bottom: 0;
}

.sw-messages .nav-links li a {
  display: block;
  padding: 13px 15px;
  color: #385b79;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.sw-messages .nav-links li.active a {
  background: #08A5ED;
  color: #fff;
  font-weight: 600;
}

.sw-messages .nav-links li:not(.active) a:hover {
  background: #eaf6ff;
  color: #087bb7;
}

.sw-messages .nav-links .badge {
  padding: 3px 6px;
  background: #d9edfb;
  color: #086ca6;
  font-size: 12px;
}

.sw-messages .nav-links .active .badge {
  background: #ffffff30;
  color: #fff;
}

.sw-messages .list-group {
  border: 1px solid #d4e3ef;
  background: #fff;
}

.sw-messages a.list-group-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 72px;
  height: auto;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #dfebf4;
  border-left: 3px solid #08A5ED;
  background: #edf7ff;
  color: #214b70;
  overflow: visible;
  font-family: var(--sw-font-body);
  text-decoration: none;
}

.sw-messages a.list-group-item:last-child {
  border-bottom: 0;
}

.sw-messages a.list-group-item.read {
  border-left-color: transparent;
  background: #fff;
  color: #58718a;
}

.sw-messages a.list-group-item:hover {
  background: #e5f3ff;
}

.sw-messages .list-group .star,
.sw-messages .list-group .archive {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.sw-messages .list-group .star {
  color: #aa7a1e;
}

.sw-messages .list-group .archive {
  color: #57738d;
}

.sw-messages .list-group .name {
  margin: 0;
  min-width: 100px;
  max-width: 180px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.sw-messages .list-group .preview {
  flex: 1;
  min-width: 80px;
  max-width: none;
  height: auto;
  margin: 0;
  font-size: 14px !important;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sw-messages .list-group .badge {
  position: static;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  padding: 0;
  background: transparent;
  color: #8294a6;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
}

.sw-messages__content p.center {
  margin: 0;
  padding: 36px 20px;
  border: 1px solid #d4e3ef;
  background: #fff;
  color: #71859a;
  font-family: var(--sw-font-body);
  font-size: 16px;
  text-align: center;
}

.sw-messages .hint {
  padding: 13px 16px;
  margin: 0 0 16px;
  border: 1px solid #cce3f3;
  background: #e5f4ff;
  color: #426481;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.5;
}

.sw-messages .hint a {
  color: #087dbb;
  font-weight: 600;
}

.sw-messages .conversation {
  border: 1px solid #cfdfea;
  background: #fff;
  min-width: 0;
}

.sw-messages .conversation .ch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid #dfeaf3;
}

.sw-messages .conversation .ch .image {
  position: relative;
  overflow: hidden;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  margin: 0;
  background: #eaf5ff;
}

.sw-messages .conversation .ch .image>div {
  height: 100%;
  width: 100%;
}

.sw-messages .conversation .ch .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-messages .conversation .ch .meta {
  min-width: 0;
}

.sw-messages .conversation .ch .meta .username {
  margin: 0;
  font-family: var(--sw-font-display);
  font-size: 25px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sw-messages .conversation .ch .username a {
  color: #1a4263;
}

.sw-messages .conversation .wrapper {
  height: clamp(300px, 48vh, 520px);
  padding: 18px;
  background: #f6faff;
  overflow-x: hidden;
  overflow-y: auto;
}

.sw-messages .conversation .lm {
  width: auto;
  max-width: 170px;
  margin: 0 auto 18px;
  padding: 8px 12px;
  border: 1px solid #cbdfee;
  background: #fff;
  color: #2373a2;
  font-family: var(--sw-font-body);
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}

.sw-messages .conversation .message-wrapper {
  margin-bottom: 14px;
}

.sw-messages .conversation .message-wrapper .message-container {
  max-width: 92%;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #d8e7f2;
  text-align: left;
}

.sw-messages .conversation .message-wrapper .message-container:last-child {
  padding-bottom: 12px;
}

.sw-messages .conversation .message-wrapper .message-container .header {
  margin: 0 0 6px;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
}

.sw-messages .conversation .message-wrapper .message-container .header a {
  padding: 0;
  border: 0;
  color: #0780c1;
  font-family: var(--sw-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.sw-messages .conversation .message-wrapper .message-container .body {
  display: block;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #34516d;
  overflow-wrap: anywhere;
}

.sw-messages .conversation .messageText {
  padding: 3px 0;
}

.sw-messages .conversation .messageRead {
  font-size: 10px;
  color: #8cabc4;
}

.sw-messages .conversation .reply {
  border-top: 1px solid #d7e5f0;
  background: #fff;
}

.sw-messages .reply .textarea-container textarea {
  width: 100%;
  min-height: 96px;
  height: auto;
  padding: 15px;
  border: 0;
  background: #fff;
  color: #2d4e6e;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
}

.sw-messages .reply .textarea-container textarea:focus {
  outline: 2px solid #86c5ec;
  outline-offset: -2px;
}

.sw-messages .reply .buttons {
  padding: 12px 15px;
  background: #edf5fb;
  border-top: 1px solid #dfebf4;
}

.sw-messages .reply .buttons a[name="sendMessage"] {
  padding: 8px 22px;
  background: #08A5ED;
  border: 1px solid #08A5ED;
  color: #fff;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.sw-messages .reply .buttons .count {
  font-family: var(--sw-font-body);
  font-size: 13px;
  line-height: 36px;
  color: #7990a4;
}

.sw-messages .paginationBox {
  height: auto;
  margin: 22px 0 0;
}

.sw-messages .pagination {
  flex-wrap: wrap;
  gap: 5px;
}

.sw-messages .page-link {
  padding: 8px 12px;
  border: 1px solid #caddeb;
  background: #fff;
  color: #137bb3;
  font-family: var(--sw-font-body);
  font-size: 14px;
}

.sw-messages .page-item.active .page-link {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-messages .page-item.disabled .page-link {
  background: #edf4f9;
  color: #98aabc;
}

@media (max-width: 1100px) {
  .sw-messages__content .container>.row>.col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sw-messages__content .container>.row>.col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sw-messages .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px;
  }

  .sw-messages .nav-links li {
    border: 0;
  }

  .sw-messages .nav-links li a {
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-messages .nav-links .badge {
    margin-left: 8px;
  }

  .sw-messages__content .col-md-3>small {
    display: block;
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .sw-messages>.sw-messages__content {
    padding: 20px 16px 28px;
  }

  .sw-messages a.list-group-item {
    padding: 13px 11px;
    gap: 8px;
  }

  .sw-messages .list-group .name {
    min-width: 0;
    max-width: none;
    flex: 1;
    font-size: 15px;
  }

  .sw-messages .list-group .preview {
    order: 5;
    flex-basis: 100%;
    font-size: 13px !important;
  }

  .sw-messages .list-group .badge {
    font-size: 11px;
  }

  .sw-messages .conversation .wrapper {
    height: 360px;
    padding: 12px;
  }

  .sw-messages .conversation .message-wrapper .message-container {
    max-width: 100%;
    padding: 10px 12px;
  }

  .sw-messages .conversation .ch {
    padding: 13px;
  }

  .sw-messages .conversation .ch .meta .username {
    font-size: 23px;
  }
}

/* SecondWife settings: existing forms, values, and handlers are reused. */
.sw-settings>.sw-settings__content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 26px 24px 36px;
  background: #f3faff;
  color: #3a5671;
}

.sw-settings__content>.subheader {
  display: none;
}

.sw-settings__content>.section {
  padding: 0;
}

.sw-settings__content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sw-settings__content .container>.row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  align-items: start;
}

.sw-settings__content .container>.row>.col-12 {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
}

.sw-settings__content .container>.row:has(> .col-12:only-child) {
  grid-template-columns: 1fr;
}

.sw-settings .nav-links {
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid #d2e2ee;
  background: #fff;
  list-style: none;
}

.sw-settings .nav-links li {
  display: block;
  margin: 0;
  border-bottom: 1px solid #e2ecf4;
}

.sw-settings .nav-links li:last-child {
  border-bottom: 0;
}

.sw-settings .nav-links li a {
  display: block;
  padding: 13px 15px;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.4;
  color: #365874;
  text-decoration: none;
}

.sw-settings .nav-links li.active a {
  background: #08A5ED;
  color: #fff;
  font-weight: 600;
}

.sw-settings .nav-links li:not(.active) a:hover {
  background: #eaf6ff;
  color: #087ebd;
}

.sw-settings .card {
  margin: 0 0 18px;
  border: 1px solid #d2e2ef;
  background: #fff;
  box-shadow: none;
  min-width: 0;
}

.sw-settings .card-body {
  padding: 24px;
  min-width: 0;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4a647f;
}

.sw-settings .card-thin {
  padding: 17px 20px;
  font-family: var(--sw-font-body);
  font-size: 15px;
  line-height: 1.6;
}

.sw-settings .card-thin p {
  margin: 0;
  font-family: inherit;
  color: #425f7a;
  line-height: 1.6;
}

.sw-settings .card-body p {
  font-family: inherit;
  color: inherit;
  font-size: 14px;
  line-height: 1.6;
}

.sw-settings form[name="changepassword"]::before,
.sw-settings form[name="changeemail"]::before,
.sw-settings form[name="deleteAccount"]::before {
  display: block;
  margin: 0 0 20px;
  font-family: var(--sw-font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: #183a58;
}

.sw-settings form[name="changepassword"]::before {
  content: "Password";
}

.sw-settings form[name="changeemail"]::before {
  content: "Email address";
}

.sw-settings form[name="deleteAccount"]::before {
  content: "Delete account";
  color: #9c3434;
}

.sw-settings form {
  min-width: 0;
}

.sw-settings .form-group {
  margin-bottom: 16px;
}

.sw-settings label {
  font-family: var(--sw-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #3d5c77;
  line-height: 1.4;
}

.sw-settings .form-control {
  width: 100%;
  max-width: 100%;
  min-height: 39px;
  padding: 9px 11px;
  border: 1px solid #cbddeb;
  background: #fff;
  color: #244560;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
}

.sw-settings .form-control:focus {
  border-color: #08A5ED;
  outline: 2px solid #078fe423;
  outline-offset: 1px;
}

.sw-settings .btn {
  padding: 9px 15px;
  border: 1px solid #c8deee;
  font-family: var(--sw-font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}

.sw-settings .btn-primary,
.sw-settings .btn-success {
  background: #08A5ED;
  border-color: #08A5ED;
  color: #fff;
}

.sw-settings .btn-primary:hover,
.sw-settings .btn-success:hover {
  background: #08A5ED;
  border-color: #08A5ED;
}

.sw-settings .btn-danger {
  background: #fff0f0;
  border-color: #e8c5c5;
  color: #a53636;
}

.sw-settings .btn-danger:hover {
  background: #ffe0e0;
  color: #962a2a;
}

.sw-settings hr {
  margin: 26px 0;
  border-top: 1px solid #e0eaf3;
}

.sw-settings form[name="deleteAccount"] {
  padding: 18px;
  border: 1px solid #efd5d5;
  background: #fff8f8;
}

.sw-settings form[name="deleteAccount"] .form-control {
  max-width: 420px;
}

.sw-settings form ul {
  font-size: 13px;
  line-height: 1.7;
  color: #6b8095;
}

.sw-settings .table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  font-family: var(--sw-font-body);
  font-size: 14px;
  color: #3d5872;
}

.sw-settings .table thead th {
  padding: 13px 15px;
  background: #edf5fc;
  border: 0;
  color: #214561;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.sw-settings .table td {
  padding: 14px 15px;
  border-top: 1px solid #e2ecf5;
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
}

.sw-settings .table tbody {
  width: 100%;
}

.sw-settings .table-striped tbody tr:nth-of-type(odd) {
  background: #f8fbfe;
}

.sw-settings .table .btn {
  padding: 6px 10px;
  font-size: 12px;
}

.sw-settings .green {
  color: #198654 !important;
}

.sw-settings a {
  color: #0782c4;
}

.sw-settings .ios-toggle {
  margin: 0 12px 0 0;
  vertical-align: middle;
}

.sw-settings form.toggle {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

@media (max-width: 1000px) {
  .sw-settings__content .container>.row {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }

  .sw-settings .card-body {
    padding: 20px;
  }

  .sw-settings .form-row>.col-sm-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 6px;
  }

  .sw-settings .form-row>.col-sm-8,
  .sw-settings .form-row>.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .sw-settings>.sw-settings__content {
    padding: 20px 16px 28px;
  }

  .sw-settings__content .container>.row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sw-settings .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px;
  }

  .sw-settings .nav-links li {
    border: 0;
  }

  .sw-settings .nav-links li a {
    padding: 8px 11px;
    font-size: 14px;
  }

  .sw-settings .card-body {
    padding: 18px;
  }

  .sw-settings form[name="deleteAccount"] {
    padding: 14px;
  }

  .sw-settings .table td,
  .sw-settings .table thead th {
    padding: 11px;
  }

  .sw-settings .card-thin .float-right {
    float: none !important;
    margin-bottom: 10px;
  }
}

/* SecondWife video guidelines: original guide text, themed layout. */
.sw-guides>.sw-guides__content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 30px 28px 40px;
  background: #f3faff;
  color: #3c5770;
}

.sw-guides__intro {
  max-width: 900px;
  margin: 0 auto 24px;
}

.sw-guides__intro>p {
  margin: 0 0 9px;
  color: #078bd5;
  font-family: var(--sw-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.sw-guides__intro h2 {
  margin: 0;
  padding: 0;
  font-family: var(--sw-font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: #173958;
  letter-spacing: 0;
  text-align: left;
}

.sw-guides__intro h2 em {
  font-style: normal;
  color: #078fe4;
}

.sw-guides__content>.section {
  padding: 0;
}

.sw-guides__content .container {
  width: 100%;
  max-width: 900px;
  padding: 0;
  margin: auto;
}

.sw-guides .card {
  margin: 0;
  border: 1px solid #d5e4f0;
  background: #fff;
  box-shadow: none;
}

.sw-guides .card-body {
  padding: 26px 28px;
}

.sw-guides .card-body .row {
  margin: 0;
}

.sw-guides .card-body .col-12 {
  padding: 0;
  min-width: 0;
}

.sw-guides .card-body h3 {
  margin: 0 0 20px;
  padding: 0 0 17px;
  border-bottom: 1px solid #e1ebf4;
  font-family: var(--sw-font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  color: #234865;
  text-align: left;
}

.sw-guides ol {
  margin: 0;
  padding: 0 0 0 24px;
  font-family: var(--sw-font-body);
  color: #506b84;
  font-size: 15px;
  line-height: 1.7;
}

.sw-guides ol>li {
  padding: 0 0 17px 8px;
  margin: 0 0 17px;
  border-bottom: 1px solid #e8eff6;
}

.sw-guides ol>li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border: 0;
}

.sw-guides ol>li::marker {
  font-weight: 600;
  color: #0788d0;
}

.sw-guides ol em {
  font-style: normal;
  color: #3d5e7a;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .sw-guides>.sw-guides__content {
    padding: 22px 16px 30px;
  }

  .sw-guides__intro h2 {
    font-size: 32px;
  }

  .sw-guides .card-body {
    padding: 20px 17px;
  }

  .sw-guides .card-body h3 {
    font-size: 16px;
  }

  .sw-guides ol {
    font-size: 14px;
    padding-left: 20px;
  }

  .sw-guides ol>li {
    padding-left: 5px;
  }
}

/* Photo guide heading follows the video guide's readable typography. */
.sw-guides .card-body h4 {
  margin: 0 0 20px;
  padding: 0 0 17px;
  border-bottom: 1px solid #e1ebf4;
  font-family: var(--sw-font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  color: #234865;
  text-align: left;
}

.sw-guides .card-body h4 strong {
  font: inherit;
  color: inherit;
}

@media (max-width: 767px) {
  .sw-guides .card-body h4 {
    font-size: 16px;
  }
}
/* SecondWife shared sidebar: brighter blue across member screens. */
.sw-dashboard--curated .sw-dashrail {
  background: #08A5ED;
}
.sw-dashboard--curated .sw-dashrail nav a {
  color: #fff;
}
.sw-dashboard--curated .sw-dashrail nav .is-active {
  background: #08A5ED;
  box-shadow: none;
}
.sw-dashboard--curated .sw-dashrail nav a:hover {
  background: #08A5ED;
}
.sw-dashboard--curated .sw-dashrail > .sw-auth__brand small {
  color: #bdeaff;
}
.sw-dashboard--curated .sw-dashrail__bottom {
  border-top-color: #ffffff45;
}


/* SecondWife dashboard and shared member screens. */
/* This stylesheet applies only to the SecondWife dashboard. */
.sw-dashboard--reference { display:block; padding:0; background:#fff; color:#091638; min-height:100vh; }
.sw-dashboard--reference .sw-dashrail { position:relative; inset:auto; width:100%; height:auto; min-height:0; padding:18px 4%; display:flex; flex-direction:row; align-items:center; gap:30px; background:#fff; border:0; border-bottom:1px solid #cde4f7; box-shadow:none; }
.sw-dashboard--reference .sw-dashrail>.sw-auth__brand { margin:0; padding:0; font-size:30px; white-space:nowrap; color:#091638; }
.sw-dashboard--reference .sw-dashrail nav { display:flex; gap:24px; margin:0; padding:0; align-items:center; }
.sw-dashboard--reference .sw-dashrail nav a { display:flex; align-items:center; gap:8px; padding:10px 0; margin:0; border:0; border-radius:0; background:transparent; color:#13274a; font-size:14px; white-space:nowrap; }
.sw-dashboard--reference .sw-dashrail nav .is-active { background:transparent; color:#009bf3; box-shadow:none; border-bottom:2px solid #08A5ED; }
.sw-dashboard--reference .sw-dashrail__bottom { margin-left:auto!important; border:0; }
.sw-dashboard--reference>.sw-auth__top { position:relative; inset:auto; margin:0; padding:0 4%; height:auto; min-height:0; background:#fff; border-bottom:1px solid #e4eef7; box-shadow:none; }
.sw-dashboard--reference .sw-dashboard__top-inner { width:100%; max-width:1400px; margin:auto; min-height:48px; padding:0; display:flex; justify-content:flex-end; }
.sw-dashboard--reference .sw-dash-mobile-title { display:none; }
.sw-dashboard--reference .sw-dashboard__account>.nav { display:flex; flex-direction:row; flex-wrap:wrap; gap:12px; align-items:center; }
.sw-dashboard--reference .sw-dashboard__account .nav-link { font-size:14px; padding:10px 5px; }
.sw-dashboard--reference .sw-dashboard__content { margin:0; padding:36px 4% 0; width:100%; }
.sw-dashboard--reference .sw-dashboard__content>.container { width:100%; max-width:1400px; padding:0; margin:0 auto; }
.sw-dashboard--reference .sw-dashboard__content>.container>.row { display:flex!important; flex-direction:column; gap:0; margin:0; }
.sw-dashboard--reference .sw-dashboard__content>.container>.row>.col-md-8 { order:0; width:100%; max-width:100%; padding:0; border:0; }
.sw-dashboard--reference .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar { order:1; width:100%; max-width:100%; padding:0; display:block; }
.sw-dashboard--reference .sw-dashboard__heading { margin:0 0 24px; padding:0; }
.sw-dashboard--reference .sw-dashboard__heading .sw-incomplete__eyebrow { display:none; }
.sw-dashboard--reference .sw-dashboard__heading h2 { margin:0 0 6px; font-size:40px; line-height:1.2; color:#07132f; }
.sw-dashboard--reference .sw-dashboard__heading h2 em { color:#009bf3; font-style:normal; }
.sw-dashboard--reference .sw-dashboard__heading>p:last-child { margin:0; font-size:18px; color:#597197; }
.sw-dashboard--reference .sw-dash-searches { padding:0; margin:0 0 28px; border:0; background:transparent; }
.sw-dashboard--reference .sw-dash-searches h3 { display:none; }
.sw-dashboard--reference .sw-dash-searches .list { display:flex; flex-wrap:wrap; gap:12px; padding:0; margin:0; border-bottom:1px solid #cde4f7; }
.sw-dashboard--reference .sw-dash-searches .list li { padding:0; margin:0; border:0; }
.sw-dashboard--reference .sw-dash-searches .list li:before { display:none; }
.sw-dashboard--reference .sw-dash-searches .list li a { display:block; border:0; border-bottom:2px solid transparent; padding:14px 20px; background:transparent; color:#28466e; border-radius:0; font-size:15px; }
.sw-dashboard--reference .sw-dash-searches .list li:first-child a { color:#009bf3; background:transparent; border-color:#08A5ED; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .card { background:transparent; border:0; box-shadow:none; margin:0; padding:0; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body { padding:0; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body>.row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:0; align-items:stretch; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body>.row>.col-12 { padding:0; width:100%; max-width:100%; height:auto!important; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card { display:grid; grid-template-columns:32% minmax(0,1fr); grid-template-rows:1fr auto; gap:0 18px; height:100%; min-height:200px; padding:12px; margin:0; border:1px solid #cce3f6; border-radius:4px; background:#fff; box-shadow:none; overflow:visible; }
.sw-dashboard--reference .sw-member-card .profile-image { grid-column:1; grid-row:1/3; position:relative; aspect-ratio:1; width:100%; max-height:none; height:auto; align-self:start; overflow:hidden; background:#eef5fa; }
.sw-dashboard--reference .sw-member-card .profile-image>a { display:block; width:100%; height:100%; }
.sw-dashboard--reference .sw-member-card .profile-image img { width:100%; height:100%; object-fit:cover; border-radius:0; }
.sw-dashboard--reference .sw-member-card .top-overlay { position:absolute; top:8px; left:8px; right:auto; bottom:auto; padding:0; display:flex; background:none; }
.sw-dashboard--reference .sw-member-card .top-overlay .badge { padding:5px 7px; font-size:12px; background:#09213c; }
.sw-dashboard--reference .sw-member-card .info-container { display:block; grid-column:2; grid-row:1; padding:4px 0 12px; text-align:left; min-width:0; }
.sw-dashboard--reference .sw-member-card .info-container>a { display:block; margin:0 0 8px; min-height:0; font-size:21px; line-height:1.25; color:#091638; overflow-wrap:anywhere; }
.sw-dashboard--reference .sw-member-card .location { font-size:15px; line-height:1.4; color:#5c7397; margin:0 0 10px; min-height:0; }
.sw-dashboard--reference .sw-member-card .tagline { font-size:15px; line-height:1.4; min-height:0; margin:0; padding:0; color:#405d83; }
.sw-dashboard--reference .sw-member-card .tagline i { font-style:normal; }
.sw-dashboard--reference .sw-member-card .sw-dash-stats { grid-column:2; grid-row:2; display:flex; flex-wrap:wrap; gap:8px; padding:0 0 5px; margin:0; align-self:end; }
.sw-dashboard--reference .sw-member-card .sw-dash-stats .badge { width:auto; background:transparent; color:#34567f; font-size:13px; line-height:1.4; padding:0 8px 0 0; border-radius:0; font-weight:400; white-space:normal; text-align:left; border-right:1px solid #cde4f7; }
.sw-dashboard--reference .sw-member-card .sw-dash-stats .badge:last-child { border:0; }
.sw-dashboard--reference .sw-member-card .sw-dash-stats .fa { color:#22496e; margin-right:4px; }
.sw-dashboard--reference .sw-member-pagination { margin:26px 0 30px; }
.sw-dashboard--reference .sw-dashboard__sidebar .card { margin:0; padding:22px 0; border:0; border-top:1px solid #cde4f7; border-radius:0; background:transparent; box-shadow:none; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-header { padding:0 0 16px; border:0; background:transparent; font-size:22px; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body { padding:0; }
.sw-dashboard--reference .sw-dashboard__sidebar .list { display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:0; list-style:none; }
.sw-dashboard--reference .sw-dashboard__sidebar .list li { margin:0; padding:0; border:0; }
.sw-dashboard--reference .sw-dashboard__sidebar .list li:before { display:none; }
.sw-dashboard--reference .sw-dashboard__sidebar .list li a { padding:8px 18px; border:1px solid #cde4f7; border-radius:30px; background:#edf8ff; color:#294c78; }
.sw-dashboard--reference .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-body { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body>.row { margin:0; display:flex; align-items:flex-start; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body>.row .col-3 { padding:0 10px 0 0; flex:0 0 40%; max-width:40%; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body>.row .col-9 { padding:0; flex:0 0 60%; max-width:60%; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body>.row img { width:100%; height:auto; border-radius:0; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body>.row a { font-weight:600; font-size:15px; overflow-wrap:anywhere; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body>p { grid-column:1/-1; margin:0; }
.sw-dashboard--reference>.sw-pagefoot { margin-top:10px; padding:22px 4%; border-top:1px solid #cde4f7; background:#fff; }
.sw-dashboard--reference .sw-pagefoot__wrap { max-width:1400px; margin:auto; }
.sw-dashboard--reference .sw-pagefoot__top { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.sw-dashboard--reference .sw-pagefoot__links { flex-wrap:wrap; }
.sw-dashboard--reference .sw-pagefoot__bottom { text-align:right; margin:12px 0 0; }
@media(max-width:1150px) and (min-width:768px) { .sw-dashboard--reference .sw-dashrail { flex-wrap:wrap; gap:12px 24px; } .sw-dashboard--reference .sw-dashrail nav { gap:16px; } .sw-dashboard--reference .sw-dashrail__bottom { width:100%; justify-content:flex-end; } }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashrail { position:fixed; top:0; left:0; bottom:0; width:280px; height:100dvh; padding:28px 20px; display:flex; flex-direction:column; align-items:stretch; z-index:1050; overflow-y:auto; }
 .sw-dashboard--reference .sw-dashrail nav { flex-direction:column; align-items:stretch; gap:4px; }
 .sw-dashboard--reference .sw-dashrail__bottom { margin:24px 0 0!important; }
 .sw-dashboard--reference .sw-dash-mobile-title { display:flex; align-items:center; }
 .sw-dashboard--reference .sw-dash-title { display:none; }
 .sw-dashboard--reference .sw-dashboard__top-inner { justify-content:space-between; min-height:66px; gap:12px; flex-wrap:wrap; }
 .sw-dashboard--reference .sw-dashboard__content { padding:24px 16px 0; }
 .sw-dashboard--reference .sw-dashboard__heading h2 { font-size:32px; }
 .sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body>.row { grid-template-columns:1fr; gap:14px; }
 .sw-dashboard--reference .sw-dash-searches .list { flex-wrap:nowrap; overflow-x:auto; gap:0; }
 .sw-dashboard--reference .sw-dash-searches .list li a { white-space:nowrap; padding:12px 16px; }
 .sw-dashboard--reference .sw-dashboard__sidebar .card:has(a[href*="filter=viewed"]) .card-body { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .sw-dashboard--reference .sw-pagefoot__top { flex-direction:column; align-items:flex-start; }
 .sw-dashboard--reference .sw-pagefoot__bottom { text-align:left; }
}
@media(max-width:400px) { .sw-dashboard--reference .sw-member-card .info-container>a {font-size:18px;} .sw-dashboard--reference .sw-member-card .sw-dash-stats {grid-column:1/-1; margin-top:12px;} .sw-dashboard--reference .sw-member-card .profile-image {grid-row:1;} }
.sw-dashboard--reference .sw-dashboard-verified { display:inline-flex; align-items:center; gap:5px; color:#009bf3; font-size:13px; margin-bottom:8px; }
@media(min-width:1400px) {
 .sw-dashboard--reference { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto 1fr auto; }
 .sw-dashboard--reference .sw-dashrail { grid-column:1; grid-row:1; padding:16px 20px 16px 4vw; gap:28px; min-height:80px; }
 .sw-dashboard--reference .sw-dashrail nav { gap:20px; }
 .sw-dashboard--reference .sw-dashrail .sw-dashrail__bottom { display:none; }
 .sw-dashboard--reference>.sw-auth__top { grid-column:2; grid-row:1; display:flex; align-items:center; padding:0 4vw 0 0; border-bottom:1px solid #cde4f7; }
 .sw-dashboard--reference .sw-dashboard__content { grid-column:1/-1; grid-row:2; }
 .sw-dashboard--reference>.sw-pagefoot { grid-column:1/-1; grid-row:3; }
}
/* Match the authentication pages' 1080px container and brand proportions. */
.sw-dashboard--reference { display:block; }
.sw-dashboard--reference .sw-dashboard-header { width:min(100% - 48px,1080px); margin:0 auto; }
.sw-dashboard--reference .sw-dashboard__content { padding:32px 0 0; }
.sw-dashboard--reference .sw-dashboard__content>.container { width:min(100% - 48px,1080px); max-width:1080px; }
.sw-dashboard--reference>.sw-pagefoot { padding:22px 0; }
.sw-dashboard--reference .sw-pagefoot__wrap { width:min(100% - 48px,1080px); max-width:1080px; }
.sw-dashboard--reference .sw-dashrail>.sw-auth__brand { font-family:var(--sw-font-display); font-size:40px; font-weight:700; letter-spacing:-1.6px; line-height:1; color:var(--sw-navy); }
.sw-dashboard--reference .sw-dashrail>.sw-auth__brand small { color:var(--sw-sky); font:inherit; letter-spacing:inherit; }
@media(min-width:768px) {
 .sw-dashboard--reference .sw-dashboard-header { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:24px; }
 .sw-dashboard--reference .sw-dashrail { display:contents; }
 .sw-dashboard--reference .sw-dashrail>.sw-auth__brand { grid-column:1; grid-row:1; }
 .sw-dashboard--reference .sw-dashrail>nav:first-of-type { grid-column:1/-1; grid-row:2; display:flex; gap:24px; width:100%; padding:0; margin:0; border-top:1px solid #edf3f8; border-bottom:1px solid var(--sw-border); }
 .sw-dashboard--reference .sw-dashrail>nav:first-of-type a { padding:14px 0; }
 .sw-dashboard--reference .sw-dashrail .sw-dashrail__bottom { display:none; }
 .sw-dashboard--reference .sw-dashboard-header>.sw-auth__top { grid-column:2; grid-row:1; position:static; padding:0; border:0; background:var(--sw-surface); }
 .sw-dashboard--reference .sw-dashboard__top-inner { min-height:74px; width:100%; margin:0; padding:0; }
 .sw-dashboard--reference .sw-dashboard__account>.nav { gap:8px; justify-content:flex-end; }
 .sw-dashboard--reference .sw-dashboard__account .nav-link { padding:9px 4px; font-size:14px; }
 .sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link { border:1px solid var(--sw-sky); padding:9px 12px; background:transparent; color:var(--sw-blue-dark); }
}
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashboard-header>.sw-auth__top { margin:0; padding:0; border-bottom:1px solid var(--sw-border); }
 .sw-dashboard--reference .sw-dashboard__top-inner { min-height:74px; }
 .sw-dashboard--reference .sw-dashrail>.sw-auth__brand { font-size:30px; letter-spacing:-1.2px; }
}
@media(max-width:575.98px) {
 .sw-dashboard--reference .sw-dashboard__top-inner { min-height:64px; }
 .sw-dashboard--reference .sw-dashboard__account>.nav { gap:4px; }
 .sw-dashboard--reference .sw-dashboard__account .nav-link { font-size:13px; }
}
/* Account actions remain available independently of the mobile navigation. */
.sw-dashboard--reference .sw-dashboard__account { display:flex; align-items:center; justify-content:flex-end; gap:14px; min-width:0; }
.sw-dashboard--reference .sw-dashboard-profile-menu { position:relative; flex-shrink:0; color:var(--sw-navy); }
.sw-dashboard--reference .sw-dashboard-profile-menu summary { display:flex; align-items:center; gap:8px; padding:10px 0; cursor:pointer; list-style:none; font-size:14px; }
.sw-dashboard--reference .sw-dashboard-profile-menu summary::-webkit-details-marker { display:none; }
.sw-dashboard--reference .sw-dashboard-profile-menu summary:focus-visible { outline:2px solid var(--sw-sky); outline-offset:4px; }
.sw-dashboard--reference .sw-dashboard-profile-menu__links { position:absolute; top:100%; right:0; z-index:1100; min-width:180px; padding:6px; background:#fff; border:1px solid #cde4f7; box-shadow:0 8px 24px #1023461a; }
.sw-dashboard--reference .sw-dashboard-profile-menu__links a { display:flex; align-items:center; gap:10px; padding:11px 12px; color:var(--sw-navy); font-size:14px; text-decoration:none; white-space:nowrap; }
.sw-dashboard--reference .sw-dashboard-profile-menu__links a:hover,
.sw-dashboard--reference .sw-dashboard-profile-menu__links a:focus-visible { background:#edf8ff; color:#007fc4; }
@media(max-width:575.98px) {
 .sw-dashboard--reference .sw-dashboard__account { gap:10px; flex-wrap:wrap; }
 .sw-dashboard--reference .sw-dashboard-profile-menu summary { font-size:13px; }
}
/* Simple full-width sections below the member results. */
.sw-dashboard--reference .sw-dashboard__content>.container>.row>.sw-dashboard__sidebar { background:#fff; border:0; padding:0; min-width:0; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved,
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed { padding:24px 0; margin:0; background:#fff; border:0; border-top:1px solid #cde4f7; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved>.card-header,
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.card-header { display:flex; align-items:center; gap:12px; padding:0 0 18px; margin:0; background:transparent; border:0; color:#091638; font-size:22px; line-height:1.3; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved>.card-header i,
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.card-header i { color:#009bf3; font-size:20px; }
.sw-dashboard--reference .sw-dashboard-saved .card-body { padding:0; background:transparent; }
.sw-dashboard--reference .sw-dashboard-saved .list li a { display:inline-block; padding:9px 18px!important; border:1px solid #cde4f7; border-radius:24px!important; background:#edf8ff!important; color:#294c78!important; font-size:15px; line-height:1.4; overflow-wrap:anywhere; }
.sw-dashboard--reference .sw-dashboard-saved .list li a:hover { background:#dcefff!important; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.sw-dashboard-viewed__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px 20px; padding:0; background:transparent; }
.sw-dashboard--reference .sw-dashboard-viewed__member { display:grid; grid-template-columns:86px minmax(0,1fr); gap:12px; align-items:start; min-width:0; }
.sw-dashboard--reference .sw-dashboard-viewed__photo { display:block; width:86px; aspect-ratio:1; overflow:hidden; position:relative; }
.sw-dashboard--reference .sw-dashboard-viewed__photo>div { position:relative; width:100%; height:100%; }
.sw-dashboard--reference .sw-dashboard-viewed__photo img { display:block; width:100%; height:100%; object-fit:cover; }
.sw-dashboard--reference .sw-dashboard-viewed__photo .corner-ribbon { font-size:10px; padding:0; line-height:18px; width:120px; top:14px; right:-38px; }
.sw-dashboard--reference .sw-dashboard-viewed__details { min-width:0; padding:3px 0; }
.sw-dashboard--reference .sw-dashboard-viewed__details>a { display:block; color:#10264b; font-size:15px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.sw-dashboard--reference .sw-dashboard-viewed__details .location { margin-top:7px; color:#607a9c; font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
.sw-dashboard--reference .sw-dashboard-viewed__grid>p { grid-column:1/-1; margin:0!important; text-align:center; }
.sw-dashboard--reference .sw-dashboard-viewed__grid>p>a { display:inline-block; padding:4px 12px; color:#009bf3; font-size:16px; font-weight:600; }
@media(max-width:1000px) { .sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.sw-dashboard-viewed__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.sw-dashboard-viewed__grid { grid-template-columns:1fr; gap:18px; } .sw-dashboard--reference .sw-dashboard-viewed__member { grid-template-columns:76px minmax(0,1fr); } .sw-dashboard--reference .sw-dashboard-viewed__photo { width:76px; } }
/* Restore the same complete footer used by the authentication pages. */
.sw-dashboard--reference>.sw-pagefoot { display:block; width:100%; margin-top:24px; padding:38px 0 24px; border-top:1px solid var(--sw-border); background:var(--sw-surface); color:var(--sw-navy); }
.sw-dashboard--reference .sw-pagefoot__wrap { width:min(100% - 48px,1080px); margin:0 auto; }
.sw-dashboard--reference .sw-pagefoot__top { display:flex!important; visibility:visible; opacity:1; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:22px 40px; height:auto; }
.sw-dashboard--reference .sw-pagefoot__brand { display:inline-block; visibility:visible; color:var(--sw-navy); font-family:var(--sw-font-display); font-size:32px; font-weight:700; letter-spacing:-1.4px; line-height:1; white-space:nowrap; }
.sw-dashboard--reference .sw-pagefoot__brand small { color:var(--sw-blue-dark); font:inherit; letter-spacing:inherit; }
.sw-dashboard--reference .sw-pagefoot__links { display:flex; visibility:visible; flex-wrap:wrap; gap:0; width:auto; }
.sw-dashboard--reference .sw-pagefoot__links a { display:inline-block; color:var(--sw-navy); padding:0 14px; border-right:1px solid var(--sw-border); font-size:14px; line-height:1.4; white-space:nowrap; }
.sw-dashboard--reference .sw-pagefoot__links a:last-child { border-right:0; }
.sw-dashboard--reference .sw-pagefoot__bottom { margin:28px 0 0; padding-top:18px; border-top:1px solid var(--sw-border); color:var(--sw-muted); font-size:14px; text-align:left; }
.sw-dashboard--reference .sw-dashboard-section-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; border:1px solid #bedcf2; border-radius:7px!important; background:#e6f3ff; color:#07558e; }
.sw-dashboard--reference .sw-dashboard-section-icon svg { display:block; width:20px; height:20px; }
@media(max-width:991.98px) { .sw-dashboard--reference .sw-pagefoot__top { flex-direction:column; align-items:center; justify-content:center; text-align:center; } .sw-dashboard--reference .sw-pagefoot__links { justify-content:center; row-gap:12px; } .sw-dashboard--reference .sw-pagefoot__bottom { text-align:center; } }
@media(max-width:575.98px) { .sw-dashboard--reference>.sw-pagefoot { padding:34px 0 22px; } .sw-dashboard--reference .sw-pagefoot__wrap { width:calc(100% - 40px); } .sw-dashboard--reference .sw-pagefoot__brand { font-size:28px; } .sw-dashboard--reference .sw-pagefoot__links a { padding:0 10px; font-size:13px; } }
/* Keep the redesigned dashboard independent of the former sidebar layout. */
.sw-dashboard--reference { width:100%; max-width:100%; min-width:0; margin:0; background:#fff; background-image:none; }
.sw-dashboard--reference *, .sw-dashboard--reference *::before, .sw-dashboard--reference *::after { box-sizing:border-box; }
.sw-dashboard--reference .sw-dashboard__content { width:100%; min-width:0; padding:24px 0 0; margin:0; background:#fff; }
.sw-dashboard--reference .sw-dashboard__content>.container>.row>.col-md-8 { display:block; min-width:0; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8>.row { margin:0; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8>.row>.col-12 { padding:0; min-width:0; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card { min-height:176px; grid-template-rows:auto auto; gap:0 16px; }
.sw-dashboard--reference .sw-member-card .info-container { padding:0 0 10px; }
.sw-dashboard--reference .sw-member-card .sw-dash-stats { margin-top:8px; align-self:end; }
.sw-dashboard--reference .sw-member-pagination { margin:20px 0; }
.sw-dashboard--reference .sw-dashboard__sidebar { height:auto; min-height:0; align-self:auto; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved,
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed { height:auto; min-height:0; padding:20px 0; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved>.card-header,
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.card-header { padding-bottom:14px; }
.sw-dashboard--reference .sw-dashboard__sidebar .card-body { min-height:0; height:auto; }
.sw-dashboard--reference .sw-dashboard-viewed__grid { align-content:start; }
.sw-dashboard--reference .sw-dashboard-viewed__grid>p { padding:0; }
.sw-dashboard--reference>.sw-pagefoot { margin-top:0; }
.sw-dashboard--reference .sw-dashboard__account>.nav>.nav-item:has(>a[href*="/user/"]),
.sw-dashboard--reference .sw-dashboard__account>.nav>.nav-item:has(>a[href*="/settings"]),
.sw-dashboard--reference .sw-dashboard__account>.nav>.nav-item:has(>a[href*="/signout"]),
.sw-dashboard--reference .sw-dashboard__account>.nav>.nav-item.d-sm-none { display:none!important; }
.sw-dashboard--reference .sw-dashboard-header, .sw-dashboard--reference .sw-dashboard__account { min-width:0; }
.sw-dashboard--reference .sw-dashboard__account>.nav { float:none!important; margin:0; max-width:100%; }
.sw-dashboard--reference .sw-dash-menu-close,.sw-dashboard--reference .sw-dash-menu-toggle,.sw-dashboard--reference .sw-dash-menu-backdrop { display:none; }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashboard__top-inner { flex-wrap:wrap; padding:10px 0; }
 .sw-dashboard--reference .sw-dashboard__account { flex:1 1 220px; flex-wrap:wrap; }
 .sw-dashboard--reference .sw-dashboard__account>.nav { flex-wrap:wrap; }
 .sw-dashboard--reference .sw-dashrail { transform:translateX(-100%); visibility:hidden; transition:transform .2s; }
 .sw-dashboard--reference.sw-menu-open .sw-dashrail { transform:translateX(0); visibility:visible; }
 .sw-dashboard--reference .sw-dash-menu-toggle { display:inline-flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid #cde4f7; color:#193b60; background:#edf8ff; }
 .sw-dashboard--reference .sw-dash-menu-close { display:block; position:absolute; top:8px; right:10px; width:32px; height:32px; border:0; background:transparent; color:#193b60; font-size:26px; }
 .sw-dashboard--reference .sw-dash-menu-backdrop:not([hidden]) { display:block; position:fixed; inset:0; width:100%; height:100dvh; z-index:1040; border:0; background:#06152c99; }
}
@media(prefers-reduced-motion:reduce) { .sw-dashboard--reference .sw-dashrail { transition:none; } }
/* Explicitly reset the old global dashboard decorations. */
.sw-dashboard--reference { font-family:var(--sw-font-body); font-size:16px; line-height:1.5; color:var(--sw-navy); background:#fff; }
.sw-dashboard--reference .sw-dashboard__heading { position:static; height:auto; min-height:0; margin:0 0 20px; padding:0; border:0; border-radius:0; background:none; background-image:none; box-shadow:none; overflow:visible; }
.sw-dashboard--reference .sw-dashboard__heading::before,.sw-dashboard--reference .sw-dashboard__heading::after { display:none; content:none; }
.sw-dashboard--reference .sw-dashboard__heading h2 { padding:0; margin:0 0 6px; color:#091638; }
.sw-dashboard--reference .sw-dashboard__heading>p:last-child { color:#597398; }
.sw-dashboard--reference .sw-member-card { position:relative; }
.sw-dashboard--reference .sw-member-card .profile-image { position:relative; border:0; border-radius:0; box-shadow:none; }
.sw-dashboard--reference .sw-member-card .profile-image img { border-radius:0; box-shadow:none; }
.sw-dashboard--reference .corner-ribbon.sticky { position:absolute; }
.sw-dashboard--reference .profile-image .corner-ribbon { top:18px; right:-34px; left:auto; width:140px; line-height:22px; font-size:12px; }
.sw-dashboard--reference .sw-member-card .tagline { border:0; min-height:0; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.card-header { background:transparent; color:#091638; border-radius:0; }
.sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved>.card-header { background:transparent; color:#091638; }
.sw-dashboard--reference .sw-dashboard__account .nav-link { color:#18395c; }
.sw-dashboard--reference .sw-dashboard__account .nav-link .fa { color:inherit; }
.sw-dashboard--reference .sw-pagefoot__top { position:static; max-height:none; min-height:32px; overflow:visible; }
.sw-dashboard--reference .sw-pagefoot__links { position:static; height:auto; max-height:none; overflow:visible; }
.sw-dashboard--reference .sw-pagefoot__brand { position:static; height:auto; opacity:1; }
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body>.row::before,
.sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body>.row::after { content:none; display:none; }
.sw-dashboard--reference .sw-dashboard__content .sw-dashboard__sidebar .sw-dashboard-viewed>.card-header { background:none; color:#091638; }
.sw-dashboard--reference .sw-member-pagination .pagination { display:flex; justify-content:center; gap:6px; margin:0; }
/* Legacy .section floats must not pull the footer beside the dashboard. */
.sw-dashboard--reference .sw-dashboard__content { float:none; display:flow-root; clear:both; }
.sw-dashboard--reference>.sw-pagefoot { clear:both; display:flow-root; }
.sw-dashboard--reference .sw-pagefoot__wrap { float:none; display:flow-root; }
.sw-dashboard--reference .sw-pagefoot__top { width:100%; float:none; }
/* Mobile dashboard: aligned branding, controls and readable profile cards. */
.sw-dashboard--reference .sw-dashboard-mobile-brand { display:none; }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashboard-header,
 .sw-dashboard--reference .sw-dashboard__content>.container,
 .sw-dashboard--reference .sw-pagefoot__wrap { width:calc(100% - 32px); }
 .sw-dashboard--reference .sw-dashboard__top-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:16px 0 12px; margin:0; width:100%; }
 .sw-dashboard--reference .sw-dashboard-mobile-brand { display:block; grid-column:1; grid-row:1; font-size:30px; letter-spacing:-1.2px; line-height:1; color:var(--sw-navy); }
 .sw-dashboard--reference .sw-dashboard-mobile-brand small { font:inherit; color:var(--sw-sky); }
 .sw-dashboard--reference .sw-dash-mobile-title { grid-column:2; grid-row:1; justify-self:end; }
 .sw-dashboard--reference .sw-dashboard__account { grid-column:1/-1; grid-row:2; display:flex; flex-wrap:nowrap; justify-content:space-between; gap:8px; width:100%; }
 .sw-dashboard--reference .sw-dashboard__account>.nav { flex:1 1 auto; min-width:0; display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:flex-start; align-items:center; gap:8px; }
 .sw-dashboard--reference .sw-dashboard__account .nav-link { padding:8px 3px; font-size:13px; white-space:nowrap; }
 .sw-dashboard--reference .sw-dashboard__account .nav-link>.d-inline { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
 .sw-dashboard--reference .sw-dashboard__account .upgrade { margin-left:auto; }
 .sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link { padding:8px; border:1px solid var(--sw-sky); background:#fff; box-shadow:none; font-size:13px; }
 .sw-dashboard--reference .sw-dashboard-profile-menu summary { font-size:13px; gap:5px; padding:8px 0; }
 .sw-dashboard--reference .sw-dashboard__content { padding-top:22px; }
 .sw-dashboard--reference .sw-dashboard__heading { margin-bottom:16px; }
 .sw-dashboard--reference .sw-dashboard__heading h2 { font-size:32px; }
 .sw-dashboard--reference .sw-dashboard__heading>p:last-child { font-size:16px; line-height:1.5; }
 .sw-dashboard--reference .sw-dash-searches { margin-bottom:18px; }
 .sw-dashboard--reference .sw-dash-searches .list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; overflow:visible; border:1px solid #d5e7f4; }
 .sw-dashboard--reference .sw-dash-searches .list li { min-width:0; }
 .sw-dashboard--reference .sw-dash-searches .list li a { padding:11px 12px; font-size:14px; white-space:normal; height:100%; }
 .sw-dashboard--reference .sw-dashboard__content .col-md-8 .card-body>.row { grid-template-columns:minmax(0,1fr); gap:14px; }
 .sw-dashboard--reference .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card { grid-template-columns:100px minmax(0,1fr); grid-template-rows:auto auto; gap:0 12px; padding:12px; min-height:0; }
 .sw-dashboard--reference .sw-member-card .profile-image { width:100%; height:100px; grid-column:1; grid-row:1; }
 .sw-dashboard--reference .sw-member-card .info-container { grid-column:2; grid-row:1; padding:0; }
 .sw-dashboard--reference .sw-member-card .info-container>a { font-size:18px; margin-bottom:6px; line-height:1.3; }
 .sw-dashboard--reference .sw-dashboard-verified { font-size:12px; margin-bottom:5px; }
 .sw-dashboard--reference .sw-member-card .location { font-size:13px; margin-bottom:6px; line-height:1.4; }
 .sw-dashboard--reference .sw-member-card .tagline { font-size:13px; line-height:1.4; }
 .sw-dashboard--reference .sw-member-card .top-overlay { top:5px; left:5px; }
 .sw-dashboard--reference .sw-member-card .top-overlay .badge { font-size:10px; padding:4px; }
 .sw-dashboard--reference .sw-member-card .sw-dash-stats { grid-column:1/-1; grid-row:2; display:flex; flex-wrap:wrap; gap:8px 10px; margin-top:12px; padding:10px 0 0; border-top:1px solid #e6eff6; }
 .sw-dashboard--reference .sw-member-card .sw-dash-stats .badge { font-size:12px; padding-right:10px; line-height:1.4; }
 .sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-saved>.card-header,
 .sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.card-header { font-size:20px; gap:10px; }
 .sw-dashboard--reference .sw-dashboard-saved .list { max-width:100%; }
 .sw-dashboard--reference .sw-dashboard-saved .list li { max-width:100%; }
 .sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed>.sw-dashboard-viewed__grid { grid-template-columns:minmax(0,1fr); gap:18px; }
 .sw-dashboard--reference .sw-dashboard-viewed__member { grid-template-columns:72px minmax(0,1fr); }
 .sw-dashboard--reference .sw-dashboard-viewed__photo { width:72px; }
 .sw-dashboard--reference .sw-dashboard-viewed__details>a { font-size:15px; }
 .sw-dashboard--reference .sw-pagefoot__links { gap:12px 0; }
 .sw-dashboard--reference .sw-pagefoot__links a { padding:0 10px; }
 .sw-dashboard--reference .sw-pagefoot__bottom { margin-top:22px; font-size:13px; }
 .sw-dashboard--reference .sw-dashrail { width:min(280px,calc(100vw - 40px)); }
 .sw-dashboard--reference .notificationMenu { position:absolute; left:0; right:auto; width:min(320px,calc(100vw - 40px)); min-width:0; }
}
@media(max-width:359px) {
 .sw-dashboard--reference .sw-dashboard-mobile-brand { font-size:27px; }
 .sw-dashboard--reference .sw-dashboard__account>.nav { gap:3px; }
 .sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link { padding:8px 5px; font-size:12px; }
 .sw-dashboard--reference .sw-dashboard-profile-menu summary { font-size:12px; }
 .sw-dashboard--reference .sw-dashboard__content .col-md-8 .col-md-4>.sw-member-card { grid-template-columns:84px minmax(0,1fr); gap:0 10px; }
 .sw-dashboard--reference .sw-member-card .profile-image { height:84px; }
}
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashboard__sidebar .sw-dashboard-viewed.card>.card-body.sw-dashboard-viewed__grid { grid-template-columns:minmax(0,1fr); gap:18px; }
 .sw-dashboard--reference .sw-dashboard-viewed__member { width:100%; grid-template-columns:72px minmax(0,1fr); gap:12px; }
 .sw-dashboard--reference .sw-dashboard__sidebar .card:has(.hint-box) { padding:16px 0; margin:0; }
 .sw-dashboard--reference .sw-dashboard__sidebar .card:has(.hint-box) .hint-box { margin:0; padding:14px; font-size:14px; }
 .sw-dashboard--reference .sw-member-card .profile-image .corner-ribbon { top:auto; bottom:10px; right:-39px; width:120px; line-height:18px; font-size:10px; transform:rotate(-45deg); }
}
/* Stable header controls: no dark hover blocks, and a visible Upgrade action. */
.sw-dashboard--reference .sw-dashboard__account .nav-link,
.sw-dashboard--reference .sw-dashboard__account .nav-link:hover,
.sw-dashboard--reference .sw-dashboard__account .nav-link:focus,
.sw-dashboard--reference .sw-dashboard__account .nav-link:active,
.sw-dashboard--reference .sw-dashboard__account .show>.nav-link { background:transparent; color:#18395c; box-shadow:none; text-decoration:none; }
.sw-dashboard--reference .sw-dashboard__account .nav-link:focus-visible { outline:2px solid #087cc1; outline-offset:3px; }
.sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link,
.sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link:hover,
.sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link:focus,
.sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link:active { background:#08A5ED; border:1px solid #08A5ED; color:#fff; box-shadow:none; border-radius:6px; }
.sw-dashboard--reference .sw-dashboard__account .upgrade .nav-link .fa { color:#fff; }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dash-menu-toggle { min-height:40px; padding:9px 12px; gap:8px; background:#edf7ff; border:1px solid #bddcef; border-radius:8px; color:#143957; font-size:14px; }
 .sw-dashboard--reference .sw-dash-menu-toggle:hover,
 .sw-dashboard--reference .sw-dash-menu-toggle:active { background:#edf7ff; color:#143957; }
 .sw-dashboard--reference .sw-dash-menu-toggle:focus-visible,
 .sw-dashboard--reference .sw-dash-menu-close:focus-visible { outline:2px solid #087cc1; outline-offset:3px; }
 .sw-dashboard--reference .sw-dashrail { width:min(320px,calc(100vw - 32px)); padding:26px 20px; background:#fff; border-right:1px solid #d4e5f1; box-shadow:8px 0 30px #0d294426; gap:24px; }
 .sw-dashboard--reference .sw-dashrail>.sw-auth__brand { margin:5px 42px 10px 0; font-size:28px; letter-spacing:-1.2px; }
 .sw-dashboard--reference .sw-dash-menu-close { top:24px; right:16px; display:flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; background:#edf5fa; border:1px solid #d2e3ef; border-radius:50%; color:#163b5a; cursor:pointer; }
 .sw-dashboard--reference .sw-dashrail nav { gap:5px; }
 .sw-dashboard--reference .sw-dashrail nav::before { content:'Explore'; padding:0 12px 8px; color:#60788d; font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
 .sw-dashboard--reference .sw-dashrail nav a { min-height:44px; padding:12px; margin:0; gap:12px; border:0; border-radius:8px; font-size:16px; color:#1c3a55; }
 .sw-dashboard--reference .sw-dashrail nav a .fa { width:20px; text-align:center; color:#44718f; }
 .sw-dashboard--reference .sw-dashrail nav a:hover { background:transparent; color:#1c3a55; }
 .sw-dashboard--reference .sw-dashrail nav .is-active,
 .sw-dashboard--reference .sw-dashrail nav .is-active:hover { background:#e7f4ff; color:#006eaa; border:0; font-weight:600; }
 .sw-dashboard--reference .sw-dashrail nav .is-active .fa { color:#006eaa; }
 .sw-dashboard--reference .sw-dashrail .sw-dashrail__bottom { margin:8px 0 0!important; padding-top:20px; border-top:1px solid #e2edf5; }
 .sw-dashboard--reference .sw-dashrail .sw-dashrail__bottom::before { content:'Your account'; }
}
/* Give every member discovery filter an equal share of the full row. */
.sw-dashboard--reference .sw-dash-searches .list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); width:100%; gap:0; }
.sw-dashboard--reference .sw-dash-searches .list li { width:100%; min-width:0; }
.sw-dashboard--reference .sw-dash-searches .list li a { display:flex; justify-content:center; align-items:center; min-height:56px; height:100%; padding:14px 10px; text-align:center; font-size:17px; white-space:normal; }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dash-searches .list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .sw-dashboard--reference .sw-dash-searches .list li:last-child { grid-column:1/-1; }
 .sw-dashboard--reference .sw-dash-searches .list li a { min-height:48px; font-size:15px; padding:12px 8px; }
}
/* Full-width primary navigation, matching the member filter row. */
@media(min-width:768px) {
 .sw-dashboard--reference .sw-dashrail>nav:first-of-type { display:flex; gap:0; width:100%; align-items:stretch; }
 .sw-dashboard--reference .sw-dashrail>nav:first-of-type>a { flex:1 1 0; min-width:0; min-height:56px; display:flex; align-items:center; justify-content:center; gap:10px; padding:14px 10px; font-size:17px; line-height:1.4; white-space:normal; text-align:center; }
 .sw-dashboard--reference .sw-dashrail>nav:first-of-type>a .fa { font-size:19px; flex-shrink:0; }
 .sw-dashboard--reference .sw-dashrail>nav:first-of-type>a.is-active { border-bottom:2px solid #08A5ED; background:transparent; color:#0089cf; font-weight:600; }
}
/* A subtle heading panel separates the introduction from member filters. */
.sw-dashboard--reference .sw-dashboard__heading { padding:22px 24px; background:#08A5ED; border:0; border-radius:8px; box-shadow:none; }
.sw-dashboard--reference .sw-dashboard__heading h2 { color:#fff; }
.sw-dashboard--reference .sw-dashboard__heading h2 em { color:#eaf8ff; }
.sw-dashboard--reference .sw-dashboard__heading>p:last-child { color:#eaf8ff; }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashboard__heading { padding:17px 16px; border-radius:6px; }
}
/* Requests and Search sit beside notifications and Upgrade in the top row. */
.sw-dashboard--reference .sw-header-shortcuts { display:flex; align-items:center; gap:16px; flex-shrink:0; }
.sw-dashboard--reference .sw-header-shortcuts>a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:8px 0; color:#18395c; font-size:15px; line-height:1.4; text-decoration:none; white-space:nowrap; }
.sw-dashboard--reference .sw-header-shortcuts>a.is-active { color:#0084c9; font-weight:600; box-shadow:inset 0 -2px 0 #08A5ED; }
@media(min-width:768px) and (max-width:1100px) { .sw-dashboard--reference .sw-dashboard__account { flex-wrap:wrap; gap:6px 14px; padding:8px 0; } .sw-dashboard--reference .sw-header-shortcuts { flex-basis:100%; justify-content:flex-end; } }
@media(max-width:767px) {
 .sw-dashboard--reference .sw-dashboard__account { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
 .sw-dashboard--reference .sw-header-shortcuts { grid-column:1/-1; grid-row:1; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
 .sw-dashboard--reference .sw-header-shortcuts>a { padding:8px 12px; border:1px solid #d4e5f2; border-radius:5px; background:#f5faff; font-size:14px; }
 .sw-dashboard--reference .sw-dashboard__account>.nav { grid-column:1; grid-row:2; }
 .sw-dashboard--reference .sw-dashboard-profile-menu { grid-column:2; grid-row:2; }
}


/* SecondWife member page components and responsive adjustments. */
/* SecondWife member screens share the approved dashboard shell. */
.sw-dashboard--reference.sw-member-page { display:flex; flex-direction:column; width:100%; min-width:0; min-height:100vh; background:#fff; color:var(--sw-navy); font-family:var(--sw-font-body); font-size:16px; line-height:1.5; }
.sw-member-page>.sw-pagefoot { margin-top:auto; }
.sw-member-page .sw-member-intro { width:min(100% - 48px,1080px); margin:28px auto 22px; padding:22px 24px; border:0; border-radius:8px; background:var(--sw-sky); }
.sw-member-page .sw-member-intro h1 { margin:0 0 6px; font-family:var(--sw-font-display); font-size:36px; line-height:1.2; color:#fff; }
.sw-member-page .sw-member-intro p { margin:0; color:#eaf8ff; font-size:17px; }
.sw-member-page>.sw-search__content,
.sw-member-page>.sw-settings__content,
.sw-member-page>.sw-messages__content,
.sw-member-page>.sw-upgrade__content,
.sw-member-page>.sw-profile__content,
.sw-member-page>.sw-guides__content { float:none; clear:both; display:flow-root; width:min(100% - 48px,1080px); max-width:1080px; min-width:0; margin:0 auto 28px; padding:0; background:#fff; }
.sw-member-page>.sw-profile__content,
.sw-member-page>.sw-upgrade__content,
.sw-member-page>.sw-guides__content { margin-top:28px; }
.sw-member-page .section,.sw-member-page .section-slim { float:none; clear:both; display:flow-root; width:100%; min-width:0; margin:0; padding:0; }
.sw-member-page .container { width:100%; max-width:1080px; min-width:0; padding:0; margin:0 auto; }
.sw-member-page .row,.sw-member-page .form-row { min-width:0; }
.sw-member-page .card { background:#fff; border:1px solid #d4e5f2; border-radius:6px; box-shadow:none; }
.sw-member-page .card-header { background:#f3f9fe; color:#123552; border-bottom:1px solid #dceaf5; }
.sw-member-page .card-body { min-width:0; }
.sw-member-page .hint,.sw-member-page .hint-box { padding:16px; border:1px solid #d4e5f2; border-left:3px solid #08A5ED; border-radius:4px; background:#f0f8ff; color:#345b7a; font-size:15px; line-height:1.5; }
.sw-member-page .form-control { max-width:100%; border:1px solid #c6ddea; border-radius:5px; background:#fff; color:#183b58; font-family:inherit; font-size:15px; }
.sw-member-page input.form-control:not([type="checkbox"]):not([type="radio"]),.sw-member-page select.form-control { min-height:42px; }
.sw-member-page .form-control:focus { border-color:#08A5ED; outline:2px solid #c8eaff; outline-offset:1px; box-shadow:none; }
.sw-member-page .btn { border-radius:5px; font-family:inherit; }
.sw-member-page .btn-success,.sw-member-page .btn-primary { background:#08A5ED; border-color:#08A5ED; color:#fff; }
.sw-member-page .btn-danger { background:#b83232; border-color:#b83232; color:#fff; }
.sw-member-page a:focus-visible,.sw-member-page button:focus-visible { outline:2px solid #087cc1; outline-offset:3px; }
.sw-member-page .nav-links { display:flex; flex-direction:column; gap:5px; margin:0; padding:8px; list-style:none; background:#f6faff; border:1px solid #d7e8f3; border-radius:6px; }
.sw-member-page .nav-links>li { width:100%; margin:0; padding:0; border:0; }
.sw-member-page .nav-links>li>a { display:block; padding:12px 14px; color:#274c6b; border:0; border-radius:4px; font-size:15px; line-height:1.4; }
.sw-member-page .nav-links>li.active>a { background:#e0f1ff; color:#006fae; font-weight:600; border:0; }
.sw-member-page .nav-links>li>a:hover { background:#ebf5fd; color:#006fae; }
.sw-member-page .sw-search__content>.container>.row { display:grid; grid-template-columns:240px minmax(0,1fr); gap:22px; margin:0; align-items:start; }
.sw-member-page .sw-search__content>.container>.row>.col-12 { width:100%; max-width:100%; min-width:0; padding:0; }
.sw-member-page .sw-search__content>.container>.row:has(>.col-12:only-child) { grid-template-columns:minmax(0,1fr); }
.sw-member-page .sw-search-results { min-width:0; }
.sw-member-page .sw-search-intro { padding:0 0 14px; margin:0; background:none; border:0; }
.sw-member-page .sw-search-intro>p,.sw-member-page .sw-search-intro>h2 { display:none; }
.sw-member-page .sw-search-results>.row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; }
.sw-member-page .sw-search-results>.row::before,.sw-member-page .sw-search-results>.row::after { content:none; display:none; }
.sw-member-page .sw-search-results>.row>.col-12 { width:100%; max-width:100%; padding:0; min-width:0; }
.sw-member-page .user-card { position:relative; height:100%; margin:0; padding:12px; border:1px solid #cde3f3; border-radius:5px; background:#fff; box-shadow:none; }
.sw-member-page .user-card.premium-card { border-top:3px solid #08A5ED; background:#fff; }
.sw-member-page .user-card .form-row { display:grid; grid-template-columns:96px minmax(0,1fr); gap:12px; margin:0; }
.sw-member-page .user-card .form-row>.col-4,.sw-member-page .user-card .form-row>.col-8 { width:100%; max-width:100%; flex:none; padding:0!important; min-width:0; }
.sw-member-page .user-card .col-4>a,.sw-member-page .user-card .col-4>a>div { display:block; position:relative; width:100%; aspect-ratio:1; overflow:hidden; background:#eef5fa; }
.sw-member-page .user-card .col-4 img { width:100%; height:100%; object-fit:cover; border-radius:0; }
.sw-member-page .user-card .col-8 { font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.sw-member-page .user-card .col-8>a b { font-size:18px; color:#10294a; }
.sw-member-page .user-card .badge { display:inline-block; padding:6px 7px; margin:6px 3px 0 0; border-radius:4px; background:#eaf4fc; color:#214967; line-height:1.3; }
.sw-member-page .user-card .badge a { color:inherit; cursor:pointer; }
.sw-member-page .user-card .badge-danger { background:#fff0f0; color:#a82828; }
.sw-member-page .user-card .corner-ribbon.sticky { position:absolute!important; }
.sw-member-page .sw-search-filters { border-radius:6px; border:1px solid #d4e5f2; overflow:hidden; background:#fff; }
.sw-member-page .sw-search-filters>summary { min-height:46px; }
.sw-member-page .sw-request-list { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:0; }
.sw-member-page .sw-request-list>.user-card { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; }
.sw-member-page .sw-request-list>.user-card>a { display:block; position:relative; width:88px; height:88px; overflow:hidden; }
.sw-member-page .sw-request-list>.user-card>a>div { position:relative; height:100%; }
.sw-member-page .sw-request-list img { width:100%; height:100%; object-fit:cover; }
.sw-member-page .sw-request-list .info-container { padding:0; min-width:0; text-align:left; }
.sw-member-page .sw-request-list .username { margin:0 0 8px; font-size:18px; overflow-wrap:anywhere; }
.sw-member-page .sw-request-list .requests a { display:inline-block; padding:7px 9px; margin:6px 4px 0 0; border:1px solid #d4e5f2; border-radius:4px; cursor:pointer; }
.sw-member-page .sw-search-results>.row>.col-12:has(>.hint),.sw-member-page .sw-search-results>.row>.col-12:has(>.hint-box) { grid-column:1/-1; }
.sw-member-page .pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:22px 0; padding:0; }
.sw-member-page .paginationBox { margin:0; }
.sw-member-page .pagination .page-link { padding:9px 13px; border:1px solid #cce1ef; background:#fff; color:#007fc4; }
.sw-member-page .pagination .active .page-link { background:#08A5ED; border-color:#08A5ED; color:#fff; }
.sw-member-page .sw-profile__content>.profile-header { margin:0 0 22px; padding:20px; border:1px solid #d4e5f2; border-radius:6px; background:#f1f8fe; color:#173950; }
.sw-member-page .sw-profile__content>.section-slim { padding:0; }
.sw-member-page .sw-profile__content>.section-slim>.container>.row { grid-template-columns:280px minmax(0,1fr); gap:22px; }
.sw-member-page .sw-profile__content .card-tab { border:1px solid #d4e5f2; background:#fff; box-shadow:none; }
.sw-member-page .sw-profile__content #profileTab { flex-wrap:wrap; }
.sw-member-page .sw-settings__content>.section,.sw-member-page .sw-messages__content>.section,.sw-member-page .sw-upgrade__content>.section,.sw-member-page .sw-guides__content>.section { padding:0; }
.sw-member-page .sw-settings__content>.section>.container>.row { grid-template-columns:240px minmax(0,1fr); gap:22px; }
.sw-member-page .sw-settings__content>.section>.container>.row:has(>.col-12:only-child) { grid-template-columns:minmax(0,1fr); }
.sw-member-page .sw-messages__content .list-group-item { padding:16px; border-color:#d6e6f2; color:#193d59; background:#f3f9fe; border-radius:4px; }
.sw-member-page .sw-messages__content .list-group-item.read { background:#fff; }
.sw-member-page .sw-messages__content .list-group-item .name { color:#10294a; font-weight:600; }
.sw-member-page .sw-messages__content .list-group-item .badge { background:#e4f2ff; color:#355975; }
.sw-member-page .sw-messages__content .conversation { border:1px solid #d4e5f2; background:#fff; border-radius:6px; }
.sw-member-page .sw-upgrade__intro,.sw-member-page .sw-guides__intro { padding:22px 24px; margin:0 0 22px; border:1px solid #d4e8f7; border-left:4px solid #08A5ED; border-radius:8px; background:#eef7ff; }
.sw-member-page .sw-upgrade__intro h2,.sw-member-page .sw-guides__intro h2 { color:#091638; }
.sw-member-page .sw-trust-panel,.sw-member-page .sw-survey-panel { width:min(100% - 48px,860px); max-width:860px; margin:28px auto; }
.sw-member-page .sw-incomplete__body { width:min(100% - 48px,1080px); margin:28px auto; padding:0; }
.sw-member-page .sw-incomplete__grid { width:100%; max-width:100%; }
.sw-member-page .sw-trust-card,.sw-member-page .sw-survey-card,.sw-member-page .sw-incomplete__details { border:1px solid #d4e5f2; border-radius:6px; box-shadow:none; background:#fff; }
.sw-member-page .sw-trust-button { background:#08A5ED; border-color:#08A5ED; color:#fff; }
.sw-member-guest-header__inner { width:min(100% - 48px,1080px); margin:auto; min-height:74px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.sw-member-guest-header__inner nav { display:flex; gap:18px; }
@media(max-width:1000px) {
 .sw-member-page .sw-search-results>.row,.sw-member-page .sw-request-list { grid-template-columns:minmax(0,1fr); }
 .sw-member-page .sw-search__content>.container>.row { grid-template-columns:220px minmax(0,1fr); gap:18px; }
}
@media(max-width:767px) {
 .sw-member-page>.sw-search__content,.sw-member-page>.sw-settings__content,.sw-member-page>.sw-messages__content,.sw-member-page>.sw-profile__content,.sw-member-page>.sw-upgrade__content,.sw-member-page>.sw-guides__content,.sw-member-page .sw-member-intro,.sw-member-page .sw-incomplete__body,.sw-member-page .sw-survey-panel,.sw-member-page .sw-trust-panel { width:calc(100% - 32px); }
 .sw-member-page .sw-member-intro { padding:17px 16px; margin:22px auto 18px; }
 .sw-member-page .sw-member-intro h1 { font-size:30px; }
 .sw-member-page .sw-member-intro p { font-size:15px; }
 .sw-member-page .sw-search__content>.container>.row,.sw-member-page .sw-settings__content>.section>.container>.row,.sw-member-page .sw-profile__content>.section-slim>.container>.row { grid-template-columns:minmax(0,1fr); gap:18px; }
 .sw-member-page .nav-links { flex-direction:row; flex-wrap:wrap; gap:4px; }
 .sw-member-page .nav-links>li { width:auto; flex:1 1 auto; }
 .sw-member-page .nav-links>li>a { padding:10px 12px; text-align:center; font-size:14px; }
 .sw-member-page .sw-search-filters>summary { display:flex; justify-content:space-between; align-items:center; }
 .sw-member-page .sw-search-results>.row,.sw-member-page .sw-request-list { grid-template-columns:minmax(0,1fr); gap:14px; }
 .sw-member-page .user-card .form-row { grid-template-columns:86px minmax(0,1fr); gap:10px; }
 .sw-member-page .user-card .col-8>a b { font-size:17px; }
 .sw-member-page .user-card .col-8 { font-size:13px; }
 .sw-member-page .sw-profile__content>.profile-header { padding:16px; }
 .sw-member-page .sw-upgrade__intro,.sw-member-page .sw-guides__intro { padding:17px 16px; }
 .sw-member-page .sw-incomplete__grid { grid-template-columns:minmax(0,1fr); gap:18px; }
 .sw-member-page .sw-messages__content .list-group-item { padding:12px; }
 .sw-member-page .sw-messages__content .list-group-item .preview { display:block; margin-top:5px; }
 .sw-member-page .sw-messages__content .list-group-item .badge { float:none; display:inline-block; margin-top:6px; }
 .sw-member-guest-header__inner { width:calc(100% - 32px); min-height:68px; }
 .sw-member-guest-header__inner .sw-auth__brand { font-size:28px; }
 .sw-member-guest-header__inner nav { gap:12px; font-size:14px; }
}
/* Keep the outer results region centered; .section's legacy rules are internal only. */
.sw-dashboard--reference.sw-member-page>.sw-search__content.section { width:min(100% - 48px,1080px); max-width:1080px; margin:0 auto 28px; padding:0; float:none; }
.sw-member-page>.sw-search__content>.container { width:100%; max-width:100%; margin:0; padding:0; }
.sw-member-page .sw-member-intro,.sw-member-page .sw-member-intro h1 { text-align:left; letter-spacing:0; }
.sw-member-page .sw-settings__content>.subheader,
.sw-member-page .sw-messages__content>.subheader,
.sw-member-page .sw-upgrade__content>.subheader,
.sw-member-page .sw-guides__content>.subheader { display:none; }
.sw-member-page .user-card.premium-card::before { top:18px; left:18px; right:auto; min-width:0; padding:4px 6px; z-index:2; }
.sw-member-page .user-card .col-8>a { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
.sw-member-page .sw-profile__content>.profile-header { width:100%; max-width:100%; }
.sw-member-page .sw-request-list .username a { font-size:18px; line-height:1.4; }
@media(max-width:767px) {
 .sw-dashboard--reference.sw-member-page>.sw-search__content.section { width:calc(100% - 32px); }
 .sw-member-page .sw-upgrade__content .col-md-6>.row:first-child>.col-md-6 { flex:0 0 100%; max-width:100%; }
 .sw-member-page .plan .price h3 .symbol { position:static; font-size:.5em; vertical-align:top; margin-right:3px; }
}
/* Search/compatibility cards use the dashboard's photo-and-details hierarchy. */
.sw-member-page .sw-result-grid { align-items:stretch; }
.sw-member-page .sw-result-card.user-card { display:grid; grid-template-columns:120px minmax(0,1fr); grid-template-rows:auto; gap:14px; padding:14px; height:100%; border:1px solid #cde3f3; border-radius:5px; background:#fff; overflow:visible; }
.sw-member-page .sw-result-card.user-card::before,.sw-member-page .sw-result-card.user-card::after { display:none; content:none; }
.sw-member-page .sw-result-photo { display:block; position:relative; width:120px; height:120px; overflow:hidden; background:#edf5fa; }
.sw-member-page .sw-result-photo>div { position:relative; width:100%; height:100%; }
.sw-member-page .sw-result-photo img { display:block; width:100%; height:100%; object-fit:cover; border-radius:0; }
.sw-member-page .sw-result-photo .corner-ribbon.sticky { position:absolute!important; top:auto!important; right:0!important; bottom:0!important; left:0!important; width:100%!important; margin:0!important; padding:4px!important; transform:none!important; background:#08A5ED!important; color:#fff!important; line-height:1.3!important; font-size:11px!important; box-shadow:none!important; }
.sw-member-page .sw-result-photo .corner-ribbon::before,.sw-member-page .sw-result-photo .corner-ribbon::after { display:none; }
.sw-member-page .sw-result-details { min-width:0; }
.sw-member-page .sw-result-status { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:9px; min-height:22px; }
.sw-member-page .sw-result-premium { display:inline-flex; align-items:center; gap:4px; padding:4px 6px; border-radius:3px; background:#09233e; color:#fff; font-size:12px; line-height:1.2; }
.sw-member-page .sw-result-premium .fa { color:#ffd35c; }
.sw-member-page .sw-result-verified { display:inline-flex; align-items:center; gap:4px; color:#0084c9; font-size:12px; }
.sw-member-page .sw-result-details h3 { margin:0 0 8px; padding:0; font-size:20px; line-height:1.3; font-weight:700; letter-spacing:0; text-align:left; overflow-wrap:anywhere; }
.sw-member-page .sw-result-details h3 a { color:#091638; text-decoration:none; }
.sw-member-page .sw-result-details p { padding:0; margin:0 0 8px; font-size:14px; line-height:1.5; }
.sw-member-page .sw-result-location { color:#597493; }
.sw-member-page .sw-result-tagline { color:#365778; }
.sw-member-page .sw-result-compatibility { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:10px 12px; border:1px solid #dbeaf6; border-radius:4px; background:#f0f8ff; }
.sw-member-page .sw-result-score { color:#214d70; font-size:15px; font-weight:600; }
.sw-member-page .sw-result-score a { color:#0076b6; font-size:18px; }
.sw-member-page .sw-result-accuracy { font-size:13px; color:#56718d; }
.sw-member-page .sw-result-stats { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px 12px; padding:0; color:#355b7d; font-size:13px; line-height:1.4; }
.sw-member-page .sw-result-stats>span { display:inline-flex; align-items:center; gap:5px; }
.sw-member-page .sw-result-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; padding-top:12px; border-top:1px solid #e1edf6; margin-top:auto; }
.sw-member-page .sw-result-actions>a { display:inline-flex; align-items:center; justify-content:center; gap:6px; flex:1 1 auto; min-height:36px; padding:7px 9px; border:1px solid #cde2f1; border-radius:4px; background:#f4faff; color:#254f71; font-size:14px; line-height:1.3; cursor:pointer; text-decoration:none; }
.sw-member-page .sw-result-actions>a.sw-result-message { background:#08A5ED; border-color:#08A5ED; color:#fff; }
.sw-member-page .sw-result-actions>a.sw-result-delete { color:#a12b2b; background:#fff6f6; border-color:#efd6d6; }
.sw-member-page .sw-search-results>.sw-result-grid>.sw-result-empty { grid-column:1/-1; }
@media(max-width:1100px) and (min-width:768px) { .sw-member-page .sw-search-results>.sw-result-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:767px) {
 .sw-member-page .sw-result-card.user-card { grid-template-columns:100px minmax(0,1fr); padding:12px; gap:12px; }
 .sw-member-page .sw-result-photo { width:100px; height:110px; }
 .sw-member-page .sw-result-details h3 { font-size:19px; }
 .sw-member-page .sw-result-details p { font-size:14px; }
 .sw-member-page .sw-result-compatibility { gap:6px; padding:9px 10px; }
 .sw-member-page .sw-result-actions>a { font-size:13px; padding:8px 7px; }
}
@media(max-width:359px) { .sw-member-page .sw-result-card.user-card { grid-template-columns:80px minmax(0,1fr); gap:10px; } .sw-member-page .sw-result-photo { width:80px; height:95px; } .sw-member-page .sw-result-status { gap:5px; } .sw-member-page .sw-result-premium,.sw-member-page .sw-result-verified { font-size:11px; } }
/* Connection lists: heading card, left sidebar tabs, results grid. */
.sw-member-page.sw-interests .sw-search__content>.container>.row { grid-template-columns:230px minmax(0,1fr); gap:24px; }
.sw-member-page.sw-interests .sw-search__content>.container>.row>.col-12 { width:100%; max-width:100%; margin:0; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links { display:flex; flex-direction:column; gap:4px; width:100%; padding:10px; margin:0; border:1px solid #d4e5f2; border-radius:8px; background:#fff; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links>li { width:100%; margin:0; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links>li>a { display:flex; align-items:center; gap:10px; min-height:42px; padding:9px 12px; border:0; border-radius:6px; background:transparent; color:#284c6d; font-size:15px; line-height:1.3; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links>li>a:hover { background:#f4faff; color:#0a6ea8; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links>li>a>.fa { width:16px; text-align:center; color:#6b93b5; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links>li.active>a { background:#e5f3ff; color:#007dbd; font-weight:600; box-shadow:inset 3px 0 0 #009bf3; }
.sw-member-page.sw-interests .sw-interests-tabs.nav-links>li.active>a>.fa { color:#009bf3; }
.sw-member-page.sw-interests .sw-search-results>.sw-result-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.sw-member-page.sw-interests .sw-result-card.user-card { grid-template-columns:145px minmax(0,1fr); padding:14px; }
.sw-member-page.sw-interests .sw-result-photo { width:145px; height:145px; }
.sw-member-page.sw-interests .sw-interests-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:260px; padding:32px 20px; border:1px solid #d4e5f2; border-radius:6px; background:#fbfdff; text-align:center; }
.sw-member-page.sw-interests .sw-interests-empty__icon { display:flex; align-items:center; justify-content:center; width:54px; height:54px; margin-bottom:16px; border-radius:50%; background:#e5f3ff; color:#087ab5; font-size:24px; }
.sw-member-page.sw-interests .sw-interests-empty h2 { padding:0; margin:0 0 8px; color:#10294a; font-size:25px; line-height:1.3; letter-spacing:0; }
.sw-member-page.sw-interests .sw-interests-empty p { padding:0; margin:0 0 20px; max-width:480px; color:#59738f; font-size:16px; line-height:1.5; }
.sw-member-page.sw-interests .sw-interests-empty__browse { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:42px; padding:10px 16px; border:1px solid #08A5ED; border-radius:5px; background:#08A5ED; color:#fff; font-size:15px; text-decoration:none; }
@media(max-width:767px) {
 .sw-member-page.sw-interests .sw-search__content>.container>.row { grid-template-columns:minmax(0,1fr); gap:18px; }
 .sw-member-page.sw-interests .sw-interests-tabs.nav-links { flex-direction:row; flex-wrap:wrap; padding:8px; }
 .sw-member-page.sw-interests .sw-interests-tabs.nav-links>li { width:auto; flex:1 1 46%; }
 .sw-member-page.sw-interests .sw-interests-tabs.nav-links>li>a { justify-content:center; min-height:42px; padding:8px 10px; font-size:14px; }
 .sw-member-page.sw-interests .sw-interests-tabs.nav-links>li.active>a { box-shadow:none; border-bottom:2px solid #08A5ED; border-radius:6px 6px 0 0; }
 .sw-member-page.sw-interests .sw-search-results>.sw-result-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
 .sw-member-page.sw-interests .sw-result-card.user-card { grid-template-columns:100px minmax(0,1fr); padding:12px; }
 .sw-member-page.sw-interests .sw-result-photo { width:100px; height:110px; }
 .sw-member-page.sw-interests .sw-interests-empty { min-height:240px; padding:26px 18px; }
 .sw-member-page.sw-interests .sw-interests-empty h2 { font-size:23px; }
 .sw-member-page.sw-interests .sw-interests-empty p { font-size:15px; }
}
@media(max-width:359px) { .sw-member-page.sw-interests .sw-result-card.user-card { grid-template-columns:80px minmax(0,1fr); } .sw-member-page.sw-interests .sw-result-photo { width:80px; height:95px; } }
/* Messages mirrors the interests layout: heading card, sidebar mailbox tabs, conversation list. */
.sw-member-page.sw-messages .sw-messages__content>.section>.container>.row { display:grid; grid-template-columns:230px minmax(0,1fr); gap:24px; margin:0; align-items:start; }
.sw-member-page.sw-messages .sw-messages__content>.section>.container>.row>.col-12 { width:100%; max-width:100%; min-width:0; padding:0; }
.sw-member-page.sw-messages .sw-messages__content .nav-links { display:flex; flex-direction:column; gap:4px; width:100%; margin:0; padding:10px; border:1px solid #d4e5f2; border-radius:8px; background:#fff; }
.sw-member-page.sw-messages .sw-messages__content .nav-links>li { width:100%; margin:0; }
.sw-member-page.sw-messages .sw-messages__content .nav-links>li>a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:42px; padding:9px 12px; border:0; border-radius:6px; background:transparent; color:#284c6d; font-size:15px; line-height:1.3; }
.sw-member-page.sw-messages .sw-messages__content .nav-links>li>a:hover { background:#f4faff; color:#0a6ea8; }
.sw-member-page.sw-messages .sw-messages__content .nav-links>li.active>a { background:#e5f3ff; color:#007dbd; font-weight:600; box-shadow:inset 3px 0 0 #009bf3; }
.sw-member-page.sw-messages .sw-messages__content .nav-links .badge { float:none; margin:0; padding:2px 9px; border-radius:20px; background:#08A5ED; color:#fff; font-size:12px; font-weight:600; line-height:1.4; }
.sw-member-page.sw-messages .sw-messages__content p.center { margin:0; padding:40px 20px; border:1px dashed #bfe0f5; border-radius:8px; background:#fbfdff; color:#59738f; font-size:15px; text-align:center; }
.sw-member-page.sw-messages .sw-messages__content .list-group { display:flex; flex-direction:column; margin:0; padding:6px; border:1px solid #d4e5f2; border-radius:8px; background:#fff; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item { position:relative; display:flex; align-items:center; gap:12px; height:auto; min-height:56px; margin:0; padding:10px 12px; border:0; border-bottom:1px solid #e8f1f8; border-radius:0; background:#fff; color:#193d59; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item:last-child { border-bottom:0; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item:hover { background:#f4faff; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item.read { background:#fff; color:#7d95ab; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item:not(.read) { background:#f3f9fe; box-shadow:inset 3px 0 0 #009bf3; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item .star,.sw-member-page.sw-messages .sw-messages__content .list-group-item .archive { flex:0 0 auto; width:30px; height:30px; margin:0; border-radius:50%; color:#8aa9c2; text-align:center; line-height:30px; cursor:pointer; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item .star:hover,.sw-member-page.sw-messages .sw-messages__content .list-group-item .archive:hover { background:#e5f3ff; color:#007dbd; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item .star.fa-star { color:#f0a400; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item .name { flex:0 0 auto; min-width:110px; max-width:160px; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:1.3; font-size:15px; font-weight:600; color:#10294a; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item.read .name { color:#486887; font-weight:500; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item .preview { flex:1 1 auto; min-width:0; margin:0; max-width:none; height:auto; font-size:13px; line-height:1.4; color:#59738f; }
.sw-member-page.sw-messages .sw-messages__content .list-group-item .badge { position:static; flex:0 0 auto; margin:0 0 0 auto; padding:3px 10px; border-radius:20px; background:#e4f2ff; color:#355975; font-size:12px; font-weight:500; }
@media(max-width:767px) {
 .sw-member-page.sw-messages .sw-messages__content>.section>.container>.row { grid-template-columns:minmax(0,1fr); gap:18px; }
 .sw-member-page.sw-messages .sw-messages__content .nav-links { flex-direction:row; flex-wrap:wrap; padding:8px; }
 .sw-member-page.sw-messages .sw-messages__content .nav-links>li { width:auto; flex:1 1 46%; }
 .sw-member-page.sw-messages .sw-messages__content .nav-links>li>a { justify-content:center; min-height:42px; padding:8px 10px; font-size:14px; }
 .sw-member-page.sw-messages .sw-messages__content .nav-links>li.active>a { box-shadow:none; border-bottom:2px solid #08A5ED; border-radius:6px 6px 0 0; }
 .sw-member-page.sw-messages .sw-messages__content .list-group-item { gap:8px; padding:10px; flex-wrap:wrap; }
 .sw-member-page.sw-messages .sw-messages__content .list-group-item .preview { flex-basis:100%; order:3; }
 .sw-member-page.sw-messages .sw-messages__content .list-group-item .badge { margin-left:0; order:2; }
}
/* Saved-search screen: quiet filter panel and compact dashboard-style results. */
.sw-member-page.sw-search-page .sw-search__content>.container>.row { grid-template-columns:250px minmax(0,1fr); gap:24px; align-items:start; }
.sw-member-page.sw-search-page .sw-search-filters { border:1px solid #d4e5f2; border-radius:6px; background:#fff; }
.sw-member-page.sw-search-page .sw-search-filters>summary { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:13px 14px; list-style:none; background:#f2f8fd; color:#123550; font-size:18px; font-weight:600; border-bottom:1px solid #dceaf5; }
.sw-member-page.sw-search-page .sw-search-filters>summary::-webkit-details-marker { display:none; }
.sw-member-page.sw-search-page .searchFieldHeader { padding:12px 14px; background:#f6faff; border-bottom:1px solid #e4eef6; color:#254e6b; font-size:15px; }
.sw-member-page.sw-search-page .searchFieldEdit { padding:12px 14px; }
.sw-member-page.sw-search-page .searchFieldBody { padding:8px 14px; font-size:14px; line-height:1.5; }
.sw-member-page.sw-search-page .searchFields>li { border-bottom:1px solid #e4eef6; }
.sw-member-page.sw-search-page .savedSearches li { display:grid; grid-template-columns:minmax(0,1fr) 28px; align-items:start; gap:6px; padding:8px 0; }
.sw-member-page.sw-search-page .savedSearches li>a:first-child { min-width:0; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.sw-member-page.sw-search-page .savedSearches li>a.float-right { float:none!important; display:flex; justify-content:center; align-items:center; min-height:28px; border:1px solid #d4e5f2; border-radius:4px; color:#587991; cursor:pointer; }
.sw-member-page.sw-search-page .searchFieldEdit .hint-box { padding:10px; margin-bottom:10px; border:0; background:#f3f8fc; color:#58718b; font-size:13px; }
.sw-member-page.sw-search-page .searchFieldEdit .input-group { display:flex; flex-wrap:nowrap; align-items:stretch; width:100%; gap:0; }
.sw-member-page.sw-search-page .searchFieldEdit .input-group>.form-control { flex:1 1 0; min-width:0; width:0; border-radius:4px 0 0 4px; }
.sw-member-page.sw-search-page .searchFieldEdit .input-group-btn { display:flex; flex:0 0 auto; }
.sw-member-page.sw-search-page .searchFieldEdit .input-group-btn .btn { min-height:42px; padding:8px 11px; border-radius:0 4px 4px 0; }
.sw-member-page.sw-search-page .searchFields>.checkbox { margin:0; padding:8px 14px; }
.sw-member-page.sw-search-page .searchFields>.checkbox label { display:flex; align-items:flex-start; gap:8px; margin:0; padding:0; font-size:14px; line-height:1.5; color:#365d7a; }
.sw-member-page.sw-search-page .searchFields>.checkbox input { position:static; flex:0 0 auto; margin:4px 0 0; }
.sw-member-page.sw-search-page .searchFields>select[name="sort"] { width:calc(100% - 28px); margin:10px 14px; min-height:42px; font-size:14px; }
.sw-member-page.sw-search-page .searchFields>.form-group.form-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0; padding:0 14px 14px; }
.sw-member-page.sw-search-page .searchFields>.form-group.form-row>.col-6 { width:100%; max-width:100%; padding:0; }
.sw-member-page.sw-search-page .searchFields>.form-group .btn { display:flex; align-items:center; justify-content:center; min-height:42px; font-size:14px; }
.sw-member-page.sw-search-page .sw-search-filters>.card { margin:0; border:0; border-top:1px solid #d4e5f2; border-radius:0; background:#fff; }
.sw-member-page.sw-search-page .sw-search-filters>.card>.card-header { padding:13px 14px; background:#f6faff; font-size:18px; }
.sw-member-page.sw-search-page .sw-search-filters>.card>.card-body { padding:8px 14px; }
.sw-member-page.sw-search-page .sw-search-filters>.card .list { padding:0; margin:0; list-style:none; }
.sw-member-page.sw-search-page .sw-search-filters>.card .list li { margin:0; padding:0; border:0; }
.sw-member-page.sw-search-page .sw-search-filters>.card .list li::before { display:none; }
.sw-member-page.sw-search-page .sw-search-filters>.card .list li a { display:block; padding:10px 0; font-size:14px; line-height:1.4; color:#315d7d; }
.sw-member-page.sw-search-page .sw-search-results-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:0 0 14px; margin:0; }
.sw-member-page.sw-search-page .sw-search-results-label { font-size:22px; line-height:1.3; font-weight:700; color:#0c2745; }
.sw-member-page.sw-search-page .sw-search-legend { font-size:13px; color:#567692; }
.sw-member-page.sw-search-page .sw-result-card.user-card { grid-template-columns:125px minmax(0,1fr); grid-template-rows:auto auto auto auto; gap:9px 14px; padding:12px; border:1px solid #cde3f3; border-radius:4px; }
.sw-member-page.sw-search-page .sw-result-photo { grid-column:1; grid-row:1/4; width:125px; height:145px; align-self:start; }
.sw-member-page.sw-search-page .sw-result-details { grid-column:2; grid-row:1; }
.sw-member-page.sw-search-page .sw-result-status { gap:6px; margin-bottom:7px; }
.sw-member-page.sw-search-page .sw-result-details h3 { margin-bottom:7px; font-size:20px; line-height:1.3; }
.sw-member-page.sw-search-page .sw-result-details p { margin-bottom:6px; font-size:14px; line-height:1.45; }
.sw-member-page.sw-search-page .sw-result-compatibility { grid-column:2; grid-row:2; display:flex; justify-content:flex-start; gap:5px 10px; padding:0; margin:0; background:none; border:0; border-radius:0; }
.sw-member-page.sw-search-page .sw-result-score { font-size:14px; }
.sw-member-page.sw-search-page .sw-result-score a { font-size:15px; }
.sw-member-page.sw-search-page .sw-result-accuracy { font-size:12px; }
.sw-member-page.sw-search-page .sw-result-stats { grid-column:2; grid-row:3; gap:6px 10px; font-size:12px; }
.sw-member-page.sw-search-page .sw-result-actions { grid-column:1/-1; grid-row:4; padding-top:10px; gap:7px; margin-top:3px; }
.sw-member-page.sw-search-page .sw-result-actions>a { min-height:34px; padding:7px 8px; font-size:13px; }
@media(max-width:1100px) and (min-width:768px) { .sw-member-page.sw-search-page .sw-search-results>.sw-result-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:767px) {
 .sw-member-page.sw-search-page .sw-search__content>.container>.row { grid-template-columns:minmax(0,1fr); gap:20px; }
 .sw-member-page.sw-search-page .sw-search-results-heading { min-height:0; padding-bottom:14px; }
 .sw-member-page.sw-search-page .sw-result-card.user-card { grid-template-columns:100px minmax(0,1fr); gap:10px 12px; }
 .sw-member-page.sw-search-page .sw-result-photo { grid-row:1; width:100px; height:110px; }
 .sw-member-page.sw-search-page .sw-result-details h3 { font-size:19px; }
 .sw-member-page.sw-search-page .sw-result-compatibility { grid-column:1/-1; grid-row:2; flex-wrap:wrap; padding-top:9px; border-top:1px solid #e6eff6; }
 .sw-member-page.sw-search-page .sw-result-stats { grid-column:1/-1; grid-row:3; font-size:13px; }
}
@media(max-width:359px) { .sw-member-page.sw-search-page .sw-result-card.user-card { grid-template-columns:80px minmax(0,1fr); gap:10px; } .sw-member-page.sw-search-page .sw-result-photo { width:80px; height:95px; } }
.sw-member-page.sw-search-page .sw-search-filters>summary::after { display:none; content:none; }
/* SecondWife upgrade only: dashboard-blue heading and compact plan layout. */
.sw-member-page.sw-upgrade .sw-upgrade__intro { padding:22px 24px; margin-bottom:20px; border:0; border-radius:8px; background:#08A5ED; box-shadow:none; }
.sw-member-page.sw-upgrade .sw-upgrade__intro h2 { margin:0 0 7px; color:#fff; font-size:36px; line-height:1.2; }
.sw-member-page.sw-upgrade .sw-upgrade__intro h2 em { color:#eaf8ff; font-style:normal; }
.sw-member-page.sw-upgrade .sw-upgrade__intro>span { color:#eaf8ff; font-size:16px; line-height:1.5; }
.sw-member-page.sw-upgrade .plan { border:1px solid #d0e4f2; border-radius:6px; background:#fff; box-shadow:none; overflow:hidden; }
.sw-member-page.sw-upgrade .plan .head { padding:14px 12px; background:#f0f8ff; border-bottom:1px solid #dceaf5; }
.sw-member-page.sw-upgrade .plan .head h2 { margin:0; font-size:23px; line-height:1.3; }
.sw-member-page.sw-upgrade .plan .price { padding:18px 14px; }
.sw-member-page.sw-upgrade .plan .price h3 { margin:0 0 8px; font-size:36px; line-height:1.2; }
.sw-member-page.sw-upgrade .plan .price p { margin:0 0 12px; font-size:14px; line-height:1.5; }
.sw-member-page.sw-upgrade .plan .price>a,.sw-member-page.sw-upgrade .plan .price>strong>a { display:block; min-height:40px; padding:10px 12px; border-radius:4px; font-size:15px; line-height:1.3; }
.sw-member-page.sw-upgrade .card { margin-bottom:16px; border-color:#d4e5f2; box-shadow:none; }
.sw-member-page.sw-upgrade .card-header { padding:13px 16px; font-size:20px; line-height:1.3; background:#f3f9fe; }
.sw-member-page.sw-upgrade .card-body { padding:16px; }
.sw-member-page.sw-upgrade table.features th { padding:13px 14px; font-size:20px; line-height:1.3; }
.sw-member-page.sw-upgrade table.features td { padding:10px 14px; font-size:14px; line-height:1.4; }
.sw-member-page.sw-upgrade .hint-box { padding:14px 16px; font-size:14px; line-height:1.5; }
.sw-member-page.sw-upgrade .hint-box small { font-size:13px; line-height:1.6; }
.sw-member-page.sw-upgrade #accordion .card-header a { color:#086eaa; font-size:16px; }
.sw-member-page.sw-upgrade #accordion .btn { min-height:42px; }
@media(max-width:767px) {
 .sw-member-page.sw-upgrade .sw-upgrade__intro { padding:18px 16px; margin-bottom:18px; }
 .sw-member-page.sw-upgrade .sw-upgrade__intro h2 { font-size:31px; }
 .sw-member-page.sw-upgrade .sw-upgrade__intro>span { font-size:15px; }
 .sw-member-page.sw-upgrade .plan .price { padding:16px 12px; }
 .sw-member-page.sw-upgrade .card-body { padding:14px; }
}
/* Settings uses the same full-width navigation rhythm as Favourites. */
.sw-member-page.sw-settings .sw-settings__content>.section>.container>.row { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; margin:0; }
.sw-member-page.sw-settings .sw-settings__content>.section>.container>.row>.col-12 { width:100%; max-width:100%; min-width:0; padding:0; margin:0; }
.sw-member-page.sw-settings .sw-settings__content .nav-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:0; margin:0; padding:0; border:0; border-bottom:1px solid #cde4f7; border-radius:0; background:#fff; }
.sw-member-page.sw-settings .sw-settings__content .nav-links>li { width:100%; margin:0; padding:0; }
.sw-member-page.sw-settings .sw-settings__content .nav-links>li>a { display:flex; align-items:center; justify-content:center; min-height:56px; height:100%; padding:14px 12px; border:0; border-bottom:2px solid transparent; border-radius:0; background:#fff; color:#284c6d; font-size:16px; line-height:1.4; text-align:center; }
.sw-member-page.sw-settings .sw-settings__content .nav-links>li.active>a { background:#f1f9ff; border-bottom-color:#08A5ED; color:#007dbd; font-weight:600; }
.sw-member-page.sw-settings .sw-settings__content .card { border:1px solid #d4e5f2; border-radius:6px; box-shadow:none; }
.sw-member-page.sw-settings .sw-settings__content .card-body { padding:24px; }
.sw-member-page.sw-settings form[name="changepassword"],
.sw-member-page.sw-settings form[name="changeemail"],
.sw-member-page.sw-settings form[name="deleteAccount"] { max-width:800px; margin-left:auto; margin-right:auto; }
.sw-member-page.sw-settings form[name="changepassword"] .form-row,
.sw-member-page.sw-settings form[name="changeemail"] .form-row { display:grid; grid-template-columns:200px minmax(0,1fr); gap:16px; margin-left:0; margin-right:0; align-items:start; }
.sw-member-page.sw-settings form[name="changepassword"] .form-row>[class*="col-"],
.sw-member-page.sw-settings form[name="changeemail"] .form-row>[class*="col-"] { width:100%; max-width:100%; min-width:0; padding-left:0; padding-right:0; margin-left:0; }
.sw-member-page.sw-settings form[name="changepassword"] .form-row>:only-child,
.sw-member-page.sw-settings form[name="changeemail"] .form-row>:only-child { grid-column:2; }
.sw-member-page.sw-settings .sw-settings__content .form-control { min-height:44px; font-size:15px; }
.sw-member-page.sw-settings .sw-settings__content hr { margin:24px 0; border-color:#e1edf6; }
@media(max-width:767px) {
 .sw-member-page.sw-settings .sw-settings__content>.section>.container>.row { gap:18px; }
 .sw-member-page.sw-settings .sw-settings__content .nav-links>li>a { min-height:48px; padding:12px 6px; font-size:14px; }
 .sw-member-page.sw-settings .sw-settings__content .card-body { padding:18px 16px; }
 .sw-member-page.sw-settings form[name="changepassword"] .form-row,
 .sw-member-page.sw-settings form[name="changeemail"] .form-row { grid-template-columns:minmax(0,1fr); gap:7px; }
 .sw-member-page.sw-settings form[name="changepassword"] .form-row>:only-child,
 .sw-member-page.sw-settings form[name="changeemail"] .form-row>:only-child { grid-column:1; }
 .sw-member-page.sw-settings .sw-settings__content .col-form-label { padding:0; }
}

/* Profile controls remain visible on touch screens and without hover. */
.sw-member-page.sw-profile .btn-edit,
.sw-member-page.sw-profile .btn-edit .btn-txt,
.sw-member-page.sw-profile .profile-image .actions {
  opacity: 1;
  visibility: visible;
}

/* Flat, clearly separated photo controls; existing action handlers are unchanged. */
.sw-member-page.sw-profile ul.myphotos .actions { padding:8px 4px 4px; }
.sw-member-page.sw-profile ul.myphotos .actions .btn-group {
  display:flex; flex-wrap:wrap; justify-content:center; gap:4px;
}
.sw-member-page.sw-profile ul.myphotos .actions .btn-group>.btn {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 28px; width:28px; height:30px; min-width:0;
  margin:0; padding:0; border:1px solid #cde2f1;
  border-radius:0!important; background:#f0f8fe; color:#087fc0;
  box-shadow:none; text-shadow:none; cursor:pointer;
}
.sw-member-page.sw-profile ul.myphotos .actions .btn i { font-size:14px; line-height:1; }
.sw-member-page.sw-profile ul.myphotos .actions .btn.deletePhoto {
  color:#b83643; background:#fff5f5; border-color:#efd4d8;
}
.sw-member-page.sw-profile ul.myphotos .actions .btn:hover {
  background:#dcefff; border-color:#08a5ed; color:#075d96;
}
.sw-member-page.sw-profile ul.myphotos .actions .btn.deletePhoto:hover {
  background:#fce3e6; border-color:#b83643; color:#a02532;
}
.sw-member-page.sw-profile ul.myphotos .actions .btn:focus-visible {
  outline:2px solid #087fc0; outline-offset:2px;
}

/* Readable profile sidebar text and controls at every screen size. */
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 {
  font-size:16px; line-height:1.5; color:#173950;
}
.sw-member-page.sw-profile .profile-clean-edit .p_table .p_title {
  font-size:14px; font-weight:500; line-height:1.5; color:#405d76;
}
.sw-member-page.sw-profile .profile-clean-edit .p_table .p_value,
.sw-member-page.sw-profile .profile-clean-edit .profile-section-view {
  font-size:16px; line-height:1.5; color:#173950;
}
.sw-member-page.sw-profile .profile-clean-edit .profile-section-head h2 {
  font-size:19px; line-height:1.4; color:#087fc0;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .hint-box {
  font-size:15px; line-height:1.5; color:#254b67;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .hint-box small {
  font-size:13px; line-height:1.5; color:#405d76;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .hint-box .col-auto {
  font-size:14px; line-height:1.5;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .hint-box .font-weight-bold {
  font-size:16px;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .hint-box>p.font-weight-bold {
  font-size:22px;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .btn {
  font-size:14px; min-height:36px; height:auto; padding:7px 9px;
}
.sw-member-page.sw-profile .profile-clean-edit .btn-edit {
  font-size:14px; min-height:36px; padding:7px 10px;
}
.sw-member-page.sw-profile .profile-clean-edit .btn-edit .btn-txt { font-size:14px; }
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .progress {
  height:22px;
}
.sw-member-page.sw-profile .sw-profile__content>.section-slim>.container>.row>.col-md-4 .progress-bar {
  font-size:13px; font-weight:600;
}

/* Premium profile status uses the existing membership flag. */
.sw-member-page.sw-profile .profile-header.gold-bar {
  border-color:#e5cf91; border-bottom:3px solid #c49427;
}
.sw-member-page.sw-profile .profile-header .pro-vip {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  padding:8px 12px; min-height:36px; max-width:100%;
  background:#f6df9d; border:1px solid #c49427; border-radius:0;
  color:#624507; font-size:15px; font-weight:600; line-height:1.25;
  letter-spacing:.2px; box-shadow:none;
}
.sw-member-page.sw-profile .profile-header .pro-vip::before {
  content:"\2605"; color:#916400; font-size:17px; line-height:1;
}
@media(max-width:575px) {
  .sw-member-page.sw-profile .profile-header .pro-vip {
    float:none!important; width:fit-content; margin-top:8px;
  }
}


/* Keep permitted admin tools accessible above the profile, with readable billing tables. */
.sw-member-page.sw-profile .sw-profile__content>.admin-tools {
  position:relative!important; inset:auto!important; width:100%; max-width:100%; margin:0 0 22px;
}
.sw-member-page.sw-profile .admin-tools .card-header {
  padding:12px 16px; background:#eef7ff!important;
}
.sw-member-page.sw-profile .admin-tools .card-body { padding:16px; }
.sw-member-page.sw-profile .admin-tools .btn { font-size:14px; min-height:36px; padding:7px 12px; }
.sw-member-page.sw-profile .admin-tools .table {
  display:block; width:100%; overflow-x:auto; font-size:15px; color:#173950!important;
}
.sw-member-page.sw-profile .admin-tools .form-inline { gap:8px; flex-wrap:wrap; }
.sw-member-page.sw-profile .admin-tools .form-control { max-width:100%; font-size:16px; }

/* Compact admin rail beside the profile; use an in-flow panel on narrow screens. */
.sw-member-page.sw-profile .sw-profile__content>.admin-tools {
  position:fixed!important; top:160px!important; left:12px!important; right:auto!important;
  width:218px; max-width:218px; max-height:calc(100vh - 176px); margin:0;
  overflow-y:auto; overscroll-behavior:contain; z-index:30; font-size:13px; line-height:1.4;
}
.sw-member-page.sw-profile .admin-tools .card { border:1px solid #cde2f1; border-radius:0; }
.sw-member-page.sw-profile .admin-tools .card-header { padding:0; background:#087fc0!important; }
.sw-member-page.sw-profile .admin-tools .card-header .btn {
  width:100%; margin:0; padding:10px 12px; border:0; border-radius:0;
  background:#087fc0; color:#fff; text-align:left; font-size:15px;
}
.sw-member-page.sw-profile .admin-tools .card-header .btn::after { content:"−"; float:right; }
.sw-member-page.sw-profile .admin-tools .card-header .btn[aria-expanded="false"]::after { content:"+"; }
.sw-member-page.sw-profile .admin-tools .card-body { padding:10px; }
.sw-member-page.sw-profile .admin-tools #collapseThis>.btn {
  display:block; width:100%; min-height:31px; padding:6px 8px; margin:0;
  text-align:left; border-radius:0; font-size:13px;
}
.sw-member-page.sw-profile .admin-tools hr { margin:8px 0; }
.sw-member-page.sw-profile .admin-tools p { margin:0 0 6px; font-size:13px; line-height:1.4; }
.sw-member-page.sw-profile .admin-tools .form-inline { display:flex; flex-wrap:nowrap; gap:6px; margin:6px 0!important; }
.sw-member-page.sw-profile .admin-tools .form-group { flex:1; min-width:0; margin:0; }
.sw-member-page.sw-profile .admin-tools .form-control { width:100%; height:32px; padding:5px 7px; font-size:13px; }
.sw-member-page.sw-profile .admin-tools form .btn { min-height:32px; padding:5px 9px; font-size:13px; border-radius:0; }
.sw-member-page.sw-profile .admin-tools .table { font-size:12px; }
.sw-member-page.sw-profile .admin-tools .table td { padding:6px; }
@media(max-width:1550px) {
  .sw-member-page.sw-profile .sw-profile__content>.admin-tools {
    position:relative!important; top:auto!important; left:auto!important;
    width:100%; max-width:100%; max-height:340px; margin:0 0 20px;
  }
  .sw-member-page.sw-profile .admin-tools #collapseThis>.btn { display:inline-block; width:auto; margin:3px; }
  .sw-member-page.sw-profile .admin-tools .form-inline { max-width:320px; }
}
