:root { color-scheme: light; font: 16px var(--r360-font); }
* { box-sizing: border-box; }
body.account-page { min-height: 100vh; margin: 0; padding: 36px clamp(22px, 4vw, 64px) 24px; background:
  radial-gradient(circle at 13% 5%, rgba(184, 229, 255, .5), transparent 30rem),
  radial-gradient(circle at 88% 90%, rgba(190, 221, 255, .4), transparent 32rem), #f8fbff;
  color: var(--r360-ink-700); font-family: var(--r360-font); }
body.account-page::before { position: fixed; inset: 0; pointer-events: none; opacity: .2;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px; content: ""; }
.account-topbar { position: relative; z-index: 1; display: flex; width: min(100%, 1440px); margin: 0 auto 28px;
  align-items: center; justify-content: space-between; gap: 24px; }
.account-brand { display: flex; align-items: center; gap: 18px; }
.account-brand img { display: block; width: clamp(180px, 17vw, 238px); height: auto; filter: drop-shadow(0 8px 18px rgba(8,119,225,.16)); }
.account-brand span { padding: 9px 18px; border-radius: 999px; background: #eaf4ff; color: #0877e1; font-weight: 750; }
.account-shell { position: relative; z-index: 1; display: grid; width: min(100%, 1440px); min-height: 720px; margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: clamp(48px, 7vw, 104px); padding: clamp(46px, 5vw, 74px);
  border: 1px solid #d8e7f4; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 24px 70px rgba(35,74,115,.13); }
.account-content { min-width: 0; max-width: 590px; align-self: center; }
.account-content h1 { margin: 0 0 48px; color: #071b3d; font-size: clamp(34px, 3.3vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.mode-heading { margin-bottom: 30px; }
.mode-heading h2 { margin: 0 0 10px; color: #092145; font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -.035em; }
.mode-heading p { margin: 0; color: #7585a0; font-size: 17px; line-height: 1.6; }
form { display: grid; gap: 20px; }
label { display: grid; gap: 9px; color: #122a4d; font-weight: 750; }
input { width: 100%; min-height: 58px; padding: 0 16px; border: 1px solid #c8d7e6; border-radius: 10px; outline: none;
  background: #fff; color: #0c2346; font: inherit; transition: border-color 160ms, box-shadow 160ms; }
input:focus { border-color: #118ce5; box-shadow: 0 0 0 4px rgba(17,140,229,.12); }
input::placeholder { color: #a8b3c2; }
.input-shell { position: relative; display: block; }
.input-shell > svg { position: absolute; z-index: 1; top: 50%; left: 18px; width: 24px; height: 24px; transform: translateY(-50%);
  fill: none; stroke: #70829e; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; pointer-events: none; }
.input-shell input { padding-left: 58px; padding-right: 52px; }
.password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 42px; height: 42px; padding: 0; transform: translateY(-50%);
  place-items: center; border: 0; border-radius: 9px; background: transparent; color: #70829e; box-shadow: none; cursor: pointer; }
.password-toggle:hover { background: #edf6ff; }
.password-toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
button { font: inherit; }
.primary-action { min-height: 60px; padding: 0 24px; border: 0; border-radius: 10px; background: linear-gradient(135deg,#138eea,#075fe4);
  color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 12px 24px rgba(8,110,225,.22); cursor: pointer; }
.primary-action:hover { filter: brightness(.98); transform: translateY(-1px); }
.primary-action:disabled { opacity: .6; cursor: wait; transform: none; }
.text-action { justify-self: center; padding: 5px 2px; border: 0; background: transparent; color: #0877e1; font-weight: 750; cursor: pointer; }
.forgot-action { justify-self: end; margin-top: -12px; }
.back-action { margin-top: 2px; }
.login-consents { display: grid; gap: 10px; margin-top: -2px; }
.consent-option { display: flex; align-items: flex-start; gap: 10px; color: #52647c; font-size: 13px; font-weight: 500; line-height: 1.55; }
.consent-option input { all: revert; box-sizing: border-box; width: 17px; height: 17px; min-width: 17px; min-height: 17px;
  margin: 2px 0 0; accent-color: #0877e1; }
.consent-option input:focus-visible { outline: 2px solid #0877e1; outline-offset: 2px; }
.consent-option a { color: #0877e1; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.account-divider { display: flex; align-items: center; gap: 14px; color: #8190a6; }
.account-divider::before,.account-divider::after { height: 1px; flex: 1; background: #dbe5ef; content: ""; }
small { color: #6e7e94; font-weight: 450; line-height: 1.5; }
.workspace-list { display: grid; gap: 12px; }
.workspace-option { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid #c8d7e6; border-radius: 10px;
  background: #fff; color: #0c2346; text-align: left; cursor: pointer; transition: border-color 160ms, box-shadow 160ms; }
.workspace-option:hover { border-color: #118ce5; box-shadow: 0 0 0 4px rgba(17,140,229,.12); }
.workspace-option:disabled { opacity: .6; cursor: wait; }
.workspace-portal { font-size: 17px; font-weight: 750; }
.workspace-label { color: #7585a0; font-size: 14px; }
#message { min-height: 24px; margin: 18px 0 0; line-height: 1.5; }
#message.error { color: #b42318; } #message.success { color: #067647; }
.support-line { display: flex; margin: 22px 0 0; align-items: center; justify-content: center; gap: 8px; color: #7585a0; font-size: 14px; }
.support-line > span:first-child { color: #56718f; }
.support-line a { min-width: 0; color: #0877e1; font-weight: 750; overflow-wrap: anywhere; text-decoration: none; }
.account-visual { display: grid; min-width: 0; min-height: 590px; align-content: center; justify-items: center; padding: 44px;
  overflow: hidden; border-radius: 36px; background: radial-gradient(circle at 50% 32%, #fff 0 12%, transparent 42%), linear-gradient(145deg,#f5faff,#e6f2ff);
  text-align: center; }
.visual-orbit { display: grid; width: min(78%, 360px); aspect-ratio: 1; margin-bottom: 24px; place-items: center; border: 5px solid rgba(255,255,255,.82);
  border-radius: 50%; box-shadow: inset 0 0 70px rgba(28,137,230,.06), 0 30px 70px rgba(20,105,190,.13); }
.visual-orbit img { width: 66%; height: 66%; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(8,89,169,.22)); }
.account-visual h2 { margin: 0 0 14px; color: #08204a; font-size: 27px; letter-spacing: .03em; }
.account-visual p { max-width: 440px; margin: 0; color: #74849a; font-size: 16px; line-height: 1.7; }
.account-footer { position: relative; z-index: 1; display: flex; margin: 28px auto 0; justify-content: center; gap: 8px; color: #74849a; font-size: 14px; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
  body.account-page { padding: 24px 18px; }
  .account-shell { grid-template-columns: 1fr; min-height: 0; padding: 40px; }
  .account-content { max-width: none; }
  .account-visual { min-height: 420px; }
  .visual-orbit { width: min(300px, 72%); }
}
@media (max-width: 560px) {
  body.account-page { padding-inline: 14px; }
  .account-topbar { margin-bottom: 18px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .account-brand { align-items: flex-start; flex-direction: column; gap: 9px; }
  .account-brand img { width: 176px; }
  .account-brand span { padding: 5px 11px; font-size: 12px; }
  .account-shell { gap: 34px; padding: 30px 18px; border-radius: 18px; }
  .account-content, form, label, .input-shell, input, button { min-width: 0; max-width: 100%; }
  .account-content h1 { margin-bottom: 34px; font-size: 32px; }
  .account-visual { min-height: 340px; padding: 28px 20px; border-radius: 24px; }
  .visual-orbit { width: 210px; margin-bottom: 18px; }
  .account-visual h2 { font-size: 22px; }
  .support-line { align-items: flex-start; flex-wrap: wrap; }
}
