/* Device management only; calendar/auth rules are narrowly scoped additions. */
.fc-login-page .fc-remember-row{margin-top:18px}
.fc-login-page .fc-remember-row label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:15px}
.fc-login-page .fc-remember-row input{flex:0 0 auto;width:19px;height:19px;margin:0;accent-color:#285e72}
.fc-login-page .fc-remember-row p{margin:2px 0 0 29px;font-size:13px;color:#606b76}
.fc-login-page .fc-device-notice{padding:12px 14px;border-left:3px solid #285e72;background:#edf3f5;font-size:14px;margin:0 0 20px;overflow-wrap:anywhere}
.fc-calendar-page .account-logout{margin:0;padding:0}
.fc-calendar-page .account-popover .account-logout button{width:100%;text-align:left;border:0;border-radius:0;background:transparent;font:inherit;color:inherit;cursor:pointer;padding:10px 12px;min-height:44px}
.fc-calendar-page .account-popover .account-logout button:hover{background:#edf3f5}
body.fc-devices-page{margin:0;min-height:100vh;min-height:100dvh;background:#f6f7f8;color:#252c34;font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color-scheme:light;-webkit-font-smoothing:antialiased}
.fc-devices-page *{box-sizing:border-box;min-width:0}
.fc-devices-page a{color:#285e72;text-underline-offset:3px}
.fc-devices-page button,.fc-devices-page input{font:inherit}
.fc-devices-page :focus-visible{outline:2px solid #285e72;outline-offset:3px}
.fc-devices-page .fd-header{margin:0 28px;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e0e4e8;padding:12px 0}
.fc-devices-page .fd-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:650;text-decoration:none;color:#252c34}
.fc-devices-page .fd-brand svg{width:26px;height:26px;color:#285e72;flex:0 0 auto}
.fc-devices-page .fd-back{display:flex;align-items:center;min-height:44px;text-decoration:none;white-space:nowrap}
.fc-devices-page .fd-main{width:100%;max-width:792px;margin:0 auto;padding:40px 28px 56px;padding-bottom:max(56px,env(safe-area-inset-bottom))}
.fc-devices-page h1{margin:0 0 8px;font-size:26px;font-weight:650;line-height:1.35;letter-spacing:-.4px}
.fc-devices-page h2{font-size:17px;font-weight:600;margin:0}
.fc-devices-page h3{font-size:17px;font-weight:600;margin:0;overflow-wrap:anywhere}
.fc-devices-page p{margin:0}
.fc-devices-page .fd-title p{color:#606b76}
.fc-devices-page .fd-intro{color:#606b76;font-size:14px;margin:14px 0 28px}
.fc-devices-page .fd-message{background:#edf3f5;border-left:3px solid #285e72;padding:12px 14px;margin:0 0 20px;overflow-wrap:anywhere}
.fc-devices-page .fd-error{background:#fff6f5;border-color:#a13d37;color:#943a32}
.fc-devices-page .fd-list-heading{display:flex;align-items:center;justify-content:space-between;padding:0 0 12px;border-bottom:1px solid #ccd3d9}
.fc-devices-page .fd-list-heading>span{font-size:14px;color:#606b76}
.fc-devices-page .fd-device{padding:22px 0;border-bottom:1px solid #e0e4e8}
.fc-devices-page .fd-device-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.fc-devices-page .fd-device-head p{font-size:13px;color:#606b76;margin-top:3px}
.fc-devices-page .fd-current{display:inline-block;font-size:12px;line-height:1.5;font-weight:500;color:#285e72;background:#e4eef2;border-radius:3px;padding:1px 6px;vertical-align:middle;margin-left:10px}
.fc-devices-page .fd-mode{font-size:13px;color:#606b76;white-space:nowrap;margin-top:2px}
.fc-devices-page .fd-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin:14px 0 8px}
.fc-devices-page dt{font-size:13px;color:#606b76;margin-bottom:2px}
.fc-devices-page dd{margin:0;font-size:14px;font-variant-numeric:tabular-nums}
.fc-devices-page summary{color:#285e72;min-height:44px;padding:10px 0;cursor:pointer;width:fit-content;max-width:100%}
.fc-devices-page .fd-action-content{border-left:2px solid #dce3e8;padding:12px 0 4px 16px;margin-top:2px}
.fc-devices-page label{display:block;font-size:14px;margin-bottom:7px}
.fc-devices-page input:not([type=hidden]){display:block;width:100%;max-width:100%;min-inline-size:0;min-height:48px;font-size:16px;line-height:1.5;background:#fff;color:#252c34;border:1px solid #828e98;border-radius:5px;padding:10px 12px;appearance:none;-webkit-appearance:none}
.fc-devices-page .fd-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:9px 14px;border:1px solid #828e98;border-radius:5px;background:#fff;color:#285e72;text-decoration:none;font-size:14px;font-weight:500;cursor:pointer;text-align:center;white-space:normal}
.fc-devices-page .fd-button:hover{background:#edf3f5}
.fc-devices-page .fd-button:disabled{opacity:.6;cursor:wait}
.fc-devices-page .fd-primary{background:#285e72;color:#fff;border-color:#285e72}
.fc-devices-page .fd-primary:hover{background:#204d5e}
.fc-devices-page .fd-danger{color:#943a32;border-color:#c58d87}
.fc-devices-page .fd-danger:hover{background:#fff6f5}
.fc-devices-page .fd-rename{display:flex;align-items:flex-end;gap:12px;margin:0}
.fc-devices-page .fd-rename>div{flex:1}
.fc-devices-page .fd-rename>.fd-button{min-height:48px;flex:0 0 auto}
.fc-devices-page .fd-setting{margin-top:22px;padding-top:18px;border-top:1px solid #e0e4e8}
.fc-devices-page .fd-setting p{font-size:14px;color:#606b76;margin-bottom:12px}
.fc-devices-page .fd-setting>.fd-button{margin-top:12px}
.fc-devices-page .fd-setting input,.fc-devices-page .fd-bulk-form input{max-width:360px}
.fc-devices-page .fd-bulk{padding-top:32px}
.fc-devices-page .fd-bulk>p{font-size:14px;color:#606b76;margin:7px 0 4px}
.fc-devices-page .fd-bulk-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.fc-devices-page .fd-footer{padding-top:30px;color:#606b76;font-size:13px}
.fc-devices-page .fd-footer p+p{margin-top:8px}
.fc-devices-page .fd-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;font-size:13px}
.fc-devices-page .fd-pager>div{display:flex;gap:10px}
@media(max-width:599px){body.fc-devices-page{background:#fff}.fc-devices-page .fd-header{margin:0 max(20px,env(safe-area-inset-left)) 0 max(20px,env(safe-area-inset-right));padding-top:max(12px,env(safe-area-inset-top));min-height:64px}.fc-devices-page .fd-brand{font-size:17px}.fc-devices-page .fd-main{padding:28px 20px 40px;padding-bottom:max(40px,env(safe-area-inset-bottom))}.fc-devices-page h1{font-size:24px}.fc-devices-page .fd-meta{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.fc-devices-page dd{font-size:13px}.fc-devices-page .fd-device-head{gap:8px}.fc-devices-page .fd-rename{display:block}.fc-devices-page .fd-rename>.fd-button{margin-top:10px}.fc-devices-page .fd-username{display:block}.fc-devices-page .fd-bulk-buttons{display:grid;grid-template-columns:minmax(0,1fr);max-width:360px}.fc-devices-page .fd-pager{flex-wrap:wrap}}
@media(max-width:359px){.fc-devices-page .fd-device-head{display:block}.fc-devices-page .fd-mode{display:block;margin-top:6px}.fc-devices-page .fd-meta{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.fc-devices-page *{scroll-behavior:auto!important;transition:none!important}}
