:root {
  color-scheme: light;
  --paper: #fdfdfb;
  --ink: var(--cpq-text);
  --muted: var(--cpq-text-secondary);
  --accent: var(--cpq-primary);
  --error: var(--cpq-danger);
  --ease: cubic-bezier(.22,1,.36,1);
  font-family: var(--cpq-font-ui);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f3f4f0; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
[hidden], .hidden { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--cpq-focus); outline-offset: 4px; }
.page { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: flex-end; min-height: 100svh; padding: 56px clamp(48px,5vw,80px); }
.visual { position: absolute; inset: 24px; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 40px 44px; color: #fffdf5; border-radius: 5px; }
.scene { position: absolute; inset: -14px; transform: translate3d(var(--scene-x,0px),var(--scene-y,0px),0); transition: transform 1.25s var(--ease); z-index: -1; background: #394a51; overflow: hidden; }
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 42% center; transform: scale(1.025); animation: breathe 24s ease-in-out infinite alternate; }
.scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#1729374d,transparent 38%,#13293699); }
.brand { display: inline-flex; align-items: center; gap: 13px; align-self: flex-start; animation: fade-in .8s .1s both; }
.brand > img { display: block; width: 40px; height: 40px; }
.brand > span { display: grid; gap: 6px; }
.brand strong { font-size: 18px; font-weight: 500; letter-spacing: 2px; line-height: 1.3; }
.brand small { font: 9px 'Avenir Next','Trebuchet MS',sans-serif; letter-spacing: 3px; color: #fffdf5c7; }
.visual-content { margin-top: auto; max-width: min(520px,calc(100% - 460px)); padding-top: 120px; }
.visual-kicker { display: flex; align-items: center; gap: 12px; color: #fffdf5d9; font-size: 11px; letter-spacing: 2px; line-height: 1.7; margin: 0 0 22px; animation: enter .8s .18s var(--ease) both; }
.visual-kicker > span { width: 24px; height: 1px; background: #d5bd8a; }
h1 { font: 400 42px/1.4 var(--cpq-font-display); letter-spacing: 3px; margin: 0; animation: enter .9s .25s var(--ease) both; }
h1 > span { font-size: 48px; }
.visual-intro { color: #fffdf5e6; font-size: 14px; line-height: 1.9; letter-spacing: .5px; margin: 22px 0 0; animation: enter .8s .35s var(--ease) both; }
.visual-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }
.journey { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; color: #fffdf5dc; font-size: 12px; line-height: 1.8; letter-spacing: 1px; animation: enter .8s .45s var(--ease) both; }
.journey li { display: flex; align-items: center; white-space: nowrap; }
.journey li + li::before { content: ''; display: block; flex-shrink: 0; width: 24px; height: 1px; margin: 0 14px; background: #d2bd94b8; transform-origin: left; animation: connect .8s .6s var(--ease) both; }
.motion-toggle { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #fffdf54d; border-radius: 50%; padding: 0; background: #102a3514; color: #fffdf5; transition: background .25s,border-color .25s; }
.motion-toggle:hover { background: #fffdf514; border-color: #fffdf59c; }
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.motion-toggle .play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
.motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-paused .scene img { animation-play-state: paused; }
.photo-unavailable .scene { background: var(--cpq-nav); }
.login-area { position: relative; z-index: 1; overflow: hidden; width: 400px; flex: 0 0 auto; display: flex; flex-direction: column; padding: 36px 40px 22px; border: 1px solid #ffffffc7; border-radius: 10px; background: var(--paper); box-shadow: 0 24px 72px #14263820,0 2px 8px #14263808; animation: enter .75s .12s var(--ease) both; }
.login-area::after { content: ''; position: absolute; top: -29px; right: -29px; width: 154px; height: 154px; background: url('/company-logo-icon.svg') center/contain no-repeat; opacity: .045; pointer-events: none; }
.login-panel { position: relative; z-index: 1; width: 100%; max-width: 320px; margin: 0 auto; }
.panel-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--cpq-text-secondary); font-size: 10px; letter-spacing: 1.5px; }
.panel-eyebrow > span { width: 20px; height: 1px; background: var(--cpq-brand-gold); }
h2 { font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: .5px; margin: 0; }
.login-description { margin: 12px 0 36px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.form-field + .form-field { margin-top: 22px; }
.form-field label { display: block; margin-bottom: 9px; font-size: 13px; color: var(--muted); }
.input-wrap { position: relative; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; border: 1px solid var(--cpq-border); border-radius: 5px; background: transparent; transition: border-color .25s,box-shadow .25s,background .25s; }
.input-wrap:not(.is-invalid):not(:focus-within):hover { border-color: var(--cpq-border-strong); }
.input-wrap:focus-within { border-color: var(--cpq-focus); box-shadow: 0 0 0 3px #52769c0e; background: #fff; }
.input-wrap.is-invalid { border-color: var(--cpq-danger); background: #fff8f7; }
.input-wrap input { width: 100%; min-width: 0; flex: 1; padding: 12px 0; border: 0; border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: 14px; line-height: 22px; }
.input-wrap input::placeholder { color: #7b8795; font-size: 13px; }
.input-wrap input:autofill { box-shadow: 0 0 0 100px var(--paper) inset; -webkit-text-fill-color: var(--ink); }
.force-password-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--cpq-text-secondary); transition: color .2s,background .2s; }
.force-password-toggle:hover, .force-password-toggle[aria-pressed="true"] { color: var(--accent); background: var(--cpq-primary-soft); }
.force-password-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.form-feedback { min-height: 32px; padding: 6px 0; }
.err { margin: 0; font-size: 12px; line-height: 1.6; color: var(--error); }
.err:not(.show) { visibility: hidden; }
.caps-hint { color: var(--cpq-warning); font-size: 12px; line-height: 1.6; }
.login-btn { position: relative; width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff; font-size: 14px; letter-spacing: 2px; transition: background .25s,box-shadow .25s,transform .2s var(--ease); }
.login-btn:hover:not(:disabled) { background: var(--cpq-primary-hover); box-shadow: 0 8px 20px #243d5924; transform: translateY(-2px); }
.login-btn:active:not(:disabled) { transform: translateY(0) scale(.99); }
.login-btn:disabled { opacity: .7; }
.login-btn__text { display: flex; align-items: center; justify-content: space-between; }
.login-btn__text svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.3; transition: transform .3s var(--ease); }
.login-btn:hover:not(:disabled) .login-btn__text svg { transform: translateX(5px); }
.login-btn__loading { display: none; }
.login-btn.is-loading .login-btn__text { visibility: hidden; }
.login-btn.is-loading .login-btn__loading { display: flex; align-items: center; justify-content: center; gap: 9px; position: absolute; inset: 0; }
.spinner { width: 14px; height: 14px; border: 1.5px solid #ffffff50; border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
.login-help { margin-top: 20px; color: var(--muted); font-size: 12px; }
.login-help summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; transition: color .2s; }
.login-help summary::-webkit-details-marker { display: none; }
.login-help summary:hover { color: var(--accent); }
.login-help p { font-size: 12px; line-height: 1.8; margin: 4px 0 0; padding: 12px; background: var(--cpq-surface-subtle); border-radius: 4px; animation: enter .25s var(--ease) both; }
.site-footer { position: relative; z-index: 1; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5e7e1; text-align: center; }
.account-note { margin: 0 0 9px; color: var(--cpq-text-secondary); font-size: 11px; line-height: 1.7; letter-spacing: .5px; }
.site-footer a { color: #76818d; font-size: 10px; line-height: 1.8; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.force-password-mask { position: fixed; inset: 0; z-index: 20; padding: 24px; display: grid; place-items: center; overflow-y: auto; background: #1c241dc9; backdrop-filter: blur(5px); animation: fade-in .25s ease both; }
.force-password-card { width: min(440px, 100%); padding: 32px; margin: auto; background: var(--paper); border-radius: var(--cpq-radius-panel); box-shadow: 0 24px 90px #101b1638; animation: rise-in .4s var(--ease) both; }
.force-password-badge { margin-bottom: 22px; color: var(--accent); }
.force-password-badge svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.section-label { color: var(--muted); font-size: 10px; letter-spacing: 2px; margin: 0 0 10px; }
.force-password-card h2 { font-size: 24px; }
.force-password-card > p:not(.section-label):not(.err) { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 14px 0 22px; }
.force-password-card .input-wrap > svg { display: none; }
.force-password-meter { margin-top: 20px; }
.force-password-meter__track { background: var(--cpq-border); height: 3px; overflow: hidden; }
.force-password-meter__bar { height: 100%; width: 0; transition: width .2s ease; }
[data-level="weak"] .force-password-meter__bar { width: 28%; background: var(--cpq-danger); }
[data-level="medium"] .force-password-meter__bar { width: 62%; background: var(--cpq-warning); }
[data-level="strong"] .force-password-meter__bar { width: 100%; background: var(--cpq-success); }
.force-password-meter__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; line-height: 1.7; color: var(--muted); margin-top: 9px; }
.is-good { color: var(--cpq-success); }
.is-bad { color: var(--error); }
.force-password-card > .password-tips { font-size: 10px !important; margin: 10px 0 !important; }
.force-password-card > .err { margin: 10px 0; min-height: 22px; }
@keyframes connect { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes breathe { from { transform: scale(1.025); } to { transform: scale(1.085); } }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1001px) and (max-height: 760px) { .visual-content { padding-top: 64px; } .visual-kicker { margin-bottom: 16px; } .visual-intro { margin-top: 16px; } .visual-footer { margin-top: 20px; } .page { padding-top: 40px; padding-bottom: 40px; } .login-area { padding-top: 28px; padding-bottom: 18px; } .panel-eyebrow { margin-bottom: 18px; } .login-description { margin-bottom: 28px; } .login-help { margin-top: 16px; } .site-footer { position: relative; z-index: 1; margin-top: 16px; padding-top: 12px; } }
@media (max-width: 1100px) and (min-width: 1001px) { .page { padding-left: 40px; padding-right: 40px; } .visual { padding-left: 36px; padding-right: 36px; } h1 { font-size: 36px; } h1 > span { font-size: 40px; } .journey li + li::before { width: 18px; margin: 0 10px; } .login-area { width: 380px; padding-left: 32px; padding-right: 32px; } }
@media (max-width: 1000px) {
  .page { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; }
  .visual { position: relative; inset: auto; min-height: 320px; height: 320px; flex: 0 0 320px; padding: 28px; border-radius: 0; }
  .brand { gap: 10px; }
  .brand > img { width: 34px; height: 34px; }
  .brand strong { font-size: 17px; letter-spacing: 1.5px; }
  .brand small { font-size: 8px; letter-spacing: 2px; }
  .visual-content { max-width: none; padding-top: 22px; margin-bottom: 22px; }
  .visual-kicker { display: none; }
  .visual-intro { font-size: 13px; line-height: 1.8; margin-top: 12px; letter-spacing: 0; }
  .visual-footer { margin-top: 16px; align-items: center; gap: 16px; }
  .journey { font-size: 12px; letter-spacing: 0; }
  .journey li + li::before { width: 16px; margin: 0 10px; }
  h1 { font: 400 24px/1.5 var(--cpq-font-display); letter-spacing: 1px; }
  h1 > span { font-size: inherit; }
  h1 br { display: none; }
  .motion-toggle { flex-basis: 44px; width: 44px; height: 44px; margin: -4px; }
  .scene img { object-position: center 43%; }
  .scene::after { background: linear-gradient(180deg,#162b3c8c,#162b3c99 45%,#162b3c9c); }
  .login-area { width: min(420px,calc(100% - 48px)); margin: -28px auto 28px; padding: 30px 32px 22px; }
  .login-panel { padding: 0; }
  .panel-eyebrow { margin-bottom: 22px; }
  h2 { font-size: 26px; }
  .login-description { margin: 10px 0 30px; }
  .input-wrap input { font-size: 16px; }
  .input-wrap input::placeholder { font-size: 14px; }
  .login-help, .login-help p, .err { font-size: 13px; }
  .force-password-mask { padding: 16px; }
  .force-password-card { padding: 26px 24px; }
}
@media (max-width: 480px) { .login-area { width: calc(100% - 40px); padding: 28px 26px 20px; } h1 { font-size: 24px; } }
@media (max-width: 360px) { .journey li + li::before { width: 12px; margin: 0 6px; } .visual { padding-left: 24px; padding-right: 24px; } .login-area { padding-left: 22px; padding-right: 22px; } h1 { font-size: 22px; } }
/* Form choreography and immediate interaction feedback. */
.login-panel > .panel-eyebrow { animation: field-enter .55s .20s var(--ease) both; }
.login-panel > h2 { animation: field-enter .55s .27s var(--ease) both; }
.login-panel > .login-description { animation: field-enter .55s .34s var(--ease) both; }
#loginForm > .form-field:first-child { animation: field-enter .55s .41s var(--ease) both; }
#loginForm > .form-field:nth-child(2) { animation: field-enter .55s .48s var(--ease) both; }
#loginBtn { animation: fade-in .55s .55s var(--ease) backwards; }
.login-panel > .login-help { animation: field-enter .5s .62s var(--ease) both; }
.panel-eyebrow > span { transform-origin: left; animation: connect .7s .3s var(--ease) both; }
.input-wrap::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 1px; background: var(--cpq-focus); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); pointer-events: none; }
.input-wrap:focus-within::after { transform: scaleX(1); }
.form-field label { transition: color .2s; }
.form-field:focus-within label { color: var(--cpq-primary); }
.err.show { animation: feedback-in .2s var(--ease) both; }
.motion-toggle svg { animation: feedback-in .2s var(--ease) both; }
@keyframes field-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes feedback-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } .motion-toggle { display: none; } }
