/* AYMIA AUTH V17 REFERENCE-2 EXACT-LAYOUT */
/* Restore the user-supplied second reference: editorial size, light taupe
   glass, undulating lower edge, balanced social row, and uncolored idle CTA.
   The underlying photographic image file and authentication remain unchanged. */
.aymia-auth-panel{
  width:min(540px,100%);
  padding:38px 48px 34px;
  border-radius:44px;
  border:1px solid rgba(247,241,237,.68);
  background:linear-gradient(161deg,
    rgba(130,119,114,.54) 0%,
    rgba(118,109,105,.48) 42%,
    rgba(153,140,134,.39) 72%,
    rgba(214,205,200,.29) 100%);
  backdrop-filter:blur(21px) saturate(.74);
  -webkit-backdrop-filter:blur(21px) saturate(.74);
  box-shadow:0 17px 65px rgba(13,12,14,.18),
    inset 0 1px 0 rgba(255,255,255,.23);
  overflow:hidden;
  isolation:isolate;
}
.aymia-auth-panel::before{
  content:"";
  position:absolute;inset:0;z-index:0;
  border-radius:inherit;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(23,19,18,.20) 0%,rgba(30,25,23,.10) 65%,rgba(37,33,31,.05) 100%),
    linear-gradient(180deg,rgba(18,17,18,.06) 0%,rgba(30,26,25,.09) 61%,rgba(220,210,203,.07) 100%);
}
.aymia-auth-panel::after{
  content:"";display:block;
  position:absolute;
  left:0;right:0;bottom:0;
  width:100%;height:clamp(155px,30%,245px);
  z-index:0;
  pointer-events:none;
  border-radius:0 0 43px 43px;
  clip-path:none;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22540%22%20height%3D%22245%22%20viewBox%3D%220%200%20540%20245%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Cdefs%3E%0A%3ClinearGradient%20id%3D%22smoke%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e0d5cd%22%20stop-opacity%3D%22.04%22%2F%3E%3Cstop%20offset%3D%22.42%22%20stop-color%3D%22%23a79d98%22%20stop-opacity%3D%22.11%22%2F%3E%3Cstop%20offset%3D%22.83%22%20stop-color%3D%22%23cec3bd%22%20stop-opacity%3D%22.32%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d7cec9%22%20stop-opacity%3D%22.48%22%2F%3E%3C%2FlinearGradient%3E%0A%3ClinearGradient%20id%3D%22shine%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23eee5df%22%20stop-opacity%3D%22.02%22%2F%3E%3Cstop%20offset%3D%22.4%22%20stop-color%3D%22%23eee8e3%22%20stop-opacity%3D%22.48%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f1eae6%22%20stop-opacity%3D%22.7%22%2F%3E%3C%2FlinearGradient%3E%0A%3CradialGradient%20id%3D%22orb%22%20cx%3D%22.35%22%20cy%3D%22.17%22%20r%3D%22.82%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f4eee9%22%20stop-opacity%3D%22.53%22%2F%3E%3Cstop%20offset%3D%22.36%22%20stop-color%3D%22%23dcd3cf%22%20stop-opacity%3D%22.30%22%2F%3E%3Cstop%20offset%3D%22.76%22%20stop-color%3D%22%23bfb6b2%22%20stop-opacity%3D%22.13%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a69e99%22%20stop-opacity%3D%22.05%22%2F%3E%3C%2FradialGradient%3E%0A%3C%2Fdefs%3E%0A%3Cpath%20d%3D%22M0%20170%20C62%20125%20120%2064%20183%2092%20C229%20110%20247%20165%20300%20205%20C373%20213%20424%20215%20470%20237%20C506%20252%20529%20227%20540%20215%20L540%20245%20L0%20245Z%22%20fill%3D%22url(%23smoke)%22%2F%3E%0A%3Cpath%20d%3D%22M0%20171%20C62%20125%20120%2064%20183%2092%20C229%20110%20247%20165%20300%20205%20C373%20213%20424%20215%20470%20237%20C506%20252%20529%20227%20540%20215%22%20fill%3D%22none%22%20stroke%3D%22url(%23shine)%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M0%20220%20C105%20237%20135%20190%20229%20209%20C340%20215%20377%20222%20429%20240%20C486%20265%20518%20235%20540%20226%22%20fill%3D%22none%22%20stroke%3D%22%23f4ebe4%22%20stroke-opacity%3D%22.20%22%20stroke-width%3D%221%22%2F%3E%0A%3Ccircle%20cx%3D%22475%22%20cy%3D%22142%22%20r%3D%2235%22%20fill%3D%22url(%23orb)%22%20stroke%3D%22%23efe6e0%22%20stroke-opacity%3D%22.33%22%20stroke-width%3D%221.3%22%2F%3E%0A%3Cpath%20d%3D%22M453%20121%20C467%20110%20484%20112%20493%20124%22%20fill%3D%22none%22%20stroke%3D%22%23f8f2ee%22%20stroke-opacity%3D%22.22%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E");
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center bottom;
  opacity:1;
}
.aymia-auth-panel > *{position:relative;z-index:1}
.aymia-auth-panel .aymia-auth-brand{
  margin:0 0 23px;
  font-size:26px;letter-spacing:.32em;
}
.aymia-auth-panel h1{
  font-size:clamp(31px,2.8vw,40px);
  font-weight:680;
  line-height:1.14;
  letter-spacing:-.034em;
  margin:0 0 11px;
  white-space:normal;
}
.aymia-auth-panel .aymia-auth-lead{
  font-size:15px;
  line-height:1.48;
  max-width:425px;
  color:rgba(251,247,246,.90);
  margin:0 0 25px;
}
.aymia-auth-panel .aymia-auth-field{margin:0 0 22px}
.aymia-auth-panel .aymia-auth-field label{font-size:14px;margin:0 0 7px}
.aymia-auth-panel .aymia-auth-field input{
  height:40px;
  padding:4px 0 9px;
  border-bottom:1px solid rgba(249,246,245,.77);
  font-size:16px;
}
.aymia-auth-panel .aymia-auth-field input::placeholder{
  font-size:15px;color:rgba(246,244,244,.80);
}
.aymia-auth-panel .aymia-auth-options{
  margin:0 0 24px;
}
.aymia-auth-panel .aymia-auth-remember,.aymia-auth-panel .aymia-auth-text-button{font-size:13px}
.aymia-auth-panel .aymia-auth-primary{
  height:58px;
  border-radius:999px;
  font-size:19px;
  color:#fff;
  background:linear-gradient(110deg,rgba(94,89,90,.32),rgba(149,140,140,.26));
  background-size:100% 100%;
  border:1px solid rgba(252,246,247,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.19),0 5px 22px rgba(7,6,10,.10);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  animation:none;
  filter:none;
  opacity:1;
  transition:box-shadow .28s ease,border-color .28s ease;
}
@keyframes aymiaV17Hover{
  0%{background-position:0% 50%}
  50%{background-position:55% 50%}
  100%{background-position:100% 50%}
}
.aymia-auth-panel .aymia-auth-primary:hover{
  background:linear-gradient(104deg,#075b77 0%,#126d91 20%,#50437f 45%,#8a398d 72%,#16618a 100%);
  background-size:310% 100%;
  border-color:rgba(251,219,247,.9);
  box-shadow:0 0 21px rgba(141,56,157,.25),0 5px 25px rgba(4,6,12,.16);
  animation:aymiaV17Hover 3.4s ease-in-out infinite alternate;
  filter:none;
}
.aymia-auth-panel .aymia-auth-register{
  margin:20px 0 0;font-size:15px;
}
.aymia-auth-panel .aymia-auth-register button{font-size:15px}
.aymia-auth-panel .aymia-auth-divider{display:none}
.aymia-auth-panel .aymia-auth-provider-grid{
  display:grid;
  width:min(312px,100%);
  max-width:312px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin:35px auto 0;
  padding:0;
  justify-items:stretch;
  align-items:center;
}
.aymia-auth-panel .aymia-auth-provider{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  height:58px;
  padding:0;
  border:1px solid rgba(244,236,230,.65);
  border-radius:999px;
  background:linear-gradient(130deg,rgba(60,53,51,.18),rgba(224,211,205,.12));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 2px 12px rgba(20,18,18,.06);
  backdrop-filter:blur(11px);
  -webkit-backdrop-filter:blur(11px);
  transform:none;
  opacity:1;
}
.aymia-auth-panel .aymia-auth-provider-google{
  border-radius:58% 48% 51% 51% / 58% 45% 56% 54%;
}
.aymia-auth-panel .aymia-auth-provider svg{width:28px;height:28px;margin:0 auto}
.aymia-auth-panel .aymia-auth-provider-apple svg{width:26px;height:28px}
.aymia-auth-panel .aymia-auth-legal{
  margin:33px 0 0;
  font-size:12px;
  gap:10px;
  color:rgba(253,249,249,.94);
}
.aymia-auth-panel .aymia-auth-status{
  margin:10px 0 0;
  color:rgba(252,250,249,.8);
  font-size:9.5px;
  line-height:1.35;
}
.aymia-auth-back-home{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  color:#171719;
  padding:5px 8px;
  min-height:35px;
  font-size:14px;
}
.aymia-auth-back-home:hover{
  background:transparent;border-color:transparent;text-decoration:underline;
  text-underline-offset:3px;
}
/* Reference proportions adapt to the reduced browser viewport without scroll. */
@media(max-height:820px){
  .aymia-auth-panel{width:min(505px,100%);padding:26px 40px 23px}
  .aymia-auth-panel .aymia-auth-brand{font-size:21px;margin-bottom:16px}
  .aymia-auth-panel h1{font-size:32px;margin-bottom:7px}
  .aymia-auth-panel .aymia-auth-lead{font-size:13px;margin-bottom:17px}
  .aymia-auth-panel .aymia-auth-field{margin-bottom:13px}
  .aymia-auth-panel .aymia-auth-field label{font-size:12px;margin-bottom:4px}
  .aymia-auth-panel .aymia-auth-field input{height:33px;padding:3px 0 7px}
  .aymia-auth-panel .aymia-auth-field input::placeholder{font-size:13px}
  .aymia-auth-panel .aymia-auth-options{margin-bottom:16px}
  .aymia-auth-panel .aymia-auth-primary{height:49px;font-size:17px}
  .aymia-auth-panel .aymia-auth-register{margin-top:15px;font-size:12px}
  .aymia-auth-panel .aymia-auth-register button{font-size:12px}
  .aymia-auth-panel .aymia-auth-provider-grid{margin-top:23px;width:min(300px,100%)}
  .aymia-auth-panel .aymia-auth-provider{height:49px}
  .aymia-auth-panel .aymia-auth-legal{margin-top:20px;font-size:10px}
  .aymia-auth-panel .aymia-auth-status{font-size:9px;margin-top:7px}
}
@media(max-width:640px){
  .aymia-auth-stage{padding:10px 12px}
  .aymia-auth-panel{width:min(374px,100%);padding:24px 23px 21px;border-radius:30px}
  .aymia-auth-panel .aymia-auth-brand{font-size:19px;margin-bottom:18px}
  .aymia-auth-panel h1{font-size:27px;margin-bottom:7px;white-space:normal}
  .aymia-auth-panel .aymia-auth-lead{font-size:12px;line-height:1.4;margin-bottom:15px}
  .aymia-auth-panel .aymia-auth-field{margin-bottom:14px}
  .aymia-auth-panel .aymia-auth-field input{height:34px}
  .aymia-auth-panel .aymia-auth-options{margin-bottom:16px}
  .aymia-auth-panel .aymia-auth-primary{height:48px}
  .aymia-auth-panel .aymia-auth-register{margin-top:14px;font-size:12px}
  .aymia-auth-panel .aymia-auth-provider-grid{width:min(280px,100%);gap:16px;margin-top:25px}
  .aymia-auth-panel .aymia-auth-provider{height:48px}
  .aymia-auth-panel .aymia-auth-legal{margin-top:20px;font-size:9.5px;gap:6px}
  .aymia-auth-panel .aymia-auth-status{font-size:8.5px;margin-top:8px}
  .aymia-auth-back-home{top:calc(10px + env(safe-area-inset-top,0px));left:calc(12px + env(safe-area-inset-left,0px));font-size:12px}
}
@media(max-height:650px){
  .aymia-auth-panel{padding:11px 21px 11px;border-radius:21px}
  .aymia-auth-panel .aymia-auth-brand{font-size:16px;margin-bottom:7px}
  .aymia-auth-panel h1{font-size:22px;margin-bottom:4px}
  .aymia-auth-panel .aymia-auth-lead{font-size:11px;line-height:1.25;margin-bottom:8px}
  .aymia-auth-panel .aymia-auth-field{margin-bottom:5px}
  .aymia-auth-panel .aymia-auth-field label{font-size:11px;margin-bottom:3px}
  .aymia-auth-panel .aymia-auth-field input{height:28px;padding:2px 0 5px}
  .aymia-auth-panel .aymia-auth-options{margin-bottom:7px}
  .aymia-auth-panel .aymia-auth-primary{height:37px;font-size:15px}
  .aymia-auth-panel .aymia-auth-register{margin-top:7px}
  .aymia-auth-panel .aymia-auth-provider-grid{margin-top:9px}
  .aymia-auth-panel .aymia-auth-provider{height:36px}
  .aymia-auth-panel .aymia-auth-legal{margin-top:9px}
  .aymia-auth-panel .aymia-auth-status{margin-top:5px;font-size:8px}
}
@media(hover:none){
  .aymia-auth-panel .aymia-auth-primary:hover{
    background:linear-gradient(110deg,rgba(94,89,90,.32),rgba(149,140,140,.26));
    background-size:100% 100%;
    animation:none;
  }
}
@media (prefers-reduced-motion:reduce){
  .aymia-auth-panel .aymia-auth-primary:hover{animation:none!important}
}

@media(max-width:640px){
  .aymia-auth-back-home{
    color:#18191a;
    background:rgba(242,240,240,.62);
    border-radius:999px;
    padding:6px 10px;
    backdrop-filter:blur(9px);
    -webkit-backdrop-filter:blur(9px);
  }
}

/* V17 finishing: keep the glass wave beneath legal text rather than competing with it. */
.aymia-auth-panel::after{opacity:.70}
.aymia-auth-panel .aymia-auth-legal,
.aymia-auth-panel .aymia-auth-status{text-shadow:0 1px 5px rgba(0,0,0,.72)}


/* AYMIA AUTH V21 - USER REFERENCE: EXACT MONOCHROME PORTRAIT + GLASS.
   Additive override: never edits homepage, identity providers, or role gates. */
.aymia-auth-vignette{
  background:linear-gradient(90deg,#05050608,transparent 43%),linear-gradient(0deg,#00000013,transparent 26%);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
@media (min-width:900px){
  .aymia-auth-stage{justify-items:end;padding:22px clamp(20px,1.5vw,48px);}
  .aymia-auth-panel{transform:none;}
}
@media (min-width:2560px), (min-resolution:2dppx) and (min-width:1280px){
  .aymia-auth-photo{background-image:url("/images/aymia-auth-v6-clean-8k.webp");}
}
/* The supplied reference is charcoal/silver, not brown or blue-purple. */
.aymia-auth-panel{
  background:linear-gradient(155deg,rgba(73,73,73,.52) 0%,rgba(39,39,39,.54) 52%,rgba(71,71,71,.44) 80%,rgba(128,128,128,.34) 100%);
}
.aymia-auth-panel .aymia-auth-primary,
.aymia-auth-panel .aymia-auth-primary:hover,
.aymia-auth-panel .aymia-auth-primary:focus-visible{
  background:linear-gradient(110deg,rgba(94,89,90,.32),rgba(149,140,140,.26));
  background-size:100% 100%;
  animation:none;
  transform:none;
  filter:none;
  border-color:rgba(252,246,247,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.19),0 5px 22px rgba(7,6,10,.10);
}
.aymia-auth-panel .aymia-auth-primary:disabled{cursor:not-allowed;opacity:1;}
.aymia-auth-panel .aymia-auth-register a{
  font:inherit;font-size:inherit;font-weight:700;color:#fff;
  text-decoration:underline;text-underline-offset:3px;
  cursor:pointer;opacity:1;
}
.aymia-auth-panel .aymia-auth-register a:hover{text-decoration-thickness:2px;}
.aymia-auth-panel .aymia-auth-register a:focus-visible{outline:2px solid #fff;outline-offset:4px;}
.aymia-auth-panel--register{
  max-height:calc(100dvh - 32px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-color:rgba(255,255,255,.35) transparent;
  scrollbar-width:thin;
}
.aymia-auth-panel--register .aymia-auth-brand{margin-bottom:15px;}
.aymia-auth-panel--register .aymia-auth-lead{margin-bottom:15px;}
.aymia-auth-panel--register .aymia-auth-field{margin-bottom:12px;}
.aymia-auth-panel--register .aymia-auth-field input{height:34px;}
.aymia-auth-panel .aymia-auth-register-info{
  margin:10px 0 12px;
  color:rgba(255,255,255,.93);
  font:400 12px/1.55 Inter,"Helvetica Neue",Arial,sans-serif;
}
.aymia-auth-panel .aymia-auth-register-info a{color:#fff;text-underline-offset:3px;}
.aymia-auth-panel .aymia-auth-marketing{
  display:flex;align-items:flex-start;gap:11px;
  margin:0 0 18px;cursor:default;
  color:rgba(255,255,255,.94);
  font:400 12px/1.46 Inter,"Helvetica Neue",Arial,sans-serif;
}
.aymia-auth-panel .aymia-auth-marketing input{
  flex:none;width:18px;height:18px;margin:2px 0 0;
  accent-color:#d9d9d9;
}
.aymia-auth-panel--register .aymia-auth-primary{height:52px;}
.aymia-auth-panel--register .aymia-auth-register{margin-top:15px;}
.aymia-auth-panel--register .aymia-auth-legal{margin-top:15px;}
@media(max-width:899px){
  .aymia-auth-stage{justify-items:center;padding:12px;}
  .aymia-auth-panel{transform:none;}
}
@media(max-width:640px){
  .aymia-auth-panel--register{max-height:calc(100dvh - 24px);}
  .aymia-auth-panel--register .aymia-auth-register-info{font-size:11px;margin:8px 0 11px;}
  .aymia-auth-panel--register .aymia-auth-marketing{font-size:10.5px;margin-bottom:13px;}
  .aymia-auth-panel--register .aymia-auth-field{margin-bottom:10px;}
  .aymia-auth-panel--register .aymia-auth-legal{margin-top:10px;}
  .aymia-auth-panel--register .aymia-auth-status{margin-top:7px;}
}
@media(max-height:700px){
  .aymia-auth-panel--register .aymia-auth-register-info{font-size:10px;margin:6px 0;}
  .aymia-auth-panel--register .aymia-auth-marketing{font-size:10px;margin-bottom:9px;}
  .aymia-auth-panel--register .aymia-auth-field{margin-bottom:6px;}
  .aymia-auth-panel--register .aymia-auth-lead{margin-bottom:9px;}
}
@media(prefers-reduced-motion:reduce){
  .aymia-auth-panel .aymia-auth-primary,
  .aymia-auth-panel .aymia-auth-primary:hover{animation:none!important;transition:none!important;}
}

/* The reference includes the slender "veya" divider above social buttons. */
.aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-divider{
  display:flex;gap:18px;margin:19px 0 15px;
}
.aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-provider-grid{
  margin:0 auto;
}
@media(max-height:820px){
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-divider{margin:12px 0 12px;}
}
@media(max-height:650px){
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-divider{margin:5px 0 5px;}
}


/* AYMIA AUTH V22 - reference-image correction, 2026-11-04.
   Preserve the underlying photo file, identity gates and user flows.
   Photo is fitted by HEIGHT and moved LEFT to keep the visible side profile. */
.aymia-auth-page {
  background: #8a8a8a;
}
.aymia-auth-photo {
  background-color: #888888;
  background-image:
    linear-gradient(90deg,
      rgba(116,116,116,0) 0%,
      rgba(116,116,116,0) 55%,
      rgba(126,126,126,.25) 69%,
      rgba(119,119,119,.82) 87%,
      rgba(104,104,104,1) 100%),
    url("/images/aymia-auth-v6-clean-2560.webp");
  background-size: 100% 100%, auto 100%;
  background-position: center center, calc(50% - 20vw) center;
  background-repeat: no-repeat, no-repeat;
  filter: grayscale(1);
}
.aymia-auth-vignette{
  background: linear-gradient(90deg,
    rgba(12,12,12,.24) 0%,
    rgba(22,22,22,.09) 24%,
    rgba(0,0,0,0) 47%,
    rgba(26,26,26,.1) 67%,
    rgba(15,15,15,.27) 100%);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
@media (min-width:1280px) and (min-resolution:2dppx),
       (min-width:2560px) {
  .aymia-auth-photo {
    background-image:
      linear-gradient(90deg,rgba(116,116,116,0) 0%,rgba(116,116,116,0) 55%,rgba(126,126,126,.25) 69%,rgba(119,119,119,.82) 87%,rgba(104,104,104,1) 100%),
      url("/images/aymia-auth-v6-clean-8k.webp");
  }
}
.aymia-auth-back-home{display:none;}
@media(min-width:900px){
  .aymia-auth-stage{padding:24px clamp(24px,3.5vw,65px);}
  .aymia-auth-panel{transform:none;}
}
.aymia-auth-panel{
  background:linear-gradient(168deg,
    rgba(59,59,59,.87) 0%,
    rgba(31,31,31,.88) 56%,
    rgba(45,45,45,.84) 82%,
    rgba(80,80,80,.75) 100%);
  border:1px solid rgba(235,235,235,.60);
  box-shadow:0 23px 55px rgba(19,19,19,.20),inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter:blur(16px) saturate(.65);
  -webkit-backdrop-filter:blur(16px) saturate(.65);
}
.aymia-auth-panel::before{
  background:linear-gradient(175deg,
    rgba(0,0,0,.06) 0%,
    rgba(0,0,0,.10) 56%,
    rgba(0,0,0,.13) 100%);
}
.aymia-auth-panel::after{
  content:"";
  display:block;
  bottom:0;
  left:0;right:0;
  width:100%;
  height:80px;
  border-radius:0 0 43px 43px;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20540%2080%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2067%20C125%2057%20160%2017%20270%2019%20S425%2055%20540%2067%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.68%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center bottom;
  opacity:.92;
  pointer-events:none;
}
.aymia-auth-panel .aymia-auth-primary,
.aymia-auth-panel .aymia-auth-primary:hover{
  background:linear-gradient(180deg,rgba(153,153,153,.55) 0%,rgba(96,96,96,.40) 52%,rgba(184,184,184,.39) 100%);
  border-color:rgba(247,247,247,.75);
  box-shadow:inset 0 1px rgba(255,255,255,.42),0 4px 15px rgba(9,9,9,.14);
  animation:none;
  filter:none;
}
.aymia-auth-panel .aymia-auth-provider-grid{
  width:min(400px,100%);
  max-width:400px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  margin:0 auto;
}
.aymia-auth-panel .aymia-auth-provider{
  height:60px;
  border:1px solid rgba(246,246,246,.14);
  border-radius:999px;
  background:linear-gradient(125deg,rgba(117,117,117,.54),rgba(89,89,89,.38));
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 1px 8px rgba(0,0,0,.07);
}
.aymia-auth-panel .aymia-auth-provider-google{border-radius:999px;}
.aymia-auth-panel .aymia-auth-legal{
  margin-top:25px;
  font-size:12px;
  gap:9px;
}
.aymia-auth-panel .aymia-auth-status{
  margin-top:7px;
  font-size:9px;
  opacity:.73;
}
@media(max-width:900px){
  .aymia-auth-photo{background-position:center center,calc(50% - 12vw) center;}
  .aymia-auth-panel{transform:none;}
}
@media(max-width:640px){
  .aymia-auth-panel .aymia-auth-provider-grid{
    width:min(300px,100%);
    gap:16px;
  }
  .aymia-auth-panel .aymia-auth-provider{height:48px;}
  .aymia-auth-panel .aymia-auth-legal{margin-top:14px;font-size:9.5px;}
  .aymia-auth-panel::after{height:62px;}
}
@media(max-height:820px){
  .aymia-auth-panel .aymia-auth-provider{height:49px;}
  .aymia-auth-panel .aymia-auth-legal{margin-top:16px;font-size:10.5px;}
  .aymia-auth-panel::after{height:65px;}
}


/* V22.1: Correct photo seam and restore original vertical rhythm. */
.aymia-auth-photo{
  background-image:
    linear-gradient(90deg,
      rgba(116,116,116,0) 0%,
      rgba(116,116,116,0) 60%,
      rgba(116,116,116,.40) 68%,
      rgba(104,104,104,1) 76%,
      rgba(104,104,104,1) 100%),
    url("/images/aymia-auth-v6-clean-2560.webp");
}
@media (min-width:900px){
  .aymia-auth-photo{
    background-image:
      linear-gradient(90deg,rgba(116,116,116,0) 0%,rgba(116,116,116,0) 60%,rgba(116,116,116,.40) 68%,rgba(104,104,104,1) 76%,rgba(104,104,104,1) 100%),
      url("/images/aymia-auth-v6-clean-8k.webp");
  }
}
.aymia-auth-panel::before{
  background:
    linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.08) 70%,rgba(194,194,194,.12) 100%);
}
.aymia-auth-panel::after{
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20540%2080%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2076%20C135%2072%20165%2045%20270%2045%20S410%2072%20540%2076%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.60%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E");
}
@media (min-width:900px) and (min-height:850px){
  .aymia-auth-panel{
    min-height:762px;
    transform:translateY(-24px);
    padding-top:30px;
  }
  .aymia-auth-panel .aymia-auth-lead{margin-bottom:33px;}
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-options{margin-bottom:34px;}
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-register{margin-top:30px;}
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-legal{margin-top:39px;}
  .aymia-auth-panel--register .aymia-auth-register{margin-top:auto;}
}

/* AYMIA AUTH V23 REFERENCE SHAPE */
/* Real wavy card boundary, leaving the underlying photograph visible. */
.aymia-auth-panel{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20540%20770%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M43%200%20H497%20Q540%200%20540%2043%20V716%20C540%20758%20521%20772%20498%20764%20C421%20739%20349%20721%20270%20721%20C191%20721%20118%20739%2042%20765%20C17%20772%200%20757%200%20717%20V43%20Q0%200%2043%200%20Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20540%20770%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M43%200%20H497%20Q540%200%20540%2043%20V716%20C540%20758%20521%20772%20498%20764%20C421%20739%20349%20721%20270%20721%20C191%20721%20118%20739%2042%20765%20C17%20772%200%20757%200%20717%20V43%20Q0%200%2043%200%20Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  background:linear-gradient(135deg,rgba(74,74,74,.78) 0%,rgba(34,34,34,.87) 44%,rgba(57,57,57,.82) 81%,rgba(90,90,90,.76) 100%);
}
.aymia-auth-panel::after{
  height:90px;
  border-radius:0;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20540%2090%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2037%20C0%2079%2017%2093%2042%2086%20C118%2060%20191%2042%20270%2042%20C349%2042%20421%2060%20498%2085%20C521%2093%20540%2079%20540%2037%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-opacity%3D%22.74%22%20stroke-width%3D%221.25%22%2F%3E%3C%2Fsvg%3E");
  background-size:100% 100%;
  background-position:center bottom;
  background-repeat:no-repeat;
  opacity:1;
}
.aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-status{
  transform:translateY(-11px);
  color:rgba(255,255,255,.86);
}
@media(max-width:640px){
  .aymia-auth-panel{-webkit-mask-image:none;mask-image:none;border-radius:26px;}
  .aymia-auth-panel::after{height:66px;}
}
@media(max-height:850px){
  .aymia-auth-panel--register{-webkit-mask-image:none;mask-image:none;border-radius:32px;}
}


/* AYMIA AUTH V24 ORIGINAL-COMPOSITION SOURCE */
/* The static hero uses a photo-only crop of the authorized local reference.
   It contains NO baked-in fields, text, logos or glass. */
@media(min-width:900px){
 .aymia-auth-photo{
   background-color:#828282;
   background-image:url("/images/aymia-reference-model-background-8k.webp");
   background-size:100% 100%;
   background-position:center center;
   background-repeat:no-repeat;
   filter:grayscale(1);
 }
 .aymia-auth-vignette{
   background:linear-gradient(90deg,rgba(0,0,0,.035),transparent 32%,transparent 67%,rgba(0,0,0,.045));
   backdrop-filter:none;
   -webkit-backdrop-filter:none;
 }
}


/* AYMIA AUTH V24.1 - screenshot-measured desktop typography and spacing.
   At 1722x913, exact targets: panel x1124 y49, text x1180, heading y140,
   button y487, providers y647, legal row y738. */
@media(min-width:900px) and (min-height:850px){
  .aymia-auth-panel:not(.aymia-auth-panel--register){
    padding-top:34px;
    padding-left:56px;
    padding-right:44px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-brand{
    margin-bottom:26px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) h1{
    font-size:42px;
    margin-bottom:7px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-lead{
    font-size:18px;
    line-height:1.46;
    margin-bottom:19px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-field label{
    font-size:15px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-options{
    margin-bottom:27px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-primary{
    height:60px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-register{
    margin-top:25px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-divider{
    margin-top:26px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-provider-grid{
    transform:translateX(7px);
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-legal{
    margin-top:28px;
    font-size:12.5px;
  }
  .aymia-auth-panel:not(.aymia-auth-panel--register) .aymia-auth-status{
    font-size:9.6px;
  }
}

/* AYMIA AUTH V24.2 FINAL ALIGNMENT */
@media(min-width:900px) and (min-height:850px){.aymia-auth-panel:not(.aymia-auth-panel--register){transform:translateY(-27px);}}
