:root {
  --login-primary: #17233c;
  --login-accent: #f4a261;
  --login-bg: #f4f6f8;
  --login-ink: #172033;
  --login-muted: #697386;
  --login-line: #dfe4eb;
}

* { box-sizing: border-box; }
body.workshop-login {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--login-bg);
  color: var(--login-ink);
  font: 400 15px "DM Sans", sans-serif;
}
.login-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 70px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: var(--login-primary);
}
.login-header .brand { color: #fff; }
.login-header > a:last-child {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.login-shell { min-height: 100vh; display: grid; grid-template-columns: .9fr 1.1fr;}
.login-story {
  min-height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(55px, 7vw, 100px);
  background: var(--login-primary);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -230px;
  top: 80px;
  border: 85px solid rgba(244,162,97,.12);
  border-radius: 50%;
}
.login-story > * { position: relative; z-index: 1; }
.login-story .kicker { color: var(--login-accent); font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.login-story h1 { margin: 22px 0; font: 800 clamp(48px, 5vw, 72px)/1 Manrope; letter-spacing: -4px; }
.login-story h1 em { color: var(--login-accent); font-family: Georgia, serif; font-weight: 400; }
.login-story > div > p { max-width: 520px; color: rgba(255,255,255,.67); font-size: 17px; line-height: 1.7; }
.login-story ul { display: grid; gap: 0; margin: 45px 0; padding: 0; list-style: none; }
.login-story li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.5; }
.login-story li b { color: var(--login-accent); font: 700 10px Manrope; }
.login-story li strong { display: block; margin-bottom: 3px; color: #fff; font-size: 13px; }
.login-story > small { color: rgba(255,255,255,.38); font-size: 9px; }
.login-panel { min-width: 0; display: grid; place-items: center; padding: 55px 25px; }
.login-card { width: 100%; max-width: 455px; min-width: 0; }
.selector-page .login-shell{display:flex;align-items:center;justify-content:center}.selector-page .login-panel{width:100%;min-height:100vh;padding:100px 25px 55px}.selector-card{position:relative}.selector-home{position:absolute;top:-8px;right:0;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--login-line);border-radius:50%;background:#fff;color:var(--login-primary);transition:background .2s,color .2s,transform .2s}.selector-home svg{width:20px;height:20px}.selector-home:hover{background:var(--login-primary);color:#fff;transform:translateY(-2px)}.workshop-choices{display:grid;gap:12px;margin-top:24px}.workshop-choice{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;width:100%;min-height:82px;padding:12px 16px;border:1px solid var(--login-line);border-radius:12px;background:#fff;color:var(--login-primary);font:700 14px "DM Sans",sans-serif;text-align:left;cursor:pointer;box-shadow:0 8px 20px rgba(23,35,60,.05);transition:border-color .2s,box-shadow .2s,transform .2s}.workshop-choice:hover{border-color:var(--login-accent);box-shadow:0 12px 28px rgba(23,35,60,.1);transform:translateY(-2px)}.workshop-choice:disabled{cursor:wait;opacity:.65}.workshop-choice img{width:58px;height:58px;object-fit:contain;padding:7px;border:1px solid #edf0f4;border-radius:10px;background:#f8fafc}.workshop-choice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workshop-choice b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff3e9;color:#b9682e;font-size:18px;font-weight:500}.selector-card>.login-message{margin-top:15px}
.selector-page{overflow:hidden}.selector-page .login-shell{height:100vh;min-height:100vh}.selector-page .login-panel{height:calc(100vh - 78px);min-height:calc(100vh - 78px);padding:35px 25px;overflow-y:auto}
@media(max-width:480px){.selector-page .login-panel{height:calc(100vh - 68px);min-height:calc(100vh - 68px);padding:25px 20px}}
.login-caption { color: #ad6a31; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.login-card h2 { margin: 10px 0 8px; font: 800 34px Manrope; letter-spacing: -1.5px; }
.login-card > p { margin: 0 0 32px; color: var(--login-muted); line-height: 1.6; }
.login-card form { display: grid; gap: 19px; }
.login-card form > label { display: grid; gap: 8px; font-size: 11px; font-weight: 800; }
.login-card input[type="email"],
.login-card .password-field input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--login-line);
  border-radius: 7px;
  background: #fff;
  color: var(--login-ink);
  font: 500 13px "DM Sans";
  outline: 0;
}
.login-card input:focus { border-color: var(--login-primary); box-shadow: 0 0 0 3px rgba(23,35,60,.09); }
.password-field { display:flex; align-items:center; width:100%; height:50px; box-sizing:border-box; padding:0 15px; border:1px solid var(--login-line); border-radius:7px; background:#fff; }
.password-field input { flex:1 1 auto; min-width:0; width:auto !important; height:100% !important; margin:0; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.password-field input:focus { border:0 !important; box-shadow:none !important; outline:0; }
.password-field button { display:grid; place-items:center; flex:0 0 30px; width:30px; height:100%; margin:0; padding:0; border:0; background:transparent; color:var(--login-muted); font-size:14px; cursor:pointer; }
.password-field button:focus-visible { outline:2px solid var(--login-accent); outline-offset:2px; border-radius:4px; }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.login-row .remember { display: flex; align-items: center; gap: 7px; color: var(--login-muted); font-size: 10px; font-weight: 500; }
.login-row a { color: var(--login-primary); font-size: 10px; font-weight: 800; text-decoration: none; }
.login-message { display: none; padding: 11px 13px; border-radius: 6px; background: #fff0f0; color: #a72c25; font-size: 11px; }
.login-message.visible { display: block; }
.login-submit { width: 100%; min-height: 51px; justify-content: space-between; border-radius: 7px; }
.login-submit:disabled { cursor: wait; opacity: .65; }
.login-create { display: flex; justify-content: center; gap: 8px; margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--login-line); color: var(--login-muted); font-size: 11px; }
.login-create a { color: var(--login-primary); font-weight: 800; text-decoration: none; }

@media (max-width: 850px) {
  .login-header { background: #fff; border-color: var(--login-line); }
  .login-header .brand { color: var(--login-primary); }
  .login-header > a:last-child { color: var(--login-muted); }
  .login-shell { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-panel { min-height: calc(100vh - 78px); }
}
@media (max-width: 480px) {
  .login-header { height: 68px; padding: 0 18px; }
  .login-shell { padding-top: 68px; }
  .login-panel { min-height: calc(100vh - 68px); padding: 35px 20px; }
  .login-card h2 { font-size: 29px; }
  .login-row, .login-create { align-items: flex-start; flex-direction: column; }
  .login-header > a:last-child { display: none; }
}
