/* 网页版共用（登录入口 index.html、电脑版 dashboard、手机管理端、员工端）：登录页 + 按权限隐藏 */
.lg-page{margin:0;min-height:100vh;background:#f6f7f9;display:flex;align-items:center;justify-content:center;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Sans","PingFang SC","Noto Sans JP",sans-serif}
.lg-card{width:400px;background:#fff;border:1px solid #e3e6ea;border-radius:14px;padding:32px 30px;display:flex;flex-direction:column}
.lg-card[hidden]{display:none}   /* 登录 / 忘记密码 / 设新密码 三张表单同页，只显示一张 */
.lg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.lg-logo{height:30px;width:auto;display:block}
.lg-sub{font-size:13px;color:#888;margin-top:2px}
#lg-lang{height:28px;border:1px solid #d6dae0;border-radius:8px;background:#fff;font-size:12px;color:#555;padding:0 6px;font-family:inherit}
.lg-card label{font-size:13.5px;color:#666;margin-bottom:5px}
.lg-card input{height:44px;border:1px solid #d6dae0;border-radius:8px;padding:0 12px;font-size:16px;margin-bottom:16px;font-family:inherit}
.lg-card input:focus{outline:none;border-color:#3F7ACB}
.lg-err{font-size:13px;color:#c0392b;min-height:17px;margin:-6px 0 8px}
.lg-pw-wrap{position:relative;margin-bottom:16px}
.lg-pw-wrap input{width:100%;box-sizing:border-box;margin-bottom:0;padding-right:40px}
#lg-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:none;background:none;color:#888;cursor:pointer;padding:6px;display:flex}
#lg-eye:hover{color:#3F7ACB}
#lg-eye .lg-eye-off{display:none}
#lg-eye.on .lg-eye-off{display:inline}
#lg-btn{height:46px;border:none;border-radius:8px;background:#3F7ACB;color:#fff;font-size:16px;font-weight:500;cursor:pointer;font-family:inherit}
.lg-co-known{font-size:13.5px;color:#666;margin:-6px 0 14px}.lg-co-known a{color:#3F7ACB}
#lg-co-row{display:flex;flex-direction:column}#lg-co-row[hidden]{display:none}
.lg-hint{font-size:13px;color:#999;margin:-6px 0 16px}
#lg-btn:disabled{opacity:.7;cursor:default}
.lg-foot{font-size:13px;color:#999;text-align:center;margin-top:16px}.lg-foot a{color:#3F7ACB}
.lg-op{font-size:11px;color:#a0a7b4;text-align:center;margin-top:14px}.lg-op a{color:inherit}
.lg-or{display:flex;align-items:center;gap:10px;color:#aaa;font-size:12px;margin:16px 0 12px}.lg-or::before,.lg-or::after{content:"";flex:1;height:1px;background:#e3e6ea}
.lg-gbtn{height:46px;border:1px solid #d6dae0;border-radius:8px;background:#fff;color:#333;font-size:16px;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.lg-gbtn:hover{background:#f6f7f9}
.lg-ok{background:#EAF3DE;color:#27500A;border-radius:8px;padding:10px 12px;font-size:13.5px;line-height:1.5;margin-bottom:14px}
#fg-btn,#rs-btn{height:46px;border:none;border-radius:8px;background:#3F7ACB;color:#fff;font-size:16px;font-weight:500;cursor:pointer;font-family:inherit}#fg-btn:disabled,#rs-btn:disabled{opacity:.7}
.no-home [data-perm~="home"],.no-sched [data-perm~="sched"],.no-props [data-perm~="props"],.no-staff [data-perm~="staff"],.no-supplies [data-perm~="supplies"],.no-month [data-perm~="month"],.no-settings_master [data-perm~="settings_master"],.no-settings_other [data-perm~="settings_other"],.no-bill [data-perm~="bill"],.no-task_pay [data-perm~="task_pay"],.no-payroll [data-perm~="payroll"],.no-staff_private [data-perm~="staff_private"],.no-manage_props [data-perm~="manage_props"],.no-manage_staff [data-perm~="manage_staff"],.not-owner .owner-only{display:none!important}
@media (max-width:760px){ .lg-card{width:calc(100vw - 32px);max-width:400px;box-sizing:border-box} }

/* 员工端：初始 PIN 标注（排单列表上方） */
.web-pw-bar{margin:8px 10px 0;background:#fdf8ec;border:1px solid #f0dfb0;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:10px;font-size:13px;color:#8a5a0b;line-height:1.4}
.web-pw-bar>div{flex:1;min-width:0}.web-pw-bar .sub{font-size:11.5px;color:#a07a33;margin-top:2px}
.web-pw-bar button{flex-shrink:0;border:none;background:#3F7ACB;color:#fff;border-radius:8px;padding:8px 12px;font-size:13px;font-family:inherit;cursor:pointer}
