/* * Stage 2-3 redesign authority layer. * Values and composition are transferred from the approved prototypes in * ../界面优化. Keep later page migrations in this file until stage 19 cleanup. */ html, body { min-height: 100%; background: var(--r2-bg); color: var(--r2-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 13px; } body { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: 46px minmax(0, 1fr) 30px; padding: 0; } body.sidebar-collapsed { grid-template-columns: 64px minmax(0, 1fr); } /* Shared sidebar transferred from the prototype shell. */ .module-nav, body.sidebar-collapsed .module-nav { position: fixed; inset: 0 auto 0 0; z-index: 60; width: 200px; height: 100vh; display: flex; flex-direction: column; padding: 0 8px 8px; overflow-x: hidden; overflow-y: auto; border-right: 1px solid var(--r2-line); background: #fff; } .sidebar-brand { min-height: 55px; display: flex; align-items: center; gap: 8px; margin: 0 -8px 7px; padding: 0 16px; border-bottom: 1px solid var(--r2-line-soft); white-space: nowrap; } .sidebar-brand-mark { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 7px; background: var(--r2-blue); color: #fff; font-size: 14px; font-weight: 700; } .sidebar-brand strong { color: var(--r2-ink); font-size: 15px; font-weight: 700; } .nav-group, body.sidebar-collapsed .module-nav .nav-group { display: block; margin: 0; padding: 0; border: 0; } .nav-group + .nav-group, body.sidebar-collapsed .module-nav .nav-group + .nav-group { margin-top: 0; padding-top: 0; border: 0; } .nav-group-label { height: auto; padding: 12px 10px 4px; color: var(--r2-faint); font-size: 11px; font-weight: 400; letter-spacing: 0; } .module-nav .module-tab, body.sidebar-collapsed .module-nav .module-tab { width: 100%; min-height: 34px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 0 0 1px; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #374151; font-size: 13px; font-weight: 400; } .module-nav .module-tab .lucide { width: 16px; height: 16px; flex: 0 0 16px; opacity: .75; stroke-width: 1.8; } .module-nav .module-tab:hover { background: #f6f7f9; color: var(--r2-ink); } .module-nav .module-tab.active, .module-nav .module-tab.mobile-active { background: var(--r2-blue-soft); color: var(--r2-blue); font-weight: 600; } .module-nav .module-tab.active::before, .module-nav .module-tab.mobile-active::before { display: none; } .sidebar-collapse-button { min-height: 38px; display: flex; align-items: center; gap: 8px; margin: auto -8px -8px; padding: 10px 16px; border: 0; border-top: 1px solid var(--r2-line-soft); border-radius: 0; background: #fff; color: var(--r2-sub); font-size: 12px; } body.sidebar-collapsed .module-nav { width: 64px; padding-inline: 7px; } body.sidebar-collapsed .sidebar-brand { justify-content: center; margin-inline: -7px; padding-inline: 0; } body.sidebar-collapsed .sidebar-brand strong, body.sidebar-collapsed .nav-group-label, body.sidebar-collapsed .module-tab span, body.sidebar-collapsed .sidebar-collapse-button span { display: none; } body.sidebar-collapsed .module-nav .module-tab, body.sidebar-collapsed .sidebar-collapse-button { justify-content: center; padding-inline: 0; } /* Prototype top bar: market tape left, restrained actions right. */ .app-header { position: sticky; top: 0; z-index: 50; grid-column: 2; grid-row: 1; width: auto; min-height: 46px; height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--r2-line); background: #fff; box-shadow: none; backdrop-filter: none; } .market-tape { min-width: 0; display: flex; align-items: center; gap: 14px; color: var(--r2-sub); font-size: 12px; white-space: nowrap; } .market-tape .market-item { color: var(--r2-sub); } .market-tape .market-item strong { color: var(--r2-ink); font-weight: 600; } .market-tape .market-item.up strong { color: var(--r2-up); } .market-tape .market-item.down strong { color: var(--r2-down); } .header-actions { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; } .header-date-group { height: 30px; display: flex; align-items: center; gap: 2px; padding: 0 3px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; } .header-date-group .date-input { width: 118px; height: 28px; padding: 0 4px; border: 0; background: transparent; color: var(--r2-ink); font-size: 12px; } .header-date-group .icon-button, .header-actions > .icon-button, .header-menu-button { width: 30px; min-height: 30px; height: 30px; padding: 0; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #4b5563; box-shadow: none; } .header-date-group .icon-button { border: 0; } .header-actions .icon-button:hover { border-color: var(--r2-blue-line); color: var(--r2-blue); } .header-actions .icon-button .lucide { width: 15px; height: 15px; } .header-command-group { display: flex; align-items: center; gap: 6px; } .header-command-group .command-button { min-height: 30px; height: 30px; padding: 0 10px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #374151; font-size: 12px; font-weight: 500; box-shadow: none; } .header-command-group .command-button.primary { border-color: var(--r2-blue); background: var(--r2-blue); color: #fff; } .account-menu-shell { gap: 5px; } .account-role-badge, .account-button { min-height: 28px; height: 28px; border-radius: 6px; font-size: 11px; } .account-button { padding-inline: 8px; } /* Main frame and collapsible market strip. */ .app-main { grid-column: 2; grid-row: 2; width: auto; min-width: 0; min-height: 0; margin: 0; padding: 0 16px 14px; overflow: auto; } .overview-strip { min-height: 34px; display: flex; align-items: stretch; margin: 0 -16px; padding: 0 16px; overflow: hidden; border: 0; border-bottom: 1px solid var(--r2-line); border-radius: 0; background: #fff; box-shadow: none; } .overview-strip .sentiment-block, .overview-strip .metric { min-width: 0; min-height: 33px; display: flex; flex: 0 0 auto; flex-direction: row; align-items: center; gap: 6px; padding: 0 10px; border: 0; } .overview-strip .sentiment-block { padding-left: 0; } .overview-strip .sentiment-block > div:last-child { display: flex; align-items: center; gap: 5px; white-space: nowrap; } .overview-strip .sentiment-gauge { width: 20px; height: 20px; flex: 0 0 20px; border-width: 2px; font-size: 8.5px; } .overview-strip .metric-label { color: var(--r2-sub); font-size: 11px; white-space: nowrap; } .overview-strip .sentiment-text, .overview-strip .metric-value { color: var(--r2-ink); font-size: 12px; font-weight: 600; white-space: nowrap; } .overview-strip .metric-value.small { font-size: 11.5px; } .overview-strip .metric-value.up { color: var(--r2-up); } .overview-strip .metric-value.down { color: var(--r2-down); } .overview-strip .metric-value.warning { color: var(--r2-amber); } .overview-toggle { min-width: max-content; min-height: 33px; margin-left: auto; padding: 0; border: 0; color: var(--r2-blue); font-size: 12px; } .overview-strip[data-overview-expanded="true"] { min-height: 76px; display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)) auto; padding: 0; background: var(--r2-line-soft); gap: 1px; } .overview-strip[data-overview-expanded="true"] .sentiment-block, .overview-strip[data-overview-expanded="true"] .metric { min-height: 76px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 10px 16px; background: #fff; } .overview-strip[data-overview-expanded="true"] .sentiment-block { flex-direction: row; align-items: center; } .overview-strip[data-overview-expanded="true"] .sentiment-gauge { width: 46px; height: 46px; flex-basis: 46px; font-size: 13px; } .overview-strip[data-overview-expanded="true"] .metric-value { font-size: 18px; } .overview-strip[data-overview-expanded="true"] .overview-toggle { justify-content: center; padding: 0 12px; background: #fff; } .workspace-view { margin-top: 14px; border-color: var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .status-bar { position: fixed; right: 0; bottom: 0; left: 200px; z-index: 55; grid-column: 2; grid-row: 3; width: auto; min-height: 30px; height: 30px; display: flex; align-items: center; justify-content: center; padding: 0 16px; border-top: 1px solid var(--r2-line); background: #fff; color: var(--r2-faint); font-size: 11.5px; } .status-bar .risk-note { margin: 0; text-align: center; } body.sidebar-collapsed .status-bar { left: 64px; } /* Stage 3: direct visual transfer of emotion.html. */ .redesigned-sentiment-view { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .redesigned-page-head { min-height: 34px; display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0; border: 0; background: transparent; } .redesigned-page-head .section-title-group { display: flex; align-items: baseline; gap: 12px; } .redesigned-page-head .section-title-group h2 { color: var(--r2-ink); font-size: 17px; font-weight: 800; } .redesigned-page-head .section-subtitle { color: var(--r2-faint); font-size: 12px; font-weight: 400; } .redesigned-page-head .section-subtitle b { font-weight: 400; } .redesigned-page-head .toolbar-controls { margin-left: auto; } .redesigned-page-head .segmented { min-height: 28px; display: inline-flex; gap: 2px; padding: 2px; border: 0; border-radius: 8px; background: #f3f4f6; } .redesigned-page-head .segment { min-height: 24px; padding: 4px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--r2-sub); font-size: 12px; } .redesigned-page-head .segment.active { background: #fff; color: var(--r2-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); } .redesigned-page-head #sentimentExportButton { min-height: 28px; height: 28px; padding: 0 11px; font-size: 12px; } .redesigned-emotion-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; align-items: start; margin-bottom: 12px; border: 0; } .redesigned-card { overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: var(--r2-card); box-shadow: var(--r2-shadow); } .redesigned-card-head { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--r2-line-soft); } .redesigned-card-head h3 { color: var(--r2-ink); font-size: 14px; font-weight: 700; } .redesigned-card-head > span { color: var(--r2-faint); font-size: 11px; } .redesigned-card-head .sentiment-current-tag, .redesigned-card-head .sentiment-auto-tag { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 11px; } .redesigned-sentiment-view .sentiment-trend-panel, .redesigned-sentiment-view .sentiment-components-panel, .redesigned-sentiment-view .sentiment-cycle-summary { margin: 0; padding: 0; border: 1px solid var(--r2-line); } .redesigned-sentiment-view .sentiment-chart-legend { min-height: 34px; display: flex; gap: 16px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--r2-line-soft); color: var(--r2-sub); font-size: 11px; } .redesigned-sentiment-view .sentiment-chart-shell { position: relative; height: 320px; padding: 14px 16px 6px; } .redesigned-sentiment-view .sentiment-chart-shell canvas { height: 300px; } .sentiment-chart-tooltip { position: absolute; z-index: 5; pointer-events: none; padding: 5px 9px; border-radius: 6px; background: var(--r2-ink); color: #fff; font-size: 11px; white-space: nowrap; } .sentiment-chart-tooltip b { font-weight: 700; } .redesigned-sentiment-view .sentiment-analysis-rail { display: flex; flex-direction: column; gap: 12px; } .sentiment-phase-block { display: flex; align-items: flex-start; gap: 16px; padding: 14px 16px; } .sentiment-current-phase-badge { min-width: 94px; flex: 0 0 auto; display: block; padding: 10px 18px; border: 1px solid #f5cfc9; border-radius: 10px; background: var(--r2-up-soft); text-align: center; } .sentiment-current-phase-badge strong { display: block; color: var(--r2-up); font-size: 19px; font-weight: 800; line-height: 1.35; } .sentiment-current-phase-badge span { display: block; margin-top: 2px; color: var(--r2-sub); font-size: 11px; white-space: nowrap; } .sentiment-phase-info { min-width: 0; flex: 1; } .sentiment-phase-info p { color: var(--r2-sub); font-size: 12.5px; line-height: 1.7; } .sentiment-phase-info p b { font-weight: 700; } .sentiment-phase-info p .down { color: var(--r2-down); } .sentiment-phase-info p .up { color: var(--r2-up); } .sentiment-phase-advice { margin-top: 8px; padding: 5px 9px; border-radius: 6px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 12px; line-height: 1.6; } .sentiment-feedback-strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--r2-line-soft); } .sentiment-feedback-strip > span { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 8px 12px; color: var(--r2-faint); font-size: 10.5px; } .sentiment-feedback-strip > span + span { border-left: 1px solid var(--r2-line-soft); } .sentiment-feedback-strip strong { color: var(--r2-ink); font-size: 11.5px; text-align: right; } .sentiment-feedback-strip small { grid-column: 1 / -1; overflow: hidden; color: var(--r2-sub); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } .redesigned-sentiment-view .sentiment-component-list { padding: 8px 16px 14px; } .redesigned-sentiment-view .sentiment-component-item { padding: 6px 0 4px; border: 0; } .redesigned-sentiment-view .sentiment-component-item > div:first-child { display: grid; grid-template-columns: 88px minmax(0, 1fr) 68px; align-items: center; gap: 10px; min-height: 20px; } .redesigned-sentiment-view .sentiment-component-item strong { color: var(--r2-sub); font-size: 12px; font-weight: 400; } .redesigned-sentiment-view .sentiment-component-item span { display: none; } .redesigned-sentiment-view .sentiment-component-item b { grid-column: 3; grid-row: 1; color: var(--r2-ink); font-size: 12px; font-weight: 700; text-align: right; } .redesigned-sentiment-view .sentiment-component-item b em { color: var(--r2-faint); font-size: 10px; font-style: normal; font-weight: 400; } .redesigned-sentiment-view .sentiment-component-track { grid-column: 2; grid-row: 1; height: 9px; margin: 0; overflow: hidden; border-radius: 5px; background: #f0f2f5; } .redesigned-sentiment-view .sentiment-component-track i, .redesigned-sentiment-view .sentiment-component-item:nth-child(n) .sentiment-component-track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #93b4f5, var(--r2-blue)); } .redesigned-sentiment-view .sentiment-component-item small { display: block; margin: 0 0 0 98px; color: var(--r2-faint); font-size: 10.5px; line-height: 1.45; } .redesigned-sentiment-view .sentiment-stage-guide { margin: 0 0 12px; } .redesigned-sentiment-view .sentiment-stage-guide-head { display: grid; grid-template-columns: 18% 38% 18% 26%; min-height: 34px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--r2-line); background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; } .redesigned-sentiment-view .sentiment-stage-guide-grid { display: block; } .redesigned-sentiment-view .sentiment-stage-guide-grid article, .redesigned-sentiment-view .sentiment-stage-guide-grid article:last-child { min-height: 38px; display: grid; grid-template-columns: 18% 38% 18% 26%; align-items: center; padding: 0 12px; border: 0; border-bottom: 1px solid var(--r2-line-soft); background: #fff; } .redesigned-sentiment-view .sentiment-stage-guide-grid article:last-child { border-bottom: 0; } .redesigned-sentiment-view .sentiment-stage-guide-grid article:hover { background: #f8faff; } .redesigned-sentiment-view .sentiment-stage-guide-grid article.current { background: var(--r2-up-soft); box-shadow: none; } .redesigned-sentiment-view .sentiment-stage-guide-grid article strong, .redesigned-sentiment-view .sentiment-stage-guide-grid article span, .redesigned-sentiment-view .sentiment-stage-guide-grid article small { display: block; min-width: 0; padding: 0 12px 0 0; overflow: visible; color: var(--r2-ink); font-size: 12.5px; line-height: 1.45; text-overflow: clip; white-space: normal; } .redesigned-sentiment-view .sentiment-stage-guide-grid article strong { font-weight: 700; } .redesigned-sentiment-view .sentiment-stage-guide-grid article .stage-range { color: var(--r2-ink); text-align: right; font-variant-numeric: tabular-nums; } .redesigned-sentiment-view .sentiment-stage-guide-grid article.current strong { color: var(--r2-up); } .redesigned-sentiment-view .sentiment-detail-toolbar { min-height: 44px; margin: 0; padding: 9px 14px; border: 1px solid var(--r2-line); border-bottom: 0; border-radius: var(--r2-radius) var(--r2-radius) 0 0; background: #fff; } .redesigned-sentiment-view .sentiment-detail-toolbar h2 { font-size: 14px; font-weight: 700; } .redesigned-sentiment-view .sentiment-history-frame { max-height: none; overflow: auto; border: 1px solid var(--r2-line); border-radius: 0 0 var(--r2-radius) var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .redesigned-sentiment-view .sentiment-history-table { font-size: 12.5px; } .redesigned-sentiment-view .sentiment-history-table th, .redesigned-sentiment-view .sentiment-history-table td { height: auto; padding: 8px 10px; border-bottom: 1px solid var(--r2-line-soft); } .redesigned-sentiment-view .sentiment-history-table thead th { background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; } .redesigned-sentiment-view .sentiment-history-groups th { background: #f3f5f7; } @media (max-width: 1180px) { .market-tape .market-item:nth-child(n + 3) { display: none; } .redesigned-emotion-grid { grid-template-columns: minmax(0, 1fr) 320px; } } @media (max-width: 1023px) and (min-width: 721px) { body { grid-template-columns: 64px minmax(0, 1fr); } .module-nav { width: 64px; padding-inline: 7px; } .sidebar-brand { justify-content: center; margin-inline: -7px; padding-inline: 0; } .sidebar-brand strong, .module-nav .nav-group-label, .module-nav .module-tab span, .sidebar-collapse-button span { display: none; } .module-nav .module-tab, .sidebar-collapse-button { justify-content: center; padding-inline: 0; } .redesigned-emotion-grid { grid-template-columns: 1fr; } .sentiment-analysis-rail { display: grid !important; grid-template-columns: 1fr 1fr; } } @media (max-width: 720px), (max-width: 1023px) and (max-height: 600px) { body, body.sidebar-collapsed { display: block; padding-bottom: 58px; } .app-header { position: sticky; width: 100%; height: auto; min-height: 50px; padding: 6px 8px; } .market-tape { display: none; } .header-actions { width: 100%; } .header-command-group { position: absolute; } .module-nav, body.sidebar-collapsed .module-nav { inset: auto 0 0; width: 100%; height: 58px; min-height: 58px; max-height: 58px; display: flex; flex-direction: row; justify-content: space-around; padding: 0 max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left)); overflow: hidden; border: 0; border-top: 1px solid var(--r2-line); } .sidebar-brand, .module-nav .nav-group-label, .sidebar-collapse-button, .module-nav .market-sub-tab { display: none; } .module-nav .nav-group, body.sidebar-collapsed .module-nav .nav-group { display: contents; } .module-nav .module-tab, body.sidebar-collapsed .module-nav .module-tab { display: none; } .module-nav .module-tab.mobile-primary-tab, body.sidebar-collapsed .module-nav .module-tab.mobile-primary-tab { min-height: 54px; display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; gap: 3px; padding: 3px 2px; font-size: 10px; } .module-nav .module-tab.mobile-primary-tab span { display: inline; } .app-main { width: 100%; margin: 0; padding: 0 8px 16px; overflow: visible; } .overview-strip { margin-inline: -8px; padding-inline: 8px; overflow-x: auto; } .overview-strip .metric:nth-of-type(n + 4), .overview-strip .metric-wide { display: none; } .overview-toggle { display: none; } .redesigned-page-head { align-items: flex-start; flex-wrap: wrap; margin-top: 12px; } .redesigned-page-head .section-title-group { width: 100%; flex-wrap: wrap; } .redesigned-page-head .toolbar-controls { width: 100%; margin-left: 0; justify-content: space-between; } .redesigned-emotion-grid { grid-template-columns: 1fr; } .redesigned-sentiment-view .sentiment-chart-shell { height: 270px; padding-inline: 8px; } .redesigned-sentiment-view .sentiment-chart-shell canvas { height: 250px; } .sentiment-phase-block { flex-direction: column; } .sentiment-analysis-rail { display: flex !important; } .redesigned-sentiment-view .sentiment-stage-guide { overflow-x: auto; } .redesigned-sentiment-view .sentiment-stage-guide-head, .redesigned-sentiment-view .sentiment-stage-guide-grid { min-width: 680px; } .status-bar { display: none; } } @media (prefers-reduced-motion: reduce) { .redesigned-sentiment-view * { scroll-behavior: auto; } } /* Stage 4: direct visual transfer of pool.html. */ .redesigned-pool-view { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .pool-page-head .section-subtitle { color: var(--r2-faint); font-size: 12px; font-weight: 400; } .pool-filter-segments .segment span { margin-left: 2px; color: var(--r2-faint); font-size: 11px; font-weight: 400; } .pool-filter-segments .segment.active span { color: var(--r2-blue); } .pool-search-field { position: relative; height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; } .pool-search-field .lucide { width: 14px; height: 14px; flex: 0 0 14px; color: var(--r2-faint); stroke-width: 1.8; } .pool-search-field input { width: 174px; height: 28px; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--r2-ink); font-size: 12px; } .pool-search-field:focus-within { border-color: var(--r2-blue-line); } #limitPool .redesigned-pool-grid { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; align-items: start; } .redesigned-pool-view .pool-table-card { width: 100%; min-width: 0; max-height: calc(100vh - 230px); overflow: auto; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .redesigned-pool-view .data-table { border-collapse: collapse; color: var(--r2-ink); font-size: 12.5px; white-space: nowrap; } .redesigned-pool-view .data-table th, .redesigned-pool-view .data-table td { height: auto; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--r2-line-soft); background: #fff; vertical-align: middle; } .redesigned-pool-view .data-table th { height: 34px; position: sticky; top: 0; z-index: 2; padding-block: 8px; background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; } .redesigned-pool-view .data-table th[data-sort]:hover { background: #f8fafc; color: var(--r2-blue); } .redesigned-pool-view .data-table tbody tr:hover td { background: #f8faff; } .redesigned-pool-view .data-table .row-number { width: 38px; color: var(--r2-faint); text-align: right; } .redesigned-pool-view .data-table .number { text-align: right; font-variant-numeric: tabular-nums; } .redesigned-pool-view .data-table .muted { color: var(--r2-faint); } .redesigned-pool-view .data-table .up { color: var(--r2-up); } .pool-stock-cell { display: flex; align-items: baseline; gap: 6px; min-width: 128px; } .pool-stock-cell .stock-name { color: var(--r2-ink); font-size: 13px; font-weight: 700; } .pool-stock-cell .stock-code { color: var(--r2-faint); font-size: 11px; font-weight: 400; } .pool-streak-tag, .pool-state-tag { display: inline-block; padding: 1.5px 7px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; line-height: 1.6; } .pool-streak-tag { background: var(--r2-up-soft); color: var(--r2-up); } .pool-state-tag.one-word { background: #fff3d9; color: #ad6800; } .pool-state-tag.broken { background: #f3f4f6; color: #6b7280; } .pool-insight-rail { min-width: 0; display: flex; flex-direction: column; gap: 12px; border: 0; background: transparent; } .pool-insight-rail .rail-section { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .pool-insight-rail .rail-section + .rail-section { border-top: 1px solid var(--r2-line); } .pool-insight-rail .rail-heading { min-height: 42px; margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--r2-line-soft); } .pool-insight-rail .rail-heading h3 { color: var(--r2-ink); font-size: 14px; font-weight: 700; } .pool-insight-rail .rail-heading > span { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 11px; font-weight: 400; } .pool-insight-rail .text-button { margin-left: auto; padding: 3px 0; color: var(--r2-blue); font-size: 12px; } .pool-side-list { display: block; padding: 6px 14px 10px; } .pool-side-group { padding: 7px 0; border-bottom: 1px dashed var(--r2-line-soft); } .pool-side-group:last-child { border-bottom: 0; } .pool-side-group > div { display: flex; align-items: center; margin-bottom: 4px; font-size: 12px; } .pool-side-group > div strong { color: var(--r2-up); font-weight: 700; } .pool-side-group > div small { margin-left: auto; color: var(--r2-faint); font-size: 11px; } .pool-side-group p { margin: 0; overflow: hidden; color: var(--r2-sub); font-size: 12px; line-height: 1.8; text-overflow: ellipsis; white-space: nowrap; } .pool-side-group p em { color: var(--r2-faint); font-style: normal; } .pool-hot-list { display: block; padding: 6px 14px 10px; } .pool-hot-row { display: flex; align-items: center; gap: 8px; padding: 5.5px 0; border-bottom: 1px dashed var(--r2-line-soft); font-size: 12.5px; } .pool-hot-row:last-child { border-bottom: 0; } .pool-hot-row strong { min-width: 0; flex: 1; overflow: hidden; color: var(--r2-ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } .pool-hot-row span { color: var(--r2-up); font-weight: 700; font-variant-numeric: tabular-nums; } @media (max-width: 1100px) { #limitPool .redesigned-pool-grid { grid-template-columns: minmax(0, 1fr) 280px; } .pool-search-field input { width: 135px; } } @media (max-width: 860px) { .pool-page-head { align-items: flex-start; flex-wrap: wrap; } .pool-page-head .section-title-group { width: 100%; } .pool-page-head .toolbar-controls { width: 100%; margin-left: 0; } #limitPool .redesigned-pool-grid { grid-template-columns: minmax(0, 1fr); } .redesigned-pool-view .pool-table-card { max-height: 560px; } .pool-insight-rail { display: grid; grid-template-columns: 1fr 1fr; } } @media (max-width: 720px), (max-width: 1023px) and (max-height: 600px) { .pool-page-head .toolbar-controls { flex-wrap: wrap; } .pool-filter-segments { width: 100%; } .pool-filter-segments .segment { min-width: 0; flex: 1; padding-inline: 6px; } .pool-search-field { min-width: 0; flex: 1; } .pool-search-field input { width: 100%; } #limitPool .redesigned-pool-grid { width: 100%; min-width: 0; display: flex; flex-direction: column; } .redesigned-pool-view .pool-table-card { max-height: 520px; } .pool-insight-rail { width: 100%; min-width: 0; display: flex; } } /* Stage 5: direct visual transfer of broken.html. */ .redesigned-broken-view { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .broken-page-head .section-subtitle b { color: var(--r2-faint); font-weight: 400; } .broken-page-head .toolbar-controls { display: flex; align-items: center; gap: 8px; } .broken-search-field input { width: 180px; } .broken-export-button { min-height: 28px; height: 28px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #374151; font-size: 12px; font-weight: 500; box-shadow: none; } .broken-export-button:hover { border-color: var(--r2-blue-line); color: var(--r2-blue); } .redesigned-broken-view .broken-table-card { width: 100%; min-width: 0; max-height: calc(100vh - 172px); overflow: auto; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .redesigned-broken-view .data-table { width: 100%; border-collapse: collapse; color: var(--r2-ink); font-size: 12.5px; white-space: nowrap; } .redesigned-broken-view .data-table th, .redesigned-broken-view .data-table td { height: auto; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--r2-line-soft); background: #fff; vertical-align: middle; } .redesigned-broken-view .data-table th { height: 34px; position: sticky; top: 0; z-index: 2; padding-block: 8px; background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; } .redesigned-broken-view .data-table th[data-broken-sort] { cursor: pointer; user-select: none; } .redesigned-broken-view .data-table th[data-broken-sort]:hover { color: var(--r2-blue); } .redesigned-broken-view .data-table th[data-broken-sort]::after { content: "\2195"; margin-left: 3px; color: var(--r2-faint); font-size: 9px; } .redesigned-broken-view .data-table th[data-broken-sort].sort-asc::after { content: "\2191"; color: var(--r2-blue); } .redesigned-broken-view .data-table th[data-broken-sort].sort-desc::after { content: "\2193"; color: var(--r2-blue); } .redesigned-broken-view .data-table tbody tr:hover td { background: #f8faff; } .redesigned-broken-view .data-table .row-number { width: 38px; color: var(--r2-faint); text-align: right; } .redesigned-broken-view .data-table .number { text-align: right; font-variant-numeric: tabular-nums; } .redesigned-broken-view .data-table .muted { color: var(--r2-faint); } .redesigned-broken-view .data-table .up { color: var(--r2-up); } .redesigned-broken-view .data-table .down { color: var(--r2-down); } .redesigned-broken-view .broken-limit-gap { color: var(--r2-amber); font-weight: 700; } .broken-repeat-tag { display: inline-block; padding: 1.5px 7px; border-radius: 5px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 11px; line-height: 1.6; } .redesigned-broken-view .empty-state { padding: 36px; border: 0; color: var(--r2-faint); text-align: center; } @media (max-width: 720px), (max-width: 1023px) and (max-height: 600px) { .broken-page-head .toolbar-controls { flex-wrap: nowrap; } .broken-search-field { min-width: 0; flex: 1; } .broken-search-field input { width: 100%; } .redesigned-broken-view .broken-table-card { max-height: 520px; } } /* Stage 6: direct visual transfer of limit.html. */ .redesigned-down-view { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .down-page-head .section-subtitle b { color: var(--r2-faint); font-weight: 400; } .down-page-head .toolbar-controls { display: flex; align-items: center; gap: 8px; } .down-sector-cluster { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 5px; background: var(--r2-down-soft); color: var(--r2-down); font-size: 11px; font-weight: 500; white-space: nowrap; } .down-sector-cluster[hidden] { display: none; } .down-search-field input { width: 180px; } .down-export-button { min-height: 28px; height: 28px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #374151; font-size: 12px; font-weight: 500; box-shadow: none; } .down-export-button:hover { border-color: var(--r2-blue-line); color: var(--r2-blue); } .redesigned-down-view .down-table-card { width: 100%; min-width: 0; max-height: none; overflow: auto; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .redesigned-down-view .data-table { width: 100%; border-collapse: collapse; color: var(--r2-ink); font-size: 12.5px; white-space: nowrap; } .redesigned-down-view .data-table th, .redesigned-down-view .data-table td { height: auto; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--r2-line-soft); background: #fff; vertical-align: middle; } .redesigned-down-view .data-table th { height: 34px; position: sticky; top: 0; z-index: 2; padding-block: 8px; background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; } .redesigned-down-view .data-table th[data-down-sort] { cursor: pointer; user-select: none; } .redesigned-down-view .data-table th[data-down-sort]:hover { color: var(--r2-blue); } .redesigned-down-view .data-table th[data-down-sort]::after { content: "\2195"; margin-left: 3px; color: var(--r2-faint); font-size: 9px; } .redesigned-down-view .data-table th[data-down-sort].sort-asc::after { content: "\2191"; color: var(--r2-blue); } .redesigned-down-view .data-table th[data-down-sort].sort-desc::after { content: "\2193"; color: var(--r2-blue); } .redesigned-down-view .data-table tbody tr:hover td { background: #f8faff; } .redesigned-down-view .data-table .row-number { width: 38px; color: var(--r2-faint); text-align: right; } .redesigned-down-view .data-table .number { text-align: right; font-variant-numeric: tabular-nums; } .redesigned-down-view .data-table .down { color: var(--r2-down); } .redesigned-down-view .empty-state { padding: 36px; border: 0; color: var(--r2-faint); text-align: center; } @media (max-width: 900px) { .down-page-head { align-items: flex-start; flex-wrap: wrap; } .down-page-head .section-title-group { width: 100%; } .down-page-head .toolbar-controls { width: 100%; margin-left: 0; } .down-search-field { min-width: 0; flex: 1; } .down-search-field input { width: 100%; } } @media (max-width: 520px) { .down-page-head .toolbar-controls { flex-wrap: wrap; } .down-sector-cluster { order: -1; } .down-search-field { flex-basis: calc(100% - 76px); } } /* Stage 7: direct visual transfer of yesterday.html. */ .redesigned-yesterday-view { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .yesterday-page-head .section-subtitle b { color: var(--r2-faint); font-weight: 400; } .yesterday-page-head .toolbar-controls { display: flex; align-items: center; gap: 8px; } .yesterday-search-field input { width: 180px; } .yesterday-export-button { min-height: 28px; height: 28px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #374151; font-size: 12px; font-weight: 500; box-shadow: none; } .yesterday-export-button:hover { border-color: var(--r2-blue-line); color: var(--r2-blue); } .yesterday-table-card { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .yesterday-result-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border-bottom: 1px solid var(--r2-line-soft); background: var(--r2-line-soft); } .yesterday-summary-cell { min-width: 0; display: block; padding: 12px 16px; border: 0; border-radius: 0; background: #fff; color: var(--r2-ink); text-align: left; box-shadow: none; transition: background 150ms ease; } .yesterday-summary-cell:hover { background: #f8faff; } .yesterday-summary-cell.active { background: var(--r2-blue-soft); box-shadow: inset 0 -2px 0 var(--r2-blue); } .yesterday-summary-cell .summary-label { min-height: 18px; display: flex; align-items: center; gap: 6px; color: var(--r2-sub); font-size: 12px; } .yesterday-summary-cell > strong { display: block; margin-top: 2px; color: var(--r2-ink); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; } .yesterday-summary-cell > strong.up { color: var(--r2-up); } .yesterday-summary-cell > strong.down { color: var(--r2-down); } .yesterday-summary-cell > strong b { font: inherit; } .yesterday-summary-cell > strong small { color: var(--r2-faint); font-size: 11px; font-weight: 400; } .yesterday-summary-cell > em { display: block; margin-top: 2px; color: var(--r2-faint); font-size: 11px; font-style: normal; } .yesterday-outcome-tag, .yesterday-height-tag { display: inline-block; padding: 1.5px 7px; border-radius: 5px; font-size: 11px; font-style: normal; font-weight: 500; line-height: 1.6; white-space: nowrap; } .yesterday-outcome-tag.advance, .yesterday-outcome-tag.positive, .yesterday-height-tag { background: var(--r2-up-soft); color: var(--r2-up); } .yesterday-outcome-tag.fail { border: 1px solid var(--r2-line); background: #f3f4f6; color: #4b5563; } .yesterday-outcome-tag.broken { background: var(--r2-amber-soft); color: var(--r2-amber); } .yesterday-outcome-tag.down { background: var(--r2-down-soft); color: var(--r2-down); } .redesigned-yesterday-view .yesterday-table-scroll { min-height: 0; max-height: calc(100vh - 330px); overflow: auto; border: 0; } .redesigned-yesterday-view .data-table { width: 100%; border-collapse: collapse; color: var(--r2-ink); font-size: 12.5px; white-space: nowrap; } .redesigned-yesterday-view .data-table th, .redesigned-yesterday-view .data-table td { height: auto; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--r2-line-soft); background: #fff; vertical-align: middle; } .redesigned-yesterday-view .data-table th { height: 34px; position: sticky; top: 0; z-index: 2; padding-block: 8px; background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; } .redesigned-yesterday-view .data-table th[data-yesterday-sort] { cursor: pointer; user-select: none; } .redesigned-yesterday-view .data-table th[data-yesterday-sort]:hover { color: var(--r2-blue); } .redesigned-yesterday-view .data-table th[data-yesterday-sort]::after { content: "\2195"; margin-left: 3px; color: var(--r2-faint); font-size: 9px; } .redesigned-yesterday-view .data-table th[data-yesterday-sort].sort-asc::after { content: "\2191"; color: var(--r2-blue); } .redesigned-yesterday-view .data-table th[data-yesterday-sort].sort-desc::after { content: "\2193"; color: var(--r2-blue); } .redesigned-yesterday-view .data-table tbody tr:hover td { background: #f8faff; } .redesigned-yesterday-view .data-table .row-number { width: 38px; color: var(--r2-faint); text-align: right; } .redesigned-yesterday-view .data-table .number { text-align: right; font-variant-numeric: tabular-nums; } .redesigned-yesterday-view .data-table .up { color: var(--r2-up); } .redesigned-yesterday-view .data-table .down { color: var(--r2-down); } .redesigned-yesterday-view .empty-state { padding: 36px; border: 0; color: var(--r2-faint); text-align: center; } @media (max-width: 820px) { .yesterday-page-head { align-items: flex-start; flex-wrap: wrap; } .yesterday-page-head .section-title-group { width: 100%; } .yesterday-page-head .toolbar-controls { width: 100%; margin-left: 0; } .yesterday-search-field { min-width: 0; flex: 1; } .yesterday-search-field input { width: 100%; } .yesterday-result-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yesterday-summary-cell:last-child:nth-child(odd) { grid-column: 1 / -1; } .redesigned-yesterday-view .yesterday-table-scroll { max-height: none; } } @media (max-width: 420px) { .yesterday-summary-cell { padding: 10px 12px; } .yesterday-summary-cell > strong { font-size: 19px; } } /* Stage 8: limit-up performance, transferred from ../界面优化/perf.html. */ .redesigned-performance-view { overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--r2-ink); box-shadow: none; } .performance-page-head { margin-bottom: 12px; } .performance-page-head .section-subtitle b { font-weight: 400; } .redesigned-performance-view .performance-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; padding: 0; border: 0; } .performance-stage-card { min-width: 0; padding: 14px 16px; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .performance-stage-label { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--r2-sub); font-size: 12px; } .performance-stage-label > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .performance-status-tag { flex: 0 0 auto; display: inline-block; padding: 1.5px 7px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-style: normal; font-weight: 500; line-height: 1.6; } .performance-status-tag.is-neutral { border-color: var(--r2-line); background: #f3f4f6; color: #4b5563; } .performance-status-tag.is-warning { background: var(--r2-amber-soft); color: var(--r2-amber); } .performance-status-tag.is-active { background: var(--r2-up-soft); color: var(--r2-up); } .performance-stage-rate { display: block; margin-top: 6px; color: var(--r2-up); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; } .performance-stage-rate.is-neutral { color: var(--r2-faint); } .performance-stage-rate.is-warning { color: #d97706; } .performance-stage-rate.is-active { color: var(--r2-up); } .performance-stage-count { display: block; margin-top: 4px; color: var(--r2-faint); font-size: 11.5px; } .performance-stage-track { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 3px; background: #f0f2f5; } .performance-stage-track i { display: block; height: 100%; border-radius: 3px; background: var(--r2-up); transition: width 620ms ease; } .performance-stage-track i.is-neutral { background: var(--r2-faint); } .performance-stage-track i.is-warning { background: #d97706; } .performance-stage-track i.is-active { background: var(--r2-up); } .performance-empty-state { grid-column: 1 / -1; padding: 34px; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; color: var(--r2-faint); text-align: center; } .performance-insight-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; align-items: start; } .performance-panel-card { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .redesigned-performance-view .market-breadth-panel { margin: 0; padding: 0; background: #fff; } .performance-panel-head { min-height: 43px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--r2-line-soft); } .performance-panel-head h3 { margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 700; } .performance-date-tag { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 11px; white-space: nowrap; } .performance-width-box { padding: 14px 16px; } .performance-width-summary { display: flex; justify-content: space-between; gap: 16px; color: var(--r2-ink); font-size: 12.5px; } .performance-width-summary b { font-weight: 700; font-variant-numeric: tabular-nums; } .performance-width-bar { height: 22px; display: flex; margin-top: 8px; overflow: hidden; border-radius: 6px; background: #f0f2f5; } .performance-width-bar i { display: block; width: 0; transition: width 760ms ease; } .performance-width-bar .breadth-up { background: var(--r2-up); } .performance-width-bar .breadth-flat { background: #aab3bc; } .performance-width-bar .breadth-down { background: var(--r2-down); } .performance-width-legend { display: flex; align-items: center; gap: 18px; margin-top: 8px; color: var(--r2-sub); font-size: 11.5px; } .performance-width-legend > span { white-space: nowrap; } .performance-width-legend b { font-weight: 400; } .performance-width-legend i { width: 10px; height: 10px; display: inline-block; margin-right: 4px; border-radius: 2px; vertical-align: -1px; } .performance-width-legend .up-swatch { background: var(--r2-up); } .performance-width-legend .flat-swatch { background: #aab3bc; } .performance-width-legend .down-swatch { background: var(--r2-down); } .performance-width-warning { margin-left: auto; color: var(--r2-amber); } .performance-conclusion { padding: 14px 16px; color: var(--r2-sub); font-size: 12.5px; line-height: 2; } .performance-conclusion b { color: var(--r2-ink); font-weight: 700; } .performance-conclusion b.up, .performance-conclusion b.is-active { color: var(--r2-up); } .performance-conclusion b.is-warning { color: var(--r2-amber); } .performance-conclusion b.is-neutral { color: var(--r2-faint); } @media (max-width: 1180px) { .redesigned-performance-view .performance-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .performance-insight-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 720px) { .redesigned-performance-view .performance-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .performance-stage-card { min-height: 0; padding: 12px; } .performance-width-summary, .performance-width-legend { flex-wrap: wrap; } .performance-width-warning { width: 100%; margin-left: 0; } } @media (max-width: 420px) { .redesigned-performance-view .performance-cards { grid-template-columns: minmax(0, 1fr); } } /* Stage 9: market ladder, transferred from ../界面优化/ladder.html. */ .redesigned-ladder-view { overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .ladder-page-head { margin-bottom: 12px; } .ladder-page-head .section-subtitle b { font-weight: 400; } .ladder-head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; } .ladder-sort-segment { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: #f3f4f6; } .ladder-sort-segment button { padding: 4px 12px; border-radius: 6px; color: var(--r2-sub); font-size: 12px; } .ladder-sort-segment button.active { background: #fff; color: var(--r2-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); } .market-ladder-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; align-items: start; } .market-ladder-board { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .market-ladder-tier { display: flex; min-width: 0; border-bottom: 1px solid var(--r2-line-soft); } .market-ladder-tier:last-child { border-bottom: 0; } .market-ladder-label { width: 118px; flex: 0 0 118px; padding: 14px 0 14px 16px; border-right: 1px solid var(--r2-line-soft); background: linear-gradient(90deg, color-mix(in srgb, var(--tier-color) 8%, #fff), #fff); } .market-ladder-tier.is-gap .market-ladder-label { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 8px, #f3f4f6 8px, #f3f4f6 16px); } .market-ladder-level { display: inline-flex; align-items: center; gap: 6px; color: var(--tier-color); font-size: 15px; font-weight: 800; } .market-ladder-dot { width: 9px; height: 9px; display: inline-block; border-radius: 3px; background: var(--tier-color); } .market-ladder-count { margin-top: 3px; color: var(--r2-faint); font-size: 11px; } .market-ladder-rate { margin-top: 6px; color: var(--r2-sub); font-size: 10.5px; } .market-ladder-rate b { color: var(--r2-ink); font-weight: 700; } .market-ladder-stocks { min-width: 0; flex: 1; display: grid; grid-template-columns: repeat(auto-fill, 190px); justify-content: start; align-content: flex-start; gap: 8px; padding: 12px 14px; } .market-ladder-stock { min-width: 0; width: 190px; display: block; padding: 7px 11px; border: 1px solid var(--r2-line); border-radius: 8px; background: #fff; color: var(--r2-ink); text-align: left; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; } .market-ladder-stock:hover, .market-ladder-stock:focus-visible { border-color: var(--r2-blue-line); box-shadow: 0 3px 10px rgba(16, 24, 40, .1); outline: 0; transform: translateY(-1px); } .market-ladder-stock-first, .market-ladder-stock-second { min-width: 0; display: flex; align-items: center; gap: 6px; } .market-ladder-stock-first strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; } .market-ladder-stock-first .stock-code { flex: 0 0 auto; color: var(--r2-faint); font-size: 10.5px; } .market-ladder-tags { min-width: 0; display: flex; gap: 3px; margin-left: auto; } .market-ladder-tag { display: inline-block; padding: 1px 5px; border-radius: 4px; font-size: 10px; font-style: normal; line-height: 1.5; white-space: nowrap; } .market-ladder-tag.one-price { background: var(--r2-up-soft); color: #c22e2e; font-weight: 700; } .market-ladder-tag.broken { background: var(--r2-amber-soft); color: var(--r2-amber); } .market-ladder-stock-second { margin-top: 4px; color: var(--r2-sub); font-size: 11px; } .market-ladder-stock-second b { max-width: 92px; overflow: hidden; padding: 0 5px; border-radius: 4px; background: var(--r2-blue-soft); color: var(--r2-blue); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; } .market-ladder-stock-second small { color: var(--r2-sub); font-size: 10.5px; font-variant-numeric: tabular-nums; white-space: nowrap; } .market-ladder-stock-second small:last-child { margin-left: auto; color: var(--r2-faint); } .market-ladder-gap-note { align-self: center; padding: 8px 14px; border: 1.5px dashed var(--r2-line); border-radius: 8px; color: var(--r2-faint); font-size: 12px; } .market-ladder-more { align-self: center; justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px; border: 1px dashed var(--r2-line); border-radius: 8px; color: var(--r2-sub); font-size: 12px; white-space: nowrap; } .market-ladder-more:hover, .market-ladder-more:focus-visible { border-color: var(--r2-blue-line); color: var(--r2-blue); outline: 0; } .market-ladder-insights { min-width: 0; display: flex; flex-direction: column; gap: 12px; } .market-ladder-insight-card { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .market-ladder-insight-card > header { min-height: 42px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--r2-line-soft); } .market-ladder-insight-card > header h3 { margin: 0; font-size: 13.5px; font-weight: 700; } .market-ladder-insight-card > header span { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 11px; } .market-ladder-apex { padding: 14px 16px 8px; } .market-ladder-apex > div { display: flex; align-items: baseline; gap: 10px; } .market-ladder-apex strong { color: var(--r2-up); font-size: 26px; font-weight: 800; } .market-ladder-apex em { padding: 2px 7px; border-radius: 5px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 11.5px; font-style: normal; } .market-ladder-apex p { margin: 8px 0 0; color: var(--r2-ink); font-size: 12.5px; line-height: 1.9; } .market-ladder-apex p b { font-weight: 700; } .market-ladder-insight-card > p { margin: 0; padding: 0 14px 12px; color: var(--r2-sub); font-size: 11.5px; line-height: 1.7; } .market-ladder-pyramid { padding: 8px 16px 10px; } .market-ladder-pyramid-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .market-ladder-pyramid-row > span { width: 52px; color: var(--r2-sub); font-size: 12px; text-align: right; } .market-ladder-pyramid-row > i { flex: 1; height: 14px; overflow: hidden; border-radius: 4px; background: #f3f4f6; } .market-ladder-pyramid-row > i b { display: block; height: 100%; border-radius: 4px; background: var(--r2-blue); } .market-ladder-pyramid-row:nth-child(2) > i b { background: var(--r2-up); } .market-ladder-pyramid-row:nth-child(3) > i b { background: var(--r2-amber); } .market-ladder-pyramid-row:nth-child(4) > i b { background: var(--r2-down); } .market-ladder-pyramid-row.is-gap > i { background: repeating-linear-gradient(45deg, #e5e7eb, #e5e7eb 4px, #f3f4f6 4px, #f3f4f6 8px); } .market-ladder-pyramid-row.is-gap > i b { background: transparent; } .market-ladder-pyramid-row > strong { width: 44px; color: var(--r2-ink); font-size: 12px; font-variant-numeric: tabular-nums; } .market-ladder-pyramid-row.is-gap > strong { color: var(--r2-faint); font-weight: 400; } .market-ladder-rate-list { padding: 6px 16px 8px; } .market-ladder-rate-list > div { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; } .market-ladder-rate-list > div > span { width: 112px; color: var(--r2-sub); } .market-ladder-rate-list > div > i { flex: 1; height: 8px; overflow: hidden; border-radius: 4px; background: #f3f4f6; } .market-ladder-rate-list > div > i b { display: block; height: 100%; border-radius: 4px; background: var(--r2-up); } .market-ladder-rate-list > div > i b.is-low { background: #f59e0b; } .market-ladder-rate-list > div > i b.is-zero { background: #d1d5db; } .market-ladder-rate-list > div > strong { width: 44px; color: var(--r2-up); text-align: right; font-variant-numeric: tabular-nums; } .market-ladder-rate-list > div > strong.is-low { color: var(--r2-amber); } .market-ladder-rate-list > div > strong.is-zero { color: var(--r2-faint); } .market-ladder-source { display: block; padding: 0 16px 12px; color: var(--r2-faint); font-size: 10.5px; } @media (max-width: 1020px) { .market-ladder-workspace { grid-template-columns: minmax(0, 1fr); } .market-ladder-insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 720px) { .redesigned-performance-view, .redesigned-ladder-view { padding: 0; } .ladder-page-head { align-items: flex-start; flex-wrap: wrap; } .ladder-page-head .section-title-group { width: 100%; } .ladder-head-actions { width: 100%; margin-left: 0; justify-content: space-between; } .market-ladder-insights { grid-template-columns: minmax(0, 1fr); } .market-ladder-tier { display: block; } .market-ladder-label { width: 100%; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--r2-line-soft); } .market-ladder-level { font-size: 14px; } .market-ladder-rate { display: inline-block; margin: 0 0 0 8px; } .market-ladder-stocks { padding: 9px; } .market-ladder-stocks { grid-template-columns: minmax(0, 1fr); } .market-ladder-stock { width: 100%; min-width: 0; } .market-ladder-more { margin: 0 0 0 8px; } } /* Stage 10: sector rotation, transferred from rotation.html. */ .redesigned-rotation-view { min-width: 0; padding: 14px 16px 18px; } .rotation-page-head { min-height: 34px; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .rotation-page-head h2 { margin: 0; color: var(--r2-ink); font-size: 17px; font-weight: 800; letter-spacing: 0; } .rotation-page-head p { margin: 2px 0 0; color: var(--r2-faint); font-size: 12px; line-height: 1.5; } .rotation-head-actions { min-width: 0; display: flex; align-items: center; gap: 8px; margin-left: auto; } .rotation-order-control { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: #f3f4f6; } .rotation-order-control button { min-height: 28px; padding: 4px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--r2-sub); font-size: 12px; line-height: 1; } .rotation-order-control button.active { background: #fff; color: var(--r2-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); } .rotation-order-control button:focus-visible, .rotation-export-button:focus-visible, .rotation-track-cancel:focus-visible, .rotation-sector-chip:focus-visible { outline: 2px solid rgba(37, 99, 235, .28); outline-offset: 2px; } .rotation-export-button, .rotation-track-cancel { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 5px 12px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #374151; font-size: 12px; font-weight: 500; } .rotation-export-button:hover, .rotation-track-cancel:hover { border-color: var(--r2-blue-line); color: var(--r2-blue); } .rotation-trajectory-card, .rotation-detail-card { min-width: 0; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .rotation-detail-card { margin-top: 12px; overflow: hidden; } .rotation-card-head { min-height: 45px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--r2-line-soft); } .rotation-card-head > div { min-width: 0; display: flex; align-items: baseline; gap: 8px; } .rotation-card-head h3 { flex: 0 0 auto; margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 700; letter-spacing: 0; } .rotation-card-head > div > span { min-width: 0; color: var(--r2-faint); font-size: 11px; line-height: 1.5; } .rotation-top-tag { flex: 0 0 auto; margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 11px; font-weight: 400; white-space: nowrap; } #rotationView .rotation-legend { min-height: 36px; display: flex; align-items: center; gap: 14px; padding: 8px 14px; border-bottom: 1px solid var(--r2-line-soft); color: var(--r2-sub); font-size: 11px; line-height: 1.5; } #rotationView .rotation-legend > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; } #rotationView .rotation-swatch { width: 14px; height: 10px; flex: 0 0 auto; display: inline-block; border-radius: 2px; } #rotationView .rotation-swatch.strong { background: #709bf5; } #rotationView .rotation-swatch.warm { background: #cbdcff; } #rotationView .rotation-swatch.mild { background: #f0f4fa; border: 1px solid #dfe6f0; } #rotationView .rotation-tracker { min-height: 48px; display: flex; align-items: center; gap: 16px; padding: 8px 14px; border-bottom: 1px solid var(--r2-blue-line); background: var(--r2-blue-soft); } #rotationView .rotation-tracker[hidden] { display: none; } #rotationView .rotation-tracker-copy { min-width: 260px; display: flex; align-items: baseline; gap: 12px; } #rotationView .rotation-tracker-copy strong { flex: 0 0 auto; color: var(--r2-blue); font-size: 13.5px; font-weight: 800; } #rotationView .rotation-tracker-copy span { color: #3b62c4; font-size: 12px; white-space: nowrap; } #rotationView .rotation-tracker-copy b { font-weight: 700; } #rotationView .rotation-tracker-spark { height: 28px; flex: 1; display: grid; grid-template-columns: repeat(9, 12px); align-items: end; gap: 4px; } #rotationView .rotation-tracker-spark > span { height: 100%; display: flex; align-items: end; justify-content: center; position: relative; } #rotationView .rotation-tracker-spark i { width: 12px; height: var(--spark-height); min-height: 4px; display: block; border-radius: 2px 2px 0 0; background: #93b4f5; } #rotationView .rotation-tracker-spark small { position: absolute; top: -1px; color: #3b62c4; font-size: 9px; } #rotationView .rotation-tracker-spark .missing i { height: 8px; border: 1px dashed #b9c8e8; border-bottom: 0; background: transparent; } #rotationView .rotation-tracker-spark .missing small { display: none; } .rotation-track-cancel { margin-left: auto; padding: 4px 9px; } #rotationView .rotation-history { width: 100%; min-height: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0; padding: 0; overflow: visible; } #rotationView .rotation-day { min-width: 0; border: 0; border-right: 1px solid var(--r2-line-soft); border-radius: 0; background: #fff; box-shadow: none; } #rotationView .rotation-day:last-child { border-right: 0; } #rotationView .rotation-day > header { min-height: 46px; padding: 8px 9px; border-bottom: 1px solid var(--r2-line-soft); background: #f8fafc; } #rotationView .rotation-day > header time { display: block; color: var(--r2-ink); font-size: 12.5px; font-weight: 700; } #rotationView .rotation-day > header span { display: block; margin-top: 1px; color: var(--r2-faint); font-size: 10.5px; } #rotationView .rotation-day.latest-day > header { background: var(--r2-blue-soft); } #rotationView .rotation-day.latest-day > header time { color: var(--r2-blue); } #rotationView .rotation-day.latest-day > header time::after { content: "最新"; margin-left: 5px; padding: 0 4px; border-radius: 4px; background: var(--r2-blue); color: #fff; font-size: 9px; font-weight: 600; vertical-align: 1px; } #rotationView .rotation-day-sectors { display: grid; gap: 4px; padding: 5px; background: #fbfcfe; } #rotationView .rotation-sector-chip { min-width: 0; min-height: 43px; display: grid; grid-template-columns: 17px minmax(0, 1fr) auto; align-items: center; gap: 3px 5px; position: relative; padding: 6px 7px; border: 1px solid transparent; border-radius: 7px; color: var(--r2-ink); text-align: left; transform: translate3d(0, 0, 0); transition: transform 280ms cubic-bezier(.22, 1, .36, 1), background-color 240ms ease, border-color 240ms ease, box-shadow 280ms cubic-bezier(.22, 1, .36, 1), filter 240ms ease, opacity 220ms ease; will-change: transform; } #rotationView .rotation-sector-chip.heat-strong { border-color: rgba(37, 99, 235, .24); background: #c5d7fb; box-shadow: inset 3px 0 0 #5b87e8; } #rotationView .rotation-sector-chip.heat-warm { border-color: rgba(37, 99, 235, .12); background: #e7efff; box-shadow: inset 3px 0 0 #9bb8f2; } #rotationView .rotation-sector-chip.heat-mild { border-color: #e5eaf1; background: #f6f8fb; box-shadow: inset 3px 0 0 #d4dce8; } #rotationView .rotation-sector-chip:hover { z-index: 6; border-color: rgba(37, 99, 235, .34); filter: saturate(1.06); transform: translate3d(2px, -2px, 0) scale(1.015); box-shadow: inset 3px 0 0 var(--r2-blue), 0 7px 16px rgba(37, 74, 145, .16); } #rotationView .rotation-rank { width: 16px; height: 16px; grid-row: 1 / span 2; display: grid; place-items: center; border-radius: 4px; background: rgba(255, 255, 255, .72); color: var(--r2-sub); font-size: 9.5px; font-weight: 700; } #rotationView .rotation-rank.rank-1 { background: #e04536; color: #fff; } #rotationView .rotation-rank.rank-2 { background: #f0714f; color: #fff; } #rotationView .rotation-rank.rank-3 { background: #f5a623; color: #fff; } #rotationView .rotation-sector-chip strong { min-width: 0; overflow: visible; color: var(--r2-ink); font-size: 11.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; white-space: normal; } #rotationView .rotation-sector-chip small { grid-column: 2 / span 2; color: #5d6b82; font-size: 9px; line-height: 1.15; white-space: nowrap; } #rotationView .rotation-sector-chip small b { color: var(--r2-ink); font-weight: 700; } #rotationView .rotation-history.tracking .rotation-sector-chip:not(.selected) { opacity: .22; } #rotationView .rotation-history.tracking .rotation-sector-chip.selected { opacity: 1; border-color: var(--r2-blue); box-shadow: inset 3px 0 0 var(--r2-blue), 0 0 0 1px rgba(37, 99, 235, .12); } .rotation-cell-tooltip { display: none; position: absolute; bottom: calc(100% + 4px); left: 7px; z-index: 20; padding: 4px 8px; border-radius: 5px; background: var(--r2-ink); color: #fff; font-size: 10.5px; font-weight: 400; line-height: 1.4; white-space: nowrap; box-shadow: 0 5px 14px rgba(31, 41, 55, .18); pointer-events: none; } .rotation-sector-chip:hover .rotation-cell-tooltip, .rotation-sector-chip:focus-visible .rotation-cell-tooltip { display: block; } .rotation-table-frame { width: 100%; overflow-x: auto; } #rotationView .rotation-table { width: 100%; border-collapse: collapse; font-size: 12.5px; } #rotationView .rotation-table thead th { height: 37px; padding: 8px 12px; border-bottom: 1px solid var(--r2-line); background: #f8fafc; color: var(--r2-sub); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; } #rotationView .rotation-table thead th.number { text-align: right; } #rotationView .rotation-table thead th[data-auto-sort] { color: #4b5563; cursor: pointer; user-select: none; } #rotationView .rotation-table thead th[data-auto-sort]::after { content: "↕"; margin-left: 4px; color: var(--r2-faint); font-size: 9px; } #rotationView .rotation-table thead th.sort-asc::after { content: "▲"; color: var(--r2-blue); } #rotationView .rotation-table thead th.sort-desc::after { content: "▼"; color: var(--r2-blue); } #rotationView .rotation-table tbody td { height: 42px; padding: 8px 12px; border-bottom: 1px solid var(--r2-line-soft); color: var(--r2-ink); white-space: nowrap; } #rotationView .rotation-table tbody tr:last-child td { border-bottom: 0; } #rotationView .rotation-table tbody tr:hover td { background: #f8faff; } #rotationView .rotation-detail-row { cursor: pointer; } #rotationView .rotation-detail-row.selected td { background: var(--r2-blue-soft) !important; } #rotationView .rotation-table .stock-name { font-size: 13px; font-weight: 700; } #rotationView .rotation-table .muted { color: var(--r2-faint); } #rotationView .trend-tag { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 11px; line-height: 1.6; } #rotationView .trend-hot { background: var(--r2-up-soft); color: var(--r2-up); } #rotationView .trend-cool { background: #e8f4fd; color: #2563eb; } #rotationView .trend-new { background: var(--r2-down-soft); color: var(--r2-down); } #rotationView .trend-flat { background: #f3f4f6; color: var(--r2-sub); } #rotationView .rotation-strength { min-width: 90px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; } #rotationView .rotation-strength .strength-cell { width: 64px; height: 7px; overflow: hidden; border-radius: 4px; background: #f0f2f5; } #rotationView .rotation-strength .strength-cell i { display: block; height: 100%; border-radius: inherit; background: var(--r2-blue); } #rotationView .rotation-strength b { width: 24px; color: var(--r2-ink); text-align: right; font-variant-numeric: tabular-nums; } @media (max-width: 1100px) { #rotationView .rotation-history { grid-template-columns: repeat(9, 138px); overflow-x: auto; } #rotationView .rotation-tracker-copy { min-width: 0; flex-direction: column; gap: 2px; } #rotationView .rotation-tracker-copy span { white-space: normal; } } @media (max-width: 720px) { .redesigned-rotation-view { padding: 0; } .rotation-page-head { align-items: flex-start; flex-direction: column; } .rotation-head-actions { width: 100%; margin-left: 0; justify-content: space-between; } .rotation-page-head p { max-width: 100%; } .rotation-card-head { align-items: flex-start; } .rotation-card-head > div { align-items: flex-start; flex-direction: column; gap: 2px; } #rotationView .rotation-legend { gap: 8px 12px; } #rotationView .rotation-tracker { align-items: flex-start; flex-wrap: wrap; } #rotationView .rotation-tracker-spark { flex: 0 0 auto; } .rotation-track-cancel { margin-left: 0; } } /* Stage 11: collection auction, transferred from index.html. */ .redesigned-auction-view { width: min(100%, 2200px); min-width: 0; margin-right: auto; margin-left: auto; padding: 14px 16px 18px; } .auction-page-head-v2 { min-width: 0; min-height: 62px; display: flex; align-items: center; gap: 18px; margin-bottom: 12px; } .auction-title-cluster { min-width: 0; flex: 1; display: flex; align-items: center; gap: 14px; } .auction-title-line { flex: 0 0 auto; display: grid; gap: 3px; } .auction-title-line h2 { margin: 0; color: var(--r2-ink); font-size: 17px; font-weight: 800; letter-spacing: 0; } .auction-title-line span { color: var(--r2-faint); font-size: 12px; white-space: nowrap; } .auction-phase-notice-v2 { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: var(--r2-sub); font-size: 11.5px; } .auction-phase-notice-v2 .auction-phase-marker { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--r2-faint); box-shadow: none; } .auction-phase-notice-v2 strong { flex: 0 0 auto; color: var(--r2-ink); font-size: 12px; font-weight: 700; } .auction-phase-notice-v2 > span:not(.auction-phase-marker) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .auction-phase-notice-v2 time { flex: 0 0 auto; margin-left: 3px; color: var(--r2-faint); font-size: 10.5px; white-space: nowrap; } .auction-phase-notice-v2[data-phase="selection"] { border-color: #f2d6a4; background: #fffaf1; } .auction-phase-notice-v2[data-phase="selection"] .auction-phase-marker { background: #d97706; animation: auction-pulse 1.8s ease-in-out infinite; } .auction-phase-notice-v2[data-phase="finalized"] { border-color: #cfe0d7; background: #f4fbf7; } .auction-phase-notice-v2[data-phase="finalized"] .auction-phase-marker { background: var(--r2-down); } .auction-phase-notice-v2[data-phase="observing"] .auction-phase-marker { background: var(--r2-blue); animation: auction-pulse 1.8s ease-in-out infinite; } @keyframes auction-pulse { 0%, 100% { opacity: .42; box-shadow: 0 0 0 0 rgba(37, 99, 235, .18); } 50% { opacity: 1; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0); } } .auction-header-actions-v2 { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; } .auction-summary-v2 { min-width: 390px; display: grid; grid-template-columns: repeat(4, minmax(82px, 1fr)); border: 1px solid var(--r2-line); border-radius: 9px; background: #fff; box-shadow: var(--r2-shadow); } .auction-summary-v2 > div { min-width: 0; min-height: 48px; display: grid; align-content: center; gap: 2px; padding: 6px 10px; border-right: 1px solid var(--r2-line-soft); } .auction-summary-v2 > div:last-child { border-right: 0; } .auction-summary-v2 span { color: var(--r2-faint); font-size: 10.5px; white-space: nowrap; } .auction-summary-v2 strong { color: var(--r2-ink); font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; } .auction-summary-v2 strong.up { color: var(--r2-up); } .auction-refresh-button, .auction-export-button { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; color: #374151; font-size: 12px; font-weight: 500; white-space: nowrap; } .auction-refresh-button:hover, .auction-export-button:hover { border-color: var(--r2-blue-line); color: var(--r2-blue); } .auction-refresh-button .lucide { width: 14px; height: 14px; } .auction-workspace-v2 { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; gap: 12px; } .auction-primary-card, .auction-side-card { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .auction-primary-card { min-height: 0; display: flex; flex-direction: column; } .auction-tabs-v2 { flex: 0 0 auto; min-height: 45px; display: flex; align-items: stretch; gap: 2px; padding: 0 14px; border-bottom: 1px solid var(--r2-line-soft); } .auction-tabs-v2 button { min-width: 0; display: inline-flex; align-items: center; gap: 4px; position: relative; padding: 0 14px; border: 0; background: transparent; color: var(--r2-sub); font-size: 13px; font-weight: 500; white-space: nowrap; } .auction-tabs-v2 button::after { content: ""; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 2px; border-radius: 2px 2px 0 0; background: transparent; } .auction-tabs-v2 button strong { color: var(--r2-faint); font-size: 11px; font-weight: 400; font-variant-numeric: tabular-nums; } .auction-tabs-v2 button:hover { color: var(--r2-blue); } .auction-tabs-v2 button.active { color: var(--r2-blue); font-weight: 650; } .auction-tabs-v2 button.active::after { background: var(--r2-blue); } .auction-tabs-v2 button.active strong { color: var(--r2-blue); } .auction-tools-v2 { flex: 0 0 auto; min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 12px; border-bottom: 1px solid var(--r2-line); background: #fafbfc; } .auction-expectation-v2, .auction-tool-actions, .auction-filter-segments { min-width: 0; display: flex; align-items: center; gap: 8px; } .auction-expectation-v2[hidden] { display: none; } .auction-expectation-v2 > span { flex: 0 0 auto; color: var(--r2-sub); font-size: 11px; } .auction-filter-segments { gap: 2px; padding: 2px; border-radius: 8px; background: #f0f2f5; } .auction-filter-segments button { min-height: 27px; padding: 4px 11px; border: 0; border-radius: 6px; background: transparent; color: var(--r2-sub); font-size: 12px; } .auction-filter-segments button.active { background: #fff; color: var(--r2-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); } .auction-search-v2 { min-width: 0; height: 31px; display: flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; } .auction-search-v2 .lucide { width: 14px; height: 14px; color: var(--r2-faint); } .auction-search-v2 input { width: 180px; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--r2-ink); font-size: 12px; } .auction-search-v2:focus-within { border-color: var(--r2-blue-line); box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); } .auction-tabs-v2 button:focus-visible, .auction-filter-segments button:focus-visible, .auction-refresh-button:focus-visible, .auction-export-button:focus-visible { outline: 2px solid rgba(37, 99, 235, .28); outline-offset: 2px; } .auction-table-frame-v2 { min-height: 0; flex: 1 1 auto; max-height: none; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .auction-table-v2 { width: 100%; min-width: 790px; border-collapse: collapse; font-size: 12.5px; } .auction-table-v2 thead th { position: sticky; top: 0; z-index: 2; height: 35px; padding: 7px 10px; border-bottom: 1px solid var(--r2-line); background: #f8fafc; color: var(--r2-sub); font-size: 11.5px; font-weight: 600; text-align: left; white-space: nowrap; } .auction-table-v2 thead th.number { text-align: right; } .auction-table-v2 thead th.sortable { cursor: pointer; user-select: none; } .auction-table-v2 thead th.sortable:hover { color: var(--r2-blue); } .auction-table-v2 thead th.sortable span { margin-left: 3px; color: var(--r2-faint); font-size: 9px; } .auction-table-v2 thead th.sorted span { color: var(--r2-blue); } .auction-table-v2 tbody td { height: 47px; padding: 7px 10px; border-bottom: 1px solid var(--r2-line-soft); color: var(--r2-ink); white-space: nowrap; } .auction-table-v2 tbody tr:last-child td { border-bottom: 0; } .auction-table-v2 tbody tr:hover td { background: #f8faff; } .auction-stock-cell-v2 { min-width: 112px; display: flex; align-items: baseline; gap: 6px; } .auction-stock-cell-v2 strong { color: var(--r2-ink); font-size: 13px; font-weight: 750; } .auction-stock-cell-v2 small { color: var(--r2-faint); font-size: 10.5px; font-weight: 400; } .auction-context-cell-v2 { min-width: 130px; max-width: 190px; display: grid; gap: 3px; } .auction-context-cell-v2 > strong { overflow: hidden; color: var(--r2-ink); font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; } .auction-source-tags-v2 { min-width: 0; display: flex; gap: 3px; overflow: hidden; } .auction-source-tags-v2 b { flex: 0 0 auto; padding: 1px 4px; border-radius: 3px; background: #f0f2f5; color: var(--r2-sub); font-size: 9.5px; font-weight: 500; } .auction-source-tags-v2 b:nth-child(n + 2) { background: var(--r2-blue-soft); color: #4664a0; } #auctionView .auction-core-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; } #auctionView .auction-core-tags b { padding: 2px 5px; border: 0; border-radius: 4px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 10px; font-weight: 700; } .auction-identity-empty { display: inline-block; width: 1px; height: 18px; } #auctionView .auction-score { color: #315f7b; font-weight: 750; } #auctionView .auction-volume-ratio { color: var(--r2-sub); } #auctionView .auction-expectation, #auctionView .auction-one-price-tag { min-height: 22px; display: inline-flex; align-items: center; padding: 1px 7px; border: 0; border-radius: 5px; font-size: 11px; font-weight: 600; } #auctionView .auction-expectation.above { background: var(--r2-up-soft); color: var(--r2-up); } #auctionView .auction-expectation.matched { background: #f3f4f6; color: #4b5563; } #auctionView .auction-expectation.below { background: var(--r2-down-soft); color: var(--r2-down); } #auctionView .auction-one-price-tag { background: var(--r2-amber-soft); color: var(--r2-amber); } .auction-side-v2 { min-width: 0; min-height: 0; max-height: 100%; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: none; } .auction-side-v2::-webkit-scrollbar { display: none; } .auction-side-v2 > .auction-side-card { flex: 0 0 auto; } .auction-card-head-v2 { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--r2-line-soft); } .auction-card-head-v2 > div { min-width: 0; display: flex; align-items: baseline; gap: 7px; } .auction-card-head-v2 h3 { margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 700; } .auction-card-head-v2 > div > span { color: var(--r2-faint); font-size: 11px; } .auction-card-tag { flex: 0 0 auto; margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 10.5px; white-space: nowrap; } .auction-theme-list-v2 { min-height: 0; padding: 5px 14px; } #auctionView .auction-theme-row { min-height: 48px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 54px; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px dashed var(--r2-line-soft); } #auctionView .auction-theme-row:last-child { border-bottom: 0; } .auction-theme-name { overflow: hidden; color: var(--r2-ink); font-size: 12.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } .auction-theme-info { min-width: 0; overflow: hidden; color: var(--r2-sub); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } #auctionView .auction-theme-status { min-height: 21px; padding: 1px 6px; border: 0; border-radius: 5px; font-size: 10.5px; font-weight: 600; } #auctionView .auction-theme-status.strong { background: #dbe7ff; color: #2858bc; } #auctionView .auction-theme-status.steady { background: #e9f0ff; color: #4664a0; } #auctionView .auction-theme-status.mixed { background: var(--r2-amber-soft); color: var(--r2-amber); } #auctionView .auction-theme-status.weak { background: #f3f4f6; color: var(--r2-sub); } .auction-theme-median { display: grid; justify-items: end; color: var(--r2-sub); font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; } .auction-theme-median small { color: var(--r2-faint); font-size: 9.5px; font-weight: 400; } .auction-new-theme-v2 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 9px; padding: 9px 14px 11px; border-top: 1px solid var(--r2-line-soft); color: var(--r2-sub); font-size: 11px; } .auction-new-theme-v2 > strong { color: var(--r2-ink); font-size: 11.5px; } .auction-theme-chips-v2 { min-width: 0; display: flex; flex-wrap: wrap; gap: 4px; } .auction-theme-chips-v2 > span { padding: 2px 6px; border-radius: 4px; background: var(--r2-blue-soft); color: #4664a0; font-size: 10px; } .auction-theme-chips-v2 > span strong { color: var(--r2-up); } .auction-theme-chips-v2 > small { color: var(--r2-faint); font-size: 10.5px; line-height: 1.5; } .auction-volume-body { padding: 11px 14px 7px; } .auction-volume-summary { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; } .auction-amount-value-v2 { flex: 0 0 auto; color: var(--r2-ink); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; } .auction-amount-compare-v2 { min-width: 0; display: flex; align-items: center; gap: 12px; } .auction-amount-compare-v2 span { color: var(--r2-sub); font-size: 10.5px; white-space: nowrap; } .auction-amount-compare-v2 strong { margin-left: 4px; color: var(--r2-ink); font-size: 11px; font-weight: 650; } .auction-amount-trend-v2 { height: 112px; display: flex; align-items: stretch; gap: 5px; position: relative; padding: 6px 0 0; } .auction-amount-trend-v2 .auction-amount-day { min-width: 0; flex: 1; display: grid; grid-template-rows: minmax(0, 1fr) 18px; align-items: end; gap: 3px; } .auction-amount-trend-v2 .auction-amount-day > span { width: 72%; min-height: 4px; justify-self: center; border-radius: 3px 3px 0 0; background: #c9d6ee; transition: opacity 180ms ease, transform 180ms ease; transform-origin: bottom; } .auction-amount-trend-v2 .auction-amount-day.current > span { background: var(--r2-up); } .auction-amount-trend-v2 .auction-amount-day:hover > span { opacity: .78; transform: scaleY(1.03); } .auction-amount-trend-v2 .auction-amount-day small { overflow: hidden; color: var(--r2-faint); font-size: 9px; text-align: center; white-space: nowrap; } .auction-amount-trend-v2 .auction-amount-day.current small { color: var(--r2-up); font-weight: 700; } .auction-amount-trend-v2 .auction-amount-average { position: absolute; right: 0; left: 0; z-index: 1; border-top: 1.5px dashed #f59e0b; pointer-events: none; } .auction-amount-trend-v2 .auction-amount-average small { position: absolute; top: -15px; right: 0; padding-left: 3px; background: #fff; color: #d97706; font-size: 9.5px; } .auction-volume-legend { display: flex; gap: 13px; padding: 7px 14px 10px; border-top: 1px solid var(--r2-line-soft); color: var(--r2-faint); font-size: 10px; } .auction-volume-legend span { display: inline-flex; align-items: center; gap: 4px; } .auction-volume-legend i { width: 10px; height: 7px; display: inline-block; border-radius: 2px; background: #c9d6ee; } .auction-volume-legend i.current { background: var(--r2-up); } .auction-volume-legend i.average { height: 0; border-top: 1.5px dashed #f59e0b; border-radius: 0; background: transparent; } @media (max-width: 1260px) { .auction-page-head-v2 { align-items: stretch; flex-direction: column; gap: 9px; } .auction-header-actions-v2 { justify-content: space-between; } .auction-summary-v2 { width: min(100%, 500px); } } @media (max-width: 1050px) { .auction-workspace-v2 { grid-template-columns: minmax(0, 1fr); } .auction-side-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 720px) { .redesigned-auction-view { padding: 0; } .auction-title-cluster { align-items: flex-start; flex-direction: column; gap: 8px; } .auction-phase-notice-v2 { width: 100%; flex-wrap: wrap; } .auction-phase-notice-v2 > span:not(.auction-phase-marker) { width: calc(100% - 110px); } .auction-phase-notice-v2 time { margin-left: 14px; } .auction-header-actions-v2 { align-items: stretch; flex-direction: column; } .auction-summary-v2 { min-width: 0; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); } .auction-summary-v2 > div:nth-child(2) { border-right: 0; } .auction-summary-v2 > div:nth-child(-n + 2) { border-bottom: 1px solid var(--r2-line-soft); } .auction-tabs-v2 { overflow-x: auto; } .auction-tabs-v2 button { flex: 0 0 auto; padding: 0 10px; } .auction-tools-v2 { align-items: stretch; flex-direction: column; } .auction-expectation-v2 { align-items: flex-start; flex-direction: column; } .auction-filter-segments { width: 100%; } .auction-filter-segments button { flex: 1; padding-right: 5px; padding-left: 5px; } .auction-tool-actions { width: 100%; } .auction-search-v2 { flex: 1; } .auction-search-v2 input { width: 100%; } .auction-table-frame-v2 { min-height: 360px; max-height: none; } .auction-side-v2 { grid-template-columns: minmax(0, 1fr); } .auction-volume-summary { align-items: flex-start; flex-direction: column; gap: 4px; } #auctionView .auction-theme-row { grid-template-columns: 66px minmax(0, 1fr) auto 50px; } } @media (prefers-reduced-motion: reduce) { .auction-phase-notice-v2 .auction-phase-marker { animation: none !important; } .auction-amount-trend-v2 .auction-amount-day > span { transition: none; } } /* Desktop viewport ownership: the shell stays fixed and each workspace owns one scroll axis. */ @media (min-width: 721px) { html, body { height: 100%; min-height: 0; } body { height: 100dvh; overflow: hidden; } .app-main { min-height: 0; overscroll-behavior: contain; } body[data-active-view="auctionView"] .app-main { display: flex; flex-direction: column; overflow: hidden; } body[data-active-view="auctionView"] .overview-strip { flex: 0 0 auto; } body[data-active-view="auctionView"] #auctionView.active-view { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; } body[data-active-view="auctionView"] .auction-page-head-v2 { flex: 0 0 auto; } body[data-active-view="auctionView"] .auction-workspace-v2 { min-height: 0; flex: 1 1 auto; } } /* At constrained desktop widths the evidence rail moves below and the main pane is the only scroller. */ @media (min-width: 721px) and (max-width: 1320px) { body[data-active-view="auctionView"] .app-main { display: block; overflow-x: hidden; overflow-y: auto; } body[data-active-view="auctionView"] #auctionView.active-view { display: block; } .auction-workspace-v2 { grid-template-columns: minmax(0, 1fr); } .auction-side-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; overflow: visible; scrollbar-gutter: auto; } .auction-table-frame-v2 { overflow: visible; scrollbar-gutter: auto; } } @media (min-width: 721px) and (max-height: 900px) { .redesigned-auction-view { padding: 10px 12px 12px; } .auction-page-head-v2 { min-height: 52px; gap: 12px; margin-bottom: 8px; } .auction-summary-v2 > div { min-height: 43px; padding-top: 4px; padding-bottom: 4px; } .auction-tabs-v2 { min-height: 41px; } .auction-tools-v2 { min-height: 43px; padding-top: 5px; padding-bottom: 5px; } .auction-table-v2 tbody td { height: 43px; padding-top: 6px; padding-bottom: 6px; } } @media (min-width: 1321px) and (min-height: 1400px) { body[data-active-view="auctionView"] .auction-workspace-v2 { align-items: start; } } /* Stage 12: theme library. Keep the richer product information architecture, while rebuilding its hierarchy with the approved compact visual system. */ .redesigned-theme-view { width: min(100%, 2200px); margin: 0 auto; padding: 12px 16px 14px; } .theme-page-head-v2 { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; } .theme-title-v2, .theme-head-actions-v2, .theme-title-v2 > div, .theme-detail-name-line-v2, .theme-members-heading-v2, .theme-members-heading-v2 > div { display: flex; align-items: center; } .theme-title-v2 { min-width: 0; gap: 12px; } .theme-title-v2 > div { min-width: 0; gap: 9px; } .theme-title-v2 h2 { margin: 0; color: var(--r2-ink); font-size: 19px; font-weight: 750; } .theme-title-v2 > div > span { color: var(--r2-sub); font-size: 12px; } .theme-date-v2 { padding: 4px 8px; border-radius: 5px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 11px; font-weight: 650; white-space: nowrap; } .theme-head-actions-v2 { flex: 0 0 auto; gap: 8px; } .theme-search-v2 { width: 250px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #d8dde5; border-radius: 7px; background: #fff; color: var(--r2-faint); transition: border-color 160ms ease, box-shadow 160ms ease; } .theme-search-v2:focus-within { border-color: #96b5f2; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); } .theme-search-v2 .lucide { width: 15px; height: 15px; } .theme-search-v2 input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--r2-ink); font: inherit; } .theme-search-v2 input::placeholder { color: var(--r2-faint); } .theme-refresh-v2 { min-height: 34px; padding: 0 12px; border-radius: 7px; } .theme-refresh-v2 .lucide { width: 15px; height: 15px; } .theme-summary-v2 { min-height: 58px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .theme-summary-v2 > div { min-width: 0; display: grid; align-content: center; gap: 3px; padding: 8px 15px; border-right: 1px solid var(--r2-line); } .theme-summary-v2 > div:last-child { border-right: 0; } .theme-summary-v2 span { color: var(--r2-sub); font-size: 11px; } .theme-summary-v2 strong { color: var(--r2-ink); font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; } .theme-summary-v2 strong small { margin-left: 3px; color: currentColor; font-size: 11px; font-weight: 600; } .theme-summary-v2 strong.up { color: var(--r2-up); } .theme-summary-v2 strong.down { color: var(--r2-down); } .theme-summary-v2 strong.warning { color: var(--r2-amber); } .theme-library-workspace-v2 { min-height: 0; display: grid; grid-template-columns: 318px minmax(0, 1fr); align-items: stretch; gap: 12px; } .theme-directory-card-v2, .theme-market-card-v2, .theme-members-card-v2, .theme-detail-empty-v2 { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: var(--r2-card); box-shadow: var(--r2-shadow); } .theme-directory-card-v2 { min-height: 0; display: flex; flex-direction: column; } .theme-card-head-v2 { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 13px; border-bottom: 1px solid var(--r2-line-soft); } .theme-card-head-v2 h3, .theme-members-heading-v2 h3 { margin: 0; color: var(--r2-ink); } .theme-card-head-v2 h3 { font-size: 14px; font-weight: 700; } .theme-card-head-v2 span { display: block; margin-top: 2px; color: var(--r2-faint); font-size: 10.5px; } .theme-card-head-v2 > strong { flex: 0 0 auto; padding: 3px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 10.5px; font-weight: 650; } .theme-directory-labels-v2 { min-height: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 74px; align-items: center; padding: 0 13px 0 45px; border-bottom: 1px solid var(--r2-line-soft); background: #fafbfc; color: var(--r2-faint); font-size: 10px; } .theme-directory-labels-v2 span:last-child { text-align: right; } .theme-directory-v2 { min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .theme-directory-item-v2 { width: 100%; min-height: 58px; display: grid; grid-template-columns: 24px minmax(0, 1fr) 68px; align-items: center; gap: 8px; position: relative; padding: 7px 12px; border: 0; border-bottom: 1px solid var(--r2-line-soft); background: transparent; color: var(--r2-ink); cursor: pointer; text-align: left; transition: background-color 160ms ease, color 160ms ease; } .theme-directory-item-v2::before { content: ""; position: absolute; inset: 9px auto 9px 0; width: 3px; border-radius: 0 3px 3px 0; background: transparent; transform: scaleY(.45); transition: background-color 160ms ease, transform 180ms ease; } .theme-directory-item-v2:hover { background: #f7f9fc; } .theme-directory-item-v2.active { background: var(--r2-blue-soft); } .theme-directory-item-v2.active::before { background: var(--r2-blue); transform: scaleY(1); } .theme-directory-item-v2:focus-visible { z-index: 1; outline: 2px solid var(--r2-blue); outline-offset: -2px; } .theme-rank-v2 { color: var(--r2-faint); font-size: 10.5px; font-variant-numeric: tabular-nums; text-align: center; } .theme-directory-item-v2:nth-child(-n + 3) .theme-rank-v2 { color: var(--r2-amber); font-weight: 750; } .theme-directory-copy-v2 { min-width: 0; display: grid; gap: 3px; } .theme-directory-copy-v2 strong { overflow: hidden; color: var(--r2-ink); font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; } .theme-directory-copy-v2 small { overflow: hidden; color: var(--r2-faint); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } .theme-directory-item-v2 > b { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; } .theme-detail-column-v2, .theme-detail-stack-v2 { min-width: 0; min-height: 0; } .theme-detail-column-v2 { display: flex; } .theme-detail-empty-v2 { width: 100%; min-height: 420px; display: grid; place-items: center; color: var(--r2-faint); } .theme-detail-stack-v2:not([hidden]) { width: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; } .theme-market-card-v2, .theme-members-card-v2 { min-height: 0; display: flex; flex-direction: column; } .theme-detail-heading-v2 { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 15px; border-bottom: 1px solid var(--r2-line-soft); } .theme-detail-identity-v2 { min-width: 0; } .theme-detail-kicker-v2 { color: var(--r2-faint); font-size: 10.5px; } .theme-detail-name-line-v2 { min-width: 0; gap: 8px; margin-top: 3px; } .theme-detail-name-line-v2 h3 { margin: 0; overflow: hidden; color: var(--r2-ink); font-size: 18px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; } .theme-detail-name-line-v2 small { flex: 0 0 auto; padding: 2px 6px; border-radius: 4px; background: #f3f4f6; color: var(--r2-sub); font-size: 10px; } .theme-change-v2 { flex: 0 0 auto; display: grid; justify-items: end; gap: 2px; } .theme-change-v2 span { color: var(--r2-faint); font-size: 10.5px; } .theme-change-v2 strong { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; } .theme-detail-metrics-v2 { min-height: 52px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--r2-line-soft); background: #fcfcfd; } .theme-detail-metrics-v2 > div { min-width: 0; display: grid; align-content: center; gap: 3px; padding: 7px 13px; border-right: 1px solid var(--r2-line-soft); } .theme-detail-metrics-v2 > div:last-child { border-right: 0; } .theme-detail-metrics-v2 span { color: var(--r2-faint); font-size: 10px; } .theme-detail-metrics-v2 strong { color: var(--r2-ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; } .theme-detail-metrics-v2 strong.up { color: var(--r2-up); } .theme-detail-metrics-v2 strong.down { color: var(--r2-down); } .theme-members-heading-v2 { min-height: 50px; justify-content: space-between; gap: 14px; padding: 8px 13px; border-bottom: 1px solid var(--r2-line-soft); } .theme-members-heading-v2 > div { min-width: 0; gap: 8px; } .theme-members-heading-v2 h3 { font-size: 14px; font-weight: 700; } .theme-members-heading-v2 span { overflow: hidden; color: var(--r2-faint); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } .theme-members-heading-v2 > strong { flex: 0 0 auto; color: var(--r2-sub); font-size: 10.5px; font-weight: 600; } .theme-members-frame-v2 { min-height: 0; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .theme-members-table-v2 { min-width: 650px; } .theme-members-table-v2 thead th { position: sticky; top: 0; z-index: 2; height: 34px; padding: 6px 11px; border-bottom-color: var(--r2-line); background: #fafbfc; color: var(--r2-sub); font-size: 10.5px; } .theme-members-table-v2 tbody td { height: 39px; padding: 7px 11px; font-size: 11.5px; } .theme-members-table-v2 tbody tr { cursor: pointer; } .theme-members-table-v2 tbody tr:hover { background: #f7f9fc; } .theme-members-table-v2 .stock-name { color: var(--r2-ink); font-weight: 650; } .theme-members-table-v2 .stock-code { color: #405573; } @media (min-width: 1181px) { body[data-active-view="themeLibraryView"] .app-main { display: flex; flex-direction: column; overflow: hidden; } body[data-active-view="themeLibraryView"] .overview-strip { flex: 0 0 auto; } body[data-active-view="themeLibraryView"] #themeLibraryView.active-view { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; } body[data-active-view="themeLibraryView"] .theme-page-head-v2, body[data-active-view="themeLibraryView"] .theme-summary-v2 { flex: 0 0 auto; } body[data-active-view="themeLibraryView"] .theme-library-workspace-v2 { flex: 1 1 auto; } } @media (min-width: 721px) and (max-width: 1180px) { body[data-active-view="themeLibraryView"] .app-main { overflow-x: hidden; overflow-y: auto; } .theme-library-workspace-v2 { grid-template-columns: minmax(0, 1fr); } .theme-directory-card-v2 { max-height: 330px; } .theme-directory-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .theme-directory-item-v2:nth-child(odd) { border-right: 1px solid var(--r2-line-soft); } .theme-detail-stack-v2:not([hidden]) { grid-template-rows: auto 420px; } } @media (min-width: 721px) and (max-height: 900px) { .redesigned-theme-view { padding-top: 9px; padding-bottom: 10px; } .theme-page-head-v2 { min-height: 45px; margin-bottom: 7px; } .theme-summary-v2 { min-height: 51px; margin-bottom: 9px; } .theme-summary-v2 > div { padding-top: 5px; padding-bottom: 5px; } .theme-card-head-v2 { min-height: 50px; } .theme-directory-labels-v2 { min-height: 25px; } .theme-directory-item-v2 { min-height: 52px; } .theme-detail-stack-v2:not([hidden]) { grid-template-rows: auto minmax(260px, 1fr); gap: 9px; } .theme-detail-heading-v2 { min-height: 58px; } .theme-detail-metrics-v2 { min-height: 47px; } .theme-members-heading-v2 { min-height: 44px; } .theme-members-table-v2 tbody td { height: 35px; padding-top: 5px; padding-bottom: 5px; } } @media (max-width: 720px) { .redesigned-theme-view { padding: 10px; } .theme-page-head-v2 { align-items: stretch; flex-direction: column; gap: 9px; margin-bottom: 10px; } .theme-title-v2 { align-items: flex-start; justify-content: space-between; gap: 8px; } .theme-title-v2 > div { align-items: flex-start; flex-direction: column; gap: 2px; } .theme-head-actions-v2 { width: 100%; } .theme-search-v2 { min-width: 0; width: auto; flex: 1 1 auto; } .theme-refresh-v2 { flex: 0 0 auto; } .theme-summary-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .theme-summary-v2 > div:nth-child(2) { border-right: 0; } .theme-summary-v2 > div:nth-child(-n + 2) { border-bottom: 1px solid var(--r2-line); } .theme-library-workspace-v2 { grid-template-columns: minmax(0, 1fr); } .theme-directory-card-v2 { max-height: 360px; } .theme-detail-stack-v2:not([hidden]) { display: flex; flex-direction: column; gap: 10px; } .theme-market-card-v2 { min-height: 0; } .theme-detail-heading-v2 { align-items: flex-end; } .theme-detail-name-line-v2 { align-items: flex-start; flex-direction: column; gap: 2px; } .theme-detail-metrics-v2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .theme-detail-metrics-v2 > div { border-bottom: 1px solid var(--r2-line-soft); } .theme-detail-metrics-v2 > div:nth-child(3) { border-right: 0; } .theme-detail-metrics-v2 > div:nth-child(n + 4) { border-bottom: 0; } .theme-members-card-v2 { min-height: 420px; } .theme-members-heading-v2 > div { align-items: flex-start; flex-direction: column; gap: 2px; } } @media (prefers-reduced-motion: reduce) { .theme-search-v2, .theme-directory-item-v2, .theme-directory-item-v2::before { transition: none; } } /* Stage 13: popularity ranking. The prototype's three-glance hierarchy is transferred directly while preserving concepts, movement and stock detail. */ .redesigned-popularity-view { width: min(100%, 2200px); margin: 0 auto; padding: 12px 16px 14px; } .popularity-page-head-v2 { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; } .popularity-title-v2, .popularity-head-actions-v2, .popularity-source-tabs-v2, .popularity-table-head-v2, .popularity-table-head-v2 > div, .popularity-search-v2, .popularity-stock-v2 { display: flex; align-items: center; } .popularity-title-v2 { min-width: 0; gap: 9px; } .popularity-title-v2 h2 { margin: 0; color: var(--r2-ink); font-size: 19px; font-weight: 750; } .popularity-title-v2 > span { color: var(--r2-sub); font-size: 12px; } .popularity-title-v2 > strong { padding: 4px 8px; border-radius: 5px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 11px; font-weight: 650; white-space: nowrap; } .popularity-title-v2 > small { color: var(--r2-faint); font-size: 10.5px; white-space: nowrap; } .popularity-head-actions-v2 { flex: 0 0 auto; gap: 8px; } .popularity-source-tabs-v2 { min-height: 34px; padding: 3px; border: 1px solid var(--r2-line); border-radius: 8px; background: #f4f5f7; } .popularity-source-tabs-v2 button { min-height: 27px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; color: var(--r2-sub); font-size: 11px; cursor: pointer; } .popularity-source-tabs-v2 button:hover { color: var(--r2-ink); } .popularity-source-tabs-v2 button.active { background: #fff; color: var(--r2-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(16, 24, 40, .09); } .popularity-source-tabs-v2 button:focus-visible { outline: 2px solid var(--r2-blue); outline-offset: 1px; } .popularity-refresh-v2 { min-height: 34px; padding: 0 11px; border-radius: 7px; } .popularity-refresh-v2 .lucide { width: 15px; height: 15px; } .popularity-glance-v2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; } .popularity-glance-v2 article { min-width: 0; min-height: 88px; display: grid; align-content: center; gap: 5px; position: relative; overflow: hidden; padding: 12px 15px; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .popularity-glance-v2 article::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #c7d8fb; } .popularity-glance-v2 article:nth-child(2)::before { background: #b7ddcf; } .popularity-glance-v2 article.consensus::before { background: #e6c773; } .popularity-glance-v2 article > span { color: var(--r2-sub); font-size: 11px; } .popularity-glance-v2 article > strong { overflow: hidden; color: var(--r2-ink); font-size: 14px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; } .popularity-glance-v2 article.consensus > strong { color: var(--r2-amber); font-size: 18px; } .popularity-glance-v2 article > small { overflow: hidden; color: var(--r2-faint); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } .popularity-table-card-v2 { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .popularity-table-head-v2 { min-height: 52px; flex: 0 0 auto; justify-content: space-between; gap: 16px; padding: 8px 13px; border-bottom: 1px solid var(--r2-line-soft); } .popularity-table-head-v2 > div { min-width: 0; gap: 8px; } .popularity-table-head-v2 h3 { margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 750; white-space: nowrap; } .popularity-table-head-v2 > div > span { overflow: hidden; color: var(--r2-faint); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } .popularity-search-v2 { width: 230px; height: 33px; flex: 0 0 auto; gap: 7px; padding: 0 10px; border: 1px solid #d8dde5; border-radius: 7px; color: var(--r2-faint); transition: border-color 160ms ease, box-shadow 160ms ease; } .popularity-search-v2:focus-within { border-color: #96b5f2; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); } .popularity-search-v2 .lucide { width: 15px; height: 15px; } .popularity-search-v2 input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--r2-ink); font: inherit; } .popularity-search-v2 input::placeholder { color: var(--r2-faint); } .popularity-table-frame-v2 { min-width: 0; min-height: 0; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .popularity-table-v2 { min-width: 930px; table-layout: fixed; } .popularity-table-v2 thead th { position: sticky; top: 0; z-index: 2; height: 35px; padding: 7px 10px; border-bottom-color: var(--r2-line); background: #fafbfc; color: var(--r2-sub); font-size: 10.5px; } .popularity-table-v2 thead th:nth-child(1) { width: 78px; } .popularity-table-v2 thead th:nth-child(2) { width: 220px; } .popularity-table-v2 thead th:nth-child(3), .popularity-table-v2 thead th:nth-child(4) { width: 105px; } .popularity-table-v2 thead th:nth-child(5), .popularity-table-v2 thead th:nth-child(6), .popularity-table-v2 thead th:nth-child(7) { width: 115px; } .popularity-table-v2 tbody td { height: 43px; padding: 7px 10px; font-size: 11.5px; } .popularity-table-v2 tbody tr { cursor: pointer; } .popularity-table-v2 tbody tr:hover { background: #f7f9fc; } .popularity-rank-v2 { white-space: nowrap; } .popularity-rank-v2 b { color: var(--r2-ink); font-size: 12px; font-weight: 750; } .popularity-rank-v2 span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; border-radius: 5px; background: var(--r2-up-soft); color: var(--r2-up); font-size: 9px; font-weight: 700; } .popularity-stock-v2 { min-width: 0; gap: 6px; } .popularity-stock-v2 strong { overflow: hidden; color: var(--r2-ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } .popularity-stock-v2 .stock-code { flex: 0 0 auto; color: var(--r2-faint); font-size: 10.5px; } .popularity-list-rank-v2 { color: #405573; } .popularity-movement-v2 { font-weight: 650; } .popularity-concepts-v2 { overflow: hidden; color: var(--r2-sub); text-overflow: ellipsis; white-space: nowrap; } .popularity-source-tag-v2 { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border-radius: 5px; background: #f3f4f6; color: var(--r2-sub); font-size: 10px; white-space: nowrap; } .popularity-source-tag-v2.dual { background: var(--r2-amber-soft); color: var(--r2-amber); } @media (min-width: 721px) { body[data-active-view="popularityView"] .app-main { display: flex; flex-direction: column; overflow: hidden; } body[data-active-view="popularityView"] .overview-strip { flex: 0 0 auto; } body[data-active-view="popularityView"] #popularityView.active-view { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; } body[data-active-view="popularityView"] .popularity-page-head-v2, body[data-active-view="popularityView"] .popularity-glance-v2 { flex: 0 0 auto; } body[data-active-view="popularityView"] .popularity-table-card-v2 { flex: 1 1 auto; } } @media (min-width: 721px) and (max-height: 900px) { .redesigned-popularity-view { padding-top: 9px; padding-bottom: 10px; } .popularity-page-head-v2 { min-height: 45px; margin-bottom: 7px; } .popularity-glance-v2 { gap: 9px; margin-bottom: 9px; } .popularity-glance-v2 article { min-height: 76px; padding-top: 8px; padding-bottom: 8px; } .popularity-table-head-v2 { min-height: 46px; } .popularity-table-v2 tbody td { height: 39px; padding-top: 5px; padding-bottom: 5px; } } @media (max-width: 960px) { .popularity-title-v2 { flex-wrap: wrap; } .popularity-title-v2 > small { width: 100%; } .popularity-glance-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .popularity-glance-v2 article.consensus { grid-column: 1 / -1; } } @media (max-width: 720px) { .redesigned-popularity-view { padding: 10px; } .popularity-page-head-v2 { align-items: stretch; flex-direction: column; gap: 9px; } .popularity-title-v2 { gap: 6px 8px; } .popularity-title-v2 > span { width: calc(100% - 110px); } .popularity-title-v2 > strong { order: 4; } .popularity-title-v2 > small { order: 5; width: auto; } .popularity-head-actions-v2 { width: 100%; } .popularity-source-tabs-v2 { min-width: 0; flex: 1 1 auto; } .popularity-source-tabs-v2 button { min-width: 0; flex: 1 1 auto; padding-inline: 6px; } .popularity-refresh-v2 span { display: none; } .popularity-glance-v2 { grid-template-columns: minmax(0, 1fr); gap: 8px; } .popularity-glance-v2 article, .popularity-glance-v2 article.consensus { min-height: 74px; grid-column: auto; } .popularity-table-card-v2 { min-height: 520px; } .popularity-table-head-v2 { align-items: stretch; flex-direction: column; gap: 7px; } .popularity-table-head-v2 > div { align-items: flex-start; flex-direction: column; gap: 2px; } .popularity-search-v2 { width: 100%; } .popularity-table-frame-v2 { overflow-x: auto; } } @media (prefers-reduced-motion: reduce) { .popularity-search-v2 { transition: none; } } /* Stage 14: Dragon-Tiger list. The compact prototype shell and empty state wrap the existing card interaction and daily operation detail. */ .redesigned-dragon-view { width: min(100%, 2200px); margin: 0 auto; padding: 12px 16px 14px; } .dragon-page-head-v2, .dragon-title-v2, .dragon-head-actions-v2, .dragon-view-tabs-v2, .dragon-filterbar-v2, .dragon-filter-actions-v2, .dragon-segments-v2, .dragon-search-v2, .dragon-stage-heading-v2, .dragon-stage-heading-v2 > div, .dragon-empty-actions-v2 { display: flex; align-items: center; } .dragon-page-head-v2 { min-height: 52px; justify-content: space-between; gap: 18px; margin-bottom: 10px; } .dragon-title-v2 { min-width: 0; gap: 9px; } .dragon-title-v2 h2 { margin: 0; color: var(--r2-ink); font-size: 19px; font-weight: 750; } .dragon-title-v2 > span { color: var(--r2-sub); font-size: 12px; } .dragon-title-v2 > strong { padding: 4px 8px; border-radius: 5px; background: var(--r2-amber-soft); color: var(--r2-amber); font-size: 11px; font-weight: 650; white-space: nowrap; } .dragon-head-actions-v2 { flex: 0 0 auto; gap: 8px; } .dragon-view-tabs-v2 { min-height: 34px; padding: 3px; border: 1px solid var(--r2-line); border-radius: 8px; background: #f4f5f7; } .dragon-view-tabs-v2 button { min-height: 27px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; color: var(--r2-sub); font-size: 11px; cursor: pointer; } .dragon-view-tabs-v2 button.active { background: #fff; color: var(--r2-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(16, 24, 40, .09); } .dragon-view-tabs-v2 button:focus-visible { outline: 2px solid var(--r2-blue); outline-offset: 1px; } .dragon-action-v2 { min-height: 34px; padding: 0 11px; border-radius: 7px; } .dragon-action-v2 .lucide { width: 15px; height: 15px; } .dragon-daily-content-v2 { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .dragon-summary-v2 { min-height: 58px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 10px; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .dragon-summary-v2 .dragon-metric { min-height: 58px; display: grid; align-content: center; gap: 3px; padding: 8px 15px; border-right: 1px solid var(--r2-line); } .dragon-summary-v2 .dragon-metric:last-child { border-right: 0; } .dragon-summary-v2 .dragon-metric span { color: var(--r2-sub); font-size: 11px; } .dragon-summary-v2 .dragon-metric strong { margin: 0; color: var(--r2-ink); font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; } .dragon-summary-v2 .dragon-metric strong.up { color: var(--r2-up); } .dragon-summary-v2 .dragon-metric strong.down { color: var(--r2-down); } .dragon-filterbar-v2 { min-height: 52px; justify-content: space-between; gap: 14px; margin-bottom: 10px; padding: 7px 12px; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } .dragon-filter-copy-v2 { min-width: 0; } .dragon-filter-copy-v2 h3 { margin: 0; color: var(--r2-ink); font-size: 13px; font-weight: 700; } .dragon-filter-copy-v2 span { display: block; margin-top: 2px; color: var(--r2-faint); font-size: 10px; } .dragon-filter-actions-v2 { min-width: 0; gap: 8px; } .dragon-segments-v2 { min-height: 32px; padding: 3px; border-radius: 7px; background: #f3f4f6; } .dragon-filter-v2 { min-height: 26px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: var(--r2-sub); font-size: 10.5px; cursor: pointer; white-space: nowrap; } .dragon-filter-v2:hover { color: var(--r2-ink); } .dragon-filter-v2.active { background: #fff; color: var(--r2-blue); font-weight: 700; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); } .dragon-filter-v2:focus-visible { outline: 2px solid var(--r2-blue); outline-offset: 1px; } .dragon-search-v2 { width: 230px; height: 33px; flex: 0 0 auto; gap: 7px; padding: 0 10px; border: 1px solid #d8dde5; border-radius: 7px; color: var(--r2-faint); transition: border-color 160ms ease, box-shadow 160ms ease; } .dragon-search-v2:focus-within { border-color: #96b5f2; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); } .dragon-search-v2 .lucide { width: 15px; height: 15px; } .dragon-search-v2 input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--r2-ink); font: inherit; } .dragon-search-v2 input::placeholder { color: var(--r2-faint); } #dragonView .dragon-card-stage-v2 { margin: 0 0 10px; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #f8f9fb; box-shadow: var(--r2-shadow); } .dragon-stage-heading-v2 { min-height: 46px; justify-content: space-between; gap: 14px; padding: 8px 13px; border-bottom: 1px solid var(--r2-line-soft); background: #fff; } .dragon-stage-heading-v2 > div { min-width: 0; gap: 8px; } .dragon-stage-heading-v2 h3 { margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 700; } .dragon-stage-heading-v2 span, .dragon-stage-heading-v2 small { color: var(--r2-faint); font-size: 10px; } .dragon-stage-heading-v2 small { white-space: nowrap; } #dragonView .dragon-trader-list { height: 270px; min-height: 270px; } #dragonView .dragon-trader-detail-v2 { min-height: 0; margin: 0 0 10px; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } #dragonView .dragon-detail-header { min-height: 78px; padding: 10px 14px; border-bottom-color: var(--r2-line-soft); } #dragonView .dragon-detail-header h3 { font-size: 17px; } #dragonView .dragon-detail-header dl { border-color: var(--r2-line); border-radius: 7px; } #dragonView .dragon-detail-header dl div { padding: 7px 10px; border-right-color: var(--r2-line); } #dragonView .dragon-trader-detail .trader-operations { max-height: none; overflow: visible; border-top-color: var(--r2-line-soft); } #dragonView .dragon-operation-table { min-width: 1180px; table-layout: fixed; } #dragonView .dragon-operation-table .dragon-col-index { width: 44px; } #dragonView .dragon-operation-table .dragon-col-code { width: 88px; } #dragonView .dragon-operation-table .dragon-col-name { width: 104px; } #dragonView .dragon-operation-table .dragon-col-direction { width: 72px; } #dragonView .dragon-operation-table .dragon-col-number { width: 82px; } #dragonView .dragon-operation-table .dragon-col-seat { width: 190px; } #dragonView .dragon-operation-table .dragon-col-reason { width: auto; } #dragonView .dragon-operation-table :is(th, td).row-number { padding-inline: 8px; text-align: center; } #dragonView .dragon-operation-table td.stock-code { font-variant-numeric: tabular-nums; } #dragonView .dragon-operation-table thead th { position: sticky; top: 0; z-index: 2; background: #fafbfc; } #dragonView .dragon-operation-table tbody tr:hover { background: #f7f9fc; } #dragonView .dragon-unclassified-v2 { margin-bottom: 10px; overflow: hidden; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); } #dragonView .dragon-unclassified-v2 .unclassified-heading { border-bottom-color: var(--r2-line-soft); background: #fff; } .dragon-empty-state-v2 { min-height: 430px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 42px 20px; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: #fff; box-shadow: var(--r2-shadow); text-align: center; } .dragon-empty-state-v2[hidden] { display: none; } .dragon-empty-symbol-v2 { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 50%; background: var(--r2-blue-soft); color: var(--r2-blue); } .dragon-empty-symbol-v2 .lucide { width: 25px; height: 25px; } .dragon-empty-state-v2 h3 { margin: 0; color: var(--r2-ink); font-size: 16px; font-weight: 750; } .dragon-empty-state-v2 p { max-width: 540px; margin: 0; color: var(--r2-sub); font-size: 11.5px; line-height: 1.7; } .dragon-empty-actions-v2 { gap: 8px; margin-top: 10px; } .dragon-empty-actions-v2 .button { min-height: 34px; border-radius: 7px; } .dragon-empty-actions-v2 .lucide { width: 15px; height: 15px; } @media (min-width: 721px) { body[data-active-view="dragonView"] .app-main { display: flex; flex-direction: column; overflow: hidden; } body[data-active-view="dragonView"] .overview-strip { flex: 0 0 auto; } body[data-active-view="dragonView"] #dragonView.active-view { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; } body[data-active-view="dragonView"] .dragon-page-head-v2 { flex: 0 0 auto; } body[data-active-view="dragonView"] .dragon-daily-content-v2, body[data-active-view="dragonView"] .dragon-empty-state-v2 { flex: 1 1 auto; } } @media (min-width: 721px) and (max-height: 900px) { .redesigned-dragon-view { padding-top: 9px; padding-bottom: 10px; } .dragon-page-head-v2 { min-height: 45px; margin-bottom: 7px; } .dragon-summary-v2 { min-height: 50px; margin-bottom: 8px; } .dragon-summary-v2 .dragon-metric { min-height: 50px; padding-top: 5px; padding-bottom: 5px; } .dragon-filterbar-v2 { min-height: 46px; margin-bottom: 8px; padding-top: 5px; padding-bottom: 5px; } #dragonView .dragon-card-stage-v2 { margin-bottom: 8px; } .dragon-stage-heading-v2 { min-height: 41px; } #dragonView .dragon-trader-list { height: 225px; min-height: 225px; } #dragonView .dragon-trader-card { top: 12px; height: 202px; padding: 12px 10px 10px; } #dragonView .dragon-card-monogram { width: 52px; height: 52px; flex-basis: 52px; font-size: 15px; } #dragonView .dragon-card-copy { margin-top: 6px; } #dragonView .dragon-card-copy strong { font-size: 14px; } #dragonView .dragon-card-copy q { min-height: 35px; margin-top: 4px; font-size: 10px; -webkit-line-clamp: 3; } #dragonView .dragon-card-stats { padding-top: 6px; } #dragonView .dragon-detail-header { min-height: 70px; } } @media (max-width: 960px) { .dragon-title-v2 { flex-wrap: wrap; } .dragon-filterbar-v2 { align-items: stretch; flex-direction: column; } .dragon-filter-actions-v2 { justify-content: space-between; } } @media (max-width: 720px) { .redesigned-dragon-view { padding: 10px; } .dragon-page-head-v2 { align-items: stretch; flex-direction: column; gap: 9px; } .dragon-title-v2 { gap: 6px 8px; } .dragon-title-v2 > span { width: calc(100% - 82px); } .dragon-title-v2 > strong { width: fit-content; } .dragon-head-actions-v2 { width: 100%; } .dragon-view-tabs-v2 { min-width: 0; flex: 1 1 auto; } .dragon-view-tabs-v2 button { min-width: 0; flex: 1 1 auto; padding-inline: 6px; } .dragon-action-v2 span { display: none; } .dragon-daily-content-v2 { overflow: visible; } .dragon-summary-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dragon-summary-v2 .dragon-metric:nth-child(2) { border-right: 0; } .dragon-summary-v2 .dragon-metric:nth-child(-n + 2) { border-bottom: 1px solid var(--r2-line); } .dragon-filter-actions-v2 { align-items: stretch; flex-direction: column; } .dragon-segments-v2 { width: 100%; overflow-x: auto; } .dragon-filter-v2 { flex: 1 0 auto; } .dragon-search-v2 { width: 100%; } .dragon-stage-heading-v2 { align-items: flex-start; } .dragon-stage-heading-v2 > div { align-items: flex-start; flex-direction: column; gap: 2px; } .dragon-stage-heading-v2 small { display: none; } #dragonView .dragon-trader-list { height: 246px; min-height: 246px; } #dragonView .dragon-detail-header { align-items: stretch; flex-direction: column; } #dragonView .dragon-trader-detail .trader-operations { overflow-x: auto; } .dragon-empty-state-v2 { min-height: 360px; padding-inline: 16px; } .dragon-empty-actions-v2 { align-items: stretch; flex-direction: column; width: min(100%, 240px); } } @media (prefers-reduced-motion: reduce) { .dragon-search-v2 { transition: none; } } /* Dragon profile directory: the master list is authoritative data, while the detail pane only expands fields present in the public directory. */ .hot-money-profiles-v2 { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--dragon-profile-gap); overflow: hidden; } .hot-money-profiles-v2[hidden] { display: none; } .hot-money-profile-toolbar-v2 { min-height: calc(var(--dragon-profile-control-height) + var(--dragon-profile-gap)); display: flex; align-items: center; gap: var(--dragon-profile-gap); padding: calc(var(--dragon-profile-gap) / 2) var(--dragon-profile-gap); border: var(--dragon-profile-border-width) solid var(--r2-line); border-radius: var(--r2-radius); background: var(--r2-card); box-shadow: var(--r2-shadow); } .hot-money-profile-toolbar-v2 .dragon-filter-copy-v2 { flex: 1 1 auto; } .hot-money-profile-search-v2 { height: var(--dragon-profile-control-height); } .hot-money-profile-summary-v2 { display: flex; align-items: center; gap: var(--dragon-profile-gap); } .hot-money-profile-summary-v2 > span { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: calc(var(--dragon-profile-gap) / 2); white-space: nowrap; } .hot-money-profile-summary-v2 small { color: var(--r2-faint); font-size: var(--dragon-profile-meta-font); } .hot-money-profile-summary-v2 strong { color: var(--r2-ink); font-size: var(--dragon-profile-name-font); font-variant-numeric: tabular-nums; } .hot-money-profile-workspace-v2 { min-width: 0; min-height: 0; display: grid; grid-template-columns: var(--dragon-profile-list-width) minmax(0, 1fr); gap: var(--dragon-profile-gap); } .hot-money-profile-directory-v2, .hot-money-profile-detail-v2 { min-width: 0; min-height: 0; overflow: hidden; border: var(--dragon-profile-border-width) solid var(--r2-line); border-radius: var(--r2-radius); background: var(--r2-card); box-shadow: var(--r2-shadow); } .hot-money-profile-directory-v2 { display: flex; flex-direction: column; } .hot-money-profile-directory-head-v2 { min-height: var(--dragon-profile-control-height); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--dragon-profile-gap); border-bottom: var(--dragon-profile-border-width) solid var(--r2-line-soft); } .hot-money-profile-directory-head-v2 strong { color: var(--r2-ink); font-size: var(--dragon-profile-body-font); } .hot-money-profile-directory-head-v2 span { color: var(--r2-faint); font-size: var(--dragon-profile-meta-font); font-variant-numeric: tabular-nums; } .hot-money-profile-list-v2 { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; } .hot-money-profile-row-v2 { width: 100%; min-height: var(--dragon-profile-row-min-height); display: grid; grid-template-columns: auto var(--dragon-profile-row-avatar-size) minmax(0, 1fr) auto; align-items: center; gap: calc(var(--dragon-profile-gap) / 2); padding: var(--dragon-profile-row-padding); border: 0; border-bottom: var(--dragon-profile-border-width) solid var(--r2-line-soft); background: transparent; text-align: left; transition: background-color var(--dragon-profile-transition), color var(--dragon-profile-transition); } .hot-money-profile-row-v2:hover { background: var(--r2-bg); } .hot-money-profile-row-v2.selected { background: var(--r2-blue-soft); } .hot-money-profile-row-v2:focus-visible { outline: var(--dragon-profile-focus-width) solid var(--r2-blue); outline-offset: var(--dragon-profile-focus-offset); } .hot-money-profile-index-v2 { color: var(--r2-faint); font-size: var(--dragon-profile-meta-font); font-variant-numeric: tabular-nums; } .hot-money-profile-monogram-v2, .hot-money-profile-avatar-v2 { display: grid; place-items: center; border-radius: var(--r2-radius); background: var(--r2-blue-soft); color: var(--r2-blue); font-weight: var(--dragon-profile-weight-strong); } .hot-money-profile-monogram-v2 { width: var(--dragon-profile-row-avatar-size); height: var(--dragon-profile-row-avatar-size); font-size: var(--dragon-profile-meta-font); } .hot-money-profile-row-copy-v2 { min-width: 0; } .hot-money-profile-row-copy-v2 strong, .hot-money-profile-row-copy-v2 small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hot-money-profile-row-copy-v2 strong { color: var(--r2-ink); font-size: var(--dragon-profile-name-font); } .hot-money-profile-row-copy-v2 small { margin-top: calc(var(--dragon-profile-gap) / 4); color: var(--r2-faint); font-size: var(--dragon-profile-meta-font); } .hot-money-profile-seat-count-v2 { color: var(--r2-sub); font-size: var(--dragon-profile-meta-font); font-variant-numeric: tabular-nums; white-space: nowrap; } .hot-money-profile-detail-v2 { min-height: var(--dragon-profile-detail-min-height); display: flex; flex-direction: column; overflow-y: auto; } .hot-money-profile-detail-head-v2 { display: flex; align-items: center; gap: var(--dragon-profile-gap); padding: var(--dragon-profile-panel-padding); border-bottom: var(--dragon-profile-border-width) solid var(--r2-line-soft); } .hot-money-profile-avatar-v2 { width: var(--dragon-profile-avatar-size); height: var(--dragon-profile-avatar-size); flex: 0 0 var(--dragon-profile-avatar-size); font-size: var(--dragon-profile-title-font); } .hot-money-profile-detail-head-v2 > div { min-width: 0; } .hot-money-profile-detail-head-v2 small, .hot-money-profile-detail-head-v2 span { display: block; color: var(--r2-faint); font-size: var(--dragon-profile-meta-font); } .hot-money-profile-detail-head-v2 h3 { margin: calc(var(--dragon-profile-gap) / 3) 0; color: var(--r2-ink); font-size: var(--dragon-profile-title-font); } .hot-money-profile-section-v2 { padding: var(--dragon-profile-panel-padding); border-bottom: var(--dragon-profile-border-width) solid var(--r2-line-soft); } .hot-money-profile-section-v2 h4 { margin: 0 0 calc(var(--dragon-profile-gap) / 2); color: var(--r2-ink); font-size: var(--dragon-profile-name-font); } .hot-money-profile-section-v2 p { margin: 0; color: var(--r2-sub); font-size: var(--dragon-profile-body-font); line-height: var(--dragon-profile-body-line-height); white-space: pre-line; } .hot-money-profile-section-v2 p.is-empty { color: var(--r2-faint); } .hot-money-profile-section-title-v2 { display: flex; align-items: center; justify-content: space-between; } .hot-money-profile-section-title-v2 span { color: var(--r2-faint); font-size: var(--dragon-profile-meta-font); } .hot-money-profile-organizations-v2 { display: grid; gap: calc(var(--dragon-profile-gap) / 2); } .hot-money-profile-organizations-v2 > span { min-height: var(--dragon-profile-control-height); display: flex; align-items: center; gap: calc(var(--dragon-profile-gap) / 2); padding: 0 var(--dragon-profile-gap); border: var(--dragon-profile-border-width) solid var(--r2-line-soft); border-radius: calc(var(--r2-radius) - var(--dragon-profile-radius-inset)); background: var(--r2-bg); color: var(--r2-ink); font-size: var(--dragon-profile-body-font); } .hot-money-profile-organizations-v2 .lucide { width: var(--dragon-profile-name-font); height: var(--dragon-profile-name-font); color: var(--r2-sub); } .hot-money-profile-notice-v2 { margin: auto var(--dragon-profile-panel-padding) var(--dragon-profile-panel-padding); color: var(--r2-amber); font-size: var(--dragon-profile-meta-font); } .hot-money-profile-empty-v2, .hot-money-profile-list-empty-v2 { min-height: var(--dragon-profile-detail-min-height); display: grid; place-items: center; align-content: center; gap: calc(var(--dragon-profile-gap) / 2); color: var(--r2-faint); text-align: center; } .hot-money-profile-list-empty-v2 { min-height: var(--dragon-profile-row-min-height); } .hot-money-profile-empty-v2 .lucide, .hot-money-profile-list-empty-v2 .lucide { width: var(--dragon-profile-avatar-size); height: var(--dragon-profile-avatar-size); stroke-width: var(--dragon-profile-icon-stroke); } .hot-money-profile-list-empty-v2 .lucide { width: var(--dragon-profile-row-avatar-size); height: var(--dragon-profile-row-avatar-size); } .hot-money-profile-empty-v2 strong, .hot-money-profile-list-empty-v2 span { font-size: var(--dragon-profile-body-font); font-weight: var(--dragon-profile-weight-semibold); } @media (min-width: 721px) { body[data-active-view="dragonView"] .hot-money-profiles-v2 { flex: 1 1 auto; } } @media (max-width: 720px) { .hot-money-profiles-v2 { overflow: visible; } .hot-money-profile-toolbar-v2 { align-items: stretch; flex-direction: column; } .hot-money-profile-summary-v2 { justify-content: space-between; } .hot-money-profile-search-v2 { width: 100%; } .hot-money-profile-workspace-v2 { grid-template-columns: minmax(0, 1fr); } .hot-money-profile-list-v2 { max-height: var(--dragon-profile-list-max-height); } .hot-money-profile-detail-v2 { min-height: 0; } .hot-money-profile-detail-head-v2 { align-items: flex-start; } } @media (prefers-reduced-motion: reduce) { .hot-money-profile-row-v2 { transition: none; } } /* Stage 15: screener rebuilt from the approved reference layout. */ #screenerView { --scr-blue: #2563eb; --scr-blue-soft: #eff4ff; --scr-red: #e04536; --scr-red-soft: #fff0ed; --scr-green: #16a34a; --scr-amber: #b45309; --scr-amber-soft: #fff8ec; padding: 14px 16px 18px; } #screenerView .member-gate { margin-bottom: 12px; } #screenerView .screener-page-bar { min-height: 36px; display: flex; align-items: center; gap: 12px; margin: 0 0 12px; } #screenerView .screener-page-heading { min-height: 36px; flex: 1 1 auto; margin: 0; padding: 0; border: 0; background: transparent; } #screenerView .screener-page-heading .section-title-group { display: flex; align-items: baseline; gap: 11px; } #screenerView .screener-page-heading h2 { margin: 0; color: var(--r2-ink); font-size: 17px; font-weight: 800; } #screenerView .screener-page-heading .section-subtitle { color: var(--r2-faint); font-size: 12px; } #screenerView .screener-mode-tabs { min-height: 36px; display: inline-flex; flex: 0 0 auto; gap: 3px; margin: 0; padding: 3px; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; } #screenerView .screener-mode-tabs button { min-width: 112px; min-height: 30px; padding: 0 17px; border: 0; border-radius: 7px; background: transparent; color: var(--r2-sub); font-size: 13px; font-weight: 650; box-shadow: none; } #screenerView .screener-mode-tabs button::after { display: none; } #screenerView .screener-mode-tabs button:hover { background: #f5f7fa; color: var(--r2-ink); } #screenerView .screener-mode-tabs button.active { background: var(--scr-blue); color: #fff; } #screenerView .screener-mobile-tabs { display: none; } #screenerView .screener-strategy-view { display: flex; flex-direction: column; gap: 12px; } #screenerView .screener-stepper { min-height: 58px; display: flex; align-items: center; gap: 0; margin: 0; padding: 10px 18px; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .screener-step { min-width: 0; display: flex; align-items: center; flex: 0 0 auto; gap: 9px; } #screenerView .screener-step .step-marker { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; background: #e8ebf0; color: var(--r2-faint); font-size: 11px; font-weight: 800; } #screenerView .screener-step strong, #screenerView .screener-step small { display: block; white-space: nowrap; } #screenerView .screener-step strong { font-size: 12.5px; line-height: 1.35; } #screenerView .screener-step small { margin-top: 1px; color: var(--r2-faint); font-size: 10.5px; line-height: 1.3; } #screenerView .screener-step[data-state="complete"] .step-marker { background: var(--scr-green); color: transparent; } #screenerView .screener-step[data-state="complete"] .step-marker::after { content: "\2713"; color: #fff; font-size: 13px; } #screenerView .screener-step[data-state="current"] .step-marker { background: var(--scr-blue); color: #fff; } #screenerView .step-line { width: clamp(30px, 5vw, 68px); height: 1px; flex: 0 1 68px; margin: 0 14px; background: #d9dee7; } #screenerView .step-line.complete { background: #86d5a0; } #screenerView .screener-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .97fr); gap: 12px; } #screenerView .screener-overview-card { min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .screener-card-heading { min-height: 43px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--r2-line-soft); } #screenerView .screener-card-heading h3 { margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 750; } #screenerView .screener-card-heading h3 > span { margin-right: 4px; color: var(--scr-blue); font-size: 10px; font-variant-numeric: tabular-nums; } #screenerView .screener-soft-label { margin-left: auto; padding: 3px 7px; border-radius: 5px; background: #f4f6f8; color: var(--r2-sub); font-size: 10.5px; } #screenerView .screener-regime-body { min-height: 164px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 15px; align-items: start; padding: 14px 16px; } #screenerView .regime-summary { min-height: 68px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 9px 8px; border: 1px solid #f3c9c3; border-radius: 9px; background: var(--scr-red-soft); text-align: center; align-self: start; } #screenerView .regime-summary strong { color: var(--scr-red); font-size: 19px; font-weight: 800; line-height: 1.2; } #screenerView .regime-summary span { margin-top: 3px; color: var(--r2-sub); font-size: 10.5px; } #screenerView .regime-reading { min-width: 0; } #screenerView .regime-temperature { min-height: 0; display: flex; align-items: baseline; justify-content: flex-start; flex-direction: row; gap: 5px; padding: 0; border: 0; color: #374151; font-size: 12px; line-height: 1.6; } #screenerView .regime-temperature strong { color: var(--r2-ink); font-size: 16px; font-weight: 800; } #screenerView .regime-temperature small { color: var(--scr-green); font-size: 11px; } #screenerView .regime-evidence-line { min-height: 18px; margin-top: 2px; overflow: hidden; color: #4b5563; font-size: 11.5px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; } #screenerView .regime-advice { margin-top: 6px; padding: 6px 9px; border-radius: 6px; background: var(--scr-amber-soft); color: var(--scr-amber); font-size: 11.5px; line-height: 1.55; } #screenerView .regime-advice::before { content: "\26A0 "; } #screenerView .regime-selector { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 9px 0 0; padding: 0; border: 0; } #screenerView .regime-option { min-height: 27px; padding: 3px 11px; border: 1px solid var(--r2-line); border-radius: 6px; background: #fff; color: var(--r2-sub); font-size: 11.5px; } #screenerView .regime-option:hover { border-color: #bbc8db; color: var(--r2-ink); } #screenerView .regime-option.active { border-color: var(--scr-red); background: var(--scr-red-soft); color: var(--scr-red); font-weight: 700; } #screenerView .factor-data-status { display: flex; align-items: center; gap: 5px; margin-top: 7px; padding: 0; border: 0; background: transparent; color: var(--scr-green); font-size: 10.5px; } #screenerView .factor-data-status::before { content: "\2713"; font-weight: 800; } #screenerView .factor-data-status span { color: var(--scr-green); } #screenerView .factor-data-status strong { margin-left: auto; color: var(--r2-sub); font-size: 10px; } #screenerView .factor-data-status small { max-width: 160px; overflow: hidden; color: var(--r2-faint); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; } #screenerView .screener-strategy-summary { min-height: 164px; display: flex; flex-direction: column; padding: 14px 16px; } #screenerView .screener-strategy-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; } #screenerView .screener-strategy-title > strong { color: var(--r2-ink); font-size: 15px; font-weight: 800; } #screenerView #activeStrategyRegimes { display: inline-flex; flex-wrap: wrap; gap: 4px; } #screenerView #activeStrategyRegimes b { padding: 2px 7px; border-radius: 5px; background: var(--scr-red-soft); color: var(--scr-red); font-size: 10px; font-weight: 600; } #screenerView #activeStrategyRegimes b.neutral { background: #f3f4f6; color: var(--r2-sub); } #screenerView .screener-strategy-summary > p { flex: 1; margin: 9px 0; color: var(--r2-sub); font-size: 11.5px; line-height: 1.7; } #screenerView .screener-strategy-actions { display: flex; gap: 7px; margin-top: auto; } #screenerView .screener-runbar { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .screener-run-actions { display: flex; align-items: center; gap: 8px; } #screenerView .screener-runbar .button, #screenerView .curated-card-actions button, #screenerView .quant-screener-panel .button { min-height: 32px; border-radius: 6px; font-size: 11.5px; } #screenerView .screener-runbar .button.primary, #screenerView .quant-screener-panel .button.primary { background: var(--scr-blue); } #screenerView .screener-pipeline-status { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-left: auto; color: var(--r2-sub); font-size: 10.5px; } #screenerView .screener-pipeline-status strong { color: var(--scr-green); font-weight: 600; } #screenerView .screener-results-view, #screenerView .strategy-tracking-panel { margin-top: 12px; overflow: hidden; padding: 0; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .screener-results-view .result-toolbar, #screenerView .strategy-tracking-panel .result-toolbar { min-height: 47px; margin: 0; padding: 0 14px; border: 0; background: #fff; } #screenerView .result-toolbar h2 { font-size: 14px; font-weight: 800; } #screenerView .result-toolbar .count-badge { border-radius: 5px; background: #f1f3f6; color: var(--r2-sub); font-size: 10.5px; } #screenerView .result-toolbar .section-subtitle { margin-left: auto; color: var(--r2-faint); font-size: 10.5px; } #screenerView .screener-backtest-strip { min-height: 57px; display: flex; align-items: center; gap: 18px; margin: 0; padding: 8px 14px; border: 0; border-bottom: 1px solid #f0e6d7; border-radius: 0; background: #fffaf3; } #screenerView .screener-backtest-strip > .lucide { width: 15px; color: var(--scr-amber); } #screenerView .screener-backtest-strip .dragon-summary { display: flex; flex: 0 0 auto; gap: 22px; } #screenerView .screener-backtest-strip .dragon-summary > div { min-width: 64px; padding: 0; border: 0; background: transparent; } #screenerView .screener-backtest-strip .dragon-summary span { display: block; color: var(--r2-faint); font-size: 10px; } #screenerView .screener-backtest-strip .dragon-summary strong { display: block; margin-top: 2px; color: var(--r2-ink); font-size: 14px; } #screenerView .screener-backtest-strip > p { max-width: 470px; margin: 0 0 0 auto; color: var(--r2-faint); font-size: 10px; line-height: 1.55; } #screenerView .screener-result-frame, #screenerView .tracking-table-frame { min-height: 230px; overflow: auto; border: 0; border-top: 1px solid var(--r2-line-soft); border-radius: 0; } #screenerView .tracking-table-frame { min-height: 132px; } #screenerView .data-table { font-size: 11.5px; } #screenerView .data-table thead th { height: 39px; padding: 8px 11px; background: #f8fafc; color: var(--r2-sub); font-size: 10.5px; } #screenerView .data-table tbody td { height: 45px; padding: 8px 11px; } #screenerView .data-table .stock-name { font-weight: 750; } #screenerView .data-table .reason-column { max-width: 250px; overflow: hidden; color: #5f6b7c; text-overflow: ellipsis; } #screenerView .data-table .risk-cell { max-width: 155px; overflow: hidden; color: var(--scr-amber); text-overflow: ellipsis; } #screenerView .probability-value strong, #screenerView .probability-value small { display: block; } #screenerView .probability-value small { color: var(--r2-faint); font-size: 9px; } #screenerView .tracking-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--r2-line-soft); } #screenerView .tracking-summary > div { padding: 8px 14px; border-right: 1px solid var(--r2-line-soft); } #screenerView .tracking-summary > div:last-child { border-right: 0; } #screenerView .tracking-summary span, #screenerView .tracking-summary strong { display: block; } #screenerView .tracking-summary span { color: var(--r2-faint); font-size: 9.5px; } #screenerView .tracking-summary strong { margin-top: 2px; font-size: 13px; } /* Curated strategy workspace. */ #screenerView .curated-screener-panel { display: block; } #screenerView .curated-workspace { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(560px, 1.5fr); gap: 12px; align-items: stretch; } #screenerView .curated-library-pane, #screenerView .curated-detail-pane { min-width: 0; overflow: hidden; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .curated-library-pane { display: flex; flex-direction: column; padding: 0; } #screenerView .curated-library-heading { min-height: 58px; display: flex; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--r2-line-soft); background: #fff; } #screenerView .curated-library-heading > div > span { color: var(--scr-blue); font-size: 10px; font-weight: 700; } #screenerView .curated-library-heading h3 { margin: 1px 0 0; font-size: 14px; } #screenerView .curated-library-heading > strong { margin-left: auto; color: var(--r2-sub); font-size: 11px; } #screenerView .curated-library-controls { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 104px 62px; align-items: center; gap: 7px; padding: 7px 10px; border-bottom: 1px solid var(--r2-line-soft); background: #fafbfc; } #screenerView .curated-view-toggle { min-height: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; } #screenerView .curated-view-toggle button { min-width: 0; display: grid; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--r2-faint); cursor: pointer; } #screenerView .curated-view-toggle button.active { background: var(--scr-blue-soft); color: var(--scr-blue); } #screenerView .curated-view-toggle button:focus-visible { outline: 2px solid var(--scr-blue); outline-offset: 1px; } #screenerView .curated-view-toggle .lucide { width: 13px; height: 13px; } #screenerView .curated-school-filters { min-height: 38px; display: flex; align-items: center; gap: 4px; padding: 5px 8px; overflow-x: auto; border-bottom: 1px solid var(--r2-line-soft); background: #fff; scrollbar-width: none; } #screenerView .curated-school-filters::-webkit-scrollbar { display: none; } #screenerView .curated-school-filters button { min-height: 26px; display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 0 7px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--r2-sub); font-size: 10px; cursor: pointer; } #screenerView .curated-school-filters button small { color: var(--r2-faint); font-size: 8.5px; font-variant-numeric: tabular-nums; } #screenerView .curated-school-filters button:hover { background: var(--scr-blue-soft); color: var(--scr-blue); } #screenerView .curated-school-filters button.active { border-color: #c5d4f1; background: var(--scr-blue-soft); color: var(--scr-blue); font-weight: 700; } #screenerView .curated-school-filters button:focus-visible { outline: 2px solid var(--scr-blue); outline-offset: 1px; } #screenerView .curated-search { width: 100%; min-height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; background: #fff; } #screenerView .curated-search .lucide { width: 14px; color: var(--r2-faint); } #screenerView .curated-search input { min-width: 0; flex: 1; border: 0; outline: 0; font-size: 11.5px; } #screenerView .curated-category-select { position: relative; min-height: 32px; display: flex; align-items: center; } #screenerView .curated-category-select select { width: 100%; min-height: 32px; padding: 0 27px 0 9px; border: 1px solid var(--r2-line); border-radius: 7px; appearance: none; background: #fff; color: var(--r2-sub); font-size: 10.5px; } #screenerView .curated-category-select .lucide { position: absolute; right: 8px; width: 13px; pointer-events: none; color: var(--r2-faint); } #screenerView .curated-strategy-list { min-height: 352px; max-height: 532px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; padding: 8px; scrollbar-gutter: stable; } #screenerView .curated-strategy-icon { display: none; } #screenerView .curated-strategy-list.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; } #screenerView .curated-strategy-list.is-grid .curated-strategy-card { min-height: 124px; align-items: center; justify-content: center; gap: 7px; text-align: center; } #screenerView .curated-strategy-list.is-grid .curated-strategy-card:hover { transform: translateY(-2px); } #screenerView .curated-strategy-list.is-grid .curated-strategy-card.active { box-shadow: inset 0 3px var(--scr-blue); } #screenerView .curated-strategy-list.is-grid .curated-strategy-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: var(--scr-blue-soft); color: var(--scr-blue); } #screenerView .curated-strategy-list.is-grid .curated-strategy-icon .lucide { width: 16px; height: 16px; } #screenerView .curated-strategy-list.is-grid .curated-card-head { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 4px; } #screenerView .curated-strategy-list.is-grid .curated-strategy-rank, #screenerView .curated-strategy-list.is-grid .curated-card-tags { display: none; } #screenerView .curated-strategy-list.is-grid .curated-card-result { justify-self: center; } #screenerView .curated-strategy-card { min-height: 70px; display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; padding: 9px 10px; border: 1px solid transparent; border-radius: 7px; background: #f8fafc; box-shadow: none; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; } #screenerView .curated-strategy-card:hover { border-color: #b7c9ee; background: #f4f7fd; transform: translateX(2px); } #screenerView .curated-strategy-card.active { border-color: #9cb5ec; background: var(--scr-blue-soft); box-shadow: inset 3px 0 var(--scr-blue); } #screenerView .curated-card-head { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 8px; } #screenerView .curated-strategy-rank { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 5px; background: #eef1f5; color: var(--r2-sub); font-size: 9px; font-style: normal; } #screenerView .curated-card-head strong, #screenerView .curated-card-head small { display: block; } #screenerView .curated-card-head strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } #screenerView .curated-card-head small { margin-top: 1px; color: var(--r2-faint); font-size: 9px; } #screenerView .curated-card-result { padding: 2px 6px; border-radius: 4px; background: #eef1f5; color: var(--r2-faint); font-size: 9px; font-style: normal; white-space: nowrap; } #screenerView .curated-card-result.ready { background: var(--scr-green-soft); color: var(--scr-green); } #screenerView .curated-card-result.quiet { background: var(--scr-blue-soft); color: var(--scr-blue); } #screenerView .curated-card-result.missing { background: var(--scr-amber-soft); color: var(--scr-amber); } #screenerView .curated-card-tags { display: flex; flex-wrap: wrap; gap: 4px; } #screenerView .curated-card-tags em { padding: 2px 6px; border-radius: 4px; background: var(--scr-blue-soft); color: var(--scr-blue); font-size: 9px; font-style: normal; } #screenerView .curated-card-tags em:nth-child(2) { background: #f3f4f6; color: var(--r2-sub); } #screenerView .curated-card-tags em:nth-child(3) { background: var(--scr-amber-soft); color: var(--scr-amber); } #screenerView .curated-detail-pane { display: flex; flex-direction: column; padding: 14px 16px 0; } #screenerView .curated-detail-header { gap: 14px; padding-bottom: 11px; } #screenerView .curated-detail-header h3 { font-size: 16px; } #screenerView .curated-detail-header p { max-width: 650px; margin-top: 5px; font-size: 11px; line-height: 1.55; } #screenerView .curated-strategy-badges span { min-height: 24px; padding: 0 7px; font-size: 10px; } #screenerView .curated-environment-notes { display: grid; gap: 5px; padding: 10px 0; border-bottom: 1px solid var(--r2-line-soft); } #screenerView .curated-environment-notes p { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; margin: 0; color: var(--r2-sub); font-size: 10.5px; line-height: 1.55; } #screenerView .curated-environment-notes strong { color: var(--scr-green); } #screenerView .curated-environment-notes p:last-child strong { color: var(--scr-amber); } #screenerView .curated-health-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 -16px; border-bottom: 1px solid var(--r2-line-soft); background: #fafbfc; } #screenerView .curated-health-grid > div { min-width: 0; padding: 8px 12px; border-right: 1px solid var(--r2-line-soft); } #screenerView .curated-health-grid > div:last-child { border-right: 0; } #screenerView .curated-health-grid span, #screenerView .curated-health-grid strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #screenerView .curated-health-grid span { color: var(--r2-faint); font-size: 9px; } #screenerView .curated-health-grid strong { margin-top: 2px; color: var(--r2-ink); font-size: 11.5px; font-variant-numeric: tabular-nums; } #screenerView .curated-health-grid strong.ready { color: var(--scr-green); } #screenerView .curated-health-grid strong.quiet { color: var(--scr-blue); } #screenerView .curated-health-grid strong.missing { color: var(--scr-amber); } #screenerView .curated-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; } #screenerView .curated-condition-section { min-width: 0; } #screenerView .curated-rule-list, #screenerView .curated-score-list { margin-top: 6px; } #screenerView .curated-rule-row { min-height: 34px; padding: 5px 4px; font-size: 10.5px; } #screenerView .curated-rule-row span, #screenerView .curated-rule-row strong { font-size: 10.5px; } #screenerView .curated-score-row { min-height: 31px; grid-template-columns: minmax(90px, 1fr) minmax(80px, 1.25fr) 38px; gap: 7px; font-size: 10px; } #screenerView .curated-execution-bar { min-height: 48px; margin: auto -16px 0; padding: 7px 12px; border-top: 1px solid var(--r2-line-soft); background: #fafbfc; } #screenerView .curated-data-status > .lucide { width: 16px; height: 16px; } #screenerView .curated-data-status strong { font-size: 11px; } #screenerView .curated-data-status small { margin-top: 1px; font-size: 9.5px; } /* Quant workspace. */ #screenerView .quant-screener-panel { display: grid; grid-template-columns: minmax(440px, .9fr) minmax(460px, 1.1fr); gap: 12px; align-items: start; } #screenerView .quant-builder-pane, #screenerView .quant-summary-pane { min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .quant-panel-heading, #screenerView .quant-summary-pane > header { min-height: 52px; display: flex; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--r2-line-soft); background: #fff; } #screenerView .quant-panel-heading > div > span, #screenerView .quant-summary-pane > header > span { display: block; color: var(--scr-blue); font-size: 9.5px; font-weight: 700; } #screenerView .quant-panel-heading h3, #screenerView .quant-summary-pane > header h3 { margin: 1px 0 0; font-size: 14px; } #screenerView .quant-panel-heading .button { margin-left: auto; } #screenerView .quant-universe-section, #screenerView .quant-rule-section { padding: 12px 14px; } #screenerView .quant-universe-section { border-bottom: 1px solid var(--r2-line-soft); } #screenerView .mini-section-heading { display: flex; align-items: center; gap: 8px; } #screenerView .mini-section-heading h4 { margin: 0; font-size: 11.5px; } #screenerView .mini-section-heading p { margin: 2px 0 0; color: var(--r2-faint); font-size: 9.5px; } #screenerView .mini-section-heading .icon-text-button { margin-left: auto; } #screenerView .quant-universe-grid { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: 8px; margin-top: 10px; padding: 0; border: 0; background: transparent; } #screenerView .quant-universe-grid .form-field span { font-size: 9.5px; } #screenerView .quant-universe-grid input { min-height: 32px; } #screenerView .quant-st-toggle { grid-column: 1 / -1; min-height: 32px; padding: 0 9px; border-radius: 6px; background: #f7f8fa; } #screenerView .quant-rule-rows { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; } #screenerView .quant-rule-row { min-height: 47px; display: grid; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--r2-line-soft); border-radius: 7px; background: #fafbfc; } #screenerView .quant-score-row { grid-template-columns: minmax(112px, .8fr) minmax(160px, 1.2fr) minmax(132px, .9fr) 28px; } #screenerView .quant-filter-row { grid-template-columns: minmax(130px, 1fr) 74px minmax(100px, .8fr) 28px; } #screenerView .quant-rule-row select, #screenerView .quant-rule-row input[type="text"] { min-width: 0; min-height: 30px; border: 1px solid #dce1e8; border-radius: 6px; background: #fff; font-size: 10.5px; } #screenerView .quant-weight-control { display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 7px; } #screenerView .quant-weight-control input[type="range"] { width: 100%; height: 5px; accent-color: var(--scr-blue); } #screenerView .quant-weight-control output { color: var(--r2-ink); font-size: 11px; font-weight: 700; text-align: right; } #screenerView .quant-direction-control { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border: 1px solid var(--r2-line); border-radius: 6px; background: #fff; } #screenerView .quant-direction-control button { min-height: 25px; padding: 0 5px; border: 0; border-radius: 4px; background: transparent; color: var(--r2-faint); font-size: 9px; } #screenerView .quant-direction-control button.active { background: var(--scr-blue-soft); color: var(--scr-blue); font-weight: 700; } #screenerView .quant-remove-button { width: 27px; height: 27px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--r2-faint); } #screenerView .quant-remove-button:hover { background: var(--scr-red-soft); color: var(--scr-red); } #screenerView .quant-remove-button .lucide { width: 13px; } #screenerView .quant-filter-section { min-height: 158px; border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-execution-heading { display: flex; align-items: center; padding: 12px 14px 0; } #screenerView .quant-execution-heading span { font-size: 11.5px; font-weight: 700; } #screenerView .quant-execution-heading small { margin-left: auto; color: var(--r2-faint); font-size: 9.5px; } #screenerView .quant-formula-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 8px 14px 10px; overflow: hidden; border: 1px solid var(--r2-line-soft); border-radius: 7px; } #screenerView .quant-summary-block { min-width: 0; padding: 8px 10px; border-right: 1px solid var(--r2-line-soft); border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-summary-block:nth-child(2n) { border-right: 0; } #screenerView .quant-summary-block:nth-last-child(-n + 2) { border-bottom: 0; } #screenerView .quant-summary-block span, #screenerView .quant-summary-block strong { display: block; } #screenerView .quant-summary-block span { color: var(--r2-faint); font-size: 9px; } #screenerView .quant-summary-block strong { margin-top: 2px; overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } #screenerView .quant-weight-status { display: grid; grid-template-columns: auto 42px minmax(100px, 1fr); align-items: center; gap: 8px; margin: 0 14px 10px; font-size: 10.5px; } #screenerView .quant-weight-status strong { text-align: right; } #screenerView .quant-weight-status > div { height: 6px; overflow: hidden; border-radius: 3px; background: #e8ebf0; } #screenerView .quant-weight-status i { display: block; height: 100%; border-radius: inherit; } #screenerView .quant-summary-pane > .checkbox-control { margin: 0 14px 7px; } #screenerView .quant-summary-pane > .button { width: calc(100% - 28px); margin: 6px 14px 0; } #screenerView .quant-validation-message { margin: 9px 14px 12px; color: var(--scr-green); font-size: 9.5px; } #screenerView .quant-validation-message.error { color: var(--scr-amber); } #screenerView .strategy-drawer::backdrop { background: rgba(20, 29, 44, .38); backdrop-filter: blur(3px); } @media (max-width: 1180px) { #screenerView .screener-step small { max-width: 120px; overflow: hidden; text-overflow: ellipsis; } #screenerView .screener-overview-grid, #screenerView .quant-screener-panel { grid-template-columns: 1fr; } #screenerView .curated-workspace { grid-template-columns: minmax(310px, .82fr) minmax(480px, 1.3fr); } } @media (max-width: 820px) { #screenerView { padding: 10px; } #screenerView .screener-page-bar { align-items: stretch; flex-direction: column; gap: 6px; } #screenerView .screener-mode-tabs { width: 100%; } #screenerView .screener-mode-tabs button { min-width: 0; flex: 1 1 0; padding-inline: 5px; } #screenerView .screener-stepper { overflow-x: auto; padding-inline: 12px; } #screenerView .screener-step { min-width: 112px; } #screenerView .step-line { width: 24px; flex-basis: 24px; margin-inline: 7px; } #screenerView .screener-runbar { align-items: stretch; flex-direction: column; } #screenerView .screener-run-actions { display: grid; grid-template-columns: 1fr 1fr; } #screenerView .screener-pipeline-status { margin-left: 0; } #screenerView .screener-backtest-strip { align-items: flex-start; flex-wrap: wrap; } #screenerView .screener-backtest-strip > p { max-width: none; margin-left: 0; } #screenerView .curated-workspace { grid-template-columns: 1fr; } #screenerView .curated-strategy-list { min-height: 0; max-height: 310px; } #screenerView .curated-strategy-list.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } #screenerView .curated-detail-pane { min-height: 430px; } } @media (max-width: 560px) { #screenerView .screener-mobile-tabs { display: grid; } #screenerView .screener-regime-body { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 12px; } #screenerView .regime-selector { gap: 4px; } #screenerView .regime-option { flex: 1 1 27%; padding-inline: 5px; } #screenerView .factor-data-status strong, #screenerView .factor-data-status small { display: none; } #screenerView .screener-run-actions { grid-template-columns: 1fr; } #screenerView .screener-backtest-strip .dragon-summary { display: grid; grid-template-columns: 1fr 1fr; width: calc(100% - 32px); gap: 9px; } #screenerView .result-toolbar { align-items: flex-start; flex-direction: column; padding-block: 9px !important; } #screenerView .result-toolbar .section-subtitle { margin-left: 0; } #screenerView .tracking-summary { grid-template-columns: repeat(2, 1fr); } #screenerView .tracking-summary > div { border-bottom: 1px solid var(--r2-line-soft); } #screenerView .curated-library-heading { align-items: flex-start; } #screenerView .curated-library-controls { grid-template-columns: minmax(0, 1fr) 104px 62px; } #screenerView .curated-strategy-list.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } #screenerView .curated-health-grid { grid-template-columns: 1fr 1fr; } #screenerView .curated-health-grid > div:nth-child(2) { border-right: 0; } #screenerView .curated-health-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--r2-line-soft); } #screenerView .curated-detail-grid { grid-template-columns: 1fr; } #screenerView .curated-execution-bar { align-items: flex-start; flex-direction: column; } #screenerView .quant-universe-grid, #screenerView .quant-formula-summary { grid-template-columns: 1fr; } #screenerView .quant-st-toggle { grid-column: auto; } #screenerView .quant-summary-block { border-right: 0; } #screenerView .quant-summary-block:nth-last-child(-n + 2) { border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-summary-block:last-child { border-bottom: 0; } #screenerView .quant-score-row, #screenerView .quant-filter-row { grid-template-columns: 1fr; } #screenerView .quant-remove-button { justify-self: end; } } @media (prefers-reduced-motion: reduce) { #screenerView .curated-strategy-card { transition: none; } } /* Stage 15 refinement: match the approved proportions and reading order. */ #screenerView .screener-page-bar { flex-wrap: nowrap; } #screenerView .screener-tracking-entry { min-height: 36px; flex: 0 0 auto; gap: 6px; border-color: var(--r2-line); border-radius: 8px; background: #fff; color: var(--r2-sub); font-size: 11.5px; } #screenerView .screener-tracking-entry:hover { border-color: #b9c8e4; color: var(--scr-blue); } #screenerView .screener-tracking-entry .lucide { width: 14px; } #screenerView .screener-stepper { min-height: 52px; padding-block: 8px; } #screenerView .screener-overview-grid { grid-template-columns: 1fr 1fr; } #screenerView .screener-regime-body { min-height: 142px; grid-template-columns: 84px minmax(0, 1fr); gap: 13px; padding: 12px 14px; } #screenerView .regime-summary { min-height: 60px; padding: 8px 6px; } #screenerView .regime-summary strong { font-size: 17px; } #screenerView .regime-market-line { min-width: 0; display: flex; align-items: baseline; gap: 7px; line-height: 1.55; } #screenerView .regime-temperature { flex: 0 0 auto; white-space: nowrap; } #screenerView .regime-temperature strong { font-size: 14px; } #screenerView .regime-evidence-line { min-width: 0; min-height: 0; margin: 0; flex: 1; font-size: 11px; } #screenerView .regime-advice { margin-top: 5px; padding-block: 5px; } #screenerView .regime-control-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin-top: 8px; } #screenerView .regime-control-line .regime-selector { margin: 0; } #screenerView .regime-control-line .factor-data-status { margin: 0; white-space: nowrap; } #screenerView .regime-control-line .factor-data-status strong, #screenerView .regime-control-line .factor-data-status small { display: none; } #screenerView .regime-option { min-height: 25px; padding: 2px 9px; } #screenerView .screener-strategy-summary { min-height: 142px; padding: 12px 14px; } #screenerView .screener-strategy-summary > p { margin: 7px 0 9px; line-height: 1.65; } #screenerView .screener-backtest-strip { min-height: 54px; max-height: 54px; flex-wrap: nowrap; padding-block: 7px; overflow: hidden; } #screenerView .screener-backtest-strip .dragon-summary { gap: 18px; } #screenerView .screener-backtest-strip .dragon-summary > div { min-width: 58px; } #screenerView .screener-backtest-strip .dragon-metric { min-height: 0; height: auto; padding: 0; } #screenerView .screener-backtest-strip .dragon-summary strong { font-size: 13px; } /* Quant controls follow the compact left-rail prototype. */ #screenerView .quant-screener-panel { grid-template-columns: 340px minmax(0, 1fr); gap: 10px; } #screenerView .quant-intro-band { min-height: 38px; grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid var(--r2-line); border-radius: 9px; background: #fff; } #screenerView .quant-intro-band strong { font-size: 11.5px; } #screenerView .quant-intro-band span { color: var(--r2-faint); font-size: 10.5px; } #screenerView .quant-builder-pane, #screenerView .quant-summary-pane { border-radius: 9px; } #screenerView .quant-builder-pane .quant-rule-section { padding: 0; } #screenerView .quant-builder-pane .mini-section-heading { min-height: 43px; padding: 7px 12px; border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-builder-pane .quant-rule-rows { gap: 0; margin: 0; } #screenerView .quant-score-row { min-height: 54px; grid-template-columns: minmax(112px, 1fr) minmax(112px, 1.25fr) 24px; gap: 8px; padding: 7px 10px; border: 0; border-bottom: 1px solid var(--r2-line-soft); border-radius: 0; background: #fff; } #screenerView .quant-factor-identity { min-width: 0; display: grid; grid-template-columns: 15px minmax(0, 1fr); align-items: center; gap: 6px; } #screenerView .quant-factor-identity > i { width: 13px; height: 13px; display: grid; place-items: center; border-radius: 3px; background: var(--scr-blue); color: #fff; font-size: 8px; font-style: normal; } #screenerView .quant-factor-identity > span { min-width: 0; } #screenerView .quant-factor-identity select { width: 100%; min-height: 22px; padding: 0 18px 0 0; overflow: hidden; border: 0; background-color: transparent; color: var(--r2-ink); font-size: 11px; font-weight: 650; text-overflow: ellipsis; } #screenerView .quant-factor-identity button { min-height: 0; display: block; padding: 0; border: 0; background: transparent; color: var(--r2-faint); font-size: 8.5px; line-height: 1.3; text-align: left; } #screenerView .quant-factor-identity button:hover { color: var(--scr-blue); } #screenerView .quant-weight-control { grid-template-columns: minmax(0, 1fr) 30px; gap: 5px; } #screenerView .quant-weight-control output { font-size: 10px; } #screenerView .quant-score-row .quant-remove-button { width: 22px; height: 22px; } #screenerView .quant-builder-pane > .quant-weight-status { min-height: 35px; grid-template-columns: auto minmax(0, 1fr) 34px; margin: 0; padding: 8px 10px; border-top: 0; background: #f8fafc; } #screenerView .quant-summary-pane > .quant-universe-section { padding: 10px 13px; border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-summary-pane .quant-universe-grid { grid-template-columns: repeat(3, minmax(100px, 1fr)) minmax(128px, .9fr); align-items: end; gap: 7px; } #screenerView .quant-summary-pane .quant-st-toggle { grid-column: auto; min-height: 32px; margin: 0; } #screenerView .quant-filter-section { min-height: 0; padding: 10px 13px; } #screenerView .quant-filter-section .quant-rule-rows { gap: 6px; margin-top: 8px; } #screenerView .quant-filter-row { min-height: 40px; grid-template-columns: minmax(160px, 1.2fr) 72px minmax(150px, 1fr) 26px; padding: 5px 8px; } #screenerView .quant-execution-heading { padding: 10px 13px 0; } #screenerView .quant-formula-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 7px 13px 9px; } #screenerView .quant-summary-block { border-bottom: 0; } #screenerView .quant-summary-block:nth-child(2n) { border-right: 1px solid var(--r2-line-soft); } #screenerView .quant-summary-block:last-child { border-right: 0; } #screenerView .quant-execution-actions { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto; align-items: center; gap: 7px; margin: 8px 13px 0; } #screenerView .quant-execution-actions .checkbox-control { margin: 0; white-space: nowrap; } #screenerView .quant-execution-actions .button { width: auto; margin: 0; } #screenerView .quant-summary-pane > .quant-validation-message { margin: 8px 13px 10px; } #screenerView .screener-row-actions { display: inline-flex; align-items: center; gap: 5px; } #screenerView .tracking-action { min-width: 54px; color: var(--scr-blue); } #screenerView .tracking-action.tracked { color: var(--scr-green); } #screenerView .screener-result-frame th:last-child, #screenerView .screener-result-frame td:last-child { position: sticky; right: 0; z-index: 2; min-width: 116px; background: #fff; box-shadow: -7px 0 10px -10px rgba(31, 41, 55, .45); } #screenerView .screener-result-frame thead th:last-child { z-index: 3; background: #f8fafc; } #screenerView .screener-result-frame tbody tr:hover td:last-child { background: #f8faff; } /* Tracking is an internal screener page, intentionally absent from the sidebar. */ #screenerTrackingView { padding: 14px 16px 18px; background: var(--r2-bg); } #screenerTrackingView .tracking-page-header { min-height: 62px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerTrackingView .tracking-back-button { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid var(--r2-line); border-radius: 6px; background: #fff; color: var(--r2-sub); font-size: 11px; } #screenerTrackingView .tracking-back-button:hover { border-color: #b9c8e4; color: var(--scr-blue); } #screenerTrackingView .tracking-back-button .lucide { width: 14px; } #screenerTrackingView .tracking-page-header h2 { margin: 0; font-size: 16px; } #screenerTrackingView .tracking-page-header p { margin: 3px 0 0; color: var(--r2-faint); font-size: 10.5px; } #screenerTrackingView .tracking-overview-card, #screenerTrackingView .strategy-tracking-panel { overflow: hidden; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerTrackingView .tracking-overview-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); margin-bottom: 12px; } #screenerTrackingView .tracking-overview-title { display: flex; justify-content: center; flex-direction: column; gap: 3px; padding: 13px 16px; border-right: 1px solid var(--r2-line-soft); } #screenerTrackingView .tracking-overview-title span { color: var(--r2-sub); font-size: 10.5px; } #screenerTrackingView .tracking-overview-title strong { font-size: 17px; } #screenerTrackingView .tracking-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); } #screenerTrackingView .tracking-summary > div { display: flex; justify-content: center; flex-direction: column; padding: 11px 15px; border-right: 1px solid var(--r2-line-soft); } #screenerTrackingView .tracking-summary > div:last-child { border-right: 0; } #screenerTrackingView .tracking-summary span, #screenerTrackingView .tracking-summary strong { display: block; } #screenerTrackingView .tracking-summary span { color: var(--r2-faint); font-size: 9.5px; } #screenerTrackingView .tracking-summary strong { margin-top: 2px; font-size: 14px; } #screenerTrackingView .strategy-tracking-panel { padding: 0; } #screenerTrackingView .result-toolbar { min-height: 47px; margin: 0; padding: 0 14px; border: 0; } #screenerTrackingView .result-toolbar h2 { font-size: 14px; } #screenerTrackingView .result-toolbar .section-subtitle { margin-left: auto; font-size: 10.5px; } #screenerTrackingView .tracking-table-frame { min-height: 420px; overflow: auto; border: 0; border-top: 1px solid var(--r2-line-soft); border-radius: 0; } #screenerTrackingView .data-table { font-size: 11.5px; } #screenerTrackingView .data-table thead th { height: 39px; padding: 8px 11px; background: #f8fafc; font-size: 10.5px; } #screenerTrackingView .data-table tbody td { height: 46px; padding: 8px 11px; } #screenerTrackingView .stock-cell { display: flex; align-items: flex-start; flex-direction: column; gap: 2px; } #screenerTrackingView .stock-cell small { color: var(--r2-faint); font-size: 9px; } #screenerTrackingView .table-action.danger { color: var(--scr-red); } @media (max-width: 1180px) { #screenerView .quant-screener-panel { grid-template-columns: 320px minmax(0, 1fr); } #screenerView .quant-summary-pane .quant-universe-grid { grid-template-columns: repeat(2, minmax(100px, 1fr)); } #screenerView .quant-formula-summary { grid-template-columns: 1fr 1fr; } #screenerView .quant-summary-block { border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-summary-block:nth-last-child(-n + 2) { border-bottom: 0; } } @media (max-width: 900px) { #screenerView .screener-page-bar { flex-wrap: wrap; } #screenerView .screener-page-heading { width: 100%; flex-basis: 100%; } #screenerView .screener-mode-tabs { flex: 1 1 auto; } #screenerView .screener-overview-grid, #screenerView .quant-screener-panel { grid-template-columns: 1fr; } #screenerView .quant-intro-band { grid-column: auto; } #screenerTrackingView .tracking-overview-card { grid-template-columns: 1fr; } #screenerTrackingView .tracking-overview-title { border-right: 0; border-bottom: 1px solid var(--r2-line-soft); } } @media (max-width: 620px) { #screenerView .screener-tracking-entry { flex: 0 0 40px; width: 40px; padding: 0; font-size: 0; } #screenerView .screener-tracking-entry .lucide { width: 15px; } #screenerView .regime-market-line { align-items: flex-start; flex-direction: column; gap: 1px; } #screenerView .regime-evidence-line { width: 100%; white-space: normal; } #screenerView .screener-backtest-strip { max-height: none; flex-wrap: wrap; } #screenerView .quant-summary-pane .quant-universe-grid, #screenerView .quant-formula-summary, #screenerView .quant-execution-actions { grid-template-columns: 1fr; } #screenerView .quant-score-row, #screenerView .quant-filter-row { grid-template-columns: 1fr; } #screenerTrackingView { padding: 10px; } #screenerTrackingView .tracking-page-header { grid-template-columns: 1fr auto; } #screenerTrackingView .tracking-page-header > div { grid-column: 1 / -1; grid-row: 1; } #screenerTrackingView .tracking-back-button { grid-column: 1; grid-row: 2; } #screenerTrackingView #refreshTrackingButton { grid-column: 2; grid-row: 2; } #screenerTrackingView .tracking-summary { grid-template-columns: repeat(2, 1fr); } } /* Stage 15 visual correction: transfer the approved screener prototype proportions. */ #screenerView .screener-step .step-marker { position: relative; overflow: visible; } #screenerView .screener-step[data-state="complete"] .step-marker { font-size: 0; } #screenerView .screener-step[data-state="complete"] .step-marker::after { position: absolute; inset: 0; display: grid; place-items: center; line-height: 1; } #screenerView .regime-market-line { display: block; line-height: 1.7; } #screenerView .regime-evidence-line { min-height: 22px; margin: 0; color: #374151; font-size: 12.5px; line-height: 1.7; } #screenerView .quant-screener-panel { grid-template-columns: 400px minmax(0, 1fr); gap: 12px; align-items: start; } #screenerView .quant-builder-pane, #screenerView .quant-summary-pane { overflow: hidden; border: 1px solid var(--r2-line); border-radius: 10px; background: #fff; box-shadow: var(--r2-shadow); } #screenerView .quant-right-stack { min-width: 0; display: flex; flex-direction: column; gap: 12px; } #screenerView .quant-right-stack > .quant-summary-pane { order: 0; } #screenerView .quant-right-stack > [data-screener-results-slot="quant"] { min-width: 0; order: 1; } #screenerView .quant-panel-heading, #screenerView .quant-summary-pane > header { min-height: 45px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--r2-line-soft); } #screenerView .quant-panel-heading h3, #screenerView .quant-summary-pane > header h3 { margin: 0; color: var(--r2-ink); font-size: 14px; font-weight: 700; } #screenerView .quant-panel-heading > div, #screenerView .quant-summary-pane > header > .button { margin-left: auto; } #screenerView .quant-panel-heading .button, #screenerView .quant-summary-pane > header .button { min-height: 28px; padding: 4px 9px; border-radius: 7px; background: #fff; font-size: 12px; } #screenerView .quant-panel-heading .button.ghost, #screenerView .quant-summary-pane > header .button.ghost { border-color: transparent; color: var(--scr-blue); } #screenerView .quant-panel-heading .button .lucide, #screenerView .quant-summary-pane > header .button .lucide { width: 13px; } #screenerView .quant-builder-pane > .quant-rule-rows { gap: 0; margin: 0; } #screenerView .quant-score-row { min-height: 58px; grid-template-columns: minmax(118px, 1fr) minmax(135px, 1.25fr) 24px; gap: 10px; padding: 9px 14px; border: 0; border-bottom: 1px solid var(--r2-line-soft); border-radius: 0; background: #fff; } #screenerView .quant-factor-identity { grid-template-columns: 15px minmax(0, 1fr); gap: 10px; } #screenerView .quant-factor-identity > i { width: 14px; height: 14px; font-size: 8px; } #screenerView .quant-factor-identity select { font-size: 12.5px; font-weight: 600; } #screenerView .quant-factor-identity button { margin-top: 2px; font-size: 10.5px; } #screenerView .quant-weight-control { grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; } #screenerView .quant-weight-control output { font-size: 12px; font-variant-numeric: tabular-nums; } #screenerView .quant-builder-pane > .quant-weight-status { min-height: 40px; grid-template-columns: auto minmax(0, 1fr) 42px; gap: 8px; margin: 0; padding: 10px 14px; border: 0; background: #f8fafc; font-size: 12px; } #screenerView .quant-filter-body { padding: 5px 16px 10px; } #screenerView .quant-summary-pane .quant-universe-grid { display: flex; align-items: center; gap: 8px 12px; padding: 7px 0; flex-wrap: wrap; } #screenerView .quant-summary-pane .quant-universe-grid > strong { font-size: 12.5px; } #screenerView .quant-summary-pane .quant-universe-grid .form-field { min-width: 0; display: inline-flex; align-items: center; flex-direction: row; gap: 5px; } #screenerView .quant-summary-pane .quant-universe-grid .form-field span { color: var(--r2-sub); font-size: 12px; } #screenerView .quant-summary-pane .quant-universe-grid .form-field small { color: var(--r2-sub); font-size: 11px; } #screenerView .quant-summary-pane .quant-universe-grid input[type="number"] { width: 66px; min-height: 30px; padding: 4px 8px; border: 1px solid var(--r2-line); border-radius: 6px; font-size: 12px; } #screenerView .quant-summary-pane .quant-st-toggle { min-height: 30px; padding: 0; background: transparent; font-size: 12px; } #screenerView .quant-summary-pane .quant-rule-rows { gap: 0; margin: 0; } #screenerView .quant-filter-row { min-height: 42px; grid-template-columns: minmax(150px, 1fr) 72px 96px 26px; gap: 8px; padding: 6px 0; border: 0; border-top: 1px solid var(--r2-line-soft); border-radius: 0; background: #fff; } #screenerView .quant-filter-row select, #screenerView .quant-filter-row input[type="text"] { min-height: 30px; font-size: 12px; } #screenerView .quant-execution-actions { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--r2-line-soft); flex-wrap: wrap; } #screenerView .quant-execution-actions .button { width: auto; min-height: 32px; margin: 0; padding: 6px 13px; font-size: 12.5px; } #screenerView .quant-execution-actions .checkbox-control { margin: 0 0 0 4px; white-space: nowrap; } #screenerView .quant-execution-actions > span { color: var(--r2-faint); font-size: 11px; } #screenerView .quant-summary-pane > .quant-validation-message, #screenerView .quant-filter-body > .quant-validation-message { margin: 7px 0 0; font-size: 10.5px; } #screenerView .quant-right-stack .screener-results-view { margin: 0; } #screenerView .quant-right-stack .screener-result-frame { min-height: 250px; } @media (max-width: 1180px) { #screenerView .quant-screener-panel { grid-template-columns: 360px minmax(0, 1fr); } } @media (max-width: 900px) { #screenerView .quant-screener-panel { grid-template-columns: 1fr; } } @media (max-width: 620px) { #screenerView .quant-score-row, #screenerView .quant-filter-row { grid-template-columns: 1fr; } #screenerView .quant-remove-button { justify-self: end; } #screenerView .quant-execution-actions { align-items: stretch; flex-direction: column; } #screenerView .quant-execution-actions .button { width: 100%; justify-content: center; } } /* Stage 15 spacing pass: denser phase cards and clearer secondary actions. */ #screenerView .step-line { width: 40px; flex: 0 0 40px; margin-inline: 10px; } #screenerView .screener-card-heading { min-height: 39px; padding: 8px 14px; } #screenerView .screener-strategy-card { min-height: 0; } #screenerView .screener-regime-body { min-height: 0; padding: 9px 14px; } #screenerView .regime-summary { min-height: 56px; padding-block: 7px; } #screenerView .regime-advice { margin-top: 3px; padding-block: 4px; } #screenerView .regime-control-line { margin-top: 5px; } #screenerView .regime-option { min-height: 24px; } #screenerView .screener-strategy-summary { min-height: 0; padding: 10px 14px; } #screenerView .screener-strategy-summary > p { min-height: 0; flex: 0 0 auto; margin: 4px 0 5px; line-height: 1.55; } #screenerView .screener-strategy-actions { margin-top: 0; padding-top: 0; } #screenerView .quant-filter-row { grid-template-columns: 220px 72px 96px 26px; justify-content: start; } #screenerView .screener-tracking-entry { border-color: #9db9ee; background: #eff4ff; color: #1d4ed8; font-weight: 700; box-shadow: 0 2px 8px rgba(37, 99, 235, .12); transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; } #screenerView .screener-tracking-entry .lucide { width: 21px; height: 21px; padding: 4px; border-radius: 5px; background: var(--scr-blue); color: #fff; } #screenerView .screener-tracking-entry:hover { border-color: #7298e0; background: #e7efff; color: #1746a2; box-shadow: 0 4px 11px rgba(37, 99, 235, .16); transform: translateY(-1px); } #screenerView .screener-tracking-entry:focus-visible { outline: 2px solid rgba(37, 99, 235, .45); outline-offset: 2px; } @media (max-width: 620px) { #screenerView .step-line { width: 22px; flex-basis: 22px; margin-inline: 6px; } #screenerView .quant-filter-row { grid-template-columns: 1fr; } #screenerView .screener-tracking-entry .lucide { width: 21px; height: 21px; } } @media (prefers-reduced-motion: reduce) { #screenerView .screener-tracking-entry { transition: none; } #screenerView .screener-tracking-entry:hover { transform: none; } } /* Stage 16: rebuild mentor as a compact model library beside one quiet conversation canvas. */ #mentorView { --mentor-blue: #2563eb; --mentor-blue-dark: #1d4ed8; --mentor-blue-soft: #eff4ff; --mentor-blue-line: #c7d8fb; --mentor-line: #e5e7eb; --mentor-line-soft: #eef0f3; --mentor-ink: #1f2937; --mentor-sub: #6b7280; --mentor-faint: #9ca3af; color: var(--mentor-ink); } #mentorView .mentor-page-header { min-height: 42px; display: flex; align-items: center; gap: 18px; margin-bottom: 12px; padding: 0; border: 0; background: transparent; } #mentorView .mentor-page-title { min-width: 0; display: flex; align-items: baseline; gap: 10px; } #mentorView .mentor-page-title h2 { margin: 0; color: var(--mentor-ink); font-size: 18px; font-weight: 760; letter-spacing: 0; } #mentorView .mentor-page-title .section-subtitle { overflow: hidden; color: var(--mentor-faint); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-page-controls { min-width: 0; display: flex; align-items: center; gap: 8px; margin-left: auto; } #mentorView .mentor-evidence-filters { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 0; border-radius: 8px; background: #eef0f3; } #mentorView .mentor-evidence-filters button { min-width: 52px; min-height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--mentor-sub); font: inherit; font-size: 12px; cursor: pointer; transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; } #mentorView .mentor-evidence-filters button:hover { color: var(--mentor-blue); } #mentorView .mentor-evidence-filters button.active { background: #fff; color: var(--mentor-ink); font-weight: 650; box-shadow: 0 1px 2px rgba(16, 24, 40, .09); } #mentorView .mentor-evidence-filters button[data-mentor-grade="A"] { color: #16814a; } #mentorView .mentor-evidence-filters button[data-mentor-grade="B"] { color: #2e67c7; } #mentorView .mentor-evidence-filters button[data-mentor-grade="C"] { color: #a76608; } #mentorView .mentor-evidence-filters button:focus-visible { outline: 2px solid rgba(37, 99, 235, .35); outline-offset: 1px; } #mentorView #mentorNotice { margin: 0 0 10px; } #mentorView .mentor-layout { height: auto; min-height: 0; display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: stretch; gap: 12px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } @media (min-width: 721px) { body[data-active-view="mentorView"] .app-main { min-height: 0; display: flex; flex-direction: column; padding-bottom: 0; overflow: hidden; } body[data-active-view="mentorView"] .overview-strip { flex: 0 0 auto; } body[data-active-view="mentorView"] #mentorView.active-view { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 6px; } #mentorView .member-gate, #mentorView .mentor-page-header, #mentorView #mentorNotice { flex: 0 0 auto; } #mentorView .mentor-layout { min-height: 0; flex: 1 1 auto; } } #mentorView .mentor-sidebar, #mentorView .mentor-chat-panel { min-width: 0; min-height: 0; overflow: hidden; border: 1px solid var(--mentor-line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); } #mentorView .mentor-sidebar { position: relative; padding: 0; } #mentorView .mentor-directory-toggle, #mentorView .mentor-directory-close, #mentorView .mentor-directory-backdrop { display: none; } #mentorView .mentor-directory-content { height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto; gap: 0; padding: 0; background: #fff; } #mentorView .mentor-directory-heading, #mentorView .mentor-chat-header { border-bottom: 1px solid var(--mentor-line-soft); background: #fff; } #mentorView .mentor-directory-heading { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; } #mentorView .mentor-directory-heading > .mentor-directory-title { min-width: 0; display: flex; align-items: baseline; gap: 8px; } #mentorView .mentor-directory-title h3 { flex: 0 0 auto; margin: 0; color: var(--mentor-ink); font-size: 14px; font-weight: 700; } #mentorView .mentor-directory-title > span { overflow: hidden; color: var(--mentor-faint); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-directory-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; } #mentorView .mentor-count { color: var(--mentor-faint); font-size: 10.5px; font-weight: 500; white-space: nowrap; } #mentorView .mentor-sort-toggle { min-height: 28px; display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--mentor-blue); font: inherit; font-size: 11px; cursor: pointer; } #mentorView .mentor-sort-toggle:hover, #mentorView .mentor-sort-toggle.active { border-color: var(--mentor-blue-line); background: var(--mentor-blue-soft); color: var(--mentor-blue-dark); } #mentorView .mentor-sort-toggle .lucide { width: 13px; height: 13px; } #mentorView .mentor-search-field { height: 34px; display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 7px; margin: 9px 12px 7px; padding: 0 9px; border: 1px solid var(--mentor-line); border-radius: 7px; background: #fff; color: var(--mentor-faint); } #mentorView .mentor-search-field:focus-within { border-color: var(--mentor-blue-line); box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); } #mentorView .mentor-search-field .lucide { width: 14px; height: 14px; } #mentorView .mentor-search-field input { width: 100%; min-width: 0; height: 32px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--mentor-ink); font: inherit; font-size: 12px; } #mentorView .mentor-search-field input::placeholder { color: var(--mentor-faint); } #mentorView .mentor-sort-hint { margin: 0; padding: 3px 14px 7px; color: var(--mentor-faint); font-size: 10px; line-height: 1.4; } #mentorView .mentor-list { min-height: 0; display: block; padding: 0; overflow-x: hidden; overflow-y: auto; scrollbar-color: #d7dce4 transparent; scrollbar-width: thin; } #mentorView .mentor-option { width: 100%; min-height: 82px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 0; padding: 0 7px 0 0; overflow: hidden; border: 0; border-bottom: 1px solid var(--mentor-line-soft); border-radius: 0; background: #fff; color: var(--mentor-ink); box-shadow: none; transition: background-color 150ms ease, box-shadow 150ms ease; } #mentorView .mentor-option:hover { background: #f8faff; } #mentorView .mentor-option.active { background: var(--mentor-blue-soft); box-shadow: inset 2px 0 0 var(--mentor-blue); } #mentorView .mentor-option.is-dragging { opacity: .45; } #mentorView .mentor-option.is-drag-over { background: #e7efff; box-shadow: inset 3px 0 0 var(--mentor-blue); } #mentorView .mentor-option-main { min-width: 0; min-height: 81px; display: block; padding: 10px 7px 9px 14px; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; text-align: left; } #mentorView .mentor-option-main:disabled { cursor: default; } #mentorView .mentor-option-main:focus-visible { outline: 2px solid rgba(37, 99, 235, .42); outline-offset: -3px; } #mentorView .mentor-option-copy { min-width: 0; display: grid; gap: 4px; margin: 0; color: inherit; line-height: normal; } #mentorView .mentor-option-heading { min-width: 0; display: flex; align-items: center; gap: 7px; } #mentorView .mentor-option-heading > strong { min-width: 0; overflow: hidden; color: var(--mentor-ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-option-copy > em { display: block; overflow: hidden; color: var(--mentor-sub); font-size: 11.5px; font-style: normal; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-option-meta { min-width: 0; display: flex; align-items: center; gap: 9px; overflow: hidden; color: var(--mentor-faint); font-size: 10.5px; line-height: 1.25; white-space: nowrap; } #mentorView .mentor-option-meta > span { display: inline; flex: 0 0 auto; margin: 0; color: inherit; font-size: inherit; } #mentorView .mentor-option-meta .mentor-evidence-source { max-width: 108px; overflow: hidden; border-bottom: 1px dashed #c7cdd6; text-overflow: ellipsis; cursor: help; } #mentorView .mentor-option-badges, #mentorView .mentor-active-badges { min-width: 0; display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 4px; margin: 0; } #mentorView .mentor-option-heading .mentor-option-badges { margin-left: auto; } #mentorView .mentor-badge { min-height: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; margin: 0; padding: 0 6px; border: 1px solid var(--mentor-line); border-radius: 5px; background: #f3f4f6; color: var(--mentor-sub); font-size: 9.5px; font-style: normal; font-weight: 700; line-height: 1; white-space: nowrap; } #mentorView .mentor-badge .lucide { width: 10px; height: 10px; } #mentorView .mentor-badge.grade-a { border-color: #b8dcc7; background: #edf8f1; color: #16814a; } #mentorView .mentor-badge.grade-b { border-color: #bdd0ed; background: #eff5ff; color: #2e67c7; } #mentorView .mentor-badge.grade-c { border-color: #ead1a7; background: #fdf5e8; color: #a76608; } #mentorView .mentor-badge.private { border-color: #e8d09c; background: #fff8e7; color: #926713; } #mentorView .mentor-badge.quality { border-color: transparent; background: #f3f4f6; color: var(--mentor-faint); } #mentorView .mentor-badge.quality.conditional { border-color: #decda9; border-style: dashed; color: #8b681f; } #mentorView .mentor-option-tools { display: flex; align-items: center; align-self: center; gap: 1px; } #mentorView .mentor-pin-button, #mentorView .mentor-order-button { width: 26px; min-width: 26px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #a1a8b3; cursor: pointer; } #mentorView .mentor-pin-button:hover, #mentorView .mentor-order-button:hover:not(:disabled) { background: #eef1f5; color: var(--mentor-ink); } #mentorView .mentor-pin-button.active { background: #fff4d8; color: #a36d0d; } #mentorView .mentor-pin-button.active .lucide { fill: currentColor; } #mentorView .mentor-pin-button .lucide, #mentorView .mentor-order-button .lucide { width: 13px; height: 13px; } #mentorView .mentor-order-button:disabled { opacity: .3; cursor: default; } #mentorView .mentor-list.is-sorting .mentor-option { cursor: grab; } #mentorView .mentor-list.is-sorting .mentor-option-badges { display: none; } #mentorView .mentor-list-empty { padding: 32px 14px; color: var(--mentor-faint); font-size: 12px; text-align: center; } #mentorView .mentor-evidence-legend { margin: 0; padding: 8px 12px 9px; border-top: 1px solid var(--mentor-line-soft); color: var(--mentor-faint); font-size: 9.5px; line-height: 1.5; } #mentorView .mentor-chat-panel { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; } #mentorView .mentor-chat-header { min-height: 69px; display: flex; align-items: center; gap: 14px; padding: 10px 14px; } #mentorView .mentor-active-profile { min-width: 0; display: grid; gap: 3px; } #mentorView .mentor-active-title { min-width: 0; display: flex; align-items: center; gap: 7px; } #mentorView .mentor-active-title h3 { min-width: 0; margin: 0; overflow: hidden; color: var(--mentor-ink); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-active-profile > p { max-width: min(760px, 72vw); margin: 0; overflow: hidden; color: var(--mentor-sub); font-size: 10.5px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-active-focus { min-width: 0; display: flex; align-items: center; gap: 7px; overflow: hidden; } #mentorView .mentor-active-focus span { padding: 0; background: transparent; color: var(--mentor-faint); font-size: 9.5px; white-space: nowrap; } #mentorView .mentor-active-focus span::before { content: "#"; } #mentorView .mentor-clear-button { min-width: 0; min-height: 28px; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 0 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--mentor-blue); font-size: 11px; white-space: nowrap; } #mentorView .mentor-clear-button:hover:not(:disabled) { border-color: var(--mentor-blue-line); background: var(--mentor-blue-soft); } #mentorView .mentor-clear-button:disabled { color: #b8bec7; opacity: 1; } #mentorView .mentor-clear-button .lucide { width: 13px; height: 13px; } #mentorView .mentor-messages { min-width: 0; min-height: 0; max-height: none; overflow-y: auto; padding: 18px; background: #fbfcfd; scrollbar-color: #d7dce4 transparent; scrollbar-width: thin; } #mentorView .mentor-empty-state { min-height: 100%; display: grid; place-content: center; justify-items: center; padding: 28px; color: var(--mentor-faint); text-align: center; } #mentorView .mentor-empty-mark { width: 44px; height: 40px; display: grid; place-items: center; margin-bottom: 12px; border: 0; border-radius: 8px; background: #f3f6fb; color: #6482b7; } #mentorView .mentor-empty-mark .lucide { width: 21px; height: 21px; stroke-width: 1.65; } #mentorView .mentor-empty-state strong { color: #4b5563; font-size: 13px; font-weight: 600; } #mentorView .mentor-empty-state p { max-width: 580px; margin: 7px auto 0; color: var(--mentor-faint); font-size: 11.5px; line-height: 1.7; } #mentorView .mentor-message { width: fit-content; max-width: min(84%, 820px); margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--mentor-line); border-radius: 8px; background: #fff; box-shadow: 0 1px 1px rgba(16, 24, 40, .025); } #mentorView .mentor-message.user { margin-left: auto; border-color: var(--mentor-blue-line); background: var(--mentor-blue-soft); } #mentorView .mentor-message.assistant { border-left: 2px solid var(--mentor-blue); } #mentorView .mentor-message-label { margin-bottom: 5px; color: var(--mentor-faint); font-size: 10.5px; font-weight: 650; } #mentorView .mentor-message-content { margin: 0; overflow-wrap: anywhere; color: #374151; font-size: 13px; line-height: 1.62; white-space: normal; } #mentorView .mentor-message .mentor-answer-paragraph { margin: 0 0 6px; line-height: inherit; } #mentorView .mentor-message .mentor-answer-paragraph:last-child { margin-bottom: 0; } #mentorView .mentor-answer-heading { display: block; margin: 9px 0 4px; color: var(--mentor-ink); font-size: 13px; line-height: 1.45; } #mentorView .mentor-message-content > .mentor-answer-heading:first-child { margin-top: 0; } #mentorView .mentor-answer-list { margin: 3px 0 7px; padding-left: 20px; } #mentorView .mentor-answer-list li + li { margin-top: 3px; } #mentorView .mentor-answer-rule { display: block; height: 1px; margin: 8px 0; background: var(--mentor-line); } #mentorView .mentor-answer-quote { display: block; padding-left: 9px; border-left: 2px solid var(--mentor-blue); color: var(--mentor-sub); } #mentorView .mentor-message small { display: block; margin-top: 7px; color: var(--mentor-faint); font-size: 9.5px; } #mentorView .mentor-message.is-error { border-color: #e5a5a0; } #mentorView .mentor-quick-prompts { min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 7px 14px; overflow-x: auto; border-top: 1px solid var(--mentor-line-soft); background: #fff; scrollbar-width: none; } #mentorView .mentor-quick-prompts::-webkit-scrollbar { display: none; } #mentorView .mentor-prompt-label { flex: 0 0 auto; color: var(--mentor-faint); font-size: 10.5px; white-space: nowrap; } #mentorView .mentor-quick-prompts button { min-height: 26px; flex: 0 0 auto; padding: 0 10px; border: 1px solid var(--mentor-line); border-radius: 14px; background: #fff; color: var(--mentor-sub); font-size: 11px; white-space: nowrap; cursor: pointer; transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease; } #mentorView .mentor-quick-prompts button:hover { border-color: var(--mentor-blue-line); background: var(--mentor-blue-soft); color: var(--mentor-blue); } #mentorView .mentor-chat-form { min-height: 55px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 14px; border-top: 1px solid var(--mentor-line-soft); background: #fff; } #mentorView .mentor-chat-form textarea { width: 100%; min-width: 0; height: 38px; min-height: 38px; max-height: 88px; padding: 8px 11px; resize: vertical; border: 1px solid var(--mentor-line); border-radius: 8px; outline: 0; background: #fff; color: var(--mentor-ink); font: inherit; font-size: 12.5px; line-height: 1.55; } #mentorView .mentor-chat-form textarea:focus { border-color: var(--mentor-blue-line); box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); } #mentorView .mentor-chat-form .button { min-width: 76px; height: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 13px; border-radius: 7px; background: var(--mentor-blue); color: #fff; font-size: 12.5px; } #mentorView .mentor-chat-form .button:hover:not(:disabled) { background: var(--mentor-blue-dark); } #mentorView .mentor-chat-form .button .lucide { width: 14px; height: 14px; } #mentorView .mentor-disclaimer { min-height: 23px; margin: 0; padding: 0 14px 8px; background: #fff; color: var(--mentor-faint); font-size: 9.5px; text-align: right; } @media (min-width: 721px) and (max-width: 1100px) { #mentorView .mentor-layout { grid-template-columns: 292px minmax(0, 1fr); } #mentorView .mentor-directory-title > span { display: none; } #mentorView .mentor-active-profile > p { max-width: 48vw; } } @media (max-width: 720px) { body.mentor-directory-open { overflow: hidden; } #mentorView .mentor-page-header { min-height: 84px; align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 12px 0; } #mentorView .mentor-page-title { width: 100%; } #mentorView .mentor-page-title h2 { font-size: 17px; } #mentorView .mentor-page-title .section-subtitle { font-size: 10.5px; } #mentorView .mentor-page-controls { width: 100%; margin: 0; } #mentorView .mentor-evidence-filters { width: 100%; } #mentorView .mentor-evidence-filters button { min-height: 36px; flex: 1; } #mentorView .mentor-layout { height: calc(100dvh - 286px - env(safe-area-inset-bottom)); min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 56px minmax(0, 1fr); gap: 8px; padding: 0 8px; overflow: hidden; } #mentorView .mentor-sidebar { height: 56px; min-height: 56px; overflow: visible; border-radius: 9px; } #mentorView .mentor-directory-toggle { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border: 0; background: #fff; color: var(--mentor-ink); cursor: pointer; text-align: left; } #mentorView .mentor-directory-toggle > span { min-width: 0; display: flex; align-items: center; gap: 10px; } #mentorView .mentor-directory-toggle > span > span { min-width: 0; display: grid; gap: 2px; } #mentorView .mentor-directory-toggle small { color: var(--mentor-faint); font-size: 9px; } #mentorView .mentor-directory-toggle strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; } #mentorView .mentor-directory-toggle > .lucide { width: 16px; transition: transform 180ms ease; } #mentorView .mentor-sidebar.is-open .mentor-directory-toggle > .lucide { transform: rotate(180deg); } #mentorView .mentor-directory-backdrop { position: fixed; inset: 0; z-index: 79; display: block; background: rgba(20, 27, 33, .48); } #mentorView .mentor-directory-content { height: auto; position: fixed; inset: 62px 8px 72px; z-index: 80; overflow: hidden; border: 1px solid var(--mentor-line); border-radius: 10px; box-shadow: 0 16px 36px rgba(16, 24, 40, .18); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; } #mentorView .mentor-sidebar.is-open .mentor-directory-content { opacity: 1; pointer-events: auto; transform: translateY(0); } #mentorView .mentor-directory-close { width: 38px; height: 38px; display: grid; place-items: center; } #mentorView .mentor-sort-toggle { min-height: 38px; } #mentorView .mentor-search-field { height: 42px; } #mentorView .mentor-search-field input { height: 40px; font-size: 16px; } #mentorView .mentor-option { min-height: 84px; } #mentorView .mentor-pin-button, #mentorView .mentor-order-button { width: 40px; min-width: 40px; height: 42px; } #mentorView .mentor-chat-panel { height: 100%; min-height: 0; border-radius: 9px; } #mentorView .mentor-chat-header { min-height: 68px; padding: 9px 10px; } #mentorView .mentor-active-profile > p { max-width: calc(100vw - 130px); } #mentorView .mentor-active-focus { max-width: calc(100vw - 130px); } #mentorView .mentor-clear-button { width: 36px; height: 36px; justify-content: center; padding: 0; } #mentorView .mentor-clear-button span { display: none; } #mentorView .mentor-messages { padding: 12px 10px; } #mentorView .mentor-empty-state { padding: 16px; } #mentorView .mentor-empty-state p { display: none; } #mentorView .mentor-message { max-width: 92%; } #mentorView .mentor-quick-prompts { padding-inline: 10px; } #mentorView .mentor-prompt-label { display: none; } #mentorView .mentor-chat-form { padding: 7px 9px; } #mentorView .mentor-chat-form .button { min-width: 42px; width: 42px; padding: 0; } #mentorView .mentor-chat-form .button span { display: none; } #mentorView .mentor-disclaimer { padding-inline: 10px; font-size: 8.5px; } } @media (prefers-reduced-motion: reduce) { #mentorView .mentor-option, #mentorView .mentor-evidence-filters button, #mentorView .mentor-quick-prompts button, #mentorView .mentor-directory-content, #mentorView .mentor-directory-toggle > .lucide { transition: none; } } /* Stage 17: daily review workflow transferred from review.html. */ #reviewWorkspaceView { --review-blue: #2563eb; --review-blue-dark: #1d4ed8; --review-blue-soft: #eff4ff; --review-blue-line: #c7d8fb; --review-line: #e5e7eb; --review-line-soft: #eef0f3; --review-ink: #1f2937; --review-sub: #6b7280; --review-faint: #9ca3af; color: var(--review-ink); } #reviewWorkspaceView .review-page-header { min-height: 42px; display: flex; align-items: center; gap: 14px; margin: 0 0 12px; padding: 0; border: 0; background: transparent; } #reviewWorkspaceView .review-page-title { min-width: 0; display: flex; align-items: baseline; gap: 10px; } #reviewWorkspaceView .review-page-title h2 { margin: 0; color: var(--review-ink); font-size: 18px; font-weight: 760; } #reviewWorkspaceView .review-page-title .section-subtitle { overflow: hidden; color: var(--review-faint); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; } #reviewWorkspaceView .review-page-title .section-subtitle b { color: var(--review-sub); font-weight: 600; font-variant-numeric: tabular-nums; } #reviewWorkspaceView .review-history-toggle { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 0 10px; border: 1px solid var(--review-line); border-radius: 7px; background: #fff; color: #374151; font-size: 11.5px; white-space: nowrap; } #reviewWorkspaceView .review-history-toggle:hover, #reviewWorkspaceView .review-history-toggle[aria-expanded="true"] { border-color: var(--review-blue-line); background: var(--review-blue-soft); color: var(--review-blue); } #reviewWorkspaceView .review-history-toggle .lucide { width: 14px; height: 14px; } #reviewWorkspaceView .review-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "left journal" "history history"; align-items: start; gap: 12px; border: 0; background: transparent; box-shadow: none; } #reviewWorkspaceView .review-left-stack { min-width: 0; display: flex; grid-area: left; flex-direction: column; gap: 12px; } #reviewWorkspaceView .journal-section { min-width: 0; grid-area: journal; } #reviewWorkspaceView .notes-history-section { min-width: 0; grid-area: history; } #reviewWorkspaceView .notes-history-section[hidden] { display: none !important; } #reviewWorkspaceView .workspace-section { min-width: 0; overflow: hidden; border: 1px solid var(--review-line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); } #reviewWorkspaceView .review-card-heading { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-bottom: 1px solid var(--review-line-soft); background: #fff; } #reviewWorkspaceView .review-card-heading > div { min-width: 0; display: flex; align-items: baseline; gap: 8px; } #reviewWorkspaceView .review-card-heading h3 { margin: 0; color: var(--review-ink); font-size: 14px; font-weight: 700; } #reviewWorkspaceView .review-card-heading > small { margin-left: auto; color: var(--review-faint); font-size: 10.5px; white-space: nowrap; } #reviewWorkspaceView .review-count-tag { min-height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 5px; background: #f3f4f6; color: var(--review-sub); font-size: 10.5px; font-weight: 500; white-space: nowrap; } #reviewWorkspaceView .watchlist-section .workspace-table-frame { min-height: 0; max-height: 238px; overflow: auto; border: 0; border-radius: 0; } #reviewWorkspaceView .review-watchlist-table { width: 100%; min-width: 540px; table-layout: fixed; } #reviewWorkspaceView .review-watchlist-table th:nth-child(1) { width: 58px; } #reviewWorkspaceView .review-watchlist-table th:nth-child(2) { width: 170px; } #reviewWorkspaceView .review-watchlist-table th:nth-child(4) { width: 112px; } #reviewWorkspaceView .data-table thead th { height: 32px; padding: 6px 12px; border-bottom: 1px solid var(--review-line-soft); background: #fafbfc; color: var(--review-faint); font-size: 10.5px; font-weight: 600; } #reviewWorkspaceView .data-table tbody td { height: 48px; padding: 7px 12px; border-bottom: 1px solid var(--review-line-soft); color: #374151; font-size: 12px; } #reviewWorkspaceView .data-table tbody tr:last-child td { border-bottom: 0; } #reviewWorkspaceView .data-table tbody tr:hover { background: #f8faff; } #reviewWorkspaceView .stock-cell { display: grid; gap: 2px; } #reviewWorkspaceView .stock-cell strong { color: var(--review-ink); font-size: 12px; } #reviewWorkspaceView .stock-cell small { color: var(--review-faint); font-size: 10px; } #reviewWorkspaceView .review-watch-mark { color: #d1d5db; font-size: 15px; line-height: 1; } #reviewWorkspaceView .review-watch-mark.red { color: #e04536; } #reviewWorkspaceView .review-watch-mark.orange, #reviewWorkspaceView .review-watch-mark.yellow { color: #e9a21b; } #reviewWorkspaceView .review-watch-mark.green { color: #16a34a; } #reviewWorkspaceView .review-watch-mark.blue { color: #3b82f6; } #reviewWorkspaceView .review-watch-mark.purple { color: #8b5cf6; } #reviewWorkspaceView .review-row-actions, #reviewWorkspaceView .trade-row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; } #reviewWorkspaceView .table-action { min-height: 25px; padding: 0 6px; border: 0; border-radius: 5px; background: transparent; color: var(--review-blue); font-size: 10.5px; } #reviewWorkspaceView .table-action:hover { background: var(--review-blue-soft); } #reviewWorkspaceView .table-action.down { color: #8b929e; } #reviewWorkspaceView .table-action.down:hover { background: #f5f6f8; color: #d14343; } #reviewWorkspaceView .watchlist-section .empty-state, #reviewWorkspaceView .trade-log-table-frame .empty-state { min-height: 108px; display: grid; place-items: center; padding: 22px; color: var(--review-faint); font-size: 11.5px; text-align: center; } #reviewWorkspaceView .trade-journal-section { padding: 0; } #reviewWorkspaceView .trade-log-heading .button { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 0 10px; border-radius: 7px; background: var(--review-blue); color: #fff; font-size: 11.5px; } #reviewWorkspaceView .trade-log-heading .button:hover { background: var(--review-blue-dark); } #reviewWorkspaceView .trade-log-heading .button .lucide { width: 13px; height: 13px; } #reviewWorkspaceView .trade-log-summary { min-height: 52px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 0; border-bottom: 1px solid var(--review-line-soft); background: #fff; } #reviewWorkspaceView .trade-log-summary:empty { display: none; } #reviewWorkspaceView .trade-log-summary > div { min-width: 0; padding: 8px 11px; border-right: 1px solid var(--review-line-soft); } #reviewWorkspaceView .trade-log-summary > div:last-child { border-right: 0; } #reviewWorkspaceView .trade-log-summary span { display: block; overflow: hidden; color: var(--review-faint); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; } #reviewWorkspaceView .trade-log-summary strong { display: block; margin-top: 3px; overflow: hidden; color: var(--review-ink); font-size: 13px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; } #reviewWorkspaceView .trade-log-table-frame { min-height: 108px; max-height: 314px; overflow: auto; border: 0; border-radius: 0; } #reviewWorkspaceView .trade-log-table-frame thead th { position: sticky; z-index: 2; top: 0; } #reviewWorkspaceView .trade-log-table { width: 100%; min-width: 720px; table-layout: fixed; } #reviewWorkspaceView .trade-log-table th:nth-child(1) { width: 82px; } #reviewWorkspaceView .trade-log-table th:nth-child(2) { width: 122px; } #reviewWorkspaceView .trade-log-table th:nth-child(3) { width: 66px; } #reviewWorkspaceView .trade-log-table th:nth-child(4) { width: 104px; } #reviewWorkspaceView .trade-log-table th:nth-child(5) { width: 126px; } #reviewWorkspaceView .trade-log-table th:nth-child(7) { width: 92px; } #reviewWorkspaceView .trade-position-cell { display: grid; justify-items: end; gap: 3px; } #reviewWorkspaceView .trade-position-cell strong { color: var(--review-ink); font-size: 11.5px; } #reviewWorkspaceView .trade-position-cell small { color: var(--review-faint); font-size: 9.5px; white-space: nowrap; } #reviewWorkspaceView .trade-position-cell small.up { color: #e04536; } #reviewWorkspaceView .trade-position-cell small.down { color: #16a34a; } #reviewWorkspaceView .trade-action, #reviewWorkspaceView .trade-emotion { min-height: 21px; display: inline-flex; align-items: center; padding: 0 6px; border: 1px solid var(--review-line); border-radius: 5px; background: #f8f9fb; color: var(--review-sub); font-size: 9.5px; white-space: nowrap; } #reviewWorkspaceView .trade-action-buy, #reviewWorkspaceView .trade-action-add { border-color: #f1c4c0; background: #fdecea; color: #d63e32; } #reviewWorkspaceView .trade-action-sell, #reviewWorkspaceView .trade-action-trim { border-color: #bce1ca; background: #eaf7ef; color: #168b43; } #reviewWorkspaceView .trade-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; } #reviewWorkspaceView .trade-tags em { padding: 1px 4px; border-radius: 3px; background: var(--review-blue-soft); color: #5270a7; font-size: 8.5px; } #reviewWorkspaceView .trade-copy { overflow: hidden; color: var(--review-sub); } #reviewWorkspaceView .trade-copy strong, #reviewWorkspaceView .trade-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #reviewWorkspaceView .trade-copy strong { color: #4b5563; font-size: 10.5px; font-weight: 600; } #reviewWorkspaceView .trade-copy small { margin-top: 3px; color: var(--review-faint); font-size: 9.5px; } #reviewWorkspaceView .journal-section { align-self: start; } #reviewWorkspaceView .journal-section .review-card-heading { justify-content: space-between; } #reviewWorkspaceView .journal-section .date-input { width: 124px; min-height: 28px; margin-left: auto; padding: 0 8px; border: 1px solid var(--review-line); border-radius: 6px; background: #f8f9fb; color: var(--review-sub); font-size: 10.5px; } #reviewWorkspaceView .journal-form { display: grid; gap: 13px; padding: 14px 16px 16px; background: #fff; } #reviewWorkspaceView .journal-form .form-field { display: grid; gap: 6px; } #reviewWorkspaceView .journal-form .form-field > span { color: #374151; font-size: 11.5px; font-weight: 650; } #reviewWorkspaceView .journal-form textarea { width: 100%; height: 208px; min-height: 208px; padding: 10px 11px; resize: vertical; border: 1px solid var(--review-line); border-radius: 8px; outline: 0; background: #fff; color: var(--review-ink); font: inherit; font-size: 12.5px; line-height: 1.75; } #reviewWorkspaceView .journal-form .form-field:nth-of-type(2) textarea { height: 104px; min-height: 104px; } #reviewWorkspaceView .journal-form textarea:focus { border-color: var(--review-blue-line); box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); } #reviewWorkspaceView .journal-form textarea::placeholder { color: #a6adb7; } #reviewWorkspaceView .journal-form-hint { margin: -2px 0 0; color: var(--review-faint); font-size: 9.5px; line-height: 1.5; } #reviewWorkspaceView .journal-form .dialog-actions { display: flex; justify-content: flex-end; margin: 0; } #reviewWorkspaceView .journal-form .button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 14px; border-radius: 7px; background: var(--review-blue); color: #fff; font-size: 12px; } #reviewWorkspaceView .journal-form .button:hover { background: var(--review-blue-dark); } #reviewWorkspaceView .journal-form .button .lucide { width: 14px; height: 14px; } #reviewWorkspaceView .notes-history-section { margin-top: 0; } #reviewWorkspaceView .notes-history { max-height: 420px; display: grid; overflow-y: auto; background: #fff; } #reviewWorkspaceView .note-row { grid-template-columns: 88px minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; min-height: 78px; padding: 12px 14px; border-bottom: 1px solid var(--review-line-soft); } @media (max-width: 900px) { #reviewWorkspaceView .note-row { grid-template-columns: 80px repeat(2, minmax(0, 1fr)) auto; } #reviewWorkspaceView .note-row .note-block:nth-of-type(3) { grid-column: 2 / -1; } } @media (max-width: 720px) { #reviewWorkspaceView .note-row { grid-template-columns: 1fr auto; } #reviewWorkspaceView .note-row .note-block, #reviewWorkspaceView .note-row .note-block:nth-of-type(3) { grid-column: 1 / -1; } } #reviewWorkspaceView .note-row:last-child { border-bottom: 0; } @media (max-width: 1100px) { #reviewWorkspaceView .review-workspace { grid-template-columns: minmax(0, 1fr) 340px; } #reviewWorkspaceView .review-card-heading > small { display: none; } } @media (max-width: 900px) { #reviewWorkspaceView .review-workspace { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "journal" "history"; } #reviewWorkspaceView .journal-section { width: 100%; } } @media (max-width: 720px) { #reviewWorkspaceView .review-page-header { min-height: 68px; align-items: flex-start; padding: 10px 10px 0; } #reviewWorkspaceView .review-page-title { display: grid; gap: 3px; } #reviewWorkspaceView .review-page-title h2 { font-size: 17px; } #reviewWorkspaceView .review-page-title .section-subtitle { max-width: calc(100vw - 145px); font-size: 9.5px; } #reviewWorkspaceView .review-history-toggle { min-height: 38px; } #reviewWorkspaceView .review-workspace { gap: 10px; padding: 0 8px; } #reviewWorkspaceView .review-left-stack { gap: 10px; } #reviewWorkspaceView .workspace-section { border-radius: 9px; } #reviewWorkspaceView .review-card-heading { min-height: 44px; padding: 8px 11px; } #reviewWorkspaceView .review-watchlist-table { min-width: 510px; } #reviewWorkspaceView .trade-log-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } #reviewWorkspaceView .trade-log-summary > div { border-bottom: 1px solid var(--review-line-soft); } #reviewWorkspaceView .trade-log-summary > div:nth-child(2n) { border-right: 0; } #reviewWorkspaceView .trade-log-table { min-width: 700px; } #reviewWorkspaceView .journal-form { padding: 12px; } #reviewWorkspaceView .journal-form textarea { height: 180px; min-height: 180px; } #reviewWorkspaceView .journal-form .form-field:nth-of-type(2) textarea { height: 96px; min-height: 96px; } #reviewWorkspaceView .journal-form .button { width: 100%; } } @media (prefers-reduced-motion: reduce) { #reviewWorkspaceView .review-history-toggle, #reviewWorkspaceView .table-action { transition: none; } } /* Stage 17 refinement: complete review workspace from the approved prototype. */ @media (min-width: 901px) { #reviewWorkspaceView .review-workspace { align-items: stretch; } #reviewWorkspaceView .review-left-stack, #reviewWorkspaceView .journal-section { height: clamp(540px, calc(100vh - 250px), 650px); } #reviewWorkspaceView .review-left-stack { min-height: 0; } #reviewWorkspaceView .watchlist-section { flex: 0 0 auto; } #reviewWorkspaceView .trade-journal-section { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; } #reviewWorkspaceView .trade-log-table-frame { min-height: 0; max-height: none; flex: 1 1 auto; overflow: auto; } #reviewWorkspaceView .journal-section { min-height: 0; display: flex; align-self: stretch; flex-direction: column; } #reviewWorkspaceView .journal-form { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; } #reviewWorkspaceView .journal-form .form-field:nth-of-type(2) { min-height: 0; flex: 1 1 auto; } #reviewWorkspaceView .journal-form .form-field:nth-of-type(2) textarea { min-height: 112px; height: 100%; } } #reviewWorkspaceView .review-page-title h2 { font-size: 19px; font-weight: 750; } #reviewWorkspaceView .review-page-title .section-subtitle { font-size: 12px; } #reviewWorkspaceView .review-card-heading { min-height: 48px; padding: 10px 14px; } #reviewWorkspaceView .review-card-heading h3 { font-size: 14.5px; font-weight: 720; } #reviewWorkspaceView .review-add-watch { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 0 10px; border: 1px solid #b9cdf8; border-radius: 7px; background: #f5f8ff; color: var(--review-blue); font-size: 11.5px; font-weight: 650; } #reviewWorkspaceView .review-add-watch:hover { border-color: #8eb0f4; background: #eaf1ff; } #reviewWorkspaceView .review-add-watch .lucide { width: 13px; height: 13px; } #reviewWorkspaceView .watchlist-section .workspace-table-frame { max-height: 220px; } #reviewWorkspaceView .review-watchlist-table { min-width: 760px; } #reviewWorkspaceView .review-watchlist-table th:nth-child(1) { width: 6%; } #reviewWorkspaceView .review-watchlist-table th:nth-child(2) { width: 16%; } #reviewWorkspaceView .review-watchlist-table th:nth-child(3) { width: 13%; } #reviewWorkspaceView .review-watchlist-table th:nth-child(4), #reviewWorkspaceView .review-watchlist-table th:nth-child(5) { width: 10%; } #reviewWorkspaceView .review-watchlist-table th:nth-child(6) { width: 11%; } #reviewWorkspaceView .review-watchlist-table th:nth-child(7) { width: 22%; } #reviewWorkspaceView .review-watchlist-table th:nth-child(8) { width: 12%; } #reviewWorkspaceView .review-watchlist-table td { overflow: hidden; } #reviewWorkspaceView .review-watchlist-table .stock-cell strong { font-size: 12.5px; font-weight: 680; } #reviewWorkspaceView .review-watchlist-table .stock-cell small { font-size: 10.5px; } #reviewWorkspaceView .watch-attention-score { color: #3f4b5e; font-size: 12px; font-weight: 720; } #reviewWorkspaceView .watch-remark { display: block; overflow: hidden; color: var(--review-sub); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; } #reviewWorkspaceView .journal-summary-field input { width: 100%; min-height: 38px; padding: 0 11px; border: 1px solid var(--review-line); border-radius: 7px; outline: 0; background: #fff; color: var(--review-ink); font: inherit; font-size: 12.5px; } #reviewWorkspaceView .journal-summary-field input:focus { border-color: var(--review-blue-line); box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); } #reviewWorkspaceView .journal-summary-field input::placeholder { color: #a6adb7; } #reviewWorkspaceView .journal-form textarea { height: 154px; min-height: 112px; resize: none; } #reviewWorkspaceView .journal-form .form-field:nth-of-type(3) textarea { height: 92px; min-height: 82px; } #reviewWorkspaceView .journal-form .form-field > span { font-size: 12px; font-weight: 650; } #reviewWorkspaceView .journal-form-hint { margin-top: auto; font-size: 10px; } .watchlist-dialog { width: min(520px, calc(100vw - 28px)); } .watchlist-editor-form { display: grid; gap: 14px; padding: 16px 18px 18px; } .watchlist-editor-form .form-field { display: grid; gap: 7px; } .watchlist-editor-form .form-field > label, .watchlist-editor-form .form-field > span { color: #374151; font-size: 12px; font-weight: 650; } .watchlist-search-control { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #dfe3e8; border-radius: 8px; background: #fff; } .watchlist-search-control:focus-within { border-color: #b8caf4; box-shadow: 0 0 0 3px rgba(37, 99, 235, .07); } .watchlist-search-control .lucide { width: 15px; height: 15px; color: #9aa3b0; } .watchlist-search-control input { min-width: 0; flex: 1; border: 0; outline: 0; color: #1f2937; font: inherit; font-size: 13px; } .watchlist-search-results { max-height: 230px; display: grid; overflow-y: auto; border-radius: 8px; } .watchlist-search-results button { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border: 0; border-bottom: 1px solid #eef0f3; background: #fff; color: #1f2937; text-align: left; } .watchlist-search-results button:hover { background: #f5f8ff; } .watchlist-search-results button > span { min-width: 0; display: grid; gap: 2px; } .watchlist-search-results button strong { font-size: 12.5px; } .watchlist-search-results button small { color: #8b94a1; font-size: 10.5px; } .watchlist-search-results button > b { margin-left: auto; color: #697386; font-size: 11px; font-weight: 560; } .watchlist-search-status { padding: 14px 10px; color: #8b94a1; font-size: 11.5px; text-align: center; } .watchlist-selection { min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #dce5f7; border-radius: 8px; background: #f7f9fe; } .watchlist-selection[hidden] { display: none; } .watchlist-selection-icon { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #e8efff; color: #2563eb; } .watchlist-selection-icon .lucide { width: 17px; height: 17px; } .watchlist-selection > div { min-width: 0; display: grid; gap: 3px; } .watchlist-selection strong { color: #1f2937; font-size: 13.5px; } .watchlist-selection span { display: flex; gap: 8px; color: #7b8491; font-size: 10.5px; } .watchlist-selection span b { color: #526071; font-weight: 600; } .watchlist-selection span i { font-style: normal; } .watchlist-selection .table-action { margin-left: auto; } .watchlist-editor-form textarea { width: 100%; min-height: 92px; padding: 9px 10px; resize: vertical; border: 1px solid #dfe3e8; border-radius: 8px; outline: 0; font: inherit; font-size: 12.5px; line-height: 1.65; } .watchlist-editor-form textarea:focus { border-color: #b8caf4; box-shadow: 0 0 0 3px rgba(37, 99, 235, .07); } #reviewWorkspaceView .trade-log-table th:nth-child(1) { width: 11%; } #reviewWorkspaceView .trade-log-table th:nth-child(2) { width: 17%; } #reviewWorkspaceView .trade-log-table th:nth-child(3) { width: 9%; } #reviewWorkspaceView .trade-log-table th:nth-child(4) { width: 14%; } #reviewWorkspaceView .trade-log-table th:nth-child(5) { width: 15%; } #reviewWorkspaceView .trade-log-table th:nth-child(6) { width: 23%; } #reviewWorkspaceView .trade-log-table th:nth-child(7) { width: 11%; } #reviewWorkspaceView .journal-form .form-field { min-height: 0; display: flex; flex-direction: column; gap: 6px; } #reviewWorkspaceView .journal-form .form-field > span { min-height: 0; flex: 0 0 auto; line-height: 18px; } @media (min-width: 901px) { #reviewWorkspaceView .journal-form .form-field:nth-of-type(2) textarea { min-height: 112px; height: auto; flex: 1 1 auto; } } @media (max-width: 900px) { #reviewWorkspaceView .review-left-stack, #reviewWorkspaceView .journal-section { height: auto; } #reviewWorkspaceView .trade-log-table-frame { max-height: 360px; } } @media (max-width: 720px) { #reviewWorkspaceView .review-watchlist-table { min-width: 760px; } #reviewWorkspaceView .journal-form textarea { height: 150px; min-height: 120px; } #reviewWorkspaceView .journal-form .form-field:nth-of-type(3) textarea { height: 96px; min-height: 96px; } } /* Stage 18: global tools, details, account and administration dialogs. */ :is( .global-search-dialog, .stock-dialog, .settings-dialog:not(.heaven-reading-dialog) ) { --dialog-line: #e1e6ec; --dialog-line-strong: #cfd7e1; --dialog-muted: #f7f9fb; --dialog-ink: #1f2937; --dialog-sub: #687586; border: 1px solid var(--dialog-line-strong); border-radius: 10px; background: #fff; color: var(--dialog-ink); box-shadow: 0 26px 72px rgba(25, 36, 48, .2), 0 4px 14px rgba(25, 36, 48, .08); } :is( .global-search-dialog, .stock-dialog, .settings-dialog:not(.heaven-reading-dialog) )::backdrop { background: rgba(28, 39, 50, .46); backdrop-filter: blur(3px); } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog))[open] { animation: stage18-dialog-enter 180ms cubic-bezier(.2, .78, .25, 1) both; } @keyframes stage18-dialog-enter { from { opacity: 0; transform: translateY(7px) scale(.992); } to { opacity: 1; transform: translateY(0) scale(1); } } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) .dialog-header { position: sticky; top: 0; z-index: 8; min-height: 66px; padding: 12px 18px; border-bottom: 1px solid var(--dialog-line); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) .dialog-header h2 { margin: 2px 0 0; color: var(--dialog-ink); font-size: 18px; font-weight: 740; line-height: 1.25; } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) :is(.dialog-eyebrow, .detail-code) { color: #7b8795; font-size: 10.5px; font-weight: 620; line-height: 1.2; } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) .dialog-header .icon-button { width: 34px; height: 34px; border-radius: 7px; color: #596678; } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) .dialog-header .icon-button:hover { border-color: #bec8d4; background: #f5f7fa; } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) :is(input, select, textarea):focus-visible { border-color: #8eafe9; outline: 0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); } /* Global search remains a command palette, now using the same surface language. */ .global-search-dialog { width: min(660px, calc(100vw - 32px)); max-height: min(620px, calc(100dvh - 48px)); margin: 9vh auto auto; overflow: hidden; } .global-search-shell { max-height: min(620px, calc(100dvh - 48px)); } .global-search-head { min-height: 64px; grid-template-columns: 22px minmax(0, 1fr) auto 34px; gap: 10px; padding: 0 12px 0 18px; border-color: var(--dialog-line); } .global-search-head input { height: 62px; color: var(--dialog-ink); font-size: 15px; } .global-search-head kbd { border-color: #d6dde5; border-radius: 5px; background: #f7f8fa; color: #7d8896; } .global-search-results { max-height: min(536px, calc(100dvh - 112px)); padding: 7px; } .global-search-group-title { padding: 9px 10px 5px; color: #8792a0; font-size: 10px; } .global-search-result { min-height: 52px; border-radius: 7px; } .global-search-result:hover, .global-search-result.is-active { background: #eef4ff; color: #1f55a5; } .global-search-result-icon { border-color: #e0e5eb; border-radius: 7px; background: #fafbfc; } .global-search-empty { min-height: 190px; } /* Stock and entity details use one consistent right-side workspace. */ .stock-dialog { width: min(810px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: 12px 12px 12px auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; } .stock-dialog .dialog-header-actions { flex-wrap: wrap; justify-content: flex-end; gap: 7px; } .stock-dialog .dialog-header-actions .button { min-height: 32px; padding-inline: 10px; border-radius: 7px; font-size: 11px; } .stock-dialog .detail-price-line { gap: 11px; padding: 15px 18px 14px; border-color: var(--dialog-line); background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); } .stock-dialog .detail-price-line strong { font-size: 29px; line-height: 1; } .stock-dialog .detail-price-line > span:nth-child(2) { font-size: 14px; font-weight: 650; } .stock-dialog .streak-pill { padding: 4px 7px; border-radius: 5px; font-size: 10px; } .stock-dialog .stock-chart-section { padding: 15px 18px 14px; border-color: var(--dialog-line); } .stock-dialog .detail-section-heading { margin-bottom: 10px; } .stock-dialog .detail-section-heading h3, .stock-dialog .detail-section h3 { color: #263342; font-size: 13.5px; font-weight: 720; } .stock-dialog .chart-heading-controls > span { max-width: 240px; overflow: hidden; color: #7a8695; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; } .stock-dialog .chart-mode-toggle.segmented { height: 30px; padding: 2px; border-radius: 7px; } .stock-dialog .chart-mode-toggle .segment { min-width: 43px; border-radius: 5px; font-size: 11px; } .stock-dialog .price-chart { height: 282px; border-color: var(--dialog-line); border-radius: 7px; background: #fbfcfd; } .stock-dialog .detail-section { padding: 15px 18px; border-color: var(--dialog-line); } .stock-dialog .detail-section > h3 { margin: 0 0 11px; } .stock-dialog .moneyflow-grid, .stock-dialog .detail-grid { overflow: hidden; margin-top: 10px; border: 1px solid var(--dialog-line); border-radius: 7px; background: #fff; } .stock-dialog .moneyflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stock-dialog .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stock-dialog :is(.moneyflow-grid, .detail-grid) > div { min-height: 58px; padding: 10px 11px; border: 0; border-right: 1px solid var(--dialog-line); border-bottom: 1px solid var(--dialog-line); background: #fff; } .stock-dialog .moneyflow-grid > div:last-child { border-right: 0; } .stock-dialog .detail-grid > div:nth-child(3n) { border-right: 0; } .stock-dialog .detail-grid > div:nth-last-child(-n + 3) { border-bottom: 0; } .stock-dialog :is(.moneyflow-grid, .detail-grid) dt { color: #7b8794; font-size: 10.5px; } .stock-dialog :is(.moneyflow-grid, .detail-grid) dd { margin-top: 5px; font-size: 13px; } .stock-dialog .inline-edit-form input { min-width: 0; flex: 1; } .stock-dialog .journal-form.compact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; padding: 0; } .stock-dialog .journal-form.compact-form .dialog-actions { grid-column: 1 / -1; } .stock-dialog .compact-form textarea { min-height: 84px; } .stock-dialog .compact-notes { max-height: 240px; overflow-y: auto; } .entity-detail-dialog .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* Shared settings geometry and section hierarchy. */ .settings-dialog:not(.heaven-reading-dialog) { width: min(740px, calc(100vw - 28px)); max-height: min(820px, calc(100dvh - 28px)); box-sizing: border-box; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; } .settings-dialog:not(.heaven-reading-dialog)[open] { margin: auto; } .settings-dialog:not(.heaven-reading-dialog) .settings-section { padding: 18px 20px; border-color: var(--dialog-line); } .settings-dialog:not(.heaven-reading-dialog) .settings-section-heading { margin-bottom: 12px; } .settings-dialog:not(.heaven-reading-dialog) .settings-section-heading h3 { margin: 0; color: #273443; font-size: 14px; font-weight: 720; } .settings-dialog:not(.heaven-reading-dialog) .settings-section-heading > span { color: #7c8795; font-size: 10.5px; } .settings-dialog:not(.heaven-reading-dialog) .form-field { gap: 6px; } .settings-dialog:not(.heaven-reading-dialog) .form-field > span, .settings-dialog:not(.heaven-reading-dialog) .form-field > label { color: #4e5b6a; font-size: 11px; font-weight: 650; } .settings-dialog:not(.heaven-reading-dialog) :is(input, select, textarea) { border-color: #d5dce5; border-radius: 7px; } .settings-dialog:not(.heaven-reading-dialog) .dialog-actions { gap: 8px; } /* Reminder center: creation stays compact while history scrolls independently. */ .settings-dialog.alerts-dialog { width: min(720px, calc(100vw - 28px)); } .alerts-dialog .alerts-toolbar { padding: 11px 20px; border-color: var(--dialog-line); background: #fbfcfd; } .alerts-dialog .alert-form { padding-block: 16px; } .alerts-dialog .alert-form-grid { grid-template-columns: minmax(0, 1.35fr) 150px 135px; gap: 10px; } .alerts-dialog .alert-form textarea { min-height: 68px; resize: vertical; } .alerts-dialog .alert-list-section { padding-bottom: 14px; } .alerts-dialog .alert-list { max-height: 224px; overflow-y: auto; border-color: var(--dialog-line); } .alerts-dialog .alert-list > .empty-state { min-height: 94px; } .alerts-dialog .alert-item { min-height: 72px; padding: 12px 8px; border-color: var(--dialog-line); } /* Review assistant: messages own the flexible space and composer stays anchored. */ .settings-dialog.assistant-dialog { width: min(760px, calc(100vw - 28px)); height: min(760px, calc(100dvh - 28px)); max-height: min(760px, calc(100dvh - 28px)); overflow: hidden !important; } .assistant-dialog[open] { display: flex; flex-direction: column; } .assistant-dialog .assistant-member-gate { flex: 0 0 auto; margin: 12px 16px 0; } .assistant-dialog .assistant-member-content { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; } .assistant-dialog .assistant-messages { min-height: 0; max-height: none; flex: 1 1 auto; padding: 16px 18px; background: #f7f9fb; } .assistant-dialog .assistant-message { max-width: 86%; margin-bottom: 11px; } .assistant-dialog .assistant-message-content { border-color: #dce3eb; border-radius: 7px; font-size: 12.5px; line-height: 1.62; } .assistant-dialog .assistant-quick-prompts { flex: 0 0 auto; padding: 10px 16px; border-color: var(--dialog-line); } .assistant-dialog .assistant-quick-prompts button { min-height: 30px; border-radius: 6px; } .assistant-dialog .assistant-form { flex: 0 0 auto; padding: 11px 16px 8px; border-color: var(--dialog-line); } .assistant-dialog .assistant-form textarea { min-height: 66px; max-height: 126px; resize: none; border-radius: 7px; font-size: 12.5px; } .assistant-dialog .assistant-disclaimer { flex: 0 0 auto; padding: 0 16px 11px; } /* Account panels: quiet status treatment and stronger membership hierarchy. */ .settings-dialog.account-settings-dialog { width: min(720px, calc(100vw - 28px)); } .account-settings-dialog .connection-status { margin: 12px 20px 0; border-radius: 7px; font-size: 11px; } .account-settings-dialog .connection-status.connected { display: none; } .account-settings-dialog .settings-lead { color: #606d7c; font-size: 12px; line-height: 1.6; } .account-settings-dialog .membership-usage { margin-top: 8px; } .account-settings-dialog .membership-status-grid { gap: 8px; margin: 14px 0 16px; } .account-settings-dialog .membership-status-grid > div { min-height: 68px; padding: 11px 12px; border-color: #dfe4ea; border-radius: 7px; background: #f8fafc; } .account-settings-dialog .membership-status-grid span { font-size: 10px; } .account-settings-dialog .membership-status-grid strong { margin-top: 7px; font-size: 14px; } .account-settings-dialog .membership-status-grid > div:first-child { border-color: #e4d5aa; background: #fffbef; } .account-settings-dialog .membership-status-grid > div:first-child strong { color: #936515; } .account-settings-dialog .membership-comparison { border-color: #dfe4ea; border-radius: 7px; } .account-settings-dialog .membership-comparison > div { min-height: 36px; padding: 8px 11px; border-color: #e6eaef; } .account-settings-dialog .membership-comparison-head { background: #f5f7f9; } .account-settings-dialog .membership-topup-row { margin-top: 12px; } .account-settings-dialog .privacy-note { padding: 10px 11px; border: 1px solid #dce8e2; border-radius: 7px; background: #f5faf7; } .account-settings-dialog .account-birth-form { grid-template-columns: 1.2fr 1fr .72fr; } .account-settings-dialog .password-form { max-width: 460px; } /* Administration is a focused control surface, not a full-width form canvas. */ .settings-dialog.admin-dialog { width: min(900px, calc(100vw - 28px)); } .admin-dialog .connection-status { margin: 12px 20px 0; padding: 8px 10px; border-radius: 7px; color: #667384; font-size: 11px; } .admin-dialog .admin-section-picker { grid-template-columns: auto minmax(220px, 300px); gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--dialog-line); background: #fbfcfd; } .admin-dialog .admin-section-picker label { font-size: 11px; } .admin-dialog .admin-section-picker select { min-height: 36px; border-color: #d4dce5; border-radius: 7px; font-size: 12px; } .admin-dialog .admin-panel { max-width: 860px; margin-inline: auto; } .admin-dialog .settings-section + .settings-section { border-top: 1px solid var(--dialog-line); } .admin-dialog .model-role-selectors { gap: 10px; } .admin-dialog .model-pool-list { margin-top: 14px; } .admin-dialog .model-row { border-color: #dfe4ea; border-radius: 7px; background: #fafbfc; } .admin-dialog .admin-users-list { border-color: var(--dialog-line); } .admin-dialog .admin-user-row { grid-template-columns: 150px 90px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-color: var(--dialog-line); } .admin-dialog .membership-form { grid-template-columns: 92px minmax(135px, .8fr) minmax(140px, 1fr) auto; } /* Editing dialogs share sensible proportions without changing their fields. */ .settings-dialog.trade-log-dialog { width: min(880px, calc(100vw - 28px)); max-height: min(760px, calc(100dvh - 28px)); } .trade-log-dialog .trade-log-form { padding: 18px 20px 20px; background: #fafbfc; } .trade-log-dialog .trade-log-form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; } .trade-log-dialog .trade-tags-field { grid-column: span 2; } .trade-log-dialog .trade-log-text-grid { gap: 11px; margin-top: 11px; } .trade-log-dialog .trade-log-text-grid textarea { min-height: 92px; } .settings-dialog.watchlist-dialog { width: min(500px, calc(100vw - 28px)); } .watchlist-dialog .watchlist-editor-form { padding: 16px 18px 18px; } @media (max-width: 760px) { :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog), .global-search-dialog) { width: calc(100vw - 16px); max-width: none; max-height: calc(100dvh - 16px); margin: 8px auto; border-radius: 8px; } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) .dialog-header { min-height: 60px; padding: 10px 12px; } :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog)) .dialog-header h2 { font-size: 16px; } .stock-dialog .dialog-header { align-items: flex-start; } .stock-dialog .dialog-header-actions { gap: 5px; } .stock-dialog .dialog-header-actions .button { min-height: 30px; padding-inline: 8px; } .stock-dialog .dialog-header-actions .button span { display: none; } .stock-dialog .detail-price-line, .stock-dialog .stock-chart-section, .stock-dialog .detail-section { padding-inline: 13px; } .stock-dialog .price-chart { height: 236px; } .stock-dialog .moneyflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stock-dialog .moneyflow-grid > div:nth-child(2n) { border-right: 0; } .stock-dialog .moneyflow-grid > div:nth-last-child(-n + 2) { border-bottom: 0; } .stock-dialog .detail-grid, .entity-detail-dialog .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stock-dialog .detail-grid > div:nth-child(3n) { border-right: 1px solid var(--dialog-line); } .stock-dialog .detail-grid > div:nth-child(2n) { border-right: 0; } .stock-dialog .detail-grid > div:nth-last-child(-n + 3) { border-bottom: 1px solid var(--dialog-line); } .stock-dialog .detail-grid > div:nth-last-child(-n + 2) { border-bottom: 0; } .stock-dialog .journal-form.compact-form { grid-template-columns: 1fr; } .stock-dialog .journal-form.compact-form .dialog-actions { grid-column: auto; } .alerts-dialog .alert-form-grid { grid-template-columns: 1fr; } .assistant-dialog { height: calc(100dvh - 16px); } .assistant-dialog .assistant-messages { padding: 13px; } .assistant-dialog .assistant-message { max-width: 96%; } .assistant-dialog .assistant-form { grid-template-columns: 1fr; } .assistant-dialog .assistant-form-actions { justify-content: flex-end; } .account-settings-dialog .membership-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-settings-dialog .account-birth-form, .trade-log-dialog .trade-log-form-grid, .trade-log-dialog .trade-log-text-grid { grid-template-columns: 1fr; } .trade-log-dialog .trade-tags-field { grid-column: auto; } .admin-dialog .admin-section-picker { grid-template-columns: 1fr; gap: 6px; } .admin-dialog .admin-user-row { grid-template-columns: 1fr auto; } .admin-dialog .admin-user-row .membership-form { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 460px) { #screenerView .curated-library-controls { grid-template-columns: minmax(0, 1fr) 62px; } #screenerView .curated-search { grid-column: 1 / -1; } .global-search-dialog { margin-top: 8px; } .global-search-head { grid-template-columns: 20px minmax(0, 1fr) 32px; padding-left: 12px; } .global-search-head kbd { display: none; } .global-search-result-code { display: none; } .stock-dialog .moneyflow-grid, .stock-dialog .detail-grid, .entity-detail-dialog .detail-grid { grid-template-columns: 1fr; } .stock-dialog :is(.moneyflow-grid, .detail-grid) > div { border-right: 0 !important; border-bottom: 1px solid var(--dialog-line) !important; } .stock-dialog :is(.moneyflow-grid, .detail-grid) > div:last-child { border-bottom: 0 !important; } .account-settings-dialog .membership-status-grid { grid-template-columns: 1fr; } .account-settings-dialog .membership-comparison { overflow-x: auto; } .account-settings-dialog .membership-comparison > div { min-width: 510px; } .admin-dialog .admin-user-row .membership-form { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { :is(.stock-dialog, .settings-dialog:not(.heaven-reading-dialog))[open] { animation: none; } } /* Pre-stage 19 polish: navigation state, information density and scroll ownership. */ .overview-strip:not([data-overview-expanded="true"]) .sentiment-gauge { display: none; } .overview-strip .sentiment-block .metric-label, .overview-strip .sentiment-block .sentiment-text { display: block; margin: 0; padding: 0; font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: 0; } .overview-strip .sentiment-block .sentiment-text { align-self: auto; } .redesigned-emotion-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .redesigned-sentiment-view .sentiment-analysis-main, .redesigned-sentiment-view .sentiment-analysis-rail { min-width: 0; display: flex; flex-direction: column; gap: 12px; } .redesigned-sentiment-view .sentiment-chart-shell { height: 350px; padding-top: 12px; } .redesigned-sentiment-view .sentiment-chart-shell canvas { height: 332px; } .redesigned-sentiment-view .sentiment-stage-guide { margin: 0; } .redesigned-sentiment-view .sentiment-stage-guide-grid { min-height: 0; } .redesigned-sentiment-view .sentiment-stage-guide-grid article:not(.current), .redesigned-sentiment-view .sentiment-stage-guide-grid article[hidden] { display: none; } .redesigned-sentiment-view .sentiment-stage-guide-grid article.current { min-height: 50px; height: 50px; background: #fff; } /* Shared pool-table geometry. Data remains dense, while identity and context stay scannable. */ :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) { width: 100%; table-layout: fixed; } #limitTable, #brokenTable, #downTable, #yesterdayTable { min-width: 100%; } #limitTable .pool-col-index { width: 3%; } #limitTable .pool-col-standard { width: 6.4667%; } #limitTable .pool-col-reason { width: 12.933%; } #brokenTable .pool-col-index { width: 3.2%; } #brokenTable .pool-col-standard { width: 8.0667%; } #brokenTable .pool-col-reason { width: 16.133%; } #downTable .pool-col-index { width: 3.8%; } #downTable .pool-col-standard { width: 9.62%; } #downTable .pool-col-reason { width: 19.24%; } #yesterdayTable .pool-col-index { width: 4%; } #yesterdayTable .pool-col-standard { width: 10.6667%; } #yesterdayTable .pool-col-reason { width: 21.333%; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .row-number { padding-right: 8px; padding-left: 8px; text-align: center; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .stock-code-column, :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .pool-code-cell { font-variant-numeric: tabular-nums; text-align: left; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .pool-code-cell { color: var(--r2-sub); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11.5px; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .pool-name-cell { overflow: hidden; color: var(--r2-ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .reason-column, :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .pool-reason-cell { text-align: left; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .pool-reason-cell { overflow: hidden; color: var(--r2-sub); font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; } :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) tbody tr { transition: background-color 150ms ease; } #screenerView .screener-result-source { max-width: min(48vw, 440px); overflow: hidden; padding: 3px 8px; border: 1px solid #d9e2ef; border-radius: 5px; background: #f7f9fc; color: var(--r2-sub); font-size: 11px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; } /* The Dragon-Tiger page stays still; only the selected trader's operations scroll. */ @media (min-width: 721px) { body[data-active-view="dragonView"] .dragon-daily-content-v2 { min-height: 0; display: grid; grid-template-rows: auto auto auto minmax(150px, 1fr) auto; overflow: hidden; } body[data-active-view="dragonView"] #dragonView .dragon-card-stage-v2 { flex: 0 0 auto; } body[data-active-view="dragonView"] #dragonView .dragon-trader-detail-v2 { min-height: 0; display: flex; flex-direction: column; } body[data-active-view="dragonView"] #dragonView .dragon-detail-header { flex: 0 0 auto; } body[data-active-view="dragonView"] #dragonView .dragon-trader-detail .trader-operations { min-height: 0; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } body[data-active-view="dragonView"] #dragonView .dragon-unclassified-v2 { max-height: 180px; overflow: auto; } :is( .redesigned-auction-view, .redesigned-theme-view, .redesigned-popularity-view, .redesigned-dragon-view ) { width: min(100%, 2200px); margin: 14px auto 0; padding: 0; } } @media (min-width: 901px) { .workspace-view:is( #auctionView, #themeLibraryView, #popularityView, #dragonView ) { width: auto; margin: 14px 0 0; padding: 14px 16px 22px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; } } #dragonView .dragon-detail-header p { font-size: 13px; line-height: 1.55; } @media (max-width: 960px) { .redesigned-emotion-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 1200px) { #limitTable { min-width: 1080px; } #brokenTable { min-width: 920px; } #downTable { min-width: 780px; } #yesterdayTable { min-width: 720px; } } @media (max-width: 720px) { :is(#limitTable, #brokenTable, #downTable, #yesterdayTable) .pool-reason-cell { white-space: normal; } } /* Automatic screening and the manual custom-formula workspace. */ #screenerView .screener-auto-note { color: var(--r2-faint); font-size: 12px; line-height: 1.6; } #screenerView .regime-selector .regime-option { cursor: default; } #screenerView .quant-screener-panel { grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr); align-items: start; } #screenerView .custom-screener-tools, #screenerView .custom-results-slot { grid-column: 1 / -1; min-width: 0; } #screenerView .custom-screener-tools { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--r2-line); border-radius: var(--r2-radius); background: var(--r2-card); } #screenerView .custom-screener-tools > div:first-child { min-width: 0; display: grid; gap: 3px; } #screenerView .custom-screener-tools span, #screenerView .custom-screener-tools small { color: var(--r2-faint); font-size: 11.5px; } #screenerView .custom-screener-tools strong { color: var(--r2-ink); font-size: 14px; } #screenerView .custom-screener-tools > div:last-child { flex: 0 0 auto; display: flex; gap: 8px; } #screenerView .custom-results-slot .screener-results-view { margin: 0; } #screenerView .screener-result-frame { overflow-x: auto; scrollbar-gutter: stable; } #screenerView .screener-result-frame .data-table { width: 100%; min-width: 1180px; table-layout: fixed; } #screenerView .screener-result-columns col:nth-child(1) { width: 54px; } #screenerView .screener-result-columns col:nth-child(2) { width: 122px; } #screenerView .screener-result-columns col:nth-child(3) { width: 104px; } #screenerView .screener-result-columns col:nth-child(4) { width: 78px; } #screenerView .screener-result-columns col:nth-child(5) { width: 104px; } #screenerView .screener-result-columns col:nth-child(6), #screenerView .screener-result-columns col:nth-child(7), #screenerView .screener-result-columns col:nth-child(8), #screenerView .screener-result-columns col:nth-child(9) { width: 82px; } #screenerView .screener-result-columns col:nth-child(10) { width: 210px; } #screenerView .screener-result-columns col:nth-child(11) { width: 150px; } #screenerView .screener-result-columns col:nth-child(12) { width: 142px; } @media (max-width: 980px) { #screenerView .quant-screener-panel { grid-template-columns: 1fr; } #screenerView .custom-screener-tools { align-items: stretch; flex-direction: column; } #screenerView .custom-screener-tools > div:last-child { flex-wrap: wrap; } }