/* Small, scoped additions; the existing login and console layout are untouched. */
.xm-consent{color:#243345;font:inherit;font-size:13px;line-height:1.65;min-width:0;margin:2px 0 0}
.xm-consent-notice{padding:13px 15px;border:1px solid #e5d9bb;border-radius:12px;background:#fcfaf5}
.xm-consent-kicker{display:block;color:#947025;font-size:11px;font-weight:650;letter-spacing:.07em;margin-bottom:4px}
.xm-consent-notice strong{display:block;font-size:13px;color:#473b25;font-weight:650}
.xm-consent-notice p{margin:5px 0 0;color:#776c57;font-size:12px;line-height:1.7}
.xm-consent-check{display:flex;align-items:flex-start;gap:9px;cursor:pointer;margin:14px 0 0;color:inherit;line-height:1.7;font-size:12px}
.xm-consent-check input{appearance:auto!important;width:16px!important;height:16px!important;min-width:16px;margin:3px 0 0;accent-color:#258ac2;cursor:pointer;border-radius:3px}
.xm-consent-check input:focus-visible{outline:2px solid #258ac2;outline-offset:3px}
.xm-consent-read{display:block;margin:7px 0 0 25px;padding:3px 0;border:0;background:transparent;color:#147cac;font-size:12px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.xm-consent-read:hover{color:#07577d}
.xm-consent-error{color:#bc3030;font-size:12px;margin:8px 0 0;line-height:1.6}
.xm-consent-error[hidden]{display:none}
.xm-policy-dialog{width:min(720px,calc(100vw - 28px));max-width:720px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dfe5eb;border-radius:18px;background:#fff;color:#263442;box-shadow:0 24px 90px #15273933;overflow:hidden;margin:auto;font-family:inherit}
.xm-policy-dialog[open]{display:flex;flex-direction:column}
.xm-policy-dialog::backdrop{background:#14273d66;backdrop-filter:blur(3px)}
.xm-policy-dialog-head{display:flex;justify-content:space-between;gap:16px;padding:23px 28px 18px;border-bottom:1px solid #e8edf1;flex-shrink:0}
.xm-policy-eyebrow{font-size:11px;font-weight:600;letter-spacing:.08em;color:#7d8b99;margin:0 0 7px}
.xm-policy-dialog h2{font-size:23px;line-height:1.4;font-weight:650;margin:0;color:inherit}
.xm-policy-meta{font-size:12px;color:#7d8b99;margin:6px 0 0}
.xm-policy-close{border:1px solid #e6ebef;border-radius:50%;background:#f7f9fb;width:32px;height:32px;flex-shrink:0;color:#5b6874;font-size:23px;line-height:1;cursor:pointer}
.xm-policy-dialog-body{padding:20px 28px 26px;overflow-y:auto;overscroll-behavior:contain;min-height:0;line-height:1.9;font-size:13px}
.xm-policy-intro{border-left:3px solid #c6a05d;padding:12px 16px;background:#fcfaf5;color:#6a5739;border-radius:0 8px 8px 0;margin:0 0 24px;line-height:1.85}
.xm-policy-dialog-body section+section,.xm-policy-page section+section{margin-top:25px;padding-top:20px;border-top:1px solid #e9edf1}
.xm-policy-dialog-body h3,.xm-policy-page h2{font-size:15px;color:#253c52;margin:0 0 10px;font-weight:650}
.xm-policy-dialog-body p{margin:0 0 10px}
.xm-policy-dialog-body section:first-of-type{background:#f5f9fc;border-radius:10px;padding:15px}
.xm-policy-dialog-foot{display:flex;justify-content:space-between;align-items:center;padding:14px 28px;border-top:1px solid #e8edf1;gap:12px;flex-shrink:0;background:#fff}
.xm-policy-dialog-foot a{font-size:12px;color:#157dac;text-decoration:underline;text-underline-offset:4px}
.xm-policy-done{background:#258ac2;border:0;color:#fff;border-radius:8px;padding:9px 17px;font-size:13px;font-weight:600;cursor:pointer}
.xm-policy-close:focus-visible,.xm-policy-done:focus-visible,.xm-consent-read:focus-visible{outline:2px solid #258ac2;outline-offset:3px}
.xm-policy-page{margin:0 auto;max-width:800px;padding:42px 24px 64px;line-height:1.9;color:#314150;font-family:ui-sans-serif,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;background:#fff}
.xm-policy-page h1{font-size:32px;line-height:1.4;letter-spacing:-.02em;color:#24394c;margin:28px 0 10px}
.xm-policy-page a{color:#147cac;text-underline-offset:4px}.xm-policy-page header{margin-bottom:28px}.xm-policy-page nav{font-size:13px}.xm-policy-page footer{padding-top:26px;margin-top:30px;border-top:1px solid #e9edf1;font-size:12px;color:#71808e}
.dark .xm-consent{color:#d5dfe8}.dark .xm-consent-notice{background:#29271f;border-color:#554c33}.dark .xm-consent-notice strong{color:#ecd9b0}.dark .xm-consent-notice p{color:#c2b99f}.dark .xm-consent-kicker{color:#d4b36d}.dark .xm-consent-read{color:#75c5e9}
.dark .xm-policy-dialog{background:#18222d;color:#d6e0e9;border-color:#394653}.dark .xm-policy-dialog-head,.dark .xm-policy-dialog-foot,.dark .xm-policy-dialog-body section+section{border-color:#364451}.dark .xm-policy-dialog-foot{background:#18222d}.dark .xm-policy-dialog-body h3{color:#d6e0e9}.dark .xm-policy-dialog-body section:first-of-type{background:#202f3c}.dark .xm-policy-intro{background:#29271f;color:#ddcfb0}.dark .xm-policy-close{background:#233340;color:#c6d5df;border-color:#3d4d58}
@media(max-width:480px){.xm-policy-dialog-head{padding:18px}.xm-policy-dialog h2{font-size:20px}.xm-policy-dialog-body{padding:17px 18px}.xm-policy-dialog-foot{padding:13px 18px}.xm-policy-page{padding:25px 18px 45px}.xm-policy-page h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.xm-consent *,.xm-policy-dialog *{scroll-behavior:auto!important}}

.xm-policy-dialog-body>.xm-consent-notice,.xm-policy-page main>.xm-consent-notice{margin-bottom:18px}
