@font-face { font-family: Inter; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; --bg: #0c0c0e; --surface: #18181b; --line: #2c2c31; --muted: #a1a1aa; --accent: #a3e635; --text: #f5f5f6; background: var(--bg); color: var(--text); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.layout { width: 100%; max-width: 1120px; margin: auto; padding: 40px 20px 24px; }
.brand-panel { display: none; }
.access-card { max-width: 448px; width: 100%; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 32px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 500; letter-spacing: -.8px; }
.brand-mark { width: 26px; height: 28px; background: var(--accent); clip-path: polygon(50% 0, 100% 86%, 67% 100%, 0 86%); position: relative; }
.brand-mark::after { content: ''; position: absolute; inset: 0; background: #709f25; clip-path: polygon(50% 0, 67% 100%, 100% 86%); }
.intro { margin: 38px 0 32px; }
h1 { font-size: clamp(29px, 6.8vw, 36px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.15; margin: 0 0 12px; }
p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.field { margin-bottom: 22px; }
label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: #e4e4e7; }
input { display: block; width: 100%; min-width: 0; height: 54px; border: 1px solid #35353b; border-radius: 12px; padding: 0 16px; background: #111113; color: var(--text); font-size: 16px; transition: border-color .15s; }
input::placeholder { color: #73737f; }
input:focus { outline: 2px solid #a3e63533; outline-offset: 1px; border-color: var(--accent); }
input[readonly] { color: #b7b7bf; }
.password-field { position: relative; }
.password-field input { padding-right: 86px; }
.reveal { position: absolute; top: 1px; right: 1px; height: 52px; min-width: 75px; background: transparent; border: 0; color: #b7b7bf; font-size: 12px; border-radius: 11px; padding: 0 12px; }
.reveal:hover { color: #fff; }
.field-help { margin-top: 9px; font-size: 12px; }
.primary-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; background: var(--accent); color: #18210c; border: 0; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background .15s; }
.primary-button:hover { background: #b6f353; }
.primary-button:disabled { cursor: wait; opacity: .55; }
.message { font-size: 13px; margin: -4px 0 20px; }
.message:empty { display: none; }
.message.error { color: #fda4af; }
.access-note { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.text-button { padding: 12px 0; color: var(--accent); background: transparent; border: 0; font-size: 13px; }
.page-footer { padding: 22px 24px 26px; display: flex; justify-content: center; gap: 14px; color: #8c8c95; font-size: 11px; }
.page-footer span { color: #73737f; }
.home-layout { margin: auto; padding: 32px 20px; width: 100%; max-width: 850px; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 56px; }
.logout-button { min-height: 44px; padding: 0 18px; background: #18181b; border: 1px solid var(--line); border-radius: 12px; color: #d4d4d8; font-size: 13px; }
.welcome { padding: 36px 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.welcome h1 { margin-bottom: 20px; }
.welcome p + p { margin-top: 8px; }
@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: 1fr 448px; gap: 100px; align-items: center; padding: 72px 32px 40px; }
  .brand-panel { display: flex; flex-direction: column; align-items: flex-start; }
  .brand-display { font-size: 88px; font-weight: 500; line-height: 1; letter-spacing: -6px; margin-top: 30px; }
  .brand-dot { color: var(--accent); }
  .prism-art { position: relative; width: 300px; height: 280px; }
  .prism-art span { position: absolute; inset: 0; clip-path: polygon(48% 0, 100% 81%, 62% 100%, 0 81%); background: #22232a; }
  .prism-art span:nth-child(2) { clip-path: polygon(48% 0, 62% 100%, 100% 81%); background: #30352c; }
  .prism-art span:nth-child(3) { clip-path: polygon(0 81%, 62% 100%, 100% 81%); background: var(--accent); opacity: .8; }
  .access-card { padding: 40px 36px; }
}
@media (max-width: 360px) { .layout { padding-inline: 12px; } .access-card { padding: 28px 20px; border-radius: 24px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
