*{box-sizing:border-box}body{margin:0;background:#fbfaf8;color:#292824;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;min-height:100vh;display:grid;place-items:center;padding:28px}main{width:100%;max-width:390px}.home{color:#8d8a84;text-decoration:none;font-size:13px}.home:hover{color:#252421}.hearts{font-size:42px;margin-top:36px}h1{font-size:30px;letter-spacing:-1px;margin:10px 0}.intro{color:#8b8881;margin:0 0 32px}label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}input[type=password]{display:block;width:100%;height:46px;background:white;border:1px solid #dedbd5;border-radius:7px;padding:10px 12px;font-size:17px}input:focus{outline:2px solid #dad0bd;outline-offset:2px}.error{color:#b33743;font-size:13px;min-height:20px;margin:10px 0}button{width:100%;border:0;border-radius:7px;color:white;background:#343f38;padding:12px;font-size:15px;cursor:pointer}button:hover{background:#243028}.foot{text-align:center;color:#aaa59c;font-size:12px;margin-top:24px}
:root{color-scheme:light}
.login-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px}
#theme-toggle{width:auto;flex-shrink:0;padding:5px 8px;font-size:12px;color:#827c70;background:transparent;border-radius:4px}
#theme-toggle:hover{color:#37352f;background:#eeece6}
a:focus-visible,button:focus-visible{outline:2px solid #b5a583;outline-offset:3px}
input[type=password]{font:inherit;font-size:17px;color:inherit}
:root[data-theme="dark"]{color-scheme:dark;background:#191a1c}
:root[data-theme="dark"] body{background:#191a1c;color:#e6e1d8}
:root[data-theme="dark"] .home,:root[data-theme="dark"] .intro,:root[data-theme="dark"] .foot{color:#aaa69e}
:root[data-theme="dark"] .home:hover{color:#e6e1d8}
:root[data-theme="dark"] #theme-toggle{background:transparent;color:#c3baa9}
:root[data-theme="dark"] #theme-toggle:hover{background:#30302d;color:#eee3d0}
:root[data-theme="dark"] input[type=password]{background:#222427;border-color:#565148;color:#e6e1d8}
:root[data-theme="dark"] input:focus{outline-color:#c7b38f}
:root[data-theme="dark"] .error{color:#efa79b}
:root[data-theme="dark"] form button{background:#d0c0a4;color:#242320}
:root[data-theme="dark"] form button:hover{background:#e0d0b3}
:root[data-theme="dark"] a:focus-visible,:root[data-theme="dark"] button:focus-visible{outline-color:#a9c5dd}
:root[data-theme="dark"] ::selection{background:#665a43;color:#fff5df}
