/* Scoped adjustments for the sentiment radar page within the existing application shell. */
.sr-detail { border:1px solid #d7e4f4; border-radius:14px; padding:24px; width:min(680px,80vw); max-height:80vh; overflow:auto; color:#244060; }
.sr-detail::backdrop { background:#132d5280; }
.sr-detail [data-close] { float:right; }
.sr-page button:focus-visible,.sr-detail a:focus-visible { outline:2px solid #1976ed; outline-offset:3px; }
.sr-page .sr-table-footer button { padding:6px 12px; }
.sr-page .sr-table-card { height:auto!important; }
@media(max-width:700px) {
  .sr-page .sr-filterbar { height:auto!important; min-height:48px; flex-wrap:wrap; padding:8px 0; }
  .sr-page .sr-filter-search { width:100%!important; }
  .sr-page .sr-hero-copy { width:calc(100% - 110px); }
  .sr-page .sr-date-tools { position:static!important; width:100%; padding:8px; }
  .sr-page .sr-hero { height:auto!important; }
  .sr-page .sr-table-footer { height:auto!important; gap:8px; padding:10px 0; flex-wrap:wrap; }
  .sr-page .sr-filterbar select,.sr-page .sr-filterbar button,.sr-page .sr-pages button { min-height:40px; }
}
#main:has(.sr-page) { padding: 0 !important; background: #f5f8fd !important; color: #183b68 !important; }
#main:has(.sr-page) { margin: 0 !important; }
.app:has(.sr-page) { grid-template-columns: 229px minmax(0, 1fr) !important; }
.app:has(.sr-page) .side { width: 229px !important; }
.app:has(.sr-page) .app-topbar { min-height: 56px; height: 56px; padding-left: 22px; padding-right: 22px; }
.app:has(.sr-page) .workspace { overflow-y: auto; }
.sr-page { min-height: calc(100vh - 56px); }
.sr-page .sr-top { display: none; }
.sr-page .sr-hero { height: 95px; }
.sr-page .sr-main { padding: 15px 22px 16px; grid-template-columns: minmax(0, 1fr) 325px; gap: 16px; }
.sr-page .sr-table-wrap { scrollbar-width: thin; }
.sr-page .sr-empty { line-height: 1.7; }
/* 1789×879 reference-canvas alignment (scoped to this page only). */
.app:has(.sr-page) { grid-template-columns: 233px minmax(0, 1fr) !important; }
.app:has(.sr-page) .side { width: 233px !important; padding: 12px 8px 10px 15px; }
.app:has(.sr-page) .side-brand { padding-left: 6px; padding-top: 2px; padding-bottom: 4px; }
.app:has(.sr-page) .side-status { margin: 12px 6px 17px; }
.app:has(.sr-page) .side-nav { gap: 4px; }
.app:has(.sr-page) .side-nav a { height: 38px; min-height: 38px; padding: 0 9px; border-radius: 10px; }
.app:has(.sr-page) .app-topbar { min-height: 56px; height: 56px; padding: 0 22px; }
.app:has(.sr-page) .app-topbar .global-search { width: 516px !important; min-width: 0; height: 34px; }
.app:has(.sr-page) .app-topbar .global-search input { height: 34px; padding-left: 40px; }
.sr-search-shortcut { position: absolute; right: 10px; top: 7px; padding: 1px 5px; border: 1px solid #dce7f5; border-radius: 8px; background: #fff; color: #7790ad; font: 10px Arial,sans-serif; }
.sr-demo-top-icon { position: relative; width: 36px; height: 36px; border: 0; background: transparent; color: #0876f8; display: grid; place-items: center; }
.sr-demo-top-icon i { position: absolute; top: -2px; right: -3px; min-width: 17px; height: 17px; border-radius: 10px; padding: 0 4px; background: #ef4c47; color: white; font: 700 10px/17px Arial,sans-serif; font-style: normal; }
.sr-demo-divider { height: 28px; border-left: 1px solid #e4edf7; margin: 0 8px; }
.sr-demo-profile { display: flex; align-items: center; gap: 9px; color: #294767; min-width: 140px; }
.sr-demo-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e8f1fb; color: #3476c2; border: 1px solid #dceafa; font-weight: 700; }
.sr-demo-profile b,.sr-demo-profile small { display: block; white-space: nowrap; }
.sr-demo-profile b { font-size: 12px; font-weight: 600; }
.sr-demo-profile small { margin-top: 2px; color: #88a0bc; font-size: 10px; }
.sr-demo-chevron { margin-left: 28px; color: #1680f8; font-size: 16px; }
.sr-page .sr-hero { height: 97px; gap: 25px; }
.sr-page .sr-hero:after { content: none; }
.sr-page .sr-hero:before { content: ""; position: absolute; z-index: 1; right: 421px; top: 31px; width: 19px; height: 19px; background: #ffb52e; clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
.sr-page .sr-skyline { position: absolute; z-index: 0; right: 25.5%; bottom: 0; width: 660px; height: 100px; opacity: .78; pointer-events: none; }
.sr-page .sr-datebox { width: 266px; height: 39px; justify-content: space-between; padding: 0 9px; gap: 4px; }
.sr-page .sr-datebox input { width: 80px; }
.sr-page .sr-main { padding-top: 15px; padding-bottom: 16px; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; }
.sr-page .sr-kpis { gap: 13px; grid-template-columns: 275fr 269fr 294fr 289fr; }
.sr-page .sr-kpi { height: 107px; padding: 12px 13px; gap: 12px; }
.sr-page .sr-kpi-icon { width: 58px; height: 58px; }
.sr-page .sr-kpi-icon .sr-icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; color: #fff !important; background: linear-gradient(145deg, color-mix(in srgb, var(--sr-accent) 78%, white), var(--sr-accent)); }
.sr-page .sr-kpi-copy { min-width: 0; }
.sr-page .sr-kpi-title { font-size: 13px; font-weight: 700; }
.sr-page .sr-kpi-metric { gap: 12px; }
.sr-page .sr-kpi-value { margin-top: 5px; }
.sr-page .sr-kpi-sub { margin-top: 1px; }
.sr-page .sr-analytics { grid-template-columns: minmax(0,455fr) minmax(0,451fr) 232px; gap: 14px; margin-top: 15px; }
.sr-page .sr-panel { height: 209px; padding: 13px 15px; }
.sr-page .sr-donut-layout { gap: 7px; }
.sr-page .sr-donut { width: 174px; height: 174px; transform: translateX(-4px); }
.sr-page .sr-legend-row { height: 24px; grid-template-columns: 8px minmax(0,1fr) 25px 38px; gap: 5px; font-size: 9px; }
.sr-page .sr-legend-row i { width: 8px !important; height: 8px !important; }
.sr-page .sr-panel:has(.sr-chart) { position: relative; }
.sr-page .sr-chart { height: 158px; margin-top: 4px; }
.sr-page .sr-trend-tooltip { position: absolute; z-index: 2; right: 17px; top: 28px; width: 82px; height: 49px; padding: 7px 9px; border: 1px solid #e6eef8; border-radius: 8px; background: #fff; box-shadow: 0 3px 12px #5c85b329; color: #4775a8; font-size: 10px; line-height: 1.45; }
.sr-page .sr-trend-tooltip b { display: block; color: #28598f; font-size: 10px; }
.sr-page .sr-focus-item { gap: 8px; }
.sr-page .sr-table-card { margin-top: 12px; height: 352px; min-height: 352px; padding: 0 14px 8px; }
.sr-page .sr-tabs { gap: 38px; }
.sr-page .sr-filterbar { height: 48px; gap: 8px; }
.sr-page .sr-filter-search { width: 258px; }
.sr-page .sr-filterbar .sr-select { flex: 0 0 auto; }
.sr-page #sr-type { width: 160px; }
.sr-page #sr-status { width: 164px; }
.sr-page #sr-region { width: 190px; }
.sr-page .sr-date-small { position: relative; width: 193px; height: 29px; flex: 0 0 193px; }
.sr-page .sr-date-small .sr-date-label { display: block; height: 29px; padding: 6px 26px 0 9px; border: 1px solid #dceafa; border-radius: 6px; color: #7890ae; background: #fff; font-size: 10px; }
.sr-page .sr-date-small .sr-date-hidden { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.sr-page .sr-date-small .sr-date-calendar { position: absolute; top: 7px; right: 8px; color: #6d9ed7; pointer-events: none; }
.sr-page .sr-filter-action[data-act="reset"] { width: 54px; }
.sr-page .sr-filter-action[data-act="advanced"] { width: 72px; }
.sr-page .sr-table-wrap { min-height: 194px; max-height: 194px; }
.sr-page .sr-table th { height: 28px; padding: 0 7px !important; }
.sr-page .sr-table td { height: 32px !important; padding: 0 7px !important; font-size: 10px !important; }
.sr-page .sr-type-pill { color: var(--pill-color); background: color-mix(in srgb, var(--pill-color) 12%, white); }
.sr-page .sr-status-pill { background: #eef5ff; color: #5182bb; }
.sr-page .sr-table-footer { height: 29px; }
.sr-page .sr-pages { gap: 7px; }
.sr-page .sr-page-btn { min-width: 22px; height: 22px; }
.sr-page .sr-page-size { min-width: 74px; padding: 0 5px; background: white; }
.sr-page .sr-warning { height: 28px; }
.sr-page .sr-ai { height: 365px; padding: 12px 13px; }
.sr-page .sr-rail-head { height: 80px; }
.sr-page .sr-mascot { display: none; }
.sr-page .sr-rec { height: 67px; gap: 8px; }
.sr-page .sr-rec-copy strong { font-size: 11px; }
.sr-page .sr-rec-copy small { margin-top: 5px; font-size: 9px; }
.sr-page .sr-more-ai { width: 232px; height: 32px; margin-top: 14px; }
.sr-page .sr-quick { height: 145px; }
.sr-page .sr-assist { position: fixed; right: 20px; bottom: 54px; width: 236px; height: 52px; z-index: 20; padding: 4px 10px; }
.sr-page .sr-date-tools .sr-btn:disabled { opacity: 1; }
@media (max-width: 1450px) {
  .app:has(.sr-page) { grid-template-columns: 220px minmax(0, 1fr) !important; }
  .app:has(.sr-page) .side { width: 220px !important; }
  .sr-page .sr-main { grid-template-columns: minmax(0, 1fr) 300px; padding-left: 15px; padding-right: 15px; gap: 12px; }
  .sr-page .sr-analytics { grid-template-columns: 1fr 1fr; }
  .sr-page .sr-focus { grid-column: 1/-1; }
  .sr-page .sr-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1450px) {
  .sr-page .sr-main { grid-template-columns: minmax(0, 1fr) 325px; padding-left: 22px; padding-right: 22px; gap: 16px; }
}
@media (max-width: 1100px) {
  .app:has(.sr-page) { grid-template-columns: 220px minmax(0, 1fr) !important; }
  .app:has(.sr-page) .side { width: 220px !important; }
  .sr-page .sr-main { grid-template-columns: 1fr; }
}
/* rev6-ui: reference typography, functional controls and narrow-screen safety. */
.sr-page { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
.sr-page button,.sr-page input,.sr-page select { font-family: inherit; }
.sr-page .sr-hero-copy h1 { letter-spacing: 1px; }
.sr-page .sr-skyline { opacity: .62; }
.sr-page .sr-filterbar { overflow: visible; flex-wrap: wrap; height: auto; min-height: 48px; padding: 8px 0; }
.sr-page .sr-filter-search { flex: 1 1 230px; width: auto; }
.sr-page #sr-type,.sr-page #sr-status,.sr-page #sr-region { width: auto; flex: 1 1 130px; }
.sr-page .sr-date-small { flex: 0 1 145px; width: 145px; }
.sr-page .sr-date-small input { width: 100%; }
.sr-page .sr-table th:nth-child(1) { width: 16%; }
.sr-page .sr-table th:nth-child(2) { width: 21%; }
.sr-page .sr-table th:nth-child(3) { width: 27%; }
.sr-page .sr-table th:nth-child(4) { width: 11%; }
.sr-page .sr-table th:nth-child(7) { width: 7%; }
.sr-page .sr-table-footer button,.sr-page #sr-page-size { border: 1px solid #dceafa; background: #fff; color: #527daf; border-radius: 5px; }
.sr-page button:disabled { cursor: not-allowed; }
.sr-page .sr-table-footer button:disabled { opacity: .45; }
.sr-page .sr-table-wrap { max-height: 240px; }
.sr-page .sr-warning { height: auto; min-height: 28px; line-height: 1.6; padding: 5px 9px; }
.sr-detail { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; box-sizing: border-box; }
.sr-detail h2 { line-height: 1.55; padding-right: 36px; }
.sr-detail [data-close] { min-width: 44px; min-height: 36px; border: 1px solid #dceafa; border-radius: 6px; background: #f5f9ff; color: #1766d6; }
@media(max-width:760px) {
  .sr-page .sr-main { display: block; padding: 10px; }
  .sr-page .sr-hero { flex-wrap: wrap; padding: 16px 12px 8px; }
  .sr-page .sr-date-tools { position: static; width: 100%; flex-wrap: wrap; padding: 8px 0; }
  .sr-page .sr-datebox { width: min(266px,100%); }
  .sr-page .sr-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sr-page .sr-kpi { padding: 8px; gap: 6px; height: 100px; }
  .sr-page .sr-kpi-icon { width: 36px; height: 36px; }
  .sr-page .sr-kpi-title { font-size: 11px; white-space: normal; }
  .sr-page .sr-kpi-sub { font-size: 10px; }
  .sr-page .sr-analytics { grid-template-columns: minmax(0,1fr); }
  .sr-page .sr-analytics .sr-panel { height: 209px; }
  .sr-page .sr-chart { min-width: 0; }
  .sr-page .sr-rail { margin-top: 12px; display: flex; }
  .sr-page .sr-hero-copy { min-width: 0; width: calc(100% - 85px); }
  .sr-page .sr-hero h1 { font-size: 23px; }
  .sr-page .sr-hero p { font-size: 11px; }
  .sr-page .sr-filterbar select,.sr-page .sr-filterbar input,.sr-page .sr-filterbar button,.sr-page .sr-pages button,.sr-page #sr-page-size { min-height: 44px; }
  .sr-page .sr-filter-search { flex-basis: 100%; }
  .sr-page .sr-filter-search svg { top: 14px; }
  .sr-page .sr-filterbar .sr-select { flex-basis: calc(50% - 8px); }
  .sr-page .sr-date-small { flex: 1 1 145px; height: 44px; }
  .sr-page .sr-table { min-width: 920px; }
  .sr-page .sr-table-wrap { max-height: 380px; }
  .sr-page .sr-table-footer { flex-wrap: wrap; height: auto; gap: 8px; padding: 10px 0; }
  .sr-page .sr-pages { margin-left: 0; }
  .sr-page .sr-assist { display: none; }
  .sr-detail { width: calc(100vw - 24px); max-width: none; max-height: 90dvh; padding: 16px; }
}
