:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --line: #dedfdf;
  --text: #23282f;
  --muted: #62666d;
  --brand: #ce2632;
  --danger: #a1252c;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--paper); color: var(--text); font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }

.page-art { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, #fff 0%, rgba(255,255,255,.42) 60%, transparent 100%); }
.page-art svg { width: 100%; height: 100%; color: #d5d5d0; opacity: .4; }
.page-shell { width: min(1290px, 88vw); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 92px; padding: 24px 0; }
.brand-lockup { display: flex; min-width: 0; align-items: center; gap: 20px; }
.brand-artwork { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.brand-mark, .brand-wordmark { position: relative; overflow: hidden; display: block; }
.brand-mark { width: 44px; height: 40px; }
.brand-mark img { position: absolute; width: 121px; max-width: none; height: auto; left: -38.7px; top: -12.9px; }
.brand-wordmark { width: 96px; height: 26px; }
.brand-wordmark img { position: absolute; width: 144px; max-width: none; height: auto; left: -24px; top: -62.9px; }
.brand-divider { height: 24px; width: 1px; background: #bfc0c2; }
.brand-lockup h1 { margin: 0; font-size: clamp(17px, 1.55vw, 23px); font-weight: 650; line-height: 1.45; letter-spacing: .02em; }
.language-switch { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; }
.language-switch button { min-width: 34px; min-height: 36px; border: 0; padding: 4px 0; background: transparent; color: var(--muted); cursor: pointer; }
.language-switch button + button { position: relative; }
.language-switch button + button::before { content: ""; position: absolute; left: -7px; top: 10px; height: 16px; width: 1px; background: #c9c9c9; }
.language-switch button.active { color: var(--brand); font-weight: 700; }

.login-shell { margin-top: clamp(12px, 3.6vh, 36px); }
.login-panel { display: grid; grid-template-columns: minmax(0, 41.3fr) minmax(0, 58.7fr); min-height: min(746px, calc(100svh - 180px)); border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 18px 50px rgba(39,43,48,.045), 0 2px 6px rgba(39,43,48,.015); overflow: hidden; }
.sign-in { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(30px, 3.8vw, 60px); }
.role-label { margin: 0 0 18px; color: #5d6269; font-size: 16px; line-height: 1.5; }
.role-label::before { display: block; content: ""; width: 38px; height: 3px; margin-bottom: 13px; background: var(--brand); }
form { width: 100%; margin: 0; }
.form-heading h2 { margin: 0; font-size: clamp(32px, 3.1vw, 46px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.form-heading p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.form-fields { margin-top: 42px; }
.field { display: block; margin-top: 24px; }
.field:first-child { margin-top: 0; }
.field > span { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.field input { display: block; width: 100%; height: 54px; padding: 0 15px; border: 1px solid #d7d9dc; border-radius: 7px; outline: none; background: #fff; color: var(--text); font-size: 16px; box-shadow: 0 1px 2px rgba(30,40,50,.02); }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(206,38,50,.08); }
.field input::placeholder { color: #737981; opacity: 1; }
.password-input { position: relative; }
.password-input input { padding-right: 62px; }
.password-input button { position: absolute; top: 1px; right: 1px; height: 52px; min-width: 58px; padding: 0 12px; border: 0; border-radius: 0 6px 6px 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.password-input button:hover { color: var(--brand); background: #faf8f6; }
.error-message { margin-top: 16px; padding: 10px 12px; border-left: 3px solid var(--brand); border-radius: 0 5px 5px 0; background: #fbecee; color: var(--danger); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 56px; margin-top: 32px; padding: 12px 18px; border: 1px solid var(--brand); border-radius: 7px; background: var(--brand); color: #fff; cursor: pointer; font-size: 18px; font-weight: 600; box-shadow: 0 4px 12px rgba(206,38,50,.09); }
.submit-button > svg { flex: 0 0 auto; width: 24px; height: 24px; }
.submit-button:hover { background: #b91e2b; border-color: #b91e2b; box-shadow: 0 5px 16px rgba(206,38,50,.15); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.service-status { display: flex; align-items: flex-start; gap: 7px; margin: 23px 0 0; color: #62666d; font-size: 11px; line-height: 1.6; }
.status-dot { flex: 0 0 auto; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: #999d9d; }

.value-overview { padding: 34px clamp(28px, 4.4vw, 64px); border-left: 1px solid #e5e4e1; background: linear-gradient(140deg, #f6f5f2 0%, #f8f7f5 100%); }
.overview-eyebrow { margin: 0 0 7px; color: #94969b; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .19em; }
.overview-name { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
.overview-name::after { display: block; content: ""; width: 24px; height: 2px; margin-top: 13px; background: var(--brand); }
.value-headline { position: relative; margin: 21px 0 0; padding-left: 23px; font-size: clamp(30px, 3.12vw, 46px); font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.value-headline::before { content: ""; position: absolute; top: .12em; bottom: .12em; left: 0; width: 4px; border-radius: 2px; background: var(--brand); }
.value-headline span { display: block; }
.overview-description { margin: 15px 0 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.75; text-wrap: pretty; }
.value-section-title { margin: 18px 0 11px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.value-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.value-card { grid-column: span 2; min-width: 0; padding: 13px 16px 15px; border: 1px solid #e6e6e4; border-radius: 10px; background: rgba(255,255,255,.93); box-shadow: 0 2px 3px rgba(35,40,47,.015); }
.value-card:nth-child(n+4) { grid-column: span 3; }
.value-number { display: block; margin-bottom: 6px; color: #535963; font-size: 13px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.value-icon { display: block; width: 40px; height: 40px; margin: 0 0 8px; color: var(--brand); fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.value-card h4 { margin: 0 0 5px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.value-card p span { display: block; }
.value-card:nth-child(n+4) .value-icon { width: 35px; height: 35px; margin-bottom: 7px; }
.page-footer { padding: 27px 0; text-align: center; color: #747880; font-size: 11px; line-height: 1.8; letter-spacing: .2em; }

html[lang="en"] .brand-lockup h1 { font-size: clamp(15px, 1.35vw, 20px); letter-spacing: 0; }
html[lang="en"] .value-headline { font-size: clamp(27px, 2.45vw, 36px); line-height: 1.35; }
html[lang="en"] .overview-description { font-size: 15px; line-height: 1.65; }
html[lang="en"] .value-card h4 { font-size: 14px; }
html[lang="en"] .value-card p { font-size: 12px; line-height: 1.6; }
html[lang="en"] .page-footer { letter-spacing: .06em; }

@media (min-width: 901px) and (max-height: 820px) {
  .site-header { min-height: 76px; padding: 18px 0; }
  .login-shell { margin-top: 18px; }
  .login-panel { min-height: calc(100svh - 156px); }
  .sign-in { padding-top: 32px; padding-bottom: 32px; }
  .role-label { margin-bottom: 12px; font-size: 14px; }
  .form-heading h2 { font-size: 38px; }
  .form-heading p { margin-top: 12px; font-size: 14px; line-height: 1.75; }
  .form-fields { margin-top: 30px; }
  .field { margin-top: 20px; }
  .field input { height: 50px; }
  .password-input button { height: 48px; }
  .submit-button { min-height: 52px; margin-top: 26px; font-size: 17px; }
  .service-status { margin-top: 18px; }
  .value-overview { padding-top: 25px; padding-bottom: 25px; }
  .overview-name { font-size: 16px; }
  .overview-name::after { margin-top: 9px; }
  .value-headline { margin-top: 15px; font-size: 36px; line-height: 1.35; }
  .overview-description { margin-top: 12px; font-size: 16px; line-height: 1.65; }
  .value-section-title { margin: 14px 0 9px; }
  .value-card { padding: 11px 13px 12px; }
  .value-number { margin-bottom: 4px; font-size: 12px; }
  .value-icon { width: 34px; height: 34px; margin-bottom: 6px; }
  .value-card:nth-child(n+4) .value-icon { width: 30px; height: 30px; margin-bottom: 5px; }
  .value-card h4 { font-size: 15px; }
  .value-card p { font-size: 12px; line-height: 1.6; }
  .page-footer { padding: 21px 0; }
  html[lang="en"] .value-headline { font-size: 28px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .page-shell { width: calc(100% - 64px); }
  .sign-in, .value-overview { padding-left: 30px; padding-right: 30px; }
  .value-headline { font-size: 32px; }
  .value-card { padding-left: 12px; padding-right: 12px; }
  .value-card h4 { font-size: 15px; }
}

@media (max-width: 900px) {
  .page-shell { width: min(680px, calc(100% - 48px)); }
  .site-header { align-items: center; min-height: 90px; gap: 16px; padding: 22px 0; }
  .brand-lockup { gap: 12px; }
  .brand-lockup h1 { font-size: 17px; }
  .brand-wordmark { display: none; }
  .login-shell { margin-top: 12px; }
  .login-panel { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .sign-in { padding: 38px 44px 34px; }
  .form-heading h2 { font-size: 38px; }
  .form-fields { margin-top: 30px; }
  .value-overview { padding: 32px 36px 36px; border-left: 0; border-top: 1px solid #e5e4e1; }
  .value-headline { font-size: 35px; }
  .overview-description { max-width: 440px; font-size: 16px; }
  .value-card h4 { font-size: 16px; }
}

@media (max-width: 520px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { min-height: 84px; gap: 10px; padding: 18px 2px; }
  .brand-lockup { gap: 9px; }
  .brand-artwork { width: 30px; height: 30px; }
  .brand-mark { transform: scale(.73); transform-origin: left center; flex-shrink: 0; }
  .brand-divider { display: none; }
  .brand-lockup h1 { max-width: 190px; font-size: 15px; font-weight: 650; line-height: 1.5; letter-spacing: 0; }
  .language-switch { gap: 8px; }
  .language-switch button { min-width: 28px; font-size: 12px; }
  .language-switch button + button::before { left: -5px; }
  .login-shell { margin-top: 0; }
  .login-panel { border-radius: 13px; }
  .sign-in { padding: 31px 25px 28px; }
  .role-label { margin-bottom: 15px; font-size: 14px; }
  .role-label::before { width: 31px; margin-bottom: 11px; }
  .form-heading h2 { font-size: 34px; }
  .form-heading p { margin-top: 12px; font-size: 14px; line-height: 1.8; }
  .form-fields { margin-top: 28px; }
  .field { margin-top: 22px; }
  .field > span { margin-bottom: 8px; font-size: 13px; }
  .field input { height: 50px; }
  .password-input button { height: 48px; }
  .submit-button { min-height: 52px; margin-top: 27px; font-size: 17px; }
  .service-status { margin-top: 20px; font-size: 10px; }
  .value-overview { padding: 30px 25px; }
  .overview-eyebrow { font-size: 9px; }
  .overview-name { font-size: 16px; }
  .value-headline { margin-top: 18px; padding-left: 16px; font-size: 29px; }
  .value-headline::before { width: 3px; }
  .overview-description { margin-top: 15px; font-size: 14px; line-height: 1.85; }
  .value-section-title { margin-top: 21px; font-size: 13px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .value-card, .value-card:nth-child(n+4) { grid-column: span 1; padding: 13px 12px; }
  .value-card:last-child { grid-column: 1 / -1; }
  .value-icon, .value-card:nth-child(n+4) .value-icon { width: 33px; height: 33px; margin-bottom: 8px; }
  .value-card h4 { font-size: 15px; }
  .value-card p { font-size: 12px; line-height: 1.7; }
  .page-footer { padding: 22px 5px 28px; font-size: 10px; letter-spacing: .08em; }
  html[lang="en"] .brand-lockup h1 { font-size: 12px; }
  html[lang="en"] .value-headline { font-size: 26px; }
  html[lang="en"] .value-card h4 { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  button, input { transition: none; }
}
:root{--registration-accent:#c52632}
.register-switch{display:block;margin:20px auto 0;border:0;background:transparent;color:var(--registration-accent);font:inherit;font-size:14px;cursor:pointer;padding:8px}
.register-form{display:grid;gap:17px}.register-form[hidden],#login-form[hidden],.register-switch[hidden],.language-switch[hidden]{display:none!important}
.register-form h2{margin:0;font-size:30px;color:#20242a}.register-note{font-size:13px;color:#75787e;line-height:1.8;margin:0}.register-form .field{margin:0}.register-form .field>span{margin-bottom:7px}.register-form .field input{min-height:46px;height:46px}.register-form .submit-button{margin-top:0}.register-form .register-switch{margin-top:0}
.register-form select{display:block;width:100%;height:46px;margin-top:7px;border:1px solid #d7d9dc;border-radius:7px;background:#fff;color:#23282f;padding:0 15px;font:inherit}
