@font-face { font-family: 'Mornamchi'; src: url('../fonts/Mornamchi-Light.woff2') format('woff2'); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: 'Mornamchi'; src: url('../fonts/Mornamchi-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mornamchi'; src: url('../fonts/Mornamchi-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #292929; font: 12px 'Mornamchi', Tahoma, Arial, sans-serif; }
.login-panel { width: 352px; max-width: calc(100% - 32px); margin: 20px auto; border: 1px solid #bdd4ff; border-radius: 8px; overflow: hidden; }
.panel-title { margin: 0; padding: 5px 10px; border-bottom: 1px solid #bad7ff; background: linear-gradient(#edf4ff, #b9d8fb 88%, #d8eaff); color: #152e45; font-size: 12px; line-height: 1.15; font-weight: 700; }
.panel-body { padding: 15px 20px 24px; }
.pin-section { display: grid; grid-template-columns: 47px 1fr; gap: 17px; align-items: start; min-height: 82px; }
.key-picture { display: block; width: 42px; height: 76px; }
.pin-fields { padding-top: 1px; }
.pin-row { display: grid; grid-template-columns: 67px minmax(0, 1fr); gap: 4px; align-items: center; margin-bottom: 7px; }
.pin-row label { font-size: 11px; font-weight: 700; }
input { min-width: 0; width: 100%; height: 22px; padding: 2px 7px; border: 1px solid #8fd4c6; border-radius: 8px; background: #fff; font: 12px 'Mornamchi', Tahoma, Arial, sans-serif; }
input:focus-visible { outline: 2px solid #4b94de; outline-offset: 2px; }
.pin-hint { margin: 0 0 8px 71px; color: #909090; font-size: 10px; line-height: 1.5; }
.pin-button { display: block; min-width: 81px; min-height: 22px; margin-left: 71px; padding: 2px 12px; border: 1px solid #8fd4c6; border-radius: 9px; color: #244d64; background: linear-gradient(#fff, #eceeed); font: 11px 'Mornamchi', Tahoma, Arial, sans-serif; cursor: pointer; }
.pin-button:hover { background: #e7f5f0; }
.google-section { width: 204px; max-width: 100%; margin: 13px 0 0 65px; }
.google-section h2 { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #60666b; }
.google-description { margin: 0 0 9px; color: #8b8f94; font-size: 11px; line-height: 1.6; }
.google-button { width: 100%; min-height: 38px; display: flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid #dadce0; border-radius: 8px; background: #fff; color: #3c4043; font: 12px Arial, sans-serif; box-shadow: 0 1px 3px #00000013; cursor: pointer; }
.google-button:hover { background: #f8faff; border-color: #bdcce1; }
.google-button img { width: 16px; height: 16px; }
button:focus-visible, a:focus-visible { outline: 2px solid #4285f4; outline-offset: 3px; }
.domain-note { margin: 11px 0 6px; color: #9a9da2; font-size: 10px; line-height: 1.6; white-space: normal; }
.account-note { margin: 13px 0 0; color: #999; text-align: center; font-size: 10px; line-height: 1.6; }
.account-note a, .registration-link { color: #386ba0; }
.alert { padding: 8px 10px; margin-bottom: 12px; border: 1px solid; border-radius: 5px; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.alert.error { color: #9c2834; border-color: #f0c2c8; background: #fff5f5; }
.alert.success { color: #286449; border-color: #b7dcc9; background: #f1fff7; }
.registration-form .field { margin-bottom: 10px; }
.expanded-panel { width: 390px; }
.registration-form input { height: 31px; }
.form-note { margin: 10px 0; color: #747c85; font-size: 11px; line-height: 1.8; }
.primary-account-button { width: 100%; padding: 8px 10px; border: 1px solid #8fd4c6; border-radius: 8px; background: #f0faf7; color: #24574c; font: 12px 'Mornamchi', Tahoma, Arial, sans-serif; cursor: pointer; }
.primary-account-button:hover { background: #dff3ec; }
.account-links { display: flex; gap: 18px; justify-content: flex-end; margin: 11px 0 8px; font-size: 11px; }
.account-links a { color: #477aab; text-underline-offset: 3px; }
.pin-row { grid-template-columns: 48px minmax(0, 1fr); }
.pin-fields .pin-button { margin-left: 52px; }
.registration-form label { display: block; margin-bottom: 4px; }
.registration-form .pin-button { margin: 14px auto 0; }
.registration-link { display: block; text-align: center; margin-top: 12px; }
@media (max-width: 370px) {
  .panel-body { padding: 15px 12px 20px; }
  .pin-section { grid-template-columns: 38px 1fr; gap: 10px; }
  .key-picture { width: 36px; }
  .google-section { margin-left: 48px; width: calc(100% - 48px); }
}
/* Faculty identity shared by sign-in, registration and password recovery. */
body { min-height: 100vh; display: flex; flex-direction: column; background: #f8f7f5; color: #343239; font-family: 'Mornamchi', Tahoma, Arial, sans-serif; }
.site-header { background: #fff; border-top: 5px solid #781329; border-bottom: 1px solid #e9e4e1; }
.header-inner, .footer-inner { max-width: 1120px; margin: 0 auto; padding: 19px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faculty-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #4e2932; }
.faculty-brand img { object-fit: contain; background: #781329; border-radius: 8px; }
.faculty-brand strong { display: block; font-size: 16px; line-height: 1.7; }
.faculty-brand small { display: block; color: #82747a; font-size: 11px; line-height: 1.8; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a { color: #70636b; text-decoration: none; font-size: 12px; }
.header-nav a:hover { color: #781329; }
.header-nav .header-signup { border: 1px solid #e1cdd1; border-radius: 6px; padding: 9px 15px; color: #781329; }
.auth-page { width: 100%; max-width: 1120px; margin: auto; padding: 55px 36px 60px; display: grid; grid-template-columns: 1fr 390px; align-items: center; gap: 68px; flex: 1; }
.system-intro { padding: 8px 0; }
.system-eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 700 10px Arial, sans-serif; letter-spacing: 2.4px; color: #8b5c68; }
.system-eyebrow span { width: 22px; height: 2px; background: #bb9c55; }
.system-intro h1 { margin: 20px 0 17px; color: #571729; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.45; letter-spacing: -.8px; }
.system-summary { margin: 0; color: #80777c; font-size: 13px; line-height: 2; }
.system-features { margin: 28px 0 24px; display: grid; gap: 17px; }
.system-features > div { display: flex; gap: 14px; align-items: flex-start; }
.feature-number { flex: 0 0 31px; height: 31px; display: grid; place-items: center; border: 1px solid #e8dcde; border-radius: 8px; color: #967280; background: #fff; font: 11px Arial, sans-serif; }
.system-features p { margin: 0; }
.system-features strong { display: block; font-size: 12px; color: #5f5058; line-height: 1.6; }
.system-features small { display: block; color: #94878e; font-size: 11px; line-height: 1.9; }
.personnel-tag { margin: 0; padding-left: 45px; color: #a3969b; font-size: 10px; }
.auth-form-area { position: relative; }
.login-panel { width: 100%; max-width: 100%; margin: 0; border: 1px solid #e5dadd; border-radius: 12px; background: #fff; box-shadow: 0 14px 42px #56253409; }
.panel-title { padding: 17px 24px; border-bottom: 1px solid #eee6e8; background: linear-gradient(120deg, #fbf6f7, #fff); color: #682338; font-size: 14px; line-height: 1.6; }
.panel-body { padding: 24px 26px 27px; }
.pin-section { grid-template-columns: 38px 1fr; gap: 17px; min-height: 107px; }
.key-picture { width: 34px; height: 78px; margin-top: 2px; }
.pin-row { grid-template-columns: 52px minmax(0, 1fr); margin-bottom: 10px; gap: 6px; }
.pin-row label { color: #6e626a; font-size: 11px; }
input { height: 30px; border-color: #d9d7dc; border-radius: 6px; padding: 4px 8px; font-size: 11px; }
input:focus-visible { outline-color: #b56f83; }
.pin-fields .pin-button { margin-left: 58px; min-height: 30px; padding: 5px 18px; border: 1px solid #781329; background: #781329; color: #fff; border-radius: 6px; }
.pin-button:hover { background: #5a1227; }
.account-links { gap: 18px; margin: 15px 0 22px; }
.account-links a, .registration-link { color: #955368; }
.google-section { width: 100%; max-width: 100%; margin: 0; padding: 20px 0 0; border-top: 1px solid #eee8eb; text-align: center; }
.google-section h2 { font-size: 13px; color: #665b63; }
.google-description { color: #a1979e; margin: 4px 0 13px; font-size: 10px; }
.google-button { min-height: 41px; border-radius: 6px; font-size: 12px; box-shadow: none; }
.domain-note { color: #aaa0a7; margin: 12px 0 0; font-size: 10px; }
.registration-form .field { margin-bottom: 13px; }
.registration-form label { color: #6d5e67; font-size: 11px; }
.registration-form input { height: 34px; }
.primary-account-button { background: #781329; border-color: #781329; color: #fff; min-height: 39px; }
.primary-account-button:hover { background: #5a1227; }
.form-note { font-size: 10px; color: #94858d; line-height: 1.9; }
.site-footer { border-top: 1px solid #e8e1e3; background: #f1eeec; }
.footer-inner { padding-top: 20px; padding-bottom: 22px; }
.footer-inner p { margin: 0; font-size: 10px; line-height: 1.9; color: #94868f; }
.footer-inner strong { font-weight: 400; color: #72606b; }
.footer-inner span { display: block; }
.footer-meta { text-align: right; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px; background: #fff; color: #781329; z-index: 5; }
.skip-link:focus { top: 8px; }
@media (max-width: 900px) {
  .auth-page { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding-left: 28px; padding-right: 28px; }
  .system-intro h1 { font-size: 29px; }
  .desktop-break { display: none; }
}
@media (max-width: 720px) {
  .header-inner { padding: 14px 20px; gap: 10px; }
  .faculty-brand { gap: 9px; }
  .faculty-brand img { width: 45px; height: 43px; }
  .faculty-brand strong { font-size: 13px; }
  .faculty-brand small { font-size: 9px; }
  .header-nav { gap: 10px; }
  .header-nav > a:first-child { display: none; }
  .header-nav .header-signup { font-size: 10px; padding: 7px 9px; }
  .auth-page { grid-template-columns: 1fr; max-width: 480px; gap: 24px; padding: 30px 20px 36px; }
  .system-intro { text-align: center; padding: 0; }
  .system-intro h1 { font-size: 28px; margin: 14px 0 11px; line-height: 1.5; }
  .system-intro h1 br { display: none; }
  .system-summary { font-size: 11px; }
  .system-features, .personnel-tag { display: none; }
  .panel-body { padding: 23px 21px; }
  .pin-section { gap: 12px; }
  .google-section { margin: 0; width: 100%; }
  .footer-inner { flex-direction: column; gap: 10px; padding: 18px 20px; text-align: center; }
  .footer-meta { text-align: center; }
}
