@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/airobotictka/static/fonts/noto-sans-thai-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/airobotictka/static/fonts/noto-sans-thai-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/airobotictka/static/fonts/noto-sans-thai-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  font-family: "Noto Sans Thai", "Thonburi", Tahoma, -apple-system, "Segoe UI", sans-serif;
  color: #203c34;
  background: #f6f5f0;
  font-synthesis: none;
  --ink: #203c34;
  --muted: #5c7065;
  --green-950: #123e34;
  --green-800: #064c3e;
  --gold: #ad873b;
  --line: #dde3dc;
  --focus: #006b51;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; background: white; color: var(--green-800); padding: 12px 16px; border: 2px solid var(--gold); border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.app-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 10px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-logo { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.brand-name { margin: 0; color: var(--green-800); font: 500 26px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.brand-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--green-800); font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; flex-shrink: 0; }
.back-link:hover { border-bottom-color: var(--gold); }
.login-layout { min-height: calc(100svh - 101px); max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 80px; padding: 48px 40px; }
.login-intro { min-width: 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0; color: #806021; margin: 0 0 10px; }
h1 { color: var(--green-950); font-size: clamp(29px, 3vw, 40px); line-height: 1.5; letter-spacing: 0; font-weight: 600; margin: 0 0 20px; text-wrap: balance; }
h2 { color: var(--green-950); font-size: 26px; font-weight: 600; margin: 0 0 10px; }
.description { font-size: 16px; color: var(--muted); line-height: 1.9; margin: 0; max-width: 42ch; }
.intro-line { height: 2px; width: 64px; background: var(--gold); margin-top: 32px; }
.login-panel { min-width: 0; border-left: 1px solid var(--line); padding: 28px 0 28px 48px; }
.muted { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 28px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.password-row { display: flex; border: 1px solid var(--line); background: white; border-radius: 8px; overflow: hidden; }
.password-row:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.password-row input { min-width: 0; flex: 1; background: transparent; border: 0; padding: 13px 12px; font-size: 17px; min-height: 50px; outline: 0; color: var(--ink); }
.password-row input:focus-visible { outline: 0; }
.password-row button { border: 0; border-left: 1px solid var(--line); background: white; padding: 9px 14px; color: var(--green-800); min-width: 60px; min-height: 48px; font-size: 13px; font-weight: 600; }
#login-submit { margin-top: 18px; width: 100%; border: 0; border-radius: 8px; background: var(--green-800); color: white; padding: 14px; font-size: 15px; font-weight: 600; min-height: 50px; }
#login-submit:hover:not(:disabled) { background: var(--green-950); }
button:disabled { opacity: .5; cursor: default; }
.status { font-size: 12px; line-height: 1.7; color: var(--muted); min-height: 22px; margin: 12px 0; }
.error { font-size: 13px; line-height: 1.7; background: #fcf1ef; color: #a63c34; border-left: 3px solid #a63c34; padding: 10px 12px; overflow-wrap: anywhere; }
.privacy-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 28px; }
@media (max-width: 900px) {
  .header-inner { padding-right: 28px; padding-left: 28px; }
  .login-layout { padding: 40px 28px; gap: 32px; }
  h1 { font-size: 34px; }
  .login-panel { padding-left: 28px; }
}
@media (max-width: 720px) {
  .header-inner { gap: 12px; padding: 10px 20px; }
  .brand { gap: 8px; }
  .brand-logo { width: 64px; height: 64px; }
  .brand-name { font-size: 23px; }
  .brand-subtitle { font-size: 12px; margin-top: 4px; }
}
@media (max-width: 650px) {
  .header-inner { flex-wrap: wrap; }
  .back-link { margin-left: auto; }
  .login-layout { display: block; min-height: auto; padding: 32px 20px; max-width: 480px; }
  h1 { font-size: 29px; margin-bottom: 16px; }
  .description { font-size: 14px; }
  .intro-line { margin: 24px 0; }
  .login-panel { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  h2 { font-size: 24px; }
  .muted { margin-bottom: 22px; }
  .privacy-note { margin-top: 24px; }
}
