#auth-overlay{z-index:1000;background:#20292359;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.auth-dialog{--auth-ink: #202923;--auth-green: #43836f;--auth-line: #dde2de;z-index:1001;color:var(--auth-ink);font-family:Georgia,"Noto Serif SC",Songti SC,SimSun,serif;letter-spacing:0}.auth-dialog .auth-panel{width:100%;max-width:420px;max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid var(--auth-line);border-radius:6px;background:#fff;box-shadow:0 16px 48px #20292324;overscroll-behavior:contain}.auth-dialog .auth-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--auth-line)}.auth-dialog h2{margin:0;font-size:22px;line-height:1.4;font-weight:600}.auth-dialog button,.auth-dialog input{font-family:inherit;letter-spacing:0}.auth-dialog .auth-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;flex-shrink:0;border:0;border-radius:4px;background:transparent;color:#727a75}.auth-dialog .auth-close:hover{background:#edf3ef;color:var(--auth-green)}.auth-dialog .auth-close span{font-size:22px}.auth-dialog .auth-content{padding:20px 22px 22px}.auth-dialog .auth-field+.auth-field{margin-top:16px}.auth-dialog label{display:block;margin-bottom:7px;font-size:14px;font-weight:600}.auth-dialog input{display:block;width:100%;min-width:0;height:44px;padding:9px 12px;border:1px solid #cdd6ce;border-radius:4px;background:#fbfcfa;color:var(--auth-ink);font-size:16px;font-weight:400;line-height:1.5;box-shadow:none}.auth-dialog input::-moz-placeholder{color:#858e87;font-size:14px}.auth-dialog input::placeholder{color:#858e87;font-size:14px}.auth-dialog input:focus{border-color:var(--auth-green);outline:2px solid rgb(67 131 111 / 18%);outline-offset:1px;box-shadow:none;background:#fff}.auth-dialog .auth-error{min-height:20px;margin:12px 0;color:#ae655b;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.auth-dialog .auth-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.auth-dialog .auth-submit{min-width:112px;min-height:42px;padding:8px 24px;border:1px solid var(--auth-green);border-radius:4px;background:var(--auth-green);color:#fff;font-size:15px;font-weight:600}.auth-dialog .auth-submit:hover:not(:disabled){background:#356d5b}.auth-dialog .auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-dialog .auth-switch{min-height:42px;padding:8px 0 8px 12px;border:0;background:transparent;color:var(--auth-green);font-size:14px}.auth-dialog .auth-switch:hover{text-decoration:underline;text-underline-offset:4px}.auth-dialog button:focus-visible{outline:2px solid var(--auth-green);outline-offset:3px}@media (max-width: 480px){.auth-dialog .auth-heading{padding:14px 18px}.auth-dialog .auth-content{padding:18px}.auth-dialog h2{font-size:20px}}.book-management-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #dde2de;border-radius:6px;background:#fff;color:#202923;font-family:Georgia,"Noto Serif SC",Songti SC,SimSun,serif;letter-spacing:0;box-shadow:0 12px 40px #2029231a}.book-management-dialog::backdrop{background:#20292359;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.book-management-dialog[open],.book-action-dialog form{display:flex;flex-direction:column}.book-action-dialog form{min-height:0;max-height:calc(100dvh - 34px)}.book-manager-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid #dde2de;flex-shrink:0}.book-manager-header h2{margin:0;font-size:22px;font-weight:600}.book-dialog-close{width:32px;height:32px;flex-shrink:0;color:#727a75;display:grid;place-items:center}.book-dialog-close .material-symbols-outlined{font-size:22px}.book-manager-body{padding:20px 22px;overflow-y:auto;min-height:0}.book-manager-body p{font-size:15px;line-height:1.7;overflow-wrap:anywhere}.book-manager-body [data-message]{margin-bottom:16px}.book-manager-body label:not(.book-word-row){display:block;margin-bottom:8px;font-size:14px}.book-manager-body input:not([type=checkbox]){width:100%;height:44px;border:1px solid #cbd4cd;border-radius:4px;background:#fff;color:#202923;font:inherit;font-size:16px;padding:8px 12px}.book-management-dialog :is(button,input):focus-visible{outline:2px solid #43836f;outline-offset:3px}.book-management-dialog button{cursor:pointer;font-family:inherit}.book-management-dialog button:disabled{cursor:not-allowed;opacity:.5}.book-manager-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding:14px 22px;border-top:1px solid #dde2de;background:#f7f8f5;flex-shrink:0}.book-manager-footer [data-selected]{margin-right:auto;font-size:14px;color:#727a75}.book-dialog-primary,.book-dialog-secondary{min-width:112px;min-height:42px;padding:8px 16px;border:1px solid #43836f;border-radius:4px;font-size:15px;line-height:1.5;background:#43836f;color:#fff}.book-dialog-secondary{border-color:#dde2de;background:#fff;color:#53655c}.book-dialog-danger{background:#ae655b;border-color:#ae655b}.book-manager-body .book-dialog-error{margin:12px 0 0;color:#ae655b;font-size:14px}.book-dialog-error:empty{display:none}.book-word-list{margin-top:12px}.book-word-row{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 0;border-bottom:1px solid #edf0ed;font-size:16px;overflow-wrap:anywhere}.book-word-row input{width:16px;height:16px;flex-shrink:0;accent-color:#43836f}.book-word-row span{min-width:0}.book-manager-empty{padding:16px 0;color:#727a75}@media (max-width: 480px){.book-manager-header,.book-manager-footer{padding:14px 16px}.book-manager-body{padding:16px}}
