/* KDWatch desktop composition. Shared phone sources own brand, data and controls.
   <=900px uses those sources, with a tablet radar column limit below. */
@media (max-width:900px) {
  html.kd-desktop body.ui4-app #pcRail{display:none!important}
  html.kd-desktop .pc-fund-ratio-head{display:none!important}
}
/* Saved desktop column counts can exceed the space in a narrow window.
   Keep both original gauges readable without changing saved preferences. */
@media (min-width:761px) and (max-width:900px) {
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody:has(>.kdr-radar-card) {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (min-width:901px) {
  html.kd-desktop {
    --pc-rail:176px;
    --pc-pad:24px;
    --pc-header:64px;
    --pc-data-font:"JetBrains Mono","SFMono-Regular",Consolas,monospace;
    --ui4-chrome-nav-h:0px;
    --ui4-chrome-nav-bottom:0px;
  }
  html.kd-desktop,html.kd-desktop body.ui4-app {
    width:100%;height:100dvh!important;min-height:0!important;
    padding:0!important;overflow:hidden!important;
  }
  html.kd-desktop body.ui4-app {
    --ui4-chrome-header-h:var(--pc-header);
    --ui4-chrome-nav-h:0px;--ui4-chrome-nav-bottom:0px;--ui4-safe-area-bottom:0px;
    --ui4-chrome-title-size:20px;--ui4-chrome-title-line:28px;
  }
  html.kd-desktop body.ui4-app #pcRail {
    position:fixed;inset:0 auto 0 0;width:var(--pc-rail);z-index:105;
    display:flex;flex-direction:column;align-items:stretch;gap:16px;
    padding:16px;box-sizing:border-box;visibility:visible!important;
    background:var(--kdt-bg);border-right:1px solid var(--kdt-border);
  }
  /* The source view stack hides unrelated body siblings with this exclusion list.
     Match its specificity only for the newly introduced rail. */
  html.kd-desktop body.ui4-app:is(.ui4-approved-view,.ui4-viewstack)>#pcRail:not(#ui4ApprovedView):not(#ui4ViewStack):not(#ui4MountNotice):not(#ui4ActionNotice):not(#ui4Confirm):not(#quickPriceAlertMenu):not(#quickPriceAlertBackdrop):not(.toast):not(#alertToast):not(#mobileTabbar):not(script):not(style) {
    visibility:visible!important;
  }
  html.kd-desktop .pc-brand {
    display:flex;align-items:center;justify-content:flex-start;gap:10px;
    min-height:32px;padding:0 8px;border:0;background:transparent;
    color:var(--kdt-text);font:inherit;font-size:15px;font-weight:700;line-height:24px;cursor:pointer;
  }
  html.kd-desktop .pc-brand img{display:block;width:32px;height:32px;flex:none}
  html.kd-desktop .pc-brand :is(span,strong){font-size:15px;font-weight:700}
  html.kd-desktop .pc-rail-tools{display:flex;flex-direction:column;gap:4px;margin-top:auto}
  html.kd-desktop .pc-rail-tools button {
    display:flex;align-items:center;justify-content:flex-start;gap:12px;
    width:100%;min-height:44px;padding:0 12px;border:0;border-radius:8px;
    background:transparent;color:var(--kdt-muted);font:inherit;font-size:13px;cursor:pointer;
  }
  html.kd-desktop .pc-rail-tools button[aria-current="page"]{background:var(--kdt-active);color:var(--kdt-primary)}
  html.kd-desktop .pc-rail-tools button:hover{background:var(--kdt-soft);color:var(--kdt-text)}
  html.kd-desktop .pc-rail-tools svg{width:20px;height:20px;flex:none}
  html.kd-desktop body.ui4-app #mobileTabbar.ui4-floating-nav {
    position:fixed!important;left:16px!important;right:auto!important;top:88px!important;bottom:auto!important;
    width:calc(var(--pc-rail) - 32px)!important;max-width:none!important;min-width:0!important;
    height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;
    gap:6px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
    transform:none!important;visibility:visible!important;z-index:110!important;
  }
  html.kd-desktop body.ui4-app #mobileTabbar.ui4-floating-nav .ui4-nav-item {
    flex:none!important;display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;gap:12px!important;
    width:100%!important;height:44px!important;min-height:44px!important;
    padding:0 12px!important;border-radius:8px!important;font-size:14px!important;
  }
  html.kd-desktop body.ui4-app #mobileTabbar .ui4-nav-item :is(svg,span){flex:none}
  html.kd-desktop body.ui4-app #mobileTabbar .ui4-nav-item svg{width:20px!important;height:20px!important}
  html.kd-desktop body.ui4-app #mobileTabbar .ui4-nav-item span{width:auto!important;flex:1 1 auto!important;text-align:left!important;font-size:14px!important;line-height:20px!important}
  /* Default rail slot; desktop.js stores a dragged position in --pc-launch-* so the
     phone drag coordinates (inline left/top) cannot pin it behind the rail logo. */
  html.kd-desktop body.ui4-app #kdAssistantLaunch {
    left:var(--pc-launch-left,24px)!important;top:var(--pc-launch-top,auto)!important;
    right:auto!important;bottom:var(--pc-launch-bottom,132px)!important;
    width:40px!important;height:40px!important;padding:4px!important;visibility:visible!important;z-index:120!important;
  }
  html.kd-desktop body.ui4-app #kdAssistantLaunch.ka-dragging{cursor:grabbing!important}
  /* The rail launcher is 40px, so scale the phone 48px/36px artwork to 30px and keep it centred. */
  html.kd-desktop body.ui4-app #kdAssistantLaunch img{width:30px!important;height:30px!important}
  html.kd-desktop body.ui4-app :is(#ui4ViewStack,#ui4ApprovedView) {
    left:var(--pc-rail)!important;right:0!important;top:0!important;bottom:0!important;
    width:calc(100vw - var(--pc-rail))!important;height:100dvh!important;
    max-width:none!important;transform:none!important;border:0!important;
  }
  html.kd-desktop body.ui4-app #ui4ViewTrack,
  html.kd-desktop .ui4-mounted-scope,
  html.kd-desktop .ui4-mounted-view {
    width:100%!important;height:100%!important;max-width:none!important;min-width:0!important;
  }
  html.kd-desktop .ui4-mounted-view>[data-pencil-id] {
    width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;
  }
  html.kd-desktop .ui4-mounted-view [data-pencil-name*="滚动"],
  html.kd-desktop .ui4-mounted-view [data-pencil-name="我的内容"] {
    min-width:0!important;max-width:none!important;scrollbar-width:thin!important;
  }
  html.kd-desktop .ui4-mounted-view [data-pencil-name*="底部导航"],
  html.kd-desktop .settings-pen-page [data-pencil-name^="底部导航 / "] {
    display:none!important;height:0!important;min-height:0!important;max-height:0!important;
  }
  html.kd-desktop .ui4-mounted-view [data-pencil-name="悬浮胶囊 / 五项导航"]{display:none!important}
  html.kd-desktop body.ui4-app .ui4-main.content {
    left:var(--pc-rail)!important;right:0!important;transform:none!important;
    width:calc(100vw - var(--pc-rail))!important;max-width:none!important;margin:0!important;
  }
  html.kd-desktop body.ui4-app.ui4-approved-view #ui4Main.ui4-main.content{display:none!important}

  /* One quiet chrome height; content density belongs to each workspace. */
  html.kd-desktop .ui4-mounted-view :is([data-pencil-name^="顶部栏 / "],[data-pencil-name="页面顶部栏"],[data-pencil-name="应用顶栏"],.ui4-shared-header),
  html.kd-desktop body.ui4-app .ui4-header.hdr,
  html.kd-desktop .funds-page:not(.fund-popup)>.fund-head,
  html.kd-desktop .push-center>.push-header {
    box-sizing:border-box!important;height:var(--pc-header)!important;
    min-height:var(--pc-header)!important;max-height:var(--pc-header)!important;
    padding:0 var(--pc-pad)!important;flex-shrink:0!important;align-items:center!important;
  }
  html.kd-desktop .ui4-mounted-view :is([data-pencil-name^="顶部栏 / "],.ui4-shared-header) [data-pencil-name*="标题"],
  html.kd-desktop .ui4-header :is(.logo-wordmark,#ui4HeaderRoute),
  html.kd-desktop .fund-head h1,
  html.kd-desktop .push-header h1 {
    font-size:20px!important;line-height:28px!important;font-weight:700!important;letter-spacing:0!important;
  }
  html.kd-desktop :is(.ui4-shared-mark,.fund-brand img){width:28px!important;height:28px!important}
  html.kd-desktop :is(button,a,input,select,textarea):focus-visible {
    outline:2px solid var(--kdt-primary)!important;outline-offset:2px!important;
  }
  html.kd-desktop .kd-bs-menu .kd-bs-option{height:36px!important;min-height:36px!important;font-size:13px!important}
  html.kd-desktop :is(.ui4-action-notice,.ui4-mount-notice){bottom:24px!important}

  /* Signal board: stable name and quote columns plus a compact time axis. */
  html.kd-desktop .sd-scroll{padding:0 var(--pc-pad) 24px!important}
  html.kd-desktop .sd-app{padding:16px 0 24px!important;font-size:13px!important;min-width:0!important}
  html.kd-desktop body.ui4-app .sd-heading h2{font-size:20px!important;line-height:28px!important}
  html.kd-desktop body.ui4-app .sd-asof{font-size:11px!important;white-space:nowrap;margin-left:auto!important}
  html.kd-desktop .pc-heading-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
  html.kd-desktop .pc-signal-refresh{flex:none;min-width:32px;min-height:32px}
  html.kd-desktop .pc-signal-refresh[aria-busy="true"] svg{animation:pc-refresh-spin .9s linear infinite}
  html.kd-desktop .sd-timeline{margin-top:12px!important}
  html.kd-desktop .sd-time-heading{font-size:12px!important}
  html.kd-desktop .sd-time-heading small,html.kd-desktop .sd-window-label{font-size:11px!important}
  html.kd-desktop .sd-time-track{min-height:120px!important;padding-top:12px!important;gap:16px!important}
  html.kd-desktop .sd-time-all{min-width:56px!important;width:56px!important;height:88px!important}
  html.kd-desktop .sd-time-rail{--sd-node-width:var(--pc-time-node,96px)!important;padding-left:0!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-time-node{width:var(--pc-time-node,96px)!important;min-width:var(--pc-time-node,96px)!important;flex-basis:var(--pc-time-node,96px)!important;height:102px!important;gap:0!important}
  html.kd-desktop .sd-time-label{font-size:15px!important;line-height:22px!important}
  html.kd-desktop .sd-time-node[aria-pressed="true"] .sd-time-label{font-size:18px!important}
  html.kd-desktop body.ui4-app .sd-time-date,html.kd-desktop body.ui4-app .sd-time-warnings{font-size:10px!important;line-height:15px!important}
  html.kd-desktop .sd-time-counts{font-size:12px!important;line-height:18px!important}
  html.kd-desktop .sd-time-node:before{top:40px!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-time-scroll{height:auto!important;overflow-y:hidden!important;padding-bottom:6px!important;scrollbar-width:thin!important}
  html.kd-desktop .sd-time-scroll::-webkit-scrollbar{display:block;height:5px}
  html.kd-desktop body.ui4-app .sd-section-heading h3{font-size:15px!important;line-height:22px!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-legend.sd-legend-ma {
    width:100%!important;max-width:850px!important;flex-wrap:wrap!important;justify-content:flex-start!important;
    gap:8px 24px!important;height:auto!important;font-size:12px!important;line-height:20px!important;margin:12px 0!important;
  }
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-legend.sd-legend-ma>span{height:20px!important}
  html.kd-desktop .sd-table-scroll{max-width:100%!important;overflow:auto!important;scrollbar-width:thin!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-price-matrix{width:min(100%,1080px)!important;table-layout:fixed!important;font-size:13px!important}
  html.kd-desktop .sd-matrix :is(th,td){height:52px!important}
  html.kd-desktop .sd-matrix thead th{height:36px!important;font-size:12px!important}
  html.kd-desktop .sd-matrix th:first-child{width:22%!important;min-width:148px!important}
  html.kd-desktop .sd-stock-name{font-size:13px!important;min-height:48px!important;padding:7px 8px 7px 0!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-price-matrix .sd-stock-label{font-size:13px!important;line-height:20px!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-price-matrix .sd-stock-code{font:11px/17px var(--pc-data-font)!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-price-matrix .sd-price-column{width:118px!important;padding-right:12px!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-price-matrix .sd-change-column{width:98px!important;padding-right:12px!important}
  html.kd-desktop body.ui4-app .sd-focus-a1 .sd-price-matrix .sd-price-value {
    font:600 16px/24px var(--pc-data-font)!important;letter-spacing:0!important;min-height:48px!important;
  }
  html.kd-desktop .sd-cell{height:48px!important}
  html.kd-desktop .sd-mark{width:26px!important;height:26px!important}
  html.kd-desktop .sd-footer{font-size:12px!important}
  html.kd-desktop .sd-dialog[open]{max-height:calc(100dvh - 64px)!important}
  html.kd-desktop .sd-detail-actions{position:static!important}
  html.kd-desktop .sd-dialog::backdrop{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
  html.kd-desktop .market-news-strip{font-size:12px!important;padding-block:12px!important}
  html.kd-desktop .market-news-title{font-size:13px!important}

  /* Radar cards keep the approved gauges; density changes through columns. */
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] .ui4-header.hdr {
    left:var(--pc-rail)!important;width:calc(100vw - var(--pc-rail))!important;transform:none!important;max-width:none!important;
  }
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] .ui4-main.content {
    top:var(--pc-header)!important;height:calc(100dvh - var(--pc-header) - var(--radar-batch-space,0px))!important;
    padding:0 var(--pc-pad)!important;
  }
  html.kd-desktop body.ui4-app #kdRadarPage{width:100%!important;max-width:none!important;margin:0!important}
  html.kd-desktop body.ui4-app #kdRadarPage :is(.content-radar-top,.kdr-content){width:100%!important;max-width:none!important;margin:0!important}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-top{min-height:56px!important}
  html.kd-desktop body.ui4-app #kdRadarPage .kdr-tab{min-width:80px!important;min-height:40px!important;font-size:13px!important}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar{min-height:52px!important;gap:12px!important}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar :is(button,select){font-size:13px!important;min-height:36px!important}
  /* Card mode: cards per row. Saved choice 1-5; options wider than the window are unavailable. */
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns {
    display:flex;align-items:center;gap:2px;flex:none;height:36px;padding:0 3px 0 10px;box-sizing:border-box;
    border:1px solid var(--ui4-border,var(--kdt-border));border-radius:7px;background:var(--ui4-surface,var(--kdt-surface));
  }
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns[hidden]{display:none!important}
  html.kd-desktop body.ui4-app #kdRadarPage .pc-radar-columns-label {
    margin-right:4px;color:var(--ui4-muted,var(--kdt-muted));font-size:12px;line-height:18px;white-space:nowrap;
  }
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns button {
    display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px!important;padding:0;
    border:0;border-radius:5px;background:transparent;color:var(--ui4-muted,var(--kdt-muted));
    font:500 13px/1 var(--pc-data-font)!important;cursor:pointer;
  }
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns button:hover{background:var(--ui4-soft,var(--kdt-soft));color:var(--ui4-text,var(--kdt-text))}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns button[aria-pressed="true"]{background:var(--ui4-soft,var(--kdt-soft));color:var(--ui4-primary,var(--kdt-primary));font-weight:700!important}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns button[data-pending="true"]{outline:1px dashed var(--ui4-primary,var(--kdt-primary));outline-offset:-3px}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns button[aria-disabled="true"]{opacity:.38;cursor:not-allowed;background:transparent;color:var(--ui4-muted,var(--kdt-muted))}
  html.kd-desktop body.ui4-app #kdRadarPage .content-radar-toolbar .pc-radar-columns button:focus-visible{outline:2px solid var(--ui4-primary,var(--kdt-primary));outline-offset:1px}
  html.kd-desktop body.ui4-app #kdRadarPage .kdr-table-wrap{padding:8px 0 20px!important;margin:0!important;scrollbar-width:thin!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody:is(.kdr-radar-grid,.kdr-timeline-grid) {
    display:grid!important;grid-template-columns:repeat(var(--pc-radar-columns,3),minmax(0,1fr))!important;
    gap:16px!important;padding:0!important;align-content:start!important;
  }
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-radar-card:not(dialog){width:100%!important;min-width:0!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-scan-head {
    padding:12px 14px!important;min-height:0!important;
  }
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-sym-main{font-size:15px!important;line-height:22px!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-card-price-row .kdr-card-price{font-size:24px!important;line-height:32px!important;letter-spacing:0!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-card-code{font-size:11px!important;line-height:18px!important;letter-spacing:0!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-cycle-grid{padding:12px 8px!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-cycle-gauge{height:auto!important;min-height:0!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-scan-foot{padding:8px 14px!important;min-height:36px!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"] #kdRadarPage #kdrPoolBody .kdr-radar-card .kdr-scan-summary{font-size:12px!important;line-height:18px!important;white-space:normal!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-timeline-card{width:100%!important;min-width:0!important;max-width:none!important}
  html.kd-desktop body.ui4-app[data-ui4-route="radar"].kd-batch-active #kdRadarBatchActions {
    left:var(--pc-rail)!important;right:0!important;bottom:0!important;width:calc(100vw - var(--pc-rail))!important;
    max-width:none!important;transform:none!important;padding-inline:var(--pc-pad)!important;
  }
  /* One quote row aligns every comparable field; labels remain in the real DOM. */
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watchlist {
    --pc-watch-columns:44px minmax(152px,1.2fr) 112px 88px minmax(220px,1fr) 40px;
    overflow-x:auto!important;scrollbar-width:thin!important;
  }
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-caption{font-size:11px!important;line-height:18px!important;padding:8px 0 12px!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody :is(.kdr-watch-head,.kdr-watch-row) {
    display:grid!important;grid-template-columns:var(--pc-watch-columns)!important;
    column-gap:8px!important;min-width:696px!important;align-items:center!important;
  }
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-head{min-height:36px!important;padding:0!important;font-size:12px!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-head>span{grid-column:2}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-head>button:nth-child(2){grid-column:3}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-head>button:nth-child(3){grid-column:4}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-row,
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody:not(.kdr-list-density-compact) .kdr-watch-row {
    min-height:72px!important;height:auto!important;max-height:none!important;padding:8px 0!important;
  }
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody.kdr-list-density-compact .kdr-watch-row{min-height:60px!important;padding:4px 0!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-main{display:contents!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-leading{grid-column:1;height:44px!important;place-items:center!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-name{grid-column:2;min-width:0!important;align-self:center!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-name b{font-size:14px!important;line-height:22px!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-name small{font-size:11px!important;line-height:18px!important;letter-spacing:0!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-price{grid-column:3;height:auto!important;padding:0!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-price .kdr-card-price{font:600 16px/24px var(--pc-data-font)!important;letter-spacing:0!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-change{grid-column:4;align-self:center!important;justify-self:end;min-width:80px!important;font-size:13px!important;letter-spacing:0!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-secondary {
    grid-column:5;display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:center!important;gap:2px!important;height:auto!important;margin:0 0 0 12px!important;
  }
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-cycles{gap:12px!important;flex-wrap:wrap!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-cycle{font-size:12px!important;line-height:20px!important;min-height:24px!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-meta .kdr-ath-badge{font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watch-menu{grid-column:6;position:static!important;inset:auto!important;width:40px!important;height:40px!important}
  html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody dialog#kdrWatchDetail{max-width:480px!important;padding:24px!important;max-height:calc(100dvh - 64px)!important}
  html.kd-desktop .kdr-watch-detail-times{font-size:12px!important;line-height:20px!important}

  /* Funds: overview and analysis use different grids, ranked data stays tabular. */
  html.kd-desktop .funds-page{max-width:none!important;width:100%!important}
  html.kd-desktop .fund-tabs{padding-inline:var(--pc-pad)!important}
  html.kd-desktop .fund-tabs button{flex:0 1 148px!important;font-size:13px!important;min-height:44px!important}
  html.kd-desktop .fund-scroll{padding:16px var(--pc-pad) 24px!important;scrollbar-width:thin!important}
  html.kd-desktop .fund-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px 24px!important}
  html.kd-desktop .fund-controls .fund-search{grid-column:1/-1;max-width:480px}
  html.kd-desktop .fund-overview-strip{grid-template-columns:1fr 1fr!important;gap:16px!important}
  html.kd-desktop .fund-analysis-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr)!important;gap:16px!important;align-items:start}
  html.kd-desktop .fund-analysis-grid>.fund-panel:only-child{grid-column:1/-1}
  html.kd-desktop .fund-detail-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr)!important;gap:16px!important;align-items:start}
  html.kd-desktop .fund-hero{padding:16px!important}
  html.kd-desktop .fund-hero strong{font-size:32px!important;line-height:40px!important;letter-spacing:0!important;margin:12px 0!important}
  html.kd-desktop .fund-index b{font-size:22px!important;line-height:30px!important}
  html.kd-desktop .fund-panel{padding:16px!important}
  html.kd-desktop .fund-title{font-size:14px!important;line-height:22px!important}
  html.kd-desktop .fund-table{width:100%!important;font-size:13px!important}
  html.kd-desktop .fund-table :is(th,td){padding:10px 12px!important;white-space:nowrap}
  html.kd-desktop .fund-update{font-size:12px!important;line-height:20px!important;gap:4px 12px!important;flex-wrap:wrap!important}
  html.kd-desktop .fund-source-times{font-size:11px!important;line-height:18px!important}
  html.kd-desktop .fund-distribution{display:table!important;width:100%!important;table-layout:auto!important;font-size:12px!important}
  html.kd-desktop .fund-distribution thead{display:table-header-group!important}
  html.kd-desktop .fund-distribution tbody{display:table-row-group!important}
  html.kd-desktop .fund-distribution :is(thead,tbody)>tr {
    display:table-row!important;grid-template-columns:none!important;padding:0!important;
  }
  html.kd-desktop .fund-distribution :is(th,td) {
    display:table-cell!important;grid-column:auto!important;grid-row:auto!important;
    padding:8px 4px!important;border-bottom:1px solid var(--fund-line)!important;
    font-size:12px!important;line-height:20px!important;text-align:right!important;white-space:nowrap!important;
  }
  html.kd-desktop .fund-distribution :is(th,td):first-child{text-align:left!important}
  html.kd-desktop .fund-distribution .fund-cell-label{display:none!important}
  html.kd-desktop .fund-distribution-full :is(.fund-flow-in,.fund-flow-out){font-family:var(--fund-data)!important}
  html.kd-desktop .fund-popup{max-width:760px!important}
  html.kd-desktop .fund-popup .fund-scroll{padding:16px!important}
  html.kd-desktop .fund-popup .fund-detail-grid{grid-template-columns:1fr!important}
  html.kd-desktop .fund-ranking-head,
  html.kd-desktop .fund-row-main[data-row] {
    --pc-fund-rank-columns:40px minmax(180px,1fr) minmax(140px,.65fr) minmax(104px,.35fr) 28px;
    display:grid!important;grid-template-columns:var(--pc-fund-rank-columns)!important;
    column-gap:16px!important;align-items:center!important;padding-inline:0!important;
  }
  html.kd-desktop .fund-ranking-head:has(+.fund-row .fund-move small),
  html.kd-desktop .fund-row-main[data-row]:has(.fund-move small) {
    --pc-fund-rank-columns:40px minmax(180px,1fr) minmax(140px,.65fr) minmax(104px,.35fr) minmax(104px,.35fr) 28px;
  }
  html.kd-desktop .fund-ranking-head{min-height:36px!important;padding-block:8px!important;font-size:12px!important;line-height:20px!important}
  html.kd-desktop .fund-ranking-head>span:first-child{grid-column:2!important;text-align:left!important}
  html.kd-desktop .fund-ranking-head>span:nth-child(2){grid-column:3!important}
  html.kd-desktop .fund-ranking-head>span:nth-child(3){display:block!important;grid-column:4!important;text-align:right!important}
  html.kd-desktop .fund-ranking-head>.pc-fund-ratio-head{display:none!important;grid-column:5!important;text-align:right!important}
  html.kd-desktop .fund-ranking-head:has(+.fund-row .fund-move small)>.pc-fund-ratio-head{display:block!important}
  html.kd-desktop .fund-row-main[data-row]{grid-template-rows:auto auto!important;row-gap:0!important;min-height:64px!important;padding-block:10px!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-rank-no{grid-column:1!important;grid-row:1/3!important;align-self:center!important;font-size:12px!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-name{display:flex!important;flex-direction:column!important;gap:2px!important;grid-column:2!important;grid-row:1/3!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-name>b{font-size:14px!important;line-height:22px!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-name>small{font-size:11px!important;line-height:18px!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-primary{grid-column:3!important;grid-row:1/3!important;align-self:center!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-primary>b{font-size:16px!important;line-height:24px!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-move{display:contents!important;font-size:13px!important;line-height:22px!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-move>.pc-fund-change{grid-column:4!important;grid-row:1/3!important;align-self:center!important;text-align:right!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-move>small{grid-column:5!important;grid-row:1/3!important;align-self:center!important;font-size:13px!important;line-height:22px!important;text-align:right!important}
  html.kd-desktop .fund-row-main[data-row]:not(:has(.pc-fund-change))>.fund-move{display:flex!important;flex-direction:column!important;grid-column:4!important;grid-row:1/3!important}
  html.kd-desktop .fund-row-main[data-row]>.fund-open-indicator{display:grid!important;place-items:center!important;grid-column:-2!important;grid-row:1/3!important;color:var(--fund-muted)}
  html.kd-desktop .fund-row-main[data-row][aria-expanded="true"]>.fund-open-indicator svg{transform:rotate(90deg)}
  html.kd-desktop .fund-row-main[data-row]+.fund-details:not([hidden]) {
    display:grid!important;grid-template-columns:minmax(400px,1.3fr) minmax(220px,1fr)!important;
    gap:12px 24px!important;padding:16px!important;align-items:start!important;
  }
  html.kd-desktop .fund-row-main[data-row]+.fund-details>.fund-distribution{grid-column:1!important;grid-row:1/span 3!important}
  html.kd-desktop .fund-row-main[data-row]+.fund-details>.fund-summary-line{grid-column:2!important;margin:0!important;font-size:12px!important;line-height:20px!important}
  html.kd-desktop .fund-row-main[data-row]+.fund-details>.fund-row-links{grid-column:2!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;margin:0!important}
  html.kd-desktop .fund-detail-target:has(.fund-ranking-head){overflow-x:auto!important;scrollbar-width:thin!important}
  @container funds (max-width:720px) {
    html.kd-desktop .fund-ranking-head,
    html.kd-desktop .fund-row-main[data-row]{min-width:620px!important;column-gap:8px!important}
    html.kd-desktop .fund-row-main[data-row]+.fund-details:not([hidden]){grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
    html.kd-desktop .fund-row-main[data-row]+.fund-details>:is(.fund-distribution,.fund-summary-line,.fund-row-links){grid-column:1!important;grid-row:auto!important}
  }

  /* Screener: condition catalogue, result comparison, charts and parameter work. */
  html.kd-desktop body.ui4-app #kdScreener {
    left:var(--pc-rail)!important;right:0!important;top:0!important;bottom:0!important;
    width:calc(100vw - var(--pc-rail))!important;max-width:none!important;height:100dvh!important;
    --ks-view-height:100dvh;--ksx-chart-fixed:500px;
  }
  html.kd-desktop body.ui4-app #kdScreener>:is(.ksc-header,.ksx-head,.ksc-result-head,.ks-head,.ksx-editor-title) {
    box-sizing:border-box!important;height:var(--pc-header)!important;min-height:var(--pc-header)!important;
    max-height:var(--pc-header)!important;width:100%!important;max-width:none!important;
    padding:0 var(--pc-pad)!important;margin:0!important;gap:8px!important;flex-shrink:0!important;
  }
  html.kd-desktop body.ui4-app #kdScreener>:is(.ksc-header,.ksx-head,.ksc-result-head,.ks-head,.ksx-editor-title) :is(h1,#ksChartName) {
    font-size:20px!important;line-height:28px!important;font-weight:700!important;letter-spacing:0!important;min-width:0!important;
  }
  html.kd-desktop body.ui4-app #kdScreener>:is(.ksc-header,.ksx-head,.ks-head)>img{width:28px!important;height:28px!important;flex:none}
  html.kd-desktop body.ui4-app #kdScreener .ks-scroll {
    width:100%!important;max-width:none!important;margin:0!important;min-width:0!important;
    padding:16px var(--pc-pad) 24px!important;scrollbar-width:thin!important;
  }
  html.kd-desktop body.ui4-app #kdScreener .ks-scroll::-webkit-scrollbar{display:block;width:6px}
  html.kd-desktop body.ui4-app #kdScreener :is(.ksc-scroll,.ksx-ai){max-width:1200px!important;margin-inline:auto!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-ai{max-width:900px;padding-top:0!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-prompt textarea{font-size:13px!important;line-height:22px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-tabs{justify-content:flex-start!important;gap:24px!important;margin-top:16px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-tabs button{flex:0 1 128px!important;min-height:44px!important;font-size:13px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 24px!important;padding-top:16px!important;align-items:start}
  html.kd-desktop body.ui4-app #kdScreener .ksc-context{grid-column:1/-1!important;margin:0!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-group{margin:0!important;min-width:0!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-group h2{font-size:14px!important;line-height:22px!important;margin-bottom:8px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-body>.ksc-presets{grid-column:1/-1}
  html.kd-desktop body.ui4-app #kdScreener .ksc-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
  html.kd-desktop body.ui4-app #kdScreener :is(.ksc-selection,.ks-foot,.ksx-select-bar,.ksx-chart-pager) {
    box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;
    padding:12px var(--pc-pad)!important;min-height:64px!important;flex-shrink:0!important;
  }
  html.kd-desktop body.ui4-app #kdScreener .ksc-selection .ksx-primary{flex:0 1 240px!important;margin-left:auto}
  html.kd-desktop body.ui4-app #kdScreener :is(.ksf-setup,.ksx-ai,.ksx-library){max-width:1040px!important;margin-inline:auto!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-rules{margin-top:20px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-actions{margin-top:24px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-aux,
  html.kd-desktop body.ui4-app #kdScreener .ksf-setup:has(.ksf-condition-list) .ksf-aux{margin-top:24px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-collapsed{margin-top:0!important;padding:12px 16px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-summary{padding-block:16px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-summary .ksx-stats{max-width:360px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksf-provenance{font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen .ksx-search-row{height:40px!important;min-height:40px!important;grid-template-columns:minmax(0,1fr) 96px 40px!important;margin-bottom:12px!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen :is(.ksx-row-top,.ksx-list-head) {
    grid-template-columns:minmax(176px,1.3fr) minmax(88px,.7fr) 144px minmax(104px,.7fr) minmax(88px,.6fr)!important;
    gap:12px!important;align-items:center!important;
  }
  html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen .ksx-list-head{min-height:38px!important;height:auto!important;padding:8px 12px!important;font-size:12px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-list{padding:0 12px!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen .ksx-row{height:auto!important;min-height:0!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen .ksx-row-main{padding:12px!important;min-height:76px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-name-line strong{font-size:14px!important;line-height:22px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-identity small{font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-sector{font-size:12px!important;line-height:18px!important;white-space:normal!important;overflow-wrap:anywhere}
  html.kd-desktop body.ui4-app #kdScreener .ksc-result-kd{justify-items:center!important;gap:12px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksc-kd-gauge{width:56px!important;height:40px!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen :is(.ksx-price,.ksx-change){font-size:15px!important;line-height:24px!important;letter-spacing:0!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-tags{position:static!important;justify-content:flex-start!important;max-width:none!important;flex-wrap:wrap!important;gap:4px!important;margin-top:6px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-tag{font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-catalogue-layout{grid-template-columns:144px minmax(0,1fr)!important;gap:20px!important;padding:16px 0!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksb-workspace{grid-template-columns:minmax(0,1fr) 280px!important;gap:24px!important}
  html.kd-desktop body.ui4-app #kdScreener .ksb-sidebar{display:block!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-shade{padding:32px!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-sheet{max-height:calc(100dvh - 64px)!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-sheet-body{scrollbar-width:thin!important}
  html.kd-desktop body.ui4-app #kdScreener .ksx-send-targets{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-kd-settings-screen>.ks-settings-tabs{max-width:900px!important;margin-inline:auto!important}
  html.kd-desktop body.ui4-app #kdScreener .ks-settings-inner{max-width:850px!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-chart-screen .ks-scroll{padding:12px var(--pc-pad)!important;margin-bottom:0!important;max-width:1320px!important;margin-inline:auto!important}
  html.kd-desktop body.ui4-app #kdScreener.ks-chart-screen>:not(.ks-scroll){max-width:none!important}
  html.kd-desktop body.ui4-app #kdScreener svg.ks-plot-price{height:clamp(240px,calc(100dvh - 440px),520px)!important}
  html.kd-desktop body.ui4-app #kdScreener svg.ks-plot-kdj{height:100px!important}

  /* Narrative pages and forms use bounded line lengths. */
  html.kd-desktop .settings-center,html.kd-desktop .settings-pen-page{height:100%!important}
  html.kd-desktop .settings-pen-page [data-pencil-name^="内容 / "] {
    width:100%!important;max-width:960px!important;min-width:0!important;margin-inline:auto!important;
    padding-inline:var(--pc-pad)!important;scrollbar-width:thin!important;
  }
  html.kd-desktop .settings-pen-page [data-pencil-name$=" / 设置行"]{min-height:56px!important;height:auto!important;font-size:13px!important;padding-block:12px!important}
  html.kd-desktop .settings-pen-page [data-pencil-name$=" / 当前值"] {
    width:auto!important;min-width:0!important;max-width:55%!important;
    white-space:normal!important;overflow-wrap:anywhere!important;line-height:20px!important;
  }
  html.kd-desktop .settings-ai-item [data-pencil-name$=" / 当前值"]{max-width:65%!important}
  html.kd-desktop .settings-ai-description [data-pencil-name="规则内容 / 输入框"]{height:auto!important;min-height:126px!important;align-items:flex-start!important}
  html.kd-desktop .settings-pen-page [data-pencil-name="保存操作区"]{height:64px!important;min-height:64px!important;padding-inline:var(--pc-pad)!important}
  html.kd-desktop .ui4-mounted-view[data-approved-view="l4BKu4"] [data-pencil-name="我的内容"]{width:100%!important;max-width:1040px!important;margin-inline:auto!important;padding-inline:var(--pc-pad)!important}
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Bmfr3"],[data-approved-view="EiZ0V"],[data-approved-view="qc9eC"]) [data-pencil-name="资讯阅读区"] {
    width:100%!important;max-width:1080px!important;margin-inline:auto!important;padding-inline:var(--pc-pad)!important;
  }
  html.kd-desktop .ui4-mounted-view[data-approved-view="qc9eC"] [data-pencil-name="资讯阅读区"]{max-width:880px!important}
  html.kd-desktop [data-pencil-name^="新闻条目 / "]{padding:12px 0!important}
  html.kd-desktop body.ui4-app .product-news-list{width:100%!important;min-width:0!important}
  html.kd-desktop body.ui4-app .product-news-row{min-height:80px!important;padding:16px 0!important}
  html.kd-desktop body.ui4-app .product-news-row [data-pencil-name^="新闻标题"]{font-size:15px!important;line-height:24px!important}
  html.kd-desktop body.ui4-app .product-news-detail {
    max-width:880px!important;font-size:14px!important;line-height:1.85!important;
    white-space:pre-wrap!important;overflow-wrap:anywhere!important;
  }
  html.kd-desktop body.ui4-app .product-news-search{height:40px!important;max-width:480px!important;font-size:13px!important}
  html.kd-desktop body.ui4-app .product-log-list{width:100%!important;max-width:none!important;margin-inline:0!important;padding:0 var(--pc-pad) 24px!important}
  html.kd-desktop body.ui4-app .product-log-summary,
  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .product-log-summary {
    grid-template-columns:110px 72px minmax(0,1fr)!important;column-gap:16px!important;
    min-height:52px!important;padding:14px 0!important;align-items:start!important;
    font-size:13px!important;line-height:20px!important;
  }
  html.kd-desktop body.ui4-app .product-log-summary time{font:11px/20px var(--pc-data-font)!important;white-space:nowrap!important}
  html.kd-desktop body.ui4-app .product-log-type{font-size:12px!important;line-height:20px!important}
  html.kd-desktop body.ui4-app .product-log-msg{white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
  html.kd-desktop body.ui4-app .product-log-detail,
  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .product-log-detail {
    margin:0 0 12px 198px!important;padding:12px 16px!important;
    max-width:880px!important;font-size:13px!important;line-height:1.7!important;
  }
  html.kd-desktop .approved-search,html.kd-desktop .approved-list-tools{padding-inline:var(--pc-pad)!important}
  html.kd-desktop .approved-price-tools{flex-direction:row!important;flex-wrap:wrap!important;gap:12px!important}
  html.kd-desktop .approved-price-search{flex:1;min-width:240px!important}
  html.kd-desktop .approved-price-row{font-size:13px!important}
  html.kd-desktop .push-header{padding-inline:var(--pc-pad)!important}
  html.kd-desktop .push-body{width:100%!important;max-width:1040px!important;margin-inline:auto!important;padding:0 var(--pc-pad) 24px!important}
  html.kd-desktop .push-row{min-height:64px!important}
  /* Alerts compare instrument, target, progress and delivery state across a row. */
  html.kd-desktop body.ui4-app .pa-a {
    display:grid!important;grid-template-columns:minmax(320px,1fr) minmax(220px,1fr)!important;
    grid-template-rows:var(--pc-header) 64px 44px 28px minmax(0,1fr) 0!important;
    column-gap:16px!important;row-gap:0!important;
  }
  html.kd-desktop body.ui4-app .pa-a>:is(.pa-head,.pa-filters,.pa-summary,.pa-rows,.pa-foot){grid-column:1/-1!important;min-width:0!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-head{grid-row:1!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-tabs{grid-column:1!important;grid-row:2!important;margin-left:var(--pc-pad)!important;padding:8px 0!important;height:64px!important;min-width:0!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-search{grid-column:2!important;grid-row:2!important;margin-right:var(--pc-pad)!important;padding:10px 0!important;height:64px!important;min-width:0!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-search input{height:44px!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-filters{grid-row:3!important;height:44px!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-summary{grid-row:4!important;height:28px!important;padding-block:4px!important;line-height:20px!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-rows{grid-row:5!important;height:100%!important;min-height:0!important}
  html.kd-desktop body.ui4-app .pa-a>.pa-foot{grid-row:6!important}
  html.kd-desktop body.ui4-app .pa-a .pa-head{height:var(--pc-header)!important;padding:0 var(--pc-pad)!important}
  html.kd-desktop body.ui4-app .pa-a .pa-head h1{font-size:20px!important;line-height:28px!important}
  html.kd-desktop body.ui4-app .pa-a :is(.pa-filters,.pa-summary,.pa-foot){padding-inline:var(--pc-pad)!important}
  html.kd-desktop body.ui4-app .pa-a .pa-tabs{justify-content:flex-start!important;gap:8px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-tabs button{flex:0 1 148px!important;font-size:13px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-search input{max-width:480px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-filters{gap:12px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-filters select{max-width:160px!important;font-size:13px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-rows{padding-inline:var(--pc-pad)!important;scrollbar-width:thin!important}
  html.kd-desktop body.ui4-app .pa-a .pa-row {
    display:grid!important;grid-template-columns:minmax(240px,1.3fr) minmax(190px,1fr) minmax(190px,.9fr) 36px!important;
    align-items:center!important;gap:24px!important;margin:0!important;padding:16px 0!important;min-height:112px!important;
  }
  html.kd-desktop body.ui4-app .pa-a .pa-row-main{min-width:0!important;gap:12px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-identity strong{font-size:14px!important;line-height:22px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  html.kd-desktop body.ui4-app .pa-a small{font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-condition strong{font:600 16px/24px var(--pc-data-font)!important}
  html.kd-desktop body.ui4-app .pa-a .price-progress{margin:0!important;min-width:0!important;font-size:12px!important}
  html.kd-desktop body.ui4-app .pa-a .price-ends{gap:4px 8px!important}
  html.kd-desktop body.ui4-app .pa-a .price-ends>span{font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-row-meta {
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:0 8px!important;
    margin:0!important;min-width:0!important;align-items:center!important;
  }
  html.kd-desktop body.ui4-app .pa-a .pa-tag{width:max-content!important;font-size:11px!important;line-height:18px!important}
  html.kd-desktop body.ui4-app .pa-a .pa-policy-toggle{justify-self:end!important;font-size:12px!important}
  html.kd-desktop body.ui4-app .pa-a :is(.pa-trigger-count,.pa-row-meta>small:last-child){white-space:normal!important;overflow-wrap:anywhere!important}
  html.kd-desktop body.ui4-app .pa-a .pa-row-meta>small:last-child{text-align:right!important}
  html.kd-desktop body.ui4-app .pa-a .pa-foot{min-height:48px!important;padding:12px 0!important}
  html.kd-desktop body.ui4-app .pa-a .pa-dialog[open]{width:min(480px,calc(100vw - var(--pc-rail) - 64px))!important;max-width:480px!important;max-height:calc(100dvh - 64px)!important;padding:24px!important}
  html.kd-desktop body.ui4-app #quickPriceAlertBackdrop.show{backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important}
  html.kd-desktop body.ui4-app #quickPriceAlertMenu.show{max-width:420px!important;width:min(420px,calc(100vw - var(--pc-rail) - 64px))!important;max-height:calc(100dvh - 64px)!important}

  /* The actual calendar export keeps month navigation and event reading separate. */
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-pencil-id="LAqev"]{overflow:auto!important;scrollbar-width:thin!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-pencil-id="LV9ex"] {
    height:auto!important;min-height:0!important;flex:none!important;padding:16px var(--pc-pad) 24px!important;
    gap:12px!important;align-items:stretch!important;
  }
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] :is([data-pencil-id="f8MoW"],[data-pencil-id="lMI5e"]){min-width:0!important;width:100%!important;border-radius:10px!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-pencil-id="lMI5e"]{height:auto!important;min-height:240px!important;padding:16px!important;gap:10px!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-calendar-event]{width:100%!important;min-width:0!important;height:auto!important;padding-block:12px!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-calendar-event] :is([data-pencil-name="标题"],[data-pencil-name="信息行"]){width:100%!important;min-width:0!important;white-space:normal!important;height:auto!important;overflow-wrap:anywhere!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-calendar-event] [data-pencil-name="标题"]{font-size:14px!important;line-height:22px!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] .cal-search{padding:0!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] .cal-compact-bar{background:var(--kdt-active)!important;color:var(--kdt-text)!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] .cal-collapse{color:var(--kdt-primary)!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] .cal-list-status{color:var(--kdt-muted)!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] .cal-list-status button{background:var(--kdt-active)!important;color:var(--kdt-primary)!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"][data-calendar-collapsed="true"] [data-pencil-id="LV9ex"]{display:flex!important;height:100%!important;flex:1 1 0!important;padding-bottom:16px!important}
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"][data-calendar-collapsed="true"] [data-pencil-id="lMI5e"]{flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow:auto!important;scrollbar-width:thin!important}
  html.kd-desktop .news-settings-page{left:var(--pc-rail)!important;width:calc(100vw - var(--pc-rail))!important}
  html.kd-desktop body.ui4-app #ui4ViewStack>.news-settings-page#ui4NewsSettingsPage{left:0!important;right:0!important;width:100%!important}
  html.kd-desktop body.ui4-app .news-settings-page#ui4NewsSettingsPage .news-page-header{height:var(--pc-header)!important;min-height:var(--pc-header)!important;padding-inline:var(--pc-pad)!important}
  html.kd-desktop body.ui4-app .news-settings-page#ui4NewsSettingsPage .news-page-workspace{width:min(1200px,100%)!important;margin-inline:auto!important}
  html.kd-desktop body.ui4-app .news-settings-page#ui4NewsSettingsPage .news-settings-menu{display:flex!important;flex:0 0 200px!important;width:200px!important}
  html.kd-desktop body.ui4-app .news-settings-page#ui4NewsSettingsPage .news-settings-body{width:100%!important;max-width:960px!important;margin-inline:auto!important;padding:16px var(--pc-pad)!important}
  html.kd-desktop body.ui4-app dialog:is(.push-dialog,.push-settings-dialog)[open] {
    inset:32px 0!important;margin:auto!important;width:min(600px,calc(100vw - var(--pc-rail) - 64px))!important;
    max-width:600px!important;max-height:calc(100dvh - 64px)!important;
  }
  html.kd-desktop .approved-radar-settings[open],html.kd-desktop .market-settings-dialog[open] {
    width:min(920px,calc(100vw - var(--pc-rail) - 64px))!important;max-width:920px!important;max-height:calc(100dvh - 64px)!important;
  }
  html.kd-desktop dialog::backdrop{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
  html.kd-desktop #kdAssistant:not(.ka-full)[open] {
    inset:24px 24px 24px auto!important;width:min(620px,calc(100vw - var(--pc-rail) - 48px))!important;
    max-width:620px!important;height:calc(100dvh - 48px)!important;max-height:calc(100dvh - 48px)!important;
  }
  html.kd-desktop #kdAssistant.ka-full {
    inset:0 0 0 var(--pc-rail)!important;width:calc(100vw - var(--pc-rail))!important;
    max-width:none!important;height:100dvh!important;max-height:100dvh!important;
  }
  html.kd-desktop #kdAssistant .ka-scroll{width:100%!important;max-width:880px!important;margin-inline:auto!important;scrollbar-width:thin!important}
  html.kd-desktop #kdAssistant .ka-compose{width:100%!important;max-width:880px!important;margin-inline:auto!important}
  html.kd-desktop #kdAssistant :is(.ka-history-open,.ka-previous-title,.ka-confirm-item){min-width:0;overflow-wrap:anywhere}
  html.kd-desktop #kdAssistant .ka-message{font-size:14px!important;line-height:1.65!important}

  @keyframes pc-refresh-spin{to{transform:rotate(360deg)}}
  @media(prefers-reduced-motion:reduce){.pc-signal-refresh[aria-busy="true"] svg{animation:none!important}}
  @media (min-width:1280px) {
    html.kd-desktop body.ui4-app .pa-a {
      grid-template-columns:minmax(320px,.95fr) minmax(220px,1fr) minmax(180px,.7fr)!important;
      grid-template-rows:var(--pc-header) 64px 28px minmax(0,1fr) 0!important;
    }
    html.kd-desktop body.ui4-app .pa-a>.pa-tabs button{flex:1!important}
    html.kd-desktop body.ui4-app .pa-a>.pa-search{margin-right:0!important}
    html.kd-desktop body.ui4-app .pa-a>.pa-filters{grid-column:3!important;grid-row:2!important;height:64px!important;padding:0 var(--pc-pad) 0 0!important}
    html.kd-desktop body.ui4-app .pa-a>.pa-summary{grid-row:3!important}
    html.kd-desktop body.ui4-app .pa-a>.pa-rows{grid-row:4!important}
    html.kd-desktop body.ui4-app .pa-a>.pa-foot{grid-row:5!important}
    html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-pencil-id="LV9ex"] {
      display:grid!important;grid-template-columns:minmax(320px,400px) minmax(0,1fr)!important;
      grid-auto-rows:min-content!important;align-items:start!important;align-content:start!important;
      column-gap:24px!important;row-gap:12px!important;
    }
    html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-pencil-id="LV9ex"]>*{grid-column:1}
    html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="v6P5hC"] [data-pencil-id="lMI5e"] {
      grid-column:2!important;grid-row:1 / span 8!important;position:sticky!important;top:0!important;
      max-height:calc(100dvh - 112px)!important;overflow:auto!important;scrollbar-width:thin!important;
    }
  }
  @media (min-width:1440px) {
    html.kd-desktop body.pc-signal-detail .ui4-mounted-view[data-ui4-active="true"] .approved-content > :not(.ui4-shared-header){margin-right:360px!important;width:calc(100% - 360px)!important}
    html.kd-desktop body.pc-signal-detail .sd-app{margin-right:0!important;width:100%!important}
    html.kd-desktop .sd-dialog[aria-label="股票信号详情"][open] {
      position:fixed!important;inset:88px 24px 24px auto!important;margin:0!important;
      width:336px!important;max-width:336px!important;max-height:calc(100dvh - 112px)!important;
      border-radius:10px!important;padding:16px!important;
    }
  }
  @media (max-width:1199px) {
    html.kd-desktop{--pc-rail:136px;--pc-pad:16px}
    html.kd-desktop body.ui4-app #pcRail{padding-inline:12px}
    html.kd-desktop .pc-brand{padding-inline:4px;gap:6px}
    html.kd-desktop .pc-brand :is(span,strong){font-size:13px}
    html.kd-desktop body.ui4-app #mobileTabbar.ui4-floating-nav{left:12px!important;width:calc(var(--pc-rail) - 24px)!important}
    html.kd-desktop body.ui4-app #mobileTabbar.ui4-floating-nav .ui4-nav-item{gap:10px!important;padding-inline:10px!important}
    html.kd-desktop :is(.fund-overview-strip,.fund-analysis-grid,.fund-detail-grid){grid-template-columns:minmax(0,1fr)!important}
    html.kd-desktop .fund-controls{grid-template-columns:minmax(0,1fr)!important}
    html.kd-desktop body.ui4-app .pa-a .pa-row{grid-template-columns:minmax(200px,1.2fr) minmax(180px,1fr) 36px!important;gap:8px 20px!important;padding-block:12px!important}
    html.kd-desktop body.ui4-app .pa-a .pa-row-meta{grid-column:1/3!important;display:flex!important;gap:12px!important}
    html.kd-desktop body.ui4-app .pa-a .pa-row-meta .pa-policy-toggle{margin-left:auto!important}
    html.kd-desktop body.ui4-app .pa-a .pa-trigger-count{flex:none!important}
    html.kd-desktop body.ui4-app #kdScreener .ksc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    html.kd-desktop body.ui4-app #kdScreener .ksb-workspace{grid-template-columns:minmax(0,1fr)!important}
    html.kd-desktop body.ui4-app #kdScreener .ksb-sidebar{display:none!important}
    html.kd-desktop body.ui4-app #kdScreener .ksx-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
    html.kd-desktop body.ui4-app #kdScreener.ks-focus-screen :is(.ksx-row-top,.ksx-list-head) {
      grid-template-columns:minmax(144px,1.2fr) minmax(68px,.7fr) 128px 96px 80px!important;gap:8px!important;
    }
    html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody .kdr-watchlist {
      --pc-watch-columns:40px minmax(140px,1fr) 104px 80px minmax(216px,1fr) 40px;
    }
    html.kd-desktop body.ui4-app #kdRadarPage #kdrPoolBody :is(.kdr-watch-head,.kdr-watch-row){column-gap:6px!important;min-width:650px!important}
  }
}
@media(min-width:901px){
  html.kd-desktop .settings-pen-page[data-settings-page="radar"] [data-pencil-id="aDJUP"][data-pencil-name="全局显示 / 分组"]{display:none!important}
  html.kd-desktop .settings-market-periods [aria-pressed="false"] svg{visibility:hidden!important}
}
.pc-fund-unit{display:none}
@media(min-width:901px){
  html.kd-desktop .fund-detail-target>.fund-title .pc-fund-unit{display:inline;color:var(--kdt-muted);font-size:12px;font-weight:400;margin-left:10px}
  html.kd-desktop .cal-filter-dialog .cal-filter-option input[type="checkbox"]{background:var(--kdt-surface)!important;border-color:var(--kdt-muted)!important}
  html.kd-desktop .cal-filter-dialog .cal-filter-option input[type="checkbox"]:checked{background:var(--kdt-primary)!important;border-color:var(--kdt-primary)!important}
  html.kd-desktop .cal-filter-dialog .cal-filter-option input[type="checkbox"]:checked::after{border-color:var(--kdt-on-solid)!important}
}


/* Feedback history and release notes have desktop reading widths. */
@media (min-width:901px) {
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) [data-pencil-name="手机滚动视口"] {
    width:100%!important;max-width:none!important;min-width:0!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) [data-pencil-name="纵向滚动内容"] {
    width:100%!important;max-width:1120px!important;min-width:0!important;margin-inline:auto!important;
    padding:16px var(--pc-pad) 24px!important;gap:12px!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-controls {
    width:100%!important;min-width:0!important;gap:12px!important;align-items:center!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-controls input {
    flex:1 1 auto!important;max-width:560px!important;height:40px!important;font-size:13px!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-controls select {
    flex:0 0 144px!important;height:40px!important;font-size:13px!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-list {
    min-width:0!important;width:100%!important;padding:0 16px!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-summary {
    min-height:80px!important;gap:8px!important;padding:16px 0!important;font-size:14px!important;line-height:1.7!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-summary>* {
    min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-excerpt {
    white-space:pre-wrap!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-summary small {
    font-size:12px!important;line-height:20px!important;
  }
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-detail {
    max-width:880px!important;min-width:0!important;padding:12px 0 16px!important;
    font-size:14px!important;line-height:1.75!important;white-space:normal!important;overflow-wrap:anywhere!important;
  }
  html.kd-desktop .ui4-mounted-view[data-approved-view="o3UYE"] [data-pencil-id="ZlbEe"] {
    width:min(880px,calc(100% - 48px))!important;max-width:880px!important;
    height:min(720px,calc(100dvh - 64px))!important;max-height:calc(100dvh - 64px)!important;
    left:50%!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;
    padding:24px!important;gap:16px!important;overflow:hidden!important;
  }
  html.kd-desktop .ui4-mounted-view[data-approved-view="o3UYE"] [data-pencil-id="hahBP"] {
    min-height:0!important;flex:1 1 0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;
  }
  html.kd-desktop .ui4-mounted-view[data-approved-view="o3UYE"] [data-pencil-id="HSoEs"] {
    width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;overflow:visible!important;gap:10px!important;
  }
  html.kd-desktop .ui4-mounted-view[data-approved-view="o3UYE"] [data-pencil-id="HSoEs"]>[data-pencil-name^="原站说明文本 / "] {
    width:100%!important;height:auto!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
    font-size:13px!important;line-height:1.75!important;
  }
}
@media (min-width:1200px) {
  html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) .product-ticket-summary {
    display:grid!important;grid-template-columns:140px minmax(0,1fr) 176px!important;gap:16px!important;align-items:start!important;
  }
}

/* Read-only audit proposal for a NEW immutable desktop release.
   Append after the existing desktop.css; do not alter the installed 144745 tree.

   Shared source causes:
   - settings-center.css uses --kdt-soft for the unchecked switch. The bundled
     white-liquid-glass.css rebinds that token to rgba(255,255,255,.66), while
     ui4-dark-theme.css forces a white thumb. No competing desktop rule caused it.
   - approved-views/q2IZc.html and w6bvd.html contain a permanently selected
     business-category paint. product-live.js updates aria-pressed and filters
     rows but does not update that original inline paint.

   Both corrections are restricted to desktop widths. The switch correction
   also excludes dark mode and checked controls; geometry and handlers stay intact.
*/
@media (min-width:901px) {
  html.kd-desktop:not([data-theme="dark"]) body.ui4-app .settings-switch:not(:checked) {
    background:var(--kdt-border)!important;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--kdt-muted) 40%,var(--kdt-border))!important;
  }

  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .ui4-mounted-view [data-pencil-name^="分类 / "][role="button"][aria-pressed="false"] {
    background:transparent!important;
    color:var(--kdt-muted)!important;
  }
  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .ui4-mounted-view [data-pencil-name^="分类 / "][role="button"][aria-pressed="true"] {
    background:var(--kdt-active)!important;
    color:var(--kdt-primary)!important;
  }
  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .ui4-mounted-view [data-pencil-name^="分类 / "][role="button"][aria-pressed] > :is([data-pencil-name="分类名称"],[data-pencil-name="日志计数"]) {
    color:inherit!important;
  }
  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .ui4-mounted-view [data-pencil-name^="分类 / "][role="button"][aria-pressed="false"] > [data-pencil-name="分类名称"] {
    font-weight:400!important;
  }
  html.kd-desktop body.ui4-app[data-ui4-route="logs"] .ui4-mounted-view [data-pencil-name^="分类 / "][role="button"][aria-pressed="true"] > [data-pencil-name="分类名称"] {
    font-weight:600!important;
  }
}

/* About desktop proposal for desktop-sync-20261020-151558.
 * Append after the existing desktop.css rules in a NEW candidate.
 * The mounted page already fills the pane; its close bar and scroll viewport
 * still carry the original inline width:402px. The runtime's 100% content width
 * is therefore relative to that phone-width viewport. These scoped !important
 * declarations override those inline dimensions without changing the DOM.
 * Keep the source 144px logo, 36/15/11px type, 16px gaps and 24px content padding.
 * With the existing rail, expected horizontal brand centers are:
 * 1600px viewport: x=888; 1280px: x=728; 901px: x=518.5.
 * The close bar uses the existing desktop header/padding tokens (64px; 24/16px).
 * Local proposal only; browser acceptance is required on the new candidate.
 */
@media (min-width: 901px) {
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="i36h9"] [data-pencil-id="QX7Kl"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: var(--pc-header, 64px) !important;
    min-height: var(--pc-header, 64px) !important;
    align-items: center !important;
    padding: 0 var(--pc-pad, 24px) !important;
  }

  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="i36h9"] [data-pencil-id="kvspJ"],
  html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="i36h9"] [data-pencil-id="fehaP"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* Product corrections are desktop-only; generated chrome is absent on phones. */
.pc-subpage-header,.pc-native-title,.pc-back,.pc-about-title,.pc-about-updated,.pc-history-note{display:none}
@media(min-width:901px){
 html.kd-desktop .pc-page-header :is(.ui4-shared-mark,.logo,.fund-brand img),
 html.kd-desktop .pc-page-header>:is(img),
 html.kd-desktop .pc-page-header [data-pencil-name="KDWatch 矢量标志"]{display:none!important}
 html.kd-desktop .pc-page-header :is([data-pencil-name="品牌"],[data-pencil-name="KDWatch 标志"],[data-pencil-name="KDWatch 品牌标志"],[data-pencil-name="KDWatch 品牌"]){display:none!important}
 html.kd-desktop :is(.pc-native-title,.pc-about-title){display:block;margin:0;color:var(--kdt-text);font:700 20px/28px var(--font-ui,Inter,"Microsoft YaHei",sans-serif)}
 html.kd-desktop .pc-back{display:grid;place-items:center;width:32px;height:32px;margin-right:8px;padding:4px;border:0;background:transparent;color:var(--kdt-text);cursor:pointer}
 html.kd-desktop .pc-back svg{width:24px;height:24px}
 html.kd-desktop .ui4-mounted-view [data-pencil-name="四市场切换 / 标的数量"]{justify-content:flex-start!important;gap:4px!important;padding-inline:var(--pc-pad)!important}
 html.kd-desktop .ui4-mounted-view [data-pencil-name^="市场页签 / "]{flex:0 0 116px!important;width:116px!important}
 html.kd-desktop body.ui4-app .ui4-mounted-view.pc-standalone>[data-ui4-source-width]{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important}
 html.kd-desktop body.ui4-app .ui4-mounted-view.pc-standalone [data-pencil-name^="弹层底页 / "]{display:none!important}
 html.kd-desktop body.ui4-app .ui4-mounted-view.pc-standalone [data-pencil-name="弹层背景"]{position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;display:flex!important;align-items:stretch!important;background:var(--kdt-bg)!important;backdrop-filter:none!important}
 html.kd-desktop body.ui4-app .ui4-mounted-view.pc-standalone .pc-page-panel[data-pencil-name^="弹窗 / "]{position:static!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;gap:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--kdt-bg)!important;overflow:hidden!important}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="弹窗标题与关闭"]{display:none!important}
 html.kd-desktop body.ui4-app .pc-subpage-header{display:flex!important;align-items:center;gap:12px;flex:none;min-height:var(--pc-header);height:var(--pc-header);padding:0 var(--pc-pad);border-bottom:1px solid var(--kdt-border);background:var(--kdt-surface);color:var(--kdt-text)}
 html.kd-desktop .pc-subpage-header h1{margin:0;font:700 20px/28px Inter,"Microsoft YaHei",sans-serif}
 html.kd-desktop .pc-subpage-header button{display:grid;place-items:center;width:32px;height:32px;padding:4px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
 html.kd-desktop .pc-subpage-header button svg{width:24px;height:24px}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="内容面板"]{width:100%!important;max-width:880px!important;min-height:0!important;height:auto!important;flex:1 1 0!important;padding:24px!important;margin:0 auto!important;overflow:auto!important;scrollbar-width:thin!important;gap:16px!important}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="内容面板"]>*{width:100%!important;max-width:none!important;min-width:0!important}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="内容面板"] textarea{min-height:180px!important;height:180px!important;width:100%!important;font-size:14px!important;line-height:1.6!important}
 html.kd-desktop body.ui4-app .pc-page-panel [data-pencil-name="输入框 / 问题或建议"]{height:auto!important;min-height:204px!important}
 html.kd-desktop body.ui4-app .pc-page-panel [data-pencil-name="菜单项 / 截图附件"]{height:44px!important;min-height:44px!important;padding-block:4px!important;box-sizing:border-box!important}
 html.kd-desktop body.ui4-app .ui4-mounted-view.pc-standalone:not([data-approved-view="o3UYE"]) .pc-page-panel>[data-pencil-name="内容面板"]{flex:0 1 auto!important;margin-top:24px!important;border-radius:10px!important}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="内容面板"]~[data-pencil-name]{width:100%!important;max-width:880px!important;margin-inline:auto!important;padding:16px 24px!important;flex:none!important}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="操作区"]{height:auto!important;min-height:76px!important;align-items:center!important}
 html.kd-desktop body.ui4-app .pc-page-panel>[data-pencil-name="操作区"]>*{height:40px!important;min-height:40px!important}
 html.kd-desktop .pc-history-note{display:block;margin:0;padding:12px 16px;border:1px solid var(--kdt-border);border-radius:8px;background:var(--kdt-soft);color:var(--kdt-muted);font:13px/1.7 Inter,"Microsoft YaHei",sans-serif}
 html.kd-desktop .product-changelog-current{color:var(--kdt-text)!important;border-color:var(--kdt-border)!important}
 html.kd-desktop .product-changelog-current p{color:var(--kdt-muted)!important}
 html.kd-desktop .pc-about-updated{display:block;margin:0;color:var(--kdt-muted);font-size:12px;line-height:20px}
 html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) [data-pencil-name="按钮 / 新建反馈"]{width:144px!important;flex:none!important;min-height:36px!important;align-self:flex-start!important;background:var(--kdt-active)!important;border:1px solid var(--kdt-border)!important;color:var(--kdt-primary)!important}
 html.kd-desktop .ui4-mounted-view:is([data-approved-view="Yn8UN"],[data-approved-view="EhlVL"],[data-approved-view="TcQhT"]) [data-pencil-name="文本 / 新建反馈"]{color:var(--kdt-primary)!important}
 html.kd-desktop .settings-email-save:disabled{background:var(--kdt-soft)!important;color:var(--kdt-muted)!important;cursor:default}
 html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="o3UYE"] .pc-page-panel>[data-pencil-name="操作区"],
 html.kd-desktop body.ui4-app .ui4-mounted-view[data-approved-view="i36h9"] [data-pencil-id="QX7Kl"]{display:none!important}
 html.kd-desktop .pa-a .pa-row{position:relative}
 html.kd-desktop .pa-a .pc-alert-actions{position:relative;grid-column:4;grid-row:1;justify-self:end;color:var(--kdt-muted)}
 html.kd-desktop .pa-a .pc-alert-actions>summary{display:grid;place-items:center;width:32px;height:32px;list-style:none;border:1px solid var(--kdt-border);border-radius:8px;cursor:pointer}
 html.kd-desktop .pc-alert-actions>summary::-webkit-details-marker{display:none}
 html.kd-desktop .pc-alert-actions svg{width:20px;height:20px}
 html.kd-desktop .pc-alert-menu{position:absolute;z-index:5;right:0;top:36px;width:144px;padding:4px;border:1px solid var(--kdt-border);border-radius:8px;background:var(--kdt-surface);box-shadow:var(--shadow-overlay,0 8px 24px #0002)}
 html.kd-desktop .pc-alert-menu button{display:flex;align-items:center;gap:8px;width:100%!important;height:36px;color:var(--kdt-red)!important;font-size:12px}
 html.kd-desktop .pc-alert-menu button::after{content:'删除警报'}
 html.kd-desktop .pc-alert-actions:not([open])>.pc-alert-menu{display:none!important}
 html.kd-desktop .pa-a .pa-rows>.pa-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--kdt-border)}
 @media(max-width:1199px){html.kd-desktop .pa-a .pc-alert-actions{grid-column:3;grid-row:1/3;align-self:center}}
}
