.display-toggle{margin-inline:8px;border:1px solid currentColor;border-radius:9px;min-width:36px;min-height:36px;background:transparent;color:inherit;font-weight:700;cursor:pointer;flex-shrink:0}
.display-panel{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #cbd5e1;border-radius:18px;padding:24px;background:#fff;color:#182235;box-sizing:border-box;box-shadow:0 24px 80px #0006}
.display-panel::backdrop{background:#0007}.display-panel header,.display-panel footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.display-panel p{font-size:14px!important;line-height:1.6}.display-panel label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-block:20px;font-weight:600}.display-panel input[type=range]{width:100%;accent-color:#6d28d9}.display-panel button{padding:8px 14px;border:1px solid #94a3b8;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.display-panel footer button:last-child{background:#6d28d9;color:#fff;border-color:#6d28d9}
html.dark .display-panel,body.dark-mode .display-panel{background:#202938;color:#f1f5f9;border-color:#475569}
html.display-preferences-active body p,html.display-preferences-active body td,html.display-preferences-active body .setting-help,html.display-preferences-active body .setting-label,html.display-preferences-active body .ant-form-item-label label,html.display-preferences-active body .ant-input,html.display-preferences-active body .ant-select-selection-item{font-size:var(--display-text-size,14px);line-height:1.55}
html.display-preferences-active body .ant-menu-title-content,html.display-preferences-active body .sidebar a,html.display-preferences-active body .sidebar .nav-link,html.display-preferences-active body .pc-nav-link,html.display-preferences-active body .nav-item-label{font-size:var(--display-menu-size,14px);line-height:1.5}
html.display-custom-text body p,html.display-custom-text body td,html.display-custom-text .setting-label,html.display-custom-text .ant-form-item-label label{color:var(--display-text)!important}
html.display-custom-menu .sider,html.display-custom-menu .sider .ant-menu,html.display-custom-menu .sidebar,html.display-custom-menu .pc-nav{background:var(--display-menu-bg)!important;color:var(--display-menu-ink)!important}
html.display-custom-menu .sider .ant-menu-title-content,html.display-custom-menu .sidebar a,html.display-custom-menu .pc-nav-link{color:var(--display-menu-ink)!important}
.display-panel *, .display-toggle{font-size:14px}.display-panel input[type=color]{width:52px;height:34px}.display-panel input:focus-visible,.display-panel button:focus-visible,.display-toggle:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}

html.display-custom-menu .sider .ant-menu-item-selected,html.display-custom-menu .sidebar .nav-link.active{background:var(--display-menu-bg)!important;border-inline-start:3px solid currentColor;color:var(--display-menu-ink)!important;font-weight:700}

html.display-custom-weight body p,html.display-custom-weight body td,html.display-custom-weight .setting-label,html.display-custom-weight .ant-form-item-label label,html.display-custom-weight .ant-menu-title-content,html.display-custom-weight .sidebar a,html.display-custom-weight .pc-nav-link{font-weight:var(--display-weight)}
