:root{color-scheme:light;--paper:#f7f6f2;--ink:#4c5148;--gold:#80652f;--line:#dadbd2;--logout:#7b8d80;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-width:280px;min-height:100%;background:var(--paper)}body{color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:hidden}input,button{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}[hidden]{display:none!important}.definitions{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse 370px 360px at 50% 40%,rgba(207,189,135,.07),transparent 75%),radial-gradient(ellipse 850px 600px at -10% -20%,rgba(188,211,196,.1),transparent 75%)}
.scene{position:relative;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;min-height:100svh;padding:48px 28px}.entry{width:320px;max-width:100%;min-height:415px;display:flex;flex-direction:column;align-items:center;gap:43px;margin-top:16px;outline:none}.identity{width:246px;height:246px;flex:none;pointer-events:none}.identity canvas{display:block;width:100%;height:100%}.credentials{width:100%;min-height:126px;display:flex;flex-direction:column;align-items:center;gap:13px;animation:field-appear .55s ease both}.credential-step{width:100%;margin:0}.email-step{width:56px;max-width:100%;transition:width .4s cubic-bezier(.22,.7,.25,1)}.email-step.is-expanded{width:100%}.field{position:relative;width:100%;height:56px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,253,.6);transition:border-color .25s,box-shadow .25s,background .25s}.field:focus-within{border-color:#b6a476;box-shadow:0 0 0 3px rgba(153,124,61,.055);background:rgba(255,255,253,.83)}.field input{display:block;width:100%;height:100%;padding:0 56px 0 19px;border:0;border-radius:14px;background:transparent;outline:0;color:#54594f;font-size:16px;line-height:1.5;letter-spacing:.005em;box-shadow:none}.field input[type=password]{letter-spacing:.16em;font-size:18px}.field input:-webkit-autofill{-webkit-text-fill-color:#54594f;transition:background-color 9999s ease-in-out 0s}.email-open{position:absolute;inset:0;padding:0;width:100%;height:100%;display:grid;place-items:center;background:transparent;border:0;border-radius:13px;color:#869784;transition:color .2s}.email-open svg{width:26px;height:26px}.email-open:hover{color:#5f7e66}.email-open:focus-visible{outline:1px solid #a68c51;outline-offset:3px}.email-step:not(.is-expanded) .email-placeholder{display:none}.placeholder-symbol{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;color:#a5aa9e;pointer-events:none;transition:opacity .2s}.placeholder-symbol svg{width:22px;height:22px}.field input:not(:placeholder-shown)~.placeholder-symbol{opacity:0}.field-submit{position:absolute;right:8px;top:7px;width:40px;height:40px;padding:0;display:grid;place-items:center;color:#8e805a;border:0;border-radius:10px;background:transparent;animation:arrow-appear .25s ease both;transition:color .2s,background .2s}.field-submit:hover{color:#6f5628;background:#eeeadd}.field-submit svg{width:19px;height:19px}.field-submit:focus-visible{outline:2px solid #a78b50;outline-offset:0}.password-step{animation:password-appear .55s cubic-bezier(.2,.65,.3,1) both}.field.is-invalid{border-color:#bd9486;animation:invalid-field .26s ease}.entry.is-leaving{pointer-events:none;animation:entry-leave .65s ease both}.entry.is-leaving .credentials{animation:none;opacity:1}
.logout-button{position:fixed;z-index:5;top:25px;right:29px;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--logout);transition:color .2s}.logout-button svg{display:block;width:20px;height:20px}.logout-button:hover{color:#426853}.logout-button:focus-visible{outline:1px solid #91a28c;outline-offset:2px}.logout-button:active{color:#315441}
.modules{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:43px 38px;width:min(970px,100%);margin:0;padding:0}.module{display:flex;flex-direction:column;align-items:center;gap:19px;width:98px;padding:10px 0;text-decoration:none;background:transparent;border:0;border-radius:0;color:var(--module-color);outline-offset:10px;animation:module-arrive .95s calc(var(--index)*.075s) ease both}.module svg{display:block;width:88px;height:88px;transition:transform .3s,filter .3s}.module span{font-size:12px;font-weight:350;line-height:1.4;letter-spacing:.025em;color:#91958a;transition:color .25s}.module:hover svg{transform:translateY(-5px);filter:saturate(1.13)}.module:hover span{color:#676e60}.module:focus-visible{outline:none}.module:focus-visible span{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;color:#676e60}.module:active svg{transform:translateY(-2px)}
.entry,.credentials,.credential-step,.field,.field input{min-width:0}
@keyframes field-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes arrow-appear{from{opacity:0;transform:translateX(-3px)}to{opacity:1;transform:translateX(0)}}@keyframes password-appear{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes invalid-field{0%,100%{transform:translateX(0)}30%{transform:translateX(-3px)}70%{transform:translateX(3px)}}@keyframes entry-leave{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-7px)}}@keyframes module-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){.scene{padding:40px 28px}.entry{width:300px;min-height:365px;gap:33px;margin-top:18px}.identity{width:210px;height:210px}.field{height:54px}.email-step{width:54px}.field-submit{top:6px}.credentials{min-height:122px;gap:12px}.modules{width:min(360px,100%);gap:37px 28px}.module{width:75px;gap:15px;padding:7px 0}.module svg{width:74px;height:74px}.module span{font-size:11px;letter-spacing:.015em}.logout-button{top:18px;right:18px}}
@media(max-width:340px){.scene{padding:32px 22px}.identity{width:196px;height:196px}.entry{min-height:347px;gap:29px}.modules{gap:34px 23px}.module{width:70px}.module svg{width:68px;height:68px}.module span{font-size:10px}.logout-button{top:14px;right:14px}}
@media(max-height:560px) and (min-width:621px){.scene{padding:25px}.entry{min-height:326px;gap:24px;margin-top:0}.identity{width:180px;height:180px}.credentials{min-height:122px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.identity,.credentials,.module{opacity:1;filter:none;transform:none}.entry.is-leaving{opacity:0}}

.email-step:not(.is-expanded) .field{border-color:transparent;background:transparent;box-shadow:none}.email-placeholder svg{width:26px;height:26px}

/* Real account: messages appear only when needed. */
.login-error{max-width:320px;margin:18px auto 0;color:#a14f46;font:13px/1.5 system-ui,sans-serif;text-align:center;overflow-wrap:anywhere}.login-error[hidden]{display:none}.turnstile{display:grid;place-items:center;max-width:320px;margin:12px auto 0}.turnstile:empty{display:none}.logout-button[disabled]{opacity:.45;cursor:wait}.module.is-pending{pointer-events:none;opacity:.6}.credentials[aria-busy="true"] .field-submit{opacity:.5;pointer-events:none}

.logout-notice{position:fixed;right:24px;top:68px;z-index:6;max-width:260px;padding:14px 18px;border:1px solid #dce5df;border-radius:16px;background:#fbfcfa;color:#4d695e;font:13px/1.5 system-ui,sans-serif;box-shadow:0 8px 28px #314b3d0d}.logout-notice[hidden]{display:none}
