/* Distinct visual directions for the six existing public-login compositions. */
.public-login-art { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.public-login-art > span { display: none; position: absolute; }
.login-card { animation: creative-enter .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes creative-enter { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.login-btn { transition: background .2s, box-shadow .2s, translate .2s; }
.login-btn:hover { translate: 0 -2px; box-shadow: 0 7px 18px rgba(var(--login-rgb),.22); }

/* Organic shapes, a serif accent and a sculpted gallery frame. */
html[data-login-layout="panorama"] .art-ring { display: block; left: -125px; top: 16%; width: 840px; height: 660px; border-radius: 44% 56% 65% 35% / 45% 35% 65% 55%; background: rgba(var(--login-rgb),.065); rotate: -15deg; }
html[data-login-layout="panorama"] .public-eyebrow { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(var(--login-rgb),.18); border-radius: 30px; background: rgba(255,255,255,.5); font-size: 8px; }
html[data-login-layout="panorama"] .public-welcome h1 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: -1.8px; }
html[data-login-layout="panorama"] .brand-panel { border-radius: 28px 9px 28px 9px; border-width: 7px; box-shadow: 0 20px 45px rgba(var(--login-rgb),.16); }
html[data-login-layout="panorama"] .login-card { border-radius: 30px 30px 8px 30px; }
html[data-login-layout="panorama"] .logo-badge { border-radius: 50%; }

/* A cinematic dark canvas, with the form kept clear and bright. */
html[data-login-layout="reverse"] body.public-login { background: var(--login-primary-dark); }
html[data-login-layout="reverse"] body.public-login::before { background: radial-gradient(ellipse at 60% 10%, rgba(255,255,255,.12), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(0,0,0,.2), transparent 70%); }
html[data-login-layout="reverse"] body.public-login::after { border-color: rgba(255,255,255,.12); box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
html[data-login-layout="reverse"] .art-grid { display: block; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent,#000); }
html[data-login-layout="reverse"] .public-login-brand, html[data-login-layout="reverse"] .public-login-brand strong { color: #fff; }
html[data-login-layout="reverse"] .public-login-brand small, html[data-login-layout="reverse"] .public-header-note { color: rgba(255,255,255,.65); }
html[data-login-layout="reverse"] .public-header-note i { background: #fff; }
html[data-login-layout="reverse"] .public-welcome h1 { color: #fff; font-weight: 500; }
html[data-login-layout="reverse"] .public-welcome h1 em { color: #d8eac7; }
html[data-login-layout="reverse"] .public-eyebrow, html[data-login-layout="reverse"] .public-welcome-copy, html[data-login-layout="reverse"] .public-gallery-caption { color: rgba(255,255,255,.72); }
html[data-login-layout="reverse"] .public-eyebrow > span, html[data-login-layout="reverse"] .public-gallery-caption i { background: #cce5b4; }
html[data-login-layout="reverse"] .brand-panel { border-radius: 18px; border-width: 5px; box-shadow: 0 25px 50px rgba(0,0,0,.22); }
html[data-login-layout="reverse"] .login-card { border-color: rgba(255,255,255,.7); box-shadow: 0 25px 65px rgba(0,0,0,.22); }
html[data-login-layout="reverse"] body.public-login .catalog-flyer { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(15px); }

/* Editorial composition: oversized outline type and a small paper-like image. */
html[data-login-layout="compact"] .art-word { display: block; left: 0; top: 6%; color: transparent; -webkit-text-stroke: 1px rgba(var(--login-rgb),.10); font-size: clamp(190px,28vw,440px); line-height: 1; font-weight: 800; letter-spacing: -.09em; }
html[data-login-layout="compact"] .public-welcome h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -2.4px; }
html[data-login-layout="compact"] .public-welcome h1 em { font-style: italic; }
html[data-login-layout="compact"] .brand-panel { border-width: 8px 8px 21px; border-radius: 3px; rotate: -3deg; box-shadow: 6px 9px 0 var(--login-tint), 0 20px 30px rgba(var(--login-rgb),.12); }
html[data-login-layout="compact"] .public-gallery-caption { padding-top: 10px; }
html[data-login-layout="compact"] .login-card { border-radius: 6px; border-top: 5px solid var(--login-primary); box-shadow: 9px 9px 0 rgba(var(--login-rgb),.09); }
html[data-login-layout="compact"] .logo-badge, html[data-login-layout="compact"] .form-control.login-input, html[data-login-layout="compact"] .login-btn { border-radius: 4px; }

/* The gallery becomes a little browser window, paired with a graphic form. */
html[data-login-layout="showcase"] .art-ring { display: block; width: 640px; height: 640px; right: -300px; bottom: -320px; border: 1px solid rgba(var(--login-rgb),.2); border-radius: 50%; box-shadow: 0 0 0 45px rgba(var(--login-rgb),.035), 0 0 0 90px rgba(var(--login-rgb),.025); }
html[data-login-layout="showcase"] .brand-panel { border-width: 5px; border-radius: 12px; box-shadow: 10px 12px 0 var(--login-tint), 0 20px 40px rgba(var(--login-rgb),.12); }
html[data-login-layout="showcase"] #login-carousel::before { content: '●  ●  ●'; position: absolute; z-index: 3; left: 11px; top: 3px; color: var(--login-muted); font-size: 8px; letter-spacing: 3px; }
html[data-login-layout="showcase"] .login-slide { top: 24px; height: calc(100% - 24px); }
html[data-login-layout="showcase"] .login-card { border-radius: 16px; box-shadow: 9px 10px 0 rgba(var(--login-rgb),.1); }
html[data-login-layout="showcase"] .logo-badge { rotate: -8deg; border-radius: 11px; background: var(--login-primary-dark); }
html[data-login-layout="showcase"] .public-form-eyebrow { color: var(--login-primary); }

/* A single two-tone panel, with a rich visual half and a white sign-in half. */
html[data-login-layout="framed"] .login-shell { padding: 0; gap: 0; border: 0; border-radius: 25px; overflow: hidden; box-shadow: 0 25px 65px rgba(var(--login-rgb),.16); }
html[data-login-layout="framed"] .login-visual { padding: 30px; background: var(--login-primary-dark); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
html[data-login-layout="framed"] .public-welcome { padding-top: 0; }
html[data-login-layout="framed"] .public-welcome h1 { color: #fff; }
html[data-login-layout="framed"] .public-welcome h1 em { color: #e0e9c8; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
html[data-login-layout="framed"] .public-eyebrow, html[data-login-layout="framed"] .public-welcome-copy, html[data-login-layout="framed"] .public-gallery-caption { color: rgba(255,255,255,.72); }
html[data-login-layout="framed"] .public-eyebrow > span, html[data-login-layout="framed"] .public-gallery-caption i { background: #d8eac7; }
html[data-login-layout="framed"] .brand-panel { border: 5px solid rgba(255,255,255,.9); border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,.15); }
html[data-login-layout="framed"] .login-card { border: 0; border-radius: 0; }
html[data-login-layout="framed"] .login-card-inner { padding: 30px; }
html[data-login-layout="framed"] .login-footer { padding: 18px 20px; background: #fcfdfb; }

/* Orbital geometry and a tall center card create a different visual rhythm. */
html[data-login-layout="studio"] .art-ring { display: block; width: 370px; height: 370px; right: 285px; top: 15%; border: 1px dashed rgba(var(--login-rgb),.3); border-radius: 50%; rotate: -18deg; }
html[data-login-layout="studio"] .art-orbit { display: block; width: 480px; height: 205px; right: 235px; top: 24%; border: 1px solid rgba(var(--login-rgb),.17); border-radius: 50%; rotate: -32deg; }
html[data-login-layout="studio"] .art-dot { display: block; width: 18px; height: 18px; top: 19%; right: 356px; background: var(--login-primary); border: 4px solid var(--login-wash); border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--login-rgb),.18); }
html[data-login-layout="studio"] .login-card { border-top: 5px solid var(--login-primary); border-radius: 70px 70px 18px 18px; }
html[data-login-layout="studio"] .logo-wrap { justify-items: center; text-align: center; }
html[data-login-layout="studio"] .logo-badge { border-radius: 50%; width: 46px; height: 46px; }
html[data-login-layout="studio"] .brand-panel { rotate: 3deg; box-shadow: 0 15px 35px rgba(var(--login-rgb),.16); border-radius: 16px; }
html[data-login-layout="studio"] .public-welcome h1 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
html[data-login-layout="studio"] .public-gallery-caption { padding-top: 13px; }

@media (max-width: 1200px) and (min-width: 701px) {
    html[data-login-layout="framed"] .login-visual { padding: 22px; }
    html[data-login-layout="framed"] .login-card-inner { padding: 25px 22px; }
    html[data-login-layout="studio"] .art-ring { right: 60px; top: 20%; width: 280px; height: 280px; }
    html[data-login-layout="studio"] .art-orbit { right: 20px; top: 25%; width: 340px; }
    html[data-login-layout="compact"] .brand-panel { rotate: -2deg; }
}
@media (max-width: 700px) {
    .login-card { animation-duration: .4s; }
    html[data-login-layout="panorama"] .art-ring { width: 500px; height: 570px; top: 0; }
    html[data-login-layout="compact"] .art-word { font-size: 220px; top: 90px; left: -10px; }
    html[data-login-layout="compact"] .brand-panel { rotate: -2deg; }
    html[data-login-layout="compact"] .login-card { box-shadow: 6px 6px 0 rgba(var(--login-rgb),.09); }
    html[data-login-layout="showcase"] .brand-panel { box-shadow: 6px 7px 0 var(--login-tint); }
    html[data-login-layout="showcase"] .login-card { box-shadow: 6px 6px 0 rgba(var(--login-rgb),.1); }
    html[data-login-layout="framed"] .login-visual { padding: 24px 20px; }
    html[data-login-layout="framed"] .login-card-inner { padding: 26px 22px; }
    html[data-login-layout="framed"] .public-eyebrow { font-size: 6.5px; letter-spacing: .1em; }
    html[data-login-layout="studio"] .login-card { border-radius: 50px 50px 16px 16px; }
    html[data-login-layout="studio"] .brand-panel { rotate: 2deg; }
    html[data-login-layout="studio"] .art-ring { width: 320px; height: 320px; right: -100px; top: 5%; }
    html[data-login-layout="studio"] .art-orbit { width: 350px; right: -100px; top: 9%; }
    html[data-login-layout="studio"] .art-dot { right: 46px; top: 6%; }
}
@media (prefers-reduced-motion: reduce) { .login-card { animation: none; } .login-btn { transition: none; } }
