/*
 * ShiftControl Module Kit — Authentication system presentation.
 * Pass187: legacy Vibes Login/Register visual transplant.
 * Module Kit owns component anatomy/presentation; Blueprint Kit owns page geometry;
 * Vibes owns theme imagery and visual tokens; Runtime/WordPress own auth behavior.
 */
:where(.scmk-rendered-module--canonical-auth-runtime,.scmk-rendered-slot[data-scmk-runtime-provider-contract="auth-runtime-provider-v1"]){
  --scmk-auth-bg:#050816;--scmk-auth-panel:rgba(12,18,35,.86);--scmk-auth-panel-strong:rgba(18,24,43,.92);
  --scmk-auth-card:rgba(255,255,255,.055);--scmk-auth-line:rgba(164,116,255,.24);--scmk-auth-line-strong:rgba(255,73,188,.38);
  --scmk-auth-text:#fff;--scmk-auth-muted:rgba(232,236,255,.72);--scmk-auth-soft:rgba(213,218,244,.58);
  --scmk-auth-pink:#ff37b7;--scmk-auth-purple:#963fff;--scmk-auth-blue:#38dcff;--scmk-auth-orange:#ff7548;--scmk-auth-green:#42f77a;
  --scmk-auth-radius:22px;--scmk-auth-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 80px rgba(0,0,0,.35);
  box-sizing:border-box;color:var(--scmk-auth-text);min-width:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
:where(.scmk-rendered-module--canonical-auth-runtime,.scmk-rendered-slot[data-scmk-runtime-provider-contract="auth-runtime-provider-v1"]) *,
:where(.scmk-rendered-module--canonical-auth-runtime,.scmk-rendered-slot[data-scmk-runtime-provider-contract="auth-runtime-provider-v1"]) *::before,
:where(.scmk-rendered-module--canonical-auth-runtime,.scmk-rendered-slot[data-scmk-runtime-provider-contract="auth-runtime-provider-v1"]) *::after{box-sizing:border-box}
:where(.scmk-rendered-module--canonical-auth-runtime) .scmk-runtime-module{width:100%;min-width:0}
:where(.scmk-rendered-module--canonical-auth-runtime) svg{display:block;width:1.05em;height:1.05em}
:where(.scmk-rendered-module--canonical-auth-runtime) a{color:inherit;text-decoration:none}

/* Access header: the canonical auth-action-row supplies the legacy marketing-header silhouette. */
.scmk-auth-action-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:70px;padding:0 8px 18px;border:0;border-bottom:1px solid rgba(255,255,255,.10);background:transparent}
.scmk-auth-brand{display:grid;grid-template-columns:auto;gap:1px;min-width:max-content;color:#fff}
.scmk-auth-brand strong{font-size:29px;font-weight:950;letter-spacing:.16em;line-height:1;background:linear-gradient(100deg,#fff 5%,#ff79c8 48%,#a76cff 78%,#38dcff);-webkit-background-clip:text;background-clip:text;color:transparent}
.scmk-auth-brand small{color:rgba(255,255,255,.64);font-size:9px;font-weight:750;letter-spacing:.04em;text-align:center}
.scmk-auth-action-row__links{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto}
.scmk-auth-action-row a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 18px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(9,12,27,.56);color:#fff;font-size:14px;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.scmk-auth-action-row a:first-child{border-color:transparent;background:linear-gradient(100deg,#963fff,#ff2caf 54%,#ff7548);box-shadow:0 12px 28px rgba(255,48,173,.26)}
.scmk-auth-action-row a:hover{transform:translateY(-1px);border-color:rgba(255,98,198,.56)}
.scmk-auth-action-row a:focus-visible{outline:3px solid rgba(255,255,255,.72);outline-offset:3px}.scmk-auth-action-row a svg{width:14px;height:14px}

/* Hero uses Vibes-provided imagery while retaining canonical Module Kit anatomy. */
.scmk-auth-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-start;min-height:760px;padding:54px 56px 50px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:linear-gradient(145deg,rgba(8,13,29,.86),rgba(13,19,38,.76));box-shadow:var(--scmk-auth-shadow);isolation:isolate}
.scmk-auth-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,20,.12),rgba(5,7,20,.28) 48%,rgba(5,7,20,.72));pointer-events:none;z-index:-2}
.scmk-auth-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 28% 31%,rgba(255,73,188,.10),transparent 24%),linear-gradient(90deg,rgba(4,7,18,.55),rgba(4,7,18,.07) 56%,rgba(4,7,18,.38));pointer-events:none;z-index:-1}
.scmk-auth-hero__copy{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;justify-content:flex-start;position:relative;z-index:2;min-width:0}
.scmk-auth-eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 28px;color:#d7a6ff;font-size:14px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.scmk-auth-eyebrow svg{color:var(--scmk-auth-orange);filter:drop-shadow(0 0 10px rgba(255,117,72,.45))}
.scmk-auth-hero h1{max-width:610px;margin:0 0 22px;color:#fff;font-size:clamp(54px,6vw,88px);font-weight:950;letter-spacing:-.06em;line-height:.94;text-shadow:0 10px 34px rgba(0,0,0,.45);text-wrap:balance}
.scmk-auth-hero[data-scmk-auth-route="login"] h1,.scmk-auth-hero[data-scmk-auth-route="register"] h1{background:linear-gradient(100deg,#fff 0 38%,#9a59ff 60%,#ff2caf 79%,#ff8a45);-webkit-background-clip:text;background-clip:text;color:transparent}
.scmk-auth-hero__summary{max-width:620px;margin:0 0 30px;color:rgba(255,255,255,.86);font-size:clamp(17px,1.55vw,23px);font-weight:500;line-height:1.48;text-shadow:0 3px 18px rgba(0,0,0,.38);text-wrap:balance}
.scmk-auth-hero__points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:min(100%,650px);margin:0;padding:0;list-style:none}
.scmk-auth-hero__points li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:4px 20px 4px 0;margin-right:20px;border:0;border-right:1px solid rgba(255,255,255,.18);background:transparent}
.scmk-auth-hero__points li:last-child{margin-right:0;padding-right:0;border-right:0}.scmk-auth-hero__points li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,rgba(56,220,255,.24),rgba(150,63,255,.30),rgba(255,55,183,.28));color:#fff;box-shadow:0 0 18px rgba(255,55,183,.18)}.scmk-auth-hero__points strong{color:#fff;font-size:12px;line-height:1.35;text-shadow:0 2px 10px rgba(0,0,0,.38)}
.scmk-auth-hero__scene{display:none!important}
.scmk-auth-hero__trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:30px;position:relative;z-index:2}.scmk-auth-hero__trust>span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(8,12,27,.56);backdrop-filter:blur(10px);color:rgba(255,255,255,.78);font-size:11px;font-weight:760}.scmk-auth-hero__trust svg{color:var(--scmk-auth-green)}

/* Compact benefits beneath the hero preserve useful canonical content without altering page geometry. */
.scmk-auth-value-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scmk-auth-value-cards article{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:13px 14px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:linear-gradient(145deg,rgba(12,17,34,.88),rgba(8,12,27,.86));box-shadow:0 10px 30px rgba(0,0,0,.20)}.scmk-auth-value-cards article>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,rgba(156,63,255,.24),rgba(255,44,175,.18));color:#f08aff}.scmk-auth-value-cards strong{display:block;color:#fff;font-size:12px}.scmk-auth-value-cards p{margin:4px 0 0;color:var(--scmk-auth-muted);font-size:11px;line-height:1.4}

/* Form panel mirrors the completed legacy Vibes access card while preserving Runtime-owned form semantics. */
.scmk-auth-form-shell{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:760px;padding:48px clamp(34px,4vw,58px);overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:linear-gradient(160deg,rgba(18,25,45,.92),rgba(8,13,28,.88));box-shadow:var(--scmk-auth-shadow)}
.scmk-auth-form-shell::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 10%,rgba(56,200,255,.10),transparent 30%),radial-gradient(circle at 40% 94%,rgba(255,42,180,.10),transparent 28%);pointer-events:none}.scmk-auth-form-shell>*{position:relative;z-index:1}
.scmk-auth-form-shell__header{text-align:center;margin-bottom:28px}.scmk-auth-form-shell__header>p{display:none}.scmk-auth-form-shell__header h2{margin:0 0 10px;color:#fff;font-size:clamp(32px,3vw,42px);font-weight:950;letter-spacing:-.045em;line-height:1.08}.scmk-auth-form-shell__header h2::after{content:"";display:block;width:90px;height:3px;margin:14px auto 0;border-radius:99px;background:linear-gradient(90deg,#963fff,#ff2caf,#ff7548);box-shadow:0 0 16px rgba(255,45,154,.36)}.scmk-auth-form-shell__header>span{display:block;margin-top:12px;color:rgba(255,255,255,.74);font-size:18px;line-height:1.45}
.scmk-auth-feedback{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(79,141,255,.30);border-radius:11px;background:rgba(79,141,255,.10);color:#dbe7ff;font-size:13px;line-height:1.45}.scmk-auth-feedback svg{flex:0 0 auto;margin-top:2px}.scmk-auth-feedback--error{border-color:rgba(255,80,119,.42);background:rgba(255,80,119,.12);color:#ffd7e1}.scmk-auth-feedback--success{border-color:rgba(78,227,161,.38);background:rgba(78,227,161,.10);color:#d7ffec}
.scmk-auth-form{display:grid;gap:20px}.scmk-auth-form__grid{display:grid;gap:20px}.scmk-auth-form__grid--two{grid-template-columns:1fr 1fr;gap:24px}
.scmk-auth-field{display:grid;gap:9px;min-width:0;color:#fff;font-size:14px;font-weight:850}.scmk-auth-field__control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(4,7,19,.56);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.scmk-auth-field__control i{color:#a7afce;font-style:normal}.scmk-auth-field__control input{min-width:0;width:100%;height:52px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font:inherit;font-weight:620;padding:0!important}.scmk-auth-field__control input::placeholder{color:rgba(229,233,255,.42)}.scmk-auth-field:focus-within .scmk-auth-field__control{border-color:rgba(255,55,183,.62);background:rgba(8,11,27,.78);box-shadow:0 0 0 3px rgba(156,63,255,.12),0 0 24px rgba(255,45,154,.10)}.scmk-auth-field:focus-within i{color:#f083dc}
.scmk-auth-check{display:flex;align-items:flex-start;gap:10px;color:rgba(255,255,255,.72);font-size:12px;line-height:1.5;cursor:pointer}.scmk-auth-check input{appearance:none;display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;margin:1px 0 0;border:1px solid rgba(255,255,255,.30);border-radius:5px;background:rgba(255,255,255,.035)}.scmk-auth-check input:checked{border-color:transparent;background:linear-gradient(135deg,#963fff,#ff2caf)}.scmk-auth-check input:checked::after{content:"✓";color:white;font-size:11px;font-weight:900}
.scmk-auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;width:100%;border:0;border-radius:10px;background:linear-gradient(100deg,#963fff,#ff2caf 54%,#ff7548);color:#fff;font-size:17px;font-weight:950;letter-spacing:.01em;padding:14px 20px;box-shadow:0 14px 34px rgba(255,48,173,.30);cursor:pointer;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}.scmk-auth-submit:hover:not(:disabled){transform:translateY(-1px);filter:saturate(1.1);box-shadow:0 18px 42px rgba(255,48,173,.38)}.scmk-auth-submit:focus-visible{outline:3px solid rgba(255,255,255,.72);outline-offset:3px}.scmk-auth-submit:disabled{cursor:not-allowed;filter:grayscale(.65);opacity:.52;box-shadow:none}.scmk-auth-submit svg{width:20px;height:20px}.scmk-auth-form__disabled{margin:-6px 0 0;color:#ffb4c9;font-size:12px;text-align:center}

.scmk-auth-legal{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:11px;padding:14px 16px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(9,13,29,.54);color:var(--scmk-auth-muted)}.scmk-auth-legal>span{color:#c39bff}.scmk-auth-legal p{margin:0;font-size:11px;line-height:1.5}.scmk-auth-legal nav{grid-column:2;display:flex;flex-wrap:wrap;gap:11px}.scmk-auth-legal a{color:#e2d4ff;font-size:11px;font-weight:800}.scmk-auth-legal a:hover{color:#fff}
.scmk-auth-trust{padding:18px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:linear-gradient(145deg,rgba(12,17,34,.88),rgba(7,11,25,.88));box-shadow:0 12px 34px rgba(0,0,0,.18)}.scmk-auth-trust header{display:flex;align-items:flex-start;gap:12px}.scmk-auth-trust header>span{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:rgba(66,247,122,.10);color:var(--scmk-auth-green)}.scmk-auth-trust strong{display:block;color:#fff;font-size:13px}.scmk-auth-trust header p{margin:5px 0 0;color:var(--scmk-auth-muted);font-size:11px;line-height:1.45}.scmk-auth-trust ul{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 0;padding:13px 0 0;border-top:1px solid rgba(255,255,255,.075);list-style:none}.scmk-auth-trust li{display:flex;align-items:center;gap:7px;color:var(--scmk-auth-muted);font-size:11px}.scmk-auth-trust li svg{flex:0 0 13px;color:var(--scmk-auth-green)}
.scmk-auth-footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:10px 4px 24px;color:var(--scmk-auth-muted)}.scmk-auth-footer>div{display:grid;gap:3px}.scmk-auth-footer strong{font-size:15px;letter-spacing:.18em;color:#fff}.scmk-auth-footer>div span,.scmk-auth-footer small{font-size:10px}.scmk-auth-footer nav{display:flex;flex-wrap:wrap;gap:14px}.scmk-auth-footer a{font-size:11px;font-weight:760}.scmk-auth-footer a:hover{color:#fff}

.scmk-auth-state{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--scmk-auth-line);border-radius:15px;background:linear-gradient(145deg,rgba(14,19,39,.96),rgba(7,10,24,.96));box-shadow:var(--scmk-auth-shadow)}.scmk-auth-state__icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:rgba(156,73,255,.13);color:#c79bff}.scmk-auth-state strong{display:block;color:#fff}.scmk-auth-state p{margin:5px 0 0;color:var(--scmk-auth-muted);font-size:12px;line-height:1.5}.scmk-auth-state--error,.scmk-auth-state--permission_denied{border-color:rgba(255,80,119,.35)}.scmk-auth-state--error .scmk-auth-state__icon,.scmk-auth-state--permission_denied .scmk-auth-state__icon{background:rgba(255,80,119,.12);color:#ff8bab}.scmk-auth-state--loading .scmk-auth-state__icon{animation:scmk-auth-pulse 1.4s ease-in-out infinite}@keyframes scmk-auth-pulse{50%{transform:scale(.9);opacity:.64}}@media (prefers-reduced-motion:reduce){.scmk-auth-state--loading .scmk-auth-state__icon{animation:none}.scmk-auth-submit,.scmk-auth-action-row a{transition:none}}

@media (max-width:1100px){
  .scmk-auth-hero,.scmk-auth-form-shell{min-height:560px;border-radius:22px}.scmk-auth-hero{padding:36px 28px}.scmk-auth-form-shell{padding:34px 24px}.scmk-auth-hero h1{font-size:clamp(42px,8vw,72px)}.scmk-auth-hero__summary{font-size:17px}.scmk-auth-hero__points{max-width:100%}.scmk-auth-value-cards{grid-template-columns:1fr}.scmk-auth-trust ul{display:grid;grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .scmk-auth-action-row{flex-wrap:wrap;min-height:0;padding:0 0 12px;gap:12px}.scmk-auth-brand strong{font-size:23px}.scmk-auth-action-row__links{gap:8px}.scmk-auth-action-row a{min-height:42px;padding:0 12px;font-size:12px}.scmk-auth-action-row a svg{display:none}
  .scmk-auth-hero{min-height:430px;padding:28px 20px}.scmk-auth-hero h1{font-size:clamp(38px,13vw,54px);max-width:100%}.scmk-auth-hero__summary{max-width:100%;font-size:16px}.scmk-auth-hero__points{grid-template-columns:1fr;gap:8px}.scmk-auth-hero__points li{border-right:0;margin:0;padding:6px 0}.scmk-auth-hero__trust{display:none}.scmk-auth-form-shell{min-height:0;padding:28px 18px}.scmk-auth-form-shell__header{margin-bottom:22px}.scmk-auth-form-shell__header h2{font-size:clamp(30px,9vw,40px)}.scmk-auth-form-shell__header>span{font-size:15px}.scmk-auth-form{gap:16px}.scmk-auth-form__grid--two{grid-template-columns:1fr;gap:16px}.scmk-auth-field__control{min-height:50px}.scmk-auth-submit{min-height:56px;font-size:16px}.scmk-auth-trust ul{grid-template-columns:1fr}.scmk-auth-footer{grid-template-columns:1fr;gap:12px}
}
@media (max-width:460px){.scmk-auth-action-row a[data-scmk-auth-route-link="forgot-password"]{display:none}.scmk-auth-hero{min-height:390px}.scmk-auth-value-cards{display:none}.scmk-auth-form-shell{padding:24px 15px}}
