.ap-free-photo-placeholder{
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: rgb(102, 117, 106);
  background: linear-gradient(145deg, rgb(237, 241, 235), rgb(248, 246, 238));
}
.ap-free-photo-placeholder strong{
  color: rgb(54, 82, 63);
}
.ap-free-photo-placeholder span{
  font-size: 11px;
  max-width: 150px;
  line-height: 1.5;
}
.ap-free-card .person-photo{
  background: rgb(238, 241, 235);
}
.ap-life-photo-gallery{
  min-height: 400px;
  display: grid !important;
  grid-template-columns: minmax(0px, 1fr) 92px !important;
  gap: 9px !important;
  background: rgb(238, 241, 234) !important;
  padding: 0px !important;
}
.ap-life-photo-main{
  position: relative;
  min-width: 0px;
  min-height: 400px;
  overflow: hidden;
}
.ap-life-photo-main > img{
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}
.ap-life-photo-minis{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
  padding: 9px 9px 9px 0px;
}
.ap-life-photo-thumb{
  min-width: 0px;
  overflow: hidden;
  border: 1px solid rgb(214, 222, 209);
  border-radius: 10px;
  background: rgb(247, 248, 243);
  padding: 0px;
  color: rgb(72, 96, 77);
}
.ap-life-photo-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-life-photo-thumb span{
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 11px;
  padding: 6px;
}
.ap-life-photo-thumb small{
  display: block;
  color: rgb(137, 149, 139);
  font-size: 9px;
}
.ap-life-photo-thumb.missing{
  cursor: default;
}
.ap-candidate-life-gallery{
  min-height: 400px;
  display: grid !important;
  grid-template-columns: minmax(0px, 1fr) 90px !important;
  gap: 8px !important;
  padding: 0px !important;
  background: rgb(238, 241, 235) !important;
}
.ap-candidate-main{
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.ap-candidate-main img{
  object-fit: cover;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
}
.ap-candidate-main > span{
  position: absolute;
  left: 11px;
  bottom: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 254, 242, 0.867);
  font-size: 10px;
  color: rgb(53, 81, 62);
}
.ap-candidate-minis{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px 8px 8px 0px;
}
.ap-required-photo-placeholder{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px dashed rgb(191, 205, 189);
  border-radius: 9px;
  background: rgb(248, 248, 243);
  color: rgb(85, 112, 92);
  padding: 6px;
}
.ap-required-photo-placeholder b{
  font-size: 10px;
}
.ap-required-photo-placeholder small{
  font-size: 8px;
  color: rgb(135, 146, 135);
  margin-top: 3px;
}
.spark-category{
  display: none !important;
}
.ap-ai-own-text{
  margin: 10px 0px 2px;
  padding: 10px 12px;
  border: 1px solid rgb(216, 224, 212);
  border-radius: 10px;
  background: rgb(247, 249, 245);
  font-size: 11px;
  color: rgb(83, 99, 84);
}
.ap-ai-own-text label{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 600;
}
.ap-ai-own-text input{
  margin-top: 2px;
}
.ap-ai-own-text small{
  display: block;
  margin: 5px 0px 0px 22px;
  line-height: 1.45;
  color: rgb(123, 134, 125);
}
.ap-mutual-choice-backdrop{
  position: absolute;
  inset: 0px;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(19, 38, 29, 0.6);
  backdrop-filter: blur(3px);
}
.ap-mutual-choice{
  width: min(520px, 100%);
  border: 1px solid rgb(214, 221, 207);
  border-radius: 16px;
  background: rgb(255, 253, 248);
  padding: 24px;
  box-shadow: rgba(16, 37, 29, 0.208) 0px 18px 60px;
}
.ap-mutual-choice h2{
  margin: 5px 0px 8px;
  color: rgb(45, 75, 55);
  font: 400 31px / 1.15 Georgia, serif;
}
.ap-mutual-choice p{
  color: rgb(101, 114, 105);
  line-height: 1.65;
  font-size: var(--text-small);
}
.ap-mutual-choice-actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}
.ap-inbound-interest{
  margin: 0px 0px 18px;
  padding: 14px 16px;
  border: 1px solid rgb(217, 225, 213);
  border-radius: var(--radius-medium);
  background: rgb(243, 247, 240);
  color: rgb(64, 86, 66);
}
.ap-inbound-interest strong{
  display: block;
  margin-bottom: 4px;
  color: rgb(45, 77, 56);
}
.ap-inbound-interest .ap-inbound-points{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.ap-inbound-interest .ap-inbound-points span{
  padding: 4px 7px;
  border-radius: 999px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(219, 226, 215);
  font-size: 10px;
}
@media (max-width: 660px){.ap-life-photo-gallery,  .ap-candidate-life-gallery{
  min-height: 300px;
  grid-template-columns: minmax(0px, 1fr) 76px !important;
}}
@media (max-width: 660px){.ap-life-photo-main,  .ap-candidate-main{
  min-height: 300px;
}}
.ap-film-discover .design-heading{
  margin-bottom: 10px;
}
.ap-film-discover .design-heading h1{
  font-size: clamp(35px, 4vw, 58px);
}
.ap-filmstage{
  position: relative;
  margin: 8px 0px 12px;
  min-width: 0px;
}
.ap-filmstrip{
  display: flex;
  gap: 14px;
  overflow: auto hidden;
  padding: 10px 44px 18px 2px;
  scroll-snap-type: x;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(169, 184, 167) transparent;
}
.ap-filmstrip::-webkit-scrollbar{
  height: 8px;
}
.ap-filmstrip::-webkit-scrollbar-thumb{
  background: rgb(169, 184, 167);
  border-radius: 99px;
}
.ap-film-card{
  position: relative;
  flex: 0 0 clamp(184px, 20vw, 238px);
  scroll-snap-align: start;
  border: 1px solid rgb(215, 222, 209);
  border-radius: 17px;
  background: rgb(255, 254, 249);
  overflow: hidden;
  box-shadow: rgba(32, 53, 43, 0.05) 0px 5px 18px;
}
.ap-film-open{
  display: block;
  width: 100%;
  padding: 0px;
  background: transparent;
  color: inherit;
  text-align: left;
}
.ap-film-photo{
  aspect-ratio: 4 / 5;
  background: rgb(220, 228, 216);
  overflow: hidden;
}
.ap-film-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  transition: transform 0.2s;
}
.ap-film-open:hover .ap-film-photo img{
  transform: scale(1.025);
}
.ap-film-meta{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  padding: 11px 12px 12px;
}
.ap-film-who{
  display: flex;
  flex-direction: column;
  min-width: 0px;
}
.ap-film-who strong{
  font: 600 17px / 1.2 Georgia, serif;
  color: rgb(48, 71, 50);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-film-who span{
  font-size: 11px;
  color: rgb(117, 130, 118);
  margin-top: 3px;
}
.ap-film-match{
  flex: 0 0 auto;
  font: 700 13px / 1 system-ui, sans-serif;
  color: rgb(49, 91, 66);
  background: rgb(237, 243, 233);
  border-radius: 999px;
  padding: 6px 7px;
}
.ap-film-save{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.565);
  background: rgba(255, 254, 245, 0.91);
  color: rgb(73, 96, 78);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
}
.ap-film-save.active{
  color: rgb(170, 79, 85);
  background: rgb(255, 242, 237);
}
.ap-film-arrow{
  position: absolute;
  z-index: 4;
  top: 42%;
  transform: translateY(-50%);
  width: 38px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgb(215, 222, 209);
  background: rgba(255, 254, 245, 0.91);
  color: rgb(55, 88, 64);
  font-size: 28px;
  line-height: 1;
  box-shadow: rgba(32, 53, 43, 0.086) 0px 5px 18px;
  backdrop-filter: blur(7px);
}
.ap-film-arrow.left{
  left: -12px;
}
.ap-film-arrow.right{
  right: -12px;
}
.ap-film-search-row{
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 4px;
}
.ap-film-search{
  max-width: none;
  min-width: 0px;
  flex: 1 1 0%;
  background: rgb(255, 254, 249);
  border: 1px solid rgb(212, 222, 207);
  border-radius: var(--radius-medium);
  padding: 2px 6px 2px 11px;
}
.ap-film-search .search-input{
  min-height: 44px;
}
.ap-film-filters{
  flex: 0 0 auto;
}
.ap-film-count{
  text-align: right;
  color: rgb(122, 134, 124);
  font-size: 11px;
  margin-top: 7px;
}
.ap-film-empty{
  padding: 60px 20px;
  text-align: center;
  color: rgb(117, 130, 118);
  border: 1px dashed rgb(213, 221, 209);
  border-radius: 17px;
}
.ap-free-film-card .ap-free-photo-placeholder{
  height: 100%;
  min-height: 0px;
}
.ap-free-film-card .ap-film-photo .ap-free-photo-placeholder span{
  display: none;
}
@media (max-width: 720px){.ap-filmstrip{
  gap: 11px;
  padding-right: 24px;
}}
@media (max-width: 720px){.ap-film-card{
  flex-basis: min(72vw, 235px);
}}
@media (max-width: 720px){.ap-film-arrow{
  display: none;
}}
@media (max-width: 720px){.ap-film-search-row{
  flex-direction: column;
}}
@media (max-width: 720px){.ap-film-filters{
  width: 100%;
}}
@media (max-width: 720px){.ap-film-search{
  width: 100%;
}}
@media (max-width: 720px){.ap-film-meta{
  padding: 10px;
}}
@media (max-width: 720px){.ap-film-who strong{
  font-size: 16px;
}}
.ap-life-photo-gallery.ap-single-portrait{
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0px !important;
  height: clamp(310px, 34vw, 465px) !important;
  padding: 0px !important;
  background: rgb(232, 238, 227) !important;
}
.ap-single-portrait .ap-open-photo-gallery{
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0px;
  border: 0px;
  background: transparent;
  cursor: pointer;
}
.ap-single-portrait .ap-open-photo-gallery img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.ap-single-portrait .ap-open-photo-gallery span{
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-small);
  background: rgba(255, 254, 251, 0.91);
  color: rgb(37, 73, 53);
  font-size: 12px;
  font-weight: 700;
}
.ap-single-portrait .ap-open-photo-gallery .ap-photo-missing{
  inset: 0px;
  display: grid;
  place-items: center;
  border-radius: 0px;
  background: var(--panel2);
  font-weight: 400;
}
.ap-single-portrait .ap-open-photo-gallery .ap-photo-caption{
  z-index: 1;
}
.ap-single-portrait .ap-open-photo-gallery:focus-visible{
  outline: 3px solid var(--leaf);
  outline-offset: -5px;
}
.ap-gallery-overlay{
  position: fixed;
  inset: 0px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 25, 20, 0.863);
}
.ap-gallery-dialog{
  position: relative;
  max-width: min(940px, 100%);
  width: 100%;
  max-height: 94vh;
  overflow: auto;
  padding: 20px;
  border-radius: 17px;
  background: rgb(255, 254, 251);
  color: rgb(36, 60, 50);
}
.ap-gallery-dialog h2{
  font-size: 21px;
  margin: 0px 45px 15px 0px;
}
.ap-gallery-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(204, 216, 201);
  border-radius: 50%;
  background: rgb(255, 255, 255);
  font-size: 24px;
}
.ap-gallery-images{
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 13px;
}
.ap-gallery-images figure{
  margin: 0px;
  min-width: 0px;
}
.ap-gallery-images img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  background: rgb(231, 238, 227);
}
.ap-gallery-images figcaption{
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(82, 105, 90);
}
.ap-gallery-missing{
  height: 300px;
  display: grid;
  place-items: center;
  background: rgb(237, 242, 232);
  border: 1px dashed rgb(186, 203, 179);
  border-radius: 10px;
  color: rgb(107, 120, 109);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}
@media (max-width: 650px){.ap-gallery-images{
  grid-template-columns: 1fr;
}}
@media (max-width: 650px){.ap-gallery-images img,  .ap-gallery-missing{
  height: 240px;
}}
@media (max-width: 650px){.ap-gallery-overlay{
  padding: 10px;
}}
.ap-account-panel{
  padding: 22px;
  margin: 18px 0px 30px;
  overflow: hidden;
}
.ap-account-panel h2{
  font-size: 27px;
}
.ap-account-panel h3{
  font-size: 21px;
  margin: 18px 0px 12px;
}
.ap-account-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.ap-account-person{
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  min-width: 0px;
}
.ap-account-person p{
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.ap-account-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ap-account-chat{
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 10px;
}
#ap-account-history{
  max-height: 440px;
  overflow-y: auto;
  overflow-wrap: anywhere;
  padding: 10px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ap-account-message{
  max-width: 90%;
  padding: 12px;
  border-radius: var(--radius-medium);
  background: rgb(239, 242, 233);
  align-self: flex-start;
  white-space: pre-wrap;
}
.ap-account-message.mine{
  align-self: flex-end;
  background: rgb(220, 234, 221);
}
.ap-account-message time{
  font-size: 11px;
  color: rgb(100, 114, 102);
}
#ap-account-message{
  width: 100%;
  min-height: 88px;
}
#ap-account-status{
  font-size: var(--text-small);
  margin-top: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px){.ap-account-panel{
  padding: 14px;
}}
@media (max-width: 600px){.ap-account-actions .btn{
  flex: 1 1 130px;
  overflow-wrap: normal;
  word-break: normal;
}}
@media (max-width: 600px){.ap-account-message{
  max-width: 96%;
}}
#ap-auth-overlay{
  position: fixed;
  inset: 0px;
  z-index: 999999;
  background: linear-gradient(140deg, rgb(237, 243, 237), rgb(249, 245, 235));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  font: 16px / 1.5 system-ui, sans-serif;
  color: rgb(35, 71, 60);
}
#ap-auth-overlay[hidden]{
  display: none !important;
}
#ap-auth-overlay .ap-auth-card{
  width: min(100%, 420px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(25px, 5vw, 42px);
  box-shadow: rgba(42, 80, 67, 0.11) 0px 20px 80px;
}
#ap-auth-overlay h1{
  font: 600 34px / 1.2 Georgia, serif;
  margin: 0px 0px 9px;
  color: rgb(36, 77, 65);
}
#ap-auth-overlay p{
  margin: 0px 0px 22px;
  color: rgb(99, 119, 107);
}
#ap-auth-overlay label{
  display: block;
  font-weight: 600;
  font-size: var(--text-small);
  margin: 15px 0px 6px;
}
#ap-auth-overlay input,
#ap-auth-overlay select{
  box-sizing: border-box;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-medium);
  background: var(--control-background);
  font: inherit;
  color: var(--ink);
}
#ap-auth-overlay .ap-auth-install{
  margin: 24px 0 0;
  text-align: center;
}
#ap-auth-overlay .ap-auth-install a{
  display: inline-block;
  padding: 10px 4px;
  color: var(--leaf);
}
#ap-auth-overlay .ap-auth-secondary{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  text-align: center;
}
#ap-auth-overlay .ap-auth-secondary p{
  margin: 0;
  line-height: 1.55;
}
#ap-auth-overlay .ap-auth-secondary .ap-auth-install{
  margin-top: 16px;
}
#ap-auth-overlay button{
  font: 600 15px system-ui;
  cursor: pointer;
}
#ap-auth-submit{
  margin-top: 22px;
  width: 100%;
  padding: 14px;
  border: 0px;
  border-radius: 13px;
  background: rgb(40, 94, 75);
  color: rgb(255, 255, 255);
}
#ap-auth-toggle, #ap-auth-forgot, #ap-auth-resend{
  background: none;
  border: 0px;
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: var(--radius-medium);
}
#ap-auth-error{
  min-height: 20px;
  font-size: 14px;
  color: rgb(163, 60, 49);
  margin-top: 12px;
}
#ap-auth-error:empty, #ap-auth-success:empty{
  display: none;
}
#ap-auth-success{
  color: var(--leaf);
  font-size: 14px;
  margin-top: 12px;
}
#ap-auth-open{
  position: static;
  background: rgb(40, 94, 75);
  color: white;
  border: 0px;
  border-radius: 22px;
  padding: 12px 17px;
  cursor: pointer;
  font: 600 14px system-ui;
}
.ap-trust-strip{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:var(--radius-small);font-size:var(--font-small);background:var(--paper)}
.ap-trust-platform{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--deep)}
.ap-trust-self{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);color:var(--accent)}
.ap-trust-strip p{margin:10px 0 0;font-size:var(--font-small);line-height:1.5}
.ap-starters{display:grid;gap:8px}
.ap-starters .btn{white-space:normal;text-align:left;justify-content:flex-start;height:auto;padding:12px}
.ap-first-chat,.ap-connection-empty{padding:20px;background:var(--paper);border-radius:var(--radius-small)}
.ap-interest-state{line-height:1.6;color:var(--leaf)}
#ap-account-history[data-empty="true"]{max-height:none;overflow:visible}
.ap-account-thread .btn{width:100%;display:flex;justify-content:space-between;gap:12px;white-space:normal;text-align:left}
.ap-account-thread .btn[aria-pressed="true"]{border-color:var(--leaf);background:var(--panel2)}
#ap-account-chat-title{scroll-margin-top:24px}
.ap-google-login{ display: block; width: 100%; margin: 12px 0; min-height: 44px; }
.ap-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;width:100%;margin-top:16px;font-size:14px}
.ap-legal-links a{color:var(--forest,#345641);padding:8px 0;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}